1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[996],{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<ee;er++)en[er]=v();return en}function v(){return Object.create(null)}function ba(ee,en){return en.length-ee.length}function x(ee){return"string"==typeof ee}function C(ee){return"object"==typeof ee}function D(ee){return"function"==typeof ee}function ca(ee,en){var er=da;if(ee&&(en&&(ee=E(ee,en)),this.H&&(ee=E(ee,this.H)),this.J&&1<ee.length&&(ee=E(ee,this.J)),er||""===er)&&(ee=ee.split(er),this.filter)){en=this.filter,er=ee.length;let ei=[];for(let es=0,eo=0;es<er;es++){let er=ee[es];er&&!en[er]&&(ei[eo++]=er)}ee=ei}return ee}self._factory=_f;let da=/[\p{Z}\p{S}\p{P}\p{C}]+/u,ea=/[\u0300-\u036f]/g;function fa(ee,en){let er=Object.keys(ee),ei=er.length,es=[],eo="",eu=0;for(let ec=0,ed,ef;ec<ei;ec++)(ef=ee[ed=er[ec]])?(es[eu++]=F(en?"(?!\\b)"+ed+"(\\b|_)":ed),es[eu++]=ef):eo+=(eo?"|":"")+ed;return eo&&(es[eu++]=F(en?"(?!\\b)("+eo+")(\\b|_)":"("+eo+")"),es[eu]=""),es}function E(ee,en){for(let er=0,ei=en.length;er<ei&&(ee=ee.replace(en[er],en[er+1]));er+=2);return ee}function F(ee){return RegExp(ee,"g")}function ha(ee){let en="",er="";for(let ei=0,es=ee.length,eo;ei<es;ei++)(eo=ee[ei])!==er&&(en+=er=eo);return en}var t,ja={encode:ia,F:!1,G:""};function ia(ee){return ca.call(this,(""+ee).toLowerCase(),!1)}let ka={},G={};function la(ee){I(ee,"add"),I(ee,"append"),I(ee,"search"),I(ee,"update"),I(ee,"remove")}function I(ee,en){ee[en+"Async"]=function(){let ee;let er=this,ei=arguments;var es=ei[ei.length-1];return D(es)&&(ee=es,delete ei[ei.length-1]),es=new Promise(function(ee){setTimeout(function(){er.async=!0;let es=er[en].apply(er,ei);er.async=!1,ee(es)})}),ee?(es.then(ee),this):es}}function ma(ee,en,er,ei){let es=ee.length,eo=[],eu,ec,ed=0;ei&&(ei=[]);for(let ef=es-1;0<=ef;ef--){let ep=ee[ef],eh=ep.length,em=v(),ex=!eu;for(let ee=0;ee<eh;ee++){let eh=ep[ee],eg=eh.length;if(eg)for(let ee=0,ep,ev;ee<eg;ee++)if(ev=eh[ee],eu){if(eu[ev]){if(!ef){if(er)er--;else if(eo[ed++]=ev,ed===en)return eo}(ef||ei)&&(em[ev]=1),ex=!0}if(ei&&(ep=(ec[ev]||0)+1,ec[ev]=ep,ep<es)){let ee=ei[ep-2]||(ei[ep-2]=[]);ee[ee.length]=ev}}else em[ev]=1}if(ei)eu||(ec=em);else if(!ex)return[];eu=em}if(ei)for(let ee=ei.length-1,es,ec;0<=ee;ee--){ec=(es=ei[ee]).length;for(let ee=0,ei;ee<ec;ee++)if(!eu[ei=es[ee]]){if(er)er--;else if(eo[ed++]=ei,ed===en)return eo;eu[ei]=1}}return eo}function na(ee,en){let er=v(),ei=v(),es=[];for(let en=0;en<ee.length;en++)er[ee[en]]=1;for(let ee=0,eo;ee<en.length;ee++){eo=en[ee];for(let ee=0,en;ee<eo.length;ee++)er[en=eo[ee]]&&!ei[en]&&(ei[en]=1,es[es.length]=en)}return es}function J(ee){this.l=!0!==ee&&ee,this.cache=v(),this.h=[]}function oa(ee,en,er){C(ee)&&(ee=ee.query);let ei=this.cache.get(ee);return ei||(ei=this.search(ee,en,er),this.cache.set(ee,ei)),ei}J.prototype.set=function(ee,en){if(!this.cache[ee]){var er=this.h.length;for(er===this.l?delete this.cache[this.h[er-1]]:er++,--er;0<er;er--)this.h[er]=this.h[er-1];this.h[0]=ee}this.cache[ee]=en},J.prototype.get=function(ee){let en=this.cache[ee];if(this.l&&en&&(ee=this.h.indexOf(ee))){let en=this.h[ee-1];this.h[ee-1]=this.h[ee],this.h[ee]=en}return en};
1let qa={memory:{charset:"latin:extra",D:3,B:4,m:!1},performance:{D:3,B:3,s:!1,context:{depth:2,D:1}},match:{charset:"latin:extra",G:"reverse"},score:{charset:"latin:advanced",D:20,B:3,context:{depth:3,D:9}},default:{}};function ra(ee,en,er,ei,es,eo,eu){setTimeout(function(){let ec=ee(er?er+"."+ei:ei,JSON.stringify(eu));ec&&ec.then?ec.then(function(){en.export(ee,en,er,es,eo+1)}):en.export(ee,en,er,es,eo+1)})}function K(ee,en){if(!(this instanceof K))return new K(ee);if(ee){x(ee)?ee=qa[ee]:(er=ee.preset)&&(ee=Object.assign({},er[er],ee)),er=ee.charset;var er,ei=ee.lang;x(er)&&(-1===er.indexOf(":")&&(er+=":default"),er=G[er]),x(ei)&&(ei=ka[ei])}else ee={};let es,eo,eu=ee.context||{};if(this.encode=ee.encode||er&&er.encode||ia,this.register=en||v(),this.D=es=ee.resolution||9,this.G=en=er&&er.G||ee.tokenize||"strict",this.depth="strict"===en&&eu.depth,this.l=u(eu.bidirectional),this.s=eo=u(ee.optimize),this.m=u(ee.fastupdate),this.B=ee.minlength||1,this.C=ee.boost,this.map=eo?aa(es):v(),this.A=es=eu.resolution||1,this.h=eo?aa(es):v(),this.F=er&&er.F||ee.rtl,this.H=(en=ee.matcher||ei&&ei.H)&&fa(en,!1),this.J=(en=ee.stemmer||ei&&ei.J)&&fa(en,!0),er=en=ee.filter||ei&&ei.filter){er=en,ei=v();for(let ee=0,en=er.length;ee<en;ee++)ei[er[ee]]=1;er=ei}this.filter=er,this.cache=(en=ee.cache)&&new J(en)}function L(ee,en,er,ei,es){return er&&1<ee?en+(ei||0)<=ee?er+(es||0):(ee-1)/(en+(ei||0))*(er+(es||0))+1|0:0}function M(ee,en,er,ei,es,eo,eu){let ec=eu?ee.h:ee.map;(!en[er]||eu&&!en[er][eu])&&(ee.s&&(ec=ec[ei]),eu?((en=en[er]||(en[er]=v()))[eu]=1,ec=ec[eu]||(ec[eu]=v())):en[er]=1,ec=ec[er]||(ec[er]=[]),ee.s||(ec=ec[ei]||(ec[ei]=[])),eo&&ec.includes(es)||(ec[ec.length]=es,ee.m&&((ee=ee.register[es]||(ee.register[es]=[]))[ee.length]=ec)))}function sa(ee,en,er,ei,es,eo,eu,ec){let ed=[],ef=ec?ee.h:ee.map;if(ee.s||(ef=ua(ef,eu,ec,ee.l)),ef){let er=0,ep=Math.min(ef.length,ec?ee.A:ee.D);for(let en=0,eh=0,em,ex;en<ep&&(!(em=ef[en])||(ee.s&&(em=ua(em,eu,ec,ee.l)),es&&em&&eo&&((ex=em.length)<=es?(es-=ex,em=null):(em=em.slice(es),es=0)),!em||(ed[er++]=em,!eo||!((eh+=em.length)>=ei))));en++);if(er)return eo?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,es){let eo=0;if(ee.constructor===Array){if(es)-1!==(en=ee.indexOf(en))?1<ee.length&&(ee.splice(en,1),eo++):eo++;else{es=Math.min(ee.length,er);for(let eu=0,ec;eu<es;eu++)(ec=ee[eu])&&(eo=N(ec,en,er,ei,es),ei||eo||delete ee[eu])}}else for(let eu in ee)(eo=N(ee[eu],en,er,ei,es))||delete ee[eu];return eo}function va(ee){ee=ee.data;var en=self._index;let er=ee.args;var ei=ee.task;"init"===ei?(ei=ee.options||{},ee=ee.factory,en=ei.encode,ei.cache=!1,en&&0===en.indexOf("function")&&(ei.encode=Function("return "+en)()),ee?(Function("return "+ee)()(self),self._index=new self.FlexSearch.Index(ei),delete self.FlexSearch):self._index=new K(ei)):(ee=ee.id,en=en[ei].apply(en,er),postMessage("search"===ei?{id:ee,msg:en}:{id:ee}))}t=K.prototype,t.append=function(ee,en){return this.add(ee,en,!0)},t.add=function(ee,en,er,ei){if(en&&(ee||0===ee)){if(!ei&&!er&&this.register[ee])return this.update(ee,en);if(ei=(en=this.encode(en)).length){let ef=v(),ep=v(),eh=this.depth,em=this.D;for(let ex=0;ex<ei;ex++){let eg=en[this.F?ei-1-ex:ex];var es=eg.length;if(eg&&es>=this.B&&(eh||!ep[eg])){var eo=L(em,ei,ex),eu="";switch(this.G){case"full":if(2<es){for(eo=0;eo<es;eo++)for(var ec=es;ec>eo;ec--)if(ec-eo>=this.B){var ed=L(em,ei,ex,es,eo);M(this,ep,eu=eg.substring(eo,ec),ed,ee,er)}break}case"reverse":if(1<es){for(ec=es-1;0<ec;ec--)(eu=eg[ec]+eu).length>=this.B&&M(this,ep,eu,L(em,ei,ex,es,ec),ee,er);eu=""}case"forward":if(1<es){for(ec=0;ec<es;ec++)(eu+=eg[ec]).length>=this.B&&M(this,ep,eu,eo,ee,er);break}default:if(this.C&&(eo=Math.min(eo/this.C(en,eg,ex)|0,em-1)),M(this,ep,eg,eo,ee,er),eh&&1<ei&&ex<ei-1){for(es=v(),eu=this.A,eo=eg,ec=Math.min(eh+1,ei-ex),es[eo]=1,ed=1;ed<ec;ed++)if((eg=en[this.F?ei-1-ex-ed:ex+ed])&&eg.length>=this.B&&!es[eg]){es[eg]=1;let en=this.l&&eg>eo;M(this,ef,en?eo:eg,L(eu+(ei/2>eu?0:1),ei,ex,ec-1,ed-1),ee,er,en?eg:eo)}}}}}this.m||(this.register[ee]=1)}}return this},t.search=function(ee,en,er){let ei,es,eo;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 ep=er.context;ed=er.suggest}if(ee&&1<(ec=(ee=this.encode(""+ee)).length)){er=v();var eh=[];for(let en=0,ei=0,es;en<ec;en++)if((es=ee[en])&&es.length>=this.B&&!er[es]){if(!this.s&&!ed&&!this.map[es])return eu;eh[ei++]=es,er[es]=1}ec=(ee=eh).length}if(!ec)return eu;for(en||(en=100),ep=this.depth&&1<ec&&!1!==ep,er=0,ep?(ei=ee[0],er=1):1<ec&&ee.sort(ba);er<ec;er++){if(eo=ee[er],ep?(es=sa(this,eu,ed,en,ef,2===ec,eo,ei),ed&&!1===es&&eu.length||(ei=eo)):es=sa(this,eu,ed,en,ef,1===ec,eo),es)return es;if(ed&&er===ec-1){if(!(eh=eu.length)){if(ep){ep=0,er=-1;continue}return eu}if(1===eh)return ta(eu[0],en,ef)}}return ma(eu,en,ef,ed)},t.contain=function(ee){return!!this.register[ee]},t.update=function(ee,en){return this.remove(ee).add(ee,en)},t.remove=function(ee,en){let er=this.register[ee];if(er){if(this.m)for(let en=0,ei;en<er.length;en++)(ei=er[en]).splice(ei.indexOf(ee),1);else N(this.map,ee,this.D,this.s),this.depth&&N(this.h,ee,this.A,this.s);if(en||delete this.register[ee],this.cache){en=this.cache;for(let er=0,ei;er<en.h.length;er++)ei=en.h[er],en.cache[ei].includes(ee)&&(en.h.splice(er--,1),delete en.cache[ei])}}return this},t.searchCache=oa,t.export=function(ee,en,er,ei,es){let eo,eu;switch(es||(es=0)){case 0:if(eo="reg",this.m)for(let ee in eu=v(),this.register)eu[ee]=1;else eu=this.register;break;case 1:eo="cfg",eu={doc:0,opt:this.s?1:0};break;case 2:eo="map",eu=this.map;break;case 3:eo="ctx",eu=this.h;break;default:return}return ra(ee,en||this,er,eo,ei,es,eu),!0},t.import=function(ee,en){if(en)switch(x(en)&&(en=JSON.parse(en)),ee){case"cfg":this.s=!!en.opt;break;case"reg":this.m=!1,this.register=en;break;case"map":this.map=en;break;case"ctx":this.h=en}},la(K.prototype);let wa=0;function O(ee){var en;if(!(this instanceof O))return new O(ee);ee?D(en=ee.encode)&&(ee.encode=en.toString()):ee={},(en=(self||window)._factory)&&(en=en.toString());let er="undefined"==typeof window&&self.exports,ei=this;this.o=xa(en,er,ee.worker),this.h=v(),this.o&&(er?this.o.on("message",function(ee){ei.h[ee.id](ee.msg),delete ei.h[ee.id]}):this.o.onmessage=function(ee){ee=ee.data,ei.h[ee.id](ee.msg),delete ei.h[ee.id]},this.o.postMessage({task:"init",factory:en,options:ee}))}function P(ee){O.prototype[ee]=O.prototype[ee+"Async"]=function(){let en;let er=this,ei=[].slice.call(arguments);var es=ei[ei.length-1];return D(es)&&(en=es,ei.splice(ei.length-1,1)),es=new Promise(function(en){setTimeout(function(){er.h[++wa]=en,er.o.postMessage({task:ee,
1id:wa,args:ei})})}),en?(es.then(en),this):es}}function xa(a,b,c){let d;try{d=b?eval('new (require("worker_threads")["Worker"])("../dist/node/node.js")'):a?new Worker(URL.createObjectURL(new Blob(["onmessage="+va.toString()],{type:"text/javascript"}))):new Worker(x(c)?c:"worker/worker.js",{type:"module"})}catch(e){}return d}function Q(ee){if(!(this instanceof Q))return new Q(ee);var en,er=ee.document||ee.doc||ee;this.K=[],this.h=[],this.A=[],this.register=v(),this.key=(en=er.key||er.id)&&S(en,this.A)||"id",this.m=u(ee.fastupdate),this.C=(en=er.store)&&!0!==en&&[],this.store=en&&v(),this.I=(en=er.tag)&&S(en,this.A),this.l=en&&v(),this.cache=(en=ee.cache)&&new J(en),ee.cache=!1,this.o=ee.worker,this.async=!1,en=v();let ei=er.index||er.field||er;x(ei)&&(ei=[ei]);for(let er=0,es,eo;er<ei.length;er++)x(es=ei[er])||(eo=es,es=es.field),eo=C(eo)?Object.assign({},ee,eo):ee,this.o&&(en[es]=new O(eo),en[es].o||(this.o=!1)),this.o||(en[es]=new K(eo,this.register)),this.K[er]=S(es,this.A),this.h[er]=es;if(this.C)for(x(ee=er.store)&&(ee=[ee]),er=0;er<ee.length;er++)this.C[er]=S(ee[er],this.A);this.index=en}function S(ee,en){let er=ee.split(":"),ei=0;for(let es=0;es<er.length;es++)0<=(ee=er[es]).indexOf("[]")&&(ee=ee.substring(0,ee.length-2))&&(en[ei]=!0),ee&&(er[ei++]=ee);return ei<er.length&&(er.length=ei),1<ei?er:er[0]}function T(ee,en){if(x(en))ee=ee[en];else for(let er=0;ee&&er<en.length;er++)ee=ee[en[er]];return ee}function U(ee,en,er,ei,es){if(ee=ee[es],ei===er.length-1)en[es]=ee;else if(ee){if(ee.constructor===Array)for(en=en[es]=Array(ee.length),es=0;es<ee.length;es++)U(ee,en,er,ei,es);else en=en[es]||(en[es]=v()),es=er[++ei],U(ee,en,er,ei,es)}}function V(ee,en,er,ei,es,eo,eu,ec){if(ee=ee[eu]){if(ei===en.length-1){if(ee.constructor===Array){if(er[ei]){for(en=0;en<ee.length;en++)es.add(eo,ee[en],!0,!0);return}ee=ee.join(" ")}es.add(eo,ee,ec,!0)}else if(ee.constructor===Array)for(eu=0;eu<ee.length;eu++)V(ee,en,er,ei,es,eo,eu,ec);else eu=en[++ei],V(ee,en,er,ei,es,eo,eu,ec)}}function ya(ee,en,er,ei){let es=this.l[ee],eo=es&&es.length-er;if(eo&&0<eo)return(eo>en||er)&&(es=es.slice(er,er+en)),ei&&(es=za.call(this,es)),{tag:ee,result:es}}function za(ee){let en=Array(ee.length);for(let er=0,ei;er<ee.length;er++)ei=ee[er],en[er]={id:ei,doc:this.store[ei]};return en}P("add"),P("append"),P("search"),P("update"),P("remove"),t=Q.prototype,t.add=function(ee,en,er){if(C(ee)&&(ee=T(en=ee,this.key)),en&&(ee||0===ee)){if(!er&&this.register[ee])return this.update(ee,en);for(let ei=0,es,eo;ei<this.h.length;ei++)eo=this.h[ei],x(es=this.K[ei])&&(es=[es]),V(en,es,this.A,0,this.index[eo],ee,es[0],er);if(this.I){let ei=T(en,this.I),es=v();x(ei)&&(ei=[ei]);for(let en=0,eo,eu;en<ei.length;en++)if(!es[eo=ei[en]]&&(es[eo]=1,eu=this.l[eo]||(this.l[eo]=[]),!er||!eu.includes(ee))&&(eu[eu.length]=ee,this.m)){let en=this.register[ee]||(this.register[ee]=[]);en[en.length]=eu}}if(this.store&&(!er||!this.store[ee])){let er;if(this.C){er=v();for(let ee=0,ei;ee<this.C.length;ee++)x(ei=this.C[ee])?er[ei]=en[ei]:U(en,er,ei,0,ei[0])}this.store[ee]=er||en}}return this},t.append=function(ee,en){return this.add(ee,en,!0)},t.update=function(ee,en){return this.remove(ee).add(ee,en)},t.remove=function(ee){if(C(ee)&&(ee=T(ee,this.key)),this.register[ee]){for(var en=0;en<this.h.length&&(this.index[this.h[en]].remove(ee,!this.o),!this.m);en++);if(this.I&&!this.m)for(let er in this.l){en=this.l[er];let ei=en.indexOf(ee);-1!==ei&&(1<en.length?en.splice(ei,1):delete this.l[er])}this.store&&delete this.store[ee],delete this.register[ee]}return this},t.search=function(ee,en,er,ei){er||(!en&&C(ee)?(er=ee,ee=""):C(en)&&(er=en,en=0));let es=[],eo=[],eu,ec,ed,ef,ep,eh,em=0;if(er){if(er.constructor===Array)ed=er,er=null;else{if(ee=er.query||ee,ed=(eu=er.pluck)||er.index||er.field,ef=er.tag,ec=this.store&&er.enrich,ep="and"===er.bool,en=er.limit||en||100,eh=er.offset||0,ef&&(x(ef)&&(ef=[ef]),!ee)){for(let ee=0,er;ee<ef.length;ee++)(er=ya.call(this,ef[ee],en,eh,ec))&&(es[es.length]=er,em++);return em?es:[]}x(ed)&&(ed=[ed])}}ed||(ed=this.h),ep=ep&&(1<ed.length||ef&&1<ef.length);let ex=!ei&&(this.o||this.async)&&[];for(let eu=0,ec,eg,ev;eu<ed.length;eu++){let ey;
1if(x(eg=ed[eu])||(eg=(ey=eg).field,ee=ey.query||ee,en=ey.limit||en),ex)ex[eu]=this.index[eg].searchAsync(ee,en,ey||er);else{if(ev=(ec=ei?ei[eu]:this.index[eg].search(ee,en,ey||er))&&ec.length,ef&&ev){let ee=[],er=0;ep&&(ee[0]=[ec]);for(let en=0,ei,es;en<ef.length;en++)ei=ef[en],(ev=(es=this.l[ei])&&es.length)&&(er++,ee[ee.length]=ep?[es]:es);er&&(ev=(ec=ep?ma(ee,en||100,eh||0):na(ec,ee)).length)}if(ev)eo[em]=eg,es[em++]=ec;else if(ep)return[]}}if(ex){let ei=this;return new Promise(function(es){Promise.all(ex).then(function(eo){es(ei.search(ee,en,er,eo))})})}if(!em)return[];if(eu&&(!ec||!this.store))return es[0];for(let ee=0,en;ee<eo.length;ee++){if((en=es[ee]).length&&ec&&(en=za.call(this,en)),eu)return en;es[ee]={field:eo[ee],result:en}}return es},t.contain=function(ee){return!!this.register[ee]},t.get=function(ee){return this.store[ee]},t.set=function(ee,en){return this.store[ee]=en,this},t.searchCache=oa,t.export=function(ee,en,er,ei,es){if(es||(es=0),ei||(ei=0),ei<this.h.length){let er=this.h[ei],eo=this.index[er];en=this,setTimeout(function(){eo.export(ee,en,es?er:"",ei,es++)||(ei++,es=1,en.export(ee,en,er,ei,es))})}else{let en,eo;switch(es){case 1:en="tag",eo=this.l;break;case 2:en="store",eo=this.store;break;default:return}ra(ee,this,er,en,ei,es,eo)}},t.import=function(ee,en){if(en)switch(x(en)&&(en=JSON.parse(en)),ee){case"tag":this.l=en;break;case"reg":this.m=!1,this.register=en;for(let ee=0,er;ee<this.h.length;ee++)(er=this.index[this.h[ee]]).register=en,er.m=!1;break;case"store":this.store=en;break;default:ee=ee.split(".");let er=ee[0];ee=ee[1],er&&ee&&this.index[er].import(ee,en)}},la(Q.prototype);var Ba={encode:Aa,F:!1,G:""};let Ca=[F("[\xe0\xe1\xe2\xe3\xe4\xe5]"),"a",F("[\xe8\xe9\xea\xeb]"),"e",F("[\xec\xed\xee\xef]"),"i",F("[\xf2\xf3\xf4\xf5\xf6Å]"),"o",F("[\xf9\xfa\xfb\xfcű]"),"u",F("[\xfdÅ·\xff]"),"y",F("\xf1"),"n",F("[\xe7c]"),"k",F("\xdf"),"s",F(" & ")," and "];function Aa(ee){var en=ee=""+ee;return en.normalize&&(en=en.normalize("NFD").replace(ea,"")),ca.call(this,en.toLowerCase(),!ee.normalize&&Ca)}var Ea={encode:Da,F:!1,G:"strict"};let Fa=/[^a-z0-9]+/,Ga={b:"p",v:"f",w:"f",z:"s",x:"s",Ã:"s",d:"t",n:"m",c:"k",g:"k",j:"k",q:"k",i:"e",y:"e",u:"o"};function Da(ee){ee=Aa.call(this,ee).join(" ");let en=[];if(ee){let er=ee.split(Fa),ei=er.length;for(let es=0,eo,eu=0;es<ei;es++)if((ee=er[es])&&(!this.filter||!this.filter[ee])){let er=Ga[eo=ee[0]]||eo,ei=er;for(let en=1;en<ee.length;en++){eo=ee[en];let es=Ga[eo]||eo;es&&es!==ei&&(er+=es,ei=es)}en[eu++]=er}}return en}var Ia={encode:Ha,F:!1,G:""};let Ja=[F("ae"),"a",F("oe"),"o",F("sh"),"s",F("th"),"t",F("ph"),"f",F("pf"),"f",F("(?![aeo])h(?![aeo])"),"",F("(?!^[aeo])h(?!^[aeo])"),""];function Ha(ee,en){return ee&&(2<(ee=Da.call(this,ee).join(" ")).length&&(ee=E(ee,Ja)),en||(1<ee.length&&(ee=ha(ee)),ee&&(ee=ee.split(" ")))),ee||[]}var La={encode:Ka,F:!1,G:""};let Ma=F("(?!\\b)[aeo]");function Ka(ee){return ee&&(1<(ee=Ha.call(this,ee,!0)).length&&(ee=ee.replace(Ma,"")),1<ee.length&&(ee=ha(ee)),ee&&(ee=ee.split(" "))),ee||[]}G["latin:default"]=ja,G["latin:simple"]=Ba,G["latin:balance"]=Ea,G["latin:advanced"]=Ia,G["latin:extra"]=La;let W=self,Z={Index:K,Document:Q,Worker:O,registerCharset:function(ee,en){G[ee]=en},registerLanguage:function(ee,en){ka[ee]=en}};(Y=W.define)&&Y.amd?Y([],function(){return Z}):W.exports?W.exports=Z:W.FlexSearch=Z}(this)},5202:function(){!function(ee,en){en()}(0,function(){"use strict";function ee(ee){var en=!0,er=!1,ei=null,es={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function eo(ee){return!!ee&&ee!==document&&"HTML"!==ee.nodeName&&"BODY"!==ee.nodeName&&"classList"in ee&&"contains"in ee.classList}function eu(ee){var en=ee.type,er=ee.tagName;return"INPUT"===er&&!!es[en]&&!ee.readOnly||"TEXTAREA"===er&&!ee.readOnly||!!ee.isContentEditable}function ec(ee){ee.classList.contains("focus-visible")||(ee.classList.add("focus-visible"),ee.setAttribute("data-focus-visible-added",""))}function ed(ee){ee.hasAttribute("data-focus-visible-added")&&(ee.classList.remove("focus-visible"),ee.removeAttribute("data-focus-visible-added"))}function ef(er){er.metaKey||er.altKey||er.ctrlKey||(eo(ee.activeElement)&&ec(ee.activeElement),en=!0)}function ep(ee){en=!1}function eh(ee){eo(ee.target)&&(en||eu(ee.target))&&ec(ee.target)}function em(ee){eo(ee.target)&&(ee.target.classList.contains("focus-visible")||ee.target.hasAttribute("data-focus-visible-added"))&&(er=!0,window.clearTimeout(ei),ei=window.setTimeout(function(){er=!1},100),ed(ee.target))}function ex(ee){"hidden"===document.visibilityState&&(er&&(en=!0),eg())}function eg(){document.addEventListener("mousemove",ey),document.addEventListener("mousedown",ey),document.addEventListener("mouseup",ey),document.addEventListener("pointermove",ey),document.addEventListener("pointerdown",ey),document.addEventListener("pointerup",ey),document.addEventListener("touchmove",ey),document.addEventListener("touchstart",ey),document.addEventListener("touchend",ey)}function ev(){document.removeEventListener("mousemove",ey),document.removeEventListener("mousedown",ey),document.removeEventListener("mouseup",ey),document.removeEventListener("pointermove",ey),document.removeEventListener("pointerdown",ey),document.removeEventListener("pointerup",ey),document.removeEventListener("touchmove",ey),document.removeEventListener("touchstart",ey),document.removeEventListener("touchend",ey)}function ey(ee){ee.target.nodeName&&"html"===ee.target.nodeName.toLowerCase()||(en=!1,ev())}document.addEventListener("keydown",ef,!0),document.addEventListener("mousedown",ep,!0),document.addEventListener("pointerdown",ep,!0),document.addEventListener("touchstart",ep,!0),document.addEventListener("visibilitychange",ex,!0),eg(),ee.addEventListener("focus",eh,!0),ee.addEventListener("blur",em,!0),ee.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&ee.host?ee.host.setAttribute("data-js-focus-visible",""):ee.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var en;window.applyFocusVisiblePolyfill=ee;try{en=new CustomEvent("focus-visible-polyfill-ready")}catch(ee){(en=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(en)}"undefined"!=typeof document&&ee(document)})},9266:function(ee,en,er){"use strict";var ei=er(3905),es=er(9073);function eo(ee){var en=ei(ee);return en.token="","x-oauth-basic"===en.password?en.token=en.user:"x-token-auth"===en.user&&(en.token=en.password),es(en.protocols)||0===en.protocols.length&&es(ee)?en.protocol="ssh":en.protocols.length?en.protocol=en.protocols[0]:(en.protocol="file",en.protocols=["file"]),en.href=en.href.replace(/\/$/,""),en}ee.exports=eo},3458:function(ee,en,er){"use strict";var ei=er(9266);function es(ee){if("string"!=typeof ee)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(ee)&&(ee="https://github.com/"+ee);var en=ei(ee),er=en.resource.split("."),eo=null;switch(en.toString=function(ee){return es.stringify(this,ee)},en.source=er.length>2?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===(eo=en.name.split("/")).length&&(en.organization=eo[1],en.owner=eo[2],en.name=eo[3],en.full_name=eo[2]+"/"+eo[3]);break}2===(eo=en.name.split("/")).length?(en.owner=eo[1],en.name=eo[1],en.full_name="_git/"+en.name):3===eo.length?(en.name=eo[2],"DefaultCollection"===eo[0]?(en.owner=eo[2],en.organization=eo[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=eo[0],en.full_name=en.owner+"/_git/"+en.name)):4===eo.length&&(en.organization=eo[0],en.owner=eo[1],en.name=eo[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===(eo=en.name.split("/")).length&&(en.organization=eo[1],en.owner=eo[2],en.name=eo[3]);break}5===(eo=en.name.split("/")).length?(en.organization=eo[0],en.owner=eo[1],en.name=eo[4],en.full_name="_git/"+en.name):3===eo.length?(en.name=eo[2],"DefaultCollection"===eo[0]?(en.owner=eo[2],en.organization=eo[0],en.full_name=en.organization+"/_git/"+en.name):(en.owner=eo[0],en.full_name=en.owner+"/_git/"+en.name)):4===eo.length&&(en.organization=eo[0],en.owner=eo[1],en.name=eo[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=(eo=en.name.split("/")).length-1;if(eo.length>=2){var ec=eo.indexOf("-",2),ed=eo.indexOf("blob",2),ef=eo.indexOf("tree",2),ep=eo.indexOf("commit",2),eh=eo.indexOf("src",2),em=eo.indexOf("raw",2),ex=eo.indexOf("edit",2);eu=ec>0?ec-1:ed>0?ed-1:ef>0?ef-1:ep>0?ep-1:eh>0?eh-1:em>0?em-1:ex>0?ex-1:eu,en.owner=eo.slice(0,eu).join("/"),en.name=eo[eu],ep&&(en.commit=eo[eu+2])}en.ref="",en.filepathtype="",en.filepath="";var eg=eo.length>eu&&"-"===eo[eu+1]?eu+1:eu;eo.length>eg+2&&["raw","src","blob","tree","edit"].indexOf(eo[eg+1])>=0&&(en.filepathtype=eo[eg+1],en.ref=eo[eg+2],eo.length>eg+3&&(en.filepath=eo.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],(eo=ev[4].split("/")).length>1&&(["raw","browse"].indexOf(eo[1])>=0?(en.filepathtype=eo[1],eo.length>2&&(en.filepath=eo.slice(2).join("/"))):"commits"===eo[1]&&eo.length>2&&(en.commit=eo[2])),en.full_name=en.owner+"/"+en.name,en.query.at?en.ref=en.query.at:en.ref=""),en}/*! 2 * buildToken
3 * Builds OAuth token prefix (helper function) 4 * 5 * @name buildToken 6 * @function 7 * @param {GitUrl} obj The parsed Git url object. 8 * @return {String} token prefix 9 */function eo(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}es.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",es=ee.git_suffix?".git":"";switch(en){case"ssh":if(er)return"ssh://"+ei+"@"+ee.resource+er+"/"+ee.full_name+es;return ei+"@"+ee.resource+":"+ee.full_name+es;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return en+"://"+ei+"@"+ee.resource+er+"/"+ee.full_name+es;case"http":case"https":return en+"://"+(ee.token?eo(ee):ee.user&&(ee.protocols.includes("http")||ee.protocols.includes("https"))?ee.user+"@":"")+ee.resource+er+"/"+eu(ee)+es;default:return ee.href}},ee.exports=es},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=es(en);er;)er=es(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,eo=null,eu=null;if(this.POLL_INTERVAL?eo=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&&(eo&&ee.clearInterval(eo),ep(ee,"resize",ei,!0)),ep(en,"scroll",ei,!0),eu&&eu.disconnect()}),en!=(this.root&&(this.root.ownerDocument||this.root)||ee)){var ec=es(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 eo=es(er);if((er=eo&&eo.ownerDocument)==en)return!0}return!1})){var eo=this._monitoringUnsubscribes[er];if(this._monitoringDocuments.splice(er,1),this._monitoringUnsubscribes.splice(er,1),eo(),en!=ei){var eu=es(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;en<ee.length;en++)ee[en]()},eu.prototype._checkForIntersections=function(){if(this.root||!er||ei){var ee=this._rootIsInDom(),en=ee?this._getRootRect():ex();
9this._observationTargets.forEach(function(ei){var es=ei.element,eu=em(es),ed=this._rootContainsTarget(es),ef=ei.entry,ep=ee&&ed&&this._computeTargetAndRootIntersection(es,eu,en),eh=null;this._rootContainsTarget(es)?(!er||this.root)&&(eh=en):eh=ex();var eg=ei.entry=new eo({time:ec(),target:es,boundingClientRect:eu,rootBounds:eh,intersectionRect:ep});ef?ee&&ed?this._hasCrossedThreshold(ef,eg)&&this._queuedEntries.push(eg):ef&&ef.isIntersecting&&this._queuedEntries.push(eg):this._queuedEntries.push(eg)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},eu.prototype._computeTargetAndRootIntersection=function(en,es,eo){if("none"!=window.getComputedStyle(en).display){for(var eu=es,ec=eb(en),ed=!1;!ed&&ec;){var ef=null,ep=1==ec.nodeType?window.getComputedStyle(ec):{};if("none"==ep.display)return null;if(ec==this.root||9==ec.nodeType){if(ed=!0,ec==this.root||ec==ee)er&&!this.root?ei&&(0!=ei.width||0!=ei.height)?ef=ei:(ec=null,ef=null,eu=null):ef=eo;else{var ex=eb(ec),eg=ex&&em(ex),ey=ex&&this._computeTargetAndRootIntersection(ex,eg,eo);eg&&ey?(ec=ex,ef=ev(eg,ey)):(ec=null,eu=null)}}else{var e_=ec.ownerDocument;ec!=e_.body&&ec!=e_.documentElement&&"visible"!=ep.overflow&&(ef=em(ec))}if(ef&&(eu=eh(ef,eu)),!eu)break;ec=ec&&eb(ec)}return eu}},eu.prototype._getRootRect=function(){var en;if(this.root&&!e_(this.root))en=em(this.root);else{var er=e_(this.root)?this.root:ee,ei=er.documentElement,es=er.body;en={top:0,left:0,right:ei.clientWidth||es.clientWidth,width:ei.clientWidth||es.clientWidth,bottom:ei.clientHeight||es.clientHeight,height:ei.clientHeight||es.clientHeight}}return this._expandRectByRootMargin(en)},eu.prototype._expandRectByRootMargin=function(ee){var en=this._rootMarginValues.map(function(en,er){return"px"==en.unit?en.value:en.value*(er%2?ee.width:ee.height)/100}),er={top:ee.top-en[0],right:ee.right+en[1],bottom:ee.bottom+en[2],left:ee.left-en[3]};return er.width=er.right-er.left,er.height=er.bottom-er.top,er},eu.prototype._hasCrossedThreshold=function(ee,en){var er=ee&&ee.isIntersecting?ee.intersectionRatio||0:-1,ei=en.isIntersecting?en.intersectionRatio||0:-1;if(er!==ei)for(var es=0;es<this.thresholds.length;es++){var eo=this.thresholds[es];if(eo==er||eo==ei||eo<er!=eo<ei)return!0}},eu.prototype._rootIsInDom=function(){return!this.root||ey(ee,this.root)},eu.prototype._rootContainsTarget=function(en){var er=this.root&&(this.root.ownerDocument||this.root)||ee;return ey(er,en)&&(!this.root||er==en.ownerDocument)},eu.prototype._registerInstance=function(){0>en.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=eo}function es(ee){try{return ee.defaultView&&ee.defaultView.frameElement||null}catch(ee){return null}}function eo(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,es=ei.width*ei.height;er?this.intersectionRatio=Number((es/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 ep(ee,en,er,ei){"function"==typeof ee.removeEventListener?ee.removeEventListener(en,er,ei||!1):"function"==typeof ee.detachEvent&&ee.detachEvent("on"+en,er)}function eh(ee,en){var er=Math.max(ee.top,en.top),ei=Math.min(ee.bottom,en.bottom),es=Math.max(ee.left,en.left),eo=Math.min(ee.right,en.right),eu=eo-es,ec=ei-er;return eu>=0&&ec>=0&&{top:er,bottom:ei,left:es,right:eo,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?es(en):(er&&er.assignedSlot&&(er=er.assignedSlot.parentNode),er&&11==er.nodeType&&er.host)?er.host:er}function e_(ee){return ee&&9===ee.nodeType}}()},9073:function(ee,en,er){"use strict";var ei=er(2337);function es(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),es(en))return!0;var er=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!ee.match(er)&&ee.indexOf("@")<ee.indexOf(":")}ee.exports=es},9208:function(ee,en,er){var ei="Expected a function",es="__lodash_hash_undefined__",eo=1/0,eu="[object Function]",ec="[object GeneratorFunction]",ed="[object Symbol]",ef=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ep=/^\w*$/,eh=/^\./,em=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ex=/[\\^$.*+?()[\]{}|]/g,eg=/\\(\\)?/g,ev=/^\[object .+?Constructor\]$/,ey="object"==typeof er.g&&er.g&&er.g.Object===Object&&er.g,eb="object"==typeof self&&self&&self.Object===Object&&self,e_=ey||eb||Function("return this")();function ew(ee,en){return null==ee?void 0:ee[en]}function ek(ee){var en=!1;if(null!=ee&&"function"!=typeof ee.toString)try{en=!!(ee+"")}catch(ee){}return en}var ej=Array.prototype,eE=Function.prototype,eO=Object.prototype,eT=e_["__core-js_shared__"],eC=function(){var ee=/[^.]+$/.exec(eT&&eT.keys&&eT.keys.IE_PROTO||"");
vendor: 4,577 bytes, line 9
9return ee?"Symbol(src)_1."+ee:""}(),eS=eE.toString,eN=eO.hasOwnProperty,eI=eO.toString,eR=RegExp("^"+eS.call(eN).replace(ex,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eA=e_.Symbol,eP=ej.splice,eZ=tn(e_,"Map"),eL=tn(Object,"create"),eM=eA?eA.prototype:void 0,eD=eM?eM.toString:void 0;function ez(ee){var en=-1,er=ee?ee.length:0;for(this.clear();++en<er;){var ei=ee[en];this.set(ei[0],ei[1])}}function e$(){this.__data__=eL?eL(null):{}}function eF(ee){return this.has(ee)&&delete this.__data__[ee]}function eU(ee){var en=this.__data__;if(eL){var er=en[ee];return er===es?void 0:er}return eN.call(en,ee)?en[ee]:void 0}function eW(ee){var en=this.__data__;return eL?void 0!==en[ee]:eN.call(en,ee)}function eV(ee,en){return this.__data__[ee]=eL&&void 0===en?es:en,this}function eH(ee){var en=-1,er=ee?ee.length:0;for(this.clear();++en<er;){var ei=ee[en];this.set(ei[0],ei[1])}}function eG(){this.__data__=[]}function eB(ee){var en=this.__data__,er=e5(en,ee);return!(er<0)&&(er==en.length-1?en.pop():eP.call(en,er,1),!0)}function eK(ee){var en=this.__data__,er=e5(en,ee);return er<0?void 0:en[er][1]}function eY(ee){return e5(this.__data__,ee)>-1}function eQ(ee,en){var er=this.__data__,ei=e5(er,ee);return ei<0?er.push([ee,en]):er[ei][1]=en,this}function eJ(ee){var en=-1,er=ee?ee.length:0;for(this.clear();++en<er;){var ei=ee[en];this.set(ei[0],ei[1])}}function eX(){this.__data__={hash:new ez,map:new(eZ||eH),string:new ez}}function e0(ee){return e8(this,ee).delete(ee)}function e1(ee){return e8(this,ee).get(ee)}function e2(ee){return e8(this,ee).has(ee)}function e4(ee,en){return e8(this,ee).set(ee,en),this}function e5(ee,en){for(var er=ee.length;er--;)if(td(ee[er][0],en))return er;return -1}function e3(ee,en){en=tr(en,ee)?[en]:e9(en);for(var er=0,ei=en.length;null!=ee&&er<ei;)ee=ee[tl(en[er++])];return er&&er==ei?ee:void 0}function e6(ee){return!(!th(ee)||ts(ee))&&(tp(ee)||ek(ee)?eR:ev).test(tu(ee))}function e7(ee){if("string"==typeof ee)return ee;if(tx(ee))return eD?eD.call(ee):"";var en=ee+"";return"0"==en&&1/ee==-eo?"-0":en}function e9(ee){return tf(ee)?ee:to(ee)}function e8(ee,en){var er=ee.__data__;return ti(en)?er["string"==typeof en?"string":"hash"]:er.map}function tn(ee,en){var er=ew(ee,en);return e6(er)?er:void 0}function tr(ee,en){if(tf(ee))return!1;var er=typeof ee;return!!("number"==er||"symbol"==er||"boolean"==er||null==ee||tx(ee))||ep.test(ee)||!ef.test(ee)||null!=en&&ee in Object(en)}function ti(ee){var en=typeof ee;return"string"==en||"number"==en||"symbol"==en||"boolean"==en?"__proto__"!==ee:null===ee}function ts(ee){return!!eC&&eC in ee}ez.prototype.clear=e$,ez.prototype.delete=eF,ez.prototype.get=eU,ez.prototype.has=eW,ez.prototype.set=eV,eH.prototype.clear=eG,eH.prototype.delete=eB,eH.prototype.get=eK,eH.prototype.has=eY,eH.prototype.set=eQ,eJ.prototype.clear=eX,eJ.prototype.delete=e0,eJ.prototype.get=e1,eJ.prototype.has=e2,eJ.prototype.set=e4;var to=tc(function(ee){ee=tg(ee);var en=[];return eh.test(ee)&&en.push(""),ee.replace(em,function(ee,er,ei,es){en.push(ei?es.replace(eg,"$1"):er||ee)}),en});function tl(ee){if("string"==typeof ee||tx(ee))return ee;var en=ee+"";return"0"==en&&1/ee==-eo?"-0":en}function tu(ee){if(null!=ee){try{return eS.call(ee)}catch(ee){}try{return ee+""}catch(ee){}}return""}function tc(ee,en){if("function"!=typeof ee||en&&"function"!=typeof en)throw TypeError(ei);var er=function(){var ei=arguments,es=en?en.apply(this,ei):ei[0],eo=er.cache;if(eo.has(es))return eo.get(es);var eu=ee.apply(this,ei);return er.cache=eo.set(es,eu),eu};return er.cache=new(tc.Cache||eJ),er}function td(ee,en){return ee===en||ee!=ee&&en!=en}tc.Cache=eJ;var tf=Array.isArray;function tp(ee){var en=th(ee)?eI.call(ee):"";return en==eu||en==ec}function th(ee){var en=typeof ee;return!!ee&&("object"==en||"function"==en)}function tm(ee){return!!ee&&"object"==typeof ee}function tx(ee){return"symbol"==typeof ee||tm(ee)&&eI.call(ee)==ed}function tg(ee){return null==ee?"":e7(ee)}function tv(ee,en,er){var ei=null==ee?void 0:e3(ee,en);return void 0===ei?er:ei}ee.exports=tv},3454:function(ee,en,er){"use strict";var ei,es;ee.exports=(null==(ei=er.g.process)?void 0:ei.env)&&"object"==typeof(null==(es=er.g.process)?void 0:es.env)?er.g.process:er(7663)},3991:function(ee,en){"use strict";var er;Object.defineProperty(en,"__esModule",{value:!0}),function(ee,en){for(var er in en)Object.defineProperty(ee,er,{enumerable:!0,get:en[er]})}(en,{PrefetchKind:function(){return er},ACTION_REFRESH:function(){return ei},ACTION_NAVIGATE:function(){return es},ACTION_RESTORE:function(){return eo}
9,ACTION_SERVER_PATCH:function(){return eu},ACTION_PREFETCH:function(){return ec},ACTION_FAST_REFRESH:function(){return ed},ACTION_SERVER_ACTION:function(){return ef}});let ei="refresh",es="navigate",eo="restore",eu="server-patch",ec="prefetch",ed="fast-refresh",ef="server-action";!function(ee){ee.AUTO="auto",ee.FULL="full",ee.TEMPORARY="temporary"}(er||(er={})),("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)},1516:function(ee,en,er){"use strict";function ei(ee,en,er,ei){return!1}Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"getDomainLocale",{enumerable:!0,get:function(){return ei}}),er(2387),("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)},8872:function(ee,en,er){"use strict";Object.defineProperty(en,"__esModule",{value:!0}),Object.defineProperty(en,"Image",{enumerable:!0,get:function(){return e_}});let ei=er(8754),es=er(1757),eo=es._(er(7294)),eu=er(3935),ec=ei._(er(2636)),ed=er(5471),ef=er(3735),ep=er(3341);er(4210);let eh=er(9955),em=ei._(er(7746)),ex={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/docs/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function eg(ee,en,er,ei,es,eo){let eu=null==ee?void 0:ee.src;if(!ee||ee["data-loaded-src"]===eu)return;ee["data-loaded-src"]=eu;let ec="decode"in ee?ee.decode():Promise.resolve();ec.catch(()=>{}).then(()=>{if(ee.parentElement&&ee.isConnected){if("empty"!==en&&es(!0),null==er?void 0:er.current){let en=new Event("load");Object.defineProperty(en,"target",{writable:!1,value:ee});let ei=!1,es=!1;er.current({...en,nativeEvent:en,currentTarget:ee,target:ee,isDefaultPrevented:()=>ei,isPropagationStopped:()=>es,persist:()=>{},preventDefault:()=>{ei=!0,en.preventDefault()},stopPropagation:()=>{es=!0,en.stopPropagation()}})}(null==ei?void 0:ei.current)&&ei.current(ee)}})}function ev(ee){let[en,er]=eo.version.split("."),ei=parseInt(en,10),es=parseInt(er,10);return ei>18||18===ei&&es>=3?{fetchPriority:ee}:{fetchpriority:ee}}let ey=(0,eo.forwardRef)((ee,en)=>{let{src:er,srcSet:ei,sizes:es,height:eu,width:ec,decoding:ed,className:ef,style:ep,fetchPriority:eh,placeholder:em,loading:ex,unoptimized:ey,fill:eb,onLoadRef:e_,onLoadingCompleteRef:ew,setBlurComplete:ek,setShowAltText:ej,onLoad:eE,onError:eO,...eT}=ee;return eo.default.createElement("img",{...eT,...ev(eh),loading:ex,width:ec,height:eu,decoding:ed,"data-nimg":eb?"fill":"1",className:ef,style:ep,sizes:es,srcSet:ei,src:er,ref:(0,eo.useCallback)(ee=>{en&&("function"==typeof en?en(ee):"object"==typeof en&&(en.current=ee)),ee&&(eO&&(ee.src=ee.src),ee.complete&&eg(ee,em,e_,ew,ek,ey))},[er,em,e_,ew,ek,eO,ey,en]),onLoad:ee=>{let en=ee.currentTarget;eg(en,em,e_,ew,ek,ey)},onError:ee=>{ej(!0),"empty"!==em&&ek(!0),eO&&eO(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):eo.default.createElement(ec.default,null,eo.default.createElement("link",{key:"__nimg-"+er.src+er.srcSet+er.sizes,rel:"preload",href:er.srcSet?void 0:er.src,...ei}))}let e_=(0,eo.forwardRef)((ee,en)=>{let er=(0,eo.useContext)(eh.RouterContext),ei=!er,es=(0,eo.useContext)(ep.ImageConfigContext),eu=(0,eo.useMemo)(()=>{let ee=ex||es||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}},[es]),{onLoad:ec,onLoadingComplete:eg}=ee,ev=(0,eo.useRef)(ec);(0,eo.useEffect)(()=>{ev.current=ec},[ec]);let e_=(0,eo.useRef)(eg);(0,eo.useEffect)(()=>{e_.current=eg},[eg]);let[ew,ek]=(0,eo.useState)(!1),[ej,eE]=(0,eo.useState)(!1),{props:eO,meta:eT}=(0,ed.getImgProps)(ee,{defaultLoader:em.default,imgConf:eu,blurComplete:ew,showAltText:ej});return eo.default.createElement(eo.default.Fragment,null,eo.default.createElement(ey,{...eO,unoptimized:eT.unoptimized,placeholder:eT.placeholder,fill:eT.fill,onLoadRef:ev,onLoadingCompleteRef:e_,setBlurComplete:ek,setShowAltText:eE,ref:en}),eT.priority?eo.default.createElement(eb,{isAppRouter:ei,imgAttributes:eO}):null)});("function"==typeof en.default||"object"==typeof en.default&&null!==en.default)&&void 0===en.default.__esModule&&(Object.defineProperty(en.default,"__esMo
9dule",{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 eE}});let ei=er(8754),es=ei._(er(7294)),eo=er(4532),eu=er(3353),ec=er(1410),ed=er(9064),ef=er(370),ep=er(9955),eh=er(4224),em=er(508),ex=er(1516),eg=er(4266),ev=er(3991),ey=new Set;function eb(ee,en,er,ei,es,eo){if(!eo&&!(0,eu.isLocalURL)(en))return;if(!ei.bypassPrefetchedCheck){let es=void 0!==ei.locale?ei.locale:"locale"in ee?ee.locale:void 0,eo=en+"%"+er+"%"+es;if(ey.has(eo))return;ey.add(eo)}let ec=eo?ee.prefetch(en,es):ee.prefetch(en,er,ei);Promise.resolve(ec).catch(ee=>{})}function e_(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 ew(ee,en,er,ei,eo,ec,ed,ef,ep,eh){let{nodeName:em}=ee.currentTarget,ex="A"===em.toUpperCase();if(ex&&(e_(ee)||!ep&&!(0,eu.isLocalURL)(er)))return;ee.preventDefault();let eg=()=>{let ee=null==ed||ed;"beforePopState"in en?en[eo?"replace":"push"](er,ei,{shallow:ec,locale:ef,scroll:ee}):en[eo?"replace":"push"](ei||er,{forceOptimisticNavigation:!eh,scroll:ee})};ep?es.default.startTransition(eg):eg()}function ek(ee){return"string"==typeof ee?ee:(0,ec.formatUrl)(ee)}let ej=es.default.forwardRef(function(ee,en){let er,ei;let{href:eu,as:ec,children:ey,prefetch:e_=null,passHref:ej,replace:eE,shallow:eO,scroll:eT,locale:eC,onClick:eS,onMouseEnter:eN,onTouchStart:eI,legacyBehavior:eR=!1,...eA}=ee;er=ey,eR&&("string"==typeof er||"number"==typeof er)&&(er=es.default.createElement("a",null,er));let eP=es.default.useContext(ep.RouterContext),eZ=es.default.useContext(eh.AppRouterContext),eL=null!=eP?eP:eZ,eM=!eP,eD=!1!==e_,ez=null===e_?ev.PrefetchKind.AUTO:ev.PrefetchKind.FULL,{href:e$,as:eF}=es.default.useMemo(()=>{if(!eP){let ee=ek(eu);return{href:ee,as:ec?ek(ec):ee}}let[ee,en]=(0,eo.resolveHref)(eP,eu,!0);return{href:ee,as:ec?(0,eo.resolveHref)(eP,ec):en||ee}},[eP,eu,ec]),eU=es.default.useRef(e$),eW=es.default.useRef(eF);eR&&(ei=es.default.Children.only(er));let eV=eR?ei&&"object"==typeof ei&&ei.ref:en,[eH,eG,eB]=(0,em.useIntersection)({rootMargin:"200px"}),eK=es.default.useCallback(ee=>{(eW.current!==eF||eU.current!==e$)&&(eB(),eW.current=eF,eU.current=e$),eH(ee),eV&&("function"==typeof eV?eV(ee):"object"==typeof eV&&(eV.current=ee))},[eF,eV,e$,eB,eH]);es.default.useEffect(()=>{eL&&eG&&eD&&eb(eL,e$,eF,{locale:eC},{kind:ez},eM)},[eF,e$,eG,eC,eD,null==eP?void 0:eP.locale,eL,eM,ez]);let eY={ref:eK,onClick(ee){eR||"function"!=typeof eS||eS(ee),eR&&ei.props&&"function"==typeof ei.props.onClick&&ei.props.onClick(ee),eL&&!ee.defaultPrevented&&ew(ee,eL,e$,eF,eE,eO,eT,eC,eM,eD)},onMouseEnter(ee){eR||"function"!=typeof eN||eN(ee),eR&&ei.props&&"function"==typeof ei.props.onMouseEnter&&ei.props.onMouseEnter(ee),eL&&(eD||!eM)&&eb(eL,e$,eF,{locale:eC,priority:!0,bypassPrefetchedCheck:!0},{kind:ez},eM)},onTouchStart(ee){eR||"function"!=typeof eI||eI(ee),eR&&ei.props&&"function"==typeof ei.props.onTouchStart&&ei.props.onTouchStart(ee),eL&&(eD||!eM)&&eb(eL,e$,eF,{locale:eC,priority:!0,bypassPrefetchedCheck:!0},{kind:ez},eM)}};if((0,ed.isAbsoluteUrl)(eF))eY.href=eF;else if(!eR||ej||"a"===ei.type&&!("href"in ei.props)){let ee=void 0!==eC?eC:null==eP?void 0:eP.locale,en=(null==eP?void 0:eP.isLocaleDomain)&&(0,ex.getDomainLocale)(eF,ee,null==eP?void 0:eP.locales,null==eP?void 0:eP.domainLocales);eY.href=en||(0,eg.addBasePath)((0,ef.addLocale)(eF,ee,null==eP?void 0:eP.defaultLocale))}return eR?es.default.cloneElement(ei,eY):es.default.createElement("a",{...eA,...eY},er)}),eE=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 ep}});let ei=er(7294),es=er(29),eo="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 es=new Map,eo=new IntersectionObserver(ee=>{ee.forEach(ee=>{let en=es.get(ee.target),er=ee.isIntersecting||ee.intersectionRatio>0;en&&er&&en(er)})},ee);return en={id:er,observer:eo,elements:es},ec.push(er),eu.set(er,en),en}function ef(ee,en,er){let{id:ei,observer:es,elements:eo}=ed(er);return eo.set(ee,en),es.observe(ee),function(){if(eo.delete(ee),es.unobserve(ee),0===eo.size){es.disconnect(),eu.delete(ei);let ee=ec.findIndex(ee=>ee.root===ei.root&&ee.margin===ei.margin);ee>-1&&ec.splice(ee,1)}}}function ep(ee){let{rootRef:en,rootMargin:er,disabled:eu}=ee,ec=eu||!eo,[ed,ep]=(0,ei.useState)(!1),eh=(0,ei.useRef)(null),em=(0,ei.useCallback)(ee=>{eh.current=ee},[]);(0,ei.useEffect)(()=>
9{if(eo){if(ec||ed)return;let ee=eh.current;if(ee&&ee.tagName){let ei=ef(ee,ee=>ee&&ep(ee),{root:null==en?void 0:en.current,rootMargin:er});return ei}}else if(!ed){let ee=(0,es.requestIdleCallback)(()=>ep(!0));return()=>(0,es.cancelIdleCallback)(ee)}},[ec,er,en,ed,eh.current]);let ex=(0,ei.useCallback)(()=>{ep(!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 eh}}),er(4210);let ei=er(7757),es=er(3735);function eo(ee){return void 0!==ee.default}function eu(ee){return void 0!==ee.src}function ec(ee){return"object"==typeof ee&&(eo(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:es}=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:es.filter(en=>en>=ei[0]*ee),kind:"w"}}return{widths:es,kind:"w"}}if("number"!=typeof en)return{widths:ei,kind:"w"};let eo=[...new Set([en,2*en].map(ee=>es.find(en=>en>=ee)||es[es.length-1]))];return{widths:eo,kind:"x"}}function ep(ee){let{config:en,src:er,unoptimized:ei,width:es,quality:eo,sizes:eu,loader:ec}=ee;if(ei)return{src:er,srcSet:void 0,sizes:void 0};let{widths:ed,kind:ep}=ef(en,es,eu),eh=ed.length-1;return{sizes:eu||"w"!==ep?eu:"100vw",srcSet:ed.map((ee,ei)=>ec({config:en,src:er,quality:eo,width:ee})+" "+("w"===ep?ee:ei+1)+ep).join(", "),src:ec({config:en,src:er,quality:eo,width:ed[eh]})}}function eh(ee,en){let er,eu,ef,{src:eh,sizes:em,unoptimized:ex=!1,priority:eg=!1,loading:ev,className:ey,quality:eb,width:e_,height:ew,fill:ek=!1,style:ej,onLoad:eE,onLoadingComplete:eO,placeholder:eT="empty",blurDataURL:eC,fetchPriority:eS,layout:eN,objectFit:eI,objectPosition:eR,lazyBoundary:eA,lazyRoot:eP,...eZ}=ee,{imgConf:eL,showAltText:eM,blurComplete:eD,defaultLoader:ez}=en,e$=eL||es.imageConfigDefault;if("allSizes"in e$)er=e$;else{let ee=[...e$.deviceSizes,...e$.imageSizes].sort((ee,en)=>ee-en),en=e$.deviceSizes.sort((ee,en)=>ee-en);er={...e$,allSizes:ee,deviceSizes:en}}let eF=eZ.loader||ez;delete eZ.loader,delete eZ.srcSet;let eU="__next_img_default"in eF;if(eU){if("custom"===er.loader)throw Error('Image with src "'+eh+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let ee=eF;eF=en=>{let{config:er,...ei}=en;return ee(ei)}}if(eN){"fill"===eN&&(ek=!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 eW="",eV=ed(e_),eH=ed(ew);if(ec(eh)){let ee=eo(eh)?eh.default:eh;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,eC=eC||ee.blurDataURL,eW=ee.src,!ek){if(eV||eH){if(eV&&!eH){let en=eV/ee.width;eH=Math.round(ee.height*en)}else if(!eV&&eH){let en=eH/ee.height;eV=Math.round(ee.width*en)}}else eV=ee.width,eH=ee.height}}let eG=!eg&&("lazy"===ev||void 0===ev);(!(eh="string"==typeof eh?eh:eW)||eh.startsWith("data:")||eh.startsWith("blob:"))&&(ex=!0,eG=!1),er.unoptimized&&(ex=!0),eU&&eh.endsWith(".svg")&&!er.dangerouslyAllowSVG&&(ex=!0),eg&&(eS="high");let eB=ed(eb),eK=Object.assign(ek?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:eI,objectPosition:eR}:{},eM?{}:{color:"transparent"},ej),eY=eD||"empty"===eT?null:"blur"===eT?'url("data:image/svg+xml;charset=utf-8,'+(0,ei.getImageBlurSvg)({widthInt:eV,heightInt:eH,blurWidth:eu,blurHeight:ef,blurDataURL:eC||"",objectFit:eK.objectFit})+'")':'url("'+eT+'")',eQ=eY?{backgroundSize:eK.objectFit||"cover",backgroundPosition:eK.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eY}:{},eJ=ep({config:er,src:eh,unoptimized:ex,width:eV,quality:eB,sizes:em,loader:eF}),eX={...eZ,loading:eG?"lazy":ev,fetchPriority:eS,width:eV,height:eH,decoding:"async",className:ey,style:{...eK,...eQ},sizes:eJ.sizes,srcSet:eJ.srcSet,src:eJ.src},e0={unoptimized:ex,priority:eg,placeholder:eT,fill:ek};return{props:eX,meta:e0}}},7757:function(ee,en){"use strict";function er(ee){let{widthInt:en,heightInt:er,blurWidth:ei,blurHeight:es,blurDataURL:eo,objectFit:eu}
9=ee,ec=20,ed=ei?40*ei:en,ef=es?40*es:er,ep=ed&&ef?"viewBox='0 0 "+ed+" "+ef+"'":"",eh=ep?"none":"contain"===eu?"xMidYMid":"cover"===eu?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+ep+"%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='"+eh+"' style='filter: url(%23b);' href='"+eo+"'/%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),es=er(5471),eo=er(4210),eu=er(8872),ec=ei._(er(7746)),ed=ee=>{(0,eo.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:en}=(0,es.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:"/docs/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});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:es}=ee;return en.path+"?url="+encodeURIComponent(er)+"&w="+ei+"&q="+(es||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="",es=0,eo=-1,eu=0,ec=0;ec<=ee.length;++ec){if(ec<ee.length)er=ee.charCodeAt(ec);else if(47===er)break;else er=47;if(47===er){if(eo===ec-1||1===eu);else if(eo!==ec-1&&2===eu){if(ei.length<2||2!==es||46!==ei.charCo
9deAt(ei.length-1)||46!==ei.charCodeAt(ei.length-2)){if(ei.length>2){var ed=ei.lastIndexOf("/");if(ed!==ei.length-1){-1===ed?(ei="",es=0):es=(ei=ei.slice(0,ed)).length-1-ei.lastIndexOf("/"),eo=ec,eu=0;continue}}else if(2===ei.length||1===ei.length){ei="",es=0,eo=ec,eu=0;continue}}en&&(ei.length>0?ei+="/..":ei="..",es=2)}else ei.length>0?ei+="/"+ee.slice(eo+1,ec):ei=ee.slice(eo+1,ec),es=ec-eo-1;eo=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 es={resolve:function(){for(var ee,ei,es="",eo=!1,eu=arguments.length-1;eu>=-1&&!eo;eu--)eu>=0?ei=arguments[eu]:(void 0===ee&&(ee=""),ei=ee),en(ei),0!==ei.length&&(es=ei+"/"+es,eo=47===ei.charCodeAt(0));return(es=er(es,!eo),eo)?es.length>0?"/"+es:"/":es.length>0?es:"."},normalize:function(ee){if(en(ee),0===ee.length)return".";var ei=47===ee.charCodeAt(0),es=47===ee.charCodeAt(ee.length-1);return(0!==(ee=er(ee,!ei)).length||ei||(ee="."),ee.length>0&&es&&(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;er<arguments.length;++er){var ei=arguments[er];en(ei),ei.length>0&&(void 0===ee?ee=ei:ee+="/"+ei)}return void 0===ee?".":es.normalize(ee)},relative:function(ee,er){if(en(ee),en(er),ee===er||(ee=es.resolve(ee))===(er=es.resolve(er)))return"";for(var ei=1;ei<ee.length&&47===ee.charCodeAt(ei);++ei);for(var eo=ee.length,eu=eo-ei,ec=1;ec<er.length&&47===er.charCodeAt(ec);++ec);for(var ed=er.length-ec,ef=eu<ed?eu:ed,ep=-1,eh=0;eh<=ef;++eh){if(eh===ef){if(ed>ef){if(47===er.charCodeAt(ec+eh))return er.slice(ec+eh+1);if(0===eh)return er.slice(ec+eh)}else eu>ef&&(47===ee.charCodeAt(ei+eh)?ep=eh:0===eh&&(ep=0));break}var em=ee.charCodeAt(ei+eh);if(em!==er.charCodeAt(ec+eh))break;47===em&&(ep=eh)}var ex="";for(eh=ei+ep+1;eh<=eo;++eh)(eh===eo||47===ee.charCodeAt(eh))&&(0===ex.length?ex+="..":ex+="/..");return ex.length>0?ex+er.slice(ec+ep):(ec+=ep,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,es=-1,eo=!0,eu=ee.length-1;eu>=1;--eu)if(47===(er=ee.charCodeAt(eu))){if(!eo){es=eu;break}}else eo=!1;return -1===es?ei?"/":".":ei&&1===es?"//":ee.slice(0,es)},basename:function(ee,er){if(void 0!==er&&"string"!=typeof er)throw TypeError('"ext" argument must be a string');en(ee);var ei,es=0,eo=-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){es=ei+1;break}}else -1===ed&&(eu=!1,ed=ei+1),ec>=0&&(ef===er.charCodeAt(ec)?-1==--ec&&(eo=ei):(ec=-1,eo=ed))}return es===eo?eo=ed:-1===eo&&(eo=ee.length),ee.slice(es,eo)}for(ei=ee.length-1;ei>=0;--ei)if(47===ee.charCodeAt(ei)){if(!eu){es=ei+1;break}}else -1===eo&&(eu=!1,eo=ei+1);return -1===eo?"":ee.slice(es,eo)},extname:function(ee){en(ee);for(var er=-1,ei=0,es=-1,eo=!0,eu=0,ec=ee.length-1;ec>=0;--ec){var ed=ee.charCodeAt(ec);if(47===ed){if(!eo){ei=ec+1;break}continue}-1===es&&(eo=!1,es=ec+1),46===ed?-1===er?er=ec:1!==eu&&(eu=1):-1!==er&&(eu=-1)}return -1===er||-1===es||0===eu||1===eu&&er===es-1&&er===ei+1?"":ee.slice(er,es)},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 es=ee.charCodeAt(0),eo=47===es;eo?(ei.root="/",er=1):er=0;for(var eu=-1,ec=0,ed=-1,ef=!0,ep=ee.length-1,eh=0;ep>=er;--ep){if(47===(es=ee.charCodeAt(ep))){if(!ef){ec=ep+1;break}continue}-1===ed&&(ef=!1,ed=ep+1),46===es?-1===eu?eu=ep:1!==eh&&(eh=1):-1!==eu&&(eh=-1)}return -1===eu||-1===ed||0===eh||1===eh&&eu===ed-1&&eu===ec+1?-1!==ed&&(0===ec&&eo?ei.base=ei.name=ee.slice(1,ed):ei.base=ei.name=ee.slice(ec,ed)):(0===ec&&eo?(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):eo&&(ei.dir="/"),ei},sep:"/",delimiter:":",win32:null,posix:null};es.posix=es,ee.exports=es}},ei={};function es(ee){var en=ei[ee];if(void 0!==en)return en.exports;var eo=ei[ee]={exports:{}},eu=!0;try{er[ee](eo,eo.exports,es),eu=!1}finally{eu&&delete ei[ee]}return eo.exports}es.ab=en+"/";var eo=es(114);ee.exports=eo}()},7663:function(ee){var en="/";!function(){var er={229:function(ee){var en,er,ei,es=ee.exports={};function eo(){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===eo||!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)}
9catch(en){try{return er.call(null,ee)}catch(en){return er.call(this,ee)}}}!function(){try{en="function"==typeof setTimeout?setTimeout:eo}catch(ee){en=eo}try{er="function"==typeof clearTimeout?clearTimeout:eu}catch(ee){er=eu}}();var ef=[],ep=!1,eh=-1;function em(){ep&&ei&&(ep=!1,ei.length?ef=ei.concat(ef):eh=-1,ef.length&&ex())}function ex(){if(!ep){var ee=ec(em);ep=!0;for(var en=ef.length;en;){for(ei=ef,ef=[];++eh<en;)ei&&ei[eh].run();eh=-1,en=ef.length}ei=null,ep=!1,ed(ee)}}function eg(ee,en){this.fun=ee,this.array=en}function ev(){}es.nextTick=function(ee){var en=Array(arguments.length-1);if(arguments.length>1)for(var er=1;er<arguments.length;er++)en[er-1]=arguments[er];ef.push(new eg(ee,en)),1!==ef.length||ep||ec(ex)},eg.prototype.run=function(){this.fun.apply(null,this.array)},es.title="browser",es.browser=!0,es.env={},es.argv=[],es.version="",es.versions={},es.on=ev,es.addListener=ev,es.once=ev,es.off=ev,es.removeListener=ev,es.removeAllListeners=ev,es.emit=ev,es.prependListener=ev,es.prependOnceListener=ev,es.listeners=function(ee){return[]},es.binding=function(ee){throw Error("process.binding is not supported")},es.cwd=function(){return"/"},es.chdir=function(ee){throw Error("process.chdir is not supported")},es.umask=function(){return 0}}},ei={};function es(ee){var en=ei[ee];if(void 0!==en)return en.exports;var eo=ei[ee]={exports:{}},eu=!0;try{er[ee](eo,eo.exports,es),eu=!1}finally{eu&&delete ei[ee]}return eo.exports}es.ab=en+"/";var eo=es(229);ee.exports=eo}()},9008:function(ee,en,er){ee.exports=er(2636)},5675:function(ee,en,er){ee.exports=er(2555)},1664:function(ee,en,er){ee.exports=er(5569)},2681:function(ee,en,er){"use strict";er.d(en,{ZP:function(){return cT},ZR:function(){return uc}});var ei,es,eo,eu,ec,ed,ef,ep,eh,em,ex,eg,ev,ey,eb,e_,ew,ek,ej,eE=er(1163),eO=er(7294);er(5202);var eT=er(512);function eC(){let[ee,en]=(0,eO.useState)(!1);return(0,eO.useEffect)(()=>{en(!0)},[]),ee}var eS=er(7222),eN="https://nextra.vercel.app",eI=()=>{let{locale:ee=eS.ZW,asPath:en,route:er}=(0,eE.useRouter)();return(0,eO.useMemo)(()=>{let ei=eS.hV.has(er)?er:en,{pathname:es}=new URL(ei,eN),eo=ee?es.replace(RegExp(`\\.${ee}(\\/|$)`),"$1"):es;return eo.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[en,ee,er])},eR=er(2643),eA=er(4861);!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}(ex||(ex={})),function(ee){ee.mergeShapes=(ee,en)=>({...ee,...en})}(eg||(eg={}));let eP=ex.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),eZ=ee=>{let en=typeof ee;switch(en){case"undefined":return eP.undefined;case"string":return eP.string;case"number":return isNaN(ee)?eP.nan:eP.number;case"boolean":return eP.boolean;case"function":return eP.function;case"bigint":return eP.bigint;case"symbol":return eP.symbol;case"object":if(Array.isArray(ee))return eP.array;if(null===ee)return eP.null;if(ee.then&&"function"==typeof ee.then&&ee.catch&&"function"==typeof ee.catch)return eP.promise;if("undefined"!=typeof Map&&ee instanceof Map)return eP.map;if("undefined"!=typeof Set&&ee instanceof Set)return eP.set;if("undefined"!=typeof Date&&ee instanceof Date)return eP.date;return eP.object;default:return eP.unknown}}
9,eL=ex.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"]),eM=ee=>{let en=JSON.stringify(ee,null,2);return en.replace(/"([^"]+)":/g,"$1:")};class eD 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 es of ee.issues)if("invalid_union"===es.code)es.unionErrors.map(ei);else if("invalid_return_type"===es.code)ei(es.returnTypeError);else if("invalid_arguments"===es.code)ei(es.argumentsError);else if(0===es.path.length)er._errors.push(en(es));else{let ee=er,ei=0;for(;ei<es.path.length;){let er=es.path[ei],eo=ei===es.path.length-1;eo?(ee[er]=ee[er]||{_errors:[]},ee[er]._errors.push(en(es))):ee[er]=ee[er]||{_errors:[]},ee=ee[er],ei++}}};return ei(this),er}toString(){return this.message}get message(){return JSON.stringify(this.issues,ex.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(ee=ee=>ee.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()}}eD.create=ee=>{let en=new eD(ee);return en};let ez=(ee,en)=>{let er;switch(ee.code){case eL.invalid_type:er=ee.received===eP.undefined?"Required":`Expected ${ee.expected}, received ${ee.received}`;break;case eL.invalid_literal:er=`Invalid literal value, expected ${JSON.stringify(ee.expected,ex.jsonStringifyReplacer)}`;break;case eL.unrecognized_keys:er=`Unrecognized key(s) in object: ${ex.joinValues(ee.keys,", ")}`;break;case eL.invalid_union:er="Invalid input";break;case eL.invalid_union_discriminator:er=`Invalid discriminator value. Expected ${ex.joinValues(ee.options)}`;break;case eL.invalid_enum_value:er=`Invalid enum value. Expected ${ex.joinValues(ee.options)}, received '${ee.received}'`;break;case eL.invalid_arguments:er="Invalid function arguments";break;case eL.invalid_return_type:er="Invalid function return type";break;case eL.invalid_date:er="Invalid date";break;case eL.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}"`:ex.assertNever(ee.validation):er="regex"!==ee.validation?`Invalid ${ee.validation}`:"Invalid";break;case eL.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 eL.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 eL.custom:er="Invalid input";break;case eL.invalid_intersection_types:er="Intersection results could not be merged";break;case eL.not_multiple_of:er=`Number must be a multiple of ${ee.multipleOf}`;break;case eL.not_finite:er="Number must be finite";break;default:er=en.defaultError,ex.assertNever(ee)}return{message:er}},e$=ez;function eF(ee){e$=ee}function eU(){return e$}let eW=ee=>{let{data:en,path:er,errorMaps:ei,issueData:es}=ee,eo=[...er,...es.path||[]],eu={...es,path:eo},ec="",ed=ei.filter(ee=>!!ee).slice().reverse();for(let ee of ed)ec=ee(eu,{data:en,defaultError:ec}).message;return{...es,path:eo,message:es.message||ec}},eV=[];function eH(ee,en){let er=eW({issueData:en,data:ee.data,path:ee.path,errorMaps:[ee.common.contextualErrorMap,ee.schemaErrorMap,eU(),ez].filter(ee=>!!ee)});ee.common.issues.push(er)}class eG{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 eB;"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 eG.mergeObjectSync(ee,er)}static mergeObjectSync(ee,en){let er={};for(let ei of en){let{key:en,value:es}=ei;if("aborted"===en.status||"aborted"===es.status)return eB;"dirty"===en.status&&ee.dirty(),"dirty"===es.status&&ee.dirty(),(void 0!==es.value||ei.alwaysSet)&&(er[en.value]=e
9s.value)}return{status:ee.value,value:er}}}let eB=Object.freeze({status:"aborted"}),eK=ee=>({status:"dirty",value:ee}),eY=ee=>({status:"valid",value:ee}),eQ=ee=>"aborted"===ee.status,eJ=ee=>"dirty"===ee.status,eX=ee=>"valid"===ee.status,e0=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}(ev||(ev={}));class e1{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 e2=(ee,en)=>{if(eX(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 eD(ee.common.issues);return this._error=en,this._error}}};function e4(ee){if(!ee)return{};let{errorMap:en,invalid_type_error:er,required_error:ei,description:es}=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:es};let eo=(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:eo,description:es}}class e5{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 eZ(ee.data)}_getOrReturnCtx(ee,en){return en||{common:ee.parent.common,data:ee.data,parsedType:eZ(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}_processInputParams(ee){return{status:new eG,ctx:{common:ee.parent.common,data:ee.data,parsedType:eZ(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}}_parseSync(ee){let en=this._parse(ee);if(e0(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:eZ(ee)},es=this._parseSync({data:ee,path:ei.path,parent:ei});return e2(ei,es)}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:eZ(ee)},ei=this._parse({data:ee,path:er.path,parent:er}),es=await (e0(ei)?ei:Promise.resolve(ei));return e2(er,es)}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 es=ee(en),eo=()=>ei.addIssue({code:eL.custom,...er(en)});return"undefined"!=typeof Promise&&es instanceof Promise?es.then(ee=>!!ee||(eo(),!1)):!!es||(eo(),!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 t$({schema:this,typeName:ey.ZodEffects,effect:{type:"refinement",refinement:ee}})}superRefine(ee){return this._refinement(ee)}optional(){return tF.create(this,this._def)}nullable(){return tU.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return t_.create(this,this._def)}promise(){return tz.create(this,this._def)}or(ee){return tj.create([this,ee],this._def)}and(ee){return tC.create(this,ee,this._def)}transform(ee){return new t$({...e4(this._def),schema:this,typeName:ey.ZodEffects,effect:{type:"transform",transform:ee}})}default(ee){let en="function"==typeof ee?ee:()=>ee;return new tW({...e4(this._def),innerType:this,defaultValue:en,typeName:ey.ZodDefault})}brand(){return new tB({typeName:ey.ZodBranded,type:this,...e4(this._def)})}catch(ee){let en="function"==typeof ee?ee:()=>ee;return new tV({...e4(this._def),innerType:this,catchValue:en,typeName:ey.ZodCatch})}describe(ee){let en=this.constructor;return new en({...this._def,description:ee})}pipe(ee){return tK.create(this,ee)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let e3=/^c[^\s-]{8,}$/i,e6=/^[a-z][a-z0-9]*$/,e7=/[0-9A-HJKMNP-TV-Z]{26}/,e9=/^([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,e8=/^(([^<>()[\]\\.,;:\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,})+))$/,tn=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,tr=/^(((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}))$/,ti=/^(([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})))$/,ts=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 to(ee,en){return!!(("v4"===en||!en)&&tr.test(ee)||("v6"===en||!en)&&ti.test(ee))}class tl extends e5{constructor(){super(...arguments),this._regex=(ee,en,er)=>
9this.refinement(en=>ee.test(en),{validation:en,code:eL.invalid_string,...ev.errToObj(er)}),this.nonempty=ee=>this.min(1,ev.errToObj(ee)),this.trim=()=>new tl({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new tl({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new tl({...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!==eP.string){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.string,received:en.parsedType}),eB}let ei=new eG;for(let er of this._def.checks)if("min"===er.kind)ee.data.length<er.value&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_small,minimum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("max"===er.kind)ee.data.length>er.value&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("length"===er.kind){let es=ee.data.length>er.value,eo=ee.data.length<er.value;(es||eo)&&(en=this._getOrReturnCtx(ee,en),es?eH(en,{code:eL.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!0,message:er.message}):eo&&eH(en,{code:eL.too_small,minimum:er.value,type:"string",inclusive:!0,exact:!0,message:er.message}),ei.dirty())}else if("email"===er.kind)e8.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"email",code:eL.invalid_string,message:er.message}),ei.dirty());else if("emoji"===er.kind)tn.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"emoji",code:eL.invalid_string,message:er.message}),ei.dirty());else if("uuid"===er.kind)e9.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"uuid",code:eL.invalid_string,message:er.message}),ei.dirty());else if("cuid"===er.kind)e3.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"cuid",code:eL.invalid_string,message:er.message}),ei.dirty());else if("cuid2"===er.kind)e6.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"cuid2",code:eL.invalid_string,message:er.message}),ei.dirty());else if("ulid"===er.kind)e7.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"ulid",code:eL.invalid_string,message:er.message}),ei.dirty());else if("url"===er.kind)try{new URL(ee.data)}catch(es){eH(en=this._getOrReturnCtx(ee,en),{validation:"url",code:eL.invalid_string,message:er.message}),ei.dirty()}else if("regex"===er.kind){er.regex.lastIndex=0;let es=er.regex.test(ee.data);es||(eH(en=this._getOrReturnCtx(ee,en),{validation:"regex",code:eL.invalid_string,message:er.message}),ei.dirty())}else if("trim"===er.kind)ee.data=ee.data.trim();else if("includes"===er.kind)ee.data.includes(er.value,er.position)||(eH(en=this._getOrReturnCtx(ee,en),{code:eL.invalid_string,validation:{includes:er.value,position:er.position},message:er.message}),ei.dirty());else if("toLowerCase"===er.kind)ee.data=ee.data.toLowerCase();else if("toUpperCase"===er.kind)ee.data=ee.data.toUpperCase();else if("startsWith"===er.kind)ee.data.startsWith(er.value)||(eH(en=this._getOrReturnCtx(ee,en),{code:eL.invalid_string,validation:{startsWith:er.value},message:er.message}),ei.dirty());else if("endsWith"===er.kind)ee.data.endsWith(er.value)||(eH(en=this._getOrReturnCtx(ee,en),{code:eL.invalid_string,validation:{endsWith:er.value},message:er.message}),ei.dirty());else if("datetime"===er.kind){let es=ts(er);es.test(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{code:eL.invalid_string,validation:"datetime",message:er.message}),ei.dirty())}else"ip"===er.kind?to(ee.data,er.version)||(eH(en=this._getOrReturnCtx(ee,en),{validation:"ip",code:eL.invalid_string,message:er.message}),ei.dirty()):ex.assertNever(er);return{status:ei.value,value:ee.data}}_addCheck(ee){return new tl({...this._def,checks:[...this._def.checks,ee]})}email(ee){return this._addCheck({kind:"email",...ev.errToObj(ee)})}url(ee){return this._addCheck({kind:"url",...ev.errToObj(ee)})}emoji(ee){return this._addCheck({kind:"emoji",...ev.errToObj(ee)})}uuid(ee){return this._addCheck({kind:"uuid",...ev.errToObj(ee)})}cuid(ee){return this._addCheck({kind:"cuid",...ev.errToObj(ee)})}cuid2(ee){return this._addCheck({kind:"cuid2",...ev.errToObj(ee)})}ulid(ee){return this._addCheck({kind:"ulid",...ev.errToObj(ee)})}ip(ee){return this._addCheck({kind:"ip",...ev.errToObj(ee)})}datetime(ee){var en;return"string"==typeof ee?this._addCheck({kind:"datetime",precision:null,offset:!1,message:ee}):this._addCheck({kind:"datetime",precision:void 0===(null==ee?void 0:ee.precision)?null:null==ee?void 0:ee.precision,offset:null!==(en=null==ee?void 0:ee.offset)&&void 0!==en&&en,...ev.errToObj(null==ee?void 0:ee.message)})}regex(ee,en){return this._addCheck({kind:"regex",regex:ee,...ev.errToObj(en)})}includes(ee,en){return this._addCheck({kind:"includes",value:ee,position:null==en?void 0:en.position,...ev.errToObj(null==en?void 0:en.message)})}startsWith(ee,en){return this._addCheck({kind:"startsWith",value:ee,...ev.errToObj(en)})}endsWith(ee,en){return this._addCheck({kind:"endsWith",value:ee,...ev.errToObj(en)})}min(ee,en){return this._addCheck({kind:"min",value:ee,...ev.errToObj(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee,...ev.errToObj(en)})}length(ee,en){return this._addCheck({kind:"length",value:ee,...ev.errToObj(en)})}get isDatetime(){return!!this._def.checks.find(ee=>"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)}
9get 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.value<ee)&&(ee=en.value);return ee}}function tu(ee,en){let er=(ee.toString().split(".")[1]||"").length,ei=(en.toString().split(".")[1]||"").length,es=er>ei?er:ei,eo=parseInt(ee.toFixed(es).replace(".","")),eu=parseInt(en.toFixed(es).replace(".",""));return eo%eu/Math.pow(10,es)}tl.create=ee=>{var en;return new tl({checks:[],typeName:ey.ZodString,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...e4(ee)})};class tc extends e5{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!==eP.number){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.number,received:en.parsedType}),eB}let ei=new eG;for(let er of this._def.checks)if("int"===er.kind)ex.isInteger(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{code:eL.invalid_type,expected:"integer",received:"float",message:er.message}),ei.dirty());else if("min"===er.kind){let es=er.inclusive?ee.data<er.value:ee.data<=er.value;es&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_small,minimum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),ei.dirty())}else if("max"===er.kind){let es=er.inclusive?ee.data>er.value:ee.data>=er.value;es&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_big,maximum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),ei.dirty())}else"multipleOf"===er.kind?0!==tu(ee.data,er.value)&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):"finite"===er.kind?Number.isFinite(ee.data)||(eH(en=this._getOrReturnCtx(ee,en),{code:eL.not_finite,message:er.message}),ei.dirty()):ex.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,ev.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,ev.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,ev.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,ev.toString(en))}setLimit(ee,en,er,ei){return new tc({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:ev.toString(ei)}]})}_addCheck(ee){return new tc({...this._def,checks:[...this._def.checks,ee]})}int(ee){return this._addCheck({kind:"int",message:ev.toString(ee)})}positive(ee){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ev.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ev.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ev.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ev.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:ev.toString(en)})}finite(ee){return this._addCheck({kind:"finite",message:ev.toString(ee)})}safe(ee){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ev.toString(ee)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ev.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<ee)&&(ee=en.value);return ee}get isInt(){return!!this._def.checks.find(ee=>"int"===ee.kind||"multipleOf"===ee.kind&&ex.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>
9en)&&(en=er.value):"max"===er.kind&&(null===ee||er.value<ee)&&(ee=er.value)}return Number.isFinite(en)&&Number.isFinite(ee)}}tc.create=ee=>new tc({checks:[],typeName:ey.ZodNumber,coerce:(null==ee?void 0:ee.coerce)||!1,...e4(ee)});class td extends e5{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!==eP.bigint){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.bigint,received:en.parsedType}),eB}let ei=new eG;for(let er of this._def.checks)if("min"===er.kind){let es=er.inclusive?ee.data<er.value:ee.data<=er.value;es&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_small,type:"bigint",minimum:er.value,inclusive:er.inclusive,message:er.message}),ei.dirty())}else if("max"===er.kind){let es=er.inclusive?ee.data>er.value:ee.data>=er.value;es&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.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)&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):ex.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,ev.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,ev.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,ev.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,ev.toString(en))}setLimit(ee,en,er,ei){return new td({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:ev.toString(ei)}]})}_addCheck(ee){return new td({...this._def,checks:[...this._def.checks,ee]})}positive(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ev.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ev.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ev.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ev.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:ev.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<ee)&&(ee=en.value);return ee}}td.create=ee=>{var en;return new td({checks:[],typeName:ey.ZodBigInt,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...e4(ee)})};class tf extends e5{_parse(ee){this._def.coerce&&(ee.data=!!ee.data);let en=this._getType(ee);if(en!==eP.boolean){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.boolean,received:en.parsedType}),eB}return eY(ee.data)}}tf.create=ee=>new tf({typeName:ey.ZodBoolean,coerce:(null==ee?void 0:ee.coerce)||!1,...e4(ee)});class tp extends e5{_parse(ee){let en;this._def.coerce&&(ee.data=new Date(ee.data));let er=this._getType(ee);if(er!==eP.date){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.date,received:en.parsedType}),eB}if(isNaN(ee.data.getTime())){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_date}),eB}let ei=new eG;for(let er of this._def.checks)"min"===er.kind?ee.data.getTime()<er.value&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_small,message:er.message,inclusive:!0,exact:!1,minimum:er.value,type:"date"}),ei.dirty()):"max"===er.kind?ee.data.getTime()>er.value&&(eH(en=this._getOrReturnCtx(ee,en),{code:eL.too_big,message:er.message,inclusive:!0,exact:!1,maximum:er.value,type:"date"}),ei.dirty()):ex.assertNever(er);return{status:ei.value,value:new Date(ee.data.getTime())}}_addCheck(ee){return new tp({...this._def,checks:[...this._def.checks,ee]})}min(ee,en){return this._addCheck({kind:"min",value:ee.getTime(),message:ev.toString(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee.getTime(),message:ev.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.value<ee)&&(ee=en.value);return null!=ee?new Date(ee):null}}tp.create=ee=>new tp({checks:[],coerce:(null==ee?void 0:ee.coerce)||!1,typeName:ey.ZodDate,...e4(ee)});class th extends e5{_parse(ee){let en=this._getType(ee);if(en!==eP.symbol){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.symbol,received:en.parsedType}),eB}return eY(ee.data)}}th.create=ee=>new th({typeName:ey.ZodSymbol,...e4(ee)});class tm extends e5{_parse(ee){let en=this._getType(ee);if(en!==eP.undefined){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.undefined,received:en.parsedType}),eB}return eY(ee.data)}}tm.create=ee=>new tm({typeName:ey.ZodUndefined,...e4(ee)});class tx extends e5{_parse(ee){let en=this._getType(ee);if(en!==eP.null){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.null,received:en.parsedType}),eB}return eY(ee.data)}}tx.create=ee=>new tx({typeName:ey.ZodNull,...e4(ee)});class tg extends e5{constructor(){super(...arguments),this._any=!0}_parse(ee){return eY(ee.data)}}tg.create=ee=>new tg({typeName:ey.ZodAny,...e4(ee)});class tv extends e5{constructor(){super(...arguments),this._unknown=!0}_parse(ee){return eY(ee.data)}}tv.create=ee=>
vendor: 6,251 bytes, line 9
9new tv({typeName:ey.ZodUnknown,...e4(ee)});class ty extends e5{_parse(ee){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.never,received:en.parsedType}),eB}}ty.create=ee=>new ty({typeName:ey.ZodNever,...e4(ee)});class tb extends e5{_parse(ee){let en=this._getType(ee);if(en!==eP.undefined){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.void,received:en.parsedType}),eB}return eY(ee.data)}}tb.create=ee=>new tb({typeName:ey.ZodVoid,...e4(ee)});class t_ extends e5{_parse(ee){let{ctx:en,status:er}=this._processInputParams(ee),ei=this._def;if(en.parsedType!==eP.array)return eH(en,{code:eL.invalid_type,expected:eP.array,received:en.parsedType}),eB;if(null!==ei.exactLength){let ee=en.data.length>ei.exactLength.value,es=en.data.length<ei.exactLength.value;(ee||es)&&(eH(en,{code:ee?eL.too_big:eL.too_small,minimum:es?ei.exactLength.value:void 0,maximum:ee?ei.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:ei.exactLength.message}),er.dirty())}if(null!==ei.minLength&&en.data.length<ei.minLength.value&&(eH(en,{code:eL.too_small,minimum:ei.minLength.value,type:"array",inclusive:!0,exact:!1,message:ei.minLength.message}),er.dirty()),null!==ei.maxLength&&en.data.length>ei.maxLength.value&&(eH(en,{code:eL.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 e1(en,ee,en.path,er)))).then(ee=>eG.mergeArray(er,ee));let es=[...en.data].map((ee,er)=>ei.type._parseSync(new e1(en,ee,en.path,er)));return eG.mergeArray(er,es)}get element(){return this._def.type}min(ee,en){return new t_({...this._def,minLength:{value:ee,message:ev.toString(en)}})}max(ee,en){return new t_({...this._def,maxLength:{value:ee,message:ev.toString(en)}})}length(ee,en){return new t_({...this._def,exactLength:{value:ee,message:ev.toString(en)}})}nonempty(ee){return this.min(1,ee)}}function tw(ee){if(ee instanceof tk){let en={};for(let er in ee.shape){let ei=ee.shape[er];en[er]=tF.create(tw(ei))}return new tk({...ee._def,shape:()=>en})}return ee instanceof t_?new t_({...ee._def,type:tw(ee.element)}):ee instanceof tF?tF.create(tw(ee.unwrap())):ee instanceof tU?tU.create(tw(ee.unwrap())):ee instanceof tS?tS.create(ee.items.map(ee=>tw(ee))):ee}t_.create=(ee,en)=>new t_({type:ee,minLength:null,maxLength:null,exactLength:null,typeName:ey.ZodArray,...e4(en)});class tk extends e5{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=ex.objectKeys(ee);return this._cached={shape:ee,keys:en}}_parse(ee){let en=this._getType(ee);if(en!==eP.object){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.object,received:en.parsedType}),eB}let{status:er,ctx:ei}=this._processInputParams(ee),{shape:es,keys:eo}=this._getCached(),eu=[];if(!(this._def.catchall instanceof ty&&"strip"===this._def.unknownKeys))for(let ee in ei.data)eo.includes(ee)||eu.push(ee);let ec=[];for(let ee of eo){let en=es[ee],er=ei.data[ee];ec.push({key:{status:"valid",value:ee},value:en._parse(new e1(ei,er,ei.path,ee)),alwaysSet:ee in ei.data})}if(this._def.catchall instanceof ty){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&&(eH(ei,{code:eL.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 e1(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=>eG.mergeObjectSync(er,ee)):eG.mergeObjectSync(er,ec)}get shape(){return this._def.shape()}strict(ee){return ev.errToObj,new tk({...this._def,unknownKeys:"strict",...void 0!==ee?{errorMap:(en,er)=>{var ei,es,eo,eu;let ec=null!==(eo=null===(es=(ei=this._def).errorMap)||void 0===es?void 0:es.call(ei,en,er).message)&&void 0!==eo?eo:er.defaultError;return"unrecognized_keys"===en.code?{message:null!==(eu=ev.errToObj(ee).message)&&void 0!==eu?eu:ec}:{message:ec}}}:{}})}strip(){return new tk({...this._def,unknownKeys:"strip"})}passthrough(){return new tk({...this._def,unknownKeys:"passthrough"})}extend(ee){return new tk({...this._def,shape:()=>({...this._def.shape(),...ee})})}merge(ee){let en=new tk({unknownKeys:ee._def.unknownKeys,catchall:ee._def.catchall,shape:()=>({...this._def.shape(),...ee._def.shape()}),typeName:ey.ZodObject});return en}setKey(ee,en){return this.augment({[ee]:en})}catchall(ee){return new tk({...this._def,catchall:ee})}pick(ee){let en={};return ex.objectKeys(ee).forEach(er=>{ee[er]&&this.shape[er]&&(en[er]=this.shape[er])}),new tk({...this._def,shape:()=>en})}omit(ee){let en={};return ex.objectKeys(this.shape).forEach(er=>{ee[er]||(en[er]=this.shape[er])}),new tk({...this._def,shape:()=>en})}deepPartial(){return tw(this)}partial(ee){let en={};return ex.objectKeys(this.shape).forEach(er=>{let ei=this.shape[er];ee&&!ee[er]?en[er]=ei:en[er]=ei.optional()}),new tk({...this._def,shape:()=>en})}required(ee){let en={};return ex.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 tF;)ei=ei._def.innerType;en[er]=ei}}),new tk({...this._def,shape:()=>en})}keyof(){return tL(ex.objectKeys(this.shape))}}tk.create=(ee,en)=>new tk({shape:()=>ee,unknownKeys:"strip",catchall:ty.create(),typeName:ey.ZodObject,...e4(en)}),tk.strictCreate=(ee,en)=>new tk({shape:()=>ee,unknownKeys:"strict",catchall:ty.create(),typeName:ey.ZodObject,...e4(en)}),tk.lazycreate=(ee,en)=>new tk({shape:ee,unknownKeys:"strip",catchall:ty.create(),typeName:ey.ZodObject,...e4(en)});class tj extends e5{_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;
9for(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 eD(ee.ctx.common.issues));return eH(en,{code:eL.invalid_union,unionErrors:er}),eB}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 es of er){let er={...en,common:{...en.common,issues:[]},parent:null},eo=es._parseSync({data:en.data,path:en.path,parent:er});if("valid"===eo.status)return eo;"dirty"!==eo.status||ee||(ee={result:eo,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 es=ei.map(ee=>new eD(ee));return eH(en,{code:eL.invalid_union,unionErrors:es}),eB}}get options(){return this._def.options}}tj.create=(ee,en)=>new tj({options:ee,typeName:ey.ZodUnion,...e4(en)});let tE=ee=>{if(ee instanceof tP)return tE(ee.schema);if(ee instanceof t$)return tE(ee.innerType());if(ee instanceof tZ)return[ee.value];if(ee instanceof tM)return ee.options;if(ee instanceof tD)return Object.keys(ee.enum);if(ee instanceof tW)return tE(ee._def.innerType);if(ee instanceof tm)return[void 0];else if(ee instanceof tx)return[null];else return null};class tO extends e5{_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==eP.object)return eH(en,{code:eL.invalid_type,expected:eP.object,received:en.parsedType}),eB;let er=this.discriminator,ei=en.data[er],es=this.optionsMap.get(ei);return es?en.common.async?es._parseAsync({data:en.data,path:en.path,parent:en}):es._parseSync({data:en.data,path:en.path,parent:en}):(eH(en,{code:eL.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[er]}),eB)}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=tE(er.shape[ee]);if(!en)throw Error(`A discriminator value for key \`${ee}\` could not be extracted from all schema options`);for(let es of en){if(ei.has(es))throw Error(`Discriminator property ${String(ee)} has duplicate value ${String(es)}`);ei.set(es,er)}}return new tO({typeName:ey.ZodDiscriminatedUnion,discriminator:ee,options:en,optionsMap:ei,...e4(er)})}}function tT(ee,en){let er=eZ(ee),ei=eZ(en);if(ee===en)return{valid:!0,data:ee};if(er===eP.object&&ei===eP.object){let er=ex.objectKeys(en),ei=ex.objectKeys(ee).filter(ee=>-1!==er.indexOf(ee)),es={...ee,...en};for(let er of ei){let ei=tT(ee[er],en[er]);if(!ei.valid)return{valid:!1};es[er]=ei.data}return{valid:!0,data:es}}if(er===eP.array&&ei===eP.array){if(ee.length!==en.length)return{valid:!1};let er=[];for(let ei=0;ei<ee.length;ei++){let es=ee[ei],eo=en[ei],eu=tT(es,eo);if(!eu.valid)return{valid:!1};er.push(eu.data)}return{valid:!0,data:er}}return er===eP.date&&ei===eP.date&&+ee==+en?{valid:!0,data:ee}:{valid:!1}}class tC extends e5{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),ei=(ee,ei)=>{if(eQ(ee)||eQ(ei))return eB;let es=tT(ee.value,ei.value);return es.valid?((eJ(ee)||eJ(ei))&&en.dirty(),{status:en.value,value:es.data}):(eH(er,{code:eL.invalid_intersection_types}),eB)};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}))}}tC.create=(ee,en,er)=>new tC({left:ee,right:en,typeName:ey.ZodIntersection,...e4(er)});class tS extends e5{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eP.array)return eH(er,{code:eL.invalid_type,expected:eP.array,received:er.parsedType}),eB;if(er.data.length<this._def.items.length)return eH(er,{code:eL.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),eB;let ei=this._def.rest;!ei&&er.data.length>this._def.items.length&&(eH(er,{code:eL.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),en.dirty());let es=[...er.data].map((ee,en)=>{let ei=this._def.items[en]||this._def.rest;return ei?ei._parse(new e1(er,ee,er.path,en)):null}).filter(ee=>!!ee);return er.common.async?Promise.all(es).then(ee=>eG.mergeArray(en,ee)):eG.mergeArray(en,es)}get items(){return this._def.items}rest(ee){return new tS({...this._def,rest:ee})}}tS.create=(ee,en)=>{if(!Array.isArray(ee))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new tS({items:ee,typeName:ey.ZodTuple,rest:null,...e4(en)})};class tN extends e5{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!==eP.object)return eH(er,{code:eL.invalid_type,expected:eP.object,received:er.parsedType}),eB;let ei=[],es=this._def.keyType,eo=this._def.valueType;for(let ee in er.data)ei.push({key:es._parse(new e1(er,ee,er.path,ee)),value:eo._parse(new e1(er,er.data[ee],er.path,ee))});return er.common.async?eG.mergeObjectAsync(en,ei):eG.mergeObjectSync(en,ei)}
9get element(){return this._def.valueType}static create(ee,en,er){return new tN(en instanceof e5?{keyType:ee,valueType:en,typeName:ey.ZodRecord,...e4(er)}:{keyType:tl.create(),valueType:ee,typeName:ey.ZodRecord,...e4(en)})}}class tI extends e5{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eP.map)return eH(er,{code:eL.invalid_type,expected:eP.map,received:er.parsedType}),eB;let ei=this._def.keyType,es=this._def.valueType,eo=[...er.data.entries()].map(([ee,en],eo)=>({key:ei._parse(new e1(er,ee,er.path,[eo,"key"])),value:es._parse(new e1(er,en,er.path,[eo,"value"]))}));if(er.common.async){let ee=new Map;return Promise.resolve().then(async()=>{for(let er of eo){let ei=await er.key,es=await er.value;if("aborted"===ei.status||"aborted"===es.status)return eB;("dirty"===ei.status||"dirty"===es.status)&&en.dirty(),ee.set(ei.value,es.value)}return{status:en.value,value:ee}})}{let ee=new Map;for(let er of eo){let ei=er.key,es=er.value;if("aborted"===ei.status||"aborted"===es.status)return eB;("dirty"===ei.status||"dirty"===es.status)&&en.dirty(),ee.set(ei.value,es.value)}return{status:en.value,value:ee}}}}tI.create=(ee,en,er)=>new tI({valueType:en,keyType:ee,typeName:ey.ZodMap,...e4(er)});class tR extends e5{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==eP.set)return eH(er,{code:eL.invalid_type,expected:eP.set,received:er.parsedType}),eB;let ei=this._def;null!==ei.minSize&&er.data.size<ei.minSize.value&&(eH(er,{code:eL.too_small,minimum:ei.minSize.value,type:"set",inclusive:!0,exact:!1,message:ei.minSize.message}),en.dirty()),null!==ei.maxSize&&er.data.size>ei.maxSize.value&&(eH(er,{code:eL.too_big,maximum:ei.maxSize.value,type:"set",inclusive:!0,exact:!1,message:ei.maxSize.message}),en.dirty());let es=this._def.valueType;function eo(ee){let er=new Set;for(let ei of ee){if("aborted"===ei.status)return eB;"dirty"===ei.status&&en.dirty(),er.add(ei.value)}return{status:en.value,value:er}}let eu=[...er.data.values()].map((ee,en)=>es._parse(new e1(er,ee,er.path,en)));return er.common.async?Promise.all(eu).then(ee=>eo(ee)):eo(eu)}min(ee,en){return new tR({...this._def,minSize:{value:ee,message:ev.toString(en)}})}max(ee,en){return new tR({...this._def,maxSize:{value:ee,message:ev.toString(en)}})}size(ee,en){return this.min(ee,en).max(ee,en)}nonempty(ee){return this.min(1,ee)}}tR.create=(ee,en)=>new tR({valueType:ee,minSize:null,maxSize:null,typeName:ey.ZodSet,...e4(en)});class tA extends e5{constructor(){super(...arguments),this.validate=this.implement}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==eP.function)return eH(en,{code:eL.invalid_type,expected:eP.function,received:en.parsedType}),eB;function er(ee,er){return eW({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,eU(),ez].filter(ee=>!!ee),issueData:{code:eL.invalid_arguments,argumentsError:er}})}function ei(ee,er){return eW({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,eU(),ez].filter(ee=>!!ee),issueData:{code:eL.invalid_return_type,returnTypeError:er}})}let es={errorMap:en.common.contextualErrorMap},eo=en.data;return this._def.returns instanceof tz?eY(async(...ee)=>{let en=new eD([]),eu=await this._def.args.parseAsync(ee,es).catch(ei=>{throw en.addIssue(er(ee,ei)),en}),ec=await eo(...eu),ed=await this._def.returns._def.type.parseAsync(ec,es).catch(ee=>{throw en.addIssue(ei(ec,ee)),en});return ed}):eY((...ee)=>{let en=this._def.args.safeParse(ee,es);if(!en.success)throw new eD([er(ee,en.error)]);let eu=eo(...en.data),ec=this._def.returns.safeParse(eu,es);if(!ec.success)throw new eD([ei(eu,ec.error)]);return ec.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...ee){return new tA({...this._def,args:tS.create(ee).rest(tv.create())})}returns(ee){return new tA({...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 tA({args:ee||tS.create([]).rest(tv.create()),returns:en||tv.create(),typeName:ey.ZodFunction,...e4(er)})}}class tP extends e5{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})}}tP.create=(ee,en)=>new tP({getter:ee,typeName:ey.ZodLazy,...e4(en)});class tZ extends e5{_parse(ee){if(ee.data!==this._def.value){let en=this._getOrReturnCtx(ee);return eH(en,{received:en.data,code:eL.invalid_literal,expected:this._def.value}),eB}
9return{status:"valid",value:ee.data}}get value(){return this._def.value}}function tL(ee,en){return new tM({values:ee,typeName:ey.ZodEnum,...e4(en)})}tZ.create=(ee,en)=>new tZ({value:ee,typeName:ey.ZodLiteral,...e4(en)});class tM extends e5{_parse(ee){if("string"!=typeof ee.data){let en=this._getOrReturnCtx(ee),er=this._def.values;return eH(en,{expected:ex.joinValues(er),received:en.parsedType,code:eL.invalid_type}),eB}if(-1===this._def.values.indexOf(ee.data)){let en=this._getOrReturnCtx(ee),er=this._def.values;return eH(en,{received:en.data,code:eL.invalid_enum_value,options:er}),eB}return eY(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 tM.create(ee)}exclude(ee){return tM.create(this.options.filter(en=>!ee.includes(en)))}}tM.create=tL;class tD extends e5{_parse(ee){let en=ex.getValidEnumValues(this._def.values),er=this._getOrReturnCtx(ee);if(er.parsedType!==eP.string&&er.parsedType!==eP.number){let ee=ex.objectValues(en);return eH(er,{expected:ex.joinValues(ee),received:er.parsedType,code:eL.invalid_type}),eB}if(-1===en.indexOf(ee.data)){let ee=ex.objectValues(en);return eH(er,{received:er.data,code:eL.invalid_enum_value,options:ee}),eB}return eY(ee.data)}get enum(){return this._def.values}}tD.create=(ee,en)=>new tD({values:ee,typeName:ey.ZodNativeEnum,...e4(en)});class tz extends e5{unwrap(){return this._def.type}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==eP.promise&&!1===en.common.async)return eH(en,{code:eL.invalid_type,expected:eP.promise,received:en.parsedType}),eB;let er=en.parsedType===eP.promise?en.data:Promise.resolve(en.data);return eY(er.then(ee=>this._def.type.parseAsync(ee,{path:en.path,errorMap:en.common.contextualErrorMap})))}}tz.create=(ee,en)=>new tz({type:ee,typeName:ey.ZodPromise,...e4(en)});class t$ extends e5{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ey.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 es={addIssue:ee=>{eH(er,ee),ee.fatal?en.abort():en.dirty()},get path(){return er.path}};if(es.addIssue=es.addIssue.bind(es),"refinement"===ei.type){let ee=ee=>{let en=ei.refinement(ee,es);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?eB:("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?eB:("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=>eX(ee)?Promise.resolve(ei.transform(ee.value,es)).then(ee=>({status:en.value,value:ee})):ee);{let ee=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});if(!eX(ee))return ee;let eo=ei.transform(ee.value,es);if(eo instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:en.value,value:eo}}}ex.assertNever(ei)}}t$.create=(ee,en,er)=>new t$({schema:ee,typeName:ey.ZodEffects,effect:en,...e4(er)}),t$.createWithPreprocess=(ee,en,er)=>new t$({schema:en,effect:{type:"preprocess",transform:ee},typeName:ey.ZodEffects,...e4(er)});class tF extends e5{_parse(ee){let en=this._getType(ee);return en===eP.undefined?eY(void 0):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}tF.create=(ee,en)=>new tF({innerType:ee,typeName:ey.ZodOptional,...e4(en)});class tU extends e5{_parse(ee){let en=this._getType(ee);return en===eP.null?eY(null):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}tU.create=(ee,en)=>new tU({innerType:ee,typeName:ey.ZodNullable,...e4(en)});class tW extends e5{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return en.parsedType===eP.undefined&&(er=this._def.defaultValue()),this._def.innerType._parse({data:er,path:en.path,parent:en})}removeDefault(){return this._def.innerType}}tW.create=(ee,en)=>new tW({innerType:ee,typeName:ey.ZodDefault,defaultValue:"function"==typeof en.default?en.default:()=>en.default,...e4(en)});class tV extends e5{_parse(ee){let{ctx:en}
9=this._processInputParams(ee),er={...en,common:{...en.common,issues:[]}},ei=this._def.innerType._parse({data:er.data,path:er.path,parent:{...er}});return e0(ei)?ei.then(ee=>({status:"valid",value:"valid"===ee.status?ee.value:this._def.catchValue({get error(){return new eD(er.common.issues)},input:er.data})})):{status:"valid",value:"valid"===ei.status?ei.value:this._def.catchValue({get error(){return new eD(er.common.issues)},input:er.data})}}removeCatch(){return this._def.innerType}}tV.create=(ee,en)=>new tV({innerType:ee,typeName:ey.ZodCatch,catchValue:"function"==typeof en.catch?en.catch:()=>en.catch,...e4(en)});class tH extends e5{_parse(ee){let en=this._getType(ee);if(en!==eP.nan){let en=this._getOrReturnCtx(ee);return eH(en,{code:eL.invalid_type,expected:eP.nan,received:en.parsedType}),eB}return{status:"valid",value:ee.data}}}tH.create=ee=>new tH({typeName:ey.ZodNaN,...e4(ee)});let tG=Symbol("zod_brand");class tB extends e5{_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 tK extends e5{_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?eB:"dirty"===ee.status?(en.dirty(),eK(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?eB:"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 tK({in:ee,out:en,typeName:ey.ZodPipeline})}}let tq=(ee,en={},er)=>ee?tg.create().superRefine((ei,es)=>{var eo,eu;if(!ee(ei)){let ee="function"==typeof en?en(ei):"string"==typeof en?{message:en}:en,ec=null===(eu=null!==(eo=ee.fatal)&&void 0!==eo?eo:er)||void 0===eu||eu,ed="string"==typeof ee?{message:ee}:ee;es.addIssue({code:"custom",...ed,fatal:ec})}}):tg.create(),tY={object:tk.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"}(ey||(ey={}));let tQ=(ee,en={message:`Input not instance of ${ee.name}`})=>tq(en=>en instanceof ee,en),tJ=tl.create,tX=tc.create,t0=tH.create,t1=td.create,t2=tf.create,t4=tp.create,t5=th.create,t3=tm.create,t6=tx.create,t7=tg.create,t9=tv.create,t8=ty.create,ne=tb.create,nt=t_.create,nn=tk.create,nr=tk.strictCreate,ni=tj.create,ns=tO.create,no=tC.create,nl=tS.create,nu=tN.create,nc=tI.create,nd=tR.create,nf=tA.create,np=tP.create,nh=tZ.create,nm=tM.create,nx=tD.create,ng=tz.create,nv=t$.create,ny=tF.create,nb=tU.create,n_=t$.createWithPreprocess,nw=tK.create,nk=()=>tJ().optional(),nj=()=>tX().optional(),nE=()=>t2().optional(),nO={string:ee=>tl.create({...ee,coerce:!0}),number:ee=>tc.create({...ee,coerce:!0}),boolean:ee=>tf.create({...ee,coerce:!0}),bigint:ee=>td.create({...ee,coerce:!0}),date:ee=>tp.create({...ee,coerce:!0})},nT=eB;var nC=Object.freeze({__proto__:null,defaultErrorMap:ez,setErrorMap:eF,getErrorMap:eU,makeIssue:eW,EMPTY_PATH:eV,addIssueToContext:eH,ParseStatus:eG,INVALID:eB,DIRTY:eK,OK:eY,isAborted:eQ,isDirty:eJ,isValid:eX,isAsync:e0,get util(){return ex},get objectUtil(){return eg},ZodParsedType:eP,getParsedType:eZ,ZodType:e5,ZodString:tl,ZodNumber:tc,ZodBigInt:td,ZodBoolean:tf,ZodD
9ate:tp,ZodSymbol:th,ZodUndefined:tm,ZodNull:tx,ZodAny:tg,ZodUnknown:tv,ZodNever:ty,ZodVoid:tb,ZodArray:t_,ZodObject:tk,ZodUnion:tj,ZodDiscriminatedUnion:tO,ZodIntersection:tC,ZodTuple:tS,ZodRecord:tN,ZodMap:tI,ZodSet:tR,ZodFunction:tA,ZodLazy:tP,ZodLiteral:tZ,ZodEnum:tM,ZodNativeEnum:tD,ZodPromise:tz,ZodEffects:t$,ZodTransformer:t$,ZodOptional:tF,ZodNullable:tU,ZodDefault:tW,ZodCatch:tV,ZodNaN:tH,BRAND:tG,ZodBranded:tB,ZodPipeline:tK,custom:tq,Schema:e5,ZodSchema:e5,late:tY,get ZodFirstPartyTypeKind(){return ey},coerce:nO,any:t7,array:nt,bigint:t1,boolean:t2,date:t4,discriminatedUnion:ns,effect:nv,enum:nm,function:nf,instanceof:tQ,intersection:no,lazy:np,literal:nh,map:nc,nan:t0,nativeEnum:nx,never:t8,null:t6,nullable:nb,number:tX,object:nn,oboolean:nE,onumber:nj,optional:ny,ostring:nk,pipeline:nw,preprocess:n_,promise:ng,record:nu,set:nd,strictObject:nr,string:tJ,symbol:t5,transformer:nv,tuple:nl,undefined:t3,union:ni,unknown:t9,void:ne,NEVER:nT,ZodIssueCode:eL,quotelessJson:eM,ZodError:eD}),nS=er(1664),nN=er.n(nS);er(6337);var nI=er(5893);let nR=["light","dark"],nA="(prefers-color-scheme: dark)",nP="undefined"==typeof window,nZ=(0,eO.createContext)(void 0),nL={setTheme:ee=>{},themes:[]},nM=()=>{var ee;return null!==(ee=(0,eO.useContext)(nZ))&&void 0!==ee?ee:nL},nD=ee=>(0,eO.useContext)(nZ)?eO.createElement(eO.Fragment,null,ee.children):eO.createElement(n$,ee),nz=["light","dark"],n$=({forcedTheme:ee,disableTransitionOnChange:en=!1,enableSystem:er=!0,enableColorScheme:ei=!0,storageKey:es="theme",themes:eo=nz,defaultTheme:eu=er?"system":"light",attribute:ec="data-theme",value:ed,children:ef,nonce:ep})=>{let[eh,em]=(0,eO.useState)(()=>nU(es,eu)),[ex,eg]=(0,eO.useState)(()=>nU(es)),ev=ed?Object.values(ed):eo,ey=(0,eO.useCallback)(ee=>{let es=ee;if(!es)return;"system"===ee&&er&&(es=nV());let eo=ed?ed[es]:es,ef=en?nW():null,ep=document.documentElement;if("class"===ec?(ep.classList.remove(...ev),eo&&ep.classList.add(eo)):eo?ep.setAttribute(ec,eo):ep.removeAttribute(ec),ei){let ee=nR.includes(eu)?eu:null,en=nR.includes(es)?es:ee;ep.style.colorScheme=en}null==ef||ef()},[]),eb=(0,eO.useCallback)(ee=>{em(ee);try{localStorage.setItem(es,ee)}catch(ee){}},[ee]),e_=(0,eO.useCallback)(en=>{let ei=nV(en);eg(ei),"system"===eh&&er&&!ee&&ey("system")},[eh,ee]);(0,eO.useEffect)(()=>{let ee=window.matchMedia(nA);return ee.addListener(e_),e_(ee),()=>ee.removeListener(e_)},[e_]),(0,eO.useEffect)(()=>{let ee=ee=>{ee.key===es&&eb(ee.newValue||eu)};return window.addEventListener("storage",ee),()=>window.removeEventListener("storage",ee)},[eb]),(0,eO.useEffect)(()=>{ey(null!=ee?ee:eh)},[ee,eh]);let ew=(0,eO.useMemo)(()=>({theme:eh,setTheme:eb,forcedTheme:ee,resolvedTheme:"system"===eh?ex:eh,themes:er?[...eo,"system"]:eo,systemTheme:er?ex:void 0}),[eh,eb,ee,ex,er,eo]);return eO.createElement(nZ.Provider,{value:ew},eO.createElement(nF,{forcedTheme:ee,disableTransitionOnChange:en,enableSystem:er,enableColorScheme:ei,storageKey:es,themes:eo,defaultTheme:eu,attribute:ec,value:ed,children:ef,attrs:ev,nonce:ep}),ef)},nF=(0,eO.memo)(({forcedTheme:ee,storageKey:en,attribute:er,enableSystem:ei,enableColorScheme:es,defaultTheme:eo,value:eu,attrs:ec,nonce:ed})=>{let ef="system"===eo,ep="class"===er?`var d=document.documentElement,c=d.classList;c.remove(${ec.map(ee=>`'${ee}'`).join(",")});`:`var d=document.documentElement,n='${er}',s='setAttribute';`,eh=es?nR.includes(eo)&&eo?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${eo}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",em=(ee,en=!1,ei=!0)=>{let eo=eu?eu[ee]:ee,ec=en?ee+"|| ''":`'${eo}'`,ed="";return es&&ei&&!en&&nR.includes(ee)&&(ed+=`d.style.colorScheme = '${ee}';`),"class"===er?ed+=en||eo?`c.add(${ec})`:"null":eo&&(ed+=`d[s](n,${ec})`),ed},ex=ee?`!function(){${ep}${em(ee)}}()`:ei?`!function(){try{${ep}var e=localStorage.getItem('${en}');if('system'===e||(!e&&${ef})){var t='${nA}',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(eo,!1,!1)+"}"}${eh}}catch(e){}}()`:`!function(){try{${ep}var e=localStorage.getItem('${en}');if(e){${eu?`var x=${JSON.stringify(eu)};`:""}${em(eu?"x[e]":"e",!0)}}else{${em(eo,!1,!1)};}${eh}}catch(t){}}();`;return eO.createElement("script",{nonce:ed,dangerouslySetInnerHTML:{__html:ex}})},()=>!0),nU=(ee,en)=>{let er;if(!nP){try{er=localStorage.getItem(ee)||void 0}catch(ee){}return er||en}},nW=()=>{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)}},nV=ee=>
9(ee||(ee=window.matchMedia(nA)),ee.matches?"dark":"light");!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}(eb||(eb={})),function(ee){ee.mergeShapes=(ee,en)=>({...ee,...en})}(e_||(e_={}));let nH=eb.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),nG=ee=>{let en=typeof ee;switch(en){case"undefined":return nH.undefined;case"string":return nH.string;case"number":return isNaN(ee)?nH.nan:nH.number;case"boolean":return nH.boolean;case"function":return nH.function;case"bigint":return nH.bigint;case"symbol":return nH.symbol;case"object":if(Array.isArray(ee))return nH.array;if(null===ee)return nH.null;if(ee.then&&"function"==typeof ee.then&&ee.catch&&"function"==typeof ee.catch)return nH.promise;if("undefined"!=typeof Map&&ee instanceof Map)return nH.map;if("undefined"!=typeof Set&&ee instanceof Set)return nH.set;if("undefined"!=typeof Date&&ee instanceof Date)return nH.date;return nH.object;default:return nH.unknown}}
9,nB=eb.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"]),nK=ee=>{let en=JSON.stringify(ee,null,2);return en.replace(/"([^"]+)":/g,"$1:")};class nq 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 es of ee.issues)if("invalid_union"===es.code)es.unionErrors.map(ei);else if("invalid_return_type"===es.code)ei(es.returnTypeError);else if("invalid_arguments"===es.code)ei(es.argumentsError);else if(0===es.path.length)er._errors.push(en(es));else{let ee=er,ei=0;for(;ei<es.path.length;){let er=es.path[ei],eo=ei===es.path.length-1;eo?(ee[er]=ee[er]||{_errors:[]},ee[er]._errors.push(en(es))):ee[er]=ee[er]||{_errors:[]},ee=ee[er],ei++}}};return ei(this),er}toString(){return this.message}get message(){return JSON.stringify(this.issues,eb.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(ee=ee=>ee.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()}}nq.create=ee=>{let en=new nq(ee);return en};let nY=(ee,en)=>{let er;switch(ee.code){case nB.invalid_type:er=ee.received===nH.undefined?"Required":`Expected ${ee.expected}, received ${ee.received}`;break;case nB.invalid_literal:er=`Invalid literal value, expected ${JSON.stringify(ee.expected,eb.jsonStringifyReplacer)}`;break;case nB.unrecognized_keys:er=`Unrecognized key(s) in object: ${eb.joinValues(ee.keys,", ")}`;break;case nB.invalid_union:er="Invalid input";break;case nB.invalid_union_discriminator:er=`Invalid discriminator value. Expected ${eb.joinValues(ee.options)}`;break;case nB.invalid_enum_value:er=`Invalid enum value. Expected ${eb.joinValues(ee.options)}, received '${ee.received}'`;break;case nB.invalid_arguments:er="Invalid function arguments";break;case nB.invalid_return_type:er="Invalid function return type";break;case nB.invalid_date:er="Invalid date";break;case nB.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}"`:eb.assertNever(ee.validation):er="regex"!==ee.validation?`Invalid ${ee.validation}`:"Invalid";break;case nB.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 nB.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 nB.custom:er="Invalid input";break;case nB.invalid_intersection_types:er="Intersection results could not be merged";break;case nB.not_multiple_of:er=`Number must be a multiple of ${ee.multipleOf}`;break;case nB.not_finite:er="Number must be finite";break;default:er=en.defaultError,eb.assertNever(ee)}return{message:er}},nQ=nY;function nJ(ee){nQ=ee}function nX(){return nQ}let n0=ee=>{let{data:en,path:er,errorMaps:ei,issueData:es}=ee,eo=[...er,...es.path||[]],eu={...es,path:eo},ec="",ed=ei.filter(ee=>!!ee).slice().reverse();for(let ee of ed)ec=ee(eu,{data:en,defaultError:ec}).message;return{...es,path:eo,message:es.message||ec}},n1=[];function n2(ee,en){let er=n0({issueData:en,data:ee.data,path:ee.path,errorMaps:[ee.common.contextualErrorMap,ee.schemaErrorMap,nX(),nY].filter(ee=>!!ee)});ee.common.issues.push(er)}class n4{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 n5;"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 n4.mergeObjectSync(ee,er)}static mergeObjectSync(ee,en){let er={};for(let ei of en){let{key:en,value:es}=ei;if("aborted"===en.status||"aborted"===es.status)return n5;"dirty"===en.status&&ee.dirty(),"dirty"===es.status&&ee.dirty(),"__proto__"!==en.value&&(void 0!==es.value||ei.alwaysSet)&&(er[en.value]=e
9s.value)}return{status:ee.value,value:er}}}let n5=Object.freeze({status:"aborted"}),n3=ee=>({status:"dirty",value:ee}),n6=ee=>({status:"valid",value:ee}),n7=ee=>"aborted"===ee.status,n9=ee=>"dirty"===ee.status,n8=ee=>"valid"===ee.status,rn=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}(ew||(ew={}));class rr{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 ri=(ee,en)=>{if(n8(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 nq(ee.common.issues);return this._error=en,this._error}}};function rs(ee){if(!ee)return{};let{errorMap:en,invalid_type_error:er,required_error:ei,description:es}=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:es};let eo=(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:eo,description:es}}class ro{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.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(ee){return nG(ee.data)}_getOrReturnCtx(ee,en){return en||{common:ee.parent.common,data:ee.data,parsedType:nG(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}_processInputParams(ee){return{status:new n4,ctx:{common:ee.parent.common,data:ee.data,parsedType:nG(ee.data),schemaErrorMap:this._def.errorMap,path:ee.path,parent:ee.parent}}}_parseSync(ee){let en=this._parse(ee);if(rn(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:nG(ee)},es=this._parseSync({data:ee,path:ei.path,parent:ei});return ri(ei,es)}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:nG(ee)},ei=this._parse({data:ee,path:er.path,parent:er}),es=await (rn(ei)?ei:Promise.resolve(ei));return ri(er,es)}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 es=ee(en),eo=()=>ei.addIssue({code:nB.custom,...er(en)});return"undefined"!=typeof Promise&&es instanceof Promise?es.then(ee=>!!ee||(eo(),!1)):!!es||(eo(),!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 rY({schema:this,typeName:ek.ZodEffects,effect:{type:"refinement",refinement:ee}})}superRefine(ee){return this._refinement(ee)}optional(){return rQ.create(this,this._def)}nullable(){return rJ.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return rI.create(this,this._def)}promise(){return rq.create(this,this._def)}or(ee){return rP.create([this,ee],this._def)}and(ee){return rD.create(this,ee,this._def)}transform(ee){return new rY({...rs(this._def),schema:this,typeName:ek.ZodEffects,effect:{type:"transform",transform:ee}})}default(ee){let en="function"==typeof ee?ee:()=>ee;return new rX({...rs(this._def),innerType:this,defaultValue:en,typeName:ek.ZodDefault})}brand(){return new r4({typeName:ek.ZodBranded,type:this,...rs(this._def)})}catch(ee){let en="function"==typeof ee?ee:()=>ee;return new r0({...rs(this._def),innerType:this,catchValue:en,typeName:ek.ZodCatch})}describe(ee){let en=this.constructor;return new en({...this._def,description:ee})}pipe(ee){return r5.create(this,ee)}readonly(){return r3.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let rl=/^c[^\s-]{8,}$/i,ru=/^[a-z][a-z0-9]*$/,rc=/[0-9A-HJKMNP-TV-Z]{26}/,rd=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,rf=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,rp=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,rh=/^(((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}))$/,rm=/^(([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})))$/,rx=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 rg(ee,en){return!!(("v4"===en||!en)&&rh.test(ee)||("v6"===en||!en)&&rm.test(ee))}class rv extends ro{constructor(){super(...arguments),this._regex=(ee,en,er)=>
9this.refinement(en=>ee.test(en),{validation:en,code:nB.invalid_string,...ew.errToObj(er)}),this.nonempty=ee=>this.min(1,ew.errToObj(ee)),this.trim=()=>new rv({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new rv({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new rv({...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!==nH.string){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.string,received:en.parsedType}),n5}let ei=new n4;for(let er of this._def.checks)if("min"===er.kind)ee.data.length<er.value&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_small,minimum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("max"===er.kind)ee.data.length>er.value&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!1,message:er.message}),ei.dirty());else if("length"===er.kind){let es=ee.data.length>er.value,eo=ee.data.length<er.value;(es||eo)&&(en=this._getOrReturnCtx(ee,en),es?n2(en,{code:nB.too_big,maximum:er.value,type:"string",inclusive:!0,exact:!0,message:er.message}):eo&&n2(en,{code:nB.too_small,minimum:er.value,type:"string",inclusive:!0,exact:!0,message:er.message}),ei.dirty())}else if("email"===er.kind)rf.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"email",code:nB.invalid_string,message:er.message}),ei.dirty());else if("emoji"===er.kind)rp.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"emoji",code:nB.invalid_string,message:er.message}),ei.dirty());else if("uuid"===er.kind)rd.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"uuid",code:nB.invalid_string,message:er.message}),ei.dirty());else if("cuid"===er.kind)rl.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"cuid",code:nB.invalid_string,message:er.message}),ei.dirty());else if("cuid2"===er.kind)ru.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"cuid2",code:nB.invalid_string,message:er.message}),ei.dirty());else if("ulid"===er.kind)rc.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"ulid",code:nB.invalid_string,message:er.message}),ei.dirty());else if("url"===er.kind)try{new URL(ee.data)}catch(es){n2(en=this._getOrReturnCtx(ee,en),{validation:"url",code:nB.invalid_string,message:er.message}),ei.dirty()}else if("regex"===er.kind){er.regex.lastIndex=0;let es=er.regex.test(ee.data);es||(n2(en=this._getOrReturnCtx(ee,en),{validation:"regex",code:nB.invalid_string,message:er.message}),ei.dirty())}else if("trim"===er.kind)ee.data=ee.data.trim();else if("includes"===er.kind)ee.data.includes(er.value,er.position)||(n2(en=this._getOrReturnCtx(ee,en),{code:nB.invalid_string,validation:{includes:er.value,position:er.position},message:er.message}),ei.dirty());else if("toLowerCase"===er.kind)ee.data=ee.data.toLowerCase();else if("toUpperCase"===er.kind)ee.data=ee.data.toUpperCase();else if("startsWith"===er.kind)ee.data.startsWith(er.value)||(n2(en=this._getOrReturnCtx(ee,en),{code:nB.invalid_string,validation:{startsWith:er.value},message:er.message}),ei.dirty());else if("endsWith"===er.kind)ee.data.endsWith(er.value)||(n2(en=this._getOrReturnCtx(ee,en),{code:nB.invalid_string,validation:{endsWith:er.value},message:er.message}),ei.dirty());else if("datetime"===er.kind){let es=rx(er);es.test(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{code:nB.invalid_string,validation:"datetime",message:er.message}),ei.dirty())}else"ip"===er.kind?rg(ee.data,er.version)||(n2(en=this._getOrReturnCtx(ee,en),{validation:"ip",code:nB.invalid_string,message:er.message}),ei.dirty()):eb.assertNever(er);return{status:ei.value,value:ee.data}}_addCheck(ee){return new rv({...this._def,checks:[...this._def.checks,ee]})}email(ee){return this._addCheck({kind:"email",...ew.errToObj(ee)})}url(ee){return this._addCheck({kind:"url",...ew.errToObj(ee)})}emoji(ee){return this._addCheck({kind:"emoji",...ew.errToObj(ee)})}uuid(ee){return this._addCheck({kind:"uuid",...ew.errToObj(ee)})}cuid(ee){return this._addCheck({kind:"cuid",...ew.errToObj(ee)})}cuid2(ee){return this._addCheck({kind:"cuid2",...ew.errToObj(ee)})}ulid(ee){return this._addCheck({kind:"ulid",...ew.errToObj(ee)})}ip(ee){return this._addCheck({kind:"ip",...ew.errToObj(ee)})}datetime(ee){var en;return"string"==typeof ee?this._addCheck({kind:"datetime",precision:null,offset:!1,message:ee}):this._addCheck({kind:"datetime",precision:void 0===(null==ee?void 0:ee.precision)?null:null==ee?void 0:ee.precision,offset:null!==(en=null==ee?void 0:ee.offset)&&void 0!==en&&en,...ew.errToObj(null==ee?void 0:ee.message)})}regex(ee,en){return this._addCheck({kind:"regex",regex:ee,...ew.errToObj(en)})}includes(ee,en){return this._addCheck({kind:"includes",value:ee,position:null==en?void 0:en.position,...ew.errToObj(null==en?void 0:en.message)})}startsWith(ee,en){return this._addCheck({kind:"startsWith",value:ee,...ew.errToObj(en)})}endsWith(ee,en){return this._addCheck({kind:"endsWith",value:ee,...ew.errToObj(en)})}min(ee,en){return this._addCheck({kind:"min",value:ee,...ew.errToObj(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee,...ew.errToObj(en)})}length(ee,en){return this._addCheck({kind:"length",value:ee,...ew.errToObj(en)})}get isDatetime(){return!!this._def.checks.find(ee=>"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)}
9get 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.value<ee)&&(ee=en.value);return ee}}function ry(ee,en){let er=(ee.toString().split(".")[1]||"").length,ei=(en.toString().split(".")[1]||"").length,es=er>ei?er:ei,eo=parseInt(ee.toFixed(es).replace(".","")),eu=parseInt(en.toFixed(es).replace(".",""));return eo%eu/Math.pow(10,es)}rv.create=ee=>{var en;return new rv({checks:[],typeName:ek.ZodString,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...rs(ee)})};class rb extends ro{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!==nH.number){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.number,received:en.parsedType}),n5}let ei=new n4;for(let er of this._def.checks)if("int"===er.kind)eb.isInteger(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{code:nB.invalid_type,expected:"integer",received:"float",message:er.message}),ei.dirty());else if("min"===er.kind){let es=er.inclusive?ee.data<er.value:ee.data<=er.value;es&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_small,minimum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),ei.dirty())}else if("max"===er.kind){let es=er.inclusive?ee.data>er.value:ee.data>=er.value;es&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_big,maximum:er.value,type:"number",inclusive:er.inclusive,exact:!1,message:er.message}),ei.dirty())}else"multipleOf"===er.kind?0!==ry(ee.data,er.value)&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):"finite"===er.kind?Number.isFinite(ee.data)||(n2(en=this._getOrReturnCtx(ee,en),{code:nB.not_finite,message:er.message}),ei.dirty()):eb.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,ew.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,ew.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,ew.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,ew.toString(en))}setLimit(ee,en,er,ei){return new rb({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:ew.toString(ei)}]})}_addCheck(ee){return new rb({...this._def,checks:[...this._def.checks,ee]})}int(ee){return this._addCheck({kind:"int",message:ew.toString(ee)})}positive(ee){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ew.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ew.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ew.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ew.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:ew.toString(en)})}finite(ee){return this._addCheck({kind:"finite",message:ew.toString(ee)})}safe(ee){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ew.toString(ee)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ew.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<ee)&&(ee=en.value);return ee}get isInt(){return!!this._def.checks.find(ee=>"int"===ee.kind||"multipleOf"===ee.kind&&eb.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>
9en)&&(en=er.value):"max"===er.kind&&(null===ee||er.value<ee)&&(ee=er.value)}return Number.isFinite(en)&&Number.isFinite(ee)}}rb.create=ee=>new rb({checks:[],typeName:ek.ZodNumber,coerce:(null==ee?void 0:ee.coerce)||!1,...rs(ee)});class r_ extends ro{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!==nH.bigint){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.bigint,received:en.parsedType}),n5}let ei=new n4;for(let er of this._def.checks)if("min"===er.kind){let es=er.inclusive?ee.data<er.value:ee.data<=er.value;es&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_small,type:"bigint",minimum:er.value,inclusive:er.inclusive,message:er.message}),ei.dirty())}else if("max"===er.kind){let es=er.inclusive?ee.data>er.value:ee.data>=er.value;es&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.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)&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.not_multiple_of,multipleOf:er.value,message:er.message}),ei.dirty()):eb.assertNever(er);return{status:ei.value,value:ee.data}}gte(ee,en){return this.setLimit("min",ee,!0,ew.toString(en))}gt(ee,en){return this.setLimit("min",ee,!1,ew.toString(en))}lte(ee,en){return this.setLimit("max",ee,!0,ew.toString(en))}lt(ee,en){return this.setLimit("max",ee,!1,ew.toString(en))}setLimit(ee,en,er,ei){return new r_({...this._def,checks:[...this._def.checks,{kind:ee,value:en,inclusive:er,message:ew.toString(ei)}]})}_addCheck(ee){return new r_({...this._def,checks:[...this._def.checks,ee]})}positive(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ew.toString(ee)})}negative(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ew.toString(ee)})}nonpositive(ee){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ew.toString(ee)})}nonnegative(ee){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ew.toString(ee)})}multipleOf(ee,en){return this._addCheck({kind:"multipleOf",value:ee,message:ew.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<ee)&&(ee=en.value);return ee}}r_.create=ee=>{var en;return new r_({checks:[],typeName:ek.ZodBigInt,coerce:null!==(en=null==ee?void 0:ee.coerce)&&void 0!==en&&en,...rs(ee)})};class rw extends ro{_parse(ee){this._def.coerce&&(ee.data=!!ee.data);let en=this._getType(ee);if(en!==nH.boolean){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.boolean,received:en.parsedType}),n5}return n6(ee.data)}}rw.create=ee=>new rw({typeName:ek.ZodBoolean,coerce:(null==ee?void 0:ee.coerce)||!1,...rs(ee)});class rk extends ro{_parse(ee){let en;this._def.coerce&&(ee.data=new Date(ee.data));let er=this._getType(ee);if(er!==nH.date){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.date,received:en.parsedType}),n5}if(isNaN(ee.data.getTime())){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_date}),n5}let ei=new n4;for(let er of this._def.checks)"min"===er.kind?ee.data.getTime()<er.value&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_small,message:er.message,inclusive:!0,exact:!1,minimum:er.value,type:"date"}),ei.dirty()):"max"===er.kind?ee.data.getTime()>er.value&&(n2(en=this._getOrReturnCtx(ee,en),{code:nB.too_big,message:er.message,inclusive:!0,exact:!1,maximum:er.value,type:"date"}),ei.dirty()):eb.assertNever(er);return{status:ei.value,value:new Date(ee.data.getTime())}}_addCheck(ee){return new rk({...this._def,checks:[...this._def.checks,ee]})}min(ee,en){return this._addCheck({kind:"min",value:ee.getTime(),message:ew.toString(en)})}max(ee,en){return this._addCheck({kind:"max",value:ee.getTime(),message:ew.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.value<ee)&&(ee=en.value);return null!=ee?new Date(ee):null}}rk.create=ee=>new rk({checks:[],coerce:(null==ee?void 0:ee.coerce)||!1,typeName:ek.ZodDate,...rs(ee)});class rj extends ro{_parse(ee){let en=this._getType(ee);if(en!==nH.symbol){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.symbol,received:en.parsedType}),n5}return n6(ee.data)}}rj.create=ee=>new rj({typeName:ek.ZodSymbol,...rs(ee)});class rE extends ro{_parse(ee){let en=this._getType(ee);if(en!==nH.undefined){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.undefined,received:en.parsedType}),n5}return n6(ee.data)}}rE.create=ee=>new rE({typeName:ek.ZodUndefined,...rs(ee)});class rO extends ro{_parse(ee){let en=this._getType(ee);if(en!==nH.null){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.null,received:en.parsedType}),n5}return n6(ee.data)}}rO.create=ee=>new rO({typeName:ek.ZodNull,...rs(ee)});class rT extends ro{constructor(){super(...arguments),this._any=!0}_parse(ee){return n6(ee.data)}}rT.create=ee=>new rT({typeName:ek.ZodAny,...rs(ee)});class rC extends ro{constructor(){super(...arguments),this._unknown=!0}_parse(ee){return n6(ee.data)}}rC.create=ee=>new rC({typeName:ek.ZodUnknown,...rs(ee)});class rS extends ro{_parse(ee){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.never,received:en.parsedType}),n5}}rS.create=ee=>new rS({typeName:ek.ZodNever,...rs(ee)});class rN extends ro{_parse(ee){let en=this._getType(ee);if(en!==nH.undefined){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.void,received:en.parsedType}),n5}return n6(ee.data)}}rN.create=ee=>new rN({typeName:ek.ZodVoid,...rs(ee)});class rI extends ro{_parse(ee){let{ctx:en,status:er}=this._processInputParams(ee),ei=this._def;if(en.parsedType!==nH.array)return n2(en,{code:nB.invalid_type,expected:nH.array,received:en.parsedType}),n5;if(null!==ei.exactLength){let ee=en.data.length>ei.exactLength.value,es=en.data.length<ei.exactLength.value;(ee||es)&&(n2(en,{code:ee?nB.too_big:nB.too_small,minimum:es?ei.exactLength.value:void 0,maximum:ee?ei.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:ei.exactLength.message}),er.dirty())}if(null!==ei.minLength&&en.data.length<ei.minLength.value&&(n2(en,{code:nB.too_small,minimum:ei.minLength.value,type:"array",inclusive:!0,exact:!1,message:ei.minLength.message}),er.dirty()),null!==ei.maxLength&&en.data.length>ei.maxLength.value&&(n2(en,{code:nB.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 rr(en,ee,en.path,er)))).then(ee=>n4.mergeArray(er,ee));let es=[...en.data].map((ee,er)=>ei.type._parseSync(new rr(en,ee,en.path,er)));return n4.mergeArray(er,es)}
9get element(){return this._def.type}min(ee,en){return new rI({...this._def,minLength:{value:ee,message:ew.toString(en)}})}max(ee,en){return new rI({...this._def,maxLength:{value:ee,message:ew.toString(en)}})}length(ee,en){return new rI({...this._def,exactLength:{value:ee,message:ew.toString(en)}})}nonempty(ee){return this.min(1,ee)}}function rR(ee){if(ee instanceof rA){let en={};for(let er in ee.shape){let ei=ee.shape[er];en[er]=rQ.create(rR(ei))}return new rA({...ee._def,shape:()=>en})}return ee instanceof rI?new rI({...ee._def,type:rR(ee.element)}):ee instanceof rQ?rQ.create(rR(ee.unwrap())):ee instanceof rJ?rJ.create(rR(ee.unwrap())):ee instanceof rz?rz.create(ee.items.map(ee=>rR(ee))):ee}rI.create=(ee,en)=>new rI({type:ee,minLength:null,maxLength:null,exactLength:null,typeName:ek.ZodArray,...rs(en)});class rA extends ro{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=eb.objectKeys(ee);return this._cached={shape:ee,keys:en}}_parse(ee){let en=this._getType(ee);if(en!==nH.object){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.object,received:en.parsedType}),n5}let{status:er,ctx:ei}=this._processInputParams(ee),{shape:es,keys:eo}=this._getCached(),eu=[];if(!(this._def.catchall instanceof rS&&"strip"===this._def.unknownKeys))for(let ee in ei.data)eo.includes(ee)||eu.push(ee);let ec=[];for(let ee of eo){let en=es[ee],er=ei.data[ee];ec.push({key:{status:"valid",value:ee},value:en._parse(new rr(ei,er,ei.path,ee)),alwaysSet:ee in ei.data})}if(this._def.catchall instanceof rS){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&&(n2(ei,{code:nB.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 rr(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=>n4.mergeObjectSync(er,ee)):n4.mergeObjectSync(er,ec)}get shape(){return this._def.shape()}strict(ee){return ew.errToObj,new rA({...this._def,unknownKeys:"strict",...void 0!==ee?{errorMap:(en,er)=>{var ei,es,eo,eu;let ec=null!==(eo=null===(es=(ei=this._def).errorMap)||void 0===es?void 0:es.call(ei,en,er).message)&&void 0!==eo?eo:er.defaultError;return"unrecognized_keys"===en.code?{message:null!==(eu=ew.errToObj(ee).message)&&void 0!==eu?eu:ec}:{message:ec}}}:{}})}strip(){return new rA({...this._def,unknownKeys:"strip"})}passthrough(){return new rA({...this._def,unknownKeys:"passthrough"})}extend(ee){return new rA({...this._def,shape:()=>({...this._def.shape(),...ee})})}merge(ee){let en=new rA({unknownKeys:ee._def.unknownKeys,catchall:ee._def.catchall,shape:()=>({...this._def.shape(),...ee._def.shape()}),typeName:ek.ZodObject});return en}setKey(ee,en){return this.augment({[ee]:en})}catchall(ee){return new rA({...this._def,catchall:ee})}pick(ee){let en={};return eb.objectKeys(ee).forEach(er=>{ee[er]&&this.shape[er]&&(en[er]=this.shape[er])}),new rA({...this._def,shape:()=>en})}omit(ee){let en={};return eb.objectKeys(this.shape).forEach(er=>{ee[er]||(en[er]=this.shape[er])}),new rA({...this._def,shape:()=>en})}deepPartial(){return rR(this)}partial(ee){let en={};return eb.objectKeys(this.shape).forEach(er=>{let ei=this.shape[er];ee&&!ee[er]?en[er]=ei:en[er]=ei.optional()}),new rA({...this._def,shape:()=>en})}required(ee){let en={};return eb.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 rQ;)ei=ei._def.innerType;en[er]=ei}}),new rA({...this._def,shape:()=>en})}keyof(){return rG(eb.objectKeys(this.shape))}}rA.create=(ee,en)=>new rA({shape:()=>ee,unknownKeys:"strip",catchall:rS.create(),typeName:ek.ZodObject,...rs(e
vendor: 1,339 bytes, line 9
9n)}),rA.strictCreate=(ee,en)=>new rA({shape:()=>ee,unknownKeys:"strict",catchall:rS.create(),typeName:ek.ZodObject,...rs(en)}),rA.lazycreate=(ee,en)=>new rA({shape:ee,unknownKeys:"strip",catchall:rS.create(),typeName:ek.ZodObject,...rs(en)});class rP extends ro{_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 nq(ee.ctx.common.issues));return n2(en,{code:nB.invalid_union,unionErrors:er}),n5}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 es of er){let er={...en,common:{...en.common,issues:[]},parent:null},eo=es._parseSync({data:en.data,path:en.path,parent:er});if("valid"===eo.status)return eo;"dirty"!==eo.status||ee||(ee={result:eo,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 es=ei.map(ee=>new nq(ee));return n2(en,{code:nB.invalid_union,unionErrors:es}),n5}}get options(){return this._def.options}}rP.create=(ee,en)=>
9new rP({options:ee,typeName:ek.ZodUnion,...rs(en)});let rZ=ee=>{if(ee instanceof rV)return rZ(ee.schema);if(ee instanceof rY)return rZ(ee.innerType());if(ee instanceof rH)return[ee.value];if(ee instanceof rB)return ee.options;if(ee instanceof rK)return Object.keys(ee.enum);if(ee instanceof rX)return rZ(ee._def.innerType);if(ee instanceof rE)return[void 0];else if(ee instanceof rO)return[null];else return null};class rL extends ro{_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==nH.object)return n2(en,{code:nB.invalid_type,expected:nH.object,received:en.parsedType}),n5;let er=this.discriminator,ei=en.data[er],es=this.optionsMap.get(ei);return es?en.common.async?es._parseAsync({data:en.data,path:en.path,parent:en}):es._parseSync({data:en.data,path:en.path,parent:en}):(n2(en,{code:nB.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[er]}),n5)}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=rZ(er.shape[ee]);if(!en)throw Error(`A discriminator value for key \`${ee}\` could not be extracted from all schema options`);for(let es of en){if(ei.has(es))throw Error(`Discriminator property ${String(ee)} has duplicate value ${String(es)}`);ei.set(es,er)}}return new rL({typeName:ek.ZodDiscriminatedUnion,discriminator:ee,options:en,optionsMap:ei,...rs(er)})}}function rM(ee,en){let er=nG(ee),ei=nG(en);if(ee===en)return{valid:!0,data:ee};if(er===nH.object&&ei===nH.object){let er=eb.objectKeys(en),ei=eb.objectKeys(ee).filter(ee=>-1!==er.indexOf(ee)),es={...ee,...en};for(let er of ei){let ei=rM(ee[er],en[er]);if(!ei.valid)return{valid:!1};es[er]=ei.data}return{valid:!0,data:es}}if(er===nH.array&&ei===nH.array){if(ee.length!==en.length)return{valid:!1};let er=[];for(let ei=0;ei<ee.length;ei++){let es=ee[ei],eo=en[ei],eu=rM(es,eo);if(!eu.valid)return{valid:!1};er.push(eu.data)}return{valid:!0,data:er}}return er===nH.date&&ei===nH.date&&+ee==+en?{valid:!0,data:ee}:{valid:!1}}class rD extends ro{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),ei=(ee,ei)=>{if(n7(ee)||n7(ei))return n5;let es=rM(ee.value,ei.value);return es.valid?((n9(ee)||n9(ei))&&en.dirty(),{status:en.value,value:es.data}):(n2(er,{code:nB.invalid_intersection_types}),n5)};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}))}}rD.create=(ee,en,er)=>new rD({left:ee,right:en,typeName:ek.ZodIntersection,...rs(er)});class rz extends ro{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==nH.array)return n2(er,{code:nB.invalid_type,expected:nH.array,received:er.parsedType}),n5;if(er.data.length<this._def.items.length)return n2(er,{code:nB.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n5;let ei=this._def.rest;!ei&&er.data.length>this._def.items.length&&(n2(er,{code:nB.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),en.dirty());let es=[...er.data].map((ee,en)=>{let ei=this._def.items[en]||this._def.rest;return ei?ei._parse(new rr(er,ee,er.path,en)):null}).filter(ee=>!!ee);return er.common.async?Promise.all(es).then(ee=>n4.mergeArray(en,ee)):n4.mergeArray(en,es)}get items(){return this._def.items}rest(ee){return new rz({...this._def,rest:ee})}}rz.create=(ee,en)=>{if(!Array.isArray(ee))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new rz({items:ee,typeName:ek.ZodTuple,rest:null,...rs(en)})};class r$ extends ro{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!==nH.object)return n2(er,{code:nB.invalid_type,expected:nH.object,received:er.parsedType}),n5;let ei=[],es=this._def.keyType,eo=this._def.valueType;for(let ee in er.data)ei.push({key:es._parse(new rr(er,ee,er.path,ee)),value:eo._parse(new rr(er,er.data[ee],er.path,ee))});return er.common.async?n4.mergeObjectAsync(en,ei):n4.mergeObjectSync(en,ei)}
9get element(){return this._def.valueType}static create(ee,en,er){return new r$(en instanceof ro?{keyType:ee,valueType:en,typeName:ek.ZodRecord,...rs(er)}:{keyType:rv.create(),valueType:ee,typeName:ek.ZodRecord,...rs(en)})}}class rF extends ro{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!==nH.map)return n2(er,{code:nB.invalid_type,expected:nH.map,received:er.parsedType}),n5;let ei=this._def.keyType,es=this._def.valueType,eo=[...er.data.entries()].map(([ee,en],eo)=>({key:ei._parse(new rr(er,ee,er.path,[eo,"key"])),value:es._parse(new rr(er,en,er.path,[eo,"value"]))}));if(er.common.async){let ee=new Map;return Promise.resolve().then(async()=>{for(let er of eo){let ei=await er.key,es=await er.value;if("aborted"===ei.status||"aborted"===es.status)return n5;("dirty"===ei.status||"dirty"===es.status)&&en.dirty(),ee.set(ei.value,es.value)}return{status:en.value,value:ee}})}{let ee=new Map;for(let er of eo){let ei=er.key,es=er.value;if("aborted"===ei.status||"aborted"===es.status)return n5;("dirty"===ei.status||"dirty"===es.status)&&en.dirty(),ee.set(ei.value,es.value)}return{status:en.value,value:ee}}}}rF.create=(ee,en,er)=>new rF({valueType:en,keyType:ee,typeName:ek.ZodMap,...rs(er)});class rU extends ro{_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee);if(er.parsedType!==nH.set)return n2(er,{code:nB.invalid_type,expected:nH.set,received:er.parsedType}),n5;let ei=this._def;null!==ei.minSize&&er.data.size<ei.minSize.value&&(n2(er,{code:nB.too_small,minimum:ei.minSize.value,type:"set",inclusive:!0,exact:!1,message:ei.minSize.message}),en.dirty()),null!==ei.maxSize&&er.data.size>ei.maxSize.value&&(n2(er,{code:nB.too_big,maximum:ei.maxSize.value,type:"set",inclusive:!0,exact:!1,message:ei.maxSize.message}),en.dirty());let es=this._def.valueType;function eo(ee){let er=new Set;for(let ei of ee){if("aborted"===ei.status)return n5;"dirty"===ei.status&&en.dirty(),er.add(ei.value)}return{status:en.value,value:er}}let eu=[...er.data.values()].map((ee,en)=>es._parse(new rr(er,ee,er.path,en)));return er.common.async?Promise.all(eu).then(ee=>eo(ee)):eo(eu)}min(ee,en){return new rU({...this._def,minSize:{value:ee,message:ew.toString(en)}})}max(ee,en){return new rU({...this._def,maxSize:{value:ee,message:ew.toString(en)}})}size(ee,en){return this.min(ee,en).max(ee,en)}nonempty(ee){return this.min(1,ee)}}rU.create=(ee,en)=>new rU({valueType:ee,minSize:null,maxSize:null,typeName:ek.ZodSet,...rs(en)});class rW extends ro{constructor(){super(...arguments),this.validate=this.implement}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==nH.function)return n2(en,{code:nB.invalid_type,expected:nH.function,received:en.parsedType}),n5;function er(ee,er){return n0({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,nX(),nY].filter(ee=>!!ee),issueData:{code:nB.invalid_arguments,argumentsError:er}})}function ei(ee,er){return n0({data:ee,path:en.path,errorMaps:[en.common.contextualErrorMap,en.schemaErrorMap,nX(),nY].filter(ee=>!!ee),issueData:{code:nB.invalid_return_type,returnTypeError:er}})}let es={errorMap:en.common.contextualErrorMap},eo=en.data;if(this._def.returns instanceof rq){let ee=this;return n6(async function(...en){let eu=new nq([]),ec=await ee._def.args.parseAsync(en,es).catch(ee=>{throw eu.addIssue(er(en,ee)),eu}),ed=await Reflect.apply(eo,this,ec),ef=await ee._def.returns._def.type.parseAsync(ed,es).catch(ee=>{throw eu.addIssue(ei(ed,ee)),eu});return ef})}{let ee=this;return n6(function(...en){let eu=ee._def.args.safeParse(en,es);if(!eu.success)throw new nq([er(en,eu.error)]);let ec=Reflect.apply(eo,this,eu.data),ed=ee._def.returns.safeParse(ec,es);if(!ed.success)throw new nq([ei(ec,ed.error)]);return ed.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...ee){return new rW({...this._def,args:rz.create(ee).rest(rC.create())})}returns(ee){return new rW({...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 rW({args:ee||rz.create([]).rest(rC.create()),returns:en||rC.create(),typeName:ek.ZodFunction,...rs(er)})}}class rV extends ro{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})}}rV.create=(ee,en)=>new rV({getter:ee,typeName:ek.ZodLazy,...rs(en)});class rH extends ro{_parse(ee){if(ee.data!==this._def.value){let en=this._getOrReturnCtx(ee);return n2(en,{received:en.data,code:nB.invalid_literal,expected:this._def.value}),n5}
9return{status:"valid",value:ee.data}}get value(){return this._def.value}}function rG(ee,en){return new rB({values:ee,typeName:ek.ZodEnum,...rs(en)})}rH.create=(ee,en)=>new rH({value:ee,typeName:ek.ZodLiteral,...rs(en)});class rB extends ro{_parse(ee){if("string"!=typeof ee.data){let en=this._getOrReturnCtx(ee),er=this._def.values;return n2(en,{expected:eb.joinValues(er),received:en.parsedType,code:nB.invalid_type}),n5}if(-1===this._def.values.indexOf(ee.data)){let en=this._getOrReturnCtx(ee),er=this._def.values;return n2(en,{received:en.data,code:nB.invalid_enum_value,options:er}),n5}return n6(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 rB.create(ee)}exclude(ee){return rB.create(this.options.filter(en=>!ee.includes(en)))}}rB.create=rG;class rK extends ro{_parse(ee){let en=eb.getValidEnumValues(this._def.values),er=this._getOrReturnCtx(ee);if(er.parsedType!==nH.string&&er.parsedType!==nH.number){let ee=eb.objectValues(en);return n2(er,{expected:eb.joinValues(ee),received:er.parsedType,code:nB.invalid_type}),n5}if(-1===en.indexOf(ee.data)){let ee=eb.objectValues(en);return n2(er,{received:er.data,code:nB.invalid_enum_value,options:ee}),n5}return n6(ee.data)}get enum(){return this._def.values}}rK.create=(ee,en)=>
9new rK({values:ee,typeName:ek.ZodNativeEnum,...rs(en)});class rq extends ro{unwrap(){return this._def.type}_parse(ee){let{ctx:en}=this._processInputParams(ee);if(en.parsedType!==nH.promise&&!1===en.common.async)return n2(en,{code:nB.invalid_type,expected:nH.promise,received:en.parsedType}),n5;let er=en.parsedType===nH.promise?en.data:Promise.resolve(en.data);return n6(er.then(ee=>this._def.type.parseAsync(ee,{path:en.path,errorMap:en.common.contextualErrorMap})))}}rq.create=(ee,en)=>new rq({type:ee,typeName:ek.ZodPromise,...rs(en)});class rY extends ro{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ek.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(ee){let{status:en,ctx:er}=this._processInputParams(ee),ei=this._def.effect||null,es={addIssue:ee=>{n2(er,ee),ee.fatal?en.abort():en.dirty()},get path(){return er.path}};if(es.addIssue=es.addIssue.bind(es),"preprocess"===ei.type){let ee=ei.transform(er.data,es);return er.common.issues.length?{status:"dirty",value:er.data}: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})}if("refinement"===ei.type){let ee=ee=>{let en=ei.refinement(ee,es);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?n5:("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?n5:("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=>n8(ee)?Promise.resolve(ei.transform(ee.value,es)).then(ee=>({status:en.value,value:ee})):ee);{let ee=this._def.schema._parseSync({data:er.data,path:er.path,parent:er});if(!n8(ee))return ee;let eo=ei.transform(ee.value,es);if(eo instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:en.value,value:eo}}}eb.assertNever(ei)}}rY.create=(ee,en,er)=>new rY({schema:ee,typeName:ek.ZodEffects,effect:en,...rs(er)}),rY.createWithPreprocess=(ee,en,er)=>new rY({schema:en,effect:{type:"preprocess",transform:ee},typeName:ek.ZodEffects,...rs(er)});class rQ extends ro{_parse(ee){let en=this._getType(ee);return en===nH.undefined?n6(void 0):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}rQ.create=(ee,en)=>new rQ({innerType:ee,typeName:ek.ZodOptional,...rs(en)});class rJ extends ro{_parse(ee){let en=this._getType(ee);return en===nH.null?n6(null):this._def.innerType._parse(ee)}unwrap(){return this._def.innerType}}rJ.create=(ee,en)=>new rJ({innerType:ee,typeName:ek.ZodNullable,...rs(en)});class rX extends ro{_parse(ee){let{ctx:en}=this._processInputParams(ee),er=en.data;return en.parsedType===nH.undefined&&(er=this._def.defaultValue()),this._def.innerType._parse({data:er,path:en.path,parent:en})}removeDefault(){return this._def.innerType}}rX.create=(ee,en)=>new rX({innerType:ee,typeName:ek.ZodDefault,defaultValue:"function"==typeof en.default?en.default:()=>en.default,...rs(en)});class r0 extends ro{_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 rn(ei)?ei.then(ee=>({status:"valid",value:"valid"===ee.status?ee.value:this._def.catchValue({get error(){return new nq(er.common.issues)},input:er.data})})):{status:"valid",value:"valid"===ei.status?ei.value:this._def.catchValue({get error(){return new nq(er.common.issues)},input:er.data})}}removeCatch(){return this._def.innerType}}r0.create=(ee,en)=>new r0({innerType:ee,typeName:ek.ZodCatch,catchValue:"function"==typeof en.catch?en.catch:()=>en.catch,...rs(en)});class r1 extends ro{_parse(ee){let en=this._getType(ee);if(en!==nH.nan){let en=this._getOrReturnCtx(ee);return n2(en,{code:nB.invalid_type,expected:nH.nan,received:en.parsedType}),n5}
9return{status:"valid",value:ee.data}}}r1.create=ee=>new r1({typeName:ek.ZodNaN,...rs(ee)});let r2=Symbol("zod_brand");class r4 extends ro{_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 r5 extends ro{_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?n5:"dirty"===ee.status?(en.dirty(),n3(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?n5:"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 r5({in:ee,out:en,typeName:ek.ZodPipeline})}}class r3 extends ro{_parse(ee){let en=this._def.innerType._parse(ee);return n8(en)&&(en.value=Object.freeze(en.value)),en}}r3.create=(ee,en)=>new r3({innerType:ee,typeName:ek.ZodReadonly,...rs(en)});let r6=(ee,en={},er)=>ee?rT.create().superRefine((ei,es)=>{var eo,eu;if(!ee(ei)){let ee="function"==typeof en?en(ei):"string"==typeof en?{message:en}:en,ec=null===(eu=null!==(eo=ee.fatal)&&void 0!==eo?eo:er)||void 0===eu||eu,ed="string"==typeof ee?{message:ee}:ee;es.addIssue({code:"custom",...ed,fatal:ec})}}):rT.create(),r7={object:rA.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",ee.ZodReadonly="ZodReadonly"}(ek||(ek={}));let r9=(ee,en={message:`Input not instance of ${ee.name}`})=>r6(en=>en instanceof ee,en),r8=rv.create,at=rb.create,an=r1.create,ar=r_.create,ai=rw.create,ao=rk.create,al=rj.create,au=rE.create,ac=rO.create,ad=rT.create,af=rC.create,ap=rS.create,ah=rN.create,am=rI.create,ax=rA.create,ag=rA.strictCreate,av=rP.create,ay=rL.create,ab=rD.create,a_=rz.create,aw=r$.create,ak=rF.create,aj=rU.create,aE=rW.create,aO=rV.create,aT=rH.create,aC=rB.create,aS=rK.create,aN=rq.create,aI=rY.create,aR=rQ.create,aA=rJ.create,aP=rY.createWithPreprocess,aZ=r5.create,aL=()=>r8().optional(),aM=()=>at().optional(),aD=()=>ai().optional(),az={string:ee=>rv.create({...ee,coerce:!0}),number:ee=>rb.create({...ee,coerce:!0}),boolean:ee=>rw.create({...ee,coerce:!0}),bigint:ee=>r_.create({...ee,coerce:!0}),date:ee=>rk.create({...ee,coerce:!0})},a$=n5;var aF=Object.freeze({__proto__:null,defaultErrorMap:nY,setErrorMap:nJ,getErrorMap:nX,makeIssue:n0,EMPTY_PATH:n1,addIssueToContext:n2,ParseStatus:n4,INVALID:n5,DIRTY:n3,OK:n6,isAborted:n7,isDirty:n9,isValid:n8,isAsync:rn,get util(){return eb},get objectUtil(){return e_},ZodParsedType:nH,getParsedType:nG,ZodType:ro,ZodString:rv,ZodNumber:rb,ZodBigInt:r_,ZodBoolean:rw,ZodDate:rk,ZodSymbol:rj,ZodUndefined:rE,ZodNull:rO,ZodAny:rT,ZodUnknown:rC,ZodNever:rS,ZodVoid:rN,ZodArray:rI,ZodObject:rA,ZodUnion:rP,ZodDiscriminatedUnion:rL,ZodIntersection:rD,ZodTuple:rz,ZodRecord:r$,ZodMap:rF,ZodSet:rU,ZodFunction:rW,ZodLazy:rV,ZodLiteral:rH,ZodEnum:rB,ZodNativeEnum:rK,ZodPromise:rq,ZodEffects:rY,ZodTransformer:rY,ZodOptional:rQ,ZodNullable:rJ,ZodDefault:rX,ZodCatch:r0,ZodNaN:r1,BRAND:r2,ZodBranded:r4,ZodPipeline:r5,ZodReadonly:r3,custom:r6,Schema:ro,ZodSchema:ro,late:r7,get ZodFirstPartyTypeKind(){return ek},coerce:az,any:ad,array:am,bigint:ar,boolean:ai,date:ao,discriminatedUnion:ay,effect:aI,enum:aC,function:aE,instanceof:r9,intersection:ab,lazy:aO,literal:aT,map:ak,nan:an,nativeEnum:aS,never:ap,null:ac,nullable:aA,number:at,object:ax,oboolean:aD,onumber:aM,optional:aR,ostring:aL,pipeline:aZ,preprocess:aP,promise:aN,record:aw,set:aj,strictObject:ag,string:r8,symbol:al,transformer:aI,tuple:a_,undefined:au,union:av,unknown:af,void:ah,NEVER:a$,ZodIssueCode:nB,quotelessJson:nK,ZodError:nq}),aU={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},aW=aF.strictObject({breadcrumb:aF.boolean(),collapsed:aF.boolean(),footer:aF.boolean(),layout:aF.enum(["default","full","raw"]),navbar:aF.boolean(),pagination:aF.boolean(),sidebar:aF.boolean(),timestamp:aF.boolean(),toc:aF.boolean(),typesetting:aF.enum(["default","article"])}),aV=aF.enum(["normal","hidden","children"]),aH=aF.string(),aG=aF.strictObject({href:aF.string(),newWindow:aF.boolean(),title:aH}),aB=aF.strictObject({display:aV.optional(),items:aF.record(aG.partial({href:!0,newWindow:!0})),title:aH,type:aF.literal("menu")}),aK=aF.strictObject({title:aH,type:aF.literal("separator")}
9),aq=aG.extend({display:aV,theme:aW,title:aH,type:aF.enum(["page","doc"])}).deepPartial();function aY(ee={},en){"string"==typeof ee&&(ee={title:ee});let er=Object.assign({},en.theme,ee.theme);return Object.assign({},en,ee,{theme:er})}function aQ(ee){for(let en of ee){if(en.route)return en.route;if(en.children){let ee=aQ(en.children);if(ee)return ee}}}function aJ({list:ee,locale:en,defaultLocale:er,route:ei,docsRoot:es="",underCurrentDocsRoot:eo=!1,pageThemeContext:eu=aU}){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||{},ep=Object.keys(ef);for(let ee of ep)"string"==typeof ef[ee]&&(ef[ee]={title:ef[ee]});let eh=[],em=[],ex=[],eg=[],ev=[],ey=0,eb=eu,e_=[],ew=-1,ek=ef["*"]||{};delete ek.title,delete ek.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=ep.indexOf(ee.name),ei=ep.indexOf(en.name);return -1===er&&-1===ei?ee.name<en.name?-1:1:-1===er?1:-1===ei?-1:er-ei}).flatMap(ee=>{let en;let er=[],ei=ep.indexOf(ee.name);if(-1!==ei){for(let ee=ew+1;ee<ei;ee++){let en=ep[ee];"*"!==en&&er.push({name:en,route:"",...ef[en]})}ew=ei,en={...ef[ee.name],...ee}}return er.push(en||ee),er});for(let ee=ew+1;ee<ep.length;ee++){let en=ep[ee];"*"!==en&&ej.push({name:en,route:"#",...ef[en]})}for(let ee=0;ee<ej.length;ee++){let ec=ej[ee];if(ee+1<ej.length&&ec.name===ej[ee+1].name){ej[ee+1]={...ej[ee+1],withIndexPage:!0},ec.children&&!ej[ee+1].children&&(ej[ee+1].children=ec.children);continue}let ep=aY(ef[ec.name],ek),{display:ew,type:eE="doc"}=ep,eO={...eu,...ep.theme},eT=ei.startsWith(es),eC=ec.children&&aJ({list:ec.children,locale:en,defaultLocale:er,route:ei,docsRoot:"page"===eE||"menu"===eE?ec.route:es,underCurrentDocsRoot:eo||eT,pageThemeContext:eO}),eN=ep.title||"separator"!==eE&&ec.name,eI=()=>({...ec,type:eE,...eN&&{title:eN},...ew&&{display:ew},...eC&&{children:[]}}),eR=eI(),eA=eI(),eP=eI();if(eA.isUnderCurrentDocsTree=eT,"separator"===eE&&(eR.isUnderCurrentDocsTree=eT),ec.route===ei)switch(e_=[eR],ed=eE,eb={...eb,...eO},eE){case"page":case"menu":ey=ev.length;break;case"doc":ey=eg.length}if(!("hidden"===ew&&"Folder"!==eR.kind||eS.hV.has(ec.route))){if(eC){if(void 0!==eC.activeIndex&&void 0!==eC.activeType){switch(eb=eC.activeThemeContext,ed=eC.activeType,e_=[eR,...eC.activePath],ed){case"page":case"menu":ey=ev.length+eC.activeIndex;break;case"doc":ey=eg.length+eC.activeIndex}ec.withIndexPage&&"doc"===eE&&ey++}switch(eE){case"page":case"menu":eP.children.push(...eC.directories),ex.push(...eC.docsDirectories),eC.flatDirectories.length?(eP.firstChildRoute=aQ(eC.flatDirectories),ev.push(eP)):eP.withIndexPage&&ev.push(eP);break;case"doc":Array.isArray(eA.children)&&eA.children.push(...eC.docsDirectories),eR.withIndexPage&&"children"!==ew&&eg.push(eA)}em.push(...eC.flatDirectories),eg.push(...eC.flatDocsDirectories),Array.isArray(eR.children)&&eR.children.push(...eC.directories)}else switch(em.push(eR),eE){case"page":case"menu":ev.push(eP);break;case"doc":eg.push(eA)}switch("doc"===eE&&"children"===ew?eA.children&&(eh.push(...eA.children),ex.push(...eA.children)):eh.push(eR),eE){case"page":case"menu":ex.push(eP);break;case"doc":"children"!==ew&&ex.push(eA);break;case"separator":ex.push(eR)}}}return{activeType:ed,activeIndex:ey,activeThemeContext:eb,activePath:e_,directories:eh,flatDirectories:em,docsDirectories:ex,flatDocsDirectories:eg,topLevelNavbarItems:ev}}aF.string().or(aB).or(aK).or(aq);var aX=er(3458),a0=er.n(aX);function a1(ee){if(null==ee)return window;if("[object Window]"!==ee.toString()){var en=ee.ownerDocument;return en&&en.defaultView||window}return ee}function a2(ee){var en=a1(ee).Element;return ee instanceof en||ee instanceof Element}function a4(ee){var en=a1(ee).HTMLElement;return ee instanceof en||ee instanceof HTMLElement}function a5(ee){if("undefined"==typeof ShadowRoot)return!1;var en=a1(ee).ShadowRoot;return ee instanceof en||ee instanceof ShadowRoot}var a3=Math.max,a6=Math.min,a7=Math.round;function a9(){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 a8(){return!/^((?!chrome|android).)*safari/i.test(a9())}function it(ee,en,er){void 0===en&&(en=!1),void 0===er&&(er=!1);var ei=ee.getBoundingClientRect(),es=1,eo=1;en&&a4(ee)&&(es=ee.offsetWidth>0&&a7(ei.width)/ee.offsetWidth||1,eo=ee.offsetHeight>0&&a7(ei.height)/ee.offsetHeight||1);
vendor: 14,657 bytes, line 9
9var eu=(a2(ee)?a1(ee):window).visualViewport,ec=!a8()&&er,ed=(ei.left+(ec&&eu?eu.offsetLeft:0))/es,ef=(ei.top+(ec&&eu?eu.offsetTop:0))/eo,ep=ei.width/es,eh=ei.height/eo;return{width:ep,height:eh,top:ef,right:ed+ep,bottom:ef+eh,left:ed,x:ed,y:ef}}function ir(ee){var en=a1(ee);return{scrollLeft:en.pageXOffset,scrollTop:en.pageYOffset}}function ii(ee){return{scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop}}function is(ee){return ee!==a1(ee)&&a4(ee)?ii(ee):ir(ee)}function io(ee){return ee?(ee.nodeName||"").toLowerCase():null}function il(ee){return((a2(ee)?ee.ownerDocument:ee.document)||window.document).documentElement}function iu(ee){return it(il(ee)).left+ir(ee).scrollLeft}function ic(ee){return a1(ee).getComputedStyle(ee)}function ih(ee){var en=ic(ee),er=en.overflow,ei=en.overflowX,es=en.overflowY;return/auto|scroll|overlay|hidden/.test(er+es+ei)}function im(ee){var en=ee.getBoundingClientRect(),er=a7(en.width)/ee.offsetWidth||1,ei=a7(en.height)/ee.offsetHeight||1;return 1!==er||1!==ei}function ix(ee,en,er){void 0===er&&(er=!1);var ei=a4(en),es=a4(en)&&im(en),eo=il(en),eu=it(ee,es,er),ec={scrollLeft:0,scrollTop:0},ed={x:0,y:0};return(ei||!ei&&!er)&&(("body"!==io(en)||ih(eo))&&(ec=is(en)),a4(en)?(ed=it(en,!0),ed.x+=en.clientLeft,ed.y+=en.clientTop):eo&&(ed.x=iu(eo))),{x:eu.left+ec.scrollLeft-ed.x,y:eu.top+ec.scrollTop-ed.y,width:eu.width,height:eu.height}}function ig(ee){var en=it(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 iv(ee){return"html"===io(ee)?ee:ee.assignedSlot||ee.parentNode||(a5(ee)?ee.host:null)||il(ee)}function iy(ee){return["html","body","#document"].indexOf(io(ee))>=0?ee.ownerDocument.body:a4(ee)&&ih(ee)?ee:iy(iv(ee))}function ib(ee,en){void 0===en&&(en=[]);var er,ei=iy(ee),es=ei===(null==(er=ee.ownerDocument)?void 0:er.body),eo=a1(ei),eu=es?[eo].concat(eo.visualViewport||[],ih(ei)?ei:[]):ei,ec=en.concat(eu);return es?ec:ec.concat(ib(iv(eu)))}function i_(ee){return["table","td","th"].indexOf(io(ee))>=0}function iw(ee){return a4(ee)&&"fixed"!==ic(ee).position?ee.offsetParent:null}function ik(ee){var en=/firefox/i.test(a9());if(/Trident/i.test(a9())&&a4(ee)&&"fixed"===ic(ee).position)return null;var er=iv(ee);for(a5(er)&&(er=er.host);a4(er)&&0>["html","body"].indexOf(io(er));){var ei=ic(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 ij(ee){for(var en=a1(ee),er=iw(ee);er&&i_(er)&&"static"===ic(er).position;)er=iw(er);return er&&("html"===io(er)||"body"===io(er)&&"static"===ic(er).position)?en:er||ik(ee)||en}var iE="top",iO="bottom",iT="right",iC="left",iS="auto",iN=[iE,iO,iT,iC],iI="start",iR="end",iA="clippingParents",iP="viewport",iZ="popper",iL="reference",iM=iN.reduce(function(ee,en){return ee.concat([en+"-"+iI,en+"-"+iR])},[]),iD=[].concat(iN,[iS]).reduce(function(ee,en){return ee.concat([en,en+"-"+iI,en+"-"+iR])},[]),iz=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function i$(ee){var en=new Map,er=new Set,ei=[];function es(ee){er.add(ee.name),[].concat(ee.requires||[],ee.requiresIfExists||[]).forEach(function(ee){if(!er.has(ee)){var ei=en.get(ee);ei&&es(ei)}}),ei.push(ee)}return ee.forEach(function(ee){en.set(ee.name,ee)}),ee.forEach(function(ee){er.has(ee.name)||es(ee)}),ei}function iF(ee){var en=i$(ee);return iz.reduce(function(ee,er){return ee.concat(en.filter(function(ee){return ee.phase===er}))},[])}function iU(ee){var en;return function(){return en||(en=new Promise(function(er){Promise.resolve().then(function(){en=void 0,er(ee())})})),en}}function iW(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 iV={placement:"bottom",modifiers:[],strategy:"absolute"};function iH(){for(var ee=arguments.length,en=Array(ee),er=0;er<ee;er++)en[er]=arguments[er];return!en.some(function(ee){return!(ee&&"function"==typeof ee.getBoundingClientRect)})}var iG={passive:!0};function iB(ee){return ee.split("-")[0]}function iK(ee){return ee.split("-")[1]}function iq(ee){return["top","bottom"].indexOf(ee)>=0?"x":"y"}function iY(ee){var en,er=ee.reference,ei=ee.element,es=ee.placement,eo=es?iB(es):null,eu=es?iK(es):null,ec=er.x+er.width/2-ei.width/2,ed=er.y+er.height/2-ei.height/2;switch(eo){case iE:en={x:ec,y:er.y-ei.height};break;case iO:en={x:ec,y:er.y+er.height};break;case iT:en={x:er.x+er.width,y:ed};break;case iC:en={x:er.x-ei.width,y:ed};break;default:en={x:er.x,y:er.y}}var ef=eo?iq(eo):null;if(null!=ef){var ep="y"===ef?"height":"width";switch(eu){case iI:en[ef]=en[ef]-(er[ep]/2-ei[ep]/2);break;case iR:en[ef]=en[ef]+(er[ep]/2-ei[ep]/2)}}return en}var iQ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function iJ(ee,en){var er=ee.x,ei=ee.y,es=en.devicePixelRatio||1;return{x:a7(er*es)/es||0,y:a7(ei*es)/es||0}}function iX(ee){var en,er,ei=ee.popper,es=ee.popperRect,eo=ee.placement,eu=ee.variation,ec=ee.offsets,ed=ee.position,ef=ee.gpuAcceleration,ep=ee.adaptive,eh=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 eh?eh({x:eg,y:ey}):{x:eg,y:ey};eg=eb.x,ey=eb.y;var e_=ec.hasOwnProperty("x"),ew=ec.hasOwnProperty("y"),ek=iC,ej=iE,eE=window;if(ep){var eO=ij(ei),eT="clientHeight",eC="clientWidth";eO===a1(ei)&&"static"!==ic(eO=il(ei)).position&&"absolute"===ed&&(eT="scrollHeight",eC="scrollWidth"),(eo===iE||(eo===iC||eo===iT)&&eu===iR)&&(ej=iO,ey-=(em&&eO===eE&&eE.visualViewport?eE.visualViewport.height:eO[eT])-es.height,ey*=ef?1:-1),(eo===iC||(eo===iE||eo===iO)&&eu===iR)&&(ek=iT,eg-=(em&&eO===eE&&eE.visualViewport?eE.visualViewport.width:eO[eC])-es.width,eg*=ef?1:-1)}var eS=Object.assign({position:ed},ep&&iQ),eN=!0===eh?iJ({x:eg,y:ey},a1(ei)):{x:eg,y:ey};return(eg=eN.x,ey=eN.y,ef)?Object.assign({},eS,((er={})[ej]=ew?"0":"",er[ek]=e_?"0":"",er.transform=1>=(eE.devicePixelRatio||1)?"translate("+eg+"px, "+ey+"px)":"translate3d("+eg+"px, "+ey+"px, 0)",er)):Object.assign({},eS,((en={})[ej]=ew?ey+"px":"",en[ek]=e_?eg+"px":"",en.transform="",en))}function i0(ee,en,er){var ei=iB(ee),es=[iC,iE].indexOf(ei)>=0?-1:1,eo="function"==typeof er?er(Object.assign({},en,{placement:ee})):er,eu=eo[0],ec=eo[1];return eu=eu||0,ec=(ec||0)*es,[iC,iT].indexOf(ei)>=0?{x:ec,y:eu}:{x:eu,y:ec}}var i1={left:"right",right:"left",bottom:"top",top:"bottom"};function i2(ee){return ee.replace(/left|right|bottom|top/g,function(ee){return i1[ee]})}var i4={start:"end",end:"start"};function i5(ee){return ee.replace(/start|end/g,function(ee){return i4[ee]})}function i3(ee,en){var er=a1(ee),ei=il(ee),es=er.visualViewport,eo=ei.clientWidth,eu=ei.clientHeight,ec=0,ed=0;if(es){eo=es.width,eu=es.height;var ef=a8();(ef||!ef&&"fixed"===en)&&(ec=es.offsetLeft,ed=es.offsetTop)}return{width:eo,height:eu,x:ec+iu(ee),y:ed}}function i6(ee){var en,er=il(ee),ei=ir(ee),es=null==(en=ee.ownerDocument)?void 0:en.body,eo=a3(er.scrollWidth,er.clientWidth,es?es.scrollWidth:0,es?es.clientWidth:0),eu=a3(er.scrollHeight,er.clientHeight,es?es.scrollHeight:0,es?es.clientHeight:0),ec=-ei.scrollLeft+iu(ee),ed=-ei.scrollTop;return"rtl"===ic(es||er).direction&&(ec+=a3(er.clientWidth,es?es.clientWidth:0)-eo),{width:eo,height:eu,x:ec,y:ed}}function i7(ee,en){var er=en.getRootNode&&en.getRootNode();if(ee.contains(en))return!0;if(er&&a5(er)){var ei=en;do{if(ei&&ee.isSameNode(ei))return!0;ei=ei.parentNode||ei.host}while(ei)}return!1}function i9(ee){return Object.assign({},ee,{left:ee.x,top:ee.y,right:ee.x+ee.width,bottom:ee.y+ee.height})}function i8(ee,en){var er=it(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 st(ee,en,er){return en===iP?i9(i3(ee,er)):a2(en)?i8(en,er):i9(i6(il(ee)))}function sn(ee){var en=ib(iv(ee)),er=["absolute","fixed"].indexOf(ic(ee).position)>=0&&a4(ee)?ij(ee):ee;return a2(er)?en.filter(function(ee){return a2(ee)&&i7(ee,er)&&"body"!==io(ee)}):[]}function sr(ee,en,er,ei){var es=[].concat("clippingParents"===en?sn(ee):[].concat(en),[er]),eo=es[0],eu=es.reduce(function(en,er){var es=st(ee,er,ei);return en.top=a3(es.top,en.top),en.right=a6(es.right,en.right),en.bottom=a6(es.bottom,en.bottom),en.left=a3(es.left,en.left),en},st(ee,eo,ei));return eu.width=eu.right-eu.left,eu.height=eu.bottom-eu.top,eu.x=eu.left,eu.y=eu.top,eu}function si(){return{top:0,right:0,bottom:0,left:0}}function ss(ee){return Object.assign({},si(),ee)}function so(ee,en){return en.reduce(function(en,er){return en[er]=ee,en},{})}function sl(ee,en){void 0===en&&(en={});var er=en,ei=er.placement,es=void 0===ei?ee.placement:ei,eo=er.strategy,eu=void 0===eo?ee.strategy:eo,ec=er.boundary,ed=void 0===ec?iA:ec,ef=er.rootBoundary,ep=void 0===ef?iP:ef,eh=er.elementContext,em=void 0===eh?iZ:eh,ex=er.altBoundary,eg=void 0!==ex&&ex,ev=er.padding,ey=void 0===ev?0:ev,eb=ss("number"!=typeof ey?ey:so(ey,iN)),e_=em===iZ?iL:iZ,ew=ee.rects.popper,ek=ee.elements[eg?e_:em],ej=sr(a2(ek)?ek:ek.contextElement||il(ee.elements.popper),ed,ep,eu),eE=it(ee.elements.reference),eO=iY({reference:eE,element:ew,strategy:"absolute",placement:es}),eT=i9(Object.assign({},ew,eO)),eC=em===iZ?eT:eE,eS={top:ej.top-eC.top+eb.top,bottom:eC.bottom-ej.bottom+eb.bottom,left:ej.left-eC.left+eb.left,right:eC.right-ej.right+eb.right},eN=ee.modifiersData.offset;if(em===iZ&&eN){var eI=eN[es];Object.keys(eS).forEach(function(ee){var en=[iT,iO].indexOf(ee)>=0?1:-1,er=[iE,iO].indexOf(ee)>=0?"y":"x";eS[ee]+=eI[er]*en})}return eS}function su(ee,en){void 0===en&&(en={});var er=en,ei=er.placement,es=er.boundary,eo=er.rootBoundary,eu=er.padding,ec=er.flipVariations,ed=er.allowedAutoPlacements,ef=void 0===ed?iD:ed,ep=iK(ei),eh=ep?ec?iM:iM.filter(function(ee){return iK(ee)===ep}):iN,em=eh.filter(function(ee){return ef.indexOf(ee)>=0});0===em.length&&(em=eh);var ex=em.reduce(function(en,er){return en[er]=sl(ee,{placement:er,boundary:es,rootBoundary:eo,padding:eu})[iB(er)],en},{});return Object.keys(ex).sort(function(ee,en){return ex[ee]-ex[en]})}function sc(ee){if(iB(ee)===iS)return[];var en=i2(ee);return[i5(ee),en,i5(en)]}function sd(ee){return"x"===ee?"y":"x"}function sf(ee,en,er){return a3(ee,a6(en,er))}function sp(ee,en,er){var ei=sf(ee,en,er);return ei>er?er:ei}var sh=function(ee,en){return ss("number"!=typeof(ee="function"==typeof ee?ee(Object.assign({},en.rects,{placement:en.placement})):ee)?ee:so(ee,iN))};function sm(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 sx(ee){return[iE,iT,iO,iC].some(function(en){return ee[en]>=0})}var sg=function(ee){void 0===ee&&(ee={});var en=ee,er=en.defaultModifiers,ei=void 0===er?[]:er,es=en.defaultOptions,eo=void 0===es?iV:es;return function(ee,en,er){void 0===er&&(er=eo);var es={placement:"bottom",orderedModifiers:[],options:Object.assign({},iV,eo),modifiersData:{},elements:{reference:ee,popper:en},attributes:{},styles:{}},eu=[],ec=!1,ed={state:es,setOptions:function(er){var eu="function"==typeof er?er(es.options):er;ep(),es.options=Object.assign({},eo,es.options,eu),es.scrollParents={reference:a2(ee)?ib(ee):ee.contextElement?ib(ee.contextElement):[],popper:ib(en)};var ec=iF(iW([].concat(ei,es.options.modifiers)));return es.orderedModifiers=ec.filter(function(ee){return ee.enabled}),ef(),ed.update()},forceUpdate:function(){if(!ec){var ee=es.elements,en=ee.reference,er=ee.popper;if(iH(en,er)){es.rects={reference:ix(en,ij(er),"fixed"===es.options.strategy),popper:ig(er)},es.reset=!1,es.placement=es.options.placement,es.orderedModifiers.forEach(function(ee){return es.modifiersData[ee.name]=Object.assign({},ee.data)});for(var ei=0;ei<es.orderedModifiers.length;ei++){if(!0===es.reset){es.reset=!1,ei=-1;continue}var eo=es.orderedModifiers[ei],eu=eo.fn,ef=eo.options,ep=void 0===ef?{}:ef,eh=eo.name;"function"==typeof eu&&(es=eu({state:es,options:ep,name:eh,instance:ed})||es)}}}},update:iU(function(){return new Promise(function(ee){ed.forceUpdate(),ee(es)})}),destroy:function(){ep(),ec=!0}};if(!iH(ee,en))return ed;function ef(){es.orderedModifiers.forEach(function(ee){var en=ee.name,er=ee.options,ei=void 0===er?{}:er,eo=ee.effect;if("function"==typeof eo){var ec=eo({state:es,name:en,instance:ed,options:ei}),ef=function(){};eu.push(ec||ef)}})}function ep(){eu.forEach(function(ee){return ee()}),eu=[]}return ed.setOptions(er).then(function(ee){!ec&&er.onFirstUpdate&&er.onFirstUpdate(ee)}),ed}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(ee){var en=ee.state,er=ee.instance,ei=ee.options,es=ei.scroll,eo=void 0===es||es,eu=ei.resize,ec=void 0===eu||eu,ed=a1(en.elements.popper),ef=[].concat(en.scrollParents.reference,en.scrollParents.popper);return eo&&ef.forEach(function(ee){ee.addEventListener("scroll",er.update,iG)}),ec&&ed.addEventListener("resize",er.update,iG),function(){eo&&ef.forEach(function(ee){ee.removeEventListener("scroll",er.update,iG)}),ec&&ed.removeEventListener("resize",er.update,iG)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(ee){var en=ee.state,er=ee.name;en.modifiersData[er]=iY({reference:en.rects.reference,element:en.rects.popper,strategy:"absolute",placement:en.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(ee){var en=ee.state,er=ee.options,ei=er.gpuAcceleration,es=void 0===ei||ei,eo=er.adaptive,eu=void 0===eo||eo,ec=er.roundOffsets,ed=void 0===ec||ec,ef={placement:iB(en.placement),variation:iK(en.placement),popper:en.elements.popper,popperRect:en.rects.popper,gpuAcceleration:es,isFixed:"fixed"===en.options.strategy};null!=en.modifiersData.popperOffsets&&(en.styles.popper=Object.assign({},en.styles.popper,iX(Object.assign({},ef,{offsets:en.modifiersData.popperOffsets,position:en.options.strategy,adaptive:eu,roundOffsets:ed})))),null!=en.modifiersData.arrow&&(en.styles.arrow=Object.assign({},en.styles.arrow,iX(Object.assign({},ef,{offsets:en.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ed})))),en.attributes.popper=Object.assign({},en.attributes.popper,{"data-popper-placement":en.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(ee){var en=ee.state;
vendor: 4,481 bytes, line 9
9Object.keys(en.elements).forEach(function(ee){var er=en.styles[ee]||{},ei=en.attributes[ee]||{},es=en.elements[ee];a4(es)&&io(es)&&(Object.assign(es.style,er),Object.keys(ei).forEach(function(ee){var en=ei[ee];!1===en?es.removeAttribute(ee):es.setAttribute(ee,!0===en?"":en)}))})},effect:function(ee){var en=ee.state,er={popper:{position:en.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(en.elements.popper.style,er.popper),en.styles=er,en.elements.arrow&&Object.assign(en.elements.arrow.style,er.arrow),function(){Object.keys(en.elements).forEach(function(ee){var ei=en.elements[ee],es=en.attributes[ee]||{},eo=Object.keys(en.styles.hasOwnProperty(ee)?en.styles[ee]:er[ee]).reduce(function(ee,en){return ee[en]="",ee},{});a4(ei)&&io(ei)&&(Object.assign(ei.style,eo),Object.keys(es).forEach(function(ee){ei.removeAttribute(ee)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(ee){var en=ee.state,er=ee.options,ei=ee.name,es=er.offset,eo=void 0===es?[0,0]:es,eu=iD.reduce(function(ee,er){return ee[er]=i0(er,en.rects,eo),ee},{}),ec=eu[en.placement],ed=ec.x,ef=ec.y;null!=en.modifiersData.popperOffsets&&(en.modifiersData.popperOffsets.x+=ed,en.modifiersData.popperOffsets.y+=ef),en.modifiersData[ei]=eu}},{name:"flip",enabled:!0,phase:"main",fn:function(ee){var en=ee.state,er=ee.options,ei=ee.name;if(!en.modifiersData[ei]._skip){for(var es=er.mainAxis,eo=void 0===es||es,eu=er.altAxis,ec=void 0===eu||eu,ed=er.fallbackPlacements,ef=er.padding,ep=er.boundary,eh=er.rootBoundary,em=er.altBoundary,ex=er.flipVariations,eg=void 0===ex||ex,ev=er.allowedAutoPlacements,ey=en.options.placement,eb=iB(ey)===ey,e_=ed||(eb||!eg?[i2(ey)]:sc(ey)),ew=[ey].concat(e_).reduce(function(ee,er){return ee.concat(iB(er)===iS?su(en,{placement:er,boundary:ep,rootBoundary:eh,padding:ef,flipVariations:eg,allowedAutoPlacements:ev}):er)},[]),ek=en.rects.reference,ej=en.rects.popper,eE=new Map,eO=!0,eT=ew[0],eC=0;eC<ew.length;eC++){var eS=ew[eC],eN=iB(eS),eI=iK(eS)===iI,eR=[iE,iO].indexOf(eN)>=0,eA=eR?"width":"height",eP=sl(en,{placement:eS,boundary:ep,rootBoundary:eh,altBoundary:em,padding:ef}),eZ=eR?eI?iT:iC:eI?iO:iE;ek[eA]>ej[eA]&&(eZ=i2(eZ));var eL=i2(eZ),eM=[];if(eo&&eM.push(eP[eN]<=0),ec&&eM.push(eP[eZ]<=0,eP[eL]<=0),eM.every(function(ee){return ee})){eT=eS,eO=!1;break}eE.set(eS,eM)}if(eO)for(var eD=eg?3:1,ez=function(ee){var en=ew.find(function(en){var er=eE.get(en);if(er)return er.slice(0,ee).every(function(ee){return ee})});if(en)return eT=en,"break"},e$=eD;e$>0&&"break"!==ez(e$);e$--);en.placement!==eT&&(en.modifiersData[ei]._skip=!0,en.placement=eT,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,es=er.mainAxis,eo=void 0===es||es,eu=er.altAxis,ec=void 0!==eu&&eu,ed=er.boundary,ef=er.rootBoundary,ep=er.altBoundary,eh=er.padding,em=er.tether,ex=void 0===em||em,eg=er.tetherOffset,ev=void 0===eg?0:eg,ey=sl(en,{boundary:ed,rootBoundary:ef,padding:eh,altBoundary:ep}),eb=iB(en.placement),e_=iK(en.placement),ew=!e_,ek=iq(eb),ej=sd(ek),eE=en.modifiersData.popperOffsets,eO=en.rects.reference,eT=en.rects.popper,eC="function"==typeof ev?ev(Object.assign({},en.rects,{placement:en.placement})):ev,eS="number"==typeof eC?{mainAxis:eC,altAxis:eC}:Object.assign({mainAxis:0,altAxis:0},eC),eN=en.modifiersData.offset?en.modifiersData.offset[en.placement]:null,eI={x:0,y:0};if(eE){if(eo){var eR,eA="y"===ek?iE:iC,eP="y"===ek?iO:iT,eZ="y"===ek?"height":"width",eL=eE[ek],eM=eL+ey[eA],eD=eL-ey[eP],ez=ex?-eT[eZ]/2:0,e$=e_===iI?eO[eZ]:eT[eZ],eF=e_===iI?-eT[eZ]:-eO[eZ],eU=en.elements.arrow,eW=ex&&eU?ig(eU):{width:0,height:0},eV=en.modifiersData["arrow#persistent"]?en.modifiersData["arrow#persistent"].padding:si(),eH=eV[eA],eG=eV[eP],eB=sf(0,eO[eZ],eW[eZ]),eK=ew?eO[eZ]/2-ez-eB-eH-eS.mainAxis:e$-eB-eH-eS.mainAxis,eY=ew?-eO[eZ]/2+ez+eB+eG+eS.mainAxis:eF+eB+eG+eS.mainAxis,eQ=en.elements.arrow&&ij(en.elements.arrow),eJ=eQ?"y"===ek?eQ.clientTop||0:eQ.clientLeft||0:0,eX=null!=(eR=null==eN?void 0:eN[ek])?eR:0,e0=eL+eK-eX-eJ,e1=eL+eY-eX,e2=sf(ex?a6(eM,e0):eM,eL,ex?a3(eD,e1):eD);eE[ek]=e2,eI[ek]=e2-eL}if(ec){var e4,e5="x"===ek?iE:iC,e3="x"===ek?iO:iT,e6=eE[ej],e7="y"===ej?"height":"width",e9=e6+ey[e5],e8=e6-ey[e3],tn=-1!==[iE,iC].indexOf(eb),tr=null!=(e4=null==eN?void 0:eN[ej])?e4:0,ti=tn?e9:e6-eO[e7]-eT[e7]-tr+eS.altAxis,ts=tn?e6+eO[e7]+eT[e7
9]-tr-eS.altAxis:e8,to=ex&&tn?sp(ti,e6,ts):sf(ex?ti:e9,e6,ex?ts:e8);eE[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,es=ee.options,eo=er.elements.arrow,eu=er.modifiersData.popperOffsets,ec=iB(er.placement),ed=iq(ec),ef=[iC,iT].indexOf(ec)>=0?"height":"width";if(eo&&eu){var ep=sh(es.padding,er),eh=ig(eo),em="y"===ed?iE:iC,ex="y"===ed?iO:iT,eg=er.rects.reference[ef]+er.rects.reference[ed]-eu[ed]-er.rects.popper[ef],ev=eu[ed]-er.rects.reference[ed],ey=ij(eo),eb=ey?"y"===ed?ey.clientHeight||0:ey.clientWidth||0:0,e_=eg/2-ev/2,ew=ep[em],ek=eb-eh[ef]-ep[ex],ej=eb/2-eh[ef]/2+e_,eE=sf(ew,ej,ek),eO=ed;er.modifiersData[ei]=((en={})[eO]=eE,en.centerOffset=eE-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)))&&i7(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,es=en.rects.popper,eo=en.modifiersData.preventOverflow,eu=sl(en,{elementContext:"reference"}),ec=sl(en,{altBoundary:!0}),ed=sm(eu,ei),ef=sm(ec,es,eo),ep=sx(ed),eh=sx(ef);en.modifiersData[er]={referenceClippingOffsets:ed,popperEscapeOffsets:ef,isReferenceHidden:ep,hasPopperEscaped:eh},en.attributes.popper=Object.assign({},en.attributes.popper,{"data-popper-reference-hidden":ep,"data-popper-escaped":eh})}}]}),sv=er(6304),sy=er.n(sv);function sb(ee){if("string"!=typeof ee)throw TypeError("Expected a string");return ee.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var s_=er(2351);let sw=(0,eO.createContext)(null);sw.displayName="OpenClosedContext";var sk=((ei=sk||{})[ei.Open=1]="Open",ei[ei.Closed=2]="Closed",ei[ei.Closing=4]="Closing",ei[ei.Opening=8]="Opening",ei);function sj(){return(0,eO.useContext)(sw)}function sE({value:ee,children:en}){return eO.createElement(sw.Provider,{value:ee},en)}var sO=er(2984),sT=er(4879),sC=er(6723),sS=er(3855),sN=er(2180),sI=er(3784);function sR(ee){let en={called:!1};return(...er)=>{if(!en.called)return en.called=!0,ee(...er)}}var sA=er(9362);function sP(ee,...en){ee&&en.length>0&&ee.classList.add(...en)}function sZ(ee,...en){ee&&en.length>0&&ee.classList.remove(...en)}function sL(ee,en){let er=(0,sA.k)();if(!ee)return er.dispose;let{transitionDuration:ei,transitionDelay:es}=getComputedStyle(ee),[eo,eu]=[ei,es].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=eo+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 sM(ee,en,er,ei){let es=er?"enter":"leave",eo=(0,sA.k)(),eu=void 0!==ei?sR(ei):()=>{};"enter"===es&&(ee.removeAttribute("hidden"),ee.style.display="");let ec=(0,sO.E)(es,{enter:()=>en.enter,leave:()=>en.leave}),ed=(0,sO.E)(es,{enter:()=>en.enterTo,leave:()=>en.leaveTo}),ef=(0,sO.E)(es,{enter:()=>en.enterFrom,leave:()=>en.leaveFrom});return sZ(ee,...en.base,...en.enter,...en.enterTo,...en.enterFrom,...en.leave,...en.leaveFrom,...en.leaveTo,...en.entered),sP(ee,...en.base,...ec,...ef),eo.nextFrame(()=>{sZ(ee,...en.base,...ec,...ef),sP(ee,...en.base,...ec,...ed),sL(ee,()=>(sZ(ee,...en.base,...ec),sP(ee,...en.base,...en.entered),eu()))}),eo.dispose}function sD(){let[ee]=(0,eO.useState)(sA.k);return(0,eO.useEffect)(()=>()=>ee.dispose(),[ee]),ee}function sz({immediate:ee,container:en,direction:er,classes:ei,onStart:es,onStop:eo}){let eu=(0,sT.t)(),ec=sD(),ed=(0,sS.E)(er);(0,sC.e)(()=>{ee&&(ed.current="enter")},[ee]),(0,sC.e)(()=>{let ee=(0,sA.k)();ec.add(ee.dispose);let er=en.current;if(er&&"idle"!==ed.current&&eu.current)return ee.dispose(),es.current(ed.current),ee.add(sM(er,ei.current,"enter"===ed.current,()=>{ee.dispose(),eo.current(ed.current)})),ee.dispose},[er])}var s$=er(3781),sF=er(4067);function sU(ee=0){let[en,er]=(0,eO.useState)(ee),ei=(0,sT.t)(),es=(0,eO.useCallback)(ee=>{ei.current&&er(en=>en|ee)},[en,ei]),eo=(0,eO.useCallback)(ee=>!!(en&ee),[en]);return{flags:en,addFlag:es,hasFlag:eo,removeFlag:(0,eO.useCallback)(ee=>{ei.current&&er(en=>en&~ee)},[er,ei]),toggleFlag:(0,eO.useCallback)(ee=>{ei.current&&er(en=>en^ee)},[er])}}function sW(ee=""){return ee.split(" ").filter(ee=>ee.trim().length>1)}let sV=(0,eO.createContext)(null);sV.displayName="TransitionContext";var sH=((es=sH||{}).Visible="visible",es.Hidden="hidden",es);function sG(){let ee=(0,eO.useContext)(sV);if(null===ee)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return ee}function sB(){let ee=(0,eO.useContext)(sK);if(null===ee)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return ee}let sK=(0,eO.createContext)(null);function sq(ee){return"children"in ee?sq(ee.children):ee.current.filter(({el:ee})=>null!==ee.current).filter(({state:ee})=>"visible"===ee).length>0}function sY(ee,en){let er=(0,sS.E)(ee),ei=(0,eO.useRef)([]),es=(0,sT.t)(),eo=sD(),eu=(0,s$.z)((ee,en=s_.l4.Hidden)=>{let eu=ei.current.findIndex(({el:en})=>en===ee);-1!==eu&&((0,sO.E)(en,{[s_.l4.Unmount](){ei.current.splice(eu,1)},[s_.l4.Hidden](){ei.current[eu].state="hidden"}}),eo.microTask(()=>{var ee;!sq(ei)&&es.current&&(null==(ee=er.current)||ee.call(er))}))}),ec=(0,s$.z)(ee=>
9{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,s_.l4.Unmount)}),ed=(0,eO.useRef)([]),ef=(0,eO.useRef)(Promise.resolve()),ep=(0,eO.useRef)({enter:[],leave:[],idle:[]}),eh=(0,s$.z)((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(ep.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=(0,s$.z)((ee,en,er)=>{Promise.all(ep.current[en].splice(0).map(([ee,en])=>en)).then(()=>{var ee;null==(ee=ed.current.shift())||ee()}).then(()=>er(en))});return(0,eO.useMemo)(()=>({children:ei,register:ec,unregister:eu,onStart:eh,onStop:em,wait:ef,chains:ep}),[ec,eu,ei,eh,em,ep,ef])}function sQ(){}sK.displayName="NestingContext";let sJ=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function sX(ee){var en;let er={};for(let ei of sJ)er[ei]=null!=(en=ee[ei])?en:sQ;return er}function s0(ee){let en=(0,eO.useRef)(sX(ee));return(0,eO.useEffect)(()=>{en.current=sX(ee)},[ee]),en}let s1="div",s2=s_.AN.RenderStrategy;function s4(ee,en){var er,ei;let{beforeEnter:es,afterEnter:eo,beforeLeave:eu,afterLeave:ec,enter:ed,enterFrom:ef,enterTo:ep,entered:eh,leave:em,leaveFrom:ex,leaveTo:eg,...ev}=ee,ey=(0,eO.useRef)(null),eb=(0,sI.T)(ey,en),e_=null==(er=ev.unmount)||er?s_.l4.Unmount:s_.l4.Hidden,{show:ew,appear:ek,initial:ej}=sG(),[eE,eT]=(0,eO.useState)(ew?"visible":"hidden"),eC=sB(),{register:eS,unregister:eN}=eC;(0,eO.useEffect)(()=>eS(ey),[eS,ey]),(0,eO.useEffect)(()=>{if(e_===s_.l4.Hidden&&ey.current){if(ew&&"visible"!==eE){eT("visible");return}return(0,sO.E)(eE,{hidden:()=>eN(ey),visible:()=>eS(ey)})}},[eE,ey,eS,eN,ew,e_]);let eI=(0,sS.E)({base:sW(ev.className),enter:sW(ed),enterFrom:sW(ef),enterTo:sW(ep),entered:sW(eh),leave:sW(em),leaveFrom:sW(ex),leaveTo:sW(eg)}),eR=s0({beforeEnter:es,afterEnter:eo,beforeLeave:eu,afterLeave:ec}),eA=(0,sN.H)();(0,eO.useEffect)(()=>{if(eA&&"visible"===eE&&null===ey.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[ey,eE,eA]);let eP=ej&&!ek,eZ=ek&&ew&&ej,eL=!eA||eP?"idle":ew?"enter":"leave",eM=sU(0),eD=(0,s$.z)(ee=>(0,sO.E)(ee,{enter:()=>{eM.addFlag(sk.Opening),eR.current.beforeEnter()},leave:()=>{eM.addFlag(sk.Closing),eR.current.beforeLeave()},idle:()=>{}})),ez=(0,s$.z)(ee=>(0,sO.E)(ee,{enter:()=>{eM.removeFlag(sk.Opening),eR.current.afterEnter()},leave:()=>{eM.removeFlag(sk.Closing),eR.current.afterLeave()},idle:()=>{}})),e$=sY(()=>{eT("hidden"),eN(ey)},eC);sz({immediate:eZ,container:ey,classes:eI,direction:eL,onStart:(0,sS.E)(ee=>{e$.onStart(ey,ee,eD)}),onStop:(0,sS.E)(ee=>{e$.onStop(ey,ee,ez),"leave"!==ee||sq(e$)||(eT("hidden"),eN(ey))})});let eF=ev,eU={ref:eb};return eZ?eF={...eF,className:(0,sF.A)(ev.className,...eI.current.enter,...eI.current.enterFrom)}:(eF.className=(0,sF.A)(ev.className,null==(ei=ey.current)?void 0:ei.className),""===eF.className&&delete eF.className),eO.createElement(sK.Provider,{value:e$},eO.createElement(sE,{value:(0,sO.E)(eE,{visible:sk.Open,hidden:sk.Closed})|eM.flags},(0,s_.sY)({ourProps:eU,theirProps:eF,defaultTag:s1,features:s2,visible:"visible"===eE,name:"Transition.Child"})))}function s5(ee,en){let{show:er,appear:ei=!1,unmount:es=!0,...eo}=ee,eu=(0,eO.useRef)(null),ec=(0,sI.T)(eu,en);(0,sN.H)();let ed=sj();if(void 0===er&&null!==ed&&(er=(ed&sk.Open)===sk.Open),![!0,!1].includes(er))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[ef,ep]=(0,eO.useState)(er?"visible":"hidden"),eh=sY(()=>{ep("hidden")}),[em,ex]=(0,eO.useState)(!0),eg=(0,eO.useRef)([er]);(0,sC.e)(()=>{!1!==em&&eg.current[eg.current.length-1]!==er&&(eg.current.push(er),ex(!1))},[eg,er]);let ev=(0,eO.useMemo)(()=>({show:er,appear:ei,initial:em}),[er,ei,em]);(0,eO.useEffect)(()=>{if(er)ep("visible");else if(sq(eh)){let ee=eu.current;if(!ee)return;let en=ee.getBoundingClientRect();0===en.x&&0===en.y&&0===en.width&&0===en.height&&ep("hidden")}else ep("hidden")},[er,eh]);let ey={unmount:es},eb=(0,s$.z)(()=>{var en;em&&ex(!1),null==(en=ee.beforeEnter)||en.call(ee)}),e_=(0,s$.z)(()=>{var en;em&&ex(!1),null==(en=ee.beforeLeave)||en.call(ee)});return eO.createElement(sK.Provider,{value:eh},eO.createElement(sV.Provider,{value:ev},(0,s_.sY)({ourProps:{...ey,as:eO.Fragment,children:eO.createElement(s7,{ref:ec,...ey,...eo,beforeEnter:eb,beforeLeave:e_})},theirProps:{},defaultTag:eO.Fragment,features:s2,visible:"visible"===ef,name:"Transition"})))}function s3(ee,en){let er=null!==(0,eO.useContext)(sV),ei=null!==sj();return eO.createElement(eO.Fragment,null,!er&&ei?eO.createElement(s6,{ref:en,...ee}):eO.createElement(s7,{ref:en,...ee}))}let s6=(0,s_.yV)(s5),s7=(0,s_.yV)(s4),s9=(0,s_.yV)(s3),s8=Object.assign(s6,{Child:s9,Root:s6});var ot=er(4266),on=er(9946);function or(ee,en){let[er,ei]=(0,eO.useState)(ee),es=(0,sS.E)(ee);return(0,sC.e)(()=>ei(es.current),[es,ei,...en]),er}var oi=er(1363);function os(ee){throw Error("Unexpected object: "+ee)}var oo=((eo=oo||{})[eo.First=0]="First",eo[eo.Previous=1]="Previous",eo[eo.Next=2]="Next",eo[eo.Last=3]="Last",eo[eo.Specific=4]="Specific",eo[eo.Nothing=5]="Nothing",eo);function ol(ee,en){let er=en.resolveItems();if(er.length<=0)return null;let ei=en.resolveActiveIndex(),es=null!=ei?ei:-1,eo=(()=>{switch(ee.focus){case 0:return er.findIndex(ee=>!en.resolveDisabled(ee));case 1:{let ee=er.slice().reverse().findIndex((ee,er,ei)=>(-1===es||!(ei.length-er-1>=es))&&!en.resolveDisabled(ee));return -1===ee?ee:er.length-1-ee}case 2:return er.findIndex((ee,er)=>!(er<=es)&&!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:os(ee)}})();return -1===eo?ei:eo}function ou(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&&oc(er))&&ei}function oc(ee){if(!ee)return!1;let en=ee.previousElementSibling;for(;null!==en;){if(en instanceof HTMLLegendElement)return!1;en=en.previousElementSibling}return!0}var od=er(4575),of=er(4157);function op(ee,en,er){let ei=(0,sS.E)(en);(0,eO.useEffect)(()=>{function en(ee){ei.current(ee)}return document.addEventListener(ee,en,er),()=>document.removeEventListener(ee,en,er)},[ee,er])}function oh(ee,en,er){let ei=(0,sS.E)(en);(0,eO.useEffect)(()=>{function en(ee){ei.current(ee)}return window.addEventListener(ee,en,er),()=>window.removeEventListener(ee,en,er)},[ee,er])}function om(ee,en,er=!0){let ei=(0,eO.useRef)(!1);
9function es(er,es){if(!ei.current||er.defaultPrevented)return;let eo=es(er);if(null!==eo&&eo.getRootNode().contains(eo)&&eo.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(eo)||er.composed&&er.composedPath().includes(ee))return}return(0,od.sP)(eo,od.tJ.Loose)||-1===eo.tabIndex||er.preventDefault(),en(er,eo)}}(0,eO.useEffect)(()=>{requestAnimationFrame(()=>{ei.current=er})},[er]);let eo=(0,eO.useRef)(null);op("pointerdown",ee=>{var en,er;ei.current&&(eo.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),op("mousedown",ee=>{var en,er;ei.current&&(eo.current=(null==(er=null==(en=ee.composedPath)?void 0:en.call(ee))?void 0:er[0])||ee.target)},!0),op("click",ee=>{eo.current&&(es(ee,()=>eo.current),eo.current=null)},!0),op("touchend",ee=>es(ee,()=>ee.target instanceof HTMLElement?ee.target:null),!0),oh("blur",ee=>es(ee,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var ox=er(6045);function og(ee={},en=null,er=[]){for(let[ei,es]of Object.entries(ee))oy(er,ov(en,ei),es);return er}function ov(ee,en){return ee?ee+"["+en+"]":en}function oy(ee,en,er){if(Array.isArray(er))for(let[ei,es]of er.entries())oy(ee,ov(en,ei.toString()),es);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,""]):og(er,en,ee)}var ob=er(5466);function o_(ee,en,er){let[ei,es]=(0,eO.useState)(er),eo=void 0!==ee,eu=(0,eO.useRef)(eo),ec=(0,eO.useRef)(!1),ed=(0,eO.useRef)(!1);return!eo||eu.current||ec.current?eo||!eu.current||ed.current||(ed.current=!0,eu.current=eo,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=eo,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.")),[eo?ee:ei,(0,s$.z)(ee=>(eo||es(ee),null==en?void 0:en(ee)))]}function ow(ee){return[ee.screenX,ee.screenY]}function ok(){let ee=(0,eO.useRef)([-1,-1]);return{wasMoved(en){let er=ow(en);return(ee.current[0]!==er[0]||ee.current[1]!==er[1])&&(ee.current=er,!0)},update(en){ee.current=ow(en)}}}let oj=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function oE(ee){var en,er;let ei=null!=(en=ee.innerText)?en:"",es=ee.cloneNode(!0);if(!(es instanceof HTMLElement))return ei;let eo=!1;for(let ee of es.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))ee.remove(),eo=!0;let eu=eo?null!=(er=es.innerText)?er:"":ei;return oj.test(eu)&&(eu=eu.replace(oj,"")),eu}function oO(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():oE(en).trim()}return null}).filter(Boolean);if(ee.length>0)return ee.join(", ")}return oE(ee).trim()}function oT(ee){let en=(0,eO.useRef)(""),er=(0,eO.useRef)("");return(0,s$.z)(()=>{let ei=ee.current;if(!ei)return"";let es=ei.innerText;if(en.current===es)return er.current;let eo=oO(ei).trim().toLowerCase();return en.current=es,er.current=eo,eo})}var oC=((eu=oC||{})[eu.Open=0]="Open",eu[eu.Closed=1]="Closed",eu),oS=((ec=oS||{})[ec.Single=0]="Single",ec[ec.Multi=1]="Multi",ec),oN=((ed=oN||{})[ed.Pointer=0]="Pointer",ed[ed.Other=1]="Other",ed),oI=((ef=oI||{})[ef.OpenListbox=0]="OpenListbox",ef[ef.CloseListbox=1]="CloseListbox",ef[ef.GoToOption=2]="GoToOption",ef[ef.Search=3]="Search",ef[ef.ClearSearch=4]="ClearSearch",ef[ef.RegisterOption=5]="RegisterOption",ef[ef.
9UnregisterOption=6]="UnregisterOption",ef[ef.RegisterLabel=7]="RegisterLabel",ef);function oR(ee,en=ee=>ee){let er=null!==ee.activeOptionIndex?ee.options[ee.activeOptionIndex]:null,ei=(0,od.z2)(en(ee.options.slice()),ee=>ee.dataRef.current.domRef.current),es=er?ei.indexOf(er):null;return -1===es&&(es=null),{options:ei,activeOptionIndex:es}}let oA={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=oR(ee),es=ol(en,{resolveItems:()=>ei.options,resolveActiveIndex:()=>ei.activeOptionIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});return{...ee,...ei,searchQuery:"",activeOptionIndex:es,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(),es=(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))}),eo=es?ee.options.indexOf(es):-1;return -1===eo||eo===ee.activeOptionIndex?{...ee,searchQuery:ei}:{...ee,searchQuery:ei,activeOptionIndex:eo,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=oR(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=oR(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})},oP=(0,eO.createContext)(null);function oZ(ee){let en=(0,eO.useContext)(oP);if(null===en){let en=Error(`<${ee} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,oZ),en}return en}oP.displayName="ListboxActionsContext";let oL=(0,eO.createContext)(null);function oM(ee){let en=(0,eO.useContext)(oL);if(null===en){let en=Error(`<${ee} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,oM),en}return en}function oD(ee,en){return(0,sO.E)(en.type,oA,ee,en)}oL.displayName="ListboxDataContext";let oz=eO.Fragment;function o$(ee,en){let{value:er,defaultValue:ei,form:es,name:eo,onChange:eu,by:ec=(ee,en)=>ee===en,disabled:ed=!1,horizontal:ef=!1,multiple:ep=!1,...eh}=ee,em=ef?"horizontal":"vertical",ex=(0,sI.T)(en),[eg=ep?[]:void 0,ev]=o_(er,eu,ei),[ey,eb]=(0,eO.useReducer)(oD,{dataRef:(0,eO.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),e_=(0,eO.useRef)({static:!1,hold:!1}),ew=(0,eO.useRef)(null),ek=(0,eO.useRef)(null),ej=(0,eO.useRef)(null),eE=(0,s$.z)("string"==typeof ec?(ee,en)=>{let er=ec;return(null==ee?void 0:ee[er])===(null==en?void 0:en[er])}:ec),eT=(0,eO.useCallback)(ee=>(0,sO.E)(eC.mode,{1:()=>eg.some(en=>eE(en,ee)),0:()=>eE(eg,ee)}),[eg]),eC=(0,eO.useMemo)(()=>({...ey,value:eg,disabled:ed,mode:ep?1:0,orientation:em,compare:eE,isSelected:eT,optionsPropsRef:e_,labelRef:ew,buttonRef:ek,optionsRef:ej}),[eg,ed,ep,ey]);(0,sC.e)(()=>{ey.dataRef.current=eC},[eC]),om([eC.buttonRef,eC.optionsRef],(ee,en)=>{var er;eb({type:1}),(0,od.sP)(en,od.tJ.Loose)||(ee.preventDefault(),null==(er=eC.buttonRef.current)||er.focus())},0===eC.listboxState);let eS=(0,eO.useMemo)(()=>({open:0===eC.listboxState,disabled:ed,value:eg}),[eC,ed,eg]),eN=(0,s$.z)(ee=>{let en=eC.options.find(en=>en.id===ee);en&&eM(en.dataRef.current.value)}),eI=(0,s$.z)(()=>{if(null!==eC.activeOptionIndex){let{dataRef:ee,id:en}=eC.options[eC.activeOptionIndex];eM(ee.current.value),eb({type:2,focus:oo.Specific,id:en})}}),eR=(0,s$.z)(()=>eb({type:0})),eA=(0,s$.z)(()=>eb({type:1})),eP=(0,s$.z)((ee,en,er)=>
9ee===oo.Specific?eb({type:2,focus:oo.Specific,id:en,trigger:er}):eb({type:2,focus:ee,trigger:er})),eZ=(0,s$.z)((ee,en)=>(eb({type:5,id:ee,dataRef:en}),()=>eb({type:6,id:ee}))),eL=(0,s$.z)(ee=>(eb({type:7,id:ee}),()=>eb({type:7,id:null}))),eM=(0,s$.z)(ee=>(0,sO.E)(eC.mode,{0:()=>null==ev?void 0:ev(ee),1(){let en=eC.value.slice(),er=en.findIndex(en=>eE(en,ee));return -1===er?en.push(ee):en.splice(er,1),null==ev?void 0:ev(en)}})),eD=(0,s$.z)(ee=>eb({type:3,value:ee})),ez=(0,s$.z)(()=>eb({type:4})),e$=(0,eO.useMemo)(()=>({onChange:eM,registerOption:eZ,registerLabel:eL,goToOption:eP,closeListbox:eA,openListbox:eR,selectActiveOption:eI,selectOption:eN,search:eD,clearSearch:ez}),[]),eF={ref:ex},eU=(0,eO.useRef)(null),eW=sD();return(0,eO.useEffect)(()=>{eU.current&&void 0!==ei&&eW.addEventListener(eU.current,"reset",()=>{null==ev||ev(ei)})},[eU,ev]),eO.createElement(oP.Provider,{value:e$},eO.createElement(oL.Provider,{value:eC},eO.createElement(sE,{value:(0,sO.E)(eC.listboxState,{0:sk.Open,1:sk.Closed})},null!=eo&&null!=eg&&og({[eo]:eg}).map(([ee,en],er)=>eO.createElement(ox._,{features:ox.A.Hidden,ref:0===er?ee=>{var en;eU.current=null!=(en=null==ee?void 0:ee.closest("form"))?en:null}:void 0,...(0,s_.oA)({key:ee,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:es,name:ee,value:en})})),(0,s_.sY)({ourProps:eF,theirProps:eh,slot:eS,defaultTag:oz,name:"Listbox"}))))}let oF="button";function oU(ee,en){var er;let ei=(0,on.M)(),{id:es=`headlessui-listbox-button-${ei}`,...eo}=ee,eu=oM("Listbox.Button"),ec=oZ("Listbox.Button"),ed=(0,sI.T)(eu.buttonRef,en),ef=sD(),ep=(0,s$.z)(ee=>{switch(ee.key){case oi.R.Space:case oi.R.Enter:case oi.R.ArrowDown:ee.preventDefault(),ec.openListbox(),ef.nextFrame(()=>{eu.value||ec.goToOption(oo.First)});break;case oi.R.ArrowUp:ee.preventDefault(),ec.openListbox(),ef.nextFrame(()=>{eu.value||ec.goToOption(oo.Last)})}}),eh=(0,s$.z)(ee=>{ee.key===oi.R.Space&&ee.preventDefault()}),em=(0,s$.z)(ee=>{if(ou(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})}
9)):(ee.preventDefault(),ec.openListbox())}),ex=or(()=>{if(eu.labelId)return[eu.labelId,es].join(" ")},[eu.labelId,es]),eg=(0,eO.useMemo)(()=>({open:0===eu.listboxState,disabled:eu.disabled,value:eu.value}),[eu]),ev={ref:ed,id:es,type:(0,of.f)(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:ep,onKeyUp:eh,onClick:em};return(0,s_.sY)({ourProps:ev,theirProps:eo,slot:eg,defaultTag:oF,name:"Listbox.Button"})}let oW="label";function oV(ee,en){let er=(0,on.M)(),{id:ei=`headlessui-listbox-label-${er}`,...es}=ee,eo=oM("Listbox.Label"),eu=oZ("Listbox.Label"),ec=(0,sI.T)(eo.labelRef,en);(0,sC.e)(()=>eu.registerLabel(ei),[ei]);let ed=(0,s$.z)(()=>{var ee;return null==(ee=eo.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}),ef=(0,eO.useMemo)(()=>({open:0===eo.listboxState,disabled:eo.disabled}),[eo]);return(0,s_.sY)({ourProps:{ref:ec,id:ei,onClick:ed},theirProps:es,slot:ef,defaultTag:oW,name:"Listbox.Label"})}let oH="ul",oG=s_.AN.RenderStrategy|s_.AN.Static;function oB(ee,en){var er;let ei=(0,on.M)(),{id:es=`headlessui-listbox-options-${ei}`,...eo}=ee,eu=oM("Listbox.Options"),ec=oZ("Listbox.Options"),ed=(0,sI.T)(eu.optionsRef,en),ef=sD(),ep=sD(),eh=sj(),em=null!==eh?(eh&sk.Open)===sk.Open:0===eu.listboxState;(0,eO.useEffect)(()=>{var ee;let en=eu.optionsRef.current;en&&0===eu.listboxState&&en!==(null==(ee=(0,ob.r)(en))?void 0:ee.activeElement)&&en.focus({preventScroll:!0})},[eu.listboxState,eu.optionsRef]);let ex=(0,s$.z)(ee=>{switch(ep.dispose(),ee.key){case oi.R.Space:if(""!==eu.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ec.search(ee.key);case oi.R.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(),(0,sA.k)().nextFrame(()=>{var ee;return null==(ee=eu.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}
9));break;case(0,sO.E)(eu.orientation,{vertical:oi.R.ArrowDown,horizontal:oi.R.ArrowRight}):return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(oo.Next);case(0,sO.E)(eu.orientation,{vertical:oi.R.ArrowUp,horizontal:oi.R.ArrowLeft}):return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(oo.Previous);case oi.R.Home:case oi.R.PageUp:return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(oo.First);case oi.R.End:case oi.R.PageDown:return ee.preventDefault(),ee.stopPropagation(),ec.goToOption(oo.Last);case oi.R.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 oi.R.Tab:ee.preventDefault(),ee.stopPropagation();break;default:1===ee.key.length&&(ec.search(ee.key),ep.setTimeout(()=>ec.clearSearch(),350))}}),eg=or(()=>{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,eO.useMemo)(()=>({open:0===eu.listboxState}),[eu]),ey={"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:es,onKeyDown:ex,role:"listbox",tabIndex:0,ref:ed};return(0,s_.sY)({ourProps:ey,theirProps:eo,slot:ev,defaultTag:oH,features:oG,visible:em,name:"Listbox.Options"})}let oK="li";function oq(ee,en){let er=(0,on.M)(),{id:ei=`headlessui-listbox-option-${er}`,disabled:es=!1,value:eo,...eu}=ee,ec=oM("Listbox.Option"),ed=oZ("Listbox.Option"),ef=null!==ec.activeOptionIndex&&ec.options[ec.activeOptionIndex].id===ei,ep=ec.isSelected(eo),eh=(0,eO.useRef)(null),em=oT(eh),ex=(0,sS.E)({disabled:es,value:eo,domRef:eh,get textValue(){return em()}}),eg=(0,sI.T)(en,eh);(0,sC.e)(()=>{if(0!==ec.listboxState||!ef||0===ec.activationTrigger)return;let ee=(0,sA.k)();return ee.requestAnimationFrame(()=>{var ee,en;null==(en=null==(ee=eh.current)?void 0:ee.scrollIntoView)||en.call(ee,{block:"nearest"})}),ee.dispose},[eh,ef,ec.listboxState,ec.activationTrigger,ec.activeOptionIndex]),(0,sC.e)(()=>ed.registerOption(ei,ex),[ex,ei]);let ev=(0,s$.z)(ee=>{if(es)return ee.preventDefault();ed.onChange(eo),0===ec.mode&&(ed.closeListbox(),(0,sA.k)().nextFrame(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})}
9))}),ey=(0,s$.z)(()=>{if(es)return ed.goToOption(oo.Nothing);ed.goToOption(oo.Specific,ei)}),eb=ok(),e_=(0,s$.z)(ee=>eb.update(ee)),ew=(0,s$.z)(ee=>{eb.wasMoved(ee)&&(es||ef||ed.goToOption(oo.Specific,ei,0))}),ek=(0,s$.z)(ee=>{eb.wasMoved(ee)&&(es||ef&&ed.goToOption(oo.Nothing))}),ej=(0,eO.useMemo)(()=>({active:ef,selected:ep,disabled:es}),[ef,ep,es]);return(0,s_.sY)({ourProps:{id:ei,ref:eg,role:"option",tabIndex:!0===es?void 0:-1,"aria-disabled":!0===es||void 0,"aria-selected":ep,disabled:void 0,onClick:ev,onFocus:ey,onPointerEnter:e_,onMouseEnter:e_,onPointerMove:ew,onMouseMove:ew,onPointerLeave:ek,onMouseLeave:ek},theirProps:eu,slot:ej,defaultTag:oK,name:"Listbox.Option"})}let oY=Object.assign((0,s_.yV)(o$),{Button:(0,s_.yV)(oU),Label:(0,s_.yV)(oV),Options:(0,s_.yV)(oB),Option:(0,s_.yV)(oq)});var oQ=er(3935),oJ=er(9008),oX=er.n(oJ);function o0(){return(o0=Object.assign?Object.assign.bind():function(ee){for(var en=1;en<arguments.length;en++){var er=arguments[en];for(var ei in er)Object.prototype.hasOwnProperty.call(er,ei)&&(ee[ei]=er[ei])}return ee}).apply(this,arguments)}function o1(ee,en){if(null==ee)return{};var er,ei,es={},eo=Object.keys(ee);for(ei=0;ei<eo.length;ei++)er=eo[ei],en.indexOf(er)>=0||(es[er]=ee[er]);return es}var o2=["keyOverride"],o4=["crossOrigin"],o5={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},o3=function(ee,en,er){void 0===en&&(en=[]);var ei=void 0===er?{}:er,es=ei.defaultWidth,eo=ei.defaultHeight;return en.reduce(function(en,er,ei){return en.push(eO.createElement("meta",{key:"og:"+ee+":0"+ei,property:"og:"+ee,content:er.url})),er.alt&&en.push(eO.createElement("meta",{key:"og:"+ee+":alt0"+ei,property:"og:"+ee+":alt",content:er.alt})),er.secureUrl&&en.push(eO.createElement("meta",{key:"og:"+ee+":secure_url0"+ei,property:"og:"+ee+":secure_url",content:er.secureUrl.toString()})),er.type&&en.push(eO.createElement("meta",{key:"og:"+ee+":type0"+ei,property:"og:"+ee+":type",content:er.type.toString()})),er.width?en.push(eO.createElement("meta",{key:"og:"+ee+":width0"+ei,property:"og:"+ee+":width",content:er.width.toString()})):es&&en.push(eO.createElement("meta",{key:"og:"+ee+":width0"+ei,property:"og:"+ee+":width",content:es.toString()})),er.height?en.push(eO.createElement("meta",{key:"og:"+ee+":height"+ei,property:"og:"+ee+":height",content:er.height.toString()})):eo&&en.push(eO.createElement("meta",{key:"og:"+ee+":height"+ei,property:"og:"+ee+":height",content:eo.toString()})),en},[])},o6=function(ee){var en,er,ei,es,eo,eu=[];ee.titleTemplate&&(o5.templateTitle=ee.titleTemplate);var ec="";ee.title?(ec=ee.title,o5.templateTitle&&(ec=o5.templateTitle.replace(/%s/g,function(){return ec}))):ee.defaultTitle&&(ec=ee.defaultTitle),ec&&eu.push(eO.createElement("title",{key:"title"},ec));var ed=void 0===ee.noindex?o5.noindex||ee.dangerouslySetAllPagesToNoIndex:ee.noindex,ef=void 0===ee.nofollow?o5.nofollow||ee.dangerouslySetAllPagesToNoFollow:ee.nofollow,ep="";if(ee.robotsProps){var eh=ee.robotsProps,em=eh.nosnippet,ex=eh.maxSnippet,eg=eh.maxImagePreview,ev=eh.maxVideoPreview,ey=eh.noarchive,eb=eh.noimageindex,e_=eh.notranslate,ew=eh.unavailableAfter;ep=(em?",nosnippet":"")+(ex?",max-snippet:"+ex:"")+(eg?",max-image-preview:"+eg:"")+(ey?",noarchive":"")+(ew?",unavailable_after:"+ew:"")+(eb?",noimageindex":"")+(ev?",max-video-preview:"+ev:"")+(e_?",notranslate":"")}if(ed||ef?(ee.dangerouslySetAllPagesToNoIndex&&(o5.noindex=!0),ee.dangerouslySetAllPagesToNoFollow&&(o5.nofollow=!0),eu.push(eO.createElement("meta",{key:"robots",name:"robots",content:(ed?"noindex":"index")+","+(ef?"nofollow":"follow")+ep}))):eu.push(eO.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+ep})),ee.description&&eu.push(eO.createElement("meta",{key:"description",name:"description",content:ee.description})),ee.themeColor&&eu.push(eO.createElement("meta",{key:"theme-color",name:"theme-color",content:ee.themeColor})),ee.mobileAlternate&&eu.push(eO.createElement("link",{rel:"alternate",key:"mobileAlternate",media:ee.mobileAlternate.media,href:ee.mobileAlternate.href})),ee.languageAlternates&&ee.languageAlternates.length>
90&&ee.languageAlternates.forEach(function(ee){eu.push(eO.createElement("link",{rel:"alternate",key:"languageAlternate-"+ee.hrefLang,hrefLang:ee.hrefLang,href:ee.href}))}),ee.twitter&&(ee.twitter.cardType&&eu.push(eO.createElement("meta",{key:"twitter:card",name:"twitter:card",content:ee.twitter.cardType})),ee.twitter.site&&eu.push(eO.createElement("meta",{key:"twitter:site",name:"twitter:site",content:ee.twitter.site})),ee.twitter.handle&&eu.push(eO.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:ee.twitter.handle}))),ee.facebook&&ee.facebook.appId&&eu.push(eO.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:ee.facebook.appId})),(null!=(en=ee.openGraph)&&en.title||ec)&&eu.push(eO.createElement("meta",{key:"og:title",property:"og:title",content:(null==(es=ee.openGraph)?void 0:es.title)||ec})),(null!=(er=ee.openGraph)&&er.description||ee.description)&&eu.push(eO.createElement("meta",{key:"og:description",property:"og:description",content:(null==(eo=ee.openGraph)?void 0:eo.description)||ee.description})),ee.openGraph){if((ee.openGraph.url||ee.canonical)&&eu.push(eO.createElement("meta",{key:"og:url",property:"og:url",content:ee.openGraph.url||ee.canonical})),ee.openGraph.type){var ek=ee.openGraph.type.toLowerCase();eu.push(eO.createElement("meta",{key:"og:type",property:"og:type",content:ek})),"profile"===ek&&ee.openGraph.profile?(ee.openGraph.profile.firstName&&eu.push(eO.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:ee.openGraph.profile.firstName})),ee.openGraph.profile.lastName&&eu.push(eO.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:ee.openGraph.profile.lastName})),ee.openGraph.profile.username&&eu.push(eO.createElement("meta",{key:"profile:username",property:"profile:username",content:ee.openGraph.profile.username})),ee.openGraph.profile.gender&&eu.push(eO.createElement("meta",{key:"profile:gender",property:"profile:gender",content:ee.openGraph.profile.gender}))):"book"===ek&&ee.openGraph.book?(ee.openGraph.book.authors&&ee.openGraph.book.authors.length&&ee.openGraph.book.authors.forEach(function(ee,en){eu.push(eO.createElement("meta",{key:"book:author:0"+en,property:"book:author",content:ee}))}),ee.openGraph.book.isbn&&eu.push(eO.createElement("meta",{key:"book:isbn",property:"book:isbn",content:ee.openGraph.book.isbn})),ee.openGraph.book.releaseDate&&eu.push(eO.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.forEac
9h(function(ee,en){eu.push(eO.createElement("meta",{key:"book:tag:0"+en,property:"book:tag",content:ee}))})):"article"===ek&&ee.openGraph.article?(ee.openGraph.article.publishedTime&&eu.push(eO.createElement("meta",{key:"article:published_time",property:"article:published_time",content:ee.openGraph.article.publishedTime})),ee.openGraph.article.modifiedTime&&eu.push(eO.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:ee.openGraph.article.modifiedTime})),ee.openGraph.article.expirationTime&&eu.push(eO.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(eO.createElement("meta",{key:"article:author:0"+en,property:"article:author",content:ee}))}),ee.openGraph.article.section&&eu.push(eO.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(eO.createElement("meta",{key:"article:tag:0"+en,property:"article:tag",content:ee}))})):("video.movie"===ek||"video.episode"===ek||"video.tv_show"===ek||"video.other"===ek)&&ee.openGraph.video&&(ee.openGraph.video.actors&&ee.openGraph.video.actors.length&&ee.openGraph.video.actors.forEach(function(ee,en){ee.profile&&eu.push(eO.createElement("meta",{key:"video:actor:0"+en,property:"video:actor",content:ee.profile})),ee.role&&eu.push(eO.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(eO.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(eO.createElement("meta",{key:"video:writer:0"+en,property:"video:writer",content:ee}))}),ee.openGraph.video.duration&&eu.push(eO.createElement("meta",{key:"video:duration",property:"video:duration",content:ee.openGraph.video.duration.toString()})),ee.openGraph.video.releaseDate&&eu.push(eO.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.forEac
9h(function(ee,en){eu.push(eO.createElement("meta",{key:"video:tag:0"+en,property:"video:tag",content:ee}))}),ee.openGraph.video.series&&eu.push(eO.createElement("meta",{key:"video:series",property:"video:series",content:ee.openGraph.video.series})))}ee.defaultOpenGraphImageWidth&&(o5.defaultOpenGraphImageWidth=ee.defaultOpenGraphImageWidth),ee.defaultOpenGraphImageHeight&&(o5.defaultOpenGraphImageHeight=ee.defaultOpenGraphImageHeight),ee.openGraph.images&&ee.openGraph.images.length&&eu.push.apply(eu,o3("image",ee.openGraph.images,{defaultWidth:o5.defaultOpenGraphImageWidth,defaultHeight:o5.defaultOpenGraphImageHeight})),ee.defaultOpenGraphVideoWidth&&(o5.defaultOpenGraphVideoWidth=ee.defaultOpenGraphVideoWidth),ee.defaultOpenGraphVideoHeight&&(o5.defaultOpenGraphVideoHeight=ee.defaultOpenGraphVideoHeight),ee.openGraph.videos&&ee.openGraph.videos.length&&eu.push.apply(eu,o3("video",ee.openGraph.videos,{defaultWidth:o5.defaultOpenGraphVideoWidth,defaultHeight:o5.defaultOpenGraphVideoHeight})),ee.openGraph.audio&&eu.push.apply(eu,o3("audio",ee.openGraph.audio)),ee.openGraph.locale&&eu.push(eO.createElement("meta",{key:"og:locale",property:"og:locale",content:ee.openGraph.locale})),(ee.openGraph.siteName||ee.openGraph.site_name)&&eu.push(eO.createElement("meta",{key:"og:site_name",property:"og:site_name",content:ee.openGraph.siteName||ee.openGraph.site_name}))}return ee.canonical&&eu.push(eO.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,es=o1(ee,o2);eu.push(eO.createElement("meta",o0({key:"meta:"+(null!=(en=null!=(er=null!=ei?ei:es.name)?er:es.property)?en:es.httpEquiv)},es)))}),null!=(ei=ee.additionalLinkTags)&&ei.length&&ee.additionalLinkTags.forEach(function(ee){var en,er=ee.crossOrigin,ei=o1(ee,o4),es="anonymous"===er||"use-credentials"===er||""===er?er:void 0;eu.push(eO.createElement("link",o0({key:"link"+(null!=(en=ei.keyOverride)?en:ei.href)+ei.rel},ei,{crossOrigin:es})))}),eu},o7=function(ee){return eO.createElement(oX(),null,o6(ee))},o9=function(ee){var en=ee.title,er=ee.themeColor,ei=ee.noindex,es=ee.nofollow,eo=ee.robotsProps,eu=ee.description,ec=ee.canonical,ed=ee.openGraph,ef=ee.facebook,ep=ee.twitter,eh=ee.additionalMetaTags,em=ee.titleTemplate,ex=ee.defaultTitle,eg=ee.mobileAlternate,ev=ee.languageAlternates,ey=ee.additionalLinkTags;return eO.createElement(eO.Fragment,null,eO.createElement(o7,{title:en,themeColor:er,noindex:ei,nofollow:es,robotsProps:eo,description:eu,canonical:ec,facebook:ef,openGraph:ed,additionalMetaTags:eh,twitter:ep,titleTemplate:em,defaultTitle:ex,mobileAlternate:eg,languageAlternates:ev,additionalLinkTags:ey}))};function o8({container:ee,accept:en,walk:er,enabled:ei=!0}){let es=(0,eO.useRef)(en),eo=(0,eO.useRef)(er);(0,eO.useEffect)(()=>{es.current=en,eo.current=er},[en,er]),(0,sC.e)(()=>{if(!ee||!ei)return;let en=(0,ob.r)(ee);if(!en)return;let er=es.current,eu=eo.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,es,eo])}function lt(...ee){return(0,eO.useMemo)(()=>(0,ob.r)(...ee),[...ee])}RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var ln=((ep=ln||{})[ep.Open=0]="Open",ep[ep.Closed=1]="Closed",ep),lr=((eh=lr||{})[eh.Pointer=0]="Pointer",eh[eh.Other=1]="Other",eh),li=((em=li||{})[em.OpenMenu=0]="OpenMenu",em[em.CloseMenu=1]="CloseMenu",em[em.GoToItem=2]="GoToItem",em[em.Search=3]="Search",em[em.ClearSearch=4]="ClearSearch",em[em.RegisterItem=5]="RegisterItem",em[em.UnregisterItem=6]="UnregisterItem",em);function ls(ee,en=ee=>ee){let er=null!==ee.activeItemIndex?ee.items[ee.activeItemIndex]:null,ei=(0,od.z2)(en(ee.items.slice()),ee=>ee.dataRef.current.domRef.current),es=er?ei.indexOf(er):null;return -1===es&&(es=null),{items:ei,activeItemIndex:es}}let lo={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=ls(ee),es=ol(en,{resolveItems:()=>ei.items,resolveActiveIndex:()=>ei.activeItemIndex,resolveId:ee=>ee.id,resolveDisabled:ee=>ee.dataRef.current.disabled});
9return{...ee,...ei,searchQuery:"",activeItemIndex:es,activationTrigger:null!=(er=en.trigger)?er:1}},3:(ee,en)=>{let er=""!==ee.searchQuery?0:1,ei=ee.searchQuery+en.value.toLowerCase(),es=(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}),eo=es?ee.items.indexOf(es):-1;return -1===eo||eo===ee.activeItemIndex?{...ee,searchQuery:ei}:{...ee,searchQuery:ei,activeItemIndex:eo,activationTrigger:1}},4:ee=>""===ee.searchQuery?ee:{...ee,searchQuery:"",searchActiveItemIndex:null},5:(ee,en)=>{let er=ls(ee,ee=>[...ee,{id:en.id,dataRef:en.dataRef}]);return{...ee,...er}},6:(ee,en)=>{let er=ls(ee,ee=>{let er=ee.findIndex(ee=>ee.id===en.id);return -1!==er&&ee.splice(er,1),ee});return{...ee,...er,activationTrigger:1}}},ll=(0,eO.createContext)(null);function lu(ee){let en=(0,eO.useContext)(ll);if(null===en){let en=Error(`<${ee} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,lu),en}return en}function lc(ee,en){return(0,sO.E)(en.type,lo,ee,en)}ll.displayName="MenuContext";let ld=eO.Fragment;function lf(ee,en){let{__demoMode:er=!1,...ei}=ee,es=(0,eO.useReducer)(lc,{__demoMode:er,menuState:er?0:1,buttonRef:(0,eO.createRef)(),itemsRef:(0,eO.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:eo,itemsRef:eu,buttonRef:ec},ed]=es,ef=(0,sI.T)(en);om([ec,eu],(ee,en)=>{var er;ed({type:1}),(0,od.sP)(en,od.tJ.Loose)||(ee.preventDefault(),null==(er=ec.current)||er.focus())},0===eo);let ep=(0,s$.z)(()=>{ed({type:1})}),eh=(0,eO.useMemo)(()=>({open:0===eo,close:ep}),[eo,ep]),em={ref:ef};return eO.createElement(ll.Provider,{value:es},eO.createElement(sE,{value:(0,sO.E)(eo,{0:sk.Open,1:sk.Closed})},(0,s_.sY)({ourProps:em,theirProps:ei,slot:eh,defaultTag:ld,name:"Menu"})))}let lp="button";function lh(ee,en){var er;let ei=(0,on.M)(),{id:es=`headlessui-menu-button-${ei}`,...eo}=ee,[eu,ec]=lu("Menu.Button"),ed=(0,sI.T)(eu.buttonRef,en),ef=sD(),ep=(0,s$.z)(ee=>{switch(ee.key){case oi.R.Space:case oi.R.Enter:case oi.R.ArrowDown:ee.preventDefault(),ee.stopPropagation(),ec({type:0}),ef.nextFrame(()=>ec({type:2,focus:oo.First}));break;case oi.R.ArrowUp:ee.preventDefault(),ee.stopPropagation(),ec({type:0}),ef.nextFrame(()=>ec({type:2,focus:oo.Last}))}}),eh=(0,s$.z)(ee=>{ee.key===oi.R.Space&&ee.preventDefault()}),em=(0,s$.z)(en=>{if(ou(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})}
9)):(en.preventDefault(),ec({type:0})))}),ex=(0,eO.useMemo)(()=>({open:0===eu.menuState}),[eu]),eg={ref:ed,id:es,type:(0,of.f)(ee,eu.buttonRef),"aria-haspopup":"menu","aria-controls":null==(er=eu.itemsRef.current)?void 0:er.id,"aria-expanded":0===eu.menuState,onKeyDown:ep,onKeyUp:eh,onClick:em};return(0,s_.sY)({ourProps:eg,theirProps:eo,slot:ex,defaultTag:lp,name:"Menu.Button"})}let lm="div",lx=s_.AN.RenderStrategy|s_.AN.Static;function lg(ee,en){var er,ei;let es=(0,on.M)(),{id:eo=`headlessui-menu-items-${es}`,...eu}=ee,[ec,ed]=lu("Menu.Items"),ef=(0,sI.T)(ec.itemsRef,en),ep=lt(ec.itemsRef),eh=sD(),em=sj(),ex=null!==em?(em&sk.Open)===sk.Open:0===ec.menuState;(0,eO.useEffect)(()=>{let ee=ec.itemsRef.current;ee&&0===ec.menuState&&ee!==(null==ep?void 0:ep.activeElement)&&ee.focus({preventScroll:!0})},[ec.menuState,ec.itemsRef,ep]),o8({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=(0,s$.z)(ee=>{var en,er;switch(eh.dispose(),ee.key){case oi.R.Space:if(""!==ec.searchQuery)return ee.preventDefault(),ee.stopPropagation(),ed({type:3,value:ee.key});case oi.R.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()}(0,od.wI)(ec.buttonRef.current);break;case oi.R.ArrowDown:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:oo.Next});case oi.R.ArrowUp:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:oo.Previous});case oi.R.Home:case oi.R.PageUp:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:oo.First});case oi.R.End:case oi.R.PageDown:return ee.preventDefault(),ee.stopPropagation(),ed({type:2,focus:oo.Last});case oi.R.Escape:ee.preventDefault(),ee.stopPropagation(),ed({type:1}),(0,sA.k)().nextFrame(()=>{var ee;return null==(ee=ec.buttonRef.current)?void 0:ee.focus({preventScroll:!0})});break;case oi.R.Tab:ee.preventDefault(),ee.stopPropagation(),ed({type:1}),(0,sA.k)().nextFrame(()=>{(0,od.EO)(ec.buttonRef.current,ee.shiftKey?od.TO.Previous:od.TO.Next)});break;default:1===ee.key.length&&(ed({type:3,value:ee.key}),eh.setTimeout(()=>ed({type:4}),350))}}),ev=(0,s$.z)(ee=>{ee.key===oi.R.Space&&ee.preventDefault()}),ey=(0,eO.useMemo)(()=>({open:0===ec.menuState}),[ec]),eb={"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:eo,onKeyDown:eg,onKeyUp:ev,role:"menu",tabIndex:0,ref:ef};return(0,s_.sY)({ourProps:eb,theirProps:eu,slot:ey,defaultTag:lm,features:lx,visible:ex,name:"Menu.Items"})}let lv=eO.Fragment;function ly(ee,en){let er=(0,on.M)(),{id:ei=`headlessui-menu-item-${er}`,disabled:es=!1,...eo}=ee,[eu,ec]=lu("Menu.Item"),ed=null!==eu.activeItemIndex&&eu.items[eu.activeItemIndex].id===ei,ef=(0,eO.useRef)(null),ep=(0,sI.T)(en,ef);(0,sC.e)(()=>{if(eu.__demoMode||0!==eu.menuState||!ed||0===eu.activationTrigger)return;let ee=(0,sA.k)();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 eh=oT(ef),em=(0,eO.useRef)({disabled:es,domRef:ef,get textValue(){return eh()}});(0,sC.e)(()=>{em.current.disabled=es},[em,es]),(0,sC.e)(()=>(ec({type:5,id:ei,dataRef:em}),()=>ec({type:6,id:ei})),[em,ei]);let ex=(0,s$.z)(()=>{ec({type:1})}),eg=(0,s$.z)(ee=>{if(es)return ee.preventDefault();ec({type:1}),(0,od.wI)(eu.buttonRef.current)}),ev=(0,s$.z)(()=>{if(es)return ec({type:2,focus:oo.Nothing});ec({type:2,focus:oo.Specific,id:ei})}),ey=ok(),eb=(0,s$.z)(ee=>ey.update(ee)),e_=(0,s$.z)(ee=>{ey.wasMoved(ee)&&(es||ed||ec({type:2,focus:oo.Specific,id:ei,trigger:0}))}),ew=(0,s$.z)(ee=>{ey.wasMoved(ee)&&(es||ed&&ec({type:2,focus:oo.Nothing}))}),ek=(0,eO.useMemo)(()=>({active:ed,disabled:es,close:ex}),[ed,es,ex]);return(0,s_.sY)({ourProps:{id:ei,ref:ep,role:"menuitem",tabIndex:!0===es?void 0:-1,"aria-disabled":!0===es||void 0,disabled:void 0,onClick:eg,onFocus:ev,onPointerEnter:eb,onMouseEnter:eb,onPointerMove:e_,onMouseMove:e_,onPointerLeave:ew,onMouseLeave:ew},theirProps:eo,slot:ek,defaultTag:lv,name:"Menu.Item"})}let lb=Object.assign((0,s_.yV)(lf),{Button:(0,s_.yV)(lh),Items:(0,s_.yV)(lg),Item:(0,s_.yV)(ly)}),l_=ee=>"object"==typeof ee&&null!=ee&&1===ee.nodeType,lw=(ee,en)=>
9(!en||"hidden"!==ee)&&"visible"!==ee&&"clip"!==ee,lk=(ee,en)=>{if(ee.clientHeight<ee.scrollHeight||ee.clientWidth<ee.scrollWidth){let er=getComputedStyle(ee,null);return lw(er.overflowY,en)||lw(er.overflowX,en)||(ee=>{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.clientHeight<ee.scrollHeight||en.clientWidth<ee.scrollWidth)})(ee)}return!1},lj=(ee,en,er,ei,es,eo,eu,ec)=>eo<ee&&eu>en||eo>ee&&eu<en?0:eo<=ee&&ec<=er||eu>=en&&ec>=er?eo-ee-ei:eu>en&&ec<er||eo<ee&&ec>er?eu-en+es:0,lE=ee=>{let en=ee.parentElement;return null==en?ee.getRootNode().host||null:en},lO=(ee,en)=>{var er,ei,es,eo;if("undefined"==typeof document)return[];let{scrollMode:eu,block:ec,inline:ed,boundary:ef,skipOverflowHiddenElements:ep}=en,eh="function"==typeof ef?ef:ee=>ee!==ef;if(!l_(ee))throw TypeError("Invalid target");let em=document.scrollingElement||document.documentElement,ex=[],eg=ee;for(;l_(eg)&&eh(eg);){if((eg=lE(eg))===em){ex.push(eg);break}null!=eg&&eg===document.body&&lk(eg)&&!lk(document.documentElement)||null!=eg&&lk(eg,ep)&&ex.push(eg)}let ev=null!=(ei=null==(er=window.visualViewport)?void 0:er.width)?ei:innerWidth,ey=null!=(eo=null==(es=window.visualViewport)?void 0:es.height)?eo:innerHeight,{scrollX:eb,scrollY:e_}=window,{height:ew,width:ek,top:ej,right:eE,bottom:eO,left:eT}=ee.getBoundingClientRect(),eC="start"===ec||"nearest"===ec?ej:"end"===ec?eO:ej+ew/2,eS="center"===ed?eT+ek/2:"end"===ed?eE:eT,eN=[];for(let ee=0;ee<ex.length;ee++){let en=ex[ee],{height:er,width:ei,top:es,right:eo,bottom:ef,left:ep}=en.getBoundingClientRect();if("if-needed"===eu&&ej>=0&&eT>=0&&eO<=ey&&eE<=ev&&ej>=es&&eO<=ef&&eT>=ep&&eE<=eo)break;let eh=getComputedStyle(en),eg=parseInt(eh.borderLeftWidth,10),eI=parseInt(eh.borderTopWidth,10),eR=parseInt(eh.borderRightWidth,10),eA=parseInt(eh.borderBottomWidth,10),eP=0,eZ=0,eL="offsetWidth"in en?en.offsetWidth-en.clientWidth-eg-eR:0,eM="offsetHeight"in en?en.offsetHeight-en.clientHeight-eI-eA:0,eD="offsetWidth"in en?0===en.offsetWidth?0:ei/en.offsetWidth:0,ez="offsetHeight"in en?0===en.offsetHeight?0:er/en.offsetHeight:0;if(em===en)eP="start"===ec?eC:"end"===ec?eC-ey:"nearest"===ec?lj(e_,e_+ey,ey,eI,eA,e_+eC,e_+eC+ew,ew):eC-ey/2,eZ="start"===ed?eS:"center"===ed?eS-ev/2:"end"===ed?eS-ev:lj(eb,eb+ev,ev,eg,eR,eb+eS,eb+eS+ek,ek),eP=Math.max(0,eP+e_),eZ=Math.max(0,eZ+eb);else{eP="start"===ec?eC-es-eI:"end"===ec?eC-ef+eA+eM:"nearest"===ec?lj(es,ef,er,eI,eA+eM,eC,eC+ew,ew):eC-(es+er/2)+eM/2,eZ="start"===ed?eS-ep-eg:"center"===ed?eS-(ep+ei/2)+eL/2:"end"===ed?eS-eo+eR+eL:lj(ep,eo,ei,eg,eR+eL,eS,eS+ek,ek);let{scrollLeft:ee,scrollTop:eu}=en;eP=Math.max(0,Math.min(eu+eP/ez,en.scrollHeight-er/ez+eM)),eZ=Math.max(0,Math.min(ee+eZ/eD,en.scrollWidth-ei/eD+eL)),eC+=eu-eP,eS+=ee-eZ}eN.push({el:en,top:eP,left:eZ})}return eN},lT=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 lC(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(lO(ee,en));let ei="boolean"==typeof en||null==en?void 0:en.behavior;for(let{el:er,top:es,left:eo}of lO(ee,lT(en)))er.scroll({top:es,left:eo,behavior:ei})}function lS(){return(lS=Object.assign?Object.assign.bind():function(ee){for(var en=1;en<arguments.length;en++){var er=arguments[en];for(var ei in er)Object.prototype.hasOwnProperty.call(er,ei)&&(ee[ei]=er[ei])}return ee}).apply(this,arguments)}var lN=er(6826),lI=er.n(lN),lR={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};lP.rankings=lR;var lA=function(ee,en){return String(ee.rankedValue).localeCompare(String(en.rankedValue))};function lP(ee,en,er){void 0===er&&(er={});var ei=er,es=ei.keys,eo=ei.threshold,eu=void 0===eo?lR.MATCHES:eo,ec=ei.baseSort,ed=void 0===ec?lA:ec,ef=ei.sorter;return(void 0===ef?function(ee){return ee.sort(function(ee,en){return lz(ee,en,ed)})}:ef)(ee.reduce(ep,[])).map(function(ee){return ee.item});function ep(ee,ei,eo){var ec=lZ(ei,es,en,er),ed=ec.rank,ef=ec.keyThreshold;return ed>=(void 0===ef?eu:ef)&&ee.push(lS({},ec,{item:ei,index:eo})),ee}}function lZ(ee,en,er,ei){if(!en){var es=ee;return{rankedValue:es,rank:lL(es,er,ei),keyIndex:-1,keyThreshold:ei.threshold}}return lW(ee,en).reduce(function(ee,en,es){var eo=ee.rank,eu=ee.rankedValue,ec=ee.keyIndex,ed=ee.keyThreshold,ef=en.itemValue,ep=en.attributes,eh=lL(ef,er,ei),em=eu,ex=ep.minRanking,eg=ep.maxRanking,ev=ep.threshold;return eh<ex&&eh>=lR.MATCHES?eh=ex:eh>eg&&(eh=eg),eh>eo&&(eo=eh,ec=es,ed=ev,em=ef),{rankedValue:em,rank:eo,keyIndex:ec,
9keyThreshold:ed}},{rankedValue:ee,rank:lR.NO_MATCH,keyIndex:-1,keyThreshold:ei.threshold})}function lL(ee,en,er){return(ee=l$(ee,er),(en=l$(en,er)).length>ee.length)?lR.NO_MATCH:ee===en?lR.CASE_SENSITIVE_EQUAL:(ee=ee.toLowerCase())===(en=en.toLowerCase())?lR.EQUAL:ee.startsWith(en)?lR.STARTS_WITH:ee.includes(" "+en)?lR.WORD_STARTS_WITH:ee.includes(en)?lR.CONTAINS:1===en.length?lR.NO_MATCH:lM(ee).includes(en)?lR.ACRONYM:lD(ee,en)}function lM(ee){var en="";return ee.split(" ").forEach(function(ee){ee.split("-").forEach(function(ee){en+=ee.substr(0,1)})}),en}function lD(ee,en){var er=0,ei=0;function es(ee,en,ei){for(var es=ei,eo=en.length;es<eo;es++)if(en[es]===ee)return er+=1,es+1;return -1}function eo(ee){var ei=1/ee,es=er/en.length;return lR.MATCHES+es*ei}var eu=es(en[0],ee,0);if(eu<0)return lR.NO_MATCH;ei=eu;for(var ec=1,ed=en.length;ec<ed;ec++)if(!((ei=es(en[ec],ee,ei))>-1))return lR.NO_MATCH;return eo(ei-eu)}function lz(ee,en,er){var ei=-1,es=1,eo=ee.rank,eu=ee.keyIndex,ec=en.rank,ed=en.keyIndex;return eo!==ec?eo>ec?ei:es:eu===ed?er(ee,en):eu<ed?ei:es}function l$(ee,en){return ee=""+ee,en.keepDiacritics||(ee=lI()(ee)),ee}function lF(ee,en){var er;if("object"==typeof en&&(en=en.key),"function"==typeof en)er=en(ee);else if(null==ee)er=null;else if(Object.hasOwnProperty.call(ee,en))er=ee[en];else{if(en.includes("."))return lU(en,ee);er=null}return null==er?[]:Array.isArray(er)?er:[String(er)]}function lU(ee,en){for(var er=ee.split("."),ei=[en],es=0,eo=er.length;es<eo;es++){for(var eu=er[es],ec=[],ed=0,ef=ei.length;ed<ef;ed++){var ep=ei[ed];if(null!=ep){if(Object.hasOwnProperty.call(ep,eu)){var eh=ep[eu];null!=eh&&ec.push(eh)}else"*"===eu&&(ec=ec.concat(ep))}}ei=ec}if(Array.isArray(ei[0])){var em=[];return em.concat.apply(em,ei)}return ei}function lW(ee,en){for(var er=[],ei=0,es=en.length;ei<es;ei++)for(var eo=en[ei],eu=lH(eo),ec=lF(ee,eo),ed=0,ef=ec.length;ed<ef;ed++)er.push({itemValue:ec[ed],attributes:eu});return er}var lV={maxRanking:1/0,minRanking:-1/0};function lH(ee){return"string"==typeof ee?lV:lS({},lV,ee)}var lG=er(9013),lB=Object.defineProperty,lK=Object.defineProperties,lq=Object.getOwnPropertyDescriptors,lY=Object.getOwnPropertySymbols,lQ=Object.prototype.hasOwnProperty,lJ=Object.prototype.propertyIsEnumerable,lX=(ee,en,er)=>en in ee?lB(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,l0=(ee,en)=>{for(var er in en||(en={}))lQ.call(en,er)&&lX(ee,er,en[er]);if(lY)for(var er of lY(en))lJ.call(en,er)&&lX(ee,er,en[er]);return ee},l1=(ee,en)=>lK(ee,lq(en)),l2=(ee,en)=>{var er={};for(var ei in ee)lQ.call(ee,ei)&&0>en.indexOf(ei)&&(er[ei]=ee[ei]);if(null!=ee&&lY)for(var ei of lY(ee))0>en.indexOf(ei)&&lJ.call(ee,ei)&&(er[ei]=ee[ei]);return er},l4=(ee,en,er)=>new Promise((ei,es)=>{var eo=ee=>{try{ec(er.next(ee))}catch(ee){es(ee)}},eu=ee=>{try{ec(er.throw(ee))}catch(ee){es(ee)}},ec=ee=>ee.done?ei(ee.value):Promise.resolve(ee.value).then(eo,eu);ec((er=er.apply(ee,en)).next())}),l5=(0,eO.createContext)({}),l3=(0,eO.createContext)(ee=>ee),l6=(0,eO.createContext)(null),l7=new WeakMap,l9=(0,eO.createContext)(l7),l8=()=>(0,eO.useContext)(l5),ut=()=>(0,eO.useContext)(l3),un=()=>(0,eO.useContext)(l6),ur=()=>(0,eO.useContext)(l9),ui=({children:ee})=>{let[en,er]=(0,eO.useState)({}),ei=(0,eO.useRef)(null);return cr&&!ei.current&&(ei.current=new IntersectionObserver(ee=>{er(en=>{let er=l0({},en);for(let en of ee)if((null==en?void 0:en.rootBounds)&&l7.has(en.target)){let[ee,ei]=l7.get(en.target),es=en.boundingClientRect.y+en.boundingClientRect.height<=en.rootBounds.y+en.rootBounds.height,eo=en.intersectionRatio>0;er[ee]={index:ei,aboveHalfViewport:es,insideHalfViewport:eo}}let ei="",es=1/0,eo=-1;for(let ee in er)er[ee].isActive=!1,er[ee].insideHalfViewport&&er[ee].index<es&&(es=er[ee].index,ei=ee),es===1/0&&er[ee].aboveHalfViewport&&er[ee].index>eo&&(eo=er[ee].index,ei=ee);return er[ei]&&(er[ei].isActive=!0),er})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,nI.jsx)(l5.Provider,{value:en,children:(0,nI.jsx)(l3.Provider,{value:er,children:(0,nI.jsx)(l9.Provider,{value:l7,children:(0,nI.jsx)(l6.Provider,{value:ei.current,children:ee})})})})},us=(0,eO.createContext)({menu:!1,setMenu:()=>!1}),uo=()=>(0,eO.useContext)(us),ul=us.Provider,uu=(0,eO.createContext)(l0({title:"",frontMatter:{}},cf));function uc(){return(0,eO.useContext)(uu)}var ud=({children:ee,value:{themeConfig:en,pageOpts:er}})=>{let[ei,es]=(0,eO.useState)(!1);ej||(ej=l0(l0({},cf),Object.fromEntries(Object.entries(en).map(([ee,en])=>[ee,en&&"object"==typeof en&&cp.includes(ee)?l0(l0({},cf[ee]),en):en]))));let eo=l1(l0(l1(l0({},ej),{flexsearch:er.flexsearch}),"boolean"==typeof er.newNextLinkBehavior&&{newNextLinkBehavior:er.newNextLinkBehavior}),{title:er.title,frontMatter:er.frontMatter}),{nextThemes:eu}=eo;return(0,nI.jsx)(nD,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:eu.defaultTheme,storageKey:eu.storageKey,forcedTheme:eu.forcedTheme,children:(0,nI.jsx)(uu.Provider,{value:eo,children:(0,nI.jsx)(ul,{value:{menu:ei,setMenu:es},children:ee})})})},uf=(0,eO.createContext)(ee=>ee),up=()=>(0,eO.useContext)(uf),uh=uf.Provider,um=Number("13.4.19".split(".")[0]),ux=(0,eO.forwardRef)(function(ee,en){var er=ee,{href:ei="",children:es,newWindow:eo}=er,eu=l2(er,["href","children","newWindow"]);let ec=uc();return eo?(0,nI.jsxs)("a",l1(l0({ref:en,href:ei,target:"_blank",rel:"noreferrer"},eu),{children:[es,(0,nI.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):ei?um>12||ec.newNextLinkBehavior?(0,nI.jsx)(nN(),l1(l0({ref:en,href:ei},eu),{children:es})):(0,nI.jsx)(nN(),{href:ei,passHref:!0,children:(0,nI.jsx)("a",l1(l0({ref:en},eu),{children:es}))}):(0,nI.jsx)("a",l1(l0({ref:en},eu),{children:es}))});ux.displayName="Anchor";var ug=({repository:ee="",title:en,labels:er})=>{let ei=a0()(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} 10`)}`:""}`:ei.resource.includes("github")?`${ei.protocol}://${ei.resource}/${ei.owner}/${ei.name}/issues/new?title=${encodeURIComponent(en)}&labels=${er||""}`:"#"};function uv(ee,en){return ee?"function"!=typeof ee?ee:(0,nI.jsx)(ee,l0({},en)):null}function uy(ee,en={}){let er="function"==typeof ee?ee(en):ee;return er||""}function ub(ee){let en=(0,eO.useRef)(null),er=(0,eO.useRef)(null),ei=(0,eO.useRef)(),es=(0,eO.useCallback)(()=>{var es;en.current&&er.current&&(null==(es=ei.current)||es.call(ei),ei.current=sg(en.current,er.current,ee).destroy)},[en,er,ei,ee]);return(0,eO.useMemo)(()=>[ee=>{en.current=ee,es()},ee=>{er.current=ee,es()}],[en,er,es])}function u_(ee=""){let en=uc(),er=a0()(en.docsRepositoryBase||"");if(!er)throw Error("Invalid `docsRepositoryBase` URL!");return`${er.href}/${ee}`}function uw(){let{banner:ee}=uc();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,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("script",{dangerouslySetInnerHTML:{__html:en}}),(0,nI.jsxs)("div",{className:(0,eT.Z)("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,nI.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:uv(ee.text)}),ee.dismissible&&(0,nI.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,nI.jsx)(eA.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function uk({activePath:ee}){return(0,nI.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,es=er===ee.length-1;return(0,nI.jsxs)(eO.Fragment,{children:[er>0&&(0,nI.jsx)(eA.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,nI.jsx)("div",{className:(0,eT.Z)("nx-whitespace-nowrap nx-transition-colors",es?"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&&!es?(0,nI.jsx)(ux,{href:en.route,children:en.title}):en.title})]},en.route+en.name)})})}function uj({children:ee,className:en,isOpen:er,horizontal:ei=!1}){let es=(0,eO.useRef)(null),eo=(0,eO.useRef)(null),eu=(0,eO.useRef)(0),ec=(0,eO.useRef)(er),ed=(0,eO.useRef)(!0);return(0,eO.useEffect)(()=>{let ee=es.current,en=eo.current,ec=eu.current;
10ec&&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,eO.useEffect)(()=>{ed.current=!1},[]),(0,nI.jsx)("div",{ref:es,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,nI.jsx)("div",{ref:eo,className:(0,eT.Z)("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 uE=(0,eO.memo)(function({value:ee,match:en}){let er;if(!ee)return null;let ei=ee.split(""),es=sb(en.trim()),eo=RegExp(es.replaceAll(" ","|"),"ig"),eu=0,ec=[];for(;(er=eo.exec(ee))&&0!==eo.lastIndex;){let ee=ei.splice(0,er.index-eu).join(""),en=ei.splice(0,eo.lastIndex-er.index).join("");ec.push(ee,(0,nI.jsx)("span",{className:"nx-text-primary-600",children:en},er.index)),eu=eo.lastIndex}return(0,nI.jsxs)(nI.Fragment,{children:[ec,ei.join("")]})}),uO=(0,eO.forwardRef)((ee,en)=>{var er=ee,{className:ei,suffix:es}=er,eo=l2(er,["className","suffix"]);return(0,nI.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,nI.jsx)("input",l0({ref:en,spellCheck:!1,className:(0,eT.Z)(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")},eo)),es]})});uO.displayName="Input";var uT=["input","select","button","textarea"];function uC({className:ee,overlayClassName:en,value:er,onChange:ei,onActive:es,loading:eo,error:eu,results:ec}){let[ed,ef]=(0,eO.useState)(!1),ep=uc(),[eh,em]=(0,eO.useState)(0),ex=(0,eE.useRouter)(),{setMenu:eg}=uo(),ev=(0,eO.useRef)(null),ey=(0,eO.useRef)(null),[eb,e_]=(0,eO.useState)(!1),[ew,ek]=(0,eO.useState)(!0);(0,eO.useEffect)(()=>{em(0)},[er]),(0,eO.useEffect)(()=>{let ee=ee=>{let en=document.activeElement,er=null==en?void 0:en.tagName.toLowerCase();!ev.current||!er||uT.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,eO.useCallback)(()=>{var ee;null==(ee=ev.current)||ee.blur(),ei(""),ef(!1),eg(!1)},[ei,eg]),eS=(0,eO.useCallback)(ee=>{let{index:en}=ee.currentTarget.dataset;em(Number(en))},[]),eN=(0,eO.useCallback)(function(ee){var en,er,ei;switch(ee.key){case"ArrowDown":if(eh+1<ec.length){let er=null==(en=ey.current)?void 0:en.querySelector(`li:nth-of-type(${eh+2}) > a`);er&&(ee.preventDefault(),eS({currentTarget:er}),er.focus())}break;case"ArrowUp":if(eh-1>=0){let en=null==(er=ey.current)?void 0:er.querySelector(`li:nth-of-type(${eh}) > a`);en&&(ee.preventDefault(),eS({currentTarget:en}),en.focus())}break;case"Enter":{let ee=ec[eh];ee&&ew&&(ex.push(ee.route),ej());break}case"Escape":ef(!1),null==(ei=ev.current)||ei.blur()}},[eh,ec,ex,ej,eS,ew]),eI=eC(),eR=ed&&!!er,eP=(0,nI.jsx)(s8,{show:eI&&(!ed||!!er),as:eO.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,nI.jsx)("kbd",{className:(0,eT.Z)("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":eI&&(navigator.userAgent.includes("Macintosh")?(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("span",{className:"nx-text-xs",children:"â"}),"K"]}):"CTRL K")})}),eZ=(0,eO.useCallback)(ee=>{ek("compositionend"===ee.type)},[]);return(0,nI.jsxs)("div",{className:(0,eT.Z)("nextra-search nx-relative md:nx-w-64",ee),children:[eR&&(0,nI.jsx)("div",{className:"nx-fixed nx-inset-0
10nx-z-10",onClick:()=>ef(!1)}),(0,nI.jsx)(uO,{ref:ev,value:er,onChange:ee=>{let{value:en}=ee.target;ei(en),ef(!!en)},onFocus:()=>{null==es||es(!0),e_(!0)},onBlur:()=>{e_(!1)},onCompositionStart:eZ,onCompositionEnd:eZ,type:"search",placeholder:uy(ep.search.placeholder),onKeyDown:eN,suffix:eP}),(0,nI.jsx)(s8,{show:eR,as:s8.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,nI.jsx)("ul",{className:(0,eT.Z)("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,nI.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,nI.jsx)(eA.AV,{className:"nx-h-5 nx-w-5"}),uy(ep.search.error)]}):eo?(0,nI.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,nI.jsx)(eA.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),uv(ep.search.loading)]}):ec.length>0?ec.map(({route:ee,prefix:en,children:er,id:ei},es)=>(0,nI.jsxs)(eO.Fragment,{children:[en,(0,nI.jsx)("li",{className:(0,eT.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",es===eh?"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,nI.jsx)(ux,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:ee,"data-index":es,onFocus:eS,onMouseMove:eS,onClick:ej,onKeyDown:eN,children:er})})]},ei)):uv(ep.search.emptyResult)})})]})}var uS={},uN=new Map,uI=(ee,en)=>{let er=ee+"@"+en;if(uN.has(er))return uN.get(er);let ei=uR(ee,en);return uN.set(er,ei),ei},uR=(ee,en)=>l4(void 0,null,function*(){let er=yield fetch(`${ee}/_next/static/chunks/nextra-data-${en}.json`),ei=yield er.json(),es=new(sy()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),eo=new(sy()).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,en]of Object.entries(ei)){let er="";for(let[ei,es]of(++eu,Object.entries(en.data))){let[ec,ed]=ei.split("#"),ef=ee+(ec?"#"+ec:""),ep=ed||en.title,eh=es.split("\n");eo.add(l0({id:ef,url:ef,title:ep,pageId:`page_${eu}`,content:ep},eh[0]&&{display:eh[0]}));for(let ee=0;ee<eh.length;ee++)eo.add({id:`${ef}_${ee}`,url:ef,title:ep,pageId:`page_${eu}`,content:eh[ee]});er+=` ${ep} ${es}`}es.add({id:eu,title:en.title,content:er})}uS[en]=[es,eo]});function uA({className:ee}){let{locale:en=cn,basePath:er}=(0,eE.useRouter)(),[ei,es]=(0,eO.useState)(!1),[eo,eu]=(0,eO.useState)(!1),[ec,ed]=(0,eO.useState)([]),[ef,ep]=(0,eO.useState)(""),eh=ee=>{var er,ei;if(!ee)return;let[es,eo]=uS[en],eu=(null==(er=es.search(ee,5,{enrich:!0,suggest:!0})[0])?void 0:er.result)||[],ec=[],ef={};for(let en=0;en<eu.length;en++){let er=eu[en];ef[en]=0;let es=(null==(ei=eo.search(ee,5,{enrich:!0,suggest:!0,tag:`page_${er.id}`})[0])?void 0:ei.result)||[],ed=!0,ep={};for(let ei=0;ei<es.length;ei++){let{doc:eo}=es[ei],eu=void 0!==eo.display;eu&&ef[en]++;let{url:eh,title:em}=eo,ex=eo.display||eo.content;ep[eh+"@"+ex]||(ep[eh+"@"+ex]=!0,ec.push({_page_rk:en,_section_rk:ei,route:eh,prefix:ed&&(0,nI.jsx)("div",{className:(0,eT.Z)("nx-mx-2.5 nx-mb-2 nx-mt-6 nx-select-none nx-border-b nx-border-black/10 nx-px-2.5 nx-pb-1.5 nx-text-xs nx-font-semibold nx-uppercase nx-text-gray-500 first:nx-mt-0 dark:nx-border-white/20 dark:nx-text-gray-300","contrast-more:nx-border-gray-600 contrast-more:nx-text-gray-900 contrast-more:dark:nx-border-gray-50 contrast-more:dark:nx-text-gray-50"),children:er.doc.title}),children:(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("div",{className:"nx-text-base nx-font-semibold nx-leading-5",children:(0,nI.jsx)(uE,{match:ee,value:em})}),ex&&(0,nI.jsx)("div",{className:"excerpt nx-mt-1 nx-text-sm nx-leading-[1.35rem] nx-text-gray-600 dark:nx-text-gray-400 contrast-more:dark:nx-text-gray-50",children:(0,nI.jsx)(uE,{match:ee,value:ex})})]})}),ed=!1)}}ed(ec.sort((ee,en)=>ee._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,eO.useCallback)(ee=>l4(this,null,function*(){if(ee&&!uS[en]){es(!0);try{yield uI(er,en)}catch(ee){eu(!0)}es(!1)}}),[en,er]),ex=ee=>l4(this,null,function*(){if(ep(ee),!ei){if(!uS[en]){es(!0);try{yield uI(er,en)}catch(ee){eu(!0)}es(!1)}eh(ee)}});return(0,nI.jsx)(uC,{loading:ei,error:eo,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 uP({options:ee,selected:en,onChange:er,title:ei,className:es}){let[eo,eu]=ub({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,nI.jsx)(oY,{value:en,onChange:er,children:({open:er})=>(0,nI.jsxs)(oY.Button,{ref:eo,title:ei,className:(0,eT.Z)("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",es),children:[en.name,(0,nI.jsx)(uZ,{children:(0,nI.jsx)(s8,{ref:eu,show:er,as:oY.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,nI.jsxs)(oY.Option,{value:ee,className:({active:ee})=>(0,eT.Z)(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,nI.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,nI.jsx)(eA.nQ,{})})]},ee.key))})})]})})}function uZ(ee){let en=eC();return en?(0,oQ.createPortal)(ee.children,document.body):null}function uL({lite:ee,className:en}
10){let er=uc(),{locale:ei,asPath:es}=(0,eE.useRouter)(),eo=er.i18n;if(!eo.length)return null;let eu=eo.find(ee=>ei===ee.locale);return(0,nI.jsx)(uP,{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,ot.addBasePath)(es)},selected:{key:(null==eu?void 0:eu.locale)||"",name:(0,nI.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,nI.jsx)(eA.n9,{}),(0,nI.jsx)("span",{className:ee?"nx-hidden":"",children:null==eu?void 0:eu.text})]})},options:eo.map(ee=>({key:ee.locale,name:ee.text}))})}function uM({menu:ee}){let en=uc();return(0,nI.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,nI.jsxs)("div",{className:(0,eT.Z)("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,nI.jsx)(uL,{}),en.darkMode&&uv(en.themeSwitch.component)]}),(0,nI.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,nI.jsx)("div",{className:(0,eT.Z)("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:uv(en.footer.text)})]})}function uD(){var ee;let en=uc(),{resolvedTheme:er}=nM(),ei=eC(),es="function"==typeof en.head?en.head({}):en.head,eo=en.primaryHue,{dark:eu,light:ec}="number"==typeof eo?{dark:eo,light:eo}:eo,ed=en.frontMatter;return(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)(o9,l0({title:en.title,description:ed.description,canonical:ed.canonical,openGraph:ed.openGraph},null==(ee=en.useNextSeoProps)?void 0:ee.call(en))),(0,nI.jsxs)(oX(),{children:[en.faviconGlyph?(0,nI.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text x='50' y='.9em' font-size='90' text-anchor='middle'>${en.faviconGlyph}</text><style>text{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";fill:black}@media(prefers-color-scheme:dark){text{fill:white}}</style></svg>`}):null,ei?(0,nI.jsx)("meta",{name:"theme-color",content:"dark"===er?"#111":"#fff"}):(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,nI.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,nI.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,nI.jsx)("style",{children:` 11 :root { 12 --nextra-primary-hue: ${ec}deg; 13 --nextra-navbar-height: 4rem; 14 --nextra-menu-height: 3.75rem; 15 --nextra-banner-height: 2.5rem; 16 } 17 18 .dark { 19 --nextra-primary-hue: ${eu}deg; 20 } 21 `}),es]})]})}var uz={link:(0,eT.Z)("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:(0,eT.Z)("nx-inline nx-h-5 nx-shrink-0")},u$=({flatDirectories:ee,currentIndex:en})=>{let er=uc(),ei=er.navigation,es="boolean"==typeof ei?{prev:ei,next:ei}:ei,eo=es.prev&&ee[en-1],eu=es.next&&ee[en+1];return(eo&&!eo.isUnderCurrentDocsTree&&(eo=!1),eu&&!eu.isUnderCurrentDocsTree&&(eu=!1),eo||eu)?(0,nI.jsxs)("div",{className:(0,eT.Z)("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:[eo&&(0,nI.jsxs)(ux,{href:eo.route,title:eo.title,className:(0,eT.Z)(uz.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,nI.jsx)(eA.LZ,{className:(0,eT.Z)(uz.icon,"ltr:nx-rotate-180")}),eo.title]}),eu&&(0,nI.jsxs)(ux,{href:eu.route,title:eu.title,className:(0,eT.Z)(uz.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,nI.jsx)(eA.LZ,{className:(0,eT.Z)(uz.icon,"rtl:nx-rotate-180")}
21)]})]}):null},uF={link:(0,eT.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,eT.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,eT.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function uU({className:ee,menu:en,children:er}){let{items:ei}=en,es=Object.fromEntries((en.children||[]).map(ee=>[ee.name,ee]));return(0,nI.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,nI.jsxs)(lb,{children:[(0,nI.jsx)(lb.Button,{className:(0,eT.Z)(ee,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",uF.inactive),children:er}),(0,nI.jsx)(s8,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,nI.jsx)(lb.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,nI.jsx)(lb.Item,{children:(0,nI.jsx)(ux,{href:er.href||(null==(ei=es[ee])?void 0:ei.route)||en.route+"/"+ee,className:(0,eT.Z)("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 uW({flatDirectories:ee,items:en}){let er=uc(),ei=eI(),{menu:es,setMenu:eo}=uo();return(0,nI.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,nI.jsx)("div",{className:(0,eT.Z)("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,nI.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,nI.jsx)(ux,{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:uv(er.logo)}):(0,nI.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:uv(er.logo)}),en.map(ee=>{if("hidden"===ee.display)return null;if("menu"===ee.type){let en=ee;return(0,nI.jsxs)(uU,{className:(0,eT.Z)(uF.link,"nx-flex nx-gap-1",uF.inactive),menu:en,children:[en.title,(0,nI.jsx)(eA.LZ,{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 es=en.route===ei||ei.startsWith(en.route+"/");return(0,nI.jsxs)(ux,{href:er,className:(0,eT.Z)(uF.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!es||en.newWindow?uF.inactive:uF.active),newWindow:en.newWindow,"aria-current":!en.newWindow&&es,children:[(0,nI.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:en.title}),(0,nI.jsx)("span",{className:"nx-invisible nx-font-medium",children:en.title})]},er)}),uv(er.search.component,{directories:ee,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),er.project.link?(0,nI.jsx)(ux,{className:"nx-p-2 nx-text-current",href:er.project.link,newWindow:!0,children:uv(er.project.icon)}):null,er.chat.link?(0,nI.jsx)(ux,{className:"nx-p-2 nx-text-current",href:er.chat.link,newWindow:!0,children:uv(er.chat.icon)}):null,uv(er.navbar.extraContent),(0,nI.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:()=>eo(!es),children:(0,nI.jsx)(eA.Oq,{className:(0,eT.Z)({open:es})})})]})]})}var uV=Object.create(null),uH=(0,eO.createContext)(null),uG=(0,eO.createContext)(null),uB=(0,eO.createContext)(0),uK=(0,eO.memo)(function(ee){let en=(0,eO.useContext)(uB);return(0,nI.jsx)(uB.Provider,{value:en+1,children:(0,nI.jsx)(uY,l0({},ee))})}),uq={link:(0,eT.Z)("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:(0,eT.Z)("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:(0,eT.Z)("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:(0,eT.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,eT.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dar
21k:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function uY({item:ee,anchors:en}){let er=eI(),[ei]=er.split("#"),es=[ei,ei+"/"].includes(ee.route+"/"),eo=es||ei.startsWith(ee.route+"/"),eu=(0,eO.useContext)(uH),ec=!!(null==eu?void 0:eu.startsWith(ee.route+"/")),ed=(0,eO.useContext)(uB),{setMenu:ef}=uo(),ep=uc(),{theme:eh}=ee,em=void 0===uV[ee.route]?es||eo||ec||(eh&&"collapsed"in eh?!eh.collapsed:ed<ep.sidebar.defaultMenuCollapseLevel):uV[ee.route]||ec,ex=(0,eO.useState)({})[1];if((0,eO.useEffect)(()=>{let en=()=>{(eo||ec)&&(uV[ee.route]=!0)},er=()=>{eo&&ec?uV[ee.route]=!0:delete uV[ee.route]};ep.sidebar.autoCollapse?er():en()},[eo,ec,ee.route,ep.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 es=er[ee]||l1(l0({name:ee},"locale"in en&&{locale:en.locale}),{route:en.route+"/"+ee});return l0(l0({},es),ei)})}let eg="withIndexPage"in ee&&ee.withIndexPage,ev=eg?ux:"button";return(0,nI.jsxs)("li",{className:(0,eT.Z)({open:em,active:es}),children:[(0,nI.jsxs)(ev,{href:eg?ee.route:void 0,className:(0,eT.Z)("nx-items-center nx-justify-between nx-gap-2",!eg&&"nx-text-left nx-w-full",uq.link,es?uq.active:uq.inactive),onClick:en=>{let er=["svg","path"].includes(en.target.tagName.toLowerCase());if(er&&en.preventDefault(),eg){es||er?uV[ee.route]=!em:(uV[ee.route]=!0,ef(!1)),ex({});return}es||(uV[ee.route]=!em,ex({}))},children:[uv(ep.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route}),(0,nI.jsx)(eA.LZ,{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:(0,eT.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",em&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,nI.jsx)(uj,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:em,children:Array.isArray(ee.children)?(0,nI.jsx)(uX,{className:(0,eT.Z)(uq.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:ee.children,base:ee.route,anchors:en}):null})]})}function uQ({title:ee}){let en=uc();return(0,nI.jsx)("li",{className:(0,eT.Z)("[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?uv(en.sidebar.titleComponent,{title:ee,type:"separator",route:""}):(0,nI.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function uJ({item:ee,anchors:en}){let er=eI(),ei=(0,eO.useContext)(uG),es=ee.route&&[er,er+"/"].includes(ee.route+"/"),eo=l8(),{setMenu:eu}=uo(),ec=uc();return"separator"===ee.type?(0,nI.jsx)(uQ,{title:ee.title}):(0,nI.jsxs)("li",{className:(0,eT.Z)(uq.list,{active:es}),children:[(0,nI.jsx)(ux,{href:ee.href||ee.route,newWindow:ee.newWindow,className:(0,eT.Z)(uq.link,es?uq.active:uq.inactive),onClick:()=>{eu(!1)},onFocus:()=>{null==ei||ei(ee.route)},onBlur:()=>{null==ei||ei(null)},children:uv(ec.sidebar.titleComponent,{title:ee.title,type:ee.type,route:ee.route})}),es&&en.length>0&&(0,nI.jsx)("ul",{className:(0,eT.Z)(uq.list,uq.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:en.map(({id:ee,value:en})=>{var er;return(0,nI.jsx)("li",{children:(0,nI.jsx)("a",{href:`#${ee}`,className:(0,eT.Z)(uq.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(er=eo[ee])?void 0:er.isActive)?uq.active:uq.inactive),onClick:()=>{eu(!1)},children:en})},ee)})})]})}function uX({directories:ee,anchors:en,className:er,onlyCurrentDocs:ei}){return(0,nI.jsx)("ul",{className:(0,eT.Z)(uq.list,er),children:ee.map(ee=>!ei||ee.isUnderCurrentDocsTree?"menu"===ee.type||ee.children&&(ee.children.length||!ee.withIndexPage)?(0,nI.jsx)(uK,{item:ee,anchors:en},ee.name):(0,nI.jsx)(uJ,{item:ee,anchors:en},ee.name):null)})}function u0({docsDirectories:ee,flatDirectories:en,fullDirectories:er,asPopover:ei=!1,headings:es,includePlaceholder:eo}){let eu=uc(),{menu:ec,setMenu:ed}=uo(),ef=(0,eE.useRouter)(),[ep,eh]=(0,eO.useState)(null),[em,ex]=(0,eO.useState)(!0),[eg,ev]=(0,eO.useState)(!1),ey=(0,eO.useMemo)(()=>es.filter(ee=>2===ee.depth),[es]),eb=(0,eO.useRef)(null),e_=(0,eO.useRef)(null),ew=eC();(0,eO.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,eO.useEffect)(()=>{var ee;let en=null==(ee=eb.current)?void 0:ee.querySelector("li.active");if(en&&(window.innerWidth>767||ec)){let ee=()=>
21{lC(en,{block:"center",inline:"center",scrollMode:"always",boundary:e_.current})};ec?setTimeout(ee,300):ee()}},[ec]),(0,eO.useEffect)(()=>{ed(!1)},[ef.asPath,ed]);let ek=eu.i18n.length>0,ej=eu.darkMode||ek;return(0,nI.jsxs)(nI.Fragment,{children:[eo&&ei?(0,nI.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,nI.jsx)("div",{className:(0,eT.Z)("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,nI.jsxs)("aside",{className:(0,eT.Z)("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:e_,children:[(0,nI.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:uv(eu.search.component,{directories:en})}),(0,nI.jsx)(uH.Provider,{value:ep,children:(0,nI.jsx)(uG.Provider,{value:ee=>{eh(ee)},children:(0,nI.jsxs)("div",{className:(0,eT.Z)("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,nI.jsx)(uj,{isOpen:em,horizontal:!0,children:(0,nI.jsx)(uX,{className:"nextra-menu-desktop max-md:nx-hidden",directories:ee,anchors:eu.toc.float?[]:ey,onlyCurrentDocs:!0})}),ew&&window.innerWidth<768&&(0,nI.jsx)(uX,{className:"nextra-menu-mobile md:nx-hidden",directories:er,anchors:ey})]})})}),ej&&(0,nI.jsxs)("div",{className:(0,eT.Z)("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?(0,eT.Z)(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,nI.jsx)(uL,{lite:!em,className:(0,eT.Z)(em?"nx-grow":"max-md:nx-grow")}),eu.darkMode&&(0,nI.jsx)("div",{className:em&&!ek?"nx-grow nx-flex nx-flex-col":"",children:uv(eu.themeSwitch.component,{lite:!em||ek})}),eu.sidebar.toggleButton&&(0,nI.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,nI.jsx)(eA.Qq,{isOpen:em})})]})]})]})}var u1="reach-skip-nav",u2="Skip to content";(0,eO.forwardRef)(function(ee,en){var er=ee,{className:ei,id:es,label:eo=u2,styled:eu}=er,ec=l2(er,["className","id","label","styled"]);let ed=void 0===ei?eu?(0,eT.Z)("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,nI.jsx)("a",l1(l0({},ec),{ref:en,href:`#${es||u1}`,className:ed,"data-reach-skip-link":"",children:eo}))}).displayName="SkipNavLink";var u4=(0,eO.forwardRef)(function(ee,en){var er=ee,{id:ei}=er,es=l2(er,["id"]);return(0,nI.jsx)("div",l1(l0({},es),{ref:en,id:ei||u1}))});u4.displayName="SkipNavContent";var u5=nC.strictObject({light:nC.string(),dark:nC.string(),system:nC.string()});function u3({lite:ee,className:en}){let{setTheme:er,resolvedTheme:ei,theme:es=""}=nM(),eo=eC(),eu=uc().themeSwitch,ec=eo&&"dark"===ei?eA.kL:eA.NW,ed="function"==typeof eu.useOptions?eu.useOptions():eu.useOptions;return(0,nI.jsx)(uP,{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:es,name:(0,nI.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,nI.jsx)(ec,{}),(0,nI.jsx)("span",{className:ee?"md:nx-hidden":"",children:eo?ed[es]:ed.light})]})}})}function u6(){window.scrollTo({top:0,behavior:"smooth"})}function u7({className:ee}){let en=(0,eO.useRef)(null);return(0,eO.useEffect)(()=>{function ee(){var ee;let{scrollTop:er}=document.documentElement;null==(ee=en.current)||ee.classList.toggle("nx-opacity-0",er<300)}return window.addEventListener("scroll",ee),()=>{window.removeEventListener("scroll",ee)}},[]),(0,nI.jsxs)("button",{ref:en,"aria-hidden":"true",onClick:u6,className:(0,eT.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",ee),children:["Scroll to top",(0,nI.jsx)(eA.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var u9=(0,eT.Z)("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 u8({headings:ee,filePath:en}){var er;let ei=l8(),es=uc(),eo=(0,eO.useRef)(null),eu=(0,eO.useMemo)(()=>ee.filter(ee=>ee.depth>1),[ee]),ec=eu.length>0,ed=!!(es.feedback.content||es.editLink.component||es.toc.extraContent),ef=null==(er=Object.entries(ei).find(([,{isActive:ee}])=>ee))?void 0:er[0];return(0,eO.useEffect)(()=>{var ee;if(!ef)return;let en=null==(ee=eo.current)?void 0:ee.querySelector(`li > a[href="#${ef}"]`);en&&lC(en,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boun
21dary:eo.current})},[ef]),(0,nI.jsxs)("div",{ref:eo,className:(0,eT.Z)("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,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:uv(es.toc.title)}),(0,nI.jsx)("ul",{children:eu.map(({id:ee,value:en,depth:er})=>{var eo,eu,ec,ed;return(0,nI.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,nI.jsx)("a",{href:`#${ee}`,className:(0,eT.Z)({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==(eo=ei[ee])?void 0:eo.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=es.toc).headingComponent)?void 0:ec.call(eu,{id:ee,children:en}))?ed:en})},ee)})})]}),ed&&(0,nI.jsxs)("div",{className:(0,eT.Z)(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:[es.feedback.content?(0,nI.jsx)(ux,{className:u9,href:es.feedback.useLink(),newWindow:!0,children:uv(es.feedback.content)}):null,uv(es.editLink.component,{filePath:en,className:u9,children:uv(es.editLink.text)}),uv(es.toc.extraContent),es.toc.backToTop&&(0,nI.jsx)(u7,{className:u9})]})]})}function ct({className:ee,directories:en}){let[er,ei]=(0,eO.useState)(""),es=(0,eO.useMemo)(()=>er?lP(en,er,{keys:["title"]}).map(({route:ee,title:en})=>({id:ee+en,route:ee,children:(0,nI.jsx)(uE,{value:en,match:er})})):[],[er,en]);return(0,nI.jsx)(uC,{value:er,onChange:ei,className:ee,overlayClassName:"nx-w-full",results:es})}var cn="en-US",cr="undefined"!=typeof window;function ci(ee){return null==ee||"string"==typeof ee||cs(ee)||(0,eO.isValidElement)(ee)}function cs(ee){return"function"==typeof ee}var co=nC.array(nC.strictObject({direction:nC.enum(["ltr","rtl"]).optional(),locale:nC.string(),text:nC.string()})),cl=[ci,{message:"Must be React.ReactNode or React.FC"}],cu=[cs,{message:"Must be React.FC"}];nC.strictObject({banner:nC.strictObject({dismissible:nC.boolean(),key:nC.string(),text:nC.custom(...cl).optional()}),chat:nC.strictObject({icon:nC.custom(...cl),link:nC.string().startsWith("https://").optional()}),components:nC.record(nC.custom(...cu)).optional(),darkMode:nC.boolean(),direction:nC.enum(["ltr","rtl"]),docsRepositoryBase:nC.string().startsWith("https://"),editLink:nC.strictObject({component:nC.custom(...cu),text:nC.custom(...cl)}),faviconGlyph:nC.string().optional(),feedback:nC.strictObject({content:nC.custom(...cl),labels:nC.string(),useLink:nC.function().returns(nC.string())}),footer:nC.strictObject({component:nC.custom(...cl),text:nC.custom(...cl)}),gitTimestamp:nC.custom(...cl),head:nC.custom(...cl),i18n:co,logo:nC.custom(...cl),logoLink:nC.boolean().or(nC.string()),main:nC.custom(...cu).optional(),navbar:nC.strictObject({component:nC.custom(...cl),extraContent:nC.custom(...cl).optional()}),navigation:nC.boolean().or(nC.strictObject({next:nC.boolean(),prev:nC.boolean()})),nextThemes:nC.strictObject({defaultTheme:nC.string(),forcedTheme:nC.string().optional(),storageKey:nC.string()}),notFound:nC.strictObject({content:nC.custom(...cl),labels:nC.string()}),primaryHue:nC.number().or(nC.strictObject({dark:nC.number(),light:nC.number()})),project:nC.strictObject({icon:nC.custom(...cl),link:nC.string().startsWith("https://").optional()}),search:nC.strictObject({component:nC.custom(...cl),emptyResult:nC.custom(...cl),error:nC.string().or(nC.function().returns(nC.string())),loading:nC.custom(...cl),placeholder:nC.string().or(nC.function().returns(nC.string()))}),serverSideError:nC.strictObject({content:nC.custom(...cl),labels:nC.string()}),sidebar:nC.strictObject({autoCollapse:nC.boolean().optional(),defaultMenuCollapseLevel:nC.number().min(1).int(),titleComponent:nC.custom(...cl),toggleButton:nC.boolean()}),themeSwitch:nC.strictObject({component:nC.custom(...cl),useOptions:u5.or(nC.function().returns(u5))}),toc:nC.strictObject({backToTop:nC.boolean(),component:nC.custom(...cl),extraContent:nC.custom(...cl),float:nC.boolean(),headingComponent:nC.custom(...cu).optional(),title:nC.custom(...cl)}),useNextSeoProps:nC.custom(cs)}).deepPartial().extend({i18n:co.optional()});var cc={"en-US":"Loading",fr:"Сhargement",ru:"ÐагÑÑзка","zh-CN":"æ£å¨å è½½"},cd={"en-US":"Search documentation",fr:"Rechercher documents",ru:"ÐоиÑк докÑменÑаÑии","zh-CN":"æç´¢ææ¡£"},cf={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)(eA.D7,{}),(0,nI.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=u_(en);return ei?(0,nI.jsx)(ux,{className:ee,href:ei,children:er}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback â",labels:"feedback",useLink(){let ee=uc();return ug({labels:ee.feedback.labels,repository:ee.docsRepositoryBase,title:`Feedback for \u201C${ee.title}\u201D`})}},footer:{component:uM,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:ee}){let{locale:en=cn}=(0,eE.useRouter)();return(0,nI.jsxs)(nI.Fragment,{children:["Last updated on"," ",(0,nI.jsx)("time",{dateTime:ee.toISOString(),children:ee.toLocaleDateString(en,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}
21),(0,nI.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,nI.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,nI.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,nI.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,nI.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,nI.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,nI.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,nI.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:uW},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,nI.jsxs)(nI.Fragment,{children:[(0,nI.jsx)(eA.fy,{}),(0,nI.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:ee,directories:en}){let er=uc();return er.flexsearch?(0,nI.jsx)(uA,{className:ee}):(0,nI.jsx)(ct,{className:ee,directories:en})},emptyResult:(0,nI.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=cn}=(0,eE.useRouter)(),er=ee&&cc[ee]||cc[en];return(0,nI.jsxs)(nI.Fragment,{children:[er,"â¦"]})},placeholder:function(){let{locale:ee,defaultLocale:en=cn}=(0,eE.useRouter)(),er=ee&&cd[ee]||cd[en];return`${er}\u2026`}},serverSideError:{content:"Submit an issue about error in url â",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:ee})=>(0,nI.jsx)(nI.Fragment,{children:ee}),toggleButton:!1},themeSwitch:{component:u3,useOptions(){let{locale:ee}=(0,eE.useRouter)();return"zh-CN"===ee?{dark:"æ·±è²ä¸»é¢",light:"æµ
è²ä¸»é¢",system:"ç³»ç»é»è®¤"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:u8,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s â Nextra"})},cp=Object.entries(cf).map(([ee,en])=>{let er=en&&"object"==typeof en&&!Array.isArray(en)&&!(0,eO.isValidElement)(en);if(er)return ee}).filter(Boolean);if(cr){let ee;let en=()=>{document.body.classList.add("resizing"),clearTimeout(ee),ee=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",en)}function cm(ee){var en=ee,{tag:er,context:ei,children:es,id:eo,className:eu}=en,ec=l2(en,["tag","context","children","id","className"]);let ed=ut(),ef=ur(),ep=un(),eh=(0,eO.useRef)(null);return(0,eO.useEffect)(()=>{if(!eo)return;let ee=eh.current;if(ee)return ef.set(ee,[eo,ei.index+=1]),null==ep||ep.observe(ee),()=>{null==ep||ep.disconnect(),ef.delete(ee),ed(ee=>{let en=l0({},ee);return delete en[eo],en})}},[eo,ei,ef,ep,ed]),(0,nI.jsxs)(er,l1(l0({className:"sr-only"===eu?"nx-sr-only":(0,eT.Z)("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:[es,eo&&(0,nI.jsx)("a",{href:`#${eo}`,id:eo,className:"subheading-anchor","aria-label":"Permalink for this section",ref:eh})]}))}var cx=ee=>{let en=null,er=[];return eO.Children.forEach(ee,(ee,ei)=>{var es;if(ee&&ee.type===cv){en||(en=ee);return}let eo=ee;if(!en&&ee&&"object"==typeof ee&&ee.type!==cg&&"props"in ee&&ee.props){let er=cx(ee.props.children);en=er[0],eo=(0,eO.cloneElement)(ee,l1(l0({},ee.props),{children:(null==(es=er[1])?void 0:es.length)?er[1]:void 0,key:ei}))}er.push(eo)}),[en,er]},cg=ee=>{var en=ee,{children:er,open:ei}=en,es=l2(en,["children","open"]);let[eo,eu]=(0,eO.useState)(!!ei),[ec,ed]=cx(er),[ef,ep]=(0,eO.useState)(eo);return(0,eO.useEffect)(()=>
21{if(eo)ep(!0);else{let ee=setTimeout(()=>ep(eo),500);return()=>clearTimeout(ee)}},[eo]),(0,nI.jsxs)("details",l1(l0(l1(l0({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"},es),{open:ef}),eo&&{"data-expanded":!0}),{children:[(0,nI.jsx)(uh,{value:eu,children:ec}),(0,nI.jsx)(uj,{isOpen:eo,children:ed})]}))},cv=ee=>{let en=up();return(0,nI.jsx)("summary",l1(l0({className:(0,eT.Z)("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 before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},ee),{onClick:ee=>{ee.preventDefault(),en(ee=>!ee)}}))},cy=/https?:\/\//,c_=ee=>{var en=ee,{href:er="",className:ei}=en,es=l2(en,["href","className"]);return(0,nI.jsx)(ux,l0({href:er,newWindow:cy.test(er),className:(0,eT.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",ei)},es))},cw=ee=>{var en=ee,{href:er=""}=en,ei=l2(en,["href"]);return(0,nI.jsx)(ux,l0({href:er,newWindow:cy.test(er)},ei))},ck=({isRawLayout:ee,components:en})=>{if(ee)return{a:cw};let er={index:0};return l0({h1:ee=>(0,nI.jsx)("h1",l0({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,nI.jsx)(cm,l0({tag:"h2",context:er},ee)),h3:ee=>(0,nI.jsx)(cm,l0({tag:"h3",context:er},ee)),h4:ee=>(0,nI.jsx)(cm,l0({tag:"h4",context:er},ee)),h5:ee=>(0,nI.jsx)(cm,l0({tag:"h5",context:er},ee)),h6:ee=>(0,nI.jsx)(cm,l0({tag:"h6",context:er},ee)),ul:ee=>(0,nI.jsx)("ul",l0({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),ol:ee=>(0,nI.jsx)("ol",l0({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},ee)),li:ee=>(0,nI.jsx)("li",l0({className:"nx-my-2"},ee)),blockquote:ee=>(0,nI.jsx)("blockquote",l0({className:(0,eT.Z)("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,nI.jsx)("hr",l0({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:c_,table:ee=>(0,nI.jsx)(lG.iA,l0({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},ee)),p:ee=>(0,nI.jsx)("p",l0({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},ee)),tr:lG.Tr,th:lG.Th,td:lG.Td,details:cg,summary:cv,pre:lG.SU,code:lG.EK},en)},cj={toc:(0,eT.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,eT.Z)("nx-w-full nx-break-words")},cE=({themeContext:ee,breadcrumb:en,timestamp:er,navigation:ei,children:es})=>{var eo;let eu=uc(),ec=eC();if("raw"===ee.layout)return(0,nI.jsx)("div",{className:cj.main,children:es});let ed=ee.timestamp&&eu.gitTimestamp&&er?new Date(er):null,ef=ec&&ed?(0,nI.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:uv(eu.gitTimestamp,{timestamp:ed})}):(0,nI.jsx)("div",{className:"nx-mt-16"}),ep=(0,nI.jsxs)(nI.Fragment,{children:[es,ef,ei]}),eh=(null==(eo=eu.main)?void 0:eo.call(eu,{children:ep}))||ep;return"full"===ee.layout?(0,nI.jsx)("article",{className:(0,eT.Z)(cj.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:eh}):(0,nI.jsx)("article",{className:(0,eT.Z)(cj.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,nI.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,eh]})})},cO=({filePath:ee,pageMap:en,frontMatter:er,headings:ei,timestamp:es,children:eo})=>{let eu=uc(),{locale:ec=cn,defaultLocale:ed}=(0,eE.useRouter)(),ef=eI(),{activeType:ep,activeIndex:eh,activeThemeContext:em,activePath:ex,topLevelNavbarItems:eg,docsDirectories:ev,flatDirectories:ey,flatDocsDirectories:eb,directories:e_}=(0,eO.useMemo)(()=>aJ({list:en,locale:ec,defaultLocale:ed,route:ef}),[en,ec,ed,ef]),ew=l0(l0({},em),er),ek=!ew.sidebar||"raw"===ew.layout||"page"===ep,ej="page"!==ep&&ew.toc&&"default"===ew.layout?(0,nI.jsx)("nav",{className:(0,eT.Z)(cj.toc,"nx-px-4"),"aria-label":"table of contents",children:uv(eu.toc.component,{headings:eu.toc.float?ei:[],filePath:ee})}):"full"!==ew.layout&&"raw"!==ew.layout&&(0,nI.jsx)("nav",{className:cj.toc,"aria-label":"table of contents"}),eC=eu.i18n.find(ee=>ee.locale===ec),eS=eC?"rtl"===eC.direction:"rtl"===eu.direction,eN=eS?"rtl":"ltr";return(0,nI.jsxs)("div",{dir:eN,children:[(0,nI.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${eN}')`}}),(0,nI.jsx)(uD,{}),(0,nI.jsx)(uw,{}),ew.navbar&&uv(eu.navbar.component,{flatDirectories:ey,items:eg}),(0,nI.jsx)("div",{className:(0,eT.Z)("nx-mx-auto nx-flex","raw"!==ew.layout&&"nx-max-w-[90rem]"),children:(0,nI.jsxs)(u
21i,{children:[(0,nI.jsx)(u0,{docsDirectories:ev,flatDirectories:ey,fullDirectories:e_,headings:ei,asPopover:ek,includePlaceholder:"default"===ew.layout}),ej,(0,nI.jsx)(u4,{}),(0,nI.jsx)(cE,{themeContext:ew,breadcrumb:"page"!==ep&&ew.breadcrumb?(0,nI.jsx)(uk,{activePath:ex}):null,timestamp:es,navigation:"page"!==ep&&ew.pagination?(0,nI.jsx)(u$,{flatDirectories:eb,currentIndex:eh}):null,children:(0,nI.jsx)(eR.Z,{components:ck({isRawLayout:"raw"===ew.layout,components:eu.components}),children:eo})})]})}),ew.footer&&uv(eu.footer.component,{menu:ek})]})};function cT(ee){var en=ee,{children:er}=en,ei=l2(en,["children"]);return(0,nI.jsx)(ud,{value:ei,children:(0,nI.jsx)(cO,l1(l0({},ei.pageOpts),{children:er}))})}},9013:function(ee,en,er){"use strict";er.d(en,{UW:function(){return em},Zb:function(){return td},oy:function(){return tf},EK:function(){return ev},zH:function(){return ty},SU:function(){return ey},Rg:function(){return eb},iA:function(){return tr},Td:function(){return tn},Th:function(){return ti},Tr:function(){return ts}});var ei,es,eo,eu=er(512),ec=er(5893),ed=({children:ee,className:en,...er})=>(0,ec.jsx)("button",{className:(0,eu.Z)("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}),ef=er(4861),ep={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,ec.jsx)(ef.AV,{className:"nx-mt-1"}),warning:"â ï¸"},eh={default:(0,eu.Z)("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"),error:(0,eu.Z)("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"),info:(0,eu.Z)("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"),warning:(0,eu.Z)("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")};function em({children:ee,type:en="default",emoji:er=ep[en]}){return(0,ec.jsxs)("div",{className:(0,eu.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",eh[en]),children:[(0,ec.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:er}),(0,ec.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:ee})]})}var ex=er(7294),eg=({getValue:ee,...en})=>{let[er,ei]=(0,ex.useState)(!1);(0,ex.useEffect)(()=>{if(!er)return;let ee=setTimeout(()=>{ei(!1)},2e3);return()=>{clearTimeout(ee)}},[er]);let es=(0,ex.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]),eo=er?ef.nQ:ef.TI;return(0,ec.jsx)(ed,{onClick:es,title:"Copy code",tabIndex:0,...en,children:(0,ec.jsx)(eo,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},ev=({children:ee,className:en,...er})=>{let ei="data-line-numbers"in er;return(0,ec.jsx)("code",{className:(0,eu.Z)("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})},ey=({children:ee,className:en,hasCopyCode:er,filename:ei,...es})=>{let eo=(0,ex.useRef)(null),ep=(0,ex.useCallback)(()=>{let ee=document.documentElement.dataset,en="nextraWordWrap"in ee;en?delete ee.nextraWordWrap:ee.nextraWordWrap=""},[]);return(0,ec.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[ei&&(0,ec.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,ec.jsx)("pre",{className:(0,eu.Z)("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:eo,...es,children:ee}),(0,ec.jsxs)("div",{className:(0,eu.Z)("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,ec.jsx)(ed,{onClick:ep,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,ec.jsx)(ef.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),er&&(0,ec.jsx)(eg,{getValue:()=>eo.current?.querySelector("code")?.textContent||""})]})]})};function eb({children:ee,className:en,...er}){return(0,ec.jsx)("div",{className:(0,eu.Z)("nextra-steps nx-ml-4 nx-mb-12 nx-border-l nx-border-gray-200 nx-pl-6","dark:nx-border-neutral-800 [counter-reset:step]",en),...er,children:ee})}var e_=er(2351),ew=er(9946),ek=er(2984),ej=er(1363),eE=er(4575),eO=er(6723),eT=er(3784),eC=er(4157),eS=er(3855),eN=er(4879),eI=er(6045);function eR({onFocus:ee}){let[en,er]=(0,ex.useState)(!0),ei=(0,eN.t)();return en?ex.createElement(eI._,{as:"button",type:"button",features:eI.A.Focusable,onFocus:en=>{en.preventDefault();let es,eo=50;function eu(){if(eo--<=0){es&&cancelAnimationFrame(es);return}if(ee()){if(cancelAnimationFrame(es),!ei.current)return;er(!1);return}es=requestAnimationFrame(eu)}es=requestAnimationFrame(eu)}}):null}var eA=er(3781),eP=er(1021),eZ=er(5466);let eL=ex.createContext(null);function eM(){return{groups:new Map,get(ee,en){var er;let ei=this.groups.get(ee);ei||(ei=new Map,this.groups.set(ee,ei));let es=null!=(er=ei.get(en))?er:0;function eo(){let ee=ei.get(en);ee>1?ei.set(en,ee-1):ei.delete(en)}return ei.set(en,es+1),[Array.from(ei.keys()).indexOf(en),eo]}}}function eD({children:ee}){let en=ex.useRef(eM());return ex.createElement(eL.Provider,{value:en},ee)}function ez(ee){let en=ex.useContext(eL);if(!en)throw Error("You must wrap your component in a <StableCollection>");let er=e$(),[ei,es]=en.current.get(ee,er);return ex.useEffect(()=>es,[]),ei}function e$(){var ee,en,er;
21let ei=null!=(er=null==(en=null==(ee=ex.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:ee.ReactCurrentOwner)?void 0:en.current)?er:null;if(!ei)return Symbol();let es=[],eo=ei;for(;eo;)es.push(eo.index),eo=eo.return;return"$."+es.join(".")}var eF=((ei=eF||{})[ei.Forwards=0]="Forwards",ei[ei.Backwards=1]="Backwards",ei),eU=((es=eU||{})[es.Less=-1]="Less",es[es.Equal=0]="Equal",es[es.Greater=1]="Greater",es),eW=((eo=eW||{})[eo.SetSelectedIndex=0]="SetSelectedIndex",eo[eo.RegisterTab=1]="RegisterTab",eo[eo.UnregisterTab=2]="UnregisterTab",eo[eo.RegisterPanel=3]="RegisterPanel",eo[eo.UnregisterPanel=4]="UnregisterPanel",eo);let eV={0(ee,en){var er;let ei=(0,eE.z2)(ee.tabs,ee=>ee.current),es=(0,eE.z2)(ee.panels,ee=>ee.current),eo=ei.filter(ee=>{var en;return!(null!=(en=ee.current)&&en.hasAttribute("disabled"))}),eu={...ee,tabs:ei,panels:es};if(en.index<0||en.index>ei.length-1){let er=(0,ek.E)(Math.sign(en.index-ee.selectedIndex),{[-1]:()=>1,0:()=>(0,ek.E)(Math.sign(en.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===eo.length)return eu;let es=(0,ek.E)(er,{0:()=>ei.indexOf(eo[0]),1:()=>ei.indexOf(eo[eo.length-1])});return{...eu,selectedIndex:-1===es?ee.selectedIndex:es}}let ec=ei.slice(0,en.index),ed=[...ei.slice(en.index),...ec].find(ee=>eo.includes(ee));if(!ed)return eu;let ef=null!=(er=ei.indexOf(ed))?er:ee.selectedIndex;return -1===ef&&(ef=ee.selectedIndex),{...eu,selectedIndex:ef}},1(ee,en){var er;if(ee.tabs.includes(en.tab))return ee;let ei=ee.tabs[ee.selectedIndex],es=(0,eE.z2)([...ee.tabs,en.tab],ee=>ee.current),eo=null!=(er=es.indexOf(ei))?er:ee.selectedIndex;return -1===eo&&(eo=ee.selectedIndex),{...ee,tabs:es,selectedIndex:eo}},2:(ee,en)=>({...ee,tabs:ee.tabs.filter(ee=>ee!==en.tab)}),3:(ee,en)=>ee.panels.includes(en.panel)?ee:{...ee,panels:(0,eE.z2)([...ee.panels,en.panel],ee=>ee.current)},4:(ee,en)=>({...ee,panels:ee.panels.filter(ee=>ee!==en.panel)})},eH=(0,ex.createContext)(null);function eG(ee){let en=(0,ex.useContext)(eH);if(null===en){let en=Error(`<${ee} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,eG),en}return en}eH.displayName="TabsDataContext";let eB=(0,ex.createContext)(null);function eK(ee){let en=(0,ex.useContext)(eB);if(null===en){let en=Error(`<${ee} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(en,eK),en}return en}function eY(ee,en){return(0,ek.E)(en.type,eV,ee,en)}eB.displayName="TabsActionsContext";let eQ=ex.Fragment;function eJ(ee,en){let{defaultIndex:er=0,vertical:ei=!1,manual:es=!1,onChange:eo,selectedIndex:eu=null,...ec}=ee,ed=ei?"vertical":"horizontal",ef=es?"manual":"auto",ep=null!==eu,eh=(0,eT.T)(en),[em,eg]=(0,ex.useReducer)(eY,{selectedIndex:null!=eu?eu:er,tabs:[],panels:[]}),ev=(0,ex.useMemo)(()=>({selectedIndex:em.selectedIndex}),[em.selectedIndex]),ey=(0,eS.E)(eo||(()=>{})),eb=(0,eS.E)(em.tabs),ew=(0,ex.useMemo)(()=>({orientation:ed,activation:ef,...em}),[ed,ef,em]),ek=(0,eA.z)(ee=>(eg({type:1,tab:ee}),()=>eg({type:2,tab:ee}))),ej=(0,eA.z)(ee=>(eg({type:3,panel:ee}),()=>eg({type:4,panel:ee}))),eC=(0,eA.z)(ee=>{eN.current!==ee&&ey.current(ee),ep||eg({type:0,index:ee})}),eN=(0,eS.E)(ep?ee.selectedIndex:em.selectedIndex),eI=(0,ex.useMemo)(()=>({registerTab:ek,registerPanel:ej,change:eC}),[]);(0,eO.e)(()=>{eg({type:0,index:null!=eu?eu:er})},[eu]),(0,eO.e)(()=>{if(void 0===eN.current||em.tabs.length<=0)return;let ee=(0,eE.z2)(em.tabs,ee=>ee.current);ee.some((ee,en)=>em.tabs[en]!==ee)&&eC(ee.indexOf(em.tabs[eN.current]))});let eP={ref:eh};return ex.createElement(eD,null,ex.createElement(eB.Provider,{value:eI},ex.createElement(eH.Provider,{value:ew},ew.tabs.length<=0&&ex.createElement(eR,{onFocus:()=>{var ee,en;for(let er of eb.current)if((null==(ee=er.current)?void 0:ee.tabIndex)===0)return null==(en=er.current)||en.focus(),!0;return!1}}),(0,e_.sY)({ourProps:eP,theirProps:ec,slot:ev,defaultTag:eQ,name:"Tabs"}))))}let eX="div";function e0(ee,en){let{orientation:er,selectedIndex:ei}=eG("Tab.List"),es=(0,eT.T)(en);return(0,e_.sY)({ourProps:{ref:es,role:"tablist","aria-orientation":er},theirProps:ee,slot:{selectedIndex:ei},defaultTag:eX,name:"Tabs.List"})}let e1="button";function e2(ee,en){var er,ei;let es=(0,ew.M)(),{id:eo=`headlessui-tabs-tab-${es}`,...eu}=ee,{orientation:ec,activation:ed,selectedIndex:ef,tabs:ep,panels:eh}=eG("Tab"),em=eK("Tab"),eg=eG("Tab"),ev=(0,ex.useRef)(null),ey=(0,eT.T)(ev,en);(0,eO.e)(()=>em.registerTab(ev),[em,ev]);let eb=ez("tabs"),eS=ep.indexOf(ev);-1===eS&&(eS=eb);let eN=eS===ef,eI=(0,eA.z)(ee=>{var en;let er=ee();if(er===eE.fE.Success&&"auto"===ed){let ee=null==(en=(0,eZ.r)(ev))?void 0:en.activeElement,er=eg.tabs.findIndex(en=>en.current===ee);-1!==er&&em.change(er)}return er}),eR=(0,eA.z)(ee=>{let en=ep.map(ee=>
21ee.current).filter(Boolean);if(ee.key===ej.R.Space||ee.key===ej.R.Enter){ee.preventDefault(),ee.stopPropagation(),em.change(eS);return}switch(ee.key){case ej.R.Home:case ej.R.PageUp:return ee.preventDefault(),ee.stopPropagation(),eI(()=>(0,eE.jA)(en,eE.TO.First));case ej.R.End:case ej.R.PageDown:return ee.preventDefault(),ee.stopPropagation(),eI(()=>(0,eE.jA)(en,eE.TO.Last))}if(eI(()=>(0,ek.E)(ec,{vertical:()=>ee.key===ej.R.ArrowUp?(0,eE.jA)(en,eE.TO.Previous|eE.TO.WrapAround):ee.key===ej.R.ArrowDown?(0,eE.jA)(en,eE.TO.Next|eE.TO.WrapAround):eE.fE.Error,horizontal:()=>ee.key===ej.R.ArrowLeft?(0,eE.jA)(en,eE.TO.Previous|eE.TO.WrapAround):ee.key===ej.R.ArrowRight?(0,eE.jA)(en,eE.TO.Next|eE.TO.WrapAround):eE.fE.Error}))===eE.fE.Success)return ee.preventDefault()}),eL=(0,ex.useRef)(!1),eM=(0,eA.z)(()=>{var ee;eL.current||(eL.current=!0,null==(ee=ev.current)||ee.focus({preventScroll:!0}),em.change(eS),(0,eP.Y)(()=>{eL.current=!1}))}),eD=(0,eA.z)(ee=>{ee.preventDefault()}),e$=(0,ex.useMemo)(()=>({selected:eN}),[eN]),eF={ref:ey,onKeyDown:eR,onMouseDown:eD,onClick:eM,id:eo,role:"tab",type:(0,eC.f)(ee,ev),"aria-controls":null==(ei=null==(er=eh[eS])?void 0:er.current)?void 0:ei.id,"aria-selected":eN,tabIndex:eN?0:-1};return(0,e_.sY)({ourProps:eF,theirProps:eu,slot:e$,defaultTag:e1,name:"Tabs.Tab"})}let e4="div";function e5(ee,en){let{selectedIndex:er}=eG("Tab.Panels"),ei=(0,eT.T)(en),es=(0,ex.useMemo)(()=>({selectedIndex:er}),[er]);return(0,e_.sY)({ourProps:{ref:ei},theirProps:ee,slot:es,defaultTag:e4,name:"Tabs.Panels"})}let e3="div",e6=e_.AN.RenderStrategy|e_.AN.Static;function e7(ee,en){var er,ei,es,eo;let eu=(0,ew.M)(),{id:ec=`headlessui-tabs-panel-${eu}`,tabIndex:ed=0,...ef}=ee,{selectedIndex:ep,tabs:eh,panels:em}=eG("Tab.Panel"),eg=eK("Tab.Panel"),ev=(0,ex.useRef)(null),ey=(0,eT.T)(ev,en);(0,eO.e)(()=>eg.registerPanel(ev),[eg,ev]);let eb=ez("panels"),ek=em.indexOf(ev);-1===ek&&(ek=eb);let ej=ek===ep,eE=(0,ex.useMemo)(()=>({selected:ej}),[ej]),eC={ref:ey,id:ec,role:"tabpanel","aria-labelledby":null==(ei=null==(er=eh[ek])?void 0:er.current)?void 0:ei.id,tabIndex:ej?ed:-1};return ej||null!=(es=ef.unmount)&&!es||null!=(eo=ef.static)&&eo?(0,e_.sY)({ourProps:eC,theirProps:ef,slot:eE,defaultTag:e3,features:e6,visible:ej,name:"Tabs.Panel"}):ex.createElement(eI._,{as:"span",...eC})}let e9=Object.assign((0,e_.yV)(e2),{Group:(0,e_.yV)(eJ),List:(0,e_.yV)(e0),Panels:(0,e_.yV)(e5),Panel:(0,e_.yV)(e7)});function e8(ee){return!!ee&&"object"==typeof ee&&"label"in ee}Object.assign(function({items:ee,selectedIndex:en,defaultIndex:er=0,onChange:ei,children:es,storageKey:eo}){let[ed,ef]=(0,ex.useState)(er);(0,ex.useEffect)(()=>{void 0!==en&&ef(en)},[en]),(0,ex.useEffect)(()=>{if(!eo)return;function ee(ee){ee.key===eo&&ef(Number(ee.newValue))}let en=Number(localStorage.getItem(eo));return ef(Number.isNaN(en)?0:en),window.addEventListener("storage",ee),()=>{window.removeEventListener("storage",ee)}},[]);let ep=(0,ex.useCallback)(ee=>{if(eo){let en=String(ee);localStorage.setItem(eo,en),window.dispatchEvent(new StorageEvent("storage",{key:eo,newValue:en}));return}ef(ee),ei?.(ee)},[]);return(0,ec.jsxs)(e9.Group,{selectedIndex:ed,defaultIndex:er,onChange:ep,children:[(0,ec.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,ec.jsx)(e9.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:ee.map((ee,en)=>{let er=e8(ee)&&ee.disabled;return(0,ec.jsx)(e9,{disabled:er,className:({selected:ee})=>(0,eu.Z)("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",ee?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",er&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:e8(ee)?ee.label:ee},en)})})}),(0,ec.jsx)(e9.Panels,{children:es})]})},{displayName:"Tabs",Tab:function({children:ee,...en}){return(0,ec.jsx)(e9.Panel,{...en,className:"nx-rounded nx-pt-6",children:ee})}});var tn=({className:ee="",...en})=>(0,ec.jsx)("td",{className:(0,eu.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",ee),...en}),tr=({className:ee="",...en})=>(0,ec.jsx)("table",{className:(0,eu.Z)("nx-block nx-overflow-x-scroll",ee),...en}),ti=({className:ee="",...en})=>(0,ec.jsx)("th",{className:(0,eu.Z)("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}),ts=({className:ee="",...en})=>(0,ec.jsx)("tr",{className:(0,eu.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dar
21k:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",ee),...en}),to=er(1664),tl=er.n(to),tu={cards:(0,eu.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,eu.Z)("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"),title:(0,eu.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},tc=(0,ec.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"â"});function td({children:ee,title:en,icon:er,image:ei,arrow:es,href:eo,...ed}){let ef=es?tc:null;return ei?(0,ec.jsxs)(tl(),{href:eo,className:(0,eu.Z)(tu.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...ed,children:[ee,(0,ec.jsxs)("span",{className:(0,eu.Z)(tu.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[er,(0,ec.jsxs)("span",{className:"nx-flex nx-gap-1",children:[en,ef]})]})]}):(0,ec.jsx)(tl(),{href:eo,className:(0,eu.Z)(tu.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...ed,children:(0,ec.jsxs)("span",{className:(0,eu.Z)(tu.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[er,en,ef]})})}var tf=Object.assign(function({children:ee,num:en=3,className:er,style:ei,...es}){return(0,ec.jsx)("div",{className:(0,eu.Z)(tu.cards,er),...es,style:{...ei,"--rows":en},children:ee})},{displayName:"Cards",Card:td}),tp=(0,ex.createContext)(0);function th(){return(0,ex.useContext)(tp)}function tm({children:ee}){return(0,ec.jsx)("div",{className:(0,eu.Z)("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,ec.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 tx(){let ee=th();return(0,ec.jsx)(ec.Fragment,{children:Array.from({length:ee},(ee,en)=>(0,ec.jsx)("span",{className:"nx-w-5"},en))})}var tg=(0,ex.memo)(({label:ee,name:en,open:er,children:ei,defaultOpen:es=!1,onToggle:eo})=>{let eu=th(),[ed,ef]=(0,ex.useState)(es),ep=(0,ex.useCallback)(()=>{eo?.(!ed),ef(!ed)},[ed,eo]),eh=void 0===er?ed:er;return(0,ec.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,ec.jsxs)("button",{onClick:ep,title:en,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,ec.jsx)(tx,{}),(0,ec.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,ec.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,ec.jsx)("span",{className:"nx-ml-1",children:ee??en})]}),eh&&(0,ec.jsx)("ul",{children:(0,ec.jsx)(tp.Provider,{value:eu+1,children:ei})})]})});tg.displayName="Folder";var tv=(0,ex.memo)(({label:ee,name:en,active:er})=>(0,ec.jsx)("li",{className:(0,eu.Z)("nx-flex nx-list-none",er&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,ec.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,ec.jsx)(tx,{}),(0,ec.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,ec.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,ec.jsx)("span",{className:"nx-ml-1",children:ee??en})]})}));tv.displayName="File";var ty=Object.assign(tm,{Folder:tg,File:tv})},4861:function(ee,en,er){"use strict";er.d(en,{LZ:function(){return es},nQ:function(){return eo},TI:function(){return eu},D7:function(){return ec},Qq:function(){return ed},fy:function(){return ef},n9:function(){return ep},AV:function(){return eh},Oq:function(){return em},kL:function(){return ex},L4:function(){return eg},NW:function(){return ev},NK:function(){return ey},b0:function(){return eb}});var ei=er(5893);function es({pathClassName:ee,...en}){return(0,ei.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...en,children:(0,ei.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:ee})})}function eo(ee){return(0,ei.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"
21currentColor",...ee,children:(0,ei.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,ei.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,ei.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.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 ec(ee){return(0,ei.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,ei.jsx)("title",{children:"Discord"}),(0,ei.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 ed({isOpen:ee,...en}){return(0,ei.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...en,children:[(0,ei.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,ei.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 ef(ee){return(0,ei.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...ee,children:[(0,ei.jsx)("title",{children:"GitHub"}),(0,ei.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 ep(ee){return(0,ei.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"
21currentColor",...ee,children:(0,ei.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 eh(ee){return(0,ei.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...ee,children:(0,ei.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 em(ee){return(0,ei.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...ee,children:[(0,ei.jsx)("g",{children:(0,ei.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,ei.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,ei.jsx)("g",{children:(0,ei.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function ex(ee){return(0,ei.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,ei.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 eg(ee){return(0,ei.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:[(0,ei.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,ei.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 ev(ee){return(0,ei.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...ee,children:(0,ei.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 ey(ee){return(0,ei.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...ee,children:(0,ei.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 eb(ee){return(0,ei.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...ee,children:(0,ei.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"})})}},2643:function(ee,en,er){"use strict";er.d(en,{Z:function(){return ec},a:function(){return eh}});var ei=er(7294);let es=ei.createContext({});function eo(ee){let en=ei.useContext(es);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:eo(ee),ei.createElement(es.Provider,{value:ec},en)}var ed=er(5675),ef=er.n(ed),ep={img:ee=>(0,ei.createElement)("object"==typeof ee.src?ef():"img",ee)},eh=ee=>eo({...ep,...ee})},2673:function(ee,en,er){"use strict";er.d(en,{j:function(){return ej}});var ei,es=er(9208),eo=er.n(es),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)}
21),er(2643);var ed=er(5893),ef=(0,ec.createContext)(!1),ep=er(1163);function eh(){let ee=globalThis[eu.eZ],{route:en}=(0,ep.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:es}=eh(),{Content:eo,...eu}=ei;if(ee&&(eu.pageOpts={...eu.pageOpts,pageMap:ee}),en){let{headings:ee,title:er,frontMatter:ei}=JSON.parse(en);eu.pageOpts={...eu.pageOpts,headings:ee,title:er,frontMatter:ei}}return(0,ed.jsx)(es,{...eu,pageProps:er,children:(0,ed.jsx)(ef.Provider,{value:er,children:(0,ed.jsx)(eo,{...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.replaceAll(/[-_]/g," "))}function e_(ee){return!!ee&&"object"==typeof ee&&"folder"===ee.type}function ew(ee){return Object.fromEntries(Object.entries(ee).map(([ee,en])=>{if(e_(en)){let er=ee.replace("/","");return[er,en.title||eb(er)]}return[ee,en||eb(ee)]}))}function ek(ee,en,er=!0){if(er){ek(ee,{kind:"Meta",data:en.data,locale:en.locale},!1),en.data=ew(en.data);return}for(let[er,ei]of Object.entries(en.data)){if(!e_(ei)){if("*"===er)continue;ee.children.push({kind:"MdxPage",...en.locale&&{locale:en.locale},name:er,route:ey(ee.route,er)});continue}let es=er.replace("/",""),eo={kind:"Folder",name:es,route:`${ee.route}/${es}`,children:[{kind:"Meta",...en.locale&&{locale:en.locale},data:ew(ei.items)}]};ee.children.push(eo),ek(eo,{kind:"Meta",data:ei.items,locale:en.locale},!1)}}function ej({pageNextRoute:ee,pageOpts:en,nextraLayout:er,themeConfig:es,MDXContent:ec,hot:ed,pageOptsChecksum:ef,dynamicMetaModules:ep=[]}){var eh;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(ei)return ei;let ee=JSON.parse(JSON.stringify(ex.pageMap));return await Promise.all(ep.map(async([en,{metaObjectKeyPath:er,metaParentKeyPath:ei}])=>{let es=await en,eu=await es.default(),ec=eo()(ee,er);ec.data=eu;let ed=eo()(ee,ei);ek(ed,ec)})),ei=ee});let ex=globalThis[eh=eu.eZ]||(globalThis[eh]=Object.create(null));return en.pageMap?(ex.pageMap=en.pageMap,ex.Layout=er):(en={...en,pageMap:ex.pageMap,flexsearch:ex.flexsearch},es=ex.themeConfig),en={frontMatter:{},...en},ex.route=en.route,ex.context||(ex.context=Object.create(null)),ex.context[ee]={Content:ec,pageOpts:en,themeConfig:es},em}},6008:function(ee,en,er){"use strict";var ei=er(2337);function es(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=es},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 es="text/plain",eo="us-ascii",eu=(ee,en)=>en.some(en=>en instanceof RegExp?en.test(ee):en===ee),ec=(ee,{stripHash:en})=>{let er=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.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 ep=(ed.shift()||"").toLowerCase(),eh=ed.map(ee=>{let[en,er=""]=ee.split("=").map(ee=>ee.trim());return"charset"===en&&(er=er.toLowerCase())===eo?"":`${en}${er?`=${er}`:""}`}).filter(Boolean),em=[...eh];return ef&&em.push("base64"),(em.length>0||ep&&ep!==es)&&em.unshift(ep),`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 es=new URL(ee);if(en.forceHttp&&en.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(en.forceHttp&&"https:"===es.protocol&&(es.protocol="http:"),en.forceHttps&&"http:"===es.protocol&&(es.protocol="https:"),en.stripAuthentication&&(es.username="",es.password=""),en.stripHash?es.hash="":en.stripTextFragment&&(es.hash=es.hash.replace(/#?:~:text.*?$/i,"")),es.pathname){let ee=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,en=0,er="";for(;;){let ei=ee.exec(es.pathname);if(!ei)break;let eo=ei[0],eu=ei.index,ec=es.pathname.slice(en,eu);er+=ec.replace(/\/{2,}/g,"/")+eo,en=eu+eo.length}let ei=es.pathname.slice(en,es.pathname.length);er+=ei.replace(/\/{2,}/g,"/"),es.pathname=er}if(es.pathname)try{es.pathname=decodeURI(es.pathname)}catch{}if(!0===en.removeDirectoryIndex&&(en.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(en.removeDirectoryIndex)&&en.removeDirectoryIndex.length>0){let ee=es.pathname.split("/"),er=ee[ee.length-1];eu(er,en.removeDirectoryIndex)&&(ee=ee.slice(0,-1),es.pathname=ee.slice(1).join("/")+"/")}if(es.hostname&&(es.hostname=es.hostname.replace(/\.$/,""),en.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(es.hostname)&&(es.hostname=es.hostname.replace(/^www\./,""))),Array.isArray(en.removeQueryParameters))for(let ee of[...es.searchParams.keys()])eu(ee,en.removeQueryParameters)&&es.searchParams.delete(ee);if(!0===en.removeQueryParameters&&(es.search=""),en.sortQueryParameters){es.searchParams.sort();try{es.search=decodeURIComponent(es.search)}catch{}}en.removeTrailingSlash&&(es.pathname=es.pathname.replace(/\/$/,""));let eo=ee;return ee=es.toString(),en.removeSingleSlash||"/"!==es.pathname||eo.endsWith("/")||""!==es.hash||(ee=ee.replace(/\/$/,"")),(en.removeTrailingSlash||"/"===es.pathname)&&""===es.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|\/)?)$/,es=en=>{let er=Error(en);throw er.subject_url=ee,er};"string"==typeof ee&&ee.trim()||es("Invalid url."),ee.length>ef.MAX_INPUT_LENGTH&&es("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 eo=ei.default(ee);if(eo.parse_failed){let ee=eo.href.match(er);ee?(eo.protocols=["ssh"],eo.protocol="ssh",eo.resource=ee[2],eo.host=ee[2],eo.user=ee[1],eo.pathname=`/${ee[3]}`,eo.parse_failed=!1):es("URL parsing failed.")}return eo};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);
21var ei=er.split(/\:|\+/).filter(Boolean);return"number"==typeof en?ei[en]:ei}},8357:function(ee,en,er){"use strict";er.d(en,{w_:function(){return ef}});var ei=er(7294),es={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},eo=ei.createContext&&ei.createContext(es),eu=function(){return(eu=Object.assign||function(ee){for(var en,er=1,ei=arguments.length;er<ei;er++)for(var es in en=arguments[er])Object.prototype.hasOwnProperty.call(en,es)&&(ee[es]=en[es]);return ee}).apply(this,arguments)},ec=function(ee,en){var er={};for(var ei in ee)Object.prototype.hasOwnProperty.call(ee,ei)&&0>en.indexOf(ei)&&(er[ei]=ee[ei]);if(null!=ee&&"function"==typeof Object.getOwnPropertySymbols)for(var es=0,ei=Object.getOwnPropertySymbols(ee);es<ei.length;es++)0>en.indexOf(ei[es])&&Object.prototype.propertyIsEnumerable.call(ee,ei[es])&&(er[ei[es]]=ee[ei[es]]);return er};function ed(ee){return ee&&ee.map(function(ee,en){return ei.createElement(ee.tag,eu({key:en},ee.attr),ed(ee.child))})}function ef(ee){return function(en){return ei.createElement(ep,eu({attr:eu({},ee.attr)},en),ed(ee.child))}}function ep(ee){var en=function(en){var er,es=ee.attr,eo=ee.size,ed=ee.title,ef=ec(ee,["attr","size","title"]),ep=eo||en.size||"1em";return en.className&&(er=en.className),ee.className&&(er=(er?er+" ":"")+ee.className),ei.createElement("svg",eu({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},en.attr,es,ef,{className:er,style:eu(eu({color:ee.color||en.color},en.style),ee.style),height:ep,width:ep,xmlns:"http://www.w3.org/2000/svg"}),ed&&ei.createElement("title",null,ed),ee.children)};return void 0!==eo?ei.createElement(eo.Consumer,null,function(ee){return en(ee)}):en(es)}},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",Å:"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"),es=RegExp(er,""),eo=function(ee){return ee.replace(ei,function(ee){return en[ee]})},eu=function(ee){return!!ee.match(es)};ee.exports=eo,ee.exports.has=eu,ee.exports.remove=eo},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),es=er(7224),eo="[^\\s'â\\(\\)!?;:\"-]",eu=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;
21:"-])\\s*)(${eo}))|(${eo}))(${eo}*[â']*${eo}*)`,"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,es,eo,eu,ec)=>{let ef=ee.length+eu>=ec.length,ep=ed(ee);if(!ep)return ee;if(!er){let ee=es+eo;if(ei.has(ee)&&!ef)return ep}return en+(es||er).toUpperCase()+eo});let er=en.special||[],eo=[...es,...er],ef=ec(eo);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)},1363:function(ee,en,er){"use strict";er.d(en,{R:function(){return es}});var ei,es=((ei=es||{}).Space=" ",ei.Enter="Enter",ei.Escape="Escape",ei.Backspace="Backspace",ei.Delete="Delete",ei.ArrowLeft="ArrowLeft",ei.ArrowUp="ArrowUp",ei.ArrowRight="ArrowRight",ei.ArrowDown="ArrowDown",ei.Home="Home",ei.End="End",ei.PageUp="PageUp",ei.PageDown="PageDown",ei.Tab="Tab",ei)},3781:function(ee,en,er){"use strict";er.d(en,{z:function(){return eo}});var ei=er(7294),es=er(3855);let eo=function(ee){let en=(0,es.E)(ee);return ei.useCallback((...ee)=>en.current(...ee),[en])}},9946:function(ee,en,er){"use strict";er.d(en,{M:function(){return ed}});var ei,es=er(7294),eo=er(6723),eu=er(2180),ec=er(7896);let ed=null!=(ei=es.useId)?ei:function(){let ee=(0,eu.H)(),[en,er]=es.useState(ee?()=>ec.O.nextId():null);return(0,eo.e)(()=>{null===en&&er(ec.O.nextId())},[en]),null!=en?""+en:void 0}},4879:function(ee,en,er){"use strict";er.d(en,{t:function(){return eo}});var ei=er(7294),es=er(6723);function eo(){let ee=(0,ei.useRef)(!1);return(0,es.e)(()=>(ee.current=!0,()=>{ee.current=!1}),[]),ee}},6723:function(ee,en,er){"use strict";er.d(en,{e:function(){return eo}});var ei=er(7294),es=er(7896);let eo=(ee,en)=>{es.O.isServer?(0,ei.useEffect)(ee,en):(0,ei.useLayoutEffect)(ee,en)}},3855:function(ee,en,er){"use strict";er.d(en,{E:function(){return eo}});var ei=er(7294),es=er(6723);function eo(ee){let en=(0,ei.useRef)(ee);return(0,es.e)(()=>{en.current=ee},[ee]),en}},4157:function(ee,en,er){"use strict";er.d(en,{f:function(){return eu}});var ei=er(7294),es=er(6723);function eo(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 eu(ee,en){let[er,eu]=(0,ei.useState)(()=>eo(ee));return(0,es.e)(()=>{eu(eo(ee))},[ee.type,ee.as]),(0,es.e)(()=>{er||en.current&&en.current instanceof HTMLButtonElement&&!en.current.hasAttribute("type")&&eu("button")},[er,en]),er}},2180:function(ee,en,er){"use strict";er.d(en,{H:function(){return ec}});var ei,es=er(7294),eo=er(7896);function eu(){let ee="undefined"==typeof document;return(0,(ei||(ei=er.t(es,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!ee)}function ec(){let ee=eu(),[en,er]=es.useState(eo.O.isHandoffComplete);return en&&!1===eo.O.isHandoffComplete&&er(!1),es.useEffect(()=>{!0!==en&&er(!0)},[en]),es.useEffect(()=>eo.O.handoff(),[]),!ee&&en}},3784:function(ee,en,er){"use strict";er.d(en,{T:function(){return eu}});var ei=er(7294),es=er(3781);let eo=Symbol();function eu(...ee){let en=(0,ei.useRef)(ee);(0,ei.useEffect)(()=>{en.current=ee},[ee]);let er=(0,es.z)(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[eo]))?void 0:er}},6045:function(ee,en,er){"use strict";er.d(en,{A:function(){return eu},_:function(){return ed}});var ei,es=er(2351);let eo="div";var eu=((ei=eu||{})[ei.None=1]="None",ei[ei.Focusable=2]="Focusable",ei[ei.Hidden=4]="Hidden",ei);function ec(ee,en){let{features:er=1,...ei}=ee,eu={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"}}};return(0,es.sY)({ourProps:eu,theirProps:ei,slot:{},defaultTag:eo,name:"Hidden"})}let ed=(0,es.yV)(ec)},4067:function(ee,en,er){"use strict";function ei(...ee){return Array.from(new Set(ee.flatMap(ee=>
21"string"==typeof ee?ee.split(" "):[]))).filter(Boolean).join(" ")}er.d(en,{A:function(){return ei}})},9362:function(ee,en,er){"use strict";er.d(en,{k:function(){return es}});var ei=er(1021);function es(){let ee=[],en={addEventListener:(ee,er,ei,es)=>(ee.addEventListener(er,ei,es),en.add(()=>ee.removeEventListener(er,ei,es))),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(0,ei.Y)(()=>{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=es();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}},7896:function(ee,en,er){"use strict";er.d(en,{O:function(){return ec}});var ei=Object.defineProperty,es=(ee,en,er)=>en in ee?ei(ee,en,{enumerable:!0,configurable:!0,writable:!0,value:er}):ee[en]=er,eo=(ee,en,er)=>(es(ee,"symbol"!=typeof en?en+"":en,er),er);class eu{constructor(){eo(this,"current",this.detect()),eo(this,"handoffState","pending"),eo(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 ec=new eu},4575:function(ee,en,er){"use strict";er.d(en,{EO:function(){return eT},TO:function(){return em},fE:function(){return ex},jA:function(){return eC},sP:function(){return eb},tJ:function(){return ey},wI:function(){return e_},z2:function(){return eO}});var ei,es,eo,eu,ec,ed=er(9362),ef=er(2984),ep=er(5466);let eh=["[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 em=((ei=em||{})[ei.First=1]="First",ei[ei.Previous=2]="Previous",ei[ei.Next=4]="Next",ei[ei.Last=8]="Last",ei[ei.WrapAround=16]="WrapAround",ei[ei.NoScroll=32]="NoScroll",ei),ex=((es=ex||{})[es.Error=0]="Error",es[es.Overflow=1]="Overflow",es[es.Success=2]="Success",es[es.Underflow=3]="Underflow",es),eg=((eo=eg||{})[eo.Previous=-1]="Previous",eo[eo.Next=1]="Next",eo);function ev(ee=document.body){return null==ee?[]:Array.from(ee.querySelectorAll(eh)).sort((ee,en)=>Math.sign((ee.tabIndex||Number.MAX_SAFE_INTEGER)-(en.tabIndex||Number.MAX_SAFE_INTEGER)))}var ey=((eu=ey||{})[eu.Strict=0]="Strict",eu[eu.Loose=1]="Loose",eu);function eb(ee,en=0){var er;return ee!==(null==(er=(0,ep.r)(ee))?void 0:er.body)&&(0,ef.E)(en,{0:()=>ee.matches(eh),1(){let en=ee;for(;null!==en;){if(en.matches(eh))return!0;en=en.parentElement}return!1}})}function e_(ee){let en=(0,ep.r)(ee);(0,ed.k)().nextFrame(()=>{en&&!eb(en.activeElement,0)&&ek(ee)})}var ew=((ec=ew||{})[ec.Keyboard=0]="Keyboard",ec[ec.Mouse=1]="Mouse",ec);function ek(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 ej="textarea,input";function eE(ee){var en,er;return null!=(er=null==(en=null==ee?void 0:ee.matches)?void 0:en.call(ee,ej))&&er}function eO(ee,en=ee=>ee){return ee.slice().sort((ee,er)=>{let ei=en(ee),es=en(er);if(null===ei||null===es)return 0;let eo=ei.compareDocumentPosition(es);return eo&Node.DOCUMENT_POSITION_FOLLOWING?-1:eo&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function eT(ee,en){return eC(ev(),en,{relativeTo:ee})}
21function eC(ee,en,{sorted:er=!0,relativeTo:ei=null,skipElements:es=[]}={}){let eo=Array.isArray(ee)?ee.length>0?ee[0].ownerDocument:document:ee.ownerDocument,eu=Array.isArray(ee)?er?eO(ee):ee:ev(ee);es.length>0&&eu.length>1&&(eu=eu.filter(ee=>!es.includes(ee))),ei=null!=ei?ei:eo.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}:{},ep=0,eh=eu.length,em;do{if(ep>=eh||ep+eh<=0)return 0;let ee=ed+ep;if(16&en)ee=(ee+eh)%eh;else{if(ee<0)return 3;if(ee>=eh)return 1}null==(em=eu[ee])||em.focus(ef),ep+=ec}while(em!==eo.activeElement);return 6&en&&eE(em)&&em.select(),2}},2984:function(ee,en,er){"use strict";function ei(ee,en,...er){if(ee in en){let ei=en[ee];return"function"==typeof ei?ei(...er):ei}let es=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(es,ei),es}er.d(en,{E:function(){return ei}})},1021:function(ee,en,er){"use strict";function ei(ee){"function"==typeof queueMicrotask?queueMicrotask(ee):Promise.resolve().then(ee).catch(ee=>setTimeout(()=>{throw ee}))}er.d(en,{Y:function(){return ei}})},5466:function(ee,en,er){"use strict";er.d(en,{r:function(){return es}});var ei=er(7896);function es(ee){return ei.O.isServer?null:ee instanceof Node?ee.ownerDocument:null!=ee&&ee.hasOwnProperty("current")&&ee.current instanceof Node?ee.current.ownerDocument:document}},2351:function(ee,en,er){"use strict";er.d(en,{AN:function(){return ed},l4:function(){return ef},oA:function(){return ev},sY:function(){return ep},yV:function(){return eg}});var ei,es,eo=er(7294),eu=er(4067),ec=er(2984),ed=((ei=ed||{})[ei.None=0]="None",ei[ei.RenderStrategy=1]="RenderStrategy",ei[ei.Static=2]="Static",ei),ef=((es=ef||{})[es.Unmount=0]="Unmount",es[es.Hidden=1]="Hidden",es);function ep({ourProps:ee,theirProps:en,slot:er,defaultTag:ei,features:es,visible:eo=!0,name:eu}){let ed=ex(en,ee);if(eo)return eh(ed,er,ei,eu);let ef=null!=es?es:0;if(2&ef){let{static:ee=!1,...en}=ed;if(ee)return eh(en,er,ei,eu)}if(1&ef){let{unmount:ee=!0,...en}=ed;return(0,ec.E)(ee?0:1,{0:()=>null,1:()=>eh({...en,hidden:!0,style:{display:"none"}},er,ei,eu)})}return eh(ed,er,ei,eu)}function eh(ee,en={},er,ei){let{as:es=er,children:ec,refName:ed="ref",...ef}=ey(ee,["unmount","static"]),ep=void 0!==ee.ref?{[ed]:ee.ref}:{},eh="function"==typeof ec?ec(en):ec;"className"in ef&&ef.className&&"function"==typeof ef.className&&(ef.className=ef.className(en));let eg={};if(en){let ee=!1,er=[];for(let[ei,es]of Object.entries(en))"boolean"==typeof es&&(ee=!0),!0===e
21s&&er.push(ei);ee&&(eg["data-headlessui-state"]=er.join(" "))}if(es===eo.Fragment&&Object.keys(ev(ef)).length>0){if(!(0,eo.isValidElement)(eh)||Array.isArray(eh)&&eh.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(ef).map(ee=>` - ${ee}`).join(` 22`),"","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(` 23`)].join(` 24`));let ee=eh.props,en="function"==typeof(null==ee?void 0:ee.className)?(...en)=>(0,eu.A)(null==ee?void 0:ee.className(...en),ef.className):(0,eu.A)(null==ee?void 0:ee.className,ef.className),er=en?{className:en}:{};return(0,eo.cloneElement)(eh,Object.assign({},ex(eh.props,ev(ey(ef,["ref"]))),eg,ep,em(eh.ref,ep.ref),er))}return(0,eo.createElement)(es,Object.assign({},ey(ef,["ref"]),es!==eo.Fragment&&ep,es!==eo.Fragment&&eg),eh)}function em(...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 ex(...ee){var en;if(0===ee.length)return{};if(1===ee.length)return ee[0];let er={},ei={};for(let es of ee)for(let ee in es)ee.startsWith("on")&&"function"==typeof es[ee]?(null!=(en=ei[ee])||(ei[ee]=[]),ei[ee].push(es[ee])):er[ee]=es[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 es of ei[ee]){if((en instanceof Event||(null==en?void 0:en.nativeEvent)instanceof Event)&&en.defaultPrevented)return;es(en,...er)}}});return er}function eg(ee){var en;return Object.assign((0,eo.forwardRef)(ee),{displayName:null!=(en=ee.displayName)?en:ee.name})}function ev(ee){let en=Object.assign({},ee);for(let ee in en)void 0===en[ee]&&delete en[ee];return en}function ey(ee,en=[]){let er=Object.assign({},ee);for(let ee of en)ee in er&&delete er[ee];return er}},512:function(ee,en,er){"use strict";function ei(ee){var en,er,es="";if("string"==typeof ee||"number"==typeof ee)es+=ee;else if("object"==typeof ee){if(Array.isArray(ee))for(en=0;en<ee.length;en++)ee[en]&&(er=ei(ee[en]))&&(es&&(es+=" "),es+=er);else for(en in ee)ee[en]&&(es&&(es+=" "),es+=en)}return es}function es(){for(var ee,en,er=0,es="";er<arguments.length;)(ee=arguments[er++])&&(en=ei(ee))&&(es&&(es+=" "),es+=en);return es}en.Z=es},7222:function(ee,en,er){"use strict";er.d(en,{ZW:function(){return eo},eZ:function(){return ec},hV:function(){return ed}});var ei=er(1864),es=er(3454),eo="en-US",eu=es.cwd();ei.join(eu,"public");var ec=Symbol.for("__nextra_internal__"),ed=new Set(["/404","/500"])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.