diff --git a/.github/screenshot.png b/.github/screenshot.png deleted file mode 100644 index 1e4a0f3..0000000 Binary files a/.github/screenshot.png and /dev/null differ diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f74c781..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.next -node_modules diff --git a/404.html b/404.html new file mode 100644 index 0000000..c208d70 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index 1349dad..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -truecaller.js.org diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 490da1f..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Shu Ding - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 7b33473..0000000 --- a/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# Nextra Docs Template - -This is a template for creating documentation with [Nextra](https://nextra.site). - -[**Live Demo →**](https://nextra-docs-template.vercel.app) - -[![](.github/screenshot.png)](https://nextra-docs-template.vercel.app) - -## Quick Start - -Click the button to clone this repository and deploy it on Vercel: - -[![](https://vercel.com/button)](https://vercel.com/new/clone?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra-docs-template&showOptionalTeamCreation=false) - -## Local Development - -First, run `pnpm i` to install the dependencies. - -Then, run `pnpm dev` to start the development server and visit localhost:3000. - -## License - -This project is licensed under the MIT License. diff --git a/_next/static/KuSGRKz-naTchJ7PIJVkA/_buildManifest.js b/_next/static/KuSGRKz-naTchJ7PIJVkA/_buildManifest.js new file mode 100644 index 0000000..dd4b0a8 --- /dev/null +++ b/_next/static/KuSGRKz-naTchJ7PIJVkA/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,a){return{__rewrites:{afterFiles:[{has:void 0,source:"/:path*/_meta",destination:"/404"}],beforeFiles:[],fallback:[]},"/":[s,a,"static/chunks/pages/index-6113f21541230769.js"],"/_error":["static/chunks/pages/_error-3986dd5834f581dc.js"],"/about":[s,a,"static/chunks/pages/about-99ff90ceb4bcb9d4.js"],"/cli-usage/1-installation":[s,a,"static/chunks/pages/cli-usage/1-installation-ee149ef411319839.js"],"/cli-usage/2-login":[s,a,"static/chunks/pages/cli-usage/2-login-6331395c1252606b.js"],"/cli-usage/3-searching":[s,a,"static/chunks/pages/cli-usage/3-searching-30b9154e07ac4b3a.js"],"/cli-usage/4-bulk-search":[s,a,"static/chunks/pages/cli-usage/4-bulk-search-3b21878427c797f9.js"],"/sponsor":[s,a,"static/chunks/pages/sponsor-54f473f0220659d3.js"],"/usage/1-login":[s,a,"static/chunks/pages/usage/1-login-67242366ddd32a62.js"],"/usage/2-searching":[s,a,"static/chunks/pages/usage/2-searching-3750e3313a8665ef.js"],"/usage/3-bulk-search":[s,a,"static/chunks/pages/usage/3-bulk-search-71bec1a48e3b9d06.js"],sortedPages:["/","/_app","/_error","/about","/cli-usage/1-installation","/cli-usage/2-login","/cli-usage/3-searching","/cli-usage/4-bulk-search","/sponsor","/usage/1-login","/usage/2-searching","/usage/3-bulk-search"]}}("static/css/1c4a11063063870f.css","static/chunks/943-f2f47125da02bd67.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/KuSGRKz-naTchJ7PIJVkA/_ssgManifest.js b/_next/static/KuSGRKz-naTchJ7PIJVkA/_ssgManifest.js new file mode 100644 index 0000000..0511aa8 --- /dev/null +++ b/_next/static/KuSGRKz-naTchJ7PIJVkA/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/943-f2f47125da02bd67.js b/_next/static/chunks/943-f2f47125da02bd67.js new file mode 100644 index 0000000..27cd5fa --- /dev/null +++ b/_next/static/chunks/943-f2f47125da02bd67.js @@ -0,0 +1,24 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[943],{6304:function(module,__unused_webpack_exports,__webpack_require__){module=__webpack_require__.nmd(module),function _f(self){"use strict";let Y;try{module&&(self=module)}catch(e){}function u(ee){return void 0===ee||ee}function aa(ee){let en=Array(ee);for(let er=0;er=ei))));en++);if(er)return es?ta(ed,ei,0):void(en[en.length]=ed)}return!er&&ed}function ta(ee,en,er){return ee=1===ee.length?ee[0]:[].concat.apply([],ee),er||ee.length>en?ee.slice(er,er+en):ee}function ua(ee,en,er,ei){return ee=er?(ee=ee[(ei=ei&&en>er)?en:er])&&ee[ei?er:en]:ee[en]}function N(ee,en,er,ei,eo){let es=0;if(ee.constructor===Array){if(eo)-1!==(en=ee.indexOf(en))?1=this.B&&(ep||!eh[eg])){var es=L(em,ei,ex),eu="";switch(this.G){case"full":if(2es;ec--)if(ec-es>=this.B){var ed=L(em,ei,ex,eo,es);M(this,eh,eu=eg.substring(es,ec),ed,ee,er)}break}case"reverse":if(1=this.B&&M(this,eh,eu,L(em,ei,ex,eo,ec),ee,er);eu=""}case"forward":if(1=this.B&&M(this,eh,eu,es,ee,er);break}default:if(this.C&&(es=Math.min(es/this.C(en,eg,ex)|0,em-1)),M(this,eh,eg,es,ee,er),ep&&1=this.B&&!eo[eg]){eo[eg]=1;let en=this.l&&eg>es;M(this,ef,en?es:eg,L(eu+(ei/2>eu?0:1),ei,ex,ec-1,ed-1),ee,er,en?eg:es)}}}}}this.m||(this.register[ee]=1)}}return this},t.search=function(ee,en,er){let ei,eo,es;er||(!en&&C(ee)?ee=(er=ee).query:C(en)&&(er=en));let eu=[],ec,ed,ef=0;if(er){ee=er.query||ee,en=er.limit,ef=er.offset||0;var eh=er.context;ed=er.suggest}if(ee&&1<(ec=(ee=this.encode(""+ee)).length)){er=v();var ep=[];for(let en=0,ei=0,eo;en=this.B&&!er[eo]){if(!this.s&&!ed&&!this.map[eo])return eu;ep[ei++]=eo,er[eo]=1}ec=(ee=ep).length}if(!ec)return eu;for(en||(en=100),eh=this.depth&&1en||er)&&(eo=eo.slice(er,er+en)),ei&&(eo=za.call(this,eo)),{tag:ee,result:eo}}function za(ee){let en=Array(ee.length);for(let er=0,ei;er2?er.slice(1-er.length).join("."):en.source=en.resource,en.git_suffix=/\.git$/.test(en.pathname),en.name=decodeURIComponent((en.pathname||en.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),en.owner=decodeURIComponent(en.user),en.source){case"git.cloudforge.com":en.owner=en.user,en.organization=er[0],en.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===en.resource){4===(es=en.name.split("/")).length&&(en.organization=es[1],en.owner=es[2],en.name=es[3],en.full_name=es[2]+"/"+es[3]);break}2===(es=en.name.split("/")).length?(en.owner=es[1],en.name=es[1],en.full_name="_git/"+en.name):3===es.length?(en.name=es[2],"DefaultCollection"===es[0]?(en.owner=es[2],en.organization=es[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=es[0],en.full_name=en.owner+"/_git/"+en.name)):4===es.length&&(en.organization=es[0],en.owner=es[1],en.name=es[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===en.resource){4===(es=en.name.split("/")).length&&(en.organization=es[1],en.owner=es[2],en.name=es[3]);break}5===(es=en.name.split("/")).length?(en.organization=es[0],en.owner=es[1],en.name=es[4],en.full_name="_git/"+en.name):3===es.length?(en.name=es[2],"DefaultCollection"===es[0]?(en.owner=es[2],en.organization=es[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=es[0],en.full_name=en.owner+"/_git/"+en.name)):4===es.length&&(en.organization=es[0],en.owner=es[1],en.name=es[3],en.full_name=en.organization+"/"+en.owner+"/_git/"+en.name),en.query&&en.query.path&&(en.filepath=en.query.path.replace(/^\/+/g,"")),en.query&&en.query.version&&(en.ref=en.query.version.replace(/^GB/,""));break;default:var eu=(es=en.name.split("/")).length-1;if(es.length>=2){var ec=es.indexOf("-",2),ed=es.indexOf("blob",2),ef=es.indexOf("tree",2),eh=es.indexOf("commit",2),ep=es.indexOf("src",2),em=es.indexOf("raw",2),ex=es.indexOf("edit",2);eu=ec>0?ec-1:ed>0?ed-1:ef>0?ef-1:eh>0?eh-1:ep>0?ep-1:em>0?em-1:ex>0?ex-1:eu,en.owner=es.slice(0,eu).join("/"),en.name=es[eu],eh&&(en.commit=es[eu+2])}en.ref="",en.filepathtype="",en.filepath="";var eg=es.length>eu&&"-"===es[eu+1]?eu+1:eu;es.length>eg+2&&["raw","src","blob","tree","edit"].indexOf(es[eg+1])>=0&&(en.filepathtype=es[eg+1],en.ref=es[eg+2],es.length>eg+3&&(en.filepath=es.slice(eg+3).join("/"))),en.organization=en.owner}!en.full_name&&(en.full_name=en.owner,en.name&&(en.full_name&&(en.full_name+="/"),en.full_name+=en.name)),en.owner.startsWith("scm/")&&(en.source="bitbucket-server",en.owner=en.owner.replace("scm/",""),en.organization=en.owner,en.full_name=en.owner+"/"+en.name);var ev=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(en.pathname);return null!=ev&&(en.source="bitbucket-server","users"===ev[1]?en.owner="~"+ev[2]:en.owner=ev[2],en.organization=en.owner,en.name=ev[3],(es=ev[4].split("/")).length>1&&(["raw","browse"].indexOf(es[1])>=0?(en.filepathtype=es[1],es.length>2&&(en.filepath=es.slice(2).join("/"))):"commits"===es[1]&&es.length>2&&(en.commit=es[2])),en.full_name=en.owner+"/"+en.name,en.query.at?en.ref=en.query.at:en.ref=""),en}/*! + * buildToken + * Builds OAuth token prefix (helper function) + * + * @name buildToken + * @function + * @param {GitUrl} obj The parsed Git url object. + * @return {String} token prefix + */function es(ee){return"bitbucket.org"===ee.source?"x-token-auth:"+ee.token+"@":ee.token+"@"}function eu(ee){return"bitbucket-server"===ee.source?"scm/"+ee.full_name:""+ee.full_name}eo.stringify=function(ee,en){en=en||(ee.protocols&&ee.protocols.length?ee.protocols.join("+"):ee.protocol);var er=ee.port?":"+ee.port:"",ei=ee.user||"git",eo=ee.git_suffix?".git":"";switch(en){case"ssh":if(er)return"ssh://"+ei+"@"+ee.resource+er+"/"+ee.full_name+eo;return ei+"@"+ee.resource+":"+ee.full_name+eo;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return en+"://"+ei+"@"+ee.resource+er+"/"+ee.full_name+eo;case"http":case"https":return en+"://"+(ee.token?es(ee):ee.user&&(ee.protocols.includes("http")||ee.protocols.includes("https"))?ee.user+"@":"")+ee.resource+er+"/"+eu(ee)+eo;default:return ee.href}},ee.exports=eo},6337:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var ee=function(ee){for(var en=ee,er=eo(en);er;)er=eo(en=er.ownerDocument);return en}(window.document),en=[],er=null,ei=null;eu.prototype.THROTTLE_TIMEOUT=100,eu.prototype.POLL_INTERVAL=null,eu.prototype.USE_MUTATION_OBSERVER=!0,eu._setupCrossOriginUpdater=function(){return er||(er=function(ee,er){ei=ee&&er?ev(ee,er):ex(),en.forEach(function(ee){ee._checkForIntersections()})}),er},eu._resetCrossOriginUpdater=function(){er=null,ei=null},eu.prototype.observe=function(ee){if(!this._observationTargets.some(function(en){return en.element==ee})){if(!(ee&&1==ee.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:ee,entry:null}),this._monitorIntersections(ee.ownerDocument),this._checkForIntersections()}},eu.prototype.unobserve=function(ee){this._observationTargets=this._observationTargets.filter(function(en){return en.element!=ee}),this._unmonitorIntersections(ee.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},eu.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},eu.prototype.takeRecords=function(){var ee=this._queuedEntries.slice();return this._queuedEntries=[],ee},eu.prototype._initThresholds=function(ee){var en=ee||[0];return Array.isArray(en)||(en=[en]),en.sort().filter(function(ee,en,er){if("number"!=typeof ee||isNaN(ee)||ee<0||ee>1)throw Error("threshold must be a number between 0 and 1 inclusively");return ee!==er[en-1]})},eu.prototype._parseRootMargin=function(ee){var en=(ee||"0px").split(/\s+/).map(function(ee){var en=/^(-?\d*\.?\d+)(px|%)$/.exec(ee);if(!en)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(en[1]),unit:en[2]}});return en[1]=en[1]||en[0],en[2]=en[2]||en[0],en[3]=en[3]||en[1],en},eu.prototype._monitorIntersections=function(en){var er=en.defaultView;if(er&&-1==this._monitoringDocuments.indexOf(en)){var ei=this._checkForIntersections,es=null,eu=null;if(this.POLL_INTERVAL?es=er.setInterval(ei,this.POLL_INTERVAL):(ef(er,"resize",ei,!0),ef(en,"scroll",ei,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in er&&(eu=new er.MutationObserver(ei)).observe(en,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(en),this._monitoringUnsubscribes.push(function(){var ee=en.defaultView;ee&&(es&&ee.clearInterval(es),eh(ee,"resize",ei,!0)),eh(en,"scroll",ei,!0),eu&&eu.disconnect()}),en!=(this.root&&(this.root.ownerDocument||this.root)||ee)){var ec=eo(en);ec&&this._monitorIntersections(ec.ownerDocument)}}},eu.prototype._unmonitorIntersections=function(en){var er=this._monitoringDocuments.indexOf(en);if(-1!=er){var ei=this.root&&(this.root.ownerDocument||this.root)||ee;if(!this._observationTargets.some(function(ee){var er=ee.element.ownerDocument;if(er==en)return!0;for(;er&&er!=ei;){var es=eo(er);if((er=es&&es.ownerDocument)==en)return!0}return!1})){var es=this._monitoringUnsubscribes[er];if(this._monitoringDocuments.splice(er,1),this._monitoringUnsubscribes.splice(er,1),es(),en!=ei){var eu=eo(en);eu&&this._unmonitorIntersections(eu.ownerDocument)}}}},eu.prototype._unmonitorAllIntersections=function(){var ee=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var en=0;enen.indexOf(this)&&en.push(this)},eu.prototype._unregisterInstance=function(){var ee=en.indexOf(this);-1!=ee&&en.splice(ee,1)},window.IntersectionObserver=eu,window.IntersectionObserverEntry=es}function eo(ee){try{return ee.defaultView&&ee.defaultView.frameElement||null}catch(ee){return null}}function es(ee){this.time=ee.time,this.target=ee.target,this.rootBounds=eg(ee.rootBounds),this.boundingClientRect=eg(ee.boundingClientRect),this.intersectionRect=eg(ee.intersectionRect||ex()),this.isIntersecting=!!ee.intersectionRect;var en=this.boundingClientRect,er=en.width*en.height,ei=this.intersectionRect,eo=ei.width*ei.height;er?this.intersectionRatio=Number((eo/er).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function eu(ee,en){var er=en||{};if("function"!=typeof ee)throw Error("callback must be a function");if(er.root&&1!=er.root.nodeType&&9!=er.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=ed(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=ee,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(er.rootMargin),this.thresholds=this._initThresholds(er.threshold),this.root=er.root||null,this.rootMargin=this._rootMarginValues.map(function(ee){return ee.value+ee.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function ec(){return window.performance&&performance.now&&performance.now()}function ed(ee,en){var er=null;return function(){er||(er=setTimeout(function(){ee(),er=null},en))}}function ef(ee,en,er,ei){"function"==typeof ee.addEventListener?ee.addEventListener(en,er,ei||!1):"function"==typeof ee.attachEvent&&ee.attachEvent("on"+en,er)}function eh(ee,en,er,ei){"function"==typeof ee.removeEventListener?ee.removeEventListener(en,er,ei||!1):"function"==typeof ee.detachEvent&&ee.detachEvent("on"+en,er)}function ep(ee,en){var er=Math.max(ee.top,en.top),ei=Math.min(ee.bottom,en.bottom),eo=Math.max(ee.left,en.left),es=Math.min(ee.right,en.right),eu=es-eo,ec=ei-er;return eu>=0&&ec>=0&&{top:er,bottom:ei,left:eo,right:es,width:eu,height:ec}||null}function em(ee){var en;try{en=ee.getBoundingClientRect()}catch(ee){}return en?(en.width&&en.height||(en={top:en.top,right:en.right,bottom:en.bottom,left:en.left,width:en.right-en.left,height:en.bottom-en.top}),en):ex()}function ex(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function eg(ee){return!ee||"x"in ee?ee:{top:ee.top,y:ee.top,bottom:ee.bottom,left:ee.left,x:ee.left,right:ee.right,width:ee.width,height:ee.height}}function ev(ee,en){var er=en.top-ee.top,ei=en.left-ee.left;return{top:er,left:ei,height:en.height,width:en.width,bottom:er+en.height,right:ei+en.width}}function ey(ee,en){for(var er=en;er;){if(er==ee)return!0;er=eb(er)}return!1}function eb(en){var er=en.parentNode;return 9==en.nodeType&&en!=ee?eo(en):(er&&er.assignedSlot&&(er=er.assignedSlot.parentNode),er&&11==er.nodeType&&er.host)?er.host:er}function ew(ee){return ee&&9===ee.nodeType}}()},9073:function(ee,en,er){"use strict";var ei=er(2337);function eo(ee){if(Array.isArray(ee))return -1!==ee.indexOf("ssh")||-1!==ee.indexOf("rsync");if("string"!=typeof ee)return!1;var en=ei(ee);if(ee=ee.substring(ee.indexOf("://")+3),eo(en))return!0;var er=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!ee.match(er)&&ee.indexOf("@")-1}function eJ(ee,en){var er=this.__data__,ei=e5(er,ee);return ei<0?er.push([ee,en]):er[ei][1]=en,this}function eX(ee){var en=-1,er=ee?ee.length:0;for(this.clear();++en{}).then(()=>{if(ee.parentElement&&ee.isConnected){if("empty"!==en&&eo(!0),null==er?void 0:er.current){let en=new Event("load");Object.defineProperty(en,"target",{writable:!1,value:ee});let ei=!1,eo=!1;er.current({...en,nativeEvent:en,currentTarget:ee,target:ee,isDefaultPrevented:()=>ei,isPropagationStopped:()=>eo,persist:()=>{},preventDefault:()=>{ei=!0,en.preventDefault()},stopPropagation:()=>{eo=!0,en.stopPropagation()}})}(null==ei?void 0:ei.current)&&ei.current(ee)}})}function ev(ee){let[en,er]=es.version.split("."),ei=parseInt(en,10),eo=parseInt(er,10);return ei>18||18===ei&&eo>=3?{fetchPriority:ee}:{fetchpriority:ee}}let ey=(0,es.forwardRef)((ee,en)=>{let{src:er,srcSet:ei,sizes:eo,height:eu,width:ec,decoding:ed,className:ef,style:eh,fetchPriority:ep,placeholder:em,loading:ex,unoptimized:ey,fill:eb,onLoadRef:ew,onLoadingCompleteRef:ek,setBlurComplete:e_,setShowAltText:ej,onLoad:eO,onError:eE,...eC}=ee;return es.default.createElement("img",{...eC,...ev(ep),loading:ex,width:ec,height:eu,decoding:ed,"data-nimg":eb?"fill":"1",className:ef,style:eh,sizes:eo,srcSet:ei,src:er,ref:(0,es.useCallback)(ee=>{en&&("function"==typeof en?en(ee):"object"==typeof en&&(en.current=ee)),ee&&(eE&&(ee.src=ee.src),ee.complete&&eg(ee,em,ew,ek,e_,ey))},[er,em,ew,ek,e_,eE,ey,en]),onLoad:ee=>{let en=ee.currentTarget;eg(en,em,ew,ek,e_,ey)},onError:ee=>{ej(!0),"empty"!==em&&e_(!0),eE&&eE(ee)}})});function eb(ee){let{isAppRouter:en,imgAttributes:er}=ee,ei={as:"image",imageSrcSet:er.srcSet,imageSizes:er.sizes,crossOrigin:er.crossOrigin,referrerPolicy:er.referrerPolicy,...ev(er.fetchPriority)};return en&&eu.preload?((0,eu.preload)(er.src,ei),null):es.default.createElement(ec.default,null,es.default.createElement("link",{key:"__nimg-"+er.src+er.srcSet+er.sizes,rel:"preload",href:er.srcSet?void 0:er.src,...ei}))}let ew=(0,es.forwardRef)((ee,en)=>{let er=(0,es.useContext)(ep.RouterContext),ei=!er,eo=(0,es.useContext)(eh.ImageConfigContext),eu=(0,es.useMemo)(()=>{let ee=ex||eo||ef.imageConfigDefault,en=[...ee.deviceSizes,...ee.imageSizes].sort((ee,en)=>ee-en),er=ee.deviceSizes.sort((ee,en)=>ee-en);return{...ee,allSizes:en,deviceSizes:er}},[eo]),{onLoad:ec,onLoadingComplete:eg}=ee,ev=(0,es.useRef)(ec);(0,es.useEffect)(()=>{ev.current=ec},[ec]);let ew=(0,es.useRef)(eg);(0,es.useEffect)(()=>{ew.current=eg},[eg]);let[ek,e_]=(0,es.useState)(!1),[ej,eO]=(0,es.useState)(!1),{props:eE,meta:eC}=(0,ed.getImgProps)(ee,{defaultLoader:em.default,imgConf:eu,blurComplete:ek,showAltText:ej});return es.default.createElement(es.default.Fragment,null,es.default.createElement(ey,{...eE,unoptimized:eC.unoptimized,placeholder:eC.placeholder,fill:eC.fill,onLoadRef:ev,onLoadingCompleteRef:ew,setBlurComplete:e_,setShowAltText:eO,ref:en}),eC.priority?es.default.createElement(eb,{isAppRouter:ei,imgAttributes:eE}):null)});("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},5569:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return eO}});let ei=er(8754),eo=ei._(er(7294)),es=er(4532),eu=er(3353),ec=er(1410),ed=er(9064),ef=er(370),eh=er(9955),ep=er(4224),em=er(508),ex=er(1516),eg=er(4266),ev=er(3991),ey=new Set;function eb(ee,en,er,ei,eo,es){if(!es&&!(0,eu.isLocalURL)(en))return;if(!ei.bypassPrefetchedCheck){let eo=void 0!==ei.locale?ei.locale:"locale"in ee?ee.locale:void 0,es=en+"%"+er+"%"+eo;if(ey.has(es))return;ey.add(es)}let ec=es?ee.prefetch(en,eo):ee.prefetch(en,er,ei);Promise.resolve(ec).catch(ee=>{})}function ew(ee){let en=ee.currentTarget,er=en.getAttribute("target");return er&&"_self"!==er||ee.metaKey||ee.ctrlKey||ee.shiftKey||ee.altKey||ee.nativeEvent&&2===ee.nativeEvent.which}function ek(ee,en,er,ei,es,ec,ed,ef,eh,ep){let{nodeName:em}=ee.currentTarget,ex="A"===em.toUpperCase();if(ex&&(ew(ee)||!eh&&!(0,eu.isLocalURL)(er)))return;ee.preventDefault();let eg=()=>{let ee=null==ed||ed;"beforePopState"in en?en[es?"replace":"push"](er,ei,{shallow:ec,locale:ef,scroll:ee}):en[es?"replace":"push"](ei||er,{forceOptimisticNavigation:!ep,scroll:ee})};eh?eo.default.startTransition(eg):eg()}function e_(ee){return"string"==typeof ee?ee:(0,ec.formatUrl)(ee)}let ej=eo.default.forwardRef(function(ee,en){let er,ei;let{href:eu,as:ec,children:ey,prefetch:ew=null,passHref:ej,replace:eO,shallow:eE,scroll:eC,locale:eT,onClick:eS,onMouseEnter:eN,onTouchStart:eI,legacyBehavior:eR=!1,...eL}=ee;er=ey,eR&&("string"==typeof er||"number"==typeof er)&&(er=eo.default.createElement("a",null,er));let eA=eo.default.useContext(eh.RouterContext),eP=eo.default.useContext(ep.AppRouterContext),eM=null!=eA?eA:eP,eD=!eA,eF=!1!==ew,e$=null===ew?ev.PrefetchKind.AUTO:ev.PrefetchKind.FULL,{href:eZ,as:ez}=eo.default.useMemo(()=>{if(!eA){let ee=e_(eu);return{href:ee,as:ec?e_(ec):ee}}let[ee,en]=(0,es.resolveHref)(eA,eu,!0);return{href:ee,as:ec?(0,es.resolveHref)(eA,ec):en||ee}},[eA,eu,ec]),eW=eo.default.useRef(eZ),eH=eo.default.useRef(ez);eR&&(ei=eo.default.Children.only(er));let eU=eR?ei&&"object"==typeof ei&&ei.ref:en,[eG,eB,eV]=(0,em.useIntersection)({rootMargin:"200px"}),eK=eo.default.useCallback(ee=>{(eH.current!==ez||eW.current!==eZ)&&(eV(),eH.current=ez,eW.current=eZ),eG(ee),eU&&("function"==typeof eU?eU(ee):"object"==typeof eU&&(eU.current=ee))},[ez,eU,eZ,eV,eG]);eo.default.useEffect(()=>{eM&&eB&&eF&&eb(eM,eZ,ez,{locale:eT},{kind:e$},eD)},[ez,eZ,eB,eT,eF,null==eA?void 0:eA.locale,eM,eD,e$]);let eQ={ref:eK,onClick(ee){eR||"function"!=typeof eS||eS(ee),eR&&ei.props&&"function"==typeof ei.props.onClick&&ei.props.onClick(ee),eM&&!ee.defaultPrevented&&ek(ee,eM,eZ,ez,eO,eE,eC,eT,eD,eF)},onMouseEnter(ee){eR||"function"!=typeof eN||eN(ee),eR&&ei.props&&"function"==typeof ei.props.onMouseEnter&&ei.props.onMouseEnter(ee),eM&&(eF||!eD)&&eb(eM,eZ,ez,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:e$},eD)},onTouchStart(ee){eR||"function"!=typeof eI||eI(ee),eR&&ei.props&&"function"==typeof ei.props.onTouchStart&&ei.props.onTouchStart(ee),eM&&(eF||!eD)&&eb(eM,eZ,ez,{locale:eT,priority:!0,bypassPrefetchedCheck:!0},{kind:e$},eD)}};if((0,ed.isAbsoluteUrl)(ez))eQ.href=ez;else if(!eR||ej||"a"===ei.type&&!("href"in ei.props)){let ee=void 0!==eT?eT:null==eA?void 0:eA.locale,en=(null==eA?void 0:eA.isLocaleDomain)&&(0,ex.getDomainLocale)(ez,ee,null==eA?void 0:eA.locales,null==eA?void 0:eA.domainLocales);eQ.href=en||(0,eg.addBasePath)((0,ef.addLocale)(ez,ee,null==eA?void 0:eA.defaultLocale))}return eR?eo.default.cloneElement(ei,eQ):eo.default.createElement("a",{...eL,...eQ},er)}),eO=ej;("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},508:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"useIntersection",{enumerable:!0,get:function(){return eh}});let ei=er(7294),eo=er(29),es="function"==typeof IntersectionObserver,eu=new Map,ec=[];function ed(ee){let en;let er={root:ee.root||null,margin:ee.rootMargin||""},ei=ec.find(ee=>ee.root===er.root&&ee.margin===er.margin);if(ei&&(en=eu.get(ei)))return en;let eo=new Map,es=new IntersectionObserver(ee=>{ee.forEach(ee=>{let en=eo.get(ee.target),er=ee.isIntersecting||ee.intersectionRatio>0;en&&er&&en(er)})},ee);return en={id:er,observer:es,elements:eo},ec.push(er),eu.set(er,en),en}function ef(ee,en,er){let{id:ei,observer:eo,elements:es}=ed(er);return es.set(ee,en),eo.observe(ee),function(){if(es.delete(ee),eo.unobserve(ee),0===es.size){eo.disconnect(),eu.delete(ei);let ee=ec.findIndex(ee=>ee.root===ei.root&&ee.margin===ei.margin);ee>-1&&ec.splice(ee,1)}}}function eh(ee){let{rootRef:en,rootMargin:er,disabled:eu}=ee,ec=eu||!es,[ed,eh]=(0,ei.useState)(!1),ep=(0,ei.useRef)(null),em=(0,ei.useCallback)(ee=>{ep.current=ee},[]);(0,ei.useEffect)(()=>{if(es){if(ec||ed)return;let ee=ep.current;if(ee&&ee.tagName){let ei=ef(ee,ee=>ee&&eh(ee),{root:null==en?void 0:en.current,rootMargin:er});return ei}}else if(!ed){let ee=(0,eo.requestIdleCallback)(()=>eh(!0));return()=>(0,eo.cancelIdleCallback)(ee)}},[ec,er,en,ed,ep.current]);let ex=(0,ei.useCallback)(()=>{eh(!1)},[]);return[em,ed,ex]}("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esModule",{value:!0}),Object.assign(en.default,en),ee.exports=en.default)},5471:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImgProps",{enumerable:!0,get:function(){return ep}}),er(4210);let ei=er(7757),eo=er(3735);function es(ee){return void 0!==ee.default}function eu(ee){return void 0!==ee.src}function ec(ee){return"object"==typeof ee&&(es(ee)||eu(ee))}function ed(ee){return void 0===ee?ee:"number"==typeof ee?Number.isFinite(ee)?ee:NaN:"string"==typeof ee&&/^[0-9]+$/.test(ee)?parseInt(ee,10):NaN}function ef(ee,en,er){let{deviceSizes:ei,allSizes:eo}=ee;if(er){let ee=/(^|\s)(1?\d?\d)vw/g,en=[];for(let ei;ei=ee.exec(er);ei)en.push(parseInt(ei[2]));if(en.length){let ee=.01*Math.min(...en);return{widths:eo.filter(en=>en>=ei[0]*ee),kind:"w"}}return{widths:eo,kind:"w"}}if("number"!=typeof en)return{widths:ei,kind:"w"};let es=[...new Set([en,2*en].map(ee=>eo.find(en=>en>=ee)||eo[eo.length-1]))];return{widths:es,kind:"x"}}function eh(ee){let{config:en,src:er,unoptimized:ei,width:eo,quality:es,sizes:eu,loader:ec}=ee;if(ei)return{src:er,srcSet:void 0,sizes:void 0};let{widths:ed,kind:eh}=ef(en,eo,eu),ep=ed.length-1;return{sizes:eu||"w"!==eh?eu:"100vw",srcSet:ed.map((ee,ei)=>ec({config:en,src:er,quality:es,width:ee})+" "+("w"===eh?ee:ei+1)+eh).join(", "),src:ec({config:en,src:er,quality:es,width:ed[ep]})}}function ep(ee,en){let er,eu,ef,{src:ep,sizes:em,unoptimized:ex=!1,priority:eg=!1,loading:ev,className:ey,quality:eb,width:ew,height:ek,fill:e_=!1,style:ej,onLoad:eO,onLoadingComplete:eE,placeholder:eC="empty",blurDataURL:eT,fetchPriority:eS,layout:eN,objectFit:eI,objectPosition:eR,lazyBoundary:eL,lazyRoot:eA,...eP}=ee,{imgConf:eM,showAltText:eD,blurComplete:eF,defaultLoader:e$}=en,eZ=eM||eo.imageConfigDefault;if("allSizes"in eZ)er=eZ;else{let ee=[...eZ.deviceSizes,...eZ.imageSizes].sort((ee,en)=>ee-en),en=eZ.deviceSizes.sort((ee,en)=>ee-en);er={...eZ,allSizes:ee,deviceSizes:en}}let ez=eP.loader||e$;delete eP.loader,delete eP.srcSet;let eW="__next_img_default"in ez;if(eW){if("custom"===er.loader)throw Error('Image with src "'+ep+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let ee=ez;ez=en=>{let{config:er,...ei}=en;return ee(ei)}}if(eN){"fill"===eN&&(e_=!0);let ee={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}},en={responsive:"100vw",fill:"100vw"},er=ee[eN];er&&(ej={...ej,...er});let ei=en[eN];ei&&!em&&(em=ei)}let eH="",eU=ed(ew),eG=ed(ek);if(ec(ep)){let ee=es(ep)?ep.default:ep;if(!ee.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(ee));if(!ee.height||!ee.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(ee));if(eu=ee.blurWidth,ef=ee.blurHeight,eT=eT||ee.blurDataURL,eH=ee.src,!e_){if(eU||eG){if(eU&&!eG){let en=eU/ee.width;eG=Math.round(ee.height*en)}else if(!eU&&eG){let en=eG/ee.height;eU=Math.round(ee.width*en)}}else eU=ee.width,eG=ee.height}}let eB=!eg&&("lazy"===ev||void 0===ev);(!(ep="string"==typeof ep?ep:eH)||ep.startsWith("data:")||ep.startsWith("blob:"))&&(ex=!0,eB=!1),er.unoptimized&&(ex=!0),eW&&ep.endsWith(".svg")&&!er.dangerouslyAllowSVG&&(ex=!0),eg&&(eS="high");let eV=ed(eb),eK=Object.assign(e_?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:eI,objectPosition:eR}:{},eD?{}:{color:"transparent"},ej),eQ=eF||"empty"===eC?null:"blur"===eC?'url("data:image/svg+xml;charset=utf-8,'+(0,ei.getImageBlurSvg)({widthInt:eU,heightInt:eG,blurWidth:eu,blurHeight:ef,blurDataURL:eT||"",objectFit:eK.objectFit})+'")':'url("'+eC+'")',eJ=eQ?{backgroundSize:eK.objectFit||"cover",backgroundPosition:eK.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eQ}:{},eX=eh({config:er,src:ep,unoptimized:ex,width:eU,quality:eV,sizes:em,loader:ez}),eY={...eP,loading:eB?"lazy":ev,fetchPriority:eS,width:eU,height:eG,decoding:"async",className:ey,style:{...eK,...eJ},sizes:eX.sizes,srcSet:eX.srcSet,src:eX.src},e0={unoptimized:ex,priority:eg,placeholder:eC,fill:e_};return{props:eY,meta:e0}}},7757:function(ee,en){"use strict";function er(ee){let{widthInt:en,heightInt:er,blurWidth:ei,blurHeight:eo,blurDataURL:es,objectFit:eu}=ee,ec=20,ed=ei?40*ei:en,ef=eo?40*eo:er,eh=ed&&ef?"viewBox='0 0 "+ed+" "+ef+"'":"",ep=eh?"none":"contain"===eu?"xMidYMid":"cover"===eu?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+eh+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+ec+"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='"+ec+"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+ep+"' style='filter: url(%23b);' href='"+es+"'/%3E%3C/svg%3E"}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getImageBlurSvg",{enumerable:!0,get:function(){return er}})},2555:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{default:function(){return ef},unstable_getImgProps:function(){return ed}});let ei=er(8754),eo=er(5471),es=er(4210),eu=er(8872),ec=ei._(er(7746)),ed=ee=>{(0,es.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:en}=(0,eo.getImgProps)(ee,{defaultLoader:ec.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[ee,er]of Object.entries(en))void 0===er&&delete en[ee];return{props:en}},ef=eu.Image},7746:function(ee,en){"use strict";function er(ee){let{config:en,src:er,width:ei,quality:eo}=ee;return en.path+"?url="+encodeURIComponent(er)+"&w="+ei+"&q="+(eo||75)}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"default",{enumerable:!0,get:function(){return ei}}),er.__next_img_default=!0;let ei=er},9966:function(){},1864:function(ee){var en="/";!function(){"use strict";var er={114:function(ee){function en(ee){if("string"!=typeof ee)throw TypeError("Path must be a string. Received "+JSON.stringify(ee))}function er(ee,en){for(var er,ei="",eo=0,es=-1,eu=0,ec=0;ec<=ee.length;++ec){if(ec2){var ed=ei.lastIndexOf("/");if(ed!==ei.length-1){-1===ed?(ei="",eo=0):eo=(ei=ei.slice(0,ed)).length-1-ei.lastIndexOf("/"),es=ec,eu=0;continue}}else if(2===ei.length||1===ei.length){ei="",eo=0,es=ec,eu=0;continue}}en&&(ei.length>0?ei+="/..":ei="..",eo=2)}else ei.length>0?ei+="/"+ee.slice(es+1,ec):ei=ee.slice(es+1,ec),eo=ec-es-1;es=ec,eu=0}else 46===er&&-1!==eu?++eu:eu=-1}return ei}function ei(ee,en){var er=en.dir||en.root,ei=en.base||(en.name||"")+(en.ext||"");return er?er===en.root?er+ei:er+ee+ei:ei}var eo={resolve:function(){for(var ee,ei,eo="",es=!1,eu=arguments.length-1;eu>=-1&&!es;eu--)eu>=0?ei=arguments[eu]:(void 0===ee&&(ee=""),ei=ee),en(ei),0!==ei.length&&(eo=ei+"/"+eo,es=47===ei.charCodeAt(0));return(eo=er(eo,!es),es)?eo.length>0?"/"+eo:"/":eo.length>0?eo:"."},normalize:function(ee){if(en(ee),0===ee.length)return".";var ei=47===ee.charCodeAt(0),eo=47===ee.charCodeAt(ee.length-1);return(0!==(ee=er(ee,!ei)).length||ei||(ee="."),ee.length>0&&eo&&(ee+="/"),ei)?"/"+ee:ee},isAbsolute:function(ee){return en(ee),ee.length>0&&47===ee.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var ee,er=0;er0&&(void 0===ee?ee=ei:ee+="/"+ei)}return void 0===ee?".":eo.normalize(ee)},relative:function(ee,er){if(en(ee),en(er),ee===er||(ee=eo.resolve(ee))===(er=eo.resolve(er)))return"";for(var ei=1;eief){if(47===er.charCodeAt(ec+ep))return er.slice(ec+ep+1);if(0===ep)return er.slice(ec+ep)}else eu>ef&&(47===ee.charCodeAt(ei+ep)?eh=ep:0===ep&&(eh=0));break}var em=ee.charCodeAt(ei+ep);if(em!==er.charCodeAt(ec+ep))break;47===em&&(eh=ep)}var ex="";for(ep=ei+eh+1;ep<=es;++ep)(ep===es||47===ee.charCodeAt(ep))&&(0===ex.length?ex+="..":ex+="/..");return ex.length>0?ex+er.slice(ec+eh):(ec+=eh,47===er.charCodeAt(ec)&&++ec,er.slice(ec))},_makeLong:function(ee){return ee},dirname:function(ee){if(en(ee),0===ee.length)return".";for(var er=ee.charCodeAt(0),ei=47===er,eo=-1,es=!0,eu=ee.length-1;eu>=1;--eu)if(47===(er=ee.charCodeAt(eu))){if(!es){eo=eu;break}}else es=!1;return -1===eo?ei?"/":".":ei&&1===eo?"//":ee.slice(0,eo)},basename:function(ee,er){if(void 0!==er&&"string"!=typeof er)throw TypeError('"ext" argument must be a string');en(ee);var ei,eo=0,es=-1,eu=!0;if(void 0!==er&&er.length>0&&er.length<=ee.length){if(er.length===ee.length&&er===ee)return"";var ec=er.length-1,ed=-1;for(ei=ee.length-1;ei>=0;--ei){var ef=ee.charCodeAt(ei);if(47===ef){if(!eu){eo=ei+1;break}}else -1===ed&&(eu=!1,ed=ei+1),ec>=0&&(ef===er.charCodeAt(ec)?-1==--ec&&(es=ei):(ec=-1,es=ed))}return eo===es?es=ed:-1===es&&(es=ee.length),ee.slice(eo,es)}for(ei=ee.length-1;ei>=0;--ei)if(47===ee.charCodeAt(ei)){if(!eu){eo=ei+1;break}}else -1===es&&(eu=!1,es=ei+1);return -1===es?"":ee.slice(eo,es)},extname:function(ee){en(ee);for(var er=-1,ei=0,eo=-1,es=!0,eu=0,ec=ee.length-1;ec>=0;--ec){var ed=ee.charCodeAt(ec);if(47===ed){if(!es){ei=ec+1;break}continue}-1===eo&&(es=!1,eo=ec+1),46===ed?-1===er?er=ec:1!==eu&&(eu=1):-1!==er&&(eu=-1)}return -1===er||-1===eo||0===eu||1===eu&&er===eo-1&&er===ei+1?"":ee.slice(er,eo)},format:function(ee){if(null===ee||"object"!=typeof ee)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ee);return ei("/",ee)},parse:function(ee){en(ee);var er,ei={root:"",dir:"",base:"",ext:"",name:""};if(0===ee.length)return ei;var eo=ee.charCodeAt(0),es=47===eo;es?(ei.root="/",er=1):er=0;for(var eu=-1,ec=0,ed=-1,ef=!0,eh=ee.length-1,ep=0;eh>=er;--eh){if(47===(eo=ee.charCodeAt(eh))){if(!ef){ec=eh+1;break}continue}-1===ed&&(ef=!1,ed=eh+1),46===eo?-1===eu?eu=eh:1!==ep&&(ep=1):-1!==eu&&(ep=-1)}return -1===eu||-1===ed||0===ep||1===ep&&eu===ed-1&&eu===ec+1?-1!==ed&&(0===ec&&es?ei.base=ei.name=ee.slice(1,ed):ei.base=ei.name=ee.slice(ec,ed)):(0===ec&&es?(ei.name=ee.slice(1,eu),ei.base=ee.slice(1,ed)):(ei.name=ee.slice(ec,eu),ei.base=ee.slice(ec,ed)),ei.ext=ee.slice(eu,ed)),ec>0?ei.dir=ee.slice(0,ec-1):es&&(ei.dir="/"),ei},sep:"/",delimiter:":",win32:null,posix:null};eo.posix=eo,ee.exports=eo}},ei={};function eo(ee){var en=ei[ee];if(void 0!==en)return en.exports;var es=ei[ee]={exports:{}},eu=!0;try{er[ee](es,es.exports,eo),eu=!1}finally{eu&&delete ei[ee]}return es.exports}eo.ab=en+"/";var es=eo(114);ee.exports=es}()},7663:function(ee){var en="/";!function(){var er={229:function(ee){var en,er,ei,eo=ee.exports={};function es(){throw Error("setTimeout has not been defined")}function eu(){throw Error("clearTimeout has not been defined")}function ec(ee){if(en===setTimeout)return setTimeout(ee,0);if((en===es||!en)&&setTimeout)return en=setTimeout,setTimeout(ee,0);try{return en(ee,0)}catch(er){try{return en.call(null,ee,0)}catch(er){return en.call(this,ee,0)}}}function ed(ee){if(er===clearTimeout)return clearTimeout(ee);if((er===eu||!er)&&clearTimeout)return er=clearTimeout,clearTimeout(ee);try{return er(ee)}catch(en){try{return er.call(null,ee)}catch(en){return er.call(this,ee)}}}!function(){try{en="function"==typeof setTimeout?setTimeout:es}catch(ee){en=es}try{er="function"==typeof clearTimeout?clearTimeout:eu}catch(ee){er=eu}}();var ef=[],eh=!1,ep=-1;function em(){eh&&ei&&(eh=!1,ei.length?ef=ei.concat(ef):ep=-1,ef.length&&ex())}function ex(){if(!eh){var ee=ec(em);eh=!0;for(var en=ef.length;en;){for(ei=ef,ef=[];++ep1)for(var er=1;er{en(!0)},[]),ee}var eD=er(7222),eF="https://nextra.vercel.app",e$=()=>{let{locale:ee=eD.ZW,asPath:en,route:er}=(0,eI.useRouter)();return(0,eR.useMemo)(()=>{let ei=eD.hV.has(er)?er:en,{pathname:eo}=new URL(ei,eF),es=ee?eo.replace(RegExp(`\\.${ee}(\\/|$)`),"$1"):eo;return es.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[en,ee,er])},eZ=er(1151),ez=er(5893);function eW({pathClassName:ee,...en}){return(0,ez.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...en,children:(0,ez.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:ee})})}function eH(ee){return(0,ez.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...ee,children:(0,ez.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function eU(ee){return(0,ez.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...ee,children:[(0,ez.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ez.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function eG(ee){return(0,ez.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...ee,children:[(0,ez.jsx)("title",{children:"Discord"}),(0,ez.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function eB({isOpen:ee,...en}){return(0,ez.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...en,children:[(0,ez.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:ee?"":"nx-origin-[35%] nx-rotate-180"}),(0,ez.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function eV(ee){return(0,ez.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...ee,children:[(0,ez.jsx)("title",{children:"GitHub"}),(0,ez.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function eK(ee){return(0,ez.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...ee,children:(0,ez.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function eQ(ee){return(0,ez.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...ee,children:(0,ez.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function eJ(ee){return(0,ez.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...ee,children:[(0,ez.jsx)("g",{children:(0,ez.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,ez.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,ez.jsx)("g",{children:(0,ez.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function eX(ee){return(0,ez.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,ez.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function eY(ee){return(0,ez.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:[(0,ez.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,ez.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function e0(ee){return(0,ez.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,ez.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function e1(ee){return(0,ez.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:(0,ez.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function e2(ee){return(0,ez.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...ee,children:(0,ez.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}!function(ee){function en(ee){}function er(ee){throw Error()}function ei(ee,en=" | "){return ee.map(ee=>"string"==typeof ee?`'${ee}'`:ee).join(en)}ee.assertEqual=ee=>ee,ee.assertIs=en,ee.assertNever=er,ee.arrayToEnum=ee=>{let en={};for(let er of ee)en[er]=er;return en},ee.getValidEnumValues=en=>{let er=ee.objectKeys(en).filter(ee=>"number"!=typeof en[en[ee]]),ei={};for(let ee of er)ei[ee]=en[ee];return ee.objectValues(ei)},ee.objectValues=en=>ee.objectKeys(en).map(function(ee){return en[ee]}),ee.objectKeys="function"==typeof Object.keys?ee=>Object.keys(ee):ee=>{let en=[];for(let er in ee)Object.prototype.hasOwnProperty.call(ee,er)&&en.push(er);return en},ee.find=(ee,en)=>{for(let er of ee)if(en(er))return er},ee.isInteger="function"==typeof Number.isInteger?ee=>Number.isInteger(ee):ee=>"number"==typeof ee&&isFinite(ee)&&Math.floor(ee)===ee,ee.joinValues=ei,ee.jsonStringifyReplacer=(ee,en)=>"bigint"==typeof en?en.toString():en}(eO||(eO={})),function(ee){ee.mergeShapes=(ee,en)=>({...ee,...en})}(eE||(eE={}));let e4=eO.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),e5=ee=>{let en=typeof ee;switch(en){case"undefined":return e4.undefined;case"string":return e4.string;case"number":return isNaN(ee)?e4.nan:e4.number;case"boolean":return e4.boolean;case"function":return e4.function;case"bigint":return e4.bigint;case"symbol":return e4.symbol;case"object":if(Array.isArray(ee))return e4.array;if(null===ee)return e4.null;if(ee.then&&"function"==typeof ee.then&&ee.catch&&"function"==typeof ee.catch)return e4.promise;if("undefined"!=typeof Map&&ee instanceof Map)return e4.map;if("undefined"!=typeof Set&&ee instanceof Set)return e4.set;if("undefined"!=typeof Date&&ee instanceof Date)return e4.date;return e4.object;default:return e4.unknown}},e3=eO.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),e6=ee=>{let en=JSON.stringify(ee,null,2);return en.replace(/"([^"]+)":/g,"$1:")};class e7 extends Error{constructor(ee){super(),this.issues=[],this.addIssue=ee=>{this.issues=[...this.issues,ee]},this.addIssues=(ee=[])=>{this.issues=[...this.issues,...ee]};let en=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,en):this.__proto__=en,this.name="ZodError",this.issues=ee}get errors(){return this.issues}format(ee){let en=ee||function(ee){return ee.message},er={_errors:[]},ei=ee=>{for(let eo of ee.issues)if("invalid_union"===eo.code)eo.unionErrors.map(ei);else if("invalid_return_type"===eo.code)ei(eo.returnTypeError);else if("invalid_arguments"===eo.code)ei(eo.argumentsError);else if(0===eo.path.length)er._errors.push(en(eo));else{let ee=er,ei=0;for(;eiee.message){let en={},er=[];for(let ei of this.issues)ei.path.length>0?(en[ei.path[0]]=en[ei.path[0]]||[],en[ei.path[0]].push(ee(ei))):er.push(ee(ei));return{formErrors:er,fieldErrors:en}}get formErrors(){return this.flatten()}}e7.create=ee=>{let en=new e7(ee);return en};let e9=(ee,en)=>{let er;switch(ee.code){case e3.invalid_type:er=ee.received===e4.undefined?"Required":`Expected ${ee.expected}, received ${ee.received}`;break;case e3.invalid_literal:er=`Invalid literal value, expected ${JSON.stringify(ee.expected,eO.jsonStringifyReplacer)}`;break;case e3.unrecognized_keys:er=`Unrecognized key(s) in object: ${eO.joinValues(ee.keys,", ")}`;break;case e3.invalid_union:er="Invalid input";break;case e3.invalid_union_discriminator:er=`Invalid discriminator value. Expected ${eO.joinValues(ee.options)}`;break;case e3.invalid_enum_value:er=`Invalid enum value. Expected ${eO.joinValues(ee.options)}, received '${ee.received}'`;break;case e3.invalid_arguments:er="Invalid function arguments";break;case e3.invalid_return_type:er="Invalid function return type";break;case e3.invalid_date:er="Invalid date";break;case e3.invalid_string:"object"==typeof ee.validation?"includes"in ee.validation?(er=`Invalid input: must include "${ee.validation.includes}"`,"number"==typeof ee.validation.position&&(er=`${er} at one or more positions greater than or equal to ${ee.validation.position}`)):"startsWith"in ee.validation?er=`Invalid input: must start with "${ee.validation.startsWith}"`:"endsWith"in ee.validation?er=`Invalid input: must end with "${ee.validation.endsWith}"`:eO.assertNever(ee.validation):er="regex"!==ee.validation?`Invalid ${ee.validation}`:"Invalid";break;case e3.too_small:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at least":"more than"} ${ee.minimum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at least":"over"} ${ee.minimum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${ee.minimum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly equal to ":ee.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(ee.minimum))}`:"Invalid input";break;case e3.too_big:er="array"===ee.type?`Array must contain ${ee.exact?"exactly":ee.inclusive?"at most":"less than"} ${ee.maximum} element(s)`:"string"===ee.type?`String must contain ${ee.exact?"exactly":ee.inclusive?"at most":"under"} ${ee.maximum} character(s)`:"number"===ee.type?`Number must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"bigint"===ee.type?`BigInt must be ${ee.exact?"exactly":ee.inclusive?"less than or equal to":"less than"} ${ee.maximum}`:"date"===ee.type?`Date must be ${ee.exact?"exactly":ee.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(ee.maximum))}`:"Invalid input";break;case e3.custom:er="Invalid input";break;case e3.invalid_intersection_types:er="Intersection results could not be merged";break;case e3.not_multiple_of:er=`Number must be a multiple of ${ee.multipleOf}`;break;case e3.not_finite:er="Number must be finite";break;default:er=en.defaultError,eO.assertNever(ee)}return{message:er}},e8=e9;function te(ee){e8=ee}function tn(){return e8}let tr=ee=>{let{data:en,path:er,errorMaps:ei,issueData:eo}=ee,es=[...er,...eo.path||[]],eu={...eo,path:es},ec="",ed=ei.filter(ee=>!!ee).slice().reverse();for(let ee of ed)ec=ee(eu,{data:en,defaultError:ec}).message;return{...eo,path:es,message:eo.message||ec}},ti=[];function to(ee,en){let er=tr({issueData:en,data:ee.data,path:ee.path,errorMaps:[ee.common.contextualErrorMap,ee.schemaErrorMap,tn(),e9].filter(ee=>!!ee)});ee.common.issues.push(er)}class ts{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(ee,en){let er=[];for(let ei of en){if("aborted"===ei.status)return tl;"dirty"===ei.status&&ee.dirty(),er.push(ei.value)}return{status:ee.value,value:er}}static async mergeObjectAsync(ee,en){let er=[];for(let ee of en)er.push({key:await ee.key,value:await ee.value});return ts.mergeObjectSync(ee,er)}static mergeObjectSync(ee,en){let er={};for(let ei of en){let{key:en,value:eo}=ei;if("aborted"===en.status||"aborted"===eo.status)return tl;"dirty"===en.status&&ee.dirty(),"dirty"===eo.status&&ee.dirty(),(void 0!==eo.value||ei.alwaysSet)&&(er[en.value]=eo.value)}return{status:ee.value,value:er}}}let tl=Object.freeze({status:"aborted"}),tu=ee=>({status:"dirty",value:ee}),tc=ee=>({status:"valid",value:ee}),td=ee=>"aborted"===ee.status,tf=ee=>"dirty"===ee.status,th=ee=>"valid"===ee.status,tp=ee=>"undefined"!=typeof Promise&&ee instanceof Promise;!function(ee){ee.errToObj=ee=>"string"==typeof ee?{message:ee}:ee||{},ee.toString=ee=>"string"==typeof ee?ee:null==ee?void 0:ee.message}(eC||(eC={}));class tm{constructor(ee,en,er,ei){this._cachedPath=[],this.parent=ee,this.data=en,this._path=er,this._key=ei}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let tx=(ee,en)=>{if(th(en))return{success:!0,data:en.value};if(!ee.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let en=new e7(ee.common.issues);return this._error=en,this._error}}};function tg(ee){if(!ee)return{};let{errorMap:en,invalid_type_error:er,required_error:ei,description:eo}=ee;if(en&&(er||ei))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(en)return{errorMap:en,description:eo};let es=(ee,en)=>"invalid_type"!==ee.code?{message:en.defaultError}:void 0===en.data?{message:null!=ei?ei:en.defaultError}:{message:null!=er?er:en.defaultError};return{errorMap:es,description:eo}}class tv{constructor(ee){this.spa=this.safeParseAsync,this._def=ee,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(ee){return e5(ee.data)}_getOrReturnCtx(ee,en){return en||{common:ee.parent.common,data:ee.data,parsedType:e5(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}_processInputParams(ee){return{status:new ts,ctx:{common:ee.parent.common,data:ee.data,parsedType:e5(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}}_parseSync(ee){let en=this._parse(ee);if(tp(en))throw Error("Synchronous parse encountered promise.");return en}_parseAsync(ee){let en=this._parse(ee);return Promise.resolve(en)}parse(ee,en){let er=this.safeParse(ee,en);if(er.success)return er.data;throw er.error}safeParse(ee,en){var er;let ei={common:{issues:[],async:null!==(er=null==en?void 0:en.async)&&void 0!==er&&er,contextualErrorMap:null==en?void 0:en.errorMap},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:e5(ee)},eo=this._parseSync({data:ee,path:ei.path,parent:ei});return tx(ei,eo)}async parseAsync(ee,en){let er=await this.safeParseAsync(ee,en);if(er.success)return er.data;throw er.error}async safeParseAsync(ee,en){let er={common:{issues:[],contextualErrorMap:null==en?void 0:en.errorMap,async:!0},path:(null==en?void 0:en.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:ee,parsedType:e5(ee)},ei=this._parse({data:ee,path:er.path,parent:er}),eo=await (tp(ei)?ei:Promise.resolve(ei));return tx(er,eo)}refine(ee,en){let er=ee=>"string"==typeof en||void 0===en?{message:en}:"function"==typeof en?en(ee):en;return this._refinement((en,ei)=>{let eo=ee(en),es=()=>ei.addIssue({code:e3.custom,...er(en)});return"undefined"!=typeof Promise&&eo instanceof Promise?eo.then(ee=>!!ee||(es(),!1)):!!eo||(es(),!1)})}refinement(ee,en){return this._refinement((er,ei)=>!!ee(er)||(ei.addIssue("function"==typeof en?en(er,ei):en),!1))}_refinement(ee){return new t7({schema:this,typeName:eT.ZodEffects,effect:{type:"refinement",refinement:ee}})}superRefine(ee){return this._refinement(ee)}optional(){return t9.create(this,this._def)}nullable(){return t8.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tW.create(this,this._def)}promise(){return t6.create(this,this._def)}or(ee){return tG.create([this,ee],this._def)}and(ee){return tK.create(this,ee,this._def)}transform(ee){return new t7({...tg(this._def),schema:this,typeName:eT.ZodEffects,effect:{type:"transform",transform:ee}})}default(ee){let en="function"==typeof ee?ee:()=>ee;return new ne({...tg(this._def),innerType:this,defaultValue:en,typeName:eT.ZodDefault})}brand(){return new ni({typeName:eT.ZodBranded,type:this,...tg(this._def)})}catch(ee){let en="function"==typeof ee?ee:()=>ee;return new nt({...tg(this._def),innerType:this,catchValue:en,typeName:eT.ZodCatch})}describe(ee){let en=this.constructor;return new en({...this._def,description:ee})}pipe(ee){return no.create(this,ee)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let ty=/^c[^\s-]{8,}$/i,tb=/^[a-z][a-z0-9]*$/,tw=/[0-9A-HJKMNP-TV-Z]{26}/,tk=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,t_=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\])|(\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+))$/,tj=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,tO=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,tE=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,tC=ee=>ee.precision?ee.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${ee.precision}}Z$`):0===ee.precision?ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):ee.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function tT(ee,en){return!!(("v4"===en||!en)&&tO.test(ee)||("v6"===en||!en)&&tE.test(ee))}class tS extends tv{constructor(){super(...arguments),this._regex=(ee,en,er)=>this.refinement(en=>ee.test(en),{validation:en,code:e3.invalid_string,...eC.errToObj(er)}),this.nonempty=ee=>this.min(1,eC.errToObj(ee)),this.trim=()=>new tS({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new tS({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new tS({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(ee){let en;this._def.coerce&&(ee.data=String(ee.data));let er=this._getType(ee);if(er!==e4.string){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.string,received:en.parsedType}),tl}let ei=new ts;for(let er of this._def.checks)if("min"===er.kind)ee.data.lengther.value&&(to(en=this._getOrReturnCtx(ee,en),{code:e3.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("length"===er.kind){let eo=ee.data.length>er.value,es=ee.data.length"datetime"===ee.kind)}get isEmail(){return!!this._def.checks.find(ee=>"email"===ee.kind)}get isURL(){return!!this._def.checks.find(ee=>"url"===ee.kind)}get isEmoji(){return!!this._def.checks.find(ee=>"emoji"===ee.kind)}get isUUID(){return!!this._def.checks.find(ee=>"uuid"===ee.kind)}get isCUID(){return!!this._def.checks.find(ee=>"cuid"===ee.kind)}get isCUID2(){return!!this._def.checks.find(ee=>"cuid2"===ee.kind)}get isULID(){return!!this._def.checks.find(ee=>"ulid"===ee.kind)}get isIP(){return!!this._def.checks.find(ee=>"ip"===ee.kind)}get minLength(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxLength(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valueei?er:ei,es=parseInt(ee.toFixed(eo).replace(".","")),eu=parseInt(en.toFixed(eo).replace(".",""));return es%eu/Math.pow(10,eo)}tS.create=ee=>{var en;return new tS({checks:[],typeName:eT.ZodString,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...tg(ee)})};class tI extends tv{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(ee){let en;this._def.coerce&&(ee.data=Number(ee.data));let er=this._getType(ee);if(er!==e4.number){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.number,received:en.parsedType}),tl}let ei=new ts;for(let er of this._def.checks)if("int"===er.kind)eO.isInteger(ee.data)||(to(en=this._getOrReturnCtx(ee,en),{code:e3.invalid_type,expected:"integer",received:"float",message:er.message}),ei.dirty());else if("min"===er.kind){let eo=er.inclusive?ee.dataer.value:ee.data>=er.value;eo&&(to(en=this._getOrReturnCtx(ee,en),{code:e3.too_big,maximum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),ei.dirty())}else"multipleOf"===er.kind?0!==tN(ee.data,er.value)&&(to(en=this._getOrReturnCtx(ee,en),{code:e3.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):"finite"===er.kind?Number.isFinite(ee.data)||(to(en=this._getOrReturnCtx(ee,en),{code:e3.not_finite,message:er.message}),ei.dirty()):eO.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eC.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eC.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eC.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eC.toString(en))}setLimit(ee,en,er,ei){return new tI({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eC.toString(ei)}]})}_addCheck(ee){return new tI({...this._def,checks:[...this._def.checks,ee]})}int(ee){return this._addCheck({kind:"int",message:eC.toString(ee)})}positive(ee){return this._addCheck({kind:"min",value:0,inclusive:!1,message:eC.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:0,inclusive:!1,message:eC.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:0,inclusive:!0,message:eC.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:0,inclusive:!0,message:eC.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eC.toString(en)})}finite(ee){return this._addCheck({kind:"finite",message:eC.toString(ee)})}safe(ee){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:eC.toString(ee)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:eC.toString(ee)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value"int"===ee.kind||"multipleOf"===ee.kind&&eO.isInteger(ee.value))}get isFinite(){let ee=null,en=null;for(let er of this._def.checks){if("finite"===er.kind||"int"===er.kind||"multipleOf"===er.kind)return!0;"min"===er.kind?(null===en||er.value>en)&&(en=er.value):"max"===er.kind&&(null===ee||er.valuenew tI({checks:[],typeName:eT.ZodNumber,coerce:(null==ee?void 0:ee.coerce)||!1,...tg(ee)});class tR extends tv{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(ee){let en;this._def.coerce&&(ee.data=BigInt(ee.data));let er=this._getType(ee);if(er!==e4.bigint){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.bigint,received:en.parsedType}),tl}let ei=new ts;for(let er of this._def.checks)if("min"===er.kind){let eo=er.inclusive?ee.dataer.value:ee.data>=er.value;eo&&(to(en=this._getOrReturnCtx(ee,en),{code:e3.too_big,type:"bigint",maximum:er.value,inclusive:er.inclusive,message:er.message}),ei.dirty())}else"multipleOf"===er.kind?ee.data%er.value!==BigInt(0)&&(to(en=this._getOrReturnCtx(ee,en),{code:e3.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):eO.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,eC.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,eC.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,eC.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,eC.toString(en))}setLimit(ee,en,er,ei){return new tR({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:eC.toString(ei)}]})}_addCheck(ee){return new tR({...this._def,checks:[...this._def.checks,ee]})}positive(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:eC.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:eC.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:eC.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:eC.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:eC.toString(en)})}get minValue(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return ee}get maxValue(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.value{var en;return new tR({checks:[],typeName:eT.ZodBigInt,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...tg(ee)})};class tL extends tv{_parse(ee){this._def.coerce&&(ee.data=!!ee.data);let en=this._getType(ee);if(en!==e4.boolean){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.boolean,received:en.parsedType}),tl}return tc(ee.data)}}tL.create=ee=>new tL({typeName:eT.ZodBoolean,coerce:(null==ee?void 0:ee.coerce)||!1,...tg(ee)});class tA extends tv{_parse(ee){let en;this._def.coerce&&(ee.data=new Date(ee.data));let er=this._getType(ee);if(er!==e4.date){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.date,received:en.parsedType}),tl}if(isNaN(ee.data.getTime())){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_date}),tl}let ei=new ts;for(let er of this._def.checks)"min"===er.kind?ee.data.getTime()er.value&&(to(en=this._getOrReturnCtx(ee,en),{code:e3.too_big,message:er.message,inclusive:!0,exact:!1,maximum:er.value,type:"date"}),ei.dirty()):eO.assertNever(er);return{status:ei.value,value:new Date(ee.data.getTime())}}_addCheck(ee){return new tA({...this._def,checks:[...this._def.checks,ee]})}min(ee,en){return this._addCheck({kind:"min",value:ee.getTime(),message:eC.toString(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee.getTime(),message:eC.toString(en)})}get minDate(){let ee=null;for(let en of this._def.checks)"min"===en.kind&&(null===ee||en.value>ee)&&(ee=en.value);return null!=ee?new Date(ee):null}get maxDate(){let ee=null;for(let en of this._def.checks)"max"===en.kind&&(null===ee||en.valuenew tA({checks:[],coerce:(null==ee?void 0:ee.coerce)||!1,typeName:eT.ZodDate,...tg(ee)});class tP extends tv{_parse(ee){let en=this._getType(ee);if(en!==e4.symbol){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.symbol,received:en.parsedType}),tl}return tc(ee.data)}}tP.create=ee=>new tP({typeName:eT.ZodSymbol,...tg(ee)});class tM extends tv{_parse(ee){let en=this._getType(ee);if(en!==e4.undefined){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.undefined,received:en.parsedType}),tl}return tc(ee.data)}}tM.create=ee=>new tM({typeName:eT.ZodUndefined,...tg(ee)});class tD extends tv{_parse(ee){let en=this._getType(ee);if(en!==e4.null){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.null,received:en.parsedType}),tl}return tc(ee.data)}}tD.create=ee=>new tD({typeName:eT.ZodNull,...tg(ee)});class tF extends tv{constructor(){super(...arguments),this._any=!0}_parse(ee){return tc(ee.data)}}tF.create=ee=>new tF({typeName:eT.ZodAny,...tg(ee)});class t$ extends tv{constructor(){super(...arguments),this._unknown=!0}_parse(ee){return tc(ee.data)}}t$.create=ee=>new t$({typeName:eT.ZodUnknown,...tg(ee)});class tZ extends tv{_parse(ee){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.never,received:en.parsedType}),tl}}tZ.create=ee=>new tZ({typeName:eT.ZodNever,...tg(ee)});class tz extends tv{_parse(ee){let en=this._getType(ee);if(en!==e4.undefined){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.void,received:en.parsedType}),tl}return tc(ee.data)}}tz.create=ee=>new tz({typeName:eT.ZodVoid,...tg(ee)});class tW extends tv{_parse(ee){let{ctx:en,status:er}=this._processInputParams(ee),ei=this._def;if(en.parsedType!==e4.array)return to(en,{code:e3.invalid_type,expected:e4.array,received:en.parsedType}),tl;if(null!==ei.exactLength){let ee=en.data.length>ei.exactLength.value,eo=en.data.lengthei.maxLength.value&&(to(en,{code:e3.too_big,maximum:ei.maxLength.value,type:"array",inclusive:!0,exact:!1,message:ei.maxLength.message}),er.dirty()),en.common.async)return Promise.all([...en.data].map((ee,er)=>ei.type._parseAsync(new tm(en,ee,en.path,er)))).then(ee=>ts.mergeArray(er,ee));let eo=[...en.data].map((ee,er)=>ei.type._parseSync(new tm(en,ee,en.path,er)));return ts.mergeArray(er,eo)}get element(){return this._def.type}min(ee,en){return new tW({...this._def,minLength:{value:ee,message:eC.toString(en)}})}max(ee,en){return new tW({...this._def,maxLength:{value:ee,message:eC.toString(en)}})}length(ee,en){return new tW({...this._def,exactLength:{value:ee,message:eC.toString(en)}})}nonempty(ee){return this.min(1,ee)}}function tH(ee){if(ee instanceof tU){let en={};for(let er in ee.shape){let ei=ee.shape[er];en[er]=t9.create(tH(ei))}return new tU({...ee._def,shape:()=>en})}return ee instanceof tW?new tW({...ee._def,type:tH(ee.element)}):ee instanceof t9?t9.create(tH(ee.unwrap())):ee instanceof t8?t8.create(tH(ee.unwrap())):ee instanceof tQ?tQ.create(ee.items.map(ee=>tH(ee))):ee}tW.create=(ee,en)=>new tW({type:ee,minLength:null,maxLength:null,exactLength:null,typeName:eT.ZodArray,...tg(en)});class tU extends tv{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let ee=this._def.shape(),en=eO.objectKeys(ee);return this._cached={shape:ee,keys:en}}_parse(ee){let en=this._getType(ee);if(en!==e4.object){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.object,received:en.parsedType}),tl}let{status:er,ctx:ei}=this._processInputParams(ee),{shape:eo,keys:es}=this._getCached(),eu=[];if(!(this._def.catchall instanceof tZ&&"strip"===this._def.unknownKeys))for(let ee in ei.data)es.includes(ee)||eu.push(ee);let ec=[];for(let ee of es){let en=eo[ee],er=ei.data[ee];ec.push({key:{status:"valid",value:ee},value:en._parse(new tm(ei,er,ei.path,ee)),alwaysSet:ee in ei.data})}if(this._def.catchall instanceof tZ){let ee=this._def.unknownKeys;if("passthrough"===ee)for(let ee of eu)ec.push({key:{status:"valid",value:ee},value:{status:"valid",value:ei.data[ee]}});else if("strict"===ee)eu.length>0&&(to(ei,{code:e3.unrecognized_keys,keys:eu}),er.dirty());else if("strip"===ee);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let ee=this._def.catchall;for(let en of eu){let er=ei.data[en];ec.push({key:{status:"valid",value:en},value:ee._parse(new tm(ei,er,ei.path,en)),alwaysSet:en in ei.data})}}return ei.common.async?Promise.resolve().then(async()=>{let ee=[];for(let en of ec){let er=await en.key;ee.push({key:er,value:await en.value,alwaysSet:en.alwaysSet})}return ee}).then(ee=>ts.mergeObjectSync(er,ee)):ts.mergeObjectSync(er,ec)}get shape(){return this._def.shape()}strict(ee){return eC.errToObj,new tU({...this._def,unknownKeys:"strict",...void 0!==ee?{errorMap:(en,er)=>{var ei,eo,es,eu;let ec=null!==(es=null===(eo=(ei=this._def).errorMap)||void 0===eo?void 0:eo.call(ei,en,er).message)&&void 0!==es?es:er.defaultError;return"unrecognized_keys"===en.code?{message:null!==(eu=eC.errToObj(ee).message)&&void 0!==eu?eu:ec}:{message:ec}}}:{}})}strip(){return new tU({...this._def,unknownKeys:"strip"})}passthrough(){return new tU({...this._def,unknownKeys:"passthrough"})}extend(ee){return new tU({...this._def,shape:()=>({...this._def.shape(),...ee})})}merge(ee){let en=new tU({unknownKeys:ee._def.unknownKeys,catchall:ee._def.catchall,shape:()=>({...this._def.shape(),...ee._def.shape()}),typeName:eT.ZodObject});return en}setKey(ee,en){return this.augment({[ee]:en})}catchall(ee){return new tU({...this._def,catchall:ee})}pick(ee){let en={};return eO.objectKeys(ee).forEach(er=>{ee[er]&&this.shape[er]&&(en[er]=this.shape[er])}),new tU({...this._def,shape:()=>en})}omit(ee){let en={};return eO.objectKeys(this.shape).forEach(er=>{ee[er]||(en[er]=this.shape[er])}),new tU({...this._def,shape:()=>en})}deepPartial(){return tH(this)}partial(ee){let en={};return eO.objectKeys(this.shape).forEach(er=>{let ei=this.shape[er];ee&&!ee[er]?en[er]=ei:en[er]=ei.optional()}),new tU({...this._def,shape:()=>en})}required(ee){let en={};return eO.objectKeys(this.shape).forEach(er=>{if(ee&&!ee[er])en[er]=this.shape[er];else{let ee=this.shape[er],ei=ee;for(;ei instanceof t9;)ei=ei._def.innerType;en[er]=ei}}),new tU({...this._def,shape:()=>en})}keyof(){return t4(eO.objectKeys(this.shape))}}tU.create=(ee,en)=>new tU({shape:()=>ee,unknownKeys:"strip",catchall:tZ.create(),typeName:eT.ZodObject,...tg(en)}),tU.strictCreate=(ee,en)=>new tU({shape:()=>ee,unknownKeys:"strict",catchall:tZ.create(),typeName:eT.ZodObject,...tg(en)}),tU.lazycreate=(ee,en)=>new tU({shape:ee,unknownKeys:"strip",catchall:tZ.create(),typeName:eT.ZodObject,...tg(en)});class tG extends tv{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.options;function ei(ee){for(let en of ee)if("valid"===en.result.status)return en.result;for(let er of ee)if("dirty"===er.result.status)return en.common.issues.push(...er.ctx.common.issues),er.result;let er=ee.map(ee=>new e7(ee.ctx.common.issues));return to(en,{code:e3.invalid_union,unionErrors:er}),tl}if(en.common.async)return Promise.all(er.map(async ee=>{let er={...en,common:{...en.common,issues:[]},parent:null};return{result:await ee._parseAsync({data:en.data,path:en.path,parent:er}),ctx:er}})).then(ei);{let ee;let ei=[];for(let eo of er){let er={...en,common:{...en.common,issues:[]},parent:null},es=eo._parseSync({data:en.data,path:en.path,parent:er});if("valid"===es.status)return es;"dirty"!==es.status||ee||(ee={result:es,ctx:er}),er.common.issues.length&&ei.push(er.common.issues)}if(ee)return en.common.issues.push(...ee.ctx.common.issues),ee.result;let eo=ei.map(ee=>new e7(ee));return to(en,{code:e3.invalid_union,unionErrors:eo}),tl}}get options(){return this._def.options}}tG.create=(ee,en)=>new tG({options:ee,typeName:eT.ZodUnion,...tg(en)});let tB=ee=>{if(ee instanceof t1)return tB(ee.schema);if(ee instanceof t7)return tB(ee.innerType());if(ee instanceof t2)return[ee.value];if(ee instanceof t5)return ee.options;if(ee instanceof t3)return Object.keys(ee.enum);if(ee instanceof ne)return tB(ee._def.innerType);if(ee instanceof tM)return[void 0];else if(ee instanceof tD)return[null];else return null};class tV extends tv{_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e4.object)return to(en,{code:e3.invalid_type,expected:e4.object,received:en.parsedType}),tl;let er=this.discriminator,ei=en.data[er],eo=this.optionsMap.get(ei);return eo?en.common.async?eo._parseAsync({data:en.data,path:en.path,parent:en}):eo._parseSync({data:en.data,path:en.path,parent:en}):(to(en,{code:e3.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[er]}),tl)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(ee,en,er){let ei=new Map;for(let er of en){let en=tB(er.shape[ee]);if(!en)throw Error(`A discriminator value for key \`${ee}\` could not be extracted from all schema options`);for(let eo of en){if(ei.has(eo))throw Error(`Discriminator property ${String(ee)} has duplicate value ${String(eo)}`);ei.set(eo,er)}}return new tV({typeName:eT.ZodDiscriminatedUnion,discriminator:ee,options:en,optionsMap:ei,...tg(er)})}}function tq(ee,en){let er=e5(ee),ei=e5(en);if(ee===en)return{valid:!0,data:ee};if(er===e4.object&&ei===e4.object){let er=eO.objectKeys(en),ei=eO.objectKeys(ee).filter(ee=>-1!==er.indexOf(ee)),eo={...ee,...en};for(let er of ei){let ei=tq(ee[er],en[er]);if(!ei.valid)return{valid:!1};eo[er]=ei.data}return{valid:!0,data:eo}}if(er===e4.array&&ei===e4.array){if(ee.length!==en.length)return{valid:!1};let er=[];for(let ei=0;ei{if(td(ee)||td(ei))return tl;let eo=tq(ee.value,ei.value);return eo.valid?((tf(ee)||tf(ei))&&en.dirty(),{status:en.value,value:eo.data}):(to(er,{code:e3.invalid_intersection_types}),tl)};return er.common.async?Promise.all([this._def.left._parseAsync({data:er.data,path:er.path,parent:er}),this._def.right._parseAsync({data:er.data,path:er.path,parent:er})]).then(([ee,en])=>ei(ee,en)):ei(this._def.left._parseSync({data:er.data,path:er.path,parent:er}),this._def.right._parseSync({data:er.data,path:er.path,parent:er}))}}tK.create=(ee,en,er)=>new tK({left:ee,right:en,typeName:eT.ZodIntersection,...tg(er)});class tQ extends tv{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e4.array)return to(er,{code:e3.invalid_type,expected:e4.array,received:er.parsedType}),tl;if(er.data.lengththis._def.items.length&&(to(er,{code:e3.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),en.dirty());let eo=[...er.data].map((ee,en)=>{let ei=this._def.items[en]||this._def.rest;return ei?ei._parse(new tm(er,ee,er.path,en)):null}).filter(ee=>!!ee);return er.common.async?Promise.all(eo).then(ee=>ts.mergeArray(en,ee)):ts.mergeArray(en,eo)}get items(){return this._def.items}rest(ee){return new tQ({...this._def,rest:ee})}}tQ.create=(ee,en)=>{if(!Array.isArray(ee))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new tQ({items:ee,typeName:eT.ZodTuple,rest:null,...tg(en)})};class tJ extends tv{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e4.object)return to(er,{code:e3.invalid_type,expected:e4.object,received:er.parsedType}),tl;let ei=[],eo=this._def.keyType,es=this._def.valueType;for(let ee in er.data)ei.push({key:eo._parse(new tm(er,ee,er.path,ee)),value:es._parse(new tm(er,er.data[ee],er.path,ee))});return er.common.async?ts.mergeObjectAsync(en,ei):ts.mergeObjectSync(en,ei)}get element(){return this._def.valueType}static create(ee,en,er){return new tJ(en instanceof tv?{keyType:ee,valueType:en,typeName:eT.ZodRecord,...tg(er)}:{keyType:tS.create(),valueType:ee,typeName:eT.ZodRecord,...tg(en)})}}class tX extends tv{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e4.map)return to(er,{code:e3.invalid_type,expected:e4.map,received:er.parsedType}),tl;let ei=this._def.keyType,eo=this._def.valueType,es=[...er.data.entries()].map(([ee,en],es)=>({key:ei._parse(new tm(er,ee,er.path,[es,"key"])),value:eo._parse(new tm(er,en,er.path,[es,"value"]))}));if(er.common.async){let ee=new Map;return Promise.resolve().then(async()=>{for(let er of es){let ei=await er.key,eo=await er.value;if("aborted"===ei.status||"aborted"===eo.status)return tl;("dirty"===ei.status||"dirty"===eo.status)&&en.dirty(),ee.set(ei.value,eo.value)}return{status:en.value,value:ee}})}{let ee=new Map;for(let er of es){let ei=er.key,eo=er.value;if("aborted"===ei.status||"aborted"===eo.status)return tl;("dirty"===ei.status||"dirty"===eo.status)&&en.dirty(),ee.set(ei.value,eo.value)}return{status:en.value,value:ee}}}}tX.create=(ee,en,er)=>new tX({valueType:en,keyType:ee,typeName:eT.ZodMap,...tg(er)});class tY extends tv{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==e4.set)return to(er,{code:e3.invalid_type,expected:e4.set,received:er.parsedType}),tl;let ei=this._def;null!==ei.minSize&&er.data.sizeei.maxSize.value&&(to(er,{code:e3.too_big,maximum:ei.maxSize.value,type:"set",inclusive:!0,exact:!1,message:ei.maxSize.message}),en.dirty());let eo=this._def.valueType;function es(ee){let er=new Set;for(let ei of ee){if("aborted"===ei.status)return tl;"dirty"===ei.status&&en.dirty(),er.add(ei.value)}return{status:en.value,value:er}}let eu=[...er.data.values()].map((ee,en)=>eo._parse(new tm(er,ee,er.path,en)));return er.common.async?Promise.all(eu).then(ee=>es(ee)):es(eu)}min(ee,en){return new tY({...this._def,minSize:{value:ee,message:eC.toString(en)}})}max(ee,en){return new tY({...this._def,maxSize:{value:ee,message:eC.toString(en)}})}size(ee,en){return this.min(ee,en).max(ee,en)}nonempty(ee){return this.min(1,ee)}}tY.create=(ee,en)=>new tY({valueType:ee,minSize:null,maxSize:null,typeName:eT.ZodSet,...tg(en)});class t0 extends tv{constructor(){super(...arguments),this.validate=this.implement}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e4.function)return to(en,{code:e3.invalid_type,expected:e4.function,received:en.parsedType}),tl;function er(ee,er){return tr({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,tn(),e9].filter(ee=>!!ee),issueData:{code:e3.invalid_arguments,argumentsError:er}})}function ei(ee,er){return tr({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,tn(),e9].filter(ee=>!!ee),issueData:{code:e3.invalid_return_type,returnTypeError:er}})}let eo={errorMap:en.common.contextualErrorMap},es=en.data;return this._def.returns instanceof t6?tc(async(...ee)=>{let en=new e7([]),eu=await this._def.args.parseAsync(ee,eo).catch(ei=>{throw en.addIssue(er(ee,ei)),en}),ec=await es(...eu),ed=await this._def.returns._def.type.parseAsync(ec,eo).catch(ee=>{throw en.addIssue(ei(ec,ee)),en});return ed}):tc((...ee)=>{let en=this._def.args.safeParse(ee,eo);if(!en.success)throw new e7([er(ee,en.error)]);let eu=es(...en.data),ec=this._def.returns.safeParse(eu,eo);if(!ec.success)throw new e7([ei(eu,ec.error)]);return ec.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...ee){return new t0({...this._def,args:tQ.create(ee).rest(t$.create())})}returns(ee){return new t0({...this._def,returns:ee})}implement(ee){let en=this.parse(ee);return en}strictImplement(ee){let en=this.parse(ee);return en}static create(ee,en,er){return new t0({args:ee||tQ.create([]).rest(t$.create()),returns:en||t$.create(),typeName:eT.ZodFunction,...tg(er)})}}class t1 extends tv{get schema(){return this._def.getter()}_parse(ee){let{ctx:en}=this._processInputParams(ee),er=this._def.getter();return er._parse({data:en.data,path:en.path,parent:en})}}t1.create=(ee,en)=>new t1({getter:ee,typeName:eT.ZodLazy,...tg(en)});class t2 extends tv{_parse(ee){if(ee.data!==this._def.value){let en=this._getOrReturnCtx(ee);return to(en,{received:en.data,code:e3.invalid_literal,expected:this._def.value}),tl}return{status:"valid",value:ee.data}}get value(){return this._def.value}}function t4(ee,en){return new t5({values:ee,typeName:eT.ZodEnum,...tg(en)})}t2.create=(ee,en)=>new t2({value:ee,typeName:eT.ZodLiteral,...tg(en)});class t5 extends tv{_parse(ee){if("string"!=typeof ee.data){let en=this._getOrReturnCtx(ee),er=this._def.values;return to(en,{expected:eO.joinValues(er),received:en.parsedType,code:e3.invalid_type}),tl}if(-1===this._def.values.indexOf(ee.data)){let en=this._getOrReturnCtx(ee),er=this._def.values;return to(en,{received:en.data,code:e3.invalid_enum_value,options:er}),tl}return tc(ee.data)}get options(){return this._def.values}get enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Values(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}get Enum(){let ee={};for(let en of this._def.values)ee[en]=en;return ee}extract(ee){return t5.create(ee)}exclude(ee){return t5.create(this.options.filter(en=>!ee.includes(en)))}}t5.create=t4;class t3 extends tv{_parse(ee){let en=eO.getValidEnumValues(this._def.values),er=this._getOrReturnCtx(ee);if(er.parsedType!==e4.string&&er.parsedType!==e4.number){let ee=eO.objectValues(en);return to(er,{expected:eO.joinValues(ee),received:er.parsedType,code:e3.invalid_type}),tl}if(-1===en.indexOf(ee.data)){let ee=eO.objectValues(en);return to(er,{received:er.data,code:e3.invalid_enum_value,options:ee}),tl}return tc(ee.data)}get enum(){return this._def.values}}t3.create=(ee,en)=>new t3({values:ee,typeName:eT.ZodNativeEnum,...tg(en)});class t6 extends tv{unwrap(){return this._def.type}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==e4.promise&&!1===en.common.async)return to(en,{code:e3.invalid_type,expected:e4.promise,received:en.parsedType}),tl;let er=en.parsedType===e4.promise?en.data:Promise.resolve(en.data);return tc(er.then(ee=>this._def.type.parseAsync(ee,{path:en.path,errorMap:en.common.contextualErrorMap})))}}t6.create=(ee,en)=>new t6({type:ee,typeName:eT.ZodPromise,...tg(en)});class t7 extends tv{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===eT.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),ei=this._def.effect||null;if("preprocess"===ei.type){let ee=ei.transform(er.data);return er.common.async?Promise.resolve(ee).then(ee=>this._def.schema._parseAsync({data:ee,path:er.path,parent:er})):this._def.schema._parseSync({data:ee,path:er.path,parent:er})}let eo={addIssue:ee=>{to(er,ee),ee.fatal?en.abort():en.dirty()},get path(){return er.path}};if(eo.addIssue=eo.addIssue.bind(eo),"refinement"===ei.type){let ee=ee=>{let en=ei.refinement(ee,eo);if(er.common.async)return Promise.resolve(en);if(en instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return ee};if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(er=>"aborted"===er.status?tl:("dirty"===er.status&&en.dirty(),ee(er.value).then(()=>({status:en.value,value:er.value}))));{let ei=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===ei.status?tl:("dirty"===ei.status&&en.dirty(),ee(ei.value),{status:en.value,value:ei.value})}}if("transform"===ei.type){if(!1!==er.common.async)return this._def.schema._parseAsync({data:er.data,path:er.path,parent:er}).then(ee=>th(ee)?Promise.resolve(ei.transform(ee.value,eo)).then(ee=>({status:en.value,value:ee})):ee);{let ee=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});if(!th(ee))return ee;let es=ei.transform(ee.value,eo);if(es instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:en.value,value:es}}}eO.assertNever(ei)}}t7.create=(ee,en,er)=>new t7({schema:ee,typeName:eT.ZodEffects,effect:en,...tg(er)}),t7.createWithPreprocess=(ee,en,er)=>new t7({schema:en,effect:{type:"preprocess",transform:ee},typeName:eT.ZodEffects,...tg(er)});class t9 extends tv{_parse(ee){let en=this._getType(ee);return en===e4.undefined?tc(void 0):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}t9.create=(ee,en)=>new t9({innerType:ee,typeName:eT.ZodOptional,...tg(en)});class t8 extends tv{_parse(ee){let en=this._getType(ee);return en===e4.null?tc(null):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}t8.create=(ee,en)=>new t8({innerType:ee,typeName:eT.ZodNullable,...tg(en)});class ne extends tv{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return en.parsedType===e4.undefined&&(er=this._def.defaultValue()),this._def.innerType._parse({data:er,path:en.path,parent:en})}removeDefault(){return this._def.innerType}}ne.create=(ee,en)=>new ne({innerType:ee,typeName:eT.ZodDefault,defaultValue:"function"==typeof en.default?en.default:()=>en.default,...tg(en)});class nt extends tv{_parse(ee){let{ctx:en}=this._processInputParams(ee),er={...en,common:{...en.common,issues:[]}},ei=this._def.innerType._parse({data:er.data,path:er.path,parent:{...er}});return tp(ei)?ei.then(ee=>({status:"valid",value:"valid"===ee.status?ee.value:this._def.catchValue({get error(){return new e7(er.common.issues)},input:er.data})})):{status:"valid",value:"valid"===ei.status?ei.value:this._def.catchValue({get error(){return new e7(er.common.issues)},input:er.data})}}removeCatch(){return this._def.innerType}}nt.create=(ee,en)=>new nt({innerType:ee,typeName:eT.ZodCatch,catchValue:"function"==typeof en.catch?en.catch:()=>en.catch,...tg(en)});class nn extends tv{_parse(ee){let en=this._getType(ee);if(en!==e4.nan){let en=this._getOrReturnCtx(ee);return to(en,{code:e3.invalid_type,expected:e4.nan,received:en.parsedType}),tl}return{status:"valid",value:ee.data}}}nn.create=ee=>new nn({typeName:eT.ZodNaN,...tg(ee)});let nr=Symbol("zod_brand");class ni extends tv{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return this._def.type._parse({data:er,path:en.path,parent:en})}unwrap(){return this._def.type}}class no extends tv{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.common.async){let ee=async()=>{let ee=await this._def.in._parseAsync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?tl:"dirty"===ee.status?(en.dirty(),tu(ee.value)):this._def.out._parseAsync({data:ee.value,path:er.path,parent:er})};return ee()}{let ee=this._def.in._parseSync({data:er.data,path:er.path,parent:er});return"aborted"===ee.status?tl:"dirty"===ee.status?(en.dirty(),{status:"dirty",value:ee.value}):this._def.out._parseSync({data:ee.value,path:er.path,parent:er})}}static create(ee,en){return new no({in:ee,out:en,typeName:eT.ZodPipeline})}}let ns=(ee,en={},er)=>ee?tF.create().superRefine((ei,eo)=>{var es,eu;if(!ee(ei)){let ee="function"==typeof en?en(ei):"string"==typeof en?{message:en}:en,ec=null===(eu=null!==(es=ee.fatal)&&void 0!==es?es:er)||void 0===eu||eu,ed="string"==typeof ee?{message:ee}:ee;eo.addIssue({code:"custom",...ed,fatal:ec})}}):tF.create(),nl={object:tU.lazycreate};!function(ee){ee.ZodString="ZodString",ee.ZodNumber="ZodNumber",ee.ZodNaN="ZodNaN",ee.ZodBigInt="ZodBigInt",ee.ZodBoolean="ZodBoolean",ee.ZodDate="ZodDate",ee.ZodSymbol="ZodSymbol",ee.ZodUndefined="ZodUndefined",ee.ZodNull="ZodNull",ee.ZodAny="ZodAny",ee.ZodUnknown="ZodUnknown",ee.ZodNever="ZodNever",ee.ZodVoid="ZodVoid",ee.ZodArray="ZodArray",ee.ZodObject="ZodObject",ee.ZodUnion="ZodUnion",ee.ZodDiscriminatedUnion="ZodDiscriminatedUnion",ee.ZodIntersection="ZodIntersection",ee.ZodTuple="ZodTuple",ee.ZodRecord="ZodRecord",ee.ZodMap="ZodMap",ee.ZodSet="ZodSet",ee.ZodFunction="ZodFunction",ee.ZodLazy="ZodLazy",ee.ZodLiteral="ZodLiteral",ee.ZodEnum="ZodEnum",ee.ZodEffects="ZodEffects",ee.ZodNativeEnum="ZodNativeEnum",ee.ZodOptional="ZodOptional",ee.ZodNullable="ZodNullable",ee.ZodDefault="ZodDefault",ee.ZodCatch="ZodCatch",ee.ZodPromise="ZodPromise",ee.ZodBranded="ZodBranded",ee.ZodPipeline="ZodPipeline"}(eT||(eT={}));let nu=(ee,en={message:`Input not instance of ${ee.name}`})=>ns(en=>en instanceof ee,en),nc=tS.create,nd=tI.create,nf=nn.create,nh=tR.create,np=tL.create,nm=tA.create,nx=tP.create,ng=tM.create,nv=tD.create,ny=tF.create,nb=t$.create,nw=tZ.create,nk=tz.create,n_=tW.create,nj=tU.create,nO=tU.strictCreate,nE=tG.create,nC=tV.create,nT=tK.create,nS=tQ.create,nN=tJ.create,nI=tX.create,nR=tY.create,nL=t0.create,nA=t1.create,nP=t2.create,nM=t5.create,nD=t3.create,nF=t6.create,n$=t7.create,nZ=t9.create,nz=t8.create,nW=t7.createWithPreprocess,nH=no.create,nU=()=>nc().optional(),nG=()=>nd().optional(),nB=()=>np().optional(),nV={string:ee=>tS.create({...ee,coerce:!0}),number:ee=>tI.create({...ee,coerce:!0}),boolean:ee=>tL.create({...ee,coerce:!0}),bigint:ee=>tR.create({...ee,coerce:!0}),date:ee=>tA.create({...ee,coerce:!0})},nq=tl;var nK=Object.freeze({__proto__:null,defaultErrorMap:e9,setErrorMap:te,getErrorMap:tn,makeIssue:tr,EMPTY_PATH:ti,addIssueToContext:to,ParseStatus:ts,INVALID:tl,DIRTY:tu,OK:tc,isAborted:td,isDirty:tf,isValid:th,isAsync:tp,get util(){return eO},get objectUtil(){return eE},ZodParsedType:e4,getParsedType:e5,ZodType:tv,ZodString:tS,ZodNumber:tI,ZodBigInt:tR,ZodBoolean:tL,ZodDate:tA,ZodSymbol:tP,ZodUndefined:tM,ZodNull:tD,ZodAny:tF,ZodUnknown:t$,ZodNever:tZ,ZodVoid:tz,ZodArray:tW,ZodObject:tU,ZodUnion:tG,ZodDiscriminatedUnion:tV,ZodIntersection:tK,ZodTuple:tQ,ZodRecord:tJ,ZodMap:tX,ZodSet:tY,ZodFunction:t0,ZodLazy:t1,ZodLiteral:t2,ZodEnum:t5,ZodNativeEnum:t3,ZodPromise:t6,ZodEffects:t7,ZodTransformer:t7,ZodOptional:t9,ZodNullable:t8,ZodDefault:ne,ZodCatch:nt,ZodNaN:nn,BRAND:nr,ZodBranded:ni,ZodPipeline:no,custom:ns,Schema:tv,ZodSchema:tv,late:nl,get ZodFirstPartyTypeKind(){return eT},coerce:nV,any:ny,array:n_,bigint:nh,boolean:np,date:nm,discriminatedUnion:nC,effect:n$,enum:nM,function:nL,instanceof:nu,intersection:nT,lazy:nA,literal:nP,map:nI,nan:nf,nativeEnum:nD,never:nw,null:nv,nullable:nz,number:nd,object:nj,oboolean:nB,onumber:nG,optional:nZ,ostring:nU,pipeline:nH,preprocess:nW,promise:nF,record:nN,set:nR,strictObject:nO,string:nc,symbol:nx,transformer:n$,tuple:nS,undefined:ng,union:nE,unknown:nb,void:nk,NEVER:nq,ZodIssueCode:e3,quotelessJson:e6,ZodError:e7}),nQ=er(1664),nJ=er.n(nQ);er(6337);let nX=["light","dark"],nY="(prefers-color-scheme: dark)",n0="undefined"==typeof window,n1=(0,eR.createContext)(void 0),n2={setTheme:ee=>{},themes:[]},n4=()=>{var ee;return null!==(ee=(0,eR.useContext)(n1))&&void 0!==ee?ee:n2},n5=ee=>(0,eR.useContext)(n1)?eR.createElement(eR.Fragment,null,ee.children):eR.createElement(n6,ee),n3=["light","dark"],n6=({forcedTheme:ee,disableTransitionOnChange:en=!1,enableSystem:er=!0,enableColorScheme:ei=!0,storageKey:eo="theme",themes:es=n3,defaultTheme:eu=er?"system":"light",attribute:ec="data-theme",value:ed,children:ef,nonce:eh})=>{let[ep,em]=(0,eR.useState)(()=>n9(eo,eu)),[ex,eg]=(0,eR.useState)(()=>n9(eo)),ev=ed?Object.values(ed):es,ey=(0,eR.useCallback)(ee=>{let eo=ee;if(!eo)return;"system"===ee&&er&&(eo=rt());let es=ed?ed[eo]:eo,ef=en?n8():null,eh=document.documentElement;if("class"===ec?(eh.classList.remove(...ev),es&&eh.classList.add(es)):es?eh.setAttribute(ec,es):eh.removeAttribute(ec),ei){let ee=nX.includes(eu)?eu:null,en=nX.includes(eo)?eo:ee;eh.style.colorScheme=en}null==ef||ef()},[]),eb=(0,eR.useCallback)(ee=>{em(ee);try{localStorage.setItem(eo,ee)}catch(ee){}},[ee]),ew=(0,eR.useCallback)(en=>{let ei=rt(en);eg(ei),"system"===ep&&er&&!ee&&ey("system")},[ep,ee]);(0,eR.useEffect)(()=>{let ee=window.matchMedia(nY);return ee.addListener(ew),ew(ee),()=>ee.removeListener(ew)},[ew]),(0,eR.useEffect)(()=>{let ee=ee=>{ee.key===eo&&eb(ee.newValue||eu)};return window.addEventListener("storage",ee),()=>window.removeEventListener("storage",ee)},[eb]),(0,eR.useEffect)(()=>{ey(null!=ee?ee:ep)},[ee,ep]);let ek=(0,eR.useMemo)(()=>({theme:ep,setTheme:eb,forcedTheme:ee,resolvedTheme:"system"===ep?ex:ep,themes:er?[...es,"system"]:es,systemTheme:er?ex:void 0}),[ep,eb,ee,ex,er,es]);return eR.createElement(n1.Provider,{value:ek},eR.createElement(n7,{forcedTheme:ee,disableTransitionOnChange:en,enableSystem:er,enableColorScheme:ei,storageKey:eo,themes:es,defaultTheme:eu,attribute:ec,value:ed,children:ef,attrs:ev,nonce:eh}),ef)},n7=(0,eR.memo)(({forcedTheme:ee,storageKey:en,attribute:er,enableSystem:ei,enableColorScheme:eo,defaultTheme:es,value:eu,attrs:ec,nonce:ed})=>{let ef="system"===es,eh="class"===er?`var d=document.documentElement,c=d.classList;c.remove(${ec.map(ee=>`'${ee}'`).join(",")});`:`var d=document.documentElement,n='${er}',s='setAttribute';`,ep=eo?nX.includes(es)&&es?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${es}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",em=(ee,en=!1,ei=!0)=>{let es=eu?eu[ee]:ee,ec=en?ee+"|| ''":`'${es}'`,ed="";return eo&&ei&&!en&&nX.includes(ee)&&(ed+=`d.style.colorScheme = '${ee}';`),"class"===er?ed+=en||es?`c.add(${ec})`:"null":es&&(ed+=`d[s](n,${ec})`),ed},ex=ee?`!function(){${eh}${em(ee)}}()`:ei?`!function(){try{${eh}var e=localStorage.getItem('${en}');if('system'===e||(!e&&${ef})){var t='${nY}',m=window.matchMedia(t);if(m.media!==t||m.matches){${em("dark")}}else{${em("light")}}}else if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${em(eu?"x[e]":"e",!0)}}${ef?"":"else{"+em(es,!1,!1)+"}"}${ep}}catch(e){}}()`:`!function(){try{${eh}var e=localStorage.getItem('${en}');if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${em(eu?"x[e]":"e",!0)}}else{${em(es,!1,!1)};}${ep}}catch(t){}}();`;return eR.createElement("script",{nonce:ed,dangerouslySetInnerHTML:{__html:ex}})},()=>!0),n9=(ee,en)=>{let er;if(!n0){try{er=localStorage.getItem(ee)||void 0}catch(ee){}return er||en}},n8=()=>{let ee=document.createElement("style");return ee.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(ee),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(ee)},1)}},rt=ee=>(ee||(ee=window.matchMedia(nY)),ee.matches?"dark":"light");var rn={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},rr=nK.strictObject({breadcrumb:nK.boolean(),collapsed:nK.boolean(),footer:nK.boolean(),layout:nK.enum(["default","full","raw"]),navbar:nK.boolean(),pagination:nK.boolean(),sidebar:nK.boolean(),timestamp:nK.boolean(),toc:nK.boolean(),typesetting:nK.enum(["default","article"])}),ri=nK.enum(["normal","hidden","children"]),ro=nK.string(),rs=nK.strictObject({href:nK.string(),newWindow:nK.boolean(),title:ro}),rl=nK.strictObject({display:ri.optional(),items:nK.record(rs.partial({href:!0,newWindow:!0})),title:ro,type:nK.literal("menu")}),ru=nK.strictObject({title:ro,type:nK.literal("separator")}),rc=rs.extend({display:ri,theme:rr,title:ro,type:nK.enum(["page","doc"])}).deepPartial();function rd(ee={},en){"string"==typeof ee&&(ee={title:ee});let er=Object.assign({},en.theme,ee.theme);return Object.assign({},en,ee,{theme:er})}function rf(ee){for(let en of ee){if(en.route)return en.route;if(en.children){let ee=rf(en.children);if(ee)return ee}}}function rh({list:ee,locale:en,defaultLocale:er,route:ei,docsRoot:eo="",underCurrentDocsRoot:es=!1,pageThemeContext:eu=rn}){let ec,ed;for(let er of ee)if("Meta"===er.kind){if(er.locale===en){ec=er.data;break}ec||(ec=er.data)}let ef=ec||{},eh=Object.keys(ef);for(let ee of eh)"string"==typeof ef[ee]&&(ef[ee]={title:ef[ee]});let ep=[],em=[],ex=[],eg=[],ev=[],ey=0,eb=eu,ew=[],ek=-1,e_=ef["*"]||{};delete e_.title,delete e_.href;let ej=ee.filter(ee=>"Meta"!==ee.kind&&!ee.name.startsWith("_")&&(!("locale"in ee)||!ee.locale||[en,er].includes(ee.locale))).sort((ee,en)=>{let er=eh.indexOf(ee.name),ei=eh.indexOf(en.name);return -1===er&&-1===ei?ee.name{let en;let er=[],ei=eh.indexOf(ee.name);if(-1!==ei){for(let ee=ek+1;ee({...ec,type:eO,...eS&&{title:eS},...ek&&{display:ek},...eT&&{children:[]}}),eI=eN(),eR=eN(),eL=eN();if(eR.isUnderCurrentDocsTree=eC,"separator"===eO&&(eI.isUnderCurrentDocsTree=eC),ec.route===ei)switch(ew=[eI],ed=eO,eb={...eb,...eE},eO){case"page":case"menu":ey=ev.length;break;case"doc":ey=eg.length}if(!("hidden"===ek&&"Folder"!==eI.kind||eD.hV.has(ec.route))){if(eT){if(void 0!==eT.activeIndex&&void 0!==eT.activeType){switch(eb=eT.activeThemeContext,ed=eT.activeType,ew=[eI,...eT.activePath],ed){case"page":case"menu":ey=ev.length+eT.activeIndex;break;case"doc":ey=eg.length+eT.activeIndex}ec.withIndexPage&&"doc"===eO&&ey++}switch(eO){case"page":case"menu":eL.children.push(...eT.directories),ex.push(...eT.docsDirectories),eT.flatDirectories.length?(eL.firstChildRoute=rf(eT.flatDirectories),ev.push(eL)):eL.withIndexPage&&ev.push(eL);break;case"doc":Array.isArray(eR.children)&&eR.children.push(...eT.docsDirectories),eI.withIndexPage&&"children"!==ek&&eg.push(eR)}em.push(...eT.flatDirectories),eg.push(...eT.flatDocsDirectories),Array.isArray(eI.children)&&eI.children.push(...eT.directories)}else switch(em.push(eI),eO){case"page":case"menu":ev.push(eL);break;case"doc":eg.push(eR)}switch("doc"===eO&&"children"===ek?eR.children&&(ep.push(...eR.children),ex.push(...eR.children)):ep.push(eI),eO){case"page":case"menu":ex.push(eL);break;case"doc":"children"!==ek&&ex.push(eR);break;case"separator":ex.push(eI)}}}return{activeType:ed,activeIndex:ey,activeThemeContext:eb,activePath:ew,directories:ep,flatDirectories:em,docsDirectories:ex,flatDocsDirectories:eg,topLevelNavbarItems:ev}}nK.string().or(rl).or(ru).or(rc);var rp=er(3458),rm=er.n(rp);function rx(ee){if(null==ee)return window;if("[object Window]"!==ee.toString()){var en=ee.ownerDocument;return en&&en.defaultView||window}return ee}function rg(ee){var en=rx(ee).Element;return ee instanceof en||ee instanceof Element}function rv(ee){var en=rx(ee).HTMLElement;return ee instanceof en||ee instanceof HTMLElement}function ry(ee){if("undefined"==typeof ShadowRoot)return!1;var en=rx(ee).ShadowRoot;return ee instanceof en||ee instanceof ShadowRoot}var rb=Math.max,rw=Math.min,rk=Math.round;function r_(){var ee=navigator.userAgentData;return null!=ee&&ee.brands&&Array.isArray(ee.brands)?ee.brands.map(function(ee){return ee.brand+"/"+ee.version}).join(" "):navigator.userAgent}function rj(){return!/^((?!chrome|android).)*safari/i.test(r_())}function rO(ee,en,er){void 0===en&&(en=!1),void 0===er&&(er=!1);var ei=ee.getBoundingClientRect(),eo=1,es=1;en&&rv(ee)&&(eo=ee.offsetWidth>0&&rk(ei.width)/ee.offsetWidth||1,es=ee.offsetHeight>0&&rk(ei.height)/ee.offsetHeight||1);var eu=(rg(ee)?rx(ee):window).visualViewport,ec=!rj()&&er,ed=(ei.left+(ec&&eu?eu.offsetLeft:0))/eo,ef=(ei.top+(ec&&eu?eu.offsetTop:0))/es,eh=ei.width/eo,ep=ei.height/es;return{width:eh,height:ep,top:ef,right:ed+eh,bottom:ef+ep,left:ed,x:ed,y:ef}}function rE(ee){var en=rx(ee);return{scrollLeft:en.pageXOffset,scrollTop:en.pageYOffset}}function rC(ee){return{scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop}}function rT(ee){return ee!==rx(ee)&&rv(ee)?rC(ee):rE(ee)}function rS(ee){return ee?(ee.nodeName||"").toLowerCase():null}function rN(ee){return((rg(ee)?ee.ownerDocument:ee.document)||window.document).documentElement}function rI(ee){return rO(rN(ee)).left+rE(ee).scrollLeft}function rR(ee){return rx(ee).getComputedStyle(ee)}function rL(ee){var en=rR(ee),er=en.overflow,ei=en.overflowX,eo=en.overflowY;return/auto|scroll|overlay|hidden/.test(er+eo+ei)}function rA(ee){var en=ee.getBoundingClientRect(),er=rk(en.width)/ee.offsetWidth||1,ei=rk(en.height)/ee.offsetHeight||1;return 1!==er||1!==ei}function rP(ee,en,er){void 0===er&&(er=!1);var ei=rv(en),eo=rv(en)&&rA(en),es=rN(en),eu=rO(ee,eo,er),ec={scrollLeft:0,scrollTop:0},ed={x:0,y:0};return(ei||!ei&&!er)&&(("body"!==rS(en)||rL(es))&&(ec=rT(en)),rv(en)?(ed=rO(en,!0),ed.x+=en.clientLeft,ed.y+=en.clientTop):es&&(ed.x=rI(es))),{x:eu.left+ec.scrollLeft-ed.x,y:eu.top+ec.scrollTop-ed.y,width:eu.width,height:eu.height}}function rM(ee){var en=rO(ee),er=ee.offsetWidth,ei=ee.offsetHeight;return 1>=Math.abs(en.width-er)&&(er=en.width),1>=Math.abs(en.height-ei)&&(ei=en.height),{x:ee.offsetLeft,y:ee.offsetTop,width:er,height:ei}}function rD(ee){return"html"===rS(ee)?ee:ee.assignedSlot||ee.parentNode||(ry(ee)?ee.host:null)||rN(ee)}function rF(ee){return["html","body","#document"].indexOf(rS(ee))>=0?ee.ownerDocument.body:rv(ee)&&rL(ee)?ee:rF(rD(ee))}function r$(ee,en){void 0===en&&(en=[]);var er,ei=rF(ee),eo=ei===(null==(er=ee.ownerDocument)?void 0:er.body),es=rx(ei),eu=eo?[es].concat(es.visualViewport||[],rL(ei)?ei:[]):ei,ec=en.concat(eu);return eo?ec:ec.concat(r$(rD(eu)))}function rZ(ee){return["table","td","th"].indexOf(rS(ee))>=0}function rz(ee){return rv(ee)&&"fixed"!==rR(ee).position?ee.offsetParent:null}function rW(ee){var en=/firefox/i.test(r_());if(/Trident/i.test(r_())&&rv(ee)&&"fixed"===rR(ee).position)return null;var er=rD(ee);for(ry(er)&&(er=er.host);rv(er)&&0>["html","body"].indexOf(rS(er));){var ei=rR(er);if("none"!==ei.transform||"none"!==ei.perspective||"paint"===ei.contain||-1!==["transform","perspective"].indexOf(ei.willChange)||en&&"filter"===ei.willChange||en&&ei.filter&&"none"!==ei.filter)return er;er=er.parentNode}return null}function rH(ee){for(var en=rx(ee),er=rz(ee);er&&rZ(er)&&"static"===rR(er).position;)er=rz(er);return er&&("html"===rS(er)||"body"===rS(er)&&"static"===rR(er).position)?en:er||rW(ee)||en}var rU="top",rG="bottom",rB="right",rV="left",rq="auto",rK=[rU,rG,rB,rV],rQ="start",rJ="end",rX="clippingParents",rY="viewport",r0="popper",r1="reference",r2=rK.reduce(function(ee,en){return ee.concat([en+"-"+rQ,en+"-"+rJ])},[]),r4=[].concat(rK,[rq]).reduce(function(ee,en){return ee.concat([en,en+"-"+rQ,en+"-"+rJ])},[]),r5=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function r3(ee){var en=new Map,er=new Set,ei=[];function eo(ee){er.add(ee.name),[].concat(ee.requires||[],ee.requiresIfExists||[]).forEach(function(ee){if(!er.has(ee)){var ei=en.get(ee);ei&&eo(ei)}}),ei.push(ee)}return ee.forEach(function(ee){en.set(ee.name,ee)}),ee.forEach(function(ee){er.has(ee.name)||eo(ee)}),ei}function r6(ee){var en=r3(ee);return r5.reduce(function(ee,er){return ee.concat(en.filter(function(ee){return ee.phase===er}))},[])}function r7(ee){var en;return function(){return en||(en=new Promise(function(er){Promise.resolve().then(function(){en=void 0,er(ee())})})),en}}function r9(ee){var en=ee.reduce(function(ee,en){var er=ee[en.name];return ee[en.name]=er?Object.assign({},er,en,{options:Object.assign({},er.options,en.options),data:Object.assign({},er.data,en.data)}):en,ee},{});return Object.keys(en).map(function(ee){return en[ee]})}var r8={placement:"bottom",modifiers:[],strategy:"absolute"};function it(){for(var ee=arguments.length,en=Array(ee),er=0;er=0?"x":"y"}function il(ee){var en,er=ee.reference,ei=ee.element,eo=ee.placement,es=eo?ii(eo):null,eu=eo?io(eo):null,ec=er.x+er.width/2-ei.width/2,ed=er.y+er.height/2-ei.height/2;switch(es){case rU:en={x:ec,y:er.y-ei.height};break;case rG:en={x:ec,y:er.y+er.height};break;case rB:en={x:er.x+er.width,y:ed};break;case rV:en={x:er.x-ei.width,y:ed};break;default:en={x:er.x,y:er.y}}var ef=es?is(es):null;if(null!=ef){var eh="y"===ef?"height":"width";switch(eu){case rQ:en[ef]=en[ef]-(er[eh]/2-ei[eh]/2);break;case rJ:en[ef]=en[ef]+(er[eh]/2-ei[eh]/2)}}return en}var iu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ic(ee,en){var er=ee.x,ei=ee.y,eo=en.devicePixelRatio||1;return{x:rk(er*eo)/eo||0,y:rk(ei*eo)/eo||0}}function ih(ee){var en,er,ei=ee.popper,eo=ee.popperRect,es=ee.placement,eu=ee.variation,ec=ee.offsets,ed=ee.position,ef=ee.gpuAcceleration,eh=ee.adaptive,ep=ee.roundOffsets,em=ee.isFixed,ex=ec.x,eg=void 0===ex?0:ex,ev=ec.y,ey=void 0===ev?0:ev,eb="function"==typeof ep?ep({x:eg,y:ey}):{x:eg,y:ey};eg=eb.x,ey=eb.y;var ew=ec.hasOwnProperty("x"),ek=ec.hasOwnProperty("y"),e_=rV,ej=rU,eO=window;if(eh){var eE=rH(ei),eC="clientHeight",eT="clientWidth";eE===rx(ei)&&"static"!==rR(eE=rN(ei)).position&&"absolute"===ed&&(eC="scrollHeight",eT="scrollWidth"),(es===rU||(es===rV||es===rB)&&eu===rJ)&&(ej=rG,ey-=(em&&eE===eO&&eO.visualViewport?eO.visualViewport.height:eE[eC])-eo.height,ey*=ef?1:-1),(es===rV||(es===rU||es===rG)&&eu===rJ)&&(e_=rB,eg-=(em&&eE===eO&&eO.visualViewport?eO.visualViewport.width:eE[eT])-eo.width,eg*=ef?1:-1)}var eS=Object.assign({position:ed},eh&&iu),eN=!0===ep?ic({x:eg,y:ey},rx(ei)):{x:eg,y:ey};return(eg=eN.x,ey=eN.y,ef)?Object.assign({},eS,((er={})[ej]=ek?"0":"",er[e_]=ew?"0":"",er.transform=1>=(eO.devicePixelRatio||1)?"translate("+eg+"px, "+ey+"px)":"translate3d("+eg+"px, "+ey+"px, 0)",er)):Object.assign({},eS,((en={})[ej]=ek?ey+"px":"",en[e_]=ew?eg+"px":"",en.transform="",en))}function im(ee,en,er){var ei=ii(ee),eo=[rV,rU].indexOf(ei)>=0?-1:1,es="function"==typeof er?er(Object.assign({},en,{placement:ee})):er,eu=es[0],ec=es[1];return eu=eu||0,ec=(ec||0)*eo,[rV,rB].indexOf(ei)>=0?{x:ec,y:eu}:{x:eu,y:ec}}var ix={left:"right",right:"left",bottom:"top",top:"bottom"};function ig(ee){return ee.replace(/left|right|bottom|top/g,function(ee){return ix[ee]})}var iv={start:"end",end:"start"};function iy(ee){return ee.replace(/start|end/g,function(ee){return iv[ee]})}function ib(ee,en){var er=rx(ee),ei=rN(ee),eo=er.visualViewport,es=ei.clientWidth,eu=ei.clientHeight,ec=0,ed=0;if(eo){es=eo.width,eu=eo.height;var ef=rj();(ef||!ef&&"fixed"===en)&&(ec=eo.offsetLeft,ed=eo.offsetTop)}return{width:es,height:eu,x:ec+rI(ee),y:ed}}function iw(ee){var en,er=rN(ee),ei=rE(ee),eo=null==(en=ee.ownerDocument)?void 0:en.body,es=rb(er.scrollWidth,er.clientWidth,eo?eo.scrollWidth:0,eo?eo.clientWidth:0),eu=rb(er.scrollHeight,er.clientHeight,eo?eo.scrollHeight:0,eo?eo.clientHeight:0),ec=-ei.scrollLeft+rI(ee),ed=-ei.scrollTop;return"rtl"===rR(eo||er).direction&&(ec+=rb(er.clientWidth,eo?eo.clientWidth:0)-es),{width:es,height:eu,x:ec,y:ed}}function ik(ee,en){var er=en.getRootNode&&en.getRootNode();if(ee.contains(en))return!0;if(er&&ry(er)){var ei=en;do{if(ei&&ee.isSameNode(ei))return!0;ei=ei.parentNode||ei.host}while(ei)}return!1}function i_(ee){return Object.assign({},ee,{left:ee.x,top:ee.y,right:ee.x+ee.width,bottom:ee.y+ee.height})}function ij(ee,en){var er=rO(ee,!1,"fixed"===en);return er.top=er.top+ee.clientTop,er.left=er.left+ee.clientLeft,er.bottom=er.top+ee.clientHeight,er.right=er.left+ee.clientWidth,er.width=ee.clientWidth,er.height=ee.clientHeight,er.x=er.left,er.y=er.top,er}function iO(ee,en,er){return en===rY?i_(ib(ee,er)):rg(en)?ij(en,er):i_(iw(rN(ee)))}function iE(ee){var en=r$(rD(ee)),er=["absolute","fixed"].indexOf(rR(ee).position)>=0&&rv(ee)?rH(ee):ee;return rg(er)?en.filter(function(ee){return rg(ee)&&ik(ee,er)&&"body"!==rS(ee)}):[]}function iC(ee,en,er,ei){var eo=[].concat("clippingParents"===en?iE(ee):[].concat(en),[er]),es=eo[0],eu=eo.reduce(function(en,er){var eo=iO(ee,er,ei);return en.top=rb(eo.top,en.top),en.right=rw(eo.right,en.right),en.bottom=rw(eo.bottom,en.bottom),en.left=rb(eo.left,en.left),en},iO(ee,es,ei));return eu.width=eu.right-eu.left,eu.height=eu.bottom-eu.top,eu.x=eu.left,eu.y=eu.top,eu}function iT(){return{top:0,right:0,bottom:0,left:0}}function iS(ee){return Object.assign({},iT(),ee)}function iN(ee,en){return en.reduce(function(en,er){return en[er]=ee,en},{})}function iI(ee,en){void 0===en&&(en={});var er=en,ei=er.placement,eo=void 0===ei?ee.placement:ei,es=er.strategy,eu=void 0===es?ee.strategy:es,ec=er.boundary,ed=void 0===ec?rX:ec,ef=er.rootBoundary,eh=void 0===ef?rY:ef,ep=er.elementContext,em=void 0===ep?r0:ep,ex=er.altBoundary,eg=void 0!==ex&&ex,ev=er.padding,ey=void 0===ev?0:ev,eb=iS("number"!=typeof ey?ey:iN(ey,rK)),ew=em===r0?r1:r0,ek=ee.rects.popper,e_=ee.elements[eg?ew:em],ej=iC(rg(e_)?e_:e_.contextElement||rN(ee.elements.popper),ed,eh,eu),eO=rO(ee.elements.reference),eE=il({reference:eO,element:ek,strategy:"absolute",placement:eo}),eC=i_(Object.assign({},ek,eE)),eT=em===r0?eC:eO,eS={top:ej.top-eT.top+eb.top,bottom:eT.bottom-ej.bottom+eb.bottom,left:ej.left-eT.left+eb.left,right:eT.right-ej.right+eb.right},eN=ee.modifiersData.offset;if(em===r0&&eN){var eI=eN[eo];Object.keys(eS).forEach(function(ee){var en=[rB,rG].indexOf(ee)>=0?1:-1,er=[rU,rG].indexOf(ee)>=0?"y":"x";eS[ee]+=eI[er]*en})}return eS}function iR(ee,en){void 0===en&&(en={});var er=en,ei=er.placement,eo=er.boundary,es=er.rootBoundary,eu=er.padding,ec=er.flipVariations,ed=er.allowedAutoPlacements,ef=void 0===ed?r4:ed,eh=io(ei),ep=eh?ec?r2:r2.filter(function(ee){return io(ee)===eh}):rK,em=ep.filter(function(ee){return ef.indexOf(ee)>=0});0===em.length&&(em=ep);var ex=em.reduce(function(en,er){return en[er]=iI(ee,{placement:er,boundary:eo,rootBoundary:es,padding:eu})[ii(er)],en},{});return Object.keys(ex).sort(function(ee,en){return ex[ee]-ex[en]})}function iL(ee){if(ii(ee)===rq)return[];var en=ig(ee);return[iy(ee),en,iy(en)]}function iA(ee){return"x"===ee?"y":"x"}function iP(ee,en,er){return rb(ee,rw(en,er))}function iM(ee,en,er){var ei=iP(ee,en,er);return ei>er?er:ei}var iD=function(ee,en){return iS("number"!=typeof(ee="function"==typeof ee?ee(Object.assign({},en.rects,{placement:en.placement})):ee)?ee:iN(ee,rK))};function iF(ee,en,er){return void 0===er&&(er={x:0,y:0}),{top:ee.top-en.height-er.y,right:ee.right-en.width+er.x,bottom:ee.bottom-en.height+er.y,left:ee.left-en.width-er.x}}function i$(ee){return[rU,rB,rG,rV].some(function(en){return ee[en]>=0})}var iZ=function(ee){void 0===ee&&(ee={});var en=ee,er=en.defaultModifiers,ei=void 0===er?[]:er,eo=en.defaultOptions,es=void 0===eo?r8:eo;return function(ee,en,er){void 0===er&&(er=es);var eo={placement:"bottom",orderedModifiers:[],options:Object.assign({},r8,es),modifiersData:{},elements:{reference:ee,popper:en},attributes:{},styles:{}},eu=[],ec=!1,ed={state:eo,setOptions:function(er){var eu="function"==typeof er?er(eo.options):er;eh(),eo.options=Object.assign({},es,eo.options,eu),eo.scrollParents={reference:rg(ee)?r$(ee):ee.contextElement?r$(ee.contextElement):[],popper:r$(en)};var ec=r6(r9([].concat(ei,eo.options.modifiers)));return eo.orderedModifiers=ec.filter(function(ee){return ee.enabled}),ef(),ed.update()},forceUpdate:function(){if(!ec){var ee=eo.elements,en=ee.reference,er=ee.popper;if(it(en,er)){eo.rects={reference:rP(en,rH(er),"fixed"===eo.options.strategy),popper:rM(er)},eo.reset=!1,eo.placement=eo.options.placement,eo.orderedModifiers.forEach(function(ee){return eo.modifiersData[ee.name]=Object.assign({},ee.data)});for(var ei=0;ei=0,eL=eR?"width":"height",eA=iI(en,{placement:eS,boundary:eh,rootBoundary:ep,altBoundary:em,padding:ef}),eP=eR?eI?rB:rV:eI?rG:rU;e_[eL]>ej[eL]&&(eP=ig(eP));var eM=ig(eP),eD=[];if(es&&eD.push(eA[eN]<=0),ec&&eD.push(eA[eP]<=0,eA[eM]<=0),eD.every(function(ee){return ee})){eC=eS,eE=!1;break}eO.set(eS,eD)}if(eE)for(var eF=eg?3:1,e$=function(ee){var en=ek.find(function(en){var er=eO.get(en);if(er)return er.slice(0,ee).every(function(ee){return ee})});if(en)return eC=en,"break"},eZ=eF;eZ>0&&"break"!==e$(eZ);eZ--);en.placement!==eC&&(en.modifiersData[ei]._skip=!0,en.placement=eC,en.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(ee){var en=ee.state,er=ee.options,ei=ee.name,eo=er.mainAxis,es=void 0===eo||eo,eu=er.altAxis,ec=void 0!==eu&&eu,ed=er.boundary,ef=er.rootBoundary,eh=er.altBoundary,ep=er.padding,em=er.tether,ex=void 0===em||em,eg=er.tetherOffset,ev=void 0===eg?0:eg,ey=iI(en,{boundary:ed,rootBoundary:ef,padding:ep,altBoundary:eh}),eb=ii(en.placement),ew=io(en.placement),ek=!ew,e_=is(eb),ej=iA(e_),eO=en.modifiersData.popperOffsets,eE=en.rects.reference,eC=en.rects.popper,eT="function"==typeof ev?ev(Object.assign({},en.rects,{placement:en.placement})):ev,eS="number"==typeof eT?{mainAxis:eT,altAxis:eT}:Object.assign({mainAxis:0,altAxis:0},eT),eN=en.modifiersData.offset?en.modifiersData.offset[en.placement]:null,eI={x:0,y:0};if(eO){if(es){var eR,eL="y"===e_?rU:rV,eA="y"===e_?rG:rB,eP="y"===e_?"height":"width",eM=eO[e_],eD=eM+ey[eL],eF=eM-ey[eA],e$=ex?-eC[eP]/2:0,eZ=ew===rQ?eE[eP]:eC[eP],ez=ew===rQ?-eC[eP]:-eE[eP],eW=en.elements.arrow,eH=ex&&eW?rM(eW):{width:0,height:0},eU=en.modifiersData["arrow#persistent"]?en.modifiersData["arrow#persistent"].padding:iT(),eG=eU[eL],eB=eU[eA],eV=iP(0,eE[eP],eH[eP]),eK=ek?eE[eP]/2-e$-eV-eG-eS.mainAxis:eZ-eV-eG-eS.mainAxis,eQ=ek?-eE[eP]/2+e$+eV+eB+eS.mainAxis:ez+eV+eB+eS.mainAxis,eJ=en.elements.arrow&&rH(en.elements.arrow),eX=eJ?"y"===e_?eJ.clientTop||0:eJ.clientLeft||0:0,eY=null!=(eR=null==eN?void 0:eN[e_])?eR:0,e0=eM+eK-eY-eX,e1=eM+eQ-eY,e2=iP(ex?rw(eD,e0):eD,eM,ex?rb(eF,e1):eF);eO[e_]=e2,eI[e_]=e2-eM}if(ec){var e4,e5="x"===e_?rU:rV,e3="x"===e_?rG:rB,e6=eO[ej],e7="y"===ej?"height":"width",e9=e6+ey[e5],e8=e6-ey[e3],te=-1!==[rU,rV].indexOf(eb),tn=null!=(e4=null==eN?void 0:eN[ej])?e4:0,tr=te?e9:e6-eE[e7]-eC[e7]-tn+eS.altAxis,ti=te?e6+eE[e7]+eC[e7]-tn-eS.altAxis:e8,to=ex&&te?iM(tr,e6,ti):iP(ex?tr:e9,e6,ex?ti:e8);eO[ej]=to,eI[ej]=to-e6}en.modifiersData[ei]=eI}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(ee){var en,er=ee.state,ei=ee.name,eo=ee.options,es=er.elements.arrow,eu=er.modifiersData.popperOffsets,ec=ii(er.placement),ed=is(ec),ef=[rV,rB].indexOf(ec)>=0?"height":"width";if(es&&eu){var eh=iD(eo.padding,er),ep=rM(es),em="y"===ed?rU:rV,ex="y"===ed?rG:rB,eg=er.rects.reference[ef]+er.rects.reference[ed]-eu[ed]-er.rects.popper[ef],ev=eu[ed]-er.rects.reference[ed],ey=rH(es),eb=ey?"y"===ed?ey.clientHeight||0:ey.clientWidth||0:0,ew=eg/2-ev/2,ek=eh[em],e_=eb-ep[ef]-eh[ex],ej=eb/2-ep[ef]/2+ew,eO=iP(ek,ej,e_),eE=ed;er.modifiersData[ei]=((en={})[eE]=eO,en.centerOffset=eO-ej,en)}},effect:function(ee){var en=ee.state,er=ee.options.element,ei=void 0===er?"[data-popper-arrow]":er;null!=ei&&("string"!=typeof ei||(ei=en.elements.popper.querySelector(ei)))&&ik(en.elements.popper,ei)&&(en.elements.arrow=ei)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(ee){var en=ee.state,er=ee.name,ei=en.rects.reference,eo=en.rects.popper,es=en.modifiersData.preventOverflow,eu=iI(en,{elementContext:"reference"}),ec=iI(en,{altBoundary:!0}),ed=iF(eu,ei),ef=iF(ec,eo,es),eh=i$(ed),ep=i$(ef);en.modifiersData[er]={referenceClippingOffsets:ed,popperEscapeOffsets:ef,isReferenceHidden:eh,hasPopperEscaped:ep},en.attributes.popper=Object.assign({},en.attributes.popper,{"data-popper-reference-hidden":eh,"data-popper-escaped":ep})}}]}),iz=er(6304),iW=er.n(iz);function iH(ee){if("string"!=typeof ee)throw TypeError("Expected a string");return ee.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function iU(...ee){return Array.from(new Set(ee.flatMap(ee=>"string"==typeof ee?ee.split(" "):[]))).filter(Boolean).join(" ")}function iG(ee,en,...er){if(ee in en){let ei=en[ee];return"function"==typeof ei?ei(...er):ei}let ei=Error(`Tried to handle "${ee}" but there is no handler defined. Only defined handlers are: ${Object.keys(en).map(ee=>`"${ee}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(ei,iG),ei}var iB=((ei=iB||{})[ei.None=0]="None",ei[ei.RenderStrategy=1]="RenderStrategy",ei[ei.Static=2]="Static",ei),iV=((eo=iV||{})[eo.Unmount=0]="Unmount",eo[eo.Hidden=1]="Hidden",eo);function iq({ourProps:ee,theirProps:en,slot:er,defaultTag:ei,features:eo,visible:es=!0,name:eu}){let ec=iJ(en,ee);if(es)return iK(ec,er,ei,eu);let ed=null!=eo?eo:0;if(2&ed){let{static:ee=!1,...en}=ec;if(ee)return iK(en,er,ei,eu)}if(1&ed){let{unmount:ee=!0,...en}=ec;return iG(ee?0:1,{0:()=>null,1:()=>iK({...en,hidden:!0,style:{display:"none"}},er,ei,eu)})}return iK(ec,er,ei,eu)}function iK(ee,en={},er,ei){let{as:eo=er,children:es,refName:eu="ref",...ec}=i0(ee,["unmount","static"]),ed=void 0!==ee.ref?{[eu]:ee.ref}:{},ef="function"==typeof es?es(en):es;"className"in ec&&ec.className&&"function"==typeof ec.className&&(ec.className=ec.className(en));let eh={};if(en){let ee=!1,er=[];for(let[ei,eo]of Object.entries(en))"boolean"==typeof eo&&(ee=!0),!0===eo&&er.push(ei);ee&&(eh["data-headlessui-state"]=er.join(" "))}if(eo===eR.Fragment&&Object.keys(iY(ec)).length>0){if(!(0,eR.isValidElement)(ef)||Array.isArray(ef)&&ef.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${ei} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ec).map(ee=>` - ${ee}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(ee=>` - ${ee}`).join(` +`)].join(` +`));let ee=ef.props,en="function"==typeof(null==ee?void 0:ee.className)?(...en)=>iU(null==ee?void 0:ee.className(...en),ec.className):iU(null==ee?void 0:ee.className,ec.className),er=en?{className:en}:{};return(0,eR.cloneElement)(ef,Object.assign({},iJ(ef.props,iY(i0(ec,["ref"]))),eh,ed,iQ(ef.ref,ed.ref),er))}return(0,eR.createElement)(eo,Object.assign({},i0(ec,["ref"]),eo!==eR.Fragment&&ed,eo!==eR.Fragment&&eh),ef)}function iQ(...ee){return{ref:ee.every(ee=>null==ee)?void 0:en=>{for(let er of ee)null!=er&&("function"==typeof er?er(en):er.current=en)}}}function iJ(...ee){var en;if(0===ee.length)return{};if(1===ee.length)return ee[0];let er={},ei={};for(let eo of ee)for(let ee in eo)ee.startsWith("on")&&"function"==typeof eo[ee]?(null!=(en=ei[ee])||(ei[ee]=[]),ei[ee].push(eo[ee])):er[ee]=eo[ee];if(er.disabled||er["aria-disabled"])return Object.assign(er,Object.fromEntries(Object.keys(ei).map(ee=>[ee,void 0])));for(let ee in ei)Object.assign(er,{[ee](en,...er){for(let eo of ei[ee]){if((en instanceof Event||(null==en?void 0:en.nativeEvent)instanceof Event)&&en.defaultPrevented)return;eo(en,...er)}}});return er}function iX(ee){var en;return Object.assign((0,eR.forwardRef)(ee),{displayName:null!=(en=ee.displayName)?en:ee.name})}function iY(ee){let en=Object.assign({},ee);for(let ee in en)void 0===en[ee]&&delete en[ee];return en}function i0(ee,en=[]){let er=Object.assign({},ee);for(let ee of en)ee in er&&delete er[ee];return er}let i1=(0,eR.createContext)(null);i1.displayName="OpenClosedContext";var i2=((es=i2||{})[es.Open=1]="Open",es[es.Closed=2]="Closed",es[es.Closing=4]="Closing",es[es.Opening=8]="Opening",es);function i4(){return(0,eR.useContext)(i1)}function i5({value:ee,children:en}){return eR.createElement(i1.Provider,{value:ee},en)}var i3=Object.defineProperty,i6=(ee,en,er)=>en in ee?i3(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,i7=(ee,en,er)=>(i6(ee,"symbol"!=typeof en?en+"":en,er),er);class i9{constructor(){i7(this,"current",this.detect()),i7(this,"handoffState","pending"),i7(this,"currentId",0)}set(ee){this.current!==ee&&(this.handoffState="pending",this.currentId=0,this.current=ee)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let i8=new i9,at=(ee,en)=>{i8.isServer?(0,eR.useEffect)(ee,en):(0,eR.useLayoutEffect)(ee,en)};function an(){let ee=(0,eR.useRef)(!1);return at(()=>(ee.current=!0,()=>{ee.current=!1}),[]),ee}function ar(ee){let en=(0,eR.useRef)(ee);return at(()=>{en.current=ee},[ee]),en}function ai(){let ee="undefined"==typeof document;return(0,eL.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!ee)}function ao(){let ee=ai(),[en,er]=eR.useState(i8.isHandoffComplete);return en&&!1===i8.isHandoffComplete&&er(!1),eR.useEffect(()=>{!0!==en&&er(!0)},[en]),eR.useEffect(()=>i8.handoff(),[]),!ee&&en}let al=function(ee){let en=ar(ee);return eR.useCallback((...ee)=>en.current(...ee),[en])},au=Symbol();function ac(...ee){let en=(0,eR.useRef)(ee);(0,eR.useEffect)(()=>{en.current=ee},[ee]);let er=al(ee=>{for(let er of en.current)null!=er&&("function"==typeof er?er(ee):er.current=ee)});return ee.every(ee=>null==ee||(null==ee?void 0:ee[au]))?void 0:er}function ad(ee){let en={called:!1};return(...er)=>{if(!en.called)return en.called=!0,ee(...er)}}function af(ee){"function"==typeof queueMicrotask?queueMicrotask(ee):Promise.resolve().then(ee).catch(ee=>setTimeout(()=>{throw ee}))}function ah(){let ee=[],en={addEventListener:(ee,er,ei,eo)=>(ee.addEventListener(er,ei,eo),en.add(()=>ee.removeEventListener(er,ei,eo))),requestAnimationFrame(...ee){let er=requestAnimationFrame(...ee);return en.add(()=>cancelAnimationFrame(er))},nextFrame:(...ee)=>en.requestAnimationFrame(()=>en.requestAnimationFrame(...ee)),setTimeout(...ee){let er=setTimeout(...ee);return en.add(()=>clearTimeout(er))},microTask(...ee){let er={current:!0};return af(()=>{er.current&&ee[0]()}),en.add(()=>{er.current=!1})},style(ee,en,er){let ei=ee.style.getPropertyValue(en);return Object.assign(ee.style,{[en]:er}),this.add(()=>{Object.assign(ee.style,{[en]:ei})})},group(ee){let en=ah();return ee(en),this.add(()=>en.dispose())},add:en=>(ee.push(en),()=>{let er=ee.indexOf(en);if(er>=0)for(let en of ee.splice(er,1))en()}),dispose(){for(let en of ee.splice(0))en()}};return en}function ap(ee,...en){ee&&en.length>0&&ee.classList.add(...en)}function am(ee,...en){ee&&en.length>0&&ee.classList.remove(...en)}function ax(ee,en){let er=ah();if(!ee)return er.dispose;let{transitionDuration:ei,transitionDelay:eo}=getComputedStyle(ee),[es,eu]=[ei,eo].map(ee=>{let[en=0]=ee.split(",").filter(Boolean).map(ee=>ee.includes("ms")?parseFloat(ee):1e3*parseFloat(ee)).sort((ee,en)=>en-ee);return en}),ec=es+eu;if(0!==ec){er.group(er=>{er.setTimeout(()=>{en(),er.dispose()},ec),er.addEventListener(ee,"transitionrun",ee=>{ee.target===ee.currentTarget&&er.dispose()})});let ei=er.addEventListener(ee,"transitionend",ee=>{ee.target===ee.currentTarget&&(en(),ei())})}else en();return er.add(()=>en()),er.dispose}function ag(ee,en,er,ei){let eo=er?"enter":"leave",es=ah(),eu=void 0!==ei?ad(ei):()=>{};"enter"===eo&&(ee.removeAttribute("hidden"),ee.style.display="");let ec=iG(eo,{enter:()=>en.enter,leave:()=>en.leave}),ed=iG(eo,{enter:()=>en.enterTo,leave:()=>en.leaveTo}),ef=iG(eo,{enter:()=>en.enterFrom,leave:()=>en.leaveFrom});return am(ee,...en.base,...en.enter,...en.enterTo,...en.enterFrom,...en.leave,...en.leaveFrom,...en.leaveTo,...en.entered),ap(ee,...en.base,...ec,...ef),es.nextFrame(()=>{am(ee,...en.base,...ec,...ef),ap(ee,...en.base,...ec,...ed),ax(ee,()=>(am(ee,...en.base,...ec),ap(ee,...en.base,...en.entered),eu()))}),es.dispose}function av(){let[ee]=(0,eR.useState)(ah);return(0,eR.useEffect)(()=>()=>ee.dispose(),[ee]),ee}function ay({immediate:ee,container:en,direction:er,classes:ei,onStart:eo,onStop:es}){let eu=an(),ec=av(),ed=ar(er);at(()=>{ee&&(ed.current="enter")},[ee]),at(()=>{let ee=ah();ec.add(ee.dispose);let er=en.current;if(er&&"idle"!==ed.current&&eu.current)return ee.dispose(),eo.current(ed.current),ee.add(ag(er,ei.current,"enter"===ed.current,()=>{ee.dispose(),es.current(ed.current)})),ee.dispose},[er])}function ab(ee=0){let[en,er]=(0,eR.useState)(ee),ei=an(),eo=(0,eR.useCallback)(ee=>{ei.current&&er(en=>en|ee)},[en,ei]),es=(0,eR.useCallback)(ee=>!!(en&ee),[en]);return{flags:en,addFlag:eo,hasFlag:es,removeFlag:(0,eR.useCallback)(ee=>{ei.current&&er(en=>en&~ee)},[er,ei]),toggleFlag:(0,eR.useCallback)(ee=>{ei.current&&er(en=>en^ee)},[er])}}function aw(ee=""){return ee.split(" ").filter(ee=>ee.trim().length>1)}let ak=(0,eR.createContext)(null);ak.displayName="TransitionContext";var a_=((eu=a_||{}).Visible="visible",eu.Hidden="hidden",eu);function aj(){let ee=(0,eR.useContext)(ak);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}function aO(){let ee=(0,eR.useContext)(aE);if(null===ee)throw Error("A is used but it is missing a parent or .");return ee}let aE=(0,eR.createContext)(null);function aC(ee){return"children"in ee?aC(ee.children):ee.current.filter(({el:ee})=>null!==ee.current).filter(({state:ee})=>"visible"===ee).length>0}function aT(ee,en){let er=ar(ee),ei=(0,eR.useRef)([]),eo=an(),es=av(),eu=al((ee,en=iV.Hidden)=>{let eu=ei.current.findIndex(({el:en})=>en===ee);-1!==eu&&(iG(en,{[iV.Unmount](){ei.current.splice(eu,1)},[iV.Hidden](){ei.current[eu].state="hidden"}}),es.microTask(()=>{var ee;!aC(ei)&&eo.current&&(null==(ee=er.current)||ee.call(er))}))}),ec=al(ee=>{let en=ei.current.find(({el:en})=>en===ee);return en?"visible"!==en.state&&(en.state="visible"):ei.current.push({el:ee,state:"visible"}),()=>eu(ee,iV.Unmount)}),ed=(0,eR.useRef)([]),ef=(0,eR.useRef)(Promise.resolve()),eh=(0,eR.useRef)({enter:[],leave:[],idle:[]}),ep=al((ee,er,ei)=>{ed.current.splice(0),en&&(en.chains.current[er]=en.chains.current[er].filter(([en])=>en!==ee)),null==en||en.chains.current[er].push([ee,new Promise(ee=>{ed.current.push(ee)})]),null==en||en.chains.current[er].push([ee,new Promise(ee=>{Promise.all(eh.current[er].map(([ee,en])=>en)).then(()=>ee())})]),"enter"===er?ef.current=ef.current.then(()=>null==en?void 0:en.wait.current).then(()=>ei(er)):ei(er)}),em=al((ee,en,er)=>{Promise.all(eh.current[en].splice(0).map(([ee,en])=>en)).then(()=>{var ee;null==(ee=ed.current.shift())||ee()}).then(()=>er(en))});return(0,eR.useMemo)(()=>({children:ei,register:ec,unregister:eu,onStart:ep,onStop:em,wait:ef,chains:eh}),[ec,eu,ei,ep,em,eh,ef])}function aS(){}aE.displayName="NestingContext";let aN=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function aI(ee){var en;let er={};for(let ei of aN)er[ei]=null!=(en=ee[ei])?en:aS;return er}function aR(ee){let en=(0,eR.useRef)(aI(ee));return(0,eR.useEffect)(()=>{en.current=aI(ee)},[ee]),en}let aL="div",aA=iB.RenderStrategy;function aP(ee,en){var er,ei;let{beforeEnter:eo,afterEnter:es,beforeLeave:eu,afterLeave:ec,enter:ed,enterFrom:ef,enterTo:eh,entered:ep,leave:em,leaveFrom:ex,leaveTo:eg,...ev}=ee,ey=(0,eR.useRef)(null),eb=ac(ey,en),ew=null==(er=ev.unmount)||er?iV.Unmount:iV.Hidden,{show:ek,appear:e_,initial:ej}=aj(),[eO,eE]=(0,eR.useState)(ek?"visible":"hidden"),eC=aO(),{register:eT,unregister:eS}=eC;(0,eR.useEffect)(()=>eT(ey),[eT,ey]),(0,eR.useEffect)(()=>{if(ew===iV.Hidden&&ey.current){if(ek&&"visible"!==eO){eE("visible");return}return iG(eO,{hidden:()=>eS(ey),visible:()=>eT(ey)})}},[eO,ey,eT,eS,ek,ew]);let eN=ar({base:aw(ev.className),enter:aw(ed),enterFrom:aw(ef),enterTo:aw(eh),entered:aw(ep),leave:aw(em),leaveFrom:aw(ex),leaveTo:aw(eg)}),eI=aR({beforeEnter:eo,afterEnter:es,beforeLeave:eu,afterLeave:ec}),eL=ao();(0,eR.useEffect)(()=>{if(eL&&"visible"===eO&&null===ey.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[ey,eO,eL]);let eA=ej&&!e_,eP=e_&&ek&&ej,eM=!eL||eA?"idle":ek?"enter":"leave",eD=ab(0),eF=al(ee=>iG(ee,{enter:()=>{eD.addFlag(i2.Opening),eI.current.beforeEnter()},leave:()=>{eD.addFlag(i2.Closing),eI.current.beforeLeave()},idle:()=>{}})),e$=al(ee=>iG(ee,{enter:()=>{eD.removeFlag(i2.Opening),eI.current.afterEnter()},leave:()=>{eD.removeFlag(i2.Closing),eI.current.afterLeave()},idle:()=>{}})),eZ=aT(()=>{eE("hidden"),eS(ey)},eC);ay({immediate:eP,container:ey,classes:eN,direction:eM,onStart:ar(ee=>{eZ.onStart(ey,ee,eF)}),onStop:ar(ee=>{eZ.onStop(ey,ee,e$),"leave"!==ee||aC(eZ)||(eE("hidden"),eS(ey))})});let ez=ev,eW={ref:eb};return eP?ez={...ez,className:iU(ev.className,...eN.current.enter,...eN.current.enterFrom)}:(ez.className=iU(ev.className,null==(ei=ey.current)?void 0:ei.className),""===ez.className&&delete ez.className),eR.createElement(aE.Provider,{value:eZ},eR.createElement(i5,{value:iG(eO,{visible:i2.Open,hidden:i2.Closed})|eD.flags},iq({ourProps:eW,theirProps:ez,defaultTag:aL,features:aA,visible:"visible"===eO,name:"Transition.Child"})))}function aM(ee,en){let er=null!==(0,eR.useContext)(ak),ei=null!==i4();return eR.createElement(eR.Fragment,null,!er&&ei?eR.createElement(aD,{ref:en,...ee}):eR.createElement(aF,{ref:en,...ee}))}let aD=iX(function(ee,en){let{show:er,appear:ei=!1,unmount:eo=!0,...es}=ee,eu=(0,eR.useRef)(null),ec=ac(eu,en);ao();let ed=i4();if(void 0===er&&null!==ed&&(er=(ed&i2.Open)===i2.Open),![!0,!1].includes(er))throw Error("A is used but it is missing a `show={true | false}` prop.");let[ef,eh]=(0,eR.useState)(er?"visible":"hidden"),ep=aT(()=>{eh("hidden")}),[em,ex]=(0,eR.useState)(!0),eg=(0,eR.useRef)([er]);at(()=>{!1!==em&&eg.current[eg.current.length-1]!==er&&(eg.current.push(er),ex(!1))},[eg,er]);let ev=(0,eR.useMemo)(()=>({show:er,appear:ei,initial:em}),[er,ei,em]);(0,eR.useEffect)(()=>{if(er)eh("visible");else if(aC(ep)){let ee=eu.current;if(!ee)return;let en=ee.getBoundingClientRect();0===en.x&&0===en.y&&0===en.width&&0===en.height&&eh("hidden")}else eh("hidden")},[er,ep]);let ey={unmount:eo},eb=al(()=>{var en;em&&ex(!1),null==(en=ee.beforeEnter)||en.call(ee)}),ew=al(()=>{var en;em&&ex(!1),null==(en=ee.beforeLeave)||en.call(ee)});return eR.createElement(aE.Provider,{value:ep},eR.createElement(ak.Provider,{value:ev},iq({ourProps:{...ey,as:eR.Fragment,children:eR.createElement(aF,{ref:ec,...ey,...es,beforeEnter:eb,beforeLeave:ew})},theirProps:{},defaultTag:eR.Fragment,features:aA,visible:"visible"===ef,name:"Transition"})))}),aF=iX(aP),a$=iX(aM),aZ=Object.assign(aD,{Child:a$,Root:aD});var az=er(4266);let aW=null!=(eS=eR.useId)?eS:function(){let ee=ao(),[en,er]=eR.useState(ee?()=>i8.nextId():null);return at(()=>{null===en&&er(i8.nextId())},[en]),null!=en?""+en:void 0};function aH(ee,en){let[er,ei]=(0,eR.useState)(ee),eo=ar(ee);return at(()=>ei(eo.current),[eo,ei,...en]),er}var aU=((ec=aU||{}).Space=" ",ec.Enter="Enter",ec.Escape="Escape",ec.Backspace="Backspace",ec.Delete="Delete",ec.ArrowLeft="ArrowLeft",ec.ArrowUp="ArrowUp",ec.ArrowRight="ArrowRight",ec.ArrowDown="ArrowDown",ec.Home="Home",ec.End="End",ec.PageUp="PageUp",ec.PageDown="PageDown",ec.Tab="Tab",ec);function aG(ee){throw Error("Unexpected object: "+ee)}var aB=((ed=aB||{})[ed.First=0]="First",ed[ed.Previous=1]="Previous",ed[ed.Next=2]="Next",ed[ed.Last=3]="Last",ed[ed.Specific=4]="Specific",ed[ed.Nothing=5]="Nothing",ed);function aV(ee,en){let er=en.resolveItems();if(er.length<=0)return null;let ei=en.resolveActiveIndex(),eo=null!=ei?ei:-1,es=(()=>{switch(ee.focus){case 0:return er.findIndex(ee=>!en.resolveDisabled(ee));case 1:{let ee=er.slice().reverse().findIndex((ee,er,ei)=>(-1===eo||!(ei.length-er-1>=eo))&&!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 2:return er.findIndex((ee,er)=>!(er<=eo)&&!en.resolveDisabled(ee));case 3:{let ee=er.slice().reverse().findIndex(ee=>!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 4:return er.findIndex(er=>en.resolveId(er)===ee.id);case 5:return null;default:aG(ee)}})();return -1===es?ei:es}function aq(ee){let en=ee.parentElement,er=null;for(;en&&!(en instanceof HTMLFieldSetElement);)en instanceof HTMLLegendElement&&(er=en),en=en.parentElement;let ei=(null==en?void 0:en.getAttribute("disabled"))==="";return!(ei&&aK(er))&&ei}function aK(ee){if(!ee)return!1;let en=ee.previousElementSibling;for(;null!==en;){if(en instanceof HTMLLegendElement)return!1;en=en.previousElementSibling}return!0}function aQ(ee){return i8.isServer?null:ee instanceof Node?ee.ownerDocument:null!=ee&&ee.hasOwnProperty("current")&&ee.current instanceof Node?ee.current.ownerDocument:document}let aJ=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(ee=>`${ee}:not([tabindex='-1'])`).join(",");var aX=((ef=aX||{})[ef.First=1]="First",ef[ef.Previous=2]="Previous",ef[ef.Next=4]="Next",ef[ef.Last=8]="Last",ef[ef.WrapAround=16]="WrapAround",ef[ef.NoScroll=32]="NoScroll",ef),aY=((eh=aY||{})[eh.Error=0]="Error",eh[eh.Overflow=1]="Overflow",eh[eh.Success=2]="Success",eh[eh.Underflow=3]="Underflow",eh),a0=((ep=a0||{})[ep.Previous=-1]="Previous",ep[ep.Next=1]="Next",ep);function a1(ee=document.body){return null==ee?[]:Array.from(ee.querySelectorAll(aJ)).sort((ee,en)=>Math.sign((ee.tabIndex||Number.MAX_SAFE_INTEGER)-(en.tabIndex||Number.MAX_SAFE_INTEGER)))}var a2=((em=a2||{})[em.Strict=0]="Strict",em[em.Loose=1]="Loose",em);function a4(ee,en=0){var er;return ee!==(null==(er=aQ(ee))?void 0:er.body)&&iG(en,{0:()=>ee.matches(aJ),1(){let en=ee;for(;null!==en;){if(en.matches(aJ))return!0;en=en.parentElement}return!1}})}function a5(ee){let en=aQ(ee);ah().nextFrame(()=>{en&&!a4(en.activeElement,0)&&a6(ee)})}var a3=((ex=a3||{})[ex.Keyboard=0]="Keyboard",ex[ex.Mouse=1]="Mouse",ex);function a6(ee){null==ee||ee.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",ee=>{ee.metaKey||ee.altKey||ee.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",ee=>{1===ee.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===ee.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let a7="textarea,input";function a9(ee){var en,er;return null!=(er=null==(en=null==ee?void 0:ee.matches)?void 0:en.call(ee,a7))&&er}function a8(ee,en=ee=>ee){return ee.slice().sort((ee,er)=>{let ei=en(ee),eo=en(er);if(null===ei||null===eo)return 0;let es=ei.compareDocumentPosition(eo);return es&Node.DOCUMENT_POSITION_FOLLOWING?-1:es&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ot(ee,en){return on(a1(),en,{relativeTo:ee})}function on(ee,en,{sorted:er=!0,relativeTo:ei=null,skipElements:eo=[]}={}){let es=Array.isArray(ee)?ee.length>0?ee[0].ownerDocument:document:ee.ownerDocument,eu=Array.isArray(ee)?er?a8(ee):ee:a1(ee);eo.length>0&&eu.length>1&&(eu=eu.filter(ee=>!eo.includes(ee))),ei=null!=ei?ei:es.activeElement;let ec=(()=>{if(5&en)return 1;if(10&en)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ed=(()=>{if(1&en)return 0;if(2&en)return Math.max(0,eu.indexOf(ei))-1;if(4&en)return Math.max(0,eu.indexOf(ei))+1;if(8&en)return eu.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ef=32&en?{preventScroll:!0}:{},eh=0,ep=eu.length,em;do{if(eh>=ep||eh+ep<=0)return 0;let ee=ed+eh;if(16&en)ee=(ee+ep)%ep;else{if(ee<0)return 3;if(ee>=ep)return 1}null==(em=eu[ee])||em.focus(ef),eh+=ec}while(em!==es.activeElement);return 6&en&&a9(em)&&em.select(),2}function or(ee){var en;if(ee.type)return ee.type;let er=null!=(en=ee.as)?en:"button";if("string"==typeof er&&"button"===er.toLowerCase())return"button"}function oi(ee,en){let[er,ei]=(0,eR.useState)(()=>or(ee));return at(()=>{ei(or(ee))},[ee.type,ee.as]),at(()=>{er||en.current&&en.current instanceof HTMLButtonElement&&!en.current.hasAttribute("type")&&ei("button")},[er,en]),er}function oo(ee,en,er){let ei=ar(en);(0,eR.useEffect)(()=>{function en(ee){ei.current(ee)}return document.addEventListener(ee,en,er),()=>document.removeEventListener(ee,en,er)},[ee,er])}function os(ee,en,er){let ei=ar(en);(0,eR.useEffect)(()=>{function en(ee){ei.current(ee)}return window.addEventListener(ee,en,er),()=>window.removeEventListener(ee,en,er)},[ee,er])}function ol(ee,en,er=!0){let ei=(0,eR.useRef)(!1);function eo(er,eo){if(!ei.current||er.defaultPrevented)return;let es=eo(er);if(null!==es&&es.getRootNode().contains(es)&&es.isConnected){for(let en of function ee(en){return"function"==typeof en?ee(en()):Array.isArray(en)||en instanceof Set?en:[en]}(ee)){if(null===en)continue;let ee=en instanceof HTMLElement?en:en.current;if(null!=ee&&ee.contains(es)||er.composed&&er.composedPath().includes(ee))return}return a4(es,a2.Loose)||-1===es.tabIndex||er.preventDefault(),en(er,es)}}(0,eR.useEffect)(()=>{requestAnimationFrame(()=>{ei.current=er})},[er]);let es=(0,eR.useRef)(null);oo("pointerdown",ee=>{var en,er;ei.current&&(es.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),oo("mousedown",ee=>{var en,er;ei.current&&(es.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),oo("click",ee=>{es.current&&(eo(ee,()=>es.current),es.current=null)},!0),oo("touchend",ee=>eo(ee,()=>ee.target instanceof HTMLElement?ee.target:null),!0),os("blur",ee=>eo(ee,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}let ou="div";var oc=((eg=oc||{})[eg.None=1]="None",eg[eg.Focusable=2]="Focusable",eg[eg.Hidden=4]="Hidden",eg);let od=iX(function(ee,en){let{features:er=1,...ei}=ee;return iq({ourProps:{ref:en,"aria-hidden":(2&er)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&er)==4&&(2&er)!=2&&{display:"none"}}},theirProps:ei,slot:{},defaultTag:ou,name:"Hidden"})});function of(ee={},en=null,er=[]){for(let[ei,eo]of Object.entries(ee))op(er,oh(en,ei),eo);return er}function oh(ee,en){return ee?ee+"["+en+"]":en}function op(ee,en,er){if(Array.isArray(er))for(let[ei,eo]of er.entries())op(ee,oh(en,ei.toString()),eo);else er instanceof Date?ee.push([en,er.toISOString()]):"boolean"==typeof er?ee.push([en,er?"1":"0"]):"string"==typeof er?ee.push([en,er]):"number"==typeof er?ee.push([en,`${er}`]):null==er?ee.push([en,""]):of(er,en,ee)}function om(ee,en,er){let[ei,eo]=(0,eR.useState)(er),es=void 0!==ee,eu=(0,eR.useRef)(es),ec=(0,eR.useRef)(!1),ed=(0,eR.useRef)(!1);return!es||eu.current||ec.current?es||!eu.current||ed.current||(ed.current=!0,eu.current=es,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(ec.current=!0,eu.current=es,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[es?ee:ei,al(ee=>(es||eo(ee),null==en?void 0:en(ee)))]}function ox(ee){return[ee.screenX,ee.screenY]}function og(){let ee=(0,eR.useRef)([-1,-1]);return{wasMoved(en){let er=ox(en);return(ee.current[0]!==er[0]||ee.current[1]!==er[1])&&(ee.current=er,!0)},update(en){ee.current=ox(en)}}}let ov=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function oy(ee){var en,er;let ei=null!=(en=ee.innerText)?en:"",eo=ee.cloneNode(!0);if(!(eo instanceof HTMLElement))return ei;let es=!1;for(let ee of eo.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))ee.remove(),es=!0;let eu=es?null!=(er=eo.innerText)?er:"":ei;return ov.test(eu)&&(eu=eu.replace(ov,"")),eu}function ob(ee){let en=ee.getAttribute("aria-label");if("string"==typeof en)return en.trim();let er=ee.getAttribute("aria-labelledby");if(er){let ee=er.split(" ").map(ee=>{let en=document.getElementById(ee);if(en){let ee=en.getAttribute("aria-label");return"string"==typeof ee?ee.trim():oy(en).trim()}return null}).filter(Boolean);if(ee.length>0)return ee.join(", ")}return oy(ee).trim()}function ow(ee){let en=(0,eR.useRef)(""),er=(0,eR.useRef)("");return al(()=>{let ei=ee.current;if(!ei)return"";let eo=ei.innerText;if(en.current===eo)return er.current;let es=ob(ei).trim().toLowerCase();return en.current=eo,er.current=es,es})}var ok=((ev=ok||{})[ev.Open=0]="Open",ev[ev.Closed=1]="Closed",ev),o_=((ey=o_||{})[ey.Single=0]="Single",ey[ey.Multi=1]="Multi",ey),oj=((eb=oj||{})[eb.Pointer=0]="Pointer",eb[eb.Other=1]="Other",eb),oO=((ew=oO||{})[ew.OpenListbox=0]="OpenListbox",ew[ew.CloseListbox=1]="CloseListbox",ew[ew.GoToOption=2]="GoToOption",ew[ew.Search=3]="Search",ew[ew.ClearSearch=4]="ClearSearch",ew[ew.RegisterOption=5]="RegisterOption",ew[ew.UnregisterOption=6]="UnregisterOption",ew[ew.RegisterLabel=7]="RegisterLabel",ew);function oE(ee,en=ee=>ee){let er=null!==ee.activeOptionIndex?ee.options[ee.activeOptionIndex]:null,ei=a8(en(ee.options.slice()),ee=>ee.dataRef.current.domRef.current),eo=er?ei.indexOf(er):null;return -1===eo&&(eo=null),{options:ei,activeOptionIndex:eo}}let oC={1:ee=>ee.dataRef.current.disabled||1===ee.listboxState?ee:{...ee,activeOptionIndex:null,listboxState:1},0(ee){if(ee.dataRef.current.disabled||0===ee.listboxState)return ee;let en=ee.activeOptionIndex,{isSelected:er}=ee.dataRef.current,ei=ee.options.findIndex(ee=>er(ee.dataRef.current.value));return -1!==ei&&(en=ei),{...ee,listboxState:0,activeOptionIndex:en}},2(ee,en){var er;if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let ei=oE(ee),eo=aV(en,{resolveItems:()=>ei.options,resolveActiveIndex:()=>ei.activeOptionIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...ei,searchQuery:"",activeOptionIndex:eo,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{if(ee.dataRef.current.disabled||1===ee.listboxState)return ee;let er=""!==ee.searchQuery?0:1,ei=ee.searchQuery+en.value.toLowerCase(),eo=(null!==ee.activeOptionIndex?ee.options.slice(ee.activeOptionIndex+er).concat(ee.options.slice(0,ee.activeOptionIndex+er)):ee.options).find(ee=>{var en;return!ee.dataRef.current.disabled&&(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(ei))}),es=eo?ee.options.indexOf(eo):-1;return -1===es||es===ee.activeOptionIndex?{...ee,searchQuery:ei}:{...ee,searchQuery:ei,activeOptionIndex:es,activationTrigger:1}},4:ee=>ee.dataRef.current.disabled||1===ee.listboxState||""===ee.searchQuery?ee:{...ee,searchQuery:""},5:(ee,en)=>{let er={id:en.id,dataRef:en.dataRef},ei=oE(ee,ee=>[...ee,er]);return null===ee.activeOptionIndex&&ee.dataRef.current.isSelected(en.dataRef.current.value)&&(ei.activeOptionIndex=ei.options.indexOf(er)),{...ee,...ei}},6:(ee,en)=>{let er=oE(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}},7:(ee,en)=>({...ee,labelId:en.id})},oT=(0,eR.createContext)(null);function oS(ee){let en=(0,eR.useContext)(oT);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,oS),en}return en}oT.displayName="ListboxActionsContext";let oN=(0,eR.createContext)(null);function oI(ee){let en=(0,eR.useContext)(oN);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,oI),en}return en}function oR(ee,en){return iG(en.type,oC,ee,en)}oN.displayName="ListboxDataContext";let oL=eR.Fragment;function oA(ee,en){let{value:er,defaultValue:ei,form:eo,name:es,onChange:eu,by:ec=(ee,en)=>ee===en,disabled:ed=!1,horizontal:ef=!1,multiple:eh=!1,...ep}=ee,em=ef?"horizontal":"vertical",ex=ac(en),[eg=eh?[]:void 0,ev]=om(er,eu,ei),[ey,eb]=(0,eR.useReducer)(oR,{dataRef:(0,eR.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),ew=(0,eR.useRef)({static:!1,hold:!1}),ek=(0,eR.useRef)(null),e_=(0,eR.useRef)(null),ej=(0,eR.useRef)(null),eO=al("string"==typeof ec?(ee,en)=>{let er=ec;return(null==ee?void 0:ee[er])===(null==en?void 0:en[er])}:ec),eE=(0,eR.useCallback)(ee=>iG(eC.mode,{1:()=>eg.some(en=>eO(en,ee)),0:()=>eO(eg,ee)}),[eg]),eC=(0,eR.useMemo)(()=>({...ey,value:eg,disabled:ed,mode:eh?1:0,orientation:em,compare:eO,isSelected:eE,optionsPropsRef:ew,labelRef:ek,buttonRef:e_,optionsRef:ej}),[eg,ed,eh,ey]);at(()=>{ey.dataRef.current=eC},[eC]),ol([eC.buttonRef,eC.optionsRef],(ee,en)=>{var er;eb({type:1}),a4(en,a2.Loose)||(ee.preventDefault(),null==(er=eC.buttonRef.current)||er.focus())},0===eC.listboxState);let eT=(0,eR.useMemo)(()=>({open:0===eC.listboxState,disabled:ed,value:eg}),[eC,ed,eg]),eS=al(ee=>{let en=eC.options.find(en=>en.id===ee);en&&eD(en.dataRef.current.value)}),eN=al(()=>{if(null!==eC.activeOptionIndex){let{dataRef:ee,id:en}=eC.options[eC.activeOptionIndex];eD(ee.current.value),eb({type:2,focus:aB.Specific,id:en})}}),eI=al(()=>eb({type:0})),eL=al(()=>eb({type:1})),eA=al((ee,en,er)=>ee===aB.Specific?eb({type:2,focus:aB.Specific,id:en,trigger:er}):eb({type:2,focus:ee,trigger:er})),eP=al((ee,en)=>(eb({type:5,id:ee,dataRef:en}),()=>eb({type:6,id:ee}))),eM=al(ee=>(eb({type:7,id:ee}),()=>eb({type:7,id:null}))),eD=al(ee=>iG(eC.mode,{0:()=>null==ev?void 0:ev(ee),1(){let en=eC.value.slice(),er=en.findIndex(en=>eO(en,ee));return -1===er?en.push(ee):en.splice(er,1),null==ev?void 0:ev(en)}})),eF=al(ee=>eb({type:3,value:ee})),e$=al(()=>eb({type:4})),eZ=(0,eR.useMemo)(()=>({onChange:eD,registerOption:eP,registerLabel:eM,goToOption:eA,closeListbox:eL,openListbox:eI,selectActiveOption:eN,selectOption:eS,search:eF,clearSearch:e$}),[]),ez={ref:ex},eW=(0,eR.useRef)(null),eH=av();return(0,eR.useEffect)(()=>{eW.current&&void 0!==ei&&eH.addEventListener(eW.current,"reset",()=>{null==ev||ev(ei)})},[eW,ev]),eR.createElement(oT.Provider,{value:eZ},eR.createElement(oN.Provider,{value:eC},eR.createElement(i5,{value:iG(eC.listboxState,{0:i2.Open,1:i2.Closed})},null!=es&&null!=eg&&of({[es]:eg}).map(([ee,en],er)=>eR.createElement(od,{features:oc.Hidden,ref:0===er?ee=>{var en;eW.current=null!=(en=null==ee?void 0:ee.closest("form"))?en:null}:void 0,...iY({key:ee,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:eo,name:ee,value:en})})),iq({ourProps:ez,theirProps:ep,slot:eT,defaultTag:oL,name:"Listbox"}))))}let oP="button";function oM(ee,en){var er;let ei=aW(),{id:eo=`headlessui-listbox-button-${ei}`,...es}=ee,eu=oI("Listbox.Button"),ec=oS("Listbox.Button"),ed=ac(eu.buttonRef,en),ef=av(),eh=al(ee=>{switch(ee.key){case aU.Space:case aU.Enter:case aU.ArrowDown:ee.preventDefault(),ec.openListbox(),ef.nextFrame(()=>{eu.value||ec.goToOption(aB.First)});break;case aU.ArrowUp:ee.preventDefault(),ec.openListbox(),ef.nextFrame(()=>{eu.value||ec.goToOption(aB.Last)})}}),ep=al(ee=>{ee.key===aU.Space&&ee.preventDefault()}),em=al(ee=>{if(aq(ee.currentTarget))return ee.preventDefault();0===eu.listboxState?(ec.closeListbox(),ef.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(ee.preventDefault(),ec.openListbox())}),ex=aH(()=>{if(eu.labelId)return[eu.labelId,eo].join(" ")},[eu.labelId,eo]),eg=(0,eR.useMemo)(()=>({open:0===eu.listboxState,disabled:eu.disabled,value:eu.value}),[eu]);return iq({ourProps:{ref:ed,id:eo,type:oi(ee,eu.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(er=eu.optionsRef.current)?void 0:er.id,"aria-expanded":0===eu.listboxState,"aria-labelledby":ex,disabled:eu.disabled,onKeyDown:eh,onKeyUp:ep,onClick:em},theirProps:es,slot:eg,defaultTag:oP,name:"Listbox.Button"})}let oD="label";function oF(ee,en){let er=aW(),{id:ei=`headlessui-listbox-label-${er}`,...eo}=ee,es=oI("Listbox.Label"),eu=oS("Listbox.Label"),ec=ac(es.labelRef,en);return at(()=>eu.registerLabel(ei),[ei]),iq({ourProps:{ref:ec,id:ei,onClick:al(()=>{var ee;return null==(ee=es.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})},theirProps:eo,slot:(0,eR.useMemo)(()=>({open:0===es.listboxState,disabled:es.disabled}),[es]),defaultTag:oD,name:"Listbox.Label"})}let o$="ul",oZ=iB.RenderStrategy|iB.Static;function oz(ee,en){var er;let ei=aW(),{id:eo=`headlessui-listbox-options-${ei}`,...es}=ee,eu=oI("Listbox.Options"),ec=oS("Listbox.Options"),ed=ac(eu.optionsRef,en),ef=av(),eh=av(),ep=i4(),em=null!==ep?(ep&i2.Open)===i2.Open:0===eu.listboxState;(0,eR.useEffect)(()=>{var ee;let en=eu.optionsRef.current;en&&0===eu.listboxState&&en!==(null==(ee=aQ(en))?void 0:ee.activeElement)&&en.focus({preventScroll:!0})},[eu.listboxState,eu.optionsRef]);let ex=al(ee=>{switch(eh.dispose(),ee.key){case aU.Space:if(""!==eu.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ec.search(ee.key);case aU.Enter:if(ee.preventDefault(),ee.stopPropagation(),null!==eu.activeOptionIndex){let{dataRef:ee}=eu.options[eu.activeOptionIndex];ec.onChange(ee.current.value)}0===eu.mode&&(ec.closeListbox(),ah().nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}));break;case iG(eu.orientation,{vertical:aU.ArrowDown,horizontal:aU.ArrowRight}):return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aB.Next);case iG(eu.orientation,{vertical:aU.ArrowUp,horizontal:aU.ArrowLeft}):return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aB.Previous);case aU.Home:case aU.PageUp:return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aB.First);case aU.End:case aU.PageDown:return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(aB.Last);case aU.Escape:return ee.preventDefault(),ee.stopPropagation(),ec.closeListbox(),ef.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});case aU.Tab:ee.preventDefault(),ee.stopPropagation();break;default:1===ee.key.length&&(ec.search(ee.key),eh.setTimeout(()=>ec.clearSearch(),350))}}),eg=aH(()=>{var ee,en,er;return null!=(er=null==(ee=eu.labelRef.current)?void 0:ee.id)?er:null==(en=eu.buttonRef.current)?void 0:en.id},[eu.labelRef.current,eu.buttonRef.current]),ev=(0,eR.useMemo)(()=>({open:0===eu.listboxState}),[eu]);return iq({ourProps:{"aria-activedescendant":null===eu.activeOptionIndex||null==(er=eu.options[eu.activeOptionIndex])?void 0:er.id,"aria-multiselectable":1===eu.mode||void 0,"aria-labelledby":eg,"aria-orientation":eu.orientation,id:eo,onKeyDown:ex,role:"listbox",tabIndex:0,ref:ed},theirProps:es,slot:ev,defaultTag:o$,features:oZ,visible:em,name:"Listbox.Options"})}let oW="li";function oH(ee,en){let er=aW(),{id:ei=`headlessui-listbox-option-${er}`,disabled:eo=!1,value:es,...eu}=ee,ec=oI("Listbox.Option"),ed=oS("Listbox.Option"),ef=null!==ec.activeOptionIndex&&ec.options[ec.activeOptionIndex].id===ei,eh=ec.isSelected(es),ep=(0,eR.useRef)(null),em=ow(ep),ex=ar({disabled:eo,value:es,domRef:ep,get textValue(){return em()}}),eg=ac(en,ep);at(()=>{if(0!==ec.listboxState||!ef||0===ec.activationTrigger)return;let ee=ah();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=ep.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[ep,ef,ec.listboxState,ec.activationTrigger,ec.activeOptionIndex]),at(()=>ed.registerOption(ei,ex),[ex,ei]);let ev=al(ee=>{if(eo)return ee.preventDefault();ed.onChange(es),0===ec.mode&&(ed.closeListbox(),ah().nextFrame(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}))}),ey=al(()=>{if(eo)return ed.goToOption(aB.Nothing);ed.goToOption(aB.Specific,ei)}),eb=og(),ew=al(ee=>eb.update(ee)),ek=al(ee=>{eb.wasMoved(ee)&&(eo||ef||ed.goToOption(aB.Specific,ei,0))}),e_=al(ee=>{eb.wasMoved(ee)&&(eo||ef&&ed.goToOption(aB.Nothing))}),ej=(0,eR.useMemo)(()=>({active:ef,selected:eh,disabled:eo}),[ef,eh,eo]);return iq({ourProps:{id:ei,ref:eg,role:"option",tabIndex:!0===eo?void 0:-1,"aria-disabled":!0===eo||void 0,"aria-selected":eh,disabled:void 0,onClick:ev,onFocus:ey,onPointerEnter:ew,onMouseEnter:ew,onPointerMove:ek,onMouseMove:ek,onPointerLeave:e_,onMouseLeave:e_},theirProps:eu,slot:ej,defaultTag:oW,name:"Listbox.Option"})}let oU=Object.assign(iX(oA),{Button:iX(oM),Label:iX(oF),Options:iX(oz),Option:iX(oH)});var oG=er(3935),oB=er(9008),oV=er.n(oB);function oq(){return(oq=Object.assign?Object.assign.bind():function(ee){for(var en=1;en=0||(eo[er]=ee[er]);return eo}var oQ=["keyOverride"],oJ=["crossOrigin"],oX={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},oY=function(ee,en,er){void 0===en&&(en=[]);var ei=void 0===er?{}:er,eo=ei.defaultWidth,es=ei.defaultHeight;return en.reduce(function(en,er,ei){return en.push(eR.createElement("meta",{key:"og:"+ee+":0"+ei,property:"og:"+ee,content:er.url})),er.alt&&en.push(eR.createElement("meta",{key:"og:"+ee+":alt0"+ei,property:"og:"+ee+":alt",content:er.alt})),er.secureUrl&&en.push(eR.createElement("meta",{key:"og:"+ee+":secure_url0"+ei,property:"og:"+ee+":secure_url",content:er.secureUrl.toString()})),er.type&&en.push(eR.createElement("meta",{key:"og:"+ee+":type0"+ei,property:"og:"+ee+":type",content:er.type.toString()})),er.width?en.push(eR.createElement("meta",{key:"og:"+ee+":width0"+ei,property:"og:"+ee+":width",content:er.width.toString()})):eo&&en.push(eR.createElement("meta",{key:"og:"+ee+":width0"+ei,property:"og:"+ee+":width",content:eo.toString()})),er.height?en.push(eR.createElement("meta",{key:"og:"+ee+":height"+ei,property:"og:"+ee+":height",content:er.height.toString()})):es&&en.push(eR.createElement("meta",{key:"og:"+ee+":height"+ei,property:"og:"+ee+":height",content:es.toString()})),en},[])},o0=function(ee){var en,er,ei,eo,es,eu=[];ee.titleTemplate&&(oX.templateTitle=ee.titleTemplate);var ec="";ee.title?(ec=ee.title,oX.templateTitle&&(ec=oX.templateTitle.replace(/%s/g,function(){return ec}))):ee.defaultTitle&&(ec=ee.defaultTitle),ec&&eu.push(eR.createElement("title",{key:"title"},ec));var ed=void 0===ee.noindex?oX.noindex||ee.dangerouslySetAllPagesToNoIndex:ee.noindex,ef=void 0===ee.nofollow?oX.nofollow||ee.dangerouslySetAllPagesToNoFollow:ee.nofollow,eh="";if(ee.robotsProps){var ep=ee.robotsProps,em=ep.nosnippet,ex=ep.maxSnippet,eg=ep.maxImagePreview,ev=ep.maxVideoPreview,ey=ep.noarchive,eb=ep.noimageindex,ew=ep.notranslate,ek=ep.unavailableAfter;eh=(em?",nosnippet":"")+(ex?",max-snippet:"+ex:"")+(eg?",max-image-preview:"+eg:"")+(ey?",noarchive":"")+(ek?",unavailable_after:"+ek:"")+(eb?",noimageindex":"")+(ev?",max-video-preview:"+ev:"")+(ew?",notranslate":"")}if(ed||ef?(ee.dangerouslySetAllPagesToNoIndex&&(oX.noindex=!0),ee.dangerouslySetAllPagesToNoFollow&&(oX.nofollow=!0),eu.push(eR.createElement("meta",{key:"robots",name:"robots",content:(ed?"noindex":"index")+","+(ef?"nofollow":"follow")+eh}))):eu.push(eR.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+eh})),ee.description&&eu.push(eR.createElement("meta",{key:"description",name:"description",content:ee.description})),ee.themeColor&&eu.push(eR.createElement("meta",{key:"theme-color",name:"theme-color",content:ee.themeColor})),ee.mobileAlternate&&eu.push(eR.createElement("link",{rel:"alternate",key:"mobileAlternate",media:ee.mobileAlternate.media,href:ee.mobileAlternate.href})),ee.languageAlternates&&ee.languageAlternates.length>0&&ee.languageAlternates.forEach(function(ee){eu.push(eR.createElement("link",{rel:"alternate",key:"languageAlternate-"+ee.hrefLang,hrefLang:ee.hrefLang,href:ee.href}))}),ee.twitter&&(ee.twitter.cardType&&eu.push(eR.createElement("meta",{key:"twitter:card",name:"twitter:card",content:ee.twitter.cardType})),ee.twitter.site&&eu.push(eR.createElement("meta",{key:"twitter:site",name:"twitter:site",content:ee.twitter.site})),ee.twitter.handle&&eu.push(eR.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:ee.twitter.handle}))),ee.facebook&&ee.facebook.appId&&eu.push(eR.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:ee.facebook.appId})),(null!=(en=ee.openGraph)&&en.title||ec)&&eu.push(eR.createElement("meta",{key:"og:title",property:"og:title",content:(null==(eo=ee.openGraph)?void 0:eo.title)||ec})),(null!=(er=ee.openGraph)&&er.description||ee.description)&&eu.push(eR.createElement("meta",{key:"og:description",property:"og:description",content:(null==(es=ee.openGraph)?void 0:es.description)||ee.description})),ee.openGraph){if((ee.openGraph.url||ee.canonical)&&eu.push(eR.createElement("meta",{key:"og:url",property:"og:url",content:ee.openGraph.url||ee.canonical})),ee.openGraph.type){var e_=ee.openGraph.type.toLowerCase();eu.push(eR.createElement("meta",{key:"og:type",property:"og:type",content:e_})),"profile"===e_&&ee.openGraph.profile?(ee.openGraph.profile.firstName&&eu.push(eR.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:ee.openGraph.profile.firstName})),ee.openGraph.profile.lastName&&eu.push(eR.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:ee.openGraph.profile.lastName})),ee.openGraph.profile.username&&eu.push(eR.createElement("meta",{key:"profile:username",property:"profile:username",content:ee.openGraph.profile.username})),ee.openGraph.profile.gender&&eu.push(eR.createElement("meta",{key:"profile:gender",property:"profile:gender",content:ee.openGraph.profile.gender}))):"book"===e_&&ee.openGraph.book?(ee.openGraph.book.authors&&ee.openGraph.book.authors.length&&ee.openGraph.book.authors.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"book:author:0"+en,property:"book:author",content:ee}))}),ee.openGraph.book.isbn&&eu.push(eR.createElement("meta",{key:"book:isbn",property:"book:isbn",content:ee.openGraph.book.isbn})),ee.openGraph.book.releaseDate&&eu.push(eR.createElement("meta",{key:"book:release_date",property:"book:release_date",content:ee.openGraph.book.releaseDate})),ee.openGraph.book.tags&&ee.openGraph.book.tags.length&&ee.openGraph.book.tags.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"book:tag:0"+en,property:"book:tag",content:ee}))})):"article"===e_&&ee.openGraph.article?(ee.openGraph.article.publishedTime&&eu.push(eR.createElement("meta",{key:"article:published_time",property:"article:published_time",content:ee.openGraph.article.publishedTime})),ee.openGraph.article.modifiedTime&&eu.push(eR.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:ee.openGraph.article.modifiedTime})),ee.openGraph.article.expirationTime&&eu.push(eR.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:ee.openGraph.article.expirationTime})),ee.openGraph.article.authors&&ee.openGraph.article.authors.length&&ee.openGraph.article.authors.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"article:author:0"+en,property:"article:author",content:ee}))}),ee.openGraph.article.section&&eu.push(eR.createElement("meta",{key:"article:section",property:"article:section",content:ee.openGraph.article.section})),ee.openGraph.article.tags&&ee.openGraph.article.tags.length&&ee.openGraph.article.tags.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"article:tag:0"+en,property:"article:tag",content:ee}))})):("video.movie"===e_||"video.episode"===e_||"video.tv_show"===e_||"video.other"===e_)&&ee.openGraph.video&&(ee.openGraph.video.actors&&ee.openGraph.video.actors.length&&ee.openGraph.video.actors.forEach(function(ee,en){ee.profile&&eu.push(eR.createElement("meta",{key:"video:actor:0"+en,property:"video:actor",content:ee.profile})),ee.role&&eu.push(eR.createElement("meta",{key:"video:actor:role:0"+en,property:"video:actor:role",content:ee.role}))}),ee.openGraph.video.directors&&ee.openGraph.video.directors.length&&ee.openGraph.video.directors.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"video:director:0"+en,property:"video:director",content:ee}))}),ee.openGraph.video.writers&&ee.openGraph.video.writers.length&&ee.openGraph.video.writers.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"video:writer:0"+en,property:"video:writer",content:ee}))}),ee.openGraph.video.duration&&eu.push(eR.createElement("meta",{key:"video:duration",property:"video:duration",content:ee.openGraph.video.duration.toString()})),ee.openGraph.video.releaseDate&&eu.push(eR.createElement("meta",{key:"video:release_date",property:"video:release_date",content:ee.openGraph.video.releaseDate})),ee.openGraph.video.tags&&ee.openGraph.video.tags.length&&ee.openGraph.video.tags.forEach(function(ee,en){eu.push(eR.createElement("meta",{key:"video:tag:0"+en,property:"video:tag",content:ee}))}),ee.openGraph.video.series&&eu.push(eR.createElement("meta",{key:"video:series",property:"video:series",content:ee.openGraph.video.series})))}ee.defaultOpenGraphImageWidth&&(oX.defaultOpenGraphImageWidth=ee.defaultOpenGraphImageWidth),ee.defaultOpenGraphImageHeight&&(oX.defaultOpenGraphImageHeight=ee.defaultOpenGraphImageHeight),ee.openGraph.images&&ee.openGraph.images.length&&eu.push.apply(eu,oY("image",ee.openGraph.images,{defaultWidth:oX.defaultOpenGraphImageWidth,defaultHeight:oX.defaultOpenGraphImageHeight})),ee.defaultOpenGraphVideoWidth&&(oX.defaultOpenGraphVideoWidth=ee.defaultOpenGraphVideoWidth),ee.defaultOpenGraphVideoHeight&&(oX.defaultOpenGraphVideoHeight=ee.defaultOpenGraphVideoHeight),ee.openGraph.videos&&ee.openGraph.videos.length&&eu.push.apply(eu,oY("video",ee.openGraph.videos,{defaultWidth:oX.defaultOpenGraphVideoWidth,defaultHeight:oX.defaultOpenGraphVideoHeight})),ee.openGraph.audio&&eu.push.apply(eu,oY("audio",ee.openGraph.audio)),ee.openGraph.locale&&eu.push(eR.createElement("meta",{key:"og:locale",property:"og:locale",content:ee.openGraph.locale})),(ee.openGraph.siteName||ee.openGraph.site_name)&&eu.push(eR.createElement("meta",{key:"og:site_name",property:"og:site_name",content:ee.openGraph.siteName||ee.openGraph.site_name}))}return ee.canonical&&eu.push(eR.createElement("link",{rel:"canonical",href:ee.canonical,key:"canonical"})),ee.additionalMetaTags&&ee.additionalMetaTags.length>0&&ee.additionalMetaTags.forEach(function(ee){var en,er,ei=ee.keyOverride,eo=oK(ee,oQ);eu.push(eR.createElement("meta",oq({key:"meta:"+(null!=(en=null!=(er=null!=ei?ei:eo.name)?er:eo.property)?en:eo.httpEquiv)},eo)))}),null!=(ei=ee.additionalLinkTags)&&ei.length&&ee.additionalLinkTags.forEach(function(ee){var en,er=ee.crossOrigin,ei=oK(ee,oJ),eo="anonymous"===er||"use-credentials"===er||""===er?er:void 0;eu.push(eR.createElement("link",oq({key:"link"+(null!=(en=ei.keyOverride)?en:ei.href)+ei.rel},ei,{crossOrigin:eo})))}),eu},o1=function(ee){return eR.createElement(oV(),null,o0(ee))},o2=function(ee){var en=ee.title,er=ee.themeColor,ei=ee.noindex,eo=ee.nofollow,es=ee.robotsProps,eu=ee.description,ec=ee.canonical,ed=ee.openGraph,ef=ee.facebook,eh=ee.twitter,ep=ee.additionalMetaTags,em=ee.titleTemplate,ex=ee.defaultTitle,eg=ee.mobileAlternate,ev=ee.languageAlternates,ey=ee.additionalLinkTags;return eR.createElement(eR.Fragment,null,eR.createElement(o1,{title:en,themeColor:er,noindex:ei,nofollow:eo,robotsProps:es,description:eu,canonical:ec,facebook:ef,openGraph:ed,additionalMetaTags:ep,twitter:eh,titleTemplate:em,defaultTitle:ex,mobileAlternate:eg,languageAlternates:ev,additionalLinkTags:ey}))};function o4({container:ee,accept:en,walk:er,enabled:ei=!0}){let eo=(0,eR.useRef)(en),es=(0,eR.useRef)(er);(0,eR.useEffect)(()=>{eo.current=en,es.current=er},[en,er]),at(()=>{if(!ee||!ei)return;let en=aQ(ee);if(!en)return;let er=eo.current,eu=es.current,ec=Object.assign(ee=>er(ee),{acceptNode:er}),ed=en.createTreeWalker(ee,NodeFilter.SHOW_ELEMENT,ec,!1);for(;ed.nextNode();)eu(ed.currentNode)},[ee,ei,eo,es])}function o5(...ee){return(0,eR.useMemo)(()=>aQ(...ee),[...ee])}RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var o3=((ek=o3||{})[ek.Open=0]="Open",ek[ek.Closed=1]="Closed",ek),o6=((e_=o6||{})[e_.Pointer=0]="Pointer",e_[e_.Other=1]="Other",e_),o7=((ej=o7||{})[ej.OpenMenu=0]="OpenMenu",ej[ej.CloseMenu=1]="CloseMenu",ej[ej.GoToItem=2]="GoToItem",ej[ej.Search=3]="Search",ej[ej.ClearSearch=4]="ClearSearch",ej[ej.RegisterItem=5]="RegisterItem",ej[ej.UnregisterItem=6]="UnregisterItem",ej);function o9(ee,en=ee=>ee){let er=null!==ee.activeItemIndex?ee.items[ee.activeItemIndex]:null,ei=a8(en(ee.items.slice()),ee=>ee.dataRef.current.domRef.current),eo=er?ei.indexOf(er):null;return -1===eo&&(eo=null),{items:ei,activeItemIndex:eo}}let o8={1:ee=>1===ee.menuState?ee:{...ee,activeItemIndex:null,menuState:1},0:ee=>0===ee.menuState?ee:{...ee,__demoMode:!1,menuState:0},2:(ee,en)=>{var er;let ei=o9(ee),eo=aV(en,{resolveItems:()=>ei.items,resolveActiveIndex:()=>ei.activeItemIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...ei,searchQuery:"",activeItemIndex:eo,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{let er=""!==ee.searchQuery?0:1,ei=ee.searchQuery+en.value.toLowerCase(),eo=(null!==ee.activeItemIndex?ee.items.slice(ee.activeItemIndex+er).concat(ee.items.slice(0,ee.activeItemIndex+er)):ee.items).find(ee=>{var en;return(null==(en=ee.dataRef.current.textValue)?void 0:en.startsWith(ei))&&!ee.dataRef.current.disabled}),es=eo?ee.items.indexOf(eo):-1;return -1===es||es===ee.activeItemIndex?{...ee,searchQuery:ei}:{...ee,searchQuery:ei,activeItemIndex:es,activationTrigger:1}},4:ee=>""===ee.searchQuery?ee:{...ee,searchQuery:"",searchActiveItemIndex:null},5:(ee,en)=>{let er=o9(ee,ee=>[...ee,{id:en.id,dataRef:en.dataRef}]);return{...ee,...er}},6:(ee,en)=>{let er=o9(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}}},st=(0,eR.createContext)(null);function sn(ee){let en=(0,eR.useContext)(st);if(null===en){let en=Error(`<${ee} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,sn),en}return en}function sr(ee,en){return iG(en.type,o8,ee,en)}st.displayName="MenuContext";let si=eR.Fragment;function so(ee,en){let{__demoMode:er=!1,...ei}=ee,eo=(0,eR.useReducer)(sr,{__demoMode:er,menuState:er?0:1,buttonRef:(0,eR.createRef)(),itemsRef:(0,eR.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:es,itemsRef:eu,buttonRef:ec},ed]=eo,ef=ac(en);ol([ec,eu],(ee,en)=>{var er;ed({type:1}),a4(en,a2.Loose)||(ee.preventDefault(),null==(er=ec.current)||er.focus())},0===es);let eh=al(()=>{ed({type:1})}),ep=(0,eR.useMemo)(()=>({open:0===es,close:eh}),[es,eh]),em={ref:ef};return eR.createElement(st.Provider,{value:eo},eR.createElement(i5,{value:iG(es,{0:i2.Open,1:i2.Closed})},iq({ourProps:em,theirProps:ei,slot:ep,defaultTag:si,name:"Menu"})))}let ss="button";function sl(ee,en){var er;let ei=aW(),{id:eo=`headlessui-menu-button-${ei}`,...es}=ee,[eu,ec]=sn("Menu.Button"),ed=ac(eu.buttonRef,en),ef=av(),eh=al(ee=>{switch(ee.key){case aU.Space:case aU.Enter:case aU.ArrowDown:ee.preventDefault(),ee.stopPropagation(),ec({type:0}),ef.nextFrame(()=>ec({type:2,focus:aB.First}));break;case aU.ArrowUp:ee.preventDefault(),ee.stopPropagation(),ec({type:0}),ef.nextFrame(()=>ec({type:2,focus:aB.Last}))}}),ep=al(ee=>{ee.key===aU.Space&&ee.preventDefault()}),em=al(en=>{if(aq(en.currentTarget))return en.preventDefault();ee.disabled||(0===eu.menuState?(ec({type:1}),ef.nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})})):(en.preventDefault(),ec({type:0})))}),ex=(0,eR.useMemo)(()=>({open:0===eu.menuState}),[eu]);return iq({ourProps:{ref:ed,id:eo,type:oi(ee,eu.buttonRef),"aria-haspopup":"menu","aria-controls":null==(er=eu.itemsRef.current)?void 0:er.id,"aria-expanded":0===eu.menuState,onKeyDown:eh,onKeyUp:ep,onClick:em},theirProps:es,slot:ex,defaultTag:ss,name:"Menu.Button"})}let su="div",sc=iB.RenderStrategy|iB.Static;function sd(ee,en){var er,ei;let eo=aW(),{id:es=`headlessui-menu-items-${eo}`,...eu}=ee,[ec,ed]=sn("Menu.Items"),ef=ac(ec.itemsRef,en),eh=o5(ec.itemsRef),ep=av(),em=i4(),ex=null!==em?(em&i2.Open)===i2.Open:0===ec.menuState;(0,eR.useEffect)(()=>{let ee=ec.itemsRef.current;ee&&0===ec.menuState&&ee!==(null==eh?void 0:eh.activeElement)&&ee.focus({preventScroll:!0})},[ec.menuState,ec.itemsRef,eh]),o4({container:ec.itemsRef.current,enabled:0===ec.menuState,accept:ee=>"menuitem"===ee.getAttribute("role")?NodeFilter.FILTER_REJECT:ee.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(ee){ee.setAttribute("role","none")}});let eg=al(ee=>{var en,er;switch(ep.dispose(),ee.key){case aU.Space:if(""!==ec.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ed({type:3,value:ee.key});case aU.Enter:if(ee.preventDefault(),ee.stopPropagation(),ed({type:1}),null!==ec.activeItemIndex){let{dataRef:ee}=ec.items[ec.activeItemIndex];null==(er=null==(en=ee.current)?void 0:en.domRef.current)||er.click()}a5(ec.buttonRef.current);break;case aU.ArrowDown:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aB.Next});case aU.ArrowUp:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aB.Previous});case aU.Home:case aU.PageUp:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aB.First});case aU.End:case aU.PageDown:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:aB.Last});case aU.Escape:ee.preventDefault(),ee.stopPropagation(),ed({type:1}),ah().nextFrame(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});break;case aU.Tab:ee.preventDefault(),ee.stopPropagation(),ed({type:1}),ah().nextFrame(()=>{ot(ec.buttonRef.current,ee.shiftKey?aX.Previous:aX.Next)});break;default:1===ee.key.length&&(ed({type:3,value:ee.key}),ep.setTimeout(()=>ed({type:4}),350))}}),ev=al(ee=>{ee.key===aU.Space&&ee.preventDefault()}),ey=(0,eR.useMemo)(()=>({open:0===ec.menuState}),[ec]);return iq({ourProps:{"aria-activedescendant":null===ec.activeItemIndex||null==(er=ec.items[ec.activeItemIndex])?void 0:er.id,"aria-labelledby":null==(ei=ec.buttonRef.current)?void 0:ei.id,id:es,onKeyDown:eg,onKeyUp:ev,role:"menu",tabIndex:0,ref:ef},theirProps:eu,slot:ey,defaultTag:su,features:sc,visible:ex,name:"Menu.Items"})}let sf=eR.Fragment;function sh(ee,en){let er=aW(),{id:ei=`headlessui-menu-item-${er}`,disabled:eo=!1,...es}=ee,[eu,ec]=sn("Menu.Item"),ed=null!==eu.activeItemIndex&&eu.items[eu.activeItemIndex].id===ei,ef=(0,eR.useRef)(null),eh=ac(en,ef);at(()=>{if(eu.__demoMode||0!==eu.menuState||!ed||0===eu.activationTrigger)return;let ee=ah();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=ef.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[eu.__demoMode,ef,ed,eu.menuState,eu.activationTrigger,eu.activeItemIndex]);let ep=ow(ef),em=(0,eR.useRef)({disabled:eo,domRef:ef,get textValue(){return ep()}});at(()=>{em.current.disabled=eo},[em,eo]),at(()=>(ec({type:5,id:ei,dataRef:em}),()=>ec({type:6,id:ei})),[em,ei]);let ex=al(()=>{ec({type:1})}),eg=al(ee=>{if(eo)return ee.preventDefault();ec({type:1}),a5(eu.buttonRef.current)}),ev=al(()=>{if(eo)return ec({type:2,focus:aB.Nothing});ec({type:2,focus:aB.Specific,id:ei})}),ey=og(),eb=al(ee=>ey.update(ee)),ew=al(ee=>{ey.wasMoved(ee)&&(eo||ed||ec({type:2,focus:aB.Specific,id:ei,trigger:0}))}),ek=al(ee=>{ey.wasMoved(ee)&&(eo||ed&&ec({type:2,focus:aB.Nothing}))}),e_=(0,eR.useMemo)(()=>({active:ed,disabled:eo,close:ex}),[ed,eo,ex]);return iq({ourProps:{id:ei,ref:eh,role:"menuitem",tabIndex:!0===eo?void 0:-1,"aria-disabled":!0===eo||void 0,disabled:void 0,onClick:eg,onFocus:ev,onPointerEnter:eb,onMouseEnter:eb,onPointerMove:ew,onMouseMove:ew,onPointerLeave:ek,onMouseLeave:ek},theirProps:es,slot:e_,defaultTag:sf,name:"Menu.Item"})}let sp=Object.assign(iX(so),{Button:iX(sl),Items:iX(sd),Item:iX(sh)}),sm=ee=>"object"==typeof ee&&null!=ee&&1===ee.nodeType,sx=(ee,en)=>(!en||"hidden"!==ee)&&"visible"!==ee&&"clip"!==ee,sg=(ee,en)=>{if(ee.clientHeight{let en=(ee=>{if(!ee.ownerDocument||!ee.ownerDocument.defaultView)return null;try{return ee.ownerDocument.defaultView.frameElement}catch(ee){return null}})(ee);return!!en&&(en.clientHeightesen||es>ee&&eu=en&&ec>=er?es-ee-ei:eu>en&&ecer?eu-en+eo:0,sy=ee=>{let en=ee.parentElement;return null==en?ee.getRootNode().host||null:en},sb=(ee,en)=>{var er,ei,eo,es;if("undefined"==typeof document)return[];let{scrollMode:eu,block:ec,inline:ed,boundary:ef,skipOverflowHiddenElements:eh}=en,ep="function"==typeof ef?ef:ee=>ee!==ef;if(!sm(ee))throw TypeError("Invalid target");let em=document.scrollingElement||document.documentElement,ex=[],eg=ee;for(;sm(eg)&&ep(eg);){if((eg=sy(eg))===em){ex.push(eg);break}null!=eg&&eg===document.body&&sg(eg)&&!sg(document.documentElement)||null!=eg&&sg(eg,eh)&&ex.push(eg)}let ev=null!=(ei=null==(er=window.visualViewport)?void 0:er.width)?ei:innerWidth,ey=null!=(es=null==(eo=window.visualViewport)?void 0:eo.height)?es:innerHeight,{scrollX:eb,scrollY:ew}=window,{height:ek,width:e_,top:ej,right:eO,bottom:eE,left:eC}=ee.getBoundingClientRect(),eT="start"===ec||"nearest"===ec?ej:"end"===ec?eE:ej+ek/2,eS="center"===ed?eC+e_/2:"end"===ed?eO:eC,eN=[];for(let ee=0;ee=0&&eC>=0&&eE<=ey&&eO<=ev&&ej>=eo&&eE<=ef&&eC>=eh&&eO<=es)break;let ep=getComputedStyle(en),eg=parseInt(ep.borderLeftWidth,10),eI=parseInt(ep.borderTopWidth,10),eR=parseInt(ep.borderRightWidth,10),eL=parseInt(ep.borderBottomWidth,10),eA=0,eP=0,eM="offsetWidth"in en?en.offsetWidth-en.clientWidth-eg-eR:0,eD="offsetHeight"in en?en.offsetHeight-en.clientHeight-eI-eL:0,eF="offsetWidth"in en?0===en.offsetWidth?0:ei/en.offsetWidth:0,e$="offsetHeight"in en?0===en.offsetHeight?0:er/en.offsetHeight:0;if(em===en)eA="start"===ec?eT:"end"===ec?eT-ey:"nearest"===ec?sv(ew,ew+ey,ey,eI,eL,ew+eT,ew+eT+ek,ek):eT-ey/2,eP="start"===ed?eS:"center"===ed?eS-ev/2:"end"===ed?eS-ev:sv(eb,eb+ev,ev,eg,eR,eb+eS,eb+eS+e_,e_),eA=Math.max(0,eA+ew),eP=Math.max(0,eP+eb);else{eA="start"===ec?eT-eo-eI:"end"===ec?eT-ef+eL+eD:"nearest"===ec?sv(eo,ef,er,eI,eL+eD,eT,eT+ek,ek):eT-(eo+er/2)+eD/2,eP="start"===ed?eS-eh-eg:"center"===ed?eS-(eh+ei/2)+eM/2:"end"===ed?eS-es+eR+eM:sv(eh,es,ei,eg,eR+eM,eS,eS+e_,e_);let{scrollLeft:ee,scrollTop:eu}=en;eA=Math.max(0,Math.min(eu+eA/e$,en.scrollHeight-er/e$+eD)),eP=Math.max(0,Math.min(ee+eP/eF,en.scrollWidth-ei/eF+eM)),eT+=eu-eA,eS+=ee-eP}eN.push({el:en,top:eA,left:eP})}return eN},sw=ee=>{var en;return!1===ee?{block:"end",inline:"nearest"}:(en=ee,en===Object(en)&&0!==Object.keys(en).length)?ee:{block:"start",inline:"nearest"}};function sk(ee,en){var er;if(!ee.isConnected||!(ee=>{let en=ee;for(;en&&en.parentNode;){if(en.parentNode===document)return!0;en=en.parentNode instanceof ShadowRoot?en.parentNode.host:en.parentNode}return!1})(ee))return;if("object"==typeof(er=en)&&"function"==typeof er.behavior)return en.behavior(sb(ee,en));let ei="boolean"==typeof en||null==en?void 0:en.behavior;for(let{el:er,top:eo,left:es}of sb(ee,sw(en)))er.scroll({top:eo,left:es,behavior:ei})}function s_(){return(s_=Object.assign?Object.assign.bind():function(ee){for(var en=1;en=(void 0===ef?eu:ef)&&ee.push(s_({},ec,{item:ei,index:es})),ee}}function sS(ee,en,er,ei){if(!en){var eo=ee;return{rankedValue:eo,rank:sN(eo,er,ei),keyIndex:-1,keyThreshold:ei.threshold}}return sD(ee,en).reduce(function(ee,en,eo){var es=ee.rank,eu=ee.rankedValue,ec=ee.keyIndex,ed=ee.keyThreshold,ef=en.itemValue,eh=en.attributes,ep=sN(ef,er,ei),em=eu,ex=eh.minRanking,eg=eh.maxRanking,ev=eh.threshold;return ep=sE.MATCHES?ep=ex:ep>eg&&(ep=eg),ep>es&&(es=ep,ec=eo,ed=ev,em=ef),{rankedValue:em,rank:es,keyIndex:ec,keyThreshold:ed}},{rankedValue:ee,rank:sE.NO_MATCH,keyIndex:-1,keyThreshold:ei.threshold})}function sN(ee,en,er){return(ee=sA(ee,er),(en=sA(en,er)).length>ee.length)?sE.NO_MATCH:ee===en?sE.CASE_SENSITIVE_EQUAL:(ee=ee.toLowerCase())===(en=en.toLowerCase())?sE.EQUAL:ee.startsWith(en)?sE.STARTS_WITH:ee.includes(" "+en)?sE.WORD_STARTS_WITH:ee.includes(en)?sE.CONTAINS:1===en.length?sE.NO_MATCH:sI(ee).includes(en)?sE.ACRONYM:sR(ee,en)}function sI(ee){var en="";return ee.split(" ").forEach(function(ee){ee.split("-").forEach(function(ee){en+=ee.substr(0,1)})}),en}function sR(ee,en){var er=0,ei=0;function eo(ee,en,ei){for(var eo=ei,es=en.length;eo-1))return sE.NO_MATCH;return es(ei-eu)}function sL(ee,en,er){var ei=-1,eo=1,es=ee.rank,eu=ee.keyIndex,ec=en.rank,ed=en.keyIndex;return es!==ec?es>ec?ei:eo:eu===ed?er(ee,en):eu(0,ez.jsx)("button",{className:eP("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",en),...er,children:ee});eP("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),eP("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),eP("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),eP("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200");var sz=({getValue:ee,...en})=>{let[er,ei]=(0,eR.useState)(!1);(0,eR.useEffect)(()=>{if(!er)return;let ee=setTimeout(()=>{ei(!1)},2e3);return()=>{clearTimeout(ee)}},[er]);let eo=(0,eR.useCallback)(async()=>{ei(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(ee())}catch{console.error("Failed to copy!")}},[ee]),es=er?eH:eU;return(0,ez.jsx)(sZ,{onClick:eo,title:"Copy code",tabIndex:0,...en,children:(0,ez.jsx)(es,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},sW=({children:ee,className:en,...er})=>{let ei="data-line-numbers"in er;return(0,ez.jsx)("code",{className:eP("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",ei&&"[counter-reset:line]",en),dir:"ltr",...er,children:ee})},sH=({children:ee,className:en,hasCopyCode:er,filename:ei,...eo})=>{let es=(0,eR.useRef)(null),eu=(0,eR.useCallback)(()=>{let ee=document.documentElement.dataset,en="nextraWordWrap"in ee;en?delete ee.nextraWordWrap:ee.nextraWordWrap=""},[]);return(0,ez.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[ei&&(0,ez.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:ei}),(0,ez.jsx)("pre",{className:eP("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",ei?"nx-pt-12 nx-pb-4":"nx-py-4",en),ref:es,...eo,children:ee}),(0,ez.jsxs)("div",{className:eP("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",ei?"nx-top-8":"nx-top-0"),children:[(0,ez.jsx)(sZ,{onClick:eu,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,ez.jsx)(e1,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),er&&(0,ez.jsx)(sz,{getValue:()=>es.current?.querySelector("code")?.textContent||""})]})]})},sU=({className:ee="",...en})=>(0,ez.jsx)("td",{className:eP("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",ee),...en}),sG=({className:ee="",...en})=>(0,ez.jsx)("table",{className:eP("nx-block nx-overflow-x-scroll",ee),...en}),sB=({className:ee="",...en})=>(0,ez.jsx)("th",{className:eP("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",ee),...en}),sV=({className:ee="",...en})=>(0,ez.jsx)("tr",{className:eP("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",ee),...en});eP("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),eP("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),eP("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900");var sq=(0,eR.createContext)(0);function sK(){return(0,eR.useContext)(sq)}function sQ({children:ee}){return(0,ez.jsx)("div",{className:eP("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,ez.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:ee})})}function sJ(){let ee=sK();return(0,ez.jsx)(ez.Fragment,{children:Array.from({length:ee},(ee,en)=>(0,ez.jsx)("span",{className:"nx-w-5"},en))})}var sX=(0,eR.memo)(({label:ee,name:en,open:er,children:ei,defaultOpen:eo=!1,onToggle:es})=>{let eu=sK(),[ec,ed]=(0,eR.useState)(eo),ef=(0,eR.useCallback)(()=>{es?.(!ec),ed(!ec)},[ec,es]),eh=void 0===er?ec:er;return(0,ez.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,ez.jsxs)("button",{onClick:ef,title:en,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,ez.jsx)(sJ,{}),(0,ez.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,ez.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:eh?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,ez.jsx)("span",{className:"nx-ml-1",children:ee??en})]}),eh&&(0,ez.jsx)("ul",{children:(0,ez.jsx)(sq.Provider,{value:eu+1,children:ei})})]})});sX.displayName="Folder";var sY=(0,eR.memo)(({label:ee,name:en,active:er})=>(0,ez.jsx)("li",{className:eP("nx-flex nx-list-none",er&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,ez.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,ez.jsx)(sJ,{}),(0,ez.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,ez.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,ez.jsx)("span",{className:"nx-ml-1",children:ee??en})]})}));sY.displayName="File",Object.assign(sQ,{Folder:sX,File:sY});var s0=Object.defineProperty,s1=Object.defineProperties,s2=Object.getOwnPropertyDescriptors,s4=Object.getOwnPropertySymbols,s5=Object.prototype.hasOwnProperty,s3=Object.prototype.propertyIsEnumerable,s6=(ee,en,er)=>en in ee?s0(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,s7=(ee,en)=>{for(var er in en||(en={}))s5.call(en,er)&&s6(ee,er,en[er]);if(s4)for(var er of s4(en))s3.call(en,er)&&s6(ee,er,en[er]);return ee},s9=(ee,en)=>s1(ee,s2(en)),s8=(ee,en)=>{var er={};for(var ei in ee)s5.call(ee,ei)&&0>en.indexOf(ei)&&(er[ei]=ee[ei]);if(null!=ee&&s4)for(var ei of s4(ee))0>en.indexOf(ei)&&s3.call(ee,ei)&&(er[ei]=ee[ei]);return er},lt=(ee,en,er)=>new Promise((ei,eo)=>{var es=ee=>{try{ec(er.next(ee))}catch(ee){eo(ee)}},eu=ee=>{try{ec(er.throw(ee))}catch(ee){eo(ee)}},ec=ee=>ee.done?ei(ee.value):Promise.resolve(ee.value).then(es,eu);ec((er=er.apply(ee,en)).next())}),ln=(0,eR.createContext)({}),lr=(0,eR.createContext)(ee=>ee),li=(0,eR.createContext)(null),lo=new WeakMap,ls=(0,eR.createContext)(lo),ll=()=>(0,eR.useContext)(ln),lu=()=>(0,eR.useContext)(lr),lc=()=>(0,eR.useContext)(li),ld=()=>(0,eR.useContext)(ls),lf=({children:ee})=>{let[en,er]=(0,eR.useState)({}),ei=(0,eR.useRef)(null);return uu&&!ei.current&&(ei.current=new IntersectionObserver(ee=>{er(en=>{let er=s7({},en);for(let en of ee)if((null==en?void 0:en.rootBounds)&&lo.has(en.target)){let[ee,ei]=lo.get(en.target),eo=en.boundingClientRect.y+en.boundingClientRect.height<=en.rootBounds.y+en.rootBounds.height,es=en.intersectionRatio>0;er[ee]={index:ei,aboveHalfViewport:eo,insideHalfViewport:es}}let ei="",eo=1/0,es=-1;for(let ee in er)er[ee].isActive=!1,er[ee].insideHalfViewport&&er[ee].indexes&&(es=er[ee].index,ei=ee);return er[ei]&&(er[ei].isActive=!0),er})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,ez.jsx)(ln.Provider,{value:en,children:(0,ez.jsx)(lr.Provider,{value:er,children:(0,ez.jsx)(ls.Provider,{value:lo,children:(0,ez.jsx)(li.Provider,{value:ei.current,children:ee})})})})},lh=(0,eR.createContext)({menu:!1,setMenu:()=>!1}),lp=()=>(0,eR.useContext)(lh),lm=lh.Provider,lx=(0,eR.createContext)(s7({title:"",frontMatter:{}},ug));function lg(){return(0,eR.useContext)(lx)}var lv=({children:ee,value:{themeConfig:en,pageOpts:er}})=>{let[ei,eo]=(0,eR.useState)(!1);eN||(eN=s7(s7({},ug),Object.fromEntries(Object.entries(en).map(([ee,en])=>[ee,en&&"object"==typeof en&&uv.includes(ee)?s7(s7({},ug[ee]),en):en]))));let es=s9(s7(s9(s7({},eN),{flexsearch:er.flexsearch}),"boolean"==typeof er.newNextLinkBehavior&&{newNextLinkBehavior:er.newNextLinkBehavior}),{title:er.title,frontMatter:er.frontMatter}),{nextThemes:eu}=es;return(0,ez.jsx)(n5,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:eu.defaultTheme,storageKey:eu.storageKey,forcedTheme:eu.forcedTheme,children:(0,ez.jsx)(lx.Provider,{value:es,children:(0,ez.jsx)(lm,{value:{menu:ei,setMenu:eo},children:ee})})})},ly=(0,eR.createContext)(ee=>ee),lb=()=>(0,eR.useContext)(ly),lw=ly.Provider,lk=Number("13.4.19".split(".")[0]),l_=(0,eR.forwardRef)(function(ee,en){var er=ee,{href:ei="",children:eo,newWindow:es}=er,eu=s8(er,["href","children","newWindow"]);let ec=lg();return es?(0,ez.jsxs)("a",s9(s7({ref:en,href:ei,target:"_blank",rel:"noreferrer"},eu),{children:[eo,(0,ez.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):ei?lk>12||ec.newNextLinkBehavior?(0,ez.jsx)(nJ(),s9(s7({ref:en,href:ei},eu),{children:eo})):(0,ez.jsx)(nJ(),{href:ei,passHref:!0,children:(0,ez.jsx)("a",s9(s7({ref:en},eu),{children:eo}))}):(0,ez.jsx)("a",s9(s7({ref:en},eu),{children:eo}))});l_.displayName="Anchor";var lj=({repository:ee="",title:en,labels:er})=>{let ei=rm()(ee);if(!ei)throw Error("Invalid `docsRepositoryBase` URL!");return ei.resource.includes("gitlab")?`${ei.protocol}://${ei.resource}/${ei.owner}/${ei.name}/-/issues/new?issue[title]=${encodeURIComponent(en)}${er?`&issue[description]=/label${encodeURIComponent(` ~${er} +`)}`:""}`:ei.resource.includes("github")?`${ei.protocol}://${ei.resource}/${ei.owner}/${ei.name}/issues/new?title=${encodeURIComponent(en)}&labels=${er||""}`:"#"};function lO(ee,en){return ee?"function"!=typeof ee?ee:(0,ez.jsx)(ee,s7({},en)):null}function lE(ee,en={}){let er="function"==typeof ee?ee(en):ee;return er||""}function lC(ee){let en=(0,eR.useRef)(null),er=(0,eR.useRef)(null),ei=(0,eR.useRef)(),eo=(0,eR.useCallback)(()=>{var eo;en.current&&er.current&&(null==(eo=ei.current)||eo.call(ei),ei.current=iZ(en.current,er.current,ee).destroy)},[en,er,ei,ee]);return(0,eR.useMemo)(()=>[ee=>{en.current=ee,eo()},ee=>{er.current=ee,eo()}],[en,er,eo])}function lT(ee=""){let en=lg(),er=rm()(en.docsRepositoryBase||"");if(!er)throw Error("Invalid `docsRepositoryBase` URL!");return`${er.href}/${ee}`}function lS(){let{banner:ee}=lg();if(!ee.text)return null;let en=`try{if(localStorage.getItem(${JSON.stringify(ee.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)("script",{dangerouslySetInnerHTML:{__html:en}}),(0,ez.jsxs)("div",{className:eP("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,ez.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:lO(ee.text)}),ee.dismissible&&(0,ez.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(ee.key,"0")}catch(ee){}document.body.classList.add("nextra-banner-hidden")},children:(0,ez.jsx)(e2,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function lN({activePath:ee}){return(0,ez.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:ee.map((en,er)=>{let ei=!en.children||en.withIndexPage,eo=er===ee.length-1;return(0,ez.jsxs)(eR.Fragment,{children:[er>0&&(0,ez.jsx)(eW,{className:"nx-w-3.5 nx-shrink-0"}),(0,ez.jsx)("div",{className:eP("nx-whitespace-nowrap nx-transition-colors",eo?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",ei&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:en.title,children:ei&&!eo?(0,ez.jsx)(l_,{href:en.route,children:en.title}):en.title})]},en.route+en.name)})})}function lI({children:ee,className:en,isOpen:er,horizontal:ei=!1}){let eo=(0,eR.useRef)(null),es=(0,eR.useRef)(null),eu=(0,eR.useRef)(0),ec=(0,eR.useRef)(er),ed=(0,eR.useRef)(!0);return(0,eR.useEffect)(()=>{let ee=eo.current,en=es.current,ec=eu.current;ec&&clearTimeout(ec),!ed.current&&ee&&en&&(ee.classList.toggle("nx-duration-500",!er),ee.classList.toggle("nx-duration-300",er),ei?(en.style.width=`${en.clientWidth}px`,ee.style.width=`${en.clientWidth}px`):ee.style.height=`${en.clientHeight}px`,er?eu.current=window.setTimeout(()=>{ee.style.removeProperty("height")},300):setTimeout(()=>{ei?ee.style.width="0px":ee.style.height="0px"},0))},[ei,er]),(0,eR.useEffect)(()=>{ed.current=!1},[]),(0,ez.jsx)("div",{ref:eo,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:ec.current||ei?void 0:{height:0},children:(0,ez.jsx)("div",{ref:es,className:eP("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",er?"nx-opacity-100":"nx-opacity-0",en),children:ee})})}var lR=(0,eR.memo)(function({value:ee,match:en}){let er;if(!ee)return null;let ei=ee.split(""),eo=iH(en.trim()),es=RegExp(eo.replaceAll(" ","|"),"ig"),eu=0,ec=[];for(;(er=es.exec(ee))&&0!==es.lastIndex;){let ee=ei.splice(0,er.index-eu).join(""),en=ei.splice(0,es.lastIndex-er.index).join("");ec.push(ee,(0,ez.jsx)("span",{className:"nx-text-primary-600",children:en},er.index)),eu=es.lastIndex}return(0,ez.jsxs)(ez.Fragment,{children:[ec,ei.join("")]})}),lL=(0,eR.forwardRef)((ee,en)=>{var er=ee,{className:ei,suffix:eo}=er,es=s8(er,["className","suffix"]);return(0,ez.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,ez.jsx)("input",s7({ref:en,spellCheck:!1,className:eP(ei,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},es)),eo]})});lL.displayName="Input";var lA=["input","select","button","textarea"];function lP({className:ee,overlayClassName:en,value:er,onChange:ei,onActive:eo,loading:es,error:eu,results:ec}){let[ed,ef]=(0,eR.useState)(!1),eh=lg(),[ep,em]=(0,eR.useState)(0),ex=(0,eI.useRouter)(),{setMenu:eg}=lp(),ev=(0,eR.useRef)(null),ey=(0,eR.useRef)(null),[eb,ew]=(0,eR.useState)(!1),[ek,e_]=(0,eR.useState)(!0);(0,eR.useEffect)(()=>{em(0)},[er]),(0,eR.useEffect)(()=>{let ee=ee=>{let en=document.activeElement,er=null==en?void 0:en.tagName.toLowerCase();!ev.current||!er||lA.includes(er)||null!=en&&en.isContentEditable||("/"===ee.key||"k"===ee.key&&(ee.metaKey||ee.ctrlKey)?(ee.preventDefault(),ev.current.focus()):"Escape"===ee.key&&(ef(!1),ev.current.blur()))};return window.addEventListener("keydown",ee),()=>{window.removeEventListener("keydown",ee)}},[]);let ej=(0,eR.useCallback)(()=>{var ee;null==(ee=ev.current)||ee.blur(),ei(""),ef(!1),eg(!1)},[ei,eg]),eO=(0,eR.useCallback)(ee=>{let{index:en}=ee.currentTarget.dataset;em(Number(en))},[]),eE=(0,eR.useCallback)(function(ee){var en,er,ei;switch(ee.key){case"ArrowDown":if(ep+1 a`);er&&(ee.preventDefault(),eO({currentTarget:er}),er.focus())}break;case"ArrowUp":if(ep-1>=0){let en=null==(er=ey.current)?void 0:er.querySelector(`li:nth-of-type(${ep}) > a`);en&&(ee.preventDefault(),eO({currentTarget:en}),en.focus())}break;case"Enter":{let ee=ec[ep];ee&&ek&&(ex.push(ee.route),ej());break}case"Escape":ef(!1),null==(ei=ev.current)||ei.blur()}},[ep,ec,ex,ej,eO,ek]),eC=eM(),eT=ed&&!!er,eS=(0,ez.jsx)(aZ,{show:eC&&(!ed||!!er),as:eR.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,ez.jsx)("kbd",{className:eP("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",er?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:er?"Clear":void 0,onClick:()=>{ei("")},children:er&&eb?"ESC":eC&&(navigator.userAgent.includes("Macintosh")?(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),eN=(0,eR.useCallback)(ee=>{e_("compositionend"===ee.type)},[]);return(0,ez.jsxs)("div",{className:eP("nextra-search nx-relative md:nx-w-64",ee),children:[eT&&(0,ez.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>ef(!1)}),(0,ez.jsx)(lL,{ref:ev,value:er,onChange:ee=>{let{value:en}=ee.target;ei(en),ef(!!en)},onFocus:()=>{null==eo||eo(!0),ew(!0)},onBlur:()=>{ew(!1)},onCompositionStart:eN,onCompositionEnd:eN,type:"search",placeholder:lE(eh.search.placeholder),onKeyDown:eE,suffix:eS}),(0,ez.jsx)(aZ,{show:eT,as:aZ.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,ez.jsx)("ul",{className:eP("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",en),ref:ey,style:{transition:"max-height .2s ease"},children:eu?(0,ez.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,ez.jsx)(eQ,{className:"nx-h-5 nx-w-5"}),lE(eh.search.error)]}):es?(0,ez.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,ez.jsx)(eY,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),lO(eh.search.loading)]}):ec.length>0?ec.map(({route:ee,prefix:en,children:er,id:ei},eo)=>(0,ez.jsxs)(eR.Fragment,{children:[en,(0,ez.jsx)("li",{className:eP("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",eo===ep?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,ez.jsx)(l_,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:ee,"data-index":eo,onFocus:eO,onMouseMove:eO,onClick:ej,onKeyDown:eE,children:er})})]},ei)):lO(eh.search.emptyResult)})})]})}var lM={},lD=new Map,lF=(ee,en)=>{let er=ee+"@"+en;if(lD.has(er))return lD.get(er);let ei=l$(ee,en);return lD.set(er,ei),ei},l$=(ee,en)=>lt(void 0,null,function*(){let er=yield fetch(`${ee}/_next/static/chunks/nextra-data-${en}.json`),ei=yield er.json(),eo=new(iW()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),es=new(iW()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),eu=0;for(let ee in ei){let en="";for(let er in++eu,ei[ee].data){let[eo,ec]=er.split("#"),ed=ee+(eo?"#"+eo:""),ef=ec||ei[ee].title,eh=ei[ee].data[er]||"",ep=eh.split("\n").filter(Boolean);es.add(s7({id:ed,url:ed,title:ef,pageId:`page_${eu}`,content:ef},ep[0]&&{display:ep[0]}));for(let ee=0;ee{var er,ei;if(!ee)return;let[eo,es]=lM[en],eu=(null==(er=eo.search(ee,5,{enrich:!0,suggest:!0})[0])?void 0:er.result)||[],ec=[],ef={};for(let en=0;enee._page_rk===en._page_rk?ee._section_rk-en._section_rk:ef[ee._page_rk]!==ef[en._page_rk]?ef[en._page_rk]-ef[ee._page_rk]:ee._page_rk-en._page_rk).map(ee=>({id:`${ee._page_rk}_${ee._section_rk}`,route:ee.route,prefix:ee.prefix,children:ee.children})))},em=(0,eR.useCallback)(ee=>lt(this,null,function*(){if(ee&&!lM[en]){eo(!0);try{yield lF(er,en)}catch(ee){eu(!0)}eo(!1)}}),[en,er]),ex=ee=>lt(this,null,function*(){if(eh(ee),!ei){if(!lM[en]){eo(!0);try{yield lF(er,en)}catch(ee){eu(!0)}eo(!1)}ep(ee)}});return(0,ez.jsx)(lP,{loading:ei,error:es,value:ef,onChange:ex,onActive:em,className:ee,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:ec})}function lz({options:ee,selected:en,onChange:er,title:ei,className:eo}){let[es,eu]=lC({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:ee}){ee.styles.popper.minWidth=`${ee.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,ez.jsx)(oU,{value:en,onChange:er,children:({open:er})=>(0,ez.jsxs)(oU.Button,{ref:es,title:ei,className:eP("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",er?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",eo),children:[en.name,(0,ez.jsx)(lW,{children:(0,ez.jsx)(aZ,{ref:eu,show:er,as:oU.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:ee.map(ee=>(0,ez.jsxs)(oU.Option,{value:ee,className:({active:ee})=>eP(ee?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[ee.name,ee.key===en.key&&(0,ez.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,ez.jsx)(eH,{})})]},ee.key))})})]})})}function lW(ee){let en=eM();return en?(0,oG.createPortal)(ee.children,document.body):null}function lH({lite:ee,className:en}){let er=lg(),{locale:ei,asPath:eo}=(0,eI.useRouter)(),es=er.i18n;if(!es.length)return null;let eu=es.find(ee=>ei===ee.locale);return(0,ez.jsx)(lz,{title:"Change language",className:en,onChange:ee=>{let en=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${ee.key}; expires=${en.toUTCString()}; path=/`,location.href=(0,az.addBasePath)(eo)},selected:{key:(null==eu?void 0:eu.locale)||"",name:(0,ez.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,ez.jsx)(eK,{}),(0,ez.jsx)("span",{className:ee?"nx-hidden":"",children:null==eu?void 0:eu.text})]})},options:es.map(ee=>({key:ee.locale,name:ee.text}))})}function lU({menu:ee}){let en=lg();return(0,ez.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,ez.jsxs)("div",{className:eP("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",ee&&(en.i18n.length>0||en.darkMode)?"nx-flex":"nx-hidden"),children:[(0,ez.jsx)(lH,{}),en.darkMode&&lO(en.themeSwitch.component)]}),(0,ez.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,ez.jsx)("div",{className:eP("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:lO(en.footer.text)})]})}function lG(){var ee;let en=lg(),{resolvedTheme:er}=n4(),ei=eM(),eo="function"==typeof en.head?en.head({}):en.head,es=en.primaryHue,{dark:eu,light:ec}="number"==typeof es?{dark:es,light:es}:es,ed=en.frontMatter;return(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)(o2,s7({title:en.title,description:ed.description,canonical:ed.canonical,openGraph:ed.openGraph},null==(ee=en.useNextSeoProps)?void 0:ee.call(en))),(0,ez.jsxs)(oV(),{children:[en.faviconGlyph?(0,ez.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${en.faviconGlyph}`}):null,ei?(0,ez.jsx)("meta",{name:"theme-color",content:"dark"===er?"#111":"#fff"}):(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,ez.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,ez.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,ez.jsx)("style",{children:` + :root { + --nextra-primary-hue: ${ec}deg; + --nextra-navbar-height: 4rem; + --nextra-menu-height: 3.75rem; + --nextra-banner-height: 2.5rem; + } + + .dark { + --nextra-primary-hue: ${eu}deg; + } + `}),eo]})]})}var lB={link:eP("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:eP("nx-inline nx-h-5 nx-shrink-0")},lV=({flatDirectories:ee,currentIndex:en})=>{let er=lg(),ei=er.navigation,eo="boolean"==typeof ei?{prev:ei,next:ei}:ei,es=eo.prev&&ee[en-1],eu=eo.next&&ee[en+1];return(es&&!es.isUnderCurrentDocsTree&&(es=!1),eu&&!eu.isUnderCurrentDocsTree&&(eu=!1),es||eu)?(0,ez.jsxs)("div",{className:eP("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[es&&(0,ez.jsxs)(l_,{href:es.route,title:es.title,className:eP(lB.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,ez.jsx)(eW,{className:eP(lB.icon,"ltr:nx-rotate-180")}),es.title]}),eu&&(0,ez.jsxs)(l_,{href:eu.route,title:eu.title,className:eP(lB.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[eu.title,(0,ez.jsx)(eW,{className:eP(lB.icon,"rtl:nx-rotate-180")})]})]}):null},lq={link:eP("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:eP("nx-font-medium nx-subpixel-antialiased"),inactive:eP("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function lK({className:ee,menu:en,children:er}){let{items:ei}=en,eo=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));return(0,ez.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,ez.jsxs)(sp,{children:[(0,ez.jsx)(sp.Button,{className:eP(ee,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",lq.inactive),children:er}),(0,ez.jsx)(aZ,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,ez.jsx)(sp.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",tabIndex:0,children:Object.entries(ei||{}).map(([ee,er])=>{var ei;return(0,ez.jsx)(sp.Item,{children:(0,ez.jsx)(l_,{href:er.href||(null==(ei=eo[ee])?void 0:ei.route)||en.route+"/"+ee,className:eP("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:er.newWindow,children:er.title||ee})},ee)})})})]})})}function lQ({flatDirectories:ee,items:en}){let er=lg(),ei=e$(),{menu:eo,setMenu:es}=lp();return(0,ez.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,ez.jsx)("div",{className:eP("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,ez.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[er.logoLink?(0,ez.jsx)(l_,{href:"string"==typeof er.logoLink?er.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:lO(er.logo)}):(0,ez.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:lO(er.logo)}),en.map(ee=>{if("hidden"===ee.display)return null;if("menu"===ee.type){let en=ee;return(0,ez.jsxs)(lK,{className:eP(lq.link,"nx-flex nx-gap-1",lq.inactive),menu:en,children:[en.title,(0,ez.jsx)(eW,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},en.title)}let en=ee,er=en.href||en.route||"#";en.children&&(er=(en.withIndexPage?en.route:en.firstChildRoute)||er);let eo=en.route===ei||ei.startsWith(en.route+"/");return(0,ez.jsxs)(l_,{href:er,className:eP(lq.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!eo||en.newWindow?lq.inactive:lq.active),newWindow:en.newWindow,"aria-current":!en.newWindow&&eo,children:[(0,ez.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:en.title}),(0,ez.jsx)("span",{className:"nx-invisible nx-font-medium",children:en.title})]},er)}),lO(er.search.component,{directories:ee,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),er.project.link?(0,ez.jsx)(l_,{className:"nx-p-2 nx-text-current",href:er.project.link,newWindow:!0,children:lO(er.project.icon)}):null,er.chat.link?(0,ez.jsx)(l_,{className:"nx-p-2 nx-text-current",href:er.chat.link,newWindow:!0,children:lO(er.chat.icon)}):null,lO(er.navbar.extraContent),(0,ez.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>es(!eo),children:(0,ez.jsx)(eJ,{className:eP({open:eo})})})]})]})}var lJ=Object.create(null),lX=(0,eR.createContext)(null),lY=(0,eR.createContext)(null),l0=(0,eR.createContext)(0),l1=(0,eR.memo)(function(ee){let en=(0,eR.useContext)(l0);return(0,ez.jsx)(l0.Provider,{value:en+1,children:(0,ez.jsx)(l4,s7({},ee))})}),l2={link:eP("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:eP("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:eP("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:eP("nx-flex nx-flex-col nx-gap-1"),border:eP("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function l4({item:ee,anchors:en}){let er=e$(),[ei]=er.split("#"),eo=[ei,ei+"/"].includes(ee.route+"/"),es=eo||ei.startsWith(ee.route+"/"),eu=(0,eR.useContext)(lX),ec=!!(null==eu?void 0:eu.startsWith(ee.route+"/")),ed=(0,eR.useContext)(l0),{setMenu:ef}=lp(),eh=lg(),{theme:ep}=ee,em=void 0===lJ[ee.route]?eo||es||ec||(ep&&"collapsed"in ep?!ep.collapsed:ed{let en=()=>{(es||ec)&&(lJ[ee.route]=!0)},er=()=>{es&&ec?lJ[ee.route]=!0:delete lJ[ee.route]};eh.sidebar.autoCollapse?er():en()},[es,ec,ee.route,eh.sidebar.autoCollapse]),"menu"===ee.type){let en=ee,er=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));ee.children=Object.entries(en.items||{}).map(([ee,ei])=>{let eo=er[ee]||s9(s7({name:ee},"locale"in en&&{locale:en.locale}),{route:en.route+"/"+ee});return s7(s7({},eo),ei)})}let eg="withIndexPage"in ee&&ee.withIndexPage,ev=eg?l_:"button";return(0,ez.jsxs)("li",{className:eP({open:em,active:eo}),children:[(0,ez.jsxs)(ev,{href:eg?ee.route:void 0,className:eP("nx-items-center nx-justify-between nx-gap-2",!eg&&"nx-text-left nx-w-full",l2.link,eo?l2.active:l2.inactive),onClick:en=>{let er=["svg","path"].includes(en.target.tagName.toLowerCase());if(er&&en.preventDefault(),eg){eo||er?lJ[ee.route]=!em:(lJ[ee.route]=!0,ef(!1)),ex({});return}eo||(lJ[ee.route]=!em,ex({}))},children:[lO(eh.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route}),(0,ez.jsx)(eW,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:eP("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",em&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,ez.jsx)(lI,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:em,children:Array.isArray(ee.children)?(0,ez.jsx)(l6,{className:eP(l2.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:ee.children,base:ee.route,anchors:en}):null})]})}function l5({title:ee}){let en=lg();return(0,ez.jsx)("li",{className:eP("[word-break:break-word]",ee?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:ee?lO(en.sidebar.titleComponent,{title:ee,type:"separator",route:""}):(0,ez.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function l3({item:ee,anchors:en}){let er=e$(),ei=(0,eR.useContext)(lY),eo=ee.route&&[er,er+"/"].includes(ee.route+"/"),es=ll(),{setMenu:eu}=lp(),ec=lg();return"separator"===ee.type?(0,ez.jsx)(l5,{title:ee.title}):(0,ez.jsxs)("li",{className:eP(l2.list,{active:eo}),children:[(0,ez.jsx)(l_,{href:ee.href||ee.route,newWindow:ee.newWindow,className:eP(l2.link,eo?l2.active:l2.inactive),onClick:()=>{eu(!1)},onFocus:()=>{null==ei||ei(ee.route)},onBlur:()=>{null==ei||ei(null)},children:lO(ec.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route})}),eo&&en.length>0&&(0,ez.jsx)("ul",{className:eP(l2.list,l2.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:en.map(({id:ee,value:en})=>{var er;return(0,ez.jsx)("li",{children:(0,ez.jsx)("a",{href:`#${ee}`,className:eP(l2.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(er=es[ee])?void 0:er.isActive)?l2.active:l2.inactive),onClick:()=>{eu(!1)},children:en})},ee)})})]})}function l6({directories:ee,anchors:en,className:er,onlyCurrentDocs:ei}){return(0,ez.jsx)("ul",{className:eP(l2.list,er),children:ee.map(ee=>!ei||ee.isUnderCurrentDocsTree?"menu"===ee.type||ee.children&&(ee.children.length||!ee.withIndexPage)?(0,ez.jsx)(l1,{item:ee,anchors:en},ee.name):(0,ez.jsx)(l3,{item:ee,anchors:en},ee.name):null)})}function l7({docsDirectories:ee,flatDirectories:en,fullDirectories:er,asPopover:ei=!1,headings:eo,includePlaceholder:es}){let eu=lg(),{menu:ec,setMenu:ed}=lp(),ef=(0,eI.useRouter)(),[eh,ep]=(0,eR.useState)(null),[em,ex]=(0,eR.useState)(!0),[eg,ev]=(0,eR.useState)(!1),ey=(0,eR.useMemo)(()=>eo.filter(ee=>2===ee.depth),[eo]),eb=(0,eR.useRef)(null),ew=(0,eR.useRef)(null);(0,eR.useEffect)(()=>{ec?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[ec]),(0,eR.useEffect)(()=>{var ee;let en=null==(ee=eb.current)?void 0:ee.querySelector("li.active");if(en&&(window.innerWidth>767||ec)){let ee=()=>{sk(en,{block:"center",inline:"center",scrollMode:"always",boundary:ew.current})};ec?setTimeout(ee,300):ee()}},[ec]),(0,eR.useEffect)(()=>{ed(!1)},[ef.asPath,ed]);let ek=eu.i18n.length>0,e_=eu.darkMode||ek;return(0,ez.jsxs)(ez.Fragment,{children:[es&&ei?(0,ez.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,ez.jsx)("div",{className:eP("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",ec?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>ed(!1)}),(0,ez.jsxs)("aside",{className:eP("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",em?"md:nx-w-64":"md:nx-w-20",ei?"md:nx-hidden":"md:nx-sticky md:nx-self-start",ec?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:ew,children:[(0,ez.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:lO(eu.search.component,{directories:en})}),(0,ez.jsx)(lX.Provider,{value:eh,children:(0,ez.jsx)(lY.Provider,{value:ee=>{ep(ee)},children:(0,ez.jsxs)("div",{className:eP("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",em?"nextra-scrollbar":"no-scrollbar"),ref:eb,children:[(!ei||!em)&&(0,ez.jsx)(lI,{isOpen:em,horizontal:!0,children:(0,ez.jsx)(l6,{className:"max-md:nx-hidden",directories:ee,anchors:eu.toc.float?[]:ey,onlyCurrentDocs:!0})}),(0,ez.jsx)(l6,{className:"md:nx-hidden",directories:er,anchors:ey})]})})}),e_&&(0,ez.jsxs)("div",{className:eP("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",em?eP(ek&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":eg?em?"show":"hide":"off",children:[(0,ez.jsx)(lH,{lite:!em,className:eP(em?"nx-grow":"max-md:nx-grow")}),eu.darkMode&&(0,ez.jsx)("div",{className:em&&!ek?"nx-grow nx-flex nx-flex-col":"",children:lO(eu.themeSwitch.component,{lite:!em||ek})}),eu.sidebar.toggleButton&&(0,ez.jsx)("button",{title:em?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{ex(!em),ev(!0)},children:(0,ez.jsx)(eB,{isOpen:em})})]})]})]})}var l9="reach-skip-nav",l8="Skip to content";(0,eR.forwardRef)(function(ee,en){var er=ee,{className:ei,id:eo,label:es=l8,styled:eu}=er,ec=s8(er,["className","id","label","styled"]);let ed=void 0===ei?eu?eP("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":ei;return(0,ez.jsx)("a",s9(s7({},ec),{ref:en,href:`#${eo||l9}`,className:ed,"data-reach-skip-link":"",children:es}))}).displayName="SkipNavLink";var ut=(0,eR.forwardRef)(function(ee,en){var er=ee,{id:ei}=er,eo=s8(er,["id"]);return(0,ez.jsx)("div",s9(s7({},eo),{ref:en,id:ei||l9}))});ut.displayName="SkipNavContent";var un=nK.strictObject({light:nK.string(),dark:nK.string(),system:nK.string()});function ur({lite:ee,className:en}){let{setTheme:er,resolvedTheme:ei,theme:eo=""}=n4(),es=eM(),eu=lg().themeSwitch,ec=es&&"dark"===ei?eX:e0,ed="function"==typeof eu.useOptions?eu.useOptions():eu.useOptions;return(0,ez.jsx)(lz,{className:en,title:"Change theme",options:[{key:"light",name:ed.light},{key:"dark",name:ed.dark},{key:"system",name:ed.system}],onChange:ee=>{er(ee.key)},selected:{key:eo,name:(0,ez.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,ez.jsx)(ec,{}),(0,ez.jsx)("span",{className:ee?"md:nx-hidden":"",children:es?ed[eo]:ed.light})]})}})}var ui=eP("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function uo({headings:ee,filePath:en}){var er;let ei=ll(),eo=lg(),es=(0,eR.useRef)(null),eu=(0,eR.useMemo)(()=>ee.filter(ee=>ee.depth>1),[ee]),ec=eu.length>0,ed=!!(eo.feedback.content||eo.editLink.component||eo.toc.extraContent),ef=null==(er=Object.entries(ei).find(([,{isActive:ee}])=>ee))?void 0:er[0];return(0,eR.useEffect)(()=>{var ee;if(!ef)return;let en=null==(ee=es.current)?void 0:ee.querySelector(`li > a[href="#${ef}"]`);en&&sk(en,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:es.current})},[ef]),(0,ez.jsxs)("div",{ref:es,className:eP("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[ec&&(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:lO(eo.toc.title)}),(0,ez.jsx)("ul",{children:eu.map(({id:ee,value:en,depth:er})=>{var es,eu,ec,ed;return(0,ez.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,ez.jsx)("a",{href:`#${ee}`,className:eP({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[er],"nx-inline-block",(null==(es=ei[ee])?void 0:es.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(ed=null==(ec=(eu=eo.toc).headingComponent)?void 0:ec.call(eu,{id:ee,children:en}))?ed:en})},ee)})})]}),ed&&(0,ez.jsxs)("div",{className:eP(ec&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[eo.feedback.content?(0,ez.jsx)(l_,{className:ui,href:eo.feedback.useLink(),newWindow:!0,children:lO(eo.feedback.content)}):null,lO(eo.editLink.component,{filePath:en,className:ui,children:lO(eo.editLink.text)}),lO(eo.toc.extraContent)]})]})}function us({className:ee,directories:en}){let[er,ei]=(0,eR.useState)(""),eo=(0,eR.useMemo)(()=>er?sT(en,er,{keys:["title"]}).map(({route:ee,title:en})=>({id:ee+en,route:ee,children:(0,ez.jsx)(lR,{value:en,match:er})})):[],[er,en]);return(0,ez.jsx)(lP,{value:er,onChange:ei,className:ee,overlayClassName:"nx-w-full",results:eo})}var ul="en-US",uu="undefined"!=typeof window;function uc(ee){return null==ee||"string"==typeof ee||ud(ee)||(0,eR.isValidElement)(ee)}function ud(ee){return"function"==typeof ee}var uf=nK.array(nK.strictObject({direction:nK.enum(["ltr","rtl"]).optional(),locale:nK.string(),text:nK.string()})),uh=[uc,{message:"Must be React.ReactNode or React.FC"}],up=[ud,{message:"Must be React.FC"}];nK.strictObject({banner:nK.strictObject({dismissible:nK.boolean(),key:nK.string(),text:nK.custom(...uh).optional()}),chat:nK.strictObject({icon:nK.custom(...uh),link:nK.string().startsWith("https://").optional()}),components:nK.record(nK.custom(...up)).optional(),darkMode:nK.boolean(),direction:nK.enum(["ltr","rtl"]),docsRepositoryBase:nK.string().startsWith("https://"),editLink:nK.strictObject({component:nK.custom(...up),text:nK.custom(...uh)}),faviconGlyph:nK.string().optional(),feedback:nK.strictObject({content:nK.custom(...uh),labels:nK.string(),useLink:nK.function().returns(nK.string())}),footer:nK.strictObject({component:nK.custom(...uh),text:nK.custom(...uh)}),gitTimestamp:nK.custom(...uh),head:nK.custom(...uh),i18n:uf,logo:nK.custom(...uh),logoLink:nK.boolean().or(nK.string()),main:nK.custom(...up).optional(),navbar:nK.strictObject({component:nK.custom(...uh),extraContent:nK.custom(...uh).optional()}),navigation:nK.boolean().or(nK.strictObject({next:nK.boolean(),prev:nK.boolean()})),nextThemes:nK.strictObject({defaultTheme:nK.string(),forcedTheme:nK.string().optional(),storageKey:nK.string()}),notFound:nK.strictObject({content:nK.custom(...uh),labels:nK.string()}),primaryHue:nK.number().or(nK.strictObject({dark:nK.number(),light:nK.number()})),project:nK.strictObject({icon:nK.custom(...uh),link:nK.string().startsWith("https://").optional()}),search:nK.strictObject({component:nK.custom(...uh),emptyResult:nK.custom(...uh),error:nK.string().or(nK.function().returns(nK.string())),loading:nK.custom(...uh),placeholder:nK.string().or(nK.function().returns(nK.string()))}),serverSideError:nK.strictObject({content:nK.custom(...uh),labels:nK.string()}),sidebar:nK.strictObject({autoCollapse:nK.boolean().optional(),defaultMenuCollapseLevel:nK.number().min(1).int(),titleComponent:nK.custom(...uh),toggleButton:nK.boolean()}),themeSwitch:nK.strictObject({component:nK.custom(...uh),useOptions:un.or(nK.function().returns(un))}),toc:nK.strictObject({component:nK.custom(...uh),extraContent:nK.custom(...uh),float:nK.boolean(),headingComponent:nK.custom(...up).optional(),title:nK.custom(...uh)}),useNextSeoProps:nK.custom(ud)}).deepPartial().extend({i18n:uf.optional()});var um={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},ux={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},ug={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)(eG,{}),(0,ez.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:ee,filePath:en,children:er}){let ei=lT(en);return ei?(0,ez.jsx)(l_,{className:ee,href:ei,children:er}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let ee=lg();return lj({labels:ee.feedback.labels,repository:ee.docsRepositoryBase,title:`Feedback for \u201C${ee.title}\u201D`})}},footer:{component:lU,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:ee}){let{locale:en=ul}=(0,eI.useRouter)();return(0,ez.jsxs)(ez.Fragment,{children:["Last updated on"," ",(0,ez.jsx)("time",{dateTime:ee.toISOString(),children:ee.toLocaleDateString(en,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,ez.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,ez.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,ez.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,ez.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,ez.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,ez.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,ez.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,ez.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:lQ},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},project:{icon:(0,ez.jsxs)(ez.Fragment,{children:[(0,ez.jsx)(eV,{}),(0,ez.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:ee,directories:en}){let er=lg();return er.flexsearch?(0,ez.jsx)(lZ,{className:ee}):(0,ez.jsx)(us,{className:ee,directories:en})},emptyResult:(0,ez.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:ee,defaultLocale:en=ul}=(0,eI.useRouter)(),er=ee&&um[ee]||um[en];return(0,ez.jsxs)(ez.Fragment,{children:[er,"…"]})},placeholder:function(){let{locale:ee,defaultLocale:en=ul}=(0,eI.useRouter)(),er=ee&&ux[ee]||ux[en];return`${er}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:ee})=>(0,ez.jsx)(ez.Fragment,{children:ee}),toggleButton:!1},themeSwitch:{component:ur,useOptions(){let{locale:ee}=(0,eI.useRouter)();return"zh-CN"===ee?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{component:uo,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},uv=Object.entries(ug).map(([ee,en])=>{let er=en&&"object"==typeof en&&!Array.isArray(en)&&!(0,eR.isValidElement)(en);if(er)return ee}).filter(Boolean);if(uu){let ee;let en=()=>{document.body.classList.add("resizing"),clearTimeout(ee),ee=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",en)}function uy(ee){var en=ee,{tag:er,context:ei,children:eo,id:es,className:eu}=en,ec=s8(en,["tag","context","children","id","className"]);let ed=lu(),ef=ld(),eh=lc(),ep=(0,eR.useRef)(null);return(0,eR.useEffect)(()=>{if(!es)return;let ee=ep.current;if(ee)return ef.set(ee,[es,ei.index+=1]),null==eh||eh.observe(ee),()=>{null==eh||eh.disconnect(),ef.delete(ee),ed(ee=>{let en=s7({},ee);return delete en[es],en})}},[es,ei,ef,eh,ed]),(0,ez.jsxs)(er,s9(s7({className:"sr-only"===eu?"nx-sr-only":eP("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[er])},ec),{children:[eo,(0,ez.jsx)("a",{href:`#${es}`,id:es,className:"subheading-anchor","aria-label":"Permalink for this section",ref:ep})]}))}var ub=ee=>{let en=null,er=[];return eR.Children.forEach(ee,(ee,ei)=>{var eo;if(ee&&ee.type===uk){en||(en=ee);return}let es=ee;if(!en&&ee&&"object"==typeof ee&&ee.type!==uw&&"props"in ee&&ee.props){let er=ub(ee.props.children);en=er[0],es=(0,eR.cloneElement)(ee,s9(s7({},ee.props),{children:(null==(eo=er[1])?void 0:eo.length)?er[1]:void 0,key:ei}))}er.push(es)}),[en,er]},uw=ee=>{var en=ee,{children:er,open:ei}=en,eo=s8(en,["children","open"]);let[es,eu]=(0,eR.useState)(!!ei),[ec,ed]=ub(er),[ef,eh]=(0,eR.useState)(es);return(0,eR.useEffect)(()=>{if(es)eh(!0);else{let ee=setTimeout(()=>eh(es),500);return()=>clearTimeout(ee)}},[es]),(0,ez.jsxs)("details",s9(s7(s9(s7({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},eo),{open:ef}),es&&{"data-expanded":!0}),{children:[(0,ez.jsx)(lw,{value:eu,children:ec}),(0,ez.jsx)(lI,{isOpen:es,children:ed})]}))},uk=ee=>{let en=lb();return(0,ez.jsx)("summary",s9(s7({className:eP("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},ee),{onClick:ee=>{ee.preventDefault(),en(ee=>!ee)}}))},u_=/https?:\/\//,uj=ee=>{var en=ee,{href:er="",className:ei}=en,eo=s8(en,["href","className"]);return(0,ez.jsx)(l_,s7({href:er,newWindow:u_.test(er),className:eP("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",ei)},eo))},uO=ee=>{var en=ee,{href:er=""}=en,ei=s8(en,["href"]);return(0,ez.jsx)(l_,s7({href:er,newWindow:u_.test(er)},ei))},uE=({isRawLayout:ee,components:en})=>{if(ee)return{a:uO};let er={index:0};return s7({h1:ee=>(0,ez.jsx)("h1",s7({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},ee)),h2:ee=>(0,ez.jsx)(uy,s7({tag:"h2",context:er},ee)),h3:ee=>(0,ez.jsx)(uy,s7({tag:"h3",context:er},ee)),h4:ee=>(0,ez.jsx)(uy,s7({tag:"h4",context:er},ee)),h5:ee=>(0,ez.jsx)(uy,s7({tag:"h5",context:er},ee)),h6:ee=>(0,ez.jsx)(uy,s7({tag:"h6",context:er},ee)),ul:ee=>(0,ez.jsx)("ul",s7({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),ol:ee=>(0,ez.jsx)("ol",s7({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),li:ee=>(0,ez.jsx)("li",s7({className:"nx-my-2"},ee)),blockquote:ee=>(0,ez.jsx)("blockquote",s7({className:eP("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},ee)),hr:ee=>(0,ez.jsx)("hr",s7({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},ee)),a:uj,table:ee=>(0,ez.jsx)(sG,s7({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},ee)),p:ee=>(0,ez.jsx)("p",s7({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},ee)),tr:sV,th:sB,td:sU,details:uw,summary:uk,pre:sH,code:sW},en)},uC={toc:eP("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:eP("nx-w-full nx-break-words")},uT=({themeContext:ee,breadcrumb:en,timestamp:er,navigation:ei,children:eo})=>{var es;let eu=lg(),ec=eM();if("raw"===ee.layout)return(0,ez.jsx)("div",{className:uC.main,children:eo});let ed=ee.timestamp&&eu.gitTimestamp&&er?new Date(er):null,ef=ec&&ed?(0,ez.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:lO(eu.gitTimestamp,{timestamp:ed})}):(0,ez.jsx)("div",{className:"nx-mt-16"}),eh=(0,ez.jsxs)(ez.Fragment,{children:[eo,ef,ei]}),ep=(null==(es=eu.main)?void 0:es.call(eu,{children:eh}))||eh;return"full"===ee.layout?(0,ez.jsx)("article",{className:eP(uC.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:ep}):(0,ez.jsx)("article",{className:eP(uC.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===ee.typesetting&&"nextra-body-typesetting-article"),children:(0,ez.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[en,ep]})})},uS=({filePath:ee,pageMap:en,frontMatter:er,headings:ei,timestamp:eo,children:es})=>{let eu=lg(),{locale:ec=ul,defaultLocale:ed}=(0,eI.useRouter)(),ef=e$(),{activeType:eh,activeIndex:ep,activeThemeContext:em,activePath:ex,topLevelNavbarItems:eg,docsDirectories:ev,flatDirectories:ey,flatDocsDirectories:eb,directories:ew}=(0,eR.useMemo)(()=>rh({list:en,locale:ec,defaultLocale:ed,route:ef}),[en,ec,ed,ef]),ek=s7(s7({},em),er),e_=!ek.sidebar||"raw"===ek.layout||"page"===eh,ej="page"!==eh&&ek.toc&&"default"===ek.layout?(0,ez.jsx)("nav",{className:eP(uC.toc,"nx-px-4"),"aria-label":"table of contents",children:lO(eu.toc.component,{headings:eu.toc.float?ei:[],filePath:ee})}):"full"!==ek.layout&&"raw"!==ek.layout&&(0,ez.jsx)("nav",{className:uC.toc,"aria-label":"table of contents"}),eO=eu.i18n.find(ee=>ee.locale===ec),eE=eO?"rtl"===eO.direction:"rtl"===eu.direction,eC=eE?"rtl":"ltr";return(0,ez.jsxs)("div",{dir:eC,children:[(0,ez.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${eC}')`}}),(0,ez.jsx)(lG,{}),(0,ez.jsx)(lS,{}),ek.navbar&&lO(eu.navbar.component,{flatDirectories:ey,items:eg}),(0,ez.jsx)("div",{className:eP("nx-mx-auto nx-flex","raw"!==ek.layout&&"nx-max-w-[90rem]"),children:(0,ez.jsxs)(lf,{children:[(0,ez.jsx)(l7,{docsDirectories:ev,flatDirectories:ey,fullDirectories:ew,headings:ei,asPopover:e_,includePlaceholder:"default"===ek.layout}),ej,(0,ez.jsx)(ut,{}),(0,ez.jsx)(uT,{themeContext:ek,breadcrumb:"page"!==eh&&ek.breadcrumb?(0,ez.jsx)(lN,{activePath:ex}):null,timestamp:eo,navigation:"page"!==eh&&ek.pagination?(0,ez.jsx)(lV,{flatDirectories:eb,currentIndex:ep}):null,children:(0,ez.jsx)(eZ.Zo,{components:uE({isRawLayout:"raw"===ek.layout,components:eu.components}),children:es})})]})}),ek.footer&&lO(eu.footer.component,{menu:e_})]})};function uN(ee){var en=ee,{children:er}=en,ei=s8(en,["children"]);return(0,ez.jsx)(lv,{value:ei,children:(0,ez.jsx)(uS,s9(s7({},ei.pageOpts),{children:er}))})}},2673:function(ee,en,er){"use strict";er.d(en,{j:function(){return ej}});var ei,eo=er(9208),es=er.n(eo),eu=er(7222),ec=er(7294);er(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(ee){var en=Date.now();return setTimeout(function(){ee({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-en))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(ee){clearTimeout(ee)});var ed=er(5893),ef=(0,ec.createContext)(!1),eh=er(1163);function ep(){let ee=globalThis[eu.eZ],{route:en}=(0,eh.useRouter)();(0,ec.useState)({})[1];let er=ee.context[en];if(!er)throw Error("No content found for the current route. This is a Nextra bug.");return{context:er,Layout:ee.Layout}}function em({__nextra_pageMap:ee,__nextra_dynamic_opts:en,...er}){let{context:ei,Layout:eo}=ep(),{Content:es,...eu}=ei;if(ee&&(eu.pageOpts={...eu.pageOpts,pageMap:ee}),en){let ee=JSON.parse(en);eu.pageOpts={...eu.pageOpts,headings:ee.headings,title:ee.title||eu.pageOpts.title,frontMatter:ee.frontMatter}}return(0,ed.jsx)(eo,{...eu,pageProps:er,children:(0,ed.jsx)(ef.Provider,{value:er,children:(0,ed.jsx)(es,{...er})})})}var ex=er(1864),eg=er(3859),ev=er(2891);function ey(ee,en){return eg(ex.join(ee,en.replace(/^index$/,"")))}function eb(ee){return ev(ee.replace(/[-_]/g," "))}function ew(ee){return!!ee&&"object"==typeof ee&&"folder"===ee.type}function ek(ee){return Object.fromEntries(Object.entries(ee).map(([ee,en])=>{if(ew(en)){let er=ee.replace("/","");return[er,en.title||eb(er)]}return[ee,en||eb(ee)]}))}function e_(ee,en,er=!0){if(er){e_(ee,{kind:"Meta",data:en.data,locale:en.locale},!1),en.data=ek(en.data);return}for(let[er,ei]of Object.entries(en.data)){if(!ew(ei)){if("*"===er)continue;ee.children.push({kind:"MdxPage",...en.locale&&{locale:en.locale},name:er,route:ey(ee.route,er)});continue}let eo=er.replace("/",""),es={kind:"Folder",name:eo,route:`${ee.route}/${eo}`,children:[{kind:"Meta",...en.locale&&{locale:en.locale},data:ek(ei.items)}]};ee.children.push(es),e_(es,{kind:"Meta",data:ei.items,locale:en.locale},!1)}}function ej({pageNextRoute:ee,pageOpts:en,nextraLayout:er,themeConfig:eo,MDXContent:ec,hot:ed,pageOptsChecksum:ef,dynamicMetaModules:eh=[]}){var ep;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(ei)return ei;let ee=JSON.parse(JSON.stringify(ex.pageMap));return await Promise.all(eh.map(async([en,{metaObjectKeyPath:er,metaParentKeyPath:ei}])=>{let eo=await en,eu=await eo.default(),ec=es()(ee,er);ec.data=eu;let ed=es()(ee,ei);e_(ed,ec)})),ei=ee});let ex=globalThis[ep=eu.eZ]||(globalThis[ep]=Object.create(null));return en.pageMap?(ex.pageMap=en.pageMap,ex.Layout=er):(en={...en,pageMap:ex.pageMap,flexsearch:ex.flexsearch},eo=ex.themeConfig),en={frontMatter:{},...en},ex.route=en.route,ex.context||(ex.context=Object.create(null)),ex.context[ee]={Content:ec,pageOpts:en,themeConfig:eo},em}},6008:function(ee,en,er){"use strict";var ei=er(2337);function eo(ee){var en={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:ee,query:{},parse_failed:!1};try{var er=new URL(ee);en.protocols=ei(er),en.protocol=en.protocols[0],en.port=er.port,en.resource=er.hostname,en.host=er.host,en.user=er.username||"",en.password=er.password||"",en.pathname=er.pathname,en.hash=er.hash.slice(1),en.search=er.search.slice(1),en.href=er.href,en.query=Object.fromEntries(er.searchParams)}catch(er){en.protocols=["file"],en.protocol=en.protocols[0],en.port="",en.resource="",en.user="",en.pathname="",en.hash="",en.search="",en.href=ee,en.query={},en.parse_failed=!0}return en}ee.exports=eo},3905:function(ee,en,er){"use strict";var ei=function(ee){return ee&&"object"==typeof ee&&"default"in ee?ee:{default:ee}}(er(6008));let eo="text/plain",es="us-ascii",eu=(ee,en)=>en.some(en=>en instanceof RegExp?en.test(ee):en===ee),ec=(ee,{stripHash:en})=>{let er=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(ee);if(!er)throw Error(`Invalid URL: ${ee}`);let{type:ei,data:eu,hash:ec}=er.groups,ed=ei.split(";");ec=en?"":ec;let ef=!1;"base64"===ed[ed.length-1]&&(ed.pop(),ef=!0);let eh=(ed.shift()||"").toLowerCase(),ep=ed.map(ee=>{let[en,er=""]=ee.split("=").map(ee=>ee.trim());return"charset"===en&&(er=er.toLowerCase())===es?"":`${en}${er?`=${er}`:""}`}).filter(Boolean),em=[...ep];return ef&&em.push("base64"),(em.length>0||eh&&eh!==eo)&&em.unshift(eh),`data:${em.join(";")},${ef?eu.trim():eu}${ec?`#${ec}`:""}`};function ed(ee,en){if(en={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...en},ee=ee.trim(),/^data:/i.test(ee))return ec(ee,en);if(/^view-source:/i.test(ee))throw Error("`view-source:` is not supported as it is a non-standard protocol");let er=ee.startsWith("//"),ei=!er&&/^\.*\//.test(ee);ei||(ee=ee.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,en.defaultProtocol));let eo=new URL(ee);if(en.forceHttp&&en.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(en.forceHttp&&"https:"===eo.protocol&&(eo.protocol="http:"),en.forceHttps&&"http:"===eo.protocol&&(eo.protocol="https:"),en.stripAuthentication&&(eo.username="",eo.password=""),en.stripHash?eo.hash="":en.stripTextFragment&&(eo.hash=eo.hash.replace(/#?:~:text.*?$/i,"")),eo.pathname){let ee=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,en=0,er="";for(;;){let ei=ee.exec(eo.pathname);if(!ei)break;let es=ei[0],eu=ei.index,ec=eo.pathname.slice(en,eu);er+=ec.replace(/\/{2,}/g,"/")+es,en=eu+es.length}let ei=eo.pathname.slice(en,eo.pathname.length);er+=ei.replace(/\/{2,}/g,"/"),eo.pathname=er}if(eo.pathname)try{eo.pathname=decodeURI(eo.pathname)}catch{}if(!0===en.removeDirectoryIndex&&(en.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(en.removeDirectoryIndex)&&en.removeDirectoryIndex.length>0){let ee=eo.pathname.split("/"),er=ee[ee.length-1];eu(er,en.removeDirectoryIndex)&&(ee=ee.slice(0,-1),eo.pathname=ee.slice(1).join("/")+"/")}if(eo.hostname&&(eo.hostname=eo.hostname.replace(/\.$/,""),en.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(eo.hostname)&&(eo.hostname=eo.hostname.replace(/^www\./,""))),Array.isArray(en.removeQueryParameters))for(let ee of[...eo.searchParams.keys()])eu(ee,en.removeQueryParameters)&&eo.searchParams.delete(ee);if(!0===en.removeQueryParameters&&(eo.search=""),en.sortQueryParameters){eo.searchParams.sort();try{eo.search=decodeURIComponent(eo.search)}catch{}}en.removeTrailingSlash&&(eo.pathname=eo.pathname.replace(/\/$/,""));let es=ee;return ee=eo.toString(),en.removeSingleSlash||"/"!==eo.pathname||es.endsWith("/")||""!==eo.hash||(ee=ee.replace(/\/$/,"")),(en.removeTrailingSlash||"/"===eo.pathname)&&""===eo.hash&&en.removeSingleSlash&&(ee=ee.replace(/\/$/,"")),er&&!en.normalizeProtocol&&(ee=ee.replace(/^http:\/\//,"//")),en.stripProtocol&&(ee=ee.replace(/^(?:https?:)?\/\//,"")),ee}let ef=(ee,en=!1)=>{let er=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,eo=en=>{let er=Error(en);throw er.subject_url=ee,er};"string"==typeof ee&&ee.trim()||eo("Invalid url."),ee.length>ef.MAX_INPUT_LENGTH&&eo("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),en&&("object"!=typeof en&&(en={stripHash:!1}),ee=ed(ee,en));let es=ei.default(ee);if(es.parse_failed){let ee=es.href.match(er);ee?(es.protocols=["ssh"],es.protocol="ssh",es.resource=ee[2],es.host=ee[2],es.user=ee[1],es.pathname=`/${ee[3]}`,es.parse_failed=!1):eo("URL parsing failed.")}return es};ef.MAX_INPUT_LENGTH=2048,ee.exports=ef},2337:function(ee){"use strict";ee.exports=function(ee,en){!0===en&&(en=0);var er="";if("string"==typeof ee)try{er=new URL(ee).protocol}catch(ee){}else ee&&ee.constructor===URL&&(er=ee.protocol);var ei=er.split(/\:|\+/).filter(Boolean);return"number"==typeof en?ei[en]:ei}},6826:function(ee){var en={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},er=Object.keys(en).join("|"),ei=RegExp(er,"g"),eo=RegExp(er,""),es=function(ee){return ee.replace(ei,function(ee){return en[ee]})},eu=function(ee){return!!ee.match(eo)};ee.exports=es,ee.exports.has=eu,ee.exports.remove=es},3859:function(ee){"use strict";ee.exports=ee=>{let en=/^\\\\\?\\/.test(ee),er=/[^\u0000-\u0080]+/.test(ee);return en||er?ee:ee.replace(/\\/g,"/")}},2891:function(ee,en,er){let ei=er(1439),eo=er(7224),es="[^\\s'’\\(\\)!?;:\"-]",eu=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${es}))|(${es}))(${es}*[’']*${es}*)`,"g"),ec=ee=>ee.map(ee=>[RegExp(`\\b${ee}\\b`,"gi"),ee]);function ed(ee){let en=ee[0];return/\s/.test(en)?ee.slice(1):/[\(\)]/.test(en)?null:ee}ee.exports=(ee,en={})=>{ee=ee.toLowerCase().replace(eu,(ee,en="",er,eo,es,eu,ec)=>{let ef=ee.length+eu>=ec.length,eh=ed(ee);if(!eh)return ee;if(!er){let ee=eo+es;if(ei.has(ee)&&!ef)return eh}return en+(eo||er).toUpperCase()+es});let er=en.special||[],es=[...eo,...er],ef=ec(es);return ef.forEach(([en,er])=>{ee=ee.replace(en,er)}),ee}},1439:function(ee){let en=["for","and","nor","but","or","yet","so"],er=["a","an","the"],ei=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];ee.exports=new Set([...en,...er,...ei])},7224:function(ee){let en=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"];ee.exports=en},2746:function(ee,en,er){er(5893)},1151:function(ee,en,er){"use strict";er.d(en,{Zo:function(){return ec},ah:function(){return es}});var ei=er(7294);let eo=ei.createContext({});function es(ee){let en=ei.useContext(eo);return ei.useMemo(()=>"function"==typeof ee?ee(en):{...en,...ee},[en,ee])}let eu={};function ec({components:ee,children:en,disableParentContext:er}){let ec;return ec=er?"function"==typeof ee?ee({}):ee||eu:es(ee),ei.createElement(eo.Provider,{value:ec},en)}},7222:function(ee,en,er){"use strict";er.d(en,{ZW:function(){return es},eZ:function(){return ec},hV:function(){return ed}});var ei=er(1864),eo=er(3454),es="en-US",eu=eo.cwd();ei.join(eu,"public");var ec=Symbol.for("__nextra_internal__"),ed=new Set(["/404","/500"])}}]); \ No newline at end of file diff --git a/_next/static/chunks/framework-63157d71ad419e09.js b/_next/static/chunks/framework-63157d71ad419e09.js new file mode 100644 index 0000000..eb4b96f --- /dev/null +++ b/_next/static/chunks/framework-63157d71ad419e09.js @@ -0,0 +1,33 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{4448:function(e,n,t){/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r,l,a,u,o,i,s=t(7294),c=t(3840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t