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