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