var Ev=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kv(ze){return ze&&ze.__esModule&&Object.prototype.hasOwnProperty.call(ze,"default")?ze.default:ze}function Pv(ze){if(ze.__esModule)return ze;var pr=ze.default;if(typeof pr=="function"){var wr=function N(){return this instanceof N?Reflect.construct(pr,arguments,this.constructor):pr.apply(this,arguments)};wr.prototype=pr.prototype}else wr={};return Object.defineProperty(wr,"__esModule",{value:!0}),Object.keys(ze).forEach(function(N){var an=Object.getOwnPropertyDescriptor(ze,N);Object.defineProperty(wr,N,an.get?an:{enumerable:!0,get:function(){return ze[N]}})}),wr}var Qs={exports:{}};/*!
 * OverlayScrollbars
 * https://github.com/KingSora/OverlayScrollbars
 *
 * Version: 1.13.3
 *
 * Copyright KingSora | Rene Haas.
 * https://github.com/KingSora
 *
 * Released under the MIT license.
 * Date: 20.07.2022
 */(function(ze){(function(pr,wr){ze.exports=wr(pr,pr.document,void 0)})(typeof window<"u"?window:Ev,function(pr,wr,N){var an="OverlayScrollbars",y={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},s={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},Re=function(){var g={},x={},e=["-webkit-","-moz-","-o-","-ms-"],h=["WebKit","Moz","O","MS"];function u(d){return d.charAt(0).toUpperCase()+d.slice(1)}return{_cssPrefixes:e,_jsPrefixes:h,_cssProperty:function(d){var T=x[d];if(x[s.hOP](d))return T;for(var vr=u(d),nr=wr.createElement("div")[s.s],O,V=0,br,U;V<e.length;V++)for(U=e[V].replace(/-/g,""),O=[d,e[V]+d,U+vr,u(U)+vr],br=0;br<O[s.l];br++)if(nr[O[br]]!==N){T=O[br];break}return x[d]=T,T},_cssPropertyValue:function(d,T,vr){var nr=d+" "+T,O=x[nr];if(x[s.hOP](nr))return O;for(var V=wr.createElement("div")[s.s],br=T.split(" "),U=vr||"",Dr=0,k=-1,Y;Dr<br[s.l];Dr++)for(;k<Re._cssPrefixes[s.l];k++)if(Y=k<0?br[Dr]:Re._cssPrefixes[k]+br[Dr],V.cssText=d+":"+Y+U,V[s.l]){O=Y;break}return x[nr]=O,O},_jsAPI:function(d,T,vr){var nr=0,O=g[d];if(!g[s.hOP](d)){for(O=pr[d];nr<h[s.l];nr++)O=O||pr[(T?h[nr]:h[nr].toLowerCase())+u(d)];g[d]=O}return O||vr}}}(),w=function(){function g(e){return e?pr.innerWidth||wr.documentElement[s.cW]||wr.body[s.cW]:pr.innerHeight||wr.documentElement[s.cH]||wr.body[s.cH]}function x(e,h){if(typeof e!=y.f)throw"Can't bind function!";var u=s.p,d=Array[u].slice.call(arguments,2),T=function(){},vr=function(){return e.apply(this instanceof T?this:h,d.concat(Array[u].slice.call(arguments)))};return e[u]&&(T[u]=e[u]),vr[u]=new T,vr}return{wW:x(g,0,!0),wH:x(g,0),mO:x(Re._jsAPI,0,"MutationObserver",!0),rO:x(Re._jsAPI,0,"ResizeObserver",!0),rAF:x(Re._jsAPI,0,"requestAnimationFrame",!1,function(e){return pr.setTimeout(e,1e3/60)}),cAF:x(Re._jsAPI,0,"cancelAnimationFrame",!1,function(e){return pr.clearTimeout(e)}),now:function(){return Date.now&&Date.now()||new Date().getTime()},stpP:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},prvD:function(e){e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1},page:function(e){e=e.originalEvent||e;var h="page",u="client",d="X",T="Y",vr=e.target||e.srcElement||wr,nr=vr.ownerDocument||wr,O=nr.documentElement,V=nr.body;if(e.touches!==N){var br=e.touches[0];return{x:br[h+d],y:br[h+T]}}return!e[h+d]&&e[u+d]&&e[u+d]!=null?{x:e[u+d]+(O&&O.scrollLeft||V&&V.scrollLeft||0)-(O&&O.clientLeft||V&&V.clientLeft||0),y:e[u+T]+(O&&O.scrollTop||V&&V.scrollTop||0)-(O&&O.clientTop||V&&V.clientTop||0)}:{x:e[h+d],y:e[h+T]}},mBtn:function(e){var h=e.button;return!e.which&&h!==N?h&1?1:h&2?3:h&4?2:0:e.which},inA:function(e,h){for(var u=0;u<h[s.l];u++)try{if(h[u]===e)return u}catch{}return-1},isA:function(e){var h=Array.isArray;return h?h(e):this.type(e)==y.a},type:function(e){return e===N||e===null?e+"":Object[s.p].toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:x}}(),W=Math,vt=pr.jQuery,Ks=function(){var g={p:W.PI,c:W.cos,s:W.sin,w:W.pow,t:W.sqrt,n:W.asin,a:W.abs,o:1.70158};return{swing:function(x,e,h,u,d){return .5-g.c(x*g.p)/2},linear:function(x,e,h,u,d){return x},easeInQuad:function(x,e,h,u,d){return u*(e/=d)*e+h},easeOutQuad:function(x,e,h,u,d){return-u*(e/=d)*(e-2)+h},easeInOutQuad:function(x,e,h,u,d){return(e/=d/2)<1?u/2*e*e+h:-u/2*(--e*(e-2)-1)+h},easeInCubic:function(x,e,h,u,d){return u*(e/=d)*e*e+h},easeOutCubic:function(x,e,h,u,d){return u*((e=e/d-1)*e*e+1)+h},easeInOutCubic:function(x,e,h,u,d){return(e/=d/2)<1?u/2*e*e*e+h:u/2*((e-=2)*e*e+2)+h},easeInQuart:function(x,e,h,u,d){return u*(e/=d)*e*e*e+h},easeOutQuart:function(x,e,h,u,d){return-u*((e=e/d-1)*e*e*e-1)+h},easeInOutQuart:function(x,e,h,u,d){return(e/=d/2)<1?u/2*e*e*e*e+h:-u/2*((e-=2)*e*e*e-2)+h},easeInQuint:function(x,e,h,u,d){return u*(e/=d)*e*e*e*e+h},easeOutQuint:function(x,e,h,u,d){return u*((e=e/d-1)*e*e*e*e+1)+h},easeInOutQuint:function(x,e,h,u,d){return(e/=d/2)<1?u/2*e*e*e*e*e+h:u/2*((e-=2)*e*e*e*e+2)+h},easeInSine:function(x,e,h,u,d){return-u*g.c(e/d*(g.p/2))+u+h},easeOutSine:function(x,e,h,u,d){return u*g.s(e/d*(g.p/2))+h},easeInOutSine:function(x,e,h,u,d){return-u/2*(g.c(g.p*e/d)-1)+h},easeInExpo:function(x,e,h,u,d){return e==0?h:u*g.w(2,10*(e/d-1))+h},easeOutExpo:function(x,e,h,u,d){return e==d?h+u:u*(-g.w(2,-10*e/d)+1)+h},easeInOutExpo:function(x,e,h,u,d){return e==0?h:e==d?h+u:(e/=d/2)<1?u/2*g.w(2,10*(e-1))+h:u/2*(-g.w(2,-10*--e)+2)+h},easeInCirc:function(x,e,h,u,d){return-u*(g.t(1-(e/=d)*e)-1)+h},easeOutCirc:function(x,e,h,u,d){return u*g.t(1-(e=e/d-1)*e)+h},easeInOutCirc:function(x,e,h,u,d){return(e/=d/2)<1?-u/2*(g.t(1-e*e)-1)+h:u/2*(g.t(1-(e-=2)*e)+1)+h},easeInElastic:function(x,e,h,u,d){var T=g.o,vr=0,nr=u;return e==0?h:(e/=d)==1?h+u:(vr||(vr=d*.3),nr<g.a(u)?(nr=u,T=vr/4):T=vr/(2*g.p)*g.n(u/nr),-(nr*g.w(2,10*(e-=1))*g.s((e*d-T)*(2*g.p)/vr))+h)},easeOutElastic:function(x,e,h,u,d){var T=g.o,vr=0,nr=u;return e==0?h:(e/=d)==1?h+u:(vr||(vr=d*.3),nr<g.a(u)?(nr=u,T=vr/4):T=vr/(2*g.p)*g.n(u/nr),nr*g.w(2,-10*e)*g.s((e*d-T)*(2*g.p)/vr)+u+h)},easeInOutElastic:function(x,e,h,u,d){var T=g.o,vr=0,nr=u;return e==0?h:(e/=d/2)==2?h+u:(vr||(vr=d*(.3*1.5)),nr<g.a(u)?(nr=u,T=vr/4):T=vr/(2*g.p)*g.n(u/nr),e<1?-.5*(nr*g.w(2,10*(e-=1))*g.s((e*d-T)*(2*g.p)/vr))+h:nr*g.w(2,-10*(e-=1))*g.s((e*d-T)*(2*g.p)/vr)*.5+u+h)},easeInBack:function(x,e,h,u,d,T){return T=T||g.o,u*(e/=d)*e*((T+1)*e-T)+h},easeOutBack:function(x,e,h,u,d,T){return T=T||g.o,u*((e=e/d-1)*e*((T+1)*e+T)+1)+h},easeInOutBack:function(x,e,h,u,d,T){return T=T||g.o,(e/=d/2)<1?u/2*(e*e*(((T*=1.525)+1)*e-T))+h:u/2*((e-=2)*e*(((T*=1.525)+1)*e+T)+2)+h},easeInBounce:function(x,e,h,u,d){return u-this.easeOutBounce(x,d-e,0,u,d)+h},easeOutBounce:function(x,e,h,u,d){var T=7.5625;return(e/=d)<1/2.75?u*(T*e*e)+h:e<2/2.75?u*(T*(e-=1.5/2.75)*e+.75)+h:e<2.5/2.75?u*(T*(e-=2.25/2.75)*e+.9375)+h:u*(T*(e-=2.625/2.75)*e+.984375)+h},easeInOutBounce:function(x,e,h,u,d){return e<d/2?this.easeInBounce(x,e*2,0,u,d)*.5+h:this.easeOutBounce(x,e*2-d,0,u,d)*.5+u*.5+h}}}(),I=function(){var g=/[^\x20\t\r\n\f]+/g,x=" ",e="",h="scrollLeft",u="scrollTop",d=[],T=w.type,vr={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};function nr(){var t,o,n,c,_,H,S=arguments[0]||{},Q=1,X=arguments[s.l],D=!1;for(T(S)==y.b&&(D=S,S=arguments[1]||{},Q=2),T(S)!=y.o&&!T(S)==y.f&&(S={}),X===Q&&(S=J,--Q);Q<X;Q++)if((_=arguments[Q])!=null)for(c in _)t=S[c],n=_[c],S!==n&&(D&&n&&(U(n)||(o=w.isA(n)))?(o?(o=!1,H=t&&w.isA(t)?t:[]):H=t&&U(t)?t:{},S[c]=nr(D,H,n)):n!==N&&(S[c]=n));return S}function O(t,o,n){for(var c=n||0;c<o[s.l];c++)if(o[c]===t)return c;return-1}function V(t){return T(t)==y.f}function br(t){for(var o in t)return!1;return!0}function U(t){if(!t||T(t)!=y.o)return!1;var o,n=s.p,c=Object[n].hasOwnProperty,_=c.call(t,"constructor"),H=t.constructor&&t.constructor[n]&&c.call(t.constructor[n],"isPrototypeOf");if(t.constructor&&!_&&!H)return!1;for(o in t);return T(o)==y.u||c.call(t,o)}function Dr(t,o){var n=0;if(k(t))for(;n<t[s.l]&&o.call(t[n],n,t[n])!==!1;n++);else for(n in t)if(o.call(t[n],n,t[n])===!1)break;return t}function k(t){var o=!!t&&[s.l]in t&&t[s.l],n=T(t);return V(n)?!1:n==y.a||o===0||T(o)==y.n&&o>0&&o-1 in t}function Y(t){var o=t.match(g)||[];return o.join(x)}function $(t,o){for(var n=(t.parentNode||wr).querySelectorAll(o)||[],c=n[s.l];c--;)if(n[c]==t)return!0;return!1}function E(t,o,n){if(w.isA(n))for(var c=0;c<n[s.l];c++)E(t,o,n[c]);else T(n)==y.s?t.insertAdjacentHTML(o,n):t.insertAdjacentElement(o,n.nodeType?n:n[0])}function ur(t,o,n){try{t[s.s][o]!==N&&(t[s.s][o]=Me(o,n))}catch{}}function Me(t,o){return!vr[t.toLowerCase()]&&T(o)==y.n&&(o+="px"),o}function j(t,o){var n,c;o!==!1&&t.q.splice(0,1),t.q[s.l]>0?(c=t.q[0],A(t.el,c.props,c.duration,c.easing,c.complete,!0)):(n=O(t,d),n>-1&&d.splice(n,1))}function Yr(t,o,n){o===h||o===u?t[o]=n:ur(t,o,n)}function A(t,o,n,c,_,H){var S=U(n),Q={},X={},D=0,G,jr,Tr,Ir,qr,Ar;for(S?(c=n.easing,n.start,Tr=n.progress,Ir=n.step,qr=n.specialEasing,_=n.complete,Ar=n.duration):Ar=n,qr=qr||{},Ar=Ar||400,c=c||"swing",H=H||!1;D<d[s.l];D++)if(d[D].el===t){jr=d[D];break}jr||(jr={el:t,q:[]},d.push(jr));for(G in o)G===h||G===u?Q[G]=t[G]:Q[G]=J(t).css(G);for(G in Q)Q[G]!==o[G]&&o[G]!==N&&(X[G]=o[G]);if(br(X))H&&j(jr);else{var We,Lr,de,xe,Be,fr,zr,ba,me,ge=H?0:O(xr,jr.q),xr={props:X,duration:S?n:Ar,easing:c,complete:_};if(ge===-1&&(ge=jr.q[s.l],jr.q.push(xr)),ge===0)if(Ar>0)zr=w.now(),ba=function(){We=w.now(),me=We-zr,Lr=xr.stop||me>=Ar,de=1-(W.max(0,zr+Ar-We)/Ar||0);for(G in X)xe=parseFloat(Q[G]),Be=parseFloat(X[G]),fr=(Be-xe)*Ks[qr[G]||c](de,de*Ar,0,1,Ar)+xe,Yr(t,G,fr),V(Ir)&&Ir(fr,{elem:t,prop:G,start:xe,now:fr,end:Be,pos:de,options:{easing:c,speacialEasing:qr,duration:Ar,complete:_,step:Ir},startTime:zr});V(Tr)&&Tr({},de,W.max(0,Ar-me)),Lr?(j(jr),V(_)&&_()):xr.frame=w.rAF()(ba)},xr.frame=w.rAF()(ba);else{for(G in X)Yr(t,G,X[G]);j(jr)}}}function hr(t,o,n){for(var c,_,H,S=0;S<d[s.l];S++)if(c=d[S],c.el===t){if(c.q[s.l]>0){if(_=c.q[0],_.stop=!0,w.cAF()(_.frame),c.q.splice(0,1),n)for(H in _.props)Yr(t,H,_.props[H]);o?c.q=[]:j(c,!1)}break}}function _r(t){return!!(t[s.oW]||t[s.oH]||t.getClientRects()[s.l])}function J(t){if(arguments[s.l]===0)return this;var o=new J,n=t,c=0,_,H;if(T(t)==y.s)for(n=[],t.charAt(0)==="<"?(H=wr.createElement("div"),H.innerHTML=t,_=H.children):_=wr.querySelectorAll(t);c<_[s.l];c++)n.push(_[c]);if(n){for(T(n)!=y.s&&(!k(n)||n===pr||n===n.self)&&(n=[n]),c=0;c<n[s.l];c++)o[c]=n[c];o[s.l]=n[s.l]}return o}return J[s.p]={on:function(t,o){t=(t||e).match(g)||[e];var n=t[s.l],c=0,_;return this.each(function(){_=this;try{if(_.addEventListener)for(;c<n;c++)_.addEventListener(t[c],o);else if(_.detachEvent)for(;c<n;c++)_.attachEvent("on"+t[c],o)}catch{}})},off:function(t,o){t=(t||e).match(g)||[e];var n=t[s.l],c=0,_;return this.each(function(){_=this;try{if(_.removeEventListener)for(;c<n;c++)_.removeEventListener(t[c],o);else if(_.detachEvent)for(;c<n;c++)_.detachEvent("on"+t[c],o)}catch{}})},one:function(t,o){return t=(t||e).match(g)||[e],this.each(function(){var n=J(this);J.each(t,function(c,_){var H=function(S){o.call(this,S),n.off(_,H)};n.on(_,H)})})},trigger:function(t){var o,n;return this.each(function(){o=this,wr.createEvent?(n=wr.createEvent("HTMLEvents"),n.initEvent(t,!0,!1),o.dispatchEvent(n)):o.fireEvent("on"+t)})},append:function(t){return this.each(function(){E(this,"beforeend",t)})},prepend:function(t){return this.each(function(){E(this,"afterbegin",t)})},before:function(t){return this.each(function(){E(this,"beforebegin",t)})},after:function(t){return this.each(function(){E(this,"afterend",t)})},remove:function(){return this.each(function(){var t=this,o=t.parentNode;o!=null&&o.removeChild(t)})},unwrap:function(){var t=[],o,n,c;for(this.each(function(){c=this.parentNode,O(c,t)===-1&&t.push(c)}),o=0;o<t[s.l];o++){for(n=t[o],c=n.parentNode;n.firstChild;)c.insertBefore(n.firstChild,n);c.removeChild(n)}return this},wrapAll:function(t){for(var o,n=this,c=J(t)[0],_=c,H=n[0].parentNode,S=n[0].previousSibling;_.childNodes[s.l]>0;)_=_.childNodes[0];for(o=0;n[s.l]-o;_.firstChild===n[0]&&o++)_.appendChild(n[o]);var Q=S?S.nextSibling:H.firstChild;return H.insertBefore(c,Q),this},wrapInner:function(t){return this.each(function(){var o=J(this),n=o.contents();n[s.l]?n.wrapAll(t):o.append(t)})},wrap:function(t){return this.each(function(){J(this).wrapAll(t)})},css:function(t,o){var n,c,_,H=pr.getComputedStyle;return T(t)==y.s?o===N?(n=this[0],_=H?H(n,null):n.currentStyle[t],H?_!=null?_.getPropertyValue(t):n[s.s][t]:_):this.each(function(){ur(this,t,o)}):this.each(function(){for(c in t)ur(this,c,t[c])})},hasClass:function(t){for(var o,n=0,c=x+t+x,_;o=this[n++];){if(_=o.classList,_&&_.contains(t))return!0;if(o.nodeType===1&&(x+Y(o.className+e)+x).indexOf(c)>-1)return!0}return!1},addClass:function(t){var o,n,c,_,H,S,Q,X,D=0,G=0;if(t){for(o=t.match(g)||[];n=this[D++];)if(X=n.classList,Q===N&&(Q=X!==N),Q)for(;H=o[G++];)X.add(H);else if(_=n.className+e,c=n.nodeType===1&&x+Y(_)+x,c){for(;H=o[G++];)c.indexOf(x+H+x)<0&&(c+=H+x);S=Y(c),_!==S&&(n.className=S)}}return this},removeClass:function(t){var o,n,c,_,H,S,Q,X,D=0,G=0;if(t){for(o=t.match(g)||[];n=this[D++];)if(X=n.classList,Q===N&&(Q=X!==N),Q)for(;H=o[G++];)X.remove(H);else if(_=n.className+e,c=n.nodeType===1&&x+Y(_)+x,c){for(;H=o[G++];)for(;c.indexOf(x+H+x)>-1;)c=c.replace(x+H+x,x);S=Y(c),_!==S&&(n.className=S)}}return this},hide:function(){return this.each(function(){this[s.s].display="none"})},show:function(){return this.each(function(){this[s.s].display="block"})},attr:function(t,o){for(var n=0,c;c=this[n++];){if(o===N)return c.getAttribute(t);c.setAttribute(t,o)}return this},removeAttr:function(t){return this.each(function(){this.removeAttribute(t)})},offset:function(){var t=this[0],o=t[s.bCR](),n=pr.pageXOffset||wr.documentElement[h],c=pr.pageYOffset||wr.documentElement[u];return{top:o.top+c,left:o.left+n}},position:function(){var t=this[0];return{top:t.offsetTop,left:t.offsetLeft}},scrollLeft:function(t){for(var o=0,n;n=this[o++];){if(t===N)return n[h];n[h]=t}return this},scrollTop:function(t){for(var o=0,n;n=this[o++];){if(t===N)return n[u];n[u]=t}return this},val:function(t){var o=this[0];return t?(o.value=t,this):o.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){return J(this[t>=0?t:this[s.l]+t])},find:function(t){var o=[],n;return this.each(function(){var c=this,_=c.querySelectorAll(t);for(n=0;n<_[s.l];n++)o.push(_[n])}),J(o)},children:function(t){var o=[],n,c,_;return this.each(function(){for(c=this.children,_=0;_<c[s.l];_++)n=c[_],t?(n.matches&&n.matches(t)||$(n,t))&&o.push(n):o.push(n)}),J(o)},parent:function(t){var o=[],n;return this.each(function(){n=this.parentNode,(!t||J(n).is(t))&&o.push(n)}),J(o)},is:function(t){var o,n;for(n=0;n<this[s.l];n++){if(o=this[n],t===":visible")return _r(o);if(t===":hidden")return!_r(o);if(o.matches&&o.matches(t)||$(o,t))return!0}return!1},contents:function(){var t=[],o,n;return this.each(function(){for(o=this.childNodes,n=0;n<o[s.l];n++)t.push(o[n])}),J(t)},each:function(t){return Dr(this,t)},animate:function(t,o,n,c){return this.each(function(){A(this,t,o,n,c)})},stop:function(t,o){return this.each(function(){hr(this,t,o)})}},nr(J,{extend:nr,inArray:O,isEmptyObject:br,isPlainObject:U,each:Dr}),J}(),za=function(){var g=[],x="__overlayScrollbars__";return function(e,h){var u=arguments[s.l];if(u<1)return g;if(h)e[x]=h,g.push(e);else{var d=w.inA(e,g);if(d>-1)if(u>1)delete e[x],g.splice(d,1);else return g[d][x]}}}(),kn=function(){var g,x,e,h=[],u=function(){var O=w.type,V=[y.b,y.n,y.s,y.a,y.o,y.f,y.z],br=" ",U=":",Dr=[y.z,y.s],k=y.n,Y=[y.z,y.b],$=[!0,y.b],E=[!1,y.b],ur=[null,[y.z,y.f]],Me=[["img"],[y.s,y.a,y.z]],j=[["style","class"],[y.s,y.a,y.z]],Yr="n:none b:both h:horizontal v:vertical",A="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden",hr="v:visible h:hidden a:auto",_r="n:never s:scroll l:leave m:move",J={className:["os-theme-dark",Dr],resize:["none",Yr],sizeAutoCapable:$,clipAlways:$,normalizeRTL:$,paddingAbsolute:E,autoUpdate:[null,Y],autoUpdateInterval:[33,k],updateOnLoad:Me,nativeScrollbarsOverlaid:{showNativeScrollbars:E,initialize:$},overflowBehavior:{x:["scroll",A],y:["scroll",A]},scrollbars:{visibility:["auto",hr],autoHide:["never",_r],autoHideDelay:[800,k],dragScrolling:$,clickScrolling:E,touchSupport:$,snapHandle:E},textarea:{dynWidth:E,dynHeight:E,inheritedAttrs:j},callbacks:{onInitialized:ur,onInitializationWithdrawn:ur,onDestroyed:ur,onScrollStart:ur,onScroll:ur,onScrollStop:ur,onOverflowChanged:ur,onOverflowAmountChanged:ur,onDirectionChanged:ur,onContentSizeChanged:ur,onHostSizeChanged:ur,onUpdated:ur}},t=function(o){var n=function(c){var _,H,S;for(_ in c)c[s.hOP](_)&&(H=c[_],S=O(H),S==y.a?c[_]=H[o?1:0]:S==y.o&&(c[_]=n(H)));return c};return n(I.extend(!0,{},J))};return{_defaults:t(),_template:t(!0),_validate:function(o,n,c,_){var H={},S={},Q=I.extend(!0,{},o),X=I.inArray,D=I.isEmptyObject,G=function(jr,Tr,Ir,qr,Ar,We){for(var Lr in Tr)if(Tr[s.hOP](Lr)&&jr[s.hOP](Lr)){var de=!1,xe=!1,Be=Tr[Lr],fr=O(Be),zr=fr==y.o,ba=w.isA(Be)?Be:[Be],me=Ir[Lr],ge=jr[Lr],xr=O(ge),xa=We?We+".":"",St='The option "'+xa+Lr+"\" wasn't set, because",ae=[],pe=[],Fe,Rr,se,Le,dr,Ce,Ma,K;if(me=me===N?{}:me,zr&&xr==y.o)qr[Lr]={},Ar[Lr]={},G(ge,Be,me,qr[Lr],Ar[Lr],xa+Lr),I.each([jr,qr,Ar],function(Mr,Ne){D(Ne[Lr])&&delete Ne[Lr]});else if(!zr){for(Ce=0;Ce<ba[s.l];Ce++)if(dr=ba[Ce],fr=O(dr),se=fr==y.s&&X(dr,V)===-1,se)for(ae.push(y.s),Fe=dr.split(br),pe=pe.concat(Fe),Ma=0;Ma<Fe[s.l];Ma++){for(Rr=Fe[Ma].split(U),Le=Rr[0],K=0;K<Rr[s.l];K++)if(ge===Rr[K]){de=!0;break}if(de)break}else if(ae.push(dr),xr===dr){de=!0;break}de?(xe=ge!==me,xe&&(qr[Lr]=ge),(se?X(me,Rr)<0:xe)&&(Ar[Lr]=se?Le:ge)):c&&console.warn(St+" it doesn't accept the type [ "+xr.toUpperCase()+' ] with the value of "'+ge+'".\r\nAccepted types are: [ '+ae.join(", ").toUpperCase()+" ]."+(pe[length]>0?"\r\nValid strings are: [ "+pe.join(", ").split(U).join(", ")+" ].":"")),delete jr[Lr]}}};return G(Q,n,_||{},H,S),!D(Q)&&c&&console.warn("The following options are discarded due to invalidity:\r\n"+pr.JSON.stringify(Q,null,2)),{_default:H,_prepared:S}}}}();function d(){x||(x=new T(u._defaults)),e||(e=new vr(x))}function T(O){var V=this,br="overflow",U="hidden",Dr="scroll",k=I("body"),Y=I('<div id="os-dummy-scrollbar-size"><div></div></div>'),$=Y[0],E=I(Y.children("div").eq(0));k.append(Y),Y.hide().show();var ur=Yr($),Me={x:ur.x===0,y:ur.y===0},j=function(){var A=pr.navigator.userAgent,hr="indexOf",_r="substring",J=A[hr]("MSIE "),t=A[hr]("Trident/"),o=A[hr]("Edge/"),n=A[hr]("rv:"),c,_=parseInt;return J>0?c=_(A[_r](J+5,A[hr](".",J)),10):t>0?c=_(A[_r](n+3,A[hr](".",n)),10):o>0&&(c=_(A[_r](o+5,A[hr](".",o)),10)),c}();I.extend(V,{defaultOptions:O,msie:j,autoUpdateLoop:!1,autoUpdateRecommended:!w.mO(),nativeScrollbarSize:ur,nativeScrollbarIsOverlaid:Me,nativeScrollbarStyling:function(){var A=!1;Y.addClass("os-viewport-native-scrollbars-invisible");try{A=Y.css("scrollbar-width")==="none"&&(j>9||!j)||pr.getComputedStyle($,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return A}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:Re._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){Y.css(br,U);var A={w:$[s.sW],h:$[s.sH]};Y.css(br,"visible");var hr={w:$[s.sW],h:$[s.sH]};return A.w-hr.w!==0||A.h-hr.h!==0}(),rtlScrollBehavior:function(){Y.css({"overflow-y":U,"overflow-x":Dr,direction:"rtl"}).scrollLeft(0);var A=Y.offset(),hr=E.offset();Y.scrollLeft(-999);var _r=E.offset();return{i:A.left===hr.left,n:hr.left!==_r.left}}(),supportTransform:!!Re._cssProperty("transform"),supportTransition:!!Re._cssProperty("transition"),supportPassiveEvents:function(){var A=!1;try{pr.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){A=!0}}))}catch{}return A}(),supportResizeObserver:!!w.rO(),supportMutationObserver:!!w.mO()}),Y.removeAttr(s.s).remove(),function(){if(Me.x&&Me.y)return;var A=W.abs,hr=w.wW(),_r=w.wH(),J=n(),t=function(){if(za().length>0){var c=w.wW(),_=w.wH(),H=c-hr,S=_-_r;if(H===0&&S===0)return;var Q=W.round(c/(hr/100)),X=W.round(_/(_r/100)),D=A(H),G=A(S),jr=A(Q),Tr=A(X),Ir=n(),qr=D>2&&G>2,Ar=!o(jr,Tr),We=Ir!==J&&J>0,Lr=qr&&Ar&&We,de=V.nativeScrollbarSize,xe;Lr&&(k.append(Y),xe=V.nativeScrollbarSize=Yr(Y[0]),Y.remove(),(de.x!==xe.x||de.y!==xe.y)&&I.each(za(),function(){za(this)&&za(this).update("zoom")})),hr=c,_r=_,J=Ir}};function o(c,_){var H=A(c),S=A(_);return!(H===S||H+1===S||H-1===S)}function n(){var c=pr.screen.deviceXDPI||0,_=pr.screen.logicalXDPI||1;return pr.devicePixelRatio||c/_}I(pr).on("resize",t)}();function Yr(A){return{x:A[s.oH]-A[s.cH],y:A[s.oW]-A[s.cW]}}}function vr(O){var V=this,br=I.inArray,U=w.now,Dr="autoUpdate",k=Dr+"Interval",Y=s.l,$=[],E=[],ur=!1,Me=33,j=Me,Yr=U(),A,hr=function(){if($[Y]>0&&ur){A=w.rAF()(function(){hr()});var _r=U(),J=_r-Yr,t,o,n,c,_,H;if(J>j){Yr=_r-J%j,t=Me;for(var S=0;S<$[Y];S++)o=$[S],o!==N&&(n=o.options(),c=n[Dr],_=W.max(1,n[k]),H=U(),(c===!0||c===null)&&H-E[S]>_&&(o.update("auto"),E[S]=new Date(H+=_)),t=W.max(1,W.min(t,_)));j=t}}else j=Me};V.add=function(_r){br(_r,$)===-1&&($.push(_r),E.push(U()),$[Y]>0&&!ur&&(ur=!0,O.autoUpdateLoop=ur,hr()))},V.remove=function(_r){var J=br(_r,$);J>-1&&(E.splice(J,1),$.splice(J,1),$[Y]===0&&ur&&(ur=!1,O.autoUpdateLoop=ur,A!==N&&(w.cAF()(A),A=-1)))}}function nr(O,V,br,U,Dr){var k=w.type,Y=I.inArray,$=I.each,E=new g,ur=I[s.p];if(!Ss(O))return;if(za(O)){var Me=za(O);return Me.options(V),Me}var j,Yr,A,hr,_r,J,t,o,n,c,_,H,S,Q,X,D,G,jr,Tr,Ir,qr,Ar,We,Lr,de,xe,Be,fr,zr,ba={},me={},ge={},xr={},xa={},St="-hidden",ae="margin-",pe="padding-",Fe="border-",Rr="top",se="right",Le="bottom",dr="left",Ce="min-",Ma="max-",K="width",Mr="height",Ne="float",B="",$r="auto",Hn="sync",Ue="scroll",Na="100%",Dt="x",zt="y",qe=".",ve=" ",Pn="scrollbar",Sn="-horizontal",Dn="-vertical",oe=Ue+"Left",ce=Ue+"Top",Ot="mousedown touchstart",Mt="mouseup touchend touchcancel",Nt="mousemove touchmove",Hi="mouseenter",Pi="mouseleave",zn="keydown",Mn="keyup",It="selectstart",Nn="transitionend webkitTransitionEnd oTransitionEnd",In="__overlayScrollbarsRO__",Ee="os-",Si=Ee+"html",Ae=Ee+"host",tn=Ae+"-foreign",Rn=Ae+"-textarea",Di=Ae+"-"+Pn+Sn+St,zi=Ae+"-"+Pn+Dn+St,Mi=Ae+"-transition",Ni=Ae+"-rtl",Wn=Ae+"-resize-disabled",nn=Ae+"-scrolling",Rt=Ae+"-overflow",Rt=Ae+"-overflow",Ii=Rt+"-x",Ri=Rt+"-y",sn=Ee+"textarea",Ys=sn+"-cover",Bn=Ee+"padding",vn=Ee+"viewport",Fn=vn+"-native-scrollbars-invisible",Wi=vn+"-native-scrollbars-overlaid",Un=Ee+"content",js=Ee+"content-arrange",Gs=Ee+"content-glue",Js=Ee+"size-auto-observer",ot=Ee+"resize-observer",on=Ee+"resize-observer-item",Bi=on+"-final",cn=Ee+"text-inherit",Ia=Ee+Pn,Fi=Ia+"-track",Ui=Fi+"-off",qi=Ia+"-handle",Vi=qi+"-off",Qi=Ia+"-unusable",Wt=Ia+"-"+$r+St,qn=Ia+"-corner",Bt=qn+"-resize",Ki=Bt+"-both",Yi=Bt+Sn,ji=Bt+Dn,Xs=Ia+Sn,Zs=Ia+Dn,ct=Ee+"dragging",ln=Ee+"theme-none",Vn=[Fn,Wi,Ui,Vi,Qi,Wt,Bt,Ki,Yi,ji,ct].join(ve),Qn=[],Kn=[s.ti],Gi,Ft,re,Ra={},$s="added removed on contract",Ji,lt={},Xi,Zi=42,Yn="load",ut=[],un,ma,wt,ft,ir,F,ua,fa,Xe,er,Wr,Wa,Oe,Ba,ke,ht,fn,Ut,dt,hn,qt,Vt,Tt,Ja,Ve,dn,pn,Xa,pt,Ze,Qt,_t,$i,ga,Kt,$e,Za,rs,jn,es,as,ts,ns,is,ss,vs,Lt,Et,Gn,Jn,os,cs,ls,us,fs,hs,Xn,ds,Fa,Yt,Zn,_n,$n,ps,_s,ys,$a,bs={},yn,bn,ri,ei,Ca,xs=["wrap","cols","rows"],ai=[s.i,s.c,s.s,"open"].concat(Kn),ti=[],ni,ms,gs,ii,si,rt,ra,yt,vi,et,xn,mn,oi,ci;function Ie(r,a,i,v,l){var f=w.isA(a)&&w.isA(i),p=v?"removeEventListener":"addEventListener",m=v?"off":"on",b=f?!1:a.split(ve),C=0,R=I.isPlainObject(l),P=_&&(R?l._passive:l)||!1,Z=R&&(l._capture||!1),rr=_?{passive:P,capture:Z}:Z;if(f)for(;C<a[s.l];C++)Ie(r,a[C],i[C],v,l);else for(;C<b[s.l];C++)_?r[0][p](b[C],i,rr):r[m](b[C],i)}function ha(r,a,i,v){Ie(r,a,i,!1,v),ti.push(w.bind(Ie,0,r,a,i,!0,v))}function gn(r,a){if(r){var i=w.rO(),v="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",l="childNodes",f=3333333,p=function(){r[ce](f)[oe](fr?A.n?-f:A.i?0:f:f),a()};if(a){if(H){var m=r.addClass("observed").append(Ke(ot)).contents()[0],b=m[In]=new i(p);b.observe(m)}else if(_r>9||!hr){r.prepend(Ke(ot,Ke({c:on,dir:"ltr"},Ke(on,Ke(Bi))+Ke(on,Ke({c:Bi,style:"width: 200%; height: 200%"})))));var C=r[0][l][0][l][0],R=I(C[l][1]),P=I(C[l][0]),Z=I(P[0][l][0]),rr=C[s.oW],sr=C[s.oH],q,or,ar,Er,ye=2,Vr=U.nativeScrollbarSize,Pe=function(){P[oe](f)[ce](f),R[oe](f)[ce](f)},te=function(){or=0,q&&(rr=ar,sr=Er,p())},Jr=function(mr){return ar=C[s.oW],Er=C[s.oH],q=ar!=rr||Er!=sr,mr&&q&&!or?(w.cAF()(or),or=w.rAF()(te)):mr||te(),Pe(),mr&&(w.prvD(mr),w.stpP(mr)),!1},Xr={},Br={};bt(Br,B,[-((Vr.y+1)*ye),Vr.x*-ye,Vr.y*-ye,-((Vr.x+1)*ye)]),I(C).css(Br),P.on(Ue,Jr),R.on(Ue,Jr),r.on(v,function(){Jr(!1)}),Xr[K]=f,Xr[Mr]=f,Z.css(Xr),Pe()}else{var ee=Tt.attachEvent,_a=_r!==N;if(ee)r.prepend(Ke(ot)),kt(r,qe+ot)[0].attachEvent("onresize",p);else{var Fr=Tt.createElement(y.o);Fr.setAttribute(s.ti,"-1"),Fr.setAttribute(s.c,ot),Fr.onload=function(){var mr=this.contentDocument.defaultView;mr.addEventListener("resize",p),mr.document.documentElement.style.display="none"},Fr.type="text/html",_a&&r.prepend(Fr),Fr.data="about:blank",_a||r.prepend(Fr),r.on(v,p)}}if(r[0]===pn){var ta=function(){var mr=F.css("direction"),L={},kr=0,Hr=!1;return mr!==ns&&(mr==="ltr"?(L[dr]=0,L[se]=$r,kr=f):(L[dr]=$r,L[se]=0,kr=A.n?-f:A.i?0:f),fa.children().eq(0).css(L),fa[oe](kr)[ce](f),ns=mr,Hr=!0),Hr};ta(),ha(r,Ue,function(mr){return ta()&&da(),w.prvD(mr),w.stpP(mr),!1})}}else if(H){var m=r.contents()[0],gr=m[In];gr&&(gr.disconnect(),delete m[In])}else qa(r.children(qe+ot).eq(0))}}function rv(){if(S){var r=11,a=w.mO(),i=w.now(),v,l,f,p,m,b,C,R,P,Z;ri=function(rr){var sr=!1,q=!1,or,ar=[];return Q&&!zr&&($(rr,function(){or=this,v=or.target,l=or.attributeName,f=l===s.c,p=or.oldValue,m=v.className,Tr&&f&&!q&&p.indexOf(tn)>-1&&m.indexOf(tn)<0&&(b=Ps(!0),Ve.className=m.split(ve).concat(p.split(ve).filter(function(Er){return Er.match(b)})).join(ve),sr=q=!0),sr||(sr=f?Ts(p,m):l===s.s?p!==v[s.s].cssText:!0),ar.push(l)}),hi(ar),sr&&E.update(q||$r)),sr},ei=function(rr){var sr=!1,q;return Q&&!zr&&($(rr,function(){return q=this,sr=tv(q),!sr}),sr&&(R=w.now(),P=Za||$e,Z=function(){X||(i=R,D&&di(),P?da():E.update($r))},clearTimeout(C),r<=0||R-i>r||!P?Z():C=setTimeout(Z,r))),sr},yn=new a(ri),bn=new a(ei)}}function Cs(){S&&!Ca&&(yn.observe(Ve,{attributes:!0,attributeOldValue:!0,attributeFilter:ai}),bn.observe(D?Ja:Ze,{attributes:!0,attributeOldValue:!0,subtree:!D,childList:!D,characterData:!D,attributeFilter:D?xs:ai}),Ca=!0)}function li(){S&&Ca&&(yn.disconnect(),bn.disconnect(),Ca=!1)}function ev(){if(!zr){var r,a={w:pn[s.sW],h:pn[s.sH]};r=xt(a,ls),ls=a,r&&da({_hostSizeChanged:!0})}}function As(){yt&&Aa(!0)}function Os(){yt&&!ft.hasClass(ct)&&Aa(!1)}function av(){ra&&(Aa(!0),clearTimeout(gs),gs=setTimeout(function(){ra&&!X&&Aa(!1)},100))}function jt(r){return w.prvD(r),!1}function ui(r){if(!X){var a=r.target,i=I(r.target),v=I.inArray(a,ut);v>-1&&ut.splice(v,1),zs(function(l,f){i.is(f)&&da({_contentSizeChanged:!0})})}}function fi(r){r||fi(!0),Ie(F,Nt.split(ve)[0],av,!ra||r,!0),Ie(F,[Hi,Pi],[As,Os],!yt||r,!0),!Q&&!r&&F.one("mouseover",As)}function ws(){var r={};return G&&Wa&&(r.w=Oa(Wa.css(Ce+K)),r.h=Oa(Wa.css(Ce+Mr)),r.c=xt(r,$a),r.f=!0),$a=r,!!r.c}function Ts(r,a){var i=typeof a==y.s?a.split(ve):[],v=typeof r==y.s?r.split(ve):[],l=lv(v,i),f=Y(ln,l),p,m;if(f>-1&&l.splice(f,1),l[s.l]>0){for(m=Ps(!0,!0),p=0;p<l.length;p++)if(!l[p].match(m))return!0}return!1}function tv(r){var a=r.attributeName,i=r.target,v=r.type,l="closest";if(i===Ze)return a===null;if(v==="attributes"&&(a===s.c||a===s.s)&&!D){if(a===s.c&&I(i).hasClass(Ae))return Ts(r.oldValue,i.className);if(typeof i[l]!=y.f)return!0;if(i[l](qe+ot)!==null||i[l](qe+Ia)!==null||i[l](qe+qn)!==null)return!1}return!0}function nv(){if(zr)return!1;var r=Ds(),a=D&&$e&&!_n?ir.val().length:0,i=!Ca&&$e&&!D,v={},l,f,p,m;return i&&(l=Wr.css(Ne),v[Ne]=fr?se:dr,v[K]=$r,Wr.css(v)),m={w:r[s.sW]+a,h:r[s.sH]+a},i&&(v[Ne]=l,v[K]=Na,Wr.css(v)),f=ws(),p=xt(m,cs),cs=m,p||f}function iv(){if(!(zr||Ca)){var r,a,i,v=[],l=[{_elem:F,_attrs:ai.concat(":visible")},{_elem:D?ir:N,_attrs:xs}];return $(l,function(f,p){r=p._elem,r&&$(p._attrs,function(m,b){a=b.charAt(0)===":"?r.is(b):r.attr(b),i=bs[b],xt(a,i)&&v.push(b),bs[b]=a})}),hi(v),v[s.l]>0}}function sv(r){if(!Q)return!0;var a="flex-grow",i="flex-shrink",v="flex-basis",l=[K,Ce+K,Ma+K,ae+dr,ae+se,dr,se,"font-weight","word-spacing",a,i,v],f=[pe+dr,pe+se,Fe+dr+K,Fe+se+K],p=[Mr,Ce+Mr,Ma+Mr,ae+Rr,ae+Le,Rr,Le,"line-height",a,i,v],m=[pe+Rr,pe+Le,Fe+Rr+K,Fe+Le+K],b="s",C="v-s",R=Lt.x===b||Lt.x===C,P=Lt.y===b||Lt.y===C,Z=!1,rr=function(sr,q){for(var or=0;or<sr[s.l];or++)if(sr[or]===q)return!0;return!1};return P&&(Z=rr(p,r),!Z&&!Ir&&(Z=rr(m,r))),R&&!Z&&(Z=rr(l,r),!Z&&!Ir&&(Z=rr(f,r))),Z}function hi(r){r=r||Kn,$(r,function(a,i){if(w.inA(i,Kn)>-1){var v=ir.attr(i);k(v)==y.s?er.attr(i,v):er.removeAttr(i)}})}function di(){if(!zr){var r=!_n,a=xr.w,i=xr.h,v={},l=$e||r,f,p,m,b;return v[Ce+K]=B,v[Ce+Mr]=B,v[K]=$r,ir.css(v),f=Ja[s.oW],p=l?W.max(f,Ja[s.sW]-1):1,v[K]=$e?$r:Na,v[Ce+K]=Na,v[Mr]=$r,ir.css(v),m=Ja[s.oH],b=W.max(m,Ja[s.sH]-1),v[K]=p,v[Mr]=b,Ba.css(v),v[Ce+K]=a,v[Ce+Mr]=i,ir.css(v),{_originalWidth:f,_originalHeight:m,_dynamicWidth:p,_dynamicHeight:b}}}function da(r){clearTimeout(Xi),r=r||{},lt._hostSizeChanged|=r._hostSizeChanged,lt._contentSizeChanged|=r._contentSizeChanged,lt._force|=r._force;var a=w.now(),i=!!lt._hostSizeChanged,v=!!lt._contentSizeChanged,l=!!lt._force,f=r._changedOptions,p=Q&&!X&&!l&&!f&&a-Ji<Zi&&!Za&&!$e,m;if(p&&(Xi=setTimeout(da,Zi)),!(X||p||zr&&!f||Q&&!l&&(m=F.is(":hidden"))||F.css("display")==="inline")){Ji=a,lt={},J&&!(j.x&&j.y)?(o.x=0,o.y=0):o=He({},U.nativeScrollbarSize),xa={x:(o.x+(j.x?0:3))*3,y:(o.y+(j.y?0:3))*3},f=f||{};var b=function(){return xt.apply(this,[].slice.call(arguments).concat([l]))},C={x:er[oe](),y:er[ce]()},R=re.scrollbars,P=re.textarea,Z=R.visibility,rr=b(Z,us),sr=R.autoHide,q=b(sr,fs),or=R.clickScrolling,ar=b(or,hs),Er=R.dragScrolling,ye=b(Er,Xn),Vr=re.className,Pe=b(Vr,Yt),te=re.resize,Jr=b(te,ds)&&!G,Xr=re.paddingAbsolute,Br=b(Xr,is),ee=re.clipAlways,_a=b(ee,ss),Fr=re.sizeAutoCapable&&!G,ta=b(Fr,os),gr=re.nativeScrollbarsOverlaid.showNativeScrollbars,mr=b(gr,Gn),L=re.autoUpdate,kr=b(L,Jn),Hr=re.overflowBehavior,Ye=b(Hr,Lt,l),Va=P.dynWidth,mt=b(ys,Va),Se=P.dynHeight,wa=b(_s,Se);if(si=sr==="n",rt=sr==="s",ra=sr==="m",yt=sr==="l",ii=R.autoHideDelay,Zn=Yt,xn=te==="n",mn=te==="b",oi=te==="h",ci=te==="v",Fa=re.normalizeRTL,gr=gr&&j.x&&j.y,us=Z,fs=sr,hs=or,Xn=Er,Yt=Vr,ds=te,is=Xr,ss=ee,os=Fr,Gn=gr,Jn=L,Lt=He({},Hr),ys=Va,_s=Se,ga=ga||{x:!1,y:!1},Pe&&(_e(F,Zn+ve+ln),Gr(F,Vr!==N&&Vr!==null&&Vr.length>0?Vr:ln)),kr&&(L===!0||L===null&&hr?(li(),Dr.add(E)):(Dr.remove(E),Cs())),ta)if(Fr)if(Oe?Oe.show():(Oe=I(Ke(Gs)),Xe.before(Oe)),qr)ua.show();else{ua=I(Ke(Js)),dn=ua[0],Oe.before(ua);var Ta={w:-1,h:-1};gn(ua,function(){var Ct={w:dn[s.oW],h:dn[s.oH]};xt(Ct,Ta)&&(Q&&Za&&Ct.h>0||$e&&Ct.w>0||Q&&!Za&&Ct.h===0||!$e&&Ct.w===0)&&da(),Ta=Ct}),qr=!0,t!==null&&ua.css(Mr,t+"(100% + 1px)")}else qr&&ua.hide(),Oe&&Oe.hide();l&&(fa.find("*").trigger(Ue),qr&&ua.find("*").trigger(Ue)),m=m===N?F.is(":hidden"):m;var je=D?ir.attr("wrap")!=="off":!1,Jt=b(je,_n),Ge=F.css("direction"),we=b(Ge,ts),Qa=F.css("box-sizing"),Je=b(Qa,rs),Nr=mi(pe),le;try{le=qr?dn[s.bCR]():null}catch{return}fr=Ge==="rtl",Ir=Qa==="border-box";var ue=fr?dr:se,cr=fr?se:dr,na=!1,at=qr&&F.css(Ne)!=="none"?W.round(le.right-le.left)===0&&(Xr?!0:Ve[s.cW]-Ar>0):!1;if(Fr&&!at){var gt=Ve[s.oW],Ka=Oe.css(K);Oe.css(K,$r);var La=Ve[s.oW];Oe.css(K,Ka),na=gt!==La,na||(Oe.css(K,gt+1),La=Ve[s.oW],Oe.css(K,Ka),na=gt!==La)}var tr=(at||na)&&Fr&&!m,fe=b(tr,$e),Ya=!tr&&$e,Or=qr&&Fr&&!m?W.round(le.bottom-le.top)===0:!1,he=b(Or,Za),ia=!Or&&Za,Xt=tr&&Ir||!Ir,Cn=Or&&Ir||!Ir,sa=mi(Fe,"-"+K,!Xt,!Cn),Ea=mi(ae),z={},M={},Qr=function(){return{w:Ve[s.cW],h:Ve[s.cH]}},Te=function(){return{w:Xa[s.oW]+W.max(0,Ze[s.cW]-Ze[s.sW]),h:Xa[s.oH]+W.max(0,Ze[s.cH]-Ze[s.sH])}},yr=Ar=Nr.l+Nr.r,va=We=Nr.t+Nr.b;if(yr*=Xr?1:0,va*=Xr?1:0,Nr.c=b(Nr,jn),Lr=sa.l+sa.r,de=sa.t+sa.b,sa.c=b(sa,es),xe=Ea.l+Ea.r,Be=Ea.t+Ea.b,Ea.c=b(Ea,as),_n=je,ts=Ge,rs=Qa,$e=tr,Za=Or,jn=Nr,es=sa,as=Ea,we&&qr&&ua.css(Ne,cr),Nr.c||we||Br||fe||he||Je||ta){var Zr={},De={},tt=[Nr.t,Nr.r,Nr.b,Nr.l];bt(M,ae,[-Nr.t,-Nr.r,-Nr.b,-Nr.l]),Xr?(bt(Zr,B,tt),bt(D?De:z,pe)):(bt(Zr,B),bt(D?De:z,pe,tt)),Xe.css(Zr),ir.css(De)}xr=Te();var Pr=D?di():!1,oa=D&&b(Pr,ps),ka=D&&Pr?{w:Va?Pr._dynamicWidth:Pr._originalWidth,h:Se?Pr._dynamicHeight:Pr._originalHeight}:{};if(ps=Pr,Or&&(he||Br||Je||Nr.c||sa.c)?z[Mr]=$r:(he||Br)&&(z[Mr]=Na),tr&&(fe||Br||Je||Nr.c||sa.c||we)?(z[K]=$r,M[Ma+K]=Na):(fe||Br)&&(z[K]=Na,z[Ne]=B,M[Ma+K]=B),tr?(M[K]=$r,z[K]=Re._cssPropertyValue(K,"max-content intrinsic")||$r,z[Ne]=cr):M[K]=B,Or?M[Mr]=ka.h||Ze[s.cH]:M[Mr]=B,Fr&&Oe.css(M),Wr.css(z),z={},M={},i||v||oa||we||Je||Br||fe||tr||he||Or||mr||Ye||_a||Jr||rr||q||ye||ar||mt||wa||Jt){var ne="overflow",ja=ne+"-x",Ha=ne+"-y",nt="hidden",ca="visible";if(!J){var Pa={},Ai=ga.y&&Kt.ys&&!gr?j.y?er.css(ue):-o.y:0,dv=ga.x&&Kt.xs&&!gr?j.x?er.css(Le):-o.x:0;bt(Pa,B),er.css(Pa)}var it=Ds(),Zt={w:ka.w||it[s.cW],h:ka.h||it[s.cH]},Ms={w:it[s.sW],h:it[s.sH]};J||(Pa[Le]=ia?B:dv,Pa[ue]=Ya?B:Ai,er.css(Pa)),xr=Te();var $t=Qr(),Oi={w:$t.w-xe-Lr-(Ir?0:Ar),h:$t.h-Be-de-(Ir?0:We)},Ht={w:W.max((tr?Zt.w:Ms.w)+yr,Oi.w),h:W.max((Or?Zt.h:Ms.h)+va,Oi.h)};if(Ht.c=b(Ht,vs),vs=Ht,Fr){(Ht.c||Or||tr)&&(M[K]=Ht.w,M[Mr]=Ht.h,D||(Zt={w:it[s.cW],h:it[s.cH]}));var Ns={},Is=function(Kr){var be=ea(Kr),la=be._w_h,Ur=be._width_height,lr=Kr?tr:Or,ya=Kr?Lr:de,At=Kr?Ar:We,ki=Kr?xe:Be,En=xr[la]-ya-ki-(Ir?0:At);(!lr||!lr&&sa.c)&&(M[Ur]=Oi[la]-1),lr&&Zt[la]<En&&(!(Kr&&D)||!je)&&(D&&(Ns[Ur]=Oa(Ba.css(Ur))-1),M[Ur]-=1),Zt[la]>0&&(M[Ur]=W.max(1,M[Ur]))};Is(!0),Is(!1),D&&Ba.css(Ns),Oe.css(M)}tr&&(z[K]=Na),tr&&!Ir&&!Ca&&(z[Ne]="none"),Wr.css(z),z={};var st={w:it[s.sW],h:it[s.sH]};st.c=v=b(st,_t),_t=st,xr=Te(),$t=Qr(),i=b($t,Qt),Qt=$t;var wi=D&&(xr.w===0||xr.h===0),An=Et,Pt={},rn={},Rs={},Sa={},Sr={},Cr={},en={},Ws=Xa[s.bCR](),Bs=function(Kr){var be=ea(Kr),la=ea(!Kr),Ur=la._x_y,lr=be._x_y,ya=be._w_h,At=be._width_height,ki=Ue+be._Left_Top+"Max",En=Ws[At]?W.abs(Ws[At]-xr[ya]):0,Lv=An&&An[lr]>0&&pt[ki]===0;Pt[lr]=Hr[lr]==="v-s",rn[lr]=Hr[lr]==="v-h",Rs[lr]=Hr[lr]==="s",Sa[lr]=W.max(0,W.round((st[ya]-xr[ya])*100)/100),Sa[lr]*=wi||Lv&&En>0&&En<1?0:1,Sr[lr]=Sa[lr]>0,Cr[lr]=Pt[lr]||rn[lr]?Sr[Ur]&&!Pt[Ur]&&!rn[Ur]:Sr[lr],Cr[lr+"s"]=Cr[lr]?Rs[lr]||Pt[lr]:!1,en[lr]=Sr[lr]&&Cr[lr+"s"]};if(Bs(!0),Bs(!1),Sa.c=b(Sa,Et),Et=Sa,Sr.c=b(Sr,ga),ga=Sr,Cr.c=b(Cr,Kt),Kt=Cr,j.x||j.y){var pv="px solid transparent",Ti={},Ga={},On=l,Li;(Sr.x||Sr.y)&&(Ga.w=j.y&&Sr.y?st.w+Yr.y:B,Ga.h=j.x&&Sr.x?st.h+Yr.x:B,On=b(Ga,$i),$i=Ga),(Sr.c||Cr.c||st.c||we||fe||he||tr||Or||mr)&&(z[ae+cr]=z[Fe+cr]=B,Li=function(Kr){var be=ea(Kr),la=ea(!Kr),Ur=be._x_y,lr=Kr?Le:ue,ya=Kr?Or:tr;j[Ur]&&Sr[Ur]&&Cr[Ur+"s"]?(z[ae+lr]=ya?gr?B:Yr[Ur]:B,z[Fe+lr]=(!Kr||!ya)&&!gr?Yr[Ur]+pv:B):(Ga[la._w_h]=z[ae+lr]=z[Fe+lr]=B,On=!0)},J?aa(er,Fn,!gr):(Li(!0),Li(!1))),gr&&(Ga.w=Ga.h=B,On=!0),On&&!J&&(Ti[K]=Cr.y?Ga.w:B,Ti[Mr]=Cr.x?Ga.h:B,Wa||(Wa=I(Ke(js)),er.prepend(Wa)),Wa.css(Ti)),Wr.css(z)}var ie={},Zr={},Ei;if((i||Sr.c||Cr.c||st.c||Ye||Je||mr||we||_a||he)&&(ie[cr]=B,Ei=function(Kr){var be=ea(Kr),la=ea(!Kr),Ur=be._x_y,lr=be._X_Y,ya=Kr?Le:ue,At=function(){ie[ya]=B,ba[la._w_h]=0};Sr[Ur]&&Cr[Ur+"s"]?(ie[ne+lr]=Ue,gr||J?At():(ie[ya]=-(j[Ur]?Yr[Ur]:o[Ur]),ba[la._w_h]=j[Ur]?Yr[la._x_y]:0)):(ie[ne+lr]=B,At())},Ei(!0),Ei(!1),!J&&(xr.h<xa.x||xr.w<xa.y)&&(Sr.x&&Cr.x&&!j.x||Sr.y&&Cr.y&&!j.y)?(ie[pe+Rr]=xa.x,ie[ae+Rr]=-xa.x,ie[pe+cr]=xa.y,ie[ae+cr]=-xa.y):ie[pe+Rr]=ie[ae+Rr]=ie[pe+cr]=ie[ae+cr]=B,ie[pe+ue]=ie[ae+ue]=B,Sr.x&&Cr.x||Sr.y&&Cr.y||wi?D&&wi&&(Zr[ja]=Zr[Ha]=nt):(!ee||rn.x||Pt.x||rn.y||Pt.y)&&(D&&(Zr[ja]=Zr[Ha]=B),ie[ja]=ie[Ha]=ca),Xe.css(Zr),er.css(ie),ie={},(Sr.c||Je||fe||he)&&!(j.x&&j.y))){var wn=Ze[s.s];wn.webkitTransform="scale(1)",wn.display="run-in",Ze[s.oH],wn.display=B,wn.webkitTransform=B}if(z={},we||fe||he)if(fr&&tr){var _v=Wr.css(Ne),Fs=W.round(Wr.css(Ne,B).css(dr,B).position().left);Wr.css(Ne,_v);var yv=W.round(Wr.position().left);Fs!==yv&&(z[dr]=Fs)}else z[dr]=B;if(Wr.css(z),D&&v){var Da=uv();if(Da){var Us=$n===N?!0:Da._rows!==$n._rows,qs=Da._cursorRow,bv=Da._cursorColumn,xv=Da._widestRow,mv=Da._rows,gv=Da._columns,Cv=Da._cursorPosition,Av=Da._cursorMax,Vs=Cv>=Av&&ni,Tn={x:!je&&bv===gv&&qs===xv?Et.x:-1,y:(je?Vs||Us&&(An&&C.y===An.y):(Vs||Us)&&qs===mv)?Et.y:-1};C.x=Tn.x>-1?fr&&Fa&&A.i?0:Tn.x:C.x,C.y=Tn.y>-1?Tn.y:C.y}$n=Da}fr&&A.i&&j.y&&Sr.x&&Fa&&(C.x+=ba.w||0),tr&&F[oe](0),Or&&F[ce](0),er[oe](C.x)[ce](C.y);var Ov=Z==="v",wv=Z==="h",Tv=Z==="a",Ln=function(Kr,be){be=be===N?Kr:be,ks(!0,Kr,en.x),ks(!1,be,en.y)};aa(F,Rt,Cr.x||Cr.y),aa(F,Ii,Cr.x),aa(F,Ri,Cr.y),we&&!G&&aa(F,Ni,fr),G&&Gr(F,Wn),Jr&&(aa(F,Wn,xn),aa(ke,Bt,!xn),aa(ke,Ki,mn),aa(ke,Yi,oi),aa(ke,ji,ci)),(rr||Ye||Cr.c||Sr.c||mr)&&(gr?mr&&(_e(F,nn),gr&&Ln(!1)):Tv?Ln(en.x,en.y):Ov?Ln(!0):wv&&Ln(!1)),(q||mr)&&(fi(!yt&&!ra),Aa(si,!si)),(i||Sa.c||he||fe||Jr||Je||Br||mr||we)&&(bi(!0),pa(!0),bi(!1),pa(!1)),ar&&Hs(!0,or),ye&&Hs(!1,Er),Qe("onDirectionChanged",{isRTL:fr,dir:Ge},we),Qe("onHostSizeChanged",{width:Qt.w,height:Qt.h},i),Qe("onContentSizeChanged",{width:_t.w,height:_t.h},v),Qe("onOverflowChanged",{x:Sr.x,y:Sr.y,xScrollable:Cr.xs,yScrollable:Cr.ys,clipped:Cr.x||Cr.y},Sr.c||Cr.c),Qe("onOverflowAmountChanged",{x:Sa.x,y:Sa.y},Sa.c)}G&&$a&&(ga.c||$a.c)&&($a.f||ws(),j.y&&ga.x&&Wr.css(Ce+K,$a.w+Yr.y),j.x&&ga.y&&Wr.css(Ce+Mr,$a.h+Yr.x),$a.c=!1),Q&&f.updateOnLoad&&Ls(),Qe("onUpdated",{forced:l})}}function Ls(){D||zs(function(r,a){Wr.find(a).each(function(i,v){w.inA(v,ut)<0&&(ut.push(v),I(v).off(Yn,ui).on(Yn,ui))})})}function pi(r){var a=u._validate(r,u._template,!0,Ft);return Ft=He({},Ft,a._default),re=He({},re,a._prepared),a._prepared}function _i(r){var a="parent",i="os-resize-observer-host",v=sn+ve+cn,l=D?ve+cn:B,f=re.textarea.inheritedAttrs,p={},m=function(){var R=r?ir:F;$(p,function(P,Z){k(Z)==y.s&&(P==s.c?R.addClass(Z):R.attr(P,Z))})},b=[Ae,tn,Rn,Wn,Ni,Di,zi,Mi,nn,Rt,Ii,Ri,ln,sn,cn,Yt].join(ve),C={};F=F||(D?Tr?ir[a]()[a]()[a]()[a]():I(Ke(Rn)):ir),Wr=Wr||Ua(Un+l),er=er||Ua(vn+l),Xe=Xe||Ua(Bn+l),fa=fa||Ua(i),Ba=Ba||(D?Ua(Ys):N),Tr&&Gr(F,tn),r&&_e(F,b),f=k(f)==y.s?f.split(ve):f,w.isA(f)&&D&&$(f,function(R,P){k(P)==y.s&&(p[P]=r?F.attr(P):ir.attr(P))}),r?(Tr&&Q?(fa.children().remove(),$([Xe,er,Wr,Ba],function(R,P){P&&_e(P.removeAttr(s.s),Vn)}),Gr(F,D?Rn:Ae)):(qa(fa),Wr.contents().unwrap().unwrap().unwrap(),D&&(ir.unwrap(),qa(F),qa(Ba),m())),D&&ir.removeAttr(s.s),G&&_e(wt,Si)):(D&&(re.sizeAutoCapable||(C[K]=ir.css(K),C[Mr]=ir.css(Mr)),Tr||ir.addClass(cn).wrap(F),F=ir[a]().css(C)),Tr||(Gr(ir,D?v:Ae),F.wrapInner(Wr).wrapInner(er).wrapInner(Xe).prepend(fa),Wr=kt(F,qe+Un),er=kt(F,qe+vn),Xe=kt(F,qe+Bn),D&&(Wr.prepend(Ba),m())),J&&Gr(er,Fn),j.x&&j.y&&Gr(er,Wi),G&&Gr(wt,Si),pn=fa[0],Ve=F[0],Xa=Xe[0],pt=er[0],Ze=Wr[0],hi())}function vv(){var r=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],a=[],i,v,l=175,f="focus";function p(q){di(),E.update($r),q&&hr&&clearInterval(i)}function m(q){return ir[oe](A.i&&Fa?9999999:0),ir[ce](0),w.prvD(q),w.stpP(q),!1}function b(q){setTimeout(function(){X||p()},50)}function C(){ni=!0,Gr(F,f)}function R(){ni=!1,a=[],_e(F,f),p(!0)}function P(q){var or=q.keyCode;Y(or,r)<0&&(a[s.l]||(p(),i=setInterval(p,1e3/60)),Y(or,a)<0&&a.push(or))}function Z(q){var or=q.keyCode,ar=Y(or,a);Y(or,r)<0&&(ar>-1&&a.splice(ar,1),a[s.l]||p(!0))}function rr(q){Jn!==!0&&(q=q.originalEvent||q,sv(q.propertyName)&&E.update($r))}function sr(q){zr||(v!==N?clearTimeout(v):((rt||ra)&&Aa(!0),Gt()||Gr(F,nn),Qe("onScrollStart",q)),et||(pa(!0),pa(!1)),Qe("onScroll",q),v=setTimeout(function(){X||(clearTimeout(v),v=N,(rt||ra)&&Aa(!1),Gt()||_e(F,nn),Qe("onScrollStop",q))},l))}D?(_r>9||!hr?ha(ir,"input",p):ha(ir,[zn,Mn],[P,Z]),ha(ir,[Ue,"drop",f,f+"out"],[m,b,C,R])):ha(Wr,Nn,rr),ha(er,Ue,sr,!0)}function yi(r){var a=function(f){var p=f?Xs:Zs,m=Ua(Ia+ve+p,!0),b=Ua(Fi,m),C=Ua(qi,m);return!Tr&&!r&&(m.append(b),b.append(C)),{_scrollbar:m,_track:b,_handle:C}};function i(f){var p=ea(f),m=p._scrollbar,b=p._track,C=p._handle;Tr&&Q?$([m,b,C],function(R,P){_e(P.removeAttr(s.s),Vn)}):qa(m||a(f)._scrollbar)}var v,l;r?(i(!0),i()):(v=a(!0),l=a(),ht=v._scrollbar,fn=v._track,Ut=v._handle,dt=l._scrollbar,hn=l._track,qt=l._handle,Tr||(Xe.after(dt),Xe.after(ht)))}function Es(r){var a=ea(r),i=a._info,v=Vt.top!==Vt,l=a._x_y,f=a._X_Y,p=Ue+a._Left_Top,m="active",b="snapHandle",C="click",R=1,P=[16,17],Z,rr,sr,q;function or(L){return _r&&v?L["screen"+f]:w.page(L)[l]}function ar(L){return re.scrollbars[L]}function Er(){R=.5}function ye(){R=1}function Vr(L){w.stpP(L)}function Pe(L){Y(L.keyCode,P)>-1&&Er()}function te(L){Y(L.keyCode,P)>-1&&ye()}function Jr(L){var kr=L.originalEvent||L,Hr=kr.touches!==N;return zr||X||Gt()||!Xn||Hr&&!ar("touchSupport")?!1:w.mBtn(L)===1||Hr}function Xr(L){if(Jr(L)){var kr=i._trackLength,Hr=i._handleLength,Ye=i._maxScroll,Va=(or(L)-sr)*q,mt=Va/(kr-Hr),Se=Ye*mt;Se=isFinite(Se)?Se:0,fr&&r&&!A.i&&(Se*=-1),er[p](W.round(rr+Se)),et&&pa(r,rr+Se),_||w.prvD(L)}else Br(L)}function Br(L){if(L=L||L.originalEvent,Ie(ma,[Nt,Mt,zn,Mn,It],[Xr,Br,Pe,te,jt],!0),w.rAF()(function(){Ie(ma,C,Vr,!0,{_capture:!0})}),et&&pa(r,!0),et=!1,_e(ft,ct),_e(a._handle,m),_e(a._track,m),_e(a._scrollbar,m),rr=N,sr=N,q=1,ye(),Z!==N&&(E.scrollStop(),clearTimeout(Z),Z=N),L){var kr=Ve[s.bCR](),Hr=L.clientX>=kr.left&&L.clientX<=kr.right&&L.clientY>=kr.top&&L.clientY<=kr.bottom;Hr||Os(),(rt||ra)&&Aa(!1)}}function ee(L){Jr(L)&&_a(L)}function _a(L){rr=er[p](),rr=isNaN(rr)?0:rr,(fr&&r&&!A.n||!fr)&&(rr=rr<0?0:rr),q=gi()[l],sr=or(L),et=!ar(b),Gr(ft,ct),Gr(a._handle,m),Gr(a._scrollbar,m),Ie(ma,[Nt,Mt,It],[Xr,Br,jt]),w.rAF()(function(){Ie(ma,C,Vr,!1,{_capture:!0})}),(_r||!jr)&&w.prvD(L),w.stpP(L)}function Fr(L){if(Jr(L)){var kr=a._info._handleLength/Math.round(W.min(1,xr[a._w_h]/_t[a._w_h])*a._info._trackLength),Hr=W.round(xr[a._w_h]*kr),Ye=270*kr,Va=400*kr,mt=a._track.offset()[a._left_top],Se=L.ctrlKey,wa=L.shiftKey,Ta=wa&&Se,je=!0,Jt="linear",Ge,we,Qa=function(le){et&&pa(r,le)},Je=function(){Qa(),_a(L)},Nr=function(){if(!X){var le=(sr-mt)*q,ue=i._handleOffset,cr=i._trackLength,na=i._handleLength,at=i._maxScroll,gt=i._currentScroll,Ka=Ye*R,La=je?W.max(Va,Ka):Ka,tr=at*((le-na/2)/(cr-na)),fe=fr&&r&&(!A.i&&!A.n||Fa),Ya=fe?ue<le:ue>le,Or={},he={easing:Jt,step:function(ia){et&&(er[p](ia),pa(r,ia))}};tr=isFinite(tr)?tr:0,tr=fr&&r&&!A.i?at-tr:tr,wa?(er[p](tr),Ta?(tr=er[p](),er[p](gt),tr=fe&&A.i?at-tr:tr,tr=fe&&A.n?-tr:tr,Or[l]=tr,E.scroll(Or,He(he,{duration:130,complete:Je}))):Je()):(Ge=je?Ya:Ge,we=fe?Ge?ue+na>=le:ue<=le:Ge?ue<=le:ue+na>=le,we?(clearTimeout(Z),E.scrollStop(),Z=N,Qa(!0)):(Z=setTimeout(Nr,La),Or[l]=(Ge?"-=":"+=")+Hr,E.scroll(Or,He(he,{duration:Ka}))),je=!1)}};Se&&Er(),q=gi()[l],sr=w.page(L)[l],et=!ar(b),Gr(ft,ct),Gr(a._track,m),Gr(a._scrollbar,m),Ie(ma,[Mt,zn,Mn,It],[Br,Pe,te,jt]),Nr(),w.prvD(L),w.stpP(L)}}function ta(L){vi=!0,(rt||ra)&&Aa(!0)}function gr(L){vi=!1,(rt||ra)&&Aa(!1)}function mr(L){w.stpP(L)}ha(a._handle,Ot,ee),ha(a._track,[Ot,Hi,Pi],[Fr,ta,gr]),ha(a._scrollbar,Ot,mr),n&&ha(a._scrollbar,Nn,function(L){L.target===a._scrollbar[0]&&(bi(r),pa(r))})}function ks(r,a,i){var v=r?Di:zi,l=r?ht:dt;aa(F,v,!a),aa(l,Qi,!i)}function Aa(r,a){if(clearTimeout(ms),r)_e(ht,Wt),_e(dt,Wt);else{var i,v="active",l=function(){!vi&&!X&&(i=Ut.hasClass(v)||qt.hasClass(v),!i&&(rt||ra||yt)&&Gr(ht,Wt),!i&&(rt||ra||yt)&&Gr(dt,Wt))};ii>0&&a!==!0?ms=setTimeout(l,ii):l()}}function bi(r){var a={},i=ea(r),v=i._info,l=1e6,f=W.min(1,xr[i._w_h]/_t[i._w_h]);a[i._width_height]=W.floor(f*100*l)/l+"%",Gt()||i._handle.css(a),v._handleLength=i._handle[0]["offset"+i._Width_Height],v._handleLengthRatio=f}function pa(r,a){var i=k(a)==y.b,v=250,l=fr&&r,f=ea(r),p=f._info,m="translate(",b=Re._cssProperty("transform"),C=Re._cssProperty("transition"),R=r?er[oe]():er[ce](),P=a===N||i?R:a,Z=p._handleLength,rr=f._track[0]["offset"+f._Width_Height],sr=rr-Z,q={},or,ar,Er=(pt[Ue+f._Width_Height]-pt["client"+f._Width_Height])*(A.n&&l?-1:1),ye=function(Br){return isNaN(Br/Er)?0:W.max(0,W.min(1,Br/Er))},Vr=function(Br){var ee=sr*Br;return ee=isNaN(ee)?0:ee,ee=l&&!A.i?rr-Z-ee:ee,ee=W.max(0,ee),ee},Pe=ye(R),te=ye(P),Jr=Vr(te),Xr=Vr(Pe);p._maxScroll=Er,p._currentScroll=R,p._currentScrollRatio=Pe,c?(or=l?-(rr-Z-Jr):Jr,ar=r?m+or+"px, 0)":m+"0, "+or+"px)",q[b]=ar,n&&(q[C]=i&&W.abs(Jr-p._handleOffset)>1?cv(f._handle)+", "+(b+ve+v+"ms"):B)):q[f._left_top]=Jr,Gt()||(f._handle.css(q),c&&n&&i&&f._handle.one(Nn,function(){X||f._handle.css(C,B)})),p._handleOffset=Jr,p._snappedHandleOffset=Xr,p._trackLength=rr}function Hs(r,a){var i=a?"removeClass":"addClass",v=r?fn:Ut,l=r?hn:qt,f=r?Ui:Vi;v[i](f),l[i](f)}function ea(r){return{_width_height:r?K:Mr,_Width_Height:r?"Width":"Height",_left_top:r?dr:Rr,_Left_Top:r?"Left":"Top",_x_y:r?Dt:zt,_X_Y:r?"X":"Y",_w_h:r?"w":"h",_l_t:r?"l":"t",_track:r?fn:hn,_handle:r?Ut:qt,_scrollbar:r?ht:dt,_info:r?me:ge}}function xi(r){ke=ke||Ua(qn,!0),r?Tr&&Q?_e(ke.removeAttr(s.s),Vn):qa(ke):Tr||F.append(ke)}function ov(){var r=Vt.top!==Vt,a={},i={},v={},l;function f(C){if(m(C)){var R=b(C),P={};(oi||mn)&&(P[K]=i.w+(R.x-a.x)*v.x),(ci||mn)&&(P[Mr]=i.h+(R.y-a.y)*v.y),F.css(P),w.stpP(C)}else p(C)}function p(C){var R=C!==N;Ie(ma,[It,Nt,Mt],[jt,f,p],!0),_e(ft,ct),ke.releaseCapture&&ke.releaseCapture(),R&&(l&&Cs(),E.update($r)),l=!1}function m(C){var R=C.originalEvent||C,P=R.touches!==N;return zr||X?!1:w.mBtn(C)===1||P}function b(C){return _r&&r?{x:C.screenX,y:C.screenY}:w.page(C)}ha(ke,Ot,function(C){m(C)&&!xn&&(Ca&&(l=!0,li()),a=b(C),i.w=Ve[s.oW]-(Ir?0:Ar),i.h=Ve[s.oH]-(Ir?0:We),v=gi(),Ie(ma,[It,Nt,Mt],[jt,f,p]),Gr(ft,ct),ke.setCapture&&ke.setCapture(),w.prvD(C),w.stpP(C))})}function Qe(r,a,i){if(i!==!1)if(Q){var v=re.callbacks[r],l=r,f;l.substr(0,2)==="on"&&(l=l.substr(2,1).toLowerCase()+l.substr(3)),k(v)==y.f&&v.call(E,a),$(Ra,function(){f=this,k(f.on)==y.f&&f.on(l,a)})}else X||Qn.push({n:r,a})}function bt(r,a,i){a=a||B,i=i||[B,B,B,B],r[a+Rr]=i[0],r[a+se]=i[1],r[a+Le]=i[2],r[a+dr]=i[3]}function mi(r,a,i,v){return a=a||B,r=r||B,{t:v?0:Oa(F.css(r+Rr+a)),r:i?0:Oa(F.css(r+se+a)),b:v?0:Oa(F.css(r+Le+a)),l:i?0:Oa(F.css(r+dr+a))}}function cv(r){var a=Re._cssProperty("transition"),i=r.css(a);if(i)return i;for(var v="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",l=new RegExp(v),f=new RegExp("^("+v+")+$"),p="property duration timing-function delay".split(" "),m=[],b,C,R=0,P,Z=function(rr){if(b=[],!rr.match(f))return rr;for(;rr.match(l);)b.push(RegExp.$1),rr=rr.replace(l,B);return b};R<p[s.l];R++)for(C=Z(r.css(a+"-"+p[R])),P=0;P<C[s.l];P++)m[P]=(m[P]?m[P]+ve:B)+C[P];return m.join(", ")}function Ps(r,a){var i,v,l,f=function(p,m){if(l="",m&&typeof p==y.s)for(v=p.split(ve),i=0;i<v[s.l];i++)l+="|"+v[i]+"$";return l};return new RegExp("(^"+Ae+"([-_].+|)$)"+f(Yt,r)+f(Zn,a),"g")}function gi(){var r=Xa[s.bCR]();return{x:c&&1/(W.round(r.width)/Xa[s.oW])||1,y:c&&1/(W.round(r.height)/Xa[s.oH])||1}}function Ss(r){var a="ownerDocument",i="HTMLElement",v=r&&r[a]&&r[a].parentWindow||pr;return typeof v[i]==y.o?r instanceof v[i]:r&&typeof r==y.o&&r!==null&&r.nodeType===1&&typeof r.nodeName==y.s}function lv(r,a){var i=[],v=[],l,f;for(l=0;l<r.length;l++)i[r[l]]=!0;for(l=0;l<a.length;l++)i[a[l]]?delete i[a[l]]:i[a[l]]=!0;for(f in i)v.push(f);return v}function Oa(r,a){var i=a?parseFloat(r):parseInt(r,10);return isNaN(i)?0:i}function uv(){var r=Ja.selectionStart;if(r!==N){var a=ir.val(),i=a[s.l],v=a.split("\n"),l=v[s.l],f=a.substr(0,r).split("\n"),p=0,m=0,b=f[s.l],C=f[f[s.l]-1][s.l],R,P;for(P=0;P<v[s.l];P++)R=v[P][s.l],R>m&&(p=P+1,m=R);return{_cursorRow:b,_cursorColumn:C,_rows:l,_columns:m,_widestRow:p,_cursorPosition:r,_cursorMax:i}}}function Gt(){return Gn&&j.x&&j.y}function Ds(){return D?Ba[0]:Ze}function Ke(r,a){return"<div "+(r?k(r)==y.s?'class="'+r+'"':function(){var i,v=B;if(I.isPlainObject(r))for(i in r)v+=(i==="c"?"class":i)+'="'+r[i]+'" ';return v}():B)+">"+(a||B)+"</div>"}function Ua(r,a){var i=k(a)==y.b,v=i?F:a||F;return Tr&&!v[s.l]?null:Tr?v[i?"children":"find"](qe+r.replace(/\s/g,qe)).eq(0):I(Ke(r))}function Ci(r,a){for(var i=a.split(qe),v=0,l;v<i.length;v++){if(!r[s.hOP](i[v]))return;l=r[i[v]],v<i.length&&k(l)==y.o&&(r=l)}return l}function fv(r,a,i){for(var v=a.split(qe),l=v.length,f=0,p={},m=p;f<l;f++)p=p[v[f]]=f+1<l?{}:i;I.extend(r,m,!0)}function zs(r){var a=re.updateOnLoad;a=k(a)==y.s?a.split(ve):a,w.isA(a)&&!X&&$(a,r)}function xt(r,a,i){if(i)return i;if(k(r)==y.o&&k(a)==y.o){for(var v in r)if(v!=="c")if(r[s.hOP](v)&&a[s.hOP](v)){if(xt(r[v],a[v]))return!0}else return!0}else return r!==a;return!1}function He(){return I.extend.apply(this,[!0].concat([].slice.call(arguments)))}function Gr(r,a){return ur.addClass.call(r,a)}function _e(r,a){return ur.removeClass.call(r,a)}function aa(r,a,i){return i?Gr(r,a):_e(r,a)}function qa(r){return ur.remove.call(r)}function kt(r,a){return ur.find.call(r,a).eq(0)}E.sleep=function(){zr=!0},E.update=function(r){if(!X){var a,i,v=k(r)==y.s,l,f,p;return v?r===$r?(a=iv(),i=nv(),l=a||i,l&&da({_contentSizeChanged:i,_changedOptions:Q?N:re})):r===Hn?Ca?(f=ri(yn.takeRecords()),p=ei(bn.takeRecords())):f=E.update($r):r==="zoom"&&da({_hostSizeChanged:!0,_contentSizeChanged:!0}):(r=zr||r,zr=!1,(!E.update(Hn)||r)&&da({_force:r})),Ls(),l||f||p}},E.options=function(r,a){var i={},v;if(I.isEmptyObject(r)||!I.isPlainObject(r))if(k(r)==y.s)if(arguments.length>1)fv(i,r,a),v=pi(i);else return Ci(Ft,r);else return Ft;else v=pi(r);I.isEmptyObject(v)||da({_changedOptions:v})},E.destroy=function(){if(!X){Dr.remove(E),li(),gn(fa),gn(ua);for(var r in Ra)E.removeExt(r);for(;ti[s.l]>0;)ti.pop()();fi(!0),Oe&&qa(Oe),Wa&&qa(Wa),qr&&qa(ua),yi(!0),xi(!0),_i(!0);for(var a=0;a<ut[s.l];a++)I(ut[a]).off(Yn,ui);ut=N,X=!0,zr=!0,za(O,0),Qe("onDestroyed")}},E.scroll=function(r,a,i,v){if(arguments.length===0||r===N){var l=me,f=ge,p=Fa&&fr&&A.i,m=Fa&&fr&&A.n,b=l._currentScroll,C=l._currentScrollRatio,R=l._maxScroll;return C=p?1-C:C,b=p?R-b:b,b*=m?-1:1,R*=m?-1:1,{position:{x:b,y:f._currentScroll},ratio:{x:C,y:f._currentScrollRatio},max:{x:R,y:f._maxScroll},handleOffset:{x:l._handleOffset,y:f._handleOffset},handleLength:{x:l._handleLength,y:f._handleLength},handleLengthRatio:{x:l._handleLengthRatio,y:f._handleLengthRatio},trackLength:{x:l._trackLength,y:f._trackLength},snappedHandleOffset:{x:l._snappedHandleOffset,y:f._snappedHandleOffset},isRTL:fr,isRTLNormalized:Fa}}E.update(Hn);var P=Fa,Z=[Dt,dr,"l"],rr=[zt,Rr,"t"],sr=["+=","-=","*=","/="],q=k(a)==y.o,or=q?a.complete:v,ar,Er={},ye={},Vr,Pe,te,Jr="end",Xr="begin",Br="center",ee="nearest",_a="always",Fr="never",ta="ifneeded",gr=s.l,mr,L,kr,Hr,Ye,Va=[Dt,zt,"xy","yx"],mt=[Xr,Jr,Br,ee],Se=[_a,Fr,ta],wa=r[s.hOP]("el"),Ta=wa?r.el:r,je=Ta instanceof I||vt?Ta instanceof vt:!1,Jt=je?!1:Ss(Ta),Ge=function(){Vr&&pa(!0),Pe&&pa(!1)},we=k(or)!=y.f?N:function(){Ge(),or()};function Qa(z,M){for(ar=0;ar<M[gr];ar++)if(z===M[ar])return!0;return!1}function Je(z,M){var Qr=z?Z:rr;if(M=k(M)==y.s||k(M)==y.n?[M,M]:M,w.isA(M))return z?M[0]:M[1];if(k(M)==y.o){for(ar=0;ar<Qr[gr];ar++)if(Qr[ar]in M)return M[Qr[ar]]}}function Nr(z,M){var Qr=k(M)==y.s,Te,yr,va=z?me:ge,Zr=va._currentScroll,De=va._maxScroll,tt=" * ",Pr,oa=fr&&z,ka=oa&&A.n&&!P,ne="replace",ja=eval,Ha;if(Qr?(M[gr]>2&&(Ha=M.substr(0,2),Y(Ha,sr)>-1&&(Te=Ha)),M=Te?M.substr(2):M,M=M[ne](/min/g,0)[ne](/</g,0)[ne](/max/g,(ka?"-":B)+Na)[ne](/>/g,(ka?"-":B)+Na)[ne](/px/g,B)[ne](/%/g,tt+De*(oa&&A.n?-1:1)/100)[ne](/vw/g,tt+xr.w)[ne](/vh/g,tt+xr.h),yr=Oa(isNaN(M)?Oa(ja(M),!0).toFixed():M)):yr=M,yr!==N&&!isNaN(yr)&&k(yr)==y.n){var nt=P&&oa,ca=Zr*(nt&&A.n?-1:1),Pa=nt&&A.i,Ai=nt&&A.n;switch(ca=Pa?De-ca:ca,Te){case"+=":Pr=ca+yr;break;case"-=":Pr=ca-yr;break;case"*=":Pr=ca*yr;break;case"/=":Pr=ca/yr;break;default:Pr=yr;break}Pr=Pa?De-Pr:Pr,Pr*=Ai?-1:1,Pr=oa&&A.n?W.min(0,W.max(De,Pr)):W.max(0,W.min(De,Pr))}return Pr===Zr?N:Pr}function le(z,M,Qr,Te){var yr=[Qr,Qr],va=k(z),Zr,De;if(va==M)z=[z,z];else if(va==y.a){if(Zr=z[gr],Zr>2||Zr<1)z=yr;else for(Zr===1&&(z[1]=Qr),ar=0;ar<Zr;ar++)if(De=z[ar],k(De)!=M||!Qa(De,Te)){z=yr;break}}else va==y.o?z=[z[Dt]||Qr,z[zt]||Qr]:z=yr;return{x:z[0],y:z[1]}}function ue(z){var M=[],Qr,Te,yr=[Rr,se,Le,dr];for(ar=0;ar<z[gr]&&ar!==yr[gr];ar++)Qr=z[ar],Te=k(Qr),Te==y.b?M.push(Qr?Oa(Ye.css(ae+yr[ar])):0):M.push(Te==y.n?Qr:0);return M}if(je||Jt){var cr=wa?r.margin:0,na=wa?r.axis:0,at=wa?r.scroll:0,gt=wa?r.block:0,Ka=[0,0,0,0],La=k(cr),tr;if(Ye=je?Ta:I(Ta),Ye[gr]>0){La==y.n||La==y.b?cr=ue([cr,cr,cr,cr]):La==y.a?(tr=cr[gr],tr===2?cr=ue([cr[0],cr[1],cr[0],cr[1]]):tr>=4?cr=ue(cr):cr=Ka):La==y.o?cr=ue([cr[Rr],cr[se],cr[Le],cr[dr]]):cr=Ka,mr=Qa(na,Va)?na:"xy",L=le(at,y.s,_a,Se),kr=le(gt,y.s,Xr,mt),Hr=cr;var fe={l:me._currentScroll,t:ge._currentScroll},Ya=Xe.offset(),Or=Ye.offset(),he={x:L.x==Fr||mr==zt,y:L.y==Fr||mr==Dt};Or[Rr]-=Hr[0],Or[dr]-=Hr[3];var ia={x:W.round(Or[dr]-Ya[dr]+fe.l),y:W.round(Or[Rr]-Ya[Rr]+fe.t)};if(fr&&(!A.n&&!A.i&&(ia.x=W.round(Ya[dr]-Or[dr]+fe.l)),A.n&&P&&(ia.x*=-1),A.i&&P&&(ia.x=W.round(Ya[dr]-Or[dr]+(me._maxScroll-fe.l)))),kr.x!=Xr||kr.y!=Xr||L.x==ta||L.y==ta||fr){var Xt=Ye[0],Cn=c?Xt[s.bCR]():{width:Xt[s.oW],height:Xt[s.oH]},sa={w:Cn[K]+Hr[3]+Hr[1],h:Cn[Mr]+Hr[0]+Hr[2]},Ea=function(z){var M=ea(z),Qr=M._w_h,Te=M._left_top,yr=M._x_y,va=kr[yr]==(z&&fr?Xr:Jr),Zr=kr[yr]==Br,De=kr[yr]==ee,tt=L[yr]==Fr,Pr=L[yr]==ta,oa=xr[Qr],ka=Ya[Te],ne=sa[Qr],ja=Or[Te],Ha=Zr?2:1,nt=ja+ne/2,ca=ka+oa/2,Pa=ne<=oa&&ja>=ka&&ja+ne<=ka+oa;tt?he[yr]=!0:he[yr]||((De||Pr)&&(he[yr]=Pr?Pa:!1,va=ne<oa?nt>ca:nt<ca),ia[yr]-=va||Zr?(oa/Ha-ne/Ha)*(z&&fr&&P?-1:1):0)};Ea(!0),Ea(!1)}he.y&&delete ia.y,he.x&&delete ia.x,r=ia}}Er[oe]=Nr(!0,Je(!0,r)),Er[ce]=Nr(!1,Je(!1,r)),Vr=Er[oe]!==N,Pe=Er[ce]!==N,(Vr||Pe)&&(a>0||q)?q?(a.complete=we,er.animate(Er,a)):(te={duration:a,complete:we},w.isA(i)||I.isPlainObject(i)?(ye[oe]=i[0]||i.x,ye[ce]=i[1]||i.y,te.specialEasing=ye):te.easing=i,er.animate(Er,te)):(Vr&&er[oe](Er[oe]),Pe&&er[ce](Er[ce]),Ge())},E.scrollStop=function(r,a,i){return er.stop(r,a,i),E},E.getElements=function(r){var a={target:Ja,host:Ve,padding:Xa,viewport:pt,content:Ze,scrollbarHorizontal:{scrollbar:ht[0],track:fn[0],handle:Ut[0]},scrollbarVertical:{scrollbar:dt[0],track:hn[0],handle:qt[0]},scrollbarCorner:ke[0]};return k(r)==y.s?Ci(a,r):a},E.getState=function(r){function a(v){if(!I.isPlainObject(v))return v;var l=He({},v),f=function(p,m){l[s.hOP](p)&&(l[m]=l[p],delete l[p])};return f("w",K),f("h",Mr),delete l.c,l}var i={destroyed:!!a(X),sleeping:!!a(zr),autoUpdate:a(!Ca),widthAuto:a($e),heightAuto:a(Za),padding:a(jn),overflowAmount:a(Et),hideOverflow:a(Kt),hasOverflow:a(ga),contentScrollSize:a(_t),viewportSize:a(xr),hostSize:a(Qt),documentMixed:a(jr)};return k(r)==y.s?Ci(i,r):i},E.ext=function(r){var a,i=$s.split(" "),v=0;if(k(r)==y.s){if(Ra[s.hOP](r))for(a=He({},Ra[r]);v<i.length;v++)delete a[i[v]]}else{a={};for(v in Ra)a[v]=He({},E.ext(v))}return a},E.addExt=function(r,a){var i=g.extension(r),v,l,f,p,m=!0;if(i){if(Ra[s.hOP](r))return E.ext(r);if(v=i.extensionFactory.call(E,He({},i.defaultOptions),I,w),v&&(f=v.contract,k(f)==y.f&&(p=f(pr),m=k(p)==y.b?p:m),m))return Ra[r]=v,l=v.added,k(l)==y.f&&l(a),E.ext(r)}else console.warn('A extension with the name "'+r+"\" isn't registered.")},E.removeExt=function(r){var a=Ra[r],i;return a?(delete Ra[r],i=a.removed,k(i)==y.f&&i(),!0):!1};function hv(r,a,i){Gi=U.defaultOptions,J=U.nativeScrollbarStyling,o=He({},U.nativeScrollbarSize),j=He({},U.nativeScrollbarIsOverlaid),Yr=He({},U.overlayScrollbarDummySize),A=He({},U.rtlScrollBehavior),pi(He({},Gi,a)),t=U.cssCalc,_r=U.msie,hr=U.autoUpdateRecommended,n=U.supportTransition,c=U.supportTransform,_=U.supportPassiveEvents,H=U.supportResizeObserver,S=U.supportMutationObserver,U.restrictedMeasuring,ma=I(r.ownerDocument),Tt=ma[0],un=I(Tt.defaultView||Tt.parentWindow),Vt=un[0],wt=kt(ma,"html"),ft=kt(wt,"body"),ir=I(r),Ja=ir[0],D=ir.is("textarea"),G=ir.is("body"),jr=Tt!==wr,Tr=D?ir.hasClass(sn)&&ir.parent().hasClass(Un):ir.hasClass(Ae)&&ir.children(qe+Bn)[s.l];var v,l;return j.x&&j.y&&!re.nativeScrollbarsOverlaid.initialize?(Q=!0,Qe("onInitializationWithdrawn"),Tr&&(_i(!0),yi(!0),xi(!0)),Q=!1,X=!0,zr=!0,E):(G&&(v={},v.l=W.max(ir[oe](),wt[oe](),un[oe]()),v.t=W.max(ir[ce](),wt[ce](),un[ce]()),l=function(){er.removeAttr(s.ti),Ie(er,Ot,l,!0,!0)}),_i(),yi(),xi(),vv(),Es(!0),Es(!1),ov(),rv(),gn(fa,ev),G&&(er[oe](v.l)[ce](v.t),wr.activeElement==r&&pt.focus&&(er.attr(s.ti,"-1"),pt.focus(),Ie(er,Ot,l,!1,!0))),E.update($r),Q=!0,Qe("onInitialized"),$(Qn,function(f,p){Qe(p.n,p.a)}),Qn=[],k(i)==y.s&&(i=[i]),w.isA(i)?$(i,function(f,p){E.addExt(p)}):I.isPlainObject(i)&&$(i,function(f,p){E.addExt(f,p)}),setTimeout(function(){n&&!X&&Gr(F,Mi)},333),E)}return g.valid(hv(O,V,br))&&za(O,E),E}return g=pr[an]=function(O,V,br){if(arguments[s.l]===0)return this;var U=[],Dr=I.isPlainObject(V),k,Y;return O?(O=O[s.l]!=N?O:[O[0]||O],d(),O[s.l]>0&&(Dr?I.each(O,function($,E){k=E,k!==N&&U.push(nr(k,V,br,x,e))}):I.each(O,function($,E){k=za(E),(V==="!"&&g.valid(k)||w.type(V)==y.f&&V(E,k)||V===N)&&U.push(k)}),Y=U[s.l]===1?U[0]:U),Y):Dr||!V?Y:U},g.globals=function(){d();var O=I.extend(!0,{},x);return delete O.msie,O},g.defaultOptions=function(O){d();var V=x.defaultOptions;if(O===N)return I.extend(!0,{},V);x.defaultOptions=I.extend(!0,{},V,u._validate(O,u._template,!0,V)._default)},g.valid=function(O){return O instanceof g&&!O.getState().destroyed},g.extension=function(O,V,br){var U=w.type(O)==y.s,Dr=arguments[s.l],k=0;if(Dr<1||!U)return I.extend(!0,{length:h[s.l]},h);if(U){if(w.type(V)==y.f)h.push({name:O,extensionFactory:V,defaultOptions:br});else for(;k<h[s.l];k++)if(h[k].name===O)if(Dr>1)h.splice(k,1);else return I.extend(!0,{},h[k])}},g}();return vt&&vt.fn&&(vt.fn.overlayScrollbars=function(g,x){var e=this;return vt.isPlainObject(g)?(vt.each(e,function(){kn(this,g,x)}),e):kn(e,g)}),kn})})(Qs);var Hv=Qs.exports;const Sv=kv(Hv);export{Sv as O,kv as a,Ev as c,Pv as g};
