overlayscrollbars
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.7.0 | ||
* Version: 1.7.1 | ||
* | ||
@@ -12,4 +12,4 @@ * Copyright KingSora. | ||
* Released under the MIT license. | ||
* Date: 18.04.2019 | ||
* Date: 22.05.2019 | ||
*/ | ||
!function(t,r){"function"==typeof define&&define.amd?define(["jquery"],function(n){return r(t,t.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(t,t.document,undefined,require("jquery")):r(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(pt,bt,xi,n){"use strict";var i,o,mt="OverlayScrollbars",wt="object",yt="function",gt="array",xt="string",_t="boolean",St="number",d="null",zt="class",_i="style",Tt="id",Si="length",zi="prototype",Ti="offsetHeight",ki="clientHeight",Oi="scrollHeight",Ai="offsetWidth",Ci="clientWidth",Ni="scrollWidth",Hi={o:{},u:{},s:["-webkit-","-moz-","-o-","-ms-"],v:["WebKit","Moz","O","MS"],p:function(n){var t=this.u;if(t[n])return t[n];for(var r,e,i=this.s,o=this.m(n),a=bt.createElement("div")[_i],u=0,f=0;u<i.length;u++)for(e=i[u].replace(/-/g,""),r=[n,i[u]+n,e+o,this.m(e)+o],f=0;f<r[Si];f++)if(a[r[f]]!==xi)return t[n]=r[f],r[f];return null},g:function(n,t,r){var e=this.v,i=this.o,o=0,a=i[n];if(!a){for(a=pt[n];o<e[Si];o++)a=a||pt[(t?e[o]:e[o].toLowerCase())+this.m(n)];i[n]=a}return a||r},m:function(n){return n.charAt(0).toUpperCase()+n.slice(1)}},Li={wW:function(){return pt.innerWidth||bt.documentElement[Ci]||bt.body[Ci]},wH:function(){return pt.innerHeight||bt.documentElement[ki]||bt.body[ki]},mO:function(){return Hi.g("MutationObserver",!0)},rO:function(){return Hi.g("ResizeObserver",!0)},rAF:function(){return Hi.g("requestAnimationFrame",!1,function(n){return pt.setTimeout(n,1e3/60)})},cAF:function(){return Hi.g("cancelAnimationFrame",!1,function(n){return pt.clearTimeout(n)})},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",e="X",i=((n=n.originalEvent||n).target||n.srcElement||bt).ownerDocument||bt,o=i.documentElement,a=i.body;if(n.touches===xi)return!n[t+e]&&n[r+e]&&null!=n[r+e]?{x:n[r+e]+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)}:{x:n[t+e],y:n.pageY};var u=n.touches[0];return{x:u[t+e],y:u.pageY}},mBtn:function(n){var t=n.button;return n.which||t===xi?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[Si];r++)try{if(t[r]===n)return r}catch(e){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==gt},type:function(n){return n===xi?n+"":null===n?n+"":Object[zi].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=yt)throw"Can't bind function!";var r=zi,e=Array[r].slice.call(arguments,2),i=function(){},o=function(){return n.apply(this instanceof i?this:t,e.concat(Array[r].slice.call(arguments)))};return n[r]&&(i[r]=n[r]),o[r]=new i,o}},Ri=Math,Di=n,Ii=(n.easing,n),Mi=(i=[],o="__overlayScrollbars__",function(n,t){var r=arguments[Si];if(r<1)return i;if(t)n[o]=t,i.push(n);else{var e=Li.inA(n,i);if(-1<e){if(!(1<r))return i[e][o];delete n[o],i.splice(e,1)}}}),r=function(){var u,f,O,n,t,r,e,a,i,c=[],ht=(a={className:["os-theme-dark",[d,xt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,_t],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(O=[_t,St,xt,gt,wt,yt,d]),_t],autoUpdate:[null,[d,_t]],autoUpdateInterval:[33,St],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",e="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",e]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,St],dragScrolling:n,clickScrolling:t,touchSupport:n,snapHandle:t},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[xt,gt,d]]},callbacks:{onInitialized:r=[null,[d,yt]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{_:(i=function(i){var o=function(n){var t,r,e;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(e=Li.type(r))==gt?n[t]=r[i?1:0]:e==wt&&(n[t]=o(r)));return n};return o(Ii.extend(!0,{},a))})(),S:i(!0),T:function(n,t,z,T,r){var e={},i=Ii.extend(!0,{},n),k=function(n,t,r,e){for(var i in t)if(t.hasOwnProperty(i)&&n.hasOwnProperty(i)){var o,a,u,f,c,l,s,v,d=!1,h=t[i],p=Li.type(h),b=p==wt,m=Li.type(h)!=gt?[h]:h,w=n[i],y=Li.type(w),g=e?e+".":"",x='The option "'+g+i+"\" wasn't set, because",_=[],S=[];if(b&&y==wt)r[i]={},k(w,h,r[i],g+i),Ii.isEmptyObject(w)&&delete n[i];else if(!b){for(l=0;l<m.length;l++)if(c=m[l],u=(p=Li.type(c))==xt&&-1===Ii.inArray(c,O))for(_.push(xt),o=c.split(" "),S=S.concat(o),s=0;s<o.length;s++){for(f=(a=o[s].split(":"))[0],v=0;v<a.length;v++)if(w===a[v]){d=!0;break}if(d)break}else if(_.push(c),y===c){d=!0;break}d?r[i]=u&&T?f:w:z&&console.warn(x+" it doesn't accept the type [ "+y.toUpperCase()+' ] with the value of "'+w+'".\r\nAccepted types are: [ '+_.join(", ").toUpperCase()+" ]."+(0<S.length?"\r\nValid strings are: [ "+S.join(", ").split(":").join(", ")+" ].":"")),delete n[i]}}};return k(i,t,e),r?Ii.extend(!0,e,i):!Ii.isEmptyObject(i)&&z&&console.warn("The following options are discarded due to invalidity:\r\n"+pt.JSON.stringify(i,null,2)),e}});function l(){u||(u=new o(ht._)),f||(f=new s(u))}function o(n){var _=this,i="overflow",o="hidden",S=Ii("body"),z=Ii('<div id="os-dummy-scrollbar-size"><div></div></div>'),a=z[0],e=Ii(z.children("div").eq(0));S.append(z),z.hide().show();var t,r,u,f,c,l,s,v,d,h=T(a),p={x:0===h.x,y:0===h.y};function T(n){return{x:n[Ti]-n[ki],y:n[Ai]-n[Ci]}}Ii.extend(_,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Li.mO(),nativeScrollbarSize:h,nativeScrollbarIsOverlaid:p,nativeScrollbarStyling:(z.addClass("os-viewport-native-scrollbars-invisible"),z.css(i,o).hide().css(i,"scroll").show(),a[Ti]-a[ki]==0&&a[Ai]-a[Ci]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=pt.navigator.userAgent,u="indexOf",f="substring",c=r[u]("MSIE "),l=r[u]("Trident/"),s=r[u]("Edge/"),v=r[u]("rv:"),d=parseInt,0<c?t=d(r[f](c+5,r[u](".",c)),10):0<l?t=d(r[f](v+3,r[u](".",v)),10):0<s&&(t=d(r[f](s+5,r[u](".",s)),10)),t),cssCalc:function(){for(var n,t=bt.createElement("div")[_i],r=-1;r<Hi.s[Si];r++)if(n=r<0?"calc":Hi.s[r]+"calc",t.cssText="width:"+n+"(1px);",t[Si])return n;return null}(),restrictedMeasuring:function(){z.css(i,o);var n=a[Ni],t=a[Oi];z.css(i,"visible");var r=a[Ni],e=a[Oi];return n-r!=0||t-e!=0}(),rtlScrollBehavior:function(){z.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=z.offset(),t=e.offset();z.scrollLeft(999);var r=e.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:null!==Hi.p("transform"),supportTransition:null!==Hi.p("transition"),supportPassiveEvents:function(){var n=!1;try{pt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Li.rO(),supportMutationObserver:!!Li.mO()}),z.removeAttr(_i).remove(),function(){if(!p.x||!p.y){var m=Ri.abs,w=Li.wW(),y=Li.wH(),g=x();Ii(pt).on("resize",function(){if(0<Mi().length){var n=Li.wW(),t=Li.wH(),r=n-w,e=t-y;if(0===r&&0===e)return;var i,o=Ri.round(n/(w/100)),a=Ri.round(t/(y/100)),u=m(r),f=m(e),c=m(o),l=m(a),s=x(),v=2<u&&2<f,d=!function b(n,t){var r=m(n),e=m(t);return!(r===e||r+1===e||r-1===e)}(c,l),h=v&&d&&s!==g&&0<g,p=_.nativeScrollbarSize;h&&(S.append(z),i=_.nativeScrollbarSize=T(z[0]),z.remove(),p.x===i.x&&p.y===i.y||Ii.each(Mi(),function(){Mi(this)&&Mi(this).update("zoom")})),w=n,y=t,g=s}})}function x(){var n=pt.screen.deviceXDPI||0,t=pt.screen.logicalXDPI||1;return pt.devicePixelRatio||n/t}}()}function s(r){var c,l="autoUpdate",s=Si,v=[],d=[],h=!1,p=33,b=Li.now(),m=function(){if(0<v[s]&&h){c=Li.rAF()(function(){m()});var n,t,r,e,i,o,a=Li.now(),u=a-b;if(p<u){b=a-u%p,n=33;for(var f=0;f<v[s];f++)(t=v[f])!==xi&&(e=(r=t.options())[l],i=Ri.max(1,r.autoUpdateInterval),o=Li.now(),(!0===e||null===e)&&o-d[f]>i&&(t.update("auto"),d[f]=new Date(o+=i)),n=Ri.max(1,Ri.min(n,i)));p=n}}else p=33};this.add=function(n){-1===Ii.inArray(n,v)&&(v.push(n),d.push(Li.now()),0<v[s]&&!h&&(h=!0,r.autoUpdateLoop=h,m()))},this.remove=function(n){var t=Ii.inArray(n,v);-1<t&&(d.splice(t,1),v.splice(t,1),0===v[s]&&h&&(h=!1,r.autoUpdateLoop=h,c!==xi&&(Li.cAF()(c),c=-1)))}}function v(e,n,t,kt,Ot){if(ut(e)){if(Mi(e)){var r=Mi(e);return r.options(n),r}var At,Ct,Nt,Ht,D,Lt,Rt,Dt,I,sn,h,A,l,It,Mt,Wt,jt,Ft,p,u,Et,Ut,Pt,qt,Vt,$t,Bt,Xt,Yt,Kt,i,o,Gt,Jt,Qt,a,M,f,W,Zt,nr,tr,rr,er,ir,or,ar,ur,fr,cr,c,s,v,d,b,m,w,C,lr,sr,vr,N,dr,hr,pr,br,mr,wr,yr,gr,xr,_r,Sr,zr,Tr,kr,Or,Ar,H,Cr,Nr,Hr,Lr,Rr,Dr,Ir,Mr,Wr,jr,y,g,x,_,S,z,T,k,O,Fr,Er,Ur,Pr,qr,Vr,$r,Br,Xr,Yr,Kr,L,Gr,R,j,Jr,F,Qr,E,U,Zr,ne,te,re,ee,P,q,V,ie,oe,ae,ue,fe,ce=new pt[mt],B=Ii[zi],le={},vn={},dn={},se={},ve={},X="-hidden",de="margin-",he="padding-",pe="border-",be="top",me="right",we="bottom",ye="left",ge="min-",xe="max-",_e="width",Se="height",ze="float",Te="",ke="auto",Oe="scroll",Ae="100%",Ce="x",Ne="y",Y=".",He=" ",K="scrollbar",G="-horizontal",J="-vertical",Le=Oe+"Left",Re=Oe+"Top",De="mousedown touchstart",Q="mouseup touchend touchcancel",Z="mousemove touchmove",nn="mouseenter",tn="mouseleave",rn="keydown",en="keyup",on="selectstart",an="transitionend webkitTransitionEnd oTransitionEnd",un="__overlayScrollbarsRO__",fn="os-",cn="os-html",ln="os-host",hn=ln+"-textarea",pn=ln+"-"+K+G+X,bn=ln+"-"+K+J+X,mn=ln+"-transition",Ie=ln+"-rtl",Me=ln+"-resize-disabled",We=ln+"-scrolling",je=ln+"-overflow",Fe=je+"-x",Ee=je+"-y",wn="os-textarea",yn=wn+"-cover",gn="os-padding",xn="os-viewport",_n=xn+"-native-scrollbars-invisible",Sn=xn+"-native-scrollbars-overlaid",zn="os-content",Ue="os-content-arrange",Pe="os-content-glue",qe="os-size-auto-observer",Tn="os-resize-observer",kn="os-resize-observer-item",On=kn+"-final",An="os-text-inherit",Cn=fn+K,Nn=Cn+"-track",Hn=Nn+"-off",Ln=Cn+"-handle",Rn=Ln+"-off",Dn=Cn+"-unusable",In=Cn+"-"+ke+X,Mn=Cn+"-corner",Ve=Mn+"-resize",$e=Ve+"-both",Be=Ve+G,Xe=Ve+J,Wn=Cn+G,jn=Cn+J,Fn="os-dragging",Ye="os-theme-none",En=[],Un={},Ke={},Ge=42,Pn=[];if(ce.sleep=function(){Kt=!0},ce.update=function(n){var t,r,e=lt(n)==xt,i=e&&"+"==n.slice(-1);e?0===n.indexOf(ke)?(t=function h(){if(Kt||Jr)return!1;var n=nr.attr(Tt)||Te,t=pi(n,y),r=nr.attr(zt)||Te,e=pi(r,g),i=nr.attr(_i)||Te,o=pi(i,x),a=nr.is(":visible")||Te,u=pi(a,_),f=jt&&Zt.attr("rows")||Te,c=pi(f,S),l=jt&&Zt.attr("cols")||Te,s=pi(l,z),v=jt&&Zt.attr("wrap")||Te,d=pi(v,T);return y=n,e&&(e=Zn(g,r)),g=r,x=i,_=a,S=f,z=l,T=v,t||e||o||u||c||s||d}(),r=function c(){if(Kt)return!1;var n,t,r,e,i=jt&&xr&&!Wr?Zt.val().length:0,o=!Jr&&xr&&!jt,a={},u={};It&&(a={x:hr[Ni],y:hr[Oi]}),o&&(n=or.css(ze),u[ze]=Yt?me:ye,u[_e]=ke,or.css(u));var f={w:di()[Ni]+i,h:di()[Oi]+i};return o&&(u[ze]=n,u[_e]=Ae,or.css(u)),t=ti(),r=bi(f,k),e=bi(a,L,Ce,Ne),k=f,L=a,r||t||e}(),(t||r||i)&&ei(!1,r,!1,i)):"zoom"===n&&ei(!0,!0):(n=Kt||n,ei(Kt=!1,!1,n,!0)),jt||or.find("img").each(function(n,t){-1===Li.inA(t,Pn)&&Ii(t).off("load",Qn).on("load",Qn)})},ce.options=function(n,t){if(Ii.isEmptyObject(n)||!Ii.isPlainObject(n)){if(lt(n)!=xt)return o;if(1<arguments.length){var r={};return function f(n,t,r){for(var e=t.split(Y),i=e.length,o=0,a={},u=a;o<i;o++)a=a[e[o]]=o+1<i?{}:r;Ii.extend(n,u,!0)}(r,n,t),nt(r),void ei()}return ct(o,n)}nt(n);var e=Kt||!1;Kt=!1,ei(),Kt=e},ce.destroy=function(){for(var n in Wt=!0,Ot.remove(ce),Ze(),$n(rr),Ut&&$n(tr),Un)ce.removeExt(n);ni(!0),rt(!0),ur&&st(ur),ar&&st(ar),Ut&&st(tr),et(!0),ot(!0),tt(!0);for(var t=0;t<Pn[Si];t++)Ii(Pn[t]).off("load",Qn);for(var r in Pn=xi,Mi(e,0),li("onDestroyed"),ce)delete ce[r];ce=xi},ce.scroll=function(n,t,r,e){if(0===arguments.length||n===xi){var i=vn,o=dn,a=Vr&&Yt&&Nt.i,u=Vr&&Yt&&Nt.n,f=i.k,c=i.O,l=i.A;return c=a?1-c:c,f=a?l-f:f,l*=u?-1:1,{position:{x:f*=u?-1:1,y:o.k},ratio:{x:c,y:o.O},max:{x:l,y:o.A},handleOffset:{x:i.C,y:o.C},handleLength:{x:i.N,y:o.N},handleLengthRatio:{x:i.H,y:o.H},trackLength:{x:i.L,y:o.L},snappedHandleOffset:{x:i.R,y:o.R},isRTL:Yt,isRTLNormalized:Vr}}var s,v,d,h,p,w,y,b,m,g=Vr,x=[Ce,ye,"l"],_=[Ne,be,"t"],S=["+=","-=","*=","/="],z=lt(t)==wt,T=z?t.complete:e,k={},O={},A="begin",C="nearest",N="never",H="ifneeded",L=Si,R=[Ce,Ne,"xy","yx"],D=[A,"end","center",C],I=["always",N,H],M=n.hasOwnProperty("el"),W=M?n.el:n,j=!!(W instanceof Ii||Di)&&W instanceof Di,F=!j&&ut(W),E=lt(T)!=yt?xi:function(){v&&ui(!0),d&&ui(!1),T()},U=function(n,t){for(s=0;s<t[L];s++)if(n===t[s])return!0;return!1},P=function(n,t){var r=n?x:_;if(lt(t=lt(t)==xt||lt(t)==St?[t,t]:t)==gt)return n?t[0]:t[1];if(lt(t)==wt)for(s=0;s<r[L];s++)if(r[s]in t)return t[r[s]]},q=function(n,t){var r,e,i=lt(t)==xt;i&&ce.update(ke+"+");var o,a,u=n?vn:dn,f=u.k,c=u.A,l=Yt&&n,s=l&&Nt.n&&!g,v="replace",d=eval;if((e=i?(2<t[L]&&(a=t.substr(0,2),-1<$.inArray(a,S)&&(r=a)),t=(t=r?t.substr(2):t)[v](/min/g,0)[v](/</g,0)[v](/max/g,(s?"-":Te)+Ae)[v](/>/g,(s?"-":Te)+Ae)[v](/px/g,Te)[v](/%/g," * "+c*(l&&Nt.n?-1:1)/100)[v](/vw/g," * "+se.w)[v](/vh/g," * "+se.h),vi(isNaN(t)?vi(d(t),!0).toFixed():t)):t)!==xi&&!isNaN(e)&<(e)==St){var h=g&&l,p=f*(h&&Nt.n?-1:1),b=h&&Nt.i,m=h&&Nt.n;switch(p=b?c-p:p,r){case"+=":o=p+e;break;case"-=":o=p-e;break;case"*=":o=p*e;break;case"/=":o=p/e;break;default:o=e}o=b?c-o:o,o*=m?-1:1,o=l&&Nt.n?Ri.min(0,Ri.max(c,o)):Ri.max(0,Ri.min(c,o))}return o===f?xi:o},V=function(n,t,r,e){var i,o,a=[r,r],u=lt(n);if(u==t)n=[n,n];else if(u==gt){if(2<(i=n[L])||i<1)n=a;else for(1===i&&(n[1]=r),s=0;s<i;s++)if(lt(o=n[s])!=t||!U(o,e)){n=a;break}}else n=u==wt?[n[Ce]||r,n[Ne]||r]:a;return{x:n[0],y:n[1]}},B=function(n){var t,r,e=[],i=[be,me,we,ye];for(s=0;s<n[L]&&s!==i[L];s++)(r=lt(t=n[s]))==_t?e.push(t?vi(m.css(de+i[s])):0):e.push(r==St?t:0);return e};if(j||F){var X,Y=M?n.margin:0,K=M?n.axis:0,G=M?n.scroll:0,J=M?n.block:0,Q=[0,0,0,0],Z=lt(Y);if(0===(m=j?W:Ii(W))[L])return;ce.update(ke+"+"),Y=Z==St||Z==_t?B([Y,Y,Y,Y]):Z==gt?2===(X=Y[L])?B([Y[0],Y[1],Y[0],Y[1]]):4<=X?B(Y):Q:Z==wt?B([Y[be],Y[me],Y[we],Y[ye]]):Q,p=U(K,R)?K:"xy",w=V(G,xt,"always",I),y=V(J,xt,A,D),b=Y;var nn=vn.k,tn=dn.k,rn=er.offset(),en=m.offset(),on={x:w.x==N||p==Ne,y:w.y==N||p==Ce};en[be]-=b[0],en[ye]-=b[3];var an={x:Ri.round(en[ye]-rn[ye]+nn),y:Ri.round(en[be]-rn[be]+tn)};if(Yt&&(Nt.n||Nt.i||(an.x=Ri.round(rn[ye]-en[ye]+nn)),Nt.n&&g&&(an.x*=-1),Nt.i&&g&&(an.x=Ri.round(rn[ye]-en[ye]+(vn.A-nn)))),y.x!=A||y.y!=A||w.x==H||w.y==H||Yt){var un=m[0],fn=sn?un.getBoundingClientRect():{width:un[Ai],height:un[Ti]},cn={w:fn[_e]+b[3]+b[1],h:fn[Se]+b[0]+b[2]},ln=function(n){var t=ci(n),r=t.D,e=t.I,i=t.M,o=y[i]==(n&&Yt?A:"end"),a="center"==y[i],u=y[i]==C,f=w[i]==N,c=w[i]==H,l=se[r],s=rn[e],v=cn[r],d=en[e],h=a?2:1,p=d+v/2,b=s+l/2,m=v<=l&&s<=d&&d+v<=s+l;f?on[i]=!0:on[i]||((u||c)&&(on[i]=!!c&&m,o=v<l?b<p:p<b),an[i]-=o||a?(l/h-v/h)*(n&&Yt&&g?-1:1):0)};ln(!0),ln(!1)}on.y&&delete an.y,on.x&&delete an.x,n=an}k[Le]=q(!0,P(!0,n)),k[Re]=q(!1,P(!1,n)),v=k[Le]!==xi,d=k[Re]!==xi,(v||d)&&(0<t||z)?z?(t.complete=E,ir.animate(k,t)):(h={duration:t,complete:E},lt(r)==gt||Ii.isPlainObject(r)?(O[Le]=r[0]||r.x,O[Re]=r[1]||r.y,h.specialEasing=O):h.easing=r,ir.animate(k,h)):(v&&ir[Le](k[Le]),d&&ir[Re](k[Re]))},ce.scrollStop=function(n,t,r){return ir.stop(n,t,r),ce},ce.getElements=function(n){var t={target:lr,host:sr,padding:dr,viewport:hr,content:pr,scrollbarHorizontal:{scrollbar:c[0],track:s[0],handle:v[0]},scrollbarVertical:{scrollbar:d[0],track:b[0],handle:m[0]},scrollbarCorner:cr[0]};return lt(n)==xt?ct(t,n):t},ce.getState=function(n){var t=function(n){if(!Ii.isPlainObject(n))return n;var r=wi({},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",_e),t("h",Se),delete r.c,r},r={sleeping:t(Kt)||!1,autoUpdate:t(!Jr),widthAuto:t(xr),heightAuto:t(_r),padding:t(Tr),overflowAmount:t(Rr),hideOverflow:t(gr),hasOverflow:t(yr),contentScrollSize:t(mr),viewportSize:t(se),hostSize:t(br),documentMixed:t(p)};return lt(n)==xt?ct(r,n):r},ce.ext=function(n){var t,r="added removed on contract".split(" "),e=0;if(lt(n)==xt){if(Un.hasOwnProperty(n))for(t=wi({},Un[n]);e<r.length;e++)delete t[r[e]]}else for(e in t={},Un)t[e]=wi({},ce.ext(e));return t},ce.addExt=function(n,t){var r,e,i,o,a=pt[mt].extension(n),u=!0;if(a){if(Un.hasOwnProperty(n))return ce.ext(n);if((r=a.extensionFactory.call(ce,wi({},a.defaultOptions),Ii,Li))&&(lt(i=r.contract)==yt&&(u=lt(o=i(pt))==_t?o:u),u))return lt(e=(Un[n]=r).added)==yt&&e(t),ce.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},ce.removeExt=function(n){var t,r=Un[n];return!!r&&(delete Un[n],lt(t=r.removed)==yt&&t(),!0)},function dt(n,t,r){return i=kt.defaultOptions,Lt=kt.nativeScrollbarStyling,Dt=wi({},kt.nativeScrollbarSize),At=wi({},kt.nativeScrollbarIsOverlaid),Ct=wi({},kt.overlayScrollbarDummySize),Nt=wi({},kt.rtlScrollBehavior),nt(wi({},i,ht.T(t,ht.S,!0))),At.x&&At.x&&!Gt.nativeScrollbarsOverlaid.initialize?(li("onInitializationWithdrawn"),!1):(Rt=kt.cssCalc,D=kt.msie,Ht=kt.autoUpdateRecommended,I=kt.supportTransition,sn=kt.supportTransform,h=kt.supportPassiveEvents,A=kt.supportResizeObserver,l=kt.supportMutationObserver,It=kt.restrictedMeasuring,M=Ii(n.ownerDocument),C=M[0],a=Ii(C.defaultView||C.parentWindow),w=a[0],f=vt(M,"html"),W=vt(f,"body"),Zt=Ii(n),lr=Zt[0],jt=Zt.is("textarea"),Ft=Zt.is("body"),p=C!==bt,Ft&&((e={}).l=Ri.max(Zt[Le](),f[Le](),a[Le]()),e.t=Ri.max(Zt[Re](),f[Re](),a[Re]())),tt(),rt(),et(),it(!0),it(!1),ot(),function c(){var t=w.top!==w,e={},i={},o={};function r(n){if(u(n)){var t=f(n),r={};(ae||oe)&&(r[_e]=i.w+(t.x-e.x)*o.x),(ue||oe)&&(r[Se]=i.h+(t.y-e.y)*o.y),nr.css(r),Li.stpP(n)}else a(n)}function a(n){var t=n!==xi;M.off(on,Jn).off(Z,r).off(Q,a),gi(W,Fn),cr.releaseCapture&&cr.releaseCapture(),t&&(V&&Qe(),ce.update(ke)),V=!1}function u(n){var t=(n.originalEvent||n).touches!==xi;return!Kt&&!Wt&&(1===Li.mBtn(n)||t)}function f(n){return D&&t?{x:n.screenX,y:n.screenY}:Li.page(n)}fe=function(n){u(n)&&(Jr&&(V=!0,Ze()),e=f(n),i.w=sr[Ai]-(Et?0:Pt),i.h=sr[Ti]-(Et?0:qt),o=at(),M.on(on,Jn).on(Z,r).on(Q,a),yi(W,Fn),cr.setCapture&&cr.setCapture(),Li.prvD(n),Li.stpP(n))}}(),Bn(),Ft&&(ir[Le](e.l)[Re](e.t),bt.activeElement==n&&hr.focus&&(ir.attr("tabindex","-1"),hr.focus(),ir.one(De,function(){ir.removeAttr("tabindex")}))),Je(rr,Xn),Xn(),ce.update(ke),Mt=!0,li("onInitialized"),Ii.each(En,function(n,t){li(t.n,t.a)}),En=[],lt(r)==xt&&(r=[r]),Li.isA(r)?Ii.each(r,function(n,t){ce.addExt(t)}):Ii.isPlainObject(r)&&Ii.each(r,function(n,t){ce.addExt(n,t)}),setTimeout(function(){I&&!Wt&&yi(nr,mn)},333),Mt);var e}(e,n,t))return Mi(e,ce),ce;ce=xi}function qn(n,t,r){for(var e=t.split(He),i=0;i<e.length;i++)n[0].addEventListener(e[i],r,{passive:!0})}function Vn(n,t,r){for(var e=t.split(He),i=0;i<e.length;i++)n[0].removeEventListener(e[i],r,{passive:!0})}function Je(i,n){var o=3333333,t=Li.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",e="childNodes",a=function(){i[Re](o)[Le](Yt?Nt.n?-o:Nt.i?0:o:o),n()};if(A){var u=i.append(hi(Tn+" observed")).contents()[0];(u[un]=new t(a)).observe(u)}else if(9<D||!Ht){i.prepend(hi(Tn,hi({className:kn,dir:"ltr"},hi(kn,hi(On))+hi(kn,hi({className:On,style:"width: 200%; height: 200%"})))));var f,c,l,s,v=i[0][e][0][e][0],d=Ii(v[e][1]),h=Ii(v[e][0]),p=Ii(h[0][e][0]),b=v[Ai],m=v[Ti],w=kt.nativeScrollbarSize,y=function(){h[Le](o)[Re](o),d[Le](o)[Re](o)},g=function(){c=0,f&&(b=l,m=s,a())},x=function(n){return l=v[Ai],s=v[Ti],f=l!=b||s!=m,n&&f&&!c?(Li.cAF()(c),c=Li.rAF()(g)):n||g(),y(),n&&(Li.prvD(n),Li.stpP(n)),!1},_={},S={};si(S,Te,[-2*(w.y+1),-2*w.x,-2*w.y,-2*(w.x+1)]),Ii(v).css(S),h.on(Oe,x),d.on(Oe,x),i.on(r,function(){x(!1)}),_[_e]=o,_[Se]=o,p.css(_),y()}else{var z=C.attachEvent,T=D!==xi;if(z)i.prepend(hi(Tn)),vt(i,Y+Tn)[0].attachEvent("onresize",a);else{var k=C.createElement(wt);k.setAttribute("tabindex","-1"),k.setAttribute(zt,Tn),k.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",a),n.document.documentElement.style.display="none"},k.type="text/html",T&&i.prepend(k),k.data="about:blank",T||i.prepend(k),i.on(r,a)}}if(i[0]===N){var O=function(){var n=nr.css("direction"),t={},r=0,e=!1;return n!==H&&(r="ltr"===n?(t[ye]=0,t[me]=ke,o):(t[ye]=ke,t[me]=0,Nt.n?-o:Nt.i?0:o),rr.children().eq(0).css(t),i[Le](r)[Re](o),H=n,e=!0),e};O(),i.on(Oe,function(n){return O()&&ei(),Li.prvD(n),Li.stpP(n),!1})}}function $n(n){if(A){var t=n.contents()[0];t[un].disconnect(),delete t[un]}else st(n.children(Y+Tn).eq(0))}function Bn(){if(l){var e,i,r,o,a,u,n=Li.mO(),f=Li.now();R=new n(function(n){if(Mt&&!Kt){var t,r=!1;Ii.each(n,function(){if(e=(t=this).target,i=t.attributeName,r=i===zt?Zn(t.oldValue,e.className):i!==_i||t.oldValue!==e[_i].cssText)return!1}),r&&ce.update(ke)}}),j=new n(function(n){if(Mt&&!Kt){var t=!1;Ii.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,e=n.type,i="closest";if(r===pr)return null===t;if("attributes"===e&&(t===zt||t===_i)&&!jt){if(t===zt&&Ii(r).hasClass(ln))return Zn(n.oldValue,r.getAttribute(zt));if(typeof r[i]!=yt)return!0;if(null!==r[i](Y+Tn)||null!==r[i](Y+Cn)||null!==r[i](Y+Mn))return!1}return!0}(this))}),t&&(o=Li.now(),a=_r||xr,u=function(){Wt||(f=o,jt&&ri(),a?ei():ce.update(ke))},clearTimeout(r),11<o-f||!a?u():r=setTimeout(u,11))}})}}function Qe(){l&&!Jr&&(R.observe(sr,{attributes:!0,attributeOldValue:!0,attributeFilter:[Tt,zt,_i]}),j.observe(jt?lr:pr,{attributes:!0,attributeOldValue:!0,subtree:!jt,childList:!jt,characterData:!jt,attributeFilter:jt?["wrap","cols","rows"]:[Tt,zt,_i]}),Jr=!0)}function Ze(){l&&Jr&&(R.disconnect(),j.disconnect(),Jr=!1)}function Xn(){if(!Kt){var n,t={w:N[Ni],h:N[Oi]};Mt?(n=bi(t,O),O=t,n&&ei(!0,!1)):O=t}}function Yn(){ee&&oi(!0)}function Kn(){ee&&!W.hasClass(Fn)&&oi(!1)}function Gn(){re&&(oi(!0),clearTimeout(U),U=setTimeout(function(){re&&!Wt&&oi(!1)},100))}function ni(n){var e=n?Vn:qn,i=n?"off":"on",t=function(n,t,r){h?e(n,t,r):n[i](t,r)};re&&!n?t(nr,Z,Gn):(n&&t(nr,Z,Gn),t(nr,nn,Yn),t(nr,tn,Kn)),Mt||n||nr.one("mouseover",Yn)}function Jn(n){return Li.prvD(n),!1}function Qn(){ei(!1,!0)}function ti(){var n={};return Ft&&ar&&(n.w=vi(ar.css(ge+_e)),n.h=vi(ar.css(ge+Se)),n.c=bi(n,Kr),n.f=!0),(Kr=n).c||!1}function Zn(n,t){var r=t!==xi&&null!==t?t.split(He):Te,e=n!==xi&&null!==n?n.split(He):Te;if(r===Te&&e===Te)return!1;var i,o,a,u,f,c=function h(n,t){var r,e,i=[],o=[];for(r=0;r<n.length;r++)i[n[r]]=!0;for(r=0;r<t.length;r++)i[t[r]]?delete i[t[r]]:i[t[r]]=!0;for(e in i)o.push(e);return o}(e,r),l=!1,s=Br!==xi&&null!==Br?Br.split(He):[Te],v=$r!==xi&&null!==$r?$r.split(He):[Te],d=Ii.inArray(Ye,c);for(-1<d&&c.splice(d,1),o=0;o<c.length;o++)if(0!==(i=c[o]).indexOf(ln)){for(f=u=!0,a=0;a<s.length;a++)if(i===s[a]){u=!1;break}for(a=0;a<v.length;a++)if(i===v[a]){f=!1;break}if(u&&f){l=!0;break}}return l}function ri(){if(!Kt){var n,t,r,e,i=!Wr,o=se.w,a=se.h,u={},f=xr||i;return u[ge+_e]=Te,u[ge+Se]=Te,u[_e]=ke,Zt.css(u),n=lr[Ai],t=f?Ri.max(n,lr[Ni]-1):1,u[_e]=xr?ke:Ae,u[ge+_e]=Ae,u[Se]=ke,Zt.css(u),r=lr[Ti],e=Ri.max(r,lr[Oi]-1),u[_e]=t,u[Se]=e,fr.css(u),u[ge+_e]=o,u[ge+Se]=a,Zt.css(u),{W:n,j:r,F:t,U:e}}}function ei(n,t,r,e){var i=Li.now(),o=0<Ge&&Mt&&i-Jt<Ge&&!_r&&!xr&&!e,a=nr.is(":hidden"),u=pi(a,Gr,r);if(Gr=a,clearTimeout(Qt),o&&(Ke.h=Ke.h||n,Ke.c=Ke.c||t,Ke.f=Ke.f||r,Qt=setTimeout(ei,Ge)),!(Wt||o||Kt||Mt&&!r&&a||"inline"===nr.css("display"))){Jt=i,n=n||Ke.h,t=t||Ke.c,r=r||Ke.f,Ke={},n=n!==xi&&n,t=t!==xi&&t,r=r!==xi&&r,!Lt||At.x&&At.y?Dt=wi({},kt.nativeScrollbarSize):(Dt.x=0,Dt.y=0),ve={x:3*(Dt.x+(At.x?0:3)),y:3*(Dt.y+(At.y?0:3))};var f={x:ir[Le](),y:ir[Re]()},c=Gt.scrollbars,l=Gt.textarea,s=c.visibility,v=pi(s,Fr,r),d=c.autoHide,h=pi(d,Er,r),p=c.clickScrolling,b=pi(p,Ur,r),m=c.dragScrolling,w=pi(m,Pr,r),y=Gt.className,g=pi(y,$r,r),x=Gt.resize,_=pi(x,qr,r)&&!Ft,S=!!jt&&"off"!==Zt.attr("wrap"),z=pi(S,Wr,r),T=Gt.paddingAbsolute,k=pi(T,Cr,r),O=Gt.clipAlways,A=pi(O,Nr,r),C=Gt.sizeAutoCapable&&!Ft,N=pi(C,Mr,r),H=Gt.nativeScrollbarsOverlaid.showNativeScrollbars,L=pi(H,Dr),R=Gt.autoUpdate,D=pi(R,Ir),I=Gt.overflowBehavior,M=bi(I,Lr,Ce,Ne,r),W=l.dynWidth,j=pi(Yr,W),F=l.dynHeight,E=pi(Xr,F);if(ne="n"===d,te="s"===d,re="m"===d,ee="l"===d,Zr=c.autoHideDelay,Br=$r,ie="n"===x,oe="b"===x,ae="h"===x,ue="v"===x,Vr=Gt.normalizeRTL,H=H&&At.x&&At.y,Fr=s,Er=d,Ur=p,Pr=m,$r=y,qr=x,Wr=S,Cr=T,Nr=O,Mr=C,Dr=H,Ir=R,Lr=wi({},I),Yr=W,Xr=F,yr=yr||{x:!1,y:!1},g&&(gi(nr,Br+He+Ye),yi(nr,y!==xi&&null!==y&&0<y.length?y:Ye)),D&&(!0===R?(Ze(),Ot.add(ce)):null===R&&Ht?(Ze(),Ot.add(ce)):(Ot.remove(ce),Qe())),N)if(C)if(ur?ur.show():(ur=Ii(hi(Pe)),er.before(ur)),Ut)tr.show();else{tr=Ii(hi(qe)),vr=tr[0],ur.before(tr);var U={w:-1,h:-1};Je(tr,function(){var n={w:vr[Ai],h:vr[Ti]};bi(n,U)&&(Mt&&_r&&0<n.h||xr&&0<n.w?ei():(Mt&&!_r&&0===n.h||!xr&&0===n.w)&&ei()),U=n}),Ut=!0,null!==Rt&&tr.css(Se,Rt+"(100% + 1px)")}else Ut&&tr.hide(),ur&&ur.hide();r&&(rr.find("*").trigger(Oe),Ut&&tr.find("*").trigger(Oe));var P,q=nr.css("direction"),V=pi(q,Ar,r),$=nr.css("box-sizing"),B=pi($,zr,r),X={c:r,t:vi(nr.css(he+be)),r:vi(nr.css(he+me)),b:vi(nr.css(he+we)),l:vi(nr.css(he+ye))};try{P=Ut?vr.getBoundingClientRect():null}catch(zt){return}Et="border-box"===$;var Y=(Yt="rtl"===q)?ye:me,K=Yt?me:ye,G=!1,J=!(!Ut||"none"===nr.css(ze))&&(0===Ri.round(P.right-P.left)&&(!!T||0<sr[Ci]-Pt));if(C&&!J){var Q=sr[Ai],Z=ur.css(_e);ur.css(_e,ke);var nn=sr[Ai];ur.css(_e,Z),(G=Q!==nn)||(ur.css(_e,Q+1),nn=sr[Ai],ur.css(_e,Z),G=Q!==nn)}var tn=(J||G)&&C&&!a,rn=pi(tn,xr,r),en=!tn&&xr,on=!(!Ut||!C||a)&&0===Ri.round(P.bottom-P.top),an=pi(on,_r,r),un=!on&&_r,fn="-"+_e,cn=tn&&Et||!Et,ln=on&&Et||!Et,sn={c:r,t:ln?vi(nr.css(pe+be+fn),!0):0,r:cn?vi(nr.css(pe+me+fn),!0):0,b:ln?vi(nr.css(pe+we+fn),!0):0,l:cn?vi(nr.css(pe+ye+fn),!0):0},vn={c:r,t:vi(nr.css(de+be)),r:vi(nr.css(de+me)),b:vi(nr.css(de+we)),l:vi(nr.css(de+ye))},dn={h:String(nr.css(xe+Se)),w:String(nr.css(xe+_e))},hn={},pn={},bn=function(){return{w:sr[Ci],h:sr[ki]}},mn=function(){return{w:dr[Ai]+Ri.max(0,pr[Ci]-pr[Ni]),h:dr[Ti]+Ri.max(0,pr[ki]-pr[Oi])}},wn=Pt=X.l+X.r,yn=qt=X.t+X.b;if(wn*=yn*=T?1:0,X.c=mi(X,Tr),Vt=sn.l+sn.r,$t=sn.t+sn.b,sn.c=mi(sn,kr),Bt=vn.l+vn.r,Xt=vn.t+vn.b,vn.c=mi(vn,Or),dn.ih=vi(dn.h),dn.iw=vi(dn.w),dn.ch=-1<dn.h.indexOf("px"),dn.cw=-1<dn.w.indexOf("px"),dn.c=bi(dn,Sr,r),Ar=q,zr=$,xr=tn,_r=on,Tr=X,kr=sn,Or=vn,Sr=dn,V&&Ut&&tr.css(ze,K),X.c||V||k||rn||an||B||N){var gn={},xn={};si(pn,de,[-X.t,-X.r,-X.b,-X.l]),T?(si(gn,Te,[X.t,X.r,X.b,X.l]),si(jt?xn:hn,he)):(si(gn,Te),si(jt?xn:hn,he,[X.t,X.r,X.b,X.l])),er.css(gn),Zt.css(xn)}se=mn();var _n=!!jt&&ri();if(on&&(an||k||B||dn.c||X.c||sn.c)?(hn[xe+Se]=dn.ch?dn.ih-yn+(Et?-$t:qt):Te,hn[Se]=ke):(an||k)&&(hn[xe+Se]=Te,hn[Se]=Ae),tn&&(rn||k||B||dn.c||X.c||sn.c||V)?(hn[xe+_e]=dn.cw?dn.iw-wn+(Et?-Vt:Pt)+(At.y?Ct.y:0):Te,hn[_e]=ke,pn[xe+_e]=Ae):(rn||k)&&(hn[xe+_e]=Te,hn[_e]=Ae,hn[ze]=Te,pn[xe+_e]=Te),tn?(dn.cw||(hn[xe+_e]=Te),pn[_e]=jt&&W?_n.F:ke,hn[_e]=ke,hn[ze]=K):pn[_e]=Te,pn[Se]=on?(dn.ch||(hn[xe+Se]=Te),jt?F?_n.U:ke:pr[ki]):Te,C&&ur.css(pn),or.css(hn),hn={},pn={},n||t||V||B||k||rn||tn||an||on||dn.c||L||M||A||_||v||h||w||b||j||E||z||r){var Sn="overflow",zn=Sn+"-x",Tn=Sn+"-y",kn=It?At.x||At.y||se.w<ve.y||se.h<ve.x||on||u:on,On={},An=yr.y&&gr.ys&&!H?At.y?ir.css(Y):-Dt.y:0,Cn=yr.x&&gr.xs&&!H?At.x?ir.css(we):-Dt.x:0;si(On,Te),ir.css(On),kn&&or.css(Sn,"hidden");var Nn=di(),Hn=It&&!kn?hr:Nn,Ln={w:jt&&_n?W?_n.F:_n.W:Nn[Ci],h:jt&&_n?F?_n.U:_n.j:Nn[ki]},Rn=Ri.max(Nn[Ni],Hn[Ni]),Dn=Ri.max(Nn[Oi],Hn[Oi]);On[we]=un?Te:Cn,On[Y]=en?Te:An,ir.css(On),se=mn();var In=bn(),Mn={w:Ri.max((tn?Ln.w:Rn)+wn,In.w),h:Ri.max((on?Ln.h:Dn)+yn,In.h)};if(Mn.c=bi(Mn,Hr,r),Hr=Mn,C){(Mn.c||on||tn)&&(pn[_e]=Mn.w,pn[Se]=Mn.h,jt||(Ln={w:Nn[Ci],h:Nn[ki]}));var Wn={},jn=function(n){var t=ci(n),r=t.D,e=t.P,i=n?tn:on,o=n?Vt:$t,a=n?Pt:qt,u=n?Bt:Xt,f=pn[e]+(Et?o:-a);(!i||!i&&sn.c)&&(pn[e]=In[r]-(Et?0:a+o)-1-u),i&&dn["c"+r]&&dn["i"+r]===f&&(pn[e]=f+(Et?0:a)+1),i&&Ln[r]<se[r]&&(!n||jt&&!S)&&(jt&&(Wn[e]=vi(fr.css(e))-1),pn[e]-=1),0<Ln[r]&&(pn[e]=Ri.max(1,pn[e]))};jn(!0),jn(!1),jt&&fr.css(Wn),ur.css(pn)}tn&&(hn[_e]=Ae),!tn||Et||Jr||(hn[ze]="none"),or.css(hn),hn={};var Fn={w:Ri.max(Nn[Ni],Hn[Ni]),h:Ri.max(Nn[Oi],Hn[Oi])};Fn.c=t=bi(Fn,mr,r),mr=Fn,kn&&or.css(Sn,Te),se=mn(),n=bi(In=bn(),br),br=In;var En=jt&&(0===se.w||0===se.h),Un=Rr,Pn={},qn={},Vn={},$n={},Bn={},Xn={},Yn={},Kn=dr.getBoundingClientRect(),Gn=function(n){var t=ci(n),r=ci(!n).M,e=t.M,i=t.D,o=t.P,a=Oe+t.q+"Max",u=Kn[o]?Ri.abs(Kn[o]-se[i]):0;Pn[e]="v-s"===I[e],qn[e]="v-h"===I[e],Vn[e]="s"===I[e],$n[e]=Ri.max(0,Ri.round(100*(Fn[i]-se[i]))/100),$n[e]*=En||0===hr[a]&&0<u&&u<1?0:1,Bn[e]=0<$n[e],Xn[e]=Pn[e]||qn[e]?Bn[r]&&!Pn[r]&&!qn[r]:Bn[e],Xn[e+"s"]=!!Xn[e]&&(Vn[e]||Pn[e]),Yn[e]=Bn[e]&&Xn[e+"s"]};if(Gn(!0),Gn(!1),$n.c=bi($n,Rr,Ce,Ne,r),Rr=$n,Bn.c=bi(Bn,yr,Ce,Ne,r),yr=Bn,Xn.c=bi(Xn,gr,Ce,Ne,r),gr=Xn,At.x||At.y){var Jn,Qn={},Zn={},nt=r;(Bn.x||Bn.y)&&(Zn.w=At.y&&Bn.y?Fn.w+Ct.y:Te,Zn.h=At.x&&Bn.x?Fn.h+Ct.x:Te,nt=pi(Zn,wr,r),wr=Zn),(Bn.c||Xn.c||Fn.c||V||rn||an||tn||on||L)&&(hn[de+K]=hn[pe+K]=Te,(Jn=function(n){var t=ci(n),r=ci(!n),e=t.M,i=n?we:Y,o=n?on:tn;At[e]&&Bn[e]&&Xn[e+"s"]?(hn[de+i]=o?H?Te:Ct[e]:Te,hn[pe+i]=n&&o||H?Te:Ct[e]+"px solid transparent"):(Zn[r.D]=hn[de+i]=hn[pe+i]=Te,nt=!0)})(!0),Jn(!1)),H&&(Zn.w=Zn.h=Te,nt=!0),nt&&(Qn[_e]=Xn.y?Zn.w:Te,Qn[Se]=Xn.x?Zn.h:Te,ar||(ar=Ii(hi(Ue)),ir.prepend(ar)),ar.css(Qn)),or.css(hn)}var tt,rt={};gn={};if((n||Bn.c||Xn.c||Fn.c||M||B||L||V||A||an)&&(rt[K]=Te,(tt=function(n){var t=ci(n),r=ci(!n),e=t.M,i=t.V,o=n?we:Y,a=function(){rt[o]=Te,le[r.D]=0};Bn[e]&&Xn[e+"s"]?(rt[Sn+i]=Oe,H?a():(rt[o]=-(At[e]?Ct[e]:Dt[e]),le[r.D]=At[e]?Ct[r.M]:0)):(rt[Sn+i]=Te,a())})(!0),tt(!1),(se.h<ve.x||se.w<ve.y)&&(Bn.x&&Xn.x&&!At.x||Bn.y&&Xn.y&&!At.y)?(rt[he+be]=ve.x,rt[de+be]=-ve.x,rt[he+K]=ve.y,rt[de+K]=-ve.y):rt[he+be]=rt[de+be]=rt[he+K]=rt[de+K]=Te,rt[he+Y]=rt[de+Y]=Te,Bn.x&&Xn.x||Bn.y&&Xn.y||En?jt&&En&&(gn[zn]=gn[Tn]="hidden"):(!O||qn.x||Pn.x||qn.y||Pn.y)&&(jt&&(gn[zn]=gn[Tn]=Te),rt[zn]=rt[Tn]="visible"),er.css(gn),ir.css(rt),rt={},(Bn.c||B||rn||an)&&(!At.x||!At.y))){var et=pr[_i];et.webkitTransform="scale(1)",et.display="run-in",pr[Ti],et.display=Te,et.webkitTransform=Te}if(hn={},V||rn||an)if(Yt&&tn){var it=or.css(ze),ot=Ri.round(or.css(ze,Te).css(ye,Te).position().left);or.css(ze,it),ot!==Ri.round(or.position().left)&&(hn[ye]=ot)}else hn[ye]=Te;if(or.css(hn),jt&&t){var at=function Tt(){var n=lr.selectionStart;if(n===xi)return;var t,r,e="length",i=Zt.val(),o=i[e],a=i.split("\n"),u=a[e],f=i.substr(0,n).split("\n"),c=0,l=0,s=f[e],v=f[f[e]-1][e];for(r=0;r<a[e];r++)t=a[r][e],l<t&&(c=r+1,l=t);return{$:s,B:v,X:u,Y:l,K:c,G:n,J:o}}();if(at){var ut=jr===xi||at.X!==jr.X,ft=at.$,ct=at.B,lt=at.K,st=at.X,vt=at.Y,dt=at.G,ht=at.J<=dt&&Qr,pt={x:S||ct!==vt||ft!==lt?-1:Rr.x,y:(S?ht||ut&&Un!==xi&&f.y===Un.y:(ht||ut)&&ft===st)?Rr.y:-1};f.x=-1<pt.x?Yt&&Vr&&Nt.i?0:pt.x:f.x,f.y=-1<pt.y?pt.y:f.y}jr=at}Yt&&Nt.i&&At.y&&Bn.x&&Vr&&(f.x+=le.w||0),tn&&nr[Le](0),on&&nr[Re](0),ir[Le](f.x)[Re](f.y);var bt="v"===s,mt="h"===s,wt="a"===s,yt=Li.bind(ii,0,!0,!0,Yn.x),gt=Li.bind(ii,0,!1,!0,Yn.y),xt=Li.bind(ii,0,!0,!1,Yn.x),_t=Li.bind(ii,0,!1,!1,Yn.y);if(Xn.x||Xn.y?yi(nr,je):gi(nr,je),Xn.x?yi(nr,Fe):gi(nr,Fe),Xn.y?yi(nr,Ee):gi(nr,Ee),V&&(Yt?yi(nr,Ie):gi(nr,Ie)),Ft&&yi(nr,Me),_){var St=function(){cr.off(De,fe)};gi(cr,[Me,Ve,$e,Be,Xe].join(He)),ie?(yi(nr,Me),St()):(yi(cr,Ve),oe?yi(cr,$e):ae?yi(cr,Be):ue&&yi(cr,Xe),St(),cr.on(De,fe))}(v||M||Xn.c||Bn.c||L)&&(H?L&&(gi(nr,We),H&&(xt(),_t())):wt?(Yn.x?yt():xt(),Yn.y?gt():_t()):bt?(yt(),gt()):mt&&(xt(),_t())),(h||L)&&(ee||re?(ni(!0),ni()):ni(!0),ne?oi(!0):oi(!1,!0)),(n||$n.c||an||rn||_||B||k||L||V)&&(ai(!0),ui(!0),ai(!1),ui(!1)),b&&fi(!0,p),w&&fi(!1,m),V&&li("onDirectionChanged",{isRTL:Yt,dir:q}),n&&li("onHostSizeChanged",{width:br.w,height:br.h}),t&&li("onContentSizeChanged",{width:mr.w,height:mr.h}),(Bn.c||Xn.c)&&li("onOverflowChanged",{x:Bn.x,y:Bn.y,xScrollable:Xn.xs,yScrollable:Xn.ys,clipped:Xn.x||Xn.y}),$n.c&&li("onOverflowAmountChanged",{x:$n.x,y:$n.y})}Ft&&(yr.c||Kr.c)&&(Kr.f||ti(),At.y&&yr.x&&or.css(ge+_e,Kr.w+Ct.y),At.x&&yr.y&&or.css(ge+Se,Kr.h+Ct.x),Kr.c=!1),li("onUpdated",{forced:r})}}function nt(n){o=wi({},o,ht.T(n,ht.S,!0)),Gt=wi({},Gt,ht.T(n,ht.S,!1,!0))}function tt(e){var n=Gt.textarea.inheritedAttrs,i={},t=function(){var r=e?Zt:nr;Ii.each(i,function(n,t){lt(t)==xt&&(n==zt?r.addClass(t):r.attr(n,t))})},r=[ln,hn,Me,Ie,pn,bn,mn,We,je,Fe,Ee,Ye,wn,An,$r].join(He);if(lt(n=lt(n)==xt?n.split(" "):n)==gt&&Ii.each(n,function(n,t){lt(t)==xt&&(i[t]=e?nr.attr(t):Zt.attr(t))}),e)or.contents().unwrap().unwrap().unwrap(),gi(nr,r),jt?(Zt.removeAttr(_i),u&&t(),gi(Zt,r),st(fr),u?(Zt.unwrap(),st(nr)):yi(nr,hn)):gi(Zt,ln),Ft&&gi(f,cn),st(rr);else{if(jt){var o={},a=Zt.parent();u=!(a.hasClass(hn)&&1===a.children()[Si]),Gt.sizeAutoCapable||(o[_e]=Zt.css(_e),o[Se]=Zt.css(Se)),u&&Zt.wrap(hi(hn)),(nr=Zt.parent()).css(o).wrapInner(hi(zn+He+An)).wrapInner(hi(xn+He+An)).wrapInner(hi(gn+He+An)),or=vt(nr,Y+zn),ir=vt(nr,Y+xn),er=vt(nr,Y+gn),fr=Ii(hi(yn)),or.prepend(fr),yi(Zt,wn+He+An),u&&t()}else(nr=Zt).wrapInner(hi(zn)).wrapInner(hi(xn)).wrapInner(hi(gn)),or=vt(nr,Y+zn),ir=vt(nr,Y+xn),er=vt(nr,Y+gn),yi(Zt,ln);Lt&&yi(ir,At.x&&At.y?Sn:_n),Ft&&yi(f,cn),rr=Ii(hi("os-resize-observer-host")),nr.prepend(rr),N=rr[0],sr=nr[0],dr=er[0],hr=ir[0],pr=or[0]}}function rt(n){var r,t,e,i,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],a=[],u=n?"off":"on";!n&&jt&&(e=function(n){ri(),ce.update(ke),n&&clearInterval(r)},(F={})[Oe]=function(n){return Zt[Le](Nt.i&&Vr?9999999:0),Zt[Re](0),Li.prvD(n),Li.stpP(n),!1},F.drop=function(){setTimeout(function(){Wt||e()},50)},F.focus=function(){Qr=!0},F.focusout=function(){e(!(Qr=!(a=[])))},9<D||!Ht?F.input=function(){e()}:(F[rn]=function(n){var t=n.keyCode;-1<Ii.inArray(t,o)||(a.length||(e(),r=setInterval(e,1e3/60)),-1===Ii.inArray(t,a)&&a.push(t))},F[en]=function(n){var t=n.keyCode,r=Ii.inArray(t,a);-1<Ii.inArray(t,o)||(-1<r&&a.splice(r,1),a.length||e(!0))})),jt?Ii.each(F,function(n,t){Zt[u](n,t)}):or[u](an,function(n){!0!==Ir&&function s(n){if(!Mt)return!0;var t="flex-grow",r="flex-shrink",e="flex-basis",i=[_e,ge+_e,xe+_e,de+ye,de+me,ye,me,"font-weight","word-spacing",t,r,e],o=[he+ye,he+me,pe+ye+_e,pe+me+_e],a=[Se,ge+Se,xe+Se,de+be,de+we,be,we,"line-height",t,r,e],u=[he+be,he+we,pe+be+_e,pe+we+_e],f="s"===Lr.x||"v-s"===Lr.x,c=!1,l=function(n,t){for(var r=0;r<n[Si];r++)if(n[r]===t)return!0;return!1};return("s"===Lr.y||"v-s"===Lr.y)&&((c=l(a,n))||Et||(c=l(u,n))),f&&!c&&((c=l(i,n))||Et||(c=l(o,n))),c}((n=n.originalEvent||n).propertyName)&&ei(ke)}),n||(i=function(n){Kt||(t!==xi?clearTimeout(t):((te||re)&&oi(!0),ft()||yi(nr,We),li("onScrollStart",n)),q||(ui(!0),ui(!1)),li("onScroll",n),t=setTimeout(function(){Wt||(clearTimeout(t),t=xi,(te||re)&&oi(!1),ft()||gi(nr,We),li("onScrollStop",n))},175))},h?qn(ir,Oe,i):ir.on(Oe,i))}function et(n){n?(st(c),st(d)):(c=Ii(hi(Cn+He+Wn)),s=Ii(hi(Nn)),v=Ii(hi(Ln)),d=Ii(hi(Cn+He+jn)),b=Ii(hi(Nn)),m=Ii(hi(Ln)),c.append(s),s.append(v),d.append(b),b.append(m),er.after(d),er.after(c))}function it(_){var S,i,z,T,r=ci(_),k=r.Z,t=w.top!==w,O=r.M,e=r.V,A=Oe+r.q,o="active",a="snapHandle",C=1,u=[16,17];function f(n){return D&&t?n["screen"+e]:Li.page(n)[O]}function c(n){return Gt.scrollbars[n]}function l(){C=.5}function s(){C=1}function v(n){-1<Ii.inArray(n.keyCode,u)&&l()}function N(n){-1<Ii.inArray(n.keyCode,u)&&s()}function H(n){var t=(n.originalEvent||n).touches!==xi;return!(Kt||Wt||ft()||!Pr||t&&!c("touchSupport"))&&(1===Li.mBtn(n)||t)}function d(n){if(H(n)){var t=k.L,r=k.N,e=k.A*((f(n)-z)*T/(t-r));e=isFinite(e)?e:0,Yt&&_&&!Nt.i&&(e*=-1),ir[A](Ri.round(i+e)),q&&ui(_,i+e),h||Li.prvD(n)}else L(n)}function L(n){if(n=n||n.originalEvent,M.off(Z,d).off(Q,L).off(rn,v).off(en,N).off(on,Jn),q&&ui(_,!0),q=!1,gi(W,Fn),gi(r.nn,o),gi(r.tn,o),gi(r.rn,o),z=i=xi,T=1,s(),S!==xi&&(ce.scrollStop(),clearTimeout(S),S=xi),n){var t=sr.getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Kn(),(te||re)&&oi(!1)}}function R(n){i=ir[A](),i=isNaN(i)?0:i,(Yt&&_&&!Nt.n||!Yt)&&(i=i<0?0:i),T=at()[O],z=f(n),q=!c(a),yi(W,Fn),yi(r.nn,o),yi(r.rn,o),M.on(Z,d).on(Q,L).on(on,Jn),!D&&p||Li.prvD(n),Li.stpP(n)}r.nn.on(De,function(n){H(n)&&R(n)}),r.tn.on(De,function(n){if(H(n)){var d,h=Ri.round(se[r.D]),p=r.tn.offset()[r.I],t=n.ctrlKey,b=n.shiftKey,m=b&&t,w=!0,y=function(n){q&&ui(_,n)},g=function(){y(),R(n)},x=function(){if(!Wt){var n=(z-p)*T,t=k.C,r=k.L,e=k.N,i=k.A,o=k.k,a=270*C,u=w?Ri.max(400,a):a,f=i*((n-e/2)/(r-e)),c=Yt&&_&&(!Nt.i&&!Nt.n||Vr),l=c?t<n:n<t,s={},v={easing:"linear",step:function(n){q&&(ir[A](n),ui(_,n))}};f=isFinite(f)?f:0,f=Yt&&_&&!Nt.i?i-f:f,b?(ir[A](f),m?(f=ir[A](),ir[A](o),f=c&&Nt.i?i-f:f,f=c&&Nt.n?-f:f,s[O]=f,ce.scroll(s,wi(v,{duration:130,complete:g}))):g()):(d=w?l:d,(c?d?n<=t+e:t<=n:d?t<=n:n<=t+e)?(clearTimeout(S),ce.scrollStop(),S=xi,y(!0)):(S=setTimeout(x,u),s[O]=(d?"-=":"+=")+h,ce.scroll(s,wi(v,{duration:a}))),w=!1)}};t&&l(),T=at()[O],z=Li.page(n)[O],q=!c(a),yi(W,Fn),yi(r.tn,o),yi(r.rn,o),M.on(Q,L).on(rn,v).on(en,N).on(on,Jn),x(),Li.prvD(n),Li.stpP(n)}}).on(nn,function(){P=!0,(te||re)&&oi(!0)}).on(tn,function(){P=!1,(te||re)&&oi(!1)}),r.rn.on(De,function(n){Li.stpP(n)}),I&&r.rn.on(an,function(n){n.target===r.rn[0]&&(ai(_),ui(_))})}function ii(n,t,r){var e=n?pn:bn,i=n?c:d;t?gi(nr,e):yi(nr,e),r?gi(i,Dn):yi(i,Dn)}function oi(n,t){if(clearTimeout(E),n)gi(c,In),gi(d,In);else{var r,e=function(){P||Wt||(!(r=v.hasClass("active")||m.hasClass("active"))&&(te||re||ee)&&yi(c,In),!r&&(te||re||ee)&&yi(d,In))};0<Zr&&!0!==t?E=setTimeout(e,Zr):e()}}function ai(n){var t={},r=ci(n),e=r.Z,i=Ri.min(1,(br[r.D]-(Cr?n?Pt:qt:0))/mr[r.D]);t[r.P]=Ri.floor(100*i*1e6)/1e6+"%",ft()||r.nn.css(t),e.N=r.nn[0]["offset"+r.en],e.H=i}function ui(n,t){var r,e,i=lt(t)==_t,o=Yt&&n,a=ci(n),u=a.Z,f="translate(",c=Hi.p("transform"),l=Hi.p("transition"),s=n?ir[Le]():ir[Re](),v=t===xi||i?s:t,d=u.N,h=a.tn[0]["offset"+a.en],p=h-d,b={},m=(hr[Oe+a.en]-hr["client"+a.en])*(Nt.n&&o?-1:1),w=function(n){return isNaN(n/m)?0:Ri.max(0,Ri.min(1,n/m))},y=function(n){var t=p*n;return t=isNaN(t)?0:t,t=o&&!Nt.i?h-d-t:t,t=Ri.max(0,t)},g=w(s),x=y(w(v)),_=y(g);u.A=m,u.k=s,u.O=g,sn?(r=o?-(h-d-x):x,e=n?f+r+"px, 0)":f+"0, "+r+"px)",b[c]=e,I&&(b[l]=i&&1<Ri.abs(x-u.C)?function S(n){var t=Hi.p("transition"),r=n.css(t);if(r)return r;for(var e,i,o,a="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",u=new RegExp(a),f=new RegExp("^("+a+")+$"),c="property duration timing-function delay".split(" "),l=[],s=0,v=function(n){if(e=[],!n.match(f))return n;for(;n.match(u);)e.push(RegExp.$1),n=n.replace(u,Te);return e};s<c[Si];s++)for(i=v(n.css(t+"-"+c[s])),o=0;o<i[Si];o++)l[o]=(l[o]?l[o]+He:Te)+i[o];return l.join(", ")}(a.nn)+", "+(c+He+250)+"ms":Te)):b[a.I]=x,ft()||(a.nn.css(b),sn&&I&&i&&a.nn.one(an,function(){Wt||a.nn.css(l,Te)})),u.C=x,u.R=_,u.L=h}function fi(n,t){var r=t?"removeClass":"addClass",e=n?b:m,i=n?Hn:Rn;(n?s:v)[r](i),e[r](i)}function ci(n){return{P:n?_e:Se,en:n?"Width":"Height",I:n?ye:be,q:n?"Left":"Top",M:n?Ce:Ne,V:n?"X":"Y",D:n?"w":"h","in":n?"l":"t",tn:n?s:b,nn:n?v:m,rn:n?c:d,Z:n?vn:dn}}function ot(n){n?st(cr):(cr=Ii(hi(Mn)),nr.append(cr))}function li(n,t){if(Mt){var r,e=Gt.callbacks[n],i=n;"on"===i.substr(0,2)&&(i=i.substr(2,1).toLowerCase()+i.substr(3)),lt(e)==yt&&e.call(ce,t),Ii.each(Un,function(){lt((r=this).on)==yt&&r.on(i,t)})}else Wt||En.push({n:n,a:t})}function si(n,t,r){r===xi&&(r=[Te,Te,Te,Te]),n[t+be]=r[0],n[t+me]=r[1],n[t+we]=r[2],n[t+ye]=r[3]}function at(){var n=dr.getBoundingClientRect();return{x:sn?1/(Ri.round(n.width)/dr[Ai]):1,y:sn?1/(Ri.round(n.height)/dr[Ti]):1}}function ut(n){var t="ownerDocument",r="HTMLElement",e=n&&n[t]&&n[t].parentWindow||pt;return typeof e[r]==wt?n instanceof e[r]:n&&typeof n==wt&&null!==n&&1===n.nodeType&&typeof n.nodeName==xt}function vi(n,t){var r=t?parseFloat(n):parseInt(n,10);return isNaN(r)?0:r}function ft(){return Dr&&At.x&&At.y}function di(){return jt?fr[0]:pr}function hi(r,n){return"<div "+(r?lt(r)==xt?'class="'+r+'"':function(){var n,t="";if(Ii.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():Te)+">"+(n||Te)+"</div>"}function ct(n,t){for(var r,e=t.split(Y),i=0;i<e.length;i++){if(!n.hasOwnProperty(e[i]))return;r=n[e[i]],i<e.length&<(r)==wt&&(n=r)}return r}function pi(n,t,r){return!0===r?r:t===xi||n!==t}function bi(n,t,r,e,i){if(!0===i)return i;if(e===xi&&i===xi){if(!0===r)return r;r=xi}return r=r===xi?"w":r,e=e===xi?"h":e,t===xi||(n[r]!==t[r]||n[e]!==t[e])}function mi(n,t){return t===xi||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function lt(n){return Li.type(n)}function wi(){return Ii.extend.apply(this,[!0].concat([].slice.call(arguments)))}function yi(n,t){return B.addClass.call(n,t)}function gi(n,t){return B.removeClass.call(n,t)}function st(n){return B.remove.call(n)}function vt(n,t){return B.find.call(n,t).eq(0)}}return pt[mt]=function(n,r,e){if(0===arguments[Si])return this;var i,t,o=[],a=Ii.isPlainObject(r);return n?(n=n[Si]!=xi?n:[n[0]||n],l(),0<n[Si]&&(a?Ii.each(n,function(n,t){(i=t)!==xi&&o.push(v(i,r,e,u,f))}):Ii.each(n,function(n,t){i=Mi(t),"!"===r&&i instanceof pt[mt]||Li.type(r)==yt&&r(t,i)?o.push(i):r===xi&&o.push(i)}),t=1===o[Si]?o[0]:o),t):a||!r?t:o},pt[mt].globals=function(){l();var n=Ii.extend(!0,{},u);return delete n.msie,n},pt[mt].defaultOptions=function(n){l();var t=u.defaultOptions;if(n===xi)return Ii.extend(!0,{},t);u.defaultOptions=Ii.extend(!0,{},t,ht.T(n,ht.S,!0))},pt[mt].extension=function(n,t,r){var e=Li.type(n)==xt,i=arguments[Si],o=0;if(i<1||!e)return Ii.extend(!0,{length:c[Si]},c);if(e)if(Li.type(t)==yt)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[Si];o++)if(c[o].name===n){if(!(1<i))return Ii.extend(!0,{},c[o]);c.splice(o,1)}},pt[mt]}();return Di&&Di.fn&&(Di.fn.overlayScrollbars=function(n,t){return Di.isPlainObject(n)?(Di.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); | ||
!function(t,r){"function"==typeof define&&define.amd?define(["jquery"],function(n){return r(t,t.document,undefined,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=r(t,t.document,undefined,require("jquery")):r(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(ht,pt,xi,n){"use strict";var i,o,bt="OverlayScrollbars",mt="object",wt="function",yt="array",gt="string",xt="boolean",_t="number",d="null",St="class",_i="style",zt="id",Tt="length",Si="prototype",zi="offsetHeight",Ti="clientHeight",ki="scrollHeight",Oi="offsetWidth",Ai="clientWidth",Ci="scrollWidth",Ni={o:{},u:{},s:["-webkit-","-moz-","-o-","-ms-"],v:["WebKit","Moz","O","MS"],p:function(n){var t=this.u;if(t[n])return t[n];for(var r,e,i=this.s,o=this.m(n),a=pt.createElement("div")[_i],u=0,f=0;u<i.length;u++)for(e=i[u].replace(/-/g,""),r=[n,i[u]+n,e+o,this.m(e)+o],f=0;f<r[Tt];f++)if(a[r[f]]!==xi)return t[n]=r[f],r[f];return null},g:function(n,t,r){var e=this.v,i=this.o,o=0,a=i[n];if(!a){for(a=ht[n];o<e[Tt];o++)a=a||ht[(t?e[o]:e[o].toLowerCase())+this.m(n)];i[n]=a}return a||r},m:function(n){return n.charAt(0).toUpperCase()+n.slice(1)}},Hi={wW:function(){return ht.innerWidth||pt.documentElement[Ai]||pt.body[Ai]},wH:function(){return ht.innerHeight||pt.documentElement[Ti]||pt.body[Ti]},mO:function(){return Ni.g("MutationObserver",!0)},rO:function(){return Ni.g("ResizeObserver",!0)},rAF:function(){return Ni.g("requestAnimationFrame",!1,function(n){return ht.setTimeout(n,1e3/60)})},cAF:function(){return Ni.g("cancelAnimationFrame",!1,function(n){return ht.clearTimeout(n)})},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",e="X",i=((n=n.originalEvent||n).target||n.srcElement||pt).ownerDocument||pt,o=i.documentElement,a=i.body;if(n.touches===xi)return!n[t+e]&&n[r+e]&&null!=n[r+e]?{x:n[r+e]+(o&&o.scrollLeft||a&&a.scrollLeft||0)-(o&&o.clientLeft||a&&a.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||a&&a.scrollTop||0)-(o&&o.clientTop||a&&a.clientTop||0)}:{x:n[t+e],y:n.pageY};var u=n.touches[0];return{x:u[t+e],y:u.pageY}},mBtn:function(n){var t=n.button;return n.which||t===xi?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[Tt];r++)try{if(t[r]===n)return r}catch(e){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==yt},type:function(n){return n===xi?n+"":null===n?n+"":Object[Si].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=wt)throw"Can't bind function!";var r=Si,e=Array[r].slice.call(arguments,2),i=function(){},o=function(){return n.apply(this instanceof i?this:t,e.concat(Array[r].slice.call(arguments)))};return n[r]&&(i[r]=n[r]),o[r]=new i,o}},Li=Math,Ri=n,Di=(n.easing,n),Ii=(i=[],o="__overlayScrollbars__",function(n,t){var r=arguments[Tt];if(r<1)return i;if(t)n[o]=t,i.push(n);else{var e=Hi.inA(n,i);if(-1<e){if(!(1<r))return i[e][o];delete n[o],i.splice(e,1)}}}),r=function(){var u,f,O,n,t,r,e,a,i,c=[],dt=(a={className:["os-theme-dark",[d,gt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,xt],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(O=[xt,_t,gt,yt,mt,wt,d]),xt],autoUpdate:[null,[d,xt]],autoUpdateInterval:[33,_t],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",e="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",e]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,_t],dragScrolling:n,clickScrolling:t,touchSupport:n,snapHandle:t},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[gt,yt,d]]},callbacks:{onInitialized:r=[null,[d,wt]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{_:(i=function(i){var o=function(n){var t,r,e;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(e=Hi.type(r))==yt?n[t]=r[i?1:0]:e==mt&&(n[t]=o(r)));return n};return o(Di.extend(!0,{},a))})(),S:i(!0),T:function(n,t,z,T,r){var e={},i=Di.extend(!0,{},n),k=function(n,t,r,e){for(var i in t)if(t.hasOwnProperty(i)&&n.hasOwnProperty(i)){var o,a,u,f,c,l,s,v,d=!1,h=t[i],p=Hi.type(h),b=p==mt,m=Hi.type(h)!=yt?[h]:h,w=n[i],y=Hi.type(w),g=e?e+".":"",x='The option "'+g+i+"\" wasn't set, because",_=[],S=[];if(b&&y==mt)r[i]={},k(w,h,r[i],g+i),Di.isEmptyObject(w)&&delete n[i];else if(!b){for(l=0;l<m.length;l++)if(c=m[l],u=(p=Hi.type(c))==gt&&-1===Di.inArray(c,O))for(_.push(gt),o=c.split(" "),S=S.concat(o),s=0;s<o.length;s++){for(f=(a=o[s].split(":"))[0],v=0;v<a.length;v++)if(w===a[v]){d=!0;break}if(d)break}else if(_.push(c),y===c){d=!0;break}d?r[i]=u&&T?f:w:z&&console.warn(x+" it doesn't accept the type [ "+y.toUpperCase()+' ] with the value of "'+w+'".\r\nAccepted types are: [ '+_.join(", ").toUpperCase()+" ]."+(0<S.length?"\r\nValid strings are: [ "+S.join(", ").split(":").join(", ")+" ].":"")),delete n[i]}}};return k(i,t,e),r?Di.extend(!0,e,i):!Di.isEmptyObject(i)&&z&&console.warn("The following options are discarded due to invalidity:\r\n"+ht.JSON.stringify(i,null,2)),e}});function l(){u||(u=new o(dt._)),f||(f=new s(u))}function o(n){var _=this,i="overflow",o="hidden",S=Di("body"),z=Di('<div id="os-dummy-scrollbar-size"><div></div></div>'),a=z[0],e=Di(z.children("div").eq(0));S.append(z),z.hide().show();var t,r,u,f,c,l,s,v,d,h=T(a),p={x:0===h.x,y:0===h.y};function T(n){return{x:n[zi]-n[Ti],y:n[Oi]-n[Ai]}}Di.extend(_,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Hi.mO(),nativeScrollbarSize:h,nativeScrollbarIsOverlaid:p,nativeScrollbarStyling:(z.addClass("os-viewport-native-scrollbars-invisible"),z.css(i,o).hide().css(i,"scroll").show(),a[zi]-a[Ti]==0&&a[Oi]-a[Ai]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=ht.navigator.userAgent,u="indexOf",f="substring",c=r[u]("MSIE "),l=r[u]("Trident/"),s=r[u]("Edge/"),v=r[u]("rv:"),d=parseInt,0<c?t=d(r[f](c+5,r[u](".",c)),10):0<l?t=d(r[f](v+3,r[u](".",v)),10):0<s&&(t=d(r[f](s+5,r[u](".",s)),10)),t),cssCalc:function(){for(var n,t=pt.createElement("div")[_i],r=-1;r<Ni.s[Tt];r++)if(n=r<0?"calc":Ni.s[r]+"calc",t.cssText="width:"+n+"(1px);",t[Tt])return n;return null}(),restrictedMeasuring:function(){z.css(i,o);var n=a[Ci],t=a[ki];z.css(i,"visible");var r=a[Ci],e=a[ki];return n-r!=0||t-e!=0}(),rtlScrollBehavior:function(){z.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=z.offset(),t=e.offset();z.scrollLeft(999);var r=e.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:null!==Ni.p("transform"),supportTransition:null!==Ni.p("transition"),supportPassiveEvents:function(){var n=!1;try{ht.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Hi.rO(),supportMutationObserver:!!Hi.mO()}),z.removeAttr(_i).remove(),function(){if(!p.x||!p.y){var m=Li.abs,w=Hi.wW(),y=Hi.wH(),g=x();Di(ht).on("resize",function(){if(0<Ii().length){var n=Hi.wW(),t=Hi.wH(),r=n-w,e=t-y;if(0===r&&0===e)return;var i,o=Li.round(n/(w/100)),a=Li.round(t/(y/100)),u=m(r),f=m(e),c=m(o),l=m(a),s=x(),v=2<u&&2<f,d=!function b(n,t){var r=m(n),e=m(t);return!(r===e||r+1===e||r-1===e)}(c,l),h=v&&d&&s!==g&&0<g,p=_.nativeScrollbarSize;h&&(S.append(z),i=_.nativeScrollbarSize=T(z[0]),z.remove(),p.x===i.x&&p.y===i.y||Di.each(Ii(),function(){Ii(this)&&Ii(this).update("zoom")})),w=n,y=t,g=s}})}function x(){var n=ht.screen.deviceXDPI||0,t=ht.screen.logicalXDPI||1;return ht.devicePixelRatio||n/t}}()}function s(r){var c,l="autoUpdate",s=Tt,v=[],d=[],h=!1,p=33,b=Hi.now(),m=function(){if(0<v[s]&&h){c=Hi.rAF()(function(){m()});var n,t,r,e,i,o,a=Hi.now(),u=a-b;if(p<u){b=a-u%p,n=33;for(var f=0;f<v[s];f++)(t=v[f])!==xi&&(e=(r=t.options())[l],i=Li.max(1,r.autoUpdateInterval),o=Hi.now(),(!0===e||null===e)&&o-d[f]>i&&(t.update("auto"),d[f]=new Date(o+=i)),n=Li.max(1,Li.min(n,i)));p=n}}else p=33};this.add=function(n){-1===Di.inArray(n,v)&&(v.push(n),d.push(Hi.now()),0<v[s]&&!h&&(h=!0,r.autoUpdateLoop=h,m()))},this.remove=function(n){var t=Di.inArray(n,v);-1<t&&(d.splice(t,1),v.splice(t,1),0===v[s]&&h&&(h=!1,r.autoUpdateLoop=h,c!==xi&&(Hi.cAF()(c),c=-1)))}}function v(e,n,t,kt,Ot){if(at(e)){if(Ii(e)){var r=Ii(e);return r.options(n),r}var At,Ct,Nt,Ht,D,Lt,Rt,Dt,I,ln,h,A,l,It,Mt,Wt,jt,Ft,p,u,Et,Ut,Pt,qt,Vt,Bt,Xt,Yt,$t,Kt,i,o,Gt,Jt,Qt,a,M,f,W,Zt,nr,tr,rr,er,ir,or,ar,ur,fr,cr,c,s,v,d,b,m,w,C,lr,sr,vr,N,dr,hr,pr,br,mr,wr,yr,gr,xr,_r,Sr,zr,Tr,kr,Or,Ar,H,Cr,Nr,Hr,Lr,Rr,Dr,Ir,Mr,Wr,jr,y,g,x,_,S,z,T,k,O,Fr,Er,Ur,Pr,qr,Vr,Br,Xr,Yr,$r,Kr,L,Gr,R,j,Jr,F,Qr,E,U,Zr,ne,te,re,ee,P,q,V,ie,oe,ae,ue,fe,ce=new ht[bt],B=Di[Si],le={},sn={},vn={},se={},ve={},X="-hidden",de="margin-",he="padding-",pe="border-",be="top",me="right",we="bottom",ye="left",ge="min-",xe="max-",_e="width",Se="height",ze="float",Te="",ke="auto",Oe="scroll",Ae="100%",Ce="x",Ne="y",Y=".",He=" ",$="scrollbar",K="-horizontal",G="-vertical",Le=Oe+"Left",Re=Oe+"Top",De="mousedown touchstart",J="mouseup touchend touchcancel",Q="mousemove touchmove",Z="mouseenter",nn="mouseleave",tn="keydown",rn="keyup",en="selectstart",on="transitionend webkitTransitionEnd oTransitionEnd",an="__overlayScrollbarsRO__",un="os-",fn="os-html",cn="os-host",dn=cn+"-textarea",hn=cn+"-"+$+K+X,pn=cn+"-"+$+G+X,bn=cn+"-transition",Ie=cn+"-rtl",Me=cn+"-resize-disabled",We=cn+"-scrolling",je=cn+"-overflow",Fe=je+"-x",Ee=je+"-y",mn="os-textarea",wn=mn+"-cover",yn="os-padding",gn="os-viewport",xn=gn+"-native-scrollbars-invisible",_n=gn+"-native-scrollbars-overlaid",Sn="os-content",Ue="os-content-arrange",Pe="os-content-glue",qe="os-size-auto-observer",zn="os-resize-observer",Tn="os-resize-observer-item",kn=Tn+"-final",On="os-text-inherit",An=un+$,Cn=An+"-track",Nn=Cn+"-off",Hn=An+"-handle",Ln=Hn+"-off",Rn=An+"-unusable",Dn=An+"-"+ke+X,In=An+"-corner",Ve=In+"-resize",Be=Ve+"-both",Xe=Ve+K,Ye=Ve+G,Mn=An+K,Wn=An+G,jn="os-dragging",$e="os-theme-none",Fn=[],En={},Ke={},Ge=42,Un=[];if(ce.sleep=function(){Kt=!0},ce.update=function(n){var t,r,e=ct(n)==gt,i=e&&"+"==n.slice(-1);e?0===n.indexOf(ke)?(t=function h(){if(Kt||Jr)return!1;var n=nr.attr(zt)||Te,t=pi(n,y),r=nr.attr(St)||Te,e=pi(r,g),i=nr.attr(_i)||Te,o=pi(i,x),a=nr.is(":visible")||Te,u=pi(a,_),f=jt&&Zt.attr("rows")||Te,c=pi(f,S),l=jt&&Zt.attr("cols")||Te,s=pi(l,z),v=jt&&Zt.attr("wrap")||Te,d=pi(v,T);return y=n,e&&(e=Qn(g,r)),g=r,x=i,_=a,S=f,z=l,T=v,t||e||o||u||c||s||d}(),r=function c(){if(Kt)return!1;var n,t,r,e,i=jt&&xr&&!Wr?Zt.val().length:0,o=!Jr&&xr&&!jt,a={},u={};It&&(a={x:hr[Ci],y:hr[ki]}),o&&(n=or.css(ze),u[ze]=$t?me:ye,u[_e]=ke,or.css(u));var f={w:di()[Ci]+i,h:di()[ki]+i};return o&&(u[ze]=n,u[_e]=Ae,or.css(u)),t=ti(),r=bi(f,k),e=bi(a,L,Ce,Ne),k=f,L=a,r||t||e}(),(t||r||i)&&ei(!1,r,!1,i)):"zoom"===n&&ei(!0,!0):(n=Kt||n,ei(Kt=!1,!1,n,!0)),jt||or.find("img").each(function(n,t){-1===Hi.inA(t,Un)&&Di(t).off("load",Jn).on("load",Jn)})},ce.options=function(n,t){if(Di.isEmptyObject(n)||!Di.isPlainObject(n)){if(ct(n)!=gt)return o;if(1<arguments.length){var r={};return function f(n,t,r){for(var e=t.split(Y),i=e.length,o=0,a={},u=a;o<i;o++)a=a[e[o]]=o+1<i?{}:r;Di.extend(n,u,!0)}(r,n,t),Zn(r),void ei()}return ft(o,n)}Zn(n);var e=Kt||!1;Kt=!1,ei(),Kt=e},ce.destroy=function(){for(var n in Wt=!0,Ot.remove(ce),Ze(),Vn(rr),Ut&&Vn(tr),En)ce.removeExt(n);ni(!0),tt(!0),ur&<(ur),ar&<(ar),Ut&<(tr),rt(!0),it(!0),nt(!0);for(var t=0;t<Un[Tt];t++)Di(Un[t]).off("load",Jn);for(var r in Un=xi,Ii(e,0),li("onDestroyed"),ce)delete ce[r];ce=xi},ce.scroll=function(n,t,r,e){if(0===arguments.length||n===xi){var i=sn,o=vn,a=Vr&&$t&&Nt.i,u=Vr&&$t&&Nt.n,f=i.k,c=i.O,l=i.A;return c=a?1-c:c,f=a?l-f:f,l*=u?-1:1,{position:{x:f*=u?-1:1,y:o.k},ratio:{x:c,y:o.O},max:{x:l,y:o.A},handleOffset:{x:i.C,y:o.C},handleLength:{x:i.N,y:o.N},handleLengthRatio:{x:i.H,y:o.H},trackLength:{x:i.L,y:o.L},snappedHandleOffset:{x:i.R,y:o.R},isRTL:$t,isRTLNormalized:Vr}}var s,v,d,h,p,w,y,b,m,g=Vr,x=[Ce,ye,"l"],_=[Ne,be,"t"],S=["+=","-=","*=","/="],z=ct(t)==mt,T=z?t.complete:e,k={},O={},A="begin",C="nearest",N="never",H="ifneeded",L=Tt,R=[Ce,Ne,"xy","yx"],D=[A,"end","center",C],I=["always",N,H],M=n.hasOwnProperty("el"),W=M?n.el:n,j=!!(W instanceof Di||Ri)&&W instanceof Ri,F=!j&&at(W),E=ct(T)!=wt?xi:function(){v&&ui(!0),d&&ui(!1),T()},U=function(n,t){for(s=0;s<t[L];s++)if(n===t[s])return!0;return!1},P=function(n,t){var r=n?x:_;if(ct(t=ct(t)==gt||ct(t)==_t?[t,t]:t)==yt)return n?t[0]:t[1];if(ct(t)==mt)for(s=0;s<r[L];s++)if(r[s]in t)return t[r[s]]},q=function(n,t){var r,e,i=ct(t)==gt;i&&ce.update(ke+"+");var o,a,u=n?sn:vn,f=u.k,c=u.A,l=$t&&n,s=l&&Nt.n&&!g,v="replace",d=eval;if((e=i?(2<t[L]&&(a=t.substr(0,2),-1<Di.inArray(a,S)&&(r=a)),t=(t=r?t.substr(2):t)[v](/min/g,0)[v](/</g,0)[v](/max/g,(s?"-":Te)+Ae)[v](/>/g,(s?"-":Te)+Ae)[v](/px/g,Te)[v](/%/g," * "+c*(l&&Nt.n?-1:1)/100)[v](/vw/g," * "+se.w)[v](/vh/g," * "+se.h),vi(isNaN(t)?vi(d(t),!0).toFixed():t)):t)!==xi&&!isNaN(e)&&ct(e)==_t){var h=g&&l,p=f*(h&&Nt.n?-1:1),b=h&&Nt.i,m=h&&Nt.n;switch(p=b?c-p:p,r){case"+=":o=p+e;break;case"-=":o=p-e;break;case"*=":o=p*e;break;case"/=":o=p/e;break;default:o=e}o=b?c-o:o,o*=m?-1:1,o=l&&Nt.n?Li.min(0,Li.max(c,o)):Li.max(0,Li.min(c,o))}return o===f?xi:o},V=function(n,t,r,e){var i,o,a=[r,r],u=ct(n);if(u==t)n=[n,n];else if(u==yt){if(2<(i=n[L])||i<1)n=a;else for(1===i&&(n[1]=r),s=0;s<i;s++)if(ct(o=n[s])!=t||!U(o,e)){n=a;break}}else n=u==mt?[n[Ce]||r,n[Ne]||r]:a;return{x:n[0],y:n[1]}},B=function(n){var t,r,e=[],i=[be,me,we,ye];for(s=0;s<n[L]&&s!==i[L];s++)(r=ct(t=n[s]))==xt?e.push(t?vi(m.css(de+i[s])):0):e.push(r==_t?t:0);return e};if(j||F){var X,Y=M?n.margin:0,$=M?n.axis:0,K=M?n.scroll:0,G=M?n.block:0,J=[0,0,0,0],Q=ct(Y);if(0===(m=j?W:Di(W))[L])return;ce.update(ke+"+"),Y=Q==_t||Q==xt?B([Y,Y,Y,Y]):Q==yt?2===(X=Y[L])?B([Y[0],Y[1],Y[0],Y[1]]):4<=X?B(Y):J:Q==mt?B([Y[be],Y[me],Y[we],Y[ye]]):J,p=U($,R)?$:"xy",w=V(K,gt,"always",I),y=V(G,gt,A,D),b=Y;var Z=sn.k,nn=vn.k,tn=er.offset(),rn=m.offset(),en={x:w.x==N||p==Ne,y:w.y==N||p==Ce};rn[be]-=b[0],rn[ye]-=b[3];var on={x:Li.round(rn[ye]-tn[ye]+Z),y:Li.round(rn[be]-tn[be]+nn)};if($t&&(Nt.n||Nt.i||(on.x=Li.round(tn[ye]-rn[ye]+Z)),Nt.n&&g&&(on.x*=-1),Nt.i&&g&&(on.x=Li.round(tn[ye]-rn[ye]+(sn.A-Z)))),y.x!=A||y.y!=A||w.x==H||w.y==H||$t){var an=m[0],un=ln?an.getBoundingClientRect():{width:an[Oi],height:an[zi]},fn={w:un[_e]+b[3]+b[1],h:un[Se]+b[0]+b[2]},cn=function(n){var t=ci(n),r=t.D,e=t.I,i=t.M,o=y[i]==(n&&$t?A:"end"),a="center"==y[i],u=y[i]==C,f=w[i]==N,c=w[i]==H,l=se[r],s=tn[e],v=fn[r],d=rn[e],h=a?2:1,p=d+v/2,b=s+l/2,m=v<=l&&s<=d&&d+v<=s+l;f?en[i]=!0:en[i]||((u||c)&&(en[i]=!!c&&m,o=v<l?b<p:p<b),on[i]-=o||a?(l/h-v/h)*(n&&$t&&g?-1:1):0)};cn(!0),cn(!1)}en.y&&delete on.y,en.x&&delete on.x,n=on}k[Le]=q(!0,P(!0,n)),k[Re]=q(!1,P(!1,n)),v=k[Le]!==xi,d=k[Re]!==xi,(v||d)&&(0<t||z)?z?(t.complete=E,ir.animate(k,t)):(h={duration:t,complete:E},ct(r)==yt||Di.isPlainObject(r)?(O[Le]=r[0]||r.x,O[Re]=r[1]||r.y,h.specialEasing=O):h.easing=r,ir.animate(k,h)):(v&&ir[Le](k[Le]),d&&ir[Re](k[Re]))},ce.scrollStop=function(n,t,r){return ir.stop(n,t,r),ce},ce.getElements=function(n){var t={target:lr,host:sr,padding:dr,viewport:hr,content:pr,scrollbarHorizontal:{scrollbar:c[0],track:s[0],handle:v[0]},scrollbarVertical:{scrollbar:d[0],track:b[0],handle:m[0]},scrollbarCorner:cr[0]};return ct(n)==gt?ft(t,n):t},ce.getState=function(n){var t=function(n){if(!Di.isPlainObject(n))return n;var r=wi({},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",_e),t("h",Se),delete r.c,r},r={sleeping:t(Kt)||!1,autoUpdate:t(!Jr),widthAuto:t(xr),heightAuto:t(_r),padding:t(Tr),overflowAmount:t(Rr),hideOverflow:t(gr),hasOverflow:t(yr),contentScrollSize:t(mr),viewportSize:t(se),hostSize:t(br),documentMixed:t(p)};return ct(n)==gt?ft(r,n):r},ce.ext=function(n){var t,r="added removed on contract".split(" "),e=0;if(ct(n)==gt){if(En.hasOwnProperty(n))for(t=wi({},En[n]);e<r.length;e++)delete t[r[e]]}else for(e in t={},En)t[e]=wi({},ce.ext(e));return t},ce.addExt=function(n,t){var r,e,i,o,a=ht[bt].extension(n),u=!0;if(a){if(En.hasOwnProperty(n))return ce.ext(n);if((r=a.extensionFactory.call(ce,wi({},a.defaultOptions),Di,Hi))&&(ct(i=r.contract)==wt&&(u=ct(o=i(ht))==xt?o:u),u))return ct(e=(En[n]=r).added)==wt&&e(t),ce.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},ce.removeExt=function(n){var t,r=En[n];return!!r&&(delete En[n],ct(t=r.removed)==wt&&t(),!0)},function vt(n,t,r){return i=kt.defaultOptions,Lt=kt.nativeScrollbarStyling,Dt=wi({},kt.nativeScrollbarSize),At=wi({},kt.nativeScrollbarIsOverlaid),Ct=wi({},kt.overlayScrollbarDummySize),Nt=wi({},kt.rtlScrollBehavior),Zn(wi({},i,dt.T(t,dt.S,!0))),At.x&&At.x&&!Gt.nativeScrollbarsOverlaid.initialize?(li("onInitializationWithdrawn"),!1):(Rt=kt.cssCalc,D=kt.msie,Ht=kt.autoUpdateRecommended,I=kt.supportTransition,ln=kt.supportTransform,h=kt.supportPassiveEvents,A=kt.supportResizeObserver,l=kt.supportMutationObserver,It=kt.restrictedMeasuring,M=Di(n.ownerDocument),C=M[0],a=Di(C.defaultView||C.parentWindow),w=a[0],f=st(M,"html"),W=st(f,"body"),Zt=Di(n),lr=Zt[0],jt=Zt.is("textarea"),Ft=Zt.is("body"),p=C!==pt,Ft&&((e={}).l=Li.max(Zt[Le](),f[Le](),a[Le]()),e.t=Li.max(Zt[Re](),f[Re](),a[Re]())),nt(),tt(),rt(),et(!0),et(!1),it(),function c(){var t=w.top!==w,e={},i={},o={};function r(n){if(u(n)){var t=f(n),r={};(ae||oe)&&(r[_e]=i.w+(t.x-e.x)*o.x),(ue||oe)&&(r[Se]=i.h+(t.y-e.y)*o.y),nr.css(r),Hi.stpP(n)}else a(n)}function a(n){var t=n!==xi;M.off(en,Gn).off(Q,r).off(J,a),gi(W,jn),cr.releaseCapture&&cr.releaseCapture(),t&&(V&&Qe(),ce.update(ke)),V=!1}function u(n){var t=(n.originalEvent||n).touches!==xi;return!Kt&&!Wt&&(1===Hi.mBtn(n)||t)}function f(n){return D&&t?{x:n.screenX,y:n.screenY}:Hi.page(n)}fe=function(n){u(n)&&(Jr&&(V=!0,Ze()),e=f(n),i.w=sr[Oi]-(Et?0:Pt),i.h=sr[zi]-(Et?0:qt),o=ot(),M.on(en,Gn).on(Q,r).on(J,a),yi(W,jn),cr.setCapture&&cr.setCapture(),Hi.prvD(n),Hi.stpP(n))}}(),Bn(),Ft&&(ir[Le](e.l)[Re](e.t),pt.activeElement==n&&hr.focus&&(ir.attr("tabindex","-1"),hr.focus(),ir.one(De,function(){ir.removeAttr("tabindex")}))),Je(rr,Xn),Xn(),ce.update(ke),Mt=!0,li("onInitialized"),Di.each(Fn,function(n,t){li(t.n,t.a)}),Fn=[],ct(r)==gt&&(r=[r]),Hi.isA(r)?Di.each(r,function(n,t){ce.addExt(t)}):Di.isPlainObject(r)&&Di.each(r,function(n,t){ce.addExt(n,t)}),setTimeout(function(){I&&!Wt&&yi(nr,bn)},333),Mt);var e}(e,n,t))return Ii(e,ce),ce;ce=xi}function Pn(n,t,r){for(var e=t.split(He),i=0;i<e.length;i++)n[0].addEventListener(e[i],r,{passive:!0})}function qn(n,t,r){for(var e=t.split(He),i=0;i<e.length;i++)n[0].removeEventListener(e[i],r,{passive:!0})}function Je(i,n){var o=3333333,t=Hi.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",e="childNodes",a=function(){i[Re](o)[Le]($t?Nt.n?-o:Nt.i?0:o:o),n()};if(A){var u=i.append(hi(zn+" observed")).contents()[0];(u[an]=new t(a)).observe(u)}else if(9<D||!Ht){i.prepend(hi(zn,hi({className:Tn,dir:"ltr"},hi(Tn,hi(kn))+hi(Tn,hi({className:kn,style:"width: 200%; height: 200%"})))));var f,c,l,s,v=i[0][e][0][e][0],d=Di(v[e][1]),h=Di(v[e][0]),p=Di(h[0][e][0]),b=v[Oi],m=v[zi],w=kt.nativeScrollbarSize,y=function(){h[Le](o)[Re](o),d[Le](o)[Re](o)},g=function(){c=0,f&&(b=l,m=s,a())},x=function(n){return l=v[Oi],s=v[zi],f=l!=b||s!=m,n&&f&&!c?(Hi.cAF()(c),c=Hi.rAF()(g)):n||g(),y(),n&&(Hi.prvD(n),Hi.stpP(n)),!1},_={},S={};si(S,Te,[-2*(w.y+1),-2*w.x,-2*w.y,-2*(w.x+1)]),Di(v).css(S),h.on(Oe,x),d.on(Oe,x),i.on(r,function(){x(!1)}),_[_e]=o,_[Se]=o,p.css(_),y()}else{var z=C.attachEvent,T=D!==xi;if(z)i.prepend(hi(zn)),st(i,Y+zn)[0].attachEvent("onresize",a);else{var k=C.createElement(mt);k.setAttribute("tabindex","-1"),k.setAttribute(St,zn),k.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",a),n.document.documentElement.style.display="none"},k.type="text/html",T&&i.prepend(k),k.data="about:blank",T||i.prepend(k),i.on(r,a)}}if(i[0]===N){var O=function(){var n=nr.css("direction"),t={},r=0,e=!1;return n!==H&&(r="ltr"===n?(t[ye]=0,t[me]=ke,o):(t[ye]=ke,t[me]=0,Nt.n?-o:Nt.i?0:o),rr.children().eq(0).css(t),i[Le](r)[Re](o),H=n,e=!0),e};O(),i.on(Oe,function(n){return O()&&ei(),Hi.prvD(n),Hi.stpP(n),!1})}}function Vn(n){if(A){var t=n.contents()[0];t[an].disconnect(),delete t[an]}else lt(n.children(Y+zn).eq(0))}function Bn(){if(l){var e,i,r,o,a,u,n=Hi.mO(),f=Hi.now();R=new n(function(n){if(Mt&&!Kt){var t,r=!1;Di.each(n,function(){if(e=(t=this).target,i=t.attributeName,r=i===St?Qn(t.oldValue,e.className):i!==_i||t.oldValue!==e[_i].cssText)return!1}),r&&ce.update(ke)}}),j=new n(function(n){if(Mt&&!Kt){var t=!1;Di.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,e=n.type,i="closest";if(r===pr)return null===t;if("attributes"===e&&(t===St||t===_i)&&!jt){if(t===St&&Di(r).hasClass(cn))return Qn(n.oldValue,r.getAttribute(St));if(typeof r[i]!=wt)return!0;if(null!==r[i](Y+zn)||null!==r[i](Y+An)||null!==r[i](Y+In))return!1}return!0}(this))}),t&&(o=Hi.now(),a=_r||xr,u=function(){Wt||(f=o,jt&&ri(),a?ei():ce.update(ke))},clearTimeout(r),11<o-f||!a?u():r=setTimeout(u,11))}})}}function Qe(){l&&!Jr&&(R.observe(sr,{attributes:!0,attributeOldValue:!0,attributeFilter:[zt,St,_i]}),j.observe(jt?lr:pr,{attributes:!0,attributeOldValue:!0,subtree:!jt,childList:!jt,characterData:!jt,attributeFilter:jt?["wrap","cols","rows"]:[zt,St,_i]}),Jr=!0)}function Ze(){l&&Jr&&(R.disconnect(),j.disconnect(),Jr=!1)}function Xn(){if(!Kt){var n,t={w:N[Ci],h:N[ki]};Mt?(n=bi(t,O),O=t,n&&ei(!0,!1)):O=t}}function Yn(){ee&&oi(!0)}function $n(){ee&&!W.hasClass(jn)&&oi(!1)}function Kn(){re&&(oi(!0),clearTimeout(U),U=setTimeout(function(){re&&!Wt&&oi(!1)},100))}function ni(n){var e=n?qn:Pn,i=n?"off":"on",t=function(n,t,r){h?e(n,t,r):n[i](t,r)};re&&!n?t(nr,Q,Kn):(n&&t(nr,Q,Kn),t(nr,Z,Yn),t(nr,nn,$n)),Mt||n||nr.one("mouseover",Yn)}function Gn(n){return Hi.prvD(n),!1}function Jn(){ei(!1,!0)}function ti(){var n={};return Ft&&ar&&(n.w=vi(ar.css(ge+_e)),n.h=vi(ar.css(ge+Se)),n.c=bi(n,Kr),n.f=!0),(Kr=n).c||!1}function Qn(n,t){var r=t!==xi&&null!==t?t.split(He):Te,e=n!==xi&&null!==n?n.split(He):Te;if(r===Te&&e===Te)return!1;var i,o,a,u,f,c=function h(n,t){var r,e,i=[],o=[];for(r=0;r<n.length;r++)i[n[r]]=!0;for(r=0;r<t.length;r++)i[t[r]]?delete i[t[r]]:i[t[r]]=!0;for(e in i)o.push(e);return o}(e,r),l=!1,s=Xr!==xi&&null!==Xr?Xr.split(He):[Te],v=Br!==xi&&null!==Br?Br.split(He):[Te],d=Di.inArray($e,c);for(-1<d&&c.splice(d,1),o=0;o<c.length;o++)if(0!==(i=c[o]).indexOf(cn)){for(f=u=!0,a=0;a<s.length;a++)if(i===s[a]){u=!1;break}for(a=0;a<v.length;a++)if(i===v[a]){f=!1;break}if(u&&f){l=!0;break}}return l}function ri(){if(!Kt){var n,t,r,e,i=!Wr,o=se.w,a=se.h,u={},f=xr||i;return u[ge+_e]=Te,u[ge+Se]=Te,u[_e]=ke,Zt.css(u),n=lr[Oi],t=f?Li.max(n,lr[Ci]-1):1,u[_e]=xr?ke:Ae,u[ge+_e]=Ae,u[Se]=ke,Zt.css(u),r=lr[zi],e=Li.max(r,lr[ki]-1),u[_e]=t,u[Se]=e,fr.css(u),u[ge+_e]=o,u[ge+Se]=a,Zt.css(u),{W:n,j:r,F:t,U:e}}}function ei(n,t,r,e){var i=Hi.now(),o=0<Ge&&Mt&&i-Jt<Ge&&!_r&&!xr&&!e,a=nr.is(":hidden"),u=pi(a,Gr,r);if(Gr=a,clearTimeout(Qt),o&&(Ke.h=Ke.h||n,Ke.c=Ke.c||t,Ke.f=Ke.f||r,Qt=setTimeout(ei,Ge)),!(Wt||o||Kt||Mt&&!r&&a||"inline"===nr.css("display"))){Jt=i,n=n||Ke.h,t=t||Ke.c,r=r||Ke.f,Ke={},n=n!==xi&&n,t=t!==xi&&t,r=r!==xi&&r,!Lt||At.x&&At.y?Dt=wi({},kt.nativeScrollbarSize):(Dt.x=0,Dt.y=0),ve={x:3*(Dt.x+(At.x?0:3)),y:3*(Dt.y+(At.y?0:3))};var f={x:ir[Le](),y:ir[Re]()},c=Gt.scrollbars,l=Gt.textarea,s=c.visibility,v=pi(s,Fr,r),d=c.autoHide,h=pi(d,Er,r),p=c.clickScrolling,b=pi(p,Ur,r),m=c.dragScrolling,w=pi(m,Pr,r),y=Gt.className,g=pi(y,Br,r),x=Gt.resize,_=pi(x,qr,r)&&!Ft,S=!!jt&&"off"!==Zt.attr("wrap"),z=pi(S,Wr,r),T=Gt.paddingAbsolute,k=pi(T,Cr,r),O=Gt.clipAlways,A=pi(O,Nr,r),C=Gt.sizeAutoCapable&&!Ft,N=pi(C,Mr,r),H=Gt.nativeScrollbarsOverlaid.showNativeScrollbars,L=pi(H,Dr),R=Gt.autoUpdate,D=pi(R,Ir),I=Gt.overflowBehavior,M=bi(I,Lr,Ce,Ne,r),W=l.dynWidth,j=pi($r,W),F=l.dynHeight,E=pi(Yr,F);if(ne="n"===d,te="s"===d,re="m"===d,ee="l"===d,Zr=c.autoHideDelay,Xr=Br,ie="n"===x,oe="b"===x,ae="h"===x,ue="v"===x,Vr=Gt.normalizeRTL,H=H&&At.x&&At.y,Fr=s,Er=d,Ur=p,Pr=m,Br=y,qr=x,Wr=S,Cr=T,Nr=O,Mr=C,Dr=H,Ir=R,Lr=wi({},I),$r=W,Yr=F,yr=yr||{x:!1,y:!1},g&&(gi(nr,Xr+He+$e),yi(nr,y!==xi&&null!==y&&0<y.length?y:$e)),D&&(!0===R?(Ze(),Ot.add(ce)):null===R&&Ht?(Ze(),Ot.add(ce)):(Ot.remove(ce),Qe())),N)if(C)if(ur?ur.show():(ur=Di(hi(Pe)),er.before(ur)),Ut)tr.show();else{tr=Di(hi(qe)),vr=tr[0],ur.before(tr);var U={w:-1,h:-1};Je(tr,function(){var n={w:vr[Oi],h:vr[zi]};bi(n,U)&&(Mt&&_r&&0<n.h||xr&&0<n.w?ei():(Mt&&!_r&&0===n.h||!xr&&0===n.w)&&ei()),U=n}),Ut=!0,null!==Rt&&tr.css(Se,Rt+"(100% + 1px)")}else Ut&&tr.hide(),ur&&ur.hide();r&&(rr.find("*").trigger(Oe),Ut&&tr.find("*").trigger(Oe));var P,q=nr.css("direction"),V=pi(q,Ar,r),B=nr.css("box-sizing"),X=pi(B,zr,r),Y={c:r,t:vi(nr.css(he+be)),r:vi(nr.css(he+me)),b:vi(nr.css(he+we)),l:vi(nr.css(he+ye))};try{P=Ut?vr.getBoundingClientRect():null}catch(zt){return}Et="border-box"===B;var $=($t="rtl"===q)?ye:me,K=$t?me:ye,G=!1,J=!(!Ut||"none"===nr.css(ze))&&(0===Li.round(P.right-P.left)&&(!!T||0<sr[Ai]-Pt));if(C&&!J){var Q=sr[Oi],Z=ur.css(_e);ur.css(_e,ke);var nn=sr[Oi];ur.css(_e,Z),(G=Q!==nn)||(ur.css(_e,Q+1),nn=sr[Oi],ur.css(_e,Z),G=Q!==nn)}var tn=(J||G)&&C&&!a,rn=pi(tn,xr,r),en=!tn&&xr,on=!(!Ut||!C||a)&&0===Li.round(P.bottom-P.top),an=pi(on,_r,r),un=!on&&_r,fn="-"+_e,cn=tn&&Et||!Et,ln=on&&Et||!Et,sn={c:r,t:ln?vi(nr.css(pe+be+fn),!0):0,r:cn?vi(nr.css(pe+me+fn),!0):0,b:ln?vi(nr.css(pe+we+fn),!0):0,l:cn?vi(nr.css(pe+ye+fn),!0):0},vn={c:r,t:vi(nr.css(de+be)),r:vi(nr.css(de+me)),b:vi(nr.css(de+we)),l:vi(nr.css(de+ye))},dn={h:String(nr.css(xe+Se)),w:String(nr.css(xe+_e))},hn={},pn={},bn=function(){return{w:sr[Ai],h:sr[Ti]}},mn=function(){return{w:dr[Oi]+Li.max(0,pr[Ai]-pr[Ci]),h:dr[zi]+Li.max(0,pr[Ti]-pr[ki])}},wn=Pt=Y.l+Y.r,yn=qt=Y.t+Y.b;if(wn*=yn*=T?1:0,Y.c=mi(Y,Tr),Vt=sn.l+sn.r,Bt=sn.t+sn.b,sn.c=mi(sn,kr),Xt=vn.l+vn.r,Yt=vn.t+vn.b,vn.c=mi(vn,Or),dn.ih=vi(dn.h),dn.iw=vi(dn.w),dn.ch=-1<dn.h.indexOf("px"),dn.cw=-1<dn.w.indexOf("px"),dn.c=bi(dn,Sr,r),Ar=q,zr=B,xr=tn,_r=on,Tr=Y,kr=sn,Or=vn,Sr=dn,V&&Ut&&tr.css(ze,K),Y.c||V||k||rn||an||X||N){var gn={},xn={};si(pn,de,[-Y.t,-Y.r,-Y.b,-Y.l]),T?(si(gn,Te,[Y.t,Y.r,Y.b,Y.l]),si(jt?xn:hn,he)):(si(gn,Te),si(jt?xn:hn,he,[Y.t,Y.r,Y.b,Y.l])),er.css(gn),Zt.css(xn)}se=mn();var _n=!!jt&&ri();if(on&&(an||k||X||dn.c||Y.c||sn.c)?(hn[xe+Se]=dn.ch?dn.ih-yn+(Et?-Bt:qt):Te,hn[Se]=ke):(an||k)&&(hn[xe+Se]=Te,hn[Se]=Ae),tn&&(rn||k||X||dn.c||Y.c||sn.c||V)?(hn[xe+_e]=dn.cw?dn.iw-wn+(Et?-Vt:Pt)+(At.y?Ct.y:0):Te,hn[_e]=ke,pn[xe+_e]=Ae):(rn||k)&&(hn[xe+_e]=Te,hn[_e]=Ae,hn[ze]=Te,pn[xe+_e]=Te),tn?(dn.cw||(hn[xe+_e]=Te),pn[_e]=jt&&W?_n.F:ke,hn[_e]=ke,hn[ze]=K):pn[_e]=Te,pn[Se]=on?(dn.ch||(hn[xe+Se]=Te),jt?F?_n.U:ke:pr[Ti]):Te,C&&ur.css(pn),or.css(hn),hn={},pn={},n||t||V||X||k||rn||tn||an||on||dn.c||L||M||A||_||v||h||w||b||j||E||z||r){var Sn="overflow",zn=Sn+"-x",Tn=Sn+"-y",kn=It?At.x||At.y||se.w<ve.y||se.h<ve.x||on||u:on,On={},An=yr.y&&gr.ys&&!H?At.y?ir.css($):-Dt.y:0,Cn=yr.x&&gr.xs&&!H?At.x?ir.css(we):-Dt.x:0;si(On,Te),ir.css(On),kn&&or.css(Sn,"hidden");var Nn=di(),Hn=It&&!kn?hr:Nn,Ln={w:jt&&_n?W?_n.F:_n.W:Nn[Ai],h:jt&&_n?F?_n.U:_n.j:Nn[Ti]},Rn=Li.max(Nn[Ci],Hn[Ci]),Dn=Li.max(Nn[ki],Hn[ki]);On[we]=un?Te:Cn,On[$]=en?Te:An,ir.css(On),se=mn();var In=bn(),Mn={w:Li.max((tn?Ln.w:Rn)+wn,In.w),h:Li.max((on?Ln.h:Dn)+yn,In.h)};if(Mn.c=bi(Mn,Hr,r),Hr=Mn,C){(Mn.c||on||tn)&&(pn[_e]=Mn.w,pn[Se]=Mn.h,jt||(Ln={w:Nn[Ai],h:Nn[Ti]}));var Wn={},jn=function(n){var t=ci(n),r=t.D,e=t.P,i=n?tn:on,o=n?Vt:Bt,a=n?Pt:qt,u=n?Xt:Yt,f=pn[e]+(Et?o:-a);(!i||!i&&sn.c)&&(pn[e]=In[r]-(Et?0:a+o)-1-u),i&&dn["c"+r]&&dn["i"+r]===f&&(pn[e]=f+(Et?0:a)+1),i&&Ln[r]<se[r]&&(!n||jt&&!S)&&(jt&&(Wn[e]=vi(fr.css(e))-1),pn[e]-=1),0<Ln[r]&&(pn[e]=Li.max(1,pn[e]))};jn(!0),jn(!1),jt&&fr.css(Wn),ur.css(pn)}tn&&(hn[_e]=Ae),!tn||Et||Jr||(hn[ze]="none"),or.css(hn),hn={};var Fn={w:Li.max(Nn[Ci],Hn[Ci]),h:Li.max(Nn[ki],Hn[ki])};Fn.c=t=bi(Fn,mr,r),mr=Fn,kn&&or.css(Sn,Te),se=mn(),n=bi(In=bn(),br),br=In;var En=jt&&(0===se.w||0===se.h),Un=Rr,Pn={},qn={},Vn={},Bn={},Xn={},Yn={},$n={},Kn=dr.getBoundingClientRect(),Gn=function(n){var t=ci(n),r=ci(!n).M,e=t.M,i=t.D,o=t.P,a=Oe+t.q+"Max",u=Kn[o]?Li.abs(Kn[o]-se[i]):0;Pn[e]="v-s"===I[e],qn[e]="v-h"===I[e],Vn[e]="s"===I[e],Bn[e]=Li.max(0,Li.round(100*(Fn[i]-se[i]))/100),Bn[e]*=En||0===hr[a]&&0<u&&u<1?0:1,Xn[e]=0<Bn[e],Yn[e]=Pn[e]||qn[e]?Xn[r]&&!Pn[r]&&!qn[r]:Xn[e],Yn[e+"s"]=!!Yn[e]&&(Vn[e]||Pn[e]),$n[e]=Xn[e]&&Yn[e+"s"]};if(Gn(!0),Gn(!1),Bn.c=bi(Bn,Rr,Ce,Ne,r),Rr=Bn,Xn.c=bi(Xn,yr,Ce,Ne,r),yr=Xn,Yn.c=bi(Yn,gr,Ce,Ne,r),gr=Yn,At.x||At.y){var Jn,Qn={},Zn={},nt=r;(Xn.x||Xn.y)&&(Zn.w=At.y&&Xn.y?Fn.w+Ct.y:Te,Zn.h=At.x&&Xn.x?Fn.h+Ct.x:Te,nt=pi(Zn,wr,r),wr=Zn),(Xn.c||Yn.c||Fn.c||V||rn||an||tn||on||L)&&(hn[de+K]=hn[pe+K]=Te,(Jn=function(n){var t=ci(n),r=ci(!n),e=t.M,i=n?we:$,o=n?on:tn;At[e]&&Xn[e]&&Yn[e+"s"]?(hn[de+i]=o?H?Te:Ct[e]:Te,hn[pe+i]=n&&o||H?Te:Ct[e]+"px solid transparent"):(Zn[r.D]=hn[de+i]=hn[pe+i]=Te,nt=!0)})(!0),Jn(!1)),H&&(Zn.w=Zn.h=Te,nt=!0),nt&&(Qn[_e]=Yn.y?Zn.w:Te,Qn[Se]=Yn.x?Zn.h:Te,ar||(ar=Di(hi(Ue)),ir.prepend(ar)),ar.css(Qn)),or.css(hn)}var tt,rt={};gn={};if((n||Xn.c||Yn.c||Fn.c||M||X||L||V||A||an)&&(rt[K]=Te,(tt=function(n){var t=ci(n),r=ci(!n),e=t.M,i=t.V,o=n?we:$,a=function(){rt[o]=Te,le[r.D]=0};Xn[e]&&Yn[e+"s"]?(rt[Sn+i]=Oe,H?a():(rt[o]=-(At[e]?Ct[e]:Dt[e]),le[r.D]=At[e]?Ct[r.M]:0)):(rt[Sn+i]=Te,a())})(!0),tt(!1),(se.h<ve.x||se.w<ve.y)&&(Xn.x&&Yn.x&&!At.x||Xn.y&&Yn.y&&!At.y)?(rt[he+be]=ve.x,rt[de+be]=-ve.x,rt[he+K]=ve.y,rt[de+K]=-ve.y):rt[he+be]=rt[de+be]=rt[he+K]=rt[de+K]=Te,rt[he+$]=rt[de+$]=Te,Xn.x&&Yn.x||Xn.y&&Yn.y||En?jt&&En&&(gn[zn]=gn[Tn]="hidden"):(!O||qn.x||Pn.x||qn.y||Pn.y)&&(jt&&(gn[zn]=gn[Tn]=Te),rt[zn]=rt[Tn]="visible"),er.css(gn),ir.css(rt),rt={},(Xn.c||X||rn||an)&&(!At.x||!At.y))){var et=pr[_i];et.webkitTransform="scale(1)",et.display="run-in",pr[zi],et.display=Te,et.webkitTransform=Te}if(hn={},V||rn||an)if($t&&tn){var it=or.css(ze),ot=Li.round(or.css(ze,Te).css(ye,Te).position().left);or.css(ze,it),ot!==Li.round(or.position().left)&&(hn[ye]=ot)}else hn[ye]=Te;if(or.css(hn),jt&&t){var at=function Tt(){var n=lr.selectionStart;if(n===xi)return;var t,r,e="length",i=Zt.val(),o=i[e],a=i.split("\n"),u=a[e],f=i.substr(0,n).split("\n"),c=0,l=0,s=f[e],v=f[f[e]-1][e];for(r=0;r<a[e];r++)t=a[r][e],l<t&&(c=r+1,l=t);return{B:s,X:v,Y:u,$:l,K:c,G:n,J:o}}();if(at){var ut=jr===xi||at.Y!==jr.Y,ft=at.B,ct=at.X,lt=at.K,st=at.Y,vt=at.$,dt=at.G,ht=at.J<=dt&&Qr,pt={x:S||ct!==vt||ft!==lt?-1:Rr.x,y:(S?ht||ut&&Un!==xi&&f.y===Un.y:(ht||ut)&&ft===st)?Rr.y:-1};f.x=-1<pt.x?$t&&Vr&&Nt.i?0:pt.x:f.x,f.y=-1<pt.y?pt.y:f.y}jr=at}$t&&Nt.i&&At.y&&Xn.x&&Vr&&(f.x+=le.w||0),tn&&nr[Le](0),on&&nr[Re](0),ir[Le](f.x)[Re](f.y);var bt="v"===s,mt="h"===s,wt="a"===s,yt=Hi.bind(ii,0,!0,!0,$n.x),gt=Hi.bind(ii,0,!1,!0,$n.y),xt=Hi.bind(ii,0,!0,!1,$n.x),_t=Hi.bind(ii,0,!1,!1,$n.y);if(Yn.x||Yn.y?yi(nr,je):gi(nr,je),Yn.x?yi(nr,Fe):gi(nr,Fe),Yn.y?yi(nr,Ee):gi(nr,Ee),V&&($t?yi(nr,Ie):gi(nr,Ie)),Ft&&yi(nr,Me),_){var St=function(){cr.off(De,fe)};gi(cr,[Me,Ve,Be,Xe,Ye].join(He)),ie?(yi(nr,Me),St()):(yi(cr,Ve),oe?yi(cr,Be):ae?yi(cr,Xe):ue&&yi(cr,Ye),St(),cr.on(De,fe))}(v||M||Yn.c||Xn.c||L)&&(H?L&&(gi(nr,We),H&&(xt(),_t())):wt?($n.x?yt():xt(),$n.y?gt():_t()):bt?(yt(),gt()):mt&&(xt(),_t())),(h||L)&&(ee||re?(ni(!0),ni()):ni(!0),ne?oi(!0):oi(!1,!0)),(n||Bn.c||an||rn||_||X||k||L||V)&&(ai(!0),ui(!0),ai(!1),ui(!1)),b&&fi(!0,p),w&&fi(!1,m),V&&li("onDirectionChanged",{isRTL:$t,dir:q}),n&&li("onHostSizeChanged",{width:br.w,height:br.h}),t&&li("onContentSizeChanged",{width:mr.w,height:mr.h}),(Xn.c||Yn.c)&&li("onOverflowChanged",{x:Xn.x,y:Xn.y,xScrollable:Yn.xs,yScrollable:Yn.ys,clipped:Yn.x||Yn.y}),Bn.c&&li("onOverflowAmountChanged",{x:Bn.x,y:Bn.y})}Ft&&(yr.c||Kr.c)&&(Kr.f||ti(),At.y&&yr.x&&or.css(ge+_e,Kr.w+Ct.y),At.x&&yr.y&&or.css(ge+Se,Kr.h+Ct.x),Kr.c=!1),li("onUpdated",{forced:r})}}function Zn(n){o=wi({},o,dt.T(n,dt.S,!0)),Gt=wi({},Gt,dt.T(n,dt.S,!1,!0))}function nt(e){var n=Gt.textarea.inheritedAttrs,i={},t=function(){var r=e?Zt:nr;Di.each(i,function(n,t){ct(t)==gt&&(n==St?r.addClass(t):r.attr(n,t))})},r=[cn,dn,Me,Ie,hn,pn,bn,We,je,Fe,Ee,$e,mn,On,Br].join(He);if(ct(n=ct(n)==gt?n.split(" "):n)==yt&&Di.each(n,function(n,t){ct(t)==gt&&(i[t]=e?nr.attr(t):Zt.attr(t))}),e)or.contents().unwrap().unwrap().unwrap(),gi(nr,r),jt?(Zt.removeAttr(_i),u&&t(),gi(Zt,r),lt(fr),u?(Zt.unwrap(),lt(nr)):yi(nr,dn)):gi(Zt,cn),Ft&&gi(f,fn),lt(rr);else{if(jt){var o={},a=Zt.parent();u=!(a.hasClass(dn)&&1===a.children()[Tt]),Gt.sizeAutoCapable||(o[_e]=Zt.css(_e),o[Se]=Zt.css(Se)),u&&Zt.wrap(hi(dn)),(nr=Zt.parent()).css(o).wrapInner(hi(Sn+He+On)).wrapInner(hi(gn+He+On)).wrapInner(hi(yn+He+On)),or=st(nr,Y+Sn),ir=st(nr,Y+gn),er=st(nr,Y+yn),fr=Di(hi(wn)),or.prepend(fr),yi(Zt,mn+He+On),u&&t()}else(nr=Zt).wrapInner(hi(Sn)).wrapInner(hi(gn)).wrapInner(hi(yn)),or=st(nr,Y+Sn),ir=st(nr,Y+gn),er=st(nr,Y+yn),yi(Zt,cn);Lt&&yi(ir,At.x&&At.y?_n:xn),Ft&&yi(f,fn),rr=Di(hi("os-resize-observer-host")),nr.prepend(rr),N=rr[0],sr=nr[0],dr=er[0],hr=ir[0],pr=or[0]}}function tt(n){var r,t,e,i,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],a=[],u=n?"off":"on";!n&&jt&&(e=function(n){ri(),ce.update(ke),n&&clearInterval(r)},(F={})[Oe]=function(n){return Zt[Le](Nt.i&&Vr?9999999:0),Zt[Re](0),Hi.prvD(n),Hi.stpP(n),!1},F.drop=function(){setTimeout(function(){Wt||e()},50)},F.focus=function(){Qr=!0},F.focusout=function(){e(!(Qr=!(a=[])))},9<D||!Ht?F.input=function(){e()}:(F[tn]=function(n){var t=n.keyCode;-1<Di.inArray(t,o)||(a.length||(e(),r=setInterval(e,1e3/60)),-1===Di.inArray(t,a)&&a.push(t))},F[rn]=function(n){var t=n.keyCode,r=Di.inArray(t,a);-1<Di.inArray(t,o)||(-1<r&&a.splice(r,1),a.length||e(!0))})),jt?Di.each(F,function(n,t){Zt[u](n,t)}):or[u](on,function(n){!0!==Ir&&function s(n){if(!Mt)return!0;var t="flex-grow",r="flex-shrink",e="flex-basis",i=[_e,ge+_e,xe+_e,de+ye,de+me,ye,me,"font-weight","word-spacing",t,r,e],o=[he+ye,he+me,pe+ye+_e,pe+me+_e],a=[Se,ge+Se,xe+Se,de+be,de+we,be,we,"line-height",t,r,e],u=[he+be,he+we,pe+be+_e,pe+we+_e],f="s"===Lr.x||"v-s"===Lr.x,c=!1,l=function(n,t){for(var r=0;r<n[Tt];r++)if(n[r]===t)return!0;return!1};return("s"===Lr.y||"v-s"===Lr.y)&&((c=l(a,n))||Et||(c=l(u,n))),f&&!c&&((c=l(i,n))||Et||(c=l(o,n))),c}((n=n.originalEvent||n).propertyName)&&ei(ke)}),n||(i=function(n){Kt||(t!==xi?clearTimeout(t):((te||re)&&oi(!0),ut()||yi(nr,We),li("onScrollStart",n)),q||(ui(!0),ui(!1)),li("onScroll",n),t=setTimeout(function(){Wt||(clearTimeout(t),t=xi,(te||re)&&oi(!1),ut()||gi(nr,We),li("onScrollStop",n))},175))},h?Pn(ir,Oe,i):ir.on(Oe,i))}function rt(n){n?(lt(c),lt(d)):(c=Di(hi(An+He+Mn)),s=Di(hi(Cn)),v=Di(hi(Hn)),d=Di(hi(An+He+Wn)),b=Di(hi(Cn)),m=Di(hi(Hn)),c.append(s),s.append(v),d.append(b),b.append(m),er.after(d),er.after(c))}function et(_){var S,i,z,T,r=ci(_),k=r.Z,t=w.top!==w,O=r.M,e=r.V,A=Oe+r.q,o="active",a="snapHandle",C=1,u=[16,17];function f(n){return D&&t?n["screen"+e]:Hi.page(n)[O]}function c(n){return Gt.scrollbars[n]}function l(){C=.5}function s(){C=1}function v(n){-1<Di.inArray(n.keyCode,u)&&l()}function N(n){-1<Di.inArray(n.keyCode,u)&&s()}function H(n){var t=(n.originalEvent||n).touches!==xi;return!(Kt||Wt||ut()||!Pr||t&&!c("touchSupport"))&&(1===Hi.mBtn(n)||t)}function d(n){if(H(n)){var t=k.L,r=k.N,e=k.A*((f(n)-z)*T/(t-r));e=isFinite(e)?e:0,$t&&_&&!Nt.i&&(e*=-1),ir[A](Li.round(i+e)),q&&ui(_,i+e),h||Hi.prvD(n)}else L(n)}function L(n){if(n=n||n.originalEvent,M.off(Q,d).off(J,L).off(tn,v).off(rn,N).off(en,Gn),q&&ui(_,!0),q=!1,gi(W,jn),gi(r.nn,o),gi(r.tn,o),gi(r.rn,o),z=i=xi,T=1,s(),S!==xi&&(ce.scrollStop(),clearTimeout(S),S=xi),n){var t=sr.getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||$n(),(te||re)&&oi(!1)}}function R(n){i=ir[A](),i=isNaN(i)?0:i,($t&&_&&!Nt.n||!$t)&&(i=i<0?0:i),T=ot()[O],z=f(n),q=!c(a),yi(W,jn),yi(r.nn,o),yi(r.rn,o),M.on(Q,d).on(J,L).on(en,Gn),!D&&p||Hi.prvD(n),Hi.stpP(n)}r.nn.on(De,function(n){H(n)&&R(n)}),r.tn.on(De,function(n){if(H(n)){var d,h=Li.round(se[r.D]),p=r.tn.offset()[r.I],t=n.ctrlKey,b=n.shiftKey,m=b&&t,w=!0,y=function(n){q&&ui(_,n)},g=function(){y(),R(n)},x=function(){if(!Wt){var n=(z-p)*T,t=k.C,r=k.L,e=k.N,i=k.A,o=k.k,a=270*C,u=w?Li.max(400,a):a,f=i*((n-e/2)/(r-e)),c=$t&&_&&(!Nt.i&&!Nt.n||Vr),l=c?t<n:n<t,s={},v={easing:"linear",step:function(n){q&&(ir[A](n),ui(_,n))}};f=isFinite(f)?f:0,f=$t&&_&&!Nt.i?i-f:f,b?(ir[A](f),m?(f=ir[A](),ir[A](o),f=c&&Nt.i?i-f:f,f=c&&Nt.n?-f:f,s[O]=f,ce.scroll(s,wi(v,{duration:130,complete:g}))):g()):(d=w?l:d,(c?d?n<=t+e:t<=n:d?t<=n:n<=t+e)?(clearTimeout(S),ce.scrollStop(),S=xi,y(!0)):(S=setTimeout(x,u),s[O]=(d?"-=":"+=")+h,ce.scroll(s,wi(v,{duration:a}))),w=!1)}};t&&l(),T=ot()[O],z=Hi.page(n)[O],q=!c(a),yi(W,jn),yi(r.tn,o),yi(r.rn,o),M.on(J,L).on(tn,v).on(rn,N).on(en,Gn),x(),Hi.prvD(n),Hi.stpP(n)}}).on(Z,function(){P=!0,(te||re)&&oi(!0)}).on(nn,function(){P=!1,(te||re)&&oi(!1)}),r.rn.on(De,function(n){Hi.stpP(n)}),I&&r.rn.on(on,function(n){n.target===r.rn[0]&&(ai(_),ui(_))})}function ii(n,t,r){var e=n?hn:pn,i=n?c:d;t?gi(nr,e):yi(nr,e),r?gi(i,Rn):yi(i,Rn)}function oi(n,t){if(clearTimeout(E),n)gi(c,Dn),gi(d,Dn);else{var r,e=function(){P||Wt||(!(r=v.hasClass("active")||m.hasClass("active"))&&(te||re||ee)&&yi(c,Dn),!r&&(te||re||ee)&&yi(d,Dn))};0<Zr&&!0!==t?E=setTimeout(e,Zr):e()}}function ai(n){var t={},r=ci(n),e=r.Z,i=Li.min(1,(br[r.D]-(Cr?n?Pt:qt:0))/mr[r.D]);t[r.P]=Li.floor(100*i*1e6)/1e6+"%",ut()||r.nn.css(t),e.N=r.nn[0]["offset"+r.en],e.H=i}function ui(n,t){var r,e,i=ct(t)==xt,o=$t&&n,a=ci(n),u=a.Z,f="translate(",c=Ni.p("transform"),l=Ni.p("transition"),s=n?ir[Le]():ir[Re](),v=t===xi||i?s:t,d=u.N,h=a.tn[0]["offset"+a.en],p=h-d,b={},m=(hr[Oe+a.en]-hr["client"+a.en])*(Nt.n&&o?-1:1),w=function(n){return isNaN(n/m)?0:Li.max(0,Li.min(1,n/m))},y=function(n){var t=p*n;return t=isNaN(t)?0:t,t=o&&!Nt.i?h-d-t:t,t=Li.max(0,t)},g=w(s),x=y(w(v)),_=y(g);u.A=m,u.k=s,u.O=g,ln?(r=o?-(h-d-x):x,e=n?f+r+"px, 0)":f+"0, "+r+"px)",b[c]=e,I&&(b[l]=i&&1<Li.abs(x-u.C)?function S(n){var t=Ni.p("transition"),r=n.css(t);if(r)return r;for(var e,i,o,a="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",u=new RegExp(a),f=new RegExp("^("+a+")+$"),c="property duration timing-function delay".split(" "),l=[],s=0,v=function(n){if(e=[],!n.match(f))return n;for(;n.match(u);)e.push(RegExp.$1),n=n.replace(u,Te);return e};s<c[Tt];s++)for(i=v(n.css(t+"-"+c[s])),o=0;o<i[Tt];o++)l[o]=(l[o]?l[o]+He:Te)+i[o];return l.join(", ")}(a.nn)+", "+(c+He+250)+"ms":Te)):b[a.I]=x,ut()||(a.nn.css(b),ln&&I&&i&&a.nn.one(on,function(){Wt||a.nn.css(l,Te)})),u.C=x,u.R=_,u.L=h}function fi(n,t){var r=t?"removeClass":"addClass",e=n?b:m,i=n?Nn:Ln;(n?s:v)[r](i),e[r](i)}function ci(n){return{P:n?_e:Se,en:n?"Width":"Height",I:n?ye:be,q:n?"Left":"Top",M:n?Ce:Ne,V:n?"X":"Y",D:n?"w":"h","in":n?"l":"t",tn:n?s:b,nn:n?v:m,rn:n?c:d,Z:n?sn:vn}}function it(n){n?lt(cr):(cr=Di(hi(In)),nr.append(cr))}function li(n,t){if(Mt){var r,e=Gt.callbacks[n],i=n;"on"===i.substr(0,2)&&(i=i.substr(2,1).toLowerCase()+i.substr(3)),ct(e)==wt&&e.call(ce,t),Di.each(En,function(){ct((r=this).on)==wt&&r.on(i,t)})}else Wt||Fn.push({n:n,a:t})}function si(n,t,r){r===xi&&(r=[Te,Te,Te,Te]),n[t+be]=r[0],n[t+me]=r[1],n[t+we]=r[2],n[t+ye]=r[3]}function ot(){var n=dr.getBoundingClientRect();return{x:ln?1/(Li.round(n.width)/dr[Oi]):1,y:ln?1/(Li.round(n.height)/dr[zi]):1}}function at(n){var t="ownerDocument",r="HTMLElement",e=n&&n[t]&&n[t].parentWindow||ht;return typeof e[r]==mt?n instanceof e[r]:n&&typeof n==mt&&null!==n&&1===n.nodeType&&typeof n.nodeName==gt}function vi(n,t){var r=t?parseFloat(n):parseInt(n,10);return isNaN(r)?0:r}function ut(){return Dr&&At.x&&At.y}function di(){return jt?fr[0]:pr}function hi(r,n){return"<div "+(r?ct(r)==gt?'class="'+r+'"':function(){var n,t="";if(Di.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():Te)+">"+(n||Te)+"</div>"}function ft(n,t){for(var r,e=t.split(Y),i=0;i<e.length;i++){if(!n.hasOwnProperty(e[i]))return;r=n[e[i]],i<e.length&&ct(r)==mt&&(n=r)}return r}function pi(n,t,r){return!0===r?r:t===xi||n!==t}function bi(n,t,r,e,i){if(!0===i)return i;if(e===xi&&i===xi){if(!0===r)return r;r=xi}return r=r===xi?"w":r,e=e===xi?"h":e,t===xi||(n[r]!==t[r]||n[e]!==t[e])}function mi(n,t){return t===xi||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function ct(n){return Hi.type(n)}function wi(){return Di.extend.apply(this,[!0].concat([].slice.call(arguments)))}function yi(n,t){return B.addClass.call(n,t)}function gi(n,t){return B.removeClass.call(n,t)}function lt(n){return B.remove.call(n)}function st(n,t){return B.find.call(n,t).eq(0)}}return ht[bt]=function(n,r,e){if(0===arguments[Tt])return this;var i,t,o=[],a=Di.isPlainObject(r);return n?(n=n[Tt]!=xi?n:[n[0]||n],l(),0<n[Tt]&&(a?Di.each(n,function(n,t){(i=t)!==xi&&o.push(v(i,r,e,u,f))}):Di.each(n,function(n,t){i=Ii(t),"!"===r&&i instanceof ht[bt]||Hi.type(r)==wt&&r(t,i)?o.push(i):r===xi&&o.push(i)}),t=1===o[Tt]?o[0]:o),t):a||!r?t:o},ht[bt].globals=function(){l();var n=Di.extend(!0,{},u);return delete n.msie,n},ht[bt].defaultOptions=function(n){l();var t=u.defaultOptions;if(n===xi)return Di.extend(!0,{},t);u.defaultOptions=Di.extend(!0,{},t,dt.T(n,dt.S,!0))},ht[bt].extension=function(n,t,r){var e=Hi.type(n)==gt,i=arguments[Tt],o=0;if(i<1||!e)return Di.extend(!0,{length:c[Tt]},c);if(e)if(Hi.type(t)==wt)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[Tt];o++)if(c[o].name===n){if(!(1<i))return Di.extend(!0,{},c[o]);c.splice(o,1)}},ht[bt]}();return Ri&&Ri.fn&&(Ri.fn.overlayScrollbars=function(n,t){return Ri.isPlainObject(n)?(Ri.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.7.0 | ||
* Version: 1.7.1 | ||
* | ||
@@ -12,4 +12,4 @@ * Copyright KingSora. | ||
* Released under the MIT license. | ||
* Date: 18.04.2019 | ||
* Date: 22.05.2019 | ||
*/ | ||
!function(n,t){"function"==typeof define&&define.amd?define(function(){return t(n,n.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(n,n.document,undefined):t(n,n.document,undefined)}("undefined"!=typeof window?window:this,function(pt,bt,xe){"use strict";var a,e,o,mt="OverlayScrollbars",wt="object",gt="function",yt="array",xt="string",Ot="boolean",St="number",p="undefined",h="null",_t="class",Oe="style",zt="id",Se="length",_e="prototype",ze="offsetHeight",Te="clientHeight",Ie="scrollHeight",ke="offsetWidth",Ce="clientWidth",Ae="scrollWidth",He={u:{},v:{},m:["-webkit-","-moz-","-o-","-ms-"],g:["WebKit","Moz","O","MS"],O:function(n){var t=this.v;if(t[n])return t[n];for(var r,i,e=this.m,o=this.S(n),u=bt.createElement("div")[Oe],f=0,a=0;f<e.length;f++)for(i=e[f].replace(/-/g,""),r=[n,e[f]+n,i+o,this.S(i)+o],a=0;a<r[Se];a++)if(u[r[a]]!==xe)return t[n]=r[a],r[a];return null},_:function(n,t,r){var i=this.g,e=this.u,o=0,u=e[n];if(!u){for(u=pt[n];o<i[Se];o++)u=u||pt[(t?i[o]:i[o].toLowerCase())+this.S(n)];e[n]=u}return u||r},S:function(n){return n.charAt(0).toUpperCase()+n.slice(1)}},Ne={wW:function(){return pt.innerWidth||bt.documentElement[Ce]||bt.body[Ce]},wH:function(){return pt.innerHeight||bt.documentElement[Te]||bt.body[Te]},mO:function(){return He._("MutationObserver",!0)},rO:function(){return He._("ResizeObserver",!0)},rAF:function(){return He._("requestAnimationFrame",!1,function(n){return pt.setTimeout(n,1e3/60)})},cAF:function(){return He._("cancelAnimationFrame",!1,function(n){return pt.clearTimeout(n)})},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",i="X",e=((n=n.originalEvent||n).target||n.srcElement||bt).ownerDocument||bt,o=e.documentElement,u=e.body;if(n.touches===xe)return!n[t+i]&&n[r+i]&&null!=n[r+i]?{x:n[r+i]+(o&&o.scrollLeft||u&&u.scrollLeft||0)-(o&&o.clientLeft||u&&u.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||u&&u.scrollTop||0)-(o&&o.clientTop||u&&u.clientTop||0)}:{x:n[t+i],y:n.pageY};var f=n.touches[0];return{x:f[t+i],y:f.pageY}},mBtn:function(n){var t=n.button;return n.which||t===xe?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[Se];r++)try{if(t[r]===n)return r}catch(i){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==yt},type:function(n){return n===xe?n+"":null===n?n+"":Object[_e].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=gt)throw"Can't bind function!";var r=_e,i=Array[r].slice.call(arguments,2),e=function(){},o=function(){return n.apply(this instanceof e?this:t,i.concat(Array[r].slice.call(arguments)))};return n[r]&&(e[r]=n[r]),o[r]=new e,o}},Ee=Math,Le=pt.jQuery,M=(a={p:Ee.PI,c:Ee.cos,s:Ee.sin,w:Ee.pow,t:Ee.sqrt,n:Ee.asin,a:Ee.abs,o:1.70158},{swing:function(n,t,r,i,e){return.5-a.c(n*a.p)/2},linear:function(n,t,r,i,e){return n},easeInQuad:function(n,t,r,i,e){return i*(t/=e)*t+r},easeOutQuad:function(n,t,r,i,e){return-i*(t/=e)*(t-2)+r},easeInOutQuad:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t+r:-i/2*(--t*(t-2)-1)+r},easeInCubic:function(n,t,r,i,e){return i*(t/=e)*t*t+r},easeOutCubic:function(n,t,r,i,e){return i*((t=t/e-1)*t*t+1)+r},easeInOutCubic:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t+r:i/2*((t-=2)*t*t+2)+r},easeInQuart:function(n,t,r,i,e){return i*(t/=e)*t*t*t+r},easeOutQuart:function(n,t,r,i,e){return-i*((t=t/e-1)*t*t*t-1)+r},easeInOutQuart:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t+r:-i/2*((t-=2)*t*t*t-2)+r},easeInQuint:function(n,t,r,i,e){return i*(t/=e)*t*t*t*t+r},easeOutQuint:function(n,t,r,i,e){return i*((t=t/e-1)*t*t*t*t+1)+r},easeInOutQuint:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t*t+r:i/2*((t-=2)*t*t*t*t+2)+r},easeInSine:function(n,t,r,i,e){return-i*a.c(t/e*(a.p/2))+i+r},easeOutSine:function(n,t,r,i,e){return i*a.s(t/e*(a.p/2))+r},easeInOutSine:function(n,t,r,i,e){return-i/2*(a.c(a.p*t/e)-1)+r},easeInExpo:function(n,t,r,i,e){return 0==t?r:i*a.w(2,10*(t/e-1))+r},easeOutExpo:function(n,t,r,i,e){return t==e?r+i:i*(1-a.w(2,-10*t/e))+r},easeInOutExpo:function(n,t,r,i,e){return 0==t?r:t==e?r+i:(t/=e/2)<1?i/2*a.w(2,10*(t-1))+r:i/2*(2-a.w(2,-10*--t))+r},easeInCirc:function(n,t,r,i,e){return-i*(a.t(1-(t/=e)*t)-1)+r},easeOutCirc:function(n,t,r,i,e){return i*a.t(1-(t=t/e-1)*t)+r},easeInOutCirc:function(n,t,r,i,e){return(t/=e/2)<1?-i/2*(a.t(1-t*t)-1)+r:i/2*(a.t(1-(t-=2)*t)+1)+r},easeInElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),-f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)+r)},easeOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),f*a.w(2,-10*t)*a.s((t*e-o)*(2*a.p)/u)+i+r)},easeInOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:2==(t/=e/2)?r+i:(u||(u=e*(.3*1.5)),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),t<1?f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*-.5+r:f*a.w(2,-10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*.5+i+r)},easeInBack:function(n,t,r,i,e,o){return i*(t/=e)*t*(((o=o||a.o)+1)*t-o)+r},easeOutBack:function(n,t,r,i,e,o){return i*((t=t/e-1)*t*(((o=o||a.o)+1)*t+o)+1)+r},easeInOutBack:function(n,t,r,i,e,o){return o=o||a.o,(t/=e/2)<1?i/2*(t*t*((1+(o*=1.525))*t-o))+r:i/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+r},easeInBounce:function(n,t,r,i,e){return i-this.easeOutBounce(n,e-t,0,i,e)+r},easeOutBounce:function(n,t,r,i,e){var o=7.5625;return(t/=e)<1/2.75?i*(o*t*t)+r:t<2/2.75?i*(o*(t-=1.5/2.75)*t+.75)+r:t<2.5/2.75?i*(o*(t-=2.25/2.75)*t+.9375)+r:i*(o*(t-=2.625/2.75)*t+.984375)+r},easeInOutBounce:function(n,t,r,i,e){return t<e/2?.5*this.easeInBounce(n,2*t,0,i,e)+r:.5*this.easeOutBounce(n,2*t-e,0,i,e)+.5*i+r}}),Re=function(){var l=/[^\x20\t\r\n\f]+/g,v=" ",I="scrollLeft",k="scrollTop",C=[],s=Ne.type,o={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},h=function(){var n,t,r,i,e,o,u=arguments[0]||{},f=1,a=arguments[Se],c=!1;for(s(u)==Ot&&(c=u,u=arguments[1]||{},f=2),s(u)!=wt&&!s(u)==gt&&(u={}),a===f&&(u=L,--f);f<a;f++)if(null!=(e=arguments[f]))for(i in e)n=u[i],u!==(r=e[i])&&(c&&r&&(E(r)||(t=Ne.isA(r)))?(o=t?(t=!1,n&&Ne.isA(n)?n:[]):n&&E(n)?n:{},u[i]=h(c,o,r)):r!==xe&&(u[i]=r));return u},A=function(n,t,r){for(var i=r||0;i<t[Se];i++)if(t[i]===n)return i;return-1},H=function(n){return s(n)==gt},N=function(n){for(var t in n)return!1;return!0},E=function(n){if(!n||s(n)!=wt)return!1;var t,r=_e,i=Object[r].hasOwnProperty,e=i.call(n,"constructor"),o=n.constructor&&n.constructor[r]&&i.call(n.constructor[r],"isPrototypeOf");if(n.constructor&&!e&&!o)return!1;for(t in n);return s(t)==p||i.call(n,t)},t=function(n,t){var r=0;if(u(n))for(;r<n[Se]&&!1!==t.call(n[r],r,n[r]);r++);else for(r in n)if(!1===t.call(n[r],r,n[r]))break;return n},L=function(n){if(0===arguments[Se])return this;var t,r,i=new L,e=n,o=0;if(s(n)==xt)for(e=[],t="<"===n.charAt(0)?((r=bt.createElement("div")).innerHTML=n,r.children):bt.querySelectorAll(n);o<t[Se];o++)e.push(t[o]);if(e){for(s(e)==xt||u(e)&&e!==pt&&e!==e.self||(e=[e]),o=0;o<e[Se];o++)i[o]=e[o];i[Se]=e[Se]}return i};function u(n){var t=!!n&&[Se]in n&&n[Se],r=s(n);return!H(r)&&(r==yt||0===t||s(t)==St&&0<t&&t-1 in n)}function d(n){return(n.match(l)||[]).join(v)}function f(n,t){for(var r=(n.parentNode||bt).querySelectorAll(t)||[],i=r[Se];i--;)if(r[i]==n)return!0;return!1}function e(n,t,r){if(s(r)==yt)for(var i=0;i<r[Se];i++)e(n,t,r[i]);else s(r)==xt?n.insertAdjacentHTML(t,r):n.insertAdjacentElement(t,r.nodeType?r:r[0])}function a(n,t,r){try{n[Oe][t]!==xe&&(n[Oe][t]=function i(n,t){o[n.toLowerCase()]||s(t)!=St||(t+="px");return t}(t,r))}catch(e){}}function R(n,t){var r,i;!1!==t&&n.q.splice(0,1),0<n.q[Se]?(i=n.q[0],c(n.el,i.props,i.duration,i.easing,i.complete,!0)):-1<(r=A(n,C))&&C.splice(r,1)}function D(n,t,r){t===I||t===k?n[t]=r:a(n,t,r)}function c(n,t,r,i,e,o){var u,f,a,c,s,l,v=E(r),h={},d={},p=0;for(l=v?(i=r.easing,r.start,a=r.progress,c=r.step,s=r.specialEasing,e=r.complete,r.duration):r,s=s||{},l=l||400,i=i||"swing",o=o||!1;p<C[Se];p++)if(C[p].el===n){f=C[p];break}for(u in f||(f={el:n,q:[]},C.push(f)),t)h[u]=u===I||u===k?n[u]:L(n).css(u);for(u in h)h[u]!==t[u]&&t[u]!==xe&&(d[u]=t[u]);if(N(d))o&&R(f);else{var b,m,w,g,y,x,O,S,_,z=o?0:A(T,f.q),T={props:d,duration:v?r:l,easing:i,complete:e};if(-1===z&&(z=f.q[Se],f.q.push(T)),0===z)if(0<l)O=Ne.now(),S=function(){for(u in b=Ne.now(),_=b-O,m=T.stop||l<=_,w=1-(Ee.max(0,O+l-b)/l||0),d)g=parseFloat(h[u]),y=parseFloat(d[u]),x=(y-g)*M[s[u]||i](w,w*l,0,1,l)+g,D(n,u,x),H(c)&&c(x,{elem:n,prop:u,start:g,now:x,end:y,pos:w,options:{easing:i,speacialEasing:s,duration:l,complete:e,step:c},startTime:O});H(a)&&a({},w,Ee.max(0,l-_)),m?(R(f),H(e)&&e()):T.frame=Ne.rAF()(S)},T.frame=Ne.rAF()(S);else{for(u in d)D(n,u,d[u]);R(f)}}}return L[_e]={on:function(t,r){var i,e=(t=(t||"").match(l)||[""])[Se],o=0;return this.each(function(){i=this;try{if(i.addEventListener)for(;o<e;o++)i.addEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.attachEvent("on"+t[o],r)}catch(n){}})},off:function(t,r){var i,e=(t=(t||"").match(l)||[""])[Se],o=0;return this.each(function(){i=this;try{if(i.removeEventListener)for(;o<e;o++)i.removeEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.detachEvent("on"+t[o],r)}catch(n){}})},one:function(n,e){return n=(n||"").match(l)||[""],this.each(function(){var i=L(this);L.each(n,function(n,t){var r=function(n){e.call(this,n),i.off(t,r)};i.on(t,r)})})},trigger:function(n){var t,r;return this.each(function(){t=this,bt.createEvent?((r=bt.createEvent("HTMLEvents")).initEvent(n,!0,!1),t.dispatchEvent(r)):t.fireEvent("on"+n)})},append:function(n){return this.each(function(){e(this,"beforeend",n)})},prepend:function(n){return this.each(function(){e(this,"afterbegin",n)})},before:function(n){return this.each(function(){e(this,"beforebegin",n)})},after:function(n){return this.each(function(){e(this,"afterend",n)})},remove:function(){return this.each(function(){var n=this.parentNode;null!=n&&n.removeChild(this)})},unwrap:function(){var n,t,r,i=[];for(this.each(function(){r=this.parentNode,-1===A(r,i)&&i.push(r)}),n=0;n<i[Se];n++){for(t=i[n],r=t.parentNode;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}return this},wrapAll:function(n){for(var t,r=this,i=L(n)[0],e=i,o=r[0].parentNode,u=r[0].previousSibling;0<e.childNodes[Se];)e=e.childNodes[0];for(t=0;r[Se]-t;e.firstChild===r[0]&&t++)e.appendChild(r[t]);var f=u?u.nextSibling:o.firstChild;return o.insertBefore(i,f),this},wrapInner:function(r){return this.each(function(){var n=L(this),t=n.contents();t[Se]?t.wrapAll(r):n.append(r)})},wrap:function(n){return this.each(function(){L(this).wrapAll(n)})},css:function(n,t){var r,i,e,o=pt.getComputedStyle;return s(n)==xt?t===xe?(r=this[0],e=o?o(r,null):r.currentStyle[n],o?null!=e?e.getPropertyValue(n):r[Oe][n]:e):this.each(function(){a(this,n,t)}):this.each(function(){for(i in n)a(this,i,n[i])})},hasClass:function(n){for(var t,r,i=0,e=v+n+v;t=this[i++];){if((r=t.classList)&&r.contains(n))return!0;if(1===t.nodeType&&-1<(v+d(t.className+"")+v).indexOf(e))return!0}return!1},addClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===xe&&(f=a!==xe),f)for(;o=t[s++];)a.add(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)i.indexOf(v+o+v)<0&&(i+=o+v);e!==(u=d(i))&&(r.className=u)}return this},removeClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===xe&&(f=a!==xe),f)for(;o=t[s++];)a.remove(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)for(;-1<i.indexOf(v+o+v);)i=i.replace(v+o+v,v);e!==(u=d(i))&&(r.className=u)}return this},hide:function(){return this.each(function(){this[Oe].display="none"})},show:function(){return this.each(function(){this[Oe].display="block"})},attr:function(n,t){for(var r,i=0;r=this[i++];){if(t===xe)return r.getAttribute(n);r.setAttribute(n,t)}return this},removeAttr:function(n){return this.each(function(){this.removeAttribute(n)})},offset:function(){var n=this[0].getBoundingClientRect(),t=pt.pageXOffset||bt.documentElement[I],r=pt.pageYOffset||bt.documentElement[k];return{top:n.top+r,left:n.left+t}},position:function(){var n=this[0];return{top:n.offsetTop,left:n.offsetLeft}},scrollLeft:function(n){for(var t,r=0;t=this[r++];){if(n===xe)return t[I];t[I]=n}return this},scrollTop:function(n){for(var t,r=0;t=this[r++];){if(n===xe)return t[k];t[k]=n}return this},val:function(n){var t=this[0];return n?(t.value=n,this):t.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){return L(this[0<=n?n:this[Se]+n])},find:function(t){var r,i=[];return this.each(function(){var n=this.querySelectorAll(t);for(r=0;r<n[Se];r++)i.push(n[r])}),L(i)},children:function(n){var t,r,i,e=[];return this.each(function(){for(r=this.children,i=0;i<r[Se];i++)t=r[i],n?(t.matches&&t.matches(n)||f(t,n))&&e.push(t):e.push(t)}),L(e)},parent:function(n){var t,r=[];return this.each(function(){t=this.parentNode,n&&!L(t).is(n)||r.push(t)}),L(r)},is:function(n){var t,r;for(r=0;r<this[Se];r++){if(t=this[r],":visible"===n)return!!(t[ke]||t[ze]||t.getClientRects()[Se]);if(":hidden"===n)return!(t[ke]||t[ze]||t.getClientRects()[Se]);if(t.matches&&t.matches(n)||f(t,n))return!0}return!1},contents:function(){var n,t,r=[];return this.each(function(){for(n=this.childNodes,t=0;t<n[Se];t++)r.push(n[t])}),L(r)},each:function(n){return t(this,n)},animate:function(n,t,r,i){return this.each(function(){c(this,n,t,r,i)})},stop:function(n,t){return this.each(function(){!function f(n,t,r){for(var i,e,o,u=0;u<C[Se];u++)if((i=C[u]).el===n){if(0<i.q[Se]){if((e=i.q[0]).stop=!0,Ne.cAF()(e.frame),i.q.splice(0,1),r)for(o in e.props)D(n,o,e.props[o]);t?i.q=[]:R(i,!1)}break}}(this,n,t)})}},h(L,{extend:h,inArray:A,isEmptyObject:N,isPlainObject:E,each:t}),L}(),De=(e=[],o="__overlayScrollbars__",function(n,t){var r=arguments[Se];if(r<1)return e;if(t)n[o]=t,e.push(n);else{var i=Ne.inA(n,e);if(-1<i){if(!(1<r))return e[i][o];delete n[o],e.splice(i,1)}}}),r=function(){var f,a,I,n,t,r,i,u,e,c=[],dt=(u={className:["os-theme-dark",[h,xt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,Ot],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(I=[Ot,St,xt,yt,wt,gt,h]),Ot],autoUpdate:[null,[h,Ot]],autoUpdateInterval:[33,St],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",i="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",i]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,St],dragScrolling:n,clickScrolling:t,touchSupport:n,snapHandle:t},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[xt,yt,h]]},callbacks:{onInitialized:r=[null,[h,gt]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{T:(e=function(e){var o=function(n){var t,r,i;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(i=Ne.type(r))==yt?n[t]=r[e?1:0]:i==wt&&(n[t]=o(r)));return n};return o(Re.extend(!0,{},u))})(),I:e(!0),k:function(n,t,_,z,r){var i={},e=Re.extend(!0,{},n),T=function(n,t,r,i){for(var e in t)if(t.hasOwnProperty(e)&&n.hasOwnProperty(e)){var o,u,f,a,c,s,l,v,h=!1,d=t[e],p=Ne.type(d),b=p==wt,m=Ne.type(d)!=yt?[d]:d,w=n[e],g=Ne.type(w),y=i?i+".":"",x='The option "'+y+e+"\" wasn't set, because",O=[],S=[];if(b&&g==wt)r[e]={},T(w,d,r[e],y+e),Re.isEmptyObject(w)&&delete n[e];else if(!b){for(s=0;s<m.length;s++)if(c=m[s],f=(p=Ne.type(c))==xt&&-1===Re.inArray(c,I))for(O.push(xt),o=c.split(" "),S=S.concat(o),l=0;l<o.length;l++){for(a=(u=o[l].split(":"))[0],v=0;v<u.length;v++)if(w===u[v]){h=!0;break}if(h)break}else if(O.push(c),g===c){h=!0;break}h?r[e]=f&&z?a:w:_&&console.warn(x+" it doesn't accept the type [ "+g.toUpperCase()+' ] with the value of "'+w+'".\r\nAccepted types are: [ '+O.join(", ").toUpperCase()+" ]."+(0<S.length?"\r\nValid strings are: [ "+S.join(", ").split(":").join(", ")+" ].":"")),delete n[e]}}};return T(e,t,i),r?Re.extend(!0,i,e):!Re.isEmptyObject(e)&&_&&console.warn("The following options are discarded due to invalidity:\r\n"+pt.JSON.stringify(e,null,2)),i}});function s(){f||(f=new o(dt.T)),a||(a=new l(f))}function o(n){var O=this,e="overflow",o="hidden",S=Re("body"),_=Re('<div id="os-dummy-scrollbar-size"><div></div></div>'),u=_[0],i=Re(_.children("div").eq(0));S.append(_),_.hide().show();var t,r,f,a,c,s,l,v,h,d=z(u),p={x:0===d.x,y:0===d.y};function z(n){return{x:n[ze]-n[Te],y:n[ke]-n[Ce]}}Re.extend(O,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!Ne.mO(),nativeScrollbarSize:d,nativeScrollbarIsOverlaid:p,nativeScrollbarStyling:(_.addClass("os-viewport-native-scrollbars-invisible"),_.css(e,o).hide().css(e,"scroll").show(),u[ze]-u[Te]==0&&u[ke]-u[Ce]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=pt.navigator.userAgent,f="indexOf",a="substring",c=r[f]("MSIE "),s=r[f]("Trident/"),l=r[f]("Edge/"),v=r[f]("rv:"),h=parseInt,0<c?t=h(r[a](c+5,r[f](".",c)),10):0<s?t=h(r[a](v+3,r[f](".",v)),10):0<l&&(t=h(r[a](l+5,r[f](".",l)),10)),t),cssCalc:function(){for(var n,t=bt.createElement("div")[Oe],r=-1;r<He.m[Se];r++)if(n=r<0?"calc":He.m[r]+"calc",t.cssText="width:"+n+"(1px);",t[Se])return n;return null}(),restrictedMeasuring:function(){_.css(e,o);var n=u[Ae],t=u[Ie];_.css(e,"visible");var r=u[Ae],i=u[Ie];return n-r!=0||t-i!=0}(),rtlScrollBehavior:function(){_.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=_.offset(),t=i.offset();_.scrollLeft(999);var r=i.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:null!==He.O("transform"),supportTransition:null!==He.O("transition"),supportPassiveEvents:function(){var n=!1;try{pt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!Ne.rO(),supportMutationObserver:!!Ne.mO()}),_.removeAttr(Oe).remove(),function(){if(!p.x||!p.y){var m=Ee.abs,w=Ne.wW(),g=Ne.wH(),y=x();Re(pt).on("resize",function(){if(0<De().length){var n=Ne.wW(),t=Ne.wH(),r=n-w,i=t-g;if(0===r&&0===i)return;var e,o=Ee.round(n/(w/100)),u=Ee.round(t/(g/100)),f=m(r),a=m(i),c=m(o),s=m(u),l=x(),v=2<f&&2<a,h=!function b(n,t){var r=m(n),i=m(t);return!(r===i||r+1===i||r-1===i)}(c,s),d=v&&h&&l!==y&&0<y,p=O.nativeScrollbarSize;d&&(S.append(_),e=O.nativeScrollbarSize=z(_[0]),_.remove(),p.x===e.x&&p.y===e.y||Re.each(De(),function(){De(this)&&De(this).update("zoom")})),w=n,g=t,y=l}})}function x(){var n=pt.screen.deviceXDPI||0,t=pt.screen.logicalXDPI||1;return pt.devicePixelRatio||n/t}}()}function l(r){var c,s="autoUpdate",l=Se,v=[],h=[],d=!1,p=33,b=Ne.now(),m=function(){if(0<v[l]&&d){c=Ne.rAF()(function(){m()});var n,t,r,i,e,o,u=Ne.now(),f=u-b;if(p<f){b=u-f%p,n=33;for(var a=0;a<v[l];a++)(t=v[a])!==xe&&(i=(r=t.options())[s],e=Ee.max(1,r.autoUpdateInterval),o=Ne.now(),(!0===i||null===i)&&o-h[a]>e&&(t.update("auto"),h[a]=new Date(o+=e)),n=Ee.max(1,Ee.min(n,e)));p=n}}else p=33};this.add=function(n){-1===Re.inArray(n,v)&&(v.push(n),h.push(Ne.now()),0<v[l]&&!d&&(d=!0,r.autoUpdateLoop=d,m()))},this.remove=function(n){var t=Re.inArray(n,v);-1<t&&(h.splice(t,1),v.splice(t,1),0===v[l]&&d&&(d=!1,r.autoUpdateLoop=d,c!==xe&&(Ne.cAF()(c),c=-1)))}}function v(i,n,t,Tt,It){if(ft(i)){if(De(i)){var r=De(i);return r.options(n),r}var kt,Ct,At,Ht,L,Nt,Et,Lt,R,ln,d,k,s,Rt,Dt,Mt,Wt,jt,p,f,Ft,Bt,Pt,Qt,Ut,Vt,$t,qt,Xt,Yt,e,o,Gt,Kt,Jt,u,D,a,M,Zt,nr,tr,rr,ir,er,or,ur,fr,ar,cr,c,l,v,h,b,m,w,C,sr,lr,vr,A,hr,dr,pr,br,mr,wr,gr,yr,xr,Or,Sr,_r,zr,Tr,Ir,kr,H,Cr,Ar,Hr,Nr,Er,Lr,Rr,Dr,Mr,Wr,g,y,x,O,S,_,z,T,I,jr,Fr,Br,Pr,Qr,Ur,Vr,$r,qr,Xr,Yr,N,Gr,E,W,Kr,j,Jr,F,B,Zr,ni,ti,ri,ii,P,Q,U,ei,oi,ui,fi,ai,ci=new pt[mt],V=Re[_e],si={},vn={},hn={},li={},vi={},q="-hidden",hi="margin-",di="padding-",pi="border-",bi="top",mi="right",wi="bottom",gi="left",yi="min-",xi="max-",Oi="width",Si="height",_i="float",zi="",Ti="auto",Ii="scroll",ki="100%",Ci="x",Ai="y",X=".",Hi=" ",Y="scrollbar",G="-horizontal",K="-vertical",Ni=Ii+"Left",Ei=Ii+"Top",Li="mousedown touchstart",J="mouseup touchend touchcancel",Z="mousemove touchmove",nn="mouseenter",tn="mouseleave",rn="keydown",en="keyup",on="selectstart",un="transitionend webkitTransitionEnd oTransitionEnd",fn="__overlayScrollbarsRO__",an="os-",cn="os-html",sn="os-host",dn=sn+"-textarea",pn=sn+"-"+Y+G+q,bn=sn+"-"+Y+K+q,mn=sn+"-transition",Ri=sn+"-rtl",Di=sn+"-resize-disabled",Mi=sn+"-scrolling",Wi=sn+"-overflow",ji=Wi+"-x",Fi=Wi+"-y",wn="os-textarea",gn=wn+"-cover",yn="os-padding",xn="os-viewport",On=xn+"-native-scrollbars-invisible",Sn=xn+"-native-scrollbars-overlaid",_n="os-content",Bi="os-content-arrange",Pi="os-content-glue",Qi="os-size-auto-observer",zn="os-resize-observer",Tn="os-resize-observer-item",In=Tn+"-final",kn="os-text-inherit",Cn=an+Y,An=Cn+"-track",Hn=An+"-off",Nn=Cn+"-handle",En=Nn+"-off",Ln=Cn+"-unusable",Rn=Cn+"-"+Ti+q,Dn=Cn+"-corner",Ui=Dn+"-resize",Vi=Ui+"-both",$i=Ui+G,qi=Ui+K,Mn=Cn+G,Wn=Cn+K,jn="os-dragging",Xi="os-theme-none",Fn=[],Bn={},Yi={},Gi=42,Pn=[];if(ci.sleep=function(){Yt=!0},ci.update=function(n){var t,r,i=st(n)==xt,e=i&&"+"==n.slice(-1);i?0===n.indexOf(Ti)?(t=function d(){if(Yt||Kr)return!1;var n=nr.attr(zt)||zi,t=pe(n,g),r=nr.attr(_t)||zi,i=pe(r,y),e=nr.attr(Oe)||zi,o=pe(e,x),u=nr.is(":visible")||zi,f=pe(u,O),a=Wt&&Zt.attr("rows")||zi,c=pe(a,S),s=Wt&&Zt.attr("cols")||zi,l=pe(s,_),v=Wt&&Zt.attr("wrap")||zi,h=pe(v,z);return g=n,i&&(i=Zn(y,r)),y=r,x=e,O=u,S=a,_=s,z=v,t||i||o||f||c||l||h}(),r=function c(){if(Yt)return!1;var n,t,r,i,e=Wt&&xr&&!Mr?Zt.val().length:0,o=!Kr&&xr&&!Wt,u={},f={};Rt&&(u={x:dr[Ae],y:dr[Ie]}),o&&(n=or.css(_i),f[_i]=Xt?mi:gi,f[Oi]=Ti,or.css(f));var a={w:he()[Ae]+e,h:he()[Ie]+e};return o&&(f[_i]=n,f[Oi]=ki,or.css(f)),t=te(),r=be(a,T),i=be(u,N,Ci,Ai),T=a,N=u,r||t||i}(),(t||r||e)&&ie(!1,r,!1,e)):"zoom"===n&&ie(!0,!0):(n=Yt||n,ie(Yt=!1,!1,n,!0)),Wt||or.find("img").each(function(n,t){-1===Ne.inA(t,Pn)&&Re(t).off("load",Jn).on("load",Jn)})},ci.options=function(n,t){if(Re.isEmptyObject(n)||!Re.isPlainObject(n)){if(st(n)!=xt)return o;if(1<arguments.length){var r={};return function a(n,t,r){for(var i=t.split(X),e=i.length,o=0,u={},f=u;o<e;o++)u=u[i[o]]=o+1<e?{}:r;Re.extend(n,f,!0)}(r,n,t),nt(r),void ie()}return ct(o,n)}nt(n);var i=Yt||!1;Yt=!1,ie(),Yt=i},ci.destroy=function(){for(var n in Mt=!0,It.remove(ci),Zi(),Vn(rr),Bt&&Vn(tr),Bn)ci.removeExt(n);ne(!0),rt(!0),fr&<(fr),ur&<(ur),Bt&<(tr),it(!0),ot(!0),tt(!0);for(var t=0;t<Pn[Se];t++)Re(Pn[t]).off("load",Jn);for(var r in Pn=xe,De(i,0),se("onDestroyed"),ci)delete ci[r];ci=xe},ci.scroll=function(n,t,r,i){if(0===arguments.length||n===xe){var e=vn,o=hn,u=Ur&&Xt&&At.i,f=Ur&&Xt&&At.n,a=e.C,c=e.A,s=e.H;return c=u?1-c:c,a=u?s-a:a,s*=f?-1:1,{position:{x:a*=f?-1:1,y:o.C},ratio:{x:c,y:o.A},max:{x:s,y:o.H},handleOffset:{x:e.N,y:o.N},handleLength:{x:e.L,y:o.L},handleLengthRatio:{x:e.R,y:o.R},trackLength:{x:e.D,y:o.D},snappedHandleOffset:{x:e.M,y:o.M},isRTL:Xt,isRTLNormalized:Ur}}var l,v,h,d,p,w,g,b,m,y=Ur,x=[Ci,gi,"l"],O=[Ai,bi,"t"],S=["+=","-=","*=","/="],_=st(t)==wt,z=_?t.complete:i,T={},I={},k="begin",C="nearest",A="never",H="ifneeded",N=Se,E=[Ci,Ai,"xy","yx"],L=[k,"end","center",C],R=["always",A,H],D=n.hasOwnProperty("el"),M=D?n.el:n,W=!!(M instanceof Re||Le)&&M instanceof Le,j=!W&&ft(M),F=st(z)!=gt?xe:function(){v&&fe(!0),h&&fe(!1),z()},B=function(n,t){for(l=0;l<t[N];l++)if(n===t[l])return!0;return!1},P=function(n,t){var r=n?x:O;if(st(t=st(t)==xt||st(t)==St?[t,t]:t)==yt)return n?t[0]:t[1];if(st(t)==wt)for(l=0;l<r[N];l++)if(r[l]in t)return t[r[l]]},Q=function(n,t){var r,i,e=st(t)==xt;e&&ci.update(Ti+"+");var o,u,f=n?vn:hn,a=f.C,c=f.H,s=Xt&&n,l=s&&At.n&&!y,v="replace",h=eval;if((i=e?(2<t[N]&&(u=t.substr(0,2),-1<$.inArray(u,S)&&(r=u)),t=(t=r?t.substr(2):t)[v](/min/g,0)[v](/</g,0)[v](/max/g,(l?"-":zi)+ki)[v](/>/g,(l?"-":zi)+ki)[v](/px/g,zi)[v](/%/g," * "+c*(s&&At.n?-1:1)/100)[v](/vw/g," * "+li.w)[v](/vh/g," * "+li.h),ve(isNaN(t)?ve(h(t),!0).toFixed():t)):t)!==xe&&!isNaN(i)&&st(i)==St){var d=y&&s,p=a*(d&&At.n?-1:1),b=d&&At.i,m=d&&At.n;switch(p=b?c-p:p,r){case"+=":o=p+i;break;case"-=":o=p-i;break;case"*=":o=p*i;break;case"/=":o=p/i;break;default:o=i}o=b?c-o:o,o*=m?-1:1,o=s&&At.n?Ee.min(0,Ee.max(c,o)):Ee.max(0,Ee.min(c,o))}return o===a?xe:o},U=function(n,t,r,i){var e,o,u=[r,r],f=st(n);if(f==t)n=[n,n];else if(f==yt){if(2<(e=n[N])||e<1)n=u;else for(1===e&&(n[1]=r),l=0;l<e;l++)if(st(o=n[l])!=t||!B(o,i)){n=u;break}}else n=f==wt?[n[Ci]||r,n[Ai]||r]:u;return{x:n[0],y:n[1]}},V=function(n){var t,r,i=[],e=[bi,mi,wi,gi];for(l=0;l<n[N]&&l!==e[N];l++)(r=st(t=n[l]))==Ot?i.push(t?ve(m.css(hi+e[l])):0):i.push(r==St?t:0);return i};if(W||j){var q,X=D?n.margin:0,Y=D?n.axis:0,G=D?n.scroll:0,K=D?n.block:0,J=[0,0,0,0],Z=st(X);if(0===(m=W?M:Re(M))[N])return;ci.update(Ti+"+"),X=Z==St||Z==Ot?V([X,X,X,X]):Z==yt?2===(q=X[N])?V([X[0],X[1],X[0],X[1]]):4<=q?V(X):J:Z==wt?V([X[bi],X[mi],X[wi],X[gi]]):J,p=B(Y,E)?Y:"xy",w=U(G,xt,"always",R),g=U(K,xt,k,L),b=X;var nn=vn.C,tn=hn.C,rn=ir.offset(),en=m.offset(),on={x:w.x==A||p==Ai,y:w.y==A||p==Ci};en[bi]-=b[0],en[gi]-=b[3];var un={x:Ee.round(en[gi]-rn[gi]+nn),y:Ee.round(en[bi]-rn[bi]+tn)};if(Xt&&(At.n||At.i||(un.x=Ee.round(rn[gi]-en[gi]+nn)),At.n&&y&&(un.x*=-1),At.i&&y&&(un.x=Ee.round(rn[gi]-en[gi]+(vn.H-nn)))),g.x!=k||g.y!=k||w.x==H||w.y==H||Xt){var fn=m[0],an=ln?fn.getBoundingClientRect():{width:fn[ke],height:fn[ze]},cn={w:an[Oi]+b[3]+b[1],h:an[Si]+b[0]+b[2]},sn=function(n){var t=ce(n),r=t.W,i=t.j,e=t.F,o=g[e]==(n&&Xt?k:"end"),u="center"==g[e],f=g[e]==C,a=w[e]==A,c=w[e]==H,s=li[r],l=rn[i],v=cn[r],h=en[i],d=u?2:1,p=h+v/2,b=l+s/2,m=v<=s&&l<=h&&h+v<=l+s;a?on[e]=!0:on[e]||((f||c)&&(on[e]=!!c&&m,o=v<s?b<p:p<b),un[e]-=o||u?(s/d-v/d)*(n&&Xt&&y?-1:1):0)};sn(!0),sn(!1)}on.y&&delete un.y,on.x&&delete un.x,n=un}T[Ni]=Q(!0,P(!0,n)),T[Ei]=Q(!1,P(!1,n)),v=T[Ni]!==xe,h=T[Ei]!==xe,(v||h)&&(0<t||_)?_?(t.complete=F,er.animate(T,t)):(d={duration:t,complete:F},st(r)==yt||Re.isPlainObject(r)?(I[Ni]=r[0]||r.x,I[Ei]=r[1]||r.y,d.specialEasing=I):d.easing=r,er.animate(T,d)):(v&&er[Ni](T[Ni]),h&&er[Ei](T[Ei]))},ci.scrollStop=function(n,t,r){return er.stop(n,t,r),ci},ci.getElements=function(n){var t={target:sr,host:lr,padding:hr,viewport:dr,content:pr,scrollbarHorizontal:{scrollbar:c[0],track:l[0],handle:v[0]},scrollbarVertical:{scrollbar:h[0],track:b[0],handle:m[0]},scrollbarCorner:cr[0]};return st(n)==xt?ct(t,n):t},ci.getState=function(n){var t=function(n){if(!Re.isPlainObject(n))return n;var r=we({},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",Oi),t("h",Si),delete r.c,r},r={sleeping:t(Yt)||!1,autoUpdate:t(!Kr),widthAuto:t(xr),heightAuto:t(Or),padding:t(zr),overflowAmount:t(Er),hideOverflow:t(yr),hasOverflow:t(gr),contentScrollSize:t(mr),viewportSize:t(li),hostSize:t(br),documentMixed:t(p)};return st(n)==xt?ct(r,n):r},ci.ext=function(n){var t,r="added removed on contract".split(" "),i=0;if(st(n)==xt){if(Bn.hasOwnProperty(n))for(t=we({},Bn[n]);i<r.length;i++)delete t[r[i]]}else for(i in t={},Bn)t[i]=we({},ci.ext(i));return t},ci.addExt=function(n,t){var r,i,e,o,u=pt[mt].extension(n),f=!0;if(u){if(Bn.hasOwnProperty(n))return ci.ext(n);if((r=u.extensionFactory.call(ci,we({},u.defaultOptions),Re,Ne))&&(st(e=r.contract)==gt&&(f=st(o=e(pt))==Ot?o:f),f))return st(i=(Bn[n]=r).added)==gt&&i(t),ci.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},ci.removeExt=function(n){var t,r=Bn[n];return!!r&&(delete Bn[n],st(t=r.removed)==gt&&t(),!0)},function ht(n,t,r){return e=Tt.defaultOptions,Nt=Tt.nativeScrollbarStyling,Lt=we({},Tt.nativeScrollbarSize),kt=we({},Tt.nativeScrollbarIsOverlaid),Ct=we({},Tt.overlayScrollbarDummySize),At=we({},Tt.rtlScrollBehavior),nt(we({},e,dt.k(t,dt.I,!0))),kt.x&&kt.x&&!Gt.nativeScrollbarsOverlaid.initialize?(se("onInitializationWithdrawn"),!1):(Et=Tt.cssCalc,L=Tt.msie,Ht=Tt.autoUpdateRecommended,R=Tt.supportTransition,ln=Tt.supportTransform,d=Tt.supportPassiveEvents,k=Tt.supportResizeObserver,s=Tt.supportMutationObserver,Rt=Tt.restrictedMeasuring,D=Re(n.ownerDocument),C=D[0],u=Re(C.defaultView||C.parentWindow),w=u[0],a=vt(D,"html"),M=vt(a,"body"),Zt=Re(n),sr=Zt[0],Wt=Zt.is("textarea"),jt=Zt.is("body"),p=C!==bt,jt&&((i={}).l=Ee.max(Zt[Ni](),a[Ni](),u[Ni]()),i.t=Ee.max(Zt[Ei](),a[Ei](),u[Ei]())),tt(),rt(),it(),et(!0),et(!1),ot(),function c(){var t=w.top!==w,i={},e={},o={};function r(n){if(f(n)){var t=a(n),r={};(ui||oi)&&(r[Oi]=e.w+(t.x-i.x)*o.x),(fi||oi)&&(r[Si]=e.h+(t.y-i.y)*o.y),nr.css(r),Ne.stpP(n)}else u(n)}function u(n){var t=n!==xe;D.off(on,Kn).off(Z,r).off(J,u),ye(M,jn),cr.releaseCapture&&cr.releaseCapture(),t&&(U&&Ji(),ci.update(Ti)),U=!1}function f(n){var t=(n.originalEvent||n).touches!==xe;return!Yt&&!Mt&&(1===Ne.mBtn(n)||t)}function a(n){return L&&t?{x:n.screenX,y:n.screenY}:Ne.page(n)}ai=function(n){f(n)&&(Kr&&(U=!0,Zi()),i=a(n),e.w=lr[ke]-(Ft?0:Pt),e.h=lr[ze]-(Ft?0:Qt),o=ut(),D.on(on,Kn).on(Z,r).on(J,u),ge(M,jn),cr.setCapture&&cr.setCapture(),Ne.prvD(n),Ne.stpP(n))}}(),$n(),jt&&(er[Ni](i.l)[Ei](i.t),bt.activeElement==n&&dr.focus&&(er.attr("tabindex","-1"),dr.focus(),er.one(Li,function(){er.removeAttr("tabindex")}))),Ki(rr,qn),qn(),ci.update(Ti),Dt=!0,se("onInitialized"),Re.each(Fn,function(n,t){se(t.n,t.a)}),Fn=[],st(r)==xt&&(r=[r]),Ne.isA(r)?Re.each(r,function(n,t){ci.addExt(t)}):Re.isPlainObject(r)&&Re.each(r,function(n,t){ci.addExt(n,t)}),setTimeout(function(){R&&!Mt&&ge(nr,mn)},333),Dt);var i}(i,n,t))return De(i,ci),ci;ci=xe}function Qn(n,t,r){for(var i=t.split(Hi),e=0;e<i.length;e++)n[0].addEventListener(i[e],r,{passive:!0})}function Un(n,t,r){for(var i=t.split(Hi),e=0;e<i.length;e++)n[0].removeEventListener(i[e],r,{passive:!0})}function Ki(e,n){var o=3333333,t=Ne.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",i="childNodes",u=function(){e[Ei](o)[Ni](Xt?At.n?-o:At.i?0:o:o),n()};if(k){var f=e.append(de(zn+" observed")).contents()[0];(f[fn]=new t(u)).observe(f)}else if(9<L||!Ht){e.prepend(de(zn,de({className:Tn,dir:"ltr"},de(Tn,de(In))+de(Tn,de({className:In,style:"width: 200%; height: 200%"})))));var a,c,s,l,v=e[0][i][0][i][0],h=Re(v[i][1]),d=Re(v[i][0]),p=Re(d[0][i][0]),b=v[ke],m=v[ze],w=Tt.nativeScrollbarSize,g=function(){d[Ni](o)[Ei](o),h[Ni](o)[Ei](o)},y=function(){c=0,a&&(b=s,m=l,u())},x=function(n){return s=v[ke],l=v[ze],a=s!=b||l!=m,n&&a&&!c?(Ne.cAF()(c),c=Ne.rAF()(y)):n||y(),g(),n&&(Ne.prvD(n),Ne.stpP(n)),!1},O={},S={};le(S,zi,[-2*(w.y+1),-2*w.x,-2*w.y,-2*(w.x+1)]),Re(v).css(S),d.on(Ii,x),h.on(Ii,x),e.on(r,function(){x(!1)}),O[Oi]=o,O[Si]=o,p.css(O),g()}else{var _=C.attachEvent,z=L!==xe;if(_)e.prepend(de(zn)),vt(e,X+zn)[0].attachEvent("onresize",u);else{var T=C.createElement(wt);T.setAttribute("tabindex","-1"),T.setAttribute(_t,zn),T.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",u),n.document.documentElement.style.display="none"},T.type="text/html",z&&e.prepend(T),T.data="about:blank",z||e.prepend(T),e.on(r,u)}}if(e[0]===A){var I=function(){var n=nr.css("direction"),t={},r=0,i=!1;return n!==H&&(r="ltr"===n?(t[gi]=0,t[mi]=Ti,o):(t[gi]=Ti,t[mi]=0,At.n?-o:At.i?0:o),rr.children().eq(0).css(t),e[Ni](r)[Ei](o),H=n,i=!0),i};I(),e.on(Ii,function(n){return I()&&ie(),Ne.prvD(n),Ne.stpP(n),!1})}}function Vn(n){if(k){var t=n.contents()[0];t[fn].disconnect(),delete t[fn]}else lt(n.children(X+zn).eq(0))}function $n(){if(s){var i,e,r,o,u,f,n=Ne.mO(),a=Ne.now();E=new n(function(n){if(Dt&&!Yt){var t,r=!1;Re.each(n,function(){if(i=(t=this).target,e=t.attributeName,r=e===_t?Zn(t.oldValue,i.className):e!==Oe||t.oldValue!==i[Oe].cssText)return!1}),r&&ci.update(Ti)}}),W=new n(function(n){if(Dt&&!Yt){var t=!1;Re.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,i=n.type,e="closest";if(r===pr)return null===t;if("attributes"===i&&(t===_t||t===Oe)&&!Wt){if(t===_t&&Re(r).hasClass(sn))return Zn(n.oldValue,r.getAttribute(_t));if(typeof r[e]!=gt)return!0;if(null!==r[e](X+zn)||null!==r[e](X+Cn)||null!==r[e](X+Dn))return!1}return!0}(this))}),t&&(o=Ne.now(),u=Or||xr,f=function(){Mt||(a=o,Wt&&re(),u?ie():ci.update(Ti))},clearTimeout(r),11<o-a||!u?f():r=setTimeout(f,11))}})}}function Ji(){s&&!Kr&&(E.observe(lr,{attributes:!0,attributeOldValue:!0,attributeFilter:[zt,_t,Oe]}),W.observe(Wt?sr:pr,{attributes:!0,attributeOldValue:!0,subtree:!Wt,childList:!Wt,characterData:!Wt,attributeFilter:Wt?["wrap","cols","rows"]:[zt,_t,Oe]}),Kr=!0)}function Zi(){s&&Kr&&(E.disconnect(),W.disconnect(),Kr=!1)}function qn(){if(!Yt){var n,t={w:A[Ae],h:A[Ie]};Dt?(n=be(t,I),I=t,n&&ie(!0,!1)):I=t}}function Xn(){ii&&oe(!0)}function Yn(){ii&&!M.hasClass(jn)&&oe(!1)}function Gn(){ri&&(oe(!0),clearTimeout(B),B=setTimeout(function(){ri&&!Mt&&oe(!1)},100))}function ne(n){var i=n?Un:Qn,e=n?"off":"on",t=function(n,t,r){d?i(n,t,r):n[e](t,r)};ri&&!n?t(nr,Z,Gn):(n&&t(nr,Z,Gn),t(nr,nn,Xn),t(nr,tn,Yn)),Dt||n||nr.one("mouseover",Xn)}function Kn(n){return Ne.prvD(n),!1}function Jn(){ie(!1,!0)}function te(){var n={};return jt&&ur&&(n.w=ve(ur.css(yi+Oi)),n.h=ve(ur.css(yi+Si)),n.c=be(n,Yr),n.f=!0),(Yr=n).c||!1}function Zn(n,t){var r=t!==xe&&null!==t?t.split(Hi):zi,i=n!==xe&&null!==n?n.split(Hi):zi;if(r===zi&&i===zi)return!1;var e,o,u,f,a,c=function d(n,t){var r,i,e=[],o=[];for(r=0;r<n.length;r++)e[n[r]]=!0;for(r=0;r<t.length;r++)e[t[r]]?delete e[t[r]]:e[t[r]]=!0;for(i in e)o.push(i);return o}(i,r),s=!1,l=$r!==xe&&null!==$r?$r.split(Hi):[zi],v=Vr!==xe&&null!==Vr?Vr.split(Hi):[zi],h=Re.inArray(Xi,c);for(-1<h&&c.splice(h,1),o=0;o<c.length;o++)if(0!==(e=c[o]).indexOf(sn)){for(a=f=!0,u=0;u<l.length;u++)if(e===l[u]){f=!1;break}for(u=0;u<v.length;u++)if(e===v[u]){a=!1;break}if(f&&a){s=!0;break}}return s}function re(){if(!Yt){var n,t,r,i,e=!Mr,o=li.w,u=li.h,f={},a=xr||e;return f[yi+Oi]=zi,f[yi+Si]=zi,f[Oi]=Ti,Zt.css(f),n=sr[ke],t=a?Ee.max(n,sr[Ae]-1):1,f[Oi]=xr?Ti:ki,f[yi+Oi]=ki,f[Si]=Ti,Zt.css(f),r=sr[ze],i=Ee.max(r,sr[Ie]-1),f[Oi]=t,f[Si]=i,ar.css(f),f[yi+Oi]=o,f[yi+Si]=u,Zt.css(f),{B:n,P:r,U:t,V:i}}}function ie(n,t,r,i){var e=Ne.now(),o=0<Gi&&Dt&&e-Kt<Gi&&!Or&&!xr&&!i,u=nr.is(":hidden"),f=pe(u,Gr,r);if(Gr=u,clearTimeout(Jt),o&&(Yi.h=Yi.h||n,Yi.c=Yi.c||t,Yi.f=Yi.f||r,Jt=setTimeout(ie,Gi)),!(Mt||o||Yt||Dt&&!r&&u||"inline"===nr.css("display"))){Kt=e,n=n||Yi.h,t=t||Yi.c,r=r||Yi.f,Yi={},n=n!==xe&&n,t=t!==xe&&t,r=r!==xe&&r,!Nt||kt.x&&kt.y?Lt=we({},Tt.nativeScrollbarSize):(Lt.x=0,Lt.y=0),vi={x:3*(Lt.x+(kt.x?0:3)),y:3*(Lt.y+(kt.y?0:3))};var a={x:er[Ni](),y:er[Ei]()},c=Gt.scrollbars,s=Gt.textarea,l=c.visibility,v=pe(l,jr,r),h=c.autoHide,d=pe(h,Fr,r),p=c.clickScrolling,b=pe(p,Br,r),m=c.dragScrolling,w=pe(m,Pr,r),g=Gt.className,y=pe(g,Vr,r),x=Gt.resize,O=pe(x,Qr,r)&&!jt,S=!!Wt&&"off"!==Zt.attr("wrap"),_=pe(S,Mr,r),z=Gt.paddingAbsolute,T=pe(z,Cr,r),I=Gt.clipAlways,k=pe(I,Ar,r),C=Gt.sizeAutoCapable&&!jt,A=pe(C,Dr,r),H=Gt.nativeScrollbarsOverlaid.showNativeScrollbars,N=pe(H,Lr),E=Gt.autoUpdate,L=pe(E,Rr),R=Gt.overflowBehavior,D=be(R,Nr,Ci,Ai,r),M=s.dynWidth,W=pe(Xr,M),j=s.dynHeight,F=pe(qr,j);if(ni="n"===h,ti="s"===h,ri="m"===h,ii="l"===h,Zr=c.autoHideDelay,$r=Vr,ei="n"===x,oi="b"===x,ui="h"===x,fi="v"===x,Ur=Gt.normalizeRTL,H=H&&kt.x&&kt.y,jr=l,Fr=h,Br=p,Pr=m,Vr=g,Qr=x,Mr=S,Cr=z,Ar=I,Dr=C,Lr=H,Rr=E,Nr=we({},R),Xr=M,qr=j,gr=gr||{x:!1,y:!1},y&&(ye(nr,$r+Hi+Xi),ge(nr,g!==xe&&null!==g&&0<g.length?g:Xi)),L&&(!0===E?(Zi(),It.add(ci)):null===E&&Ht?(Zi(),It.add(ci)):(It.remove(ci),Ji())),A)if(C)if(fr?fr.show():(fr=Re(de(Pi)),ir.before(fr)),Bt)tr.show();else{tr=Re(de(Qi)),vr=tr[0],fr.before(tr);var B={w:-1,h:-1};Ki(tr,function(){var n={w:vr[ke],h:vr[ze]};be(n,B)&&(Dt&&Or&&0<n.h||xr&&0<n.w?ie():(Dt&&!Or&&0===n.h||!xr&&0===n.w)&&ie()),B=n}),Bt=!0,null!==Et&&tr.css(Si,Et+"(100% + 1px)")}else Bt&&tr.hide(),fr&&fr.hide();r&&(rr.find("*").trigger(Ii),Bt&&tr.find("*").trigger(Ii));var P,Q=nr.css("direction"),U=pe(Q,kr,r),V=nr.css("box-sizing"),$=pe(V,_r,r),q={c:r,t:ve(nr.css(di+bi)),r:ve(nr.css(di+mi)),b:ve(nr.css(di+wi)),l:ve(nr.css(di+gi))};try{P=Bt?vr.getBoundingClientRect():null}catch(_t){return}Ft="border-box"===V;var X=(Xt="rtl"===Q)?gi:mi,Y=Xt?mi:gi,G=!1,K=!(!Bt||"none"===nr.css(_i))&&(0===Ee.round(P.right-P.left)&&(!!z||0<lr[Ce]-Pt));if(C&&!K){var J=lr[ke],Z=fr.css(Oi);fr.css(Oi,Ti);var nn=lr[ke];fr.css(Oi,Z),(G=J!==nn)||(fr.css(Oi,J+1),nn=lr[ke],fr.css(Oi,Z),G=J!==nn)}var tn=(K||G)&&C&&!u,rn=pe(tn,xr,r),en=!tn&&xr,on=!(!Bt||!C||u)&&0===Ee.round(P.bottom-P.top),un=pe(on,Or,r),fn=!on&&Or,an="-"+Oi,cn=tn&&Ft||!Ft,sn=on&&Ft||!Ft,ln={c:r,t:sn?ve(nr.css(pi+bi+an),!0):0,r:cn?ve(nr.css(pi+mi+an),!0):0,b:sn?ve(nr.css(pi+wi+an),!0):0,l:cn?ve(nr.css(pi+gi+an),!0):0},vn={c:r,t:ve(nr.css(hi+bi)),r:ve(nr.css(hi+mi)),b:ve(nr.css(hi+wi)),l:ve(nr.css(hi+gi))},hn={h:String(nr.css(xi+Si)),w:String(nr.css(xi+Oi))},dn={},pn={},bn=function(){return{w:lr[Ce],h:lr[Te]}},mn=function(){return{w:hr[ke]+Ee.max(0,pr[Ce]-pr[Ae]),h:hr[ze]+Ee.max(0,pr[Te]-pr[Ie])}},wn=Pt=q.l+q.r,gn=Qt=q.t+q.b;if(wn*=gn*=z?1:0,q.c=me(q,zr),Ut=ln.l+ln.r,Vt=ln.t+ln.b,ln.c=me(ln,Tr),$t=vn.l+vn.r,qt=vn.t+vn.b,vn.c=me(vn,Ir),hn.ih=ve(hn.h),hn.iw=ve(hn.w),hn.ch=-1<hn.h.indexOf("px"),hn.cw=-1<hn.w.indexOf("px"),hn.c=be(hn,Sr,r),kr=Q,_r=V,xr=tn,Or=on,zr=q,Tr=ln,Ir=vn,Sr=hn,U&&Bt&&tr.css(_i,Y),q.c||U||T||rn||un||$||A){var yn={},xn={};le(pn,hi,[-q.t,-q.r,-q.b,-q.l]),z?(le(yn,zi,[q.t,q.r,q.b,q.l]),le(Wt?xn:dn,di)):(le(yn,zi),le(Wt?xn:dn,di,[q.t,q.r,q.b,q.l])),ir.css(yn),Zt.css(xn)}li=mn();var On=!!Wt&&re();if(on&&(un||T||$||hn.c||q.c||ln.c)?(dn[xi+Si]=hn.ch?hn.ih-gn+(Ft?-Vt:Qt):zi,dn[Si]=Ti):(un||T)&&(dn[xi+Si]=zi,dn[Si]=ki),tn&&(rn||T||$||hn.c||q.c||ln.c||U)?(dn[xi+Oi]=hn.cw?hn.iw-wn+(Ft?-Ut:Pt)+(kt.y?Ct.y:0):zi,dn[Oi]=Ti,pn[xi+Oi]=ki):(rn||T)&&(dn[xi+Oi]=zi,dn[Oi]=ki,dn[_i]=zi,pn[xi+Oi]=zi),tn?(hn.cw||(dn[xi+Oi]=zi),pn[Oi]=Wt&&M?On.U:Ti,dn[Oi]=Ti,dn[_i]=Y):pn[Oi]=zi,pn[Si]=on?(hn.ch||(dn[xi+Si]=zi),Wt?j?On.V:Ti:pr[Te]):zi,C&&fr.css(pn),or.css(dn),dn={},pn={},n||t||U||$||T||rn||tn||un||on||hn.c||N||D||k||O||v||d||w||b||W||F||_||r){var Sn="overflow",_n=Sn+"-x",zn=Sn+"-y",Tn=Rt?kt.x||kt.y||li.w<vi.y||li.h<vi.x||on||f:on,In={},kn=gr.y&&yr.ys&&!H?kt.y?er.css(X):-Lt.y:0,Cn=gr.x&&yr.xs&&!H?kt.x?er.css(wi):-Lt.x:0;le(In,zi),er.css(In),Tn&&or.css(Sn,"hidden");var An=he(),Hn=Rt&&!Tn?dr:An,Nn={w:Wt&&On?M?On.U:On.B:An[Ce],h:Wt&&On?j?On.V:On.P:An[Te]},En=Ee.max(An[Ae],Hn[Ae]),Ln=Ee.max(An[Ie],Hn[Ie]);In[wi]=fn?zi:Cn,In[X]=en?zi:kn,er.css(In),li=mn();var Rn=bn(),Dn={w:Ee.max((tn?Nn.w:En)+wn,Rn.w),h:Ee.max((on?Nn.h:Ln)+gn,Rn.h)};if(Dn.c=be(Dn,Hr,r),Hr=Dn,C){(Dn.c||on||tn)&&(pn[Oi]=Dn.w,pn[Si]=Dn.h,Wt||(Nn={w:An[Ce],h:An[Te]}));var Mn={},Wn=function(n){var t=ce(n),r=t.W,i=t.$,e=n?tn:on,o=n?Ut:Vt,u=n?Pt:Qt,f=n?$t:qt,a=pn[i]+(Ft?o:-u);(!e||!e&&ln.c)&&(pn[i]=Rn[r]-(Ft?0:u+o)-1-f),e&&hn["c"+r]&&hn["i"+r]===a&&(pn[i]=a+(Ft?0:u)+1),e&&Nn[r]<li[r]&&(!n||Wt&&!S)&&(Wt&&(Mn[i]=ve(ar.css(i))-1),pn[i]-=1),0<Nn[r]&&(pn[i]=Ee.max(1,pn[i]))};Wn(!0),Wn(!1),Wt&&ar.css(Mn),fr.css(pn)}tn&&(dn[Oi]=ki),!tn||Ft||Kr||(dn[_i]="none"),or.css(dn),dn={};var jn={w:Ee.max(An[Ae],Hn[Ae]),h:Ee.max(An[Ie],Hn[Ie])};jn.c=t=be(jn,mr,r),mr=jn,Tn&&or.css(Sn,zi),li=mn(),n=be(Rn=bn(),br),br=Rn;var Fn=Wt&&(0===li.w||0===li.h),Bn=Er,Pn={},Qn={},Un={},Vn={},$n={},qn={},Xn={},Yn=hr.getBoundingClientRect(),Gn=function(n){var t=ce(n),r=ce(!n).F,i=t.F,e=t.W,o=t.$,u=Ii+t.X+"Max",f=Yn[o]?Ee.abs(Yn[o]-li[e]):0;Pn[i]="v-s"===R[i],Qn[i]="v-h"===R[i],Un[i]="s"===R[i],Vn[i]=Ee.max(0,Ee.round(100*(jn[e]-li[e]))/100),Vn[i]*=Fn||0===dr[u]&&0<f&&f<1?0:1,$n[i]=0<Vn[i],qn[i]=Pn[i]||Qn[i]?$n[r]&&!Pn[r]&&!Qn[r]:$n[i],qn[i+"s"]=!!qn[i]&&(Un[i]||Pn[i]),Xn[i]=$n[i]&&qn[i+"s"]};if(Gn(!0),Gn(!1),Vn.c=be(Vn,Er,Ci,Ai,r),Er=Vn,$n.c=be($n,gr,Ci,Ai,r),gr=$n,qn.c=be(qn,yr,Ci,Ai,r),yr=qn,kt.x||kt.y){var Kn,Jn={},Zn={},nt=r;($n.x||$n.y)&&(Zn.w=kt.y&&$n.y?jn.w+Ct.y:zi,Zn.h=kt.x&&$n.x?jn.h+Ct.x:zi,nt=pe(Zn,wr,r),wr=Zn),($n.c||qn.c||jn.c||U||rn||un||tn||on||N)&&(dn[hi+Y]=dn[pi+Y]=zi,(Kn=function(n){var t=ce(n),r=ce(!n),i=t.F,e=n?wi:X,o=n?on:tn;kt[i]&&$n[i]&&qn[i+"s"]?(dn[hi+e]=o?H?zi:Ct[i]:zi,dn[pi+e]=n&&o||H?zi:Ct[i]+"px solid transparent"):(Zn[r.W]=dn[hi+e]=dn[pi+e]=zi,nt=!0)})(!0),Kn(!1)),H&&(Zn.w=Zn.h=zi,nt=!0),nt&&(Jn[Oi]=qn.y?Zn.w:zi,Jn[Si]=qn.x?Zn.h:zi,ur||(ur=Re(de(Bi)),er.prepend(ur)),ur.css(Jn)),or.css(dn)}var tt,rt={};yn={};if((n||$n.c||qn.c||jn.c||D||$||N||U||k||un)&&(rt[Y]=zi,(tt=function(n){var t=ce(n),r=ce(!n),i=t.F,e=t.Y,o=n?wi:X,u=function(){rt[o]=zi,si[r.W]=0};$n[i]&&qn[i+"s"]?(rt[Sn+e]=Ii,H?u():(rt[o]=-(kt[i]?Ct[i]:Lt[i]),si[r.W]=kt[i]?Ct[r.F]:0)):(rt[Sn+e]=zi,u())})(!0),tt(!1),(li.h<vi.x||li.w<vi.y)&&($n.x&&qn.x&&!kt.x||$n.y&&qn.y&&!kt.y)?(rt[di+bi]=vi.x,rt[hi+bi]=-vi.x,rt[di+Y]=vi.y,rt[hi+Y]=-vi.y):rt[di+bi]=rt[hi+bi]=rt[di+Y]=rt[hi+Y]=zi,rt[di+X]=rt[hi+X]=zi,$n.x&&qn.x||$n.y&&qn.y||Fn?Wt&&Fn&&(yn[_n]=yn[zn]="hidden"):(!I||Qn.x||Pn.x||Qn.y||Pn.y)&&(Wt&&(yn[_n]=yn[zn]=zi),rt[_n]=rt[zn]="visible"),ir.css(yn),er.css(rt),rt={},($n.c||$||rn||un)&&(!kt.x||!kt.y))){var it=pr[Oe];it.webkitTransform="scale(1)",it.display="run-in",pr[ze],it.display=zi,it.webkitTransform=zi}if(dn={},U||rn||un)if(Xt&&tn){var et=or.css(_i),ot=Ee.round(or.css(_i,zi).css(gi,zi).position().left);or.css(_i,et),ot!==Ee.round(or.position().left)&&(dn[gi]=ot)}else dn[gi]=zi;if(or.css(dn),Wt&&t){var ut=function zt(){var n=sr.selectionStart;if(n===xe)return;var t,r,i="length",e=Zt.val(),o=e[i],u=e.split("\n"),f=u[i],a=e.substr(0,n).split("\n"),c=0,s=0,l=a[i],v=a[a[i]-1][i];for(r=0;r<u[i];r++)t=u[r][i],s<t&&(c=r+1,s=t);return{G:l,K:v,J:f,Z:s,nn:c,tn:n,rn:o}}();if(ut){var ft=Wr===xe||ut.J!==Wr.J,at=ut.G,ct=ut.K,st=ut.nn,lt=ut.J,vt=ut.Z,ht=ut.tn,dt=ut.rn<=ht&&Jr,pt={x:S||ct!==vt||at!==st?-1:Er.x,y:(S?dt||ft&&Bn!==xe&&a.y===Bn.y:(dt||ft)&&at===lt)?Er.y:-1};a.x=-1<pt.x?Xt&&Ur&&At.i?0:pt.x:a.x,a.y=-1<pt.y?pt.y:a.y}Wr=ut}Xt&&At.i&&kt.y&&$n.x&&Ur&&(a.x+=si.w||0),tn&&nr[Ni](0),on&&nr[Ei](0),er[Ni](a.x)[Ei](a.y);var bt="v"===l,mt="h"===l,wt="a"===l,gt=Ne.bind(ee,0,!0,!0,Xn.x),yt=Ne.bind(ee,0,!1,!0,Xn.y),xt=Ne.bind(ee,0,!0,!1,Xn.x),Ot=Ne.bind(ee,0,!1,!1,Xn.y);if(qn.x||qn.y?ge(nr,Wi):ye(nr,Wi),qn.x?ge(nr,ji):ye(nr,ji),qn.y?ge(nr,Fi):ye(nr,Fi),U&&(Xt?ge(nr,Ri):ye(nr,Ri)),jt&&ge(nr,Di),O){var St=function(){cr.off(Li,ai)};ye(cr,[Di,Ui,Vi,$i,qi].join(Hi)),ei?(ge(nr,Di),St()):(ge(cr,Ui),oi?ge(cr,Vi):ui?ge(cr,$i):fi&&ge(cr,qi),St(),cr.on(Li,ai))}(v||D||qn.c||$n.c||N)&&(H?N&&(ye(nr,Mi),H&&(xt(),Ot())):wt?(Xn.x?gt():xt(),Xn.y?yt():Ot()):bt?(gt(),yt()):mt&&(xt(),Ot())),(d||N)&&(ii||ri?(ne(!0),ne()):ne(!0),ni?oe(!0):oe(!1,!0)),(n||Vn.c||un||rn||O||$||T||N||U)&&(ue(!0),fe(!0),ue(!1),fe(!1)),b&&ae(!0,p),w&&ae(!1,m),U&&se("onDirectionChanged",{isRTL:Xt,dir:Q}),n&&se("onHostSizeChanged",{width:br.w,height:br.h}),t&&se("onContentSizeChanged",{width:mr.w,height:mr.h}),($n.c||qn.c)&&se("onOverflowChanged",{x:$n.x,y:$n.y,xScrollable:qn.xs,yScrollable:qn.ys,clipped:qn.x||qn.y}),Vn.c&&se("onOverflowAmountChanged",{x:Vn.x,y:Vn.y})}jt&&(gr.c||Yr.c)&&(Yr.f||te(),kt.y&&gr.x&&or.css(yi+Oi,Yr.w+Ct.y),kt.x&&gr.y&&or.css(yi+Si,Yr.h+Ct.x),Yr.c=!1),se("onUpdated",{forced:r})}}function nt(n){o=we({},o,dt.k(n,dt.I,!0)),Gt=we({},Gt,dt.k(n,dt.I,!1,!0))}function tt(i){var n=Gt.textarea.inheritedAttrs,e={},t=function(){var r=i?Zt:nr;Re.each(e,function(n,t){st(t)==xt&&(n==_t?r.addClass(t):r.attr(n,t))})},r=[sn,dn,Di,Ri,pn,bn,mn,Mi,Wi,ji,Fi,Xi,wn,kn,Vr].join(Hi);if(st(n=st(n)==xt?n.split(" "):n)==yt&&Re.each(n,function(n,t){st(t)==xt&&(e[t]=i?nr.attr(t):Zt.attr(t))}),i)or.contents().unwrap().unwrap().unwrap(),ye(nr,r),Wt?(Zt.removeAttr(Oe),f&&t(),ye(Zt,r),lt(ar),f?(Zt.unwrap(),lt(nr)):ge(nr,dn)):ye(Zt,sn),jt&&ye(a,cn),lt(rr);else{if(Wt){var o={},u=Zt.parent();f=!(u.hasClass(dn)&&1===u.children()[Se]),Gt.sizeAutoCapable||(o[Oi]=Zt.css(Oi),o[Si]=Zt.css(Si)),f&&Zt.wrap(de(dn)),(nr=Zt.parent()).css(o).wrapInner(de(_n+Hi+kn)).wrapInner(de(xn+Hi+kn)).wrapInner(de(yn+Hi+kn)),or=vt(nr,X+_n),er=vt(nr,X+xn),ir=vt(nr,X+yn),ar=Re(de(gn)),or.prepend(ar),ge(Zt,wn+Hi+kn),f&&t()}else(nr=Zt).wrapInner(de(_n)).wrapInner(de(xn)).wrapInner(de(yn)),or=vt(nr,X+_n),er=vt(nr,X+xn),ir=vt(nr,X+yn),ge(Zt,sn);Nt&&ge(er,kt.x&&kt.y?Sn:On),jt&&ge(a,cn),rr=Re(de("os-resize-observer-host")),nr.prepend(rr),A=rr[0],lr=nr[0],hr=ir[0],dr=er[0],pr=or[0]}}function rt(n){var r,t,i,e,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],u=[],f=n?"off":"on";!n&&Wt&&(i=function(n){re(),ci.update(Ti),n&&clearInterval(r)},(j={})[Ii]=function(n){return Zt[Ni](At.i&&Ur?9999999:0),Zt[Ei](0),Ne.prvD(n),Ne.stpP(n),!1},j.drop=function(){setTimeout(function(){Mt||i()},50)},j.focus=function(){Jr=!0},j.focusout=function(){i(!(Jr=!(u=[])))},9<L||!Ht?j.input=function(){i()}:(j[rn]=function(n){var t=n.keyCode;-1<Re.inArray(t,o)||(u.length||(i(),r=setInterval(i,1e3/60)),-1===Re.inArray(t,u)&&u.push(t))},j[en]=function(n){var t=n.keyCode,r=Re.inArray(t,u);-1<Re.inArray(t,o)||(-1<r&&u.splice(r,1),u.length||i(!0))})),Wt?Re.each(j,function(n,t){Zt[f](n,t)}):or[f](un,function(n){!0!==Rr&&function l(n){if(!Dt)return!0;var t="flex-grow",r="flex-shrink",i="flex-basis",e=[Oi,yi+Oi,xi+Oi,hi+gi,hi+mi,gi,mi,"font-weight","word-spacing",t,r,i],o=[di+gi,di+mi,pi+gi+Oi,pi+mi+Oi],u=[Si,yi+Si,xi+Si,hi+bi,hi+wi,bi,wi,"line-height",t,r,i],f=[di+bi,di+wi,pi+bi+Oi,pi+wi+Oi],a="s"===Nr.x||"v-s"===Nr.x,c=!1,s=function(n,t){for(var r=0;r<n[Se];r++)if(n[r]===t)return!0;return!1};return("s"===Nr.y||"v-s"===Nr.y)&&((c=s(u,n))||Ft||(c=s(f,n))),a&&!c&&((c=s(e,n))||Ft||(c=s(o,n))),c}((n=n.originalEvent||n).propertyName)&&ie(Ti)}),n||(e=function(n){Yt||(t!==xe?clearTimeout(t):((ti||ri)&&oe(!0),at()||ge(nr,Mi),se("onScrollStart",n)),Q||(fe(!0),fe(!1)),se("onScroll",n),t=setTimeout(function(){Mt||(clearTimeout(t),t=xe,(ti||ri)&&oe(!1),at()||ye(nr,Mi),se("onScrollStop",n))},175))},d?Qn(er,Ii,e):er.on(Ii,e))}function it(n){n?(lt(c),lt(h)):(c=Re(de(Cn+Hi+Mn)),l=Re(de(An)),v=Re(de(Nn)),h=Re(de(Cn+Hi+Wn)),b=Re(de(An)),m=Re(de(Nn)),c.append(l),l.append(v),h.append(b),b.append(m),ir.after(h),ir.after(c))}function et(O){var S,e,_,z,r=ce(O),T=r["in"],t=w.top!==w,I=r.F,i=r.Y,k=Ii+r.X,o="active",u="snapHandle",C=1,f=[16,17];function a(n){return L&&t?n["screen"+i]:Ne.page(n)[I]}function c(n){return Gt.scrollbars[n]}function s(){C=.5}function l(){C=1}function v(n){-1<Re.inArray(n.keyCode,f)&&s()}function A(n){-1<Re.inArray(n.keyCode,f)&&l()}function H(n){var t=(n.originalEvent||n).touches!==xe;return!(Yt||Mt||at()||!Pr||t&&!c("touchSupport"))&&(1===Ne.mBtn(n)||t)}function h(n){if(H(n)){var t=T.D,r=T.L,i=T.H*((a(n)-_)*z/(t-r));i=isFinite(i)?i:0,Xt&&O&&!At.i&&(i*=-1),er[k](Ee.round(e+i)),Q&&fe(O,e+i),d||Ne.prvD(n)}else N(n)}function N(n){if(n=n||n.originalEvent,D.off(Z,h).off(J,N).off(rn,v).off(en,A).off(on,Kn),Q&&fe(O,!0),Q=!1,ye(M,jn),ye(r.en,o),ye(r.un,o),ye(r.an,o),_=e=xe,z=1,l(),S!==xe&&(ci.scrollStop(),clearTimeout(S),S=xe),n){var t=lr.getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Yn(),(ti||ri)&&oe(!1)}}function E(n){e=er[k](),e=isNaN(e)?0:e,(Xt&&O&&!At.n||!Xt)&&(e=e<0?0:e),z=ut()[I],_=a(n),Q=!c(u),ge(M,jn),ge(r.en,o),ge(r.an,o),D.on(Z,h).on(J,N).on(on,Kn),!L&&p||Ne.prvD(n),Ne.stpP(n)}r.en.on(Li,function(n){H(n)&&E(n)}),r.un.on(Li,function(n){if(H(n)){var h,d=Ee.round(li[r.W]),p=r.un.offset()[r.j],t=n.ctrlKey,b=n.shiftKey,m=b&&t,w=!0,g=function(n){Q&&fe(O,n)},y=function(){g(),E(n)},x=function(){if(!Mt){var n=(_-p)*z,t=T.N,r=T.D,i=T.L,e=T.H,o=T.C,u=270*C,f=w?Ee.max(400,u):u,a=e*((n-i/2)/(r-i)),c=Xt&&O&&(!At.i&&!At.n||Ur),s=c?t<n:n<t,l={},v={easing:"linear",step:function(n){Q&&(er[k](n),fe(O,n))}};a=isFinite(a)?a:0,a=Xt&&O&&!At.i?e-a:a,b?(er[k](a),m?(a=er[k](),er[k](o),a=c&&At.i?e-a:a,a=c&&At.n?-a:a,l[I]=a,ci.scroll(l,we(v,{duration:130,complete:y}))):y()):(h=w?s:h,(c?h?n<=t+i:t<=n:h?t<=n:n<=t+i)?(clearTimeout(S),ci.scrollStop(),S=xe,g(!0)):(S=setTimeout(x,f),l[I]=(h?"-=":"+=")+d,ci.scroll(l,we(v,{duration:u}))),w=!1)}};t&&s(),z=ut()[I],_=Ne.page(n)[I],Q=!c(u),ge(M,jn),ge(r.un,o),ge(r.an,o),D.on(J,N).on(rn,v).on(en,A).on(on,Kn),x(),Ne.prvD(n),Ne.stpP(n)}}).on(nn,function(){P=!0,(ti||ri)&&oe(!0)}).on(tn,function(){P=!1,(ti||ri)&&oe(!1)}),r.an.on(Li,function(n){Ne.stpP(n)}),R&&r.an.on(un,function(n){n.target===r.an[0]&&(ue(O),fe(O))})}function ee(n,t,r){var i=n?pn:bn,e=n?c:h;t?ye(nr,i):ge(nr,i),r?ye(e,Ln):ge(e,Ln)}function oe(n,t){if(clearTimeout(F),n)ye(c,Rn),ye(h,Rn);else{var r,i=function(){P||Mt||(!(r=v.hasClass("active")||m.hasClass("active"))&&(ti||ri||ii)&&ge(c,Rn),!r&&(ti||ri||ii)&&ge(h,Rn))};0<Zr&&!0!==t?F=setTimeout(i,Zr):i()}}function ue(n){var t={},r=ce(n),i=r["in"],e=Ee.min(1,(br[r.W]-(Cr?n?Pt:Qt:0))/mr[r.W]);t[r.$]=Ee.floor(100*e*1e6)/1e6+"%",at()||r.en.css(t),i.L=r.en[0]["offset"+r.cn],i.R=e}function fe(n,t){var r,i,e=st(t)==Ot,o=Xt&&n,u=ce(n),f=u["in"],a="translate(",c=He.O("transform"),s=He.O("transition"),l=n?er[Ni]():er[Ei](),v=t===xe||e?l:t,h=f.L,d=u.un[0]["offset"+u.cn],p=d-h,b={},m=(dr[Ii+u.cn]-dr["client"+u.cn])*(At.n&&o?-1:1),w=function(n){return isNaN(n/m)?0:Ee.max(0,Ee.min(1,n/m))},g=function(n){var t=p*n;return t=isNaN(t)?0:t,t=o&&!At.i?d-h-t:t,t=Ee.max(0,t)},y=w(l),x=g(w(v)),O=g(y);f.H=m,f.C=l,f.A=y,ln?(r=o?-(d-h-x):x,i=n?a+r+"px, 0)":a+"0, "+r+"px)",b[c]=i,R&&(b[s]=e&&1<Ee.abs(x-f.N)?function S(n){var t=He.O("transition"),r=n.css(t);if(r)return r;for(var i,e,o,u="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",f=new RegExp(u),a=new RegExp("^("+u+")+$"),c="property duration timing-function delay".split(" "),s=[],l=0,v=function(n){if(i=[],!n.match(a))return n;for(;n.match(f);)i.push(RegExp.$1),n=n.replace(f,zi);return i};l<c[Se];l++)for(e=v(n.css(t+"-"+c[l])),o=0;o<e[Se];o++)s[o]=(s[o]?s[o]+Hi:zi)+e[o];return s.join(", ")}(u.en)+", "+(c+Hi+250)+"ms":zi)):b[u.j]=x,at()||(u.en.css(b),ln&&R&&e&&u.en.one(un,function(){Mt||u.en.css(s,zi)})),f.N=x,f.M=O,f.D=d}function ae(n,t){var r=t?"removeClass":"addClass",i=n?b:m,e=n?Hn:En;(n?l:v)[r](e),i[r](e)}function ce(n){return{$:n?Oi:Si,cn:n?"Width":"Height",j:n?gi:bi,X:n?"Left":"Top",F:n?Ci:Ai,Y:n?"X":"Y",W:n?"w":"h",sn:n?"l":"t",un:n?l:b,en:n?v:m,an:n?c:h,"in":n?vn:hn}}function ot(n){n?lt(cr):(cr=Re(de(Dn)),nr.append(cr))}function se(n,t){if(Dt){var r,i=Gt.callbacks[n],e=n;"on"===e.substr(0,2)&&(e=e.substr(2,1).toLowerCase()+e.substr(3)),st(i)==gt&&i.call(ci,t),Re.each(Bn,function(){st((r=this).on)==gt&&r.on(e,t)})}else Mt||Fn.push({n:n,a:t})}function le(n,t,r){r===xe&&(r=[zi,zi,zi,zi]),n[t+bi]=r[0],n[t+mi]=r[1],n[t+wi]=r[2],n[t+gi]=r[3]}function ut(){var n=hr.getBoundingClientRect();return{x:ln?1/(Ee.round(n.width)/hr[ke]):1,y:ln?1/(Ee.round(n.height)/hr[ze]):1}}function ft(n){var t="ownerDocument",r="HTMLElement",i=n&&n[t]&&n[t].parentWindow||pt;return typeof i[r]==wt?n instanceof i[r]:n&&typeof n==wt&&null!==n&&1===n.nodeType&&typeof n.nodeName==xt}function ve(n,t){var r=t?parseFloat(n):parseInt(n,10);return isNaN(r)?0:r}function at(){return Lr&&kt.x&&kt.y}function he(){return Wt?ar[0]:pr}function de(r,n){return"<div "+(r?st(r)==xt?'class="'+r+'"':function(){var n,t="";if(Re.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():zi)+">"+(n||zi)+"</div>"}function ct(n,t){for(var r,i=t.split(X),e=0;e<i.length;e++){if(!n.hasOwnProperty(i[e]))return;r=n[i[e]],e<i.length&&st(r)==wt&&(n=r)}return r}function pe(n,t,r){return!0===r?r:t===xe||n!==t}function be(n,t,r,i,e){if(!0===e)return e;if(i===xe&&e===xe){if(!0===r)return r;r=xe}return r=r===xe?"w":r,i=i===xe?"h":i,t===xe||(n[r]!==t[r]||n[i]!==t[i])}function me(n,t){return t===xe||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function st(n){return Ne.type(n)}function we(){return Re.extend.apply(this,[!0].concat([].slice.call(arguments)))}function ge(n,t){return V.addClass.call(n,t)}function ye(n,t){return V.removeClass.call(n,t)}function lt(n){return V.remove.call(n)}function vt(n,t){return V.find.call(n,t).eq(0)}}return pt[mt]=function(n,r,i){if(0===arguments[Se])return this;var e,t,o=[],u=Re.isPlainObject(r);return n?(n=n[Se]!=xe?n:[n[0]||n],s(),0<n[Se]&&(u?Re.each(n,function(n,t){(e=t)!==xe&&o.push(v(e,r,i,f,a))}):Re.each(n,function(n,t){e=De(t),"!"===r&&e instanceof pt[mt]||Ne.type(r)==gt&&r(t,e)?o.push(e):r===xe&&o.push(e)}),t=1===o[Se]?o[0]:o),t):u||!r?t:o},pt[mt].globals=function(){s();var n=Re.extend(!0,{},f);return delete n.msie,n},pt[mt].defaultOptions=function(n){s();var t=f.defaultOptions;if(n===xe)return Re.extend(!0,{},t);f.defaultOptions=Re.extend(!0,{},t,dt.k(n,dt.I,!0))},pt[mt].extension=function(n,t,r){var i=Ne.type(n)==xt,e=arguments[Se],o=0;if(e<1||!i)return Re.extend(!0,{length:c[Se]},c);if(i)if(Ne.type(t)==gt)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[Se];o++)if(c[o].name===n){if(!(1<e))return Re.extend(!0,{},c[o]);c.splice(o,1)}},pt[mt]}();return Le&&Le.fn&&(Le.fn.overlayScrollbars=function(n,t){return Le.isPlainObject(n)?(Le.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); | ||
!function(n,t){"function"==typeof define&&define.amd?define(function(){return t(n,n.document,undefined)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(n,n.document,undefined):t(n,n.document,undefined)}("undefined"!=typeof window?window:this,function(dt,pt,xe){"use strict";var a,e,o,bt="OverlayScrollbars",mt="object",wt="function",gt="array",yt="string",xt="boolean",Ot="number",p="undefined",h="null",St="class",Oe="style",_t="id",zt="length",Se="prototype",_e="offsetHeight",ze="clientHeight",Te="scrollHeight",Ie="offsetWidth",ke="clientWidth",Ce="scrollWidth",Ae={u:{},v:{},m:["-webkit-","-moz-","-o-","-ms-"],g:["WebKit","Moz","O","MS"],O:function(n){var t=this.v;if(t[n])return t[n];for(var r,i,e=this.m,o=this.S(n),u=pt.createElement("div")[Oe],f=0,a=0;f<e.length;f++)for(i=e[f].replace(/-/g,""),r=[n,e[f]+n,i+o,this.S(i)+o],a=0;a<r[zt];a++)if(u[r[a]]!==xe)return t[n]=r[a],r[a];return null},_:function(n,t,r){var i=this.g,e=this.u,o=0,u=e[n];if(!u){for(u=dt[n];o<i[zt];o++)u=u||dt[(t?i[o]:i[o].toLowerCase())+this.S(n)];e[n]=u}return u||r},S:function(n){return n.charAt(0).toUpperCase()+n.slice(1)}},He={wW:function(){return dt.innerWidth||pt.documentElement[ke]||pt.body[ke]},wH:function(){return dt.innerHeight||pt.documentElement[ze]||pt.body[ze]},mO:function(){return Ae._("MutationObserver",!0)},rO:function(){return Ae._("ResizeObserver",!0)},rAF:function(){return Ae._("requestAnimationFrame",!1,function(n){return dt.setTimeout(n,1e3/60)})},cAF:function(){return Ae._("cancelAnimationFrame",!1,function(n){return dt.clearTimeout(n)})},now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0},prvD:function(n){n.preventDefault&&n.cancelable?n.preventDefault():n.returnValue=!1},page:function(n){var t="page",r="client",i="X",e=((n=n.originalEvent||n).target||n.srcElement||pt).ownerDocument||pt,o=e.documentElement,u=e.body;if(n.touches===xe)return!n[t+i]&&n[r+i]&&null!=n[r+i]?{x:n[r+i]+(o&&o.scrollLeft||u&&u.scrollLeft||0)-(o&&o.clientLeft||u&&u.clientLeft||0),y:n[r+"Y"]+(o&&o.scrollTop||u&&u.scrollTop||0)-(o&&o.clientTop||u&&u.clientTop||0)}:{x:n[t+i],y:n.pageY};var f=n.touches[0];return{x:f[t+i],y:f.pageY}},mBtn:function(n){var t=n.button;return n.which||t===xe?n.which:1&t?1:2&t?3:4&t?2:0},inA:function(n,t){for(var r=0;r<t[zt];r++)try{if(t[r]===n)return r}catch(i){}return-1},isA:function(n){var t=Array.isArray;return t?t(n):this.type(n)==gt},type:function(n){return n===xe?n+"":null===n?n+"":Object[Se].toString.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:function(n,t){if(typeof n!=wt)throw"Can't bind function!";var r=Se,i=Array[r].slice.call(arguments,2),e=function(){},o=function(){return n.apply(this instanceof e?this:t,i.concat(Array[r].slice.call(arguments)))};return n[r]&&(e[r]=n[r]),o[r]=new e,o}},Ne=Math,Ee=dt.jQuery,M=(a={p:Ne.PI,c:Ne.cos,s:Ne.sin,w:Ne.pow,t:Ne.sqrt,n:Ne.asin,a:Ne.abs,o:1.70158},{swing:function(n,t,r,i,e){return.5-a.c(n*a.p)/2},linear:function(n,t,r,i,e){return n},easeInQuad:function(n,t,r,i,e){return i*(t/=e)*t+r},easeOutQuad:function(n,t,r,i,e){return-i*(t/=e)*(t-2)+r},easeInOutQuad:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t+r:-i/2*(--t*(t-2)-1)+r},easeInCubic:function(n,t,r,i,e){return i*(t/=e)*t*t+r},easeOutCubic:function(n,t,r,i,e){return i*((t=t/e-1)*t*t+1)+r},easeInOutCubic:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t+r:i/2*((t-=2)*t*t+2)+r},easeInQuart:function(n,t,r,i,e){return i*(t/=e)*t*t*t+r},easeOutQuart:function(n,t,r,i,e){return-i*((t=t/e-1)*t*t*t-1)+r},easeInOutQuart:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t+r:-i/2*((t-=2)*t*t*t-2)+r},easeInQuint:function(n,t,r,i,e){return i*(t/=e)*t*t*t*t+r},easeOutQuint:function(n,t,r,i,e){return i*((t=t/e-1)*t*t*t*t+1)+r},easeInOutQuint:function(n,t,r,i,e){return(t/=e/2)<1?i/2*t*t*t*t*t+r:i/2*((t-=2)*t*t*t*t+2)+r},easeInSine:function(n,t,r,i,e){return-i*a.c(t/e*(a.p/2))+i+r},easeOutSine:function(n,t,r,i,e){return i*a.s(t/e*(a.p/2))+r},easeInOutSine:function(n,t,r,i,e){return-i/2*(a.c(a.p*t/e)-1)+r},easeInExpo:function(n,t,r,i,e){return 0==t?r:i*a.w(2,10*(t/e-1))+r},easeOutExpo:function(n,t,r,i,e){return t==e?r+i:i*(1-a.w(2,-10*t/e))+r},easeInOutExpo:function(n,t,r,i,e){return 0==t?r:t==e?r+i:(t/=e/2)<1?i/2*a.w(2,10*(t-1))+r:i/2*(2-a.w(2,-10*--t))+r},easeInCirc:function(n,t,r,i,e){return-i*(a.t(1-(t/=e)*t)-1)+r},easeOutCirc:function(n,t,r,i,e){return i*a.t(1-(t=t/e-1)*t)+r},easeInOutCirc:function(n,t,r,i,e){return(t/=e/2)<1?-i/2*(a.t(1-t*t)-1)+r:i/2*(a.t(1-(t-=2)*t)+1)+r},easeInElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),-f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)+r)},easeOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:1==(t/=e)?r+i:(u||(u=.3*e),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),f*a.w(2,-10*t)*a.s((t*e-o)*(2*a.p)/u)+i+r)},easeInOutElastic:function(n,t,r,i,e){var o=a.o,u=0,f=i;return 0==t?r:2==(t/=e/2)?r+i:(u||(u=e*(.3*1.5)),o=f<a.a(i)?(f=i,u/4):u/(2*a.p)*a.n(i/f),t<1?f*a.w(2,10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*-.5+r:f*a.w(2,-10*(t-=1))*a.s((t*e-o)*(2*a.p)/u)*.5+i+r)},easeInBack:function(n,t,r,i,e,o){return i*(t/=e)*t*(((o=o||a.o)+1)*t-o)+r},easeOutBack:function(n,t,r,i,e,o){return i*((t=t/e-1)*t*(((o=o||a.o)+1)*t+o)+1)+r},easeInOutBack:function(n,t,r,i,e,o){return o=o||a.o,(t/=e/2)<1?i/2*(t*t*((1+(o*=1.525))*t-o))+r:i/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+r},easeInBounce:function(n,t,r,i,e){return i-this.easeOutBounce(n,e-t,0,i,e)+r},easeOutBounce:function(n,t,r,i,e){var o=7.5625;return(t/=e)<1/2.75?i*(o*t*t)+r:t<2/2.75?i*(o*(t-=1.5/2.75)*t+.75)+r:t<2.5/2.75?i*(o*(t-=2.25/2.75)*t+.9375)+r:i*(o*(t-=2.625/2.75)*t+.984375)+r},easeInOutBounce:function(n,t,r,i,e){return t<e/2?.5*this.easeInBounce(n,2*t,0,i,e)+r:.5*this.easeOutBounce(n,2*t-e,0,i,e)+.5*i+r}}),Le=function(){var l=/[^\x20\t\r\n\f]+/g,v=" ",I="scrollLeft",k="scrollTop",C=[],s=He.type,o={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},h=function(){var n,t,r,i,e,o,u=arguments[0]||{},f=1,a=arguments[zt],c=!1;for(s(u)==xt&&(c=u,u=arguments[1]||{},f=2),s(u)!=mt&&!s(u)==wt&&(u={}),a===f&&(u=L,--f);f<a;f++)if(null!=(e=arguments[f]))for(i in e)n=u[i],u!==(r=e[i])&&(c&&r&&(E(r)||(t=He.isA(r)))?(o=t?(t=!1,n&&He.isA(n)?n:[]):n&&E(n)?n:{},u[i]=h(c,o,r)):r!==xe&&(u[i]=r));return u},A=function(n,t,r){for(var i=r||0;i<t[zt];i++)if(t[i]===n)return i;return-1},H=function(n){return s(n)==wt},N=function(n){for(var t in n)return!1;return!0},E=function(n){if(!n||s(n)!=mt)return!1;var t,r=Se,i=Object[r].hasOwnProperty,e=i.call(n,"constructor"),o=n.constructor&&n.constructor[r]&&i.call(n.constructor[r],"isPrototypeOf");if(n.constructor&&!e&&!o)return!1;for(t in n);return s(t)==p||i.call(n,t)},t=function(n,t){var r=0;if(u(n))for(;r<n[zt]&&!1!==t.call(n[r],r,n[r]);r++);else for(r in n)if(!1===t.call(n[r],r,n[r]))break;return n},L=function(n){if(0===arguments[zt])return this;var t,r,i=new L,e=n,o=0;if(s(n)==yt)for(e=[],t="<"===n.charAt(0)?((r=pt.createElement("div")).innerHTML=n,r.children):pt.querySelectorAll(n);o<t[zt];o++)e.push(t[o]);if(e){for(s(e)==yt||u(e)&&e!==dt&&e!==e.self||(e=[e]),o=0;o<e[zt];o++)i[o]=e[o];i[zt]=e[zt]}return i};function u(n){var t=!!n&&[zt]in n&&n[zt],r=s(n);return!H(r)&&(r==gt||0===t||s(t)==Ot&&0<t&&t-1 in n)}function d(n){return(n.match(l)||[]).join(v)}function f(n,t){for(var r=(n.parentNode||pt).querySelectorAll(t)||[],i=r[zt];i--;)if(r[i]==n)return!0;return!1}function e(n,t,r){if(s(r)==gt)for(var i=0;i<r[zt];i++)e(n,t,r[i]);else s(r)==yt?n.insertAdjacentHTML(t,r):n.insertAdjacentElement(t,r.nodeType?r:r[0])}function a(n,t,r){try{n[Oe][t]!==xe&&(n[Oe][t]=function i(n,t){o[n.toLowerCase()]||s(t)!=Ot||(t+="px");return t}(t,r))}catch(e){}}function R(n,t){var r,i;!1!==t&&n.q.splice(0,1),0<n.q[zt]?(i=n.q[0],c(n.el,i.props,i.duration,i.easing,i.complete,!0)):-1<(r=A(n,C))&&C.splice(r,1)}function D(n,t,r){t===I||t===k?n[t]=r:a(n,t,r)}function c(n,t,r,i,e,o){var u,f,a,c,s,l,v=E(r),h={},d={},p=0;for(l=v?(i=r.easing,r.start,a=r.progress,c=r.step,s=r.specialEasing,e=r.complete,r.duration):r,s=s||{},l=l||400,i=i||"swing",o=o||!1;p<C[zt];p++)if(C[p].el===n){f=C[p];break}for(u in f||(f={el:n,q:[]},C.push(f)),t)h[u]=u===I||u===k?n[u]:L(n).css(u);for(u in h)h[u]!==t[u]&&t[u]!==xe&&(d[u]=t[u]);if(N(d))o&&R(f);else{var b,m,w,g,y,x,O,S,_,z=o?0:A(T,f.q),T={props:d,duration:v?r:l,easing:i,complete:e};if(-1===z&&(z=f.q[zt],f.q.push(T)),0===z)if(0<l)O=He.now(),S=function(){for(u in b=He.now(),_=b-O,m=T.stop||l<=_,w=1-(Ne.max(0,O+l-b)/l||0),d)g=parseFloat(h[u]),y=parseFloat(d[u]),x=(y-g)*M[s[u]||i](w,w*l,0,1,l)+g,D(n,u,x),H(c)&&c(x,{elem:n,prop:u,start:g,now:x,end:y,pos:w,options:{easing:i,speacialEasing:s,duration:l,complete:e,step:c},startTime:O});H(a)&&a({},w,Ne.max(0,l-_)),m?(R(f),H(e)&&e()):T.frame=He.rAF()(S)},T.frame=He.rAF()(S);else{for(u in d)D(n,u,d[u]);R(f)}}}return L[Se]={on:function(t,r){var i,e=(t=(t||"").match(l)||[""])[zt],o=0;return this.each(function(){i=this;try{if(i.addEventListener)for(;o<e;o++)i.addEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.attachEvent("on"+t[o],r)}catch(n){}})},off:function(t,r){var i,e=(t=(t||"").match(l)||[""])[zt],o=0;return this.each(function(){i=this;try{if(i.removeEventListener)for(;o<e;o++)i.removeEventListener(t[o],r);else if(i.detachEvent)for(;o<e;o++)i.detachEvent("on"+t[o],r)}catch(n){}})},one:function(n,e){return n=(n||"").match(l)||[""],this.each(function(){var i=L(this);L.each(n,function(n,t){var r=function(n){e.call(this,n),i.off(t,r)};i.on(t,r)})})},trigger:function(n){var t,r;return this.each(function(){t=this,pt.createEvent?((r=pt.createEvent("HTMLEvents")).initEvent(n,!0,!1),t.dispatchEvent(r)):t.fireEvent("on"+n)})},append:function(n){return this.each(function(){e(this,"beforeend",n)})},prepend:function(n){return this.each(function(){e(this,"afterbegin",n)})},before:function(n){return this.each(function(){e(this,"beforebegin",n)})},after:function(n){return this.each(function(){e(this,"afterend",n)})},remove:function(){return this.each(function(){var n=this.parentNode;null!=n&&n.removeChild(this)})},unwrap:function(){var n,t,r,i=[];for(this.each(function(){r=this.parentNode,-1===A(r,i)&&i.push(r)}),n=0;n<i[zt];n++){for(t=i[n],r=t.parentNode;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}return this},wrapAll:function(n){for(var t,r=this,i=L(n)[0],e=i,o=r[0].parentNode,u=r[0].previousSibling;0<e.childNodes[zt];)e=e.childNodes[0];for(t=0;r[zt]-t;e.firstChild===r[0]&&t++)e.appendChild(r[t]);var f=u?u.nextSibling:o.firstChild;return o.insertBefore(i,f),this},wrapInner:function(r){return this.each(function(){var n=L(this),t=n.contents();t[zt]?t.wrapAll(r):n.append(r)})},wrap:function(n){return this.each(function(){L(this).wrapAll(n)})},css:function(n,t){var r,i,e,o=dt.getComputedStyle;return s(n)==yt?t===xe?(r=this[0],e=o?o(r,null):r.currentStyle[n],o?null!=e?e.getPropertyValue(n):r[Oe][n]:e):this.each(function(){a(this,n,t)}):this.each(function(){for(i in n)a(this,i,n[i])})},hasClass:function(n){for(var t,r,i=0,e=v+n+v;t=this[i++];){if((r=t.classList)&&r.contains(n))return!0;if(1===t.nodeType&&-1<(v+d(t.className+"")+v).indexOf(e))return!0}return!1},addClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===xe&&(f=a!==xe),f)for(;o=t[s++];)a.add(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)i.indexOf(v+o+v)<0&&(i+=o+v);e!==(u=d(i))&&(r.className=u)}return this},removeClass:function(n){var t,r,i,e,o,u,f,a,c=0,s=0;if(n)for(t=n.match(l)||[];r=this[c++];)if(a=r.classList,f===xe&&(f=a!==xe),f)for(;o=t[s++];)a.remove(o);else if(e=r.className+"",i=1===r.nodeType&&v+d(e)+v){for(;o=t[s++];)for(;-1<i.indexOf(v+o+v);)i=i.replace(v+o+v,v);e!==(u=d(i))&&(r.className=u)}return this},hide:function(){return this.each(function(){this[Oe].display="none"})},show:function(){return this.each(function(){this[Oe].display="block"})},attr:function(n,t){for(var r,i=0;r=this[i++];){if(t===xe)return r.getAttribute(n);r.setAttribute(n,t)}return this},removeAttr:function(n){return this.each(function(){this.removeAttribute(n)})},offset:function(){var n=this[0].getBoundingClientRect(),t=dt.pageXOffset||pt.documentElement[I],r=dt.pageYOffset||pt.documentElement[k];return{top:n.top+r,left:n.left+t}},position:function(){var n=this[0];return{top:n.offsetTop,left:n.offsetLeft}},scrollLeft:function(n){for(var t,r=0;t=this[r++];){if(n===xe)return t[I];t[I]=n}return this},scrollTop:function(n){for(var t,r=0;t=this[r++];){if(n===xe)return t[k];t[k]=n}return this},val:function(n){var t=this[0];return n?(t.value=n,this):t.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){return L(this[0<=n?n:this[zt]+n])},find:function(t){var r,i=[];return this.each(function(){var n=this.querySelectorAll(t);for(r=0;r<n[zt];r++)i.push(n[r])}),L(i)},children:function(n){var t,r,i,e=[];return this.each(function(){for(r=this.children,i=0;i<r[zt];i++)t=r[i],n?(t.matches&&t.matches(n)||f(t,n))&&e.push(t):e.push(t)}),L(e)},parent:function(n){var t,r=[];return this.each(function(){t=this.parentNode,n&&!L(t).is(n)||r.push(t)}),L(r)},is:function(n){var t,r;for(r=0;r<this[zt];r++){if(t=this[r],":visible"===n)return!!(t[Ie]||t[_e]||t.getClientRects()[zt]);if(":hidden"===n)return!(t[Ie]||t[_e]||t.getClientRects()[zt]);if(t.matches&&t.matches(n)||f(t,n))return!0}return!1},contents:function(){var n,t,r=[];return this.each(function(){for(n=this.childNodes,t=0;t<n[zt];t++)r.push(n[t])}),L(r)},each:function(n){return t(this,n)},animate:function(n,t,r,i){return this.each(function(){c(this,n,t,r,i)})},stop:function(n,t){return this.each(function(){!function f(n,t,r){for(var i,e,o,u=0;u<C[zt];u++)if((i=C[u]).el===n){if(0<i.q[zt]){if((e=i.q[0]).stop=!0,He.cAF()(e.frame),i.q.splice(0,1),r)for(o in e.props)D(n,o,e.props[o]);t?i.q=[]:R(i,!1)}break}}(this,n,t)})}},h(L,{extend:h,inArray:A,isEmptyObject:N,isPlainObject:E,each:t}),L}(),Re=(e=[],o="__overlayScrollbars__",function(n,t){var r=arguments[zt];if(r<1)return e;if(t)n[o]=t,e.push(n);else{var i=He.inA(n,e);if(-1<i){if(!(1<r))return e[i][o];delete n[o],e.splice(i,1)}}}),r=function(){var f,a,I,n,t,r,i,u,e,c=[],ht=(u={className:["os-theme-dark",[h,yt]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:n=[!0,xt],clipAlways:n,normalizeRTL:n,paddingAbsolute:t=[!(I=[xt,Ot,yt,gt,mt,wt,h]),xt],autoUpdate:[null,[h,xt]],autoUpdateInterval:[33,Ot],nativeScrollbarsOverlaid:{showNativeScrollbars:t,initialize:n},overflowBehavior:{x:["scroll",i="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",i]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,Ot],dragScrolling:n,clickScrolling:t,touchSupport:n,snapHandle:t},textarea:{dynWidth:t,dynHeight:t,inheritedAttrs:[["style","class"],[yt,gt,h]]},callbacks:{onInitialized:r=[null,[h,wt]],onInitializationWithdrawn:r,onDestroyed:r,onScrollStart:r,onScroll:r,onScrollStop:r,onOverflowChanged:r,onOverflowAmountChanged:r,onDirectionChanged:r,onContentSizeChanged:r,onHostSizeChanged:r,onUpdated:r}},{T:(e=function(e){var o=function(n){var t,r,i;for(t in n)n.hasOwnProperty(t)&&(r=n[t],(i=He.type(r))==gt?n[t]=r[e?1:0]:i==mt&&(n[t]=o(r)));return n};return o(Le.extend(!0,{},u))})(),I:e(!0),k:function(n,t,_,z,r){var i={},e=Le.extend(!0,{},n),T=function(n,t,r,i){for(var e in t)if(t.hasOwnProperty(e)&&n.hasOwnProperty(e)){var o,u,f,a,c,s,l,v,h=!1,d=t[e],p=He.type(d),b=p==mt,m=He.type(d)!=gt?[d]:d,w=n[e],g=He.type(w),y=i?i+".":"",x='The option "'+y+e+"\" wasn't set, because",O=[],S=[];if(b&&g==mt)r[e]={},T(w,d,r[e],y+e),Le.isEmptyObject(w)&&delete n[e];else if(!b){for(s=0;s<m.length;s++)if(c=m[s],f=(p=He.type(c))==yt&&-1===Le.inArray(c,I))for(O.push(yt),o=c.split(" "),S=S.concat(o),l=0;l<o.length;l++){for(a=(u=o[l].split(":"))[0],v=0;v<u.length;v++)if(w===u[v]){h=!0;break}if(h)break}else if(O.push(c),g===c){h=!0;break}h?r[e]=f&&z?a:w:_&&console.warn(x+" it doesn't accept the type [ "+g.toUpperCase()+' ] with the value of "'+w+'".\r\nAccepted types are: [ '+O.join(", ").toUpperCase()+" ]."+(0<S.length?"\r\nValid strings are: [ "+S.join(", ").split(":").join(", ")+" ].":"")),delete n[e]}}};return T(e,t,i),r?Le.extend(!0,i,e):!Le.isEmptyObject(e)&&_&&console.warn("The following options are discarded due to invalidity:\r\n"+dt.JSON.stringify(e,null,2)),i}});function s(){f||(f=new o(ht.T)),a||(a=new l(f))}function o(n){var O=this,e="overflow",o="hidden",S=Le("body"),_=Le('<div id="os-dummy-scrollbar-size"><div></div></div>'),u=_[0],i=Le(_.children("div").eq(0));S.append(_),_.hide().show();var t,r,f,a,c,s,l,v,h,d=z(u),p={x:0===d.x,y:0===d.y};function z(n){return{x:n[_e]-n[ze],y:n[Ie]-n[ke]}}Le.extend(O,{defaultOptions:n,autoUpdateLoop:!1,autoUpdateRecommended:!He.mO(),nativeScrollbarSize:d,nativeScrollbarIsOverlaid:p,nativeScrollbarStyling:(_.addClass("os-viewport-native-scrollbars-invisible"),_.css(e,o).hide().css(e,"scroll").show(),u[_e]-u[ze]==0&&u[Ie]-u[ke]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(r=dt.navigator.userAgent,f="indexOf",a="substring",c=r[f]("MSIE "),s=r[f]("Trident/"),l=r[f]("Edge/"),v=r[f]("rv:"),h=parseInt,0<c?t=h(r[a](c+5,r[f](".",c)),10):0<s?t=h(r[a](v+3,r[f](".",v)),10):0<l&&(t=h(r[a](l+5,r[f](".",l)),10)),t),cssCalc:function(){for(var n,t=pt.createElement("div")[Oe],r=-1;r<Ae.m[zt];r++)if(n=r<0?"calc":Ae.m[r]+"calc",t.cssText="width:"+n+"(1px);",t[zt])return n;return null}(),restrictedMeasuring:function(){_.css(e,o);var n=u[Ce],t=u[Te];_.css(e,"visible");var r=u[Ce],i=u[Te];return n-r!=0||t-i!=0}(),rtlScrollBehavior:function(){_.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var n=_.offset(),t=i.offset();_.scrollLeft(999);var r=i.offset();return{i:n.left===t.left,n:t.left-r.left==0}}(),supportTransform:null!==Ae.O("transform"),supportTransition:null!==Ae.O("transition"),supportPassiveEvents:function(){var n=!1;try{dt.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){n=!0}}))}catch(t){}return n}(),supportResizeObserver:!!He.rO(),supportMutationObserver:!!He.mO()}),_.removeAttr(Oe).remove(),function(){if(!p.x||!p.y){var m=Ne.abs,w=He.wW(),g=He.wH(),y=x();Le(dt).on("resize",function(){if(0<Re().length){var n=He.wW(),t=He.wH(),r=n-w,i=t-g;if(0===r&&0===i)return;var e,o=Ne.round(n/(w/100)),u=Ne.round(t/(g/100)),f=m(r),a=m(i),c=m(o),s=m(u),l=x(),v=2<f&&2<a,h=!function b(n,t){var r=m(n),i=m(t);return!(r===i||r+1===i||r-1===i)}(c,s),d=v&&h&&l!==y&&0<y,p=O.nativeScrollbarSize;d&&(S.append(_),e=O.nativeScrollbarSize=z(_[0]),_.remove(),p.x===e.x&&p.y===e.y||Le.each(Re(),function(){Re(this)&&Re(this).update("zoom")})),w=n,g=t,y=l}})}function x(){var n=dt.screen.deviceXDPI||0,t=dt.screen.logicalXDPI||1;return dt.devicePixelRatio||n/t}}()}function l(r){var c,s="autoUpdate",l=zt,v=[],h=[],d=!1,p=33,b=He.now(),m=function(){if(0<v[l]&&d){c=He.rAF()(function(){m()});var n,t,r,i,e,o,u=He.now(),f=u-b;if(p<f){b=u-f%p,n=33;for(var a=0;a<v[l];a++)(t=v[a])!==xe&&(i=(r=t.options())[s],e=Ne.max(1,r.autoUpdateInterval),o=He.now(),(!0===i||null===i)&&o-h[a]>e&&(t.update("auto"),h[a]=new Date(o+=e)),n=Ne.max(1,Ne.min(n,e)));p=n}}else p=33};this.add=function(n){-1===Le.inArray(n,v)&&(v.push(n),h.push(He.now()),0<v[l]&&!d&&(d=!0,r.autoUpdateLoop=d,m()))},this.remove=function(n){var t=Le.inArray(n,v);-1<t&&(h.splice(t,1),v.splice(t,1),0===v[l]&&d&&(d=!1,r.autoUpdateLoop=d,c!==xe&&(He.cAF()(c),c=-1)))}}function v(i,n,t,Tt,It){if(ut(i)){if(Re(i)){var r=Re(i);return r.options(n),r}var kt,Ct,At,Ht,L,Nt,Et,Lt,R,sn,d,k,s,Rt,Dt,Mt,Wt,jt,p,f,Ft,Bt,Pt,Qt,Ut,Vt,qt,Xt,Yt,$t,e,o,Gt,Kt,Jt,u,D,a,M,Zt,nr,tr,rr,ir,er,or,ur,fr,ar,cr,c,l,v,h,b,m,w,C,sr,lr,vr,A,hr,dr,pr,br,mr,wr,gr,yr,xr,Or,Sr,_r,zr,Tr,Ir,kr,H,Cr,Ar,Hr,Nr,Er,Lr,Rr,Dr,Mr,Wr,g,y,x,O,S,_,z,T,I,jr,Fr,Br,Pr,Qr,Ur,Vr,qr,Xr,Yr,$r,N,Gr,E,W,Kr,j,Jr,F,B,Zr,ni,ti,ri,ii,P,Q,U,ei,oi,ui,fi,ai,ci=new dt[bt],V=Le[Se],si={},ln={},vn={},li={},vi={},q="-hidden",hi="margin-",di="padding-",pi="border-",bi="top",mi="right",wi="bottom",gi="left",yi="min-",xi="max-",Oi="width",Si="height",_i="float",zi="",Ti="auto",Ii="scroll",ki="100%",Ci="x",Ai="y",X=".",Hi=" ",Y="scrollbar",$="-horizontal",G="-vertical",Ni=Ii+"Left",Ei=Ii+"Top",Li="mousedown touchstart",K="mouseup touchend touchcancel",J="mousemove touchmove",Z="mouseenter",nn="mouseleave",tn="keydown",rn="keyup",en="selectstart",on="transitionend webkitTransitionEnd oTransitionEnd",un="__overlayScrollbarsRO__",fn="os-",an="os-html",cn="os-host",hn=cn+"-textarea",dn=cn+"-"+Y+$+q,pn=cn+"-"+Y+G+q,bn=cn+"-transition",Ri=cn+"-rtl",Di=cn+"-resize-disabled",Mi=cn+"-scrolling",Wi=cn+"-overflow",ji=Wi+"-x",Fi=Wi+"-y",mn="os-textarea",wn=mn+"-cover",gn="os-padding",yn="os-viewport",xn=yn+"-native-scrollbars-invisible",On=yn+"-native-scrollbars-overlaid",Sn="os-content",Bi="os-content-arrange",Pi="os-content-glue",Qi="os-size-auto-observer",_n="os-resize-observer",zn="os-resize-observer-item",Tn=zn+"-final",In="os-text-inherit",kn=fn+Y,Cn=kn+"-track",An=Cn+"-off",Hn=kn+"-handle",Nn=Hn+"-off",En=kn+"-unusable",Ln=kn+"-"+Ti+q,Rn=kn+"-corner",Ui=Rn+"-resize",Vi=Ui+"-both",qi=Ui+$,Xi=Ui+G,Dn=kn+$,Mn=kn+G,Wn="os-dragging",Yi="os-theme-none",jn=[],Fn={},$i={},Gi=42,Bn=[];if(ci.sleep=function(){$t=!0},ci.update=function(n){var t,r,i=ct(n)==yt,e=i&&"+"==n.slice(-1);i?0===n.indexOf(Ti)?(t=function d(){if($t||Kr)return!1;var n=nr.attr(_t)||zi,t=pe(n,g),r=nr.attr(St)||zi,i=pe(r,y),e=nr.attr(Oe)||zi,o=pe(e,x),u=nr.is(":visible")||zi,f=pe(u,O),a=Wt&&Zt.attr("rows")||zi,c=pe(a,S),s=Wt&&Zt.attr("cols")||zi,l=pe(s,_),v=Wt&&Zt.attr("wrap")||zi,h=pe(v,z);return g=n,i&&(i=Jn(y,r)),y=r,x=e,O=u,S=a,_=s,z=v,t||i||o||f||c||l||h}(),r=function c(){if($t)return!1;var n,t,r,i,e=Wt&&xr&&!Mr?Zt.val().length:0,o=!Kr&&xr&&!Wt,u={},f={};Rt&&(u={x:dr[Ce],y:dr[Te]}),o&&(n=or.css(_i),f[_i]=Yt?mi:gi,f[Oi]=Ti,or.css(f));var a={w:he()[Ce]+e,h:he()[Te]+e};return o&&(f[_i]=n,f[Oi]=ki,or.css(f)),t=te(),r=be(a,T),i=be(u,N,Ci,Ai),T=a,N=u,r||t||i}(),(t||r||e)&&ie(!1,r,!1,e)):"zoom"===n&&ie(!0,!0):(n=$t||n,ie($t=!1,!1,n,!0)),Wt||or.find("img").each(function(n,t){-1===He.inA(t,Bn)&&Le(t).off("load",Kn).on("load",Kn)})},ci.options=function(n,t){if(Le.isEmptyObject(n)||!Le.isPlainObject(n)){if(ct(n)!=yt)return o;if(1<arguments.length){var r={};return function a(n,t,r){for(var i=t.split(X),e=i.length,o=0,u={},f=u;o<e;o++)u=u[i[o]]=o+1<e?{}:r;Le.extend(n,f,!0)}(r,n,t),Zn(r),void ie()}return at(o,n)}Zn(n);var i=$t||!1;$t=!1,ie(),$t=i},ci.destroy=function(){for(var n in Mt=!0,It.remove(ci),Zi(),Un(rr),Bt&&Un(tr),Fn)ci.removeExt(n);ne(!0),tt(!0),fr&&st(fr),ur&&st(ur),Bt&&st(tr),rt(!0),et(!0),nt(!0);for(var t=0;t<Bn[zt];t++)Le(Bn[t]).off("load",Kn);for(var r in Bn=xe,Re(i,0),se("onDestroyed"),ci)delete ci[r];ci=xe},ci.scroll=function(n,t,r,i){if(0===arguments.length||n===xe){var e=ln,o=vn,u=Ur&&Yt&&At.i,f=Ur&&Yt&&At.n,a=e.C,c=e.A,s=e.H;return c=u?1-c:c,a=u?s-a:a,s*=f?-1:1,{position:{x:a*=f?-1:1,y:o.C},ratio:{x:c,y:o.A},max:{x:s,y:o.H},handleOffset:{x:e.N,y:o.N},handleLength:{x:e.L,y:o.L},handleLengthRatio:{x:e.R,y:o.R},trackLength:{x:e.D,y:o.D},snappedHandleOffset:{x:e.M,y:o.M},isRTL:Yt,isRTLNormalized:Ur}}var l,v,h,d,p,w,g,b,m,y=Ur,x=[Ci,gi,"l"],O=[Ai,bi,"t"],S=["+=","-=","*=","/="],_=ct(t)==mt,z=_?t.complete:i,T={},I={},k="begin",C="nearest",A="never",H="ifneeded",N=zt,E=[Ci,Ai,"xy","yx"],L=[k,"end","center",C],R=["always",A,H],D=n.hasOwnProperty("el"),M=D?n.el:n,W=!!(M instanceof Le||Ee)&&M instanceof Ee,j=!W&&ut(M),F=ct(z)!=wt?xe:function(){v&&fe(!0),h&&fe(!1),z()},B=function(n,t){for(l=0;l<t[N];l++)if(n===t[l])return!0;return!1},P=function(n,t){var r=n?x:O;if(ct(t=ct(t)==yt||ct(t)==Ot?[t,t]:t)==gt)return n?t[0]:t[1];if(ct(t)==mt)for(l=0;l<r[N];l++)if(r[l]in t)return t[r[l]]},Q=function(n,t){var r,i,e=ct(t)==yt;e&&ci.update(Ti+"+");var o,u,f=n?ln:vn,a=f.C,c=f.H,s=Yt&&n,l=s&&At.n&&!y,v="replace",h=eval;if((i=e?(2<t[N]&&(u=t.substr(0,2),-1<Le.inArray(u,S)&&(r=u)),t=(t=r?t.substr(2):t)[v](/min/g,0)[v](/</g,0)[v](/max/g,(l?"-":zi)+ki)[v](/>/g,(l?"-":zi)+ki)[v](/px/g,zi)[v](/%/g," * "+c*(s&&At.n?-1:1)/100)[v](/vw/g," * "+li.w)[v](/vh/g," * "+li.h),ve(isNaN(t)?ve(h(t),!0).toFixed():t)):t)!==xe&&!isNaN(i)&&ct(i)==Ot){var d=y&&s,p=a*(d&&At.n?-1:1),b=d&&At.i,m=d&&At.n;switch(p=b?c-p:p,r){case"+=":o=p+i;break;case"-=":o=p-i;break;case"*=":o=p*i;break;case"/=":o=p/i;break;default:o=i}o=b?c-o:o,o*=m?-1:1,o=s&&At.n?Ne.min(0,Ne.max(c,o)):Ne.max(0,Ne.min(c,o))}return o===a?xe:o},U=function(n,t,r,i){var e,o,u=[r,r],f=ct(n);if(f==t)n=[n,n];else if(f==gt){if(2<(e=n[N])||e<1)n=u;else for(1===e&&(n[1]=r),l=0;l<e;l++)if(ct(o=n[l])!=t||!B(o,i)){n=u;break}}else n=f==mt?[n[Ci]||r,n[Ai]||r]:u;return{x:n[0],y:n[1]}},V=function(n){var t,r,i=[],e=[bi,mi,wi,gi];for(l=0;l<n[N]&&l!==e[N];l++)(r=ct(t=n[l]))==xt?i.push(t?ve(m.css(hi+e[l])):0):i.push(r==Ot?t:0);return i};if(W||j){var q,X=D?n.margin:0,Y=D?n.axis:0,$=D?n.scroll:0,G=D?n.block:0,K=[0,0,0,0],J=ct(X);if(0===(m=W?M:Le(M))[N])return;ci.update(Ti+"+"),X=J==Ot||J==xt?V([X,X,X,X]):J==gt?2===(q=X[N])?V([X[0],X[1],X[0],X[1]]):4<=q?V(X):K:J==mt?V([X[bi],X[mi],X[wi],X[gi]]):K,p=B(Y,E)?Y:"xy",w=U($,yt,"always",R),g=U(G,yt,k,L),b=X;var Z=ln.C,nn=vn.C,tn=ir.offset(),rn=m.offset(),en={x:w.x==A||p==Ai,y:w.y==A||p==Ci};rn[bi]-=b[0],rn[gi]-=b[3];var on={x:Ne.round(rn[gi]-tn[gi]+Z),y:Ne.round(rn[bi]-tn[bi]+nn)};if(Yt&&(At.n||At.i||(on.x=Ne.round(tn[gi]-rn[gi]+Z)),At.n&&y&&(on.x*=-1),At.i&&y&&(on.x=Ne.round(tn[gi]-rn[gi]+(ln.H-Z)))),g.x!=k||g.y!=k||w.x==H||w.y==H||Yt){var un=m[0],fn=sn?un.getBoundingClientRect():{width:un[Ie],height:un[_e]},an={w:fn[Oi]+b[3]+b[1],h:fn[Si]+b[0]+b[2]},cn=function(n){var t=ce(n),r=t.W,i=t.j,e=t.F,o=g[e]==(n&&Yt?k:"end"),u="center"==g[e],f=g[e]==C,a=w[e]==A,c=w[e]==H,s=li[r],l=tn[i],v=an[r],h=rn[i],d=u?2:1,p=h+v/2,b=l+s/2,m=v<=s&&l<=h&&h+v<=l+s;a?en[e]=!0:en[e]||((f||c)&&(en[e]=!!c&&m,o=v<s?b<p:p<b),on[e]-=o||u?(s/d-v/d)*(n&&Yt&&y?-1:1):0)};cn(!0),cn(!1)}en.y&&delete on.y,en.x&&delete on.x,n=on}T[Ni]=Q(!0,P(!0,n)),T[Ei]=Q(!1,P(!1,n)),v=T[Ni]!==xe,h=T[Ei]!==xe,(v||h)&&(0<t||_)?_?(t.complete=F,er.animate(T,t)):(d={duration:t,complete:F},ct(r)==gt||Le.isPlainObject(r)?(I[Ni]=r[0]||r.x,I[Ei]=r[1]||r.y,d.specialEasing=I):d.easing=r,er.animate(T,d)):(v&&er[Ni](T[Ni]),h&&er[Ei](T[Ei]))},ci.scrollStop=function(n,t,r){return er.stop(n,t,r),ci},ci.getElements=function(n){var t={target:sr,host:lr,padding:hr,viewport:dr,content:pr,scrollbarHorizontal:{scrollbar:c[0],track:l[0],handle:v[0]},scrollbarVertical:{scrollbar:h[0],track:b[0],handle:m[0]},scrollbarCorner:cr[0]};return ct(n)==yt?at(t,n):t},ci.getState=function(n){var t=function(n){if(!Le.isPlainObject(n))return n;var r=we({},n),t=function(n,t){r.hasOwnProperty(n)&&(r[t]=r[n],delete r[n])};return t("w",Oi),t("h",Si),delete r.c,r},r={sleeping:t($t)||!1,autoUpdate:t(!Kr),widthAuto:t(xr),heightAuto:t(Or),padding:t(zr),overflowAmount:t(Er),hideOverflow:t(yr),hasOverflow:t(gr),contentScrollSize:t(mr),viewportSize:t(li),hostSize:t(br),documentMixed:t(p)};return ct(n)==yt?at(r,n):r},ci.ext=function(n){var t,r="added removed on contract".split(" "),i=0;if(ct(n)==yt){if(Fn.hasOwnProperty(n))for(t=we({},Fn[n]);i<r.length;i++)delete t[r[i]]}else for(i in t={},Fn)t[i]=we({},ci.ext(i));return t},ci.addExt=function(n,t){var r,i,e,o,u=dt[bt].extension(n),f=!0;if(u){if(Fn.hasOwnProperty(n))return ci.ext(n);if((r=u.extensionFactory.call(ci,we({},u.defaultOptions),Le,He))&&(ct(e=r.contract)==wt&&(f=ct(o=e(dt))==xt?o:f),f))return ct(i=(Fn[n]=r).added)==wt&&i(t),ci.ext(n)}else console.warn('A extension with the name "'+n+"\" isn't registered.")},ci.removeExt=function(n){var t,r=Fn[n];return!!r&&(delete Fn[n],ct(t=r.removed)==wt&&t(),!0)},function vt(n,t,r){return e=Tt.defaultOptions,Nt=Tt.nativeScrollbarStyling,Lt=we({},Tt.nativeScrollbarSize),kt=we({},Tt.nativeScrollbarIsOverlaid),Ct=we({},Tt.overlayScrollbarDummySize),At=we({},Tt.rtlScrollBehavior),Zn(we({},e,ht.k(t,ht.I,!0))),kt.x&&kt.x&&!Gt.nativeScrollbarsOverlaid.initialize?(se("onInitializationWithdrawn"),!1):(Et=Tt.cssCalc,L=Tt.msie,Ht=Tt.autoUpdateRecommended,R=Tt.supportTransition,sn=Tt.supportTransform,d=Tt.supportPassiveEvents,k=Tt.supportResizeObserver,s=Tt.supportMutationObserver,Rt=Tt.restrictedMeasuring,D=Le(n.ownerDocument),C=D[0],u=Le(C.defaultView||C.parentWindow),w=u[0],a=lt(D,"html"),M=lt(a,"body"),Zt=Le(n),sr=Zt[0],Wt=Zt.is("textarea"),jt=Zt.is("body"),p=C!==pt,jt&&((i={}).l=Ne.max(Zt[Ni](),a[Ni](),u[Ni]()),i.t=Ne.max(Zt[Ei](),a[Ei](),u[Ei]())),nt(),tt(),rt(),it(!0),it(!1),et(),function c(){var t=w.top!==w,i={},e={},o={};function r(n){if(f(n)){var t=a(n),r={};(ui||oi)&&(r[Oi]=e.w+(t.x-i.x)*o.x),(fi||oi)&&(r[Si]=e.h+(t.y-i.y)*o.y),nr.css(r),He.stpP(n)}else u(n)}function u(n){var t=n!==xe;D.off(en,Gn).off(J,r).off(K,u),ye(M,Wn),cr.releaseCapture&&cr.releaseCapture(),t&&(U&&Ji(),ci.update(Ti)),U=!1}function f(n){var t=(n.originalEvent||n).touches!==xe;return!$t&&!Mt&&(1===He.mBtn(n)||t)}function a(n){return L&&t?{x:n.screenX,y:n.screenY}:He.page(n)}ai=function(n){f(n)&&(Kr&&(U=!0,Zi()),i=a(n),e.w=lr[Ie]-(Ft?0:Pt),e.h=lr[_e]-(Ft?0:Qt),o=ot(),D.on(en,Gn).on(J,r).on(K,u),ge(M,Wn),cr.setCapture&&cr.setCapture(),He.prvD(n),He.stpP(n))}}(),Vn(),jt&&(er[Ni](i.l)[Ei](i.t),pt.activeElement==n&&dr.focus&&(er.attr("tabindex","-1"),dr.focus(),er.one(Li,function(){er.removeAttr("tabindex")}))),Ki(rr,qn),qn(),ci.update(Ti),Dt=!0,se("onInitialized"),Le.each(jn,function(n,t){se(t.n,t.a)}),jn=[],ct(r)==yt&&(r=[r]),He.isA(r)?Le.each(r,function(n,t){ci.addExt(t)}):Le.isPlainObject(r)&&Le.each(r,function(n,t){ci.addExt(n,t)}),setTimeout(function(){R&&!Mt&&ge(nr,bn)},333),Dt);var i}(i,n,t))return Re(i,ci),ci;ci=xe}function Pn(n,t,r){for(var i=t.split(Hi),e=0;e<i.length;e++)n[0].addEventListener(i[e],r,{passive:!0})}function Qn(n,t,r){for(var i=t.split(Hi),e=0;e<i.length;e++)n[0].removeEventListener(i[e],r,{passive:!0})}function Ki(e,n){var o=3333333,t=He.rO(),r="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",i="childNodes",u=function(){e[Ei](o)[Ni](Yt?At.n?-o:At.i?0:o:o),n()};if(k){var f=e.append(de(_n+" observed")).contents()[0];(f[un]=new t(u)).observe(f)}else if(9<L||!Ht){e.prepend(de(_n,de({className:zn,dir:"ltr"},de(zn,de(Tn))+de(zn,de({className:Tn,style:"width: 200%; height: 200%"})))));var a,c,s,l,v=e[0][i][0][i][0],h=Le(v[i][1]),d=Le(v[i][0]),p=Le(d[0][i][0]),b=v[Ie],m=v[_e],w=Tt.nativeScrollbarSize,g=function(){d[Ni](o)[Ei](o),h[Ni](o)[Ei](o)},y=function(){c=0,a&&(b=s,m=l,u())},x=function(n){return s=v[Ie],l=v[_e],a=s!=b||l!=m,n&&a&&!c?(He.cAF()(c),c=He.rAF()(y)):n||y(),g(),n&&(He.prvD(n),He.stpP(n)),!1},O={},S={};le(S,zi,[-2*(w.y+1),-2*w.x,-2*w.y,-2*(w.x+1)]),Le(v).css(S),d.on(Ii,x),h.on(Ii,x),e.on(r,function(){x(!1)}),O[Oi]=o,O[Si]=o,p.css(O),g()}else{var _=C.attachEvent,z=L!==xe;if(_)e.prepend(de(_n)),lt(e,X+_n)[0].attachEvent("onresize",u);else{var T=C.createElement(mt);T.setAttribute("tabindex","-1"),T.setAttribute(St,_n),T.onload=function(){var n=this.contentDocument.defaultView;n.addEventListener("resize",u),n.document.documentElement.style.display="none"},T.type="text/html",z&&e.prepend(T),T.data="about:blank",z||e.prepend(T),e.on(r,u)}}if(e[0]===A){var I=function(){var n=nr.css("direction"),t={},r=0,i=!1;return n!==H&&(r="ltr"===n?(t[gi]=0,t[mi]=Ti,o):(t[gi]=Ti,t[mi]=0,At.n?-o:At.i?0:o),rr.children().eq(0).css(t),e[Ni](r)[Ei](o),H=n,i=!0),i};I(),e.on(Ii,function(n){return I()&&ie(),He.prvD(n),He.stpP(n),!1})}}function Un(n){if(k){var t=n.contents()[0];t[un].disconnect(),delete t[un]}else st(n.children(X+_n).eq(0))}function Vn(){if(s){var i,e,r,o,u,f,n=He.mO(),a=He.now();E=new n(function(n){if(Dt&&!$t){var t,r=!1;Le.each(n,function(){if(i=(t=this).target,e=t.attributeName,r=e===St?Jn(t.oldValue,i.className):e!==Oe||t.oldValue!==i[Oe].cssText)return!1}),r&&ci.update(Ti)}}),W=new n(function(n){if(Dt&&!$t){var t=!1;Le.each(n,function(){return!(t=function o(n){var t=n.attributeName,r=n.target,i=n.type,e="closest";if(r===pr)return null===t;if("attributes"===i&&(t===St||t===Oe)&&!Wt){if(t===St&&Le(r).hasClass(cn))return Jn(n.oldValue,r.getAttribute(St));if(typeof r[e]!=wt)return!0;if(null!==r[e](X+_n)||null!==r[e](X+kn)||null!==r[e](X+Rn))return!1}return!0}(this))}),t&&(o=He.now(),u=Or||xr,f=function(){Mt||(a=o,Wt&&re(),u?ie():ci.update(Ti))},clearTimeout(r),11<o-a||!u?f():r=setTimeout(f,11))}})}}function Ji(){s&&!Kr&&(E.observe(lr,{attributes:!0,attributeOldValue:!0,attributeFilter:[_t,St,Oe]}),W.observe(Wt?sr:pr,{attributes:!0,attributeOldValue:!0,subtree:!Wt,childList:!Wt,characterData:!Wt,attributeFilter:Wt?["wrap","cols","rows"]:[_t,St,Oe]}),Kr=!0)}function Zi(){s&&Kr&&(E.disconnect(),W.disconnect(),Kr=!1)}function qn(){if(!$t){var n,t={w:A[Ce],h:A[Te]};Dt?(n=be(t,I),I=t,n&&ie(!0,!1)):I=t}}function Xn(){ii&&oe(!0)}function Yn(){ii&&!M.hasClass(Wn)&&oe(!1)}function $n(){ri&&(oe(!0),clearTimeout(B),B=setTimeout(function(){ri&&!Mt&&oe(!1)},100))}function ne(n){var i=n?Qn:Pn,e=n?"off":"on",t=function(n,t,r){d?i(n,t,r):n[e](t,r)};ri&&!n?t(nr,J,$n):(n&&t(nr,J,$n),t(nr,Z,Xn),t(nr,nn,Yn)),Dt||n||nr.one("mouseover",Xn)}function Gn(n){return He.prvD(n),!1}function Kn(){ie(!1,!0)}function te(){var n={};return jt&&ur&&(n.w=ve(ur.css(yi+Oi)),n.h=ve(ur.css(yi+Si)),n.c=be(n,$r),n.f=!0),($r=n).c||!1}function Jn(n,t){var r=t!==xe&&null!==t?t.split(Hi):zi,i=n!==xe&&null!==n?n.split(Hi):zi;if(r===zi&&i===zi)return!1;var e,o,u,f,a,c=function d(n,t){var r,i,e=[],o=[];for(r=0;r<n.length;r++)e[n[r]]=!0;for(r=0;r<t.length;r++)e[t[r]]?delete e[t[r]]:e[t[r]]=!0;for(i in e)o.push(i);return o}(i,r),s=!1,l=qr!==xe&&null!==qr?qr.split(Hi):[zi],v=Vr!==xe&&null!==Vr?Vr.split(Hi):[zi],h=Le.inArray(Yi,c);for(-1<h&&c.splice(h,1),o=0;o<c.length;o++)if(0!==(e=c[o]).indexOf(cn)){for(a=f=!0,u=0;u<l.length;u++)if(e===l[u]){f=!1;break}for(u=0;u<v.length;u++)if(e===v[u]){a=!1;break}if(f&&a){s=!0;break}}return s}function re(){if(!$t){var n,t,r,i,e=!Mr,o=li.w,u=li.h,f={},a=xr||e;return f[yi+Oi]=zi,f[yi+Si]=zi,f[Oi]=Ti,Zt.css(f),n=sr[Ie],t=a?Ne.max(n,sr[Ce]-1):1,f[Oi]=xr?Ti:ki,f[yi+Oi]=ki,f[Si]=Ti,Zt.css(f),r=sr[_e],i=Ne.max(r,sr[Te]-1),f[Oi]=t,f[Si]=i,ar.css(f),f[yi+Oi]=o,f[yi+Si]=u,Zt.css(f),{B:n,P:r,U:t,V:i}}}function ie(n,t,r,i){var e=He.now(),o=0<Gi&&Dt&&e-Kt<Gi&&!Or&&!xr&&!i,u=nr.is(":hidden"),f=pe(u,Gr,r);if(Gr=u,clearTimeout(Jt),o&&($i.h=$i.h||n,$i.c=$i.c||t,$i.f=$i.f||r,Jt=setTimeout(ie,Gi)),!(Mt||o||$t||Dt&&!r&&u||"inline"===nr.css("display"))){Kt=e,n=n||$i.h,t=t||$i.c,r=r||$i.f,$i={},n=n!==xe&&n,t=t!==xe&&t,r=r!==xe&&r,!Nt||kt.x&&kt.y?Lt=we({},Tt.nativeScrollbarSize):(Lt.x=0,Lt.y=0),vi={x:3*(Lt.x+(kt.x?0:3)),y:3*(Lt.y+(kt.y?0:3))};var a={x:er[Ni](),y:er[Ei]()},c=Gt.scrollbars,s=Gt.textarea,l=c.visibility,v=pe(l,jr,r),h=c.autoHide,d=pe(h,Fr,r),p=c.clickScrolling,b=pe(p,Br,r),m=c.dragScrolling,w=pe(m,Pr,r),g=Gt.className,y=pe(g,Vr,r),x=Gt.resize,O=pe(x,Qr,r)&&!jt,S=!!Wt&&"off"!==Zt.attr("wrap"),_=pe(S,Mr,r),z=Gt.paddingAbsolute,T=pe(z,Cr,r),I=Gt.clipAlways,k=pe(I,Ar,r),C=Gt.sizeAutoCapable&&!jt,A=pe(C,Dr,r),H=Gt.nativeScrollbarsOverlaid.showNativeScrollbars,N=pe(H,Lr),E=Gt.autoUpdate,L=pe(E,Rr),R=Gt.overflowBehavior,D=be(R,Nr,Ci,Ai,r),M=s.dynWidth,W=pe(Yr,M),j=s.dynHeight,F=pe(Xr,j);if(ni="n"===h,ti="s"===h,ri="m"===h,ii="l"===h,Zr=c.autoHideDelay,qr=Vr,ei="n"===x,oi="b"===x,ui="h"===x,fi="v"===x,Ur=Gt.normalizeRTL,H=H&&kt.x&&kt.y,jr=l,Fr=h,Br=p,Pr=m,Vr=g,Qr=x,Mr=S,Cr=z,Ar=I,Dr=C,Lr=H,Rr=E,Nr=we({},R),Yr=M,Xr=j,gr=gr||{x:!1,y:!1},y&&(ye(nr,qr+Hi+Yi),ge(nr,g!==xe&&null!==g&&0<g.length?g:Yi)),L&&(!0===E?(Zi(),It.add(ci)):null===E&&Ht?(Zi(),It.add(ci)):(It.remove(ci),Ji())),A)if(C)if(fr?fr.show():(fr=Le(de(Pi)),ir.before(fr)),Bt)tr.show();else{tr=Le(de(Qi)),vr=tr[0],fr.before(tr);var B={w:-1,h:-1};Ki(tr,function(){var n={w:vr[Ie],h:vr[_e]};be(n,B)&&(Dt&&Or&&0<n.h||xr&&0<n.w?ie():(Dt&&!Or&&0===n.h||!xr&&0===n.w)&&ie()),B=n}),Bt=!0,null!==Et&&tr.css(Si,Et+"(100% + 1px)")}else Bt&&tr.hide(),fr&&fr.hide();r&&(rr.find("*").trigger(Ii),Bt&&tr.find("*").trigger(Ii));var P,Q=nr.css("direction"),U=pe(Q,kr,r),V=nr.css("box-sizing"),q=pe(V,_r,r),X={c:r,t:ve(nr.css(di+bi)),r:ve(nr.css(di+mi)),b:ve(nr.css(di+wi)),l:ve(nr.css(di+gi))};try{P=Bt?vr.getBoundingClientRect():null}catch(_t){return}Ft="border-box"===V;var Y=(Yt="rtl"===Q)?gi:mi,$=Yt?mi:gi,G=!1,K=!(!Bt||"none"===nr.css(_i))&&(0===Ne.round(P.right-P.left)&&(!!z||0<lr[ke]-Pt));if(C&&!K){var J=lr[Ie],Z=fr.css(Oi);fr.css(Oi,Ti);var nn=lr[Ie];fr.css(Oi,Z),(G=J!==nn)||(fr.css(Oi,J+1),nn=lr[Ie],fr.css(Oi,Z),G=J!==nn)}var tn=(K||G)&&C&&!u,rn=pe(tn,xr,r),en=!tn&&xr,on=!(!Bt||!C||u)&&0===Ne.round(P.bottom-P.top),un=pe(on,Or,r),fn=!on&&Or,an="-"+Oi,cn=tn&&Ft||!Ft,sn=on&&Ft||!Ft,ln={c:r,t:sn?ve(nr.css(pi+bi+an),!0):0,r:cn?ve(nr.css(pi+mi+an),!0):0,b:sn?ve(nr.css(pi+wi+an),!0):0,l:cn?ve(nr.css(pi+gi+an),!0):0},vn={c:r,t:ve(nr.css(hi+bi)),r:ve(nr.css(hi+mi)),b:ve(nr.css(hi+wi)),l:ve(nr.css(hi+gi))},hn={h:String(nr.css(xi+Si)),w:String(nr.css(xi+Oi))},dn={},pn={},bn=function(){return{w:lr[ke],h:lr[ze]}},mn=function(){return{w:hr[Ie]+Ne.max(0,pr[ke]-pr[Ce]),h:hr[_e]+Ne.max(0,pr[ze]-pr[Te])}},wn=Pt=X.l+X.r,gn=Qt=X.t+X.b;if(wn*=gn*=z?1:0,X.c=me(X,zr),Ut=ln.l+ln.r,Vt=ln.t+ln.b,ln.c=me(ln,Tr),qt=vn.l+vn.r,Xt=vn.t+vn.b,vn.c=me(vn,Ir),hn.ih=ve(hn.h),hn.iw=ve(hn.w),hn.ch=-1<hn.h.indexOf("px"),hn.cw=-1<hn.w.indexOf("px"),hn.c=be(hn,Sr,r),kr=Q,_r=V,xr=tn,Or=on,zr=X,Tr=ln,Ir=vn,Sr=hn,U&&Bt&&tr.css(_i,$),X.c||U||T||rn||un||q||A){var yn={},xn={};le(pn,hi,[-X.t,-X.r,-X.b,-X.l]),z?(le(yn,zi,[X.t,X.r,X.b,X.l]),le(Wt?xn:dn,di)):(le(yn,zi),le(Wt?xn:dn,di,[X.t,X.r,X.b,X.l])),ir.css(yn),Zt.css(xn)}li=mn();var On=!!Wt&&re();if(on&&(un||T||q||hn.c||X.c||ln.c)?(dn[xi+Si]=hn.ch?hn.ih-gn+(Ft?-Vt:Qt):zi,dn[Si]=Ti):(un||T)&&(dn[xi+Si]=zi,dn[Si]=ki),tn&&(rn||T||q||hn.c||X.c||ln.c||U)?(dn[xi+Oi]=hn.cw?hn.iw-wn+(Ft?-Ut:Pt)+(kt.y?Ct.y:0):zi,dn[Oi]=Ti,pn[xi+Oi]=ki):(rn||T)&&(dn[xi+Oi]=zi,dn[Oi]=ki,dn[_i]=zi,pn[xi+Oi]=zi),tn?(hn.cw||(dn[xi+Oi]=zi),pn[Oi]=Wt&&M?On.U:Ti,dn[Oi]=Ti,dn[_i]=$):pn[Oi]=zi,pn[Si]=on?(hn.ch||(dn[xi+Si]=zi),Wt?j?On.V:Ti:pr[ze]):zi,C&&fr.css(pn),or.css(dn),dn={},pn={},n||t||U||q||T||rn||tn||un||on||hn.c||N||D||k||O||v||d||w||b||W||F||_||r){var Sn="overflow",_n=Sn+"-x",zn=Sn+"-y",Tn=Rt?kt.x||kt.y||li.w<vi.y||li.h<vi.x||on||f:on,In={},kn=gr.y&&yr.ys&&!H?kt.y?er.css(Y):-Lt.y:0,Cn=gr.x&&yr.xs&&!H?kt.x?er.css(wi):-Lt.x:0;le(In,zi),er.css(In),Tn&&or.css(Sn,"hidden");var An=he(),Hn=Rt&&!Tn?dr:An,Nn={w:Wt&&On?M?On.U:On.B:An[ke],h:Wt&&On?j?On.V:On.P:An[ze]},En=Ne.max(An[Ce],Hn[Ce]),Ln=Ne.max(An[Te],Hn[Te]);In[wi]=fn?zi:Cn,In[Y]=en?zi:kn,er.css(In),li=mn();var Rn=bn(),Dn={w:Ne.max((tn?Nn.w:En)+wn,Rn.w),h:Ne.max((on?Nn.h:Ln)+gn,Rn.h)};if(Dn.c=be(Dn,Hr,r),Hr=Dn,C){(Dn.c||on||tn)&&(pn[Oi]=Dn.w,pn[Si]=Dn.h,Wt||(Nn={w:An[ke],h:An[ze]}));var Mn={},Wn=function(n){var t=ce(n),r=t.W,i=t.X,e=n?tn:on,o=n?Ut:Vt,u=n?Pt:Qt,f=n?qt:Xt,a=pn[i]+(Ft?o:-u);(!e||!e&&ln.c)&&(pn[i]=Rn[r]-(Ft?0:u+o)-1-f),e&&hn["c"+r]&&hn["i"+r]===a&&(pn[i]=a+(Ft?0:u)+1),e&&Nn[r]<li[r]&&(!n||Wt&&!S)&&(Wt&&(Mn[i]=ve(ar.css(i))-1),pn[i]-=1),0<Nn[r]&&(pn[i]=Ne.max(1,pn[i]))};Wn(!0),Wn(!1),Wt&&ar.css(Mn),fr.css(pn)}tn&&(dn[Oi]=ki),!tn||Ft||Kr||(dn[_i]="none"),or.css(dn),dn={};var jn={w:Ne.max(An[Ce],Hn[Ce]),h:Ne.max(An[Te],Hn[Te])};jn.c=t=be(jn,mr,r),mr=jn,Tn&&or.css(Sn,zi),li=mn(),n=be(Rn=bn(),br),br=Rn;var Fn=Wt&&(0===li.w||0===li.h),Bn=Er,Pn={},Qn={},Un={},Vn={},qn={},Xn={},Yn={},$n=hr.getBoundingClientRect(),Gn=function(n){var t=ce(n),r=ce(!n).F,i=t.F,e=t.W,o=t.X,u=Ii+t.Y+"Max",f=$n[o]?Ne.abs($n[o]-li[e]):0;Pn[i]="v-s"===R[i],Qn[i]="v-h"===R[i],Un[i]="s"===R[i],Vn[i]=Ne.max(0,Ne.round(100*(jn[e]-li[e]))/100),Vn[i]*=Fn||0===dr[u]&&0<f&&f<1?0:1,qn[i]=0<Vn[i],Xn[i]=Pn[i]||Qn[i]?qn[r]&&!Pn[r]&&!Qn[r]:qn[i],Xn[i+"s"]=!!Xn[i]&&(Un[i]||Pn[i]),Yn[i]=qn[i]&&Xn[i+"s"]};if(Gn(!0),Gn(!1),Vn.c=be(Vn,Er,Ci,Ai,r),Er=Vn,qn.c=be(qn,gr,Ci,Ai,r),gr=qn,Xn.c=be(Xn,yr,Ci,Ai,r),yr=Xn,kt.x||kt.y){var Kn,Jn={},Zn={},nt=r;(qn.x||qn.y)&&(Zn.w=kt.y&&qn.y?jn.w+Ct.y:zi,Zn.h=kt.x&&qn.x?jn.h+Ct.x:zi,nt=pe(Zn,wr,r),wr=Zn),(qn.c||Xn.c||jn.c||U||rn||un||tn||on||N)&&(dn[hi+$]=dn[pi+$]=zi,(Kn=function(n){var t=ce(n),r=ce(!n),i=t.F,e=n?wi:Y,o=n?on:tn;kt[i]&&qn[i]&&Xn[i+"s"]?(dn[hi+e]=o?H?zi:Ct[i]:zi,dn[pi+e]=n&&o||H?zi:Ct[i]+"px solid transparent"):(Zn[r.W]=dn[hi+e]=dn[pi+e]=zi,nt=!0)})(!0),Kn(!1)),H&&(Zn.w=Zn.h=zi,nt=!0),nt&&(Jn[Oi]=Xn.y?Zn.w:zi,Jn[Si]=Xn.x?Zn.h:zi,ur||(ur=Le(de(Bi)),er.prepend(ur)),ur.css(Jn)),or.css(dn)}var tt,rt={};yn={};if((n||qn.c||Xn.c||jn.c||D||q||N||U||k||un)&&(rt[$]=zi,(tt=function(n){var t=ce(n),r=ce(!n),i=t.F,e=t.$,o=n?wi:Y,u=function(){rt[o]=zi,si[r.W]=0};qn[i]&&Xn[i+"s"]?(rt[Sn+e]=Ii,H?u():(rt[o]=-(kt[i]?Ct[i]:Lt[i]),si[r.W]=kt[i]?Ct[r.F]:0)):(rt[Sn+e]=zi,u())})(!0),tt(!1),(li.h<vi.x||li.w<vi.y)&&(qn.x&&Xn.x&&!kt.x||qn.y&&Xn.y&&!kt.y)?(rt[di+bi]=vi.x,rt[hi+bi]=-vi.x,rt[di+$]=vi.y,rt[hi+$]=-vi.y):rt[di+bi]=rt[hi+bi]=rt[di+$]=rt[hi+$]=zi,rt[di+Y]=rt[hi+Y]=zi,qn.x&&Xn.x||qn.y&&Xn.y||Fn?Wt&&Fn&&(yn[_n]=yn[zn]="hidden"):(!I||Qn.x||Pn.x||Qn.y||Pn.y)&&(Wt&&(yn[_n]=yn[zn]=zi),rt[_n]=rt[zn]="visible"),ir.css(yn),er.css(rt),rt={},(qn.c||q||rn||un)&&(!kt.x||!kt.y))){var it=pr[Oe];it.webkitTransform="scale(1)",it.display="run-in",pr[_e],it.display=zi,it.webkitTransform=zi}if(dn={},U||rn||un)if(Yt&&tn){var et=or.css(_i),ot=Ne.round(or.css(_i,zi).css(gi,zi).position().left);or.css(_i,et),ot!==Ne.round(or.position().left)&&(dn[gi]=ot)}else dn[gi]=zi;if(or.css(dn),Wt&&t){var ut=function zt(){var n=sr.selectionStart;if(n===xe)return;var t,r,i="length",e=Zt.val(),o=e[i],u=e.split("\n"),f=u[i],a=e.substr(0,n).split("\n"),c=0,s=0,l=a[i],v=a[a[i]-1][i];for(r=0;r<u[i];r++)t=u[r][i],s<t&&(c=r+1,s=t);return{G:l,K:v,J:f,Z:s,nn:c,tn:n,rn:o}}();if(ut){var ft=Wr===xe||ut.J!==Wr.J,at=ut.G,ct=ut.K,st=ut.nn,lt=ut.J,vt=ut.Z,ht=ut.tn,dt=ut.rn<=ht&&Jr,pt={x:S||ct!==vt||at!==st?-1:Er.x,y:(S?dt||ft&&Bn!==xe&&a.y===Bn.y:(dt||ft)&&at===lt)?Er.y:-1};a.x=-1<pt.x?Yt&&Ur&&At.i?0:pt.x:a.x,a.y=-1<pt.y?pt.y:a.y}Wr=ut}Yt&&At.i&&kt.y&&qn.x&&Ur&&(a.x+=si.w||0),tn&&nr[Ni](0),on&&nr[Ei](0),er[Ni](a.x)[Ei](a.y);var bt="v"===l,mt="h"===l,wt="a"===l,gt=He.bind(ee,0,!0,!0,Yn.x),yt=He.bind(ee,0,!1,!0,Yn.y),xt=He.bind(ee,0,!0,!1,Yn.x),Ot=He.bind(ee,0,!1,!1,Yn.y);if(Xn.x||Xn.y?ge(nr,Wi):ye(nr,Wi),Xn.x?ge(nr,ji):ye(nr,ji),Xn.y?ge(nr,Fi):ye(nr,Fi),U&&(Yt?ge(nr,Ri):ye(nr,Ri)),jt&&ge(nr,Di),O){var St=function(){cr.off(Li,ai)};ye(cr,[Di,Ui,Vi,qi,Xi].join(Hi)),ei?(ge(nr,Di),St()):(ge(cr,Ui),oi?ge(cr,Vi):ui?ge(cr,qi):fi&&ge(cr,Xi),St(),cr.on(Li,ai))}(v||D||Xn.c||qn.c||N)&&(H?N&&(ye(nr,Mi),H&&(xt(),Ot())):wt?(Yn.x?gt():xt(),Yn.y?yt():Ot()):bt?(gt(),yt()):mt&&(xt(),Ot())),(d||N)&&(ii||ri?(ne(!0),ne()):ne(!0),ni?oe(!0):oe(!1,!0)),(n||Vn.c||un||rn||O||q||T||N||U)&&(ue(!0),fe(!0),ue(!1),fe(!1)),b&&ae(!0,p),w&&ae(!1,m),U&&se("onDirectionChanged",{isRTL:Yt,dir:Q}),n&&se("onHostSizeChanged",{width:br.w,height:br.h}),t&&se("onContentSizeChanged",{width:mr.w,height:mr.h}),(qn.c||Xn.c)&&se("onOverflowChanged",{x:qn.x,y:qn.y,xScrollable:Xn.xs,yScrollable:Xn.ys,clipped:Xn.x||Xn.y}),Vn.c&&se("onOverflowAmountChanged",{x:Vn.x,y:Vn.y})}jt&&(gr.c||$r.c)&&($r.f||te(),kt.y&&gr.x&&or.css(yi+Oi,$r.w+Ct.y),kt.x&&gr.y&&or.css(yi+Si,$r.h+Ct.x),$r.c=!1),se("onUpdated",{forced:r})}}function Zn(n){o=we({},o,ht.k(n,ht.I,!0)),Gt=we({},Gt,ht.k(n,ht.I,!1,!0))}function nt(i){var n=Gt.textarea.inheritedAttrs,e={},t=function(){var r=i?Zt:nr;Le.each(e,function(n,t){ct(t)==yt&&(n==St?r.addClass(t):r.attr(n,t))})},r=[cn,hn,Di,Ri,dn,pn,bn,Mi,Wi,ji,Fi,Yi,mn,In,Vr].join(Hi);if(ct(n=ct(n)==yt?n.split(" "):n)==gt&&Le.each(n,function(n,t){ct(t)==yt&&(e[t]=i?nr.attr(t):Zt.attr(t))}),i)or.contents().unwrap().unwrap().unwrap(),ye(nr,r),Wt?(Zt.removeAttr(Oe),f&&t(),ye(Zt,r),st(ar),f?(Zt.unwrap(),st(nr)):ge(nr,hn)):ye(Zt,cn),jt&&ye(a,an),st(rr);else{if(Wt){var o={},u=Zt.parent();f=!(u.hasClass(hn)&&1===u.children()[zt]),Gt.sizeAutoCapable||(o[Oi]=Zt.css(Oi),o[Si]=Zt.css(Si)),f&&Zt.wrap(de(hn)),(nr=Zt.parent()).css(o).wrapInner(de(Sn+Hi+In)).wrapInner(de(yn+Hi+In)).wrapInner(de(gn+Hi+In)),or=lt(nr,X+Sn),er=lt(nr,X+yn),ir=lt(nr,X+gn),ar=Le(de(wn)),or.prepend(ar),ge(Zt,mn+Hi+In),f&&t()}else(nr=Zt).wrapInner(de(Sn)).wrapInner(de(yn)).wrapInner(de(gn)),or=lt(nr,X+Sn),er=lt(nr,X+yn),ir=lt(nr,X+gn),ge(Zt,cn);Nt&&ge(er,kt.x&&kt.y?On:xn),jt&&ge(a,an),rr=Le(de("os-resize-observer-host")),nr.prepend(rr),A=rr[0],lr=nr[0],hr=ir[0],dr=er[0],pr=or[0]}}function tt(n){var r,t,i,e,o=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],u=[],f=n?"off":"on";!n&&Wt&&(i=function(n){re(),ci.update(Ti),n&&clearInterval(r)},(j={})[Ii]=function(n){return Zt[Ni](At.i&&Ur?9999999:0),Zt[Ei](0),He.prvD(n),He.stpP(n),!1},j.drop=function(){setTimeout(function(){Mt||i()},50)},j.focus=function(){Jr=!0},j.focusout=function(){i(!(Jr=!(u=[])))},9<L||!Ht?j.input=function(){i()}:(j[tn]=function(n){var t=n.keyCode;-1<Le.inArray(t,o)||(u.length||(i(),r=setInterval(i,1e3/60)),-1===Le.inArray(t,u)&&u.push(t))},j[rn]=function(n){var t=n.keyCode,r=Le.inArray(t,u);-1<Le.inArray(t,o)||(-1<r&&u.splice(r,1),u.length||i(!0))})),Wt?Le.each(j,function(n,t){Zt[f](n,t)}):or[f](on,function(n){!0!==Rr&&function l(n){if(!Dt)return!0;var t="flex-grow",r="flex-shrink",i="flex-basis",e=[Oi,yi+Oi,xi+Oi,hi+gi,hi+mi,gi,mi,"font-weight","word-spacing",t,r,i],o=[di+gi,di+mi,pi+gi+Oi,pi+mi+Oi],u=[Si,yi+Si,xi+Si,hi+bi,hi+wi,bi,wi,"line-height",t,r,i],f=[di+bi,di+wi,pi+bi+Oi,pi+wi+Oi],a="s"===Nr.x||"v-s"===Nr.x,c=!1,s=function(n,t){for(var r=0;r<n[zt];r++)if(n[r]===t)return!0;return!1};return("s"===Nr.y||"v-s"===Nr.y)&&((c=s(u,n))||Ft||(c=s(f,n))),a&&!c&&((c=s(e,n))||Ft||(c=s(o,n))),c}((n=n.originalEvent||n).propertyName)&&ie(Ti)}),n||(e=function(n){$t||(t!==xe?clearTimeout(t):((ti||ri)&&oe(!0),ft()||ge(nr,Mi),se("onScrollStart",n)),Q||(fe(!0),fe(!1)),se("onScroll",n),t=setTimeout(function(){Mt||(clearTimeout(t),t=xe,(ti||ri)&&oe(!1),ft()||ye(nr,Mi),se("onScrollStop",n))},175))},d?Pn(er,Ii,e):er.on(Ii,e))}function rt(n){n?(st(c),st(h)):(c=Le(de(kn+Hi+Dn)),l=Le(de(Cn)),v=Le(de(Hn)),h=Le(de(kn+Hi+Mn)),b=Le(de(Cn)),m=Le(de(Hn)),c.append(l),l.append(v),h.append(b),b.append(m),ir.after(h),ir.after(c))}function it(O){var S,e,_,z,r=ce(O),T=r["in"],t=w.top!==w,I=r.F,i=r.$,k=Ii+r.Y,o="active",u="snapHandle",C=1,f=[16,17];function a(n){return L&&t?n["screen"+i]:He.page(n)[I]}function c(n){return Gt.scrollbars[n]}function s(){C=.5}function l(){C=1}function v(n){-1<Le.inArray(n.keyCode,f)&&s()}function A(n){-1<Le.inArray(n.keyCode,f)&&l()}function H(n){var t=(n.originalEvent||n).touches!==xe;return!($t||Mt||ft()||!Pr||t&&!c("touchSupport"))&&(1===He.mBtn(n)||t)}function h(n){if(H(n)){var t=T.D,r=T.L,i=T.H*((a(n)-_)*z/(t-r));i=isFinite(i)?i:0,Yt&&O&&!At.i&&(i*=-1),er[k](Ne.round(e+i)),Q&&fe(O,e+i),d||He.prvD(n)}else N(n)}function N(n){if(n=n||n.originalEvent,D.off(J,h).off(K,N).off(tn,v).off(rn,A).off(en,Gn),Q&&fe(O,!0),Q=!1,ye(M,Wn),ye(r.en,o),ye(r.un,o),ye(r.an,o),_=e=xe,z=1,l(),S!==xe&&(ci.scrollStop(),clearTimeout(S),S=xe),n){var t=lr.getBoundingClientRect();n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom||Yn(),(ti||ri)&&oe(!1)}}function E(n){e=er[k](),e=isNaN(e)?0:e,(Yt&&O&&!At.n||!Yt)&&(e=e<0?0:e),z=ot()[I],_=a(n),Q=!c(u),ge(M,Wn),ge(r.en,o),ge(r.an,o),D.on(J,h).on(K,N).on(en,Gn),!L&&p||He.prvD(n),He.stpP(n)}r.en.on(Li,function(n){H(n)&&E(n)}),r.un.on(Li,function(n){if(H(n)){var h,d=Ne.round(li[r.W]),p=r.un.offset()[r.j],t=n.ctrlKey,b=n.shiftKey,m=b&&t,w=!0,g=function(n){Q&&fe(O,n)},y=function(){g(),E(n)},x=function(){if(!Mt){var n=(_-p)*z,t=T.N,r=T.D,i=T.L,e=T.H,o=T.C,u=270*C,f=w?Ne.max(400,u):u,a=e*((n-i/2)/(r-i)),c=Yt&&O&&(!At.i&&!At.n||Ur),s=c?t<n:n<t,l={},v={easing:"linear",step:function(n){Q&&(er[k](n),fe(O,n))}};a=isFinite(a)?a:0,a=Yt&&O&&!At.i?e-a:a,b?(er[k](a),m?(a=er[k](),er[k](o),a=c&&At.i?e-a:a,a=c&&At.n?-a:a,l[I]=a,ci.scroll(l,we(v,{duration:130,complete:y}))):y()):(h=w?s:h,(c?h?n<=t+i:t<=n:h?t<=n:n<=t+i)?(clearTimeout(S),ci.scrollStop(),S=xe,g(!0)):(S=setTimeout(x,f),l[I]=(h?"-=":"+=")+d,ci.scroll(l,we(v,{duration:u}))),w=!1)}};t&&s(),z=ot()[I],_=He.page(n)[I],Q=!c(u),ge(M,Wn),ge(r.un,o),ge(r.an,o),D.on(K,N).on(tn,v).on(rn,A).on(en,Gn),x(),He.prvD(n),He.stpP(n)}}).on(Z,function(){P=!0,(ti||ri)&&oe(!0)}).on(nn,function(){P=!1,(ti||ri)&&oe(!1)}),r.an.on(Li,function(n){He.stpP(n)}),R&&r.an.on(on,function(n){n.target===r.an[0]&&(ue(O),fe(O))})}function ee(n,t,r){var i=n?dn:pn,e=n?c:h;t?ye(nr,i):ge(nr,i),r?ye(e,En):ge(e,En)}function oe(n,t){if(clearTimeout(F),n)ye(c,Ln),ye(h,Ln);else{var r,i=function(){P||Mt||(!(r=v.hasClass("active")||m.hasClass("active"))&&(ti||ri||ii)&&ge(c,Ln),!r&&(ti||ri||ii)&&ge(h,Ln))};0<Zr&&!0!==t?F=setTimeout(i,Zr):i()}}function ue(n){var t={},r=ce(n),i=r["in"],e=Ne.min(1,(br[r.W]-(Cr?n?Pt:Qt:0))/mr[r.W]);t[r.X]=Ne.floor(100*e*1e6)/1e6+"%",ft()||r.en.css(t),i.L=r.en[0]["offset"+r.cn],i.R=e}function fe(n,t){var r,i,e=ct(t)==xt,o=Yt&&n,u=ce(n),f=u["in"],a="translate(",c=Ae.O("transform"),s=Ae.O("transition"),l=n?er[Ni]():er[Ei](),v=t===xe||e?l:t,h=f.L,d=u.un[0]["offset"+u.cn],p=d-h,b={},m=(dr[Ii+u.cn]-dr["client"+u.cn])*(At.n&&o?-1:1),w=function(n){return isNaN(n/m)?0:Ne.max(0,Ne.min(1,n/m))},g=function(n){var t=p*n;return t=isNaN(t)?0:t,t=o&&!At.i?d-h-t:t,t=Ne.max(0,t)},y=w(l),x=g(w(v)),O=g(y);f.H=m,f.C=l,f.A=y,sn?(r=o?-(d-h-x):x,i=n?a+r+"px, 0)":a+"0, "+r+"px)",b[c]=i,R&&(b[s]=e&&1<Ne.abs(x-f.N)?function S(n){var t=Ae.O("transition"),r=n.css(t);if(r)return r;for(var i,e,o,u="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",f=new RegExp(u),a=new RegExp("^("+u+")+$"),c="property duration timing-function delay".split(" "),s=[],l=0,v=function(n){if(i=[],!n.match(a))return n;for(;n.match(f);)i.push(RegExp.$1),n=n.replace(f,zi);return i};l<c[zt];l++)for(e=v(n.css(t+"-"+c[l])),o=0;o<e[zt];o++)s[o]=(s[o]?s[o]+Hi:zi)+e[o];return s.join(", ")}(u.en)+", "+(c+Hi+250)+"ms":zi)):b[u.j]=x,ft()||(u.en.css(b),sn&&R&&e&&u.en.one(on,function(){Mt||u.en.css(s,zi)})),f.N=x,f.M=O,f.D=d}function ae(n,t){var r=t?"removeClass":"addClass",i=n?b:m,e=n?An:Nn;(n?l:v)[r](e),i[r](e)}function ce(n){return{X:n?Oi:Si,cn:n?"Width":"Height",j:n?gi:bi,Y:n?"Left":"Top",F:n?Ci:Ai,$:n?"X":"Y",W:n?"w":"h",sn:n?"l":"t",un:n?l:b,en:n?v:m,an:n?c:h,"in":n?ln:vn}}function et(n){n?st(cr):(cr=Le(de(Rn)),nr.append(cr))}function se(n,t){if(Dt){var r,i=Gt.callbacks[n],e=n;"on"===e.substr(0,2)&&(e=e.substr(2,1).toLowerCase()+e.substr(3)),ct(i)==wt&&i.call(ci,t),Le.each(Fn,function(){ct((r=this).on)==wt&&r.on(e,t)})}else Mt||jn.push({n:n,a:t})}function le(n,t,r){r===xe&&(r=[zi,zi,zi,zi]),n[t+bi]=r[0],n[t+mi]=r[1],n[t+wi]=r[2],n[t+gi]=r[3]}function ot(){var n=hr.getBoundingClientRect();return{x:sn?1/(Ne.round(n.width)/hr[Ie]):1,y:sn?1/(Ne.round(n.height)/hr[_e]):1}}function ut(n){var t="ownerDocument",r="HTMLElement",i=n&&n[t]&&n[t].parentWindow||dt;return typeof i[r]==mt?n instanceof i[r]:n&&typeof n==mt&&null!==n&&1===n.nodeType&&typeof n.nodeName==yt}function ve(n,t){var r=t?parseFloat(n):parseInt(n,10);return isNaN(r)?0:r}function ft(){return Lr&&kt.x&&kt.y}function he(){return Wt?ar[0]:pr}function de(r,n){return"<div "+(r?ct(r)==yt?'class="'+r+'"':function(){var n,t="";if(Le.isPlainObject(r))for(n in r)t+=("className"===n?"class":n)+'="'+r[n]+'" ';return t}():zi)+">"+(n||zi)+"</div>"}function at(n,t){for(var r,i=t.split(X),e=0;e<i.length;e++){if(!n.hasOwnProperty(i[e]))return;r=n[i[e]],e<i.length&&ct(r)==mt&&(n=r)}return r}function pe(n,t,r){return!0===r?r:t===xe||n!==t}function be(n,t,r,i,e){if(!0===e)return e;if(i===xe&&e===xe){if(!0===r)return r;r=xe}return r=r===xe?"w":r,i=i===xe?"h":i,t===xe||(n[r]!==t[r]||n[i]!==t[i])}function me(n,t){return t===xe||(n.t!==t.t||n.r!==t.r||n.b!==t.b||n.l!==t.l)}function ct(n){return He.type(n)}function we(){return Le.extend.apply(this,[!0].concat([].slice.call(arguments)))}function ge(n,t){return V.addClass.call(n,t)}function ye(n,t){return V.removeClass.call(n,t)}function st(n){return V.remove.call(n)}function lt(n,t){return V.find.call(n,t).eq(0)}}return dt[bt]=function(n,r,i){if(0===arguments[zt])return this;var e,t,o=[],u=Le.isPlainObject(r);return n?(n=n[zt]!=xe?n:[n[0]||n],s(),0<n[zt]&&(u?Le.each(n,function(n,t){(e=t)!==xe&&o.push(v(e,r,i,f,a))}):Le.each(n,function(n,t){e=Re(t),"!"===r&&e instanceof dt[bt]||He.type(r)==wt&&r(t,e)?o.push(e):r===xe&&o.push(e)}),t=1===o[zt]?o[0]:o),t):u||!r?t:o},dt[bt].globals=function(){s();var n=Le.extend(!0,{},f);return delete n.msie,n},dt[bt].defaultOptions=function(n){s();var t=f.defaultOptions;if(n===xe)return Le.extend(!0,{},t);f.defaultOptions=Le.extend(!0,{},t,ht.k(n,ht.I,!0))},dt[bt].extension=function(n,t,r){var i=He.type(n)==yt,e=arguments[zt],o=0;if(e<1||!i)return Le.extend(!0,{length:c[zt]},c);if(i)if(He.type(t)==wt)c.push({name:n,extensionFactory:t,defaultOptions:r});else for(;o<c[zt];o++)if(c[o].name===n){if(!(1<e))return Le.extend(!0,{},c[o]);c.splice(o,1)}},dt[bt]}();return Ee&&Ee.fn&&(Ee.fn.overlayScrollbars=function(n,t){return Ee.isPlainObject(n)?(Ee.each(this,function(){r(this,n,t)}),this):r(this,n)}),r}); |
{ | ||
"name":"overlayscrollbars", | ||
"version":"1.7.0", | ||
"version":"1.7.1", | ||
"description":"A javascript scrollbar plugin which hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.", | ||
@@ -5,0 +5,0 @@ "keywords":[ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
808028