a(c,t))e[r]=c,e[s]=t,r=s;else break a}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(C),C=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-Ne||125u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(C),C=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},1102:function(e,n,t){e.exports=t(3323)}}]);
\ No newline at end of file
diff --git a/docs/_next/static/chunks/main-ea1211b077f8a1ed.js b/docs/_next/static/chunks/main-ea1211b077f8a1ed.js
new file mode 100644
index 0000000..26efdbf
--- /dev/null
+++ b/docs/_next/static/chunks/main-ea1211b077f8a1ed.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{7290:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(a[r]=e[r]);return a}},286:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t&&("object"===a.default(t)||"function"==typeof t)?t:n.default(e)};var n=o(r(9498)),a=o(r(2271));function o(e){return e&&e.__esModule?e:{default:e}}},8758:function(e,t){"use strict";function r(e,t){return n(e,t)}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},9854:function(e,t,r){"use strict";t.Z=function(e,t){return n.default(e)||a.default(e,t)||i.default(e,t)||o.default()};var n=u(r(8221)),a=u(r(1834)),o=u(r(9155)),i=u(r(53));function u(e){return e&&e.__esModule?e:{default:e}}},3957:function(e,t,r){"use strict";t.Z=function(e){return n.default(e)||a.default(e)||i.default(e)||o.default()};var n=u(r(4833)),a=u(r(1834)),o=u(r(8375)),i=u(r(53));function u(e){return e&&e.__esModule?e:{default:e}}},6610:function(e,t,r){"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return n.__generator}});var n=r(9312)},2271:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.constructor===Symbol?"symbol":typeof e}},53:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e){if("string"==typeof e)return a.default(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a.default(e,t)}};var n,a=(n=r(7290),n&&n.__esModule?n:{default:n})},6943:function(e,t,r){"use strict";t.Z=u;var n=c(r(5083)),a=c(r(7283)),o=c(r(2989)),i=c(r(8758));function u(e){return l(e)}function c(e){return e&&e.__esModule?e:{default:e}}function l(e){var t="function"==typeof Map?new Map:void 0;return(l=function(e){if(null===e||!a.default(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return n.default(e,arguments,o.default(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i.default(r,e)})(e)}},8223:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})})},1470:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){return a.normalizePathTrailingSlash(n.addPathPrefix(e,"/OverlayScrollbars"))};var n=r(3973),a=r(4810);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4087:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(3957).Z,Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0,r(4810);var n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n0&&void 0!==s[0]&&s[0],a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,z=a.defaultLocale,e=a.assetPrefix||"",r.p="".concat(e,"/_next/"),R.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=A.getURL(),H.hasBasePath(o)&&(o=q.removeBasePath(o)),a.scriptLoader&&(0,r(7162).initScriptLoader)(a.scriptLoader),i=new T.default(a.buildId,e),l=function(e){var t=g(e,2),r=t[0],n=t[1];return i.routeLoader.onEntrypoint(r,n)},window.__NEXT_P&&window.__NEXT_P.map(function(e){return setTimeout(function(){return l(e)},0)}),window.__NEXT_P=[],window.__NEXT_P.push=l,(c=L.default()).getIsSsr=function(){return n.isSsr},u=document.getElementById("__next"),[2,{assetPrefix:e}]})})).apply(this,arguments)}function $(e,t){return O.default.createElement(e,Object.assign({},t))}function X(e){var t=e.children;return O.default.createElement(V,{fn:function(e){return J({App:f,err:e}).catch(function(e){return console.error("Error rendering page: ",e)})}},O.default.createElement(x.RouterContext.Provider,{value:D.makePublicRouterInstance(n)},O.default.createElement(j.HeadManagerContext.Provider,{value:c},O.default.createElement(Z.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/OverlayScrollbars/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}},t))))}var Y=function(e){return function(t){var r=w({},t,{Component:p,err:a.err,router:n});return O.default.createElement(X,null,$(e,r))}};function J(e){var t=e.App,u=e.err;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(function(n){var a=n.page,o=n.styleSheets;return(null==l?void 0:l.Component)===a?Promise.resolve().then(function(){return y(r(6698))}).then(function(n){return Promise.resolve().then(function(){return y(r(3239))}).then(function(r){return t=r.default,e.App=t,n})}).then(function(e){return{ErrorComponent:e.default,styleSheets:[]}}):{ErrorComponent:a,styleSheets:o}}).then(function(r){var i,c=r.ErrorComponent,l=r.styleSheets,s=Y(t),f={Component:c,AppTree:s,router:n,ctx:{err:u,pathname:a.page,query:a.query,asPath:o,AppTree:s}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:A.loadGetInitialProps(t,f)).then(function(t){return ei(w({},e,{err:u,Component:c,styleSheets:l,props:t}))})})}function Q(e){var t=e.callback;return O.default.useLayoutEffect(function(){return t()},[t]),null}var ee=null,et=!0;function er(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(function(e){return performance.clearMarks(e)})}function en(){A.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),d&&performance.getEntriesByName("Next.js-hydration").forEach(d),er())}function ea(){if(A.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),d&&(performance.getEntriesByName("Next.js-render").forEach(d),performance.getEntriesByName("Next.js-route-change-to-render").forEach(d)),er(),["Next.js-route-change-to-render","Next.js-render"].forEach(function(e){return performance.clearMeasures(e)}))}}function eo(e){var t=e.callbacks,r=e.children;return O.default.useLayoutEffect(function(){return t.forEach(function(e){return e()})},[t]),O.default.useEffect(function(){I.default(d)},[]),r}function ei(e){var t,r=function(){if(d&&!h){for(var t=new Set(d.map(function(e){return e.href})),r=W(document.querySelectorAll("style[data-n-href]")),n=r.map(function(e){return e.getAttribute("data-n-href")}),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,r=e.hybrid,n=e.hasQuery;return void 0!==t&&t||void 0!==r&&r&&void 0!==n&&n}},5275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){return r.test(e)?e.replace(n,"\\$&"):e};var r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g},2393:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var n=(0,r(2619).Z)(r(7378)).default.createContext({});t.HeadManagerContext=n},555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=s,t.default=void 0;var n=r(6516).Z,a=r(2619).Z,o=(0,r(6808).Z)(r(7378)),i=a(r(7501)),u=r(3739),c=r(2393),l=r(1729);function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(4915);var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var r,a,i,u,c=t.inAmpMode;return e.reduce(f,[]).reverse().concat(s(c).reverse()).filter((r=new Set,a=new Set,i=new Set,u={},function(e){var t=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;var o=e.key.slice(e.key.indexOf("$")+1);r.has(o)?t=!1:r.add(o)}switch(e.type){case"title":case"base":a.has(e.type)?t=!1:a.add(e.type);break;case"meta":for(var c=0,l=d.length;c>>0,1)},emit:function(t){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o1&&a.status>=500?e(t,r-1,n):a})})(r,i?3:1,{headers:a?{purpose:"prefetch"}:{},method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(function(t){return t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then(function(e){if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};if(!o&&404===t.status){var n;if(null==(n=X(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:V},response:t,text:e,cacheKey:f}}var a=Error("Failed to load static props");throw i||p.markAssetError(a),a}return{dataHref:r,json:u?X(e):null,response:t,text:e,cacheKey:f}})}).then(function(e){return c&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e}).catch(function(e){throw delete n[f],e})};return s&&c?d({}).then(function(e){return n[f]=Promise.resolve(e),e}):void 0!==n[f]?n[f]:n[f]=d(l?{method:"HEAD"}:{})}function J(){return Math.random().toString(36).slice(2,10)}function Q(e){var t=e.url,r=e.router;if(t===A.addBasePath(M.addLocale(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}var ee=function(e){var t=e.route,r=e.router,n=!1,a=r.clc=function(){n=!0};return function(){if(n){var e=Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}},et=function(){function e(t,r,a,o){var i=o.initialProps,u=o.pageLoader,c=o.App,l=o.wrapApp,s=o.Component,f=o.err,p=o.subscription,h=o.isFallback,v=o.locale,m=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),y=this;n(this,e),this.sdc={},this.isFirstPopStateEvent=!0,this._key=J(),this.onPopState=function(e){var t,r=y.isFirstPopStateEvent;y.isFirstPopStateEvent=!1;var n=e.state;if(!n){var a=y.pathname,o=y.query;y.changeState("replaceState",E.formatWithValidation({pathname:A.addBasePath(a),query:o}),_.getURL());return}if(n.__NA){window.location.reload();return}if(n.__N&&(!r||y.locale!==n.options.locale||n.as!==y.asPath)){var i=n.url,u=n.as,c=n.options,l=n.key;y._key=l;var s=P.parseRelativeUrl(i).pathname;(!y.isSsr||u!==A.addBasePath(y.asPath)||s!==A.addBasePath(y.pathname))&&(!y._bps||y._bps(n))&&y.change("replaceState",i,u,Object.assign({},c,{shallow:c.shallow&&y._shallow,locale:c.locale||y.defaultLocale,_h:0}),t)}};var g=d.removeTrailingSlash(t);this.components={},"/_error"!==t&&(this.components[g]={Component:s,initial:!0,props:i,err:f,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP}),this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u;var w=b.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="/OverlayScrollbars",this.sub=p,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.state={route:g,pathname:t,query:r,asPath:w?t:a,isPreview:!!m,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!a.startsWith("//")){var S={locale:v},O=_.getURL();this._initialMatchesMiddlewarePromise=B({router:this,locale:v,asPath:O}).then(function(e){return S._shouldResolveHref=a!==t,y.changeState("replaceState",e?O:E.formatWithValidation({pathname:A.addBasePath(t),query:r}),O,S),e})}window.addEventListener("popstate",this.onPopState)}return a(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(r=z(this,e,t)).url,t=r.as,this.change("pushState",e,t,n)}},{key:"replace",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(r=z(this,e,t)).url,t=r.as,this.change("replaceState",e,t,n)}},{key:"change",value:function(t,r,n,a,l){var s=this;return u(function(){var u,f,m,y,g,w,S,L,T,N,Z,q,W,K,$,X,Y,J,ee,et,er,en,ea,eo,ei,eu,ec,el,es,ef,ed,ep,eh,ev,em,ey,eg,e_,eb,eP,ew,eS,eO,ej,eE,ex,eM,eC,eR,eA,ek,eL,eT,eI,eN,eD,eB,eZ,eq,eH;return i(this,function(i){switch(i.label){case 0:if(!U(r))return Q({url:r,router:s}),[2,!1];if(f=(u=a._h)||a._shouldResolveHref||x.parsePath(r).pathname===x.parsePath(n).pathname,m=c({},s.state),y=!0!==s.isReady,s.isReady=!0,g=s.isSsr,u||(s.isSsr=!1),u&&s.clc)return[2,!1];if(w=m.locale,_.ST&&performance.mark("routeChange"),L=void 0!==(S=a.shallow)&&S,N=void 0===(T=a.scroll)||T,Z={shallow:L},s._inFlightRoute&&s.clc&&(g||e.events.emit("routeChangeError",D(),s._inFlightRoute,Z),s.clc(),s.clc=null),n=A.addBasePath(M.addLocale(k.hasBasePath(n)?R.removeBasePath(n):n,a.locale,s.defaultLocale)),q=C.removeLocale(k.hasBasePath(n)?R.removeBasePath(n):n,m.locale),s._inFlightRoute=n,W=w!==m.locale,!(!u&&s.onlyAHashChange(q)&&!W))return[3,5];m.asPath=q,e.events.emit("hashChangeStart",n,Z),s.changeState(t,r,n,c({},a,{scroll:!1})),N&&s.scrollToHash(q),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,s.set(m,s.components[m.route],null)];case 2:return i.sent(),[3,4];case 3:throw K=i.sent(),v.default(K)&&K.cancelled&&e.events.emit("routeChangeError",K,q,Z),K;case 4:return e.events.emit("hashChangeComplete",n,Z),[2,!0];case 5:X=($=P.parseRelativeUrl(r)).pathname,Y=$.query,i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([s.pageLoader.getPageList(),p.getClientBuildManifest(),s.pageLoader.getMiddleware()])];case 7:return J=(ee=o.apply(void 0,[i.sent(),2]))[0],ee[1].__rewrites,[3,9];case 8:return i.sent(),Q({url:n,router:s}),[2,!1];case 9:return s.urlIsNew(q)||W||(t="replaceState"),er=n,X=X?d.removeTrailingSlash(R.removeBasePath(X)):X,[4,B({asPath:n,locale:m.locale,router:s})];case 10:if(en=i.sent(),a.shallow&&en&&(X=s.pathname),f&&"/_error"!==X&&(a._shouldResolveHref=!0,$.pathname=G(X,J),$.pathname===X||(X=$.pathname,$.pathname=A.addBasePath(X),en||(r=E.formatWithValidation($)))),!U(n))return Q({url:n,router:s}),[2,!1];if(er=C.removeLocale(R.removeBasePath(er),m.locale),ea=d.removeTrailingSlash(X),eo=!1,b.isDynamicRoute(ea)){if(eu=(ei=P.parseRelativeUrl(er)).pathname,ec=j.getRouteRegex(ea),eo=O.getRouteMatcher(ec)(eu),es=(el=ea===eu)?F(ea,eu,Y):{},eo&&(!el||es.result))el?n=E.formatWithValidation(Object.assign({},ei,{pathname:es.result,query:H(Y,es.params)})):Object.assign(Y,eo);else if((ef=Object.keys(ec.groups).filter(function(e){return!Y[e]})).length>0&&!en)throw Error((el?"The provided `href` (".concat(r,") value is missing query values (").concat(ef.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(eu,") is incompatible with the `href` value (").concat(ea,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(el?"href-interpolation-failed":"incompatible-href-as"))}u||e.events.emit("routeChangeStart",n,Z),i.label=11;case 11:return i.trys.push([11,21,,22]),[4,s.getRouteInfo({route:ea,pathname:X,query:Y,as:n,resolvedAs:er,routeProps:Z,locale:m.locale,isPreview:m.isPreview,hasMiddleware:en})];case 12:if("route"in(eh=i.sent())&&en&&(ea=X=eh.route||ea,Z.shallow||(Y=Object.assign({},eh.query||{},Y)),ev=k.hasBasePath($.pathname)?R.removeBasePath($.pathname):$.pathname,eo&&X!==ev&&Object.keys(eo).forEach(function(e){eo&&Y[e]===eo[e]&&delete Y[e]}),b.isDynamicRoute(X))&&(ey=!Z.shallow&&eh.resolvedAs?eh.resolvedAs:A.addBasePath(M.addLocale(new URL(n,location.href).pathname,m.locale),!0),k.hasBasePath(ey)&&(ey=R.removeBasePath(ey)),eg=j.getRouteRegex(X),(e_=O.getRouteMatcher(eg)(ey))&&Object.assign(Y,e_)),"type"in eh){if("redirect-internal"===eh.type)return[2,s.change(t,eh.newUrl,eh.newAs,a)];return Q({url:eh.destination,router:s}),[2,new Promise(function(){})]}if(eb=eh.error,eP=eh.props,ew=eh.__N_SSG,eS=eh.__N_SSP,(eO=eh.Component)&&eO.unstable_scriptLoader&&[].concat(eO.unstable_scriptLoader()).forEach(function(e){h.handleClientScriptLoad(e.props)}),!((ew||eS)&&eP))return[3,18];if(eP.pageProps&&eP.pageProps.__N_REDIRECT){if(a.locale=!1,(eE=eP.pageProps.__N_REDIRECT).startsWith("/")&&!1!==eP.pageProps.__N_REDIRECT_BASE_PATH)return(ex=P.parseRelativeUrl(eE)).pathname=G(ex.pathname,J),eC=(eM=z(s,eE,eE)).url,eR=eM.as,[2,s.change(t,eC,eR,a)];return Q({url:eE,router:s}),[2,new Promise(function(){})]}if(m.isPreview=!!eP.__N_PREVIEW,eP.notFound!==V)return[3,18];i.label=13;case 13:return i.trys.push([13,15,,16]),[4,s.fetchComponent("/404")];case 14:return i.sent(),eA="/404",[3,16];case 15:return i.sent(),eA="/_error",[3,16];case 16:return[4,s.getRouteInfo({route:eA,pathname:eA,query:Y,as:n,resolvedAs:er,routeProps:{shallow:!1},locale:m.locale,isPreview:m.isPreview})];case 17:if("type"in(eh=i.sent()))throw Error("Unexpected middleware effect on /404");i.label=18;case 18:if(e.events.emit("beforeHistoryChange",n,Z),s.changeState(t,r,n,a),u&&"/_error"===X&&(null==(ed=self.__NEXT_DATA__.props)?void 0:null==(ep=ed.pageProps)?void 0:ep.statusCode)===500&&(null==eP?void 0:eP.pageProps)&&(eP.pageProps.statusCode=500),eL=a.shallow&&m.route===(null!=(ek=eh.route)?ek:ea),eN=(eI=null!=(eT=a.scroll)?eT:!a._h&&!eL)?{x:0,y:0}:null,eD=c({},m,{route:ea,pathname:X,query:Y,asPath:q,isFallback:!1}),eB=null!=l?l:eN,a._h&&!eB&&!y&&!W&&I.compareRouterStates(eD,s.state))return[3,20];return[4,s.set(eD,eh,eB).catch(function(e){if(e.cancelled)eb=eb||e;else throw e})];case 19:if(i.sent(),eb)throw u||e.events.emit("routeChangeError",eb,q,Z),eb;u||e.events.emit("routeChangeComplete",n,Z),eq=/#.+$/,eI&&eq.test(n)&&s.scrollToHash(n),i.label=20;case 20:return[2,!0];case 21:if(eH=i.sent(),v.default(eH)&&eH.cancelled)return[2,!1];throw eH;case 22:return[2]}})})()}},{key:"changeState",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};("pushState"!==e||_.getURL()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:J()},"",r))}},{key:"handleRouteInfoError",value:function(t,r,n,a,o,c){var l=this;return u(function(){var u,s,f,d,h,m,y;return i(this,function(i){switch(i.label){case 0:if(console.error(t),t.cancelled)throw t;if(p.isAssetError(t)||c)throw e.events.emit("routeChangeError",t,a,o),Q({url:a,router:l}),D();i.label=1;case 1:return i.trys.push([1,7,,8]),[4,l.fetchComponent("/_error")];case 2:if((h={props:u,Component:f=(s=i.sent()).page,styleSheets:s.styleSheets,err:t,error:t}).props)return[3,6];i.label=3;case 3:return i.trys.push([3,5,,6]),[4,l.getInitialProps(f,{err:t,pathname:r,query:n})];case 4:return h.props=i.sent(),[3,6];case 5:return m=i.sent(),console.error("Error in error page `getInitialProps`: ",m),h.props={},[3,6];case 6:return[2,h];case 7:return y=i.sent(),[2,l.handleRouteInfoError(v.default(y)?y:Error(y+""),r,n,a,o,!0)];case 8:return[2]}})})()}},{key:"getRouteInfo",value:function(e){var t=e.route,r=e.pathname,n=e.query,a=e.as,l=e.resolvedAs,s=e.routeProps,f=e.locale,h=e.hasMiddleware,m=e.isPreview,g=e.unstable_skipClientCache,_=this;return u(function(){var e,w,S,C,k,I,N,D,Z,q,H,U,F,W,z,V;return i(this,function($){switch($.label){case 0:e=t,$.label=1;case 1:var X;if($.trys.push([1,6,,7]),k=ee({route:e,router:_}),I=_.components[e],s.shallow&&I&&_.route===e)return[2,I];return h&&(I=void 0),N=!I||"initial"in I?void 0:I,D={dataHref:_.pageLoader.getDataHref({href:E.formatWithValidation({pathname:r,query:n}),skipInterpolation:!0,asPath:l,locale:f}),hasMiddleware:!0,isServerRender:_.isSsr,parseJSON:!0,inflightCache:_.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:g},[4,(X={fetchData:function(){return Y(D)},asPath:l,locale:f,router:_},B(X).then(function(e){return e&&X.fetchData?X.fetchData().then(function(e){return(function(e,t,r){var n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:Boolean(!1)},a=t.headers.get("x-nextjs-rewrite"),i=a||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||i||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(i=u),i){if(i.startsWith("/")){var l=P.parseRelativeUrl(i),s=L.getNextPathnameInfo(l.pathname,{nextConfig:n,parseData:!0}),f=d.removeTrailingSlash(s.pathname);return Promise.all([r.router.pageLoader.getPageList(),p.getClientBuildManifest(),]).then(function(t){var n=o(t,2),i=n[0];n[1].__rewrites;var u=M.addLocale(s.pathname,s.locale);if(b.isDynamicRoute(u)||!a&&i.includes(y.normalizeLocalePath(R.removeBasePath(u),r.router.locales).pathname)){var c=L.getNextPathnameInfo(P.parseRelativeUrl(e).pathname,{parseData:!0});u=A.addBasePath(c.pathname),l.pathname=u}if(!i.includes(f)){var d=G(f,i);d!==f&&(f=d)}var p=i.includes(f)?f:G(y.normalizeLocalePath(R.removeBasePath(l.pathname),r.router.locales).pathname,i);if(b.isDynamicRoute(p)){var h=O.getRouteMatcher(j.getRouteRegex(p))(u);Object.assign(l.query,h||{})}return{type:"rewrite",parsedAs:l,resolvedHref:p}})}var h=x.parsePath(e),v=T.formatNextPathnameInfo(c({},L.getNextPathnameInfo(h.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-external",destination:"".concat(v).concat(h.query).concat(h.hash)})}var m=t.headers.get("x-nextjs-redirect");if(m){if(m.startsWith("/")){var g=x.parsePath(m),_=T.formatNextPathnameInfo(c({},L.getNextPathnameInfo(g.pathname,{nextConfig:n,parseData:!0}),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:"".concat(_).concat(g.query).concat(g.hash),newUrl:"".concat(_).concat(g.query).concat(g.hash)})}return Promise.resolve({type:"redirect-external",destination:m})}return Promise.resolve({type:"next"})})(e.dataHref,e.response,X).then(function(t){return{dataHref:e.dataHref,cacheKey:e.cacheKey,json:e.json,response:e.response,text:e.text,effect:t}})}).catch(function(e){return null}):null}))];case 2:if(Z=$.sent(),k(),(null==Z?void 0:null==(w=Z.effect)?void 0:w.type)==="redirect-internal"||(null==Z?void 0:null==(S=Z.effect)?void 0:S.type)==="redirect-external")return[2,Z.effect];if((null==Z?void 0:null==(C=Z.effect)?void 0:C.type)==="rewrite"&&(e=d.removeTrailingSlash(Z.effect.resolvedHref),r=Z.effect.resolvedHref,n=c({},n,Z.effect.parsedAs.query),l=R.removeBasePath(y.normalizeLocalePath(Z.effect.parsedAs.pathname,_.locales).pathname),I=_.components[e],s.shallow&&I&&_.route===e&&!h))return[2,c({},I,{route:e})];if("/api"===e||e.startsWith("/api/"))return Q({url:a,router:_}),[2,new Promise(function(){})];if(H=N)return[3,4];return[4,_.fetchComponent(e).then(function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}})];case 3:H=$.sent(),$.label=4;case 4:return U=(q=H).__N_SSG||q.__N_SSP,[4,_._getData(u(function(){var e,t,o,u,c;return i(this,function(o){switch(o.label){case 0:if(!U)return[3,4];if(!(null==Z?void 0:Z.json))return[3,1];return u=Z,[3,3];case 1:return[4,Y({dataHref:_.pageLoader.getDataHref({href:E.formatWithValidation({pathname:r,query:n}),asPath:l,locale:f}),isServerRender:_.isSsr,parseJSON:!0,inflightCache:_.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:g})];case 2:u=o.sent(),o.label=3;case 3:return t=(e=u).json,[2,{cacheKey:e.cacheKey,props:t||{}}];case 4:return c={headers:{},cacheKey:""},[4,_.getInitialProps(q.Component,{pathname:r,query:n,asPath:a,locale:f,locales:_.locales,defaultLocale:_.defaultLocale})];case 5:return[2,(c.props=o.sent(),c)]}})}))];case 5:return W=(F=$.sent()).props,z=F.cacheKey,q.__N_SSP&&D.dataHref&&delete _.sdc[z],!_.isPreview&&q.__N_SSG&&Y(Object.assign({},D,{isBackground:!0,persistCache:!1,inflightCache:K})).catch(function(){}),W.pageProps=Object.assign({},W.pageProps),q.props=W,q.route=e,q.query=n,q.resolvedAs=l,_.components[e]=q,[2,q];case 6:return V=$.sent(),[2,_.handleRouteInfoError(v.getProperError(V),r,n,a,s)];case 7:return[2]}})})()}},{key:"set",value:function(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=o(this.asPath.split("#"),2),r=t[0],n=t[1],a=o(e.split("#"),2),i=a[0],u=a[1];return!!u&&r===i&&n===u||r===i&&n!==u}},{key:"scrollToHash",value:function(e){var t=o(e.split("#"),2)[1],r=void 0===t?"":t;if(""===r||"top"===r){$(function(){return window.scrollTo(0,0)});return}var n=decodeURIComponent(r),a=document.getElementById(n);if(a){$(function(){return a.scrollIntoView()});return}var i=document.getElementsByName(n)[0];i&&$(function(){return i.scrollIntoView()})}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this;return u(function(){var a,o,u,c,l,s,f,p,h,v;return i(this,function(i){switch(i.label){case 0:if(N.isBot(window.navigator.userAgent))return[2];return o=(a=P.parseRelativeUrl(e)).pathname,u=a.query,[4,n.pageLoader.getPageList()];case 1:return c=i.sent(),l=t,s=void 0!==r.locale?r.locale||void 0:n.locale,[3,3];case 2:if(f=i.sent().__rewrites,(h=S.default(A.addBasePath(M.addLocale(t,n.locale),!0),c,f,a.query,function(e){return G(e,c)},n.locales)).externalDest)return[2];l=C.removeLocale(R.removeBasePath(h.asPath),n.locale),h.matchedPage&&h.resolvedHref&&(o=h.resolvedHref,a.pathname=o,e=E.formatWithValidation(a)),i.label=3;case 3:return a.pathname=G(a.pathname,c),b.isDynamicRoute(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(u,O.getRouteMatcher(j.getRouteRegex(a.pathname))(x.parsePath(t).pathname)||{}),e=E.formatWithValidation(a)),v=d.removeTrailingSlash(o),[4,Promise.all([n.pageLoader._isSsg(v).then(function(t){return!!t&&Y({dataHref:n.pageLoader.getDataHref({href:e,asPath:l,locale:s}),isServerRender:!1,parseJSON:!0,inflightCache:n.sdc,persistCache:!n.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||!!r.priority}).then(function(){return!1})}),n.pageLoader[r.priority?"loadPage":"prefetch"](v)])];case 4:return i.sent(),[2]}})})()}},{key:"fetchComponent",value:function(e){var t=this;return u(function(){var r,n,a;return i(this,function(o){switch(o.label){case 0:r=ee({route:e,router:t}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,t.pageLoader.loadPage(e)];case 2:return n=o.sent(),r(),[2,n];case 3:throw a=o.sent(),r(),a;case 4:return[2]}})})()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then(function(e){if(n===t.clc&&(t.clc=null),r){var a=Error("Loading initial props cancelled");throw a.cancelled=!0,a}return e})}},{key:"_getFlightData",value:function(e){return Y({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(function(e){return{data:e.text}})}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,_.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();et.events=g.default(),t.default=et},9308:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,r,o){return t&&t!==r&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api"))?n.addPathPrefix(e,"/".concat(t)):e};var n=r(3973),a=r(3204)},3973:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;var r=n.parsePath(e),a=r.pathname,o=r.query,i=r.hash;return"".concat(t).concat(a).concat(o).concat(i)};var n=r(9653)},9232:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;var r=n.parsePath(e),a=r.pathname,o=r.query,i=r.hash;return"".concat(a).concat(t).concat(o).concat(i)};var n=r(9653)},2677:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){var r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(var n=r.length;n--;){var a=r[n];if("query"===a){var o=Object.keys(e.query);if(o.length!==Object.keys(t.query).length)return!1;for(var i=o.length;i--;){var u=o[i];if(!t.query.hasOwnProperty(u)||e.query[u]!==t.query[u])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},3285:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){var t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json")),t=a.addPathPrefix(t,e.basePath),e.trailingSlash?e.buildId||t.endsWith("/")?t:o.addPathSuffix(t,"/"):n.removeTrailingSlash(t)};var n=r(8690),a=r(3973),o=r(9232),i=r(9308)},1646:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=i,t.urlObjectKeys=void 0;var n=(0,r(6808).Z)(r(2734)),a=/https?|ftp|gopher|file/;function o(e){var t=e.auth,r=e.hostname,o=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(l+=":"+e.port)),c&&"object"==typeof c&&(c=String(n.urlQueryToSearchParams(c)));var s=e.search||c&&"?".concat(c)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==l?(l="//"+(l||""),i&&"/"!==i[0]&&(i="/"+i)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),s&&"?"!==s[0]&&(s="?"+s),i=i.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),"".concat(o).concat(l).concat(i).concat(s).concat(u)}function i(e){return o(e)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes",]},5641:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e))+t}},1168:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var r,i=null!=(r=t.nextConfig)?r:{},u=i.basePath,c=i.i18n,l=i.trailingSlash,s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};if(u&&o.pathHasPrefix(s.pathname,u)&&(s.pathname=a.removePathPrefix(s.pathname,u),s.basePath=u),!0===t.parseData&&s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){var f=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),d=f[0];s.pathname="index"!==f[1]?"/".concat(f.slice(1).join("/")):"/",s.buildId=d}if(c){var p=n.normalizeLocalePath(s.pathname,c.locales);s.locale=null==p?void 0:p.detectedLocale,s.pathname=(null==p?void 0:p.pathname)||s.pathname}return s};var n=r(4331),a=r(2715),o=r(3204)},3397:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var n=r(6282),a=r(2627)},36:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBot=function(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}},2627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},9653:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}},6995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,i=new URL(e,o),u=i.pathname,c=i.searchParams,l=i.search,s=i.hash,f=i.href;if(i.origin!==r.origin)throw Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:a.searchParamsToUrlQuery(c),search:l,hash:s,href:f.slice(r.origin.length)}};var n=r(4915),a=r(2734)},3204:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!=typeof e)return!1;var r=n.parsePath(e).pathname;return r===t||r.startsWith(t+"/")};var n=r(9653)},2734:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9854).Z;function a(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach(function(e,r){void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach(function(e){var r=n(e,2),o=r[0],i=r[1];Array.isArray(i)?i.forEach(function(e){return t.append(o,a(e))}):t.set(o,a(i))}),t},t.assign=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n122&&(r++,t=97);return e}),c={};return{namedParameterizedRoute:n.map(function(e){if(!(e.startsWith("[")&&e.endsWith("]")))return"/".concat(a.escapeStringRegexp(e));var t=i(e.slice(1,-1)),r=t.key,n=t.optional,o=t.repeat,l=r.replace(/\W/g,""),s=!1;return(0===l.length||l.length>30)&&(s=!0),isNaN(parseInt(l.slice(0,1)))||(s=!0),s&&(l=u()),c[l]=r,o?n?"(?:/(?<".concat(l,">.+?))?"):"/(?<".concat(l,">.+?)"):"/(?<".concat(l,">[^/]+?)")}).join(""),routeKeys:c}}},6282:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(93).Z,a=r(7758).Z,o=r(3957).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){var t=new i;return e.forEach(function(e){return t.insert(e)}),t.smoosh()};var i=function(){function e(){n(this,e),this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}return a(e,[{key:"insert",value:function(e){this._insert(e.split("/").filter(Boolean),[],!1)}},{key:"smoosh",value:function(){return this._smoosh()}},{key:"_smoosh",value:function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",a=this,i=o(this.children.keys()).sort();null!==this.slugName&&i.splice(i.indexOf("[]"),1),null!==this.restSlugName&&i.splice(i.indexOf("[...]"),1),null!==this.optionalRestSlugName&&i.splice(i.indexOf("[[...]]"),1);var u=i.map(function(e){return a.children.get(e)._smoosh("".concat(n).concat(e,"/"))}).reduce(function(e,t){return o(e).concat(o(t))},[]);if(null!==this.slugName&&u.push.apply(u,o(this.children.get("[]")._smoosh("".concat(n,"[").concat(this.slugName,"]/")))),!this.placeholder){var c="/"===n?"/":n.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(c,'" and "').concat(c,"[[...").concat(this.optionalRestSlugName,']]").'));u.unshift(c)}return null!==this.restSlugName&&u.push.apply(u,o(this.children.get("[...]")._smoosh("".concat(n,"[...").concat(this.restSlugName,"]/")))),null!==this.optionalRestSlugName&&u.push.apply(u,o(this.children.get("[[...]]")._smoosh("".concat(n,"[[...").concat(this.optionalRestSlugName,"]]/")))),u}},{key:"_insert",value:function(t,r,n){if(0===t.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");var a=t[0];if(a.startsWith("[")&&a.endsWith("]")){var o=function(e,t){if(null!==e&&e!==t)throw Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));r.forEach(function(e){if(e===t)throw Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))}),r.push(t)},i=a.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(n){if(u){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));o(this.optionalRestSlugName,i),this.optionalRestSlugName=i,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));o(this.restSlugName,i),this.restSlugName=i,a="[...]"}}else{if(u)throw Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));o(this.slugName,i),this.slugName=i,a="[]"}}this.children.has(a)||this.children.set(a,new e),this.children.get(a)._insert(t.slice(1),r,n)}}]),e}()},9603:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=a,t.default=void 0;var r,n=function(){return r};function a(e){r=e}t.default=n,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7501:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r=function(){if(u&&u.mountedInstances){var t=n.Children.toArray(Array.from(u.mountedInstances).filter(Boolean));u.updateHead(c(t,e))}},u=e.headManager,c=e.reduceComponentsToState;return a&&(null==u||null==(t=u.mountedInstances)||t.add(e.children),r()),o(function(){var t;return null==u||null==(t=u.mountedInstances)||t.add(e.children),function(){var t;null==u||null==(t=u.mountedInstances)||t.delete(e.children)}}),o(function(){return u&&(u._pendingUpdate=r),function(){u&&(u._pendingUpdate=r)}}),i(function(){return u&&u._pendingUpdate&&(u._pendingUpdate(),u._pendingUpdate=null),function(){u&&u._pendingUpdate&&(u._pendingUpdate(),u._pendingUpdate=null)}}),null};var n=(0,r(6808).Z)(r(7378)),a=!1,o=a?function(){}:n.useLayoutEffect,i=a?function(){}:n.useEffect},4915:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(93).Z,a=r(2309).Z,o=r(3957).Z,i=r(6943).Z,u=r(6755).Z,c=r(6610).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){for(var n=arguments.length,a=Array(n),i=0;i=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(a){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},v=function(e,t,r,n){var a,o;return function(i){var u,c;t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},m=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},g=function(){h(function(e){m=e.timeStamp},!0)},_=function(){return m<0&&(m=y(),g(),l(function(){setTimeout(function(){m=y(),g()},0)})),{get firstHiddenTime(){return m}}},b=function(e,t){t=t||{};var r,n=[1800,3e3],a=_(),o=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(c&&c.disconnect(),e.startTime-1&&e(t)},o=d("CLS",0),i=0,u=[],c=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>o.value&&(o.value=i,o.entries=u,n())}})},s=p("layout-shift",c);s&&(n=v(a,o,r,t.reportAllChanges),h(function(){c(s.takeRecords()),n(!0)}),l(function(){i=0,w=-1,o=d("CLS",0),n=v(a,o,r,t.reportAllChanges)}))},O={passive:!0,capture:!0},j=new Date,E=function(e,t){n||(n=t,a=e,o=new Date,C(removeEventListener),x())},x=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(n=function(){E(i,e),o()},a=function(){o()},o=function(){removeEventListener("pointerup",n,O),removeEventListener("pointercancel",a,O)},addEventListener("pointerup",n,O),addEventListener("pointercancel",a,O)):E(i,e)}},C=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,M,O)})},R=function(e,t){t=t||{};var r,o=[100,300],u=_(),c=d("FID"),s=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};q[n.id]=n,Z.push(n)}Z.sort(function(e,t){return t.latency-e.latency}),Z.splice(10).forEach(function(e){delete q[e.id]})}},U=function(e,t){t=t||{};var r=[200,500];N();var n,a=d("INP"),o=function(e){e.forEach(function(e){e.interactionId&&H(e),"first-input"!==e.entryType||Z.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||H(e)});var t,r=Z[Math.min(Z.length-1,Math.floor(B()/50))];r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=p("event",o,{durationThreshold:t.durationThreshold||40});n=v(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){o(i.takeRecords()),a.value<0&&B()>0&&(a.value=0,a.entries=[]),n(!0)}),l(function(){Z=[],D=I(),a=d("INP"),n=v(e,a,r,t.reportAllChanges)}))},F={},W=function(e,t){t=t||{};var r,n=[2500,4e3],a=_(),o=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[o],a(!0),l(function(){n=d("TTFB",0),(a=v(e,n,r,t.reportAllChanges))(!0)})}})},e.exports=r},16:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){return a(e)?e:Error(n.isPlainObject(e)?JSON.stringify(e):e+"")};var n=r(5122);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}},9312:function(e,t,r){"use strict";r.r(t),r.d(t,{__assign:function(){return o},__asyncDelegator:function(){return P},__asyncGenerator:function(){return b},__asyncValues:function(){return w},__await:function(){return _},__awaiter:function(){return s},__classPrivateFieldGet:function(){return x},__classPrivateFieldIn:function(){return C},__classPrivateFieldSet:function(){return M},__createBinding:function(){return d},__decorate:function(){return u},__exportStar:function(){return p},__extends:function(){return a},__generator:function(){return f},__importDefault:function(){return E},__importStar:function(){return j},__makeTemplateObject:function(){return S},__metadata:function(){return l},__param:function(){return c},__read:function(){return v},__rest:function(){return i},__spread:function(){return m},__spreadArray:function(){return g},__spreadArrays:function(){return y},__values:function(){return h}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function u(e,t,r,n){var a,o=arguments.length,i=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i);return o>3&&i&&Object.defineProperty(t,r,i),i}function c(e,t){return function(r,n){t(r,n,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e,t,r,n){return new(r||(r=Promise))(function(a,o){function i(e){try{c(n.next(e))}catch(t){o(t)}}function u(e){try{c(n.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?a(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,u)}c((n=n.apply(e,t||[])).next())})}function f(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(a=2&o[0]?n.return:o[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;switch(n=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,n=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(u){a={error:u}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function m(){for(var e=[],t=0;t1||u(e,t)})})}function u(e,t){try{var r;r=a[e](t),r.value instanceof _?Promise.resolve(r.value.v).then(c,l):s(o[0][2],r)}catch(n){s(o[0][3],n)}}function c(e){u("next",e)}function l(e){u("throw",e)}function s(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function P(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,a){t[n]=e[n]?function(t){return(r=!r)?{value:_(e[n](t)),done:"return"===n}:a?a(t):t}:a}}function w(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,a){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,a,(t=e[r](t)).done,t.value)})}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&d(t,e,r);return O(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function x(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function M(e,t,r,n,a){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,r):a?a.value=r:t.set(e,r),r}function C(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},6918:function(){}},function(e){e.O(0,[774],function(){return e(e.s=6932)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/docs/_next/static/chunks/pages/_app-6150d4a4a7f94bc7.js b/docs/_next/static/chunks/pages/_app-6150d4a4a7f94bc7.js
new file mode 100644
index 0000000..cd550f7
--- /dev/null
+++ b/docs/_next/static/chunks/pages/_app-6150d4a4a7f94bc7.js
@@ -0,0 +1,9 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8936:function(t,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(3022)}])},2581:function(t,n,r){"use strict";r.d(n,{a:function(){return rC}});var e=r(7599);function o(t,n){return null!=n&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r-1&&n%1==0;return(!!O(t)||!x(t)&&!!r)&&(!(n>0&&S(t))||n-1 in t)},j=function(t){if(!t||!S(t)||"object"!==(h(n=t)||y(n)?"".concat(n):p.call(n).replace(/^\[object (.+)\]$/,"$1").toLowerCase()))return!1;var n,r,e="constructor",o=t[e],i=o&&o.prototype,u=b.call(t,e),c=i&&b.call(i,"isPrototypeOf");if(o&&!u&&!c)return!1;for(r in t);return h(r)||b.call(t,r)},P=function(t){var n=HTMLElement;return!!t&&(n?o(t,n):t.nodeType===d)},E=function(t){var n=Element;return!!t&&(n?o(t,n):t.nodeType===d)},C=function(t,n,r){return t.indexOf(n,r)},T=function(t,n,r){return!r&&!m(n)&&_(n)?Array.prototype.push.apply(t,n):t.push(n),t},L=function(t){var n=Array.from,r=[];return n&&t?n(t):(o(t,Set)?t.forEach(function(t){T(r,t)}):c(t,function(t){T(r,t)}),r)},k=function(t){return!!t&&0===t.length},A=function(t,n,r){c(t,function(t){return t&&t.apply(void 0,n||[])}),r||(t.length=0)},M=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},N=function(t){return t?Object.keys(t):[]},I=function(t,n,r,e,o,i,u){return("object"!=typeof t||y(t))&&!x(t)&&(t={}),c([n,r,e,o,i,u],function(n){c(N(n),function(r){var e=n[r];if(t===e)return!0;var o=O(e);if(e&&(j(e)||o)){var i=t[r],u=i;o&&!O(i)?u=[]:o||j(i)||(u={}),t[r]=I(u,e)}else t[r]=e})}),t},z=function(t){for(var n in t)return!1;return!0},B=function(t,n,r,e){if(h(e))return r?r[t]:n;r&&(m(e)||g(e))&&(r[t]=e)},Z=function(t,n,r){if(h(r))return t?t.getAttribute(n):null;t&&t.setAttribute(n,r)},X=function(t,n,r,e){if(r){var o=Z(t,n)||"",i=new Set(o.split(" "));i[e?"add":"delete"](r),Z(t,n,L(i).join(" ").trim())}},D=function(t,n,r){var e=Z(t,n)||"";return new Set(e.split(" ")).has(r)},H=function(t,n){t&&t.removeAttribute(n)},F=function(t,n){return B("scrollLeft",0,t,n)},R=function(t,n){return B("scrollTop",0,t,n)},Y=s()&&Element.prototype,K=function(t,n){var r=[],e=n?E(n)?n:null:document;return e?T(r,e.querySelectorAll(t)):r},J=function(t,n){var r=n?E(n)?n:null:document;return r?r.querySelector(t):null},V=function(t,n){return!!E(t)&&(Y.matches||Y.msMatchesSelector).call(t,n)},W=function(t){return t?L(t.childNodes):[]},q=function(t){return t?t.parentElement:null},$=function(t,n){if(E(t)){var r=Y.closest;if(r)return r.call(t,n);do{if(V(t,n))return t;t=q(t)}while(t)}return null},G=function(t,n,r){var e=t&&$(t,n),o=t&&J(r,e),i=$(o,n)===e;return!!e&&!!o&&(e===t||o===t||i&&$($(t,r),n)!==e)},U=function(t,n,r){if(r&&t){var e,o=n;_(r)?(e=document.createDocumentFragment(),c(r,function(t){t===o&&(o=t.previousSibling),e.appendChild(t)})):e=r,n&&(o?o!==n&&(o=o.nextSibling):o=t.firstChild),t.insertBefore(e,o||null)}},Q=function(t,n){U(t,null,n)},tt=function(t,n){U(q(t),t,n)},tn=function(t,n){U(q(t),t&&t.nextSibling,n)},tr=function(t){if(_(t))c(L(t),function(t){return tr(t)});else if(t){var n=q(t);n&&n.removeChild(t)}},te=function(t){var n=document.createElement("div");return t&&Z(n,"class",t),n},to=function(t){var n=te();return n.innerHTML=t.trim(),c(W(n),function(t){return tr(t)})},ti=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},tu=["-webkit-","-moz-","-o-","-ms-"],tc=["WebKit","Moz","O","MS","webkit","moz","o","ms"],ta={},tf={},tl=function(t){var n=tf[t];if(M(tf,t))return n;var r=ti(t),e=te().style;return c(tu,function(o){var i=o.replace(/-/g,"");return!(n=[t,o+t,i+r,ti(i)+r].find(function(t){return void 0!==e[t]}))}),tf[t]=n||""},ts=function(t){if(s()){var n=ta[t]||window[t];return M(ta,t)||(c(tc,function(r){return!(n=n||window[r+ti(t)])}),ta[t]=n),n}},td=ts("MutationObserver"),tv=ts("IntersectionObserver"),tp=ts("ResizeObserver"),tb=ts("cancelAnimationFrame"),th=ts("requestAnimationFrame"),ty=s()&&window.setTimeout,tg=s()&&window.clearTimeout,tm=function(t,n,r,e){if(t&&n){var o=!0;return c(r,function(r){var i=e?e(t[r]):t[r],u=e?e(n[r]):n[r];i!==u&&(o=!1)}),o}return!1},tw=function(t,n){return tm(t,n,["w","h"])},tx=function(t,n){return tm(t,n,["x","y"])},tO=function(t,n){return tm(t,n,["t","r","b","l"])},tS=function(t,n,r){return tm(t,n,["width","height"],r&&function(t){return Math.round(t)})},t_=function(){},tj=function(t){var n,r=t?ty:th,e=t?tg:tb;return[function(o){e(n),n=r(o,x(t)?t():t)},function(){return e(n)}]},tP=function(t,n){var r,e,o,i=t_,u=n||{},c=u.g,a=u.v,f=u.p,l=function(n){i(),tg(r),r=e=void 0,i=t_,t.apply(this,n)},s=function(t){return f&&e?f(e,t):t},d=function(){i!==t_&&l(s(o)||o)},v=function(){var t=L(arguments),n=x(c)?c():c;if(g(n)&&n>=0){var u=x(a)?a():a,f=g(u)&&u>=0,v=n>0?tg:tb,p=s(t)||t,b=l.bind(0,p);i();var h=(n>0?ty:th)(b,n);i=function(){return v(h)},f&&!r&&(r=ty(d,u)),e=o=p}else l(t)};return v.m=d,v},tE=/[^\x20\t\r\n\f]+/g,tC=function(t,n,r){var e,o=t&&t.classList,i=0,u=!1;if(o&&n&&m(n)){var c=n.match(tE)||[];for(u=c.length>0;e=c[i++];)u=!!r(o,e)&&u}return u},tT=function(t,n){tC(t,n,function(t,n){return t.remove(n)})},tL=function(t,n){return tC(t,n,function(t,n){return t.add(n)}),tT.bind(0,t,n)},tk={opacity:1,zindex:1},tA=function(t,n){var r=n?parseFloat(t):parseInt(t,10);return r==r?r:0},tM=function(t,n,r){return null!=n?n[r]||n.getPropertyValue(r):t.style[r]},tN=function(t,n,r){try{var e,o,i=t.style;h(i[n])?i.setProperty(n,r):i[n]=!tk[n.toLowerCase()]&&g(r)?"".concat(r,"px"):r}catch(u){}},tI=function(t){return"rtl"===a(t,"direction")},tz=function(t,n,r){var e=n?"".concat(n,"-"):"",o=r?"-".concat(r):"",i="".concat(e,"top").concat(o),u="".concat(e,"right").concat(o),c="".concat(e,"bottom").concat(o),f="".concat(e,"left").concat(o),l=a(t,[i,u,c,f]);return{t:tA(l[i],!0),r:tA(l[u],!0),b:tA(l[c],!0),l:tA(l[f],!0)}},tB=Math.round,tZ={w:0,h:0},tX=function(t){return t?{w:t.offsetWidth,h:t.offsetHeight}:tZ},tD=function(t){return t?{w:t.clientWidth,h:t.clientHeight}:tZ},tH=function(t){return t?{w:t.scrollWidth,h:t.scrollHeight}:tZ},tF=function(t){var n=parseFloat(a(t,"height"))||0,r=parseFloat(a(t,"width"))||0;return{w:r-tB(r),h:n-tB(n)}},tR=function(t){return t.getBoundingClientRect()},tY=function(){if(h(f)){f=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){f=!0}}))}catch(t){}}return f},tK=function(t){return t.split(" ")},tJ=function(t,n,r,e){c(tK(n),function(n){t.removeEventListener(n,r,e)})},tV=function(t,n,r,e){var o,i=tY(),u=null!=(o=i&&e&&e.S)?o:i,a=e&&e.$||!1,f=e&&e.C||!1,l=[],s=i?{passive:u,capture:a}:a;return c(tK(n),function(n){var e=f?function(o){t.removeEventListener(n,e,a),r&&r(o)}:r;T(l,tJ.bind(null,t,n,e,a)),t.addEventListener(n,e,s)}),A.bind(0,l)},tW=function(t){return t.stopPropagation()},tq=function(t){return t.preventDefault()},t$={x:0,y:0},tG=function(t){var n=t?tR(t):0;return n?{x:n.left+window.pageYOffset,y:n.top+window.pageXOffset}:t$},tU=function(t,n){c(O(n)?n:[n],t)},tQ=function(t){var n=new Map,r=function(t,r){if(t){var e=n.get(t);tU(function(t){e&&e[t?"delete":"clear"](t)},r)}else n.forEach(function(t){t.clear()}),n.clear()},e=function(t,o){if(m(t)){var i=n.get(t)||new Set;return n.set(t,i),tU(function(t){x(t)&&i.add(t)},o),r.bind(0,t,o)}w(o)&&o&&r();var u=N(t),a=[];return c(u,function(n){var r=t[n];r&&T(a,e(n,r))}),A.bind(0,a)},o=function(t,r){c(L(n.get(t)),function(t){r&&!k(r)?t.apply(0,r):t()})};return e(t||{}),[e,r,o]},t0=function(t){return JSON.stringify(t,function(t,n){if(x(n))throw Error();return n})},t1={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"]}},t2=function(t,n){var r={},e=N(n).concat(N(t));return c(e,function(e){var o=t[e],i=n[e];if(S(o)&&S(i))I(r[e]={},t2(o,i)),z(r[e])&&delete r[e];else if(M(n,e)&&i!==o){var u=!0;if(O(o)||O(i))try{t0(o)===t0(i)&&(u=!1)}catch(c){}u&&(r[e]=i)}}),r},t3="os-environment",t7="".concat(t3,"-flexbox-glue"),t8="".concat(t7,"-max"),t5="data-overlayscrollbars",t9="".concat(t5,"-overflow-x"),t6="".concat(t5,"-overflow-y"),t4="overflowVisible",nt="updating",nn="os-viewport",nr="".concat(nn,"-arrange"),ne="".concat(nn,"-scrollbar-hidden"),no="os-overflow-visible",ni="os-size-observer",nu="".concat(ni,"-appear"),nc="".concat(ni,"-listener"),na=("".concat(nc,"-scroll"),"".concat(nc,"-item")),nf=("".concat(na,"-final"),"os-scrollbar"),nl="".concat(nf,"-rtl"),ns="".concat(nf,"-horizontal"),nd="".concat(nf,"-vertical"),nv="".concat(nf,"-track"),np="".concat(nf,"-handle"),nb="".concat(nf,"-visible"),nh="".concat(nf,"-cornerless"),ny="".concat(nf,"-transitionless"),ng="".concat(nf,"-interaction"),nm="".concat(nf,"-unusable"),nw="".concat(nf,"-auto-hidden"),nx="".concat(nf,"-wheel"),nO="".concat(nv,"-interactive"),nS="".concat(np,"-interactive"),n_={},nj=function(){return n_},nP=function(t){var n=[];return c(O(t)?t:[t],function(t){var r=N(t);c(r,function(r){T(n,n_[r]=t[r])})}),n},nE={boolean:"__TPL_boolean_TYPE__",number:"__TPL_number_TYPE__",string:"__TPL_string_TYPE__",array:"__TPL_array_TYPE__",object:"__TPL_object_TYPE__",function:"__TPL_function_TYPE__",null:"__TPL_null_TYPE__"};nE.number,nE.boolean,nE.array,nE.null,nE.number,nE.array,nE.null,nE.function,nE.null,nE.string,nE.null,nE.array,nE.null;var nC,nT="__osScrollbarsHidingPlugin",nL=function(t,n,r,e){Q(t,n);var o=tD(n),i=tX(n),u=tF(r);return e&&tr(n),{x:i.h-o.h+u.h,y:i.w-o.w+u.w}},nk=function(t){var n=!1,r=tL(t,ne);try{n="none"===a(t,tl("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(e){}return r(),n},nA=function(t,n){var r="hidden";a(t,{overflowX:r,overflowY:r,direction:"rtl"}),F(t,0);var e=tG(t),o=tG(n);F(t,-999);var i=tG(n);return{i:e.x===o.x,n:o.x!==i.x}},nM=function(t,n){var r=tL(t,t7),e=tR(t),o=tR(n),i=tS(o,e,!0),u=tL(t,t8),c=tR(t),a=tR(n),f=tS(a,c,!0);return r(),u(),i&&f},nN=function(){var t,n=document.body,r=to(''))[0],e=r.firstChild,o=u(tQ(),3),i=o[0],c=o[2],f=u(l({o:nL(n,r,e),u:tx},nL.bind(0,n,r,e,!0)),2),s=f[0],d=u((0,f[1])(),1)[0],v=nk(r),p={x:0===d.x,y:0===d.y},b={elements:{host:null,padding:!v,viewport:function(t){return v&&t===t.ownerDocument.body&&t},content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},h=I({},t1),y=I.bind(0,{},h),g=I.bind(0,{},b),m={k:d,I:p,A:v,L:"-1"===a(r,"zIndex"),V:nA(r,e),B:nM(r,e),Y:i.bind(0,"z"),j:i.bind(0,"r"),q:g,N:function(t){return I(b,t)&&g()},F:y,G:function(t){return I(h,t)&&y()},X:I({},b),U:I({},h)},w=window.addEventListener,x=tP(function(t){return c(t?"z":"r")},{g:33,v:99});return H(r,"style"),tr(r),w("resize",x.bind(0,!1)),v||p.x&&p.y||w("resize",function(){var n=nj()[nT];(t=t||n&&n.R())&&t(m,s,x.bind(0,!0))}),m},nI=function(){return nC||(nC=nN()),nC},nz=function(t,n){return x(n)?n.apply(0,t):n},nB=function(t,n,r,e){var o=h(e)?r:e;return nz(t,o)||n.apply(0,t)},nZ=function(t,n,r,e){var o=h(e)?r:e,i=nz(t,o);return!!i&&(P(i)?i:n.apply(0,t))},nX=function(t,n,r){var e=r||{},o=e.nativeScrollbarsOverlaid,i=e.body,u=nI(),c=u.I,a=u.A,f=n.nativeScrollbarsOverlaid,l=n.body,s=h(i)?l:i,d=(c.x||c.y)&&(null!=o?o:f),v=t&&(y(s)?!a:s);return!!d||!!v},nD=new WeakMap,nH=function(t,n){nD.set(t,n)},nF=function(t){nD.delete(t)},nR=function(t){return nD.get(t)},nY=function(t,n){return t?n.split(".").reduce(function(t,n){return t&&M(t,n)?t[n]:void 0},t):void 0},nK=function(t,n,r){return function(e){return[nY(t,e),r||void 0!==nY(n,e)]}},nJ=function(t){var n=t;return[function(){return n},function(t){n=I({},n,t)}]},nV="tabindex",nW=te.bind(0,""),nq=function(t){Q(q(t),W(t)),tr(t)},n$=function(t){var n=nI(),r=n.q,e=n.A,o=nj()[nT],i=o&&o.T,u=r().elements,c=u.host,a=u.padding,f=u.viewport,l=u.content,s=P(t),d=s?{}:t,v=d.elements||{},p=v.host,b=v.padding,h=v.viewport,y=v.content,g=s?t:d.target,m=V(g,"textarea"),w=g.ownerDocument,x=w.documentElement,O=g===w.body,S=w.defaultView,_=nB.bind(0,[g]),j=nZ.bind(0,[g]),E=nz.bind(0,[g]),L=_.bind(0,nW,f),k=j.bind(0,nW,l),M=L(h),I=M===g,z=I&&O,B=!I&&k(y),F=!I&&P(M)&&M===B,R=F&&!!E(l),Y=R?L():M,K=R?B:k(),J=F?Y:M,$=w.activeElement,G=!I&&S.top===S&&$===g,U={W:g,Z:m?_(nW,c,p):g,J:J,K:!I&&j(nW,a,b),tt:F?K:B,nt:!I&&!e&&i&&i(n),ot:z?x:J,st:z?w:J,et:S,ct:w,rt:m,it:O,lt:s,ut:I,dt:F,ft:function(t,n){var r,e;return I?D(J,t5,n):tC(J,t,function(t,n){return t.contains(n)})},_t:function(t,n,r){return I?X(J,t5,n,r):(r?tL:tT)(J,t)}},te=N(U).reduce(function(t,n){var r=U[n];return T(t,!!r&&!q(r)&&r)},[]),to=function(t){return t?C(te,t)>-1:null},ti=U.W,tu=U.Z,tc=U.K,ta=U.J,tf=U.tt,tl=U.nt,ts=[function(){H(tu,t5),O&&H(x,t5)}],td=m&&to(tu),tv=m?ti:W([tf,ta,tc,tu,ti].find(function(t){return!1===to(t)})),tp=tf||ta;return[U,function(){Z(tu,t5,I?"viewport":"host");var t=tL(tc,"os-padding"),n=tL(ta,!I&&nn),r=tL(tf,"os-content"),o=O?tL(q(g),ne):t_;if(td&&(tn(ti,tu),T(ts,function(){tn(tu,ti),tr(tu)})),Q(tp,tv),Q(tu,tc),Q(tc||tu,!I&&ta),Q(ta,tf),T(ts,function(){o(),H(ta,t9),H(ta,t6),to(tf)&&nq(tf),to(ta)&&nq(ta),to(tc)&&nq(tc),t(),n(),r()}),e&&!I&&T(ts,tT.bind(0,ta,ne)),tl&&(tt(ta,tl),T(ts,tr.bind(0,tl))),G){var i=Z(ta,nV);Z(ta,nV,"-1"),ta.focus();var u=function(){return i?Z(ta,nV,i):H(ta,nV)},c=tV(w,"pointerdown keydown",function(){u(),c()});T(ts,[u,c])}else $&&$.focus&&$.focus();tv=0},A.bind(0,ts)]},nG=function(t,n){var r=t.tt,e=u(n,1)[0];return function(t){var n=nI().B,o=e().ht,i=t.gt,u=(r||!n)&&i;return u&&a(r,{height:o?"":"100%"}),{vt:u,wt:u}}},nU=function(t,n){var r=u(n,2),e=r[0],o=r[1],i=t.Z,c=t.K,f=t.J,s=t.ut,d=u(l({u:tO,o:tz()},tz.bind(0,i,"padding","")),2),v=d[0],p=d[1];return function(t,n,r){var i,l=u(p(r),2),d=l[0],b=l[1],h=nI(),y=h.A,g=h.B,m=e().bt,w=t.vt,x=t.wt,O=t.yt,S=u(n("paddingAbsolute"),2),_=S[0],j=S[1];(w||b||!g&&x)&&(d=(i=u(v(r),2))[0],b=i[1]);var P=!s&&(j||O||b);if(P){var E=!_||!c&&!y,C=d.r+d.l,T=d.t+d.b,L={marginRight:E&&!m?-C:0,marginBottom:E?-T:0,marginLeft:E&&m?-C:0,top:E?-d.t:0,right:E?m?-d.r:"auto":0,left:E?m?"auto":-d.l:0,width:E?"calc(100% + ".concat(C,"px)"):""},k={paddingTop:E?d.t:0,paddingRight:E?d.r:0,paddingBottom:E?d.b:0,paddingLeft:E?d.l:0};a(c||f,L),a(f,k),o({K:d,St:!E,M:c?k:I({},L,k)})}return{xt:P}}},nQ=Math.max,n0=nQ.bind(0,0),n1="visible",n2="hidden",n3={u:tw,o:{w:0,h:0}},n7={u:tx,o:{x:n2,y:n2}},n8=function(t,n){var r=window.devicePixelRatio%1!=0?1:0,e={w:n0(t.w-n.w),h:n0(t.h-n.h)};return{w:e.w>r?e.w:0,h:e.h>r?e.h:0}},n5=function(t,n,r){return r?tL(t,n):tT(t,n)},n9=function(t){return 0===t.indexOf(n1)},n6=function(t,n){var r=u(n,2),e=r[0],o=r[1],i=t.Z,c=t.K,f=t.J,s=t.nt,d=t.ut,v=t._t,p=t.it,b=t.et,h=nI(),y=h.k,g=h.B,m=h.A,w=h.I,x=nj()[nT],O=!d&&!m&&(w.x||w.y),S=p&&d,_=u(l(n3,tF.bind(0,f)),2),j=_[0],P=_[1],E=u(l(n3,tH.bind(0,f)),2),C=E[0],T=E[1],L=u(l(n3),2),k=L[0],A=L[1],M=u(l(n3),2),N=M[0],I=M[1],z=u(l(n7),1)[0],B=function(t,n){if(a(f,{height:""}),n){var r=e(),o=r.St,u=r.K,c=t.$t,l=t.P,s=tF(i),d=tD(i),v="content-box"===a(f,"boxSizing"),p=o||v?u.b+u.t:0,b=!(w.x&&v);a(f,{height:d.h+s.h+(c.x&&b?l.x:0)-p})}},D=function(t,n){var r,e=m||t?0:42,o=function(t,r,o){var i=a(f,t),u=(n?n[t]:i)==="scroll";return[i,u,u&&!m?r?e:o:0,r&&!!e]},i=u(o("overflowX",w.x,y.x),4),c=i[0],l=i[1],s=i[2],d=i[3],v=u(o("overflowY",w.y,y.y),4),p=v[0],b=v[1];return{Ct:{x:c,y:p},$t:{x:l,y:b},P:{x:s,y:v[2]},D:{x:d,y:v[3]}}},H=function(t,n,r,e){var o=function(t,n){var r=n9(t),e=n&&r&&t.replace("".concat(n1,"-"),"")||"";return[n&&!r?t:"",n9(e)?"hidden":e]},i=u(o(r.x,n.x),2),c=i[0],a=i[1],f=u(o(r.y,n.y),2),l=f[0],s=f[1];return e.overflowX=a&&l?a:c,e.overflowY=s&&c?s:l,D(t,e)},F=function(t,n,r,o){var i=t.P,u=t.D,c=u.x,a=u.y,f=i.x,l=i.y,s=e().M,d=n?"marginLeft":"marginRight",v=n?"paddingLeft":"paddingRight",p=s[d],b=s.marginBottom,h=s[v],y=s.paddingBottom;o.width="calc(100% + ".concat(l+-1*p,"px)"),o[d]=-l+p,o.marginBottom=-f+b,r&&(o[v]=h+(a?l:0),o.paddingBottom=y+(c?f:0))},R=u(x?x.H(O,g,f,s,e,D,F):[function(){return O},function(){return[t_]}],2),Y=R[0],K=R[1];return function(t,n,r){var l,s=t.vt,p=t.Ot,h=t.wt,y=t.xt,x=t.gt,O=t.yt,_=e(),E=_.ht,L=_.bt,M=u(n("showNativeOverlaidScrollbars"),2),R=M[0],J=M[1],V=u(n("overflow"),2),W=V[0],q=V[1],$=R&&w.x&&w.y,G=!d&&!g&&(s||h||p||J||x),U=n9(W.x),Q=n9(W.y),tt=U||Q,tn=P(r),tr=T(r),te=A(r),to=I(r);if(J&&m&&v(ne,"scrollbarHidden",!$),G&&(l=D($),B(l,E)),s||y||h||O||J){tt&&v(no,t4,!1);var ti=u(K($,L,l),2),tu=ti[0],tc=ti[1],ta=u(tn=j(r),2),tf=ta[0],tl=ta[1],ts=u(tr=C(r),2),td=ts[0],tv=ts[1],tp=tD(f),tb=td,th=tp;tu(),(tv||tl||J)&&tc&&!$&&Y(tc,td,tf,L)&&(th=tD(f),tb=tH(f));var ty={w:n0(nQ(td.w,tb.w)+tf.w),h:n0(nQ(td.h,tb.h)+tf.h)},tg={w:n0((S?b.innerWidth:th.w+n0(tp.w-td.w))+tf.w),h:n0((S?b.innerHeight+tf.h:th.h+n0(tp.h-td.h))+tf.h)};to=N(tg),te=k(n8(ty,tg),r)}var tm=u(to,2),tw=tm[0],tx=tm[1],tO=u(te,2),tS=tO[0],t_=tO[1],tj=u(tr,2),tP=tj[0],tE=tj[1],tC=u(tn,2),tT=tC[0],tL=tC[1],tk={x:tS.w>0,y:tS.h>0},tA=U&&Q&&(tk.x||tk.y)||U&&tk.x&&!tk.y||Q&&tk.y&&!tk.x;if(y||O||tL||tE||tx||t_||q||J||G){var tM={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},tN=H($,tk,W,tM),tI=Y(tN,tP,tT,L);d||F(tN,L,tI,tM),G&&B(tN,E),d?(Z(i,t9,tM.overflowX),Z(i,t6,tM.overflowY)):a(f,tM)}X(i,t5,t4,tA),n5(c,no,tA),d||n5(f,no,tt);var tz=u(z(D($).Ct),2),tB=tz[0],tZ=tz[1];return o({Ct:tB,zt:{x:tw.w,y:tw.h},Tt:{x:tS.w,y:tS.h},Et:tk}),{At:tZ,It:tx,Lt:t_}}},n4=function(t,n,r){var e={},o=n||{},i=N(t).concat(N(o));return c(i,function(n){var i=t[n],u=o[n];e[n]=!!(r||i||u)}),e},rt=function(t,n){var r=t.W,e=t.J,o=t._t,i=t.ut,u=nI(),a=u.A,f=u.I,l=u.B,s=!a&&(f.x||f.y),d=[nG(t,n),nU(t,n),n6(t,n)];return function(t,n,u){var a=n4(I({vt:!1,xt:!1,yt:!1,gt:!1,It:!1,Lt:!1,At:!1,Ot:!1,wt:!1},n),{},u),f=s||!l,v=f&&F(e),p=f&&R(e);o("",nt,!0);var b=a;return c(d,function(n){b=n4(b,n(b,t,!!u)||{},u)}),F(e,v),R(e,p),o("",nt),i||(F(r,0),R(r,0)),b}},rn=function(t,n,r){var e,o=!1,i=function(){o=!0},a=function(i){if(r){var a=r.reduce(function(n,r){if(r){var e=u(r,2),o=e[0],c=e[1],a=c&&o&&(i?i(o):K(o,t));a&&a.length&&c&&m(c)&&T(n,[a,c.trim()],!0)}return n},[]);c(a,function(r){return c(r[0],function(i){var u=r[1],c=e.get(i)||[];if(t.contains(i)){var a=tV(i,u,function(t){o?(a(),e.delete(i)):n(t)});e.set(i,T(c,a))}else A(c),e.delete(i)})})}};return r&&(e=new WeakMap,a()),[i,a]},rr=function(t,n,r,e){var o=!1,i=e||{},a=i.Ht,f=i.Mt,l=i.Pt,s=i.Dt,d=i.Rt,v=i.kt,p=tP(function(){o&&r(!0)},{g:33,v:99}),b=u(rn(t,p,l),2),h=b[0],y=b[1],g=f||[],w=(a||[]).concat(g),x=function(o,i){var u=d||t_,a=v||t_,f=new Set,l=new Set,p=!1,b=!1;if(c(o,function(r){var o=r.attributeName,i=r.target,d=r.type,v=r.oldValue,h=r.addedNodes,y=r.removedNodes,w="attributes"===d,x=t===i,O=w&&m(o)?Z(i,o):0,S=0!==O&&v!==O,_=C(g,o)>-1&&S;if(n&&("childList"===d||!x)){var j=w&&S,P=j&&s&&V(i,s),E=(P?!u(i,o,v,O):!w||j)&&!a(r,!!P,t,e);c(h,function(t){return f.add(t)}),c(y,function(t){return f.add(t)}),b=b||E}!n&&x&&S&&!u(i,o,v,O)&&(l.add(o),p=p||_)}),f.size>0&&y(function(t){return L(f).reduce(function(n,r){return T(n,K(t,r)),V(r,t)?T(n,r):n},[])}),n)return!i&&b&&r(!1),[!1];if(l.size>0||p){var h=[L(l),p];return i||r.apply(0,h),h}},O=new td(function(t){return x(t)});return O.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:w,subtree:n,childList:n,characterData:n}),o=!0,[function(){o&&(h(),O.disconnect(),o=!1)},function(){if(o){p.m();var t=O.takeRecords();return!k(t)&&x(t,!0)}}]},re=function(t){return t&&(t.height||t.width)},ro=function(t,n,r){var e=r||{},o=e.Vt,i=void 0!==o&&o,c=e.Bt,a=void 0!==c&&c,f=nj().__osSizeObserverPlugin,s=nI().V,d=to(''))[0],v=d.firstChild,p=tI.bind(0,t),b=u(l({o:void 0,_:!0,u:function(t,n){return!(!t||!re(t)&&re(n))}}),1)[0],h=function(t){var r,e=O(t)&&t.length>0&&S(t[0]),o=!e&&w(t[0]),c=!1,a=!1,f=!0;if(e){var l=u(b(t.pop().contentRect),3),v=l[0],p=l[2],h=re(v),y=re(p);c=!p||!h,a=!y&&h,f=!c}else o?f=u(t,2)[1]:a=!0===t;if(i&&f){var g=o?t[0]:tI(d);F(d,g?s.n?-3333333:s.i?0:3333333:3333333),R(d,3333333)}c||n({vt:!o,Yt:o?t:void 0,Bt:!!a})},y=[],g=!!a&&h;return[function(){A(y),tr(d)},function(){if(tp){var n=new tp(h);n.observe(v),T(y,function(){n.disconnect()})}else if(f){var r=u(f.O(v,h,a),2),e=r[0],o=r[1];g=e,T(y,o)}if(i){var c=u(l({o:!p()},p),1)[0];T(y,tV(d,"scroll",function(t){var n=c(),r=u(n,2),e=r[0];r[1]&&(tT(v,"ltr rtl"),e?tL(v,"rtl"):tL(v,"ltr"),h(n)),tW(t)}))}g&&(tL(d,nu),T(y,tV(d,"animationstart",g,{C:!!tp}))),(tp||f)&&Q(t,d)}]},ri=function(t,n){var r,e=te("os-trinsic-observer"),o=[],i=u(l({o:!1}),1)[0],c=function(t,r){if(t){var e,o=i(0===t.h||t.isIntersecting||t.intersectionRatio>0);if(u(o,2)[1])return r||n(o),[o]}},a=function(t,n){if(t&&t.length>0)return c(t.pop(),n)};return[function(){A(o),tr(e)},function(){if(tv)(r=new tv(function(t){return a(t)},{root:t})).observe(e),T(o,function(){r.disconnect()});else{var n=function(){var t=tX(e);c(t)},i=u(ro(e,n),2),f=i[0],l=i[1];T(o,f),l(),n()}Q(t,e)},function(){if(r)return a(r.takeRecords(),!0)}]},ru="[".concat(t5,"]"),rc=".".concat(nn),ra=["tabindex"],rf=["wrap","cols","rows"],rl=["id","class","style","open"],rs=function(t,n,r){var e,o,i,a=t.Z,f=t.J,s=t.tt,d=t.rt,v=t.ut,p=t.ft,b=t._t,h=nI().B,y=u(l({u:tw,o:{w:0,h:0}},function(){var t=p(no,t4),n=p(nr,""),r=n&&F(f),e=n&&R(f);b(no,t4),b(nr,""),b("",nt,!0);var o=tH(s),i=tH(f),u=tF(f);return b(no,t4,t),b(nr,"",n),b("",nt),F(f,r),R(f,e),{w:i.w+o.w+u.w,h:i.h+o.h+u.h}}),1)[0],w=d?rf:rl.concat(rf),S=tP(r,{g:function(){return e},v:function(){return o},p:function(t,n){var r=u(t,1)[0],e=u(n,1)[0];return[N(r).concat(N(e)).reduce(function(t,n){return t[n]=r[n]||e[n],t},{})]}}),_=function(t){c(t||ra,function(t){if(C(ra,t)>-1){var n=Z(a,t);m(n)?Z(f,t,n):H(f,t)}})},j=function(t,e){var o=u(t,2),i=o[0],c={gt:o[1]};return n({ht:i}),e||r(c),c},P=function(t){var e=t.vt,o=t.Yt,i=t.Bt,c=!1;if(o){var a=u(o,2),f=a[0];c=a[1],n({bt:f})}(!e||i?r:S)({vt:e,yt:c})},E=function(t,n){var e=u(y(),2)[1],o={wt:e};return e&&!n&&(t?r:S)(o),o},L=function(t,n,r){var e={Ot:n};return n?r||S(e):v||_(t),e},k=u(s||!h?ri(a,j):[t_,t_,t_],3),A=k[0],M=k[1],z=k[2],B=u(v?[t_,t_]:ro(a,P,{Bt:!0,Vt:!0}),2),X=B[0],D=B[1],Y=u(rr(a,!1,L,{Mt:rl,Ht:rl.concat(ra)}),2),K=Y[0],J=Y[1],V=v&&tp&&new tp(P.bind(0,{vt:!0}));return V&&V.observe(a),_(),[function(){A(),X(),i&&i[0](),V&&V.disconnect(),K()},function(){D(),M()},function(){var t={},n=J(),r=z(),e=i&&i[1]();return n&&I(t,L.apply(0,T(n,!0))),r&&I(t,j.apply(0,T(r,!0))),e&&I(t,E.apply(0,T(e,!0))),t},function(t){var n=u(t("update.ignoreMutation"),1)[0],r=u(t("update.attributes"),2),c=r[0],a=r[1],l=u(t("update.elementEvents"),2),d=l[0],p=l[1],b=u(t("update.debounce"),2),h=b[0],y=b[1];if((p||a)&&(i&&(i[1](),i[0]()),i=rr(s||f,!0,E,{Ht:w.concat(c||[]),Pt:d,Dt:ru,kt:function(t,r){var e,o=t.target,i=t.attributeName;return!r&&!!i&&!v&&G(o,ru,rc)||!!$(o,".".concat(nf))||!!(x(n)&&n(t))}})),y){if(S.m(),O(h)){var m=h[0],_=h[1];e=g(m)&&m,o=g(_)&&_}else g(h)?(e=h,o=!1):(e=!1,o=!1)}}]},rd={x:0,y:0},rv={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:rd,Tt:rd,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:!1},rp=function(t,n){var r=nK(n,{}),e=nJ(rv),o=u(tQ(),3),i=o[0],c=o[1],a=o[2],f=u(e,2),l=f[0],s=f[1],d=u(n$(t),3),v=d[0],p=d[1],b=d[2],h=rt(v,e),y=function(t,n,r){var e=N(t).some(function(n){return t[n]})||!z(n)||r;return e&&a("u",[t,n,r]),e},g=u(rs(v,s,function(t){return y(h(r,t),{},!1)}),4),m=g[0],w=g[1],x=g[2],O=g[3],S=l.bind(0);return S.jt=function(t){return i("u",t)},S.qt=function(){var t=v.W,n=v.J,r=F(t),e=R(t);w(),p(),F(n,r),R(n,e)},S.Nt=v,[function(t,r){var e=nK(n,t,r);return O(e),y(h(e,x(),r),t,!!r)},S,function(){c(),m(),b()}]},rb=Math.round,rh=function(t){var n=tR(t),r=n.width,e=n.height,o=tX(t),i=o.w,u=o.h;return{x:rb(r)/i||1,y:rb(e)/u||1}},ry=function(t,n,r){var e=n.scrollbars,o=t.button,i=t.isPrimary,u=t.pointerType,c=e.pointers;return 0===o&&i&&e[r?"dragScroll":"clickScroll"]&&(c||[]).includes(u)},rg=function(t,n,r,e,o,i){var u=nI().V,c=r.Ft,a=r.Gt,f=r.Xt,l="scroll".concat(i?"Left":"Top"),s="client".concat(i?"X":"Y"),d=i?"width":"height",v=i?"left":"top",p=i?"w":"h",b=i?"x":"y";return tV(a,"pointerdown",function(r){var h=$(r.target,".".concat(np))===c;if(ry(r,t,h)){var y,g,m=!h&&r.shiftKey,w=function(){return tR(c)},x=function(){return tR(a)},O=function(t,n){return(t||w())[v]-(n||x())[v]},S=(y=e[l]||0,g=1/rh(e)[b],function(t){var n=o().Tt,r=tX(a)[p]-tX(c)[p],s=g*t/r*n[b],d=tI(f)&&i?u.n||u.i?1:-1:1;e[l]=y+s*d}),_=r[s],j=w(),P=x(),E=j[d],C=O(j,P)+E/2,L=_-P[v],k=h?0:L-C,M=[tV(n,"selectstart",function(t){return tq(t)},{S:!1}),tV(a,"pointermove",function(t){var n=t[s]-_;(h||m)&&S(k+n)})];if(m)S(k);else if(!h){var N=nj().__osClickScrollPlugin;N&&T(M,N.O(S,O,k,E,L))}tV(a,"pointerup",function(t){A(M),a.releasePointerCapture(t.pointerId)},{C:!0}),a.setPointerCapture(r.pointerId)}})},rm=Math.min,rw=Math.max,rx=Math.abs,rO=Math.round,rS=function(t,n,r,e){if(e){var o=r?"x":"y",i=e.Tt,u=e.zt[o];return rw(0,rm(1,u/(u+i[o])))}var c=r?"w":"h",a=tX(t)[c],f=tX(n)[c];return rw(0,rm(1,a/f))},r_=function(t,n,r,e,o,i){var u=nI().V,c=rO(e.Tt[i?"x":"y"]),a=rx(r["scroll".concat(i?"Left":"Top")]),f=u.i?a:c-a,l=rm(1,(i&&o?f:a)/c),s=rS(t,n,i);return 1/s*(1-s)*l},rj=function(t,n,r){var o=(0,nI().q)().scrollbars.slot,i=n.ct,f=n.W,l=n.Z,s=n.J,d=n.lt,v=n.ot,p=nZ([f,l,s],function(){return l},o,((d?{}:t).scrollbars||{}).slot),b=function(t,n,r){var e=r?tL:tT;c(t,function(t){e(t.Xt,n)})},h=function(t,n){c(t,function(t){var r,e=u(n(t),2);a(e[0],e[1])})},y=function(t,n,r){h(t,function(t){var o=t.Ft,i=t.Gt;return[o,(0,e.Z)({},r?"width":"height","".concat((100*rS(o,i,r,n)).toFixed(3),"%"))]})},g=function(t,n,r){var e=r?"X":"Y";h(t,function(t){var o,i=t.Ft,u=r_(i,t.Gt,v,n,tI(t.Xt),r);return[i,{transform:u==u?"translate".concat(e,"(").concat((100*u).toFixed(3),"%)"):""}]})},m=[],x=[],O=[],S=function(t,n,r){var e=w(r);(!e||r)&&b(x,t,n),e&&r||b(O,t,n)},_=function(t){y(x,t,!0),y(O,t)},j=function(t){g(x,t,!0),g(O,t)},P=function(t){var n=t?x:O,e=k(n)?ny:"",o=te("".concat(nf," ").concat(t?ns:nd," ").concat(e)),u=te(nv),c=te(np),a={Xt:o,Gt:u,Ft:c};return Q(o,u),Q(u,c),T(n,a),T(m,[tr.bind(0,o),r(a,S,i,l,v,t)]),a},E=P.bind(0,!0),C=P.bind(0,!1),L=function(){Q(p,x[0].Xt),Q(p,O[0].Xt),ty(function(){S(ny)},300)};return E(),C(),[{Ut:_,Wt:j,Zt:S,Jt:{Kt:x,Qt:E,tn:h.bind(0,x)},nn:{Kt:O,Qt:C,tn:h.bind(0,O)}},L,A.bind(0,m)]},rP=function(t,n,r,e){var o,i,c,a,f,l,s,d=0,v=nJ({}),p=u(v,1)[0],b=u(tj(),2),h=b[0],y=b[1],g=u(tj(),2),m=g[0],w=g[1],x=u(tj(100),2),O=x[0],S=x[1],_=u(tj(100),2),j=_[0],P=_[1],E=u(tj(function(){return d}),2),C=E[0],T=E[1],L=u(rj(t,r.Nt,function(t,e,o,i,c,a){var f,l,s=t.Xt,d=u(tj(333),2),v=d[0],p=d[1],b=!!c.scrollBy,h=!0;return A.bind(0,[tV(s,"pointerenter",function(){e(ng,!0)}),tV(s,"pointerleave pointercancel",function(){e(ng)}),tV(s,"wheel",function(t){var n=t.deltaX,r=t.deltaY,o=t.deltaMode;b&&h&&0===o&&q(s)===i&&c.scrollBy({left:n,top:r,behavior:"smooth"}),h=!1,e(nx,!0),v(function(){h=!0,e(nx)}),tq(t)},{S:!1,$:!0}),tV(s,"mousedown",tV.bind(0,o,"click",tW,{C:!0,$:!0}),{$:!0}),rg(n,o,t,c,r,a),p])}),3),k=L[0],M=L[1],N=L[2],I=r.Nt,z=I.Z,B=I.J,Z=I.ot,X=I.st,D=I.ut,H=I.it,Y=k.Jt,K=k.nn,J=k.Zt,V=k.Ut,W=k.Wt,$=Y.tn,G=K.tn,U=function(t){var n=t.Xt,r=D&&!H&&q(n)===B&&n;return[r,{transform:r?"translate(".concat(F(Z),"px, ").concat(R(Z),"px)"):""}]},Q=function(t,n){if(T(),t)J(nw);else{var r=function(){return J(nw,!0)};d>0&&!n?C(r):r()}},tt=function(){(l=a)&&Q(!0)},tn=[S,T,P,w,y,N,tV(z,"pointerover",tt,{C:!0}),tV(z,"pointerenter",tt),tV(z,"pointerleave",function(){l=!1,a&&Q(!1)}),tV(z,"pointermove",function(){c&&h(function(){S(),Q(!0),j(function(){c&&Q(!1)})})}),tV(X,"scroll",function(t){m(function(){W(r()),f&&Q(!0),O(function(){f&&!l&&Q(!1)})}),e(t),D&&$(U),D&&G(U)})],tr=p.bind(0);return tr.Nt=k,tr.qt=M,[function(t,e,o){var i=o.It,l=o.Lt,v=o.At,p=o.yt,b=nK(n,t,e),h=r(),y=h.Tt,g=h.Ct,m=h.bt,w=u(b("scrollbars.theme"),2),x=w[0],O=w[1],S=u(b("scrollbars.visibility"),2),_=S[0],j=S[1],P=u(b("scrollbars.autoHide"),2),E=P[0],C=P[1],T=u(b("scrollbars.autoHideDelay"),1)[0],L=u(b("scrollbars.dragScroll"),2),k=L[0],A=L[1],M=u(b("scrollbars.clickScroll"),2),N=M[0],I=M[1],z=function(t,n){var r="visible"===_||"auto"===_&&"scroll"===t;return J(nb,r,n),r};if(d=T,O&&(J(s),J(x,!0),s=x),C&&(c="move"===E,a="leave"===E,Q(!(f="never"!==E),!0)),A&&J(nS,k),I&&J(nO,N),v||j||e){var B=z(g.x,!0),Z=z(g.y,!1);J(nh,!(B&&Z))}(i||l||p||e)&&(V(h),W(h),J(nm,!y.x,!0),J(nm,!y.y,!1),J(nl,m&&!H))},tr,A.bind(0,tn)]},rE=function(t,n,r){x(t)&&t(n||void 0,r||void 0)},rC=function(t,n,r){var e=nI(),o=e.F,i=e.q,a=e.Y,f=e.j,l=nj(),s=P(t),d=s?t:t.target,v=nR(d);if(n&&!v){var p=!1,b=function(t){var n=nj().__osOptionsValidationPlugin,r=n&&n.O;return r?r(t,!0):t},h=I({},o(),b(n)),y=u(tQ(r),3),g=y[0],m=y[1],w=y[2],x=u(rp(t,h),3),O=x[0],S=x[1],_=x[2],j=u(rP(t,h,S,function(t){return w("scroll",[Z,t])}),3),E=j[0],C=j[1],T=j[2],L=function(t,n){return O(t,!!n)},k=L.bind(0,{},!0),A=a(k),M=f(k),B=function(t){nF(d),A(),M(),T(),_(),p=!0,w("destroyed",[Z,!!t]),m()},Z={options:function(t,n){if(t){var r=n?o():{},e=t2(h,I(r,b(t)));z(e)||(I(h,e),L(e))}return I({},h)},on:g,off:function(t,n){t&&n&&m(t,n)},state:function(){var t,n=S(),r=n.zt,e=n.Tt,o=n.Ct,i=n.Et,u=n.K;return I({},{overflowEdge:r,overflowAmount:e,overflowStyle:o,hasOverflow:i,padding:u,paddingAbsolute:n.St,directionRTL:n.bt,destroyed:p})},elements:function(){var t=S.Nt,n=t.W,r=t.Z,e=t.K,o=t.J,i=t.tt,u=t.ot,c=t.st,a=C.Nt,f=a.Jt,l=a.nn,s=function(t){var n=t.Ft,r=t.Gt;return{scrollbar:t.Xt,track:r,handle:n}},d=function(t){var n=t.Kt,r=t.Qt,e=s(n[0]);return I({},e,{clone:function(){var t=s(r());return E({},!0,{}),t}})};return I({},{target:n,host:r,padding:e||o,viewport:o,content:i||o,scrollOffsetElement:u,scrollEventElement:c,scrollbarHorizontal:d(f),scrollbarVertical:d(l)})},update:function(t){return L({},t)},destroy:B.bind(0)};return S.jt(function(t,n,r){E(n,r,t)}),nH(d,Z),c(N(l),function(t){return rE(l[t],0,Z)}),nX(S.Nt.it,i().cancel,!s&&t.cancel)?(B(!0),Z):(S.qt(),C.qt(),w("initialized",[Z]),S.jt(function(t,n,r){var e,o=t.vt,i=t.yt,u=t.gt,c=t.It,a=t.Lt,f=t.At;w("updated",[Z,{updateHints:{sizeChanged:o,directionChanged:i,heightIntrinsicChanged:u,overflowEdgeChanged:c,overflowAmountChanged:a,overflowStyleChanged:f,contentMutation:t.wt,hostMutation:t.Ot},changedOptions:n,force:r}])}),Z.update(!0),Z)}return v};rC.plugin=function(t){c(nP(t),function(t){return rE(t,rC)})},rC.valid=function(t){var n=t&&t.elements,r=x(n)&&n();return j(r)&&!!nR(r.target)},rC.env=function(){var t,n=nI(),r=n.k,e=n.I,o=n.A,i=n.V,u=n.B,c=n.L,a=n.X,f=n.U,l=n.q,s=n.N;return I({},{scrollbarsSize:r,scrollbarsOverlaid:e,scrollbarsHiding:o,rtlScrollBehavior:i,flexboxGlue:u,cssCustomProperties:c,staticDefaultInitialization:a,staticDefaultOptions:f,getDefaultInitialization:l,setDefaultInitialization:s,getDefaultOptions:n.F,setDefaultOptions:n.G})};/*!
+ * OverlayScrollbars
+ * Version: 2.0.0-beta.3
+ *
+ * Copyright (c) Rene Haas | KingSora.
+ * https://github.com/KingSora
+ *
+ * Released under the MIT license.
+ */ },3022:function(t,n,r){"use strict";r.r(n),r.d(n,{default:function(){return h}});var e=r(5034),o=r(169),i=r(1373),u=r(4246),c=function(t){var n=t.id,r=t.tag,o=(0,i.Z)(t,["id","tag"]);return n?(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(r,(0,e.Z)({},o))}):(0,u.jsx)(r,(0,e.Z)({},o))},a=r(2581),f=r(7378),l=function(t){var n=t.children,r=(0,f.useRef)(null);return(0,f.useEffect)(function(){if(r.current){var t=(0,a.a)(r.current,{paddingAbsolute:!0,scrollbars:{autoHide:"leave"}});return function(){return t.destroy()}}}),(0,u.jsx)("pre",{ref:r,children:n})};r(2586),r(2431),r(7733);var s=r(8038),d=r.n(s),v=r(1670),p={src:"/OverlayScrollbars/_next/static/media/favicon.7b344e85.ico",height:256,width:256},b=function(t,n){return(0,u.jsx)(c,(0,o.Z)((0,e.Z)({},t),{tag:n}))},h=function(t){var n=t.Component,r=t.pageProps;return(0,f.useEffect)(function(){var t=(0,a.a)(document.body,{});window.osBody=t},[]),(0,u.jsx)(v.Zo,{components:{h1:function(t){return b(t,"h1")},h2:function(t){return b(t,"h2")},h3:function(t){return b(t,"h3")},h4:function(t){return b(t,"h4")},h5:function(t){return b(t,"h5")},h6:function(t){return b(t,"h6")},pre:l},children:(0,u.jsxs)("div",{className:"font-sans font-normal text-primary-dark",children:[(0,u.jsxs)(d(),{children:[(0,u.jsx)("title",{children:"OverlayScrollbars"},"title"),(0,u.jsx)("meta",{name:"description",content:"A javascript scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling."},"description"),(0,u.jsx)("link",{rel:"icon",href:p.src}),(0,u.jsx)("link",{rel:"shortcut icon",type:"image/x-icon",href:p.src}),(0,u.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,u.jsx)("meta",{name:"theme-color",content:"#36befd"}),(0,u.jsx)("meta",{name:"msapplication-TileColor",content:"#36befd"}),(0,u.jsx)("meta",{name:"msapplication-navbutton-color",content:"#36befd"}),(0,u.jsx)("meta",{name:"application-name",content:"OverlayScrollbars"}),(0,u.jsx)("meta",{name:"msapplication-tooltip",content:"OverlayScrollbars"}),(0,u.jsx)("meta",{name:"apple-mobile-web-app-title",content:"OverlayScrollbars"}),(0,u.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org","@type":"SoftwareSourceCode",url:"https://kingsora.github.io/OverlayScrollbars",name:"OverlayScrollbars",description:"A javascript scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",license:"https://en.wikipedia.org/wiki/MIT_License",keywords:"js,javascript,typescript,overlayscrollbars,overlay,scrollbars,custom,scrollbar,plugin,react,vue,angular,treeshaking",isAccessibleForFree:!0,image:"https://raw.githubusercontent.com/KingSora/OverlayScrollbars/master/logo/logo.png",codeRepository:"https://github.com/KingSora/OverlayScrollbars",runtimePlatform:"browser",maintainer:{"@type":"Person",name:"Rene Haas",additionalName:"KingSora",url:"https://github.com/KingSora"},programmingLanguage:{"@type":"ComputerLanguage",name:"javascript",alternateName:"js"}})}})]}),(0,u.jsx)(n,(0,e.Z)({},r))]})})}},7733:function(){},2431:function(){},2586:function(){},8038:function(t,n,r){t.exports=r(555)},1670:function(t,n,r){"use strict";r.d(n,{Zo:function(){return c},ah:function(){return i}});var e=r(7378);let o=e.createContext({});function i(t){let n=e.useContext(o);return e.useMemo(()=>"function"==typeof t?t(n):{...n,...t},[n,t])}let u={};function c({components:t,children:n,disableParentContext:r}){let c=i(t);return r&&(c=t||u),e.createElement(o.Provider,{value:c},n)}},7599:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,{Z:function(){return e}})},5034:function(t,n,r){"use strict";r.d(n,{Z:function(){return o}});var e=r(7599);function o(t){for(var n=1;n=0||(o[r]=t[r]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(e=0;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(n,{Z:function(){return e}})}},function(t){var n=function(n){return t(t.s=n)};t.O(0,[774,179],function(){return n(8936),n(5817)}),_N_E=t.O()}]);
\ No newline at end of file
diff --git a/docs/_next/static/chunks/pages/_error-fa37e1d4331cc885.js b/docs/_next/static/chunks/pages/_error-fa37e1d4331cc885.js
new file mode 100644
index 0000000..e1bd2ce
--- /dev/null
+++ b/docs/_next/static/chunks/pages/_error-fa37e1d4331cc885.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{9514:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(6698)}])}},function(n){n.O(0,[774,888,179],function(){return n(n.s=9514)}),_N_E=n.O()}]);
\ No newline at end of file
diff --git a/docs/_next/static/chunks/pages/index-a72064e276c93e7f.js b/docs/_next/static/chunks/pages/index-a72064e276c93e7f.js
new file mode 100644
index 0000000..0f1d380
--- /dev/null
+++ b/docs/_next/static/chunks/pages/index-a72064e276c93e7f.js
@@ -0,0 +1,5 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{42:function(e,s){var l; /*!
+ Copyright (c) 2018 Jed Watson.
+ Licensed under the MIT License (MIT), see
+ http://jedwatson.github.io/classnames
+*/ !function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],s=0;s"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"script"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"type"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"="}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:'"text/javascript"'}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"src"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"="}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:'"path/to/overlayscrollbars.js"'}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"defer>"}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"script"}),(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:">"})]})]})})})]}),"\n",(0,o.jsx)(s.h2,{id:"initialization",children:"Initialization"}),"\n",(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": During initialization its expected that the ",(0,o.jsx)("b",{children:"CSS file is loaded and parsed"})," by the browser."]}),"\n"]}),"\n",(0,o.jsxs)(s.p,{children:["You can initialize either directly with an ",(0,o.jsx)(s.code,{children:"Element"})," or with an ",(0,o.jsx)(s.code,{children:"Object"})," where you have more control over the initialization process."]}),"\n",(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"// simple initialization with an element"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"osInstance"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"="}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#myElement'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"), {});"})]})]})})}),"\n",(0,o.jsx)(s.h3,{id:"bridging-initialization-flickering",children:"Bridging initialization flickering"}),"\n",(0,o.jsx)(s.p,{children:"If you initialize OverlayScrollbars it needs a few milliseconds to create and append all the elements to the DOM.\r\nWhile this period the native scrollbars are still visible and are switched out after the initialization is finished. This is perceived as flickering."}),"\n",(0,o.jsxs)(s.p,{children:["To fix this behavior apply the ",(0,o.jsx)(s.code,{children:"data-overlayscrollbars-initialize"})," attribute to the target element (and ",(0,o.jsx)(s.code,{children:"html"})," element if the target element is ",(0,o.jsx)(s.code,{children:"body"}),")."]}),"\n",(0,o.jsx)(s.h3,{id:"initialization-with-an-object",children:"Initialization with an Object"}),"\n",(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:(0,o.jsx)(s.p,{children:"This is a in depth topic. Click here to read it."})}),(0,o.jsx)("br",{}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": For now please refer to the ",(0,o.jsx)("b",{children:"TypeScript definitions"})," for a more detailed description of all possibilities."]}),"\n"]}),(0,o.jsxs)(s.p,{children:["The only required field is the ",(0,o.jsx)(s.code,{children:"target"})," field. This is the field to which the plugin is applied to.",(0,o.jsx)(s.br,{}),"\n","If you use the object initialization only with the ",(0,o.jsx)(s.code,{children:"target"})," field, the outcome is equivalent to the element initialization:"]}),(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"// Both initializations have the same outcome"})}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#myElement'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"), {});"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"({ target: "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#myElement'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:") }, {});"})]})]})})}),(0,o.jsxs)(s.p,{children:["In the initialization object you can specify how the library is handling generated elements.\r\nFor example you can appoint an existing element as the ",(0,o.jsx)(s.code,{children:"viewport"})," element. Like this the library won't generate it but take the specified element instead:"]}),(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"({ "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" target: "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#target'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"),"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" elements: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" viewport: "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#viewport'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"),"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" },"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"}, {});"})})]})})}),(0,o.jsx)(s.p,{children:"This is very useful if you have a fixed DOM structure and don't want OverlayScrollbars to generate its own elements. Those cases arise very often when you want an other library to work together with OverlayScrollbars."}),(0,o.jsx)(s.hr,{}),(0,o.jsx)(s.p,{children:"You can also decide to which element the scrollbars should be applied to:"}),(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"({ "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" target: "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#target'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"),"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" scrollbars: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" slot: "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#target'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"parentElement"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" },"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"}, {});"})})]})})}),(0,o.jsx)(s.hr,{}),(0,o.jsx)(s.p,{children:"And last but not least you can decide when the initialization should be canceled:"}),(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"({ "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" target: "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#target'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"),"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" cancel: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" nativeScrollbarsOverlaid: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"true"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" body: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"null"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" }"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"}, {});"})})]})})}),(0,o.jsxs)(s.p,{children:["In the above example the initialization is canceled when the native scrollbars are overlaid or when your target is a ",(0,o.jsx)(s.code,{children:"body"})," element and the plugin determined that a initialization to the ",(0,o.jsx)(s.code,{children:"body"})," element would affect native functionality like ",(0,o.jsx)(s.code,{children:"window.scrollTo"}),"."]})]}),"\n",(0,o.jsx)(s.h2,{id:"options",children:"Options"}),"\n",(0,o.jsxs)(s.p,{children:["You can initialize OverlayScrollbars with an initial set of options, which can be changed at any time with the ",(0,o.jsx)(s.code,{children:"options"})," method:"]}),"\n",(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#myElement'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"), {"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" overflow: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" x: "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'hidden'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" },"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h3,{id:"options-in-depth",children:"Options in depth"}),"\n",(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:(0,o.jsx)(s.p,{children:"This is a in depth topic. Click here to read it."})}),(0,o.jsx)("br",{}),(0,o.jsx)(s.p,{children:"The default options are:"}),(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"defaultOptions"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"="}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" paddingAbsolute: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"false"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" showNativeOverlaidScrollbars: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"false"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" update: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" elementEvents: [["}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'img'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'load'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"]],"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" debounce: ["}),(0,o.jsx)(s.span,{style:{color:"#D33682"},children:"0"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "}),(0,o.jsx)(s.span,{style:{color:"#D33682"},children:"33"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"],"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" attributes: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"null"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" ignoreMutation: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"null"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" },"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" overflow: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" x: "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'scroll'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" y: "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'scroll'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" },"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" scrollbars: {"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" theme: "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'os-theme-dark'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" visibility: "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'auto'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" autoHide: "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'never'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" autoHideDelay: "}),(0,o.jsx)(s.span,{style:{color:"#D33682"},children:"1300"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" dragScroll: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"true"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" clickScroll: "}),(0,o.jsx)(s.span,{style:{color:"#B58900"},children:"false"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:","})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" pointers: ["}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'mouse'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'touch'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'pen'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"],"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" },"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"};"})})]})})}),(0,o.jsx)(s.h3,{id:"paddingabsolute",children:(0,o.jsx)(s.code,{children:"paddingAbsolute"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"boolean"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"false"})})]})})]}),(0,o.jsx)(s.p,{children:"Indicates whether the padding for the content shall be absolute."}),(0,o.jsx)(s.h3,{id:"shownativeoverlaidscrollbars",children:(0,o.jsx)(s.code,{children:"showNativeOverlaidScrollbars"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"boolean"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"false"})})]})})]}),(0,o.jsx)(s.p,{children:"Indicates whether the native overlaid scrollbars shall be visible."}),(0,o.jsx)(s.h3,{id:"updateelementevents",children:(0,o.jsx)(s.code,{children:"update.elementEvents"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"Array<[string, string]> | null"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"[['img', 'load']]"})})]})})]}),(0,o.jsxs)(s.p,{children:["An array of tuples. The first value in the tuple is an ",(0,o.jsx)(s.code,{children:"selector"})," and the second value are ",(0,o.jsx)(s.code,{children:"event names"}),'. The plugin will update itself if any of the elements with the specified selector will emit any specified event. The default value can be interpreted as "The plugin will update itself if any ',(0,o.jsx)(s.code,{children:"img"})," element emits an ",(0,o.jsx)(s.code,{children:"load"}),' event."']}),(0,o.jsx)(s.h3,{id:"updatedebounce",children:(0,o.jsx)(s.code,{children:"update.debounce"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"[number, number] | number | null"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"[0, 33]"})})]})})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": If 0 is used for the timeout, ",(0,o.jsx)(s.code,{children:"requestAnimationFrame"})," instead of ",(0,o.jsx)(s.code,{children:"setTimeout"})," is used for the debounce."]}),"\n"]}),(0,o.jsxs)(s.p,{children:["Debounces the ",(0,o.jsx)(s.code,{children:"MutationObserver"})," which tracks changes to the content. If a ",(0,o.jsx)(s.strong,{children:"tuple"})," is passed, the first value is the timeout and second is the max wait. If only a ",(0,o.jsx)(s.strong,{children:"number"})," is passed you specify only the timeout and there is no max wait. With ",(0,o.jsx)(s.strong,{children:"null"})," there is no debounce. ",(0,o.jsx)(s.strong,{children:"Usefull to fine-tune performance."})]}),(0,o.jsx)(s.h3,{id:"updateattributes",children:(0,o.jsx)(s.code,{children:"update.attributes"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string[] | null"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"null"})})]})})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": There is a base array of attributes that the ",(0,o.jsx)(s.code,{children:"MutationObserver"})," always observes, even if this option is ",(0,o.jsx)(s.code,{children:"null"}),"."]}),"\n"]}),(0,o.jsxs)(s.p,{children:["An array of additional attributes that the ",(0,o.jsx)(s.code,{children:"MutationObserver"})," should observe for the content."]}),(0,o.jsx)(s.h3,{id:"updateignoremutation",children:(0,o.jsx)(s.code,{children:"update.ignoreMutation"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"((mutation) => any) | null"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"null"})})]})})]}),(0,o.jsxs)(s.p,{children:["A function which receives a ",(0,o.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord",children:(0,o.jsx)(s.code,{children:"MutationRecord"})})," as an argument. If the function returns a truthy value the mutation will be ignored and the plugin won't update. ",(0,o.jsx)(s.strong,{children:"Usefull to fine-tune performance."})]}),(0,o.jsx)(s.h3,{id:"overflowx",children:(0,o.jsx)(s.code,{children:"overflow.x"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"'scroll'"})})]})})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": Valid values are: ",(0,o.jsx)(s.code,{children:"'hidden'"}),", ",(0,o.jsx)(s.code,{children:"'scroll'"}),", ",(0,o.jsx)(s.code,{children:"'visible'"}),", ",(0,o.jsx)(s.code,{children:"'visible-hidden'"})," and ",(0,o.jsx)(s.code,{children:"'visible-scroll'"}),"."]}),"\n"]}),(0,o.jsx)(s.p,{children:"The overflow behavior for the horizontal (x) axis."}),(0,o.jsx)(s.h3,{id:"overflowy",children:(0,o.jsx)(s.code,{children:"overflow.y"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"'scroll'"})})]})})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": Valid values are: ",(0,o.jsx)(s.code,{children:"'hidden'"}),", ",(0,o.jsx)(s.code,{children:"'scroll'"}),", ",(0,o.jsx)(s.code,{children:"'visible'"}),", ",(0,o.jsx)(s.code,{children:"'visible-hidden'"})," and ",(0,o.jsx)(s.code,{children:"'visible-scroll'"}),"."]}),"\n"]}),(0,o.jsx)(s.p,{children:"The overflow behavior for the vertical (y) axis."}),(0,o.jsx)(s.h3,{id:"scrollbarstheme",children:(0,o.jsx)(s.code,{children:"scrollbars.theme"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string | null"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"'os-theme-dark'"})})]})})]}),(0,o.jsx)(s.p,{children:"Applies the specified theme (classname) to the scrollbars."}),(0,o.jsx)(s.h3,{id:"scrollbarsvisibility",children:(0,o.jsx)(s.code,{children:"scrollbars.visibility"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"'auto'"})})]})})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": Valid values are: ",(0,o.jsx)(s.code,{children:"'visible'"}),", ",(0,o.jsx)(s.code,{children:"'hidden'"}),", and ",(0,o.jsx)(s.code,{children:"'auto'"}),"."]}),"\n"]}),(0,o.jsx)(s.p,{children:"The base visibility of the scrollbars."}),(0,o.jsx)(s.h3,{id:"scrollbarsautohide",children:(0,o.jsx)(s.code,{children:"scrollbars.autoHide"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"'never'"})})]})})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": Valid values are: ",(0,o.jsx)(s.code,{children:"'never'"}),", ",(0,o.jsx)(s.code,{children:"'scroll'"}),", ",(0,o.jsx)(s.code,{children:"'leave'"})," and ",(0,o.jsx)(s.code,{children:"'move'"}),"."]}),"\n"]}),(0,o.jsx)(s.p,{children:"The possibility to hide visible scrollbars automatically after a certain user action."}),(0,o.jsx)(s.h3,{id:"scrollbarsautohidedelay",children:(0,o.jsx)(s.code,{children:"scrollbars.autoHideDelay"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"number"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"1300"})})]})})]}),(0,o.jsx)(s.p,{children:"The delay in milliseconds before the scrollbars are hidden automatically."}),(0,o.jsx)(s.h3,{id:"scrollbarsdragscroll",children:(0,o.jsx)(s.code,{children:"scrollbars.dragScroll"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"boolean"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"true"})})]})})]}),(0,o.jsx)(s.p,{children:"Indicates whether you can drag the scrollbar handles for scrolling."}),(0,o.jsx)(s.h3,{id:"scrollbarsclickscroll",children:(0,o.jsx)(s.code,{children:"scrollbars.clickScroll"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"boolean"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"false"})})]})})]}),(0,o.jsx)(s.p,{children:"Indicates whether you can click on the scrollbar track for scrolling."}),(0,o.jsx)(s.h3,{id:"scrollbarspointers",children:(0,o.jsx)(s.code,{children:"scrollbars.pointers"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"type"}),(0,o.jsx)(s.th,{align:"left",children:"default"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"string[] | null"})}),(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"['mouse', 'touch', 'pen']"})})]})})]}),(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType",children:(0,o.jsx)(s.code,{children:"PointerTypes"})})," the plugin should react to."]})]}),"\n",(0,o.jsx)(s.h2,{id:"events",children:"Events"}),"\n",(0,o.jsxs)(s.p,{children:["You can initialize OverlayScrollbars with an initial set of events, which can be managed at any time with the ",(0,o.jsx)(s.code,{children:"on"})," and ",(0,o.jsx)(s.code,{children:"off"})," methods:"]}),"\n",(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"js","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"js","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"document"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"querySelector"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'#myElement'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"), {}, {"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"updated"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(osInstance, onUpdatedArgs) {"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"// ..."})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" }"})}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h3,{id:"events-in-depth",children:"Events in depth"}),"\n",(0,o.jsxs)("details",{children:[(0,o.jsx)("summary",{children:(0,o.jsx)(s.p,{children:"This is a in depth topic. Click here to read it."})}),(0,o.jsx)("br",{}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": Every event receives the ",(0,o.jsx)(s.code,{children:"instance"})," from which it was invoked as the first argument. Always."]}),"\n"]}),(0,o.jsx)(s.h3,{id:"initialized",children:(0,o.jsx)(s.code,{children:"initialized"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"arguments"}),(0,o.jsx)(s.th,{align:"left",children:"description"})]})}),(0,o.jsx)(s.tbody,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"instance"})}),(0,o.jsx)(s.td,{align:"left",children:"The instance which invoked the event."})]})})]}),(0,o.jsx)(s.p,{children:"Is invoked after all generated elements, observers and events were appended to the DOM."}),(0,o.jsx)(s.h3,{id:"updated",children:(0,o.jsx)(s.code,{children:"updated"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"arguments"}),(0,o.jsx)(s.th,{align:"left",children:"description"})]})}),(0,o.jsxs)(s.tbody,{children:[(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"instance"})}),(0,o.jsx)(s.td,{align:"left",children:"The instance which invoked the event."})]}),(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"onUpdatedArgs"})}),(0,o.jsxs)(s.td,{align:"left",children:["An ",(0,o.jsx)(s.code,{children:"object"})," which describes the update in detail."]})]})]})]}),(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": If an update was triggered but nothing changed, the event won't be invoked."]}),"\n"]}),(0,o.jsx)(s.p,{children:"Is invoked after the instace was updated."}),(0,o.jsx)(s.h3,{id:"destroyed",children:(0,o.jsx)(s.code,{children:"destroyed"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"arguments"}),(0,o.jsx)(s.th,{align:"left",children:"description"})]})}),(0,o.jsxs)(s.tbody,{children:[(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"instance"})}),(0,o.jsx)(s.td,{align:"left",children:"The instance which invoked the event."})]}),(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"canceled"})}),(0,o.jsxs)(s.td,{align:"left",children:["An ",(0,o.jsx)(s.code,{children:"boolean"})," which indicates whether the initialization was canceled and thus destroyed."]})]})]})]}),(0,o.jsx)(s.p,{children:"Is invoked after all generated elements, observers and events were removed from the DOM."}),(0,o.jsx)(s.h3,{id:"scroll",children:(0,o.jsx)(s.code,{children:"scroll"})}),(0,o.jsxs)(s.table,{children:[(0,o.jsx)(s.thead,{children:(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.th,{align:"left",children:"arguments"}),(0,o.jsx)(s.th,{align:"left",children:"description"})]})}),(0,o.jsxs)(s.tbody,{children:[(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"instance"})}),(0,o.jsx)(s.td,{align:"left",children:"The instance which invoked the event."})]}),(0,o.jsxs)(s.tr,{children:[(0,o.jsx)(s.td,{align:"left",children:(0,o.jsx)(s.code,{children:"event"})}),(0,o.jsxs)(s.td,{align:"left",children:["The original ",(0,o.jsx)(s.code,{children:"event"})," argument of the DOM event."]})]})]})]}),(0,o.jsx)(s.p,{children:"Is invoked by scrolling the viewport."})]}),"\n",(0,o.jsx)(s.h2,{id:"instance",children:"Instance"}),"\n",(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": For now please refer to the ",(0,o.jsx)("b",{children:"TypeScript definitions"})," for a more detailed description."]}),"\n"]}),"\n",(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"ts","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"interface"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"options"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"Options"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"options"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(newOptions"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"PartialOptions"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", pure"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"?:"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"boolean"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"Options"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"on"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(eventListeners"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListeners"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", pure"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"?:"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"boolean"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"on"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"extends"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"keyof"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListenerArgs"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">(name"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", listener"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListener"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">)"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"on"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"extends"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"keyof"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListenerArgs"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">(name"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", listener"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListener"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">[])"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"off"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"extends"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"keyof"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListenerArgs"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">(name"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", listener"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListener"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">)"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"off"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"extends"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"keyof"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListenerArgs"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">(name"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", listener"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListener"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"N"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:">[])"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"update"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(force"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"?:"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"boolean"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"boolean"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"state"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"State"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"elements"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"Elements"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"destroy"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"}"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"static-methods",children:"Static Methods"}),"\n",(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": For now please refer to the ",(0,o.jsx)("b",{children:"TypeScript definitions"})," for a more detailed description."]}),"\n"]}),"\n",(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"ts","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#586E75",fontStyle:"italic"},children:"interface"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"OverlayScrollbarsStatic"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" (target"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"InitializationTarget"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"|"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"undefined"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" (target"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"InitializationTarget"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", options"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"PartialOptions"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", eventListeners"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"?:"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"EventListeners"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"plugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(plugin"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"Plugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"|"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"Plugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"[])"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"void"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"valid"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(osInstance"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"any"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:")"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" osInstance "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"is"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"env"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:":"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#CB4B16"},children:"Environment"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"}"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"plugins",children:"Plugins"}),"\n",(0,o.jsx)(s.p,{children:"Everything thats considered not core functionality or old browser compatibility is exposed via a plugin. This is done because all unused plugins are treeshaken and thus won't end up in your final bundle. OverlayScrollbars comes with the following plugins:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"ScrollbarsHidingPlugin"}),": Is needed for old browsers which aren't supporting nativ scrollbar styling features. ",(0,o.jsx)(s.a,{href:"https://caniuse.com/?search=scrollbar%20styling",children:"You can find the list of browsers where you need this plugin here"})," (note that even though ",(0,o.jsx)(s.code,{children:"iOS Safari >= 14"})," is marked as unsupported you only need this plugin for ",(0,o.jsx)(s.code,{children:"iOS < 7.1"}),")."]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"SizeObserverPlugin"}),": Is needed for old browsers which aren't supporting the ",(0,o.jsx)(s.code,{children:"ResizeObserver"})," api. ",(0,o.jsx)(s.a,{href:"https://caniuse.com/?search=ResizeObserver",children:"You can find the list of browsers where you need this plugin here"})]}),"\n",(0,o.jsxs)(s.li,{children:[(0,o.jsx)(s.strong,{children:"ClickScrollPlugin"}),": If you want to use the option ",(0,o.jsx)(s.code,{children:"scrollbars: { clickScroll: true }"}),"."]}),"\n"]}),"\n",(0,o.jsx)(s.h3,{id:"consuming-plugins",children:"Consuming Plugins"}),"\n",(0,o.jsx)(s.p,{children:"Plugins are consumed like:"}),"\n",(0,o.jsx)(s.div,{"data-rehype-pretty-code-fragment":"",children:(0,o.jsx)(s.pre,{"data-language":"ts","data-theme":"default",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"default",children:[(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#859900"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" { "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"ScrollbarsHidingPlugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"SizeObserverPlugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"ClickScrollPlugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "})]}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"#859900"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:" "}),(0,o.jsx)(s.span,{style:{color:"#2AA198"},children:"'overlayscrollbars'"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:";"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"// single plugin"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"plugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"("}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"ScrollbarsHidingPlugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:");"})]}),"\n",(0,o.jsx)(s.span,{className:"line"}),"\n",(0,o.jsx)(s.span,{className:"line",children:(0,o.jsx)(s.span,{style:{color:"#93A1A1"},children:"// multiple plugins"})}),"\n",(0,o.jsxs)(s.span,{className:"line",children:[(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"OverlayScrollbars"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"."}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"plugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"(["}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"SizeObserverPlugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:", "}),(0,o.jsx)(s.span,{style:{color:"#268BD2"},children:"ClickScrollPlugin"}),(0,o.jsx)(s.span,{style:{color:"#657B83"},children:"]);"})]})]})})}),"\n",(0,o.jsx)(s.h3,{id:"writing-plugins",children:"Writing Plugins"}),"\n",(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"Note"}),": For now please refer to the ",(0,o.jsx)("b",{children:"TypeScript definitions"})," for a more detailed description."]}),"\n"]}),"\n",(0,o.jsx)(s.p,{children:"You can write and publish your own Plugins. This section is a work in progress."}),"\n",(0,o.jsxs)(s.h2,{id:"feature-comparison-to-v1",children:["Feature comparison to ",(0,o.jsx)(s.code,{children:"v1"})]}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.code,{children:"scroll"})," function is missing. Planned as a ",(0,o.jsx)(s.code,{children:"plugin"}),". (WIP)"]}),"\n",(0,o.jsxs)(s.li,{children:["Initialization to the ",(0,o.jsx)(s.code,{children:"textarea"})," element isn't supported yet. Planned as a ",(0,o.jsx)(s.code,{children:"plugin"}),". (WIP)"]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"future-plans",children:"Future Plans"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsx)(s.li,{children:"Provide plugin based support for missing features. (treeshakeable)"}),"\n",(0,o.jsx)(s.li,{children:"Frequent updates in terms of bug-fixes and enhancements. (always use latest browser features)"}),"\n",(0,o.jsx)(s.li,{children:"Improve tests. (unit & browser tests)"}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"license",children:"License"}),"\n",(0,o.jsx)(s.p,{children:"MIT"})]})}var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=Object.assign({},(0,m.ah)(),e.components).wrapper;return s?(0,o.jsx)(s,Object.assign({},e,{children:(0,o.jsx)(B,e)})):B(e)},b=l(4028),v=l.n(b),w=function(e){return(0,o.jsx)("div",{className:"my-6 text-center font-medium text-sm uppercase relative",children:(0,o.jsxs)("span",{className:"p-3 bg-white",children:[e,(0,o.jsx)("div",{className:"absolute block top-1/2 left-1/2 w-[100%] xs:w-[80%] border-t-[1px] border-slate-300 translate-x-[-50%] translate-y-[-50%] z-[-1]"})]})})},N=function(){var e=(0,t.useRef)(null);return(0,t.useEffect)(function(){if(e.current){var s=(0,x.a)(e.current,{});return function(){return s.destroy()}}},[]),(0,o.jsxs)(h,{className:"px-6",children:[(0,o.jsx)("div",{className:"mt-8 flex justify-center items-center h-[33vh] min-h-32 max-h-40 xxs:max-h-44",children:(0,o.jsx)("div",{className:a()("h-full",v().logo),children:(0,o.jsx)("img",{src:j.src,className:"h-full",alt:"Overlay Scrollbars Logo"})})}),(0,o.jsx)("h1",{className:"text-center xxs:text-4xl text-2xl font-bold my-11",children:"Overlay Scrollbars"}),(0,o.jsx)("p",{className:"text-center mx-auto max-w-screen-sm my-11 font-medium",children:"A javascript scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling."}),w("used by"),(0,o.jsx)("div",{ref:e,children:(0,o.jsx)("div",{className:"flex my-7 justify-center",children:(0,o.jsxs)("div",{className:a()("inline-flex items-center gap-6 py-4",v().usedBy),children:[(0,o.jsx)("div",{className:"h-11 px-3 flex-grow flex-shrink-0",style:{filter:"brightness(0.35)"},children:(0,o.jsx)("img",{className:"h-full",src:p.src,alt:""})}),(0,o.jsx)("div",{className:"h-11 px-3 py-1.5 flex-grow flex-shrink-0",children:(0,o.jsx)("img",{className:"h-full",src:y.src,alt:""})}),(0,o.jsx)("div",{className:"h-11 p-3 flex-grow flex-shrink-0",children:(0,o.jsx)("img",{className:"h-full",src:u.src,alt:""})})]})})}),w((0,o.jsxs)("a",{href:"https://github.com/KingSora/OverlayScrollbars",target:"_blank",rel:"noreferrer",children:[(0,o.jsx)(d,{className:"inline-block w-11 hover:scale-110 text-primary-dark hover:text-primary-blue1 active:text-primary-blue2 transition-transformColor ease-in-out duration-300",svg:g,icon:"github"}),(0,o.jsx)("span",{className:"sr-only",children:"OverlayScrollbars on Github"})]})),(0,o.jsxs)("p",{className:"text-center text-sm text-primary-gray2 mx-auto max-w-screen-sm my-11 font-medium",children:["This page is a work in progress. For now refer to the TypeScript definitions for a more detailed documentation.",(0,o.jsx)("br",{}),"Looking for the v1 docs?"," ",(0,o.jsx)("a",{href:"/v1",className:"text-primary-blue2 underline",children:"Follow this link"}),"."]}),(0,o.jsxs)("div",{className:"mx-auto flex sm:flex-row justify-center gap-2 items-center flex-wrap",children:[(0,o.jsx)("a",{href:"https://www.npmjs.com/package/overlayscrollbars",children:(0,o.jsx)("img",{src:"https://img.shields.io/npm/dm/overlayscrollbars.svg?style=flat-square",alt:"Downloads"})}),(0,o.jsx)("a",{href:"https://www.npmjs.com/package/overlayscrollbars",children:(0,o.jsx)("img",{src:"https://img.shields.io/npm/v/overlayscrollbars.svg?style=flat-square",alt:"Version"})}),(0,o.jsx)("a",{href:"https://github.com/KingSora/OverlayScrollbars/blob/master/LICENSE",children:(0,o.jsx)("img",{src:"https://img.shields.io/github/license/kingsora/overlayscrollbars.svg?style=flat-square",alt:"License"})}),(0,o.jsx)("a",{href:"https://app.codecov.io/gh/KingSora/OverlayScrollbars",children:(0,o.jsx)("img",{src:"https://img.shields.io/codecov/c/github/KingSora/OverlayScrollbars?style=flat-square",alt:"Code Coverage"})}),(0,o.jsx)("a",{href:"https://bundlephobia.com/package/overlayscrollbars",children:(0,o.jsx)("img",{src:"https://img.shields.io/bundlephobia/minzip/overlayscrollbars?label=max.%20bundle%20size&style=flat-square",alt:"Max. Bundle Size"})})]}),(0,o.jsx)("div",{className:"mt-11 prose prose-primary mx-auto pb-32",children:(0,o.jsx)(f,{})})]})}},4028:function(e){e.exports={logo:"assets_logo__UC59w",usedBySeparator:"assets_usedBySeparator__yqt5h",usedBy:"assets_usedBy__FHTGG"}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=2766)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/docs/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js b/docs/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js
new file mode 100644
index 0000000..3858b79
--- /dev/null
+++ b/docs/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js
@@ -0,0 +1 @@
+!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,s=u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a,c={f:s},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,h=function(t){return l.call(t).slice(8,-1)},p="".split,d=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return d(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!y(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},S=n.document,E=y(S)&&y(S.createElement),x=function(t){return E?S.createElement(t):{}},A=!i&&!o(function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,R={f:i?O:function(t,e){if(t=g(t),e=m(e,!0),A)try{return O(t,e)}catch(t){}if(w(t,e))return f(!c.f.call(t,e),t[e])}},j=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,I={f:i?P:function(t,e,r){if(j(t),e=m(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},T=i?function(t,e,r){return I.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{T(n,t,e)}catch(r){n[t]=e}return e},L="__core-js_shared__",U=n[L]||k(L,{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var _,N,C,F=U.inspectSource,B=n.WeakMap,D="function"==typeof B&&/native code/.test(F(B)),q=!1,z=e(function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,K=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+K).toString(36)},$=z("keys"),V=function(t){return $[t]||($[t]=G(t))},H={};if(D){var X=new(0,n.WeakMap),Y=X.get,J=X.has,Q=X.set;_=function(t,e){return Q.call(X,t,e),e},N=function(t){return Y.call(X,t)||{}},C=function(t){return J.call(X,t)}}else{var Z=V("state");H[Z]=!0,_=function(t,e){return T(t,Z,e),e},N=function(t){return w(t,Z)?t[Z]:{}},C=function(t){return w(t,Z)}}var tt,et={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=e(function(t){var e=et.get,r=et.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||T(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:T(t,e,i)):s?t[e]=i:k(e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||F(this)})}),nt=n,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(nt[t])||ot(n[t]):nt[t]&&nt[t][e]||n[t]&&n[t][e]},at=Math.ceil,ut=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,pt=function(t,e){var r=st(t);return r<0?lt(r+e,0):ht(r,e)},dt=function(t){return function(e,r,n){var o,i=g(e),a=ft(i.length),u=pt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},vt={includes:dt(!0),indexOf:dt(!1)},gt=vt.indexOf,yt=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!w(H,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~gt(i,r)||i.push(r));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},St={f:Object.getOwnPropertySymbols},Et=it("Reflect","ownKeys")||function(t){var e=wt.f(j(t)),r=St.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=Et(e),n=I.f,o=R.f,i=0;i2?arguments[2]:void 0,u=Mt((void 0===a?n:pt(a,n))-i,n-o),s=1;for(i0;)i in r?r[o]=r[i]:delete r[o],o+=s,i+=s;return r},Nt=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())}),Ct=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Bt=n.Symbol,Dt=Ct?Bt:Bt&&Bt.withoutSetter||G,qt=function(t){return w(Ft,t)||(Ft[t]=Nt&&w(Bt,t)?Bt[t]:Dt("Symbol."+t)),Ft[t]},zt=Object.keys||function(t){return yt(t,mt)},Wt=i?Object.defineProperties:function(t,e){j(t);for(var r,n=zt(e),o=n.length,i=0;o>i;)I.f(t,r=n[i++],e[r]);return t},Kt=it("document","documentElement"),Gt=V("IE_PROTO"),$t=function(){},Vt=function(t){return"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-