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.5.0 to 1.5.1

6

js/jquery.overlayScrollbars.min.js

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

*
* Version: 1.5.0
* Version: 1.5.1
*

@@ -12,4 +12,4 @@ * Copyright KingSora.

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

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

*
* Version: 1.5.0
* Version: 1.5.1
*

@@ -12,4 +12,4 @@ * Copyright KingSora.

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