Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

overlayscrollbars

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overlayscrollbars - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

8

js/jquery.overlayScrollbars.min.js

@@ -5,4 +5,4 @@ /*!

*
* Version: 1.4.1
*
* Version: 1.4.2
*
* Copyright KingSora.

@@ -12,4 +12,4 @@ * https://github.com/KingSora

* Released under the MIT license.
* Date: 22.03.2018
* Date: 14.04.2018
*/
!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,e.document,undefined,n)}):"object"==typeof exports?module.exports=t(e,e.document,undefined,require("jquery")):t(e,e.document,undefined,e.jQuery)}("undefined"!=typeof window?window:this,function(e,t,n,r){"use-strict";var o="OverlayScrollbars",i={o:"object",f:"function",a:"array",s:"string",n:"number",u:"undefined"},a={c:"class",s:"style",i:"id",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},s={wW:function(){return e.innerWidth||t.documentElement[a.cW]||t.body[a.cW]},wH:function(){return e.innerHeight||t.documentElement[a.cH]||t.body[a.cH]},mO:function(){return e.MutationObserver||e.WebKitMutationObserver||e.WebkitMutationObserver||e.MozMutationObserver||n},rO:function(){return e.ResizeObserver||e.WebKitResizeObserver||e.WebkitResizeObserver||e.MozResizeObserver||n},rAF:function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}},cAF:function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||e.msCancelAnimationFrame||function(t){return e.clearTimeout(t)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},prvD:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},page:function(e){var r="page",o="client",i="X",a="Y",s=((e=e.originalEvent||e).target||e.srcElement||t).ownerDocument||t,l=s.documentElement,c=s.body;if(e.touches!==n){var f=e.touches[0];return{x:f[r+i],y:f[r+a]}}return!e[r+i]&&e[o+i]&&null!=e[o+i]?{x:e[o+i]+(l&&l.scrollLeft||c&&c.scrollLeft||0)-(l&&l.clientLeft||c&&c.clientLeft||0),y:e[o+a]+(l&&l.scrollTop||c&&c.scrollTop||0)-(l&&l.clientTop||c&&c.clientTop||0)}:{x:e[r+i],y:e[r+a]}},mBtn:function(e){return e.which||e.button===n?e.which:1&e.button?1:2&e.button?3:4&e.button?2:0},bind:function(e,t){if(typeof e!==i.f)throw"Can't bind function!";var n=Array.prototype.slice.call(arguments,2),r=function(){},o=function(){return e.apply(this instanceof r?this:t,n.concat(Array.prototype.slice.call(arguments)))};return e.prototype&&(r.prototype=e.prototype),o.prototype=new r,o}},l=function(t){return t.fn.overlayScrollbars=function(n){var r=this;return t.isPlainObject(n)?(t.each(r,function(){e[o](this,n)}),r):e[o](r,n)},t}(r),c=function(e){var t=[],r="__overlayScrollbars__";function o(e,n){e[r]=n,t.push(e)}function i(n){var o=e.inArray(n,t);o>-1&&(delete n[r],t.splice(o,1))}function a(e){return s(e)!==n}function s(e){for(var n=0;n<t.length;n++)if(e===t[n])return e[r]}return{all:function(){return t},add:o,rem:i,has:a,get:s}}(l),f=function(e){function t(r,o,a,s,l){var c=!1;if(a=a===n?"":a,typeof o!==i.s)return c;if(0===o.length)return c;if(""===a){for(var f=o.split("."),u=r,v="",d=!1,h=0;h<f.length;h++){var p=f[h];if(u=u[p],v+=p+".",e.type(u)!==i.o&&h+1!==f.length){d=!0;break}}if(d)return v.slice(0,-1)}for(var y in r)if(r.hasOwnProperty(y)){var m=a+y===o;if(e.type(r[y])!==i.o||m){if(m){typeof s===i.f&&s(r,y),c=!0;break}}else if(c=t(r[y],o,a+y+".",s,l),typeof l===i.f&&l(r,y),c)break}return c}return{has:function(e,n){return t(e,n)},get:function(e,n){var r;return t(e,n,"",function(e,t){r=e[t]}),r},set:function(n,r,o,i){var a=!1;if(t(n,r,"",function(e,t){e[t]=o,a=!0}),!a&&i){for(var s=r.split("."),l={},c=l,f=0;f<s.length;f++){var u=f===s.length-1?o:{};c=c[s[f]]=u}e.extend(!0,n,l),a=!0}return a},del:function(n,r,o){var i=!1;return t(n,r,"",function(e,t){delete e[t],i=!0},function(t,n){o&&e.isEmptyObject(t[n])&&delete t[n]}),i}}}(l);!function(r,l,c,f){var u,v,d={className:"os-theme-dark",resize:"none",sizeAutoCapable:!0,clipAlways:!0,normalizeRTL:!0,paddingAbsolute:!1,autoUpdate:null,autoUpdateInterval:33,nativeScrollbarsOverlaid:{showNativeScrollbars:!1,initialize:!0},overflowBehavior:{x:"scroll",y:"scroll"},scrollbars:{visibility:"auto",autoHide:"never",autoHideDelay:800,dragScrolling:!0,clickScrolling:!1,touchSupport:!0},textarea:{dynWidth:!1,dynHeight:!1},callbacks:{onInitialized:null,onInitializationWithdrawn:null,onDestroyed:null,onScrollStart:null,onScroll:null,onScrollStop:null,onOverflowChanged:null,onOverflowAmountChanged:null,onDirectionChanged:null,onContentSizeChanged:null,onHostSizeChanged:null,onUpdated:null}};function h(){u===n&&(u=new p(d)),v===n&&(v=new y(u))}function p(o){var i=this;i.defaultOptions=o,i.autoUpdateLoop=!1,i.autoUpdateRecommended=r.mO()===n;var s=c("body"),f=c('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),u=function(){s.append(f);var e,t="overflow",n="hidden",r=f[0],o=c(f.children("div").first());return 0===r[a.oH]&&f.hide().show(),e={x:r[a.oH]-r[a.cH],y:r[a.oW]-r[a.cW]},i.restrictedMeasuring=function(){f.css(t,n);var e={w:r[a.sW],h:r[a.sH]};f.css(t,"visible");var o={w:r[a.sW],h:r[a.sH]};return e.w-o.w!=0||e.h-o.h!=0}(),i.nativeScrollbarStyling=(f.addClass("os-viewport-native-scrollbars-invisible"),f.css(t,n).hide().css(t,"scroll").show(),r[a.oH]-r[a.cH]==0&&r[a.oW]-r[a.cW]==0),i.rtlScrollBehavior=function(){f.css({"overflow-y":n,direction:"rtl"}).scrollLeft(0);var e=f.offset(),t=o.offset();f.scrollLeft(999);var r=o.offset();return{i:e.left===t.left,n:t.left-r.left==0}}(),f.removeAttr(a.s).remove(),e}(),v={x:0===u.x,y:0===u.y};function d(e){var r=!1,o="Webkit Moz ms O".split(" "),i=t.createElement("div"),a=null;if(e=e.toLowerCase(),i.style[e]!==n&&(r=!0),!1===r){a=e.charAt(0).toUpperCase()+e.substr(1);for(var s=0;s<o.length;s++)if(i.style[o[s]+a]!==n){r=!0;break}}return r}i.nativeScrollbarSize=u,i.nativeScrollbarIsOverlaid=v,i.overlayScrollbarDummySize={x:30,y:30},i.msie=function(){var t=e.navigator.userAgent,n=t.indexOf("MSIE ");if(n>0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);if(t.indexOf("Trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0&&parseInt(t.substring(o+5,t.indexOf(".",o)),10)}(),i.cssCalc=function(){for(var e=t.createElement("div"),n=["calc","-webkit-calc","-moz-calc","-o-calc"],r=0;r<n.length;++r){var o=n[r];if(e.style.cssText="width:"+o+"(1px);",e.style.length)return o}return null}(),i.supportTransform=d("transform"),i.supportTransition=d("transition");var h=!1;try{var p=Object.defineProperty({},"passive",{get:function(){h=!0}});e.addEventListener("test",null,p)}catch(y){}i.supportPassiveEvents=h,i.supportResizeObserver=r.rO()!==n,i.supportMutationObserver=r.mO()!==n,function(){if(!v.x||!v.y){var t=r.wW(),n=r.wH(),o=d();c(e).on("resize",function(){if(l.all().length>0){var e=r.wW(),v=r.wH(),h=e-t,p=v-n;if(0===h&&0===p)return;var y=Math.round(e/(t/100)),m=Math.round(v/(n/100)),x=Math.abs(h),w=Math.abs(p),g=Math.abs(y),b=Math.abs(m),C=d(),S=x>2&&w>2,O=!u(g,b);if(!!(S&&O&&(C!==o&&o>0))){s.append(f);var z=f[0];i.nativeScrollbarSize={x:z[a.oH]-z[a.cH],y:z[a.oW]-z[a.cW]},f.remove(),c.each(l.all(),function(){l.has(this)&&l.get(this).update("zoom")})}t=e,n=v,o=C}})}function u(e,t){var n=Math.abs(e),r=Math.abs(t);return!(n===r||n+1===r||n-1===r)}function d(){var t=e.screen.deviceXDPI||0,n=e.screen.logicalXDPI||1;return e.devicePixelRatio||t/n}}()}function y(e){var t,o=this,i="autoUpdate",a=i+"Interval",s=[],l=[],f=!1,u=33,v=u,d=r.now(),h=function(){if(s.length>0&&f){t=r.rAF()(function(){h()});var e=r.now(),o=e-d;if(o>v){d=e-o%v;for(var c=u,p=0;p<s.length;p++){var y=s[p];if(y!==n){var m=y.options(),x=m[i],w=Math.max(1,m[a]),g=r.now();(!0===x||null===x)&&g-l[p]>w&&(y.update("auto"),l[p]=new Date(g+=w)),c=Math.max(1,Math.min(c,w))}}v=c}}else v=u};o.add=function(t){-1===c.inArray(t,s)&&(s.push(t),l.push(r.now()),s.length>0&&!f&&(f=!0,e.autoUpdateLoop=f,h()))},o.remove=function(o){var i=c.inArray(o,s);i>-1&&(l.splice(i,1),s.splice(i,1),0===s.length&&f&&(f=!1,e.autoUpdateLoop=f,t!==n&&(r.cAF()(t),t=-1)))}}function m(t,u,v,d){if(ro(t)){if(l.has(t)){var h=l.get(t);return h.options(u),h}var p,y,m,x,w,g,b,C,S,O,z,H,W,M,k,T,A,E,L,F,D,R,I,P,_,N,U,j,B,V,q,X,Y,J,K,Q,G,Z,$,ee,te,ne,re,oe,ie,ae,se,le,ce,fe,ue,ve,de,he,pe,ye,me,xe,we,ge,be,Ce,Se,Oe,ze,He,We,Me,ke,Te,Ae,Ee,Le,Fe,De,Re,Ie,Pe,_e,Ne,Ue,je,Be,Ve,qe,Xe,Ye,Je,Ke,Qe,Ge,Ze,$e,et,tt,nt,rt,ot,it,at,st,lt,ct,ft,ut,vt,dt,ht,pt,yt,mt,xt,wt,gt,bt=new e[o],Ct=!1,St=!1,Ot=!1,zt=!1,Ht=!1,Wt={w:0,h:0},Mt={},kt={},Tt={},At=175,Et="-hidden",Lt="margin-",Ft="padding-",Dt="border-",Rt="top",It="right",Pt="bottom",_t="left",Nt="min-",Ut="max-",jt="width",Bt="height",Vt="float",qt="",Xt="auto",Yt="scroll",Jt="100%",Kt="x",Qt="y",Gt='<div class="',Zt='"></div>',$t=".",en=" ",tn="scrollbar",nn="-horizontal",rn="-vertical",on=Yt+"Left",an=Yt+"Top",sn="mousedown touchstart",ln="mouseup touchend",cn="mousemove touchmove",fn="mouseenter",un="mouseleave",vn="keydown",dn="keyup",hn="selectstart",pn="transitionend webkitTransitionEnd oTransitionEnd",yn="__overlayScrollbarsRO__",mn="os-",xn=mn+"html",wn=mn+"host",gn=wn+"-textarea",bn=wn+"-"+tn+nn+Et,Cn=wn+"-"+tn+rn+Et,Sn=wn+"-transition",On=wn+"-rtl",zn=wn+"-resize-disabled",Hn=wn+"-scrolling",Wn=wn+"-overflow",Mn=Wn+"-x",kn=Wn+"-y",Tn=mn+"textarea",An=Tn+"-cover",En=mn+"padding",Ln=mn+"viewport",Fn=Ln+"-native-scrollbars-invisible",Dn=Ln+"-native-scrollbars-overlaid",Rn=mn+"content",In=mn+"content-arrange",Pn=mn+"content-glue",_n=mn+"size-auto-observer",Nn=mn+"resize-observer",Un=mn+"resize-observer-item",jn=Un+"-final",Bn=mn+"text-inherit",Vn=mn+tn,qn=Vn+"-track",Xn=qn+"-off",Yn=Vn+"-handle",Jn=Yn+"-off",Kn=Vn+"-unusable",Qn=Vn+"-"+Xt+Et,Gn=Vn+"-corner",Zn=Gn+"-resize",$n=Zn+"-both",er=Zn+nn,tr=Zn+rn,nr=Vn+nn,rr=Vn+rn,or=mn+"dragging",ir=mn+"theme-none",ar={},sr=33,lr=[],cr=11,fr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],ur=[],vr={x:0,y:0},dr={w:0,h:0};if(bt.sleep=function(){I=!0},bt.update=function(e){var t,n,r="zoom"===e,o="img",i="load";e===Xt?(t=vo(),n=uo(),(t||n)&&mo(!1,n)):r?mo(!0,!0):(e=I||e,I=!1,mo(!1,!1,e)),Ot||r||ne.find(o).each(function(e,t){-1===c.inArray(t,lr)&&(t=c(t)).off(i,jr).on(i,jr)})},bt.options=function(e,t){if(c.isEmptyObject(e)||!c.isPlainObject(e)){if(c.type(e)===i.s){if(arguments.length>=2){var n={};return f.set(n,e,t,!0),fo(n),void mo()}return f.get(N,e)}return N}fo(e);var r=I||!1;I=!1,mo(),I=r},bt.destroy=function(){St=!0,d.remove(bt),Wr(),gr(G),Ht&&gr(Q),G.remove(),Z!==n&&Z.remove(),te!==n&&te.remove(),Ht&&Q.remove(),H?(yr(K,cn,eo),yr(K,fn,Zr),yr(K,un,$r)):K.off(cn,eo).off(fn,Zr).off(un,$r),ie.remove(),le.remove(),oe&&oe.remove(),mt||Tr(),ne.contents().unwrap().unwrap().unwrap(),zt&&X.removeClass(xn),Ot?(J.off(Yt,Nr).off("drop",Ir).off("focus",Pr).off("focusout",_r),m>9||!y?J.off("input",Fr):J.off(vn,Dr).off(dn,Rr),re.remove(),J.removeClass(Tn).removeClass(Bn).unwrap().removeAttr(a.s),K.remove()):(J.removeClass(wn),K.removeClass(wn).removeClass(zn).removeClass(On).removeClass(bn).removeClass(Cn).removeClass(Sn).removeClass(Hn).removeClass(Wn).removeClass(Mn).removeClass(kn).removeClass(ir).removeClass(Qe));for(var e=0;e<lr.length;e++)c(lr[e]).off("load",jr);lr=n,l.rem(t);var r=U.callbacks.onDestroyed;for(var o in c.isFunction(r)&&Or(r),bt)delete bt[o];bt=n},bt.scroll=function(t,r,o,s){if(0===arguments.length||t===n){var l=Mt,f=kt,u=Ke&&R&&p.i,v=Ke&&R&&p.n,d=l.cs,h=l.csr,y=l.ms;return d=u?y-d:d,{x:{position:d*=v?-1:1,ratio:h=u?1-h:h,max:y*=v?-1:1,handleOffset:l.ho,handleLength:l.hl,handleLengthRatio:l.hlr,trackLength:l.tl,isRTL:R,isRTLNormalized:Ke},y:{position:f.cs,ratio:f.csr,max:f.ms,handleOffset:f.ho,handleLength:f.hl,handleLengthRatio:f.hlr,trackLength:f.tl}}}var m,x=[Kt,_t,"l"],w=[Qt,Rt,"t"],g=["+=","-=","*=","/="],b={},C=c.type(r)===i.o,S="end",O="begin",H="center",W="nearest",M={axis:"xy",block:[O,O],margin:[0,0,0,0]},k=[Kt,Qt,"xy","yx"],T=[O,S,H,W],A=t.hasOwnProperty("el"),E=A?t.el:t,L=E instanceof c||E instanceof e.jQuery,F=!L&&ro(E),D=function(e,t){for(m=0;m<t.length;m++)if(e===t[m])return!0;return!1},I=function(e){var t={};if(c.type(e)===i.a&&e.length>0)t.x=e[0],t.y=e[1];else if(c.type(e)===i.s||c.type(e)===i.n)t.x=e,t.y=e;else if(c.type(e)===i.o){for(var n in e=c.extend({},e),m=0,e)e.hasOwnProperty(n)&&(m>2&&delete e[n],m++);var r=function(t){var n=t?x:w;for(m=0;m<n.length;m++)if(n[m]in e)return e[n[m]]};t.x=r(!0),t.y=r(!1)}return t},P=function(t,r){var o,a,s,l=t?Mt:kt,f=l.cs,u=l.ms,v=" * ",d=R&&t,h=d&&p.n&&!Ke;if(c.type(r)===i.s){if(r.length>2){var y=r.substr(0,2);for(m=0;m<g.length;m++)if(y===g[m]){o=g[m];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=o!==n?r.substr(2):r).replace(/min/g,0)).replace(/</g,0)).replace(/max/g,(h?"-":qt)+Jt)).replace(/>/g,(h?"-":qt)+Jt)).replace(/px/g,qt)).replace(/%/g,v+u*(d&&p.n?-1:1)/100)).replace(/vw/g,v+Tt.w)).replace(/vh/g,v+Tt.h),a=ho(e.parseFloat(e.eval(r)).toFixed())}else c.type(r)===i.n&&(a=r);if(!isNaN(a)&&a!==n&&c.type(a)===i.n){var x=Ke&&d,w=f*(x&&p.n?-1:1),b=x&&p.i,C=x&&p.n;switch(w=b?u-w:w,o){case"+=":s=w+a;break;case"-=":s=w-a;break;case"*=":s=w*a;break;case"/=":s=w/a;break;default:s=a}b&&(s=u-s),C&&(s*=-1),d&&p.n?(s=Math.max(u,s),s=Math.min(0,s)):(s=Math.min(u,s),s=Math.max(0,s)),s===f&&(s=n)}return s};if(L||F){var _=L?E:c(E);if(0===_.length)return;if(A){var N,U,j,B=t.axis,V=t.block,q=c.type(V),X=t.margin,Y=c.type(X);if(q===i.s)V=[V,V];else if(q===i.a)if((U=V.length)>2||U<1)V=n;else{for(N=!0,1===U&&(V[1]=O),m=0;m<U;m++){var J=V[m];if(c.type(J)!==i.s||!D(J,T)){N=!1;break}}N||(V=n)}else V=n;if(Y===i.n)X=[X,X,X,X];else if("boolean"===Y)X=X?[ho(_.css(Lt+Rt)),ho(_.css(Lt+It)),ho(_.css(Lt+Pt)),ho(_.css(Lt+_t))]:[0,0,0,0];else if(Y===i.a)if(2!==(j=X.length)&&4!==j)X=n;else{for(N=!0,m=0;m<j;m++)if(c.type(X[m])!==i.n){N=!1;break}N?2===j&&(X=[X[0],X[1],X[0],X[1]]):X=n}else X=n;M.axis=D(B,k)?B:M.axis,M.block=V||M.block,M.margin=X||M.margin}var K=_.offset(),Q=$.offset(),G={l:Mt.cs,t:kt.cs},Z=M.axis,te=M.block,ne=M.margin,re={x:te[0]===(R?O:S),y:te[1]===S},oe={x:te[0]===H,y:te[1]===H},ie={x:te[0]===W,y:te[1]===W},ae={},se=re.x||re.y||oe.x||oe.y||ie.x||ie.y;K.top-=ne[0],K.left-=ne[3];var le={x:Math.round(K.left-Q.left+G.l),y:Math.round(K.top-Q.top+G.t)};if(R&&(p.n||p.i||(le.x=Math.round(Q.left-K.left+G.l)),p.n&&Ke&&(le.x*=-1),p.i&&Ke&&(le.x=Math.round(Q.left-K.left+(Mt.ms-G.l)))),se){var ce,fe={},ue={w:(fe=z?{w:(ce=_[0].getBoundingClientRect())[jt],h:ce[Bt]}:{w:_[0][a.oW],h:_[0][a.oH]}).w+ne[3]+ne[1],h:fe.h+ne[0]+ne[2]},ve=function(e){var t=Gr(e),n=oe[t.xy]?2:1,r=K[t.lt]+ue[t._wh]/2,o=Q[t.lt]+Tt[t._wh]/2;ie[t.xy]&&(ae[t.xy]=ue[t._wh]<=Tt[t._wh]&&K[t.lt]>=Q[t.lt]&&K[t.lt]+ue[t._wh]<=Q[t.lt]+Tt[t._wh],re[t.xy]=ue[t._wh]<Tt[t._wh]?r>o:r<o),(re[t.xy]||oe[t.xy])&&(le[t.xy]-=(Tt[t._wh]/n-ue[t._wh]/n)*(e&&R&&Ke?-1:1))};ve(!0),ve(!1)}(Z===Kt||ae.y)&&delete le.y,(Z===Qt||ae.x)&&delete le.x,t=le}b.x=P(!0,I(t).x),b.y=P(!1,I(t).y);var de=b.x!==n,he=b.y!==n;if(r>0||C){var pe={};if(de&&(pe[on]=b.x),he&&(pe[an]=b.y),C)ee.animate(pe,r);else{var ye={duration:r,complete:s};if(c.type(o)===i.a){var me={};me[on]=o[0],me[an]=o[1],ye.specialEasing=me}else ye.easing=o;ee.animate(pe,ye)}}else de&&ee[on](b.x),he&&ee[an](b.y)},bt.scrollStop=function(e,t,n){ee.stop(e,t,n)},bt.getElements=function(){return{target:J[0],host:K[0],padding:$[0],viewport:ee[0],content:ne[0],scrollbarHorizontal:{scrollbar:ie[0],track:ae[0],handle:se[0]},scrollbarVertical:{scrollbar:le[0],track:ce[0],handle:fe[0]},scrollbarCorner:oe}},bt.getState=function(e){var t=function(e){if(!c.isPlainObject(e))return e;var t=c.extend(!0,{},e);f.del(t,"c");var n=function(e,n){t.hasOwnProperty(e)&&(t[n]=t[e],delete t[e])};return n("w",jt),n("h",Bt),t},n={sleeping:t(I)||!1,autoUpdate:t(!rt),widthAuto:t(ye),heightAuto:t(me),padding:t(ge),overflowAmount:t(ke),hideOverflow:t(pe),hasOverflow:t(he),contentScrollSize:t(ve),viewportSize:t(Tt),hostSize:t(ue)};return c.type(e)===i.s?f.get(n,e):n},xo(t,u))return l.add(t,bt),bt;bt=n}function hr(){if(!I){var e=G[0],t={w:e[a.sW],h:e[a.sH]};if(Ct){var n=Cr(t,Be);Be=t,n&&mo(!0,!1)}else Be=t}}function pr(e,t,n){for(var r=t.split(en),o=0;o<r.length;o++)e[0].addEventListener(r[o],n,{passive:!0})}function yr(e,t,n){for(var r=t.split(en),o=0;o<r.length;o++)e[0].removeEventListener(r[o],n)}function mr(e){if(e!==n&&W){var t=e.contents()[0];t[yn].unobserve(t)}}function xr(e){if(e!==n&&W){var t=e.contents()[0];t[yn].observe(t)}}function wr(e,t){var n=3333333,o=function(r){e.scrollTop(n),e.scrollLeft(R?p.n?-n:p.i?0:n:n),t()};if(W){var s=r.rO(),l=e.append(Gt+Nn+" observed"+Zt).contents()[0];(l[yn]=new s(o)).observe(l)}else{var f="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart";if(m>9||!y){var u='">',d="</div>",h="childNodes",x=Gt+Nn+u;x+=Gt+Un+'" dir="ltr'+u,x+=Gt+Un+u,x+=Gt+jn+Zt,x+=d,x+=Gt+Un+u,x+=Gt+jn+'" style="width: 200%; height: 200%'+Zt,x+=d,x+=d,x+=d,e.prepend(x);var w,g,b,C,S=(e=e[0])[h][0][h][0],O=c(S[h][1]),z=c(S[h][0]),H=c(z[0][h][0]),M=S[a.oW],k=S[a.oH],T=2,A=v.nativeScrollbarSize,E=function(){z[on](n)[an](n),O[on](n)[an](n)},L=function(){g=0,w&&(M=b,k=C,o())},F=function(e){return b=S[a.oW],C=S[a.oH],w=b!=M||C!=k,e&&w&&!g?(r.cAF()(g),g=r.rAF()(L)):e||L(),E(),e&&(r.prvD(e),r.stpP(e)),!1},D={};D[Rt]=-(A.y+1)*T,D[It]=A.x*-T,D[Pt]=A.y*-T,D[_t]=-(A.x+1)*T,c(S).css(D),z.on(Yt,F),O.on(Yt,F),c(e).on(f,function(){F(!1)});var I={};I[jt]=n,I[Bt]=n,H.css(I),E()}else{var P=q[0],_=e;e=e[0];var N=P.attachEvent,U=typeof navigator===i.u||(navigator.userAgent.match(/Trident/)||navigator.userAgent.match(/Edge/));if(N)_.prepend(Gt+Nn+Zt),_.find($t+Nn).first()[0].attachEvent("onresize",o);else{var j=P.createElement(i.o);j.setAttribute("tabindex","-1"),j.setAttribute(a.c,Nn),j.onload=function(){var e=this.contentDocument.defaultView;e.addEventListener("resize",o),e.document.documentElement.style.display="none"},j.type="text/html",U&&_.prepend(j),j.data="about:blank",U||_.prepend(j),_.on(f,o)}}}if((e=c(e))[0]===G[0]){var B=function(){var t=K.css("direction");if(t!==Oe){var r={},o=0;return"ltr"===t?(r[_t]=0,r[It]=Xt,o=n):(r[_t]=Xt,r[It]=0,o=p.n?-n:p.i?0:n),G.children().first().css(r),e.scrollLeft(o),e.scrollTop(n),Oe=t,!0}return!1};B(),e.on(Yt,function(e){return B()&&mo(),r.prvD(e),r.stpP(e),!1})}}function gr(e){if(W){var t=e.contents()[0];t[yn].disconnect(),delete t[yn]}else e.children($t+Nn).first().remove()}function br(e,t,r){return!0===r?r:t===n||e!==t}function Cr(e,t,r,o,i){if(!0===i)return i;if(o===n&&i===n){if(!0===r)return r;r=n}return r=r===n?"w":r,o=o===n?"h":o,t===n||(e[r]!==t[r]||e[o]!==t[o])}function Sr(e,t){return t===n||(e.t!==t.t||e.r!==t.r||e.b!==t.b||e.l!==t.l)}function Or(e,t){Ct&&e.call(bt,t)}function zr(e,t,r){r===n&&(r=[qt,qt,qt,qt]),e[t+Rt]=r[0],e[t+It]=r[1],e[t+Pt]=r[2],e[t+_t]=r[3]}function Hr(){ot&&!rt&&(tt.observe(K[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[a.i,a.c,a.s]}),nt.observe(Ot?J[0]:ne[0],{attributes:!0,attributeOldValue:!0,subtree:!Ot,childList:!Ot,characterData:!Ot,attributeFilter:Ot?["wrap","cols","rows"]:[a.i,a.c,a.s]}),rt=!0)}function Wr(){ot&&rt&&(tt.disconnect(),nt.disconnect(),rt=!1)}function Mr(e){if(!I){var t=(e.originalEvent||e).touches!==n;(1===r.mBtn(e)||t)&&(rt&&(yt=!0,Wr()),vr=r.page(e),dr.w=K[0][a.oW]-(k?0:T),dr.h=K[0][a.oH]-(k?0:A),q.on(hn,Ur).on(cn,kr).on(ln,Tr),Y.addClass(or),oe.setCapture&&oe.setCapture(),r.prvD(e),r.stpP(e))}}function kr(e){e.originalEvent;var t=r.page(e),n={};(wt||xt)&&(n[jt]=dr.w+t.x-vr.x),(gt||xt)&&(n[Bt]=dr.h+t.y-vr.y),K.css(n),r.stpP(e)}function Tr(e){var t=e!==n;q.off(hn,Ur).off(cn,kr).off(ln,Tr),Y.removeClass(or),oe.releaseCapture&&oe.releaseCapture(),t&&(yt&&Hr(),bt.update(Xt)),yt=!1}function Ar(){if(!I){var e=!Le,t=Tt.w-(k||ze||!ye?0:A+L),n=Tt.h-(k||ze||!me?0:A+L),r={},o=ye||e,i=J[0];r[Nt+jt]=qt,r[Nt+Bt]=qt,r[jt]=Xt,J.css(r);var s=i[a.oW],l=o?Math.max(s,i[a.sW]-1):1;l+=ye?F+(k?0:e?0:T+E):0,r[jt]=ye?l:Jt,r[Bt]=Xt,J.css(r);var c=i[a.oH],f=Math.max(c,i[a.sH]-1);return r[jt]=l,r[Bt]=f,re.css(r),r[Nt+jt]=t+(!k&&ye?T+E:0),r[Nt+Bt]=n+(!k&&me?A+L:0),J.css(r),{ow:s,oh:c,dw:l,dh:f}}}function Er(){var e=J.prop("selectionStart");if(e!==n){for(var t=J.val(),r=t.length,o=t.split("\n"),i=o.length,a=t.substr(0,e).split("\n"),s=0,l=0,c=a.length,f=a[a.length-1].length,u=0;u<o.length;u++){var v=o[u].length;v>l&&(s=u+1,l=v)}return{cursorRow:c,cursorCol:f,rows:i,cols:l,wRow:s,pos:e,max:r}}}function Lr(e){for(var t=0;t<fr.length;t++)if(e===fr[t])return!0;return!1}function Fr(){Ar(),bt.update(Xt)}function Dr(e){var t=e.keyCode;if(!Lr(t)){if(0===ur.length){var n=function(){Ar(),bt.update(Xt)};n(),it=setInterval(n,1e3/60)}-1===c.inArray(t,ur)&&ur.push(t)}}function Rr(e){var t=e.keyCode;if(!Lr(t)){var n=c.inArray(t,ur);n>-1&&ur.splice(n,1),0===ur.length&&(Ar(),bt.update(Xt),clearInterval(it))}}function Ir(){setTimeout(function(){Ar(),bt.update(Xt)},50)}function Pr(){at=!0}function _r(){at=!1,clearInterval(it),ur=[],Ar(),bt.update(Xt)}function Nr(e){return J[on](p.i&&Ke?9999999:0),J[an](0),r.prvD(e),r.stpP(e),!1}function Ur(e){return r.prvD(e),!1}function jr(){mo()}function Br(){return Te&&C.x&&C.y}function Vr(e,t,n){var r=e?bn:Cn,o=e?ie:le;t?K.removeClass(r):K.addClass(r),n?o.removeClass(Kn):o.addClass(Kn)}function qr(e,t){if(clearTimeout(st),e)ie.removeClass(Qn),le.removeClass(Qn);else{var n="active",r=function(){if(!pt){var e=se.hasClass(n)||fe.hasClass(n);!e&&(ut||vt||dt)&&ie.addClass(Qn),!e&&(ut||vt||dt)&&le.addClass(Qn)}};ct>0&&!0!==t?st=setTimeout(r,ct):r()}}function Xr(e){var t={},n=Gr(e),r=Math.min(1,(ue[n._wh]-(ze?e?T:A:0))/ve[n._wh]);t[n.wh]=Math.floor(100*r*1e5)/1e5+"%",Br()||n.h.css(t),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=r}function Yr(e,t){var n=R&&e,r={},o=Gr(e),i=ee[0][Yt+o.WH]-ee[0]["client"+o.WH];p.n&&n&&(i*=-1);var a=t/i;a=isNaN(a)?0:Math.min(1,a),o.i.ms=i,o.i.cs=t,o.i.csr=a;var s=o.i.hl,l=o.t[0]["offset"+o.WH],c=(l-s)*a;if(c=isNaN(c)?0:c,n&&(p.n||!p.n&&!p.i)&&(c=l-s-c),c=Math.max(0,c),z){var f;n&&(c=-(l-s-c));var u="translate(",v="transform";f=e?u+c+"px, 0px)":u+"0px, "+c+"px)",r["-webkit-"+v]=f,r["-moz-"+v]=f,r["-ms-"+v]=f,r["-o-"+v]=f,r[v]=f}else r[o.lt]=c;Br()||o.h.css(r),o.i.ho=c,o.i.tl=l}function Jr(e,t){var n=t?"removeClass":"addClass",r=e?ce:fe,o=e?Xn:Jn;(e?ae:se)[n](o),r[n](o)}function Kr(){ie=c(Gt+Vn+en+nr+Zt),ae=c(Gt+qn+Zt),se=c(Gt+Yn+Zt),le=c(Gt+Vn+en+rr+Zt),ce=c(Gt+qn+Zt),fe=c(Gt+Yn+Zt),ie.append(ae),ae.append(se),le.append(ce),ce.append(fe),$.after(le),$.after(ie),O&&(ie.on(pn,function(e){e.target===ie[0]&&(Xr(!0),Yr(!0,ee[on]()))}),le.on(pn,function(e){e.target===le[0]&&(Xr(!1),Yr(!1,ee[an]()))})),Qr(!0),Qr(!1),oe=c(Gt+en+Gn+Zt),K.append(oe)}function Qr(e){var t,o,i,a=Gr(e),s=a.xy,l=Yt+a.LT,c="active",f=1,u=function(){f=.5},v=function(){f=1},d=function(n){n.originalEvent;var i=a.i.tl,c=a.i.hl,f=a.i.ms*((c/2+r.page(n)[s]-o-c/2)/(i-c));f=isFinite(f)?f:0,R&&e&&(p.n||!p.n&&!p.i)&&(f*=-1),ee[l](t+f),H||r.prvD(n)},h=function(e){e=e||e.originalEvent,Y.removeClass(or),a.h.removeClass(c),a.t.removeClass(c),a.s.removeClass(c),H?(yr(q,cn,d),yr(q,ln,h),yr(q,vn,y),yr(q,dn,m)):q.off(cn,d).off(ln,h).off(vn,y).off(dn,m),q.off(hn,Ur),v(),t=n,o=n,i!==n&&(bt.scrollStop(),clearTimeout(i),i=n);var r=K[0].getBoundingClientRect();e.clientX>=r.left&&e.clientX<=r.right&&e.clientY>=r.top&&e.clientY<=r.bottom||$r(),(ut||vt)&&qr(!1)},y=function(e){16==e.keyCode&&u()},m=function(e){16==e.keyCode&&v()};a.h.on(sn,function(i){if(!I){var f=(i.originalEvent||i).touches!==n;Br()||!Ye||f&&!ht||(1===r.mBtn(i)||f)&&(t=(t=ee[l]())===n?0:t,(R&&e&&!p.n||!R)&&(t=t<0?0:t),o=r.page(i)[s],Y.addClass(or),a.h.addClass(c),a.s.addClass(c),H?(pr(q,cn,d),pr(q,ln,h)):q.on(cn,d).on(ln,h),q.on(hn,Ur),r.prvD(i))}}),a.t.on(sn,function(t){if(!I){var l=(t.originalEvent||t).touches!==n;if(!Br()&&Xe&&(!l||ht)&&(1===r.mBtn(t)||l)){var v,d=Tt[a._wh],x=a.t.offset()[a.lt],w=!0;t.shiftKey&&u();var g=function(){var t=a.i.ho,r=a.i.hl,s=o-x,l=200*f,c=w?Math.max(333,l):l,u={},h=R&&e&&(!p.i&&!p.n||Ke),y=t>s;h&&(y=t<s),y?(v===n&&(v=!0),u[a.xy]="-="+d):(v===n&&(v=!1),u[a.xy]="+="+d),bt.scrollStop(),bt.scroll(u,l,"linear");var m=v?t<=s:t+r>=s;h&&(m=v?t+r>=s:t<=s),m?(clearTimeout(i),bt.scrollStop(),i=n):i=setTimeout(g,c),w=!1};o=r.page(t)[s],Y.addClass(or),a.t.addClass(c),a.s.addClass(c),H?(pr(q,ln,h),pr(q,vn,y),pr(q,dn,m)):q.on(ln,h).on(vn,y).on(dn,m),q.on(hn,Ur),g(),r.prvD(t)}}}).hover(function(){(ut||vt)&&(pt=!0,qr(!0))},function(){(ut||vt)&&(pt=!1,qr(!1))}),a.s.on(sn,function(e){r.stpP(e)})}function Gr(e){return{wh:e?jt:Bt,WH:e?"Width":"Height",lt:e?_t:Rt,LT:e?"Left":"Top",xy:e?Kt:Qt,XY:e?"X":"Y",_wh:e?"w":"h",_lt:e?"l":"t",t:e?ae:ce,h:e?se:fe,s:e?ie:le,i:e?Mt:kt}}function Zr(){dt&&qr(!0)}function $r(){dt&&!Y.hasClass(or)&&qr(!1)}function eo(){vt&&(qr(!0),clearTimeout(lt),lt=setTimeout(function(){vt&&qr(!1)},100))}function to(e){if(!I){var t=U.callbacks,r=t.onScrollStart,o=t.onScroll,i=t.onScrollStop;P!==n?clearTimeout(P):((ut||vt)&&qr(!0),Br()||K.addClass(Hn),c.isFunction(r)&&Or(r,e)),Yr(!0,ee[on]()),Yr(!1,ee[an]()),c.isFunction(o)&&Or(o,e),P=setTimeout(function(){no(e),c.isFunction(i)&&Or(i,e)},At)}}function no(){clearTimeout(P),P=n,(ut||vt)&&qr(!1),Br()||K.removeClass(Hn)}function ro(e){return typeof HTMLElement===i.o?e instanceof HTMLElement:e&&typeof e===i.o&&null!==e&&1===e.nodeType&&typeof e.nodeName===i.s}function oo(e,t,r,o){var a,s,l,u,v,d={n:t,s:!1,v:n,p:n},h=i.u,p=f.has(e,t),y=f.get(e,t),m=!1,x=!0!==p,w="*",g=!1;for(c.type(r)!==i.a&&(r=[r]),v=r.length,s=0;s<v;s++){var b=r[s];if(b===w)if(v>1){var C=0;for(u=0;u<v;u++){var S=r[u];if(c.type(S)===i.s&&++C>1)break}1===C&&(g=!0)}else g=!0;b===n&&(m=!0)}if(x&&!1===p&&m&&(x=!1),!x){a=y,h=c.type(a);var O=function(e){var t=c.type(e);return t===h&&(t!==i.s||(!!g||a===e))&&(d.s=!0,d.v=a,d.p=a,!0)};for(s=0;s<v;s++){var z=r[s];if(c.type(z)===i.s){var H=z.split(":"),W=H[0],M=!1;for(l=0;l<H.length;l++)if(O(H[l])){g||(d.p=W),M=!0;break}if(M)break}else if(O(z))break}}if(!d.s){var k='The option "'+t+"\" wasn't set, because";if(x&&!1!==p){var T=f.has(_,t);!0===T?console.warn(k+' "'+p+'" is not from type [ OBJECT ].'):(k='The option "'+t+'" is not a default option',!1===T?console.warn(k+$t):console.warn(k+" and couldn't be resolved, because \""+T+'" is not from type [ OBJECT ].'))}else{var A=[],E=qt,L=!1,F=qt;for(s=0;s<v;s++){var D=r[s],R=c.type(D);if(R===i.s){L=!g;var I=D.split(":");for(l=0;l<I.length;l++)F+='"'+I[l]+'", '}-1===c.inArray(R,A)&&(A.push(R),E=E+R.toUpperCase()+", ")}E=E.slice(0,-2),L&&(F=F.slice(0,-2)),console.warn(k+" it doesn't accept the type [ "+h.toUpperCase()+' ] with the value of "'+a+'".\r\nAccepted types are: [ '+E+" ]."+(L?"\r\nValid strings are: [ "+F+" ].":qt))}}return(o=o===n||o)&&f.del(e,t),d}function io(){var e={};return zt&&te&&(e.w=ho(te.css(Nt+jt)),e.h=ho(te.css(Nt+Bt)),e.c=Cr(e,et),e.f=!0),et=e,e.c}function ao(e,t){var n,r,o={};for(n=0;n<e.length;n++){var i=e[n],a=[];if(i.s){var s=i.n.split(".");for(r=0;r<s.length;r++)a[r]={},a[r][s[r]]={};for(r=0;r<a.length;r++){var l=!1,f=a[r];for(var u in r+1===a.length&&(l=!0),f)f.hasOwnProperty(u)&&(f[u]=a[r+1],l&&(f[u]=t?i.p:i.v))}c.extend(!0,o,a[0])}}return o}function so(e,t){var n,r=[],o=[];for(n=0;n<e.length;n++)r[e[n]]=!0;for(n=0;n<t.length;n++)r[t[n]]?delete r[t[n]]:r[t[n]]=!0;for(var i in r)o.push(i);return o}function lo(e,t){var r=t!==n&&null!==t?t.split(en):qt,o=e!==n&&null!==e?e.split(en):qt;if(r===qt&&o===qt)return!1;var i=so(o,r),a=!1,s=Ge!==n&&null!==Ge?Ge.split(en):[qt],l=Qe!==n&&null!==Qe?Qe.split(en):[qt],f=c.inArray(ir,i);f>-1&&i.splice(f,1);for(var u=0;u<i.length;u++){var v=i[u];if(0!==v.indexOf(wn)){var d,h=!0,p=!0;for(d=0;d<s.length;d++)if(v===s[d]){h=!1;break}for(d=0;d<l.length;d++)if(v===l[d]){p=!1;break}if(h&&p){a=!0;break}}}return a}function co(e){var t=e.attributeName,n=e.target,r=e.type;if(n===ne[0])return null===t;if("attributes"===r&&(t===a.c||t===a.s)&&!Ot){if(typeof n.closest!==i.f)return!0;if(null!==n.closest($t+Nn)||null!==n.closest($t+Vn)||null!==n.closest($t+Gn))return!1}return!0}function fo(e){e=c.extend(!0,{},N,e);var t=["*",null],n=["v-h:visible-hidden","v-s:visible-scroll","s:scroll","h:hidden"],r=["v:visible","h:hidden","a:auto"],o=["n:never","s:scroll","l:leave","m:move"],a=["n:none","b:both","h:horizontal","v:vertical"],s="callbacks.",l=tn+"s.",u="textarea.",v="overflowBehavior.",d="nativeScrollbarsOverlaid.",h=!0,p=[h,null],y=0,m=[new Function,null],x=[oo(e,d+"showNativeScrollbars",h),oo(e,d+"initialize",h),oo(e,v+Kt,n),oo(e,v+Qt,n),oo(e,l+"visibility",r),oo(e,l+"autoHide",o),oo(e,l+"autoHideDelay",y),oo(e,l+"clickScrolling",h),oo(e,l+"dragScrolling",h),oo(e,l+"touchSupport",h),oo(e,u+"dynWidth",h),oo(e,u+"dynHeight",h),oo(e,"className",t),oo(e,"resize",a),oo(e,"sizeAutoCapable",h),oo(e,"paddingAbsolute",h),oo(e,"clipAlways",h),oo(e,"normalizeRTL",h),oo(e,"autoUpdate",p),oo(e,"autoUpdateInterval",y),oo(e,s+"onInitialized",m),oo(e,s+"onInitializationWithdrawn",m),oo(e,s+"onDestroyed",m),oo(e,s+"onScrollStart",m),oo(e,s+"onScroll",m),oo(e,s+"onScrollStop",m),oo(e,s+"onDirectionChanged",m),oo(e,s+"onContentSizeChanged",m),oo(e,s+"onHostSizeChanged",m),oo(e,s+"onOverflowChanged",m),oo(e,s+"onOverflowAmountChanged",m),oo(e,s+"onUpdated",m)];for(var w in e)e.hasOwnProperty(w)&&f.has(_,w)&&c.isEmptyObject(e[w])&&delete e[w];if(!c.isEmptyObject(e)){var g=function(e){c.each(e,function(t,n){c.isPlainObject(n)?g(n):c.type(n)===i.f&&(e[t]=c.type(n))})};g(e),console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(e,null,2))}N=c.extend(!0,{},N,ao(x,!1)),U=c.extend(!0,{},U,ao(x,!0))}function uo(){if(I)return!1;var e,t=Ot&&ye&&!Le?J.val().length:0,n=!rt&&ye&&!Ot,r={};n&&(e=ne.css(Vt),r[Vt]=R?It:_t,r[jt]=Xt,ne.css(r));var o={w:yo()[a.sW]+t,h:yo()[a.sH]+t};n&&(r[Vt]=e,r[jt]=Jt,ne.css(r));var i=io(),s=Cr(o,je)||i;return je=o,s}function vo(){if(I||rt)return!1;var e=K.attr(a.i)||qt,t=br(e,De),n=K.attr(a.c)||qt,r=br(n,Re),o=K.attr(a.s)||qt,i=br(o,Ie),s=K.is(":visible")||qt,l=br(s,Pe),c=Ot&&J.attr("rows")||qt,f=br(c,_e),u=Ot&&J.attr("cols")||qt,v=br(u,Ne),d=Ot&&J.attr("wrap")||qt,h=br(d,Ue);return De=e,r&&(r=lo(Re,n)),Re=n,Ie=o,Pe=s,_e=c,Ne=u,Ue=d,t||r||i||l||f||v||h}function ho(t){var n=e.parseInt(t);return isNaN(n)?0:n}function po(e){if(!Ct)return!0;var t=[jt,Nt+jt,Ut+jt,Lt+_t,Lt+It,_t,It,"font-weight","word-spacing"],n=[Ft+_t,Ft+It,Dt+_t+jt,Dt+It+jt],r=[Bt,Nt+Bt,Ut+Bt,Lt+Rt,Lt+Pt,Rt,Pt,"line-height"],o=[Ft+Rt,Ft+Pt,Dt+Rt+jt,Dt+Pt+jt],i="s",a="v-s",s=Me.x===i||Me.x===a,l=!1,c=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1};return(Me.y===i||Me.y===a)&&((l=c(r,e))||k||(l=c(o,e))),s&&!l&&((l=c(t,e))||k||(l=c(n,e))),l}function yo(){return Ot?re[0]:ne[0]}function mo(e,t,o){var i=r.now(),l=sr>0&&Ct&&i-j<sr&&!me&&!ye;if(clearTimeout(B),l&&(ar.h=e,ar.c=t,ar.f=o,B=setTimeout(mo,sr)),!(l||I||Ct&&!o&&K.is(":hidden")||"inline"===K.css("display"))){j=i,e=e||ar.h,t=t||ar.c,o=o||ar.f,ar={},e=e!==n&&e,t=t!==n&&t,o=o!==n&&o,!x||C.x&&C.y?g=c.extend(!0,{},v.nativeScrollbarSize):(g.x=0,g.y=0),b={x:3*(g.x+(C.x?0:3)),y:3*(g.y+(C.y?0:3))},mr(G),mr(Q);var f={l:ee[on](),t:ee[an]()},u=U.callbacks,h=U.scrollbars,m=U.textarea,O=u.onUpdated,z=u.onOverflowChanged,W=u.onOverflowAmountChanged,P=u.onDirectionChanged,_=u.onContentSizeChanged,N=u.onHostSizeChanged,V=h.visibility,q=br(V,Ve,o),X=h.autoHide,Y=br(X,qe,o),ie=h.clickScrolling,ae=br(ie,Xe,o),se=h.dragScrolling,le=br(se,Ye,o),ce=U.className,fe=br(ce,Qe,o),Oe=U.resize,De=br(Oe,Je,o)&&!zt,Re=!!Ot&&"off"!==J.attr("wrap"),Ie=br(Re,Le,o),Pe=U.paddingAbsolute,_e=br(Pe,ze,o),Ne=U.clipAlways,Ue=br(Ne,He,o),je=U.sizeAutoCapable&&!zt,Be=br(je,Ee,o),tt=U.nativeScrollbarsOverlaid.showNativeScrollbars,nt=br(tt,Te),ot=U.autoUpdate,it=br(ot,Ae),st=U.overflowBehavior,lt=Cr(st,Me,Kt,Qt,o),pt=m.dynWidth,yt=br($e,St),St=m.dynHeight,Mt=br(Ze,St);if(ft="n"===X,ut="s"===X,vt="m"===X,dt="l"===X,ct=h.autoHideDelay,ht=h.touchSupport,Ge=Qe,mt="n"===Oe,xt="b"===Oe,wt="h"===Oe,gt="v"===Oe,Ke=U.normalizeRTL,tt=tt&&C.x&&C.y,Ve=V,qe=X,Xe=ie,Ye=se,Qe=ce,Je=Oe,Le=Re,ze=Pe,He=Ne,Ee=je,Te=tt,Ae=ot,Me=c.extend(!0,{},st),$e=pt,Ze=St,fe&&(K.removeClass(Ge).removeClass(ir),ce!==n&&null!==ce&&ce.length>0?K.addClass(ce):K.addClass(ir)),it&&(!0===ot?(Wr(),d.add(bt)):null===ot&&y?(Wr(),d.add(bt)):(d.remove(bt),Hr())),Be)if(je)if(Z===n&&(Z=c(Gt+Pn+Zt),$.before(Z)),Ht)Q.show();else{Q=c(Gt+_n+Zt),Z.before(Q);var kt={w:-1,h:-1};wr(Q,function(){var e={w:Q[0][a.oW],h:Q[0][a.oH]};Cr(e,kt)&&(Ct&&me&&e.h>0||ye&&e.w>0?mo():(Ct&&!me&&0===e.h||!ye&&0===e.w)&&mo()),kt=e}),Ht=!0,null!==w&&Q.css(Bt,w+"(100% + 1px)")}else Ht&&Q.hide();o&&(G.find("*").trigger(Yt),Ht&&Q.find("*").trigger(Yt));var At,Et=K.css("direction"),$t=br(Et,Se,o),en=K.css("box-sizing"),tn=br(en,we,o),nn={c:o,t:ho(K.css(Ft+Rt)),r:ho(K.css(Ft+It)),b:ho(K.css(Ft+Pt)),l:ho(K.css(Ft+_t))};try{At=Ht?Q[0].getBoundingClientRect():null}catch(_o){return}k="border-box"===en;var rn=(R="rtl"===Et)?_t:It,ln=R?It:_t,vn=K[0],dn=$[0],hn=!1,pn=!(!Ht||"none"===K.css(Vt))&&(0===Math.round(At.right-At.left)&&(!!Pe||vn[a.cW]-T>0));if(je&&!pn){var yn=vn[a.oW],mn=Z.css(jt);Z.css(jt,Xt);var xn=vn[a.oW];Z.css(jt,mn),(hn=yn!==xn)||(Z.css(jt,yn+1),xn=vn[a.oW],Z.css(jt,mn),hn=yn!==xn)}var wn=(pn||hn)&&je,gn=br(wn,ye,o),bn=!wn&&ye,Cn=!!Ht&&0===Math.round(At.bottom-At.top),Sn=br(Cn,me,o),Tn=!Cn&&me,An="-"+jt,En=wn&&k||!k,Ln=Cn&&k||!k,Fn={c:o,t:Ln?ho(K.css(Dt+Rt+An)):0,r:En?ho(K.css(Dt+It+An)):0,b:Ln?ho(K.css(Dt+Pt+An)):0,l:En?ho(K.css(Dt+_t+An)):0},Dn={c:o,t:ho(K.css(Lt+Rt)),r:ho(K.css(Lt+It)),b:ho(K.css(Lt+Pt)),l:ho(K.css(Lt+_t))},Rn={h:String(K.css(Ut+Bt)),w:String(K.css(Ut+jt))},Nn={},Un={};if(T=nn.l+nn.r,A=nn.t+nn.b,nn.c=Sr(nn,ge),E=Fn.l+Fn.r,L=Fn.t+Fn.b,Fn.c=Sr(Fn,be),F=Dn.l+Dn.r,D=Dn.t+Dn.b,Dn.c=Sr(Dn,Ce),Rn.ih=ho(Rn.h),Rn.iw=ho(Rn.w),Rn.ch=Rn.h.indexOf("px")>-1,Rn.cw=Rn.w.indexOf("px")>-1,Rn.c=Cr(Rn,xe,o),Se=Et,we=en,ye=wn,me=Cn,ge=nn,be=Fn,Ce=Dn,xe=Rn,$t&&Ht&&Q.css(Vt,ln),nn.c||$t||_e||gn||Sn||tn||Be){var jn={},Bn={};zr(Un,Lt,[-nn.t,-nn.r,-nn.b,-nn.l]),Pe?(zr(jn,qt,[nn.t,nn.r,nn.b,nn.l]),zr(Ot?Bn:Nn,Ft)):(zr(jn,qt),zr(Ot?Bn:Nn,Ft,[nn.t,nn.r,nn.b,nn.l])),$.css(jn),J.css(Bn)}Tt={w:dn[a.oW],h:dn[a.oH]};var Vn=!!Ot&&Ar();if(Cn&&(Sn||_e||tn||Rn.c||nn.c||Fn.c)?(Rn.cw&&(Nn[Ut+Bt]=Rn.ch?Rn.ih-(Pe?A:0)+(k?-L:A):qt),Nn[Bt]=Xt):(Sn||_e)&&(Nn[Ut+Bt]=qt,Nn[Bt]=Jt),wn&&(gn||_e||tn||Rn.c||nn.c||Fn.c||$t)?(Rn.cw&&(Nn[Ut+jt]=Rn.cw?Rn.iw-(Pe?T:0)+(k?-E:T)+(C.y?S.y:0):qt),Nn[jt]=Xt,Un[Ut+jt]=Jt):(gn||_e)&&(Nn[Ut+jt]=qt,Nn[jt]=Jt,Nn[Vt]=qt,Un[Ut+jt]=qt),wn&&(Rn.cw||(Nn[Ut+jt]=qt),Un[jt]=Ot&&pt?Vn.dw:Xt,Nn[jt]=Xt,Nn[Vt]=ln),Cn&&(Rn.ch||(Nn[Ut+Bt]=qt),Un[Bt]=Ot?St?Vn.dh:Xt:ne[0][a.cH]),je&&Z.css(Un),ne.css(Nn),Nn={},Un={},he=he||{x:!1,y:!1},e||t||$t||tn||_e||gn||wn||Sn||Cn||Rn.c||nt||lt||Ue||De||q||yt||Mt||Ie||_e||yt||Mt||o){var qn="overflow",Xn=qn+"-x",Yn=qn+"-y",Jn="hidden",Kn="visible",Qn=M&&(C.x||C.y||Tt.w<b.y||Tt.h<b.x)||Cn,Gn={},nr=he.y&&pe.ys&&!tt?C.y?ee.css(rn):-g.y:0,rr=he.x&&pe.xs&&!tt?C.x?ee.css(Pt):-g.x:0;zr(Gn,qt),ee.css(Gn),Qn&&ne.css(qn,Jn);var or=yo(),lr=M&&!Qn?ee[0]:or,cr={w:or[a.cW],h:or[a.cH]},fr={w:Math.max(or[a.sW],lr[a.sW]),h:Math.max(or[a.sH],lr[a.sH])},ur={w:Ot&&Vn&&!pt?Vn.ow:wn?cr.w:fr.w,h:Ot&&Vn&&!St?Vn.oh:Cn?cr.h:fr.h};Gn[Pt]=Tn?qt:rr,Gn[rn]=bn?qt:nr,ee.css(Gn);var vr={w:vn[a.cW],h:vn[a.cH]},dr={w:Math.max(ur.w+(Pe?T:0),vr.w-T)-(pt&&Ot&&wn?F+(k?0:T+E):0),h:Math.max(ur.h+(Pe?A:0),vr.h-A)};if(dr.c=Cr(dr,We,o),We=dr,je){(dr.c||Cn||wn)&&(Un[jt]=dr.w,Un[Bt]=dr.h);var hr=Un[jt]+(k?E:-T),gr=Un[Bt]+(k?L:-T),kr={};(!wn||!wn&&Fn.c)&&(Un[jt]=vr.w-(k?0:T+E)-1-F),(!Cn||!Cn&&Fn.c)&&(Un[Bt]=vr.h-(k?0:A+L)-1-D),Rn.cw&&Rn.iw===hr&&(Un[jt]=hr+(k?0:T)+1),Rn.ch&&Rn.ih===gr&&(Un[Bt]=gr+(k?0:A)+1),wn&&(cr.w<Tt.w||Ot&&!Re)&&0===T&&(Ot&&(kr[jt]=ho(re.css(jt))-1),Un[jt]-=1),Cn&&(cr.h<Tt.h||Ot)&&0===A&&(Ot&&(kr[Bt]=ho(re.css(Bt))-1),Un[Bt]-=1),ur.h>0&&(Un[jt]=Math.max(1,Un[jt]),Un[Bt]=Math.max(1,Un[Bt])),Ot&&re.css(kr),Z.css(Un)}wn&&(Nn[jt]=Jt),!wn||k||rt||(Nn[Vt]="none"),ne.css(Nn),Nn={};var Tr=or.getBoundingClientRect(),Lr={w:Math.max(or[a.sW],lr[a.sW]),h:Math.max(or[a.sH],lr[a.sH])};if(Qn&&ne.css(qn,qt),Tr.width!==n){var Fr=Tr.width,Dr=Tr.height,Rr=.001;Lr.w+=ho(Fr+Rr)-Fr,Lr.h+=ho(Dr+Rr)-Dr}Lr.c=t=Cr(Lr,ve,o),ve=Lr,e=Cr(vr={w:vn[a.cW],h:vn[a.cH]},ue),ue=vr,Tt={w:dn[a.oW],h:dn[a.oH]};var Ir={x:"v-s"===st.x,y:"v-s"===st.y},Pr={x:"v-h"===st.x,y:"v-h"===st.y},_r={x:"s"===st.x,y:"s"===st.y},Nr={x:Math.max(0,Math.round(100*(Lr.w-vr.w+(Pe?T:0)))/100),y:Math.max(0,Math.round(100*(Lr.h-vr.h+(Pe?A:0)))/100)},Ur=Ot&&(0===Tt.w||0===Tt.h);Ur&&(Nr.x=0,Nr.y=0);var jr={x:Nr.x>0,y:Nr.y>0},Br={x:jr.x,y:jr.y};(Ir.x||Pr.x)&&(Br.x=jr.y&&!Ir.y&&!Pr.y),(Ir.y||Pr.y)&&(Br.y=jr.x&&!Ir.x&&!Pr.x),Br.xs=!!Br.x&&(_r.x||Ir.x),Br.ys=!!Br.y&&(_r.y||Ir.y);var Kr={x:jr.x&&Br.xs,y:jr.y&&Br.ys},Qr=ke;if(Nr.c=Cr(Nr,ke,Kt,Qt,o),ke=Nr,jr.c=Cr(jr,he,Kt,Qt,o),he=jr,Br.c=Cr(Br,pe,Kt,Qt,o),pe=Br,C.x||C.y){var Gr=o,to={};if((jr.x||jr.y)&&(to.w=C.y&&jr.y?Lr.w+S.y:qt,to.h=C.x&&jr.x?Lr.h+S.x:qt,Gr=br(to,de,o),de=to),jr.c||Br.c||Lr.c||$t||gn||Sn||wn||Cn||nt){var no="px solid transparent";Nn[Dt+ln]=qt,Nn[Lt+ln]=qt,C.x&&jr.x&&Br.xs?(Cn&&(Nn[Lt+Pt]=tt?qt:S.x),Nn[Dt+Pt]=Cn||tt?qt:S.x+no):(to.h=qt,Gr=!0,Nn[Dt+Pt]=qt,Nn[Lt+Pt]=qt),C.y&&jr.y&&Br.ys?(wn&&(Nn[Lt+rn]=tt?qt:S.y),Nn[Dt+rn]=tt?qt:S.y+no):(to.w=qt,Gr=!0,Nn[Dt+rn]=qt,Nn[Lt+rn]=qt)}if(tt&&(to.w=qt,to.h=qt,Gr=!0),Gr){var ro={};ro[jt]=Br.y?to.w:qt,ro[Bt]=Br.x?to.h:qt,te===n&&(te=c(Gt+In+Zt),ee.prepend(te)),te.css(ro)}ne.css(Nn)}var oo={};jn={};if(e||jr.c||Br.c||Lr.c||lt||tn||nt||$t||Ue||Sn){oo[ln]=qt;var ao=function(){oo[Pt]=qt,Wt.h=0},so=function(){oo[rn]=qt,Wt.w=0};if(jr.x&&Br.xs?(oo[Xn]=Yt,tt?ao():(oo[Pt]=-(C.x?S.x:g.x),Wt.h=C.x?S.y:0)):(oo[Xn]=qt,ao()),jr.y&&Br.ys?(oo[Yn]=Yt,tt?so():(oo[rn]=-(C.y?S.y:g.y),Wt.w=C.y?S.x:0)):(oo[Yn]=qt,so()),(Tt.h<b.x||Tt.w<b.y)&&(jr.x&&Br.x&&!C.x||jr.y&&Br.y&&!C.y)?(oo[Ft+Rt]=b.x,oo[Lt+Rt]=-b.x,oo[Ft+ln]=b.y,oo[Lt+ln]=-b.y):(oo[Ft+Rt]=qt,oo[Lt+Rt]=qt,oo[Ft+ln]=qt,oo[Lt+ln]=qt),oo[Ft+rn]=qt,oo[Lt+rn]=qt,jr.x&&Br.x||jr.y&&Br.y||Ur?Ot&&Ur&&(jn[Xn]=Jn,jn[Yn]=Jn):(!Ne||Pr.x||Ir.x||Pr.y||Ir.y)&&(Ot&&(jn[Xn]=qt,jn[Yn]=qt),oo[Xn]=Kn,oo[Yn]=Kn),$.css(jn),ee.css(oo),oo={},(jr.c||tn||gn||Sn)&&(!C.x||!C.y)){var lo=ne[0],co=lo.style;co.webkitTransform="scale(1)",co.display="run-in";lo[a.oH];co.display=qt,co.webkitTransform=qt}if(nt&&tt){K.hide();vn[a.oH];K.show()}}if(Nn={},$t||gn||Sn)if(R&&wn){var fo=ne.css(Vt),uo=Math.round(ne.css(Vt,qt).css(_t,qt).position().left);ne.css(Vt,fo),uo!==Math.round(ne.position().left)&&(Nn[_t]=uo)}else Nn[_t]=qt;ne.css(Nn);var vo="v"===V,po="h"===V,xo="a"===V,wo=s.bind(Vr,0,!0,!0,Kr.x),go=s.bind(Vr,0,!1,!0,Kr.y),bo=s.bind(Vr,0,!0,!1,Kr.x),Co=s.bind(Vr,0,!1,!1,Kr.y);if($t&&(R?K.addClass(On):K.removeClass(On)),zt&&K.addClass(zn),De){var So=function(){oe.on(sn,Mr)},Oo=function(){oe.off(sn,Mr)};mt?(K.addClass(zn),oe.removeClass(Zn).removeClass($n).removeClass(er).removeClass(tr),Oo()):(K.removeClass(zn),oe.addClass(Zn),xt?oe.addClass($n):wt?oe.addClass(er):gt&&oe.addClass(tr),Oo(),So())}if((q||lt||Br.c||jr.c||nt)&&(tt?nt&&(K.removeClass(Hn),tt&&(bo(),Co())):xo?(Kr.x?wo():bo(),Kr.y?go():Co()):vo?(wo(),go()):po&&(bo(),Co())),Y||nt){var zo=function(e){H?e?pr(K,cn,eo):(pr(K,fn,Zr),pr(K,un,$r)):e?K.on(cn,eo):K.on(fn,Zr).on(un,$r)},Ho=function(){H?(yr(K,cn,eo),yr(K,fn,Zr),yr(K,un,$r)):K.off(cn,eo).off(fn,Zr).off(un,$r)};dt||vt?(Ho(),zo(vt)):Ho(),ft?qr(!0):qr(!1,!0)}if((e||Nr.c||Sn||gn||De||tn||_e||nt||$t)&&(Xr(!0),Yr(!0,f.l),Xr(!1),Yr(!1,f.t)),ae&&Jr(!0,ie),le&&Jr(!1,se),Br.x||Br.y?K.addClass(Wn):K.removeClass(Wn),Br.x?K.addClass(Mn):K.removeClass(Mn),Br.y?K.addClass(kn):K.removeClass(kn),Ot&&t){var Wo=Er();if(Wo!==n){var Mo=Fe===n||Wo.rows!==Fe.rows,ko=Wo.wRow,To=Wo.cursorRow,Ao=Wo.cursorCol,Eo=Wo.rows,Lo=Wo.cols,Fo=Wo.pos,Do=Wo.max===Fo&&at,Ro={x:Re||Ao!==Lo||To!==ko?-1:ke.x,y:(Re?Do||Mo&&Qr!==n&&f.t===Qr.y:(Do||Mo)&&To===Eo)?ke.y:-1},Io=Ro.x>-1,Po=Ro.y>-1;(Io||Po)&&(Po&&ee[an](Ro.y),Io&&(R&&Ke&&p.i?ee[on](0):ee[on](Ro.x)))}Fe=Wo}else Ot||(R&&p.i&&C.y&&jr.x&&Ke&&(f.l+=Wt.w),ee[on](f.l),ee[an](f.t));$t&&c.isFunction(P)&&Or(P,{isRTL:R,dir:Et}),e&&c.isFunction(N)&&Or(N,{width:ue.w,height:ue.h}),t&&c.isFunction(_)&&Or(_,{width:ve.w,height:ve.h}),(jr.c||Br.c)&&c.isFunction(z)&&Or(z,{x:jr.x,y:jr.y,xScrollable:Br.xs,yScrollable:Br.ys,clipped:Br.x||Br.y}),Nr.c&&c.isFunction(W)&&Or(W,{x:Nr.x,y:Nr.y})}zt&&(jr.c||et.c)&&(et.f||io(),C.y&&jr.x&&ne.css(Nt+jt,et.w+S.y),C.x&&jr.y&&ne.css(Nt+Bt,et.h+S.x),et.c=!1),xr(G),xr(Q),c.isFunction(O)&&Or(O,{forced:o})}}function xo(e,t){_=v.defaultOptions,x=v.nativeScrollbarStyling,g=c.extend(!0,{},v.nativeScrollbarSize),C=c.extend(!0,{},v.nativeScrollbarIsOverlaid),S=c.extend(!0,{},v.overlayScrollbarDummySize),p=c.extend(!0,{},v.rtlScrollBehavior),fo(c.extend(!0,{},_,t));var n,o=U.callbacks;if(C.x&&C.x&&!U.nativeScrollbarsOverlaid.initialize){var i=o.onInitializationWithdrawn;return c.isFunction(i)&&Or(i),!1}if(w=v.cssCalc,m=v.msie,y=v.autoUpdateRecommended,O=v.supportTransition,z=v.supportTransform,H=v.supportPassiveEvents,W=v.supportResizeObserver,ot=v.supportMutationObserver,M=v.restrictedMeasuring,q=c(e.ownerDocument),V=c(q[0].defaultView||q[0].parentWindow),X=q.find("html").first(),Y=X.find("body").first(),J=c(e),Ot=J.is("textarea"),(zt=J.is("body"))&&((n={}).l=Math.max(J[on](),X[on](),V[on]()),n.t=Math.max(J[an](),X[an](),V[an]())),Ot){J.wrap(Gt+gn+Zt),J.addClass(Tn).addClass(Bn),K=J.parent();var s={};U.sizeAutoCapable||(s[jt]=J.css(jt),s[Bt]=J.css(Bt)),K.css(s).wrapInner(Gt+Rn+en+Bn+Zt).wrapInner(Gt+Ln+en+Bn+Zt).wrapInner(Gt+En+en+Bn+Zt),ne=K.find($t+Rn).first(),ee=K.find($t+Ln).first(),$=K.find($t+En).first(),re=c(Gt+An+Zt),ne.prepend(re),J.on(Yt,Nr).on("drop",Ir).on("focus",Pr).on("focusout",_r),m>9||!y?J.on("input",Fr):J.on(vn,Dr).on(dn,Rr)}else J.addClass(wn),(K=J).wrapInner(Gt+Rn+Zt).wrapInner(Gt+Ln+Zt).wrapInner(Gt+En+Zt),ne=K.find($t+Rn).first(),ee=K.find($t+Ln).first(),$=K.find($t+En).first(),ne.on(pn,function(e){!0!==Ae&&po((e=e.originalEvent||e).propertyName)&&mo(Xt)});if(Kr(),H?pr(ee,Yt,to):ee.on(Yt,to),x&&(C.x&&C.y?ee.addClass(Dn):ee.addClass(Fn)),ot){var l,f=r.mO(),u=r.now();tt=new f(function(e){if(Ct&&!I){var t=!1;c.each(e,function(){var e=this,n=this.target,r=e.attributeName;if(t=r===a.c?lo(e.oldValue,n.className):r!==a.s||e.oldValue!==n.style.cssText)return!1}),t&&bt.update(Xt)}}),nt=new f(function(e){if(Ct&&!I){for(var t=!1,n=0;n<e.length;n++){if(co(e[n])){t=!0;break}}if(t){var o=r.now(),i=me||ye,a=function(){u=o,Ot&&Ar(),i?bt.update():bt.update(Xt)};clearTimeout(l),cr<=0||o-u>cr||!i?a():l=setTimeout(a,cr)}}})}zt&&(X.addClass(xn),ee[on](n.l),ee[an](n.t)),G=c(Gt+"os-resize-observer-host"+Zt),K.prepend(G),wr(G,hr),hr(),bt.update(Xt),setTimeout(function(){O&&!St&&K.addClass(Sn)},333),Ct=!0;var d=o.onInitialized;return c.isFunction(d)&&Or(d),Ct}}e[o]=function(e,t){if(0===arguments.length)return this;h();var r,o=[];return c.isPlainObject(t)?e&&e.length?e.length>1?(c.each(e,function(){(r=this)!==n&&o.push(m(r,t,u,v))}),o):m(e[0],t,u,v):m(e,t,u,v):e?e.length&&e.length>0?e.length>1?(c.each(e,function(){r=l.get(this),"!"===t?r!==n&&o.push(r):o.push(r)}),o):l.get(e[0]):l.get(e):void 0},e[o].globals=function(){h();var e=c.extend(!0,{},u);return delete e.msie,e},e[o].defaultOptions=function(e){h();var t=u.defaultOptions;if(e===n)return c.extend(!0,{},t);u.defaultOptions=c.extend(!0,{},t,e)}}(s,c,l,f);return e[o]});
!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,t.document,undefined,require("jquery")):e(t,t.document,undefined,t.jQuery)}("undefined"!=typeof window?window:this,function(t,e,n,r){"use strict";var o="OverlayScrollbars",i={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},a={c:"class",s:"style",i:"id",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},s=r,l=function(r,s,l){var c,u,f,h,d,v,p,y,x,w,m,b,g,S=(f=[i.b,i.n,i.s,i.a,i.o,i.f,i.z],h=" ",d=":",v=[i.z,i.s],p=i.b,y=i.n,x=[i.z,p],w=[i.z,i.f],b={className:["os-theme-dark",v],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:[!0,p],clipAlways:[!0,p],normalizeRTL:[!0,p],paddingAbsolute:[!1,p],autoUpdate:[null,x],autoUpdateInterval:[33,y],nativeScrollbarsOverlaid:{showNativeScrollbars:[!1,p],initialize:[!0,p]},overflowBehavior:{x:["scroll",m="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",m]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,y],dragScrolling:[!0,p],clickScrolling:[!1,p],touchSupport:[!0,p]},textarea:{dynWidth:[!1,p],dynHeight:[!1,p]},callbacks:{onInitialized:[null,w],onInitializationWithdrawn:[null,w],onDestroyed:[null,w],onScrollStart:[null,w],onScroll:[null,w],onScrollStop:[null,w],onOverflowChanged:[null,w],onOverflowAmountChanged:[null,w],onDirectionChanged:[null,w],onContentSizeChanged:[null,w],onHostSizeChanged:[null,w],onUpdated:[null,w]}},{d:(g=function(t){var e=function(n){var r,o,a;for(r in n)n.hasOwnProperty(r)&&(o=n[r],(a=l.type(o))===i.a?n[r]=o[t?1:0]:a===i.o&&(n[r]=e(o)));return n};return e(l.extend(!0,{},b))})(),t:g(!0),v:function(t,e,n,r,o){var a={},s=l.extend(!0,{},t),c=function(t,e,o,a){for(var s in e)if(e.hasOwnProperty(s)&&t.hasOwnProperty(s)){var u,v,p,y,x,w,m,b,g=!1,S=e[s],z=l.type(S),O=l.type(S)!==i.a?[S]:S,C=t[s],M=l.type(C),H=a?a+".":"",W='The option "'+H+s+"\" wasn't set, because",k=[],A=[];if(z===i.o)o[s]={},c(C,S,o[s],H+s),l.isEmptyObject(C)&&delete t[s];else{for(w=0;w<O.length;w++)if(x=O[w],p=(z=l.type(x))===i.s&&-1===l.inArray(x,f))for(k.push(i.s),u=x.split(h),A=A.concat(u),m=0;m<u.length;m++){for(y=(v=u[m].split(d))[0],b=0;b<v.length;b++)if(C===v[b]){g=!0;break}if(g)break}else if(k.push(x),M===x){g=!0;break}g?o[s]=p&&r?y:C:n&&console.warn(W+" it doesn't accept the type [ "+M.toUpperCase()+' ] with the value of "'+C+'".\r\nAccepted types are: [ '+k.join(", ").toUpperCase()+" ]."+(A.length>0?"\r\nValid strings are: [ "+A.join(", ").split(d).join(", ")+" ].":"")),delete t[s]}}};return c(s,e,a),o?l.extend(!0,a,s):!l.isEmptyObject(s)&&n&&console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(s,null,2)),a}});function z(){c||(c=new O(S.d)),u||(u=new C(c))}function O(o){var i=this,c="overflow",u="hidden",f="scroll",h=l("body"),d=l('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),v=d[0],p=l(d.children("div").first()),y=v[a.oH];h.append(d),0===y&&d.hide().show();var x,w,m,b,g,S,z,O,C,M=k(v),H={x:0===M.x,y:0===M.y};function W(t){var r=!1,o="Webkit Moz ms O".split(" "),i=e.createElement("div"),a=null,s=0;if(t=t.toLowerCase(),i.style[t]!==n&&(r=!0),!r)for(a=t.charAt(0).toUpperCase()+t.substr(1);s<o.length;s++)if(i.style[o[s]+a]!==n){r=!0;break}return r}function k(t){return{x:t[a.oH]-t[a.cH],y:t[a.oW]-t[a.cW]}}l.extend(i,{defaultOptions:o,autoUpdateLoop:!1,autoUpdateRecommended:!r.mO(),nativeScrollbarSize:M,nativeScrollbarIsOverlaid:H,nativeScrollbarStyling:(d.addClass("os-viewport-native-scrollbars-invisible"),d.css(c,u).hide().css(c,f).show(),v[a.oH]-v[a.cH]==0&&v[a.oW]-v[a.cW]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(x=t.navigator.userAgent,w="indexOf",m="substring",b=x[w]("MSIE "),g=x[w]("Trident/"),S=x[w]("Edge/"),z=x[w]("rv:"),O=!1,C=t.parseInt,b>0?O=C(x[m](b+5,x[w](".",b)),10):g>0?O=C(x[m](z+3,x[w](".",z)),10):S>0&&(O=C(x[m](S+5,x[w](".",S)),10)),O),cssCalc:function(){var t,n,r=e.createElement("div"),o=["calc","-webkit-calc","-moz-calc","-o-calc"];for(t=0;t<o.length;++t)if(n=o[t],r.style.cssText="width:"+n+"(1px);",r.style.length)return n;return null}(),restrictedMeasuring:function(){d.css(c,u);var t={w:v[a.sW],h:v[a.sH]};d.css(c,"visible");var e={w:v[a.sW],h:v[a.sH]};return t.w-e.w!=0||t.h-e.h!=0}(),rtlScrollBehavior:function(){d.css({"overflow-y":u,"overflow-x":f,direction:"rtl"}).scrollLeft(0);var t=d.offset(),e=p.offset();d.scrollLeft(999);var n=p.offset();return{i:t.left===e.left,n:e.left-n.left==0}}(),supportTransform:W("transform"),supportTransition:W("transition"),supportPassiveEvents:function(){var e=!1;try{t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}return e}(),supportResizeObserver:!!r.rO(),supportMutationObserver:!!r.mO()}),d.removeAttr(a.s).remove(),function(){if(!H.x||!H.y){var e=r.wW(),n=r.wH(),o=c();l(t).on("resize",function(){if(s.all().length>0){var t=r.wW(),u=r.wH(),f=t-e,v=u-n;if(0===f&&0===v)return;var p=Math.round(t/(e/100)),y=Math.round(u/(n/100)),x=Math.abs(f),w=Math.abs(v),m=Math.abs(p),b=Math.abs(y),g=c(),S=x>2&&w>2,z=!a(m,b);!(S&&z&&(g!==o&&o>0))||(h.append(d),i.nativeScrollbarSize=k(d[0]),d.remove(),l.each(s.all(),function(){s.has(this)&&s.get(this).update("zoom")})),e=t,n=u,o=g}})}function a(t,e){var n=Math.abs(t),r=Math.abs(e);return!(n===r||n+1===r||n-1===r)}function c(){var e=t.screen.deviceXDPI||0,n=t.screen.logicalXDPI||1;return t.devicePixelRatio||e/n}}()}function C(t){var e,o=this,i="autoUpdate",a=i+"Interval",s=[],c=[],u=!1,f=33,h=f,d=r.now(),v=function(){if(s.length>0&&u){e=r.rAF()(function(){v()});var t=r.now(),o=t-d;if(o>h){d=t-o%h;for(var l=f,p=0;p<s.length;p++){var y=s[p];if(y!==n){var x=y.options(),w=x[i],m=Math.max(1,x[a]),b=r.now();(!0===w||null===w)&&b-c[p]>m&&(y.update("auto"),c[p]=new Date(b+=m)),l=Math.max(1,Math.min(l,m))}}h=l}}else h=f};o.add=function(e){-1===l.inArray(e,s)&&(s.push(e),c.push(r.now()),s.length>0&&!u&&(u=!0,t.autoUpdateLoop=u,v()))},o.remove=function(o){var i=l.inArray(o,s);i>-1&&(c.splice(i,1),s.splice(i,1),0===s.length&&u&&(u=!1,t.autoUpdateLoop=u,e!==n&&(r.cAF()(e),e=-1)))}}function M(e,c,u,f){if(no(e)){if(s.has(e)){var h=s.get(e);return h.options(c),h}var d,v,p,y,x,w,m,b,g,z,O,C,M,H,W,k,A,T,E,L,R,D,P,N,_,F,I,j,U,B,V,q,X,Y,K,Q,J,G,Z,$,tt,et,nt,rt,ot,it,at,st,lt,ct,ut,ft,ht,dt,vt,pt,yt,xt,wt,mt,bt,gt,St,zt,Ot,Ct,Mt,Ht,Wt,kt,At,Tt,Et,Lt,Rt,Dt,Pt,Nt,_t,Ft,It,jt,Ut,Bt,Vt,qt,Xt,Yt,Kt,Qt,Jt,Gt,Zt,$t,te,ee,ne,re,oe,ie,ae,se,le,ce,ue,fe,he,de,ve,pe,ye,xe,we,me,be,ge,Se,ze,Oe=new t[o],Ce={},Me={},He={},We={},ke={},Ae=175,Te="-hidden",Ee="margin-",Le="padding-",Re="border-",De="top",Pe="right",Ne="bottom",_e="left",Fe="min-",Ie="max-",je="width",Ue="height",Be="float",Ve="",qe="auto",Xe="scroll",Ye="100%",Ke="x",Qe="y",Je=".",Ge=" ",Ze="scrollbar",$e="-horizontal",tn="-vertical",en=Xe+"Left",nn=Xe+"Top",rn="mousedown touchstart",on="mouseup touchend",an="mousemove touchmove",sn="mouseenter",ln="mouseleave",cn="keydown",un="keyup",fn="selectstart",hn="transitionend webkitTransitionEnd oTransitionEnd",dn="__overlayScrollbarsRO__",vn="os-",pn=vn+"html",yn=vn+"host",xn=yn+"-textarea",wn=yn+"-"+Ze+$e+Te,mn=yn+"-"+Ze+tn+Te,bn=yn+"-transition",gn=yn+"-rtl",Sn=yn+"-resize-disabled",zn=yn+"-scrolling",On=yn+"-overflow",Cn=On+"-x",Mn=On+"-y",Hn=vn+"textarea",Wn=Hn+"-cover",kn=vn+"padding",An=vn+"viewport",Tn=An+"-native-scrollbars-invisible",En=An+"-native-scrollbars-overlaid",Ln=vn+"content",Rn=vn+"content-arrange",Dn=vn+"content-glue",Pn=vn+"size-auto-observer",Nn=vn+"resize-observer",_n=vn+"resize-observer-item",Fn=_n+"-final",In=vn+"text-inherit",jn=vn+Ze,Un=jn+"-track",Bn=Un+"-off",Vn=jn+"-handle",qn=Vn+"-off",Xn=jn+"-unusable",Yn=jn+"-"+qe+Te,Kn=jn+"-corner",Qn=Kn+"-resize",Jn=Qn+"-both",Gn=Qn+$e,Zn=Qn+tn,$n=jn+$e,tr=jn+tn,er=vn+"dragging",nr=vn+"theme-none",rr={},or=33,ir=[],ar=11,sr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],lr=[],cr={},ur={};if(Oe.sleep=function(){I=!0},Oe.update=function(t){var e,n,r="zoom"===t,o="img",i="load";t===qe?(e=jr(),n=Ir(),(e||n)&&Vr(!1,n)):r?Vr(!0,!0):(t=I||t,I=!1,Vr(!1,!1,t)),k||r||it.find(o).each(function(t,e){-1===l.inArray(e,ir)&&(e=l(e)).off(i,Pr).on(i,Pr)})},Oe.options=function(t,e){if(l.isEmptyObject(t)||!l.isPlainObject(t)){if(xo(t)===i.s){if(arguments.length>=2){var n={};return ho(n,t,e),qr(n),void Vr()}return fo(B,t)}return B}qr(t);var r=I||!1;I=!1,Vr(),I=r},Oe.destroy=function(){W=!0,f.remove(Oe),wr(),vr(tt),E&&vr($),go(tt),et!==n&&go(et),ot!==n&&go(ot),E&&go($),O?(hr(Z,an,Sr),hr(Z,sn,br),hr(Z,ln,gr)):Z.off(an,Sr).off(sn,br).off(ln,gr),go(lt),go(ft),st&&go(st),be||Rr(),it.contents().unwrap().unwrap().unwrap(),A&&bo(Q,pn),k?(G.off(Xe,Tr).off("drop",Wr).off("focus",kr).off("focusout",Ar),x>9||!y?G.off("input",Cr):G.off(cn,Mr).off(un,Hr),go(at),bo(G,Hn+Ge+In).unwrap().removeAttr(a.s),go(Z)):(bo(G,yn),bo(Z,[yn,Sn,gn,wn,mn,bn,zn,On,Cn,Mn,nr,$t].join(Ge)));for(var t=0;t<ir.length;t++)l(ir[t]).off("load",Pr);for(var r in ir=n,s.rem(e),to(V.callbacks.onDestroyed),Oe)delete Oe[r];Oe=n},Oe.scroll=function(e,r,o,s){if(0===arguments.length||e===n){var c=Me,u=He,f=Zt&&F&&p.i,h=Zt&&F&&p.n,d=c.cs,v=c.csr,y=c.ms;return d=f?y-d:d,{x:{position:d*=h?-1:1,ratio:v=f?1-v:v,max:y*=h?-1:1,handleOffset:c.ho,handleLength:c.hl,handleLengthRatio:c.hlr,trackLength:c.tl,isRTL:F,isRTLNormalized:Zt},y:{position:u.cs,ratio:u.csr,max:u.ms,handleOffset:u.ho,handleLength:u.hl,handleLengthRatio:u.hlr,trackLength:u.tl}}}var x,w=[Ke,_e,"l"],m=[Qe,De,"t"],b=["+=","-=","*=","/="],g={},S=xo(r)===i.o,O="end",C="begin",M="center",H="nearest",W={axis:"xy",block:[C,C],margin:[0,0,0,0]},k=[Ke,Qe,"xy","yx"],A=[C,O,M,H],T=e.hasOwnProperty("el"),E=T?e.el:e,L=E instanceof l||E instanceof t.jQuery,R=!L&&no(E),D=function(t,e){for(x=0;x<e.length;x++)if(t===e[x])return!0;return!1},P=function(t){var e={};if(xo(t)===i.a&&t.length>0)e.x=t[0],e.y=t[1];else if(xo(t)===i.s||xo(t)===i.n)e.x=t,e.y=t;else if(xo(t)===i.o){for(var n in t=wo({},t),x=0,t)t.hasOwnProperty(n)&&(x>2&&delete t[n],x++);var r=function(e){var n=e?w:m;for(x=0;x<n.length;x++)if(n[x]in t)return t[n[x]]};e.x=r(!0),e.y=r(!1)}return e},N=function(e,r){var o,a,s,l=e?Me:He,c=l.cs,u=l.ms,f=" * ",h=F&&e,d=h&&p.n&&!Zt,v="replace";if(xo(r)===i.s){if(r.length>2){var y=r.substr(0,2);for(x=0;x<b.length;x++)if(y===b[x]){o=b[x];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=o!==n?r.substr(2):r)[v](/min/g,0))[v](/</g,0))[v](/max/g,(d?"-":Ve)+Ye))[v](/>/g,(d?"-":Ve)+Ye))[v](/px/g,Ve))[v](/%/g,f+u*(h&&p.n?-1:1)/100))[v](/vw/g,f+We.w))[v](/vh/g,f+We.h),a=oo(t.parseFloat(t.eval(r)).toFixed())}else xo(r)===i.n&&(a=r);if(!isNaN(a)&&a!==n&&xo(a)===i.n){var w=Zt&&h,m=c*(w&&p.n?-1:1),g=w&&p.i,S=w&&p.n;switch(m=g?u-m:m,o){case"+=":s=m+a;break;case"-=":s=m-a;break;case"*=":s=m*a;break;case"/=":s=m/a;break;default:s=a}g&&(s=u-s),S&&(s*=-1),h&&p.n?(s=Math.max(u,s),s=Math.min(0,s)):(s=Math.min(u,s),s=Math.max(0,s)),s===c&&(s=n)}return s};if(L||R){var _=L?E:l(E);if(0===_.length)return;if(T){var I,j,U,B=e.axis,V=e.block,q=xo(V),X=e.margin,Y=xo(X);if(q===i.s)V=[V,V];else if(q===i.a)if((j=V.length)>2||j<1)V=n;else{for(I=!0,1===j&&(V[1]=C),x=0;x<j;x++){var K=V[x];if(xo(K)!==i.s||!D(K,A)){I=!1;break}}I||(V=n)}else V=n;if(Y===i.n)X=[X,X,X,X];else if(Y===i.b)X=X?[oo(_.css(Ee+De)),oo(_.css(Ee+Pe)),oo(_.css(Ee+Ne)),oo(_.css(Ee+_e))]:[0,0,0,0];else if(Y===i.a)if(2!==(U=X.length)&&4!==U)X=n;else{for(I=!0,x=0;x<U;x++)if(xo(X[x])!==i.n){I=!1;break}I?2===U&&(X=[X[0],X[1],X[0],X[1]]):X=n}else X=n;W.axis=D(B,k)?B:W.axis,W.block=V||W.block,W.margin=X||W.margin}var Q=_.offset(),J=nt.offset(),G={l:Me.cs,t:He.cs},Z=W.axis,$=W.block,tt=W.margin,et={x:$[0]===(F?C:O),y:$[1]===O},ot={x:$[0]===M,y:$[1]===M},it={x:$[0]===H,y:$[1]===H},at={},st=et.x||et.y||ot.x||ot.y||it.x||it.y;Q.top-=tt[0],Q.left-=tt[3];var lt={x:Math.round(Q.left-J.left+G.l),y:Math.round(Q.top-J.top+G.t)};if(F&&(p.n||p.i||(lt.x=Math.round(J.left-Q.left+G.l)),p.n&&Zt&&(lt.x*=-1),p.i&&Zt&&(lt.x=Math.round(J.left-Q.left+(Me.ms-G.l)))),st){var ct,ut={},ft={w:(ut=z?{w:(ct=_[0].getBoundingClientRect())[je],h:ct[Ue]}:{w:_[0][a.oW],h:_[0][a.oH]}).w+tt[3]+tt[1],h:ut.h+tt[0]+tt[2]},ht=function(t){var e=$r(t),n=ot[e.xy]?2:1,r=Q[e.lt]+ft[e._wh]/2,o=J[e.lt]+We[e._wh]/2;it[e.xy]&&(at[e.xy]=ft[e._wh]<=We[e._wh]&&Q[e.lt]>=J[e.lt]&&Q[e.lt]+ft[e._wh]<=J[e.lt]+We[e._wh],et[e.xy]=ft[e._wh]<We[e._wh]?r>o:r<o),(et[e.xy]||ot[e.xy])&&(lt[e.xy]-=(We[e._wh]/n-ft[e._wh]/n)*(t&&F&&Zt?-1:1))};ht(!0),ht(!1)}(Z===Ke||at.y)&&delete lt.y,(Z===Qe||at.x)&&delete lt.x,e=lt}g.x=N(!0,P(e).x),g.y=N(!1,P(e).y);var dt=g.x!==n,vt=g.y!==n;if(r>0||S){var pt={};if(dt&&(pt[en]=g.x),vt&&(pt[nn]=g.y),S)rt.animate(pt,r);else{var yt={duration:r,complete:s};if(xo(o)===i.a){var xt={};xt[en]=o[0],xt[nn]=o[1],yt.specialEasing=xt}else yt.easing=o;rt.animate(pt,yt)}}else dt&&rt[en](g.x),vt&&rt[nn](g.y)},Oe.scrollStop=function(t,e,n){rt.stop(t,e,n)},Oe.getElements=function(){return{target:G[0],host:Z[0],padding:nt[0],viewport:rt[0],content:it[0],scrollbarHorizontal:{scrollbar:lt[0],track:ct[0],handle:ut[0]},scrollbarVertical:{scrollbar:ft[0],track:ht[0],handle:dt[0]},scrollbarCorner:st}},Oe.getState=function(t){var e=function(t){if(!l.isPlainObject(t))return t;var e=wo(!0,{},t),n=function(t,n){e.hasOwnProperty(t)&&(e[n]=e[t],delete e[t])};return n("w",je),n("h",Ue),delete e.c,e},n={sleeping:e(I)||!1,autoUpdate:e(!ae),widthAuto:e(mt),heightAuto:e(bt),padding:e(zt),overflowAmount:e(Et),hideOverflow:e(wt),hasOverflow:e(xt),contentScrollSize:e(pt),viewportSize:e(We),hostSize:e(vt)};return xo(t)===i.s?fo(n,t):n},So(e,c))return s.add(e,Oe),Oe;Oe=n}function fr(t,e,n){for(var r=e.split(Ge),o=0;o<r.length;o++)t[0].addEventListener(r[o],n,{passive:!0})}function hr(t,e,n){for(var r=e.split(Ge),o=0;o<r.length;o++)t[0].removeEventListener(r[o],n)}function dr(t,e){var n=3333333,o=r.rO(),s="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",c="childNodes",f=function(){t[nn](n)[en](F?p.n?-n:p.i?0:n:n),e()};if(C){var h=t.append(uo(Nn+" observed")).contents()[0];(h[dn]=new o(f)).observe(h)}else if(x>9||!y){t.prepend(uo(Nn,uo({className:_n,dir:"ltr"},uo(_n,uo(Fn))+uo(_n,uo({className:Fn,style:"width: 200%; height: 200%"})))));var d,v,w,m,b=t[0][c][0][c][0],g=l(b[c][1]),S=l(b[c][0]),z=l(S[0][c][0]),O=b[a.oW],M=b[a.oH],H=2,W=u.nativeScrollbarSize,k=function(){S[en](n)[nn](n),g[en](n)[nn](n)},A=function(){v=0,d&&(O=w,M=m,f())},T=function(t){return w=b[a.oW],m=b[a.oH],d=w!=O||m!=M,t&&d&&!v?(r.cAF()(v),v=r.rAF()(A)):t||A(),k(),t&&(r.prvD(t),r.stpP(t)),!1},E={},L={};L[De]=-(W.y+1)*H,L[Pe]=W.x*-H,L[Ne]=W.y*-H,L[_e]=-(W.x+1)*H,l(b).css(L),S.on(Xe,T),g.on(Xe,T),t.on(s,function(){T(!1)}),E[je]=n,E[Ue]=n,z.css(E),k()}else{var R=K[0],D=R.attachEvent,P=!1!==x;if(D)t.prepend(uo(Nn)),co(t,Je+Nn)[0].attachEvent("onresize",f);else{var N=R.createElement(i.o);N.setAttribute("tabindex","-1"),N.setAttribute(a.c,Nn),N.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",f),t.document.documentElement.style.display="none"},N.type="text/html",P&&t.prepend(N),N.data="about:blank",P||t.prepend(N),t.on(s,f)}}if(t[0]===tt[0]){var _=function(){var e=Z.css("direction"),r={},o=0,i=!1;return e!==Ht&&("ltr"===e?(r[_e]=0,r[Pe]=qe,o=n):(r[_e]=qe,r[Pe]=0,o=p.n?-n:p.i?0:n),tt.children().first().css(r),t[en](o)[nn](n),Ht=e,i=!0),i};_(),t.on(Xe,function(t){return _()&&Vr(),r.prvD(t),r.stpP(t),!1})}}function vr(t){if(C){var e=t.contents()[0];e[dn].disconnect(),delete e[dn]}else go(t.children(Je+Nn).first())}function pr(t){if(t!==n&&C){var e=t.contents()[0];e[dn].unobserve(e)}}function yr(t){if(t!==n&&C){var e=t.contents()[0];e[dn].observe(e)}}function xr(){se&&!ae&&(oe.observe(Z[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[a.i,a.c,a.s]}),ie.observe(k?G[0]:it[0],{attributes:!0,attributeOldValue:!0,subtree:!k,childList:!k,characterData:!k,attributeFilter:k?["wrap","cols","rows"]:[a.i,a.c,a.s]}),ae=!0)}function wr(){se&&ae&&(oe.disconnect(),ie.disconnect(),ae=!1)}function mr(){if(!I){var t=tt[0],e={w:t[a.sW],h:t[a.sH]};if(H){var n=po(e,Xt);Xt=e,n&&Vr(!0,!1)}else Xt=e}}function br(){ye&&Qr(!0)}function gr(){ye&&!J.hasClass(er)&&Qr(!1)}function Sr(){pe&&(Qr(!0),clearTimeout(fe),fe=setTimeout(function(){pe&&Qr(!1)},100))}function zr(t){var e=V.callbacks;I||(j!==n?clearTimeout(j):((ve||pe)&&Qr(!0),so()||Z.addClass(zn),to(e.onScrollStart,t)),Gr(!0,rt[en]()),Gr(!1,rt[nn]()),to(e.onScroll,t),j=setTimeout(function(){Or(),to(e.onScrollStop,t)},Ae))}function Or(){clearTimeout(j),j=n,(ve||pe)&&Qr(!1),so()||Z.removeClass(zn)}function Cr(){Br(),Oe.update(qe)}function Mr(t){var e=t.keyCode;if(!ao(e)){if(0===lr.length){var n=function(){Br(),Oe.update(qe)};n(),le=setInterval(n,1e3/60)}-1===l.inArray(e,lr)&&lr.push(e)}}function Hr(t){var e=t.keyCode;if(!ao(e)){var n=l.inArray(e,lr);n>-1&&lr.splice(n,1),0===lr.length&&(Br(),Oe.update(qe),clearInterval(le))}}function Wr(){setTimeout(function(){Br(),Oe.update(qe)},50)}function kr(){ce=!0}function Ar(){ce=!1,clearInterval(le),lr=[],Br(),Oe.update(qe)}function Tr(t){return G[en](p.i&&Zt?9999999:0),G[nn](0),r.prvD(t),r.stpP(t),!1}function Er(t){if(!I){var e=(t.originalEvent||t).touches!==n;(1===r.mBtn(t)||e)&&(ae&&(me=!0,wr()),cr=r.page(t),ur.w=Z[0][a.oW]-(T?0:L),ur.h=Z[0][a.oH]-(T?0:R),K.on(fn,Dr).on(an,Lr).on(on,Rr),J.addClass(er),st.setCapture&&st.setCapture(),r.prvD(t),r.stpP(t))}}function Lr(t){var e=r.page(t),n={};(Se||ge)&&(n[je]=ur.w+e.x-cr.x),(ze||ge)&&(n[Ue]=ur.h+e.y-cr.y),Z.css(n),r.stpP(t)}function Rr(t){var e=t!==n;K.off(fn,Dr).off(an,Lr).off(on,Rr),J.removeClass(er),st.releaseCapture&&st.releaseCapture(),e&&(me&&xr(),Oe.update(qe)),me=!1}function Dr(t){return r.prvD(t),!1}function Pr(){Vr()}function Nr(){var t={};return A&&ot&&(t.w=oo(ot.css(Fe+je)),t.h=oo(ot.css(Fe+Ue)),t.c=po(t,re),t.f=!0),re=t,t.c}function _r(t,e){var r=e!==n&&null!==e?e.split(Ge):Ve,o=t!==n&&null!==t?t.split(Ge):Ve;if(r===Ve&&o===Ve)return!1;var i,a,s,c,u=ro(o,r),f=!1,h=te!==n&&null!==te?te.split(Ge):[Ve],d=$t!==n&&null!==$t?$t.split(Ge):[Ve],v=l.inArray(nr,u),p=u[i];for(v>-1&&u.splice(v,1),i=0;i<u.length;i++)if(0!==(p=u[i]).indexOf(yn)){for(s=!0,c=!0,a=0;a<h.length;a++)if(p===h[a]){s=!1;break}for(a=0;a<d.length;a++)if(p===d[a]){c=!1;break}if(s&&c){f=!0;break}}return f}function Fr(t){var e=t.attributeName,n=t.target,r=t.type,o="closest";if(n===it[0])return null===e;if("attributes"===r&&(e===a.c||e===a.s)&&!k){if(typeof n[o]!==i.f)return!0;if(null!==n[o](Je+Nn)||null!==n[o](Je+jn)||null!==n[o](Je+Kn))return!1}return!0}function Ir(){if(I)return!1;var t,e=k&&mt&&!Pt?G.val().length:0,n=!ae&&mt&&!k,r={};n&&(t=it.css(Be),r[Be]=F?Pe:_e,r[je]=qe,it.css(r));var o={w:lo()[a.sW]+e,h:lo()[a.sH]+e};n&&(r[Be]=t,r[je]=Ye,it.css(r));var i=Nr(),s=po(o,qt)||i;return qt=o,s}function jr(){if(I||ae)return!1;var t=Z.attr(a.i)||Ve,e=vo(t,_t),n=Z.attr(a.c)||Ve,r=vo(n,Ft),o=Z.attr(a.s)||Ve,i=vo(o,It),s=Z.is(":visible")||Ve,l=vo(s,jt),c=k&&G.attr("rows")||Ve,u=vo(c,Ut),f=k&&G.attr("cols")||Ve,h=vo(f,Bt),d=k&&G.attr("wrap")||Ve,v=vo(d,Vt);return _t=t,r&&(r=_r(Ft,n)),Ft=n,It=o,jt=s,Ut=c,Bt=f,Vt=d,e||r||i||l||u||h||v}function Ur(t){if(!H)return!0;var e=[je,Fe+je,Ie+je,Ee+_e,Ee+Pe,_e,Pe,"font-weight","word-spacing"],n=[Le+_e,Le+Pe,Re+_e+je,Re+Pe+je],r=[Ue,Fe+Ue,Ie+Ue,Ee+De,Ee+Ne,De,Ne,"line-height"],o=[Le+De,Le+Ne,Re+De+je,Re+Ne+je],i="s",a="v-s",s=Tt.x===i||Tt.x===a,l=!1,c=function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1};return(Tt.y===i||Tt.y===a)&&((l=c(r,t))||T||(l=c(o,t))),s&&!l&&((l=c(e,t))||T||(l=c(n,t))),l}function Br(){if(!I){var t,e,n,r,o=!Pt,i=We.w-(T||Wt||!mt?0:R+P),s=We.h-(T||Wt||!bt?0:R+P),l={},c=mt||o,u=G[0];return l[Fe+je]=Ve,l[Fe+Ue]=Ve,l[je]=qe,G.css(l),t=u[a.oW],e=c?Math.max(t,u[a.sW]-1):1,e+=mt?N+(T?0:o?0:L+D):0,l[je]=mt?e:Ye,l[Ue]=qe,G.css(l),n=u[a.oH],r=Math.max(n,u[a.sH]-1),l[je]=e,l[Ue]=r,at.css(l),l[Fe+je]=i+(!T&&mt?L+D:0),l[Fe+Ue]=s+(!T&&bt?R+P:0),G.css(l),{ow:t,oh:n,dw:e,dh:r}}}function Vr(t,e,o){var i=r.now(),s=or>0&&H&&i-q<or&&!bt&&!mt;if(clearTimeout(X),s&&(rr.h=t,rr.c=e,rr.f=o,X=setTimeout(Vr,or)),!(s||I||H&&!o&&Z.is(":hidden")||"inline"===Z.css("display"))){q=i,t=t||rr.h,e=e||rr.c,o=o||rr.f,rr={},t=t!==n&&t,e=e!==n&&e,o=o!==n&&o,!w||d.x&&d.y?b=wo(!0,{},u.nativeScrollbarSize):(b.x=0,b.y=0),ke={x:3*(b.x+(d.x?0:3)),y:3*(b.y+(d.y?0:3))},pr(tt),pr($);var c={l:rt[en](),t:rt[nn]()},h=V.callbacks,x=V.scrollbars,g=V.textarea,S=h.onUpdated,z=h.onOverflowChanged,C=h.onOverflowAmountChanged,W=h.onDirectionChanged,j=h.onContentSizeChanged,U=h.onHostSizeChanged,B=x.visibility,Y=vo(B,Yt,o),K=x.autoHide,Q=vo(K,Kt,o),J=x.clickScrolling,lt=vo(J,Qt,o),ct=x.dragScrolling,ut=vo(ct,Jt,o),ft=V.className,ht=vo(ft,$t,o),dt=V.resize,Ht=vo(dt,Gt,o)&&!A,_t=!!k&&"off"!==G.attr("wrap"),Ft=vo(_t,Pt,o),It=V.paddingAbsolute,jt=vo(It,Wt,o),Ut=V.clipAlways,Bt=vo(Ut,kt,o),Vt=V.sizeAutoCapable&&!A,qt=vo(Vt,Dt,o),Xt=V.nativeScrollbarsOverlaid.showNativeScrollbars,oe=vo(Xt,Lt),ie=V.autoUpdate,se=vo(ie,Rt),le=V.overflowBehavior,ue=po(le,Tt,Ke,Qe,o),fe=g.dynWidth,we=vo(ne,me),me=g.dynHeight,Me=vo(ee,me);if(de="n"===K,ve="s"===K,pe="m"===K,ye="l"===K,he=x.autoHideDelay,xe=x.touchSupport,te=$t,be="n"===dt,ge="b"===dt,Se="h"===dt,ze="v"===dt,Zt=V.normalizeRTL,Xt=Xt&&d.x&&d.y,Yt=B,Kt=K,Qt=J,Jt=ct,$t=ft,Gt=dt,Pt=_t,Wt=It,kt=Ut,Dt=Vt,Lt=Xt,Rt=ie,Tt=wo(!0,{},le),ne=fe,ee=me,ht&&(bo(Z,te+Ge+nr),mo(Z,ft!==n&&null!==ft&&ft.length>0?ft:nr)),se&&(!0===ie?(wr(),f.add(Oe)):null===ie&&y?(wr(),f.add(Oe)):(f.remove(Oe),xr())),qt)if(Vt)if(et===n&&(et=l(uo(Dn)),nt.before(et)),E)$.show();else{$=l(uo(Pn)),et.before($);var He={w:-1,h:-1};dr($,function(){var t={w:$[0][a.oW],h:$[0][a.oH]};po(t,He)&&(H&&bt&&t.h>0||mt&&t.w>0?Vr():(H&&!bt&&0===t.h||!mt&&0===t.w)&&Vr()),He=t}),E=!0,null!==m&&$.css(Ue,m+"(100% + 1px)")}else E&&$.hide();o&&(tt.find("*").trigger(Xe),E&&$.find("*").trigger(Xe));var Ae,Te=Z.css("direction"),Je=vo(Te,Mt,o),Ze=Z.css("box-sizing"),$e=vo(Ze,St,o),tn={c:o,t:oo(Z.css(Le+De)),r:oo(Z.css(Le+Pe)),b:oo(Z.css(Le+Ne)),l:oo(Z.css(Le+_e))};try{Ae=E?$[0].getBoundingClientRect():null}catch(jo){return}T="border-box"===Ze;var on=(F="rtl"===Te)?_e:Pe,cn=F?Pe:_e,un=Z[0],fn=nt[0],hn=!1,dn=!(!E||"none"===Z.css(Be))&&(0===Math.round(Ae.right-Ae.left)&&(!!It||un[a.cW]-L>0));if(Vt&&!dn){var vn=un[a.oW],pn=et.css(je);et.css(je,qe);var yn=un[a.oW];et.css(je,pn),(hn=vn!==yn)||(et.css(je,vn+1),yn=un[a.oW],et.css(je,pn),hn=vn!==yn)}var xn=(dn||hn)&&Vt,wn=vo(xn,mt,o),mn=!xn&&mt,bn=!!E&&0===Math.round(Ae.bottom-Ae.top),Hn=vo(bn,bt,o),Wn=!bn&&bt,kn="-"+je,An=xn&&T||!T,Tn=bn&&T||!T,En={c:o,t:Tn?oo(Z.css(Re+De+kn)):0,r:An?oo(Z.css(Re+Pe+kn)):0,b:Tn?oo(Z.css(Re+Ne+kn)):0,l:An?oo(Z.css(Re+_e+kn)):0},Ln={c:o,t:oo(Z.css(Ee+De)),r:oo(Z.css(Ee+Pe)),b:oo(Z.css(Ee+Ne)),l:oo(Z.css(Ee+_e))},Nn={h:String(Z.css(Ie+Ue)),w:String(Z.css(Ie+je))},_n={},Fn={};if(L=tn.l+tn.r,R=tn.t+tn.b,tn.c=yo(tn,zt),D=En.l+En.r,P=En.t+En.b,En.c=yo(En,Ot),N=Ln.l+Ln.r,_=Ln.t+Ln.b,Ln.c=yo(Ln,Ct),Nn.ih=oo(Nn.h),Nn.iw=oo(Nn.w),Nn.ch=Nn.h.indexOf("px")>-1,Nn.cw=Nn.w.indexOf("px")>-1,Nn.c=po(Nn,gt,o),Mt=Te,St=Ze,mt=xn,bt=bn,zt=tn,Ot=En,Ct=Ln,gt=Nn,Je&&E&&$.css(Be,cn),tn.c||Je||jt||wn||Hn||$e||qt){var In={},jn={};eo(Fn,Ee,[-tn.t,-tn.r,-tn.b,-tn.l]),It?(eo(In,Ve,[tn.t,tn.r,tn.b,tn.l]),eo(k?jn:_n,Le)):(eo(In,Ve),eo(k?jn:_n,Le,[tn.t,tn.r,tn.b,tn.l])),nt.css(In),G.css(jn)}We={w:fn[a.oW],h:fn[a.oH]};var Un=!!k&&Br();if(bn&&(Hn||jt||$e||Nn.c||tn.c||En.c)?(Nn.cw&&(_n[Ie+Ue]=Nn.ch?Nn.ih-(It?R:0)+(T?-P:R):Ve),_n[Ue]=qe):(Hn||jt)&&(_n[Ie+Ue]=Ve,_n[Ue]=Ye),xn&&(wn||jt||$e||Nn.c||tn.c||En.c||Je)?(Nn.cw&&(_n[Ie+je]=Nn.cw?Nn.iw-(It?L:0)+(T?-D:L)+(d.y?v.y:0):Ve),_n[je]=qe,Fn[Ie+je]=Ye):(wn||jt)&&(_n[Ie+je]=Ve,_n[je]=Ye,_n[Be]=Ve,Fn[Ie+je]=Ve),xn&&(Nn.cw||(_n[Ie+je]=Ve),Fn[je]=k&&fe?Un.dw:qe,_n[je]=qe,_n[Be]=cn),bn&&(Nn.ch||(_n[Ie+Ue]=Ve),Fn[Ue]=k?me?Un.dh:qe:it[0][a.cH]),Vt&&et.css(Fn),it.css(_n),_n={},Fn={},xt=xt||{x:!1,y:!1},t||e||Je||$e||jt||wn||xn||Hn||bn||Nn.c||oe||ue||Bt||Ht||Y||we||Me||Ft||jt||we||Me||o){var Bn="overflow",Vn=Bn+"-x",qn=Bn+"-y",Xn="hidden",Yn="visible",Kn=M&&(d.x||d.y||We.w<ke.y||We.h<ke.x)||bn,$n={},tr=xt.y&&wt.ys&&!Xt?d.y?rt.css(on):-b.y:0,er=xt.x&&wt.xs&&!Xt?d.x?rt.css(Ne):-b.x:0;eo($n,Ve),rt.css($n),Kn&&it.css(Bn,Xn);var ir=lo(),ar=M&&!Kn?rt[0]:ir,sr={w:ir[a.cW],h:ir[a.cH]},lr={w:Math.max(ir[a.sW],ar[a.sW]),h:Math.max(ir[a.sH],ar[a.sH])},cr={w:k&&Un&&!fe?Un.ow:xn?sr.w:lr.w,h:k&&Un&&!me?Un.oh:bn?sr.h:lr.h};$n[Ne]=Wn?Ve:er,$n[on]=mn?Ve:tr,rt.css($n);var ur={w:un[a.cW],h:un[a.cH]},vr={w:Math.max(cr.w+(It?L:0),ur.w-L)-(fe&&k&&xn?N+(T?0:L+D):0),h:Math.max(cr.h+(It?R:0),ur.h-R)};if(vr.c=po(vr,At,o),At=vr,Vt){(vr.c||bn||xn)&&(Fn[je]=vr.w,Fn[Ue]=vr.h);var mr=Fn[je]+(T?D:-L),zr=Fn[Ue]+(T?P:-L),Or={};(!xn||!xn&&En.c)&&(Fn[je]=ur.w-(T?0:L+D)-1-N),(!bn||!bn&&En.c)&&(Fn[Ue]=ur.h-(T?0:R+P)-1-_),Nn.cw&&Nn.iw===mr&&(Fn[je]=mr+(T?0:L)+1),Nn.ch&&Nn.ih===zr&&(Fn[Ue]=zr+(T?0:R)+1),xn&&(sr.w<We.w||k&&!_t)&&0===L&&(k&&(Or[je]=oo(at.css(je))-1),Fn[je]-=1),bn&&(sr.h<We.h||k)&&0===R&&(k&&(Or[Ue]=oo(at.css(Ue))-1),Fn[Ue]-=1),cr.h>0&&(Fn[je]=Math.max(1,Fn[je]),Fn[Ue]=Math.max(1,Fn[Ue])),k&&at.css(Or),et.css(Fn)}xn&&(_n[je]=Ye),!xn||T||ae||(_n[Be]="none"),it.css(_n),_n={};var Cr=ir.getBoundingClientRect(),Mr={w:Math.max(ir[a.sW],ar[a.sW]),h:Math.max(ir[a.sH],ar[a.sH])};if(Kn&&it.css(Bn,Ve),Cr.width){var Hr=Cr.width,Wr=Cr.height,kr=.001;Mr.w+=oo(Hr+kr)-Hr,Mr.h+=oo(Wr+kr)-Wr}Mr.c=e=po(Mr,pt,o),pt=Mr,t=po(ur={w:un[a.cW],h:un[a.cH]},vt),vt=ur,We={w:fn[a.oW],h:fn[a.oH]};var Ar={x:"v-s"===le.x,y:"v-s"===le.y},Tr={x:"v-h"===le.x,y:"v-h"===le.y},Lr={x:"s"===le.x,y:"s"===le.y},Rr={x:Math.max(0,Math.round(100*(Mr.w-ur.w+(It?L:0)))/100),y:Math.max(0,Math.round(100*(Mr.h-ur.h+(It?R:0)))/100)},Dr=k&&(0===We.w||0===We.h);Dr&&(Rr.x=0,Rr.y=0);var Pr={x:Rr.x>0,y:Rr.y>0},_r={x:Pr.x,y:Pr.y};(Ar.x||Tr.x)&&(_r.x=Pr.y&&!Ar.y&&!Tr.y),(Ar.y||Tr.y)&&(_r.y=Pr.x&&!Ar.x&&!Tr.x),_r.xs=!!_r.x&&(Lr.x||Ar.x),_r.ys=!!_r.y&&(Lr.y||Ar.y);var Fr={x:Pr.x&&_r.xs,y:Pr.y&&_r.ys},Ir=Et;if(Rr.c=po(Rr,Et,Ke,Qe,o),Et=Rr,Pr.c=po(Pr,xt,Ke,Qe,o),xt=Pr,_r.c=po(_r,wt,Ke,Qe,o),wt=_r,d.x||d.y){var jr=o,Ur={};if((Pr.x||Pr.y)&&(Ur.w=d.y&&Pr.y?Mr.w+v.y:Ve,Ur.h=d.x&&Pr.x?Mr.h+v.x:Ve,jr=vo(Ur,yt,o),yt=Ur),Pr.c||_r.c||Mr.c||Je||wn||Hn||xn||bn||oe){var qr="px solid transparent";_n[Re+cn]=Ve,_n[Ee+cn]=Ve,d.x&&Pr.x&&_r.xs?(bn&&(_n[Ee+Ne]=Xt?Ve:v.x),_n[Re+Ne]=bn||Xt?Ve:v.x+qr):(Ur.h=Ve,jr=!0,_n[Re+Ne]=Ve,_n[Ee+Ne]=Ve),d.y&&Pr.y&&_r.ys?(xn&&(_n[Ee+on]=Xt?Ve:v.y),_n[Re+on]=Xt?Ve:v.y+qr):(Ur.w=Ve,jr=!0,_n[Re+on]=Ve,_n[Ee+on]=Ve)}if(Xt&&(Ur.w=Ve,Ur.h=Ve,jr=!0),jr){var Xr={};Xr[je]=_r.y?Ur.w:Ve,Xr[Ue]=_r.x?Ur.h:Ve,ot===n&&(ot=l(uo(Rn)),rt.prepend(ot)),ot.css(Xr)}it.css(_n)}var Yr={};In={};if(t||Pr.c||_r.c||Mr.c||ue||$e||oe||Je||Bt||Hn){Yr[cn]=Ve;var $r=function(){Yr[Ne]=Ve,Ce.h=0},no=function(){Yr[on]=Ve,Ce.w=0};if(Pr.x&&_r.xs?(Yr[Vn]=Xe,Xt?$r():(Yr[Ne]=-(d.x?v.x:b.x),Ce.h=d.x?v.y:0)):(Yr[Vn]=Ve,$r()),Pr.y&&_r.ys?(Yr[qn]=Xe,Xt?no():(Yr[on]=-(d.y?v.y:b.y),Ce.w=d.y?v.x:0)):(Yr[qn]=Ve,no()),(We.h<ke.x||We.w<ke.y)&&(Pr.x&&_r.x&&!d.x||Pr.y&&_r.y&&!d.y)?(Yr[Le+De]=ke.x,Yr[Ee+De]=-ke.x,Yr[Le+cn]=ke.y,Yr[Ee+cn]=-ke.y):(Yr[Le+De]=Ve,Yr[Ee+De]=Ve,Yr[Le+cn]=Ve,Yr[Ee+cn]=Ve),Yr[Le+on]=Ve,Yr[Ee+on]=Ve,Pr.x&&_r.x||Pr.y&&_r.y||Dr?k&&Dr&&(In[Vn]=Xn,In[qn]=Xn):(!Ut||Tr.x||Ar.x||Tr.y||Ar.y)&&(k&&(In[Vn]=Ve,In[qn]=Ve),Yr[Vn]=Yn,Yr[qn]=Yn),nt.css(In),rt.css(Yr),Yr={},(Pr.c||$e||wn||Hn)&&(!d.x||!d.y)){var ro=it[0],ao=ro.style;ao.webkitTransform="scale(1)",ao.display="run-in";ro[a.oH];ao.display=Ve,ao.webkitTransform=Ve}if(oe&&Xt){Z.hide();un[a.oH];Z.show()}}if(_n={},Je||wn||Hn)if(F&&xn){var so=it.css(Be),co=Math.round(it.css(Be,Ve).css(_e,Ve).position().left);it.css(Be,so),co!==Math.round(it.position().left)&&(_n[_e]=co)}else _n[_e]=Ve;it.css(_n);var fo="v"===B,ho="h"===B,xo="a"===B,go=r.bind(Kr,0,!0,!0,Fr.x),So=r.bind(Kr,0,!1,!0,Fr.y),zo=r.bind(Kr,0,!0,!1,Fr.x),Oo=r.bind(Kr,0,!1,!1,Fr.y);if(Je&&(F?mo(Z,gn):bo(Z,gn)),A&&mo(Z,Sn),Ht){var Co=function(){st.on(rn,Er)},Mo=function(){st.off(rn,Er)};be?(mo(Z,Sn),bo(st,[Qn,Jn,Gn,Zn].join(Ge)),Mo()):(bo(Z,Sn),mo(st,Qn),ge?mo(st,Jn):Se?mo(st,Gn):ze&&mo(st,Zn),Mo(),Co())}if((Y||ue||_r.c||Pr.c||oe)&&(Xt?oe&&(bo(Z,zn),Xt&&(zo(),Oo())):xo?(Fr.x?go():zo(),Fr.y?So():Oo()):fo?(go(),So()):ho&&(zo(),Oo())),Q||oe){var Ho=function(t){O?t?fr(Z,an,Sr):(fr(Z,sn,br),fr(Z,ln,gr)):t?Z.on(an,Sr):Z.on(sn,br).on(ln,gr)},Wo=function(){O?(hr(Z,an,Sr),hr(Z,sn,br),hr(Z,ln,gr)):Z.off(an,Sr).off(sn,br).off(ln,gr)};ye||pe?(Wo(),Ho(pe)):Wo(),de?Qr(!0):Qr(!1,!0)}if((t||Rr.c||Hn||wn||Ht||$e||jt||oe||Je)&&(Jr(!0),Gr(!0,c.l),Jr(!1),Gr(!1,c.t)),lt&&Zr(!0,J),ut&&Zr(!1,ct),_r.x||_r.y?mo(Z,On):bo(Z,On),_r.x?mo(Z,Cn):bo(Z,Cn),_r.y?mo(Z,Mn):bo(Z,Mn),k&&e){var ko=io();if(ko!==n){var Ao=Nt===n||ko.rows!==Nt.rows,To=ko.wRow,Eo=ko.cursorRow,Lo=ko.cursorCol,Ro=ko.rows,Do=ko.cols,Po=ko.pos,No=ko.max===Po&&ce,_o={x:_t||Lo!==Do||Eo!==To?-1:Et.x,y:(_t?No||Ao&&Ir!==n&&c.t===Ir.y:(No||Ao)&&Eo===Ro)?Et.y:-1},Fo=_o.x>-1,Io=_o.y>-1;(Fo||Io)&&(Io&&rt[nn](_o.y),Fo&&(F&&Zt&&p.i?rt[en](0):rt[en](_o.x)))}Nt=ko}else k||(F&&p.i&&d.y&&Pr.x&&Zt&&(c.l+=Ce.w||0),rt[en](c.l),rt[nn](c.t));Je&&to(W,{isRTL:F,dir:Te}),t&&to(U,{width:vt.w,height:vt.h}),e&&to(j,{width:pt.w,height:pt.h}),(Pr.c||_r.c)&&to(z,{x:Pr.x,y:Pr.y,xScrollable:_r.xs,yScrollable:_r.ys,clipped:_r.x||_r.y}),Rr.c&&to(C,{x:Rr.x,y:Rr.y})}A&&(Pr.c||re.c)&&(re.f||Nr(),d.y&&Pr.x&&it.css(Fe+je,re.w+v.y),d.x&&Pr.y&&it.css(Fe+Ue,re.h+v.x),re.c=!1),yr(tt),yr($),to(S,{forced:o})}}function qr(t){B=wo(!0,{},B,S.v(t,S.t,!0)),V=wo(!0,{},V,S.v(t,S.t,!1,!0))}function Xr(){lt=l(uo(jn+Ge+$n)),ct=l(uo(Un)),ut=l(uo(Vn)),ft=l(uo(jn+Ge+tr)),ht=l(uo(Un)),dt=l(uo(Vn)),lt.append(ct),ct.append(ut),ft.append(ht),ht.append(dt),nt.after(ft),nt.after(lt),g&&(lt.on(hn,function(t){t.target===lt[0]&&(Jr(!0),Gr(!0,rt[en]()))}),ft.on(hn,function(t){t.target===ft[0]&&(Jr(!1),Gr(!1,rt[nn]()))})),Yr(!0),Yr(!1),st=l(uo(Kn)),Z.append(st)}function Yr(t){var e,o,i,a=$r(t),s=a.xy,l=Xe+a.LT,c="active",u=1,f=function(){u=.5},h=function(){u=1},d=function(n){var i=a.i.tl,c=a.i.hl,u=a.i.ms*((c/2+r.page(n)[s]-o-c/2)/(i-c));u=isFinite(u)?u:0,F&&t&&(p.n||!p.n&&!p.i)&&(u*=-1),rt[l](e+u),O||r.prvD(n)},v=function(t){t=t||t.originalEvent,bo(J,er),bo(a.h,c),bo(a.t,c),bo(a.s,c),O?(hr(K,an,d),hr(K,on,v),hr(K,cn,y),hr(K,un,x)):K.off(an,d).off(on,v).off(cn,y).off(un,x),K.off(fn,Dr),h(),e=n,o=n,i!==n&&(Oe.scrollStop(),clearTimeout(i),i=n);var r=Z[0].getBoundingClientRect();t.clientX>=r.left&&t.clientX<=r.right&&t.clientY>=r.top&&t.clientY<=r.bottom||gr(),(ve||pe)&&Qr(!1)},y=function(t){16==t.keyCode&&f()},x=function(t){16==t.keyCode&&h()};a.h.on(rn,function(i){if(!I){var u=(i.originalEvent||i).touches!==n;so()||!Jt||u&&!xe||(1===r.mBtn(i)||u)&&(e=(e=rt[l]())===n?0:e,(F&&t&&!p.n||!F)&&(e=e<0?0:e),o=r.page(i)[s],mo(J,er),mo(a.h,c),mo(a.s,c),O?(fr(K,an,d),fr(K,on,v)):K.on(an,d).on(on,v),K.on(fn,Dr),r.prvD(i))}}),a.t.on(rn,function(e){if(!I){var l=(e.originalEvent||e).touches!==n;if(!so()&&Qt&&(!l||xe)&&(1===r.mBtn(e)||l)){var h,d=We[a._wh],w=a.t.offset()[a.lt],m=!0;e.shiftKey&&f();var b=function(){var e=a.i.ho,r=a.i.hl,s=o-w,l=200*u,c=m?Math.max(333,l):l,f={},v=F&&t&&(!p.i&&!p.n||Zt),y=e>s;v&&(y=e<s),y?(h===n&&(h=!0),f[a.xy]="-="+d):(h===n&&(h=!1),f[a.xy]="+="+d),Oe.scrollStop(),Oe.scroll(f,l,"linear");var x=h?e<=s:e+r>=s;v&&(x=h?e+r>=s:e<=s),x?(clearTimeout(i),Oe.scrollStop(),i=n):i=setTimeout(b,c),m=!1};o=r.page(e)[s],mo(J,er),mo(a.t,c),mo(a.s,c),O?(fr(K,on,v),fr(K,cn,y),fr(K,un,x)):K.on(on,v).on(cn,y).on(un,x),K.on(fn,Dr),b(),r.prvD(e)}}}).hover(function(){(ve||pe)&&(we=!0,Qr(!0))},function(){(ve||pe)&&(we=!1,Qr(!1))}),a.s.on(rn,function(t){r.stpP(t)})}function Kr(t,e,n){var r=t?wn:mn,o=t?lt:ft;e?Z.removeClass(r):Z.addClass(r),n?o.removeClass(Xn):o.addClass(Xn)}function Qr(t,e){if(clearTimeout(ue),t)lt.removeClass(Yn),ft.removeClass(Yn);else{var n="active",r=function(){if(!we){var t=ut.hasClass(n)||dt.hasClass(n);!t&&(ve||pe||ye)&&lt.addClass(Yn),!t&&(ve||pe||ye)&&ft.addClass(Yn)}};he>0&&!0!==e?ue=setTimeout(r,he):r()}}function Jr(t){var e={},n=$r(t),r=Math.min(1,(vt[n._wh]-(Wt?t?L:R:0))/pt[n._wh]);e[n.wh]=Math.floor(100*r*1e5)/1e5+"%",so()||n.h.css(e),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=r}function Gr(t,e){var n,r,o=F&&t,i={},a=$r(t),s="translate(",l="transform",c=rt[0][Xe+a.WH]-rt[0]["client"+a.WH],u=a.i.hl,f=a.t[0]["offset"+a.WH],h=f-u;p.n&&o&&(c*=-1),r=e/c,r=isNaN(r)?0:Math.min(1,r),a.i.ms=c,a.i.cs=e,a.i.csr=r,h*=r,h=isNaN(h)?0:h,o&&(p.n||!p.n&&!p.i)&&(h=f-u-h),h=Math.max(0,h),z?(o&&(h=-(f-u-h)),n=t?s+h+"px, 0px)":s+"0px, "+h+"px)",i["-webkit-"+l]=n,i["-moz-"+l]=n,i["-ms-"+l]=n,i["-o-"+l]=n,i[l]=n):i[a.lt]=h,so()||a.h.css(i),a.i.ho=h,a.i.tl=f}function Zr(t,e){var n=e?"removeClass":"addClass",r=t?ht:dt,o=t?Bn:qn;(t?ct:ut)[n](o),r[n](o)}function $r(t){return{wh:t?je:Ue,WH:t?"Width":"Height",lt:t?_e:De,LT:t?"Left":"Top",xy:t?Ke:Qe,XY:t?"X":"Y",_wh:t?"w":"h",_lt:t?"l":"t",t:t?ct:ht,h:t?ut:dt,s:t?lt:ft,i:t?Me:He}}function to(t,e){H&&l.isFunction(t)&&t.call(Oe,e)}function eo(t,e,r){r===n&&(r=[Ve,Ve,Ve,Ve]),t[e+De]=r[0],t[e+Pe]=r[1],t[e+Ne]=r[2],t[e+_e]=r[3]}function no(e){return typeof t.HTMLElement===i.o?e instanceof t.HTMLElement:e&&typeof e===i.o&&null!==e&&1===e.nodeType&&typeof e.nodeName===i.s}function ro(t,e){var n,r=[],o=[];for(n=0;n<t.length;n++)r[t[n]]=!0;for(n=0;n<e.length;n++)r[e[n]]?delete r[e[n]]:r[e[n]]=!0;for(var i in r)o.push(i);return o}function oo(e){var n=t.parseInt(e);return isNaN(n)?0:n}function io(){var t=G.prop("selectionStart");if(t!==n){var e,r,o=G.val(),i=o.length,a=o.split("\n"),s=a.length,l=o.substr(0,t).split("\n"),c=0,u=0,f=l.length,h=l[l.length-1].length;for(r=0;r<a.length;r++)(e=a[r].length)>u&&(c=r+1,u=e);return{cursorRow:f,cursorCol:h,rows:s,cols:u,wRow:c,pos:t,max:i}}}function ao(t){for(var e=0;e<sr.length;e++)if(t===sr[e])return!0;return!1}function so(){return Lt&&d.x&&d.y}function lo(){return k?at[0]:it[0]}function co(t,e){return l.prototype.find.call(t,e).first()}function uo(t,e){return"<div "+(t?xo(t)===i.s?'class="'+t+'"':function(){var e,n="";if(l.isPlainObject(t))for(e in t)n+=("className"===e?"class":e)+'="'+t[e]+'" ';return n}():Ve)+">"+(e||Ve)+"</div>"}function fo(t,e){for(var n,r=e.split(Je),o=0;o<r.length;o++){if(!t.hasOwnProperty(r[o]))return;n=t[r[o]],o<r.length&&xo(n)===i.o&&(t=n)}return n}function ho(t,e,n){for(var r=e.split(Je),o=r.length,i=0,a={},s=a;i<o;i++)a=a[r[i]]=i+1<o?{}:n;l.extend(t,s,!0)}function vo(t,e,r){return!0===r?r:e===n||t!==e}function po(t,e,r,o,i){if(!0===i)return i;if(o===n&&i===n){if(!0===r)return r;r=n}return r=r===n?"w":r,o=o===n?"h":o,e===n||(t[r]!==e[r]||t[o]!==e[o])}function yo(t,e){return e===n||(t.t!==e.t||t.r!==e.r||t.b!==e.b||t.l!==e.l)}function xo(t){return l.type(t)}function wo(){return l.extend.apply(this,arguments)}function mo(t,e){return l.prototype.addClass.call(t,e)}function bo(t,e){return l.prototype.removeClass.call(t,e)}function go(t){return l.prototype.remove.call(t)}function So(t,e){U=u.defaultOptions,w=u.nativeScrollbarStyling,b=wo(!0,{},u.nativeScrollbarSize),d=wo(!0,{},u.nativeScrollbarIsOverlaid),v=wo(!0,{},u.overlayScrollbarDummySize),p=wo(!0,{},u.rtlScrollBehavior),qr(wo(!0,{},U,e));var n,o=V.callbacks;if(d.x&&d.x&&!V.nativeScrollbarsOverlaid.initialize)return to(o.onInitializationWithdrawn),!1;if(m=u.cssCalc,x=u.msie,y=u.autoUpdateRecommended,g=u.supportTransition,z=u.supportTransform,O=u.supportPassiveEvents,C=u.supportResizeObserver,se=u.supportMutationObserver,M=u.restrictedMeasuring,K=l(t.ownerDocument),Y=l(K[0].defaultView||K[0].parentWindow),Q=co(K,"html"),J=co(Q,"body"),G=l(t),k=G.is("textarea"),(A=G.is("body"))&&((n={}).l=Math.max(G[en](),Q[en](),Y[en]()),n.t=Math.max(G[nn](),Q[nn](),Y[nn]())),k){G.wrap(uo(xn)),mo(G,Hn+Ge+In),Z=G.parent();var i={};V.sizeAutoCapable||(i[je]=G.css(je),i[Ue]=G.css(Ue)),Z.css(i).wrapInner(uo(Ln+Ge+In)).wrapInner(uo(An+Ge+In)).wrapInner(uo(kn+Ge+In)),it=co(Z,Je+Ln),rt=co(Z,Je+An),nt=co(Z,Je+kn),at=l(uo(Wn)),it.prepend(at),G.on(Xe,Tr).on("drop",Wr).on("focus",kr).on("focusout",Ar),x>9||!y?G.on("input",Cr):G.on(cn,Mr).on(un,Hr)}else mo(G,yn),(Z=G).wrapInner(uo(Ln)).wrapInner(uo(An)).wrapInner(uo(kn)),it=co(Z,Je+Ln),rt=co(Z,Je+An),nt=co(Z,Je+kn),it.on(hn,function(t){!0!==Rt&&Ur((t=t.originalEvent||t).propertyName)&&Vr(qe)});if(Xr(),O?fr(rt,Xe,zr):rt.on(Xe,zr),w&&mo(rt,d.x&&d.y?En:Tn),se){var s,c,f,h,S,T,E=r.mO(),L=r.now();oe=new E(function(t){if(H&&!I){var e,n=!1;l.each(t,function(){if(s=(e=this).target,c=e.attributeName,n=c===a.c?_r(e.oldValue,s.className):c!==a.s||e.oldValue!==s.style.cssText)return!1}),n&&Oe.update(qe)}}),ie=new E(function(t){if(H&&!I){var e=!1;l.each(t,function(){return!(e=Fr(this))}),e&&(h=r.now(),S=bt||mt,T=function(){L=h,k&&Br(),S?Oe.update():Oe.update(qe)},clearTimeout(f),ar<=0||h-L>ar||!S?T():f=setTimeout(T,ar))}})}return A&&(mo(Q,pn),rt[en](n.l),rt[nn](n.t)),tt=l(uo("os-resize-observer-host")),Z.prepend(tt),dr(tt,mr),mr(),Oe.update(qe),setTimeout(function(){g&&!W&&mo(Z,bn)},333),H=!0,to(o.onInitialized),H}}return t[o]=function(e,r){if(0===arguments.length)return this;z();var i,a,f=[];return l.isPlainObject(r)?e&&e.length?(l.each(e,function(){i=this,console.log(i),i!==n&&f.push(M(i,r,c,u))}),a=f.length>1?f:f[0]):a=M(e,r,c,u):e&&(e.length&&e.length>0?(l.each(e,function(){i=s.get(this),"!"===r?i instanceof t[o]&&f.push(i):f.push(i)}),a=f.length>1?f:f[0]):a=s.get(e)),a},t[o].globals=function(){z();var t=l.extend(!0,{},c);return delete t.msie,t},t[o].defaultOptions=function(t){z();var e=c.defaultOptions;if(t===n)return l.extend(!0,{},e);c.defaultOptions=l.extend(!0,{},e,S.v(t,S.t,!0))},t[o]}({wW:function(){return t.innerWidth||e.documentElement[a.cW]||e.body[a.cW]},wH:function(){return t.innerHeight||e.documentElement[a.cH]||e.body[a.cH]},mO:function(){return t.MutationObserver||t.WebKitMutationObserver||t.WebkitMutationObserver||t.MozMutationObserver||n},rO:function(){return t.ResizeObserver||t.WebKitResizeObserver||t.WebkitResizeObserver||t.MozResizeObserver||n},rAF:function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}},cAF:function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(e){return t.clearTimeout(e)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},prvD:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},page:function(t){var r="page",o="client",i="X",a="Y",s=((t=t.originalEvent||t).target||t.srcElement||e).ownerDocument||e,l=s.documentElement,c=s.body;if(t.touches!==n){var u=t.touches[0];return{x:u[r+i],y:u[r+a]}}return!t[r+i]&&t[o+i]&&null!=t[o+i]?{x:t[o+i]+(l&&l.scrollLeft||c&&c.scrollLeft||0)-(l&&l.clientLeft||c&&c.clientLeft||0),y:t[o+a]+(l&&l.scrollTop||c&&c.scrollTop||0)-(l&&l.clientTop||c&&c.clientTop||0)}:{x:t[r+i],y:t[r+a]}},mBtn:function(t){return t.which||t.button===n?t.which:1&t.button?1:2&t.button?3:4&t.button?2:0},bind:function(t,e){if(typeof t!==i.f)throw"Can't bind function!";var n=Array.prototype.slice.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,n.concat(Array.prototype.slice.call(arguments)))};return t.prototype&&(r.prototype=t.prototype),o.prototype=new r,o}},function(t){var e=[],r="__overlayScrollbars__";function o(t,n){t[r]=n,e.push(t)}function i(n){var o=t.inArray(n,e);o>-1&&(delete n[r],e.splice(o,1))}function a(t){return s(t)!==n}function s(t){for(var n=0;n<e.length;n++)if(t===e[n])return t[r]}return{all:function(){return e},add:o,rem:i,has:a,get:s}}(s),s),c=t.jQuery;return c&&c.fn&&(c.fn.overlayScrollbars=function(t){var e=this;return c.isPlainObject(t)?(c.each(e,function(){l(this,t)}),e):l(e,t)}),l});

@@ -5,4 +5,4 @@ /*!

*
* Version: 1.4.1
*
* Version: 1.4.2
*
* Copyright KingSora.

@@ -12,4 +12,4 @@ * https://github.com/KingSora

* Released under the MIT license.
* Date: 22.03.2018
* Date: 14.04.2018
*/
!function(e,t){"function"==typeof define&&define.amd?define(function(){return t(e,e.document,undefined)}):"object"==typeof exports?module.exports=t(e,e.document,undefined):t(e,e.document,undefined)}("undefined"!=typeof window?window:this,function(e,t,n){"use-strict";var r="OverlayScrollbars",i={o:"object",f:"function",a:"array",s:"string",n:"number",u:"undefined"},o={c:"class",s:"style",i:"id",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},a={wW:function(){return e.innerWidth||t.documentElement[o.cW]||t.body[o.cW]},wH:function(){return e.innerHeight||t.documentElement[o.cH]||t.body[o.cH]},mO:function(){return e.MutationObserver||e.WebKitMutationObserver||e.WebkitMutationObserver||e.MozMutationObserver||n},rO:function(){return e.ResizeObserver||e.WebKitResizeObserver||e.WebkitResizeObserver||e.MozResizeObserver||n},rAF:function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)}},cAF:function(){return e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||e.msCancelAnimationFrame||function(t){return e.clearTimeout(t)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},prvD:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},page:function(e){var r="page",i="client",o="X",a="Y",s=((e=e.originalEvent||e).target||e.srcElement||t).ownerDocument||t,l=s.documentElement,c=s.body;if(e.touches!==n){var u=e.touches[0];return{x:u[r+o],y:u[r+a]}}return!e[r+o]&&e[i+o]&&null!=e[i+o]?{x:e[i+o]+(l&&l.scrollLeft||c&&c.scrollLeft||0)-(l&&l.clientLeft||c&&c.clientLeft||0),y:e[i+a]+(l&&l.scrollTop||c&&c.scrollTop||0)-(l&&l.clientTop||c&&c.clientTop||0)}:{x:e[r+o],y:e[r+a]}},mBtn:function(e){return e.which||e.button===n?e.which:1&e.button?1:2&e.button?3:4&e.button?2:0},bind:function(e,t){if(typeof e!==i.f)throw"Can't bind function!";var n=Array.prototype.slice.call(arguments,2),r=function(){},o=function(){return e.apply(this instanceof r?this:t,n.concat(Array.prototype.slice.call(arguments)))};return e.prototype&&(r.prototype=e.prototype),o.prototype=new r,o}},s=function(r){var o=/[^\x20\t\r\n\f]+/g,a=Object.prototype.toString,s=" ",l="",c=[],u={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},f={swing:function(e,t,n,r,i){return.5-Math.cos(e*Math.PI)/2},linear:function(e,t,n,r,i){return e},easeInQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},easeOutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},easeOutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+n},easeOutSine:function(e,t,n,r,i){return r*Math.sin(t/i*(Math.PI/2))+n},easeInOutSine:function(e,t,n,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+n},easeInExpo:function(e,t,n,r,i){return 0==t?n:r*Math.pow(2,10*(t/i-1))+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(1-Math.pow(2,-10*t/i))+n},easeInOutExpo:function(e,t,n,r,i){return 0==t?n:t==i?n+r:(t/=i/2)<1?r/2*Math.pow(2,10*(t-1))+n:r/2*(2-Math.pow(2,-10*--t))+n},easeInCirc:function(e,t,n,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+n},easeOutCirc:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n},easeInOutCirc:function(e,t,n,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+n:r/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,r,i){var o=1.70158,a=0,s=r;if(0==t)return n;if(1==(t/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return-s*Math.pow(2,10*(t-=1))*Math.sin((t*i-o)*(2*Math.PI)/a)+n},easeOutElastic:function(e,t,n,r,i){var o=1.70158,a=0,s=r;if(0==t)return n;if(1==(t/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return s*Math.pow(2,-10*t)*Math.sin((t*i-o)*(2*Math.PI)/a)+r+n},easeInOutElastic:function(e,t,n,r,i){var o=1.70158,a=0,s=r;if(0==t)return n;if(2==(t/=i/2))return n+r;if(a||(a=i*(.3*1.5)),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return t<1?s*Math.pow(2,10*(t-=1))*Math.sin((t*i-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(t-=1))*Math.sin((t*i-o)*(2*Math.PI)/a)*.5+r+n},easeInBack:function(e,t,r,i,o,a){return a==n&&(a=1.70158),i*(t/=o)*t*((a+1)*t-a)+r},easeOutBack:function(e,t,r,i,o,a){return a==n&&(a=1.70158),i*((t=t/o-1)*t*((a+1)*t+a)+1)+r},easeInOutBack:function(e,t,r,i,o,a){return a==n&&(a=1.70158),(t/=o/2)<1?i/2*(t*t*((1+(a*=1.525))*t-a))+r:i/2*((t-=2)*t*((1+(a*=1.525))*t+a)+2)+r},easeInBounce:function(e,t,n,r,i){return r-this.easeOutBounce(e,i-t,0,r,i)+n},easeOutBounce:function(e,t,n,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,r,i){return t<i/2?.5*this.easeInBounce(e,2*t,0,r,i)+n:.5*this.easeOutBounce(e,2*t-i,0,r,i)+.5*r+n}},h=function(e){var n,r,o,a=0;if(h.type(e)===i.s){for(n=[],"<"===e.charAt(0)?((o=t.createElement("div")).innerHTML=e,r=o.children):r=t.querySelectorAll(e);a<r.length;a++)n.push(r[a]);return new A(n)}return new A(e)},v=(h.extend=function(){var e,t,r,o,a,s,l=arguments[0]||{},c=1,u=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=arguments[1]||{},c=2),typeof l!==i.o&&!h.type(l)===i.f&&(l={}),u===c&&(l=h,--c);c<u;c++)if(null!=(a=arguments[c]))for(o in a)e=l[o],l!==(r=a[o])&&(f&&r&&(h.isPlainObject(r)||(t=h.isArray(r)))?(t?(t=!1,s=e&&h.isArray(e)?e:[]):s=e&&h.isPlainObject(e)?e:{},l[o]=h.extend(f,s,r)):r!==n&&(l[o]=r));return l},h.type=function(e){return e===n?e+l:null===e?e+l:a.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()}),d=h.isFunction=function(e){return v(e)===i.f},p=(h.isArray=function(e){return v(e)===i.a},h.isEmptyObject=function(e){for(var t in e)return!1;return!0},h.isPlainObject=function(e){if(!e||v(e)!==i.o)return!1;var t,n=Object.prototype.hasOwnProperty,r=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!o)return!1;for(t in e);return typeof t===i.u||n.call(e,t)},h.inArray=function(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1},h.each=function(e,t){var n=0;if(y(e))for(;n<e.length&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e});function y(e){var t=!!e&&"length"in e&&e.length,n=v(e);return!d(n)&&(n===i.a||0===t||typeof t===i.n&&t>0&&t-1 in e)}function m(e){return(e.match(o)||[]).join(s)}function g(e,n){for(var r=(e.parentNode||t).querySelectorAll(n)||[],i=r.length;i--;)if(r[i]==e)return!0;return!1}function w(e,t,n){h.type(n)===i.s?e.insertAdjacentHTML(t,n):n.nodeType?e.insertAdjacentElement(t,n):e.insertAdjacentElement(t,n[0])}function x(e,t,r){try{e.style[t]!==n&&(e.style[t]=b(t,r))}catch(i){}}function b(e,t){return u[e.toLowerCase()]||h.type(t)!==i.n||(t=t+="px"),t}function C(e,t){var n,r;!1!==t&&e.q.splice(0,1),e.q.length>0?(r=e.q[0],M(e.el,r.props,r.duration,r.easing,r.complete,!0)):(n=h.inArray(e,c))>-1&&c.splice(n,1)}function O(e,t,n){"scrollLeft"===t?e[t]=n:"scrollTop"===t?e[t]=n:x(e,t,n)}function M(e,t,n,i,o,a){var s,l,u,v,p,y,m={},g={},w=0,x=h.isPlainObject(n);for(x?(i=n.easing,n.start,u=n.progress,v=n.step,p=n.specialEasing,o=n.complete,y=n.duration):y=n,p=p||{},y=y||400,i=i||"swing",a=a||!1;w<c.length;w++)if(c[w].el===e){l=c[w];break}for(s in l||(l={el:e,q:[]},c.push(l)),t)m[s]="scrollLeft"===s||"scrollTop"===s?e[s]:new A(e).css(s);for(s in m)m[s]!==t[s]&&(g[s]=t[s]);if(h.isEmptyObject(g))a&&C(l);else{var b,M,S,T,z,E,H,k,I,W=a?0:h.inArray(L,l.q),L={props:g,duration:x?n:y,easing:i,complete:o};if(-1===W&&(W=l.q.length,l.q.push(L)),0===W)if(y>0)H=r.now(),k=function(){for(s in b=r.now(),I=b-H,M=L.stop||I>=y,S=1-(Math.max(0,H+y-b)/y||0),g)T=m[s],z=g[s],E=(z-T)*f[p[s]||i](S,S*y,0,1,y)+T,O(e,s,E),d(v)&&v(E,{elem:e,prop:s,start:T,now:E,end:z,pos:S,options:{easing:i,speacialEasing:p,duration:y,complete:o,step:v},startTime:H});d(u)&&u({},S,Math.max(0,y-I)),M?(C(l),d(o)&&o()):L.frame=r.rAF()(k)},L.frame=r.rAF()(k);else{for(s in g)O(e,s,g[s]);C(l)}}}function S(e,t,n){for(var i,o,a,s=0;s<c.length;s++)if((i=c[s]).el===e){if(i.q.length>0){if((o=i.q[0]).stop=!0,r.cAF()(o.frame),i.q.splice(0,1),n)for(a in o.props)O(e,a,o.props[a]);t?i.q=[]:C(i,!1)}break}}function A(e){var t=this;h.type(e)===i.s||e.length||(e=[e]);for(var n=0;n<e.length;n++)t[n]=e[n];return t.length=e.length,t}return A.prototype={each:function(e){return p(this,e)},append:function(e){return this.each(function(){w(this,"beforeend",e)})},prepend:function(e){return this.each(function(){w(this,"afterbegin",e)})},before:function(e){return this.each(function(){w(this,"beforebegin",e)})},after:function(e){return this.each(function(){w(this,"afterend",e)})},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},first:function(){return new A(this[0])},last:function(){return new A(this[this.length-1])},find:function(e){var t,n=[];return this.each(function(){var r=this.querySelectorAll(e);for(t=0;t<r.length;t++)n.push(r[t])}),new A(n)},hide:function(){return this.each(function(){this.style.display="none"})},show:function(){return this.each(function(){this.style.display="block"})},attr:function(e,t){for(var r=0;r<this.length;r++){var i=this[r];if(t===n)return i.getAttribute(e);i.setAttribute(e,t)}return this},removeAttr:function(e){return this.each(function(){this.removeAttribute(e)})},prop:function(e,t){for(var r=0;r<this.length;r++){var i=this[r];if(t===n)return i[e];i[e]=t}return this},val:function(e){var t=this[0];return e?(t.value=e,this):t.value},scrollLeft:function(e){for(var t=0;t<this.length;t++){var r=this[t];if(e===n)return r.scrollLeft;r.scrollLeft=e}return this},scrollTop:function(e){for(var t=0;t<this.length;t++){var r=this[t];if(e===n)return r.scrollTop;r.scrollTop=e}return this},children:function(e){var t,n,r=[];return this.each(function(){for(t=(i=this).children,n=0;n<t.length;n++){var i=t[n];e?(i.matches&&i.matches(e)||g(i,e))&&r.push(i):r.push(i)}}),new A(r)},on:function(e,t){var n,r;return e=(e||l).match(o)||[l],this.each(function(){if((r=this).addEventListener)for(n=0;n<e.length;n++)r.addEventListener(e[n],t);else if(r.detachEvent)for(n=0;n<e.length;n++)r.attachEvent("on"+e[n],t)})},off:function(e,t){var n,r;return e=(e||l).match(o)||[l],this.each(function(){if((r=this).removeEventListener)for(n=0;n<e.length;n++)r.removeEventListener(e[n],t);else if(r.detachEvent)for(n=0;n<e.length;n++)r.detachEvent("on"+e[n],t)})},trigger:function(e){var n,r;return this.each(function(){n=this,t.createEvent?((r=t.createEvent("HTMLEvents")).initEvent(e,!0,!1),n.dispatchEvent(r)):n.fireEvent("on"+e)})},hasClass:function(e){for(var t,n=0,r=s+e+s;t=this[n++];)if(t.classList){if(t.classList.contains(e))return!0}else if(1===t.nodeType&&(s+m(t.className)+s).indexOf(r)>-1)return!0;return!1},addClass:function(e){var t,r,i,a,l,c,u=null,f=0,h=0;if(e)for(t=e.match(o)||[];r=this[f++];)if(u===n&&(u=r.classList!==n),u)for(;l=t[h++];)r.classList.add(l);else if(a=r.className,i=1===r.nodeType&&s+m(a)+s){for(;l=t[h++];)i.indexOf(s+l+s)<0&&(i+=l+s);a!==(c=m(i))&&(r.className=c)}return this},removeClass:function(e){var t,r,i,a,l,c,u=null,f=0,h=0;if(e)for(t=e.match(o)||[];r=this[f++];)if(u===n&&(u=r.classList!==n),u)for(;l=t[h++];)r.classList.remove(l);else if(a=r.className,i=1===r.nodeType&&s+m(a)+s){for(;l=t[h++];)for(;i.indexOf(s+l+s)>-1;)i=i.replace(s+l+s,s);a!==(c=m(i))&&(r.className=c)}return this},remove:function(){return this.each(function(){var e=this;null!=e.parentNode&&e.parentNode.removeChild(e)})},offset:function(){var n=this[0].getBoundingClientRect(),r=e.pageXOffset||t.documentElement.scrollLeft,i=e.pageYOffset||t.documentElement.scrollTop;return{top:n.top+i,left:n.left+r}},css:function(t,r){var o,a;return h.type(t)===i.s?r===n?(o=this[0],e.getComputedStyle?e.getComputedStyle(o,null).getPropertyValue(t):o.currentStyle[t]):this.each(function(){x(this,t,r)}):this.each(function(){for(a in t)x(this,a,t[a])})},unwrap:function(){var e,t,n,r=[];for(this.each(function(){n=this.parentNode,-1===h.inArray(n,r)&&r.push(n)}),e=0;e<r.length;e++){for(t=r[e],n=t.parentNode;t.firstChild;)n.insertBefore(t.firstChild,t);n.removeChild(t)}return this},wrapAll:function(e){for(var t,n=this,r=new h(e)[0],i=r,o=n[0].parentNode,a=n[0].previousSibling;i.childNodes.length>0;)i=i.childNodes[0];for(t=0;n.length-t;i.firstChild===n[0]&&t++)i.appendChild(n[t]);var s=a?a.nextSibling:o.firstChild;return o.insertBefore(r,s),this},wrapInner:function(e){return this.each(function(){var t=new A(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){return this.each(function(){new h(this).wrapAll(e)})},contents:function(){var e,t,n=[];return this.each(function(){for(e=this.childNodes,t=0;t<e.length;t++)n.push(e[t])}),new A(n)},parent:function(){var e=[];return this.each(function(){e.push(this.parentNode)}),new A(e)},is:function(e){var t,n;for(n=0;n<this.length;n++){if(t=this[n],":visible"===e)return"none"!==t.style.display;if(":hidden"===e)return"none"===t.style.display;if(t.matches&&t.matches(e)||g(t,e))return!0}return!1},animate:function(e,t,n,r){return this.each(function(){M(this,e,t,n,r)})},stop:function(e,t){return this.each(function(){S(this,e,t)})}},h}(a),l=function(e){var t=[],r="__overlayScrollbars__";function i(e,n){e[r]=n,t.push(e)}function o(n){var i=e.inArray(n,t);i>-1&&(delete n[r],t.splice(i,1))}function a(e){return s(e)!==n}function s(e){for(var n=0;n<t.length;n++)if(e===t[n])return e[r]}return{all:function(){return t},add:i,rem:o,has:a,get:s}}(s),c=function(e){function t(r,o,a,s,l){var c=!1;if(a=a===n?"":a,typeof o!==i.s)return c;if(0===o.length)return c;if(""===a){for(var u=o.split("."),f=r,h="",v=!1,d=0;d<u.length;d++){var p=u[d];if(f=f[p],h+=p+".",e.type(f)!==i.o&&d+1!==u.length){v=!0;break}}if(v)return h.slice(0,-1)}for(var y in r)if(r.hasOwnProperty(y)){var m=a+y===o;if(e.type(r[y])!==i.o||m){if(m){typeof s===i.f&&s(r,y),c=!0;break}}else if(c=t(r[y],o,a+y+".",s,l),typeof l===i.f&&l(r,y),c)break}return c}return{has:function(e,n){return t(e,n)},get:function(e,n){var r;return t(e,n,"",function(e,t){r=e[t]}),r},set:function(n,r,i,o){var a=!1;if(t(n,r,"",function(e,t){e[t]=i,a=!0}),!a&&o){for(var s=r.split("."),l={},c=l,u=0;u<s.length;u++){var f=u===s.length-1?i:{};c=c[s[u]]=f}e.extend(!0,n,l),a=!0}return a},del:function(n,r,i){var o=!1;return t(n,r,"",function(e,t){delete e[t],o=!0},function(t,n){i&&e.isEmptyObject(t[n])&&delete t[n]}),o}}}(s),u=(function(s,l,c,u){var f,h,v={className:"os-theme-dark",resize:"none",sizeAutoCapable:!0,clipAlways:!0,normalizeRTL:!0,paddingAbsolute:!1,autoUpdate:null,autoUpdateInterval:33,nativeScrollbarsOverlaid:{showNativeScrollbars:!1,initialize:!0},overflowBehavior:{x:"scroll",y:"scroll"},scrollbars:{visibility:"auto",autoHide:"never",autoHideDelay:800,dragScrolling:!0,clickScrolling:!1,touchSupport:!0},textarea:{dynWidth:!1,dynHeight:!1},callbacks:{onInitialized:null,onInitializationWithdrawn:null,onDestroyed:null,onScrollStart:null,onScroll:null,onScrollStop:null,onOverflowChanged:null,onOverflowAmountChanged:null,onDirectionChanged:null,onContentSizeChanged:null,onHostSizeChanged:null,onUpdated:null}};function d(){f===n&&(f=new p(v)),h===n&&(h=new y(f))}function p(r){var i=this;i.defaultOptions=r,i.autoUpdateLoop=!1,i.autoUpdateRecommended=s.mO()===n;var a=c("body"),u=c('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),f=function(){a.append(u);var e,t="overflow",n="hidden",r=u[0],s=c(u.children("div").first());return 0===r[o.oH]&&u.hide().show(),e={x:r[o.oH]-r[o.cH],y:r[o.oW]-r[o.cW]},i.restrictedMeasuring=function(){u.css(t,n);var e={w:r[o.sW],h:r[o.sH]};u.css(t,"visible");var i={w:r[o.sW],h:r[o.sH]};return e.w-i.w!=0||e.h-i.h!=0}(),i.nativeScrollbarStyling=(u.addClass("os-viewport-native-scrollbars-invisible"),u.css(t,n).hide().css(t,"scroll").show(),r[o.oH]-r[o.cH]==0&&r[o.oW]-r[o.cW]==0),i.rtlScrollBehavior=function(){u.css({"overflow-y":n,direction:"rtl"}).scrollLeft(0);var e=u.offset(),t=s.offset();u.scrollLeft(999);var r=s.offset();return{i:e.left===t.left,n:t.left-r.left==0}}(),u.removeAttr(o.s).remove(),e}(),h={x:0===f.x,y:0===f.y};function v(e){var r=!1,i="Webkit Moz ms O".split(" "),o=t.createElement("div"),a=null;if(e=e.toLowerCase(),o.style[e]!==n&&(r=!0),!1===r){a=e.charAt(0).toUpperCase()+e.substr(1);for(var s=0;s<i.length;s++)if(o.style[i[s]+a]!==n){r=!0;break}}return r}i.nativeScrollbarSize=f,i.nativeScrollbarIsOverlaid=h,i.overlayScrollbarDummySize={x:30,y:30},i.msie=function(){var t=e.navigator.userAgent,n=t.indexOf("MSIE ");if(n>0)return parseInt(t.substring(n+5,t.indexOf(".",n)),10);if(t.indexOf("Trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var i=t.indexOf("Edge/");return i>0&&parseInt(t.substring(i+5,t.indexOf(".",i)),10)}(),i.cssCalc=function(){for(var e=t.createElement("div"),n=["calc","-webkit-calc","-moz-calc","-o-calc"],r=0;r<n.length;++r){var i=n[r];if(e.style.cssText="width:"+i+"(1px);",e.style.length)return i}return null}(),i.supportTransform=v("transform"),i.supportTransition=v("transition");var d=!1;try{var p=Object.defineProperty({},"passive",{get:function(){d=!0}});e.addEventListener("test",null,p)}catch(y){}i.supportPassiveEvents=d,i.supportResizeObserver=s.rO()!==n,i.supportMutationObserver=s.mO()!==n,function(){if(!h.x||!h.y){var t=s.wW(),n=s.wH(),r=v();c(e).on("resize",function(){if(l.all().length>0){var e=s.wW(),h=s.wH(),d=e-t,p=h-n;if(0===d&&0===p)return;var y=Math.round(e/(t/100)),m=Math.round(h/(n/100)),g=Math.abs(d),w=Math.abs(p),x=Math.abs(y),b=Math.abs(m),C=v(),O=g>2&&w>2,M=!f(x,b);if(!!(O&&M&&(C!==r&&r>0))){a.append(u);var S=u[0];i.nativeScrollbarSize={x:S[o.oH]-S[o.cH],y:S[o.oW]-S[o.cW]},u.remove(),c.each(l.all(),function(){l.has(this)&&l.get(this).update("zoom")})}t=e,n=h,r=C}})}function f(e,t){var n=Math.abs(e),r=Math.abs(t);return!(n===r||n+1===r||n-1===r)}function v(){var t=e.screen.deviceXDPI||0,n=e.screen.logicalXDPI||1;return e.devicePixelRatio||t/n}}()}function y(e){var t,r=this,i="autoUpdate",o=i+"Interval",a=[],l=[],u=!1,f=33,h=f,v=s.now(),d=function(){if(a.length>0&&u){t=s.rAF()(function(){d()});var e=s.now(),r=e-v;if(r>h){v=e-r%h;for(var c=f,p=0;p<a.length;p++){var y=a[p];if(y!==n){var m=y.options(),g=m[i],w=Math.max(1,m[o]),x=s.now();(!0===g||null===g)&&x-l[p]>w&&(y.update("auto"),l[p]=new Date(x+=w)),c=Math.max(1,Math.min(c,w))}}h=c}}else h=f};r.add=function(t){-1===c.inArray(t,a)&&(a.push(t),l.push(s.now()),a.length>0&&!u&&(u=!0,e.autoUpdateLoop=u,d()))},r.remove=function(r){var i=c.inArray(r,a);i>-1&&(l.splice(i,1),a.splice(i,1),0===a.length&&u&&(u=!1,e.autoUpdateLoop=u,t!==n&&(s.cAF()(t),t=-1)))}}function m(t,f,h,v){if(ri(t)){if(l.has(t)){var d=l.get(t);return d.options(f),d}var p,y,m,g,w,x,b,C,O,M,S,A,T,z,E,H,k,I,W,L,P,F,N,D,R,B,j,q,_,U,Q,V,X,Y,J,K,$,G,Z,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,fe,he,ve,de,pe,ye,me,ge,we,xe,be,Ce,Oe,Me,Se,Ae,Te,ze,Ee,He,ke,Ie,We,Le,Pe,Fe,Ne,De,Re,Be,je,qe,_e,Ue,Qe,Ve,Xe,Ye,Je,Ke,$e,Ge,Ze,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,ft,ht,vt,dt,pt,yt,mt,gt,wt,xt,bt=new e[r],Ct=!1,Ot=!1,Mt=!1,St=!1,At=!1,Tt={w:0,h:0},zt={},Et={},Ht={},kt=175,It="-hidden",Wt="margin-",Lt="padding-",Pt="border-",Ft="top",Nt="right",Dt="bottom",Rt="left",Bt="min-",jt="max-",qt="width",_t="height",Ut="float",Qt="",Vt="auto",Xt="scroll",Yt="100%",Jt="x",Kt="y",$t='<div class="',Gt='"></div>',Zt=".",en=" ",tn="scrollbar",nn="-horizontal",rn="-vertical",on=Xt+"Left",an=Xt+"Top",sn="mousedown touchstart",ln="mouseup touchend",cn="mousemove touchmove",un="mouseenter",fn="mouseleave",hn="keydown",vn="keyup",dn="selectstart",pn="transitionend webkitTransitionEnd oTransitionEnd",yn="__overlayScrollbarsRO__",mn="os-",gn=mn+"html",wn=mn+"host",xn=wn+"-textarea",bn=wn+"-"+tn+nn+It,Cn=wn+"-"+tn+rn+It,On=wn+"-transition",Mn=wn+"-rtl",Sn=wn+"-resize-disabled",An=wn+"-scrolling",Tn=wn+"-overflow",zn=Tn+"-x",En=Tn+"-y",Hn=mn+"textarea",kn=Hn+"-cover",In=mn+"padding",Wn=mn+"viewport",Ln=Wn+"-native-scrollbars-invisible",Pn=Wn+"-native-scrollbars-overlaid",Fn=mn+"content",Nn=mn+"content-arrange",Dn=mn+"content-glue",Rn=mn+"size-auto-observer",Bn=mn+"resize-observer",jn=mn+"resize-observer-item",qn=jn+"-final",_n=mn+"text-inherit",Un=mn+tn,Qn=Un+"-track",Vn=Qn+"-off",Xn=Un+"-handle",Yn=Xn+"-off",Jn=Un+"-unusable",Kn=Un+"-"+Vt+It,$n=Un+"-corner",Gn=$n+"-resize",Zn=Gn+"-both",er=Gn+nn,tr=Gn+rn,nr=Un+nn,rr=Un+rn,ir=mn+"dragging",or=mn+"theme-none",ar={},sr=33,lr=[],cr=11,ur=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],fr=[],hr={x:0,y:0},vr={w:0,h:0};if(bt.sleep=function(){N=!0},bt.update=function(e){var t,n,r="zoom"===e,i="img",o="load";e===Vt?(t=hi(),n=fi(),(t||n)&&yi(!1,n)):r?yi(!0,!0):(e=N||e,N=!1,yi(!1,!1,e)),Mt||r||ne.find(i).each(function(e,t){-1===c.inArray(t,lr)&&(t=c(t)).off(o,qr).on(o,qr)})},bt.options=function(e,t){if(c.isEmptyObject(e)||!c.isPlainObject(e)){if(c.type(e)===i.s){if(arguments.length>=2){var n={};return u.set(n,e,t,!0),ui(n),void yi()}return u.get(B,e)}return B}ui(e);var r=N||!1;N=!1,yi(),N=r},bt.destroy=function(){Ot=!0,v.remove(bt),Tr(),xr($),At&&xr(K),$.remove(),G!==n&&G.remove(),te!==n&&te.remove(),At&&K.remove(),A?(yr(J,cn,ei),yr(J,un,Gr),yr(J,fn,Zr)):J.off(cn,ei).off(un,Gr).off(fn,Zr),oe.remove(),le.remove(),ie&&ie.remove(),mt||Hr(),ne.contents().unwrap().unwrap().unwrap(),St&&V.removeClass(gn),Mt?(Y.off(Xt,Br).off("drop",Nr).off("focus",Dr).off("focusout",Rr),m>9||!y?Y.off("input",Lr):Y.off(hn,Pr).off(vn,Fr),re.remove(),Y.removeClass(Hn).removeClass(_n).unwrap().removeAttr(o.s),J.remove()):(Y.removeClass(wn),J.removeClass(wn).removeClass(Sn).removeClass(Mn).removeClass(bn).removeClass(Cn).removeClass(On).removeClass(An).removeClass(Tn).removeClass(zn).removeClass(En).removeClass(or).removeClass(Ke));for(var e=0;e<lr.length;e++)c(lr[e]).off("load",qr);lr=n,l.rem(t);var r=j.callbacks.onDestroyed;for(var i in c.isFunction(r)&&Mr(r),bt)delete bt[i];bt=n},bt.scroll=function(t,r,a,s){if(0===arguments.length||t===n){var l=zt,u=Et,f=Je&&F&&p.i,h=Je&&F&&p.n,v=l.cs,d=l.csr,y=l.ms;return v=f?y-v:v,{x:{position:v*=h?-1:1,ratio:d=f?1-d:d,max:y*=h?-1:1,handleOffset:l.ho,handleLength:l.hl,handleLengthRatio:l.hlr,trackLength:l.tl,isRTL:F,isRTLNormalized:Je},y:{position:u.cs,ratio:u.csr,max:u.ms,handleOffset:u.ho,handleLength:u.hl,handleLengthRatio:u.hlr,trackLength:u.tl}}}var m,g=[Jt,Rt,"l"],w=[Kt,Ft,"t"],x=["+=","-=","*=","/="],b={},C=c.type(r)===i.o,O="end",M="begin",A="center",T="nearest",z={axis:"xy",block:[M,M],margin:[0,0,0,0]},E=[Jt,Kt,"xy","yx"],H=[M,O,A,T],k=t.hasOwnProperty("el"),I=k?t.el:t,W=I instanceof c||I instanceof e.jQuery,L=!W&&ri(I),P=function(e,t){for(m=0;m<t.length;m++)if(e===t[m])return!0;return!1},N=function(e){var t={};if(c.type(e)===i.a&&e.length>0)t.x=e[0],t.y=e[1];else if(c.type(e)===i.s||c.type(e)===i.n)t.x=e,t.y=e;else if(c.type(e)===i.o){for(var n in e=c.extend({},e),m=0,e)e.hasOwnProperty(n)&&(m>2&&delete e[n],m++);var r=function(t){var n=t?g:w;for(m=0;m<n.length;m++)if(n[m]in e)return e[n[m]]};t.x=r(!0),t.y=r(!1)}return t},D=function(t,r){var o,a,s,l=t?zt:Et,u=l.cs,f=l.ms,h=" * ",v=F&&t,d=v&&p.n&&!Je;if(c.type(r)===i.s){if(r.length>2){var y=r.substr(0,2);for(m=0;m<x.length;m++)if(y===x[m]){o=x[m];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=o!==n?r.substr(2):r).replace(/min/g,0)).replace(/</g,0)).replace(/max/g,(d?"-":Qt)+Yt)).replace(/>/g,(d?"-":Qt)+Yt)).replace(/px/g,Qt)).replace(/%/g,h+f*(v&&p.n?-1:1)/100)).replace(/vw/g,h+Ht.w)).replace(/vh/g,h+Ht.h),a=vi(e.parseFloat(e.eval(r)).toFixed())}else c.type(r)===i.n&&(a=r);if(!isNaN(a)&&a!==n&&c.type(a)===i.n){var g=Je&&v,w=u*(g&&p.n?-1:1),b=g&&p.i,C=g&&p.n;switch(w=b?f-w:w,o){case"+=":s=w+a;break;case"-=":s=w-a;break;case"*=":s=w*a;break;case"/=":s=w/a;break;default:s=a}b&&(s=f-s),C&&(s*=-1),v&&p.n?(s=Math.max(f,s),s=Math.min(0,s)):(s=Math.min(f,s),s=Math.max(0,s)),s===u&&(s=n)}return s};if(W||L){var R=W?I:c(I);if(0===R.length)return;if(k){var B,j,q,_=t.axis,U=t.block,Q=c.type(U),V=t.margin,X=c.type(V);if(Q===i.s)U=[U,U];else if(Q===i.a)if((j=U.length)>2||j<1)U=n;else{for(B=!0,1===j&&(U[1]=M),m=0;m<j;m++){var Y=U[m];if(c.type(Y)!==i.s||!P(Y,H)){B=!1;break}}B||(U=n)}else U=n;if(X===i.n)V=[V,V,V,V];else if("boolean"===X)V=V?[vi(R.css(Wt+Ft)),vi(R.css(Wt+Nt)),vi(R.css(Wt+Dt)),vi(R.css(Wt+Rt))]:[0,0,0,0];else if(X===i.a)if(2!==(q=V.length)&&4!==q)V=n;else{for(B=!0,m=0;m<q;m++)if(c.type(V[m])!==i.n){B=!1;break}B?2===q&&(V=[V[0],V[1],V[0],V[1]]):V=n}else V=n;z.axis=P(_,E)?_:z.axis,z.block=U||z.block,z.margin=V||z.margin}var J=R.offset(),K=Z.offset(),$={l:zt.cs,t:Et.cs},G=z.axis,te=z.block,ne=z.margin,re={x:te[0]===(F?M:O),y:te[1]===O},ie={x:te[0]===A,y:te[1]===A},oe={x:te[0]===T,y:te[1]===T},ae={},se=re.x||re.y||ie.x||ie.y||oe.x||oe.y;J.top-=ne[0],J.left-=ne[3];var le={x:Math.round(J.left-K.left+$.l),y:Math.round(J.top-K.top+$.t)};if(F&&(p.n||p.i||(le.x=Math.round(K.left-J.left+$.l)),p.n&&Je&&(le.x*=-1),p.i&&Je&&(le.x=Math.round(K.left-J.left+(zt.ms-$.l)))),se){var ce,ue={},fe={w:(ue=S?{w:(ce=R[0].getBoundingClientRect())[qt],h:ce[_t]}:{w:R[0][o.oW],h:R[0][o.oH]}).w+ne[3]+ne[1],h:ue.h+ne[0]+ne[2]},he=function(e){var t=$r(e),n=ie[t.xy]?2:1,r=J[t.lt]+fe[t._wh]/2,i=K[t.lt]+Ht[t._wh]/2;oe[t.xy]&&(ae[t.xy]=fe[t._wh]<=Ht[t._wh]&&J[t.lt]>=K[t.lt]&&J[t.lt]+fe[t._wh]<=K[t.lt]+Ht[t._wh],re[t.xy]=fe[t._wh]<Ht[t._wh]?r>i:r<i),(re[t.xy]||ie[t.xy])&&(le[t.xy]-=(Ht[t._wh]/n-fe[t._wh]/n)*(e&&F&&Je?-1:1))};he(!0),he(!1)}(G===Jt||ae.y)&&delete le.y,(G===Kt||ae.x)&&delete le.x,t=le}b.x=D(!0,N(t).x),b.y=D(!1,N(t).y);var ve=b.x!==n,de=b.y!==n;if(r>0||C){var pe={};if(ve&&(pe[on]=b.x),de&&(pe[an]=b.y),C)ee.animate(pe,r);else{var ye={duration:r,complete:s};if(c.type(a)===i.a){var me={};me[on]=a[0],me[an]=a[1],ye.specialEasing=me}else ye.easing=a;ee.animate(pe,ye)}}else ve&&ee[on](b.x),de&&ee[an](b.y)},bt.scrollStop=function(e,t,n){ee.stop(e,t,n)},bt.getElements=function(){return{target:Y[0],host:J[0],padding:Z[0],viewport:ee[0],content:ne[0],scrollbarHorizontal:{scrollbar:oe[0],track:ae[0],handle:se[0]},scrollbarVertical:{scrollbar:le[0],track:ce[0],handle:ue[0]},scrollbarCorner:ie}},bt.getState=function(e){var t=function(e){if(!c.isPlainObject(e))return e;var t=c.extend(!0,{},e);u.del(t,"c");var n=function(e,n){t.hasOwnProperty(e)&&(t[n]=t[e],delete t[e])};return n("w",qt),n("h",_t),t},n={sleeping:t(N)||!1,autoUpdate:t(!rt),widthAuto:t(ye),heightAuto:t(me),padding:t(xe),overflowAmount:t(Ee),hideOverflow:t(pe),hasOverflow:t(de),contentScrollSize:t(he),viewportSize:t(Ht),hostSize:t(fe)};return c.type(e)===i.s?u.get(n,e):n},mi(t,f))return l.add(t,bt),bt;bt=n}function dr(){if(!N){var e=$[0],t={w:e[o.sW],h:e[o.sH]};if(Ct){var n=Cr(t,_e);_e=t,n&&yi(!0,!1)}else _e=t}}function pr(e,t,n){for(var r=t.split(en),i=0;i<r.length;i++)e[0].addEventListener(r[i],n,{passive:!0})}function yr(e,t,n){for(var r=t.split(en),i=0;i<r.length;i++)e[0].removeEventListener(r[i],n)}function mr(e){if(e!==n&&T){var t=e.contents()[0];t[yn].unobserve(t)}}function gr(e){if(e!==n&&T){var t=e.contents()[0];t[yn].observe(t)}}function wr(e,t){var n=3333333,r=function(r){e.scrollTop(n),e.scrollLeft(F?p.n?-n:p.i?0:n:n),t()};if(T){var a=s.rO(),l=e.append($t+Bn+" observed"+Gt).contents()[0];(l[yn]=new a(r)).observe(l)}else{var u="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart";if(m>9||!y){var f='">',v="</div>",d="childNodes",g=$t+Bn+f;g+=$t+jn+'" dir="ltr'+f,g+=$t+jn+f,g+=$t+qn+Gt,g+=v,g+=$t+jn+f,g+=$t+qn+'" style="width: 200%; height: 200%'+Gt,g+=v,g+=v,g+=v,e.prepend(g);var w,x,b,C,O=(e=e[0])[d][0][d][0],M=c(O[d][1]),S=c(O[d][0]),A=c(S[0][d][0]),z=O[o.oW],E=O[o.oH],H=2,k=h.nativeScrollbarSize,I=function(){S[on](n)[an](n),M[on](n)[an](n)},W=function(){x=0,w&&(z=b,E=C,r())},L=function(e){return b=O[o.oW],C=O[o.oH],w=b!=z||C!=E,e&&w&&!x?(s.cAF()(x),x=s.rAF()(W)):e||W(),I(),e&&(s.prvD(e),s.stpP(e)),!1},P={};P[Ft]=-(k.y+1)*H,P[Nt]=k.x*-H,P[Dt]=k.y*-H,P[Rt]=-(k.x+1)*H,c(O).css(P),S.on(Xt,L),M.on(Xt,L),c(e).on(u,function(){L(!1)});var N={};N[qt]=n,N[_t]=n,A.css(N),I()}else{var D=Q[0],R=e;e=e[0];var B=D.attachEvent,j=typeof navigator===i.u||(navigator.userAgent.match(/Trident/)||navigator.userAgent.match(/Edge/));if(B)R.prepend($t+Bn+Gt),R.find(Zt+Bn).first()[0].attachEvent("onresize",r);else{var q=D.createElement(i.o);q.setAttribute("tabindex","-1"),q.setAttribute(o.c,Bn),q.onload=function(){var e=this.contentDocument.defaultView;e.addEventListener("resize",r),e.document.documentElement.style.display="none"},q.type="text/html",j&&R.prepend(q),q.data="about:blank",j||R.prepend(q),R.on(u,r)}}}if((e=c(e))[0]===$[0]){var _=function(){var t=J.css("direction");if(t!==Me){var r={},i=0;return"ltr"===t?(r[Rt]=0,r[Nt]=Vt,i=n):(r[Rt]=Vt,r[Nt]=0,i=p.n?-n:p.i?0:n),$.children().first().css(r),e.scrollLeft(i),e.scrollTop(n),Me=t,!0}return!1};_(),e.on(Xt,function(e){return _()&&yi(),s.prvD(e),s.stpP(e),!1})}}function xr(e){if(T){var t=e.contents()[0];t[yn].disconnect(),delete t[yn]}else e.children(Zt+Bn).first().remove()}function br(e,t,r){return!0===r?r:t===n||e!==t}function Cr(e,t,r,i,o){if(!0===o)return o;if(i===n&&o===n){if(!0===r)return r;r=n}return r=r===n?"w":r,i=i===n?"h":i,t===n||(e[r]!==t[r]||e[i]!==t[i])}function Or(e,t){return t===n||(e.t!==t.t||e.r!==t.r||e.b!==t.b||e.l!==t.l)}function Mr(e,t){Ct&&e.call(bt,t)}function Sr(e,t,r){r===n&&(r=[Qt,Qt,Qt,Qt]),e[t+Ft]=r[0],e[t+Nt]=r[1],e[t+Dt]=r[2],e[t+Rt]=r[3]}function Ar(){it&&!rt&&(tt.observe(J[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[o.i,o.c,o.s]}),nt.observe(Mt?Y[0]:ne[0],{attributes:!0,attributeOldValue:!0,subtree:!Mt,childList:!Mt,characterData:!Mt,attributeFilter:Mt?["wrap","cols","rows"]:[o.i,o.c,o.s]}),rt=!0)}function Tr(){it&&rt&&(tt.disconnect(),nt.disconnect(),rt=!1)}function zr(e){if(!N){var t=(e.originalEvent||e).touches!==n;(1===s.mBtn(e)||t)&&(rt&&(yt=!0,Tr()),hr=s.page(e),vr.w=J[0][o.oW]-(E?0:H),vr.h=J[0][o.oH]-(E?0:k),Q.on(dn,jr).on(cn,Er).on(ln,Hr),X.addClass(ir),ie.setCapture&&ie.setCapture(),s.prvD(e),s.stpP(e))}}function Er(e){e.originalEvent;var t=s.page(e),n={};(wt||gt)&&(n[qt]=vr.w+t.x-hr.x),(xt||gt)&&(n[_t]=vr.h+t.y-hr.y),J.css(n),s.stpP(e)}function Hr(e){var t=e!==n;Q.off(dn,jr).off(cn,Er).off(ln,Hr),X.removeClass(ir),ie.releaseCapture&&ie.releaseCapture(),t&&(yt&&Ar(),bt.update(Vt)),yt=!1}function kr(){if(!N){var e=!We,t=Ht.w-(E||Se||!ye?0:k+W),n=Ht.h-(E||Se||!me?0:k+W),r={},i=ye||e,a=Y[0];r[Bt+qt]=Qt,r[Bt+_t]=Qt,r[qt]=Vt,Y.css(r);var s=a[o.oW],l=i?Math.max(s,a[o.sW]-1):1;l+=ye?L+(E?0:e?0:H+I):0,r[qt]=ye?l:Yt,r[_t]=Vt,Y.css(r);var c=a[o.oH],u=Math.max(c,a[o.sH]-1);return r[qt]=l,r[_t]=u,re.css(r),r[Bt+qt]=t+(!E&&ye?H+I:0),r[Bt+_t]=n+(!E&&me?k+W:0),Y.css(r),{ow:s,oh:c,dw:l,dh:u}}}function Ir(){var e=Y.prop("selectionStart");if(e!==n){for(var t=Y.val(),r=t.length,i=t.split("\n"),o=i.length,a=t.substr(0,e).split("\n"),s=0,l=0,c=a.length,u=a[a.length-1].length,f=0;f<i.length;f++){var h=i[f].length;h>l&&(s=f+1,l=h)}return{cursorRow:c,cursorCol:u,rows:o,cols:l,wRow:s,pos:e,max:r}}}function Wr(e){for(var t=0;t<ur.length;t++)if(e===ur[t])return!0;return!1}function Lr(){kr(),bt.update(Vt)}function Pr(e){var t=e.keyCode;if(!Wr(t)){if(0===fr.length){var n=function(){kr(),bt.update(Vt)};n(),ot=setInterval(n,1e3/60)}-1===c.inArray(t,fr)&&fr.push(t)}}function Fr(e){var t=e.keyCode;if(!Wr(t)){var n=c.inArray(t,fr);n>-1&&fr.splice(n,1),0===fr.length&&(kr(),bt.update(Vt),clearInterval(ot))}}function Nr(){setTimeout(function(){kr(),bt.update(Vt)},50)}function Dr(){at=!0}function Rr(){at=!1,clearInterval(ot),fr=[],kr(),bt.update(Vt)}function Br(e){return Y[on](p.i&&Je?9999999:0),Y[an](0),s.prvD(e),s.stpP(e),!1}function jr(e){return s.prvD(e),!1}function qr(){yi()}function _r(){return He&&C.x&&C.y}function Ur(e,t,n){var r=e?bn:Cn,i=e?oe:le;t?J.removeClass(r):J.addClass(r),n?i.removeClass(Jn):i.addClass(Jn)}function Qr(e,t){if(clearTimeout(st),e)oe.removeClass(Kn),le.removeClass(Kn);else{var n="active",r=function(){if(!pt){var e=se.hasClass(n)||ue.hasClass(n);!e&&(ft||ht||vt)&&oe.addClass(Kn),!e&&(ft||ht||vt)&&le.addClass(Kn)}};ct>0&&!0!==t?st=setTimeout(r,ct):r()}}function Vr(e){var t={},n=$r(e),r=Math.min(1,(fe[n._wh]-(Se?e?H:k:0))/he[n._wh]);t[n.wh]=Math.floor(100*r*1e5)/1e5+"%",_r()||n.h.css(t),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=r}function Xr(e,t){var n=F&&e,r={},i=$r(e),o=ee[0][Xt+i.WH]-ee[0]["client"+i.WH];p.n&&n&&(o*=-1);var a=t/o;a=isNaN(a)?0:Math.min(1,a),i.i.ms=o,i.i.cs=t,i.i.csr=a;var s=i.i.hl,l=i.t[0]["offset"+i.WH],c=(l-s)*a;if(c=isNaN(c)?0:c,n&&(p.n||!p.n&&!p.i)&&(c=l-s-c),c=Math.max(0,c),S){var u;n&&(c=-(l-s-c));var f="translate(",h="transform";u=e?f+c+"px, 0px)":f+"0px, "+c+"px)",r["-webkit-"+h]=u,r["-moz-"+h]=u,r["-ms-"+h]=u,r["-o-"+h]=u,r[h]=u}else r[i.lt]=c;_r()||i.h.css(r),i.i.ho=c,i.i.tl=l}function Yr(e,t){var n=t?"removeClass":"addClass",r=e?ce:ue,i=e?Vn:Yn;(e?ae:se)[n](i),r[n](i)}function Jr(){oe=c($t+Un+en+nr+Gt),ae=c($t+Qn+Gt),se=c($t+Xn+Gt),le=c($t+Un+en+rr+Gt),ce=c($t+Qn+Gt),ue=c($t+Xn+Gt),oe.append(ae),ae.append(se),le.append(ce),ce.append(ue),Z.after(le),Z.after(oe),M&&(oe.on(pn,function(e){e.target===oe[0]&&(Vr(!0),Xr(!0,ee[on]()))}),le.on(pn,function(e){e.target===le[0]&&(Vr(!1),Xr(!1,ee[an]()))})),Kr(!0),Kr(!1),ie=c($t+en+$n+Gt),J.append(ie)}function Kr(e){var t,r,i,o=$r(e),a=o.xy,l=Xt+o.LT,c="active",u=1,f=function(){u=.5},h=function(){u=1},v=function(n){n.originalEvent;var i=o.i.tl,c=o.i.hl,u=o.i.ms*((c/2+s.page(n)[a]-r-c/2)/(i-c));u=isFinite(u)?u:0,F&&e&&(p.n||!p.n&&!p.i)&&(u*=-1),ee[l](t+u),A||s.prvD(n)},d=function(e){e=e||e.originalEvent,X.removeClass(ir),o.h.removeClass(c),o.t.removeClass(c),o.s.removeClass(c),A?(yr(Q,cn,v),yr(Q,ln,d),yr(Q,hn,y),yr(Q,vn,m)):Q.off(cn,v).off(ln,d).off(hn,y).off(vn,m),Q.off(dn,jr),h(),t=n,r=n,i!==n&&(bt.scrollStop(),clearTimeout(i),i=n);var a=J[0].getBoundingClientRect();e.clientX>=a.left&&e.clientX<=a.right&&e.clientY>=a.top&&e.clientY<=a.bottom||Zr(),(ft||ht)&&Qr(!1)},y=function(e){16==e.keyCode&&f()},m=function(e){16==e.keyCode&&h()};o.h.on(sn,function(i){if(!N){var u=(i.originalEvent||i).touches!==n;_r()||!Xe||u&&!dt||(1===s.mBtn(i)||u)&&(t=(t=ee[l]())===n?0:t,(F&&e&&!p.n||!F)&&(t=t<0?0:t),r=s.page(i)[a],X.addClass(ir),o.h.addClass(c),o.s.addClass(c),A?(pr(Q,cn,v),pr(Q,ln,d)):Q.on(cn,v).on(ln,d),Q.on(dn,jr),s.prvD(i))}}),o.t.on(sn,function(t){if(!N){var l=(t.originalEvent||t).touches!==n;if(!_r()&&Ve&&(!l||dt)&&(1===s.mBtn(t)||l)){var h,v=Ht[o._wh],g=o.t.offset()[o.lt],w=!0;t.shiftKey&&f();var x=function(){var t=o.i.ho,a=o.i.hl,s=r-g,l=200*u,c=w?Math.max(333,l):l,f={},d=F&&e&&(!p.i&&!p.n||Je),y=t>s;d&&(y=t<s),y?(h===n&&(h=!0),f[o.xy]="-="+v):(h===n&&(h=!1),f[o.xy]="+="+v),bt.scrollStop(),bt.scroll(f,l,"linear");var m=h?t<=s:t+a>=s;d&&(m=h?t+a>=s:t<=s),m?(clearTimeout(i),bt.scrollStop(),i=n):i=setTimeout(x,c),w=!1};r=s.page(t)[a],X.addClass(ir),o.t.addClass(c),o.s.addClass(c),A?(pr(Q,ln,d),pr(Q,hn,y),pr(Q,vn,m)):Q.on(ln,d).on(hn,y).on(vn,m),Q.on(dn,jr),x(),s.prvD(t)}}}).hover(function(){(ft||ht)&&(pt=!0,Qr(!0))},function(){(ft||ht)&&(pt=!1,Qr(!1))}),o.s.on(sn,function(e){s.stpP(e)})}function $r(e){return{wh:e?qt:_t,WH:e?"Width":"Height",lt:e?Rt:Ft,LT:e?"Left":"Top",xy:e?Jt:Kt,XY:e?"X":"Y",_wh:e?"w":"h",_lt:e?"l":"t",t:e?ae:ce,h:e?se:ue,s:e?oe:le,i:e?zt:Et}}function Gr(){vt&&Qr(!0)}function Zr(){vt&&!X.hasClass(ir)&&Qr(!1)}function ei(){ht&&(Qr(!0),clearTimeout(lt),lt=setTimeout(function(){ht&&Qr(!1)},100))}function ti(e){if(!N){var t=j.callbacks,r=t.onScrollStart,i=t.onScroll,o=t.onScrollStop;D!==n?clearTimeout(D):((ft||ht)&&Qr(!0),_r()||J.addClass(An),c.isFunction(r)&&Mr(r,e)),Xr(!0,ee[on]()),Xr(!1,ee[an]()),c.isFunction(i)&&Mr(i,e),D=setTimeout(function(){ni(e),c.isFunction(o)&&Mr(o,e)},kt)}}function ni(){clearTimeout(D),D=n,(ft||ht)&&Qr(!1),_r()||J.removeClass(An)}function ri(e){return typeof HTMLElement===i.o?e instanceof HTMLElement:e&&typeof e===i.o&&null!==e&&1===e.nodeType&&typeof e.nodeName===i.s}function ii(e,t,r,o){var a,s,l,f,h,v={n:t,s:!1,v:n,p:n},d=i.u,p=u.has(e,t),y=u.get(e,t),m=!1,g=!0!==p,w="*",x=!1;for(c.type(r)!==i.a&&(r=[r]),h=r.length,s=0;s<h;s++){var b=r[s];if(b===w)if(h>1){var C=0;for(f=0;f<h;f++){var O=r[f];if(c.type(O)===i.s&&++C>1)break}1===C&&(x=!0)}else x=!0;b===n&&(m=!0)}if(g&&!1===p&&m&&(g=!1),!g){a=y,d=c.type(a);var M=function(e){var t=c.type(e);return t===d&&(t!==i.s||(!!x||a===e))&&(v.s=!0,v.v=a,v.p=a,!0)};for(s=0;s<h;s++){var S=r[s];if(c.type(S)===i.s){var A=S.split(":"),T=A[0],z=!1;for(l=0;l<A.length;l++)if(M(A[l])){x||(v.p=T),z=!0;break}if(z)break}else if(M(S))break}}if(!v.s){var E='The option "'+t+"\" wasn't set, because";if(g&&!1!==p){var H=u.has(R,t);!0===H?console.warn(E+' "'+p+'" is not from type [ OBJECT ].'):(E='The option "'+t+'" is not a default option',!1===H?console.warn(E+Zt):console.warn(E+" and couldn't be resolved, because \""+H+'" is not from type [ OBJECT ].'))}else{var k=[],I=Qt,W=!1,L=Qt;for(s=0;s<h;s++){var P=r[s],F=c.type(P);if(F===i.s){W=!x;var N=P.split(":");for(l=0;l<N.length;l++)L+='"'+N[l]+'", '}-1===c.inArray(F,k)&&(k.push(F),I=I+F.toUpperCase()+", ")}I=I.slice(0,-2),W&&(L=L.slice(0,-2)),console.warn(E+" it doesn't accept the type [ "+d.toUpperCase()+' ] with the value of "'+a+'".\r\nAccepted types are: [ '+I+" ]."+(W?"\r\nValid strings are: [ "+L+" ].":Qt))}}return(o=o===n||o)&&u.del(e,t),v}function oi(){var e={};return St&&te&&(e.w=vi(te.css(Bt+qt)),e.h=vi(te.css(Bt+_t)),e.c=Cr(e,et),e.f=!0),et=e,e.c}function ai(e,t){var n,r,i={};for(n=0;n<e.length;n++){var o=e[n],a=[];if(o.s){var s=o.n.split(".");for(r=0;r<s.length;r++)a[r]={},a[r][s[r]]={};for(r=0;r<a.length;r++){var l=!1,u=a[r];for(var f in r+1===a.length&&(l=!0),u)u.hasOwnProperty(f)&&(u[f]=a[r+1],l&&(u[f]=t?o.p:o.v))}c.extend(!0,i,a[0])}}return i}function si(e,t){var n,r=[],i=[];for(n=0;n<e.length;n++)r[e[n]]=!0;for(n=0;n<t.length;n++)r[t[n]]?delete r[t[n]]:r[t[n]]=!0;for(var o in r)i.push(o);return i}function li(e,t){var r=t!==n&&null!==t?t.split(en):Qt,i=e!==n&&null!==e?e.split(en):Qt;if(r===Qt&&i===Qt)return!1;var o=si(i,r),a=!1,s=$e!==n&&null!==$e?$e.split(en):[Qt],l=Ke!==n&&null!==Ke?Ke.split(en):[Qt],u=c.inArray(or,o);u>-1&&o.splice(u,1);for(var f=0;f<o.length;f++){var h=o[f];if(0!==h.indexOf(wn)){var v,d=!0,p=!0;for(v=0;v<s.length;v++)if(h===s[v]){d=!1;break}for(v=0;v<l.length;v++)if(h===l[v]){p=!1;break}if(d&&p){a=!0;break}}}return a}function ci(e){var t=e.attributeName,n=e.target,r=e.type;if(n===ne[0])return null===t;if("attributes"===r&&(t===o.c||t===o.s)&&!Mt){if(typeof n.closest!==i.f)return!0;if(null!==n.closest(Zt+Bn)||null!==n.closest(Zt+Un)||null!==n.closest(Zt+$n))return!1}return!0}function ui(e){e=c.extend(!0,{},B,e);var t=["*",null],n=["v-h:visible-hidden","v-s:visible-scroll","s:scroll","h:hidden"],r=["v:visible","h:hidden","a:auto"],o=["n:never","s:scroll","l:leave","m:move"],a=["n:none","b:both","h:horizontal","v:vertical"],s="callbacks.",l=tn+"s.",f="textarea.",h="overflowBehavior.",v="nativeScrollbarsOverlaid.",d=!0,p=[d,null],y=0,m=[new Function,null],g=[ii(e,v+"showNativeScrollbars",d),ii(e,v+"initialize",d),ii(e,h+Jt,n),ii(e,h+Kt,n),ii(e,l+"visibility",r),ii(e,l+"autoHide",o),ii(e,l+"autoHideDelay",y),ii(e,l+"clickScrolling",d),ii(e,l+"dragScrolling",d),ii(e,l+"touchSupport",d),ii(e,f+"dynWidth",d),ii(e,f+"dynHeight",d),ii(e,"className",t),ii(e,"resize",a),ii(e,"sizeAutoCapable",d),ii(e,"paddingAbsolute",d),ii(e,"clipAlways",d),ii(e,"normalizeRTL",d),ii(e,"autoUpdate",p),ii(e,"autoUpdateInterval",y),ii(e,s+"onInitialized",m),ii(e,s+"onInitializationWithdrawn",m),ii(e,s+"onDestroyed",m),ii(e,s+"onScrollStart",m),ii(e,s+"onScroll",m),ii(e,s+"onScrollStop",m),ii(e,s+"onDirectionChanged",m),ii(e,s+"onContentSizeChanged",m),ii(e,s+"onHostSizeChanged",m),ii(e,s+"onOverflowChanged",m),ii(e,s+"onOverflowAmountChanged",m),ii(e,s+"onUpdated",m)];for(var w in e)e.hasOwnProperty(w)&&u.has(R,w)&&c.isEmptyObject(e[w])&&delete e[w];if(!c.isEmptyObject(e)){var x=function(e){c.each(e,function(t,n){c.isPlainObject(n)?x(n):c.type(n)===i.f&&(e[t]=c.type(n))})};x(e),console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(e,null,2))}B=c.extend(!0,{},B,ai(g,!1)),j=c.extend(!0,{},j,ai(g,!0))}function fi(){if(N)return!1;var e,t=Mt&&ye&&!We?Y.val().length:0,n=!rt&&ye&&!Mt,r={};n&&(e=ne.css(Ut),r[Ut]=F?Nt:Rt,r[qt]=Vt,ne.css(r));var i={w:pi()[o.sW]+t,h:pi()[o.sH]+t};n&&(r[Ut]=e,r[qt]=Yt,ne.css(r));var a=oi(),s=Cr(i,qe)||a;return qe=i,s}function hi(){if(N||rt)return!1;var e=J.attr(o.i)||Qt,t=br(e,Pe),n=J.attr(o.c)||Qt,r=br(n,Fe),i=J.attr(o.s)||Qt,a=br(i,Ne),s=J.is(":visible")||Qt,l=br(s,De),c=Mt&&Y.attr("rows")||Qt,u=br(c,Re),f=Mt&&Y.attr("cols")||Qt,h=br(f,Be),v=Mt&&Y.attr("wrap")||Qt,d=br(v,je);return Pe=e,r&&(r=li(Fe,n)),Fe=n,Ne=i,De=s,Re=c,Be=f,je=v,t||r||a||l||u||h||d}function vi(t){var n=e.parseInt(t);return isNaN(n)?0:n}function di(e){if(!Ct)return!0;var t=[qt,Bt+qt,jt+qt,Wt+Rt,Wt+Nt,Rt,Nt,"font-weight","word-spacing"],n=[Lt+Rt,Lt+Nt,Pt+Rt+qt,Pt+Nt+qt],r=[_t,Bt+_t,jt+_t,Wt+Ft,Wt+Dt,Ft,Dt,"line-height"],i=[Lt+Ft,Lt+Dt,Pt+Ft+qt,Pt+Dt+qt],o="s",a="v-s",s=ze.x===o||ze.x===a,l=!1,c=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1};return(ze.y===o||ze.y===a)&&((l=c(r,e))||E||(l=c(i,e))),s&&!l&&((l=c(t,e))||E||(l=c(n,e))),l}function pi(){return Mt?re[0]:ne[0]}function yi(e,t,r){var i=s.now(),l=sr>0&&Ct&&i-q<sr&&!me&&!ye;if(clearTimeout(_),l&&(ar.h=e,ar.c=t,ar.f=r,_=setTimeout(yi,sr)),!(l||N||Ct&&!r&&J.is(":hidden")||"inline"===J.css("display"))){q=i,e=e||ar.h,t=t||ar.c,r=r||ar.f,ar={},e=e!==n&&e,t=t!==n&&t,r=r!==n&&r,!g||C.x&&C.y?x=c.extend(!0,{},h.nativeScrollbarSize):(x.x=0,x.y=0),b={x:3*(x.x+(C.x?0:3)),y:3*(x.y+(C.y?0:3))},mr($),mr(K);var u={l:ee[on](),t:ee[an]()},f=j.callbacks,d=j.scrollbars,m=j.textarea,M=f.onUpdated,S=f.onOverflowChanged,T=f.onOverflowAmountChanged,D=f.onDirectionChanged,R=f.onContentSizeChanged,B=f.onHostSizeChanged,U=d.visibility,Q=br(U,Ue,r),V=d.autoHide,X=br(V,Qe,r),oe=d.clickScrolling,ae=br(oe,Ve,r),se=d.dragScrolling,le=br(se,Xe,r),ce=j.className,ue=br(ce,Ke,r),Me=j.resize,Pe=br(Me,Ye,r)&&!St,Fe=!!Mt&&"off"!==Y.attr("wrap"),Ne=br(Fe,We,r),De=j.paddingAbsolute,Re=br(De,Se,r),Be=j.clipAlways,je=br(Be,Ae,r),qe=j.sizeAutoCapable&&!St,_e=br(qe,Ie,r),tt=j.nativeScrollbarsOverlaid.showNativeScrollbars,nt=br(tt,He),it=j.autoUpdate,ot=br(it,ke),st=j.overflowBehavior,lt=Cr(st,ze,Jt,Kt,r),pt=m.dynWidth,yt=br(Ze,Ot),Ot=m.dynHeight,zt=br(Ge,Ot);if(ut="n"===V,ft="s"===V,ht="m"===V,vt="l"===V,ct=d.autoHideDelay,dt=d.touchSupport,$e=Ke,mt="n"===Me,gt="b"===Me,wt="h"===Me,xt="v"===Me,Je=j.normalizeRTL,tt=tt&&C.x&&C.y,Ue=U,Qe=V,Ve=oe,Xe=se,Ke=ce,Ye=Me,We=Fe,Se=De,Ae=Be,Ie=qe,He=tt,ke=it,ze=c.extend(!0,{},st),Ze=pt,Ge=Ot,ue&&(J.removeClass($e).removeClass(or),ce!==n&&null!==ce&&ce.length>0?J.addClass(ce):J.addClass(or)),ot&&(!0===it?(Tr(),v.add(bt)):null===it&&y?(Tr(),v.add(bt)):(v.remove(bt),Ar())),_e)if(qe)if(G===n&&(G=c($t+Dn+Gt),Z.before(G)),At)K.show();else{K=c($t+Rn+Gt),G.before(K);var Et={w:-1,h:-1};wr(K,function(){var e={w:K[0][o.oW],h:K[0][o.oH]};Cr(e,Et)&&(Ct&&me&&e.h>0||ye&&e.w>0?yi():(Ct&&!me&&0===e.h||!ye&&0===e.w)&&yi()),Et=e}),At=!0,null!==w&&K.css(_t,w+"(100% + 1px)")}else At&&K.hide();r&&($.find("*").trigger(Xt),At&&K.find("*").trigger(Xt));var kt,It=J.css("direction"),Zt=br(It,Oe,r),en=J.css("box-sizing"),tn=br(en,we,r),nn={c:r,t:vi(J.css(Lt+Ft)),r:vi(J.css(Lt+Nt)),b:vi(J.css(Lt+Dt)),l:vi(J.css(Lt+Rt))};try{kt=At?K[0].getBoundingClientRect():null}catch(Di){return}E="border-box"===en;var rn=(F="rtl"===It)?Rt:Nt,ln=F?Nt:Rt,hn=J[0],vn=Z[0],dn=!1,pn=!(!At||"none"===J.css(Ut))&&(0===Math.round(kt.right-kt.left)&&(!!De||hn[o.cW]-H>0));if(qe&&!pn){var yn=hn[o.oW],mn=G.css(qt);G.css(qt,Vt);var gn=hn[o.oW];G.css(qt,mn),(dn=yn!==gn)||(G.css(qt,yn+1),gn=hn[o.oW],G.css(qt,mn),dn=yn!==gn)}var wn=(pn||dn)&&qe,xn=br(wn,ye,r),bn=!wn&&ye,Cn=!!At&&0===Math.round(kt.bottom-kt.top),On=br(Cn,me,r),Hn=!Cn&&me,kn="-"+qt,In=wn&&E||!E,Wn=Cn&&E||!E,Ln={c:r,t:Wn?vi(J.css(Pt+Ft+kn)):0,r:In?vi(J.css(Pt+Nt+kn)):0,b:Wn?vi(J.css(Pt+Dt+kn)):0,l:In?vi(J.css(Pt+Rt+kn)):0},Pn={c:r,t:vi(J.css(Wt+Ft)),r:vi(J.css(Wt+Nt)),b:vi(J.css(Wt+Dt)),l:vi(J.css(Wt+Rt))},Fn={h:String(J.css(jt+_t)),w:String(J.css(jt+qt))},Bn={},jn={};if(H=nn.l+nn.r,k=nn.t+nn.b,nn.c=Or(nn,xe),I=Ln.l+Ln.r,W=Ln.t+Ln.b,Ln.c=Or(Ln,be),L=Pn.l+Pn.r,P=Pn.t+Pn.b,Pn.c=Or(Pn,Ce),Fn.ih=vi(Fn.h),Fn.iw=vi(Fn.w),Fn.ch=Fn.h.indexOf("px")>-1,Fn.cw=Fn.w.indexOf("px")>-1,Fn.c=Cr(Fn,ge,r),Oe=It,we=en,ye=wn,me=Cn,xe=nn,be=Ln,Ce=Pn,ge=Fn,Zt&&At&&K.css(Ut,ln),nn.c||Zt||Re||xn||On||tn||_e){var qn={},_n={};Sr(jn,Wt,[-nn.t,-nn.r,-nn.b,-nn.l]),De?(Sr(qn,Qt,[nn.t,nn.r,nn.b,nn.l]),Sr(Mt?_n:Bn,Lt)):(Sr(qn,Qt),Sr(Mt?_n:Bn,Lt,[nn.t,nn.r,nn.b,nn.l])),Z.css(qn),Y.css(_n)}Ht={w:vn[o.oW],h:vn[o.oH]};var Un=!!Mt&&kr();if(Cn&&(On||Re||tn||Fn.c||nn.c||Ln.c)?(Fn.cw&&(Bn[jt+_t]=Fn.ch?Fn.ih-(De?k:0)+(E?-W:k):Qt),Bn[_t]=Vt):(On||Re)&&(Bn[jt+_t]=Qt,Bn[_t]=Yt),wn&&(xn||Re||tn||Fn.c||nn.c||Ln.c||Zt)?(Fn.cw&&(Bn[jt+qt]=Fn.cw?Fn.iw-(De?H:0)+(E?-I:H)+(C.y?O.y:0):Qt),Bn[qt]=Vt,jn[jt+qt]=Yt):(xn||Re)&&(Bn[jt+qt]=Qt,Bn[qt]=Yt,Bn[Ut]=Qt,jn[jt+qt]=Qt),wn&&(Fn.cw||(Bn[jt+qt]=Qt),jn[qt]=Mt&&pt?Un.dw:Vt,Bn[qt]=Vt,Bn[Ut]=ln),Cn&&(Fn.ch||(Bn[jt+_t]=Qt),jn[_t]=Mt?Ot?Un.dh:Vt:ne[0][o.cH]),qe&&G.css(jn),ne.css(Bn),Bn={},jn={},de=de||{x:!1,y:!1},e||t||Zt||tn||Re||xn||wn||On||Cn||Fn.c||nt||lt||je||Pe||Q||yt||zt||Ne||Re||yt||zt||r){var Qn="overflow",Vn=Qn+"-x",Xn=Qn+"-y",Yn="hidden",Jn="visible",Kn=z&&(C.x||C.y||Ht.w<b.y||Ht.h<b.x)||Cn,$n={},nr=de.y&&pe.ys&&!tt?C.y?ee.css(rn):-x.y:0,rr=de.x&&pe.xs&&!tt?C.x?ee.css(Dt):-x.x:0;Sr($n,Qt),ee.css($n),Kn&&ne.css(Qn,Yn);var ir=pi(),lr=z&&!Kn?ee[0]:ir,cr={w:ir[o.cW],h:ir[o.cH]},ur={w:Math.max(ir[o.sW],lr[o.sW]),h:Math.max(ir[o.sH],lr[o.sH])},fr={w:Mt&&Un&&!pt?Un.ow:wn?cr.w:ur.w,h:Mt&&Un&&!Ot?Un.oh:Cn?cr.h:ur.h};$n[Dt]=Hn?Qt:rr,$n[rn]=bn?Qt:nr,ee.css($n);var hr={w:hn[o.cW],h:hn[o.cH]},vr={w:Math.max(fr.w+(De?H:0),hr.w-H)-(pt&&Mt&&wn?L+(E?0:H+I):0),h:Math.max(fr.h+(De?k:0),hr.h-k)};if(vr.c=Cr(vr,Te,r),Te=vr,qe){(vr.c||Cn||wn)&&(jn[qt]=vr.w,jn[_t]=vr.h);var dr=jn[qt]+(E?I:-H),xr=jn[_t]+(E?W:-H),Er={};(!wn||!wn&&Ln.c)&&(jn[qt]=hr.w-(E?0:H+I)-1-L),(!Cn||!Cn&&Ln.c)&&(jn[_t]=hr.h-(E?0:k+W)-1-P),Fn.cw&&Fn.iw===dr&&(jn[qt]=dr+(E?0:H)+1),Fn.ch&&Fn.ih===xr&&(jn[_t]=xr+(E?0:k)+1),wn&&(cr.w<Ht.w||Mt&&!Fe)&&0===H&&(Mt&&(Er[qt]=vi(re.css(qt))-1),jn[qt]-=1),Cn&&(cr.h<Ht.h||Mt)&&0===k&&(Mt&&(Er[_t]=vi(re.css(_t))-1),jn[_t]-=1),fr.h>0&&(jn[qt]=Math.max(1,jn[qt]),jn[_t]=Math.max(1,jn[_t])),Mt&&re.css(Er),G.css(jn)}wn&&(Bn[qt]=Yt),!wn||E||rt||(Bn[Ut]="none"),ne.css(Bn),Bn={};var Hr=ir.getBoundingClientRect(),Wr={w:Math.max(ir[o.sW],lr[o.sW]),h:Math.max(ir[o.sH],lr[o.sH])};if(Kn&&ne.css(Qn,Qt),Hr.width!==n){var Lr=Hr.width,Pr=Hr.height,Fr=.001;Wr.w+=vi(Lr+Fr)-Lr,Wr.h+=vi(Pr+Fr)-Pr}Wr.c=t=Cr(Wr,he,r),he=Wr,e=Cr(hr={w:hn[o.cW],h:hn[o.cH]},fe),fe=hr,Ht={w:vn[o.oW],h:vn[o.oH]};var Nr={x:"v-s"===st.x,y:"v-s"===st.y},Dr={x:"v-h"===st.x,y:"v-h"===st.y},Rr={x:"s"===st.x,y:"s"===st.y},Br={x:Math.max(0,Math.round(100*(Wr.w-hr.w+(De?H:0)))/100),y:Math.max(0,Math.round(100*(Wr.h-hr.h+(De?k:0)))/100)},jr=Mt&&(0===Ht.w||0===Ht.h);jr&&(Br.x=0,Br.y=0);var qr={x:Br.x>0,y:Br.y>0},_r={x:qr.x,y:qr.y};(Nr.x||Dr.x)&&(_r.x=qr.y&&!Nr.y&&!Dr.y),(Nr.y||Dr.y)&&(_r.y=qr.x&&!Nr.x&&!Dr.x),_r.xs=!!_r.x&&(Rr.x||Nr.x),_r.ys=!!_r.y&&(Rr.y||Nr.y);var Jr={x:qr.x&&_r.xs,y:qr.y&&_r.ys},Kr=Ee;if(Br.c=Cr(Br,Ee,Jt,Kt,r),Ee=Br,qr.c=Cr(qr,de,Jt,Kt,r),de=qr,_r.c=Cr(_r,pe,Jt,Kt,r),pe=_r,C.x||C.y){var $r=r,ti={};if((qr.x||qr.y)&&(ti.w=C.y&&qr.y?Wr.w+O.y:Qt,ti.h=C.x&&qr.x?Wr.h+O.x:Qt,$r=br(ti,ve,r),ve=ti),qr.c||_r.c||Wr.c||Zt||xn||On||wn||Cn||nt){var ni="px solid transparent";Bn[Pt+ln]=Qt,Bn[Wt+ln]=Qt,C.x&&qr.x&&_r.xs?(Cn&&(Bn[Wt+Dt]=tt?Qt:O.x),Bn[Pt+Dt]=Cn||tt?Qt:O.x+ni):(ti.h=Qt,$r=!0,Bn[Pt+Dt]=Qt,Bn[Wt+Dt]=Qt),C.y&&qr.y&&_r.ys?(wn&&(Bn[Wt+rn]=tt?Qt:O.y),Bn[Pt+rn]=tt?Qt:O.y+ni):(ti.w=Qt,$r=!0,Bn[Pt+rn]=Qt,Bn[Wt+rn]=Qt)}if(tt&&(ti.w=Qt,ti.h=Qt,$r=!0),$r){var ri={};ri[qt]=_r.y?ti.w:Qt,ri[_t]=_r.x?ti.h:Qt,te===n&&(te=c($t+Nn+Gt),ee.prepend(te)),te.css(ri)}ne.css(Bn)}var ii={};qn={};if(e||qr.c||_r.c||Wr.c||lt||tn||nt||Zt||je||On){ii[ln]=Qt;var ai=function(){ii[Dt]=Qt,Tt.h=0},si=function(){ii[rn]=Qt,Tt.w=0};if(qr.x&&_r.xs?(ii[Vn]=Xt,tt?ai():(ii[Dt]=-(C.x?O.x:x.x),Tt.h=C.x?O.y:0)):(ii[Vn]=Qt,ai()),qr.y&&_r.ys?(ii[Xn]=Xt,tt?si():(ii[rn]=-(C.y?O.y:x.y),Tt.w=C.y?O.x:0)):(ii[Xn]=Qt,si()),(Ht.h<b.x||Ht.w<b.y)&&(qr.x&&_r.x&&!C.x||qr.y&&_r.y&&!C.y)?(ii[Lt+Ft]=b.x,ii[Wt+Ft]=-b.x,ii[Lt+ln]=b.y,ii[Wt+ln]=-b.y):(ii[Lt+Ft]=Qt,ii[Wt+Ft]=Qt,ii[Lt+ln]=Qt,ii[Wt+ln]=Qt),ii[Lt+rn]=Qt,ii[Wt+rn]=Qt,qr.x&&_r.x||qr.y&&_r.y||jr?Mt&&jr&&(qn[Vn]=Yn,qn[Xn]=Yn):(!Be||Dr.x||Nr.x||Dr.y||Nr.y)&&(Mt&&(qn[Vn]=Qt,qn[Xn]=Qt),ii[Vn]=Jn,ii[Xn]=Jn),Z.css(qn),ee.css(ii),ii={},(qr.c||tn||xn||On)&&(!C.x||!C.y)){var li=ne[0],ci=li.style;ci.webkitTransform="scale(1)",ci.display="run-in";li[o.oH];ci.display=Qt,ci.webkitTransform=Qt}if(nt&&tt){J.hide();hn[o.oH];J.show()}}if(Bn={},Zt||xn||On)if(F&&wn){var ui=ne.css(Ut),fi=Math.round(ne.css(Ut,Qt).css(Rt,Qt).position().left);ne.css(Ut,ui),fi!==Math.round(ne.position().left)&&(Bn[Rt]=fi)}else Bn[Rt]=Qt;ne.css(Bn);var hi="v"===U,di="h"===U,mi="a"===U,gi=a.bind(Ur,0,!0,!0,Jr.x),wi=a.bind(Ur,0,!1,!0,Jr.y),xi=a.bind(Ur,0,!0,!1,Jr.x),bi=a.bind(Ur,0,!1,!1,Jr.y);if(Zt&&(F?J.addClass(Mn):J.removeClass(Mn)),St&&J.addClass(Sn),Pe){var Ci=function(){ie.on(sn,zr)},Oi=function(){ie.off(sn,zr)};mt?(J.addClass(Sn),ie.removeClass(Gn).removeClass(Zn).removeClass(er).removeClass(tr),Oi()):(J.removeClass(Sn),ie.addClass(Gn),gt?ie.addClass(Zn):wt?ie.addClass(er):xt&&ie.addClass(tr),Oi(),Ci())}if((Q||lt||_r.c||qr.c||nt)&&(tt?nt&&(J.removeClass(An),tt&&(xi(),bi())):mi?(Jr.x?gi():xi(),Jr.y?wi():bi()):hi?(gi(),wi()):di&&(xi(),bi())),X||nt){var Mi=function(e){A?e?pr(J,cn,ei):(pr(J,un,Gr),pr(J,fn,Zr)):e?J.on(cn,ei):J.on(un,Gr).on(fn,Zr)},Si=function(){A?(yr(J,cn,ei),yr(J,un,Gr),yr(J,fn,Zr)):J.off(cn,ei).off(un,Gr).off(fn,Zr)};vt||ht?(Si(),Mi(ht)):Si(),ut?Qr(!0):Qr(!1,!0)}if((e||Br.c||On||xn||Pe||tn||Re||nt||Zt)&&(Vr(!0),Xr(!0,u.l),Vr(!1),Xr(!1,u.t)),ae&&Yr(!0,oe),le&&Yr(!1,se),_r.x||_r.y?J.addClass(Tn):J.removeClass(Tn),_r.x?J.addClass(zn):J.removeClass(zn),_r.y?J.addClass(En):J.removeClass(En),Mt&&t){var Ai=Ir();if(Ai!==n){var Ti=Le===n||Ai.rows!==Le.rows,zi=Ai.wRow,Ei=Ai.cursorRow,Hi=Ai.cursorCol,ki=Ai.rows,Ii=Ai.cols,Wi=Ai.pos,Li=Ai.max===Wi&&at,Pi={x:Fe||Hi!==Ii||Ei!==zi?-1:Ee.x,y:(Fe?Li||Ti&&Kr!==n&&u.t===Kr.y:(Li||Ti)&&Ei===ki)?Ee.y:-1},Fi=Pi.x>-1,Ni=Pi.y>-1;(Fi||Ni)&&(Ni&&ee[an](Pi.y),Fi&&(F&&Je&&p.i?ee[on](0):ee[on](Pi.x)))}Le=Ai}else Mt||(F&&p.i&&C.y&&qr.x&&Je&&(u.l+=Tt.w),ee[on](u.l),ee[an](u.t));Zt&&c.isFunction(D)&&Mr(D,{isRTL:F,dir:It}),e&&c.isFunction(B)&&Mr(B,{width:fe.w,height:fe.h}),t&&c.isFunction(R)&&Mr(R,{width:he.w,height:he.h}),(qr.c||_r.c)&&c.isFunction(S)&&Mr(S,{x:qr.x,y:qr.y,xScrollable:_r.xs,yScrollable:_r.ys,clipped:_r.x||_r.y}),Br.c&&c.isFunction(T)&&Mr(T,{x:Br.x,y:Br.y})}St&&(qr.c||et.c)&&(et.f||oi(),C.y&&qr.x&&ne.css(Bt+qt,et.w+O.y),C.x&&qr.y&&ne.css(Bt+_t,et.h+O.x),et.c=!1),gr($),gr(K),c.isFunction(M)&&Mr(M,{forced:r})}}function mi(e,t){R=h.defaultOptions,g=h.nativeScrollbarStyling,x=c.extend(!0,{},h.nativeScrollbarSize),C=c.extend(!0,{},h.nativeScrollbarIsOverlaid),O=c.extend(!0,{},h.overlayScrollbarDummySize),p=c.extend(!0,{},h.rtlScrollBehavior),ui(c.extend(!0,{},R,t));var n,r=j.callbacks;if(C.x&&C.x&&!j.nativeScrollbarsOverlaid.initialize){var i=r.onInitializationWithdrawn;return c.isFunction(i)&&Mr(i),!1}if(w=h.cssCalc,m=h.msie,y=h.autoUpdateRecommended,M=h.supportTransition,S=h.supportTransform,A=h.supportPassiveEvents,T=h.supportResizeObserver,it=h.supportMutationObserver,z=h.restrictedMeasuring,Q=c(e.ownerDocument),U=c(Q[0].defaultView||Q[0].parentWindow),V=Q.find("html").first(),X=V.find("body").first(),Y=c(e),Mt=Y.is("textarea"),(St=Y.is("body"))&&((n={}).l=Math.max(Y[on](),V[on](),U[on]()),n.t=Math.max(Y[an](),V[an](),U[an]())),Mt){Y.wrap($t+xn+Gt),Y.addClass(Hn).addClass(_n),J=Y.parent();var a={};j.sizeAutoCapable||(a[qt]=Y.css(qt),a[_t]=Y.css(_t)),J.css(a).wrapInner($t+Fn+en+_n+Gt).wrapInner($t+Wn+en+_n+Gt).wrapInner($t+In+en+_n+Gt),ne=J.find(Zt+Fn).first(),ee=J.find(Zt+Wn).first(),Z=J.find(Zt+In).first(),re=c($t+kn+Gt),ne.prepend(re),Y.on(Xt,Br).on("drop",Nr).on("focus",Dr).on("focusout",Rr),m>9||!y?Y.on("input",Lr):Y.on(hn,Pr).on(vn,Fr)}else Y.addClass(wn),(J=Y).wrapInner($t+Fn+Gt).wrapInner($t+Wn+Gt).wrapInner($t+In+Gt),ne=J.find(Zt+Fn).first(),ee=J.find(Zt+Wn).first(),Z=J.find(Zt+In).first(),ne.on(pn,function(e){!0!==ke&&di((e=e.originalEvent||e).propertyName)&&yi(Vt)});if(Jr(),A?pr(ee,Xt,ti):ee.on(Xt,ti),g&&(C.x&&C.y?ee.addClass(Pn):ee.addClass(Ln)),it){var l,u=s.mO(),f=s.now();tt=new u(function(e){if(Ct&&!N){var t=!1;c.each(e,function(){var e=this,n=this.target,r=e.attributeName;if(t=r===o.c?li(e.oldValue,n.className):r!==o.s||e.oldValue!==n.style.cssText)return!1}),t&&bt.update(Vt)}}),nt=new u(function(e){if(Ct&&!N){for(var t=!1,n=0;n<e.length;n++){if(ci(e[n])){t=!0;break}}if(t){var r=s.now(),i=me||ye,o=function(){f=r,Mt&&kr(),i?bt.update():bt.update(Vt)};clearTimeout(l),cr<=0||r-f>cr||!i?o():l=setTimeout(o,cr)}}})}St&&(V.addClass(gn),ee[on](n.l),ee[an](n.t)),$=c($t+"os-resize-observer-host"+Gt),J.prepend($),wr($,dr),dr(),bt.update(Vt),setTimeout(function(){M&&!Ot&&J.addClass(On)},333),Ct=!0;var v=r.onInitialized;return c.isFunction(v)&&Mr(v),Ct}}e[r]=function(e,t){if(0===arguments.length)return this;d();var r,i=[];return c.isPlainObject(t)?e&&e.length?e.length>1?(c.each(e,function(){(r=this)!==n&&i.push(m(r,t,f,h))}),i):m(e[0],t,f,h):m(e,t,f,h):e?e.length&&e.length>0?e.length>1?(c.each(e,function(){r=l.get(this),"!"===t?r!==n&&i.push(r):i.push(r)}),i):l.get(e[0]):l.get(e):void 0},e[r].globals=function(){d();var e=c.extend(!0,{},f);return delete e.msie,e},e[r].defaultOptions=function(e){d();var t=f.defaultOptions;if(e===n)return c.extend(!0,{},t);f.defaultOptions=c.extend(!0,{},t,e)}}(a,l,s,c),e.jQuery);return u&&u.fn&&(u.fn.overlayScrollbars=function(t){var n=this;return u.isPlainObject(t)?(u.each(n,function(){e[r](this,t)}),n):e[r](n,t)}),e[r]});
!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,t.document,undefined):e(t,t.document,undefined)}("undefined"!=typeof window?window:this,function(t,e,n){"use strict";var r="OverlayScrollbars",i={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},o={c:"class",s:"style",i:"id",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth"},a={wW:function(){return t.innerWidth||e.documentElement[o.cW]||e.body[o.cW]},wH:function(){return t.innerHeight||e.documentElement[o.cH]||e.body[o.cH]},mO:function(){return t.MutationObserver||t.WebKitMutationObserver||t.WebkitMutationObserver||t.MozMutationObserver||n},rO:function(){return t.ResizeObserver||t.WebKitResizeObserver||t.WebkitResizeObserver||t.MozResizeObserver||n},rAF:function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}},cAF:function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(e){return t.clearTimeout(e)}},now:function(){return Date.now()||(new Date).getTime()},stpP:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},prvD:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},page:function(t){var r="page",i="client",o="X",a="Y",s=((t=t.originalEvent||t).target||t.srcElement||e).ownerDocument||e,c=s.documentElement,l=s.body;if(t.touches!==n){var u=t.touches[0];return{x:u[r+o],y:u[r+a]}}return!t[r+o]&&t[i+o]&&null!=t[i+o]?{x:t[i+o]+(c&&c.scrollLeft||l&&l.scrollLeft||0)-(c&&c.clientLeft||l&&l.clientLeft||0),y:t[i+a]+(c&&c.scrollTop||l&&l.scrollTop||0)-(c&&c.clientTop||l&&l.clientTop||0)}:{x:t[r+o],y:t[r+a]}},mBtn:function(t){return t.which||t.button===n?t.which:1&t.button?1:2&t.button?3:4&t.button?2:0},bind:function(t,e){if(typeof t!==i.f)throw"Can't bind function!";var n=Array.prototype.slice.call(arguments,2),r=function(){},o=function(){return t.apply(this instanceof r?this:e,n.concat(Array.prototype.slice.call(arguments)))};return t.prototype&&(r.prototype=t.prototype),o.prototype=new r,o}},s=function(r){var o=/[^\x20\t\r\n\f]+/g,a=Object.prototype.toString,s=" ",c="",l=[],u={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},f={swing:function(t,e,n,r,i){return.5-Math.cos(t*Math.PI)/2},linear:function(t,e,n,r,i){return t},easeInQuad:function(t,e,n,r,i){return r*(e/=i)*e+n},easeOutQuad:function(t,e,n,r,i){return-r*(e/=i)*(e-2)+n},easeInOutQuad:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e+n:-r/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,r,i){return r*(e/=i)*e*e+n},easeOutCubic:function(t,e,n,r,i){return r*((e=e/i-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e*e+n:r/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,r,i){return r*(e/=i)*e*e*e+n},easeOutQuart:function(t,e,n,r,i){return-r*((e=e/i-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e*e*e+n:-r/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,r,i){return r*(e/=i)*e*e*e*e+n},easeOutQuint:function(t,e,n,r,i){return r*((e=e/i-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,r,i){return(e/=i/2)<1?r/2*e*e*e*e*e+n:r/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,r,i){return-r*Math.cos(e/i*(Math.PI/2))+r+n},easeOutSine:function(t,e,n,r,i){return r*Math.sin(e/i*(Math.PI/2))+n},easeInOutSine:function(t,e,n,r,i){return-r/2*(Math.cos(Math.PI*e/i)-1)+n},easeInExpo:function(t,e,n,r,i){return 0==e?n:r*Math.pow(2,10*(e/i-1))+n},easeOutExpo:function(t,e,n,r,i){return e==i?n+r:r*(1-Math.pow(2,-10*e/i))+n},easeInOutExpo:function(t,e,n,r,i){return 0==e?n:e==i?n+r:(e/=i/2)<1?r/2*Math.pow(2,10*(e-1))+n:r/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,r,i){return-r*(Math.sqrt(1-(e/=i)*e)-1)+n},easeOutCirc:function(t,e,n,r,i){return r*Math.sqrt(1-(e=e/i-1)*e)+n},easeInOutCirc:function(t,e,n,r,i){return(e/=i/2)<1?-r/2*(Math.sqrt(1-e*e)-1)+n:r/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,r,i){var o=1.70158,a=0,s=r;if(0==e)return n;if(1==(e/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*i-o)*(2*Math.PI)/a)+n},easeOutElastic:function(t,e,n,r,i){var o=1.70158,a=0,s=r;if(0==e)return n;if(1==(e/=i))return n+r;if(a||(a=.3*i),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return s*Math.pow(2,-10*e)*Math.sin((e*i-o)*(2*Math.PI)/a)+r+n},easeInOutElastic:function(t,e,n,r,i){var o=1.70158,a=0,s=r;if(0==e)return n;if(2==(e/=i/2))return n+r;if(a||(a=i*(.3*1.5)),s<Math.abs(r)){s=r;o=a/4}else o=a/(2*Math.PI)*Math.asin(r/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*i-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(e-=1))*Math.sin((e*i-o)*(2*Math.PI)/a)*.5+r+n},easeInBack:function(t,e,r,i,o,a){return a==n&&(a=1.70158),i*(e/=o)*e*((a+1)*e-a)+r},easeOutBack:function(t,e,r,i,o,a){return a==n&&(a=1.70158),i*((e=e/o-1)*e*((a+1)*e+a)+1)+r},easeInOutBack:function(t,e,r,i,o,a){return a==n&&(a=1.70158),(e/=o/2)<1?i/2*(e*e*((1+(a*=1.525))*e-a))+r:i/2*((e-=2)*e*((1+(a*=1.525))*e+a)+2)+r},easeInBounce:function(t,e,n,r,i){return r-this.easeOutBounce(t,i-e,0,r,i)+n},easeOutBounce:function(t,e,n,r,i){return(e/=i)<1/2.75?r*(7.5625*e*e)+n:e<2/2.75?r*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?r*(7.5625*(e-=2.25/2.75)*e+.9375)+n:r*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,r,i){return e<i/2?.5*this.easeInBounce(t,2*e,0,r,i)+n:.5*this.easeOutBounce(t,2*e-i,0,r,i)+.5*r+n}},h=function(){var t,e,r,o,a,s,c=arguments[0]||{},l=1,u=arguments.length,f=!1;for("boolean"==typeof c&&(f=c,c=arguments[1]||{},l=2),typeof c!==i.o&&!p(c)===i.f&&(c={}),u===l&&(c=x,--l);l<u;l++)if(null!=(a=arguments[l]))for(o in a)t=c[o],c!==(r=a[o])&&(f&&r&&(m(r)||(e=v(r)))?(e?(e=!1,s=t&&v(t)?t:[]):s=t&&m(t)?t:{},c[o]=h(f,s,r)):r!==n&&(c[o]=r));return c},p=function(t){return t===n?t+c:null===t?t+c:a.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},d=function(t){return p(t)===i.f},v=function(t){return p(t)===i.a},y=function(t){for(var e in t)return!1;return!0},m=function(t){if(!t||p(t)!==i.o)return!1;var e,n=Object.prototype.hasOwnProperty,r=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return typeof e===i.u||n.call(t,e)},w=function(t,e){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},g=function(t,e){var n=0;if(b(t))for(;n<t.length&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},x=function(t){if(0===arguments.length)return this;var n,r,o=new x,a=t,s=0;if(p(t)===i.s)for(a=[],"<"===t.charAt(0)?((r=e.createElement("div")).innerHTML=t,n=r.children):n=e.querySelectorAll(t);s<n.length;s++)a.push(n[s]);if(a){for(p(a)===i.s||a.length||(a=[a]),s=0;s<a.length;s++)o[s]=a[s];o.length=a.length}return o};function b(t){var e=!!t&&"length"in t&&t.length,n=p(t);return!d(n)&&(n===i.a||0===e||typeof e===i.n&&e>0&&e-1 in t)}function M(t){return(t.match(o)||[]).join(s)}function O(t,n){for(var r=(t.parentNode||e).querySelectorAll(n)||[],i=r.length;i--;)if(r[i]==t)return!0;return!1}function C(t,e,n){p(n)===i.s?t.insertAdjacentHTML(e,n):n.nodeType?t.insertAdjacentElement(e,n):t.insertAdjacentElement(e,n[0])}function S(t,e,r){try{t.style[e]!==n&&(t.style[e]=A(e,r))}catch(i){}}function A(t,e){return u[t.toLowerCase()]||p(e)!==i.n||(e=e+="px"),e}function z(t,e){var n,r;!1!==e&&t.q.splice(0,1),t.q.length>0?(r=t.q[0],E(t.el,r.props,r.duration,r.easing,r.complete,!0)):(n=w(t,l))>-1&&l.splice(n,1)}function T(t,e,n){"scrollLeft"===e?t[e]=n:"scrollTop"===e?t[e]=n:S(t,e,n)}function E(t,e,n,i,o,a){var s,c,u,h,p,v,g={},b={},M=0,O=m(n);for(O?(i=n.easing,n.start,u=n.progress,h=n.step,p=n.specialEasing,o=n.complete,v=n.duration):v=n,p=p||{},v=v||400,i=i||"swing",a=a||!1;M<l.length;M++)if(l[M].el===t){c=l[M];break}for(s in c||(c={el:t,q:[]},l.push(c)),e)g[s]="scrollLeft"===s||"scrollTop"===s?t[s]:new x(t).css(s);for(s in g)g[s]!==e[s]&&(b[s]=e[s]);if(y(b))a&&z(c);else{var C,S,A,E,H,k,I,W,L,P=a?0:w(N,c.q),N={props:b,duration:O?n:v,easing:i,complete:o};if(-1===P&&(P=c.q.length,c.q.push(N)),0===P)if(v>0)I=r.now(),W=function(){for(s in C=r.now(),L=C-I,S=N.stop||L>=v,A=1-(Math.max(0,I+v-C)/v||0),b)E=g[s],H=b[s],k=(H-E)*f[p[s]||i](A,A*v,0,1,v)+E,T(t,s,k),d(h)&&h(k,{elem:t,prop:s,start:E,now:k,end:H,pos:A,options:{easing:i,speacialEasing:p,duration:v,complete:o,step:h},startTime:I});d(u)&&u({},A,Math.max(0,v-L)),S?(z(c),d(o)&&o()):N.frame=r.rAF()(W)},N.frame=r.rAF()(W);else{for(s in b)T(t,s,b[s]);z(c)}}}function H(t,e,n){for(var i,o,a,s=0;s<l.length;s++)if((i=l[s]).el===t){if(i.q.length>0){if((o=i.q[0]).stop=!0,r.cAF()(o.frame),i.q.splice(0,1),n)for(a in o.props)T(t,a,o.props[a]);e?i.q=[]:z(i,!1)}break}}return x.prototype={each:function(t){return g(this,t)},append:function(t){return this.each(function(){C(this,"beforeend",t)})},prepend:function(t){return this.each(function(){C(this,"afterbegin",t)})},before:function(t){return this.each(function(){C(this,"beforebegin",t)})},after:function(t){return this.each(function(){C(this,"afterend",t)})},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)},first:function(){return new x(this[0])},last:function(){return new x(this[this.length-1])},find:function(t){var e,n=[];return this.each(function(){var r=this.querySelectorAll(t);for(e=0;e<r.length;e++)n.push(r[e])}),new x(n)},hide:function(){return this.each(function(){this.style.display="none"})},show:function(){return this.each(function(){this.style.display="block"})},attr:function(t,e){for(var r=0;r<this.length;r++){var i=this[r];if(e===n)return i.getAttribute(t);i.setAttribute(t,e)}return this},removeAttr:function(t){return this.each(function(){this.removeAttribute(t)})},prop:function(t,e){for(var r=0;r<this.length;r++){var i=this[r];if(e===n)return i[t];i[t]=e}return this},val:function(t){var e=this[0];return t?(e.value=t,this):e.value},scrollLeft:function(t){for(var e=0;e<this.length;e++){var r=this[e];if(t===n)return r.scrollLeft;r.scrollLeft=t}return this},scrollTop:function(t){for(var e=0;e<this.length;e++){var r=this[e];if(t===n)return r.scrollTop;r.scrollTop=t}return this},children:function(t){var e,n,r=[];return this.each(function(){for(e=(i=this).children,n=0;n<e.length;n++){var i=e[n];t?(i.matches&&i.matches(t)||O(i,t))&&r.push(i):r.push(i)}}),new x(r)},on:function(t,e){var n,r;return t=(t||c).match(o)||[c],this.each(function(){if((r=this).addEventListener)for(n=0;n<t.length;n++)r.addEventListener(t[n],e);else if(r.detachEvent)for(n=0;n<t.length;n++)r.attachEvent("on"+t[n],e)})},off:function(t,e){var n,r;return t=(t||c).match(o)||[c],this.each(function(){if((r=this).removeEventListener)for(n=0;n<t.length;n++)r.removeEventListener(t[n],e);else if(r.detachEvent)for(n=0;n<t.length;n++)r.detachEvent("on"+t[n],e)})},trigger:function(t){var n,r;return this.each(function(){n=this,e.createEvent?((r=e.createEvent("HTMLEvents")).initEvent(t,!0,!1),n.dispatchEvent(r)):n.fireEvent("on"+t)})},hasClass:function(t){for(var e,n=0,r=s+t+s;e=this[n++];)if(e.classList){if(e.classList.contains(t))return!0}else if(1===e.nodeType&&(s+M(e.className)+s).indexOf(r)>-1)return!0;return!1},addClass:function(t){var e,r,i,a,c,l,u=null,f=0,h=0;if(t)for(e=t.match(o)||[];r=this[f++];)if(u===n&&(u=r.classList!==n),u)for(;c=e[h++];)r.classList.add(c);else if(a=r.className,i=1===r.nodeType&&s+M(a)+s){for(;c=e[h++];)i.indexOf(s+c+s)<0&&(i+=c+s);a!==(l=M(i))&&(r.className=l)}return this},removeClass:function(t){var e,r,i,a,c,l,u=null,f=0,h=0;if(t)for(e=t.match(o)||[];r=this[f++];)if(u===n&&(u=r.classList!==n),u)for(;c=e[h++];)r.classList.remove(c);else if(a=r.className,i=1===r.nodeType&&s+M(a)+s){for(;c=e[h++];)for(;i.indexOf(s+c+s)>-1;)i=i.replace(s+c+s,s);a!==(l=M(i))&&(r.className=l)}return this},remove:function(){return this.each(function(){var t=this;null!=t.parentNode&&t.parentNode.removeChild(t)})},offset:function(){var n=this[0].getBoundingClientRect(),r=t.pageXOffset||e.documentElement.scrollLeft,i=t.pageYOffset||e.documentElement.scrollTop;return{top:n.top+i,left:n.left+r}},position:function(){var t=this[0];return{top:t.offsetTop,left:t.offsetLeft}},css:function(e,r){var o,a;return p(e)===i.s?r===n?(o=this[0],t.getComputedStyle?t.getComputedStyle(o,null).getPropertyValue(e):o.currentStyle[e]):this.each(function(){S(this,e,r)}):this.each(function(){for(a in e)S(this,a,e[a])})},unwrap:function(){var t,e,n,r=[];for(this.each(function(){n=this.parentNode,-1===w(n,r)&&r.push(n)}),t=0;t<r.length;t++){for(e=r[t],n=e.parentNode;e.firstChild;)n.insertBefore(e.firstChild,e);n.removeChild(e)}return this},wrapAll:function(t){for(var e,n=this,r=new x(t)[0],i=r,o=n[0].parentNode,a=n[0].previousSibling;i.childNodes.length>0;)i=i.childNodes[0];for(e=0;n.length-e;i.firstChild===n[0]&&e++)i.appendChild(n[e]);var s=a?a.nextSibling:o.firstChild;return o.insertBefore(r,s),this},wrapInner:function(t){return this.each(function(){var e=new x(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){return this.each(function(){new x(this).wrapAll(t)})},contents:function(){var t,e,n=[];return this.each(function(){for(t=this.childNodes,e=0;e<t.length;e++)n.push(t[e])}),new x(n)},parent:function(){var t=[];return this.each(function(){t.push(this.parentNode)}),new x(t)},is:function(t){var e,n;for(n=0;n<this.length;n++){if(e=this[n],":visible"===t)return"none"!==e.style.display;if(":hidden"===t)return"none"===e.style.display;if(e.matches&&e.matches(t)||O(e,t))return!0}return!1},animate:function(t,e,n,r){return this.each(function(){E(this,t,e,n,r)})},stop:function(t,e){return this.each(function(){H(this,t,e)})}},h(x,{extend:h,type:p,isFunction:d,isArray:v,isEmptyObject:y,isPlainObject:m,inArray:w,each:g}),x}(a),c=function(a,s,c){var l,u,f,h,p,d,v,y,m,w,g,x,b,M=(f=[i.b,i.n,i.s,i.a,i.o,i.f,i.z],h=" ",p=":",d=[i.z,i.s],v=i.b,y=i.n,m=[i.z,v],w=[i.z,i.f],x={className:["os-theme-dark",d],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:[!0,v],clipAlways:[!0,v],normalizeRTL:[!0,v],paddingAbsolute:[!1,v],autoUpdate:[null,m],autoUpdateInterval:[33,y],nativeScrollbarsOverlaid:{showNativeScrollbars:[!1,v],initialize:[!0,v]},overflowBehavior:{x:["scroll",g="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll",g]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,y],dragScrolling:[!0,v],clickScrolling:[!1,v],touchSupport:[!0,v]},textarea:{dynWidth:[!1,v],dynHeight:[!1,v]},callbacks:{onInitialized:[null,w],onInitializationWithdrawn:[null,w],onDestroyed:[null,w],onScrollStart:[null,w],onScroll:[null,w],onScrollStop:[null,w],onOverflowChanged:[null,w],onOverflowAmountChanged:[null,w],onDirectionChanged:[null,w],onContentSizeChanged:[null,w],onHostSizeChanged:[null,w],onUpdated:[null,w]}},{d:(b=function(t){var e=function(n){var r,o,a;for(r in n)n.hasOwnProperty(r)&&(o=n[r],(a=c.type(o))===i.a?n[r]=o[t?1:0]:a===i.o&&(n[r]=e(o)));return n};return e(c.extend(!0,{},x))})(),t:b(!0),v:function(t,e,n,r,o){var a={},s=c.extend(!0,{},t),l=function(t,e,o,a){for(var s in e)if(e.hasOwnProperty(s)&&t.hasOwnProperty(s)){var u,d,v,y,m,w,g,x,b=!1,M=e[s],O=c.type(M),C=c.type(M)!==i.a?[M]:M,S=t[s],A=c.type(S),z=a?a+".":"",T='The option "'+z+s+"\" wasn't set, because",E=[],H=[];if(O===i.o)o[s]={},l(S,M,o[s],z+s),c.isEmptyObject(S)&&delete t[s];else{for(w=0;w<C.length;w++)if(m=C[w],v=(O=c.type(m))===i.s&&-1===c.inArray(m,f))for(E.push(i.s),u=m.split(h),H=H.concat(u),g=0;g<u.length;g++){for(y=(d=u[g].split(p))[0],x=0;x<d.length;x++)if(S===d[x]){b=!0;break}if(b)break}else if(E.push(m),A===m){b=!0;break}b?o[s]=v&&r?y:S:n&&console.warn(T+" it doesn't accept the type [ "+A.toUpperCase()+' ] with the value of "'+S+'".\r\nAccepted types are: [ '+E.join(", ").toUpperCase()+" ]."+(H.length>0?"\r\nValid strings are: [ "+H.join(", ").split(p).join(", ")+" ].":"")),delete t[s]}}};return l(s,e,a),o?c.extend(!0,a,s):!c.isEmptyObject(s)&&n&&console.warn("The following options are discarded due to invalidity:\r\n"+JSON.stringify(s,null,2)),a}});function O(){l||(l=new C(M.d)),u||(u=new S(l))}function C(r){var i=this,l="overflow",u="hidden",f="scroll",h=c("body"),p=c('<div id="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>'),d=p[0],v=c(p.children("div").first()),y=d[o.oH];h.append(p),0===y&&p.hide().show();var m,w,g,x,b,M,O,C,S,A=E(d),z={x:0===A.x,y:0===A.y};function T(t){var r=!1,i="Webkit Moz ms O".split(" "),o=e.createElement("div"),a=null,s=0;if(t=t.toLowerCase(),o.style[t]!==n&&(r=!0),!r)for(a=t.charAt(0).toUpperCase()+t.substr(1);s<i.length;s++)if(o.style[i[s]+a]!==n){r=!0;break}return r}function E(t){return{x:t[o.oH]-t[o.cH],y:t[o.oW]-t[o.cW]}}c.extend(i,{defaultOptions:r,autoUpdateLoop:!1,autoUpdateRecommended:!a.mO(),nativeScrollbarSize:A,nativeScrollbarIsOverlaid:z,nativeScrollbarStyling:(p.addClass("os-viewport-native-scrollbars-invisible"),p.css(l,u).hide().css(l,f).show(),d[o.oH]-d[o.cH]==0&&d[o.oW]-d[o.cW]==0),overlayScrollbarDummySize:{x:30,y:30},msie:(m=t.navigator.userAgent,w="indexOf",g="substring",x=m[w]("MSIE "),b=m[w]("Trident/"),M=m[w]("Edge/"),O=m[w]("rv:"),C=!1,S=t.parseInt,x>0?C=S(m[g](x+5,m[w](".",x)),10):b>0?C=S(m[g](O+3,m[w](".",O)),10):M>0&&(C=S(m[g](M+5,m[w](".",M)),10)),C),cssCalc:function(){var t,n,r=e.createElement("div"),i=["calc","-webkit-calc","-moz-calc","-o-calc"];for(t=0;t<i.length;++t)if(n=i[t],r.style.cssText="width:"+n+"(1px);",r.style.length)return n;return null}(),restrictedMeasuring:function(){p.css(l,u);var t={w:d[o.sW],h:d[o.sH]};p.css(l,"visible");var e={w:d[o.sW],h:d[o.sH]};return t.w-e.w!=0||t.h-e.h!=0}(),rtlScrollBehavior:function(){p.css({"overflow-y":u,"overflow-x":f,direction:"rtl"}).scrollLeft(0);var t=p.offset(),e=v.offset();p.scrollLeft(999);var n=v.offset();return{i:t.left===e.left,n:e.left-n.left==0}}(),supportTransform:T("transform"),supportTransition:T("transition"),supportPassiveEvents:function(){var e=!1;try{t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}return e}(),supportResizeObserver:!!a.rO(),supportMutationObserver:!!a.mO()}),p.removeAttr(o.s).remove(),function(){if(!z.x||!z.y){var e=a.wW(),n=a.wH(),r=l();c(t).on("resize",function(){if(s.all().length>0){var t=a.wW(),u=a.wH(),f=t-e,d=u-n;if(0===f&&0===d)return;var v=Math.round(t/(e/100)),y=Math.round(u/(n/100)),m=Math.abs(f),w=Math.abs(d),g=Math.abs(v),x=Math.abs(y),b=l(),M=m>2&&w>2,O=!o(g,x);!(M&&O&&(b!==r&&r>0))||(h.append(p),i.nativeScrollbarSize=E(p[0]),p.remove(),c.each(s.all(),function(){s.has(this)&&s.get(this).update("zoom")})),e=t,n=u,r=b}})}function o(t,e){var n=Math.abs(t),r=Math.abs(e);return!(n===r||n+1===r||n-1===r)}function l(){var e=t.screen.deviceXDPI||0,n=t.screen.logicalXDPI||1;return t.devicePixelRatio||e/n}}()}function S(t){var e,r=this,i="autoUpdate",o=i+"Interval",s=[],l=[],u=!1,f=33,h=f,p=a.now(),d=function(){if(s.length>0&&u){e=a.rAF()(function(){d()});var t=a.now(),r=t-p;if(r>h){p=t-r%h;for(var c=f,v=0;v<s.length;v++){var y=s[v];if(y!==n){var m=y.options(),w=m[i],g=Math.max(1,m[o]),x=a.now();(!0===w||null===w)&&x-l[v]>g&&(y.update("auto"),l[v]=new Date(x+=g)),c=Math.max(1,Math.min(c,g))}}h=c}}else h=f};r.add=function(e){-1===c.inArray(e,s)&&(s.push(e),l.push(a.now()),s.length>0&&!u&&(u=!0,t.autoUpdateLoop=u,d()))},r.remove=function(r){var i=c.inArray(r,s);i>-1&&(l.splice(i,1),s.splice(i,1),0===s.length&&u&&(u=!1,t.autoUpdateLoop=u,e!==n&&(a.cAF()(e),e=-1)))}}function A(e,l,u,f){if(ni(e)){if(s.has(e)){var h=s.get(e);return h.options(l),h}var p,d,v,y,m,w,g,x,b,O,C,S,A,z,T,E,H,k,I,W,L,P,N,R,j,D,F,B,q,_,U,Q,V,X,Y,K,$,G,J,Z,tt,et,nt,rt,it,ot,at,st,ct,lt,ut,ft,ht,pt,dt,vt,yt,mt,wt,gt,xt,bt,Mt,Ot,Ct,St,At,zt,Tt,Et,Ht,kt,It,Wt,Lt,Pt,Nt,Rt,jt,Dt,Ft,Bt,qt,_t,Ut,Qt,Vt,Xt,Yt,Kt,$t,Gt,Jt,Zt,te,ee,ne,re,ie,oe,ae,se,ce,le,ue,fe,he,pe,de,ve,ye,me,we,ge,xe,be,Me,Oe,Ce=new t[r],Se={},Ae={},ze={},Te={},Ee={},He=175,ke="-hidden",Ie="margin-",We="padding-",Le="border-",Pe="top",Ne="right",Re="bottom",je="left",De="min-",Fe="max-",Be="width",qe="height",_e="float",Ue="",Qe="auto",Ve="scroll",Xe="100%",Ye="x",Ke="y",$e=".",Ge=" ",Je="scrollbar",Ze="-horizontal",tn="-vertical",en=Ve+"Left",nn=Ve+"Top",rn="mousedown touchstart",on="mouseup touchend",an="mousemove touchmove",sn="mouseenter",cn="mouseleave",ln="keydown",un="keyup",fn="selectstart",hn="transitionend webkitTransitionEnd oTransitionEnd",pn="__overlayScrollbarsRO__",dn="os-",vn=dn+"html",yn=dn+"host",mn=yn+"-textarea",wn=yn+"-"+Je+Ze+ke,gn=yn+"-"+Je+tn+ke,xn=yn+"-transition",bn=yn+"-rtl",Mn=yn+"-resize-disabled",On=yn+"-scrolling",Cn=yn+"-overflow",Sn=Cn+"-x",An=Cn+"-y",zn=dn+"textarea",Tn=zn+"-cover",En=dn+"padding",Hn=dn+"viewport",kn=Hn+"-native-scrollbars-invisible",In=Hn+"-native-scrollbars-overlaid",Wn=dn+"content",Ln=dn+"content-arrange",Pn=dn+"content-glue",Nn=dn+"size-auto-observer",Rn=dn+"resize-observer",jn=dn+"resize-observer-item",Dn=jn+"-final",Fn=dn+"text-inherit",Bn=dn+Je,qn=Bn+"-track",_n=qn+"-off",Un=Bn+"-handle",Qn=Un+"-off",Vn=Bn+"-unusable",Xn=Bn+"-"+Qe+ke,Yn=Bn+"-corner",Kn=Yn+"-resize",$n=Kn+"-both",Gn=Kn+Ze,Jn=Kn+tn,Zn=Bn+Ze,tr=Bn+tn,er=dn+"dragging",nr=dn+"theme-none",rr={},ir=33,or=[],ar=11,sr=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],cr=[],lr={},ur={};if(Ce.sleep=function(){F=!0},Ce.update=function(t){var e,n,r="zoom"===t,i="img",o="load";t===Qe?(e=Br(),n=Fr(),(e||n)&&Ur(!1,n)):r?Ur(!0,!0):(t=F||t,F=!1,Ur(!1,!1,t)),E||r||ot.find(i).each(function(t,e){-1===c.inArray(e,or)&&(e=c(e)).off(o,Nr).on(o,Nr)})},Ce.options=function(t,e){if(c.isEmptyObject(t)||!c.isPlainObject(t)){if(yi(t)===i.s){if(arguments.length>=2){var n={};return hi(n,t,e),Qr(n),void Ur()}return fi(_,t)}return _}Qr(t);var r=F||!1;F=!1,Ur(),F=r},Ce.destroy=function(){T=!0,f.remove(Ce),wr(),dr(tt),I&&dr(Z),xi(tt),et!==n&&xi(et),it!==n&&xi(it),I&&xi(Z),C?(hr(J,an,Mr),hr(J,sn,xr),hr(J,cn,br)):J.off(an,Mr).off(sn,xr).off(cn,br),xi(ct),xi(ft),st&&xi(st),xe||Lr(),ot.contents().unwrap().unwrap().unwrap(),H&&gi(K,vn),E?(G.off(Ve,kr).off("drop",Tr).off("focus",Er).off("focusout",Hr),m>9||!y?G.off("input",Sr):G.off(ln,Ar).off(un,zr),xi(at),gi(G,zn+Ge+Fn).unwrap().removeAttr(o.s),xi(J)):(gi(G,yn),gi(J,[yn,Mn,bn,wn,gn,xn,On,Cn,Sn,An,nr,Zt].join(Ge)));for(var t=0;t<or.length;t++)c(or[t]).off("load",Nr);for(var r in or=n,s.rem(e),ti(U.callbacks.onDestroyed),Ce)delete Ce[r];Ce=n},Ce.scroll=function(e,r,a,s){if(0===arguments.length||e===n){var l=Ae,u=ze,f=Jt&&D&&v.i,h=Jt&&D&&v.n,p=l.cs,d=l.csr,y=l.ms;return p=f?y-p:p,{x:{position:p*=h?-1:1,ratio:d=f?1-d:d,max:y*=h?-1:1,handleOffset:l.ho,handleLength:l.hl,handleLengthRatio:l.hlr,trackLength:l.tl,isRTL:D,isRTLNormalized:Jt},y:{position:u.cs,ratio:u.csr,max:u.ms,handleOffset:u.ho,handleLength:u.hl,handleLengthRatio:u.hlr,trackLength:u.tl}}}var m,w=[Ye,je,"l"],g=[Ke,Pe,"t"],x=["+=","-=","*=","/="],b={},M=yi(r)===i.o,C="end",S="begin",A="center",z="nearest",T={axis:"xy",block:[S,S],margin:[0,0,0,0]},E=[Ye,Ke,"xy","yx"],H=[S,C,A,z],k=e.hasOwnProperty("el"),I=k?e.el:e,W=I instanceof c||I instanceof t.jQuery,L=!W&&ni(I),P=function(t,e){for(m=0;m<e.length;m++)if(t===e[m])return!0;return!1},N=function(t){var e={};if(yi(t)===i.a&&t.length>0)e.x=t[0],e.y=t[1];else if(yi(t)===i.s||yi(t)===i.n)e.x=t,e.y=t;else if(yi(t)===i.o){for(var n in t=mi({},t),m=0,t)t.hasOwnProperty(n)&&(m>2&&delete t[n],m++);var r=function(e){var n=e?w:g;for(m=0;m<n.length;m++)if(n[m]in t)return t[n[m]]};e.x=r(!0),e.y=r(!1)}return e},R=function(e,r){var o,a,s,c=e?Ae:ze,l=c.cs,u=c.ms,f=" * ",h=D&&e,p=h&&v.n&&!Jt,d="replace";if(yi(r)===i.s){if(r.length>2){var y=r.substr(0,2);for(m=0;m<x.length;m++)if(y===x[m]){o=x[m];break}}r=(r=(r=(r=(r=(r=(r=(r=(r=o!==n?r.substr(2):r)[d](/min/g,0))[d](/</g,0))[d](/max/g,(p?"-":Ue)+Xe))[d](/>/g,(p?"-":Ue)+Xe))[d](/px/g,Ue))[d](/%/g,f+u*(h&&v.n?-1:1)/100))[d](/vw/g,f+Te.w))[d](/vh/g,f+Te.h),a=ii(t.parseFloat(t.eval(r)).toFixed())}else yi(r)===i.n&&(a=r);if(!isNaN(a)&&a!==n&&yi(a)===i.n){var w=Jt&&h,g=l*(w&&v.n?-1:1),b=w&&v.i,M=w&&v.n;switch(g=b?u-g:g,o){case"+=":s=g+a;break;case"-=":s=g-a;break;case"*=":s=g*a;break;case"/=":s=g/a;break;default:s=a}b&&(s=u-s),M&&(s*=-1),h&&v.n?(s=Math.max(u,s),s=Math.min(0,s)):(s=Math.min(u,s),s=Math.max(0,s)),s===l&&(s=n)}return s};if(W||L){var j=W?I:c(I);if(0===j.length)return;if(k){var F,B,q,_=e.axis,U=e.block,Q=yi(U),V=e.margin,X=yi(V);if(Q===i.s)U=[U,U];else if(Q===i.a)if((B=U.length)>2||B<1)U=n;else{for(F=!0,1===B&&(U[1]=S),m=0;m<B;m++){var Y=U[m];if(yi(Y)!==i.s||!P(Y,H)){F=!1;break}}F||(U=n)}else U=n;if(X===i.n)V=[V,V,V,V];else if(X===i.b)V=V?[ii(j.css(Ie+Pe)),ii(j.css(Ie+Ne)),ii(j.css(Ie+Re)),ii(j.css(Ie+je))]:[0,0,0,0];else if(X===i.a)if(2!==(q=V.length)&&4!==q)V=n;else{for(F=!0,m=0;m<q;m++)if(yi(V[m])!==i.n){F=!1;break}F?2===q&&(V=[V[0],V[1],V[0],V[1]]):V=n}else V=n;T.axis=P(_,E)?_:T.axis,T.block=U||T.block,T.margin=V||T.margin}var K=j.offset(),$=nt.offset(),G={l:Ae.cs,t:ze.cs},J=T.axis,Z=T.block,tt=T.margin,et={x:Z[0]===(D?S:C),y:Z[1]===C},it={x:Z[0]===A,y:Z[1]===A},ot={x:Z[0]===z,y:Z[1]===z},at={},st=et.x||et.y||it.x||it.y||ot.x||ot.y;K.top-=tt[0],K.left-=tt[3];var ct={x:Math.round(K.left-$.left+G.l),y:Math.round(K.top-$.top+G.t)};if(D&&(v.n||v.i||(ct.x=Math.round($.left-K.left+G.l)),v.n&&Jt&&(ct.x*=-1),v.i&&Jt&&(ct.x=Math.round($.left-K.left+(Ae.ms-G.l)))),st){var lt,ut={},ft={w:(ut=O?{w:(lt=j[0].getBoundingClientRect())[Be],h:lt[qe]}:{w:j[0][o.oW],h:j[0][o.oH]}).w+tt[3]+tt[1],h:ut.h+tt[0]+tt[2]},ht=function(t){var e=Zr(t),n=it[e.xy]?2:1,r=K[e.lt]+ft[e._wh]/2,i=$[e.lt]+Te[e._wh]/2;ot[e.xy]&&(at[e.xy]=ft[e._wh]<=Te[e._wh]&&K[e.lt]>=$[e.lt]&&K[e.lt]+ft[e._wh]<=$[e.lt]+Te[e._wh],et[e.xy]=ft[e._wh]<Te[e._wh]?r>i:r<i),(et[e.xy]||it[e.xy])&&(ct[e.xy]-=(Te[e._wh]/n-ft[e._wh]/n)*(t&&D&&Jt?-1:1))};ht(!0),ht(!1)}(J===Ye||at.y)&&delete ct.y,(J===Ke||at.x)&&delete ct.x,e=ct}b.x=R(!0,N(e).x),b.y=R(!1,N(e).y);var pt=b.x!==n,dt=b.y!==n;if(r>0||M){var vt={};if(pt&&(vt[en]=b.x),dt&&(vt[nn]=b.y),M)rt.animate(vt,r);else{var yt={duration:r,complete:s};if(yi(a)===i.a){var mt={};mt[en]=a[0],mt[nn]=a[1],yt.specialEasing=mt}else yt.easing=a;rt.animate(vt,yt)}}else pt&&rt[en](b.x),dt&&rt[nn](b.y)},Ce.scrollStop=function(t,e,n){rt.stop(t,e,n)},Ce.getElements=function(){return{target:G[0],host:J[0],padding:nt[0],viewport:rt[0],content:ot[0],scrollbarHorizontal:{scrollbar:ct[0],track:lt[0],handle:ut[0]},scrollbarVertical:{scrollbar:ft[0],track:ht[0],handle:pt[0]},scrollbarCorner:st}},Ce.getState=function(t){var e=function(t){if(!c.isPlainObject(t))return t;var e=mi(!0,{},t),n=function(t,n){e.hasOwnProperty(t)&&(e[n]=e[t],delete e[t])};return n("w",Be),n("h",qe),delete e.c,e},n={sleeping:e(F)||!1,autoUpdate:e(!ae),widthAuto:e(gt),heightAuto:e(xt),padding:e(Ot),overflowAmount:e(It),hideOverflow:e(wt),hasOverflow:e(mt),contentScrollSize:e(vt),viewportSize:e(Te),hostSize:e(dt)};return yi(t)===i.s?fi(n,t):n},bi(e,l))return s.add(e,Ce),Ce;Ce=n}function fr(t,e,n){for(var r=e.split(Ge),i=0;i<r.length;i++)t[0].addEventListener(r[i],n,{passive:!0})}function hr(t,e,n){for(var r=e.split(Ge),i=0;i<r.length;i++)t[0].removeEventListener(r[i],n)}function pr(t,e){var n=3333333,r=a.rO(),s="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",l="childNodes",f=function(){t[nn](n)[en](D?v.n?-n:v.i?0:n:n),e()};if(S){var h=t.append(ui(Rn+" observed")).contents()[0];(h[pn]=new r(f)).observe(h)}else if(m>9||!y){t.prepend(ui(Rn,ui({className:jn,dir:"ltr"},ui(jn,ui(Dn))+ui(jn,ui({className:Dn,style:"width: 200%; height: 200%"})))));var p,d,w,g,x=t[0][l][0][l][0],b=c(x[l][1]),M=c(x[l][0]),O=c(M[0][l][0]),C=x[o.oW],A=x[o.oH],z=2,T=u.nativeScrollbarSize,E=function(){M[en](n)[nn](n),b[en](n)[nn](n)},H=function(){d=0,p&&(C=w,A=g,f())},k=function(t){return w=x[o.oW],g=x[o.oH],p=w!=C||g!=A,t&&p&&!d?(a.cAF()(d),d=a.rAF()(H)):t||H(),E(),t&&(a.prvD(t),a.stpP(t)),!1},I={},W={};W[Pe]=-(T.y+1)*z,W[Ne]=T.x*-z,W[Re]=T.y*-z,W[je]=-(T.x+1)*z,c(x).css(W),M.on(Ve,k),b.on(Ve,k),t.on(s,function(){k(!1)}),I[Be]=n,I[qe]=n,O.css(I),E()}else{var L=Y[0],P=L.attachEvent,N=!1!==m;if(P)t.prepend(ui(Rn)),li(t,$e+Rn)[0].attachEvent("onresize",f);else{var R=L.createElement(i.o);R.setAttribute("tabindex","-1"),R.setAttribute(o.c,Rn),R.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",f),t.document.documentElement.style.display="none"},R.type="text/html",N&&t.prepend(R),R.data="about:blank",N||t.prepend(R),t.on(s,f)}}if(t[0]===tt[0]){var j=function(){var e=J.css("direction"),r={},i=0,o=!1;return e!==zt&&("ltr"===e?(r[je]=0,r[Ne]=Qe,i=n):(r[je]=Qe,r[Ne]=0,i=v.n?-n:v.i?0:n),tt.children().first().css(r),t[en](i)[nn](n),zt=e,o=!0),o};j(),t.on(Ve,function(t){return j()&&Ur(),a.prvD(t),a.stpP(t),!1})}}function dr(t){if(S){var e=t.contents()[0];e[pn].disconnect(),delete e[pn]}else xi(t.children($e+Rn).first())}function vr(t){if(t!==n&&S){var e=t.contents()[0];e[pn].unobserve(e)}}function yr(t){if(t!==n&&S){var e=t.contents()[0];e[pn].observe(e)}}function mr(){se&&!ae&&(ie.observe(J[0],{attributes:!0,attributeOldValue:!0,attributeFilter:[o.i,o.c,o.s]}),oe.observe(E?G[0]:ot[0],{attributes:!0,attributeOldValue:!0,subtree:!E,childList:!E,characterData:!E,attributeFilter:E?["wrap","cols","rows"]:[o.i,o.c,o.s]}),ae=!0)}function wr(){se&&ae&&(ie.disconnect(),oe.disconnect(),ae=!1)}function gr(){if(!F){var t=tt[0],e={w:t[o.sW],h:t[o.sH]};if(z){var n=di(e,Vt);Vt=e,n&&Ur(!0,!1)}else Vt=e}}function xr(){ye&&Kr(!0)}function br(){ye&&!$.hasClass(er)&&Kr(!1)}function Mr(){ve&&(Kr(!0),clearTimeout(fe),fe=setTimeout(function(){ve&&Kr(!1)},100))}function Or(t){var e=U.callbacks;F||(B!==n?clearTimeout(B):((de||ve)&&Kr(!0),si()||J.addClass(On),ti(e.onScrollStart,t)),Gr(!0,rt[en]()),Gr(!1,rt[nn]()),ti(e.onScroll,t),B=setTimeout(function(){Cr(),ti(e.onScrollStop,t)},He))}function Cr(){clearTimeout(B),B=n,(de||ve)&&Kr(!1),si()||J.removeClass(On)}function Sr(){_r(),Ce.update(Qe)}function Ar(t){var e=t.keyCode;if(!ai(e)){if(0===cr.length){var n=function(){_r(),Ce.update(Qe)};n(),ce=setInterval(n,1e3/60)}-1===c.inArray(e,cr)&&cr.push(e)}}function zr(t){var e=t.keyCode;if(!ai(e)){var n=c.inArray(e,cr);n>-1&&cr.splice(n,1),0===cr.length&&(_r(),Ce.update(Qe),clearInterval(ce))}}function Tr(){setTimeout(function(){_r(),Ce.update(Qe)},50)}function Er(){le=!0}function Hr(){le=!1,clearInterval(ce),cr=[],_r(),Ce.update(Qe)}function kr(t){return G[en](v.i&&Jt?9999999:0),G[nn](0),a.prvD(t),a.stpP(t),!1}function Ir(t){if(!F){var e=(t.originalEvent||t).touches!==n;(1===a.mBtn(t)||e)&&(ae&&(ge=!0,wr()),lr=a.page(t),ur.w=J[0][o.oW]-(k?0:W),ur.h=J[0][o.oH]-(k?0:L),Y.on(fn,Pr).on(an,Wr).on(on,Lr),$.addClass(er),st.setCapture&&st.setCapture(),a.prvD(t),a.stpP(t))}}function Wr(t){var e=a.page(t),n={};(Me||be)&&(n[Be]=ur.w+e.x-lr.x),(Oe||be)&&(n[qe]=ur.h+e.y-lr.y),J.css(n),a.stpP(t)}function Lr(t){var e=t!==n;Y.off(fn,Pr).off(an,Wr).off(on,Lr),$.removeClass(er),st.releaseCapture&&st.releaseCapture(),e&&(ge&&mr(),Ce.update(Qe)),ge=!1}function Pr(t){return a.prvD(t),!1}function Nr(){Ur()}function Rr(){var t={};return H&&it&&(t.w=ii(it.css(De+Be)),t.h=ii(it.css(De+qe)),t.c=di(t,re),t.f=!0),re=t,t.c}function jr(t,e){var r=e!==n&&null!==e?e.split(Ge):Ue,i=t!==n&&null!==t?t.split(Ge):Ue;if(r===Ue&&i===Ue)return!1;var o,a,s,l,u=ri(i,r),f=!1,h=te!==n&&null!==te?te.split(Ge):[Ue],p=Zt!==n&&null!==Zt?Zt.split(Ge):[Ue],d=c.inArray(nr,u),v=u[o];for(d>-1&&u.splice(d,1),o=0;o<u.length;o++)if(0!==(v=u[o]).indexOf(yn)){for(s=!0,l=!0,a=0;a<h.length;a++)if(v===h[a]){s=!1;break}for(a=0;a<p.length;a++)if(v===p[a]){l=!1;break}if(s&&l){f=!0;break}}return f}function Dr(t){var e=t.attributeName,n=t.target,r=t.type,a="closest";if(n===ot[0])return null===e;if("attributes"===r&&(e===o.c||e===o.s)&&!E){if(typeof n[a]!==i.f)return!0;if(null!==n[a]($e+Rn)||null!==n[a]($e+Bn)||null!==n[a]($e+Yn))return!1}return!0}function Fr(){if(F)return!1;var t,e=E&&gt&&!Nt?G.val().length:0,n=!ae&&gt&&!E,r={};n&&(t=ot.css(_e),r[_e]=D?Ne:je,r[Be]=Qe,ot.css(r));var i={w:ci()[o.sW]+e,h:ci()[o.sH]+e};n&&(r[_e]=t,r[Be]=Xe,ot.css(r));var a=Rr(),s=di(i,Qt)||a;return Qt=i,s}function Br(){if(F||ae)return!1;var t=J.attr(o.i)||Ue,e=pi(t,jt),n=J.attr(o.c)||Ue,r=pi(n,Dt),i=J.attr(o.s)||Ue,a=pi(i,Ft),s=J.is(":visible")||Ue,c=pi(s,Bt),l=E&&G.attr("rows")||Ue,u=pi(l,qt),f=E&&G.attr("cols")||Ue,h=pi(f,_t),p=E&&G.attr("wrap")||Ue,d=pi(p,Ut);return jt=t,r&&(r=jr(Dt,n)),Dt=n,Ft=i,Bt=s,qt=l,_t=f,Ut=p,e||r||a||c||u||h||d}function qr(t){if(!z)return!0;var e=[Be,De+Be,Fe+Be,Ie+je,Ie+Ne,je,Ne,"font-weight","word-spacing"],n=[We+je,We+Ne,Le+je+Be,Le+Ne+Be],r=[qe,De+qe,Fe+qe,Ie+Pe,Ie+Re,Pe,Re,"line-height"],i=[We+Pe,We+Re,Le+Pe+Be,Le+Re+Be],o="s",a="v-s",s=kt.x===o||kt.x===a,c=!1,l=function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1};return(kt.y===o||kt.y===a)&&((c=l(r,t))||k||(c=l(i,t))),s&&!c&&((c=l(e,t))||k||(c=l(n,t))),c}function _r(){if(!F){var t,e,n,r,i=!Nt,a=Te.w-(k||Tt||!gt?0:L+N),s=Te.h-(k||Tt||!xt?0:L+N),c={},l=gt||i,u=G[0];return c[De+Be]=Ue,c[De+qe]=Ue,c[Be]=Qe,G.css(c),t=u[o.oW],e=l?Math.max(t,u[o.sW]-1):1,e+=gt?R+(k?0:i?0:W+P):0,c[Be]=gt?e:Xe,c[qe]=Qe,G.css(c),n=u[o.oH],r=Math.max(n,u[o.sH]-1),c[Be]=e,c[qe]=r,at.css(c),c[De+Be]=a+(!k&&gt?W+P:0),c[De+qe]=s+(!k&&xt?L+N:0),G.css(c),{ow:t,oh:n,dw:e,dh:r}}}function Ur(t,e,r){var i=a.now(),s=ir>0&&z&&i-Q<ir&&!xt&&!gt;if(clearTimeout(V),s&&(rr.h=t,rr.c=e,rr.f=r,V=setTimeout(Ur,ir)),!(s||F||z&&!r&&J.is(":hidden")||"inline"===J.css("display"))){Q=i,t=t||rr.h,e=e||rr.c,r=r||rr.f,rr={},t=t!==n&&t,e=e!==n&&e,r=r!==n&&r,!w||p.x&&p.y?x=mi(!0,{},u.nativeScrollbarSize):(x.x=0,x.y=0),Ee={x:3*(x.x+(p.x?0:3)),y:3*(x.y+(p.y?0:3))},vr(tt),vr(Z);var l={l:rt[en](),t:rt[nn]()},h=U.callbacks,m=U.scrollbars,b=U.textarea,M=h.onUpdated,O=h.onOverflowChanged,S=h.onOverflowAmountChanged,T=h.onDirectionChanged,B=h.onContentSizeChanged,q=h.onHostSizeChanged,_=m.visibility,X=pi(_,Xt,r),Y=m.autoHide,K=pi(Y,Yt,r),$=m.clickScrolling,ct=pi($,Kt,r),lt=m.dragScrolling,ut=pi(lt,$t,r),ft=U.className,ht=pi(ft,Zt,r),pt=U.resize,zt=pi(pt,Gt,r)&&!H,jt=!!E&&"off"!==G.attr("wrap"),Dt=pi(jt,Nt,r),Ft=U.paddingAbsolute,Bt=pi(Ft,Tt,r),qt=U.clipAlways,_t=pi(qt,Et,r),Ut=U.sizeAutoCapable&&!H,Qt=pi(Ut,Pt,r),Vt=U.nativeScrollbarsOverlaid.showNativeScrollbars,ie=pi(Vt,Wt),oe=U.autoUpdate,se=pi(oe,Lt),ce=U.overflowBehavior,ue=di(ce,kt,Ye,Ke,r),fe=b.dynWidth,we=pi(ne,ge),ge=b.dynHeight,Ae=pi(ee,ge);if(pe="n"===Y,de="s"===Y,ve="m"===Y,ye="l"===Y,he=m.autoHideDelay,me=m.touchSupport,te=Zt,xe="n"===pt,be="b"===pt,Me="h"===pt,Oe="v"===pt,Jt=U.normalizeRTL,Vt=Vt&&p.x&&p.y,Xt=_,Yt=Y,Kt=$,$t=lt,Zt=ft,Gt=pt,Nt=jt,Tt=Ft,Et=qt,Pt=Ut,Wt=Vt,Lt=oe,kt=mi(!0,{},ce),ne=fe,ee=ge,ht&&(gi(J,te+Ge+nr),wi(J,ft!==n&&null!==ft&&ft.length>0?ft:nr)),se&&(!0===oe?(wr(),f.add(Ce)):null===oe&&y?(wr(),f.add(Ce)):(f.remove(Ce),mr())),Qt)if(Ut)if(et===n&&(et=c(ui(Pn)),nt.before(et)),I)Z.show();else{Z=c(ui(Nn)),et.before(Z);var ze={w:-1,h:-1};pr(Z,function(){var t={w:Z[0][o.oW],h:Z[0][o.oH]};di(t,ze)&&(z&&xt&&t.h>0||gt&&t.w>0?Ur():(z&&!xt&&0===t.h||!gt&&0===t.w)&&Ur()),ze=t}),I=!0,null!==g&&Z.css(qe,g+"(100% + 1px)")}else I&&Z.hide();r&&(tt.find("*").trigger(Ve),I&&Z.find("*").trigger(Ve));var He,ke=J.css("direction"),$e=pi(ke,At,r),Je=J.css("box-sizing"),Ze=pi(Je,Mt,r),tn={c:r,t:ii(J.css(We+Pe)),r:ii(J.css(We+Ne)),b:ii(J.css(We+Re)),l:ii(J.css(We+je))};try{He=I?Z[0].getBoundingClientRect():null}catch(Fi){return}k="border-box"===Je;var on=(D="rtl"===ke)?je:Ne,ln=D?Ne:je,un=J[0],fn=nt[0],hn=!1,pn=!(!I||"none"===J.css(_e))&&(0===Math.round(He.right-He.left)&&(!!Ft||un[o.cW]-W>0));if(Ut&&!pn){var dn=un[o.oW],vn=et.css(Be);et.css(Be,Qe);var yn=un[o.oW];et.css(Be,vn),(hn=dn!==yn)||(et.css(Be,dn+1),yn=un[o.oW],et.css(Be,vn),hn=dn!==yn)}var mn=(pn||hn)&&Ut,wn=pi(mn,gt,r),gn=!mn&&gt,xn=!!I&&0===Math.round(He.bottom-He.top),zn=pi(xn,xt,r),Tn=!xn&&xt,En="-"+Be,Hn=mn&&k||!k,kn=xn&&k||!k,In={c:r,t:kn?ii(J.css(Le+Pe+En)):0,r:Hn?ii(J.css(Le+Ne+En)):0,b:kn?ii(J.css(Le+Re+En)):0,l:Hn?ii(J.css(Le+je+En)):0},Wn={c:r,t:ii(J.css(Ie+Pe)),r:ii(J.css(Ie+Ne)),b:ii(J.css(Ie+Re)),l:ii(J.css(Ie+je))},Rn={h:String(J.css(Fe+qe)),w:String(J.css(Fe+Be))},jn={},Dn={};if(W=tn.l+tn.r,L=tn.t+tn.b,tn.c=vi(tn,Ot),P=In.l+In.r,N=In.t+In.b,In.c=vi(In,Ct),R=Wn.l+Wn.r,j=Wn.t+Wn.b,Wn.c=vi(Wn,St),Rn.ih=ii(Rn.h),Rn.iw=ii(Rn.w),Rn.ch=Rn.h.indexOf("px")>-1,Rn.cw=Rn.w.indexOf("px")>-1,Rn.c=di(Rn,bt,r),At=ke,Mt=Je,gt=mn,xt=xn,Ot=tn,Ct=In,St=Wn,bt=Rn,$e&&I&&Z.css(_e,ln),tn.c||$e||Bt||wn||zn||Ze||Qt){var Fn={},Bn={};ei(Dn,Ie,[-tn.t,-tn.r,-tn.b,-tn.l]),Ft?(ei(Fn,Ue,[tn.t,tn.r,tn.b,tn.l]),ei(E?Bn:jn,We)):(ei(Fn,Ue),ei(E?Bn:jn,We,[tn.t,tn.r,tn.b,tn.l])),nt.css(Fn),G.css(Bn)}Te={w:fn[o.oW],h:fn[o.oH]};var qn=!!E&&_r();if(xn&&(zn||Bt||Ze||Rn.c||tn.c||In.c)?(Rn.cw&&(jn[Fe+qe]=Rn.ch?Rn.ih-(Ft?L:0)+(k?-N:L):Ue),jn[qe]=Qe):(zn||Bt)&&(jn[Fe+qe]=Ue,jn[qe]=Xe),mn&&(wn||Bt||Ze||Rn.c||tn.c||In.c||$e)?(Rn.cw&&(jn[Fe+Be]=Rn.cw?Rn.iw-(Ft?W:0)+(k?-P:W)+(p.y?d.y:0):Ue),jn[Be]=Qe,Dn[Fe+Be]=Xe):(wn||Bt)&&(jn[Fe+Be]=Ue,jn[Be]=Xe,jn[_e]=Ue,Dn[Fe+Be]=Ue),mn&&(Rn.cw||(jn[Fe+Be]=Ue),Dn[Be]=E&&fe?qn.dw:Qe,jn[Be]=Qe,jn[_e]=ln),xn&&(Rn.ch||(jn[Fe+qe]=Ue),Dn[qe]=E?ge?qn.dh:Qe:ot[0][o.cH]),Ut&&et.css(Dn),ot.css(jn),jn={},Dn={},mt=mt||{x:!1,y:!1},t||e||$e||Ze||Bt||wn||mn||zn||xn||Rn.c||ie||ue||_t||zt||X||we||Ae||Dt||Bt||we||Ae||r){var _n="overflow",Un=_n+"-x",Qn=_n+"-y",Vn="hidden",Xn="visible",Yn=A&&(p.x||p.y||Te.w<Ee.y||Te.h<Ee.x)||xn,Zn={},tr=mt.y&&wt.ys&&!Vt?p.y?rt.css(on):-x.y:0,er=mt.x&&wt.xs&&!Vt?p.x?rt.css(Re):-x.x:0;ei(Zn,Ue),rt.css(Zn),Yn&&ot.css(_n,Vn);var or=ci(),ar=A&&!Yn?rt[0]:or,sr={w:or[o.cW],h:or[o.cH]},cr={w:Math.max(or[o.sW],ar[o.sW]),h:Math.max(or[o.sH],ar[o.sH])},lr={w:E&&qn&&!fe?qn.ow:mn?sr.w:cr.w,h:E&&qn&&!ge?qn.oh:xn?sr.h:cr.h};Zn[Re]=Tn?Ue:er,Zn[on]=gn?Ue:tr,rt.css(Zn);var ur={w:un[o.cW],h:un[o.cH]},dr={w:Math.max(lr.w+(Ft?W:0),ur.w-W)-(fe&&E&&mn?R+(k?0:W+P):0),h:Math.max(lr.h+(Ft?L:0),ur.h-L)};if(dr.c=di(dr,Ht,r),Ht=dr,Ut){(dr.c||xn||mn)&&(Dn[Be]=dr.w,Dn[qe]=dr.h);var gr=Dn[Be]+(k?P:-W),Or=Dn[qe]+(k?N:-W),Cr={};(!mn||!mn&&In.c)&&(Dn[Be]=ur.w-(k?0:W+P)-1-R),(!xn||!xn&&In.c)&&(Dn[qe]=ur.h-(k?0:L+N)-1-j),Rn.cw&&Rn.iw===gr&&(Dn[Be]=gr+(k?0:W)+1),Rn.ch&&Rn.ih===Or&&(Dn[qe]=Or+(k?0:L)+1),mn&&(sr.w<Te.w||E&&!jt)&&0===W&&(E&&(Cr[Be]=ii(at.css(Be))-1),Dn[Be]-=1),xn&&(sr.h<Te.h||E)&&0===L&&(E&&(Cr[qe]=ii(at.css(qe))-1),Dn[qe]-=1),lr.h>0&&(Dn[Be]=Math.max(1,Dn[Be]),Dn[qe]=Math.max(1,Dn[qe])),E&&at.css(Cr),et.css(Dn)}mn&&(jn[Be]=Xe),!mn||k||ae||(jn[_e]="none"),ot.css(jn),jn={};var Sr=or.getBoundingClientRect(),Ar={w:Math.max(or[o.sW],ar[o.sW]),h:Math.max(or[o.sH],ar[o.sH])};if(Yn&&ot.css(_n,Ue),Sr.width){var zr=Sr.width,Tr=Sr.height,Er=.001;Ar.w+=ii(zr+Er)-zr,Ar.h+=ii(Tr+Er)-Tr}Ar.c=e=di(Ar,vt,r),vt=Ar,t=di(ur={w:un[o.cW],h:un[o.cH]},dt),dt=ur,Te={w:fn[o.oW],h:fn[o.oH]};var Hr={x:"v-s"===ce.x,y:"v-s"===ce.y},kr={x:"v-h"===ce.x,y:"v-h"===ce.y},Wr={x:"s"===ce.x,y:"s"===ce.y},Lr={x:Math.max(0,Math.round(100*(Ar.w-ur.w+(Ft?W:0)))/100),y:Math.max(0,Math.round(100*(Ar.h-ur.h+(Ft?L:0)))/100)},Pr=E&&(0===Te.w||0===Te.h);Pr&&(Lr.x=0,Lr.y=0);var Nr={x:Lr.x>0,y:Lr.y>0},jr={x:Nr.x,y:Nr.y};(Hr.x||kr.x)&&(jr.x=Nr.y&&!Hr.y&&!kr.y),(Hr.y||kr.y)&&(jr.y=Nr.x&&!Hr.x&&!kr.x),jr.xs=!!jr.x&&(Wr.x||Hr.x),jr.ys=!!jr.y&&(Wr.y||Hr.y);var Dr={x:Nr.x&&jr.xs,y:Nr.y&&jr.ys},Fr=It;if(Lr.c=di(Lr,It,Ye,Ke,r),It=Lr,Nr.c=di(Nr,mt,Ye,Ke,r),mt=Nr,jr.c=di(jr,wt,Ye,Ke,r),wt=jr,p.x||p.y){var Br=r,qr={};if((Nr.x||Nr.y)&&(qr.w=p.y&&Nr.y?Ar.w+d.y:Ue,qr.h=p.x&&Nr.x?Ar.h+d.x:Ue,Br=pi(qr,yt,r),yt=qr),Nr.c||jr.c||Ar.c||$e||wn||zn||mn||xn||ie){var Qr="px solid transparent";jn[Le+ln]=Ue,jn[Ie+ln]=Ue,p.x&&Nr.x&&jr.xs?(xn&&(jn[Ie+Re]=Vt?Ue:d.x),jn[Le+Re]=xn||Vt?Ue:d.x+Qr):(qr.h=Ue,Br=!0,jn[Le+Re]=Ue,jn[Ie+Re]=Ue),p.y&&Nr.y&&jr.ys?(mn&&(jn[Ie+on]=Vt?Ue:d.y),jn[Le+on]=Vt?Ue:d.y+Qr):(qr.w=Ue,Br=!0,jn[Le+on]=Ue,jn[Ie+on]=Ue)}if(Vt&&(qr.w=Ue,qr.h=Ue,Br=!0),Br){var Vr={};Vr[Be]=jr.y?qr.w:Ue,Vr[qe]=jr.x?qr.h:Ue,it===n&&(it=c(ui(Ln)),rt.prepend(it)),it.css(Vr)}ot.css(jn)}var Xr={};Fn={};if(t||Nr.c||jr.c||Ar.c||ue||Ze||ie||$e||_t||zn){Xr[ln]=Ue;var Zr=function(){Xr[Re]=Ue,Se.h=0},ni=function(){Xr[on]=Ue,Se.w=0};if(Nr.x&&jr.xs?(Xr[Un]=Ve,Vt?Zr():(Xr[Re]=-(p.x?d.x:x.x),Se.h=p.x?d.y:0)):(Xr[Un]=Ue,Zr()),Nr.y&&jr.ys?(Xr[Qn]=Ve,Vt?ni():(Xr[on]=-(p.y?d.y:x.y),Se.w=p.y?d.x:0)):(Xr[Qn]=Ue,ni()),(Te.h<Ee.x||Te.w<Ee.y)&&(Nr.x&&jr.x&&!p.x||Nr.y&&jr.y&&!p.y)?(Xr[We+Pe]=Ee.x,Xr[Ie+Pe]=-Ee.x,Xr[We+ln]=Ee.y,Xr[Ie+ln]=-Ee.y):(Xr[We+Pe]=Ue,Xr[Ie+Pe]=Ue,Xr[We+ln]=Ue,Xr[Ie+ln]=Ue),Xr[We+on]=Ue,Xr[Ie+on]=Ue,Nr.x&&jr.x||Nr.y&&jr.y||Pr?E&&Pr&&(Fn[Un]=Vn,Fn[Qn]=Vn):(!qt||kr.x||Hr.x||kr.y||Hr.y)&&(E&&(Fn[Un]=Ue,Fn[Qn]=Ue),Xr[Un]=Xn,Xr[Qn]=Xn),nt.css(Fn),rt.css(Xr),Xr={},(Nr.c||Ze||wn||zn)&&(!p.x||!p.y)){var ri=ot[0],ai=ri.style;ai.webkitTransform="scale(1)",ai.display="run-in";ri[o.oH];ai.display=Ue,ai.webkitTransform=Ue}if(ie&&Vt){J.hide();un[o.oH];J.show()}}if(jn={},$e||wn||zn)if(D&&mn){var si=ot.css(_e),li=Math.round(ot.css(_e,Ue).css(je,Ue).position().left);ot.css(_e,si),li!==Math.round(ot.position().left)&&(jn[je]=li)}else jn[je]=Ue;ot.css(jn);var fi="v"===_,hi="h"===_,yi="a"===_,xi=a.bind(Yr,0,!0,!0,Dr.x),bi=a.bind(Yr,0,!1,!0,Dr.y),Mi=a.bind(Yr,0,!0,!1,Dr.x),Oi=a.bind(Yr,0,!1,!1,Dr.y);if($e&&(D?wi(J,bn):gi(J,bn)),H&&wi(J,Mn),zt){var Ci=function(){st.on(rn,Ir)},Si=function(){st.off(rn,Ir)};xe?(wi(J,Mn),gi(st,[Kn,$n,Gn,Jn].join(Ge)),Si()):(gi(J,Mn),wi(st,Kn),be?wi(st,$n):Me?wi(st,Gn):Oe&&wi(st,Jn),Si(),Ci())}if((X||ue||jr.c||Nr.c||ie)&&(Vt?ie&&(gi(J,On),Vt&&(Mi(),Oi())):yi?(Dr.x?xi():Mi(),Dr.y?bi():Oi()):fi?(xi(),bi()):hi&&(Mi(),Oi())),K||ie){var Ai=function(t){C?t?fr(J,an,Mr):(fr(J,sn,xr),fr(J,cn,br)):t?J.on(an,Mr):J.on(sn,xr).on(cn,br)},zi=function(){C?(hr(J,an,Mr),hr(J,sn,xr),hr(J,cn,br)):J.off(an,Mr).off(sn,xr).off(cn,br)};ye||ve?(zi(),Ai(ve)):zi(),pe?Kr(!0):Kr(!1,!0)}if((t||Lr.c||zn||wn||zt||Ze||Bt||ie||$e)&&($r(!0),Gr(!0,l.l),$r(!1),Gr(!1,l.t)),ct&&Jr(!0,$),ut&&Jr(!1,lt),jr.x||jr.y?wi(J,Cn):gi(J,Cn),jr.x?wi(J,Sn):gi(J,Sn),jr.y?wi(J,An):gi(J,An),E&&e){var Ti=oi();if(Ti!==n){var Ei=Rt===n||Ti.rows!==Rt.rows,Hi=Ti.wRow,ki=Ti.cursorRow,Ii=Ti.cursorCol,Wi=Ti.rows,Li=Ti.cols,Pi=Ti.pos,Ni=Ti.max===Pi&&le,Ri={x:jt||Ii!==Li||ki!==Hi?-1:It.x,y:(jt?Ni||Ei&&Fr!==n&&l.t===Fr.y:(Ni||Ei)&&ki===Wi)?It.y:-1},ji=Ri.x>-1,Di=Ri.y>-1;(ji||Di)&&(Di&&rt[nn](Ri.y),ji&&(D&&Jt&&v.i?rt[en](0):rt[en](Ri.x)))}Rt=Ti}else E||(D&&v.i&&p.y&&Nr.x&&Jt&&(l.l+=Se.w||0),rt[en](l.l),rt[nn](l.t));$e&&ti(T,{isRTL:D,dir:ke}),t&&ti(q,{width:dt.w,height:dt.h}),e&&ti(B,{width:vt.w,height:vt.h}),(Nr.c||jr.c)&&ti(O,{x:Nr.x,y:Nr.y,xScrollable:jr.xs,yScrollable:jr.ys,clipped:jr.x||jr.y}),Lr.c&&ti(S,{x:Lr.x,y:Lr.y})}H&&(Nr.c||re.c)&&(re.f||Rr(),p.y&&Nr.x&&ot.css(De+Be,re.w+d.y),p.x&&Nr.y&&ot.css(De+qe,re.h+d.x),re.c=!1),yr(tt),yr(Z),ti(M,{forced:r})}}function Qr(t){_=mi(!0,{},_,M.v(t,M.t,!0)),U=mi(!0,{},U,M.v(t,M.t,!1,!0))}function Vr(){ct=c(ui(Bn+Ge+Zn)),lt=c(ui(qn)),ut=c(ui(Un)),ft=c(ui(Bn+Ge+tr)),ht=c(ui(qn)),pt=c(ui(Un)),ct.append(lt),lt.append(ut),ft.append(ht),ht.append(pt),nt.after(ft),nt.after(ct),b&&(ct.on(hn,function(t){t.target===ct[0]&&($r(!0),Gr(!0,rt[en]()))}),ft.on(hn,function(t){t.target===ft[0]&&($r(!1),Gr(!1,rt[nn]()))})),Xr(!0),Xr(!1),st=c(ui(Yn)),J.append(st)}function Xr(t){var e,r,i,o=Zr(t),s=o.xy,c=Ve+o.LT,l="active",u=1,f=function(){u=.5},h=function(){u=1},p=function(n){var i=o.i.tl,l=o.i.hl,u=o.i.ms*((l/2+a.page(n)[s]-r-l/2)/(i-l));u=isFinite(u)?u:0,D&&t&&(v.n||!v.n&&!v.i)&&(u*=-1),rt[c](e+u),C||a.prvD(n)},d=function(t){t=t||t.originalEvent,gi($,er),gi(o.h,l),gi(o.t,l),gi(o.s,l),C?(hr(Y,an,p),hr(Y,on,d),hr(Y,ln,y),hr(Y,un,m)):Y.off(an,p).off(on,d).off(ln,y).off(un,m),Y.off(fn,Pr),h(),e=n,r=n,i!==n&&(Ce.scrollStop(),clearTimeout(i),i=n);var a=J[0].getBoundingClientRect();t.clientX>=a.left&&t.clientX<=a.right&&t.clientY>=a.top&&t.clientY<=a.bottom||br(),(de||ve)&&Kr(!1)},y=function(t){16==t.keyCode&&f()},m=function(t){16==t.keyCode&&h()};o.h.on(rn,function(i){if(!F){var u=(i.originalEvent||i).touches!==n;si()||!$t||u&&!me||(1===a.mBtn(i)||u)&&(e=(e=rt[c]())===n?0:e,(D&&t&&!v.n||!D)&&(e=e<0?0:e),r=a.page(i)[s],wi($,er),wi(o.h,l),wi(o.s,l),C?(fr(Y,an,p),fr(Y,on,d)):Y.on(an,p).on(on,d),Y.on(fn,Pr),a.prvD(i))}}),o.t.on(rn,function(e){if(!F){var c=(e.originalEvent||e).touches!==n;if(!si()&&Kt&&(!c||me)&&(1===a.mBtn(e)||c)){var h,p=Te[o._wh],w=o.t.offset()[o.lt],g=!0;e.shiftKey&&f();var x=function(){var e=o.i.ho,a=o.i.hl,s=r-w,c=200*u,l=g?Math.max(333,c):c,f={},d=D&&t&&(!v.i&&!v.n||Jt),y=e>s;d&&(y=e<s),y?(h===n&&(h=!0),f[o.xy]="-="+p):(h===n&&(h=!1),f[o.xy]="+="+p),Ce.scrollStop(),Ce.scroll(f,c,"linear");var m=h?e<=s:e+a>=s;d&&(m=h?e+a>=s:e<=s),m?(clearTimeout(i),Ce.scrollStop(),i=n):i=setTimeout(x,l),g=!1};r=a.page(e)[s],wi($,er),wi(o.t,l),wi(o.s,l),C?(fr(Y,on,d),fr(Y,ln,y),fr(Y,un,m)):Y.on(on,d).on(ln,y).on(un,m),Y.on(fn,Pr),x(),a.prvD(e)}}}).hover(function(){(de||ve)&&(we=!0,Kr(!0))},function(){(de||ve)&&(we=!1,Kr(!1))}),o.s.on(rn,function(t){a.stpP(t)})}function Yr(t,e,n){var r=t?wn:gn,i=t?ct:ft;e?J.removeClass(r):J.addClass(r),n?i.removeClass(Vn):i.addClass(Vn)}function Kr(t,e){if(clearTimeout(ue),t)ct.removeClass(Xn),ft.removeClass(Xn);else{var n="active",r=function(){if(!we){var t=ut.hasClass(n)||pt.hasClass(n);!t&&(de||ve||ye)&&ct.addClass(Xn),!t&&(de||ve||ye)&&ft.addClass(Xn)}};he>0&&!0!==e?ue=setTimeout(r,he):r()}}function $r(t){var e={},n=Zr(t),r=Math.min(1,(dt[n._wh]-(Tt?t?W:L:0))/vt[n._wh]);e[n.wh]=Math.floor(100*r*1e5)/1e5+"%",si()||n.h.css(e),n.i.hl=n.h[0]["offset"+n.WH],n.i.hlr=r}function Gr(t,e){var n,r,i=D&&t,o={},a=Zr(t),s="translate(",c="transform",l=rt[0][Ve+a.WH]-rt[0]["client"+a.WH],u=a.i.hl,f=a.t[0]["offset"+a.WH],h=f-u;v.n&&i&&(l*=-1),r=e/l,r=isNaN(r)?0:Math.min(1,r),a.i.ms=l,a.i.cs=e,a.i.csr=r,h*=r,h=isNaN(h)?0:h,i&&(v.n||!v.n&&!v.i)&&(h=f-u-h),h=Math.max(0,h),O?(i&&(h=-(f-u-h)),n=t?s+h+"px, 0px)":s+"0px, "+h+"px)",o["-webkit-"+c]=n,o["-moz-"+c]=n,o["-ms-"+c]=n,o["-o-"+c]=n,o[c]=n):o[a.lt]=h,si()||a.h.css(o),a.i.ho=h,a.i.tl=f}function Jr(t,e){var n=e?"removeClass":"addClass",r=t?ht:pt,i=t?_n:Qn;(t?lt:ut)[n](i),r[n](i)}function Zr(t){return{wh:t?Be:qe,WH:t?"Width":"Height",lt:t?je:Pe,LT:t?"Left":"Top",xy:t?Ye:Ke,XY:t?"X":"Y",_wh:t?"w":"h",_lt:t?"l":"t",t:t?lt:ht,h:t?ut:pt,s:t?ct:ft,i:t?Ae:ze}}function ti(t,e){z&&c.isFunction(t)&&t.call(Ce,e)}function ei(t,e,r){r===n&&(r=[Ue,Ue,Ue,Ue]),t[e+Pe]=r[0],t[e+Ne]=r[1],t[e+Re]=r[2],t[e+je]=r[3]}function ni(e){return typeof t.HTMLElement===i.o?e instanceof t.HTMLElement:e&&typeof e===i.o&&null!==e&&1===e.nodeType&&typeof e.nodeName===i.s}function ri(t,e){var n,r=[],i=[];for(n=0;n<t.length;n++)r[t[n]]=!0;for(n=0;n<e.length;n++)r[e[n]]?delete r[e[n]]:r[e[n]]=!0;for(var o in r)i.push(o);return i}function ii(e){var n=t.parseInt(e);return isNaN(n)?0:n}function oi(){var t=G.prop("selectionStart");if(t!==n){var e,r,i=G.val(),o=i.length,a=i.split("\n"),s=a.length,c=i.substr(0,t).split("\n"),l=0,u=0,f=c.length,h=c[c.length-1].length;for(r=0;r<a.length;r++)(e=a[r].length)>u&&(l=r+1,u=e);return{cursorRow:f,cursorCol:h,rows:s,cols:u,wRow:l,pos:t,max:o}}}function ai(t){for(var e=0;e<sr.length;e++)if(t===sr[e])return!0;return!1}function si(){return Wt&&p.x&&p.y}function ci(){return E?at[0]:ot[0]}function li(t,e){return c.prototype.find.call(t,e).first()}function ui(t,e){return"<div "+(t?yi(t)===i.s?'class="'+t+'"':function(){var e,n="";if(c.isPlainObject(t))for(e in t)n+=("className"===e?"class":e)+'="'+t[e]+'" ';return n}():Ue)+">"+(e||Ue)+"</div>"}function fi(t,e){for(var n,r=e.split($e),o=0;o<r.length;o++){if(!t.hasOwnProperty(r[o]))return;n=t[r[o]],o<r.length&&yi(n)===i.o&&(t=n)}return n}function hi(t,e,n){for(var r=e.split($e),i=r.length,o=0,a={},s=a;o<i;o++)a=a[r[o]]=o+1<i?{}:n;c.extend(t,s,!0)}function pi(t,e,r){return!0===r?r:e===n||t!==e}function di(t,e,r,i,o){if(!0===o)return o;if(i===n&&o===n){if(!0===r)return r;r=n}return r=r===n?"w":r,i=i===n?"h":i,e===n||(t[r]!==e[r]||t[i]!==e[i])}function vi(t,e){return e===n||(t.t!==e.t||t.r!==e.r||t.b!==e.b||t.l!==e.l)}function yi(t){return c.type(t)}function mi(){return c.extend.apply(this,arguments)}function wi(t,e){return c.prototype.addClass.call(t,e)}function gi(t,e){return c.prototype.removeClass.call(t,e)}function xi(t){return c.prototype.remove.call(t)}function bi(t,e){q=u.defaultOptions,w=u.nativeScrollbarStyling,x=mi(!0,{},u.nativeScrollbarSize),p=mi(!0,{},u.nativeScrollbarIsOverlaid),d=mi(!0,{},u.overlayScrollbarDummySize),v=mi(!0,{},u.rtlScrollBehavior),Qr(mi(!0,{},q,e));var n,r=U.callbacks;if(p.x&&p.x&&!U.nativeScrollbarsOverlaid.initialize)return ti(r.onInitializationWithdrawn),!1;if(g=u.cssCalc,m=u.msie,y=u.autoUpdateRecommended,b=u.supportTransition,O=u.supportTransform,C=u.supportPassiveEvents,S=u.supportResizeObserver,se=u.supportMutationObserver,A=u.restrictedMeasuring,Y=c(t.ownerDocument),X=c(Y[0].defaultView||Y[0].parentWindow),K=li(Y,"html"),$=li(K,"body"),G=c(t),E=G.is("textarea"),(H=G.is("body"))&&((n={}).l=Math.max(G[en](),K[en](),X[en]()),n.t=Math.max(G[nn](),K[nn](),X[nn]())),E){G.wrap(ui(mn)),wi(G,zn+Ge+Fn),J=G.parent();var i={};U.sizeAutoCapable||(i[Be]=G.css(Be),i[qe]=G.css(qe)),J.css(i).wrapInner(ui(Wn+Ge+Fn)).wrapInner(ui(Hn+Ge+Fn)).wrapInner(ui(En+Ge+Fn)),ot=li(J,$e+Wn),rt=li(J,$e+Hn),nt=li(J,$e+En),at=c(ui(Tn)),ot.prepend(at),G.on(Ve,kr).on("drop",Tr).on("focus",Er).on("focusout",Hr),m>9||!y?G.on("input",Sr):G.on(ln,Ar).on(un,zr)}else wi(G,yn),(J=G).wrapInner(ui(Wn)).wrapInner(ui(Hn)).wrapInner(ui(En)),ot=li(J,$e+Wn),rt=li(J,$e+Hn),nt=li(J,$e+En),ot.on(hn,function(t){!0!==Lt&&qr((t=t.originalEvent||t).propertyName)&&Ur(Qe)});if(Vr(),C?fr(rt,Ve,Or):rt.on(Ve,Or),w&&wi(rt,p.x&&p.y?In:kn),se){var s,l,f,h,M,k,I=a.mO(),W=a.now();ie=new I(function(t){if(z&&!F){var e,n=!1;c.each(t,function(){if(s=(e=this).target,l=e.attributeName,n=l===o.c?jr(e.oldValue,s.className):l!==o.s||e.oldValue!==s.style.cssText)return!1}),n&&Ce.update(Qe)}}),oe=new I(function(t){if(z&&!F){var e=!1;c.each(t,function(){return!(e=Dr(this))}),e&&(h=a.now(),M=xt||gt,k=function(){W=h,E&&_r(),M?Ce.update():Ce.update(Qe)},clearTimeout(f),ar<=0||h-W>ar||!M?k():f=setTimeout(k,ar))}})}return H&&(wi(K,vn),rt[en](n.l),rt[nn](n.t)),tt=c(ui("os-resize-observer-host")),J.prepend(tt),pr(tt,gr),gr(),Ce.update(Qe),setTimeout(function(){b&&!T&&wi(J,xn)},333),z=!0,ti(r.onInitialized),z}}return t[r]=function(e,i){if(0===arguments.length)return this;O();var o,a,f=[];return c.isPlainObject(i)?e&&e.length?(c.each(e,function(){o=this,console.log(o),o!==n&&f.push(A(o,i,l,u))}),a=f.length>1?f:f[0]):a=A(e,i,l,u):e&&(e.length&&e.length>0?(c.each(e,function(){o=s.get(this),"!"===i?o instanceof t[r]&&f.push(o):f.push(o)}),a=f.length>1?f:f[0]):a=s.get(e)),a},t[r].globals=function(){O();var t=c.extend(!0,{},l);return delete t.msie,t},t[r].defaultOptions=function(t){O();var e=l.defaultOptions;if(t===n)return c.extend(!0,{},e);l.defaultOptions=c.extend(!0,{},e,M.v(t,M.t,!0))},t[r]}(a,function(t){var e=[],r="__overlayScrollbars__";function i(t,n){t[r]=n,e.push(t)}function o(n){var i=t.inArray(n,e);i>-1&&(delete n[r],e.splice(i,1))}function a(t){return s(t)!==n}function s(t){for(var n=0;n<e.length;n++)if(t===e[n])return t[r]}return{all:function(){return e},add:i,rem:o,has:a,get:s}}(s),s),l=t.jQuery;return l&&l.fn&&(l.fn.overlayScrollbars=function(t){var e=this;return l.isPlainObject(t)?(l.each(e,function(){c(this,t)}),e):c(e,t)}),c});
{
"name": "overlayscrollbars",
"version": "1.4.1",
"version": "1.4.2",
"description": "A javascript scrollbar plugin which hides the native scrollbars and provides custom styleable overlay scrollbars, but 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc