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

overlayscrollbars

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overlayscrollbars - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

4

browser/overlayscrollbars.browser.es5.min.js
/*!
* OverlayScrollbars
* Version: 2.0.3
* Version: 2.1.0
*

@@ -11,2 +11,2 @@ * Copyright (c) Rene Haas | KingSora.

var OverlayScrollbarsGlobal=function(n){"use strict";function r(n,t){if(m(n))for(var e=0;e<n.length&&!1!==t(n[e],e,n);e++);else n&&r(Object.keys(n),(function(r){return t(n[r],r,n)}));return n}function t(n,t){var e=p(t);if(g(t)||e){var i=e?"":{};if(n){var o=window.getComputedStyle(n,null);i=e?zn(n,o,t):t.reduce((function(r,t){return r[t]=zn(n,o,t),r}),i)}return i}n&&r(P(t),(function(r){return Pn(n,r,t[r])}))}var e,i,o=function(n,r){var t,e=n.v,i=n.o,o=n.u,u=e,c=function(n,r){var e=u,c=n,a=r||(i?!i(e,c):e!==c);return(a||o)&&(u=c,t=e),[u,a,t]};return[r?function(n){return c(r(u,t),n)}:c,function(n){return[u,!!n,t]}]},u=function(){return"undefined"!=typeof window},c=u()&&Node.ELEMENT_NODE,a=Object.prototype,f=a.toString,l=a.hasOwnProperty,d=function(n){return void 0===n},v=function(n){return null===n},s=function(n){return d(n)||v(n)?""+n:f.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},h=function(n){return"number"==typeof n},p=function(n){return"string"==typeof n},w=function(n){return"boolean"==typeof n},b=function(n){return"function"==typeof n},g=function(n){return Array.isArray(n)},y=function(n){return"object"==typeof n&&!g(n)&&!v(n)},m=function(n){var r=!!n&&n.length,t=h(r)&&r>-1&&r%1==0;return!(!(g(n)||!b(n)&&t)||r>0&&y(n)&&!(r-1 in n))},x=function(n){if(!n||!y(n)||"object"!==s(n))return!1;var r,t="constructor",e=n[t],i=e&&e.prototype,o=l.call(n,t),u=i&&l.call(i,"isPrototypeOf");if(e&&!o&&!u)return!1;for(r in n);return d(r)||l.call(n,r)},O=function(n){var r=HTMLElement;return!!n&&(r?n instanceof r:n.nodeType===c)},S=function(n){var r=Element;return!!n&&(r?n instanceof r:n.nodeType===c)},L=function(n,r,t){return n.indexOf(r,t)},M=function(n,r,t){return t||p(r)||!m(r)?n.push(r):Array.prototype.push.apply(n,r),n},C=function(n){var t=Array.from,e=[];return t&&n?t(n):(n instanceof Set?n.forEach((function(n){M(e,n)})):r(n,(function(n){M(e,n)})),e)},E=function(n){return!!n&&0===n.length},T=function(n,t,e){r(n,(function(n){return n&&n.apply(void 0,t||[])})),!e&&(n.length=0)},z=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},P=function(n){return n?Object.keys(n):[]},A=function n(t,e,i,o,u,c,a){var f=[e,i,o,u,c,a];return"object"==typeof t&&!v(t)||b(t)||(t={}),r(f,(function(e){r(P(e),(function(r){var i=e[r];if(t===i)return!0;var o=g(i);if(i&&(x(i)||o)){var u=t[r],c=u;o&&!g(u)?c=[]:o||x(u)||(c={}),t[r]=n(c,i)}else t[r]=i}))})),t},R=function(n){for(var r in n)return!1;return!0},H=function(n,r,t,e){if(d(e))return t?t[n]:r;t&&(p(e)||h(e))&&(t[n]=e)},B=function(n,r,t){if(d(t))return n?n.getAttribute(r):null;n&&n.setAttribute(r,t)},j=function(n,r,t,e){if(t){var i=B(n,r)||"",o=new Set(i.split(" "));o[e?"add":"delete"](t),B(n,r,C(o).join(" ").trim())}},k=function(n,r){n&&n.removeAttribute(r)},D=function(n,r){return H("scrollLeft",0,n,r)},N=function(n,r){return H("scrollTop",0,n,r)},_=u()&&Element.prototype,I=function(n,r){var t=[],e=r?S(r)?r:null:document;return e?M(t,e.querySelectorAll(n)):t},Y=function(n,r){return!!S(n)&&(_.matches||_.msMatchesSelector).call(n,r)},W=function(n){return n?C(n.childNodes):[]},X=function(n){return n?n.parentElement:null},F=function(n,r){if(S(n)){var t=_.closest;if(t)return t.call(n,r);do{if(Y(n,r))return n;n=X(n)}while(n)}return null},J=function(n,r,t){var e=n&&F(n,r),i=n&&function(n,r){var t=r?S(r)?r:null:document;return t?t.querySelector(n):null}(t,e),o=F(i,r)===e;return!(!e||!i)&&(e===n||i===n||o&&F(F(n,t),r)!==e)},K=function(n,t,e){if(e&&n){var i,o=t;m(e)?(i=document.createDocumentFragment(),r(e,(function(n){n===o&&(o=n.previousSibling),i.appendChild(n)}))):i=e,t&&(o?o!==t&&(o=o.nextSibling):o=n.firstChild),n.insertBefore(i,o||null)}},V=function(n,r){K(n,null,r)},G=function(n,r){K(X(n),n,r)},$=function(n,r){K(X(n),n&&n.nextSibling,r)},U=function n(t){if(m(t))r(C(t),(function(r){return n(r)}));else if(t){var e=X(t);e&&e.removeChild(t)}},Z=function(n){var r=document.createElement("div");return n&&B(r,"class",n),r},q=function(n){var t=Z();return t.innerHTML=n.trim(),r(W(t),(function(n){return U(n)}))},Q=function(n){return n.charAt(0).toUpperCase()+n.slice(1)},nn=["-webkit-","-moz-","-o-","-ms-"],rn=["WebKit","Moz","O","MS","webkit","moz","o","ms"],tn={},en={},on=function(n){if(u()){var t=tn[n]||window[n];return z(tn,n)||(r(rn,(function(r){return!(t=t||window[r+Q(n)])})),tn[n]=t),t}},un=on("MutationObserver"),cn=on("IntersectionObserver"),an=on("ResizeObserver"),fn=on("cancelAnimationFrame"),ln=on("requestAnimationFrame"),dn=u()&&window.setTimeout,vn=u()&&window.clearTimeout,sn=function(n,t,e,i){if(n&&t){var o=!0;return r(e,(function(r){(i?i(n[r]):n[r])!==(i?i(t[r]):t[r])&&(o=!1)})),o}return!1},hn=function(n,r){return sn(n,r,["w","h"])},pn=function(n,r){return sn(n,r,["x","y"])},wn=function(n,r){return sn(n,r,["t","r","b","l"])},bn=function(n,r,t){return sn(n,r,["width","height"],t&&function(n){return Math.round(n)})},gn=function(){},yn=function(n){var r,t=n?dn:ln,e=n?vn:fn;return[function(i){e(r),r=t(i,b(n)?n():n)},function(){return e(r)}]},mn=function(n,r){var t,e,i,o=gn,u=r||{},c=u.g,a=u.p,f=u._,l=function(r){o(),vn(t),t=e=void 0,o=gn,n.apply(this,r)},d=function(n){return f&&e?f(e,n):n},v=function(){o!==gn&&l(d(i)||i)},s=function(){var n=C(arguments),r=b(c)?c():c,u=h(r)&&r>=0;if(u){var f=b(a)?a():a,s=h(f)&&f>=0,p=r>0?dn:ln,w=r>0?vn:fn,g=d(n),y=g||n,m=l.bind(0,y);o();var x=p(m,r);o=function(){return w(x)},s&&!t&&(t=dn(v,f)),e=i=y}else l(n)};return s.m=v,s},xn=Math.max,On=function(){return performance.now()},Sn=/[^\x20\t\r\n\f]+/g,Ln=function(n,r,t){var e,i=n&&n.classList,o=0,u=!1;if(i&&r&&p(r)){var c=r.match(Sn)||[];for(u=c.length>0;e=c[o++];)u=!!t(i,e)&&u}return u},Mn=function(n,r){Ln(n,r,(function(n,r){return n.remove(r)}))},Cn=function(n,r){return Ln(n,r,(function(n,r){return n.add(r)})),Mn.bind(0,n,r)},En={opacity:1,zindex:1},Tn=function(n,r){var t=r?parseFloat(n):parseInt(n,10);return t==t?t:0},zn=function(n,r,t){return null!=r?r[t]||r.getPropertyValue(t):n.style[t]},Pn=function(n,r,t){try{var e=n.style;d(e[r])?e.setProperty(r,t):e[r]=function(n,r){return!En[n.toLowerCase()]&&h(r)?r+"px":r}(r,t)}catch(a){}},An=function(n){return"rtl"===t(n,"direction")},Rn=function(n,r,e){var i=r?r+"-":"",o=e?"-"+e:"",u=i+"top"+o,c=i+"right"+o,a=i+"bottom"+o,f=i+"left"+o,l=t(n,[u,c,a,f]);return{t:Tn(l[u],!0),r:Tn(l[c],!0),b:Tn(l[a],!0),l:Tn(l[f],!0)}},Hn=Math.round,Bn={w:0,h:0},jn=function(n){return n?{w:n.offsetWidth,h:n.offsetHeight}:Bn},kn=function(n){return n?{w:n.clientWidth,h:n.clientHeight}:Bn},Dn=function(n){return n?{w:n.scrollWidth,h:n.scrollHeight}:Bn},Nn=function(n){var r=parseFloat(t(n,"height"))||0,e=parseFloat(t(n,"width"))||0;return{w:e-Hn(e),h:r-Hn(r)}},_n=function(n){return n.getBoundingClientRect()},In=function(){if(d(e)){e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}}return e},Yn=function(n){return n.split(" ")},Wn=function(n,t,e,i){r(Yn(t),(function(r){n.removeEventListener(r,e,i)}))},Xn=function(n,t,e,i){var o,u=In(),c=null!=(o=u&&i&&i.S)?o:u,a=i&&i.C||!1,f=i&&i.O||!1,l=[],d=u?{passive:c,capture:a}:a;return r(Yn(t),(function(r){var t=f?function(i){n.removeEventListener(r,t,a),e&&e(i)}:e;M(l,Wn.bind(null,n,r,t,a)),n.addEventListener(r,t,d)})),T.bind(0,l)},Fn=function(n){return n.stopPropagation()},Jn=function(n){return n.preventDefault()},Kn={x:0,y:0},Vn=function(n){var r=n?_n(n):0;return r?{x:r.left+window.pageYOffset,y:r.top+window.pageXOffset}:Kn},Gn=function(n,t){r(g(t)?t:[t],n)},$n=function(n){var t=new Map,e=function(n,r){if(n){var e=t.get(n);Gn((function(n){e&&e[n?"delete":"clear"](n)}),r)}else t.forEach((function(n){n.clear()})),t.clear()},i=function n(i,o){if(p(i)){var u=t.get(i)||new Set;return t.set(i,u),Gn((function(n){b(n)&&u.add(n)}),o),e.bind(0,i,o)}w(o)&&o&&e();var c=P(i),a=[];return r(c,(function(r){var t=i[r];t&&M(a,n(r,t))})),T.bind(0,a)};return i(n||{}),[i,e,function(n,e){var i=t.get(n);r(C(i),(function(n){e&&!E(e)?n.apply(0,e):n()}))}]},Un=function(n){return JSON.stringify(n,(function(n,r){if(b(r))throw new Error;return r}))},Zn={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},qn=function n(t,e){var i={};return r(P(e).concat(P(t)),(function(r){var o=t[r],u=e[r];if(y(o)&&y(u))A(i[r]={},n(o,u)),R(i[r])&&delete i[r];else if(z(e,r)&&u!==o){var c=!0;if(g(o)||g(u))try{Un(o)===Un(u)&&(c=!1)}catch(d){}c&&(i[r]=u)}})),i},Qn="os-environment",nr=Qn+"-flexbox-glue",rr=nr+"-max",tr="data-overlayscrollbars",er="data-overlayscrollbars-initialize",ir=tr+"-overflow-x",or=tr+"-overflow-y",ur="overflowVisible",cr="scrollbarHidden",ar="updating",fr="os-padding",lr="os-viewport",dr=lr+"-arrange",vr="os-content",sr=lr+"-scrollbar-hidden",hr="os-overflow-visible",pr="os-size-observer",wr=pr+"-appear",br=pr+"-listener",gr=br+"-scroll",yr=br+"-item",mr=yr+"-final",xr="os-trinsic-observer",Or="os-theme-none",Sr="os-scrollbar",Lr=Sr+"-rtl",Mr=Sr+"-horizontal",Cr=Sr+"-vertical",Er=Sr+"-track",Tr=Sr+"-handle",zr=Sr+"-visible",Pr=Sr+"-cornerless",Ar=Sr+"-transitionless",Rr=Sr+"-interaction",Hr=Sr+"-unusable",Br=Sr+"-auto-hidden",jr=Sr+"-wheel",kr=Er+"-interactive",Dr=Tr+"-interactive",Nr={},_r=function(){return Nr},Ir="__osOptionsValidationPlugin",Yr=3333333,Wr="scroll",Xr="__osSizeObserverPlugin",Fr=function(){var n;return(n={})[Xr]={T:function(n,r,e){var i=q('<div class="'+yr+'" dir="ltr"><div class="'+yr+'"><div class="'+mr+'"></div></div><div class="'+yr+'"><div class="'+mr+'" style="width: 200%; height: 200%"></div></div></div>');V(n,i),Cn(n,gr);var o,u=i[0],c=u.lastChild,a=u.firstChild,f=null==a?void 0:a.firstChild,l=jn(u),d=l,v=!1,s=function(){D(a,Yr),N(a,Yr),D(c,Yr),N(c,Yr)},h=function(n){o=0,v&&(l=d,r(!0===n))},p=function(n){d=jn(u),v=!n||!hn(d,l),n?(Fn(n),v&&!o&&(fn(o),o=ln(h))):h(!1===n),s()},w=M([],[Xn(a,Wr,p),Xn(c,Wr,p)]);return t(f,{width:Yr,height:Yr}),ln(s),[e?p.bind(0,!1):s,w]}},n}(),Jr=0,Kr=Math.round,Vr=Math.abs,Gr="__osScrollbarsHidingPlugin",$r=function(){var n;return(n={})[Gr]={P:function(n){var r=n.A,t=n.L,e=!(n.H||r||!t.x&&!t.y)&&document.createElement("style");return e&&(B(e,"id",dr+"-"+Jr),Jr++),e},M:function(n,e,i,o,u,c,a){return[function(r,e,c,a){if(n){var f=u().R,l=r.I,d=r.D,v=d.x,s=d.y,h=l.x,p=l.y,w=f[a?"paddingRight":"paddingLeft"],b=f.paddingTop,g=e.w+c.w,y=e.h+c.h,m={w:p&&s?p+g-w+"px":"",h:h&&v?h+y-b+"px":""};if(o){var x=o.sheet;if(x){var O=x.cssRules;if(O){O.length||x.insertRule("#"+B(o,"id")+" + ."+dr+"::before {}",0);var S=O[0].style;S.width=m.w,S.height=m.h}}}else t(i,{"--os-vaw":m.w,"--os-vah":m.h})}return n},function(o,f,l){if(n){var d=l||c(o),v=u().R,s=d.D,h=s.x,p=s.y,w={},b=function(n){return r(n.split(" "),(function(n){w[n]=v[n]}))};h&&b("marginBottom paddingTop paddingBottom"),p&&b("marginLeft marginRight paddingLeft paddingRight");var g=t(i,P(w));return Mn(i,dr),e||(w.height=""),t(i,w),[function(){a(d,f,n,g),t(i,g),Cn(i,dr)},d]}return[gn]}]},k:function(){var n={w:0,h:0},r=0;return function(t,e,i){var o={w:window.innerWidth,h:window.innerHeight},u={w:o.w-n.w,h:o.h-n.h};if(0!==u.w||0!==u.h){var c=Vr(u.w),a=Vr(u.h),f={w:Vr(Kr(o.w/(n.w/100))),h:Vr(Kr(o.h/(n.h/100)))},l=function(){var n=window.screen.deviceXDPI||0,r=window.screen.logicalXDPI||1;return window.devicePixelRatio||n/r}(),d=c>2&&a>2,v=!function(n,r){var t=Vr(n),e=Vr(r);return!(t===e||t+1===e||t-1===e)}(f.w,f.h);if(d&&v&&l!==r&&l>0){var s=e(),h=s[0],p=s[1];A(t.V,h),p&&i()}n=o,r=l}}}},n}(),Ur="__osClickScrollPlugin",Zr=function(){var n;return(n={})[Ur]={T:function(n,r,t,e,i){var o=0,u=gn;return function c(a){u=function(n,r,t,e,i){var o=0,u=On(),c=Math.max(0,133),a=function t(a){var f=On(),l=f-u>=c,d=a?1:1-(xn(0,u+c-f)/c||0),v=(r-n)*(b(i)?i(d,d*c,0,1,c):d)+n,s=l||1===d;e&&e(v,0,s),o=s?0:ln((function(){return t()}))};return a(),function(n){fn(o),n&&a(n)}}(a,a+e*Math.sign(t),0,(function(t,a,f){n(t);var l=r();if(f&&!(i>=l&&i<=l+e)){if(o)c(t);else{var d=setTimeout((function(){c(t)}),222);u=function(){clearTimeout(d)}}o++}}))}(0),function(){return u()}}},n}(),qr=function(n,r,t,e){V(n,r);var i=kn(r),o=jn(r),u=Nn(t);return e&&U(r),{x:o.h-i.h+u.h,y:o.w-i.w+u.w}},Qr=function(n,r){var e="hidden";t(n,{overflowX:e,overflowY:e,direction:"rtl"}),D(n,0);var i=Vn(n),o=Vn(r);D(n,-999);var u=Vn(r);return{i:i.x===o.x,n:o.x!==u.x}},nt=function(n,r){var t=Cn(n,nr),e=_n(n),i=_n(r),o=bn(i,e,!0),u=Cn(n,rr),c=_n(n),a=_n(r),f=bn(a,c,!0);return t(),u(),o&&f},rt=function(){return i||(i=function(){var n,e=document.body,i=q('<div class="'+Qn+'"><div></div></div>')[0],u=i.firstChild,a=$n(),f=a[0],l=a[2],d=o({v:qr(e,i,u),o:pn},qr.bind(0,e,i,u,!0)),v=d[0],s=(0,d[1])()[0],h=function(n){var e=!1,i=Cn(n,sr);try{e="none"===t(n,function(n){var t=en[n];if(z(en,n))return t;var e=Q(n),i=Z().style;return r(nn,(function(r){var o=r.replace(/-/g,""),u=[n,r+n,o+e,Q(o)+e];return!(t=u.find((function(n){return void 0!==i[n]})))})),en[n]=t||""}("scrollbar-width"))||"none"===window.getComputedStyle(n,"::-webkit-scrollbar").getPropertyValue("display")}catch(c){}return i(),e}(i),p={x:0===s.x,y:0===s.y},w={elements:{host:null,padding:!h,viewport:function(n){return h&&n===n.ownerDocument.body&&n},content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},b=A({},Zn),g=A.bind(0,{},b),y=A.bind(0,{},w),m={V:s,L:p,A:h,H:"-1"===t(i,"zIndex"),B:Qr(i,u),j:nt(i,u),q:f.bind(0,"z"),F:f.bind(0,"r"),U:y,N:function(n){return A(w,n)&&y()},Y:g,W:function(n){return A(b,n)&&g()},G:A({},w),X:A({},b)},x=window.addEventListener,O=mn((function(n){return l(n?"z":"r")}),{g:33,p:99});return k(i,"style"),U(i),x("resize",O.bind(0,!1)),h||p.x&&p.y||x("resize",(function(){var r=_r()[Gr];(n=n||r&&r.k())&&n(m,v,O.bind(0,!0))})),m}()),i},tt=function(n,r){return b(r)?r.apply(0,n):r},et=function(n,r,t,e){var i=d(e)?t:e;return tt(n,i)||r.apply(0,n)},it=function(n,r,t,e){var i=d(e)?t:e,o=tt(n,i);return!!o&&(O(o)?o:r.apply(0,n))},ot=function(n,r,t){var e=t||{},i=e.nativeScrollbarsOverlaid,o=e.body,u=rt(),c=u.L,a=u.A,f=r.nativeScrollbarsOverlaid,l=r.body,s=null!=i?i:f,h=d(o)?l:o,p=(c.x||c.y)&&s,w=n&&(v(h)?!a:h);return!!p||!!w},ut=new WeakMap,ct=function(n){return ut.get(n)},at=function(n,r){return n?r.split(".").reduce((function(n,r){return n&&z(n,r)?n[r]:void 0}),n):void 0},ft=function(n,r,t){return function(e){return[at(n,e),t||void 0!==at(r,e)]}},lt=function(n){var r=n;return[function(){return r},function(n){r=A({},r,n)}]},dt="tabindex",vt=Z.bind(0,""),st=function(n){V(X(n),W(n)),U(n)},ht=function(n){var r=rt(),t=r.U,e=r.A,i=_r()[Gr],o=i&&i.P,u=t().elements,c=u.host,a=u.padding,f=u.viewport,l=u.content,d=O(n),v=d?{}:n,s=v.elements||{},h=s.host,p=s.padding,w=s.viewport,b=s.content,g=d?n:v.target,y=Y(g,"textarea"),m=g.ownerDocument,x=m.documentElement,S=g===m.body,C=m.defaultView,E=et.bind(0,[g]),z=it.bind(0,[g]),A=tt.bind(0,[g]),R=E.bind(0,vt,f),H=z.bind(0,vt,l),D=R(w),N=D===g,_=N&&S,I=!N&&H(b),F=!N&&O(D)&&D===I,J=F&&!!A(l),K=J?R():D,Z=J?I:H(),q=_?x:F?K:D,Q=y?E(vt,c,h):g,nn=_?q:Q,rn=F?Z:I,tn=m.activeElement,en=!N&&C.top===C&&tn===g,on={Z:g,$:nn,J:q,K:!N&&z(vt,a,p),rr:rn,ar:!N&&!e&&o&&o(r),er:_?x:q,nr:_?m:q,tr:C,vr:m,ir:y,ur:S,lr:d,cr:N,sr:F,dr:function(n,r){return N?function(n,r,t){var e=B(n,r)||"";return new Set(e.split(" ")).has(t)}(q,tr,r):function(n,r){return Ln(n,r,(function(n,r){return n.contains(r)}))}(q,n)},hr:function(n,r,t){return N?j(q,tr,r,t):(t?Cn:Mn)(q,n)}},un=P(on).reduce((function(n,r){var t=on[r];return M(n,!(!t||X(t))&&t)}),[]),cn=function(n){return n?L(un,n)>-1:null},an=on.Z,fn=on.$,ln=on.K,dn=on.J,vn=on.rr,sn=on.ar,hn=[function(){k(fn,tr),k(fn,er),k(an,er),S&&(k(x,tr),k(x,er))}],pn=y&&cn(fn),wn=y?an:W([vn,dn,ln,fn,an].find((function(n){return!1===cn(n)}))),bn=_?an:vn||dn;return[on,function(){B(fn,tr,N?"viewport":"host");var n=Cn(ln,fr),r=Cn(dn,!N&&lr),t=Cn(vn,vr),i=S&&!N?Cn(X(g),sr):gn;if(pn&&($(an,fn),M(hn,(function(){$(fn,an),U(fn)}))),V(bn,wn),V(fn,ln),V(ln||fn,!N&&dn),V(dn,vn),M(hn,(function(){i(),k(dn,ir),k(dn,or),cn(vn)&&st(vn),cn(dn)&&st(dn),cn(ln)&&st(ln),n(),r(),t()})),e&&!N&&M(hn,Mn.bind(0,dn,sr)),sn&&(G(dn,sn),M(hn,U.bind(0,sn))),en){var o=B(dn,dt);B(dn,dt,"-1"),dn.focus();var u=function(){return o?B(dn,dt,o):k(dn,dt)},c=Xn(m,"pointerdown keydown",(function(){u(),c()}));M(hn,[u,c])}else tn&&tn.focus&&tn.focus();wn=0},T.bind(0,hn)]},pt=function(n,r){var e=n.rr,i=r[0];return function(n){var r=rt().j,o=i().gr,u=n.pr,c=(e||!r)&&u;return c&&t(e,{height:o?"":"100%"}),{_r:c,wr:c}}},wt=function(n,r){var e=r[0],i=r[1],u=n.$,c=n.K,a=n.J,f=n.cr,l=o({o:wn,v:Rn()},Rn.bind(0,u,"padding","")),d=l[0],v=l[1];return function(n,r,o){var u=v(o),l=u[0],s=u[1],h=rt(),p=h.A,w=h.j,b=e().br,g=n._r,y=n.wr,m=n.mr,x=r("paddingAbsolute"),O=x[0],S=x[1];if(g||s||!w&&y){var L=d(o);l=L[0],s=L[1]}var M=!f&&(S||m||s);if(M){var C=!O||!c&&!p,E=l.r+l.l,T=l.t+l.b,z={marginRight:C&&!b?-E:0,marginBottom:C?-T:0,marginLeft:C&&b?-E:0,top:C?-l.t:0,right:C?b?-l.r:"auto":0,left:C?b?"auto":-l.l:0,width:C?"calc(100% + "+E+"px)":""},P={paddingTop:C?l.t:0,paddingRight:C?l.r:0,paddingBottom:C?l.b:0,paddingLeft:C?l.l:0};t(c||a,z),t(a,P),i({K:l,yr:!C,R:c?P:A({},z,P)})}return{Sr:M}}},bt=Math.max,gt=bt.bind(0,0),yt="visible",mt="hidden",xt=42,Ot={o:hn,v:{w:0,h:0}},St={o:pn,v:{x:mt,y:mt}},Lt=function(n,r,t){return t?Cn(n,r):Mn(n,r)},Mt=function(n){return 0===n.indexOf(yt)},Ct=function(n,r){var e=r[0],i=r[1],u=n.$,c=n.K,a=n.J,f=n.ar,l=n.cr,d=n.hr,v=n.ur,s=n.tr,h=rt(),p=h.V,w=h.j,b=h.A,g=h.L,y=_r()[Gr],m=!l&&!b&&(g.x||g.y),x=v&&l,O=o(Ot,Nn.bind(0,a)),S=O[0],L=O[1],M=o(Ot,Dn.bind(0,a)),C=M[0],E=M[1],T=o(Ot),z=T[0],P=T[1],A=o(Ot),R=A[0],H=A[1],k=o(St)[0],D=function(n,r){if(t(a,{height:""}),r){var i=e(),o=i.yr,c=i.K,f=n.Cr,l=n.I,d=Nn(u),v=kn(u),s="content-box"===t(a,"boxSizing"),h=o||s?c.b+c.t:0,p=!(g.x&&s);t(a,{height:v.h+d.h+(f.x&&p?l.x:0)-h})}},N=function(n,r){var e=b||n?0:xt,i=function(n,i,o){var u=t(a,n),c="scroll"===(r?r[n]:u);return[u,c,c&&!b?i?e:o:0,i&&!!e]},o=i("overflowX",g.x,p.x),u=o[0],c=o[1],f=o[2],l=o[3],d=i("overflowY",g.y,p.y);return{Or:{x:u,y:d[0]},Cr:{x:c,y:d[1]},I:{x:f,y:d[2]},D:{x:l,y:d[3]}}},_=function(n,r,t,i){var o=n.I,u=n.D,c=u.x,a=u.y,f=o.x,l=o.y,d=e().R,v=r?"marginLeft":"marginRight",s=r?"paddingLeft":"paddingRight",h=d[v],p=d.marginBottom,w=d[s],b=d.paddingBottom;i.width="calc(100% + "+(l+-1*h)+"px)",i[v]=-l+h,i.marginBottom=-f+p,t&&(i[s]=w+(a?l:0),i.paddingBottom=b+(c?f:0))},I=y?y.M(m,w,a,f,e,N,_):[function(){return m},function(){return[gn]}],Y=I[0],W=I[1];return function(n,r,o){var f,v=n._r,h=n.Er,p=n.wr,y=n.Sr,m=n.pr,O=n.mr,M=e(),T=M.gr,A=M.br,I=r("showNativeOverlaidScrollbars"),X=I[0],F=I[1],J=r("overflow"),K=J[0],V=J[1],G=X&&g.x&&g.y,$=!l&&!w&&(v||p||h||F||m),U=Mt(K.x),Z=Mt(K.y),q=U||Z,Q=L(o),nn=E(o),rn=P(o),tn=H(o);if(F&&b&&d(sr,cr,!G),$&&(f=N(G),D(f,T)),v||y||p||O||F){q&&d(hr,ur,!1);var en=W(G,A,f),on=en[0],un=en[1],cn=Q=S(o),an=cn[0],fn=cn[1],ln=nn=C(o),dn=ln[0],vn=ln[1],sn=kn(a),hn=dn,pn=sn;on(),(vn||fn||F)&&un&&!G&&Y(un,dn,an,A)&&(pn=kn(a),hn=Dn(a));var wn={w:gt(bt(dn.w,hn.w)+an.w),h:gt(bt(dn.h,hn.h)+an.h)},bn={w:gt((x?s.innerWidth:pn.w+gt(sn.w-dn.w))+an.w),h:gt((x?s.innerHeight+an.h:pn.h+gt(sn.h-dn.h))+an.h)};tn=R(bn),rn=z(function(n,r){var t=window.devicePixelRatio%1!=0?1:0,e={w:gt(n.w-r.w),h:gt(n.h-r.h)};return{w:e.w>t?e.w:0,h:e.h>t?e.h:0}}(wn,bn),o)}var gn=tn,yn=gn[0],mn=gn[1],xn=rn,On=xn[0],Sn=xn[1],Ln=nn,Mn=Ln[0],Cn=Ln[1],En=Q,Tn=En[0],zn=En[1],Pn={x:On.w>0,y:On.h>0},An=U&&Z&&(Pn.x||Pn.y)||U&&Pn.x&&!Pn.y||Z&&Pn.y&&!Pn.x;if(y||O||zn||Cn||mn||Sn||V||F||$){var Rn={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},Hn=function(n,r,t,e){var i=function(n,r){var t=Mt(n),e=r&&t&&n.replace(yt+"-","")||"";return[r&&!t?n:"",Mt(e)?"hidden":e]},o=i(t.x,r.x),u=o[0],c=o[1],a=i(t.y,r.y),f=a[0],l=a[1];return e.overflowX=c&&f?c:u,e.overflowY=l&&u?l:f,N(n,e)}(G,Pn,K,Rn),Bn=Y(Hn,Mn,Tn,A);l||_(Hn,A,Bn,Rn),$&&D(Hn,T),l?(B(u,ir,Rn.overflowX),B(u,or,Rn.overflowY)):t(a,Rn)}j(u,tr,ur,An),Lt(c,hr,An),!l&&Lt(a,hr,q);var jn=k(N(G).Or),Nn=jn[0],_n=jn[1];return i({Or:Nn,zr:{x:yn.w,y:yn.h},Tr:{x:On.w,y:On.h},Pr:Pn}),{Ar:_n,Lr:mn,Hr:Sn}}},Et=function(n,t,e){var i={},o=t||{};return r(P(n).concat(P(o)),(function(r){var t=n[r],u=o[r];i[r]=!!(e||t||u)})),i},Tt=function(n,t,e){var i,o=!1,u=function(u){if(e){var c=e.reduce((function(r,t){if(t){var e=t[0],i=t[1],o=i&&e&&(u?u(e):I(e,n));o&&o.length&&i&&p(i)&&M(r,[o,i.trim()],!0)}return r}),[]);r(c,(function(e){return r(e[0],(function(r){var u=e[1],c=i.get(r)||[];if(n.contains(r)){var a=Xn(r,u,(function(n){o?(a(),i.delete(r)):t(n)}));i.set(r,M(c,a))}else T(c),i.delete(r)}))}))}};return e&&(i=new WeakMap,u()),[function(){o=!0},u]},zt=function(n,t,e,i){var o=!1,u=i||{},c=u.Mr,a=u.Rr,f=u.Ir,l=u.Dr,d=u.kr,v=u.Vr,s=mn((function(){o&&e(!0)}),{g:33,p:99}),h=Tt(n,s,f),w=h[0],b=h[1],g=a||[],y=(c||[]).concat(g),m=function(o,u){var c=d||gn,a=v||gn,f=new Set,s=new Set,h=!1,w=!1;if(r(o,(function(e){var o=e.attributeName,u=e.target,d=e.type,v=e.oldValue,b=e.addedNodes,y=e.removedNodes,m="attributes"===d,x="childList"===d,O=n===u,S=m&&p(o)?B(u,o):0,M=0!==S&&v!==S,C=L(g,o)>-1&&M;if(t&&(x||!O)){var E=!m,T=m&&M,z=T&&l&&Y(u,l),P=(z?!c(u,o,v,S):E||T)&&!a(e,!!z,n,i);r(b,(function(n){return f.add(n)})),r(y,(function(n){return f.add(n)})),w=w||P}!t&&O&&M&&!c(u,o,v,S)&&(s.add(o),h=h||C)})),f.size>0&&b((function(n){return C(f).reduce((function(r,t){return M(r,I(n,t)),Y(t,n)?M(r,t):r}),[])})),t)return!u&&w&&e(!1),[!1];if(s.size>0||h){var y=[C(s),h];return!u&&e.apply(0,y),y}},x=new un((function(n){return m(n)}));return x.observe(n,{attributes:!0,attributeOldValue:!0,attributeFilter:y,subtree:t,childList:t,characterData:t}),o=!0,[function(){o&&(w(),x.disconnect(),o=!1)},function(){if(o){s.m();var n=x.takeRecords();return!E(n)&&m(n,!0)}}]},Pt=3333333,At=function(n){return n&&(n.height||n.width)},Rt=function(n,r,t){var e=t||{},i=e.Br,u=void 0!==i&&i,c=e.jr,a=void 0!==c&&c,f=_r()[Xr],l=rt().B,d=q('<div class="'+pr+'"><div class="'+br+'"></div></div>')[0],v=d.firstChild,s=An.bind(0,n),h=o({v:void 0,u:!0,o:function(n,r){return!(!n||!At(n)&&At(r))}}),p=h[0],b=function(n){var t=g(n)&&n.length>0&&y(n[0]),e=!t&&w(n[0]),i=!1,o=!1,c=!0;if(t){var a=p(n.pop().contentRect),f=a[0],v=a[2],s=At(f);o=!At(v)&&s,c=!(i=!v||!s)}else e?c=n[1]:o=!0===n;if(u&&c){var h=e?n[0]:An(d);D(d,h?l.n?-Pt:l.i?0:Pt:Pt),N(d,Pt)}i||r({_r:!e,qr:e?n:void 0,jr:!!o})},m=[],x=!!a&&b;return[function(){T(m),U(d)},function(){if(an){var r=new an(b);r.observe(v),M(m,(function(){r.disconnect()}))}else if(f){var t=f.T(v,b,a),e=t[0],i=t[1];x=e,M(m,i)}if(u){var c=o({v:!s()},s)[0];M(m,Xn(d,"scroll",(function(n){var r=c(),t=r[0];r[1]&&(Mn(v,"ltr rtl"),Cn(v,t?"rtl":"ltr"),b(r)),Fn(n)})))}x&&(Cn(d,wr),M(m,Xn(d,"animationstart",x,{O:!!an}))),(an||f)&&V(n,d)}]},Ht=function(n,r){var t,e=Z(xr),i=[],u=o({v:!1})[0],c=function(n,t){if(n){var e=u(function(n){return 0===n.h||n.isIntersecting||n.intersectionRatio>0}(n));if(e[1])return!t&&r(e),[e]}},a=function(n,r){if(n&&n.length>0)return c(n.pop(),r)};return[function(){T(i),U(e)},function(){if(cn)(t=new cn((function(n){return a(n)}),{root:n})).observe(e),M(i,(function(){t.disconnect()}));else{var r=function(){var n=jn(e);c(n)},o=Rt(e,r),u=o[0],f=o[1];M(i,u),f(),r()}V(n,e)},function(){if(t)return a(t.takeRecords(),!0)}]},Bt="["+tr+"]",jt="."+lr,kt=["tabindex"],Dt=["wrap","cols","rows"],Nt=["id","class","style","open"],_t=function(n,t,e){var i,u,c,a=n.$,f=n.J,l=n.rr,d=n.ir,v=n.cr,s=n.dr,w=n.hr,y=rt().j,m=o({o:hn,v:{w:0,h:0}},(function(){var n=s(hr,ur),r=s(dr,""),t=r&&D(f),e=r&&N(f);w(hr,ur),w(dr,""),w("",ar,!0);var i=Dn(l),o=Dn(f),u=Nn(f);return w(hr,ur,n),w(dr,"",r),w("",ar),D(f,t),N(f,e),{w:o.w+i.w+u.w,h:o.h+i.h+u.h}})),x=m[0],O=d?Dt:Nt.concat(Dt),S=mn(e,{g:function(){return i},p:function(){return u},_:function(n,r){var t=n[0],e=r[0];return[P(t).concat(P(e)).reduce((function(n,r){return n[r]=t[r]||e[r],n}),{})]}}),C=function(n){r(n||kt,(function(n){if(L(kt,n)>-1){var r=B(a,n);p(r)?B(f,n,r):k(f,n)}}))},E=function(n,r){var i=n[0],o={pr:n[1]};return t({gr:i}),!r&&e(o),o},T=function(n){var r=n._r,i=n.qr,o=n.jr,u=!r||o?e:S,c=!1;if(i){var a=i[0];c=i[1],t({br:a})}u({_r:r,mr:c})},z=function(n,r){var t=x()[1],i={wr:t};return t&&!r&&(n?e:S)(i),i},R=function(n,r,t){var e={Er:r};return r?!t&&S(e):v||C(n),e},H=l||!y?Ht(a,E):[gn,gn,gn],j=H[0],_=H[1],I=H[2],Y=v?[gn,gn]:Rt(a,T,{jr:!0,Br:!0}),W=Y[0],X=Y[1],K=zt(a,!1,R,{Rr:Nt,Mr:Nt.concat(kt)}),V=K[0],G=K[1],$=v&&an&&new an(T.bind(0,{_r:!0}));return $&&$.observe(a),C(),[function(){j(),W(),c&&c[0](),$&&$.disconnect(),V()},function(){X(),_()},function(){var n={},r=G(),t=I(),e=c&&c[1]();return r&&A(n,R.apply(0,M(r,!0))),t&&A(n,E.apply(0,M(t,!0))),e&&A(n,z.apply(0,M(e,!0))),n},function(n){var r=n("update.ignoreMutation")[0],t=n("update.attributes"),e=t[0],o=t[1],a=n("update.elementEvents"),d=a[0],s=a[1],p=n("update.debounce"),w=p[0],y=p[1],m=function(n){return b(r)&&r(n)};if((s||o)&&(c&&(c[1](),c[0]()),c=zt(l||f,!0,z,{Mr:O.concat(e||[]),Ir:d,Dr:Bt,Vr:function(n,r){var t=n.target,e=n.attributeName;return!(r||!e||v)&&J(t,Bt,jt)||!!F(t,"."+Sr)||!!m(n)}})),y)if(S.m(),g(w)){var x=w[0],L=w[1];i=h(x)&&x,u=h(L)&&L}else h(w)?(i=w,u=!1):(i=!1,u=!1)}]},It={x:0,y:0},Yt={K:{t:0,r:0,b:0,l:0},yr:!1,R:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zr:It,Tr:It,Or:{x:"hidden",y:"hidden"},Pr:{x:!1,y:!1},gr:!1,br:!1},Wt=function(n,t){var e=ft(t,{}),i=lt(Yt),o=$n(),u=o[0],c=o[1],a=o[2],f=i[0],l=i[1],d=ht(n),v=d[0],s=d[1],h=d[2],p=function(n,t){var e=n.Z,i=n.J,o=n.hr,u=n.cr,c=rt(),a=c.A,f=c.L,l=c.j,d=!a&&(f.x||f.y),v=[pt(n,t),wt(n,t),Ct(n,t)];return function(n,t,c){var a=Et(A({_r:!1,Sr:!1,mr:!1,pr:!1,Lr:!1,Hr:!1,Ar:!1,Er:!1,wr:!1},t),{},c),f=d||!l,s=f&&D(i),h=f&&N(i);o("",ar,!0);var p=a;return r(v,(function(r){p=Et(p,r(p,n,!!c)||{},c)})),D(i,s),N(i,h),o("",ar),u||(D(e,0),N(e,0)),p}}(v,i),w=function(n,r,t){var e=P(n).some((function(r){return n[r]})),i=e||!R(r)||t;return i&&a("u",[n,r,t]),i},b=_t(v,l,(function(n){return w(p(e,n),{},!1)})),g=b[0],y=b[1],m=b[2],x=b[3],O=f.bind(0);return O.Fr=function(n){return u("u",n)},O.Ur=function(){var n=v.Z,r=v.J,t=D(n),e=N(n);y(),s(),D(r,t),N(r,e)},O.Nr=v,[function(n,r){var e=ft(t,n,r);return x(e),w(p(e,m(),r),n,!!r)},O,function(){c(),g(),h()}]},Xt=Math.round,Ft=function(n,r){return Xn(n,"mousedown",Xn.bind(0,r,"click",Fn,{O:!0,C:!0}),{C:!0})},Jt=function(n,r,t,e,i,o){var u=rt().B,c=t.Yr,a=t.Wr,f=t.Gr,l="scroll"+(o?"Left":"Top"),d="client"+(o?"X":"Y"),v=o?"width":"height",s=o?"left":"top",h=o?"w":"h",p=o?"x":"y",w=function(n,r){return function(t){var d=i().Tr,v=jn(a)[h]-jn(c)[h],s=r*t/v*d[p],w=An(f)&&o?u.n||u.i?1:-1:1;e[l]=n+s*w}};return Xn(a,"pointerdown",(function(t){var i=F(t.target,"."+Tr)===c;if(function(n,r,t){var e=r.scrollbars,i=n.button,o=n.isPrimary,u=n.pointerType,c=e.pointers;return 0===i&&o&&e[t?"dragScroll":"clickScroll"]&&(c||[]).includes(u)}(t,n,i)){var o=!i&&t.shiftKey,u=function(){return _n(c)},f=function(){return _n(a)},h=function(n,r){return(n||u())[s]-(r||f())[s]},b=w(e[l]||0,1/function(n){var r=_n(n),t=r.width,e=r.height,i=jn(n),o=i.w,u=i.h;return{x:Xt(t)/o||1,y:Xt(e)/u||1}}(e)[p]),g=t[d],y=u(),m=f(),x=y[v],O=h(y,m)+x/2,S=g-m[s],L=i?0:S-O,C=[Xn(r,"selectstart",(function(n){return Jn(n)}),{S:!1}),Xn(a,"pointermove",(function(n){var r=n[d]-g;(i||o)&&b(L+r)}))];if(o)b(L);else if(!i){var E=_r()[Ur];E&&M(C,E.T(b,h,L,x,S))}Xn(a,"pointerup",(function(n){T(C),a.releasePointerCapture(n.pointerId)}),{O:!0}),a.setPointerCapture(t.pointerId)}}))},Kt=Math.min,Vt=Math.max,Gt=Math.abs,$t=Math.round,Ut=function(n,r,t,e){if(e){var i=t?"x":"y",o=e.Tr,u=e.zr[i],c=o[i];return Vt(0,Kt(1,u/(u+c)))}var a=t?"w":"h",f=jn(n)[a],l=jn(r)[a];return Vt(0,Kt(1,f/l))},Zt=function(n,e,i){var o=(0,rt().U)().scrollbars.slot,u=e.vr,c=e.Z,a=e.$,f=e.J,l=e.lr,d=e.er,v=e.ur,s=e.cr,h=((l?{}:n).scrollbars||{}).slot,p=it([c,a,f],(function(){return s&&v?c:a}),o,h),b=function(n,t,e){var i=e?Cn:Mn;r(n,(function(n){i(n.Gr,t)}))},g=function(n,e){r(n,(function(n){var r=e(n);t(r[0],r[1])}))},y=function(n,r,t){g(n,(function(n){var e,i=n.Yr,o=n.Wr;return[i,(e={},e[t?"width":"height"]=(100*Ut(i,o,t,r)).toFixed(3)+"%",e)]}))},m=function(n,r,t){var e=t?"X":"Y";g(n,(function(n){var i=n.Yr,o=n.Wr,u=n.Gr,c=function(n,r,t,e,i,o){var u=rt().B,c=o?"x":"y",a=o?"Left":"Top",f=e.Tr,l=$t(f[c]),d=Gt(t["scroll"+a]),v=o&&i,s=u.i?d:l-d,h=Kt(1,(v?s:d)/l),p=Ut(n,r,o);return 1/p*(1-p)*h}(i,o,d,r,An(u),t);return[i,{transform:c==c?"translate"+e+"("+(100*c).toFixed(3)+"%)":""}]}))},x=[],O=[],S=[],L=function(n,r,t){var e=w(t),i=!e||!t;(!e||t)&&b(O,n,r),i&&b(S,n,r)},C=function(n){var r=n?Mr:Cr,t=n?O:S,e=E(t)?Ar:"",o=Z(Sr+" "+r+" "+e),c=Z(Er),f=Z(Tr),l={Gr:o,Wr:c,Yr:f};return V(o,c),V(c,f),M(t,l),M(x,[U.bind(0,o),i(l,L,u,a,d,n)]),l},z=C.bind(0,!0),P=C.bind(0,!1);return z(),P(),[{Xr:function(n){y(O,n,!0),y(S,n)},Zr:function(n){m(O,n,!0),m(S,n)},$r:L,Jr:{Kr:O,Qr:z,ra:g.bind(0,O)},aa:{Kr:S,Qr:P,ra:g.bind(0,S)}},function(){V(p,O[0].Gr),V(p,S[0].Gr),dn((function(){L(Ar)}),300)},T.bind(0,x)]},qt=function(n,r,t,e){var i,o,u,c,a,f=0,l=lt({})[0],d=yn(),v=d[0],s=d[1],h=yn(),p=h[0],w=h[1],b=yn(100),g=b[0],y=b[1],m=yn(100),x=m[0],O=m[1],S=yn((function(){return f})),L=S[0],M=S[1],C=Zt(n,t.Nr,function(n,r){return function(t,e,i,o,u,c){var a=t.Gr,f=yn(333),l=f[0],d=f[1],v=!!u.scrollBy,s=!0;return T.bind(0,[Xn(a,"pointerenter",(function(){e(Rr,!0)})),Xn(a,"pointerleave pointercancel",(function(){e(Rr)})),Xn(a,"wheel",(function(n){var r=n.deltaX,t=n.deltaY,i=n.deltaMode;v&&s&&0===i&&X(a)===o&&u.scrollBy({left:r,top:t,behavior:"smooth"}),s=!1,e(jr,!0),l((function(){s=!0,e(jr)})),Jn(n)}),{S:!1,C:!0}),Ft(a,i),Jt(n,i,t,u,r,c),d])}}(r,t)),E=C[0],z=C[1],P=C[2],A=t.Nr,R=A.$,H=A.J,B=A.er,j=A.nr,k=A.cr,_=A.ur,I=E.Jr,Y=E.aa,W=E.$r,F=E.Xr,J=E.Zr,K=I.ra,V=Y.ra,G=function(n){var r=n.Gr,t=k&&!_&&X(r)===H&&r;return[t,{transform:t?"translate("+D(B)+"px, "+N(B)+"px)":""}]},$=function(n,r){if(M(),n)W(Br);else{var t=function(){return W(Br,!0)};f>0&&!r?L(t):t()}},U=function(){(c=o)&&$(!0)},Z=[y,M,O,w,s,P,Xn(R,"pointerover",U,{O:!0}),Xn(R,"pointerenter",U),Xn(R,"pointerleave",(function(){c=!1,o&&$(!1)})),Xn(R,"pointermove",(function(){i&&v((function(){y(),$(!0),x((function(){i&&$(!1)}))}))})),Xn(j,"scroll",(function(n){p((function(){J(t()),u&&$(!0),g((function(){u&&!c&&$(!1)}))})),e(n),k&&K(G),k&&V(G)}))],q=l.bind(0);return q.Nr=E,q.Ur=z,[function(n,e,c){var l=c.Lr,d=c.Hr,v=c.Ar,s=c.mr,h=rt().L,p=ft(r,n,e),w=t(),b=w.Tr,g=w.Or,y=w.br,m=p("showNativeOverlaidScrollbars"),x=m[0],O=m[1],S=p("scrollbars.theme"),L=S[0],M=S[1],C=p("scrollbars.visibility"),E=C[0],T=C[1],z=p("scrollbars.autoHide"),P=z[0],A=z[1],R=p("scrollbars.autoHideDelay")[0],H=p("scrollbars.dragScroll"),B=H[0],j=H[1],k=p("scrollbars.clickScroll"),D=k[0],N=k[1],I=l||d||s,Y=v||T,X=x&&h.x&&h.y,K=function(n,r){var t="visible"===E||"auto"===E&&"scroll"===n;return W(zr,t,r),t};if(f=R,O&&W(Or,X),M&&(W(a),W(L,!0),a=L),A&&(i="move"===P,o="leave"===P,$(!(u="never"!==P),!0)),j&&W(Dr,B),N&&W(kr,D),Y){var V=K(g.x,!0),G=K(g.y,!1);W(Pr,!(V&&G))}I&&(F(w),J(w),W(Hr,!b.x,!0),W(Hr,!b.y,!1),W(Lr,y&&!_))},q,T.bind(0,Z)]},Qt=function(n,r,t){b(n)&&n(r||void 0,t||void 0)},ne=function(n,t,e){var i=rt(),o=i.Y,u=i.U,c=i.q,a=i.F,f=_r(),l=O(n),d=l?n:n.target,v=ct(d);if(t&&!v){var s=!1,h=function(n){var r=_r()[Ir],t=r&&r.T;return t?t(n,!0):n},p=A({},o(),h(t)),w=$n(e),b=w[0],g=w[1],y=w[2],m=Wt(n,p),x=m[0],S=m[1],L=m[2],M=qt(n,p,S,(function(n){return y("scroll",[D,n])})),C=M[0],E=M[1],T=M[2],z=function(n,r){return x(n,!!r)},H=z.bind(0,{},!0),B=c(H),j=a(H),k=function(n){!function(n){ut.delete(n)}(d),B(),j(),T(),L(),s=!0,y("destroyed",[D,!!n]),g()},D={options:function(n,r){if(n){var t=r?o():{},e=qn(p,A(t,h(n)));R(e)||(A(p,e),z(e))}return A({},p)},on:b,off:function(n,r){n&&r&&g(n,r)},state:function(){var n=S(),r=n.zr,t=n.Tr,e=n.Or,i=n.Pr,o=n.K,u=n.yr,c=n.br;return A({},{overflowEdge:r,overflowAmount:t,overflowStyle:e,hasOverflow:i,padding:o,paddingAbsolute:u,directionRTL:c,destroyed:s})},elements:function(){var n=S.Nr,r=n.Z,t=n.$,e=n.K,i=n.J,o=n.rr,u=n.er,c=n.nr,a=E.Nr,f=a.Jr,l=a.aa,d=function(n){var r=n.Yr,t=n.Wr;return{scrollbar:n.Gr,track:t,handle:r}},v=function(n){var r=n.Kr,t=n.Qr,e=d(r[0]);return A({},e,{clone:function(){var n=d(t());return C({},!0,{}),n}})};return A({},{target:r,host:t,padding:e||i,viewport:i,content:o||i,scrollOffsetElement:u,scrollEventElement:c,scrollbarHorizontal:v(f),scrollbarVertical:v(l)})},update:function(n){return z({},n)},destroy:k.bind(0)};return S.Fr((function(n,r,t){C(r,t,n)})),function(n,r){ut.set(n,r)}(d,D),r(P(f),(function(n){return Qt(f[n],0,D)})),ot(S.Nr.ur,u().cancel,!l&&n.cancel)?(k(!0),D):(S.Ur(),E.Ur(),y("initialized",[D]),S.Fr((function(n,r,t){var e=n._r,i=n.mr,o=n.pr,u=n.Lr,c=n.Hr,a=n.Ar,f=n.wr,l=n.Er;y("updated",[D,{updateHints:{sizeChanged:e,directionChanged:i,heightIntrinsicChanged:o,overflowEdgeChanged:u,overflowAmountChanged:c,overflowStyleChanged:a,contentMutation:f,hostMutation:l},changedOptions:r,force:t}])})),D.update(!0),D)}return v};return ne.plugin=function(n){r(function(n){var t=[];return r(g(n)?n:[n],(function(n){r(P(n),(function(r){M(t,Nr[r]=n[r])}))})),t}(n),(function(n){return Qt(n,ne)}))},ne.valid=function(n){var r=n&&n.elements,t=b(r)&&r();return x(t)&&!!ct(t.target)},ne.env=function(){var n=rt(),r=n.V,t=n.L,e=n.A,i=n.B,o=n.j,u=n.H,c=n.G,a=n.X,f=n.U,l=n.N,d=n.Y,v=n.W;return A({},{scrollbarsSize:r,scrollbarsOverlaid:t,scrollbarsHiding:e,rtlScrollBehavior:i,flexboxGlue:o,cssCustomProperties:u,staticDefaultInitialization:c,staticDefaultOptions:a,getDefaultInitialization:f,setDefaultInitialization:l,getDefaultOptions:d,setDefaultOptions:v})},n.ClickScrollPlugin=Zr,n.OverlayScrollbars=ne,n.ScrollbarsHidingPlugin=$r,n.SizeObserverPlugin=Fr,Object.defineProperty(n,"ea",{value:!0}),n}({});
var OverlayScrollbarsGlobal=function(n){"use strict";function r(n,t){if(m(n))for(var e=0;e<n.length&&!1!==t(n[e],e,n);e++);else n&&r(Object.keys(n),(function(r){return t(n[r],r,n)}));return n}function t(n,t){var e=p(t);if(g(t)||e){var i=e?"":{};if(n){var o=window.getComputedStyle(n,null);i=e?zn(n,o,t):t.reduce((function(r,t){return r[t]=zn(n,o,t),r}),i)}return i}n&&r(P(t),(function(r){return Pn(n,r,t[r])}))}var e,i,o=function(n,r){var t,e=n.v,i=n.o,o=n.u,u=e,c=function(n,r){var e=u,c=n,a=r||(i?!i(e,c):e!==c);return(a||o)&&(u=c,t=e),[u,a,t]};return[r?function(n){return c(r(u,t),n)}:c,function(n){return[u,!!n,t]}]},u=function(){return"undefined"!=typeof window},c=u()&&Node.ELEMENT_NODE,a=Object.prototype,f=a.toString,l=a.hasOwnProperty,d=function(n){return void 0===n},v=function(n){return null===n},s=function(n){return d(n)||v(n)?""+n:f.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},h=function(n){return"number"==typeof n},p=function(n){return"string"==typeof n},w=function(n){return"boolean"==typeof n},b=function(n){return"function"==typeof n},g=function(n){return Array.isArray(n)},y=function(n){return"object"==typeof n&&!g(n)&&!v(n)},m=function(n){var r=!!n&&n.length,t=h(r)&&r>-1&&r%1==0;return!(!(g(n)||!b(n)&&t)||r>0&&y(n)&&!(r-1 in n))},x=function(n){if(!n||!y(n)||"object"!==s(n))return!1;var r,t="constructor",e=n[t],i=e&&e.prototype,o=l.call(n,t),u=i&&l.call(i,"isPrototypeOf");if(e&&!o&&!u)return!1;for(r in n);return d(r)||l.call(n,r)},O=function(n){var r=HTMLElement;return!!n&&(r?n instanceof r:n.nodeType===c)},S=function(n){var r=Element;return!!n&&(r?n instanceof r:n.nodeType===c)},L=function(n,r,t){return n.indexOf(r,t)},M=function(n,r,t){return t||p(r)||!m(r)?n.push(r):Array.prototype.push.apply(n,r),n},C=function(n){var t=Array.from,e=[];return t&&n?t(n):(n instanceof Set?n.forEach((function(n){M(e,n)})):r(n,(function(n){M(e,n)})),e)},E=function(n){return!!n&&0===n.length},T=function(n,t,e){r(n,(function(n){return n&&n.apply(void 0,t||[])})),!e&&(n.length=0)},z=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},P=function(n){return n?Object.keys(n):[]},A=function n(t,e,i,o,u,c,a){var f=[e,i,o,u,c,a];return"object"==typeof t&&!v(t)||b(t)||(t={}),r(f,(function(e){r(P(e),(function(r){var i=e[r];if(t===i)return!0;var o=g(i);if(i&&(x(i)||o)){var u=t[r],c=u;o&&!g(u)?c=[]:o||x(u)||(c={}),t[r]=n(c,i)}else t[r]=i}))})),t},R=function(n){for(var r in n)return!1;return!0},H=function(n,r,t,e){if(d(e))return t?t[n]:r;t&&(p(e)||h(e))&&(t[n]=e)},B=function(n,r,t){if(d(t))return n?n.getAttribute(r):null;n&&n.setAttribute(r,t)},j=function(n,r,t,e){if(t){var i=B(n,r)||"",o=new Set(i.split(" "));o[e?"add":"delete"](t),B(n,r,C(o).join(" ").trim())}},k=function(n,r){n&&n.removeAttribute(r)},D=function(n,r){return H("scrollLeft",0,n,r)},N=function(n,r){return H("scrollTop",0,n,r)},_=u()&&Element.prototype,F=function(n,r){var t=[],e=r?S(r)?r:null:document;return e?M(t,e.querySelectorAll(n)):t},I=function(n,r){return!!S(n)&&(_.matches||_.msMatchesSelector).call(n,r)},Y=function(n){return n?C(n.childNodes):[]},W=function(n){return n?n.parentElement:null},X=function(n,r){if(S(n)){var t=_.closest;if(t)return t.call(n,r);do{if(I(n,r))return n;n=W(n)}while(n)}return null},J=function(n,r,t){var e=n&&X(n,r),i=n&&function(n,r){var t=r?S(r)?r:null:document;return t?t.querySelector(n):null}(t,e),o=X(i,r)===e;return!(!e||!i)&&(e===n||i===n||o&&X(X(n,t),r)!==e)},K=function(n,t,e){if(e&&n){var i,o=t;m(e)?(i=document.createDocumentFragment(),r(e,(function(n){n===o&&(o=n.previousSibling),i.appendChild(n)}))):i=e,t&&(o?o!==t&&(o=o.nextSibling):o=n.firstChild),n.insertBefore(i,o||null)}},V=function(n,r){K(n,null,r)},G=function(n,r){K(W(n),n,r)},$=function(n,r){K(W(n),n&&n.nextSibling,r)},q=function n(t){if(m(t))r(C(t),(function(r){return n(r)}));else if(t){var e=W(t);e&&e.removeChild(t)}},Z=function(n){var r=document.createElement("div");return n&&B(r,"class",n),r},U=function(n){var t=Z();return t.innerHTML=n.trim(),r(Y(t),(function(n){return q(n)}))},Q=function(n){return n.charAt(0).toUpperCase()+n.slice(1)},nn=["-webkit-","-moz-","-o-","-ms-"],rn=["WebKit","Moz","O","MS","webkit","moz","o","ms"],tn={},en={},on=function(n){if(u()){var t=tn[n]||window[n];return z(tn,n)||(r(rn,(function(r){return!(t=t||window[r+Q(n)])})),tn[n]=t),t}},un=on("MutationObserver"),cn=on("IntersectionObserver"),an=on("ResizeObserver"),fn=on("cancelAnimationFrame"),ln=on("requestAnimationFrame"),dn=u()&&window.setTimeout,vn=u()&&window.clearTimeout,sn=function(n,t,e,i){if(n&&t){var o=!0;return r(e,(function(r){(i?i(n[r]):n[r])!==(i?i(t[r]):t[r])&&(o=!1)})),o}return!1},hn=function(n,r){return sn(n,r,["w","h"])},pn=function(n,r){return sn(n,r,["x","y"])},wn=function(n,r){return sn(n,r,["t","r","b","l"])},bn=function(n,r,t){return sn(n,r,["width","height"],t&&function(n){return Math.round(n)})},gn=function(){},yn=function(n){var r,t=n?dn:ln,e=n?vn:fn;return[function(i){e(r),r=t(i,b(n)?n():n)},function(){return e(r)}]},mn=function(n,r){var t,e,i,o=gn,u=r||{},c=u.g,a=u.p,f=u._,l=function(r){o(),vn(t),t=e=void 0,o=gn,n.apply(this,r)},d=function(n){return f&&e?f(e,n):n},v=function(){o!==gn&&l(d(i)||i)},s=function(){var n=C(arguments),r=b(c)?c():c,u=h(r)&&r>=0;if(u){var f=b(a)?a():a,s=h(f)&&f>=0,p=r>0?dn:ln,w=r>0?vn:fn,g=d(n),y=g||n,m=l.bind(0,y);o();var x=p(m,r);o=function(){return w(x)},s&&!t&&(t=dn(v,f)),e=i=y}else l(n)};return s.m=v,s},xn=Math.max,On=function(){return performance.now()},Sn=/[^\x20\t\r\n\f]+/g,Ln=function(n,r,t){var e,i=n&&n.classList,o=0,u=!1;if(i&&r&&p(r)){var c=r.match(Sn)||[];for(u=c.length>0;e=c[o++];)u=!!t(i,e)&&u}return u},Mn=function(n,r){Ln(n,r,(function(n,r){return n.remove(r)}))},Cn=function(n,r){return Ln(n,r,(function(n,r){return n.add(r)})),Mn.bind(0,n,r)},En={opacity:1,zindex:1},Tn=function(n,r){var t=r?parseFloat(n):parseInt(n,10);return t==t?t:0},zn=function(n,r,t){return null!=r?r[t]||r.getPropertyValue(t):n.style[t]},Pn=function(n,r,t){try{var e=n.style;d(e[r])?e.setProperty(r,t):e[r]=function(n,r){return!En[n.toLowerCase()]&&h(r)?r+"px":r}(r,t)}catch(a){}},An=function(n){return"rtl"===t(n,"direction")},Rn=function(n,r,e){var i=r?r+"-":"",o=e?"-"+e:"",u=i+"top"+o,c=i+"right"+o,a=i+"bottom"+o,f=i+"left"+o,l=t(n,[u,c,a,f]);return{t:Tn(l[u],!0),r:Tn(l[c],!0),b:Tn(l[a],!0),l:Tn(l[f],!0)}},Hn=Math.round,Bn={w:0,h:0},jn=function(n){return n?{w:n.offsetWidth,h:n.offsetHeight}:Bn},kn=function(n){return n?{w:n.clientWidth,h:n.clientHeight}:Bn},Dn=function(n){return n?{w:n.scrollWidth,h:n.scrollHeight}:Bn},Nn=function(n){var r=parseFloat(t(n,"height"))||0,e=parseFloat(t(n,"width"))||0;return{w:e-Hn(e),h:r-Hn(r)}},_n=function(n){return n.getBoundingClientRect()},Fn=function(){if(d(e)){e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}}return e},In=function(n){return n.split(" ")},Yn=function(n,t,e,i){r(In(t),(function(r){n.removeEventListener(r,e,i)}))},Wn=function(n,t,e,i){var o,u=Fn(),c=null!=(o=u&&i&&i.S)?o:u,a=i&&i.C||!1,f=i&&i.O||!1,l=[],d=u?{passive:c,capture:a}:a;return r(In(t),(function(r){var t=f?function(i){n.removeEventListener(r,t,a),e&&e(i)}:e;M(l,Yn.bind(null,n,r,t,a)),n.addEventListener(r,t,d)})),T.bind(0,l)},Xn=function(n){return n.stopPropagation()},Jn=function(n){return n.preventDefault()},Kn={x:0,y:0},Vn=function(n){var r=n?_n(n):0;return r?{x:r.left+window.pageYOffset,y:r.top+window.pageXOffset}:Kn},Gn=function(n,t){r(g(t)?t:[t],n)},$n=function(n){var t=new Map,e=function(n,r){if(n){var e=t.get(n);Gn((function(n){e&&e[n?"delete":"clear"](n)}),r)}else t.forEach((function(n){n.clear()})),t.clear()},i=function n(i,o){if(p(i)){var u=t.get(i)||new Set;return t.set(i,u),Gn((function(n){b(n)&&u.add(n)}),o),e.bind(0,i,o)}w(o)&&o&&e();var c=P(i),a=[];return r(c,(function(r){var t=i[r];t&&M(a,n(r,t))})),T.bind(0,a)};return i(n||{}),[i,e,function(n,e){var i=t.get(n);r(C(i),(function(n){e&&!E(e)?n.apply(0,e):n()}))}]},qn=function(n){return JSON.stringify(n,(function(n,r){if(b(r))throw new Error;return r}))},Zn={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Un=function n(t,e){var i={};return r(P(e).concat(P(t)),(function(r){var o=t[r],u=e[r];if(y(o)&&y(u))A(i[r]={},n(o,u)),R(i[r])&&delete i[r];else if(z(e,r)&&u!==o){var c=!0;if(g(o)||g(u))try{qn(o)===qn(u)&&(c=!1)}catch(d){}c&&(i[r]=u)}})),i},Qn="os-environment",nr=Qn+"-flexbox-glue",rr=nr+"-max",tr="data-overlayscrollbars",er="data-overlayscrollbars-initialize",ir=tr+"-overflow-x",or=tr+"-overflow-y",ur="overflowVisible",cr="scrollbarHidden",ar="updating",fr="os-padding",lr="os-viewport",dr=lr+"-arrange",vr="os-content",sr=lr+"-scrollbar-hidden",hr="os-overflow-visible",pr="os-size-observer",wr=pr+"-appear",br=pr+"-listener",gr=br+"-scroll",yr=br+"-item",mr=yr+"-final",xr="os-trinsic-observer",Or="os-no-css-vars",Sr="os-theme-none",Lr="os-scrollbar",Mr=Lr+"-rtl",Cr=Lr+"-horizontal",Er=Lr+"-vertical",Tr=Lr+"-track",zr=Lr+"-handle",Pr=Lr+"-visible",Ar=Lr+"-cornerless",Rr=Lr+"-transitionless",Hr=Lr+"-interaction",Br=Lr+"-unusable",jr=Lr+"-auto-hidden",kr=Lr+"-wheel",Dr=Tr+"-interactive",Nr=zr+"-interactive",_r={},Fr=function(){return _r},Ir="__osOptionsValidationPlugin",Yr=3333333,Wr="scroll",Xr="__osSizeObserverPlugin",Jr=function(){var n;return(n={})[Xr]={T:function(n,r,e){var i=U('<div class="'+yr+'" dir="ltr"><div class="'+yr+'"><div class="'+mr+'"></div></div><div class="'+yr+'"><div class="'+mr+'" style="width: 200%; height: 200%"></div></div></div>');V(n,i),Cn(n,gr);var o,u=i[0],c=u.lastChild,a=u.firstChild,f=null==a?void 0:a.firstChild,l=jn(u),d=l,v=!1,s=function(){D(a,Yr),N(a,Yr),D(c,Yr),N(c,Yr)},h=function(n){o=0,v&&(l=d,r(!0===n))},p=function(n){d=jn(u),v=!n||!hn(d,l),n?(Xn(n),v&&!o&&(fn(o),o=ln(h))):h(!1===n),s()},w=M([],[Wn(a,Wr,p),Wn(c,Wr,p)]);return t(f,{width:Yr,height:Yr}),ln(s),[e?p.bind(0,!1):s,w]}},n}(),Kr=0,Vr=Math.round,Gr=Math.abs,$r="__osScrollbarsHidingPlugin",qr=function(){var n;return(n={})[$r]={P:function(n){var r=n.A,t=n.L,e=!(n.H||r||!t.x&&!t.y)&&document.createElement("style");return e&&(B(e,"id",dr+"-"+Kr),Kr++),e},M:function(n,e,i,o,u,c,a){return[function(r,e,c,a){if(n){var f=u().R,l=r.I,d=r.D,v=d.x,s=d.y,h=l.x,p=l.y,w=f[a?"paddingRight":"paddingLeft"],b=f.paddingTop,g=e.w+c.w,y=e.h+c.h,m={w:p&&s?p+g-w+"px":"",h:h&&v?h+y-b+"px":""};if(o){var x=o.sheet;if(x){var O=x.cssRules;if(O){O.length||x.insertRule("#"+B(o,"id")+" + ."+dr+"::before {}",0);var S=O[0].style;S.width=m.w,S.height=m.h}}}else t(i,{"--os-vaw":m.w,"--os-vah":m.h})}return n},function(o,f,l){if(n){var d=l||c(o),v=u().R,s=d.D,h=s.x,p=s.y,w={},b=function(n){return r(n.split(" "),(function(n){w[n]=v[n]}))};h&&b("marginBottom paddingTop paddingBottom"),p&&b("marginLeft marginRight paddingLeft paddingRight");var g=t(i,P(w));return Mn(i,dr),e||(w.height=""),t(i,w),[function(){a(d,f,n,g),t(i,g),Cn(i,dr)},d]}return[gn]}]},k:function(){var n={w:0,h:0},r=0;return function(t,e,i){var o={w:window.innerWidth,h:window.innerHeight},u={w:o.w-n.w,h:o.h-n.h};if(0!==u.w||0!==u.h){var c=Gr(u.w),a=Gr(u.h),f={w:Gr(Vr(o.w/(n.w/100))),h:Gr(Vr(o.h/(n.h/100)))},l=function(){var n=window.screen.deviceXDPI||0,r=window.screen.logicalXDPI||1;return window.devicePixelRatio||n/r}(),d=c>2&&a>2,v=!function(n,r){var t=Gr(n),e=Gr(r);return!(t===e||t+1===e||t-1===e)}(f.w,f.h);if(d&&v&&l!==r&&l>0){var s=e(),h=s[0],p=s[1];A(t.V,h),p&&i()}n=o,r=l}}}},n}(),Zr="__osClickScrollPlugin",Ur=function(){var n;return(n={})[Zr]={T:function(n,r,t,e,i){var o=0,u=gn;return function c(a){u=function(n,r,t,e,i){var o=0,u=On(),c=Math.max(0,133),a=function t(a){var f=On(),l=f-u>=c,d=a?1:1-(xn(0,u+c-f)/c||0),v=(r-n)*(b(i)?i(d,d*c,0,1,c):d)+n,s=l||1===d;e&&e(v,0,s),o=s?0:ln((function(){return t()}))};return a(),function(n){fn(o),n&&a(n)}}(a,a+e*Math.sign(t),0,(function(t,a,f){n(t);var l=r();if(f&&!(i>=l&&i<=l+e)){if(o)c(t);else{var d=setTimeout((function(){c(t)}),222);u=function(){clearTimeout(d)}}o++}}))}(0),function(){return u()}}},n}(),Qr=function(n,r,t,e){V(n,r);var i=kn(r),o=jn(r),u=Nn(t);return e&&q(r),{x:o.h-i.h+u.h,y:o.w-i.w+u.w}},nt=function(n,r){var e="hidden";t(n,{overflowX:e,overflowY:e,direction:"rtl"}),D(n,0);var i=Vn(n),o=Vn(r);D(n,-999);var u=Vn(r);return{i:i.x===o.x,n:o.x!==u.x}},rt=function(n,r){var t=Cn(n,nr),e=_n(n),i=_n(r),o=bn(i,e,!0),u=Cn(n,rr),c=_n(n),a=_n(r),f=bn(a,c,!0);return t(),u(),o&&f},tt=function(){return i||(i=function(){var n,e=document.body,i=U('<div class="'+Qn+'"><div></div></div>')[0],u=i.firstChild,a=$n(),f=a[0],l=a[2],d=o({v:Qr(e,i,u),o:pn},Qr.bind(0,e,i,u,!0)),v=d[0],s=(0,d[1])()[0],h=function(n){var e=!1,i=Cn(n,sr);try{e="none"===t(n,function(n){var t=en[n];if(z(en,n))return t;var e=Q(n),i=Z().style;return r(nn,(function(r){var o=r.replace(/-/g,""),u=[n,r+n,o+e,Q(o)+e];return!(t=u.find((function(n){return void 0!==i[n]})))})),en[n]=t||""}("scrollbar-width"))||"none"===window.getComputedStyle(n,"::-webkit-scrollbar").getPropertyValue("display")}catch(c){}return i(),e}(i),p={x:0===s.x,y:0===s.y},w={elements:{host:null,padding:!h,viewport:function(n){return h&&n===n.ownerDocument.body&&n},content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},b=A({},Zn),g=A.bind(0,{},b),y=A.bind(0,{},w),m={V:s,L:p,A:h,H:"-1"===t(i,"zIndex"),B:nt(i,u),j:rt(i,u),U:f.bind(0,"z"),q:f.bind(0,"r"),F:y,N:function(n){return A(w,n)&&y()},Y:g,W:function(n){return A(b,n)&&g()},G:A({},w),X:A({},b)},x=window.addEventListener,O=mn((function(n){return l(n?"z":"r")}),{g:33,p:99});return k(i,"style"),q(i),x("resize",O.bind(0,!1)),h||p.x&&p.y||x("resize",(function(){var r=Fr()[$r];(n=n||r&&r.k())&&n(m,v,O.bind(0,!0))})),m}()),i},et=function(n,r){return b(r)?r.apply(0,n):r},it=function(n,r,t,e){var i=d(e)?t:e;return et(n,i)||r.apply(0,n)},ot=function(n,r,t,e){var i=d(e)?t:e,o=et(n,i);return!!o&&(O(o)?o:r.apply(0,n))},ut=function(n,r,t){var e=t||{},i=e.nativeScrollbarsOverlaid,o=e.body,u=tt(),c=u.L,a=u.A,f=r.nativeScrollbarsOverlaid,l=r.body,s=null!=i?i:f,h=d(o)?l:o,p=(c.x||c.y)&&s,w=n&&(v(h)?!a:h);return!!p||!!w},ct=new WeakMap,at=function(n){return ct.get(n)},ft=function(n,r){return n?r.split(".").reduce((function(n,r){return n&&z(n,r)?n[r]:void 0}),n):void 0},lt=function(n,r,t){return function(e){return[ft(n,e),t||void 0!==ft(r,e)]}},dt=function(n){var r=n;return[function(){return r},function(n){r=A({},r,n)}]},vt="tabindex",st=Z.bind(0,""),ht=function(n){V(W(n),Y(n)),q(n)},pt=function(n){var r=tt(),t=r.F,e=r.A,i=Fr()[$r],o=i&&i.P,u=t().elements,c=u.host,a=u.padding,f=u.viewport,l=u.content,d=O(n),v=d?{}:n,s=v.elements||{},h=s.host,p=s.padding,w=s.viewport,b=s.content,g=d?n:v.target,y=I(g,"textarea"),m=g.ownerDocument,x=m.documentElement,S=g===m.body,C=m.defaultView,E=it.bind(0,[g]),z=ot.bind(0,[g]),A=et.bind(0,[g]),R=E.bind(0,st,f),H=z.bind(0,st,l),D=R(w),N=D===g,_=N&&S,F=!N&&H(b),X=!N&&O(D)&&D===F,J=X&&!!A(l),K=J?R():D,Z=J?F:H(),U=_?x:X?K:D,Q=y?E(st,c,h):g,nn=_?U:Q,rn=X?Z:F,tn=m.activeElement,en=!N&&C.top===C&&tn===g,on={Z:g,$:nn,J:U,K:!N&&z(st,a,p),rr:rn,ar:!N&&!e&&o&&o(r),er:_?x:U,nr:_?m:U,tr:C,vr:m,ir:y,ur:S,lr:d,cr:N,sr:X,dr:function(n,r){return N?function(n,r,t){var e=B(n,r)||"";return new Set(e.split(" ")).has(t)}(U,tr,r):function(n,r){return Ln(n,r,(function(n,r){return n.contains(r)}))}(U,n)},hr:function(n,r,t){return N?j(U,tr,r,t):(t?Cn:Mn)(U,n)}},un=P(on).reduce((function(n,r){var t=on[r];return M(n,!(!t||W(t))&&t)}),[]),cn=function(n){return n?L(un,n)>-1:null},an=on.Z,fn=on.$,ln=on.K,dn=on.J,vn=on.rr,sn=on.ar,hn=[function(){k(fn,tr),k(fn,er),k(an,er),S&&(k(x,tr),k(x,er))}],pn=y&&cn(fn),wn=y?an:Y([vn,dn,ln,fn,an].find((function(n){return!1===cn(n)}))),bn=_?an:vn||dn;return[on,function(){B(fn,tr,N?"viewport":"host");var n=Cn(ln,fr),r=Cn(dn,!N&&lr),t=Cn(vn,vr),i=S&&!N?Cn(W(g),sr):gn;if(pn&&($(an,fn),M(hn,(function(){$(fn,an),q(fn)}))),V(bn,wn),V(fn,ln),V(ln||fn,!N&&dn),V(dn,vn),M(hn,(function(){i(),k(dn,ir),k(dn,or),cn(vn)&&ht(vn),cn(dn)&&ht(dn),cn(ln)&&ht(ln),n(),r(),t()})),e&&!N&&M(hn,Mn.bind(0,dn,sr)),sn&&(G(dn,sn),M(hn,q.bind(0,sn))),en){var o=B(dn,vt);B(dn,vt,"-1"),dn.focus();var u=function(){return o?B(dn,vt,o):k(dn,vt)},c=Wn(m,"pointerdown keydown",(function(){u(),c()}));M(hn,[u,c])}else tn&&tn.focus&&tn.focus();wn=0},T.bind(0,hn)]},wt=function(n,r){var e=n.rr,i=r[0];return function(n){var r=tt().j,o=i().gr,u=n.pr,c=(e||!r)&&u;return c&&t(e,{height:o?"":"100%"}),{_r:c,wr:c}}},bt=function(n,r){var e=r[0],i=r[1],u=n.$,c=n.K,a=n.J,f=n.cr,l=o({o:wn,v:Rn()},Rn.bind(0,u,"padding","")),d=l[0],v=l[1];return function(n,r,o){var u=v(o),l=u[0],s=u[1],h=tt(),p=h.A,w=h.j,b=e().br,g=n._r,y=n.wr,m=n.mr,x=r("paddingAbsolute"),O=x[0],S=x[1];if(g||s||!w&&y){var L=d(o);l=L[0],s=L[1]}var M=!f&&(S||m||s);if(M){var C=!O||!c&&!p,E=l.r+l.l,T=l.t+l.b,z={marginRight:C&&!b?-E:0,marginBottom:C?-T:0,marginLeft:C&&b?-E:0,top:C?-l.t:0,right:C?b?-l.r:"auto":0,left:C?b?"auto":-l.l:0,width:C?"calc(100% + "+E+"px)":""},P={paddingTop:C?l.t:0,paddingRight:C?l.r:0,paddingBottom:C?l.b:0,paddingLeft:C?l.l:0};t(c||a,z),t(a,P),i({K:l,yr:!C,R:c?P:A({},z,P)})}return{Sr:M}}},gt=Math.max,yt=gt.bind(0,0),mt="visible",xt="hidden",Ot=42,St={o:hn,v:{w:0,h:0}},Lt={o:pn,v:{x:xt,y:xt}},Mt=function(n,r,t){return t?Cn(n,r):Mn(n,r)},Ct=function(n){return 0===n.indexOf(mt)},Et=function(n,r){var e=r[0],i=r[1],u=n.$,c=n.K,a=n.J,f=n.ar,l=n.cr,d=n.hr,v=n.ur,s=n.tr,h=tt(),p=h.V,w=h.j,b=h.A,g=h.L,y=Fr()[$r],m=!l&&!b&&(g.x||g.y),x=v&&l,O=o(St,Nn.bind(0,a)),S=O[0],L=O[1],M=o(St,Dn.bind(0,a)),C=M[0],E=M[1],T=o(St),z=T[0],P=T[1],A=o(St),R=A[0],H=A[1],k=o(Lt)[0],D=function(n,r){if(t(a,{height:""}),r){var i=e(),o=i.yr,c=i.K,f=n.Cr,l=n.I,d=Nn(u),v=kn(u),s="content-box"===t(a,"boxSizing"),h=o||s?c.b+c.t:0,p=!(g.x&&s);t(a,{height:v.h+d.h+(f.x&&p?l.x:0)-h})}},N=function(n,r){var e=b||n?0:Ot,i=function(n,i,o){var u=t(a,n),c="scroll"===(r?r[n]:u);return[u,c,c&&!b?i?e:o:0,i&&!!e]},o=i("overflowX",g.x,p.x),u=o[0],c=o[1],f=o[2],l=o[3],d=i("overflowY",g.y,p.y);return{Or:{x:u,y:d[0]},Cr:{x:c,y:d[1]},I:{x:f,y:d[2]},D:{x:l,y:d[3]}}},_=function(n,r,t,i){var o=n.I,u=n.D,c=u.x,a=u.y,f=o.x,l=o.y,d=e().R,v=r?"marginLeft":"marginRight",s=r?"paddingLeft":"paddingRight",h=d[v],p=d.marginBottom,w=d[s],b=d.paddingBottom;i.width="calc(100% + "+(l+-1*h)+"px)",i[v]=-l+h,i.marginBottom=-f+p,t&&(i[s]=w+(a?l:0),i.paddingBottom=b+(c?f:0))},F=y?y.M(m,w,a,f,e,N,_):[function(){return m},function(){return[gn]}],I=F[0],Y=F[1];return function(n,r,o){var f,v=n._r,h=n.Er,p=n.wr,y=n.Sr,m=n.pr,O=n.mr,M=e(),T=M.gr,A=M.br,F=r("showNativeOverlaidScrollbars"),W=F[0],X=F[1],J=r("overflow"),K=J[0],V=J[1],G=W&&g.x&&g.y,$=!l&&!w&&(v||p||h||X||m),q=Ct(K.x),Z=Ct(K.y),U=q||Z,Q=L(o),nn=E(o),rn=P(o),tn=H(o);if(X&&b&&d(sr,cr,!G),$&&(f=N(G),D(f,T)),v||y||p||O||X){U&&d(hr,ur,!1);var en=Y(G,A,f),on=en[0],un=en[1],cn=Q=S(o),an=cn[0],fn=cn[1],ln=nn=C(o),dn=ln[0],vn=ln[1],sn=kn(a),hn=dn,pn=sn;on(),(vn||fn||X)&&un&&!G&&I(un,dn,an,A)&&(pn=kn(a),hn=Dn(a));var wn={w:yt(gt(dn.w,hn.w)+an.w),h:yt(gt(dn.h,hn.h)+an.h)},bn={w:yt((x?s.innerWidth:pn.w+yt(sn.w-dn.w))+an.w),h:yt((x?s.innerHeight+an.h:pn.h+yt(sn.h-dn.h))+an.h)};tn=R(bn),rn=z(function(n,r){var t=window.devicePixelRatio%1!=0?1:0,e={w:yt(n.w-r.w),h:yt(n.h-r.h)};return{w:e.w>t?e.w:0,h:e.h>t?e.h:0}}(wn,bn),o)}var gn=tn,yn=gn[0],mn=gn[1],xn=rn,On=xn[0],Sn=xn[1],Ln=nn,Mn=Ln[0],Cn=Ln[1],En=Q,Tn=En[0],zn=En[1],Pn={x:On.w>0,y:On.h>0},An=q&&Z&&(Pn.x||Pn.y)||q&&Pn.x&&!Pn.y||Z&&Pn.y&&!Pn.x;if(y||O||zn||Cn||mn||Sn||V||X||$){var Rn={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},Hn=function(n,r,t,e){var i=function(n,r){var t=Ct(n),e=r&&t&&n.replace(mt+"-","")||"";return[r&&!t?n:"",Ct(e)?"hidden":e]},o=i(t.x,r.x),u=o[0],c=o[1],a=i(t.y,r.y),f=a[0],l=a[1];return e.overflowX=c&&f?c:u,e.overflowY=l&&u?l:f,N(n,e)}(G,Pn,K,Rn),Bn=I(Hn,Mn,Tn,A);l||_(Hn,A,Bn,Rn),$&&D(Hn,T),l?(B(u,ir,Rn.overflowX),B(u,or,Rn.overflowY)):t(a,Rn)}j(u,tr,ur,An),Mt(c,hr,An),!l&&Mt(a,hr,U);var jn=k(N(G).Or),Nn=jn[0],_n=jn[1];return i({Or:Nn,zr:{x:yn.w,y:yn.h},Tr:{x:On.w,y:On.h},Pr:Pn}),{Ar:_n,Lr:mn,Hr:Sn}}},Tt=function(n,t,e){var i={},o=t||{};return r(P(n).concat(P(o)),(function(r){var t=n[r],u=o[r];i[r]=!!(e||t||u)})),i},zt=function(n,t,e){var i,o=!1,u=function(u){if(e){var c=e.reduce((function(r,t){if(t){var e=t[0],i=t[1],o=i&&e&&(u?u(e):F(e,n));o&&o.length&&i&&p(i)&&M(r,[o,i.trim()],!0)}return r}),[]);r(c,(function(e){return r(e[0],(function(r){var u=e[1],c=i.get(r)||[];if(n.contains(r)){var a=Wn(r,u,(function(n){o?(a(),i.delete(r)):t(n)}));i.set(r,M(c,a))}else T(c),i.delete(r)}))}))}};return e&&(i=new WeakMap,u()),[function(){o=!0},u]},Pt=function(n,t,e,i){var o=!1,u=i||{},c=u.Mr,a=u.Rr,f=u.Ir,l=u.Dr,d=u.kr,v=u.Vr,s=mn((function(){o&&e(!0)}),{g:33,p:99}),h=zt(n,s,f),w=h[0],b=h[1],g=a||[],y=(c||[]).concat(g),m=function(o,u){var c=d||gn,a=v||gn,f=new Set,s=new Set,h=!1,w=!1;if(r(o,(function(e){var o=e.attributeName,u=e.target,d=e.type,v=e.oldValue,b=e.addedNodes,y=e.removedNodes,m="attributes"===d,x="childList"===d,O=n===u,S=m&&p(o)?B(u,o):0,M=0!==S&&v!==S,C=L(g,o)>-1&&M;if(t&&(x||!O)){var E=!m,T=m&&M,z=T&&l&&I(u,l),P=(z?!c(u,o,v,S):E||T)&&!a(e,!!z,n,i);r(b,(function(n){return f.add(n)})),r(y,(function(n){return f.add(n)})),w=w||P}!t&&O&&M&&!c(u,o,v,S)&&(s.add(o),h=h||C)})),f.size>0&&b((function(n){return C(f).reduce((function(r,t){return M(r,F(n,t)),I(t,n)?M(r,t):r}),[])})),t)return!u&&w&&e(!1),[!1];if(s.size>0||h){var y=[C(s),h];return!u&&e.apply(0,y),y}},x=new un((function(n){return m(n)}));return x.observe(n,{attributes:!0,attributeOldValue:!0,attributeFilter:y,subtree:t,childList:t,characterData:t}),o=!0,[function(){o&&(w(),x.disconnect(),o=!1)},function(){if(o){s.m();var n=x.takeRecords();return!E(n)&&m(n,!0)}}]},At=3333333,Rt=function(n){return n&&(n.height||n.width)},Ht=function(n,r,t){var e=t||{},i=e.Br,u=void 0!==i&&i,c=e.jr,a=void 0!==c&&c,f=Fr()[Xr],l=tt().B,d=U('<div class="'+pr+'"><div class="'+br+'"></div></div>')[0],v=d.firstChild,s=An.bind(0,n),h=o({v:void 0,u:!0,o:function(n,r){return!(!n||!Rt(n)&&Rt(r))}}),p=h[0],b=function(n){var t=g(n)&&n.length>0&&y(n[0]),e=!t&&w(n[0]),i=!1,o=!1,c=!0;if(t){var a=p(n.pop().contentRect),f=a[0],v=a[2],s=Rt(f);o=!Rt(v)&&s,c=!(i=!v||!s)}else e?c=n[1]:o=!0===n;if(u&&c){var h=e?n[0]:An(d);D(d,h?l.n?-At:l.i?0:At:At),N(d,At)}i||r({_r:!e,Ur:e?n:void 0,jr:!!o})},m=[],x=!!a&&b;return[function(){T(m),q(d)},function(){if(an){var r=new an(b);r.observe(v),M(m,(function(){r.disconnect()}))}else if(f){var t=f.T(v,b,a),e=t[0],i=t[1];x=e,M(m,i)}if(u){var c=o({v:void 0},s)[0];M(m,Wn(d,"scroll",(function(n){var r=c(),t=r[0],e=r[1],i=r[2];e&&(Mn(v,"ltr rtl"),Cn(v,t?"rtl":"ltr"),b([!!t,e,i])),Xn(n)})))}x&&(Cn(d,wr),M(m,Wn(d,"animationstart",x,{O:!!an}))),(an||f)&&V(n,d)}]},Bt=function(n,r){var t,e=Z(xr),i=[],u=o({v:!1})[0],c=function(n,t){if(n){var e=u(function(n){return 0===n.h||n.isIntersecting||n.intersectionRatio>0}(n));if(e[1])return!t&&r(e),[e]}},a=function(n,r){if(n&&n.length>0)return c(n.pop(),r)};return[function(){T(i),q(e)},function(){if(cn)(t=new cn((function(n){return a(n)}),{root:n})).observe(e),M(i,(function(){t.disconnect()}));else{var r=function(){var n=jn(e);c(n)},o=Ht(e,r),u=o[0],f=o[1];M(i,u),f(),r()}V(n,e)},function(){if(t)return a(t.takeRecords(),!0)}]},jt="["+tr+"]",kt="."+lr,Dt=["tabindex"],Nt=["wrap","cols","rows"],_t=["id","class","style","open"],Ft=function(n,t,e){var i,u,c,a=n.$,f=n.J,l=n.rr,d=n.ir,v=n.cr,s=n.dr,w=n.hr,y=tt().j,m=o({o:hn,v:{w:0,h:0}},(function(){var n=s(hr,ur),r=s(dr,""),t=r&&D(f),e=r&&N(f);w(hr,ur),w(dr,""),w("",ar,!0);var i=Dn(l),o=Dn(f),u=Nn(f);return w(hr,ur,n),w(dr,"",r),w("",ar),D(f,t),N(f,e),{w:o.w+i.w+u.w,h:o.h+i.h+u.h}})),x=m[0],O=d?Nt:_t.concat(Nt),S=mn(e,{g:function(){return i},p:function(){return u},_:function(n,r){var t=n[0],e=r[0];return[P(t).concat(P(e)).reduce((function(n,r){return n[r]=t[r]||e[r],n}),{})]}}),C=function(n){r(n||Dt,(function(n){if(L(Dt,n)>-1){var r=B(a,n);p(r)?B(f,n,r):k(f,n)}}))},E=function(n,r){var i=n[0],o={pr:n[1]};return t({gr:i}),!r&&e(o),o},T=function(n){var r=n._r,i=n.Ur,o=n.jr,u=!r||o?e:S,c=!1;if(i){var a=i[0];c=i[1],t({br:a})}u({_r:r,mr:c})},z=function(n,r){var t=x()[1],i={wr:t};return t&&!r&&(n?e:S)(i),i},R=function(n,r,t){var e={Er:r};return r?!t&&S(e):v||C(n),e},H=l||!y?Bt(a,E):[gn,gn,gn],j=H[0],_=H[1],F=H[2],I=v?[gn,gn]:Ht(a,T,{jr:!0,Br:!0}),Y=I[0],W=I[1],K=Pt(a,!1,R,{Rr:_t,Mr:_t.concat(Dt)}),V=K[0],G=K[1],$=v&&an&&new an(T.bind(0,{_r:!0}));return $&&$.observe(a),C(),[function(){j(),Y(),c&&c[0](),$&&$.disconnect(),V()},function(){W(),_()},function(){var n={},r=G(),t=F(),e=c&&c[1]();return r&&A(n,R.apply(0,M(r,!0))),t&&A(n,E.apply(0,M(t,!0))),e&&A(n,z.apply(0,M(e,!0))),n},function(n){var r=n("update.ignoreMutation")[0],t=n("update.attributes"),e=t[0],o=t[1],a=n("update.elementEvents"),d=a[0],s=a[1],p=n("update.debounce"),w=p[0],y=p[1],m=function(n){return b(r)&&r(n)};if((s||o)&&(c&&(c[1](),c[0]()),c=Pt(l||f,!0,z,{Mr:O.concat(e||[]),Ir:d,Dr:jt,Vr:function(n,r){var t=n.target,e=n.attributeName;return!(r||!e||v)&&J(t,jt,kt)||!!X(t,"."+Lr)||!!m(n)}})),y)if(S.m(),g(w)){var x=w[0],L=w[1];i=h(x)&&x,u=h(L)&&L}else h(w)?(i=w,u=!1):(i=!1,u=!1)}]},It={x:0,y:0},Yt=function(n,t){var e=lt(t,{}),i=$n(),o=i[0],u=i[1],c=i[2],a=pt(n),f=a[0],l=a[1],d=a[2],v=dt(function(n){return{K:{t:0,r:0,b:0,l:0},yr:!1,R:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zr:It,Tr:It,Or:{x:"hidden",y:"hidden"},Pr:{x:!1,y:!1},gr:!1,br:An(n.$)}}(f)),s=v[0],h=v[1],p=function(n,t){var e=n.Z,i=n.J,o=n.hr,u=n.cr,c=tt(),a=c.A,f=c.L,l=c.j,d=!a&&(f.x||f.y),v=[wt(n,t),bt(n,t),Et(n,t)];return function(n,t,c){var a=Tt(A({_r:!1,Sr:!1,mr:!1,pr:!1,Lr:!1,Hr:!1,Ar:!1,Er:!1,wr:!1},t),{},c),f=d||!l,s=f&&D(i),h=f&&N(i);o("",ar,!0);var p=a;return r(v,(function(r){p=Tt(p,r(p,n,!!c)||{},c)})),D(i,s),N(i,h),o("",ar),u||(D(e,0),N(e,0)),p}}(f,v),w=function(n,r,t){var e=P(n).some((function(r){return n[r]})),i=e||!R(r)||t;return i&&c("u",[n,r,t]),i},b=Ft(f,h,(function(n){return w(p(e,n),{},!1)})),g=b[0],y=b[1],m=b[2],x=b[3],O=s.bind(0);return O.qr=function(n){return o("u",n)},O.Fr=function(){var n=f.Z,r=f.J,t=D(n),e=N(n);y(),l(),D(r,t),N(r,e)},O.Nr=f,[function(n,r){var e=lt(t,n,r);return x(e),w(p(e,m(),r),n,!!r)},O,function(){u(),g(),d()}]},Wt=Math.round,Xt=function(n,r){return Wn(n,"mousedown",Wn.bind(0,r,"click",Xn,{O:!0,C:!0}),{C:!0})},Jt=function(n,r,t,e,i,o){var u=tt().B,c=t.Yr,a=t.Wr,f=t.Gr,l="scroll"+(o?"Left":"Top"),d="client"+(o?"X":"Y"),v=o?"width":"height",s=o?"left":"top",h=o?"w":"h",p=o?"x":"y",w=function(n,r){return function(t){var d=i().Tr,v=jn(a)[h]-jn(c)[h],s=r*t/v*d[p],w=An(f)&&o?u.n||u.i?1:-1:1;e[l]=n+s*w}};return Wn(a,"pointerdown",(function(t){var i=X(t.target,"."+zr)===c,o=i?c:a;if(function(n,r,t){var e=r.scrollbars,i=n.button,o=n.isPrimary,u=n.pointerType,c=e.pointers;return 0===i&&o&&e[t?"dragScroll":"clickScroll"]&&(c||[]).includes(u)}(t,n,i)){var u=!i&&t.shiftKey,f=function(){return _n(c)},h=function(){return _n(a)},b=function(n,r){return(n||f())[s]-(r||h())[s]},g=w(e[l]||0,1/function(n){var r=_n(n),t=r.width,e=r.height,i=jn(n),o=i.w,u=i.h;return{x:Wt(t)/o||1,y:Wt(e)/u||1}}(e)[p]),y=t[d],m=f(),x=h(),O=m[v],S=b(m,x)+O/2,L=y-x[s],C=i?0:L-S,E=[Wn(r,"selectstart",(function(n){return Jn(n)}),{S:!1}),Wn(a,"pointermove",(function(n){var r=n[d]-y;(i||u)&&g(C+r)}))];if(u)g(C);else if(!i){var z=Fr()[Zr];z&&M(E,z.T(g,b,C,O,L))}Wn(a,"pointerup",(function(n){T(E),o.releasePointerCapture(n.pointerId)}),{O:!0}),o.setPointerCapture(t.pointerId)}}))},Kt=Math.min,Vt=Math.max,Gt=Math.abs,$t=Math.round,qt=function(n,r,t,e){if(e){var i=t?"x":"y",o=e.Tr,u=e.zr[i],c=o[i];return Vt(0,Kt(1,u/(u+c)))}var a=t?"w":"h",f=jn(n)[a],l=jn(r)[a];return Vt(0,Kt(1,f/l))},Zt=function(n,e,i){var o=tt(),u=o.F,c=o.H,a=u().scrollbars.slot,f=e.vr,l=e.Z,d=e.$,v=e.J,s=e.lr,h=e.er,p=e.ur,b=e.cr,g=((s?{}:n).scrollbars||{}).slot,y=ot([l,d,v],(function(){return b&&p?l:d}),a,g),m=function(n,t,e){var i=e?Cn:Mn;r(n,(function(n){i(n.Gr,t)}))},x=function(n,e){r(n,(function(n){var r=e(n);t(r[0],r[1])}))},O=function(n,r,t){x(n,(function(n){var e,i=n.Yr,o=n.Wr;return[i,(e={},e[t?"width":"height"]=(100*qt(i,o,t,r)).toFixed(3)+"%",e)]}))},S=function(n,r,t){var e=t?"X":"Y";x(n,(function(n){var i=n.Yr,o=n.Wr,u=n.Gr,c=function(n,r,t,e,i,o){var u=tt().B,c=o?"x":"y",a=o?"Left":"Top",f=e.Tr,l=$t(f[c]),d=Gt(t["scroll"+a]),v=o&&i,s=u.i?d:l-d,h=Kt(1,(v?s:d)/l),p=qt(n,r,o);return 1/p*(1-p)*h}(i,o,h,r,An(u),t);return[i,{transform:c==c?"translate"+e+"("+(100*c).toFixed(3)+"%)":""}]}))},L=[],C=[],z=[],P=function(n,r,t){var e=w(t),i=!e||!t;(!e||t)&&m(C,n,r),i&&m(z,n,r)},A=function(n){var r=n?Cr:Er,t=n?C:z,e=E(t)?Rr:"",o=Z(Lr+" "+r+" "+e),u=Z(Tr),a=Z(zr),l={Gr:o,Wr:u,Yr:a};return c||Cn(o,Or),V(o,u),V(u,a),M(t,l),M(L,[q.bind(0,o),i(l,P,f,d,h,n)]),l},R=A.bind(0,!0),H=A.bind(0,!1);return R(),H(),[{Xr:function(n){O(C,n,!0),O(z,n)},Zr:function(n){S(C,n,!0),S(z,n)},$r:P,Jr:{Kr:C,Qr:R,ra:x.bind(0,C)},aa:{Kr:z,Qr:H,ra:x.bind(0,z)}},function(){V(y,C[0].Gr),V(y,z[0].Gr),dn((function(){P(Rr)}),300)},T.bind(0,L)]},Ut=function(n,r,t,e){var i,o,u,c,a,f=0,l=dt({})[0],d=yn(),v=d[0],s=d[1],h=yn(),p=h[0],w=h[1],b=yn(100),g=b[0],y=b[1],m=yn(100),x=m[0],O=m[1],S=yn((function(){return f})),L=S[0],M=S[1],C=Zt(n,t.Nr,function(n,r){return function(t,e,i,o,u,c){var a=t.Gr,f=yn(333),l=f[0],d=f[1],v=!!u.scrollBy,s=!0;return T.bind(0,[Wn(a,"pointerenter",(function(){e(Hr,!0)})),Wn(a,"pointerleave pointercancel",(function(){e(Hr)})),Wn(a,"wheel",(function(n){var r=n.deltaX,t=n.deltaY,i=n.deltaMode;v&&s&&0===i&&W(a)===o&&u.scrollBy({left:r,top:t,behavior:"smooth"}),s=!1,e(kr,!0),l((function(){s=!0,e(kr)})),Jn(n)}),{S:!1,C:!0}),Xt(a,i),Jt(n,i,t,u,r,c),d])}}(r,t)),E=C[0],z=C[1],P=C[2],A=t.Nr,R=A.$,H=A.J,B=A.er,j=A.nr,k=A.cr,_=A.ur,F=E.Jr,I=E.aa,Y=E.$r,X=E.Xr,J=E.Zr,K=F.ra,V=I.ra,G=function(n){var r=n.Gr,t=k&&!_&&W(r)===H&&r;return[t,{transform:t?"translate("+D(B)+"px, "+N(B)+"px)":""}]},$=function(n,r){if(M(),n)Y(jr);else{var t=function(){return Y(jr,!0)};f>0&&!r?L(t):t()}},q=function(){(c=o)&&$(!0)},Z=[y,M,O,w,s,P,Wn(R,"pointerover",q,{O:!0}),Wn(R,"pointerenter",q),Wn(R,"pointerleave",(function(){c=!1,o&&$(!1)})),Wn(R,"pointermove",(function(){i&&v((function(){y(),$(!0),x((function(){i&&$(!1)}))}))})),Wn(j,"scroll",(function(n){p((function(){J(t()),u&&$(!0),g((function(){u&&!c&&$(!1)}))})),e(n),k&&K(G),k&&V(G)}))],U=l.bind(0);return U.Nr=E,U.Fr=z,[function(n,e,c){var l=c.Lr,d=c.Hr,v=c.Ar,s=c.mr,h=tt().L,p=lt(r,n,e),w=t(),b=w.Tr,g=w.Or,y=w.br,m=p("showNativeOverlaidScrollbars"),x=m[0],O=m[1],S=p("scrollbars.theme"),L=S[0],M=S[1],C=p("scrollbars.visibility"),E=C[0],T=C[1],z=p("scrollbars.autoHide"),P=z[0],A=z[1],R=p("scrollbars.autoHideDelay")[0],H=p("scrollbars.dragScroll"),B=H[0],j=H[1],k=p("scrollbars.clickScroll"),D=k[0],N=k[1],F=l||d||s,I=v||T,W=x&&h.x&&h.y,K=function(n,r){var t="visible"===E||"auto"===E&&"scroll"===n;return Y(Pr,t,r),t};if(f=R,O&&Y(Sr,W),M&&(Y(a),Y(L,!0),a=L),A&&(i="move"===P,o="leave"===P,$(!(u="never"!==P),!0)),j&&Y(Nr,B),N&&Y(Dr,D),I){var V=K(g.x,!0),G=K(g.y,!1);Y(Ar,!(V&&G))}F&&(X(w),J(w),Y(Br,!b.x,!0),Y(Br,!b.y,!1),Y(Mr,y&&!_))},U,T.bind(0,Z)]},Qt=function(n,r,t){b(n)&&n(r||void 0,t||void 0)},ne=function(n,t,e){var i=tt(),o=i.Y,u=i.F,c=i.U,a=i.q,f=Fr(),l=O(n),d=l?n:n.target,v=at(d);if(t&&!v){var s=!1,h=function(n){var r=Fr()[Ir],t=r&&r.T;return t?t(n,!0):n},p=A({},o(),h(t)),w=$n(e),b=w[0],g=w[1],y=w[2],m=Yt(n,p),x=m[0],S=m[1],L=m[2],M=Ut(n,p,S,(function(n){return y("scroll",[D,n])})),C=M[0],E=M[1],T=M[2],z=function(n,r){return x(n,!!r)},H=z.bind(0,{},!0),B=c(H),j=a(H),k=function(n){!function(n){ct.delete(n)}(d),B(),j(),T(),L(),s=!0,y("destroyed",[D,!!n]),g()},D={options:function(n,r){if(n){var t=r?o():{},e=Un(p,A(t,h(n)));R(e)||(A(p,e),z(e))}return A({},p)},on:b,off:function(n,r){n&&r&&g(n,r)},state:function(){var n=S(),r=n.zr,t=n.Tr,e=n.Or,i=n.Pr,o=n.K,u=n.yr,c=n.br;return A({},{overflowEdge:r,overflowAmount:t,overflowStyle:e,hasOverflow:i,padding:o,paddingAbsolute:u,directionRTL:c,destroyed:s})},elements:function(){var n=S.Nr,r=n.Z,t=n.$,e=n.K,i=n.J,o=n.rr,u=n.er,c=n.nr,a=E.Nr,f=a.Jr,l=a.aa,d=function(n){var r=n.Yr,t=n.Wr;return{scrollbar:n.Gr,track:t,handle:r}},v=function(n){var r=n.Kr,t=n.Qr,e=d(r[0]);return A({},e,{clone:function(){var n=d(t());return C({},!0,{}),n}})};return A({},{target:r,host:t,padding:e||i,viewport:i,content:o||i,scrollOffsetElement:u,scrollEventElement:c,scrollbarHorizontal:v(f),scrollbarVertical:v(l)})},update:function(n){return z({},n)},destroy:k.bind(0)};return S.qr((function(n,r,t){C(r,t,n)})),function(n,r){ct.set(n,r)}(d,D),r(P(f),(function(n){return Qt(f[n],0,D)})),ut(S.Nr.ur,u().cancel,!l&&n.cancel)?(k(!0),D):(S.Fr(),E.Fr(),y("initialized",[D]),S.qr((function(n,r,t){var e=n._r,i=n.mr,o=n.pr,u=n.Lr,c=n.Hr,a=n.Ar,f=n.wr,l=n.Er;y("updated",[D,{updateHints:{sizeChanged:e,directionChanged:i,heightIntrinsicChanged:o,overflowEdgeChanged:u,overflowAmountChanged:c,overflowStyleChanged:a,contentMutation:f,hostMutation:l},changedOptions:r,force:t}])})),D.update(!0),D)}return v};return ne.plugin=function(n){r(function(n){var t=[];return r(g(n)?n:[n],(function(n){r(P(n),(function(r){M(t,_r[r]=n[r])}))})),t}(n),(function(n){return Qt(n,ne)}))},ne.valid=function(n){var r=n&&n.elements,t=b(r)&&r();return x(t)&&!!at(t.target)},ne.env=function(){var n=tt(),r=n.V,t=n.L,e=n.A,i=n.B,o=n.j,u=n.H,c=n.G,a=n.X,f=n.F,l=n.N,d=n.Y,v=n.W;return A({},{scrollbarsSize:r,scrollbarsOverlaid:t,scrollbarsHiding:e,rtlScrollBehavior:i,flexboxGlue:o,cssCustomProperties:u,staticDefaultInitialization:c,staticDefaultOptions:a,getDefaultInitialization:f,setDefaultInitialization:l,getDefaultOptions:d,setDefaultOptions:v})},n.ClickScrollPlugin=Ur,n.OverlayScrollbars=ne,n.ScrollbarsHidingPlugin=qr,n.SizeObserverPlugin=Jr,Object.defineProperty(n,"ea",{value:!0}),n}({});
/*!
* OverlayScrollbars
* Version: 2.0.3
* Version: 2.1.0
*

@@ -11,2 +11,2 @@ * Copyright (c) Rene Haas | KingSora.

var OverlayScrollbarsGlobal=function(t){"use strict";function e(t,n){if(b(t))for(let e=0;e<t.length&&!1!==n(t[e],e,t);e++);else t&&e(Object.keys(t),(e=>n(t[e],e,t)));return t}function n(t,n){const o=h(n);if(w(n)||o){let e=o?"":{};if(t){const r=window.getComputedStyle(t,null);e=o?Ot(t,r,n):n.reduce(((e,n)=>(e[n]=Ot(t,r,n),e)),e)}return e}t&&e(M(n),(e=>Ct(t,e,n[e])))}const o=(t,e)=>{const{o:n,u:o,_:r}=t;let i,s=n;const l=(t,e)=>{const n=s,l=t,c=e||(o?!o(n,l):n!==l);return(c||r)&&(s=l,i=n),[s,c,i]};return[e?t=>l(e(s,i),t):l,t=>[s,!!t,i]]},r=()=>"undefined"!=typeof window,i=r()&&Node.ELEMENT_NODE,{toString:s,hasOwnProperty:l}=Object.prototype,c=t=>void 0===t,a=t=>null===t,d=t=>c(t)||a(t)?`${t}`:s.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),u=t=>"number"==typeof t,h=t=>"string"==typeof t,p=t=>"boolean"==typeof t,f=t=>"function"==typeof t,w=t=>Array.isArray(t),g=t=>"object"==typeof t&&!w(t)&&!a(t),b=t=>{const e=!!t&&t.length,n=u(e)&&e>-1&&e%1==0;return!(!(w(t)||!f(t)&&n)||e>0&&g(t)&&!(e-1 in t))},v=t=>{if(!t||!g(t)||"object"!==d(t))return!1;let e;const n="constructor",o=t[n],r=o&&o.prototype,i=l.call(t,n),s=r&&l.call(r,"isPrototypeOf");if(o&&!i&&!s)return!1;for(e in t);return c(e)||l.call(t,e)},y=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===i)},m=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===i)},x=(t,e,n)=>t.indexOf(e,n),$=(t,e,n)=>(n||h(e)||!b(e)?t.push(e):Array.prototype.push.apply(t,e),t),S=t=>{const n=Array.from,o=[];return n&&t?n(t):(t instanceof Set?t.forEach((t=>{$(o,t)})):e(t,(t=>{$(o,t)})),o)},O=t=>!!t&&0===t.length,C=(t,n,o)=>{e(t,(t=>t&&t.apply(void 0,n||[]))),!o&&(t.length=0)},L=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),M=t=>t?Object.keys(t):[],E=(t,n,o,r,i,s,l)=>{const c=[n,o,r,i,s,l];return"object"==typeof t&&!a(t)||f(t)||(t={}),e(c,(n=>{e(M(n),(e=>{const o=n[e];if(t===o)return!0;const r=w(o);if(o&&(v(o)||r)){const n=t[e];let i=n;r&&!w(n)?i=[]:r||v(n)||(i={}),t[e]=E(i,o)}else t[e]=o}))})),t},P=t=>{for(const e in t)return!1;return!0},z=(t,e,n,o)=>{if(c(o))return n?n[t]:e;n&&(h(o)||u(o))&&(n[t]=o)},T=(t,e,n)=>{if(c(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},A=(t,e,n,o)=>{if(n){const r=T(t,e)||"",i=new Set(r.split(" "));i[o?"add":"delete"](n),T(t,e,S(i).join(" ").trim())}},k=(t,e)=>{t&&t.removeAttribute(e)},I=(t,e)=>z("scrollLeft",0,t,e),R=(t,e)=>z("scrollTop",0,t,e),B=r()&&Element.prototype,D=(t,e)=>{const n=[],o=e?m(e)?e:null:document;return o?$(n,o.querySelectorAll(t)):n},H=(t,e)=>!!m(t)&&(B.matches||B.msMatchesSelector).call(t,e),X=t=>t?S(t.childNodes):[],N=t=>t?t.parentElement:null,V=(t,e)=>{if(m(t)){const n=B.closest;if(n)return n.call(t,e);do{if(H(t,e))return t;t=N(t)}while(t)}return null},j=(t,n,o)=>{if(o&&t){let r,i=n;b(o)?(r=document.createDocumentFragment(),e(o,(t=>{t===i&&(i=t.previousSibling),r.appendChild(t)}))):r=o,n&&(i?i!==n&&(i=i.nextSibling):i=t.firstChild),t.insertBefore(r,i||null)}},F=(t,e)=>{j(t,null,e)},W=(t,e)=>{j(N(t),t&&t.nextSibling,e)},_=t=>{if(b(t))e(S(t),(t=>_(t)));else if(t){const e=N(t);e&&e.removeChild(t)}},J=t=>{const e=document.createElement("div");return t&&T(e,"class",t),e},K=t=>{const n=J();return n.innerHTML=t.trim(),e(X(n),(t=>_(t)))},Y=t=>t.charAt(0).toUpperCase()+t.slice(1),q=["-webkit-","-moz-","-o-","-ms-"],G=["WebKit","Moz","O","MS","webkit","moz","o","ms"],Z={},U={},Q=t=>{let n=U[t];if(L(U,t))return n;const o=Y(t),r=J().style;return e(q,(e=>{const i=e.replace(/-/g,""),s=[t,e+t,i+o,Y(i)+o];return!(n=s.find((t=>void 0!==r[t])))})),U[t]=n||""},tt=t=>{if(r()){let n=Z[t]||window[t];return L(Z,t)||(e(G,(e=>(n=n||window[e+Y(t)],!n))),Z[t]=n),n}},et=tt("MutationObserver"),nt=tt("IntersectionObserver"),ot=tt("ResizeObserver"),rt=tt("cancelAnimationFrame"),it=tt("requestAnimationFrame"),st=r()&&window.setTimeout,lt=r()&&window.clearTimeout,ct=(t,n,o,r)=>{if(t&&n){let i=!0;return e(o,(e=>{(r?r(t[e]):t[e])!==(r?r(n[e]):n[e])&&(i=!1)})),i}return!1},at=(t,e)=>ct(t,e,["w","h"]),dt=(t,e)=>ct(t,e,["x","y"]),ut=(t,e)=>ct(t,e,["t","r","b","l"]),ht=(t,e,n)=>ct(t,e,["width","height"],n&&(t=>Math.round(t))),pt=()=>{},ft=t=>{let e;const n=t?st:it,o=t?lt:rt;return[r=>{o(e),e=n(r,f(t)?t():t)},()=>o(e)]},wt=(t,e)=>{let n,o,r,i=pt;const{v:s,g:l,p:c}=e||{},a=function(e){i(),lt(n),n=o=void 0,i=pt,t.apply(this,e)},d=t=>c&&o?c(o,t):t,h=()=>{i!==pt&&a(d(r)||r)},p=function(){const t=S(arguments),e=f(s)?s():s,c=u(e)&&e>=0;if(c){const s=f(l)?l():l,c=u(s)&&s>=0,p=e>0?st:it,w=e>0?lt:rt,g=d(t)||t,b=a.bind(0,g);i();const v=p(b,e);i=()=>w(v),c&&!n&&(n=st(h,s)),o=r=g}else a(t)};return p.m=h,p},{max:gt}=Math,bt=()=>performance.now(),vt=/[^\x20\t\r\n\f]+/g,yt=(t,e,n)=>{const o=t&&t.classList;let r,i=0,s=!1;if(o&&e&&h(e)){const t=e.match(vt)||[];for(s=t.length>0;r=t[i++];)s=!!n(o,r)&&s}return s},mt=(t,e)=>{yt(t,e,((t,e)=>t.remove(e)))},xt=(t,e)=>(yt(t,e,((t,e)=>t.add(e))),mt.bind(0,t,e)),$t={opacity:1,zindex:1},St=(t,e)=>{const n=e?parseFloat(t):parseInt(t,10);return n==n?n:0},Ot=(t,e,n)=>null!=e?e[n]||e.getPropertyValue(n):t.style[n],Ct=(t,e,n)=>{try{const{style:o}=t;c(o[e])?o.setProperty(e,n):o[e]=((t,e)=>!$t[t.toLowerCase()]&&u(e)?`${e}px`:e)(e,n)}catch(l){}},Lt=t=>"rtl"===n(t,"direction"),Mt=(t,e,o)=>{const r=e?`${e}-`:"",i=o?`-${o}`:"",s=`${r}top${i}`,l=`${r}right${i}`,c=`${r}bottom${i}`,a=`${r}left${i}`,d=n(t,[s,l,c,a]);return{t:St(d[s],!0),r:St(d[l],!0),b:St(d[c],!0),l:St(d[a],!0)}},{round:Et}=Math,Pt={w:0,h:0},zt=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:Pt,Tt=t=>t?{w:t.clientWidth,h:t.clientHeight}:Pt,At=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:Pt,kt=t=>{const e=parseFloat(n(t,"height"))||0,o=parseFloat(n(t,"width"))||0;return{w:o-Et(o),h:e-Et(e)}},It=t=>t.getBoundingClientRect();let Rt;const Bt=t=>t.split(" "),Dt=(t,n,o,r)=>{e(Bt(n),(e=>{t.removeEventListener(e,o,r)}))},Ht=(t,n,o,r)=>{var i;const s=(()=>{if(c(Rt)){Rt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Rt=!0}}))}catch(t){}}return Rt})(),l=null!=(i=s&&r&&r.S)?i:s,a=r&&r.$||!1,d=r&&r.C||!1,u=[],h=s?{passive:l,capture:a}:a;return e(Bt(n),(e=>{const n=d?r=>{t.removeEventListener(e,n,a),o&&o(r)}:o;$(u,Dt.bind(null,t,e,n,a)),t.addEventListener(e,n,h)})),C.bind(0,u)},Xt=t=>t.stopPropagation(),Nt=t=>t.preventDefault(),Vt={x:0,y:0},jt=t=>{const e=t?It(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Vt},Ft=(t,n)=>{e(w(n)?n:[n],t)},Wt=t=>{const n=new Map,o=(t,e)=>{if(t){const o=n.get(t);Ft((t=>{o&&o[t?"delete":"clear"](t)}),e)}else n.forEach((t=>{t.clear()})),n.clear()},r=(t,i)=>{if(h(t)){const e=n.get(t)||new Set;return n.set(t,e),Ft((t=>{f(t)&&e.add(t)}),i),o.bind(0,t,i)}p(i)&&i&&o();const s=M(t),l=[];return e(s,(e=>{const n=t[e];n&&$(l,r(e,n))})),C.bind(0,l)};return r(t||{}),[r,o,(t,o)=>{const r=n.get(t);e(S(r),(t=>{o&&!O(o)?t.apply(0,o):t()}))}]},_t=t=>JSON.stringify(t,((t,e)=>{if(f(e))throw new Error;return e})),Jt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Kt=(t,n)=>{const o={};return e(M(n).concat(M(t)),(e=>{const r=t[e],i=n[e];if(g(r)&&g(i))E(o[e]={},Kt(r,i)),P(o[e])&&delete o[e];else if(L(n,e)&&i!==r){let t=!0;if(w(r)||w(i))try{_t(r)===_t(i)&&(t=!1)}catch(G){}t&&(o[e]=i)}})),o},Yt="os-environment",qt=`${Yt}-flexbox-glue`,Gt=`${qt}-max`,Zt="data-overlayscrollbars",Ut="data-overlayscrollbars-initialize",Qt=`${Zt}-overflow-x`,te=`${Zt}-overflow-y`,ee="overflowVisible",ne="scrollbarHidden",oe="updating",re="os-padding",ie="os-viewport",se=`${ie}-arrange`,le="os-content",ce=`${ie}-scrollbar-hidden`,ae=`os-overflow-visible`,de="os-size-observer",ue=`${de}-appear`,he=`${de}-listener`,pe=`${he}-scroll`,fe=`${he}-item`,we=`${fe}-final`,ge="os-trinsic-observer",be="os-theme-none",ve="os-scrollbar",ye=`${ve}-rtl`,me=`${ve}-horizontal`,xe=`${ve}-vertical`,$e=`${ve}-track`,Se=`${ve}-handle`,Oe=`${ve}-visible`,Ce=`${ve}-cornerless`,Le=`${ve}-transitionless`,Me=`${ve}-interaction`,Ee=`${ve}-unusable`,Pe=`${ve}-auto-hidden`,ze=`${ve}-wheel`,Te=`${$e}-interactive`,Ae=`${Se}-interactive`,ke={},Ie=()=>ke,Re="__osOptionsValidationPlugin",Be=3333333,De="scroll",He="__osSizeObserverPlugin",Xe=(()=>({[He]:{O:(t,e,o)=>{const r=K(`<div class="${fe}" dir="ltr"><div class="${fe}"><div class="${we}"></div></div><div class="${fe}"><div class="${we}" style="width: 200%; height: 200%"></div></div></div>`);F(t,r),xt(t,pe);const i=r[0],s=i.lastChild,l=i.firstChild,c=null==l?void 0:l.firstChild;let a,d=zt(i),u=d,h=!1;const p=()=>{I(l,Be),R(l,Be),I(s,Be),R(s,Be)},f=t=>{a=0,h&&(d=u,e(!0===t))},w=t=>{u=zt(i),h=!t||!at(u,d),t?(Xt(t),h&&!a&&(rt(a),a=it(f))):f(!1===t),p()},g=$([],[Ht(l,De,w),Ht(s,De,w)]);return n(c,{width:Be,height:Be}),it(p),[o?w.bind(0,!1):p,g]}}}))();let Ne=0;const{round:Ve,abs:je}=Math,Fe="__osScrollbarsHidingPlugin",We=(()=>({[Fe]:{T:t=>{const{I:e,A:n,L:o}=t,r=!(o||e||!n.x&&!n.y)&&document.createElement("style");return r&&(T(r,"id",`${se}-${Ne}`),Ne++),r},H:(t,o,r,i,s,l,c)=>[(e,o,l,c)=>{if(t){const{M:t}=s(),{P:a,D:d}=e,{x:u,y:h}=d,{x:p,y:f}=a,w=t[c?"paddingRight":"paddingLeft"],g=t.paddingTop,b=o.w+l.w,v=o.h+l.h,y={w:f&&h?`${f+b-w}px`:"",h:p&&u?`${p+v-g}px`:""};if(i){const{sheet:t}=i;if(t){const{cssRules:e}=t;if(e){e.length||t.insertRule(`#${T(i,"id")} + .${se}::before {}`,0);const n=e[0].style;n.width=y.w,n.height=y.h}}}else n(r,{"--os-vaw":y.w,"--os-vah":y.h})}return t},(i,a,d)=>{if(t){const u=d||l(i),{M:h}=s(),{D:p}=u,{x:f,y:w}=p,g={},b=t=>e(t.split(" "),(t=>{g[t]=h[t]}));f&&b("marginBottom paddingTop paddingBottom"),w&&b("marginLeft marginRight paddingLeft paddingRight");const v=n(r,M(g));return mt(r,se),o||(g.height=""),n(r,g),[()=>{c(u,a,t,v),n(r,v),xt(r,se)},u]}return[pt]}],R:()=>{let t={w:0,h:0},e=0;return(n,o,r)=>{const i={w:window.innerWidth,h:window.innerHeight},s={w:i.w-t.w,h:i.h-t.h};if(0===s.w&&0===s.h)return;const l=je(s.w),c=je(s.h),a={w:je(Ve(i.w/(t.w/100))),h:je(Ve(i.h/(t.h/100)))},d=(()=>{const t=window.screen.deviceXDPI||0,e=window.screen.logicalXDPI||1;return window.devicePixelRatio||t/e})(),u=l>2&&c>2,h=!((t,e)=>{const n=je(t),o=je(e);return!(n===o||n+1===o||n-1===o)})(a.w,a.h);if(u&&h&&d!==e&&d>0){const[t,e]=o();E(n.k,t),e&&r()}t=i,e=d}}}}))(),_e="__osClickScrollPlugin",Je=(()=>({[_e]:{O:(t,e,n,o,r)=>{let i=0,s=pt;const l=c=>{s=((t,e,n,o,r)=>{let i=0;const s=bt(),l=Math.max(0,133),c=n=>{const a=bt(),d=a-s>=l,u=n?1:1-(gt(0,s+l-a)/l||0),h=(e-t)*(f(r)?r(u,u*l,0,1,l):u)+t,p=d||1===u;o&&o(h,0,p),i=p?0:it((()=>c()))};return c(),t=>{rt(i),t&&c(t)}})(c,c+o*Math.sign(n),0,((n,c,a)=>{t(n);const d=e();if(a&&!(r>=d&&r<=d+o)){if(i)l(n);else{const t=setTimeout((()=>{l(n)}),222);s=()=>{clearTimeout(t)}}i++}}))};return l(0),()=>s()}}}))();let Ke;const Ye=(t,e,n,o)=>{F(t,e);const r=Tt(e),i=zt(e),s=kt(n);return o&&_(e),{x:i.h-r.h+s.h,y:i.w-r.w+s.w}},qe=(t,e)=>{const o="hidden";n(t,{overflowX:o,overflowY:o,direction:"rtl"}),I(t,0);const r=jt(t),i=jt(e);I(t,-999);const s=jt(e);return{i:r.x===i.x,n:i.x!==s.x}},Ge=(t,e)=>{const n=xt(t,qt),o=It(t),r=It(e),i=ht(r,o,!0),s=xt(t,Gt),l=It(t),c=It(e),a=ht(c,l,!0);return n(),s(),i&&a},Ze=()=>(Ke||(Ke=(()=>{const{body:t}=document,e=K(`<div class="${Yt}"><div></div></div>`)[0],r=e.firstChild,[i,,s]=Wt(),[l,c]=o({o:Ye(t,e,r),u:dt},Ye.bind(0,t,e,r,!0)),[a]=c(),d=(t=>{let e=!1;const o=xt(t,ce);try{e="none"===n(t,Q("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(r){}return o(),e})(e),u={x:0===a.x,y:0===a.y},h={elements:{host:null,padding:!d,viewport:t=>d&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=E({},Jt),f=E.bind(0,{},p),w=E.bind(0,{},h),g={k:a,A:u,I:d,L:"-1"===n(e,"zIndex"),B:qe(e,r),V:Ge(e,r),Y:i.bind(0,"z"),j:i.bind(0,"r"),N:w,q:t=>E(h,t)&&w(),G:f,F:t=>E(p,t)&&f(),X:E({},h),U:E({},p)},b=window.addEventListener,v=wt((t=>s(t?"z":"r")),{v:33,g:99});if(k(e,"style"),_(e),b("resize",v.bind(0,!1)),!(d||u.x&&u.y)){let t;b("resize",(()=>{const e=Ie()[Fe];t=t||e&&e.R(),t&&t(g,l,v.bind(0,!0))}))}return g})()),Ke),Ue=(t,e)=>f(e)?e.apply(0,t):e,Qe=(t,e,n,o)=>{const r=c(o)?n:o;return Ue(t,r)||e.apply(0,t)},tn=(t,e,n,o)=>{const r=c(o)?n:o,i=Ue(t,r);return!!i&&(y(i)?i:e.apply(0,t))},en=new WeakMap,nn=t=>en.get(t),on=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&L(t,e)?t[e]:void 0),t):void 0,rn=(t,e,n)=>o=>[on(t,o),n||void 0!==on(e,o)],sn=t=>{let e=t;return[()=>e,t=>{e=E({},e,t)}]},ln="tabindex",cn=J.bind(0,""),an=t=>{F(N(t),X(t)),_(t)},dn=t=>{const e=Ze(),{N:n,I:o}=e,r=Ie()[Fe],i=r&&r.T,{elements:s}=n(),{host:l,padding:c,viewport:a,content:d}=s,u=y(t),h=u?{}:t,{elements:p}=h,{host:f,padding:w,viewport:g,content:b}=p||{},v=u?t:h.target,m=H(v,"textarea"),S=v.ownerDocument,O=S.documentElement,L=v===S.body,E=S.defaultView,P=Qe.bind(0,[v]),z=tn.bind(0,[v]),I=Ue.bind(0,[v]),R=P.bind(0,cn,a),B=z.bind(0,cn,d),D=R(g),V=D===v,J=V&&L,K=!V&&B(b),Y=!V&&y(D)&&D===K,q=Y&&!!I(d),G=q?R():D,Z=q?K:B(),U=J?O:Y?G:D,Q=m?P(cn,l,f):v,tt=J?U:Q,et=Y?Z:K,nt=S.activeElement,ot=!V&&E.top===E&&nt===v,rt={W:v,Z:tt,J:U,K:!V&&z(cn,c,w),tt:et,nt:!V&&!o&&i&&i(e),ot:J?O:U,st:J?S:U,et:E,ct:S,rt:m,lt:L,it:u,ut:V,dt:Y,ft:(t,e)=>V?((t,e,n)=>{const o=T(t,e)||"";return new Set(o.split(" ")).has(n)})(U,Zt,e):((t,e)=>yt(t,e,((t,e)=>t.contains(e))))(U,t),_t:(t,e,n)=>V?A(U,Zt,e,n):(n?xt:mt)(U,t)},it=M(rt).reduce(((t,e)=>{const n=rt[e];return $(t,!(!n||N(n))&&n)}),[]),st=t=>t?x(it,t)>-1:null,{W:lt,Z:ct,K:at,J:dt,tt:ut,nt:ht}=rt,ft=[()=>{k(ct,Zt),k(ct,Ut),k(lt,Ut),L&&(k(O,Zt),k(O,Ut))}],wt=m&&st(ct);let gt=m?lt:X([ut,dt,at,ct,lt].find((t=>!1===st(t))));const bt=J?lt:ut||dt;return[rt,()=>{T(ct,Zt,V?"viewport":"host");const t=xt(at,re),e=xt(dt,!V&&ie),n=xt(ut,le),r=L&&!V?xt(N(v),ce):pt;if(wt&&(W(lt,ct),$(ft,(()=>{W(ct,lt),_(ct)}))),F(bt,gt),F(ct,at),F(at||ct,!V&&dt),F(dt,ut),$(ft,(()=>{r(),k(dt,Qt),k(dt,te),st(ut)&&an(ut),st(dt)&&an(dt),st(at)&&an(at),t(),e(),n()})),o&&!V&&$(ft,mt.bind(0,dt,ce)),ht&&(((t,e)=>{j(N(t),t,e)})(dt,ht),$(ft,_.bind(0,ht))),ot){const t=T(dt,ln);T(dt,ln,"-1"),dt.focus();const e=()=>t?T(dt,ln,t):k(dt,ln),n=Ht(S,"pointerdown keydown",(()=>{e(),n()}));$(ft,[e,n])}else nt&&nt.focus&&nt.focus();gt=0},C.bind(0,ft)]},un=(t,e)=>{const{tt:o}=t,[r]=e;return t=>{const{V:e}=Ze(),{ht:i}=r(),{vt:s}=t,l=(o||!e)&&s;return l&&n(o,{height:i?"":"100%"}),{gt:l,wt:l}}},hn=(t,e)=>{const[r,i]=e,{Z:s,K:l,J:c,ut:a}=t,[d,u]=o({u:ut,o:Mt()},Mt.bind(0,s,"padding",""));return(t,e,o)=>{let[s,h]=u(o);const{I:p,V:f}=Ze(),{bt:w}=r(),{gt:g,wt:b,yt:v}=t,[y,m]=e("paddingAbsolute");(g||h||!f&&b)&&([s,h]=d(o));const x=!a&&(m||v||h);if(x){const t=!y||!l&&!p,e=s.r+s.l,o=s.t+s.b,r={marginRight:t&&!w?-e:0,marginBottom:t?-o:0,marginLeft:t&&w?-e:0,top:t?-s.t:0,right:t?w?-s.r:"auto":0,left:t?w?"auto":-s.l:0,width:t?`calc(100% + ${e}px)`:""},a={paddingTop:t?s.t:0,paddingRight:t?s.r:0,paddingBottom:t?s.b:0,paddingLeft:t?s.l:0};n(l||c,r),n(c,a),i({K:s,St:!t,M:l?a:E({},r,a)})}return{xt:x}}},{max:pn}=Math,fn=pn.bind(0,0),wn="visible",gn="hidden",bn=42,vn={u:at,o:{w:0,h:0}},yn={u:dt,o:{x:gn,y:gn}},mn=(t,e,n)=>n?xt(t,e):mt(t,e),xn=t=>0===t.indexOf(wn),$n=(t,e)=>{const[r,i]=e,{Z:s,K:l,J:c,nt:a,ut:d,_t:u,lt:h,et:p}=t,{k:f,V:w,I:g,A:b}=Ze(),v=Ie()[Fe],y=!d&&!g&&(b.x||b.y),m=h&&d,[x,$]=o(vn,kt.bind(0,c)),[S,O]=o(vn,At.bind(0,c)),[C,L]=o(vn),[M,E]=o(vn),[P]=o(yn),z=(t,e)=>{if(n(c,{height:""}),e){const{St:e,K:o}=r(),{$t:i,P:l}=t,a=kt(s),d=Tt(s),u="content-box"===n(c,"boxSizing"),h=e||u?o.b+o.t:0,p=!(b.x&&u);n(c,{height:d.h+a.h+(i.x&&p?l.x:0)-h})}},k=(t,e)=>{const o=g||t?0:bn,r=(t,r,i)=>{const s=n(c,t),l="scroll"===(e?e[t]:s);return[s,l,l&&!g?r?o:i:0,r&&!!o]},[i,s,l,a]=r("overflowX",b.x,f.x),[d,u,h,p]=r("overflowY",b.y,f.y);return{Ct:{x:i,y:d},$t:{x:s,y:u},P:{x:l,y:h},D:{x:a,y:p}}},I=(t,e,n,o)=>{const{P:i,D:s}=t,{x:l,y:c}=s,{x:a,y:d}=i,{M:u}=r(),h=e?"marginLeft":"marginRight",p=e?"paddingLeft":"paddingRight",f=u[h],w=u.marginBottom,g=u[p],b=u.paddingBottom;o.width=`calc(100% + ${d+-1*f}px)`,o[h]=-d+f,o.marginBottom=-a+w,n&&(o[p]=g+(c?d:0),o.paddingBottom=b+(l?a:0))},[R,B]=v?v.H(y,w,c,a,r,k,I):[()=>y,()=>[pt]];return(t,e,o)=>{const{gt:a,Ot:h,wt:f,xt:v,vt:y,yt:D}=t,{ht:H,bt:X}=r(),[N,V]=e("showNativeOverlaidScrollbars"),[j,F]=e("overflow"),W=N&&b.x&&b.y,_=!d&&!w&&(a||f||h||V||y),J=xn(j.x),K=xn(j.y),Y=J||K;let q,G=$(o),Z=O(o),U=L(o),Q=E(o);if(V&&g&&u(ce,ne,!W),_&&(q=k(W),z(q,H)),a||v||f||D||V){Y&&u(ae,ee,!1);const[t,e]=B(W,X,q),[n,r]=G=x(o),[i,s]=Z=S(o),l=Tt(c);let a=i,d=l;t(),(s||r||V)&&e&&!W&&R(e,i,n,X)&&(d=Tt(c),a=At(c));const h={w:fn(pn(i.w,a.w)+n.w),h:fn(pn(i.h,a.h)+n.h)},f={w:fn((m?p.innerWidth:d.w+fn(l.w-i.w))+n.w),h:fn((m?p.innerHeight+n.h:d.h+fn(l.h-i.h))+n.h)};Q=M(f),U=C(((t,e)=>{const n=window.devicePixelRatio%1!=0?1:0,o={w:fn(t.w-e.w),h:fn(t.h-e.h)};return{w:o.w>n?o.w:0,h:o.h>n?o.h:0}})(h,f),o)}const[tt,et]=Q,[nt,ot]=U,[rt,it]=Z,[st,lt]=G,ct={x:nt.w>0,y:nt.h>0},at=J&&K&&(ct.x||ct.y)||J&&ct.x&&!ct.y||K&&ct.y&&!ct.x;if(v||D||lt||it||et||ot||F||V||_){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,o)=>{const r=(t,e)=>{const n=xn(t),o=e&&n&&t.replace(`${wn}-`,"")||"";return[e&&!n?t:"",xn(o)?"hidden":o]},[i,s]=r(n.x,e.x),[l,c]=r(n.y,e.y);return o.overflowX=s&&l?s:i,o.overflowY=c&&i?c:l,k(t,o)})(W,ct,j,t),o=R(e,rt,st,X);d||I(e,X,o,t),_&&z(e,H),d?(T(s,Qt,t.overflowX),T(s,te,t.overflowY)):n(c,t)}A(s,Zt,ee,at),mn(l,ae,at),!d&&mn(c,ae,Y);const[dt,ut]=P(k(W).Ct);return i({Ct:dt,zt:{x:tt.w,y:tt.h},Tt:{x:nt.w,y:nt.h},Et:ct}),{It:ut,At:et,Lt:ot}}},Sn=(t,n,o)=>{const r={},i=n||{};return e(M(t).concat(M(i)),(e=>{const n=t[e],s=i[e];r[e]=!!(o||n||s)})),r},On=(t,n,o,r)=>{let i=!1;const{Ht:s,Mt:l,Pt:c,Dt:a,Rt:d,kt:u}=r||{},p=wt((()=>{i&&o(!0)}),{v:33,g:99}),[f,w]=((t,n,o)=>{let r,i=!1;const s=s=>{if(o){const l=o.reduce(((e,n)=>{if(n){const[o,r]=n,i=r&&o&&(s?s(o):D(o,t));i&&i.length&&r&&h(r)&&$(e,[i,r.trim()],!0)}return e}),[]);e(l,(o=>e(o[0],(e=>{const s=o[1],l=r.get(e)||[];if(t.contains(e)){const t=Ht(e,s,(o=>{i?(t(),r.delete(e)):n(o)}));r.set(e,$(l,t))}else C(l),r.delete(e)}))))}};return o&&(r=new WeakMap,s()),[()=>{i=!0},s]})(t,p,c),g=l||[],b=(s||[]).concat(g),v=(i,s)=>{const l=d||pt,c=u||pt,p=new Set,f=new Set;let b=!1,v=!1;if(e(i,(o=>{const{attributeName:i,target:s,type:d,oldValue:u,addedNodes:w,removedNodes:y}=o,m="attributes"===d,$="childList"===d,S=t===s,O=m&&h(i)?T(s,i):0,C=0!==O&&u!==O,L=x(g,i)>-1&&C;if(n&&($||!S)){const n=!m,d=m&&C,h=d&&a&&H(s,a),f=(h?!l(s,i,u,O):n||d)&&!c(o,!!h,t,r);e(w,(t=>p.add(t))),e(y,(t=>p.add(t))),v=v||f}!n&&S&&C&&!l(s,i,u,O)&&(f.add(i),b=b||L)})),p.size>0&&w((t=>S(p).reduce(((e,n)=>($(e,D(t,n)),H(n,t)?$(e,n):e)),[]))),n)return!s&&v&&o(!1),[!1];if(f.size>0||b){const t=[S(f),b];return!s&&o.apply(0,t),t}},y=new et((t=>v(t)));return y.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:b,subtree:n,childList:n,characterData:n}),i=!0,[()=>{i&&(f(),y.disconnect(),i=!1)},()=>{if(i){p.m();const t=y.takeRecords();return!O(t)&&v(t,!0)}}]},Cn=3333333,Ln=t=>t&&(t.height||t.width),Mn=(t,e,n)=>{const{Bt:r=!1,Vt:i=!1}=n||{},s=Ie()[He],{B:l}=Ze(),c=K(`<div class="${de}"><div class="${he}"></div></div>`)[0],a=c.firstChild,d=Lt.bind(0,t),[u]=o({o:void 0,_:!0,u:(t,e)=>!(!t||!Ln(t)&&Ln(e))}),h=t=>{const n=w(t)&&t.length>0&&g(t[0]),o=!n&&p(t[0]);let i=!1,s=!1,a=!0;if(n){const[e,,n]=u(t.pop().contentRect),o=Ln(e),r=Ln(n);i=!n||!o,s=!r&&o,a=!i}else o?[,a]=t:s=!0===t;if(r&&a){const e=o?t[0]:Lt(c);I(c,e?l.n?-Cn:l.i?0:Cn:Cn),R(c,Cn)}i||e({gt:!o,Yt:o?t:void 0,Vt:!!s})},f=[];let b=!!i&&h;return[()=>{C(f),_(c)},()=>{if(ot){const t=new ot(h);t.observe(a),$(f,(()=>{t.disconnect()}))}else if(s){const[t,e]=s.O(a,h,i);b=t,$(f,e)}if(r){const[t]=o({o:!d()},d);$(f,Ht(c,"scroll",(e=>{const n=t(),[o,r]=n;r&&(mt(a,"ltr rtl"),xt(a,o?"rtl":"ltr"),h(n)),Xt(e)})))}b&&(xt(c,ue),$(f,Ht(c,"animationstart",b,{C:!!ot}))),(ot||s)&&F(t,c)}]},En=(t,e)=>{let n;const r=J(ge),i=[],[s]=o({o:!1}),l=(t,n)=>{if(t){const o=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,r]=o;if(r)return!n&&e(o),[o]}},c=(t,e)=>{if(t&&t.length>0)return l(t.pop(),e)};return[()=>{C(i),_(r)},()=>{if(nt)n=new nt((t=>c(t)),{root:t}),n.observe(r),$(i,(()=>{n.disconnect()}));else{const t=()=>{const t=zt(r);l(t)},[e,n]=Mn(r,t);$(i,e),n(),t()}F(t,r)},()=>{if(n)return c(n.takeRecords(),!0)}]},Pn=`[${Zt}]`,zn=`.${ie}`,Tn=["tabindex"],An=["wrap","cols","rows"],kn=["id","class","style","open"],In=(t,n,r)=>{let i,s,l;const{Z:c,J:a,tt:d,rt:p,ut:g,ft:b,_t:v}=t,{V:y}=Ze(),[S]=o({u:at,o:{w:0,h:0}},(()=>{const t=b(ae,ee),e=b(se,""),n=e&&I(a),o=e&&R(a);v(ae,ee),v(se,""),v("",oe,!0);const r=At(d),i=At(a),s=kt(a);return v(ae,ee,t),v(se,"",e),v("",oe),I(a,n),R(a,o),{w:i.w+r.w+s.w,h:i.h+r.h+s.h}})),O=p?An:kn.concat(An),C=wt(r,{v:()=>i,g:()=>s,p(t,e){const[n]=t,[o]=e;return[M(n).concat(M(o)).reduce(((t,e)=>(t[e]=n[e]||o[e],t)),{})]}}),L=t=>{e(t||Tn,(t=>{if(x(Tn,t)>-1){const e=T(c,t);h(e)?T(a,t,e):k(a,t)}}))},P=(t,e)=>{const[o,i]=t,s={vt:i};return n({ht:o}),!e&&r(s),s},z=({gt:t,Yt:e,Vt:o})=>{const i=!t||o?r:C;let s=!1;if(e){const[t,o]=e;s=o,n({bt:t})}i({gt:t,yt:s})},A=(t,e)=>{const[,n]=S(),o={wt:n};return n&&!e&&(t?r:C)(o),o},B=(t,e,n)=>{const o={Ot:e};return e?!n&&C(o):g||L(t),o},[D,H,X]=d||!y?En(c,P):[pt,pt,pt],[N,j]=g?[pt,pt]:Mn(c,z,{Vt:!0,Bt:!0}),[F,W]=On(c,!1,B,{Mt:kn,Ht:kn.concat(Tn)}),_=g&&ot&&new ot(z.bind(0,{gt:!0}));return _&&_.observe(c),L(),[()=>{D(),N(),l&&l[0](),_&&_.disconnect(),F()},()=>{j(),H()},()=>{const t={},e=W(),n=X(),o=l&&l[1]();return e&&E(t,B.apply(0,$(e,!0))),n&&E(t,P.apply(0,$(n,!0))),o&&E(t,A.apply(0,$(o,!0))),t},t=>{const[e]=t("update.ignoreMutation"),[n,o]=t("update.attributes"),[r,c]=t("update.elementEvents"),[h,p]=t("update.debounce"),b=t=>f(e)&&e(t);if((c||o)&&(l&&(l[1](),l[0]()),l=On(d||a,!0,A,{Ht:O.concat(n||[]),Pt:r,Dt:Pn,kt:(t,e)=>{const{target:n,attributeName:o}=t;return!(e||!o||g)&&((t,e,n)=>{const o=t&&V(t,e),r=t&&((t,e)=>{const n=e?m(e)?e:null:document;return n?n.querySelector(t):null})(n,o),i=V(r,e)===o;return!(!o||!r)&&(o===t||r===t||i&&V(V(t,n),e)!==o)})(n,Pn,zn)||!!V(n,`.${ve}`)||!!b(t)}})),p)if(C.m(),w(h)){const t=h[0],e=h[1];i=u(t)&&t,s=u(e)&&e}else u(h)?(i=h,s=!1):(i=!1,s=!1)}]},Rn={x:0,y:0},Bn={K:{t:0,r:0,b:0,l:0},St:!1,M:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Rn,Tt:Rn,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:!1},{round:Dn}=Math,Hn=(t,e)=>Ht(t,"mousedown",Ht.bind(0,e,"click",Xt,{C:!0,$:!0}),{$:!0}),Xn=(t,e,n,o,r,i)=>{const{B:s}=Ze(),{Gt:l,Ft:c,Xt:a}=n,d=`scroll${i?"Left":"Top"}`,u=`client${i?"X":"Y"}`,h=i?"width":"height",p=i?"left":"top",f=i?"w":"h",w=i?"x":"y",g=(t,e)=>n=>{const{Tt:u}=r(),h=zt(c)[f]-zt(l)[f],p=e*n/h*u[w],g=Lt(a)&&i?s.n||s.i?1:-1:1;o[d]=t+p*g};return Ht(c,"pointerdown",(n=>{const r=V(n.target,`.${Se}`)===l;if(((t,e,n)=>{const o=e.scrollbars,{button:r,isPrimary:i,pointerType:s}=t,{pointers:l}=o;return 0===r&&i&&o[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)})(n,t,r)){const t=!r&&n.shiftKey,i=()=>It(l),s=()=>It(c),a=(t,e)=>(t||i())[p]-(e||s())[p],f=g(o[d]||0,1/(t=>{const{width:e,height:n}=It(t),{w:o,h:r}=zt(t);return{x:Dn(e)/o||1,y:Dn(n)/r||1}})(o)[w]),b=n[u],v=i(),y=s(),m=v[h],x=a(v,y)+m/2,S=b-y[p],O=r?0:S-x,L=[Ht(e,"selectstart",(t=>Nt(t)),{S:!1}),Ht(c,"pointermove",(e=>{const n=e[u]-b;(r||t)&&f(O+n)}))];if(t)f(O);else if(!r){const t=Ie()[_e];t&&$(L,t.O(f,a,O,m,S))}Ht(c,"pointerup",(t=>{C(L),c.releasePointerCapture(t.pointerId)}),{C:!0}),c.setPointerCapture(n.pointerId)}}))},{min:Nn,max:Vn,abs:jn,round:Fn}=Math,Wn=(t,e,n,o)=>{if(o){const t=n?"x":"y",{Tt:e,zt:r}=o,i=r[t],s=e[t];return Vn(0,Nn(1,i/(i+s)))}const r=n?"w":"h",i=zt(t)[r],s=zt(e)[r];return Vn(0,Nn(1,i/s))},_n=(t,o,r)=>{const{N:i}=Ze(),{scrollbars:s}=i(),{slot:l}=s,{ct:c,W:a,Z:d,J:u,it:h,ot:f,lt:w,ut:g}=o,{scrollbars:b}=h?{}:t,{slot:v}=b||{},y=tn([a,d,u],(()=>g&&w?a:d),l,v),m=(t,n,o)=>{const r=o?xt:mt;e(t,(t=>{r(t.Xt,n)}))},x=(t,o)=>{e(t,(t=>{const[e,r]=o(t);n(e,r)}))},S=(t,e,n)=>{x(t,(t=>{const{Gt:o,Ft:r}=t;return[o,{[n?"width":"height"]:`${(100*Wn(o,r,n,e)).toFixed(3)}%`}]}))},L=(t,e,n)=>{const o=n?"X":"Y";x(t,(t=>{const{Gt:r,Ft:i,Xt:s}=t,l=((t,e,n,o,r,i)=>{const{B:s}=Ze(),l=i?"x":"y",c=i?"Left":"Top",{Tt:a}=o,d=Fn(a[l]),u=jn(n[`scroll${c}`]),h=i&&r,p=s.i?u:d-u,f=Nn(1,(h?p:u)/d),w=Wn(t,e,i);return 1/w*(1-w)*f})(r,i,f,e,Lt(s),n);return[r,{transform:l==l?`translate${o}(${(100*l).toFixed(3)}%)`:""}]}))},M=[],E=[],P=[],z=(t,e,n)=>{const o=p(n),r=!o||!n;(!o||n)&&m(E,t,e),r&&m(P,t,e)},T=t=>{const e=t?me:xe,n=t?E:P,o=O(n)?Le:"",i=J(`${ve} ${e} ${o}`),s=J($e),l=J(Se),a={Xt:i,Ft:s,Gt:l};return F(i,s),F(s,l),$(n,a),$(M,[_.bind(0,i),r(a,z,c,d,f,t)]),a},A=T.bind(0,!0),k=T.bind(0,!1);return A(),k(),[{Ut:t=>{S(E,t,!0),S(P,t)},Wt:t=>{L(E,t,!0),L(P,t)},Zt:z,Jt:{Kt:E,Qt:A,tn:x.bind(0,E)},nn:{Kt:P,Qt:k,tn:x.bind(0,P)}},()=>{F(y,E[0].Xt),F(y,P[0].Xt),st((()=>{z(Le)}),300)},C.bind(0,M)]},Jn=(t,e,n)=>{f(t)&&t(e||void 0,n||void 0)},Kn=(t,n,o)=>{const{G:r,N:i,Y:s,j:l}=Ze(),d=Ie(),u=y(t),h=u?t:t.target,p=nn(h);if(n&&!p){let p=!1;const f=t=>{const e=Ie()[Re],n=e&&e.O;return n?n(t,!0):t},w=E({},r(),f(n)),[g,b,v]=Wt(o),[y,m,x]=((t,n)=>{const o=rn(n,{}),r=sn(Bn),[i,s,l]=Wt(),[c,a]=r,[d,u,h]=dn(t),p=((t,n)=>{const{W:o,J:r,_t:i,ut:s}=t,{I:l,A:c,V:a}=Ze(),d=!l&&(c.x||c.y),u=[un(t,n),hn(t,n),$n(t,n)];return(t,n,l)=>{const c=Sn(E({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},n),{},l),h=d||!a,p=h&&I(r),f=h&&R(r);i("",oe,!0);let w=c;return e(u,(e=>{w=Sn(w,e(w,t,!!l)||{},l)})),I(r,p),R(r,f),i("",oe),s||(I(o,0),R(o,0)),w}})(d,r),f=(t,e,n)=>{const o=M(t).some((e=>t[e])),r=o||!P(e)||n;return r&&l("u",[t,e,n]),r},[w,g,b,v]=In(d,a,(t=>f(p(o,t),{},!1))),y=c.bind(0);return y.jt=t=>i("u",t),y.Nt=()=>{const{W:t,J:e}=d,n=I(t),o=R(t);g(),u(),I(e,n),R(e,o)},y.qt=d,[(t,e)=>{const o=rn(n,t,e);return v(o),f(p(o,b(),e),t,!!e)},y,()=>{s(),w(),h()}]})(t,w),[$,S,O]=((t,e,n,o)=>{let r,i,s,l,c,a=0;const d=sn({}),[u]=d,[h,p]=ft(),[f,w]=ft(),[g,b]=ft(100),[v,y]=ft(100),[m,x]=ft((()=>a)),[$,S,O]=_n(t,n.qt,((t,e)=>(n,o,r,i,s,l)=>{const{Xt:c}=n,[a,d]=ft(333),u=!!s.scrollBy;let h=!0;return C.bind(0,[Ht(c,"pointerenter",(()=>{o(Me,!0)})),Ht(c,"pointerleave pointercancel",(()=>{o(Me)})),Ht(c,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:r}=t;u&&h&&0===r&&N(c)===i&&s.scrollBy({left:e,top:n,behavior:"smooth"}),h=!1,o(ze,!0),a((()=>{h=!0,o(ze)})),Nt(t)}),{S:!1,$:!0}),Hn(c,r),Xn(t,r,n,s,e,l),d])})(e,n)),{Z:L,J:M,ot:E,st:P,ut:z,lt:T}=n.qt,{Jt:A,nn:k,Zt:B,Ut:D,Wt:H}=$,{tn:X}=A,{tn:V}=k,j=t=>{const{Xt:e}=t,n=z&&!T&&N(e)===M&&e;return[n,{transform:n?`translate(${I(E)}px, ${R(E)}px)`:""}]},F=(t,e)=>{if(x(),t)B(Pe);else{const t=()=>B(Pe,!0);a>0&&!e?m(t):t()}},W=()=>{l=i,l&&F(!0)},_=[b,x,y,w,p,O,Ht(L,"pointerover",W,{C:!0}),Ht(L,"pointerenter",W),Ht(L,"pointerleave",(()=>{l=!1,i&&F(!1)})),Ht(L,"pointermove",(()=>{r&&h((()=>{b(),F(!0),v((()=>{r&&F(!1)}))}))})),Ht(P,"scroll",(t=>{f((()=>{H(n()),s&&F(!0),g((()=>{s&&!l&&F(!1)}))})),o(t),z&&X(j),z&&V(j)}))],J=u.bind(0);return J.qt=$,J.Nt=S,[(t,o,l)=>{const{At:d,Lt:u,It:h,yt:p}=l,{A:f}=Ze(),w=rn(e,t,o),g=n(),{Tt:b,Ct:v,bt:y}=g,[m,x]=w("showNativeOverlaidScrollbars"),[$,S]=w("scrollbars.theme"),[O,C]=w("scrollbars.visibility"),[L,M]=w("scrollbars.autoHide"),[E]=w("scrollbars.autoHideDelay"),[P,z]=w("scrollbars.dragScroll"),[A,k]=w("scrollbars.clickScroll"),I=d||u||p,R=h||C,X=m&&f.x&&f.y,N=(t,e)=>{const n="visible"===O||"auto"===O&&"scroll"===t;return B(Oe,n,e),n};if(a=E,x&&B(be,X),S&&(B(c),B($,!0),c=$),M&&(r="move"===L,i="leave"===L,s="never"!==L,F(!s,!0)),z&&B(Ae,P),k&&B(Te,A),R){const t=N(v.x,!0),e=N(v.y,!1);B(Ce,!(t&&e))}I&&(D(g),H(g),B(Ee,!b.x,!0),B(Ee,!b.y,!1),B(ye,y&&!T))},J,C.bind(0,_)]})(t,w,m,(t=>v("scroll",[B,t]))),L=(t,e)=>y(t,!!e),z=L.bind(0,{},!0),T=s(z),A=l(z),k=t=>{(t=>{en.delete(t)})(h),T(),A(),O(),x(),p=!0,v("destroyed",[B,!!t]),b()},B={options(t,e){if(t){const n=e?r():{},o=Kt(w,E(n,f(t)));P(o)||(E(w,o),L(o))}return E({},w)},on:g,off:(t,e)=>{t&&e&&b(t,e)},state(){const{zt:t,Tt:e,Ct:n,Et:o,K:r,St:i,bt:s}=m();return E({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:o,padding:r,paddingAbsolute:i,directionRTL:s,destroyed:p})},elements(){const{W:t,Z:e,K:n,J:o,tt:r,ot:i,st:s}=m.qt,{Jt:l,nn:c}=S.qt,a=t=>{const{Gt:e,Ft:n,Xt:o}=t;return{scrollbar:o,track:n,handle:e}},d=t=>{const{Kt:e,Qt:n}=t,o=a(e[0]);return E({},o,{clone:()=>{const t=a(n());return $({},!0,{}),t}})};return E({},{target:t,host:e,padding:n||o,viewport:o,content:r||o,scrollOffsetElement:i,scrollEventElement:s,scrollbarHorizontal:d(l),scrollbarVertical:d(c)})},update:t=>L({},t),destroy:k.bind(0)};return m.jt(((t,e,n)=>{$(e,n,t)})),((t,e)=>{en.set(t,e)})(h,B),e(M(d),(t=>Jn(d[t],0,B))),((t,e,n)=>{const{nativeScrollbarsOverlaid:o,body:r}=n||{},{A:i,I:s}=Ze(),{nativeScrollbarsOverlaid:l,body:d}=e,u=null!=o?o:l,h=c(r)?d:r,p=(i.x||i.y)&&u,f=t&&(a(h)?!s:h);return!!p||!!f})(m.qt.lt,i().cancel,!u&&t.cancel)?(k(!0),B):(m.Nt(),S.Nt(),v("initialized",[B]),m.jt(((t,e,n)=>{const{gt:o,yt:r,vt:i,At:s,Lt:l,It:c,wt:a,Ot:d}=t;v("updated",[B,{updateHints:{sizeChanged:o,directionChanged:r,heightIntrinsicChanged:i,overflowEdgeChanged:s,overflowAmountChanged:l,overflowStyleChanged:c,contentMutation:a,hostMutation:d},changedOptions:e,force:n}])})),B.update(!0),B)}return p};return Kn.plugin=t=>{e((t=>{const n=[];return e(w(t)?t:[t],(t=>{e(M(t),(e=>{$(n,ke[e]=t[e])}))})),n})(t),(t=>Jn(t,Kn)))},Kn.valid=t=>{const e=t&&t.elements,n=f(e)&&e();return v(n)&&!!nn(n.target)},Kn.env=()=>{const{k:t,A:e,I:n,B:o,V:r,L:i,X:s,U:l,N:c,q:a,G:d,F:u}=Ze();return E({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:o,flexboxGlue:r,cssCustomProperties:i,staticDefaultInitialization:s,staticDefaultOptions:l,getDefaultInitialization:c,setDefaultInitialization:a,getDefaultOptions:d,setDefaultOptions:u})},t.ClickScrollPlugin=Je,t.OverlayScrollbars=Kn,t.ScrollbarsHidingPlugin=We,t.SizeObserverPlugin=Xe,Object.defineProperties(t,{sn:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t}({});
var OverlayScrollbarsGlobal=function(t){"use strict";function e(t,n){if(b(t))for(let e=0;e<t.length&&!1!==n(t[e],e,t);e++);else t&&e(Object.keys(t),(e=>n(t[e],e,t)));return t}function n(t,n){const o=h(n);if(w(n)||o){let e=o?"":{};if(t){const r=window.getComputedStyle(t,null);e=o?Ot(t,r,n):n.reduce(((e,n)=>(e[n]=Ot(t,r,n),e)),e)}return e}t&&e(M(n),(e=>Ct(t,e,n[e])))}const o=(t,e)=>{const{o:n,u:o,_:r}=t;let i,s=n;const l=(t,e)=>{const n=s,l=t,c=e||(o?!o(n,l):n!==l);return(c||r)&&(s=l,i=n),[s,c,i]};return[e?t=>l(e(s,i),t):l,t=>[s,!!t,i]]},r=()=>"undefined"!=typeof window,i=r()&&Node.ELEMENT_NODE,{toString:s,hasOwnProperty:l}=Object.prototype,c=t=>void 0===t,a=t=>null===t,d=t=>c(t)||a(t)?`${t}`:s.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),u=t=>"number"==typeof t,h=t=>"string"==typeof t,p=t=>"boolean"==typeof t,f=t=>"function"==typeof t,w=t=>Array.isArray(t),g=t=>"object"==typeof t&&!w(t)&&!a(t),b=t=>{const e=!!t&&t.length,n=u(e)&&e>-1&&e%1==0;return!(!(w(t)||!f(t)&&n)||e>0&&g(t)&&!(e-1 in t))},v=t=>{if(!t||!g(t)||"object"!==d(t))return!1;let e;const n="constructor",o=t[n],r=o&&o.prototype,i=l.call(t,n),s=r&&l.call(r,"isPrototypeOf");if(o&&!i&&!s)return!1;for(e in t);return c(e)||l.call(t,e)},y=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===i)},m=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===i)},x=(t,e,n)=>t.indexOf(e,n),$=(t,e,n)=>(n||h(e)||!b(e)?t.push(e):Array.prototype.push.apply(t,e),t),S=t=>{const n=Array.from,o=[];return n&&t?n(t):(t instanceof Set?t.forEach((t=>{$(o,t)})):e(t,(t=>{$(o,t)})),o)},O=t=>!!t&&0===t.length,C=(t,n,o)=>{e(t,(t=>t&&t.apply(void 0,n||[]))),!o&&(t.length=0)},L=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),M=t=>t?Object.keys(t):[],E=(t,n,o,r,i,s,l)=>{const c=[n,o,r,i,s,l];return"object"==typeof t&&!a(t)||f(t)||(t={}),e(c,(n=>{e(M(n),(e=>{const o=n[e];if(t===o)return!0;const r=w(o);if(o&&(v(o)||r)){const n=t[e];let i=n;r&&!w(n)?i=[]:r||v(n)||(i={}),t[e]=E(i,o)}else t[e]=o}))})),t},P=t=>{for(const e in t)return!1;return!0},z=(t,e,n,o)=>{if(c(o))return n?n[t]:e;n&&(h(o)||u(o))&&(n[t]=o)},T=(t,e,n)=>{if(c(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},A=(t,e,n,o)=>{if(n){const r=T(t,e)||"",i=new Set(r.split(" "));i[o?"add":"delete"](n),T(t,e,S(i).join(" ").trim())}},k=(t,e)=>{t&&t.removeAttribute(e)},I=(t,e)=>z("scrollLeft",0,t,e),R=(t,e)=>z("scrollTop",0,t,e),B=r()&&Element.prototype,D=(t,e)=>{const n=[],o=e?m(e)?e:null:document;return o?$(n,o.querySelectorAll(t)):n},H=(t,e)=>!!m(t)&&(B.matches||B.msMatchesSelector).call(t,e),X=t=>t?S(t.childNodes):[],N=t=>t?t.parentElement:null,V=(t,e)=>{if(m(t)){const n=B.closest;if(n)return n.call(t,e);do{if(H(t,e))return t;t=N(t)}while(t)}return null},j=(t,n,o)=>{if(o&&t){let r,i=n;b(o)?(r=document.createDocumentFragment(),e(o,(t=>{t===i&&(i=t.previousSibling),r.appendChild(t)}))):r=o,n&&(i?i!==n&&(i=i.nextSibling):i=t.firstChild),t.insertBefore(r,i||null)}},F=(t,e)=>{j(t,null,e)},W=(t,e)=>{j(N(t),t&&t.nextSibling,e)},_=t=>{if(b(t))e(S(t),(t=>_(t)));else if(t){const e=N(t);e&&e.removeChild(t)}},J=t=>{const e=document.createElement("div");return t&&T(e,"class",t),e},K=t=>{const n=J();return n.innerHTML=t.trim(),e(X(n),(t=>_(t)))},Y=t=>t.charAt(0).toUpperCase()+t.slice(1),q=["-webkit-","-moz-","-o-","-ms-"],Z=["WebKit","Moz","O","MS","webkit","moz","o","ms"],G={},U={},Q=t=>{let n=U[t];if(L(U,t))return n;const o=Y(t),r=J().style;return e(q,(e=>{const i=e.replace(/-/g,""),s=[t,e+t,i+o,Y(i)+o];return!(n=s.find((t=>void 0!==r[t])))})),U[t]=n||""},tt=t=>{if(r()){let n=G[t]||window[t];return L(G,t)||(e(Z,(e=>(n=n||window[e+Y(t)],!n))),G[t]=n),n}},et=tt("MutationObserver"),nt=tt("IntersectionObserver"),ot=tt("ResizeObserver"),rt=tt("cancelAnimationFrame"),it=tt("requestAnimationFrame"),st=r()&&window.setTimeout,lt=r()&&window.clearTimeout,ct=(t,n,o,r)=>{if(t&&n){let i=!0;return e(o,(e=>{(r?r(t[e]):t[e])!==(r?r(n[e]):n[e])&&(i=!1)})),i}return!1},at=(t,e)=>ct(t,e,["w","h"]),dt=(t,e)=>ct(t,e,["x","y"]),ut=(t,e)=>ct(t,e,["t","r","b","l"]),ht=(t,e,n)=>ct(t,e,["width","height"],n&&(t=>Math.round(t))),pt=()=>{},ft=t=>{let e;const n=t?st:it,o=t?lt:rt;return[r=>{o(e),e=n(r,f(t)?t():t)},()=>o(e)]},wt=(t,e)=>{let n,o,r,i=pt;const{v:s,g:l,p:c}=e||{},a=function(e){i(),lt(n),n=o=void 0,i=pt,t.apply(this,e)},d=t=>c&&o?c(o,t):t,h=()=>{i!==pt&&a(d(r)||r)},p=function(){const t=S(arguments),e=f(s)?s():s,c=u(e)&&e>=0;if(c){const s=f(l)?l():l,c=u(s)&&s>=0,p=e>0?st:it,w=e>0?lt:rt,g=d(t)||t,b=a.bind(0,g);i();const v=p(b,e);i=()=>w(v),c&&!n&&(n=st(h,s)),o=r=g}else a(t)};return p.m=h,p},{max:gt}=Math,bt=()=>performance.now(),vt=/[^\x20\t\r\n\f]+/g,yt=(t,e,n)=>{const o=t&&t.classList;let r,i=0,s=!1;if(o&&e&&h(e)){const t=e.match(vt)||[];for(s=t.length>0;r=t[i++];)s=!!n(o,r)&&s}return s},mt=(t,e)=>{yt(t,e,((t,e)=>t.remove(e)))},xt=(t,e)=>(yt(t,e,((t,e)=>t.add(e))),mt.bind(0,t,e)),$t={opacity:1,zindex:1},St=(t,e)=>{const n=e?parseFloat(t):parseInt(t,10);return n==n?n:0},Ot=(t,e,n)=>null!=e?e[n]||e.getPropertyValue(n):t.style[n],Ct=(t,e,n)=>{try{const{style:o}=t;c(o[e])?o.setProperty(e,n):o[e]=((t,e)=>!$t[t.toLowerCase()]&&u(e)?`${e}px`:e)(e,n)}catch(l){}},Lt=t=>"rtl"===n(t,"direction"),Mt=(t,e,o)=>{const r=e?`${e}-`:"",i=o?`-${o}`:"",s=`${r}top${i}`,l=`${r}right${i}`,c=`${r}bottom${i}`,a=`${r}left${i}`,d=n(t,[s,l,c,a]);return{t:St(d[s],!0),r:St(d[l],!0),b:St(d[c],!0),l:St(d[a],!0)}},{round:Et}=Math,Pt={w:0,h:0},zt=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:Pt,Tt=t=>t?{w:t.clientWidth,h:t.clientHeight}:Pt,At=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:Pt,kt=t=>{const e=parseFloat(n(t,"height"))||0,o=parseFloat(n(t,"width"))||0;return{w:o-Et(o),h:e-Et(e)}},It=t=>t.getBoundingClientRect();let Rt;const Bt=t=>t.split(" "),Dt=(t,n,o,r)=>{e(Bt(n),(e=>{t.removeEventListener(e,o,r)}))},Ht=(t,n,o,r)=>{var i;const s=(()=>{if(c(Rt)){Rt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Rt=!0}}))}catch(t){}}return Rt})(),l=null!=(i=s&&r&&r.S)?i:s,a=r&&r.$||!1,d=r&&r.C||!1,u=[],h=s?{passive:l,capture:a}:a;return e(Bt(n),(e=>{const n=d?r=>{t.removeEventListener(e,n,a),o&&o(r)}:o;$(u,Dt.bind(null,t,e,n,a)),t.addEventListener(e,n,h)})),C.bind(0,u)},Xt=t=>t.stopPropagation(),Nt=t=>t.preventDefault(),Vt={x:0,y:0},jt=t=>{const e=t?It(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Vt},Ft=(t,n)=>{e(w(n)?n:[n],t)},Wt=t=>{const n=new Map,o=(t,e)=>{if(t){const o=n.get(t);Ft((t=>{o&&o[t?"delete":"clear"](t)}),e)}else n.forEach((t=>{t.clear()})),n.clear()},r=(t,i)=>{if(h(t)){const e=n.get(t)||new Set;return n.set(t,e),Ft((t=>{f(t)&&e.add(t)}),i),o.bind(0,t,i)}p(i)&&i&&o();const s=M(t),l=[];return e(s,(e=>{const n=t[e];n&&$(l,r(e,n))})),C.bind(0,l)};return r(t||{}),[r,o,(t,o)=>{const r=n.get(t);e(S(r),(t=>{o&&!O(o)?t.apply(0,o):t()}))}]},_t=t=>JSON.stringify(t,((t,e)=>{if(f(e))throw new Error;return e})),Jt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Kt=(t,n)=>{const o={};return e(M(n).concat(M(t)),(e=>{const r=t[e],i=n[e];if(g(r)&&g(i))E(o[e]={},Kt(r,i)),P(o[e])&&delete o[e];else if(L(n,e)&&i!==r){let t=!0;if(w(r)||w(i))try{_t(r)===_t(i)&&(t=!1)}catch(Z){}t&&(o[e]=i)}})),o},Yt="os-environment",qt=`${Yt}-flexbox-glue`,Zt=`${qt}-max`,Gt="data-overlayscrollbars",Ut="data-overlayscrollbars-initialize",Qt=`${Gt}-overflow-x`,te=`${Gt}-overflow-y`,ee="overflowVisible",ne="scrollbarHidden",oe="updating",re="os-padding",ie="os-viewport",se=`${ie}-arrange`,le="os-content",ce=`${ie}-scrollbar-hidden`,ae=`os-overflow-visible`,de="os-size-observer",ue=`${de}-appear`,he=`${de}-listener`,pe=`${he}-scroll`,fe=`${he}-item`,we=`${fe}-final`,ge="os-trinsic-observer",be="os-no-css-vars",ve="os-theme-none",ye="os-scrollbar",me=`${ye}-rtl`,xe=`${ye}-horizontal`,$e=`${ye}-vertical`,Se=`${ye}-track`,Oe=`${ye}-handle`,Ce=`${ye}-visible`,Le=`${ye}-cornerless`,Me=`${ye}-transitionless`,Ee=`${ye}-interaction`,Pe=`${ye}-unusable`,ze=`${ye}-auto-hidden`,Te=`${ye}-wheel`,Ae=`${Se}-interactive`,ke=`${Oe}-interactive`,Ie={},Re=()=>Ie,Be="__osOptionsValidationPlugin",De=3333333,He="scroll",Xe="__osSizeObserverPlugin",Ne=(()=>({[Xe]:{O:(t,e,o)=>{const r=K(`<div class="${fe}" dir="ltr"><div class="${fe}"><div class="${we}"></div></div><div class="${fe}"><div class="${we}" style="width: 200%; height: 200%"></div></div></div>`);F(t,r),xt(t,pe);const i=r[0],s=i.lastChild,l=i.firstChild,c=null==l?void 0:l.firstChild;let a,d=zt(i),u=d,h=!1;const p=()=>{I(l,De),R(l,De),I(s,De),R(s,De)},f=t=>{a=0,h&&(d=u,e(!0===t))},w=t=>{u=zt(i),h=!t||!at(u,d),t?(Xt(t),h&&!a&&(rt(a),a=it(f))):f(!1===t),p()},g=$([],[Ht(l,He,w),Ht(s,He,w)]);return n(c,{width:De,height:De}),it(p),[o?w.bind(0,!1):p,g]}}}))();let Ve=0;const{round:je,abs:Fe}=Math,We="__osScrollbarsHidingPlugin",_e=(()=>({[We]:{T:t=>{const{I:e,A:n,L:o}=t,r=!(o||e||!n.x&&!n.y)&&document.createElement("style");return r&&(T(r,"id",`${se}-${Ve}`),Ve++),r},H:(t,o,r,i,s,l,c)=>[(e,o,l,c)=>{if(t){const{M:t}=s(),{P:a,D:d}=e,{x:u,y:h}=d,{x:p,y:f}=a,w=t[c?"paddingRight":"paddingLeft"],g=t.paddingTop,b=o.w+l.w,v=o.h+l.h,y={w:f&&h?`${f+b-w}px`:"",h:p&&u?`${p+v-g}px`:""};if(i){const{sheet:t}=i;if(t){const{cssRules:e}=t;if(e){e.length||t.insertRule(`#${T(i,"id")} + .${se}::before {}`,0);const n=e[0].style;n.width=y.w,n.height=y.h}}}else n(r,{"--os-vaw":y.w,"--os-vah":y.h})}return t},(i,a,d)=>{if(t){const u=d||l(i),{M:h}=s(),{D:p}=u,{x:f,y:w}=p,g={},b=t=>e(t.split(" "),(t=>{g[t]=h[t]}));f&&b("marginBottom paddingTop paddingBottom"),w&&b("marginLeft marginRight paddingLeft paddingRight");const v=n(r,M(g));return mt(r,se),o||(g.height=""),n(r,g),[()=>{c(u,a,t,v),n(r,v),xt(r,se)},u]}return[pt]}],R:()=>{let t={w:0,h:0},e=0;return(n,o,r)=>{const i={w:window.innerWidth,h:window.innerHeight},s={w:i.w-t.w,h:i.h-t.h};if(0===s.w&&0===s.h)return;const l=Fe(s.w),c=Fe(s.h),a={w:Fe(je(i.w/(t.w/100))),h:Fe(je(i.h/(t.h/100)))},d=(()=>{const t=window.screen.deviceXDPI||0,e=window.screen.logicalXDPI||1;return window.devicePixelRatio||t/e})(),u=l>2&&c>2,h=!((t,e)=>{const n=Fe(t),o=Fe(e);return!(n===o||n+1===o||n-1===o)})(a.w,a.h);if(u&&h&&d!==e&&d>0){const[t,e]=o();E(n.k,t),e&&r()}t=i,e=d}}}}))(),Je="__osClickScrollPlugin",Ke=(()=>({[Je]:{O:(t,e,n,o,r)=>{let i=0,s=pt;const l=c=>{s=((t,e,n,o,r)=>{let i=0;const s=bt(),l=Math.max(0,133),c=n=>{const a=bt(),d=a-s>=l,u=n?1:1-(gt(0,s+l-a)/l||0),h=(e-t)*(f(r)?r(u,u*l,0,1,l):u)+t,p=d||1===u;o&&o(h,0,p),i=p?0:it((()=>c()))};return c(),t=>{rt(i),t&&c(t)}})(c,c+o*Math.sign(n),0,((n,c,a)=>{t(n);const d=e();if(a&&!(r>=d&&r<=d+o)){if(i)l(n);else{const t=setTimeout((()=>{l(n)}),222);s=()=>{clearTimeout(t)}}i++}}))};return l(0),()=>s()}}}))();let Ye;const qe=(t,e,n,o)=>{F(t,e);const r=Tt(e),i=zt(e),s=kt(n);return o&&_(e),{x:i.h-r.h+s.h,y:i.w-r.w+s.w}},Ze=(t,e)=>{const o="hidden";n(t,{overflowX:o,overflowY:o,direction:"rtl"}),I(t,0);const r=jt(t),i=jt(e);I(t,-999);const s=jt(e);return{i:r.x===i.x,n:i.x!==s.x}},Ge=(t,e)=>{const n=xt(t,qt),o=It(t),r=It(e),i=ht(r,o,!0),s=xt(t,Zt),l=It(t),c=It(e),a=ht(c,l,!0);return n(),s(),i&&a},Ue=()=>(Ye||(Ye=(()=>{const{body:t}=document,e=K(`<div class="${Yt}"><div></div></div>`)[0],r=e.firstChild,[i,,s]=Wt(),[l,c]=o({o:qe(t,e,r),u:dt},qe.bind(0,t,e,r,!0)),[a]=c(),d=(t=>{let e=!1;const o=xt(t,ce);try{e="none"===n(t,Q("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(r){}return o(),e})(e),u={x:0===a.x,y:0===a.y},h={elements:{host:null,padding:!d,viewport:t=>d&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=E({},Jt),f=E.bind(0,{},p),w=E.bind(0,{},h),g={k:a,A:u,I:d,L:"-1"===n(e,"zIndex"),B:Ze(e,r),V:Ge(e,r),Y:i.bind(0,"z"),j:i.bind(0,"r"),N:w,q:t=>E(h,t)&&w(),G:f,F:t=>E(p,t)&&f(),X:E({},h),U:E({},p)},b=window.addEventListener,v=wt((t=>s(t?"z":"r")),{v:33,g:99});if(k(e,"style"),_(e),b("resize",v.bind(0,!1)),!(d||u.x&&u.y)){let t;b("resize",(()=>{const e=Re()[We];t=t||e&&e.R(),t&&t(g,l,v.bind(0,!0))}))}return g})()),Ye),Qe=(t,e)=>f(e)?e.apply(0,t):e,tn=(t,e,n,o)=>{const r=c(o)?n:o;return Qe(t,r)||e.apply(0,t)},en=(t,e,n,o)=>{const r=c(o)?n:o,i=Qe(t,r);return!!i&&(y(i)?i:e.apply(0,t))},nn=new WeakMap,on=t=>nn.get(t),rn=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&L(t,e)?t[e]:void 0),t):void 0,sn=(t,e,n)=>o=>[rn(t,o),n||void 0!==rn(e,o)],ln=t=>{let e=t;return[()=>e,t=>{e=E({},e,t)}]},cn="tabindex",an=J.bind(0,""),dn=t=>{F(N(t),X(t)),_(t)},un=t=>{const e=Ue(),{N:n,I:o}=e,r=Re()[We],i=r&&r.T,{elements:s}=n(),{host:l,padding:c,viewport:a,content:d}=s,u=y(t),h=u?{}:t,{elements:p}=h,{host:f,padding:w,viewport:g,content:b}=p||{},v=u?t:h.target,m=H(v,"textarea"),S=v.ownerDocument,O=S.documentElement,L=v===S.body,E=S.defaultView,P=tn.bind(0,[v]),z=en.bind(0,[v]),I=Qe.bind(0,[v]),R=P.bind(0,an,a),B=z.bind(0,an,d),D=R(g),V=D===v,J=V&&L,K=!V&&B(b),Y=!V&&y(D)&&D===K,q=Y&&!!I(d),Z=q?R():D,G=q?K:B(),U=J?O:Y?Z:D,Q=m?P(an,l,f):v,tt=J?U:Q,et=Y?G:K,nt=S.activeElement,ot=!V&&E.top===E&&nt===v,rt={W:v,Z:tt,J:U,K:!V&&z(an,c,w),tt:et,nt:!V&&!o&&i&&i(e),ot:J?O:U,st:J?S:U,et:E,ct:S,rt:m,it:L,lt:u,ut:V,dt:Y,ft:(t,e)=>V?((t,e,n)=>{const o=T(t,e)||"";return new Set(o.split(" ")).has(n)})(U,Gt,e):((t,e)=>yt(t,e,((t,e)=>t.contains(e))))(U,t),_t:(t,e,n)=>V?A(U,Gt,e,n):(n?xt:mt)(U,t)},it=M(rt).reduce(((t,e)=>{const n=rt[e];return $(t,!(!n||N(n))&&n)}),[]),st=t=>t?x(it,t)>-1:null,{W:lt,Z:ct,K:at,J:dt,tt:ut,nt:ht}=rt,ft=[()=>{k(ct,Gt),k(ct,Ut),k(lt,Ut),L&&(k(O,Gt),k(O,Ut))}],wt=m&&st(ct);let gt=m?lt:X([ut,dt,at,ct,lt].find((t=>!1===st(t))));const bt=J?lt:ut||dt;return[rt,()=>{T(ct,Gt,V?"viewport":"host");const t=xt(at,re),e=xt(dt,!V&&ie),n=xt(ut,le),r=L&&!V?xt(N(v),ce):pt;if(wt&&(W(lt,ct),$(ft,(()=>{W(ct,lt),_(ct)}))),F(bt,gt),F(ct,at),F(at||ct,!V&&dt),F(dt,ut),$(ft,(()=>{r(),k(dt,Qt),k(dt,te),st(ut)&&dn(ut),st(dt)&&dn(dt),st(at)&&dn(at),t(),e(),n()})),o&&!V&&$(ft,mt.bind(0,dt,ce)),ht&&(((t,e)=>{j(N(t),t,e)})(dt,ht),$(ft,_.bind(0,ht))),ot){const t=T(dt,cn);T(dt,cn,"-1"),dt.focus();const e=()=>t?T(dt,cn,t):k(dt,cn),n=Ht(S,"pointerdown keydown",(()=>{e(),n()}));$(ft,[e,n])}else nt&&nt.focus&&nt.focus();gt=0},C.bind(0,ft)]},hn=(t,e)=>{const{tt:o}=t,[r]=e;return t=>{const{V:e}=Ue(),{ht:i}=r(),{vt:s}=t,l=(o||!e)&&s;return l&&n(o,{height:i?"":"100%"}),{gt:l,wt:l}}},pn=(t,e)=>{const[r,i]=e,{Z:s,K:l,J:c,ut:a}=t,[d,u]=o({u:ut,o:Mt()},Mt.bind(0,s,"padding",""));return(t,e,o)=>{let[s,h]=u(o);const{I:p,V:f}=Ue(),{bt:w}=r(),{gt:g,wt:b,yt:v}=t,[y,m]=e("paddingAbsolute");(g||h||!f&&b)&&([s,h]=d(o));const x=!a&&(m||v||h);if(x){const t=!y||!l&&!p,e=s.r+s.l,o=s.t+s.b,r={marginRight:t&&!w?-e:0,marginBottom:t?-o:0,marginLeft:t&&w?-e:0,top:t?-s.t:0,right:t?w?-s.r:"auto":0,left:t?w?"auto":-s.l:0,width:t?`calc(100% + ${e}px)`:""},a={paddingTop:t?s.t:0,paddingRight:t?s.r:0,paddingBottom:t?s.b:0,paddingLeft:t?s.l:0};n(l||c,r),n(c,a),i({K:s,St:!t,M:l?a:E({},r,a)})}return{xt:x}}},{max:fn}=Math,wn=fn.bind(0,0),gn="visible",bn="hidden",vn=42,yn={u:at,o:{w:0,h:0}},mn={u:dt,o:{x:bn,y:bn}},xn=(t,e,n)=>n?xt(t,e):mt(t,e),$n=t=>0===t.indexOf(gn),Sn=(t,e)=>{const[r,i]=e,{Z:s,K:l,J:c,nt:a,ut:d,_t:u,it:h,et:p}=t,{k:f,V:w,I:g,A:b}=Ue(),v=Re()[We],y=!d&&!g&&(b.x||b.y),m=h&&d,[x,$]=o(yn,kt.bind(0,c)),[S,O]=o(yn,At.bind(0,c)),[C,L]=o(yn),[M,E]=o(yn),[P]=o(mn),z=(t,e)=>{if(n(c,{height:""}),e){const{St:e,K:o}=r(),{$t:i,P:l}=t,a=kt(s),d=Tt(s),u="content-box"===n(c,"boxSizing"),h=e||u?o.b+o.t:0,p=!(b.x&&u);n(c,{height:d.h+a.h+(i.x&&p?l.x:0)-h})}},k=(t,e)=>{const o=g||t?0:vn,r=(t,r,i)=>{const s=n(c,t),l="scroll"===(e?e[t]:s);return[s,l,l&&!g?r?o:i:0,r&&!!o]},[i,s,l,a]=r("overflowX",b.x,f.x),[d,u,h,p]=r("overflowY",b.y,f.y);return{Ct:{x:i,y:d},$t:{x:s,y:u},P:{x:l,y:h},D:{x:a,y:p}}},I=(t,e,n,o)=>{const{P:i,D:s}=t,{x:l,y:c}=s,{x:a,y:d}=i,{M:u}=r(),h=e?"marginLeft":"marginRight",p=e?"paddingLeft":"paddingRight",f=u[h],w=u.marginBottom,g=u[p],b=u.paddingBottom;o.width=`calc(100% + ${d+-1*f}px)`,o[h]=-d+f,o.marginBottom=-a+w,n&&(o[p]=g+(c?d:0),o.paddingBottom=b+(l?a:0))},[R,B]=v?v.H(y,w,c,a,r,k,I):[()=>y,()=>[pt]];return(t,e,o)=>{const{gt:a,Ot:h,wt:f,xt:v,vt:y,yt:D}=t,{ht:H,bt:X}=r(),[N,V]=e("showNativeOverlaidScrollbars"),[j,F]=e("overflow"),W=N&&b.x&&b.y,_=!d&&!w&&(a||f||h||V||y),J=$n(j.x),K=$n(j.y),Y=J||K;let q,Z=$(o),G=O(o),U=L(o),Q=E(o);if(V&&g&&u(ce,ne,!W),_&&(q=k(W),z(q,H)),a||v||f||D||V){Y&&u(ae,ee,!1);const[t,e]=B(W,X,q),[n,r]=Z=x(o),[i,s]=G=S(o),l=Tt(c);let a=i,d=l;t(),(s||r||V)&&e&&!W&&R(e,i,n,X)&&(d=Tt(c),a=At(c));const h={w:wn(fn(i.w,a.w)+n.w),h:wn(fn(i.h,a.h)+n.h)},f={w:wn((m?p.innerWidth:d.w+wn(l.w-i.w))+n.w),h:wn((m?p.innerHeight+n.h:d.h+wn(l.h-i.h))+n.h)};Q=M(f),U=C(((t,e)=>{const n=window.devicePixelRatio%1!=0?1:0,o={w:wn(t.w-e.w),h:wn(t.h-e.h)};return{w:o.w>n?o.w:0,h:o.h>n?o.h:0}})(h,f),o)}const[tt,et]=Q,[nt,ot]=U,[rt,it]=G,[st,lt]=Z,ct={x:nt.w>0,y:nt.h>0},at=J&&K&&(ct.x||ct.y)||J&&ct.x&&!ct.y||K&&ct.y&&!ct.x;if(v||D||lt||it||et||ot||F||V||_){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,o)=>{const r=(t,e)=>{const n=$n(t),o=e&&n&&t.replace(`${gn}-`,"")||"";return[e&&!n?t:"",$n(o)?"hidden":o]},[i,s]=r(n.x,e.x),[l,c]=r(n.y,e.y);return o.overflowX=s&&l?s:i,o.overflowY=c&&i?c:l,k(t,o)})(W,ct,j,t),o=R(e,rt,st,X);d||I(e,X,o,t),_&&z(e,H),d?(T(s,Qt,t.overflowX),T(s,te,t.overflowY)):n(c,t)}A(s,Gt,ee,at),xn(l,ae,at),!d&&xn(c,ae,Y);const[dt,ut]=P(k(W).Ct);return i({Ct:dt,zt:{x:tt.w,y:tt.h},Tt:{x:nt.w,y:nt.h},Et:ct}),{It:ut,At:et,Lt:ot}}},On=(t,n,o)=>{const r={},i=n||{};return e(M(t).concat(M(i)),(e=>{const n=t[e],s=i[e];r[e]=!!(o||n||s)})),r},Cn=(t,n,o,r)=>{let i=!1;const{Ht:s,Mt:l,Pt:c,Dt:a,Rt:d,kt:u}=r||{},p=wt((()=>{i&&o(!0)}),{v:33,g:99}),[f,w]=((t,n,o)=>{let r,i=!1;const s=s=>{if(o){const l=o.reduce(((e,n)=>{if(n){const[o,r]=n,i=r&&o&&(s?s(o):D(o,t));i&&i.length&&r&&h(r)&&$(e,[i,r.trim()],!0)}return e}),[]);e(l,(o=>e(o[0],(e=>{const s=o[1],l=r.get(e)||[];if(t.contains(e)){const t=Ht(e,s,(o=>{i?(t(),r.delete(e)):n(o)}));r.set(e,$(l,t))}else C(l),r.delete(e)}))))}};return o&&(r=new WeakMap,s()),[()=>{i=!0},s]})(t,p,c),g=l||[],b=(s||[]).concat(g),v=(i,s)=>{const l=d||pt,c=u||pt,p=new Set,f=new Set;let b=!1,v=!1;if(e(i,(o=>{const{attributeName:i,target:s,type:d,oldValue:u,addedNodes:w,removedNodes:y}=o,m="attributes"===d,$="childList"===d,S=t===s,O=m&&h(i)?T(s,i):0,C=0!==O&&u!==O,L=x(g,i)>-1&&C;if(n&&($||!S)){const n=!m,d=m&&C,h=d&&a&&H(s,a),f=(h?!l(s,i,u,O):n||d)&&!c(o,!!h,t,r);e(w,(t=>p.add(t))),e(y,(t=>p.add(t))),v=v||f}!n&&S&&C&&!l(s,i,u,O)&&(f.add(i),b=b||L)})),p.size>0&&w((t=>S(p).reduce(((e,n)=>($(e,D(t,n)),H(n,t)?$(e,n):e)),[]))),n)return!s&&v&&o(!1),[!1];if(f.size>0||b){const t=[S(f),b];return!s&&o.apply(0,t),t}},y=new et((t=>v(t)));return y.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:b,subtree:n,childList:n,characterData:n}),i=!0,[()=>{i&&(f(),y.disconnect(),i=!1)},()=>{if(i){p.m();const t=y.takeRecords();return!O(t)&&v(t,!0)}}]},Ln=3333333,Mn=t=>t&&(t.height||t.width),En=(t,e,n)=>{const{Bt:r=!1,Vt:i=!1}=n||{},s=Re()[Xe],{B:l}=Ue(),c=K(`<div class="${de}"><div class="${he}"></div></div>`)[0],a=c.firstChild,d=Lt.bind(0,t),[u]=o({o:void 0,_:!0,u:(t,e)=>!(!t||!Mn(t)&&Mn(e))}),h=t=>{const n=w(t)&&t.length>0&&g(t[0]),o=!n&&p(t[0]);let i=!1,s=!1,a=!0;if(n){const[e,,n]=u(t.pop().contentRect),o=Mn(e),r=Mn(n);i=!n||!o,s=!r&&o,a=!i}else o?[,a]=t:s=!0===t;if(r&&a){const e=o?t[0]:Lt(c);I(c,e?l.n?-Ln:l.i?0:Ln:Ln),R(c,Ln)}i||e({gt:!o,Yt:o?t:void 0,Vt:!!s})},f=[];let b=!!i&&h;return[()=>{C(f),_(c)},()=>{if(ot){const t=new ot(h);t.observe(a),$(f,(()=>{t.disconnect()}))}else if(s){const[t,e]=s.O(a,h,i);b=t,$(f,e)}if(r){const[t]=o({o:void 0},d);$(f,Ht(c,"scroll",(e=>{const n=t(),[o,r,i]=n;r&&(mt(a,"ltr rtl"),xt(a,o?"rtl":"ltr"),h([!!o,r,i])),Xt(e)})))}b&&(xt(c,ue),$(f,Ht(c,"animationstart",b,{C:!!ot}))),(ot||s)&&F(t,c)}]},Pn=(t,e)=>{let n;const r=J(ge),i=[],[s]=o({o:!1}),l=(t,n)=>{if(t){const o=s((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,r]=o;if(r)return!n&&e(o),[o]}},c=(t,e)=>{if(t&&t.length>0)return l(t.pop(),e)};return[()=>{C(i),_(r)},()=>{if(nt)n=new nt((t=>c(t)),{root:t}),n.observe(r),$(i,(()=>{n.disconnect()}));else{const t=()=>{const t=zt(r);l(t)},[e,n]=En(r,t);$(i,e),n(),t()}F(t,r)},()=>{if(n)return c(n.takeRecords(),!0)}]},zn=`[${Gt}]`,Tn=`.${ie}`,An=["tabindex"],kn=["wrap","cols","rows"],In=["id","class","style","open"],Rn=(t,n,r)=>{let i,s,l;const{Z:c,J:a,tt:d,rt:p,ut:g,ft:b,_t:v}=t,{V:y}=Ue(),[S]=o({u:at,o:{w:0,h:0}},(()=>{const t=b(ae,ee),e=b(se,""),n=e&&I(a),o=e&&R(a);v(ae,ee),v(se,""),v("",oe,!0);const r=At(d),i=At(a),s=kt(a);return v(ae,ee,t),v(se,"",e),v("",oe),I(a,n),R(a,o),{w:i.w+r.w+s.w,h:i.h+r.h+s.h}})),O=p?kn:In.concat(kn),C=wt(r,{v:()=>i,g:()=>s,p(t,e){const[n]=t,[o]=e;return[M(n).concat(M(o)).reduce(((t,e)=>(t[e]=n[e]||o[e],t)),{})]}}),L=t=>{e(t||An,(t=>{if(x(An,t)>-1){const e=T(c,t);h(e)?T(a,t,e):k(a,t)}}))},P=(t,e)=>{const[o,i]=t,s={vt:i};return n({ht:o}),!e&&r(s),s},z=({gt:t,Yt:e,Vt:o})=>{const i=!t||o?r:C;let s=!1;if(e){const[t,o]=e;s=o,n({bt:t})}i({gt:t,yt:s})},A=(t,e)=>{const[,n]=S(),o={wt:n};return n&&!e&&(t?r:C)(o),o},B=(t,e,n)=>{const o={Ot:e};return e?!n&&C(o):g||L(t),o},[D,H,X]=d||!y?Pn(c,P):[pt,pt,pt],[N,j]=g?[pt,pt]:En(c,z,{Vt:!0,Bt:!0}),[F,W]=Cn(c,!1,B,{Mt:In,Ht:In.concat(An)}),_=g&&ot&&new ot(z.bind(0,{gt:!0}));return _&&_.observe(c),L(),[()=>{D(),N(),l&&l[0](),_&&_.disconnect(),F()},()=>{j(),H()},()=>{const t={},e=W(),n=X(),o=l&&l[1]();return e&&E(t,B.apply(0,$(e,!0))),n&&E(t,P.apply(0,$(n,!0))),o&&E(t,A.apply(0,$(o,!0))),t},t=>{const[e]=t("update.ignoreMutation"),[n,o]=t("update.attributes"),[r,c]=t("update.elementEvents"),[h,p]=t("update.debounce"),b=t=>f(e)&&e(t);if((c||o)&&(l&&(l[1](),l[0]()),l=Cn(d||a,!0,A,{Ht:O.concat(n||[]),Pt:r,Dt:zn,kt:(t,e)=>{const{target:n,attributeName:o}=t;return!(e||!o||g)&&((t,e,n)=>{const o=t&&V(t,e),r=t&&((t,e)=>{const n=e?m(e)?e:null:document;return n?n.querySelector(t):null})(n,o),i=V(r,e)===o;return!(!o||!r)&&(o===t||r===t||i&&V(V(t,n),e)!==o)})(n,zn,Tn)||!!V(n,`.${ye}`)||!!b(t)}})),p)if(C.m(),w(h)){const t=h[0],e=h[1];i=u(t)&&t,s=u(e)&&e}else u(h)?(i=h,s=!1):(i=!1,s=!1)}]},Bn={x:0,y:0},{round:Dn}=Math,Hn=(t,e)=>Ht(t,"mousedown",Ht.bind(0,e,"click",Xt,{C:!0,$:!0}),{$:!0}),Xn=(t,e,n,o,r,i)=>{const{B:s}=Ue(),{Gt:l,Ft:c,Xt:a}=n,d=`scroll${i?"Left":"Top"}`,u=`client${i?"X":"Y"}`,h=i?"width":"height",p=i?"left":"top",f=i?"w":"h",w=i?"x":"y",g=(t,e)=>n=>{const{Tt:u}=r(),h=zt(c)[f]-zt(l)[f],p=e*n/h*u[w],g=Lt(a)&&i?s.n||s.i?1:-1:1;o[d]=t+p*g};return Ht(c,"pointerdown",(n=>{const r=V(n.target,`.${Oe}`)===l,i=r?l:c;if(((t,e,n)=>{const o=e.scrollbars,{button:r,isPrimary:i,pointerType:s}=t,{pointers:l}=o;return 0===r&&i&&o[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)})(n,t,r)){const t=!r&&n.shiftKey,s=()=>It(l),a=()=>It(c),f=(t,e)=>(t||s())[p]-(e||a())[p],b=g(o[d]||0,1/(t=>{const{width:e,height:n}=It(t),{w:o,h:r}=zt(t);return{x:Dn(e)/o||1,y:Dn(n)/r||1}})(o)[w]),v=n[u],y=s(),m=a(),x=y[h],S=f(y,m)+x/2,O=v-m[p],L=r?0:O-S,M=[Ht(e,"selectstart",(t=>Nt(t)),{S:!1}),Ht(c,"pointermove",(e=>{const n=e[u]-v;(r||t)&&b(L+n)}))];if(t)b(L);else if(!r){const t=Re()[Je];t&&$(M,t.O(b,f,L,x,O))}Ht(c,"pointerup",(t=>{C(M),i.releasePointerCapture(t.pointerId)}),{C:!0}),i.setPointerCapture(n.pointerId)}}))},{min:Nn,max:Vn,abs:jn,round:Fn}=Math,Wn=(t,e,n,o)=>{if(o){const t=n?"x":"y",{Tt:e,zt:r}=o,i=r[t],s=e[t];return Vn(0,Nn(1,i/(i+s)))}const r=n?"w":"h",i=zt(t)[r],s=zt(e)[r];return Vn(0,Nn(1,i/s))},_n=(t,o,r)=>{const{N:i,L:s}=Ue(),{scrollbars:l}=i(),{slot:c}=l,{ct:a,W:d,Z:u,J:h,lt:f,ot:w,it:g,ut:b}=o,{scrollbars:v}=f?{}:t,{slot:y}=v||{},m=en([d,u,h],(()=>b&&g?d:u),c,y),x=(t,n,o)=>{const r=o?xt:mt;e(t,(t=>{r(t.Xt,n)}))},S=(t,o)=>{e(t,(t=>{const[e,r]=o(t);n(e,r)}))},L=(t,e,n)=>{S(t,(t=>{const{Gt:o,Ft:r}=t;return[o,{[n?"width":"height"]:`${(100*Wn(o,r,n,e)).toFixed(3)}%`}]}))},M=(t,e,n)=>{const o=n?"X":"Y";S(t,(t=>{const{Gt:r,Ft:i,Xt:s}=t,l=((t,e,n,o,r,i)=>{const{B:s}=Ue(),l=i?"x":"y",c=i?"Left":"Top",{Tt:a}=o,d=Fn(a[l]),u=jn(n[`scroll${c}`]),h=i&&r,p=s.i?u:d-u,f=Nn(1,(h?p:u)/d),w=Wn(t,e,i);return 1/w*(1-w)*f})(r,i,w,e,Lt(s),n);return[r,{transform:l==l?`translate${o}(${(100*l).toFixed(3)}%)`:""}]}))},E=[],P=[],z=[],T=(t,e,n)=>{const o=p(n),r=!o||!n;(!o||n)&&x(P,t,e),r&&x(z,t,e)},A=t=>{const e=t?xe:$e,n=t?P:z,o=O(n)?Me:"",i=J(`${ye} ${e} ${o}`),l=J(Se),c=J(Oe),d={Xt:i,Ft:l,Gt:c};return s||xt(i,be),F(i,l),F(l,c),$(n,d),$(E,[_.bind(0,i),r(d,T,a,u,w,t)]),d},k=A.bind(0,!0),I=A.bind(0,!1);return k(),I(),[{Ut:t=>{L(P,t,!0),L(z,t)},Wt:t=>{M(P,t,!0),M(z,t)},Zt:T,Jt:{Kt:P,Qt:k,tn:S.bind(0,P)},nn:{Kt:z,Qt:I,tn:S.bind(0,z)}},()=>{F(m,P[0].Xt),F(m,z[0].Xt),st((()=>{T(Me)}),300)},C.bind(0,E)]},Jn=(t,e,n)=>{f(t)&&t(e||void 0,n||void 0)},Kn=(t,n,o)=>{const{G:r,N:i,Y:s,j:l}=Ue(),d=Re(),u=y(t),h=u?t:t.target,p=on(h);if(n&&!p){let p=!1;const f=t=>{const e=Re()[Be],n=e&&e.O;return n?n(t,!0):t},w=E({},r(),f(n)),[g,b,v]=Wt(o),[y,m,x]=((t,n)=>{const o=sn(n,{}),[r,i,s]=Wt(),[l,c,a]=un(t),d=ln((t=>({K:{t:0,r:0,b:0,l:0},St:!1,M:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Bn,Tt:Bn,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:Lt(t.Z)}))(l)),[u,h]=d,p=((t,n)=>{const{W:o,J:r,_t:i,ut:s}=t,{I:l,A:c,V:a}=Ue(),d=!l&&(c.x||c.y),u=[hn(t,n),pn(t,n),Sn(t,n)];return(t,n,l)=>{const c=On(E({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},n),{},l),h=d||!a,p=h&&I(r),f=h&&R(r);i("",oe,!0);let w=c;return e(u,(e=>{w=On(w,e(w,t,!!l)||{},l)})),I(r,p),R(r,f),i("",oe),s||(I(o,0),R(o,0)),w}})(l,d),f=(t,e,n)=>{const o=M(t).some((e=>t[e])),r=o||!P(e)||n;return r&&s("u",[t,e,n]),r},[w,g,b,v]=Rn(l,h,(t=>f(p(o,t),{},!1))),y=u.bind(0);return y.jt=t=>r("u",t),y.Nt=()=>{const{W:t,J:e}=l,n=I(t),o=R(t);g(),c(),I(e,n),R(e,o)},y.qt=l,[(t,e)=>{const o=sn(n,t,e);return v(o),f(p(o,b(),e),t,!!e)},y,()=>{i(),w(),a()}]})(t,w),[$,S,O]=((t,e,n,o)=>{let r,i,s,l,c,a=0;const d=ln({}),[u]=d,[h,p]=ft(),[f,w]=ft(),[g,b]=ft(100),[v,y]=ft(100),[m,x]=ft((()=>a)),[$,S,O]=_n(t,n.qt,((t,e)=>(n,o,r,i,s,l)=>{const{Xt:c}=n,[a,d]=ft(333),u=!!s.scrollBy;let h=!0;return C.bind(0,[Ht(c,"pointerenter",(()=>{o(Ee,!0)})),Ht(c,"pointerleave pointercancel",(()=>{o(Ee)})),Ht(c,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:r}=t;u&&h&&0===r&&N(c)===i&&s.scrollBy({left:e,top:n,behavior:"smooth"}),h=!1,o(Te,!0),a((()=>{h=!0,o(Te)})),Nt(t)}),{S:!1,$:!0}),Hn(c,r),Xn(t,r,n,s,e,l),d])})(e,n)),{Z:L,J:M,ot:E,st:P,ut:z,it:T}=n.qt,{Jt:A,nn:k,Zt:B,Ut:D,Wt:H}=$,{tn:X}=A,{tn:V}=k,j=t=>{const{Xt:e}=t,n=z&&!T&&N(e)===M&&e;return[n,{transform:n?`translate(${I(E)}px, ${R(E)}px)`:""}]},F=(t,e)=>{if(x(),t)B(ze);else{const t=()=>B(ze,!0);a>0&&!e?m(t):t()}},W=()=>{l=i,l&&F(!0)},_=[b,x,y,w,p,O,Ht(L,"pointerover",W,{C:!0}),Ht(L,"pointerenter",W),Ht(L,"pointerleave",(()=>{l=!1,i&&F(!1)})),Ht(L,"pointermove",(()=>{r&&h((()=>{b(),F(!0),v((()=>{r&&F(!1)}))}))})),Ht(P,"scroll",(t=>{f((()=>{H(n()),s&&F(!0),g((()=>{s&&!l&&F(!1)}))})),o(t),z&&X(j),z&&V(j)}))],J=u.bind(0);return J.qt=$,J.Nt=S,[(t,o,l)=>{const{At:d,Lt:u,It:h,yt:p}=l,{A:f}=Ue(),w=sn(e,t,o),g=n(),{Tt:b,Ct:v,bt:y}=g,[m,x]=w("showNativeOverlaidScrollbars"),[$,S]=w("scrollbars.theme"),[O,C]=w("scrollbars.visibility"),[L,M]=w("scrollbars.autoHide"),[E]=w("scrollbars.autoHideDelay"),[P,z]=w("scrollbars.dragScroll"),[A,k]=w("scrollbars.clickScroll"),I=d||u||p,R=h||C,X=m&&f.x&&f.y,N=(t,e)=>{const n="visible"===O||"auto"===O&&"scroll"===t;return B(Ce,n,e),n};if(a=E,x&&B(ve,X),S&&(B(c),B($,!0),c=$),M&&(r="move"===L,i="leave"===L,s="never"!==L,F(!s,!0)),z&&B(ke,P),k&&B(Ae,A),R){const t=N(v.x,!0),e=N(v.y,!1);B(Le,!(t&&e))}I&&(D(g),H(g),B(Pe,!b.x,!0),B(Pe,!b.y,!1),B(me,y&&!T))},J,C.bind(0,_)]})(t,w,m,(t=>v("scroll",[B,t]))),L=(t,e)=>y(t,!!e),z=L.bind(0,{},!0),T=s(z),A=l(z),k=t=>{(t=>{nn.delete(t)})(h),T(),A(),O(),x(),p=!0,v("destroyed",[B,!!t]),b()},B={options(t,e){if(t){const n=e?r():{},o=Kt(w,E(n,f(t)));P(o)||(E(w,o),L(o))}return E({},w)},on:g,off:(t,e)=>{t&&e&&b(t,e)},state(){const{zt:t,Tt:e,Ct:n,Et:o,K:r,St:i,bt:s}=m();return E({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:o,padding:r,paddingAbsolute:i,directionRTL:s,destroyed:p})},elements(){const{W:t,Z:e,K:n,J:o,tt:r,ot:i,st:s}=m.qt,{Jt:l,nn:c}=S.qt,a=t=>{const{Gt:e,Ft:n,Xt:o}=t;return{scrollbar:o,track:n,handle:e}},d=t=>{const{Kt:e,Qt:n}=t,o=a(e[0]);return E({},o,{clone:()=>{const t=a(n());return $({},!0,{}),t}})};return E({},{target:t,host:e,padding:n||o,viewport:o,content:r||o,scrollOffsetElement:i,scrollEventElement:s,scrollbarHorizontal:d(l),scrollbarVertical:d(c)})},update:t=>L({},t),destroy:k.bind(0)};return m.jt(((t,e,n)=>{$(e,n,t)})),((t,e)=>{nn.set(t,e)})(h,B),e(M(d),(t=>Jn(d[t],0,B))),((t,e,n)=>{const{nativeScrollbarsOverlaid:o,body:r}=n||{},{A:i,I:s}=Ue(),{nativeScrollbarsOverlaid:l,body:d}=e,u=null!=o?o:l,h=c(r)?d:r,p=(i.x||i.y)&&u,f=t&&(a(h)?!s:h);return!!p||!!f})(m.qt.it,i().cancel,!u&&t.cancel)?(k(!0),B):(m.Nt(),S.Nt(),v("initialized",[B]),m.jt(((t,e,n)=>{const{gt:o,yt:r,vt:i,At:s,Lt:l,It:c,wt:a,Ot:d}=t;v("updated",[B,{updateHints:{sizeChanged:o,directionChanged:r,heightIntrinsicChanged:i,overflowEdgeChanged:s,overflowAmountChanged:l,overflowStyleChanged:c,contentMutation:a,hostMutation:d},changedOptions:e,force:n}])})),B.update(!0),B)}return p};return Kn.plugin=t=>{e((t=>{const n=[];return e(w(t)?t:[t],(t=>{e(M(t),(e=>{$(n,Ie[e]=t[e])}))})),n})(t),(t=>Jn(t,Kn)))},Kn.valid=t=>{const e=t&&t.elements,n=f(e)&&e();return v(n)&&!!on(n.target)},Kn.env=()=>{const{k:t,A:e,I:n,B:o,V:r,L:i,X:s,U:l,N:c,q:a,G:d,F:u}=Ue();return E({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:o,flexboxGlue:r,cssCustomProperties:i,staticDefaultInitialization:s,staticDefaultOptions:l,getDefaultInitialization:c,setDefaultInitialization:a,getDefaultOptions:d,setDefaultOptions:u})},t.ClickScrollPlugin=Ke,t.OverlayScrollbars=Kn,t.ScrollbarsHidingPlugin=_e,t.SizeObserverPlugin=Ne,Object.defineProperties(t,{sn:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t}({});
# Changelog
## 2.1.0
### Bug Fixes
- Fix a bug where initial `RTL` direction wasn't detected properly.
### Features
- Introduce `CSS Custom Properties` to improve theming and styling of scrollbars.
### Improvements
- Improve pointer event handling on scrollbar handle and track.
- Improve the README documentation with a styling section.
## 2.0.3
Revert the `viewport` and `padding` style `position: relative` change introduced in `v2.0.2` due to breaking behavior. [#489](https://github.com/KingSora/OverlayScrollbars/issues/489) is considered a design limitation.
### Bug Fixes
- Revert the `viewport` and `padding` style `position: relative` change introduced in `v2.0.2` due to breaking behavior. [#489](https://github.com/KingSora/OverlayScrollbars/issues/489) is considered a design limitation.
## 2.0.2

@@ -11,3 +28,3 @@

The `viewport` and `padding` elements won't have the style `position: relative` anymore if its not needed. The style is only needed for older browsers. ([#489](https://github.com/KingSora/OverlayScrollbars/issues/489))
- The `viewport` and `padding` elements won't have the style `position: relative` anymore if its not needed. The style is only needed for older browsers. ([#489](https://github.com/KingSora/OverlayScrollbars/issues/489))

@@ -18,3 +35,3 @@ ## 2.0.1

The custom scrollbars are now always hidden if the `showNativeOverlaidScrollbars` option is `true`.
- The custom scrollbars are now always hidden if the `showNativeOverlaidScrollbars` option is `true`.

@@ -21,0 +38,0 @@ ### Improvements

{
"name": "overlayscrollbars",
"version": "2.0.3",
"version": "2.1.0",
"description": "A scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",

@@ -5,0 +5,0 @@ "author": "Rene Haas | KingSora",

@@ -28,3 +28,3 @@ <div align="center">

- Simple, powerful and well documented API
- High browser compatibility - <b>Firefox</b>, <b>Chrome</b>, <b>Opera</b>, <b>Edge</b>, <b>Safari 10+</b> and <b>IE 11</b>
- High browser compatibility - <b>Firefox 59+</b>, <b>Chrome 55+</b>, <b>Opera 42+</b>, <b>Edge 12+</b>, <b>Safari 10+</b> and <b>IE 11</b>
- Can be run on the server - <b>SSR</b>, <b>SSG</b> and <b>ISR</b> support

@@ -37,2 +37,3 @@ - Tested on various devices - <b>Mobile</b>, <b>Desktop</b> and <b>Tablet</b>

- Bidirectional - LTR or RTL direction support
- Supports usage on the `body` element
- Simple and effective scrollbar styling

@@ -42,3 +43,3 @@ - Highly customizable

- Dependency free - 100% self written to ensure small size and best functionality
- High quality and fully typed Framework versions for [`react`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-react), [`vue`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-vue), [`angular`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-ngx), [`svelte`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-svelte) and [`solid`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-solid).
- High quality and fully typed framework versions for [`react`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-react), [`vue`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-vue), [`angular`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-ngx), [`svelte`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-svelte) and [`solid`](https://github.com/KingSora/OverlayScrollbars/tree/master/packages/overlayscrollbars-solid).

@@ -346,2 +347,4 @@ ## Choose your framework

> __Note__: This options requires the **ClickScrollPlugin** to work.
Indicates whether you can click on the scrollbar track for scrolling.

@@ -462,2 +465,128 @@

## Styling
OverlayScrollbars comes with two themes called `os-theme-dark` and `os-theme-light`. You can use the `scrollbars.theme` option to change the theme.
Custom themes can be done in multiple ways. The easiest and fastest is to use the predefined set of `CSS Custom Properties` aka. CSS variables. In case those aren't enought you can add custom class names or add custom styling to the existing class names.
### Styling in depth
<details>
<summary>
This is a in depth topic. Click here to read it.
</summary>
### CSS Custom properties
OverlayScrollbars provides a set of `CSS Custom Properties` which makes scrollbar styling easy and fast:
```scss
.os-scrollbar {
// The size of the scrollbar
--os-size: 0;
// The axis-perpedicular padding of the scrollbar (horizontal: padding-y, vertical: padding-x)
--os-padding-perpendicular: 0;
// The axis padding of the scrollbar (horizontal: padding-x, vertical: padding-y)
--os-padding-axis: 0;
// The border radius of the scrollbar track
--os-track-border-radius: 0;
// The background of the scrollbar track
--os-track-bg: none;
// The :hover background of the scrollbar track
--os-track-bg-hover: none;
// The :active background of the scrollbar track
--os-track-bg-active: none;
// The border of the scrollbar track
--os-track-border: none;
// The :hover background of the scrollbar track
--os-track-border-hover: none;
// The :active background of the scrollbar track
--os-track-border-active: none;
// The border radius of the scrollbar handle
--os-handle-border-radius: 0;
// The background of the scrollbar handle
--os-handle-bg: none;
// The :hover background of the scrollbar handle
--os-handle-bg-hover: none;
// The :active background of the scrollbar handle
--os-handle-bg-active: none;
// The border of the scrollbar handle
--os-handle-border: none;
// The :hover border of the scrollbar handle
--os-handle-border-hover: none;
// The :active border of the scrollbar handle
--os-handle-border-active: none;
// The min size of the scrollbar handle
--os-handle-min-size: 33px;
// The max size of the scrollbar handle
--os-handle-max-size: none;
// The axis-perpedicular size of the scrollbar handle (horizontal: height, vertical: width)
--os-handle-perpendicular-size: 100%;
// The :hover axis-perpedicular size of the scrollbar handle (horizontal: height, vertical: width)
--os-handle-perpendicular-size-hover: 100%;
// The :active axis-perpedicular size of the scrollbar handle (horizontal: height, vertical: width)
--os-handle-perpendicular-size-active: 100%;
// Increases the interactive area of the scrollbar handle.
--os-handle-interactive-area-offset: 0;
}
```
You can alter the properties either for both scrollbars at once or per scrollbar axis:
```scss
// horizontal and vertical scrollbar are 10px
.os-theme-custom {
--os-size: 10px;
}
// horizontal scrollbar is 10px
.os-theme-custom.os-scrollbar-horizontal {
--os-size: 10px;
}
// vertical scrollbar is 20px
.os-theme-custom.os-scrollbar-vertical {
--os-size: 20px;
}
```
Since scrollbar styles are usually simple, this set of options should be enough to get your desired styling.
In case you need more freedom you can create your own styles by adding styling to the base class names described in the next section.
### Scrollbars structure and CSS class names
The scrollbars HTML markup looks like:
```html
<div class="os-scrollbar os-scrollbar-horizontal">
<div class="os-scrollbar-track">
<div class="os-scrollbar-handle">
</div>
</div>
</div>
<div class="os-scrollbar os-scrollbar-vertical">
<div class="os-scrollbar-track">
<div class="os-scrollbar-handle">
</div>
</div>
</div>
```
The class names are simplified, in a real application the `.os-scrollbar` element can have additional class names which modify the appearance (mostly visibility and alignment).
Below is a list of the most important class names you will encounter:
| CSS class name | description |
| :--- | :--- |
| `.os-scrollbar` | The root element of a scrollbar. |
| `.os-scrollbar-rtl` | Indicates a `RTL` direction of the host element the scrollbar belongs to. |
| `.os-scrollbar-horizontal` | The root element of a horizontal scrollbar. |
| `.os-scrollbar-vertical` | The root element of a vertical scrollbar. |
| `.os-scrollbar-handle-interactive` | Indicates that the handle inside the scrollbar is interactive (`scrollbars.dragScroll` is `true`). |
| `.os-scrollbar-track-interactive` | Indicates that the track inside the scrollbar is interactive (`scrollbars.clickScroll` is `true`). |
| `.os-scrollbar-track` | The track element. This is the track of the nested handle element. If `scrollbars.clickScroll` is `true` this is the element users can click to change the scroll offset. |
| `.os-scrollbar-handle` | The handle element. If `scrollbars.dragScroll` is `true` this is the handle users can drag to change the scroll offset. |
If you create your own theme, please only use the classes listed above. All other classes are modifier classes used to change visibility, alignment and pointer-events of the scrollbars.
</details>
## Plugins

@@ -464,0 +593,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc