@swirls/cli 0.0.22 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js DELETED
@@ -1,612 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire } from 'node:module';
3
- const require = createRequire(import.meta.url);
4
- var K$=Object.create;var iB=Object.defineProperty;var Z$=Object.getOwnPropertyDescriptor;var Y$=Object.getOwnPropertyNames;var q$=Object.getPrototypeOf,W$=Object.prototype.hasOwnProperty;var Ai=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Y=(e,t)=>()=>(e&&(t=e(e=0)),t);var On=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ea=(e,t)=>{for(var r in t)iB(e,r,{get:t[r],enumerable:!0})},X$=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Y$(t))!W$.call(e,i)&&i!==r&&iB(e,i,{get:()=>t[i],enumerable:!(o=Z$(t,i))||o.enumerable});return e};var vt=(e,t,r)=>(r=e!=null?K$(q$(e)):{},X$(t||!e||!e.__esModule?iB(r,"default",{value:e,enumerable:!0}):r,e));import F7 from"path";import{fileURLToPath as M7}from"url";var x=Y(()=>{"use strict"});var zm={};Ea(zm,{install:()=>G8,uninstall:()=>P8});import L8 from"os";import $8 from"fs";import H8 from"path";function GN(e){return`# @stricli/auto-complete START [${e}]`}async function PN(e){let{os:t=L8,fs:r=$8,path:o=H8}=e;if(!e.process.env.SHELL?.includes("bash")){e.process.stderr.write(`Skipping bash as shell was not detected.
5
- `);return}let i=t.homedir(),u=o.join(i,".bashrc"),f;try{f=(await r.promises.readFile(u)).toString().split(/\n/)}catch{e.process.stderr.write(`Expected to edit ~/.bashrc but file was not found.
6
- `);return}return{install:async(y,I)=>{let D=GN(y),R=f.indexOf(D),z=`__${y}_complete`,V=[D,`${z}() { export COMP_LINE; COMPREPLY=( $(${I} $COMP_LINE) ); return 0; }`,`complete -o default -o nospace -F ${z} ${y}`,dB];if(R>=0){let $=f.indexOf(dB,R);f.splice(R,$-R+1,...V)}else f.push(...V);await r.promises.writeFile(u,f.join(`
7
- `)),e.process.stdout.write("Restart bash shell or run `source ~/.bashrc` to load changes.\n")},uninstall:async y=>{let I=GN(y),D=f.indexOf(I);if(D>=0){let R=f.indexOf(dB,D);f.splice(D,R-D+1)}await r.promises.writeFile(u,f.join(`
8
- `)),e.process.stdout.write("Restart bash shell or run `source ~/.bashrc` to load changes.\n")}}}async function G8(e,t){e.bash&&await(await PN(this))?.install(t,e.bash)}async function P8(e,t){e.bash&&await(await PN(this))?.uninstall(t)}var dB,Mm=Y(()=>{"use strict";x();dB="# @stricli/auto-complete END"});function j8(e){return e instanceof Error?e:new Error("Something went wrong")}async function hn(e,t,r){try{return{data:await e()}}catch(o){let i=r?.onException?.(o)??j8(o);return{failure:t(i)}}}var wl=Y(()=>{"use strict";x()});var iT=On(bn=>{"use strict";x();var mB=Symbol.for("react.transitional.element"),J8=Symbol.for("react.portal"),V8=Symbol.for("react.fragment"),K8=Symbol.for("react.strict_mode"),Z8=Symbol.for("react.profiler"),Y8=Symbol.for("react.consumer"),q8=Symbol.for("react.context"),W8=Symbol.for("react.forward_ref"),X8=Symbol.for("react.suspense"),eH=Symbol.for("react.memo"),qN=Symbol.for("react.lazy"),tH=Symbol.for("react.activity"),VN=Symbol.iterator;function nH(e){return e===null||typeof e!="object"?null:(e=VN&&e[VN]||e["@@iterator"],typeof e=="function"?e:null)}var WN={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},XN=Object.assign,eT={};function uh(e,t,r){this.props=e,this.context=t,this.refs=eT,this.updater=r||WN}uh.prototype.isReactComponent={};uh.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};uh.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tT(){}tT.prototype=uh.prototype;function EB(e,t,r){this.props=e,this.context=t,this.refs=eT,this.updater=r||WN}var yB=EB.prototype=new tT;yB.constructor=EB;XN(yB,uh.prototype);yB.isPureReactComponent=!0;var KN=Array.isArray;function gB(){}var Sr={H:null,A:null,T:null,S:null},nT=Object.prototype.hasOwnProperty;function vB(e,t,r){var o=r.ref;return{$$typeof:mB,type:e,key:t,ref:o!==void 0?o:null,props:r}}function iH(e,t){return vB(e.type,t,e.props)}function CB(e){return typeof e=="object"&&e!==null&&e.$$typeof===mB}function rH(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var ZN=/\/+/g;function hB(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rH(""+e.key):t.toString(36)}function aH(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(gB,gB):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function lh(e,t,r,o,i){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(u){case"bigint":case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case mB:case J8:f=!0;break;case qN:return f=e._init,lh(f(e._payload),t,r,o,i)}}if(f)return i=i(e),f=o===""?"."+hB(e,0):o,KN(i)?(r="",f!=null&&(r=f.replace(ZN,"$&/")+"/"),lh(i,t,r,"",function(D){return D})):i!=null&&(CB(i)&&(i=iH(i,r+(i.key==null||e&&e.key===i.key?"":(""+i.key).replace(ZN,"$&/")+"/")+f)),t.push(i)),1;f=0;var y=o===""?".":o+":";if(KN(e))for(var I=0;I<e.length;I++)o=e[I],u=y+hB(o,I),f+=lh(o,t,r,u,i);else if(I=nH(e),typeof I=="function")for(e=I.call(e),I=0;!(o=e.next()).done;)o=o.value,u=y+hB(o,I++),f+=lh(o,t,r,u,i);else if(u==="object"){if(typeof e.then=="function")return lh(aH(e),t,r,o,i);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return f}function Dv(e,t,r){if(e==null)return e;var o=[],i=0;return lh(e,o,"","",function(u){return t.call(r,u,i++)}),o}function oH(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var YN=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},sH={map:Dv,forEach:function(e,t,r){Dv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Dv(e,function(){t++}),t},toArray:function(e){return Dv(e,function(t){return t})||[]},only:function(e){if(!CB(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};bn.Activity=tH;bn.Children=sH;bn.Component=uh;bn.Fragment=V8;bn.Profiler=Z8;bn.PureComponent=EB;bn.StrictMode=K8;bn.Suspense=X8;bn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Sr;bn.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Sr.H.useMemoCache(e)}};bn.cache=function(e){return function(){return e.apply(null,arguments)}};bn.cacheSignal=function(){return null};bn.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=XN({},e.props),i=e.key;if(t!=null)for(u in t.key!==void 0&&(i=""+t.key),t)!nT.call(t,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&t.ref===void 0||(o[u]=t[u]);var u=arguments.length-2;if(u===1)o.children=r;else if(1<u){for(var f=Array(u),y=0;y<u;y++)f[y]=arguments[y+2];o.children=f}return vB(e.type,i,o)};bn.createContext=function(e){return e={$$typeof:q8,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Y8,_context:e},e};bn.createElement=function(e,t,r){var o,i={},u=null;if(t!=null)for(o in t.key!==void 0&&(u=""+t.key),t)nT.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(i[o]=t[o]);var f=arguments.length-2;if(f===1)i.children=r;else if(1<f){for(var y=Array(f),I=0;I<f;I++)y[I]=arguments[I+2];i.children=y}if(e&&e.defaultProps)for(o in f=e.defaultProps,f)i[o]===void 0&&(i[o]=f[o]);return vB(e,u,i)};bn.createRef=function(){return{current:null}};bn.forwardRef=function(e){return{$$typeof:W8,render:e}};bn.isValidElement=CB;bn.lazy=function(e){return{$$typeof:qN,_payload:{_status:-1,_result:e},_init:oH}};bn.memo=function(e,t){return{$$typeof:eH,type:e,compare:t===void 0?null:t}};bn.startTransition=function(e){var t=Sr.T,r={};Sr.T=r;try{var o=e(),i=Sr.S;i!==null&&i(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(gB,YN)}catch(u){YN(u)}finally{t!==null&&r.types!==null&&(t.types=r.types),Sr.T=t}};bn.unstable_useCacheRefresh=function(){return Sr.H.useCacheRefresh()};bn.use=function(e){return Sr.H.use(e)};bn.useActionState=function(e,t,r){return Sr.H.useActionState(e,t,r)};bn.useCallback=function(e,t){return Sr.H.useCallback(e,t)};bn.useContext=function(e){return Sr.H.useContext(e)};bn.useDebugValue=function(){};bn.useDeferredValue=function(e,t){return Sr.H.useDeferredValue(e,t)};bn.useEffect=function(e,t){return Sr.H.useEffect(e,t)};bn.useEffectEvent=function(e){return Sr.H.useEffectEvent(e)};bn.useId=function(){return Sr.H.useId()};bn.useImperativeHandle=function(e,t,r){return Sr.H.useImperativeHandle(e,t,r)};bn.useInsertionEffect=function(e,t){return Sr.H.useInsertionEffect(e,t)};bn.useLayoutEffect=function(e,t){return Sr.H.useLayoutEffect(e,t)};bn.useMemo=function(e,t){return Sr.H.useMemo(e,t)};bn.useOptimistic=function(e,t){return Sr.H.useOptimistic(e,t)};bn.useReducer=function(e,t,r){return Sr.H.useReducer(e,t,r)};bn.useRef=function(e){return Sr.H.useRef(e)};bn.useState=function(e){return Sr.H.useState(e)};bn.useSyncExternalStore=function(e,t,r){return Sr.H.useSyncExternalStore(e,t,r)};bn.useTransition=function(){return Sr.H.useTransition()};bn.version="19.2.1"});var rT=On((yn,Sv)=>{"use strict";x();process.env.NODE_ENV!=="production"&&(function(){function e(F,ue){Object.defineProperty(o.prototype,F,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",ue[0],ue[1])}})}function t(F){return F===null||typeof F!="object"?null:(F=Ci&&F[Ci]||F["@@iterator"],typeof F=="function"?F:null)}function r(F,ue){F=(F=F.constructor)&&(F.displayName||F.name)||"ReactClass";var je=F+"."+ue;en[je]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",ue,F),en[je]=!0)}function o(F,ue,je){this.props=F,this.context=ue,this.refs=gt,this.updater=je||Nn}function i(){}function u(F,ue,je){this.props=F,this.context=ue,this.refs=gt,this.updater=je||Nn}function f(){}function y(F){return""+F}function I(F){try{y(F);var ue=!1}catch{ue=!0}if(ue){ue=console;var je=ue.error,ot=typeof Symbol=="function"&&Symbol.toStringTag&&F[Symbol.toStringTag]||F.constructor.name||"Object";return je.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ot),y(F)}}function D(F){if(F==null)return null;if(typeof F=="function")return F.$$typeof===dt?null:F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case Ve:return"Fragment";case Ee:return"Profiler";case Dt:return"StrictMode";case An:return"Suspense";case Jn:return"SuspenseList";case Lt:return"Activity"}if(typeof F=="object")switch(typeof F.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),F.$$typeof){case ke:return"Portal";case Qt:return F.displayName||"Context";case Pe:return(F._context.displayName||"Context")+".Consumer";case wt:var ue=F.render;return F=F.displayName,F||(F=ue.displayName||ue.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case un:return ue=F.displayName||null,ue!==null?ue:D(F.type)||"Memo";case mi:ue=F._payload,F=F._init;try{return D(F(ue))}catch{}}return null}function R(F){if(F===Ve)return"<>";if(typeof F=="object"&&F!==null&&F.$$typeof===mi)return"<...>";try{var ue=D(F);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function z(){var F=Et.A;return F===null?null:F.getOwner()}function V(){return Error("react-stack-top-frame")}function $(F){if(ua.call(F,"key")){var ue=Object.getOwnPropertyDescriptor(F,"key").get;if(ue&&ue.isReactWarning)return!1}return F.key!==void 0}function te(F,ue){function je(){Ii||(Ii=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ue))}je.isReactWarning=!0,Object.defineProperty(F,"key",{get:je,configurable:!0})}function re(){var F=D(this.type);return br[F]||(br[F]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),F=this.props.ref,F!==void 0?F:null}function oe(F,ue,je,ot,_t,xt){var $t=je.ref;return F={$$typeof:lt,type:F,key:ue,props:je,_owner:ot},($t!==void 0?$t:null)!==null?Object.defineProperty(F,"ref",{enumerable:!1,get:re}):Object.defineProperty(F,"ref",{enumerable:!1,value:null}),F._store={},Object.defineProperty(F._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(F,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(F,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_t}),Object.defineProperty(F,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:xt}),Object.freeze&&(Object.freeze(F.props),Object.freeze(F)),F}function ce(F,ue){return ue=oe(F.type,ue,F.props,F._owner,F._debugStack,F._debugTask),F._store&&(ue._store.validated=F._store.validated),ue}function xe(F){Me(F)?F._store&&(F._store.validated=1):typeof F=="object"&&F!==null&&F.$$typeof===mi&&(F._payload.status==="fulfilled"?Me(F._payload.value)&&F._payload.value._store&&(F._payload.value._store.validated=1):F._store&&(F._store.validated=1))}function Me(F){return typeof F=="object"&&F!==null&&F.$$typeof===lt}function Ie(F){var ue={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(je){return ue[je]})}function it(F,ue){return typeof F=="object"&&F!==null&&F.key!=null?(I(F.key),Ie(""+F.key)):ue.toString(36)}function Xe(F){switch(F.status){case"fulfilled":return F.value;case"rejected":throw F.reason;default:switch(typeof F.status=="string"?F.then(f,f):(F.status="pending",F.then(function(ue){F.status==="pending"&&(F.status="fulfilled",F.value=ue)},function(ue){F.status==="pending"&&(F.status="rejected",F.reason=ue)})),F.status){case"fulfilled":return F.value;case"rejected":throw F.reason}}throw F}function k(F,ue,je,ot,_t){var xt=typeof F;(xt==="undefined"||xt==="boolean")&&(F=null);var $t=!1;if(F===null)$t=!0;else switch(xt){case"bigint":case"string":case"number":$t=!0;break;case"object":switch(F.$$typeof){case lt:case ke:$t=!0;break;case mi:return $t=F._init,k($t(F._payload),ue,je,ot,_t)}}if($t){$t=F,_t=_t($t);var Pt=ot===""?"."+it($t,0):ot;return Br(_t)?(je="",Pt!=null&&(je=Pt.replace(In,"$&/")+"/"),k(_t,ue,je,"",function(Ji){return Ji})):_t!=null&&(Me(_t)&&(_t.key!=null&&($t&&$t.key===_t.key||I(_t.key)),je=ce(_t,je+(_t.key==null||$t&&$t.key===_t.key?"":(""+_t.key).replace(In,"$&/")+"/")+Pt),ot!==""&&$t!=null&&Me($t)&&$t.key==null&&$t._store&&!$t._store.validated&&(je._store.validated=2),_t=je),ue.push(_t)),1}if($t=0,Pt=ot===""?".":ot+":",Br(F))for(var rn=0;rn<F.length;rn++)ot=F[rn],xt=Pt+it(ot,rn),$t+=k(ot,ue,je,xt,_t);else if(rn=t(F),typeof rn=="function")for(rn===F.entries&&(ri||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ri=!0),F=rn.call(F),rn=0;!(ot=F.next()).done;)ot=ot.value,xt=Pt+it(ot,rn++),$t+=k(ot,ue,je,xt,_t);else if(xt==="object"){if(typeof F.then=="function")return k(Xe(F),ue,je,ot,_t);throw ue=String(F),Error("Objects are not valid as a React child (found: "+(ue==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":ue)+"). If you meant to render a collection of children, use an array instead.")}return $t}function He(F,ue,je){if(F==null)return F;var ot=[],_t=0;return k(F,ot,"","",function(xt){return ue.call(je,xt,_t++)}),ot}function It(F){if(F._status===-1){var ue=F._ioInfo;ue!=null&&(ue.start=ue.end=performance.now()),ue=F._result;var je=ue();if(je.then(function(_t){if(F._status===0||F._status===-1){F._status=1,F._result=_t;var xt=F._ioInfo;xt!=null&&(xt.end=performance.now()),je.status===void 0&&(je.status="fulfilled",je.value=_t)}},function(_t){if(F._status===0||F._status===-1){F._status=2,F._result=_t;var xt=F._ioInfo;xt!=null&&(xt.end=performance.now()),je.status===void 0&&(je.status="rejected",je.reason=_t)}}),ue=F._ioInfo,ue!=null){ue.value=je;var ot=je.displayName;typeof ot=="string"&&(ue.name=ot)}F._status===-1&&(F._status=0,F._result=je)}if(F._status===1)return ue=F._result,ue===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
9
-
10
- Your code should look like:
11
- const MyComponent = lazy(() => import('./MyComponent'))
12
-
13
- Did you accidentally put curly braces around the import?`,ue),"default"in ue||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
14
-
15
- Your code should look like:
16
- const MyComponent = lazy(() => import('./MyComponent'))`,ue),ue.default;throw F._result}function Gt(){var F=Et.H;return F===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
17
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
18
- 2. You might be breaking the Rules of Hooks
19
- 3. You might have more than one copy of React in the same app
20
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),F}function ln(){Et.asyncTransitions--}function Ht(F){if(Ia===null)try{var ue=("require"+Math.random()).slice(0,7);Ia=(Sv&&Sv[ue]).call(Sv,"timers").setImmediate}catch{Ia=function(ot){zt===!1&&(zt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var _t=new MessageChannel;_t.port1.onmessage=ot,_t.port2.postMessage(void 0)}}return Ia(F)}function Xt(F){return 1<F.length&&typeof AggregateError=="function"?new AggregateError(F):F[0]}function Ki(F,ue){ue!==Jr-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Jr=ue}function Ue(F,ue,je){var ot=Et.actQueue;if(ot!==null)if(ot.length!==0)try{Ft(ot),Ht(function(){return Ue(F,ue,je)});return}catch(_t){Et.thrownErrors.push(_t)}else Et.actQueue=null;0<Et.thrownErrors.length?(ot=Xt(Et.thrownErrors),Et.thrownErrors.length=0,je(ot)):ue(F)}function Ft(F){if(!fr){fr=!0;var ue=0;try{for(;ue<F.length;ue++){var je=F[ue];do{Et.didUsePromise=!1;var ot=je(!1);if(ot!==null){if(Et.didUsePromise){F[ue]=je,F.splice(0,ue);return}je=ot}else break}while(!0)}F.length=0}catch(_t){F.splice(0,ue+1),Et.thrownErrors.push(_t)}finally{fr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var lt=Symbol.for("react.transitional.element"),ke=Symbol.for("react.portal"),Ve=Symbol.for("react.fragment"),Dt=Symbol.for("react.strict_mode"),Ee=Symbol.for("react.profiler"),Pe=Symbol.for("react.consumer"),Qt=Symbol.for("react.context"),wt=Symbol.for("react.forward_ref"),An=Symbol.for("react.suspense"),Jn=Symbol.for("react.suspense_list"),un=Symbol.for("react.memo"),mi=Symbol.for("react.lazy"),Lt=Symbol.for("react.activity"),Ci=Symbol.iterator,en={},Nn={isMounted:function(){return!1},enqueueForceUpdate:function(F){r(F,"forceUpdate")},enqueueReplaceState:function(F){r(F,"replaceState")},enqueueSetState:function(F){r(F,"setState")}},Vn=Object.assign,gt={};Object.freeze(gt),o.prototype.isReactComponent={},o.prototype.setState=function(F,ue){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,F,ue,"setState")},o.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};var vn={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Hr in vn)vn.hasOwnProperty(Hr)&&e(Hr,vn[Hr]);i.prototype=o.prototype,vn=u.prototype=new i,vn.constructor=u,Vn(vn,o.prototype),vn.isPureReactComponent=!0;var Br=Array.isArray,dt=Symbol.for("react.client.reference"),Et={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ua=Object.prototype.hasOwnProperty,Dr=console.createTask?console.createTask:function(){return null};vn={react_stack_bottom_frame:function(F){return F()}};var Ii,ki,br={},Ca=vn.react_stack_bottom_frame.bind(vn,V)(),Zi=Dr(R(V)),ri=!1,In=/\/+/g,Oi=typeof reportError=="function"?reportError:function(F){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ue=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof F=="object"&&F!==null&&typeof F.message=="string"?String(F.message):String(F),error:F});if(!window.dispatchEvent(ue))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",F);return}console.error(F)},zt=!1,Ia=null,Jr=0,Vr=!1,fr=!1,Fi=typeof queueMicrotask=="function"?function(F){queueMicrotask(function(){return queueMicrotask(F)})}:Ht;vn=Object.freeze({__proto__:null,c:function(F){return Gt().useMemoCache(F)}});var Hr={map:He,forEach:function(F,ue,je){He(F,function(){ue.apply(this,arguments)},je)},count:function(F){var ue=0;return He(F,function(){ue++}),ue},toArray:function(F){return He(F,function(ue){return ue})||[]},only:function(F){if(!Me(F))throw Error("React.Children.only expected to receive a single React element child.");return F}};yn.Activity=Lt,yn.Children=Hr,yn.Component=o,yn.Fragment=Ve,yn.Profiler=Ee,yn.PureComponent=u,yn.StrictMode=Dt,yn.Suspense=An,yn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Et,yn.__COMPILER_RUNTIME=vn,yn.act=function(F){var ue=Et.actQueue,je=Jr;Jr++;var ot=Et.actQueue=ue!==null?ue:[],_t=!1;try{var xt=F()}catch(rn){Et.thrownErrors.push(rn)}if(0<Et.thrownErrors.length)throw Ki(ue,je),F=Xt(Et.thrownErrors),Et.thrownErrors.length=0,F;if(xt!==null&&typeof xt=="object"&&typeof xt.then=="function"){var $t=xt;return Fi(function(){_t||Vr||(Vr=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(rn,Ji){_t=!0,$t.then(function(pr){if(Ki(ue,je),je===0){try{Ft(ot),Ht(function(){return Ue(pr,rn,Ji)})}catch(cn){Et.thrownErrors.push(cn)}if(0<Et.thrownErrors.length){var _o=Xt(Et.thrownErrors);Et.thrownErrors.length=0,Ji(_o)}}else rn(pr)},function(pr){Ki(ue,je),0<Et.thrownErrors.length&&(pr=Xt(Et.thrownErrors),Et.thrownErrors.length=0),Ji(pr)})}}}var Pt=xt;if(Ki(ue,je),je===0&&(Ft(ot),ot.length!==0&&Fi(function(){_t||Vr||(Vr=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Et.actQueue=null),0<Et.thrownErrors.length)throw F=Xt(Et.thrownErrors),Et.thrownErrors.length=0,F;return{then:function(rn,Ji){_t=!0,je===0?(Et.actQueue=ot,Ht(function(){return Ue(Pt,rn,Ji)})):rn(Pt)}}},yn.cache=function(F){return function(){return F.apply(null,arguments)}},yn.cacheSignal=function(){return null},yn.captureOwnerStack=function(){var F=Et.getCurrentStack;return F===null?null:F()},yn.cloneElement=function(F,ue,je){if(F==null)throw Error("The argument must be a React element, but you passed "+F+".");var ot=Vn({},F.props),_t=F.key,xt=F._owner;if(ue!=null){var $t;e:{if(ua.call(ue,"ref")&&($t=Object.getOwnPropertyDescriptor(ue,"ref").get)&&$t.isReactWarning){$t=!1;break e}$t=ue.ref!==void 0}$t&&(xt=z()),$(ue)&&(I(ue.key),_t=""+ue.key);for(Pt in ue)!ua.call(ue,Pt)||Pt==="key"||Pt==="__self"||Pt==="__source"||Pt==="ref"&&ue.ref===void 0||(ot[Pt]=ue[Pt])}var Pt=arguments.length-2;if(Pt===1)ot.children=je;else if(1<Pt){$t=Array(Pt);for(var rn=0;rn<Pt;rn++)$t[rn]=arguments[rn+2];ot.children=$t}for(ot=oe(F.type,_t,ot,xt,F._debugStack,F._debugTask),_t=2;_t<arguments.length;_t++)xe(arguments[_t]);return ot},yn.createContext=function(F){return F={$$typeof:Qt,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null},F.Provider=F,F.Consumer={$$typeof:Pe,_context:F},F._currentRenderer=null,F._currentRenderer2=null,F},yn.createElement=function(F,ue,je){for(var ot=2;ot<arguments.length;ot++)xe(arguments[ot]);ot={};var _t=null;if(ue!=null)for(rn in ki||!("__self"in ue)||"key"in ue||(ki=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),$(ue)&&(I(ue.key),_t=""+ue.key),ue)ua.call(ue,rn)&&rn!=="key"&&rn!=="__self"&&rn!=="__source"&&(ot[rn]=ue[rn]);var xt=arguments.length-2;if(xt===1)ot.children=je;else if(1<xt){for(var $t=Array(xt),Pt=0;Pt<xt;Pt++)$t[Pt]=arguments[Pt+2];Object.freeze&&Object.freeze($t),ot.children=$t}if(F&&F.defaultProps)for(rn in xt=F.defaultProps,xt)ot[rn]===void 0&&(ot[rn]=xt[rn]);_t&&te(ot,typeof F=="function"?F.displayName||F.name||"Unknown":F);var rn=1e4>Et.recentlyCreatedOwnerStacks++;return oe(F,_t,ot,z(),rn?Error("react-stack-top-frame"):Ca,rn?Dr(R(F)):Zi)},yn.createRef=function(){var F={current:null};return Object.seal(F),F},yn.forwardRef=function(F){F!=null&&F.$$typeof===un?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof F!="function"?console.error("forwardRef requires a render function but was given %s.",F===null?"null":typeof F):F.length!==0&&F.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",F.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),F!=null&&F.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var ue={$$typeof:wt,render:F},je;return Object.defineProperty(ue,"displayName",{enumerable:!1,configurable:!0,get:function(){return je},set:function(ot){je=ot,F.name||F.displayName||(Object.defineProperty(F,"name",{value:ot}),F.displayName=ot)}}),ue},yn.isValidElement=Me,yn.lazy=function(F){F={_status:-1,_result:F};var ue={$$typeof:mi,_payload:F,_init:It},je={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return F._ioInfo=je,ue._debugInfo=[{awaited:je}],ue},yn.memo=function(F,ue){F==null&&console.error("memo: The first argument must be a component. Instead received: %s",F===null?"null":typeof F),ue={$$typeof:un,type:F,compare:ue===void 0?null:ue};var je;return Object.defineProperty(ue,"displayName",{enumerable:!1,configurable:!0,get:function(){return je},set:function(ot){je=ot,F.name||F.displayName||(Object.defineProperty(F,"name",{value:ot}),F.displayName=ot)}}),ue},yn.startTransition=function(F){var ue=Et.T,je={};je._updatedFibers=new Set,Et.T=je;try{var ot=F(),_t=Et.S;_t!==null&&_t(je,ot),typeof ot=="object"&&ot!==null&&typeof ot.then=="function"&&(Et.asyncTransitions++,ot.then(ln,ln),ot.then(f,Oi))}catch(xt){Oi(xt)}finally{ue===null&&je._updatedFibers&&(F=je._updatedFibers.size,je._updatedFibers.clear(),10<F&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),ue!==null&&je.types!==null&&(ue.types!==null&&ue.types!==je.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),ue.types=je.types),Et.T=ue}},yn.unstable_useCacheRefresh=function(){return Gt().useCacheRefresh()},yn.use=function(F){return Gt().use(F)},yn.useActionState=function(F,ue,je){return Gt().useActionState(F,ue,je)},yn.useCallback=function(F,ue){return Gt().useCallback(F,ue)},yn.useContext=function(F){var ue=Gt();return F.$$typeof===Pe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),ue.useContext(F)},yn.useDebugValue=function(F,ue){return Gt().useDebugValue(F,ue)},yn.useDeferredValue=function(F,ue){return Gt().useDeferredValue(F,ue)},yn.useEffect=function(F,ue){return F==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Gt().useEffect(F,ue)},yn.useEffectEvent=function(F){return Gt().useEffectEvent(F)},yn.useId=function(){return Gt().useId()},yn.useImperativeHandle=function(F,ue,je){return Gt().useImperativeHandle(F,ue,je)},yn.useInsertionEffect=function(F,ue){return F==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Gt().useInsertionEffect(F,ue)},yn.useLayoutEffect=function(F,ue){return F==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Gt().useLayoutEffect(F,ue)},yn.useMemo=function(F,ue){return Gt().useMemo(F,ue)},yn.useOptimistic=function(F,ue){return Gt().useOptimistic(F,ue)},yn.useReducer=function(F,ue,je){return Gt().useReducer(F,ue,je)},yn.useRef=function(F){return Gt().useRef(F)},yn.useState=function(F){return Gt().useState(F)},yn.useSyncExternalStore=function(F,ue,je){return Gt().useSyncExternalStore(F,ue,je)},yn.useTransition=function(){return Gt().useTransition()},yn.version="19.2.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var yi=On((mZ,IB)=>{"use strict";x();process.env.NODE_ENV==="production"?IB.exports=iT():IB.exports=rT()});function aT(e,t,{signal:r,edges:o}={}){let i,u=null,f=o!=null&&o.includes("leading"),y=o==null||o.includes("trailing"),I=()=>{u!==null&&(e.apply(i,u),i=void 0,u=null)},D=()=>{y&&I(),$()},R=null,z=()=>{R!=null&&clearTimeout(R),R=setTimeout(()=>{R=null,D()},t)},V=()=>{R!==null&&(clearTimeout(R),R=null)},$=()=>{V(),i=void 0,u=null},te=()=>{I()},re=function(...oe){if(r?.aborted)return;i=this,u=oe;let ce=R==null;z(),f&&ce&&I()};return re.schedule=z,re.cancel=$,re.flush=te,r?.addEventListener("abort",$,{once:!0}),re}var oT=Y(()=>{"use strict";x()});function sT(e,t=0,r={}){typeof r!="object"&&(r={});let{leading:o=!1,trailing:i=!0,maxWait:u}=r,f=Array(2);o&&(f[0]="leading"),i&&(f[1]="trailing");let y,I=null,D=aT(function(...V){y=e.apply(this,V),I=null},t,{edges:f}),R=function(...V){return u!=null&&(I===null&&(I=Date.now()),Date.now()-I>=u)?(y=e.apply(this,V),I=Date.now(),D.cancel(),D.schedule(),y):(D.apply(this,V),y)},z=()=>(D.flush(),y);return R.cancel=D.cancel,R.flush=z,R}var lT=Y(()=>{"use strict";x();oT()});function bv(e,t=0,r={}){let{leading:o=!0,trailing:i=!0}=r;return sT(e,t,{leading:o,maxWait:t,trailing:i})}var uT=Y(()=>{"use strict";x();lT()});var cT=Y(()=>{"use strict";x();uT()});var ch,wZ,RZ,NZ,TZ,UZ,kZ,OZ,FZ,zZ,Lm,MZ,LZ,$Z,HZ,GZ,AT=Y(()=>{"use strict";x();ch=globalThis.window?.document!==void 0,wZ=globalThis.process?.versions?.node!==void 0,RZ=globalThis.process?.versions?.bun!==void 0,NZ=globalThis.Deno?.version?.deno!==void 0,TZ=globalThis.process?.versions?.electron!==void 0,UZ=globalThis.navigator?.userAgent?.includes("jsdom")===!0,kZ=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,OZ=typeof DedicatedWorkerGlobalScope<"u"&&globalThis instanceof DedicatedWorkerGlobalScope,FZ=typeof SharedWorkerGlobalScope<"u"&&globalThis instanceof SharedWorkerGlobalScope,zZ=typeof ServiceWorkerGlobalScope<"u"&&globalThis instanceof ServiceWorkerGlobalScope,Lm=globalThis.navigator?.userAgentData?.platform,MZ=Lm==="macOS"||globalThis.navigator?.platform==="MacIntel"||globalThis.navigator?.userAgent?.includes(" Mac ")===!0||globalThis.process?.platform==="darwin",LZ=Lm==="Windows"||globalThis.navigator?.platform==="Win32"||globalThis.process?.platform==="win32",$Z=Lm==="Linux"||globalThis.navigator?.platform?.startsWith("Linux")===!0||globalThis.navigator?.userAgent?.includes(" Linux ")===!0||globalThis.process?.platform==="linux",HZ=Lm==="iOS"||globalThis.navigator?.platform==="MacIntel"&&globalThis.navigator?.maxTouchPoints>1||/iPad|iPhone|iPod/.test(globalThis.navigator?.platform),GZ=Lm==="Android"||globalThis.navigator?.platform==="Android"||globalThis.navigator?.userAgent?.includes(" Android ")===!0||globalThis.process?.platform==="android"});var NA={};Ea(NA,{ConEmu:()=>yT,beep:()=>FH,beginSynchronizedOutput:()=>gT,clearScreen:()=>wH,clearTerminal:()=>TH,clearViewport:()=>RH,cursorBackward:()=>hH,cursorDown:()=>fH,cursorForward:()=>pH,cursorGetPosition:()=>EH,cursorHide:()=>CH,cursorLeft:()=>pT,cursorMove:()=>dH,cursorNextLine:()=>yH,cursorPrevLine:()=>vH,cursorRestorePosition:()=>mH,cursorSavePosition:()=>gH,cursorShow:()=>IH,cursorTo:()=>AH,cursorUp:()=>fT,endSynchronizedOutput:()=>mT,enterAlternativeScreen:()=>UH,eraseDown:()=>SH,eraseEndLine:()=>BH,eraseLine:()=>hT,eraseLines:()=>_H,eraseScreen:()=>xv,eraseStartLine:()=>DH,eraseUp:()=>bH,exitAlternativeScreen:()=>kH,iTerm:()=>ET,image:()=>MH,link:()=>zH,scrollDown:()=>QH,scrollUp:()=>xH,setCwd:()=>LH,synchronizedOutput:()=>OH});import Ah from"process";import lH from"os";var vi,dh,Hf,$m,dT,uH,cH,_B,fh,AH,dH,fT,fH,pH,hH,pT,gH,mH,EH,yH,vH,CH,IH,_H,BH,DH,hT,SH,bH,xv,xH,QH,wH,RH,NH,TH,UH,kH,gT,mT,OH,FH,zH,MH,ET,yT,LH,BB=Y(()=>{"use strict";x();AT();vi="\x1B[",dh="\x1B]",Hf="\x07",$m=";",dT=!ch&&Ah.env.TERM_PROGRAM==="Apple_Terminal",uH=!ch&&Ah.platform==="win32",cH=!ch&&(Ah.env.TERM?.startsWith("screen")||Ah.env.TERM?.startsWith("tmux")||Ah.env.TMUX!==void 0),_B=ch?()=>{throw new Error("`process.cwd()` only works in Node.js, not the browser.")}:Ah.cwd,fh=e=>cH?"\x1BPtmux;"+e.replaceAll("\x1B","\x1B\x1B")+"\x1B\\":e,AH=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");return typeof t!="number"?vi+(e+1)+"G":vi+(t+1)+$m+(e+1)+"H"},dH=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");let r="";return e<0?r+=vi+-e+"D":e>0&&(r+=vi+e+"C"),t<0?r+=vi+-t+"A":t>0&&(r+=vi+t+"B"),r},fT=(e=1)=>vi+e+"A",fH=(e=1)=>vi+e+"B",pH=(e=1)=>vi+e+"C",hH=(e=1)=>vi+e+"D",pT=vi+"G",gH=dT?"\x1B7":vi+"s",mH=dT?"\x1B8":vi+"u",EH=vi+"6n",yH=vi+"E",vH=vi+"F",CH=vi+"?25l",IH=vi+"?25h",_H=e=>{let t="";for(let r=0;r<e;r++)t+=hT+(r<e-1?fT():"");return e&&(t+=pT),t},BH=vi+"K",DH=vi+"1K",hT=vi+"2K",SH=vi+"J",bH=vi+"1J",xv=vi+"2J",xH=vi+"S",QH=vi+"T",wH="\x1Bc",RH=`${xv}${vi}H`,NH=()=>{if(ch||!uH)return!1;let e=lH.release().split("."),t=Number(e[0]),r=Number(e[2]??0);return t<10||t===10&&r<10586},TH=NH()?`${xv}${vi}0f`:`${xv}${vi}3J${vi}H`,UH=vi+"?1049h",kH=vi+"?1049l",gT=vi+"?2026h",mT=vi+"?2026l",OH=e=>gT+e+mT,FH=Hf,zH=(e,t)=>{let r=fh(`${dh}8${$m}${$m}${t}${Hf}`),o=fh(`${dh}8${$m}${$m}${Hf}`);return r+e+o},MH=(e,t={})=>{let r=`${dh}1337;File=inline=1`;t.width&&(r+=`;width=${t.width}`),t.height&&(r+=`;height=${t.height}`),t.preserveAspectRatio===!1&&(r+=";preserveAspectRatio=0");let o=Buffer.from(e);return fh(r+`;size=${o.byteLength}:`+o.toString("base64")+Hf)},ET={setCwd:(e=_B())=>fh(`${dh}50;CurrentDir=${e}${Hf}`),annotation(e,t={}){let r=`${dh}1337;`,o=t.x!==void 0,i=t.y!==void 0;if((o||i)&&!(o&&i&&t.length!==void 0))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replaceAll("|",""),r+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?r+=(o?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):r+=e,fh(r+Hf)}},yT={setCwd:(e=_B())=>fh(`${dh}9;9;${e}${Hf}`)},LH=(e=_B())=>ET.setCwd(e)+yT.setCwd(e)});var DB=Y(()=>{"use strict";x();BB();BB()});import{env as SB}from"process";var vT,$H,Gf,CT=Y(()=>{"use strict";x();vT=e=>e in SB&&SB[e]!=="0"&&SB[e]!=="false",$H=vT("CI")||vT("CONTINUOUS_INTEGRATION"),Gf=$H});function bB(e,{include:t,exclude:r}={}){let o=i=>{let u=f=>typeof f=="string"?i===f:f.test(i);return t?t.some(u):r?!r.some(u):!0};for(let[i,u]of HH(e.constructor.prototype)){if(u==="constructor"||!o(u))continue;let f=Reflect.getOwnPropertyDescriptor(i,u);f&&typeof f.value=="function"&&(e[u]=e[u].bind(e))}return e}var HH,IT=Y(()=>{"use strict";x();HH=e=>{let t=new Set;do for(let r of Reflect.ownKeys(e))t.add([e,r]);while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t}});var _T=On((rY,Qv)=>{"use strict";x();Qv.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Qv.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Qv.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var wB=On((oY,gh)=>{"use strict";x();var kr=global.process,Pf=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};Pf(kr)?(BT=Ai("assert"),ph=_T(),DT=/^win/i.test(kr.platform),Hm=Ai("events"),typeof Hm!="function"&&(Hm=Hm.EventEmitter),kr.__signal_exit_emitter__?Co=kr.__signal_exit_emitter__:(Co=kr.__signal_exit_emitter__=new Hm,Co.count=0,Co.emitted={}),Co.infinite||(Co.setMaxListeners(1/0),Co.infinite=!0),gh.exports=function(e,t){if(!Pf(global.process))return function(){};BT.equal(typeof e,"function","a callback must be provided for exit handler"),hh===!1&&xB();var r="exit";t&&t.alwaysLast&&(r="afterexit");var o=function(){Co.removeListener(r,e),Co.listeners("exit").length===0&&Co.listeners("afterexit").length===0&&wv()};return Co.on(r,e),o},wv=function(){!hh||!Pf(global.process)||(hh=!1,ph.forEach(function(t){try{kr.removeListener(t,Rv[t])}catch{}}),kr.emit=Nv,kr.reallyExit=QB,Co.count-=1)},gh.exports.unload=wv,jf=function(t,r,o){Co.emitted[t]||(Co.emitted[t]=!0,Co.emit(t,r,o))},Rv={},ph.forEach(function(e){Rv[e]=function(){if(Pf(global.process)){var r=kr.listeners(e);r.length===Co.count&&(wv(),jf("exit",null,e),jf("afterexit",null,e),DT&&e==="SIGHUP"&&(e="SIGINT"),kr.kill(kr.pid,e))}}}),gh.exports.signals=function(){return ph},hh=!1,xB=function(){hh||!Pf(global.process)||(hh=!0,Co.count+=1,ph=ph.filter(function(t){try{return kr.on(t,Rv[t]),!0}catch{return!1}}),kr.emit=bT,kr.reallyExit=ST)},gh.exports.load=xB,QB=kr.reallyExit,ST=function(t){Pf(global.process)&&(kr.exitCode=t||0,jf("exit",kr.exitCode,null),jf("afterexit",kr.exitCode,null),QB.call(kr,kr.exitCode))},Nv=kr.emit,bT=function(t,r){if(t==="exit"&&Pf(global.process)){r!==void 0&&(kr.exitCode=r);var o=Nv.apply(this,arguments);return jf("exit",kr.exitCode,null),jf("afterexit",kr.exitCode,null),o}else return Nv.apply(this,arguments)}):gh.exports=function(){return function(){}};var BT,ph,DT,Hm,Co,wv,jf,Rv,hh,xB,QB,ST,Nv,bT});import{PassThrough as xT}from"stream";var QT,RB,GH,wT,RT=Y(()=>{"use strict";x();QT=["assert","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],RB={},GH=e=>{let t=new xT,r=new xT;t.write=i=>{e("stdout",i)},r.write=i=>{e("stderr",i)};let o=new console.Console(t,r);for(let i of QT)RB[i]=console[i],console[i]=o[i];return()=>{for(let i of QT)console[i]=RB[i];RB={}}},wT=GH});var NT=On(wd=>{"use strict";x();wd.ConcurrentRoot=1;wd.ContinuousEventPriority=8;wd.DefaultEventPriority=32;wd.DiscreteEventPriority=2;wd.IdleEventPriority=268435456;wd.LegacyRoot=0;wd.NoEventPriority=0});var TT=On(Rd=>{"use strict";x();process.env.NODE_ENV!=="production"&&(Rd.ConcurrentRoot=1,Rd.ContinuousEventPriority=8,Rd.DefaultEventPriority=32,Rd.DiscreteEventPriority=2,Rd.IdleEventPriority=268435456,Rd.LegacyRoot=0,Rd.NoEventPriority=0)});var TB=On((hY,NB)=>{"use strict";x();process.env.NODE_ENV==="production"?NB.exports=NT():NB.exports=TT()});var PH,UT,kT=Y(()=>{"use strict";x();PH=(()=>{var e=import.meta.url;return(function(t){t=t||{};var r;r||(r=typeof t<"u"?t:{});var o,i;r.ready=new Promise(function(L,H){o=L,i=H});var u=Object.assign({},r),f="";typeof document<"u"&&document.currentScript&&(f=document.currentScript.src),e&&(f=e),f.indexOf("blob:")!==0?f=f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):f="";var y=r.print||console.log.bind(console),I=r.printErr||console.warn.bind(console);Object.assign(r,u),u=null;var D;r.wasmBinary&&(D=r.wasmBinary);var R=r.noExitRuntime||!0;typeof WebAssembly!="object"&&Ft("no native wasm support detected");var z,V=!1;function $(L,H,ne){ne=H+ne;for(var ae="";!(H>=ne);){var me=L[H++];if(!me)break;if(me&128){var Te=L[H++]&63;if((me&224)==192)ae+=String.fromCharCode((me&31)<<6|Te);else{var Ge=L[H++]&63;me=(me&240)==224?(me&15)<<12|Te<<6|Ge:(me&7)<<18|Te<<12|Ge<<6|L[H++]&63,65536>me?ae+=String.fromCharCode(me):(me-=65536,ae+=String.fromCharCode(55296|me>>10,56320|me&1023))}}else ae+=String.fromCharCode(me)}return ae}var te,re,oe,ce,xe,Me,Ie,it,Xe;function k(){var L=z.buffer;te=L,r.HEAP8=re=new Int8Array(L),r.HEAP16=ce=new Int16Array(L),r.HEAP32=Me=new Int32Array(L),r.HEAPU8=oe=new Uint8Array(L),r.HEAPU16=xe=new Uint16Array(L),r.HEAPU32=Ie=new Uint32Array(L),r.HEAPF32=it=new Float32Array(L),r.HEAPF64=Xe=new Float64Array(L)}var He,It=[],Gt=[],ln=[];function Ht(){var L=r.preRun.shift();It.unshift(L)}var Xt=0,Ki=null,Ue=null;function Ft(L){throw r.onAbort&&r.onAbort(L),L="Aborted("+L+")",I(L),V=!0,L=new WebAssembly.RuntimeError(L+". Build with -sASSERTIONS for more info."),i(L),L}function lt(L){return L.startsWith("data:application/octet-stream;base64,")}var ke;if(ke="data:application/octet-stream;base64,AGFzbQEAAAABugM3YAF/AGACf38AYAF/AX9gA39/fwBgAn98AGACf38Bf2ADf39/AX9gBH9/f30BfWADf398AGAAAGAEf39/fwBgAX8BfGACf38BfGAFf39/f38Bf2AAAX9gA39/fwF9YAZ/f31/fX8AYAV/f39/fwBgAn9/AX1gBX9/f319AX1gAX8BfWADf35/AX5gB39/f39/f38AYAZ/f39/f38AYAR/f39/AX9gBn9/f319fQF9YAR/f31/AGADf399AX1gBn98f39/fwF/YAR/fHx/AGACf30AYAh/f39/f39/fwBgDX9/f39/f39/f39/f38AYAp/f39/f39/f39/AGAFf39/f38BfGAEfHx/fwF9YA1/fX1/f399fX9/f39/AX9gB39/f319f38AYAJ+fwF/YAN/fX0BfWABfAF8YAN/fHwAYAR/f319AGAHf39/fX19fQF9YA1/fX99f31/fX19fX1/AX9gC39/f39/f399fX19AX9gCH9/f39/f319AGAEf39+fgBgB39/f39/f38Bf2ACfH8BfGAFf398fH8AYAN/f38BfGAEf39/fABgA39/fQBgBn9/fX99fwF/ArUBHgFhAWEAHwFhAWIAAwFhAWMACQFhAWQAFgFhAWUAEQFhAWYAIAFhAWcAAAFhAWgAIQFhAWkAAwFhAWoAAAFhAWsAFwFhAWwACgFhAW0ABQFhAW4AAwFhAW8AAQFhAXAAFwFhAXEABgFhAXIAAAFhAXMAIgFhAXQACgFhAXUADQFhAXYAFgFhAXcAAgFhAXgAAwFhAXkAGAFhAXoAAgFhAUEAAQFhAUIAEQFhAUMAAQFhAUQAAAOiAqACAgMSBwcACRkDAAoRBgYKEwAPDxMBBiMTCgcHGgMUASQFJRQHAwMKCgMmAQYYDxobFAAKBw8KBwMDAgkCAAAFGwACBwIHBgIDAQMIDAABKAkHBQURACkZASoAAAIrLAIALQcHBy4HLwkFCgMCMA0xAgMJAgACAQYKAQIBBQEACQIFAQEABQAODQ0GFQIBHBUGAgkCEAAAAAUyDzMMBQYINAUCAwUODg41AgMCAgIDBgICNgIBDAwMAQsLCwsLCx0CAAIAAAABABABBQICAQMCEgMMCwEBAQEBAQsLAQICAwICAgICAgIDAgIICAEICAgEBAQEBAQEBAQABAQABAQEBAAE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GiABQQA2AvADIAFCADcC6AMgAigC7AMiAyACKALoAyIERwRAIAMgBGsiBEEASA0FIAEgBBAeIgM2AuwDIAEgAzYC6AMgASADIARqNgLwAyACKALoAyIEIAIoAuwDIghHBEADQCADIAQoAgA2AgAgA0EEaiEDIARBBGoiBCAIRw0ACwsgASADNgLsAwsgASACKQL0AzcC9AMgASACKAKEBDYChAQgASACKQL8AzcC/AMgAUEANgLkAwsgBSABNgIAIAEgADYC5AMLIAZBAWohBiAFQQRqIgUgB0cNAAsLDwsQAgALUAACQAJAAkACQAJAIAIOBAQAAQIDCyAAIAEgAUEwahBDDwsgACABIAFBMGogAxBEDwsgACABIAFBMGoQQg8LECQACyAAIAEgAUEwaiADEEULcAIBfwF9IwBBEGsiBCQAIARBCGogACABQQJ0QdwlaigCACACEDZDAADAfyEFAkACQAJAIAQtAAxBAWsOAgABAgsgBCoCCCEFDAELIAQqAgggA5RDCtcjPJQhBQsgBEEQaiQAIAVDAAAAACAFIAVbGwt5AgF/AX0jAEEQayIDJAAgA0EIaiAAIAFBAnRB7CVqKAIAIAIQU0MAAMB/IQQCQAJAAkAgAy0ADEEBaw4CAAECCyADKgIIIQQMAQsgAyoCCEMAAAAAlEMK1yM8lCEECyADQRBqJAAgBEMAAAAAl0MAAAAAIAQgBFsbC1QAAkACQAJAAkACQCACDgQEAAECAwsgACABIAFBwgBqEEMPCyAAIAEgAUHCAGogAxBEDwsgACABIAFBwgBqEEIPCxAkAAsgACABIAFBwgBqIAMQRQsvACAAIAJFQQF0IgIgASADEGAgACACIAEQS5IgACACIAEgAxB/IAAgAiABEFKSkgvOAQIDfwJ9IwBBEGsiAyQAQQEhBCADQQhqIABB/ABqIgUgACABQQF0akH2AGoiAS8BABAfAkACQCADKgIIIgcgAioCACIGXARAIAcgB1sEQCACLQAEIQIMAgsgBiAGXCEECyACLQAEIQIgBEUNACADLQAMIAJB/wFxRg0BCyAFIAEgBiACEDkDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALkAyIADQALCyADQRBqJAALzgECA38CfSMAQRBrIgMk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AWsOAgABAgsgBCoCCCEFDAELIAQqAgggA5RDCtcjPJQhBQsgBEEQaiQAIAVDAAAAACAFIAVbGwscACAAIAFBCCACpyACQiCIpyADpyADQiCIpxAVCwUAEFgACzkAIABFBEBBAA8LAn8gAUGAf3FBgL8DRiABQf8ATXJFBEBB/DtBGTYCAEF/DAELIAAgAToAAEEBCwvEAgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCABQQlrDhIACgsMCgsCAwQFDAsMDAoLBwgJCyACIAIoAgAiAUEEajYCACAAIAEoAgA2AgAPCwALIAIgAigCACIBQQRqNgIAIAAgATIBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATMBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATAAADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATEAADcDAA8LAAsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKwMAOQMADwsgACACIAMRAQALDwsgAiACKAIAIgFBBGo2AgAgACABNAIANwMADwsgAiACKAIAIgFBBGo2AgAgACABNQIANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKQMANwMAC84BAgN/An0jAEEQayIDJABBASEEIANBCGogAEH8AGoiBSAAIAFBAXRqQegAaiIBLwEAEB8CQAJAIAMqAggiByACKgIAIgZcBEAgByAHWwRAIAItAAQhAgwCCyAGIAZcIQQLIAItAAQhAiAERQ0AIAMtAAwgAkH/AXFGDQELIAUgASAGIAIQOQNAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAuQDIgANAAsLIANBEGokAAtdAQR/IAAoAgAhAgNAIAIsAAAiAxBXBEBBfyEEIAAgAkEBaiICNgIAIAFBzJmz5gBNBH9BfyADQTBrIgMgAUEKbCIEaiADIARB/////wdzShsFIAQLIQEMAQsLIAELrhQCEn8BfiMAQdAAayIIJAAgCCABNgJMIAhBN2ohFyAIQThqIRQCQAJAAkACQANAIAEhDSAHIA5B/////wdzSg0BIAcgDmohDgJAAkACQCANIgctAAAiCQRAA0ACQAJAIAlB/wFxIgFFBEAgByEBDAELIAFBJUcNASAHIQkDQCAJLQABQSVHBEAgCSEBDAILIAdBAWohByAJLQACIQogCUECaiIBIQkgCkElRg0ACwsgByANayIHIA5B/////wdzIhhKDQcgAARAIAAgDSAHECYLIAcNBiAIIAE2AkwgAUEBaiEHQX8hEgJAIAEsAAEiChBXRQ0AIAEtAAJBJEcNACABQQNqIQcgCkEwayESQQEhFQsgCCAHNgJMQQAhDAJAIAcsAAAiCUEgayIBQR9LBEAgByEKDAELIAchCkEBIAF0IgFBidEEcUUNAANAIAggB0EBaiIKNgJMIAEgDHIhDCAHLAABIglBIGsiAUEgTw0BIAohB0EBIAF0IgFBidEEcQ0ACwsCQCAJQSpGBEACfwJAIAosAAEiARBXRQ0AIAotAAJBJEcNACABQQJ0IARqQcABa0EKNgIAIApBA2ohCUEBIRUgCiwAAUEDdCADakGAA2soAgAMAQsgFQ0GIApBAWohCSAARQRAIAggCTYCTEEAIRVBACETDAMLIAIgAigCACIBQQRqNgIAQQAhFSABKAIACyETIAggCTYCTCATQQBODQFBACATayETIAxBgMAAciEMDAELIAhBzABqEIkBIhNBAEgNCCAIKAJMIQkLQQAhB0F/IQsCfyAJLQAAQS5HBEAgCSEBQQAMAQsgCS0AAUEqRgRAAn8CQCAJLAACIgEQV0UNACAJLQADQSRHDQAgAUECdCAEakHAAWtBCjYCACAJQQRqIQEgCSwAAkEDdCADakGAA2soAgAMAQsgFQ0GIAlBAmohAUEAIABFDQAaIAIgAigCACIKQQRqNgIAIAooAgALIQsgCCABNgJMIAtBf3NBH3YMAQsgCCAJQQFqNgJMIAhBzABqEIkBIQsgCCgCTCEBQQELIQ8DQCAHIRFBHCEKIAEiECwAACIHQfsAa0FGSQ0JIBBBAWohASAHIBFBOmxqQf8qai0AACIHQQFrQQhJDQALIAggATYCTAJAAkAgB0EbRwRAIAdFDQsgEkEATgRAIAQgEkECdGogBzYCACAIIAMgEkEDdGopAwA3A0AMAgsgAEUNCCAIQUBrIAcgAiAGEIcBDAILIBJBAE4NCgtBACEHIABFDQcLIAxB//97cSIJIAwgDEGAwABxGyEMQQAhEkGPCSEWIBQhCgJAAkACQAJ/AkACQAJAAkACfwJAAkACQAJAAkACQAJAIBAsAAAiB0FfcSAHIAdBD3FBA0YbIAcgERsiB0HYAGsOIQQUFBQUFBQUFA4UDwYODg4UBhQUFBQCBQMUFAkUARQUBAALAkAgB0HBAGsOBw4UCxQODg4ACyAHQdMARg0JDBMLIAgpA0AhGUGPCQwFC0EAIQcCQAJAAkACQAJAAkACQCARQf8BcQ4IAAECAwQaBQYaCyAIKAJAIA42AgAMGQsgCCgCQCAONgIADBgLIAgoAkAgDqw3AwAMFwsgCCgCQCAOOwEADBYLIAgoAkAgDjoAAAwVCyAIKAJAIA42AgAMFAsgCCgCQCAOrDcDAAwTC0EIIAsgC0EITRshCyAMQQhyIQxB+AAhBwsgFCENIAgpA0AiGVBFBEAgB0EgcSEQA0AgDUEBayINIBmnQQ9xQZAvai0AACAQcjoAACAZQg9WIQkgGUIEiCEZIAkNAAsLIAxBCHFFIAgpA0BQcg0DIAdBBHZBjwlqIRZBAiESDAMLIBQhByAIKQNAIhlQRQRAA0AgB0EBayIHIBmnQQdxQTByOgAAIBlCB1YhDSAZQgOIIRkgDQ0ACwsgByENIAxBCHFFDQIgCyAUIA1rIgdBAWogByALSBshCwwCCyAIKQNAIhlCAFMEQCAIQgAgGX0iGTcDQEEBIRJBjwkMAQsgDEGAEHEEQEEBIRJBkAkMAQtBkQlBjwkgDEEBcSISGwshFiAZIBQQRyENCyAPQQAgC0EASBsNDiAMQf//e3EgDCAPGyEMIAgpA0AiGUIAUiALckUEQCAUIQ1BACELDAwLIAsgGVAgFCANa2oiByAHIAtIGyELDAsLQQAhDAJ/Qf////8HIAsgC0H/////B08bIgoiEUEARyEQAkACfwJAAkAgCCgCQCIHQY4lIAcbIg0iD0EDcUUgEUVyDQADQCAPLQAAIgxFDQIgEUEBayIRQQBHIRAgD0EBaiIPQQNxRQ0BIBENAAsLIBBFDQICQCAPLQAARSARQQRJckUEQANAIA8oAgAiB0F/cyAHQYGChAhrcUGAgYKEeHENAiAPQQRqIQ8gEUEEayIRQQNLDQALCyARRQ0DC0EADAELQQELIRADQCAQRQRAIA8tAAAhDEEBIRAMAQsgDyAMRQ0CGiAPQQFqIQ8gEUEBayIRRQ0BQQAhEAwACwALQQALIgcgDWsgCiAHGyIHIA1qIQogC0EATgRAIAkhDCAHIQsMCwsgCSEMIAchCyAKLQAADQ0MCgsgCwRAIAgoAkAMAgtBACEHIABBICATQQAgDBApDAILIAhBADYCDCAIIAgpA0A+AgggCCAIQQhqIgc2AkBBfyELIAcLIQlBACEHAkADQCAJKAIAIg1FDQEgCEEEaiANEIYBIgpBAEgiDSAKIAsgB2tLckUEQCAJQQRqIQkgCyAHIApqIgdLDQEMAgsLIA0NDQtBPSEKIAdBAEgNCyAAQSAgEyAHIAwQKSAHRQRAQQAhBwwBC0EAIQogCCgCQCEJA0AgCSgCACINRQ0BIAhBBGogDRCGASINIApqIgogB0sNASAAIAhBBGogDRAmIAlBBGohCSAHIApLDQALCyAAQSAgEyAHIAxBgMAAcxApIBMgByAHIBNIGyEHDAgLIA9BACALQQBIGw0IQT0hCiAAIAgrA0AgEyALIAwgByAFERwAIgdBAE4NBwwJCyAIIAgpA0A8ADdBASELIBchDSAJIQwMBAsgBy0AASEJIAdBAWohBwwACwALIAANByAVRQ0CQQEhBwNAIAQgB0ECdGooAgAiAARAIAMgB0EDdGogACACIAYQhwFBASEOIAdBAWoiB0EKRw0BDAkLC0EBIQ4gB0EKTw0HA0AgBCAHQQJ0aigCAA0BIAdBAWoiB0EKRw0ACwwHC0EcIQoMBAsgCyAKIA1rIhAgCyAQShsiCSASQf////8Hc0oNAkE9IQogEyAJIBJqIgsgCyATSBsiByAYSg0DIABBICAHIAsgDBApIAAgFiASECYgAEEwIAcgCyAMQYCABHMQKSAAQTAgCSAQQQAQKSAAIA0gEBAmIABBICAHIAsgDEGAwABzECkMAQsLQQAhDgwDC0E9IQoLQfw7IAo2AgALQX8hDgsgCEHQAGokACAOC9kCAQR/IwBB0AFrIgUkACAFIAI2AswBIAVBoAFqIgJBAEEoECoaIAUgBSgCzAE2AsgBAkBBACABIAVByAFqIAVB0ABqIAIgAyAEEIoBQQBIBEBBfyEEDAELQQEgBiAAKAJMQQBOGyEGIAAoAgAhByAAKAJIQQBMBEAgACAHQV9xNgIACwJ/AkACQCAAKAIwRQRAIABB0AA2AjAgAEEANgIcIABCADcDECAAKAIsIQggACAFNgIsDAELIAAoAhANAQtBfyAAEJ0BDQEaCyAAIAEgBUHIAWogBUHQAGogBUGgAWogAyAEEIoBCyECIAgEQCAAQQBBACAAKAIkEQYAGiAAQQA2AjAgACAINgIsIABBADYCHCAAKAIUIQEgAEIANwMQIAJBfyABGyECCyAAIAAoAgAiACAHQSBxcjYCAEF/IAIgAEEgcRshBCAGRQ0ACyAFQdABaiQAIAQLfwIBfwF+IAC9IgNCNIinQf8PcSICQf8PRwR8IAJFBEAgASAARAAAAAAAAAAAYQR/QQAFIABEAAAAAAAA8EOiIAEQjAEhACABKAIAQUBqCzYCACAADwsgASACQf4HazYCACADQv////////+HgH+DQoCAgICAgIDwP4S/BSAACwsVACAARQRAQQAPC0H8OyAANgIAQX8LzgECA38CfSMAQRBrIgMkAEEBIQQgA0EIaiAAQfwAaiIFIAAgAUEBdGpBxABqIgEvAQAQHwJAAkAgAyoCCCIHIAIqAgAiBlwEQCAHIAdbBEAgAi0ABCECDAILIAYgBlwhBAsgAi0ABCECIARFDQAgAy0ADCACQf8BcUYNAQsgBSABIAYgAhA5A0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC5AMiAA0ACwsgA0EQaiQAC9EDAEHUO0GoHBAcQdU7QYoWQQFBAUEAEBtB1jtB/RJBAUGAf0H/ABAEQdc7QfYSQQFBgH9B/wAQBEHYO0H0EkEBQQBB/wEQBEHZO0GUCkECQYCAfkH//wEQBEHaO0GLCkECQQBB//8DEARB2ztBsQpBBEGAgICAeEH/////BxAEQdw7QagKQQRBAEF/EARB3TtB+BhBBEGAgICAeEH/////BxAEQd47Qe8YQQRBAEF/EARB3ztBjxBCgICAgICAgICAf0L///////////8AEIQBQeA7QY4QQgBCfxCEAUHhO0GIEEEEEA1B4jtB9BtBCBANQeM7QaQZEA5B5DtBmSIQDkHlO0EEQZcZEAhB5jtBAkGwGRAIQec7QQRBvxkQCEHoO0GPFhAaQek7QQBB1CEQAUHqO0EAQboiEAFB6ztBAUHyIRABQew7QQJB5B4QAUHtO0EDQYMfEAFB7jtBBEGrHxABQe87QQVByB8QAUHwO0EEQd8iEAFB8TtBBUH9IhABQeo7QQBBriAQAUHrO0EBQY0gEAFB7DtBAkHwIBABQe07QQNBziAQAUHuO0EEQbMhEAFB7ztBBUGRIRABQfI7QQZB7h8QAUHzO0EHQaQjEAELJQAgAEH0JjYCACAALQAEBEAgACgCCEH9DxBmCyAAKAIIEAYgAAsDAAALJQAgAEHsJzYCACAALQAEBEAgACgCCEH9DxBmCyAAKAIIEAYgAAs3AQJ/QQQQHiICIAE2AgBBBBAeIgMgATYCAEGjOyAAQeI7QfooQcEBIAJB4jtB/ihBwgEgAxAHCzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRBQALOQEBfyABIAAoAgQiBEEBdWohASAAKAIAIQAgASACIAMgBEEBcQR/IAEoAgAgAGooAgAFIAALEQMACwkAIAEgABEAAAsHACAAEQ4ACzUBAX8gASAAKAIEIgJBAXVqIQEgACgCACEAIAEgAkEBcQR/IAEoAgAgAGooAgAFIAALEQAACzABAX8jAEEQayICJAAgAiABNgIIIAJBCGogABECACEAIAIoAggQBiACQRBqJAAgAAsMACABIAAoAgARAAALCQAgAEEBOgAEC9coAQJ/QaA7QaE7QaI7QQBBjCZBB0GPJkEAQY8mQQBB2RZBkSZBCBAFQQgQHiIAQoiAgIAQNwMAQaA7QZcbQQZBoCZBuCZBCSAAQQEQAEGkO0GlO0GmO0GgO0GMJkEKQYwmQQtBjCZBDEG4EUGRJkENEAVBBBAeIgBBDjYCAEGkO0HoFEECQcAmQcgmQQ8gAEEAEABBoDtBowxBAkHMJkHUJkEQQREQA0GgO0GAHEEDQaQnQbAnQRJBExADQbg7Qbk7Qbo7QQBBjCZBFEGPJkEAQY8mQQBB6RZBkSZBFRAFQQgQHiIAQoiAgIAQNwMAQbg7QegcQQJBuCdByCZBFiAAQQEQAEG7O0G8O0G9O0G4O0GMJkEXQYwmQRhBjCZBGUHPEUGRJkEaEAVBBBAeIgBBGzYCAEG7O0HoFEECQcAnQcgmQRwgAEEAEABBuDtBowxBAkHIJ0HUJkEdQR4QA0G4O0GAHEEDQaQnQbAnQRJBHxADQb47Qb87QcA7QQBBjCZBIEGPJkEAQY8mQQBB2hpBkSZBIRAFQb47QQFB+CdBjCZBIkEjEA9BvjtBkBtBAUH4J0GMJkEiQSMQA0G+O0HpCEECQfwnQcgmQSRBJRADQQgQHiIAQQA2AgQgAEEmNgIAQb47Qa0cQQRBkChBoChBJyAAQQAQAEEIEB4iAEEANgIEIABBKDYCAEG+O0GkEUEDQagoQbQoQSkgAEEAEABBCBAeIgBBADYCBCAAQSo2AgBBvjtByB1BA0G8KEHIKEErIABBABAAQQgQHiIAQQA2AgQgAEEsNgIAQb47QaYQQQNB0ChByChBLSAAQQAQAEEIEB4iAEEANgIEIABBLjYCAEG+O0HLHEEDQdwoQbAnQS8gAEEAEABBCBAeIgBBADYCBCAAQTA2AgBBvjtB0h1BAkHoKEHUJkExIABBABAAQQgQHiIAQQA2AgQgAEEyNgIAQb47QZcQQQJB8ChB1CZBMyAAQQAQAEHBO0GECkH4KEE0QZEmQTUQCkHiD0EAEEhB6g5BCBBIQYITQRAQSEHxFUEYEEhBgxdBIBBIQfAOQSgQSEHBOxAJQaM7Qf8aQfgoQTZBkSZBNxAKQYMXQQAQkwFB8A5BCBCTAUGjOxAJQcI7QYobQfgoQThBkSZBORAKQQQQHiIAQQg2AgBBBBAeIgFBCDYCAEHCO0GEG0HiO0H6KEE6IABB4jtB/ihBOyABEAdBBBAeIgBBADYCAEEEEB4iAUEANgIAQcI7QeUOQds7QdQmQTwgAEHbO0HIKEE9IAEQB0HCOxAJQcM7QcQ7QcU7QQBBjCZBPkGPJkEAQY8mQQBB+xtBkSZBPxAFQcM7QQFBhClBjCZBwABBwQAQD0HDO0HXDkEBQYQpQYwmQcAAQcEAEANBwztB0BpBAkGIKUHUJkHCAEHDABADQcM7QekIQQJBkClByCZBxABBxQAQA0EIEB4iAEEANgIEIABBxgA2AgBBwztB9w9BAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABByAA2AgBBwztB6htBA0GYKUHIKEHJACAAQQAQAEEIEB4iAEEANgIEIABBygA2AgBBwztBnxtBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABBzAA2AgBBwztB0BRBBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABBzgA2AgBBwztBiA1BBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABBzwA2AgBBwztB3RNBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0AA2AgBBwztB+QtBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0QA2AgBBwztBuBBBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0gA2AgBBwztB5RpBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0wA2AgBBwztB/BRBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB1AA2AgBBwztBlRNBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB1QA2AgBBwztBtQpBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB1gA2AgBBwztBuBVBBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB1wA2AgBBwztBmw1BBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB2AA2AgBBwztB7RNBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB2QA2AgBBwztBxAlBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB2gA2AgBBwztB8QhBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB2wA2AgBBwztBhwlBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB3QA2AgBBwztB1BBBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB3gA2AgBBwztB5gxBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB3wA2AgBBwztBzBNBAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABB4AA2AgBBwztBrAlBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB4QA2AgBBwztBnxZBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB4gA2AgBBwztBoRdBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB4wA2AgBBwztBvw1BA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB5AA2AgBBwztB+xNBAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABB5QA2AgBBwztBkQ9BA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB5gA2AgBBwztBwQxBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB5wA2AgBBwztBvhNBAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABB6AA2AgBBwztBsxdBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB6QA2AgBBwztBzw1BA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB6gA2AgBBwztBpQ9BA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB6wA2AgBBwztB0gxBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB7AA2AgBBwztBiRdBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB7QA2AgBBwztBrA1BA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB7gA2AgBBwztB9w5BA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB7wA2AgBBwztBrQxBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB8AA2AgBBwztB/RhBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB8QA2AgBBwztBshRBA0HIKUH+KEHcACAAQQAQAEEIEB4iAEEANgIEIABB8gA2AgBBwztBlBJBBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB8wA2AgBBwztBzhlBBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB9AA2AgBBwztB4g1BBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB9QA2AgBBwztBrRNBBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB9gA2AgBBwztB+gxBBEGwKUHAKUHNACAAQQAQAEEIEB4iAEEANgIEIABB9wA2AgBBwztBnhVBA0GkKUHIKEHLACAAQQAQAEEIEB4iAEEANgIEIABB+AA2AgBBwztBrxtBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABB+gA2AgBBwztB3BRBA0HcKUGwJ0H7ACAAQQAQAEEIEB4iAEEANgIEIABB/AA2AgBBwztBiQxBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABB/QA2AgBBwztBxhBBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABB/gA2AgBBwztB8hpBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABB/wA2AgBBwztBjRVBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABBgAE2AgBBwztBoRNBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABBgQE2AgBBwztBxwpBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABBggE2AgBBwztBwhVBA0HcKUGwJ0H7ACAAQQAQAEEIEB4iAEEANgIEIABBgwE2AgBBwztB4RBBAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBhQE2AgBBwztBuAlBAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBhwE2AgBBwztBrRZBAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBiAE2AgBBwztBqhdBAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBiQE2AgBBwztBmw9BAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBigE2AgBBwztBvxdBAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBiwE2AgBBwztBsg9BAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBjAE2AgBBwztBlRdBAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBjQE2AgBBwztBhA9BAkHoKUHUJkGEASAAQQAQAEEIEB4iAEEANgIEIABBjgE2AgBBwztBihlBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABBjwE2AgBBwztBwRRBAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBkAE2AgBBwztBnhJBA0H4KUGEKkGRASAAQQAQAEEIEB4iAEEANgIEIABBkgE2AgBBwztB0AlBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABBkwE2AgBBwztB/AhBAkHUKUHUJkH5ACAAQQAQAEEIEB4iAEEANgIEIABBlAE2AgBBwztB2RlBA0HcKUGwJ0H7ACAAQQAQAEEIEB4iAEEANgIEIABBlQE2AgBBwztBtBNBA0GMKkGYKkGWASAAQQAQAEEIEB4iAEEANgIEIABBlwE2AgBBwztBhxxBBEGgKkGgKEGYASAAQQAQAEEIEB4iAEEANgIEIABBmQE2AgBBwztBnBxBA0GwKkHIKEGaASAAQQAQAEEIEB4iAEEANgIEIABBmwE2AgBBwztBmgpBAkG8KkHUJkGcASAAQQAQAEEIEB4iAEEANgIEIABBnQE2AgBBwztBmQxBAkHEKkHUJkGeASAAQQAQAEEIEB4iAEEANgIEIABBnwE2AgBBwztBkxxBA0HMKkGwJ0GgASAAQQAQAEEIEB4iAEEANgIEIABBoQE2AgBBwztBuxZBA0HYKkHIKEGiASAAQQAQAEEIEB4iAEEANgIEIABBowE2AgBBwztBvxtBAkHkKkHUJkGkASAAQQAQAEEIEB4iAEEANgIEIABBpQE2AgBBwztB0xtBA0HYKkHIKEGiASAAQQAQAEEIEB4iAEEANgIEIABBpgE2AgBBwztBqB1BA0HsKkHIKEGnASAAQQAQAEEIEB4iAEEANgIEIABBqAE2AgBBwztBph1BAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABBqQE2AgBBwztBuR1BA0H4KkHIKEGqASAAQQAQAEEIEB4iAEEANgIEIABBqwE2AgBBwztBtx1BAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABBrAE2AgBBwztB3whBAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABBrQE2AgBBwztB1whBAkGEK0HUJkGuASAAQQAQAEEIEB4iAEEANgIEIABBrwE2AgBBwztB3hVBAkGQKUHIJkHHACAAQQAQAEEIEB4iAEEANgIEIABBsAE2AgBBwztB3AlBAkGEK0HUJkGuASAAQQAQAEEIEB4iAEEANgIEIABBsQE2AgBBwztB6QlBBUGQK0GkK0GyASAAQQAQAEEIEB4iAEEANgIEIABBswE2AgBBwztB5w9BAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBtAE2AgBBwztB0Q9BAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBtQE2AgBBwztBhhNBAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBtgE2AgBBwztB+BVBAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBtwE2AgBBwztByxdBAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBuAE2AgBBwztBvw9BAkHwKUH6KEGGASAAQQAQAEEIEB4iAEEANgIEIABBuQE2AgBBwztB+QlBAkGsK0HUJkG6ASAAQQAQAEEIEB4iAEEANgIEIABBuwE2AgBBwztBzBVBA0H4KUGEKkGRASAAQQAQAEEIEB4iAEEANgIEIABBvAE2AgBBwztBqBJBA0H4KUGEKkGRASAAQQAQAEEIEB4iAEEANgIEIABBvQE2AgBBwztB5BlBA0H4KUGEKkGRASAAQQAQAEEIEB4iAEEANgIEIABBvgE2AgBBwztBqxVBAkHUKUHUJkH5ACAAQQAQAAtZAQF/IAAgACgCSCIBQQFrIAFyNgJIIAAoAgAiAUEIcQRAIAAgAUEgcjYCAEF/DwsgAEIANwIEIAAgACgCLCIBNgIcIAAgATYCFCAAIAEgACgCMGo2AhBBAAtHAAJAIAFBA00EfyAAIAFBAnRqQQRqBSABQQRrIgEgACgCGCIAKAIEIAAoAgAiAGtBAnVPDQEgACABQQJ0agsoAgAPCxACAAs4AQF/IAFBAEgEQBACAAsgAUEBa0EFdkEBaiIBQQJ0EB4hAiAAIAE2AgggAEEANgIEIAAgAjYCAAvSBQEJfyAAIAEvAQA7AQAgACABKQIENwIEIAAgASkCDDcCDCAAIAEoAhQ2AhQCQAJAIAEoAhgiA0UNAEEYEB4iBUEANgIIIAVCADcCACADKAIEIgEgAygCACICRwRAIAEgAmsiAkEASA0CIAUgAhAeIgE2AgAgBSABIAJqNgIIIAMoAgAiAiADKAIEIgZHBEADQCABIAIoAgA2AgAgAUEEaiEBIAJBBGoiAiAGRw0ACwsgBSABNgIECyAFQgA3AgwgBUEANgIUIAMoAhAiAUUNACAFQQxqIAEQnwEgAygCDCEGIAUgBSgCECIEIAMoAhAiAkEfcWogAkFgcWoiATYCEAJAAkAgBEUEQCABQQFrIQMMAQsgAUEBayIDIARBAWtzQSBJDQELIAUoAgwgA0EFdkEAIAFBIU8bQQJ0akEANgIACyAFKAIMIARBA3ZB/P///wFxaiEBIARBH3EiA0UEQCACQQBMDQEgAkEgbSEDIAJBH2pBP08EQCABIAYgA0ECdBAzGgsgAiADQQV0ayICQQBMDQEgASADQQJ0IgNqIgEgASgCAEF/QSAgAmt2IgFBf3NxIAMgBmooAgAgAXFyNgIADAELIAJBAEwNAEF/IAN0IQhBICADayEEIAJBIE4EQCAIQX9zIQkgASgCACEHA0AgASAHIAlxIAYoAgAiByADdHI2AgAgASABKAIEIAhxIAcgBHZyIgc2AgQgBkEEaiEGIAFBBGohASACQT9LIQogAkEgayECIAoNAAsgAkEATA0BCyABIAEoAgBBfyAEIAQgAiACIARKGyIEa3YgCHFBf3NxIAYoAgBBf0EgIAJrdnEiBiADdHI2AgAgAiAEayICQQBMDQAgASADIARqQQN2Qfz///8BcWoiASABKAIAQX9BICACa3ZBf3NxIAYgBHZyNgIACyAAKAIYIQEgACAFNgIYIAEEQCABEFsLDwsQAgALvQMBB38gAARAIwBBIGsiBiQAIAAoAgAiASgC5AMiAwRAIAMgARBvGiABQQA2AuQDCyABKALsAyICIAEoAugDIgNHBEBBASACIANrQQJ1IgIgAkEBTRshBEEAIQIDQCADIAJBAnRqKAIAQQA2AuQDIAJBAWoiAiAERw0ACwsgASADNgLsAwJAIAMgAUHwA2oiAigCAEYNACAGQQhqQQBBACACEEoiAigCBCABKALsAyABKALoAyIEayIFayIDIAQgBRAzIQUgASgC6AMhBCABIAU2AugDIAIgBDYCBCABKALsAyEFIAEgAigCCDYC7AMgAiAFNgIIIAEoAvADIQcgASACKAIMNgLwAyACIAQ2AgAgAiAHNgIMIAQgBUcEQCACIAUgBCAFa0EDakF8cWo2AggLIARFDQAgBBAnIAEoAugDIQMLIAMEQCABIAM2AuwDIAMQJwsgASgClAEhAyABQQA2ApQBIAMEQCADEFsLIAEQJyAAKAIIIQEgAEEANgIIIAEEQCABIAEoAgAoAgQRAAALIAAoAgQhASAAQQA2AgQgAQRAIAEgASgCACgCBBEAAAsgBkEgaiQAIAAQIwsLtQEBAX8jAEEQayICJAACfyABBEAgASgCACEBQYgEEB4gARBcIAENARogAkH3GTYCACACEHIQJAALQZQ7LQAARQRAQfg6QQM2AgBBiDtCgICAgICAgMA/NwIAQYA7QgA3AgBBlDtBAToAAEH8OkH8Oi0AAEH+AXE6AABB9DpBADYCAEGQO0EANgIAC0GIBBAeQfQ6EFwLIQEgAEIANwIEIAAgATYCACABIAA2AgQgAkEQaiQAIAALGwEBfyAABEAgACgCACIBBEAgARAjCyAAECMLC0kBAn9BBBAeIQFBIBAeIgBBADYCHCAAQoCAgICAgIDAPzcCFCAAQgA3AgwgAEEAOgAIIABBAzYCBCAAQQA2AgAgASAANgIAIAELIAAgAkEFR0EAIAIbRQRAQbgwIAMgBBBJDwsgAyAEEHALIgEBfiABIAKtIAOtQiCGhCAEIAARFQAiBUIgiKckASAFpwuoAQEFfyAAKAJUIgMoAgAhBSADKAIEIgQgACgCFCAAKAIcIgdrIgYgBCAGSRsiBgRAIAUgByAGECsaIAMgAygCACAGaiIFNgIAIAMgAygCBCAGayIENgIECyAEIAIgAiAESxsiBARAIAUgASAEECsaIAMgAygCACAEaiIFNgIAIAMgAygCBCAEazYCBAsgBUEAOgAAIAAgACgCLCIBNgIcIAAgATYCFCACCwQAQgALBABBAAuKBQIGfgJ/IAEgASgCAEEHakF4cSIBQRBqNgIAIAAhCSABKQMAIQMgASkDCCEGIwBBIGsiCCQAAkAgBkL///////////8AgyIEQoCAgICAgMCAPH0gBEKAgICAgIDA/8MAfVQEQCAGQgSGIANCPIiEIQQgA0L//////////w+DIgNCgYCAgICAgIAIWgRAIARCgYCAgICAgIDAAHwhAgwCCyAEQoCAgICAgICAQH0hAiADQoCAgICAgICACFINASACIARCAYN8IQIMAQsgA1AgBEKAgICAgIDA//8AVCAEQoCAgICAgMD//wBRG0UEQCAGQgSGIANCPIiEQv////////8Dg0KAgICAgICA/P8AhCECDAELQoCAgICAgID4/wAhAiAEQv///////7//wwBWDQBCACECIARCMIinIgBBkfcASQ0AIAMhAiAGQv///////z+DQoCAgICAgMAAhCIFIQcCQCAAQYH3AGsiAUHAAHEEQCACIAFBQGqthiEHQgAhAgwBCyABRQ0AIAcgAa0iBIYgAkHAACABa62IhCEHIAIgBIYhAgsgCCACNwMQIAggBzcDGAJAQYH4ACAAayIAQcAAcQRAIAUgAEFAaq2IIQNCACEFDAELIABFDQAgBUHAACAAa62GIAMgAK0iAoiEIQMgBSACiCEFCyAIIAM3AwAgCCAF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ASAAKAIAIQAgASACQQFxBH8gASgCACAAaigCAAUgAAsRCwALYQECfyMAQRBrIgIkACABIAAoAgQiA0EBdWohASAAKAIAIQAgAiABIANBAXEEfyABKAIAIABqKAIABSAACxEBAEEQEB4iACACKQMINwMIIAAgAikDADcDACACQRBqJAAgAAtjAQJ/IwBBEGsiAyQAIAEgACgCBCIEQQF1aiEBIAAoAgAhACADIAEgAiAEQQFxBH8gASgCACAAaigCAAUgAAsRAwBBEBAeIgAgAykDCDcDCCAAIAMpAwA3AwAgA0EQaiQAIAALNwEBfyABIAAoAgQiA0EBdWohASAAKAIAIQAgASACIANBAXEEfyABKAIAIABqKAIABSAACxEEAAs5AQF/IAEgACgCBCIEQQF1aiEBIAAoAgAhACABIAIgAyAEQQFxBH8gASgCACAAaigCAAUgAAsRCAALCQAgASAAEQIACwUAQcM7Cw8AIAEgACgCAGogAjYCAAsNACABIAAoAgBqKAIACxgBAX9BEBAeIgBCADcDCCAAQQA2AgAgAAsYAQF/QRAQHiIAQgA3AwAgAEIANwMIIAALDABBMBAeQQBBMBAqCzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRHgALBQBBvjsLIQAgACABKAIAIAEgASwAC0EASBtBuzsgAigCABAQNgIACyoBAX9BDBAeIgFBADoABCABIAAoAgA2AgggAEEANgIAIAFB2Cc2AgAgAQsFAEG7OwsFAEG4OwshACAAIAEoAgAgASABLAALQQBIG0GkOyACKAIAEBA2AgAL2AEBBH8jAEEgayIDJAAgASgCACIEQfD///8HSQRAAkACQCAEQQtPBEAgBEEPckEBaiIFEB4hBiADIAVBgICAgHhyNgIQIAMgBjYCCCADIAQ2AgwgBCAGaiEFDAELIAMgBDoAEyADQQhqIgYgBGohBSAERQ0BCyAGIAFBBGogBBArGgsgBUEAOgAAIAMgAjYCACADQRhqIANBCGogAyAAEQMAIAMoAhgQHSADKAIYIgAQBiADKAIAEAYgAywAE0EASARAIAMoAggQIwsgA0EgaiQAIAAPCxACAAsqAQF/QQwQHiIBQQA6AAQgASAAKAIANgIIIABBADYCACABQeAmNgIA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AkEIaiAIIAYQHyACIAcgAC8AABAfQQEhAyACKgIIIgogAioCACILXAR/IAogClsNAyALIAtcBSADC0UNAiACLQAMIAItAARHDQILIABBAmohAEEBIQMgBCEGQQEhBCAGRQ0ACyABLwB6IgBBB3FFBEAgBS0AekEHcUUNAgsgCCAAECAiCiAHIAUvAHoQICILWw0BIAogClsNACALIAtcDQELIAFBFGogBUEUakHoABArGiABQfwAaiAFQfwAahCgAQNAIAEtAAAiAEEEcQ0BIAEgAEEEcjoAACABKAIQIgAEQCABIAARAAALIAFBgICA/gc2ApwBIAEoAuQDIgENAAsLIAJBEGokAAvGAwEEfyMAQaAEayICJAAgACgCBCEBIABBADYCBCABBEAgASABKAIAKAIEEQAACyAAKAIIIQEgAEEANgIIIAEEQCABIAEoAgAoAgQRAAALAkAgACgCACIAKALoAyAAKALsA0YEQCAAKALkAw0BIAAgAkEYaiAAKAL0AxBcIgEpAgA3AgAgACABKAIQNgIQIAAgASkCCDcCCCAAQRRqIAFBFGpB6AAQKxogACABKQKMATcCjAEgACABKQKEATcChAEgACABKQJ8NwJ8IAEoApQBIQQgAUEANgKUASAAKAKUASEDIAAgBDYClAEgAwRAIAMQWwsgAEGYAWogAUGYAWpB0AIQKxogACgC6AMiAwRAIAAgAzYC7AMgAxAjCyAAIAEoAugDNgLoAyAAIAEoAuwDNgLsAyAAIAEoAvADNgLwAyABQQA2AvADIAFCADcC6AMgACABKQL8AzcC/AMgACABKQL0AzcC9AMgACABKAKEBDYChAQgASgClAEhACABQQA2ApQBIAAEQCAAEFsLIAJBoARqJAAPCyACQfAcNgIQIABBBUHYJSACQRBqECwQJAALIAJB5hE2AgAgAEEFQdglIAIQLBAkAAsLAEEMEB4gABCiAQsLAEEMEB5BABCiAQsNACAAKAIALQAIQQFxCwoAIAAoAgAoAhQLGQAgAUH/AXEEQBACAAsgACgCACgCEEEBcQsYACAAKAIAIgAgAC0ACEH+AXEgAXI6AAgLJgAgASAAKAIAIgAoAhRHBEAgACABNgIUIAAgACgCDEEBajYCDAsLkgEBAn8jAEEQayICJAAgACgCACEAIAFDAAAAAGAEQCABIAAqAhhcBEAgACABOAIYIAAgACgCDEEBajYCDAsgAkEQaiQADwsgAkGIFDYCACMAQRBrIgMkACADIAI2AgwCQCAARQRAQbgwQdglIAIQSRoMAQsgAEEAQQVB2CUgAiAAKAIEEQ0AGgsgA0EQaiQAECQACz8AIAFB/wFxRQRAIAIgACgCACIAKAIQIgFBAXFHBEAgACABQX5xIAJyNgIQIAAgACgCDEEBajYCDAsPCxACAAsL4CYjAEGACAuBHk9ubHkgbGVhZiBub2RlcyB3aXRoIGN1c3RvbSBtZWFzdXJlIGZ1bmN0aW9ucyBzaG91bGQgbWFudWFsbHkgbWFyayB0aGVtc2VsdmVzIGFzIGRpcnR5AGlzRGlydHkAbWFya0RpcnR5AGRlc3Ryb3kAc2V0RGlzcGxheQBnZXREaXNwbGF5AHNldEZsZXgALSsgICAwWDB4AC0wWCswWCAwWC0weCsweCAweABzZXRGbGV4R3JvdwBnZXRGbGV4R3JvdwBzZXRPdmVyZmxvdwBnZXRPdmVyZmxvdwBoYXNOZXdMYXlvdXQAY2FsY3VsYXRlTGF5b3V0AGdldENvbXB1dGVkTGF5b3V0AHVuc2lnbmVkIHNob3J0AGdldENoaWxkQ291bnQAdW5zaWduZWQgaW50AHNldEp1c3RpZnlDb250ZW50AGdldEp1c3RpZnlDb250ZW50AGF2YWlsYWJsZUhlaWdodCBpcyBpbmRlZmluaXRlIHNvIGhlaWdodFNpemluZ01vZGUgbXVzdCBiZSBTaXppbmdNb2RlOjpNYXhDb250ZW50AGF2YWlsYWJsZVdpZHRoIGlzIGluZGVmaW5pdGUgc28gd2lkdGhTaXppbmdNb2RlIG11c3QgYmUgU2l6aW5nTW9kZTo6TWF4Q29udGVudABzZXRBbGlnbkNvbnRlbnQAZ2V0QWxpZ25Db250ZW50AGdldFBhcmVudABpbXBsZW1lbnQAc2V0TWF4SGVpZ2h0UGVyY2VudABzZXRIZWlnaHRQZXJjZW50AHNldE1pbkhlaWdodFBlcmNlbnQAc2V0RmxleEJhc2lzUGVyY2VudABzZXRHYXBQZXJjZW50AHNldFBvc2l0aW9uUGVyY2VudABzZXRNYXJnaW5QZXJjZW50AHNldE1heFdpZHRoUGVyY2VudABzZXRXaWR0aFBlcmNlbnQAc2V0TWluV2lkdGhQZXJjZW50AHNldFBhZGRpbmdQZXJjZW50AGhhbmRsZS50eXBlKCkgPT0gU3R5bGVWYWx1ZUhhbmRsZTo6VHlwZTo6UG9pbnQgfHwgaGFuZGxlLnR5cGUoKSA9PSBTdHlsZVZhbHVlSGFuZGxlOjpUeXBlOjpQZXJjZW50AGNyZWF0ZURlZmF1bHQAdW5pdAByaWdodABoZWlnaHQAc2V0TWF4SGVpZ2h0AGdldE1heEhlaWdodABzZXRIZWlnaHQAZ2V0SGVpZ2h0AHNldE1pbkhlaWdodABnZXRNaW5IZWlnaHQAZ2V0Q29tcHV0ZWRIZWlnaHQAZ2V0Q29tcHV0ZWRSaWdodABsZWZ0AGdldENvbXB1dGVkTGVmdAByZXNldABfX2Rlc3RydWN0AGZsb2F0AHVpbnQ2NF90AHVzZVdlYkRlZmF1bHRzAHNldFVzZVdlYkRlZmF1bHRzAHNldEFsaWduSXRlbXMAZ2V0QWxpZ25JdGVtcwBzZXRGbGV4QmFzaXMAZ2V0RmxleEJhc2lzAENhbm5vdCBnZXQgbGF5b3V0IHByb3BlcnRpZXMgb2YgbXVsdGktZWRnZSBzaG9ydGhhbmRzAHNldFBvaW50U2NhbGVGYWN0b3IATWVhc3VyZUNhbGxiYWNrV3JhcHBlcgBEaXJ0aWVkQ2FsbGJhY2tXcmFwcGVyAENhbm5vdCByZXNldCBhIG5vZGUgc3RpbGwgYXR0YWNoZWQgdG8gYSBvd25lcgBzZXRCb3JkZXIAZ2V0Qm9yZGVyAGdldENvbXB1dGVkQm9yZGVyAGdldE51bWJlcgBoYW5kbGUudHlwZSgpID09IFN0eWxlVmFsdWVIYW5kbGU6OlR5cGU6Ok51bWJlcgB1bnNpZ25lZCBjaGFyAHRvcABnZXRDb21wdXRlZFRvcABzZXRGbGV4V3JhcABnZXRGbGV4V3JhcABzZXRHYXAAZ2V0R2FwACVwAHNldEhlaWdodEF1dG8Ac2V0RmxleEJhc2lzQXV0bwBzZXRQb3NpdGlvbkF1dG8Ac2V0TWFyZ2luQXV0bwBzZXRXaWR0aEF1dG8AU2NhbGUgZmFjdG9yIHNob3VsZCBub3QgYmUgbGVzcyB0aGFuIHplcm8Ac2V0QXNwZWN0UmF0aW8AZ2V0QXNwZWN0UmF0aW8Ac2V0UG9zaXRpb24AZ2V0UG9zaXRpb24Abm90aWZ5T25EZXN0cnVjdGlvbgBzZXRGbGV4RGlyZWN0aW9uAGdldEZsZXhEaXJlY3Rpb24Ac2V0RGlyZWN0aW9uAGdldERpcmVjdGlvbgBzZXRNYXJnaW4AZ2V0TWFyZ2luAGdldENvbXB1dGVkTWFyZ2luAG1hcmtMYXlvdXRTZWVuAG5hbgBib3R0b20AZ2V0Q29tcHV0ZWRCb3R0b20AYm9vbABlbXNjcmlwdGVuOjp2YWwAc2V0RmxleFNocmluawBnZXRGbGV4U2hyaW5rAHNldEFsd2F5c0Zvcm1zQ29udGFpbmluZ0Jsb2NrAE1lYXN1cmVDYWxsYmFjawBEaXJ0aWVkQ2FsbGJhY2sAZ2V0TGVuZ3RoAHdpZHRoAHNldE1heFdpZHRoAGdldE1heFdpZHRoAHNldFdpZHRoAGdldFdpZHRoAHNldE1pbldpZHRoAGdldE1pbldpZHRoAGdldENvbXB1dGVkV2lkdGgAcHVzaAAvaG9tZS9ydW5uZXIvd29yay95b2dhL3lvZ2EvamF2YXNjcmlwdC8uLi95b2dhL3N0eWxlL1NtYWxsVmFsdWVCdWZmZXIuaAAvaG9tZS9ydW5uZXIvd29yay95b2dhL3lvZ2EvamF2YXNjcmlwdC8uLi95b2dhL3N0eWxlL1N0eWxlVmFsdWVQb29sLmgAdW5zaWduZWQgbG9uZwBzZXRCb3hTaXppbmcAZ2V0Qm94U2l6aW5nAHN0ZDo6d3N0cmluZwBzdGQ6OnN0cmluZwBzdGQ6OnUxNnN0cmluZwBzdGQ6OnUzMnN0cmluZwBzZXRQYWRkaW5nAGdldFBhZGRpbmcAZ2V0Q29tcHV0ZWRQYWRkaW5nAFRyaWVkIHRvIGNvbnN0cnVjdCBZR05vZGUgd2l0aCBudWxsIGNvbmZpZwBBdHRlbXB0aW5nIHRvIGNvbnN0cnVjdCBOb2RlIHdpdGggbnVsbCBjb25maWcAY3JlYXRlV2l0aENvbmZpZwBpbmYAc2V0QWxpZ25TZWxmAGdldEFsaWduU2VsZgBTaXplAHZhbHVlAFZhbHVlAGNyZWF0ZQBtZWFzdXJlAHNldFBvc2l0aW9uVHlwZQBnZXRQb3NpdGlvblR5cGUAaXNSZWZlcmVuY2VCYXNlbGluZQBzZXRJc1JlZmVyZW5jZUJhc2VsaW5lAGNvcHlTdHlsZQBkb3VibGUATm9kZQBleHRlbmQAaW5zZXJ0Q2hpbGQAZ2V0Q2hpbGQAcmVtb3ZlQ2hpbGQAdm9pZABzZXRFeHBlcmltZW50YWxGZWF0dXJlRW5hYmxlZABpc0V4cGVyaW1lbnRhbEZlYXR1cmVFbmFibGVkAGRpcnRpZWQAQ2Fubm90IHJlc2V0IGEgbm9kZSB3aGljaCBzdGlsbCBoYXMgY2hpbGRyZW4gYXR0YWNoZWQAdW5zZXRNZWFzdXJlRnVuYwB1bnNldERpcnRpZWRGdW5jAHNldEVycmF0YQBnZXRFcnJhdGEATWVhc3VyZSBmdW5jdGlvbiByZXR1cm5lZCBhbiBpbnZhbGlkIGRpbWVuc2lvbiB0byBZb2dhOiBbd2lkdGg9JWYsIGhlaWdodD0lZl0ARXhwZWN0IGN1c3RvbSBiYXNlbGluZSBmdW5jdGlvbiB0byBub3QgcmV0dXJuIE5hTgBOQU4ASU5GAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8Y2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4Ac3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2lnbmVk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",!lt(ke)){var Ve=ke;ke=r.locateFile?r.locateFile(Ve,f):f+Ve}function Dt(){var L=ke;try{if(L==ke&&D)return new Uint8Array(D);if(lt(L))try{var H=Ri(L.slice(37)),ne=new Uint8Array(H.length);for(L=0;L<H.length;++L)ne[L]=H.charCodeAt(L);var ae=ne}catch{throw Error("Converting base64 string to bytes failed.")}else ae=void 0;var me=ae;if(me)return me;throw"both async and sync fetching of the wasm failed"}catch(Te){Ft(Te)}}function Ee(){return D||typeof fetch!="function"?Promise.resolve().then(function(){return Dt()}):fetch(ke,{credentials:"same-origin"}).then(function(L){if(!L.ok)throw"failed to load wasm binary file at '"+ke+"'";return L.arrayBuffer()}).catch(function(){return Dt()})}function Pe(L){for(;0<L.length;)L.shift()(r)}function Qt(L){if(L===void 0)return"_unknown";L=L.replace(/[^a-zA-Z0-9_]/g,"$");var H=L.charCodeAt(0);return 48<=H&&57>=H?"_"+L:L}function wt(L,H){return L=Qt(L),function(){return H.apply(this,arguments)}}var An=[{},{value:void 0},{value:null},{value:!0},{value:!1}],Jn=[];function un(L){var H=Error,ne=wt(L,function(ae){this.name=L,this.message=ae,ae=Error(ae).stack,ae!==void 0&&(this.stack=this.toString()+`
21
- `+ae.replace(/^Error(:[^\n]*)?\n/,""))});return ne.prototype=Object.create(H.prototype),ne.prototype.constructor=ne,ne.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},ne}var mi=void 0;function Lt(L){throw new mi(L)}var Ci=L=>(L||Lt("Cannot use deleted val. handle = "+L),An[L].value),en=L=>{switch(L){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var H=Jn.length?Jn.pop():An.length;return An[H]={ga:1,value:L},H}},Nn=void 0,Vn=void 0;function gt(L){for(var H="";oe[L];)H+=Vn[oe[L++]];return H}var vn=[];function Br(){for(;vn.length;){var L=vn.pop();L.M.$=!1,L.delete()}}var dt=void 0,Et={};function ua(L,H){for(H===void 0&&Lt("ptr should not be undefined");L.R;)H=L.ba(H),L=L.R;return H}var Dr={};function Ii(L){L=Wn(L);var H=gt(L);return gr(L),H}function ki(L,H){var ne=Dr[L];return ne===void 0&&Lt(H+" has unknown type "+Ii(L)),ne}function br(){}var Ca=!1;function Zi(L){--L.count.value,L.count.value===0&&(L.T?L.U.W(L.T):L.P.N.W(L.O))}function ri(L,H,ne){return H===ne?L:ne.R===void 0?null:(L=ri(L,H,ne.R),L===null?null:ne.na(L))}var In={};function Oi(L,H){return H=ua(L,H),Et[H]}var zt=void 0;function Ia(L){throw new zt(L)}function Jr(L,H){return H.P&&H.O||Ia("makeClassHandle requires ptr and ptrType"),!!H.U!=!!H.T&&Ia("Both smartPtrType and smartPtr must be specified"),H.count={value:1},Vr(Object.create(L,{M:{value:H}}))}function Vr(L){return typeof FinalizationRegistry>"u"?(Vr=H=>H,L):(Ca=new FinalizationRegistry(H=>{Zi(H.M)}),Vr=H=>{var ne=H.M;return ne.T&&Ca.register(H,{M:ne},H),H},br=H=>{Ca.unregister(H)},Vr(L))}var fr={};function Fi(L){for(;L.length;){var H=L.pop();L.pop()(H)}}function Hr(L){return this.fromWireType(Me[L>>2])}var F={},ue={};function je(L,H,ne){function ae($e){$e=ne($e),$e.length!==L.length&&Ia("Mismatched type converter count");for(var Ye=0;Ye<L.length;++Ye)_t(L[Ye],$e[Ye])}L.forEach(function($e){ue[$e]=H});var me=Array(H.length),Te=[],Ge=0;H.forEach(($e,Ye)=>{Dr.hasOwnProperty($e)?me[Ye]=Dr[$e]:(Te.push($e),F.hasOwnProperty($e)||(F[$e]=[]),F[$e].push(()=>{me[Ye]=Dr[$e],++Ge,Ge===Te.length&&ae(me)}))}),Te.length===0&&ae(me)}function ot(L){switch(L){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+L)}}function _t(L,H,ne={}){if(!("argPackAdvance"in H))throw new TypeError("registerType registeredInstance requires argPackAdvance");var ae=H.name;if(L||Lt('type "'+ae+'" must have a positive integer typeid pointer'),Dr.hasOwnProperty(L)){if(ne.ua)return;Lt("Cannot register type '"+ae+"' twice")}Dr[L]=H,delete ue[L],F.hasOwnProperty(L)&&(H=F[L],delete F[L],H.forEach(me=>me()))}function xt(L){Lt(L.M.P.N.name+" instance already deleted")}function $t(){}function Pt(L,H,ne){if(L[H].S===void 0){var ae=L[H];L[H]=function(){return L[H].S.hasOwnProperty(arguments.length)||Lt("Function '"+ne+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+L[H].S+")!"),L[H].S[arguments.length].apply(this,arguments)},L[H].S=[],L[H].S[ae.Z]=ae}}function rn(L,H){r.hasOwnProperty(L)?(Lt("Cannot register public name '"+L+"' twice"),Pt(r,L,L),r.hasOwnProperty(void 0)&&Lt("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),r[L].S[void 0]=H):r[L]=H}function Ji(L,H,ne,ae,me,Te,Ge,$e){this.name=L,this.constructor=H,this.X=ne,this.W=ae,this.R=me,this.pa=Te,this.ba=Ge,this.na=$e,this.ja=[]}function pr(L,H,ne){for(;H!==ne;)H.ba||Lt("Expected null or instance of "+ne.name+", got an instance of "+H.name),L=H.ba(L),H=H.R;return L}function _o(L,H){return H===null?(this.ea&&Lt("null is not a valid "+this.name),0):(H.M||Lt('Cannot pass "'+wi(H)+'" as a '+this.name),H.M.O||Lt("Cannot pass deleted object as a pointer of type "+this.name),pr(H.M.O,H.M.P.N,this.N))}function cn(L,H){if(H===null){if(this.ea&&Lt("null is not a valid "+this.name),this.da){var ne=this.fa();return L!==null&&L.push(this.W,ne),ne}return 0}if(H.M||Lt('Cannot pass "'+wi(H)+'" as a '+this.name),H.M.O||Lt("Cannot pass deleted object as a pointer of type "+this.name),!this.ca&&H.M.P.ca&&Lt("Cannot convert argument of type "+(H.M.U?H.M.U.name:H.M.P.name)+" to parameter type "+this.name),ne=pr(H.M.O,H.M.P.N,this.N),this.da)switch(H.M.T===void 0&&Lt("Passing raw pointer to smart pointer is illegal"),this.Ba){case 0:H.M.U===this?ne=H.M.T:Lt("Cannot convert argument of type "+(H.M.U?H.M.U.name:H.M.P.name)+" to parameter type "+this.name);break;case 1:ne=H.M.T;break;case 2:if(H.M.U===this)ne=H.M.T;else{var ae=H.clone();ne=this.xa(ne,en(function(){ae.delete()})),L!==null&&L.push(this.W,ne)}break;default:Lt("Unsupporting sharing policy")}return ne}function $a(L,H){return H===null?(this.ea&&Lt("null is not a valid "+this.name),0):(H.M||Lt('Cannot pass "'+wi(H)+'" as a '+this.name),H.M.O||Lt("Cannot pass deleted object as a pointer of type "+this.name),H.M.P.ca&&Lt("Cannot convert argument of type "+H.M.P.name+" to parameter type "+this.name),pr(H.M.O,H.M.P.N,this.N))}function xr(L,H,ne,ae){this.name=L,this.N=H,this.ea=ne,this.ca=ae,this.da=!1,this.W=this.xa=this.fa=this.ka=this.Ba=this.wa=void 0,H.R!==void 0?this.toWireType=cn:(this.toWireType=ae?_o:$a,this.V=null)}function Fo(L,H){r.hasOwnProperty(L)||Ia("Replacing nonexistant public symbol"),r[L]=H,r[L].Z=void 0}function ll(L,H){var ne=[];return function(){if(ne.length=0,Object.assign(ne,arguments),L.includes("j")){var ae=r["dynCall_"+L];ae=ne&&ne.length?ae.apply(null,[H].concat(ne)):ae.call(null,H)}else ae=He.get(H).apply(null,ne);return ae}}function qn(L,H){L=gt(L);var ne=L.includes("j")?ll(L,H):He.get(H);return typeof ne!="function"&&Lt("unknown function pointer with signature "+L+": "+H),ne}var zo=void 0;function ft(L,H){function ne(Te){me[Te]||Dr[Te]||(ue[Te]?ue[Te].forEach(ne):(ae.push(Te),me[Te]=!0))}var ae=[],me={};throw H.forEach(ne),new zo(L+": "+ae.map(Ii).join([", "]))}function Kr(L,H,ne,ae,me){var Te=H.length;2>Te&&Lt("argTypes array size mismatch! Must at least get return value and 'this' types!");var Ge=H[1]!==null&&ne!==null,$e=!1;for(ne=1;ne<H.length;++ne)if(H[ne]!==null&&H[ne].V===void 0){$e=!0;break}var Ye=H[0].name!=="void",et=Te-2,Be=Array(et),Nt=[],tn=[];return function(){if(arguments.length!==et&&Lt("function "+L+" called with "+arguments.length+" arguments, expected "+et+" args!"),tn.length=0,Nt.length=Ge?2:1,Nt[0]=me,Ge){var Kn=H[1].toWireType(tn,this);Nt[1]=Kn}for(var _n=0;_n<et;++_n)Be[_n]=H[_n+2].toWireType(tn,arguments[_n]),Nt.push(Be[_n]);if(_n=ae.apply(null,Nt),$e)Fi(tn);else for(var zi=Ge?1:2;zi<H.length;zi++){var Gr=zi===1?Kn:Be[zi-2];H[zi].V!==null&&H[zi].V(Gr)}return Kn=Ye?H[0].fromWireType(_n):void 0,Kn}}function ht(L,H){for(var ne=[],ae=0;ae<L;ae++)ne.push(Ie[H+4*ae>>2]);return ne}function rs(L){4<L&&--An[L].ga===0&&(An[L]=void 0,Jn.push(L))}function wi(L){if(L===null)return"null";var H=typeof L;return H==="object"||H==="array"||H==="function"?L.toString():""+L}function ca(L,H){switch(H){case 2:return function(ne){return this.fromWireType(it[ne>>2])};case 3:return function(ne){return this.fromWireType(Xe[ne>>3])};default:throw new TypeError("Unknown float type: "+L)}}function Ha(L,H,ne){switch(H){case 0:return ne?function(ae){return re[ae]}:function(ae){return oe[ae]};case 1:return ne?function(ae){return ce[ae>>1]}:function(ae){return xe[ae>>1]};case 2:return ne?function(ae){return Me[ae>>2]}:function(ae){return Ie[ae>>2]};default:throw new TypeError("Unknown integer type: "+L)}}function Ul(L,H){for(var ne="",ae=0;!(ae>=H/2);++ae){var me=ce[L+2*ae>>1];if(me==0)break;ne+=String.fromCharCode(me)}return ne}function _a(L,H,ne){if(ne===void 0&&(ne=2147483647),2>ne)return 0;ne-=2;var ae=H;ne=ne<2*L.length?ne/2:L.length;for(var me=0;me<ne;++me)ce[H>>1]=L.charCodeAt(me),H+=2;return ce[H>>1]=0,H-ae}function oo(L){return 2*L.length}function xs(L,H){for(var ne=0,ae="";!(ne>=H/4);){var me=Me[L+4*ne>>2];if(me==0)break;++ne,65536<=me?(me-=65536,ae+=String.fromCharCode(55296|me>>10,56320|me&1023)):ae+=String.fromCharCode(me)}return ae}function fi(L,H,ne){if(ne===void 0&&(ne=2147483647),4>ne)return 0;var ae=H;ne=ae+ne-4;for(var me=0;me<L.length;++me){var Te=L.charCodeAt(me);if(55296<=Te&&57343>=Te){var Ge=L.charCodeAt(++me);Te=65536+((Te&1023)<<10)|Ge&1023}if(Me[H>>2]=Te,H+=4,H+4>ne)break}return Me[H>>2]=0,H-ae}function Mo(L){for(var H=0,ne=0;ne<L.length;++ne){var ae=L.charCodeAt(ne);55296<=ae&&57343>=ae&&++ne,H+=4}return H}var Wt={};function ul(L){var H=Wt[L];return H===void 0?gt(L):H}var Qs=[];function so(L){var H=Qs.length;return Qs.push(L),H}function pi(L,H){for(var ne=Array(L),ae=0;ae<L;++ae)ne[ae]=ki(Ie[H+4*ae>>2],"parameter "+ae);return ne}var Ba=[],cl=[null,[],[]];mi=r.BindingError=un("BindingError"),r.count_emval_handles=function(){for(var L=0,H=5;H<An.length;++H)An[H]!==void 0&&++L;return L},r.get_first_emval=function(){for(var L=5;L<An.length;++L)if(An[L]!==void 0)return An[L];return null},Nn=r.PureVirtualError=un("PureVirtualError");for(var hr=Array(256),ai=0;256>ai;++ai)hr[ai]=String.fromCharCode(ai);Vn=hr,r.getInheritedInstanceCount=function(){return Object.keys(Et).length},r.getLiveInheritedInstances=function(){var L=[],H;for(H in Et)Et.hasOwnProperty(H)&&L.push(Et[H]);return L},r.flushPendingDeletes=Br,r.setDelayFunction=function(L){dt=L,vn.length&&dt&&dt(Br)},zt=r.InternalError=un("InternalError"),$t.prototype.isAliasOf=function(L){if(!(this instanceof $t&&L instanceof $t))return!1;var H=this.M.P.N,ne=this.M.O,ae=L.M.P.N;for(L=L.M.O;H.R;)ne=H.ba(ne),H=H.R;for(;ae.R;)L=ae.ba(L),ae=ae.R;return H===ae&&ne===L},$t.prototype.clone=function(){if(this.M.O||xt(this),this.M.aa)return this.M.count.value+=1,this;var L=Vr,H=Object,ne=H.create,ae=Object.getPrototypeOf(this),me=this.M;return L=L(ne.call(H,ae,{M:{value:{count:me.count,$:me.$,aa:me.aa,O:me.O,P:me.P,T:me.T,U:me.U}}})),L.M.count.value+=1,L.M.$=!1,L},$t.prototype.delete=function(){this.M.O||xt(this),this.M.$&&!this.M.aa&&Lt("Object already scheduled for deletion"),br(this),Zi(this.M),this.M.aa||(this.M.T=void 0,this.M.O=void 0)},$t.prototype.isDeleted=function(){return!this.M.O},$t.prototype.deleteLater=function(){return this.M.O||xt(this),this.M.$&&!this.M.aa&&Lt("Object already scheduled for deletion"),vn.push(this),vn.length===1&&dt&&dt(Br),this.M.$=!0,this},xr.prototype.qa=function(L){return this.ka&&(L=this.ka(L)),L},xr.prototype.ha=function(L){this.W&&this.W(L)},xr.prototype.argPackAdvance=8,xr.prototype.readValueFromPointer=Hr,xr.prototype.deleteObject=function(L){L!==null&&L.delete()},xr.prototype.fromWireType=function(L){function H(){return this.da?Jr(this.N.X,{P:this.wa,O:ne,U:this,T:L}):Jr(this.N.X,{P:this,O:L})}var ne=this.qa(L);if(!ne)return this.ha(L),null;var ae=Oi(this.N,ne);if(ae!==void 0)return ae.M.count.value===0?(ae.M.O=ne,ae.M.T=L,ae.clone()):(ae=ae.clone(),this.ha(L),ae);if(ae=this.N.pa(ne),ae=In[ae],!ae)return H.call(this);ae=this.ca?ae.la:ae.pointerType;var me=ri(ne,this.N,ae.N);return me===null?H.call(this):this.da?Jr(ae.N.X,{P:ae,O:me,U:this,T:L}):Jr(ae.N.X,{P:ae,O:me})},zo=r.UnboundTypeError=un("UnboundTypeError");var Ri=typeof atob=="function"?atob:function(L){var H="",ne=0;L=L.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(L.charAt(ne++)),me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(L.charAt(ne++)),Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(L.charAt(ne++)),Ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(L.charAt(ne++));ae=ae<<2|me>>4,me=(me&15)<<4|Te>>2;var $e=(Te&3)<<6|Ge;H+=String.fromCharCode(ae),Te!==64&&(H+=String.fromCharCode(me)),Ge!==64&&(H+=String.fromCharCode($e))}while(ne<L.length);return H},Zr={l:function(L,H,ne,ae){Ft("Assertion failed: "+(L?$(oe,L):"")+", at: "+[H?H?$(oe,H):"":"unknown filename",ne,ae?ae?$(oe,ae):"":"unknown function"])},q:function(L,H,ne){L=gt(L),H=ki(H,"wrapper"),ne=Ci(ne);var ae=[].slice,me=H.N,Te=me.X,Ge=me.R.X,$e=me.R.constructor;L=wt(L,function(){me.R.ja.forEach(function(et){if(this[et]===Ge[et])throw new Nn("Pure virtual function "+et+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:Te}),this.__construct.apply(this,ae.call(arguments))}),Te.__construct=function(){this===Te&&Lt("Pass correct 'this' to __construct");var et=$e.implement.apply(void 0,[this].concat(ae.call(arguments)));br(et);var Be=et.M;et.notifyOnDestruction(),Be.aa=!0,Object.defineProperties(this,{M:{value:Be}}),Vr(this),et=Be.O,et=ua(me,et),Et.hasOwnProperty(et)?Lt("Tried to register registered instance: "+et):Et[et]=this},Te.__destruct=function(){this===Te&&Lt("Pass correct 'this' to __destruct"),br(this);var et=this.M.O;et=ua(me,et),Et.hasOwnProperty(et)?delete Et[et]:Lt("Tried to unregister unregistered instance: "+et)},L.prototype=Object.create(Te);for(var Ye in ne)L.prototype[Ye]=ne[Ye];return en(L)},j:function(L){var H=fr[L];delete fr[L];var ne=H.fa,ae=H.W,me=H.ia,Te=me.map(Ge=>Ge.ta).concat(me.map(Ge=>Ge.za));je([L],Te,Ge=>{var $e={};return me.forEach((Ye,et)=>{var Be=Ge[et],Nt=Ye.ra,tn=Ye.sa,Kn=Ge[et+me.length],_n=Ye.ya,zi=Ye.Aa;$e[Ye.oa]={read:Gr=>Be.fromWireType(Nt(tn,Gr)),write:(Gr,Da)=>{var Sa=[];_n(zi,Gr,Kn.toWireType(Sa,Da)),Fi(Sa)}}}),[{name:H.name,fromWireType:function(Ye){var et={},Be;for(Be in $e)et[Be]=$e[Be].read(Ye);return ae(Ye),et},toWireType:function(Ye,et){for(var Be in $e)if(!(Be in et))throw new TypeError('Missing field: "'+Be+'"');var Nt=ne();for(Be in $e)$e[Be].write(Nt,et[Be]);return Ye!==null&&Ye.push(ae,Nt),Nt},argPackAdvance:8,readValueFromPointer:Hr,V:ae}]})},v:function(){},B:function(L,H,ne,ae,me){var Te=ot(ne);H=gt(H),_t(L,{name:H,fromWireType:function(Ge){return!!Ge},toWireType:function(Ge,$e){return $e?ae:me},argPackAdvance:8,readValueFromPointer:function(Ge){if(ne===1)var $e=re;else if(ne===2)$e=ce;else if(ne===4)$e=Me;else throw new TypeError("Unknown boolean type size: "+H);return this.fromWireType($e[Ge>>Te])},V:null})},f:function(L,H,ne,ae,me,Te,Ge,$e,Ye,et,Be,Nt,tn){Be=gt(Be),Te=qn(me,Te),$e&&($e=qn(Ge,$e)),et&&(et=qn(Ye,et)),tn=qn(Nt,tn);var Kn=Qt(Be);rn(Kn,function(){ft("Cannot construct "+Be+" due to unbound types",[ae])}),je([L,H,ne],ae?[ae]:[],function(_n){if(_n=_n[0],ae)var zi=_n.N,Gr=zi.X;else Gr=$t.prototype;_n=wt(Kn,function(){if(Object.getPrototypeOf(this)!==Da)throw new mi("Use 'new' to construct "+Be);if(Sa.Y===void 0)throw new mi(Be+" has no accessible constructor");var xu=Sa.Y[arguments.length];if(xu===void 0)throw new mi("Tried to invoke ctor of "+Be+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(Sa.Y).toString()+") parameters instead!");return xu.apply(this,arguments)});var Da=Object.create(Gr,{constructor:{value:_n}});_n.prototype=Da;var Sa=new Ji(Be,_n,Da,tn,zi,Te,$e,et);zi=new xr(Be,Sa,!0,!1),Gr=new xr(Be+"*",Sa,!1,!1);var kl=new xr(Be+" const*",Sa,!1,!0);return In[L]={pointerType:Gr,la:kl},Fo(Kn,_n),[zi,Gr,kl]})},d:function(L,H,ne,ae,me,Te,Ge){var $e=ht(ne,ae);H=gt(H),Te=qn(me,Te),je([],[L],function(Ye){function et(){ft("Cannot call "+Be+" due to unbound types",$e)}Ye=Ye[0];var Be=Ye.name+"."+H;H.startsWith("@@")&&(H=Symbol[H.substring(2)]);var Nt=Ye.N.constructor;return Nt[H]===void 0?(et.Z=ne-1,Nt[H]=et):(Pt(Nt,H,Be),Nt[H].S[ne-1]=et),je([],$e,function(tn){return tn=Kr(Be,[tn[0],null].concat(tn.slice(1)),null,Te,Ge),Nt[H].S===void 0?(tn.Z=ne-1,Nt[H]=tn):Nt[H].S[ne-1]=tn,[]}),[]})},p:function(L,H,ne,ae,me,Te){0<H||Ft();var Ge=ht(H,ne);me=qn(ae,me),je([],[L],function($e){$e=$e[0];var Ye="constructor "+$e.name;if($e.N.Y===void 0&&($e.N.Y=[]),$e.N.Y[H-1]!==void 0)throw new mi("Cannot register multiple constructors with identical number of parameters ("+(H-1)+") for class '"+$e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return $e.N.Y[H-1]=()=>{ft("Cannot construct "+$e.name+" due to unbound types",Ge)},je([],Ge,function(et){return et.splice(1,0,null),$e.N.Y[H-1]=Kr(Ye,et,null,me,Te),[]}),[]})},a:function(L,H,ne,ae,me,Te,Ge,$e){var Ye=ht(ne,ae);H=gt(H),Te=qn(me,Te),je([],[L],function(et){function Be(){ft("Cannot call "+Nt+" due to unbound types",Ye)}et=et[0];var Nt=et.name+"."+H;H.startsWith("@@")&&(H=Symbol[H.substring(2)]),$e&&et.N.ja.push(H);var tn=et.N.X,Kn=tn[H];return Kn===void 0||Kn.S===void 0&&Kn.className!==et.name&&Kn.Z===ne-2?(Be.Z=ne-2,Be.className=et.name,tn[H]=Be):(Pt(tn,H,Nt),tn[H].S[ne-2]=Be),je([],Ye,function(_n){return _n=Kr(Nt,_n,et,Te,Ge),tn[H].S===void 0?(_n.Z=ne-2,tn[H]=_n):tn[H].S[ne-2]=_n,[]}),[]})},A:function(L,H){H=gt(H),_t(L,{name:H,fromWireType:function(ne){var ae=Ci(ne);return rs(ne),ae},toWireType:function(ne,ae){return en(ae)},argPackAdvance:8,readValueFromPointer:Hr,V:null})},n:function(L,H,ne){ne=ot(ne),H=gt(H),_t(L,{name:H,fromWireType:function(ae){return ae},toWireType:function(ae,me){return me},argPackAdvance:8,readValueFromPointer:ca(H,ne),V:null})},e:function(L,H,ne,ae,me){H=gt(H),me===-1&&(me=4294967295),me=ot(ne);var Te=$e=>$e;if(ae===0){var Ge=32-8*ne;Te=$e=>$e<<Ge>>>Ge}ne=H.includes("unsigned")?function($e,Ye){return Ye>>>0}:function($e,Ye){return Ye},_t(L,{name:H,fromWireType:Te,toWireType:ne,argPackAdvance:8,readValueFromPointer:Ha(H,me,ae!==0),V:null})},b:function(L,H,ne){function ae(Te){Te>>=2;var Ge=Ie;return new me(te,Ge[Te+1],Ge[Te])}var me=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][H];ne=gt(ne),_t(L,{name:ne,fromWireType:ae,argPackAdvance:8,readValueFromPointer:ae},{ua:!0})},o:function(L,H){H=gt(H);var ne=H==="std::string";_t(L,{name:H,fromWireType:function(ae){var me=Ie[ae>>2],Te=ae+4;if(ne)for(var Ge=Te,$e=0;$e<=me;++$e){var Ye=Te+$e;if($e==me||oe[Ye]==0){if(Ge=Ge?$(oe,Ge,Ye-Ge):"",et===void 0)var et=Ge;else et+="\0",et+=Ge;Ge=Ye+1}}else{for(et=Array(me),$e=0;$e<me;++$e)et[$e]=String.fromCharCode(oe[Te+$e]);et=et.join("")}return gr(ae),et},toWireType:function(ae,me){me instanceof ArrayBuffer&&(me=new Uint8Array(me));var Te,Ge=typeof me=="string";if(Ge||me instanceof Uint8Array||me instanceof Uint8ClampedArray||me instanceof Int8Array||Lt("Cannot pass non-string to std::string"),ne&&Ge){var $e=0;for(Te=0;Te<me.length;++Te){var Ye=me.charCodeAt(Te);127>=Ye?$e++:2047>=Ye?$e+=2:55296<=Ye&&57343>=Ye?($e+=4,++Te):$e+=3}Te=$e}else Te=me.length;if($e=Yr(4+Te+1),Ye=$e+4,Ie[$e>>2]=Te,ne&&Ge){if(Ge=Ye,Ye=Te+1,Te=oe,0<Ye){Ye=Ge+Ye-1;for(var et=0;et<me.length;++et){var Be=me.charCodeAt(et);if(55296<=Be&&57343>=Be){var Nt=me.charCodeAt(++et);Be=65536+((Be&1023)<<10)|Nt&1023}if(127>=Be){if(Ge>=Ye)break;Te[Ge++]=Be}else{if(2047>=Be){if(Ge+1>=Ye)break;Te[Ge++]=192|Be>>6}else{if(65535>=Be){if(Ge+2>=Ye)break;Te[Ge++]=224|Be>>12}else{if(Ge+3>=Ye)break;Te[Ge++]=240|Be>>18,Te[Ge++]=128|Be>>12&63}Te[Ge++]=128|Be>>6&63}Te[Ge++]=128|Be&63}}Te[Ge]=0}}else if(Ge)for(Ge=0;Ge<Te;++Ge)et=me.charCodeAt(Ge),255<et&&(gr(Ye),Lt("String has UTF-16 code units that do not fit in 8 bits")),oe[Ye+Ge]=et;else for(Ge=0;Ge<Te;++Ge)oe[Ye+Ge]=me[Ge];return ae!==null&&ae.push(gr,$e),$e},argPackAdvance:8,readValueFromPointer:Hr,V:function(ae){gr(ae)}})},i:function(L,H,ne){if(ne=gt(ne),H===2)var ae=Ul,me=_a,Te=oo,Ge=()=>xe,$e=1;else H===4&&(ae=xs,me=fi,Te=Mo,Ge=()=>Ie,$e=2);_t(L,{name:ne,fromWireType:function(Ye){for(var et=Ie[Ye>>2],Be=Ge(),Nt,tn=Ye+4,Kn=0;Kn<=et;++Kn){var _n=Ye+4+Kn*H;(Kn==et||Be[_n>>$e]==0)&&(tn=ae(tn,_n-tn),Nt===void 0?Nt=tn:(Nt+="\0",Nt+=tn),tn=_n+H)}return gr(Ye),Nt},toWireType:function(Ye,et){typeof et!="string"&&Lt("Cannot pass non-string to C++ string type "+ne);var Be=Te(et),Nt=Yr(4+Be+H);return Ie[Nt>>2]=Be>>$e,me(et,Nt+4,Be+H),Ye!==null&&Ye.push(gr,Nt),Nt},argPackAdvance:8,readValueFromPointer:Hr,V:function(Ye){gr(Ye)}})},k:function(L,H,ne,ae,me,Te){fr[L]={name:gt(H),fa:qn(ne,ae),W:qn(me,Te),ia:[]}},h:function(L,H,ne,ae,me,Te,Ge,$e,Ye,et){fr[L].ia.push({oa:gt(H),ta:ne,ra:qn(ae,me),sa:Te,za:Ge,ya:qn($e,Ye),Aa:et})},C:function(L,H){H=gt(H),_t(L,{va:!0,name:H,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},s:function(L,H,ne,ae,me){L=Qs[L],H=Ci(H),ne=ul(ne);var Te=[];return Ie[ae>>2]=en(Te),L(H,ne,Te,me)},t:function(L,H,ne,ae){L=Qs[L],H=Ci(H),ne=ul(ne),L(H,ne,null,ae)},g:rs,m:function(L,H){var ne=pi(L,H),ae=ne[0];H=ae.name+"_$"+ne.slice(1).map(function(Ge){return Ge.name}).join("_")+"$";var me=Ba[H];if(me!==void 0)return me;var Te=Array(L-1);return me=so((Ge,$e,Ye,et)=>{for(var Be=0,Nt=0;Nt<L-1;++Nt)Te[Nt]=ne[Nt+1].readValueFromPointer(et+Be),Be+=ne[Nt+1].argPackAdvance;for(Ge=Ge[$e].apply(Ge,Te),Nt=0;Nt<L-1;++Nt)ne[Nt+1].ma&&ne[Nt+1].ma(Te[Nt]);if(!ae.va)return ae.toWireType(Ye,Ge)}),Ba[H]=me},D:function(L){4<L&&(An[L].ga+=1)},r:function(L){var H=Ci(L);Fi(H),rs(L)},c:function(){Ft("")},x:function(L,H,ne){oe.copyWithin(L,H,H+ne)},w:function(L){var H=oe.length;if(L>>>=0,2147483648<L)return!1;for(var ne=1;4>=ne;ne*=2){var ae=H*(1+.2/ne);ae=Math.min(ae,L+100663296);var me=Math;ae=Math.max(L,ae),me=me.min.call(me,2147483648,ae+(65536-ae%65536)%65536);e:{try{z.grow(me-te.byteLength+65535>>>16),k();var Te=1;break e}catch{}Te=void 0}if(Te)return!0}return!1},z:function(){return 52},u:function(){return 70},y:function(L,H,ne,ae){for(var me=0,Te=0;Te<ne;Te++){var Ge=Ie[H>>2],$e=Ie[H+4>>2];H+=8;for(var Ye=0;Ye<$e;Ye++){var et=oe[Ge+Ye],Be=cl[L];et===0||et===10?((L===1?y:I)($(Be,0)),Be.length=0):Be.push(et)}me+=$e}return Ie[ae>>2]=me,0}};(function(){function L(me){r.asm=me.exports,z=r.asm.E,k(),He=r.asm.J,Gt.unshift(r.asm.F),Xt--,r.monitorRunDependencies&&r.monitorRunDependencies(Xt),Xt==0&&(Ki!==null&&(clearInterval(Ki),Ki=null),Ue&&(me=Ue,Ue=null,me()))}function H(me){L(me.instance)}function ne(me){return Ee().then(function(Te){return WebAssembly.instantiate(Te,ae)}).then(function(Te){return Te}).then(me,function(Te){I("failed to asynchronously prepare wasm: "+Te),Ft(Te)})}var ae={a:Zr};if(Xt++,r.monitorRunDependencies&&r.monitorRunDependencies(Xt),r.instantiateWasm)try{return r.instantiateWasm(ae,L)}catch(me){I("Module.instantiateWasm callback failed with error: "+me),i(me)}return(function(){return D||typeof WebAssembly.instantiateStreaming!="function"||lt(ke)||typeof fetch!="function"?ne(H):fetch(ke,{credentials:"same-origin"}).then(function(me){return WebAssembly.instantiateStreaming(me,ae).then(H,function(Te){return I("wasm streaming compile failed: "+Te),I("falling back to ArrayBuffer instantiation"),ne(H)})})})().catch(i),{}})(),r.___wasm_call_ctors=function(){return(r.___wasm_call_ctors=r.asm.F).apply(null,arguments)};var Wn=r.___getTypeName=function(){return(Wn=r.___getTypeName=r.asm.G).apply(null,arguments)};r.__embind_initialize_bindings=function(){return(r.__embind_initialize_bindings=r.asm.H).apply(null,arguments)};var Yr=r._malloc=function(){return(Yr=r._malloc=r.asm.I).apply(null,arguments)},gr=r._free=function(){return(gr=r._free=r.asm.K).apply(null,arguments)};r.dynCall_jiji=function(){return(r.dynCall_jiji=r.asm.L).apply(null,arguments)};var lo;Ue=function L(){lo||Ga(),lo||(Ue=L)};function Ga(){function L(){if(!lo&&(lo=!0,r.calledRun=!0,!V)){if(Pe(Gt),o(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),r.postRun)for(typeof r.postRun=="function"&&(r.postRun=[r.postRun]);r.postRun.length;){var H=r.postRun.shift();ln.unshift(H)}Pe(ln)}}if(!(0<Xt)){if(r.preRun)for(typeof r.preRun=="function"&&(r.preRun=[r.preRun]);r.preRun.length;)Ht();Pe(It),0<Xt||(r.setStatus?(r.setStatus("Running..."),setTimeout(function(){setTimeout(function(){r.setStatus("")},1),L()},1)):L())}}if(r.preInit)for(typeof r.preInit=="function"&&(r.preInit=[r.preInit]);0<r.preInit.length;)r.preInit.pop()();return Ga(),t.ready})})(),UT=PH});var TA,OT,FT,Gm,UB,UA,mh,jH,Tv,kB,Eh,yh,OB,zT,FB,zB,Wu,MB,JH,MT,Uv=Y(()=>{"use strict";x();TA=(function(e){return e[e.Auto=0]="Auto",e[e.FlexStart=1]="FlexStart",e[e.Center=2]="Center",e[e.FlexEnd=3]="FlexEnd",e[e.Stretch=4]="Stretch",e[e.Baseline=5]="Baseline",e[e.SpaceBetween=6]="SpaceBetween",e[e.SpaceAround=7]="SpaceAround",e[e.SpaceEvenly=8]="SpaceEvenly",e})({}),OT=(function(e){return e[e.BorderBox=0]="BorderBox",e[e.ContentBox=1]="ContentBox",e})({}),FT=(function(e){return e[e.Width=0]="Width",e[e.Height=1]="Height",e})({}),Gm=(function(e){return e[e.Inherit=0]="Inherit",e[e.LTR=1]="LTR",e[e.RTL=2]="RTL",e})({}),UB=(function(e){return e[e.Flex=0]="Flex",e[e.None=1]="None",e[e.Contents=2]="Contents",e})({}),UA=(function(e){return e[e.Left=0]="Left",e[e.Top=1]="Top",e[e.Right=2]="Right",e[e.Bottom=3]="Bottom",e[e.Start=4]="Start",e[e.End=5]="End",e[e.Horizontal=6]="Horizontal",e[e.Vertical=7]="Vertical",e[e.All=8]="All",e})({}),mh=(function(e){return e[e.None=0]="None",e[e.StretchFlexBasis=1]="StretchFlexBasis",e[e.AbsolutePositionWithoutInsetsExcludesPadding=2]="AbsolutePositionWithoutInsetsExcludesPadding",e[e.AbsolutePercentAgainstInnerSize=4]="AbsolutePercentAgainstInnerSize",e[e.All=2147483647]="All",e[e.Classic=2147483646]="Classic",e})({}),jH=(function(e){return e[e.WebFlexBasis=0]="WebFlexBasis",e})({}),Tv=(function(e){return e[e.Column=0]="Column",e[e.ColumnReverse=1]="ColumnReverse",e[e.Row=2]="Row",e[e.RowReverse=3]="RowReverse",e})({}),kB=(function(e){return e[e.Column=0]="Column",e[e.Row=1]="Row",e[e.All=2]="All",e})({}),Eh=(function(e){return e[e.FlexStart=0]="FlexStart",e[e.Center=1]="Center",e[e.FlexEnd=2]="FlexEnd",e[e.SpaceBetween=3]="SpaceBetween",e[e.SpaceAround=4]="SpaceAround",e[e.SpaceEvenly=5]="SpaceEvenly",e})({}),yh=(function(e){return e[e.Error=0]="Error",e[e.Warn=1]="Warn",e[e.Info=2]="Info",e[e.Debug=3]="Debug",e[e.Verbose=4]="Verbose",e[e.Fatal=5]="Fatal",e})({}),OB=(function(e){return e[e.Undefined=0]="Undefined",e[e.Exactly=1]="Exactly",e[e.AtMost=2]="AtMost",e})({}),zT=(function(e){return e[e.Default=0]="Default",e[e.Text=1]="Text",e})({}),FB=(function(e){return e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.Scroll=2]="Scroll",e})({}),zB=(function(e){return e[e.Static=0]="Static",e[e.Relative=1]="Relative",e[e.Absolute=2]="Absolute",e})({}),Wu=(function(e){return e[e.Undefined=0]="Undefined",e[e.Point=1]="Point",e[e.Percent=2]="Percent",e[e.Auto=3]="Auto",e})({}),MB=(function(e){return e[e.NoWrap=0]="NoWrap",e[e.Wrap=1]="Wrap",e[e.WrapReverse=2]="WrapReverse",e})({}),JH={ALIGN_AUTO:TA.Auto,ALIGN_FLEX_START:TA.FlexStart,ALIGN_CENTER:TA.Center,ALIGN_FLEX_END:TA.FlexEnd,ALIGN_STRETCH:TA.Stretch,ALIGN_BASELINE:TA.Baseline,ALIGN_SPACE_BETWEEN:TA.SpaceBetween,ALIGN_SPACE_AROUND:TA.SpaceAround,ALIGN_SPACE_EVENLY:TA.SpaceEvenly,BOX_SIZING_BORDER_BOX:OT.BorderBox,BOX_SIZING_CONTENT_BOX:OT.ContentBox,DIMENSION_WIDTH:FT.Width,DIMENSION_HEIGHT:FT.Height,DIRECTION_INHERIT:Gm.Inherit,DIRECTION_LTR:Gm.LTR,DIRECTION_RTL:Gm.RTL,DISPLAY_FLEX:UB.Flex,DISPLAY_NONE:UB.None,DISPLAY_CONTENTS:UB.Contents,EDGE_LEFT:UA.Left,EDGE_TOP:UA.Top,EDGE_RIGHT:UA.Right,EDGE_BOTTOM:UA.Bottom,EDGE_START:UA.Start,EDGE_END:UA.End,EDGE_HORIZONTAL:UA.Horizontal,EDGE_VERTICAL:UA.Vertical,EDGE_ALL:UA.All,ERRATA_NONE:mh.None,ERRATA_STRETCH_FLEX_BASIS:mh.StretchFlexBasis,ERRATA_ABSOLUTE_POSITION_WITHOUT_INSETS_EXCLUDES_PADDING:mh.AbsolutePositionWithoutInsetsExcludesPadding,ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE:mh.AbsolutePercentAgainstInnerSize,ERRATA_ALL:mh.All,ERRATA_CLASSIC:mh.Classic,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:jH.WebFlexBasis,FLEX_DIRECTION_COLUMN:Tv.Column,FLEX_DIRECTION_COLUMN_REVERSE:Tv.ColumnReverse,FLEX_DIRECTION_ROW:Tv.Row,FLEX_DIRECTION_ROW_REVERSE:Tv.RowReverse,GUTTER_COLUMN:kB.Column,GUTTER_ROW:kB.Row,GUTTER_ALL:kB.All,JUSTIFY_FLEX_START:Eh.FlexStart,JUSTIFY_CENTER:Eh.Center,JUSTIFY_FLEX_END:Eh.FlexEnd,JUSTIFY_SPACE_BETWEEN:Eh.SpaceBetween,JUSTIFY_SPACE_AROUND:Eh.SpaceAround,JUSTIFY_SPACE_EVENLY:Eh.SpaceEvenly,LOG_LEVEL_ERROR:yh.Error,LOG_LEVEL_WARN:yh.Warn,LOG_LEVEL_INFO:yh.Info,LOG_LEVEL_DEBUG:yh.Debug,LOG_LEVEL_VERBOSE:yh.Verbose,LOG_LEVEL_FATAL:yh.Fatal,MEASURE_MODE_UNDEFINED:OB.Undefined,MEASURE_MODE_EXACTLY:OB.Exactly,MEASURE_MODE_AT_MOST:OB.AtMost,NODE_TYPE_DEFAULT:zT.Default,NODE_TYPE_TEXT:zT.Text,OVERFLOW_VISIBLE:FB.Visible,OVERFLOW_HIDDEN:FB.Hidden,OVERFLOW_SCROLL:FB.Scroll,POSITION_TYPE_STATIC:zB.Static,POSITION_TYPE_RELATIVE:zB.Relative,POSITION_TYPE_ABSOLUTE:zB.Absolute,UNIT_UNDEFINED:Wu.Undefined,UNIT_POINT:Wu.Point,UNIT_PERCENT:Wu.Percent,UNIT_AUTO:Wu.Auto,WRAP_NO_WRAP:MB.NoWrap,WRAP_WRAP:MB.Wrap,WRAP_WRAP_REVERSE:MB.WrapReverse},MT=JH});function LB(e){function t(i,u,f){let y=i[u];i[u]=function(){for(var I=arguments.length,D=new Array(I),R=0;R<I;R++)D[R]=arguments[R];return f.call(this,y,...D)}}for(let i of["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding","setGap"]){let u={[Wu.Point]:e.Node.prototype[i],[Wu.Percent]:e.Node.prototype[`${i}Percent`],[Wu.Auto]:e.Node.prototype[`${i}Auto`]};t(e.Node.prototype,i,function(f){for(var y=arguments.length,I=new Array(y>1?y-1:0),D=1;D<y;D++)I[D-1]=arguments[D];let R=I.pop(),z,V;if(R==="auto")z=Wu.Auto,V=void 0;else if(typeof R=="object")z=R.unit,V=R.valueOf();else if(z=typeof R=="string"&&R.endsWith("%")?Wu.Percent:Wu.Point,V=parseFloat(R),R!==void 0&&!Number.isNaN(R)&&Number.isNaN(V))throw new Error(`Invalid value ${R} for ${i}`);if(!u[z])throw new Error(`Failed to execute "${i}": Unsupported unit '${R}'`);return V!==void 0?u[z].call(this,...I,V):u[z].call(this,...I)})}function r(i){return e.MeasureCallback.implement({measure:function(){let{width:u,height:f}=i(...arguments);return{width:u??NaN,height:f??NaN}}})}t(e.Node.prototype,"setMeasureFunc",function(i,u){return u?i.call(this,r(u)):this.unsetMeasureFunc()});function o(i){return e.DirtiedCallback.implement({dirtied:i})}return t(e.Node.prototype,"setDirtiedFunc",function(i,u){i.call(this,o(u))}),t(e.Config.prototype,"free",function(){e.Config.destroy(this)}),t(e.Node,"create",(i,u)=>u?e.Node.createWithConfig(u):e.Node.createDefault()),t(e.Node.prototype,"free",function(){e.Node.destroy(this)}),t(e.Node.prototype,"freeRecursive",function(){for(let i=0,u=this.getChildCount();i<u;++i)this.getChild(0).freeRecursive();this.free()}),t(e.Node.prototype,"calculateLayout",function(i){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gm.LTR;return i.call(this,u,f,y)}),{Config:e.Config,Node:e.Node,...MT}}var LT=Y(()=>{"use strict";x();Uv();Uv()});var VH,Mt,Jf=Y(async()=>{"use strict";x();kT();LT();Uv();VH=LB(await UT()),Mt=VH});function $B({onlyFirst:e=!1}={}){let i="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(i,e?void 0:"g")}var $T=Y(()=>{"use strict";x()});function Pm(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(KH,"")}var KH,HB=Y(()=>{"use strict";x();$T();KH=$B()});function HT(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function jm(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Jm(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var GB=Y(()=>{"use strict";x()});function ZH(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function GT(e,{ambiguousAsWide:t=!1}={}){return ZH(e),jm(e)||Jm(e)||t&&HT(e)?2:1}var PB=Y(()=>{"use strict";x();GB();GB()});var PT,jT=Y(()=>{"use strict";x();PT=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});function ko(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:o=!1}=t;if(o||(e=Pm(e)),e.length===0)return 0;let i=0,u={ambiguousAsWide:!r};for(let{segment:f}of YH.segment(e)){let y=f.codePointAt(0);if(!(y<=31||y>=127&&y<=159)&&!(y>=8203&&y<=8207||y===65279)&&!(y>=768&&y<=879||y>=6832&&y<=6911||y>=7616&&y<=7679||y>=8400&&y<=8447||y>=65056&&y<=65071)&&!(y>=55296&&y<=57343)&&!(y>=65024&&y<=65039)&&!qH.test(f)){if(PT().test(f)){i+=2;continue}i+=GT(y,u)}}return i}var YH,qH,Vm=Y(()=>{"use strict";x();HB();PB();jT();YH=new Intl.Segmenter,qH=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u")});function eG(){let e=new Map;for(let[t,r]of Object.entries(Or)){for(let[o,i]of Object.entries(r))Or[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[o]=Or[o],e.set(i[0],i[1]);Object.defineProperty(Or,t,{value:r,enumerable:!1})}return Object.defineProperty(Or,"codes",{value:e,enumerable:!1}),Or.color.close="\x1B[39m",Or.bgColor.close="\x1B[49m",Or.color.ansi=JT(),Or.color.ansi256=VT(),Or.color.ansi16m=KT(),Or.bgColor.ansi=JT(10),Or.bgColor.ansi256=VT(10),Or.bgColor.ansi16m=KT(10),Object.defineProperties(Or,{rgbToAnsi256:{value(t,r,o){return t===r&&r===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(o/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[o]=r;o.length===3&&(o=[...o].map(u=>u+u).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>Or.rgbToAnsi256(...Or.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,o,i;if(t>=232)r=((t-232)*10+8)/255,o=r,i=r;else{t-=16;let y=t%36;r=Math.floor(t/36)/5,o=Math.floor(y/6)/5,i=y%6/5}let u=Math.max(r,o,i)*2;if(u===0)return 30;let f=30+(Math.round(i)<<2|Math.round(o)<<1|Math.round(r));return u===2&&(f+=60),f},enumerable:!1},rgbToAnsi:{value:(t,r,o)=>Or.ansi256ToAnsi(Or.rgbToAnsi256(t,r,o)),enumerable:!1},hexToAnsi:{value:t=>Or.ansi256ToAnsi(Or.hexToAnsi256(t)),enumerable:!1}}),Or}var JT,VT,KT,Or,ZY,WH,XH,YY,tG,nr,vh=Y(()=>{"use strict";x();JT=(e=0)=>t=>`\x1B[${t+e}m`,VT=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,KT=(e=0)=>(t,r,o)=>`\x1B[${38+e};2;${t};${r};${o}m`,Or={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},ZY=Object.keys(Or.modifier),WH=Object.keys(Or.color),XH=Object.keys(Or.bgColor),YY=[...WH,...XH];tG=eG(),nr=tG});function Km(e,t,r){return String(e).normalize().replaceAll(`\r
22
- `,`
23
- `).split(`
24
- `).map(o=>oG(o,t,r)).join(`
25
- `)}var Ov,nG,JB,qT,iG,WT,kv,ZT,YT,rG,jB,aG,oG,VB=Y(()=>{"use strict";x();Vm();HB();vh();Ov=new Set(["\x1B","\x9B"]),nG=39,JB="\x07",qT="[",iG="]",WT="m",kv=`${iG}8;;`,ZT=e=>`${Ov.values().next().value}${qT}${e}${WT}`,YT=e=>`${Ov.values().next().value}${kv}${e}${JB}`,rG=e=>e.split(" ").map(t=>ko(t)),jB=(e,t,r)=>{let o=[...t],i=!1,u=!1,f=ko(Pm(e.at(-1)));for(let[y,I]of o.entries()){let D=ko(I);if(f+D<=r?e[e.length-1]+=I:(e.push(I),f=0),Ov.has(I)&&(i=!0,u=o.slice(y+1,y+1+kv.length).join("")===kv),i){u?I===JB&&(i=!1,u=!1):I===WT&&(i=!1);continue}f+=D,f===r&&y<o.length-1&&(e.push(""),f=0)}!f&&e.at(-1).length>0&&e.length>1&&(e[e.length-2]+=e.pop())},aG=e=>{let t=e.split(" "),r=t.length;for(;r>0&&!(ko(t[r-1])>0);)r--;return r===t.length?e:t.slice(0,r).join(" ")+t.slice(r).join("")},oG=(e,t,r={})=>{if(r.trim!==!1&&e.trim()==="")return"";let o="",i,u,f=rG(e),y=[""];for(let[z,V]of e.split(" ").entries()){r.trim!==!1&&(y[y.length-1]=y.at(-1).trimStart());let $=ko(y.at(-1));if(z!==0&&($>=t&&(r.wordWrap===!1||r.trim===!1)&&(y.push(""),$=0),($>0||r.trim===!1)&&(y[y.length-1]+=" ",$++)),r.hard&&f[z]>t){let te=t-$,re=1+Math.floor((f[z]-te-1)/t);Math.floor((f[z]-1)/t)<re&&y.push(""),jB(y,V,t);continue}if($+f[z]>t&&$>0&&f[z]>0){if(r.wordWrap===!1&&$<t){jB(y,V,t);continue}y.push("")}if($+f[z]>t&&r.wordWrap===!1){jB(y,V,t);continue}y[y.length-1]+=V}r.trim!==!1&&(y=y.map(z=>aG(z)));let I=y.join(`
26
- `),D=[...I],R=0;for(let[z,V]of D.entries()){if(o+=V,Ov.has(V)){let{groups:te}=new RegExp(`(?:\\${qT}(?<code>\\d+)m|\\${kv}(?<uri>.*)${JB})`).exec(I.slice(R))||{groups:{}};if(te.code!==void 0){let re=Number.parseFloat(te.code);i=re===nG?void 0:re}else te.uri!==void 0&&(u=te.uri.length===0?void 0:te.uri)}let $=nr.codes.get(Number(i));D[z+1]===`
27
- `?(u&&(o+=YT("")),i&&$&&(o+=ZT($))):V===`
28
- `&&(i&&$&&(o+=ZT(i)),u&&(o+=YT(u))),R+=V.length}return o}});var lU=On(Fr=>{"use strict";x();function qB(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,i=e[o];if(0<Fv(i,t))e[o]=t,e[r]=i,r=o;else break e}}function Fc(e){return e.length===0?null:e[0]}function Mv(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,i=e.length,u=i>>>1;o<u;){var f=2*(o+1)-1,y=e[f],I=f+1,D=e[I];if(0>Fv(y,r))I<i&&0>Fv(D,y)?(e[o]=D,e[I]=r,o=I):(e[o]=y,e[f]=r,o=f);else if(I<i&&0>Fv(D,r))e[o]=D,e[I]=r,o=I;else break e}}return t}function Fv(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}Fr.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(XT=performance,Fr.unstable_now=function(){return XT.now()}):(KB=Date,eU=KB.now(),Fr.unstable_now=function(){return KB.now()-eU});var XT,KB,eU,kA=[],Nd=[],sG=1,Iu=null,ts=3,WB=!1,Zm=!1,Ym=!1,XB=!1,iU=typeof setTimeout=="function"?setTimeout:null,rU=typeof clearTimeout=="function"?clearTimeout:null,tU=typeof setImmediate<"u"?setImmediate:null;function zv(e){for(var t=Fc(Nd);t!==null;){if(t.callback===null)Mv(Nd);else if(t.startTime<=e)Mv(Nd),t.sortIndex=t.expirationTime,qB(kA,t);else break;t=Fc(Nd)}}function eD(e){if(Ym=!1,zv(e),!Zm)if(Fc(kA)!==null)Zm=!0,Ih||(Ih=!0,Ch());else{var t=Fc(Nd);t!==null&&tD(eD,t.startTime-e)}}var Ih=!1,qm=-1,aU=5,oU=-1;function sU(){return XB?!0:!(Fr.unstable_now()-oU<aU)}function ZB(){if(XB=!1,Ih){var e=Fr.unstable_now();oU=e;var t=!0;try{e:{Zm=!1,Ym&&(Ym=!1,rU(qm),qm=-1),WB=!0;var r=ts;try{t:{for(zv(e),Iu=Fc(kA);Iu!==null&&!(Iu.expirationTime>e&&sU());){var o=Iu.callback;if(typeof o=="function"){Iu.callback=null,ts=Iu.priorityLevel;var i=o(Iu.expirationTime<=e);if(e=Fr.unstable_now(),typeof i=="function"){Iu.callback=i,zv(e),t=!0;break t}Iu===Fc(kA)&&Mv(kA),zv(e)}else Mv(kA);Iu=Fc(kA)}if(Iu!==null)t=!0;else{var u=Fc(Nd);u!==null&&tD(eD,u.startTime-e),t=!1}}break e}finally{Iu=null,ts=r,WB=!1}t=void 0}}finally{t?Ch():Ih=!1}}}var Ch;typeof tU=="function"?Ch=function(){tU(ZB)}:typeof MessageChannel<"u"?(YB=new MessageChannel,nU=YB.port2,YB.port1.onmessage=ZB,Ch=function(){nU.postMessage(null)}):Ch=function(){iU(ZB,0)};var YB,nU;function tD(e,t){qm=iU(function(){e(Fr.unstable_now())},t)}Fr.unstable_IdlePriority=5;Fr.unstable_ImmediatePriority=1;Fr.unstable_LowPriority=4;Fr.unstable_NormalPriority=3;Fr.unstable_Profiling=null;Fr.unstable_UserBlockingPriority=2;Fr.unstable_cancelCallback=function(e){e.callback=null};Fr.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):aU=0<e?Math.floor(1e3/e):5};Fr.unstable_getCurrentPriorityLevel=function(){return ts};Fr.unstable_next=function(e){switch(ts){case 1:case 2:case 3:var t=3;break;default:t=ts}var r=ts;ts=t;try{return e()}finally{ts=r}};Fr.unstable_requestPaint=function(){XB=!0};Fr.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=ts;ts=e;try{return t()}finally{ts=r}};Fr.unstable_scheduleCallback=function(e,t,r){var o=Fr.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?o+r:o):r=o,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=r+i,e={id:sG++,callback:t,priorityLevel:e,startTime:r,expirationTime:i,sortIndex:-1},r>o?(e.sortIndex=r,qB(Nd,e),Fc(kA)===null&&e===Fc(Nd)&&(Ym?(rU(qm),qm=-1):Ym=!0,tD(eD,r-o))):(e.sortIndex=i,qB(kA,e),Zm||WB||(Zm=!0,Ih||(Ih=!0,Ch()))),e};Fr.unstable_shouldYield=sU;Fr.unstable_wrapCallback=function(e){var t=ts;return function(){var r=ts;ts=t;try{return e.apply(this,arguments)}finally{ts=r}}}});var uU=On(zr=>{"use strict";x();process.env.NODE_ENV!=="production"&&(function(){function e(){if(Ie=!1,He){var Ue=zr.unstable_now();ln=Ue;var Ft=!0;try{e:{xe=!1,Me&&(Me=!1,Xe(It),It=-1),ce=!0;var lt=oe;try{t:{for(u(Ue),re=r(V);re!==null&&!(re.expirationTime>Ue&&y());){var ke=re.callback;if(typeof ke=="function"){re.callback=null,oe=re.priorityLevel;var Ve=ke(re.expirationTime<=Ue);if(Ue=zr.unstable_now(),typeof Ve=="function"){re.callback=Ve,u(Ue),Ft=!0;break t}re===r(V)&&o(V),u(Ue)}else o(V);re=r(V)}if(re!==null)Ft=!0;else{var Dt=r($);Dt!==null&&I(f,Dt.startTime-Ue),Ft=!1}}break e}finally{re=null,oe=lt,ce=!1}Ft=void 0}}finally{Ft?Ht():He=!1}}}function t(Ue,Ft){var lt=Ue.length;Ue.push(Ft);e:for(;0<lt;){var ke=lt-1>>>1,Ve=Ue[ke];if(0<i(Ve,Ft))Ue[ke]=Ft,Ue[lt]=Ve,lt=ke;else break e}}function r(Ue){return Ue.length===0?null:Ue[0]}function o(Ue){if(Ue.length===0)return null;var Ft=Ue[0],lt=Ue.pop();if(lt!==Ft){Ue[0]=lt;e:for(var ke=0,Ve=Ue.length,Dt=Ve>>>1;ke<Dt;){var Ee=2*(ke+1)-1,Pe=Ue[Ee],Qt=Ee+1,wt=Ue[Qt];if(0>i(Pe,lt))Qt<Ve&&0>i(wt,Pe)?(Ue[ke]=wt,Ue[Qt]=lt,ke=Qt):(Ue[ke]=Pe,Ue[Ee]=lt,ke=Ee);else if(Qt<Ve&&0>i(wt,lt))Ue[ke]=wt,Ue[Qt]=lt,ke=Qt;else break e}}return Ft}function i(Ue,Ft){var lt=Ue.sortIndex-Ft.sortIndex;return lt!==0?lt:Ue.id-Ft.id}function u(Ue){for(var Ft=r($);Ft!==null;){if(Ft.callback===null)o($);else if(Ft.startTime<=Ue)o($),Ft.sortIndex=Ft.expirationTime,t(V,Ft);else break;Ft=r($)}}function f(Ue){if(Me=!1,u(Ue),!xe)if(r(V)!==null)xe=!0,He||(He=!0,Ht());else{var Ft=r($);Ft!==null&&I(f,Ft.startTime-Ue)}}function y(){return Ie?!0:!(zr.unstable_now()-ln<Gt)}function I(Ue,Ft){It=it(function(){Ue(zr.unstable_now())},Ft)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),zr.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var D=performance;zr.unstable_now=function(){return D.now()}}else{var R=Date,z=R.now();zr.unstable_now=function(){return R.now()-z}}var V=[],$=[],te=1,re=null,oe=3,ce=!1,xe=!1,Me=!1,Ie=!1,it=typeof setTimeout=="function"?setTimeout:null,Xe=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null,He=!1,It=-1,Gt=5,ln=-1;if(typeof k=="function")var Ht=function(){k(e)};else if(typeof MessageChannel<"u"){var Xt=new MessageChannel,Ki=Xt.port2;Xt.port1.onmessage=e,Ht=function(){Ki.postMessage(null)}}else Ht=function(){it(e,0)};zr.unstable_IdlePriority=5,zr.unstable_ImmediatePriority=1,zr.unstable_LowPriority=4,zr.unstable_NormalPriority=3,zr.unstable_Profiling=null,zr.unstable_UserBlockingPriority=2,zr.unstable_cancelCallback=function(Ue){Ue.callback=null},zr.unstable_forceFrameRate=function(Ue){0>Ue||125<Ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Gt=0<Ue?Math.floor(1e3/Ue):5},zr.unstable_getCurrentPriorityLevel=function(){return oe},zr.unstable_next=function(Ue){switch(oe){case 1:case 2:case 3:var Ft=3;break;default:Ft=oe}var lt=oe;oe=Ft;try{return Ue()}finally{oe=lt}},zr.unstable_requestPaint=function(){Ie=!0},zr.unstable_runWithPriority=function(Ue,Ft){switch(Ue){case 1:case 2:case 3:case 4:case 5:break;default:Ue=3}var lt=oe;oe=Ue;try{return Ft()}finally{oe=lt}},zr.unstable_scheduleCallback=function(Ue,Ft,lt){var ke=zr.unstable_now();switch(typeof lt=="object"&&lt!==null?(lt=lt.delay,lt=typeof lt=="number"&&0<lt?ke+lt:ke):lt=ke,Ue){case 1:var Ve=-1;break;case 2:Ve=250;break;case 5:Ve=1073741823;break;case 4:Ve=1e4;break;default:Ve=5e3}return Ve=lt+Ve,Ue={id:te++,callback:Ft,priorityLevel:Ue,startTime:lt,expirationTime:Ve,sortIndex:-1},lt>ke?(Ue.sortIndex=lt,t($,Ue),r(V)===null&&Ue===r($)&&(Me?(Xe(It),It=-1):Me=!0,I(f,lt-ke))):(Ue.sortIndex=Ve,t(V,Ue),xe||ce||(xe=!0,He||(He=!0,Ht()))),Ue},zr.unstable_shouldYield=y,zr.unstable_wrapCallback=function(Ue){var Ft=oe;return function(){var lt=oe;oe=Ft;try{return Ue.apply(this,arguments)}finally{oe=lt}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var iD=On((lq,nD)=>{"use strict";x();process.env.NODE_ENV==="production"?nD.exports=lU():nD.exports=uU()});var cU=On((cq,Wm)=>{"use strict";x();Wm.exports=function(e){function t(s,c,p,E){return new fc(s,c,p,E)}function r(){}function o(s){var c="https://react.dev/errors/"+s;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)c+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+s+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(s){var c=s,p=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,(c.flags&4098)!==0&&(p=c.return),s=c.return;while(s)}return c.tag===3?p:null}function u(s){if(i(s)!==s)throw Error(o(188))}function f(s){var c=s.alternate;if(!c){if(c=i(s),c===null)throw Error(o(188));return c!==s?null:s}for(var p=s,E=c;;){var _=p.return;if(_===null)break;var w=_.alternate;if(w===null){if(E=_.return,E!==null){p=E;continue}break}if(_.child===w.child){for(w=_.child;w;){if(w===p)return u(_),s;if(w===E)return u(_),c;w=w.sibling}throw Error(o(188))}if(p.return!==E.return)p=_,E=w;else{for(var P=!1,ie=_.child;ie;){if(ie===p){P=!0,p=_,E=w;break}if(ie===E){P=!0,E=_,p=w;break}ie=ie.sibling}if(!P){for(ie=w.child;ie;){if(ie===p){P=!0,p=w,E=_;break}if(ie===E){P=!0,E=w,p=_;break}ie=ie.sibling}if(!P)throw Error(o(189))}}if(p.alternate!==E)throw Error(o(190))}if(p.tag!==3)throw Error(o(188));return p.stateNode.current===p?s:c}function y(s){var c=s.tag;if(c===5||c===26||c===27||c===6)return s;for(s=s.child;s!==null;){if(c=y(s),c!==null)return c;s=s.sibling}return null}function I(s){var c=s.tag;if(c===5||c===26||c===27||c===6)return s;for(s=s.child;s!==null;){if(s.tag!==4&&(c=I(s),c!==null))return c;s=s.sibling}return null}function D(s){return s===null||typeof s!="object"?null:(s=Vo&&s[Vo]||s["@@iterator"],typeof s=="function"?s:null)}function R(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===vr?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case Mu:return"Fragment";case hc:return"Profiler";case id:return"StrictMode";case $i:return"Suspense";case gc:return"SuspenseList";case sA:return"Activity"}if(typeof s=="object")switch(s.$$typeof){case zu:return"Portal";case Vs:return(s.displayName||"Context")+".Provider";case oA:return(s._context.displayName||"Context")+".Consumer";case ru:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case Lu:return c=s.displayName||null,c!==null?c:R(s.type)||"Memo";case go:c=s._payload,s=s._init;try{return R(s(c))}catch{}}return null}function z(s){return{current:s}}function V(s){0>Ic||(s.current=Yg[Ic],Yg[Ic]=null,Ic--)}function $(s,c){Ic++,Yg[Ic]=s.current,s.current=c}function te(s){return s>>>=0,s===0?32:31-(qg(s)/Wg|0)|0}function re(s){var c=s&42;if(c!==0)return c;switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return s&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function oe(s,c,p){var E=s.pendingLanes;if(E===0)return 0;var _=0,w=s.suspendedLanes,P=s.pingedLanes;s=s.warmLanes;var ie=E&134217727;return ie!==0?(E=ie&~w,E!==0?_=re(E):(P&=ie,P!==0?_=re(P):p||(p=ie&~s,p!==0&&(_=re(p))))):(ie=E&~w,ie!==0?_=re(ie):P!==0?_=re(P):p||(p=E&~s,p!==0&&(_=re(p)))),_===0?0:c!==0&&c!==_&&(c&w)===0&&(w=_&-_,p=c&-c,w>=p||w===32&&(p&4194048)!==0)?c:_}function ce(s,c){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&c)===0}function xe(s,c){switch(s){case 1:case 2:case 4:case 8:case 64:return c+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Me(){var s=fA;return fA<<=1,(fA&4194048)===0&&(fA=256),s}function Ie(){var s=mo;return mo<<=1,(mo&62914560)===0&&(mo=4194304),s}function it(s){for(var c=[],p=0;31>p;p++)c.push(s);return c}function Xe(s,c){s.pendingLanes|=c,c!==268435456&&(s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0)}function k(s,c,p,E,_,w){var P=s.pendingLanes;s.pendingLanes=p,s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0,s.expiredLanes&=p,s.entangledLanes&=p,s.errorRecoveryDisabledLanes&=p,s.shellSuspendCounter=0;var ie=s.entanglements,Ce=s.expirationTimes,Ke=s.hiddenUpdates;for(p=P&~p;0<p;){var ut=31-Xa(p),bt=1<<ut;ie[ut]=0,Ce[ut]=-1;var Ut=Ke[ut];if(Ut!==null)for(Ke[ut]=null,ut=0;ut<Ut.length;ut++){var En=Ut[ut];En!==null&&(En.lane&=-536870913)}p&=~bt}E!==0&&He(s,E,0),w!==0&&_===0&&s.tag!==0&&(s.suspendedLanes|=w&~(P&~c))}function He(s,c,p){s.pendingLanes|=c,s.suspendedLanes&=~c;var E=31-Xa(c);s.entangledLanes|=c,s.entanglements[E]=s.entanglements[E]|1073741824|p&4194090}function It(s,c){var p=s.entangledLanes|=c;for(s=s.entanglements;p;){var E=31-Xa(p),_=1<<E;_&c|s[E]&c&&(s[E]|=c),p&=~_}}function Gt(s){switch(s){case 2:s=1;break;case 8:s=4;break;case 32:s=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:s=128;break;case 268435456:s=134217728;break;default:s=0}return s}function ln(s){return s&=-s,2<s?8<s?(s&134217727)!==0?32:268435456:8:2}function Ht(s){if(typeof od=="function"&&f_(s),Es&&typeof Es.setStrictMode=="function")try{Es.setStrictMode(hf,s)}catch{}}function Xt(s){if(tm===void 0)try{throw Error()}catch(p){var c=p.stack.trim().match(/\n( *(at )?)/);tm=c&&c[1]||"",My=-1<p.stack.indexOf(`
29
- at`)?" (<anonymous>)":-1<p.stack.indexOf("@")?"@unknown:0:0":""}return`
30
- `+tm+s+My}function Ki(s,c){if(!s||gf)return"";gf=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var E={DetermineComponentFrameRoot:function(){try{if(c){var bt=function(){throw Error()};if(Object.defineProperty(bt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(bt,[])}catch(En){var Ut=En}Reflect.construct(s,[],bt)}else{try{bt.call()}catch(En){Ut=En}s.call(bt.prototype)}}else{try{throw Error()}catch(En){Ut=En}(bt=s())&&typeof bt.catch=="function"&&bt.catch(function(){})}}catch(En){if(En&&Ut&&typeof En.stack=="string")return[En.stack,Ut.stack]}return[null,null]}};E.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var _=Object.getOwnPropertyDescriptor(E.DetermineComponentFrameRoot,"name");_&&_.configurable&&Object.defineProperty(E.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=E.DetermineComponentFrameRoot(),P=w[0],ie=w[1];if(P&&ie){var Ce=P.split(`
31
- `),Ke=ie.split(`
32
- `);for(_=E=0;E<Ce.length&&!Ce[E].includes("DetermineComponentFrameRoot");)E++;for(;_<Ke.length&&!Ke[_].includes("DetermineComponentFrameRoot");)_++;if(E===Ce.length||_===Ke.length)for(E=Ce.length-1,_=Ke.length-1;1<=E&&0<=_&&Ce[E]!==Ke[_];)_--;for(;1<=E&&0<=_;E--,_--)if(Ce[E]!==Ke[_]){if(E!==1||_!==1)do if(E--,_--,0>_||Ce[E]!==Ke[_]){var ut=`
33
- `+Ce[E].replace(" at new "," at ");return s.displayName&&ut.includes("<anonymous>")&&(ut=ut.replace("<anonymous>",s.displayName)),ut}while(1<=E&&0<=_);break}}}finally{gf=!1,Error.prepareStackTrace=p}return(p=s?s.displayName||s.name:"")?Xt(p):""}function Ue(s){switch(s.tag){case 26:case 27:case 5:return Xt(s.type);case 16:return Xt("Lazy");case 13:return Xt("Suspense");case 19:return Xt("SuspenseList");case 0:case 15:return Ki(s.type,!1);case 11:return Ki(s.type.render,!1);case 1:return Ki(s.type,!0);case 31:return Xt("Activity");default:return""}}function Ft(s){try{var c="";do c+=Ue(s),s=s.return;while(s);return c}catch(p){return`
34
- Error generating stack: `+p.message+`
35
- `+p.stack}}function lt(s,c){if(typeof s=="object"&&s!==null){var p=nm.get(s);return p!==void 0?p:(c={value:s,source:c,stack:Ft(c)},nm.set(s,c),c)}return{value:s,source:c,stack:Ft(c)}}function ke(s,c){Gu[pA++]=Cp,Gu[pA++]=vp,vp=s,Cp=c}function Ve(s,c,p){Ta[ta++]=Eo,Ta[ta++]=na,Ta[ta++]=Nr,Nr=s;var E=Eo;s=na;var _=32-Xa(E)-1;E&=~(1<<_),p+=1;var w=32-Xa(c)+_;if(30<w){var P=_-_%5;w=(E&(1<<P)-1).toString(32),E>>=P,_-=P,Eo=1<<32-Xa(c)+_|p<<_|E,na=w+s}else Eo=1<<w|p<<_|E,na=s}function Dt(s){s.return!==null&&(ke(s,1),Ve(s,1,0))}function Ee(s){for(;s===vp;)vp=Gu[--pA],Gu[pA]=null,Cp=Gu[--pA],Gu[pA]=null;for(;s===Nr;)Nr=Ta[--ta],Ta[ta]=null,na=Ta[--ta],Ta[ta]=null,Eo=Ta[--ta],Ta[ta]=null}function Pe(s,c){$(ur,c),$(mf,s),$(eo,null),s=M(c),V(eo),$(eo,s)}function Qt(){V(eo),V(mf),V(ur)}function wt(s){s.memoizedState!==null&&$(Ks,s);var c=eo.current,p=ee(c,s.type);c!==p&&($(mf,s),$(eo,p))}function An(s){mf.current===s&&(V(eo),V(mf)),Ks.current===s&&(V(Ks),yt?qa._currentValue=Wi:qa._currentValue2=Wi)}function Jn(s){var c=Error(o(418,""));throw Nn(lt(c,s)),im}function un(s,c){if(!Qn)throw Error(o(175));Ty(s.stateNode,s.type,s.memoizedProps,c,s)||Jn(s)}function mi(s){for(Qo=s.return;Qo;)switch(Qo.tag){case 5:case 13:bl=!1;return;case 27:case 3:bl=!0;return;default:Qo=Qo.return}}function Lt(s){if(!Qn||s!==Qo)return!1;if(!Di)return mi(s),Di=!0,!1;var c=s.tag;if(da?c!==3&&c!==27&&(c!==5||yc(s.type)&&!Oe(s.type,s.memoizedProps))&&fa&&Jn(s):c!==3&&(c!==5||yc(s.type)&&!Oe(s.type,s.memoizedProps))&&fa&&Jn(s),mi(s),c===13){if(!Qn)throw Error(o(316));if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(o(317));fa=Hg(s)}else fa=da&&c===27?wy(s.type,fa):Qo?Mg(s.stateNode):null;return!0}function Ci(){Qn&&(fa=Qo=null,Di=!1)}function en(){var s=hA;return s!==null&&(to===null?to=s:to.push.apply(to,s),hA=null),s}function Nn(s){hA===null?hA=[s]:hA.push(s)}function Vn(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}function gt(s,c,p){yt?($(Ip,c._currentValue),c._currentValue=p):($(Ip,c._currentValue2),c._currentValue2=p)}function vn(s){var c=Ip.current;yt?s._currentValue=c:s._currentValue2=c,V(Ip)}function Br(s,c,p){for(;s!==null;){var E=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,E!==null&&(E.childLanes|=c)):E!==null&&(E.childLanes&c)!==c&&(E.childLanes|=c),s===p)break;s=s.return}}function dt(s,c,p,E){var _=s.child;for(_!==null&&(_.return=s);_!==null;){var w=_.dependencies;if(w!==null){var P=_.child;w=w.firstContext;e:for(;w!==null;){var ie=w;w=_;for(var Ce=0;Ce<c.length;Ce++)if(ie.context===c[Ce]){w.lanes|=p,ie=w.alternate,ie!==null&&(ie.lanes|=p),Br(w.return,p,s),E||(P=null);break e}w=ie.next}}else if(_.tag===18){if(P=_.return,P===null)throw Error(o(341));P.lanes|=p,w=P.alternate,w!==null&&(w.lanes|=p),Br(P,p,s),P=null}else P=_.child;if(P!==null)P.return=_;else for(P=_;P!==null;){if(P===s){P=null;break}if(_=P.sibling,_!==null){_.return=P.return,P=_;break}P=P.return}_=P}}function Et(s,c,p,E){s=null;for(var _=c,w=!1;_!==null;){if(!w){if((_.flags&524288)!==0)w=!0;else if((_.flags&262144)!==0)break}if(_.tag===10){var P=_.alternate;if(P===null)throw Error(o(387));if(P=P.memoizedProps,P!==null){var ie=_.type;Zo(_.pendingProps.value,P.value)||(s!==null?s.push(ie):s=[ie])}}else if(_===Ks.current){if(P=_.alternate,P===null)throw Error(o(387));P.memoizedState.memoizedState!==_.memoizedState.memoizedState&&(s!==null?s.push(qa):s=[qa])}_=_.return}s!==null&&dt(c,s,p,E),c.flags|=262144}function ua(s){for(s=s.firstContext;s!==null;){var c=s.context;if(!Zo(yt?c._currentValue:c._currentValue2,s.memoizedValue))return!0;s=s.next}return!1}function Dr(s){Zs=s,wo=null,s=s.dependencies,s!==null&&(s.firstContext=null)}function Ii(s){return br(Zs,s)}function ki(s,c){return Zs===null&&Dr(s),br(s,c)}function br(s,c){var p=yt?c._currentValue:c._currentValue2;if(c={context:c,memoizedValue:p,next:null},wo===null){if(s===null)throw Error(o(308));wo=c,s.dependencies={lanes:0,firstContext:c},s.flags|=524288}else wo=wo.next=c;return p}function Ca(){return{controller:new p_,data:new Map,refCount:0}}function Zi(s){s.refCount--,s.refCount===0&&h_(g_,function(){s.controller.abort()})}function ri(s){s!==sd&&s.next===null&&(sd===null?Pu=sd=s:sd=sd.next=s),_p=!0,rm||(rm=!0,fr())}function In(s,c){if(!gA&&_p){gA=!0;do for(var p=!1,E=Pu;E!==null;){if(!c)if(s!==0){var _=E.pendingLanes;if(_===0)var w=0;else{var P=E.suspendedLanes,ie=E.pingedLanes;w=(1<<31-Xa(42|s)+1)-1,w&=_&~(P&~ie),w=w&201326741?w&201326741|1:w?w|2:0}w!==0&&(p=!0,Vr(E,w))}else w=li,w=oe(E,E===Xi?w:0,E.cancelPendingCommit!==null||E.timeoutHandle!==Je),(w&3)===0||ce(E,w)||(p=!0,Vr(E,w));E=E.next}while(p);gA=!1}}function Oi(){zt()}function zt(){_p=rm=!1;var s=0;ld!==0&&(Ni()&&(s=ld),ld=0);for(var c=lr(),p=null,E=Pu;E!==null;){var _=E.next,w=Ia(E,c);w===0?(E.next=null,p===null?Pu=_:p.next=_,_===null&&(sd=p)):(p=E,(s!==0||(w&3)!==0)&&(_p=!0)),E=_}In(s,!1)}function Ia(s,c){for(var p=s.suspendedLanes,E=s.pingedLanes,_=s.expirationTimes,w=s.pendingLanes&-62914561;0<w;){var P=31-Xa(w),ie=1<<P,Ce=_[P];Ce===-1?((ie&p)===0||(ie&E)!==0)&&(_[P]=xe(ie,c)):Ce<=c&&(s.expiredLanes|=ie),w&=~ie}if(c=Xi,p=li,p=oe(s,s===c?p:0,s.cancelPendingCommit!==null||s.timeoutHandle!==Je),E=s.callbackNode,p===0||s===c&&(on===2||on===9)||s.cancelPendingCommit!==null)return E!==null&&E!==null&&Xg(E),s.callbackNode=null,s.callbackPriority=0;if((p&3)===0||ce(s,p)){if(c=p&-p,c===s.callbackPriority)return c;switch(E!==null&&Xg(E),ln(p)){case 2:case 8:p=d_;break;case 32:p=em;break;case 268435456:p=zy;break;default:p=em}return E=Jr.bind(null,s),p=ad(p,E),s.callbackPriority=c,s.callbackNode=p,c}return E!==null&&E!==null&&Xg(E),s.callbackPriority=2,s.callbackNode=null,2}function Jr(s,c){if(Vi!==0&&Vi!==5)return s.callbackNode=null,s.callbackPriority=0,null;var p=s.callbackNode;if(Fu(!0)&&s.callbackNode!==p)return null;var E=li;return E=oe(s,s===Xi?E:0,s.cancelPendingCommit!==null||s.timeoutHandle!==Je),E===0?null:(tt(s,E,c),Ia(s,lr()),s.callbackNode!=null&&s.callbackNode===p?Jr.bind(null,s):null)}function Vr(s,c){if(Fu())return null;tt(s,c,!0)}function fr(){gs?pp(function(){(ti&6)!==0?ad(be,Oi):zt()}):ad(be,Oi)}function Fi(){return ld===0&&(ld=Me()),ld}function Hr(s,c){if(Ef===null){var p=Ef=[];am=0,ud=Fi(),cd={status:"pending",value:void 0,then:function(E){p.push(E)}}}return am++,c.then(F,F),c}function F(){if(--am===0&&Ef!==null){cd!==null&&(cd.status="fulfilled");var s=Ef;Ef=null,ud=0,cd=null;for(var c=0;c<s.length;c++)(0,s[c])()}}function ue(s,c){var p=[],E={status:"pending",value:null,reason:null,then:function(_){p.push(_)}};return s.then(function(){E.status="fulfilled",E.value=c;for(var _=0;_<p.length;_++)(0,p[_])(c)},function(_){for(E.status="rejected",E.reason=_,_=0;_<p.length;_++)(0,p[_])(void 0)}),E}function je(){var s=mA.current;return s!==null?s:Xi.pooledCache}function ot(s,c){c===null?$(mA,mA.current):$(mA,c.pool)}function _t(){var s=je();return s===null?null:{parent:yt?Tr._currentValue:Tr._currentValue2,pool:s}}function xt(s,c){if(Zo(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var p=Object.keys(s),E=Object.keys(c);if(p.length!==E.length)return!1;for(E=0;E<p.length;E++){var _=p[E];if(!m_.call(c,_)||!Zo(s[_],c[_]))return!1}return!0}function $t(s){return s=s.status,s==="fulfilled"||s==="rejected"}function Pt(){}function rn(s,c,p){switch(p=s[p],p===void 0?s.push(c):p!==c&&(c.then(Pt,Pt),c=p),c.status){case"fulfilled":return c.value;case"rejected":throw s=c.reason,pr(s),s;default:if(typeof c.status=="string")c.then(Pt,Pt);else{if(s=Xi,s!==null&&100<s.shellSuspendCounter)throw Error(o(482));s=c,s.status="pending",s.then(function(E){if(c.status==="pending"){var _=c;_.status="fulfilled",_.value=E}},function(E){if(c.status==="pending"){var _=c;_.status="rejected",_.reason=E}})}switch(c.status){case"fulfilled":return c.value;case"rejected":throw s=c.reason,pr(s),s}throw EA=c,yf}}function Ji(){if(EA===null)throw Error(o(459));var s=EA;return EA=null,s}function pr(s){if(s===yf||s===Bp)throw Error(o(483))}function _o(){for(var s=Ad,c=sm=Ad=0;c<s;){var p=Ys[c];Ys[c++]=null;var E=Ys[c];Ys[c++]=null;var _=Ys[c];Ys[c++]=null;var w=Ys[c];if(Ys[c++]=null,E!==null&&_!==null){var P=E.pending;P===null?_.next=_:(_.next=P.next,P.next=_),E.pending=_}w!==0&&Fo(p,_,w)}}function cn(s,c,p,E){Ys[Ad++]=s,Ys[Ad++]=c,Ys[Ad++]=p,Ys[Ad++]=E,sm|=E,s.lanes|=E,s=s.alternate,s!==null&&(s.lanes|=E)}function $a(s,c,p,E){return cn(s,c,p,E),ll(s)}function xr(s,c){return cn(s,null,null,c),ll(s)}function Fo(s,c,p){s.lanes|=p;var E=s.alternate;E!==null&&(E.lanes|=p);for(var _=!1,w=s.return;w!==null;)w.childLanes|=p,E=w.alternate,E!==null&&(E.childLanes|=p),w.tag===22&&(s=w.stateNode,s===null||s._visibility&1||(_=!0)),s=w,w=w.return;return s.tag===3?(w=s.stateNode,_&&c!==null&&(_=31-Xa(p),s=w.hiddenUpdates,E=s[_],E===null?s[_]=[c]:E.push(c),c.lane=p|536870912),w):null}function ll(s){if(50<fu)throw fu=0,ka=null,Error(o(185));for(var c=s.return;c!==null;)s=c,c=s.return;return s.tag===3?s.stateNode:null}function qn(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zo(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,callbacks:null})}function ft(s){return{lane:s,tag:0,payload:null,callback:null,next:null}}function Kr(s,c,p){var E=s.updateQueue;if(E===null)return null;if(E=E.shared,(ti&2)!==0){var _=E.pending;return _===null?c.next=c:(c.next=_.next,_.next=c),E.pending=c,c=ll(s),Fo(s,null,p),c}return cn(s,E,c,p),ll(s)}function ht(s,c,p){if(c=c.updateQueue,c!==null&&(c=c.shared,(p&4194048)!==0)){var E=c.lanes;E&=s.pendingLanes,p|=E,c.lanes=p,It(s,p)}}function rs(s,c){var p=s.updateQueue,E=s.alternate;if(E!==null&&(E=E.updateQueue,p===E)){var _=null,w=null;if(p=p.firstBaseUpdate,p!==null){do{var P={lane:p.lane,tag:p.tag,payload:p.payload,callback:null,next:null};w===null?_=w=P:w=w.next=P,p=p.next}while(p!==null);w===null?_=w=c:w=w.next=c}else _=w=c;p={baseState:E.baseState,firstBaseUpdate:_,lastBaseUpdate:w,shared:E.shared,callbacks:E.callbacks},s.updateQueue=p;return}s=p.lastBaseUpdate,s===null?p.firstBaseUpdate=c:s.next=c,p.lastBaseUpdate=c}function wi(){if(lm){var s=cd;if(s!==null)throw s}}function ca(s,c,p,E){lm=!1;var _=s.updateQueue;_c=!1;var w=_.firstBaseUpdate,P=_.lastBaseUpdate,ie=_.shared.pending;if(ie!==null){_.shared.pending=null;var Ce=ie,Ke=Ce.next;Ce.next=null,P===null?w=Ke:P.next=Ke,P=Ce;var ut=s.alternate;ut!==null&&(ut=ut.updateQueue,ie=ut.lastBaseUpdate,ie!==P&&(ie===null?ut.firstBaseUpdate=Ke:ie.next=Ke,ut.lastBaseUpdate=Ce))}if(w!==null){var bt=_.baseState;P=0,ut=Ke=Ce=null,ie=w;do{var Ut=ie.lane&-536870913,En=Ut!==ie.lane;if(En?(li&Ut)===Ut:(E&Ut)===Ut){Ut!==0&&Ut===ud&&(lm=!0),ut!==null&&(ut=ut.next={lane:0,tag:ie.tag,payload:ie.payload,callback:null,next:null});e:{var Xo=s,IA=ie;Ut=c;var Ws=p;switch(IA.tag){case 1:if(Xo=IA.payload,typeof Xo=="function"){bt=Xo.call(Ws,bt,Ut);break e}bt=Xo;break e;case 3:Xo.flags=Xo.flags&-65537|128;case 0:if(Xo=IA.payload,Ut=typeof Xo=="function"?Xo.call(Ws,bt,Ut):Xo,Ut==null)break e;bt=nd({},bt,Ut);break e;case 2:_c=!0}}Ut=ie.callback,Ut!==null&&(s.flags|=64,En&&(s.flags|=8192),En=_.callbacks,En===null?_.callbacks=[Ut]:En.push(Ut))}else En={lane:Ut,tag:ie.tag,payload:ie.payload,callback:ie.callback,next:null},ut===null?(Ke=ut=En,Ce=bt):ut=ut.next=En,P|=Ut;if(ie=ie.next,ie===null){if(ie=_.shared.pending,ie===null)break;En=ie,ie=En.next,En.next=null,_.lastBaseUpdate=En,_.shared.pending=null}}while(!0);ut===null&&(Ce=bt),_.baseState=Ce,_.firstBaseUpdate=Ke,_.lastBaseUpdate=ut,w===null&&(_.shared.lanes=0),uu|=P,s.lanes=P,s.memoizedState=bt}}function Ha(s,c){if(typeof s!="function")throw Error(o(191,s));s.call(c)}function Ul(s,c){var p=s.callbacks;if(p!==null)for(s.callbacks=null,s=0;s<p.length;s++)Ha(p[s],c)}function _a(s,c){s=Wo,$(vf,s),$(dd,c),Wo=s|c.baseLanes}function oo(){$(vf,Wo),$(dd,dd.current)}function xs(){Wo=vf.current,V(dd),V(vf)}function fi(){throw Error(o(321))}function Mo(s,c){if(c===null)return!1;for(var p=0;p<c.length&&p<s.length;p++)if(!Zo(s[p],c[p]))return!1;return!0}function Wt(s,c,p,E,_,w){return ju=w,Un=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,l.H=s===null||s.memoizedState===null?$y:Hy,Ju=!1,w=p(E,_),Ju=!1,Bc&&(w=Qs(c,p,E,_)),ul(s),w}function ul(s){l.H=pd;var c=Ti!==null&&Ti.next!==null;if(ju=0,Pr=Ti=Un=null,Cf=!1,If=0,fd=null,c)throw Error(o(300));s===null||Ua||(s=s.dependencies,s!==null&&ua(s)&&(Ua=!0))}function Qs(s,c,p,E){Un=s;var _=0;do{if(Bc&&(fd=null),If=0,Bc=!1,25<=_)throw Error(o(301));if(_+=1,Pr=Ti=null,s.updateQueue!=null){var w=s.updateQueue;w.lastEffect=null,w.events=null,w.stores=null,w.memoCache!=null&&(w.memoCache.index=0)}l.H=y_,w=c(p,E)}while(Bc);return w}function so(){var s=l.H,c=s.useState()[0];return c=typeof c.then=="function"?Zr(c):c,s=s.useState()[0],(Ti!==null?Ti.memoizedState:null)!==s&&(Un.flags|=1024),c}function pi(){var s=Sp!==0;return Sp=0,s}function Ba(s,c,p){c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~p}function cl(s){if(Cf){for(s=s.memoizedState;s!==null;){var c=s.queue;c!==null&&(c.pending=null),s=s.next}Cf=!1}ju=0,Pr=Ti=Un=null,Bc=!1,If=Sp=0,fd=null}function hr(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pr===null?Un.memoizedState=Pr=s:Pr=Pr.next=s,Pr}function ai(){if(Ti===null){var s=Un.alternate;s=s!==null?s.memoizedState:null}else s=Ti.next;var c=Pr===null?Un.memoizedState:Pr.next;if(c!==null)Pr=c,Ti=s;else{if(s===null)throw Un.alternate===null?Error(o(467)):Error(o(310));Ti=s,s={memoizedState:Ti.memoizedState,baseState:Ti.baseState,baseQueue:Ti.baseQueue,queue:Ti.queue,next:null},Pr===null?Un.memoizedState=Pr=s:Pr=Pr.next=s}return Pr}function Ri(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Zr(s){var c=If;return If+=1,fd===null&&(fd=[]),s=rn(fd,s,c),c=Un,(Pr===null?c.memoizedState:Pr.next)===null&&(c=c.alternate,l.H=c===null||c.memoizedState===null?$y:Hy),s}function Wn(s){if(s!==null&&typeof s=="object"){if(typeof s.then=="function")return Zr(s);if(s.$$typeof===Vs)return Ii(s)}throw Error(o(438,String(s)))}function Yr(s){var c=null,p=Un.updateQueue;if(p!==null&&(c=p.memoCache),c==null){var E=Un.alternate;E!==null&&(E=E.updateQueue,E!==null&&(E=E.memoCache,E!=null&&(c={data:E.data.map(function(_){return _.slice()}),index:0})))}if(c==null&&(c={data:[],index:0}),p===null&&(p=Ri(),Un.updateQueue=p),p.memoCache=c,p=c.data[c.index],p===void 0)for(p=c.data[c.index]=Array(s),E=0;E<s;E++)p[E]=Af;return c.index++,p}function gr(s,c){return typeof c=="function"?c(s):c}function lo(s){var c=ai();return Ga(c,Ti,s)}function Ga(s,c,p){var E=s.queue;if(E===null)throw Error(o(311));E.lastRenderedReducer=p;var _=s.baseQueue,w=E.pending;if(w!==null){if(_!==null){var P=_.next;_.next=w.next,w.next=P}c.baseQueue=_=w,E.pending=null}if(w=s.baseState,_===null)s.memoizedState=w;else{c=_.next;var ie=P=null,Ce=null,Ke=c,ut=!1;do{var bt=Ke.lane&-536870913;if(bt!==Ke.lane?(li&bt)===bt:(ju&bt)===bt){var Ut=Ke.revertLane;if(Ut===0)Ce!==null&&(Ce=Ce.next={lane:0,revertLane:0,action:Ke.action,hasEagerState:Ke.hasEagerState,eagerState:Ke.eagerState,next:null}),bt===ud&&(ut=!0);else if((ju&Ut)===Ut){Ke=Ke.next,Ut===ud&&(ut=!0);continue}else bt={lane:0,revertLane:Ke.revertLane,action:Ke.action,hasEagerState:Ke.hasEagerState,eagerState:Ke.eagerState,next:null},Ce===null?(ie=Ce=bt,P=w):Ce=Ce.next=bt,Un.lanes|=Ut,uu|=Ut;bt=Ke.action,Ju&&p(w,bt),w=Ke.hasEagerState?Ke.eagerState:p(w,bt)}else Ut={lane:bt,revertLane:Ke.revertLane,action:Ke.action,hasEagerState:Ke.hasEagerState,eagerState:Ke.eagerState,next:null},Ce===null?(ie=Ce=Ut,P=w):Ce=Ce.next=Ut,Un.lanes|=bt,uu|=bt;Ke=Ke.next}while(Ke!==null&&Ke!==c);if(Ce===null?P=w:Ce.next=ie,!Zo(w,s.memoizedState)&&(Ua=!0,ut&&(p=cd,p!==null)))throw p;s.memoizedState=w,s.baseState=P,s.baseQueue=Ce,E.lastRenderedState=w}return _===null&&(E.lanes=0),[s.memoizedState,E.dispatch]}function L(s){var c=ai(),p=c.queue;if(p===null)throw Error(o(311));p.lastRenderedReducer=s;var E=p.dispatch,_=p.pending,w=c.memoizedState;if(_!==null){p.pending=null;var P=_=_.next;do w=s(w,P.action),P=P.next;while(P!==_);Zo(w,c.memoizedState)||(Ua=!0),c.memoizedState=w,c.baseQueue===null&&(c.baseState=w),p.lastRenderedState=w}return[w,E]}function H(s,c,p){var E=Un,_=ai(),w=Di;if(w){if(p===void 0)throw Error(o(407));p=p()}else p=c();var P=!Zo((Ti||_).memoizedState,p);P&&(_.memoizedState=p,Ua=!0),_=_.queue;var ie=me.bind(null,E,_,s);if(Qr(2048,8,ie,[s]),_.getSnapshot!==c||P||Pr!==null&&Pr.memoizedState.tag&1){if(E.flags|=2048,Yi(9,Mi(),ae.bind(null,E,_,p,c),null),Xi===null)throw Error(o(349));w||(ju&124)!==0||ne(E,c,p)}return p}function ne(s,c,p){s.flags|=16384,s={getSnapshot:c,value:p},c=Un.updateQueue,c===null?(c=Ri(),Un.updateQueue=c,c.stores=[s]):(p=c.stores,p===null?c.stores=[s]:p.push(s))}function ae(s,c,p,E){c.value=p,c.getSnapshot=E,Te(c)&&Ge(s)}function me(s,c,p){return p(function(){Te(c)&&Ge(s)})}function Te(s){var c=s.getSnapshot;s=s.value;try{var p=c();return!Zo(s,p)}catch{return!0}}function Ge(s){var c=xr(s,2);c!==null&&We(c,s,2)}function $e(s){var c=hr();if(typeof s=="function"){var p=s;if(s=p(),Ju){Ht(!0);try{p()}finally{Ht(!1)}}}return c.memoizedState=c.baseState=s,c.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:s},c}function Ye(s,c,p,E){return s.baseState=p,Ga(s,Ti,typeof E=="function"?E:gr)}function et(s,c,p,E,_){if(Pa(s))throw Error(o(485));if(s=c.action,s!==null){var w={payload:_,action:s,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(P){w.listeners.push(P)}};l.T!==null?p(!0):w.isTransition=!1,E(w),p=c.pending,p===null?(w.next=c.pending=w,Be(c,w)):(w.next=p.next,c.pending=p.next=w)}}function Be(s,c){var p=c.action,E=c.payload,_=s.state;if(c.isTransition){var w=l.T,P={};l.T=P;try{var ie=p(_,E),Ce=l.S;Ce!==null&&Ce(P,ie),Nt(s,c,ie)}catch(Ke){Kn(s,c,Ke)}finally{l.T=w}}else try{w=p(_,E),Nt(s,c,w)}catch(Ke){Kn(s,c,Ke)}}function Nt(s,c,p){p!==null&&typeof p=="object"&&typeof p.then=="function"?p.then(function(E){tn(s,c,E)},function(E){return Kn(s,c,E)}):tn(s,c,p)}function tn(s,c,p){c.status="fulfilled",c.value=p,_n(c),s.state=p,c=s.pending,c!==null&&(p=c.next,p===c?s.pending=null:(p=p.next,c.next=p,Be(s,p)))}function Kn(s,c,p){var E=s.pending;if(s.pending=null,E!==null){E=E.next;do c.status="rejected",c.reason=p,_n(c),c=c.next;while(c!==E)}s.action=null}function _n(s){s=s.listeners;for(var c=0;c<s.length;c++)(0,s[c])()}function zi(s,c){return c}function Gr(s,c){if(Di){var p=Xi.formState;if(p!==null){e:{var E=Un;if(Di){if(fa){var _=a_(fa,bl);if(_){fa=Mg(_),E=zg(_);break e}}Jn(E)}E=!1}E&&(c=p[0])}}p=hr(),p.memoizedState=p.baseState=c,E={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zi,lastRenderedState:c},p.queue=E,p=ks.bind(null,Un,E),E.dispatch=p,E=$e(!1);var w=Qe.bind(null,Un,!1,E.queue);return E=hr(),_={state:c,dispatch:null,action:s,pending:null},E.queue=_,p=et.bind(null,Un,_,w,p),_.dispatch=p,E.memoizedState=s,[c,p,!1]}function Da(s){var c=ai();return Sa(c,Ti,s)}function Sa(s,c,p){if(c=Ga(s,c,zi)[0],s=lo(gr)[0],typeof c=="object"&&c!==null&&typeof c.then=="function")try{var E=Zr(c)}catch(P){throw P===yf?Bp:P}else E=c;c=ai();var _=c.queue,w=_.dispatch;return p!==c.memoizedState&&(Un.flags|=2048,Yi(9,Mi(),kl.bind(null,_,p),null)),[E,w,s]}function kl(s,c){s.action=c}function xu(s){var c=ai(),p=Ti;if(p!==null)return Sa(c,p,s);ai(),c=c.memoizedState,p=ai();var E=p.queue.dispatch;return p.memoizedState=s,[c,E,!1]}function Yi(s,c,p,E){return s={tag:s,create:p,deps:E,inst:c,next:null},c=Un.updateQueue,c===null&&(c=Ri(),Un.updateQueue=c),p=c.lastEffect,p===null?c.lastEffect=s.next=s:(E=p.next,p.next=s,s.next=E,c.lastEffect=s),s}function Mi(){return{destroy:void 0,resource:void 0}}function Ol(){return ai().memoizedState}function as(s,c,p,E){var _=hr();E=E===void 0?null:E,Un.flags|=s,_.memoizedState=Yi(1|c,Mi(),p,E)}function Qr(s,c,p,E){var _=ai();E=E===void 0?null:E;var w=_.memoizedState.inst;Ti!==null&&E!==null&&Mo(E,Ti.memoizedState.deps)?_.memoizedState=Yi(c,w,p,E):(Un.flags|=s,_.memoizedState=Yi(1|c,w,p,E))}function ws(s,c){as(8390656,8,s,c)}function Fl(s,c){Qr(2048,8,s,c)}function Lo(s,c){return Qr(4,2,s,c)}function zl(s,c){return Qr(4,4,s,c)}function Ml(s,c){if(typeof c=="function"){s=s();var p=c(s);return function(){typeof p=="function"?p():c(null)}}if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function ac(s,c,p){p=p!=null?p.concat([s]):null,Qr(4,4,Ml.bind(null,c,s),p)}function Al(){}function dl(s,c){var p=ai();c=c===void 0?null:c;var E=p.memoizedState;return c!==null&&Mo(c,E[1])?E[0]:(p.memoizedState=[s,c],s)}function Rs(s,c){var p=ai();c=c===void 0?null:c;var E=p.memoizedState;if(c!==null&&Mo(c,E[1]))return E[0];if(E=s(),Ju){Ht(!0);try{s()}finally{Ht(!1)}}return p.memoizedState=[E,c],E}function Qu(s,c,p){return p===void 0||(ju&1073741824)!==0?s.memoizedState=c:(s.memoizedState=p,s=we(),Un.lanes|=s,uu|=s,p)}function wr(s,c,p,E){return Zo(p,c)?p:dd.current!==null?(s=Qu(s,p,E),Zo(s,c)||(Ua=!0),s):(ju&42)===0?(Ua=!0,s.memoizedState=p):(s=we(),Un.lanes|=s,uu|=s,c)}function Ll(s,c,p,E,_){var w=fn();Kt(w!==0&&8>w?w:8);var P=l.T,ie={};l.T=ie,Qe(s,!1,c,p);try{var Ce=_(),Ke=l.S;if(Ke!==null&&Ke(ie,Ce),Ce!==null&&typeof Ce=="object"&&typeof Ce.then=="function"){var ut=ue(Ce,E);ba(s,c,ut,De(s))}else ba(s,c,E,De(s))}catch(bt){ba(s,c,{then:function(){},status:"rejected",reason:bt},De())}finally{Kt(w),l.T=P}}function $l(s){var c=s.memoizedState;if(c!==null)return c;c={memoizedState:Wi,baseState:Wi,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:Wi},next:null};var p={};return c.next={memoizedState:p,baseState:p,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:p},next:null},s.memoizedState=c,s=s.alternate,s!==null&&(s.memoizedState=c),c}function Ns(){return Ii(qa)}function Ts(){return ai().memoizedState}function $o(){return ai().memoizedState}function os(s){for(var c=s.return;c!==null;){switch(c.tag){case 24:case 3:var p=De();s=ft(p);var E=Kr(c,s,p);E!==null&&(We(E,c,p),ht(E,c,p)),c={cache:Ca()},s.payload=c;return}c=c.return}}function Us(s,c,p){var E=De();p={lane:E,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null},Pa(s)?oc(c,p):(p=$a(s,c,p,E),p!==null&&(We(p,s,E),wu(p,c,E)))}function ks(s,c,p){var E=De();ba(s,c,p,E)}function ba(s,c,p,E){var _={lane:E,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null};if(Pa(s))oc(c,_);else{var w=s.alternate;if(s.lanes===0&&(w===null||w.lanes===0)&&(w=c.lastRenderedReducer,w!==null))try{var P=c.lastRenderedState,ie=w(P,p);if(_.hasEagerState=!0,_.eagerState=ie,Zo(ie,P))return cn(s,c,_,0),Xi===null&&_o(),!1}catch{}if(p=$a(s,c,_,E),p!==null)return We(p,s,E),wu(p,c,E),!0}return!1}function Qe(s,c,p,E){if(E={lane:2,revertLane:Fi(),action:E,hasEagerState:!1,eagerState:null,next:null},Pa(s)){if(c)throw Error(o(479))}else c=$a(s,p,E,2),c!==null&&We(c,s,2)}function Pa(s){var c=s.alternate;return s===Un||c!==null&&c===Un}function oc(s,c){Bc=Cf=!0;var p=s.pending;p===null?c.next=c:(c.next=p.next,p.next=c),s.pending=c}function wu(s,c,p){if((p&4194048)!==0){var E=c.lanes;E&=s.pendingLanes,p|=E,c.lanes=p,It(s,p)}}function mt(s){var c=_f;return _f+=1,hd===null&&(hd=[]),rn(hd,s,c)}function Os(s,c){c=c.props.ref,s.ref=c!==void 0?c:null}function uo(s,c){throw c.$$typeof===pc?Error(o(525)):(s=Object.prototype.toString.call(c),Error(o(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s)))}function mn(s){var c=s._init;return c(s._payload)}function qe(s){function c(ye,pe){if(s){var _e=ye.deletions;_e===null?(ye.deletions=[pe],ye.flags|=16):_e.push(pe)}}function p(ye,pe){if(!s)return null;for(;pe!==null;)c(ye,pe),pe=pe.sibling;return null}function E(ye){for(var pe=new Map;ye!==null;)ye.key!==null?pe.set(ye.key,ye):pe.set(ye.index,ye),ye=ye.sibling;return pe}function _(ye,pe){return ye=bo(ye,pe),ye.index=0,ye.sibling=null,ye}function w(ye,pe,_e){return ye.index=_e,s?(_e=ye.alternate,_e!==null?(_e=_e.index,_e<pe?(ye.flags|=67108866,pe):_e):(ye.flags|=67108866,pe)):(ye.flags|=1048576,pe)}function P(ye){return s&&ye.alternate===null&&(ye.flags|=67108866),ye}function ie(ye,pe,_e,Ze){return pe===null||pe.tag!==6?(pe=iA(_e,ye.mode,Ze),pe.return=ye,pe):(pe=_(pe,_e),pe.return=ye,pe)}function Ce(ye,pe,_e,Ze){var Ot=_e.type;return Ot===Mu?ut(ye,pe,_e.props.children,Ze,_e.key):pe!==null&&(pe.elementType===Ot||typeof Ot=="object"&&Ot!==null&&Ot.$$typeof===go&&mn(Ot)===pe.type)?(pe=_(pe,_e.props),Os(pe,_e),pe.return=ye,pe):(pe=nA(_e.type,_e.key,_e.props,null,ye.mode,Ze),Os(pe,_e),pe.return=ye,pe)}function Ke(ye,pe,_e,Ze){return pe===null||pe.tag!==4||pe.stateNode.containerInfo!==_e.containerInfo||pe.stateNode.implementation!==_e.implementation?(pe=Za(_e,ye.mode,Ze),pe.return=ye,pe):(pe=_(pe,_e.children||[]),pe.return=ye,pe)}function ut(ye,pe,_e,Ze,Ot){return pe===null||pe.tag!==7?(pe=iu(_e,ye.mode,Ze,Ot),pe.return=ye,pe):(pe=_(pe,_e),pe.return=ye,pe)}function bt(ye,pe,_e){if(typeof pe=="string"&&pe!==""||typeof pe=="number"||typeof pe=="bigint")return pe=iA(""+pe,ye.mode,_e),pe.return=ye,pe;if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case ho:return _e=nA(pe.type,pe.key,pe.props,null,ye.mode,_e),Os(_e,pe),_e.return=ye,_e;case zu:return pe=Za(pe,ye.mode,_e),pe.return=ye,pe;case go:var Ze=pe._init;return pe=Ze(pe._payload),bt(ye,pe,_e)}if(b(pe)||D(pe))return pe=iu(pe,ye.mode,_e,null),pe.return=ye,pe;if(typeof pe.then=="function")return bt(ye,mt(pe),_e);if(pe.$$typeof===Vs)return bt(ye,ki(ye,pe),_e);uo(ye,pe)}return null}function Ut(ye,pe,_e,Ze){var Ot=pe!==null?pe.key:null;if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return Ot!==null?null:ie(ye,pe,""+_e,Ze);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case ho:return _e.key===Ot?Ce(ye,pe,_e,Ze):null;case zu:return _e.key===Ot?Ke(ye,pe,_e,Ze):null;case go:return Ot=_e._init,_e=Ot(_e._payload),Ut(ye,pe,_e,Ze)}if(b(_e)||D(_e))return Ot!==null?null:ut(ye,pe,_e,Ze,null);if(typeof _e.then=="function")return Ut(ye,pe,mt(_e),Ze);if(_e.$$typeof===Vs)return Ut(ye,pe,ki(ye,_e),Ze);uo(ye,_e)}return null}function En(ye,pe,_e,Ze,Ot){if(typeof Ze=="string"&&Ze!==""||typeof Ze=="number"||typeof Ze=="bigint")return ye=ye.get(_e)||null,ie(pe,ye,""+Ze,Ot);if(typeof Ze=="object"&&Ze!==null){switch(Ze.$$typeof){case ho:return ye=ye.get(Ze.key===null?_e:Ze.key)||null,Ce(pe,ye,Ze,Ot);case zu:return ye=ye.get(Ze.key===null?_e:Ze.key)||null,Ke(pe,ye,Ze,Ot);case go:var Si=Ze._init;return Ze=Si(Ze._payload),En(ye,pe,_e,Ze,Ot)}if(b(Ze)||D(Ze))return ye=ye.get(_e)||null,ut(pe,ye,Ze,Ot,null);if(typeof Ze.then=="function")return En(ye,pe,_e,mt(Ze),Ot);if(Ze.$$typeof===Vs)return En(ye,pe,_e,ki(pe,Ze),Ot);uo(pe,Ze)}return null}function Xo(ye,pe,_e,Ze){for(var Ot=null,Si=null,Jt=pe,wn=pe=0,cr=null;Jt!==null&&wn<_e.length;wn++){Jt.index>wn?(cr=Jt,Jt=null):cr=Jt.sibling;var Zn=Ut(ye,Jt,_e[wn],Ze);if(Zn===null){Jt===null&&(Jt=cr);break}s&&Jt&&Zn.alternate===null&&c(ye,Jt),pe=w(Zn,pe,wn),Si===null?Ot=Zn:Si.sibling=Zn,Si=Zn,Jt=cr}if(wn===_e.length)return p(ye,Jt),Di&&ke(ye,wn),Ot;if(Jt===null){for(;wn<_e.length;wn++)Jt=bt(ye,_e[wn],Ze),Jt!==null&&(pe=w(Jt,pe,wn),Si===null?Ot=Jt:Si.sibling=Jt,Si=Jt);return Di&&ke(ye,wn),Ot}for(Jt=E(Jt);wn<_e.length;wn++)cr=En(Jt,ye,wn,_e[wn],Ze),cr!==null&&(s&&cr.alternate!==null&&Jt.delete(cr.key===null?wn:cr.key),pe=w(cr,pe,wn),Si===null?Ot=cr:Si.sibling=cr,Si=cr);return s&&Jt.forEach(function(No){return c(ye,No)}),Di&&ke(ye,wn),Ot}function IA(ye,pe,_e,Ze){if(_e==null)throw Error(o(151));for(var Ot=null,Si=null,Jt=pe,wn=pe=0,cr=null,Zn=_e.next();Jt!==null&&!Zn.done;wn++,Zn=_e.next()){Jt.index>wn?(cr=Jt,Jt=null):cr=Jt.sibling;var No=Ut(ye,Jt,Zn.value,Ze);if(No===null){Jt===null&&(Jt=cr);break}s&&Jt&&No.alternate===null&&c(ye,Jt),pe=w(No,pe,wn),Si===null?Ot=No:Si.sibling=No,Si=No,Jt=cr}if(Zn.done)return p(ye,Jt),Di&&ke(ye,wn),Ot;if(Jt===null){for(;!Zn.done;wn++,Zn=_e.next())Zn=bt(ye,Zn.value,Ze),Zn!==null&&(pe=w(Zn,pe,wn),Si===null?Ot=Zn:Si.sibling=Zn,Si=Zn);return Di&&ke(ye,wn),Ot}for(Jt=E(Jt);!Zn.done;wn++,Zn=_e.next())Zn=En(Jt,ye,wn,Zn.value,Ze),Zn!==null&&(s&&Zn.alternate!==null&&Jt.delete(Zn.key===null?wn:Zn.key),pe=w(Zn,pe,wn),Si===null?Ot=Zn:Si.sibling=Zn,Si=Zn);return s&&Jt.forEach(function(Np){return c(ye,Np)}),Di&&ke(ye,wn),Ot}function Ws(ye,pe,_e,Ze){if(typeof _e=="object"&&_e!==null&&_e.type===Mu&&_e.key===null&&(_e=_e.props.children),typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case ho:e:{for(var Ot=_e.key;pe!==null;){if(pe.key===Ot){if(Ot=_e.type,Ot===Mu){if(pe.tag===7){p(ye,pe.sibling),Ze=_(pe,_e.props.children),Ze.return=ye,ye=Ze;break e}}else if(pe.elementType===Ot||typeof Ot=="object"&&Ot!==null&&Ot.$$typeof===go&&mn(Ot)===pe.type){p(ye,pe.sibling),Ze=_(pe,_e.props),Os(Ze,_e),Ze.return=ye,ye=Ze;break e}p(ye,pe);break}else c(ye,pe);pe=pe.sibling}_e.type===Mu?(Ze=iu(_e.props.children,ye.mode,Ze,_e.key),Ze.return=ye,ye=Ze):(Ze=nA(_e.type,_e.key,_e.props,null,ye.mode,Ze),Os(Ze,_e),Ze.return=ye,ye=Ze)}return P(ye);case zu:e:{for(Ot=_e.key;pe!==null;){if(pe.key===Ot)if(pe.tag===4&&pe.stateNode.containerInfo===_e.containerInfo&&pe.stateNode.implementation===_e.implementation){p(ye,pe.sibling),Ze=_(pe,_e.children||[]),Ze.return=ye,ye=Ze;break e}else{p(ye,pe);break}else c(ye,pe);pe=pe.sibling}Ze=Za(_e,ye.mode,Ze),Ze.return=ye,ye=Ze}return P(ye);case go:return Ot=_e._init,_e=Ot(_e._payload),Ws(ye,pe,_e,Ze)}if(b(_e))return Xo(ye,pe,_e,Ze);if(D(_e)){if(Ot=D(_e),typeof Ot!="function")throw Error(o(150));return _e=Ot.call(_e),IA(ye,pe,_e,Ze)}if(typeof _e.then=="function")return Ws(ye,pe,mt(_e),Ze);if(_e.$$typeof===Vs)return Ws(ye,pe,ki(ye,_e),Ze);uo(ye,_e)}return typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint"?(_e=""+_e,pe!==null&&pe.tag===6?(p(ye,pe.sibling),Ze=_(pe,_e),Ze.return=ye,ye=Ze):(p(ye,pe),Ze=iA(_e,ye.mode,Ze),Ze.return=ye,ye=Ze),P(ye)):p(ye,pe)}return function(ye,pe,_e,Ze){try{_f=0;var Ot=Ws(ye,pe,_e,Ze);return hd=null,Ot}catch(Jt){if(Jt===yf||Jt===Bp)throw Jt;var Si=t(29,Jt,null,ye.mode);return Si.lanes=Ze,Si.return=ye,Si}}}function xa(s){var c=s.alternate;$(pa,pa.current&1),$(qs,s),lu===null&&(c===null||dd.current!==null||c.memoizedState!==null)&&(lu=s)}function ss(s){if(s.tag===22){if($(pa,pa.current),$(qs,s),lu===null){var c=s.alternate;c!==null&&c.memoizedState!==null&&(lu=s)}}else Bn(s)}function Bn(){$(pa,pa.current),$(qs,qs.current)}function oi(s){V(qs),lu===s&&(lu=null),V(pa)}function mr(s){for(var c=s;c!==null;){if(c.tag===13){var p=c.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||df(p)||Fg(p)))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}function ar(s,c,p,E){c=s.memoizedState,p=p(E,c),p=p==null?c:nd({},c,p),s.memoizedState=p,s.lanes===0&&(s.updateQueue.baseState=p)}function Hl(s,c,p,E,_,w,P){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(E,w,P):c.prototype&&c.prototype.isPureReactComponent?!xt(p,E)||!xt(_,w):!0}function Gl(s,c,p,E){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(p,E),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(p,E),c.state!==s&&um.enqueueReplaceState(c,c.state,null)}function ls(s,c){var p=c;if("ref"in c){p={};for(var E in c)E!=="ref"&&(p[E]=c[E])}if(s=s.defaultProps){p===c&&(p=nd({},p));for(var _ in s)p[_]===void 0&&(p[_]=s[_])}return p}function fl(s,c){try{var p=s.onUncaughtError;p(c.value,{componentStack:c.stack})}catch(E){setTimeout(function(){throw E})}}function us(s,c,p){try{var E=s.onCaughtError;E(p.value,{componentStack:p.stack,errorBoundary:c.tag===1?c.stateNode:null})}catch(_){setTimeout(function(){throw _})}}function Rr(s,c,p){return p=ft(p),p.tag=3,p.payload={element:null},p.callback=function(){fl(s,c)},p}function $n(s){return s=ft(s),s.tag=3,s}function Pl(s,c,p,E){var _=p.type.getDerivedStateFromError;if(typeof _=="function"){var w=E.value;s.payload=function(){return _(w)},s.callback=function(){us(c,p,E)}}var P=p.stateNode;P!==null&&typeof P.componentDidCatch=="function"&&(s.callback=function(){us(c,p,E),typeof _!="function"&&(Sc===null?Sc=new Set([this]):Sc.add(this));var ie=E.stack;this.componentDidCatch(E.value,{componentStack:ie!==null?ie:""})})}function jl(s,c,p,E,_){if(p.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){if(c=p.alternate,c!==null&&Et(c,p,_,!0),p=qs.current,p!==null){switch(p.tag){case 13:return lu===null?Na():p.alternate===null&&Cr===0&&(Cr=3),p.flags&=-257,p.flags|=65536,p.lanes=_,E===Dp?p.flags|=16384:(c=p.updateQueue,c===null?p.updateQueue=new Set([E]):c.add(E),eA(s,E,_)),!1;case 22:return p.flags|=65536,E===Dp?p.flags|=16384:(c=p.updateQueue,c===null?(c={transitions:null,markerInstances:null,retryQueue:new Set([E])},p.updateQueue=c):(p=c.retryQueue,p===null?c.retryQueue=new Set([E]):p.add(E)),eA(s,E,_)),!1}throw Error(o(435,p.tag))}return eA(s,E,_),Na(),!1}if(Di)return c=qs.current,c!==null?((c.flags&65536)===0&&(c.flags|=256),c.flags|=65536,c.lanes=_,E!==im&&(s=Error(o(422),{cause:E}),Nn(lt(s,p)))):(E!==im&&(c=Error(o(423),{cause:E}),Nn(lt(c,p))),s=s.current.alternate,s.flags|=65536,_&=-_,s.lanes|=_,E=lt(E,p),_=Rr(s.stateNode,E,_),rs(s,_),Cr!==4&&(Cr=2)),!1;var w=Error(o(520),{cause:E});if(w=lt(w,p),xf===null?xf=[w]:xf.push(w),Cr!==4&&(Cr=2),c===null)return!0;E=lt(E,p),p=c;do{switch(p.tag){case 3:return p.flags|=65536,s=_&-_,p.lanes|=s,s=Rr(p.stateNode,E,s),rs(p,s),!1;case 1:if(c=p.type,w=p.stateNode,(p.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Sc===null||!Sc.has(w))))return p.flags|=65536,_&=-_,p.lanes|=_,_=$n(_),Pl(_,s,p,E),rs(p,_),!1}p=p.return}while(p!==null);return!1}function bi(s,c,p,E){c.child=s===null?Gy(c,null,p,E):gd(c,s.child,p,E)}function Bo(s,c,p,E,_){p=p.render;var w=c.ref;if("ref"in E){var P={};for(var ie in E)ie!=="ref"&&(P[ie]=E[ie])}else P=E;return Dr(c),E=Wt(s,c,p,P,w,_),ie=pi(),s!==null&&!Ua?(Ba(s,c,_),Er(s,c,_)):(Di&&ie&&Dt(c),c.flags|=1,bi(s,c,E,_),c.child)}function qr(s,c,p,E,_){if(s===null){var w=p.type;return typeof w=="function"&&!nu(w)&&w.defaultProps===void 0&&p.compare===null?(c.tag=15,c.type=w,co(s,c,w,E,_)):(s=nA(p.type,null,E,c,c.mode,_),s.ref=c.ref,s.return=c,c.child=s)}if(w=s.child,!El(s,_)){var P=w.memoizedProps;if(p=p.compare,p=p!==null?p:xt,p(P,E)&&s.ref===c.ref)return Er(s,c,_)}return c.flags|=1,s=bo(w,E),s.ref=c.ref,s.return=c,c.child=s}function co(s,c,p,E,_){if(s!==null){var w=s.memoizedProps;if(xt(w,E)&&s.ref===c.ref)if(Ua=!1,c.pendingProps=E=w,El(s,_))(s.flags&131072)!==0&&(Ua=!0);else return c.lanes=s.lanes,Er(s,c,_)}return hl(s,c,p,E,_)}function pl(s,c,p){var E=c.pendingProps,_=E.children,w=s!==null?s.memoizedState:null;if(E.mode==="hidden"){if((c.flags&128)!==0){if(E=w!==null?w.baseLanes|p:p,s!==null){for(_=c.child=s.child,w=0;_!==null;)w=w|_.lanes|_.childLanes,_=_.sibling;c.childLanes=w&~E}else c.childLanes=0,c.child=null;return Ru(s,c,E,p)}if((p&536870912)!==0)c.memoizedState={baseLanes:0,cachePool:null},s!==null&&ot(c,w!==null?w.cachePool:null),w!==null?_a(c,w):oo(),ss(c);else return c.lanes=c.childLanes=536870912,Ru(s,c,w!==null?w.baseLanes|p:p,p)}else w!==null?(ot(c,w.cachePool),_a(c,w),Bn(c),c.memoizedState=null):(s!==null&&ot(c,null),oo(),Bn(c));return bi(s,c,_,p),c.child}function Ru(s,c,p,E){var _=je();return _=_===null?null:{parent:yt?Tr._currentValue:Tr._currentValue2,pool:_},c.memoizedState={baseLanes:p,cachePool:_},s!==null&&ot(c,null),oo(),ss(c),s!==null&&Et(s,c,E,!0),null}function Ao(s,c){var p=c.ref;if(p===null)s!==null&&s.ref!==null&&(c.flags|=4194816);else{if(typeof p!="function"&&typeof p!="object")throw Error(o(284));(s===null||s.ref!==p)&&(c.flags|=4194816)}}function hl(s,c,p,E,_){return Dr(c),p=Wt(s,c,p,E,void 0,_),E=pi(),s!==null&&!Ua?(Ba(s,c,_),Er(s,c,_)):(Di&&E&&Dt(c),c.flags|=1,bi(s,c,p,_),c.child)}function Jl(s,c,p,E,_,w){return Dr(c),c.updateQueue=null,p=Qs(c,E,p,_),ul(s),E=pi(),s!==null&&!Ua?(Ba(s,c,w),Er(s,c,w)):(Di&&E&&Dt(c),c.flags|=1,bi(s,c,p,w),c.child)}function sc(s,c,p,E,_){if(Dr(c),c.stateNode===null){var w=Ko,P=p.contextType;typeof P=="object"&&P!==null&&(w=Ii(P)),w=new p(E,w),c.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,w.updater=um,c.stateNode=w,w._reactInternals=c,w=c.stateNode,w.props=E,w.state=c.memoizedState,w.refs={},qn(c),P=p.contextType,w.context=typeof P=="object"&&P!==null?Ii(P):Ko,w.state=c.memoizedState,P=p.getDerivedStateFromProps,typeof P=="function"&&(ar(c,p,P,E),w.state=c.memoizedState),typeof p.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(P=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),P!==w.state&&um.enqueueReplaceState(w,w.state,null),ca(c,E,w,_),wi(),w.state=c.memoizedState),typeof w.componentDidMount=="function"&&(c.flags|=4194308),E=!0}else if(s===null){w=c.stateNode;var ie=c.memoizedProps,Ce=ls(p,ie);w.props=Ce;var Ke=w.context,ut=p.contextType;P=Ko,typeof ut=="object"&&ut!==null&&(P=Ii(ut));var bt=p.getDerivedStateFromProps;ut=typeof bt=="function"||typeof w.getSnapshotBeforeUpdate=="function",ie=c.pendingProps!==ie,ut||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(ie||Ke!==P)&&Gl(c,w,E,P),_c=!1;var Ut=c.memoizedState;w.state=Ut,ca(c,E,w,_),wi(),Ke=c.memoizedState,ie||Ut!==Ke||_c?(typeof bt=="function"&&(ar(c,p,bt,E),Ke=c.memoizedState),(Ce=_c||Hl(c,p,Ce,E,Ut,Ke,P))?(ut||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(c.flags|=4194308)):(typeof w.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=E,c.memoizedState=Ke),w.props=E,w.state=Ke,w.context=P,E=Ce):(typeof w.componentDidMount=="function"&&(c.flags|=4194308),E=!1)}else{w=c.stateNode,zo(s,c),P=c.memoizedProps,ut=ls(p,P),w.props=ut,bt=c.pendingProps,Ut=w.context,Ke=p.contextType,Ce=Ko,typeof Ke=="object"&&Ke!==null&&(Ce=Ii(Ke)),ie=p.getDerivedStateFromProps,(Ke=typeof ie=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(P!==bt||Ut!==Ce)&&Gl(c,w,E,Ce),_c=!1,Ut=c.memoizedState,w.state=Ut,ca(c,E,w,_),wi();var En=c.memoizedState;P!==bt||Ut!==En||_c||s!==null&&s.dependencies!==null&&ua(s.dependencies)?(typeof ie=="function"&&(ar(c,p,ie,E),En=c.memoizedState),(ut=_c||Hl(c,p,ut,E,Ut,En,Ce)||s!==null&&s.dependencies!==null&&ua(s.dependencies))?(Ke||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(E,En,Ce),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(E,En,Ce)),typeof w.componentDidUpdate=="function"&&(c.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof w.componentDidUpdate!="function"||P===s.memoizedProps&&Ut===s.memoizedState||(c.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||P===s.memoizedProps&&Ut===s.memoizedState||(c.flags|=1024),c.memoizedProps=E,c.memoizedState=En),w.props=E,w.state=En,w.context=Ce,E=ut):(typeof w.componentDidUpdate!="function"||P===s.memoizedProps&&Ut===s.memoizedState||(c.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||P===s.memoizedProps&&Ut===s.memoizedState||(c.flags|=1024),E=!1)}return w=E,Ao(s,c),E=(c.flags&128)!==0,w||E?(w=c.stateNode,p=E&&typeof p.getDerivedStateFromError!="function"?null:w.render(),c.flags|=1,s!==null&&E?(c.child=gd(c,s.child,null,_),c.child=gd(c,null,p,_)):bi(s,c,p,_),c.memoizedState=w.state,s=c.child):s=Er(s,c,_),s}function Nu(s,c,p,E){return Ci(),c.flags|=256,bi(s,c,p,E),c.child}function Fs(s){return{baseLanes:s,cachePool:_t()}}function Vl(s,c,p){return s=s!==null?s.childLanes&~p:0,c&&(s|=er),s}function zs(s,c,p){var E=c.pendingProps,_=!1,w=(c.flags&128)!==0,P;if((P=w)||(P=s!==null&&s.memoizedState===null?!1:(pa.current&2)!==0),P&&(_=!0,c.flags&=-129),P=(c.flags&32)!==0,c.flags&=-33,s===null){if(Di){if(_?xa(c):Bn(c),Di){var ie=fa,Ce;(Ce=ie)&&(ie=Ny(ie,bl),ie!==null?(c.memoizedState={dehydrated:ie,treeContext:Nr!==null?{id:Eo,overflow:na}:null,retryLane:536870912,hydrationErrors:null},Ce=t(18,null,null,0),Ce.stateNode=ie,Ce.return=c,c.child=Ce,Qo=c,fa=null,Ce=!0):Ce=!1),Ce||Jn(c)}if(ie=c.memoizedState,ie!==null&&(ie=ie.dehydrated,ie!==null))return Fg(ie)?c.lanes=32:c.lanes=536870912,null;oi(c)}return ie=E.children,E=E.fallback,_?(Bn(c),_=c.mode,ie=gl({mode:"hidden",children:ie},_),E=iu(E,_,p,null),ie.return=c,E.return=c,ie.sibling=E,c.child=ie,_=c.child,_.memoizedState=Fs(p),_.childLanes=Vl(s,P,p),c.memoizedState=Am,E):(xa(c),Ho(c,ie))}if(Ce=s.memoizedState,Ce!==null&&(ie=Ce.dehydrated,ie!==null)){if(w)c.flags&256?(xa(c),c.flags&=-257,c=ml(s,c,p)):c.memoizedState!==null?(Bn(c),c.child=s.child,c.flags|=128,c=null):(Bn(c),_=E.fallback,ie=c.mode,E=gl({mode:"visible",children:E.children},ie),_=iu(_,ie,p,null),_.flags|=2,E.return=c,_.return=c,E.sibling=_,c.child=E,gd(c,s.child,null,p),E=c.child,E.memoizedState=Fs(p),E.childLanes=Vl(s,P,p),c.memoizedState=Am,c=_);else if(xa(c),Fg(ie))P=Qy(ie).digest,E=Error(o(419)),E.stack="",E.digest=P,Nn({value:E,source:null,stack:null}),c=ml(s,c,p);else if(Ua||Et(s,c,p,!1),P=(p&s.childLanes)!==0,Ua||P){if(P=Xi,P!==null&&(E=p&-p,E=(E&42)!==0?1:Gt(E),E=(E&(P.suspendedLanes|p))!==0?0:E,E!==0&&E!==Ce.retryLane))throw Ce.retryLane=E,xr(s,E),We(P,s,E),Py;df(ie)||Na(),c=ml(s,c,p)}else df(ie)?(c.flags|=192,c.child=s.child,c=null):(s=Ce.treeContext,Qn&&(fa=o_(ie),Qo=c,Di=!0,hA=null,bl=!1,s!==null&&(Ta[ta++]=Eo,Ta[ta++]=na,Ta[ta++]=Nr,Eo=s.id,na=s.overflow,Nr=c)),c=Ho(c,E.children),c.flags|=4096);return c}return _?(Bn(c),_=E.fallback,ie=c.mode,Ce=s.child,w=Ce.sibling,E=bo(Ce,{mode:"hidden",children:E.children}),E.subtreeFlags=Ce.subtreeFlags&65011712,w!==null?_=bo(w,_):(_=iu(_,ie,p,null),_.flags|=2),_.return=c,E.return=c,E.sibling=_,c.child=E,E=_,_=c.child,ie=s.child.memoizedState,ie===null?ie=Fs(p):(Ce=ie.cachePool,Ce!==null?(w=yt?Tr._currentValue:Tr._currentValue2,Ce=Ce.parent!==w?{parent:w,pool:w}:Ce):Ce=_t(),ie={baseLanes:ie.baseLanes|p,cachePool:Ce}),_.memoizedState=ie,_.childLanes=Vl(s,P,p),c.memoizedState=Am,E):(xa(c),p=s.child,s=p.sibling,p=bo(p,{mode:"visible",children:E.children}),p.return=c,p.sibling=null,s!==null&&(P=c.deletions,P===null?(c.deletions=[s],c.flags|=16):P.push(s)),c.child=p,c.memoizedState=null,p)}function Ho(s,c){return c=gl({mode:"visible",children:c},s.mode),c.return=s,s.child=c}function gl(s,c){return s=t(22,s,null,c),s.lanes=0,s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},s}function ml(s,c,p){return gd(c,s.child,null,p),s=Ho(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function xi(s,c,p){s.lanes|=c;var E=s.alternate;E!==null&&(E.lanes|=c),Br(s.return,c,p)}function Kl(s,c,p,E,_){var w=s.memoizedState;w===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:E,tail:p,tailMode:_}:(w.isBackwards=c,w.rendering=null,w.renderingStartTime=0,w.last=E,w.tail=p,w.tailMode=_)}function Tu(s,c,p){var E=c.pendingProps,_=E.revealOrder,w=E.tail;if(bi(s,c,E.children,p),E=pa.current,(E&2)!==0)E=E&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&xi(s,p,c);else if(s.tag===19)xi(s,p,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}E&=1}switch($(pa,E),_){case"forwards":for(p=c.child,_=null;p!==null;)s=p.alternate,s!==null&&mr(s)===null&&(_=p),p=p.sibling;p=_,p===null?(_=c.child,c.child=null):(_=p.sibling,p.sibling=null),Kl(c,!1,_,p,w);break;case"backwards":for(p=null,_=c.child,c.child=null;_!==null;){if(s=_.alternate,s!==null&&mr(s)===null){c.child=_;break}s=_.sibling,_.sibling=p,p=_,_=s}Kl(c,!0,p,null,w);break;case"together":Kl(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Er(s,c,p){if(s!==null&&(c.dependencies=s.dependencies),uu|=c.lanes,(p&c.childLanes)===0)if(s!==null){if(Et(s,c,p,!1),(p&c.childLanes)===0)return null}else return null;if(s!==null&&c.child!==s.child)throw Error(o(153));if(c.child!==null){for(s=c.child,p=bo(s,s.pendingProps),c.child=p,p.return=c;s.sibling!==null;)s=s.sibling,p=p.sibling=bo(s,s.pendingProps),p.return=c;p.sibling=null}return c.child}function El(s,c){return(s.lanes&c)!==0?!0:(s=s.dependencies,!!(s!==null&&ua(s)))}function lc(s,c,p){switch(c.tag){case 3:Pe(c,c.stateNode.containerInfo),gt(c,Tr,s.memoizedState.cache),Ci();break;case 27:case 5:wt(c);break;case 4:Pe(c,c.stateNode.containerInfo);break;case 10:gt(c,c.type,c.memoizedProps.value);break;case 13:var E=c.memoizedState;if(E!==null)return E.dehydrated!==null?(xa(c),c.flags|=128,null):(p&c.child.childLanes)!==0?zs(s,c,p):(xa(c),s=Er(s,c,p),s!==null?s.sibling:null);xa(c);break;case 19:var _=(s.flags&128)!==0;if(E=(p&c.childLanes)!==0,E||(Et(s,c,p,!1),E=(p&c.childLanes)!==0),_){if(E)return Tu(s,c,p);c.flags|=128}if(_=c.memoizedState,_!==null&&(_.rendering=null,_.tail=null,_.lastEffect=null),$(pa,pa.current),E)break;return null;case 22:case 23:return c.lanes=0,pl(s,c,p);case 24:gt(c,Tr,s.memoizedState.cache)}return Er(s,c,p)}function Zl(s,c,p){if(s!==null)if(s.memoizedProps!==c.pendingProps)Ua=!0;else{if(!El(s,p)&&(c.flags&128)===0)return Ua=!1,lc(s,c,p);Ua=(s.flags&131072)!==0}else Ua=!1,Di&&(c.flags&1048576)!==0&&Ve(c,Cp,c.index);switch(c.lanes=0,c.tag){case 16:e:{s=c.pendingProps;var E=c.elementType,_=E._init;if(E=_(E._payload),c.type=E,typeof E=="function")nu(E)?(s=ls(E,s),c.tag=1,c=sc(null,c,E,s,p)):(c.tag=0,c=hl(null,c,E,s,p));else{if(E!=null){if(_=E.$$typeof,_===ru){c.tag=11,c=Bo(null,c,E,s,p);break e}else if(_===Lu){c.tag=14,c=qr(null,c,E,s,p);break e}}throw c=R(E)||E,Error(o(306,c,""))}}return c;case 0:return hl(s,c,c.type,c.pendingProps,p);case 1:return E=c.type,_=ls(E,c.pendingProps),sc(s,c,E,_,p);case 3:e:{if(Pe(c,c.stateNode.containerInfo),s===null)throw Error(o(387));var w=c.pendingProps;_=c.memoizedState,E=_.element,zo(s,c),ca(c,w,null,p);var P=c.memoizedState;if(w=P.cache,gt(c,Tr,w),w!==_.cache&&dt(c,[Tr],p,!0),wi(),w=P.element,Qn&&_.isDehydrated)if(_={element:w,isDehydrated:!1,cache:P.cache},c.updateQueue.baseState=_,c.memoizedState=_,c.flags&256){c=Nu(s,c,w,p);break e}else if(w!==E){E=lt(Error(o(424)),c),Nn(E),c=Nu(s,c,w,p);break e}else for(Qn&&(fa=ff(c.stateNode.containerInfo),Qo=c,Di=!0,hA=null,bl=!0),p=Gy(c,null,w,p),c.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(Ci(),w===E){c=Er(s,c,p);break e}bi(s,c,w,p)}c=c.child}return c;case 26:if(Sl)return Ao(s,c),s===null?(p=Vg(c.type,null,c.pendingProps,null))?c.memoizedState=p:Di||(c.stateNode=u_(c.type,c.pendingProps,ur.current,c)):c.memoizedState=Vg(c.type,s.memoizedProps,c.pendingProps,s.memoizedState),null;case 27:if(da)return wt(c),s===null&&da&&Di&&(E=c.stateNode=vc(c.type,c.pendingProps,ur.current,eo.current,!1),Qo=c,bl=!0,fa=s_(c.type,E,fa)),bi(s,c,c.pendingProps.children,p),Ao(s,c),s===null&&(c.flags|=4194304),c.child;case 5:return s===null&&Di&&(Pg(c.type,c.pendingProps,eo.current),(_=E=fa)&&(E=cA(E,c.type,c.pendingProps,bl),E!==null?(c.stateNode=E,Qo=c,fa=Ry(E),bl=!1,_=!0):_=!1),_||Jn(c)),wt(c),_=c.type,w=c.pendingProps,P=s!==null?s.memoizedProps:null,E=w.children,Oe(_,w)?E=null:P!==null&&Oe(_,P)&&(c.flags|=32),c.memoizedState!==null&&(_=Wt(s,c,so,null,null,p),yt?qa._currentValue=_:qa._currentValue2=_),Ao(s,c),bi(s,c,E,p),c.child;case 6:return s===null&&Di&&(jg(c.pendingProps,eo.current),(s=p=fa)&&(p=Lg(p,c.pendingProps,bl),p!==null?(c.stateNode=p,Qo=c,fa=null,s=!0):s=!1),s||Jn(c)),null;case 13:return zs(s,c,p);case 4:return Pe(c,c.stateNode.containerInfo),E=c.pendingProps,s===null?c.child=gd(c,null,E,p):bi(s,c,E,p),c.child;case 11:return Bo(s,c,c.type,c.pendingProps,p);case 7:return bi(s,c,c.pendingProps,p),c.child;case 8:return bi(s,c,c.pendingProps.children,p),c.child;case 12:return bi(s,c,c.pendingProps.children,p),c.child;case 10:return E=c.pendingProps,gt(c,c.type,E.value),bi(s,c,E.children,p),c.child;case 9:return _=c.type._context,E=c.pendingProps.children,Dr(c),_=Ii(_),E=E(_),c.flags|=1,bi(s,c,E,p),c.child;case 14:return qr(s,c,c.type,c.pendingProps,p);case 15:return co(s,c,c.type,c.pendingProps,p);case 19:return Tu(s,c,p);case 31:return E=c.pendingProps,p=c.mode,E={mode:E.mode,children:E.children},s===null?(p=gl(E,p),p.ref=c.ref,c.child=p,p.return=c,c=p):(p=bo(s.child,E),p.ref=c.ref,c.child=p,p.return=c,c=p),c;case 22:return pl(s,c,p);case 24:return Dr(c),E=Ii(Tr),s===null?(_=je(),_===null&&(_=Xi,w=Ca(),_.pooledCache=w,w.refCount++,w!==null&&(_.pooledCacheLanes|=p),_=w),c.memoizedState={parent:E,cache:_},qn(c),gt(c,Tr,_)):((s.lanes&p)!==0&&(zo(s,c),ca(c,null,null,p),wi()),_=s.memoizedState,w=c.memoizedState,_.parent!==E?(_={parent:E,cache:E},c.memoizedState=_,c.lanes===0&&(c.memoizedState=c.updateQueue.baseState=_),gt(c,Tr,E)):(E=w.cache,gt(c,Tr,E),E!==_.cache&&dt(c,[Tr],p,!0))),bi(s,c,c.pendingProps.children,p),c.child;case 29:throw c.pendingProps}throw Error(o(156,c.tag))}function or(s){s.flags|=4}function Do(s,c){if(s!==null&&s.child===c.child)return!1;if((c.flags&16)!==0)return!0;for(s=c.child;s!==null;){if((s.flags&13878)!==0||(s.subtreeFlags&13878)!==0)return!0;s=s.sibling}return!1}function Yl(s,c,p,E){if(Bt)for(p=c.child;p!==null;){if(p.tag===5||p.tag===6)ve(s,p.stateNode);else if(!(p.tag===4||da&&p.tag===27)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===c)break;for(;p.sibling===null;){if(p.return===null||p.return===c)return;p=p.return}p.sibling.return=p.return,p=p.sibling}else if(an)for(var _=c.child;_!==null;){if(_.tag===5){var w=_.stateNode;p&&E&&(w=Og(w,_.type,_.memoizedProps)),ve(s,w)}else if(_.tag===6)w=_.stateNode,p&&E&&(w=Bi(w,_.memoizedProps)),ve(s,w);else if(_.tag!==4){if(_.tag===22&&_.memoizedState!==null)w=_.child,w!==null&&(w.return=_),Yl(s,_,!0,!0);else if(_.child!==null){_.child.return=_,_=_.child;continue}}if(_===c)break;for(;_.sibling===null;){if(_.return===null||_.return===c)return;_=_.return}_.sibling.return=_.return,_=_.sibling}}function Ms(s,c,p,E){var _=!1;if(an)for(var w=c.child;w!==null;){if(w.tag===5){var P=w.stateNode;p&&E&&(P=Og(P,w.type,w.memoizedProps)),Ug(s,P)}else if(w.tag===6)P=w.stateNode,p&&E&&(P=Bi(P,w.memoizedProps)),Ug(s,P);else if(w.tag!==4){if(w.tag===22&&w.memoizedState!==null)_=w.child,_!==null&&(_.return=w),Ms(s,w,!0,!0),_=!0;else if(w.child!==null){w.child.return=w,w=w.child;continue}}if(w===c)break;for(;w.sibling===null;){if(w.return===null||w.return===c)return _;w=w.return}w.sibling.return=w.return,w=w.sibling}return _}function Ls(s,c){if(an&&Do(s,c)){s=c.stateNode;var p=s.containerInfo,E=xy();Ms(E,c,!1,!1),s.pendingChildren=E,or(c),rd(p,E)}}function Wr(s,c,p,E){if(Bt)s.memoizedProps!==E&&or(c);else if(an){var _=s.stateNode,w=s.memoizedProps;if((s=Do(s,c))||w!==E){var P=eo.current;w=by(_,p,w,E,!s,null),w===_?c.stateNode=_:(Se(w,p,E,P)&&or(c),c.stateNode=w,s?Yl(w,c,!1,!1):or(c))}else c.stateNode=_}}function cs(s,c,p){if(mc(c,p)){if(s.flags|=16777216,!Ec(c,p))if(ku())s.flags|=8192;else throw EA=Dp,om}else s.flags&=-16777217}function sr(s,c){if(c_(c)){if(s.flags|=16777216,!xo(c))if(ku())s.flags|=8192;else throw EA=Dp,om}else s.flags&=-16777217}function As(s,c){c!==null&&(s.flags|=4),s.flags&16384&&(c=s.tag!==22?Ie():536870912,s.lanes|=c,Ed|=c)}function $s(s,c){if(!Di)switch(s.tailMode){case"hidden":c=s.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?s.tail=null:p.sibling=null;break;case"collapsed":p=s.tail;for(var E=null;p!==null;)p.alternate!==null&&(E=p),p=p.sibling;E===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:E.sibling=null}}function Xn(s){var c=s.alternate!==null&&s.alternate.child===s.child,p=0,E=0;if(c)for(var _=s.child;_!==null;)p|=_.lanes|_.childLanes,E|=_.subtreeFlags&65011712,E|=_.flags&65011712,_.return=s,_=_.sibling;else for(_=s.child;_!==null;)p|=_.lanes|_.childLanes,E|=_.subtreeFlags,E|=_.flags,_.return=s,_=_.sibling;return s.subtreeFlags|=E,s.childLanes=p,c}function Hs(s,c,p){var E=c.pendingProps;switch(Ee(c),c.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xn(c),null;case 1:return Xn(c),null;case 3:return p=c.stateNode,E=null,s!==null&&(E=s.memoizedState.cache),c.memoizedState.cache!==E&&(c.flags|=2048),vn(Tr),Qt(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(s===null||s.child===null)&&(Lt(c)?or(c):s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,en())),Ls(s,c),Xn(c),null;case 26:if(Sl){p=c.type;var _=c.memoizedState;return s===null?(or(c),_!==null?(Xn(c),sr(c,_)):(Xn(c),cs(c,p,E))):_?_!==s.memoizedState?(or(c),Xn(c),sr(c,_)):(Xn(c),c.flags&=-16777217):(Bt?s.memoizedProps!==E&&or(c):Wr(s,c,p,E),Xn(c),cs(c,p,E)),null}case 27:if(da){if(An(c),p=ur.current,_=c.type,s!==null&&c.stateNode!=null)Bt?s.memoizedProps!==E&&or(c):Wr(s,c,_,E);else{if(!E){if(c.stateNode===null)throw Error(o(166));return Xn(c),null}s=eo.current,Lt(c)?un(c,s):(s=vc(_,E,p,s,!0),c.stateNode=s,or(c))}return Xn(c),null}case 5:if(An(c),p=c.type,s!==null&&c.stateNode!=null)Wr(s,c,p,E);else{if(!E){if(c.stateNode===null)throw Error(o(166));return Xn(c),null}s=eo.current,Lt(c)?un(c,s):(_=Ae(p,E,ur.current,s,c),Yl(_,c,!1,!1),c.stateNode=_,Se(_,p,E,s)&&or(c))}return Xn(c),cs(c,c.type,c.pendingProps),null;case 6:if(s&&c.stateNode!=null)p=s.memoizedProps,Bt?p!==E&&or(c):an&&(p!==E?(c.stateNode=ze(E,ur.current,eo.current,c),or(c)):c.stateNode=s.stateNode);else{if(typeof E!="string"&&c.stateNode===null)throw Error(o(166));if(s=ur.current,p=eo.current,Lt(c)){if(!Qn)throw Error(o(176));if(s=c.stateNode,p=c.memoizedProps,E=null,_=Qo,_!==null)switch(_.tag){case 27:case 5:E=_.memoizedProps}$g(s,p,c,E)||Jn(c)}else c.stateNode=ze(E,s,p,c)}return Xn(c),null;case 13:if(E=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(_=Lt(c),E!==null&&E.dehydrated!==null){if(s===null){if(!_)throw Error(o(318));if(!Qn)throw Error(o(344));if(_=c.memoizedState,_=_!==null?_.dehydrated:null,!_)throw Error(o(317));l_(_,c)}else Ci(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;Xn(c),_=!1}else _=en(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=_),_=!0;if(!_)return c.flags&256?(oi(c),c):(oi(c),null)}if(oi(c),(c.flags&128)!==0)return c.lanes=p,c;if(p=E!==null,s=s!==null&&s.memoizedState!==null,p){E=c.child,_=null,E.alternate!==null&&E.alternate.memoizedState!==null&&E.alternate.memoizedState.cachePool!==null&&(_=E.alternate.memoizedState.cachePool.pool);var w=null;E.memoizedState!==null&&E.memoizedState.cachePool!==null&&(w=E.memoizedState.cachePool.pool),w!==_&&(E.flags|=2048)}return p!==s&&p&&(c.child.flags|=8192),As(c,c.updateQueue),Xn(c),null;case 4:return Qt(),Ls(s,c),s===null&&Yt(c.stateNode.containerInfo),Xn(c),null;case 10:return vn(c.type),Xn(c),null;case 19:if(V(pa),_=c.memoizedState,_===null)return Xn(c),null;if(E=(c.flags&128)!==0,w=_.rendering,w===null)if(E)$s(_,!1);else{if(Cr!==0||s!==null&&(s.flags&128)!==0)for(s=c.child;s!==null;){if(w=mr(s),w!==null){for(c.flags|=128,$s(_,!1),s=w.updateQueue,c.updateQueue=s,As(c,s),c.subtreeFlags=0,s=p,p=c.child;p!==null;)Li(p,s),p=p.sibling;return $(pa,pa.current&1|2),c.child}s=s.sibling}_.tail!==null&&lr()>Qf&&(c.flags|=128,E=!0,$s(_,!1),c.lanes=4194304)}else{if(!E)if(s=mr(w),s!==null){if(c.flags|=128,E=!0,s=s.updateQueue,c.updateQueue=s,As(c,s),$s(_,!0),_.tail===null&&_.tailMode==="hidden"&&!w.alternate&&!Di)return Xn(c),null}else 2*lr()-_.renderingStartTime>Qf&&p!==536870912&&(c.flags|=128,E=!0,$s(_,!1),c.lanes=4194304);_.isBackwards?(w.sibling=c.child,c.child=w):(s=_.last,s!==null?s.sibling=w:c.child=w,_.last=w)}return _.tail!==null?(c=_.tail,_.rendering=c,_.tail=c.sibling,_.renderingStartTime=lr(),c.sibling=null,s=pa.current,$(pa,E?s&1|2:s&1),c):(Xn(c),null);case 22:case 23:return oi(c),xs(),E=c.memoizedState!==null,s!==null?s.memoizedState!==null!==E&&(c.flags|=8192):E&&(c.flags|=8192),E?(p&536870912)!==0&&(c.flags&128)===0&&(Xn(c),c.subtreeFlags&6&&(c.flags|=8192)):Xn(c),p=c.updateQueue,p!==null&&As(c,p.retryQueue),p=null,s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),E=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(E=c.memoizedState.cachePool.pool),E!==p&&(c.flags|=2048),s!==null&&V(mA),null;case 24:return p=null,s!==null&&(p=s.memoizedState.cache),c.memoizedState.cache!==p&&(c.flags|=2048),vn(Tr),Xn(c),null;case 25:return null;case 30:return null}throw Error(o(156,c.tag))}function Qa(s,c){switch(Ee(c),c.tag){case 1:return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return vn(Tr),Qt(),s=c.flags,(s&65536)!==0&&(s&128)===0?(c.flags=s&-65537|128,c):null;case 26:case 27:case 5:return An(c),null;case 13:if(oi(c),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(o(340));Ci()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return V(pa),null;case 4:return Qt(),null;case 10:return vn(c.type),null;case 22:case 23:return oi(c),xs(),s!==null&&V(mA),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 24:return vn(Tr),null;case 25:return null;default:return null}}function ql(s,c){switch(Ee(c),c.tag){case 3:vn(Tr),Qt();break;case 26:case 27:case 5:An(c);break;case 4:Qt();break;case 13:oi(c);break;case 19:V(pa);break;case 10:vn(c.type);break;case 22:case 23:oi(c),xs(),s!==null&&V(mA);break;case 24:vn(Tr)}}function Gs(s,c){try{var p=c.updateQueue,E=p!==null?p.lastEffect:null;if(E!==null){var _=E.next;p=_;do{if((p.tag&s)===s){E=void 0;var w=p.create,P=p.inst;E=w(),P.destroy=E}p=p.next}while(p!==_)}}catch(ie){dn(c,c.return,ie)}}function ja(s,c,p){try{var E=c.updateQueue,_=E!==null?E.lastEffect:null;if(_!==null){var w=_.next;E=w;do{if((E.tag&s)===s){var P=E.inst,ie=P.destroy;if(ie!==void 0){P.destroy=void 0,_=c;var Ce=p,Ke=ie;try{Ke()}catch(ut){dn(_,Ce,ut)}}}E=E.next}while(E!==w)}}catch(ut){dn(c,c.return,ut)}}function Wl(s){var c=s.updateQueue;if(c!==null){var p=s.stateNode;try{Ul(c,p)}catch(E){dn(s,s.return,E)}}}function ds(s,c,p){p.props=ls(s.type,s.memoizedProps),p.state=s.memoizedState;try{p.componentWillUnmount()}catch(E){dn(s,c,E)}}function yl(s,c){try{var p=s.ref;if(p!==null){switch(s.tag){case 26:case 27:case 5:var E=O(s.stateNode);break;case 30:E=s.stateNode;break;default:E=s.stateNode}typeof p=="function"?s.refCleanup=p(E):p.current=E}}catch(_){dn(s,c,_)}}function Ja(s,c){var p=s.ref,E=s.refCleanup;if(p!==null)if(typeof E=="function")try{E()}catch(_){dn(s,c,_)}finally{s.refCleanup=null,s=s.alternate,s!=null&&(s.refCleanup=null)}else if(typeof p=="function")try{p(null)}catch(_){dn(s,c,_)}else p.current=null}function uc(s){var c=s.type,p=s.memoizedProps,E=s.stateNode;try{Cy(E,c,p,s)}catch(_){dn(s,s.return,_)}}function jt(s,c,p){try{t_(s.stateNode,s.type,p,c,s)}catch(E){dn(s,s.return,E)}}function Go(s){return s.tag===5||s.tag===3||(Sl?s.tag===26:!1)||(da?s.tag===27&&Cc(s.type):!1)||s.tag===4}function Xr(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||Go(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(da&&s.tag===27&&Cc(s.type)||s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function fs(s,c,p){var E=s.tag;if(E===5||E===6)s=s.stateNode,c?Iy(p,s,c):Rg(p,s);else if(E!==4&&(da&&E===27&&Cc(s.type)&&(p=s.stateNode,c=null),s=s.child,s!==null))for(fs(s,c,p),s=s.sibling;s!==null;)fs(s,c,p),s=s.sibling}function vl(s,c,p){var E=s.tag;if(E===5||E===6)s=s.stateNode,c?n_(p,s,c):vy(p,s);else if(E!==4&&(da&&E===27&&Cc(s.type)&&(p=s.stateNode),s=s.child,s!==null))for(vl(s,c,p),s=s.sibling;s!==null;)vl(s,c,p),s=s.sibling}function Zc(s,c,p){s=s.containerInfo;try{kg(s,p)}catch(E){dn(c,c.return,E)}}function Yc(s){var c=s.stateNode,p=s.memoizedProps;try{AA(s.type,p,c,s)}catch(E){dn(s,s.return,E)}}function qc(s,c){for(X(s.containerInfo),ha=c;ha!==null;)if(s=ha,c=s.child,(s.subtreeFlags&1024)!==0&&c!==null)c.return=s,ha=c;else for(;ha!==null;){s=ha;var p=s.alternate;switch(c=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((c&1024)!==0&&p!==null){c=void 0;var E=s,_=p.memoizedProps;p=p.memoizedState;var w=E.stateNode;try{var P=ls(E.type,_,E.elementType===E.type);c=w.getSnapshotBeforeUpdate(P,p),w.__reactInternalSnapshotBeforeUpdate=c}catch(ie){dn(E,E.return,ie)}}break;case 3:(c&1024)!==0&&Bt&&Sy(s.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&1024)!==0)throw Error(o(163))}if(c=s.sibling,c!==null){c.return=s.return,ha=c;break}ha=s.return}}function Uu(s,c,p){var E=p.flags;switch(p.tag){case 0:case 11:case 15:wa(s,p),E&4&&Gs(5,p);break;case 1:if(wa(s,p),E&4)if(s=p.stateNode,c===null)try{s.componentDidMount()}catch(P){dn(p,p.return,P)}else{var _=ls(p.type,c.memoizedProps);c=c.memoizedState;try{s.componentDidUpdate(_,c,s.__reactInternalSnapshotBeforeUpdate)}catch(P){dn(p,p.return,P)}}E&64&&Wl(p),E&512&&yl(p,p.return);break;case 3:if(wa(s,p),E&64&&(s=p.updateQueue,s!==null)){if(c=null,p.child!==null)switch(p.child.tag){case 27:case 5:c=O(p.child.stateNode);break;case 1:c=p.child.stateNode}try{Ul(s,c)}catch(P){dn(p,p.return,P)}}break;case 27:da&&c===null&&E&4&&Yc(p);case 26:case 5:wa(s,p),c===null&&E&4&&uc(p),E&512&&yl(p,p.return);break;case 12:wa(s,p);break;case 13:wa(s,p),E&4&&Va(s,p),E&64&&(s=p.memoizedState,s!==null&&(s=s.dehydrated,s!==null&&(p=uf.bind(null,p),r_(s,p))));break;case 22:if(E=p.memoizedState!==null||Vu,!E){c=c!==null&&c.memoizedState!==null||Ur,_=Vu;var w=Ur;Vu=E,(Ur=c)&&!w?So(s,p,(p.subtreeFlags&8772)!==0):wa(s,p),Vu=_,Ur=w}break;case 30:break;default:wa(s,p)}}function Xl(s){var c=s.alternate;c!==null&&(s.alternate=null,Xl(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&au(c)),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function ei(s,c,p){for(p=p.child;p!==null;)ea(s,c,p),p=p.sibling}function ea(s,c,p){if(Es&&typeof Es.onCommitFiberUnmount=="function")try{Es.onCommitFiberUnmount(hf,p)}catch{}switch(p.tag){case 26:if(Sl){Ur||Ja(p,c),ei(s,c,p),p.memoizedState?Zg(p.memoizedState):p.stateNode&&Oy(p.stateNode);break}case 27:if(da){Ur||Ja(p,c);var E=ia,_=Yo;Cc(p.type)&&(ia=p.stateNode,Yo=!1),ei(s,c,p),dA(p.stateNode),ia=E,Yo=_;break}case 5:Ur||Ja(p,c);case 6:if(Bt){if(E=ia,_=Yo,ia=null,ei(s,c,p),ia=E,Yo=_,ia!==null)if(Yo)try{i_(ia,p.stateNode)}catch(w){dn(p,c,w)}else try{_y(ia,p.stateNode)}catch(w){dn(p,c,w)}}else ei(s,c,p);break;case 18:Bt&&ia!==null&&(Yo?mp(ia,p.stateNode):Gg(ia,p.stateNode));break;case 4:Bt?(E=ia,_=Yo,ia=p.stateNode.containerInfo,Yo=!0,ei(s,c,p),ia=E,Yo=_):(an&&Zc(p.stateNode,p,xy()),ei(s,c,p));break;case 0:case 11:case 14:case 15:Ur||ja(2,p,c),Ur||ja(4,p,c),ei(s,c,p);break;case 1:Ur||(Ja(p,c),E=p.stateNode,typeof E.componentWillUnmount=="function"&&ds(p,c,E)),ei(s,c,p);break;case 21:ei(s,c,p);break;case 22:Ur=(E=Ur)||p.memoizedState!==null,ei(s,c,p),Ur=E;break;default:ei(s,c,p)}}function Va(s,c){if(Qn&&c.memoizedState===null&&(s=c.alternate,s!==null&&(s=s.memoizedState,s!==null&&(s=s.dehydrated,s!==null))))try{Uy(s)}catch(p){dn(c,c.return,p)}}function fo(s){switch(s.tag){case 13:case 19:var c=s.stateNode;return c===null&&(c=s.stateNode=new dm),c;case 22:return s=s.stateNode,c=s._retryCache,c===null&&(c=s._retryCache=new dm),c;default:throw Error(o(435,s.tag))}}function Ps(s,c){var p=fo(s);c.forEach(function(E){var _=ed.bind(null,s,E);p.has(E)||(p.add(E),E.then(_,_))})}function yr(s,c){var p=c.deletions;if(p!==null)for(var E=0;E<p.length;E++){var _=p[E],w=s,P=c;if(Bt){var ie=P;e:for(;ie!==null;){switch(ie.tag){case 27:if(da){if(Cc(ie.type)){ia=ie.stateNode,Yo=!1;break e}break}case 5:ia=ie.stateNode,Yo=!1;break e;case 3:case 4:ia=ie.stateNode.containerInfo,Yo=!0;break e}ie=ie.return}if(ia===null)throw Error(o(160));ea(w,P,_),ia=null,Yo=!1}else ea(w,P,_);w=_.alternate,w!==null&&(w.return=null),_.return=null}if(c.subtreeFlags&13878)for(c=c.child;c!==null;)Po(c,s),c=c.sibling}function Po(s,c){var p=s.alternate,E=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:yr(c,s),hi(s),E&4&&(ja(3,s,s.return),Gs(3,s),ja(5,s,s.return));break;case 1:yr(c,s),hi(s),E&512&&(Ur||p===null||Ja(p,p.return)),E&64&&Vu&&(s=s.updateQueue,s!==null&&(E=s.callbacks,E!==null&&(p=s.shared.hiddenCallbacks,s.shared.hiddenCallbacks=p===null?E:p.concat(E))));break;case 26:if(Sl){var _=jr;if(yr(c,s),hi(s),E&512&&(Ur||p===null||Ja(p,p.return)),E&4){E=p!==null?p.memoizedState:null;var w=s.memoizedState;p===null?w===null?s.stateNode===null?s.stateNode=ky(_,s.type,s.memoizedProps,s):yp(_,s.type,s.stateNode):s.stateNode=Kg(_,w,s.memoizedProps):E!==w?(E===null?p.stateNode!==null&&Oy(p.stateNode):Zg(E),w===null?yp(_,s.type,s.stateNode):Kg(_,w,s.memoizedProps)):w===null&&s.stateNode!==null&&jt(s,s.memoizedProps,p.memoizedProps)}break}case 27:if(da){yr(c,s),hi(s),E&512&&(Ur||p===null||Ja(p,p.return)),p!==null&&E&4&&jt(s,s.memoizedProps,p.memoizedProps);break}case 5:if(yr(c,s),hi(s),E&512&&(Ur||p===null||Ja(p,p.return)),Bt){if(s.flags&32){_=s.stateNode;try{uA(_)}catch(ut){dn(s,s.return,ut)}}E&4&&s.stateNode!=null&&(_=s.memoizedProps,jt(s,_,p!==null?p.memoizedProps:_)),E&1024&&(bp=!0)}break;case 6:if(yr(c,s),hi(s),E&4&&Bt){if(s.stateNode===null)throw Error(o(162));E=s.memoizedProps,p=p!==null?p.memoizedProps:E,_=s.stateNode;try{Ng(_,p,E)}catch(ut){dn(s,s.return,ut)}}break;case 3:if(Sl?(Pn(),_=jr,jr=Ep(c.containerInfo),yr(c,s),jr=_):yr(c,s),hi(s),E&4){if(Bt&&Qn&&p!==null&&p.memoizedState.isDehydrated)try{Hu(c.containerInfo)}catch(ut){dn(s,s.return,ut)}if(an){E=c.containerInfo,p=c.pendingChildren;try{kg(E,p)}catch(ut){dn(s,s.return,ut)}}}bp&&(bp=!1,Cl(s));break;case 4:Sl?(p=jr,jr=Ep(s.stateNode.containerInfo),yr(c,s),hi(s),jr=p):(yr(c,s),hi(s)),E&4&&an&&Zc(s.stateNode,s,s.stateNode.pendingChildren);break;case 12:yr(c,s),hi(s);break;case 13:yr(c,s),hi(s),s.child.flags&8192&&s.memoizedState!==null!=(p!==null&&p.memoizedState!==null)&&(vd=lr()),E&4&&(E=s.updateQueue,E!==null&&(s.updateQueue=null,Ps(s,E)));break;case 22:_=s.memoizedState!==null;var P=p!==null&&p.memoizedState!==null,ie=Vu,Ce=Ur;if(Vu=ie||_,Ur=Ce||P,yr(c,s),Ur=Ce,Vu=ie,hi(s),E&8192&&(c=s.stateNode,c._visibility=_?c._visibility&-2:c._visibility|1,_&&(p===null||P||Vu||Ur||jo(s)),Bt)){e:if(p=null,Bt)for(c=s;;){if(c.tag===5||Sl&&c.tag===26){if(p===null){P=p=c;try{w=P.stateNode,_?gp(w):Tg(P.stateNode,P.memoizedProps)}catch(ut){dn(P,P.return,ut)}}}else if(c.tag===6){if(p===null){P=c;try{var Ke=P.stateNode;_?By(Ke):Dy(Ke,P.memoizedProps)}catch(ut){dn(P,P.return,ut)}}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===s)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break e;for(;c.sibling===null;){if(c.return===null||c.return===s)break e;p===c&&(p=null),c=c.return}p===c&&(p=null),c.sibling.return=c.return,c=c.sibling}}E&4&&(E=s.updateQueue,E!==null&&(p=E.retryQueue,p!==null&&(E.retryQueue=null,Ps(s,p))));break;case 19:yr(c,s),hi(s),E&4&&(E=s.updateQueue,E!==null&&(s.updateQueue=null,Ps(s,E)));break;case 30:break;case 21:break;default:yr(c,s),hi(s)}}function hi(s){var c=s.flags;if(c&2){try{if(Bt){for(var p,E=s.return;E!==null;){if(Go(E)){p=E;break}E=E.return}if(p==null)throw Error(o(160));switch(p.tag){case 27:if(da){var _=p.stateNode,w=Xr(s);vl(s,w,_);break}case 5:var P=p.stateNode;p.flags&32&&(uA(P),p.flags&=-33);var ie=Xr(s);vl(s,ie,P);break;case 3:case 4:var Ce=p.stateNode.containerInfo,Ke=Xr(s);fs(s,Ke,Ce);break;default:throw Error(o(161))}}}catch(ut){dn(s,s.return,ut)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function Cl(s){if(s.subtreeFlags&1024)for(s=s.child;s!==null;){var c=s;Cl(c),c.tag===5&&c.flags&1024&&si(c.stateNode),s=s.sibling}}function wa(s,c){if(c.subtreeFlags&8772)for(c=c.child;c!==null;)Uu(s,c.alternate,c),c=c.sibling}function jo(s){for(s=s.child;s!==null;){var c=s;switch(c.tag){case 0:case 11:case 14:case 15:ja(4,c,c.return),jo(c);break;case 1:Ja(c,c.return);var p=c.stateNode;typeof p.componentWillUnmount=="function"&&ds(c,c.return,p),jo(c);break;case 27:da&&dA(c.stateNode);case 26:case 5:Ja(c,c.return),jo(c);break;case 22:c.memoizedState===null&&jo(c);break;case 30:jo(c);break;default:jo(c)}s=s.sibling}}function So(s,c,p){for(p=p&&(c.subtreeFlags&8772)!==0,c=c.child;c!==null;){var E=c.alternate,_=s,w=c,P=w.flags;switch(w.tag){case 0:case 11:case 15:So(_,w,p),Gs(4,w);break;case 1:if(So(_,w,p),E=w,_=E.stateNode,typeof _.componentDidMount=="function")try{_.componentDidMount()}catch(Ke){dn(E,E.return,Ke)}if(E=w,_=E.updateQueue,_!==null){var ie=E.stateNode;try{var Ce=_.shared.hiddenCallbacks;if(Ce!==null)for(_.shared.hiddenCallbacks=null,_=0;_<Ce.length;_++)Ha(Ce[_],ie)}catch(Ke){dn(E,E.return,Ke)}}p&&P&64&&Wl(w),yl(w,w.return);break;case 27:da&&Yc(w);case 26:case 5:So(_,w,p),p&&E===null&&P&4&&uc(w),yl(w,w.return);break;case 12:So(_,w,p);break;case 13:So(_,w,p),p&&P&4&&Va(_,w);break;case 22:w.memoizedState===null&&So(_,w,p),yl(w,w.return);break;case 30:break;default:So(_,w,p)}c=c.sibling}}function qi(s,c){var p=null;s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),s=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(s=c.memoizedState.cachePool.pool),s!==p&&(s!=null&&s.refCount++,p!=null&&Zi(p))}function Ka(s,c){s=null,c.alternate!==null&&(s=c.alternate.memoizedState.cache),c=c.memoizedState.cache,c!==s&&(c.refCount++,s!=null&&Zi(s))}function Ra(s,c,p,E){if(c.subtreeFlags&10256)for(c=c.child;c!==null;)Il(s,c,p,E),c=c.sibling}function Il(s,c,p,E){var _=c.flags;switch(c.tag){case 0:case 11:case 15:Ra(s,c,p,E),_&2048&&Gs(9,c);break;case 1:Ra(s,c,p,E);break;case 3:Ra(s,c,p,E),_&2048&&(s=null,c.alternate!==null&&(s=c.alternate.memoizedState.cache),c=c.memoizedState.cache,c!==s&&(c.refCount++,s!=null&&Zi(s)));break;case 12:if(_&2048){Ra(s,c,p,E),s=c.stateNode;try{var w=c.memoizedProps,P=w.id,ie=w.onPostCommit;typeof ie=="function"&&ie(P,c.alternate===null?"mount":"update",s.passiveEffectDuration,-0)}catch(Ce){dn(c,c.return,Ce)}}else Ra(s,c,p,E);break;case 13:Ra(s,c,p,E);break;case 23:break;case 22:w=c.stateNode,P=c.alternate,c.memoizedState!==null?w._visibility&2?Ra(s,c,p,E):Fn(s,c):w._visibility&2?Ra(s,c,p,E):(w._visibility|=2,Dn(s,c,p,E,(c.subtreeFlags&10256)!==0)),_&2048&&qi(P,c);break;case 24:Ra(s,c,p,E),_&2048&&Ka(c.alternate,c);break;default:Ra(s,c,p,E)}}function Dn(s,c,p,E,_){for(_=_&&(c.subtreeFlags&10256)!==0,c=c.child;c!==null;){var w=s,P=c,ie=p,Ce=E,Ke=P.flags;switch(P.tag){case 0:case 11:case 15:Dn(w,P,ie,Ce,_),Gs(8,P);break;case 23:break;case 22:var ut=P.stateNode;P.memoizedState!==null?ut._visibility&2?Dn(w,P,ie,Ce,_):Fn(w,P):(ut._visibility|=2,Dn(w,P,ie,Ce,_)),_&&Ke&2048&&qi(P.alternate,P);break;case 24:Dn(w,P,ie,Ce,_),_&&Ke&2048&&Ka(P.alternate,P);break;default:Dn(w,P,ie,Ce,_)}c=c.sibling}}function Fn(s,c){if(c.subtreeFlags&10256)for(c=c.child;c!==null;){var p=s,E=c,_=E.flags;switch(E.tag){case 22:Fn(p,E),_&2048&&qi(E.alternate,E);break;case 24:Fn(p,E),_&2048&&Ka(E.alternate,E);break;default:Fn(p,E)}c=c.sibling}}function po(s){if(s.subtreeFlags&yA)for(s=s.child;s!==null;)cc(s),s=s.sibling}function cc(s){switch(s.tag){case 26:po(s),s.flags&yA&&(s.memoizedState!==null?Wa(jr,s.memoizedState,s.memoizedProps):lA(s.type,s.memoizedProps));break;case 5:po(s),s.flags&yA&&lA(s.type,s.memoizedProps);break;case 3:case 4:if(Sl){var c=jr;jr=Ep(s.stateNode.containerInfo),po(s),jr=c}else po(s);break;case 22:s.memoizedState===null&&(c=s.alternate,c!==null&&c.memoizedState!==null?(c=yA,yA=16777216,po(s),yA=c):po(s));break;default:po(s)}}function Aa(s){var c=s.alternate;if(c!==null&&(s=c.child,s!==null)){c.child=null;do c=s.sibling,s.sibling=null,s=c;while(s!==null)}}function A(s){var c=s.deletions;if((s.flags&16)!==0){if(c!==null)for(var p=0;p<c.length;p++){var E=c[p];ha=E,Q(E,s)}Aa(s)}if(s.subtreeFlags&10256)for(s=s.child;s!==null;)g(s),s=s.sibling}function g(s){switch(s.tag){case 0:case 11:case 15:A(s),s.flags&2048&&ja(9,s,s.return);break;case 3:A(s);break;case 12:A(s);break;case 22:var c=s.stateNode;s.memoizedState!==null&&c._visibility&2&&(s.return===null||s.return.tag!==13)?(c._visibility&=-3,B(s)):A(s);break;default:A(s)}}function B(s){var c=s.deletions;if((s.flags&16)!==0){if(c!==null)for(var p=0;p<c.length;p++){var E=c[p];ha=E,Q(E,s)}Aa(s)}for(s=s.child;s!==null;){switch(c=s,c.tag){case 0:case 11:case 15:ja(8,c,c.return),B(c);break;case 22:p=c.stateNode,p._visibility&2&&(p._visibility&=-3,B(c));break;default:B(c)}s=s.sibling}}function Q(s,c){for(;ha!==null;){var p=ha;switch(p.tag){case 0:case 11:case 15:ja(8,p,c);break;case 23:case 22:if(p.memoizedState!==null&&p.memoizedState.cachePool!==null){var E=p.memoizedState.cachePool.pool;E!=null&&E.refCount++}break;case 24:Zi(p.memoizedState.cache)}if(E=p.child,E!==null)E.return=p,ha=E;else e:for(p=s;ha!==null;){E=ha;var _=E.sibling,w=E.return;if(Xl(E),E===p){ha=null;break e}if(_!==null){_.return=w,ha=_;break e}ha=w}}}function T(s){var c=nn(s);if(c!=null){if(typeof c.memoizedProps["data-testname"]!="string")throw Error(o(364));return c}if(s=ms(s),s===null)throw Error(o(362));return s.stateNode.current}function G(s,c){var p=s.tag;switch(c.$$typeof){case Bf:if(s.type===c.value)return!0;break;case Df:e:{for(c=c.value,s=[s,0],p=0;p<s.length;){var E=s[p++],_=E.tag,w=s[p++],P=c[w];if(_!==5&&_!==26&&_!==27||!su(E)){for(;P!=null&&G(E,P);)w++,P=c[w];if(w===c.length){c=!0;break e}else for(E=E.child;E!==null;)s.push(E,w),E=E.sibling}}c=!1}return c;case Sf:if((p===5||p===26||p===27)&&my(s.stateNode,c.value))return!0;break;case bf:if((p===5||p===6||p===26||p===27)&&(s=wg(s),s!==null&&0<=s.indexOf(c.value)))return!0;break;case xp:if((p===5||p===26||p===27)&&(s=s.memoizedProps["data-testname"],typeof s=="string"&&s.toLowerCase()===c.value.toLowerCase()))return!0;break;default:throw Error(o(365))}return!1}function Z(s){switch(s.$$typeof){case Bf:return"<"+(R(s.value)||"Unknown")+">";case Df:return":has("+(Z(s)||"")+")";case Sf:return'[role="'+s.value+'"]';case bf:return'"'+s.value+'"';case xp:return'[data-testname="'+s.value+'"]';default:throw Error(o(365))}}function W(s,c){var p=[];s=[s,0];for(var E=0;E<s.length;){var _=s[E++],w=_.tag,P=s[E++],ie=c[P];if(w!==5&&w!==26&&w!==27||!su(_)){for(;ie!=null&&G(_,ie);)P++,ie=c[P];if(P===c.length)p.push(_);else for(_=_.child;_!==null;)s.push(_,P),_=_.sibling}}return p}function fe(s,c){if(!$u)throw Error(o(363));s=T(s),s=W(s,c),c=[],s=Array.from(s);for(var p=0;p<s.length;){var E=s[p++],_=E.tag;if(_===5||_===26||_===27)su(E)||c.push(E.stateNode);else for(E=E.child;E!==null;)s.push(E),E=E.sibling}return c}function De(){if((ti&2)!==0&&li!==0)return li&-li;if(l.T!==null){var s=ud;return s!==0?s:Fi()}return zn()}function we(){er===0&&(er=(li&536870912)===0||Di?Me():536870912);var s=qs.current;return s!==null&&(s.flags|=32),er}function We(s,c,p){(s===Xi&&(on===2||on===9)||s.cancelPendingCommit!==null)&&(Gn(s,0),St(s,li,er,!1)),Xe(s,p),((ti&2)===0||s!==Xi)&&(s===Xi&&((ti&2)===0&&(Ro|=p),Cr===4&&St(s,li,er,!1)),ri(s))}function tt(s,c,p){if((ti&6)!==0)throw Error(o(327));var E=!p&&(c&124)===0&&(c&s.expiredLanes)===0||ce(s,c),_=E?nf(s,c):Ou(s,c,!0),w=E;do{if(_===0){vA&&!E&&St(s,c,0,!1);break}else{if(p=s.current.alternate,w&&!_i(p)){_=Ou(s,c,!1),w=!1;continue}if(_===2){if(w=c,s.errorRecoveryDisabledLanes&w)var P=0;else P=s.pendingLanes&-536870913,P=P!==0?P:P&536870912?536870912:0;if(P!==0){c=P;e:{var ie=s;_=xf;var Ce=Qn&&ie.current.memoizedState.isDehydrated;if(Ce&&(Gn(ie,P).flags|=256),P=Ou(ie,P,!1),P!==2){if(Qp&&!Ce){ie.errorRecoveryDisabledLanes|=w,Ro|=w,_=4;break e}w=to,to=_,w!==null&&(to===null?to=w:to.push.apply(to,w))}_=P}if(w=!1,_!==2)continue}}if(_===1){Gn(s,0),St(s,c,0,!0);break}e:{switch(E=s,w=_,w){case 0:case 1:throw Error(o(345));case 4:if((c&4194048)!==c)break;case 6:St(E,c,er,!Dc);break e;case 2:to=null;break;case 3:case 5:break;default:throw Error(o(329))}if((c&62914560)===c&&(_=vd+300-lr(),10<_)){if(St(E,c,er,!Dc),oe(E,0,!0)!==0)break e;E.timeoutHandle=rt(Zt.bind(null,E,p,to,wp,yd,c,er,Ro,Ed,Dc,w,2,-0,0),_);break e}Zt(E,p,to,wp,yd,c,er,Ro,Ed,Dc,w,0,-0,0)}}break}while(!0);ri(s)}function Zt(s,c,p,E,_,w,P,ie,Ce,Ke,ut,bt,Ut,En){if(s.timeoutHandle=Je,bt=c.subtreeFlags,(bt&8192||(bt&16785408)===16785408)&&(ou(),cc(c),bt=Dl(),bt!==null)){s.cancelPendingCommit=bt(rf.bind(null,s,c,w,p,E,_,P,ie,Ce,ut,1,Ut,En)),St(s,w,P,!Ke);return}rf(s,c,w,p,E,_,P,ie,Ce)}function _i(s){for(var c=s;;){var p=c.tag;if((p===0||p===11||p===15)&&c.flags&16384&&(p=c.updateQueue,p!==null&&(p=p.stores,p!==null)))for(var E=0;E<p.length;E++){var _=p[E],w=_.getSnapshot;_=_.value;try{if(!Zo(w(),_))return!1}catch{return!1}}if(p=c.child,c.subtreeFlags&16384&&p!==null)p.return=c,c=p;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function St(s,c,p,E){c&=~cu,c&=~Ro,s.suspendedLanes|=c,s.pingedLanes&=~c,E&&(s.warmLanes|=c),E=s.expirationTimes;for(var _=c;0<_;){var w=31-Xa(_),P=1<<w;E[w]=-1,_&=~P}p!==0&&He(s,p,c)}function xn(){return(ti&6)===0?(In(0,!1),!1):!0}function Hn(){if(Mn!==null){if(on===0)var s=Mn.return;else s=Mn,wo=Zs=null,cl(s),hd=null,_f=0,s=Mn;for(;s!==null;)ql(s.alternate,s),s=s.return;Mn=null}}function Gn(s,c){var p=s.timeoutHandle;p!==Je&&(s.timeoutHandle=Je,Ct(p)),p=s.cancelPendingCommit,p!==null&&(s.cancelPendingCommit=null,p()),Hn(),Xi=s,Mn=p=bo(s.current,null),li=c,on=0,qo=null,Dc=!1,vA=ce(s,c),Qp=!1,Ed=er=cu=Ro=uu=Cr=0,to=xf=null,yd=!1,(c&8)!==0&&(c|=c&32);var E=s.entangledLanes;if(E!==0)for(s=s.entanglements,E&=c;0<E;){var _=31-Xa(E),w=1<<_;c|=s[_],E&=~w}return Wo=c,_o(),p}function ps(s,c){Un=null,l.H=pd,c===yf||c===Bp?(c=Ji(),on=3):c===om?(c=Ji(),on=4):on=c===Py?8:c!==null&&typeof c=="object"&&typeof c.then=="function"?6:1,qo=c,Mn===null&&(Cr=1,fl(s,lt(c,s.current)))}function ku(){var s=qs.current;return s===null?!0:(li&4194048)===li?lu===null:(li&62914560)===li||(li&536870912)!==0?s===lu:!1}function Jo(){var s=l.H;return l.H=pd,s===null?pd:s}function js(){var s=l.A;return l.A=fm,s}function Na(){Cr=4,Dc||(li&4194048)!==li&&qs.current!==null||(vA=!0),(uu&134217727)===0&&(Ro&134217727)===0||Xi===null||St(Xi,li,er,!1)}function Ou(s,c,p){var E=ti;ti|=2;var _=Jo(),w=js();(Xi!==s||li!==c)&&(wp=null,Gn(s,c)),c=!1;var P=Cr;e:do try{if(on!==0&&Mn!==null){var ie=Mn,Ce=qo;switch(on){case 8:Hn(),P=6;break e;case 3:case 2:case 9:case 6:qs.current===null&&(c=!0);var Ke=on;if(on=0,qo=null,eu(s,ie,Ce,Ke),p&&vA){P=0;break e}break;default:Ke=on,on=0,qo=null,eu(s,ie,Ce,Ke)}}YA(),P=Cr;break}catch(ut){ps(s,ut)}while(!0);return c&&s.shellSuspendCounter++,wo=Zs=null,ti=E,l.H=_,l.A=w,Mn===null&&(Xi=null,li=0,_o()),P}function YA(){for(;Mn!==null;)Wc(Mn)}function nf(s,c){var p=ti;ti|=2;var E=Jo(),_=js();Xi!==s||li!==c?(wp=null,Qf=lr()+500,Gn(s,c)):vA=ce(s,c);e:do try{if(on!==0&&Mn!==null){c=Mn;var w=qo;t:switch(on){case 1:on=0,qo=null,eu(s,c,w,1);break;case 2:case 9:if($t(w)){on=0,qo=null,WA(c);break}c=function(){on!==2&&on!==9||Xi!==s||(on=7),ri(s)},w.then(c,c);break e;case 3:on=7;break e;case 4:on=5;break e;case 7:$t(w)?(on=0,qo=null,WA(c)):(on=0,qo=null,eu(s,c,w,7));break;case 5:var P=null;switch(Mn.tag){case 26:P=Mn.memoizedState;case 5:case 27:var ie=Mn,Ce=ie.type,Ke=ie.pendingProps;if(P?xo(P):Ec(Ce,Ke)){on=0,qo=null;var ut=ie.sibling;if(ut!==null)Mn=ut;else{var bt=ie.return;bt!==null?(Mn=bt,tu(bt)):Mn=null}break t}}on=0,qo=null,eu(s,c,w,5);break;case 6:on=0,qo=null,eu(s,c,w,6);break;case 8:Hn(),Cr=6;break e;default:throw Error(o(462))}}qA();break}catch(Ut){ps(s,Ut)}while(!0);return wo=Zs=null,l.H=E,l.A=_,ti=p,Mn!==null?0:(Xi=null,li=0,_o(),Cr)}function qA(){for(;Mn!==null&&!Fy();)Wc(Mn)}function Wc(s){var c=Zl(s.alternate,s,Wo);s.memoizedProps=s.pendingProps,c===null?tu(s):Mn=c}function WA(s){var c=s,p=c.alternate;switch(c.tag){case 15:case 0:c=Jl(p,c,c.pendingProps,c.type,void 0,li);break;case 11:c=Jl(p,c,c.pendingProps,c.type.render,c.ref,li);break;case 5:cl(c);default:ql(p,c),c=Mn=Li(c,Wo),c=Zl(p,c,Wo)}s.memoizedProps=s.pendingProps,c===null?tu(s):Mn=c}function eu(s,c,p,E){wo=Zs=null,cl(c),hd=null,_f=0;var _=c.return;try{if(jl(s,_,c,p,li)){Cr=1,fl(s,lt(p,s.current)),Mn=null;return}}catch(w){if(_!==null)throw Mn=_,w;Cr=1,fl(s,lt(p,s.current)),Mn=null;return}c.flags&32768?(Di||E===1?s=!0:vA||(li&536870912)!==0?s=!1:(Dc=s=!0,(E===2||E===9||E===3||E===6)&&(E=qs.current,E!==null&&E.tag===13&&(E.flags|=16384))),XA(c,s)):tu(c)}function tu(s){var c=s;do{if((c.flags&32768)!==0){XA(c,Dc);return}s=c.return;var p=Hs(c.alternate,c,Wo);if(p!==null){Mn=p;return}if(c=c.sibling,c!==null){Mn=c;return}Mn=c=s}while(c!==null);Cr===0&&(Cr=5)}function XA(s,c){do{var p=Qa(s.alternate,s);if(p!==null){p.flags&=32767,Mn=p;return}if(p=s.return,p!==null&&(p.flags|=32768,p.subtreeFlags=0,p.deletions=null),!c&&(s=s.sibling,s!==null)){Mn=s;return}Mn=s=p}while(s!==null);Cr=6,Mn=null}function rf(s,c,p,E,_,w,P,ie,Ce){s.cancelPendingCommit=null;do Fu();while(Vi!==0);if((ti&6)!==0)throw Error(o(327));if(c!==null){if(c===s.current)throw Error(o(177));if(w=c.lanes|c.childLanes,w|=sm,k(s,p,w,P,ie,Ce),s===Xi&&(Mn=Xi=null,li=0),CA=c,Au=s,du=p,Rp=w,pm=_,jy=E,(c.subtreeFlags&10256)!==0||(c.flags&10256)!==0?(s.callbackNode=null,s.callbackPriority=0,tA(em,function(){return dc(!0),null})):(s.callbackNode=null,s.callbackPriority=0),E=(c.flags&13878)!==0,(c.subtreeFlags&13878)!==0||E){E=l.T,l.T=null,_=fn(),Kt(2),P=ti,ti|=4;try{qc(s,c,p)}finally{ti=P,Kt(_),l.T=E}}Vi=1,af(),Ac(),of()}}function af(){if(Vi===1){Vi=0;var s=Au,c=CA,p=(c.flags&13878)!==0;if((c.subtreeFlags&13878)!==0||p){p=l.T,l.T=null;var E=fn();Kt(2);var _=ti;ti|=4;try{Po(c,s),q(s.containerInfo)}finally{ti=_,Kt(E),l.T=p}}s.current=c,Vi=2}}function Ac(){if(Vi===2){Vi=0;var s=Au,c=CA,p=(c.flags&8772)!==0;if((c.subtreeFlags&8772)!==0||p){p=l.T,l.T=null;var E=fn();Kt(2);var _=ti;ti|=4;try{Uu(s,c.alternate,c)}finally{ti=_,Kt(E),l.T=p}}Vi=3}}function of(){if(Vi===4||Vi===3){Vi=0,A_();var s=Au,c=CA,p=du,E=jy;(c.subtreeFlags&10256)!==0||(c.flags&10256)!==0?Vi=5:(Vi=0,CA=Au=null,Js(s,s.pendingLanes));var _=s.pendingLanes;if(_===0&&(Sc=null),ln(p),c=c.stateNode,Es&&typeof Es.onCommitFiberRoot=="function")try{Es.onCommitFiberRoot(hf,c,void 0,(c.current.flags&128)===128)}catch{}if(E!==null){c=l.T,_=fn(),Kt(2),l.T=null;try{for(var w=s.onRecoverableError,P=0;P<E.length;P++){var ie=E[P];w(ie.value,{componentStack:ie.stack})}}finally{l.T=c,Kt(_)}}(du&3)!==0&&Fu(),ri(s),_=s.pendingLanes,(p&4194090)!==0&&(_&42)!==0?s===ka?fu++:(fu=0,ka=s):fu=0,In(0,!1)}}function Js(s,c){(s.pooledCacheLanes&=c)===0&&(c=s.pooledCache,c!=null&&(s.pooledCache=null,Zi(c)))}function Fu(s){return af(),Ac(),of(),dc(s)}function dc(){if(Vi!==5)return!1;var s=Au,c=Rp;Rp=0;var p=ln(du),E=32>p?32:p;p=l.T;var _=fn();try{Kt(E),l.T=null,E=pm,pm=null;var w=Au,P=du;if(Vi=0,CA=Au=null,du=0,(ti&6)!==0)throw Error(o(331));var ie=ti;if(ti|=4,g(w.current),Il(w,w.current,P,E),ti=ie,In(0,!1),Es&&typeof Es.onPostCommitFiberRoot=="function")try{Es.onPostCommitFiberRoot(hf,w)}catch{}return!0}finally{Kt(_),l.T=p,Js(s,c)}}function Xc(s,c,p){c=lt(p,c),c=Rr(s.stateNode,c,2),s=Kr(s,c,2),s!==null&&(Xe(s,2),ri(s))}function dn(s,c,p){if(s.tag===3)Xc(s,s,p);else for(;c!==null;){if(c.tag===3){Xc(c,s,p);break}else if(c.tag===1){var E=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof E.componentDidCatch=="function"&&(Sc===null||!Sc.has(E))){s=lt(p,s),p=$n(2),E=Kr(c,p,2),E!==null&&(Pl(p,E,c,s),Xe(E,2),ri(E));break}}c=c.return}}function eA(s,c,p){var E=s.pingCache;if(E===null){E=s.pingCache=new v_;var _=new Set;E.set(c,_)}else _=E.get(c),_===void 0&&(_=new Set,E.set(c,_));_.has(p)||(Qp=!0,_.add(p),s=sf.bind(null,s,c,p),c.then(s,s))}function sf(s,c,p){var E=s.pingCache;E!==null&&E.delete(c),s.pingedLanes|=s.suspendedLanes&p,s.warmLanes&=~p,Xi===s&&(li&p)===p&&(Cr===4||Cr===3&&(li&62914560)===li&&300>lr()-vd?(ti&2)===0&&Gn(s,0):cu|=p,Ed===li&&(Ed=0)),ri(s)}function lf(s,c){c===0&&(c=Ie()),s=xr(s,c),s!==null&&(Xe(s,c),ri(s))}function uf(s){var c=s.memoizedState,p=0;c!==null&&(p=c.retryLane),lf(s,p)}function ed(s,c){var p=0;switch(s.tag){case 13:var E=s.stateNode,_=s.memoizedState;_!==null&&(p=_.retryLane);break;case 19:E=s.stateNode;break;case 22:E=s.stateNode._retryCache;break;default:throw Error(o(314))}E!==null&&E.delete(c),lf(s,p)}function tA(s,c){return ad(s,c)}function fc(s,c,p,E){this.tag=s,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=E,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nu(s){return s=s.prototype,!(!s||!s.isReactComponent)}function bo(s,c){var p=s.alternate;return p===null?(p=t(s.tag,c,s.key,s.mode),p.elementType=s.elementType,p.type=s.type,p.stateNode=s.stateNode,p.alternate=s,s.alternate=p):(p.pendingProps=c,p.type=s.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=s.flags&65011712,p.childLanes=s.childLanes,p.lanes=s.lanes,p.child=s.child,p.memoizedProps=s.memoizedProps,p.memoizedState=s.memoizedState,p.updateQueue=s.updateQueue,c=s.dependencies,p.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},p.sibling=s.sibling,p.index=s.index,p.ref=s.ref,p.refCleanup=s.refCleanup,p}function Li(s,c){s.flags&=65011714;var p=s.alternate;return p===null?(s.childLanes=0,s.lanes=c,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=p.childLanes,s.lanes=p.lanes,s.child=p.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=p.memoizedProps,s.memoizedState=p.memoizedState,s.updateQueue=p.updateQueue,s.type=p.type,c=p.dependencies,s.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext}),s}function nA(s,c,p,E,_,w){var P=0;if(E=s,typeof s=="function")nu(s)&&(P=1);else if(typeof s=="string")P=Sl&&da?Jg(s,p,eo.current)?26:pf(s)?27:5:Sl?Jg(s,p,eo.current)?26:5:da&&pf(s)?27:5;else e:switch(s){case sA:return s=t(31,p,c,_),s.elementType=sA,s.lanes=w,s;case Mu:return iu(p.children,_,w,c);case id:P=8,_|=24;break;case hc:return s=t(12,p,c,_|2),s.elementType=hc,s.lanes=w,s;case $i:return s=t(13,p,c,_),s.elementType=$i,s.lanes=w,s;case gc:return s=t(19,p,c,_),s.elementType=gc,s.lanes=w,s;default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case fp:case Vs:P=10;break e;case oA:P=9;break e;case ru:P=11;break e;case Lu:P=14;break e;case go:P=16,E=null;break e}P=29,p=Error(o(130,s===null?"null":typeof s,"")),E=null}return c=t(P,p,c,_),c.elementType=s,c.type=E,c.lanes=w,c}function iu(s,c,p,E){return s=t(7,s,E,c),s.lanes=p,s}function iA(s,c,p){return s=t(6,s,null,c),s.lanes=p,s}function Za(s,c,p){return c=t(4,s.children!==null?s.children:[],s.key,c),c.lanes=p,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function td(s,c,p,E,_,w,P,ie){this.tag=1,this.containerInfo=s,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Je,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=it(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=it(0),this.hiddenUpdates=it(null),this.identifierPrefix=E,this.onUncaughtError=_,this.onCaughtError=w,this.onRecoverableError=P,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=ie,this.incompleteTransitions=new Map}function _l(s,c,p,E,_,w,P,ie,Ce,Ke,ut,bt){return s=new td(s,c,p,P,ie,Ce,Ke,bt),c=1,w===!0&&(c|=24),w=t(3,null,null,c),s.current=w,w.stateNode=s,c=Ca(),c.refCount++,s.pooledCache=c,c.refCount++,w.memoizedState={element:E,isDehydrated:p,cache:c},qn(w),s}function hs(s){return s?(s=Ko,s):Ko}function Bl(s){var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(o(188)):(s=Object.keys(s).join(","),Error(o(268,s)));return s=f(c),s=s!==null?y(s):null,s===null?null:O(s.stateNode)}function cf(s,c,p,E,_,w){_=hs(_),E.context===null?E.context=_:E.pendingContext=_,E=ft(c),E.payload={element:p},w=w===void 0?null:w,w!==null&&(E.callback=w),p=Kr(s,E,c),p!==null&&(We(p,s,c),ht(p,s,c))}function rA(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var p=s.retryLane;s.retryLane=p!==0&&p<c?p:c}}function aA(s,c){rA(s,c),(s=s.alternate)&&rA(s,c)}var Tn={},Qg=yi(),Ya=iD(),nd=Object.assign,pc=Symbol.for("react.element"),ho=Symbol.for("react.transitional.element"),zu=Symbol.for("react.portal"),Mu=Symbol.for("react.fragment"),id=Symbol.for("react.strict_mode"),hc=Symbol.for("react.profiler"),fp=Symbol.for("react.provider"),oA=Symbol.for("react.consumer"),Vs=Symbol.for("react.context"),ru=Symbol.for("react.forward_ref"),$i=Symbol.for("react.suspense"),gc=Symbol.for("react.suspense_list"),Lu=Symbol.for("react.memo"),go=Symbol.for("react.lazy"),sA=Symbol.for("react.activity"),Af=Symbol.for("react.memo_cache_sentinel"),Vo=Symbol.iterator,vr=Symbol.for("react.client.reference"),b=Array.isArray,l=Qg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,m=e.rendererVersion,S=e.rendererPackageName,U=e.extraDevToolsConfig,O=e.getPublicInstance,M=e.getRootHostContext,ee=e.getChildHostContext,X=e.prepareForCommit,q=e.resetAfterCommit,Ae=e.createInstance;e.cloneMutableInstance;var ve=e.appendInitialChild,Se=e.finalizeInitialChildren,Oe=e.shouldSetTextContent,ze=e.createTextInstance;e.cloneMutableTextInstance;var rt=e.scheduleTimeout,Ct=e.cancelTimeout,Je=e.noTimeout,yt=e.isPrimaryRenderer;e.warnsIfNotActing;var Bt=e.supportsMutation,an=e.supportsPersistence,Qn=e.supportsHydration,nn=e.getInstanceFromNode;e.beforeActiveInstanceBlur;var Yt=e.preparePortalMount;e.prepareScopeUpdate,e.getInstanceFromScope;var Kt=e.setCurrentUpdatePriority,fn=e.getCurrentUpdatePriority,zn=e.resolveUpdatePriority;e.trackSchedulerEvent,e.resolveEventType,e.resolveEventTimeStamp;var Ni=e.shouldAttemptEagerTransition,au=e.detachDeletedInstance;e.requestPostPaintCallback;var mc=e.maySuspendCommit,Ec=e.preloadInstance,ou=e.startSuspendingCommit,lA=e.suspendInstance;e.suspendOnActiveViewTransition;var Dl=e.waitForCommitToBeReady,Wi=e.NotPendingTransition,qa=e.HostTransitionContext,si=e.resetFormInstance;e.bindToConsole;var gs=e.supportsMicrotasks,pp=e.scheduleMicrotask,$u=e.supportsTestSelectors,ms=e.findFiberRoot,hp=e.getBoundingRect,wg=e.getTextContent,su=e.isHiddenSubtree,my=e.matchAccessibilityRole,Ey=e.setFocusIfFocusable,yy=e.setupIntersectionObserver,vy=e.appendChild,Rg=e.appendChildToContainer,Ng=e.commitTextUpdate,Cy=e.commitMount,t_=e.commitUpdate,n_=e.insertBefore,Iy=e.insertInContainerBefore,_y=e.removeChild,i_=e.removeChildFromContainer,uA=e.resetTextContent,gp=e.hideInstance,By=e.hideTextInstance,Tg=e.unhideInstance,Dy=e.unhideTextInstance;e.cancelViewTransitionName,e.cancelRootViewTransitionName,e.restoreRootViewTransitionName,e.cloneRootViewTransitionContainer,e.removeRootViewTransitionClone,e.measureClonedInstance,e.hasInstanceChanged,e.hasInstanceAffectedParent,e.startViewTransition,e.startGestureTransition,e.stopGestureTransition,e.getCurrentGestureOffset,e.subscribeToGestureDirection,e.createViewTransitionInstance;var Sy=e.clearContainer;e.createFragmentInstance,e.updateFragmentInstanceFiber,e.commitNewChildToFragmentInstance,e.deleteChildFromFragmentInstance;var by=e.cloneInstance,xy=e.createContainerChildSet,Ug=e.appendChildToContainerChildSet,rd=e.finalizeContainerChildren,kg=e.replaceContainerChildren,Og=e.cloneHiddenInstance,Bi=e.cloneHiddenTextInstance,df=e.isSuspenseInstancePending,Fg=e.isSuspenseInstanceFallback,Qy=e.getSuspenseInstanceFallbackErrorDetails,r_=e.registerSuspenseInstanceRetry,a_=e.canHydrateFormStateMarker,zg=e.isFormStateMarkerMatching,Mg=e.getNextHydratableSibling,wy=e.getNextHydratableSiblingAfterSingleton,Ry=e.getFirstHydratableChild,ff=e.getFirstHydratableChildWithinContainer,o_=e.getFirstHydratableChildWithinSuspenseInstance,s_=e.getFirstHydratableChildWithinSingleton,cA=e.canHydrateInstance,Lg=e.canHydrateTextInstance,Ny=e.canHydrateSuspenseInstance,Ty=e.hydrateInstance,$g=e.hydrateTextInstance,l_=e.hydrateSuspenseInstance,Hg=e.getNextHydratableInstanceAfterSuspenseInstance,Hu=e.commitHydratedContainer,Uy=e.commitHydratedSuspenseInstance,Gg=e.clearSuspenseBoundary,mp=e.clearSuspenseBoundaryFromContainer,yc=e.shouldDeleteUnhydratedTailInstances;e.diffHydratedPropsForDevWarnings,e.diffHydratedTextForDevWarnings,e.describeHydratableInstanceForDevWarnings;var Pg=e.validateHydratableInstance,jg=e.validateHydratableTextInstance,Sl=e.supportsResources,Jg=e.isHostHoistableType,Ep=e.getHoistableRoot,Vg=e.getResource,Kg=e.acquireResource,Zg=e.releaseResource,ky=e.hydrateHoistable,yp=e.mountHoistable,Oy=e.unmountHoistable,u_=e.createHoistableInstance,Pn=e.prepareToCommitHoistables,c_=e.mayResourceSuspendCommit,xo=e.preloadResource,Wa=e.suspendResource,da=e.supportsSingletons,vc=e.resolveSingletonInstance,AA=e.acquireSingletonInstance,dA=e.releaseSingletonInstance,pf=e.isHostSingletonType,Cc=e.isSingletonScope,Yg=[],Ic=-1,Ko={},Xa=Math.clz32?Math.clz32:te,qg=Math.log,Wg=Math.LN2,fA=256,mo=4194304,ad=Ya.unstable_scheduleCallback,Xg=Ya.unstable_cancelCallback,Fy=Ya.unstable_shouldYield,A_=Ya.unstable_requestPaint,lr=Ya.unstable_now,be=Ya.unstable_ImmediatePriority,d_=Ya.unstable_UserBlockingPriority,em=Ya.unstable_NormalPriority,zy=Ya.unstable_IdlePriority,od=Ya.log,f_=Ya.unstable_setDisableYieldValue,hf=null,Es=null,tm,My,gf=!1,nm=new WeakMap,Gu=[],pA=0,vp=null,Cp=0,Ta=[],ta=0,Nr=null,Eo=1,na="",eo=z(null),mf=z(null),ur=z(null),Ks=z(null),Qo=null,fa=null,Di=!1,hA=null,bl=!1,im=Error(o(519)),Zo=typeof Object.is=="function"?Object.is:Vn,Ip=z(null),Zs=null,wo=null,p_=typeof AbortController<"u"?AbortController:function(){var s=[],c=this.signal={aborted:!1,addEventListener:function(p,E){s.push(E)}};this.abort=function(){c.aborted=!0,s.forEach(function(p){return p()})}},h_=Ya.unstable_scheduleCallback,g_=Ya.unstable_NormalPriority,Tr={$$typeof:Vs,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0},Pu=null,sd=null,rm=!1,_p=!1,gA=!1,ld=0,Ef=null,am=0,ud=0,cd=null,Ly=l.S;l.S=function(s,c){typeof c=="object"&&c!==null&&typeof c.then=="function"&&Hr(s,c),Ly!==null&&Ly(s,c)};var mA=z(null),m_=Object.prototype.hasOwnProperty,yf=Error(o(460)),om=Error(o(474)),Bp=Error(o(542)),Dp={then:function(){}},EA=null,Ys=[],Ad=0,sm=0,_c=!1,lm=!1,dd=z(null),vf=z(0),ju=0,Un=null,Ti=null,Pr=null,Cf=!1,Bc=!1,Ju=!1,Sp=0,If=0,fd=null,E_=0,pd={readContext:Ii,use:Wn,useCallback:fi,useContext:fi,useEffect:fi,useImperativeHandle:fi,useLayoutEffect:fi,useInsertionEffect:fi,useMemo:fi,useReducer:fi,useRef:fi,useState:fi,useDebugValue:fi,useDeferredValue:fi,useTransition:fi,useSyncExternalStore:fi,useId:fi,useHostTransitionStatus:fi,useFormState:fi,useActionState:fi,useOptimistic:fi,useMemoCache:fi,useCacheRefresh:fi},$y={readContext:Ii,use:Wn,useCallback:function(s,c){return hr().memoizedState=[s,c===void 0?null:c],s},useContext:Ii,useEffect:ws,useImperativeHandle:function(s,c,p){p=p!=null?p.concat([s]):null,as(4194308,4,Ml.bind(null,c,s),p)},useLayoutEffect:function(s,c){return as(4194308,4,s,c)},useInsertionEffect:function(s,c){as(4,2,s,c)},useMemo:function(s,c){var p=hr();c=c===void 0?null:c;var E=s();if(Ju){Ht(!0);try{s()}finally{Ht(!1)}}return p.memoizedState=[E,c],E},useReducer:function(s,c,p){var E=hr();if(p!==void 0){var _=p(c);if(Ju){Ht(!0);try{p(c)}finally{Ht(!1)}}}else _=c;return E.memoizedState=E.baseState=_,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:_},E.queue=s,s=s.dispatch=Us.bind(null,Un,s),[E.memoizedState,s]},useRef:function(s){var c=hr();return s={current:s},c.memoizedState=s},useState:function(s){s=$e(s);var c=s.queue,p=ks.bind(null,Un,c);return c.dispatch=p,[s.memoizedState,p]},useDebugValue:Al,useDeferredValue:function(s,c){var p=hr();return Qu(p,s,c)},useTransition:function(){var s=$e(!1);return s=Ll.bind(null,Un,s.queue,!0,!1),hr().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,c,p){var E=Un,_=hr();if(Di){if(p===void 0)throw Error(o(407));p=p()}else{if(p=c(),Xi===null)throw Error(o(349));(li&124)!==0||ne(E,c,p)}_.memoizedState=p;var w={value:p,getSnapshot:c};return _.queue=w,ws(me.bind(null,E,w,s),[s]),E.flags|=2048,Yi(9,Mi(),ae.bind(null,E,w,p,c),null),p},useId:function(){var s=hr(),c=Xi.identifierPrefix;if(Di){var p=na,E=Eo;p=(E&~(1<<32-Xa(E)-1)).toString(32)+p,c="\xAB"+c+"R"+p,p=Sp++,0<p&&(c+="H"+p.toString(32)),c+="\xBB"}else p=E_++,c="\xAB"+c+"r"+p.toString(32)+"\xBB";return s.memoizedState=c},useHostTransitionStatus:Ns,useFormState:Gr,useActionState:Gr,useOptimistic:function(s){var c=hr();c.memoizedState=c.baseState=s;var p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return c.queue=p,c=Qe.bind(null,Un,!0,p),p.dispatch=c,[s,c]},useMemoCache:Yr,useCacheRefresh:function(){return hr().memoizedState=os.bind(null,Un)}},Hy={readContext:Ii,use:Wn,useCallback:dl,useContext:Ii,useEffect:Fl,useImperativeHandle:ac,useInsertionEffect:Lo,useLayoutEffect:zl,useMemo:Rs,useReducer:lo,useRef:Ol,useState:function(){return lo(gr)},useDebugValue:Al,useDeferredValue:function(s,c){var p=ai();return wr(p,Ti.memoizedState,s,c)},useTransition:function(){var s=lo(gr)[0],c=ai().memoizedState;return[typeof s=="boolean"?s:Zr(s),c]},useSyncExternalStore:H,useId:Ts,useHostTransitionStatus:Ns,useFormState:Da,useActionState:Da,useOptimistic:function(s,c){var p=ai();return Ye(p,Ti,s,c)},useMemoCache:Yr,useCacheRefresh:$o},y_={readContext:Ii,use:Wn,useCallback:dl,useContext:Ii,useEffect:Fl,useImperativeHandle:ac,useInsertionEffect:Lo,useLayoutEffect:zl,useMemo:Rs,useReducer:L,useRef:Ol,useState:function(){return L(gr)},useDebugValue:Al,useDeferredValue:function(s,c){var p=ai();return Ti===null?Qu(p,s,c):wr(p,Ti.memoizedState,s,c)},useTransition:function(){var s=L(gr)[0],c=ai().memoizedState;return[typeof s=="boolean"?s:Zr(s),c]},useSyncExternalStore:H,useId:Ts,useHostTransitionStatus:Ns,useFormState:xu,useActionState:xu,useOptimistic:function(s,c){var p=ai();return Ti!==null?Ye(p,Ti,s,c):(p.baseState=s,[s,p.queue.dispatch])},useMemoCache:Yr,useCacheRefresh:$o},hd=null,_f=0,gd=qe(!0),Gy=qe(!1),qs=z(null),lu=null,pa=z(0),um={enqueueSetState:function(s,c,p){s=s._reactInternals;var E=De(),_=ft(E);_.payload=c,p!=null&&(_.callback=p),c=Kr(s,_,E),c!==null&&(We(c,s,E),ht(c,s,E))},enqueueReplaceState:function(s,c,p){s=s._reactInternals;var E=De(),_=ft(E);_.tag=1,_.payload=c,p!=null&&(_.callback=p),c=Kr(s,_,E),c!==null&&(We(c,s,E),ht(c,s,E))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var p=De(),E=ft(p);E.tag=2,c!=null&&(E.callback=c),c=Kr(s,E,p),c!==null&&(We(c,s,p),ht(c,s,p))}},cm=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},Py=Error(o(461)),Ua=!1,Am={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Vu=!1,Ur=!1,bp=!1,dm=typeof WeakSet=="function"?WeakSet:Set,ha=null,ia=null,Yo=!1,jr=null,yA=8192,fm={getCacheForType:function(s){var c=Ii(Tr),p=c.data.get(s);return p===void 0&&(p=s(),c.data.set(s,p)),p}},Bf=0,Df=1,Sf=2,xp=3,bf=4;if(typeof Symbol=="function"&&Symbol.for){var md=Symbol.for;Bf=md("selector.component"),Df=md("selector.has_pseudo_class"),Sf=md("selector.role"),xp=md("selector.test_id"),bf=md("selector.text")}var v_=typeof WeakMap=="function"?WeakMap:Map,ti=0,Xi=null,Mn=null,li=0,on=0,qo=null,Dc=!1,vA=!1,Qp=!1,Wo=0,Cr=0,uu=0,Ro=0,cu=0,er=0,Ed=0,xf=null,to=null,yd=!1,vd=0,Qf=1/0,wp=null,Sc=null,Vi=0,Au=null,CA=null,du=0,Rp=0,pm=null,jy=null,fu=0,ka=null;return Tn.attemptContinuousHydration=function(s){if(s.tag===13){var c=xr(s,67108864);c!==null&&We(c,s,67108864),aA(s,67108864)}},Tn.attemptHydrationAtCurrentPriority=function(s){if(s.tag===13){var c=De();c=Gt(c);var p=xr(s,c);p!==null&&We(p,s,c),aA(s,c)}},Tn.attemptSynchronousHydration=function(s){switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var c=re(s.pendingLanes);if(c!==0){for(s.pendingLanes|=2,s.entangledLanes|=2;c;){var p=1<<31-Xa(c);s.entanglements[1]|=p,c&=~p}ri(s),(ti&6)===0&&(Qf=lr()+500,In(0,!1))}}break;case 13:c=xr(s,2),c!==null&&We(c,s,2),xn(),aA(s,2)}},Tn.batchedUpdates=function(s,c){return s(c)},Tn.createComponentSelector=function(s){return{$$typeof:Bf,value:s}},Tn.createContainer=function(s,c,p,E,_,w,P,ie,Ce,Ke){return _l(s,c,!1,null,p,E,w,P,ie,Ce,Ke,null)},Tn.createHasPseudoClassSelector=function(s){return{$$typeof:Df,value:s}},Tn.createHydrationContainer=function(s,c,p,E,_,w,P,ie,Ce,Ke,ut,bt,Ut){return s=_l(p,E,!0,s,_,w,ie,Ce,Ke,ut,bt,Ut),s.context=hs(null),p=s.current,E=De(),E=Gt(E),_=ft(E),_.callback=c??null,Kr(p,_,E),c=E,s.current.lanes=c,Xe(s,c),ri(s),s},Tn.createPortal=function(s,c,p){var E=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:zu,key:E==null?null:""+E,children:s,containerInfo:c,implementation:p}},Tn.createRoleSelector=function(s){return{$$typeof:Sf,value:s}},Tn.createTestNameSelector=function(s){return{$$typeof:xp,value:s}},Tn.createTextSelector=function(s){return{$$typeof:bf,value:s}},Tn.defaultOnCaughtError=function(s){console.error(s)},Tn.defaultOnRecoverableError=function(s){cm(s)},Tn.defaultOnUncaughtError=function(s){cm(s)},Tn.deferredUpdates=function(s){var c=l.T,p=fn();try{return Kt(32),l.T=null,s()}finally{Kt(p),l.T=c}},Tn.discreteUpdates=function(s,c,p,E,_){var w=l.T,P=fn();try{return Kt(2),l.T=null,s(c,p,E,_)}finally{Kt(P),l.T=w,ti===0&&(Qf=lr()+500)}},Tn.findAllNodes=fe,Tn.findBoundingRects=function(s,c){if(!$u)throw Error(o(363));c=fe(s,c),s=[];for(var p=0;p<c.length;p++)s.push(hp(c[p]));for(c=s.length-1;0<c;c--){p=s[c];for(var E=p.x,_=E+p.width,w=p.y,P=w+p.height,ie=c-1;0<=ie;ie--)if(c!==ie){var Ce=s[ie],Ke=Ce.x,ut=Ke+Ce.width,bt=Ce.y,Ut=bt+Ce.height;if(E>=Ke&&w>=bt&&_<=ut&&P<=Ut){s.splice(c,1);break}else if(E!==Ke||p.width!==Ce.width||Ut<w||bt>P){if(!(w!==bt||p.height!==Ce.height||ut<E||Ke>_)){Ke>E&&(Ce.width+=Ke-E,Ce.x=E),ut<_&&(Ce.width=_-Ke),s.splice(c,1);break}}else{bt>w&&(Ce.height+=bt-w,Ce.y=w),Ut<P&&(Ce.height=P-bt),s.splice(c,1);break}}}return s},Tn.findHostInstance=Bl,Tn.findHostInstanceWithNoPortals=function(s){return s=f(s),s=s!==null?I(s):null,s===null?null:O(s.stateNode)},Tn.findHostInstanceWithWarning=function(s){return Bl(s)},Tn.flushPassiveEffects=Fu,Tn.flushSyncFromReconciler=function(s){var c=ti;ti|=1;var p=l.T,E=fn();try{if(Kt(2),l.T=null,s)return s()}finally{Kt(E),l.T=p,ti=c,(ti&6)===0&&In(0,!1)}},Tn.flushSyncWork=xn,Tn.focusWithin=function(s,c){if(!$u)throw Error(o(363));for(s=T(s),c=W(s,c),c=Array.from(c),s=0;s<c.length;){var p=c[s++],E=p.tag;if(!su(p)){if((E===5||E===26||E===27)&&Ey(p.stateNode))return!0;for(p=p.child;p!==null;)c.push(p),p=p.sibling}}return!1},Tn.getFindAllNodesFailureDescription=function(s,c){if(!$u)throw Error(o(363));var p=0,E=[];s=[T(s),0];for(var _=0;_<s.length;){var w=s[_++],P=w.tag,ie=s[_++],Ce=c[ie];if((P!==5&&P!==26&&P!==27||!su(w))&&(G(w,Ce)&&(E.push(Z(Ce)),ie++,ie>p&&(p=ie)),ie<c.length))for(w=w.child;w!==null;)s.push(w,ie),w=w.sibling}if(p<c.length){for(s=[];p<c.length;p++)s.push(Z(c[p]));return`findAllNodes was able to match part of the selector:
36
- `+(E.join(" > ")+`
37
-
38
- No matching component was found for:
39
- `)+s.join(" > ")}return null},Tn.getPublicRootInstance=function(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 27:case 5:return O(s.child.stateNode);default:return s.child.stateNode}},Tn.injectIntoDevTools=function(){var s={bundleType:0,version:m,rendererPackageName:S,currentDispatcherRef:l,reconcilerVersion:"19.1.0"};if(U!==null&&(s.rendererConfig=U),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")s=!1;else{var c=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(c.isDisabled||!c.supportsFiber)s=!0;else{try{hf=c.inject(s),Es=c}catch{}s=!!c.checkDCE}}return s},Tn.isAlreadyRendering=function(){return(ti&6)!==0},Tn.observeVisibleRects=function(s,c,p,E){if(!$u)throw Error(o(363));s=fe(s,c);var _=yy(s,p,E).disconnect;return{disconnect:function(){_()}}},Tn.shouldError=function(){return null},Tn.shouldSuspend=function(){return!1},Tn.startHostTransition=function(s,c,p,E){if(s.tag!==5)throw Error(o(476));var _=$l(s).queue;Ll(s,_,c,Wi,p===null?r:function(){var w=$l(s).next.queue;return ba(s,w,{},De()),p(E)})},Tn.updateContainer=function(s,c,p,E){var _=c.current,w=De();return cf(_,w,s,c,p,E),w},Tn.updateContainerSync=function(s,c,p,E){return cf(c.current,2,s,c,p,E),2},Tn};Wm.exports.default=Wm.exports;Object.defineProperty(Wm.exports,"__esModule",{value:!0})});var AU=On((dq,Xm)=>{"use strict";x();process.env.NODE_ENV!=="production"&&(Xm.exports=function(e){function t(n,a){for(n=n.memoizedState;n!==null&&0<a;)n=n.next,a--;return n}function r(n,a,d,h){if(d>=a.length)return h;var v=a[d],C=lr(n)?n.slice():Wa({},n);return C[v]=r(n[v],a,d+1,h),C}function o(n,a,d){if(a.length!==d.length)console.warn("copyWithRename() expects paths of the same length");else{for(var h=0;h<d.length-1;h++)if(a[h]!==d[h]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return i(n,a,d,0)}}function i(n,a,d,h){var v=a[h],C=lr(n)?n.slice():Wa({},n);return h+1===a.length?(C[d[h]]=C[v],lr(C)?C.splice(v,1):delete C[v]):C[v]=i(n[v],a,d,h+1),C}function u(n,a,d){var h=a[d],v=lr(n)?n.slice():Wa({},n);return d+1===a.length?(lr(v)?v.splice(h,1):delete v[h],v):(v[h]=u(n[h],a,d+1),v)}function f(){return!1}function y(){return null}function I(n,a,d,h){return new l_(n,a,d,h)}function D(n,a){n.context===cu&&(Kg(a,n,null,null),hp())}function R(n,a){if(Cu!==null){var d=a.staleFamilies;a=a.updatedFamilies,rd(),$g(n.current,a,d),hp()}}function z(n){Cu=n}function V(){}function $(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function te(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function re(){}function oe(n){var a=[];return n.forEach(function(d){a.push(d)}),a.sort().join(", ")}function ce(n){var a=n,d=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(d=a.return),n=a.return;while(n)}return a.tag===3?d:null}function xe(n){if(ce(n)!==n)throw Error("Unable to find node on an unmounted component.")}function Me(n){var a=n.alternate;if(!a){if(a=ce(n),a===null)throw Error("Unable to find node on an unmounted component.");return a!==n?null:n}for(var d=n,h=a;;){var v=d.return;if(v===null)break;var C=v.alternate;if(C===null){if(h=v.return,h!==null){d=h;continue}break}if(v.child===C.child){for(C=v.child;C;){if(C===d)return xe(v),n;if(C===h)return xe(v),a;C=C.sibling}throw Error("Unable to find node on an unmounted component.")}if(d.return!==h.return)d=v,h=C;else{for(var N=!1,j=v.child;j;){if(j===d){N=!0,d=v,h=C;break}if(j===h){N=!0,h=v,d=C;break}j=j.sibling}if(!N){for(j=C.child;j;){if(j===d){N=!0,d=C,h=v;break}if(j===h){N=!0,h=C,d=v;break}j=j.sibling}if(!N)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(d.alternate!==h)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(d.tag!==3)throw Error("Unable to find node on an unmounted component.");return d.stateNode.current===d?n:a}function Ie(n){return n=Me(n),n!==null?it(n):null}function it(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=it(n),a!==null)return a;n=n.sibling}return null}function Xe(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(n.tag!==4&&(a=Xe(n),a!==null))return a;n=n.sibling}return null}function k(n){return n===null||typeof n!="object"?null:(n=Fy&&n[Fy]||n["@@iterator"],typeof n=="function"?n:null)}function He(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===A_?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case dA:return"Fragment";case Cc:return"Profiler";case pf:return"StrictMode";case qg:return"Suspense";case Wg:return"SuspenseList";case ad:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case AA:return"Portal";case Ko:return(n.displayName||"Context")+".Provider";case Ic:return(n._context.displayName||"Context")+".Consumer";case Xa:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case fA:return a=n.displayName||null,a!==null?a:He(n.type)||"Memo";case mo:a=n._payload,n=n._init;try{return He(n(a))}catch{}}return null}function It(n){var a=n.type;switch(n.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(a._context.displayName||"Context")+".Consumer";case 10:return(a.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=a.render,n=n.displayName||n.name||"",a.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return He(a);case 8:return a===pf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break;case 29:if(a=n._debugInfo,a!=null){for(var d=a.length-1;0<=d;d--)if(typeof a[d].name=="string")return a[d].name}if(n.return!==null)return It(n.return)}return null}function Gt(n){return{current:n}}function ln(n,a){0>Ro?console.error("Unexpected pop."):(a!==uu[Ro]&&console.error("Unexpected Fiber popped."),n.current=Cr[Ro],Cr[Ro]=null,uu[Ro]=null,Ro--)}function Ht(n,a,d){Ro++,Cr[Ro]=n.current,uu[Ro]=d,n.current=a}function Xt(n){return n>>>=0,n===0?32:31-(Ed(n)/xf|0)|0}function Ki(n){if(n&1)return"SyncHydrationLane";if(n&2)return"Sync";if(n&4)return"InputContinuousHydration";if(n&8)return"InputContinuous";if(n&16)return"DefaultHydration";if(n&32)return"Default";if(n&128)return"TransitionHydration";if(n&4194048)return"Transition";if(n&62914560)return"Retry";if(n&67108864)return"SelectiveHydration";if(n&134217728)return"IdleHydration";if(n&268435456)return"Idle";if(n&536870912)return"Offscreen";if(n&1073741824)return"Deferred"}function Ue(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),n}}function Ft(n,a,d){var h=n.pendingLanes;if(h===0)return 0;var v=0,C=n.suspendedLanes,N=n.pingedLanes;n=n.warmLanes;var j=h&134217727;return j!==0?(h=j&~C,h!==0?v=Ue(h):(N&=j,N!==0?v=Ue(N):d||(d=j&~n,d!==0&&(v=Ue(d))))):(j=h&~C,j!==0?v=Ue(j):N!==0?v=Ue(N):d||(d=h&~n,d!==0&&(v=Ue(d)))),v===0?0:a!==0&&a!==v&&(a&C)===0&&(C=v&-v,d=a&-a,C>=d||C===32&&(d&4194048)!==0)?a:v}function lt(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function ke(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Ve(){var n=to;return to<<=1,(to&4194048)===0&&(to=256),n}function Dt(){var n=yd;return yd<<=1,(yd&62914560)===0&&(yd=4194304),n}function Ee(n){for(var a=[],d=0;31>d;d++)a.push(n);return a}function Pe(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Qt(n,a,d,h,v,C){var N=n.pendingLanes;n.pendingLanes=d,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=d,n.entangledLanes&=d,n.errorRecoveryDisabledLanes&=d,n.shellSuspendCounter=0;var j=n.entanglements,ge=n.expirationTimes,Fe=n.hiddenUpdates;for(d=N&~d;0<d;){var ct=31-er(d),pt=1<<ct;j[ct]=0,ge[ct]=-1;var Tt=Fe[ct];if(Tt!==null)for(Fe[ct]=null,ct=0;ct<Tt.length;ct++){var ci=Tt[ct];ci!==null&&(ci.lane&=-536870913)}d&=~pt}h!==0&&wt(n,h,0),C!==0&&v===0&&n.tag!==0&&(n.suspendedLanes|=C&~(N&~a))}function wt(n,a,d){n.pendingLanes|=a,n.suspendedLanes&=~a;var h=31-er(a);n.entangledLanes|=a,n.entanglements[h]=n.entanglements[h]|1073741824|d&4194090}function An(n,a){var d=n.entangledLanes|=a;for(n=n.entanglements;d;){var h=31-er(d),v=1<<h;v&a|n[h]&a&&(n[h]|=a),d&=~v}}function Jn(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function un(n,a,d){if(p)for(n=n.pendingUpdatersLaneMap;0<d;){var h=31-er(d),v=1<<h;n[h].add(a),d&=~v}}function mi(n,a){if(p)for(var d=n.pendingUpdatersLaneMap,h=n.memoizedUpdaters;0<a;){var v=31-er(a);n=1<<v,v=d[v],0<v.size&&(v.forEach(function(C){var N=C.alternate;N!==null&&h.has(N)||h.add(C)}),v.clear()),a&=~n}}function Lt(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Ci(n){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled)return!0;if(!a.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{fu=a.inject(n),ka=a}catch(d){console.error("React instrumentation encountered an error: %s.",d)}return!!a.checkDCE}function en(n){if(typeof pm=="function"&&jy(n),ka&&typeof ka.setStrictMode=="function")try{ka.setStrictMode(fu,n)}catch(a){c||(c=!0,console.error("React instrumentation encountered an error: %s",a))}}function Nn(n){s=n}function Vn(){s!==null&&typeof s.markCommitStopped=="function"&&s.markCommitStopped()}function gt(n){s!==null&&typeof s.markComponentRenderStarted=="function"&&s.markComponentRenderStarted(n)}function vn(){s!==null&&typeof s.markComponentRenderStopped=="function"&&s.markComponentRenderStopped()}function Br(n){s!==null&&typeof s.markRenderStarted=="function"&&s.markRenderStarted(n)}function dt(){s!==null&&typeof s.markRenderStopped=="function"&&s.markRenderStopped()}function Et(n,a){s!==null&&typeof s.markStateUpdateScheduled=="function"&&s.markStateUpdateScheduled(n,a)}function ua(){}function Dr(){if(E===0){_=console.log,w=console.info,P=console.warn,ie=console.error,Ce=console.group,Ke=console.groupCollapsed,ut=console.groupEnd;var n={configurable:!0,enumerable:!0,value:ua,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}E++}function Ii(){if(E--,E===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Wa({},n,{value:_}),info:Wa({},n,{value:w}),warn:Wa({},n,{value:P}),error:Wa({},n,{value:ie}),group:Wa({},n,{value:Ce}),groupCollapsed:Wa({},n,{value:Ke}),groupEnd:Wa({},n,{value:ut})})}0>E&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ki(n){if(bt===void 0)try{throw Error()}catch(d){var a=d.stack.trim().match(/\n( *(at )?)/);bt=a&&a[1]||"",Ut=-1<d.stack.indexOf(`
40
- at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return`
41
- `+bt+n+Ut}function br(n,a){if(!n||En)return"";var d=Xo.get(n);if(d!==void 0)return d;En=!0,d=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var h=null;h=be.H,be.H=null,Dr();try{var v={DetermineComponentFrameRoot:function(){try{if(a){var Tt=function(){throw Error()};if(Object.defineProperty(Tt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Tt,[])}catch(Ui){var ci=Ui}Reflect.construct(n,[],Tt)}else{try{Tt.call()}catch(Ui){ci=Ui}n.call(Tt.prototype)}}else{try{throw Error()}catch(Ui){ci=Ui}(Tt=n())&&typeof Tt.catch=="function"&&Tt.catch(function(){})}}catch(Ui){if(Ui&&ci&&typeof Ui.stack=="string")return[Ui.stack,ci.stack]}return[null,null]}};v.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var C=Object.getOwnPropertyDescriptor(v.DetermineComponentFrameRoot,"name");C&&C.configurable&&Object.defineProperty(v.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var N=v.DetermineComponentFrameRoot(),j=N[0],ge=N[1];if(j&&ge){var Fe=j.split(`
42
- `),ct=ge.split(`
43
- `);for(N=C=0;C<Fe.length&&!Fe[C].includes("DetermineComponentFrameRoot");)C++;for(;N<ct.length&&!ct[N].includes("DetermineComponentFrameRoot");)N++;if(C===Fe.length||N===ct.length)for(C=Fe.length-1,N=ct.length-1;1<=C&&0<=N&&Fe[C]!==ct[N];)N--;for(;1<=C&&0<=N;C--,N--)if(Fe[C]!==ct[N]){if(C!==1||N!==1)do if(C--,N--,0>N||Fe[C]!==ct[N]){var pt=`
44
- `+Fe[C].replace(" at new "," at ");return n.displayName&&pt.includes("<anonymous>")&&(pt=pt.replace("<anonymous>",n.displayName)),typeof n=="function"&&Xo.set(n,pt),pt}while(1<=C&&0<=N);break}}}finally{En=!1,be.H=h,Ii(),Error.prepareStackTrace=d}return Fe=(Fe=n?n.displayName||n.name:"")?ki(Fe):"",typeof n=="function"&&Xo.set(n,Fe),Fe}function Ca(n){var a=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,n=n.stack,Error.prepareStackTrace=a,n.startsWith(`Error: react-stack-top-frame
45
- `)&&(n=n.slice(29)),a=n.indexOf(`
46
- `),a!==-1&&(n=n.slice(a+1)),a=n.indexOf("react-stack-bottom-frame"),a!==-1&&(a=n.lastIndexOf(`
47
- `,a)),a!==-1)n=n.slice(0,a);else return"";return n}function Zi(n){switch(n.tag){case 26:case 27:case 5:return ki(n.type);case 16:return ki("Lazy");case 13:return ki("Suspense");case 19:return ki("SuspenseList");case 0:case 15:return br(n.type,!1);case 11:return br(n.type.render,!1);case 1:return br(n.type,!0);case 31:return ki("Activity");default:return""}}function ri(n){try{var a="";do{a+=Zi(n);var d=n._debugInfo;if(d)for(var h=d.length-1;0<=h;h--){var v=d[h];if(typeof v.name=="string"){var C=a,N=v.env,j=ki(v.name+(N?" ["+N+"]":""));a=C+j}}n=n.return}while(n);return a}catch(ge){return`
48
- Error generating stack: `+ge.message+`
49
- `+ge.stack}}function In(n){return(n=n?n.displayName||n.name:"")?ki(n):""}function Oi(n,a){if(typeof n=="object"&&n!==null){var d=IA.get(n);return d!==void 0?d:(a={value:n,source:a,stack:ri(a)},IA.set(n,a),a)}return{value:n,source:a,stack:ri(a)}}function zt(n,a){fr(),Ws[ye++]=_e,Ws[ye++]=pe,pe=n,_e=a}function Ia(n,a,d){fr(),Ze[Ot++]=Jt,Ze[Ot++]=wn,Ze[Ot++]=Si,Si=n;var h=Jt;n=wn;var v=32-er(h)-1;h&=~(1<<v),d+=1;var C=32-er(a)+v;if(30<C){var N=v-v%5;C=(h&(1<<N)-1).toString(32),h>>=N,v-=N,Jt=1<<32-er(a)+v|d<<v|h,wn=C+n}else Jt=1<<C|d<<v|h,wn=n}function Jr(n){fr(),n.return!==null&&(zt(n,1),Ia(n,1,0))}function Vr(n){for(;n===pe;)pe=Ws[--ye],Ws[ye]=null,_e=Ws[--ye],Ws[ye]=null;for(;n===Si;)Si=Ze[--Ot],Ze[Ot]=null,wn=Ze[--Ot],Ze[Ot]=null,Jt=Ze[--Ot],Ze[Ot]=null}function fr(){Ei||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Fi(n){return n===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),n}function Hr(n,a){Ht(No,a,n),Ht(Zn,n,n),Ht(cr,null,n),a=f_(a),ln(cr,n),Ht(cr,a,n)}function F(n){ln(cr,n),ln(Zn,n),ln(No,n)}function ue(){return Fi(cr.current)}function je(n){n.memoizedState!==null&&Ht(Np,n,n);var a=Fi(cr.current),d=hf(a,n.type);a!==d&&(Ht(Zn,n,n),Ht(cr,d,n))}function ot(n){Zn.current===n&&(ln(cr,n),ln(Zn,n)),Np.current===n&&(ln(Np,n),ta?wo._currentValue=Zs:wo._currentValue2=Zs)}function _t(n,a){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-a?_t(n.children[0],a):n}function xt(n){return" "+" ".repeat(n)}function $t(n){return"+ "+" ".repeat(n)}function Pt(n){return"- "+" ".repeat(n)}function rn(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return n=n.type,n.displayName||n.name||null;case 11:return n=n.type.render,n.displayName||n.name||null;case 1:return n=n.type,n.displayName||n.name||null;default:return null}}function Ji(n,a){return rR.test(n)?(n=JSON.stringify(n),n.length>a-2?8>a?'{"..."}':"{"+n.slice(0,a-7)+'..."}':"{"+n+"}"):n.length>a?5>a?'{"..."}':n.slice(0,a-3)+"...":n}function pr(n,a,d){var h=120-2*d;if(a===null)return $t(d)+Ji(n,h)+`
50
- `;if(typeof a=="string"){for(var v=0;v<a.length&&v<n.length&&a.charCodeAt(v)===n.charCodeAt(v);v++);return v>h-8&&10<v&&(n="..."+n.slice(v-8),a="..."+a.slice(v-8)),$t(d)+Ji(n,h)+`
51
- `+Pt(d)+Ji(a,h)+`
52
- `}return xt(d)+Ji(n,h)+`
53
- `}function _o(n){return Object.prototype.toString.call(n).replace(/^\[object (.*)\]$/,function(a,d){return d})}function cn(n,a){switch(typeof n){case"string":return n=JSON.stringify(n),n.length>a?5>a?'"..."':n.slice(0,a-4)+'..."':n;case"object":if(n===null)return"null";if(lr(n))return"[...]";if(n.$$typeof===vc)return(a=He(n.type))?"<"+a+">":"<...>";var d=_o(n);if(d==="Object"){d="",a-=2;for(var h in n)if(n.hasOwnProperty(h)){var v=JSON.stringify(h);if(v!=='"'+h+'"'&&(h=v),a-=h.length-2,v=cn(n[h],15>a?a:15),a-=v.length,0>a){d+=d===""?"...":", ...";break}d+=(d===""?"":",")+h+":"+v}return"{"+d+"}"}return d;case"function":return(a=n.displayName||n.name)?"function "+a:"function";default:return String(n)}}function $a(n,a){return typeof n!="string"||rR.test(n)?"{"+cn(n,a-2)+"}":n.length>a-2?5>a?'"..."':'"'+n.slice(0,a-5)+'..."':'"'+n+'"'}function xr(n,a,d){var h=120-d.length-n.length,v=[],C;for(C in a)if(a.hasOwnProperty(C)&&C!=="children"){var N=$a(a[C],120-d.length-C.length-1);h-=C.length+N.length+2,v.push(C+"="+N)}return v.length===0?d+"<"+n+`>
54
- `:0<h?d+"<"+n+" "+v.join(" ")+`>
55
- `:d+"<"+n+`
56
- `+d+" "+v.join(`
57
- `+d+" ")+`
58
- `+d+`>
59
- `}function Fo(n,a,d){var h="",v=Wa({},a),C;for(C in n)if(n.hasOwnProperty(C)){delete v[C];var N=120-2*d-C.length-2,j=cn(n[C],N);a.hasOwnProperty(C)?(N=cn(a[C],N),h+=$t(d)+C+": "+j+`
60
- `,h+=Pt(d)+C+": "+N+`
61
- `):h+=$t(d)+C+": "+j+`
62
- `}for(var ge in v)v.hasOwnProperty(ge)&&(n=cn(v[ge],120-2*d-ge.length-2),h+=Pt(d)+ge+": "+n+`
63
- `);return h}function ll(n,a,d,h){var v="",C=new Map;for(Fe in d)d.hasOwnProperty(Fe)&&C.set(Fe.toLowerCase(),Fe);if(C.size===1&&C.has("children"))v+=xr(n,a,xt(h));else{for(var N in a)if(a.hasOwnProperty(N)&&N!=="children"){var j=120-2*(h+1)-N.length-1,ge=C.get(N.toLowerCase());if(ge!==void 0){C.delete(N.toLowerCase());var Fe=a[N];ge=d[ge];var ct=$a(Fe,j);j=$a(ge,j),typeof Fe=="object"&&Fe!==null&&typeof ge=="object"&&ge!==null&&_o(Fe)==="Object"&&_o(ge)==="Object"&&(2<Object.keys(Fe).length||2<Object.keys(ge).length||-1<ct.indexOf("...")||-1<j.indexOf("..."))?v+=xt(h+1)+N+`={{
64
- `+Fo(Fe,ge,h+2)+xt(h+1)+`}}
65
- `:(v+=$t(h+1)+N+"="+ct+`
66
- `,v+=Pt(h+1)+N+"="+j+`
67
- `)}else v+=xt(h+1)+N+"="+$a(a[N],j)+`
68
- `}C.forEach(function(pt){if(pt!=="children"){var Tt=120-2*(h+1)-pt.length-1;v+=Pt(h+1)+pt+"="+$a(d[pt],Tt)+`
69
- `}}),v=v===""?xt(h)+"<"+n+`>
70
- `:xt(h)+"<"+n+`
71
- `+v+xt(h)+`>
72
- `}return n=d.children,a=a.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(C="",(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(C=""+a),v+=pr(C,""+n,h+1)):(typeof a=="string"||typeof a=="number"||typeof a=="bigint")&&(v=n==null?v+pr(""+a,null,h+1):v+pr(""+a,void 0,h+1)),v}function qn(n,a){var d=rn(n);if(d===null){for(d="",n=n.child;n;)d+=qn(n,a),n=n.sibling;return d}return xt(a)+"<"+d+`>
73
- `}function zo(n,a){var d=_t(n,a);if(d!==n&&(n.children.length!==1||n.children[0]!==d))return xt(a)+`...
74
- `+zo(d,a+1);d="";var h=n.fiber._debugInfo;if(h)for(var v=0;v<h.length;v++){var C=h[v].name;typeof C=="string"&&(d+=xt(a)+"<"+C+`>
75
- `,a++)}if(h="",v=n.fiber.pendingProps,n.fiber.tag===6)h=pr(v,n.serverProps,a),a++;else if(C=rn(n.fiber),C!==null)if(n.serverProps===void 0){h=a;var N=120-2*h-C.length-2,j="";for(Fe in v)if(v.hasOwnProperty(Fe)&&Fe!=="children"){var ge=$a(v[Fe],15);if(N-=Fe.length+ge.length+2,0>N){j+=" ...";break}j+=" "+Fe+"="+ge}h=xt(h)+"<"+C+j+`>
76
- `,a++}else n.serverProps===null?(h=xr(C,v,$t(a)),a++):typeof n.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(h=ll(C,v,n.serverProps,a),a++);var Fe="";for(v=n.fiber.child,C=0;v&&C<n.children.length;)N=n.children[C],N.fiber===v?(Fe+=zo(N,a),C++):Fe+=qn(v,a),v=v.sibling;for(v&&0<n.children.length&&(Fe+=xt(a)+`...
77
- `),v=n.serverTail,n.serverProps===null&&a--,n=0;n<v.length;n++)C=v[n],Fe=typeof C=="string"?Fe+(Pt(a)+Ji(C,120-2*a)+`
78
- `):Fe+xr(C.type,C.props,Pt(a));return d+h+Fe}function ft(n){try{return`
79
-
80
- `+zo(n,0)}catch{return""}}function Kr(){if(_A===null)return"";var n=_A;try{var a="";switch(n.tag===6&&(n=n.return),n.tag){case 26:case 27:case 5:a+=ki(n.type);break;case 13:a+=ki("Suspense");break;case 19:a+=ki("SuspenseList");break;case 31:a+=ki("Activity");break;case 30:case 0:case 15:case 1:n._debugOwner||a!==""||(a+=In(n.type));break;case 11:n._debugOwner||a!==""||(a+=In(n.type.render))}for(;n;)if(typeof n.tag=="number"){var d=n;n=d._debugOwner;var h=d._debugStack;n&&h&&(typeof h!="string"&&(d._debugStack=h=Ca(h)),h!==""&&(a+=`
81
- `+h))}else if(n.debugStack!=null){var v=n.debugStack;(n=n.owner)&&v&&(a+=`
82
- `+Ca(v))}else break;var C=a}catch(N){C=`
83
- Error generating stack: `+N.message+`
84
- `+N.stack}return C}function ht(n,a,d,h,v,C,N){var j=_A;rs(n);try{return n!==null&&n._debugTask?n._debugTask.run(a.bind(null,d,h,v,C,N)):a(d,h,v,C,N)}finally{rs(j)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function rs(n){be.getCurrentStack=n===null?null:Kr,bc=!1,_A=n}function wi(n,a){if(n.return===null){if(pu===null)pu={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a};else{if(pu.fiber!==n)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");pu.distanceFromLeaf>a&&(pu.distanceFromLeaf=a)}return pu}var d=wi(n.return,a+1).children;return 0<d.length&&d[d.length-1].fiber===n?(d=d[d.length-1],d.distanceFromLeaf>a&&(d.distanceFromLeaf=a),d):(a={fiber:n,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:a},d.push(a),a)}function ca(n,a){BA||(n=wi(n,0),n.serverProps=null,a!==null&&(a=ha(a),n.serverTail.push(a)))}function Ha(n){var a="",d=pu;throw d!==null&&(pu=null,a=ft(d)),Wt(Oi(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
85
-
86
- - A server/client branch \`if (typeof window !== 'undefined')\`.
87
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
88
- - Date formatting in a user's locale which doesn't match the server.
89
- - External changing data without sending a snapshot of it along with the HTML.
90
- - Invalid HTML tag nesting.
91
-
92
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
93
-
94
- https://react.dev/link/hydration-mismatch`+a),n)),C_}function Ul(n,a){if(!na)throw Error("Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");lu(n.stateNode,n.type,n.memoizedProps,a,n)||Ha(n)}function _a(n){for(ys=n.return;ys;)switch(ys.tag){case 5:case 13:xc=!1;return;case 27:case 3:xc=!0;return;default:ys=ys.return}}function oo(n){if(!na||n!==ys)return!1;if(!Ei)return _a(n),Ei=!0,!1;var a=n.tag;if(on?a!==3&&a!==27&&(a!==5||Ur(n.type)&&!Gu(n.type,n.memoizedProps))&&Oa&&(xs(n),Ha(n)):a!==3&&(a!==5||Ur(n.type)&&!Gu(n.type,n.memoizedProps))&&Oa&&(xs(n),Ha(n)),_a(n),a===13){if(!na)throw Error("Expected skipPastDehydratedSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Oa=cm(n)}else Oa=on&&a===27?$y(n.type,Oa):ys?pd(n.stateNode):null;return!0}function xs(n){for(var a=Oa;a;){var d=wi(n,0),h=ha(a);d.serverTail.push(h),a=h.type==="Suspense"?cm(a):pd(a)}}function fi(){na&&(Oa=ys=null,BA=Ei=!1)}function Mo(){var n=wf;return n!==null&&(_s===null?_s=n:_s.push.apply(_s,n),wf=null),n}function Wt(n){wf===null?wf=[n]:wf.push(n)}function ul(){var n=pu;if(n!==null){pu=null;for(var a=ft(n);0<n.children.length;)n=n.children[0];ht(n.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
95
-
96
- - A server/client branch \`if (typeof window !== 'undefined')\`.
97
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
98
- - Date formatting in a user's locale which doesn't match the server.
99
- - External changing data without sending a snapshot of it along with the HTML.
100
- - Invalid HTML tag nesting.
101
-
102
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
103
-
104
- %s%s`,"https://react.dev/link/hydration-mismatch",a)})}}function Qs(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}function so(){Tp=Ky=null,Up=!1}function pi(n,a,d){ta?(Ht(Jy,a._currentValue,n),a._currentValue=d,Ht(I_,a._currentRenderer,n),a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==Vy&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=Vy):(Ht(Jy,a._currentValue2,n),a._currentValue2=d,Ht(__,a._currentRenderer2,n),a._currentRenderer2!==void 0&&a._currentRenderer2!==null&&a._currentRenderer2!==Vy&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer2=Vy)}function Ba(n,a){var d=Jy.current;ta?(n._currentValue=d,d=I_.current,ln(I_,a),n._currentRenderer=d):(n._currentValue2=d,d=__.current,ln(__,a),n._currentRenderer2=d),ln(Jy,a)}function cl(n,a,d){for(;n!==null;){var h=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,h!==null&&(h.childLanes|=a)):h!==null&&(h.childLanes&a)!==a&&(h.childLanes|=a),n===d)break;n=n.return}n!==d&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function hr(n,a,d,h){var v=n.child;for(v!==null&&(v.return=n);v!==null;){var C=v.dependencies;if(C!==null){var N=v.child;C=C.firstContext;e:for(;C!==null;){var j=C;C=v;for(var ge=0;ge<a.length;ge++)if(j.context===a[ge]){C.lanes|=d,j=C.alternate,j!==null&&(j.lanes|=d),cl(C.return,d,n),h||(N=null);break e}C=j.next}}else if(v.tag===18){if(N=v.return,N===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");N.lanes|=d,C=N.alternate,C!==null&&(C.lanes|=d),cl(N,d,n),N=null}else N=v.child;if(N!==null)N.return=v;else for(N=v;N!==null;){if(N===n){N=null;break}if(v=N.sibling,v!==null){v.return=N.return,N=v;break}N=N.return}v=N}}function ai(n,a,d,h){n=null;for(var v=a,C=!1;v!==null;){if(!C){if((v.flags&524288)!==0)C=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var N=v.alternate;if(N===null)throw Error("Should have a current fiber. This is a bug in React.");if(N=N.memoizedProps,N!==null){var j=v.type;vs(v.pendingProps.value,N.value)||(n!==null?n.push(j):n=[j])}}else if(v===Np.current){if(N=v.alternate,N===null)throw Error("Should have a current fiber. This is a bug in React.");N.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(n!==null?n.push(wo):n=[wo])}v=v.return}n!==null&&hr(a,n,d,h),a.flags|=262144}function Ri(n){for(n=n.firstContext;n!==null;){var a=n.context;if(!vs(ta?a._currentValue:a._currentValue2,n.memoizedValue))return!0;n=n.next}return!1}function Zr(n){Ky=n,Tp=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Wn(n){return Up&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),gr(Ky,n)}function Yr(n,a){return Ky===null&&Zr(n),gr(n,a)}function gr(n,a){var d=ta?a._currentValue:a._currentValue2;if(a={context:a,memoizedValue:d,next:null},Tp===null){if(n===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Tp=a,n.dependencies={lanes:0,firstContext:a,_debugThenableState:null},n.flags|=524288}else Tp=Tp.next=a;return d}function lo(){return{controller:new Q$,data:new Map,refCount:0}}function Ga(n){n.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),n.refCount++}function L(n){n.refCount--,0>n.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),n.refCount===0&&w$(R$,function(){n.controller.abort()})}function H(){var n=Rf;return Rf=0,n}function ne(n){var a=Rf;return Rf=n,a}function ae(n){var a=Rf;return Rf+=n,a}function me(n){Xs=kp(),0>n.actualStartTime&&(n.actualStartTime=Xs)}function Te(n){if(0<=Xs){var a=kp()-Xs;n.actualDuration+=a,n.selfBaseDuration=a,Xs=-1}}function Ge(n){if(0<=Xs){var a=kp()-Xs;n.actualDuration+=a,Xs=-1}}function $e(){if(0<=Xs){var n=kp()-Xs;Xs=-1,Rf+=n}}function Ye(){Xs=kp()}function et(n){for(var a=n.child;a;)n.actualDuration+=a.actualDuration,a=a.sibling}function Be(n){n!==Op&&n.next===null&&(Op===null?Wy=Op=n:Op=Op.next=n),Xy=!0,be.actQueue!==null?D_||(D_=!0,Sa()):B_||(B_=!0,Sa())}function Nt(n,a){if(!S_&&Xy){S_=!0;do for(var d=!1,h=Wy;h!==null;){if(!a)if(n!==0){var v=h.pendingLanes;if(v===0)var C=0;else{var N=h.suspendedLanes,j=h.pingedLanes;C=(1<<31-er(42|n)+1)-1,C&=v&~(N&~j),C=C&201326741?C&201326741|1:C?C|2:0}C!==0&&(d=!0,Gr(h,C))}else C=Yn,C=Ft(h,h===Ar?C:0,h.cancelPendingCommit!==null||h.timeoutHandle!==Ta),(C&3)===0||lt(h,C)||(d=!0,Gr(h,C));h=h.next}while(d);S_=!1}}function tn(){Kn()}function Kn(){Xy=D_=B_=!1;var n=0;Fp!==0&&(fa()&&(n=Fp),Fp=0);for(var a=Vi(),d=null,h=Wy;h!==null;){var v=h.next,C=_n(h,a);C===0?(h.next=null,d===null?Wy=v:d.next=v,v===null&&(Op=d)):(d=h,(n!==0||(C&3)!==0)&&(Xy=!0)),h=v}Nt(n,!1)}function _n(n,a){for(var d=n.suspendedLanes,h=n.pingedLanes,v=n.expirationTimes,C=n.pendingLanes&-62914561;0<C;){var N=31-er(C),j=1<<N,ge=v[N];ge===-1?((j&d)===0||(j&h)!==0)&&(v[N]=ke(j,a)):ge<=a&&(n.expiredLanes|=j),C&=~j}if(a=Ar,d=Yn,d=Ft(n,n===a?d:0,n.cancelPendingCommit!==null||n.timeoutHandle!==Ta),h=n.callbackNode,d===0||n===a&&(Hi===Ff||Hi===zf)||n.cancelPendingCommit!==null)return h!==null&&Da(h),n.callbackNode=null,n.callbackPriority=0;if((d&3)===0||lt(n,d)){if(a=d&-d,a!==n.callbackPriority||be.actQueue!==null&&h!==b_)Da(h);else return a;switch(Lt(d)){case 2:case 8:d=CA;break;case 32:d=du;break;case 268435456:d=Rp;break;default:d=du}return h=zi.bind(null,n),be.actQueue!==null?(be.actQueue.push(h),d=b_):d=vd(d,h),n.callbackPriority=a,n.callbackNode=d,a}return h!==null&&Da(h),n.callbackPriority=2,n.callbackNode=null,2}function zi(n,a){if(qy=Yy=!1,Uo!==Lf&&Uo!==W_)return n.callbackNode=null,n.callbackPriority=0,null;var d=n.callbackNode;if(rd(!0)&&n.callbackNode!==d)return null;var h=Yn;return h=Ft(n,n===Ar?h:0,n.cancelPendingCommit!==null||n.timeoutHandle!==Ta),h===0?null:(gs(n,h,a),_n(n,Vi()),n.callbackNode!=null&&n.callbackNode===d?zi.bind(null,n):null)}function Gr(n,a){if(rd())return null;Yy=qy,qy=!1,gs(n,a,!0)}function Da(n){n!==b_&&n!==null&&Qf(n)}function Sa(){be.actQueue!==null&&be.actQueue.push(function(){return Kn(),null}),g_?Tr(function(){(ui&(es|vu))!==Is?vd(Au,tn):Kn()}):vd(Au,tn)}function kl(){return Fp===0&&(Fp=Ve()),Fp}function xu(n,a){if(hm===null){var d=hm=[];x_=0,Nf=kl(),zp={status:"pending",value:void 0,then:function(h){d.push(h)}}}return x_++,a.then(Yi,Yi),a}function Yi(){if(--x_===0&&hm!==null){zp!==null&&(zp.status="fulfilled");var n=hm;hm=null,Nf=0,zp=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function Mi(n,a){var d=[],h={status:"pending",value:null,reason:null,then:function(v){d.push(v)}};return n.then(function(){h.status="fulfilled",h.value=a;for(var v=0;v<d.length;v++)(0,d[v])(a)},function(v){for(h.status="rejected",h.reason=v,v=0;v<d.length;v++)(0,d[v])(void 0)}),h}function Ol(){var n=Tf.current;return n!==null?n:Ar.pooledCache}function as(n,a){a===null?Ht(Tf,Tf.current,n):Ht(Tf,a.pool,n)}function Qr(){var n=Ol();return n===null?null:{parent:ta?ra._currentValue:ra._currentValue2,pool:n}}function ws(n,a){if(vs(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var d=Object.keys(n),h=Object.keys(a);if(d.length!==h.length)return!1;for(h=0;h<d.length;h++){var v=d[h];if(!N$.call(a,v)||!vs(n[v],a[v]))return!1}return!0}function Fl(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Lo(n){return n=n.status,n==="fulfilled"||n==="rejected"}function zl(){}function Ml(n,a,d){be.actQueue!==null&&(be.didUsePromise=!0);var h=n.thenables;switch(d=h[d],d===void 0?h.push(a):d!==a&&(n.didWarnAboutUncachedPromise||(n.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),a.then(zl,zl),a=d),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Al(n),n;default:if(typeof a.status=="string")a.then(zl,zl);else{if(n=Ar,n!==null&&100<n.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");n=a,n.status="pending",n.then(function(v){if(a.status==="pending"){var C=a;C.status="fulfilled",C.value=v}},function(v){if(a.status==="pending"){var C=a;C.status="rejected",C.reason=v}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Al(n),n}throw Mp=a,iv=!0,Im}}function ac(){if(Mp===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var n=Mp;return Mp=null,iv=!1,n}function Al(n){if(n===Im||n===tv)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function dl(){for(var n=Lp,a=w_=Lp=0;a<n;){var d=mu[a];mu[a++]=null;var h=mu[a];mu[a++]=null;var v=mu[a];mu[a++]=null;var C=mu[a];if(mu[a++]=null,h!==null&&v!==null){var N=h.pending;N===null?v.next=v:(v.next=N.next,N.next=v),h.pending=v}C!==0&&Ll(d,v,C)}}function Rs(n,a,d,h){mu[Lp++]=n,mu[Lp++]=a,mu[Lp++]=d,mu[Lp++]=h,w_|=h,n.lanes|=h,n=n.alternate,n!==null&&(n.lanes|=h)}function Qu(n,a,d,h){return Rs(n,a,d,h),$l(n)}function wr(n,a){return Rs(n,null,null,a),$l(n)}function Ll(n,a,d){n.lanes|=d;var h=n.alternate;h!==null&&(h.lanes|=d);for(var v=!1,C=n.return;C!==null;)C.childLanes|=d,h=C.alternate,h!==null&&(h.childLanes|=d),C.tag===22&&(n=C.stateNode,n===null||n._visibility&1||(v=!0)),n=C,C=C.return;return n.tag===3?(C=n.stateNode,v&&a!==null&&(v=31-er(d),n=C.hiddenUpdates,h=n[v],h===null?n[v]=[a]:h.push(a),a.lane=d|536870912),C):null}function $l(n){if(km>P$)throw $f=km=0,Om=tB=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");$f>j$&&($f=0,Om=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),n.alternate===null&&(n.flags&4098)!==0&&Ry(n);for(var a=n,d=a.return;d!==null;)a.alternate===null&&(a.flags&4098)!==0&&Ry(n),a=d,d=a.return;return a.tag===3?a.stateNode:null}function Ns(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ts(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function $o(n){return{lane:n,tag:uR,payload:null,callback:null,next:null}}function os(n,a,d){var h=n.updateQueue;if(h===null)return null;if(h=h.shared,N_===h&&!dR){var v=It(n);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
105
-
106
- Please update the following component: %s`,v),dR=!0}return(ui&es)!==Is?(v=h.pending,v===null?a.next=a:(a.next=v.next,v.next=a),h.pending=a,a=$l(n),Ll(n,null,d),a):(Rs(n,h,a,d),$l(n))}function Us(n,a,d){if(a=a.updateQueue,a!==null&&(a=a.shared,(d&4194048)!==0)){var h=a.lanes;h&=n.pendingLanes,d|=h,a.lanes=d,An(n,d)}}function ks(n,a){var d=n.updateQueue,h=n.alternate;if(h!==null&&(h=h.updateQueue,d===h)){var v=null,C=null;if(d=d.firstBaseUpdate,d!==null){do{var N={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};C===null?v=C=N:C=C.next=N,d=d.next}while(d!==null);C===null?v=C=a:C=C.next=a}else v=C=a;d={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:C,shared:h.shared,callbacks:h.callbacks},n.updateQueue=d;return}n=d.lastBaseUpdate,n===null?d.firstBaseUpdate=a:n.next=a,d.lastBaseUpdate=a}function ba(){if(T_){var n=zp;if(n!==null)throw n}}function Qe(n,a,d,h){T_=!1;var v=n.updateQueue;Cd=!1,N_=v.shared;var C=v.firstBaseUpdate,N=v.lastBaseUpdate,j=v.shared.pending;if(j!==null){v.shared.pending=null;var ge=j,Fe=ge.next;ge.next=null,N===null?C=Fe:N.next=Fe,N=ge;var ct=n.alternate;ct!==null&&(ct=ct.updateQueue,j=ct.lastBaseUpdate,j!==N&&(j===null?ct.firstBaseUpdate=Fe:j.next=Fe,ct.lastBaseUpdate=ge))}if(C!==null){var pt=v.baseState;N=0,ct=Fe=ge=null,j=C;do{var Tt=j.lane&-536870913,ci=Tt!==j.lane;if(ci?(Yn&Tt)===Tt:(h&Tt)===Tt){Tt!==0&&Tt===Nf&&(T_=!0),ct!==null&&(ct=ct.next={lane:0,tag:j.tag,payload:j.payload,callback:null,next:null});e:{Tt=n;var Ui=j,rh=a,ah=d;switch(Ui.tag){case cR:if(Ui=Ui.payload,typeof Ui=="function"){Up=!0;var qu=Ui.call(ah,pt,rh);if(Tt.mode&8){en(!0);try{Ui.call(ah,pt,rh)}finally{en(!1)}}Up=!1,pt=qu;break e}pt=Ui;break e;case R_:Tt.flags=Tt.flags&-65537|128;case uR:if(qu=Ui.payload,typeof qu=="function"){if(Up=!0,Ui=qu.call(ah,pt,rh),Tt.mode&8){en(!0);try{qu.call(ah,pt,rh)}finally{en(!1)}}Up=!1}else Ui=qu;if(Ui==null)break e;pt=Wa({},pt,Ui);break e;case AR:Cd=!0}}Tt=j.callback,Tt!==null&&(n.flags|=64,ci&&(n.flags|=8192),ci=v.callbacks,ci===null?v.callbacks=[Tt]:ci.push(Tt))}else ci={lane:Tt,tag:j.tag,payload:j.payload,callback:j.callback,next:null},ct===null?(Fe=ct=ci,ge=pt):ct=ct.next=ci,N|=Tt;if(j=j.next,j===null){if(j=v.shared.pending,j===null)break;ci=j,j=ci.next,ci.next=null,v.lastBaseUpdate=ci,v.shared.pending=null}}while(!0);ct===null&&(ge=pt),v.baseState=ge,v.firstBaseUpdate=Fe,v.lastBaseUpdate=ct,C===null&&(v.shared.lanes=0),Dd|=N,n.lanes=N,n.memoizedState=pt}N_=null}function Pa(n,a){if(typeof n!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+n);n.call(a)}function oc(n,a){var d=n.shared.hiddenCallbacks;if(d!==null)for(n.shared.hiddenCallbacks=null,n=0;n<d.length;n++)Pa(d[n],a)}function wu(n,a){var d=n.callbacks;if(d!==null)for(n.callbacks=null,n=0;n<d.length;n++)Pa(d[n],a)}function mt(n,a){var d=Rc;Ht(rv,d,n),Ht($p,a,n),Rc=d|a.baseLanes}function Os(n){Ht(rv,Rc,n),Ht($p,$p.current,n)}function uo(n){Rc=rv.current,ln($p,n),ln(rv,n)}function mn(){var n=Ne;Eu===null?Eu=[n]:Eu.push(n)}function qe(){var n=Ne;if(Eu!==null&&(SA++,Eu[SA]!==n)){var a=It(pn);if(!fR.has(a)&&(fR.add(a),Eu!==null)){for(var d="",h=0;h<=SA;h++){var v=Eu[h],C=h===SA?n:v;for(v=h+1+". "+v;30>v.length;)v+=" ";v+=C+`
107
- `,d+=v}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
108
-
109
- Previous render Next render
110
- ------------------------------------------------------
111
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112
- `,a,d)}}}function xa(n){n==null||lr(n)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ne,typeof n)}function ss(){var n=It(pn);hR.has(n)||(hR.add(n),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",n))}function Bn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
113
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
114
- 2. You might be breaking the Rules of Hooks
115
- 3. You might have more than one copy of React in the same app
116
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oi(n,a){if(Bm)return!1;if(a===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ne),!1;n.length!==a.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
117
-
118
- Previous: %s
119
- Incoming: %s`,Ne,"["+a.join(", ")+"]","["+n.join(", ")+"]");for(var d=0;d<a.length&&d<n.length;d++)if(!vs(n[d],a[d]))return!1;return!0}function mr(n,a,d,h,v,C){Id=C,pn=a,Eu=n!==null?n._debugHookTypes:null,SA=-1,Bm=n!==null&&n.type!==a.type,(Object.prototype.toString.call(d)==="[object AsyncFunction]"||Object.prototype.toString.call(d)==="[object AsyncGeneratorFunction]")&&(C=It(pn),U_.has(C)||(U_.add(C),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",C===null?"An unknown Component":"<"+C+">"))),a.memoizedState=null,a.updateQueue=null,a.lanes=0,be.H=n!==null&&n.memoizedState!==null?O_:Eu!==null?gR:k_,kf=C=(a.mode&8)!==Ir;var N=F_(d,h,v);if(kf=!1,Gp&&(N=Hl(a,d,h,v)),C){en(!0);try{N=Hl(a,d,h,v)}finally{en(!1)}}return ar(n,a),N}function ar(n,a){a._debugHookTypes=Eu,a.dependencies===null?DA!==null&&(a.dependencies={lanes:0,firstContext:null,_debugThenableState:DA}):a.dependencies._debugThenableState=DA,be.H=sv;var d=tr!==null&&tr.next!==null;if(Id=0,Eu=Ne=Fa=tr=pn=null,SA=-1,n!==null&&(n.flags&65011712)!==(a.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),av=!1,_m=0,DA=null,d)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");n===null||yo||(n=n.dependencies,n!==null&&Ri(n)&&(yo=!0)),iv?(iv=!1,n=!0):n=!1,n&&(a=It(a)||"Unknown",pR.has(a)||U_.has(a)||(pR.add(a),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Hl(n,a,d,h){pn=n;var v=0;do{if(Gp&&(DA=null),_m=0,Gp=!1,v>=U$)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(v+=1,Bm=!1,Fa=tr=null,n.updateQueue!=null){var C=n.updateQueue;C.lastEffect=null,C.events=null,C.stores=null,C.memoCache!=null&&(C.memoCache.index=0)}SA=-1,be.H=mR,C=F_(a,d,h)}while(Gp);return C}function Gl(){var n=be.H,a=n.useState()[0];return a=typeof a.then=="function"?jl(a):a,n=n.useState()[0],(tr!==null?tr.memoizedState:null)!==n&&(pn.flags|=1024),a}function ls(){var n=ov!==0;return ov=0,n}function fl(n,a,d){a.updateQueue=n.updateQueue,a.flags=(a.mode&16)!==Ir?a.flags&-402655237:a.flags&-2053,n.lanes&=~d}function us(n){if(av){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}av=!1}Id=0,Eu=Fa=tr=pn=null,SA=-1,Ne=null,Gp=!1,_m=ov=0,DA=null}function Rr(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fa===null?pn.memoizedState=Fa=n:Fa=Fa.next=n,Fa}function $n(){if(tr===null){var n=pn.alternate;n=n!==null?n.memoizedState:null}else n=tr.next;var a=Fa===null?pn.memoizedState:Fa.next;if(a!==null)Fa=a,tr=n;else{if(n===null)throw pn.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");tr=n,n={memoizedState:tr.memoizedState,baseState:tr.baseState,baseQueue:tr.baseQueue,queue:tr.queue,next:null},Fa===null?pn.memoizedState=Fa=n:Fa=Fa.next=n}return Fa}function Pl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function jl(n){var a=_m;return _m+=1,DA===null&&(DA=Fl()),n=Ml(DA,n,a),a=pn,(Fa===null?a.memoizedState:Fa.next)===null&&(a=a.alternate,be.H=a!==null&&a.memoizedState!==null?O_:k_),n}function bi(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return jl(n);if(n.$$typeof===Ko)return Wn(n)}throw Error("An unsupported type was passed to use(): "+String(n))}function Bo(n){var a=null,d=pn.updateQueue;if(d!==null&&(a=d.memoCache),a==null){var h=pn.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(a={data:h.data.map(function(v){return v.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),d===null&&(d=Pl(),pn.updateQueue=d),d.memoCache=a,d=a.data[a.index],d===void 0||Bm)for(d=a.data[a.index]=Array(n),h=0;h<n;h++)d[h]=Xg;else d.length!==n&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",d.length,n);return a.index++,d}function qr(n,a){return typeof a=="function"?a(n):a}function co(n,a,d){var h=Rr();if(d!==void 0){var v=d(a);if(kf){en(!0);try{d(a)}finally{en(!1)}}}else v=a;return h.memoizedState=h.baseState=v,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:v},h.queue=n,n=n.dispatch=yr.bind(null,pn,n),[h.memoizedState,n]}function pl(n){var a=$n();return Ru(a,tr,n)}function Ru(n,a,d){var h=n.queue;if(h===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");h.lastRenderedReducer=d;var v=n.baseQueue,C=h.pending;if(C!==null){if(v!==null){var N=v.next;v.next=C.next,C.next=N}a.baseQueue!==v&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=v=C,h.pending=null}if(C=n.baseState,v===null)n.memoizedState=C;else{a=v.next;var j=N=null,ge=null,Fe=a,ct=!1;do{var pt=Fe.lane&-536870913;if(pt!==Fe.lane?(Yn&pt)===pt:(Id&pt)===pt){var Tt=Fe.revertLane;if(Tt===0)ge!==null&&(ge=ge.next={lane:0,revertLane:0,action:Fe.action,hasEagerState:Fe.hasEagerState,eagerState:Fe.eagerState,next:null}),pt===Nf&&(ct=!0);else if((Id&Tt)===Tt){Fe=Fe.next,Tt===Nf&&(ct=!0);continue}else pt={lane:0,revertLane:Fe.revertLane,action:Fe.action,hasEagerState:Fe.hasEagerState,eagerState:Fe.eagerState,next:null},ge===null?(j=ge=pt,N=C):ge=ge.next=pt,pn.lanes|=Tt,Dd|=Tt;pt=Fe.action,kf&&d(C,pt),C=Fe.hasEagerState?Fe.eagerState:d(C,pt)}else Tt={lane:pt,revertLane:Fe.revertLane,action:Fe.action,hasEagerState:Fe.hasEagerState,eagerState:Fe.eagerState,next:null},ge===null?(j=ge=Tt,N=C):ge=ge.next=Tt,pn.lanes|=pt,Dd|=pt;Fe=Fe.next}while(Fe!==null&&Fe!==a);if(ge===null?N=C:ge.next=j,!vs(C,n.memoizedState)&&(yo=!0,ct&&(d=zp,d!==null)))throw d;n.memoizedState=C,n.baseState=N,n.baseQueue=ge,h.lastRenderedState=C}return v===null&&(h.lanes=0),[n.memoizedState,h.dispatch]}function Ao(n){var a=$n(),d=a.queue;if(d===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");d.lastRenderedReducer=n;var h=d.dispatch,v=d.pending,C=a.memoizedState;if(v!==null){d.pending=null;var N=v=v.next;do C=n(C,N.action),N=N.next;while(N!==v);vs(C,a.memoizedState)||(yo=!0),a.memoizedState=C,a.baseQueue===null&&(a.baseState=C),d.lastRenderedState=C}return[C,h]}function hl(n,a,d){var h=pn,v=Rr();if(Ei){if(d===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var C=d();Hp||C===d()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Hp=!0)}else{if(C=a(),Hp||(d=a(),vs(C,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Hp=!0)),Ar===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Yn&124)!==0||sc(h,a,C)}return v.memoizedState=C,d={value:C,getSnapshot:a},v.queue=d,ql(Fs.bind(null,h,d,n),[n]),h.flags|=2048,As(gu|no,$s(),Nu.bind(null,h,d,C,a),null),C}function Jl(n,a,d){var h=pn,v=$n(),C=Ei;if(C){if(d===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");d=d()}else if(d=a(),!Hp){var N=a();vs(d,N)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Hp=!0)}(N=!vs((tr||v).memoizedState,d))&&(v.memoizedState=d,yo=!0),v=v.queue;var j=Fs.bind(null,h,v,n);if(Qa(2048,no,j,[n]),v.getSnapshot!==a||N||Fa!==null&&Fa.memoizedState.tag&gu){if(h.flags|=2048,As(gu|no,$s(),Nu.bind(null,h,v,d,a),null),Ar===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");C||(Id&124)!==0||sc(h,a,d)}return d}function sc(n,a,d){n.flags|=16384,n={getSnapshot:a,value:d},a=pn.updateQueue,a===null?(a=Pl(),pn.updateQueue=a,a.stores=[n]):(d=a.stores,d===null?a.stores=[n]:d.push(n))}function Nu(n,a,d,h){a.value=d,a.getSnapshot=h,Vl(a)&&zs(n)}function Fs(n,a,d){return d(function(){Vl(a)&&zs(n)})}function Vl(n){var a=n.getSnapshot;n=n.value;try{var d=a();return!vs(n,d)}catch{return!0}}function zs(n){var a=wr(n,2);a!==null&&si(a,n,2)}function Ho(n){var a=Rr();if(typeof n=="function"){var d=n;if(n=d(),kf){en(!0);try{d()}finally{en(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:n},a}function gl(n){n=Ho(n);var a=n.queue,d=Po.bind(null,pn,a);return a.dispatch=d,[n.memoizedState,d]}function ml(n){var a=Rr();a.memoizedState=a.baseState=n;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=d,a=Cl.bind(null,pn,!0,d),d.dispatch=a,[n,a]}function xi(n,a){var d=$n();return Kl(d,tr,n,a)}function Kl(n,a,d,h){return n.baseState=d,Ru(n,tr,typeof h=="function"?h:qr)}function Tu(n,a){var d=$n();return tr!==null?Kl(d,tr,n,a):(d.baseState=n,[n,d.queue.dispatch])}function Er(n,a,d,h,v){if(wa(n))throw Error("Cannot update form state while rendering.");if(n=a.action,n!==null){var C={payload:v,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(N){C.listeners.push(N)}};be.T!==null?d(!0):C.isTransition=!1,h(C),d=a.pending,d===null?(C.next=a.pending=C,El(a,C)):(C.next=d.next,a.pending=d.next=C)}}function El(n,a){var d=a.action,h=a.payload,v=n.state;if(a.isTransition){var C=be.T,N={};be.T=N,be.T._updatedFibers=new Set;try{var j=d(v,h),ge=be.S;ge!==null&&ge(N,j),lc(n,a,j)}catch(Fe){or(n,a,Fe)}finally{be.T=C,C===null&&N._updatedFibers&&(n=N._updatedFibers.size,N._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{N=d(v,h),lc(n,a,N)}catch(Fe){or(n,a,Fe)}}function lc(n,a,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?(d.then(function(h){Zl(n,a,h)},function(h){return or(n,a,h)}),a.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Zl(n,a,d)}function Zl(n,a,d){a.status="fulfilled",a.value=d,Do(a),n.state=d,a=n.pending,a!==null&&(d=a.next,d===a?n.pending=null:(d=d.next,a.next=d,El(n,d)))}function or(n,a,d){var h=n.pending;if(n.pending=null,h!==null){h=h.next;do a.status="rejected",a.reason=d,Do(a),a=a.next;while(a!==h)}n.action=null}function Do(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Yl(n,a){return a}function Ms(n,a){if(Ei){var d=Ar.formState;if(d!==null){e:{var h=pn;if(Ei){if(Oa){var v=fd(Oa,xc);if(v){Oa=pd(v),h=E_(v);break e}}Ha(h)}h=!1}h&&(a=d[0])}}d=Rr(),d.memoizedState=d.baseState=a,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yl,lastRenderedState:a},d.queue=h,d=Po.bind(null,pn,h),h.dispatch=d,h=Ho(!1);var C=Cl.bind(null,pn,!1,h.queue);return h=Rr(),v={state:a,dispatch:null,action:n,pending:null},h.queue=v,d=Er.bind(null,pn,v,C,d),v.dispatch=d,h.memoizedState=n,[a,d,!1]}function Ls(n){var a=$n();return Wr(a,tr,n)}function Wr(n,a,d){if(a=Ru(n,a,Yl)[0],n=pl(qr)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var h=jl(a)}catch(N){throw N===Im?tv:N}else h=a;a=$n();var v=a.queue,C=v.dispatch;return d!==a.memoizedState&&(pn.flags|=2048,As(gu|no,$s(),cs.bind(null,v,d),null)),[h,C,n]}function cs(n,a){n.action=a}function sr(n){var a=$n(),d=tr;if(d!==null)return Wr(a,d,n);$n(),a=a.memoizedState,d=$n();var h=d.queue.dispatch;return d.memoizedState=n,[a,h,!1]}function As(n,a,d,h){return n={tag:n,create:d,deps:h,inst:a,next:null},a=pn.updateQueue,a===null&&(a=Pl(),pn.updateQueue=a),d=a.lastEffect,d===null?a.lastEffect=n.next=n:(h=d.next,d.next=n,n.next=h,a.lastEffect=n),n}function $s(){return{destroy:void 0,resource:void 0}}function Xn(n){var a=Rr();return n={current:n},a.memoizedState=n}function Hs(n,a,d,h){var v=Rr();h=h===void 0?null:h,pn.flags|=n,v.memoizedState=As(gu|a,$s(),d,h)}function Qa(n,a,d,h){var v=$n();h=h===void 0?null:h;var C=v.memoizedState.inst;tr!==null&&h!==null&&oi(h,tr.memoizedState.deps)?v.memoizedState=As(a,C,d,h):(pn.flags|=n,v.memoizedState=As(gu|a,C,d,h))}function ql(n,a){(pn.mode&16)!==Ir&&(pn.mode&64)===Ir?Hs(276826112,no,n,a):Hs(8390656,no,n,a)}function Gs(n,a){var d=4194308;return(pn.mode&16)!==Ir&&(d|=134217728),Hs(d,To,n,a)}function ja(n,a){if(typeof a=="function"){n=n();var d=a(n);return function(){typeof d=="function"?d():a(null)}}if(a!=null)return a.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}"),n=n(),a.current=n,function(){a.current=null}}function Wl(n,a,d){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),d=d!=null?d.concat([n]):null;var h=4194308;(pn.mode&16)!==Ir&&(h|=134217728),Hs(h,To,ja.bind(null,a,n),d)}function ds(n,a,d){typeof a!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",a!==null?typeof a:"null"),d=d!=null?d.concat([n]):null,Qa(4,To,ja.bind(null,a,n),d)}function yl(n,a){return Rr().memoizedState=[n,a===void 0?null:a],n}function Ja(n,a){var d=$n();a=a===void 0?null:a;var h=d.memoizedState;return a!==null&&oi(a,h[1])?h[0]:(d.memoizedState=[n,a],n)}function uc(n,a){var d=Rr();a=a===void 0?null:a;var h=n();if(kf){en(!0);try{n()}finally{en(!1)}}return d.memoizedState=[h,a],h}function jt(n,a){var d=$n();a=a===void 0?null:a;var h=d.memoizedState;if(a!==null&&oi(a,h[1]))return h[0];if(h=n(),kf){en(!0);try{n()}finally{en(!1)}}return d.memoizedState=[h,a],h}function Go(n,a){var d=Rr();return vl(d,n,a)}function Xr(n,a){var d=$n();return Zc(d,tr.memoizedState,n,a)}function fs(n,a){var d=$n();return tr===null?vl(d,n,a):Zc(d,tr.memoizedState,n,a)}function vl(n,a,d){return d===void 0||(Id&1073741824)!==0?n.memoizedState=a:(n.memoizedState=d,n=qa(),pn.lanes|=n,Dd|=n,d)}function Zc(n,a,d,h){return vs(d,a)?d:$p.current!==null?(n=vl(n,d,h),vs(n,a)||(yo=!0),n):(Id&42)===0?(yo=!0,n.memoizedState=d):(n=qa(),pn.lanes|=n,Dd|=n,a)}function Yc(n,a,d,h,v){var C=Ks();ur(C!==0&&8>C?C:8);var N=be.T,j={};be.T=j,Cl(n,!1,a,d),j._updatedFibers=new Set;try{var ge=v(),Fe=be.S;if(Fe!==null&&Fe(j,ge),ge!==null&&typeof ge=="object"&&typeof ge.then=="function"){var ct=Mi(ge,h);hi(n,a,ct,Wi(n))}else hi(n,a,h,Wi(n))}catch(pt){hi(n,a,{then:function(){},status:"rejected",reason:pt},Wi(n))}finally{ur(C),be.T=N,N===null&&j._updatedFibers&&(n=j._updatedFibers.size,j._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function qc(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:Zs,baseState:Zs,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:Zs},next:null};var d={};return a.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:d},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function Uu(){var n=Ho(!1);return n=Yc.bind(null,pn,n.queue,!0,!1),Rr().memoizedState=n,[!1,n]}function Xl(){var n=pl(qr)[0],a=$n().memoizedState;return[typeof n=="boolean"?n:jl(n),a]}function ei(){var n=Ao(qr)[0],a=$n().memoizedState;return[typeof n=="boolean"?n:jl(n),a]}function ea(){return Wn(wo)}function Va(){var n=Rr(),a=Ar.identifierPrefix;if(Ei){var d=wn,h=Jt;d=(h&~(1<<32-er(h)-1)).toString(32)+d,a="\xAB"+a+"R"+d,d=ov++,0<d&&(a+="H"+d.toString(32)),a+="\xBB"}else d=T$++,a="\xAB"+a+"r"+d.toString(32)+"\xBB";return n.memoizedState=a}function fo(){return Rr().memoizedState=Ps.bind(null,pn)}function Ps(n,a){for(var d=n.return;d!==null;){switch(d.tag){case 24:case 3:var h=Wi(d);n=$o(h);var v=os(d,n,h);v!==null&&(si(v,d,h),Us(v,d,h)),d=lo(),a!=null&&v!==null&&console.error("The seed argument is not enabled outside experimental channels."),n.payload={cache:d};return}d=d.return}}function yr(n,a,d){var h=arguments;typeof h[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),h=Wi(n);var v={lane:h,revertLane:0,action:d,hasEagerState:!1,eagerState:null,next:null};wa(n)?jo(a,v):(v=Qu(n,a,v,h),v!==null&&(si(v,n,h),So(v,a,h))),Et(n,h)}function Po(n,a,d){var h=arguments;typeof h[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),h=Wi(n),hi(n,a,d,h),Et(n,h)}function hi(n,a,d,h){var v={lane:h,revertLane:0,action:d,hasEagerState:!1,eagerState:null,next:null};if(wa(n))jo(a,v);else{var C=n.alternate;if(n.lanes===0&&(C===null||C.lanes===0)&&(C=a.lastRenderedReducer,C!==null)){var N=be.H;be.H=Zu;try{var j=a.lastRenderedState,ge=C(j,d);if(v.hasEagerState=!0,v.eagerState=ge,vs(ge,j))return Rs(n,a,v,0),Ar===null&&dl(),!1}catch{}finally{be.H=N}}if(d=Qu(n,a,v,h),d!==null)return si(d,n,h),So(d,a,h),!0}return!1}function Cl(n,a,d,h){if(be.T===null&&Nf===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),h={lane:2,revertLane:kl(),action:h,hasEagerState:!1,eagerState:null,next:null},wa(n)){if(a)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else a=Qu(n,d,h,2),a!==null&&si(a,n,2);Et(n,2)}function wa(n){var a=n.alternate;return n===pn||a!==null&&a===pn}function jo(n,a){Gp=av=!0;var d=n.pending;d===null?a.next=a:(a.next=d.next,d.next=a),n.pending=a}function So(n,a,d){if((d&4194048)!==0){var h=a.lanes;h&=n.pendingLanes,d|=h,a.lanes=d,An(n,d)}}function qi(n){var a=kn;return n!=null&&(kn=a===null?n:a.concat(n)),a}function Ka(n,a,d){for(var h=Object.keys(n.props),v=0;v<h.length;v++){var C=h[v];if(C!=="children"&&C!=="key"){a===null&&(a=mp(n,d.mode,0),a._debugInfo=kn,a.return=d),ht(a,function(N){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",N)},C);break}}}function Ra(n){var a=Dm;return Dm+=1,Pp===null&&(Pp=Fl()),Ml(Pp,n,a)}function Il(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Dn(n,a){throw a.$$typeof===da?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
120
- - Multiple copies of the "react" package is used.
121
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
122
- - A compiler tries to "inline" JSX instead of using the runtime.`):(n=Object.prototype.toString.call(a),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead."))}function Fn(n,a){var d=It(n)||"Component";NR[d]||(NR[d]=!0,a=a.displayName||a.name||"Component",n.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
123
- root.render(%s)`,a,a,a):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
124
- <%s>{%s}</%s>`,a,a,d,a,d))}function po(n,a){var d=It(n)||"Component";TR[d]||(TR[d]=!0,a=String(a),n.tag===3?console.error(`Symbols are not valid as a React child.
125
- root.render(%s)`,a):console.error(`Symbols are not valid as a React child.
126
- <%s>%s</%s>`,d,a,d))}function cc(n){function a(se,le){if(n){var de=se.deletions;de===null?(se.deletions=[le],se.flags|=16):de.push(le)}}function d(se,le){if(!n)return null;for(;le!==null;)a(se,le),le=le.sibling;return null}function h(se){for(var le=new Map;se!==null;)se.key!==null?le.set(se.key,se):le.set(se.index,se),se=se.sibling;return le}function v(se,le){return se=Hu(se,le),se.index=0,se.sibling=null,se}function C(se,le,de){return se.index=de,n?(de=se.alternate,de!==null?(de=de.index,de<le?(se.flags|=67108866,le):de):(se.flags|=67108866,le)):(se.flags|=1048576,le)}function N(se){return n&&se.alternate===null&&(se.flags|=67108866),se}function j(se,le,de,Le){return le===null||le.tag!==6?(le=Pg(de,se.mode,Le),le.return=se,le._debugOwner=se,le._debugTask=se._debugTask,le._debugInfo=kn,le):(le=v(le,de),le.return=se,le._debugInfo=kn,le)}function ge(se,le,de,Le){var kt=de.type;return kt===dA?(le=ct(se,le,de.props.children,Le,de.key),Ka(de,le,se),le):le!==null&&(le.elementType===kt||Ny(le,de)||typeof kt=="object"&&kt!==null&&kt.$$typeof===mo&&_d(kt)===le.type)?(le=v(le,de.props),Il(le,de),le.return=se,le._debugOwner=de._owner,le._debugInfo=kn,le):(le=mp(de,se.mode,Le),Il(le,de),le.return=se,le._debugInfo=kn,le)}function Fe(se,le,de,Le){return le===null||le.tag!==4||le.stateNode.containerInfo!==de.containerInfo||le.stateNode.implementation!==de.implementation?(le=jg(de,se.mode,Le),le.return=se,le._debugInfo=kn,le):(le=v(le,de.children||[]),le.return=se,le._debugInfo=kn,le)}function ct(se,le,de,Le,kt){return le===null||le.tag!==7?(le=yc(de,se.mode,Le,kt),le.return=se,le._debugOwner=se,le._debugTask=se._debugTask,le._debugInfo=kn,le):(le=v(le,de),le.return=se,le._debugInfo=kn,le)}function pt(se,le,de){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return le=Pg(""+le,se.mode,de),le.return=se,le._debugOwner=se,le._debugTask=se._debugTask,le._debugInfo=kn,le;if(typeof le=="object"&&le!==null){switch(le.$$typeof){case vc:return de=mp(le,se.mode,de),Il(de,le),de.return=se,se=qi(le._debugInfo),de._debugInfo=kn,kn=se,de;case AA:return le=jg(le,se.mode,de),le.return=se,le._debugInfo=kn,le;case mo:var Le=qi(le._debugInfo);return le=_d(le),se=pt(se,le,de),kn=Le,se}if(lr(le)||k(le))return de=yc(le,se.mode,de,null),de.return=se,de._debugOwner=se,de._debugTask=se._debugTask,se=qi(le._debugInfo),de._debugInfo=kn,kn=se,de;if(typeof le.then=="function")return Le=qi(le._debugInfo),se=pt(se,Ra(le),de),kn=Le,se;if(le.$$typeof===Ko)return pt(se,Yr(se,le),de);Dn(se,le)}return typeof le=="function"&&Fn(se,le),typeof le=="symbol"&&po(se,le),null}function Tt(se,le,de,Le){var kt=le!==null?le.key:null;if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return kt!==null?null:j(se,le,""+de,Le);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case vc:return de.key===kt?(kt=qi(de._debugInfo),se=ge(se,le,de,Le),kn=kt,se):null;case AA:return de.key===kt?Fe(se,le,de,Le):null;case mo:return kt=qi(de._debugInfo),de=_d(de),se=Tt(se,le,de,Le),kn=kt,se}if(lr(de)||k(de))return kt!==null?null:(kt=qi(de._debugInfo),se=ct(se,le,de,Le,null),kn=kt,se);if(typeof de.then=="function")return kt=qi(de._debugInfo),se=Tt(se,le,Ra(de),Le),kn=kt,se;if(de.$$typeof===Ko)return Tt(se,le,Yr(se,de),Le);Dn(se,de)}return typeof de=="function"&&Fn(se,de),typeof de=="symbol"&&po(se,de),null}function ci(se,le,de,Le,kt){if(typeof Le=="string"&&Le!==""||typeof Le=="number"||typeof Le=="bigint")return se=se.get(de)||null,j(le,se,""+Le,kt);if(typeof Le=="object"&&Le!==null){switch(Le.$$typeof){case vc:return de=se.get(Le.key===null?de:Le.key)||null,se=qi(Le._debugInfo),le=ge(le,de,Le,kt),kn=se,le;case AA:return se=se.get(Le.key===null?de:Le.key)||null,Fe(le,se,Le,kt);case mo:var gi=qi(Le._debugInfo);return Le=_d(Le),le=ci(se,le,de,Le,kt),kn=gi,le}if(lr(Le)||k(Le))return de=se.get(de)||null,se=qi(Le._debugInfo),le=ct(le,de,Le,kt,null),kn=se,le;if(typeof Le.then=="function")return gi=qi(Le._debugInfo),le=ci(se,le,de,Ra(Le),kt),kn=gi,le;if(Le.$$typeof===Ko)return ci(se,le,de,Yr(le,Le),kt);Dn(le,Le)}return typeof Le=="function"&&Fn(le,Le),typeof Le=="symbol"&&po(le,Le),null}function Ui(se,le,de,Le){if(typeof de!="object"||de===null)return Le;switch(de.$$typeof){case vc:case AA:V(se,le,de);var kt=de.key;if(typeof kt!="string")break;if(Le===null){Le=new Set,Le.add(kt);break}if(!Le.has(kt)){Le.add(kt);break}ht(le,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",kt)});break;case mo:de=_d(de),Ui(se,le,de,Le)}return Le}function rh(se,le,de,Le){for(var kt=null,gi=null,sn=null,Cn=le,Sn=le=0,_r=null;Cn!==null&&Sn<de.length;Sn++){Cn.index>Sn?(_r=Cn,Cn=null):_r=Cn.sibling;var ma=Tt(se,Cn,de[Sn],Le);if(ma===null){Cn===null&&(Cn=_r);break}kt=Ui(se,ma,de[Sn],kt),n&&Cn&&ma.alternate===null&&a(se,Cn),le=C(ma,le,Sn),sn===null?gi=ma:sn.sibling=ma,sn=ma,Cn=_r}if(Sn===de.length)return d(se,Cn),Ei&&zt(se,Sn),gi;if(Cn===null){for(;Sn<de.length;Sn++)Cn=pt(se,de[Sn],Le),Cn!==null&&(kt=Ui(se,Cn,de[Sn],kt),le=C(Cn,le,Sn),sn===null?gi=Cn:sn.sibling=Cn,sn=Cn);return Ei&&zt(se,Sn),gi}for(Cn=h(Cn);Sn<de.length;Sn++)_r=ci(Cn,se,Sn,de[Sn],Le),_r!==null&&(kt=Ui(se,_r,de[Sn],kt),n&&_r.alternate!==null&&Cn.delete(_r.key===null?Sn:_r.key),le=C(_r,le,Sn),sn===null?gi=_r:sn.sibling=_r,sn=_r);return n&&Cn.forEach(function(QA){return a(se,QA)}),Ei&&zt(se,Sn),gi}function ah(se,le,de,Le){if(de==null)throw Error("An iterable object provided no iterator.");for(var kt=null,gi=null,sn=le,Cn=le=0,Sn=null,_r=null,ma=de.next();sn!==null&&!ma.done;Cn++,ma=de.next()){sn.index>Cn?(Sn=sn,sn=null):Sn=sn.sibling;var QA=Tt(se,sn,ma.value,Le);if(QA===null){sn===null&&(sn=Sn);break}_r=Ui(se,QA,ma.value,_r),n&&sn&&QA.alternate===null&&a(se,sn),le=C(QA,le,Cn),gi===null?kt=QA:gi.sibling=QA,gi=QA,sn=Sn}if(ma.done)return d(se,sn),Ei&&zt(se,Cn),kt;if(sn===null){for(;!ma.done;Cn++,ma=de.next())sn=pt(se,ma.value,Le),sn!==null&&(_r=Ui(se,sn,ma.value,_r),le=C(sn,le,Cn),gi===null?kt=sn:gi.sibling=sn,gi=sn);return Ei&&zt(se,Cn),kt}for(sn=h(sn);!ma.done;Cn++,ma=de.next())Sn=ci(sn,se,Cn,ma.value,Le),Sn!==null&&(_r=Ui(se,Sn,ma.value,_r),n&&Sn.alternate!==null&&sn.delete(Sn.key===null?Cn:Sn.key),le=C(Sn,le,Cn),gi===null?kt=Sn:gi.sibling=Sn,gi=Sn);return n&&sn.forEach(function(V$){return a(se,V$)}),Ei&&zt(se,Cn),kt}function qu(se,le,de,Le){if(typeof de=="object"&&de!==null&&de.type===dA&&de.key===null&&(Ka(de,null,se),de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case vc:var kt=qi(de._debugInfo);e:{for(var gi=de.key;le!==null;){if(le.key===gi){if(gi=de.type,gi===dA){if(le.tag===7){d(se,le.sibling),Le=v(le,de.props.children),Le.return=se,Le._debugOwner=de._owner,Le._debugInfo=kn,Ka(de,Le,se),se=Le;break e}}else if(le.elementType===gi||Ny(le,de)||typeof gi=="object"&&gi!==null&&gi.$$typeof===mo&&_d(gi)===le.type){d(se,le.sibling),Le=v(le,de.props),Il(Le,de),Le.return=se,Le._debugOwner=de._owner,Le._debugInfo=kn,se=Le;break e}d(se,le);break}else a(se,le);le=le.sibling}de.type===dA?(Le=yc(de.props.children,se.mode,Le,de.key),Le.return=se,Le._debugOwner=se,Le._debugTask=se._debugTask,Le._debugInfo=kn,Ka(de,Le,se),se=Le):(Le=mp(de,se.mode,Le),Il(Le,de),Le.return=se,Le._debugInfo=kn,se=Le)}return se=N(se),kn=kt,se;case AA:e:{for(kt=de,de=kt.key;le!==null;){if(le.key===de)if(le.tag===4&&le.stateNode.containerInfo===kt.containerInfo&&le.stateNode.implementation===kt.implementation){d(se,le.sibling),Le=v(le,kt.children||[]),Le.return=se,se=Le;break e}else{d(se,le);break}else a(se,le);le=le.sibling}Le=jg(kt,se.mode,Le),Le.return=se,se=Le}return N(se);case mo:return kt=qi(de._debugInfo),de=_d(de),se=qu(se,le,de,Le),kn=kt,se}if(lr(de))return kt=qi(de._debugInfo),se=rh(se,le,de,Le),kn=kt,se;if(k(de)){if(kt=qi(de._debugInfo),gi=k(de),typeof gi!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var sn=gi.call(de);return sn===de?(se.tag!==0||Object.prototype.toString.call(se.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(sn)!=="[object Generator]")&&(wR||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),wR=!0):de.entries!==gi||M_||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M_=!0),se=ah(se,le,sn,Le),kn=kt,se}if(typeof de.then=="function")return kt=qi(de._debugInfo),se=qu(se,le,Ra(de),Le),kn=kt,se;if(de.$$typeof===Ko)return qu(se,le,Yr(se,de),Le);Dn(se,de)}return typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint"?(kt=""+de,le!==null&&le.tag===6?(d(se,le.sibling),Le=v(le,kt),Le.return=se,se=Le):(d(se,le),Le=Pg(kt,se.mode,Le),Le.return=se,Le._debugOwner=se,Le._debugTask=se._debugTask,Le._debugInfo=kn,se=Le),N(se)):(typeof de=="function"&&Fn(se,de),typeof de=="symbol"&&po(se,de),d(se,le))}return function(se,le,de,Le){var kt=kn;kn=null;try{Dm=0;var gi=qu(se,le,de,Le);return Pp=null,gi}catch(_r){if(_r===Im||_r===tv)throw _r;var sn=I(29,_r,null,se.mode);sn.lanes=Le,sn.return=se;var Cn=sn._debugInfo=kn;if(sn._debugOwner=se._debugOwner,sn._debugTask=se._debugTask,Cn!=null){for(var Sn=Cn.length-1;0<=Sn;Sn--)if(typeof Cn[Sn].stack=="string"){sn._debugOwner=Cn[Sn],sn._debugTask=Cn[Sn].debugTask;break}}return sn}finally{kn=kt}}}function Aa(n){var a=n.alternate;Ht(io,io.current&Jp,n),Ht(yu,n,n),wc===null&&(a===null||$p.current!==null||a.memoizedState!==null)&&(wc=n)}function A(n){if(n.tag===22){if(Ht(io,io.current,n),Ht(yu,n,n),wc===null){var a=n.alternate;a!==null&&a.memoizedState!==null&&(wc=n)}}else g(n)}function g(n){Ht(io,io.current,n),Ht(yu,yu.current,n)}function B(n){ln(yu,n),wc===n&&(wc=null),ln(io,n)}function Q(n){for(var a=n;a!==null;){if(a.tag===13){var d=a.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||Bc(d)||Ju(d)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function T(n){if(n!==null&&typeof n!="function"){var a=String(n);jR.has(a)||(jR.add(a),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",n))}}function G(n,a,d,h){var v=n.memoizedState,C=d(h,v);if(n.mode&8){en(!0);try{C=d(h,v)}finally{en(!1)}}C===void 0&&(a=He(a)||"Component",$R.has(a)||($R.add(a),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))),v=C==null?v:Wa({},v,C),n.memoizedState=v,n.lanes===0&&(n.updateQueue.baseState=v)}function Z(n,a,d,h,v,C,N){var j=n.stateNode;if(typeof j.shouldComponentUpdate=="function"){if(d=j.shouldComponentUpdate(h,C,N),n.mode&8){en(!0);try{d=j.shouldComponentUpdate(h,C,N)}finally{en(!1)}}return d===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",He(a)||"Component"),d}return a.prototype&&a.prototype.isPureReactComponent?!ws(d,h)||!ws(v,C):!0}function W(n,a,d,h){var v=a.state;typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(d,h),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(d,h),a.state!==v&&(n=It(n)||"Component",OR.has(n)||(OR.add(n),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",n)),L_.enqueueReplaceState(a,a.state,null))}function fe(n,a){var d=a;if("ref"in a){d={};for(var h in a)h!=="ref"&&(d[h]=a[h])}if(n=n.defaultProps){d===a&&(d=Wa({},d));for(var v in n)d[v]===void 0&&(d[v]=n[v])}return d}function De(n,a){try{Vp=a.source?It(a.source):null,$_=null;var d=a.value;if(be.actQueue!==null)be.thrownErrors.push(d);else{var h=n.onUncaughtError;h(d,{componentStack:a.stack})}}catch(v){setTimeout(function(){throw v})}}function we(n,a,d){try{Vp=d.source?It(d.source):null,$_=It(a);var h=n.onCaughtError;h(d.value,{componentStack:d.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function We(n,a,d){return d=$o(d),d.tag=R_,d.payload={element:null},d.callback=function(){ht(a.source,De,n,a)},d}function tt(n){return n=$o(n),n.tag=R_,n}function Zt(n,a,d,h){var v=d.type.getDerivedStateFromError;if(typeof v=="function"){var C=h.value;n.payload=function(){return v(C)},n.callback=function(){Ty(d),ht(h.source,we,a,d,h)}}var N=d.stateNode;N!==null&&typeof N.componentDidCatch=="function"&&(n.callback=function(){Ty(d),ht(h.source,we,a,d,h),typeof v!="function"&&(bd===null?bd=new Set([this]):bd.add(this)),k$(this,h),typeof v=="function"||(d.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",It(d)||"Unknown")})}function _i(n,a,d,h,v){if(d.flags|=32768,p&&ff(n,v),h!==null&&typeof h=="object"&&typeof h.then=="function"){if(a=d.alternate,a!==null&&ai(a,d,v,!0),Ei&&(BA=!0),d=yu.current,d!==null){switch(d.tag){case 13:return wc===null?Rg():d.alternate===null&&aa===xA&&(aa=j_),d.flags&=-257,d.flags|=65536,d.lanes=v,h===nv?d.flags|=16384:(a=d.updateQueue,a===null?d.updateQueue=new Set([h]):a.add(h),df(n,h,v)),!1;case 22:return d.flags|=65536,h===nv?d.flags|=16384:(a=d.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([h])},d.updateQueue=a):(d=a.retryQueue,d===null?a.retryQueue=new Set([h]):d.add(h)),df(n,h,v)),!1}throw Error("Unexpected Suspense handler tag ("+d.tag+"). This is a bug in React.")}return df(n,h,v),Rg(),!1}if(Ei)return BA=!0,a=yu.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=v,h!==C_&&Wt(Oi(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:h}),d))):(h!==C_&&Wt(Oi(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:h}),d)),n=n.current.alternate,n.flags|=65536,v&=-v,n.lanes|=v,h=Oi(h,d),v=We(n.stateNode,h,v),ks(n,v),aa!==Of&&(aa=Wp)),!1;var C=Oi(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:h}),d);if(Nm===null?Nm=[C]:Nm.push(C),aa!==Of&&(aa=Wp),a===null)return!0;h=Oi(h,d),d=a;do{switch(d.tag){case 3:return d.flags|=65536,n=v&-v,d.lanes|=n,n=We(d.stateNode,h,n),ks(d,n),!1;case 1:if(a=d.type,C=d.stateNode,(d.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||C!==null&&typeof C.componentDidCatch=="function"&&(bd===null||!bd.has(C))))return d.flags|=65536,v&=-v,d.lanes|=v,v=tt(v),Zt(v,n,d,h),ks(d,v),!1}d=d.return}while(d!==null);return!1}function St(n,a,d,h){a.child=n===null?UR(a,null,d,h):jp(a,n.child,d,h)}function xn(n,a,d,h,v){d=d.render;var C=a.ref;if("ref"in h){var N={};for(var j in h)j!=="ref"&&(N[j]=h[j])}else N=h;return Zr(a),gt(a),h=mr(n,a,d,N,C,v),j=ls(),vn(),n!==null&&!yo?(fl(n,a,v),Js(n,a,v)):(Ei&&j&&Jr(a),a.flags|=1,St(n,a,h,v),a.child)}function Hn(n,a,d,h,v){if(n===null){var C=d.type;return typeof C=="function"&&!Hg(C)&&C.defaultProps===void 0&&d.compare===null?(d=cA(C),a.tag=15,a.type=d,nf(a,C),Gn(n,a,d,h,v)):(n=Gg(d.type,null,h,a,a.mode,v),n.ref=a.ref,n.return=a,a.child=n)}if(C=n.child,!Fu(n,v)){var N=C.memoizedProps;if(d=d.compare,d=d!==null?d:ws,d(N,h)&&n.ref===a.ref)return Js(n,a,v)}return a.flags|=1,n=Hu(C,h),n.ref=a.ref,n.return=a,a.child=n}function Gn(n,a,d,h,v){if(n!==null){var C=n.memoizedProps;if(ws(C,h)&&n.ref===a.ref&&a.type===n.type)if(yo=!1,a.pendingProps=h=C,Fu(n,v))(n.flags&131072)!==0&&(yo=!0);else return a.lanes=n.lanes,Js(n,a,v)}return js(n,a,d,h,v)}function ps(n,a,d){var h=a.pendingProps,v=h.children,C=n!==null?n.memoizedState:null;if(h.mode==="hidden"){if((a.flags&128)!==0){if(h=C!==null?C.baseLanes|d:d,n!==null){for(v=a.child=n.child,C=0;v!==null;)C=C|v.lanes|v.childLanes,v=v.sibling;a.childLanes=C&~h}else a.childLanes=0,a.child=null;return ku(n,a,h,d)}if((d&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&as(a,C!==null?C.cachePool:null),C!==null?mt(a,C):Os(a),A(a);else return a.lanes=a.childLanes=536870912,ku(n,a,C!==null?C.baseLanes|d:d,d)}else C!==null?(as(a,C.cachePool),mt(a,C),g(a),a.memoizedState=null):(n!==null&&as(a,null),Os(a),g(a));return St(n,a,v,d),a.child}function ku(n,a,d,h){var v=Ol();return v=v===null?null:{parent:ta?ra._currentValue:ra._currentValue2,pool:v},a.memoizedState={baseLanes:d,cachePool:v},n!==null&&as(a,null),Os(a),A(a),n!==null&&ai(n,a,h,!0),null}function Jo(n,a){var d=a.ref;if(d===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(n===null||n.ref!==d)&&(a.flags|=4194816)}}function js(n,a,d,h,v){if(d.prototype&&typeof d.prototype.render=="function"){var C=He(d)||"Unknown";KR[C]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",C,C),KR[C]=!0)}return a.mode&8&&Ku.recordLegacyContextWarning(a,null),n===null&&(nf(a,a.type),d.contextTypes&&(C=He(d)||"Unknown",YR[C]||(YR[C]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",C)))),Zr(a),gt(a),d=mr(n,a,d,h,void 0,v),h=ls(),vn(),n!==null&&!yo?(fl(n,a,v),Js(n,a,v)):(Ei&&h&&Jr(a),a.flags|=1,St(n,a,d,v),a.child)}function Na(n,a,d,h,v,C){return Zr(a),gt(a),SA=-1,Bm=n!==null&&n.type!==a.type,a.updateQueue=null,d=Hl(a,h,d,v),ar(n,a),h=ls(),vn(),n!==null&&!yo?(fl(n,a,C),Js(n,a,C)):(Ei&&h&&Jr(a),a.flags|=1,St(n,a,d,C),a.child)}function Ou(n,a,d,h,v){switch(y(a)){case!1:var C=a.stateNode,N=new a.type(a.memoizedProps,C.context).state;C.updater.enqueueSetState(C,N,null);break;case!0:a.flags|=128,a.flags|=65536,C=Error("Simulated error coming from DevTools");var j=v&-v;if(a.lanes|=j,N=Ar,N===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");j=tt(j),Zt(j,N,a,Oi(C,a)),ks(a,j)}if(Zr(a),a.stateNode===null){if(N=cu,C=d.contextType,"contextType"in d&&C!==null&&(C===void 0||C.$$typeof!==Ko)&&!PR.has(d)&&(PR.add(d),j=C===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof C!="object"?" However, it is set to a "+typeof C+".":C.$$typeof===Ic?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(C).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",He(d)||"Component",j)),typeof C=="object"&&C!==null&&(N=Wn(C)),C=new d(h,N),a.mode&8){en(!0);try{C=new d(h,N)}finally{en(!1)}}if(N=a.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,C.updater=L_,a.stateNode=C,C._reactInternals=a,C._reactInternalInstance=kR,typeof d.getDerivedStateFromProps=="function"&&N===null&&(N=He(d)||"Component",FR.has(N)||(FR.add(N),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",N,C.state===null?"null":"undefined",N))),typeof d.getDerivedStateFromProps=="function"||typeof C.getSnapshotBeforeUpdate=="function"){var ge=j=N=null;if(typeof C.componentWillMount=="function"&&C.componentWillMount.__suppressDeprecationWarning!==!0?N="componentWillMount":typeof C.UNSAFE_componentWillMount=="function"&&(N="UNSAFE_componentWillMount"),typeof C.componentWillReceiveProps=="function"&&C.componentWillReceiveProps.__suppressDeprecationWarning!==!0?j="componentWillReceiveProps":typeof C.UNSAFE_componentWillReceiveProps=="function"&&(j="UNSAFE_componentWillReceiveProps"),typeof C.componentWillUpdate=="function"&&C.componentWillUpdate.__suppressDeprecationWarning!==!0?ge="componentWillUpdate":typeof C.UNSAFE_componentWillUpdate=="function"&&(ge="UNSAFE_componentWillUpdate"),N!==null||j!==null||ge!==null){C=He(d)||"Component";var Fe=typeof d.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";MR.has(C)||(MR.add(C),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
127
-
128
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
129
-
130
- The above lifecycles should be removed. Learn more about this warning here:
131
- https://react.dev/link/unsafe-component-lifecycles`,C,Fe,N!==null?`
132
- `+N:"",j!==null?`
133
- `+j:"",ge!==null?`
134
- `+ge:""))}}C=a.stateNode,N=He(d)||"Component",C.render||(d.prototype&&typeof d.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",N):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",N)),!C.getInitialState||C.getInitialState.isReactClassApproved||C.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",N),C.getDefaultProps&&!C.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",N),C.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",N),d.childContextTypes&&!GR.has(d)&&(GR.add(d),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",N)),d.contextTypes&&!HR.has(d)&&(HR.add(d),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",N)),typeof C.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",N),d.prototype&&d.prototype.isPureReactComponent&&typeof C.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",He(d)||"A pure component"),typeof C.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",N),typeof C.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",N),typeof C.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",N),typeof C.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",N),j=C.props!==h,C.props!==void 0&&j&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",N),C.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",N,N),typeof C.getSnapshotBeforeUpdate!="function"||typeof C.componentDidUpdate=="function"||zR.has(d)||(zR.add(d),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",He(d))),typeof C.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",N),typeof C.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",N),typeof d.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",N),(j=C.state)&&(typeof j!="object"||lr(j))&&console.error("%s.state: must be set to an object or null",N),typeof C.getChildContext=="function"&&typeof d.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",N),C=a.stateNode,C.props=h,C.state=a.memoizedState,C.refs={},Ns(a),N=d.contextType,C.context=typeof N=="object"&&N!==null?Wn(N):cu,C.state===h&&(N=He(d)||"Component",LR.has(N)||(LR.add(N),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",N))),a.mode&8&&Ku.recordLegacyContextWarning(a,C),Ku.recordUnsafeLifecycleWarnings(a,C),C.state=a.memoizedState,N=d.getDerivedStateFromProps,typeof N=="function"&&(G(a,d,N,h),C.state=a.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof C.getSnapshotBeforeUpdate=="function"||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(N=C.state,typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount(),N!==C.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",It(a)||"Component"),L_.enqueueReplaceState(C,C.state,null)),Qe(a,h,C,v),ba(),C.state=a.memoizedState),typeof C.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&16)!==Ir&&(a.flags|=134217728),C=!0}else if(n===null){C=a.stateNode;var ct=a.memoizedProps;j=fe(d,ct),C.props=j;var pt=C.context;ge=d.contextType,N=cu,typeof ge=="object"&&ge!==null&&(N=Wn(ge)),Fe=d.getDerivedStateFromProps,ge=typeof Fe=="function"||typeof C.getSnapshotBeforeUpdate=="function",ct=a.pendingProps!==ct,ge||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(ct||pt!==N)&&W(a,C,h,N),Cd=!1;var Tt=a.memoizedState;C.state=Tt,Qe(a,h,C,v),ba(),pt=a.memoizedState,ct||Tt!==pt||Cd?(typeof Fe=="function"&&(G(a,d,Fe,h),pt=a.memoizedState),(j=Cd||Z(a,d,j,h,Tt,pt,N))?(ge||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&16)!==Ir&&(a.flags|=134217728)):(typeof C.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&16)!==Ir&&(a.flags|=134217728),a.memoizedProps=h,a.memoizedState=pt),C.props=h,C.state=pt,C.context=N,C=j):(typeof C.componentDidMount=="function"&&(a.flags|=4194308),(a.mode&16)!==Ir&&(a.flags|=134217728),C=!1)}else{C=a.stateNode,Ts(n,a),N=a.memoizedProps,ge=fe(d,N),C.props=ge,Fe=a.pendingProps,Tt=C.context,pt=d.contextType,j=cu,typeof pt=="object"&&pt!==null&&(j=Wn(pt)),ct=d.getDerivedStateFromProps,(pt=typeof ct=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(N!==Fe||Tt!==j)&&W(a,C,h,j),Cd=!1,Tt=a.memoizedState,C.state=Tt,Qe(a,h,C,v),ba();var ci=a.memoizedState;N!==Fe||Tt!==ci||Cd||n!==null&&n.dependencies!==null&&Ri(n.dependencies)?(typeof ct=="function"&&(G(a,d,ct,h),ci=a.memoizedState),(ge=Cd||Z(a,d,ge,h,Tt,ci,j)||n!==null&&n.dependencies!==null&&Ri(n.dependencies))?(pt||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(h,ci,j),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(h,ci,j)),typeof C.componentDidUpdate=="function"&&(a.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof C.componentDidUpdate!="function"||N===n.memoizedProps&&Tt===n.memoizedState||(a.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||N===n.memoizedProps&&Tt===n.memoizedState||(a.flags|=1024),a.memoizedProps=h,a.memoizedState=ci),C.props=h,C.state=ci,C.context=j,C=ge):(typeof C.componentDidUpdate!="function"||N===n.memoizedProps&&Tt===n.memoizedState||(a.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||N===n.memoizedProps&&Tt===n.memoizedState||(a.flags|=1024),C=!1)}if(j=C,Jo(n,a),N=(a.flags&128)!==0,j||N){if(j=a.stateNode,rs(a),N&&typeof d.getDerivedStateFromError!="function")d=null,Xs=-1;else{if(gt(a),d=vR(j),a.mode&8){en(!0);try{vR(j)}finally{en(!1)}}vn()}a.flags|=1,n!==null&&N?(a.child=jp(a,n.child,null,v),a.child=jp(a,null,d,v)):St(n,a,d,v),a.memoizedState=j.state,n=a.child}else n=Js(n,a,v);return v=a.stateNode,C&&v.props!==h&&(Kp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",It(a)||"a component"),Kp=!0),n}function YA(n,a,d,h){return fi(),a.flags|=256,St(n,a,d,h),a.child}function nf(n,a){a&&a.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
135
- %s.childContextTypes = ...`,a.displayName||a.name||"Component"),typeof a.getDerivedStateFromProps=="function"&&(n=He(a)||"Unknown",qR[n]||(console.error("%s: Function components do not support getDerivedStateFromProps.",n),qR[n]=!0)),typeof a.contextType=="object"&&a.contextType!==null&&(a=He(a)||"Unknown",ZR[a]||(console.error("%s: Function components do not support contextType.",a),ZR[a]=!0))}function qA(n){return{baseLanes:n,cachePool:Qr()}}function Wc(n,a,d){return n=n!==null?n.childLanes&~d:0,a&&(n|=Ql),n}function WA(n,a,d){var h=a.pendingProps;f(a)&&(a.flags|=128);var v=!1,C=(a.flags&128)!==0,N;if((N=C)||(N=n!==null&&n.memoizedState===null?!1:(io.current&Sm)!==0),N&&(v=!0,a.flags&=-129),N=(a.flags&32)!==0,a.flags&=-33,n===null){if(Ei){if(v?Aa(a):g(a),Ei){var j=Oa,ge;(ge=!j)||(ge=qs(j,xc),ge!==null?(fr(),a.memoizedState={dehydrated:ge,treeContext:Si!==null?{id:Jt,overflow:wn}:null,retryLane:536870912,hydrationErrors:null},C=I(18,null,null,Ir),C.stateNode=ge,C.return=a,a.child=C,ys=a,Oa=null,ge=!0):ge=!1,ge=!ge),ge&&(ca(a,j),Ha(a))}if(j=a.memoizedState,j!==null&&(j=j.dehydrated,j!==null))return Ju(j)?a.lanes=32:a.lanes=536870912,null;B(a)}return j=h.children,h=h.fallback,v?(g(a),v=a.mode,j=tu({mode:"hidden",children:j},v),h=yc(h,v,d,null),j.return=a,h.return=a,j.sibling=h,a.child=j,v=a.child,v.memoizedState=qA(d),v.childLanes=Wc(n,N,d),a.memoizedState=G_,h):(Aa(a),eu(a,j))}if(ge=n.memoizedState,ge!==null&&(j=ge.dehydrated,j!==null)){if(C)a.flags&256?(Aa(a),a.flags&=-257,a=XA(n,a,d)):a.memoizedState!==null?(g(a),a.child=n.child,a.flags|=128,a=null):(g(a),v=h.fallback,j=a.mode,h=tu({mode:"visible",children:h.children},j),v=yc(v,j,d,null),v.flags|=2,h.return=a,v.return=a,h.sibling=v,a.child=h,jp(a,n.child,null,d),h=a.child,h.memoizedState=qA(d),h.childLanes=Wc(n,N,d),a.memoizedState=G_,a=v);else if(Aa(a),Ei&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Ju(j))j=Sp(j),N=j.digest,v=j.message,h=j.stack,j=j.componentStack,v=Error(v||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),v.stack=h||"",v.digest=N,N=j===void 0?null:j,h={value:v,source:null,stack:N},typeof N=="string"&&IA.set(v,h),Wt(h),a=XA(n,a,d);else if(yo||ai(n,a,d,!1),N=(d&n.childLanes)!==0,yo||N){if(N=Ar,N!==null&&(h=d&-d,h=(h&42)!==0?1:Jn(h),h=(h&(N.suspendedLanes|d))!==0?0:h,h!==0&&h!==ge.retryLane))throw ge.retryLane=h,wr(n,h),si(N,n,h),VR;Bc(j)||Rg(),a=XA(n,a,d)}else Bc(j)?(a.flags|=192,a.child=n.child,a=null):(n=ge.treeContext,na&&(Oa=hd(j),ys=a,Ei=!0,wf=null,BA=!1,pu=null,xc=!1,n!==null&&(fr(),Ze[Ot++]=Jt,Ze[Ot++]=wn,Ze[Ot++]=Si,Jt=n.id,wn=n.overflow,Si=a)),a=eu(a,h.children),a.flags|=4096);return a}return v?(g(a),v=h.fallback,j=a.mode,ge=n.child,C=ge.sibling,h=Hu(ge,{mode:"hidden",children:h.children}),h.subtreeFlags=ge.subtreeFlags&65011712,C!==null?v=Hu(C,v):(v=yc(v,j,d,null),v.flags|=2),v.return=a,h.return=a,h.sibling=v,a.child=h,h=v,v=a.child,j=n.child.memoizedState,j===null?j=qA(d):(ge=j.cachePool,ge!==null?(C=ta?ra._currentValue:ra._currentValue2,ge=ge.parent!==C?{parent:C,pool:C}:ge):ge=Qr(),j={baseLanes:j.baseLanes|d,cachePool:ge}),v.memoizedState=j,v.childLanes=Wc(n,N,d),a.memoizedState=G_,h):(Aa(a),d=n.child,n=d.sibling,d=Hu(d,{mode:"visible",children:h.children}),d.return=a,d.sibling=null,n!==null&&(N=a.deletions,N===null?(a.deletions=[n],a.flags|=16):N.push(n)),a.child=d,a.memoizedState=null,d)}function eu(n,a){return a=tu({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function tu(n,a){return n=I(22,n,null,a),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function XA(n,a,d){return jp(a,n.child,null,d),n=eu(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function rf(n,a,d){n.lanes|=a;var h=n.alternate;h!==null&&(h.lanes|=a),cl(n.return,a,d)}function af(n,a){var d=lr(n);return n=!d&&typeof k(n)=="function",d||n?(d=d?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",d,a,d),!1):!0}function Ac(n,a,d,h,v){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:h,tail:d,tailMode:v}:(C.isBackwards=a,C.rendering=null,C.renderingStartTime=0,C.last=h,C.tail=d,C.tailMode=v)}function of(n,a,d){var h=a.pendingProps,v=h.revealOrder,C=h.tail;if(h=h.children,v!==void 0&&v!=="forwards"&&v!=="backwards"&&v!=="together"&&!WR[v])if(WR[v]=!0,typeof v=="string")switch(v.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',v,v.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',v,v.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',v)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',v);C===void 0||H_[C]||(C!=="collapsed"&&C!=="hidden"?(H_[C]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',C)):v!=="forwards"&&v!=="backwards"&&(H_[C]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',C)));e:if((v==="forwards"||v==="backwards")&&h!==void 0&&h!==null&&h!==!1)if(lr(h)){for(var N=0;N<h.length;N++)if(!af(h[N],N))break e}else if(N=k(h),typeof N=="function"){if(N=N.call(h))for(var j=N.next(),ge=0;!j.done;j=N.next()){if(!af(j.value,ge))break e;ge++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',v);if(St(n,a,h,d),h=io.current,(h&Sm)!==0)h=h&Jp|Sm,a.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&rf(n,d,a);else if(n.tag===19)rf(n,d,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}h&=Jp}switch(Ht(io,h,a),v){case"forwards":for(d=a.child,v=null;d!==null;)n=d.alternate,n!==null&&Q(n)===null&&(v=d),d=d.sibling;d=v,d===null?(v=a.child,a.child=null):(v=d.sibling,d.sibling=null),Ac(a,!1,v,d,C);break;case"backwards":for(d=null,v=a.child,a.child=null;v!==null;){if(n=v.alternate,n!==null&&Q(n)===null){a.child=v;break}n=v.sibling,v.sibling=d,d=v,v=n}Ac(a,!0,d,null,C);break;case"together":Ac(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Js(n,a,d){if(n!==null&&(a.dependencies=n.dependencies),Xs=-1,Dd|=a.lanes,(d&a.childLanes)===0)if(n!==null){if(ai(n,a,d,!1),(d&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error("Resuming work not yet implemented.");if(a.child!==null){for(n=a.child,d=Hu(n,n.pendingProps),a.child=d,d.return=a;n.sibling!==null;)n=n.sibling,d=d.sibling=Hu(n,n.pendingProps),d.return=a;d.sibling=null}return a.child}function Fu(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&Ri(n)))}function dc(n,a,d){switch(a.tag){case 3:Hr(a,a.stateNode.containerInfo),pi(a,ra,n.memoizedState.cache),fi();break;case 27:case 5:je(a);break;case 4:Hr(a,a.stateNode.containerInfo);break;case 10:pi(a,a.type,a.memoizedProps.value);break;case 12:(d&a.childLanes)!==0&&(a.flags|=4),a.flags|=2048;var h=a.stateNode;h.effectDuration=-0,h.passiveEffectDuration=-0;break;case 13:if(h=a.memoizedState,h!==null)return h.dehydrated!==null?(Aa(a),a.flags|=128,null):(d&a.child.childLanes)!==0?WA(n,a,d):(Aa(a),n=Js(n,a,d),n!==null?n.sibling:null);Aa(a);break;case 19:var v=(n.flags&128)!==0;if(h=(d&a.childLanes)!==0,h||(ai(n,a,d,!1),h=(d&a.childLanes)!==0),v){if(h)return of(n,a,d);a.flags|=128}if(v=a.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Ht(io,io.current,a),h)break;return null;case 22:case 23:return a.lanes=0,ps(n,a,d);case 24:pi(a,ra,n.memoizedState.cache)}return Js(n,a,d)}function Xc(n,a,d){if(a._debugNeedsRemount&&n!==null){d=Gg(a.type,a.key,a.pendingProps,a._debugOwner||null,a.mode,a.lanes),d._debugStack=a._debugStack,d._debugTask=a._debugTask;var h=a.return;if(h===null)throw Error("Cannot swap the root fiber.");if(n.alternate=null,a.alternate=null,d.index=a.index,d.sibling=a.sibling,d.return=a.return,d.ref=a.ref,d._debugInfo=a._debugInfo,a===h.child)h.child=d;else{var v=h.child;if(v===null)throw Error("Expected parent to have a child.");for(;v.sibling!==a;)if(v=v.sibling,v===null)throw Error("Expected to find the previous sibling.");v.sibling=d}return a=h.deletions,a===null?(h.deletions=[n],h.flags|=16):a.push(n),d.flags|=2,d}if(n!==null)if(n.memoizedProps!==a.pendingProps||a.type!==n.type)yo=!0;else{if(!Fu(n,d)&&(a.flags&128)===0)return yo=!1,dc(n,a,d);yo=(n.flags&131072)!==0}else yo=!1,(h=Ei)&&(fr(),h=(a.flags&1048576)!==0),h&&(h=a.index,fr(),Ia(a,_e,h));switch(a.lanes=0,a.tag){case 16:e:if(h=a.pendingProps,n=_d(a.elementType),a.type=n,typeof n=="function")Hg(n)?(h=fe(n,h),a.tag=1,a.type=n=cA(n),a=Ou(null,a,n,h,d)):(a.tag=0,nf(a,n),a.type=n=cA(n),a=js(null,a,n,h,d));else{if(n!=null){if(v=n.$$typeof,v===Xa){a.tag=11,a.type=n=Lg(n),a=xn(null,a,n,h,d);break e}else if(v===fA){a.tag=14,a=Hn(null,a,n,h,d);break e}}throw a="",n!==null&&typeof n=="object"&&n.$$typeof===mo&&(a=" Did you wrap a component in React.lazy() more than once?"),n=He(n)||n,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+a)}return a;case 0:return js(n,a,a.type,a.pendingProps,d);case 1:return h=a.type,v=fe(h,a.pendingProps),Ou(n,a,h,v,d);case 3:e:{if(Hr(a,a.stateNode.containerInfo),n===null)throw Error("Should have a current fiber. This is a bug in React.");var C=a.pendingProps;v=a.memoizedState,h=v.element,Ts(n,a),Qe(a,C,null,d);var N=a.memoizedState;if(C=N.cache,pi(a,ra,C),C!==v.cache&&hr(a,[ra],d,!0),ba(),C=N.element,na&&v.isDehydrated)if(v={element:C,isDehydrated:!1,cache:N.cache},a.updateQueue.baseState=v,a.memoizedState=v,a.flags&256){a=YA(n,a,C,d);break e}else if(C!==h){h=Oi(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),a),Wt(h),a=YA(n,a,C,d);break e}else for(na&&(Oa=y_(a.stateNode.containerInfo),ys=a,Ei=!0,wf=null,BA=!1,pu=null,xc=!0),n=UR(a,null,C,d),a.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fi(),C===h){a=Js(n,a,d);break e}St(n,a,C,d)}a=a.child}return a;case 26:if(jr)return Jo(n,a),n===null?(n=Bf(a.type,null,a.pendingProps,null))?a.memoizedState=n:Ei||(a.stateNode=v_(a.type,a.pendingProps,Fi(No.current),a)):a.memoizedState=Bf(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:if(on)return je(a),n===null&&on&&Ei&&(v=Fi(No.current),h=ue(),v=a.stateNode=qo(a.type,a.pendingProps,v,h,!1),BA||(h=bp(v,a.type,a.pendingProps,h),h!==null&&(wi(a,0).serverProps=h)),ys=a,xc=!0,Oa=_f(a.type,v,Oa)),St(n,a,a.pendingProps.children,d),Jo(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&Ei&&(C=ue(),h=ia(a.type,a.pendingProps,C),v=Oa,(N=!v)||(N=gd(v,a.type,a.pendingProps,xc),N!==null?(a.stateNode=N,BA||(C=bp(N,a.type,a.pendingProps,C),C!==null&&(wi(a,0).serverProps=C)),ys=a,Oa=Hy(N),xc=!1,C=!0):C=!1,N=!C),N&&(h&&ca(a,v),Ha(a))),je(a),v=a.type,C=a.pendingProps,N=n!==null?n.memoizedProps:null,h=C.children,Gu(v,C)?h=null:N!==null&&Gu(v,N)&&(a.flags|=32),a.memoizedState!==null&&(v=mr(n,a,Gl,null,null,d),ta?wo._currentValue=v:wo._currentValue2=v),Jo(n,a),St(n,a,h,d),a.child;case 6:return n===null&&Ei&&(n=a.pendingProps,d=ue(),n=Yo(n,d),d=Oa,(h=!d)||(h=Gy(d,a.pendingProps,xc),h!==null?(a.stateNode=h,ys=a,Oa=null,h=!0):h=!1,h=!h),h&&(n&&ca(a,d),Ha(a))),null;case 13:return WA(n,a,d);case 4:return Hr(a,a.stateNode.containerInfo),h=a.pendingProps,n===null?a.child=jp(a,null,h,d):St(n,a,h,d),a.child;case 11:return xn(n,a,a.type,a.pendingProps,d);case 7:return St(n,a,a.pendingProps,d),a.child;case 8:return St(n,a,a.pendingProps.children,d),a.child;case 12:return a.flags|=4,a.flags|=2048,h=a.stateNode,h.effectDuration=-0,h.passiveEffectDuration=-0,St(n,a,a.pendingProps.children,d),a.child;case 10:return h=a.type,v=a.pendingProps,C=v.value,"value"in v||XR||(XR=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),pi(a,h,C),St(n,a,v.children,d),a.child;case 9:return v=a.type._context,h=a.pendingProps.children,typeof h!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Zr(a),v=Wn(v),gt(a),h=F_(h,v,void 0),vn(),a.flags|=1,St(n,a,h,d),a.child;case 14:return Hn(n,a,a.type,a.pendingProps,d);case 15:return Gn(n,a,a.type,a.pendingProps,d);case 19:return of(n,a,d);case 31:return h=a.pendingProps,d=a.mode,h={mode:h.mode,children:h.children},n===null?(n=tu(h,d),n.ref=a.ref,a.child=n,n.return=a,a=n):(n=Hu(n.child,h),n.ref=a.ref,a.child=n,n.return=a,a=n),a;case 22:return ps(n,a,d);case 24:return Zr(a),h=Wn(ra),n===null?(v=Ol(),v===null&&(v=Ar,C=lo(),v.pooledCache=C,Ga(C),C!==null&&(v.pooledCacheLanes|=d),v=C),a.memoizedState={parent:h,cache:v},Ns(a),pi(a,ra,v)):((n.lanes&d)!==0&&(Ts(n,a),Qe(a,null,null,d),ba()),v=n.memoizedState,C=a.memoizedState,v.parent!==h?(v={parent:h,cache:h},a.memoizedState=v,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=v),pi(a,ra,h)):(h=C.cache,pi(a,ra,h),h!==v.cache&&hr(a,[ra],d,!0))),St(n,a,a.pendingProps.children,d),a.child;case 29:throw a.pendingProps}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function dn(n){n.flags|=4}function eA(n,a){if(n!==null&&n.child===a.child)return!1;if((a.flags&16)!==0)return!0;for(n=a.child;n!==null;){if((n.flags&13878)!==0||(n.subtreeFlags&13878)!==0)return!0;n=n.sibling}return!1}function sf(n,a,d,h){if(Nr)for(d=a.child;d!==null;){if(d.tag===5||d.tag===6)gf(n,d.stateNode);else if(!(d.tag===4||on&&d.tag===27)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===a)break;for(;d.sibling===null;){if(d.return===null||d.return===a)return;d=d.return}d.sibling.return=d.return,d=d.sibling}else if(Eo)for(var v=a.child;v!==null;){if(v.tag===5){var C=v.stateNode;d&&h&&(C=Pr(C,v.type,v.memoizedProps)),gf(n,C)}else if(v.tag===6)C=v.stateNode,d&&h&&(C=Cf(C,v.memoizedProps)),gf(n,C);else if(v.tag!==4){if(v.tag===22&&v.memoizedState!==null)C=v.child,C!==null&&(C.return=v),sf(n,v,!0,!0);else if(v.child!==null){v.child.return=v,v=v.child;continue}}if(v===a)break;for(;v.sibling===null;){if(v.return===null||v.return===a)return;v=v.return}v.sibling.return=v.return,v=v.sibling}}function lf(n,a,d,h){var v=!1;if(Eo)for(var C=a.child;C!==null;){if(C.tag===5){var N=C.stateNode;d&&h&&(N=Pr(N,C.type,C.memoizedProps)),ju(n,N)}else if(C.tag===6)N=C.stateNode,d&&h&&(N=Cf(N,C.memoizedProps)),ju(n,N);else if(C.tag!==4){if(C.tag===22&&C.memoizedState!==null)v=C.child,v!==null&&(v.return=C),lf(n,C,!0,!0),v=!0;else if(C.child!==null){C.child.return=C,C=C.child;continue}}if(C===a)break;for(;C.sibling===null;){if(C.return===null||C.return===a)return v;C=C.return}C.sibling.return=C.return,C=C.sibling}return v}function uf(n,a){if(Eo&&eA(n,a)){n=a.stateNode;var d=n.containerInfo,h=vf();lf(h,a,!1,!1),n.pendingChildren=h,dn(a),Un(d,h)}}function ed(n,a,d,h){if(Nr)n.memoizedProps!==h&&dn(a);else if(Eo){var v=n.stateNode,C=n.memoizedProps;if((n=eA(n,a))||C!==h){var N=ue();C=dd(v,d,C,h,!n,null),C===v?a.stateNode=v:(nm(C,d,h,N)&&dn(a),a.stateNode=C,n?sf(C,a,!1,!1):dn(a))}else a.stateNode=v}}function tA(n,a,d){if(hA(a,d)){if(n.flags|=16777216,!bl(a,d))if(Ey())n.flags|=8192;else throw Mp=nv,Q_}else n.flags&=-16777217}function fc(n,a){if(Xi(a)){if(n.flags|=16777216,!Mn(a))if(Ey())n.flags|=8192;else throw Mp=nv,Q_}else n.flags&=-16777217}function nu(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?Dt():536870912,n.lanes|=a,Mf|=a)}function bo(n,a){if(!Ei)switch(n.tailMode){case"hidden":a=n.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?n.tail=null:d.sibling=null;break;case"collapsed":d=n.tail;for(var h=null;d!==null;)d.alternate!==null&&(h=d),d=d.sibling;h===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:h.sibling=null}}function Li(n){var a=n.alternate!==null&&n.alternate.child===n.child,d=0,h=0;if(a)if((n.mode&2)!==Ir){for(var v=n.selfBaseDuration,C=n.child;C!==null;)d|=C.lanes|C.childLanes,h|=C.subtreeFlags&65011712,h|=C.flags&65011712,v+=C.treeBaseDuration,C=C.sibling;n.treeBaseDuration=v}else for(v=n.child;v!==null;)d|=v.lanes|v.childLanes,h|=v.subtreeFlags&65011712,h|=v.flags&65011712,v.return=n,v=v.sibling;else if((n.mode&2)!==Ir){v=n.actualDuration,C=n.selfBaseDuration;for(var N=n.child;N!==null;)d|=N.lanes|N.childLanes,h|=N.subtreeFlags,h|=N.flags,v+=N.actualDuration,C+=N.treeBaseDuration,N=N.sibling;n.actualDuration=v,n.treeBaseDuration=C}else for(v=n.child;v!==null;)d|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=n,v=v.sibling;return n.subtreeFlags|=h,n.childLanes=d,a}function nA(n,a,d){var h=a.pendingProps;switch(Vr(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Li(a),null;case 1:return Li(a),null;case 3:return d=a.stateNode,h=null,n!==null&&(h=n.memoizedState.cache),a.memoizedState.cache!==h&&(a.flags|=2048),Ba(ra,a),F(a),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(n===null||n.child===null)&&(oo(a)?(ul(),dn(a)):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Mo())),uf(n,a),Li(a),null;case 26:if(jr){d=a.type;var v=a.memoizedState;return n===null?(dn(a),v!==null?(Li(a),fc(a,v)):(Li(a),tA(a,d,h))):v?v!==n.memoizedState?(dn(a),Li(a),fc(a,v)):(Li(a),a.flags&=-16777217):(Nr?n.memoizedProps!==h&&dn(a):ed(n,a,d,h),Li(a),tA(a,d,h)),null}case 27:if(on){if(ot(a),d=Fi(No.current),v=a.type,n!==null&&a.stateNode!=null)Nr?n.memoizedProps!==h&&dn(a):ed(n,a,v,h);else{if(!h){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Li(a),null}n=ue(),oo(a)?Ul(a,n):(n=qo(v,h,d,n,!0),a.stateNode=n,dn(a))}return Li(a),null}case 5:if(ot(a),d=a.type,n!==null&&a.stateNode!=null)ed(n,a,d,h);else{if(!h){if(a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Li(a),null}n=ue(),oo(a)?Ul(a,n):(v=Fi(No.current),v=My(d,h,v,n,a),sf(v,a,!1,!1),a.stateNode=v,nm(v,d,h,n)&&dn(a))}return Li(a),tA(a,a.type,a.pendingProps),null;case 6:if(n&&a.stateNode!=null)d=n.memoizedProps,Nr?d!==h&&dn(a):Eo&&(d!==h?(n=Fi(No.current),d=ue(),a.stateNode=pA(h,n,d,a),dn(a)):a.stateNode=n.stateNode);else{if(typeof h!="string"&&a.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(n=Fi(No.current),d=ue(),oo(a)){if(!na)throw Error("Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");n=a.stateNode,d=a.memoizedProps,v=!BA,h=null;var C=ys;if(C!==null)switch(C.tag){case 3:v&&(v=dm(n,d,h),v!==null&&(wi(a,0).serverProps=v));break;case 27:case 5:h=C.memoizedProps,v&&(v=dm(n,d,h),v!==null&&(wi(a,0).serverProps=v))}pa(n,d,a,h)||Ha(a)}else a.stateNode=pA(h,n,d,a)}return Li(a),null;case 13:if(h=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(v=oo(a),h!==null&&h.dehydrated!==null){if(n===null){if(!v)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!na)throw Error("Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");if(v=a.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");um(v,a),Li(a),(a.mode&2)!==Ir&&h!==null&&(v=a.child,v!==null&&(a.treeBaseDuration-=v.treeBaseDuration))}else ul(),fi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4,Li(a),(a.mode&2)!==Ir&&h!==null&&(v=a.child,v!==null&&(a.treeBaseDuration-=v.treeBaseDuration));v=!1}else v=Mo(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=v),v=!0;if(!v)return a.flags&256?(B(a),a):(B(a),null)}return B(a),(a.flags&128)!==0?(a.lanes=d,(a.mode&2)!==Ir&&et(a),a):(d=h!==null,n=n!==null&&n.memoizedState!==null,d&&(h=a.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool),C=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(C=h.memoizedState.cachePool.pool),C!==v&&(h.flags|=2048)),d!==n&&d&&(a.child.flags|=8192),nu(a,a.updateQueue),Li(a),(a.mode&2)!==Ir&&d&&(n=a.child,n!==null&&(a.treeBaseDuration-=n.treeBaseDuration)),null);case 4:return F(a),uf(n,a),n===null&&mf(a.stateNode.containerInfo),Li(a),null;case 10:return Ba(a.type,a),Li(a),null;case 19:if(ln(io,a),v=a.memoizedState,v===null)return Li(a),null;if(h=(a.flags&128)!==0,C=v.rendering,C===null)if(h)bo(v,!1);else{if(aa!==xA||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(C=Q(n),C!==null){for(a.flags|=128,bo(v,!1),n=C.updateQueue,a.updateQueue=n,nu(a,n),a.subtreeFlags=0,n=d,d=a.child;d!==null;)Uy(d,n),d=d.sibling;return Ht(io,io.current&Jp|Sm,a),a.child}n=n.sibling}v.tail!==null&&Vi()>Tm&&(a.flags|=128,h=!0,bo(v,!1),a.lanes=4194304)}else{if(!h)if(n=Q(C),n!==null){if(a.flags|=128,h=!0,n=n.updateQueue,a.updateQueue=n,nu(a,n),bo(v,!0),v.tail===null&&v.tailMode==="hidden"&&!C.alternate&&!Ei)return Li(a),null}else 2*Vi()-v.renderingStartTime>Tm&&d!==536870912&&(a.flags|=128,h=!0,bo(v,!1),a.lanes=4194304);v.isBackwards?(C.sibling=a.child,a.child=C):(n=v.last,n!==null?n.sibling=C:a.child=C,v.last=C)}return v.tail!==null?(n=v.tail,v.rendering=n,v.tail=n.sibling,v.renderingStartTime=Vi(),n.sibling=null,d=io.current,d=h?d&Jp|Sm:d&Jp,Ht(io,d,a),n):(Li(a),null);case 22:case 23:return B(a),uo(a),h=a.memoizedState!==null,n!==null?n.memoizedState!==null!==h&&(a.flags|=8192):h&&(a.flags|=8192),h?(d&536870912)!==0&&(a.flags&128)===0&&(Li(a),a.subtreeFlags&6&&(a.flags|=8192)):Li(a),d=a.updateQueue,d!==null&&nu(a,d.retryQueue),d=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(d=n.memoizedState.cachePool.pool),h=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(h=a.memoizedState.cachePool.pool),h!==d&&(a.flags|=2048),n!==null&&ln(Tf,a),null;case 24:return d=null,n!==null&&(d=n.memoizedState.cache),a.memoizedState.cache!==d&&(a.flags|=2048),Ba(ra,a),Li(a),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+a.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function iu(n,a){switch(Vr(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&2)!==Ir&&et(a),a):null;case 3:return Ba(ra,a),F(a),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return ot(a),null;case 13:if(B(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");fi()}return n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&2)!==Ir&&et(a),a):null;case 19:return ln(io,a),null;case 4:return F(a),null;case 10:return Ba(a.type,a),null;case 22:case 23:return B(a),uo(a),n!==null&&ln(Tf,a),n=a.flags,n&65536?(a.flags=n&-65537|128,(a.mode&2)!==Ir&&et(a),a):null;case 24:return Ba(ra,a),null;case 25:return null;default:return null}}function iA(n,a){switch(Vr(a),a.tag){case 3:Ba(ra,a),F(a);break;case 26:case 27:case 5:ot(a);break;case 4:F(a);break;case 13:B(a);break;case 19:ln(io,a);break;case 10:Ba(a.type,a);break;case 22:case 23:B(a),uo(a),n!==null&&ln(Tf,a);break;case 24:Ba(ra,a)}}function Za(n){return(n.mode&2)!==Ir}function td(n,a){Za(n)?(Ye(),hs(a,n),$e()):hs(a,n)}function _l(n,a,d){Za(n)?(Ye(),Bl(d,n,a),$e()):Bl(d,n,a)}function hs(n,a){try{var d=a.updateQueue,h=d!==null?d.lastEffect:null;if(h!==null){var v=h.next;d=v;do{if((d.tag&n)===n&&((n&no)!==hu?s!==null&&typeof s.markComponentPassiveEffectMountStarted=="function"&&s.markComponentPassiveEffectMountStarted(a):(n&To)!==hu&&s!==null&&typeof s.markComponentLayoutEffectMountStarted=="function"&&s.markComponentLayoutEffectMountStarted(a),h=void 0,(n&Cs)!==hu&&(nh=!0),h=ht(a,O$,d),(n&Cs)!==hu&&(nh=!1),(n&no)!==hu?s!==null&&typeof s.markComponentPassiveEffectMountStopped=="function"&&s.markComponentPassiveEffectMountStopped():(n&To)!==hu&&s!==null&&typeof s.markComponentLayoutEffectMountStopped=="function"&&s.markComponentLayoutEffectMountStopped(),h!==void 0&&typeof h!="function")){var C=void 0;C=(d.tag&To)!==0?"useLayoutEffect":(d.tag&Cs)!==0?"useInsertionEffect":"useEffect";var N=void 0;N=h===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof h.then=="function"?`
136
-
137
- It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
138
-
139
- `+C+`(() => {
140
- async function fetchData() {
141
- // You can await here
142
- const response = await MyAPI.getData(someId);
143
- // ...
144
- }
145
- fetchData();
146
- }, [someId]); // Or [] if effect doesn't need props or state
147
-
148
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+h,ht(a,function(j,ge){console.error("%s must not return anything besides a function, which is used for clean-up.%s",j,ge)},C,N)}d=d.next}while(d!==v)}}catch(j){Bi(a,a.return,j)}}function Bl(n,a,d){try{var h=a.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var C=v.next;h=C;do{if((h.tag&n)===n){var N=h.inst,j=N.destroy;j!==void 0&&(N.destroy=void 0,(n&no)!==hu?s!==null&&typeof s.markComponentPassiveEffectUnmountStarted=="function"&&s.markComponentPassiveEffectUnmountStarted(a):(n&To)!==hu&&s!==null&&typeof s.markComponentLayoutEffectUnmountStarted=="function"&&s.markComponentLayoutEffectUnmountStarted(a),(n&Cs)!==hu&&(nh=!0),v=a,ht(v,F$,v,d,j),(n&Cs)!==hu&&(nh=!1),(n&no)!==hu?s!==null&&typeof s.markComponentPassiveEffectUnmountStopped=="function"&&s.markComponentPassiveEffectUnmountStopped():(n&To)!==hu&&s!==null&&typeof s.markComponentLayoutEffectUnmountStopped=="function"&&s.markComponentLayoutEffectUnmountStopped())}h=h.next}while(h!==C)}}catch(ge){Bi(a,a.return,ge)}}function cf(n,a){Za(n)?(Ye(),hs(a,n),$e()):hs(a,n)}function rA(n,a,d){Za(n)?(Ye(),Bl(d,n,a),$e()):Bl(d,n,a)}function aA(n){var a=n.updateQueue;if(a!==null){var d=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||Kp||(d.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",It(n)||"instance"),d.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",It(n)||"instance"));try{ht(n,wu,a,d)}catch(h){Bi(n,n.return,h)}}}function Tn(n,a,d){return n.getSnapshotBeforeUpdate(a,d)}function Qg(n,a){var d=a.memoizedProps,h=a.memoizedState;a=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||Kp||(a.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",It(n)||"instance"),a.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",It(n)||"instance"));try{var v=fe(n.type,d,n.elementType===n.type),C=ht(n,Tn,a,v,h);d=eN,C!==void 0||d.has(n.type)||(d.add(n.type),ht(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",It(n))})),a.__reactInternalSnapshotBeforeUpdate=C}catch(N){Bi(n,n.return,N)}}function Ya(n,a,d){d.props=fe(n.type,n.memoizedProps),d.state=n.memoizedState,Za(n)?(Ye(),ht(n,SR,n,a,d),$e()):ht(n,SR,n,a,d)}function nd(n){var a=n.ref;if(a!==null){switch(n.tag){case 26:case 27:case 5:var d=od(n.stateNode);break;case 30:d=n.stateNode;break;default:d=n.stateNode}if(typeof a=="function")if(Za(n))try{Ye(),n.refCleanup=a(d)}finally{$e()}else n.refCleanup=a(d);else typeof a=="string"?console.error("String refs are no longer supported."):a.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",It(n)),a.current=d}}function pc(n,a){try{ht(n,nd,n)}catch(d){Bi(n,a,d)}}function ho(n,a){var d=n.ref,h=n.refCleanup;if(d!==null)if(typeof h=="function")try{if(Za(n))try{Ye(),ht(n,h)}finally{$e(n)}else ht(n,h)}catch(v){Bi(n,a,v)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof d=="function")try{if(Za(n))try{Ye(),ht(n,d,null)}finally{$e(n)}else ht(n,d,null)}catch(v){Bi(n,a,v)}else d.current=null}function zu(n,a,d,h){var v=n.memoizedProps,C=v.id,N=v.onCommit;v=v.onRender,a=a===null?"mount":"update",Yy&&(a="nested-update"),typeof v=="function"&&v(C,a,n.actualDuration,n.treeBaseDuration,n.actualStartTime,d),typeof N=="function"&&N(n.memoizedProps.id,a,h,d)}function Mu(n,a,d,h){var v=n.memoizedProps;n=v.id,v=v.onPostCommit,a=a===null?"mount":"update",Yy&&(a="nested-update"),typeof v=="function"&&v(n,a,h,d)}function id(n){var a=n.type,d=n.memoizedProps,h=n.stateNode;try{ht(n,mA,h,a,d,n)}catch(v){Bi(n,n.return,v)}}function hc(n,a,d){try{ht(n,m_,n.stateNode,n.type,d,a,n)}catch(h){Bi(n,n.return,h)}}function fp(n){return n.tag===5||n.tag===3||(jr?n.tag===26:!1)||(on?n.tag===27&&Wo(n.type):!1)||n.tag===4}function oA(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||fp(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(on&&n.tag===27&&Wo(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Vs(n,a,d){var h=n.tag;if(h===5||h===6)n=n.stateNode,a?om(d,n,a):cd(d,n);else if(h!==4&&(on&&h===27&&Wo(n.type)&&(d=n.stateNode,a=null),n=n.child,n!==null))for(Vs(n,a,d),n=n.sibling;n!==null;)Vs(n,a,d),n=n.sibling}function ru(n,a,d){var h=n.tag;if(h===5||h===6)n=n.stateNode,a?yf(d,n,a):ud(d,n);else if(h!==4&&(on&&h===27&&Wo(n.type)&&(d=n.stateNode),n=n.child,n!==null))for(ru(n,a,d),n=n.sibling;n!==null;)ru(n,a,d),n=n.sibling}function $i(n){if(Nr){for(var a,d=n.return;d!==null;){if(fp(d)){a=d;break}d=d.return}if(a==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(a.tag){case 27:if(on){a=a.stateNode,d=oA(n),ru(n,d,a);break}case 5:d=a.stateNode,a.flags&32&&(EA(d),a.flags&=-33),a=oA(n),ru(n,a,d);break;case 3:case 4:a=a.stateNode.containerInfo,d=oA(n),Vs(n,d,a);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}}function gc(n,a,d){n=n.containerInfo;try{ht(a,Ti,n,d)}catch(h){Bi(a,a.return,h)}}function Lu(n){var a=n.stateNode,d=n.memoizedProps;try{ht(n,Dc,n.type,d,a,n)}catch(h){Bi(n,n.return,h)}}function go(n,a){for(Es(n.containerInfo),vo=a;vo!==null;)if(n=vo,a=n.child,(n.subtreeFlags&1024)!==0&&a!==null)a.return=n,vo=a;else for(;vo!==null;){a=n=vo;var d=a.alternate,h=a.flags;switch(a.tag){case 0:break;case 11:case 15:break;case 1:(h&1024)!==0&&d!==null&&Qg(a,d);break;case 3:(h&1024)!==0&&Nr&&lm(a.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((h&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(a=n.sibling,a!==null){a.return=n.return,vo=a;break}vo=n.return}}function sA(n,a,d){var h=d.flags;switch(d.tag){case 0:case 11:case 15:ee(n,d),h&4&&td(d,To|gu);break;case 1:if(ee(n,d),h&4)if(n=d.stateNode,a===null)d.type.defaultProps||"ref"in d.memoizedProps||Kp||(n.props!==d.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",It(d)||"instance"),n.state!==d.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",It(d)||"instance")),Za(d)?(Ye(),ht(d,z_,d,n),$e()):ht(d,z_,d,n);else{var v=fe(d.type,a.memoizedProps);a=a.memoizedState,d.type.defaultProps||"ref"in d.memoizedProps||Kp||(n.props!==d.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",It(d)||"instance"),n.state!==d.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",It(d)||"instance")),Za(d)?(Ye(),ht(d,_R,d,n,v,a,n.__reactInternalSnapshotBeforeUpdate),$e()):ht(d,_R,d,n,v,a,n.__reactInternalSnapshotBeforeUpdate)}h&64&&aA(d),h&512&&pc(d,d.return);break;case 3:if(a=H(),ee(n,d),h&64&&(h=d.updateQueue,h!==null)){if(v=null,d.child!==null)switch(d.child.tag){case 27:case 5:v=od(d.child.stateNode);break;case 1:v=d.child.stateNode}try{ht(d,wu,h,v)}catch(N){Bi(d,d.return,N)}}n.effectDuration+=ne(a);break;case 27:on&&a===null&&h&4&&Lu(d);case 26:case 5:ee(n,d),a===null&&h&4&&id(d),h&512&&pc(d,d.return);break;case 12:if(h&4){h=H(),ee(n,d),n=d.stateNode,n.effectDuration+=ae(h);try{ht(d,zu,d,a,Zy,n.effectDuration)}catch(N){Bi(d,d.return,N)}}else ee(n,d);break;case 13:ee(n,d),h&4&&b(n,d),h&64&&(n=d.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(d=r_.bind(null,d),If(n,d))));break;case 22:if(h=d.memoizedState!==null||bA,!h){a=a!==null&&a.memoizedState!==null||ga,v=bA;var C=ga;bA=h,(ga=a)&&!C?ve(n,d,(d.subtreeFlags&8772)!==0):ee(n,d),bA=v,ga=C}break;case 30:break;default:ee(n,d)}}function Af(n){var a=n.alternate;a!==null&&(n.alternate=null,Af(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Di(a)),n.stateNode=null,n._debugOwner=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Vo(n,a,d){for(d=d.child;d!==null;)vr(n,a,d),d=d.sibling}function vr(n,a,d){if(ka&&typeof ka.onCommitFiberUnmount=="function")try{ka.onCommitFiberUnmount(fu,d)}catch(C){c||(c=!0,console.error("React instrumentation encountered an error: %s",C))}switch(d.tag){case 26:if(jr){ga||ho(d,a),Vo(n,a,d),d.memoizedState?Sf(d.memoizedState):d.stateNode&&md(d.stateNode);break}case 27:if(on){ga||ho(d,a);var h=za,v=el;Wo(d.type)&&(za=d.stateNode,el=!1),Vo(n,a,d),ht(d,vA,d.stateNode),za=h,el=v;break}case 5:ga||ho(d,a);case 6:if(Nr){if(h=za,v=el,za=null,Vo(n,a,d),za=h,el=v,za!==null)if(el)try{ht(d,Dp,za,d.stateNode)}catch(C){Bi(d,a,C)}else try{ht(d,Bp,za,d.stateNode)}catch(C){Bi(d,a,C)}}else Vo(n,a,d);break;case 18:Nr&&za!==null&&(el?Vu(za,d.stateNode):Am(za,d.stateNode));break;case 4:Nr?(h=za,v=el,za=d.stateNode.containerInfo,el=!0,Vo(n,a,d),za=h,el=v):(Eo&&gc(d.stateNode,d,vf()),Vo(n,a,d));break;case 0:case 11:case 14:case 15:ga||Bl(Cs,d,a),ga||_l(d,a,To),Vo(n,a,d);break;case 1:ga||(ho(d,a),h=d.stateNode,typeof h.componentWillUnmount=="function"&&Ya(d,a,h)),Vo(n,a,d);break;case 21:Vo(n,a,d);break;case 22:ga=(h=ga)||d.memoizedState!==null,Vo(n,a,d),ga=h;break;default:Vo(n,a,d)}}function b(n,a){if(na&&a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{ht(a,Ua,n)}catch(d){Bi(a,a.return,d)}}function l(n){switch(n.tag){case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new tN),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new tN),a;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function m(n,a){var d=l(n);a.forEach(function(h){var v=a_.bind(null,n,h);if(!d.has(h)){if(d.add(h),p)if(Zp!==null&&Yp!==null)ff(Yp,Zp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");h.then(v,v)}})}function S(n,a){var d=a.deletions;if(d!==null)for(var h=0;h<d.length;h++){var v=n,C=a,N=d[h];if(Nr){var j=C;e:for(;j!==null;){switch(j.tag){case 27:if(on){if(Wo(j.type)){za=j.stateNode,el=!1;break e}break}case 5:za=j.stateNode,el=!1;break e;case 3:case 4:za=j.stateNode.containerInfo,el=!0;break e}j=j.return}if(za===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");vr(v,C,N),za=null,el=!1}else vr(v,C,N);v=N,C=v.alternate,C!==null&&(C.return=null),v.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)U(a,n),a=a.sibling}function U(n,a){var d=n.alternate,h=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:S(a,n),O(n),h&4&&(Bl(Cs|gu,n,n.return),hs(Cs|gu,n),_l(n,n.return,To|gu));break;case 1:S(a,n),O(n),h&512&&(ga||d===null||ho(d,d.return)),h&64&&bA&&(n=n.updateQueue,n!==null&&(h=n.callbacks,h!==null&&(d=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=d===null?h:d.concat(h))));break;case 26:if(jr){var v=Yu;S(a,n),O(n),h&512&&(ga||d===null||ho(d,d.return)),h&4&&(h=d!==null?d.memoizedState:null,a=n.memoizedState,d===null?a===null?n.stateNode===null?n.stateNode=xp(v,n.type,n.memoizedProps,n):bf(v,n.type,n.stateNode):n.stateNode=Df(v,a,n.memoizedProps):h!==a?(h===null?d.stateNode!==null&&md(d.stateNode):Sf(h),a===null?bf(v,n.type,n.stateNode):Df(v,a,n.memoizedProps)):a===null&&n.stateNode!==null&&hc(n,n.memoizedProps,d.memoizedProps));break}case 27:if(on){S(a,n),O(n),h&512&&(ga||d===null||ho(d,d.return)),d!==null&&h&4&&hc(n,n.memoizedProps,d.memoizedProps);break}case 5:if(S(a,n),O(n),h&512&&(ga||d===null||ho(d,d.return)),Nr){if(n.flags&32){a=n.stateNode;try{ht(n,EA,a)}catch(ct){Bi(n,n.return,ct)}}h&4&&n.stateNode!=null&&(a=n.memoizedProps,hc(n,a,d!==null?d.memoizedProps:a)),h&1024&&(P_=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."))}break;case 6:if(S(a,n),O(n),h&4&&Nr){if(n.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");h=n.memoizedProps,d=d!==null?d.memoizedProps:h,a=n.stateNode;try{ht(n,Ly,a,d,h)}catch(ct){Bi(n,n.return,ct)}}break;case 3:if(v=H(),jr){ti();var C=Yu;Yu=fm(a.containerInfo),S(a,n),Yu=C}else S(a,n);if(O(n),h&4){if(Nr&&na&&d!==null&&d.memoizedState.isDehydrated)try{ht(n,Py,a.containerInfo)}catch(ct){Bi(n,n.return,ct)}if(Eo){h=a.containerInfo,d=a.pendingChildren;try{ht(n,Ti,h,d)}catch(ct){Bi(n,n.return,ct)}}}P_&&(P_=!1,M(n)),a.effectDuration+=ne(v);break;case 4:jr?(d=Yu,Yu=fm(n.stateNode.containerInfo),S(a,n),O(n),Yu=d):(S(a,n),O(n)),h&4&&Eo&&gc(n.stateNode,n,n.stateNode.pendingChildren);break;case 12:h=H(),S(a,n),O(n),n.stateNode.effectDuration+=ae(h);break;case 13:S(a,n),O(n),n.child.flags&8192&&n.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Y_=Vi()),h&4&&(h=n.updateQueue,h!==null&&(n.updateQueue=null,m(n,h)));break;case 22:v=n.memoizedState!==null;var N=d!==null&&d.memoizedState!==null,j=bA,ge=ga;if(bA=j||v,ga=ge||N,S(a,n),ga=ge,bA=j,O(n),h&8192&&(a=n.stateNode,a._visibility=v?a._visibility&-2:a._visibility|1,v&&(d===null||N||bA||ga||q(n)),Nr)){e:if(d=null,Nr)for(a=n;;){if(a.tag===5||jr&&a.tag===26){if(d===null){N=d=a;try{C=N.stateNode,v?ht(N,Ys,C):ht(N,sm,N.stateNode,N.memoizedProps)}catch(ct){Bi(N,N.return,ct)}}}else if(a.tag===6){if(d===null){N=a;try{var Fe=N.stateNode;v?ht(N,Ad,Fe):ht(N,_c,Fe,N.memoizedProps)}catch(ct){Bi(N,N.return,ct)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;d===a&&(d=null),a=a.return}d===a&&(d=null),a.sibling.return=a.return,a=a.sibling}}h&4&&(h=n.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,m(n,d))));break;case 19:S(a,n),O(n),h&4&&(h=n.updateQueue,h!==null&&(n.updateQueue=null,m(n,h)));break;case 30:break;case 21:break;default:S(a,n),O(n)}}function O(n){var a=n.flags;if(a&2){try{ht(n,$i,n)}catch(d){Bi(n,n.return,d)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function M(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;M(a),a.tag===5&&a.flags&1024&&p_(a.stateNode),n=n.sibling}}function ee(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)sA(n,a.alternate,a),a=a.sibling}function X(n){switch(n.tag){case 0:case 11:case 14:case 15:_l(n,n.return,To),q(n);break;case 1:ho(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount=="function"&&Ya(n,n.return,a),q(n);break;case 27:on&&ht(n,vA,n.stateNode);case 26:case 5:ho(n,n.return),q(n);break;case 22:n.memoizedState===null&&q(n);break;case 30:q(n);break;default:q(n)}}function q(n){for(n=n.child;n!==null;)X(n),n=n.sibling}function Ae(n,a,d,h){var v=d.flags;switch(d.tag){case 0:case 11:case 15:ve(n,d,h),td(d,To);break;case 1:if(ve(n,d,h),a=d.stateNode,typeof a.componentDidMount=="function"&&ht(d,z_,d,a),a=d.updateQueue,a!==null){n=d.stateNode;try{ht(d,oc,a,n)}catch(C){Bi(d,d.return,C)}}h&&v&64&&aA(d),pc(d,d.return);break;case 27:on&&Lu(d);case 26:case 5:ve(n,d,h),h&&a===null&&v&4&&id(d),pc(d,d.return);break;case 12:if(h&&v&4){v=H(),ve(n,d,h),h=d.stateNode,h.effectDuration+=ae(v);try{ht(d,zu,d,a,Zy,h.effectDuration)}catch(C){Bi(d,d.return,C)}}else ve(n,d,h);break;case 13:ve(n,d,h),h&&v&4&&b(n,d);break;case 22:d.memoizedState===null&&ve(n,d,h),pc(d,d.return);break;case 30:break;default:ve(n,d,h)}}function ve(n,a,d){for(d=d&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;)Ae(n,a.alternate,a,d),a=a.sibling}function Se(n,a){var d=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(d=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==d&&(n!=null&&Ga(n),d!=null&&L(d))}function Oe(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(Ga(a),n!=null&&L(n))}function ze(n,a,d,h){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)rt(n,a,d,h),a=a.sibling}function rt(n,a,d,h){var v=a.flags;switch(a.tag){case 0:case 11:case 15:ze(n,a,d,h),v&2048&&cf(a,no|gu);break;case 1:ze(n,a,d,h);break;case 3:var C=H();ze(n,a,d,h),v&2048&&(d=null,a.alternate!==null&&(d=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==d&&(Ga(a),d!=null&&L(d))),n.passiveEffectDuration+=ne(C);break;case 12:if(v&2048){v=H(),ze(n,a,d,h),n=a.stateNode,n.passiveEffectDuration+=ae(v);try{ht(a,Mu,a,a.alternate,Zy,n.passiveEffectDuration)}catch(j){Bi(a,a.return,j)}}else ze(n,a,d,h);break;case 13:ze(n,a,d,h);break;case 23:break;case 22:C=a.stateNode;var N=a.alternate;a.memoizedState!==null?C._visibility&2?ze(n,a,d,h):yt(n,a):C._visibility&2?ze(n,a,d,h):(C._visibility|=2,Ct(n,a,d,h,(a.subtreeFlags&10256)!==0)),v&2048&&Se(N,a);break;case 24:ze(n,a,d,h),v&2048&&Oe(a.alternate,a);break;default:ze(n,a,d,h)}}function Ct(n,a,d,h,v){for(v=v&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;)Je(n,a,d,h,v),a=a.sibling}function Je(n,a,d,h,v){var C=a.flags;switch(a.tag){case 0:case 11:case 15:Ct(n,a,d,h,v),cf(a,no);break;case 23:break;case 22:var N=a.stateNode;a.memoizedState!==null?N._visibility&2?Ct(n,a,d,h,v):yt(n,a):(N._visibility|=2,Ct(n,a,d,h,v)),v&&C&2048&&Se(a.alternate,a);break;case 24:Ct(n,a,d,h,v),v&&C&2048&&Oe(a.alternate,a);break;default:Ct(n,a,d,h,v)}}function yt(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var d=n,h=a,v=h.flags;switch(h.tag){case 22:yt(d,h),v&2048&&Se(h.alternate,h);break;case 24:yt(d,h),v&2048&&Oe(h.alternate,h);break;default:yt(d,h)}a=a.sibling}}function Bt(n){if(n.subtreeFlags&qp)for(n=n.child;n!==null;)an(n),n=n.sibling}function an(n){switch(n.tag){case 26:Bt(n),n.flags&qp&&(n.memoizedState!==null?li(Yu,n.memoizedState,n.memoizedProps):Zo(n.type,n.memoizedProps));break;case 5:Bt(n),n.flags&qp&&Zo(n.type,n.memoizedProps);break;case 3:case 4:if(jr){var a=Yu;Yu=fm(n.stateNode.containerInfo),Bt(n),Yu=a}else Bt(n);break;case 22:n.memoizedState===null&&(a=n.alternate,a!==null&&a.memoizedState!==null?(a=qp,qp=16777216,Bt(n),qp=a):Bt(n));break;default:Bt(n)}}function Qn(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function nn(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var d=0;d<a.length;d++){var h=a[d];vo=h,zn(h,n)}Qn(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Yt(n),n=n.sibling}function Yt(n){switch(n.tag){case 0:case 11:case 15:nn(n),n.flags&2048&&rA(n,n.return,no|gu);break;case 3:var a=H();nn(n),n.stateNode.passiveEffectDuration+=ne(a);break;case 12:a=H(),nn(n),n.stateNode.passiveEffectDuration+=ae(a);break;case 22:a=n.stateNode,n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Kt(n)):nn(n);break;default:nn(n)}}function Kt(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var d=0;d<a.length;d++){var h=a[d];vo=h,zn(h,n)}Qn(n)}for(n=n.child;n!==null;)fn(n),n=n.sibling}function fn(n){switch(n.tag){case 0:case 11:case 15:rA(n,n.return,no),Kt(n);break;case 22:var a=n.stateNode;a._visibility&2&&(a._visibility&=-3,Kt(n));break;default:Kt(n)}}function zn(n,a){for(;vo!==null;){var d=vo,h=d;switch(h.tag){case 0:case 11:case 15:rA(h,a,no);break;case 23:case 22:h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(h=h.memoizedState.cachePool.pool,h!=null&&Ga(h));break;case 24:L(h.memoizedState.cache)}if(h=d.child,h!==null)h.return=d,vo=h;else e:for(d=n;vo!==null;){h=vo;var v=h.sibling,C=h.return;if(Af(h),h===d){vo=null;break e}if(v!==null){v.return=C,vo=v;break e}vo=C}}}function Ni(n){var a=eo(n);if(a!=null){if(typeof a.memoizedProps["data-testname"]!="string")throw Error("Invalid host root specified. Should be either a React container or a node with a testname attribute.");return a}if(n=sd(n),n===null)throw Error("Could not find React container within specified host subtree.");return n.stateNode.current}function au(n,a){var d=n.tag;switch(a.$$typeof){case uv:if(n.type===a.value)return!0;break;case cv:e:{for(a=a.value,n=[n,0],d=0;d<n.length;){var h=n[d++],v=h.tag,C=n[d++],N=a[C];if(v!==5&&v!==26&&v!==27||!gA(h)){for(;N!=null&&au(h,N);)C++,N=a[C];if(C===a.length){a=!0;break e}else for(h=h.child;h!==null;)n.push(h,C),h=h.sibling}}a=!1}return a;case Av:if((d===5||d===26||d===27)&&ld(n.stateNode,a.value))return!0;break;case fv:if((d===5||d===6||d===26||d===27)&&(n=_p(n),n!==null&&0<=n.indexOf(a.value)))return!0;break;case dv:if((d===5||d===26||d===27)&&(n=n.memoizedProps["data-testname"],typeof n=="string"&&n.toLowerCase()===a.value.toLowerCase()))return!0;break;default:throw Error("Invalid selector type specified.")}return!1}function mc(n){switch(n.$$typeof){case uv:return"<"+(He(n.value)||"Unknown")+">";case cv:return":has("+(mc(n)||"")+")";case Av:return'[role="'+n.value+'"]';case fv:return'"'+n.value+'"';case dv:return'[data-testname="'+n.value+'"]';default:throw Error("Invalid selector type specified.")}}function Ec(n,a){var d=[];n=[n,0];for(var h=0;h<n.length;){var v=n[h++],C=v.tag,N=n[h++],j=a[N];if(C!==5&&C!==26&&C!==27||!gA(v)){for(;j!=null&&au(v,j);)N++,j=a[N];if(N===a.length)d.push(v);else for(v=v.child;v!==null;)n.push(v,N),v=v.sibling}}return d}function ou(n,a){if(!Pu)throw Error("Test selector API is not supported by this renderer.");n=Ni(n),n=Ec(n,a),a=[],n=Array.from(n);for(var d=0;d<n.length;){var h=n[d++],v=h.tag;if(v===5||v===26||v===27)gA(h)||a.push(h.stateNode);else for(h=h.child;h!==null;)n.push(h),h=h.sibling}return a}function lA(){Pu&&pv.forEach(function(n){return n()})}function Dl(){var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return n||be.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),n}function Wi(n){if((ui&es)!==Is&&Yn!==0)return Yn&-Yn;var a=be.T;return a!==null?(a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(n),n=Nf,n!==0?n:kl()):Qo()}function qa(){Ql===0&&(Ql=(Yn&536870912)===0||Ei?Ve():536870912);var n=yu.current;return n!==null&&(n.flags|=32),Ql}function si(n,a,d){if(nh&&console.error("useInsertionEffect must not schedule updates."),nB&&(mv=!0),(n===Ar&&(Hi===Ff||Hi===zf)||n.cancelPendingCommit!==null)&&(su(n,0),ms(n,Yn,Ql,!1)),Pe(n,d),(ui&es)!==0&&n===Ar){if(bc)switch(a.tag){case 0:case 11:case 15:n=jn&&It(jn)||"Unknown",cN.has(n)||(cN.add(n),a=It(a)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",a,n,n));break;case 1:uN||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),uN=!0)}}else p&&un(n,a,d),s_(a),n===Ar&&((ui&es)===Is&&(Sd|=d),aa===Of&&ms(n,Yn,Ql,!1)),Be(n)}function gs(n,a,d){if((ui&(es|vu))!==Is)throw Error("Should not already be working.");var h=!d&&(a&124)===0&&(a&n.expiredLanes)===0||lt(n,a),v=h?t_(n,a):Ng(n,a,!0),C=h;do{if(v===xA){eh&&!h&&ms(n,a,0,!1);break}else{if(d=n.current.alternate,C&&!$u(d)){v=Ng(n,a,!1),C=!1;continue}if(v===Wp){if(C=a,n.errorRecoveryDisabledLanes&C)var N=0;else N=n.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){a=N;e:{v=n;var j=N;N=Nm;var ge=na&&v.current.memoizedState.isDehydrated;if(ge&&(su(v,j).flags|=256),j=Ng(v,j,!1),j!==Wp){if(K_&&!ge){v.errorRecoveryDisabledLanes|=C,Sd|=C,v=Of;break e}v=_s,_s=N,v!==null&&(_s===null?_s=v:_s.push.apply(_s,v))}v=j}if(C=!1,v!==Wp)continue}}if(v===xm){su(n,0),ms(n,a,0,!0);break}e:{switch(h=n,v){case xA:case xm:throw Error("Root did not complete. This is a bug in React.");case Of:if((a&4194048)!==a)break;case hv:ms(h,a,Ql,!Bd);break e;case Wp:_s=null;break;case j_:case nN:break;default:throw Error("Unknown root exit status.")}if(be.actQueue!==null)Tg(h,d,a,_s,Um,gv,Ql,Sd,Mf);else{if((a&62914560)===a&&(C=Y_+rN-Vi(),10<C)){if(ms(h,a,Ql,!Bd),Ft(h,0,!0)!==0)break e;h.timeoutHandle=vp(pp.bind(null,h,d,_s,Um,gv,a,Ql,Sd,Mf,Bd,v,H$,-0,0),C);break e}pp(h,d,_s,Um,gv,a,Ql,Sd,Mf,Bd,v,L$,-0,0)}}}break}while(!0);Be(n)}function pp(n,a,d,h,v,C,N,j,ge,Fe,ct,pt,Tt,ci){if(n.timeoutHandle=Ta,pt=a.subtreeFlags,(pt&8192||(pt&16785408)===16785408)&&(im(),an(a),pt=Ip(),pt!==null)){n.cancelPendingCommit=pt(Tg.bind(null,n,a,C,d,h,v,N,j,ge,ct,$$,Tt,ci)),ms(n,C,N,!Fe);return}Tg(n,a,C,d,h,v,N,j,ge)}function $u(n){for(var a=n;;){var d=a.tag;if((d===0||d===11||d===15)&&a.flags&16384&&(d=a.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var h=0;h<d.length;h++){var v=d[h],C=v.getSnapshot;v=v.value;try{if(!vs(C(),v))return!1}catch{return!1}}if(d=a.child,a.subtreeFlags&16384&&d!==null)d.return=a,a=d;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ms(n,a,d,h){a&=~Z_,a&=~Sd,n.suspendedLanes|=a,n.pingedLanes&=~a,h&&(n.warmLanes|=a),h=n.expirationTimes;for(var v=a;0<v;){var C=31-er(v),N=1<<C;h[C]=-1,v&=~N}d!==0&&wt(n,d,a)}function hp(){return(ui&(es|vu))===Is?(Nt(0,!1),!1):!0}function wg(){if(jn!==null){if(Hi===tl)var n=jn.return;else n=jn,so(),us(n),Pp=null,Dm=0,n=jn;for(;n!==null;)iA(n.alternate,n),n=n.return;jn=null}}function su(n,a){var d=n.timeoutHandle;d!==Ta&&(n.timeoutHandle=Ta,Cp(d)),d=n.cancelPendingCommit,d!==null&&(n.cancelPendingCommit=null,d()),wg(),Ar=n,jn=d=Hu(n.current,null),Yn=a,Hi=tl,xl=null,Bd=!1,eh=lt(n,a),K_=!1,aa=xA,Mf=Ql=Z_=Sd=Dd=0,_s=Nm=null,gv=!1,(a&8)!==0&&(a|=a&32);var h=n.entangledLanes;if(h!==0)for(n=n.entanglements,h&=a;0<h;){var v=31-er(h),C=1<<v;a|=n[v],h&=~C}return Rc=a,dl(),a=oR(),1e3<a-aR&&(be.recentlyCreatedOwnerStacks=0,aR=a),Ku.discardPendingWarnings(),d}function my(n,a){pn=null,be.H=sv,be.getCurrentStack=null,bc=!1,_A=null,a===Im||a===tv?(a=ac(),Hi=wm):a===Q_?(a=ac(),Hi=iN):Hi=a===VR?V_:a!==null&&typeof a=="object"&&typeof a.then=="function"?Xp:Qm,xl=a;var d=jn;if(d===null)aa=xm,De(n,Oi(a,n.current));else switch(d.mode&2&&Te(d),vn(),Hi){case Qm:s!==null&&typeof s.markComponentErrored=="function"&&s.markComponentErrored(d,a,Yn);break;case Ff:case zf:case wm:case Xp:case Rm:s!==null&&typeof s.markComponentSuspended=="function"&&s.markComponentSuspended(d,a,Yn)}}function Ey(){var n=yu.current;return n===null?!0:(Yn&4194048)===Yn?wc===null:(Yn&62914560)===Yn||(Yn&536870912)!==0?n===wc:!1}function yy(){var n=be.H;return be.H=sv,n===null?sv:n}function vy(){var n=be.A;return be.A=z$,n}function Rg(){aa=Of,Bd||(Yn&4194048)!==Yn&&yu.current!==null||(eh=!0),(Dd&134217727)===0&&(Sd&134217727)===0||Ar===null||ms(Ar,Yn,Ql,!1)}function Ng(n,a,d){var h=ui;ui|=es;var v=yy(),C=vy();if(Ar!==n||Yn!==a){if(p){var N=n.memoizedUpdaters;0<N.size&&(ff(n,Yn),N.clear()),mi(n,a)}Um=null,su(n,a)}Br(a),a=!1,N=aa;e:do try{if(Hi!==tl&&jn!==null){var j=jn,ge=xl;switch(Hi){case V_:wg(),N=hv;break e;case wm:case Ff:case zf:case Xp:yu.current===null&&(a=!0);var Fe=Hi;if(Hi=tl,xl=null,uA(n,j,ge,Fe),d&&eh){N=xA;break e}break;default:Fe=Hi,Hi=tl,xl=null,uA(n,j,ge,Fe)}}Cy(),N=aa;break}catch(ct){my(n,ct)}while(!0);return a&&n.shellSuspendCounter++,so(),ui=h,be.H=v,be.A=C,dt(),jn===null&&(Ar=null,Yn=0,dl()),N}function Cy(){for(;jn!==null;)Iy(jn)}function t_(n,a){var d=ui;ui|=es;var h=yy(),v=vy();if(Ar!==n||Yn!==a){if(p){var C=n.memoizedUpdaters;0<C.size&&(ff(n,Yn),C.clear()),mi(n,a)}Um=null,Tm=Vi()+q_,su(n,a)}else eh=lt(n,a);Br(a);e:do try{if(Hi!==tl&&jn!==null)t:switch(a=jn,C=xl,Hi){case Qm:Hi=tl,xl=null,uA(n,a,C,Qm);break;case Ff:case zf:if(Lo(C)){Hi=tl,xl=null,_y(a);break}a=function(){Hi!==Ff&&Hi!==zf||Ar!==n||(Hi=Rm),Be(n)},C.then(a,a);break e;case wm:Hi=Rm;break e;case iN:Hi=J_;break e;case Rm:Lo(C)?(Hi=tl,xl=null,_y(a)):(Hi=tl,xl=null,uA(n,a,C,Rm));break;case J_:var N=null;switch(jn.tag){case 26:N=jn.memoizedState;case 5:case 27:var j=jn,ge=j.type,Fe=j.pendingProps;if(N?Mn(N):bl(ge,Fe)){Hi=tl,xl=null;var ct=j.sibling;if(ct!==null)jn=ct;else{var pt=j.return;pt!==null?(jn=pt,gp(pt)):jn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Hi=tl,xl=null,uA(n,a,C,J_);break;case Xp:Hi=tl,xl=null,uA(n,a,C,Xp);break;case V_:wg(),aa=hv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}be.actQueue!==null?Cy():n_();break}catch(Tt){my(n,Tt)}while(!0);return so(),be.H=h,be.A=v,ui=d,jn!==null?(s!==null&&typeof s.markRenderYielded=="function"&&s.markRenderYielded(),xA):(dt(),Ar=null,Yn=0,dl(),aa)}function n_(){for(;jn!==null&&!wp();)Iy(jn)}function Iy(n){var a=n.alternate;(n.mode&2)!==Ir?(me(n),a=ht(n,Xc,a,n,Rc),Te(n)):a=ht(n,Xc,a,n,Rc),n.memoizedProps=n.pendingProps,a===null?gp(n):jn=a}function _y(n){var a=ht(n,i_,n);n.memoizedProps=n.pendingProps,a===null?gp(n):jn=a}function i_(n){var a=n.alternate,d=(n.mode&2)!==Ir;switch(d&&me(n),n.tag){case 15:case 0:a=Na(a,n,n.pendingProps,n.type,void 0,Yn);break;case 11:a=Na(a,n,n.pendingProps,n.type.render,n.ref,Yn);break;case 5:us(n);default:iA(a,n),n=jn=Uy(n,Rc),a=Xc(a,n,Rc)}return d&&Te(n),a}function uA(n,a,d,h){so(),us(a),Pp=null,Dm=0;var v=a.return;try{if(_i(n,v,a,d,Yn)){aa=xm,De(n,Oi(d,n.current)),jn=null;return}}catch(C){if(v!==null)throw jn=v,C;aa=xm,De(n,Oi(d,n.current)),jn=null;return}a.flags&32768?(Ei||h===Qm?n=!0:eh||(Yn&536870912)!==0?n=!1:(Bd=n=!0,(h===Ff||h===zf||h===wm||h===Xp)&&(h=yu.current,h!==null&&h.tag===13&&(h.flags|=16384))),By(a,n)):gp(a)}function gp(n){var a=n;do{if((a.flags&32768)!==0){By(a,Bd);return}var d=a.alternate;if(n=a.return,me(a),d=ht(a,nA,d,a,Rc),(a.mode&2)!==Ir&&Ge(a),d!==null){jn=d;return}if(a=a.sibling,a!==null){jn=a;return}jn=a=n}while(a!==null);aa===xA&&(aa=nN)}function By(n,a){do{var d=iu(n.alternate,n);if(d!==null){d.flags&=32767,jn=d;return}if((n.mode&2)!==Ir){Ge(n),d=n.actualDuration;for(var h=n.child;h!==null;)d+=h.actualDuration,h=h.sibling;n.actualDuration=d}if(d=n.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!a&&(n=n.sibling,n!==null)){jn=n;return}jn=n=d}while(n!==null);aa=hv,jn=null}function Tg(n,a,d,h,v,C,N,j,ge){n.cancelPendingCommit=null;do rd();while(Uo!==Lf);if(Ku.flushLegacyContextWarning(),Ku.flushPendingUnsafeLifecycleWarnings(),(ui&(es|vu))!==Is)throw Error("Should not already be working.");if(s!==null&&typeof s.markCommitStarted=="function"&&s.markCommitStarted(d),a===null)Vn();else{if(d===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),a===n.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(C=a.lanes|a.childLanes,C|=w_,Qt(n,d,C,N,j,ge),n===Ar&&(jn=Ar=null,Yn=0),th=a,xd=n,Qd=d,X_=C,eB=v,lN=h,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,o_(du,function(){return kg(!0),null})):(n.callbackNode=null,n.callbackPriority=0),Zy=kp(),h=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||h){h=be.T,be.T=null,v=Ks(),ur(2),N=ui,ui|=vu;try{go(n,a,d)}finally{ui=N,ur(v),be.T=h}}Uo=aN,Dy(),Sy(),by()}}function Dy(){if(Uo===aN){Uo=Lf;var n=xd,a=th,d=Qd,h=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||h){h=be.T,be.T=null;var v=Ks();ur(2);var C=ui;ui|=vu;try{Zp=d,Yp=n,U(a,n),Yp=Zp=null,tm(n.containerInfo)}finally{ui=C,ur(v),be.T=h}}n.current=a,Uo=oN}}function Sy(){if(Uo===oN){Uo=Lf;var n=xd,a=th,d=Qd,h=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||h){h=be.T,be.T=null;var v=Ks();ur(2);var C=ui;ui|=vu;try{s!==null&&typeof s.markLayoutEffectsStarted=="function"&&s.markLayoutEffectsStarted(d),Zp=d,Yp=n,sA(n,a.alternate,a),Yp=Zp=null,s!==null&&typeof s.markLayoutEffectsStopped=="function"&&s.markLayoutEffectsStopped()}finally{ui=C,ur(v),be.T=h}}Uo=sN}}function by(){if(Uo===G$||Uo===sN){Uo=Lf,Sc();var n=xd,a=th,d=Qd,h=lN,v=(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;v?Uo=W_:(Uo=Lf,th=xd=null,Ug(n,n.pendingLanes),$f=0,Om=null);var C=n.pendingLanes;if(C===0&&(bd=null),v||wy(n),v=Lt(d),a=a.stateNode,ka&&typeof ka.onCommitFiberRoot=="function")try{var N=(a.current.flags&128)===128;switch(v){case 2:var j=Au;break;case 8:j=CA;break;case 32:j=du;break;case 268435456:j=Rp;break;default:j=du}ka.onCommitFiberRoot(fu,a,j,N)}catch(pt){c||(c=!0,console.error("React instrumentation encountered an error: %s",pt))}if(p&&n.memoizedUpdaters.clear(),lA(),h!==null){N=be.T,j=Ks(),ur(2),be.T=null;try{var ge=n.onRecoverableError;for(a=0;a<h.length;a++){var Fe=h[a],ct=xy(Fe.stack);ht(Fe.source,ge,Fe.value,ct)}}finally{be.T=N,ur(j)}}(Qd&3)!==0&&rd(),Be(n),C=n.pendingLanes,(d&4194090)!==0&&(C&42)!==0?(qy=!0,n===tB?km++:(km=0,tB=n)):km=0,Nt(0,!1),Vn()}}function xy(n){return n={componentStack:n},Object.defineProperty(n,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),n}function Ug(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,L(a)))}function rd(n){return Dy(),Sy(),by(),kg(n)}function kg(){if(Uo!==W_)return!1;var n=xd,a=X_;X_=0;var d=Lt(Qd),h=32>d?32:d;d=be.T;var v=Ks();try{ur(h),be.T=null,h=eB,eB=null;var C=xd,N=Qd;if(Uo=Lf,th=xd=null,Qd=0,(ui&(es|vu))!==Is)throw Error("Cannot flush passive effects while already rendering.");nB=!0,mv=!1,s!==null&&typeof s.markPassiveEffectsStarted=="function"&&s.markPassiveEffectsStarted(N);var j=ui;if(ui|=vu,Yt(C.current),rt(C,C.current,N,h),s!==null&&typeof s.markPassiveEffectsStopped=="function"&&s.markPassiveEffectsStopped(),wy(C),ui=j,Nt(0,!1),mv?C===Om?$f++:($f=0,Om=C):$f=0,mv=nB=!1,ka&&typeof ka.onPostCommitFiberRoot=="function")try{ka.onPostCommitFiberRoot(fu,C)}catch(Fe){c||(c=!0,console.error("React instrumentation encountered an error: %s",Fe))}var ge=C.current.stateNode;return ge.effectDuration=0,ge.passiveEffectDuration=0,!0}finally{ur(v),be.T=d,Ug(n,a)}}function Og(n,a,d){a=Oi(d,a),a=We(n.stateNode,a,2),n=os(n,a,2),n!==null&&(Pe(n,2),Be(n))}function Bi(n,a,d){if(nh=!1,n.tag===3)Og(n,n,d);else{for(;a!==null;){if(a.tag===3){Og(a,n,d);return}if(a.tag===1){var h=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(bd===null||!bd.has(h))){n=Oi(d,n),d=tt(2),h=os(a,d,2),h!==null&&(Zt(d,h,a,n),Pe(h,2),Be(h));return}}a=a.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
149
-
150
- Error message:
151
-
152
- %s`,d)}}function df(n,a,d){var h=n.pingCache;if(h===null){h=n.pingCache=new M$;var v=new Set;h.set(a,v)}else v=h.get(a),v===void 0&&(v=new Set,h.set(a,v));v.has(d)||(K_=!0,v.add(d),h=Fg.bind(null,n,a,d),p&&ff(n,d),a.then(h,h))}function Fg(n,a,d){var h=n.pingCache;h!==null&&h.delete(a),n.pingedLanes|=n.suspendedLanes&d,n.warmLanes&=~d,Dl()&&be.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
153
-
154
- When testing, code that resolves suspended data should be wrapped into act(...):
155
-
156
- act(() => {
157
- /* finish loading suspended data */
158
- });
159
- /* assert on the output */
160
-
161
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Ar===n&&(Yn&d)===d&&(aa===Of||aa===j_&&(Yn&62914560)===Yn&&Vi()-Y_<rN?(ui&es)===Is&&su(n,0):Z_|=d,Mf===Yn&&(Mf=0)),Be(n)}function Qy(n,a){a===0&&(a=Dt()),n=wr(n,a),n!==null&&(Pe(n,a),Be(n))}function r_(n){var a=n.memoizedState,d=0;a!==null&&(d=a.retryLane),Qy(n,d)}function a_(n,a){var d=0;switch(n.tag){case 13:var h=n.stateNode,v=n.memoizedState;v!==null&&(d=v.retryLane);break;case 19:h=n.stateNode;break;case 22:h=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}h!==null&&h.delete(a),Qy(n,d)}function zg(n,a,d){if((a.subtreeFlags&67117056)!==0)for(a=a.child;a!==null;){var h=n,v=a,C=v.type===pf;C=d||C,v.tag!==22?v.flags&67108864?C&&ht(v,Mg,h,v,(v.mode&64)===Ir):zg(h,v,C):v.memoizedState===null&&(C&&v.flags&8192?ht(v,Mg,h,v):v.subtreeFlags&67108864&&ht(v,zg,h,v,C)),a=a.sibling}}function Mg(n,a){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;en(!0);try{X(a),d&&fn(a),Ae(n,a.alternate,a,!1),d&&Je(n,a,0,null,!1,0)}finally{en(!1)}}function wy(n){var a=!0;n.current.mode&24||(a=!1),zg(n,n.current,a)}function Ry(n){if((ui&es)===Is){var a=n.tag;if(a===3||a===1||a===0||a===11||a===14||a===15){if(a=It(n)||"ReactComponent",Ev!==null){if(Ev.has(a))return;Ev.add(a)}else Ev=new Set([a]);ht(n,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function ff(n,a){p&&n.memoizedUpdaters.forEach(function(d){un(n,d,a)})}function o_(n,a){var d=be.actQueue;return d!==null?(d.push(a),J$):vd(n,a)}function s_(n){Dl()&&be.actQueue===null&&ht(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
162
-
163
- When testing, code that causes React state updates should be wrapped into act(...):
164
-
165
- act(() => {
166
- /* fire events that update state */
167
- });
168
- /* assert on the output */
169
-
170
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,It(n))})}function cA(n){if(Cu===null)return n;var a=Cu(n);return a===void 0?n:a.current}function Lg(n){if(Cu===null)return n;var a=Cu(n);return a===void 0?n!=null&&typeof n.render=="function"&&(a=cA(n.render),n.render!==a)?(a={$$typeof:Xa,render:a},n.displayName!==void 0&&(a.displayName=n.displayName),a):n:a.current}function Ny(n,a){if(Cu===null)return!1;var d=n.elementType;a=a.type;var h=!1,v=typeof a=="object"&&a!==null?a.$$typeof:null;switch(n.tag){case 1:typeof a=="function"&&(h=!0);break;case 0:(typeof a=="function"||v===mo)&&(h=!0);break;case 11:(v===Xa||v===mo)&&(h=!0);break;case 14:case 15:(v===fA||v===mo)&&(h=!0);break;default:return!1}return!!(h&&(n=Cu(d),n!==void 0&&n===Cu(a)))}function Ty(n){Cu!==null&&typeof WeakSet=="function"&&(ih===null&&(ih=new WeakSet),ih.add(n))}function $g(n,a,d){var h=n.alternate,v=n.child,C=n.sibling,N=n.tag,j=n.type,ge=null;switch(N){case 0:case 15:case 1:ge=j;break;case 11:ge=j.render}if(Cu===null)throw Error("Expected resolveFamily to be set during hot reload.");var Fe=!1;j=!1,ge!==null&&(ge=Cu(ge),ge!==void 0&&(d.has(ge)?j=!0:a.has(ge)&&(N===1?j=!0:Fe=!0))),ih!==null&&(ih.has(n)||h!==null&&ih.has(h))&&(j=!0),j&&(n._debugNeedsRemount=!0),(j||Fe)&&(h=wr(n,2),h!==null&&si(h,n,2)),v===null||j||$g(v,a,d),C!==null&&$g(C,a,d)}function l_(n,a,d,h){this.tag=n,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,AN||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Hg(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Hu(n,a){var d=n.alternate;switch(d===null?(d=I(n.tag,a,n.key,n.mode),d.elementType=n.elementType,d.type=n.type,d.stateNode=n.stateNode,d._debugOwner=n._debugOwner,d._debugStack=n._debugStack,d._debugTask=n._debugTask,d._debugHookTypes=n._debugHookTypes,d.alternate=n,n.alternate=d):(d.pendingProps=a,d.type=n.type,d.flags=0,d.subtreeFlags=0,d.deletions=null,d.actualDuration=-0,d.actualStartTime=-1.1),d.flags=n.flags&65011712,d.childLanes=n.childLanes,d.lanes=n.lanes,d.child=n.child,d.memoizedProps=n.memoizedProps,d.memoizedState=n.memoizedState,d.updateQueue=n.updateQueue,a=n.dependencies,d.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},d.sibling=n.sibling,d.index=n.index,d.ref=n.ref,d.refCleanup=n.refCleanup,d.selfBaseDuration=n.selfBaseDuration,d.treeBaseDuration=n.treeBaseDuration,d._debugInfo=n._debugInfo,d._debugNeedsRemount=n._debugNeedsRemount,d.tag){case 0:case 15:d.type=cA(n.type);break;case 1:d.type=cA(n.type);break;case 11:d.type=Lg(n.type)}return d}function Uy(n,a){n.flags&=65011714;var d=n.alternate;return d===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null,n.selfBaseDuration=0,n.treeBaseDuration=0):(n.childLanes=d.childLanes,n.lanes=d.lanes,n.child=d.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=d.memoizedProps,n.memoizedState=d.memoizedState,n.updateQueue=d.updateQueue,n.type=d.type,a=d.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext,_debugThenableState:a._debugThenableState},n.selfBaseDuration=d.selfBaseDuration,n.treeBaseDuration=d.treeBaseDuration),n}function Gg(n,a,d,h,v,C){var N=0,j=n;if(typeof n=="function")Hg(n)&&(N=1),j=cA(j);else if(typeof n=="string")jr&&on?(N=ue(),N=yA(n,d,N)?26:Qp(n)?27:5):jr?(N=ue(),N=yA(n,d,N)?26:5):N=on&&Qp(n)?27:5;else e:switch(n){case ad:return a=I(31,d,a,v),a.elementType=ad,a.lanes=C,a;case dA:return yc(d.children,v,C,a);case pf:N=8,v|=24;break;case Cc:return n=d,h=v,typeof n.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof n.id),a=I(12,n,a,h|2),a.elementType=Cc,a.lanes=C,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case qg:return a=I(13,d,a,v),a.elementType=qg,a.lanes=C,a;case Wg:return a=I(19,d,a,v),a.elementType=Wg,a.lanes=C,a;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Yg:case Ko:N=10;break e;case Ic:N=9;break e;case Xa:N=11,j=Lg(j);break e;case fA:N=14;break e;case mo:N=16,j=null;break e}j="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null?d="null":lr(n)?d="array":n!==void 0&&n.$$typeof===vc?(d="<"+(He(n.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):d=typeof n,N=h?typeof h.tag=="number"?It(h):typeof h.name=="string"?h.name:null:null,N&&(j+=`
171
-
172
- Check the render method of \``+N+"`."),N=29,d=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(d+"."+j)),j=null}return a=I(N,d,a,v),a.elementType=n,a.type=j,a.lanes=C,a._debugOwner=h,a}function mp(n,a,d){return a=Gg(n.type,n.key,n.props,n._owner,a,d),a._debugOwner=n._owner,a._debugStack=n._debugStack,a._debugTask=n._debugTask,a}function yc(n,a,d,h){return n=I(7,n,h,a),n.lanes=d,n}function Pg(n,a,d){return n=I(6,n,null,a),n.lanes=d,n}function jg(n,a,d){return a=I(4,n.children!==null?n.children:[],n.key,a),a.lanes=d,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function Sl(n,a,d,h,v,C,N,j){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Ta,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ee(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ee(0),this.hiddenUpdates=Ee(null),this.identifierPrefix=h,this.onUncaughtError=v,this.onCaughtError=C,this.onRecoverableError=N,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,n=this.pendingUpdatersLaneMap=[],a=0;31>a;a++)n.push(new Set);this._debugRootType=d?"hydrateRoot()":"createRoot()"}function Jg(n,a,d,h,v,C,N,j,ge,Fe,ct,pt){return n=new Sl(n,a,d,N,j,ge,Fe,pt),a=1,C===!0&&(a|=24),p&&(a|=2),C=I(3,null,null,a),n.current=C,C.stateNode=n,a=lo(),Ga(a),n.pooledCache=a,Ga(a),C.memoizedState={element:h,isDehydrated:d,cache:a},Ns(C),n}function Ep(n){return""+n}function Vg(n){return n?(n=cu,n):cu}function Kg(n,a,d,h){return Zg(a.current,2,n,a,d,h),2}function Zg(n,a,d,h,v,C){if(ka&&typeof ka.onScheduleFiberRoot=="function")try{ka.onScheduleFiberRoot(fu,h,d)}catch(N){c||(c=!0,console.error("React instrumentation encountered an error: %s",N))}s!==null&&typeof s.markRenderScheduled=="function"&&s.markRenderScheduled(a),v=Vg(v),h.context===null?h.context=v:h.pendingContext=v,bc&&_A!==null&&!fN&&(fN=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
173
-
174
- Check the render method of %s.`,It(_A)||"Unknown")),h=$o(a),h.payload={element:d},C=C===void 0?null:C,C!==null&&(typeof C!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",C),h.callback=C),d=os(n,h,a),d!==null&&(si(d,n,a),Us(d,n,a))}function ky(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var d=n.retryLane;n.retryLane=d!==0&&d<a?d:a}}function yp(n,a){ky(n,a),(n=n.alternate)&&ky(n,a)}function Oy(){return _A}function u_(){for(var n=new Map,a=1,d=0;31>d;d++){var h=Ki(a);n.set(a,h),a*=2}return n}var Pn={},c_=yi(),xo=iD(),Wa=Object.assign,da=Symbol.for("react.element"),vc=Symbol.for("react.transitional.element"),AA=Symbol.for("react.portal"),dA=Symbol.for("react.fragment"),pf=Symbol.for("react.strict_mode"),Cc=Symbol.for("react.profiler"),Yg=Symbol.for("react.provider"),Ic=Symbol.for("react.consumer"),Ko=Symbol.for("react.context"),Xa=Symbol.for("react.forward_ref"),qg=Symbol.for("react.suspense"),Wg=Symbol.for("react.suspense_list"),fA=Symbol.for("react.memo"),mo=Symbol.for("react.lazy"),ad=Symbol.for("react.activity"),Xg=Symbol.for("react.memo_cache_sentinel"),Fy=Symbol.iterator,A_=Symbol.for("react.client.reference"),lr=Array.isArray,be=c_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,d_=e.rendererVersion,em=e.rendererPackageName,zy=e.extraDevToolsConfig,od=e.getPublicInstance,f_=e.getRootHostContext,hf=e.getChildHostContext,Es=e.prepareForCommit,tm=e.resetAfterCommit,My=e.createInstance;e.cloneMutableInstance;var gf=e.appendInitialChild,nm=e.finalizeInitialChildren,Gu=e.shouldSetTextContent,pA=e.createTextInstance;e.cloneMutableTextInstance;var vp=e.scheduleTimeout,Cp=e.cancelTimeout,Ta=e.noTimeout,ta=e.isPrimaryRenderer;e.warnsIfNotActing;var Nr=e.supportsMutation,Eo=e.supportsPersistence,na=e.supportsHydration,eo=e.getInstanceFromNode;e.beforeActiveInstanceBlur;var mf=e.preparePortalMount;e.prepareScopeUpdate,e.getInstanceFromScope;var ur=e.setCurrentUpdatePriority,Ks=e.getCurrentUpdatePriority,Qo=e.resolveUpdatePriority;e.trackSchedulerEvent,e.resolveEventType,e.resolveEventTimeStamp;var fa=e.shouldAttemptEagerTransition,Di=e.detachDeletedInstance;e.requestPostPaintCallback;var hA=e.maySuspendCommit,bl=e.preloadInstance,im=e.startSuspendingCommit,Zo=e.suspendInstance;e.suspendOnActiveViewTransition;var Ip=e.waitForCommitToBeReady,Zs=e.NotPendingTransition,wo=e.HostTransitionContext,p_=e.resetFormInstance,h_=e.bindToConsole,g_=e.supportsMicrotasks,Tr=e.scheduleMicrotask,Pu=e.supportsTestSelectors,sd=e.findFiberRoot,rm=e.getBoundingRect,_p=e.getTextContent,gA=e.isHiddenSubtree,ld=e.matchAccessibilityRole,Ef=e.setFocusIfFocusable,am=e.setupIntersectionObserver,ud=e.appendChild,cd=e.appendChildToContainer,Ly=e.commitTextUpdate,mA=e.commitMount,m_=e.commitUpdate,yf=e.insertBefore,om=e.insertInContainerBefore,Bp=e.removeChild,Dp=e.removeChildFromContainer,EA=e.resetTextContent,Ys=e.hideInstance,Ad=e.hideTextInstance,sm=e.unhideInstance,_c=e.unhideTextInstance;e.cancelViewTransitionName,e.cancelRootViewTransitionName,e.restoreRootViewTransitionName,e.cloneRootViewTransitionContainer,e.removeRootViewTransitionClone,e.measureClonedInstance,e.hasInstanceChanged,e.hasInstanceAffectedParent,e.startViewTransition,e.startGestureTransition,e.stopGestureTransition,e.getCurrentGestureOffset,e.subscribeToGestureDirection,e.createViewTransitionInstance;var lm=e.clearContainer;e.createFragmentInstance,e.updateFragmentInstanceFiber,e.commitNewChildToFragmentInstance,e.deleteChildFromFragmentInstance;var dd=e.cloneInstance,vf=e.createContainerChildSet,ju=e.appendChildToContainerChildSet,Un=e.finalizeContainerChildren,Ti=e.replaceContainerChildren,Pr=e.cloneHiddenInstance,Cf=e.cloneHiddenTextInstance,Bc=e.isSuspenseInstancePending,Ju=e.isSuspenseInstanceFallback,Sp=e.getSuspenseInstanceFallbackErrorDetails,If=e.registerSuspenseInstanceRetry,fd=e.canHydrateFormStateMarker,E_=e.isFormStateMarkerMatching,pd=e.getNextHydratableSibling,$y=e.getNextHydratableSiblingAfterSingleton,Hy=e.getFirstHydratableChild,y_=e.getFirstHydratableChildWithinContainer,hd=e.getFirstHydratableChildWithinSuspenseInstance,_f=e.getFirstHydratableChildWithinSingleton,gd=e.canHydrateInstance,Gy=e.canHydrateTextInstance,qs=e.canHydrateSuspenseInstance,lu=e.hydrateInstance,pa=e.hydrateTextInstance,um=e.hydrateSuspenseInstance,cm=e.getNextHydratableInstanceAfterSuspenseInstance,Py=e.commitHydratedContainer,Ua=e.commitHydratedSuspenseInstance,Am=e.clearSuspenseBoundary,Vu=e.clearSuspenseBoundaryFromContainer,Ur=e.shouldDeleteUnhydratedTailInstances,bp=e.diffHydratedPropsForDevWarnings,dm=e.diffHydratedTextForDevWarnings,ha=e.describeHydratableInstanceForDevWarnings,ia=e.validateHydratableInstance,Yo=e.validateHydratableTextInstance,jr=e.supportsResources,yA=e.isHostHoistableType,fm=e.getHoistableRoot,Bf=e.getResource,Df=e.acquireResource,Sf=e.releaseResource,xp=e.hydrateHoistable,bf=e.mountHoistable,md=e.unmountHoistable,v_=e.createHoistableInstance,ti=e.prepareToCommitHoistables,Xi=e.mayResourceSuspendCommit,Mn=e.preloadResource,li=e.suspendResource,on=e.supportsSingletons,qo=e.resolveSingletonInstance,Dc=e.acquireSingletonInstance,vA=e.releaseSingletonInstance,Qp=e.isHostSingletonType,Wo=e.isSingletonScope,Cr=[],uu=[],Ro=-1,cu={};Object.freeze(cu);var er=Math.clz32?Math.clz32:Xt,Ed=Math.log,xf=Math.LN2,to=256,yd=4194304,vd=xo.unstable_scheduleCallback,Qf=xo.unstable_cancelCallback,wp=xo.unstable_shouldYield,Sc=xo.unstable_requestPaint,Vi=xo.unstable_now,Au=xo.unstable_ImmediatePriority,CA=xo.unstable_UserBlockingPriority,du=xo.unstable_NormalPriority,Rp=xo.unstable_IdlePriority,pm=xo.log,jy=xo.unstable_setDisableYieldValue,fu=null,ka=null,s=null,c=!1,p=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",E=0,_,w,P,ie,Ce,Ke,ut;ua.__reactDisabledLog=!0;var bt,Ut,En=!1,Xo=new(typeof WeakMap=="function"?WeakMap:Map),IA=new WeakMap,Ws=[],ye=0,pe=null,_e=0,Ze=[],Ot=0,Si=null,Jt=1,wn="",cr=Gt(null),Zn=Gt(null),No=Gt(null),Np=Gt(null),rR=/["'&<>\n\t]|^\s|\s$/,_A=null,bc=!1,ys=null,Oa=null,Ei=!1,BA=!1,pu=null,wf=null,xc=!1,C_=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),aR=0;if(typeof performance=="object"&&typeof performance.now=="function")var b$=performance,oR=function(){return b$.now()};else{var x$=Date;oR=function(){return x$.now()}}var vs=typeof Object.is=="function"?Object.is:Qs,Ir=0,Jy=Gt(null),I_=Gt(null),__=Gt(null),Vy={},Ky=null,Tp=null,Up=!1,Q$=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(d,h){n.push(h)}};this.abort=function(){a.aborted=!0,n.forEach(function(d){return d()})}},w$=xo.unstable_scheduleCallback,R$=xo.unstable_NormalPriority,ra={$$typeof:Ko,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},kp=xo.unstable_now,Zy=-0,Xs=-1.1,Rf=-0,Yy=!1,qy=!1,Wy=null,Op=null,B_=!1,D_=!1,Xy=!1,S_=!1,Fp=0,b_={},hm=null,x_=0,Nf=0,zp=null,sR=be.S;be.S=function(n,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&xu(n,a),sR!==null&&sR(n,a)};var Tf=Gt(null),N$=Object.prototype.hasOwnProperty,Ku={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},gm=[],mm=[],Em=[],ym=[],vm=[],Cm=[],Uf=new Set;Ku.recordUnsafeLifecycleWarnings=function(n,a){Uf.has(n.type)||(typeof a.componentWillMount=="function"&&a.componentWillMount.__suppressDeprecationWarning!==!0&&gm.push(n),n.mode&8&&typeof a.UNSAFE_componentWillMount=="function"&&mm.push(n),typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Em.push(n),n.mode&8&&typeof a.UNSAFE_componentWillReceiveProps=="function"&&ym.push(n),typeof a.componentWillUpdate=="function"&&a.componentWillUpdate.__suppressDeprecationWarning!==!0&&vm.push(n),n.mode&8&&typeof a.UNSAFE_componentWillUpdate=="function"&&Cm.push(n))},Ku.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<gm.length&&(gm.forEach(function(j){n.add(It(j)||"Component"),Uf.add(j.type)}),gm=[]);var a=new Set;0<mm.length&&(mm.forEach(function(j){a.add(It(j)||"Component"),Uf.add(j.type)}),mm=[]);var d=new Set;0<Em.length&&(Em.forEach(function(j){d.add(It(j)||"Component"),Uf.add(j.type)}),Em=[]);var h=new Set;0<ym.length&&(ym.forEach(function(j){h.add(It(j)||"Component"),Uf.add(j.type)}),ym=[]);var v=new Set;0<vm.length&&(vm.forEach(function(j){v.add(It(j)||"Component"),Uf.add(j.type)}),vm=[]);var C=new Set;if(0<Cm.length&&(Cm.forEach(function(j){C.add(It(j)||"Component"),Uf.add(j.type)}),Cm=[]),0<a.size){var N=oe(a);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
175
-
176
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
177
-
178
- Please update the following components: %s`,N)}0<h.size&&(N=oe(h),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
179
-
180
- * Move data fetching code or side effects to componentDidUpdate.
181
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
182
-
183
- Please update the following components: %s`,N)),0<C.size&&(N=oe(C),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
184
-
185
- * Move data fetching code or side effects to componentDidUpdate.
186
-
187
- Please update the following components: %s`,N)),0<n.size&&(N=oe(n),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
188
-
189
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
190
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
191
-
192
- Please update the following components: %s`,N)),0<d.size&&(N=oe(d),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
193
-
194
- * Move data fetching code or side effects to componentDidUpdate.
195
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
196
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
197
-
198
- Please update the following components: %s`,N)),0<v.size&&(N=oe(v),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
199
-
200
- * Move data fetching code or side effects to componentDidUpdate.
201
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
202
-
203
- Please update the following components: %s`,N))};var ev=new Map,lR=new Set;Ku.recordLegacyContextWarning=function(n,a){for(var d=null,h=n;h!==null;)h.mode&8&&(d=h),h=h.return;d===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!lR.has(n.type)&&(h=ev.get(d),n.type.contextTypes!=null||n.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(h===void 0&&(h=[],ev.set(d,h)),h.push(n))},Ku.flushLegacyContextWarning=function(){ev.forEach(function(n){if(n.length!==0){var a=n[0],d=new Set;n.forEach(function(v){d.add(It(v)||"Component"),lR.add(v.type)});var h=oe(d);ht(a,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
204
-
205
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
206
-
207
- Please update the following components: %s
208
-
209
- Learn more about this warning here: https://react.dev/link/legacy-context`,h)})}})},Ku.discardPendingWarnings=function(){gm=[],mm=[],Em=[],ym=[],vm=[],Cm=[],ev=new Map};var Im=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Q_=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),tv=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),nv={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Mp=null,iv=!1,hu=0,gu=1,Cs=2,To=4,no=8,mu=[],Lp=0,w_=0,uR=0,cR=1,AR=2,R_=3,Cd=!1,dR=!1,N_=null,T_=!1,$p=Gt(null),rv=Gt(0),Hp,fR=new Set,pR=new Set,U_=new Set,hR=new Set,Id=0,pn=null,tr=null,Fa=null,av=!1,Gp=!1,kf=!1,ov=0,_m=0,DA=null,T$=0,U$=25,Ne=null,Eu=null,SA=-1,Bm=!1,sv={readContext:Wn,use:bi,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useLayoutEffect:Bn,useInsertionEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useSyncExternalStore:Bn,useId:Bn,useHostTransitionStatus:Bn,useFormState:Bn,useActionState:Bn,useOptimistic:Bn,useMemoCache:Bn,useCacheRefresh:Bn},k_=null,gR=null,O_=null,mR=null,Qc=null,Zu=null,lv=null;k_={readContext:function(n){return Wn(n)},use:bi,useCallback:function(n,a){return Ne="useCallback",mn(),xa(a),yl(n,a)},useContext:function(n){return Ne="useContext",mn(),Wn(n)},useEffect:function(n,a){return Ne="useEffect",mn(),xa(a),ql(n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",mn(),xa(d),Wl(n,a,d)},useInsertionEffect:function(n,a){Ne="useInsertionEffect",mn(),xa(a),Hs(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",mn(),xa(a),Gs(n,a)},useMemo:function(n,a){Ne="useMemo",mn(),xa(a);var d=be.H;be.H=Qc;try{return uc(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",mn();var h=be.H;be.H=Qc;try{return co(n,a,d)}finally{be.H=h}},useRef:function(n){return Ne="useRef",mn(),Xn(n)},useState:function(n){Ne="useState",mn();var a=be.H;be.H=Qc;try{return gl(n)}finally{be.H=a}},useDebugValue:function(){Ne="useDebugValue",mn()},useDeferredValue:function(n,a){return Ne="useDeferredValue",mn(),Go(n,a)},useTransition:function(){return Ne="useTransition",mn(),Uu()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",mn(),hl(n,a,d)},useId:function(){return Ne="useId",mn(),Va()},useFormState:function(n,a){return Ne="useFormState",mn(),ss(),Ms(n,a)},useActionState:function(n,a){return Ne="useActionState",mn(),Ms(n,a)},useOptimistic:function(n){return Ne="useOptimistic",mn(),ml(n)},useHostTransitionStatus:ea,useMemoCache:Bo,useCacheRefresh:function(){return Ne="useCacheRefresh",mn(),fo()}},gR={readContext:function(n){return Wn(n)},use:bi,useCallback:function(n,a){return Ne="useCallback",qe(),yl(n,a)},useContext:function(n){return Ne="useContext",qe(),Wn(n)},useEffect:function(n,a){return Ne="useEffect",qe(),ql(n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",qe(),Wl(n,a,d)},useInsertionEffect:function(n,a){Ne="useInsertionEffect",qe(),Hs(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",qe(),Gs(n,a)},useMemo:function(n,a){Ne="useMemo",qe();var d=be.H;be.H=Qc;try{return uc(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",qe();var h=be.H;be.H=Qc;try{return co(n,a,d)}finally{be.H=h}},useRef:function(n){return Ne="useRef",qe(),Xn(n)},useState:function(n){Ne="useState",qe();var a=be.H;be.H=Qc;try{return gl(n)}finally{be.H=a}},useDebugValue:function(){Ne="useDebugValue",qe()},useDeferredValue:function(n,a){return Ne="useDeferredValue",qe(),Go(n,a)},useTransition:function(){return Ne="useTransition",qe(),Uu()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",qe(),hl(n,a,d)},useId:function(){return Ne="useId",qe(),Va()},useActionState:function(n,a){return Ne="useActionState",qe(),Ms(n,a)},useFormState:function(n,a){return Ne="useFormState",qe(),ss(),Ms(n,a)},useOptimistic:function(n){return Ne="useOptimistic",qe(),ml(n)},useHostTransitionStatus:ea,useMemoCache:Bo,useCacheRefresh:function(){return Ne="useCacheRefresh",qe(),fo()}},O_={readContext:function(n){return Wn(n)},use:bi,useCallback:function(n,a){return Ne="useCallback",qe(),Ja(n,a)},useContext:function(n){return Ne="useContext",qe(),Wn(n)},useEffect:function(n,a){Ne="useEffect",qe(),Qa(2048,no,n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",qe(),ds(n,a,d)},useInsertionEffect:function(n,a){return Ne="useInsertionEffect",qe(),Qa(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",qe(),Qa(4,To,n,a)},useMemo:function(n,a){Ne="useMemo",qe();var d=be.H;be.H=Zu;try{return jt(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",qe();var h=be.H;be.H=Zu;try{return pl(n,a,d)}finally{be.H=h}},useRef:function(){return Ne="useRef",qe(),$n().memoizedState},useState:function(){Ne="useState",qe();var n=be.H;be.H=Zu;try{return pl(qr)}finally{be.H=n}},useDebugValue:function(){Ne="useDebugValue",qe()},useDeferredValue:function(n,a){return Ne="useDeferredValue",qe(),Xr(n,a)},useTransition:function(){return Ne="useTransition",qe(),Xl()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",qe(),Jl(n,a,d)},useId:function(){return Ne="useId",qe(),$n().memoizedState},useFormState:function(n){return Ne="useFormState",qe(),ss(),Ls(n)},useActionState:function(n){return Ne="useActionState",qe(),Ls(n)},useOptimistic:function(n,a){return Ne="useOptimistic",qe(),xi(n,a)},useHostTransitionStatus:ea,useMemoCache:Bo,useCacheRefresh:function(){return Ne="useCacheRefresh",qe(),$n().memoizedState}},mR={readContext:function(n){return Wn(n)},use:bi,useCallback:function(n,a){return Ne="useCallback",qe(),Ja(n,a)},useContext:function(n){return Ne="useContext",qe(),Wn(n)},useEffect:function(n,a){Ne="useEffect",qe(),Qa(2048,no,n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",qe(),ds(n,a,d)},useInsertionEffect:function(n,a){return Ne="useInsertionEffect",qe(),Qa(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",qe(),Qa(4,To,n,a)},useMemo:function(n,a){Ne="useMemo",qe();var d=be.H;be.H=lv;try{return jt(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",qe();var h=be.H;be.H=lv;try{return Ao(n,a,d)}finally{be.H=h}},useRef:function(){return Ne="useRef",qe(),$n().memoizedState},useState:function(){Ne="useState",qe();var n=be.H;be.H=lv;try{return Ao(qr)}finally{be.H=n}},useDebugValue:function(){Ne="useDebugValue",qe()},useDeferredValue:function(n,a){return Ne="useDeferredValue",qe(),fs(n,a)},useTransition:function(){return Ne="useTransition",qe(),ei()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",qe(),Jl(n,a,d)},useId:function(){return Ne="useId",qe(),$n().memoizedState},useFormState:function(n){return Ne="useFormState",qe(),ss(),sr(n)},useActionState:function(n){return Ne="useActionState",qe(),sr(n)},useOptimistic:function(n,a){return Ne="useOptimistic",qe(),Tu(n,a)},useHostTransitionStatus:ea,useMemoCache:Bo,useCacheRefresh:function(){return Ne="useCacheRefresh",qe(),$n().memoizedState}},Qc={readContext:function(n){return te(),Wn(n)},use:function(n){return $(),bi(n)},useCallback:function(n,a){return Ne="useCallback",$(),mn(),yl(n,a)},useContext:function(n){return Ne="useContext",$(),mn(),Wn(n)},useEffect:function(n,a){return Ne="useEffect",$(),mn(),ql(n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",$(),mn(),Wl(n,a,d)},useInsertionEffect:function(n,a){Ne="useInsertionEffect",$(),mn(),Hs(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",$(),mn(),Gs(n,a)},useMemo:function(n,a){Ne="useMemo",$(),mn();var d=be.H;be.H=Qc;try{return uc(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",$(),mn();var h=be.H;be.H=Qc;try{return co(n,a,d)}finally{be.H=h}},useRef:function(n){return Ne="useRef",$(),mn(),Xn(n)},useState:function(n){Ne="useState",$(),mn();var a=be.H;be.H=Qc;try{return gl(n)}finally{be.H=a}},useDebugValue:function(){Ne="useDebugValue",$(),mn()},useDeferredValue:function(n,a){return Ne="useDeferredValue",$(),mn(),Go(n,a)},useTransition:function(){return Ne="useTransition",$(),mn(),Uu()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",$(),mn(),hl(n,a,d)},useId:function(){return Ne="useId",$(),mn(),Va()},useFormState:function(n,a){return Ne="useFormState",$(),mn(),Ms(n,a)},useActionState:function(n,a){return Ne="useActionState",$(),mn(),Ms(n,a)},useOptimistic:function(n){return Ne="useOptimistic",$(),mn(),ml(n)},useMemoCache:function(n){return $(),Bo(n)},useHostTransitionStatus:ea,useCacheRefresh:function(){return Ne="useCacheRefresh",mn(),fo()}},Zu={readContext:function(n){return te(),Wn(n)},use:function(n){return $(),bi(n)},useCallback:function(n,a){return Ne="useCallback",$(),qe(),Ja(n,a)},useContext:function(n){return Ne="useContext",$(),qe(),Wn(n)},useEffect:function(n,a){Ne="useEffect",$(),qe(),Qa(2048,no,n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",$(),qe(),ds(n,a,d)},useInsertionEffect:function(n,a){return Ne="useInsertionEffect",$(),qe(),Qa(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",$(),qe(),Qa(4,To,n,a)},useMemo:function(n,a){Ne="useMemo",$(),qe();var d=be.H;be.H=Zu;try{return jt(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",$(),qe();var h=be.H;be.H=Zu;try{return pl(n,a,d)}finally{be.H=h}},useRef:function(){return Ne="useRef",$(),qe(),$n().memoizedState},useState:function(){Ne="useState",$(),qe();var n=be.H;be.H=Zu;try{return pl(qr)}finally{be.H=n}},useDebugValue:function(){Ne="useDebugValue",$(),qe()},useDeferredValue:function(n,a){return Ne="useDeferredValue",$(),qe(),Xr(n,a)},useTransition:function(){return Ne="useTransition",$(),qe(),Xl()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",$(),qe(),Jl(n,a,d)},useId:function(){return Ne="useId",$(),qe(),$n().memoizedState},useFormState:function(n){return Ne="useFormState",$(),qe(),Ls(n)},useActionState:function(n){return Ne="useActionState",$(),qe(),Ls(n)},useOptimistic:function(n,a){return Ne="useOptimistic",$(),qe(),xi(n,a)},useMemoCache:function(n){return $(),Bo(n)},useHostTransitionStatus:ea,useCacheRefresh:function(){return Ne="useCacheRefresh",qe(),$n().memoizedState}},lv={readContext:function(n){return te(),Wn(n)},use:function(n){return $(),bi(n)},useCallback:function(n,a){return Ne="useCallback",$(),qe(),Ja(n,a)},useContext:function(n){return Ne="useContext",$(),qe(),Wn(n)},useEffect:function(n,a){Ne="useEffect",$(),qe(),Qa(2048,no,n,a)},useImperativeHandle:function(n,a,d){return Ne="useImperativeHandle",$(),qe(),ds(n,a,d)},useInsertionEffect:function(n,a){return Ne="useInsertionEffect",$(),qe(),Qa(4,Cs,n,a)},useLayoutEffect:function(n,a){return Ne="useLayoutEffect",$(),qe(),Qa(4,To,n,a)},useMemo:function(n,a){Ne="useMemo",$(),qe();var d=be.H;be.H=Zu;try{return jt(n,a)}finally{be.H=d}},useReducer:function(n,a,d){Ne="useReducer",$(),qe();var h=be.H;be.H=Zu;try{return Ao(n,a,d)}finally{be.H=h}},useRef:function(){return Ne="useRef",$(),qe(),$n().memoizedState},useState:function(){Ne="useState",$(),qe();var n=be.H;be.H=Zu;try{return Ao(qr)}finally{be.H=n}},useDebugValue:function(){Ne="useDebugValue",$(),qe()},useDeferredValue:function(n,a){return Ne="useDeferredValue",$(),qe(),fs(n,a)},useTransition:function(){return Ne="useTransition",$(),qe(),ei()},useSyncExternalStore:function(n,a,d){return Ne="useSyncExternalStore",$(),qe(),Jl(n,a,d)},useId:function(){return Ne="useId",$(),qe(),$n().memoizedState},useFormState:function(n){return Ne="useFormState",$(),qe(),sr(n)},useActionState:function(n){return Ne="useActionState",$(),qe(),sr(n)},useOptimistic:function(n,a){return Ne="useOptimistic",$(),qe(),Tu(n,a)},useMemoCache:function(n){return $(),Bo(n)},useHostTransitionStatus:ea,useCacheRefresh:function(){return Ne="useCacheRefresh",qe(),$n().memoizedState}};var ER={"react-stack-bottom-frame":function(n,a,d){var h=bc;bc=!0;try{return n(a,d)}finally{bc=h}}},F_=ER["react-stack-bottom-frame"].bind(ER),yR={"react-stack-bottom-frame":function(n){var a=bc;bc=!0;try{return n.render()}finally{bc=a}}},vR=yR["react-stack-bottom-frame"].bind(yR),CR={"react-stack-bottom-frame":function(n,a){try{a.componentDidMount()}catch(d){Bi(n,n.return,d)}}},z_=CR["react-stack-bottom-frame"].bind(CR),IR={"react-stack-bottom-frame":function(n,a,d,h,v){try{a.componentDidUpdate(d,h,v)}catch(C){Bi(n,n.return,C)}}},_R=IR["react-stack-bottom-frame"].bind(IR),BR={"react-stack-bottom-frame":function(n,a){var d=a.stack;n.componentDidCatch(a.value,{componentStack:d!==null?d:""})}},k$=BR["react-stack-bottom-frame"].bind(BR),DR={"react-stack-bottom-frame":function(n,a,d){try{d.componentWillUnmount()}catch(h){Bi(n,a,h)}}},SR=DR["react-stack-bottom-frame"].bind(DR),bR={"react-stack-bottom-frame":function(n){n.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",n.resourceKind);var a=n.create;return n=n.inst,a=a(),n.destroy=a}},O$=bR["react-stack-bottom-frame"].bind(bR),xR={"react-stack-bottom-frame":function(n,a,d){try{d()}catch(h){Bi(n,a,h)}}},F$=xR["react-stack-bottom-frame"].bind(xR),QR={"react-stack-bottom-frame":function(n){var a=n._init;return a(n._payload)}},_d=QR["react-stack-bottom-frame"].bind(QR),Pp=null,Dm=0,kn=null,M_,wR=M_=!1,RR={},NR={},TR={};V=function(n,a,d){if(d!==null&&typeof d=="object"&&d._store&&(!d._store.validated&&d.key==null||d._store.validated===2)){if(typeof d._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");d._store.validated=1;var h=It(n),v=h||"null";if(!RR[v]){RR[v]=!0,d=d._owner,n=n._debugOwner;var C="";n&&typeof n.tag=="number"&&(v=It(n))&&(C=`
210
-
211
- Check the render method of \``+v+"`."),C||h&&(C=`
212
-
213
- Check the top-level render call using <`+h+">.");var N="";d!=null&&n!==d&&(h=null,typeof d.tag=="number"?h=It(d):typeof d.name=="string"&&(h=d.name),h&&(N=" It was passed a child from "+h+".")),ht(a,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',C,N)})}}};var jp=cc(!0),UR=cc(!1),yu=Gt(null),wc=null,Jp=1,Sm=2,io=Gt(0),kR={},OR=new Set,FR=new Set,zR=new Set,MR=new Set,LR=new Set,$R=new Set,HR=new Set,GR=new Set,PR=new Set,jR=new Set;Object.freeze(kR);var L_={enqueueSetState:function(n,a,d){n=n._reactInternals;var h=Wi(n),v=$o(h);v.payload=a,d!=null&&(T(d),v.callback=d),a=os(n,v,h),a!==null&&(si(a,n,h),Us(a,n,h)),Et(n,h)},enqueueReplaceState:function(n,a,d){n=n._reactInternals;var h=Wi(n),v=$o(h);v.tag=cR,v.payload=a,d!=null&&(T(d),v.callback=d),a=os(n,v,h),a!==null&&(si(a,n,h),Us(a,n,h)),Et(n,h)},enqueueForceUpdate:function(n,a){n=n._reactInternals;var d=Wi(n),h=$o(d);h.tag=AR,a!=null&&(T(a),h.callback=a),a=os(n,h,d),a!==null&&(si(a,n,d),Us(a,n,d)),s!==null&&typeof s.markForceUpdateScheduled=="function"&&s.markForceUpdateScheduled(n,d)}},JR=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Vp=null,$_=null,VR=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),yo=!1,KR={},ZR={},YR={},qR={},Kp=!1,WR={},H_={},G_={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},XR=!1,eN=null;eN=new Set;var bA=!1,ga=!1,P_=!1,tN=typeof WeakSet=="function"?WeakSet:Set,vo=null,Zp=null,Yp=null,za=null,el=!1,Yu=null,qp=8192,z$={getCacheForType:function(n){var a=Wn(ra),d=a.data.get(n);return d===void 0&&(d=n(),a.data.set(n,d)),d},getOwner:function(){return _A}},uv=0,cv=1,Av=2,dv=3,fv=4;if(typeof Symbol=="function"&&Symbol.for){var bm=Symbol.for;uv=bm("selector.component"),cv=bm("selector.has_pseudo_class"),Av=bm("selector.role"),dv=bm("selector.test_id"),fv=bm("selector.text")}var pv=[],M$=typeof WeakMap=="function"?WeakMap:Map,Is=0,es=2,vu=4,xA=0,xm=1,Wp=2,j_=3,Of=4,hv=6,nN=5,ui=Is,Ar=null,jn=null,Yn=0,tl=0,Qm=1,Ff=2,wm=3,iN=4,J_=5,Xp=6,Rm=7,V_=8,zf=9,Hi=tl,xl=null,Bd=!1,eh=!1,K_=!1,Rc=0,aa=xA,Dd=0,Sd=0,Z_=0,Ql=0,Mf=0,Nm=null,_s=null,gv=!1,Y_=0,rN=300,Tm=1/0,q_=500,Um=null,bd=null,L$=0,$$=1,H$=2,Lf=0,aN=1,oN=2,sN=3,G$=4,W_=5,Uo=0,xd=null,th=null,Qd=0,X_=0,eB=null,lN=null,P$=50,km=0,tB=null,nB=!1,mv=!1,j$=50,$f=0,Om=null,nh=!1,Ev=null,uN=!1,cN=new Set,J$={},Cu=null,ih=null,AN=!1;try{var dN=Object.preventExtensions({})}catch{AN=!0}var fN=!1,pN={},hN=null,gN=null,mN=null,EN=null,yN=null,vN=null,CN=null,IN=null,_N=null;return hN=function(n,a,d,h){a=t(n,a),a!==null&&(d=r(a.memoizedState,d,0,h),a.memoizedState=d,a.baseState=d,n.memoizedProps=Wa({},n.memoizedProps),d=wr(n,2),d!==null&&si(d,n,2))},gN=function(n,a,d){a=t(n,a),a!==null&&(d=u(a.memoizedState,d,0),a.memoizedState=d,a.baseState=d,n.memoizedProps=Wa({},n.memoizedProps),d=wr(n,2),d!==null&&si(d,n,2))},mN=function(n,a,d,h){a=t(n,a),a!==null&&(d=o(a.memoizedState,d,h),a.memoizedState=d,a.baseState=d,n.memoizedProps=Wa({},n.memoizedProps),d=wr(n,2),d!==null&&si(d,n,2))},EN=function(n,a,d){n.pendingProps=r(n.memoizedProps,a,0,d),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=wr(n,2),a!==null&&si(a,n,2)},yN=function(n,a){n.pendingProps=u(n.memoizedProps,a,0),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=wr(n,2),a!==null&&si(a,n,2)},vN=function(n,a,d){n.pendingProps=o(n.memoizedProps,a,d),n.alternate&&(n.alternate.pendingProps=n.pendingProps),a=wr(n,2),a!==null&&si(a,n,2)},CN=function(n){var a=wr(n,2);a!==null&&si(a,n,2)},IN=function(n){y=n},_N=function(n){f=n},Pn.attemptContinuousHydration=function(n){if(n.tag===13){var a=wr(n,67108864);a!==null&&si(a,n,67108864),yp(n,67108864)}},Pn.attemptHydrationAtCurrentPriority=function(n){if(n.tag===13){var a=Wi(n);a=Jn(a);var d=wr(n,a);d!==null&&si(d,n,a),yp(n,a)}},Pn.attemptSynchronousHydration=function(n){switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var a=Ue(n.pendingLanes);if(a!==0){for(n.pendingLanes|=2,n.entangledLanes|=2;a;){var d=1<<31-er(a);n.entanglements[1]|=d,a&=~d}Be(n),(ui&(es|vu))===Is&&(Tm=Vi()+q_,Nt(0,!1))}}break;case 13:a=wr(n,2),a!==null&&si(a,n,2),hp(),yp(n,2)}},Pn.batchedUpdates=function(n,a){return n(a)},Pn.createComponentSelector=function(n){return{$$typeof:uv,value:n}},Pn.createContainer=function(n,a,d,h,v,C,N,j,ge,Fe){return Jg(n,a,!1,null,d,h,C,N,j,ge,Fe,null)},Pn.createHasPseudoClassSelector=function(n){return{$$typeof:cv,value:n}},Pn.createHydrationContainer=function(n,a,d,h,v,C,N,j,ge,Fe,ct,pt,Tt){return n=Jg(d,h,!0,n,v,C,j,ge,Fe,ct,pt,Tt),n.context=Vg(null),d=n.current,h=Wi(d),h=Jn(h),v=$o(h),v.callback=a??null,os(d,v,h),a=h,n.current.lanes=a,Pe(n,a),Be(n),n},Pn.createPortal=function(n,a,d){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{Ep(h);var v=!1}catch{v=!0}return v&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object"),Ep(h)),{$$typeof:AA,key:h==null?null:""+h,children:n,containerInfo:a,implementation:d}},Pn.createRoleSelector=function(n){return{$$typeof:Av,value:n}},Pn.createTestNameSelector=function(n){return{$$typeof:dv,value:n}},Pn.createTextSelector=function(n){return{$$typeof:fv,value:n}},Pn.defaultOnCaughtError=function(n){var a=Vp?"The above error occurred in the <"+Vp+"> component.":"The above error occurred in one of your React components.",d="React will try to recreate this component tree from scratch using the error boundary you provided, "+(($_||"Anonymous")+".");typeof n=="object"&&n!==null&&typeof n.environmentName=="string"?h_("error",[`%o
214
-
215
- %s
216
-
217
- %s
218
- `,n,a,d],n.environmentName)():console.error(`%o
219
-
220
- %s
221
-
222
- %s
223
- `,n,a,d)},Pn.defaultOnRecoverableError=function(n){JR(n)},Pn.defaultOnUncaughtError=function(n){JR(n),console.warn(`%s
224
-
225
- %s
226
- `,Vp?"An error occurred in the <"+Vp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
227
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)},Pn.deferredUpdates=function(n){var a=be.T,d=Ks();try{return ur(32),be.T=null,n()}finally{ur(d),be.T=a}},Pn.discreteUpdates=function(n,a,d,h,v){var C=be.T,N=Ks();try{return ur(2),be.T=null,n(a,d,h,v)}finally{ur(N),be.T=C,ui===Is&&(Tm=Vi()+q_)}},Pn.findAllNodes=ou,Pn.findBoundingRects=function(n,a){if(!Pu)throw Error("Test selector API is not supported by this renderer.");a=ou(n,a),n=[];for(var d=0;d<a.length;d++)n.push(rm(a[d]));for(a=n.length-1;0<a;a--){d=n[a];for(var h=d.x,v=h+d.width,C=d.y,N=C+d.height,j=a-1;0<=j;j--)if(a!==j){var ge=n[j],Fe=ge.x,ct=Fe+ge.width,pt=ge.y,Tt=pt+ge.height;if(h>=Fe&&C>=pt&&v<=ct&&N<=Tt){n.splice(a,1);break}else if(h!==Fe||d.width!==ge.width||Tt<C||pt>N){if(!(C!==pt||d.height!==ge.height||ct<h||Fe>v)){Fe>h&&(ge.width+=Fe-h,ge.x=h),ct<v&&(ge.width=v-Fe),n.splice(a,1);break}}else{pt>C&&(ge.height+=pt-C,ge.y=C),Tt<N&&(ge.height=N-pt),n.splice(a,1);break}}}return n},Pn.findHostInstance=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error("Unable to find node on an unmounted component."):(n=Object.keys(n).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+n));return n=Ie(a),n===null?null:od(n.stateNode)},Pn.findHostInstanceWithNoPortals=function(n){return n=Me(n),n=n!==null?Xe(n):null,n===null?null:od(n.stateNode)},Pn.findHostInstanceWithWarning=function(n,a){var d=n._reactInternals;if(d===void 0)throw typeof n.render=="function"?Error("Unable to find node on an unmounted component."):(n=Object.keys(n).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+n));if(n=Ie(d),n===null)return null;if(n.mode&8){var h=It(d)||"Component";pN[h]||(pN[h]=!0,ht(n,function(){d.mode&8?console.error("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node",a,a,h):console.error("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node",a,a,h)}))}return od(n.stateNode)},Pn.flushPassiveEffects=rd,Pn.flushSyncFromReconciler=function(n){var a=ui;ui|=1;var d=be.T,h=Ks();try{if(ur(2),be.T=null,n)return n()}finally{ur(h),be.T=d,ui=a,(ui&(es|vu))===Is&&Nt(0,!1)}},Pn.flushSyncWork=hp,Pn.focusWithin=function(n,a){if(!Pu)throw Error("Test selector API is not supported by this renderer.");for(n=Ni(n),a=Ec(n,a),a=Array.from(a),n=0;n<a.length;){var d=a[n++],h=d.tag;if(!gA(d)){if((h===5||h===26||h===27)&&Ef(d.stateNode))return!0;for(d=d.child;d!==null;)a.push(d),d=d.sibling}}return!1},Pn.getFindAllNodesFailureDescription=function(n,a){if(!Pu)throw Error("Test selector API is not supported by this renderer.");var d=0,h=[];n=[Ni(n),0];for(var v=0;v<n.length;){var C=n[v++],N=C.tag,j=n[v++],ge=a[j];if((N!==5&&N!==26&&N!==27||!gA(C))&&(au(C,ge)&&(h.push(mc(ge)),j++,j>d&&(d=j)),j<a.length))for(C=C.child;C!==null;)n.push(C,j),C=C.sibling}if(d<a.length){for(n=[];d<a.length;d++)n.push(mc(a[d]));return`findAllNodes was able to match part of the selector:
228
- `+(h.join(" > ")+`
229
-
230
- No matching component was found for:
231
- `)+n.join(" > ")}return null},Pn.getPublicRootInstance=function(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 27:case 5:return od(n.child.stateNode);default:return n.child.stateNode}},Pn.injectIntoDevTools=function(){var n={bundleType:1,version:d_,rendererPackageName:em,currentDispatcherRef:be,reconcilerVersion:"19.1.0"};return zy!==null&&(n.rendererConfig=zy),n.overrideHookState=hN,n.overrideHookStateDeletePath=gN,n.overrideHookStateRenamePath=mN,n.overrideProps=EN,n.overridePropsDeletePath=yN,n.overridePropsRenamePath=vN,n.scheduleUpdate=CN,n.setErrorHandler=IN,n.setSuspenseHandler=_N,n.scheduleRefresh=R,n.scheduleRoot=D,n.setRefreshHandler=z,n.getCurrentFiber=Oy,n.getLaneLabelMap=u_,n.injectProfilingHooks=Nn,Ci(n)},Pn.isAlreadyRendering=function(){return(ui&(es|vu))!==Is},Pn.observeVisibleRects=function(n,a,d,h){function v(){var Fe=ou(n,a);C.forEach(function(ct){0>Fe.indexOf(ct)&&ge(ct)}),Fe.forEach(function(ct){0>C.indexOf(ct)&&j(ct)})}if(!Pu)throw Error("Test selector API is not supported by this renderer.");var C=ou(n,a);d=am(C,d,h);var N=d.disconnect,j=d.observe,ge=d.unobserve;return pv.push(v),{disconnect:function(){var Fe=pv.indexOf(v);0<=Fe&&pv.splice(Fe,1),N()}}},Pn.shouldError=function(n){return y(n)},Pn.shouldSuspend=function(n){return f(n)},Pn.startHostTransition=function(n,a,d,h){if(n.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var v=qc(n).queue;Yc(n,v,a,Zs,d===null?re:function(){be.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var C=qc(n).next.queue;return hi(n,C,{},Wi(n)),d(h)})},Pn.updateContainer=function(n,a,d,h){var v=a.current,C=Wi(v);return Zg(v,C,n,a,d,h),C},Pn.updateContainerSync=Kg,Pn},Xm.exports.default=Xm.exports,Object.defineProperty(Xm.exports,"__esModule",{value:!0}))});var dU=On((pq,rD)=>{"use strict";x();process.env.NODE_ENV==="production"?rD.exports=cU():rD.exports=AU()});function Vf(e){let t=0;for(let r of e.split(`
232
- `))t=Math.max(t,ko(r));return t}var Lv=Y(()=>{"use strict";x();Vm()});var fU,lG,aD,pU=Y(()=>{"use strict";x();Lv();fU=new Map,lG=e=>{if(e.length===0)return{width:0,height:0};let t=fU.get(e);if(t)return t;let r=Vf(e),o=e.split(`
233
- `).length,i={width:r,height:o};return fU.set(e,i),i},aD=lG});function oD(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var hU=Y(()=>{"use strict";x()});function zc(e,t,r){let o=[...e],i=[],u=typeof r=="number"?r:o.length,f=!1,y,I=0,D="";for(let[R,z]of o.entries()){let V=!1;if(mU.includes(z)){let $=/\d[^m]*/.exec(e.slice(R,R+18));y=$&&$.length>0?$[0]:void 0,I<u&&(f=!0,y!==void 0&&i.push(y))}else f&&z==="m"&&(f=!1,V=!0);if(!f&&!V&&I++,!uG.test(z)&&oD(z.codePointAt())&&(I++,typeof r!="number"&&u++),I>t&&I<=u)D+=z;else if(I===t&&!f&&y!==void 0)D=gU(i);else if(I>=u){D+=gU(i,!0,y);break}}return D}var uG,mU,$v,gU,EU=Y(()=>{"use strict";x();hU();vh();uG=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,mU=["\x1B","\x9B"],$v=e=>`${mU[0]}[${e}m`,gU=(e,t,r)=>{let o=[];e=[...e];for(let i of e){let u=i;i.includes(";")&&(i=i.split(";")[0][0]+"0");let f=nr.codes.get(Number.parseInt(i,10));if(f){let y=e.indexOf(f.toString());y===-1?o.push($v(t?f:u)):e.splice(y,1)}else if(t){o.push($v(0));break}else o.push($v(u))}if(t&&(o=o.filter((i,u)=>o.indexOf(i)===u),r!==void 0)){let i=$v(nr.codes.get(Number.parseInt(r,10)));o=o.reduce((u,f)=>f===i?[f,...u]:[...u,f],[])}return o.join("")}});function Hv(e,t,r){if(e.charAt(t)===" ")return t;let o=r?1:-1;for(let i=0;i<=3;i++){let u=t+i*o;if(e.charAt(u)===" ")return u}return t}function sD(e,t,r={}){let{position:o="end",space:i=!1,preferTruncationOnSpace:u=!1}=r,{truncationCharacter:f="\u2026"}=r;if(typeof e!="string")throw new TypeError(`Expected \`input\` to be a string, got ${typeof e}`);if(typeof t!="number")throw new TypeError(`Expected \`columns\` to be a number, got ${typeof t}`);if(t<1)return"";if(t===1)return f;let y=ko(e);if(y<=t)return e;if(o==="start"){if(u){let I=Hv(e,y-t+1,!0);return f+zc(e,I,y).trim()}return i===!0&&(f+=" "),f+zc(e,y-t+ko(f),y)}if(o==="middle"){i===!0&&(f=` ${f} `);let I=Math.floor(t/2);if(u){let D=Hv(e,I),R=Hv(e,y-(t-I)+1,!0);return zc(e,0,D)+f+zc(e,R,y).trim()}return zc(e,0,I)+f+zc(e,y-(t-I)+ko(f),y)}if(o==="end"){if(u){let I=Hv(e,t-1);return zc(e,0,I)+f}return i===!0&&(f=` ${f}`),zc(e,0,t-ko(f))+f}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${o}`)}var yU=Y(()=>{"use strict";x();EU();Vm()});var vU,cG,Gv,lD=Y(()=>{"use strict";x();VB();yU();vU={},cG=(e,t,r)=>{let o=e+String(t)+String(r),i=vU[o];if(i)return i;let u=e;if(r==="wrap"&&(u=Km(e,t,{trim:!1,hard:!0})),r.startsWith("truncate")){let f="end";r==="truncate-middle"&&(f="middle"),r==="truncate-start"&&(f="start"),u=sD(e,t,{position:f})}return vU[o]=u,u},Gv=cG});var CU,eE,uD=Y(()=>{"use strict";x();CU=e=>{let t="";for(let r=0;r<e.childNodes.length;r++){let o=e.childNodes[r];if(o===void 0)continue;let i="";o.nodeName==="#text"?i=o.nodeValue:((o.nodeName==="ink-text"||o.nodeName==="ink-virtual-text")&&(i=CU(o)),i.length>0&&typeof o.internal_transform=="function"&&(i=o.internal_transform(i,r))),t+=i}return t},eE=CU});var Pv,jv,cD,tE,AD,dD,IU,AG,_U,Jv,nE,fD=Y(async()=>{"use strict";x();await Jf();pU();lD();uD();Pv=e=>{let t={nodeName:e,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:e==="ink-virtual-text"?void 0:Mt.Node.create(),internal_accessibility:{}};return e==="ink-text"&&t.yogaNode?.setMeasureFunc(AG.bind(null,t)),t},jv=(e,t)=>{t.parentNode&&tE(t.parentNode,t),t.parentNode=e,e.childNodes.push(t),t.yogaNode&&e.yogaNode?.insertChild(t.yogaNode,e.yogaNode.getChildCount()),(e.nodeName==="ink-text"||e.nodeName==="ink-virtual-text")&&Jv(e)},cD=(e,t,r)=>{t.parentNode&&tE(t.parentNode,t),t.parentNode=e;let o=e.childNodes.indexOf(r);if(o>=0){e.childNodes.splice(o,0,t),t.yogaNode&&e.yogaNode?.insertChild(t.yogaNode,o);return}e.childNodes.push(t),t.yogaNode&&e.yogaNode?.insertChild(t.yogaNode,e.yogaNode.getChildCount()),(e.nodeName==="ink-text"||e.nodeName==="ink-virtual-text")&&Jv(e)},tE=(e,t)=>{t.yogaNode&&t.parentNode?.yogaNode?.removeChild(t.yogaNode),t.parentNode=void 0;let r=e.childNodes.indexOf(t);r>=0&&e.childNodes.splice(r,1),(e.nodeName==="ink-text"||e.nodeName==="ink-virtual-text")&&Jv(e)},AD=(e,t,r)=>{if(t==="internal_accessibility"){e.internal_accessibility=r;return}e.attributes[t]=r},dD=(e,t)=>{e.style=t},IU=e=>{let t={nodeName:"#text",nodeValue:e,yogaNode:void 0,parentNode:void 0,style:{}};return nE(t,e),t},AG=function(e,t){let r=e.nodeName==="#text"?e.nodeValue:eE(e),o=aD(r);if(o.width<=t||o.width>=1&&t>0&&t<1)return o;let i=e.style?.textWrap??"wrap",u=Gv(r,t,i);return aD(u)},_U=e=>{if(e?.parentNode)return e.yogaNode??_U(e.parentNode)},Jv=e=>{_U(e)?.markDirty()},nE=(e,t)=>{typeof t!="string"&&(t=String(t)),e.nodeValue=t,Jv(e)}});var fG,pG,hG,gG,mG,EG,yG,vG,CG,pD,BU=Y(async()=>{"use strict";x();await Jf();fG=(e,t)=>{"position"in t&&e.setPositionType(t.position==="absolute"?Mt.POSITION_TYPE_ABSOLUTE:Mt.POSITION_TYPE_RELATIVE)},pG=(e,t)=>{"margin"in t&&e.setMargin(Mt.EDGE_ALL,t.margin??0),"marginX"in t&&e.setMargin(Mt.EDGE_HORIZONTAL,t.marginX??0),"marginY"in t&&e.setMargin(Mt.EDGE_VERTICAL,t.marginY??0),"marginLeft"in t&&e.setMargin(Mt.EDGE_START,t.marginLeft||0),"marginRight"in t&&e.setMargin(Mt.EDGE_END,t.marginRight||0),"marginTop"in t&&e.setMargin(Mt.EDGE_TOP,t.marginTop||0),"marginBottom"in t&&e.setMargin(Mt.EDGE_BOTTOM,t.marginBottom||0)},hG=(e,t)=>{"padding"in t&&e.setPadding(Mt.EDGE_ALL,t.padding??0),"paddingX"in t&&e.setPadding(Mt.EDGE_HORIZONTAL,t.paddingX??0),"paddingY"in t&&e.setPadding(Mt.EDGE_VERTICAL,t.paddingY??0),"paddingLeft"in t&&e.setPadding(Mt.EDGE_LEFT,t.paddingLeft||0),"paddingRight"in t&&e.setPadding(Mt.EDGE_RIGHT,t.paddingRight||0),"paddingTop"in t&&e.setPadding(Mt.EDGE_TOP,t.paddingTop||0),"paddingBottom"in t&&e.setPadding(Mt.EDGE_BOTTOM,t.paddingBottom||0)},gG=(e,t)=>{"flexGrow"in t&&e.setFlexGrow(t.flexGrow??0),"flexShrink"in t&&e.setFlexShrink(typeof t.flexShrink=="number"?t.flexShrink:1),"flexWrap"in t&&(t.flexWrap==="nowrap"&&e.setFlexWrap(Mt.WRAP_NO_WRAP),t.flexWrap==="wrap"&&e.setFlexWrap(Mt.WRAP_WRAP),t.flexWrap==="wrap-reverse"&&e.setFlexWrap(Mt.WRAP_WRAP_REVERSE)),"flexDirection"in t&&(t.flexDirection==="row"&&e.setFlexDirection(Mt.FLEX_DIRECTION_ROW),t.flexDirection==="row-reverse"&&e.setFlexDirection(Mt.FLEX_DIRECTION_ROW_REVERSE),t.flexDirection==="column"&&e.setFlexDirection(Mt.FLEX_DIRECTION_COLUMN),t.flexDirection==="column-reverse"&&e.setFlexDirection(Mt.FLEX_DIRECTION_COLUMN_REVERSE)),"flexBasis"in t&&(typeof t.flexBasis=="number"?e.setFlexBasis(t.flexBasis):typeof t.flexBasis=="string"?e.setFlexBasisPercent(Number.parseInt(t.flexBasis,10)):e.setFlexBasis(Number.NaN)),"alignItems"in t&&((t.alignItems==="stretch"||!t.alignItems)&&e.setAlignItems(Mt.ALIGN_STRETCH),t.alignItems==="flex-start"&&e.setAlignItems(Mt.ALIGN_FLEX_START),t.alignItems==="center"&&e.setAlignItems(Mt.ALIGN_CENTER),t.alignItems==="flex-end"&&e.setAlignItems(Mt.ALIGN_FLEX_END)),"alignSelf"in t&&((t.alignSelf==="auto"||!t.alignSelf)&&e.setAlignSelf(Mt.ALIGN_AUTO),t.alignSelf==="flex-start"&&e.setAlignSelf(Mt.ALIGN_FLEX_START),t.alignSelf==="center"&&e.setAlignSelf(Mt.ALIGN_CENTER),t.alignSelf==="flex-end"&&e.setAlignSelf(Mt.ALIGN_FLEX_END)),"justifyContent"in t&&((t.justifyContent==="flex-start"||!t.justifyContent)&&e.setJustifyContent(Mt.JUSTIFY_FLEX_START),t.justifyContent==="center"&&e.setJustifyContent(Mt.JUSTIFY_CENTER),t.justifyContent==="flex-end"&&e.setJustifyContent(Mt.JUSTIFY_FLEX_END),t.justifyContent==="space-between"&&e.setJustifyContent(Mt.JUSTIFY_SPACE_BETWEEN),t.justifyContent==="space-around"&&e.setJustifyContent(Mt.JUSTIFY_SPACE_AROUND),t.justifyContent==="space-evenly"&&e.setJustifyContent(Mt.JUSTIFY_SPACE_EVENLY))},mG=(e,t)=>{"width"in t&&(typeof t.width=="number"?e.setWidth(t.width):typeof t.width=="string"?e.setWidthPercent(Number.parseInt(t.width,10)):e.setWidthAuto()),"height"in t&&(typeof t.height=="number"?e.setHeight(t.height):typeof t.height=="string"?e.setHeightPercent(Number.parseInt(t.height,10)):e.setHeightAuto()),"minWidth"in t&&(typeof t.minWidth=="string"?e.setMinWidthPercent(Number.parseInt(t.minWidth,10)):e.setMinWidth(t.minWidth??0)),"minHeight"in t&&(typeof t.minHeight=="string"?e.setMinHeightPercent(Number.parseInt(t.minHeight,10)):e.setMinHeight(t.minHeight??0))},EG=(e,t)=>{"display"in t&&e.setDisplay(t.display==="flex"?Mt.DISPLAY_FLEX:Mt.DISPLAY_NONE)},yG=(e,t)=>{if("borderStyle"in t){let r=t.borderStyle?1:0;t.borderTop!==!1&&e.setBorder(Mt.EDGE_TOP,r),t.borderBottom!==!1&&e.setBorder(Mt.EDGE_BOTTOM,r),t.borderLeft!==!1&&e.setBorder(Mt.EDGE_LEFT,r),t.borderRight!==!1&&e.setBorder(Mt.EDGE_RIGHT,r)}},vG=(e,t)=>{"gap"in t&&e.setGap(Mt.GUTTER_ALL,t.gap??0),"columnGap"in t&&e.setGap(Mt.GUTTER_COLUMN,t.columnGap??0),"rowGap"in t&&e.setGap(Mt.GUTTER_ROW,t.rowGap??0)},CG=(e,t={})=>{fG(e,t),pG(e,t),hG(e,t),gG(e,t),mG(e,t),EG(e,t),yG(e,t),vG(e,t)},pD=CG});var OA=On((Jq,bU)=>{"use strict";x();var DU=["nodebuffer","arraybuffer","fragments"],SU=typeof Blob<"u";SU&&DU.push("blob");bU.exports={BINARY_TYPES:DU,CLOSE_TIMEOUT:3e4,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:SU,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var iE=On((Kq,Vv)=>{"use strict";x();var{EMPTY_BUFFER:IG}=OA(),hD=Buffer[Symbol.species];function _G(e,t){if(e.length===0)return IG;if(e.length===1)return e[0];let r=Buffer.allocUnsafe(t),o=0;for(let i=0;i<e.length;i++){let u=e[i];r.set(u,o),o+=u.length}return o<t?new hD(r.buffer,r.byteOffset,o):r}function xU(e,t,r,o,i){for(let u=0;u<i;u++)r[o+u]=e[u]^t[u&3]}function QU(e,t){for(let r=0;r<e.length;r++)e[r]^=t[r&3]}function BG(e){return e.length===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.length)}function gD(e){if(gD.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=new hD(e):ArrayBuffer.isView(e)?t=new hD(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),gD.readOnly=!1),t}Vv.exports={concat:_G,mask:xU,toArrayBuffer:BG,toBuffer:gD,unmask:QU};if(!process.env.WS_NO_BUFFER_UTIL)try{let e=Ai("bufferutil");Vv.exports.mask=function(t,r,o,i,u){u<48?xU(t,r,o,i,u):e.mask(t,r,o,i,u)},Vv.exports.unmask=function(t,r){t.length<32?QU(t,r):e.unmask(t,r)}}catch{}});var NU=On((Yq,RU)=>{"use strict";x();var wU=Symbol("kDone"),mD=Symbol("kRun"),ED=class{constructor(t){this[wU]=()=>{this.pending--,this[mD]()},this.concurrency=t||1/0,this.jobs=[],this.pending=0}add(t){this.jobs.push(t),this[mD]()}[mD](){if(this.pending!==this.concurrency&&this.jobs.length){let t=this.jobs.shift();this.pending++,t(this[wU])}}};RU.exports=ED});var aE=On((Wq,OU)=>{"use strict";x();var rE=Ai("zlib"),TU=iE(),DG=NU(),{kStatusCode:UU}=OA(),SG=Buffer[Symbol.species],bG=Buffer.from([0,0,255,255]),Zv=Symbol("permessage-deflate"),FA=Symbol("total-length"),_h=Symbol("callback"),Td=Symbol("buffers"),Bh=Symbol("error"),Kv,yD=class{constructor(t,r,o){if(this._maxPayload=o|0,this._options=t||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._isServer=!!r,this._deflate=null,this._inflate=null,this.params=null,!Kv){let i=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Kv=new DG(i)}}static get extensionName(){return"permessage-deflate"}offer(){let t={};return this._options.serverNoContextTakeover&&(t.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(t.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(t.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?t.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(t.client_max_window_bits=!0),t}accept(t){return t=this.normalizeParams(t),this.params=this._isServer?this.acceptAsServer(t):this.acceptAsClient(t),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let t=this._deflate[_h];this._deflate.close(),this._deflate=null,t&&t(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(t){let r=this._options,o=t.find(i=>!(r.serverNoContextTakeover===!1&&i.server_no_context_takeover||i.server_max_window_bits&&(r.serverMaxWindowBits===!1||typeof r.serverMaxWindowBits=="number"&&r.serverMaxWindowBits>i.server_max_window_bits)||typeof r.clientMaxWindowBits=="number"&&!i.client_max_window_bits));if(!o)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(o.server_no_context_takeover=!0),r.clientNoContextTakeover&&(o.client_no_context_takeover=!0),typeof r.serverMaxWindowBits=="number"&&(o.server_max_window_bits=r.serverMaxWindowBits),typeof r.clientMaxWindowBits=="number"?o.client_max_window_bits=r.clientMaxWindowBits:(o.client_max_window_bits===!0||r.clientMaxWindowBits===!1)&&delete o.client_max_window_bits,o}acceptAsClient(t){let r=t[0];if(this._options.clientNoContextTakeover===!1&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!r.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(r.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return r}normalizeParams(t){return t.forEach(r=>{Object.keys(r).forEach(o=>{let i=r[o];if(i.length>1)throw new Error(`Parameter "${o}" must have only a single value`);if(i=i[0],o==="client_max_window_bits"){if(i!==!0){let u=+i;if(!Number.isInteger(u)||u<8||u>15)throw new TypeError(`Invalid value for parameter "${o}": ${i}`);i=u}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${o}": ${i}`)}else if(o==="server_max_window_bits"){let u=+i;if(!Number.isInteger(u)||u<8||u>15)throw new TypeError(`Invalid value for parameter "${o}": ${i}`);i=u}else if(o==="client_no_context_takeover"||o==="server_no_context_takeover"){if(i!==!0)throw new TypeError(`Invalid value for parameter "${o}": ${i}`)}else throw new Error(`Unknown parameter "${o}"`);r[o]=i})}),t}decompress(t,r,o){Kv.add(i=>{this._decompress(t,r,(u,f)=>{i(),o(u,f)})})}compress(t,r,o){Kv.add(i=>{this._compress(t,r,(u,f)=>{i(),o(u,f)})})}_decompress(t,r,o){let i=this._isServer?"client":"server";if(!this._inflate){let u=`${i}_max_window_bits`,f=typeof this.params[u]!="number"?rE.Z_DEFAULT_WINDOWBITS:this.params[u];this._inflate=rE.createInflateRaw({...this._options.zlibInflateOptions,windowBits:f}),this._inflate[Zv]=this,this._inflate[FA]=0,this._inflate[Td]=[],this._inflate.on("error",QG),this._inflate.on("data",kU)}this._inflate[_h]=o,this._inflate.write(t),r&&this._inflate.write(bG),this._inflate.flush(()=>{let u=this._inflate[Bh];if(u){this._inflate.close(),this._inflate=null,o(u);return}let f=TU.concat(this._inflate[Td],this._inflate[FA]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[FA]=0,this._inflate[Td]=[],r&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),o(null,f)})}_compress(t,r,o){let i=this._isServer?"server":"client";if(!this._deflate){let u=`${i}_max_window_bits`,f=typeof this.params[u]!="number"?rE.Z_DEFAULT_WINDOWBITS:this.params[u];this._deflate=rE.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:f}),this._deflate[FA]=0,this._deflate[Td]=[],this._deflate.on("data",xG)}this._deflate[_h]=o,this._deflate.write(t),this._deflate.flush(rE.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let u=TU.concat(this._deflate[Td],this._deflate[FA]);r&&(u=new SG(u.buffer,u.byteOffset,u.length-4)),this._deflate[_h]=null,this._deflate[FA]=0,this._deflate[Td]=[],r&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),o(null,u)})}};OU.exports=yD;function xG(e){this[Td].push(e),this[FA]+=e.length}function kU(e){if(this[FA]+=e.length,this[Zv]._maxPayload<1||this[FA]<=this[Zv]._maxPayload){this[Td].push(e);return}this[Bh]=new RangeError("Max payload size exceeded"),this[Bh].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[Bh][UU]=1009,this.removeListener("data",kU),this.reset()}function QG(e){if(this[Zv]._inflate=null,this[Bh]){this[_h](this[Bh]);return}e[UU]=1007,this[_h](e)}});var Dh=On((eW,Yv)=>{"use strict";x();var{isUtf8:FU}=Ai("buffer"),{hasBlob:wG}=OA(),RG=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function NG(e){return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999}function vD(e){let t=e.length,r=0;for(;r<t;)if((e[r]&128)===0)r++;else if((e[r]&224)===192){if(r+1===t||(e[r+1]&192)!==128||(e[r]&254)===192)return!1;r+=2}else if((e[r]&240)===224){if(r+2>=t||(e[r+1]&192)!==128||(e[r+2]&192)!==128||e[r]===224&&(e[r+1]&224)===128||e[r]===237&&(e[r+1]&224)===160)return!1;r+=3}else if((e[r]&248)===240){if(r+3>=t||(e[r+1]&192)!==128||(e[r+2]&192)!==128||(e[r+3]&192)!==128||e[r]===240&&(e[r+1]&240)===128||e[r]===244&&e[r+1]>143||e[r]>244)return!1;r+=4}else return!1;return!0}function TG(e){return wG&&typeof e=="object"&&typeof e.arrayBuffer=="function"&&typeof e.type=="string"&&typeof e.stream=="function"&&(e[Symbol.toStringTag]==="Blob"||e[Symbol.toStringTag]==="File")}Yv.exports={isBlob:TG,isValidStatusCode:NG,isValidUTF8:vD,tokenChars:RG};if(FU)Yv.exports.isValidUTF8=function(e){return e.length<24?vD(e):FU(e)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let e=Ai("utf-8-validate");Yv.exports.isValidUTF8=function(t){return t.length<32?vD(t):e(t)}}catch{}});var DD=On((nW,PU)=>{"use strict";x();var{Writable:UG}=Ai("stream"),zU=aE(),{BINARY_TYPES:kG,EMPTY_BUFFER:MU,kStatusCode:OG,kWebSocket:FG}=OA(),{concat:CD,toArrayBuffer:zG,unmask:MG}=iE(),{isValidStatusCode:LG,isValidUTF8:LU}=Dh(),qv=Buffer[Symbol.species],_u=0,$U=1,HU=2,GU=3,ID=4,_D=5,Wv=6,BD=class extends UG{constructor(t={}){super(),this._allowSynchronousEvents=t.allowSynchronousEvents!==void 0?t.allowSynchronousEvents:!0,this._binaryType=t.binaryType||kG[0],this._extensions=t.extensions||{},this._isServer=!!t.isServer,this._maxPayload=t.maxPayload|0,this._skipUTF8Validation=!!t.skipUTF8Validation,this[FG]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=_u}_write(t,r,o){if(this._opcode===8&&this._state==_u)return o();this._bufferedBytes+=t.length,this._buffers.push(t),this.startLoop(o)}consume(t){if(this._bufferedBytes-=t,t===this._buffers[0].length)return this._buffers.shift();if(t<this._buffers[0].length){let o=this._buffers[0];return this._buffers[0]=new qv(o.buffer,o.byteOffset+t,o.length-t),new qv(o.buffer,o.byteOffset,t)}let r=Buffer.allocUnsafe(t);do{let o=this._buffers[0],i=r.length-t;t>=o.length?r.set(this._buffers.shift(),i):(r.set(new Uint8Array(o.buffer,o.byteOffset,t),i),this._buffers[0]=new qv(o.buffer,o.byteOffset+t,o.length-t)),t-=o.length}while(t>0);return r}startLoop(t){this._loop=!0;do switch(this._state){case _u:this.getInfo(t);break;case $U:this.getPayloadLength16(t);break;case HU:this.getPayloadLength64(t);break;case GU:this.getMask();break;case ID:this.getData(t);break;case _D:case Wv:this._loop=!1;return}while(this._loop);this._errored||t()}getInfo(t){if(this._bufferedBytes<2){this._loop=!1;return}let r=this.consume(2);if((r[0]&48)!==0){let i=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");t(i);return}let o=(r[0]&64)===64;if(o&&!this._extensions[zU.extensionName]){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(this._fin=(r[0]&128)===128,this._opcode=r[0]&15,this._payloadLength=r[1]&127,this._opcode===0){if(o){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(!this._fragmented){let i=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}this._compressed=o}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let i=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");t(i);return}if(o){let i=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");t(i);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let i=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");t(i);return}}else{let i=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");t(i);return}if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(r[1]&128)===128,this._isServer){if(!this._masked){let i=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");t(i);return}}else if(this._masked){let i=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");t(i);return}this._payloadLength===126?this._state=$U:this._payloadLength===127?this._state=HU:this.haveLength(t)}getPayloadLength16(t){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(t)}getPayloadLength64(t){if(this._bufferedBytes<8){this._loop=!1;return}let r=this.consume(8),o=r.readUInt32BE(0);if(o>Math.pow(2,21)-1){let i=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");t(i);return}this._payloadLength=o*Math.pow(2,32)+r.readUInt32BE(4),this.haveLength(t)}haveLength(t){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0)){let r=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");t(r);return}this._masked?this._state=GU:this._state=ID}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=ID}getData(t){let r=MU;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}r=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0&&MG(r,this._mask)}if(this._opcode>7){this.controlMessage(r,t);return}if(this._compressed){this._state=_D,this.decompress(r,t);return}r.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(r)),this.dataMessage(t)}decompress(t,r){this._extensions[zU.extensionName].decompress(t,this._fin,(i,u)=>{if(i)return r(i);if(u.length){if(this._messageLength+=u.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let f=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");r(f);return}this._fragments.push(u)}this.dataMessage(r),this._state===_u&&this.startLoop(r)})}dataMessage(t){if(!this._fin){this._state=_u;return}let r=this._messageLength,o=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let i;this._binaryType==="nodebuffer"?i=CD(o,r):this._binaryType==="arraybuffer"?i=zG(CD(o,r)):this._binaryType==="blob"?i=new Blob(o):i=o,this._allowSynchronousEvents?(this.emit("message",i,!0),this._state=_u):(this._state=Wv,setImmediate(()=>{this.emit("message",i,!0),this._state=_u,this.startLoop(t)}))}else{let i=CD(o,r);if(!this._skipUTF8Validation&&!LU(i)){let u=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");t(u);return}this._state===_D||this._allowSynchronousEvents?(this.emit("message",i,!1),this._state=_u):(this._state=Wv,setImmediate(()=>{this.emit("message",i,!1),this._state=_u,this.startLoop(t)}))}}controlMessage(t,r){if(this._opcode===8){if(t.length===0)this._loop=!1,this.emit("conclude",1005,MU),this.end();else{let o=t.readUInt16BE(0);if(!LG(o)){let u=this.createError(RangeError,`invalid status code ${o}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");r(u);return}let i=new qv(t.buffer,t.byteOffset+2,t.length-2);if(!this._skipUTF8Validation&&!LU(i)){let u=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");r(u);return}this._loop=!1,this.emit("conclude",o,i),this.end()}this._state=_u;return}this._allowSynchronousEvents?(this.emit(this._opcode===9?"ping":"pong",t),this._state=_u):(this._state=Wv,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",t),this._state=_u,this.startLoop(r)}))}createError(t,r,o,i,u){this._loop=!1,this._errored=!0;let f=new t(o?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(f,this.createError),f.code=u,f[OG]=i,f}};PU.exports=BD});var xD=On((aW,VU)=>{"use strict";x();var{Duplex:rW}=Ai("stream"),{randomFillSync:$G}=Ai("crypto"),jU=aE(),{EMPTY_BUFFER:HG,kWebSocket:GG,NOOP:PG}=OA(),{isBlob:Sh,isValidStatusCode:jG}=Dh(),{mask:JU,toBuffer:Kf}=iE(),Bu=Symbol("kByteLength"),JG=Buffer.alloc(4),Xv=8*1024,Zf,bh=Xv,Xu=0,VG=1,KG=2,SD=class e{constructor(t,r,o){this._extensions=r||{},o&&(this._generateMask=o,this._maskBuffer=Buffer.alloc(4)),this._socket=t,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=Xu,this.onerror=PG,this[GG]=void 0}static frame(t,r){let o,i=!1,u=2,f=!1;r.mask&&(o=r.maskBuffer||JG,r.generateMask?r.generateMask(o):(bh===Xv&&(Zf===void 0&&(Zf=Buffer.alloc(Xv)),$G(Zf,0,Xv),bh=0),o[0]=Zf[bh++],o[1]=Zf[bh++],o[2]=Zf[bh++],o[3]=Zf[bh++]),f=(o[0]|o[1]|o[2]|o[3])===0,u=6);let y;typeof t=="string"?(!r.mask||f)&&r[Bu]!==void 0?y=r[Bu]:(t=Buffer.from(t),y=t.length):(y=t.length,i=r.mask&&r.readOnly&&!f);let I=y;y>=65536?(u+=8,I=127):y>125&&(u+=2,I=126);let D=Buffer.allocUnsafe(i?y+u:u);return D[0]=r.fin?r.opcode|128:r.opcode,r.rsv1&&(D[0]|=64),D[1]=I,I===126?D.writeUInt16BE(y,2):I===127&&(D[2]=D[3]=0,D.writeUIntBE(y,4,6)),r.mask?(D[1]|=128,D[u-4]=o[0],D[u-3]=o[1],D[u-2]=o[2],D[u-1]=o[3],f?[D,t]:i?(JU(t,o,D,u,y),[D]):(JU(t,o,t,0,y),[D,t])):[D,t]}close(t,r,o,i){let u;if(t===void 0)u=HG;else{if(typeof t!="number"||!jG(t))throw new TypeError("First argument must be a valid error code number");if(r===void 0||!r.length)u=Buffer.allocUnsafe(2),u.writeUInt16BE(t,0);else{let y=Buffer.byteLength(r);if(y>123)throw new RangeError("The message must not be greater than 123 bytes");u=Buffer.allocUnsafe(2+y),u.writeUInt16BE(t,0),typeof r=="string"?u.write(r,2):u.set(r,2)}}let f={[Bu]:u.length,fin:!0,generateMask:this._generateMask,mask:o,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};this._state!==Xu?this.enqueue([this.dispatch,u,!1,f,i]):this.sendFrame(e.frame(u,f),i)}ping(t,r,o){let i,u;if(typeof t=="string"?(i=Buffer.byteLength(t),u=!1):Sh(t)?(i=t.size,u=!1):(t=Kf(t),i=t.length,u=Kf.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let f={[Bu]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:9,readOnly:u,rsv1:!1};Sh(t)?this._state!==Xu?this.enqueue([this.getBlobData,t,!1,f,o]):this.getBlobData(t,!1,f,o):this._state!==Xu?this.enqueue([this.dispatch,t,!1,f,o]):this.sendFrame(e.frame(t,f),o)}pong(t,r,o){let i,u;if(typeof t=="string"?(i=Buffer.byteLength(t),u=!1):Sh(t)?(i=t.size,u=!1):(t=Kf(t),i=t.length,u=Kf.readOnly),i>125)throw new RangeError("The data size must not be greater than 125 bytes");let f={[Bu]:i,fin:!0,generateMask:this._generateMask,mask:r,maskBuffer:this._maskBuffer,opcode:10,readOnly:u,rsv1:!1};Sh(t)?this._state!==Xu?this.enqueue([this.getBlobData,t,!1,f,o]):this.getBlobData(t,!1,f,o):this._state!==Xu?this.enqueue([this.dispatch,t,!1,f,o]):this.sendFrame(e.frame(t,f),o)}send(t,r,o){let i=this._extensions[jU.extensionName],u=r.binary?2:1,f=r.compress,y,I;typeof t=="string"?(y=Buffer.byteLength(t),I=!1):Sh(t)?(y=t.size,I=!1):(t=Kf(t),y=t.length,I=Kf.readOnly),this._firstFragment?(this._firstFragment=!1,f&&i&&i.params[i._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(f=y>=i._threshold),this._compress=f):(f=!1,u=0),r.fin&&(this._firstFragment=!0);let D={[Bu]:y,fin:r.fin,generateMask:this._generateMask,mask:r.mask,maskBuffer:this._maskBuffer,opcode:u,readOnly:I,rsv1:f};Sh(t)?this._state!==Xu?this.enqueue([this.getBlobData,t,this._compress,D,o]):this.getBlobData(t,this._compress,D,o):this._state!==Xu?this.enqueue([this.dispatch,t,this._compress,D,o]):this.dispatch(t,this._compress,D,o)}getBlobData(t,r,o,i){this._bufferedBytes+=o[Bu],this._state=KG,t.arrayBuffer().then(u=>{if(this._socket.destroyed){let y=new Error("The socket was closed while the blob was being read");process.nextTick(bD,this,y,i);return}this._bufferedBytes-=o[Bu];let f=Kf(u);r?this.dispatch(f,r,o,i):(this._state=Xu,this.sendFrame(e.frame(f,o),i),this.dequeue())}).catch(u=>{process.nextTick(ZG,this,u,i)})}dispatch(t,r,o,i){if(!r){this.sendFrame(e.frame(t,o),i);return}let u=this._extensions[jU.extensionName];this._bufferedBytes+=o[Bu],this._state=VG,u.compress(t,o.fin,(f,y)=>{if(this._socket.destroyed){let I=new Error("The socket was closed while data was being compressed");bD(this,I,i);return}this._bufferedBytes-=o[Bu],this._state=Xu,o.readOnly=!1,this.sendFrame(e.frame(y,o),i),this.dequeue()})}dequeue(){for(;this._state===Xu&&this._queue.length;){let t=this._queue.shift();this._bufferedBytes-=t[3][Bu],Reflect.apply(t[0],this,t.slice(1))}}enqueue(t){this._bufferedBytes+=t[3][Bu],this._queue.push(t)}sendFrame(t,r){t.length===2?(this._socket.cork(),this._socket.write(t[0]),this._socket.write(t[1],r),this._socket.uncork()):this._socket.write(t[0],r)}};VU.exports=SD;function bD(e,t,r){typeof r=="function"&&r(t);for(let o=0;o<e._queue.length;o++){let i=e._queue[o],u=i[i.length-1];typeof u=="function"&&u(t)}}function ZG(e,t,r){bD(e,t,r),e.onerror(t)}});var nk=On((sW,tk)=>{"use strict";x();var{kForOnEventAttribute:oE,kListener:QD}=OA(),KU=Symbol("kCode"),ZU=Symbol("kData"),YU=Symbol("kError"),qU=Symbol("kMessage"),WU=Symbol("kReason"),xh=Symbol("kTarget"),XU=Symbol("kType"),ek=Symbol("kWasClean"),zA=class{constructor(t){this[xh]=null,this[XU]=t}get target(){return this[xh]}get type(){return this[XU]}};Object.defineProperty(zA.prototype,"target",{enumerable:!0});Object.defineProperty(zA.prototype,"type",{enumerable:!0});var Yf=class extends zA{constructor(t,r={}){super(t),this[KU]=r.code===void 0?0:r.code,this[WU]=r.reason===void 0?"":r.reason,this[ek]=r.wasClean===void 0?!1:r.wasClean}get code(){return this[KU]}get reason(){return this[WU]}get wasClean(){return this[ek]}};Object.defineProperty(Yf.prototype,"code",{enumerable:!0});Object.defineProperty(Yf.prototype,"reason",{enumerable:!0});Object.defineProperty(Yf.prototype,"wasClean",{enumerable:!0});var Qh=class extends zA{constructor(t,r={}){super(t),this[YU]=r.error===void 0?null:r.error,this[qU]=r.message===void 0?"":r.message}get error(){return this[YU]}get message(){return this[qU]}};Object.defineProperty(Qh.prototype,"error",{enumerable:!0});Object.defineProperty(Qh.prototype,"message",{enumerable:!0});var sE=class extends zA{constructor(t,r={}){super(t),this[ZU]=r.data===void 0?null:r.data}get data(){return this[ZU]}};Object.defineProperty(sE.prototype,"data",{enumerable:!0});var YG={addEventListener(e,t,r={}){for(let i of this.listeners(e))if(!r[oE]&&i[QD]===t&&!i[oE])return;let o;if(e==="message")o=function(u,f){let y=new sE("message",{data:f?u:u.toString()});y[xh]=this,eC(t,this,y)};else if(e==="close")o=function(u,f){let y=new Yf("close",{code:u,reason:f.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});y[xh]=this,eC(t,this,y)};else if(e==="error")o=function(u){let f=new Qh("error",{error:u,message:u.message});f[xh]=this,eC(t,this,f)};else if(e==="open")o=function(){let u=new zA("open");u[xh]=this,eC(t,this,u)};else return;o[oE]=!!r[oE],o[QD]=t,r.once?this.once(e,o):this.on(e,o)},removeEventListener(e,t){for(let r of this.listeners(e))if(r[QD]===t&&!r[oE]){this.removeListener(e,r);break}}};tk.exports={CloseEvent:Yf,ErrorEvent:Qh,Event:zA,EventTarget:YG,MessageEvent:sE};function eC(e,t,r){typeof e=="object"&&e.handleEvent?e.handleEvent.call(e,r):e.call(t,r)}});var wD=On((uW,ik)=>{"use strict";x();var{tokenChars:lE}=Dh();function Mc(e,t,r){e[t]===void 0?e[t]=[r]:e[t].push(r)}function qG(e){let t=Object.create(null),r=Object.create(null),o=!1,i=!1,u=!1,f,y,I=-1,D=-1,R=-1,z=0;for(;z<e.length;z++)if(D=e.charCodeAt(z),f===void 0)if(R===-1&&lE[D]===1)I===-1&&(I=z);else if(z!==0&&(D===32||D===9))R===-1&&I!==-1&&(R=z);else if(D===59||D===44){if(I===-1)throw new SyntaxError(`Unexpected character at index ${z}`);R===-1&&(R=z);let $=e.slice(I,R);D===44?(Mc(t,$,r),r=Object.create(null)):f=$,I=R=-1}else throw new SyntaxError(`Unexpected character at index ${z}`);else if(y===void 0)if(R===-1&&lE[D]===1)I===-1&&(I=z);else if(D===32||D===9)R===-1&&I!==-1&&(R=z);else if(D===59||D===44){if(I===-1)throw new SyntaxError(`Unexpected character at index ${z}`);R===-1&&(R=z),Mc(r,e.slice(I,R),!0),D===44&&(Mc(t,f,r),r=Object.create(null),f=void 0),I=R=-1}else if(D===61&&I!==-1&&R===-1)y=e.slice(I,z),I=R=-1;else throw new SyntaxError(`Unexpected character at index ${z}`);else if(i){if(lE[D]!==1)throw new SyntaxError(`Unexpected character at index ${z}`);I===-1?I=z:o||(o=!0),i=!1}else if(u)if(lE[D]===1)I===-1&&(I=z);else if(D===34&&I!==-1)u=!1,R=z;else if(D===92)i=!0;else throw new SyntaxError(`Unexpected character at index ${z}`);else if(D===34&&e.charCodeAt(z-1)===61)u=!0;else if(R===-1&&lE[D]===1)I===-1&&(I=z);else if(I!==-1&&(D===32||D===9))R===-1&&(R=z);else if(D===59||D===44){if(I===-1)throw new SyntaxError(`Unexpected character at index ${z}`);R===-1&&(R=z);let $=e.slice(I,R);o&&($=$.replace(/\\/g,""),o=!1),Mc(r,y,$),D===44&&(Mc(t,f,r),r=Object.create(null),f=void 0),y=void 0,I=R=-1}else throw new SyntaxError(`Unexpected character at index ${z}`);if(I===-1||u||D===32||D===9)throw new SyntaxError("Unexpected end of input");R===-1&&(R=z);let V=e.slice(I,R);return f===void 0?Mc(t,V,r):(y===void 0?Mc(r,V,!0):o?Mc(r,y,V.replace(/\\/g,"")):Mc(r,y,V),Mc(t,f,r)),t}function WG(e){return Object.keys(e).map(t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map(o=>[t].concat(Object.keys(o).map(i=>{let u=o[i];return Array.isArray(u)||(u=[u]),u.map(f=>f===!0?i:`${i}=${f}`).join("; ")})).join("; ")).join(", ")}).join(", ")}ik.exports={format:WG,parse:qG}});var rC=On((fW,hk)=>{"use strict";x();var XG=Ai("events"),eP=Ai("https"),tP=Ai("http"),ok=Ai("net"),nP=Ai("tls"),{randomBytes:iP,createHash:rP}=Ai("crypto"),{Duplex:AW,Readable:dW}=Ai("stream"),{URL:RD}=Ai("url"),Ud=aE(),aP=DD(),oP=xD(),{isBlob:sP}=Dh(),{BINARY_TYPES:rk,CLOSE_TIMEOUT:lP,EMPTY_BUFFER:tC,GUID:uP,kForOnEventAttribute:ND,kListener:cP,kStatusCode:AP,kWebSocket:Io,NOOP:sk}=OA(),{EventTarget:{addEventListener:dP,removeEventListener:fP}}=nk(),{format:pP,parse:hP}=wD(),{toBuffer:gP}=iE(),lk=Symbol("kAborted"),TD=[8,13],MA=["CONNECTING","OPEN","CLOSING","CLOSED"],mP=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,Mr=class e extends XG{constructor(t,r,o){super(),this._binaryType=rk[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=tC,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=e.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,t!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,r===void 0?r=[]:Array.isArray(r)||(typeof r=="object"&&r!==null?(o=r,r=[]):r=[r]),uk(this,t,r,o)):(this._autoPong=o.autoPong,this._closeTimeout=o.closeTimeout,this._isServer=!0)}get binaryType(){return this._binaryType}set binaryType(t){rk.includes(t)&&(this._binaryType=t,this._receiver&&(this._receiver._binaryType=t))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(t,r,o){let i=new aP({allowSynchronousEvents:o.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation}),u=new oP(t,this._extensions,o.generateMask);this._receiver=i,this._sender=u,this._socket=t,i[Io]=this,u[Io]=this,t[Io]=this,i.on("conclude",vP),i.on("drain",CP),i.on("error",IP),i.on("message",_P),i.on("ping",BP),i.on("pong",DP),u.onerror=SP,t.setTimeout&&t.setTimeout(0),t.setNoDelay&&t.setNoDelay(),r.length>0&&t.unshift(r),t.on("close",dk),t.on("data",iC),t.on("end",fk),t.on("error",pk),this._readyState=e.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=e.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[Ud.extensionName]&&this._extensions[Ud.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=e.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(t,r){if(this.readyState!==e.CLOSED){if(this.readyState===e.CONNECTING){Rl(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===e.CLOSING){this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end();return}this._readyState=e.CLOSING,this._sender.close(t,r,!this._isServer,o=>{o||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())}),Ak(this)}}pause(){this.readyState===e.CONNECTING||this.readyState===e.CLOSED||(this._paused=!0,this._socket.pause())}ping(t,r,o){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"?(o=t,t=r=void 0):typeof r=="function"&&(o=r,r=void 0),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){UD(this,t,o);return}r===void 0&&(r=!this._isServer),this._sender.ping(t||tC,r,o)}pong(t,r,o){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof t=="function"?(o=t,t=r=void 0):typeof r=="function"&&(o=r,r=void 0),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){UD(this,t,o);return}r===void 0&&(r=!this._isServer),this._sender.pong(t||tC,r,o)}resume(){this.readyState===e.CONNECTING||this.readyState===e.CLOSED||(this._paused=!1,this._receiver._writableState.needDrain||this._socket.resume())}send(t,r,o){if(this.readyState===e.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof r=="function"&&(o=r,r={}),typeof t=="number"&&(t=t.toString()),this.readyState!==e.OPEN){UD(this,t,o);return}let i={binary:typeof t!="string",mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[Ud.extensionName]||(i.compress=!1),this._sender.send(t||tC,i,o)}terminate(){if(this.readyState!==e.CLOSED){if(this.readyState===e.CONNECTING){Rl(this,this._req,"WebSocket was closed before the connection was established");return}this._socket&&(this._readyState=e.CLOSING,this._socket.destroy())}}};Object.defineProperty(Mr,"CONNECTING",{enumerable:!0,value:MA.indexOf("CONNECTING")});Object.defineProperty(Mr.prototype,"CONNECTING",{enumerable:!0,value:MA.indexOf("CONNECTING")});Object.defineProperty(Mr,"OPEN",{enumerable:!0,value:MA.indexOf("OPEN")});Object.defineProperty(Mr.prototype,"OPEN",{enumerable:!0,value:MA.indexOf("OPEN")});Object.defineProperty(Mr,"CLOSING",{enumerable:!0,value:MA.indexOf("CLOSING")});Object.defineProperty(Mr.prototype,"CLOSING",{enumerable:!0,value:MA.indexOf("CLOSING")});Object.defineProperty(Mr,"CLOSED",{enumerable:!0,value:MA.indexOf("CLOSED")});Object.defineProperty(Mr.prototype,"CLOSED",{enumerable:!0,value:MA.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach(e=>{Object.defineProperty(Mr.prototype,e,{enumerable:!0})});["open","error","close","message"].forEach(e=>{Object.defineProperty(Mr.prototype,`on${e}`,{enumerable:!0,get(){for(let t of this.listeners(e))if(t[ND])return t[cP];return null},set(t){for(let r of this.listeners(e))if(r[ND]){this.removeListener(e,r);break}typeof t=="function"&&this.addEventListener(e,t,{[ND]:!0})}})});Mr.prototype.addEventListener=dP;Mr.prototype.removeEventListener=fP;hk.exports=Mr;function uk(e,t,r,o){let i={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:lP,protocolVersion:TD[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...o,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(e._autoPong=i.autoPong,e._closeTimeout=i.closeTimeout,!TD.includes(i.protocolVersion))throw new RangeError(`Unsupported protocol version: ${i.protocolVersion} (supported versions: ${TD.join(", ")})`);let u;if(t instanceof RD)u=t;else try{u=new RD(t)}catch{throw new SyntaxError(`Invalid URL: ${t}`)}u.protocol==="http:"?u.protocol="ws:":u.protocol==="https:"&&(u.protocol="wss:"),e._url=u.href;let f=u.protocol==="wss:",y=u.protocol==="ws+unix:",I;if(u.protocol!=="ws:"&&!f&&!y?I=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`:y&&!u.pathname?I="The URL's pathname is empty":u.hash&&(I="The URL contains a fragment identifier"),I){let re=new SyntaxError(I);if(e._redirects===0)throw re;nC(e,re);return}let D=f?443:80,R=iP(16).toString("base64"),z=f?eP.request:tP.request,V=new Set,$;if(i.createConnection=i.createConnection||(f?yP:EP),i.defaultPort=i.defaultPort||D,i.port=u.port||D,i.host=u.hostname.startsWith("[")?u.hostname.slice(1,-1):u.hostname,i.headers={...i.headers,"Sec-WebSocket-Version":i.protocolVersion,"Sec-WebSocket-Key":R,Connection:"Upgrade",Upgrade:"websocket"},i.path=u.pathname+u.search,i.timeout=i.handshakeTimeout,i.perMessageDeflate&&($=new Ud(i.perMessageDeflate!==!0?i.perMessageDeflate:{},!1,i.maxPayload),i.headers["Sec-WebSocket-Extensions"]=pP({[Ud.extensionName]:$.offer()})),r.length){for(let re of r){if(typeof re!="string"||!mP.test(re)||V.has(re))throw new SyntaxError("An invalid or duplicated subprotocol was specified");V.add(re)}i.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(i.origin&&(i.protocolVersion<13?i.headers["Sec-WebSocket-Origin"]=i.origin:i.headers.Origin=i.origin),(u.username||u.password)&&(i.auth=`${u.username}:${u.password}`),y){let re=i.path.split(":");i.socketPath=re[0],i.path=re[1]}let te;if(i.followRedirects){if(e._redirects===0){e._originalIpc=y,e._originalSecure=f,e._originalHostOrSocketPath=y?i.socketPath:u.host;let re=o&&o.headers;if(o={...o,headers:{}},re)for(let[oe,ce]of Object.entries(re))o.headers[oe.toLowerCase()]=ce}else if(e.listenerCount("redirect")===0){let re=y?e._originalIpc?i.socketPath===e._originalHostOrSocketPath:!1:e._originalIpc?!1:u.host===e._originalHostOrSocketPath;(!re||e._originalSecure&&!f)&&(delete i.headers.authorization,delete i.headers.cookie,re||delete i.headers.host,i.auth=void 0)}i.auth&&!o.headers.authorization&&(o.headers.authorization="Basic "+Buffer.from(i.auth).toString("base64")),te=e._req=z(i),e._redirects&&e.emit("redirect",e.url,te)}else te=e._req=z(i);i.timeout&&te.on("timeout",()=>{Rl(e,te,"Opening handshake has timed out")}),te.on("error",re=>{te===null||te[lk]||(te=e._req=null,nC(e,re))}),te.on("response",re=>{let oe=re.headers.location,ce=re.statusCode;if(oe&&i.followRedirects&&ce>=300&&ce<400){if(++e._redirects>i.maxRedirects){Rl(e,te,"Maximum redirects exceeded");return}te.abort();let xe;try{xe=new RD(oe,t)}catch{let Ie=new SyntaxError(`Invalid URL: ${oe}`);nC(e,Ie);return}uk(e,xe,r,o)}else e.emit("unexpected-response",te,re)||Rl(e,te,`Unexpected server response: ${re.statusCode}`)}),te.on("upgrade",(re,oe,ce)=>{if(e.emit("upgrade",re),e.readyState!==Mr.CONNECTING)return;te=e._req=null;let xe=re.headers.upgrade;if(xe===void 0||xe.toLowerCase()!=="websocket"){Rl(e,oe,"Invalid Upgrade header");return}let Me=rP("sha1").update(R+uP).digest("base64");if(re.headers["sec-websocket-accept"]!==Me){Rl(e,oe,"Invalid Sec-WebSocket-Accept header");return}let Ie=re.headers["sec-websocket-protocol"],it;if(Ie!==void 0?V.size?V.has(Ie)||(it="Server sent an invalid subprotocol"):it="Server sent a subprotocol but none was requested":V.size&&(it="Server sent no subprotocol"),it){Rl(e,oe,it);return}Ie&&(e._protocol=Ie);let Xe=re.headers["sec-websocket-extensions"];if(Xe!==void 0){if(!$){Rl(e,oe,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let k;try{k=hP(Xe)}catch{Rl(e,oe,"Invalid Sec-WebSocket-Extensions header");return}let He=Object.keys(k);if(He.length!==1||He[0]!==Ud.extensionName){Rl(e,oe,"Server indicated an extension that was not requested");return}try{$.accept(k[Ud.extensionName])}catch{Rl(e,oe,"Invalid Sec-WebSocket-Extensions header");return}e._extensions[Ud.extensionName]=$}e.setSocket(oe,ce,{allowSynchronousEvents:i.allowSynchronousEvents,generateMask:i.generateMask,maxPayload:i.maxPayload,skipUTF8Validation:i.skipUTF8Validation})}),i.finishRequest?i.finishRequest(te,e):te.end()}function nC(e,t){e._readyState=Mr.CLOSING,e._errorEmitted=!0,e.emit("error",t),e.emitClose()}function EP(e){return e.path=e.socketPath,ok.connect(e)}function yP(e){return e.path=void 0,!e.servername&&e.servername!==""&&(e.servername=ok.isIP(e.host)?"":e.host),nP.connect(e)}function Rl(e,t,r){e._readyState=Mr.CLOSING;let o=new Error(r);Error.captureStackTrace(o,Rl),t.setHeader?(t[lk]=!0,t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),process.nextTick(nC,e,o)):(t.destroy(o),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function UD(e,t,r){if(t){let o=sP(t)?t.size:gP(t).length;e._socket?e._sender._bufferedBytes+=o:e._bufferedAmount+=o}if(r){let o=new Error(`WebSocket is not open: readyState ${e.readyState} (${MA[e.readyState]})`);process.nextTick(r,o)}}function vP(e,t){let r=this[Io];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,r._socket[Io]!==void 0&&(r._socket.removeListener("data",iC),process.nextTick(ck,r._socket),e===1005?r.close():r.close(e,t))}function CP(){let e=this[Io];e.isPaused||e._socket.resume()}function IP(e){let t=this[Io];t._socket[Io]!==void 0&&(t._socket.removeListener("data",iC),process.nextTick(ck,t._socket),t.close(e[AP])),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e))}function ak(){this[Io].emitClose()}function _P(e,t){this[Io].emit("message",e,t)}function BP(e){let t=this[Io];t._autoPong&&t.pong(e,!this._isServer,sk),t.emit("ping",e)}function DP(e){this[Io].emit("pong",e)}function ck(e){e.resume()}function SP(e){let t=this[Io];t.readyState!==Mr.CLOSED&&(t.readyState===Mr.OPEN&&(t._readyState=Mr.CLOSING,Ak(t)),this._socket.end(),t._errorEmitted||(t._errorEmitted=!0,t.emit("error",e)))}function Ak(e){e._closeTimer=setTimeout(e._socket.destroy.bind(e._socket),e._closeTimeout)}function dk(){let e=this[Io];if(this.removeListener("close",dk),this.removeListener("data",iC),this.removeListener("end",fk),e._readyState=Mr.CLOSING,!this._readableState.endEmitted&&!e._closeFrameReceived&&!e._receiver._writableState.errorEmitted&&this._readableState.length!==0){let t=this.read(this._readableState.length);e._receiver.write(t)}e._receiver.end(),this[Io]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",ak),e._receiver.on("finish",ak))}function iC(e){this[Io]._receiver.write(e)||this.pause()}function fk(){let e=this[Io];e._readyState=Mr.CLOSING,e._receiver.end(),this.end()}function pk(){let e=this[Io];this.removeListener("error",pk),this.on("error",sk),e&&(e._readyState=Mr.CLOSING,this.destroy())}});var yk=On((gW,Ek)=>{"use strict";x();var hW=rC(),{Duplex:bP}=Ai("stream");function gk(e){e.emit("close")}function xP(){!this.destroyed&&this._writableState.finished&&this.destroy()}function mk(e){this.removeListener("error",mk),this.destroy(),this.listenerCount("error")===0&&this.emit("error",e)}function QP(e,t){let r=!0,o=new bP({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",function(u,f){let y=!f&&o._readableState.objectMode?u.toString():u;o.push(y)||e.pause()}),e.once("error",function(u){o.destroyed||(r=!1,o.destroy(u))}),e.once("close",function(){o.destroyed||o.push(null)}),o._destroy=function(i,u){if(e.readyState===e.CLOSED){u(i),process.nextTick(gk,o);return}let f=!1;e.once("error",function(I){f=!0,u(I)}),e.once("close",function(){f||u(i),process.nextTick(gk,o)}),r&&e.terminate()},o._final=function(i){if(e.readyState===e.CONNECTING){e.once("open",function(){o._final(i)});return}e._socket!==null&&(e._socket._writableState.finished?(i(),o._readableState.endEmitted&&o.destroy()):(e._socket.once("finish",function(){i()}),e.close()))},o._read=function(){e.isPaused&&e.resume()},o._write=function(i,u,f){if(e.readyState===e.CONNECTING){e.once("open",function(){o._write(i,u,f)});return}e.send(i,f)},o.on("end",xP),o.on("error",mk),o}Ek.exports=QP});var Ck=On((EW,vk)=>{"use strict";x();var{tokenChars:wP}=Dh();function RP(e){let t=new Set,r=-1,o=-1,i=0;for(i;i<e.length;i++){let f=e.charCodeAt(i);if(o===-1&&wP[f]===1)r===-1&&(r=i);else if(i!==0&&(f===32||f===9))o===-1&&r!==-1&&(o=i);else if(f===44){if(r===-1)throw new SyntaxError(`Unexpected character at index ${i}`);o===-1&&(o=i);let y=e.slice(r,o);if(t.has(y))throw new SyntaxError(`The "${y}" subprotocol is duplicated`);t.add(y),r=o=-1}else throw new SyntaxError(`Unexpected character at index ${i}`)}if(r===-1||o!==-1)throw new SyntaxError("Unexpected end of input");let u=e.slice(r,i);if(t.has(u))throw new SyntaxError(`The "${u}" subprotocol is duplicated`);return t.add(u),t}vk.exports={parse:RP}});var xk=On((CW,bk)=>{"use strict";x();var NP=Ai("events"),aC=Ai("http"),{Duplex:vW}=Ai("stream"),{createHash:TP}=Ai("crypto"),Ik=wD(),qf=aE(),UP=Ck(),kP=rC(),{CLOSE_TIMEOUT:OP,GUID:FP,kWebSocket:zP}=OA(),MP=/^[+/0-9A-Za-z]{22}==$/,_k=0,Bk=1,Sk=2,kD=class extends NP{constructor(t,r){if(super(),t={allowSynchronousEvents:!0,autoPong:!0,maxPayload:100*1024*1024,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:OP,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:kP,...t},t.port==null&&!t.server&&!t.noServer||t.port!=null&&(t.server||t.noServer)||t.server&&t.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(t.port!=null?(this._server=aC.createServer((o,i)=>{let u=aC.STATUS_CODES[426];i.writeHead(426,{"Content-Length":u.length,"Content-Type":"text/plain"}),i.end(u)}),this._server.listen(t.port,t.host,t.backlog,r)):t.server&&(this._server=t.server),this._server){let o=this.emit.bind(this,"connection");this._removeListeners=LP(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(i,u,f)=>{this.handleUpgrade(i,u,f,o)}})}t.perMessageDeflate===!0&&(t.perMessageDeflate={}),t.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=t,this._state=_k}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(t){if(this._state===Sk){t&&this.once("close",()=>{t(new Error("The server is not running"))}),process.nextTick(uE,this);return}if(t&&this.once("close",t),this._state!==Bk)if(this._state=Bk,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients?this.clients.size?this._shouldEmitClose=!0:process.nextTick(uE,this):process.nextTick(uE,this);else{let r=this._server;this._removeListeners(),this._removeListeners=this._server=null,r.close(()=>{uE(this)})}}shouldHandle(t){if(this.options.path){let r=t.url.indexOf("?");if((r!==-1?t.url.slice(0,r):t.url)!==this.options.path)return!1}return!0}handleUpgrade(t,r,o,i){r.on("error",Dk);let u=t.headers["sec-websocket-key"],f=t.headers.upgrade,y=+t.headers["sec-websocket-version"];if(t.method!=="GET"){Wf(this,t,r,405,"Invalid HTTP method");return}if(f===void 0||f.toLowerCase()!=="websocket"){Wf(this,t,r,400,"Invalid Upgrade header");return}if(u===void 0||!MP.test(u)){Wf(this,t,r,400,"Missing or invalid Sec-WebSocket-Key header");return}if(y!==13&&y!==8){Wf(this,t,r,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(t)){cE(r,400);return}let I=t.headers["sec-websocket-protocol"],D=new Set;if(I!==void 0)try{D=UP.parse(I)}catch{Wf(this,t,r,400,"Invalid Sec-WebSocket-Protocol header");return}let R=t.headers["sec-websocket-extensions"],z={};if(this.options.perMessageDeflate&&R!==void 0){let V=new qf(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let $=Ik.parse(R);$[qf.extensionName]&&(V.accept($[qf.extensionName]),z[qf.extensionName]=V)}catch{Wf(this,t,r,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let V={origin:t.headers[`${y===8?"sec-websocket-origin":"origin"}`],secure:!!(t.socket.authorized||t.socket.encrypted),req:t};if(this.options.verifyClient.length===2){this.options.verifyClient(V,($,te,re,oe)=>{if(!$)return cE(r,te||401,re,oe);this.completeUpgrade(z,u,D,t,r,o,i)});return}if(!this.options.verifyClient(V))return cE(r,401)}this.completeUpgrade(z,u,D,t,r,o,i)}completeUpgrade(t,r,o,i,u,f,y){if(!u.readable||!u.writable)return u.destroy();if(u[zP])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>_k)return cE(u,503);let D=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${TP("sha1").update(r+FP).digest("base64")}`],R=new this.options.WebSocket(null,void 0,this.options);if(o.size){let z=this.options.handleProtocols?this.options.handleProtocols(o,i):o.values().next().value;z&&(D.push(`Sec-WebSocket-Protocol: ${z}`),R._protocol=z)}if(t[qf.extensionName]){let z=t[qf.extensionName].params,V=Ik.format({[qf.extensionName]:[z]});D.push(`Sec-WebSocket-Extensions: ${V}`),R._extensions=t}this.emit("headers",D,i),u.write(D.concat(`\r
234
- `).join(`\r
235
- `)),u.removeListener("error",Dk),R.setSocket(u,f,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(R),R.on("close",()=>{this.clients.delete(R),this._shouldEmitClose&&!this.clients.size&&process.nextTick(uE,this)})),y(R,i)}};bk.exports=kD;function LP(e,t){for(let r of Object.keys(t))e.on(r,t[r]);return function(){for(let o of Object.keys(t))e.removeListener(o,t[o])}}function uE(e){e._state=Sk,e.emit("close")}function Dk(){this.destroy()}function cE(e,t,r,o){r=r||aC.STATUS_CODES[t],o={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...o},e.once("finish",e.destroy),e.end(`HTTP/1.1 ${t} ${aC.STATUS_CODES[t]}\r
236
- `+Object.keys(o).map(i=>`${i}: ${o[i]}`).join(`\r
237
- `)+`\r
238
- \r
239
- `+r)}function Wf(e,t,r,o,i,u){if(e.listenerCount("wsClientError")){let f=new Error(i);Error.captureStackTrace(f,Wf),e.emit("wsClientError",f,r,t)}else cE(r,o,i,u)}});var $P,HP,GP,Qk,PP,wk,Rk=Y(()=>{"use strict";x();$P=vt(yk(),1),HP=vt(DD(),1),GP=vt(xD(),1),Qk=vt(rC(),1),PP=vt(xk(),1),wk=Qk.default});var oC,Nk=Y(()=>{"use strict";x();Rk();oC=global;oC.WebSocket||=wk;oC.window||=global;oC.self||=global;oC.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}]});var OD,Tk=Y(()=>{"use strict";x();OD={initialize(){},connectToDevTools(){}}});var jP={};var Uk=Y(()=>{"use strict";x();Nk();Tk();OD.initialize();OD.connectToDevTools()});import JP from"process";var Fk,AE,zk,kk,Ok,sC,FD,LA,zD=Y(async()=>{"use strict";x();Fk=vt(dU(),1),AE=vt(TB(),1);await Jf();zk=vt(yi(),1);await fD();await BU();if(JP.env.DEV==="true")try{await Promise.resolve().then(()=>(Uk(),jP))}catch(e){if(e.code==="ERR_MODULE_NOT_FOUND")console.warn(`
240
- The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`,
241
- but this failed as it was not installed. Debugging with React Devtools requires it.
242
-
243
- To install use this command:
244
-
245
- $ npm install --save-dev react-devtools-core
246
- `.trim()+`
247
- `);else throw e}kk=(e,t)=>{if(e===t)return;if(!e)return t;let r={},o=!1;for(let i of Object.keys(e))(!t||!Object.hasOwn(t,i))&&(r[i]=void 0,o=!0);if(t)for(let i of Object.keys(t))t[i]!==e[i]&&(r[i]=t[i],o=!0);return o?r:void 0},Ok=e=>{e?.unsetMeasureFunc(),e?.freeRecursive()},sC=AE.NoEventPriority,LA=(0,Fk.default)({getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>null,preparePortalMount:()=>null,clearContainer:()=>!1,resetAfterCommit(e){if(typeof e.onComputeLayout=="function"&&e.onComputeLayout(),e.isStaticDirty){e.isStaticDirty=!1,typeof e.onImmediateRender=="function"&&e.onImmediateRender();return}typeof e.onRender=="function"&&e.onRender()},getChildHostContext(e,t){let r=e.isInsideText,o=t==="ink-text"||t==="ink-virtual-text";return r===o?e:{isInsideText:o}},shouldSetTextContent:()=>!1,createInstance(e,t,r,o){if(o.isInsideText&&e==="ink-box")throw new Error("<Box> can\u2019t be nested inside <Text> component");let i=e==="ink-text"&&o.isInsideText?"ink-virtual-text":e,u=Pv(i);for(let[f,y]of Object.entries(t))if(f!=="children"){if(f==="style"){dD(u,y),u.yogaNode&&pD(u.yogaNode,y);continue}if(f==="internal_transform"){u.internal_transform=y;continue}if(f==="internal_static"){FD=r,u.internal_static=!0,r.isStaticDirty=!0,r.staticNode=u;continue}AD(u,f,y)}return u},createTextInstance(e,t,r){if(!r.isInsideText)throw new Error(`Text string "${e}" must be rendered inside <Text> component`);return IU(e)},resetTextContent(){},hideTextInstance(e){nE(e,"")},unhideTextInstance(e,t){nE(e,t)},getPublicInstance:e=>e,hideInstance(e){e.yogaNode?.setDisplay(Mt.DISPLAY_NONE)},unhideInstance(e){e.yogaNode?.setDisplay(Mt.DISPLAY_FLEX)},appendInitialChild:jv,appendChild:jv,insertBefore:cD,finalizeInitialChildren(){return!1},isPrimaryRenderer:!0,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,scheduleTimeout:setTimeout,cancelTimeout:clearTimeout,noTimeout:-1,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},getInstanceFromNode:()=>null,prepareScopeUpdate(){},getInstanceFromScope:()=>null,appendChildToContainer:jv,insertInContainerBefore:cD,removeChildFromContainer(e,t){tE(e,t),Ok(t.yogaNode)},commitUpdate(e,t,r,o){FD&&e.internal_static&&(FD.isStaticDirty=!0);let i=kk(r,o),u=kk(r.style,o.style);if(!(!i&&!u)){if(i)for(let[f,y]of Object.entries(i)){if(f==="style"){dD(e,y);continue}if(f==="internal_transform"){e.internal_transform=y;continue}if(f==="internal_static"){e.internal_static=!0;continue}AD(e,f,y)}u&&e.yogaNode&&pD(e.yogaNode,u)}},commitTextUpdate(e,t,r){nE(e,r)},removeChild(e,t){tE(e,t),Ok(t.yogaNode)},setCurrentUpdatePriority(e){sC=e},getCurrentUpdatePriority:()=>sC,resolveUpdatePriority(){return sC!==AE.NoEventPriority?sC:AE.DefaultEventPriority},maySuspendCommit(){return!1},NotPendingTransition:void 0,HostTransitionContext:(0,zk.createContext)(null),resetFormInstance(){},requestPostPaintCallback(){},shouldAttemptEagerTransition(){return!1},trackSchedulerEvent(){},resolveEventType(){return null},resolveEventTimeStamp(){return-1.1},preloadInstance(){return!0},startSuspendingCommit(){},suspendInstance(){},waitForCommitToBeReady(){return null}})});function MD(e,t=1,r={}){let{indent:o=" ",includeEmptyLines:i=!1}=r;if(typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(t<0)throw new RangeError(`Expected \`count\` to be at least 0, got \`${t}\``);if(typeof o!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o}\``);if(t===0)return e;let u=i?/^/gm:/^(?!\s*$)/gm;return e.replace(u,o.repeat(t))}var Mk=Y(()=>{"use strict";x()});var VP,Lk,$k=Y(async()=>{"use strict";x();await Jf();VP=e=>e.getComputedWidth()-e.getComputedPadding(Mt.EDGE_LEFT)-e.getComputedPadding(Mt.EDGE_RIGHT)-e.getComputedBorder(Mt.EDGE_LEFT)-e.getComputedBorder(Mt.EDGE_RIGHT),Lk=VP});var Hk=On((GW,KP)=>{KP.exports={single:{topLeft:"\u250C",top:"\u2500",topRight:"\u2510",right:"\u2502",bottomRight:"\u2518",bottom:"\u2500",bottomLeft:"\u2514",left:"\u2502"},double:{topLeft:"\u2554",top:"\u2550",topRight:"\u2557",right:"\u2551",bottomRight:"\u255D",bottom:"\u2550",bottomLeft:"\u255A",left:"\u2551"},round:{topLeft:"\u256D",top:"\u2500",topRight:"\u256E",right:"\u2502",bottomRight:"\u256F",bottom:"\u2500",bottomLeft:"\u2570",left:"\u2502"},bold:{topLeft:"\u250F",top:"\u2501",topRight:"\u2513",right:"\u2503",bottomRight:"\u251B",bottom:"\u2501",bottomLeft:"\u2517",left:"\u2503"},singleDouble:{topLeft:"\u2553",top:"\u2500",topRight:"\u2556",right:"\u2551",bottomRight:"\u255C",bottom:"\u2500",bottomLeft:"\u2559",left:"\u2551"},doubleSingle:{topLeft:"\u2552",top:"\u2550",topRight:"\u2555",right:"\u2502",bottomRight:"\u255B",bottom:"\u2550",bottomLeft:"\u2558",left:"\u2502"},classic:{topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},arrow:{topLeft:"\u2198",top:"\u2193",topRight:"\u2199",right:"\u2190",bottomRight:"\u2196",bottom:"\u2191",bottomLeft:"\u2197",left:"\u2192"}}});var Pk=On((PW,LD)=>{"use strict";x();var Gk=Hk();LD.exports=Gk;LD.exports.default=Gk});function qP(){let e=new Map;for(let[t,r]of Object.entries(Lr)){for(let[o,i]of Object.entries(r))Lr[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[o]=Lr[o],e.set(i[0],i[1]);Object.defineProperty(Lr,t,{value:r,enumerable:!1})}return Object.defineProperty(Lr,"codes",{value:e,enumerable:!1}),Lr.color.close="\x1B[39m",Lr.bgColor.close="\x1B[49m",Lr.color.ansi=jk(),Lr.color.ansi256=Jk(),Lr.color.ansi16m=Vk(),Lr.bgColor.ansi=jk(10),Lr.bgColor.ansi256=Jk(10),Lr.bgColor.ansi16m=Vk(10),Object.defineProperties(Lr,{rgbToAnsi256:{value(t,r,o){return t===r&&r===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(o/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[o]=r;o.length===3&&(o=[...o].map(u=>u+u).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>Lr.rgbToAnsi256(...Lr.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,o,i;if(t>=232)r=((t-232)*10+8)/255,o=r,i=r;else{t-=16;let y=t%36;r=Math.floor(t/36)/5,o=Math.floor(y/6)/5,i=y%6/5}let u=Math.max(r,o,i)*2;if(u===0)return 30;let f=30+(Math.round(i)<<2|Math.round(o)<<1|Math.round(r));return u===2&&(f+=60),f},enumerable:!1},rgbToAnsi:{value:(t,r,o)=>Lr.ansi256ToAnsi(Lr.rgbToAnsi256(t,r,o)),enumerable:!1},hexToAnsi:{value:t=>Lr.ansi256ToAnsi(Lr.hexToAnsi256(t)),enumerable:!1}}),Lr}var jk,Jk,Vk,Lr,JW,ZP,YP,VW,WP,ec,Kk=Y(()=>{"use strict";x();jk=(e=0)=>t=>`\x1B[${t+e}m`,Jk=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Vk=(e=0)=>(t,r,o)=>`\x1B[${38+e};2;${t};${r};${o}m`,Lr={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},JW=Object.keys(Lr.modifier),ZP=Object.keys(Lr.color),YP=Object.keys(Lr.bgColor),VW=[...ZP,...YP];WP=qP(),ec=WP});import $D from"process";import XP from"os";import Zk from"tty";function Du(e,t=globalThis.Deno?globalThis.Deno.args:$D.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",o=t.indexOf(r+e),i=t.indexOf("--");return o!==-1&&(i===-1||o<i)}function ej(){if("FORCE_COLOR"in $r)return $r.FORCE_COLOR==="true"?1:$r.FORCE_COLOR==="false"?0:$r.FORCE_COLOR.length===0?1:Math.min(Number.parseInt($r.FORCE_COLOR,10),3)}function tj(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function nj(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let o=ej();o!==void 0&&(lC=o);let i=r?lC:o;if(i===0)return 0;if(r){if(Du("color=16m")||Du("color=full")||Du("color=truecolor"))return 3;if(Du("color=256"))return 2}if("TF_BUILD"in $r&&"AGENT_NAME"in $r)return 1;if(e&&!t&&i===void 0)return 0;let u=i||0;if($r.TERM==="dumb")return u;if($D.platform==="win32"){let f=XP.release().split(".");return Number(f[0])>=10&&Number(f[2])>=10586?Number(f[2])>=14931?3:2:1}if("CI"in $r)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(f=>f in $r)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(f=>f in $r)||$r.CI_NAME==="codeship"?1:u;if("TEAMCITY_VERSION"in $r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($r.TEAMCITY_VERSION)?1:0;if($r.COLORTERM==="truecolor"||$r.TERM==="xterm-kitty"||$r.TERM==="xterm-ghostty"||$r.TERM==="wezterm")return 3;if("TERM_PROGRAM"in $r){let f=Number.parseInt(($r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch($r.TERM_PROGRAM){case"iTerm.app":return f>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test($r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test($r.TERM)||"COLORTERM"in $r?1:u}function Yk(e,t={}){let r=nj(e,{streamIsTTY:e&&e.isTTY,...t});return tj(r)}var $r,lC,ij,qk,Wk=Y(()=>{"use strict";x();({env:$r}=$D);Du("no-color")||Du("no-colors")||Du("color=false")||Du("color=never")?lC=0:(Du("color")||Du("colors")||Du("color=true")||Du("color=always"))&&(lC=1);ij={stdout:Yk({isTTY:Zk.isatty(1)}),stderr:Yk({isTTY:Zk.isatty(2)})},qk=ij});function Xk(e,t,r){let o=e.indexOf(t);if(o===-1)return e;let i=t.length,u=0,f="";do f+=e.slice(u,o)+t+r,u=o+i,o=e.indexOf(t,u);while(o!==-1);return f+=e.slice(u),f}function eO(e,t,r,o){let i=0,u="";do{let f=e[o-1]==="\r";u+=e.slice(i,f?o-1:o)+t+(f?`\r
248
- `:`
249
- `)+r,i=o+1,o=e.indexOf(`
250
- `,i)}while(o!==-1);return u+=e.slice(i),u}var tO=Y(()=>{"use strict";x()});function fE(e){return aj(e)}var nO,iO,HD,wh,dE,rO,Rh,rj,aj,GD,oj,sj,PD,uC,lj,uj,oX,Gi,pE=Y(()=>{"use strict";x();Kk();Wk();tO();({stdout:nO,stderr:iO}=qk),HD=Symbol("GENERATOR"),wh=Symbol("STYLER"),dE=Symbol("IS_EMPTY"),rO=["ansi","ansi","ansi256","ansi16m"],Rh=Object.create(null),rj=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=nO?nO.level:0;e.level=t.level===void 0?r:t.level},aj=e=>{let t=(...r)=>r.join(" ");return rj(t,e),Object.setPrototypeOf(t,fE.prototype),t};Object.setPrototypeOf(fE.prototype,Function.prototype);for(let[e,t]of Object.entries(ec))Rh[e]={get(){let r=uC(this,PD(t.open,t.close,this[wh]),this[dE]);return Object.defineProperty(this,e,{value:r}),r}};Rh.visible={get(){let e=uC(this,this[wh],!0);return Object.defineProperty(this,"visible",{value:e}),e}};GD=(e,t,r,...o)=>e==="rgb"?t==="ansi16m"?ec[r].ansi16m(...o):t==="ansi256"?ec[r].ansi256(ec.rgbToAnsi256(...o)):ec[r].ansi(ec.rgbToAnsi(...o)):e==="hex"?GD("rgb",t,r,...ec.hexToRgb(...o)):ec[r][e](...o),oj=["rgb","hex","ansi256"];for(let e of oj){Rh[e]={get(){let{level:r}=this;return function(...o){let i=PD(GD(e,rO[r],"color",...o),ec.color.close,this[wh]);return uC(this,i,this[dE])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);Rh[t]={get(){let{level:r}=this;return function(...o){let i=PD(GD(e,rO[r],"bgColor",...o),ec.bgColor.close,this[wh]);return uC(this,i,this[dE])}}}}sj=Object.defineProperties(()=>{},{...Rh,level:{enumerable:!0,get(){return this[HD].level},set(e){this[HD].level=e}}}),PD=(e,t,r)=>{let o,i;return r===void 0?(o=e,i=t):(o=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:o,closeAll:i,parent:r}},uC=(e,t,r)=>{let o=(...i)=>lj(o,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(o,sj),o[HD]=e,o[wh]=t,o[dE]=r,o},lj=(e,t)=>{if(e.level<=0||!t)return e[dE]?"":t;let r=e[wh];if(r===void 0)return t;let{openAll:o,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Xk(t,r.close,r.open),r=r.parent;let u=t.indexOf(`
251
- `);return u!==-1&&(t=eO(t,i,o,u)),o+t+i};Object.defineProperties(fE.prototype,Rh);uj=fE(),oX=fE({level:iO?iO.level:0}),Gi=uj});var cj,Aj,dj,fj,Lc,cC=Y(()=>{"use strict";x();pE();cj=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,Aj=/^ansi256\(\s?(\d+)\s?\)$/,dj=e=>e in Gi,fj=(e,t,r)=>{if(!t)return e;if(dj(t)){if(r==="foreground")return Gi[t](e);let o=`bg${t[0].toUpperCase()+t.slice(1)}`;return Gi[o](e)}if(t.startsWith("#"))return r==="foreground"?Gi.hex(t)(e):Gi.bgHex(t)(e);if(t.startsWith("ansi256")){let o=Aj.exec(t);if(!o)return e;let i=Number(o[1]);return r==="foreground"?Gi.ansi256(i)(e):Gi.bgAnsi256(i)(e)}if(t.startsWith("rgb")){let o=cj.exec(t);if(!o)return e;let i=Number(o[1]),u=Number(o[2]),f=Number(o[3]);return r==="foreground"?Gi.rgb(i,u,f)(e):Gi.bgRgb(i,u,f)(e)}return e},Lc=fj});var aO,pj,oO,sO=Y(()=>{"use strict";x();aO=vt(Pk(),1);pE();cC();pj=(e,t,r,o)=>{if(r.style.borderStyle){let i=r.yogaNode.getComputedWidth(),u=r.yogaNode.getComputedHeight(),f=typeof r.style.borderStyle=="string"?aO.default[r.style.borderStyle]:r.style.borderStyle,y=r.style.borderTopColor??r.style.borderColor,I=r.style.borderBottomColor??r.style.borderColor,D=r.style.borderLeftColor??r.style.borderColor,R=r.style.borderRightColor??r.style.borderColor,z=r.style.borderTopDimColor??r.style.borderDimColor,V=r.style.borderBottomDimColor??r.style.borderDimColor,$=r.style.borderLeftDimColor??r.style.borderDimColor,te=r.style.borderRightDimColor??r.style.borderDimColor,re=r.style.borderTop!==!1,oe=r.style.borderBottom!==!1,ce=r.style.borderLeft!==!1,xe=r.style.borderRight!==!1,Me=i-(ce?1:0)-(xe?1:0),Ie=re?Lc((ce?f.topLeft:"")+f.top.repeat(Me)+(xe?f.topRight:""),y,"foreground"):void 0;re&&z&&(Ie=Gi.dim(Ie));let it=u;re&&(it-=1),oe&&(it-=1);let Xe=(Lc(f.left,D,"foreground")+`
252
- `).repeat(it);$&&(Xe=Gi.dim(Xe));let k=(Lc(f.right,R,"foreground")+`
253
- `).repeat(it);te&&(k=Gi.dim(k));let He=oe?Lc((ce?f.bottomLeft:"")+f.bottom.repeat(Me)+(xe?f.bottomRight:""),I,"foreground"):void 0;oe&&V&&(He=Gi.dim(He));let It=re?1:0;Ie&&o.write(e,t,Ie,{transformers:[]}),ce&&o.write(e,t+It,Xe,{transformers:[]}),xe&&o.write(e+i-1,t+It,k,{transformers:[]}),He&&o.write(e,t+u-1,He,{transformers:[]})}},oO=pj});var hj,lO,uO=Y(()=>{"use strict";x();cC();hj=(e,t,r,o)=>{if(!r.style.backgroundColor)return;let i=r.yogaNode.getComputedWidth(),u=r.yogaNode.getComputedHeight(),f=r.style.borderStyle&&r.style.borderLeft!==!1?1:0,y=r.style.borderStyle&&r.style.borderRight!==!1?1:0,I=r.style.borderStyle&&r.style.borderTop!==!1?1:0,D=r.style.borderStyle&&r.style.borderBottom!==!1?1:0,R=i-f-y,z=u-I-D;if(!(R>0&&z>0))return;let V=Lc(" ".repeat(R),r.style.backgroundColor,"background");for(let $=0;$<z;$++)o.write(e+f,t+I+$,V,{transformers:[]})},lO=hj});var gj,AC,cO,jD,AO=Y(async()=>{"use strict";x();Lv();Mk();await Jf();lD();await $k();uD();sO();uO();gj=(e,t)=>{let r=e.childNodes[0]?.yogaNode;if(r){let o=r.getComputedLeft(),i=r.getComputedTop();t=`
254
- `.repeat(i)+MD(t,o)}return t},AC=(e,t={})=>{if(t.skipStaticElements&&e.internal_static||e.yogaNode?.getDisplay()===Mt.DISPLAY_NONE)return"";let r="";if(e.nodeName==="ink-text")r=eE(e);else if(e.nodeName==="ink-box"||e.nodeName==="ink-root"){let o=e.style.flexDirection==="row"||e.style.flexDirection==="row-reverse"?" ":`
255
- `;r=(e.style.flexDirection==="row-reverse"||e.style.flexDirection==="column-reverse"?[...e.childNodes].reverse():[...e.childNodes]).map(u=>AC(u,{parentRole:e.internal_accessibility?.role,skipStaticElements:t.skipStaticElements})).filter(Boolean).join(o)}if(e.internal_accessibility){let{role:o,state:i}=e.internal_accessibility;if(i){let f=Object.keys(i).filter(y=>i[y]).join(", ");f&&(r=`(${f}) ${r}`)}o&&o!==t.parentRole&&(r=`${o}: ${r}`)}return r},cO=(e,t,r)=>{let{offsetX:o=0,offsetY:i=0,transformers:u=[],skipStaticElements:f}=r;if(f&&e.internal_static)return;let{yogaNode:y}=e;if(y){if(y.getDisplay()===Mt.DISPLAY_NONE)return;let I=o+y.getComputedLeft(),D=i+y.getComputedTop(),R=u;if(typeof e.internal_transform=="function"&&(R=[e.internal_transform,...u]),e.nodeName==="ink-text"){let V=eE(e);if(V.length>0){let $=Vf(V),te=Lk(y);if($>te){let re=e.style.textWrap??"wrap";V=Gv(V,te,re)}V=gj(e,V),t.write(I,D,V,{transformers:R})}return}let z=!1;if(e.nodeName==="ink-box"){lO(I,D,e,t),oO(I,D,e,t);let V=e.style.overflowX==="hidden"||e.style.overflow==="hidden",$=e.style.overflowY==="hidden"||e.style.overflow==="hidden";if(V||$){let te=V?I+y.getComputedBorder(Mt.EDGE_LEFT):void 0,re=V?I+y.getComputedWidth()-y.getComputedBorder(Mt.EDGE_RIGHT):void 0,oe=$?D+y.getComputedBorder(Mt.EDGE_TOP):void 0,ce=$?D+y.getComputedHeight()-y.getComputedBorder(Mt.EDGE_BOTTOM):void 0;t.clip({x1:te,x2:re,y1:oe,y2:ce}),z=!0}}if(e.nodeName==="ink-root"||e.nodeName==="ink-box"){for(let V of e.childNodes)cO(V,t,{offsetX:I,offsetY:D,transformers:R,skipStaticElements:f});z&&t.unclip()}}},jD=cO});function hE(e){return Number.isInteger(e)?jm(e)||Jm(e):!1}var JD=Y(()=>{"use strict";x();PB()});function Cj(e){if(KD.has(e))return e;if(VD.has(e))return VD.get(e);e=e.slice(2),e.includes(";")&&(e=e[0]+"0");let t=nr.codes.get(Number.parseInt(e,10));return t?nr.color.ansi(t):nr.reset.open}function Ij(e){for(let t=0;t<e.length;t++){let r=e.codePointAt(t);if(r>=Ej&&r<=yj)return t}return-1}function _j(e,t){e=e.slice(t,t+vj);let r=Ij(e);if(r!==-1){let o=e.indexOf("m",r);return o===-1&&(o=e.length),e.slice(0,o+1)}}function Bj(e,t=Number.POSITIVE_INFINITY){let r=[],o=0,i=0;for(;o<e.length;){let u=e.codePointAt(o);if(mj.has(u)){let I=_j(e,o);if(I){r.push({type:"ansi",code:I,endCode:Cj(I)}),o+=I.length;continue}}let f=hE(u),y=String.fromCodePoint(u);if(r.push({type:"character",value:y,isFullWidth:f}),o+=y.length,i+=f?2:y.length,i>=t)break}return r}function dO(e){let t=[];for(let r of e)r.code===nr.reset.open?t=[]:KD.has(r.code)?t=t.filter(o=>o.endCode!==r.code):(t=t.filter(o=>o.endCode!==r.endCode),t.push(r));return t}function Dj(e){return dO(e).map(({endCode:o})=>o).reverse().join("")}function ZD(e,t,r){let o=Bj(e,r),i=[],u=0,f="",y=!1;for(let I of o){if(r!==void 0&&u>=r)break;I.type==="ansi"?(i.push(I),y&&(f+=I.code)):(!y&&u>=t&&(y=!0,i=dO(i),f=i.map(({code:D})=>D).join("")),y&&(f+=I.value),u+=I.isFullWidth?2:I.value.length)}return f+=Dj(i),f}var mj,Ej,yj,vj,KD,VD,fO=Y(()=>{"use strict";x();vh();JD();mj=new Set([27,155]),Ej="0".codePointAt(0),yj="9".codePointAt(0),vj=19,KD=new Set,VD=new Map;for(let[e,t]of nr.codes)KD.add(nr.color.ansi(t)),VD.set(nr.color.ansi(e),nr.color.ansi(t))});function WD(e){if(dC.has(e))return e;if(YD.has(e))return YD.get(e);if(e.startsWith(fC))return Sj;if(e=e.slice(2),e.startsWith("38"))return nr.color.close;if(e.startsWith("48"))return nr.bgColor.close;let t=nr.codes.get(parseInt(e,10));return t?nr.color.ansi(t):nr.reset.open}function gE(e){return[...new Set(e.map(r=>r.code))].join("")}function pC(e){return e.code===nr.bold.open||e.code===nr.dim.open}var pO,hO,gO,dC,YD,fC,qD,mO,FX,Sj,Nh=Y(()=>{"use strict";x();vh();pO=new Set([27,155]),hO="[".codePointAt(0),gO="]".codePointAt(0),dC=new Set,YD=new Map;for(let[e,t]of nr.codes)dC.add(nr.color.ansi(t)),YD.set(nr.color.ansi(e),nr.color.ansi(t));fC="\x1B]8;",qD=fC.split("").map(e=>e.charCodeAt(0)),mO="\x07",FX=mO.charCodeAt(0),Sj=`\x1B]8;;${mO}`});function XD(e){return hC([],e)}function hC(e,t){let r=[...e];for(let o of t)o.code===nr.reset.open?r=[]:dC.has(o.code)?r=r.filter(i=>i.endCode!==o.code):pC(o)?r.find(i=>i.code===o.code&&i.endCode===o.endCode)||r.push(o):(r=r.filter(i=>i.endCode!==o.endCode),r.push(o));return r}var gC=Y(()=>{"use strict";x();vh();Nh()});function eS(e){return XD(e).reverse().map(t=>({...t,code:t.endCode}))}var tS=Y(()=>{"use strict";x();gC()});function mC(e,t){let r=new Set(t.map(u=>u.endCode)),o=new Set(t.map(u=>u.code)),i=new Set(e.map(u=>u.code));return[...eS(e.filter(u=>pC(u)?!o.has(u.code):!r.has(u.endCode))),...t.filter(u=>!i.has(u.code))]}var nS=Y(()=>{"use strict";x();Nh();tS()});function EO(e){let t=[],r=[];for(let o of e)o.type==="ansi"?t=hC(t,[o]):o.type==="char"&&r.push({...o,styles:[...t]});return r}function yO(e){let t="";for(let r=0;r<e.length;r++){let o=e[r];r===0?t+=gE(o.styles):t+=gE(mC(e[r-1].styles,o.styles)),t+=o.value,r===e.length-1&&(t+=gE(mC(o.styles,[])))}return t}var vO=Y(()=>{"use strict";x();Nh();nS();gC()});function bj(e,t){e=e.slice(t);for(let i=1;i<qD.length;i++)if(e.charCodeAt(i)!==qD[i])return;let r=e.indexOf(";",fC.length);if(r===-1)return;let o=e.indexOf("\x07",r+1);if(o!==-1)return e.slice(0,o+1)}function Nj(e){for(let t=2;t<e.length;t++){let r=e.charCodeAt(t);if(r===Rj)return t;if(r!==wj&&!(r>=xj&&r<=Qj))break}return-1}function Tj(e,t){e=e.slice(t);let r=Nj(e);if(r!==-1)return e.slice(0,r+1)}function Uj(e){if(!e.includes(";"))return[e];let t=e.slice(2,-1).split(";"),r=[];for(let o=0;o<t.length;o++){let i=t[o];if(i==="38"||i==="48"){if(o+2<t.length&&t[o+1]==="5"){r.push(t.slice(o,o+3).join(";")),o+=2;continue}else if(o+4<t.length&&t[o+1]==="2"){r.push(t.slice(o,o+5).join(";")),o+=4;continue}}r.push(i)}return r.map(o=>`\x1B[${o}m`)}function CO(e,t=Number.POSITIVE_INFINITY){let r=[],o=0,i=0;for(;o<e.length;){let u=e.codePointAt(o);if(pO.has(u)){let I,D=e.codePointAt(o+1);if(D===gO)I=bj(e,o),I&&r.push({type:"ansi",code:I,endCode:WD(I)});else if(D===hO&&(I=Tj(e,o),I)){let R=Uj(I);for(let z of R)r.push({type:"ansi",code:z,endCode:WD(z)})}if(I){o+=I.length;continue}}let f=hE(u),y=String.fromCodePoint(u);if(r.push({type:"char",value:y,fullWidth:f}),o+=y.length,i+=f?2:y.length,i>=t)break}return r}var xj,Qj,wj,Rj,IO=Y(()=>{"use strict";x();JD();Nh();xj=48,Qj=57,wj=59,Rj=109});var _O=Y(()=>{"use strict";x();Nh();nS();gC();vO();IO();tS()});var Th,BO=Y(()=>{"use strict";x();fO();Vm();Lv();_O();Th=class{width;height;operations=[];constructor(t){let{width:r,height:o}=t;this.width=r,this.height=o}write(t,r,o,i){let{transformers:u}=i;o&&this.operations.push({type:"write",x:t,y:r,text:o,transformers:u})}clip(t){this.operations.push({type:"clip",clip:t})}unclip(){this.operations.push({type:"unclip"})}get(){let t=[];for(let i=0;i<this.height;i++){let u=[];for(let f=0;f<this.width;f++)u.push({type:"char",value:" ",fullWidth:!1,styles:[]});t.push(u)}let r=[];for(let i of this.operations)if(i.type==="clip"&&r.push(i.clip),i.type==="unclip"&&r.pop(),i.type==="write"){let{text:u,transformers:f}=i,{x:y,y:I}=i,D=u.split(`
256
- `),R=r.at(-1);if(R){let V=typeof R?.x1=="number"&&typeof R?.x2=="number",$=typeof R?.y1=="number"&&typeof R?.y2=="number";if(V){let te=Vf(u);if(y+te<R.x1||y>R.x2)continue}if($){let te=D.length;if(I+te<R.y1||I>R.y2)continue}if(V&&(D=D.map(te=>{let re=y<R.x1?R.x1-y:0,oe=ko(te),ce=y+oe>R.x2?R.x2-y:oe;return ZD(te,re,ce)}),y<R.x1&&(y=R.x1)),$){let te=I<R.y1?R.y1-I:0,re=D.length,oe=I+re>R.y2?R.y2-I:re;D=D.slice(te,oe),I<R.y1&&(I=R.y1)}}let z=0;for(let[V,$]of D.entries()){let te=t[I+z];if(!te)continue;for(let ce of f)$=ce($,V);let re=EO(CO($)),oe=y;for(let ce of re){te[oe]=ce;let xe=Math.max(1,ko(ce.value));if(xe>1)for(let Me=1;Me<xe;Me++)te[oe+Me]={type:"char",value:"",fullWidth:!1,styles:ce.styles};oe+=xe}z++}}return{output:t.map(i=>{let u=i.filter(f=>f!==void 0);return yO(u).trimEnd()}).join(`
257
- `),height:t.length}}}});var kj,DO,SO=Y(async()=>{"use strict";x();await AO();BO();kj=(e,t)=>{if(e.yogaNode){if(t){let f=AC(e,{skipStaticElements:!0}),y=f===""?0:f.split(`
258
- `).length,I="";return e.staticNode&&(I=AC(e.staticNode,{skipStaticElements:!1})),{output:f,outputHeight:y,staticOutput:I?`${I}
259
- `:""}}let r=new Th({width:e.yogaNode.getComputedWidth(),height:e.yogaNode.getComputedHeight()});jD(e,r,{skipStaticElements:!0});let o;e.staticNode?.yogaNode&&(o=new Th({width:e.staticNode.yogaNode.getComputedWidth(),height:e.staticNode.yogaNode.getComputedHeight()}),jD(e.staticNode,o,{skipStaticElements:!1}));let{output:i,height:u}=r.get();return{output:i,outputHeight:u,staticOutput:o?`${o.get().output}
260
- `:""}}return{output:"",outputHeight:0,staticOutput:""}},DO=kj});var xO=On((Bee,iS)=>{"use strict";x();var bO=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};iS.exports=bO;iS.exports.default=bO});var wO=On((See,yC)=>{"use strict";x();var Oj=xO(),EC=new WeakMap,QO=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,o=0,i=e.displayName||e.name||"<anonymous>",u=function(...f){if(EC.set(u,++o),o===1)r=e.apply(this,f),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return Oj(u,e),EC.set(u,o),u};yC.exports=QO;yC.exports.default=QO;yC.exports.callCount=e=>{if(!EC.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return EC.get(e)}});import Fj from"process";var RO,NO,zj,TO,UO=Y(()=>{"use strict";x();RO=vt(wO(),1),NO=vt(wB(),1),zj=(0,RO.default)(()=>{(0,NO.default)(()=>{Fj.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),TO=zj});import kO from"process";var vC,Uh,kh,rS=Y(()=>{"use strict";x();UO();vC=!1,Uh={};Uh.show=(e=kO.stderr)=>{e.isTTY&&(vC=!1,e.write("\x1B[?25h"))};Uh.hide=(e=kO.stderr)=>{e.isTTY&&(TO(),vC=!0,e.write("\x1B[?25l"))};Uh.toggle=(e,t)=>{e!==void 0&&(vC=e),vC?Uh.show(t):Uh.hide(t)};kh=Uh});var Mj,Lj,OO,FO=Y(()=>{"use strict";x();DB();rS();Mj=(e,{showCursor:t=!1}={})=>{let r=0,o="",i=!1,u=f=>{!t&&!i&&(kh.hide(),i=!0);let y=f+`
261
- `;y!==o&&(o=y,e.write(NA.eraseLines(r)+y),r=y.split(`
262
- `).length)};return u.clear=()=>{e.write(NA.eraseLines(r)),o="",r=0},u.done=()=>{o="",r=0,t||(kh.show(),i=!1)},u.sync=f=>{let y=f+`
263
- `;o=y,r=y.split(`
264
- `).length},u},Lj={create:Mj},OO=Lj});var $j,Oh,aS=Y(()=>{"use strict";x();$j=new WeakMap,Oh=$j});var zO,MO,oS,sS=Y(()=>{"use strict";x();zO=vt(yi(),1),MO=(0,zO.createContext)({exit(){}});MO.displayName="InternalAppContext";oS=MO});import{EventEmitter as Hj}from"events";import Gj from"process";var LO,$O,CC,lS=Y(()=>{"use strict";x();LO=vt(yi(),1),$O=(0,LO.createContext)({stdin:Gj.stdin,internal_eventEmitter:new Hj,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0});$O.displayName="InternalStdinContext";CC=$O});import Pj from"process";var HO,GO,uS,cS=Y(()=>{"use strict";x();HO=vt(yi(),1),GO=(0,HO.createContext)({stdout:Pj.stdout,write(){}});GO.displayName="InternalStdoutContext";uS=GO});import jj from"process";var PO,jO,AS,dS=Y(()=>{"use strict";x();PO=vt(yi(),1),jO=(0,PO.createContext)({stderr:jj.stderr,write(){}});jO.displayName="InternalStderrContext";AS=jO});var JO,VO,IC,_C=Y(()=>{"use strict";x();JO=vt(yi(),1),VO=(0,JO.createContext)({activeId:void 0,add(){},remove(){},activate(){},deactivate(){},enableFocus(){},disableFocus(){},focusNext(){},focusPrevious(){},focus(){}});VO.displayName="InternalFocusContext";IC=VO});var ZO=On((tte,KO)=>{"use strict";x();var Jj=/[|\\{}()[\]^$+*?.-]/g;KO.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Jj,"\\$&")}});var XO=On((ite,WO)=>{"use strict";x();var Vj=ZO(),Kj=typeof process=="object"&&process&&typeof process.cwd=="function"?process.cwd():".",qO=[].concat(Ai("module").builtinModules,"bootstrap_node","node").map(e=>new RegExp(`(?:\\((?:node:)?${e}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${e}(?:\\.js)?:\\d+:\\d+$)`));qO.push(/\((?:node:)?internal\/[^:]+:\d+:\d+\)$/,/\s*at (?:node:)?internal\/[^:]+:\d+:\d+$/,/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/);var fS=class e{constructor(t){t={ignoredPackages:[],...t},"internals"in t||(t.internals=e.nodeInternals()),"cwd"in t||(t.cwd=Kj),this._cwd=t.cwd.replace(/\\/g,"/"),this._internals=[].concat(t.internals,Zj(t.ignoredPackages)),this._wrapCallSite=t.wrapCallSite||!1}static nodeInternals(){return[...qO]}clean(t,r=0){r=" ".repeat(r),Array.isArray(t)||(t=t.split(`
265
- `)),!/^\s*at /.test(t[0])&&/^\s*at /.test(t[1])&&(t=t.slice(1));let o=!1,i=null,u=[];return t.forEach(f=>{if(f=f.replace(/\\/g,"/"),this._internals.some(I=>I.test(f)))return;let y=/^\s*at /.test(f);o?f=f.trimEnd().replace(/^(\s+)at /,"$1"):(f=f.trim(),y&&(f=f.slice(3))),f=f.replace(`${this._cwd}/`,""),f&&(y?(i&&(u.push(i),i=null),u.push(f)):(o=!0,i=f))}),u.map(f=>`${r}${f}
266
- `).join("")}captureString(t,r=this.captureString){typeof t=="function"&&(r=t,t=1/0);let{stackTraceLimit:o}=Error;t&&(Error.stackTraceLimit=t);let i={};Error.captureStackTrace(i,r);let{stack:u}=i;return Error.stackTraceLimit=o,this.clean(u)}capture(t,r=this.capture){typeof t=="function"&&(r=t,t=1/0);let{prepareStackTrace:o,stackTraceLimit:i}=Error;Error.prepareStackTrace=(y,I)=>this._wrapCallSite?I.map(this._wrapCallSite):I,t&&(Error.stackTraceLimit=t);let u={};Error.captureStackTrace(u,r);let{stack:f}=u;return Object.assign(Error,{prepareStackTrace:o,stackTraceLimit:i}),f}at(t=this.at){let[r]=this.capture(1,t);if(!r)return{};let o={line:r.getLineNumber(),column:r.getColumnNumber()};YO(o,r.getFileName(),this._cwd),r.isConstructor()&&Object.defineProperty(o,"constructor",{value:!0,configurable:!0}),r.isEval()&&(o.evalOrigin=r.getEvalOrigin()),r.isNative()&&(o.native=!0);let i;try{i=r.getTypeName()}catch{}i&&i!=="Object"&&i!=="[object Object]"&&(o.type=i);let u=r.getFunctionName();u&&(o.function=u);let f=r.getMethodName();return f&&u!==f&&(o.method=f),o}parseLine(t){let r=t&&t.match(Yj);if(!r)return null;let o=r[1]==="new",i=r[2],u=r[3],f=r[4],y=Number(r[5]),I=Number(r[6]),D=r[7],R=r[8],z=r[9],V=r[10]==="native",$=r[11]===")",te,re={};if(R&&(re.line=Number(R)),z&&(re.column=Number(z)),$&&D){let oe=0;for(let ce=D.length-1;ce>0;ce--)if(D.charAt(ce)===")")oe++;else if(D.charAt(ce)==="("&&D.charAt(ce-1)===" "&&(oe--,oe===-1&&D.charAt(ce-1)===" ")){let xe=D.slice(0,ce-1);D=D.slice(ce+1),i+=` (${xe}`;break}}if(i){let oe=i.match(qj);oe&&(i=oe[1],te=oe[2])}return YO(re,D,this._cwd),o&&Object.defineProperty(re,"constructor",{value:!0,configurable:!0}),u&&(re.evalOrigin=u,re.evalLine=y,re.evalColumn=I,re.evalFile=f&&f.replace(/\\/g,"/")),V&&(re.native=!0),i&&(re.function=i),te&&i!==te&&(re.method=te),re}};function YO(e,t,r){t&&(t=t.replace(/\\/g,"/"),t.startsWith(`${r}/`)&&(t=t.slice(r.length+1)),e.file=t)}function Zj(e){if(e.length===0)return[];let t=e.map(r=>Vj(r));return new RegExp(`[/\\\\]node_modules[/\\\\](?:${t.join("|")})[/\\\\][^:]+:\\d+:\\d+`)}var Yj=new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$"),qj=/^(.*?) \[as (.*?)\]$/;WO.exports=fS});var Wj,eF,tF=Y(()=>{"use strict";x();Wj=(e,t=2)=>e.replace(/^\t+/gm,r=>" ".repeat(r.length*t)),eF=Wj});var Xj,e5,nF,iF=Y(()=>{"use strict";x();tF();Xj=(e,t)=>{let r=[],o=e-t,i=e+t;for(let u=o;u<=i;u++)r.push(u);return r},e5=(e,t,r={})=>{var o;if(typeof e!="string")throw new TypeError("Source code is missing.");if(!t||t<1)throw new TypeError("Line number must start from `1`.");let i=eF(e).split(/\r?\n/);if(!(t>i.length))return Xj(t,(o=r.around)!==null&&o!==void 0?o:3).filter(u=>i[u-1]!==void 0).map(u=>({line:u,value:i[u-1]}))},nF=e5});var rF,kd,Fh=Y(()=>{"use strict";x();rF=vt(yi(),1),kd=(0,rF.createContext)({isScreenReaderEnabled:!1})});var aF,BC,pS=Y(()=>{"use strict";x();aF=vt(yi(),1),BC=(0,aF.createContext)(void 0)});var Od,oF,Pi,DC=Y(()=>{"use strict";x();Od=vt(yi(),1);Fh();pS();oF=(0,Od.forwardRef)(({children:e,backgroundColor:t,"aria-label":r,"aria-hidden":o,"aria-role":i,"aria-state":u,...f},y)=>{let{isScreenReaderEnabled:I}=(0,Od.useContext)(kd),D=r?Od.default.createElement("ink-text",null,r):void 0;if(I&&o)return null;let R=Od.default.createElement("ink-box",{ref:y,style:{flexWrap:"nowrap",flexDirection:"row",flexGrow:0,flexShrink:1,...f,backgroundColor:t,overflowX:f.overflowX??f.overflow??"visible",overflowY:f.overflowY??f.overflow??"visible"},internal_accessibility:{role:i,state:u}},I&&D?D:e);return t?Od.default.createElement(BC.Provider,{value:t},R):R});oF.displayName="Box";Pi=oF});function ni({color:e,backgroundColor:t,dimColor:r=!1,bold:o=!1,italic:i=!1,underline:u=!1,strikethrough:f=!1,inverse:y=!1,wrap:I="wrap",children:D,"aria-label":R,"aria-hidden":z=!1}){let{isScreenReaderEnabled:V}=(0,mE.useContext)(kd),$=(0,mE.useContext)(BC),te=V&&R?R:D;if(te==null)return null;let re=oe=>{r&&(oe=Gi.dim(oe)),e&&(oe=Lc(oe,e,"foreground"));let ce=t??$;return ce&&(oe=Lc(oe,ce,"background")),o&&(oe=Gi.bold(oe)),i&&(oe=Gi.italic(oe)),u&&(oe=Gi.underline(oe)),f&&(oe=Gi.strikethrough(oe)),y&&(oe=Gi.inverse(oe)),oe};return V&&z?null:mE.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:I},internal_transform:re},V&&R?R:D)}var mE,hS=Y(()=>{"use strict";x();mE=vt(yi(),1);pE();cC();Fh();pS()});import*as SC from"fs";import{cwd as lF}from"process";function ES({error:e}){let t=e.stack?e.stack.split(`
267
- `).slice(1):void 0,r=t?sF.parseLine(t[0]):void 0,o=gS(r?.file),i,u=0;if(o&&r?.line&&SC.existsSync(o)){let f=SC.readFileSync(o,"utf8");if(i=nF(f,r.line),i)for(let{line:y}of i)u=Math.max(u,String(y).length)}return La.default.createElement(Pi,{flexDirection:"column",padding:1},La.default.createElement(Pi,null,La.default.createElement(ni,{backgroundColor:"red",color:"white"}," ","ERROR"," "),La.default.createElement(ni,null," ",e.message)),r&&o&&La.default.createElement(Pi,{marginTop:1},La.default.createElement(ni,{dimColor:!0},o,":",r.line,":",r.column)),r&&i&&La.default.createElement(Pi,{marginTop:1,flexDirection:"column"},i.map(({line:f,value:y})=>La.default.createElement(Pi,{key:f},La.default.createElement(Pi,{width:u+1},La.default.createElement(ni,{dimColor:f!==r.line,backgroundColor:f===r.line?"red":void 0,color:f===r.line?"white":void 0,"aria-label":f===r.line?`Line ${f}, error`:`Line ${f}`},String(f).padStart(u," "),":")),La.default.createElement(ni,{key:f,backgroundColor:f===r.line?"red":void 0,color:f===r.line?"white":void 0}," "+y)))),e.stack&&La.default.createElement(Pi,{marginTop:1,flexDirection:"column"},e.stack.split(`
268
- `).slice(1).map(f=>{let y=sF.parseLine(f);return y?La.default.createElement(Pi,{key:f},La.default.createElement(ni,{dimColor:!0},"- "),La.default.createElement(ni,{dimColor:!0,bold:!0},y.function),La.default.createElement(ni,{dimColor:!0,color:"gray","aria-label":`at ${gS(y.file)??""} line ${y.line} column ${y.column}`}," ","(",gS(y.file)??"",":",y.line,":",y.column,")")):La.default.createElement(Pi,{key:f},La.default.createElement(ni,{dimColor:!0},"- "),La.default.createElement(ni,{dimColor:!0,bold:!0},f,"\\t"," "))})))}var La,mS,gS,sF,uF=Y(()=>{"use strict";x();La=vt(yi(),1),mS=vt(XO(),1);iF();DC();hS();gS=e=>e?.replace(`file://${lF()}/`,""),sF=new mS.default({cwd:lF(),internals:mS.default.nodeInternals()})});import{EventEmitter as t5}from"events";import n5 from"process";var $A,i5,r5,a5,EE,cF=Y(()=>{"use strict";x();$A=vt(yi(),1);rS();sS();lS();cS();dS();_C();uF();i5=" ",r5="\x1B[Z",a5="\x1B",EE=class extends $A.PureComponent{static displayName="InternalApp";static getDerivedStateFromError(t){return{error:t}}state={isFocusEnabled:!0,activeFocusId:void 0,focusables:[],error:void 0};rawModeEnabledCount=0;internal_eventEmitter=new t5;isRawModeSupported(){return this.props.stdin.isTTY}render(){return $A.default.createElement(oS.Provider,{value:{exit:this.handleExit}},$A.default.createElement(CC.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported(),internal_exitOnCtrlC:this.props.exitOnCtrlC,internal_eventEmitter:this.internal_eventEmitter}},$A.default.createElement(uS.Provider,{value:{stdout:this.props.stdout,write:this.props.writeToStdout}},$A.default.createElement(AS.Provider,{value:{stderr:this.props.stderr,write:this.props.writeToStderr}},$A.default.createElement(IC.Provider,{value:{activeId:this.state.activeFocusId,add:this.addFocusable,remove:this.removeFocusable,activate:this.activateFocusable,deactivate:this.deactivateFocusable,enableFocus:this.enableFocus,disableFocus:this.disableFocus,focusNext:this.focusNext,focusPrevious:this.focusPrevious,focus:this.focus}},this.state.error?$A.default.createElement(ES,{error:this.state.error}):this.props.children)))))}componentDidMount(){kh.hide(this.props.stdout)}componentWillUnmount(){kh.show(this.props.stdout),this.isRawModeSupported()&&this.handleSetRawMode(!1)}componentDidCatch(t){this.handleExit(t)}handleSetRawMode=t=>{let{stdin:r}=this.props;if(!this.isRawModeSupported())throw r===n5.stdin?new Error(`Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
269
- Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`):new Error(`Raw mode is not supported on the stdin provided to Ink.
270
- Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);if(r.setEncoding("utf8"),t){this.rawModeEnabledCount===0&&(r.ref(),r.setRawMode(!0),r.addListener("readable",this.handleReadable)),this.rawModeEnabledCount++;return}--this.rawModeEnabledCount===0&&(r.setRawMode(!1),r.removeListener("readable",this.handleReadable),r.unref())};handleReadable=()=>{let t;for(;(t=this.props.stdin.read())!==null;)this.handleInput(t),this.internal_eventEmitter.emit("input",t)};handleInput=t=>{t===""&&this.props.exitOnCtrlC&&this.handleExit(),t===a5&&this.state.activeFocusId&&this.setState({activeFocusId:void 0}),this.state.isFocusEnabled&&this.state.focusables.length>0&&(t===i5&&this.focusNext(),t===r5&&this.focusPrevious())};handleExit=t=>{this.isRawModeSupported()&&this.handleSetRawMode(!1),this.props.onExit(t)};enableFocus=()=>{this.setState({isFocusEnabled:!0})};disableFocus=()=>{this.setState({isFocusEnabled:!1})};focus=t=>{this.setState(r=>r.focusables.some(i=>i?.id===t)?{activeFocusId:t}:r)};focusNext=()=>{this.setState(t=>{let r=t.focusables.find(i=>i.isActive)?.id;return{activeFocusId:this.findNextFocusable(t)??r}})};focusPrevious=()=>{this.setState(t=>{let r=t.focusables.findLast(i=>i.isActive)?.id;return{activeFocusId:this.findPreviousFocusable(t)??r}})};addFocusable=(t,{autoFocus:r})=>{this.setState(o=>{let i=o.activeFocusId;return!i&&r&&(i=t),{activeFocusId:i,focusables:[...o.focusables,{id:t,isActive:!0}]}})};removeFocusable=t=>{this.setState(r=>({activeFocusId:r.activeFocusId===t?void 0:r.activeFocusId,focusables:r.focusables.filter(o=>o.id!==t)}))};activateFocusable=t=>{this.setState(r=>({focusables:r.focusables.map(o=>o.id!==t?o:{id:t,isActive:!0})}))};deactivateFocusable=t=>{this.setState(r=>({activeFocusId:r.activeFocusId===t?void 0:r.activeFocusId,focusables:r.focusables.map(o=>o.id!==t?o:{id:t,isActive:!1})}))};findNextFocusable=t=>{let r=t.focusables.findIndex(o=>o.id===t.activeFocusId);for(let o=r+1;o<t.focusables.length;o++){let i=t.focusables[o];if(i?.isActive)return i.id}};findPreviousFocusable=t=>{let r=t.focusables.findIndex(o=>o.id===t.activeFocusId);for(let o=r-1;o>=0;o--){let i=t.focusables[o];if(i?.isActive)return i.id}}}});import AF from"process";var yS,fF,pF,dF,yE,hF=Y(async()=>{"use strict";x();yS=vt(yi(),1);cT();DB();CT();IT();fF=vt(wB(),1);RT();pF=vt(TB(),1);await Jf();VB();await zD();await SO();await fD();FO();aS();cF();Fh();dF=()=>{},yE=class{options;log;throttledLog;isScreenReaderEnabled;isUnmounted;lastOutput;lastOutputHeight;container;rootNode;fullStaticOutput;exitPromise;restoreConsole;unsubscribeResize;constructor(t){bB(this),this.options=t,this.rootNode=Pv("ink-root"),this.rootNode.onComputeLayout=this.calculateLayout,this.isScreenReaderEnabled=t.isScreenReaderEnabled??AF.env.INK_SCREEN_READER==="true";let r=t.debug||this.isScreenReaderEnabled,o=t.maxFps??30,i=o>0?Math.max(1,Math.ceil(1e3/o)):0;this.rootNode.onRender=r?this.onRender:bv(this.onRender,i,{leading:!0,trailing:!0}),this.rootNode.onImmediateRender=this.onRender,this.log=OO.create(t.stdout),this.throttledLog=r?this.log:bv(this.log,void 0,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.lastOutputHeight=0,this.fullStaticOutput="",this.container=LA.createContainer(this.rootNode,pF.LegacyRoot,null,!1,null,"id",()=>{},()=>{},()=>{},()=>{},null),this.unsubscribeExit=(0,fF.default)(this.unmount,{alwaysLast:!1}),AF.env.DEV==="true"&&LA.injectIntoDevTools({bundleType:0,version:"16.13.1",rendererPackageName:"ink"}),t.patchConsole&&this.patchConsole(),Gf||(t.stdout.on("resize",this.resized),this.unsubscribeResize=()=>{t.stdout.off("resize",this.resized)})}resized=()=>{this.calculateLayout(),this.onRender()};resolveExitPromise=()=>{};rejectExitPromise=()=>{};unsubscribeExit=()=>{};calculateLayout=()=>{let t=this.options.stdout.columns||80;this.rootNode.yogaNode.setWidth(t),this.rootNode.yogaNode.calculateLayout(void 0,void 0,Mt.DIRECTION_LTR)};onRender=()=>{if(this.isUnmounted)return;let t=performance.now(),{output:r,outputHeight:o,staticOutput:i}=DO(this.rootNode,this.isScreenReaderEnabled);this.options.onRender?.({renderTime:performance.now()-t});let u=i&&i!==`
271
- `;if(this.options.debug){u&&(this.fullStaticOutput+=i),this.options.stdout.write(this.fullStaticOutput+r);return}if(Gf){u&&this.options.stdout.write(i),this.lastOutput=r,this.lastOutputHeight=o;return}if(this.isScreenReaderEnabled){if(u){let I=this.lastOutputHeight>0?NA.eraseLines(this.lastOutputHeight):"";this.options.stdout.write(I+i),this.lastOutputHeight=0}if(r===this.lastOutput&&!u)return;let f=this.options.stdout.columns||80,y=Km(r,f,{trim:!1,hard:!0});if(u)this.options.stdout.write(y);else{let I=this.lastOutputHeight>0?NA.eraseLines(this.lastOutputHeight):"";this.options.stdout.write(I+y)}this.lastOutput=r,this.lastOutputHeight=y===""?0:y.split(`
272
- `).length;return}if(u&&(this.fullStaticOutput+=i),this.lastOutputHeight>=this.options.stdout.rows){this.options.stdout.write(NA.clearTerminal+this.fullStaticOutput+r),this.lastOutput=r,this.lastOutputHeight=o,this.log.sync(r);return}u&&(this.log.clear(),this.options.stdout.write(i),this.log(r)),!u&&r!==this.lastOutput&&this.throttledLog(r),this.lastOutput=r,this.lastOutputHeight=o};render(t){let r=yS.default.createElement(kd.Provider,{value:{isScreenReaderEnabled:this.isScreenReaderEnabled}},yS.default.createElement(EE,{stdin:this.options.stdin,stdout:this.options.stdout,stderr:this.options.stderr,writeToStdout:this.writeToStdout,writeToStderr:this.writeToStderr,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount},t));LA.updateContainerSync(r,this.container,null,dF),LA.flushSyncWork()}writeToStdout(t){if(!this.isUnmounted){if(this.options.debug){this.options.stdout.write(t+this.fullStaticOutput+this.lastOutput);return}if(Gf){this.options.stdout.write(t);return}this.log.clear(),this.options.stdout.write(t),this.log(this.lastOutput)}}writeToStderr(t){if(!this.isUnmounted){if(this.options.debug){this.options.stderr.write(t),this.options.stdout.write(this.fullStaticOutput+this.lastOutput);return}if(Gf){this.options.stderr.write(t);return}this.log.clear(),this.options.stderr.write(t),this.log(this.lastOutput)}}unmount(t){this.isUnmounted||(this.calculateLayout(),this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole=="function"&&this.restoreConsole(),typeof this.unsubscribeResize=="function"&&this.unsubscribeResize(),Gf?this.options.stdout.write(this.lastOutput+`
273
- `):this.options.debug||this.log.done(),this.isUnmounted=!0,LA.updateContainerSync(null,this.container,null,dF),LA.flushSyncWork(),Oh.delete(this.options.stdout),t instanceof Error?this.rejectExitPromise(t):this.resolveExitPromise())}async waitUntilExit(){return this.exitPromise||=new Promise((t,r)=>{this.resolveExitPromise=t,this.rejectExitPromise=r}),this.exitPromise}clear(){!Gf&&!this.options.debug&&this.log.clear()}patchConsole(){this.options.debug||(this.restoreConsole=wT((t,r)=>{t==="stdout"&&this.writeToStdout(r),t==="stderr"&&(r.startsWith("The above error occurred")||this.writeToStderr(r))}))}}});import{Stream as o5}from"stream";import bC from"process";var s5,qt,l5,u5,gF=Y(async()=>{"use strict";x();await hF();aS();s5=(e,t)=>{let r={stdout:bC.stdout,stdin:bC.stdin,stderr:bC.stderr,debug:!1,exitOnCtrlC:!0,patchConsole:!0,maxFps:30,...l5(t)},o=u5(r.stdout,()=>new yE(r));return o.render(e),{rerender:o.render,unmount(){o.unmount()},waitUntilExit:o.waitUntilExit,cleanup:()=>Oh.delete(r.stdout),clear:o.clear}},qt=s5,l5=(e={})=>e instanceof o5?{stdout:e,stdin:bC.stdin}:e,u5=(e,t)=>{let r=Oh.get(e);return r||(r=t(),Oh.set(e,r)),r}});var xC,mF=Y(()=>{"use strict";x();xC=vt(yi(),1)});var EF,yF=Y(()=>{"use strict";x();EF=vt(yi(),1);Fh()});var c5,vF=Y(()=>{"use strict";x();c5=vt(yi(),1)});var A5,CF=Y(()=>{"use strict";x();A5=vt(yi(),1);DC()});import{Buffer as d5}from"buffer";var f5,p5,IF,_F,h5,g5,m5,BF,DF=Y(()=>{"use strict";x();f5=/^(?:\x1b)([a-zA-Z0-9])$/,p5=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,IF={OP:"f1",OQ:"f2",OR:"f3",OS:"f4","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"},_F=[...Object.values(IF),"backspace"],h5=e=>["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(e),g5=e=>["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(e),m5=(e="")=>{let t;d5.isBuffer(e)?e[0]>127&&e[1]===void 0?(e[0]-=128,e="\x1B"+String(e)):e=String(e):e!==void 0&&typeof e!="string"?e=String(e):e||(e="");let r={name:"",ctrl:!1,meta:!1,shift:!1,option:!1,sequence:e,raw:e};if(r.sequence=r.sequence||e||r.name,e==="\r")r.raw=void 0,r.name="return";else if(e===`
274
- `)r.name="enter";else if(e===" ")r.name="tab";else if(e==="\b"||e==="\x1B\b")r.name="backspace",r.meta=e.charAt(0)==="\x1B";else if(e==="\x7F"||e==="\x1B\x7F")r.name="delete",r.meta=e.charAt(0)==="\x1B";else if(e==="\x1B"||e==="\x1B\x1B")r.name="escape",r.meta=e.length===2;else if(e===" "||e==="\x1B ")r.name="space",r.meta=e.length===2;else if(e.length===1&&e<="")r.name=String.fromCharCode(e.charCodeAt(0)+97-1),r.ctrl=!0;else if(e.length===1&&e>="0"&&e<="9")r.name="number";else if(e.length===1&&e>="a"&&e<="z")r.name=e;else if(e.length===1&&e>="A"&&e<="Z")r.name=e.toLowerCase(),r.shift=!0;else if(t=f5.exec(e))r.meta=!0,r.shift=/^[A-Z]$/.test(t[1]);else if(t=p5.exec(e)){let o=[...e];o[0]==="\x1B"&&o[1]==="\x1B"&&(r.option=!0);let i=[t[1],t[2],t[4],t[6]].filter(Boolean).join(""),u=(t[3]||t[5]||1)-1;r.ctrl=!!(u&4),r.meta=!!(u&10),r.shift=!!(u&1),r.code=i,r.name=IF[i],r.shift=h5(i)||r.shift,r.ctrl=g5(i)||r.ctrl}return r},BF=m5});var SF,E5,QC,wC=Y(()=>{"use strict";x();SF=vt(yi(),1);lS();E5=()=>(0,SF.useContext)(CC),QC=E5});var vS,y5,CS,bF=Y(async()=>{"use strict";x();vS=vt(yi(),1);DF();await zD();wC();y5=(e,t={})=>{let{stdin:r,setRawMode:o,internal_exitOnCtrlC:i,internal_eventEmitter:u}=QC();(0,vS.useEffect)(()=>{if(t.isActive!==!1)return o(!0),()=>{o(!1)}},[t.isActive,o]),(0,vS.useEffect)(()=>{if(t.isActive===!1)return;let f=y=>{let I=BF(y),D={upArrow:I.name==="up",downArrow:I.name==="down",leftArrow:I.name==="left",rightArrow:I.name==="right",pageDown:I.name==="pagedown",pageUp:I.name==="pageup",return:I.name==="return",escape:I.name==="escape",ctrl:I.ctrl,shift:I.shift,tab:I.name==="tab",backspace:I.name==="backspace",delete:I.name==="delete",meta:I.meta||I.name==="escape"||I.option},R=I.ctrl?I.name:I.sequence;_F.includes(I.name)&&(R=""),R.startsWith("\x1B")&&(R=R.slice(1)),R.length===1&&typeof R[0]=="string"&&/[A-Z]/.test(R[0])&&(D.shift=!0),(!(R==="c"&&D.ctrl)||!i)&&LA.batchedUpdates(()=>{e(R,D)})};return u?.on("input",f),()=>{u?.removeListener("input",f)}},[t.isActive,r,i,e])},CS=y5});var v5,xF=Y(()=>{"use strict";x();v5=vt(yi(),1);sS()});var C5,QF=Y(()=>{"use strict";x();C5=vt(yi(),1);cS()});var I5,wF=Y(()=>{"use strict";x();I5=vt(yi(),1);dS()});var IS,RF=Y(()=>{"use strict";x();IS=vt(yi(),1);_C();wC()});var _5,NF=Y(()=>{"use strict";x();_5=vt(yi(),1);_C()});var B5,TF=Y(()=>{"use strict";x();B5=vt(yi(),1);Fh()});var UF=Y(()=>{"use strict";x()});var ya=Y(async()=>{"use strict";x();await gF();DC();hS();mF();yF();vF();CF();await bF();xF();wC();QF();wF();RF();NF();TF();UF()});function he(e,t,r){function o(y,I){if(y._zod||Object.defineProperty(y,"_zod",{value:{def:I,constr:f,traits:new Set},enumerable:!1}),y._zod.traits.has(e))return;y._zod.traits.add(e),t(y,I);let D=f.prototype,R=Object.keys(D);for(let z=0;z<R.length;z++){let V=R[z];V in y||(y[V]=D[V].bind(y))}}let i=r?.Parent??Object;class u extends i{}Object.defineProperty(u,"name",{value:e});function f(y){var I;let D=r?.Parent?new u:this;o(D,y),(I=D._zod).deferred??(I.deferred=[]);for(let R of D._zod.deferred)R();return D}return Object.defineProperty(f,"init",{value:o}),Object.defineProperty(f,Symbol.hasInstance,{value:y=>r?.Parent&&y instanceof r.Parent?!0:y?._zod?.traits?.has(e)}),Object.defineProperty(f,"name",{value:e}),f}function oa(e){return e&&Object.assign(vE,e),vE}var _S,RC,tc,Fd,vE,zh=Y(()=>{"use strict";x();_S=Object.freeze({status:"aborted"});RC=Symbol("zod_brand"),tc=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Fd=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},vE={}});var st={};Ea(st,{BIGINT_FORMAT_RANGES:()=>TS,Class:()=>DS,NUMBER_FORMAT_RANGES:()=>NS,aborted:()=>$d,allowsEval:()=>xS,assert:()=>Q5,assertEqual:()=>D5,assertIs:()=>b5,assertNever:()=>x5,assertNotEqual:()=>S5,assignProp:()=>Md,base64ToUint8Array:()=>OF,base64urlToUint8Array:()=>J5,cached:()=>Lh,captureStackTrace:()=>TC,cleanEnum:()=>j5,cleanRegex:()=>_E,clone:()=>Ds,cloneDef:()=>R5,createTransparentProxy:()=>F5,defineLazy:()=>Ln,esc:()=>NC,escapeRegex:()=>Su,extend:()=>L5,finalizeIssue:()=>nl,floatSafeRemainder:()=>SS,getElementAtPath:()=>N5,getEnumValues:()=>IE,getLengthableOrigin:()=>SE,getParsedType:()=>O5,getSizableOrigin:()=>DE,hexToUint8Array:()=>K5,isObject:()=>Xf,isPlainObject:()=>Ld,issue:()=>$h,joinValues:()=>Re,jsonStringifyReplacer:()=>Mh,merge:()=>H5,mergeDefs:()=>HA,normalizeParams:()=>At,nullish:()=>zd,numKeys:()=>k5,objectClone:()=>w5,omit:()=>M5,optionalKeys:()=>RS,parsedType:()=>at,partial:()=>G5,pick:()=>z5,prefixIssues:()=>Nl,primitiveTypes:()=>wS,promiseAllObject:()=>T5,propertyKeyTypes:()=>BE,randomString:()=>U5,required:()=>P5,safeExtend:()=>$5,shallowClone:()=>QS,slugify:()=>bS,stringifyPrimitive:()=>nt,uint8ArrayToBase64:()=>FF,uint8ArrayToBase64url:()=>V5,uint8ArrayToHex:()=>Z5,unwrapMessage:()=>CE});function D5(e){return e}function S5(e){return e}function b5(e){}function x5(e){throw new Error("Unexpected value in exhaustive check")}function Q5(e){}function IE(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,i])=>t.indexOf(+o)===-1).map(([o,i])=>i)}function Re(e,t="|"){return e.map(r=>nt(r)).join(t)}function Mh(e,t){return typeof t=="bigint"?t.toString():t}function Lh(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}function zd(e){return e==null}function _E(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function SS(e,t){let r=(e.toString().split(".")[1]||"").length,o=t.toString(),i=(o.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(o)){let I=o.match(/\d?e-(\d?)/);I?.[1]&&(i=Number.parseInt(I[1]))}let u=r>i?r:i,f=Number.parseInt(e.toFixed(u).replace(".","")),y=Number.parseInt(t.toFixed(u).replace(".",""));return f%y/10**u}function Ln(e,t,r){let o;Object.defineProperty(e,t,{get(){if(o!==kF)return o===void 0&&(o=kF,o=r()),o},set(i){Object.defineProperty(e,t,{value:i})},configurable:!0})}function w5(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Md(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function HA(...e){let t={};for(let r of e){let o=Object.getOwnPropertyDescriptors(r);Object.assign(t,o)}return Object.defineProperties({},t)}function R5(e){return HA(e._zod.def)}function N5(e,t){return t?t.reduce((r,o)=>r?.[o],e):e}function T5(e){let t=Object.keys(e),r=t.map(o=>e[o]);return Promise.all(r).then(o=>{let i={};for(let u=0;u<t.length;u++)i[t[u]]=o[u];return i})}function U5(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let o=0;o<e;o++)r+=t[Math.floor(Math.random()*t.length)];return r}function NC(e){return JSON.stringify(e)}function bS(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}function Xf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ld(e){if(Xf(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(Xf(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function QS(e){return Ld(e)?{...e}:Array.isArray(e)?[...e]:e}function k5(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}function Su(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ds(e,t,r){let o=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(o._zod.parent=e),o}function At(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function F5(e){let t;return new Proxy({},{get(r,o,i){return t??(t=e()),Reflect.get(t,o,i)},set(r,o,i,u){return t??(t=e()),Reflect.set(t,o,i,u)},has(r,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(r,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(r,o,i){return t??(t=e()),Reflect.defineProperty(t,o,i)}})}function nt(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function RS(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function z5(e,t){let r=e._zod.def,o=r.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let u=HA(e._zod.def,{get shape(){let f={};for(let y in t){if(!(y in r.shape))throw new Error(`Unrecognized key: "${y}"`);t[y]&&(f[y]=r.shape[y])}return Md(this,"shape",f),f},checks:[]});return Ds(e,u)}function M5(e,t){let r=e._zod.def,o=r.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let u=HA(e._zod.def,{get shape(){let f={...e._zod.def.shape};for(let y in t){if(!(y in r.shape))throw new Error(`Unrecognized key: "${y}"`);t[y]&&delete f[y]}return Md(this,"shape",f),f},checks:[]});return Ds(e,u)}function L5(e,t){if(!Ld(t))throw new Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let u=e._zod.def.shape;for(let f in t)if(Object.getOwnPropertyDescriptor(u,f)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let i=HA(e._zod.def,{get shape(){let u={...e._zod.def.shape,...t};return Md(this,"shape",u),u}});return Ds(e,i)}function $5(e,t){if(!Ld(t))throw new Error("Invalid input to safeExtend: expected a plain object");let r=HA(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return Md(this,"shape",o),o}});return Ds(e,r)}function H5(e,t){let r=HA(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t._zod.def.shape};return Md(this,"shape",o),o},get catchall(){return t._zod.def.catchall},checks:[]});return Ds(e,r)}function G5(e,t,r){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let f=HA(t._zod.def,{get shape(){let y=t._zod.def.shape,I={...y};if(r)for(let D in r){if(!(D in y))throw new Error(`Unrecognized key: "${D}"`);r[D]&&(I[D]=e?new e({type:"optional",innerType:y[D]}):y[D])}else for(let D in y)I[D]=e?new e({type:"optional",innerType:y[D]}):y[D];return Md(this,"shape",I),I},checks:[]});return Ds(t,f)}function P5(e,t,r){let o=HA(t._zod.def,{get shape(){let i=t._zod.def.shape,u={...i};if(r)for(let f in r){if(!(f in u))throw new Error(`Unrecognized key: "${f}"`);r[f]&&(u[f]=new e({type:"nonoptional",innerType:i[f]}))}else for(let f in i)u[f]=new e({type:"nonoptional",innerType:i[f]});return Md(this,"shape",u),u}});return Ds(t,o)}function $d(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function Nl(e,t){return t.map(r=>{var o;return(o=r).path??(o.path=[]),r.path.unshift(e),r})}function CE(e){return typeof e=="string"?e:e?.message}function nl(e,t,r){let o={...e,path:e.path??[]};if(!e.message){let i=CE(e.inst?._zod.def?.error?.(e))??CE(t?.error?.(e))??CE(r.customError?.(e))??CE(r.localeError?.(e))??"Invalid input";o.message=i}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function DE(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function SE(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function at(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function $h(...e){let[t,r,o]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:o}:{...t}}function j5(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function OF(e){let t=atob(e),r=new Uint8Array(t.length);for(let o=0;o<t.length;o++)r[o]=t.charCodeAt(o);return r}function FF(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function J5(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return OF(t+r)}function V5(e){return FF(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function K5(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let o=0;o<t.length;o+=2)r[o/2]=Number.parseInt(t.slice(o,o+2),16);return r}function Z5(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var kF,TC,xS,O5,BE,wS,NS,TS,DS,Vt=Y(()=>{"use strict";x();kF=Symbol("evaluating");TC="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};xS=Lh(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});O5=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},BE=new Set(["string","number","symbol"]),wS=new Set(["string","number","bigint","boolean","symbol","undefined"]);NS={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},TS={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};DS=class{constructor(...t){}}});function xE(e,t=r=>r.message){let r={},o=[];for(let i of e.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):o.push(t(i));return{formErrors:o,fieldErrors:r}}function QE(e,t=r=>r.message){let r={_errors:[]},o=i=>{for(let u of i.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(f=>o({issues:f}));else if(u.code==="invalid_key")o({issues:u.issues});else if(u.code==="invalid_element")o({issues:u.issues});else if(u.path.length===0)r._errors.push(t(u));else{let f=r,y=0;for(;y<u.path.length;){let I=u.path[y];y===u.path.length-1?(f[I]=f[I]||{_errors:[]},f[I]._errors.push(t(u))):f[I]=f[I]||{_errors:[]},f=f[I],y++}}};return o(e),r}function US(e,t=r=>r.message){let r={errors:[]},o=(i,u=[])=>{var f,y;for(let I of i.issues)if(I.code==="invalid_union"&&I.errors.length)I.errors.map(D=>o({issues:D},I.path));else if(I.code==="invalid_key")o({issues:I.issues},I.path);else if(I.code==="invalid_element")o({issues:I.issues},I.path);else{let D=[...u,...I.path];if(D.length===0){r.errors.push(t(I));continue}let R=r,z=0;for(;z<D.length;){let V=D[z],$=z===D.length-1;typeof V=="string"?(R.properties??(R.properties={}),(f=R.properties)[V]??(f[V]={errors:[]}),R=R.properties[V]):(R.items??(R.items=[]),(y=R.items)[V]??(y[V]={errors:[]}),R=R.items[V]),$&&R.errors.push(t(I)),z++}}};return o(e),r}function MF(e){let t=[],r=e.map(o=>typeof o=="object"?o.key:o);for(let o of r)typeof o=="number"?t.push(`[${o}]`):typeof o=="symbol"?t.push(`[${JSON.stringify(String(o))}]`):/[^\w$]/.test(o)?t.push(`[${JSON.stringify(o)}]`):(t.length&&t.push("."),t.push(o));return t.join("")}function kS(e){let t=[],r=[...e.issues].sort((o,i)=>(o.path??[]).length-(i.path??[]).length);for(let o of r)t.push(`\u2716 ${o.message}`),o.path?.length&&t.push(` \u2192 at ${MF(o.path)}`);return t.join(`
275
- `)}var zF,bE,il,OS=Y(()=>{"use strict";x();zh();Vt();zF=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Mh,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},bE=he("$ZodError",zF),il=he("$ZodError",zF,{Parent:Error})});var Hh,UC,Gh,kC,Ph,FS,jh,zS,OC,q5,FC,W5,zC,X5,MC,eJ,LC,tJ,$C,nJ,HC,iJ,GC,rJ,MS=Y(()=>{"use strict";x();zh();OS();Vt();Hh=e=>(t,r,o,i)=>{let u=o?Object.assign(o,{async:!1}):{async:!1},f=t._zod.run({value:r,issues:[]},u);if(f instanceof Promise)throw new tc;if(f.issues.length){let y=new(i?.Err??e)(f.issues.map(I=>nl(I,u,oa())));throw TC(y,i?.callee),y}return f.value},UC=Hh(il),Gh=e=>async(t,r,o,i)=>{let u=o?Object.assign(o,{async:!0}):{async:!0},f=t._zod.run({value:r,issues:[]},u);if(f instanceof Promise&&(f=await f),f.issues.length){let y=new(i?.Err??e)(f.issues.map(I=>nl(I,u,oa())));throw TC(y,i?.callee),y}return f.value},kC=Gh(il),Ph=e=>(t,r,o)=>{let i=o?{...o,async:!1}:{async:!1},u=t._zod.run({value:r,issues:[]},i);if(u instanceof Promise)throw new tc;return u.issues.length?{success:!1,error:new(e??bE)(u.issues.map(f=>nl(f,i,oa())))}:{success:!0,data:u.value}},FS=Ph(il),jh=e=>async(t,r,o)=>{let i=o?Object.assign(o,{async:!0}):{async:!0},u=t._zod.run({value:r,issues:[]},i);return u instanceof Promise&&(u=await u),u.issues.length?{success:!1,error:new e(u.issues.map(f=>nl(f,i,oa())))}:{success:!0,data:u.value}},zS=jh(il),OC=e=>(t,r,o)=>{let i=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return Hh(e)(t,r,i)},q5=OC(il),FC=e=>(t,r,o)=>Hh(e)(t,r,o),W5=FC(il),zC=e=>async(t,r,o)=>{let i=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return Gh(e)(t,r,i)},X5=zC(il),MC=e=>async(t,r,o)=>Gh(e)(t,r,o),eJ=MC(il),LC=e=>(t,r,o)=>{let i=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return Ph(e)(t,r,i)},tJ=LC(il),$C=e=>(t,r,o)=>Ph(e)(t,r,o),nJ=$C(il),HC=e=>async(t,r,o)=>{let i=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return jh(e)(t,r,i)},iJ=HC(il),GC=e=>async(t,r,o)=>jh(e)(t,r,o),rJ=GC(il)});var bu={};Ea(bu,{base64:()=>tb,base64url:()=>PC,bigint:()=>sb,boolean:()=>ub,browserEmail:()=>dJ,cidrv4:()=>XS,cidrv6:()=>eb,cuid:()=>LS,cuid2:()=>$S,date:()=>ib,datetime:()=>ab,domain:()=>hJ,duration:()=>JS,e164:()=>nb,email:()=>KS,emoji:()=>ZS,extendedDuration:()=>aJ,guid:()=>VS,hex:()=>gJ,hostname:()=>pJ,html5Email:()=>uJ,idnEmail:()=>AJ,integer:()=>lb,ipv4:()=>YS,ipv6:()=>qS,ksuid:()=>PS,lowercase:()=>db,mac:()=>WS,md5_base64:()=>EJ,md5_base64url:()=>yJ,md5_hex:()=>mJ,nanoid:()=>jS,null:()=>cb,number:()=>jC,rfc5322Email:()=>cJ,sha1_base64:()=>CJ,sha1_base64url:()=>IJ,sha1_hex:()=>vJ,sha256_base64:()=>BJ,sha256_base64url:()=>DJ,sha256_hex:()=>_J,sha384_base64:()=>bJ,sha384_base64url:()=>xJ,sha384_hex:()=>SJ,sha512_base64:()=>wJ,sha512_base64url:()=>RJ,sha512_hex:()=>QJ,string:()=>ob,time:()=>rb,ulid:()=>HS,undefined:()=>Ab,unicodeEmail:()=>LF,uppercase:()=>fb,uuid:()=>ep,uuid4:()=>oJ,uuid6:()=>sJ,uuid7:()=>lJ,xid:()=>GS});function ZS(){return new RegExp(fJ,"u")}function HF(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function rb(e){return new RegExp(`^${HF(e)}$`)}function ab(e){let t=HF({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let o=`${t}(?:${r.join("|")})`;return new RegExp(`^${$F}T(?:${o})$`)}function wE(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function RE(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var LS,$S,HS,GS,PS,jS,JS,aJ,VS,ep,oJ,sJ,lJ,KS,uJ,cJ,LF,AJ,dJ,fJ,YS,qS,WS,XS,eb,tb,PC,pJ,hJ,nb,$F,ib,ob,sb,lb,jC,ub,cb,Ab,db,fb,gJ,mJ,EJ,yJ,vJ,CJ,IJ,_J,BJ,DJ,SJ,bJ,xJ,QJ,wJ,RJ,JC=Y(()=>{"use strict";x();Vt();LS=/^[cC][^\s-]{8,}$/,$S=/^[0-9a-z]+$/,HS=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,GS=/^[0-9a-vA-V]{20}$/,PS=/^[A-Za-z0-9]{27}$/,jS=/^[a-zA-Z0-9_-]{21}$/,JS=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,aJ=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,VS=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ep=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,oJ=ep(4),sJ=ep(6),lJ=ep(7),KS=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,uJ=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,cJ=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,LF=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,AJ=LF,dJ=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,fJ="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";YS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,qS=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,WS=e=>{let t=Su(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},XS=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,eb=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,tb=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,PC=/^[A-Za-z0-9_-]*$/,pJ=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,hJ=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,nb=/^\+[1-9]\d{6,14}$/,$F="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",ib=new RegExp(`^${$F}$`);ob=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},sb=/^-?\d+n?$/,lb=/^-?\d+$/,jC=/^-?\d+(?:\.\d+)?$/,ub=/^(?:true|false)$/i,cb=/^null$/i,Ab=/^undefined$/i,db=/^[^A-Z]*$/,fb=/^[^a-z]*$/,gJ=/^[0-9a-fA-F]*$/;mJ=/^[0-9a-fA-F]{32}$/,EJ=wE(22,"=="),yJ=RE(22),vJ=/^[0-9a-fA-F]{40}$/,CJ=wE(27,"="),IJ=RE(27),_J=/^[0-9a-fA-F]{64}$/,BJ=wE(43,"="),DJ=RE(43),SJ=/^[0-9a-fA-F]{96}$/,bJ=wE(64,""),xJ=RE(64),QJ=/^[0-9a-fA-F]{128}$/,wJ=wE(86,"=="),RJ=RE(86)});function GF(e,t,r){e.issues.length&&t.issues.push(...Nl(r,e.issues))}var dr,PF,VC,KC,pb,hb,gb,mb,Eb,yb,vb,Cb,Ib,Jh,_b,Bb,Db,Sb,bb,xb,Qb,wb,Rb,ZC=Y(()=>{"use strict";x();zh();JC();Vt();dr=he("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),PF={number:"number",bigint:"bigint",object:"date"},VC=he("$ZodCheckLessThan",(e,t)=>{dr.init(e,t);let r=PF[typeof t.value];e._zod.onattach.push(o=>{let i=o._zod.bag,u=(t.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<u&&(t.inclusive?i.maximum=t.value:i.exclusiveMaximum=t.value)}),e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),KC=he("$ZodCheckGreaterThan",(e,t)=>{dr.init(e,t);let r=PF[typeof t.value];e._zod.onattach.push(o=>{let i=o._zod.bag,u=(t.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>u&&(t.inclusive?i.minimum=t.value:i.exclusiveMinimum=t.value)}),e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),pb=he("$ZodCheckMultipleOf",(e,t)=>{dr.init(e,t),e._zod.onattach.push(r=>{var o;(o=r._zod.bag).multipleOf??(o.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):SS(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),hb=he("$ZodCheckNumberFormat",(e,t)=>{dr.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),o=r?"int":"number",[i,u]=NS[t.format];e._zod.onattach.push(f=>{let y=f._zod.bag;y.format=t.format,y.minimum=i,y.maximum=u,r&&(y.pattern=lb)}),e._zod.check=f=>{let y=f.value;if(r){if(!Number.isInteger(y)){f.issues.push({expected:o,format:t.format,code:"invalid_type",continue:!1,input:y,inst:e});return}if(!Number.isSafeInteger(y)){y>0?f.issues.push({input:y,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort}):f.issues.push({input:y,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort});return}}y<i&&f.issues.push({origin:"number",input:y,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),y>u&&f.issues.push({origin:"number",input:y,code:"too_big",maximum:u,inclusive:!0,inst:e,continue:!t.abort})}}),gb=he("$ZodCheckBigIntFormat",(e,t)=>{dr.init(e,t);let[r,o]=TS[t.format];e._zod.onattach.push(i=>{let u=i._zod.bag;u.format=t.format,u.minimum=r,u.maximum=o}),e._zod.check=i=>{let u=i.value;u<r&&i.issues.push({origin:"bigint",input:u,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),u>o&&i.issues.push({origin:"bigint",input:u,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),mb=he("$ZodCheckMaxSize",(e,t)=>{var r;dr.init(e,t),(r=e._zod.def).when??(r.when=o=>{let i=o.value;return!zd(i)&&i.size!==void 0}),e._zod.onattach.push(o=>{let i=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{let i=o.value;i.size<=t.maximum||o.issues.push({origin:DE(i),code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),Eb=he("$ZodCheckMinSize",(e,t)=>{var r;dr.init(e,t),(r=e._zod.def).when??(r.when=o=>{let i=o.value;return!zd(i)&&i.size!==void 0}),e._zod.onattach.push(o=>{let i=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{let i=o.value;i.size>=t.minimum||o.issues.push({origin:DE(i),code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),yb=he("$ZodCheckSizeEquals",(e,t)=>{var r;dr.init(e,t),(r=e._zod.def).when??(r.when=o=>{let i=o.value;return!zd(i)&&i.size!==void 0}),e._zod.onattach.push(o=>{let i=o._zod.bag;i.minimum=t.size,i.maximum=t.size,i.size=t.size}),e._zod.check=o=>{let i=o.value,u=i.size;if(u===t.size)return;let f=u>t.size;o.issues.push({origin:DE(i),...f?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),vb=he("$ZodCheckMaxLength",(e,t)=>{var r;dr.init(e,t),(r=e._zod.def).when??(r.when=o=>{let i=o.value;return!zd(i)&&i.length!==void 0}),e._zod.onattach.push(o=>{let i=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{let i=o.value;if(i.length<=t.maximum)return;let f=SE(i);o.issues.push({origin:f,code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),Cb=he("$ZodCheckMinLength",(e,t)=>{var r;dr.init(e,t),(r=e._zod.def).when??(r.when=o=>{let i=o.value;return!zd(i)&&i.length!==void 0}),e._zod.onattach.push(o=>{let i=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{let i=o.value;if(i.length>=t.minimum)return;let f=SE(i);o.issues.push({origin:f,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),Ib=he("$ZodCheckLengthEquals",(e,t)=>{var r;dr.init(e,t),(r=e._zod.def).when??(r.when=o=>{let i=o.value;return!zd(i)&&i.length!==void 0}),e._zod.onattach.push(o=>{let i=o._zod.bag;i.minimum=t.length,i.maximum=t.length,i.length=t.length}),e._zod.check=o=>{let i=o.value,u=i.length;if(u===t.length)return;let f=SE(i),y=u>t.length;o.issues.push({origin:f,...y?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),Jh=he("$ZodCheckStringFormat",(e,t)=>{var r,o;dr.init(e,t),e._zod.onattach.push(i=>{let u=i._zod.bag;u.format=t.format,t.pattern&&(u.patterns??(u.patterns=new Set),u.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=i=>{t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(o=e._zod).check??(o.check=()=>{})}),_b=he("$ZodCheckRegex",(e,t)=>{Jh.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Bb=he("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=db),Jh.init(e,t)}),Db=he("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=fb),Jh.init(e,t)}),Sb=he("$ZodCheckIncludes",(e,t)=>{dr.init(e,t);let r=Su(t.includes),o=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=o,e._zod.onattach.push(i=>{let u=i._zod.bag;u.patterns??(u.patterns=new Set),u.patterns.add(o)}),e._zod.check=i=>{i.value.includes(t.includes,t.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:i.value,inst:e,continue:!t.abort})}}),bb=he("$ZodCheckStartsWith",(e,t)=>{dr.init(e,t);let r=new RegExp(`^${Su(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(o=>{let i=o._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),xb=he("$ZodCheckEndsWith",(e,t)=>{dr.init(e,t);let r=new RegExp(`.*${Su(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(o=>{let i=o._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}});Qb=he("$ZodCheckProperty",(e,t)=>{dr.init(e,t),e._zod.check=r=>{let o=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(o instanceof Promise)return o.then(i=>GF(i,r,t.property));GF(o,r,t.property)}}),wb=he("$ZodCheckMimeType",(e,t)=>{dr.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(o=>{o._zod.bag.mime=t.mime}),e._zod.check=o=>{r.has(o.value.type)||o.issues.push({code:"invalid_value",values:t.mime,input:o.value.type,inst:e,continue:!t.abort})}}),Rb=he("$ZodCheckOverwrite",(e,t)=>{dr.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}})});var NE,Nb=Y(()=>{"use strict";x();NE=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
276
- `).filter(f=>f),i=Math.min(...o.map(f=>f.length-f.trimStart().length)),u=o.map(f=>f.slice(i)).map(f=>" ".repeat(this.indent*2)+f);for(let f of u)this.content.push(f)}compile(){let t=Function,r=this?.args,i=[...(this?.content??[""]).map(u=>` ${u}`)];return new t(...r,i.join(`
277
- `))}}});var Tb,Ub=Y(()=>{"use strict";x();Tb={major:4,minor:3,patch:5}});function nx(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}function i4(e){if(!PC.test(e))return!1;let t=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return nx(r)}function r4(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[o]=r;if(!o)return!1;let i=JSON.parse(atob(o));return!("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}}function JF(e,t,r){e.issues.length&&t.issues.push(...Nl(r,e.issues)),t.value[r]=e.value}function eI(e,t,r,o,i){if(e.issues.length){if(i&&!(r in o))return;t.issues.push(...Nl(r,e.issues))}e.value===void 0?r in o&&(t.value[r]=void 0):t.value[r]=e.value}function a4(e){let t=Object.keys(e.shape);for(let o of t)if(!e.shape?.[o]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${o}": expected a Zod schema`);let r=RS(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function o4(e,t,r,o,i,u){let f=[],y=i.keySet,I=i.catchall._zod,D=I.def.type,R=I.optout==="optional";for(let z in t){if(y.has(z))continue;if(D==="never"){f.push(z);continue}let V=I.run({value:t[z],issues:[]},o);V instanceof Promise?e.push(V.then($=>eI($,r,z,t,R))):eI(V,r,z,t,R)}return f.length&&r.issues.push({code:"unrecognized_keys",keys:f,input:t,inst:u}),e.length?Promise.all(e).then(()=>r):r}function VF(e,t,r,o){for(let u of e)if(u.issues.length===0)return t.value=u.value,t;let i=e.filter(u=>!$d(u));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(u=>u.issues.map(f=>nl(f,o,oa())))}),t)}function KF(e,t,r,o){let i=e.filter(u=>u.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(u=>u.issues.map(f=>nl(f,o,oa())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}function kb(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ld(e)&&Ld(t)){let r=Object.keys(t),o=Object.keys(e).filter(u=>r.indexOf(u)!==-1),i={...e,...t};for(let u of o){let f=kb(e[u],t[u]);if(!f.valid)return{valid:!1,mergeErrorPath:[u,...f.mergeErrorPath]};i[u]=f.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let o=0;o<e.length;o++){let i=e[o],u=t[o],f=kb(i,u);if(!f.valid)return{valid:!1,mergeErrorPath:[o,...f.mergeErrorPath]};r.push(f.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function ZF(e,t,r){let o=new Map,i;for(let y of t.issues)if(y.code==="unrecognized_keys"){i??(i=y);for(let I of y.keys)o.has(I)||o.set(I,{}),o.get(I).l=!0}else e.issues.push(y);for(let y of r.issues)if(y.code==="unrecognized_keys")for(let I of y.keys)o.has(I)||o.set(I,{}),o.get(I).r=!0;else e.issues.push(y);let u=[...o].filter(([,y])=>y.l&&y.r).map(([y])=>y);if(u.length&&i&&e.issues.push({...i,keys:u}),$d(e))return e;let f=kb(t.value,r.value);if(!f.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(f.mergeErrorPath)}`);return e.value=f.data,e}function YC(e,t,r){e.issues.length&&t.issues.push(...Nl(r,e.issues)),t.value[r]=e.value}function YF(e,t,r,o,i,u,f){e.issues.length&&(BE.has(typeof o)?r.issues.push(...Nl(o,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:i,inst:u,issues:e.issues.map(y=>nl(y,f,oa()))})),t.issues.length&&(BE.has(typeof o)?r.issues.push(...Nl(o,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:i,inst:u,key:o,issues:t.issues.map(y=>nl(y,f,oa()))})),r.value.set(e.value,t.value)}function qF(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function WF(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}function XF(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function e4(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function qC(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}function WC(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){let i=t.transform(e.value,e);return i instanceof Promise?i.then(u=>XC(e,u,t.out,r)):XC(e,i,t.out,r)}else{let i=t.reverseTransform(e.value,e);return i instanceof Promise?i.then(u=>XC(e,u,t.in,r)):XC(e,i,t.in,r)}}function XC(e,t,r,o){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},o)}function t4(e){return e.value=Object.freeze(e.value),e}function n4(e,t,r,o){if(!e){let i={code:"custom",input:r,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(i.params=o._zod.def.params),t.issues.push($h(i))}}var gn,tp,ir,Ob,Fb,zb,Mb,Lb,$b,Hb,Gb,Pb,jb,Jb,Vb,Kb,Zb,Yb,qb,Wb,Xb,ex,tx,ix,rx,ax,ox,sx,tI,lx,TE,nI,ux,cx,Ax,dx,fx,px,hx,gx,mx,Ex,s4,yx,UE,vx,Cx,Ix,iI,_x,Bx,Dx,Sx,bx,xx,Qx,rI,wx,Rx,Nx,Tx,Ux,kx,Ox,Fx,zx,kE,Mx,Lx,$x,Hx,Gx,Px,jx=Y(()=>{"use strict";x();ZC();zh();Nb();MS();JC();Vt();Ub();Vt();gn=he("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Tb;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let i of o)for(let u of i._zod.onattach)u(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(f,y,I)=>{let D=$d(f),R;for(let z of y){if(z._zod.def.when){if(!z._zod.def.when(f))continue}else if(D)continue;let V=f.issues.length,$=z._zod.check(f);if($ instanceof Promise&&I?.async===!1)throw new tc;if(R||$ instanceof Promise)R=(R??Promise.resolve()).then(async()=>{await $,f.issues.length!==V&&(D||(D=$d(f,V)))});else{if(f.issues.length===V)continue;D||(D=$d(f,V))}}return R?R.then(()=>f):f},u=(f,y,I)=>{if($d(f))return f.aborted=!0,f;let D=i(y,o,I);if(D instanceof Promise){if(I.async===!1)throw new tc;return D.then(R=>e._zod.parse(R,I))}return e._zod.parse(D,I)};e._zod.run=(f,y)=>{if(y.skipChecks)return e._zod.parse(f,y);if(y.direction==="backward"){let D=e._zod.parse({value:f.value,issues:[]},{...y,skipChecks:!0});return D instanceof Promise?D.then(R=>u(R,f,y)):u(D,f,y)}let I=e._zod.parse(f,y);if(I instanceof Promise){if(y.async===!1)throw new tc;return I.then(D=>i(D,o,y))}return i(I,o,y)}}Ln(e,"~standard",()=>({validate:i=>{try{let u=FS(e,i);return u.success?{value:u.data}:{issues:u.error?.issues}}catch{return zS(e,i).then(f=>f.success?{value:f.data}:{issues:f.error?.issues})}},vendor:"zod",version:1}))}),tp=he("$ZodString",(e,t)=>{gn.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??ob(e._zod.bag),e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),ir=he("$ZodStringFormat",(e,t)=>{Jh.init(e,t),tp.init(e,t)}),Ob=he("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=VS),ir.init(e,t)}),Fb=he("$ZodUUID",(e,t)=>{if(t.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=ep(o))}else t.pattern??(t.pattern=ep());ir.init(e,t)}),zb=he("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=KS),ir.init(e,t)}),Mb=he("$ZodURL",(e,t)=>{ir.init(e,t),e._zod.check=r=>{try{let o=r.value.trim(),i=new URL(o);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=i.href:r.value=o;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Lb=he("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ZS()),ir.init(e,t)}),$b=he("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=jS),ir.init(e,t)}),Hb=he("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=LS),ir.init(e,t)}),Gb=he("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=$S),ir.init(e,t)}),Pb=he("$ZodULID",(e,t)=>{t.pattern??(t.pattern=HS),ir.init(e,t)}),jb=he("$ZodXID",(e,t)=>{t.pattern??(t.pattern=GS),ir.init(e,t)}),Jb=he("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=PS),ir.init(e,t)}),Vb=he("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ab(t)),ir.init(e,t)}),Kb=he("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=ib),ir.init(e,t)}),Zb=he("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=rb(t)),ir.init(e,t)}),Yb=he("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=JS),ir.init(e,t)}),qb=he("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=YS),ir.init(e,t),e._zod.bag.format="ipv4"}),Wb=he("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=qS),ir.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),Xb=he("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=WS(t.delimiter)),ir.init(e,t),e._zod.bag.format="mac"}),ex=he("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=XS),ir.init(e,t)}),tx=he("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=eb),ir.init(e,t),e._zod.check=r=>{let o=r.value.split("/");try{if(o.length!==2)throw new Error;let[i,u]=o;if(!u)throw new Error;let f=Number(u);if(`${f}`!==u)throw new Error;if(f<0||f>128)throw new Error;new URL(`http://[${i}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});ix=he("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=tb),ir.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{nx(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});rx=he("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=PC),ir.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{i4(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),ax=he("$ZodE164",(e,t)=>{t.pattern??(t.pattern=nb),ir.init(e,t)});ox=he("$ZodJWT",(e,t)=>{ir.init(e,t),e._zod.check=r=>{r4(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),sx=he("$ZodCustomStringFormat",(e,t)=>{ir.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),tI=he("$ZodNumber",(e,t)=>{gn.init(e,t),e._zod.pattern=e._zod.bag.pattern??jC,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let i=r.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return r;let u=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...u?{received:u}:{}}),r}}),lx=he("$ZodNumberFormat",(e,t)=>{hb.init(e,t),tI.init(e,t)}),TE=he("$ZodBoolean",(e,t)=>{gn.init(e,t),e._zod.pattern=ub,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=!!r.value}catch{}let i=r.value;return typeof i=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}}),nI=he("$ZodBigInt",(e,t)=>{gn.init(e,t),e._zod.pattern=sb,e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),ux=he("$ZodBigIntFormat",(e,t)=>{gb.init(e,t),nI.init(e,t)}),cx=he("$ZodSymbol",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;return typeof i=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:i,inst:e}),r}}),Ax=he("$ZodUndefined",(e,t)=>{gn.init(e,t),e._zod.pattern=Ab,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(r,o)=>{let i=r.value;return typeof i>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:e}),r}}),dx=he("$ZodNull",(e,t)=>{gn.init(e,t),e._zod.pattern=cb,e._zod.values=new Set([null]),e._zod.parse=(r,o)=>{let i=r.value;return i===null||r.issues.push({expected:"null",code:"invalid_type",input:i,inst:e}),r}}),fx=he("$ZodAny",(e,t)=>{gn.init(e,t),e._zod.parse=r=>r}),px=he("$ZodUnknown",(e,t)=>{gn.init(e,t),e._zod.parse=r=>r}),hx=he("$ZodNever",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),gx=he("$ZodVoid",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;return typeof i>"u"||r.issues.push({expected:"void",code:"invalid_type",input:i,inst:e}),r}}),mx=he("$ZodDate",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let i=r.value,u=i instanceof Date;return u&&!Number.isNaN(i.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:i,...u?{received:"Invalid Date"}:{},inst:e}),r}});Ex=he("$ZodArray",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let u=[];for(let f=0;f<i.length;f++){let y=i[f],I=t.element._zod.run({value:y,issues:[]},o);I instanceof Promise?u.push(I.then(D=>JF(D,r,f))):JF(I,r,f)}return u.length?Promise.all(u).then(()=>r):r}});s4=he("$ZodObject",(e,t)=>{if(gn.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let y=t.shape;Object.defineProperty(t,"shape",{get:()=>{let I={...y};return Object.defineProperty(t,"shape",{value:I}),I}})}let o=Lh(()=>a4(t));Ln(e._zod,"propValues",()=>{let y=t.shape,I={};for(let D in y){let R=y[D]._zod;if(R.values){I[D]??(I[D]=new Set);for(let z of R.values)I[D].add(z)}}return I});let i=Xf,u=t.catchall,f;e._zod.parse=(y,I)=>{f??(f=o.value);let D=y.value;if(!i(D))return y.issues.push({expected:"object",code:"invalid_type",input:D,inst:e}),y;y.value={};let R=[],z=f.shape;for(let V of f.keys){let $=z[V],te=$._zod.optout==="optional",re=$._zod.run({value:D[V],issues:[]},I);re instanceof Promise?R.push(re.then(oe=>eI(oe,y,V,D,te))):eI(re,y,V,D,te)}return u?o4(R,D,y,I,o.value,e):R.length?Promise.all(R).then(()=>y):y}}),yx=he("$ZodObjectJIT",(e,t)=>{s4.init(e,t);let r=e._zod.parse,o=Lh(()=>a4(t)),i=V=>{let $=new NE(["shape","payload","ctx"]),te=o.value,re=Me=>{let Ie=NC(Me);return`shape[${Ie}]._zod.run({ value: input[${Ie}], issues: [] }, ctx)`};$.write("const input = payload.value;");let oe=Object.create(null),ce=0;for(let Me of te.keys)oe[Me]=`key_${ce++}`;$.write("const newResult = {};");for(let Me of te.keys){let Ie=oe[Me],it=NC(Me),k=V[Me]?._zod?.optout==="optional";$.write(`const ${Ie} = ${re(Me)};`),k?$.write(`
278
- if (${Ie}.issues.length) {
279
- if (${it} in input) {
280
- payload.issues = payload.issues.concat(${Ie}.issues.map(iss => ({
281
- ...iss,
282
- path: iss.path ? [${it}, ...iss.path] : [${it}]
283
- })));
284
- }
285
- }
286
-
287
- if (${Ie}.value === undefined) {
288
- if (${it} in input) {
289
- newResult[${it}] = undefined;
290
- }
291
- } else {
292
- newResult[${it}] = ${Ie}.value;
293
- }
294
-
295
- `):$.write(`
296
- if (${Ie}.issues.length) {
297
- payload.issues = payload.issues.concat(${Ie}.issues.map(iss => ({
298
- ...iss,
299
- path: iss.path ? [${it}, ...iss.path] : [${it}]
300
- })));
301
- }
302
-
303
- if (${Ie}.value === undefined) {
304
- if (${it} in input) {
305
- newResult[${it}] = undefined;
306
- }
307
- } else {
308
- newResult[${it}] = ${Ie}.value;
309
- }
310
-
311
- `)}$.write("payload.value = newResult;"),$.write("return payload;");let xe=$.compile();return(Me,Ie)=>xe(V,Me,Ie)},u,f=Xf,y=!vE.jitless,D=y&&xS.value,R=t.catchall,z;e._zod.parse=(V,$)=>{z??(z=o.value);let te=V.value;return f(te)?y&&D&&$?.async===!1&&$.jitless!==!0?(u||(u=i(t.shape)),V=u(V,$),R?o4([],te,V,$,z,e):V):r(V,$):(V.issues.push({expected:"object",code:"invalid_type",input:te,inst:e}),V)}});UE=he("$ZodUnion",(e,t)=>{gn.init(e,t),Ln(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Ln(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Ln(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),Ln(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(u=>u._zod.pattern);return new RegExp(`^(${i.map(u=>_E(u.source)).join("|")})$`)}});let r=t.options.length===1,o=t.options[0]._zod.run;e._zod.parse=(i,u)=>{if(r)return o(i,u);let f=!1,y=[];for(let I of t.options){let D=I._zod.run({value:i.value,issues:[]},u);if(D instanceof Promise)y.push(D),f=!0;else{if(D.issues.length===0)return D;y.push(D)}}return f?Promise.all(y).then(I=>VF(I,i,e,u)):VF(y,i,e,u)}});vx=he("$ZodXor",(e,t)=>{UE.init(e,t),t.inclusive=!1;let r=t.options.length===1,o=t.options[0]._zod.run;e._zod.parse=(i,u)=>{if(r)return o(i,u);let f=!1,y=[];for(let I of t.options){let D=I._zod.run({value:i.value,issues:[]},u);D instanceof Promise?(y.push(D),f=!0):y.push(D)}return f?Promise.all(y).then(I=>KF(I,i,e,u)):KF(y,i,e,u)}}),Cx=he("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,UE.init(e,t);let r=e._zod.parse;Ln(e._zod,"propValues",()=>{let i={};for(let u of t.options){let f=u._zod.propValues;if(!f||Object.keys(f).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(let[y,I]of Object.entries(f)){i[y]||(i[y]=new Set);for(let D of I)i[y].add(D)}}return i});let o=Lh(()=>{let i=t.options,u=new Map;for(let f of i){let y=f._zod.propValues?.[t.discriminator];if(!y||y.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(f)}"`);for(let I of y){if(u.has(I))throw new Error(`Duplicate discriminator value "${String(I)}"`);u.set(I,f)}}return u});e._zod.parse=(i,u)=>{let f=i.value;if(!Xf(f))return i.issues.push({code:"invalid_type",expected:"object",input:f,inst:e}),i;let y=o.value.get(f?.[t.discriminator]);return y?y._zod.run(i,u):t.unionFallback?r(i,u):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:f,path:[t.discriminator],inst:e}),i)}}),Ix=he("$ZodIntersection",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value,u=t.left._zod.run({value:i,issues:[]},o),f=t.right._zod.run({value:i,issues:[]},o);return u instanceof Promise||f instanceof Promise?Promise.all([u,f]).then(([I,D])=>ZF(r,I,D)):ZF(r,u,f)}});iI=he("$ZodTuple",(e,t)=>{gn.init(e,t);let r=t.items;e._zod.parse=(o,i)=>{let u=o.value;if(!Array.isArray(u))return o.issues.push({input:u,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=[];let f=[],y=[...r].reverse().findIndex(R=>R._zod.optin!=="optional"),I=y===-1?0:r.length-y;if(!t.rest){let R=u.length>r.length,z=u.length<I-1;if(R||z)return o.issues.push({...R?{code:"too_big",maximum:r.length,inclusive:!0}:{code:"too_small",minimum:r.length},input:u,inst:e,origin:"array"}),o}let D=-1;for(let R of r){if(D++,D>=u.length&&D>=I)continue;let z=R._zod.run({value:u[D],issues:[]},i);z instanceof Promise?f.push(z.then(V=>YC(V,o,D))):YC(z,o,D)}if(t.rest){let R=u.slice(r.length);for(let z of R){D++;let V=t.rest._zod.run({value:z,issues:[]},i);V instanceof Promise?f.push(V.then($=>YC($,o,D))):YC(V,o,D)}}return f.length?Promise.all(f).then(()=>o):o}});_x=he("$ZodRecord",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;if(!Ld(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let u=[],f=t.keyType._zod.values;if(f){r.value={};let y=new Set;for(let D of f)if(typeof D=="string"||typeof D=="number"||typeof D=="symbol"){y.add(typeof D=="number"?D.toString():D);let R=t.valueType._zod.run({value:i[D],issues:[]},o);R instanceof Promise?u.push(R.then(z=>{z.issues.length&&r.issues.push(...Nl(D,z.issues)),r.value[D]=z.value})):(R.issues.length&&r.issues.push(...Nl(D,R.issues)),r.value[D]=R.value)}let I;for(let D in i)y.has(D)||(I=I??[],I.push(D));I&&I.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:I})}else{r.value={};for(let y of Reflect.ownKeys(i)){if(y==="__proto__")continue;let I=t.keyType._zod.run({value:y,issues:[]},o);if(I instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof y=="string"&&jC.test(y)&&I.issues.length&&I.issues.some(z=>z.code==="invalid_type"&&z.expected==="number")){let z=t.keyType._zod.run({value:Number(y),issues:[]},o);if(z instanceof Promise)throw new Error("Async schemas not supported in object keys currently");z.issues.length===0&&(I=z)}if(I.issues.length){t.mode==="loose"?r.value[y]=i[y]:r.issues.push({code:"invalid_key",origin:"record",issues:I.issues.map(z=>nl(z,o,oa())),input:y,path:[y],inst:e});continue}let R=t.valueType._zod.run({value:i[y],issues:[]},o);R instanceof Promise?u.push(R.then(z=>{z.issues.length&&r.issues.push(...Nl(y,z.issues)),r.value[I.value]=z.value})):(R.issues.length&&r.issues.push(...Nl(y,R.issues)),r.value[I.value]=R.value)}}return u.length?Promise.all(u).then(()=>r):r}}),Bx=he("$ZodMap",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;if(!(i instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),r;let u=[];r.value=new Map;for(let[f,y]of i){let I=t.keyType._zod.run({value:f,issues:[]},o),D=t.valueType._zod.run({value:y,issues:[]},o);I instanceof Promise||D instanceof Promise?u.push(Promise.all([I,D]).then(([R,z])=>{YF(R,z,r,f,i,e,o)})):YF(I,D,r,f,i,e,o)}return u.length?Promise.all(u).then(()=>r):r}});Dx=he("$ZodSet",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;if(!(i instanceof Set))return r.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),r;let u=[];r.value=new Set;for(let f of i){let y=t.valueType._zod.run({value:f,issues:[]},o);y instanceof Promise?u.push(y.then(I=>qF(I,r))):qF(y,r)}return u.length?Promise.all(u).then(()=>r):r}});Sx=he("$ZodEnum",(e,t)=>{gn.init(e,t);let r=IE(t.entries),o=new Set(r);e._zod.values=o,e._zod.pattern=new RegExp(`^(${r.filter(i=>BE.has(typeof i)).map(i=>typeof i=="string"?Su(i):i.toString()).join("|")})$`),e._zod.parse=(i,u)=>{let f=i.value;return o.has(f)||i.issues.push({code:"invalid_value",values:r,input:f,inst:e}),i}}),bx=he("$ZodLiteral",(e,t)=>{if(gn.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(o=>typeof o=="string"?Su(o):o?Su(o.toString()):String(o)).join("|")})$`),e._zod.parse=(o,i)=>{let u=o.value;return r.has(u)||o.issues.push({code:"invalid_value",values:t.values,input:u,inst:e}),o}}),xx=he("$ZodFile",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{let i=r.value;return i instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:i,inst:e}),r}}),Qx=he("$ZodTransform",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{if(o.direction==="backward")throw new Fd(e.constructor.name);let i=t.transform(r.value,r);if(o.async)return(i instanceof Promise?i:Promise.resolve(i)).then(f=>(r.value=f,r));if(i instanceof Promise)throw new tc;return r.value=i,r}});rI=he("$ZodOptional",(e,t)=>{gn.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Ln(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Ln(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${_E(r.source)})?$`):void 0}),e._zod.parse=(r,o)=>{if(t.innerType._zod.optin==="optional"){let i=t.innerType._zod.run(r,o);return i instanceof Promise?i.then(u=>WF(u,r.value)):WF(i,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,o)}}),wx=he("$ZodExactOptional",(e,t)=>{rI.init(e,t),Ln(e._zod,"values",()=>t.innerType._zod.values),Ln(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,o)=>t.innerType._zod.run(r,o)}),Rx=he("$ZodNullable",(e,t)=>{gn.init(e,t),Ln(e._zod,"optin",()=>t.innerType._zod.optin),Ln(e._zod,"optout",()=>t.innerType._zod.optout),Ln(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${_E(r.source)}|null)$`):void 0}),Ln(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,o)=>r.value===null?r:t.innerType._zod.run(r,o)}),Nx=he("$ZodDefault",(e,t)=>{gn.init(e,t),e._zod.optin="optional",Ln(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>{if(o.direction==="backward")return t.innerType._zod.run(r,o);if(r.value===void 0)return r.value=t.defaultValue,r;let i=t.innerType._zod.run(r,o);return i instanceof Promise?i.then(u=>XF(u,t)):XF(i,t)}});Tx=he("$ZodPrefault",(e,t)=>{gn.init(e,t),e._zod.optin="optional",Ln(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>(o.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,o))}),Ux=he("$ZodNonOptional",(e,t)=>{gn.init(e,t),Ln(e._zod,"values",()=>{let r=t.innerType._zod.values;return r?new Set([...r].filter(o=>o!==void 0)):void 0}),e._zod.parse=(r,o)=>{let i=t.innerType._zod.run(r,o);return i instanceof Promise?i.then(u=>e4(u,e)):e4(i,e)}});kx=he("$ZodSuccess",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>{if(o.direction==="backward")throw new Fd("ZodSuccess");let i=t.innerType._zod.run(r,o);return i instanceof Promise?i.then(u=>(r.value=u.issues.length===0,r)):(r.value=i.issues.length===0,r)}}),Ox=he("$ZodCatch",(e,t)=>{gn.init(e,t),Ln(e._zod,"optin",()=>t.innerType._zod.optin),Ln(e._zod,"optout",()=>t.innerType._zod.optout),Ln(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,o)=>{if(o.direction==="backward")return t.innerType._zod.run(r,o);let i=t.innerType._zod.run(r,o);return i instanceof Promise?i.then(u=>(r.value=u.value,u.issues.length&&(r.value=t.catchValue({...r,error:{issues:u.issues.map(f=>nl(f,o,oa()))},input:r.value}),r.issues=[]),r)):(r.value=i.value,i.issues.length&&(r.value=t.catchValue({...r,error:{issues:i.issues.map(u=>nl(u,o,oa()))},input:r.value}),r.issues=[]),r)}}),Fx=he("$ZodNaN",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),zx=he("$ZodPipe",(e,t)=>{gn.init(e,t),Ln(e._zod,"values",()=>t.in._zod.values),Ln(e._zod,"optin",()=>t.in._zod.optin),Ln(e._zod,"optout",()=>t.out._zod.optout),Ln(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,o)=>{if(o.direction==="backward"){let u=t.out._zod.run(r,o);return u instanceof Promise?u.then(f=>qC(f,t.in,o)):qC(u,t.in,o)}let i=t.in._zod.run(r,o);return i instanceof Promise?i.then(u=>qC(u,t.out,o)):qC(i,t.out,o)}});kE=he("$ZodCodec",(e,t)=>{gn.init(e,t),Ln(e._zod,"values",()=>t.in._zod.values),Ln(e._zod,"optin",()=>t.in._zod.optin),Ln(e._zod,"optout",()=>t.out._zod.optout),Ln(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,o)=>{if((o.direction||"forward")==="forward"){let u=t.in._zod.run(r,o);return u instanceof Promise?u.then(f=>WC(f,t,o)):WC(u,t,o)}else{let u=t.out._zod.run(r,o);return u instanceof Promise?u.then(f=>WC(f,t,o)):WC(u,t,o)}}});Mx=he("$ZodReadonly",(e,t)=>{gn.init(e,t),Ln(e._zod,"propValues",()=>t.innerType._zod.propValues),Ln(e._zod,"values",()=>t.innerType._zod.values),Ln(e._zod,"optin",()=>t.innerType?._zod?.optin),Ln(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,o)=>{if(o.direction==="backward")return t.innerType._zod.run(r,o);let i=t.innerType._zod.run(r,o);return i instanceof Promise?i.then(t4):t4(i)}});Lx=he("$ZodTemplateLiteral",(e,t)=>{gn.init(e,t);let r=[];for(let o of t.parts)if(typeof o=="object"&&o!==null){if(!o._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);let i=o._zod.pattern instanceof RegExp?o._zod.pattern.source:o._zod.pattern;if(!i)throw new Error(`Invalid template literal part: ${o._zod.traits}`);let u=i.startsWith("^")?1:0,f=i.endsWith("$")?i.length-1:i.length;r.push(i.slice(u,f))}else if(o===null||wS.has(typeof o))r.push(Su(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(o,i)=>typeof o.value!="string"?(o.issues.push({input:o.value,inst:e,expected:"string",code:"invalid_type"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),o)}),$x=he("$ZodFunction",(e,t)=>(gn.init(e,t),e._def=t,e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...o){let i=e._def.input?UC(e._def.input,o):o,u=Reflect.apply(r,this,i);return e._def.output?UC(e._def.output,u):u}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...o){let i=e._def.input?await kC(e._def.input,o):o,u=await Reflect.apply(r,this,i);return e._def.output?await kC(e._def.output,u):u}},e._zod.parse=(r,o)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let o=e.constructor;return Array.isArray(r[0])?new o({type:"function",input:new iI({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new o({type:"function",input:r[0],output:e._def.output})},e.output=r=>{let o=e.constructor;return new o({type:"function",input:e._def.input,output:r})},e)),Hx=he("$ZodPromise",(e,t)=>{gn.init(e,t),e._zod.parse=(r,o)=>Promise.resolve(r.value).then(i=>t.innerType._zod.run({value:i,issues:[]},o))}),Gx=he("$ZodLazy",(e,t)=>{gn.init(e,t),Ln(e._zod,"innerType",()=>t.getter()),Ln(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Ln(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Ln(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Ln(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,o)=>e._zod.innerType._zod.run(r,o)}),Px=he("$ZodCustom",(e,t)=>{dr.init(e,t),gn.init(e,t),e._zod.parse=(r,o)=>r,e._zod.check=r=>{let o=r.value,i=t.fn(o);if(i instanceof Promise)return i.then(u=>n4(u,r,o,e));n4(i,r,o,e)}})});function l4(){return{localeError:TJ()}}var TJ,u4=Y(()=>{"use strict";x();Vt();TJ=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(i){return e[i]??null}let r={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${i.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${y}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${u}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${y}`}case"invalid_value":return i.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${nt(i.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${i.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${u} ${i.maximum.toString()} ${f.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${i.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${u} ${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${i.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${u} ${i.minimum.toString()} ${f.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${i.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${u} ${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${i.prefix}"`:u.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${u.suffix}"`:u.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${u.includes}"`:u.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${u.pattern}`:`${r[u.format]??i.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${i.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${i.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${i.keys.length>1?"\u0629":""}: ${Re(i.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${i.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${i.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}}});function c4(){return{localeError:UJ()}}var UJ,A4=Y(()=>{"use strict";x();Vt();UJ=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(i){return e[i]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${i.expected}, daxil olan ${y}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${u}, daxil olan ${y}`}case"invalid_value":return i.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${nt(i.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${i.origin??"d\u0259y\u0259r"} ${u}${i.maximum.toString()} ${f.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${i.origin??"d\u0259y\u0259r"} ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${i.origin} ${u}${i.minimum.toString()} ${f.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${i.origin} ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${u.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:u.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${u.suffix}" il\u0259 bitm\u0259lidir`:u.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${u.includes}" daxil olmal\u0131d\u0131r`:u.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${u.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${r[u.format]??i.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${i.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${i.keys.length>1?"lar":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`${i.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${i.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}}});function d4(e,t,r,o){let i=Math.abs(e),u=i%10,f=i%100;return f>=11&&f<=19?o:u===1?t:u>=2&&u<=4?r:o}function f4(){return{localeError:kJ()}}var kJ,p4=Y(()=>{"use strict";x();Vt();kJ=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(i){return e[i]??null}let r={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},o={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${i.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${y}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${u}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${y}`}case"invalid_value":return i.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${nt(i.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);if(f){let y=Number(i.maximum),I=d4(y,f.unit.one,f.unit.few,f.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${f.verb} ${u}${i.maximum.toString()} ${I}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);if(f){let y=Number(i.minimum),I=d4(y,f.unit.one,f.unit.few,f.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${f.verb} ${u}${i.minimum.toString()} ${I}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${u.prefix}"`:u.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${u.suffix}"`:u.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${u.includes}"`:u.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${u.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${r[u.format]??i.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${i.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${i.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${i.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}}});function h4(){return{localeError:OJ()}}var OJ,g4=Y(()=>{"use strict";x();Vt();OJ=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(i){return e[i]??null}let r={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},o={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${y}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${u}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${y}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${nt(i.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${u}${i.maximum.toString()} ${f.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${u}${i.minimum.toString()} ${f.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;if(u.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${u.prefix}"`;if(u.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${u.suffix}"`;if(u.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${u.includes}"`;if(u.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${u.pattern}`;let f="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return u.format==="emoji"&&(f="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),u.format==="datetime"&&(f="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),u.format==="date"&&(f="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),u.format==="time"&&(f="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),u.format==="duration"&&(f="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${f} ${r[u.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${i.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u043E\u0432\u0435":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${i.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}}});function m4(){return{localeError:FJ()}}var FJ,E4=Y(()=>{"use strict";x();Vt();FJ=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(i){return e[i]??null}let r={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${i.expected}, s'ha rebut ${y}`:`Tipus inv\xE0lid: s'esperava ${u}, s'ha rebut ${y}`}case"invalid_value":return i.values.length===1?`Valor inv\xE0lid: s'esperava ${nt(i.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${Re(i.values," o ")}`;case"too_big":{let u=i.inclusive?"com a m\xE0xim":"menys de",f=t(i.origin);return f?`Massa gran: s'esperava que ${i.origin??"el valor"} contingu\xE9s ${u} ${i.maximum.toString()} ${f.unit??"elements"}`:`Massa gran: s'esperava que ${i.origin??"el valor"} fos ${u} ${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?"com a m\xEDnim":"m\xE9s de",f=t(i.origin);return f?`Massa petit: s'esperava que ${i.origin} contingu\xE9s ${u} ${i.minimum.toString()} ${f.unit}`:`Massa petit: s'esperava que ${i.origin} fos ${u} ${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${u.prefix}"`:u.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${u.suffix}"`:u.format==="includes"?`Format inv\xE0lid: ha d'incloure "${u.includes}"`:u.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${u.pattern}`:`Format inv\xE0lid per a ${r[u.format]??i.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${i.divisor}`;case"unrecognized_keys":return`Clau${i.keys.length>1?"s":""} no reconeguda${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${i.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${i.origin}`;default:return"Entrada inv\xE0lida"}}}});function y4(){return{localeError:zJ()}}var zJ,v4=Y(()=>{"use strict";x();Vt();zJ=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(i){return e[i]??null}let r={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},o={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${i.expected}, obdr\u017Eeno ${y}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${u}, obdr\u017Eeno ${y}`}case"invalid_value":return i.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${nt(i.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${i.origin??"hodnota"} mus\xED m\xEDt ${u}${i.maximum.toString()} ${f.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${i.origin??"hodnota"} mus\xED b\xFDt ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${i.origin??"hodnota"} mus\xED m\xEDt ${u}${i.minimum.toString()} ${f.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${i.origin??"hodnota"} mus\xED b\xFDt ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${u.prefix}"`:u.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${u.suffix}"`:u.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${u.includes}"`:u.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${u.pattern}`:`Neplatn\xFD form\xE1t ${r[u.format]??i.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${i.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${Re(i.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${i.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${i.origin}`;default:return"Neplatn\xFD vstup"}}}});function C4(){return{localeError:MJ()}}var MJ,I4=Y(()=>{"use strict";x();Vt();MJ=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(i){return e[i]??null}let r={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},o={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Ugyldigt input: forventede instanceof ${i.expected}, fik ${y}`:`Ugyldigt input: forventede ${u}, fik ${y}`}case"invalid_value":return i.values.length===1?`Ugyldig v\xE6rdi: forventede ${nt(i.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin),y=o[i.origin]??i.origin;return f?`For stor: forventede ${y??"value"} ${f.verb} ${u} ${i.maximum.toString()} ${f.unit??"elementer"}`:`For stor: forventede ${y??"value"} havde ${u} ${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin),y=o[i.origin]??i.origin;return f?`For lille: forventede ${y} ${f.verb} ${u} ${i.minimum.toString()} ${f.unit}`:`For lille: forventede ${y} havde ${u} ${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Ugyldig streng: skal starte med "${u.prefix}"`:u.format==="ends_with"?`Ugyldig streng: skal ende med "${u.suffix}"`:u.format==="includes"?`Ugyldig streng: skal indeholde "${u.includes}"`:u.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${u.pattern}`:`Ugyldig ${r[u.format]??i.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${i.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${i.origin}`;default:return"Ugyldigt input"}}}});function _4(){return{localeError:LJ()}}var LJ,B4=Y(()=>{"use strict";x();Vt();LJ=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(i){return e[i]??null}let r={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},o={nan:"NaN",number:"Zahl",array:"Array"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${i.expected}, erhalten ${y}`:`Ung\xFCltige Eingabe: erwartet ${u}, erhalten ${y}`}case"invalid_value":return i.values.length===1?`Ung\xFCltige Eingabe: erwartet ${nt(i.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Zu gro\xDF: erwartet, dass ${i.origin??"Wert"} ${u}${i.maximum.toString()} ${f.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${i.origin??"Wert"} ${u}${i.maximum.toString()} ist`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Zu klein: erwartet, dass ${i.origin} ${u}${i.minimum.toString()} ${f.unit} hat`:`Zu klein: erwartet, dass ${i.origin} ${u}${i.minimum.toString()} ist`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Ung\xFCltiger String: muss mit "${u.prefix}" beginnen`:u.format==="ends_with"?`Ung\xFCltiger String: muss mit "${u.suffix}" enden`:u.format==="includes"?`Ung\xFCltiger String: muss "${u.includes}" enthalten`:u.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${u.pattern} entsprechen`:`Ung\xFCltig: ${r[u.format]??i.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${i.divisor} sein`;case"unrecognized_keys":return`${i.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${i.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${i.origin}`;default:return"Ung\xFCltige Eingabe"}}}});function aI(){return{localeError:$J()}}var $J,Jx=Y(()=>{"use strict";x();Vt();$J=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return`Invalid input: expected ${u}, received ${y}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${nt(i.values[0])}`:`Invalid option: expected one of ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Too big: expected ${i.origin??"value"} to have ${u}${i.maximum.toString()} ${f.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Too small: expected ${i.origin} to have ${u}${i.minimum.toString()} ${f.unit}`:`Too small: expected ${i.origin} to be ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Invalid string: must start with "${u.prefix}"`:u.format==="ends_with"?`Invalid string: must end with "${u.suffix}"`:u.format==="includes"?`Invalid string: must include "${u.includes}"`:u.format==="regex"?`Invalid string: must match pattern ${u.pattern}`:`Invalid ${r[u.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}}});function D4(){return{localeError:HJ()}}var HJ,S4=Y(()=>{"use strict";x();Vt();HJ=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(i){return e[i]??null}let r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},o={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${i.expected}, ricevi\u011Dis ${y}`:`Nevalida enigo: atendi\u011Dis ${u}, ricevi\u011Dis ${y}`}case"invalid_value":return i.values.length===1?`Nevalida enigo: atendi\u011Dis ${nt(i.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${u}${i.maximum.toString()} ${f.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Tro malgranda: atendi\u011Dis ke ${i.origin} havu ${u}${i.minimum.toString()} ${f.unit}`:`Tro malgranda: atendi\u011Dis ke ${i.origin} estu ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${u.prefix}"`:u.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${u.suffix}"`:u.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${u.includes}"`:u.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${u.pattern}`:`Nevalida ${r[u.format]??i.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${i.divisor}`;case"unrecognized_keys":return`Nekonata${i.keys.length>1?"j":""} \u015Dlosilo${i.keys.length>1?"j":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${i.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${i.origin}`;default:return"Nevalida enigo"}}}});function b4(){return{localeError:GJ()}}var GJ,x4=Y(()=>{"use strict";x();Vt();GJ=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(i){return e[i]??null}let r={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${i.expected}, recibido ${y}`:`Entrada inv\xE1lida: se esperaba ${u}, recibido ${y}`}case"invalid_value":return i.values.length===1?`Entrada inv\xE1lida: se esperaba ${nt(i.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin),y=o[i.origin]??i.origin;return f?`Demasiado grande: se esperaba que ${y??"valor"} tuviera ${u}${i.maximum.toString()} ${f.unit??"elementos"}`:`Demasiado grande: se esperaba que ${y??"valor"} fuera ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin),y=o[i.origin]??i.origin;return f?`Demasiado peque\xF1o: se esperaba que ${y} tuviera ${u}${i.minimum.toString()} ${f.unit}`:`Demasiado peque\xF1o: se esperaba que ${y} fuera ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${u.prefix}"`:u.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${u.suffix}"`:u.format==="includes"?`Cadena inv\xE1lida: debe incluir "${u.includes}"`:u.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${u.pattern}`:`Inv\xE1lido ${r[u.format]??i.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${i.divisor}`;case"unrecognized_keys":return`Llave${i.keys.length>1?"s":""} desconocida${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${o[i.origin]??i.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${o[i.origin]??i.origin}`;default:return"Entrada inv\xE1lida"}}}});function Q4(){return{localeError:PJ()}}var PJ,w4=Y(()=>{"use strict";x();Vt();PJ=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(i){return e[i]??null}let r={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},o={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${i.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${y} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${u} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${y} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return i.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${nt(i.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${Re(i.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${i.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${u}${i.maximum.toString()} ${f.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${i.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${u}${i.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${i.origin} \u0628\u0627\u06CC\u062F ${u}${i.minimum.toString()} ${f.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${i.origin} \u0628\u0627\u06CC\u062F ${u}${i.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${u.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:u.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${u.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:u.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${u.includes}" \u0628\u0627\u0634\u062F`:u.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${u.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${r[u.format]??i.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${i.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${i.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${Re(i.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${i.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${i.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}}});function R4(){return{localeError:jJ()}}var jJ,N4=Y(()=>{"use strict";x();Vt();jJ=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(i){return e[i]??null}let r={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Virheellinen tyyppi: odotettiin instanceof ${i.expected}, oli ${y}`:`Virheellinen tyyppi: odotettiin ${u}, oli ${y}`}case"invalid_value":return i.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${nt(i.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Liian suuri: ${f.subject} t\xE4ytyy olla ${u}${i.maximum.toString()} ${f.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Liian pieni: ${f.subject} t\xE4ytyy olla ${u}${i.minimum.toString()} ${f.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${u.prefix}"`:u.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${u.suffix}"`:u.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${u.includes}"`:u.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${u.pattern}`:`Virheellinen ${r[u.format]??i.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${i.divisor} monikerta`;case"unrecognized_keys":return`${i.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${Re(i.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}}});function T4(){return{localeError:JJ()}}var JJ,U4=Y(()=>{"use strict";x();Vt();JJ=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(i){return e[i]??null}let r={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},o={nan:"NaN",number:"nombre",array:"tableau"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Entr\xE9e invalide : instanceof ${i.expected} attendu, ${y} re\xE7u`:`Entr\xE9e invalide : ${u} attendu, ${y} re\xE7u`}case"invalid_value":return i.values.length===1?`Entr\xE9e invalide : ${nt(i.values[0])} attendu`:`Option invalide : une valeur parmi ${Re(i.values,"|")} attendue`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Trop grand : ${i.origin??"valeur"} doit ${f.verb} ${u}${i.maximum.toString()} ${f.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${i.origin??"valeur"} doit \xEAtre ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Trop petit : ${i.origin} doit ${f.verb} ${u}${i.minimum.toString()} ${f.unit}`:`Trop petit : ${i.origin} doit \xEAtre ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${u.prefix}"`:u.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${u.suffix}"`:u.format==="includes"?`Cha\xEEne invalide : doit inclure "${u.includes}"`:u.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${u.pattern}`:`${r[u.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xE9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${Re(i.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${i.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entr\xE9e invalide"}}}});function k4(){return{localeError:VJ()}}var VJ,O4=Y(()=>{"use strict";x();Vt();VJ=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(i){return e[i]??null}let r={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Entr\xE9e invalide : attendu instanceof ${i.expected}, re\xE7u ${y}`:`Entr\xE9e invalide : attendu ${u}, re\xE7u ${y}`}case"invalid_value":return i.values.length===1?`Entr\xE9e invalide : attendu ${nt(i.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"\u2264":"<",f=t(i.origin);return f?`Trop grand : attendu que ${i.origin??"la valeur"} ait ${u}${i.maximum.toString()} ${f.unit}`:`Trop grand : attendu que ${i.origin??"la valeur"} soit ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?"\u2265":">",f=t(i.origin);return f?`Trop petit : attendu que ${i.origin} ait ${u}${i.minimum.toString()} ${f.unit}`:`Trop petit : attendu que ${i.origin} soit ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${u.prefix}"`:u.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${u.suffix}"`:u.format==="includes"?`Cha\xEEne invalide : doit inclure "${u.includes}"`:u.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${u.pattern}`:`${r[u.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xE9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${Re(i.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${i.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entr\xE9e invalide"}}}});function F4(){return{localeError:KJ()}}var KJ,z4=Y(()=>{"use strict";x();Vt();KJ=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},r=D=>D?e[D]:void 0,o=D=>{let R=r(D);return R?R.label:D??e.unknown.label},i=D=>`\u05D4${o(D)}`,u=D=>(r(D)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",f=D=>D?t[D]??null:null,y={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},I={nan:"NaN"};return D=>{switch(D.code){case"invalid_type":{let R=D.expected,z=I[R??""]??o(R),V=at(D.input),$=I[V]??e[V]?.label??V;return/^[A-Z]/.test(D.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${D.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${$}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${z}, \u05D4\u05EA\u05E7\u05D1\u05DC ${$}`}case"invalid_value":{if(D.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${nt(D.values[0])}`;let R=D.values.map($=>nt($));if(D.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${R[0]} \u05D0\u05D5 ${R[1]}`;let z=R[R.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${R.slice(0,-1).join(", ")} \u05D0\u05D5 ${z}`}case"too_big":{let R=f(D.origin),z=i(D.origin??"value");if(D.origin==="string")return`${R?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${z} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${D.maximum.toString()} ${R?.unit??""} ${D.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(D.origin==="number"){let te=D.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${D.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${D.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${z} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${te}`}if(D.origin==="array"||D.origin==="set"){let te=D.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",re=D.inclusive?`${D.maximum} ${R?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${D.maximum} ${R?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${z} ${te} \u05DC\u05D4\u05DB\u05D9\u05DC ${re}`.trim()}let V=D.inclusive?"<=":"<",$=u(D.origin??"value");return R?.unit?`${R.longLabel} \u05DE\u05D3\u05D9: ${z} ${$} ${V}${D.maximum.toString()} ${R.unit}`:`${R?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${z} ${$} ${V}${D.maximum.toString()}`}case"too_small":{let R=f(D.origin),z=i(D.origin??"value");if(D.origin==="string")return`${R?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${z} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${D.minimum.toString()} ${R?.unit??""} ${D.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(D.origin==="number"){let te=D.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${D.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${D.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${z} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${te}`}if(D.origin==="array"||D.origin==="set"){let te=D.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(D.minimum===1&&D.inclusive){let oe=(D.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${z} ${te} \u05DC\u05D4\u05DB\u05D9\u05DC ${oe}`}let re=D.inclusive?`${D.minimum} ${R?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${D.minimum} ${R?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${z} ${te} \u05DC\u05D4\u05DB\u05D9\u05DC ${re}`.trim()}let V=D.inclusive?">=":">",$=u(D.origin??"value");return R?.unit?`${R.shortLabel} \u05DE\u05D3\u05D9: ${z} ${$} ${V}${D.minimum.toString()} ${R.unit}`:`${R?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${z} ${$} ${V}${D.minimum.toString()}`}case"invalid_format":{let R=D;if(R.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${R.prefix}"`;if(R.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${R.suffix}"`;if(R.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${R.includes}"`;if(R.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${R.pattern}`;let z=y[R.format],V=z?.label??R.format,te=(z?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${V} \u05DC\u05D0 ${te}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${D.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${D.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${D.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${Re(D.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${i(D.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}}});function M4(){return{localeError:ZJ()}}var ZJ,L4=Y(()=>{"use strict";x();Vt();ZJ=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(i){return e[i]??null}let r={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},o={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${i.expected}, a kapott \xE9rt\xE9k ${y}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${u}, a kapott \xE9rt\xE9k ${y}`}case"invalid_value":return i.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${nt(i.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`T\xFAl nagy: ${i.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${u}${i.maximum.toString()} ${f.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${i.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${i.origin} m\xE9rete t\xFAl kicsi ${u}${i.minimum.toString()} ${f.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${i.origin} t\xFAl kicsi ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\xC9rv\xE9nytelen string: "${u.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:u.format==="ends_with"?`\xC9rv\xE9nytelen string: "${u.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:u.format==="includes"?`\xC9rv\xE9nytelen string: "${u.includes}" \xE9rt\xE9ket kell tartalmaznia`:u.format==="regex"?`\xC9rv\xE9nytelen string: ${u.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${r[u.format]??i.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${i.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${i.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${i.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}}});function $4(e,t,r){return Math.abs(e)===1?t:r}function Vh(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],r=e[e.length-1];return e+(t.includes(r)?"\u0576":"\u0568")}function H4(){return{localeError:YJ()}}var YJ,G4=Y(()=>{"use strict";x();Vt();YJ=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(i){return e[i]??null}let r={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},o={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${i.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${y}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${u}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${y}`}case"invalid_value":return i.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${nt(i.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);if(f){let y=Number(i.maximum),I=$4(y,f.unit.one,f.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Vh(i.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${u}${i.maximum.toString()} ${I}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Vh(i.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);if(f){let y=Number(i.minimum),I=$4(y,f.unit.one,f.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Vh(i.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${u}${i.minimum.toString()} ${I}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${Vh(i.origin)} \u056C\u056B\u0576\u056B ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${u.prefix}"-\u0578\u057E`:u.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${u.suffix}"-\u0578\u057E`:u.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${u.includes}"`:u.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${u.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${r[u.format]??i.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${i.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${i.keys.length>1?"\u0576\u0565\u0580":""}. ${Re(i.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${Vh(i.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${Vh(i.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}}});function P4(){return{localeError:qJ()}}var qJ,j4=Y(()=>{"use strict";x();Vt();qJ=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(i){return e[i]??null}let r={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Input tidak valid: diharapkan instanceof ${i.expected}, diterima ${y}`:`Input tidak valid: diharapkan ${u}, diterima ${y}`}case"invalid_value":return i.values.length===1?`Input tidak valid: diharapkan ${nt(i.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Terlalu besar: diharapkan ${i.origin??"value"} memiliki ${u}${i.maximum.toString()} ${f.unit??"elemen"}`:`Terlalu besar: diharapkan ${i.origin??"value"} menjadi ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Terlalu kecil: diharapkan ${i.origin} memiliki ${u}${i.minimum.toString()} ${f.unit}`:`Terlalu kecil: diharapkan ${i.origin} menjadi ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`String tidak valid: harus dimulai dengan "${u.prefix}"`:u.format==="ends_with"?`String tidak valid: harus berakhir dengan "${u.suffix}"`:u.format==="includes"?`String tidak valid: harus menyertakan "${u.includes}"`:u.format==="regex"?`String tidak valid: harus sesuai pola ${u.pattern}`:`${r[u.format]??i.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${i.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${i.origin}`;default:return"Input tidak valid"}}}});function J4(){return{localeError:WJ()}}var WJ,V4=Y(()=>{"use strict";x();Vt();WJ=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(i){return e[i]??null}let r={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},o={nan:"NaN",number:"n\xFAmer",array:"fylki"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${y} \xFEar sem \xE1 a\xF0 vera instanceof ${i.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${y} \xFEar sem \xE1 a\xF0 vera ${u}`}case"invalid_value":return i.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${nt(i.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} hafi ${u}${i.maximum.toString()} ${f.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} s\xE9 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} hafi ${u}${i.minimum.toString()} ${f.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} s\xE9 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${u.prefix}"`:u.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${u.suffix}"`:u.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${u.includes}"`:u.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${u.pattern}`:`Rangt ${r[u.format]??i.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${i.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${i.keys.length>1?"ir lyklar":"ur lykill"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${i.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${i.origin}`;default:return"Rangt gildi"}}}});function K4(){return{localeError:XJ()}}var XJ,Z4=Y(()=>{"use strict";x();Vt();XJ=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(i){return e[i]??null}let r={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"numero",array:"vettore"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Input non valido: atteso instanceof ${i.expected}, ricevuto ${y}`:`Input non valido: atteso ${u}, ricevuto ${y}`}case"invalid_value":return i.values.length===1?`Input non valido: atteso ${nt(i.values[0])}`:`Opzione non valida: atteso uno tra ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Troppo grande: ${i.origin??"valore"} deve avere ${u}${i.maximum.toString()} ${f.unit??"elementi"}`:`Troppo grande: ${i.origin??"valore"} deve essere ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Troppo piccolo: ${i.origin} deve avere ${u}${i.minimum.toString()} ${f.unit}`:`Troppo piccolo: ${i.origin} deve essere ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Stringa non valida: deve iniziare con "${u.prefix}"`:u.format==="ends_with"?`Stringa non valida: deve terminare con "${u.suffix}"`:u.format==="includes"?`Stringa non valida: deve includere "${u.includes}"`:u.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${u.pattern}`:`Invalid ${r[u.format]??i.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${i.divisor}`;case"unrecognized_keys":return`Chiav${i.keys.length>1?"i":"e"} non riconosciut${i.keys.length>1?"e":"a"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${i.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${i.origin}`;default:return"Input non valido"}}}});function Y4(){return{localeError:e9()}}var e9,q4=Y(()=>{"use strict";x();Vt();e9=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(i){return e[i]??null}let r={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},o={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${i.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${y}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${u}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${y}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return i.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${nt(i.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${Re(i.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let u=i.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",f=t(i.origin);return f?`\u5927\u304D\u3059\u304E\u308B\u5024: ${i.origin??"\u5024"}\u306F${i.maximum.toString()}${f.unit??"\u8981\u7D20"}${u}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${i.origin??"\u5024"}\u306F${i.maximum.toString()}${u}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let u=i.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",f=t(i.origin);return f?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${i.origin}\u306F${i.minimum.toString()}${f.unit}${u}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${i.origin}\u306F${i.minimum.toString()}${u}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${u.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:u.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${u.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:u.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${u.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:u.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${u.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${r[u.format]??i.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${i.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${i.keys.length>1?"\u7FA4":""}: ${Re(i.keys,"\u3001")}`;case"invalid_key":return`${i.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${i.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}}});function W4(){return{localeError:t9()}}var t9,X4=Y(()=>{"use strict";x();Vt();t9=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(i){return e[i]??null}let r={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",json_string:"JSON \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},o={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${i.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${y}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${u}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${y}`}case"invalid_value":return i.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${nt(i.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${Re(i.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${f.verb} ${u}${i.maximum.toString()} ${f.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin} ${f.verb} ${u}${i.minimum.toString()} ${f.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin} \u10D8\u10E7\u10DD\u10E1 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${u.prefix}"-\u10D8\u10D7`:u.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${u.suffix}"-\u10D8\u10D7`:u.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${u.includes}"-\u10E1`:u.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E1\u10E2\u10E0\u10D8\u10DC\u10D2\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${u.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${i.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${i.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${i.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${i.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}}});function oI(){return{localeError:n9()}}var n9,Vx=Y(()=>{"use strict";x();Vt();n9=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(i){return e[i]??null}let r={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},o={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${i.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${y}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${u} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${y}`}case"invalid_value":return i.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${nt(i.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${u} ${i.maximum.toString()} ${f.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${u} ${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin} ${u} ${i.minimum.toString()} ${f.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin} ${u} ${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${u.prefix}"`:u.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${u.suffix}"`:u.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${u.includes}"`:u.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${u.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${i.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${Re(i.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${i.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${i.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}}});function ez(){return oI()}var tz=Y(()=>{"use strict";x();Vx()});function nz(){return{localeError:i9()}}var i9,iz=Y(()=>{"use strict";x();Vt();i9=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(i){return e[i]??null}let r={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${i.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${y}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${u}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${y}\uC785\uB2C8\uB2E4`}case"invalid_value":return i.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${nt(i.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${Re(i.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let u=i.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",f=u==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",y=t(i.origin),I=y?.unit??"\uC694\uC18C";return y?`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${i.maximum.toString()}${I} ${u}${f}`:`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${i.maximum.toString()} ${u}${f}`}case"too_small":{let u=i.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",f=u==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",y=t(i.origin),I=y?.unit??"\uC694\uC18C";return y?`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${i.minimum.toString()}${I} ${u}${f}`:`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${i.minimum.toString()} ${u}${f}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${u.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:u.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${u.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:u.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${u.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:u.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${u.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${r[u.format]??i.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${i.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${Re(i.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${i.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${i.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}}});function rz(e){let t=Math.abs(e),r=t%10,o=t%100;return o>=11&&o<=19||r===0?"many":r===1?"one":"few"}function az(){return{localeError:r9()}}var OE,r9,oz=Y(()=>{"use strict";x();Vt();OE=e=>e.charAt(0).toUpperCase()+e.slice(1);r9=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(i,u,f,y){let I=e[i]??null;return I===null?I:{unit:I.unit[u],verb:I.verb[y][f?"inclusive":"notInclusive"]}}let r={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},o={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Gautas tipas ${y}, o tik\u0117tasi - instanceof ${i.expected}`:`Gautas tipas ${y}, o tik\u0117tasi - ${u}`}case"invalid_value":return i.values.length===1?`Privalo b\u016Bti ${nt(i.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${Re(i.values,"|")} pasirinkim\u0173`;case"too_big":{let u=o[i.origin]??i.origin,f=t(i.origin,rz(Number(i.maximum)),i.inclusive??!1,"smaller");if(f?.verb)return`${OE(u??i.origin??"reik\u0161m\u0117")} ${f.verb} ${i.maximum.toString()} ${f.unit??"element\u0173"}`;let y=i.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${OE(u??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${y} ${i.maximum.toString()} ${f?.unit}`}case"too_small":{let u=o[i.origin]??i.origin,f=t(i.origin,rz(Number(i.minimum)),i.inclusive??!1,"bigger");if(f?.verb)return`${OE(u??i.origin??"reik\u0161m\u0117")} ${f.verb} ${i.minimum.toString()} ${f.unit??"element\u0173"}`;let y=i.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${OE(u??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${y} ${i.minimum.toString()} ${f?.unit}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${u.prefix}"`:u.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${u.suffix}"`:u.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${u.includes}"`:u.format==="regex"?`Eilut\u0117 privalo atitikti ${u.pattern}`:`Neteisingas ${r[u.format]??i.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${i.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${i.keys.length>1?"i":"as"} rakt${i.keys.length>1?"ai":"as"}: ${Re(i.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let u=o[i.origin]??i.origin;return`${OE(u??i.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}}});function sz(){return{localeError:a9()}}var a9,lz=Y(()=>{"use strict";x();Vt();a9=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(i){return e[i]??null}let r={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},o={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${i.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${y}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${u}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${y}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${nt(i.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${u}${i.maximum.toString()} ${f.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin} \u0434\u0430 \u0438\u043C\u0430 ${u}${i.minimum.toString()} ${f.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${u.prefix}"`:u.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${u.suffix}"`:u.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${u.includes}"`:u.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${u.pattern}`:`Invalid ${r[u.format]??i.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${i.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${i.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}}});function uz(){return{localeError:o9()}}var o9,cz=Y(()=>{"use strict";x();Vt();o9=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(i){return e[i]??null}let r={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"nombor"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Input tidak sah: dijangka instanceof ${i.expected}, diterima ${y}`:`Input tidak sah: dijangka ${u}, diterima ${y}`}case"invalid_value":return i.values.length===1?`Input tidak sah: dijangka ${nt(i.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Terlalu besar: dijangka ${i.origin??"nilai"} ${f.verb} ${u}${i.maximum.toString()} ${f.unit??"elemen"}`:`Terlalu besar: dijangka ${i.origin??"nilai"} adalah ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Terlalu kecil: dijangka ${i.origin} ${f.verb} ${u}${i.minimum.toString()} ${f.unit}`:`Terlalu kecil: dijangka ${i.origin} adalah ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`String tidak sah: mesti bermula dengan "${u.prefix}"`:u.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${u.suffix}"`:u.format==="includes"?`String tidak sah: mesti mengandungi "${u.includes}"`:u.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${u.pattern}`:`${r[u.format]??i.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${Re(i.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${i.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${i.origin}`;default:return"Input tidak sah"}}}});function Az(){return{localeError:s9()}}var s9,dz=Y(()=>{"use strict";x();Vt();s9=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(i){return e[i]??null}let r={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},o={nan:"NaN",number:"getal"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Ongeldige invoer: verwacht instanceof ${i.expected}, ontving ${y}`:`Ongeldige invoer: verwacht ${u}, ontving ${y}`}case"invalid_value":return i.values.length===1?`Ongeldige invoer: verwacht ${nt(i.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin),y=i.origin==="date"?"laat":i.origin==="string"?"lang":"groot";return f?`Te ${y}: verwacht dat ${i.origin??"waarde"} ${u}${i.maximum.toString()} ${f.unit??"elementen"} ${f.verb}`:`Te ${y}: verwacht dat ${i.origin??"waarde"} ${u}${i.maximum.toString()} is`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin),y=i.origin==="date"?"vroeg":i.origin==="string"?"kort":"klein";return f?`Te ${y}: verwacht dat ${i.origin} ${u}${i.minimum.toString()} ${f.unit} ${f.verb}`:`Te ${y}: verwacht dat ${i.origin} ${u}${i.minimum.toString()} is`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Ongeldige tekst: moet met "${u.prefix}" beginnen`:u.format==="ends_with"?`Ongeldige tekst: moet op "${u.suffix}" eindigen`:u.format==="includes"?`Ongeldige tekst: moet "${u.includes}" bevatten`:u.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${u.pattern}`:`Ongeldig: ${r[u.format]??i.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${i.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${i.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${i.origin}`;default:return"Ongeldige invoer"}}}});function fz(){return{localeError:l9()}}var l9,pz=Y(()=>{"use strict";x();Vt();l9=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(i){return e[i]??null}let r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"tall",array:"liste"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Ugyldig input: forventet instanceof ${i.expected}, fikk ${y}`:`Ugyldig input: forventet ${u}, fikk ${y}`}case"invalid_value":return i.values.length===1?`Ugyldig verdi: forventet ${nt(i.values[0])}`:`Ugyldig valg: forventet en av ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`For stor(t): forventet ${i.origin??"value"} til \xE5 ha ${u}${i.maximum.toString()} ${f.unit??"elementer"}`:`For stor(t): forventet ${i.origin??"value"} til \xE5 ha ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`For lite(n): forventet ${i.origin} til \xE5 ha ${u}${i.minimum.toString()} ${f.unit}`:`For lite(n): forventet ${i.origin} til \xE5 ha ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${u.prefix}"`:u.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${u.suffix}"`:u.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${u.includes}"`:u.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${u.pattern}`:`Ugyldig ${r[u.format]??i.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${i.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${i.origin}`;default:return"Ugyldig input"}}}});function hz(){return{localeError:u9()}}var u9,gz=Y(()=>{"use strict";x();Vt();u9=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(i){return e[i]??null}let r={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},o={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`F\xE2sit giren: umulan instanceof ${i.expected}, al\u0131nan ${y}`:`F\xE2sit giren: umulan ${u}, al\u0131nan ${y}`}case"invalid_value":return i.values.length===1?`F\xE2sit giren: umulan ${nt(i.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Fazla b\xFCy\xFCk: ${i.origin??"value"}, ${u}${i.maximum.toString()} ${f.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${i.origin??"value"}, ${u}${i.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Fazla k\xFC\xE7\xFCk: ${i.origin}, ${u}${i.minimum.toString()} ${f.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${i.origin}, ${u}${i.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let u=i;return u.format==="starts_with"?`F\xE2sit metin: "${u.prefix}" ile ba\u015Flamal\u0131.`:u.format==="ends_with"?`F\xE2sit metin: "${u.suffix}" ile bitmeli.`:u.format==="includes"?`F\xE2sit metin: "${u.includes}" ihtiv\xE2 etmeli.`:u.format==="regex"?`F\xE2sit metin: ${u.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${r[u.format]??i.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${i.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${i.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}}});function mz(){return{localeError:c9()}}var c9,Ez=Y(()=>{"use strict";x();Vt();c9=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(i){return e[i]??null}let r={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},o={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${i.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${y} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${u} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${y} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return i.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${nt(i.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${Re(i.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${i.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${u}${i.maximum.toString()} ${f.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${i.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${u}${i.maximum.toString()} \u0648\u064A`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${i.origin} \u0628\u0627\u06CC\u062F ${u}${i.minimum.toString()} ${f.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${i.origin} \u0628\u0627\u06CC\u062F ${u}${i.minimum.toString()} \u0648\u064A`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${u.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:u.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${u.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:u.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${u.includes}" \u0648\u0644\u0631\u064A`:u.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${u.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${r[u.format]??i.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${i.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${i.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${i.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${i.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}}});function yz(){return{localeError:A9()}}var A9,vz=Y(()=>{"use strict";x();Vt();A9=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(i){return e[i]??null}let r={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},o={nan:"NaN",number:"liczba",array:"tablica"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${i.expected}, otrzymano ${y}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${u}, otrzymano ${y}`}case"invalid_value":return i.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${nt(i.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${u}${i.maximum.toString()} ${f.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${u}${i.minimum.toString()} ${f.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${u.prefix}"`:u.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${u.suffix}"`:u.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${u.includes}"`:u.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${u.pattern}`:`Nieprawid\u0142ow(y/a/e) ${r[u.format]??i.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${i.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${i.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${i.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}}});function Cz(){return{localeError:d9()}}var d9,Iz=Y(()=>{"use strict";x();Vt();d9=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(i){return e[i]??null}let r={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN",number:"n\xFAmero",null:"nulo"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Tipo inv\xE1lido: esperado instanceof ${i.expected}, recebido ${y}`:`Tipo inv\xE1lido: esperado ${u}, recebido ${y}`}case"invalid_value":return i.values.length===1?`Entrada inv\xE1lida: esperado ${nt(i.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Muito grande: esperado que ${i.origin??"valor"} tivesse ${u}${i.maximum.toString()} ${f.unit??"elementos"}`:`Muito grande: esperado que ${i.origin??"valor"} fosse ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Muito pequeno: esperado que ${i.origin} tivesse ${u}${i.minimum.toString()} ${f.unit}`:`Muito pequeno: esperado que ${i.origin} fosse ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${u.prefix}"`:u.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${u.suffix}"`:u.format==="includes"?`Texto inv\xE1lido: deve incluir "${u.includes}"`:u.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${u.pattern}`:`${r[u.format]??i.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${i.divisor}`;case"unrecognized_keys":return`Chave${i.keys.length>1?"s":""} desconhecida${i.keys.length>1?"s":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${i.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${i.origin}`;default:return"Campo inv\xE1lido"}}}});function _z(e,t,r,o){let i=Math.abs(e),u=i%10,f=i%100;return f>=11&&f<=19?o:u===1?t:u>=2&&u<=4?r:o}function Bz(){return{localeError:f9()}}var f9,Dz=Y(()=>{"use strict";x();Vt();f9=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(i){return e[i]??null}let r={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},o={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${y}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${u}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${y}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${nt(i.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);if(f){let y=Number(i.maximum),I=_z(y,f.unit.one,f.unit.few,f.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${u}${i.maximum.toString()} ${I}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);if(f){let y=Number(i.minimum),I=_z(y,f.unit.one,f.unit.few,f.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${u}${i.minimum.toString()} ${I}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin} \u0431\u0443\u0434\u0435\u0442 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${u.prefix}"`:u.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${u.suffix}"`:u.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${u.includes}"`:u.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${u.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${i.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u0438":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${i.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}}});function Sz(){return{localeError:p9()}}var p9,bz=Y(()=>{"use strict";x();Vt();p9=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(i){return e[i]??null}let r={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},o={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${i.expected}, prejeto ${y}`:`Neveljaven vnos: pri\u010Dakovano ${u}, prejeto ${y}`}case"invalid_value":return i.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${nt(i.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Preveliko: pri\u010Dakovano, da bo ${i.origin??"vrednost"} imelo ${u}${i.maximum.toString()} ${f.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${i.origin??"vrednost"} ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Premajhno: pri\u010Dakovano, da bo ${i.origin} imelo ${u}${i.minimum.toString()} ${f.unit}`:`Premajhno: pri\u010Dakovano, da bo ${i.origin} ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${u.prefix}"`:u.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${u.suffix}"`:u.format==="includes"?`Neveljaven niz: mora vsebovati "${u.includes}"`:u.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${u.pattern}`:`Neveljaven ${r[u.format]??i.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${i.divisor}`;case"unrecognized_keys":return`Neprepoznan${i.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${i.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${i.origin}`;default:return"Neveljaven vnos"}}}});function xz(){return{localeError:h9()}}var h9,Qz=Y(()=>{"use strict";x();Vt();h9=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(i){return e[i]??null}let r={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},o={nan:"NaN",number:"antal",array:"lista"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${i.expected}, fick ${y}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${u}, fick ${y}`}case"invalid_value":return i.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${nt(i.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`F\xF6r stor(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${u}${i.maximum.toString()} ${f.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${i.origin??"v\xE4rdet"} att ha ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`F\xF6r lite(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${u}${i.minimum.toString()} ${f.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${u.prefix}"`:u.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${u.suffix}"`:u.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${u.includes}"`:u.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${u.pattern}"`:`Ogiltig(t) ${r[u.format]??i.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${Re(i.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${i.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${i.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}}});function wz(){return{localeError:g9()}}var g9,Rz=Y(()=>{"use strict";x();Vt();g9=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(i){return e[i]??null}let r={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${i.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${y}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${u}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${y}`}case"invalid_value":return i.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${nt(i.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${Re(i.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${u}${i.maximum.toString()} ${f.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${u}${i.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin} ${u}${i.minimum.toString()} ${f.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin} ${u}${i.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${u.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:u.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${u.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:u.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${u.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:u.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${u.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${i.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${i.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`${i.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${i.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}}});function Nz(){return{localeError:m9()}}var m9,Tz=Y(()=>{"use strict";x();Vt();m9=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(i){return e[i]??null}let r={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},o={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${i.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${y}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${u} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${y}`}case"invalid_value":return i.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${nt(i.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",f=t(i.origin);return f?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${u} ${i.maximum.toString()} ${f.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${u} ${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",f=t(i.origin);return f?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${u} ${i.minimum.toString()} ${f.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${u} ${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${u.prefix}"`:u.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${u.suffix}"`:u.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${u.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:u.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${u.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${r[u.format]??i.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${i.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${Re(i.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${i.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${i.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}}});function Uz(){return{localeError:E9()}}var E9,kz=Y(()=>{"use strict";x();Vt();E9=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(i){return e[i]??null}let r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${i.expected}, al\u0131nan ${y}`:`Ge\xE7ersiz de\u011Fer: beklenen ${u}, al\u0131nan ${y}`}case"invalid_value":return i.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${nt(i.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${u}${i.maximum.toString()} ${f.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${u}${i.minimum.toString()} ${f.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Ge\xE7ersiz metin: "${u.prefix}" ile ba\u015Flamal\u0131`:u.format==="ends_with"?`Ge\xE7ersiz metin: "${u.suffix}" ile bitmeli`:u.format==="includes"?`Ge\xE7ersiz metin: "${u.includes}" i\xE7ermeli`:u.format==="regex"?`Ge\xE7ersiz metin: ${u.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${r[u.format]??i.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${i.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${i.keys.length>1?"lar":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${i.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}}});function sI(){return{localeError:y9()}}var y9,Kx=Y(()=>{"use strict";x();Vt();y9=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(i){return e[i]??null}let r={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},o={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${i.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${y}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${u}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${y}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${nt(i.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${f.verb} ${u}${i.maximum.toString()} ${f.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin} ${f.verb} ${u}${i.minimum.toString()} ${f.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin} \u0431\u0443\u0434\u0435 ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${u.prefix}"`:u.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${u.suffix}"`:u.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${u.includes}"`:u.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${u.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${i.keys.length>1?"\u0456":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${i.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}}});function Oz(){return sI()}var Fz=Y(()=>{"use strict";x();Kx()});function zz(){return{localeError:v9()}}var v9,Mz=Y(()=>{"use strict";x();Vt();v9=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(i){return e[i]??null}let r={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},o={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${i.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${y} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${u} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${y} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return i.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${nt(i.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${Re(i.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${i.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${u}${i.maximum.toString()} ${f.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${i.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${u}${i.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${i.origin} \u06A9\u06D2 ${u}${i.minimum.toString()} ${f.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${i.origin} \u06A9\u0627 ${u}${i.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${u.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:u.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${u.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:u.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${u.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:u.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${u.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${i.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${i.keys.length>1?"\u0632":""}: ${Re(i.keys,"\u060C ")}`;case"invalid_key":return`${i.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${i.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}}});function Lz(){return{localeError:C9()}}var C9,$z=Y(()=>{"use strict";x();Vt();C9=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"}};function t(i){return e[i]??null}let r={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},o={nan:"NaN",number:"raqam",array:"massiv"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${i.expected}, qabul qilingan ${y}`:`Noto\u2018g\u2018ri kirish: kutilgan ${u}, qabul qilingan ${y}`}case"invalid_value":return i.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${nt(i.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Juda katta: kutilgan ${i.origin??"qiymat"} ${u}${i.maximum.toString()} ${f.unit} ${f.verb}`:`Juda katta: kutilgan ${i.origin??"qiymat"} ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Juda kichik: kutilgan ${i.origin} ${u}${i.minimum.toString()} ${f.unit} ${f.verb}`:`Juda kichik: kutilgan ${i.origin} ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${u.prefix}" bilan boshlanishi kerak`:u.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${u.suffix}" bilan tugashi kerak`:u.format==="includes"?`Noto\u2018g\u2018ri satr: "${u.includes}" ni o\u2018z ichiga olishi kerak`:u.format==="regex"?`Noto\u2018g\u2018ri satr: ${u.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${r[u.format]??i.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${i.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${i.keys.length>1?"lar":""}: ${Re(i.keys,", ")}`;case"invalid_key":return`${i.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${i.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}}});function Hz(){return{localeError:I9()}}var I9,Gz=Y(()=>{"use strict";x();Vt();I9=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(i){return e[i]??null}let r={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},o={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${i.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${y}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${u}, nh\u1EADn \u0111\u01B0\u1EE3c ${y}`}case"invalid_value":return i.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${nt(i.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${i.origin??"gi\xE1 tr\u1ECB"} ${f.verb} ${u}${i.maximum.toString()} ${f.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${i.origin??"gi\xE1 tr\u1ECB"} ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${i.origin} ${f.verb} ${u}${i.minimum.toString()} ${f.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${i.origin} ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${u.prefix}"`:u.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${u.suffix}"`:u.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${u.includes}"`:u.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${u.pattern}`:`${r[u.format]??i.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${i.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${Re(i.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${i.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${i.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}}});function Pz(){return{localeError:_9()}}var _9,jz=Y(()=>{"use strict";x();Vt();_9=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(i){return e[i]??null}let r={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},o={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${i.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${y}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${u}\uFF0C\u5B9E\u9645\u63A5\u6536 ${y}`}case"invalid_value":return i.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${nt(i.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${i.origin??"\u503C"} ${u}${i.maximum.toString()} ${f.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${i.origin??"\u503C"} ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${i.origin} ${u}${i.minimum.toString()} ${f.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${i.origin} ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${u.prefix}" \u5F00\u5934`:u.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${u.suffix}" \u7ED3\u5C3E`:u.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${u.includes}"`:u.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${u.pattern}`:`\u65E0\u6548${r[u.format]??i.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${i.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${Re(i.keys,", ")}`;case"invalid_key":return`${i.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${i.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}}});function Jz(){return{localeError:B9()}}var B9,Vz=Y(()=>{"use strict";x();Vt();B9=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(i){return e[i]??null}let r={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},o={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${i.expected}\uFF0C\u4F46\u6536\u5230 ${y}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${u}\uFF0C\u4F46\u6536\u5230 ${y}`}case"invalid_value":return i.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${nt(i.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${i.origin??"\u503C"} \u61C9\u70BA ${u}${i.maximum.toString()} ${f.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${i.origin??"\u503C"} \u61C9\u70BA ${u}${i.maximum.toString()}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${i.origin} \u61C9\u70BA ${u}${i.minimum.toString()} ${f.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${i.origin} \u61C9\u70BA ${u}${i.minimum.toString()}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${u.prefix}" \u958B\u982D`:u.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${u.suffix}" \u7D50\u5C3E`:u.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${u.includes}"`:u.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${u.pattern}`:`\u7121\u6548\u7684 ${r[u.format]??i.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${i.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${i.keys.length>1?"\u5011":""}\uFF1A${Re(i.keys,"\u3001")}`;case"invalid_key":return`${i.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${i.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}}});function Kz(){return{localeError:D9()}}var D9,Zz=Y(()=>{"use strict";x();Vt();D9=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(i){return e[i]??null}let r={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},o={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return i=>{switch(i.code){case"invalid_type":{let u=o[i.expected]??i.expected,f=at(i.input),y=o[f]??f;return/^[A-Z]/.test(i.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${i.expected}, \xE0m\u1ECD\u0300 a r\xED ${y}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${u}, \xE0m\u1ECD\u0300 a r\xED ${y}`}case"invalid_value":return i.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${nt(i.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${Re(i.values,"|")}`;case"too_big":{let u=i.inclusive?"<=":"<",f=t(i.origin);return f?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${i.origin??"iye"} ${f.verb} ${u}${i.maximum} ${f.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${u}${i.maximum}`}case"too_small":{let u=i.inclusive?">=":">",f=t(i.origin);return f?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${i.origin} ${f.verb} ${u}${i.minimum} ${f.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${u}${i.minimum}`}case"invalid_format":{let u=i;return u.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${u.prefix}"`:u.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${u.suffix}"`:u.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${u.includes}"`:u.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${u.pattern}`:`A\u1E63\xEC\u1E63e: ${r[u.format]??i.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${i.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${Re(i.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${i.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${i.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}}});var FE={};Ea(FE,{ar:()=>l4,az:()=>c4,be:()=>f4,bg:()=>h4,ca:()=>m4,cs:()=>y4,da:()=>C4,de:()=>_4,en:()=>aI,eo:()=>D4,es:()=>b4,fa:()=>Q4,fi:()=>R4,fr:()=>T4,frCA:()=>k4,he:()=>F4,hu:()=>M4,hy:()=>H4,id:()=>P4,is:()=>J4,it:()=>K4,ja:()=>Y4,ka:()=>W4,kh:()=>ez,km:()=>oI,ko:()=>nz,lt:()=>az,mk:()=>sz,ms:()=>uz,nl:()=>Az,no:()=>fz,ota:()=>hz,pl:()=>yz,ps:()=>mz,pt:()=>Cz,ru:()=>Bz,sl:()=>Sz,sv:()=>xz,ta:()=>wz,th:()=>Nz,tr:()=>Uz,ua:()=>Oz,uk:()=>sI,ur:()=>zz,uz:()=>Lz,vi:()=>Hz,yo:()=>Kz,zhCN:()=>Pz,zhTW:()=>Jz});var Zx=Y(()=>{"use strict";x();u4();A4();p4();g4();E4();v4();I4();B4();Jx();S4();x4();w4();N4();U4();O4();z4();L4();G4();j4();V4();Z4();q4();X4();tz();Vx();iz();oz();lz();cz();dz();pz();gz();Ez();vz();Iz();Dz();bz();Qz();Rz();Tz();kz();Fz();Kx();Mz();$z();Gz();jz();Vz();Zz()});function uI(){return new lI}var Yz,Yx,qx,lI,Oo,zE=Y(()=>{"use strict";x();Yx=Symbol("ZodOutput"),qx=Symbol("ZodInput"),lI=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let o=r[0];return this._map.set(t,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let o={...this.get(r)??{}};delete o.id;let i={...o,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};(Yz=globalThis).__zod_globalRegistry??(Yz.__zod_globalRegistry=uI());Oo=globalThis.__zod_globalRegistry});function Wx(e,t){return new e({type:"string",...At(t)})}function Xx(e,t){return new e({type:"string",coerce:!0,...At(t)})}function cI(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...At(t)})}function ME(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...At(t)})}function AI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...At(t)})}function dI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...At(t)})}function fI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...At(t)})}function pI(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...At(t)})}function LE(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...At(t)})}function hI(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...At(t)})}function gI(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...At(t)})}function mI(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...At(t)})}function EI(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...At(t)})}function yI(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...At(t)})}function vI(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...At(t)})}function CI(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...At(t)})}function II(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...At(t)})}function _I(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...At(t)})}function eQ(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...At(t)})}function BI(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...At(t)})}function DI(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...At(t)})}function SI(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...At(t)})}function bI(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...At(t)})}function xI(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...At(t)})}function QI(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...At(t)})}function nQ(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...At(t)})}function iQ(e,t){return new e({type:"string",format:"date",check:"string_format",...At(t)})}function rQ(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...At(t)})}function aQ(e,t){return new e({type:"string",format:"duration",check:"string_format",...At(t)})}function oQ(e,t){return new e({type:"number",checks:[],...At(t)})}function sQ(e,t){return new e({type:"number",coerce:!0,checks:[],...At(t)})}function lQ(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...At(t)})}function uQ(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...At(t)})}function cQ(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...At(t)})}function AQ(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...At(t)})}function dQ(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...At(t)})}function fQ(e,t){return new e({type:"boolean",...At(t)})}function pQ(e,t){return new e({type:"boolean",coerce:!0,...At(t)})}function hQ(e,t){return new e({type:"bigint",...At(t)})}function gQ(e,t){return new e({type:"bigint",coerce:!0,...At(t)})}function mQ(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...At(t)})}function EQ(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...At(t)})}function yQ(e,t){return new e({type:"symbol",...At(t)})}function vQ(e,t){return new e({type:"undefined",...At(t)})}function CQ(e,t){return new e({type:"null",...At(t)})}function IQ(e){return new e({type:"any"})}function _Q(e){return new e({type:"unknown"})}function BQ(e,t){return new e({type:"never",...At(t)})}function DQ(e,t){return new e({type:"void",...At(t)})}function SQ(e,t){return new e({type:"date",...At(t)})}function bQ(e,t){return new e({type:"date",coerce:!0,...At(t)})}function xQ(e,t){return new e({type:"nan",...At(t)})}function $c(e,t){return new VC({check:"less_than",...At(t),value:e,inclusive:!1})}function Tl(e,t){return new VC({check:"less_than",...At(t),value:e,inclusive:!0})}function Hc(e,t){return new KC({check:"greater_than",...At(t),value:e,inclusive:!1})}function Ss(e,t){return new KC({check:"greater_than",...At(t),value:e,inclusive:!0})}function wI(e){return Hc(0,e)}function RI(e){return $c(0,e)}function NI(e){return Tl(0,e)}function TI(e){return Ss(0,e)}function Hd(e,t){return new pb({check:"multiple_of",...At(t),value:e})}function Gd(e,t){return new mb({check:"max_size",...At(t),maximum:e})}function Gc(e,t){return new Eb({check:"min_size",...At(t),minimum:e})}function np(e,t){return new yb({check:"size_equals",...At(t),size:e})}function ip(e,t){return new vb({check:"max_length",...At(t),maximum:e})}function GA(e,t){return new Cb({check:"min_length",...At(t),minimum:e})}function rp(e,t){return new Ib({check:"length_equals",...At(t),length:e})}function Kh(e,t){return new _b({check:"string_format",format:"regex",...At(t),pattern:e})}function Zh(e){return new Bb({check:"string_format",format:"lowercase",...At(e)})}function Yh(e){return new Db({check:"string_format",format:"uppercase",...At(e)})}function qh(e,t){return new Sb({check:"string_format",format:"includes",...At(t),includes:e})}function Wh(e,t){return new bb({check:"string_format",format:"starts_with",...At(t),prefix:e})}function Xh(e,t){return new xb({check:"string_format",format:"ends_with",...At(t),suffix:e})}function UI(e,t,r){return new Qb({check:"property",property:e,schema:t,...At(r)})}function eg(e,t){return new wb({check:"mime_type",mime:e,...At(t)})}function nc(e){return new Rb({check:"overwrite",tx:e})}function tg(e){return nc(t=>t.normalize(e))}function ng(){return nc(e=>e.trim())}function ig(){return nc(e=>e.toLowerCase())}function rg(){return nc(e=>e.toUpperCase())}function ag(){return nc(e=>bS(e))}function QQ(e,t,r){return new e({type:"array",element:t,...At(r)})}function b9(e,t,r){return new e({type:"union",options:t,...At(r)})}function x9(e,t,r){return new e({type:"union",options:t,inclusive:!1,...At(r)})}function Q9(e,t,r,o){return new e({type:"union",options:r,discriminator:t,...At(o)})}function w9(e,t,r){return new e({type:"intersection",left:t,right:r})}function R9(e,t,r,o){let i=r instanceof gn,u=i?o:r,f=i?r:null;return new e({type:"tuple",items:t,rest:f,...At(u)})}function N9(e,t,r,o){return new e({type:"record",keyType:t,valueType:r,...At(o)})}function T9(e,t,r,o){return new e({type:"map",keyType:t,valueType:r,...At(o)})}function U9(e,t,r){return new e({type:"set",valueType:t,...At(r)})}function k9(e,t,r){let o=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new e({type:"enum",entries:o,...At(r)})}function O9(e,t,r){return new e({type:"enum",entries:t,...At(r)})}function F9(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...At(r)})}function wQ(e,t){return new e({type:"file",...At(t)})}function z9(e,t){return new e({type:"transform",transform:t})}function M9(e,t){return new e({type:"optional",innerType:t})}function L9(e,t){return new e({type:"nullable",innerType:t})}function $9(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():QS(r)}})}function H9(e,t,r){return new e({type:"nonoptional",innerType:t,...At(r)})}function G9(e,t){return new e({type:"success",innerType:t})}function P9(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function j9(e,t,r){return new e({type:"pipe",in:t,out:r})}function J9(e,t){return new e({type:"readonly",innerType:t})}function V9(e,t,r){return new e({type:"template_literal",parts:t,...At(r)})}function K9(e,t){return new e({type:"lazy",getter:t})}function Z9(e,t){return new e({type:"promise",innerType:t})}function RQ(e,t,r){let o=At(r);return o.abort??(o.abort=!0),new e({type:"custom",check:"custom",fn:t,...o})}function NQ(e,t,r){return new e({type:"custom",check:"custom",fn:t,...At(r)})}function TQ(e){let t=qz(r=>(r.addIssue=o=>{if(typeof o=="string")r.issues.push($h(o,r.value,t._zod.def));else{let i=o;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=r.value),i.inst??(i.inst=t),i.continue??(i.continue=!t._zod.def.abort),r.issues.push($h(i))}},e(r.value,r)));return t}function qz(e,t){let r=new dr({check:"custom",...At(t)});return r._zod.check=e,r}function UQ(e){let t=new dr({check:"describe"});return t._zod.onattach=[r=>{let o=Oo.get(r)??{};Oo.add(r,{...o,description:e})}],t._zod.check=()=>{},t}function kQ(e){let t=new dr({check:"meta"});return t._zod.onattach=[r=>{let o=Oo.get(r)??{};Oo.add(r,{...o,...e})}],t._zod.check=()=>{},t}function OQ(e,t){let r=At(t),o=r.truthy??["true","1","yes","on","y","enabled"],i=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(o=o.map($=>typeof $=="string"?$.toLowerCase():$),i=i.map($=>typeof $=="string"?$.toLowerCase():$));let u=new Set(o),f=new Set(i),y=e.Codec??kE,I=e.Boolean??TE,D=e.String??tp,R=new D({type:"string",error:r.error}),z=new I({type:"boolean",error:r.error}),V=new y({type:"pipe",in:R,out:z,transform:(($,te)=>{let re=$;return r.case!=="sensitive"&&(re=re.toLowerCase()),u.has(re)?!0:f.has(re)?!1:(te.issues.push({code:"invalid_value",expected:"stringbool",values:[...u,...f],input:te.value,inst:V,continue:!1}),{})}),reverseTransform:(($,te)=>$===!0?o[0]||"true":i[0]||"false"),error:r.error});return V}function og(e,t,r,o={}){let i=At(o),u={...At(o),check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:y=>r.test(y),...i};return r instanceof RegExp&&(u.pattern=r),new e(u)}var tQ,Wz=Y(()=>{"use strict";x();ZC();zE();jx();Vt();tQ={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function Pd(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Oo,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function ji(e,t,r={path:[],schemaPath:[]}){var o;let i=e._zod.def,u=t.seen.get(e);if(u)return u.count++,r.schemaPath.includes(e)&&(u.cycle=r.path),u.schema;let f={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,f);let y=e._zod.toJSONSchema?.();if(y)f.schema=y;else{let R={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,f.schema,R);else{let V=f.schema,$=t.processors[i.type];if(!$)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);$(e,t,V,R)}let z=e._zod.parent;z&&(f.ref||(f.ref=z),ji(z,t,R),t.seen.get(z).isParent=!0)}let I=t.metadataRegistry.get(e);return I&&Object.assign(f.schema,I),t.io==="input"&&bs(e)&&(delete f.schema.examples,delete f.schema.default),t.io==="input"&&f.schema._prefault&&((o=f.schema).default??(o.default=f.schema._prefault)),delete f.schema._prefault,t.seen.get(e).schema}function jd(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let o=new Map;for(let f of e.seen.entries()){let y=e.metadataRegistry.get(f[0])?.id;if(y){let I=o.get(y);if(I&&I!==f[0])throw new Error(`Duplicate schema id "${y}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(y,f[0])}}let i=f=>{let y=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let z=e.external.registry.get(f[0])?.id,V=e.external.uri??(te=>te);if(z)return{ref:V(z)};let $=f[1].defId??f[1].schema.id??`schema${e.counter++}`;return f[1].defId=$,{defId:$,ref:`${V("__shared")}#/${y}/${$}`}}if(f[1]===r)return{ref:"#"};let D=`#/${y}/`,R=f[1].schema.id??`__schema${e.counter++}`;return{defId:R,ref:D+R}},u=f=>{if(f[1].schema.$ref)return;let y=f[1],{ref:I,defId:D}=i(f);y.def={...y.schema},D&&(y.defId=D);let R=y.schema;for(let z in R)delete R[z];R.$ref=I};if(e.cycles==="throw")for(let f of e.seen.entries()){let y=f[1];if(y.cycle)throw new Error(`Cycle detected: #/${y.cycle?.join("/")}/<root>
312
-
313
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let f of e.seen.entries()){let y=f[1];if(t===f[0]){u(f);continue}if(e.external){let D=e.external.registry.get(f[0])?.id;if(t!==f[0]&&D){u(f);continue}}if(e.metadataRegistry.get(f[0])?.id){u(f);continue}if(y.cycle){u(f);continue}if(y.count>1&&e.reused==="ref"){u(f);continue}}}function Jd(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let o=f=>{let y=e.seen.get(f);if(y.ref===null)return;let I=y.def??y.schema,D={...I},R=y.ref;if(y.ref=null,R){o(R);let V=e.seen.get(R),$=V.schema;if($.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(I.allOf=I.allOf??[],I.allOf.push($)):Object.assign(I,$),Object.assign(I,D),f._zod.parent===R)for(let re in I)re==="$ref"||re==="allOf"||re in D||delete I[re];if($.$ref)for(let re in I)re==="$ref"||re==="allOf"||re in V.def&&JSON.stringify(I[re])===JSON.stringify(V.def[re])&&delete I[re]}let z=f._zod.parent;if(z&&z!==R){o(z);let V=e.seen.get(z);if(V?.schema.$ref&&(I.$ref=V.schema.$ref,V.def))for(let $ in I)$==="$ref"||$==="allOf"||$ in V.def&&JSON.stringify(I[$])===JSON.stringify(V.def[$])&&delete I[$]}e.override({zodSchema:f,jsonSchema:I,path:y.path??[]})};for(let f of[...e.seen.entries()].reverse())o(f[0]);let i={};if(e.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let f=e.external.registry.get(t)?.id;if(!f)throw new Error("Schema is missing an `id` property");i.$id=e.external.uri(f)}Object.assign(i,r.def??r.schema);let u=e.external?.defs??{};for(let f of e.seen.entries()){let y=f[1];y.def&&y.defId&&(u[y.defId]=y.def)}e.external||Object.keys(u).length>0&&(e.target==="draft-2020-12"?i.$defs=u:i.definitions=u);try{let f=JSON.parse(JSON.stringify(i));return Object.defineProperty(f,"~standard",{value:{...t["~standard"],jsonSchema:{input:sg(t,"input",e.processors),output:sg(t,"output",e.processors)}},enumerable:!1,writable:!1}),f}catch{throw new Error("Error converting schema to JSON.")}}function bs(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return bs(o.element,r);if(o.type==="set")return bs(o.valueType,r);if(o.type==="lazy")return bs(o.getter(),r);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault")return bs(o.innerType,r);if(o.type==="intersection")return bs(o.left,r)||bs(o.right,r);if(o.type==="record"||o.type==="map")return bs(o.keyType,r)||bs(o.valueType,r);if(o.type==="pipe")return bs(o.in,r)||bs(o.out,r);if(o.type==="object"){for(let i in o.shape)if(bs(o.shape[i],r))return!0;return!1}if(o.type==="union"){for(let i of o.options)if(bs(i,r))return!0;return!1}if(o.type==="tuple"){for(let i of o.items)if(bs(i,r))return!0;return!!(o.rest&&bs(o.rest,r))}return!1}var FQ,sg,$E=Y(()=>{"use strict";x();zE();FQ=(e,t={})=>r=>{let o=Pd({...r,processors:t});return ji(e,o),jd(o,e),Jd(o,e)},sg=(e,t,r={})=>o=>{let{libraryOptions:i,target:u}=o??{},f=Pd({...i??{},target:u,io:t,processors:r});return ji(e,f),jd(f,e),Jd(f,e)}});function zI(e,t){if("_idmap"in e){let o=e,i=Pd({...t,processors:kI}),u={};for(let I of o._idmap.entries()){let[D,R]=I;ji(R,i)}let f={},y={registry:o,uri:t?.uri,defs:u};i.external=y;for(let I of o._idmap.entries()){let[D,R]=I;jd(i,R),f[D]=Jd(i,R)}if(Object.keys(u).length>0){let I=i.target==="draft-2020-12"?"$defs":"definitions";f.__shared={[I]:u}}return{schemas:f}}let r=Pd({...t,processors:kI});return ji(e,r),jd(r,e),Jd(r,e)}var Y9,zQ,MQ,LQ,$Q,HQ,GQ,PQ,jQ,JQ,VQ,KQ,ZQ,YQ,qQ,WQ,XQ,ew,tw,nw,iw,rw,aw,ow,sw,lw,OI,uw,cw,Aw,dw,fw,pw,hw,gw,mw,Ew,yw,FI,vw,kI,HE=Y(()=>{"use strict";x();$E();Vt();Y9={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},zQ=(e,t,r,o)=>{let i=r;i.type="string";let{minimum:u,maximum:f,format:y,patterns:I,contentEncoding:D}=e._zod.bag;if(typeof u=="number"&&(i.minLength=u),typeof f=="number"&&(i.maxLength=f),y&&(i.format=Y9[y]??y,i.format===""&&delete i.format,y==="time"&&delete i.format),D&&(i.contentEncoding=D),I&&I.size>0){let R=[...I];R.length===1?i.pattern=R[0].source:R.length>1&&(i.allOf=[...R.map(z=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:z.source}))])}},MQ=(e,t,r,o)=>{let i=r,{minimum:u,maximum:f,format:y,multipleOf:I,exclusiveMaximum:D,exclusiveMinimum:R}=e._zod.bag;typeof y=="string"&&y.includes("int")?i.type="integer":i.type="number",typeof R=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(i.minimum=R,i.exclusiveMinimum=!0):i.exclusiveMinimum=R),typeof u=="number"&&(i.minimum=u,typeof R=="number"&&t.target!=="draft-04"&&(R>=u?delete i.minimum:delete i.exclusiveMinimum)),typeof D=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(i.maximum=D,i.exclusiveMaximum=!0):i.exclusiveMaximum=D),typeof f=="number"&&(i.maximum=f,typeof D=="number"&&t.target!=="draft-04"&&(D<=f?delete i.maximum:delete i.exclusiveMaximum)),typeof I=="number"&&(i.multipleOf=I)},LQ=(e,t,r,o)=>{r.type="boolean"},$Q=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},HQ=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},GQ=(e,t,r,o)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},PQ=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},jQ=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},JQ=(e,t,r,o)=>{r.not={}},VQ=(e,t,r,o)=>{},KQ=(e,t,r,o)=>{},ZQ=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},YQ=(e,t,r,o)=>{let i=e._zod.def,u=IE(i.entries);u.every(f=>typeof f=="number")&&(r.type="number"),u.every(f=>typeof f=="string")&&(r.type="string"),r.enum=u},qQ=(e,t,r,o)=>{let i=e._zod.def,u=[];for(let f of i.values)if(f===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof f=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");u.push(Number(f))}else u.push(f);if(u.length!==0)if(u.length===1){let f=u[0];r.type=f===null?"null":typeof f,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[f]:r.const=f}else u.every(f=>typeof f=="number")&&(r.type="number"),u.every(f=>typeof f=="string")&&(r.type="string"),u.every(f=>typeof f=="boolean")&&(r.type="boolean"),u.every(f=>f===null)&&(r.type="null"),r.enum=u},WQ=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},XQ=(e,t,r,o)=>{let i=r,u=e._zod.pattern;if(!u)throw new Error("Pattern not found in template literal");i.type="string",i.pattern=u.source},ew=(e,t,r,o)=>{let i=r,u={type:"string",format:"binary",contentEncoding:"binary"},{minimum:f,maximum:y,mime:I}=e._zod.bag;f!==void 0&&(u.minLength=f),y!==void 0&&(u.maxLength=y),I?I.length===1?(u.contentMediaType=I[0],Object.assign(i,u)):(Object.assign(i,u),i.anyOf=I.map(D=>({contentMediaType:D}))):Object.assign(i,u)},tw=(e,t,r,o)=>{r.type="boolean"},nw=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},iw=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},rw=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},aw=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},ow=(e,t,r,o)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},sw=(e,t,r,o)=>{let i=r,u=e._zod.def,{minimum:f,maximum:y}=e._zod.bag;typeof f=="number"&&(i.minItems=f),typeof y=="number"&&(i.maxItems=y),i.type="array",i.items=ji(u.element,t,{...o,path:[...o.path,"items"]})},lw=(e,t,r,o)=>{let i=r,u=e._zod.def;i.type="object",i.properties={};let f=u.shape;for(let D in f)i.properties[D]=ji(f[D],t,{...o,path:[...o.path,"properties",D]});let y=new Set(Object.keys(f)),I=new Set([...y].filter(D=>{let R=u.shape[D]._zod;return t.io==="input"?R.optin===void 0:R.optout===void 0}));I.size>0&&(i.required=Array.from(I)),u.catchall?._zod.def.type==="never"?i.additionalProperties=!1:u.catchall?u.catchall&&(i.additionalProperties=ji(u.catchall,t,{...o,path:[...o.path,"additionalProperties"]})):t.io==="output"&&(i.additionalProperties=!1)},OI=(e,t,r,o)=>{let i=e._zod.def,u=i.inclusive===!1,f=i.options.map((y,I)=>ji(y,t,{...o,path:[...o.path,u?"oneOf":"anyOf",I]}));u?r.oneOf=f:r.anyOf=f},uw=(e,t,r,o)=>{let i=e._zod.def,u=ji(i.left,t,{...o,path:[...o.path,"allOf",0]}),f=ji(i.right,t,{...o,path:[...o.path,"allOf",1]}),y=D=>"allOf"in D&&Object.keys(D).length===1,I=[...y(u)?u.allOf:[u],...y(f)?f.allOf:[f]];r.allOf=I},cw=(e,t,r,o)=>{let i=r,u=e._zod.def;i.type="array";let f=t.target==="draft-2020-12"?"prefixItems":"items",y=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",I=u.items.map((V,$)=>ji(V,t,{...o,path:[...o.path,f,$]})),D=u.rest?ji(u.rest,t,{...o,path:[...o.path,y,...t.target==="openapi-3.0"?[u.items.length]:[]]}):null;t.target==="draft-2020-12"?(i.prefixItems=I,D&&(i.items=D)):t.target==="openapi-3.0"?(i.items={anyOf:I},D&&i.items.anyOf.push(D),i.minItems=I.length,D||(i.maxItems=I.length)):(i.items=I,D&&(i.additionalItems=D));let{minimum:R,maximum:z}=e._zod.bag;typeof R=="number"&&(i.minItems=R),typeof z=="number"&&(i.maxItems=z)},Aw=(e,t,r,o)=>{let i=r,u=e._zod.def;i.type="object";let f=u.keyType,I=f._zod.bag?.patterns;if(u.mode==="loose"&&I&&I.size>0){let R=ji(u.valueType,t,{...o,path:[...o.path,"patternProperties","*"]});i.patternProperties={};for(let z of I)i.patternProperties[z.source]=R}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(i.propertyNames=ji(u.keyType,t,{...o,path:[...o.path,"propertyNames"]})),i.additionalProperties=ji(u.valueType,t,{...o,path:[...o.path,"additionalProperties"]});let D=f._zod.values;if(D){let R=[...D].filter(z=>typeof z=="string"||typeof z=="number");R.length>0&&(i.required=R)}},dw=(e,t,r,o)=>{let i=e._zod.def,u=ji(i.innerType,t,o),f=t.seen.get(e);t.target==="openapi-3.0"?(f.ref=i.innerType,r.nullable=!0):r.anyOf=[u,{type:"null"}]},fw=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType},pw=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType,r.default=JSON.parse(JSON.stringify(i.defaultValue))},hw=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},gw=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType;let f;try{f=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=f},mw=(e,t,r,o)=>{let i=e._zod.def,u=t.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;ji(u,t,o);let f=t.seen.get(e);f.ref=u},Ew=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType,r.readOnly=!0},yw=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType},FI=(e,t,r,o)=>{let i=e._zod.def;ji(i.innerType,t,o);let u=t.seen.get(e);u.ref=i.innerType},vw=(e,t,r,o)=>{let i=e._zod.innerType;ji(i,t,o);let u=t.seen.get(e);u.ref=i},kI={string:zQ,number:MQ,boolean:LQ,bigint:$Q,symbol:HQ,null:GQ,undefined:PQ,void:jQ,never:JQ,any:VQ,unknown:KQ,date:ZQ,enum:YQ,literal:qQ,nan:WQ,template_literal:XQ,file:ew,success:tw,custom:nw,function:iw,transform:rw,map:aw,set:ow,array:sw,object:lw,union:OI,intersection:uw,tuple:cw,record:Aw,nullable:dw,nonoptional:fw,default:pw,prefault:hw,catch:gw,pipe:mw,readonly:Ew,promise:yw,optional:FI,lazy:vw}});var MI,Xz=Y(()=>{"use strict";x();HE();$E();MI=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=Pd({processors:kI,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return ji(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),jd(this.ctx,t);let o=Jd(this.ctx,t),{"~standard":i,...u}=o;return u}}});var eM={};var tM=Y(()=>{"use strict";x()});var PA={};Ea(PA,{$ZodAny:()=>fx,$ZodArray:()=>Ex,$ZodAsyncError:()=>tc,$ZodBase64:()=>ix,$ZodBase64URL:()=>rx,$ZodBigInt:()=>nI,$ZodBigIntFormat:()=>ux,$ZodBoolean:()=>TE,$ZodCIDRv4:()=>ex,$ZodCIDRv6:()=>tx,$ZodCUID:()=>Hb,$ZodCUID2:()=>Gb,$ZodCatch:()=>Ox,$ZodCheck:()=>dr,$ZodCheckBigIntFormat:()=>gb,$ZodCheckEndsWith:()=>xb,$ZodCheckGreaterThan:()=>KC,$ZodCheckIncludes:()=>Sb,$ZodCheckLengthEquals:()=>Ib,$ZodCheckLessThan:()=>VC,$ZodCheckLowerCase:()=>Bb,$ZodCheckMaxLength:()=>vb,$ZodCheckMaxSize:()=>mb,$ZodCheckMimeType:()=>wb,$ZodCheckMinLength:()=>Cb,$ZodCheckMinSize:()=>Eb,$ZodCheckMultipleOf:()=>pb,$ZodCheckNumberFormat:()=>hb,$ZodCheckOverwrite:()=>Rb,$ZodCheckProperty:()=>Qb,$ZodCheckRegex:()=>_b,$ZodCheckSizeEquals:()=>yb,$ZodCheckStartsWith:()=>bb,$ZodCheckStringFormat:()=>Jh,$ZodCheckUpperCase:()=>Db,$ZodCodec:()=>kE,$ZodCustom:()=>Px,$ZodCustomStringFormat:()=>sx,$ZodDate:()=>mx,$ZodDefault:()=>Nx,$ZodDiscriminatedUnion:()=>Cx,$ZodE164:()=>ax,$ZodEmail:()=>zb,$ZodEmoji:()=>Lb,$ZodEncodeError:()=>Fd,$ZodEnum:()=>Sx,$ZodError:()=>bE,$ZodExactOptional:()=>wx,$ZodFile:()=>xx,$ZodFunction:()=>$x,$ZodGUID:()=>Ob,$ZodIPv4:()=>qb,$ZodIPv6:()=>Wb,$ZodISODate:()=>Kb,$ZodISODateTime:()=>Vb,$ZodISODuration:()=>Yb,$ZodISOTime:()=>Zb,$ZodIntersection:()=>Ix,$ZodJWT:()=>ox,$ZodKSUID:()=>Jb,$ZodLazy:()=>Gx,$ZodLiteral:()=>bx,$ZodMAC:()=>Xb,$ZodMap:()=>Bx,$ZodNaN:()=>Fx,$ZodNanoID:()=>$b,$ZodNever:()=>hx,$ZodNonOptional:()=>Ux,$ZodNull:()=>dx,$ZodNullable:()=>Rx,$ZodNumber:()=>tI,$ZodNumberFormat:()=>lx,$ZodObject:()=>s4,$ZodObjectJIT:()=>yx,$ZodOptional:()=>rI,$ZodPipe:()=>zx,$ZodPrefault:()=>Tx,$ZodPromise:()=>Hx,$ZodReadonly:()=>Mx,$ZodRealError:()=>il,$ZodRecord:()=>_x,$ZodRegistry:()=>lI,$ZodSet:()=>Dx,$ZodString:()=>tp,$ZodStringFormat:()=>ir,$ZodSuccess:()=>kx,$ZodSymbol:()=>cx,$ZodTemplateLiteral:()=>Lx,$ZodTransform:()=>Qx,$ZodTuple:()=>iI,$ZodType:()=>gn,$ZodULID:()=>Pb,$ZodURL:()=>Mb,$ZodUUID:()=>Fb,$ZodUndefined:()=>Ax,$ZodUnion:()=>UE,$ZodUnknown:()=>px,$ZodVoid:()=>gx,$ZodXID:()=>jb,$ZodXor:()=>vx,$brand:()=>RC,$constructor:()=>he,$input:()=>qx,$output:()=>Yx,Doc:()=>NE,JSONSchema:()=>eM,JSONSchemaGenerator:()=>MI,NEVER:()=>_S,TimePrecision:()=>tQ,_any:()=>IQ,_array:()=>QQ,_base64:()=>SI,_base64url:()=>bI,_bigint:()=>hQ,_boolean:()=>fQ,_catch:()=>P9,_check:()=>qz,_cidrv4:()=>BI,_cidrv6:()=>DI,_coercedBigint:()=>gQ,_coercedBoolean:()=>pQ,_coercedDate:()=>bQ,_coercedNumber:()=>sQ,_coercedString:()=>Xx,_cuid:()=>mI,_cuid2:()=>EI,_custom:()=>RQ,_date:()=>SQ,_decode:()=>FC,_decodeAsync:()=>MC,_default:()=>$9,_discriminatedUnion:()=>Q9,_e164:()=>xI,_email:()=>cI,_emoji:()=>hI,_encode:()=>OC,_encodeAsync:()=>zC,_endsWith:()=>Xh,_enum:()=>k9,_file:()=>wQ,_float32:()=>uQ,_float64:()=>cQ,_gt:()=>Hc,_gte:()=>Ss,_guid:()=>ME,_includes:()=>qh,_int:()=>lQ,_int32:()=>AQ,_int64:()=>mQ,_intersection:()=>w9,_ipv4:()=>II,_ipv6:()=>_I,_isoDate:()=>iQ,_isoDateTime:()=>nQ,_isoDuration:()=>aQ,_isoTime:()=>rQ,_jwt:()=>QI,_ksuid:()=>CI,_lazy:()=>K9,_length:()=>rp,_literal:()=>F9,_lowercase:()=>Zh,_lt:()=>$c,_lte:()=>Tl,_mac:()=>eQ,_map:()=>T9,_max:()=>Tl,_maxLength:()=>ip,_maxSize:()=>Gd,_mime:()=>eg,_min:()=>Ss,_minLength:()=>GA,_minSize:()=>Gc,_multipleOf:()=>Hd,_nan:()=>xQ,_nanoid:()=>gI,_nativeEnum:()=>O9,_negative:()=>RI,_never:()=>BQ,_nonnegative:()=>TI,_nonoptional:()=>H9,_nonpositive:()=>NI,_normalize:()=>tg,_null:()=>CQ,_nullable:()=>L9,_number:()=>oQ,_optional:()=>M9,_overwrite:()=>nc,_parse:()=>Hh,_parseAsync:()=>Gh,_pipe:()=>j9,_positive:()=>wI,_promise:()=>Z9,_property:()=>UI,_readonly:()=>J9,_record:()=>N9,_refine:()=>NQ,_regex:()=>Kh,_safeDecode:()=>$C,_safeDecodeAsync:()=>GC,_safeEncode:()=>LC,_safeEncodeAsync:()=>HC,_safeParse:()=>Ph,_safeParseAsync:()=>jh,_set:()=>U9,_size:()=>np,_slugify:()=>ag,_startsWith:()=>Wh,_string:()=>Wx,_stringFormat:()=>og,_stringbool:()=>OQ,_success:()=>G9,_superRefine:()=>TQ,_symbol:()=>yQ,_templateLiteral:()=>V9,_toLowerCase:()=>ig,_toUpperCase:()=>rg,_transform:()=>z9,_trim:()=>ng,_tuple:()=>R9,_uint32:()=>dQ,_uint64:()=>EQ,_ulid:()=>yI,_undefined:()=>vQ,_union:()=>b9,_unknown:()=>_Q,_uppercase:()=>Yh,_url:()=>LE,_uuid:()=>AI,_uuidv4:()=>dI,_uuidv6:()=>fI,_uuidv7:()=>pI,_void:()=>DQ,_xid:()=>vI,_xor:()=>x9,clone:()=>Ds,config:()=>oa,createStandardJSONSchemaMethod:()=>sg,createToJSONSchemaMethod:()=>FQ,decode:()=>W5,decodeAsync:()=>eJ,describe:()=>UQ,encode:()=>q5,encodeAsync:()=>X5,extractDefs:()=>jd,finalize:()=>Jd,flattenError:()=>xE,formatError:()=>QE,globalConfig:()=>vE,globalRegistry:()=>Oo,initializeContext:()=>Pd,isValidBase64:()=>nx,isValidBase64URL:()=>i4,isValidJWT:()=>r4,locales:()=>FE,meta:()=>kQ,parse:()=>UC,parseAsync:()=>kC,prettifyError:()=>kS,process:()=>ji,regexes:()=>bu,registry:()=>uI,safeDecode:()=>nJ,safeDecodeAsync:()=>rJ,safeEncode:()=>tJ,safeEncodeAsync:()=>iJ,safeParse:()=>FS,safeParseAsync:()=>zS,toDotPath:()=>MF,toJSONSchema:()=>zI,treeifyError:()=>US,util:()=>st,version:()=>Tb});var rl=Y(()=>{"use strict";x();zh();MS();OS();jx();ZC();Ub();Vt();JC();Zx();zE();Nb();Wz();$E();HE();Xz();tM()});var LI={};Ea(LI,{endsWith:()=>Xh,gt:()=>Hc,gte:()=>Ss,includes:()=>qh,length:()=>rp,lowercase:()=>Zh,lt:()=>$c,lte:()=>Tl,maxLength:()=>ip,maxSize:()=>Gd,mime:()=>eg,minLength:()=>GA,minSize:()=>Gc,multipleOf:()=>Hd,negative:()=>RI,nonnegative:()=>TI,nonpositive:()=>NI,normalize:()=>tg,overwrite:()=>nc,positive:()=>wI,property:()=>UI,regex:()=>Kh,size:()=>np,slugify:()=>ag,startsWith:()=>Wh,toLowerCase:()=>ig,toUpperCase:()=>rg,trim:()=>ng,uppercase:()=>Yh});var $I=Y(()=>{"use strict";x();rl()});var lg={};Ea(lg,{ZodISODate:()=>GI,ZodISODateTime:()=>HI,ZodISODuration:()=>jI,ZodISOTime:()=>PI,date:()=>Iw,datetime:()=>Cw,duration:()=>Bw,time:()=>_w});function Cw(e){return nQ(HI,e)}function Iw(e){return iQ(GI,e)}function _w(e){return rQ(PI,e)}function Bw(e){return aQ(jI,e)}var HI,GI,PI,jI,GE=Y(()=>{"use strict";x();rl();jE();HI=he("ZodISODateTime",(e,t)=>{Vb.init(e,t),rr.init(e,t)});GI=he("ZodISODate",(e,t)=>{Kb.init(e,t),rr.init(e,t)});PI=he("ZodISOTime",(e,t)=>{Zb.init(e,t),rr.init(e,t)});jI=he("ZodISODuration",(e,t)=>{Yb.init(e,t),rr.init(e,t)})});var nM,W9,al,Dw=Y(()=>{"use strict";x();rl();rl();Vt();nM=(e,t)=>{bE.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>QE(e,r)},flatten:{value:r=>xE(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Mh,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Mh,2)}},isEmpty:{get(){return e.issues.length===0}}})},W9=he("ZodError",nM),al=he("ZodError",nM,{Parent:Error})});var jA,Sw,bw,xw,Qw,ww,Rw,Nw,Tw,Uw,kw,Ow,Fw=Y(()=>{"use strict";x();rl();Dw();jA=Hh(al),Sw=Gh(al),bw=Ph(al),xw=jh(al),Qw=OC(al),ww=FC(al),Rw=zC(al),Nw=MC(al),Tw=LC(al),Uw=$C(al),kw=HC(al),Ow=GC(al)});var PE={};Ea(PE,{ZodAny:()=>jw,ZodArray:()=>Zw,ZodBase64:()=>o0,ZodBase64URL:()=>s0,ZodBigInt:()=>pg,ZodBigIntFormat:()=>c0,ZodBoolean:()=>fg,ZodCIDRv4:()=>r0,ZodCIDRv6:()=>a0,ZodCUID:()=>qI,ZodCUID2:()=>WI,ZodCatch:()=>m1,ZodCodec:()=>E0,ZodCustom:()=>ny,ZodCustomStringFormat:()=>Ag,ZodDate:()=>qE,ZodDefault:()=>A1,ZodDiscriminatedUnion:()=>qw,ZodE164:()=>l0,ZodEmail:()=>KI,ZodEmoji:()=>ZI,ZodEnum:()=>ug,ZodExactOptional:()=>l1,ZodFile:()=>o1,ZodFunction:()=>S1,ZodGUID:()=>JE,ZodIPv4:()=>n0,ZodIPv6:()=>i0,ZodIntersection:()=>Ww,ZodJWT:()=>u0,ZodKSUID:()=>t0,ZodLazy:()=>_1,ZodLiteral:()=>a1,ZodMAC:()=>zw,ZodMap:()=>i1,ZodNaN:()=>y1,ZodNanoID:()=>YI,ZodNever:()=>Vw,ZodNonOptional:()=>g0,ZodNull:()=>Gw,ZodNullable:()=>c1,ZodNumber:()=>dg,ZodNumberFormat:()=>op,ZodObject:()=>XE,ZodOptional:()=>h0,ZodPipe:()=>m0,ZodPrefault:()=>f1,ZodPromise:()=>D1,ZodReadonly:()=>v1,ZodRecord:()=>ty,ZodSet:()=>r1,ZodString:()=>cg,ZodStringFormat:()=>rr,ZodSuccess:()=>g1,ZodSymbol:()=>$w,ZodTemplateLiteral:()=>I1,ZodTransform:()=>s1,ZodTuple:()=>e1,ZodType:()=>Rn,ZodULID:()=>XI,ZodURL:()=>YE,ZodUUID:()=>Pc,ZodUndefined:()=>Hw,ZodUnion:()=>ey,ZodUnknown:()=>Jw,ZodVoid:()=>Kw,ZodXID:()=>e0,ZodXor:()=>Yw,_ZodString:()=>VI,_default:()=>d1,_function:()=>s6,any:()=>LM,array:()=>WE,base64:()=>_M,base64url:()=>BM,bigint:()=>kM,boolean:()=>Lw,catch:()=>E1,check:()=>l6,cidrv4:()=>CM,cidrv6:()=>IM,codec:()=>r6,cuid:()=>fM,cuid2:()=>pM,custom:()=>u6,date:()=>HM,describe:()=>c6,discriminatedUnion:()=>VM,e164:()=>DM,email:()=>iM,emoji:()=>AM,enum:()=>f0,exactOptional:()=>u1,file:()=>e6,float32:()=>RM,float64:()=>NM,function:()=>s6,guid:()=>rM,hash:()=>wM,hex:()=>QM,hostname:()=>xM,httpUrl:()=>cM,instanceof:()=>d6,int:()=>JI,int32:()=>TM,int64:()=>OM,intersection:()=>Xw,ipv4:()=>EM,ipv6:()=>vM,json:()=>p6,jwt:()=>SM,keyof:()=>GM,ksuid:()=>mM,lazy:()=>B1,literal:()=>XM,looseObject:()=>jM,looseRecord:()=>ZM,mac:()=>yM,map:()=>YM,meta:()=>A6,nan:()=>i6,nanoid:()=>dM,nativeEnum:()=>WM,never:()=>A0,nonoptional:()=>h1,null:()=>Pw,nullable:()=>KE,nullish:()=>t6,number:()=>Mw,object:()=>Vd,optional:()=>VE,partialRecord:()=>KM,pipe:()=>ZE,prefault:()=>p1,preprocess:()=>h6,promise:()=>o6,readonly:()=>C1,record:()=>n1,refine:()=>b1,set:()=>qM,strictObject:()=>PM,string:()=>ol,stringFormat:()=>bM,stringbool:()=>f6,success:()=>n6,superRefine:()=>x1,symbol:()=>zM,templateLiteral:()=>a6,transform:()=>p0,tuple:()=>t1,uint32:()=>UM,uint64:()=>FM,ulid:()=>hM,undefined:()=>MM,union:()=>d0,unknown:()=>ap,url:()=>uM,uuid:()=>aM,uuidv4:()=>oM,uuidv6:()=>sM,uuidv7:()=>lM,void:()=>$M,xid:()=>gM,xor:()=>JM});function ol(e){return Wx(cg,e)}function iM(e){return cI(KI,e)}function rM(e){return ME(JE,e)}function aM(e){return AI(Pc,e)}function oM(e){return dI(Pc,e)}function sM(e){return fI(Pc,e)}function lM(e){return pI(Pc,e)}function uM(e){return LE(YE,e)}function cM(e){return LE(YE,{protocol:/^https?$/,hostname:bu.domain,...st.normalizeParams(e)})}function AM(e){return hI(ZI,e)}function dM(e){return gI(YI,e)}function fM(e){return mI(qI,e)}function pM(e){return EI(WI,e)}function hM(e){return yI(XI,e)}function gM(e){return vI(e0,e)}function mM(e){return CI(t0,e)}function EM(e){return II(n0,e)}function yM(e){return eQ(zw,e)}function vM(e){return _I(i0,e)}function CM(e){return BI(r0,e)}function IM(e){return DI(a0,e)}function _M(e){return SI(o0,e)}function BM(e){return bI(s0,e)}function DM(e){return xI(l0,e)}function SM(e){return QI(u0,e)}function bM(e,t,r={}){return og(Ag,e,t,r)}function xM(e){return og(Ag,"hostname",bu.hostname,e)}function QM(e){return og(Ag,"hex",bu.hex,e)}function wM(e,t){let r=t?.enc??"hex",o=`${e}_${r}`,i=bu[o];if(!i)throw new Error(`Unrecognized hash format: ${o}`);return og(Ag,o,i,t)}function Mw(e){return oQ(dg,e)}function JI(e){return lQ(op,e)}function RM(e){return uQ(op,e)}function NM(e){return cQ(op,e)}function TM(e){return AQ(op,e)}function UM(e){return dQ(op,e)}function Lw(e){return fQ(fg,e)}function kM(e){return hQ(pg,e)}function OM(e){return mQ(c0,e)}function FM(e){return EQ(c0,e)}function zM(e){return yQ($w,e)}function MM(e){return vQ(Hw,e)}function Pw(e){return CQ(Gw,e)}function LM(){return IQ(jw)}function ap(){return _Q(Jw)}function A0(e){return BQ(Vw,e)}function $M(e){return DQ(Kw,e)}function HM(e){return SQ(qE,e)}function WE(e,t){return QQ(Zw,e,t)}function GM(e){let t=e._zod.def.shape;return f0(Object.keys(t))}function Vd(e,t){let r={type:"object",shape:e??{},...st.normalizeParams(t)};return new XE(r)}function PM(e,t){return new XE({type:"object",shape:e,catchall:A0(),...st.normalizeParams(t)})}function jM(e,t){return new XE({type:"object",shape:e,catchall:ap(),...st.normalizeParams(t)})}function d0(e,t){return new ey({type:"union",options:e,...st.normalizeParams(t)})}function JM(e,t){return new Yw({type:"union",options:e,inclusive:!1,...st.normalizeParams(t)})}function VM(e,t,r){return new qw({type:"union",options:t,discriminator:e,...st.normalizeParams(r)})}function Xw(e,t){return new Ww({type:"intersection",left:e,right:t})}function t1(e,t,r){let o=t instanceof gn,i=o?r:t,u=o?t:null;return new e1({type:"tuple",items:e,rest:u,...st.normalizeParams(i)})}function n1(e,t,r){return new ty({type:"record",keyType:e,valueType:t,...st.normalizeParams(r)})}function KM(e,t,r){let o=Ds(e);return o._zod.values=void 0,new ty({type:"record",keyType:o,valueType:t,...st.normalizeParams(r)})}function ZM(e,t,r){return new ty({type:"record",keyType:e,valueType:t,mode:"loose",...st.normalizeParams(r)})}function YM(e,t,r){return new i1({type:"map",keyType:e,valueType:t,...st.normalizeParams(r)})}function qM(e,t){return new r1({type:"set",valueType:e,...st.normalizeParams(t)})}function f0(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new ug({type:"enum",entries:r,...st.normalizeParams(t)})}function WM(e,t){return new ug({type:"enum",entries:e,...st.normalizeParams(t)})}function XM(e,t){return new a1({type:"literal",values:Array.isArray(e)?e:[e],...st.normalizeParams(t)})}function e6(e){return wQ(o1,e)}function p0(e){return new s1({type:"transform",transform:e})}function VE(e){return new h0({type:"optional",innerType:e})}function u1(e){return new l1({type:"optional",innerType:e})}function KE(e){return new c1({type:"nullable",innerType:e})}function t6(e){return VE(KE(e))}function d1(e,t){return new A1({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():st.shallowClone(t)}})}function p1(e,t){return new f1({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():st.shallowClone(t)}})}function h1(e,t){return new g0({type:"nonoptional",innerType:e,...st.normalizeParams(t)})}function n6(e){return new g1({type:"success",innerType:e})}function E1(e,t){return new m1({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}function i6(e){return xQ(y1,e)}function ZE(e,t){return new m0({type:"pipe",in:e,out:t})}function r6(e,t,r){return new E0({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function C1(e){return new v1({type:"readonly",innerType:e})}function a6(e,t){return new I1({type:"template_literal",parts:e,...st.normalizeParams(t)})}function B1(e){return new _1({type:"lazy",getter:e})}function o6(e){return new D1({type:"promise",innerType:e})}function s6(e){return new S1({type:"function",input:Array.isArray(e?.input)?t1(e?.input):e?.input??WE(ap()),output:e?.output??ap()})}function l6(e){let t=new dr({check:"custom"});return t._zod.check=e,t}function u6(e,t){return RQ(ny,e??(()=>!0),t)}function b1(e,t={}){return NQ(ny,e,t)}function x1(e){return TQ(e)}function d6(e,t={}){let r=new ny({type:"custom",check:"custom",fn:o=>o instanceof e,abort:!0,...st.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=o=>{o.value instanceof e||o.issues.push({code:"invalid_type",expected:e.name,input:o.value,inst:r,path:[...r._zod.def.path??[]]})},r}function p6(e){let t=B1(()=>d0([ol(e),Mw(),Lw(),Pw(),WE(t),n1(ol(),t)]));return t}function h6(e,t){return ZE(p0(e),t)}var Rn,VI,cg,rr,KI,JE,Pc,YE,ZI,YI,qI,WI,XI,e0,t0,n0,zw,i0,r0,a0,o0,s0,l0,u0,Ag,dg,op,fg,pg,c0,$w,Hw,Gw,jw,Jw,Vw,Kw,qE,Zw,XE,ey,Yw,qw,Ww,e1,ty,i1,r1,ug,a1,o1,s1,h0,l1,c1,A1,f1,g0,g1,m1,y1,m0,E0,v1,I1,_1,D1,S1,ny,c6,A6,f6,jE=Y(()=>{"use strict";x();rl();rl();HE();$E();$I();GE();Fw();Rn=he("ZodType",(e,t)=>(gn.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:sg(e,"input"),output:sg(e,"output")}}),e.toJSONSchema=FQ(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(st.mergeDefs(t,{checks:[...t.checks??[],...r.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),{parent:!0}),e.with=e.check,e.clone=(r,o)=>Ds(e,r,o),e.brand=()=>e,e.register=((r,o)=>(r.add(e,o),e)),e.parse=(r,o)=>jA(e,r,o,{callee:e.parse}),e.safeParse=(r,o)=>bw(e,r,o),e.parseAsync=async(r,o)=>Sw(e,r,o,{callee:e.parseAsync}),e.safeParseAsync=async(r,o)=>xw(e,r,o),e.spa=e.safeParseAsync,e.encode=(r,o)=>Qw(e,r,o),e.decode=(r,o)=>ww(e,r,o),e.encodeAsync=async(r,o)=>Rw(e,r,o),e.decodeAsync=async(r,o)=>Nw(e,r,o),e.safeEncode=(r,o)=>Tw(e,r,o),e.safeDecode=(r,o)=>Uw(e,r,o),e.safeEncodeAsync=async(r,o)=>kw(e,r,o),e.safeDecodeAsync=async(r,o)=>Ow(e,r,o),e.refine=(r,o)=>e.check(b1(r,o)),e.superRefine=r=>e.check(x1(r)),e.overwrite=r=>e.check(nc(r)),e.optional=()=>VE(e),e.exactOptional=()=>u1(e),e.nullable=()=>KE(e),e.nullish=()=>VE(KE(e)),e.nonoptional=r=>h1(e,r),e.array=()=>WE(e),e.or=r=>d0([e,r]),e.and=r=>Xw(e,r),e.transform=r=>ZE(e,p0(r)),e.default=r=>d1(e,r),e.prefault=r=>p1(e,r),e.catch=r=>E1(e,r),e.pipe=r=>ZE(e,r),e.readonly=()=>C1(e),e.describe=r=>{let o=e.clone();return Oo.add(o,{description:r}),o},Object.defineProperty(e,"description",{get(){return Oo.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return Oo.get(e);let o=e.clone();return Oo.add(o,r[0]),o},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),VI=he("_ZodString",(e,t)=>{tp.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(o,i,u)=>zQ(e,o,i,u);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...o)=>e.check(Kh(...o)),e.includes=(...o)=>e.check(qh(...o)),e.startsWith=(...o)=>e.check(Wh(...o)),e.endsWith=(...o)=>e.check(Xh(...o)),e.min=(...o)=>e.check(GA(...o)),e.max=(...o)=>e.check(ip(...o)),e.length=(...o)=>e.check(rp(...o)),e.nonempty=(...o)=>e.check(GA(1,...o)),e.lowercase=o=>e.check(Zh(o)),e.uppercase=o=>e.check(Yh(o)),e.trim=()=>e.check(ng()),e.normalize=(...o)=>e.check(tg(...o)),e.toLowerCase=()=>e.check(ig()),e.toUpperCase=()=>e.check(rg()),e.slugify=()=>e.check(ag())}),cg=he("ZodString",(e,t)=>{tp.init(e,t),VI.init(e,t),e.email=r=>e.check(cI(KI,r)),e.url=r=>e.check(LE(YE,r)),e.jwt=r=>e.check(QI(u0,r)),e.emoji=r=>e.check(hI(ZI,r)),e.guid=r=>e.check(ME(JE,r)),e.uuid=r=>e.check(AI(Pc,r)),e.uuidv4=r=>e.check(dI(Pc,r)),e.uuidv6=r=>e.check(fI(Pc,r)),e.uuidv7=r=>e.check(pI(Pc,r)),e.nanoid=r=>e.check(gI(YI,r)),e.guid=r=>e.check(ME(JE,r)),e.cuid=r=>e.check(mI(qI,r)),e.cuid2=r=>e.check(EI(WI,r)),e.ulid=r=>e.check(yI(XI,r)),e.base64=r=>e.check(SI(o0,r)),e.base64url=r=>e.check(bI(s0,r)),e.xid=r=>e.check(vI(e0,r)),e.ksuid=r=>e.check(CI(t0,r)),e.ipv4=r=>e.check(II(n0,r)),e.ipv6=r=>e.check(_I(i0,r)),e.cidrv4=r=>e.check(BI(r0,r)),e.cidrv6=r=>e.check(DI(a0,r)),e.e164=r=>e.check(xI(l0,r)),e.datetime=r=>e.check(Cw(r)),e.date=r=>e.check(Iw(r)),e.time=r=>e.check(_w(r)),e.duration=r=>e.check(Bw(r))});rr=he("ZodStringFormat",(e,t)=>{ir.init(e,t),VI.init(e,t)}),KI=he("ZodEmail",(e,t)=>{zb.init(e,t),rr.init(e,t)});JE=he("ZodGUID",(e,t)=>{Ob.init(e,t),rr.init(e,t)});Pc=he("ZodUUID",(e,t)=>{Fb.init(e,t),rr.init(e,t)});YE=he("ZodURL",(e,t)=>{Mb.init(e,t),rr.init(e,t)});ZI=he("ZodEmoji",(e,t)=>{Lb.init(e,t),rr.init(e,t)});YI=he("ZodNanoID",(e,t)=>{$b.init(e,t),rr.init(e,t)});qI=he("ZodCUID",(e,t)=>{Hb.init(e,t),rr.init(e,t)});WI=he("ZodCUID2",(e,t)=>{Gb.init(e,t),rr.init(e,t)});XI=he("ZodULID",(e,t)=>{Pb.init(e,t),rr.init(e,t)});e0=he("ZodXID",(e,t)=>{jb.init(e,t),rr.init(e,t)});t0=he("ZodKSUID",(e,t)=>{Jb.init(e,t),rr.init(e,t)});n0=he("ZodIPv4",(e,t)=>{qb.init(e,t),rr.init(e,t)});zw=he("ZodMAC",(e,t)=>{Xb.init(e,t),rr.init(e,t)});i0=he("ZodIPv6",(e,t)=>{Wb.init(e,t),rr.init(e,t)});r0=he("ZodCIDRv4",(e,t)=>{ex.init(e,t),rr.init(e,t)});a0=he("ZodCIDRv6",(e,t)=>{tx.init(e,t),rr.init(e,t)});o0=he("ZodBase64",(e,t)=>{ix.init(e,t),rr.init(e,t)});s0=he("ZodBase64URL",(e,t)=>{rx.init(e,t),rr.init(e,t)});l0=he("ZodE164",(e,t)=>{ax.init(e,t),rr.init(e,t)});u0=he("ZodJWT",(e,t)=>{ox.init(e,t),rr.init(e,t)});Ag=he("ZodCustomStringFormat",(e,t)=>{sx.init(e,t),rr.init(e,t)});dg=he("ZodNumber",(e,t)=>{tI.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(o,i,u)=>MQ(e,o,i,u),e.gt=(o,i)=>e.check(Hc(o,i)),e.gte=(o,i)=>e.check(Ss(o,i)),e.min=(o,i)=>e.check(Ss(o,i)),e.lt=(o,i)=>e.check($c(o,i)),e.lte=(o,i)=>e.check(Tl(o,i)),e.max=(o,i)=>e.check(Tl(o,i)),e.int=o=>e.check(JI(o)),e.safe=o=>e.check(JI(o)),e.positive=o=>e.check(Hc(0,o)),e.nonnegative=o=>e.check(Ss(0,o)),e.negative=o=>e.check($c(0,o)),e.nonpositive=o=>e.check(Tl(0,o)),e.multipleOf=(o,i)=>e.check(Hd(o,i)),e.step=(o,i)=>e.check(Hd(o,i)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});op=he("ZodNumberFormat",(e,t)=>{lx.init(e,t),dg.init(e,t)});fg=he("ZodBoolean",(e,t)=>{TE.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>LQ(e,r,o,i)});pg=he("ZodBigInt",(e,t)=>{nI.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(o,i,u)=>$Q(e,o,i,u),e.gte=(o,i)=>e.check(Ss(o,i)),e.min=(o,i)=>e.check(Ss(o,i)),e.gt=(o,i)=>e.check(Hc(o,i)),e.gte=(o,i)=>e.check(Ss(o,i)),e.min=(o,i)=>e.check(Ss(o,i)),e.lt=(o,i)=>e.check($c(o,i)),e.lte=(o,i)=>e.check(Tl(o,i)),e.max=(o,i)=>e.check(Tl(o,i)),e.positive=o=>e.check(Hc(BigInt(0),o)),e.negative=o=>e.check($c(BigInt(0),o)),e.nonpositive=o=>e.check(Tl(BigInt(0),o)),e.nonnegative=o=>e.check(Ss(BigInt(0),o)),e.multipleOf=(o,i)=>e.check(Hd(o,i));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});c0=he("ZodBigIntFormat",(e,t)=>{ux.init(e,t),pg.init(e,t)});$w=he("ZodSymbol",(e,t)=>{cx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>HQ(e,r,o,i)});Hw=he("ZodUndefined",(e,t)=>{Ax.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>PQ(e,r,o,i)});Gw=he("ZodNull",(e,t)=>{dx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>GQ(e,r,o,i)});jw=he("ZodAny",(e,t)=>{fx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>VQ(e,r,o,i)});Jw=he("ZodUnknown",(e,t)=>{px.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>KQ(e,r,o,i)});Vw=he("ZodNever",(e,t)=>{hx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>JQ(e,r,o,i)});Kw=he("ZodVoid",(e,t)=>{gx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>jQ(e,r,o,i)});qE=he("ZodDate",(e,t)=>{mx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(o,i,u)=>ZQ(e,o,i,u),e.min=(o,i)=>e.check(Ss(o,i)),e.max=(o,i)=>e.check(Tl(o,i));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});Zw=he("ZodArray",(e,t)=>{Ex.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>sw(e,r,o,i),e.element=t.element,e.min=(r,o)=>e.check(GA(r,o)),e.nonempty=r=>e.check(GA(1,r)),e.max=(r,o)=>e.check(ip(r,o)),e.length=(r,o)=>e.check(rp(r,o)),e.unwrap=()=>e.element});XE=he("ZodObject",(e,t)=>{yx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>lw(e,r,o,i),st.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>f0(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ap()}),e.loose=()=>e.clone({...e._zod.def,catchall:ap()}),e.strict=()=>e.clone({...e._zod.def,catchall:A0()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>st.extend(e,r),e.safeExtend=r=>st.safeExtend(e,r),e.merge=r=>st.merge(e,r),e.pick=r=>st.pick(e,r),e.omit=r=>st.omit(e,r),e.partial=(...r)=>st.partial(h0,e,r[0]),e.required=(...r)=>st.required(g0,e,r[0])});ey=he("ZodUnion",(e,t)=>{UE.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>OI(e,r,o,i),e.options=t.options});Yw=he("ZodXor",(e,t)=>{ey.init(e,t),vx.init(e,t),e._zod.processJSONSchema=(r,o,i)=>OI(e,r,o,i),e.options=t.options});qw=he("ZodDiscriminatedUnion",(e,t)=>{ey.init(e,t),Cx.init(e,t)});Ww=he("ZodIntersection",(e,t)=>{Ix.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>uw(e,r,o,i)});e1=he("ZodTuple",(e,t)=>{iI.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>cw(e,r,o,i),e.rest=r=>e.clone({...e._zod.def,rest:r})});ty=he("ZodRecord",(e,t)=>{_x.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>Aw(e,r,o,i),e.keyType=t.keyType,e.valueType=t.valueType});i1=he("ZodMap",(e,t)=>{Bx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>aw(e,r,o,i),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Gc(...r)),e.nonempty=r=>e.check(Gc(1,r)),e.max=(...r)=>e.check(Gd(...r)),e.size=(...r)=>e.check(np(...r))});r1=he("ZodSet",(e,t)=>{Dx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>ow(e,r,o,i),e.min=(...r)=>e.check(Gc(...r)),e.nonempty=r=>e.check(Gc(1,r)),e.max=(...r)=>e.check(Gd(...r)),e.size=(...r)=>e.check(np(...r))});ug=he("ZodEnum",(e,t)=>{Sx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(o,i,u)=>YQ(e,o,i,u),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(o,i)=>{let u={};for(let f of o)if(r.has(f))u[f]=t.entries[f];else throw new Error(`Key ${f} not found in enum`);return new ug({...t,checks:[],...st.normalizeParams(i),entries:u})},e.exclude=(o,i)=>{let u={...t.entries};for(let f of o)if(r.has(f))delete u[f];else throw new Error(`Key ${f} not found in enum`);return new ug({...t,checks:[],...st.normalizeParams(i),entries:u})}});a1=he("ZodLiteral",(e,t)=>{bx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>qQ(e,r,o,i),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});o1=he("ZodFile",(e,t)=>{xx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>ew(e,r,o,i),e.min=(r,o)=>e.check(Gc(r,o)),e.max=(r,o)=>e.check(Gd(r,o)),e.mime=(r,o)=>e.check(eg(Array.isArray(r)?r:[r],o))});s1=he("ZodTransform",(e,t)=>{Qx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>rw(e,r,o,i),e._zod.parse=(r,o)=>{if(o.direction==="backward")throw new Fd(e.constructor.name);r.addIssue=u=>{if(typeof u=="string")r.issues.push(st.issue(u,r.value,t));else{let f=u;f.fatal&&(f.continue=!1),f.code??(f.code="custom"),f.input??(f.input=r.value),f.inst??(f.inst=e),r.issues.push(st.issue(f))}};let i=t.transform(r.value,r);return i instanceof Promise?i.then(u=>(r.value=u,r)):(r.value=i,r)}});h0=he("ZodOptional",(e,t)=>{rI.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>FI(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});l1=he("ZodExactOptional",(e,t)=>{wx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>FI(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});c1=he("ZodNullable",(e,t)=>{Rx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>dw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});A1=he("ZodDefault",(e,t)=>{Nx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>pw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});f1=he("ZodPrefault",(e,t)=>{Tx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>hw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});g0=he("ZodNonOptional",(e,t)=>{Ux.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>fw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});g1=he("ZodSuccess",(e,t)=>{kx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>tw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});m1=he("ZodCatch",(e,t)=>{Ox.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>gw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});y1=he("ZodNaN",(e,t)=>{Fx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>WQ(e,r,o,i)});m0=he("ZodPipe",(e,t)=>{zx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>mw(e,r,o,i),e.in=t.in,e.out=t.out});E0=he("ZodCodec",(e,t)=>{m0.init(e,t),kE.init(e,t)});v1=he("ZodReadonly",(e,t)=>{Mx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>Ew(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});I1=he("ZodTemplateLiteral",(e,t)=>{Lx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>XQ(e,r,o,i)});_1=he("ZodLazy",(e,t)=>{Gx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>vw(e,r,o,i),e.unwrap=()=>e._zod.def.getter()});D1=he("ZodPromise",(e,t)=>{Hx.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>yw(e,r,o,i),e.unwrap=()=>e._zod.def.innerType});S1=he("ZodFunction",(e,t)=>{$x.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>iw(e,r,o,i)});ny=he("ZodCustom",(e,t)=>{Px.init(e,t),Rn.init(e,t),e._zod.processJSONSchema=(r,o,i)=>nw(e,r,o,i)});c6=UQ,A6=kQ;f6=(...e)=>OQ({Codec:E0,Boolean:fg,String:cg},...e)});function tV(e){oa({customError:e})}function nV(){return oa().customError}var eV,Q1,g6=Y(()=>{"use strict";x();rl();rl();eV={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};Q1||(Q1={})});function rV(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function aV(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let o=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===o){let i=r[1];if(!i||!t.defs[i])throw new Error(`Reference not found: ${e}`);return t.defs[i]}throw new Error(`Reference not found: ${e}`)}function m6(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return Rt.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let i=e.$ref;if(t.refs.has(i))return t.refs.get(i);if(t.processing.has(i))return Rt.lazy(()=>{if(!t.refs.has(i))throw new Error(`Circular reference not resolved: ${i}`);return t.refs.get(i)});t.processing.add(i);let u=aV(i,t),f=ns(u,t);return t.refs.set(i,f),t.processing.delete(i),f}if(e.enum!==void 0){let i=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&i.length===1&&i[0]===null)return Rt.null();if(i.length===0)return Rt.never();if(i.length===1)return Rt.literal(i[0]);if(i.every(f=>typeof f=="string"))return Rt.enum(i);let u=i.map(f=>Rt.literal(f));return u.length<2?u[0]:Rt.union([u[0],u[1],...u.slice(2)])}if(e.const!==void 0)return Rt.literal(e.const);let r=e.type;if(Array.isArray(r)){let i=r.map(u=>{let f={...e,type:u};return m6(f,t)});return i.length===0?Rt.never():i.length===1?i[0]:Rt.union(i)}if(!r)return Rt.any();let o;switch(r){case"string":{let i=Rt.string();if(e.format){let u=e.format;u==="email"?i=i.check(Rt.email()):u==="uri"||u==="uri-reference"?i=i.check(Rt.url()):u==="uuid"||u==="guid"?i=i.check(Rt.uuid()):u==="date-time"?i=i.check(Rt.iso.datetime()):u==="date"?i=i.check(Rt.iso.date()):u==="time"?i=i.check(Rt.iso.time()):u==="duration"?i=i.check(Rt.iso.duration()):u==="ipv4"?i=i.check(Rt.ipv4()):u==="ipv6"?i=i.check(Rt.ipv6()):u==="mac"?i=i.check(Rt.mac()):u==="cidr"?i=i.check(Rt.cidrv4()):u==="cidr-v6"?i=i.check(Rt.cidrv6()):u==="base64"?i=i.check(Rt.base64()):u==="base64url"?i=i.check(Rt.base64url()):u==="e164"?i=i.check(Rt.e164()):u==="jwt"?i=i.check(Rt.jwt()):u==="emoji"?i=i.check(Rt.emoji()):u==="nanoid"?i=i.check(Rt.nanoid()):u==="cuid"?i=i.check(Rt.cuid()):u==="cuid2"?i=i.check(Rt.cuid2()):u==="ulid"?i=i.check(Rt.ulid()):u==="xid"?i=i.check(Rt.xid()):u==="ksuid"&&(i=i.check(Rt.ksuid()))}typeof e.minLength=="number"&&(i=i.min(e.minLength)),typeof e.maxLength=="number"&&(i=i.max(e.maxLength)),e.pattern&&(i=i.regex(new RegExp(e.pattern))),o=i;break}case"number":case"integer":{let i=r==="integer"?Rt.number().int():Rt.number();typeof e.minimum=="number"&&(i=i.min(e.minimum)),typeof e.maximum=="number"&&(i=i.max(e.maximum)),typeof e.exclusiveMinimum=="number"?i=i.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(i=i.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?i=i.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(i=i.lt(e.maximum)),typeof e.multipleOf=="number"&&(i=i.multipleOf(e.multipleOf)),o=i;break}case"boolean":{o=Rt.boolean();break}case"null":{o=Rt.null();break}case"object":{let i={},u=e.properties||{},f=new Set(e.required||[]);for(let[I,D]of Object.entries(u)){let R=ns(D,t);i[I]=f.has(I)?R:R.optional()}if(e.propertyNames){let I=ns(e.propertyNames,t),D=e.additionalProperties&&typeof e.additionalProperties=="object"?ns(e.additionalProperties,t):Rt.any();if(Object.keys(i).length===0){o=Rt.record(I,D);break}let R=Rt.object(i).passthrough(),z=Rt.looseRecord(I,D);o=Rt.intersection(R,z);break}if(e.patternProperties){let I=e.patternProperties,D=Object.keys(I),R=[];for(let V of D){let $=ns(I[V],t),te=Rt.string().regex(new RegExp(V));R.push(Rt.looseRecord(te,$))}let z=[];if(Object.keys(i).length>0&&z.push(Rt.object(i).passthrough()),z.push(...R),z.length===0)o=Rt.object({}).passthrough();else if(z.length===1)o=z[0];else{let V=Rt.intersection(z[0],z[1]);for(let $=2;$<z.length;$++)V=Rt.intersection(V,z[$]);o=V}break}let y=Rt.object(i);e.additionalProperties===!1?o=y.strict():typeof e.additionalProperties=="object"?o=y.catchall(ns(e.additionalProperties,t)):o=y.passthrough();break}case"array":{let i=e.prefixItems,u=e.items;if(i&&Array.isArray(i)){let f=i.map(I=>ns(I,t)),y=u&&typeof u=="object"&&!Array.isArray(u)?ns(u,t):void 0;y?o=Rt.tuple(f).rest(y):o=Rt.tuple(f),typeof e.minItems=="number"&&(o=o.check(Rt.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(Rt.maxLength(e.maxItems)))}else if(Array.isArray(u)){let f=u.map(I=>ns(I,t)),y=e.additionalItems&&typeof e.additionalItems=="object"?ns(e.additionalItems,t):void 0;y?o=Rt.tuple(f).rest(y):o=Rt.tuple(f),typeof e.minItems=="number"&&(o=o.check(Rt.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(Rt.maxLength(e.maxItems)))}else if(u!==void 0){let f=ns(u,t),y=Rt.array(f);typeof e.minItems=="number"&&(y=y.min(e.minItems)),typeof e.maxItems=="number"&&(y=y.max(e.maxItems)),o=y}else o=Rt.array(Rt.any());break}default:throw new Error(`Unsupported type: ${r}`)}return e.description&&(o=o.describe(e.description)),e.default!==void 0&&(o=o.default(e.default)),o}function ns(e,t){if(typeof e=="boolean")return e?Rt.any():Rt.never();let r=m6(e,t),o=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let y=e.anyOf.map(D=>ns(D,t)),I=Rt.union(y);r=o?Rt.intersection(r,I):I}if(e.oneOf&&Array.isArray(e.oneOf)){let y=e.oneOf.map(D=>ns(D,t)),I=Rt.xor(y);r=o?Rt.intersection(r,I):I}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=o?r:Rt.any();else{let y=o?r:ns(e.allOf[0],t),I=o?0:1;for(let D=I;D<e.allOf.length;D++)y=Rt.intersection(y,ns(e.allOf[D],t));r=y}e.nullable===!0&&t.version==="openapi-3.0"&&(r=Rt.nullable(r)),e.readOnly===!0&&(r=Rt.readonly(r));let i={},u=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let y of u)y in e&&(i[y]=e[y]);let f=["contentEncoding","contentMediaType","contentSchema"];for(let y of f)y in e&&(i[y]=e[y]);for(let y of Object.keys(e))iV.has(y)||(i[y]=e[y]);return Object.keys(i).length>0&&t.registry.add(r,i),r}function E6(e,t){if(typeof e=="boolean")return e?Rt.any():Rt.never();let r=rV(e,t?.defaultTarget),o=e.$defs||e.definitions||{},i={version:r,defs:o,refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??Oo};return ns(e,i)}var Rt,iV,y6=Y(()=>{"use strict";x();zE();$I();GE();jE();Rt={...PE,...LI,iso:lg},iV=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var w1={};Ea(w1,{bigint:()=>uV,boolean:()=>lV,date:()=>cV,number:()=>sV,string:()=>oV});function oV(e){return Xx(cg,e)}function sV(e){return sQ(dg,e)}function lV(e){return pQ(fg,e)}function uV(e){return gQ(pg,e)}function cV(e){return bQ(qE,e)}var v6=Y(()=>{"use strict";x();rl();jE()});var Kd={};Ea(Kd,{$brand:()=>RC,$input:()=>qx,$output:()=>Yx,NEVER:()=>_S,TimePrecision:()=>tQ,ZodAny:()=>jw,ZodArray:()=>Zw,ZodBase64:()=>o0,ZodBase64URL:()=>s0,ZodBigInt:()=>pg,ZodBigIntFormat:()=>c0,ZodBoolean:()=>fg,ZodCIDRv4:()=>r0,ZodCIDRv6:()=>a0,ZodCUID:()=>qI,ZodCUID2:()=>WI,ZodCatch:()=>m1,ZodCodec:()=>E0,ZodCustom:()=>ny,ZodCustomStringFormat:()=>Ag,ZodDate:()=>qE,ZodDefault:()=>A1,ZodDiscriminatedUnion:()=>qw,ZodE164:()=>l0,ZodEmail:()=>KI,ZodEmoji:()=>ZI,ZodEnum:()=>ug,ZodError:()=>W9,ZodExactOptional:()=>l1,ZodFile:()=>o1,ZodFirstPartyTypeKind:()=>Q1,ZodFunction:()=>S1,ZodGUID:()=>JE,ZodIPv4:()=>n0,ZodIPv6:()=>i0,ZodISODate:()=>GI,ZodISODateTime:()=>HI,ZodISODuration:()=>jI,ZodISOTime:()=>PI,ZodIntersection:()=>Ww,ZodIssueCode:()=>eV,ZodJWT:()=>u0,ZodKSUID:()=>t0,ZodLazy:()=>_1,ZodLiteral:()=>a1,ZodMAC:()=>zw,ZodMap:()=>i1,ZodNaN:()=>y1,ZodNanoID:()=>YI,ZodNever:()=>Vw,ZodNonOptional:()=>g0,ZodNull:()=>Gw,ZodNullable:()=>c1,ZodNumber:()=>dg,ZodNumberFormat:()=>op,ZodObject:()=>XE,ZodOptional:()=>h0,ZodPipe:()=>m0,ZodPrefault:()=>f1,ZodPromise:()=>D1,ZodReadonly:()=>v1,ZodRealError:()=>al,ZodRecord:()=>ty,ZodSet:()=>r1,ZodString:()=>cg,ZodStringFormat:()=>rr,ZodSuccess:()=>g1,ZodSymbol:()=>$w,ZodTemplateLiteral:()=>I1,ZodTransform:()=>s1,ZodTuple:()=>e1,ZodType:()=>Rn,ZodULID:()=>XI,ZodURL:()=>YE,ZodUUID:()=>Pc,ZodUndefined:()=>Hw,ZodUnion:()=>ey,ZodUnknown:()=>Jw,ZodVoid:()=>Kw,ZodXID:()=>e0,ZodXor:()=>Yw,_ZodString:()=>VI,_default:()=>d1,_function:()=>s6,any:()=>LM,array:()=>WE,base64:()=>_M,base64url:()=>BM,bigint:()=>kM,boolean:()=>Lw,catch:()=>E1,check:()=>l6,cidrv4:()=>CM,cidrv6:()=>IM,clone:()=>Ds,codec:()=>r6,coerce:()=>w1,config:()=>oa,core:()=>PA,cuid:()=>fM,cuid2:()=>pM,custom:()=>u6,date:()=>HM,decode:()=>ww,decodeAsync:()=>Nw,describe:()=>c6,discriminatedUnion:()=>VM,e164:()=>DM,email:()=>iM,emoji:()=>AM,encode:()=>Qw,encodeAsync:()=>Rw,endsWith:()=>Xh,enum:()=>f0,exactOptional:()=>u1,file:()=>e6,flattenError:()=>xE,float32:()=>RM,float64:()=>NM,formatError:()=>QE,fromJSONSchema:()=>E6,function:()=>s6,getErrorMap:()=>nV,globalRegistry:()=>Oo,gt:()=>Hc,gte:()=>Ss,guid:()=>rM,hash:()=>wM,hex:()=>QM,hostname:()=>xM,httpUrl:()=>cM,includes:()=>qh,instanceof:()=>d6,int:()=>JI,int32:()=>TM,int64:()=>OM,intersection:()=>Xw,ipv4:()=>EM,ipv6:()=>vM,iso:()=>lg,json:()=>p6,jwt:()=>SM,keyof:()=>GM,ksuid:()=>mM,lazy:()=>B1,length:()=>rp,literal:()=>XM,locales:()=>FE,looseObject:()=>jM,looseRecord:()=>ZM,lowercase:()=>Zh,lt:()=>$c,lte:()=>Tl,mac:()=>yM,map:()=>YM,maxLength:()=>ip,maxSize:()=>Gd,meta:()=>A6,mime:()=>eg,minLength:()=>GA,minSize:()=>Gc,multipleOf:()=>Hd,nan:()=>i6,nanoid:()=>dM,nativeEnum:()=>WM,negative:()=>RI,never:()=>A0,nonnegative:()=>TI,nonoptional:()=>h1,nonpositive:()=>NI,normalize:()=>tg,null:()=>Pw,nullable:()=>KE,nullish:()=>t6,number:()=>Mw,object:()=>Vd,optional:()=>VE,overwrite:()=>nc,parse:()=>jA,parseAsync:()=>Sw,partialRecord:()=>KM,pipe:()=>ZE,positive:()=>wI,prefault:()=>p1,preprocess:()=>h6,prettifyError:()=>kS,promise:()=>o6,property:()=>UI,readonly:()=>C1,record:()=>n1,refine:()=>b1,regex:()=>Kh,regexes:()=>bu,registry:()=>uI,safeDecode:()=>Uw,safeDecodeAsync:()=>Ow,safeEncode:()=>Tw,safeEncodeAsync:()=>kw,safeParse:()=>bw,safeParseAsync:()=>xw,set:()=>qM,setErrorMap:()=>tV,size:()=>np,slugify:()=>ag,startsWith:()=>Wh,strictObject:()=>PM,string:()=>ol,stringFormat:()=>bM,stringbool:()=>f6,success:()=>n6,superRefine:()=>x1,symbol:()=>zM,templateLiteral:()=>a6,toJSONSchema:()=>zI,toLowerCase:()=>ig,toUpperCase:()=>rg,transform:()=>p0,treeifyError:()=>US,trim:()=>ng,tuple:()=>t1,uint32:()=>UM,uint64:()=>FM,ulid:()=>hM,undefined:()=>MM,union:()=>d0,unknown:()=>ap,uppercase:()=>Yh,url:()=>uM,util:()=>st,uuid:()=>aM,uuidv4:()=>oM,uuidv6:()=>sM,uuidv7:()=>lM,void:()=>$M,xid:()=>gM,xor:()=>JM});var R1=Y(()=>{"use strict";x();rl();jE();$I();Dw();Fw();g6();rl();Jx();rl();HE();y6();Zx();GE();GE();v6();oa(aI())});var hg=Y(()=>{"use strict";x();R1();R1()});import AV from"http";function hV(e){if(!e.url)throw new Error("No URL found in callback response.");let t=new URL(e.url,T1);return jA(dV,Object.fromEntries(t.searchParams.entries()))}function C6(e){e.writeHead(400,{"Content-Type":"text/html"}),e.end(pV)}function gV(e){e.writeHead(200,{"Content-Type":"text/html"}),e.end(fV)}function _6(e){return new Promise((t,r)=>{let o=AV.createServer(async(i,u)=>{let f=await hn(()=>hV(i),I=>I);if(f.failure){C6(u),r(f.failure);return}let y=await hn(()=>e(f.data),I=>I);if(y.failure){C6(u),r(y.failure);return}gV(u),o.close(()=>{t()})});o.listen(I6)})}var I6,T1,dV,fV,pV,B6=Y(()=>{"use strict";x();wl();hg();I6=8765,T1=`http://localhost:${I6}`,dV=Vd({code:ol(),state:ol()}),fV=`
314
- <!DOCTYPE html>
315
- <html lang="en">
316
- <head>
317
- <meta charset="UTF-8">
318
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
319
- <title>Authentication Successful</title>
320
- <script src="https://cdn.tailwindcss.com"></script>
321
- </head>
322
- <body class="bg-gray-100 flex items-center justify-center min-h-screen">
323
- <div class="bg-white p-8 rounded-2xl shadow-lg text-center max-w-md">
324
- <svg class="w-16 h-16 text-green-500 mx-auto" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
325
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
326
- </svg>
327
- <h1 class="text-2xl font-semibold mt-4">Authentication Successful</h1>
328
- <p class="text-gray-600 mt-2">You can now return to your terminal and close this browser.</p>
329
- </div>
330
- </body>
331
- </html>
332
- `,pV=`
333
- <!DOCTYPE html>
334
- <html lang="en">
335
- <head>
336
- <meta charset="UTF-8">
337
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
338
- <title>Authentication Failed</title>
339
- <script src="https://cdn.tailwindcss.com"></script>
340
- </head>
341
- <body class="bg-gray-100 flex items-center justify-center min-h-screen">
342
- <div class="bg-white p-8 rounded-2xl shadow-lg text-center max-w-md">
343
- <svg class="w-16 h-16 text-red-500 mx-auto" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
344
- <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
345
- </svg>
346
- <h1 class="text-2xl font-semibold mt-4">Authentication Failed</h1>
347
- <p class="text-gray-600 mt-2">Something bad happened while trying to authenticate you. Please try again.</p>
348
- <p class="text-gray-600 mt-2">If the problem persists, <a href="mailto:help@byteslice.co" target="_blank" class="text-amber-500 hover:text-amber-600">please let us know</a>.</p>
349
- </div>
350
- </body>
351
- </html>
352
- `});var Q6=On((iy,U1)=>{"use strict";x();(function(e,t){if(typeof iy=="object"&&typeof U1=="object")U1.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var r=t();for(var o in r)(typeof iy=="object"?iy:e)[o]=r[o]}})(globalThis,()=>(()=>{var e={3822:function(o,i,u){"use strict";let f,y,I;function D(){return typeof window<"u"}u.r(i),u.d(i,{EmailLinkErrorCode:()=>Xt,EmailLinkErrorCodeStatus:()=>Ki,ClerkRuntimeError:()=>Ue,isEmailLinkError:()=>An,Clerk:()=>vr,isClerkAPIResponseError:()=>Ee,EmailLinkError:()=>Ht,isClerkRuntimeError:()=>Pe,ClerkAPIResponseError:()=>It,isMetamaskError:()=>Qt,isUserLockedError:()=>wt,isKnownError:()=>Dt}),u(4096);let R=RegExp("bot|spider|crawl|APIs-Google|AdsBot|Googlebot|mediapartners|Google Favicon|FeedFetcher|Google-Read-Aloud|DuplexWeb-Google|googleweblight|bing|yandex|baidu|duckduck|yahoo|ecosia|ia_archiver|facebook|instagram|pinterest|reddit|slack|twitter|whatsapp|youtube|semrush","i");function z(){var b;let l=D()?window?.navigator:null;return!!l&&!((b=l?.userAgent)&&R.test(b))&&!l?.webdriver}function V(){let b=D()?window?.navigator:null;if(!b)return!1;let l=b?.onLine;return b?.connection?.rtt!==0&&b?.connection?.downlink!==0&&l}function $(){return V()&&z()}let te=(b,l,m,S,U)=>{let{notify:O}=U||{},M=b.get(m);M||(M=[],b.set(m,M)),M.push(S),O&&l.has(m)&&S(l.get(m))},re=(b,l,m)=>(b.get(l)||[]).map(S=>S(m)),oe=(b,l,m)=>{let S=b.get(l);S&&(m?S.splice(S.indexOf(m)>>>0,1):b.set(l,[]))},ce=()=>{let b=new Map,l=new Map,m=new Map;return{on:(...S)=>te(b,l,...S),prioritizedOn:(...S)=>te(m,l,...S),emit:(S,U)=>{l.set(S,U),re(m,S,U),re(b,S,U)},off:(...S)=>oe(b,...S),prioritizedOff:(...S)=>oe(m,...S),internal:{retrieveListeners:S=>b.get(S)||[]}}},xe="status",Me=new Set;function Ie(b){return function(l){let m=l??this;if(!m)throw TypeError(`${b.kind||b.name} type guard requires an error object`);return m instanceof b}}var it,Xe,k=class{static kind="ClerkApiError";code;message;longMessage;meta;constructor(b){let l={code:b.code,message:b.message,longMessage:b.long_message,meta:{paramName:b.meta?.param_name,sessionId:b.meta?.session_id,emailAddresses:b.meta?.email_addresses,identifiers:b.meta?.identifiers,zxcvbn:b.meta?.zxcvbn,plan:b.meta?.plan,isPlanUpgradePossible:b.meta?.is_plan_upgrade_possible}};this.code=l.code,this.message=l.message,this.longMessage=l.longMessage,this.meta=l.meta}};Ie(k);var He=class D6 extends Error{static kind="ClerkError";clerkError=!0;code;longMessage;docsUrl;cause;get name(){return this.constructor.name}constructor(l){super(new.target.formatMessage(new.target.kind,l.message,l.code,l.docsUrl),{cause:l.cause}),Object.setPrototypeOf(this,D6.prototype),this.code=l.code,this.docsUrl=l.docsUrl,this.longMessage=l.longMessage,this.cause=l.cause}toString(){return`[${this.name}]
353
- Message:${this.message}`}static formatMessage(l,m,S,U){let O="Clerk:",M=RegExp(O.replace(" ","\\s*"),"i");return m=m.replace(M,""),m=`${O} ${m.trim()}
354
-
355
- (code="${S}")
356
-
357
- `,U&&(m+=`
358
-
359
- Docs: ${U}`),m}},It=class S6 extends He{static kind="ClerkAPIResponseError";status;clerkTraceId;retryAfter;errors;constructor(l,m){let{data:S,status:U,clerkTraceId:O,retryAfter:M}=m;super({...m,message:l,code:"api_response_error"}),Object.setPrototypeOf(this,S6.prototype),this.status=U,this.clerkTraceId=O,this.retryAfter=M,this.errors=(S||[]).map(ee=>new k(ee))}toString(){let l=`[${this.name}]
360
- Message:${this.message}
361
- Status:${this.status}
362
- Serialized errors: ${this.errors.map(m=>JSON.stringify(m))}`;return this.clerkTraceId&&(l+=`
363
- Clerk Trace ID: ${this.clerkTraceId}`),l}static formatMessage(l,m,S,U){return m}};let Gt=Ie(It),ln=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});var Ht=class b6 extends Error{code;constructor(l){super(l),this.code=l,this.name="EmailLinkError",Object.setPrototypeOf(this,b6.prototype)}};let Xt={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"},Ki={Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"};var Ue=class x6 extends He{static kind="ClerkRuntimeError";clerkRuntimeError=!0;constructor(l,m){super({...m,message:l}),Object.setPrototypeOf(this,x6.prototype)}};let Ft=Ie(Ue);var lt=class extends Ue{code;constructor(b,{code:l}){super(b,{code:l}),this.code=l}};function ke(b){return["captcha_invalid","captcha_not_enabled","captcha_missing_token"].includes(b.errors[0].code)}function Ve(b){let l=b?.status;return!!l&&l>=400&&l<500}function Dt(b){return Ee(b)||Qt(b)||Pe(b)}function Ee(b){return b&&"clerkError"in b}function Pe(b){return"clerkRuntimeError"in b}function Qt(b){return"code"in b&&[4001,32602,32603].includes(b.code)&&"message"in b}function wt(b){return Ee(b)&&b.errors?.[0]?.code==="user_locked"}function An(b){return b.name==="EmailLinkError"}function Jn(b){for(let[l,m]of Object.entries({isClerkApiResponseError:Gt,isClerkRuntimeError:Ft}))Object.assign(b,{[l]:m});return b}let un=[".lcl.dev",".lclstage.dev",".lclclerk.com"],mi=[".accounts.dev",".accountsstage.dev",".accounts.lclclerk.com"],Lt=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],Ci=b=>typeof atob<"u"&&typeof atob=="function"?atob(b):typeof global<"u"&&global.Buffer?new global.Buffer(b,"base64").toString():b,en="pk_live_";function Nn(b){if(!b.endsWith("$"))return!1;let l=b.slice(0,-1);return!l.includes("$")&&l.includes(".")}function Vn(b,l={}){let m;if(!(b=b||"")||!gt(b)){if(l.fatal&&!b)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(l.fatal&&!gt(b))throw Error("Publishable key not valid.");return null}let S=b.startsWith(en)?"production":"development";try{m=Ci(b.split("_")[2])}catch{if(l.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!Nn(m)){if(l.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let U=m.slice(0,-1);return l.proxyUrl?U=l.proxyUrl:S!=="development"&&l.domain&&l.isSatellite&&(U=`clerk.${l.domain}`),{instanceType:S,frontendApi:U}}function gt(b=""){try{if(!(b.startsWith(en)||b.startsWith("pk_test_")))return!1;let l=b.split("_");if(l.length!==3)return!1;let m=l[2];return m?Nn(Ci(m)):!1}catch{return!1}}async function vn(b,l=globalThis.crypto.subtle){var m;let S=new TextEncoder().encode(b);return(m=String.fromCharCode(...new Uint8Array(await l.digest("sha-1",S))),typeof btoa<"u"&&typeof btoa=="function"?btoa(m):typeof global<"u"&&global.Buffer?new global.Buffer(m).toString("base64"):m).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}let Br=(b,l)=>`${b}_${l}`,dt=new Set,Et=b=>{dt.has(b)||(dt.add(b),console.warn(b))},ua="__clerk_netlify_cache_bust";function Dr(b){return/^http(s)?:\/\//.test(b||"")}function Ii(b){return b.startsWith("/")}function ki(b){return b?b.replace(/([-_][a-z])/g,l=>l.toUpperCase().replace(/-|_/,"")):""}function br(b){return b?b.replace(/[A-Z]/g,l=>`_${l.toLowerCase()}`):""}let Ca=b=>{let l=m=>{if(!m)return m;if(Array.isArray(m))return m.map(U=>typeof U=="object"||Array.isArray(U)?l(U):U);let S={...m};for(let U of Object.keys(S)){let O=b(U.toString());O!==U&&(S[O]=S[U],delete S[U]),typeof S[O]=="object"&&(S[O]=l(S[O]))}return S};return l},Zi=Ca(br),ri=Ca(ki);function In(b){if(typeof b=="boolean")return b;if(b==null)return!1;if(typeof b=="string"){if(b.toLowerCase()==="true")return!0;if(b.toLowerCase()==="false")return!1}let l=parseInt(b,10);return!isNaN(l)&&l>0}var Oi=class{#n;#r=864e5;constructor(b){this.#n=b}isEventThrottled(b){let l=Date.now(),m=this.#i(b),S=this.#n.getItem(m);return!!S&&!(l-S>this.#r)||(this.#n.setItem(m,l),!1)}#i(b){let{sk:l,pk:m,payload:S,...U}=b,O={...S,...U};return JSON.stringify(Object.keys({...S,...U}).sort().map(M=>O[M]))}},zt=class{#n="clerk_telemetry_throttler";getItem(b){return this.#r()[b]}setItem(b,l){try{let m=this.#r();m[b]=l,localStorage.setItem(this.#n,JSON.stringify(m))}catch(m){m instanceof DOMException&&(m.name==="QuotaExceededError"||m.name==="NS_ERROR_DOM_QUOTA_REACHED")&&localStorage.length>0&&localStorage.removeItem(this.#n)}}removeItem(b){try{let l=this.#r();delete l[b],localStorage.setItem(this.#n,JSON.stringify(l))}catch{}}#r(){try{let b=localStorage.getItem(this.#n);return b?JSON.parse(b):{}}catch{return{}}}static isSupported(){return typeof window<"u"&&!!window.localStorage}},Ia=class{#n=new Map;#r=1e4;getItem(b){return this.#n.size>this.#r?void this.#n.clear():this.#n.get(b)}setItem(b,l){this.#n.set(b,l)}removeItem(b){this.#n.delete(b)}};let Jr=new Set(["error","warn","info","debug","trace"]);var Vr=class{#n;#r;#i={};#s=[];#o=null;constructor(b){this.#n={maxBufferSize:b.maxBufferSize??5,samplingRate:b.samplingRate??1,perEventSampling:b.perEventSampling??!0,disabled:b.disabled??!1,debug:b.debug??!1,endpoint:"https://clerk-telemetry.com"},b.clerkVersion||typeof window<"u"?this.#i.clerkVersion=b.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=b.sdk,this.#i.sdkVersion=b.sdkVersion,this.#i.publishableKey=b.publishableKey??"";let l=Vn(b.publishableKey);l&&(this.#i.instanceType=l.instanceType),b.secretKey&&(this.#i.secretKey=b.secretKey.substring(0,16)),this.#r=new Oi(zt.isSupported()?new zt:new Ia)}get isEnabled(){return!(this.#i.instanceType!=="development"||this.#n.disabled||typeof process<"u"&&process.env&&In(process.env.CLERK_TELEMETRY_DISABLED)||typeof window<"u"&&window?.navigator?.webdriver)}get isDebug(){return this.#n.debug||typeof process<"u"&&process.env&&In(process.env.CLERK_TELEMETRY_DEBUG)}record(b){try{let l=this.#f(b.event,b.payload);if(this.#a(l.event,l),!this.#d(l,b.eventSamplingRate))return;this.#s.push({kind:"event",value:l}),this.#e()}catch(l){console.error("[clerk/telemetry] Error recording telemetry event",l)}}recordLog(b){try{if(!this.#A(b))return;let l=typeof b?.level=="string"&&Jr.has(b.level),m=typeof b?.message=="string"&&b.message.trim().length>0,S=null,U=b?.timestamp;if(typeof U=="number"||typeof U=="string"){let ee=new Date(U);Number.isNaN(ee.getTime())||(S=ee)}if(!l||!m||S===null){this.isDebug&&typeof console<"u"&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:l,messageIsValid:m,timestampIsValid:S!==null});return}let O=this.#g(),M={sdk:O.name,sdkv:O.version,cv:this.#i.clerkVersion??"",lvl:b.level,msg:b.message,ts:S.toISOString(),pk:this.#i.publishableKey||null,payload:this.#p(b.context)};this.#s.push({kind:"log",value:M}),this.#e()}catch(l){console.error("[clerk/telemetry] Error recording telemetry log entry",l)}}#d(b,l){return this.isEnabled&&!this.isDebug&&this.#c(b,l)}#A(b){return!0}#c(b,l){let m=Math.random();return m<=this.#n.samplingRate&&(this.#n.perEventSampling===!1||l===void 0||m<=l)&&!this.#r.isEventThrottled(b)}#e(){if(typeof window>"u")return void this.#l();if(this.#s.length>=this.#n.maxBufferSize){this.#o&&(typeof cancelIdleCallback<"u"?cancelIdleCallback(Number(this.#o)):clearTimeout(Number(this.#o))),this.#l();return}this.#o||("requestIdleCallback"in window?this.#o=requestIdleCallback(()=>{this.#l(),this.#o=null}):this.#o=setTimeout(()=>{this.#l(),this.#o=null},0))}#l(){let b=[...this.#s];if(this.#s=[],this.#o=null,b.length===0)return;let l=b.filter(S=>S.kind==="event").map(S=>S.value),m=b.filter(S=>S.kind==="log").map(S=>S.value);l.length>0&&fetch(new URL("/v1/event",this.#n.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:l})}).catch(()=>{}),m.length>0&&fetch(new URL("/v1/logs",this.#n.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:m})}).catch(()=>{})}#a(b,l){this.isDebug&&(console.groupCollapsed!==void 0?(console.groupCollapsed("[clerk/telemetry]",b),console.log(l),console.groupEnd()):console.log("[clerk/telemetry]",b,l))}#g(){let b={name:this.#i.sdk,version:this.#i.sdkVersion};if(typeof window<"u"){let l=window;if(l.Clerk){let m=l.Clerk;if(typeof m=="object"&&m!==null&&"constructor"in m&&typeof m.constructor=="function"&&m.constructor.sdkMetadata){let{name:S,version:U}=m.constructor.sdkMetadata;S!==void 0&&(b.name=S),U!==void 0&&(b.version=U)}}}return b}#f(b,l){let m=this.#g();return{event:b,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:m.name,sdkv:m.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:l}}#p(b){if(b==null||typeof b!="object")return null;try{let l=JSON.parse(JSON.stringify(b));return l&&typeof l=="object"&&!Array.isArray(l)?l:null}catch{return null}}};let fr="COMPONENT_MOUNTED",Fi=new Set(["SignIn","SignUp"]);function Hr(b){return function(l,m,S){return{event:b,eventSamplingRate:b===fr&&Fi.has(l)?1:.1,payload:{component:l,appearanceProp:!!m?.appearance,baseTheme:!!m?.appearance?.baseTheme,elements:!!m?.appearance?.elements,variables:!!m?.appearance?.variables,...S}}}}function F(b,l,m){return Hr(fr)(b,l,m)}function ue(b,l,m){return Hr("COMPONENT_OPENED")(b,l,m)}function je(b){return typeof b=="string"?b:typeof b=="object"&&b!==null&&"name"in b&&typeof b.name=="string"?b.name:void 0}let ot=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;function _t(b,l,m){return typeof b=="function"?b(l):b!==void 0?b:m!==void 0?m:void 0}let xt=(...b)=>{},$t=!1,Pt=null,rn=!1,Ji=[];function pr(b,l,m,S){$t&&(Ji.push({level:b,message:l,context:m,source:S,ts:Date.now()}),Ji.length>200&&Ji.shift())}async function _o(b){try{if(!$t||Pt)return;let{getDebugLogger:l}=await u.e("785").then(u.bind(u,3656)),m=await l({logLevel:b?.logLevel,telemetryCollector:b?.telemetryCollector});if(m&&(Pt=m)&&Ji.length!==0){for(let S of Ji){let U={...S.context||{},__preInit:!0,__preInitTs:S.ts};switch(S.level){case"error":Pt.error(S.message,U,S.source);break;case"warn":Pt.warn(S.message,U,S.source);break;case"info":Pt.info(S.message,U,S.source);break;case"debug":Pt.debug(S.message,U,S.source)}}Ji.length=0}}catch(l){try{console.debug?.("Debug logger initialization failed",l)}catch{}return}}let cn={debug(b,l,m){if(!Pt)return void pr("debug",b,l,m);Pt.debug(b,l,m)},error(b,l,m){if(!Pt)return void pr("error",b,l,m);Pt.error(b,l,m)},info(b,l,m){if(!Pt)return void pr("info",b,l,m);Pt.info(b,l,m)},warn(b,l,m){if(!Pt)return void pr("warn",b,l,m);Pt.warn(b,l,m)}},$a="clerk:beforeunload",xr=["http:","https:","wails:","chrome-extension:"];function Fo(b){let l=new URL(b,window.location.href);window.dispatchEvent(new CustomEvent($a)),window.location.href=l.href}let ll=(b=!1)=>{if(!b)return{track:async m=>{await m()},isUnloading:()=>!1};let l=(()=>{let m=!1,S=()=>m=!0;return{startListening:()=>{window.addEventListener("beforeunload",S),window.addEventListener($a,S)},stopListening:()=>{window.removeEventListener("beforeunload",S),window.removeEventListener($a,S)},isUnloading:()=>m}})();return{track:async m=>{l.startListening(),await m(),l.stopListening()},isUnloading:l.isUnloading}},qn=b=>({amount:b.amount,amountFormatted:b.amount_formatted,currency:b.currency,currencySymbol:b.currency_symbol}),zo=b=>{let l={grandTotal:qn(b.grand_total),subtotal:qn(b.subtotal),taxTotal:qn(b.tax_total)};return"past_due"in b&&(l.pastDue=b.past_due?qn(b.past_due):null),"credit"in b&&(l.credit=b.credit?qn(b.credit):null),"total_due_now"in b&&(l.totalDueNow=qn(b.total_due_now)),"total_due_after_free_trial"in b&&(l.totalDueAfterFreeTrial=b.total_due_after_free_trial?qn(b.total_due_after_free_trial):null),l},ft="__clerk_satellite_url",Kr="suffixed_cookies",ht="__clerk_synced",rs=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help",ua,ht,ft,Kr];function wi(b){return new URL(window.location.href).searchParams.get(b)||null}function ca(b){let l=new URL(window.location.href);l.searchParams.has(b)&&(l.searchParams.delete(b),window.history.replaceState(window.history.state,"",l))}function Ha(b){let l=new URLSearchParams(window.location.search),m=b||new URLSearchParams;for(let S of rs){let U=l.get(S);U&&m.set(S,U)}return m}let Ul=(b,l)=>!!(b.isSignedIn&&l?.authConfig.singleSessionMode),_a=(b,l)=>!l?.organizationSettings.enabled,oo=(b,l)=>!l?.commerceSettings.billing.user.enabled&&!l?.commerceSettings.billing.organization.enabled,xs=(b,l)=>!l?.apiKeysSettings?.user_api_keys_enabled,fi=(b,l)=>!l?.apiKeysSettings?.orgs_api_keys_enabled;function Mo(b,l=""){return b.errors&&!!b.errors.find(m=>m.code===l)}let Wt=(function({packageName:b,customMessages:l}){let m=b;function S(O,M){if(!M)return`${m}: ${O}`;let ee=O;for(let X of O.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let q=(M[X[1]]||"").toString();ee=ee.replace(`{{${X[1]}}}`,q)}return`${m}: ${ee}`}let U={...ln,...l};return{setPackageName({packageName:O}){return typeof O=="string"&&(m=O),this},setMessages({customMessages:O}){return Object.assign(U,O||{}),this},throwInvalidPublishableKeyError(O){throw Error(S(U.InvalidPublishableKeyErrorMessage,O))},throwInvalidProxyUrl(O){throw Error(S(U.InvalidProxyUrlErrorMessage,O))},throwMissingPublishableKeyError(){throw Error(S(U.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(S(U.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(O){throw Error(S(U.MissingClerkProvider,O))},throw(O){throw Error(S(O))}}})({packageName:"@clerk/clerk-js"});var ul=u(4763);let Qs=RegExp("/{1,}","g"),so=(b,l={})=>{if(b==null||!b||typeof b!="object")return"";let m=new URLSearchParams;return Object.keys(b).forEach(S=>{let U=l.keyEncoder?l.keyEncoder(S):S,O=b[S];if(Array.isArray(O))O.forEach(M=>M!==void 0&&m.append(U,M||""));else{if(O===void 0)return;typeof O=="object"&&O!==null?m.append(U,JSON.stringify(O)):m.append(U,String(O??""))}}),m.toString()},pi="http://clerk-dummy",Ba=["javascript:"],{isDevOrStagingUrl:cl}=(function(){let b=new Map;return{isDevOrStagingUrl:l=>{if(!l)return!1;let m=typeof l=="string"?l:l.hostname,S=b.get(m);return S===void 0&&(S=Lt.some(U=>m.endsWith(U)),b.set(m,S)),S}}})(),hr=new Map;function ai(b){return b.replace("clerk.","")}function Ri(b,l={}){let{base:m,hashPath:S,hashSearch:U,searchParams:O,hashSearchParams:M,...ee}=b,X=new URL(m||"",typeof window<"u"&&window.location?window.location.href:"http://react-native-fake-base-url");if(O instanceof URLSearchParams&&O.forEach((Se,Oe)=>{Se!=null&&X.searchParams.set(br(Oe),Se)}),Object.assign(X,ee),S||U||M){var q;let Se=new URL(pi+X.hash.substring(1));for(let[ze,rt]of(q=Se.pathname,Se.pathname=[q,S||""].filter(Ct=>Ct).join("/").replace(Qs,"/"),Object.entries((Ct=>{let Je={};return new URLSearchParams(Ct).forEach((yt,Bt)=>{if(Bt in Je){let an=Je[Bt];Array.isArray(an)?an.push(yt):Je[Bt]=[an,yt]}else Je[Bt]=yt}),Je})(U||""))))Se.searchParams.append(ze,rt);if(M)for(let ze of Array.isArray(M)?M:[M])(ze instanceof URLSearchParams||typeof ze=="object")&&new URLSearchParams(ze).forEach((rt,Ct)=>{rt!=null&&Se.searchParams.set(br(Ct),rt)});let Oe=Se.href.replace(pi,"");Oe!=="/"&&(X.hash=Oe)}let{stringify:Ae,skipOrigin:ve}=l;return Ae?ve?X.href.replace(X.origin,""):X.href:X}function Zr(b){return window.location===void 0&&typeof b=="string"?b:(b=new URL(b.toString(),window.location.origin)).href.replace(b.origin,"")}let Wn=b=>(b||"").replace(/\/+$/,"");function Yr(b,l){try{return new URL(b)}catch{return new URL(b,l)}}let gr=[/\0/,/^\/\//,/[\x00-\x1F]/],lo=["/oauth/authorize"],Ga=["/v1/verify","/v1/tickets/accept","/oauth/authorize-with-immediate-redirect","/oauth/end_session"];function L(b){var l;return l=b.replace(/_/g,"/").replace(/-/g,"+"),decodeURIComponent(u.g.atob(l).split("").map(m=>"%"+("00"+m.charCodeAt(0).toString(16)).slice(-2)).join(""))}function H(b){let l=(b||"").split("."),[m,S,U]=l;if(l.length!==3||!m||!S||!U)throw Error("JWT could not be decoded");let O=JSON.parse(L(S)),M={__raw:b};return Object.keys(O).forEach(ee=>{M[ee]=O[ee]}),{encoded:{header:m,payload:S,signature:U},header:JSON.parse(L(m)),claims:M}}function ne(){if(!D())return null;try{let b=navigator?.language;return!b||typeof b!="string"||b.trim()===""?null:b}catch{return null}}function ae(){return globalThis.document!==void 0}function me(){if(!(function(){if(!ae())return!1;try{return window.self!==window.top}catch{return!0}})())return!1;try{return window.top?.location.href,!1}catch{return!0}}class Te{#n=[];#r={metamask:"MetaMask",okx_wallet:"OKX Wallet"};static#i=null;constructor(){typeof window>"u"||(window.addEventListener("eip6963:announceProvider",this.#s),window.dispatchEvent(new Event("eip6963:requestProvider")))}static getInstance(){return Te.#i||(Te.#i=new Te),Te.#i}get=l=>{let m=this.#n.find(S=>S.info.name===this.#r[l])?.provider;return m!==void 0?m:window.ethereum};#s=l=>{this.#n.some(m=>m.info.uuid===l.detail.info.uuid)||this.#n.push(l.detail)}}async function Ge(b){let{provider:l}=b,m=await Gr(l);if(!m)return"";let S=await m.request({method:"eth_requestAccounts"});return S&&S[0]||""}async function $e(b){let{identifier:l,nonce:m,provider:S}=b,U=await Gr(S);return U?await U.request({method:"personal_sign",params:[`0x${m.split("").map(O=>O.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,l]}):""}async function Ye(){return await Ge({provider:"metamask"})}async function et(){return await Ge({provider:"coinbase_wallet"})}async function Be(){return await Ge({provider:"okx_wallet"})}async function Nt(){return await Ge({provider:"base"})}async function tn(b){return await $e({...b,provider:"metamask"})}async function Kn(b){return await $e({...b,provider:"coinbase_wallet"})}async function _n(b){return await $e({...b,provider:"okx_wallet"})}async function zi(b){return await $e({...b,provider:"base"})}async function Gr(b){if(b==="coinbase_wallet")return(await u.e("368").then(u.bind(u,9373)).then(l=>l.createCoinbaseWalletSDK))({preference:{options:"all"}}).getProvider();if(b==="base")try{return(await u.e("692").then(u.bind(u,8692)).then(l=>l.createBaseAccountSDK))({appName:typeof window<"u"&&window.Clerk?.__unstable__environment?.displayConfig?.applicationName||typeof document<"u"&&document.title||"Web3 Application"}).getProvider()}catch{return null}return Te.getInstance().get(b)}function Da(b){let l=["redirectUrl","afterSignInUrl","afterSignUpUrl","after_sign_in_url","after_sign_up_url"],m=Object.keys(b).find(S=>l.includes(S));m&&b[m]&&Et(`Clerk: The prop "${m}" is deprecated and should be replaced with the new "fallbackRedirectUrl" or "forceRedirectUrl" props instead. Learn more: https://clerk.com/docs/guides/custom-redirects#redirect-url-props`)}let Sa="environment",kl=JSON.stringify,xu=JSON.parse;class Yi{static _key(l){return`__clerk_${l}`}static isExpired(l){return!!l.exp&&Date.now()>l.exp}static setItem(l,m,S){try{let U={value:m,...S&&{exp:Date.now()+S}};window.localStorage.setItem(this._key(l),kl(U))}catch{}}static getItem(l,m){try{let S=window.localStorage.getItem(this._key(l));if(!S)return m;let U=xu(S);return U?this.isExpired(U)?(this.removeItem(l),m):U?.value??m:m}catch{return m}}static removeItem(l){try{window.localStorage.removeItem(this._key(l))}catch{}}}let Mi="ClerkJS:";function Ol(b=""){throw Error(`${Mi} Something went wrong initializing Clerk in development mode.${b&&` ${b}`}`)}function as(b){throw Error(`${Mi} Something went wrong initializing Clerk during the ${b} flow. Please contact support.`)}function Qr(b){throw Error(`${Mi} You need to start a ${b} flow by calling ${b}.create() first.`)}function ws(b,l){throw Error(`${Mi} Strategy "${l}" is not a valid strategy for ${b}.`)}function Fl(b){throw Error(`${Mi} You need to start a ${b} flow by calling ${b}.create({ identifier: 'your web3 wallet address' }) first`)}function Lo(b=""){throw Error(`${Mi} Missing '${b}' option`)}function zl(b,l){throw Error(`${Mi} Response: ${b||0} not supported yet.
364
- For more information contact us at ${l}`)}function Ml(b){throw Error(`${Mi} Missing publicKey. When calling 'navigator.credentials.${b}()' it is required to pass a publicKey object.`)}let ac={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(b,l)=>l<5,retryImmediately:!1,jitter:!0},Al=async b=>new Promise(l=>setTimeout(l,b)),dl=(b,l)=>l?b*(1+Math.random()):b,Rs=async(b,l={})=>{var m;let S,U=0,{shouldRetry:O,initialDelay:M,maxDelayBetweenRetries:ee,factor:X,retryImmediately:q,jitter:Ae,onBeforeRetry:ve}={...ac,...l},Se=(m={initialDelay:M,maxDelayBetweenRetries:ee,factor:X,jitter:Ae},S=0,async()=>{let Oe;await Al((Oe=dl(Oe=m.initialDelay*Math.pow(m.factor,S),m.jitter),Math.min(m.maxDelayBetweenRetries||Oe,Oe))),S++});for(;;)try{return await b()}catch(Oe){if(!O(Oe,++U))throw Oe;ve&&await ve(U),q&&U===1?await Al(dl(100,Ae)):await Se()}};async function Qu(b="",l){let{async:m,defer:S,beforeLoad:U,crossOrigin:O,nonce:M}=l||{};return Rs(()=>new Promise((ee,X)=>{b||X(Error("loadScript cannot be called without a src")),document&&document.body||X(Error("loadScript cannot be called when document does not exist"));let q=document.createElement("script");O&&q.setAttribute("crossorigin",O),q.async=m||!1,q.defer=S||!1,q.addEventListener("load",()=>{q.remove(),ee(q)}),q.addEventListener("error",Ae=>{q.remove(),X(Ae.error??Error(`failed to load script: ${b}`))}),q.src=b,q.nonce=M,U?.(q),document.body.appendChild(q)}),{shouldRetry:(ee,X)=>X<=5})}let wr="clerk-captcha",Ll="clerk-invisible-captcha";async function $l(b){return window.turnstile||await Ns(b).catch(()=>{throw{captchaError:"captcha_script_failed_to_load"}}),window.turnstile}async function Ns(b){try{return await Qu("https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",{defer:!0,nonce:b})}catch(l){throw console.warn("Clerk: Failed to load the CAPTCHA script from Cloudflare. If you see a CSP error in your browser, please add the necessary CSP rules to your app. Visit https://clerk.com/docs/security/clerk-csp for more information."),l}}function Ts(b){try{let l=b.getAttribute("data-cl-theme")||void 0,m=b.getAttribute("data-cl-language")||void 0,S=b.getAttribute("data-cl-size")||void 0;return{theme:l,language:m,size:S}}catch{return{theme:void 0,language:void 0,size:void 0}}}let $o=async b=>{let l,m,S,U,{siteKey:O,widgetType:M,invisibleSiteKey:ee,nonce:X}=b,{modalContainerQuerySelector:q,modalWrapperQuerySelector:Ae,closeModal:ve,openModal:Se}=b,Oe=await $l(X),ze=[],rt="",Ct="",Je=O,yt=0,Bt=null,an="invisible";if(q&&Ae){Bt=M,U=q,an="modal";try{await Se?.()}catch{throw{captchaError:"modal_component_not_ready"}}let nn=await new Promise(Yt=>{if(document.querySelector(q))return Yt(document.querySelector(q));let Kt=new MutationObserver(()=>{document.querySelector(q)&&(Kt.disconnect(),Yt(document.querySelector(q)))});Kt.observe(document.body,{childList:!0,subtree:!0})});if(nn){let{theme:Yt,language:Kt,size:fn}=Ts(nn);l=Yt,S=Kt,m=fn}}if(!U&&M==="smart"){let nn=document.getElementById(wr);if(nn){an="smart",Bt="smart",U=`#${wr}`,nn.style.maxHeight="0";let{theme:Yt,language:Kt,size:fn}=Ts(nn);l=Yt,S=Kt,m=fn}else console.error("Cannot initialize Smart CAPTCHA widget because the `clerk-captcha` DOM element was not found; falling back to Invisible CAPTCHA widget. If you are using a custom flow, visit https://clerk.com/docs/guides/development/custom-flows/bot-sign-up-protection for instructions")}if(!U){an="invisible",Je=ee,Bt="invisible",U=`.${Ll}`;let nn=document.createElement("div");nn.classList.add(Ll),nn.style.display="none",document.body.appendChild(nn)}let Qn=async()=>new Promise((nn,Yt)=>{try{let Kt=Oe.render(U,{sitekey:Je,appearance:"interaction-only",theme:l||"auto",size:m||"normal",language:S||"auto",action:b.action,retry:"never","refresh-expired":"auto",callback:function(fn){ve?.(),nn([fn,Kt])},"before-interactive-callback":()=>{if(Ae){let fn=document.querySelector(Ae);fn?.style.setProperty("visibility","visible"),fn?.style.setProperty("pointer-events","all")}else{let fn=document.getElementById(wr);fn&&(fn.style.maxHeight="unset",fn.style.minHeight=m==="compact"?"140px":"68px",fn.style.marginBottom="1.5rem")}},"error-callback":function(fn){var zn;if(ze.push(fn),yt<2&&(zn=fn.toString(),["crashed","undefined_error","102","103","104","106","110600","300","600"].find(Ni=>zn.startsWith(Ni))))return void setTimeout(()=>{Oe.reset(Kt),yt++},250);Yt([ze.join(","),Kt])},"unsupported-callback":function(){return Yt(["This browser is not supported by the CAPTCHA.",Kt]),!0}})}catch(Kt){Yt([Kt,void 0])}});try{[rt,Ct]=await Qn(),Oe.remove(Ct)}catch([nn,Yt]){throw Yt&&Oe.remove(Yt),{captchaError:nn}}finally{if(an==="modal"&&ve?.(),an==="invisible"){let nn=document.querySelector(`.${Ll}`);nn&&document.body.removeChild(nn)}if(an==="smart"){let nn=document.getElementById(wr);nn&&(nn.style.maxHeight="0",nn.style.minHeight="unset",nn.style.marginBottom="unset")}}return{captchaToken:rt,captchaWidgetType:Bt}},os=b=>$o(b),Us=b=>{let l=b.__unstable__environment,m=l?l.displayConfig.captchaProvider:"turnstile",S=b.__internal_getOption?.("nonce");return{captchaSiteKey:l?l.displayConfig.captchaPublicKey:null,captchaWidgetType:l?l.displayConfig.captchaWidgetType:null,captchaProvider:m,captchaPublicKeyInvisible:l?l.displayConfig.captchaPublicKeyInvisible:null,canUseCaptcha:l?l.userSettings.signUp.captcha_enabled&&b.isStandardBrowser:null,nonce:S||void 0}};class ks{clerk;constructor(l){this.clerk=l}async invisible(l){let{captchaSiteKey:m,canUseCaptcha:S,captchaPublicKeyInvisible:U,nonce:O}=Us(this.clerk);return S&&m&&U?{...await os({action:l?.action,captchaProvider:"turnstile",invisibleSiteKey:U,nonce:l?.nonce||O||void 0,siteKey:U,widgetType:"invisible"}).catch(M=>M.captchaError?{captchaError:M.captchaError}:{captchaError:M?.message||M||"unexpected_captcha_error"}),captchaAction:l?.action}:{captchaError:"captcha_unavailable",captchaAction:l?.action}}async managedOrInvisible(l){let{captchaSiteKey:m,canUseCaptcha:S,captchaWidgetType:U,captchaProvider:O,captchaPublicKeyInvisible:M,nonce:ee}=Us(this.clerk);if(S&&m&&M){let X=await os({captchaProvider:O,invisibleSiteKey:M,nonce:ee||void 0,siteKey:m,widgetType:U,...l}).catch(q=>q.captchaError?{captchaError:q.captchaError}:l?.action==="verify"?{captchaError:q?.message||q||"unexpected_captcha_error"}:void 0);return l?.action==="verify"?{...X,captchaAction:"verify"}:X}return l?.action==="verify"?{captchaError:"captcha_unavailable",captchaAction:l?.action}:{}}async managedInModal(l){return this.managedOrInvisible({modalWrapperQuerySelector:"#cl-modal-captcha-wrapper",modalContainerQuerySelector:"#cl-modal-captcha-container",openModal:()=>this.clerk.__internal_openBlankCaptchaModal(),closeModal:()=>this.clerk.__internal_closeBlankCaptchaModal(),action:l?.action})}}class ba{client;CaptchaChallengeImpl;static instance;inflightException=null;captchaRetryCount=0;MAX_RETRY_ATTEMPTS=3;static getInstance(){return ba.instance||(ba.instance=new ba(oi,ks)),ba.instance}constructor(l,m){this.client=l,this.CaptchaChallengeImpl=m}async execute(l,m){if(this.captchaAttemptsExceeded())throw new Ue("Security verification failed. Please try again by refreshing the page, clearing your browser cookies, or using a different web browser.",{code:"captcha_client_attempts_exceeded"});try{return this.inflightException&&await this.inflightException,await m()}catch(S){let U;if(!Ee(S)||Pe(S)&&S.code==="network_error"||S.errors[0]?.code!=="requires_captcha")throw S;if(this.inflightException)return await this.inflightException,await m();this.inflightException=new Promise(O=>U=O);try{let O=await this.managedChallenge(l);O?.captchaError!=="modal_component_not_ready"&&(await this.client.getOrCreateInstance().__internal_sendCaptchaToken(O),this.captchaRetryCount=0)}catch(O){throw this.captchaRetryCount++,O}finally{U(),this.inflightException=null}return await m()}}managedChallenge(l){return new this.CaptchaChallengeImpl(l).managedInModal({action:"verify"})}captchaAttemptsExceeded=()=>this.captchaRetryCount>=this.MAX_RETRY_ATTEMPTS}class Qe{static clerk;id;pathRoot="";static get fapiClient(){return Qe.clerk.getFapiClient()}async reload(l){let{rotatingTokenNonce:m}=l||{};return this._baseGet({forceUpdateClient:!0,rotatingTokenNonce:m})}isNew(){return!this.id}static async _fetch(l,m={}){return ba.getInstance().execute(this.clerk,()=>this._baseFetch(l,m))}static async _baseFetch(l,m={}){let S;Qe.fapiClient||(function(){throw Error(`${Mi} Missing FAPI client in resources.`)})();let{fetchMaxTries:U}=m;try{S=await Qe.fapiClient.request(l,{fetchMaxTries:U})}catch(q){if(this.shouldRethrowOfflineNetworkErrors())throw new Ue(q?.message||q,{code:"network_error"});if(!$())return cn.warn("Network request failed while offline, returning null",{method:l.method,path:l.path},"baseResource"),null;throw q}let{payload:O,status:M,statusText:ee,headers:X}=S;if(X){let q=X.get("x-country");this.clerk.__internal_setCountry(q?q.toLowerCase():null)}if((l.method!=="GET"||m.forceUpdateClient)&&this._updateClient(O),M>=200&&M<=299)return O;if(M>=400){let q=O?.errors,Ae=q?.[0]?.long_message,ve=q?.[0]?.code;M===401&&ve!=="requires_captcha"&&await Qe.clerk.handleUnauthenticated(),(function(Oe,ze){var rt;if(!ze||!ze[0])return;let Ct=ze[0],Je=Ct.long_message;if(Ct.code==="origin_invalid"&&((rt=Qe.clerk.publishableKey).startsWith("live_")||rt.startsWith("pk_live_"))){let yt=Qe.clerk.frontendApi.replace("clerk.","");throw new It(`Clerk: Production Keys are only allowed for domain "${yt}".
365
- API Error: ${Je}`,{data:ze,status:Oe})}})(M,q);let Se={data:q,status:M};if(M===429&&X){let Oe=X.get("retry-after");if(Oe){let ze=parseInt(Oe,10);isNaN(ze)||(Se.retryAfter=ze)}}throw new It(Ae||ee,Se)}return null}static _updateClient(l){if(!l)return;let m=l.client||l.meta?.client;m&&Qe.clerk&&Qe.clerk.updateClient(oi.getOrCreateInstance().fromJSON(m))}path(l){let m=this.pathRoot;if(this.isNew())return m;let S=m.replace(/[^/]$/,"$&/")+encodeURIComponent(this.id);return l?S.replace(/[^/]$/,"$&/")+encodeURIComponent(l):S}withDefault(l,m){return l??m}async _baseGet(l={}){let m=await Qe._fetch({method:"GET",path:this.path(),rotatingTokenNonce:l.rotatingTokenNonce},l);return this.fromJSON(m?.response||m)}async _baseMutate(l){let{action:m,body:S,method:U,path:O}=l,M=await Qe._fetch({method:U,path:O||this.path(m),body:S});return this.fromJSON(M?.response||M)}async _baseMutateBypass(l){let{action:m,body:S,method:U,path:O}=l,M=await Qe._baseFetch({method:U,path:O||this.path(m),body:S});return this.fromJSON(M?.response||M)}async _basePost(l={}){return this._baseMutate({...l,method:"POST"})}async _basePostBypass(l={}){return this._baseMutateBypass({...l,method:"POST"})}async _basePut(l={}){return this._baseMutate({...l,method:"PUT"})}async _basePatch(l={}){return this._baseMutate({...l,method:"PATCH"})}async _baseDelete(l={}){await this._baseMutate({...l,method:"DELETE"})}static shouldRethrowOfflineNetworkErrors(){return Qe.clerk?.__internal_getOption?.("experimental")?.rethrowOfflineNetworkErrors||!1}}let Pa={enabled:!1,first_factors:[],name:"phone_number",required:!1,second_factors:[],used_for_first_factor:!1,used_for_second_factor:!1,verifications:[],verify_at_sign_up:!1};class oc extends Qe{id=void 0;actions={create_organization:!1,delete_self:!1};attributes={email_address:{enabled:!0,first_factors:["email_code"],name:"email_address",required:!0,second_factors:[],used_for_first_factor:!0,used_for_second_factor:!1,verifications:["email_code"],verify_at_sign_up:!0},phone_number:{...Pa,name:"phone_number"},username:{...Pa,name:"username"},web3_wallet:{...Pa,name:"web3_wallet"},first_name:{...Pa,name:"first_name"},last_name:{...Pa,name:"last_name"},password:{enabled:!0,first_factors:[],name:"password",required:!0,second_factors:[],used_for_first_factor:!1,used_for_second_factor:!1,verifications:[],verify_at_sign_up:!1},authenticator_app:{...Pa,name:"authenticator_app"},backup_code:{...Pa,name:"backup_code"},passkey:{...Pa,name:"passkey"}};enterpriseSSO={enabled:!1};passkeySettings={allow_autofill:!1,show_sign_in_button:!1};passwordSettings={};saml={enabled:!1};signIn={second_factor:{required:!1,enabled:!1}};signUp={allowlist_only:!1,captcha_enabled:!1,legal_consent_enabled:!1,mode:"public",progressive:!0};social={};usernameSettings={};get authenticatableSocialStrategies(){return this.social?Object.entries(this.social).filter(([,l])=>l.enabled&&l.authenticatable).map(([,l])=>l.strategy).sort():[]}get enabledFirstFactorIdentifiers(){return this.attributes?Object.entries(this.attributes).filter(([l,m])=>m.used_for_first_factor&&!l.startsWith("web3")).map(([l])=>l):[]}get socialProviderStrategies(){return this.social?Object.entries(this.social).filter(([,l])=>l.enabled).map(([,l])=>l.strategy).sort():[]}get web3FirstFactors(){return this.attributes?Object.entries(this.attributes).filter(([l,m])=>m.used_for_first_factor&&l.startsWith("web3")).map(([,l])=>l.first_factors).flat():[]}get alternativePhoneCodeChannels(){return this.attributes?Object.entries(this.attributes).filter(([l,m])=>m.used_for_first_factor&&l==="phone_number").map(([,l])=>l?.channels?.filter(m=>m!=="sms")||[]).flat():[]}constructor(l=null){super(),this.fromJSON(l)}get instanceIsPasswordBased(){return!!(this.attributes?.password?.enabled&&this.attributes.password?.required)}get hasValidAuthFactor(){return!!(this.attributes?.email_address?.enabled||this.attributes?.phone_number?.enabled||this.attributes.password?.required&&this.attributes.username?.required)}fromJSON(l){return l&&(this.attributes=this.withDefault(l.attributes?Object.fromEntries(Object.entries(l.attributes).map(m=>[m[0],{...m[1],name:m[0]}])):null,this.attributes),this.actions=this.withDefault(l.actions,this.actions),this.enterpriseSSO=this.withDefault(l.enterprise_sso,this.enterpriseSSO),this.passkeySettings=this.withDefault(l.passkey_settings,this.passkeySettings),this.passwordSettings=l.password_settings?{...l.password_settings,min_length:Math.max(l.password_settings?.min_length??8,8),max_length:l.password_settings?.max_length===0?72:Math.min(l.password_settings?.max_length??72,72)}:this.passwordSettings,this.saml=this.withDefault(l.saml,this.saml),this.signIn=this.withDefault(l.sign_in,this.signIn),this.signUp=this.withDefault(l.sign_up,this.signUp),this.social=this.withDefault(l.social,this.social),this.usernameSettings=l.username_settings?{...l.username_settings,min_length:Math.max(l.username_settings?.min_length??4,4),max_length:Math.min(l.username_settings?.max_length??64,64)}:this.usernameSettings),this}__internal_toSnapshot(){return{actions:this.actions,attributes:this.attributes,passkey_settings:this.passkeySettings,password_settings:this.passwordSettings,saml:this.saml,sign_in:this.signIn,sign_up:this.signUp,social:this.social}}}class wu extends Qe{billing={stripePublishableKey:null,organization:{enabled:!1,hasPaidPlans:!1},user:{enabled:!1,hasPaidPlans:!1}};constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.billing.stripePublishableKey=l.billing.stripe_publishable_key,this.billing.organization.enabled=l.billing.organization.enabled,this.billing.organization.hasPaidPlans=l.billing.organization.has_paid_plans,this.billing.user.enabled=l.billing.user.enabled,this.billing.user.hasPaidPlans=l.billing.user.has_paid_plans),this}__internal_toSnapshot(){return{billing:{stripe_publishable_key:this.billing.stripePublishableKey,organization:{enabled:this.billing.organization.enabled,has_paid_plans:this.billing.organization.hasPaidPlans},user:{enabled:this.billing.user.enabled,has_paid_plans:this.billing.user.hasPaidPlans}}}}}function mt(b){let l=new Date(b||new Date);return l instanceof Date&&!isNaN(l.getTime())?l:new Date}class Os extends Qe{claimedAt=null;reverification=!1;singleSessionMode=!1;preferredChannels=null;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.claimedAt=this.withDefault(l.claimed_at?mt(l.claimed_at):null,this.claimedAt),this.reverification=this.withDefault(l.reverification,this.reverification),this.singleSessionMode=this.withDefault(l.single_session_mode,this.singleSessionMode),this.preferredChannels=this.withDefault(l.preferred_channels,this.preferredChannels)),this}__internal_toSnapshot(){return{claimed_at:this.claimedAt?this.claimedAt.getTime():null,id:this.id??"",object:"auth_config",reverification:this.reverification,single_session_mode:this.singleSessionMode}}}let uo={build:(b,l,m)=>[b,l,m].filter(Boolean).join("-"),parse:(b,l,m)=>{let S=uo.extractTemplate(b,l,m);return{organizationId:m,sessionId:l,template:S}},extractTemplate:(b,l,m)=>{if(b===l||m&&b===`${l}-${m}`)return;let S=b.slice(l.length+1);return m&&S.endsWith(`-${m}`)&&(S=S.slice(0,-(m.length+1))),S||void 0}},mn="clerk",qe=10,xa={broadcast:!0};class ss{prefix;data;static fromKey(l){let[m,S,U=""]=l.split("::");return new ss(m,{audience:U,tokenId:S})}constructor(l,m){this.prefix=l,this.data=m,this.prefix=l,this.data=m}toKey(){let{tokenId:l,audience:m}=this.data;return[this.prefix,l,m||""].join("::")}}let Bn=((b=mn)=>{let l=new Map,m=Math.random().toString(36).slice(2),S=null;return{clear:()=>{l.forEach(U=>{U.timeoutId!==void 0&&clearTimeout(U.timeoutId)}),l.clear()},close:()=>{S&&(S.close(),S=null)},get:(U,O=qe)=>{let M=new ss(b,U),ee=l.get(M.toKey());if(!ee)return;let X=Math.floor(Date.now()/1e3)-ee.createdAt;if(ee.expiresIn-X<(O||1)+5){ee.timeoutId!==void 0&&clearTimeout(ee.timeoutId),l.delete(M.toKey());return}return ee.entry},set:U=>{((O,M=xa)=>{let ee=new ss(b,{audience:O.audience,tokenId:O.tokenId}).toKey(),X=Math.floor(Date.now()/1e3),q={createdAt:O.createdAt??X,entry:O,expiresIn:void 0},Ae=()=>{let ve=l.get(ee);ve===q&&(ve.timeoutId!==void 0&&clearTimeout(ve.timeoutId),l.delete(ee))};O.tokenResolver.then(ve=>{let Se=ve.jwt?.claims;if(!Se||typeof Se.exp!="number"||typeof Se.iat!="number")return Ae();let Oe=Se.exp-Se.iat;q.expiresIn=Oe;let ze=setTimeout(Ae,1e3*Oe);q.timeoutId=ze,typeof ze.unref=="function"&&ze.unref();let rt=S;if(rt&&M.broadcast){let Ct=ve.getRawString();if(Ct&&Se.sid){let Je=Se.sid,yt=Se.org_id||Se.o?.id,Bt=uo.extractTemplate(O.tokenId,Je,yt),an=uo.build(Je,Bt,yt);if(O.tokenId===an){let Qn=`bc_${Date.now()}_${Math.random().toString(36).substring(2,11)}`;cn.info("Broadcasting token update to other tabs",{organizationId:yt,sessionId:Je,tabId:m,template:Bt,tokenId:O.tokenId,traceId:Qn},"tokenCache");let nn={organizationId:yt,sessionId:Je,template:Bt,tokenId:O.tokenId,tokenRaw:Ct,traceId:Qn};rt.postMessage(nn)}}}}).catch(()=>{Ae()}),l.set(ee,q)})(U,xa)},size:()=>l.size}})();class oi extends Qe{static instance;pathRoot="/client";sessions=[];signUp=new A;signIn=new Fn;lastActiveSessionId=null;captchaBypass=!1;cookieExpiresAt=null;lastAuthenticationStrategy=null;createdAt=null;updatedAt=null;static getOrCreateInstance(l=null){return oi.instance||(oi.instance=new oi(l)),oi.instance}static clearInstance(){oi.instance=null}static isClientResource(l){return!!l&&l instanceof oi}constructor(l=null){super(),this.fromJSON(l)}get signUpAttempt(){return this.signUp}get signInAttempt(){return this.signIn}get activeSessions(){return this.sessions.filter(l=>l.status==="active")}get signedInSessions(){return this.sessions.filter(l=>l.status==="active"||l.status==="pending")}create(){return this._basePut()}fetch({fetchMaxTries:l}={}){return this._baseGet({fetchMaxTries:l})}async destroy(){return this._baseDelete({path:"/client"}).then(()=>{Bn.clear(),this.id="",this.sessions=[],this.signUp=new A(null),this.signIn=new Fn(null),this.lastActiveSessionId=null,this.lastAuthenticationStrategy=null,this.cookieExpiresAt=null,this.createdAt=null,this.updatedAt=null})}removeSessions(){return this._baseDelete({path:this.path()+"/sessions"}).then(l=>(Bn.clear(),l))}clearCache(){return this.sessions.forEach(l=>l.clearCache())}isEligibleForTouch(){return!!this.cookieExpiresAt&&this.cookieExpiresAt.getTime()-Date.now()<=6912e5}buildTouchUrl({redirectUrl:l}){return Qe.fapiClient.buildUrl({method:"GET",path:"/client/touch",pathPrefix:"v1",search:{redirect_url:l.toString()}}).toString()}__internal_sendCaptchaToken(l){return this._basePostBypass({body:l,path:this.path()+"/verify"})}fromJSON(l){return l&&(this.id=l.id,this.sessions=(l.sessions||[]).map(m=>new Po(m)),this.signUp=new A(l.sign_up),this.signIn=new Fn(l.sign_in),this.lastActiveSessionId=l.last_active_session_id,this.captchaBypass=l.captcha_bypass||!1,this.cookieExpiresAt=l.cookie_expires_at?mt(l.cookie_expires_at):null,this.lastAuthenticationStrategy=l.last_authentication_strategy||null,this.createdAt=mt(l.created_at||void 0),this.updatedAt=mt(l.updated_at||void 0)),this}__internal_toSnapshot(){return{object:"client",id:this.id||"",sessions:this.sessions.map(l=>l.__internal_toSnapshot()),sign_up:this.signUp.__internal_toSnapshot(),sign_in:this.signIn.__internal_toSnapshot(),last_active_session_id:this.lastActiveSessionId,captcha_bypass:this.captchaBypass,cookie_expires_at:this.cookieExpiresAt?this.cookieExpiresAt.getTime():null,last_authentication_strategy:this.lastAuthenticationStrategy??null,created_at:this.createdAt?.getTime()??null,updated_at:this.updatedAt?.getTime()??null}}path(){return this.pathRoot}}function mr(b){let{pageSize:l,initialPage:m,...S}=b||{},U=l??10;return new URLSearchParams({...Object.entries(S).reduce((O,[M,ee])=>(ee!==void 0&&(O[M]=ee),O),{}),limit:U+"",offset:((m??1)-1)*U+""})}class ar{static#n="/billing";static path(l,m){let{orgId:S}=m||{};return`${S?`/organizations/${S}`:"/me"}${ar.#n}${l}`}getPlans=async l=>{let{for:m,...S}=l||{},U={...S,payer_type:m==="organization"?"org":"user"};return await Qe._fetch({path:`${ar.#n}/plans`,method:"GET",search:mr(U)}).then(O=>{let{data:M,total_count:ee}=O;return{total_count:ee,data:M.map(X=>new co(X))}})};getPlan=async l=>new co(await Qe._fetch({path:`${ar.#n}/plans/${l.id}`,method:"GET"}));getSubscription=async l=>await Qe._fetch({path:ar.path("/subscription",{orgId:l.orgId}),method:"GET"}).then(m=>new pl(m?.response));getStatements=async l=>{let{orgId:m,...S}=l;return await Qe._fetch({path:ar.path("/statements",{orgId:m}),method:"GET",search:mr(S)}).then(U=>{let{data:O,total_count:M}=U?.response;return{total_count:M,data:O.map(ee=>new fl(ee))}})};getStatement=async l=>new fl((await Qe._fetch({path:ar.path(`/statements/${l.id}`,{orgId:l.orgId}),method:"GET"}))?.response);getPaymentAttempts=async l=>{let{orgId:m,...S}=l;return await Qe._fetch({path:ar.path("/payment_attempts",{orgId:m}),method:"GET",search:mr(S)}).then(U=>{let{data:O,total_count:M}=U;return{total_count:M,data:O.map(ee=>new Rr(ee))}})};getPaymentAttempt=async l=>new Rr(await Qe._fetch({path:ar.path(`/payment_attempts/${l.id}`,{orgId:l.orgId}),method:"GET"}));startCheckout=async l=>{let{orgId:m,...S}=l;return new Gl((await Qe._fetch({path:ar.path("/checkouts",{orgId:m}),method:"POST",body:S}))?.response)}}class Hl extends Qe{id;createdAt;updatedAt;imageUrl;userId=null;email;firstName;lastName;organizationId=null;organizationName;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,l.created_at&&(this.createdAt=mt(l.created_at)),l.updated_at&&(this.updatedAt=mt(l.updated_at)),this.imageUrl=l.image_url,this.userId=l.user_id,this.email=l.email,this.firstName=l.first_name,this.lastName=l.last_name,this.organizationId=l.organization_id,this.organizationName=l.organization_name),this}}class Gl extends Qe{id;externalClientSecret;externalGatewayId;paymentMethod;plan;planPeriod;planPeriodStart;status;totals;isImmediatePlanChange;freeTrialEndsAt;payer;needsPaymentMethod;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.externalClientSecret=l.external_client_secret,this.externalGatewayId=l.external_gateway_id,this.paymentMethod=l.payment_method?new Bo(l.payment_method):void 0,this.plan=new co(l.plan),this.planPeriod=l.plan_period,this.planPeriodStart=l.plan_period_start,this.status=l.status,this.totals=zo(l.totals),this.isImmediatePlanChange=l.is_immediate_plan_change,l.free_trial_ends_at&&(this.freeTrialEndsAt=mt(l.free_trial_ends_at)),this.payer=new Hl(l.payer),this.needsPaymentMethod=l.needs_payment_method),this}confirm=l=>Rs(()=>this._basePatch({path:ar.path(`/checkouts/${this.id}/confirm`,{orgId:this.payer.organizationId}),body:l}),{factor:1.1,maxDelayBetweenRetries:2e3,initialDelay:2e3,jitter:!1,shouldRetry(m,S){if(!Ee(m)||S>=4)return!1;let U=m?.status,O=U===409&&m.errors?.[0]?.code==="checkout_already_in_progress";return U>=500||O}})}class ls extends Qe{id;name;description=null;slug;avatarUrl=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.description=l.description,this.slug=l.slug,this.avatarUrl=l.avatar_url),this}}class fl extends Qe{id;status;timestamp;totals;groups;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.timestamp=mt(l.timestamp),this.totals=zo(l.totals),this.groups=l.groups.map(m=>new us(m))),this}}class us{id;timestamp;items;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.timestamp=mt(l.timestamp),this.items=l.items.map(m=>new Rr(m))),this}}class Rr extends Qe{id;amount;failedAt=null;paidAt=null;updatedAt;paymentMethod=null;subscriptionItem;chargeType;status;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.amount=qn(l.amount),this.paidAt=l.paid_at?mt(l.paid_at):null,this.failedAt=l.failed_at?mt(l.failed_at):null,this.updatedAt=mt(l.updated_at),this.paymentMethod=l.payment_method?new Bo(l.payment_method):null,this.subscriptionItem=new Ru(l.subscription_item),this.chargeType=l.charge_type,this.status=l.status),this}}let $n="/payment_methods",Pl=async b=>{let{orgId:l,...m}=b;return new qr((await Qe._fetch({path:ar.path(`${$n}/initialize`,{orgId:l}),method:"POST",body:m}))?.response)},jl=async b=>{let{orgId:l,...m}=b;return new Bo((await Qe._fetch({path:ar.path($n,{orgId:l}),method:"POST",body:m}))?.response)},bi=async b=>{let{orgId:l,...m}=b??{};return await Qe._fetch({path:ar.path($n,{orgId:l}),method:"GET",search:mr(m)}).then(S=>{let{data:U,total_count:O}=S?.response;return{total_count:O,data:U.map(M=>new Bo(M))}})};class Bo extends Qe{id;last4=null;paymentType;cardType=null;isDefault;isRemovable;status;walletType;expiryYear;expiryMonth;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.last4=l.last4,this.paymentType=l.payment_type,this.cardType=l.card_type,this.isDefault=l.is_default,this.isRemovable=l.is_removable,this.status=l.status,this.walletType=l.wallet_type,this.expiryYear=l.expiry_year,this.expiryMonth=l.expiry_month,this.createdAt=l.created_at==null?l.created_at:mt(l.created_at),this.updatedAt=l.updated_at==null?l.updated_at:mt(l.updated_at)),this}async remove(l){let{orgId:m}=l??{};return new Ao((await Qe._fetch({path:ar.path(`/payment_methods/${this.id}`,{orgId:m}),method:"DELETE"}))?.response)}async makeDefault(l){let{orgId:m}=l??{};return await Qe._fetch({path:ar.path("/payers/default_payment_method",{orgId:m}),method:"PUT",body:{payment_method_id:this.id}}),null}}class qr extends Qe{externalClientSecret;externalGatewayId;paymentMethodOrder;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.externalClientSecret=l.external_client_secret,this.externalGatewayId=l.external_gateway_id,this.paymentMethodOrder=l.payment_method_order??["card"]),this}}class co extends Qe{id;name;fee;annualFee=null;annualMonthlyFee=null;description=null;isDefault;isRecurring;hasBaseFee;forPayerType;publiclyVisible;slug;avatarUrl=null;features;freeTrialDays;freeTrialEnabled;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.fee=qn(l.fee),this.annualFee=l.annual_fee?qn(l.annual_fee):null,this.annualMonthlyFee=l.annual_monthly_fee?qn(l.annual_monthly_fee):null,this.description=l.description,this.isDefault=l.is_default,this.isRecurring=l.is_recurring,this.hasBaseFee=l.has_base_fee,this.forPayerType=l.for_payer_type,this.publiclyVisible=l.publicly_visible,this.slug=l.slug,this.avatarUrl=l.avatar_url,this.freeTrialDays=this.withDefault(l.free_trial_days,null),this.freeTrialEnabled=this.withDefault(l.free_trial_enabled,!1),this.features=(l.features||[]).map(m=>new ls(m))),this}}class pl extends Qe{id;status;activeAt;createdAt;pastDueAt;updatedAt;nextPayment;subscriptionItems;eligibleForFreeTrial;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.createdAt=mt(l.created_at),this.updatedAt=l.updated_at?mt(l.updated_at):null,this.activeAt=mt(l.active_at),this.pastDueAt=l.past_due_at?mt(l.past_due_at):null,l.next_payment&&(this.nextPayment={amount:qn(l.next_payment.amount),date:mt(l.next_payment.date)}),this.subscriptionItems=(l.subscription_items||[]).map(m=>new Ru(m)),this.eligibleForFreeTrial=this.withDefault(l.eligible_for_free_trial,!1)),this}}class Ru extends Qe{id;plan;planPeriod;status;createdAt;periodStart;periodEnd;canceledAt;pastDueAt;amount;credit;isFreeTrial;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.plan=new co(l.plan),this.planPeriod=l.plan_period,this.status=l.status,this.createdAt=mt(l.created_at),this.pastDueAt=l.past_due_at?mt(l.past_due_at):null,this.periodStart=mt(l.period_start),this.periodEnd=l.period_end?mt(l.period_end):null,this.canceledAt=l.canceled_at?mt(l.canceled_at):null,this.amount=l.amount?qn(l.amount):void 0,this.credit=l.credit&&l.credit.amount?{amount:qn(l.credit.amount)}:void 0,this.isFreeTrial=this.withDefault(l.is_free_trial,!1)),this}async cancel(l){let{orgId:m}=l;return new Ao((await Qe._fetch({path:ar.path(`/subscription_items/${this.id}`,{orgId:m}),method:"DELETE"}))?.response)}}class Ao{object="";id;slug;deleted=!1;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.object=l.object,this.id=l.id,this.slug=l.slug,this.deleted=l.deleted),this}}class hl extends Qe{afterCreateOrganizationUrl="";afterJoinWaitlistUrl="";afterLeaveOrganizationUrl="";afterSignInUrl="";afterSignOutAllUrl="";afterSignOutOneUrl="";afterSignOutUrl="";afterSignUpUrl="";afterSwitchSessionUrl="";applicationName="";backendHost="";branded=!1;captchaHeartbeat=!1;captchaHeartbeatIntervalMs;captchaOauthBypass=["oauth_google","oauth_microsoft","oauth_apple"];captchaProvider="turnstile";captchaPublicKey=null;captchaPublicKeyInvisible=null;captchaWidgetType=null;clerkJSVersion;createOrganizationUrl="";experimental__forceOauthFirst;faviconImageUrl="";googleOneTapClientId;homeUrl="";id="";instanceEnvironmentType="";logoImageUrl="";organizationProfileUrl="";preferredSignInStrategy="password";privacyPolicyUrl="";showDevModeWarning=!1;signInUrl="";signUpUrl="";supportEmail="";termsUrl="";theme={};userProfileUrl="";waitlistUrl="";constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.afterCreateOrganizationUrl=this.withDefault(l.after_create_organization_url,this.afterCreateOrganizationUrl),this.afterJoinWaitlistUrl=this.withDefault(l.after_join_waitlist_url,this.afterJoinWaitlistUrl),this.afterLeaveOrganizationUrl=this.withDefault(l.after_leave_organization_url,this.afterLeaveOrganizationUrl),this.afterSignInUrl=this.withDefault(l.after_sign_in_url,this.afterSignInUrl),this.afterSignOutAllUrl=this.withDefault(l.after_sign_out_all_url,this.afterSignOutAllUrl),this.afterSignOutOneUrl=this.withDefault(l.after_sign_out_one_url,this.afterSignOutOneUrl),this.afterSignUpUrl=this.withDefault(l.after_sign_up_url,this.afterSignUpUrl),this.afterSwitchSessionUrl=this.withDefault(l.after_switch_session_url,this.afterSwitchSessionUrl),this.applicationName=this.withDefault(l.application_name,this.applicationName),this.branded=this.withDefault(l.branded,this.branded),this.captchaHeartbeat=this.withDefault(l.captcha_heartbeat,this.captchaHeartbeat),this.captchaHeartbeatIntervalMs=this.withDefault(l.captcha_heartbeat_interval_ms,this.captchaHeartbeatIntervalMs),this.captchaOauthBypass=this.withDefault(l.captcha_oauth_bypass,this.captchaOauthBypass),this.captchaProvider=this.withDefault(l.captcha_provider,this.captchaProvider),this.captchaPublicKey=this.withDefault(l.captcha_public_key,this.captchaPublicKey),this.captchaPublicKeyInvisible=this.withDefault(l.captcha_public_key_invisible,this.captchaPublicKeyInvisible),this.captchaWidgetType=this.withDefault(l.captcha_widget_type,this.captchaWidgetType),this.clerkJSVersion=this.withDefault(l.clerk_js_version,this.clerkJSVersion),this.createOrganizationUrl=this.withDefault(l.create_organization_url,this.createOrganizationUrl),this.faviconImageUrl=this.withDefault(l.favicon_image_url,this.faviconImageUrl),this.googleOneTapClientId=this.withDefault(l.google_one_tap_client_id,this.googleOneTapClientId),this.homeUrl=this.withDefault(l.home_url,this.homeUrl),this.id=this.withDefault(l.id,this.id),this.instanceEnvironmentType=this.withDefault(l.instance_environment_type,this.instanceEnvironmentType),this.logoImageUrl=this.withDefault(l.logo_image_url,this.logoImageUrl),this.organizationProfileUrl=this.withDefault(l.organization_profile_url,this.organizationProfileUrl),this.preferredSignInStrategy=this.withDefault(l.preferred_sign_in_strategy,this.preferredSignInStrategy),this.privacyPolicyUrl=this.withDefault(l.privacy_policy_url,this.privacyPolicyUrl),this.showDevModeWarning=this.withDefault(l.show_devmode_warning,this.showDevModeWarning),this.signInUrl=this.withDefault(l.sign_in_url,this.signInUrl),this.signUpUrl=this.withDefault(l.sign_up_url,this.signUpUrl),this.supportEmail=this.withDefault(l.support_email,this.supportEmail),this.termsUrl=this.withDefault(l.terms_url,this.termsUrl),this.theme=this.withDefault(l.theme,this.theme),this.userProfileUrl=this.withDefault(l.user_profile_url,this.userProfileUrl),this.waitlistUrl=this.withDefault(l.waitlist_url,this.waitlistUrl)),this}__internal_toSnapshot(){return{object:"display_config",after_create_organization_url:this.afterCreateOrganizationUrl,after_join_waitlist_url:this.afterJoinWaitlistUrl,after_leave_organization_url:this.afterLeaveOrganizationUrl,after_sign_in_url:this.afterSignInUrl,after_sign_out_all_url:this.afterSignOutAllUrl,after_sign_out_one_url:this.afterSignOutOneUrl,after_sign_up_url:this.afterSignUpUrl,after_switch_session_url:this.afterSwitchSessionUrl,application_name:this.applicationName,branded:this.branded,captcha_heartbeat_interval_ms:this.captchaHeartbeatIntervalMs,captcha_heartbeat:this.captchaHeartbeat,captcha_oauth_bypass:this.captchaOauthBypass,captcha_provider:this.captchaProvider,captcha_public_key_invisible:this.captchaPublicKeyInvisible,captcha_public_key:this.captchaPublicKey,captcha_widget_type:this.captchaWidgetType,clerk_js_version:this.clerkJSVersion,create_organization_url:this.createOrganizationUrl,favicon_image_url:this.faviconImageUrl,google_one_tap_client_id:this.googleOneTapClientId,home_url:this.homeUrl,id:this.id,instance_environment_type:this.instanceEnvironmentType,logo_image_url:this.logoImageUrl,organization_profile_url:this.organizationProfileUrl,preferred_sign_in_strategy:this.preferredSignInStrategy,privacy_policy_url:this.privacyPolicyUrl,show_devmode_warning:this.showDevModeWarning,sign_in_url:this.signInUrl,sign_up_url:this.signUpUrl,support_email:this.supportEmail,terms_url:this.termsUrl,theme:this.theme,user_profile_url:this.userProfileUrl,waitlist_url:this.waitlistUrl}}}var Jl=`const respond=r=>{self.postMessage(r)},workerToTabIds={};self.addEventListener("message",r=>{const e=r.data;switch(e.type){case"setTimeout":workerToTabIds[e.id]=setTimeout(()=>{respond({id:e.id}),delete workerToTabIds[e.id]},e.ms);break;case"clearTimeout":workerToTabIds[e.id]&&(clearTimeout(workerToTabIds[e.id]),delete workerToTabIds[e.id]);break;case"setInterval":workerToTabIds[e.id]=setInterval(()=>{respond({id:e.id})},e.ms);break;case"clearInterval":workerToTabIds[e.id]&&(clearInterval(workerToTabIds[e.id]),delete workerToTabIds[e.id]);break}});
366
- `;let sc=(b,l={})=>{if(typeof Worker>"u")return null;try{let m=new Blob([b],{type:"application/javascript; charset=utf-8"}),S=globalThis.URL.createObjectURL(m);return new Worker(S,l)}catch{return console.warn("Clerk: Cannot create worker from blob. Consider adding worker-src blob:; to your CSP"),null}},Nu=()=>{let b=0,l=()=>b++,m=new Map,S=(ee,X)=>ee?.postMessage(X),U=ee=>{m.get(ee.data.id)?.()},O=sc(Jl,{name:"clerk-timers"});if(O?.addEventListener("message",U),!O)return{setTimeout:globalThis.setTimeout.bind(globalThis),setInterval:globalThis.setInterval.bind(globalThis),clearTimeout:globalThis.clearTimeout.bind(globalThis),clearInterval:globalThis.clearInterval.bind(globalThis),cleanup:xt};let M=()=>{O||(O=sc(Jl,{name:"clerk-timers"}),O?.addEventListener("message",U))};return{setTimeout:(ee,X)=>{M();let q=l();return m.set(q,()=>{ee(),m.delete(q)}),S(O,{type:"setTimeout",id:q,ms:X}),q},setInterval:(ee,X)=>{M();let q=l();return m.set(q,ee),S(O,{type:"setInterval",id:q,ms:X}),q},clearTimeout:ee=>{M(),m.delete(ee),S(O,{type:"clearTimeout",id:ee})},clearInterval:ee=>{M(),m.delete(ee),S(O,{type:"clearInterval",id:ee})},cleanup:()=>{O&&(O.terminate(),O=null,m.clear())}}};function Fs({delayInMs:b}={delayInMs:1e3}){let l,m=Nu(),S=!1,U=()=>{l&&(m.clearTimeout(l),m.cleanup()),S=!0},O=async M=>{S=!1,await M(U),S||(l=m.setTimeout(()=>{O(M)},b))};return{run:O,stop:U}}class Vl extends Qe{id;emailAddress="";matchesSsoConnection=!1;linkedTo=[];verification;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}create(){return this._basePost({body:{email_address:this.emailAddress}})}prepareVerification=l=>this._basePost({action:"prepare_verification",body:{...l}});attemptVerification=l=>{let{code:m}=l||{};return this._basePost({action:"attempt_verification",body:{code:m}})};createEmailLinkFlow=()=>{let{run:l,stop:m}=Fs();return{startEmailLinkFlow:async({redirectUrl:S})=>(await this.prepareVerification({strategy:"email_link",redirectUrl:S}),new Promise((U,O)=>{l(()=>this.reload().then(M=>{M.verification.status==="verified"&&(m(),U(M))}).catch(M=>{m(),O(M)}))})),cancelEmailLinkFlow:m}};createEnterpriseSSOLinkFlow=()=>{let{run:l,stop:m}=Fs();return{startEnterpriseSSOLinkFlow:async({redirectUrl:S})=>{if(!(await this.prepareVerification({strategy:"enterprise_sso",redirectUrl:S})).verification.externalVerificationRedirectURL)throw Error("Unexpected: External verification redirect URL is missing");return new Promise((U,O)=>{l(()=>this.reload().then(M=>{M.verification.status==="verified"&&(m(),U(M))}).catch(M=>{m(),O(M)}))})},cancelEnterpriseSSOLinkFlow:m}};destroy=()=>this._baseDelete();toString=()=>this.emailAddress;fromJSON(l){return l&&(this.id=l.id,this.emailAddress=l.email_address,this.verification=new sr(l.verification),this.matchesSsoConnection=l.matches_sso_connection,this.linkedTo=(l.linked_to||[]).map(m=>new Gs(m))),this}__internal_toSnapshot(){return{object:"email_address",id:this.id,email_address:this.emailAddress,verification:this.verification.__internal_toSnapshot(),linked_to:this.linkedTo.map(l=>l.__internal_toSnapshot()),matches_sso_connection:this.matchesSsoConnection}}}let zs="token:update",Ho="user:signOut",gl="environment:update",ml="session:tokenResolved",xi=ce();class Kl extends Qe{user_api_keys_enabled=!1;orgs_api_keys_enabled=!1;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.user_api_keys_enabled=l.user_api_keys_enabled,this.orgs_api_keys_enabled=l.orgs_api_keys_enabled),this}__internal_toSnapshot(){return{user_api_keys_enabled:this.user_api_keys_enabled,orgs_api_keys_enabled:this.orgs_api_keys_enabled}}}class Tu extends Qe{actions={adminDelete:!1};domains={enabled:!1,enrollmentModes:[],defaultRole:null};slug={disabled:!1};enabled=!1;maxAllowedMemberships=1;forceOrganizationSelection;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(l.actions&&(this.actions.adminDelete=this.withDefault(l.actions.admin_delete,this.actions.adminDelete)),l.domains&&(this.domains.enabled=this.withDefault(l.domains.enabled,this.domains.enabled),this.domains.enrollmentModes=this.withDefault(l.domains.enrollment_modes,this.domains.enrollmentModes),this.domains.defaultRole=this.withDefault(l.domains.default_role,this.domains.defaultRole)),l.slug&&(this.slug.disabled=this.withDefault(l.slug.disabled,this.slug.disabled)),this.enabled=this.withDefault(l.enabled,this.enabled),this.maxAllowedMemberships=this.withDefault(l.max_allowed_memberships,this.maxAllowedMemberships),this.forceOrganizationSelection=this.withDefault(l.force_organization_selection,this.forceOrganizationSelection)),this}__internal_toSnapshot(){return{actions:{admin_delete:this.actions.adminDelete},domains:{enabled:this.domains.enabled,enrollment_modes:this.domains.enrollmentModes,default_role:this.domains.defaultRole},enabled:this.enabled,max_allowed_memberships:this.maxAllowedMemberships}}}class Er extends Qe{static instance;authConfig=new Os;displayConfig=new hl;maintenanceMode=!1;clientDebugMode=!1;pathRoot="/environment";userSettings=new oc;organizationSettings=new Tu;commerceSettings=new wu;apiKeysSettings=new Kl;protectConfig=new Cl;static getInstance(){return Er.instance||(Er.instance=new Er),Er.instance}constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.authConfig=new Os(l.auth_config),this.displayConfig=new hl(l.display_config),this.maintenanceMode=this.withDefault(l.maintenance_mode,this.maintenanceMode),this.clientDebugMode=this.withDefault(l.client_debug_mode,this.clientDebugMode),this.organizationSettings=new Tu(l.organization_settings),this.userSettings=new oc(l.user_settings),this.commerceSettings=new wu(l.commerce_settings),this.apiKeysSettings=new Kl(l.api_keys_settings),this.protectConfig=new Cl(l.protect_config)),this}fetch({touch:l,fetchMaxTries:m}={touch:!1}){return(l?this._basePatch({}):this._baseGet({fetchMaxTries:m})).then(S=>(xi.emit(gl,null),S))}isDevelopmentOrStaging=()=>!this.isProduction();isProduction=()=>this.displayConfig.instanceEnvironmentType==="production";isSingleSession=()=>this.authConfig.singleSessionMode;onWindowLocationHost=()=>this.displayConfig.backendHost===window.location.host;__internal_toSnapshot(){return{object:"environment",auth_config:this.authConfig.__internal_toSnapshot(),display_config:this.displayConfig.__internal_toSnapshot(),id:this.id??"",maintenance_mode:this.maintenanceMode,client_debug_mode:this.clientDebugMode,organization_settings:this.organizationSettings.__internal_toSnapshot(),user_settings:this.userSettings.__internal_toSnapshot(),commerce_settings:this.commerceSettings.__internal_toSnapshot(),api_keys_settings:this.apiKeysSettings.__internal_toSnapshot(),protect_config:this.protectConfig.__internal_toSnapshot()}}}class El{static encode(l){return btoa(String.fromCharCode(...new Uint8Array(l))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}static decode(l){let m=atob(l.replace(/-/g,"+").replace(/_/g,"/")),S=m.length,U=new Uint8Array(S);for(let O=0;O<S;O++)U[O]=m.charCodeAt(O);return U.buffer}}async function lc(b){try{let m=await navigator.credentials.create({publicKey:b});return m?{publicKeyCredential:m,error:null}:{error:new lt("Browser failed to create credential",{code:"passkey_registration_failed"}),publicKeyCredential:null}}catch(m){var l;return{error:(l=m).name==="InvalidStateError"?new lt(l.message,{code:"passkey_already_exists"}):l.name==="NotAllowedError"?new lt(l.message,{code:"passkey_registration_cancelled"}):Do(l),publicKeyCredential:null}}}let Zl=new class{controller;__abort(){if(!this.controller)return;let b=Error();b.name="AbortError",this.controller.abort(b)}createAbortSignal(){this.__abort();let b=new AbortController;return this.controller=b,b.signal}abort(){this.__abort(),this.controller=void 0}};async function or({publicKeyOptions:b,conditionalUI:l}){try{let S=await navigator.credentials.get({publicKey:b,mediation:l?"conditional":"optional",signal:Zl.createAbortSignal()});return S?{publicKeyCredential:S,error:null}:{error:new lt("Browser failed to get credential",{code:"passkey_retrieval_failed"}),publicKeyCredential:null}}catch(S){var m;return{error:(m=S).name==="NotAllowedError"?new lt(m.message,{code:"passkey_retrieval_cancelled"}):Do(m),publicKeyCredential:null}}}function Do(b){return b.name==="AbortError"?new lt(b.message,{code:"passkey_operation_aborted"}):b.name==="SecurityError"?new lt(b.message,{code:"passkey_invalid_rpID_or_domain"}):b}function Yl(b){let l=cs(b.challenge),m=(b.allowCredentials||[]).map(S=>({...S,id:cs(S.id)}));return{...b,allowCredentials:m,challenge:l}}function Ms(b){return{type:b.type,id:b.id,rawId:Wr(b.rawId),authenticatorAttachment:b.authenticatorAttachment}}function Ls(b){let l=b.response;return{...Ms(b),response:{clientDataJSON:Wr(l.clientDataJSON),authenticatorData:Wr(l.authenticatorData),signature:Wr(l.signature),userHandle:l.userHandle?Wr(l.userHandle):null}}}let Wr=El.encode.bind(El),cs=El.decode.bind(El);class sr extends Qe{pathRoot="";status=null;strategy=null;nonce=null;message=null;externalVerificationRedirectURL=null;attempts=null;expireAt=null;error=null;verifiedAtClient=null;channel;constructor(l){super(),this.fromJSON(l)}verifiedFromTheSameClient=()=>this.verifiedAtClient===Qe.clerk?.client?.id;fromJSON(l){return l&&(this.status=l.status,this.verifiedAtClient=l.verified_at_client,this.strategy=l.strategy,this.nonce=l.nonce||null,this.message=l.message||null,l.external_verification_redirect_url?this.externalVerificationRedirectURL=new URL(l.external_verification_redirect_url):this.externalVerificationRedirectURL=null,this.attempts=l.attempts,this.expireAt=mt(l.expire_at||void 0),this.error=l.error?new k(l.error):null,this.channel=l.channel||void 0),this}__internal_toSnapshot(){var l;return{object:"verification",id:this.id||"",status:this.status,strategy:this.strategy,nonce:this.nonce,message:this.message,external_verification_redirect_url:this.externalVerificationRedirectURL?.toString()||null,attempts:this.attempts,expire_at:this.expireAt?.getTime()||null,error:(l=this.error,{code:l?.code||"",message:l?.message||"",long_message:l?.longMessage,meta:{param_name:l?.meta?.paramName,session_id:l?.meta?.sessionId,email_addresses:l?.meta?.emailAddresses,identifiers:l?.meta?.identifiers,zxcvbn:l?.meta?.zxcvbn,plan:l?.meta?.plan,is_plan_upgrade_possible:l?.meta?.isPlanUpgradePossible}}),verified_at_client:this.verifiedAtClient}}}class As extends sr{publicKey=null;constructor(l){super(l),this.fromJSON(l)}fromJSON(l){return super.fromJSON(l),l?.nonce&&(this.publicKey=(function(m){let S=cs(m.user.id),U=cs(m.challenge),O=(m.excludeCredentials||[]).map(M=>({...M,id:cs(M.id)}));return{...m,excludeCredentials:O,challenge:U,user:{...m.user,id:S}}})(JSON.parse(l.nonce))),this}}class $s{emailAddress;phoneNumber;web3Wallet;externalAccount;constructor(l){l?(this.emailAddress=new Xn(l.email_address),this.phoneNumber=new Xn(l.phone_number),this.web3Wallet=new Xn(l.web3_wallet),this.externalAccount=new sr(l.external_account)):(this.emailAddress=new Xn(null),this.phoneNumber=new Xn(null),this.web3Wallet=new Xn(null),this.externalAccount=new sr(null))}__internal_toSnapshot(){return{email_address:this.emailAddress.__internal_toSnapshot(),phone_number:this.phoneNumber.__internal_toSnapshot(),web3_wallet:this.web3Wallet.__internal_toSnapshot(),external_account:this.externalAccount.__internal_toSnapshot()}}}class Xn extends sr{nextAction;supportedStrategies;constructor(l){super(l),l?(this.nextAction=l.next_action,this.supportedStrategies=l.supported_strategies):(this.nextAction="",this.supportedStrategies=[])}__internal_toSnapshot(){return{...super.__internal_toSnapshot(),next_action:this.nextAction,supported_strategies:this.supportedStrategies}}}class Hs extends Qe{id;identificationId;provider;providerUserId="";emailAddress="";approvedScopes="";firstName="";lastName="";imageUrl="";username="";phoneNumber="";publicMetadata={};label="";verification=null;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}reauthorize=l=>{let{additionalScopes:m,redirectUrl:S}=l||{};return this._basePatch({action:"reauthorize",body:{additional_scope:m,redirect_url:S}})};destroy=()=>this._baseDelete();fromJSON(l){return l&&(this.id=l.id,this.identificationId=l.identification_id,this.providerUserId=l.provider_user_id,this.approvedScopes=l.approved_scopes,this.imageUrl=l.image_url,this.emailAddress=l.email_address,this.firstName=l.first_name,this.lastName=l.last_name,this.provider=(l.provider||"").replace("oauth_",""),this.username=l.username,this.phoneNumber=l.phone_number,this.publicMetadata=l.public_metadata,this.label=l.label,l.verification&&(this.verification=new sr(l.verification))),this}__internal_toSnapshot(){return{object:"external_account",id:this.id,identification_id:this.identificationId,provider:this.provider,provider_user_id:this.providerUserId,email_address:this.emailAddress,approved_scopes:this.approvedScopes,first_name:this.firstName,last_name:this.lastName,image_url:this.imageUrl,username:this.username,phone_number:this.phoneNumber,public_metadata:this.publicMetadata,label:this.label,verification:this.verification?.__internal_toSnapshot()||null}}providerSlug(){return this.provider}providerTitle(){return[(function(l){let m=l||"";return m.charAt(0).toUpperCase()+m.slice(1)})(this.providerSlug()),"Account"].join(" ")}accountIdentifier(){return this.username||this.emailAddress||this.label}}class Qa extends Qe{id;protocol;provider;providerUserId=null;active;emailAddress="";firstName="";lastName="";publicMetadata={};verification=null;enterpriseConnection=null;lastAuthenticatedAt=null;enterpriseConnectionId=null;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.provider=l.provider,this.protocol=l.protocol,this.providerUserId=l.provider_user_id,this.active=l.active,this.emailAddress=l.email_address,this.firstName=l.first_name,this.lastName=l.last_name,this.publicMetadata=l.public_metadata,this.lastAuthenticatedAt=l.last_authenticated_at?mt(l.last_authenticated_at):null,this.enterpriseConnectionId=l.enterprise_connection_id,l.verification&&(this.verification=new sr(l.verification)),l.enterprise_connection&&(this.enterpriseConnection=new ql(l.enterprise_connection))),this}__internal_toSnapshot(){return{object:"enterprise_account",id:this.id,provider:this.provider,protocol:this.protocol,provider_user_id:this.providerUserId,active:this.active,email_address:this.emailAddress,first_name:this.firstName,last_name:this.lastName,public_metadata:this.publicMetadata,verification:this.verification?.__internal_toSnapshot()||null,enterprise_connection:this.enterpriseConnection?.__internal_toSnapshot()||null,last_authenticated_at:this.lastAuthenticatedAt?this.lastAuthenticatedAt.getTime():null,enterprise_connection_id:this.enterpriseConnectionId}}}class ql extends Qe{id;active;allowIdpInitiated;allowSubdomains;disableAdditionalIdentifications;domain;logoPublicUrl="";name;protocol;provider;syncUserAttributes;createdAt;updatedAt;enterpriseConnectionId="";constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.domain=l.domain,this.active=l.active,this.provider=l.provider,this.logoPublicUrl=l.logo_public_url,this.syncUserAttributes=l.sync_user_attributes,this.allowSubdomains=l.allow_subdomains,this.allowIdpInitiated=l.allow_idp_initiated,this.disableAdditionalIdentifications=l.disable_additional_identifications,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at),this.enterpriseConnectionId=l.enterprise_connection_id),this}__internal_toSnapshot(){return{object:"enterprise_account_connection",id:this.id,name:this.name,domain:this.domain,active:this.active,protocol:this.protocol,provider:this.provider,logo_public_url:this.logoPublicUrl,sync_user_attributes:this.syncUserAttributes,allow_subdomains:this.allowSubdomains,allow_idp_initiated:this.allowIdpInitiated,disable_additional_identifications:this.disableAdditionalIdentifications,enterprise_connection_id:this.enterpriseConnectionId,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}class Gs extends Qe{id;type;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.type=l.type),this}__internal_toSnapshot(){return{object:"identification_link",id:this.id,type:this.type}}}class ja extends Qe{id;name=null;publicUrl=null;static async create(l,m={}){let S,U=m;return typeof m.file=="string"?(U=m.file,S=new Headers({"Content-Type":"application/octet-stream"})):m.file&&(U=new FormData).append("file",m.file),new ja((await Qe._fetch({path:l,method:"POST",body:U,headers:S}))?.response)}static async delete(l){return new ja((await Qe._fetch({path:l,method:"DELETE"}))?.response)}constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.publicUrl=l.public_url),this}}class Wl extends Qe{id;phoneNumber="";reservedForSecondFactor=!1;defaultSecondFactor=!1;linkedTo=[];verification;backupCodes;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}create=()=>this._basePost({body:{phone_number:this.phoneNumber}});prepareVerification=()=>this._basePost({action:"prepare_verification",body:{strategy:"phone_code"}});attemptVerification=l=>{let{code:m}=l||{};return this._basePost({action:"attempt_verification",body:{code:m}})};setReservedForSecondFactor=l=>{let{reserved:m}=l||{};return this._basePatch({body:{reserved_for_second_factor:m}})};makeDefaultSecondFactor=()=>this._basePatch({body:{default_second_factor:!0}});destroy=()=>this._baseDelete();toString=()=>{let l=this.phoneNumber.match(/^(\d{3})(\d{3})(\d{4})$/);return l?"("+l[1]+") "+l[2]+"-"+l[3]:this.phoneNumber};fromJSON(l){return l&&(this.id=l.id,this.phoneNumber=l.phone_number,this.reservedForSecondFactor=l.reserved_for_second_factor,this.defaultSecondFactor=l.default_second_factor,this.verification=new sr(l.verification),this.linkedTo=(l.linked_to||[]).map(m=>new Gs(m)),this.backupCodes=l.backup_codes),this}__internal_toSnapshot(){return{object:"phone_number",id:this.id||"",phone_number:this.phoneNumber,reserved_for_second_factor:this.reservedForSecondFactor,default_second_factor:this.defaultSecondFactor,verification:this.verification.__internal_toSnapshot(),linked_to:this.linkedTo.map(l=>l.__internal_toSnapshot()),backup_codes:this.backupCodes}}}class ds extends Qe{id;name;organizationId;enrollmentMode;verification;affiliationEmailAddress;createdAt;updatedAt;totalPendingInvitations;totalPendingSuggestions;constructor(l){super(),this.fromJSON(l)}static async create(l,{name:m}){return new ds((await Qe._fetch({path:`/organizations/${l}/domains`,method:"POST",body:{name:m}}))?.response)}prepareAffiliationVerification=async l=>this._basePost({path:`/organizations/${this.organizationId}/domains/${this.id}/prepare_affiliation_verification`,method:"POST",body:l});attemptAffiliationVerification=async l=>this._basePost({path:`/organizations/${this.organizationId}/domains/${this.id}/attempt_affiliation_verification`,method:"POST",body:l});updateEnrollmentMode=l=>this._basePost({path:`/organizations/${this.organizationId}/domains/${this.id}/update_enrollment_mode`,body:l});delete=()=>this._baseDelete({path:`/organizations/${this.organizationId}/domains/${this.id}`});fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.organizationId=l.organization_id,this.enrollmentMode=l.enrollment_mode,this.affiliationEmailAddress=l.affiliation_email_address,this.totalPendingSuggestions=l.total_pending_suggestions,this.totalPendingInvitations=l.total_pending_invitations,l.verification?this.verification={status:l.verification.status,strategy:l.verification.strategy,attempts:l.verification.attempts,expiresAt:mt(l.verification.expires_at)}:this.verification=null),this}}class yl extends Qe{id;organizationId;status;publicUserData;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}accept=async()=>await this._basePost({path:`/organizations/${this.organizationId}/membership_requests/${this.id}/accept`});reject=async()=>await this._basePost({path:`/organizations/${this.organizationId}/membership_requests/${this.id}/reject`});fromJSON(l){return l&&(this.id=l.id,this.organizationId=l.organization_id,this.status=l.status,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at),l.public_user_data&&(this.publicUserData=new wa(l.public_user_data))),this}}class Ja extends Qe{id;key;name;description;type;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.key=l.key,this.name=l.name,this.description=l.description,this.type=l.type,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}}class uc extends Qe{id;key;name;description;permissions=[];createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.key=l.key,this.name=l.name,this.description=l.description,this.permissions=l.permissions.map(m=>new Ja(m)),this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}}class jt extends Qe{pathRoot="/organizations";id;name;slug;imageUrl;hasImage;publicMetadata={};adminDeleteEnabled;createdAt;updatedAt;membersCount=0;pendingInvitationsCount=0;maxAllowedMemberships;constructor(l){super(),this.fromJSON(l)}static async create(l){return new jt((await Qe._fetch({path:"/organizations",method:"POST",body:l}))?.response)}static async get(l){return new jt((await Qe._fetch({path:`/organizations/${l}`,method:"GET"}))?.response)}update=async l=>this._basePatch({body:l});getRoles=async l=>await Qe._fetch({path:`/organizations/${this.id}/roles`,method:"GET",search:mr(l)},{forceUpdateClient:!0}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new uc(O))}});getDomains=async l=>await Qe._fetch({path:`/organizations/${this.id}/domains`,method:"GET",search:mr(l)},{forceUpdateClient:!0}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new ds(O))}});getDomain=async({domainId:l})=>new ds((await Qe._fetch({path:`/organizations/${this.id}/domains/${l}`,method:"GET"}))?.response);getMembershipRequests=async l=>await Qe._fetch({path:`/organizations/${this.id}/membership_requests`,method:"GET",search:mr(l)}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new yl(O))}});createDomain=async l=>ds.create(this.id,{name:l});getMemberships=async l=>await Qe._fetch({path:`/organizations/${this.id}/memberships`,method:"GET",search:mr({...l,paginated:!0})}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new Xr(O))}});getInvitations=async l=>await Qe._fetch({path:`/organizations/${this.id}/invitations`,method:"GET",search:mr(l)},{forceUpdateClient:!0}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new Go(O))}});addMember=async({userId:l,role:m})=>await Qe._fetch({method:"POST",path:`/organizations/${this.id}/memberships`,body:{userId:l,role:m}}).then(S=>new Xr(S?.response));inviteMember=async l=>Go.create(this.id,l);inviteMembers=async l=>Go.createBulk(this.id,l);updateMember=async({userId:l,role:m})=>await Qe._fetch({method:"PATCH",path:`/organizations/${this.id}/memberships/${l}`,body:{role:m}}).then(S=>new Xr(S?.response));removeMember=async l=>await Qe._fetch({method:"DELETE",path:`/organizations/${this.id}/memberships/${l}`}).then(m=>new Xr(m?.response));destroy=async()=>this._baseDelete();setLogo=async({file:l})=>{let m,S;return l===null?await Qe._fetch({path:`/organizations/${this.id}/logo`,method:"DELETE"}).then(U=>new jt(U?.response)):(typeof l=="string"?(m=l,S=new Headers({"Content-Type":"application/octet-stream"})):(m=new FormData).append("file",l),await Qe._fetch({path:`/organizations/${this.id}/logo`,method:"PUT",body:m,headers:S}).then(U=>new jt(U?.response)))};initializePaymentMethod=l=>Pl({...l,orgId:this.id});addPaymentMethod=l=>jl({...l,orgId:this.id});getPaymentMethods=l=>bi({...l,orgId:this.id});fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.slug=l.slug,this.imageUrl=l.image_url||"",this.hasImage=l.has_image||!1,this.publicMetadata=l.public_metadata||{},this.membersCount=l.members_count||0,this.pendingInvitationsCount=l.pending_invitations_count||0,this.maxAllowedMemberships=l.max_allowed_memberships||0,this.adminDeleteEnabled=l.admin_delete_enabled||!1,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}__internal_toSnapshot(){return{object:"organization",id:this.id,name:this.name,slug:this.slug,image_url:this.imageUrl,has_image:this.hasImage,public_metadata:this.publicMetadata,members_count:this.membersCount,pending_invitations_count:this.pendingInvitationsCount,max_allowed_memberships:this.maxAllowedMemberships,admin_delete_enabled:this.adminDeleteEnabled,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}async reload(l){let{rotatingTokenNonce:m}=l||{},S=(await Qe._fetch({path:`/organizations/${this.id}`,method:"GET",rotatingTokenNonce:m},{forceUpdateClient:!0}))?.response;return this.fromJSON(S)}}class Go extends Qe{id;emailAddress;organizationId;publicMetadata={};status;role;roleName;createdAt;updatedAt;static async create(l,{emailAddress:m,role:S}){return new Go((await Qe._fetch({path:`/organizations/${l}/invitations`,method:"POST",body:{email_address:m,role:S}}))?.response)}static async createBulk(l,m){let{emailAddresses:S,role:U}=m;return((await Qe._fetch({path:`/organizations/${l}/invitations/bulk`,method:"POST",body:{email_address:S,role:U}}))?.response).map(O=>new Go(O))}constructor(l){super(),this.fromJSON(l)}revoke=async()=>await this._basePost({path:`/organizations/${this.organizationId}/invitations/${this.id}/revoke`});fromJSON(l){return l&&(this.id=l.id,this.emailAddress=l.email_address,this.organizationId=l.organization_id,this.publicMetadata=l.public_metadata,this.role=l.role,this.roleName=l.role_name,this.status=l.status,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}}class Xr extends Qe{id;publicMetadata={};publicUserData;organization;permissions=[];role;roleName;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}static retrieve=async l=>await Qe._fetch({path:"/me/organization_memberships",method:"GET",search:mr({...l,paginated:!0})}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new Xr(O))}});destroy=async()=>await this._baseDelete({path:`/organizations/${this.organization.id}/memberships/${this.publicUserData?.userId}`});update=async({role:l})=>await this._basePatch({path:`/organizations/${this.organization.id}/memberships/${this.publicUserData?.userId}`,body:{role:l}});fromJSON(l){return l&&(this.id=l.id,this.organization=new jt(l.organization),this.publicMetadata=l.public_metadata||{},l.public_user_data&&(this.publicUserData=new wa(l.public_user_data)),this.permissions=Array.isArray(l.permissions)?[...l.permissions]:[],this.role=l.role,this.roleName=l.role_name,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}__internal_toSnapshot(){return{object:"organization_membership",id:this.id,organization:this.organization.__internal_toSnapshot(),public_metadata:this.publicMetadata,public_user_data:this.publicUserData?.__internal_toSnapshot(),permissions:this.permissions,role:this.role,role_name:this.roleName,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}reload(l){throw Error(`${Mi} Calling OrganizationMembership.reload is not currently supported. Please contact support.`)}}class fs extends Qe{id;publicOrganizationData;status;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}static async retrieve(l){return await Qe._fetch({path:"/me/organization_suggestions",method:"GET",search:mr(l)}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new fs(O))}})}accept=async()=>await this._basePost({path:`/me/organization_suggestions/${this.id}/accept`});fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.publicOrganizationData={hasImage:l.public_organization_data.has_image,imageUrl:l.public_organization_data.image_url,name:l.public_organization_data.name,id:l.public_organization_data.id,slug:l.public_organization_data.slug},this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}}class vl extends Qe{id;provider="saml_custom";providerUserId=null;active=!1;emailAddress="";firstName="";lastName="";verification=null;samlConnection=null;lastAuthenticatedAt=null;enterpriseConnectionId=null;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.provider=l.provider,this.providerUserId=l.provider_user_id,this.active=l.active,this.emailAddress=l.email_address,this.firstName=l.first_name,this.lastName=l.last_name,this.enterpriseConnectionId=l.enterprise_connection_id,l.verification&&(this.verification=new sr(l.verification)),l.saml_connection&&(this.samlConnection=new Zc(l.saml_connection)),this.lastAuthenticatedAt=l.last_authenticated_at?mt(l.last_authenticated_at):null),this}__internal_toSnapshot(){return{object:"saml_account",id:this.id,provider:this.provider,provider_user_id:this.providerUserId,active:this.active,email_address:this.emailAddress,first_name:this.firstName,last_name:this.lastName,verification:this.verification?.__internal_toSnapshot()||null,saml_connection:this.samlConnection?.__internal_toSnapshot(),enterprise_connection_id:this.enterpriseConnectionId,last_authenticated_at:this.lastAuthenticatedAt?this.lastAuthenticatedAt.getTime():null}}}class Zc extends Qe{id;name;domain;active;provider;syncUserAttributes;allowSubdomains;allowIdpInitiated;disableAdditionalIdentifications;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.domain=l.domain,this.active=l.active,this.provider=l.provider,this.syncUserAttributes=l.sync_user_attributes,this.allowSubdomains=l.allow_subdomains,this.allowIdpInitiated=l.allow_idp_initiated,this.disableAdditionalIdentifications=l.disable_additional_identifications,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}__internal_toSnapshot(){return{object:"saml_account_connection",id:this.id,name:this.name,domain:this.domain,active:this.active,provider:this.provider,sync_user_attributes:this.syncUserAttributes,allow_subdomains:this.allowSubdomains,allow_idp_initiated:this.allowIdpInitiated,disable_additional_identifications:this.disableAdditionalIdentifications,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}let Yc={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},qc=new Set(["first_factor","second_factor","multi_factor"]),Uu=new Set(["strict_mfa","strict","moderate","lax"]),Xl=b=>b.replace(/^(org:)*/,"org:"),ei=(b,l)=>{let{org:m,user:S}=ea(b),[U,O]=l.split(":"),M=O||U;return U==="org"?m.includes(M):U==="user"?S.includes(M):[...m,...S].includes(M)},ea=b=>{let l=b?b.split(",").map(m=>m.trim()):[];return{org:l.filter(m=>m.split(":")[0].includes("o")).map(m=>m.split(":")[1]),user:l.filter(m=>m.split(":")[0].includes("u")).map(m=>m.split(":")[1])}};function Va(){return z()&&typeof window.PublicKeyCredential=="function"}async function fo(){try{return Va()&&await window.PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}async function Ps(){try{return typeof window<"u"&&await window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()}catch{return!1}}class yr extends Qe{status;level;session;supportedFirstFactors=[];supportedSecondFactors=[];firstFactorVerification=new sr(null);secondFactorVerification=new sr(null);constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.session=new Po(l.session),this.level=l.level,this.supportedFirstFactors=ri(l.supported_first_factors),this.supportedSecondFactors=ri(l.supported_second_factors),this.firstFactorVerification=new sr(l.first_factor_verification),this.secondFactorVerification=new sr(l.second_factor_verification)),this}}class Po extends Qe{pathRoot="/client/sessions";id;status;lastActiveAt;lastActiveToken;lastActiveOrganizationId;actor;user;publicUserData;factorVerificationAge=null;tasks=null;expireAt;abandonAt;createdAt;updatedAt;static isSessionResource(l){return!!l&&l instanceof Po}constructor(l){super(),this.fromJSON(l),this.#n(this.lastActiveToken)}end=()=>(Bn.clear(),this._basePost({action:"end"}));remove=()=>(Bn.clear(),this._basePost({action:"remove"}));touch=()=>this._basePost({action:"touch",body:{active_organization_id:this.lastActiveOrganizationId}}).then(l=>(l.lastActiveToken&&xi.emit(zs,{token:l.lastActiveToken}),l));clearCache=()=>Bn.clear();getToken=async l=>Rs(()=>this._getToken(l),{factor:1.55,initialDelay:3e3,maxDelayBetweenRetries:5e4,jitter:!1,shouldRetry:(m,S)=>!Ve(m)&&S<=8});checkAuthorization=l=>{let m=(this.user?.organizationMemberships||[]).find(S=>S.organization.id===this.lastActiveOrganizationId);return(S=>U=>{if(!S.userId)return!1;let O=((X,q)=>{let{features:Ae,plans:ve}=q;return X.feature&&Ae?ei(Ae,X.feature):X.plan&&ve?ei(ve,X.plan):null})(U,S),M=((X,q)=>{let{orgId:Ae,orgRole:ve,orgPermissions:Se}=q;return(X.role||X.permission)&&Ae&&ve&&Se?X.permission?Se.includes(Xl(X.permission)):X.role?Xl(ve)===Xl(X.role):null:null})(U,S),ee=((X,{factorVerificationAge:q})=>{if(!X.reverification||!q)return null;let Ae=(Je=>{let yt,Bt;if(!Je)return!1;let an=typeof Je=="string"&&Uu.has(Je),Qn=typeof Je=="object"&&(yt=Je.level,qc.has(yt))&&typeof(Bt=Je.afterMinutes)=="number"&&Bt>0;return(!!an||!!Qn)&&(nn=>typeof nn=="string"?Yc[nn]:nn).bind(null,Je)})(X.reverification);if(!Ae)return null;let{level:ve,afterMinutes:Se}=Ae(),[Oe,ze]=q,rt=Oe!==-1?Se>Oe:null,Ct=ze!==-1?Se>ze:null;switch(ve){case"first_factor":return rt;case"second_factor":return ze!==-1?Ct:rt;case"multi_factor":return ze===-1?rt:rt&&Ct}})(U,S);return[O||M,ee].some(X=>X===null)?[O||M,ee].some(X=>X===!0):[O||M,ee].every(X=>X===!0)})({userId:this.user?.id,factorVerificationAge:this.factorVerificationAge,orgId:m?.id,orgRole:m?.role,orgPermissions:m?.permissions,features:this.lastActiveToken?.jwt?.claims.fea||"",plans:this.lastActiveToken?.jwt?.claims.pla||""})(l)};#n=l=>{if(!l)return;let m=this.#r();Bn.get({tokenId:m})||Bn.set({tokenId:m,tokenResolver:Promise.resolve(l)})};#r(l,m){let S=m===void 0?this.lastActiveOrganizationId:m;return uo.build(this.id,l,S)}startVerification=async({level:l})=>new yr((await Qe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify`,body:{level:l}}))?.response);prepareFirstFactorVerification=async l=>{let m;switch(l.strategy){case"email_code":m={emailAddressId:l.emailAddressId};break;case"phone_code":m={phoneNumberId:l.phoneNumberId,default:l.default};break;case"passkey":m={};break;case"enterprise_sso":m={emailAddressId:l.emailAddressId,enterpriseConnectionId:l.enterpriseConnectionId,redirectUrl:l.redirectUrl};break;default:ws("Session.prepareFirstFactorVerification",l.strategy)}return new yr((await Qe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/prepare_first_factor`,body:{...m,strategy:l.strategy}}))?.response)};attemptFirstFactorVerification=async l=>{let m;return m=l.strategy==="passkey"?{publicKeyCredential:JSON.stringify(Ls(l.publicKeyCredential))}:{...l},new yr((await Qe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/attempt_first_factor`,body:{...m,strategy:l.strategy}}))?.response)};verifyWithPasskey=async()=>{let{nonce:l=null}=(await this.prepareFirstFactorVerification({strategy:"passkey"})).firstFactorVerification,m=Po.clerk.__internal_isWebAuthnSupported||Va,S=Po.clerk.__internal_getPublicCredentials||or;if(!m())throw new lt("Passkeys are not supported",{code:"passkey_not_supported"});let U=l?Yl(JSON.parse(l)):null;U||Ml("get");let{publicKeyCredential:O,error:M}=await S({publicKeyOptions:U,conditionalUI:!1});if(!O)throw M;return this.attemptFirstFactorVerification({strategy:"passkey",publicKeyCredential:O})};prepareSecondFactorVerification=async l=>new yr((await Qe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/prepare_second_factor`,body:l}))?.response);attemptSecondFactorVerification=async l=>new yr((await Qe._fetch({method:"POST",path:`/client/sessions/${this.id}/verify/attempt_second_factor`,body:l}))?.response);fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.expireAt=mt(l.expire_at),this.abandonAt=mt(l.abandon_at),this.factorVerificationAge=l.factor_verification_age,this.lastActiveAt=mt(l.last_active_at||void 0),this.lastActiveOrganizationId=l.last_active_organization_id,this.actor=l.actor||null,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at),this.user=new Z(l.user),this.tasks=l.tasks||null,l.public_user_data&&(this.publicUserData=new wa(l.public_user_data)),this.lastActiveToken=l.last_active_token?new Q(l.last_active_token):null),this}__internal_toSnapshot(){return{object:"session",id:this.id,status:this.status,expire_at:this.expireAt.getTime(),abandon_at:this.abandonAt.getTime(),factor_verification_age:this.factorVerificationAge,last_active_at:this.lastActiveAt.getTime(),last_active_organization_id:this.lastActiveOrganizationId,actor:this.actor,tasks:this.tasks,user:this.user?.__internal_toSnapshot()||null,public_user_data:this.publicUserData.__internal_toSnapshot(),last_active_token:this.lastActiveToken?.__internal_toSnapshot()||null,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}async _getToken(l){if(!this.user)return null;let{leewayInSeconds:m,template:S,skipCache:U=!1}=l||{},O=l?.organizationId===void 0?this.lastActiveOrganizationId:l?.organizationId;if(!S&&Number(m)>=60)throw Error("Leeway can not exceed the token lifespan (60 seconds)");let M=this.#r(S,O),ee=U?void 0:Bn.get({tokenId:M},m),X=!S&&O===this.lastActiveOrganizationId;if(ee){cn.debug("Using cached token (no fetch needed)",{tokenId:M},"session");let Se=await ee.tokenResolver;return X&&xi.emit(zs,{token:Se}),Se.getRawString()||null}cn.info("Fetching new token from API",{organizationId:O,template:S,tokenId:M},"session");let q=S?`${this.path()}/tokens/${S}`:`${this.path()}/tokens`,Ae=S?{}:{organizationId:O},ve=Q.create(q,Ae,U);return Bn.set({tokenId:M,tokenResolver:ve}),ve.then(Se=>(X&&(xi.emit(zs,{token:Se}),Se.jwt&&(this.lastActiveToken=Se,xi.emit(ml,null))),Se.getRawString()||null))}get currentTask(){let[l]=this.tasks??[];return l}}class hi extends Qe{id;pathRoot="/me/passkeys";verification=null;name=null;lastUsedAt=null;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}static async create(){return Qe._fetch({path:"/me/passkeys",method:"POST"}).then(l=>new hi(l?.response))}static async attemptVerification(l,m){let S=(function(U){let O=U.response;return{...Ms(U),response:{clientDataJSON:Wr(O.clientDataJSON),attestationObject:Wr(O.attestationObject),transports:O.getTransports()}}})(m);return Qe._fetch({path:`/me/passkeys/${l}/attempt_verification`,method:"POST",body:{strategy:"passkey",publicKeyCredential:JSON.stringify(S)}}).then(U=>new hi(U?.response))}static async registerPasskey(){let l=hi.clerk.__internal_isWebAuthnSupported||Va,m=hi.clerk.__internal_createPublicCredentials||lc,S=hi.clerk.__internal_isWebAuthnPlatformAuthenticatorSupported||Ps;if(!l())throw new lt("Passkeys are not supported on this device.",{code:"passkey_not_supported"});let U=await this.create(),{verification:O}=U,M=O?.publicKey;if(M||Ml("create"),M.authenticatorSelection?.authenticatorAttachment==="platform"&&!await S())throw new lt("Registration requires a platform authenticator but the device does not support it.",{code:"passkey_pa_not_supported"});let{publicKeyCredential:ee,error:X}=await m(M);if(!ee)throw X;return this.attemptVerification(U.id,ee)}update=l=>this._basePatch({body:l});delete=async()=>new Ao((await Qe._fetch({path:this.path(),method:"DELETE"}))?.response);fromJSON(l){return l&&(this.id=l.id,this.name=l.name,this.lastUsedAt=l.last_used_at?mt(l.last_used_at):null,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at),l.verification&&(this.verification=new As(l.verification))),this}__internal_toSnapshot(){return{object:"passkey",id:this.id,name:this.name,verification:this.verification?.__internal_toSnapshot()||null,last_used_at:this.lastUsedAt?.getTime()||null,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}class Cl extends Qe{id="";loaders;rollout;constructor(l=null){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=this.withDefault(l.id,this.id),this.loaders=this.withDefault(l.loaders,this.loaders)),this}__internal_toSnapshot(){return{object:"protect_config",id:this.id,loaders:this.loaders}}}class wa{firstName;lastName;imageUrl;hasImage;identifier;userId;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.firstName=l.first_name||null,this.lastName=l.last_name||null,this.imageUrl=l.image_url||"",this.hasImage=l.has_image||!1,this.identifier=l.identifier||"",this.userId=l.user_id),this}__internal_toSnapshot(){return{first_name:this.firstName,last_name:this.lastName,image_url:this.imageUrl,has_image:this.hasImage,identifier:this.identifier,user_id:this.userId}}}class jo extends Qe{pathRoot="";id;status;abandonAt;expireAt;lastActiveAt;latestActivity;actor;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}static retrieve(){let l=Qe.clerk.session?.id;return this.clerk.getFapiClient().request({method:"GET",path:"/me/sessions/active",sessionId:l}).then(m=>m.payload.map(S=>new jo(S,"/me/sessions"))).catch(()=>[])}revoke(){return this._basePost({action:"revoke",body:{}})}fromJSON(l){let m;return l?(this.id=l.id,this.status=l.status,this.expireAt=mt(l.expire_at),this.abandonAt=mt(l.abandon_at),this.lastActiveAt=mt(l.last_active_at||void 0),this.latestActivity={id:(m=l.latest_activity??{}).id,deviceType:m.device_type,browserName:m.browser_name,browserVersion:m.browser_version,country:m.country,city:m.city,isMobile:m.is_mobile,ipAddress:m.ip_address},this.actor=l.actor,this):this}}function So(b){return b?`https://${b.replace(/clerk\.accountsstage\./,"accountsstage.").replace(/clerk\.accounts\.|clerk\./,"accounts.")}`:""}async function qi(b,l,m,S,U){if(!b.client||!S.popup)return;let O=So(b.frontendApi),{redirectUrl:M}=S,ee=new URL(M);ee.searchParams.set("sign_in_force_redirect_url",S.redirectUrlComplete),ee.searchParams.set("sign_up_force_redirect_url",S.redirectUrlComplete),ee.searchParams.set("intent",l);let X=b.buildUrlWithAuth(ee.toString()),q=b.buildUrlWithAuth(`${O}/popup-callback`),Ae=b.buildUrlWithAuth(`${O}/popup-callback?return_url=${encodeURIComponent(X)}`),ve=async Se=>{if(Se.origin!==O)return;let Oe=!1;if(Se.data.session){if(!b.client?.sessions.find(ze=>ze.id===Se.data.session))try{await b.client?.reload()}catch(ze){console.error(ze)}await b.setActive({session:Se.data.session,redirectUrl:S.redirectUrlComplete}),Oe=!0}else Se.data.return_url&&(b.navigate(Se.data.return_url),Oe=!0);Oe&&window.removeEventListener("message",ve)};window.addEventListener("message",ve),await m({...S,redirectUrlComplete:q,redirectUrl:Ae},U)}function Ka(b,{redirectCallbackUrl:l,redirectUrl:m}){let S=So(b.frontendApi),U=new URL(l);U.searchParams.set("sign_in_force_redirect_url",m),U.searchParams.set("sign_up_force_redirect_url",m);let O=b.buildUrlWithAuth(U.toString()),M=b.buildUrlWithAuth(`${S}/popup-callback`);return{redirectCallbackUrl:b.buildUrlWithAuth(`${S}/popup-callback?return_url=${encodeURIComponent(O)}`),redirectUrl:M}}function Ra(b,l){return new Promise((m,S)=>{if(!b.client||!l.popup)return void S();let U=async O=>{O.origin===So(b.frontendApi)&&(O.data.session||O.data.return_url?(window.removeEventListener("message",U),m()):S())};window.addEventListener("message",U),l.popup.location.href=l.externalVerificationRedirectURL.toString()})}let Il=(b,l)=>{let{onValidation:m=xt,onValidationComplexity:S=xt}=l||{},{show_zxcvbn:U,validatePassword:O}=b,M=q=>((Ae,ve)=>{let{max_length:Se,min_length:Oe,require_special_char:ze,require_lowercase:rt,require_numbers:Ct,require_uppercase:Je}=ve,yt=(Qn=>{let nn;if(Qn.allowed_special_characters){let Yt=Qn.allowed_special_characters.replace("[","\\[");Yt=Yt.replace("]","\\]"),nn=RegExp(`[${Yt}]`)}else nn=/[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/;return(Yt,{minLength:Kt,maxLength:fn})=>({max_length:Yt.length<fn,min_length:Yt.length>=Kt,require_numbers:/\d/.test(Yt),require_lowercase:/[a-z]/.test(Yt),require_uppercase:/[A-Z]/.test(Yt),require_special_char:nn.test(Yt)})})(ve)(Ae,{maxLength:ve.max_length,minLength:ve.min_length}),Bt={max_length:Se,min_length:Oe,require_special_char:ze,require_lowercase:rt,require_numbers:Ct,require_uppercase:Je},an=new Map;for(let Qn in Bt)Bt[Qn]&&!yt[Qn]&&an.set(Qn,!0);return Object.freeze(Object.fromEntries(an))})(q,b),ee=(({min_zxcvbn_strength:q,onResult:Ae})=>ve=>Se=>{let Oe=ve(Se);return Ae?.(Oe),Oe.score>=q&&Oe.score<3?{state:"pass",keys:["unstable__errors.zxcvbn.couldBeStronger"],result:Oe}:Oe.score>=q?{state:"excellent",result:Oe}:{state:"fail",keys:["unstable__errors.zxcvbn.notEnough",...Oe.feedback.suggestions.map(ze=>`unstable__errors.zxcvbn.suggestions.${ze}`)],result:Oe}})(b),X={};return(q,Ae)=>{let{onValidation:ve=m,onValidationComplexity:Se=S}=Ae||{};if(!O)return;let Oe=M(q);Se(Object.keys(Oe).length===0),X={...X,complexity:Oe},U&&Promise.all([u.e("890").then(u.bind(u,384)),u.e("377").then(u.bind(u,7706))]).then(([ze,rt])=>{let{zxcvbnOptions:Ct,zxcvbn:Je}=ze,{dictionary:yt,adjacencyGraphs:Bt}=rt;return Ct.setOptions({dictionary:{...yt},graphs:Bt}),Je}).then(ze=>{let rt=ee(ze)(q);ve({...X={...X,strength:rt},strength:rt})}),X.complexity&&Object.keys(X.complexity).length===0&&U||ve(X)}};async function Dn(b,l){xi.emit("resource:error",{resource:b,error:null}),xi.emit("resource:fetch",{resource:b,status:"fetching"});try{return{result:await l(),error:null}}catch(m){return xi.emit("resource:error",{resource:b,error:m}),{error:m}}finally{xi.emit("resource:fetch",{resource:b,status:"idle"})}}class Fn extends Qe{pathRoot="/client/sign_ins";id;_status=null;supportedIdentifiers=[];supportedFirstFactors=[];supportedSecondFactors=null;firstFactorVerification=new sr(null);secondFactorVerification=new sr(null);identifier=null;createdSessionId=null;userData=new cc(null);clientTrustState;get status(){return this._status}set status(l){let m=this._status;this._status=l,l&&m!==l&&cn.debug("SignIn.status",{id:this.id,from:m,to:l})}__internal_future=new po(this);__internal_basePost=this._basePost.bind(this);__internal_baseGet=this._baseGet.bind(this);constructor(l=null){super(),this.fromJSON(l)}create=l=>{cn.debug("SignIn.create",{id:this.id,strategy:"strategy"in l?l.strategy:void 0});let m=ne();return this._basePost({path:this.pathRoot,body:m?{locale:m,...l}:l})};resetPassword=l=>this._basePost({body:l,action:"reset_password"});prepareFirstFactor=l=>{let m;switch(cn.debug("SignIn.prepareFirstFactor",{id:this.id,strategy:l.strategy}),l.strategy){case"passkey":m={};break;case"email_link":m={emailAddressId:l.emailAddressId,redirectUrl:l.redirectUrl};break;case"email_code":case"reset_password_email_code":m={emailAddressId:l.emailAddressId};break;case"phone_code":m={phoneNumberId:l.phoneNumberId,default:l.default,channel:l.channel};break;case"web3_metamask_signature":case"web3_base_signature":case"web3_coinbase_wallet_signature":case"web3_okx_wallet_signature":m={web3WalletId:l.web3WalletId};break;case"reset_password_phone_code":m={phoneNumberId:l.phoneNumberId};break;case"saml":m={redirectUrl:l.redirectUrl,actionCompleteRedirectUrl:l.actionCompleteRedirectUrl};break;case"enterprise_sso":m={redirectUrl:l.redirectUrl,actionCompleteRedirectUrl:l.actionCompleteRedirectUrl,oidcPrompt:l.oidcPrompt,enterpriseConnectionId:l.enterpriseConnectionId};break;default:ws("SignIn.prepareFirstFactor",l.strategy)}return this._basePost({body:{...m,strategy:l.strategy},action:"prepare_first_factor"})};attemptFirstFactor=l=>{let m;return cn.debug("SignIn.attemptFirstFactor",{id:this.id,strategy:l.strategy}),m=l.strategy==="passkey"?{publicKeyCredential:JSON.stringify(Ls(l.publicKeyCredential))}:{...l},this._basePost({body:{...m,strategy:l.strategy},action:"attempt_first_factor"})};createEmailLinkFlow=()=>{let{run:l,stop:m}=Fs();return{startEmailLinkFlow:async({emailAddressId:S,redirectUrl:U})=>{this.id||Qr("SignIn");let O={strategy:"email_link",emailAddressId:S,redirectUrl:U},M=this.status==="needs_second_factor",ee=M?"secondFactorVerification":"firstFactorVerification";return M?await this.prepareSecondFactor(O):await this.prepareFirstFactor(O),new Promise((X,q)=>{l(()=>this.reload().then(Ae=>{let ve=Ae[ee].status;(ve==="verified"||ve==="expired")&&(m(),X(Ae))}).catch(Ae=>{m(),q(Ae)}))})},cancelEmailLinkFlow:m}};prepareSecondFactor=l=>(cn.debug("SignIn.prepareSecondFactor",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"prepare_second_factor"}));attemptSecondFactor=l=>(cn.debug("SignIn.attemptSecondFactor",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"attempt_second_factor"}));authenticateWithRedirectOrPopup=async(l,m)=>{let{strategy:S,redirectUrlComplete:U,identifier:O,oidcPrompt:M,continueSignIn:ee,enterpriseConnectionId:X}=l||{},q=Fn.clerk.buildUrlWithAuth(l.redirectUrl);this.id&&ee||await this.create({strategy:S,identifier:O,redirectUrl:q,actionCompleteRedirectUrl:U}),(S==="saml"||S==="enterprise_sso")&&await this.prepareFirstFactor({strategy:S,redirectUrl:q,actionCompleteRedirectUrl:U,oidcPrompt:M,enterpriseConnectionId:X});let{status:Ae,externalVerificationRedirectURL:ve}=this.firstFactorVerification;Ae==="unverified"&&ve?m(ve):zl(Ae,Fn.fapiClient.buildEmailAddress("support"))};authenticateWithRedirect=async l=>this.authenticateWithRedirectOrPopup(l,Fo);authenticateWithPopup=async l=>{let{popup:m}=l||{};return m||Lo("popup"),qi(Fn.clerk,"signIn",this.authenticateWithRedirectOrPopup,l,S=>{m.location.href=S.toString()})};authenticateWithWeb3=async l=>{let m,{identifier:S,generateSignature:U,strategy:O="web3_metamask_signature"}=l||{},M=O.replace("web3_","").replace("_signature","");typeof U!="function"&&Lo("generateSignature"),await this.create({identifier:S});let ee=this.supportedFirstFactors?.find(q=>q.strategy===O);ee||Fl("SignIn"),await this.prepareFirstFactor(ee);let{message:X}=this.firstFactorVerification;X||Fl("SignIn");try{m=await U({identifier:S,nonce:X,provider:M})}catch(q){if(M==="coinbase_wallet"&&q.code===4001)m=await U({identifier:S,nonce:X,provider:M});else throw q}return this.attemptFirstFactor({signature:m,strategy:O})};authenticateWithMetamask=async()=>{let l=await Ye();return this.authenticateWithWeb3({identifier:l,generateSignature:tn,strategy:"web3_metamask_signature"})};authenticateWithCoinbaseWallet=async()=>{let l=await et();return this.authenticateWithWeb3({identifier:l,generateSignature:Kn,strategy:"web3_coinbase_wallet_signature"})};authenticateWithBase=async()=>{let l=await Nt();return this.authenticateWithWeb3({identifier:l,generateSignature:zi,strategy:"web3_base_signature"})};authenticateWithOKXWallet=async()=>{let l=await Be();return this.authenticateWithWeb3({identifier:l,generateSignature:_n,strategy:"web3_okx_wallet_signature"})};authenticateWithPasskey=async l=>{let{flow:m}=l||{},S=Fn.clerk.__internal_isWebAuthnSupported||Va,U=Fn.clerk.__internal_getPublicCredentials||or,O=Fn.clerk.__internal_isWebAuthnAutofillSupported||fo;if(!S())throw new lt("Passkeys are not supported",{code:"passkey_not_supported"});if(m==="autofill"||m==="discoverable")await this.create({strategy:"passkey"});else{let ve=this.supportedFirstFactors.find(Se=>Se.strategy==="passkey");ve||(function(){throw Error(`${Mi} You need to start a SignIn flow by calling SignIn.create({ strategy: 'passkey' }) first`)})(),await this.prepareFirstFactor(ve)}let{nonce:M}=this.firstFactorVerification,ee=M?Yl(JSON.parse(M)):null;ee||Ml("get");let X=!1;m==="autofill"&&(X=await O());let{publicKeyCredential:q,error:Ae}=await U({publicKeyOptions:ee,conditionalUI:X});if(!q)throw Ae;return this.attemptFirstFactor({publicKeyCredential:q,strategy:"passkey"})};validatePassword=(l,m)=>{if(Fn.clerk.__unstable__environment?.userSettings.passwordSettings)return Il({...Fn.clerk.__unstable__environment?.userSettings.passwordSettings,validatePassword:!0})(l,m)};fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.supportedIdentifiers=l.supported_identifiers,this.identifier=l.identifier,this.supportedFirstFactors=ri(l.supported_first_factors),this.supportedSecondFactors=ri(l.supported_second_factors),this.firstFactorVerification=new sr(l.first_factor_verification),this.secondFactorVerification=new sr(l.second_factor_verification),this.createdSessionId=l.created_session_id,this.userData=new cc(l.user_data),this.clientTrustState=l.client_trust_state??void 0),xi.emit("resource:update",{resource:this}),this}__internal_toSnapshot(){return{object:"sign_in",id:this.id||"",status:this.status||null,supported_identifiers:this.supportedIdentifiers,supported_first_factors:Zi(this.supportedFirstFactors),supported_second_factors:Zi(this.supportedSecondFactors),first_factor_verification:this.firstFactorVerification.__internal_toSnapshot(),second_factor_verification:this.secondFactorVerification.__internal_toSnapshot(),identifier:this.identifier,created_session_id:this.createdSessionId,user_data:this.userData.__internal_toSnapshot()}}}class po{resource;emailCode={sendCode:this.sendEmailCode.bind(this),verifyCode:this.verifyEmailCode.bind(this)};emailLink={sendLink:this.sendEmailLink.bind(this),waitForVerification:this.waitForEmailLinkVerification.bind(this),get verification(){if(!D())return null;let l=wi("__clerk_status"),m=wi("__clerk_created_session");if(!l||!m)return null;let S=l==="verified"&&Fn.clerk.client!==void 0&&Fn.clerk.client.sessions.some(U=>U.id===m);return{status:l,createdSessionId:m,verifiedFromTheSameClient:S}}};resetPasswordEmailCode={sendCode:this.sendResetPasswordEmailCode.bind(this),verifyCode:this.verifyResetPasswordEmailCode.bind(this),submitPassword:this.submitResetPassword.bind(this)};phoneCode={sendCode:this.sendPhoneCode.bind(this),verifyCode:this.verifyPhoneCode.bind(this)};mfa={sendPhoneCode:this.sendMFAPhoneCode.bind(this),verifyPhoneCode:this.verifyMFAPhoneCode.bind(this),verifyTOTP:this.verifyTOTP.bind(this),verifyBackupCode:this.verifyBackupCode.bind(this)};constructor(l){this.resource=l}get id(){return this.resource.id}get identifier(){return this.resource.identifier}get createdSessionId(){return this.resource.createdSessionId}get userData(){return this.resource.userData}get status(){return this.resource.status||"needs_identifier"}get supportedFirstFactors(){return this.resource.supportedFirstFactors??[]}get supportedSecondFactors(){return this.resource.supportedSecondFactors??[]}get isTransferable(){return this.resource.firstFactorVerification.status==="transferable"}get existingSession(){if(this.resource.firstFactorVerification.status==="failed"&&this.resource.firstFactorVerification.error?.code==="identifier_already_signed_in"&&this.resource.firstFactorVerification.error?.meta?.sessionId)return{sessionId:this.resource.firstFactorVerification.error?.meta?.sessionId}}get firstFactorVerification(){return this.resource.firstFactorVerification}get secondFactorVerification(){return this.resource.secondFactorVerification}async sendResetPasswordEmailCode(){if(!this.resource.id)throw Error("Cannot reset password without a sign in.");return Dn(this.resource,async()=>{let l=this.resource.supportedFirstFactors?.find(S=>S.strategy==="reset_password_email_code");if(!l)throw new Ue("Reset password email code factor not found",{code:"factor_not_found"});let{emailAddressId:m}=l;await this.resource.__internal_basePost({body:{emailAddressId:m,strategy:"reset_password_email_code"},action:"prepare_first_factor"})})}async verifyResetPasswordEmailCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:m,strategy:"reset_password_email_code"},action:"attempt_first_factor"})})}async submitResetPassword(l){let{password:m,signOutOfOtherSessions:S=!0}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{password:m,signOutOfOtherSessions:S},action:"reset_password"})})}async _create(l){let m=ne();await this.resource.__internal_basePost({path:this.resource.pathRoot,body:m?{locale:m,...l}:l})}async create(l){return Dn(this.resource,async()=>{await this._create(l)})}async password(l){if([l.identifier,l.emailAddress,l.phoneNumber].filter(Boolean).length>1)throw Error("Only one of identifier, emailAddress, or phoneNumber can be provided");return Dn(this.resource,async()=>{let m=l.identifier||l.emailAddress||l.phoneNumber,S=this.resource.identifier,U=ne();await this.resource.__internal_basePost({path:this.resource.pathRoot,body:{identifier:m||S,password:l.password,...U?{locale:U}:{}}})})}async sendEmailCode(l={}){let{emailAddress:m,emailAddressId:S}=l;if(!this.resource.id&&S)throw Error("signIn.emailCode.sendCode() cannot be called with an emailAddressId if an existing signIn does not exist.");if(!this.resource.id&&!m)throw Error("signIn.emailCode.sendCode() cannot be called without an emailAddress if an existing signIn does not exist.");return Dn(this.resource,async()=>{m&&await this._create({identifier:m});let U=this.selectFirstFactor({strategy:"email_code",emailAddressId:S});if(!U)throw new Ue("Email code factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{emailAddressId:U.emailAddressId,strategy:"email_code"},action:"prepare_first_factor"})})}async verifyEmailCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:m,strategy:"email_code"},action:"attempt_first_factor"})})}async sendEmailLink(l){let{emailAddress:m,verificationUrl:S,emailAddressId:U}=l;if(!this.resource.id&&U)throw Error("signIn.emailLink.sendLink() cannot be called with an emailAddressId if an existing signIn does not exist.");if(!this.resource.id&&!m)throw Error("signIn.emailLink.sendLink() cannot be called without an emailAddress if an existing signIn does not exist.");return Dn(this.resource,async()=>{m&&await this._create({identifier:m});let O=this.selectFirstFactor({strategy:"email_link",emailAddressId:U});if(!O)throw new Ue("Email link factor not found",{code:"factor_not_found"});let M=S;try{new URL(S)}catch{M=window.location.origin+S}await this.resource.__internal_basePost({body:{emailAddressId:O.emailAddressId,redirectUrl:M,strategy:"email_link"},action:"prepare_first_factor"})})}async waitForEmailLinkVerification(){return Dn(this.resource,async()=>{let{run:l,stop:m}=Fs();await new Promise((S,U)=>{l(async()=>{try{let O=await this.resource.__internal_baseGet(),M=O.firstFactorVerification.status;(M==="verified"||M==="expired")&&(m(),S(O))}catch(O){m(),U(O)}})})})}async sendPhoneCode(l={}){let{phoneNumber:m,phoneNumberId:S,channel:U="sms"}=l;if(!this.resource.id&&S)throw Error("signIn.phoneCode.sendCode() cannot be called with an phoneNumberId if an existing signIn does not exist.");if(!this.resource.id&&!m)throw Error("signIn.phoneCode.sendCode() cannot be called without an phoneNumber if an existing signIn does not exist.");return Dn(this.resource,async()=>{m&&await this._create({identifier:m});let O=this.selectFirstFactor({strategy:"phone_code",phoneNumberId:S});if(!O)throw new Ue("Phone code factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{phoneNumberId:O.phoneNumberId,strategy:"phone_code",channel:U},action:"prepare_first_factor"})})}async verifyPhoneCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:m,strategy:"phone_code"},action:"attempt_first_factor"})})}async sso(l){let{strategy:m,redirectUrl:S,redirectCallbackUrl:U,popup:O,oidcPrompt:M,enterpriseConnectionId:ee,identifier:X}=l;return Dn(this.resource,async()=>{let q=S;try{new URL(S)}catch{q=window.location.origin+S}let Ae={redirectUrl:Fn.clerk.buildUrlWithAuth(U),actionCompleteRedirectUrl:q};if(O){let Oe=Ka(Fn.clerk,{redirectCallbackUrl:Ae.redirectUrl,redirectUrl:q});Ae.redirectUrl=Oe.redirectCallbackUrl,Ae.actionCompleteRedirectUrl=Oe.redirectUrl}await this._create({strategy:m,...Ae,identifier:X}),m==="enterprise_sso"&&await this.resource.__internal_basePost({body:{...Ae,oidcPrompt:M,enterpriseConnectionId:ee,strategy:"enterprise_sso"},action:"prepare_first_factor"});let{status:ve,externalVerificationRedirectURL:Se}=this.resource.firstFactorVerification;ve==="unverified"&&Se&&(O?(await Ra(Fn.clerk,{popup:O,externalVerificationRedirectURL:Se}),await this.resource.reload()):Fo(Se))})}async web3(l){let{strategy:m}=l,S=m.replace("web3_","").replace("_signature","");return Dn(this.resource,async()=>{let U,O,M;switch(S){case"metamask":U=await Ye(),O=tn;break;case"coinbase_wallet":U=await et(),O=Kn;break;case"base":U=await Nt(),O=zi;break;case"okx_wallet":U=await Be(),O=_n;break;default:throw Error(`Unsupported Web3 provider: ${S}`)}await this._create({identifier:U});let ee=this.resource.supportedFirstFactors?.find(q=>q.strategy===m);if(!ee)throw new Ue("Web3 first factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{web3WalletId:ee.web3WalletId,strategy:m},action:"prepare_first_factor"});let{message:X}=this.firstFactorVerification;if(!X)throw new Ue("Web3 nonce not found",{code:"web3_nonce_not_found"});try{M=await O({identifier:U,nonce:X})}catch(q){if(S==="coinbase_wallet"&&q.code===4001)M=await O({identifier:U,nonce:X});else throw q}await this.resource.__internal_basePost({body:{signature:M,strategy:m},action:"attempt_first_factor"})})}async passkey(l){let{flow:m}=l||{},S=Fn.clerk.__internal_isWebAuthnSupported||Va,U=Fn.clerk.__internal_getPublicCredentials||or,O=Fn.clerk.__internal_isWebAuthnAutofillSupported||fo;if(!S())throw new lt("Passkeys are not supported",{code:"passkey_not_supported"});return Dn(this.resource,async()=>{if(m==="autofill"||m==="discoverable")await this._create({strategy:"passkey"});else{if(!this.supportedFirstFactors.find(ve=>ve.strategy==="passkey"))throw new Ue("Passkey factor not found",{code:"factor_not_found"});await this.resource.__internal_basePost({body:{strategy:"passkey"},action:"prepare_first_factor"})}let{nonce:M}=this.firstFactorVerification,ee=M?Yl(JSON.parse(M)):null;if(!ee)throw new Ue("Missing public key options",{code:"missing_public_key_options"});let X=!1;m==="autofill"&&(X=await O());let{publicKeyCredential:q,error:Ae}=await U({publicKeyOptions:ee,conditionalUI:X});if(!q)throw new lt(Ae.message,{code:"passkey_retrieval_failed"});await this.resource.__internal_basePost({body:{publicKeyCredential:JSON.stringify(Ls(q)),strategy:"passkey"},action:"attempt_first_factor"})})}async sendMFAPhoneCode(){return Dn(this.resource,async()=>{let l=this.resource.supportedSecondFactors?.find(S=>S.strategy==="phone_code");if(!l)throw new Ue("Phone code factor not found",{code:"factor_not_found"});let{phoneNumberId:m}=l;await this.resource.__internal_basePost({body:{phoneNumberId:m,strategy:"phone_code"},action:"prepare_second_factor"})})}async verifyMFAPhoneCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:m,strategy:"phone_code"},action:"attempt_second_factor"})})}async verifyTOTP(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:m,strategy:"totp"},action:"attempt_second_factor"})})}async verifyBackupCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{code:m,strategy:"backup_code"},action:"attempt_second_factor"})})}async ticket(l){let m=l?.ticket??wi("__clerk_ticket");return this.create({ticket:m??void 0})}async finalize(l){let{navigate:m}=l||{};if(!this.resource.createdSessionId)throw Error("Cannot finalize sign-in without a created session.");return Dn(this.resource,async()=>{await Fn.clerk.client?.reload(),await Fn.clerk.setActive({session:this.resource.createdSessionId,navigate:m})})}selectFirstFactor({strategy:l,emailAddressId:m,phoneNumberId:S}){if(!this.resource.supportedFirstFactors)return null;if(m){let M=this.resource.supportedFirstFactors.find(ee=>ee.strategy===l&&ee.emailAddressId===m);if(M)return M}if(S){let M=this.resource.supportedFirstFactors.find(ee=>ee.strategy===l&&ee.phoneNumberId===S);if(M)return M}let U=this.resource.supportedFirstFactors.find(M=>M.strategy===l&&M.safeIdentifier===this.resource.identifier);return U||this.resource.supportedFirstFactors.find(M=>M.strategy===l)||null}}class cc{firstName;lastName;imageUrl;hasImage;constructor(l){this.fromJSON(l)}fromJSON(l){return l&&(this.firstName=l.first_name,this.lastName=l.last_name,this.imageUrl=l.image_url??void 0,this.hasImage=l.has_image??void 0),this}__internal_toSnapshot(){return{first_name:this.firstName,last_name:this.lastName,image_url:this.imageUrl||null,has_image:this.hasImage||null}}}function Aa(b){let{unsafeMetadata:l}={...b},m=l?typeof l=="object"?JSON.stringify(l):l:"";return{...b,...l?{unsafeMetadata:m}:{}}}class A extends Qe{pathRoot="/client/sign_ups";id;_status=null;requiredFields=[];missingFields=[];optionalFields=[];unverifiedFields=[];verifications=new $s(null);username=null;firstName=null;lastName=null;emailAddress=null;phoneNumber=null;web3wallet=null;externalAccount;hasPassword=!1;unsafeMetadata={};createdSessionId=null;createdUserId=null;abandonAt=null;legalAcceptedAt=null;locale=null;get status(){return this._status}set status(l){let m=this._status;this._status=l,l&&m!==l&&cn.debug("SignUp.status",{id:this.id,from:m,to:l})}__internal_future=new g(this);__internal_basePost=this._basePost.bind(this);__internal_basePatch=this._basePatch.bind(this);constructor(l=null){super(),this.fromJSON(l)}create=async l=>{cn.debug("SignUp.create",{id:this.id,strategy:l.strategy});let m={...l};if(!m.locale){let S=ne();S&&(m.locale=S)}if(!this.clientBypass()&&!this.shouldBypassCaptchaForAttempt(l)){let S=new ks(A.clerk),U=await S.managedOrInvisible({action:"signup"});if(!U)throw new Ue("",{code:"captcha_unavailable"});m={...m,...U}}if(m.transfer&&this.shouldBypassCaptchaForAttempt(m)){let S=A.clerk.client?.signIn.firstFactorVerification.strategy;S&&(m={...m,strategy:S})}return this._basePost({path:this.pathRoot,body:Aa(m)})};prepareVerification=l=>(cn.debug("SignUp.prepareVerification",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"prepare_verification"}));attemptVerification=l=>(cn.debug("SignUp.attemptVerification",{id:this.id,strategy:l.strategy}),this._basePost({body:l,action:"attempt_verification"}));prepareEmailAddressVerification=l=>this.prepareVerification(l||{strategy:"email_code"});attemptEmailAddressVerification=l=>this.attemptVerification({...l,strategy:"email_code"});createEmailLinkFlow=()=>{let{run:l,stop:m}=Fs();return{startEmailLinkFlow:async({redirectUrl:S})=>(this.id||Qr("SignUp"),await this.prepareEmailAddressVerification({strategy:"email_link",redirectUrl:S}),new Promise((U,O)=>{l(()=>this.reload().then(M=>{let ee=M.verifications.emailAddress.status;(ee==="verified"||ee==="expired")&&(m(),U(M))}).catch(M=>{m(),O(M)}))})),cancelEmailLinkFlow:m}};preparePhoneNumberVerification=l=>this.prepareVerification(l||{strategy:"phone_code"});attemptPhoneNumberVerification=l=>this.attemptVerification({...l,strategy:"phone_code"});prepareWeb3WalletVerification=l=>this.prepareVerification({strategy:"web3_metamask_signature",...l});attemptWeb3WalletVerification=async l=>{let{signature:m,strategy:S="web3_metamask_signature"}=l;return this.attemptVerification({signature:m,strategy:S})};authenticateWithWeb3=async l=>{let m,{generateSignature:S,identifier:U,unsafeMetadata:O,strategy:M="web3_metamask_signature",legalAccepted:ee}=l||{},X=M.replace("web3_","").replace("_signature","");typeof S!="function"&&Lo("generateSignature");let q=U||this.web3wallet;await this.create({web3Wallet:q,unsafeMetadata:O,legalAccepted:ee}),await this.prepareWeb3WalletVerification({strategy:M});let{message:Ae}=this.verifications.web3Wallet;Ae||Fl("SignUp");try{m=await S({identifier:U,nonce:Ae,provider:X})}catch(ve){if(X==="coinbase_wallet"&&ve.code===4001)m=await S({identifier:U,nonce:Ae,provider:X});else throw ve}return this.attemptWeb3WalletVerification({signature:m,strategy:M})};authenticateWithMetamask=async l=>{let m=await Ye();return this.authenticateWithWeb3({identifier:m,generateSignature:tn,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_metamask_signature",legalAccepted:l?.legalAccepted})};authenticateWithCoinbaseWallet=async l=>{let m=await et();return this.authenticateWithWeb3({identifier:m,generateSignature:Kn,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_coinbase_wallet_signature",legalAccepted:l?.legalAccepted})};authenticateWithBase=async l=>{let m=await Nt();return this.authenticateWithWeb3({identifier:m,generateSignature:zi,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_base_signature",legalAccepted:l?.legalAccepted})};authenticateWithOKXWallet=async l=>{let m=await Be();return this.authenticateWithWeb3({identifier:m,generateSignature:_n,unsafeMetadata:l?.unsafeMetadata,strategy:"web3_okx_wallet_signature",legalAccepted:l?.legalAccepted})};authenticateWithRedirectOrPopup=async(l,m)=>{let{redirectUrl:S,redirectUrlComplete:U,strategy:O,continueSignUp:M=!1,unsafeMetadata:ee,emailAddress:X,legalAccepted:q,oidcPrompt:Ae,enterpriseConnectionId:ve}=l,Se=A.clerk.buildUrlWithAuth(S),Oe=()=>{let yt={strategy:O,redirectUrl:Se,actionCompleteRedirectUrl:U,unsafeMetadata:ee,emailAddress:X,legalAccepted:q,oidcPrompt:Ae,enterpriseConnectionId:ve};return M&&this.id?this.update(yt):this.create(yt)},{verifications:ze}=await Oe().catch(async yt=>{if(Ee(yt)&&ke(yt))return await A.clerk.__unstable__environment.reload(),Oe();throw yt}),{externalAccount:rt}=ze,{status:Ct,externalVerificationRedirectURL:Je}=rt;Ct==="unverified"&&Je?m(Je):zl(Ct,A.fapiClient.buildEmailAddress("support"))};authenticateWithRedirect=async l=>this.authenticateWithRedirectOrPopup(l,Fo);authenticateWithPopup=async l=>{let{popup:m}=l||{};return m||Lo("popup"),qi(A.clerk,"signUp",this.authenticateWithRedirectOrPopup,l,S=>{m.location.href=S instanceof URL?S.toString():S})};update=l=>this._basePatch({body:Aa(l)});upsert=l=>this.id?this.update(l):this.create(l);validatePassword=(l,m)=>{if(A.clerk.__unstable__environment?.userSettings.passwordSettings)return Il({...A.clerk.__unstable__environment?.userSettings.passwordSettings,validatePassword:!0})(l,m)};fromJSON(l){return l&&(this.id=l.id,this.status=l.status,this.requiredFields=l.required_fields,this.optionalFields=l.optional_fields,this.missingFields=l.missing_fields,this.unverifiedFields=l.unverified_fields,this.verifications=new $s(l.verifications),this.username=l.username,this.firstName=l.first_name,this.lastName=l.last_name,this.emailAddress=l.email_address,this.phoneNumber=l.phone_number,this.hasPassword=l.has_password,this.unsafeMetadata=l.unsafe_metadata,this.createdSessionId=l.created_session_id,this.createdUserId=l.created_user_id,this.abandonAt=l.abandon_at,this.web3wallet=l.web3_wallet,this.legalAcceptedAt=l.legal_accepted_at,this.locale=l.locale),xi.emit("resource:update",{resource:this}),this}__internal_toSnapshot(){return{object:"sign_up",id:this.id||"",status:this.status||null,required_fields:this.requiredFields,optional_fields:this.optionalFields,missing_fields:this.missingFields,unverified_fields:this.unverifiedFields,verifications:this.verifications.__internal_toSnapshot(),username:this.username,first_name:this.firstName,last_name:this.lastName,email_address:this.emailAddress,phone_number:this.phoneNumber,has_password:this.hasPassword,unsafe_metadata:this.unsafeMetadata,created_session_id:this.createdSessionId,created_user_id:this.createdUserId,abandon_at:this.abandonAt,web3_wallet:this.web3wallet,legal_accepted_at:this.legalAcceptedAt,locale:this.locale,external_account:this.externalAccount,external_account_strategy:this.externalAccount?.strategy}}clientBypass(){return A.clerk.client?.captchaBypass}shouldBypassCaptchaForAttempt(l){if(!l.strategy)return!1;let m=A.clerk.__unstable__environment.displayConfig.captchaOauthBypass;return!!(m.some(S=>S===l.strategy)||l.transfer&&m.some(S=>S===A.clerk.client.signIn.firstFactorVerification.strategy))}__experimental_getEnterpriseConnections=()=>Qe._fetch({path:`/client/sign_ups/${this.id}/enterprise_connections`,method:"GET"}).then(l=>(l?.response).map(m=>new B(m)))}class g{resource;verifications={sendEmailCode:this.sendEmailCode.bind(this),verifyEmailCode:this.verifyEmailCode.bind(this),sendPhoneCode:this.sendPhoneCode.bind(this),verifyPhoneCode:this.verifyPhoneCode.bind(this)};constructor(l){this.resource=l}get id(){return this.resource.id}get requiredFields(){return this.resource.requiredFields}get optionalFields(){return this.resource.optionalFields}get missingFields(){return this.resource.missingFields}get status(){return this.resource.status||"missing_requirements"}get username(){return this.resource.username}get firstName(){return this.resource.firstName}get lastName(){return this.resource.lastName}get emailAddress(){return this.resource.emailAddress}get phoneNumber(){return this.resource.phoneNumber}get web3Wallet(){return this.resource.web3wallet}get hasPassword(){return this.resource.hasPassword}get unsafeMetadata(){return this.resource.unsafeMetadata}get createdSessionId(){return this.resource.createdSessionId}get createdUserId(){return this.resource.createdUserId}get abandonAt(){return this.resource.abandonAt}get legalAcceptedAt(){return this.resource.legalAcceptedAt}get locale(){return this.resource.locale}get unverifiedFields(){return this.resource.unverifiedFields}get isTransferable(){return this.resource.verifications.externalAccount.status==="transferable"&&this.resource.verifications.externalAccount.error?.code==="external_account_exists"}get existingSession(){if((this.resource.verifications.externalAccount.status==="failed"||this.resource.verifications.externalAccount.status==="unverified")&&this.resource.verifications.externalAccount.error?.code==="identifier_already_signed_in"&&this.resource.verifications.externalAccount.error?.meta?.sessionId)return{sessionId:this.resource.verifications.externalAccount.error?.meta?.sessionId}}async getCaptchaToken(){let l=new ks(A.clerk),m=await l.managedOrInvisible({action:"signup"});if(!m)throw Error("Captcha challenge failed");let{captchaError:S,captchaToken:U,captchaWidgetType:O}=m;return{captchaToken:U,captchaWidgetType:O,captchaError:S}}async _create(l){let{captchaToken:m,captchaWidgetType:S,captchaError:U}=await this.getCaptchaToken(),O={transfer:l.transfer,captchaToken:m,captchaWidgetType:S,captchaError:U,...l,unsafeMetadata:l.unsafeMetadata?Aa(l.unsafeMetadata):void 0,locale:l.locale??ne()};await this.resource.__internal_basePost({path:this.resource.pathRoot,body:O})}async create(l){return Dn(this.resource,async()=>{await this._create(l)})}async update(l){return Dn(this.resource,async()=>{let m={...l,unsafeMetadata:l.unsafeMetadata?Aa(l.unsafeMetadata):void 0};await this.resource.__internal_basePatch({path:this.resource.pathRoot,body:m})})}async password(l){return Dn(this.resource,async()=>{let{captchaToken:m,captchaWidgetType:S,captchaError:U}=await this.getCaptchaToken(),O={strategy:"password",captchaToken:m,captchaWidgetType:S,captchaError:U,...l,unsafeMetadata:l.unsafeMetadata?Aa(l.unsafeMetadata):void 0};await this.resource.__internal_basePost({path:this.resource.pathRoot,body:O})})}async sendEmailCode(){return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{strategy:"email_code"},action:"prepare_verification"})})}async verifyEmailCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{strategy:"email_code",code:m},action:"attempt_verification"})})}async sendPhoneCode(l){let{phoneNumber:m,channel:S="sms"}=l;return Dn(this.resource,async()=>{if(!this.resource.id){let{captchaToken:U,captchaWidgetType:O,captchaError:M}=await this.getCaptchaToken();await this.resource.__internal_basePost({path:this.resource.pathRoot,body:{phoneNumber:m,captchaToken:U,captchaWidgetType:O,captchaError:M}})}await this.resource.__internal_basePost({body:{strategy:"phone_code",channel:S},action:"prepare_verification"})})}async verifyPhoneCode(l){let{code:m}=l;return Dn(this.resource,async()=>{await this.resource.__internal_basePost({body:{strategy:"phone_code",code:m},action:"attempt_verification"})})}async sso(l){let{strategy:m,redirectUrl:S,redirectCallbackUrl:U,unsafeMetadata:O,legalAccepted:M,oidcPrompt:ee,enterpriseConnectionId:X,emailAddress:q,popup:Ae}=l;return Dn(this.resource,async()=>{let{captchaToken:ve,captchaWidgetType:Se,captchaError:Oe}=await this.getCaptchaToken(),ze=S;try{new URL(S)}catch{ze=window.location.origin+S}let rt={redirectUrl:A.clerk.buildUrlWithAuth(U),actionCompleteRedirectUrl:ze};if(Ae){let Bt=Ka(A.clerk,{redirectCallbackUrl:rt.redirectUrl,redirectUrl:ze});rt.redirectUrl=Bt.redirectCallbackUrl,rt.actionCompleteRedirectUrl=Bt.redirectUrl}let Ct=()=>this.resource.__internal_basePost({path:this.resource.pathRoot,body:{strategy:m,...rt,unsafeMetadata:O,legalAccepted:M,oidcPrompt:ee,enterpriseConnectionId:X,emailAddress:q,captchaToken:ve,captchaWidgetType:Se,captchaError:Oe}});await Ct().catch(async Bt=>{if(Ee(Bt)&&ke(Bt))return await A.clerk.__unstable__environment.reload(),Ct();throw Bt});let{status:Je,externalVerificationRedirectURL:yt}=this.resource.verifications.externalAccount;Je==="unverified"&&yt&&(Ae?(await Ra(A.clerk,{popup:Ae,externalVerificationRedirectURL:yt}),await this.resource.reload()):Fo(yt))})}async web3(l){let{strategy:m,unsafeMetadata:S,legalAccepted:U}=l,O=m.replace("web3_","").replace("_signature","");return Dn(this.resource,async()=>{let M,ee,X;switch(O){case"metamask":M=await Ye(),ee=tn;break;case"coinbase_wallet":M=await et(),ee=Kn;break;case"base":M=await Nt(),ee=zi;break;case"okx_wallet":M=await Be(),ee=_n;break;default:throw Error(`Unsupported Web3 provider: ${O}`)}let q=M||this.resource.web3wallet;await this._create({web3Wallet:q,unsafeMetadata:S,legalAccepted:U}),await this.resource.__internal_basePost({body:{strategy:m},action:"prepare_verification"});let{message:Ae}=this.resource.verifications.web3Wallet;Ae||Fl("SignUp");try{X=await ee({identifier:M,nonce:Ae})}catch(ve){if(O==="coinbase_wallet"&&ve.code===4001)X=await ee({identifier:M,nonce:Ae});else throw ve}await this.resource.__internal_basePost({body:{signature:X,strategy:m},action:"attempt_verification"})})}async ticket(l){let m=l?.ticket??wi("__clerk_ticket");return this.create({...l,ticket:m??void 0})}async finalize(l){let{navigate:m}=l||{};return Dn(this.resource,async()=>{if(!this.resource.createdSessionId)throw Error("Cannot finalize sign-up without a created session.");await A.clerk.setActive({session:this.resource.createdSessionId,navigate:m})})}}class B extends Qe{id;name;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.name=l.name),this}}class Q extends Qe{pathRoot="tokens";jwt;static async create(l,m={},S=!1){return new Q(await Qe._fetch({body:m,method:"POST",path:l,search:S?"debug=skip_cache":void 0}),l)}constructor(l,m){super(),m&&(this.pathRoot=m),l?.jwt&&(this.jwt=H(l.jwt))}getRawString=()=>this.jwt?.claims.__raw||"";fromJSON(l){return l&&(this.jwt=H(l.jwt)),this}__internal_toSnapshot(){return{object:"token",id:this.id||"",jwt:this.getRawString()}}}class T extends Qe{pathRoot="/me";id="";secret;uri;verified=!1;backupCodes;updatedAt=null;createdAt=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.secret=l.secret,this.uri=l.uri,this.verified=l.verified,this.backupCodes=l.backup_codes,this.updatedAt=mt(l.updated_at),this.createdAt=mt(l.created_at)),this}}class G extends Qe{pathRoot="/me";id;codes=[];updatedAt=null;createdAt=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.codes=l.codes,this.updatedAt=mt(l.updated_at),this.createdAt=mt(l.created_at)),this}}class Z extends Qe{pathRoot="/me";id="";externalId=null;username=null;emailAddresses=[];phoneNumbers=[];web3Wallets=[];externalAccounts=[];enterpriseAccounts=[];passkeys=[];samlAccounts=[];organizationMemberships=[];passwordEnabled=!1;firstName=null;lastName=null;fullName=null;primaryEmailAddressId=null;primaryEmailAddress=null;primaryPhoneNumberId=null;primaryPhoneNumber=null;primaryWeb3WalletId=null;primaryWeb3Wallet=null;imageUrl="";hasImage=!1;twoFactorEnabled=!1;totpEnabled=!1;backupCodeEnabled=!1;publicMetadata={};unsafeMetadata={};createOrganizationEnabled=!1;createOrganizationsLimit=null;deleteSelfEnabled=!1;lastSignInAt=null;legalAcceptedAt=null;updatedAt=null;createdAt=null;cachedSessionsWithActivities=null;static isUserResource(l){return!!l&&l instanceof Z}constructor(l){super(),this.fromJSON(l)}path(){return this.pathRoot}isPrimaryIdentification=l=>{switch(l.constructor){case Vl:return this.primaryEmailAddressId===l.id;case Wl:return this.primaryPhoneNumberId===l.id;case fe:return this.primaryWeb3WalletId===l.id;default:return!1}};createEmailAddress=l=>{let{email:m}=l||{};return new Vl({email_address:m},this.path()+"/email_addresses/").create()};createPasskey=()=>hi.registerPasskey();createPhoneNumber=l=>{let{phoneNumber:m}=l||{};return new Wl({phone_number:m},this.path()+"/phone_numbers/").create()};createWeb3Wallet=l=>{let{web3Wallet:m}=l||{};return new fe({web3_wallet:m},this.path()+"/web3_wallets/").create()};createExternalAccount=async l=>{let{strategy:m,redirectUrl:S,additionalScopes:U}=l||{};return new Hs((await Qe._fetch({path:"/me/external_accounts",method:"POST",body:{strategy:m,redirect_url:S,additional_scope:U}}))?.response,this.path()+"/external_accounts")};createTOTP=async()=>new T((await Qe._fetch({path:"/me/totp",method:"POST"}))?.response);verifyTOTP=async({code:l})=>new T((await Qe._fetch({path:"/me/totp/attempt_verification",method:"POST",body:{code:l}}))?.response);disableTOTP=async()=>new Ao((await Qe._fetch({path:"/me/totp",method:"DELETE"}))?.response);createBackupCode=async()=>new G((await Qe._fetch({path:this.path()+"/backup_codes/",method:"POST"}))?.response);update=l=>this._basePatch({body:Aa(l)});updatePassword=l=>this._basePost({body:l,path:`${this.path()}/change_password`});removePassword=l=>this._basePost({body:l,path:`${this.path()}/remove_password`});delete=()=>this._baseDelete({path:"/me"}).then(l=>(xi.emit(Ho,null),l));getSessions=async()=>{if(this.cachedSessionsWithActivities)return this.cachedSessionsWithActivities;let l=await jo.retrieve();return this.cachedSessionsWithActivities=l,l};setProfileImage=l=>{let{file:m}=l||{};return m===null?ja.delete(`${this.path()}/profile_image`):ja.create(`${this.path()}/profile_image`,{file:m})};getOrganizationInvitations=l=>W.retrieve(l);getOrganizationSuggestions=l=>fs.retrieve(l);getOrganizationMemberships=l=>Xr.retrieve(l);leaveOrganization=async l=>new Ao((await Qe._fetch({path:`${this.path()}/organization_memberships/${l}`,method:"DELETE"}))?.response);initializePaymentMethod=l=>Pl(l);addPaymentMethod=l=>jl(l);getPaymentMethods=l=>bi(l);get verifiedExternalAccounts(){return this.externalAccounts.filter(l=>l.verification?.status=="verified")}get unverifiedExternalAccounts(){return this.externalAccounts.filter(l=>l.verification?.status!="verified")}get verifiedWeb3Wallets(){return this.web3Wallets.filter(l=>l.verification?.status=="verified")}get hasVerifiedEmailAddress(){return this.emailAddresses.filter(l=>l.verification.status==="verified").length>0}get hasVerifiedPhoneNumber(){return this.phoneNumbers.filter(l=>l.verification.status==="verified").length>0}fromJSON(l){return l&&(this.id=l.id,this.externalId=l.external_id||null,this.firstName=l.first_name||null,this.lastName=l.last_name||null,(this.firstName||this.lastName)&&(this.fullName=(({firstName:m,lastName:S,name:U})=>U||[m,S].join(" ").trim()||"")({firstName:this.firstName,lastName:this.lastName})),this.imageUrl=l.image_url||"",this.hasImage=l.has_image||!1,this.username=l.username||null,this.passwordEnabled=l.password_enabled||!1,this.emailAddresses=(l.email_addresses||[]).map(m=>new Vl(m,this.path()+"/email_addresses")),this.primaryEmailAddressId=l.primary_email_address_id||null,this.primaryEmailAddress=this.emailAddresses.find(({id:m})=>m===this.primaryEmailAddressId)||null,this.phoneNumbers=(l.phone_numbers||[]).map(m=>new Wl(m,this.path()+"/phone_numbers")),this.primaryPhoneNumberId=l.primary_phone_number_id||null,this.primaryPhoneNumber=this.phoneNumbers.find(({id:m})=>m===this.primaryPhoneNumberId)||null,this.web3Wallets=(l.web3_wallets||[]).map(m=>new fe(m,this.path()+"/web3_wallets")),this.primaryWeb3WalletId=l.primary_web3_wallet_id||null,this.primaryWeb3Wallet=this.web3Wallets.find(({id:m})=>m===this.primaryWeb3WalletId)||null,this.externalAccounts=(l.external_accounts||[]).map(m=>new Hs(m,this.path()+"/external_accounts")),this.passkeys=(l.passkeys||[]).map(m=>new hi(m)),this.organizationMemberships=(l.organization_memberships||[]).map(m=>new Xr(m)),this.samlAccounts=(l.saml_accounts||[]).map(m=>new vl(m,this.path()+"/saml_accounts")),this.enterpriseAccounts=(l.enterprise_accounts||[]).map(m=>new Qa(m,this.path()+"/enterprise_accounts")),this.publicMetadata=l.public_metadata||{},this.unsafeMetadata=l.unsafe_metadata||{},this.totpEnabled=l.totp_enabled||!1,this.backupCodeEnabled=l.backup_code_enabled||!1,this.twoFactorEnabled=l.two_factor_enabled||!1,this.createOrganizationEnabled=l.create_organization_enabled||!1,this.createOrganizationsLimit=l.create_organizations_limit||null,this.deleteSelfEnabled=l.delete_self_enabled||!1,l.last_sign_in_at&&(this.lastSignInAt=mt(l.last_sign_in_at)),l.legal_accepted_at&&(this.legalAcceptedAt=mt(l.legal_accepted_at)),this.updatedAt=mt(l.updated_at||void 0),this.createdAt=mt(l.created_at||void 0)),this}__internal_toSnapshot(){return{object:"user",id:this.id,external_id:this.externalId,first_name:this.firstName,last_name:this.lastName,username:this.username,public_metadata:this.publicMetadata,unsafe_metadata:this.unsafeMetadata,image_url:this.imageUrl,has_image:this.hasImage,email_addresses:this.emailAddresses.map(l=>l.__internal_toSnapshot()),phone_numbers:this.phoneNumbers.map(l=>l.__internal_toSnapshot()),web3_wallets:this.web3Wallets.map(l=>l.__internal_toSnapshot()),external_accounts:this.externalAccounts.map(l=>l.__internal_toSnapshot()),passkeys:this.passkeys.map(l=>l.__internal_toSnapshot()),organization_memberships:this.organizationMemberships.map(l=>l.__internal_toSnapshot()),saml_accounts:this.samlAccounts.map(l=>l.__internal_toSnapshot()),enterprise_accounts:this.enterpriseAccounts.map(l=>l.__internal_toSnapshot()),totp_enabled:this.totpEnabled,backup_code_enabled:this.backupCodeEnabled,two_factor_enabled:this.twoFactorEnabled,create_organization_enabled:this.createOrganizationEnabled,create_organizations_limit:this.createOrganizationsLimit,delete_self_enabled:this.deleteSelfEnabled,primary_email_address_id:this.primaryEmailAddressId,primary_phone_number_id:this.primaryPhoneNumberId,primary_web3_wallet_id:this.primaryWeb3WalletId,password_enabled:this.passwordEnabled,profile_image_id:this.imageUrl,last_sign_in_at:this.lastSignInAt?.getTime()||null,legal_accepted_at:this.legalAcceptedAt?.getTime()||null,updated_at:this.updatedAt?.getTime()||null,created_at:this.createdAt?.getTime()||null}}}class W extends Qe{id;emailAddress;publicOrganizationData;publicMetadata={};status;role;createdAt;updatedAt;static async retrieve(l){return await Qe._fetch({path:"/me/organization_invitations",method:"GET",search:mr(l)}).then(m=>{let{data:S,total_count:U}=m?.response;return{total_count:U,data:S.map(O=>new W(O))}})}constructor(l){super(),this.fromJSON(l)}accept=async()=>await this._basePost({path:`/me/organization_invitations/${this.id}/accept`});fromJSON(l){return l&&(this.id=l.id,this.emailAddress=l.email_address,this.publicOrganizationData={hasImage:l.public_organization_data.has_image,imageUrl:l.public_organization_data.image_url,name:l.public_organization_data.name,id:l.public_organization_data.id,slug:l.public_organization_data.slug},this.publicMetadata=l.public_metadata,this.role=l.role,this.status=l.status,this.createdAt=mt(l.created_at),this.updatedAt=mt(l.updated_at)),this}}class fe extends Qe{id;web3Wallet="";verification;constructor(l,m){super(),this.pathRoot=m,this.fromJSON(l)}create(){return this._basePost({body:{web3_wallet:this.web3Wallet}})}prepareVerification=l=>this._basePost({action:"prepare_verification",body:{...l}});attemptVerification=l=>{let{signature:m}=l;return this._basePost({action:"attempt_verification",body:{signature:m}})};destroy(){return this._baseDelete()}toString(){return this.web3Wallet}fromJSON(l){return l&&(this.id=l.id,this.web3Wallet=l.web3_wallet,this.verification=new sr(l.verification)),this}__internal_toSnapshot(){return{object:"web3_wallet",id:this.id,web3_wallet:this.web3Wallet,verification:this.verification.__internal_toSnapshot()}}}class De extends Qe{pathRoot="/waitlist";id="";updatedAt=null;createdAt=null;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.updatedAt=mt(l.updated_at),this.createdAt=mt(l.created_at)),this}static async join(l){return new De((await Qe._fetch({path:"/waitlist",method:"POST",body:l}))?.response)}}class we extends Qe{pathRoot="/api_keys";id;type;name;subject;scopes;claims;revoked;revocationReason;expired;expiration;createdBy;description;secret;lastUsedAt;createdAt;updatedAt;constructor(l){super(),this.fromJSON(l)}fromJSON(l){return l&&(this.id=l.id,this.type=l.type,this.name=l.name,this.subject=l.subject,this.scopes=l.scopes,this.claims=l.claims,this.revoked=l.revoked,this.revocationReason=l.revocation_reason,this.expired=l.expired,this.expiration=l.expiration?mt(l.expiration):null,this.createdBy=l.created_by,this.description=l.description,this.secret=l.secret,this.lastUsedAt=l.last_used_at?mt(l.last_used_at):null,this.updatedAt=mt(l.updated_at),this.createdAt=mt(l.created_at)),this}__internal_toSnapshot(){return{object:"api_key",id:this.id,type:this.type,name:this.name,subject:this.subject,scopes:this.scopes,claims:this.claims,revoked:this.revoked,revocation_reason:this.revocationReason,expired:this.expired,expiration:this.expiration?this.expiration.getTime():null,created_by:this.createdBy,description:this.description,last_used_at:this.lastUsedAt?this.lastUsedAt.getTime():null,created_at:this.createdAt.getTime(),updated_at:this.updatedAt.getTime()}}}function We(b,l){var m,S;return b.id!==l.id||b.updatedAt.getTime()<l.updatedAt.getTime()||(m=l,S=b,m.organizationMemberships.length!==S.organizationMemberships.length||m.organizationMemberships[0]?.updatedAt!==S.organizationMemberships[0]?.updatedAt)}function tt(b,l){return(function(m,S){if(!m&&S||m&&!S)return!0;if(!m&&m===S)return!1;if(!m||!S)return!0;try{if(oi.isClientResource(m))return m.id!==S.id||m.updatedAt.getTime()<S.updatedAt.getTime()||m.sessions.length!==S.sessions.length;if(Po.isSessionResource(m)){var U,O;return m.id!==S.id||m.updatedAt.getTime()<S.updatedAt.getTime()||m.lastActiveToken?.jwt?.claims?.__raw!==S.lastActiveToken?.jwt?.claims?.__raw||(function(M,ee){if(M.lastActiveOrganizationId!==ee.lastActiveOrganizationId)return!0;let X=M.user?.organizationMemberships?.find(Ae=>Ae.organization.id===M.lastActiveOrganizationId),q=ee.user?.organizationMemberships?.find(Ae=>Ae.organization.id===M.lastActiveOrganizationId);return X?.permissions?.length!==q?.permissions?.length})(m,S)||(U=m,O=S,!!U.user!=!!O.user||!!U.user&&!!O.user&&We(U.user,O.user))}if(Z.isUserResource(m))return We(m,S)}catch{}return!0})(b,l)?l:b}let Zt=(b,l)=>{let m={};for(let S in b)m[S]=l(b[S],S);return m},_i=(b,l)=>{let m={};for(let S in b)b[S]&&l(b[S])&&(m[S]=b[S]);return m};class St{static keys=["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","afterSignInUrl","afterSignUpUrl","redirectUrl"];static preserved=["redirectUrl"];options;fromOptions;fromProps;fromSearchParams;mode;constructor(l,m={},S={},U){this.options=l,this.fromOptions=this.#o(l||{}),this.fromProps=this.#o(m||{}),this.fromSearchParams=this.#d(S||{}),this.mode=U}getAfterSignInUrl(){return this.#s("signIn")}getAfterSignUpUrl(){return this.#s("signUp")}getPreservedSearchParams(){return this.#n(this.#r())}toSearchParams(){return this.#n(this.#i())}#n(l){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(l).map(([m,S])=>[br(m),S]))).reduce((m,[S,U])=>(U!=null&&(m[S]=U),m),{}))}#r(){return Object.fromEntries(Object.entries({...this.fromSearchParams}).filter(([l])=>St.preserved.includes(l)))}#i(){let l=this.fromSearchParams.signUpForceRedirectUrl||this.fromProps.signUpForceRedirectUrl||this.fromOptions.signUpForceRedirectUrl,m=this.fromSearchParams.signUpFallbackRedirectUrl||this.fromProps.signUpFallbackRedirectUrl||this.fromOptions.signUpFallbackRedirectUrl,S=this.fromSearchParams.signInForceRedirectUrl||this.fromProps.signInForceRedirectUrl||this.fromOptions.signInForceRedirectUrl,U=this.fromSearchParams.signInFallbackRedirectUrl||this.fromProps.signInFallbackRedirectUrl||this.fromOptions.signInFallbackRedirectUrl,O=this.fromSearchParams.afterSignInUrl||this.fromProps.afterSignInUrl||this.fromOptions.afterSignInUrl,M={signUpForceRedirectUrl:l,signUpFallbackRedirectUrl:m,signInFallbackRedirectUrl:U,signInForceRedirectUrl:S,afterSignInUrl:O,afterSignUpUrl:this.fromSearchParams.afterSignUpUrl||this.fromProps.afterSignUpUrl||this.fromOptions.afterSignUpUrl,redirectUrl:this.fromSearchParams.redirectUrl||this.fromProps.redirectUrl||this.fromOptions.redirectUrl};return l&&delete M.signUpFallbackRedirectUrl,S&&delete M.signInFallbackRedirectUrl,M}#s(l){var m,S;let U,O,M=`${l}ForceRedirectUrl`,ee=`${l}FallbackRedirectUrl`,X=`after${l[0].toUpperCase()}${l.slice(1)}Url`;(O=this.fromSearchParams[M]||this.fromProps[M]||this.fromOptions[M])&&(U=M),(O||=this.fromSearchParams.redirectUrl)&&(U="redirectUrl"),(O||=this.fromSearchParams[ee]||this.fromProps[ee]||this.fromOptions[ee])&&(U=ee);let q=this.fromSearchParams[X]||this.fromProps[X]||this.fromProps.redirectUrl||this.fromOptions[X];return m=U,(S=O)&&q&&Et(`Clerk: The "${m}" prop ("${S}") has priority over the legacy "${X}" (or "redirectUrl") ("${q}"), which will be completely ignored in this case. "${X}" (or "redirectUrl" prop) should be replaced with the new "fallbackRedirectUrl" or "forceRedirectUrl" props instead. Learn more: https://clerk.com/docs/guides/custom-redirects#redirect-url-props`),(O||=q)||this.mode!=="modal"?O||"/":window.location.href}#o(l){Da(l);let m={};return St.keys.forEach(S=>{m[S]=l[S]}),Zt(this.#c(this.#A(_i(m,Boolean))),S=>S.toString())}#d(l){Da(l);let m={};return St.keys.forEach(S=>{l instanceof URLSearchParams?m[S]=l.get(br(S)):m[S]=l[br(S)]}),Zt(this.#c(this.#A(_i(m,Boolean))),S=>S.toString())}#A(l){return Zt(l,m=>Yr(m,window.location.origin))}#c=l=>_i(l,((m,S)=>U=>{let O=U;if(typeof O=="string"&&(O=Yr(O,S)),!m)return!0;let M=S===O.origin,ee=!(function(X){if((function(q){if(!(function(ve){if(!ve)return!1;try{return new URL(ve),!0}catch{return!1}})(q))return!1;let Ae=new URL(q).protocol;return Ba.some(ve=>ve===Ae)})(X))return!0;for(let q of gr)if(q.test(X.pathname))return!0;return!1})(O)&&(M||m.map(X=>typeof X=="string"?(q=>{try{return ul(q)}catch(Ae){throw Error(`Invalid pattern: ${q}.
367
- Consult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.
368
- ${Ae.message}`)}})(Wn(X)):X).some(X=>X.test(Wn(O.origin))));return ee||Et(`Clerk: Redirect URL ${O} is not on one of the allowedRedirectOrigins, falling back to the default redirect URL.`),ee})(this.options?.allowedRedirectOrigins,window.location.origin))}let xn="__clerk_db_jwt";function Hn(b,l){let m=new URL(b),S=m.searchParams.get(xn);m.searchParams.delete(xn);let U=S||l;return U&&m.searchParams.set(xn,U),m}let Gn=b=>ps(ku(b)),ps=b=>{let l=new URL(b);return l.searchParams.delete(xn),l},ku=b=>{let l=new URL(b);return l.searchParams.delete("__dev_session"),l.hash=decodeURI(l.hash).replace(/__clerk_db_jwt\[(.*)\]/,""),l.href.endsWith("#")&&(l.hash=""),l};function Jo(b){for(var l=1;l<arguments.length;l++){var m=arguments[l];for(var S in m)b[S]=m[S]}return b}var js=(function b(l,m){function S(U,O,M){if(typeof document<"u"){typeof(M=Jo({},m,M)).expires=="number"&&(M.expires=new Date(Date.now()+864e5*M.expires)),M.expires&&(M.expires=M.expires.toUTCString()),U=encodeURIComponent(U).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var ee="";for(var X in M)M[X]&&(ee+="; "+X,M[X]!==!0&&(ee+="="+M[X].split(";")[0]));return document.cookie=U+"="+l.write(O,U)+ee}}return Object.create({set:S,get:function(U){if(typeof document<"u"&&(!arguments.length||U)){for(var O=document.cookie?document.cookie.split("; "):[],M={},ee=0;ee<O.length;ee++){var X=O[ee].split("="),q=X.slice(1).join("=");try{var Ae=decodeURIComponent(X[0]);if(M[Ae]=l.read(q,Ae),U===Ae)break}catch{}}return U?M[U]:M}},remove:function(U,O){S(U,"",Jo({},O,{expires:-1}))},withAttributes:function(U){return b(this.converter,Jo({},this.attributes,U))},withConverter:function(U){return b(Jo({},this.converter,U),this.attributes)}},{attributes:{value:Object.freeze(m)},converter:{value:Object.freeze(l)}})})({read:function(b){return b[0]==='"'&&(b=b.slice(1,-1)),b.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(b){return encodeURIComponent(b).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function Na(b){return{get:()=>js.get(b),set(l,m={}){js.set(b,l,m)},remove(l){js.remove(b,l)}}}let Ou=b=>window.location.protocol==="https:"||b==="None"&&window.safari===void 0&&(window.isSecureContext!==void 0?window.isSecureContext:window.location.hostname==="localhost");function YA(b,l){let m=(function(S){try{return new Date(S||new Date)}catch{return new Date}})(b);return m.setFullYear(m.getFullYear()+l),m}let nf=Na("__clerk_test_etld"),qA="__client_uat",Wc="__session",WA=()=>{let b=me()?"None":"Lax",l=Ou(b);return{sameSite:b,secure:l,partitioned:!1}};async function eu(b){let l;try{l=await vn(b)}catch(S){var m;m=`Suffixed cookie failed due to ${S.message} (secure-context: ${window.isSecureContext}, url: ${window.location.href})`,dt.has(m)||(console.log(m),dt.add(m));let{default:U}=await u.e("199").then(u.t.bind(u,394,23)),{default:O}=await u.e("199").then(u.t.bind(u,7202,23)),M=U(b);l=O.stringify(M).replace(/\+/gi,"-").replace(/\//gi,"_").substring(0,8)}return l}let tu=()=>{let b=me()?"None":"Lax",l=Ou(b);return{sameSite:b,secure:l}};var XA=u(2788),rf=u.n(XA);class af{lock=(function(l){let m=new(rf());return window.addEventListener("beforeunload",async()=>{await m.releaseLock(l)}),{acquireLockAndRun:async S=>{if("locks"in navigator&&isSecureContext){let U=new AbortController,O=setTimeout(()=>U.abort(),4999);return await navigator.locks.request(l,{signal:U.signal},async()=>(clearTimeout(O),await S())).catch(()=>!1)}if(await m.acquireLock(l,5e3))try{return await S()}finally{await m.releaseLock(l)}}}})("clerk.lock.refreshSessionToken");workerTimers=Nu();timerId=null;initiated=!1;startPollingForSessionToken(l){if(this.timerId||this.initiated)return;let m=async()=>{this.initiated=!0,await this.lock.acquireLockAndRun(l),this.timerId=this.workerTimers.setTimeout(m,5e3)};m()}stopPollingForSessionToken(){this.timerId!=null&&(this.workerTimers.clearTimeout(this.timerId),this.timerId=null),this.initiated=!1}}class Ac{clerk;instanceType;clerkEventBus;poller=null;clientUat;sessionCookie;activeCookie;devBrowser;static async create(l,m,S,U){let O=await eu(l.publishableKey),M=new Ac(l,m,O,S,U);return await M.setup(),M}constructor(l,m,S,U,O){this.clerk=l,this.instanceType=U,this.clerkEventBus=O,xi.on(zs,({token:M})=>{this.updateSessionCookie(M&&M.getRawString()),this.setClientUatCookieForDevelopmentInstances()}),xi.on(Ho,()=>this.handleSignOut()),this.refreshTokenOnFocus(),this.startPollingForToken(),this.clientUat=(M=>{let ee=Na(qA),X=Na(Br(qA,M));return{set:q=>{let Ae=YA(Date.now(),1),ve=me()?"None":"Strict",Se=Ou(ve),Oe=(function(rt=window.location.hostname,Ct=nf){if(f)return f;if(["localhost","127.0.0.1","0.0.0.0"].includes(rt))return rt;let Je=rt.split(".");if(Je.length===1)return rt;for(let yt=Je.length-2;yt>=0;yt--){let Bt=Je.slice(yt).join(".");if(Ct.set("1",{domain:Bt}),Ct.get()==="1")return Ct.remove({domain:Bt}),f=Bt,Bt;Ct.remove({domain:Bt})}})(),ze="0";q&&q.updatedAt&&q.signedInSessions.length>0&&(ze=Math.floor(q.updatedAt.getTime()/1e3).toString()),X.remove(),ee.remove(),X.set(ze,{domain:Oe,expires:Ae,partitioned:!1,sameSite:ve,secure:Se}),ee.set(ze,{domain:Oe,expires:Ae,partitioned:!1,sameSite:ve,secure:Se})},get:()=>parseInt(X.get()||ee.get()||"0",10)}})(S),this.sessionCookie=(M=>{let ee=Na(Wc),X=Na(Br(Wc,M)),q=()=>{let Ae=WA();ee.remove(Ae),X.remove(Ae)};return{set:Ae=>{let ve=YA(Date.now(),1),{sameSite:Se,secure:Oe,partitioned:ze}=WA();ze&&q(),ee.set(Ae,{expires:ve,sameSite:Se,secure:Oe,partitioned:ze}),X.set(Ae,{expires:ve,sameSite:Se,secure:Oe,partitioned:ze})},remove:q,get:()=>X.get()||ee.get()}})(S),this.activeCookie=(()=>{let M=Na("clerk_active_context"),ee={secure:Ou("None")};return{set:X=>{M.set(X,ee)},get:()=>M.get(),remove:()=>M.remove(ee)}})(),this.devBrowser=(function({cookieSuffix:M,frontendApi:ee,fapiClient:X}){let q=(Oe=>{let ze=Na(xn),rt=Na(Br(xn,Oe));return{get:()=>rt.get()||ze.get(),set:Ct=>{let Je=YA(Date.now(),1),{sameSite:yt,secure:Bt}=tu();rt.set(Ct,{expires:Je,sameSite:yt,secure:Bt}),ze.set(Ct,{expires:Je,sameSite:yt,secure:Bt})},remove:()=>{let Ct=tu();rt.remove(Ct),ze.remove(Ct)}}})(M);function Ae(){return q.get()}function ve(Oe){q.set(Oe)}function Se(){q.remove()}return{clear:function(){Se()},setup:async function(){if(!cl(ee))return;X.onBeforeRequest(Je=>{let yt=Ae();yt&&Je?.url&&(Je.url=Hn(Je.url,yt))}),X.onAfterResponse((Je,yt)=>{let Bt=yt?.headers?.get("Clerk-Db-Jwt");Bt&&ve(Bt)});let Oe=(function(Je){let yt=Je.searchParams.get(xn)||"";return Gn(Je).href!==Je.href&&globalThis.history!==void 0&&globalThis.history.replaceState(null,"",Gn(Je)),yt})(new URL(window.location.href));if(Oe)return void ve(Oe);if(q.get())return;let ze=X.buildUrl({path:"/dev_browser"}),rt=await fetch(ze.toString(),{method:"POST"});if(!rt.ok){let Je=(function(yt=[]){return yt.length>0?yt.map(Bt=>new k(Bt)):[]})((await rt.json()).errors);Je[0]?Ol(Je[0].longMessage):Ol()}let Ct=await rt.json();ve(Ct?.id)},getDevBrowserJWT:Ae,setDevBrowserJWT:ve,removeDevBrowserJWT:Se}})({frontendApi:l.frontendApi,fapiClient:m,cookieSuffix:S})}async setup(){return this.instanceType==="production"?this.setupProduction():this.setupDevelopment()}isSignedOut(){return this.clerk.loaded?!!this.clerk.user:0>=this.clientUat.get()}async handleUnauthenticatedDevBrowser(){this.devBrowser.clear(),await this.devBrowser.setup()}decorateUrlWithDevBrowserToken(l){let m=this.devBrowser.getDevBrowserJWT();if(!m)throw Error(`${Mi} Missing dev browser jwt. Please contact support.`);return Hn(l,m)}async setupDevelopment(){await this.devBrowser.setup()}setupProduction(){this.devBrowser.clear()}startPollingForToken(){this.poller||(this.poller=new af,this.poller.startPollingForSessionToken(()=>this.refreshSessionToken()))}stopPollingForToken(){this.poller&&(this.poller.stopPollingForSessionToken(),this.poller=null)}refreshTokenOnFocus(){window.addEventListener("focus",()=>{document.visibilityState==="visible"&&this.refreshSessionToken({updateCookieImmediately:!0})})}async refreshSessionToken({updateCookieImmediately:l=!1}={}){if(this.clerk.session)try{let m=await this.clerk.session.getToken();l&&this.updateSessionCookie(m)}catch(m){return this.handleGetTokenError(m)}}updateSessionCookie(l){if(document.hasFocus()||this.isCurrentContextActive())return l||$()||cn.warn("Removing session cookie (offline)",{sessionId:this.clerk.session?.id},"authCookieService"),this.setActiveContextInStorage(),l?this.sessionCookie.set(l):this.sessionCookie.remove()}setClientUatCookieForDevelopmentInstances(){this.instanceType!=="production"&&this.inCustomDevelopmentDomain()&&this.clientUat.set(this.clerk.client)}inCustomDevelopmentDomain(){let l=this.clerk.frontendApi.replace("clerk.","");return!window.location.host.endsWith(l)}handleGetTokenError(l){if(Ee(l)||Pe(l)||(`${l.message}${l.name}`||"").toLowerCase().replace(/\s+/g,"").includes("networkerror")){if(Ve(l))return void this.clerk.handleUnauthenticated().catch(xt);this.clerkEventBus.emit(xe,"degraded")}}handleSignOut(){this.activeCookie.remove(),this.sessionCookie.remove(),this.setClientUatCookieForDevelopmentInstances()}setActiveContextInStorage(){let l=this.clerk.session?.id||"",m=this.clerk.organization?.id||"",S=`${l}:${m}`;S!==":"?this.activeCookie.set(S):this.activeCookie.remove()}isCurrentContextActive(){let l=this.activeCookie.get();if(!l)return!0;let[m,S]=l.split(":"),U=this.clerk.session?.id||"",O=this.clerk.organization?.id||"";return m===U&&S===O}getSessionCookie(){return this.sessionCookie.get()}}class of{clerk;captchaChallenge;timers;constructor(l,m=new ks(l),S=Nu()){this.clerk=l,this.captchaChallenge=m,this.timers=S}async start(){this.isEnabled()&&(await this.challengeAndSend(),this.timers.setInterval(()=>{this.challengeAndSend()},this.intervalInMs()))}async challengeAndSend(){if(!(!this.clerk.client||this.clientBypass()))try{let l=await this.captchaChallenge.invisible({action:"heartbeat"});await this.clerk.client.__internal_sendCaptchaToken(l)}catch{}}isEnabled(){return!!this.clerk.__unstable__environment?.displayConfig?.captchaHeartbeat}clientBypass(){return this.clerk.client?.captchaBypass}intervalInMs(){return this.clerk.__unstable__environment?.displayConfig?.captchaHeartbeatIntervalMs??6e5}}let Js=["/client","/waitlist"];class Fu{async getBaseFapiProxyOptions(){let l=await Qe.clerk.session?.getToken();if(!l)throw new Ue("No valid session token available",{code:"no_session_token"});return{pathPrefix:"",headers:{Authorization:`Bearer ${l}`,"Content-Type":"application/json"},credentials:"same-origin"}}async getAll(l){return Qe._fetch({...await this.getBaseFapiProxyOptions(),method:"GET",path:"/api_keys",search:mr({...l,subject:l?.subject??Qe.clerk.organization?.id??Qe.clerk.user?.id??"",query:l?.query??""})}).then(m=>{let{data:S,total_count:U}=m;return{total_count:U,data:S.map(O=>new we(O))}})}async create(l){return new we(await Qe._fetch({...await this.getBaseFapiProxyOptions(),path:"/api_keys",method:"POST",body:JSON.stringify({type:"api_key",name:l.name,subject:l.subject??Qe.clerk.organization?.id??Qe.clerk.user?.id??"",description:l.description,seconds_until_expiration:l.secondsUntilExpiration})}))}async revoke(l){return new we(await Qe._fetch({...await this.getBaseFapiProxyOptions(),method:"POST",path:`/api_keys/${l.apiKeyID}/revoke`,body:JSON.stringify({revocation_reason:l.revocationReason})}))}}let dc={cache:new Map,listeners:new Map,pendingOperations:new Map,safeGet:(l,m)=>(m.has(l)||m.set(l,new Set),m.get(l)),safeGetOperations(l){return this.pendingOperations.has(l)||this.pendingOperations.set(l,new Map),this.pendingOperations.get(l)}},Xc="completed";function dn(b){let l=b.isStarting||b.isConfirming?"fetching":b.error?"error":"idle",m=b.checkout?.status===Xc?Xc:b.checkout?"needs_confirmation":"needs_initialization";return{...b,fetchStatus:l,status:m}}let eA=Object.freeze(dn({isStarting:!1,isConfirming:!1,error:null,checkout:null}));class sf{#n=!1;load(l){let m=l?.protectConfig;if(m?.loaders&&Array.isArray(m.loaders)&&m.loaders.length!==0&&!this.#n&&D())for(let S of(this.#n=!0,m.loaders))try{this.applyLoader(S)}catch(U){Et(`[protect] failed to apply loader: ${U}`)}}applyLoader(l){if(l.rollout!==void 0){let O=l.rollout;if(typeof O!="number"||O<0)return void Et(`[protect] loader rollout value is invalid: ${O}`);if(O===0||Math.random()>O)return}let m=l.type||"script",S=l.target||"body",U=document.createElement(m);if(l.attributes)for(let[O,M]of Object.entries(l.attributes))switch(typeof M){case"string":case"number":case"boolean":U.setAttribute(O,String(M));break;default:Et(`[protect] loader attribute is invalid type: ${O}=${M}`)}switch(l.textContent&&typeof l.textContent=="string"&&(U.textContent=l.textContent),S){case"head":document.head.appendChild(U);break;case"body":document.body.appendChild(U);break;default:if(S?.startsWith("#")){let O=document.getElementById(S.substring(1));if(!O)return void Et(`[protect] loader target element not found: ${S}`);O.appendChild(U);return}Et(`[protect] loader target is invalid: ${S}`)}}}let lf={"choose-organization":"choose-organization"},uf=b=>`/tasks/${lf[b.key]}`;function ed(b,{navigate:l,baseUrl:m}){let S=b.currentTask;if(S)return l((function(U,O){let M=Ha();return Ri({base:O.base,hashPath:uf(U),searchParams:M},{stringify:!0})})(S,{base:m}))}(it=Xe||(Xe={}))[it.None=0]="None",it[it.Mutable=1]="Mutable",it[it.Watching=2]="Watching",it[it.RecursedCheck=4]="RecursedCheck",it[it.Recursed=8]="Recursed",it[it.Dirty=16]="Dirty",it[it.Pending=32]="Pending";let tA=[],{link:fc,unlink:nu,propagate:bo,checkDirty:Li,endTracking:nA,startTracking:iu,shallowPropagate:iA}=(function({update:b,notify:l,unwatched:m}){let S=0;return{link:function(M,ee){let X,q=ee.depsTail;if(q!==void 0&&q.dep===M)return;if(4&ee.flags&&(X=q!==void 0?q.nextDep:ee.deps)!==void 0&&X.dep===M){X.version=S,ee.depsTail=X;return}let Ae=M.subsTail;if(Ae!==void 0&&Ae.version===S&&Ae.sub===ee)return;let ve=ee.depsTail=M.subsTail={version:S,dep:M,sub:ee,prevDep:q,nextDep:X,prevSub:Ae,nextSub:void 0};X!==void 0&&(X.prevDep=ve),q!==void 0?q.nextDep=ve:ee.deps=ve,Ae!==void 0?Ae.nextSub=ve:M.subs=ve},unlink:U,propagate:function(M){let ee,X=M.nextSub;e:for(;;){let q=M.sub,Ae=q.flags;if(3&Ae&&(60&Ae?12&Ae?4&Ae?!(48&Ae)&&(function(ve,Se){let Oe=Se.depsTail;if(Oe!==void 0){let ze=Se.deps;do{if(ze===ve)return!0;if(ze===Oe)break;ze=ze.nextDep}while(ze!==void 0)}return!1})(M,q)?(q.flags=40|Ae,Ae&=1):Ae=0:q.flags=-9&Ae|32:Ae=0:q.flags=32|Ae,2&Ae&&l(q),1&Ae)){let ve=q.subs;if(ve!==void 0){M=ve,ve.nextSub!==void 0&&(ee={value:X,prev:ee},X=M.nextSub);continue}}if((M=X)!==void 0){X=M.nextSub;continue}for(;ee!==void 0;)if(M=ee.value,ee=ee.prev,M!==void 0){X=M.nextSub;continue e}break}},checkDirty:function(M,ee){let X,q=0;e:for(;;){let Ae=M.dep,ve=Ae.flags,Se=!1;if(16&ee.flags)Se=!0;else if((17&ve)==17){if(b(Ae)){let Oe=Ae.subs;Oe.nextSub!==void 0&&O(Oe),Se=!0}}else if((33&ve)==33){(M.nextSub!==void 0||M.prevSub!==void 0)&&(X={value:M,prev:X}),M=Ae.deps,ee=Ae,++q;continue}if(!Se&&M.nextDep!==void 0){M=M.nextDep;continue}for(;q;){--q;let Oe=ee.subs,ze=Oe.nextSub!==void 0;if(ze?(M=X.value,X=X.prev):M=Oe,Se){if(b(ee)){ze&&O(Oe),ee=M.sub;continue}}else ee.flags&=-33;if(ee=M.sub,M.nextDep!==void 0){M=M.nextDep;continue e}Se=!1}return Se}},endTracking:function(M){let ee=M.depsTail,X=ee!==void 0?ee.nextDep:M.deps;for(;X!==void 0;)X=U(X,M);M.flags&=-5},startTracking:function(M){++S,M.depsTail=void 0,M.flags=-57&M.flags|4},shallowPropagate:O};function U(M,ee=M.sub){let X=M.dep,q=M.prevDep,Ae=M.nextDep,ve=M.nextSub,Se=M.prevSub;return Ae!==void 0?Ae.prevDep=q:ee.depsTail=q,q!==void 0?q.nextDep=Ae:ee.deps=Ae,ve!==void 0?ve.prevSub=Se:X.subsTail=Se,Se!==void 0?Se.nextSub=ve:(X.subs=ve)===void 0&&m(X),Ae}function O(M){do{let ee=M.sub,X=M.nextSub,q=ee.flags;(48&q)==32&&(ee.flags=16|q,2&q&&l(ee)),M=X}while(M!==void 0)}})({update:b=>"getter"in b?rA(b):aA(b,b.value),notify:function b(l){let m=l.flags;if(!(64&m)){l.flags=64|m;let S=l.subs;S!==void 0?b(S.sub):tA[td++]=l}},unwatched(b){if("getter"in b){let l=b.deps;if(l!==void 0){b.flags=17;do l=nu(l,b);while(l!==void 0)}}else"previousValue"in b||Ya.call(b)}}),Za=0,td=0;function _l(b){let l=y;return y=b,l}function hs(b){return Qg.bind({previousValue:b,value:b,subs:void 0,subsTail:void 0,flags:1})}function Bl(b){return Tn.bind({value:void 0,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:17,getter:b})}function cf(b){let l={fn:b,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};y!==void 0?fc(l,y):I!==void 0&&fc(l,I);let m=_l(l);try{l.fn()}finally{_l(m)}return Ya.bind(l)}function rA(b){let l=_l(b);iu(b);try{let m=b.value;return m!==(b.value=b.getter(m))}finally{_l(l),nA(b)}}function aA(b,l){return b.flags=1,b.previousValue!==(b.previousValue=l)}function Tn(){let b=this.flags;if(16&b||32&b&&Li(this.deps,this)){if(rA(this)){let l=this.subs;l!==void 0&&iA(l)}}else 32&b&&(this.flags=-33&b);return y!==void 0?fc(this,y):I!==void 0&&fc(this,I),this.value}function Qg(...b){if(b.length){let l=b[0];if(this.value!==(this.value=l)){this.flags=17;let m=this.subs;m!==void 0&&(bo(m),(function(){for(;Za<td;){let S=tA[Za];tA[Za++]=void 0,(function U(O,M){if(16&M||32&M&&Li(O.deps,O)){let X=_l(O);iu(O);try{O.fn()}finally{_l(X),nA(O)}return}32&M&&(O.flags=-33&M);let ee=O.deps;for(;ee!==void 0;){let X=ee.dep,q=X.flags;64&q&&U(X,X.flags=-65&q),ee=ee.nextDep}})(S,S.flags&=-65)}Za=0,td=0})())}}else{let l=this.value;if(16&this.flags&&aA(this,l)){let m=this.subs;m!==void 0&&iA(m)}return y!==void 0&&fc(this,y),l}}function Ya(){let b=this.deps;for(;b!==void 0;)b=nu(b,this);let l=this.subs;l!==void 0&&nu(l),this.flags=0}let nd=hs({resource:null}),pc=hs({error:null}),ho=hs({status:"idle"}),zu=Bl(()=>{let b=nd().resource,l=pc().error,m=ho().status;return{errors:oA(l,{identifier:null,password:null,code:null}),fetchStatus:m,signIn:b?b.__internal_future:null}}),Mu=hs({resource:null}),id=hs({error:null}),hc=hs({status:"idle"}),fp=Bl(()=>{let b=Mu().resource,l=id().error,m=hc().status;return{errors:oA(l,{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null}),fetchStatus:m,signUp:b?b.__internal_future:null}});function oA(b,l){let m={fields:{...l},raw:null,global:null};return b&&(Ee(b)?b.errors.some(S=>"meta"in S&&S.meta&&"paramName"in S.meta)?b.errors.forEach(S=>{if(m.raw?m.raw.push(S):m.raw=[S],"meta"in S&&S.meta&&"paramName"in S.meta){let U=ki(S.meta.paramName);U in m.fields&&(m.fields[U]=S)}}):(m.raw=[b],m.global=[Jn(b)]):(m.raw=[b],m.global=[Jn(b)])),m}class Vs{signInResourceSignal=nd;signInErrorSignal=pc;signInFetchSignal=ho;signInSignal=zu;signUpResourceSignal=Mu;signUpErrorSignal=id;signUpFetchSignal=hc;signUpSignal=fp;__internal_effect=cf;__internal_computed=Bl;constructor(){xi.on("resource:update",this.onResourceUpdated),xi.on("resource:error",this.onResourceError),xi.on("resource:fetch",this.onResourceFetch)}onResourceError=l=>{l.resource instanceof Fn&&this.signInErrorSignal({error:l.error}),l.resource instanceof A&&this.signUpErrorSignal({error:l.error})};onResourceUpdated=l=>{l.resource instanceof Fn&&this.signInResourceSignal({resource:l.resource}),l.resource instanceof A&&this.signUpResourceSignal({resource:l.resource})};onResourceFetch=l=>{l.resource instanceof Fn&&this.signInFetchSignal({status:l.status}),l.resource instanceof A&&this.signUpFetchSignal({status:l.status})}}let ru=b=>`\u{1F512} Clerk:
369
- ${b.trim()}
370
- (This notice only appears in development)`,$i={cannotRenderComponentWhenSessionExists:"The <SignUp/> and <SignIn/> components cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the Home URL instead.",cannotRenderSignUpComponentWhenSessionExists:"The <SignUp/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the value set in `afterSignUp` URL instead.",cannotRenderSignUpComponentWhenTaskExists:"The <SignUp/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenTaskDoesNotExist:"<TaskChooseOrganization/> cannot render unless a session task is pending. Clerk is redirecting to the value set in `redirectUrlComplete` instead.",cannotRenderSignInComponentWhenSessionExists:"The <SignIn/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the `afterSignIn` URL instead.",cannotRenderSignInComponentWhenTaskExists:"The <SignIn/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenUserDoesNotExist:"<UserProfile/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderComponentWhenOrgDoesNotExist:"<OrganizationProfile/> cannot render unless an organization is active. Since no organization is currently active, this is no-op.",cannotRenderAnyOrganizationComponent:b=>ru(`The <${b}/> cannot be rendered when the feature is turned off. Visit 'dashboard.clerk.com' to enable the feature. Since the feature is turned off, this is no-op.`),cannotRenderAnyBillingComponent:b=>ru(`The <${b}/> component cannot be rendered when billing is disabled. Visit 'https://dashboard.clerk.com/last-active?path=billing/settings' to follow the necessary steps to enable billing. Since billing is disabled, this is no-op.`),cannotOpenUserProfile:"The UserProfile modal cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenCheckout:"The Checkout drawer cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenSignInOrSignUp:"The SignIn or SignUp modals do not render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, this is no-op.",cannotRenderAPIKeysComponent:"The <APIKeys/> component cannot be rendered when API keys are disabled. Since API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForUserWhenDisabled:"The <APIKeys/> component cannot be rendered when user API keys are disabled. Since user API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenDisabled:"The <APIKeys/> component cannot be rendered when organization API keys are disabled. Since organization API keys are disabled, this is no-op."};for(let b of Object.keys($i)){let l=$i[b];typeof l!="function"&&($i[b]=ru(l))}let gc="cannot_render_billing_disabled",Lu="cannot_render_user_missing",go="cannot_render_organizations_disabled",sA="cannot_render_organization_missing",Af="cannot_render_single_session_enabled",Vo={polling:!0,standardBrowser:!0,touchSession:!0,isSatellite:!1,signInUrl:void 0,signUpUrl:void 0,afterSignOutUrl:void 0,signInFallbackRedirectUrl:void 0,signUpFallbackRedirectUrl:void 0,signInForceRedirectUrl:void 0,signUpForceRedirectUrl:void 0,newSubscriptionRedirectUrl:void 0};class vr{static mountComponentRenderer;static version="5.109.2";static sdkMetadata={name:"@clerk/clerk-js",version:"5.109.2"};static _billing;static _apiKeys;_checkout;client;session;organization;user;__internal_country;telemetry;__internal_state=new Vs;internal_last_error=null;environment;#n;#r="";#i;#s;#o;#d;#A;#c=null;#e;#l;#a;#g="loading";#f=[];#p=[];#t={};#v=null;#C=0;#u=ce();get __internal_queryClient(){return this.#n||u.e("437").then(u.bind(u,1522)).then(l=>l.QueryClient).then(l=>{this.#n||(this.#n=new l,this.#u.emit("queryClientStatus","ready"))}),this.#n?{__tag:"clerk-rq-client",client:this.#n}:void 0}__internal_getCachedResources;__internal_createPublicCredentials;__internal_getPublicCredentials;__internal_isWebAuthnSupported;__internal_isWebAuthnAutofillSupported;__internal_isWebAuthnPlatformAuthenticatorSupported;__internal_setActiveInProgress=!1;get publishableKey(){return this.#r}get version(){return vr.version}set sdkMetadata(l){vr.sdkMetadata=l}get sdkMetadata(){return vr.sdkMetadata}get loaded(){return this.status==="degraded"||this.status==="ready"}get status(){return this.#g}get isSatellite(){return!!ae()&&_t(this.#t.isSatellite,new URL(window.location.href),!1)}get domain(){if(ae()){let l=(function(m=""){return(m||"").replace(/^.+:\/\//,"")})(_t(this.#i,new URL(window.location.href)));if(this.#a==="production"){let m;if(!l)return"";if(l.match(/^(clerk\.)+\w*$/))m=/(clerk\.)*(?=clerk\.)/;else{if(l.match(/\.clerk.accounts/))return l;m=/^(clerk\.)*/gi}return`clerk.${l.replace(m,"")}`}return l}return""}get proxyUrl(){if(ae()){let l=_t(this.#s,new URL(window.location.href));return!l||Dr(l)||Ii(l)||Wt.throwInvalidProxyUrl({url:l}),l?Ii(l)?new URL(l,window.location.origin).toString():l:""}return""}get frontendApi(){let l=Vn(this.publishableKey);return l?l.frontendApi:Wt.throwInvalidPublishableKeyError({key:this.publishableKey})}get instanceType(){return this.#a}get isStandardBrowser(){return this.#t.standardBrowser||!1}get billing(){return vr._billing||(vr._billing=new ar),vr._billing}get apiKeys(){return vr._apiKeys||(vr._apiKeys=new Fu),vr._apiKeys}__experimental_checkout(l){return this._checkout||(this._checkout=m=>(function(S,U){let{for:O,planId:M,planPeriod:ee}=U;if(!S.isSignedIn||!S.user)throw Error("Clerk: User is not authenticated");if(O==="organization"&&!S.organization)throw Error("Clerk: Use `setActive` to set the organization");let X=(function(q){let Ae=dc.safeGet(q,dc.listeners),ve=dc.safeGetOperations(q),Se=()=>dc.cache.get(q)||eA,Oe=ze=>{let rt=dn({...Se(),...ze});dc.cache.set(q,Object.freeze(rt)),Ae.forEach(Ct=>Ct(Se()))};return{subscribe:ze=>(Ae.add(ze),()=>{Ae.delete(ze)}),getCacheState:Se,async executeOperation(ze,rt){let Ct=`${q}-${ze}`,Je=ze==="start"?"isStarting":"isConfirming",yt=ve.get(Ct);if(yt)return await yt;let Bt=(async()=>{let an=null,Qn=null;try{Oe({[Je]:!0,error:null,...ze==="start"?{checkout:null}:{}});let nn=await rt();Oe({[Je]:!1,error:null,checkout:nn}),an=nn}catch(nn){Qn=nn,Oe({[Je]:!1,error:nn})}finally{ve.delete(Ct)}return{data:an,error:Qn}})();return ve.set(Ct,Bt),Bt},clearCheckout(){ve.size===0&&Oe(eA)}}})((function(q){let{userId:Ae,orgId:ve,planId:Se,planPeriod:Oe}=q;return`${Ae}-${ve||"user"}-${Se}-${Oe}`})({userId:S.user.id,orgId:O==="organization"?S.organization?.id:void 0,planId:M,planPeriod:ee}));return{start:async()=>X.executeOperation("start",async()=>await S.billing?.startCheckout({...O==="organization"?{orgId:S.organization?.id}:{},planId:M,planPeriod:ee})),confirm:async q=>X.executeOperation("confirm",async()=>{let Ae=X.getCacheState().checkout;if(!Ae)throw Error("Clerk: Call `start` before `confirm`");return Ae.confirm(q)}),finalize:q=>{let{navigate:Ae}=q||{};return S.setActive({session:S.session?.id,navigate:Ae})},clear:()=>X.clearCheckout(),subscribe:q=>X.subscribe(q),getState:X.getCacheState}})(this,m)),this._checkout(l)}__internal_getOption(l){return this.#t[l]}get isSignedIn(){return this?.session?.status!=="pending"&&!!this.session}constructor(l,m){if(!(l=(l||"").trim()))return Wt.throwMissingPublishableKeyError();let S=Vn(l);if(!S)return Wt.throwInvalidPublishableKeyError({key:l});this.#i=m?.domain,this.#s=m?.proxyUrl,this.environment=Er.getInstance(),this.#a=S.instanceType,this.#r=l,this.#l=(function(U){let O=[],M=[];async function ee(Se){for await(let Oe of[typeof window<"u"&&window.__unstable__onBeforeRequest,...O].filter(ze=>ze))if(await Oe(Se)===!1)return!1;return!0}async function X(Se,Oe){for await(let ze of[typeof window<"u"&&window.__unstable__onAfterResponse,...M].filter(rt=>rt))if(await ze(Se,Oe)===!1)return!1;return!0}function q({method:Se,path:Oe,sessionId:ze,search:rt,rotatingTokenNonce:Ct}){let Je=new URLSearchParams(rt);return Je.append("__clerk_api_version","2025-11-10"),Je.append("_clerk_js_version","5.109.2"),Ct&&Je.append("rotating_token_nonce",Ct),U.domain&&U.instanceType==="development"&&U.isSatellite&&Je.append("__domain",U.domain),Se&&Se!=="GET"&&Se!=="POST"&&Je.append("_method",Se),Oe&&!Js.some(yt=>Oe.startsWith(yt))&&ze&&Je.append("_clerk_session_id",ze),so([...Je.entries()].reduce((yt,[Bt,an])=>(yt[Bt]=an.includes(",")?an.split(","):an,yt),{}))}function Ae(Se){let{path:Oe,pathPrefix:ze="v1"}=Se;if(U.proxyUrl){let Ct=new URL(U.proxyUrl),Je=Ct.pathname.slice(1);return Je.endsWith("/")&&(Je=Je.slice(0,-1)),Ri({base:Ct.origin,pathname:`${Je}/${ze}${Oe}`,search:q(Se)},{stringify:!1})}let rt=U.instanceType==="production"?U.domain:"";return Ri({base:`https://${rt||U.frontendApi}`,pathname:`${ze}${Oe}`,search:q(Se)},{stringify:!1})}async function ve(Se,Oe){let ze,rt={...Se},{method:Ct="GET",body:Je}=rt;!Je||typeof Je!="object"||Je instanceof FormData||(rt.body=(function(Kt){if(!Kt||typeof Kt!="object"||Object.getPrototypeOf(Kt)!==Object.prototype)return Kt;let fn={};for(let[zn,Ni]of Object.entries(Kt))Ni!==void 0&&(fn[zn]=Ni);return fn})(Je)),rt.url=Ae({...rt,sessionId:U.getSessionId()}),rt.headers=new Headers(rt.headers),Ct==="GET"||Je instanceof FormData||rt.headers.has("content-type")||rt.headers.set("content-type","application/x-www-form-urlencoded"),rt.headers.get("content-type")==="application/x-www-form-urlencoded"&&(rt.body=Je&&so(Je,{keyEncoder:br}));let yt=await ee(rt),Bt=Ct==="GET"?"GET":"POST",an=rt.url,Qn={...rt,method:Bt,credentials:rt.credentials||"include"};try{if(yt){let Kt=Oe?.fetchMaxTries??(V()?4:11);ze=await Rs(()=>fetch(an,Qn),{retryImmediately:!0,initialDelay:700,maxDelayBetweenRetries:5e3,shouldRetry:(fn,zn)=>Bt==="GET"&&zn<Kt,onBeforeRetry:fn=>{an.searchParams.set("_clerk_retry_attempt",fn.toString())}})}else ze=new Response("{}",rt)}catch(Kt){let fn=an.toString();throw cn.error("network error",{error:Kt,url:fn,method:Ct},"fapiClient"),Error(`${Mi} Network error at "${fn}" - ${Kt}. Please try again.`)}let nn=ze.status!==204?await ze.json():null,Yt=Object.assign(ze,{payload:nn});return ze.ok||cn.error("request failed",{method:Ct,path:rt.path,status:ze.status},"fapiClient"),await X(rt,Yt),Yt}return{buildEmailAddress:function(Se){return(function({localPart:Oe,frontendApi:ze}){let rt=ze?ze.replace("clerk.",""):"clerk.com";return`${Oe}@${rt}`})({localPart:Se,frontendApi:U.frontendApi})},buildUrl:Ae,onAfterResponse:function(Se){M.push(Se)},onBeforeRequest:function(Se){O.push(Se)},request:ve}})({domain:this.domain,frontendApi:this.frontendApi,instanceType:this.instanceType,isSatellite:this.isSatellite,getSessionId:()=>this.session?.id,proxyUrl:this.proxyUrl}),this.#u.emit(xe,"loading"),this.#u.prioritizedOn(xe,U=>this.#g=U),Qe.clerk=this,this.#d=new sf}getFapiClient=()=>this.#l;load=async l=>{if(cn.info("load() start",{},"clerk"),!this.loaded){if(this.#a==="development"&&Et("Clerk: Clerk has been loaded with development keys. Development instances have strict usage limits and should not be used when deploying your application to production. Learn more: https://clerk.com/docs/deployments/overview"),this.#t=this.#D(l),this.#a==="development"&&(this.#t.routerPush||this.#t.routerReplace)&&(!this.#t.routerPush||!this.#t.routerReplace)){let m=this.#t.routerPush?"routerReplace":"routerPush";Et(`Clerk: Both \`routerPush\` and \`routerReplace\` need to be defined, but \`${m}\` is not defined. This may cause issues with navigation in your application.`)}xi.on(ml,()=>{this.#m(this.session),this.#h()}),Da(this.#t),this.#t.sdkMetadata&&(vr.sdkMetadata=this.#t.sdkMetadata),this.#t.telemetry!==!1&&(this.telemetry=new Vr({clerkVersion:vr.version,samplingRate:1,perEventSampling:!this.#t.__internal_keyless_claimKeylessApplicationUrl&&void 0,publishableKey:this.publishableKey,...this.#t.telemetry}),this.#t.appearance&&this.telemetry.record({event:"THEME_USAGE",eventSamplingRate:1,payload:(function(m){let S;if(!m||typeof m!="object")return{};let U=m.theme||m.baseTheme;if(!U)return{};if(Array.isArray(U))for(let O of U){let M=je(O);if(M){S=M;break}}else S=je(U);return{themeName:S}})(this.#t.appearance)}));try{this.#t.standardBrowser?await this.#U():await this.#k();let m=this.#t.telemetry,S=m!==!1&&!m?.disabled,U=!!this.#t.__internal_keyless_claimKeylessApplicationUrl,O=!!this.environment?.clientDebugMode,M=this.environment?.isProduction?.()??!1,ee=O||U&&!M,X=U&&!O?"error":void 0;ee&&(function(q={}){if(rn)return;let{enabled:Ae=!1,...ve}=q;Ae&&($t=!0,rn=!0,_o(ve))})({enabled:!0,...X?{logLevel:X}:{},...S&&this.telemetry?{telemetryCollector:this.telemetry}:{}}),this.#d?.load(this.environment),cn.info("load() complete",{},"clerk")}catch(m){throw this.#u.emit(xe,"error"),cn.error("load() failed",{error:m},"clerk"),m}}};#E(){let l;return!!(!this.#t.signUpUrl&&this.#t.signInUrl&&(l=this.#t.signInUrl,!ot.test(l)))}signOut=async(l,m)=>{if(!this.client||this.client.sessions.length===0)return;let S=typeof window<"u"&&typeof window.__unstable__onBeforeSetActive=="function"?window.__unstable__onBeforeSetActive:xt,U=typeof window<"u"&&typeof window.__unstable__onAfterSetActive=="function"?window.__unstable__onAfterSetActive:xt,O=l&&typeof l=="object"?l:m||{},M=O?.redirectUrl||this.buildAfterSignOutUrl();cn.debug("signOut() start",{hasClient:!!this.client,multiSessionCount:this.client?.signedInSessions.length??0,redirectUrl:M,sessionTarget:O?.sessionId??null},"clerk");let ee=typeof l=="function"?l:void 0,X=async()=>{let ve=ll(this.#t.standardBrowser);xi.emit(Ho,null),this.#y(),await ve.track(async()=>{ee?await ee():await this.navigate(M)}),ve.isUnloading()||(this.#m(),this.#h(),await U())};if(await S(),!O.sessionId||this.client.signedInSessions.length===1){this.#t.experimental?.persistClient??!0?await this.client.removeSessions():await this.client.destroy(),await X(),cn.info("signOut() complete",{redirectUrl:Zr(M)},"clerk");return}let q=this.client.signedInSessions.find(ve=>ve.id===O.sessionId),Ae=q?.id&&this.session?.id===q.id;await q?.remove(),Ae&&(await X(),cn.info("signOut() complete",{redirectUrl:Zr(M)},"clerk"))};openGoogleOneTap=l=>{let m="GoogleOneTap";this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:m}).then(S=>S.openModal("googleOneTap",l||{})),this.telemetry?.record(ue(m,l))};closeGoogleOneTap=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("googleOneTap"))};openSignIn=l=>{if(this.assertComponentsReady(this.#e),Ul(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotOpenSignInOrSignUp,{code:Af});return}let m="SignIn";this.#e.ensureMounted({preloadHint:m}).then(U=>U.openModal("signIn",l||{}));let S={withSignUp:l?.withSignUp??this.#E()};this.telemetry?.record(ue(m,l,S))};closeSignIn=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("signIn"))};__internal_openCheckout=l=>{if(this.assertComponentsReady(this.#e),oo(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyBillingComponent("Checkout"),{code:gc});return}if(!this.user){if(this.#a==="development")throw new Ue($i.cannotOpenCheckout,{code:Lu});return}this.#e.ensureMounted({preloadHint:"Checkout"}).then(m=>m.openDrawer("checkout",l||{}))};__internal_closeCheckout=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeDrawer("checkout"))};__internal_openPlanDetails=l=>{if(this.assertComponentsReady(this.#e),oo(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyBillingComponent("PlanDetails"),{code:gc});return}let m="PlanDetails";this.#e.ensureMounted({preloadHint:m}).then(S=>S.openDrawer("planDetails",l||{})),this.telemetry?.record(ue(m,l))};__internal_closePlanDetails=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeDrawer("planDetails"))};__internal_openSubscriptionDetails=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"SubscriptionDetails"}).then(m=>m.openDrawer("subscriptionDetails",l||{}))};__internal_closeSubscriptionDetails=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeDrawer("subscriptionDetails"))};__internal_openReverification=l=>{if(this.assertComponentsReady(this.#e),!this.user){if(this.#a==="development")throw new Ue($i.cannotOpenUserProfile,{code:Lu});return}this.#e.ensureMounted({preloadHint:"UserVerification"}).then(m=>m.openModal("userVerification",l||{})),this.telemetry?.record(ue("UserVerification",l))};__internal_closeReverification=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("userVerification"))};__internal_openBlankCaptchaModal=()=>(this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"BlankCaptchaModal"}).then(l=>l.openModal("blankCaptcha",{})));__internal_closeBlankCaptchaModal=()=>(this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"BlankCaptchaModal"}).then(l=>l.closeModal("blankCaptcha")));__internal_loadStripeJs=async()=>{let{loadStripe:l}=await u.e("553").then(u.bind(u,8823));return l};openSignUp=l=>{if(this.assertComponentsReady(this.#e),Ul(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotOpenSignInOrSignUp,{code:Af});return}this.#e.ensureMounted({preloadHint:"SignUp"}).then(m=>m.openModal("signUp",l||{})),this.telemetry?.record(ue("SignUp",l))};closeSignUp=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("signUp"))};openUserProfile=l=>{if(this.assertComponentsReady(this.#e),!this.user){if(this.#a==="development")throw new Ue($i.cannotOpenUserProfile,{code:Lu});return}this.#e.ensureMounted({preloadHint:"UserProfile"}).then(S=>S.openModal("userProfile",l||{}));let m=(l?.customPages?.length||0)>0?{customPages:!0}:void 0;this.telemetry?.record(ue("UserProfile",l,m))};closeUserProfile=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("userProfile"))};openOrganizationProfile=l=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("OrganizationProfile"),{code:go});return}if(!this.organization){if(this.#a==="development")throw new Ue($i.cannotRenderComponentWhenOrgDoesNotExist,{code:sA});return}this.#e.ensureMounted({preloadHint:"OrganizationProfile"}).then(m=>m.openModal("organizationProfile",l||{})),this.telemetry?.record(ue("OrganizationProfile",l))};closeOrganizationProfile=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("organizationProfile"))};openCreateOrganization=l=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("CreateOrganization"),{code:go});return}this.#e.ensureMounted({preloadHint:"CreateOrganization"}).then(m=>m.openModal("createOrganization",l||{})),this.telemetry?.record(ue("CreateOrganization",l))};closeCreateOrganization=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("createOrganization"))};openWaitlist=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"Waitlist"}).then(m=>m.openModal("waitlist",l||{})),this.telemetry?.record(ue("Waitlist",l))};closeWaitlist=()=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(l=>l.closeModal("waitlist"))};mountSignIn=(l,m)=>{this.assertComponentsReady(this.#e);let S="SignIn";this.#e.ensureMounted({preloadHint:S}).then(O=>O.mountComponent({name:S,appearanceKey:"signIn",node:l,props:m}));let U={withSignUp:m?.withSignUp??this.#E()};this.telemetry?.record(F(S,m,U))};unmountSignIn=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountUserAvatar=(l,m)=>{this.assertComponentsReady(this.#e);let S="UserAvatar";this.#e.ensureMounted({preloadHint:S}).then(U=>U.mountComponent({name:S,appearanceKey:"userAvatar",node:l,props:m})),this.telemetry?.record(F(S,m))};unmountUserAvatar=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountSignUp=(l,m)=>{this.assertComponentsReady(this.#e);let S="SignUp";this.#e.ensureMounted({preloadHint:S}).then(U=>U.mountComponent({name:S,appearanceKey:"signUp",node:l,props:m})),this.telemetry?.record(F(S,m))};unmountSignUp=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountUserProfile=(l,m)=>{if(this.assertComponentsReady(this.#e),!this.user){if(this.#a==="development")throw new Ue($i.cannotRenderComponentWhenUserDoesNotExist,{code:Lu});return}let S="UserProfile";this.#e.ensureMounted({preloadHint:S}).then(O=>O.mountComponent({name:S,appearanceKey:"userProfile",node:l,props:m}));let U=(m?.customPages?.length||0)>0?{customPages:!0}:void 0;this.telemetry?.record(F(S,m,U))};unmountUserProfile=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountOrganizationProfile=(l,m)=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("OrganizationProfile"),{code:go});return}let S=!!this.user;if(!this.organization&&S){if(this.#a==="development")throw new Ue($i.cannotRenderComponentWhenOrgDoesNotExist,{code:sA});return}this.#e.ensureMounted({preloadHint:"OrganizationProfile"}).then(U=>U.mountComponent({name:"OrganizationProfile",appearanceKey:"userProfile",node:l,props:m})),this.telemetry?.record(F("OrganizationProfile",m))};unmountOrganizationProfile=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountCreateOrganization=(l,m)=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("CreateOrganization"),{code:go});return}this.#e?.ensureMounted({preloadHint:"CreateOrganization"}).then(S=>S.mountComponent({name:"CreateOrganization",appearanceKey:"createOrganization",node:l,props:m})),this.telemetry?.record(F("CreateOrganization",m))};unmountCreateOrganization=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountOrganizationSwitcher=(l,m)=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("OrganizationSwitcher"),{code:go});return}this.#e?.ensureMounted({preloadHint:"OrganizationSwitcher"}).then(S=>S.mountComponent({name:"OrganizationSwitcher",appearanceKey:"organizationSwitcher",node:l,props:m})),this.telemetry?.record(F("OrganizationSwitcher",{...m,forceOrganizationSelection:this.environment?.organizationSettings.forceOrganizationSelection}))};unmountOrganizationSwitcher=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(m=>m.unmountComponent({node:l}))};__experimental_prefetchOrganizationSwitcher=()=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted({preloadHint:"OrganizationSwitcher"}).then(l=>l.prefetch("organizationSwitcher"))};mountOrganizationList=(l,m)=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("OrganizationList"),{code:go});return}this.#e?.ensureMounted({preloadHint:"OrganizationList"}).then(S=>S.mountComponent({name:"OrganizationList",appearanceKey:"organizationList",node:l,props:m})),this.telemetry?.record(F("OrganizationList",{...m,forceOrganizationSelection:this.environment?.organizationSettings.forceOrganizationSelection}))};unmountOrganizationList=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountUserButton=(l,m)=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted({preloadHint:"UserButton"}).then(U=>U.mountComponent({name:"UserButton",appearanceKey:"userButton",node:l,props:m}));let S={...m?.customMenuItems?.length?{customItems:!0}:void 0,...m?.__experimental_asStandalone?{standalone:!0}:void 0};this.telemetry?.record(F("UserButton",m,S))};unmountUserButton=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountWaitlist=(l,m)=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted({preloadHint:"Waitlist"}).then(S=>S.mountComponent({name:"Waitlist",appearanceKey:"waitlist",node:l,props:m})),this.telemetry?.record(F("Waitlist",m))};unmountWaitlist=l=>{this.assertComponentsReady(this.#e),this.#e?.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountPricingTable=(l,m)=>{if(this.assertComponentsReady(this.#e),oo(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyBillingComponent("PricingTable"),{code:gc});return}let S={...m};m?.forOrganizations!==void 0&&Et('Clerk: [IMPORTANT] <PricingTable /> prop `forOrganizations` is deprecated and will be removed in the coming minors. Use `for="organization"` instead.'),this.#e.ensureMounted({preloadHint:"PricingTable"}).then(U=>U.mountComponent({name:"PricingTable",appearanceKey:"pricingTable",node:l,props:S})),this.telemetry?.record(F("PricingTable",S))};unmountPricingTable=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};__internal_mountOAuthConsent=(l,m)=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted({preloadHint:"OAuthConsent"}).then(S=>S.mountComponent({name:"OAuthConsent",appearanceKey:"__internal_oauthConsent",node:l,props:m}))};__internal_unmountOAuthConsent=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountAPIKeys=(l,m)=>{if(this.assertComponentsReady(this.#e),Et("Clerk: <APIKeys /> component is in early access and not yet recommended for production use."),((S,U)=>xs(S,U)&&fi(S,U))(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAPIKeysComponent,{code:"cannot_render_api_keys_disabled"});return}if(this.organization&&fi(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAPIKeysComponentForOrgWhenDisabled,{code:"cannot_render_api_keys_org_disabled"});return}if(xs(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAPIKeysComponentForUserWhenDisabled,{code:"cannot_render_api_keys_user_disabled"});return}this.#e.ensureMounted({preloadHint:"APIKeys"}).then(S=>S.mountComponent({name:"APIKeys",appearanceKey:"apiKeys",node:l,props:m})),this.telemetry?.record(F("APIKeys",m))};unmountAPIKeys=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};mountTaskChooseOrganization=(l,m)=>{if(this.assertComponentsReady(this.#e),_a(this,this.environment)){if(this.#a==="development")throw new Ue($i.cannotRenderAnyOrganizationComponent("TaskChooseOrganization"),{code:go});return}this.#e.ensureMounted({preloadHint:"TaskChooseOrganization"}).then(S=>S.mountComponent({name:"TaskChooseOrganization",appearanceKey:"taskChooseOrganization",node:l,props:m})),this.telemetry?.record(F("TaskChooseOrganization",m))};unmountTaskChooseOrganization=l=>{this.assertComponentsReady(this.#e),this.#e.ensureMounted().then(m=>m.unmountComponent({node:l}))};setActive=async l=>{let{organization:m,beforeEmit:S,redirectUrl:U,navigate:O}=l,{session:M}=l;this.__internal_setActiveInProgress=!0,cn.debug("setActive() start",{hasClient:!!this.client,sessionTarget:typeof M=="string"?M:M?.id??M??null,organizationTarget:typeof m=="string"?m:m?.id??m??null,redirectUrl:U??null},"clerk");try{if(!this.client)throw cn.warn("Clerk setActive called before client is loaded",{},"clerk"),Error("setActive is being called before the client is loaded. Wait for init.");if(M===void 0&&!this.session)throw cn.warn("Clerk setActive precondition not met: no target session and no active session",{},"clerk"),Error("setActive should either be called with a session param or there should be already an active session.");typeof M=="string"&&(M=this.client.sessions.find(Oe=>Oe.id===M)||null);let ee=typeof window<"u"&&typeof window.__unstable__onBeforeSetActive=="function"?window.__unstable__onBeforeSetActive:xt,X=typeof window<"u"&&typeof window.__unstable__onAfterSetActive=="function"?window.__unstable__onAfterSetActive:xt,q=M===void 0?this.session:M;if(q?.status==="pending"&&(function(Oe){let ze=["taskUrls","navigate"];Object.keys(Oe).some(rt=>ze.includes(rt))||Et('Clerk: Session has pending tasks but no handling is configured. To handle pending tasks, provide either "taskUrls" for navigation to custom URLs or "navigate" for programmatic navigation. Without these options, users may get stuck on incomplete flows.')})({...this.#t,...l}),q&&m!==void 0){let Oe=typeof m=="string"?m:m?.id;if((function(ze){return typeof ze=="string"&&ze.startsWith("org_")})(Oe))q.lastActiveOrganizationId=Oe||null;else{let ze=q.user.organizationMemberships.find(Je=>Je.organization.slug===Oe),rt=ze?.organization.id||null,Ct=rt===null;if(this.environment?.organizationSettings?.forceOrganizationSelection&&Ct)return;q.lastActiveOrganizationId=rt}}q?.status!=="pending"&&await ee(q===null?"sign-out":void 0),(ae()&&globalThis.document.hasFocus()||!this.#t.standardBrowser)&&(await this.#I(q),q=this.#_(q?.id)),await q?.getToken()||($()||cn.warn("Token is null when setting active session (offline)",{sessionId:q?.id},"clerk"),xi.emit(zs,{token:null}));let ve=ll(this.#t.standardBrowser);S&&(((Oe,ze,rt)=>{let Ct=(()=>{try{return!0}catch{}return!1})(),Je=rt??Oe;Me.has(Je)||Ct||(Me.add(Je),console.warn(`Clerk - DEPRECATION WARNING: "${Oe}" is deprecated and will be removed in the next major release.
371
- ${ze}`))})("Clerk.setActive({beforeEmit})",'Use the `redirectUrl` property instead. Example `Clerk.setActive({redirectUrl:"/"})`'),await ve.track(async()=>{this.#y(),await S(q)}));let Se=q?.status==="pending"&&q?.currentTask&&this.#t.taskUrls?.[q?.currentTask.key];if(!S&&(U||Se||O)&&await ve.track(async()=>{if(this.client){if(q?.status!=="pending"&&this.#y(),Se){let Oe=U?Ri({base:Se,hashSearchParams:{redirectUrl:U}},{stringify:!0}):Se;await this.navigate(Oe)}else if(O&&q)await O({session:q});else if(U){if(this.client.isEligibleForTouch()){let Oe=new URL(U,window.location.href),ze=this.buildUrlWithAuth(this.client.buildTouchUrl({redirectUrl:Oe}));await this.navigate(ze)}await this.navigate(U)}}}),ve.isUnloading())return;this.#m(q),this.#h(),q?.status!=="pending"&&await X()}finally{this.__internal_setActiveInProgress=!1}};addListener=l=>(l=(function(m){let S;return U=>{var O;S||={...U},m(S={client:tt((O=S).client,U.client),session:tt(O.session,U.session),user:tt(O.user,U.user),organization:tt(O.organization,U.organization)})}})(l),this.#f.push(l),this.client&&l({client:this.client,session:this.session,user:this.user,organization:this.organization}),()=>{this.#f=this.#f.filter(m=>m!==l)});on=(...l)=>{this.#u.on(...l)};off=(...l)=>{this.#u.off(...l)};__internal_addNavigationListener=l=>(this.#p.push(l),()=>{this.#p=this.#p.filter(m=>m!==l)});navigate=async(l,m)=>{if(!l||!ae())return;setTimeout(()=>{this.#z()},0);let S=new URL(l,window.location.href);this.#P.includes(S.protocol)||(console.warn(`Clerk: "${S.protocol}" is not a valid protocol. Redirecting to "/" instead. If you think this is a mistake, please open an issue.`),S=new URL("/",window.location.href));let U=m?.replace&&this.#t.routerReplace?this.#t.routerReplace:this.#t.routerPush;if(cn.info(`Clerk is navigating to: ${S}`),this.#t.routerDebug&&console.log(`Clerk is navigating to: ${S}`),S.origin!=="null"&&S.origin!==window.location.origin||!U)return void Fo(S);let O={...m?.metadata?{__internal_metadata:m?.metadata}:{},windowNavigate:Fo};return await U(Zr(S),O)};buildUrlWithAuth(l){if(this.#a==="production")return l;let m=new URL(l,window.location.origin);return m.origin!==window.location.origin&&this.#o?this.#o.decorateUrlWithDevBrowserToken(m).href:m.href}buildSignInUrl(l){return this.#B("signInUrl",{...l,redirectUrl:l?.redirectUrl||window.location.href},l?.initialValues)}buildSignUpUrl(l){return this.#B("signUpUrl",{...l,redirectUrl:l?.redirectUrl||window.location.href},l?.initialValues)}buildUserProfileUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.userProfileUrl):""}buildHomeUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.homeUrl):""}buildAfterSignInUrl({params:l}={}){return this.buildUrlWithAuth(new St(this.#t,{},l).getAfterSignInUrl())}buildAfterSignUpUrl({params:l}={}){return this.buildUrlWithAuth(new St(this.#t,{},l).getAfterSignUpUrl())}buildAfterSignOutUrl(){return this.#t.afterSignOutUrl?this.buildUrlWithAuth(this.#t.afterSignOutUrl):"/"}buildNewSubscriptionRedirectUrl(){return this.#t.newSubscriptionRedirectUrl?this.#t.newSubscriptionRedirectUrl:this.buildAfterSignInUrl()}buildWaitlistUrl(l){return this.environment&&this.environment.displayConfig?Ri({base:this.#t.waitlistUrl||this.environment.displayConfig.waitlistUrl,hashSearchParams:[new URLSearchParams(l?.initialValues||{})]},{stringify:!0}):""}buildAfterMultiSessionSingleSignOutUrl(){return this.environment?this.#t.afterMultiSessionSingleSignOutUrl?this.buildUrlWithAuth(this.#t.afterMultiSessionSingleSignOutUrl):this.#t.signInUrl?this.buildUrlWithAuth(Ri({base:this.#t.signInUrl,hashPath:"choose"},{stringify:!0})):this.buildUrlWithAuth(this.environment.displayConfig.afterSignOutOneUrl):""}buildCreateOrganizationUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.createOrganizationUrl):""}buildOrganizationProfileUrl(){return this.environment&&this.environment.displayConfig?this.buildUrlWithAuth(this.environment.displayConfig.organizationProfileUrl):""}buildTasksUrl(l){let m=this.session?.currentTask;return m?this.#t.taskUrls?.[m.key]||Ri({base:this.buildSignInUrl(l),hashPath:uf(m)},{stringify:!0}):""}#S=async()=>{if(!ae())return;let l=new URLSearchParams({[ht]:"true"}),m=wi(ft);m&&Dr(m)||(function(){throw Error(`${Mi} Invalid redirect_url. A valid http or https url should be used for the redirection.`)})();let S=Ri({base:wi(ft),searchParams:l},{stringify:!0});return this.navigate(this.buildUrlWithAuth(S))};redirectWithAuth=async l=>{if(ae())return this.navigate(this.buildUrlWithAuth(l))};redirectToSignIn=async l=>{if(ae())return this.navigate(this.buildSignInUrl(l))};redirectToSignUp=async l=>{if(ae())return this.navigate(this.buildSignUpUrl(l))};redirectToUserProfile=async()=>{if(ae())return this.navigate(this.buildUserProfileUrl())};redirectToCreateOrganization=async()=>{if(ae())return this.navigate(this.buildCreateOrganizationUrl())};redirectToOrganizationProfile=async()=>{if(ae())return this.navigate(this.buildOrganizationProfileUrl())};redirectToAfterSignIn=async()=>{if(ae())return this.navigate(this.buildAfterSignInUrl())};redirectToAfterSignUp=async()=>{if(ae())return this.navigate(this.buildAfterSignUpUrl())};redirectToAfterSignOut=async()=>{if(ae())return this.navigate(this.buildAfterSignOutUrl())};redirectToWaitlist=async()=>{if(ae())return this.navigate(this.buildWaitlistUrl())};redirectToTasks=async l=>{if(ae())return this.navigate(this.buildTasksUrl(l))};handleEmailLinkVerification=async(l,m)=>{if(!this.client)return;let S=wi("__clerk_status");if(S==="expired")throw new Ht(Ki.Expired);if(S==="client_mismatch")throw new Ht(Ki.ClientMismatch);if(S!=="verified")throw new Ht(Ki.Failed);let U=wi("__clerk_created_session"),{signIn:O,signUp:M,sessions:ee}=this.client,X=ee.some(Se=>Se.id===U),q=O.status==="needs_second_factor"||M.status==="missing_requirements",Ae=Se=>m&&typeof m=="function"?m(Se):this.navigate(Se),ve=l.redirectUrl?()=>Ae(l.redirectUrl):xt;return X?this.setActive({session:U,redirectUrl:l.redirectUrlComplete}):q?ve():(typeof l.onVerifiedOnOtherDevice=="function"&&l.onVerifiedOnOtherDevice(),null)};handleGoogleOneTapCallback=async(l,m,S)=>{if(!this.loaded||!this.environment||!this.client)return;let{signIn:U,signUp:O}=this.client,M="identifier"in(l||{})?l:U,ee="missingFields"in(l||{})?l:O,X=q=>S&&typeof S=="function"?S(this.buildUrlWithAuth(q)):this.navigate(this.buildUrlWithAuth(q));return this._handleRedirectCallback(m,{signUp:ee,signIn:M,navigate:X})};_handleRedirectCallback=async(l,{signIn:m,signUp:S,navigate:U})=>{if(!this.loaded||!this.environment||!this.client)return;if(!window.opener&&l.reloadResource)try{l.reloadResource==="signIn"?await m.reload():l.reloadResource==="signUp"&&await S.reload()}catch{}let{displayConfig:O}=this.environment,{firstFactorVerification:M}=m,{externalAccount:ee}=S.verifications,X={status:S.status,missingFields:S.missingFields,externalAccountStatus:ee.status,externalAccountErrorCode:ee.error?.code,externalAccountSessionId:ee.error?.meta?.sessionId,sessionId:S.createdSessionId},q={status:m.status,firstFactorVerificationStatus:M.status,firstFactorVerificationErrorCode:M.error?.code,firstFactorVerificationSessionId:M.error?.meta?.sessionId,sessionId:m.createdSessionId},Ae=zn=>()=>U(zn),ve=Ae(l.signInUrl||O.signInUrl),Se=Ae(l.signUpUrl||O.signUpUrl),Oe=Ae(l.firstFactorUrl||Ri({base:O.signInUrl,hashPath:"/factor-one"},{stringify:!0})),ze=Ae(l.secondFactorUrl||Ri({base:O.signInUrl,hashPath:"/factor-two"},{stringify:!0})),rt=Ae(l.resetPasswordUrl||Ri({base:O.signInUrl,hashPath:"/reset-password"},{stringify:!0})),Ct=new St(this.#t,l),Je=Ae(l.continueSignUpUrl||Ri({base:O.signUpUrl,hashPath:"/continue"},{stringify:!0})),yt=({missingFields:zn})=>zn.length?Je():(({signUp:Ni,verifyEmailPath:au,verifyPhonePath:mc,continuePath:Ec,navigate:ou,handleComplete:lA,redirectUrl:Dl="",redirectUrlComplete:Wi="",oidcPrompt:qa})=>{if(Ni.status==="complete")return lA&&lA();if(Ni.status==="missing_requirements"){if(Ni.missingFields.some(gs=>gs==="saml"||gs==="enterprise_sso"))return Ni.authenticateWithRedirect({strategy:"enterprise_sso",redirectUrl:Dl,redirectUrlComplete:Wi,continueSignUp:!0,oidcPrompt:qa});let si=Ha();if(Ni.unverifiedFields?.includes("email_address")&&au)return ou(au,{searchParams:si});if(Ni.unverifiedFields?.includes("phone_number")&&mc)return ou(mc,{searchParams:si});if(Ec)return ou(Ec,{searchParams:si})}})({signUp:S,verifyEmailPath:l.verifyEmailAddressUrl||Ri({base:O.signUpUrl,hashPath:"/verify-email-address"},{stringify:!0}),verifyPhonePath:l.verifyPhoneNumberUrl||Ri({base:O.signUpUrl,hashPath:"/verify-phone-number"},{stringify:!0}),navigate:U}),Bt=l.signInUrl||O.signInUrl,an=l.signUpUrl||O.signUpUrl,Qn=async({session:zn,baseUrl:Ni,redirectUrl:au})=>{if(!zn.currentTask)return void await this.navigate(au);await ed(zn,{baseUrl:Ni,navigate:this.navigate})};if(q.status==="complete")return this.setActive({session:q.sessionId,navigate:async({session:zn})=>{await Qn({session:zn,baseUrl:Bt,redirectUrl:Ct.getAfterSignInUrl()})}});if(X.externalAccountStatus==="transferable"&&X.externalAccountErrorCode==="external_account_exists"){let zn=await m.create({transfer:!0});switch(zn.status){case"complete":return this.setActive({session:zn.createdSessionId,navigate:async({session:Ni})=>{await Qn({session:Ni,baseUrl:an,redirectUrl:Ct.getAfterSignInUrl()})}});case"needs_first_factor":return Oe();case"needs_second_factor":return ze();case"needs_new_password":return rt();default:as("sign in")}}let nn=X.externalAccountErrorCode==="user_locked",Yt=q.firstFactorVerificationErrorCode==="user_locked";if(nn)return Se();if(Yt)return ve();if(q.status==="needs_first_factor"&&!m.supportedFirstFactors?.every(zn=>zn.strategy==="enterprise_sso"))return Oe();if(q.status==="needs_new_password")return rt();if(q.firstFactorVerificationStatus==="transferable"){if(l.transferable===!1)return ve();let zn=await S.create({transfer:!0});switch(zn.status){case"complete":return this.setActive({session:zn.createdSessionId,navigate:async({session:Ni})=>{await Qn({session:Ni,baseUrl:an,redirectUrl:Ct.getAfterSignUpUrl()})}});case"missing_requirements":return yt({missingFields:zn.missingFields});default:as("sign in")}}if(X.status==="complete")return this.setActive({session:X.sessionId,navigate:async({session:zn})=>{await Qn({session:zn,baseUrl:an,redirectUrl:Ct.getAfterSignUpUrl()})}});if(q.status==="needs_second_factor")return ze();let Kt=(X.externalAccountStatus==="failed"||X.externalAccountStatus==="unverified")&&X.externalAccountErrorCode==="identifier_already_signed_in"&&X.externalAccountSessionId,fn=q.firstFactorVerificationStatus==="failed"&&q.firstFactorVerificationErrorCode==="identifier_already_signed_in"&&q.firstFactorVerificationSessionId;if(Kt||fn){let zn=q.firstFactorVerificationSessionId||X.externalAccountSessionId;if(zn)return this.setActive({session:zn,navigate:async({session:Ni})=>{await Qn({session:Ni,baseUrl:Kt?an:Bt,redirectUrl:Ct.getAfterSignInUrl()})}})}return(zn=>{let{externalAccount:Ni}=zn.verifications;return!!Ni.error})(S)?Se():X.externalAccountStatus==="verified"&&X.status==="missing_requirements"?yt({missingFields:S.missingFields}):this.session?.currentTask?void await this.redirectToTasks({redirectUrl:this.buildAfterSignInUrl()}):ve()};handleRedirectCallback=async(l={},m)=>{if(!this.loaded||!this.environment||!this.client)return;let{signIn:S,signUp:U}=this.client,O=M=>m&&typeof m=="function"?m(M):this.navigate(M);return this._handleRedirectCallback(l,{signUp:U,signIn:S,navigate:O})};handleUnauthenticated=async(l={broadcast:!0})=>{if(this.client&&this.session)try{let m=await oi.getOrCreateInstance().fetch();return this.updateClient(m),this.session?void 0:(l.broadcast&&xi.emit(Ho,null),this.setActive({session:null}))}catch(m){if(Ee(m)&&[403,500].includes(m.status))return this.setActive({session:null});throw m}};authenticateWithGoogleOneTap=async l=>this.client?.signIn.create({strategy:"google_one_tap",token:l.token}).catch(m=>{if(Ee(m)&&m.errors[0].code==="external_account_not_found")return this.client?.signUp.create({strategy:"google_one_tap",token:l.token,legalAccepted:l.legalAccepted});throw m});authenticateWithMetamask=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_metamask_signature"})};authenticateWithCoinbaseWallet=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_coinbase_wallet_signature"})};authenticateWithBase=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_base_signature"})};authenticateWithOKXWallet=async(l={})=>{await this.authenticateWithWeb3({...l,strategy:"web3_okx_wallet_signature"})};authenticateWithWeb3=async({redirectUrl:l,signUpContinueUrl:m,customNavigate:S,unsafeMetadata:U,strategy:O,legalAccepted:M,secondFactorUrl:ee})=>{let X,q;if(!this.client||!this.environment)return;let{displayConfig:Ae}=this.environment,ve=O.replace("web3_","").replace("_signature",""),Se=await Ge({provider:ve});switch(ve){case"metamask":X=tn;break;case"base":X=zi;break;case"coinbase_wallet":X=Kn;break;default:X=_n}let Oe=Je=>()=>S&&typeof S=="function"?S(Je):this.navigate(Je),ze=Oe(ee||Ri({base:Ae.signInUrl,hashPath:"/factor-two"},{stringify:!0})),rt=Oe(m||Ri({base:Ae.signUpUrl,hashPath:"/continue"},{stringify:!0}));try{q=await this.client.signIn.authenticateWithWeb3({identifier:Se,generateSignature:X,strategy:O})}catch(Je){if(Mo(Je,"form_identifier_not_found"))q=await this.client.signUp.authenticateWithWeb3({identifier:Se,generateSignature:X,unsafeMetadata:U,strategy:O,legalAccepted:M}),m&&q.status==="missing_requirements"&&q.verifications.web3Wallet.status==="verified"&&await rt();else throw Je}let Ct=async({session:Je,redirectUrl:yt})=>{if(!Je.currentTask)return void await this.navigate(yt);await ed(Je,{baseUrl:Ae.signInUrl,navigate:this.navigate})};switch(q.status){case"needs_second_factor":await ze();break;case"complete":q.createdSessionId&&await this.setActive({session:q.createdSessionId,navigate:async({session:Je})=>{await Ct({session:Je,redirectUrl:l??this.buildAfterSignInUrl()})}});break;default:return}};createOrganization=async({name:l,slug:m})=>jt.create({name:l,slug:m});getOrganization=async l=>jt.get(l);joinWaitlist=async({emailAddress:l})=>De.join({emailAddress:l});updateEnvironment(l){this.environment=l}__internal_setCountry=l=>{this.__internal_country||(this.__internal_country=l)};get __internal_last_error(){let l=this.internal_last_error;return this.internal_last_error=null,l}set __internal_last_error(l){this.internal_last_error=l}updateClient=l=>{if(!this.client){let m=this.#t.selectInitialSession?this.#t.selectInitialSession(l):this.#O(l);this.#m(m)}if(this.client=l,this.session){let m=this.#_(this.session.id);this.session.status==="active"&&m?.status==="pending"&&(typeof window<"u"&&typeof window.__unstable__onAfterSetActive=="function"?window.__unstable__onAfterSetActive:xt)(),this.#m(m),this.session?.lastActiveToken||$()||cn.warn("No last active token when updating client (offline)",{sessionId:this.session?.id},"clerk"),xi.emit(zs,{token:this.session?.lastActiveToken})}this.#h()};get __unstable__environment(){return this.environment}__unstable__setEnvironment=async l=>{this.environment=new Er(l),vr.mountComponentRenderer&&(this.#e=vr.mountComponentRenderer(this,this.environment,this.#t))};__unstable__onBeforeRequest=l=>{this.#l.onBeforeRequest(l)};__unstable__onAfterResponse=l=>{this.#l.onAfterResponse(l)};__unstable__updateProps=l=>{let m={...l,options:this.#D({...this.#t,...l.options})};return this.#e?.ensureMounted().then(S=>S.updateProps(m))};__internal_navigateWithError(l,m){return this.__internal_last_error=m,this.navigate(l)}#b=()=>{let l=new URLSearchParams({[ft]:window.location.href});return Ri({base:this.#t.signInUrl,searchParams:l},{stringify:!0})};#x=()=>{let l;if(this.proxyUrl){let m=new URL(this.proxyUrl);l=new URL(`${m.pathname}/v1/client/sync`,m.origin)}else this.domain&&(l=new URL("/v1/client/sync",`https://${this.domain}`));return l?.searchParams.append("redirect_url",window.location.href),l?.toString()||""};#Q=()=>wi(ht)!=="true"&&!!this.isSatellite&&!!this.#o?.isSignedOut();#w=()=>this.#a!=="production"&&!this.isSatellite&&!!wi(ft);#R=async()=>{this.instanceType==="development"?await this.navigate(this.#b()):this.instanceType==="production"&&await this.navigate(this.#x())};#N=(l,m)=>{let S;try{S=new URL(l)}catch{throw Error(`${Mi} The signInUrl needs to have a absolute url format.`)}S.origin===m&&(function(){throw Error(`${Mi} The signInUrl needs to be on a different origin than your satellite application.`)})()};#T=()=>{this.isSatellite&&(this.#a!=="development"||this.#t.signInUrl||(function(){throw Error(`${Mi} Missing signInUrl. A satellite application needs to specify the signInUrl for development instances.`)})(),this.proxyUrl||this.domain||(function(){throw Error(`${Mi} Missing domain and proxyUrl. A satellite application needs to specify a domain or a proxyUrl.`)})(),this.#t.signInUrl&&this.#N(this.#t.signInUrl,window.location.origin))};#U=async()=>{if(this.#o=await Ac.create(this,this.#l,this.#a,this.#u),this.#T(),this.#Q())return void await this.#R();if(this.#w())return void await this.#S();this.#v=(()=>{if(!D())return{onPageFocus:xt};let M=[];return window.addEventListener("focus",()=>{document.visibilityState==="visible"&&M.forEach(ee=>ee())}),{onPageFocus:ee=>{M.push(ee)}}})(),typeof BroadcastChannel<"u"&&(this.#c=new BroadcastChannel("clerk")),this.#F();let l=(function(M=window.location.hostname){if(!M)return!1;let ee=hr.get(M);return ee===void 0&&(ee=un.some(X=>M.startsWith("accounts.")&&M.endsWith(X))||mi.some(X=>M.endsWith(X)&&!M.endsWith(".clerk"+X)),hr.set(M,ee)),ee})(window?.location.hostname),m=this.#a==="development"&&!l,S=0,U=0;for(;U<2;){U++;try{var O;let M=Er.getInstance().fetch({touch:m}).then(Ae=>this.updateEnvironment(Ae)).catch(()=>{++S;let Ae=Yi.getItem(Sa,null);Ae&&this.updateEnvironment(new Er(Ae))}),ee=async()=>oi.getOrCreateInstance().fetch().then(Ae=>this.updateClient(Ae)).catch(async Ae=>{if(Ve(Ae))throw Ae;++S;let ve=this.#o?.getSessionCookie(),Se=(function(Oe){let ze;try{ze=new Q({jwt:Oe||"",object:"token",id:void 0})}catch{ze=null}if(oi.clearInstance(),!ze?.jwt)return oi.getOrCreateInstance({object:"client",last_active_session_id:null,id:"client_init",sessions:[]});let{sessionId:rt,userId:Ct,orgId:Je,orgRole:yt,orgPermissions:Bt,orgSlug:an,factorVerificationAge:Qn}=(Yt=>{let Kt,fn,zn,Ni,au=Yt.fva??null,mc=Yt.sts??null;if(Yt.v===2){if(Yt.o){Kt=Yt.o?.id,zn=Yt.o?.slg,Yt.o?.rol&&(fn=`org:${Yt.o?.rol}`);let{org:Ec}=ea(Yt.fea),{permissions:ou,featurePermissionMap:lA}=(({per:Dl,fpm:Wi})=>{if(!Dl||!Wi)return{permissions:[],featurePermissionMap:[]};let qa=Dl.split(",").map(si=>si.trim());return{permissions:qa,featurePermissionMap:Wi.split(",").map(si=>Number.parseInt(si.trim(),10)).map(si=>si.toString(2).padStart(qa.length,"0").split("").map(gs=>Number.parseInt(gs,10)).reverse()).filter(Boolean)}})({per:Yt.o?.per,fpm:Yt.o?.fpm});Ni=(function({features:Dl,permissions:Wi,featurePermissionMap:qa}){if(!Dl||!Wi||!qa)return[];let si=[];for(let gs=0;gs<Dl.length;gs++){let pp=Dl[gs];if(gs>=qa.length)continue;let $u=qa[gs];if($u)for(let ms=0;ms<$u.length;ms++)$u[ms]===1&&si.push(`org:${pp}:${Wi[ms]}`)}return si})({features:Ec,featurePermissionMap:lA,permissions:ou})}}else Kt=Yt.org_id,fn=Yt.org_role,zn=Yt.org_slug,Ni=Yt.org_permissions;return{sessionClaims:Yt,sessionId:Yt.sid,sessionStatus:mc,actor:Yt.act,userId:Yt.sub,orgId:Kt,orgRole:fn,orgSlug:zn,orgPermissions:Ni,factorVerificationAge:au}})(ze.jwt.claims),nn={object:"client",last_active_session_id:rt,id:"client_init",sessions:[{object:"session",id:rt,status:"active",last_active_organization_id:Je||null,last_active_token:{id:void 0,object:"token",jwt:Oe},factor_verification_age:Qn||null,public_user_data:{user_id:Ct},user:{object:"user",id:Ct,organization_memberships:Je&&an&&yt?[{object:"organization_membership",id:Je,role:yt,permissions:Bt||[],organization:{object:"organization",id:Je,name:an,slug:an,members_count:1,max_allowed_memberships:1}}]:[]}}]};return oi.getOrCreateInstance(nn)})(ve);return this.updateClient(Se),this.#o?.stopPollingForToken(),await this.session?.getToken({skipCache:!0}).catch(()=>null).finally(()=>{this.#o?.startPollingForToken()}),null}),X=()=>{vr.mountComponentRenderer&&!this.#e&&(this.#e=vr.mountComponentRenderer(this,this.environment,this.#t))},[,q]=await(O=[M,ee()],Promise.all(Array.from(O).map(Ae=>Ae.then(ve=>({status:"fulfilled",value:ve}),ve=>({status:"rejected",reason:ve})))));if(q.status==="rejected"){let Ae=q.reason;if(Mo(Ae,"requires_captcha"))X(),await ee();else throw Ae}if(this.#o?.setClientUatCookieForDevelopmentInstances(),await this.#H())return;X();break}catch(M){if(Mo(M,"dev_browser_unauthenticated"))await this.#o.handleUnauthenticatedDevBrowser();else{if($())throw M;return void console.warn(M)}}U>=2&&(function(){throw Error(`${Mi} Something went wrong initializing Clerk.`)})()}this.#A=new of(this),this.#A.start(),this.#G(),this.#L(),this.#$(),this.#u.emit(xe,S>0?"degraded":"ready")};shouldFallbackToCachedResources=()=>!!this.__internal_getCachedResources;#k=async()=>{let l,m,S=this.shouldFallbackToCachedResources()?1:void 0,U=0;try{[l,m]=await Promise.all([Er.getInstance().fetch({touch:!1,fetchMaxTries:S}),oi.getOrCreateInstance().fetch({fetchMaxTries:S})])}catch(O){if(Pe(O)&&O.code==="network_error"&&this.shouldFallbackToCachedResources()){let M=await this.__internal_getCachedResources?.();l=new Er(M?.environment),oi.clearInstance(),m=oi.getOrCreateInstance(M?.client),++U}else throw O}this.updateClient(m),this.updateEnvironment(l),vr.mountComponentRenderer&&(this.#e=vr.mountComponentRenderer(this,this.environment,this.#t)),this.#u.emit(xe,U>0?"degraded":"ready")};__internal_reloadInitialResources=async()=>{let[l,m]=await Promise.all([Er.getInstance().fetch({touch:!1,fetchMaxTries:1}),oi.getOrCreateInstance().fetch({fetchMaxTries:1})]);this.updateClient(m),this.updateEnvironment(l),this.#h()};#O=l=>{if(l.lastActiveSessionId){let m=l.signedInSessions.find(S=>S.id===l.lastActiveSessionId);if(m)return m}return l.signedInSessions[0]||null};#F=()=>{D()&&(this.#v?.onPageFocus(()=>{this.session&&!(!(this.environment&&!this.environment.authConfig.singleSessionMode)&&this.#C>Date.now())&&(this.#C=Date.now()+5e3,this.#t.touchSession&&this.#I(this.session))}),this.#c?.addEventListener("message",l=>{l.data?.type==="signout"&&this.handleUnauthenticated({broadcast:!1})}),xi.on(Ho,()=>{this.#c?.postMessage({type:"signout"})}),xi.on(gl,()=>{Yi.setItem(Sa,this.environment?.__internal_toSnapshot(),864e5)}))};#I=async l=>{if(!l)return Promise.resolve();await l.touch().catch(m=>{Ve(m)&&this.handleUnauthenticated()})};#h=()=>{if(this.client)for(let l of this.#f)l({client:this.client,session:this.session,user:this.user,organization:this.organization})};#z=()=>{for(let l of this.#p)l()};#y=()=>{this.session=void 0,this.organization=void 0,this.user=void 0,this.#h()};#M=()=>(this.session?.user.organizationMemberships||[]).map(l=>l.organization).find(l=>l.id===this.session?.lastActiveOrganizationId)||null;#m=l=>{this.session=l||null,this.organization=this.#M(),this.user=this.session?this.session.user:null};#_=l=>this.client?.signedInSessions.find(m=>m.id===l)||null;#L=()=>{this.addListener(({session:l})=>{l?.actor&&this.#e?.ensureMounted().then(m=>m.mountImpersonationFab())})};#$=()=>{this.#t.__internal_keyless_claimKeylessApplicationUrl&&this.#e?.ensureMounted().then(l=>{l.updateProps({options:{__internal_keyless_claimKeylessApplicationUrl:this.#t.__internal_keyless_claimKeylessApplicationUrl,__internal_keyless_copyInstanceKeysUrl:this.#t.__internal_keyless_copyInstanceKeysUrl,__internal_keyless_dismissPrompt:this.#t.__internal_keyless_dismissPrompt}})})};#B=(l,m,S)=>{if(!l||!this.loaded||!this.environment||!this.environment.displayConfig)return"";let U=this.#t[l]||this.environment.displayConfig[l];this.#E()&&(U=this.#t.signInUrl);let O=new St(this.#t,m).toSearchParams(),M=new URLSearchParams(S||{}),ee=Ri({base:U,hashPath:this.#E()&&l==="signUpUrl"?"/create":"",hashSearchParams:[M,O]},{stringify:!0});return this.buildUrlWithAuth(ee)};assertComponentsReady(l){if(!vr.mountComponentRenderer)throw Error("ClerkJS was loaded without UI components.");if(!l)throw Error("ClerkJS components are not ready yet.")}#H=async()=>{let l=new URLSearchParams(window.location.search).get("redirect_url"),m=this.instanceType==="production",S=l!==null&&(function(q,Ae){let ve=new URL(Ae,pi),Se=ve.pathname,Oe=lo.includes(Se)||Ga.includes(Se);return q===ve.host&&Oe})(this.frontendApi,l);if(m||!S)return!1;let U=this.session,O=this.#t.signInUrl||this.environment?.displayConfig.signInUrl,M=O&&window.location.href.startsWith(O),ee=this.#t.signUpUrl||this.environment?.displayConfig.signUpUrl,X=ee&&window.location.href.startsWith(ee);return(!(function(q){let Ae=new URL(q,pi);return lo.includes(Ae.pathname)})(l)||!!U||!M&&!X)&&(await this.navigate(this.buildUrlWithAuth(l)),!0)};#D=l=>{let m=l?{...l}:{};return m.appearance&&(m.appearance=(function(S){let U;if(!S||typeof S!="object")return S;let O=S.theme!==void 0?S.theme:S.baseTheme,M=S.theme!==void 0;if(!O)return S;if(Array.isArray(O)){O.forEach(Ae=>{!U&&typeof Ae=="object"&&Ae.cssLayerName&&(U=Ae.cssLayerName)});let ee=O.map(Ae=>{if(typeof Ae=="string")return Ae;let{cssLayerName:ve,...Se}=Ae;return Se}),X=S.cssLayerName||U,q={...S,[M?"theme":"baseTheme"]:ee};return X&&(q.cssLayerName=X),q}{let ee;typeof O=="object"&&O.cssLayerName&&(ee=O.cssLayerName);let X=typeof O=="string"?O:(()=>{let{cssLayerName:ve,...Se}=O;return Se})(),q=S.cssLayerName||ee,Ae={...S,[M?"theme":"baseTheme"]:X};return q&&(Ae.cssLayerName=q),Ae}})(m.appearance)),{...Vo,...m,allowedRedirectOrigins:(function(S,U,O){if(Array.isArray(S)&&S.length)return S;let M=[];return typeof window<"u"&&window.location&&M.push(window.location.origin),M.push(`https://${ai(U)}`),M.push(`https://*.${ai(U)}`),O==="development"&&M.push(`https://${U}`),M})(l?.allowedRedirectOrigins,this.frontendApi,this.instanceType)}};#G=()=>{try{ca(ht),ca(ua),ca(Kr),ca("__clerk_handshake"),ca("__clerk_handshake_nonce"),ca("__clerk_help")}catch{}};get#P(){let l=xr;return this.#t.allowedRedirectProtocols&&(l=l.concat(this.#t.allowedRedirectProtocols)),l}}(o=u.hmd(o)).hot&&o.hot.accept()},2788:function(o,i,u){"use strict";var f=this&&this.__awaiter||function(te,re,oe,ce){return new(oe||(oe=Promise))(function(xe,Me){function Ie(k){try{Xe(ce.next(k))}catch(He){Me(He)}}function it(k){try{Xe(ce.throw(k))}catch(He){Me(He)}}function Xe(k){k.done?xe(k.value):new oe(function(He){He(k.value)}).then(Ie,it)}Xe((ce=ce.apply(te,re||[])).next())})},y=this&&this.__generator||function(te,re){var oe,ce,xe,Me,Ie={label:0,sent:function(){if(1&xe[0])throw xe[1];return xe[1]},trys:[],ops:[]};return Me={next:it(0),throw:it(1),return:it(2)},typeof Symbol=="function"&&(Me[Symbol.iterator]=function(){return this}),Me;function it(Xe){return function(k){var He=[Xe,k];if(oe)throw TypeError("Generator is already executing.");for(;Ie;)try{if(oe=1,ce&&(xe=2&He[0]?ce.return:He[0]?ce.throw||((xe=ce.return)&&xe.call(ce),0):ce.next)&&!(xe=xe.call(ce,He[1])).done)return xe;switch(ce=0,xe&&(He=[2&He[0],xe.value]),He[0]){case 0:case 1:xe=He;break;case 4:return Ie.label++,{value:He[1],done:!1};case 5:Ie.label++,ce=He[1],He=[0];continue;case 7:He=Ie.ops.pop(),Ie.trys.pop();continue;default:if(!(xe=(xe=Ie.trys).length>0&&xe[xe.length-1])&&(He[0]===6||He[0]===2)){Ie=0;continue}if(He[0]===3&&(!xe||He[1]>xe[0]&&He[1]<xe[3])){Ie.label=He[1];break}if(He[0]===6&&Ie.label<xe[1]){Ie.label=xe[1],xe=He;break}if(xe&&Ie.label<xe[2]){Ie.label=xe[2],Ie.ops.push(He);break}xe[2]&&Ie.ops.pop(),Ie.trys.pop();continue}He=re.call(te,Ie)}catch(It){He=[6,It],ce=0}finally{oe=xe=0}if(5&He[0])throw He[1];return{value:He[0]?He[1]:void 0,done:!0}}}},I=this;Object.defineProperty(i,"__esModule",{value:!0});var D=u(6119),R="browser-tabs-lock-key",z={key:function(te){return f(I,void 0,void 0,function(){return y(this,function(re){throw Error("Unsupported")})})},getItem:function(te){return f(I,void 0,void 0,function(){return y(this,function(re){throw Error("Unsupported")})})},clear:function(){return f(I,void 0,void 0,function(){return y(this,function(te){return[2,window.localStorage.clear()]})})},removeItem:function(te){return f(I,void 0,void 0,function(){return y(this,function(re){throw Error("Unsupported")})})},setItem:function(te,re){return f(I,void 0,void 0,function(){return y(this,function(oe){throw Error("Unsupported")})})},keySync:function(te){return window.localStorage.key(te)},getItemSync:function(te){return window.localStorage.getItem(te)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(te){return window.localStorage.removeItem(te)},setItemSync:function(te,re){return window.localStorage.setItem(te,re)}};function V(te){return new Promise(function(re){return setTimeout(re,te)})}function $(te){for(var re="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",oe="",ce=0;ce<te;ce++){var xe=Math.floor(Math.random()*re.length);oe+=re[xe]}return oe}i.default=(function(){function te(re){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+$(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),this.storageHandler=re,te.waiters===void 0&&(te.waiters=[])}return te.prototype.acquireLock=function(re,oe){return oe===void 0&&(oe=5e3),f(this,void 0,void 0,function(){var ce,xe,Me,Ie,it,Xe,k;return y(this,function(He){switch(He.label){case 0:ce=Date.now()+$(4),xe=Date.now()+oe,Me=R+"-"+re,Ie=this.storageHandler===void 0?z:this.storageHandler,He.label=1;case 1:return Date.now()<xe?[4,V(30)]:[3,8];case 2:return He.sent(),Ie.getItemSync(Me)!==null?[3,5]:(it=this.id+"-"+re+"-"+ce,[4,V(Math.floor(25*Math.random()))]);case 3:return He.sent(),Ie.setItemSync(Me,JSON.stringify({id:this.id,iat:ce,timeoutKey:it,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,V(30)];case 4:return He.sent(),(Xe=Ie.getItemSync(Me))!==null&&(k=JSON.parse(Xe)).id===this.id&&k.iat===ce?(this.acquiredIatSet.add(ce),this.refreshLockWhileAcquired(Me,ce),[2,!0]):[3,7];case 5:return te.lockCorrector(this.storageHandler===void 0?z:this.storageHandler),[4,this.waitForSomethingToChange(xe)];case 6:He.sent(),He.label=7;case 7:return ce=Date.now()+$(4),[3,1];case 8:return[2,!1]}})})},te.prototype.refreshLockWhileAcquired=function(re,oe){return f(this,void 0,void 0,function(){var ce=this;return y(this,function(xe){return setTimeout(function(){return f(ce,void 0,void 0,function(){var Me,Ie,it;return y(this,function(Xe){switch(Xe.label){case 0:return[4,D.default().lock(oe)];case 1:return Xe.sent(),!this.acquiredIatSet.has(oe)||(Ie=(Me=this.storageHandler===void 0?z:this.storageHandler).getItemSync(re))===null?(D.default().unlock(oe),[2]):((it=JSON.parse(Ie)).timeRefreshed=Date.now(),Me.setItemSync(re,JSON.stringify(it)),D.default().unlock(oe),this.refreshLockWhileAcquired(re,oe),[2])}})})},1e3),[2]})})},te.prototype.waitForSomethingToChange=function(re){return f(this,void 0,void 0,function(){return y(this,function(oe){switch(oe.label){case 0:return[4,new Promise(function(ce){var xe=!1,Me=Date.now(),Ie=!1;function it(){if(Ie||(window.removeEventListener("storage",it),te.removeFromWaiting(it),clearTimeout(Xe),Ie=!0),!xe){xe=!0;var k=50-(Date.now()-Me);k>0?setTimeout(ce,k):ce(null)}}window.addEventListener("storage",it),te.addToWaiting(it);var Xe=setTimeout(it,Math.max(0,re-Date.now()))})];case 1:return oe.sent(),[2]}})})},te.addToWaiting=function(re){this.removeFromWaiting(re),te.waiters!==void 0&&te.waiters.push(re)},te.removeFromWaiting=function(re){te.waiters!==void 0&&(te.waiters=te.waiters.filter(function(oe){return oe!==re}))},te.notifyWaiters=function(){te.waiters!==void 0&&te.waiters.slice().forEach(function(re){return re()})},te.prototype.releaseLock=function(re){return f(this,void 0,void 0,function(){return y(this,function(oe){switch(oe.label){case 0:return[4,this.releaseLock__private__(re)];case 1:return[2,oe.sent()]}})})},te.prototype.releaseLock__private__=function(re){return f(this,void 0,void 0,function(){var oe,ce,xe,Me;return y(this,function(Ie){switch(Ie.label){case 0:return oe=this.storageHandler===void 0?z:this.storageHandler,ce=R+"-"+re,(xe=oe.getItemSync(ce))===null?[2]:(Me=JSON.parse(xe)).id!==this.id?[3,2]:[4,D.default().lock(Me.iat)];case 1:Ie.sent(),this.acquiredIatSet.delete(Me.iat),oe.removeItemSync(ce),D.default().unlock(Me.iat),te.notifyWaiters(),Ie.label=2;case 2:return[2]}})})},te.lockCorrector=function(re){for(var oe=Date.now()-5e3,ce=[],xe=0;;){var Me=re.keySync(xe);if(Me===null)break;ce.push(Me),xe++}for(var Ie=!1,it=0;it<ce.length;it++){var Xe=ce[it];if(Xe.includes(R)){var k=re.getItemSync(Xe);if(k!==null){var He=JSON.parse(k);(He.timeRefreshed===void 0&&He.timeAcquired<oe||He.timeRefreshed!==void 0&&He.timeRefreshed<oe)&&(re.removeItemSync(Xe),Ie=!0)}}}Ie&&te.notifyWaiters()},te.waiters=void 0,te})()},6119:function(o,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var u=(function(){function f(){var y=this;this.locked=new Map,this.addToLocked=function(I,D){var R=y.locked.get(I);R===void 0?D===void 0?y.locked.set(I,[]):y.locked.set(I,[D]):D!==void 0&&(R.unshift(D),y.locked.set(I,R))},this.isLocked=function(I){return y.locked.has(I)},this.lock=function(I){return new Promise(function(D,R){y.isLocked(I)?y.addToLocked(I,D):(y.addToLocked(I),D())})},this.unlock=function(I){var D=y.locked.get(I);if(D===void 0||D.length===0)return void y.locked.delete(I);var R=D.pop();y.locked.set(I,D),R!==void 0&&setTimeout(R,0)}}return f.getInstance=function(){return f.instance===void 0&&(f.instance=new f),f.instance},f})();i.default=function(){return u.getInstance()}},4763:function(o){o.exports=function(i,u){if(typeof i!="string")throw TypeError("Expected a string");for(var f,y=String(i),I="",D=!!u&&!!u.extended,R=!!u&&!!u.globstar,z=!1,V=u&&typeof u.flags=="string"?u.flags:"",$=0,te=y.length;$<te;$++)switch(f=y[$]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":I+="\\"+f;break;case"?":if(D){I+=".";break}case"[":case"]":if(D){I+=f;break}case"{":if(D){z=!0,I+="(";break}case"}":if(D){z=!1,I+=")";break}case",":if(z){I+="|";break}I+="\\"+f;break;case"*":for(var re=y[$-1],oe=1;y[$+1]==="*";)oe++,$++;var ce=y[$+1];R?oe>1&&(re==="/"||re===void 0)&&(ce==="/"||ce===void 0)?(I+="((?:[^/]*(?:/|$))*)",$++):I+="([^/]*)":I+=".*";break;default:I+=f}return V&&~V.indexOf("g")||(I="^"+I+"$"),new RegExp(I,V)}},4096:function(o){var i=(function(u){"use strict";var f,y=Object.prototype,I=y.hasOwnProperty,D=Object.defineProperty||function(ke,Ve,Dt){ke[Ve]=Dt.value},R=typeof Symbol=="function"?Symbol:{},z=R.iterator||"@@iterator",V=R.asyncIterator||"@@asyncIterator",$=R.toStringTag||"@@toStringTag";function te(ke,Ve,Dt){return Object.defineProperty(ke,Ve,{value:Dt,enumerable:!0,configurable:!0,writable:!0}),ke[Ve]}try{te({},"")}catch{te=function(Ve,Dt,Ee){return Ve[Dt]=Ee}}function re(ke,Ve,Dt,Ee){var Pe,Qt,wt,An,Jn=Object.create((Ve&&Ve.prototype instanceof it?Ve:it).prototype);return D(Jn,"_invoke",{value:(Pe=ke,Qt=Dt,wt=new Ft(Ee||[]),An=ce,function(un,mi){if(An===xe)throw Error("Generator is already running");if(An===Me){if(un==="throw")throw mi;return{value:f,done:!0}}for(wt.method=un,wt.arg=mi;;){var Lt=wt.delegate;if(Lt){var Ci=(function Nn(Vn,gt){var vn=gt.method,Br=Vn.iterator[vn];if(f===Br)return gt.delegate=null,vn==="throw"&&Vn.iterator.return&&(gt.method="return",gt.arg=f,Nn(Vn,gt),gt.method==="throw")||vn!=="return"&&(gt.method="throw",gt.arg=TypeError("The iterator does not provide a '"+vn+"' method")),Ie;var dt=oe(Br,Vn.iterator,gt.arg);if(dt.type==="throw")return gt.method="throw",gt.arg=dt.arg,gt.delegate=null,Ie;var Et=dt.arg;return Et?Et.done?(gt[Vn.resultName]=Et.value,gt.next=Vn.nextLoc,gt.method!=="return"&&(gt.method="next",gt.arg=f),gt.delegate=null,Ie):Et:(gt.method="throw",gt.arg=TypeError("iterator result is not an object"),gt.delegate=null,Ie)})(Lt,wt);if(Ci){if(Ci===Ie)continue;return Ci}}if(wt.method==="next")wt.sent=wt._sent=wt.arg;else if(wt.method==="throw"){if(An===ce)throw An=Me,wt.arg;wt.dispatchException(wt.arg)}else wt.method==="return"&&wt.abrupt("return",wt.arg);An=xe;var en=oe(Pe,Qt,wt);if(en.type==="normal"){if(An=wt.done?Me:"suspendedYield",en.arg===Ie)continue;return{value:en.arg,done:wt.done}}en.type==="throw"&&(An=Me,wt.method="throw",wt.arg=en.arg)}})}),Jn}function oe(ke,Ve,Dt){try{return{type:"normal",arg:ke.call(Ve,Dt)}}catch(Ee){return{type:"throw",arg:Ee}}}u.wrap=re;var ce="suspendedStart",xe="executing",Me="completed",Ie={};function it(){}function Xe(){}function k(){}var He={};te(He,z,function(){return this});var It=Object.getPrototypeOf,Gt=It&&It(It(lt([])));Gt&&Gt!==y&&I.call(Gt,z)&&(He=Gt);var ln=k.prototype=it.prototype=Object.create(He);function Ht(ke){["next","throw","return"].forEach(function(Ve){te(ke,Ve,function(Dt){return this._invoke(Ve,Dt)})})}function Xt(ke,Ve){var Dt;D(this,"_invoke",{value:function(Ee,Pe){function Qt(){return new Ve(function(wt,An){(function Jn(un,mi,Lt,Ci){var en=oe(ke[un],ke,mi);if(en.type==="throw")Ci(en.arg);else{var Nn=en.arg,Vn=Nn.value;return Vn&&typeof Vn=="object"&&I.call(Vn,"__await")?Ve.resolve(Vn.__await).then(function(gt){Jn("next",gt,Lt,Ci)},function(gt){Jn("throw",gt,Lt,Ci)}):Ve.resolve(Vn).then(function(gt){Nn.value=gt,Lt(Nn)},function(gt){return Jn("throw",gt,Lt,Ci)})}})(Ee,Pe,wt,An)})}return Dt=Dt?Dt.then(Qt,Qt):Qt()}})}function Ki(ke){var Ve={tryLoc:ke[0]};1 in ke&&(Ve.catchLoc=ke[1]),2 in ke&&(Ve.finallyLoc=ke[2],Ve.afterLoc=ke[3]),this.tryEntries.push(Ve)}function Ue(ke){var Ve=ke.completion||{};Ve.type="normal",delete Ve.arg,ke.completion=Ve}function Ft(ke){this.tryEntries=[{tryLoc:"root"}],ke.forEach(Ki,this),this.reset(!0)}function lt(ke){if(ke!=null){var Ve=ke[z];if(Ve)return Ve.call(ke);if(typeof ke.next=="function")return ke;if(!isNaN(ke.length)){var Dt=-1,Ee=function Pe(){for(;++Dt<ke.length;)if(I.call(ke,Dt))return Pe.value=ke[Dt],Pe.done=!1,Pe;return Pe.value=f,Pe.done=!0,Pe};return Ee.next=Ee}}throw TypeError(typeof ke+" is not iterable")}return Xe.prototype=k,D(ln,"constructor",{value:k,configurable:!0}),D(k,"constructor",{value:Xe,configurable:!0}),Xe.displayName=te(k,$,"GeneratorFunction"),u.isGeneratorFunction=function(ke){var Ve=typeof ke=="function"&&ke.constructor;return!!Ve&&(Ve===Xe||(Ve.displayName||Ve.name)==="GeneratorFunction")},u.mark=function(ke){return Object.setPrototypeOf?Object.setPrototypeOf(ke,k):(ke.__proto__=k,te(ke,$,"GeneratorFunction")),ke.prototype=Object.create(ln),ke},u.awrap=function(ke){return{__await:ke}},Ht(Xt.prototype),te(Xt.prototype,V,function(){return this}),u.AsyncIterator=Xt,u.async=function(ke,Ve,Dt,Ee,Pe){Pe===void 0&&(Pe=Promise);var Qt=new Xt(re(ke,Ve,Dt,Ee),Pe);return u.isGeneratorFunction(Ve)?Qt:Qt.next().then(function(wt){return wt.done?wt.value:Qt.next()})},Ht(ln),te(ln,$,"Generator"),te(ln,z,function(){return this}),te(ln,"toString",function(){return"[object Generator]"}),u.keys=function(ke){var Ve=Object(ke),Dt=[];for(var Ee in Ve)Dt.push(Ee);return Dt.reverse(),function Pe(){for(;Dt.length;){var Qt=Dt.pop();if(Qt in Ve)return Pe.value=Qt,Pe.done=!1,Pe}return Pe.done=!0,Pe}},u.values=lt,Ft.prototype={constructor:Ft,reset:function(ke){if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,this.tryEntries.forEach(Ue),!ke)for(var Ve in this)Ve.charAt(0)==="t"&&I.call(this,Ve)&&!isNaN(+Ve.slice(1))&&(this[Ve]=f)},stop:function(){this.done=!0;var ke=this.tryEntries[0].completion;if(ke.type==="throw")throw ke.arg;return this.rval},dispatchException:function(ke){if(this.done)throw ke;var Ve=this;function Dt(Jn,un){return Qt.type="throw",Qt.arg=ke,Ve.next=Jn,un&&(Ve.method="next",Ve.arg=f),!!un}for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var Pe=this.tryEntries[Ee],Qt=Pe.completion;if(Pe.tryLoc==="root")return Dt("end");if(Pe.tryLoc<=this.prev){var wt=I.call(Pe,"catchLoc"),An=I.call(Pe,"finallyLoc");if(wt&&An){if(this.prev<Pe.catchLoc)return Dt(Pe.catchLoc,!0);if(this.prev<Pe.finallyLoc)return Dt(Pe.finallyLoc)}else if(wt){if(this.prev<Pe.catchLoc)return Dt(Pe.catchLoc,!0)}else if(An){if(this.prev<Pe.finallyLoc)return Dt(Pe.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(ke,Ve){for(var Dt=this.tryEntries.length-1;Dt>=0;--Dt){var Ee=this.tryEntries[Dt];if(Ee.tryLoc<=this.prev&&I.call(Ee,"finallyLoc")&&this.prev<Ee.finallyLoc){var Pe=Ee;break}}Pe&&(ke==="break"||ke==="continue")&&Pe.tryLoc<=Ve&&Ve<=Pe.finallyLoc&&(Pe=null);var Qt=Pe?Pe.completion:{};return Qt.type=ke,Qt.arg=Ve,Pe?(this.method="next",this.next=Pe.finallyLoc,Ie):this.complete(Qt)},complete:function(ke,Ve){if(ke.type==="throw")throw ke.arg;return ke.type==="break"||ke.type==="continue"?this.next=ke.arg:ke.type==="return"?(this.rval=this.arg=ke.arg,this.method="return",this.next="end"):ke.type==="normal"&&Ve&&(this.next=Ve),Ie},finish:function(ke){for(var Ve=this.tryEntries.length-1;Ve>=0;--Ve){var Dt=this.tryEntries[Ve];if(Dt.finallyLoc===ke)return this.complete(Dt.completion,Dt.afterLoc),Ue(Dt),Ie}},catch:function(ke){for(var Ve=this.tryEntries.length-1;Ve>=0;--Ve){var Dt=this.tryEntries[Ve];if(Dt.tryLoc===ke){var Ee=Dt.completion;if(Ee.type==="throw"){var Pe=Ee.arg;Ue(Dt)}return Pe}}throw Error("illegal catch attempt")},delegateYield:function(ke,Ve,Dt){return this.delegate={iterator:lt(ke),resultName:Ve,nextLoc:Dt},this.method==="next"&&(this.arg=f),Ie}},u})(o.exports);try{regeneratorRuntime=i}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}}},t={};function r(o){var i=t[o];if(i!==void 0)return i.exports;var u=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(u.exports,u,u.exports,r),u.loaded=!0,u.exports}return r.m=e,r.n=o=>{var i=o&&o.__esModule?()=>o.default:()=>o;return r.d(i,{a:i}),i},(()=>{var o,i=Object.getPrototypeOf?u=>Object.getPrototypeOf(u):u=>u.__proto__;r.t=function(u,f){if(1&f&&(u=this(u)),8&f||typeof u=="object"&&u&&(4&f&&u.__esModule||16&f&&typeof u.then=="function"))return u;var y=Object.create(null);r.r(y);var I={};o=o||[null,i({}),i([]),i(i)];for(var D=2&f&&u;typeof D=="object"&&!~o.indexOf(D);D=i(D))Object.getOwnPropertyNames(D).forEach(R=>{I[R]=()=>u[R]});return I.default=()=>u,r.d(y,I),y}})(),r.d=(o,i)=>{for(var u in i)r.o(i,u)&&!r.o(o,u)&&Object.defineProperty(o,u,{enumerable:!0,get:i[u]})},r.f={},r.e=o=>Promise.all(Object.keys(r.f).reduce((i,u)=>(r.f[u](o,i),i),[])),r.hmd=o=>((o=Object.create(o)).children||(o.children=[]),Object.defineProperty(o,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+o.id)}}),o),r.u=o=>""+(o==="199"?"cookieSuffix":o)+"_clerk.headless_"+r.h().slice(0,6)+"_5.109.2.js",r.h=()=>"15b4b7b8a54edb47",r.g=(()=>{if(typeof globalThis=="object")return globalThis;try{return iy||Function("return this")()}catch{if(typeof window=="object")return window}})(),r.o=(o,i)=>Object.prototype.hasOwnProperty.call(o,i),(()=>{var o={},i="@clerk/clerk-js:";r.l=function(u,f,y,I){if(o[u])return void o[u].push(f);if(y!==void 0)for(var D,R,z=document.getElementsByTagName("script"),V=0;V<z.length;V++){var $=z[V];if($.getAttribute("src")==u||$.getAttribute("data-webpack")==i+y){D=$;break}}D||(R=!0,(D=document.createElement("script")).charset="utf-8",D.timeout=120,r.nc&&D.setAttribute("nonce",r.nc),D.setAttribute("data-webpack",i+y),D.src=u),o[u]=[f];var te=function(oe,ce){D.onerror=D.onload=null,clearTimeout(re);var xe=o[u];if(delete o[u],D.parentNode&&D.parentNode.removeChild(D),xe&&xe.forEach(function(Me){return Me(ce)}),oe)return oe(ce)},re=setTimeout(te.bind(null,void 0,{type:"timeout",target:D}),12e4);D.onerror=te.bind(null,D.onerror),D.onload=te.bind(null,D.onload),R&&document.head.appendChild(D)}})(),r.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.p="",(()=>{var o={994:0};r.f.j=function(f,y){var I=r.o(o,f)?o[f]:void 0;if(I!==0)if(I)y.push(I[2]);else{var D=new Promise((V,$)=>I=o[f]=[V,$]);y.push(I[2]=D);var R=r.p+r.u(f),z=Error();r.l(R,function(V){if(r.o(o,f)&&((I=o[f])!==0&&(o[f]=void 0),I)){var $=V&&(V.type==="load"?"missing":V.type),te=V&&V.target&&V.target.src;z.message="Loading chunk "+f+` failed.
372
- (`+$+": "+te+")",z.name="ChunkLoadError",z.type=$,z.request=te,I[1](z)}},"chunk-"+f,f)}};var i=(f,y)=>{var I,D,R=y[0],z=y[1],V=y[2],$=0;if(R.some(te=>o[te]!==0)){for(I in z)r.o(z,I)&&(r.m[I]=z[I]);V&&V(r)}for(f&&f(y);$<R.length;$++)D=R[$],r.o(o,D)&&o[D]&&o[D][0](),o[D]=0},u=globalThis.webpackChunk_clerk_clerk_js=globalThis.webpackChunk_clerk_clerk_js||[];u.forEach(i.bind(null,0)),u.push=i.bind(null,u.push.bind(u))})(),r(3822)})())});var R6=On((Kse,w6)=>{"use strict";x();w6.exports=Q6()});async function T6(e){let t=new mV(e);return await t.load({standardBrowser:!1}),t}async function U6(e,t){let r=await e.client?.signIn.create({ticket:t,strategy:"ticket"});if(!r||!r.createdSessionId)throw new Error("Failed to sign in.");return{createdSessionId:r.createdSessionId}}var N6,mV,k6=Y(()=>{"use strict";x();N6=vt(R6(),1),mV=N6.default.Clerk});async function k1(e,t){await e.fsPromise.stat(t).then(()=>!0).catch(()=>!1)||await e.fsPromise.mkdir(t,{recursive:!0})}function ry(e){if(!e.path)throw new Error("No `path` found in context.");if(!e.os)throw new Error("No `os` found in context.");let t=e.os.homedir();return e.path.join(t,".swirls")}var O1=Y(()=>{"use strict";x()});function F1(e){return`${ry(e)}/credentials`}async function O6(e){let t=F1(e);await e.fsPromise.stat(t).then(()=>!0).catch(()=>!1)&&await e.fsPromise.unlink(t)}async function y0(e){let t=F1(e),r=await e.fsPromise.readFile(t,"utf8");return jA(EV,JSON.parse(r))}async function z1(e,t,r,o){let i=F1(e);await k1(e,ry(e)),await e.fsPromise.writeFile(i,JSON.stringify({idToken:t,jwt:r,sessionId:o}))}var EV,M1=Y(()=>{"use strict";x();hg();O1();EV=Vd({idToken:ol(),jwt:ol(),sessionId:ol()})});import F6 from"fs";function yV(){try{return F6.statSync("/.dockerenv"),!0}catch{return!1}}function vV(){try{return F6.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function $1(){return L1===void 0&&(L1=yV()||vV()),L1}var L1,z6=Y(()=>{"use strict";x()});import CV from"fs";function gg(){return H1===void 0&&(H1=IV()||$1()),H1}var H1,IV,G1=Y(()=>{"use strict";x();z6();IV=()=>{try{return CV.statSync("/run/.containerenv"),!0}catch{return!1}}});import L6 from"process";import _V from"os";import BV from"fs";var M6,Zd,P1=Y(()=>{"use strict";x();G1();M6=()=>{if(L6.platform!=="linux")return!1;if(_V.release().toLowerCase().includes("microsoft"))return!gg();try{return BV.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!gg():!1}catch{return!1}},Zd=L6.env.__IS_WSL_TEST__?M6:M6()});import $6 from"process";import H6,{constants as DV}from"fs/promises";var SV,bV,j1,G6=Y(()=>{"use strict";x();P1();P1();SV=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let r="/etc/wsl.conf",o=!1;try{await H6.access(r,DV.F_OK),o=!0}catch{}if(!o)return e;let i=await H6.readFile(r,{encoding:"utf8"}),u=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(i);return u?(t=u.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),bV=async()=>`${await SV()}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`,j1=async()=>Zd?bV():`${$6.env.SYSTEMROOT||$6.env.windir||String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`});function Yd(e,t,r){let o=i=>Object.defineProperty(e,t,{value:i,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let i=r();return o(i),i},set(i){o(i)}}),e}var P6=Y(()=>{"use strict";x()});import{promisify as xV}from"util";import QV from"process";import{execFile as wV}from"child_process";async function J1(){if(QV.platform!=="darwin")throw new Error("macOS only");let{stdout:e}=await RV("defaults",["read","com.apple.LaunchServices/com.apple.launchservices.secure","LSHandlers"]),r=/LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(e)?.groups.id??"com.apple.Safari";return r==="com.apple.safari"?"com.apple.Safari":r}var RV,j6=Y(()=>{"use strict";x();RV=xV(wV)});import NV from"process";import{promisify as TV}from"util";import{execFile as UV,execFileSync as Nle}from"child_process";async function J6(e,{humanReadableOutput:t=!0,signal:r}={}){if(NV.platform!=="darwin")throw new Error("macOS only");let o=t?[]:["-ss"],i={};r&&(i.signal=r);let{stdout:u}=await kV("osascript",["-e",e,o],i);return u.trim()}var kV,V6=Y(()=>{"use strict";x();kV=TV(UV)});async function V1(e){return J6(`tell application "Finder" to set app_path to application file id "${e}" as string
373
- tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`)}var K6=Y(()=>{"use strict";x();V6()});import{promisify as OV}from"util";import{execFile as FV}from"child_process";async function Z1(e=zV){let{stdout:t}=await e("reg",["QUERY"," HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice","/v","ProgId"]),r=/ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(t);if(!r)throw new K1(`Cannot find Windows browser in stdout: ${JSON.stringify(t)}`);let{id:o}=r.groups,i=o.lastIndexOf("."),u=o.lastIndexOf("-"),f=i===-1?void 0:o.slice(0,i),y=u===-1?void 0:o.slice(0,u);return v0[o]??v0[f]??v0[y]??{name:o,id:o}}var zV,v0,Lle,K1,Z6=Y(()=>{"use strict";x();zV=OV(FV),v0={MSEdgeHTM:{name:"Edge",id:"com.microsoft.edge"},MSEdgeBHTML:{name:"Edge Beta",id:"com.microsoft.edge.beta"},MSEdgeDHTML:{name:"Edge Dev",id:"com.microsoft.edge.dev"},AppXq0fevzme2pys62n3e0fbqa7peapykr8v:{name:"Edge",id:"com.microsoft.edge.old"},ChromeHTML:{name:"Chrome",id:"com.google.chrome"},ChromeBHTML:{name:"Chrome Beta",id:"com.google.chrome.beta"},ChromeDHTML:{name:"Chrome Dev",id:"com.google.chrome.dev"},ChromiumHTM:{name:"Chromium",id:"org.chromium.Chromium"},BraveHTML:{name:"Brave",id:"com.brave.Browser"},BraveBHTML:{name:"Brave Beta",id:"com.brave.Browser.beta"},BraveDHTML:{name:"Brave Dev",id:"com.brave.Browser.dev"},BraveSSHTM:{name:"Brave Nightly",id:"com.brave.Browser.nightly"},FirefoxURL:{name:"Firefox",id:"org.mozilla.firefox"},OperaStable:{name:"Opera",id:"com.operasoftware.Opera"},VivaldiHTM:{name:"Vivaldi",id:"com.vivaldi.Vivaldi"},"IE.HTTP":{name:"Internet Explorer",id:"com.microsoft.ie"}},Lle=new Map(Object.entries(v0)),K1=class extends Error{}});import{promisify as MV}from"util";import Y1 from"process";import{execFile as LV}from"child_process";async function q1(){if(Y1.platform==="darwin"){let e=await J1();return{name:await V1(e),id:e}}if(Y1.platform==="linux"){let{stdout:e}=await $V("xdg-mime",["query","default","x-scheme-handler/http"]),t=e.trim();return{name:HV(t.replace(/.desktop$/,"").replace("-"," ")),id:t}}if(Y1.platform==="win32")return Z1();throw new Error("Only macOS, Linux, and Windows are supported")}var $V,HV,Y6=Y(()=>{"use strict";x();j6();K6();Z6();$V=MV(LV),HV=e=>e.toLowerCase().replaceAll(/(?:^|\s|-)\S/g,t=>t.toUpperCase())});import t3 from"process";import{Buffer as n3}from"buffer";import i3 from"path";import{fileURLToPath as GV}from"url";import{promisify as PV}from"util";import r3 from"child_process";import jV,{constants as JV}from"fs/promises";async function KV(){let e=await j1(),t=String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`,r=n3.from(t,"utf16le").toString("base64"),{stdout:o}=await VV(e,["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand",r],{encoding:"utf8"}),i=o.trim(),u={ChromeHTML:"com.google.chrome",BraveHTML:"com.brave.Browser",MSEdgeHTM:"com.microsoft.edge",FirefoxURL:"org.mozilla.firefox"};return u[i]?{id:u[i]}:{}}function e3(e){if(typeof e=="string"||Array.isArray(e))return e;let{[W6]:t}=e;if(!t)throw new Error(`${W6} is not supported`);return t}function I0({[mg]:e},{wsl:t}){if(t&&Zd)return e3(t);if(!e)throw new Error(`${mg} is not supported`);return e3(e)}var VV,W1,q6,mg,W6,X6,C0,ZV,sp,_0,X1=Y(()=>{"use strict";x();G6();P6();Y6();G1();VV=PV(r3.execFile),W1=i3.dirname(GV(import.meta.url)),q6=i3.join(W1,"xdg-open"),{platform:mg,arch:W6}=t3;X6=async(e,t)=>{let r;for(let o of e)try{return await t(o)}catch(i){r=i}throw r},C0=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return X6(e.app,y=>C0({...e,app:y}));let{name:t,arguments:r=[]}=e.app??{};if(r=[...r],Array.isArray(t))return X6(t,y=>C0({...e,app:{name:y,arguments:r}}));if(t==="browser"||t==="browserPrivate"){let y={"com.google.chrome":"chrome","google-chrome.desktop":"chrome","com.brave.Browser":"brave","org.mozilla.firefox":"firefox","firefox.desktop":"firefox","com.microsoft.msedge":"edge","com.microsoft.edge":"edge","com.microsoft.edgemac":"edge","microsoft-edge.desktop":"edge"},I={chrome:"--incognito",brave:"--incognito",firefox:"--private-window",edge:"--inPrivate"},D=Zd?await KV():await q1();if(D.id in y){let R=y[D.id];return t==="browserPrivate"&&r.push(I[R]),C0({...e,app:{name:sp[R],arguments:r}})}throw new Error(`${D.name} is not supported as a default browser`)}let o,i=[],u={};if(mg==="darwin")o="open",e.wait&&i.push("--wait-apps"),e.background&&i.push("--background"),e.newInstance&&i.push("--new"),t&&i.push("-a",t);else if(mg==="win32"||Zd&&!gg()&&!t){o=await j1(),i.push("-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand"),Zd||(u.windowsVerbatimArguments=!0);let y=["Start"];e.wait&&y.push("-Wait"),t?(y.push(`"\`"${t}\`""`),e.target&&r.push(e.target)):e.target&&y.push(`"${e.target}"`),r.length>0&&(r=r.map(I=>`"\`"${I}\`""`),y.push("-ArgumentList",r.join(","))),e.target=n3.from(y.join(" "),"utf16le").toString("base64")}else{if(t)o=t;else{let y=!W1||W1==="/",I=!1;try{await jV.access(q6,JV.X_OK),I=!0}catch{}o=t3.versions.electron??(mg==="android"||y||!I)?"xdg-open":q6}r.length>0&&i.push(...r),e.wait||(u.stdio="ignore",u.detached=!0)}mg==="darwin"&&r.length>0&&i.push("--args",...r),e.target&&i.push(e.target);let f=r3.spawn(o,i,u);return e.wait?new Promise((y,I)=>{f.once("error",I),f.once("close",D=>{if(!e.allowNonzeroExitCode&&D>0){I(new Error(`Exited with code ${D}`));return}y(f)})}):(f.unref(),f)},ZV=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return C0({...t,target:e})};sp={};Yd(sp,"chrome",()=>I0({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));Yd(sp,"brave",()=>I0({darwin:"brave browser",win32:"brave",linux:["brave-browser","brave"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe",x64:["/mnt/c/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe","/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe"]}}));Yd(sp,"firefox",()=>I0({darwin:"firefox",win32:String.raw`C:\Program Files\Mozilla Firefox\firefox.exe`,linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));Yd(sp,"edge",()=>I0({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));Yd(sp,"browser",()=>"browser");Yd(sp,"browserPrivate",()=>"browserPrivate");_0=ZV});function a3(e=32){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=new Uint8Array(e);crypto.getRandomValues(r);let o="";for(let i of r)o+=t[i%t.length];return o}function o3(e){let t=new URLSearchParams({client_id:e.clientId,redirect_uri:e.redirectUri,response_type:"code",scope:"openid profile email",state:e.state});_0(`${e.authorizeUri}?${t}`)}var s3=Y(()=>{"use strict";x();X1()});function l3(e){return e[0]??{}}function up(e){return Array.isArray(e)?e:e==null?[]:[e]}function t2(e){let t;return()=>{if(t)return t.result;let r=e();return t={result:r},r}}function WV(e){let t=Promise.resolve();return(...r)=>t=t.catch(()=>{}).then(()=>e(...r))}function ay(){return globalThis[eK]}function D0(e,t={},r){return ay()?.tracer?.startSpan(e,t,r)}function qd(e,t,r={}){if(!e)return;let o=tK(t);e.recordException(o),(!r.signal?.aborted||r.signal.reason!==t)&&e.setStatus({code:XV,message:o.message})}function tK(e){if(e instanceof Error){let t={message:e.message,name:e.name,stack:e.stack};return"code"in e&&(typeof e.code=="string"||typeof e.code=="number")&&(t.code=e.code),t}return{message:String(e)}}async function cp({name:e,context:t,...r},o){let i=ay()?.tracer;if(!i)return o();let u=async f=>{try{return await o(f)}catch(y){throw qd(f,y,r),y}finally{f.end()}};return t?i.startActiveSpan(e,r,t,u):i.startActiveSpan(e,r,u)}async function lp(e,t){let r=ay();if(!e||!r)return t();let o=r.trace.setSpan(r.context.active(),e);return r.context.with(o,t)}function VA(e){return!e||typeof e!="object"?!1:"next"in e&&typeof e.next=="function"&&Symbol.asyncIterator in e&&typeof e[Symbol.asyncIterator]=="function"}function n2({name:e,...t},r){let o;return new JA(async()=>{o??=D0(e);try{let i=await lp(o,()=>r.next());return o?.addEvent(i.done?"completed":"yielded"),i}catch(i){throw qd(o,i,t),i}},async i=>{try{i!=="next"&&await lp(o,()=>r.return?.())}catch(u){throw qd(o,u,t),u}finally{o?.end()}})}function i2(e){return async(t,...r)=>{try{return await t.next()}catch(o){throw await e(o,t,...r),o}}}function oy(e,t,r){let o=(i,u)=>{let f=e[u];return f?f({...i,next:(y=i)=>o(y,u+1)}):r(i)};return o(t,0)}function sy(e){if(e)return JSON.parse(e)}function Ap(e){return JSON.stringify(e)}function u3(e){return jc(e)?Object.getPrototypeOf(e)?.constructor:null}function S0(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||!t||!t.constructor}function jc(e){return!!e&&(typeof e=="object"||typeof e=="function")}function ly(e,...t){return typeof e=="function"?e(...t):e}function r2(e){return new Proxy(e,{get(t,r,o){let i=Reflect.get(t,r,o);return r!=="then"||typeof i!="function"?i:new Proxy(i,{apply(u,f,y){if(y.length!==2||y.some(D=>!aK(D)))return Reflect.apply(u,f,y);let I=!0;y[0].call(f,r2(new Proxy(t,{get:(D,R,z)=>{if(I&&R==="then"){I=!1;return}return Reflect.get(D,R,z)}})))}})}})}function aK(e){return typeof e=="function"&&rK.test(e.toString())}function c3(e){try{return decodeURIComponent(e)}catch{return e}}var e2,YV,qV,B0,XV,eK,nK,iK,JA,rK,KA=Y(()=>{"use strict";x();e2="orpc",YV="@orpc/shared",qV="1.12.2",B0=class extends Error{constructor(...t){super(...t),this.name="AbortError"}};XV=2,eK=`__${YV}@${qV}/otel/config__`;nK=Symbol.for("asyncDispose"),iK=Symbol.asyncDispose??nK,JA=class{#n=!1;#r=!1;#i;#s;constructor(t,r){this.#i=r,this.#s=WV(async()=>{if(this.#n)return{done:!0,value:void 0};try{let o=await t();return o.done&&(this.#n=!0),o}catch(o){throw this.#n=!0,o}finally{this.#n&&!this.#r&&(this.#r=!0,await this.#i("next"))}})}next(){return this.#s()}async return(t){return this.#n=!0,this.#r||(this.#r=!0,await this.#i("return")),{done:!0,value:t}}async throw(t){throw this.#n=!0,this.#r||(this.#r=!0,await this.#i("throw")),t}async[iK](){this.#n=!0,this.#r||(this.#r=!0,await this.#i("dispose"))}[Symbol.asyncIterator](){return this}};rK=/^\s*function\s*\(\)\s*\{\s*\[native code\]\s*\}\s*$/});function f3(e,t){return t??uy[e]?.status??500}function p3(e,t){return t||uy[e]?.message||e}function o2(e){return e instanceof ZA?e:new ZA("INTERNAL_SERVER_ERROR",{message:"Internal server error",cause:e})}function cy(e){return e<200||e>=400}function b0(e){if(!S0(e))return!1;let t=["defined","code","status","message","data"];return Object.keys(e).some(r=>!t.includes(r))?!1:"defined"in e&&typeof e.defined=="boolean"&&"code"in e&&typeof e.code=="string"&&"status"in e&&typeof e.status=="number"&&cy(e.status)&&"message"in e&&typeof e.message=="string"}function x0(e,t={}){return new ZA(e.code,{...t,...e})}var A3,d3,uy,h3,a2,ZA,Ay=Y(()=>{"use strict";x();KA();A3="@orpc/client",d3="1.12.2",uy={BAD_REQUEST:{status:400,message:"Bad Request"},UNAUTHORIZED:{status:401,message:"Unauthorized"},FORBIDDEN:{status:403,message:"Forbidden"},NOT_FOUND:{status:404,message:"Not Found"},METHOD_NOT_SUPPORTED:{status:405,message:"Method Not Supported"},NOT_ACCEPTABLE:{status:406,message:"Not Acceptable"},TIMEOUT:{status:408,message:"Request Timeout"},CONFLICT:{status:409,message:"Conflict"},PRECONDITION_FAILED:{status:412,message:"Precondition Failed"},PAYLOAD_TOO_LARGE:{status:413,message:"Payload Too Large"},UNSUPPORTED_MEDIA_TYPE:{status:415,message:"Unsupported Media Type"},UNPROCESSABLE_CONTENT:{status:422,message:"Unprocessable Content"},TOO_MANY_REQUESTS:{status:429,message:"Too Many Requests"},CLIENT_CLOSED_REQUEST:{status:499,message:"Client Closed Request"},INTERNAL_SERVER_ERROR:{status:500,message:"Internal Server Error"},NOT_IMPLEMENTED:{status:501,message:"Not Implemented"},BAD_GATEWAY:{status:502,message:"Bad Gateway"},SERVICE_UNAVAILABLE:{status:503,message:"Service Unavailable"},GATEWAY_TIMEOUT:{status:504,message:"Gateway Timeout"}};h3=Symbol.for(`__${A3}@${d3}/error/ORPC_ERROR_CONSTRUCTORS__`);globalThis[h3]??=new WeakSet;a2=globalThis[h3],ZA=class extends Error{defined;code;status;data;constructor(t,...r){let o=l3(r);if(o.status!==void 0&&!cy(o.status))throw new Error("[ORPCError] Invalid error status code.");let i=p3(t,o.message);super(i,o),this.code=t,this.status=f3(t,o.status),this.defined=o.defined??!1,this.data=o.data}toJSON(){return{defined:this.defined,code:this.code,status:this.status,message:this.message,data:this.data}}static[Symbol.hasInstance](t){if(a2.has(this)){let r=u3(t);if(r&&a2.has(r))return!0}return super[Symbol.hasInstance](t)}};a2.add(ZA)});function oK(e){let t=e.replace(/\n+$/,"").split(/\n/),r={data:void 0,event:void 0,id:void 0,retry:void 0,comments:[]};for(let o of t){let i=o.indexOf(":"),u=i===-1?o:o.slice(0,i),f=i===-1?"":o.slice(i+1).replace(/^\s/,"");if(i===0)r.comments.push(f);else if(u==="data")r.data??="",r.data+=`${f}
374
- `;else if(u==="event")r.event=f;else if(u==="id")r.id=f;else if(u==="retry"){let y=Number.parseInt(f);Number.isInteger(y)&&y>=0&&y.toString()===f&&(r.retry=y)}}return r.data=r.data?.replace(/\n$/,""),r}function g3(e){if(e.includes(`
375
- `))throw new Eg("Event's id must not contain a newline character")}function sK(e){if(e.includes(`
376
- `))throw new Eg("Event's event must not contain a newline character")}function m3(e){if(!Number.isInteger(e)||e<0)throw new Eg("Event's retry must be a integer and >= 0")}function E3(e){if(e.includes(`
377
- `))throw new Eg("Event's comment must not contain a newline character")}function lK(e){let t=e?.split(/\n/)??[],r="";for(let o of t)r+=`data: ${o}
378
- `;return r}function uK(e){let t="";for(let r of e??[])E3(r),t+=`: ${r}
379
- `;return t}function dy(e){let t="";return t+=uK(e.comments),e.event!==void 0&&(sK(e.event),t+=`event: ${e.event}
380
- `),e.retry!==void 0&&(m3(e.retry),t+=`retry: ${e.retry}
381
- `),e.id!==void 0&&(g3(e.id),t+=`id: ${e.id}
382
- `),t+=lK(e.data),t+=`
383
- `,t}function dp(e,t){if(t.id===void 0&&t.retry===void 0&&!t.comments?.length)return e;if(t.id!==void 0&&g3(t.id),t.retry!==void 0&&m3(t.retry),t.comments!==void 0)for(let r of t.comments)E3(r);return new Proxy(e,{get(r,o,i){return o===y3?t:Reflect.get(r,o,i)}})}function yg(e){return jc(e)?Reflect.get(e,y3):void 0}function v3(e){let t=e.replace(/"/g,'\\"'),r=encodeURIComponent(e).replace(/['()*]/g,o=>`%${o.charCodeAt(0).toString(16).toUpperCase()}`).replace(/%(7C|60|5E)/g,(o,i)=>String.fromCharCode(Number.parseInt(i,16)));return`inline; filename="${t}"; filename*=utf-8''${r}`}function C3(e){let t=e.match(/filename\*=(UTF-8'')?([^;]*)/i);if(t&&typeof t[2]=="string")return c3(t[2]);let r=e.match(/filename="((?:\\"|[^"])*)"/i);if(r&&typeof r[1]=="string")return r[1].replace(/\\"/g,'"')}function I3(e,t){let r={...e};for(let o in t)Array.isArray(t[o])?r[o]=[...up(r[o]),...t[o]]:t[o]!==void 0&&(Array.isArray(r[o])?r[o]=[...r[o],t[o]]:r[o]!==void 0?r[o]=[r[o],t[o]]:r[o]=t[o]);return r}var Eg,s2,ic,l2,Q0,y3,vg=Y(()=>{"use strict";x();KA();Eg=class extends TypeError{},s2=class extends TypeError{},ic=class extends Error{data;constructor(t){super(t?.message??"An error event was received",t),this.data=t?.data}};l2=class{constructor(t={}){this.options=t}incomplete="";feed(t){this.incomplete+=t;let r=this.incomplete.lastIndexOf(`
384
-
385
- `);if(r===-1)return;let o=this.incomplete.slice(0,r).split(/\n\n/);this.incomplete=this.incomplete.slice(r+2);for(let i of o){let u=oK(`${i}
386
-
387
- `);this.options.onEvent&&this.options.onEvent(u)}this.incomplete=""}end(){if(this.incomplete)throw new s2("Event Iterator ended before complete")}},Q0=class extends TransformStream{constructor(){let t;super({start(r){t=new l2({onEvent:o=>{r.enqueue(o)}})},transform(r){t.feed(r)},flush(){t.end()}})}};y3=Symbol("ORPC_EVENT_SOURCE_META")});function w0(e,t){let r=async o=>{let i=await t.error(o);if(i!==o){let u=yg(o);u&&jc(i)&&(i=dp(i,u))}return i};return new JA(async()=>{let{done:o,value:i}=await(async()=>{try{return await e.next()}catch(f){throw await r(f)}})(),u=await t.value(i,o);if(u!==i){let f=yg(i);f&&jc(u)&&(u=dp(u,f))}return{done:o,value:u}},async()=>{try{await e.return?.()}catch(o){throw await r(o)}})}var R0=Y(()=>{"use strict";x();KA();vg()});function cK(e){return{...e,context:e.context??{}}}function u2(e,t={}){let r=t.path??[],o=async(...[u,f={}])=>await e.call(r,u,cK(f)),i=new Proxy(o,{get(u,f){return typeof f!="string"?Reflect.get(u,f):u2(e,{...t,path:[...r,f]})}});return r2(i)}var _3=Y(()=>{"use strict";x();KA();KA();Ay();Ay();R0();vg()});function AK(e,t={}){let o=e?.pipeThrough(new TextDecoderStream).pipeThrough(new Q0)?.getReader(),i,u=!1;return new JA(async()=>{i??=D0("consume_event_iterator_stream");try{for(;;){if(o===void 0)return{done:!0,value:void 0};let{done:f,value:y}=await lp(i,()=>o.read());if(f){if(u)throw new B0("Stream was cancelled");return{done:!0,value:void 0}}switch(y.event){case"message":{let I=sy(y.data);return jc(I)&&(I=dp(I,y)),i?.addEvent("message"),{done:!1,value:I}}case"error":{let I=new ic({data:sy(y.data)});throw I=dp(I,y),i?.addEvent("error"),I}case"done":{let I=sy(y.data);return jc(I)&&(I=dp(I,y)),i?.addEvent("done"),{done:!0,value:I}}default:i?.addEvent("maybe_keepalive")}}}catch(f){throw f instanceof ic||qd(i,f,t),f}},async f=>{try{f!=="next"&&(u=!0,i?.addEvent("cancelled")),await lp(i,()=>o?.cancel())}catch(y){throw qd(i,y,t),y}finally{i?.end()}})}function dK(e,t={}){let r=t.eventIteratorKeepAliveEnabled??!0,o=t.eventIteratorKeepAliveInterval??5e3,i=t.eventIteratorKeepAliveComment??"",u=t.eventIteratorInitialCommentEnabled??!0,f=t.eventIteratorInitialComment??"",y=!1,I,D;return new ReadableStream({start(z){D=D0("stream_event_iterator"),u&&z.enqueue(dy({comments:[f]}))},async pull(z){try{r&&(I=setInterval(()=>{z.enqueue(dy({comments:[i]})),D?.addEvent("keepalive")},o));let V=await lp(D,()=>e.next());if(clearInterval(I),y)return;let $=yg(V.value);if(!V.done||V.value!==void 0||$!==void 0){let te=V.done?"done":"message";z.enqueue(dy({...$,event:te,data:Ap(V.value)})),D?.addEvent(te)}V.done&&(z.close(),D?.end())}catch(V){if(clearInterval(I),y)return;V instanceof ic?(z.enqueue(dy({...yg(V),event:"error",data:Ap(V.data)})),D?.addEvent("error"),z.close()):(qd(D,V),z.error(V)),D?.end()}},async cancel(){try{y=!0,clearInterval(I),D?.addEvent("cancelled"),await lp(D,()=>e.return?.())}catch(z){throw qd(D,z),z}finally{D?.end()}}}).pipeThrough(new TextEncoderStream)}function fK(e,t={}){return cp({name:"parse_standard_body",signal:t.signal},async()=>{let r=e.headers.get("content-disposition");if(typeof r=="string"){let u=C3(r)??"blob",f=await e.blob();return new File([f],u,{type:f.type})}let o=e.headers.get("content-type");if(!o||o.startsWith("application/json")){let u=await e.text();return sy(u)}if(o.startsWith("multipart/form-data"))return await e.formData();if(o.startsWith("application/x-www-form-urlencoded")){let u=await e.text();return new URLSearchParams(u)}if(o.startsWith("text/event-stream"))return AK(e.body,t);if(o.startsWith("text/plain"))return await e.text();let i=await e.blob();return new File([i],"blob",{type:i.type})})}function pK(e,t,r={}){let o=t.get("content-disposition");if(t.delete("content-type"),t.delete("content-disposition"),e!==void 0)return e instanceof Blob?(t.set("content-type",e.type),t.set("content-length",e.size.toString()),t.set("content-disposition",o??v3(e instanceof File?e.name:"blob")),e):e instanceof FormData||e instanceof URLSearchParams?e:VA(e)?(t.set("content-type","text/event-stream"),dK(e,r)):(t.set("content-type","application/json"),Ap(e))}function c2(e,t={}){return e.forEach((r,o)=>{Array.isArray(t[o])?t[o].push(r):t[o]!==void 0?t[o]=[t[o],r]:t[o]=r}),t}function hK(e,t=new Headers){for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let i of o)t.append(r,i);else o!==void 0&&t.append(r,o);return t}function B3(e,t={}){let r=hK(e.headers),o=pK(e.body,r,t);return new Request(e.url,{signal:e.signal,method:e.method,headers:r,body:o})}function D3(e,t={}){return{body:t2(()=>fK(e,t)),status:e.status,get headers(){let r=c2(e.headers);return Object.defineProperty(this,"headers",{value:r,writable:!0}),r},set headers(r){Object.defineProperty(this,"headers",{value:r,writable:!0})}}}var A2=Y(()=>{"use strict";x();KA();vg()});function gK(e){return`/${e.map(encodeURIComponent).join("/")}`}function mK(e){return typeof e.forEach=="function"?c2(e):e}function EK(e){return Object.entries(uy).find(([,t])=>t.status===e)?.[0]??"MALFORMED_ORPC_ERROR_RESPONSE"}var fy,d2,is,f2,p2,h2,N0,S3=Y(()=>{"use strict";x();KA();vg();Ay();A2();R0();fy=class{plugins;constructor(t=[]){this.plugins=[...t].sort((r,o)=>(r.order??0)-(o.order??0))}init(t){for(let r of this.plugins)r.init?.(t)}},d2=class{constructor(t,r,o={}){this.codec=t,this.sender=r,new fy(o.plugins).init(o),this.interceptors=up(o.interceptors),this.clientInterceptors=up(o.clientInterceptors)}interceptors;clientInterceptors;call(t,r,o){return cp({name:`${e2}.${t.join("/")}`,signal:o.signal},i=>(i?.setAttribute("rpc.system",e2),i?.setAttribute("rpc.method",t.join(".")),VA(r)&&(r=n2({name:"consume_event_iterator_input",signal:o.signal},r)),oy(this.interceptors,{...o,path:t,input:r},async({path:u,input:f,...y})=>{let I=ay(),D,R=I?.trace.getActiveSpan()??i;R&&I&&(D=I?.trace.setSpan(I.context.active(),R));let z=await cp({name:"encode_request",context:D},()=>this.codec.encode(u,f,y)),V=await oy(this.clientInterceptors,{...y,input:f,path:u,request:z},({input:te,path:re,request:oe,...ce})=>cp({name:"send_request",signal:ce.signal,context:D},()=>this.sender.call(oe,ce,re,te))),$=await cp({name:"decode_response",context:D},()=>this.codec.decode(V,y,u,f));return VA($)?n2({name:"consume_event_iterator_output",signal:y.signal},$):$})))}},is={BIGINT:0,DATE:1,NAN:2,UNDEFINED:3,URL:4,REGEXP:5,SET:6,MAP:7},f2=class{customSerializers;constructor(t={}){if(this.customSerializers=t.customJsonSerializers??[],this.customSerializers.length!==new Set(this.customSerializers.map(r=>r.type)).size)throw new Error("Custom serializer type must be unique.")}serialize(t,r=[],o=[],i=[],u=[]){for(let f of this.customSerializers)if(f.condition(t)){let y=this.serialize(f.serialize(t),r,o,i,u);return o.push([f.type,...r]),y}if(t instanceof Blob)return i.push(r),u.push(t),[t,o,i,u];if(typeof t=="bigint")return o.push([is.BIGINT,...r]),[t.toString(),o,i,u];if(t instanceof Date)return o.push([is.DATE,...r]),Number.isNaN(t.getTime())?[null,o,i,u]:[t.toISOString(),o,i,u];if(Number.isNaN(t))return o.push([is.NAN,...r]),[null,o,i,u];if(t instanceof URL)return o.push([is.URL,...r]),[t.toString(),o,i,u];if(t instanceof RegExp)return o.push([is.REGEXP,...r]),[t.toString(),o,i,u];if(t instanceof Set){let f=this.serialize(Array.from(t),r,o,i,u);return o.push([is.SET,...r]),f}if(t instanceof Map){let f=this.serialize(Array.from(t.entries()),r,o,i,u);return o.push([is.MAP,...r]),f}if(Array.isArray(t))return[t.map((y,I)=>y===void 0?(o.push([is.UNDEFINED,...r,I]),y):this.serialize(y,[...r,I],o,i,u)[0]),o,i,u];if(S0(t)){let f={};for(let y in t)y==="toJSON"&&typeof t[y]=="function"||(f[y]=this.serialize(t[y],[...r,y],o,i,u)[0]);return[f,o,i,u]}return[t,o,i,u]}deserialize(t,r,o,i){let u={data:t};o&&i&&o.forEach((f,y)=>{let I=u,D="data";f.forEach(R=>{I=I[D],D=R}),I[D]=i(y)});for(let f of r){let y=f[0],I=u,D="data";for(let R=1;R<f.length;R++)I=I[D],D=f[R];for(let R of this.customSerializers)if(R.type===y){I[D]=R.deserialize(I[D]);break}switch(y){case is.BIGINT:I[D]=BigInt(I[D]);break;case is.DATE:I[D]=new Date(I[D]??"Invalid Date");break;case is.NAN:I[D]=Number.NaN;break;case is.UNDEFINED:I[D]=void 0;break;case is.URL:I[D]=new URL(I[D]);break;case is.REGEXP:{let[,R,z]=I[D].match(/^\/(.*)\/([a-z]*)$/);I[D]=new RegExp(R,z);break}case is.SET:I[D]=new Set(I[D]);break;case is.MAP:I[D]=new Map(I[D]);break}}return u.data}};p2=class{constructor(t,r){this.serializer=t,this.baseUrl=r.url,this.maxUrlLength=r.maxUrlLength??2083,this.fallbackMethod=r.fallbackMethod??"POST",this.expectedMethod=r.method??this.fallbackMethod,this.headers=r.headers??{}}baseUrl;maxUrlLength;fallbackMethod;expectedMethod;headers;async encode(t,r,o){let i=mK(await ly(this.headers,o,t,r));o.lastEventId!==void 0&&(i=I3(i,{"last-event-id":o.lastEventId}));let u=await ly(this.expectedMethod,o,t,r),f=await ly(this.baseUrl,o,t,r),y=new URL(f);y.pathname=`${y.pathname.replace(/\/$/,"")}${gK(t)}`;let I=this.serializer.serialize(r);if(u==="GET"&&!(I instanceof FormData)&&!VA(I)){let D=await ly(this.maxUrlLength,o,t,r),R=new URL(y);if(R.searchParams.append("data",Ap(I)),R.toString().length<=D)return{body:void 0,method:u,headers:i,url:R,signal:o.signal}}return{url:y,method:u==="GET"?this.fallbackMethod:u,headers:i,body:I,signal:o.signal}}async decode(t){let r=!cy(t.status),o=await(async()=>{let i=!1;try{let u=await t.body();return i=!0,this.serializer.deserialize(u)}catch(u){throw i?new Error("Invalid RPC response format.",{cause:u}):new Error("Cannot parse response body, please check the response body and content-type.",{cause:u})}})();if(!r)throw b0(o)?x0(o):new ZA(EK(t.status),{status:t.status,data:{...t,body:o}});return o}},h2=class{constructor(t){this.jsonSerializer=t}serialize(t){return VA(t)?w0(t,{value:async r=>this.#n(r,!1),error:async r=>new ic({data:this.#n(o2(r).toJSON(),!1),cause:r})}):this.#n(t,!0)}#n(t,r){let[o,i,u,f]=this.jsonSerializer.serialize(t),y=i.length===0?void 0:i;if(!r||f.length===0)return{json:o,meta:y};let I=new FormData;return I.set("data",Ap({json:o,meta:y,maps:u})),f.forEach((D,R)=>{I.set(R.toString(),D)}),I}deserialize(t){return VA(t)?w0(t,{value:async r=>this.#r(r),error:async r=>{if(!(r instanceof ic))return r;let o=this.#r(r.data);return b0(o)?x0(o,{cause:r}):new ic({data:o,cause:r})}}):this.#r(t)}#r(t){if(t===void 0)return;if(!(t instanceof FormData))return this.jsonSerializer.deserialize(t.json,t.meta??[]);let r=JSON.parse(t.get("data"));return this.jsonSerializer.deserialize(r.json,r.meta??[],r.maps,o=>t.get(o.toString()))}},N0=class extends d2{constructor(t,r){let o=new f2(r),i=new h2(o),u=new p2(i,r);super(u,t,r)}}});var g2,m2,T0,b3=Y(()=>{"use strict";x();KA();A2();S3();vg();Ay();R0();g2=class extends fy{initRuntimeAdapter(t){for(let r of this.plugins)r.initRuntimeAdapter?.(t)}},m2=class{fetch;toFetchRequestOptions;adapterInterceptors;constructor(t){new g2(t.plugins).initRuntimeAdapter(t),this.fetch=t.fetch??globalThis.fetch.bind(globalThis),this.toFetchRequestOptions=t,this.adapterInterceptors=up(t.adapterInterceptors)}async call(t,r,o,i){let u=B3(t,this.toFetchRequestOptions),f=await oy(this.adapterInterceptors,{...r,request:u,path:o,input:i,init:{redirect:"manual"}},({request:I,path:D,input:R,init:z,...V})=>this.fetch(I,z,V,D,R));return D3(f,{signal:u.signal})}},T0=class extends N0{constructor(t){let r=new m2(t);super(r,t)}}});var yK,vK,U0,E2=Y(()=>{"use strict";x();hg();yK=Vd({API_URL:ol(),OAUTH_AUTHORIZE_URL:ol()}),vK={API_URL:"https://swirls.ai/api",OAUTH_AUTHORIZE_URL:"https://clerk.swirls.ai/oauth/authorize"},U0=jA(yK,vK)});async function sa(e){let t=new T0({url:`${U0.API_URL}/rpc`,headers:async()=>{let o=await hn(()=>y0(e),f=>new Error("Failed to read credentials file",{cause:f.message}));if(o.failure)return{};let{idToken:i,jwt:u}=o.data;return{Authorization:`Bearer ${u||i}`}},interceptors:[i2(o=>{o instanceof Error&&o.name==="AbortError"||console.error(o)})]});return u2(t)}var Jc=Y(()=>{"use strict";x();wl();_3();b3();M1();E2()});var Q3=On(k0=>{"use strict";x();var CK=Symbol.for("react.transitional.element"),IK=Symbol.for("react.fragment");function x3(e,t,r){var o=null;if(r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),"key"in t){r={};for(var i in t)i!=="key"&&(r[i]=t[i])}else r=t;return t=r.ref,{$$typeof:CK,type:e,key:o,ref:t!==void 0?t:null,props:r}}k0.Fragment=IK;k0.jsx=x3;k0.jsxs=x3});var w3=On(O0=>{"use strict";x();process.env.NODE_ENV!=="production"&&(function(){function e(Ee){if(Ee==null)return null;if(typeof Ee=="function")return Ee.$$typeof===ln?null:Ee.displayName||Ee.name||null;if(typeof Ee=="string")return Ee;switch(Ee){case oe:return"Fragment";case xe:return"Profiler";case ce:return"StrictMode";case Xe:return"Suspense";case k:return"SuspenseList";case Gt:return"Activity"}if(typeof Ee=="object")switch(typeof Ee.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Ee.$$typeof){case re:return"Portal";case Ie:return Ee.displayName||"Context";case Me:return(Ee._context.displayName||"Context")+".Consumer";case it:var Pe=Ee.render;return Ee=Ee.displayName,Ee||(Ee=Pe.displayName||Pe.name||"",Ee=Ee!==""?"ForwardRef("+Ee+")":"ForwardRef"),Ee;case He:return Pe=Ee.displayName||null,Pe!==null?Pe:e(Ee.type)||"Memo";case It:Pe=Ee._payload,Ee=Ee._init;try{return e(Ee(Pe))}catch{}}return null}function t(Ee){return""+Ee}function r(Ee){try{t(Ee);var Pe=!1}catch{Pe=!0}if(Pe){Pe=console;var Qt=Pe.error,wt=typeof Symbol=="function"&&Symbol.toStringTag&&Ee[Symbol.toStringTag]||Ee.constructor.name||"Object";return Qt.call(Pe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",wt),t(Ee)}}function o(Ee){if(Ee===oe)return"<>";if(typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===It)return"<...>";try{var Pe=e(Ee);return Pe?"<"+Pe+">":"<...>"}catch{return"<...>"}}function i(){var Ee=Ht.A;return Ee===null?null:Ee.getOwner()}function u(){return Error("react-stack-top-frame")}function f(Ee){if(Xt.call(Ee,"key")){var Pe=Object.getOwnPropertyDescriptor(Ee,"key").get;if(Pe&&Pe.isReactWarning)return!1}return Ee.key!==void 0}function y(Ee,Pe){function Qt(){Ft||(Ft=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Pe))}Qt.isReactWarning=!0,Object.defineProperty(Ee,"key",{get:Qt,configurable:!0})}function I(){var Ee=e(this.type);return lt[Ee]||(lt[Ee]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Ee=this.props.ref,Ee!==void 0?Ee:null}function D(Ee,Pe,Qt,wt,An,Jn){var un=Qt.ref;return Ee={$$typeof:te,type:Ee,key:Pe,props:Qt,_owner:wt},(un!==void 0?un:null)!==null?Object.defineProperty(Ee,"ref",{enumerable:!1,get:I}):Object.defineProperty(Ee,"ref",{enumerable:!1,value:null}),Ee._store={},Object.defineProperty(Ee._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Ee,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Ee,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:An}),Object.defineProperty(Ee,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Jn}),Object.freeze&&(Object.freeze(Ee.props),Object.freeze(Ee)),Ee}function R(Ee,Pe,Qt,wt,An,Jn){var un=Pe.children;if(un!==void 0)if(wt)if(Ki(un)){for(wt=0;wt<un.length;wt++)z(un[wt]);Object.freeze&&Object.freeze(un)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else z(un);if(Xt.call(Pe,"key")){un=e(Ee);var mi=Object.keys(Pe).filter(function(Ci){return Ci!=="key"});wt=0<mi.length?"{key: someKey, "+mi.join(": ..., ")+": ...}":"{key: someKey}",Dt[un+wt]||(mi=0<mi.length?"{"+mi.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
388
- let props = %s;
389
- <%s {...props} />
390
- React keys must be passed directly to JSX without using spread:
391
- let props = %s;
392
- <%s key={someKey} {...props} />`,wt,un,mi,un),Dt[un+wt]=!0)}if(un=null,Qt!==void 0&&(r(Qt),un=""+Qt),f(Pe)&&(r(Pe.key),un=""+Pe.key),"key"in Pe){Qt={};for(var Lt in Pe)Lt!=="key"&&(Qt[Lt]=Pe[Lt])}else Qt=Pe;return un&&y(Qt,typeof Ee=="function"?Ee.displayName||Ee.name||"Unknown":Ee),D(Ee,un,Qt,i(),An,Jn)}function z(Ee){V(Ee)?Ee._store&&(Ee._store.validated=1):typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===It&&(Ee._payload.status==="fulfilled"?V(Ee._payload.value)&&Ee._payload.value._store&&(Ee._payload.value._store.validated=1):Ee._store&&(Ee._store.validated=1))}function V(Ee){return typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===te}var $=yi(),te=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),ce=Symbol.for("react.strict_mode"),xe=Symbol.for("react.profiler"),Me=Symbol.for("react.consumer"),Ie=Symbol.for("react.context"),it=Symbol.for("react.forward_ref"),Xe=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),He=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),Gt=Symbol.for("react.activity"),ln=Symbol.for("react.client.reference"),Ht=$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xt=Object.prototype.hasOwnProperty,Ki=Array.isArray,Ue=console.createTask?console.createTask:function(){return null};$={react_stack_bottom_frame:function(Ee){return Ee()}};var Ft,lt={},ke=$.react_stack_bottom_frame.bind($,u)(),Ve=Ue(o(u)),Dt={};O0.Fragment=oe,O0.jsx=function(Ee,Pe,Qt){var wt=1e4>Ht.recentlyCreatedOwnerStacks++;return R(Ee,Pe,Qt,!1,wt?Error("react-stack-top-frame"):ke,wt?Ue(o(Ee)):Ve)},O0.jsxs=function(Ee,Pe,Qt){var wt=1e4>Ht.recentlyCreatedOwnerStacks++;return R(Ee,Pe,Qt,!0,wt?Error("react-stack-top-frame"):ke,wt?Ue(o(Ee)):Ve)}})()});var ii=On((vce,y2)=>{"use strict";x();process.env.NODE_ENV==="production"?y2.exports=Q3():y2.exports=w3()});function di(e){return(0,py.jsxs)(Pi,{flexDirection:"column",children:[(0,py.jsx)(ni,{color:"red",children:e.message}),(0,py.jsx)(ni,{children:"If this issue persists, send us an email at help@byteslice.co, and we can help you out."})]})}var py,rc=Y(async()=>{"use strict";x();await ya();py=vt(ii(),1)});function ro(e){return(0,R3.jsx)(ni,{color:"green",children:e.message})}var R3,Vc=Y(async()=>{"use strict";x();await ya();R3=vt(ii(),1)});function N3(e){return(0,T3.jsx)(ni,{color:"yellow",children:e.message})}var T3,U3=Y(async()=>{"use strict";x();await ya();T3=vt(ii(),1)});function _K(e){return`${ry(e)}/project`}async function k3(e){let t=_K(e);await e.fsPromise.stat(t).then(()=>!0).catch(()=>!1)&&await e.fsPromise.unlink(t)}var O3=Y(()=>{"use strict";x();O1()});var v2={};Ea(v2,{login:()=>DK,logout:()=>SK});async function BK(e,t,r){let o=await hn(async()=>await(await sa(e)).cli.exchangeToken({code:r.code}),D=>new Error("Failed to exchange callback code for token",{cause:D.message}));if(o.failure)throw o.failure;await z1(e,o.data.idToken,"","");let i=await hn(async()=>await(await sa(e)).cli.createSignInTicket(),D=>new Error("Failed to exchange ID token code for a sign-in ticket",{cause:D.message}));if(i.failure)throw i.failure;let u=await T6(t.clerkPublishableKey),f=await hn(()=>U6(u,i.data.token),D=>new Error("Failed to create a new sign-in for this device",{cause:D.message}));if(f.failure)throw f.failure;let y=await hn(async()=>await(await sa(e)).cli.createJwt({sessionId:f.data.createdSessionId}),D=>new Error("Failed to create a session JWT",{cause:D.message}));if(y.failure)throw y.failure;let I=await hn(()=>z1(e,o.data.idToken,y.data,f.data.createdSessionId),D=>new Error("Failed to save your credentials to disk",{cause:D.message}));if(I.failure)throw I.failure}async function DK(){let e=await sa(this),t=a3(),r=await hn(()=>e.cli.getConfig(),i=>new Error("Failed to retrieve authentication configuration",{cause:i.message}));r.failure&&(qt((0,Wd.jsx)(di,{message:r.failure.message})),process.exit(1)),o3({authorizeUri:U0.OAUTH_AUTHORIZE_URL,clientId:r.data.clientId,redirectUri:T1,state:t});let o=await hn(()=>_6(async i=>{if(i.state!==t)throw new Error("Invalid state.");await BK(this,r.data,i)}),i=>i);o.failure&&(qt((0,Wd.jsx)(di,{message:o.failure.message})),process.exit(1)),qt((0,Wd.jsx)(ro,{message:"Success! You are now logged in."}))}async function SK(){let e=await hn(()=>y0(this),u=>u);e.failure&&(qt((0,Wd.jsx)(di,{message:"There was an issue reading your credentials. You are probably already logged out."})),process.exit(1));let t=await sa(this),r=await hn(()=>t.cli.getConfig(),u=>new Error("Failed to retrieve authentication configuration",{cause:u.message}));r.failure&&(qt((0,Wd.jsx)(di,{message:r.failure.message})),process.exit(1)),(await hn(async()=>t.cli.revokeSession({sessionId:e.data.sessionId}),u=>u)).failure&&qt((0,Wd.jsx)(N3,{message:"There was an issue revoking your session. You are probably already logged out. Purging credentials file..."}));let i=await hn(async()=>{await O6(this),await k3(this)},u=>u);if(i.failure)throw i.failure;qt((0,Wd.jsx)(ro,{message:"Success! You are now logged out."}))}var Wd,C2=Y(async()=>{"use strict";x();wl();await ya();B6();k6();M1();s3();Jc();await rc();await Vc();await U3();E2();O3();Wd=vt(ii(),1)});var z3=Y(()=>{"use strict";x()});var F0,z0=Y(()=>{"use strict";x();sl();F0=(e,t)=>e.anyOf.length?e.anyOf.length===1?Qi(e.anyOf[0],{...t,path:[...t.path,"anyOf",0]}):`z.union([${e.anyOf.map((r,o)=>Qi(r,{...t,path:[...t.path,"anyOf",o]})).join(", ")}])`:"z.any()"});var M3,I2=Y(()=>{"use strict";x();M3=e=>"z.boolean()"});var L3,_2=Y(()=>{"use strict";x();L3=e=>"z.any()"});var $3,B2=Y(()=>{"use strict";x();sl();$3=(e,t)=>`z.union([${e.type.map(r=>Qi({...e,type:r},{...t,withoutDefaults:!0})).join(", ")}])`});var H3,D2=Y(()=>{"use strict";x();sl();H3=(e,t)=>`z.any().refine((value) => !${Qi(e.not,{...t,path:[...t.path,"not"]})}.safeParse(value).success, "Invalid input: Should NOT be valid against schema")`});var G3,S2=Y(()=>{"use strict";x();G3=e=>"z.null()"});var P3,b2=Y(()=>{"use strict";x();P3=e=>[e.slice(0,e.length/2),e.slice(e.length/2)]});function Cg(e,t){if(e.allOf.length===0)return"z.never()";if(e.allOf.length===1){let r=e.allOf[0];return Qi(r,{...t,path:[...t.path,"allOf",r[hy]]})}else{let[r,o]=P3(QK(e.allOf));return`z.intersection(${Cg({allOf:r},t)}, ${Cg({allOf:o},t)})`}}var hy,QK,M0=Y(()=>{"use strict";x();sl();b2();hy=Symbol("Original index"),QK=e=>{let t=[];for(let r=0;r<e.length;r++){let o=e[r];if(typeof o=="boolean")t.push(o?{[hy]:r}:{[hy]:r,not:{}});else{if(hy in o)return e;t.push({...o,[hy]:r})}}return t}});function la(e,t,r){let o=e[t],i="";if(o!==void 0){let u=r({value:o,json:JSON.stringify(o)});if(u){let f=u[0],y=u.length===3?u[1]:"",I=u.length===3?u[2]:u[1];i+=f,e.errorMessage?.[t]!==void 0&&(i+=y+JSON.stringify(e.errorMessage[t])),i+=I}}return i}var gy=Y(()=>{"use strict";x()});var j3,x2=Y(()=>{"use strict";x();gy();sl();j3=(e,t)=>{if(Array.isArray(e.items))return`z.tuple([${e.items.map((o,i)=>Qi(o,{...t,path:[...t.path,"items",i]}))}])`;let r=e.items?`z.array(${Qi(e.items,{...t,path:[...t.path,"items"]})})`:"z.array(z.any())";return r+=la(e,"minItems",({json:o})=>[`.min(${o}`,", ",")"]),r+=la(e,"maxItems",({json:o})=>[`.max(${o}`,", ",")"]),e.uniqueItems===!0&&(r+=la(e,"uniqueItems",()=>[".unique(","",")"])),r}});var J3,Q2=Y(()=>{"use strict";x();J3=e=>`z.literal(${JSON.stringify(e.const)})`});var V3,w2=Y(()=>{"use strict";x();V3=e=>e.enum.length===0?"z.never()":e.enum.length===1?`z.literal(${JSON.stringify(e.enum[0])})`:e.enum.every(t=>typeof t=="string")?`z.enum([${e.enum.map(t=>JSON.stringify(t))}])`:`z.union([${e.enum.map(t=>`z.literal(${JSON.stringify(t)})`).join(", ")}])`});var K3,R2=Y(()=>{"use strict";x();sl();K3=(e,t)=>{let r=Qi(e.if,{...t,path:[...t.path,"if"]}),o=Qi(e.then,{...t,path:[...t.path,"then"]}),i=Qi(e.else,{...t,path:[...t.path,"else"]});return`z.union([${o}, ${i}]).superRefine((value,ctx) => {
393
- const result = ${r}.safeParse(value).success
394
- ? ${o}.safeParse(value)
395
- : ${i}.safeParse(value);
396
- if (!result.success) {
397
- result.error.errors.forEach((error) => ctx.addIssue(error))
398
- }
399
- })`}});var Z3,N2=Y(()=>{"use strict";x();gy();Z3=e=>{let t="z.number()";return e.type==="integer"?t+=la(e,"type",()=>[".int(",")"]):t+=la(e,"format",({value:r})=>{if(r==="int64")return[".int(",")"]}),t+=la(e,"multipleOf",({value:r,json:o})=>r===1?t.startsWith("z.number().int(")?void 0:[".int(",")"]:[`.multipleOf(${o}`,", ",")"]),typeof e.minimum=="number"?e.exclusiveMinimum===!0?t+=la(e,"minimum",({json:r})=>[`.gt(${r}`,", ",")"]):t+=la(e,"minimum",({json:r})=>[`.gte(${r}`,", ",")"]):typeof e.exclusiveMinimum=="number"&&(t+=la(e,"exclusiveMinimum",({json:r})=>[`.gt(${r}`,", ",")"])),typeof e.maximum=="number"?e.exclusiveMaximum===!0?t+=la(e,"maximum",({json:r})=>[`.lt(${r}`,", ",")"]):t+=la(e,"maximum",({json:r})=>[`.lte(${r}`,", ",")"]):typeof e.exclusiveMaximum=="number"&&(t+=la(e,"exclusiveMaximum",({json:r})=>[`.lt(${r}`,", ",")"])),t}});var L0,$0=Y(()=>{"use strict";x();sl();L0=(e,t)=>e.oneOf.length?e.oneOf.length===1?Qi(e.oneOf[0],{...t,path:[...t.path,"oneOf",0]}):`z.any().superRefine((x, ctx) => {
400
- const schemas = [${e.oneOf.map((r,o)=>Qi(r,{...t,path:[...t.path,"oneOf",o]})).join(", ")}];
401
- const errors = schemas.reduce<z.ZodError[]>(
402
- (errors, schema) =>
403
- ((result) =>
404
- result.error ? [...errors, result.error] : errors)(
405
- schema.safeParse(x),
406
- ),
407
- [],
408
- );
409
- if (schemas.length - errors.length !== 1) {
410
- ctx.addIssue({
411
- path: ctx.path,
412
- code: "invalid_union",
413
- unionErrors: errors,
414
- message: "Invalid input: Should pass single schema",
415
- });
416
- }
417
- })`:"z.any()"});var T2,Y3,H0=Y(()=>{"use strict";x();T2=e=>{let t=e.split(`
418
- `);return`/**${t.length===1?t[0]:`
419
- ${t.map(o=>`* ${o}`).join(`
420
- `)}
421
- `}*/
422
- `},Y3=(e,t)=>{let r=e.description;return r?`
423
- ${T2(r)}${t}`:t}});function q3(e,t){let r;e.properties&&(Object.keys(e.properties).length?(r="z.object({ ",r+=Object.keys(e.properties).map(f=>{let y=e.properties[f],I=`${JSON.stringify(f)}: ${Qi(y,{...t,path:[...t.path,"properties",f]})}`;t.withJsdocs&&typeof y=="object"&&(I=Y3(y,I));let D=typeof y=="object"&&y.default!==void 0,R=Array.isArray(e.required)?e.required.includes(f):typeof y=="object"&&y.required===!0;return!D&&!R?`${I}.optional()`:I}).join(", "),r+=" })"):r="z.object({})");let o=e.additionalProperties!==void 0?Qi(e.additionalProperties,{...t,path:[...t.path,"additionalProperties"]}):void 0,i;if(e.patternProperties){let f=Object.fromEntries(Object.entries(e.patternProperties).map(([y,I])=>[y,Qi(I,{...t,path:[...t.path,"patternProperties",y]})],{}));i="",r?o?i+=`.catchall(z.union([${[...Object.values(f),o].join(", ")}]))`:Object.keys(f).length>1?i+=`.catchall(z.union([${Object.values(f).join(", ")}]))`:i+=`.catchall(${Object.values(f)})`:o?i+=`z.record(z.union([${[...Object.values(f),o].join(", ")}]))`:Object.keys(f).length>1?i+=`z.record(z.union([${Object.values(f).join(", ")}]))`:i+=`z.record(${Object.values(f)})`,i+=`.superRefine((value, ctx) => {
424
- `,i+=`for (const key in value) {
425
- `,o&&(e.properties?i+=`let evaluated = [${Object.keys(e.properties).map(y=>JSON.stringify(y)).join(", ")}].includes(key)
426
- `:i+=`let evaluated = false
427
- `);for(let y in e.patternProperties)i+="if (key.match(new RegExp("+JSON.stringify(y)+`))) {
428
- `,o&&(i+=`evaluated = true
429
- `),i+="const result = "+f[y]+`.safeParse(value[key])
430
- `,i+=`if (!result.success) {
431
- `,i+=`ctx.addIssue({
432
- path: [...ctx.path, key],
433
- code: 'custom',
434
- message: \`Invalid input: Key matching regex /\${key}/ must match schema\`,
435
- params: {
436
- issues: result.error.issues
437
- }
438
- })
439
- `,i+=`}
440
- `,i+=`}
441
- `;o&&(i+=`if (!evaluated) {
442
- `,i+="const result = "+o+`.safeParse(value[key])
443
- `,i+=`if (!result.success) {
444
- `,i+=`ctx.addIssue({
445
- path: [...ctx.path, key],
446
- code: 'custom',
447
- message: \`Invalid input: must match catchall schema\`,
448
- params: {
449
- issues: result.error.issues
450
- }
451
- })
452
- `,i+=`}
453
- `,i+=`}
454
- `),i+=`}
455
- `,i+="})"}let u=r?i?r+i:o?o==="z.never()"?r+".strict()":r+`.catchall(${o})`:r:i||(o?`z.record(${o})`:"z.record(z.any())");return va.an.anyOf(e)&&(u+=`.and(${F0({...e,anyOf:e.anyOf.map(f=>typeof f=="object"&&!f.type&&(f.properties||f.additionalProperties||f.patternProperties)?{...f,type:"object"}:f)},t)})`),va.a.oneOf(e)&&(u+=`.and(${L0({...e,oneOf:e.oneOf.map(f=>typeof f=="object"&&!f.type&&(f.properties||f.additionalProperties||f.patternProperties)?{...f,type:"object"}:f)},t)})`),va.an.allOf(e)&&(u+=`.and(${Cg({...e,allOf:e.allOf.map(f=>typeof f=="object"&&!f.type&&(f.properties||f.additionalProperties||f.patternProperties)?{...f,type:"object"}:f)},t)})`),u}var U2=Y(()=>{"use strict";x();z0();$0();sl();M0();H0()});var W3,k2=Y(()=>{"use strict";x();gy();sl();W3=e=>{let t="z.string()";t+=la(e,"format",({value:o})=>{switch(o){case"email":return[".email(",")"];case"ip":return[".ip(",")"];case"ipv4":return['.ip({ version: "v4"',", message: "," })"];case"ipv6":return['.ip({ version: "v6"',", message: "," })"];case"uri":return[".url(",")"];case"uuid":return[".uuid(",")"];case"date-time":return[".datetime({ offset: true",", message: "," })"];case"time":return[".time(",")"];case"date":return[".date(",")"];case"binary":return[".base64(",")"];case"duration":return[".duration(",")"]}}),t+=la(e,"pattern",({json:o})=>[`.regex(new RegExp(${o})`,", ",")"]),t+=la(e,"minLength",({json:o})=>[`.min(${o}`,", ",")"]),t+=la(e,"maxLength",({json:o})=>[`.max(${o}`,", ",")"]),t+=la(e,"contentEncoding",({value:o})=>{if(o==="base64")return[".base64(",")"]});let r=la(e,"contentMediaType",({value:o})=>{if(o==="application/json")return['.transform((str, ctx) => { try { return JSON.parse(str); } catch (err) { ctx.addIssue({ code: "custom", message: "Invalid JSON" }); }}',", ",")"]});return r!=""&&(t+=r,t+=la(e,"contentSchema",({value:o})=>{if(o&&o instanceof Object)return[`.pipe(${Qi(o)}`,", ",")"]})),t}});var X3,O2=Y(()=>{"use strict";x();sl();X3=(e,t)=>e.oneOf.length?e.oneOf.length===1?Qi(e.oneOf[0],{...t,path:[...t.path,"oneOf",0]}):`z.discriminatedUnion("${e.discriminator.propertyName}", [${e.oneOf.map((r,o)=>Qi(r,{...t,path:[...t.path,"oneOf",o]})).join(", ")}])`:"z.any()"});var eL,F2=Y(()=>{"use strict";x();eL=(e,...t)=>Object.keys(e).reduce((r,o)=>(t.includes(o)||(r[o]=e[o]),r),{})});var tL,z2=Y(()=>{"use strict";x();F2();sl();tL=(e,t)=>`${Qi(eL(e,"nullable"),t,!0)}.nullable()`});var Qi,wK,RK,NK,TK,va,sl=Y(()=>{"use strict";x();z0();I2();_2();B2();D2();S2();M0();x2();Q2();w2();R2();N2();U2();k2();$0();O2();z2();Qi=(e,t={seen:new Map,path:[]},r)=>{if(typeof e!="object")return e?"z.any()":"z.never()";if(t.parserOverride){let u=t.parserOverride(e,t);if(typeof u=="string")return u}let o=t.seen.get(e);if(o){if(o.r!==void 0)return o.r;if(t.depth===void 0||o.n>=t.depth)return"z.any()";o.n+=1}else o={r:void 0,n:0},t.seen.set(e,o);let i=TK(e,t);return r||(t.withoutDescribes||(i=wK(e,i)),t.withoutDefaults||(i=RK(e,i)),i=NK(e,i)),o.r=i,i},wK=(e,t)=>(e.description&&(t+=`.describe(${JSON.stringify(e.description)})`),t),RK=(e,t)=>(e.default!==void 0&&(t+=`.default(${JSON.stringify(e.default)})`),t),NK=(e,t)=>(e.readOnly&&(t+=".readonly()"),t),TK=(e,t)=>va.a.nullable(e)?tL(e,t):va.an.object(e)?q3(e,t):va.an.array(e)?j3(e,t):va.an.anyOf(e)?F0(e,t):va.an.allOf(e)?Cg(e,t):va.a.simpleDiscriminatedOneOf(e)?X3(e,t):va.a.oneOf(e)?L0(e,t):va.a.not(e)?H3(e,t):va.an.enum(e)?V3(e):va.a.const(e)?J3(e):va.a.multipleType(e)?$3(e,t):va.a.primitive(e,"string")?W3(e):va.a.primitive(e,"number")||va.a.primitive(e,"integer")?Z3(e):va.a.primitive(e,"boolean")?M3(e):va.a.primitive(e,"null")?G3(e):va.a.conditional(e)?K3(e,t):L3(e),va={an:{object:e=>e.type==="object",array:e=>e.type==="array",anyOf:e=>e.anyOf!==void 0,allOf:e=>e.allOf!==void 0,enum:e=>e.enum!==void 0},a:{nullable:e=>e.nullable===!0,multipleType:e=>Array.isArray(e.type),not:e=>e.not!==void 0,const:e=>e.const!==void 0,primitive:(e,t)=>e.type===t,conditional:e=>!!("if"in e&&e.if&&"then"in e&&"else"in e&&e.then&&e.else),simpleDiscriminatedOneOf:e=>{if(!e.oneOf||!Array.isArray(e.oneOf)||e.oneOf.length===0||!e.discriminator||typeof e.discriminator!="object"||!("propertyName"in e.discriminator)||typeof e.discriminator.propertyName!="string")return!1;let t=e.discriminator.propertyName;return e.oneOf.every(r=>{if(!r||typeof r!="object"||r.type!=="object"||!r.properties||typeof r.properties!="object"||!(t in r.properties))return!1;let o=r.properties[t];return o&&typeof o=="object"&&o.type==="string"&&(o.const!==void 0||o.enum&&Array.isArray(o.enum)&&o.enum.length===1)&&Array.isArray(r.required)&&r.required.includes(t)})},oneOf:e=>e.oneOf!==void 0}}});var M2,L2=Y(()=>{"use strict";x();sl();H0();M2=(e,{module:t,name:r,type:o,noImport:i,...u}={})=>{if(o&&(!r||t!=="esm"))throw new Error("Option `type` requires `name` to be set and `module` to be `esm`");let f=Qi(e,{module:t,name:r,path:[],seen:new Map,...u}),y=u.withJsdocs&&typeof e!="boolean"&&e.description?T2(e.description):"";if(t==="cjs"?(f=`${y}module.exports = ${r?`{ ${JSON.stringify(r)}: ${f} }`:f}
456
- `,i||(f=`${y}const { z } = require("zod")
457
-
458
- ${f}`)):t==="esm"?(f=`${y}export ${r?`const ${r} =`:"default"} ${f}
459
- `,i||(f=`import { z } from "zod"
460
-
461
- ${f}`)):r&&(f=`${y}const ${r} = ${f}`),o&&r){let I=typeof o=="string"?o:`${r[0].toUpperCase()}${r.substring(1)}`;f+=`export type ${I} = z.infer<typeof ${r}>
462
- `}return f}});var nL=Y(()=>{"use strict";x();z3();L2();M0();z0();x2();I2();Q2();_2();w2();R2();B2();D2();S2();z2();N2();U2();$0();sl();O2();k2();b2();H0();F2();gy();L2()});function iL(e){return e?e.toLowerCase():""}var $2=Y(()=>{"use strict";x()});function aL(e,t={}){if(!e)return"";let{splitRegexp:r=UK,stripRegexp:o=kK,transform:i=iL,delimiter:u=" "}=t,f=rL(rL(e,r,"$1\0$2"),o,"\0"),y=0,I=f.length;for(;f.charAt(y)==="\0";)y++;for(;f.charAt(I-1)==="\0";)I--;return f.slice(y,I).split("\0").map(i).join(u)}function rL(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce((o,i)=>o.replace(i,r),e)}var UK,kK,H2=Y(()=>{"use strict";x();$2();UK=[new RegExp("(\\p{Ll}|\\p{N})(\\p{Lu})","gu"),new RegExp("(\\p{Lu})(\\p{Lu}\\p{Ll})","gu")],kK=/[^\p{L}\p{N}]+/gu});function G2(e,t){let r=e.charAt(0),o=e.slice(1).toLowerCase();return t>0&&r>="0"&&r<="9"?`_${r}${o}`:`${r.toUpperCase()}${o}`}function G0(e,t={}){return e?aL(e,{delimiter:"",transform:G2,...t}):""}var P2=Y(()=>{"use strict";x();H2()});function OK(e,t){return t===0?e.toLowerCase():G2(e,t)}function oL(e,t={}){return e?G0(e,{transform:OK,...t}):""}var sL=Y(()=>{"use strict";x();P2()});var lL=Y(()=>{"use strict";x()});var uL=Y(()=>{"use strict";x()});var cL=Y(()=>{"use strict";x()});var AL=Y(()=>{"use strict";x()});var dL=Y(()=>{"use strict";x()});var fL=Y(()=>{"use strict";x()});var pL=Y(()=>{"use strict";x()});var hL=Y(()=>{"use strict";x()});var gL=Y(()=>{"use strict";x()});var mL=Y(()=>{"use strict";x()});var EL=Y(()=>{"use strict";x()});var yL=Y(()=>{"use strict";x()});var vL=Y(()=>{"use strict";x()});var CL=Y(()=>{"use strict";x()});var IL=Y(()=>{"use strict";x()});var _L=Y(()=>{"use strict";x()});var BL=Y(()=>{"use strict";x();sL();uL();AL();dL();fL();pL();hL();gL();$2();mL();H2();EL();P2();yL();vL();CL();IL();_L();cL();lL()});function DL(e,t){let r=["import { registerForm } from '@swirls/sdk/form'","import { z } from 'zod'",""],o=e.flatMap(({name:i,schema:u})=>FK(i,u));return[...t,...r,...o,...zK(e),...MK(e),...LK(e)].join(`
463
- `)}function FK(e,t){let r=M2(t,{module:"esm",name:j2(e).camel,noImport:!0,type:!0}),[o,i]=r.split(`
464
- `);if(!o||!i)throw new Error("Failed to generate standard schema");return[`// Form schema: ${e}`,o,"",i,""]}function zK(e){return["// Form registry","export const registry = {",...e.flatMap(({name:t,id:r})=>[` '${t}': {`,` id: '${r}',`,` name: '${t}',`,` schema: ${j2(t).camel},`," },"]),"} as const",""]}function MK(e){return["// Form registration","export function registerForms() {",...e.map(({name:t})=>` registerForm('${t}', registry['${t}'])`),"}",""]}function LK(e){let t="@swirls/sdk/form";return[`// Module augmentation for ${t}`,`declare module '${t}' {`," interface FormRegistry {",...e.flatMap(({name:r,id:o})=>[` '${r}': {`,` id: '${o}'`,` name: '${r}'`,` schema: typeof ${j2(r).camel}`," }"])," }","}",""]}function j2(e){return{camel:`${oL(e)}Schema`,pascal:`${G0(e)}Schema`}}var SL=Y(()=>{"use strict";x();nL();BL()});var bL=On((mpe,$K)=>{$K.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var wL=On((Epe,QL)=>{"use strict";x();var P0=Object.assign({},bL()),xL=Object.keys(P0);Object.defineProperty(P0,"random",{get(){let e=Math.floor(Math.random()*xL.length),t=xL[e];return P0[t]}});QL.exports=P0});function HK({type:e="dots"}){let[t,r]=(0,Ig.useState)(0),o=RL.default[e];return(0,Ig.useEffect)(()=>{let i=setInterval(()=>{r(u=>u===o.frames.length-1?0:u+1)},o.interval);return()=>{clearInterval(i)}},[o]),Ig.default.createElement(ni,null,o.frames[t])}var Ig,RL,NL,TL=Y(async()=>{"use strict";x();Ig=vt(yi(),1);await ya();RL=vt(wL(),1);NL=HK});function UL(e){return(0,_g.jsxs)(Pi,{children:[(0,_g.jsx)(ni,{color:"cyan",children:(0,_g.jsx)(NL,{type:"dots"})}),(0,_g.jsxs)(ni,{children:[" ",e.message]})]})}var _g,kL=Y(async()=>{"use strict";x();await ya();await TL();_g=vt(ii(),1)});import xpe from"path";function OL(e){return[`import { defineConfig } from '${GK}'`,"","export default defineConfig({"," // swirls project identifier",` projectId: '${e||""}',`," // path to generated code",` genPath: 'src/${PK}',`,"})",""].join(`
465
- `)}var Xd,GK,PK,j0,J0=Y(()=>{"use strict";x();hg();Xd="swirls.config.ts",GK="@swirls/sdk/config",PK="swirls.gen.ts",j0=Kd.object({projectId:Kd.uuid(),genPath:Kd.string().min(1)})});var zL=On((Npe,FL)=>{"use strict";x();(()=>{var e={"./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive":function(i){function u(f){return Promise.resolve().then(function(){var y=new Error("Cannot find module '"+f+"'");throw y.code="MODULE_NOT_FOUND",y})}u.keys=()=>[],u.resolve=u,u.id="./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive",i.exports=u}},t={};function r(i){var u=t[i];if(u!==void 0)return u.exports;var f=t[i]={exports:{}};return e[i](f,f.exports,r),f.exports}r.n=i=>{var u=i&&i.__esModule?()=>i.default:()=>i;return r.d(u,{a:u}),u},r.d=(i,u)=>{for(var f in u)r.o(u,f)&&!r.o(i,f)&&Object.defineProperty(i,f,{enumerable:!0,get:u[f]})},r.o=(i,u)=>Object.prototype.hasOwnProperty.call(i,u);var o={};(()=>{"use strict";r.d(o,{default:()=>Aa});let i=Ai("os");var u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],y="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",I={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},D="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",R={5:D,"5module":D+" export import",6:D+" const class extends export import super"},z=/^in(stanceof)?$/,V=new RegExp("["+y+"]"),$=new RegExp("["+y+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function te(A,g){for(var B=65536,Q=0;Q<g.length;Q+=2){if((B+=g[Q])>A)return!1;if((B+=g[Q+1])>=A)return!0}return!1}function re(A,g){return A<65?A===36:A<91||(A<97?A===95:A<123||(A<=65535?A>=170&&V.test(String.fromCharCode(A)):g!==!1&&te(A,f)))}function oe(A,g){return A<48?A===36:A<58||!(A<65)&&(A<91||(A<97?A===95:A<123||(A<=65535?A>=170&&$.test(String.fromCharCode(A)):g!==!1&&(te(A,f)||te(A,u)))))}var ce=function(A,g){g===void 0&&(g={}),this.label=A,this.keyword=g.keyword,this.beforeExpr=!!g.beforeExpr,this.startsExpr=!!g.startsExpr,this.isLoop=!!g.isLoop,this.isAssign=!!g.isAssign,this.prefix=!!g.prefix,this.postfix=!!g.postfix,this.binop=g.binop||null,this.updateContext=null};function xe(A,g){return new ce(A,{beforeExpr:!0,binop:g})}var Me={beforeExpr:!0},Ie={startsExpr:!0},it={};function Xe(A,g){return g===void 0&&(g={}),g.keyword=A,it[A]=new ce(A,g)}var k={num:new ce("num",Ie),regexp:new ce("regexp",Ie),string:new ce("string",Ie),name:new ce("name",Ie),privateId:new ce("privateId",Ie),eof:new ce("eof"),bracketL:new ce("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ce("]"),braceL:new ce("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ce("}"),parenL:new ce("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ce(")"),comma:new ce(",",Me),semi:new ce(";",Me),colon:new ce(":",Me),dot:new ce("."),question:new ce("?",Me),questionDot:new ce("?."),arrow:new ce("=>",Me),template:new ce("template"),invalidTemplate:new ce("invalidTemplate"),ellipsis:new ce("...",Me),backQuote:new ce("`",Ie),dollarBraceL:new ce("${",{beforeExpr:!0,startsExpr:!0}),eq:new ce("=",{beforeExpr:!0,isAssign:!0}),assign:new ce("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ce("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ce("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:xe("||",1),logicalAND:xe("&&",2),bitwiseOR:xe("|",3),bitwiseXOR:xe("^",4),bitwiseAND:xe("&",5),equality:xe("==/!=/===/!==",6),relational:xe("</>/<=/>=",7),bitShift:xe("<</>>/>>>",8),plusMin:new ce("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:xe("%",10),star:xe("*",10),slash:xe("/",10),starstar:new ce("**",{beforeExpr:!0}),coalesce:xe("??",1),_break:Xe("break"),_case:Xe("case",Me),_catch:Xe("catch"),_continue:Xe("continue"),_debugger:Xe("debugger"),_default:Xe("default",Me),_do:Xe("do",{isLoop:!0,beforeExpr:!0}),_else:Xe("else",Me),_finally:Xe("finally"),_for:Xe("for",{isLoop:!0}),_function:Xe("function",Ie),_if:Xe("if"),_return:Xe("return",Me),_switch:Xe("switch"),_throw:Xe("throw",Me),_try:Xe("try"),_var:Xe("var"),_const:Xe("const"),_while:Xe("while",{isLoop:!0}),_with:Xe("with"),_new:Xe("new",{beforeExpr:!0,startsExpr:!0}),_this:Xe("this",Ie),_super:Xe("super",Ie),_class:Xe("class",Ie),_extends:Xe("extends",Me),_export:Xe("export"),_import:Xe("import",Ie),_null:Xe("null",Ie),_true:Xe("true",Ie),_false:Xe("false",Ie),_in:Xe("in",{beforeExpr:!0,binop:7}),_instanceof:Xe("instanceof",{beforeExpr:!0,binop:7}),_typeof:Xe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Xe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Xe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},He=/\r\n?|\n|\u2028|\u2029/,It=new RegExp(He.source,"g");function Gt(A){return A===10||A===13||A===8232||A===8233}function ln(A,g,B){B===void 0&&(B=A.length);for(var Q=g;Q<B;Q++){var T=A.charCodeAt(Q);if(Gt(T))return Q<B-1&&T===13&&A.charCodeAt(Q+1)===10?Q+2:Q+1}return-1}var Ht=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Xt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ki=Object.prototype,Ue=Ki.hasOwnProperty,Ft=Ki.toString,lt=Object.hasOwn||function(A,g){return Ue.call(A,g)},ke=Array.isArray||function(A){return Ft.call(A)==="[object Array]"},Ve=Object.create(null);function Dt(A){return Ve[A]||(Ve[A]=new RegExp("^(?:"+A.replace(/ /g,"|")+")$"))}function Ee(A){return A<=65535?String.fromCharCode(A):(A-=65536,String.fromCharCode(55296+(A>>10),56320+(1023&A)))}var Pe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Qt=function(A,g){this.line=A,this.column=g};Qt.prototype.offset=function(A){return new Qt(this.line,this.column+A)};var wt=function(A,g,B){this.start=g,this.end=B,A.sourceFile!==null&&(this.source=A.sourceFile)};function An(A,g){for(var B=1,Q=0;;){var T=ln(A,Q,g);if(T<0)return new Qt(B,g-Q);++B,Q=T}}var Jn={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},un=!1;function mi(A){var g={};for(var B in Jn)g[B]=A&&lt(A,B)?A[B]:Jn[B];if(g.ecmaVersion==="latest"?g.ecmaVersion=1e8:g.ecmaVersion==null?(!un&&typeof console=="object"&&console.warn&&(un=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
466
- Defaulting to 2020, but this will stop working in the future.`)),g.ecmaVersion=11):g.ecmaVersion>=2015&&(g.ecmaVersion-=2009),g.allowReserved==null&&(g.allowReserved=g.ecmaVersion<5),A&&A.allowHashBang!=null||(g.allowHashBang=g.ecmaVersion>=14),ke(g.onToken)){var Q=g.onToken;g.onToken=function(T){return Q.push(T)}}return ke(g.onComment)&&(g.onComment=(function(T,G){return function(Z,W,fe,De,we,We){var tt={type:Z?"Block":"Line",value:W,start:fe,end:De};T.locations&&(tt.loc=new wt(this,we,We)),T.ranges&&(tt.range=[fe,De]),G.push(tt)}})(g,g.onComment)),g}var Lt=256,Ci=259;function en(A,g){return 2|(A?4:0)|(g?8:0)}var Nn=function(A,g,B){this.options=A=mi(A),this.sourceFile=A.sourceFile,this.keywords=Dt(R[A.ecmaVersion>=6?6:A.sourceType==="module"?"5module":5]);var Q="";A.allowReserved!==!0&&(Q=I[A.ecmaVersion>=6?6:A.ecmaVersion===5?5:3],A.sourceType==="module"&&(Q+=" await")),this.reservedWords=Dt(Q);var T=(Q?Q+" ":"")+I.strict;this.reservedWordsStrict=Dt(T),this.reservedWordsStrictBind=Dt(T+" "+I.strictBind),this.input=String(g),this.containsEsc=!1,B?(this.pos=B,this.lineStart=this.input.lastIndexOf(`
467
- `,B-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(He).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=A.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&A.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Vn={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Nn.prototype.parse=function(){var A=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(A)},Vn.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Vn.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},Vn.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},Vn.canAwait.get=function(){for(var A=this.scopeStack.length-1;A>=0;A--){var g=this.scopeStack[A].flags;if(768&g)return!1;if(2&g)return(4&g)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Vn.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},Vn.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Vn.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Vn.allowNewDotTarget.get=function(){for(var A=this.scopeStack.length-1;A>=0;A--){var g=this.scopeStack[A].flags;if(768&g||2&g&&!(16&g))return!0}return!1},Vn.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Lt)>0},Nn.extend=function(){for(var A=[],g=arguments.length;g--;)A[g]=arguments[g];for(var B=this,Q=0;Q<A.length;Q++)B=A[Q](B);return B},Nn.parse=function(A,g){return new this(g,A).parse()},Nn.parseExpressionAt=function(A,g,B){var Q=new this(B,A,g);return Q.nextToken(),Q.parseExpression()},Nn.tokenizer=function(A,g){return new this(g,A)},Object.defineProperties(Nn.prototype,Vn);var gt=Nn.prototype,vn=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;gt.strictDirective=function(A){if(this.options.ecmaVersion<5)return!1;for(;;){Xt.lastIndex=A,A+=Xt.exec(this.input)[0].length;var g=vn.exec(this.input.slice(A));if(!g)return!1;if((g[1]||g[2])==="use strict"){Xt.lastIndex=A+g[0].length;var B=Xt.exec(this.input),Q=B.index+B[0].length,T=this.input.charAt(Q);return T===";"||T==="}"||He.test(B[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(T)||T==="!"&&this.input.charAt(Q+1)==="=")}A+=g[0].length,Xt.lastIndex=A,A+=Xt.exec(this.input)[0].length,this.input[A]===";"&&A++}},gt.eat=function(A){return this.type===A&&(this.next(),!0)},gt.isContextual=function(A){return this.type===k.name&&this.value===A&&!this.containsEsc},gt.eatContextual=function(A){return!!this.isContextual(A)&&(this.next(),!0)},gt.expectContextual=function(A){this.eatContextual(A)||this.unexpected()},gt.canInsertSemicolon=function(){return this.type===k.eof||this.type===k.braceR||He.test(this.input.slice(this.lastTokEnd,this.start))},gt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},gt.semicolon=function(){this.eat(k.semi)||this.insertSemicolon()||this.unexpected()},gt.afterTrailingComma=function(A,g){if(this.type===A)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),g||this.next(),!0},gt.expect=function(A){this.eat(A)||this.unexpected()},gt.unexpected=function(A){this.raise(A??this.start,"Unexpected token")};var Br=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};gt.checkPatternErrors=function(A,g){if(A){A.trailingComma>-1&&this.raiseRecoverable(A.trailingComma,"Comma is not permitted after the rest element");var B=g?A.parenthesizedAssign:A.parenthesizedBind;B>-1&&this.raiseRecoverable(B,g?"Assigning to rvalue":"Parenthesized pattern")}},gt.checkExpressionErrors=function(A,g){if(!A)return!1;var B=A.shorthandAssign,Q=A.doubleProto;if(!g)return B>=0||Q>=0;B>=0&&this.raise(B,"Shorthand property assignments are valid only in destructuring patterns"),Q>=0&&this.raiseRecoverable(Q,"Redefinition of __proto__ property")},gt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},gt.isSimpleAssignTarget=function(A){return A.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(A.expression):A.type==="Identifier"||A.type==="MemberExpression"};var dt=Nn.prototype;dt.parseTopLevel=function(A){var g=Object.create(null);for(A.body||(A.body=[]);this.type!==k.eof;){var B=this.parseStatement(null,!0,g);A.body.push(B)}if(this.inModule)for(var Q=0,T=Object.keys(this.undefinedExports);Q<T.length;Q+=1){var G=T[Q];this.raiseRecoverable(this.undefinedExports[G].start,"Export '"+G+"' is not defined")}return this.adaptDirectivePrologue(A.body),this.next(),A.sourceType=this.options.sourceType,this.finishNode(A,"Program")};var Et={kind:"loop"},ua={kind:"switch"};dt.isLet=function(A){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Xt.lastIndex=this.pos;var g=Xt.exec(this.input),B=this.pos+g[0].length,Q=this.input.charCodeAt(B);if(Q===91||Q===92)return!0;if(A)return!1;if(Q===123||Q>55295&&Q<56320)return!0;if(re(Q,!0)){for(var T=B+1;oe(Q=this.input.charCodeAt(T),!0);)++T;if(Q===92||Q>55295&&Q<56320)return!0;var G=this.input.slice(B,T);if(!z.test(G))return!0}return!1},dt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Xt.lastIndex=this.pos;var A,g=Xt.exec(this.input),B=this.pos+g[0].length;return!(He.test(this.input.slice(this.pos,B))||this.input.slice(B,B+8)!=="function"||B+8!==this.input.length&&(oe(A=this.input.charCodeAt(B+8))||A>55295&&A<56320))},dt.isUsingKeyword=function(A,g){if(this.options.ecmaVersion<17||!this.isContextual(A?"await":"using"))return!1;Xt.lastIndex=this.pos;var B=Xt.exec(this.input),Q=this.pos+B[0].length;if(He.test(this.input.slice(this.pos,Q)))return!1;if(A){var T,G=Q+5;if(this.input.slice(Q,G)!=="using"||G===this.input.length||oe(T=this.input.charCodeAt(G))||T>55295&&T<56320)return!1;Xt.lastIndex=G;var Z=Xt.exec(this.input);if(Z&&He.test(this.input.slice(G,G+Z[0].length)))return!1}if(g){var W,fe=Q+2;if(!(this.input.slice(Q,fe)!=="of"||fe!==this.input.length&&(oe(W=this.input.charCodeAt(fe))||W>55295&&W<56320)))return!1}var De=this.input.charCodeAt(Q);return re(De,!0)||De===92},dt.isAwaitUsing=function(A){return this.isUsingKeyword(!0,A)},dt.isUsing=function(A){return this.isUsingKeyword(!1,A)},dt.parseStatement=function(A,g,B){var Q,T=this.type,G=this.startNode();switch(this.isLet(A)&&(T=k._var,Q="let"),T){case k._break:case k._continue:return this.parseBreakContinueStatement(G,T.keyword);case k._debugger:return this.parseDebuggerStatement(G);case k._do:return this.parseDoStatement(G);case k._for:return this.parseForStatement(G);case k._function:return A&&(this.strict||A!=="if"&&A!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(G,!1,!A);case k._class:return A&&this.unexpected(),this.parseClass(G,!0);case k._if:return this.parseIfStatement(G);case k._return:return this.parseReturnStatement(G);case k._switch:return this.parseSwitchStatement(G);case k._throw:return this.parseThrowStatement(G);case k._try:return this.parseTryStatement(G);case k._const:case k._var:return Q=Q||this.value,A&&Q!=="var"&&this.unexpected(),this.parseVarStatement(G,Q);case k._while:return this.parseWhileStatement(G);case k._with:return this.parseWithStatement(G);case k.braceL:return this.parseBlock(!0,G);case k.semi:return this.parseEmptyStatement(G);case k._export:case k._import:if(this.options.ecmaVersion>10&&T===k._import){Xt.lastIndex=this.pos;var Z=Xt.exec(this.input),W=this.pos+Z[0].length,fe=this.input.charCodeAt(W);if(fe===40||fe===46)return this.parseExpressionStatement(G,this.parseExpression())}return this.options.allowImportExportEverywhere||(g||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),T===k._import?this.parseImport(G):this.parseExport(G,B);default:if(this.isAsyncFunction())return A&&this.unexpected(),this.next(),this.parseFunctionStatement(G,!0,!A);var De=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(De)return g&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),De==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(G,!1,De),this.semicolon(),this.finishNode(G,"VariableDeclaration");var we=this.value,We=this.parseExpression();return T===k.name&&We.type==="Identifier"&&this.eat(k.colon)?this.parseLabeledStatement(G,we,We,A):this.parseExpressionStatement(G,We)}},dt.parseBreakContinueStatement=function(A,g){var B=g==="break";this.next(),this.eat(k.semi)||this.insertSemicolon()?A.label=null:this.type!==k.name?this.unexpected():(A.label=this.parseIdent(),this.semicolon());for(var Q=0;Q<this.labels.length;++Q){var T=this.labels[Q];if((A.label==null||T.name===A.label.name)&&(T.kind!=null&&(B||T.kind==="loop")||A.label&&B))break}return Q===this.labels.length&&this.raise(A.start,"Unsyntactic "+g),this.finishNode(A,B?"BreakStatement":"ContinueStatement")},dt.parseDebuggerStatement=function(A){return this.next(),this.semicolon(),this.finishNode(A,"DebuggerStatement")},dt.parseDoStatement=function(A){return this.next(),this.labels.push(Et),A.body=this.parseStatement("do"),this.labels.pop(),this.expect(k._while),A.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(k.semi):this.semicolon(),this.finishNode(A,"DoWhileStatement")},dt.parseForStatement=function(A){this.next();var g=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Et),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return g>-1&&this.unexpected(g),this.parseFor(A,null);var B=this.isLet();if(this.type===k._var||this.type===k._const||B){var Q=this.startNode(),T=B?"let":this.value;return this.next(),this.parseVar(Q,!0,T),this.finishNode(Q,"VariableDeclaration"),this.parseForAfterInit(A,Q,g)}var G=this.isContextual("let"),Z=!1,W=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(W){var fe=this.startNode();return this.next(),W==="await using"&&this.next(),this.parseVar(fe,!0,W),this.finishNode(fe,"VariableDeclaration"),this.parseForAfterInit(A,fe,g)}var De=this.containsEsc,we=new Br,We=this.start,tt=g>-1?this.parseExprSubscripts(we,"await"):this.parseExpression(!0,we);return this.type===k._in||(Z=this.options.ecmaVersion>=6&&this.isContextual("of"))?(g>-1?(this.type===k._in&&this.unexpected(g),A.await=!0):Z&&this.options.ecmaVersion>=8&&(tt.start!==We||De||tt.type!=="Identifier"||tt.name!=="async"?this.options.ecmaVersion>=9&&(A.await=!1):this.unexpected()),G&&Z&&this.raise(tt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(tt,!1,we),this.checkLValPattern(tt),this.parseForIn(A,tt)):(this.checkExpressionErrors(we,!0),g>-1&&this.unexpected(g),this.parseFor(A,tt))},dt.parseForAfterInit=function(A,g,B){return(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&g.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===k._in?B>-1&&this.unexpected(B):A.await=B>-1),this.parseForIn(A,g)):(B>-1&&this.unexpected(B),this.parseFor(A,g))},dt.parseFunctionStatement=function(A,g,B){return this.next(),this.parseFunction(A,Ii|(B?0:ki),!1,g)},dt.parseIfStatement=function(A){return this.next(),A.test=this.parseParenExpression(),A.consequent=this.parseStatement("if"),A.alternate=this.eat(k._else)?this.parseStatement("if"):null,this.finishNode(A,"IfStatement")},dt.parseReturnStatement=function(A){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(k.semi)||this.insertSemicolon()?A.argument=null:(A.argument=this.parseExpression(),this.semicolon()),this.finishNode(A,"ReturnStatement")},dt.parseSwitchStatement=function(A){var g;this.next(),A.discriminant=this.parseParenExpression(),A.cases=[],this.expect(k.braceL),this.labels.push(ua),this.enterScope(0);for(var B=!1;this.type!==k.braceR;)if(this.type===k._case||this.type===k._default){var Q=this.type===k._case;g&&this.finishNode(g,"SwitchCase"),A.cases.push(g=this.startNode()),g.consequent=[],this.next(),Q?g.test=this.parseExpression():(B&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),B=!0,g.test=null),this.expect(k.colon)}else g||this.unexpected(),g.consequent.push(this.parseStatement(null));return this.exitScope(),g&&this.finishNode(g,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(A,"SwitchStatement")},dt.parseThrowStatement=function(A){return this.next(),He.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),A.argument=this.parseExpression(),this.semicolon(),this.finishNode(A,"ThrowStatement")};var Dr=[];dt.parseCatchClauseParam=function(){var A=this.parseBindingAtom(),g=A.type==="Identifier";return this.enterScope(g?32:0),this.checkLValPattern(A,g?4:2),this.expect(k.parenR),A},dt.parseTryStatement=function(A){if(this.next(),A.block=this.parseBlock(),A.handler=null,this.type===k._catch){var g=this.startNode();this.next(),this.eat(k.parenL)?g.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),g.param=null,this.enterScope(0)),g.body=this.parseBlock(!1),this.exitScope(),A.handler=this.finishNode(g,"CatchClause")}return A.finalizer=this.eat(k._finally)?this.parseBlock():null,A.handler||A.finalizer||this.raise(A.start,"Missing catch or finally clause"),this.finishNode(A,"TryStatement")},dt.parseVarStatement=function(A,g,B){return this.next(),this.parseVar(A,!1,g,B),this.semicolon(),this.finishNode(A,"VariableDeclaration")},dt.parseWhileStatement=function(A){return this.next(),A.test=this.parseParenExpression(),this.labels.push(Et),A.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(A,"WhileStatement")},dt.parseWithStatement=function(A){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),A.object=this.parseParenExpression(),A.body=this.parseStatement("with"),this.finishNode(A,"WithStatement")},dt.parseEmptyStatement=function(A){return this.next(),this.finishNode(A,"EmptyStatement")},dt.parseLabeledStatement=function(A,g,B,Q){for(var T=0,G=this.labels;T<G.length;T+=1)G[T].name===g&&this.raise(B.start,"Label '"+g+"' is already declared");for(var Z=this.type.isLoop?"loop":this.type===k._switch?"switch":null,W=this.labels.length-1;W>=0;W--){var fe=this.labels[W];if(fe.statementStart!==A.start)break;fe.statementStart=this.start,fe.kind=Z}return this.labels.push({name:g,kind:Z,statementStart:this.start}),A.body=this.parseStatement(Q?Q.indexOf("label")===-1?Q+"label":Q:"label"),this.labels.pop(),A.label=B,this.finishNode(A,"LabeledStatement")},dt.parseExpressionStatement=function(A,g){return A.expression=g,this.semicolon(),this.finishNode(A,"ExpressionStatement")},dt.parseBlock=function(A,g,B){for(A===void 0&&(A=!0),g===void 0&&(g=this.startNode()),g.body=[],this.expect(k.braceL),A&&this.enterScope(0);this.type!==k.braceR;){var Q=this.parseStatement(null);g.body.push(Q)}return B&&(this.strict=!1),this.next(),A&&this.exitScope(),this.finishNode(g,"BlockStatement")},dt.parseFor=function(A,g){return A.init=g,this.expect(k.semi),A.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),A.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),A.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(A,"ForStatement")},dt.parseForIn=function(A,g){var B=this.type===k._in;return this.next(),g.type==="VariableDeclaration"&&g.declarations[0].init!=null&&(!B||this.options.ecmaVersion<8||this.strict||g.kind!=="var"||g.declarations[0].id.type!=="Identifier")&&this.raise(g.start,(B?"for-in":"for-of")+" loop variable declaration may not have an initializer"),A.left=g,A.right=B?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),A.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(A,B?"ForInStatement":"ForOfStatement")},dt.parseVar=function(A,g,B,Q){for(A.declarations=[],A.kind=B;;){var T=this.startNode();if(this.parseVarId(T,B),this.eat(k.eq)?T.init=this.parseMaybeAssign(g):Q||B!=="const"||this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Q||B!=="using"&&B!=="await using"||!(this.options.ecmaVersion>=17)||this.type===k._in||this.isContextual("of")?Q||T.id.type==="Identifier"||g&&(this.type===k._in||this.isContextual("of"))?T.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+B+" declaration"):this.unexpected(),A.declarations.push(this.finishNode(T,"VariableDeclarator")),!this.eat(k.comma))break}return A},dt.parseVarId=function(A,g){A.id=g==="using"||g==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(A.id,g==="var"?1:2,!1)};var Ii=1,ki=2;function br(A,g){var B=g.key.name,Q=A[B],T="true";return g.type!=="MethodDefinition"||g.kind!=="get"&&g.kind!=="set"||(T=(g.static?"s":"i")+g.kind),Q==="iget"&&T==="iset"||Q==="iset"&&T==="iget"||Q==="sget"&&T==="sset"||Q==="sset"&&T==="sget"?(A[B]="true",!1):!!Q||(A[B]=T,!1)}function Ca(A,g){var B=A.computed,Q=A.key;return!B&&(Q.type==="Identifier"&&Q.name===g||Q.type==="Literal"&&Q.value===g)}dt.parseFunction=function(A,g,B,Q,T){this.initFunction(A),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Q)&&(this.type===k.star&&g&ki&&this.unexpected(),A.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(A.async=!!Q),g&Ii&&(A.id=4&g&&this.type!==k.name?null:this.parseIdent(),!A.id||g&ki||this.checkLValSimple(A.id,this.strict||A.generator||A.async?this.treatFunctionsAsVar?1:2:3));var G=this.yieldPos,Z=this.awaitPos,W=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(en(A.async,A.generator)),g&Ii||(A.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(A),this.parseFunctionBody(A,B,!1,T),this.yieldPos=G,this.awaitPos=Z,this.awaitIdentPos=W,this.finishNode(A,g&Ii?"FunctionDeclaration":"FunctionExpression")},dt.parseFunctionParams=function(A){this.expect(k.parenL),A.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},dt.parseClass=function(A,g){this.next();var B=this.strict;this.strict=!0,this.parseClassId(A,g),this.parseClassSuper(A);var Q=this.enterClassBody(),T=this.startNode(),G=!1;for(T.body=[],this.expect(k.braceL);this.type!==k.braceR;){var Z=this.parseClassElement(A.superClass!==null);Z&&(T.body.push(Z),Z.type==="MethodDefinition"&&Z.kind==="constructor"?(G&&this.raiseRecoverable(Z.start,"Duplicate constructor in the same class"),G=!0):Z.key&&Z.key.type==="PrivateIdentifier"&&br(Q,Z)&&this.raiseRecoverable(Z.key.start,"Identifier '#"+Z.key.name+"' has already been declared"))}return this.strict=B,this.next(),A.body=this.finishNode(T,"ClassBody"),this.exitClassBody(),this.finishNode(A,g?"ClassDeclaration":"ClassExpression")},dt.parseClassElement=function(A){if(this.eat(k.semi))return null;var g=this.options.ecmaVersion,B=this.startNode(),Q="",T=!1,G=!1,Z="method",W=!1;if(this.eatContextual("static")){if(g>=13&&this.eat(k.braceL))return this.parseClassStaticBlock(B),B;this.isClassElementNameStart()||this.type===k.star?W=!0:Q="static"}if(B.static=W,!Q&&g>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==k.star||this.canInsertSemicolon()?Q="async":G=!0),!Q&&(g>=9||!G)&&this.eat(k.star)&&(T=!0),!Q&&!G&&!T){var fe=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Z=fe:Q=fe)}if(Q?(B.computed=!1,B.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),B.key.name=Q,this.finishNode(B.key,"Identifier")):this.parseClassElementName(B),g<13||this.type===k.parenL||Z!=="method"||T||G){var De=!B.static&&Ca(B,"constructor"),we=De&&A;De&&Z!=="method"&&this.raise(B.key.start,"Constructor can't have get/set modifier"),B.kind=De?"constructor":Z,this.parseClassMethod(B,T,G,we)}else this.parseClassField(B);return B},dt.isClassElementNameStart=function(){return this.type===k.name||this.type===k.privateId||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword},dt.parseClassElementName=function(A){this.type===k.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),A.computed=!1,A.key=this.parsePrivateIdent()):this.parsePropertyName(A)},dt.parseClassMethod=function(A,g,B,Q){var T=A.key;A.kind==="constructor"?(g&&this.raise(T.start,"Constructor can't be a generator"),B&&this.raise(T.start,"Constructor can't be an async method")):A.static&&Ca(A,"prototype")&&this.raise(T.start,"Classes may not have a static property named prototype");var G=A.value=this.parseMethod(g,B,Q);return A.kind==="get"&&G.params.length!==0&&this.raiseRecoverable(G.start,"getter should have no params"),A.kind==="set"&&G.params.length!==1&&this.raiseRecoverable(G.start,"setter should have exactly one param"),A.kind==="set"&&G.params[0].type==="RestElement"&&this.raiseRecoverable(G.params[0].start,"Setter cannot use rest params"),this.finishNode(A,"MethodDefinition")},dt.parseClassField=function(A){return Ca(A,"constructor")?this.raise(A.key.start,"Classes can't have a field named 'constructor'"):A.static&&Ca(A,"prototype")&&this.raise(A.key.start,"Classes can't have a static field named 'prototype'"),this.eat(k.eq)?(this.enterScope(576),A.value=this.parseMaybeAssign(),this.exitScope()):A.value=null,this.semicolon(),this.finishNode(A,"PropertyDefinition")},dt.parseClassStaticBlock=function(A){A.body=[];var g=this.labels;for(this.labels=[],this.enterScope(320);this.type!==k.braceR;){var B=this.parseStatement(null);A.body.push(B)}return this.next(),this.exitScope(),this.labels=g,this.finishNode(A,"StaticBlock")},dt.parseClassId=function(A,g){this.type===k.name?(A.id=this.parseIdent(),g&&this.checkLValSimple(A.id,2,!1)):(g===!0&&this.unexpected(),A.id=null)},dt.parseClassSuper=function(A){A.superClass=this.eat(k._extends)?this.parseExprSubscripts(null,!1):null},dt.enterClassBody=function(){var A={declared:Object.create(null),used:[]};return this.privateNameStack.push(A),A.declared},dt.exitClassBody=function(){var A=this.privateNameStack.pop(),g=A.declared,B=A.used;if(this.options.checkPrivateFields)for(var Q=this.privateNameStack.length,T=Q===0?null:this.privateNameStack[Q-1],G=0;G<B.length;++G){var Z=B[G];lt(g,Z.name)||(T?T.used.push(Z):this.raiseRecoverable(Z.start,"Private field '#"+Z.name+"' must be declared in an enclosing class"))}},dt.parseExportAllDeclaration=function(A,g){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(A.exported=this.parseModuleExportName(),this.checkExport(g,A.exported,this.lastTokStart)):A.exported=null),this.expectContextual("from"),this.type!==k.string&&this.unexpected(),A.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(A.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(A,"ExportAllDeclaration")},dt.parseExport=function(A,g){if(this.next(),this.eat(k.star))return this.parseExportAllDeclaration(A,g);if(this.eat(k._default))return this.checkExport(g,"default",this.lastTokStart),A.declaration=this.parseExportDefaultDeclaration(),this.finishNode(A,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())A.declaration=this.parseExportDeclaration(A),A.declaration.type==="VariableDeclaration"?this.checkVariableExport(g,A.declaration.declarations):this.checkExport(g,A.declaration.id,A.declaration.id.start),A.specifiers=[],A.source=null,this.options.ecmaVersion>=16&&(A.attributes=[]);else{if(A.declaration=null,A.specifiers=this.parseExportSpecifiers(g),this.eatContextual("from"))this.type!==k.string&&this.unexpected(),A.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(A.attributes=this.parseWithClause());else{for(var B=0,Q=A.specifiers;B<Q.length;B+=1){var T=Q[B];this.checkUnreserved(T.local),this.checkLocalExport(T.local),T.local.type==="Literal"&&this.raise(T.local.start,"A string literal cannot be used as an exported binding without `from`.")}A.source=null,this.options.ecmaVersion>=16&&(A.attributes=[])}this.semicolon()}return this.finishNode(A,"ExportNamedDeclaration")},dt.parseExportDeclaration=function(A){return this.parseStatement(null)},dt.parseExportDefaultDeclaration=function(){var A;if(this.type===k._function||(A=this.isAsyncFunction())){var g=this.startNode();return this.next(),A&&this.next(),this.parseFunction(g,4|Ii,!1,A)}if(this.type===k._class){var B=this.startNode();return this.parseClass(B,"nullableID")}var Q=this.parseMaybeAssign();return this.semicolon(),Q},dt.checkExport=function(A,g,B){A&&(typeof g!="string"&&(g=g.type==="Identifier"?g.name:g.value),lt(A,g)&&this.raiseRecoverable(B,"Duplicate export '"+g+"'"),A[g]=!0)},dt.checkPatternExport=function(A,g){var B=g.type;if(B==="Identifier")this.checkExport(A,g,g.start);else if(B==="ObjectPattern")for(var Q=0,T=g.properties;Q<T.length;Q+=1){var G=T[Q];this.checkPatternExport(A,G)}else if(B==="ArrayPattern")for(var Z=0,W=g.elements;Z<W.length;Z+=1){var fe=W[Z];fe&&this.checkPatternExport(A,fe)}else B==="Property"?this.checkPatternExport(A,g.value):B==="AssignmentPattern"?this.checkPatternExport(A,g.left):B==="RestElement"&&this.checkPatternExport(A,g.argument)},dt.checkVariableExport=function(A,g){if(A)for(var B=0,Q=g;B<Q.length;B+=1){var T=Q[B];this.checkPatternExport(A,T.id)}},dt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},dt.parseExportSpecifier=function(A){var g=this.startNode();return g.local=this.parseModuleExportName(),g.exported=this.eatContextual("as")?this.parseModuleExportName():g.local,this.checkExport(A,g.exported,g.exported.start),this.finishNode(g,"ExportSpecifier")},dt.parseExportSpecifiers=function(A){var g=[],B=!0;for(this.expect(k.braceL);!this.eat(k.braceR);){if(B)B=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;g.push(this.parseExportSpecifier(A))}return g},dt.parseImport=function(A){return this.next(),this.type===k.string?(A.specifiers=Dr,A.source=this.parseExprAtom()):(A.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),A.source=this.type===k.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(A.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(A,"ImportDeclaration")},dt.parseImportSpecifier=function(){var A=this.startNode();return A.imported=this.parseModuleExportName(),this.eatContextual("as")?A.local=this.parseIdent():(this.checkUnreserved(A.imported),A.local=A.imported),this.checkLValSimple(A.local,2),this.finishNode(A,"ImportSpecifier")},dt.parseImportDefaultSpecifier=function(){var A=this.startNode();return A.local=this.parseIdent(),this.checkLValSimple(A.local,2),this.finishNode(A,"ImportDefaultSpecifier")},dt.parseImportNamespaceSpecifier=function(){var A=this.startNode();return this.next(),this.expectContextual("as"),A.local=this.parseIdent(),this.checkLValSimple(A.local,2),this.finishNode(A,"ImportNamespaceSpecifier")},dt.parseImportSpecifiers=function(){var A=[],g=!0;if(this.type===k.name&&(A.push(this.parseImportDefaultSpecifier()),!this.eat(k.comma)))return A;if(this.type===k.star)return A.push(this.parseImportNamespaceSpecifier()),A;for(this.expect(k.braceL);!this.eat(k.braceR);){if(g)g=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;A.push(this.parseImportSpecifier())}return A},dt.parseWithClause=function(){var A=[];if(!this.eat(k._with))return A;this.expect(k.braceL);for(var g={},B=!0;!this.eat(k.braceR);){if(B)B=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var Q=this.parseImportAttribute(),T=Q.key.type==="Identifier"?Q.key.name:Q.key.value;lt(g,T)&&this.raiseRecoverable(Q.key.start,"Duplicate attribute key '"+T+"'"),g[T]=!0,A.push(Q)}return A},dt.parseImportAttribute=function(){var A=this.startNode();return A.key=this.type===k.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(k.colon),this.type!==k.string&&this.unexpected(),A.value=this.parseExprAtom(),this.finishNode(A,"ImportAttribute")},dt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===k.string){var A=this.parseLiteral(this.value);return Pe.test(A.value)&&this.raise(A.start,"An export name cannot include a lone surrogate."),A}return this.parseIdent(!0)},dt.adaptDirectivePrologue=function(A){for(var g=0;g<A.length&&this.isDirectiveCandidate(A[g]);++g)A[g].directive=A[g].expression.raw.slice(1,-1)},dt.isDirectiveCandidate=function(A){return this.options.ecmaVersion>=5&&A.type==="ExpressionStatement"&&A.expression.type==="Literal"&&typeof A.expression.value=="string"&&(this.input[A.start]==='"'||this.input[A.start]==="'")};var Zi=Nn.prototype;Zi.toAssignable=function(A,g,B){if(this.options.ecmaVersion>=6&&A)switch(A.type){case"Identifier":this.inAsync&&A.name==="await"&&this.raise(A.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":A.type="ObjectPattern",B&&this.checkPatternErrors(B,!0);for(var Q=0,T=A.properties;Q<T.length;Q+=1){var G=T[Q];this.toAssignable(G,g),G.type!=="RestElement"||G.argument.type!=="ArrayPattern"&&G.argument.type!=="ObjectPattern"||this.raise(G.argument.start,"Unexpected token")}break;case"Property":A.kind!=="init"&&this.raise(A.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(A.value,g);break;case"ArrayExpression":A.type="ArrayPattern",B&&this.checkPatternErrors(B,!0),this.toAssignableList(A.elements,g);break;case"SpreadElement":A.type="RestElement",this.toAssignable(A.argument,g),A.argument.type==="AssignmentPattern"&&this.raise(A.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":A.operator!=="="&&this.raise(A.left.end,"Only '=' operator can be used for specifying default value."),A.type="AssignmentPattern",delete A.operator,this.toAssignable(A.left,g);break;case"ParenthesizedExpression":this.toAssignable(A.expression,g,B);break;case"ChainExpression":this.raiseRecoverable(A.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!g)break;default:this.raise(A.start,"Assigning to rvalue")}else B&&this.checkPatternErrors(B,!0);return A},Zi.toAssignableList=function(A,g){for(var B=A.length,Q=0;Q<B;Q++){var T=A[Q];T&&this.toAssignable(T,g)}if(B){var G=A[B-1];this.options.ecmaVersion===6&&g&&G&&G.type==="RestElement"&&G.argument.type!=="Identifier"&&this.unexpected(G.argument.start)}return A},Zi.parseSpread=function(A){var g=this.startNode();return this.next(),g.argument=this.parseMaybeAssign(!1,A),this.finishNode(g,"SpreadElement")},Zi.parseRestBinding=function(){var A=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==k.name&&this.unexpected(),A.argument=this.parseBindingAtom(),this.finishNode(A,"RestElement")},Zi.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case k.bracketL:var A=this.startNode();return this.next(),A.elements=this.parseBindingList(k.bracketR,!0,!0),this.finishNode(A,"ArrayPattern");case k.braceL:return this.parseObj(!0)}return this.parseIdent()},Zi.parseBindingList=function(A,g,B,Q){for(var T=[],G=!0;!this.eat(A);)if(G?G=!1:this.expect(k.comma),g&&this.type===k.comma)T.push(null);else{if(B&&this.afterTrailingComma(A))break;if(this.type===k.ellipsis){var Z=this.parseRestBinding();this.parseBindingListItem(Z),T.push(Z),this.type===k.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(A);break}T.push(this.parseAssignableListItem(Q))}return T},Zi.parseAssignableListItem=function(A){var g=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(g),g},Zi.parseBindingListItem=function(A){return A},Zi.parseMaybeDefault=function(A,g,B){if(B=B||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(k.eq))return B;var Q=this.startNodeAt(A,g);return Q.left=B,Q.right=this.parseMaybeAssign(),this.finishNode(Q,"AssignmentPattern")},Zi.checkLValSimple=function(A,g,B){g===void 0&&(g=0);var Q=g!==0;switch(A.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(A.name)&&this.raiseRecoverable(A.start,(Q?"Binding ":"Assigning to ")+A.name+" in strict mode"),Q&&(g===2&&A.name==="let"&&this.raiseRecoverable(A.start,"let is disallowed as a lexically bound name"),B&&(lt(B,A.name)&&this.raiseRecoverable(A.start,"Argument name clash"),B[A.name]=!0),g!==5&&this.declareName(A.name,g,A.start));break;case"ChainExpression":this.raiseRecoverable(A.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Q&&this.raiseRecoverable(A.start,"Binding member expression");break;case"ParenthesizedExpression":return Q&&this.raiseRecoverable(A.start,"Binding parenthesized expression"),this.checkLValSimple(A.expression,g,B);default:this.raise(A.start,(Q?"Binding":"Assigning to")+" rvalue")}},Zi.checkLValPattern=function(A,g,B){switch(g===void 0&&(g=0),A.type){case"ObjectPattern":for(var Q=0,T=A.properties;Q<T.length;Q+=1){var G=T[Q];this.checkLValInnerPattern(G,g,B)}break;case"ArrayPattern":for(var Z=0,W=A.elements;Z<W.length;Z+=1){var fe=W[Z];fe&&this.checkLValInnerPattern(fe,g,B)}break;default:this.checkLValSimple(A,g,B)}},Zi.checkLValInnerPattern=function(A,g,B){switch(g===void 0&&(g=0),A.type){case"Property":this.checkLValInnerPattern(A.value,g,B);break;case"AssignmentPattern":this.checkLValPattern(A.left,g,B);break;case"RestElement":this.checkLValPattern(A.argument,g,B);break;default:this.checkLValPattern(A,g,B)}};var ri=function(A,g,B,Q,T){this.token=A,this.isExpr=!!g,this.preserveSpace=!!B,this.override=Q,this.generator=!!T},In={b_stat:new ri("{",!1),b_expr:new ri("{",!0),b_tmpl:new ri("${",!1),p_stat:new ri("(",!1),p_expr:new ri("(",!0),q_tmpl:new ri("`",!0,!0,function(A){return A.tryReadTemplateToken()}),f_stat:new ri("function",!1),f_expr:new ri("function",!0),f_expr_gen:new ri("function",!0,!1,null,!0),f_gen:new ri("function",!1,!1,null,!0)},Oi=Nn.prototype;Oi.initialContext=function(){return[In.b_stat]},Oi.curContext=function(){return this.context[this.context.length-1]},Oi.braceIsBlock=function(A){var g=this.curContext();return g===In.f_expr||g===In.f_stat||(A!==k.colon||g!==In.b_stat&&g!==In.b_expr?A===k._return||A===k.name&&this.exprAllowed?He.test(this.input.slice(this.lastTokEnd,this.start)):A===k._else||A===k.semi||A===k.eof||A===k.parenR||A===k.arrow||(A===k.braceL?g===In.b_stat:A!==k._var&&A!==k._const&&A!==k.name&&!this.exprAllowed):!g.isExpr)},Oi.inGeneratorContext=function(){for(var A=this.context.length-1;A>=1;A--){var g=this.context[A];if(g.token==="function")return g.generator}return!1},Oi.updateContext=function(A){var g,B=this.type;B.keyword&&A===k.dot?this.exprAllowed=!1:(g=B.updateContext)?g.call(this,A):this.exprAllowed=B.beforeExpr},Oi.overrideContext=function(A){this.curContext()!==A&&(this.context[this.context.length-1]=A)},k.parenR.updateContext=k.braceR.updateContext=function(){if(this.context.length!==1){var A=this.context.pop();A===In.b_stat&&this.curContext().token==="function"&&(A=this.context.pop()),this.exprAllowed=!A.isExpr}else this.exprAllowed=!0},k.braceL.updateContext=function(A){this.context.push(this.braceIsBlock(A)?In.b_stat:In.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(In.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(A){var g=A===k._if||A===k._for||A===k._with||A===k._while;this.context.push(g?In.p_stat:In.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(A){!A.beforeExpr||A===k._else||A===k.semi&&this.curContext()!==In.p_stat||A===k._return&&He.test(this.input.slice(this.lastTokEnd,this.start))||(A===k.colon||A===k.braceL)&&this.curContext()===In.b_stat?this.context.push(In.f_stat):this.context.push(In.f_expr),this.exprAllowed=!1},k.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},k.backQuote.updateContext=function(){this.curContext()===In.q_tmpl?this.context.pop():this.context.push(In.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(A){if(A===k._function){var g=this.context.length-1;this.context[g]===In.f_expr?this.context[g]=In.f_expr_gen:this.context[g]=In.f_gen}this.exprAllowed=!0},k.name.updateContext=function(A){var g=!1;this.options.ecmaVersion>=6&&A!==k.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(g=!0),this.exprAllowed=g};var zt=Nn.prototype;function Ia(A){return A.type==="Identifier"||A.type==="ParenthesizedExpression"&&Ia(A.expression)}function Jr(A){return A.type==="MemberExpression"&&A.property.type==="PrivateIdentifier"||A.type==="ChainExpression"&&Jr(A.expression)||A.type==="ParenthesizedExpression"&&Jr(A.expression)}zt.checkPropClash=function(A,g,B){if(!(this.options.ecmaVersion>=9&&A.type==="SpreadElement"||this.options.ecmaVersion>=6&&(A.computed||A.method||A.shorthand))){var Q,T=A.key;switch(T.type){case"Identifier":Q=T.name;break;case"Literal":Q=String(T.value);break;default:return}var G=A.kind;if(this.options.ecmaVersion>=6)Q==="__proto__"&&G==="init"&&(g.proto&&(B?B.doubleProto<0&&(B.doubleProto=T.start):this.raiseRecoverable(T.start,"Redefinition of __proto__ property")),g.proto=!0);else{var Z=g[Q="$"+Q];Z?(G==="init"?this.strict&&Z.init||Z.get||Z.set:Z.init||Z[G])&&this.raiseRecoverable(T.start,"Redefinition of property"):Z=g[Q]={init:!1,get:!1,set:!1},Z[G]=!0}}},zt.parseExpression=function(A,g){var B=this.start,Q=this.startLoc,T=this.parseMaybeAssign(A,g);if(this.type===k.comma){var G=this.startNodeAt(B,Q);for(G.expressions=[T];this.eat(k.comma);)G.expressions.push(this.parseMaybeAssign(A,g));return this.finishNode(G,"SequenceExpression")}return T},zt.parseMaybeAssign=function(A,g,B){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(A);this.exprAllowed=!1}var Q=!1,T=-1,G=-1,Z=-1;g?(T=g.parenthesizedAssign,G=g.trailingComma,Z=g.doubleProto,g.parenthesizedAssign=g.trailingComma=-1):(g=new Br,Q=!0);var W=this.start,fe=this.startLoc;this.type!==k.parenL&&this.type!==k.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=A==="await");var De=this.parseMaybeConditional(A,g);if(B&&(De=B.call(this,De,W,fe)),this.type.isAssign){var we=this.startNodeAt(W,fe);return we.operator=this.value,this.type===k.eq&&(De=this.toAssignable(De,!1,g)),Q||(g.parenthesizedAssign=g.trailingComma=g.doubleProto=-1),g.shorthandAssign>=De.start&&(g.shorthandAssign=-1),this.type===k.eq?this.checkLValPattern(De):this.checkLValSimple(De),we.left=De,this.next(),we.right=this.parseMaybeAssign(A),Z>-1&&(g.doubleProto=Z),this.finishNode(we,"AssignmentExpression")}return Q&&this.checkExpressionErrors(g,!0),T>-1&&(g.parenthesizedAssign=T),G>-1&&(g.trailingComma=G),De},zt.parseMaybeConditional=function(A,g){var B=this.start,Q=this.startLoc,T=this.parseExprOps(A,g);if(this.checkExpressionErrors(g))return T;if(this.eat(k.question)){var G=this.startNodeAt(B,Q);return G.test=T,G.consequent=this.parseMaybeAssign(),this.expect(k.colon),G.alternate=this.parseMaybeAssign(A),this.finishNode(G,"ConditionalExpression")}return T},zt.parseExprOps=function(A,g){var B=this.start,Q=this.startLoc,T=this.parseMaybeUnary(g,!1,!1,A);return this.checkExpressionErrors(g)||T.start===B&&T.type==="ArrowFunctionExpression"?T:this.parseExprOp(T,B,Q,-1,A)},zt.parseExprOp=function(A,g,B,Q,T){var G=this.type.binop;if(G!=null&&(!T||this.type!==k._in)&&G>Q){var Z=this.type===k.logicalOR||this.type===k.logicalAND,W=this.type===k.coalesce;W&&(G=k.logicalAND.binop);var fe=this.value;this.next();var De=this.start,we=this.startLoc,We=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,T),De,we,G,T),tt=this.buildBinary(g,B,A,We,fe,Z||W);return(Z&&this.type===k.coalesce||W&&(this.type===k.logicalOR||this.type===k.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(tt,g,B,Q,T)}return A},zt.buildBinary=function(A,g,B,Q,T,G){Q.type==="PrivateIdentifier"&&this.raise(Q.start,"Private identifier can only be left side of binary expression");var Z=this.startNodeAt(A,g);return Z.left=B,Z.operator=T,Z.right=Q,this.finishNode(Z,G?"LogicalExpression":"BinaryExpression")},zt.parseMaybeUnary=function(A,g,B,Q){var T,G=this.start,Z=this.startLoc;if(this.isContextual("await")&&this.canAwait)T=this.parseAwait(Q),g=!0;else if(this.type.prefix){var W=this.startNode(),fe=this.type===k.incDec;W.operator=this.value,W.prefix=!0,this.next(),W.argument=this.parseMaybeUnary(null,!0,fe,Q),this.checkExpressionErrors(A,!0),fe?this.checkLValSimple(W.argument):this.strict&&W.operator==="delete"&&Ia(W.argument)?this.raiseRecoverable(W.start,"Deleting local variable in strict mode"):W.operator==="delete"&&Jr(W.argument)?this.raiseRecoverable(W.start,"Private fields can not be deleted"):g=!0,T=this.finishNode(W,fe?"UpdateExpression":"UnaryExpression")}else if(g||this.type!==k.privateId){if(T=this.parseExprSubscripts(A,Q),this.checkExpressionErrors(A))return T;for(;this.type.postfix&&!this.canInsertSemicolon();){var De=this.startNodeAt(G,Z);De.operator=this.value,De.prefix=!1,De.argument=T,this.checkLValSimple(T),this.next(),T=this.finishNode(De,"UpdateExpression")}}else(Q||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),T=this.parsePrivateIdent(),this.type!==k._in&&this.unexpected();return B||!this.eat(k.starstar)?T:g?void this.unexpected(this.lastTokStart):this.buildBinary(G,Z,T,this.parseMaybeUnary(null,!1,!1,Q),"**",!1)},zt.parseExprSubscripts=function(A,g){var B=this.start,Q=this.startLoc,T=this.parseExprAtom(A,g);if(T.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return T;var G=this.parseSubscripts(T,B,Q,!1,g);return A&&G.type==="MemberExpression"&&(A.parenthesizedAssign>=G.start&&(A.parenthesizedAssign=-1),A.parenthesizedBind>=G.start&&(A.parenthesizedBind=-1),A.trailingComma>=G.start&&(A.trailingComma=-1)),G},zt.parseSubscripts=function(A,g,B,Q,T){for(var G=this.options.ecmaVersion>=8&&A.type==="Identifier"&&A.name==="async"&&this.lastTokEnd===A.end&&!this.canInsertSemicolon()&&A.end-A.start===5&&this.potentialArrowAt===A.start,Z=!1;;){var W=this.parseSubscript(A,g,B,Q,G,Z,T);if(W.optional&&(Z=!0),W===A||W.type==="ArrowFunctionExpression"){if(Z){var fe=this.startNodeAt(g,B);fe.expression=W,W=this.finishNode(fe,"ChainExpression")}return W}A=W}},zt.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(k.arrow)},zt.parseSubscriptAsyncArrow=function(A,g,B,Q){return this.parseArrowExpression(this.startNodeAt(A,g),B,!0,Q)},zt.parseSubscript=function(A,g,B,Q,T,G,Z){var W=this.options.ecmaVersion>=11,fe=W&&this.eat(k.questionDot);Q&&fe&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var De=this.eat(k.bracketL);if(De||fe&&this.type!==k.parenL&&this.type!==k.backQuote||this.eat(k.dot)){var we=this.startNodeAt(g,B);we.object=A,De?(we.property=this.parseExpression(),this.expect(k.bracketR)):this.type===k.privateId&&A.type!=="Super"?we.property=this.parsePrivateIdent():we.property=this.parseIdent(this.options.allowReserved!=="never"),we.computed=!!De,W&&(we.optional=fe),A=this.finishNode(we,"MemberExpression")}else if(!Q&&this.eat(k.parenL)){var We=new Br,tt=this.yieldPos,Zt=this.awaitPos,_i=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var St=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1,We);if(T&&!fe&&this.shouldParseAsyncArrow())return this.checkPatternErrors(We,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=tt,this.awaitPos=Zt,this.awaitIdentPos=_i,this.parseSubscriptAsyncArrow(g,B,St,Z);this.checkExpressionErrors(We,!0),this.yieldPos=tt||this.yieldPos,this.awaitPos=Zt||this.awaitPos,this.awaitIdentPos=_i||this.awaitIdentPos;var xn=this.startNodeAt(g,B);xn.callee=A,xn.arguments=St,W&&(xn.optional=fe),A=this.finishNode(xn,"CallExpression")}else if(this.type===k.backQuote){(fe||G)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Hn=this.startNodeAt(g,B);Hn.tag=A,Hn.quasi=this.parseTemplate({isTagged:!0}),A=this.finishNode(Hn,"TaggedTemplateExpression")}return A},zt.parseExprAtom=function(A,g,B){this.type===k.slash&&this.readRegexp();var Q,T=this.potentialArrowAt===this.start;switch(this.type){case k._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Q=this.startNode(),this.next(),this.type!==k.parenL||this.allowDirectSuper||this.raise(Q.start,"super() call outside constructor of a subclass"),this.type!==k.dot&&this.type!==k.bracketL&&this.type!==k.parenL&&this.unexpected(),this.finishNode(Q,"Super");case k._this:return Q=this.startNode(),this.next(),this.finishNode(Q,"ThisExpression");case k.name:var G=this.start,Z=this.startLoc,W=this.containsEsc,fe=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!W&&fe.name==="async"&&!this.canInsertSemicolon()&&this.eat(k._function))return this.overrideContext(In.f_expr),this.parseFunction(this.startNodeAt(G,Z),0,!1,!0,g);if(T&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(G,Z),[fe],!1,g);if(this.options.ecmaVersion>=8&&fe.name==="async"&&this.type===k.name&&!W&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return fe=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(k.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(G,Z),[fe],!0,g)}return fe;case k.regexp:var De=this.value;return(Q=this.parseLiteral(De.value)).regex={pattern:De.pattern,flags:De.flags},Q;case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return(Q=this.startNode()).value=this.type===k._null?null:this.type===k._true,Q.raw=this.type.keyword,this.next(),this.finishNode(Q,"Literal");case k.parenL:var we=this.start,We=this.parseParenAndDistinguishExpression(T,g);return A&&(A.parenthesizedAssign<0&&!this.isSimpleAssignTarget(We)&&(A.parenthesizedAssign=we),A.parenthesizedBind<0&&(A.parenthesizedBind=we)),We;case k.bracketL:return Q=this.startNode(),this.next(),Q.elements=this.parseExprList(k.bracketR,!0,!0,A),this.finishNode(Q,"ArrayExpression");case k.braceL:return this.overrideContext(In.b_expr),this.parseObj(!1,A);case k._function:return Q=this.startNode(),this.next(),this.parseFunction(Q,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:return this.options.ecmaVersion>=11?this.parseExprImport(B):this.unexpected();default:return this.parseExprAtomDefault()}},zt.parseExprAtomDefault=function(){this.unexpected()},zt.parseExprImport=function(A){var g=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===k.parenL&&!A)return this.parseDynamicImport(g);if(this.type===k.dot){var B=this.startNodeAt(g.start,g.loc&&g.loc.start);return B.name="import",g.meta=this.finishNode(B,"Identifier"),this.parseImportMeta(g)}this.unexpected()},zt.parseDynamicImport=function(A){if(this.next(),A.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(k.parenR)?A.options=null:(this.expect(k.comma),this.afterTrailingComma(k.parenR)?A.options=null:(A.options=this.parseMaybeAssign(),this.eat(k.parenR)||(this.expect(k.comma),this.afterTrailingComma(k.parenR)||this.unexpected())));else if(!this.eat(k.parenR)){var g=this.start;this.eat(k.comma)&&this.eat(k.parenR)?this.raiseRecoverable(g,"Trailing comma is not allowed in import()"):this.unexpected(g)}return this.finishNode(A,"ImportExpression")},zt.parseImportMeta=function(A){this.next();var g=this.containsEsc;return A.property=this.parseIdent(!0),A.property.name!=="meta"&&this.raiseRecoverable(A.property.start,"The only valid meta property for import is 'import.meta'"),g&&this.raiseRecoverable(A.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(A.start,"Cannot use 'import.meta' outside a module"),this.finishNode(A,"MetaProperty")},zt.parseLiteral=function(A){var g=this.startNode();return g.value=A,g.raw=this.input.slice(this.start,this.end),g.raw.charCodeAt(g.raw.length-1)===110&&(g.bigint=g.value!=null?g.value.toString():g.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(g,"Literal")},zt.parseParenExpression=function(){this.expect(k.parenL);var A=this.parseExpression();return this.expect(k.parenR),A},zt.shouldParseArrow=function(A){return!this.canInsertSemicolon()},zt.parseParenAndDistinguishExpression=function(A,g){var B,Q=this.start,T=this.startLoc,G=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Z,W=this.start,fe=this.startLoc,De=[],we=!0,We=!1,tt=new Br,Zt=this.yieldPos,_i=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(we?we=!1:this.expect(k.comma),G&&this.afterTrailingComma(k.parenR,!0)){We=!0;break}if(this.type===k.ellipsis){Z=this.start,De.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}De.push(this.parseMaybeAssign(!1,tt,this.parseParenItem))}var St=this.lastTokEnd,xn=this.lastTokEndLoc;if(this.expect(k.parenR),A&&this.shouldParseArrow(De)&&this.eat(k.arrow))return this.checkPatternErrors(tt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Zt,this.awaitPos=_i,this.parseParenArrowList(Q,T,De,g);De.length&&!We||this.unexpected(this.lastTokStart),Z&&this.unexpected(Z),this.checkExpressionErrors(tt,!0),this.yieldPos=Zt||this.yieldPos,this.awaitPos=_i||this.awaitPos,De.length>1?((B=this.startNodeAt(W,fe)).expressions=De,this.finishNodeAt(B,"SequenceExpression",St,xn)):B=De[0]}else B=this.parseParenExpression();if(this.options.preserveParens){var Hn=this.startNodeAt(Q,T);return Hn.expression=B,this.finishNode(Hn,"ParenthesizedExpression")}return B},zt.parseParenItem=function(A){return A},zt.parseParenArrowList=function(A,g,B,Q){return this.parseArrowExpression(this.startNodeAt(A,g),B,!1,Q)};var Vr=[];zt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var A=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===k.dot){var g=this.startNodeAt(A.start,A.loc&&A.loc.start);g.name="new",A.meta=this.finishNode(g,"Identifier"),this.next();var B=this.containsEsc;return A.property=this.parseIdent(!0),A.property.name!=="target"&&this.raiseRecoverable(A.property.start,"The only valid meta property for new is 'new.target'"),B&&this.raiseRecoverable(A.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(A.start,"'new.target' can only be used in functions and class static block"),this.finishNode(A,"MetaProperty")}var Q=this.start,T=this.startLoc;return A.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Q,T,!0,!1),this.eat(k.parenL)?A.arguments=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1):A.arguments=Vr,this.finishNode(A,"NewExpression")},zt.parseTemplateElement=function(A){var g=A.isTagged,B=this.startNode();return this.type===k.invalidTemplate?(g||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),B.value={raw:this.value.replace(/\r\n?/g,`
468
- `),cooked:null}):B.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
469
- `),cooked:this.value},this.next(),B.tail=this.type===k.backQuote,this.finishNode(B,"TemplateElement")},zt.parseTemplate=function(A){A===void 0&&(A={});var g=A.isTagged;g===void 0&&(g=!1);var B=this.startNode();this.next(),B.expressions=[];var Q=this.parseTemplateElement({isTagged:g});for(B.quasis=[Q];!Q.tail;)this.type===k.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(k.dollarBraceL),B.expressions.push(this.parseExpression()),this.expect(k.braceR),B.quasis.push(Q=this.parseTemplateElement({isTagged:g}));return this.next(),this.finishNode(B,"TemplateLiteral")},zt.isAsyncProp=function(A){return!A.computed&&A.key.type==="Identifier"&&A.key.name==="async"&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!He.test(this.input.slice(this.lastTokEnd,this.start))},zt.parseObj=function(A,g){var B=this.startNode(),Q=!0,T={};for(B.properties=[],this.next();!this.eat(k.braceR);){if(Q)Q=!1;else if(this.expect(k.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(k.braceR))break;var G=this.parseProperty(A,g);A||this.checkPropClash(G,T,g),B.properties.push(G)}return this.finishNode(B,A?"ObjectPattern":"ObjectExpression")},zt.parseProperty=function(A,g){var B,Q,T,G,Z=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return A?(Z.argument=this.parseIdent(!1),this.type===k.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(Z,"RestElement")):(Z.argument=this.parseMaybeAssign(!1,g),this.type===k.comma&&g&&g.trailingComma<0&&(g.trailingComma=this.start),this.finishNode(Z,"SpreadElement"));this.options.ecmaVersion>=6&&(Z.method=!1,Z.shorthand=!1,(A||g)&&(T=this.start,G=this.startLoc),A||(B=this.eat(k.star)));var W=this.containsEsc;return this.parsePropertyName(Z),!A&&!W&&this.options.ecmaVersion>=8&&!B&&this.isAsyncProp(Z)?(Q=!0,B=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(Z)):Q=!1,this.parsePropertyValue(Z,A,B,Q,T,G,g,W),this.finishNode(Z,"Property")},zt.parseGetterSetter=function(A){var g=A.key.name;this.parsePropertyName(A),A.value=this.parseMethod(!1),A.kind=g;var B=A.kind==="get"?0:1;if(A.value.params.length!==B){var Q=A.value.start;A.kind==="get"?this.raiseRecoverable(Q,"getter should have no params"):this.raiseRecoverable(Q,"setter should have exactly one param")}else A.kind==="set"&&A.value.params[0].type==="RestElement"&&this.raiseRecoverable(A.value.params[0].start,"Setter cannot use rest params")},zt.parsePropertyValue=function(A,g,B,Q,T,G,Z,W){(B||Q)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon)?(A.value=g?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Z),A.kind="init"):this.options.ecmaVersion>=6&&this.type===k.parenL?(g&&this.unexpected(),A.method=!0,A.value=this.parseMethod(B,Q),A.kind="init"):g||W||!(this.options.ecmaVersion>=5)||A.computed||A.key.type!=="Identifier"||A.key.name!=="get"&&A.key.name!=="set"||this.type===k.comma||this.type===k.braceR||this.type===k.eq?this.options.ecmaVersion>=6&&!A.computed&&A.key.type==="Identifier"?((B||Q)&&this.unexpected(),this.checkUnreserved(A.key),A.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=T),g?A.value=this.parseMaybeDefault(T,G,this.copyNode(A.key)):this.type===k.eq&&Z?(Z.shorthandAssign<0&&(Z.shorthandAssign=this.start),A.value=this.parseMaybeDefault(T,G,this.copyNode(A.key))):A.value=this.copyNode(A.key),A.kind="init",A.shorthand=!0):this.unexpected():((B||Q)&&this.unexpected(),this.parseGetterSetter(A))},zt.parsePropertyName=function(A){if(this.options.ecmaVersion>=6){if(this.eat(k.bracketL))return A.computed=!0,A.key=this.parseMaybeAssign(),this.expect(k.bracketR),A.key;A.computed=!1}return A.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},zt.initFunction=function(A){A.id=null,this.options.ecmaVersion>=6&&(A.generator=A.expression=!1),this.options.ecmaVersion>=8&&(A.async=!1)},zt.parseMethod=function(A,g,B){var Q=this.startNode(),T=this.yieldPos,G=this.awaitPos,Z=this.awaitIdentPos;return this.initFunction(Q),this.options.ecmaVersion>=6&&(Q.generator=A),this.options.ecmaVersion>=8&&(Q.async=!!g),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|en(g,Q.generator)|(B?128:0)),this.expect(k.parenL),Q.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Q,!1,!0,!1),this.yieldPos=T,this.awaitPos=G,this.awaitIdentPos=Z,this.finishNode(Q,"FunctionExpression")},zt.parseArrowExpression=function(A,g,B,Q){var T=this.yieldPos,G=this.awaitPos,Z=this.awaitIdentPos;return this.enterScope(16|en(B,!1)),this.initFunction(A),this.options.ecmaVersion>=8&&(A.async=!!B),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,A.params=this.toAssignableList(g,!0),this.parseFunctionBody(A,!0,!1,Q),this.yieldPos=T,this.awaitPos=G,this.awaitIdentPos=Z,this.finishNode(A,"ArrowFunctionExpression")},zt.parseFunctionBody=function(A,g,B,Q){var T=g&&this.type!==k.braceL,G=this.strict,Z=!1;if(T)A.body=this.parseMaybeAssign(Q),A.expression=!0,this.checkParams(A,!1);else{var W=this.options.ecmaVersion>=7&&!this.isSimpleParamList(A.params);G&&!W||(Z=this.strictDirective(this.end))&&W&&this.raiseRecoverable(A.start,"Illegal 'use strict' directive in function with non-simple parameter list");var fe=this.labels;this.labels=[],Z&&(this.strict=!0),this.checkParams(A,!G&&!Z&&!g&&!B&&this.isSimpleParamList(A.params)),this.strict&&A.id&&this.checkLValSimple(A.id,5),A.body=this.parseBlock(!1,void 0,Z&&!G),A.expression=!1,this.adaptDirectivePrologue(A.body.body),this.labels=fe}this.exitScope()},zt.isSimpleParamList=function(A){for(var g=0,B=A;g<B.length;g+=1)if(B[g].type!=="Identifier")return!1;return!0},zt.checkParams=function(A,g){for(var B=Object.create(null),Q=0,T=A.params;Q<T.length;Q+=1){var G=T[Q];this.checkLValInnerPattern(G,1,g?null:B)}},zt.parseExprList=function(A,g,B,Q){for(var T=[],G=!0;!this.eat(A);){if(G)G=!1;else if(this.expect(k.comma),g&&this.afterTrailingComma(A))break;var Z=void 0;B&&this.type===k.comma?Z=null:this.type===k.ellipsis?(Z=this.parseSpread(Q),Q&&this.type===k.comma&&Q.trailingComma<0&&(Q.trailingComma=this.start)):Z=this.parseMaybeAssign(!1,Q),T.push(Z)}return T},zt.checkUnreserved=function(A){var g=A.start,B=A.end,Q=A.name;this.inGenerator&&Q==="yield"&&this.raiseRecoverable(g,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Q==="await"&&this.raiseRecoverable(g,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().flags&Ci||Q!=="arguments"||this.raiseRecoverable(g,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||Q!=="arguments"&&Q!=="await"||this.raise(g,"Cannot use "+Q+" in class static initialization block"),this.keywords.test(Q)&&this.raise(g,"Unexpected keyword '"+Q+"'"),this.options.ecmaVersion<6&&this.input.slice(g,B).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(Q)&&(this.inAsync||Q!=="await"||this.raiseRecoverable(g,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(g,"The keyword '"+Q+"' is reserved"))},zt.parseIdent=function(A){var g=this.parseIdentNode();return this.next(!!A),this.finishNode(g,"Identifier"),A||(this.checkUnreserved(g),g.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=g.start)),g},zt.parseIdentNode=function(){var A=this.startNode();return this.type===k.name?A.name=this.value:this.type.keyword?(A.name=this.type.keyword,A.name!=="class"&&A.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=k.name):this.unexpected(),A},zt.parsePrivateIdent=function(){var A=this.startNode();return this.type===k.privateId?A.name=this.value:this.unexpected(),this.next(),this.finishNode(A,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(A.start,"Private field '#"+A.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(A)),A},zt.parseYield=function(A){this.yieldPos||(this.yieldPos=this.start);var g=this.startNode();return this.next(),this.type===k.semi||this.canInsertSemicolon()||this.type!==k.star&&!this.type.startsExpr?(g.delegate=!1,g.argument=null):(g.delegate=this.eat(k.star),g.argument=this.parseMaybeAssign(A)),this.finishNode(g,"YieldExpression")},zt.parseAwait=function(A){this.awaitPos||(this.awaitPos=this.start);var g=this.startNode();return this.next(),g.argument=this.parseMaybeUnary(null,!0,!1,A),this.finishNode(g,"AwaitExpression")};var fr=Nn.prototype;fr.raise=function(A,g){var B=An(this.input,A);g+=" ("+B.line+":"+B.column+")",this.sourceFile&&(g+=" in "+this.sourceFile);var Q=new SyntaxError(g);throw Q.pos=A,Q.loc=B,Q.raisedAt=this.pos,Q},fr.raiseRecoverable=fr.raise,fr.curPosition=function(){if(this.options.locations)return new Qt(this.curLine,this.pos-this.lineStart)};var Fi=Nn.prototype,Hr=function(A){this.flags=A,this.var=[],this.lexical=[],this.functions=[]};Fi.enterScope=function(A){this.scopeStack.push(new Hr(A))},Fi.exitScope=function(){this.scopeStack.pop()},Fi.treatFunctionsAsVarInScope=function(A){return 2&A.flags||!this.inModule&&1&A.flags},Fi.declareName=function(A,g,B){var Q=!1;if(g===2){var T=this.currentScope();Q=T.lexical.indexOf(A)>-1||T.functions.indexOf(A)>-1||T.var.indexOf(A)>-1,T.lexical.push(A),this.inModule&&1&T.flags&&delete this.undefinedExports[A]}else if(g===4)this.currentScope().lexical.push(A);else if(g===3){var G=this.currentScope();Q=this.treatFunctionsAsVar?G.lexical.indexOf(A)>-1:G.lexical.indexOf(A)>-1||G.var.indexOf(A)>-1,G.functions.push(A)}else for(var Z=this.scopeStack.length-1;Z>=0;--Z){var W=this.scopeStack[Z];if(W.lexical.indexOf(A)>-1&&!(32&W.flags&&W.lexical[0]===A)||!this.treatFunctionsAsVarInScope(W)&&W.functions.indexOf(A)>-1){Q=!0;break}if(W.var.push(A),this.inModule&&1&W.flags&&delete this.undefinedExports[A],W.flags&Ci)break}Q&&this.raiseRecoverable(B,"Identifier '"+A+"' has already been declared")},Fi.checkLocalExport=function(A){this.scopeStack[0].lexical.indexOf(A.name)===-1&&this.scopeStack[0].var.indexOf(A.name)===-1&&(this.undefinedExports[A.name]=A)},Fi.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Fi.currentVarScope=function(){for(var A=this.scopeStack.length-1;;A--){var g=this.scopeStack[A];if(771&g.flags)return g}},Fi.currentThisScope=function(){for(var A=this.scopeStack.length-1;;A--){var g=this.scopeStack[A];if(771&g.flags&&!(16&g.flags))return g}};var F=function(A,g,B){this.type="",this.start=g,this.end=0,A.options.locations&&(this.loc=new wt(A,B)),A.options.directSourceFile&&(this.sourceFile=A.options.directSourceFile),A.options.ranges&&(this.range=[g,0])},ue=Nn.prototype;function je(A,g,B,Q){return A.type=g,A.end=B,this.options.locations&&(A.loc.end=Q),this.options.ranges&&(A.range[1]=B),A}ue.startNode=function(){return new F(this,this.start,this.startLoc)},ue.startNodeAt=function(A,g){return new F(this,A,g)},ue.finishNode=function(A,g){return je.call(this,A,g,this.lastTokEnd,this.lastTokEndLoc)},ue.finishNodeAt=function(A,g,B,Q){return je.call(this,A,g,B,Q)},ue.copyNode=function(A){var g=new F(this,A.start,this.startLoc);for(var B in A)g[B]=A[B];return g};var ot="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",_t=ot+" Extended_Pictographic",xt=_t+" EBase EComp EMod EPres ExtPict",$t={9:ot,10:_t,11:_t,12:xt,13:xt,14:xt},Pt={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},rn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Ji="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",pr=Ji+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",_o=pr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",cn=_o+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",$a=cn+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",xr={9:Ji,10:pr,11:_o,12:cn,13:$a,14:$a+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},Fo={};function ll(A){var g=Fo[A]={binary:Dt($t[A]+" "+rn),binaryOfStrings:Dt(Pt[A]),nonBinary:{General_Category:Dt(rn),Script:Dt(xr[A])}};g.nonBinary.Script_Extensions=g.nonBinary.Script,g.nonBinary.gc=g.nonBinary.General_Category,g.nonBinary.sc=g.nonBinary.Script,g.nonBinary.scx=g.nonBinary.Script_Extensions}for(var qn=0,zo=[9,10,11,12,13,14];qn<zo.length;qn+=1)ll(zo[qn]);var ft=Nn.prototype,Kr=function(A,g){this.parent=A,this.base=g||this};Kr.prototype.separatedFrom=function(A){for(var g=this;g;g=g.parent)for(var B=A;B;B=B.parent)if(g.base===B.base&&g!==B)return!0;return!1},Kr.prototype.sibling=function(){return new Kr(this.parent,this.base)};var ht=function(A){this.parser=A,this.validFlags="gim"+(A.options.ecmaVersion>=6?"uy":"")+(A.options.ecmaVersion>=9?"s":"")+(A.options.ecmaVersion>=13?"d":"")+(A.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Fo[A.options.ecmaVersion>=14?14:A.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function rs(A){return A===105||A===109||A===115}function wi(A){return A===36||A>=40&&A<=43||A===46||A===63||A>=91&&A<=94||A>=123&&A<=125}function ca(A){return A>=65&&A<=90||A>=97&&A<=122}ht.prototype.reset=function(A,g,B){var Q=B.indexOf("v")!==-1,T=B.indexOf("u")!==-1;this.start=0|A,this.source=g+"",this.flags=B,Q&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=T&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=T&&this.parser.options.ecmaVersion>=9)},ht.prototype.raise=function(A){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+A)},ht.prototype.at=function(A,g){g===void 0&&(g=!1);var B=this.source,Q=B.length;if(A>=Q)return-1;var T=B.charCodeAt(A);if(!g&&!this.switchU||T<=55295||T>=57344||A+1>=Q)return T;var G=B.charCodeAt(A+1);return G>=56320&&G<=57343?(T<<10)+G-56613888:T},ht.prototype.nextIndex=function(A,g){g===void 0&&(g=!1);var B=this.source,Q=B.length;if(A>=Q)return Q;var T,G=B.charCodeAt(A);return!g&&!this.switchU||G<=55295||G>=57344||A+1>=Q||(T=B.charCodeAt(A+1))<56320||T>57343?A+1:A+2},ht.prototype.current=function(A){return A===void 0&&(A=!1),this.at(this.pos,A)},ht.prototype.lookahead=function(A){return A===void 0&&(A=!1),this.at(this.nextIndex(this.pos,A),A)},ht.prototype.advance=function(A){A===void 0&&(A=!1),this.pos=this.nextIndex(this.pos,A)},ht.prototype.eat=function(A,g){return g===void 0&&(g=!1),this.current(g)===A&&(this.advance(g),!0)},ht.prototype.eatChars=function(A,g){g===void 0&&(g=!1);for(var B=this.pos,Q=0,T=A;Q<T.length;Q+=1){var G=T[Q],Z=this.at(B,g);if(Z===-1||Z!==G)return!1;B=this.nextIndex(B,g)}return this.pos=B,!0},ft.validateRegExpFlags=function(A){for(var g=A.validFlags,B=A.flags,Q=!1,T=!1,G=0;G<B.length;G++){var Z=B.charAt(G);g.indexOf(Z)===-1&&this.raise(A.start,"Invalid regular expression flag"),B.indexOf(Z,G+1)>-1&&this.raise(A.start,"Duplicate regular expression flag"),Z==="u"&&(Q=!0),Z==="v"&&(T=!0)}this.options.ecmaVersion>=15&&Q&&T&&this.raise(A.start,"Invalid regular expression flag")},ft.validateRegExpPattern=function(A){this.regexp_pattern(A),!A.switchN&&this.options.ecmaVersion>=9&&(function(g){for(var B in g)return!0;return!1})(A.groupNames)&&(A.switchN=!0,this.regexp_pattern(A))},ft.regexp_pattern=function(A){A.pos=0,A.lastIntValue=0,A.lastStringValue="",A.lastAssertionIsQuantifiable=!1,A.numCapturingParens=0,A.maxBackReference=0,A.groupNames=Object.create(null),A.backReferenceNames.length=0,A.branchID=null,this.regexp_disjunction(A),A.pos!==A.source.length&&(A.eat(41)&&A.raise("Unmatched ')'"),(A.eat(93)||A.eat(125))&&A.raise("Lone quantifier brackets")),A.maxBackReference>A.numCapturingParens&&A.raise("Invalid escape");for(var g=0,B=A.backReferenceNames;g<B.length;g+=1){var Q=B[g];A.groupNames[Q]||A.raise("Invalid named capture referenced")}},ft.regexp_disjunction=function(A){var g=this.options.ecmaVersion>=16;for(g&&(A.branchID=new Kr(A.branchID,null)),this.regexp_alternative(A);A.eat(124);)g&&(A.branchID=A.branchID.sibling()),this.regexp_alternative(A);g&&(A.branchID=A.branchID.parent),this.regexp_eatQuantifier(A,!0)&&A.raise("Nothing to repeat"),A.eat(123)&&A.raise("Lone quantifier brackets")},ft.regexp_alternative=function(A){for(;A.pos<A.source.length&&this.regexp_eatTerm(A););},ft.regexp_eatTerm=function(A){return this.regexp_eatAssertion(A)?(A.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(A)&&A.switchU&&A.raise("Invalid quantifier"),!0):!!(A.switchU?this.regexp_eatAtom(A):this.regexp_eatExtendedAtom(A))&&(this.regexp_eatQuantifier(A),!0)},ft.regexp_eatAssertion=function(A){var g=A.pos;if(A.lastAssertionIsQuantifiable=!1,A.eat(94)||A.eat(36))return!0;if(A.eat(92)){if(A.eat(66)||A.eat(98))return!0;A.pos=g}if(A.eat(40)&&A.eat(63)){var B=!1;if(this.options.ecmaVersion>=9&&(B=A.eat(60)),A.eat(61)||A.eat(33))return this.regexp_disjunction(A),A.eat(41)||A.raise("Unterminated group"),A.lastAssertionIsQuantifiable=!B,!0}return A.pos=g,!1},ft.regexp_eatQuantifier=function(A,g){return g===void 0&&(g=!1),!!this.regexp_eatQuantifierPrefix(A,g)&&(A.eat(63),!0)},ft.regexp_eatQuantifierPrefix=function(A,g){return A.eat(42)||A.eat(43)||A.eat(63)||this.regexp_eatBracedQuantifier(A,g)},ft.regexp_eatBracedQuantifier=function(A,g){var B=A.pos;if(A.eat(123)){var Q=0,T=-1;if(this.regexp_eatDecimalDigits(A)&&(Q=A.lastIntValue,A.eat(44)&&this.regexp_eatDecimalDigits(A)&&(T=A.lastIntValue),A.eat(125)))return T!==-1&&T<Q&&!g&&A.raise("numbers out of order in {} quantifier"),!0;A.switchU&&!g&&A.raise("Incomplete quantifier"),A.pos=B}return!1},ft.regexp_eatAtom=function(A){return this.regexp_eatPatternCharacters(A)||A.eat(46)||this.regexp_eatReverseSolidusAtomEscape(A)||this.regexp_eatCharacterClass(A)||this.regexp_eatUncapturingGroup(A)||this.regexp_eatCapturingGroup(A)},ft.regexp_eatReverseSolidusAtomEscape=function(A){var g=A.pos;if(A.eat(92)){if(this.regexp_eatAtomEscape(A))return!0;A.pos=g}return!1},ft.regexp_eatUncapturingGroup=function(A){var g=A.pos;if(A.eat(40)){if(A.eat(63)){if(this.options.ecmaVersion>=16){var B=this.regexp_eatModifiers(A),Q=A.eat(45);if(B||Q){for(var T=0;T<B.length;T++){var G=B.charAt(T);B.indexOf(G,T+1)>-1&&A.raise("Duplicate regular expression modifiers")}if(Q){var Z=this.regexp_eatModifiers(A);B||Z||A.current()!==58||A.raise("Invalid regular expression modifiers");for(var W=0;W<Z.length;W++){var fe=Z.charAt(W);(Z.indexOf(fe,W+1)>-1||B.indexOf(fe)>-1)&&A.raise("Duplicate regular expression modifiers")}}}}if(A.eat(58)){if(this.regexp_disjunction(A),A.eat(41))return!0;A.raise("Unterminated group")}}A.pos=g}return!1},ft.regexp_eatCapturingGroup=function(A){if(A.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(A):A.current()===63&&A.raise("Invalid group"),this.regexp_disjunction(A),A.eat(41))return A.numCapturingParens+=1,!0;A.raise("Unterminated group")}return!1},ft.regexp_eatModifiers=function(A){for(var g="",B=0;(B=A.current())!==-1&&rs(B);)g+=Ee(B),A.advance();return g},ft.regexp_eatExtendedAtom=function(A){return A.eat(46)||this.regexp_eatReverseSolidusAtomEscape(A)||this.regexp_eatCharacterClass(A)||this.regexp_eatUncapturingGroup(A)||this.regexp_eatCapturingGroup(A)||this.regexp_eatInvalidBracedQuantifier(A)||this.regexp_eatExtendedPatternCharacter(A)},ft.regexp_eatInvalidBracedQuantifier=function(A){return this.regexp_eatBracedQuantifier(A,!0)&&A.raise("Nothing to repeat"),!1},ft.regexp_eatSyntaxCharacter=function(A){var g=A.current();return!!wi(g)&&(A.lastIntValue=g,A.advance(),!0)},ft.regexp_eatPatternCharacters=function(A){for(var g=A.pos,B=0;(B=A.current())!==-1&&!wi(B);)A.advance();return A.pos!==g},ft.regexp_eatExtendedPatternCharacter=function(A){var g=A.current();return!(g===-1||g===36||g>=40&&g<=43||g===46||g===63||g===91||g===94||g===124)&&(A.advance(),!0)},ft.regexp_groupSpecifier=function(A){if(A.eat(63)){this.regexp_eatGroupName(A)||A.raise("Invalid group");var g=this.options.ecmaVersion>=16,B=A.groupNames[A.lastStringValue];if(B)if(g)for(var Q=0,T=B;Q<T.length;Q+=1)T[Q].separatedFrom(A.branchID)||A.raise("Duplicate capture group name");else A.raise("Duplicate capture group name");g?(B||(A.groupNames[A.lastStringValue]=[])).push(A.branchID):A.groupNames[A.lastStringValue]=!0}},ft.regexp_eatGroupName=function(A){if(A.lastStringValue="",A.eat(60)){if(this.regexp_eatRegExpIdentifierName(A)&&A.eat(62))return!0;A.raise("Invalid capture group name")}return!1},ft.regexp_eatRegExpIdentifierName=function(A){if(A.lastStringValue="",this.regexp_eatRegExpIdentifierStart(A)){for(A.lastStringValue+=Ee(A.lastIntValue);this.regexp_eatRegExpIdentifierPart(A);)A.lastStringValue+=Ee(A.lastIntValue);return!0}return!1},ft.regexp_eatRegExpIdentifierStart=function(A){var g=A.pos,B=this.options.ecmaVersion>=11,Q=A.current(B);return A.advance(B),Q===92&&this.regexp_eatRegExpUnicodeEscapeSequence(A,B)&&(Q=A.lastIntValue),(function(T){return re(T,!0)||T===36||T===95})(Q)?(A.lastIntValue=Q,!0):(A.pos=g,!1)},ft.regexp_eatRegExpIdentifierPart=function(A){var g=A.pos,B=this.options.ecmaVersion>=11,Q=A.current(B);return A.advance(B),Q===92&&this.regexp_eatRegExpUnicodeEscapeSequence(A,B)&&(Q=A.lastIntValue),(function(T){return oe(T,!0)||T===36||T===95||T===8204||T===8205})(Q)?(A.lastIntValue=Q,!0):(A.pos=g,!1)},ft.regexp_eatAtomEscape=function(A){return!!(this.regexp_eatBackReference(A)||this.regexp_eatCharacterClassEscape(A)||this.regexp_eatCharacterEscape(A)||A.switchN&&this.regexp_eatKGroupName(A))||(A.switchU&&(A.current()===99&&A.raise("Invalid unicode escape"),A.raise("Invalid escape")),!1)},ft.regexp_eatBackReference=function(A){var g=A.pos;if(this.regexp_eatDecimalEscape(A)){var B=A.lastIntValue;if(A.switchU)return B>A.maxBackReference&&(A.maxBackReference=B),!0;if(B<=A.numCapturingParens)return!0;A.pos=g}return!1},ft.regexp_eatKGroupName=function(A){if(A.eat(107)){if(this.regexp_eatGroupName(A))return A.backReferenceNames.push(A.lastStringValue),!0;A.raise("Invalid named reference")}return!1},ft.regexp_eatCharacterEscape=function(A){return this.regexp_eatControlEscape(A)||this.regexp_eatCControlLetter(A)||this.regexp_eatZero(A)||this.regexp_eatHexEscapeSequence(A)||this.regexp_eatRegExpUnicodeEscapeSequence(A,!1)||!A.switchU&&this.regexp_eatLegacyOctalEscapeSequence(A)||this.regexp_eatIdentityEscape(A)},ft.regexp_eatCControlLetter=function(A){var g=A.pos;if(A.eat(99)){if(this.regexp_eatControlLetter(A))return!0;A.pos=g}return!1},ft.regexp_eatZero=function(A){return A.current()===48&&!_a(A.lookahead())&&(A.lastIntValue=0,A.advance(),!0)},ft.regexp_eatControlEscape=function(A){var g=A.current();return g===116?(A.lastIntValue=9,A.advance(),!0):g===110?(A.lastIntValue=10,A.advance(),!0):g===118?(A.lastIntValue=11,A.advance(),!0):g===102?(A.lastIntValue=12,A.advance(),!0):g===114&&(A.lastIntValue=13,A.advance(),!0)},ft.regexp_eatControlLetter=function(A){var g=A.current();return!!ca(g)&&(A.lastIntValue=g%32,A.advance(),!0)},ft.regexp_eatRegExpUnicodeEscapeSequence=function(A,g){g===void 0&&(g=!1);var B,Q=A.pos,T=g||A.switchU;if(A.eat(117)){if(this.regexp_eatFixedHexDigits(A,4)){var G=A.lastIntValue;if(T&&G>=55296&&G<=56319){var Z=A.pos;if(A.eat(92)&&A.eat(117)&&this.regexp_eatFixedHexDigits(A,4)){var W=A.lastIntValue;if(W>=56320&&W<=57343)return A.lastIntValue=1024*(G-55296)+(W-56320)+65536,!0}A.pos=Z,A.lastIntValue=G}return!0}if(T&&A.eat(123)&&this.regexp_eatHexDigits(A)&&A.eat(125)&&(B=A.lastIntValue)>=0&&B<=1114111)return!0;T&&A.raise("Invalid unicode escape"),A.pos=Q}return!1},ft.regexp_eatIdentityEscape=function(A){if(A.switchU)return!!this.regexp_eatSyntaxCharacter(A)||!!A.eat(47)&&(A.lastIntValue=47,!0);var g=A.current();return!(g===99||A.switchN&&g===107)&&(A.lastIntValue=g,A.advance(),!0)},ft.regexp_eatDecimalEscape=function(A){A.lastIntValue=0;var g=A.current();if(g>=49&&g<=57){do A.lastIntValue=10*A.lastIntValue+(g-48),A.advance();while((g=A.current())>=48&&g<=57);return!0}return!1};function Ha(A){return ca(A)||A===95}function Ul(A){return Ha(A)||_a(A)}function _a(A){return A>=48&&A<=57}function oo(A){return A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102}function xs(A){return A>=65&&A<=70?A-65+10:A>=97&&A<=102?A-97+10:A-48}function fi(A){return A>=48&&A<=55}ft.regexp_eatCharacterClassEscape=function(A){var g=A.current();if((function(T){return T===100||T===68||T===115||T===83||T===119||T===87})(g))return A.lastIntValue=-1,A.advance(),1;var B=!1;if(A.switchU&&this.options.ecmaVersion>=9&&((B=g===80)||g===112)){var Q;if(A.lastIntValue=-1,A.advance(),A.eat(123)&&(Q=this.regexp_eatUnicodePropertyValueExpression(A))&&A.eat(125))return B&&Q===2&&A.raise("Invalid property name"),Q;A.raise("Invalid property name")}return 0},ft.regexp_eatUnicodePropertyValueExpression=function(A){var g=A.pos;if(this.regexp_eatUnicodePropertyName(A)&&A.eat(61)){var B=A.lastStringValue;if(this.regexp_eatUnicodePropertyValue(A)){var Q=A.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(A,B,Q),1}}if(A.pos=g,this.regexp_eatLoneUnicodePropertyNameOrValue(A)){var T=A.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(A,T)}return 0},ft.regexp_validateUnicodePropertyNameAndValue=function(A,g,B){lt(A.unicodeProperties.nonBinary,g)||A.raise("Invalid property name"),A.unicodeProperties.nonBinary[g].test(B)||A.raise("Invalid property value")},ft.regexp_validateUnicodePropertyNameOrValue=function(A,g){return A.unicodeProperties.binary.test(g)?1:A.switchV&&A.unicodeProperties.binaryOfStrings.test(g)?2:void A.raise("Invalid property name")},ft.regexp_eatUnicodePropertyName=function(A){var g=0;for(A.lastStringValue="";Ha(g=A.current());)A.lastStringValue+=Ee(g),A.advance();return A.lastStringValue!==""},ft.regexp_eatUnicodePropertyValue=function(A){var g=0;for(A.lastStringValue="";Ul(g=A.current());)A.lastStringValue+=Ee(g),A.advance();return A.lastStringValue!==""},ft.regexp_eatLoneUnicodePropertyNameOrValue=function(A){return this.regexp_eatUnicodePropertyValue(A)},ft.regexp_eatCharacterClass=function(A){if(A.eat(91)){var g=A.eat(94),B=this.regexp_classContents(A);return A.eat(93)||A.raise("Unterminated character class"),g&&B===2&&A.raise("Negated character class may contain strings"),!0}return!1},ft.regexp_classContents=function(A){return A.current()===93?1:A.switchV?this.regexp_classSetExpression(A):(this.regexp_nonEmptyClassRanges(A),1)},ft.regexp_nonEmptyClassRanges=function(A){for(;this.regexp_eatClassAtom(A);){var g=A.lastIntValue;if(A.eat(45)&&this.regexp_eatClassAtom(A)){var B=A.lastIntValue;!A.switchU||g!==-1&&B!==-1||A.raise("Invalid character class"),g!==-1&&B!==-1&&g>B&&A.raise("Range out of order in character class")}}},ft.regexp_eatClassAtom=function(A){var g=A.pos;if(A.eat(92)){if(this.regexp_eatClassEscape(A))return!0;if(A.switchU){var B=A.current();(B===99||fi(B))&&A.raise("Invalid class escape"),A.raise("Invalid escape")}A.pos=g}var Q=A.current();return Q!==93&&(A.lastIntValue=Q,A.advance(),!0)},ft.regexp_eatClassEscape=function(A){var g=A.pos;if(A.eat(98))return A.lastIntValue=8,!0;if(A.switchU&&A.eat(45))return A.lastIntValue=45,!0;if(!A.switchU&&A.eat(99)){if(this.regexp_eatClassControlLetter(A))return!0;A.pos=g}return this.regexp_eatCharacterClassEscape(A)||this.regexp_eatCharacterEscape(A)},ft.regexp_classSetExpression=function(A){var g,B=1;if(!this.regexp_eatClassSetRange(A))if(g=this.regexp_eatClassSetOperand(A)){g===2&&(B=2);for(var Q=A.pos;A.eatChars([38,38]);)A.current()!==38&&(g=this.regexp_eatClassSetOperand(A))?g!==2&&(B=1):A.raise("Invalid character in character class");if(Q!==A.pos)return B;for(;A.eatChars([45,45]);)this.regexp_eatClassSetOperand(A)||A.raise("Invalid character in character class");if(Q!==A.pos)return B}else A.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(A)){if(!(g=this.regexp_eatClassSetOperand(A)))return B;g===2&&(B=2)}},ft.regexp_eatClassSetRange=function(A){var g=A.pos;if(this.regexp_eatClassSetCharacter(A)){var B=A.lastIntValue;if(A.eat(45)&&this.regexp_eatClassSetCharacter(A)){var Q=A.lastIntValue;return B!==-1&&Q!==-1&&B>Q&&A.raise("Range out of order in character class"),!0}A.pos=g}return!1},ft.regexp_eatClassSetOperand=function(A){return this.regexp_eatClassSetCharacter(A)?1:this.regexp_eatClassStringDisjunction(A)||this.regexp_eatNestedClass(A)},ft.regexp_eatNestedClass=function(A){var g=A.pos;if(A.eat(91)){var B=A.eat(94),Q=this.regexp_classContents(A);if(A.eat(93))return B&&Q===2&&A.raise("Negated character class may contain strings"),Q;A.pos=g}if(A.eat(92)){var T=this.regexp_eatCharacterClassEscape(A);if(T)return T;A.pos=g}return null},ft.regexp_eatClassStringDisjunction=function(A){var g=A.pos;if(A.eatChars([92,113])){if(A.eat(123)){var B=this.regexp_classStringDisjunctionContents(A);if(A.eat(125))return B}else A.raise("Invalid escape");A.pos=g}return null},ft.regexp_classStringDisjunctionContents=function(A){for(var g=this.regexp_classString(A);A.eat(124);)this.regexp_classString(A)===2&&(g=2);return g},ft.regexp_classString=function(A){for(var g=0;this.regexp_eatClassSetCharacter(A);)g++;return g===1?1:2},ft.regexp_eatClassSetCharacter=function(A){var g=A.pos;if(A.eat(92))return!(!this.regexp_eatCharacterEscape(A)&&!this.regexp_eatClassSetReservedPunctuator(A))||(A.eat(98)?(A.lastIntValue=8,!0):(A.pos=g,!1));var B=A.current();return!(B<0||B===A.lookahead()&&(function(Q){return Q===33||Q>=35&&Q<=38||Q>=42&&Q<=44||Q===46||Q>=58&&Q<=64||Q===94||Q===96||Q===126})(B))&&!(function(Q){return Q===40||Q===41||Q===45||Q===47||Q>=91&&Q<=93||Q>=123&&Q<=125})(B)&&(A.advance(),A.lastIntValue=B,!0)},ft.regexp_eatClassSetReservedPunctuator=function(A){var g=A.current();return!!(function(B){return B===33||B===35||B===37||B===38||B===44||B===45||B>=58&&B<=62||B===64||B===96||B===126})(g)&&(A.lastIntValue=g,A.advance(),!0)},ft.regexp_eatClassControlLetter=function(A){var g=A.current();return!(!_a(g)&&g!==95)&&(A.lastIntValue=g%32,A.advance(),!0)},ft.regexp_eatHexEscapeSequence=function(A){var g=A.pos;if(A.eat(120)){if(this.regexp_eatFixedHexDigits(A,2))return!0;A.switchU&&A.raise("Invalid escape"),A.pos=g}return!1},ft.regexp_eatDecimalDigits=function(A){var g=A.pos,B=0;for(A.lastIntValue=0;_a(B=A.current());)A.lastIntValue=10*A.lastIntValue+(B-48),A.advance();return A.pos!==g},ft.regexp_eatHexDigits=function(A){var g=A.pos,B=0;for(A.lastIntValue=0;oo(B=A.current());)A.lastIntValue=16*A.lastIntValue+xs(B),A.advance();return A.pos!==g},ft.regexp_eatLegacyOctalEscapeSequence=function(A){if(this.regexp_eatOctalDigit(A)){var g=A.lastIntValue;if(this.regexp_eatOctalDigit(A)){var B=A.lastIntValue;g<=3&&this.regexp_eatOctalDigit(A)?A.lastIntValue=64*g+8*B+A.lastIntValue:A.lastIntValue=8*g+B}else A.lastIntValue=g;return!0}return!1},ft.regexp_eatOctalDigit=function(A){var g=A.current();return fi(g)?(A.lastIntValue=g-48,A.advance(),!0):(A.lastIntValue=0,!1)},ft.regexp_eatFixedHexDigits=function(A,g){var B=A.pos;A.lastIntValue=0;for(var Q=0;Q<g;++Q){var T=A.current();if(!oo(T))return A.pos=B,!1;A.lastIntValue=16*A.lastIntValue+xs(T),A.advance()}return!0};var Mo=function(A){this.type=A.type,this.value=A.value,this.start=A.start,this.end=A.end,A.options.locations&&(this.loc=new wt(A,A.startLoc,A.endLoc)),A.options.ranges&&(this.range=[A.start,A.end])},Wt=Nn.prototype;function ul(A){return typeof BigInt!="function"?null:BigInt(A.replace(/_/g,""))}Wt.next=function(A){!A&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Mo(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Wt.getToken=function(){return this.next(),new Mo(this)},typeof Symbol<"u"&&(Wt[Symbol.iterator]=function(){var A=this;return{next:function(){var g=A.getToken();return{done:g.type===k.eof,value:g}}}}),Wt.nextToken=function(){var A=this.curContext();return A&&A.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(k.eof):A.override?A.override(this):void this.readToken(this.fullCharCodeAtPos())},Wt.readToken=function(A){return re(A,this.options.ecmaVersion>=6)||A===92?this.readWord():this.getTokenFromCode(A)},Wt.fullCharCodeAtPos=function(){var A=this.input.charCodeAt(this.pos);if(A<=55295||A>=56320)return A;var g=this.input.charCodeAt(this.pos+1);return g<=56319||g>=57344?A:(A<<10)+g-56613888},Wt.skipBlockComment=function(){var A=this.options.onComment&&this.curPosition(),g=this.pos,B=this.input.indexOf("*/",this.pos+=2);if(B===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=B+2,this.options.locations)for(var Q=void 0,T=g;(Q=ln(this.input,T,this.pos))>-1;)++this.curLine,T=this.lineStart=Q;this.options.onComment&&this.options.onComment(!0,this.input.slice(g+2,B),g,this.pos,A,this.curPosition())},Wt.skipLineComment=function(A){for(var g=this.pos,B=this.options.onComment&&this.curPosition(),Q=this.input.charCodeAt(this.pos+=A);this.pos<this.input.length&&!Gt(Q);)Q=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(g+A,this.pos),g,this.pos,B,this.curPosition())},Wt.skipSpace=function(){e:for(;this.pos<this.input.length;){var A=this.input.charCodeAt(this.pos);switch(A){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(A>8&&A<14||A>=5760&&Ht.test(String.fromCharCode(A))))break e;++this.pos}}},Wt.finishToken=function(A,g){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var B=this.type;this.type=A,this.value=g,this.updateContext(B)},Wt.readToken_dot=function(){var A=this.input.charCodeAt(this.pos+1);if(A>=48&&A<=57)return this.readNumber(!0);var g=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&A===46&&g===46?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},Wt.readToken_slash=function(){var A=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):A===61?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},Wt.readToken_mult_modulo_exp=function(A){var g=this.input.charCodeAt(this.pos+1),B=1,Q=A===42?k.star:k.modulo;return this.options.ecmaVersion>=7&&A===42&&g===42&&(++B,Q=k.starstar,g=this.input.charCodeAt(this.pos+2)),g===61?this.finishOp(k.assign,B+1):this.finishOp(Q,B)},Wt.readToken_pipe_amp=function(A){var g=this.input.charCodeAt(this.pos+1);return g===A?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(k.assign,3):this.finishOp(A===124?k.logicalOR:k.logicalAND,2):g===61?this.finishOp(k.assign,2):this.finishOp(A===124?k.bitwiseOR:k.bitwiseAND,1)},Wt.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},Wt.readToken_plus_min=function(A){var g=this.input.charCodeAt(this.pos+1);return g===A?g!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!He.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(k.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):g===61?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},Wt.readToken_lt_gt=function(A){var g=this.input.charCodeAt(this.pos+1),B=1;return g===A?(B=A===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+B)===61?this.finishOp(k.assign,B+1):this.finishOp(k.bitShift,B)):g!==33||A!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(g===61&&(B=2),this.finishOp(k.relational,B)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Wt.readToken_eq_excl=function(A){var g=this.input.charCodeAt(this.pos+1);return g===61?this.finishOp(k.equality,this.input.charCodeAt(this.pos+2)===61?3:2):A===61&&g===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(A===61?k.eq:k.prefix,1)},Wt.readToken_question=function(){var A=this.options.ecmaVersion;if(A>=11){var g=this.input.charCodeAt(this.pos+1);if(g===46){var B=this.input.charCodeAt(this.pos+2);if(B<48||B>57)return this.finishOp(k.questionDot,2)}if(g===63)return A>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(k.assign,3):this.finishOp(k.coalesce,2)}return this.finishOp(k.question,1)},Wt.readToken_numberSign=function(){var A=35;if(this.options.ecmaVersion>=13&&(++this.pos,re(A=this.fullCharCodeAtPos(),!0)||A===92))return this.finishToken(k.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ee(A)+"'")},Wt.getTokenFromCode=function(A){switch(A){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var g=this.input.charCodeAt(this.pos+1);if(g===120||g===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(g===111||g===79)return this.readRadixNumber(8);if(g===98||g===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(A);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(A);case 124:case 38:return this.readToken_pipe_amp(A);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(A);case 60:case 62:return this.readToken_lt_gt(A);case 61:case 33:return this.readToken_eq_excl(A);case 63:return this.readToken_question();case 126:return this.finishOp(k.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Ee(A)+"'")},Wt.finishOp=function(A,g){var B=this.input.slice(this.pos,this.pos+g);return this.pos+=g,this.finishToken(A,B)},Wt.readRegexp=function(){for(var A,g,B=this.pos;;){this.pos>=this.input.length&&this.raise(B,"Unterminated regular expression");var Q=this.input.charAt(this.pos);if(He.test(Q)&&this.raise(B,"Unterminated regular expression"),A)A=!1;else{if(Q==="[")g=!0;else if(Q==="]"&&g)g=!1;else if(Q==="/"&&!g)break;A=Q==="\\"}++this.pos}var T=this.input.slice(B,this.pos);++this.pos;var G=this.pos,Z=this.readWord1();this.containsEsc&&this.unexpected(G);var W=this.regexpState||(this.regexpState=new ht(this));W.reset(B,T,Z),this.validateRegExpFlags(W),this.validateRegExpPattern(W);var fe=null;try{fe=new RegExp(T,Z)}catch{}return this.finishToken(k.regexp,{pattern:T,flags:Z,value:fe})},Wt.readInt=function(A,g,B){for(var Q=this.options.ecmaVersion>=12&&g===void 0,T=B&&this.input.charCodeAt(this.pos)===48,G=this.pos,Z=0,W=0,fe=0,De=g??1/0;fe<De;++fe,++this.pos){var we=this.input.charCodeAt(this.pos),We=void 0;if(Q&&we===95)T&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),W===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),fe===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),W=we;else{if((We=we>=97?we-97+10:we>=65?we-65+10:we>=48&&we<=57?we-48:1/0)>=A)break;W=we,Z=Z*A+We}}return Q&&W===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===G||g!=null&&this.pos-G!==g?null:Z},Wt.readRadixNumber=function(A){var g=this.pos;this.pos+=2;var B=this.readInt(A);return B==null&&this.raise(this.start+2,"Expected number in radix "+A),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(B=ul(this.input.slice(g,this.pos)),++this.pos):re(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,B)},Wt.readNumber=function(A){var g=this.pos;A||this.readInt(10,void 0,!0)!==null||this.raise(g,"Invalid number");var B=this.pos-g>=2&&this.input.charCodeAt(g)===48;B&&this.strict&&this.raise(g,"Invalid number");var Q=this.input.charCodeAt(this.pos);if(!B&&!A&&this.options.ecmaVersion>=11&&Q===110){var T=ul(this.input.slice(g,this.pos));return++this.pos,re(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,T)}B&&/[89]/.test(this.input.slice(g,this.pos))&&(B=!1),Q!==46||B||(++this.pos,this.readInt(10),Q=this.input.charCodeAt(this.pos)),Q!==69&&Q!==101||B||((Q=this.input.charCodeAt(++this.pos))!==43&&Q!==45||++this.pos,this.readInt(10)===null&&this.raise(g,"Invalid number")),re(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var G,Z=(G=this.input.slice(g,this.pos),B?parseInt(G,8):parseFloat(G.replace(/_/g,"")));return this.finishToken(k.num,Z)},Wt.readCodePoint=function(){var A;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var g=++this.pos;A=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,A>1114111&&this.invalidStringToken(g,"Code point out of bounds")}else A=this.readHexChar(4);return A},Wt.readString=function(A){for(var g="",B=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Q=this.input.charCodeAt(this.pos);if(Q===A)break;Q===92?(g+=this.input.slice(B,this.pos),g+=this.readEscapedChar(!1),B=this.pos):Q===8232||Q===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Gt(Q)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return g+=this.input.slice(B,this.pos++),this.finishToken(k.string,g)};var Qs={};Wt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(A){if(A!==Qs)throw A;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Wt.invalidStringToken=function(A,g){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Qs;this.raise(A,g)},Wt.readTmplToken=function(){for(var A="",g=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var B=this.input.charCodeAt(this.pos);if(B===96||B===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==k.template&&this.type!==k.invalidTemplate?(A+=this.input.slice(g,this.pos),this.finishToken(k.template,A)):B===36?(this.pos+=2,this.finishToken(k.dollarBraceL)):(++this.pos,this.finishToken(k.backQuote));if(B===92)A+=this.input.slice(g,this.pos),A+=this.readEscapedChar(!0),g=this.pos;else if(Gt(B)){switch(A+=this.input.slice(g,this.pos),++this.pos,B){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:A+=`
470
- `;break;default:A+=String.fromCharCode(B)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),g=this.pos}else++this.pos}},Wt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(k.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
471
- `&&++this.pos;case`
472
- `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},Wt.readEscapedChar=function(A){var g=this.input.charCodeAt(++this.pos);switch(++this.pos,g){case 110:return`
473
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ee(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),A){var B=this.pos-1;this.invalidStringToken(B,"Invalid escape sequence in template string")}default:if(g>=48&&g<=55){var Q=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],T=parseInt(Q,8);return T>255&&(Q=Q.slice(0,-1),T=parseInt(Q,8)),this.pos+=Q.length-1,g=this.input.charCodeAt(this.pos),Q==="0"&&g!==56&&g!==57||!this.strict&&!A||this.invalidStringToken(this.pos-1-Q.length,A?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(T)}return Gt(g)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(g)}},Wt.readHexChar=function(A){var g=this.pos,B=this.readInt(16,A);return B===null&&this.invalidStringToken(g,"Bad character escape sequence"),B},Wt.readWord1=function(){this.containsEsc=!1;for(var A="",g=!0,B=this.pos,Q=this.options.ecmaVersion>=6;this.pos<this.input.length;){var T=this.fullCharCodeAtPos();if(oe(T,Q))this.pos+=T<=65535?1:2;else{if(T!==92)break;this.containsEsc=!0,A+=this.input.slice(B,this.pos);var G=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Z=this.readCodePoint();(g?re:oe)(Z,Q)||this.invalidStringToken(G,"Invalid Unicode escape"),A+=Ee(Z),B=this.pos}g=!1}return A+this.input.slice(B,this.pos)},Wt.readWord=function(){var A=this.readWord1(),g=k.name;return this.keywords.test(A)&&(g=it[A]),this.finishToken(g,A)},Nn.acorn={Parser:Nn,version:"8.15.0",defaultOptions:Jn,Position:Qt,SourceLocation:wt,getLineInfo:An,Node:F,TokenType:ce,tokTypes:k,keywordTypes:it,TokContext:ri,tokContexts:In,isIdentifierChar:oe,isIdentifierStart:re,Token:Mo,isNewLine:Gt,lineBreak:He,lineBreakG:It,nonASCIIwhitespace:Ht};let so=Ai("module"),pi=Ai("fs");String.fromCharCode;let Ba=/\/$|\/\?|\/#/,cl=/^\.?\//;function hr(A="",g){return g?Ba.test(A):A.endsWith("/")}function ai(A="",g){if(!g)return A.endsWith("/")?A:A+"/";if(hr(A,!0))return A||"/";let B=A,Q="",T=A.indexOf("#");if(T!==-1&&(B=A.slice(0,T),Q=A.slice(T),!B))return Q;let[G,...Z]=B.split("?");return G+"/"+(Z.length>0?`?${Z.join("?")}`:"")+Q}function Ri(A){return A&&A!=="/"}function Zr(A,...g){let B=A||"";for(let Q of g.filter(T=>Ri(T)))if(B){let T=Q.replace(cl,"");B=ai(B)+T}else B=Q;return B}let Wn=/^[A-Za-z]:\//;function Yr(A=""){return A&&A.replace(/\\/g,"/").replace(Wn,g=>g.toUpperCase())}let gr=/^[/\\]{2}/,lo=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Ga=/^[A-Za-z]:$/,L=/.(\.[^./]+|\.)$/,H=function(A){if(A.length===0)return".";let g=(A=Yr(A)).match(gr),B=Ge(A),Q=A[A.length-1]==="/";return(A=Te(A,!B)).length===0?B?"/":Q?"./":".":(Q&&(A+="/"),Ga.test(A)&&(A+="/"),g?B?`//${A}`:`//./${A}`:B&&!Ge(A)?`/${A}`:A)},ne=function(...A){let g="";for(let B of A)if(B)if(g.length>0){let Q=g[g.length-1]==="/",T=B[0]==="/";g+=Q&&T?B.slice(1):Q||T?B:`/${B}`}else g+=B;return H(g)};function ae(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}let me=function(...A){let g="",B=!1;for(let Q=(A=A.map(T=>Yr(T))).length-1;Q>=-1&&!B;Q--){let T=Q>=0?A[Q]:ae();T&&T.length!==0&&(g=`${T}/${g}`,B=Ge(T))}return g=Te(g,!B),B&&!Ge(g)?`/${g}`:g.length>0?g:"."};function Te(A,g){let B="",Q=0,T=-1,G=0,Z=null;for(let W=0;W<=A.length;++W){if(W<A.length)Z=A[W];else{if(Z==="/")break;Z="/"}if(Z==="/"){if(!(T===W-1||G===1))if(G===2){if(B.length<2||Q!==2||B[B.length-1]!=="."||B[B.length-2]!=="."){if(B.length>2){let fe=B.lastIndexOf("/");fe===-1?(B="",Q=0):(B=B.slice(0,fe),Q=B.length-1-B.lastIndexOf("/")),T=W,G=0;continue}if(B.length>0){B="",Q=0,T=W,G=0;continue}}g&&(B+=B.length>0?"/..":"..",Q=2)}else B.length>0?B+=`/${A.slice(T+1,W)}`:B=A.slice(T+1,W),Q=W-T-1;T=W,G=0}else Z==="."&&G!==-1?++G:G=-1}return B}let Ge=function(A){return lo.test(A)},$e=function(A){if(A==="..")return"";let g=L.exec(Yr(A));return g&&g[1]||""},Ye=function(A){let g=Yr(A).replace(/\/$/,"").split("/").slice(0,-1);return g.length===1&&Ga.test(g[0])&&(g[0]+="/"),g.join("/")||(Ge(A)?"/":".")},et=function(A,g){let B=Yr(A).split("/"),Q="";for(let T=B.length-1;T>=0;T--){let G=B[T];if(G){Q=G;break}}return g&&Q.endsWith(g)?Q.slice(0,-g.length):Q},Be=Ai("url"),Nt=Ai("assert"),tn=Ai("process"),Kn=Ai("path"),_n=Ai("v8"),zi=Ai("util"),Gr=new Set(so.builtinModules);function Da(A){return A.replace(/\\/g,"/")}let Sa={}.hasOwnProperty,kl=/^([A-Z][a-z\d]*)+$/,xu=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Yi={};function Mi(A,g="and"){return A.length<3?A.join(` ${g} `):`${A.slice(0,-1).join(", ")}, ${g} ${A[A.length-1]}`}let Ol=new Map,as;function Qr(A,g,B){return Ol.set(A,g),(function(Q,T){return G;function G(...Z){let W=Error.stackTraceLimit;ws()&&(Error.stackTraceLimit=0);let fe=new Q;ws()&&(Error.stackTraceLimit=W);let De=(function(we,We,tt){let Zt=Ol.get(we);if(Nt(Zt!==void 0,"expected `message` to be found"),typeof Zt=="function")return Nt(Zt.length<=We.length,`Code: ${we}; The provided arguments length (${We.length}) does not match the required ones (${Zt.length}).`),Reflect.apply(Zt,tt,We);let _i=/%[dfijoOs]/g,St=0;for(;_i.exec(Zt)!==null;)St++;return Nt(St===We.length,`Code: ${we}; The provided arguments length (${We.length}) does not match the required ones (${St}).`),We.length===0?Zt:(We.unshift(Zt),Reflect.apply(zi.format,null,We))})(T,Z,fe);return Object.defineProperties(fe,{message:{value:De,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${T}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Fl(fe),fe.code=T,fe}})(B,A)}function ws(){try{if(_n.startupSnapshot.isBuildingSnapshot())return!1}catch{}let A=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return A===void 0?Object.isExtensible(Error):Sa.call(A,"writable")&&A.writable!==void 0?A.writable:A.set!==void 0}Yi.ERR_INVALID_ARG_TYPE=Qr("ERR_INVALID_ARG_TYPE",(A,g,B)=>{Nt(typeof A=="string","'name' must be a string"),Array.isArray(g)||(g=[g]);let Q="The ";if(A.endsWith(" argument"))Q+=`${A} `;else{let W=A.includes(".")?"property":"argument";Q+=`"${A}" ${W} `}Q+="must be ";let T=[],G=[],Z=[];for(let W of g)Nt(typeof W=="string","All expected entries have to be of type string"),xu.has(W)?T.push(W.toLowerCase()):kl.exec(W)===null?(Nt(W!=="object",'The value "object" should be written as "Object"'),Z.push(W)):G.push(W);if(G.length>0){let W=T.indexOf("object");W!==-1&&(T.slice(W,1),G.push("Object"))}return T.length>0&&(Q+=`${T.length>1?"one of type":"of type"} ${Mi(T,"or")}`,(G.length>0||Z.length>0)&&(Q+=" or ")),G.length>0&&(Q+=`an instance of ${Mi(G,"or")}`,Z.length>0&&(Q+=" or ")),Z.length>0&&(Z.length>1?Q+=`one of ${Mi(Z,"or")}`:(Z[0].toLowerCase()!==Z[0]&&(Q+="an "),Q+=`${Z[0]}`)),Q+=`. Received ${(function(W){if(W==null)return String(W);if(typeof W=="function"&&W.name)return`function ${W.name}`;if(typeof W=="object")return W.constructor&&W.constructor.name?`an instance of ${W.constructor.name}`:`${(0,zi.inspect)(W,{depth:-1})}`;let fe=(0,zi.inspect)(W,{colors:!1});return fe.length>28&&(fe=`${fe.slice(0,25)}...`),`type ${typeof W} (${fe})`})(B)}`,Q},TypeError),Yi.ERR_INVALID_MODULE_SPECIFIER=Qr("ERR_INVALID_MODULE_SPECIFIER",(A,g,B=void 0)=>`Invalid module "${A}" ${g}${B?` imported from ${B}`:""}`,TypeError),Yi.ERR_INVALID_PACKAGE_CONFIG=Qr("ERR_INVALID_PACKAGE_CONFIG",(A,g,B)=>`Invalid package config ${A}${g?` while importing ${g}`:""}${B?`. ${B}`:""}`,Error),Yi.ERR_INVALID_PACKAGE_TARGET=Qr("ERR_INVALID_PACKAGE_TARGET",(A,g,B,Q=!1,T=void 0)=>{let G=typeof B=="string"&&!Q&&B.length>0&&!B.startsWith("./");return g==="."?(Nt(Q===!1),`Invalid "exports" main target ${JSON.stringify(B)} defined in the package config ${A}package.json${T?` imported from ${T}`:""}${G?'; targets must start with "./"':""}`):`Invalid "${Q?"imports":"exports"}" target ${JSON.stringify(B)} defined for '${g}' in the package config ${A}package.json${T?` imported from ${T}`:""}${G?'; targets must start with "./"':""}`},Error),Yi.ERR_MODULE_NOT_FOUND=Qr("ERR_MODULE_NOT_FOUND",(A,g,B=!1)=>`Cannot find ${B?"module":"package"} '${A}' imported from ${g}`,Error),Yi.ERR_NETWORK_IMPORT_DISALLOWED=Qr("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Yi.ERR_PACKAGE_IMPORT_NOT_DEFINED=Qr("ERR_PACKAGE_IMPORT_NOT_DEFINED",(A,g,B)=>`Package import specifier "${A}" is not defined${g?` in package ${g}package.json`:""} imported from ${B}`,TypeError),Yi.ERR_PACKAGE_PATH_NOT_EXPORTED=Qr("ERR_PACKAGE_PATH_NOT_EXPORTED",(A,g,B=void 0)=>g==="."?`No "exports" main defined in ${A}package.json${B?` imported from ${B}`:""}`:`Package subpath '${g}' is not defined by "exports" in ${A}package.json${B?` imported from ${B}`:""}`,Error),Yi.ERR_UNSUPPORTED_DIR_IMPORT=Qr("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Yi.ERR_UNSUPPORTED_RESOLVE_REQUEST=Qr("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Yi.ERR_UNKNOWN_FILE_EXTENSION=Qr("ERR_UNKNOWN_FILE_EXTENSION",(A,g)=>`Unknown file extension "${A}" for ${g}`,TypeError),Yi.ERR_INVALID_ARG_VALUE=Qr("ERR_INVALID_ARG_VALUE",(A,g,B="is invalid")=>{let Q=(0,zi.inspect)(g);return Q.length>128&&(Q=`${Q.slice(0,128)}...`),`The ${A.includes(".")?"property":"argument"} '${A}' ${B}. Received ${Q}`},TypeError);let Fl=(function(A){let g="__node_internal_"+A.name;return Object.defineProperty(A,"name",{value:g}),A})(function(A){let g=ws();return g&&(as=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(A),g&&(Error.stackTraceLimit=as),A}),Lo={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:zl}=Yi,Ml=new Map;function ac(A,{base:g,specifier:B}){let Q=Ml.get(A);if(Q)return Q;let T;try{T=pi.readFileSync(Kn.toNamespacedPath(A),"utf8")}catch(Z){let W=Z;if(W.code!=="ENOENT")throw W}let G={exists:!1,pjsonPath:A,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(T!==void 0){let Z;try{Z=JSON.parse(T)}catch(W){let fe=W,De=new zl(A,(g?`"${B}" from `:"")+(0,Be.fileURLToPath)(g||B),fe.message);throw De.cause=fe,De}G.exists=!0,Lo.call(Z,"name")&&typeof Z.name=="string"&&(G.name=Z.name),Lo.call(Z,"main")&&typeof Z.main=="string"&&(G.main=Z.main),Lo.call(Z,"exports")&&(G.exports=Z.exports),Lo.call(Z,"imports")&&(G.imports=Z.imports),!Lo.call(Z,"type")||Z.type!=="commonjs"&&Z.type!=="module"||(G.type=Z.type)}return Ml.set(A,G),G}function Al(A){let g=new URL("package.json",A);for(;!g.pathname.endsWith("node_modules/package.json");){let B=ac((0,Be.fileURLToPath)(g),{specifier:A});if(B.exists)return B;let Q=g;if(g=new URL("../package.json",g),g.pathname===Q.pathname)break}return{pjsonPath:(0,Be.fileURLToPath)(g),exists:!1,type:"none"}}function dl(A){return Al(A).type}let{ERR_UNKNOWN_FILE_EXTENSION:Rs}=Yi,Qu={}.hasOwnProperty,wr={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},Ll={__proto__:null,"data:":function(A){let{1:g}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(A.pathname)||[null,null,null];return(function(B){return B&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(B)?"module":B==="application/json"?"json":null})(g)},"file:":function(A,g,B){let Q=(function(Z){let W=Z.pathname,fe=W.length;for(;fe--;){let De=W.codePointAt(fe);if(De===47)return"";if(De===46)return W.codePointAt(fe-1)===47?"":W.slice(fe)}return""})(A);if(Q===".js"){let Z=dl(A);return Z!=="none"?Z:"commonjs"}if(Q===""){let Z=dl(A);return Z==="none"||Z==="commonjs"?"commonjs":"module"}let T=wr[Q];if(T)return T;if(B)return;let G=(0,Be.fileURLToPath)(A);throw new Rs(Q,G)},"http:":$l,"https:":$l,"node:":()=>"builtin"};function $l(){}let Ns=RegExp.prototype[Symbol.replace],{ERR_INVALID_MODULE_SPECIFIER:Ts,ERR_INVALID_PACKAGE_CONFIG:$o,ERR_INVALID_PACKAGE_TARGET:os,ERR_MODULE_NOT_FOUND:Us,ERR_PACKAGE_IMPORT_NOT_DEFINED:ks,ERR_PACKAGE_PATH_NOT_EXPORTED:ba,ERR_UNSUPPORTED_DIR_IMPORT:Qe,ERR_UNSUPPORTED_RESOLVE_REQUEST:Pa}=Yi,oc={}.hasOwnProperty,wu=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,mt=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,Os=/^\.|%|\\/,uo=/\*/g,mn=/%2f|%5c/i,qe=new Set,xa=/[/\\]{2}/;function ss(A,g,B,Q,T,G,Z){if(tn.noDeprecation)return;let W=(0,Be.fileURLToPath)(Q),fe=xa.exec(Z?A:g)!==null;tn.emitWarning(`Use of deprecated ${fe?"double slash":"leading or trailing slash matching"} resolving "${A}" for module request "${g}" ${g===B?"":`matched to "${B}" `}in the "${T?"imports":"exports"}" field module resolution of the package at ${W}${G?` imported from ${(0,Be.fileURLToPath)(G)}`:""}.`,"DeprecationWarning","DEP0166")}function Bn(A,g,B,Q){if(tn.noDeprecation||(function(fe,De){let we=fe.protocol;return Qu.call(Ll,we)&&Ll[we](fe,De,!0)||null})(A,{parentURL:B.href})!=="module")return;let G=(0,Be.fileURLToPath)(A.href),Z=(0,Be.fileURLToPath)(new Be.URL(".",g)),W=(0,Be.fileURLToPath)(B);Q?Kn.resolve(Z,Q)!==G&&tn.emitWarning(`Package ${Z} has a "main" field set to "${Q}", excluding the full filename and extension to the resolved file at "${G.slice(Z.length)}", imported from ${W}.
474
- Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):tn.emitWarning(`No "main" or "exports" field defined in the package.json for ${Z} resolving the main entry point "${G.slice(Z.length)}", imported from ${W}.
475
- Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function oi(A){try{return(0,pi.statSync)(A)}catch{}}function mr(A){let g=(0,pi.statSync)(A,{throwIfNoEntry:!1}),B=g?g.isFile():void 0;return B!=null&&B}function ar(A,g,B){let Q;if(g.main!==void 0){if(Q=new Be.URL(g.main,A),mr(Q))return Q;let Z=[`./${g.main}.js`,`./${g.main}.json`,`./${g.main}.node`,`./${g.main}/index.js`,`./${g.main}/index.json`,`./${g.main}/index.node`],W=-1;for(;++W<Z.length&&(Q=new Be.URL(Z[W],A),!mr(Q));)Q=void 0;if(Q)return Bn(Q,A,B,g.main),Q}let T=["./index.js","./index.json","./index.node"],G=-1;for(;++G<T.length&&(Q=new Be.URL(T[G],A),!mr(Q));)Q=void 0;if(Q)return Bn(Q,A,B,g.main),Q;throw new Us((0,Be.fileURLToPath)(new Be.URL(".",A)),(0,Be.fileURLToPath)(B))}function Hl(A,g,B){return new ba((0,Be.fileURLToPath)(new Be.URL(".",g)),A,B&&(0,Be.fileURLToPath)(B))}function Gl(A,g,B,Q,T){return g=typeof g=="object"&&g!==null?JSON.stringify(g,null,""):`${g}`,new os((0,Be.fileURLToPath)(new Be.URL(".",B)),A,g,Q,T&&(0,Be.fileURLToPath)(T))}function ls(A,g,B,Q,T,G,Z,W,fe){if(g!==""&&!G&&A[A.length-1]!=="/")throw Gl(B,A,Q,Z,T);if(!A.startsWith("./")){if(Z&&!A.startsWith("../")&&!A.startsWith("/")){let tt=!1;try{new Be.URL(A),tt=!0}catch{}if(!tt)return bi(G?Ns.call(uo,A,()=>g):A+g,Q,fe)}throw Gl(B,A,Q,Z,T)}if(wu.exec(A.slice(2))!==null){if(mt.exec(A.slice(2))!==null)throw Gl(B,A,Q,Z,T);if(!W){let tt=G?B.replace("*",()=>g):B+g;ss(G?Ns.call(uo,A,()=>g):A,tt,B,Q,Z,T,!0)}}let De=new Be.URL(A,Q),we=De.pathname,We=new Be.URL(".",Q).pathname;if(!we.startsWith(We))throw Gl(B,A,Q,Z,T);if(g==="")return De;if(wu.exec(g)!==null){let tt=G?B.replace("*",()=>g):B+g;mt.exec(g)===null?W||ss(G?Ns.call(uo,A,()=>g):A,tt,B,Q,Z,T,!1):(function(Zt,_i,St,xn,Hn){let Gn=`request is not a valid match in pattern "${_i}" for the "${xn?"imports":"exports"}" resolution of ${(0,Be.fileURLToPath)(St)}`;throw new Ts(Zt,Gn,Hn&&(0,Be.fileURLToPath)(Hn))})(tt,B,Q,Z,T)}return G?new Be.URL(Ns.call(uo,De.href,()=>g)):new Be.URL(g,De)}function fl(A){let g=Number(A);return`${g}`===A&&g>=0&&g<4294967295}function us(A,g,B,Q,T,G,Z,W,fe){if(typeof g=="string")return ls(g,B,Q,A,T,G,Z,W,fe);if(Array.isArray(g)){let De=g;if(De.length===0)return null;let we,We=-1;for(;++We<De.length;){let tt=De[We],Zt;try{Zt=us(A,tt,B,Q,T,G,Z,W,fe)}catch(_i){if(we=_i,_i.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw _i}if(Zt!==void 0){if(Zt!==null)return Zt;we=null}}if(we==null)return null;throw we}if(typeof g=="object"&&g!==null){let De=Object.getOwnPropertyNames(g),we=-1;for(;++we<De.length;)if(fl(De[we]))throw new $o((0,Be.fileURLToPath)(A),T,'"exports" cannot contain numeric property keys.');for(we=-1;++we<De.length;){let We=De[we];if(We==="default"||fe&&fe.has(We)){let tt=us(A,g[We],B,Q,T,G,Z,W,fe);if(tt===void 0)continue;return tt}}return null}if(g===null)return null;throw Gl(Q,g,A,Z,T)}function Rr(A,g,B){if(tn.noDeprecation)return;let Q=(0,Be.fileURLToPath)(g);qe.has(Q+"|"+A)||(qe.add(Q+"|"+A),tn.emitWarning(`Use of deprecated trailing slash pattern mapping "${A}" in the "exports" field module resolution of the package at ${Q}${B?` imported from ${(0,Be.fileURLToPath)(B)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function $n(A,g,B,Q,T){let G=B.exports;if((function(we,We,tt){if(typeof we=="string"||Array.isArray(we))return!0;if(typeof we!="object"||we===null)return!1;let Zt=Object.getOwnPropertyNames(we),_i=!1,St=0,xn=-1;for(;++xn<Zt.length;){let Hn=Zt[xn],Gn=Hn===""||Hn[0]!==".";if(St++===0)_i=Gn;else if(_i!==Gn)throw new $o((0,Be.fileURLToPath)(We),tt,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return _i})(G,A,Q)&&(G={".":G}),oc.call(G,g)&&!g.includes("*")&&!g.endsWith("/")){let we=us(A,G[g],"",g,Q,!1,!1,!1,T);if(we==null)throw Hl(g,A,Q);return we}let Z="",W="",fe=Object.getOwnPropertyNames(G),De=-1;for(;++De<fe.length;){let we=fe[De],We=we.indexOf("*");if(We!==-1&&g.startsWith(we.slice(0,We))){g.endsWith("/")&&Rr(g,A,Q);let tt=we.slice(We+1);g.length>=we.length&&g.endsWith(tt)&&Pl(Z,we)===1&&we.lastIndexOf("*")===We&&(Z=we,W=g.slice(We,g.length-tt.length))}}if(Z){let we=us(A,G[Z],W,Z,Q,!0,!1,g.endsWith("/"),T);if(we==null)throw Hl(g,A,Q);return we}throw Hl(g,A,Q)}function Pl(A,g){let B=A.indexOf("*"),Q=g.indexOf("*"),T=B===-1?A.length:B+1,G=Q===-1?g.length:Q+1;return T>G?-1:G>T||B===-1?1:Q===-1||A.length>g.length?-1:g.length>A.length?1:0}function jl(A,g,B){if(A==="#"||A.startsWith("#/")||A.endsWith("/"))throw new Ts(A,"is not a valid internal imports specifier name",(0,Be.fileURLToPath)(g));let Q,T=Al(g);if(T.exists){Q=(0,Be.pathToFileURL)(T.pjsonPath);let G=T.imports;if(G)if(oc.call(G,A)&&!A.includes("*")){let Z=us(Q,G[A],"",A,g,!1,!0,!1,B);if(Z!=null)return Z}else{let Z="",W="",fe=Object.getOwnPropertyNames(G),De=-1;for(;++De<fe.length;){let we=fe[De],We=we.indexOf("*");if(We!==-1&&A.startsWith(we.slice(0,-1))){let tt=we.slice(We+1);A.length>=we.length&&A.endsWith(tt)&&Pl(Z,we)===1&&we.lastIndexOf("*")===We&&(Z=we,W=A.slice(We,A.length-tt.length))}}if(Z){let we=us(Q,G[Z],W,Z,g,!0,!0,!1,B);if(we!=null)return we}}}throw(function(G,Z,W){return new ks(G,Z&&(0,Be.fileURLToPath)(new Be.URL(".",Z)),(0,Be.fileURLToPath)(W))})(A,Q,g)}function bi(A,g,B){if(so.builtinModules.includes(A))return new Be.URL("node:"+A);let{packageName:Q,packageSubpath:T,isScoped:G}=(function(we,We){let tt=we.indexOf("/"),Zt=!0,_i=!1;we[0]==="@"&&(_i=!0,tt===-1||we.length===0?Zt=!1:tt=we.indexOf("/",tt+1));let St=tt===-1?we:we.slice(0,tt);if(Os.exec(St)!==null&&(Zt=!1),!Zt)throw new Ts(we,"is not a valid package name",(0,Be.fileURLToPath)(We));return{packageName:St,packageSubpath:"."+(tt===-1?"":we.slice(tt)),isScoped:_i}})(A,g),Z=Al(g);if(Z.exists){let we=(0,Be.pathToFileURL)(Z.pjsonPath);if(Z.name===Q&&Z.exports!==void 0&&Z.exports!==null)return $n(we,T,Z,g,B)}let W,fe=new Be.URL("./node_modules/"+Q+"/package.json",g),De=(0,Be.fileURLToPath)(fe);do{let we=oi(De.slice(0,-13));if(!we||!we.isDirectory()){W=De,fe=new Be.URL((G?"../../../../node_modules/":"../../../node_modules/")+Q+"/package.json",fe),De=(0,Be.fileURLToPath)(fe);continue}let We=ac(De,{base:g,specifier:A});return We.exports!==void 0&&We.exports!==null?$n(fe,T,We,g,B):T==="."?ar(fe,We,g):new Be.URL(T,fe)}while(De.length!==W.length);throw new Us(Q,(0,Be.fileURLToPath)(g),!1)}function Bo(A,g,B,Q){let T=g.protocol,G=T==="data:"||T==="http:"||T==="https:",Z;if((function(W){return W!==""&&(W[0]==="/"||(function(fe){return fe[0]==="."&&(fe.length===1||fe[1]==="/"||fe[1]==="."&&(fe.length===2||fe[2]==="/"))})(W))})(A))try{Z=new Be.URL(A,g)}catch(W){let fe=new Pa(A,g);throw fe.cause=W,fe}else if(T==="file:"&&A[0]==="#")Z=jl(A,g,B);else try{Z=new Be.URL(A)}catch(W){if(G&&!so.builtinModules.includes(A)){let fe=new Pa(A,g);throw fe.cause=W,fe}Z=bi(A,g,B)}return Nt(Z!==void 0,"expected to be defined"),Z.protocol!=="file:"?Z:(function(W,fe){if(mn.exec(W.pathname)!==null)throw new Ts(W.pathname,'must not include encoded "/" or "\\" characters',(0,Be.fileURLToPath)(fe));let De;try{De=(0,Be.fileURLToPath)(W)}catch(We){let tt=We;throw Object.defineProperty(tt,"input",{value:String(W)}),Object.defineProperty(tt,"module",{value:String(fe)}),tt}let we=oi(De.endsWith("/")?De.slice(-1):De);if(we&&we.isDirectory()){let We=new Qe(De,(0,Be.fileURLToPath)(fe));throw We.url=String(W),We}if(!we||!we.isFile()){let We=new Us(De||W.pathname,fe&&(0,Be.fileURLToPath)(fe),!0);throw We.url=String(W),We}{let We=(0,pi.realpathSync)(De),{search:tt,hash:Zt}=W;(W=(0,Be.pathToFileURL)(We+(De.endsWith(Kn.sep)?"/":""))).search=tt,W.hash=Zt}return W})(Z,g)}function qr(A){return typeof A!="string"||A.startsWith("file://")?Da((0,Be.fileURLToPath)(A)):Da(A)}function co(A){return(0,Be.pathToFileURL)(qr(A)).toString()}let pl=new Set(["node","import"]),Ru=[".mjs",".cjs",".js",".json"],Ao=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function hl(A,g,B){try{return Bo(A,g,B)}catch(Q){if(!Ao.has(Q?.code))throw Q}}function Jl(A,g={}){if(typeof A!="string"){if(!(A instanceof URL))throw new TypeError("input must be a `string` or `URL`");A=qr(A)}if(/(?:node|data|http|https):/.test(A))return A;if(Gr.has(A))return"node:"+A;if(A.startsWith("file://")&&(A=qr(A)),Ge(A))try{if((0,pi.statSync)(A).isFile())return co(A)}catch(Z){if(Z?.code!=="ENOENT")throw Z}let B=g.conditions?new Set(g.conditions):pl,Q=(Array.isArray(g.url)?g.url:[g.url]).filter(Boolean).map(Z=>new URL((function(W){return typeof W!="string"&&(W=W.toString()),/(?:node|data|http|https|file):/.test(W)?W:Gr.has(W)?"node:"+W:"file://"+encodeURI(Da(W))})(Z.toString())));Q.length===0&&Q.push(new URL(co(process.cwd())));let T=[...Q];for(let Z of Q)Z.protocol==="file:"&&T.push(new URL("./",Z),new URL(Zr(Z.pathname,"_index.js"),Z),new URL("node_modules",Z));let G;for(let Z of T){if(G=hl(A,Z,B),G)break;for(let W of["","/index"]){for(let fe of g.extensions||Ru)if(G=hl(Zr(A,W)+fe,Z,B),G)break;if(G)break}if(G)break}if(!G){let Z=new Error(`Cannot find module ${A} imported from ${T.join(", ")}`);throw Z.code="ERR_MODULE_NOT_FOUND",Z}return co(G)}function sc(A,g){return Jl(A,g)}function Nu(A,g){return qr(sc(A,g))}let Fs=/(?:[\s;]|^)(?:import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,Vl=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function zs(A,g={}){return g.stripComments&&(A=A.replace(Vl,"")),Fs.test(A)}function Ho(A){if(typeof A!="string")throw new TypeError("Expected a string");return A.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let gl=new Set(["/","\\",void 0]),ml=Symbol.for("pathe:normalizedAlias"),xi=/[/\\]/;function Kl(A){if(A[ml])return A;let g=Object.fromEntries(Object.entries(A).sort(([B],[Q])=>(function(T,G){return G.split("/").length-T.split("/").length})(B,Q)));for(let B in g)for(let Q in g)Q===B||B.startsWith(Q)||g[B]?.startsWith(Q)&&gl.has(g[B][Q.length])&&(g[B]=g[Q]+g[B].slice(Q.length));return Object.defineProperty(g,ml,{value:!0,enumerable:!1}),g}function Tu(A="/"){let g=A[A.length-1];return g==="/"||g==="\\"}var Er={rE:"2.6.1"};let El=Ai("crypto");var lc=r.n(El);let Zl=Object.create(null),or=A=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(A?Zl:globalThis),Do=new Proxy(Zl,{get:(A,g)=>or()[g]??Zl[g],has:(A,g)=>g in or()||g in Zl,set:(A,g,B)=>(or(!0)[g]=B,!0),deleteProperty(A,g){return g?(delete or(!0)[g],!0):!1},ownKeys(){let A=or(!0);return Object.keys(A)}}),Yl=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",Ms=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["CODESANDBOX","CODESANDBOX_HOST",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]],Ls=(function(){if(globalThis.process?.env)for(let A of Ms){let g=A[1]||A[0];if(globalThis.process?.env[g])return{name:A[0].toLowerCase(),...A[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}})();Ls.name;function Wr(A){return!!A&&A!=="false"}let cs=globalThis.process?.platform||"",sr=Wr(Do.CI)||Ls.ci!==!1,As=Wr(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY),$s=(Wr(Do.DEBUG),Yl==="test"||Wr(Do.TEST)),Xn=(Wr(Do.MINIMAL),/^win/i.test(cs)),Hs=(/^linux/i.test(cs),/^darwin/i.test(cs),!Wr(Do.NO_COLOR)&&(Wr(Do.FORCE_COLOR)||(As||Xn)&&Do.TERM),(globalThis.process?.versions?.node||"").replace(/^v/,"")||null),Qa=(Number(Hs?.split(".")[0]),globalThis.process||Object.create(null)),ql={versions:{}},Gs=(new Proxy(Qa,{get:(A,g)=>g==="env"?Do:g in A?A[g]:g in ql?ql[g]:void 0}),globalThis.process?.release?.name==="node"),ja=!!globalThis.Bun||!!globalThis.process?.versions?.bun,Wl=!!globalThis.Deno,ds=!!globalThis.fastly,yl=[[!!globalThis.Netlify,"netlify"],[!!globalThis.EdgeRuntime,"edge-light"],[globalThis.navigator?.userAgent==="Cloudflare-Workers","workerd"],[ds,"fastly"],[Wl,"deno"],[ja,"bun"],[Gs,"node"]];(function(){let A=yl.find(g=>g[0]);A&&A[1]})();let Ja=Ai("tty"),uc=Ja?.WriteStream?.prototype?.hasColors?.()??!1,jt=(A,g)=>{if(!uc)return T=>T;let B=`\x1B[${A}m`,Q=`\x1B[${g}m`;return T=>{let G=T+"",Z=G.indexOf(Q);if(Z===-1)return B+G+Q;let W=B,fe=0,De=(g===22?Q:"")+B;for(;Z!==-1;)W+=G.slice(fe,Z)+De,fe=Z+Q.length,Z=G.indexOf(Q,fe);return W+=G.slice(fe)+Q,W}},Go=(jt(0,0),jt(1,22),jt(2,22),jt(3,23),jt(4,24),jt(53,55),jt(7,27),jt(8,28),jt(9,29),jt(30,39),jt(31,39)),Xr=jt(32,39),fs=jt(33,39),vl=jt(34,39),Zc=(jt(35,39),jt(36,39)),Yc=(jt(37,39),jt(90,39));jt(40,49),jt(41,49),jt(42,49),jt(43,49),jt(44,49),jt(45,49),jt(46,49),jt(47,49),jt(100,49),jt(91,39),jt(92,39),jt(93,39),jt(94,39),jt(95,39),jt(96,39),jt(97,39),jt(101,49),jt(102,49),jt(103,49),jt(104,49),jt(105,49),jt(106,49),jt(107,49);function qc(A){if(typeof A!="string"||A.startsWith("file://"))return!1;try{return(0,pi.lstatSync)(A).isDirectory()}catch{return!1}}function Uu(A,g=8){return((function(){if(Va!==void 0)return Va;try{return Va=!!lc().getFips?.(),Va}catch{return Va=!1,Va}})()?lc().createHash("sha256"):lc().createHash("md5")).update(A).digest("hex").slice(0,g)}let Xl={true:Xr("true"),false:fs("false"),"[rebuild]":fs("[rebuild]"),"[esm]":vl("[esm]"),"[cjs]":Xr("[cjs]"),"[import]":vl("[import]"),"[require]":Xr("[require]"),"[native]":Zc("[native]"),"[transpile]":fs("[transpile]"),"[fallback]":Go("[fallback]"),"[unknown]":Go("[unknown]"),"[hit]":Xr("[hit]"),"[miss]":fs("[miss]"),"[json]":Xr("[json]"),"[data]":Xr("[data]")};function ei(A,...g){if(!A.opts.debug)return;let B=process.cwd();console.log(Yc(["[jiti]",...g.map(Q=>Q in Xl?Xl[Q]:typeof Q!="string"?JSON.stringify(Q):Q.replace(B,"."))].join(" ")))}function ea(A,g){return A.opts.interopDefault?(function(B){let Q=typeof B;if(B===null||Q!=="object"&&Q!=="function")return B;let T=B.default,G=typeof T,Z=T==null,W=G==="object"||G==="function";return Z&&B instanceof Promise?B:new Proxy(B,{get(fe,De,we){if(De==="__esModule")return!0;if(De==="default")return Z?B:typeof T?.default=="function"&&B.__esModule?T.default:T;if(Reflect.has(fe,De))return Reflect.get(fe,De,we);if(W&&!(T instanceof Promise)){let We=Reflect.get(T,De,we);return typeof We=="function"&&(We=We.bind(T)),We}},apply:(fe,De,we)=>typeof fe=="function"?Reflect.apply(fe,De,we):G==="function"?Reflect.apply(T,De,we):void 0})})(g):g}let Va;function fo(A,g){return!!Ps(A,g)}function Ps(A,g){let B=process.env[A];if(!(A in process.env))return g;try{return JSON.parse(B)}catch{return g}}let yr=/\.(c|m)?j(sx?)$/,Po=/\.(c|m)?t(sx?)$/;function hi(A,g,B){let Q,T;if(A.isNativeRe.test(g))return g;A.alias&&(g=(function(W,fe){let De=Yr(W);fe=Kl(fe);for(let[we,We]of Object.entries(fe)){if(!De.startsWith(we))continue;let tt=Tu(we)?we.slice(0,-1):we;if(Tu(De[tt.length]))return ne(We,De.slice(we.length))}return De})(g,A.alias));let G=B?.parentURL||A.url;qc(G)&&(G=ne(G,"_index.js"));let Z=(B?.async?[B?.conditions,["node","import"],["node","require"]]:[B?.conditions,["node","require"],["node","import"]]).filter(Boolean);for(let W of Z){try{Q=Nu(g,{url:G,conditions:W,extensions:A.opts.extensions})}catch(fe){T=fe}if(Q)return Q}try{return A.nativeRequire.resolve(g,{paths:B.paths})}catch(W){T=W}for(let W of A.additionalExts)if(Q=Cl(A,g+W,G,B)||Cl(A,g+"/index"+W,G,B),Q||(Po.test(A.filename)||Po.test(A.parentModule?.filename||"")||yr.test(g))&&(Q=Cl(A,g.replace(yr,".$1t$2"),G,B),Q))return Q;if(!B?.try)throw T}function Cl(A,g,B,Q){try{return A.nativeRequire.resolve(g,{...Q,paths:[Ye(qr(B)),...Q?.paths||[]]})}catch{}}let wa=Ai("perf_hooks"),jo=Ai("vm");var So=r.n(jo);function qi(A,g,B){let Q=A.parentCache||{};if(g.startsWith("node:"))return Ka(A,g,B.async);if(g.startsWith("file:"))g=(0,Be.fileURLToPath)(g);else if(g.startsWith("data:")){if(!B.async)throw new Error("`data:` URLs are only supported in ESM context. Use `import` or `jiti.import` instead.");return ei(A,"[native]","[data]","[import]",g),Ka(A,g,!0)}if(so.builtinModules.includes(g)||g===".pnp.js")return Ka(A,g,B.async);if(A.opts.tryNative&&!A.opts.transformOptions)try{if(!(g=hi(A,g,B))&&B.try)return;if(ei(A,"[try-native]",B.async&&A.nativeImport?"[import]":"[require]",g),B.async&&A.nativeImport)return A.nativeImport(g).then(W=>(A.opts.moduleCache===!1&&delete A.nativeRequire.cache[g],ea(A,W)));{let W=A.nativeRequire(g);return A.opts.moduleCache===!1&&delete A.nativeRequire.cache[g],ea(A,W)}}catch(W){ei(A,`[try-native] Using fallback for ${g} because of an error:`,W)}let T=hi(A,g,B);if(!T&&B.try)return;let G=$e(T);if(G===".json"){ei(A,"[json]",T);let W=A.nativeRequire(T);return W&&!("default"in W)&&Object.defineProperty(W,"default",{value:W,enumerable:!1}),W}if(G&&!A.opts.extensions.includes(G))return ei(A,"[native]","[unknown]",B.async?"[import]":"[require]",T),Ka(A,T,B.async);if(A.isNativeRe.test(T))return ei(A,"[native]",B.async?"[import]":"[require]",T),Ka(A,T,B.async);if(Q[T])return ea(A,Q[T]?.exports);if(A.opts.moduleCache){let W=A.nativeRequire.cache[T];if(W?.loaded)return ea(A,W.exports)}let Z=(0,pi.readFileSync)(T,"utf8");return po(A,Z,{id:g,filename:T,ext:G,cache:Q,async:B.async})}function Ka(A,g,B){return B&&A.nativeImport?A.nativeImport((function(Q){return Xn&&Ge(Q)?co(Q):Q})(g)).then(Q=>ea(A,Q)):ea(A,A.nativeRequire(g))}let Ra="9";function Il(A,g,B){if(!A.opts.fsCache||!g.filename)return B();let Q=` /* v${Ra}-${Uu(g.source,16)} */
476
- `,T=`${et(Ye(g.filename))}-${(function(fe){let De=fe.split(xi).pop();if(!De)return;let we=De.lastIndexOf(".");return we<=0?De:De.slice(0,we)})(g.filename)}`+(A.opts.sourceMaps?"+map":"")+(g.interopDefault?".i":"")+`.${Uu(g.filename)}`+(g.async?".mjs":".cjs");g.jsx&&g.filename.endsWith("x")&&(T+="x");let G=A.opts.fsCache,Z=ne(G,T);if(!A.opts.rebuildFsCache&&(0,pi.existsSync)(Z)){let fe=(0,pi.readFileSync)(Z,"utf8");if(fe.endsWith(Q))return ei(A,"[cache]","[hit]",g.filename,"~>",Z),fe}ei(A,"[cache]","[miss]",g.filename);let W=B();return W.includes("__JITI_ERROR__")||((0,pi.writeFileSync)(Z,W+Q,"utf8"),ei(A,"[cache]","[store]",g.filename,"~>",Z)),W}function Dn(A){if(A.opts.fsCache===!0&&(A.opts.fsCache=(function(g){let B=g.filename&&me(g.filename,"../node_modules");if(B&&(0,pi.existsSync)(B))return ne(B,".cache/jiti");let Q=(0,i.tmpdir)();if(process.env.TMPDIR&&Q===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let T=process.env.TMPDIR;delete process.env.TMPDIR,Q=(0,i.tmpdir)(),process.env.TMPDIR=T}return ne(Q,"jiti")})(A)),A.opts.fsCache)try{if((0,pi.mkdirSync)(A.opts.fsCache,{recursive:!0}),!(function(g){try{return(0,pi.accessSync)(g,pi.constants.W_OK),!0}catch{return!1}})(A.opts.fsCache))throw new Error("directory is not writable!")}catch(g){ei(A,"Error creating cache directory at ",A.opts.fsCache,g),A.opts.fsCache=!1}}function Fn(A,g){let B=Il(A,g,()=>{let Q=A.opts.transform({...A.opts.transformOptions,babel:{...A.opts.sourceMaps?{sourceFileName:g.filename,sourceMaps:"inline"}:{},...A.opts.transformOptions?.babel},interopDefault:A.opts.interopDefault,...g});return Q.error&&A.opts.debug&&ei(A,Q.error),Q.code});return B.startsWith("#!")&&(B="// "+B),B}function po(A,g,B={}){let Q=B.id||(B.filename?et(B.filename):`_jitiEval.${B.ext||(B.async?"mjs":"js")}`),T=B.filename||hi(A,Q,{async:B.async}),G=B.ext||$e(T),Z=B.cache||A.parentCache||{},W=/\.[cm]?tsx?$/.test(G),fe=G===".mjs"||G===".js"&&(function(Gn){for(;Gn&&Gn!=="."&&Gn!=="/";){Gn=ne(Gn,"..");try{let ps=(0,pi.readFileSync)(ne(Gn,"package.json"),"utf8");try{return JSON.parse(ps)}catch{}break}catch{}}})(T)?.type==="module",De=G===".cjs",we=B.forceTranspile??(!De&&!(fe&&B.async)&&(W||fe||A.isTransformRe.test(T)||zs(g))),We=wa.performance.now();if(we){g=Fn(A,{filename:T,source:g,ts:W,async:B.async??!1,jsx:A.opts.jsx});let Gn=Math.round(1e3*(wa.performance.now()-We))/1e3;ei(A,"[transpile]",B.async?"[esm]":"[cjs]",T,`(${Gn}ms)`)}else{if(ei(A,"[native]",B.async?"[import]":"[require]",T),B.async)return Promise.resolve(Ka(A,T,B.async)).catch(Gn=>(ei(A,"Native import error:",Gn),ei(A,"[fallback]",T),po(A,g,{...B,forceTranspile:!0})));try{return Ka(A,T,B.async)}catch(Gn){ei(A,"Native require error:",Gn),ei(A,"[fallback]",T),g=Fn(A,{filename:T,source:g,ts:W,async:B.async??!1,jsx:A.opts.jsx})}}let tt=new so.Module(T);tt.filename=T,A.parentModule&&(tt.parent=A.parentModule,Array.isArray(A.parentModule.children)&&!A.parentModule.children.includes(tt)&&A.parentModule.children.push(tt));let Zt=Aa(T,A.opts,{parentModule:tt,parentCache:Z,nativeImport:A.nativeImport,onError:A.onError,createRequire:A.createRequire},!0),_i;tt.require=Zt,tt.path=Ye(T),tt.paths=so.Module._nodeModulePaths(tt.path),Z[T]=tt,A.opts.moduleCache&&(A.nativeRequire.cache[T]=tt);let St=(function(Gn,ps){return`(${ps?.async?"async ":""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${Gn}
477
- });`})(g,{async:B.async});try{_i=So().runInThisContext(St,{filename:T,lineOffset:0,displayErrors:!1})}catch(Gn){Gn.name==="SyntaxError"&&B.async&&A.nativeImport?(ei(A,"[esm]","[import]","[fallback]",T),_i=(function(ps,ku){let Jo=`data:text/javascript;base64,${Buffer.from(`export default ${ps}`).toString("base64")}`;return(...js)=>ku(Jo).then(Na=>Na.default(...js))})(St,A.nativeImport)):(A.opts.moduleCache&&delete A.nativeRequire.cache[T],A.onError(Gn))}let xn;try{xn=_i(tt.exports,tt.require,tt,tt.filename,Ye(tt.filename),Zt.import,Zt.esmResolve)}catch(Gn){A.opts.moduleCache&&delete A.nativeRequire.cache[T],A.onError(Gn)}function Hn(){if(tt.exports&&tt.exports.__JITI_ERROR__){let{filename:Gn,line:ps,column:ku,code:Jo,message:js}=tt.exports.__JITI_ERROR__,Na=new Error(`${Jo}: ${js}
478
- ${`${Gn}:${ps}:${ku}`}`);Error.captureStackTrace(Na,qi),A.onError(Na)}return tt.loaded=!0,ea(A,tt.exports)}return B.async?Promise.resolve(xn).then(Hn):Hn()}let cc=(0,i.platform)()==="win32";function Aa(A,g={},B,Q=!1){let T=Q?g:(function(St){let xn={fsCache:fo("JITI_FS_CACHE",fo("JITI_CACHE",!0)),rebuildFsCache:fo("JITI_REBUILD_FS_CACHE",!1),moduleCache:fo("JITI_MODULE_CACHE",fo("JITI_REQUIRE_CACHE",!0)),debug:fo("JITI_DEBUG",!1),sourceMaps:fo("JITI_SOURCE_MAPS",!1),interopDefault:fo("JITI_INTEROP_DEFAULT",!0),extensions:Ps("JITI_EXTENSIONS",[".js",".mjs",".cjs",".ts",".tsx",".mts",".cts",".mtsx",".ctsx"]),alias:Ps("JITI_ALIAS",{}),nativeModules:Ps("JITI_NATIVE_MODULES",[]),transformModules:Ps("JITI_TRANSFORM_MODULES",[]),tryNative:Ps("JITI_TRY_NATIVE","Bun"in globalThis),jsx:fo("JITI_JSX",!1)};xn.jsx&&xn.extensions.push(".jsx",".tsx");let Hn={};return St.cache!==void 0&&(Hn.fsCache=St.cache),St.requireCache!==void 0&&(Hn.moduleCache=St.requireCache),{...xn,...Hn,...St}})(g),G=T.alias&&Object.keys(T.alias).length>0?Kl(T.alias||{}):void 0,Z=["typescript","jiti",...T.nativeModules||[]],W=new RegExp(`node_modules/(${Z.map(St=>Ho(St)).join("|")})/`),fe=[...T.transformModules||[]],De=new RegExp(`node_modules/(${fe.map(St=>Ho(St)).join("|")})/`);A||(A=process.cwd()),!Q&&qc(A)&&(A=ne(A,"_index.js"));let we=co(A),We=[...T.extensions].filter(St=>St!==".js"),tt=B.createRequire(cc?A.replace(/\//g,"\\"):A),Zt={filename:A,url:we,opts:T,alias:G,nativeModules:Z,transformModules:fe,isNativeRe:W,isTransformRe:De,additionalExts:We,nativeRequire:tt,onError:B.onError,parentModule:B.parentModule,parentCache:B.parentCache,nativeImport:B.nativeImport,createRequire:B.createRequire};return Q||ei(Zt,"[init]",...[["version:",Er.rE],["module-cache:",T.moduleCache],["fs-cache:",T.fsCache],["rebuild-fs-cache:",T.rebuildFsCache],["interop-defaults:",T.interopDefault]].flat()),Q||Dn(Zt),Object.assign(function(St){return qi(Zt,St,{async:!1})},{cache:T.moduleCache?tt.cache:Object.create(null),extensions:tt.extensions,main:tt.main,options:T,resolve:Object.assign(function(St){return hi(Zt,St,{async:!1})},{paths:tt.resolve.paths}),transform:St=>Fn(Zt,St),evalModule:(St,xn)=>po(Zt,St,xn),async import(St,xn){let Hn=await qi(Zt,St,{...xn,async:!0});return xn?.default?Hn?.default??Hn:Hn},esmResolve(St,xn){typeof xn=="string"&&(xn={parentURL:xn});let Hn=hi(Zt,St,{parentURL:we,...xn,async:!0});return!Hn||typeof Hn!="string"||Hn.startsWith("file://")?Hn:co(Hn)}})}})(),FL.exports=o.default})()});import{createRequire as ML}from"module";function jK(e){throw e}function VK(...e){return J2||(J2=ML(import.meta.url)("../dist/babel.cjs")),J2(...e)}function V0(e,t={}){return t.transform||(t={...t,transform:VK}),(0,LL.default)(e,t,{onError:jK,nativeImport:JK,createRequire:ML})}var LL,JK,J2,V2=Y(()=>{"use strict";x();LL=vt(zL(),1);JK=e=>import(e)});import{existsSync as KK}from"fs";import{resolve as ZK}from"path";async function $L(){let e=ZK(process.cwd(),Xd);if(!KK(e))throw new Error(`Config file not found in project root: ${Xd}`);let r=await V0(import.meta.url).import(e,{default:!0});return j0.parse(r)}var HL=Y(()=>{"use strict";x();J0();V2()});async function GL(e,t){let r=await sa(e),{results:o}=await r.forms.listForms({projectId:t});function i(f){return f.schema!=null}return o.filter(i).map(f=>({id:f.id,name:f.name,schema:f.schema}))}var PL=Y(()=>{"use strict";x();Jc()});import jL from"fs/promises";import YK from"path";async function K0(e,t){let r=YK.dirname(e);await jL.mkdir(r,{recursive:!0}),await jL.writeFile(e,t,"utf-8")}var K2=Y(()=>{"use strict";x()});var JL={};Ea(JL,{generateCode:()=>qK});import Z2 from"process";async function qK(){let e=await hn(()=>$L(),u=>new Error("Failed to load configuration",{cause:u}));e.failure&&(qt((0,Bg.jsx)(di,{message:e.failure.message})),Z2.exit(1));let{projectId:t,genPath:r}=e.data;qt((0,Bg.jsx)(UL,{message:"Generating form code..."}));let o=await hn(async()=>{let u=['// This file was generated by "@swirls/cli dev generate"',"// Do not edit this file manually",""],f=await GL(this,t);return DL(f,u)},u=>new Error(`Failed to generate form code: ${u.message}`,{cause:u}));o.failure&&(qt((0,Bg.jsx)(di,{message:o.failure.message})),Z2.exit(1));let i=await hn(()=>K0(r,o.data),u=>new Error("Failed to write code file",{cause:u}));i.failure&&(qt((0,Bg.jsx)(di,{message:i.failure.message})),Z2.exit(1)),qt((0,Bg.jsx)(ro,{message:`Success! Generated code at ${r}`}))}var Bg,VL=Y(async()=>{"use strict";x();wl();SL();await ya();await rc();await kL();await Vc();HL();PL();K2();Bg=vt(ii(),1)});function WK({value:e,placeholder:t="",focus:r=!0,mask:o,highlightPastedText:i=!1,showCursor:u=!0,onChange:f,onSubmit:y}){let[I,D]=(0,Dg.useState)({cursorOffset:(e||"").length,cursorWidth:0}),{cursorOffset:R,cursorWidth:z}=I;(0,Dg.useEffect)(()=>{D(oe=>{if(!r||!u)return oe;let ce=e||"";return oe.cursorOffset>ce.length-1?{cursorOffset:ce.length,cursorWidth:0}:oe})},[e,r,u]);let V=i?z:0,$=o?o.repeat(e.length):e,te=$,re=t?Gi.grey(t):void 0;if(u&&r){re=t.length>0?Gi.inverse(t[0])+Gi.grey(t.slice(1)):Gi.inverse(" "),te=$.length>0?"":Gi.inverse(" ");let oe=0;for(let ce of $)te+=oe>=R-V&&oe<=R?Gi.inverse(ce):ce,oe++;$.length>0&&R===$.length&&(te+=Gi.inverse(" "))}return CS((oe,ce)=>{if(ce.upArrow||ce.downArrow||ce.ctrl&&oe==="c"||ce.tab||ce.shift&&ce.tab)return;if(ce.return){y&&y(e);return}let xe=R,Me=e,Ie=0;ce.leftArrow?u&&xe--:ce.rightArrow?u&&xe++:ce.backspace||ce.delete?R>0&&(Me=e.slice(0,R-1)+e.slice(R,e.length),xe--):(Me=e.slice(0,R)+oe+e.slice(R,e.length),xe+=oe.length,oe.length>1&&(Ie=oe.length)),R<0&&(xe=0),R>e.length&&(xe=e.length),D({cursorOffset:xe,cursorWidth:Ie}),Me!==e&&f(Me)},{isActive:r}),Dg.default.createElement(ni,null,t?$.length>0?te:re:te)}var Dg,Z0,Y2=Y(async()=>{"use strict";x();Dg=vt(yi(),1);await ya();pE();Z0=WK});function XK(e){let[t,r]=(0,q2.useState)(""),[o,i]=(0,q2.useState)(null);return(0,ef.jsxs)(Pi,{flexDirection:"column",children:[(0,ef.jsxs)(Pi,{children:[(0,ef.jsx)(ni,{children:"Enter project ID (UUID): "}),(0,ef.jsx)(Z0,{value:t,onChange:y=>{i(null),r(y)},onSubmit:y=>{if(i(null),y.trim()===""){setImmediate(()=>e.onInput());return}let I=Kd.uuid().safeParse(y);if(!I.success){i("Invalid UUID. Please try again."),r("");return}setImmediate(()=>e.onInput(I.data))}})]}),o&&(0,ef.jsx)(ni,{color:"red",children:o})]})}async function KL(){return new Promise(e=>{let t=qt((0,ef.jsx)(XK,{onInput:r=>{t.unmount(),e(r)}}))})}var q2,ef,ZL=Y(async()=>{"use strict";x();await ya();await Y2();q2=vt(yi(),1);hg();ef=vt(ii(),1)});var YL={};Ea(YL,{initializeConfig:()=>n7});import{existsSync as e7}from"fs";import{resolve as t7}from"path";import W2 from"process";async function n7(){let e=t7(W2.cwd(),Xd);e7(e)&&(qt((0,Y0.jsx)(di,{message:`Configuration already exists at ${e}.`})),W2.exit(1));let t=await KL(),r=await hn(async()=>{let o=OL(t);await K0(e,o)},o=>new Error("Failed to create configuration",{cause:o}));r.failure&&(qt((0,Y0.jsx)(di,{message:r.failure.message})),W2.exit(1)),qt((0,Y0.jsx)(ro,{message:`Success! Created configuration at ${e}`}))}var Y0,qL=Y(async()=>{"use strict";x();wl();J0();await ya();await rc();await Vc();await ZL();K2();Y0=vt(ii(),1)});async function q0(e){let t=`${a7}/${e.id}`;await _0(t),qt((0,XL.jsx)(ro,{message:`Opened project "${e.name}" in browser.`}))}var XL,a7,X2=Y(async()=>{"use strict";x();await ya();X1();await Vc();XL=vt(ii(),1),a7="https://swirls.ai/projects"});function o7(e){let[t,r]=(0,e$.useState)(""),o=i=>{let u=i.trim().toLowerCase(),f=u===""||u==="y"||u==="yes";setImmediate(()=>e.onAnswer(f))};return(0,tf.jsx)(Pi,{flexDirection:"column",children:(0,tf.jsxs)(Pi,{children:[(0,tf.jsxs)(ni,{children:[e.message," "]}),(0,tf.jsx)(Z0,{value:t,onChange:r,onSubmit:o})]})})}async function t$(e){let{above:t}=e??{};return new Promise(r=>{let o=qt((0,tf.jsxs)(Pi,{flexDirection:"column",children:[t,(0,tf.jsx)(o7,{message:"Open project in browser? (Y/n)",onAnswer:i=>{o.unmount(),r(i)}})]}))})}var e$,tf,n$=Y(async()=>{"use strict";x();await ya();await Y2();e$=vt(yi(),1),tf=vt(ii(),1)});var i$={};Ea(i$,{createProject:()=>s7});async function s7(e,t){let r=await sa(this),o=await hn(()=>r.projects.createProject({name:t}),u=>new Error(`Failed to create project: ${u.message}`,{cause:u}));o.failure&&(qt((0,eR.jsx)(di,{message:o.failure.message})),process.exit(1)),await t$({above:(0,eR.jsx)(ro,{message:`Success! Created "${t}" project: ${o.data.id}`})})&&await q0(o.data)}var eR,r$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await Vc();await X2();await n$();eR=vt(ii(),1)});var a$={};Ea(a$,{openProject:()=>l7});async function l7(e,t){let r=await sa(this),o=await hn(()=>r.projects.getProject({projectId:t}),i=>new Error(`Failed to get project: ${i.message}`,{cause:i}));o.failure&&(qt((0,tR.jsx)(di,{message:o.failure.message})),process.exit(1)),o.data||(qt((0,tR.jsx)(di,{message:"Project not found."})),process.exit(1)),await q0(o.data)}var tR,o$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await X2();tR=vt(ii(),1)});function A7(e){return typeof e=="boolean"?e?(0,ao.jsxs)(ao.Fragment,{children:[(0,ao.jsx)(ni,{color:"green",children:"\u2714"})," yes"]}):"no":String(e)}function d7(e,t){return t.map(r=>{let o=r.key in e?A7(e[r.key]):null;return{column:r,value:o}})}function f7(e,t,r=1){return t.map(o=>{let i=String(o).length,u=e.map(y=>o in y&&(typeof y[o]=="string"||typeof y[o]=="number")?String(y[o]).length:0),f=Math.max(...u,i)+r*2;return{name:String(o),key:o,width:f}})}function nR(e){return(0,ao.jsx)(ni,{children:Array(e.width).fill("\u2500").join("")})}function u$(e){let t=f7(e.data,e.keys),r=t.reduce((o,i)=>o+i.width,0);return(0,ao.jsxs)(Pi,{flexDirection:"column",width:r,children:[(0,ao.jsx)(nR,{width:r}),(0,ao.jsx)(Pi,{flexDirection:"row",children:t.map(o=>(0,ao.jsx)(Pi,{width:o.width,children:(0,ao.jsx)(ni,{bold:!0,color:"blue",children:o.name})},o.name))}),(0,ao.jsx)(nR,{width:r}),(0,ao.jsx)(Pi,{flexDirection:"column",children:e.data.map((o,i)=>{let u=d7(o,t);return(0,ao.jsxs)(l$.Fragment,{children:[(0,ao.jsx)(Pi,{flexDirection:"row",children:u.map(f=>(0,ao.jsx)(Pi,{width:f.column.width,children:(0,ao.jsx)(ni,{children:f.value})},f.column.name))}),(0,ao.jsx)(nR,{width:r})]},`row-${i}`)})})]})}var l$,ao,c$=Y(async()=>{"use strict";x();await ya();l$=vt(yi(),1),ao=vt(ii(),1)});import{existsSync as p7}from"fs";import{resolve as h7}from"path";async function Kc(e){if(e)return e;let t=h7(process.cwd(),Xd);if(!p7(t))throw new Error(`No project specified and no ${Xd} found. Use --project flag or run from a project directory.`);let o=await V0(import.meta.url).import(t,{default:!0});return j0.parse(o).projectId}var Sg=Y(()=>{"use strict";x();J0();V2()});var A$={};Ea(A$,{list:()=>g7});async function g7(e,t){let r=await hn(()=>Kc(e.project),I=>new Error(I.message));r.failure&&(qt((0,W0.jsx)(di,{message:r.failure.message})),process.exit(1));let o=await sa(this),i=await hn(()=>o.buckets.listFiles({projectId:r.data,path:t}),I=>new Error(`Failed to list files: ${I.message}`,{cause:I}));i.failure&&(qt((0,W0.jsx)(di,{message:i.failure.message})),process.exit(1));let{files:u,folders:f}=i.data;if(f.length===0&&u.length===0){console.log("No files or folders found.");return}let y=[...f.map(I=>({type:"folder",name:I.name,size:"-"})),...u.map(I=>({type:"file",name:I.name,size:I.size?m7(I.size):"-"}))];qt((0,W0.jsx)(u$,{keys:["type","name","size"],data:y}))}function m7(e){if(e===0)return"0 B";let t=1024,r=["B","KB","MB","GB","TB"],o=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/t**o).toFixed(2))} ${r[o]}`}var W0,d$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await c$();Sg();W0=vt(ii(),1)});var f$={};Ea(f$,{upload:()=>v7});import{readFile as E7}from"fs/promises";import{basename as y7}from"path";async function v7(e,t,r){let o=await hn(()=>Kc(e.project),R=>new Error(R.message));o.failure&&(qt((0,bg.jsx)(di,{message:o.failure.message})),process.exit(1));let i=await hn(()=>E7(t),R=>new Error(`Failed to read file: ${R.message}`,{cause:R}));i.failure&&(qt((0,bg.jsx)(di,{message:i.failure.message})),process.exit(1));let u=y7(t),f=r?`${r}/${u}`:u,y=await sa(this),I=await hn(()=>y.buckets.createSignedUploadUrl({projectId:o.data,path:f}),R=>new Error(`Failed to get upload URL: ${R.message}`,{cause:R}));I.failure&&(qt((0,bg.jsx)(di,{message:I.failure.message})),process.exit(1));let D=await hn(async()=>{let R=await fetch(I.data.signedUrl,{method:"PUT",headers:{"Content-Type":"application/octet-stream","x-upsert":"true"},body:i.data});if(!R.ok)throw new Error(`Upload failed: ${R.statusText}`);return R},R=>new Error(`Failed to upload file: ${R.message}`,{cause:R}));D.failure&&(qt((0,bg.jsx)(di,{message:D.failure.message})),process.exit(1)),qt((0,bg.jsx)(ro,{message:`Uploaded ${u} to ${f}`}))}var bg,p$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await Vc();Sg();bg=vt(ii(),1)});var h$={};Ea(h$,{download:()=>I7});import{writeFile as C7}from"fs/promises";async function I7(e,t,r){let o=await hn(()=>Kc(e.project),I=>new Error(I.message));o.failure&&(qt((0,xg.jsx)(di,{message:o.failure.message})),process.exit(1));let i=await sa(this),u=await hn(()=>i.buckets.createSignedUrl({projectId:o.data,path:t}),I=>new Error(`Failed to get download URL: ${I.message}`,{cause:I}));u.failure&&(qt((0,xg.jsx)(di,{message:u.failure.message})),process.exit(1));let f=await hn(async()=>{let I=await fetch(u.data.signedUrl);if(!I.ok)throw new Error(`Download failed: ${I.statusText}`);return I.arrayBuffer()},I=>new Error(`Failed to download file: ${I.message}`,{cause:I}));f.failure&&(qt((0,xg.jsx)(di,{message:f.failure.message})),process.exit(1));let y=await hn(()=>C7(r,Buffer.from(f.data)),I=>new Error(`Failed to write file: ${I.message}`,{cause:I}));y.failure&&(qt((0,xg.jsx)(di,{message:y.failure.message})),process.exit(1)),qt((0,xg.jsx)(ro,{message:`Downloaded ${t} to ${r}`}))}var xg,g$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await Vc();Sg();xg=vt(ii(),1)});var m$={};Ea(m$,{deleteFile:()=>_7});async function _7(e,t){let r=await hn(()=>Kc(e.project),u=>new Error(u.message));r.failure&&(qt((0,X0.jsx)(di,{message:r.failure.message})),process.exit(1));let o=await sa(this),i=await hn(()=>o.buckets.deleteFile({projectId:r.data,path:t}),u=>new Error(`Failed to delete file: ${u.message}`,{cause:u}));i.failure&&(qt((0,X0.jsx)(di,{message:i.failure.message})),process.exit(1)),qt((0,X0.jsx)(ro,{message:`Deleted ${t}`}))}var X0,E$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await Vc();Sg();X0=vt(ii(),1)});var y$={};Ea(y$,{url:()=>B7});async function B7(e,t){let r=await hn(()=>Kc(e.project),u=>new Error(u.message));r.failure&&(qt((0,e_.jsx)(di,{message:r.failure.message})),process.exit(1));let o=await sa(this),i=await hn(()=>o.buckets.createSignedUrl({projectId:r.data,path:t,expiresIn:e.expires}),u=>new Error(`Failed to create signed URL: ${u.message}`,{cause:u}));i.failure&&(qt((0,e_.jsx)(di,{message:i.failure.message})),process.exit(1)),console.log(i.data.signedUrl),qt((0,e_.jsx)(ro,{message:`URL expires at ${i.data.expiresAt}`}))}var e_,v$=Y(async()=>{"use strict";x();wl();await ya();Jc();await rc();await Vc();Sg();e_=vt(ii(),1)});x();x();function NN(e,t){let r=e.env?.[t];return typeof r=="string"&&r!=="0"}var Nc={UnknownCommand:-5,InvalidArgument:-4,ContextLoadError:-3,CommandLoadError:-2,InternalError:-1,Success:0,CommandRunError:1};function lB(e){return e.replace(/-./g,t=>t[1].toUpperCase())}function Uc(e){return Array.from(e).map((t,r)=>{let o=t.toUpperCase(),i=t.toLowerCase();return r===0||o!==t||o===i?t:`-${i}`}).join("")}function e8(e){let t=new Map;return{get:(...r)=>t.get(r.join(","))??e,set:(r,...o)=>{t.set(o.join(","),r)}}}function t8(e,t,r){let{threshold:o,weights:i}=r;if(e===t)return 0;let u=Math.abs(e.length-t.length);if(typeof o=="number"&&u>o)return 1/0;let f=e8(1/0);f.set(0,-1,-1);for(let D=0;D<t.length;++D)f.set((D+1)*i.insertion,-1,D);for(let D=0;D<e.length;++D)f.set((D+1)*i.deletion,D,-1);let y=-1/0;for(let D=0;D<e.length;++D){let R=1/0;for(let z=0;z<=t.length-1;++z){let V=e[D]===t[z]?0:1,$=[f.get(D-1,z)+i.deletion,f.get(D,z-1)+i.insertion,f.get(D-1,z-1)+V*i.substitution];e[D]===t[z-1]&&e[D-1]===t[z]&&$.push(f.get(D-2,z-2)+V*i.transposition);let te=Math.min(...$);f.set(te,D,z),te<R&&(R=te)}if(R>o){if(y>o)return 1/0;y=R}else y=-1/0}let I=f.get(e.length-1,t.length-1);return I>o?1/0:I}function n8(e,t,r){let o=e[1]-t[1];if(o!==0)return o;let i=e[0].startsWith(r),u=t[0].startsWith(r);return i&&!u?-1:!i&&u?1:e[0].localeCompare(t[0])}function Cv(e,t,r){let o=t.map(u=>[u,t8(e,u,r)]).filter(([,u])=>u<=r.threshold),i=Math.min(...o.map(([,u])=>u));return o.filter(([,u])=>u===i).sort((u,f)=>n8(u,f,e)).map(([u])=>u)}var Bs=class extends Error{};function yv(e){return e instanceof Error?e.stack??String(e):String(e)}function i8(e,t){let r=[],o=Math.max(e.length,t.length);for(let i=0;i<o;++i)r[i]=Math.max(e[i],t[i]);return r}function Iv(e,t){if(e.length===0)return[];let r=Array(Math.max(...e.map(i=>i.length))).fill(0,0),o=e.reduce((i,u)=>{let f=u.map(y=>y.length);return i8(i,f)},r);return e.map(i=>{let u=(i[0]??"").padEnd(o[0]);return i.slice(1).reduce((f,y,I,D)=>{let R=D.length===I+1?y:y.padEnd(o[I+1]);return[...f,t?.[I]??" ",R]},[u]).join("").trimEnd()})}function uB(e,t){if(e.length<=1)return e[0]??"";if(e.length===2)return e.join(` ${t.conjunction} `);let r=e.slice(0,e.length-1).join(", ");return t.serialComma&&(r+=","),[r,t.conjunction,e[e.length-1]].join(" ")}function r8(e,t){return e.reduce((r,o)=>{let i=t(o),u=r[i]??[];return u.push(o),r[i]=u,r},{})}function a8(e,t){return r8(e,r=>r[t])}async function rB(e){let t=await Promise.allSettled(e),r=a8(t,"status");return r.rejected&&r.rejected.length>0?{status:"rejected",reasons:r.rejected.map(o=>o.reason)}:{status:"fulfilled",value:r.fulfilled?.map(o=>o.value)??[]}}var o8=new Set(["true","t","yes","y","on","1"]),s8=new Set(["false","f","no","n","off","0"]),l8=e=>{let t=e.toLowerCase();if(o8.has(t))return!0;if(s8.has(t))return!1;throw new SyntaxError(`Cannot convert ${e} to a boolean`)},u8=e=>{let t=Number(e);if(Number.isNaN(t))throw new SyntaxError(`Cannot convert ${e} to a number`);return t},kc=class extends Bs{_brand};function c8(e,t){let r=e.constructor.name,o=t[r];return o?o(e):e.message}function A8(e,t,r){return Object.fromEntries(Object.entries(t).map(([o,i])=>{let u=i,f=e[u];if(!f){let y=RA(u,r);throw new vv(y,[],o)}return[o,[u,f]]}))}var vv=class extends kc{input;corrections;aliasName;constructor(e,t,r){let o=`No flag registered for --${e}`;if(r)o+=` (aliased from -${r})`;else if(t.length>0){let i=uB(t.map(u=>`--${u}`),{kind:"conjunctive",conjunction:"or",serialComma:!0});o+=`, did you mean ${i}?`}super(o),this.input=e,this.corrections=t,this.aliasName=r}},cB=class extends kc{input;constructor(e){super(`No alias registered for -${e}`),this.input=e}};function aB(e,t){return e.placeholder?e.placeholder:typeof t=="number"?`arg${t}`:"args"}function RA(e,t){return t==="allow-kebab-for-camel"?Uc(e):e}var sB=class extends kc{externalFlagNameOrPlaceholder;input;exception;constructor(e,t,r){super(`Failed to parse "${t}" for ${e}: ${r instanceof Error?r.message:String(r)}`),this.externalFlagNameOrPlaceholder=e,this.input=t,this.exception=r}};function sh(e,t,r,o){try{return t.parse.call(o,r)}catch(i){throw new sB(e,r,i)}}var BN=class extends kc{externalFlagName;input;values;constructor(e,t,r,o){let i=`Expected "${t}" to be one of (${r.join("|")})`;if(o.length>0){let u=uB(o.map(f=>`"${f}"`),{kind:"conjunctive",conjunction:"or",serialComma:!0});i+=`, did you mean ${u}?`}super(i),this.externalFlagName=e,this.input=t,this.values=r}},oh=class extends kc{externalFlagName;nextFlagName;constructor(e,t){let r=`Expected input for flag --${e}`;t&&(r+=` but encountered --${t} instead`),super(r),this.externalFlagName=e,this.nextFlagName=t}},DN=class extends kc{expectedCount;input;constructor(e,t){super(`Too many arguments, expected ${e} but encountered "${t}"`),this.expectedCount=e,this.input=t}},SN=class extends kc{placeholder;limit;constructor(e,t){let r;t?(r=`Expected at least ${t[0]} argument(s) for ${e}`,t[1]===0?r+=" but found none":r+=` but only found ${t[1]}`):r=`Expected argument for ${e}`,super(r),this.placeholder=e,this.limit=t}};function bN(e){if(e.startsWith("no")&&e.length>2){if(e[2]==="-")return e.slice(4);let t=e[2],r=t.toUpperCase();return t!==r?void 0:t.toLowerCase()+e.slice(3)}}function TN(e,t,r){let o=e,i=t[o];if(!i){let f=bN(o);if(f&&(i=t[f],i&&i.kind=="boolean"))return{namedFlag:[f,i],negated:!0}}let u=lB(e);if(r.caseStyle==="allow-kebab-for-camel"&&!i){if(i=t[u],i)return{namedFlag:[u,i]};let f=bN(u);if(f&&(i=t[f],i&&i.kind=="boolean"))return{namedFlag:[f,i],negated:!0}}if(!i){if(u in t)throw new vv(e,[u]);let f=Uc(e);if(f in t)throw new vv(e,[f]);let y=Cv(o,Object.keys(t),r.distanceOptions);throw new vv(e,y)}return{namedFlag:[o,i]}}function xN(e){return e.namedFlag[1].kind==="boolean"||e.namedFlag[1].kind==="counter"}var UN=/^-([a-z]+)$/i,d8=/^--([a-z][a-z-.\d_]+)$/i;function f8(e,t,r,o){let i=UN.exec(e);if(i){let f=i[1];return Array.from(f).map(y=>{let I=y,D=r[I];if(!D)throw new cB(I);return{namedFlag:D}})}let u=d8.exec(e);if(u){let f=u[1];return[TN(f,t,o)]}return[]}var p8=/^--([a-z][a-z-.\d_]+)=(.+)$/i,h8=/^-([a-z])=(.+)$/i,g8=class extends kc{externalFlagName;valueText;constructor(e,t){super(`Cannot negate flag --${e} and pass "${t}" as value`),this.externalFlagName=e,this.valueText=t}};function m8(e,t,r,o){let i=p8.exec(e);if(i){let f=i[1],{namedFlag:y,negated:I}=TN(f,t,o),D=i[2];if(I)throw new g8(f,D);return[y,D]}let u=h8.exec(e);if(u){let f=u[1],y=r[f];if(!y)throw new cB(f);let I=u[2];return[y,I]}}async function E8(e,t,r,o,i){if(!r){if("default"in t&&typeof t.default<"u")return t.kind==="boolean"||t.kind==="enum"?t.default:sh(e,t,t.default,i);if(t.optional)return;if(t.kind==="boolean")return!1;if(t.kind==="counter")return 0;throw new oh(e)}if(t.kind==="counter")return r.reduce((f,y)=>{try{return f+u8.call(i,y)}catch(I){throw new sB(e,y,I)}},0);if("variadic"in t&&t.variadic){if(t.kind==="enum"){for(let f of r)if(!t.values.includes(f)){let y=Cv(f,t.values,o.distanceOptions);throw new BN(e,f,t.values,y)}return r}return Promise.all(r.map(f=>sh(e,t,f,i)))}let u=r[0];if(t.kind==="boolean")try{return l8.call(i,u)}catch(f){throw new sB(e,u,f)}if(t.kind==="enum"){if(!t.values.includes(u)){let f=Cv(u,t.values,o.distanceOptions);throw new BN(e,u,t.values,f)}return u}return sh(e,t,u,i)}var y8=class extends kc{externalFlagName;previousInput;input;constructor(e,t,r){super(`Too many arguments for --${e}, encountered "${r}" after "${t}"`),this.externalFlagName=e,this.previousInput=t,this.input=r}};function kN(e){return e.kind==="counter"?!0:"variadic"in e?!!e.variadic:!1}function wA(e,t,[r,o],i){let u=e.get(r)??[];if(u.length>0&&!kN(o)){let f=RA(r,t);throw new y8(f,u[0],i)}if("variadic"in o&&typeof o.variadic=="string"){let f=i.split(o.variadic);e.set(r,[...u,...f])}else e.set(r,[...u,i])}function oB(e,t,r){if(t.get(r)){let o=e[r];return!kN(o)}return!1}function v8(e,t){let{flags:r={},aliases:o={},positional:i={kind:"tuple",parameters:[]}}=e,u=A8(r,o,t.caseStyle),f=[],y=new Map,I=0,D,R=!1;return{next:z=>{if(!R&&t.allowArgumentEscapeSequence&&z==="--"){if(D)if(D[1].kind==="parsed"&&D[1].inferEmpty)wA(y,t.caseStyle,D,""),D=void 0;else{let V=RA(D[0],t.caseStyle);throw new oh(V)}R=!0;return}if(!R){let V=m8(z,r,u,t);if(V){if(D)if(D[1].kind==="parsed"&&D[1].inferEmpty)wA(y,t.caseStyle,D,""),D=void 0;else{let te=RA(D[0],t.caseStyle),re=RA(V[0][0],t.caseStyle);throw new oh(te,re)}wA(y,t.caseStyle,...V);return}let $=f8(z,r,u,t);if($.length>0){if(D)if(D[1].kind==="parsed"&&D[1].inferEmpty)wA(y,t.caseStyle,D,""),D=void 0;else{let te=RA(D[0],t.caseStyle),re=RA($[0].namedFlag[0],t.caseStyle);throw new oh(te,re)}if($.every(xN))for(let te of $)te.namedFlag[1].kind==="boolean"?wA(y,t.caseStyle,te.namedFlag,te.negated?"false":"true"):wA(y,t.caseStyle,te.namedFlag,"1");else if($.length>1){let te=$.find(oe=>!xN(oe)),re=RA(te.namedFlag[0],t.caseStyle);throw new oh(re)}else D=$[0].namedFlag;return}}if(D)wA(y,t.caseStyle,D,z),D=void 0;else{if(i.kind==="tuple"){if(I>=i.parameters.length)throw new DN(i.parameters.length,z)}else if(typeof i.maximum=="number"&&I>=i.maximum)throw new DN(i.maximum,z);f[I]=z,++I}},parseArguments:async z=>{let V=[],$;i.kind==="array"?(typeof i.minimum=="number"&&I<i.minimum&&V.push(new SN(aB(i.parameter),[i.minimum,I])),$=rB(f.map(async(ce,xe)=>{let Me=aB(i.parameter,xe+1);return sh(Me,i.parameter,ce,z)}))):$=rB(i.parameters.map(async(ce,xe)=>{let Me=aB(ce,xe+1),Ie=f[xe];if(typeof Ie!="string"){if(typeof ce.default=="string")return sh(Me,ce,ce.default,z);if(ce.optional)return;throw new SN(Me)}return sh(Me,ce,Ie,z)})),D&&D[1].kind==="parsed"&&D[1].inferEmpty&&(wA(y,t.caseStyle,D,""),D=void 0);let te=rB(Object.entries(r).map(async ce=>{let[xe,Me]=ce,Ie=RA(xe,t.caseStyle);if(D&&D[0]===xe)throw new oh(Ie);let it=y.get(xe),Xe=await E8(Ie,Me,it,t,z);return[xe,Xe]})),[re,oe]=await Promise.all([$,te]);if(re.status==="rejected")for(let ce of re.reasons)V.push(ce);if(oe.status==="rejected")for(let ce of oe.reasons)V.push(ce);if(V.length>0)return{success:!1,errors:V};if(re.status==="rejected")throw new Bs("Unknown failure while scanning positional arguments");if(oe.status==="rejected")throw new Bs("Unknown failure while scanning flag arguments");return{success:!0,arguments:[Object.fromEntries(oe.value),...re.value]}},proposeCompletions:async({partial:z,completionConfig:V,text:$,context:te,includeVersionFlag:re})=>{if(D)return ON(D[1],te,z);let oe=[];if(!R){let ce=UN.exec(z);if(V.includeAliases){if(z===""||z==="-"){let xe=Object.entries(o).filter(Me=>!oB(r,y,Me[1]));for(let[Me]of xe){let Ie=u[Me];Ie&&oe.push({kind:"argument:flag",completion:`-${Me}`,brief:Ie[1].brief})}}else if(ce){let xe=Array.from(ce[1]);if(xe.includes("h"))return[];if(re&&xe.includes("v"))return[];let Me=new Map(y);for(let Xe of xe){let k=u[Xe];if(!k)throw new cB(Xe);wA(Me,t.caseStyle,k,k[1].kind==="boolean"?"true":"1")}let Ie=xe[xe.length-1];if(Ie){let Xe=u[Ie];Xe&&oe.push({kind:"argument:flag",completion:z,brief:Xe[1].brief})}let it=Object.entries(o).filter(Xe=>!oB(r,Me,Xe[1]));for(let[Xe]of it){let k=u[Xe];k&&oe.push({kind:"argument:flag",completion:`${z}${Xe}`,brief:k[1].brief})}}}if(z===""||z==="-"||z.startsWith("--")){t.allowArgumentEscapeSequence&&oe.push({kind:"argument:flag",completion:"--",brief:$.briefs.argumentEscapeSequence});let xe=Object.entries(r).filter(([Ie])=>!oB(r,y,Ie));t.caseStyle==="allow-kebab-for-camel"&&(xe=xe.map(([Ie,it])=>[Uc(Ie),it]));let Me=xe.map(([Ie,it])=>[`--${Ie}`,it]).filter(([Ie])=>Ie.startsWith(z));oe.push(...Me.map(([Ie,it])=>({kind:"argument:flag",completion:Ie,brief:it.brief})))}}if(i.kind==="array"){if(i.parameter.proposeCompletions&&(typeof i.maximum!="number"||I<i.maximum)){let ce=await i.parameter.proposeCompletions.call(te,z);oe.push(...ce.map(xe=>({kind:"argument:value",completion:xe,brief:i.parameter.brief})))}}else{let ce=i.parameters[I];if(ce?.proposeCompletions){let xe=await ce.proposeCompletions.call(te,z);oe.push(...xe.map(Me=>({kind:"argument:value",completion:Me,brief:ce.brief})))}}return oe.filter(({completion:ce})=>ce.startsWith(z))}}}async function ON(e,t,r){if(typeof e.variadic=="string"&&r.endsWith(e.variadic))return ON(e,t,"");let o;return e.kind==="enum"?o=e.values:e.proposeCompletions?o=await e.proposeCompletions.call(t,r):o=[],o.map(i=>({kind:"argument:value",completion:i,brief:e.brief})).filter(({completion:i})=>i.startsWith(r))}function C8(e,t,r){let o=t==="allow-kebab-for-camel"?"convert-camel-to-kebab":t,i=e.getAllEntries();return r.includeHiddenRoutes||(i=i.filter(u=>!u.hidden)),i.flatMap(u=>{let f=u.name[o];return r.includeAliases?[f,...u.aliases]:[f]})}var I8={headers:{usage:"USAGE",aliases:"ALIASES",commands:"COMMANDS",flags:"FLAGS",arguments:"ARGUMENTS"},keywords:{default:"default =",separator:"separator ="},briefs:{help:"Print help information and exit",helpAll:"Print help information (including hidden commands/flags) and exit",version:"Print version information and exit",argumentEscapeSequence:"All subsequent inputs should be interpreted as arguments"},noCommandRegisteredForInput:({input:e,corrections:t})=>{let r=`No command registered for \`${e}\``;if(t.length>0){let o=uB(t,{kind:"conjunctive",conjunction:"or",serialComma:!0});return`${r}, did you mean ${o}?`}else return r},noTextAvailableForLocale:({requestedLocale:e,defaultLocale:t})=>`Application does not support "${e}" locale, defaulting to "${t}"`,exceptionWhileParsingArguments:e=>e instanceof kc?c8(e,{}):`Unable to parse arguments, ${yv(e)}`,exceptionWhileLoadingCommandFunction:e=>`Unable to load command function, ${yv(e)}`,exceptionWhileLoadingCommandContext:e=>`Unable to load command context, ${yv(e)}`,exceptionWhileRunningCommand:e=>`Command failed, ${yv(e)}`,commandErrorResult:e=>e.message,currentVersionIsNotLatest:({currentVersion:e,latestVersion:t,upgradeCommand:r})=>r?`Latest available version is ${t} (currently running ${e}), upgrade with "${r}"`:`Latest available version is ${t} (currently running ${e})`};function _8(e){if(e.startsWith("en"))return I8}function Tc(e,t,r){return!r.disableAnsiColor&&!NN(e,"STRICLI_NO_COLOR")&&(t.getColorDepth?.(e.env)??1)>=4}async function B8({loader:e,parameters:t},{context:r,inputs:o,scannerConfig:i,errorFormatting:u,documentationConfig:f,determineExitCode:y}){let I=e(),D;try{let z=v8(t,i);for(let $ of o)z.next($);let V=await z.parseArguments(r);if(V.success)D=V.arguments;else{let $=Tc(r.process,r.process.stderr,f);for(let te of V.errors){let re=u.exceptionWhileParsingArguments(te,$);r.process.stderr.write($?`\x1B[1m\x1B[31m${re}\x1B[39m\x1B[22m
479
- `:`${re}
480
- `)}return Nc.InvalidArgument}}catch(z){let V=Tc(r.process,r.process.stderr,f),$=u.exceptionWhileParsingArguments(z,V);return r.process.stderr.write(V?`\x1B[1m\x1B[31m${$}\x1B[39m\x1B[22m
481
- `:`${$}
482
- `),Nc.InvalidArgument}let R;try{let z=await I;typeof z=="function"?R=z:R=z.default}catch(z){let V=Tc(r.process,r.process.stderr,f),$=u.exceptionWhileLoadingCommandFunction(z,V);return r.process.stderr.write(V?`\x1B[1m\x1B[31m${$}\x1B[39m\x1B[22m
483
- `:`${$}
484
- `),Nc.CommandLoadError}try{let z=await R.call(r,...D);if(z instanceof Error){let V=Tc(r.process,r.process.stderr,f),$=u.commandErrorResult(z,V);return r.process.stderr.write(V?`\x1B[1m\x1B[31m${$}\x1B[39m\x1B[22m
485
- `:`${$}
486
- `),y?y(z):Nc.CommandRunError}}catch(z){let V=Tc(r.process,r.process.stderr,f),$=u.exceptionWhileRunningCommand(z,V);return r.process.stderr.write(V?`\x1B[1m\x1B[31m${$}\x1B[39m\x1B[22m
487
- `:`${$}
488
- `),y?y(z):Nc.CommandRunError}return Nc.Success}var _v=Symbol("RouteMap"),AB=Symbol("Command");function D8(e,t,r){let o=[...r],i=[],u,f=e,y,I=!0,D=!1;return{next:R=>{if(R==="--help"||R==="-h"){D=!0,y||(y=f);return}else if(R==="--helpAll"||R==="--help-all"||R==="-H"){D="all",y||(y=f);return}if(y){i.push(R);return}if(f.kind===AB){y=f,i.push(R);return}let z=lB(R),V=R,$=f.getRoutingTargetForInput(V);if(t.caseStyle==="allow-kebab-for-camel"&&!$&&($=f.getRoutingTargetForInput(z),$&&(V=z)),!$){let te=f.getDefaultCommand();if(te){I=!1,u=[f,""],i.push(R),f=te;return}return{input:R,routeMap:f}}I=!1,u=[f,R],f=$,o.push(R)},finish:()=>{if(y=y??f,y.kind===_v&&!D){let z=y.getDefaultCommand();z&&(u=[y,""],y=z,I=!1)}let R=u?u[0].getOtherAliasesForInput(u[1],t.caseStyle):{original:[],"convert-camel-to-kebab":[]};return{target:y,unprocessedInputs:i,helpRequested:D,prefix:o,rootLevel:I,aliases:R}}}}async function S8({root:e,defaultText:t,config:r},o,i){let u=t;if(i.locale){let z=r.localization.loadText(i.locale);if(z)u=z;else{let V=Tc(i.process,i.process.stderr,r.documentation),$=u.noTextAvailableForLocale({requestedLocale:i.locale,defaultLocale:r.localization.defaultLocale,ansiColor:V});i.process.stderr.write(V?`\x1B[1m\x1B[33m${$}\x1B[39m\x1B[22m
489
- `:`${$}
490
- `)}}if(r.versionInfo?.getLatestVersion&&!NN(i.process,"STRICLI_SKIP_VERSION_CHECK")){let z;"currentVersion"in r.versionInfo?z=r.versionInfo.currentVersion:z=await r.versionInfo.getCurrentVersion.call(i);let V=await r.versionInfo.getLatestVersion.call(i,z);if(V&&z!==V){let $=Tc(i.process,i.process.stderr,r.documentation),te=u.currentVersionIsNotLatest({currentVersion:z,latestVersion:V,upgradeCommand:r.versionInfo.upgradeCommand,ansiColor:$});i.process.stderr.write($?`\x1B[1m\x1B[33m${te}\x1B[39m\x1B[22m
491
- `:`${te}
492
- `)}}let f=o.slice();if(r.versionInfo&&(f[0]==="--version"||f[0]==="-v")){let z;return"currentVersion"in r.versionInfo?z=r.versionInfo.currentVersion:z=await r.versionInfo.getCurrentVersion.call(i),i.process.stdout.write(z+`
493
- `),Nc.Success}let y=D8(e,r.scanner,[r.name]),I;for(;f.length>0&&!I;){let z=f.shift();I=y.next(z)}if(I){let z=C8(I.routeMap,r.scanner.caseStyle,r.completion),V=Cv(I.input,z,r.scanner.distanceOptions).map(re=>`\`${re}\``),$=Tc(i.process,i.process.stderr,r.documentation),te=u.noCommandRegisteredForInput({input:I.input,corrections:V,ansiColor:$});return i.process.stderr.write($?`\x1B[1m\x1B[31m${te}\x1B[39m\x1B[22m
494
- `:`${te}
495
- `),Nc.UnknownCommand}let D=y.finish();if(D.helpRequested||D.target.kind===_v){let z=Tc(i.process,i.process.stdout,r.documentation);return i.process.stdout.write(D.target.formatHelp({prefix:D.prefix,includeVersionFlag:!!r.versionInfo&&D.rootLevel,includeArgumentEscapeSequenceFlag:r.scanner.allowArgumentEscapeSequence,includeHelpAllFlag:D.helpRequested==="all"||r.documentation.alwaysShowHelpAllFlag,includeHidden:D.helpRequested==="all",config:r.documentation,aliases:D.aliases[r.documentation.caseStyle],text:u,ansiColor:z})),Nc.Success}let R;if("forCommand"in i)try{R=await i.forCommand({prefix:D.prefix})}catch(z){let V=Tc(i.process,i.process.stderr,r.documentation),$=u.exceptionWhileLoadingCommandContext(z,V);return i.process.stderr.write(V?`\x1B[1m\x1B[31m${$}\x1B[39m\x1B[22m`:$),Nc.ContextLoadError}else R=i;return B8(D.target,{context:R,inputs:D.unprocessedInputs,scannerConfig:r.scanner,documentationConfig:r.documentation,errorFormatting:u,determineExitCode:r.determineExitCode})}function Bv(e,t){return t==="convert-camel-to-kebab"?Uc(e):e}function b8(e,t){return t==="convert-camel-to-kebab"?`no-${Uc(e)}`:`no${e[0].toUpperCase()}${e.slice(1)}`}function x8(e){let t=e.scanner?.caseStyle??"original",r;if(e.documentation?.caseStyle){if(t==="original"&&e.documentation.caseStyle==="convert-camel-to-kebab")throw new Bs("Cannot convert route and flag names on display but scan as original");r=e.documentation.caseStyle}else t==="allow-kebab-for-camel"?r="convert-camel-to-kebab":r=t;let o={caseStyle:t,allowArgumentEscapeSequence:e.scanner?.allowArgumentEscapeSequence??!1,distanceOptions:e.scanner?.distanceOptions??{threshold:7,weights:{insertion:1,deletion:3,substitution:2,transposition:0}}},i={alwaysShowHelpAllFlag:e.documentation?.alwaysShowHelpAllFlag??!1,useAliasInUsageLine:e.documentation?.useAliasInUsageLine??!1,onlyRequiredInUsageLine:e.documentation?.onlyRequiredInUsageLine??!1,caseStyle:r,disableAnsiColor:e.documentation?.disableAnsiColor??!1},u={includeAliases:e.completion?.includeAliases??i.useAliasInUsageLine,includeHiddenRoutes:e.completion?.includeHiddenRoutes??!1,...e.completion};return{...e,scanner:o,completion:u,documentation:i,localization:{defaultLocale:"en",loadText:_8,...e.localization}}}function FN(e,t){let r=x8(t);if(e.kind===AB&&r.versionInfo){if(e.usesFlag("version"))throw new Bs("Unable to use command with flag --version as root when version info is supplied");if(e.usesFlag("v"))throw new Bs("Unable to use command with alias -v as root when version info is supplied")}let o=r.localization.loadText(r.localization.defaultLocale);if(!o)throw new Bs(`No text available for the default locale "${r.localization.defaultLocale}"`);return{root:e,config:r,defaultText:o}}function zN(e){return"default"in e&&typeof e.default<"u"}function Fm(e){return e.optional??zN(e)}function QN(e){return`(${e})`}function wN(e){return`[${e}]`}function RN(e){return`${e}...`}function Q8(e){return`<${e}>`}function w8(e){return`[<${e}>]`}function R8(e){return`<${e}>...`}function MN(e,t){let r=Object.entries(e.flags??{}).filter(([,u])=>!(u.hidden||t.config.onlyRequiredInUsageLine&&Fm(u))).map(([u,f])=>{let y=t.config.caseStyle==="convert-camel-to-kebab"?`--${Uc(u)}`:`--${u}`;if(e.aliases&&t.config.useAliasInUsageLine){let D=Object.entries(e.aliases).filter(R=>R[1]===u);D.length===1&&D[0]&&(y=`-${D[0][0]}`)}if(f.kind==="boolean")return[f,y];if(f.kind==="enum"&&typeof f.placeholder!="string")return[f,`${y} ${f.values.join("|")}`];let I=f.placeholder??"value";return[f,`${y} ${I}`]}).map(([u,f])=>u.kind==="parsed"&&u.variadic?Fm(u)?RN(wN(f)):RN(QN(f)):Fm(u)?wN(f):QN(f)),o=[],i=e.positional;if(i)if(i.kind==="array")o=[R8(i.parameter.placeholder??"args")];else{let u=i.parameters;t.config.onlyRequiredInUsageLine&&(u=u.filter(f=>!f.optional&&typeof f.default>"u")),o=u.map((f,y)=>{let I=f.placeholder??`arg${y+1}`;return f.optional||typeof f.default<"u"?w8(I):Q8(I)})}return[...t.prefix,...r,...o].join(" ")}function LN(e,t,r){let{keywords:o,briefs:i}=r.text,u=Object.entries(e).filter(([,I])=>!(I.hidden&&!r.includeHidden)),f=u.some(([,I])=>Fm(I)),y=u.map(([I,D])=>{let R=Object.entries(t).filter(te=>te[1]===I).map(([te])=>`-${te}`),z="--"+Bv(I,r.config.caseStyle);if(D.kind==="boolean"&&D.default!==!1){let te=b8(I,r.config.caseStyle);z=`${z}/--${te}`}Fm(D)?z=`[${z}]`:f&&(z=` ${z}`),D.kind==="parsed"&&D.variadic&&(z=`${z}...`);let V=[];if(D.kind==="enum"){let te=D.values.join("|");V.push(te)}if(zN(D)){let te=r.ansiColor?`\x1B[90m${o.default}\x1B[39m`:o.default;V.push(`${te} ${D.default===""?'""':String(D.default)}`)}if("variadic"in D&&typeof D.variadic=="string"){let te=r.ansiColor?`\x1B[90m${o.separator}\x1B[39m`:o.separator;V.push(`${te} ${D.variadic}`)}let $=V.length>0?`[${V.join(", ")}]`:void 0;return{aliases:R.join(" "),flagName:z,brief:D.brief,suffix:$,hidden:D.hidden}});if(y.push({aliases:"-h",flagName:f?" --help":"--help",brief:i.help}),r.includeHelpAllFlag){let I=Bv("helpAll",r.config.caseStyle);y.push({aliases:"-H",flagName:f?` --${I}`:`--${I}`,brief:i.helpAll,hidden:!r.config.alwaysShowHelpAllFlag})}return r.includeVersionFlag&&y.push({aliases:"-v",flagName:f?" --version":"--version",brief:i.version}),r.includeArgumentEscapeSequenceFlag&&y.push({aliases:"",flagName:f?" --":"--",brief:i.argumentEscapeSequence}),Iv(y.map(I=>r.ansiColor?[I.hidden?`\x1B[90m${I.aliases}\x1B[39m`:`\x1B[97m${I.aliases}\x1B[39m`,I.hidden?`\x1B[90m${I.flagName}\x1B[39m`:`\x1B[97m${I.flagName}\x1B[39m`,I.hidden?`\x1B[90m${I.brief}\x1B[39m`:`\x1B[03m${I.brief}\x1B[23m`,I.suffix??""]:[I.aliases,I.flagName,I.brief,I.suffix??""]),[" "," "," "])}function*$N(e){if(yield e.config.useAliasInUsageLine?"-h":"--help",e.includeHelpAllFlag){let t=Bv("helpAll",e.config.caseStyle);yield e.config.useAliasInUsageLine?"-H":`--${t}`}e.includeVersionFlag&&(yield e.config.useAliasInUsageLine?"-v":"--version")}function N8(e,t){if(e.kind==="array"){let i=e.parameter.placeholder??"args",u=t.ansiColor?`\x1B[97m${i}...\x1B[39m`:`${i}...`,f=t.ansiColor?`\x1B[3m${e.parameter.brief}\x1B[23m`:e.parameter.brief;return Iv([[u,f]],[" "])}let{keywords:r}=t.text,o=e.parameters.some(i=>i.optional);return Iv(e.parameters.map((i,u)=>{let f=i.placeholder??`arg${u+1}`,y;return i.optional?f=`[${f}]`:o&&(f=` ${f}`),i.default&&(y=`[${t.ansiColor?`\x1B[90m${r.default}\x1B[39m`:r.default} ${i.default}]`),[t.ansiColor?`\x1B[97m${f}\x1B[39m`:f,t.ansiColor?`\x1B[3m${i.brief}\x1B[23m`:i.brief,y??""]}),[" "," "])}function*T8(e,t,r){let{brief:o,fullDescription:i,customUsage:u}=t,{headers:f}=r.text,y=r.prefix.join(" ");if(yield r.ansiColor?`\x1B[1m${f.usage}\x1B[22m`:f.usage,u)for(let D of u)if(typeof D=="string")yield` ${y} ${D}`;else{let R=r.ansiColor?`\x1B[3m${D.brief}\x1B[23m`:D.brief;yield` ${y} ${D.input}
496
- ${R}`}else yield` ${MN(e,r)}`;for(let D of $N(r))yield` ${y} ${D}`;if(yield"",yield i??o,r.aliases&&r.aliases.length>0){let D=r.prefix.slice(0,-1).join(" ");yield"",yield r.ansiColor?`\x1B[1m${f.aliases}\x1B[22m`:f.aliases;for(let R of r.aliases)yield` ${D} ${R}`}yield"",yield r.ansiColor?`\x1B[1m${f.flags}\x1B[22m`:f.flags;for(let D of LN(e.flags??{},e.aliases??{},r))yield` ${D}`;let I=e.positional??{kind:"tuple",parameters:[]};if(I.kind==="array"||I.parameters.length>0){yield"",yield r.ansiColor?`\x1B[1m${f.arguments}\x1B[22m`:f.arguments;for(let D of N8(I,r))yield` ${D}`}}function U8(e,t){for(let r of t)if(r in e)throw new Bs(`Unable to use reserved flag --${r}`)}function k8(e,t){for(let r of t)if(r in e)throw new Bs(`Unable to use reserved alias -${r}`)}function*O8(e){yield`no-${Uc(e)}`,yield`no${e[0].toUpperCase()}${e.slice(1)}`}function F8(e){let t=Object.entries(e).filter(([,r])=>r.kind==="boolean"&&!r.optional);for(let[r]of t)for(let o of O8(r))if(o in e)throw new Bs(`Unable to allow negation for --${r} as it conflicts with --${o}`)}function z8(e){for(let[t,r]of Object.entries(e))if("variadic"in r&&typeof r.variadic=="string"){if(r.variadic.length<1)throw new Bs(`Unable to use "" as variadic separator for --${t} as it is empty`);if(/\s/.test(r.variadic))throw new Bs(`Unable to use "${r.variadic}" as variadic separator for --${t} as it contains whitespace`)}}function Ma(e){let{flags:t={},aliases:r={}}=e.parameters;U8(t,["help","helpAll","help-all"]),k8(r,["h","H"]),F8(t),z8(t);let o;return"func"in e?o=async()=>e.func:o=e.loader,{kind:AB,loader:o,parameters:e.parameters,get brief(){return e.docs.brief},formatUsageLine:i=>MN(e.parameters,i),formatHelp:i=>[...T8(e.parameters,e.docs,i)].join(`
497
- `)+`
498
- `,usesFlag:i=>i in t||i in r}}function*M8(e,t,r){let{brief:o,fullDescription:i,hideRoute:u}=t,{headers:f}=r.text;yield r.ansiColor?`\x1B[1m${f.usage}\x1B[22m`:f.usage;for(let[R,z]of Object.entries(e))if(!u||!u[R]||r.includeHidden){let V=r.config.caseStyle==="convert-camel-to-kebab"?Uc(R):R;yield` ${z.formatUsageLine({...r,prefix:[...r.prefix,V]})}`}let y=r.prefix.join(" ");for(let R of $N(r))yield` ${y} ${R}`;if(yield"",yield i??o,r.aliases&&r.aliases.length>0){let R=r.prefix.slice(0,-1).join(" ");yield"",yield r.ansiColor?`\x1B[1m${f.aliases}\x1B[22m`:f.aliases;for(let z of r.aliases)yield` ${R} ${z}`}yield"",yield r.ansiColor?`\x1B[1m${f.flags}\x1B[22m`:f.flags;for(let R of LN({},{},r))yield` ${R}`;yield"",yield r.ansiColor?`\x1B[1m${f.commands}\x1B[22m`:f.commands;let I=Object.entries(e).filter(([R])=>!u||!u[R]||r.includeHidden).map(([R,z])=>({routeName:Bv(R,r.config.caseStyle),brief:z.brief,hidden:u&&u[R]})),D=Iv(I.map(R=>r.ansiColor?[R.hidden?`\x1B[90m${R.routeName}\x1B[39m`:`\x1B[97m${R.routeName}\x1B[39m`,R.hidden?`\x1B[90m${R.brief}\x1B[39m`:`\x1B[03m${R.brief}\x1B[23m`]:[R.routeName,R.brief]),[" "]);for(let R of D)yield` ${R}`}function Oc({routes:e,defaultCommand:t,docs:r,aliases:o}){if(Object.entries(e).length===0)throw new Bs("Route map must contain at least one route");let i=o??{},u=new Map;for(let[I,D]of Object.entries(i)){if(I in e)throw new Bs(`Cannot use "${I}" as an alias when a route with that name already exists`);let R=u.get(D)??[];u.set(D,[...R,I])}let f=t?e[t]:void 0;if(f&&f.kind===_v)throw new Bs(`Cannot use "${t}" as the default command because it is not a Command`);let y=I=>{if(I in i)return i[I];if(I in e)return I};return{kind:_v,get brief(){return r.brief},formatUsageLine(I){let D=this.getAllEntries().filter(R=>!R.hidden).map(R=>R.name[I.config.caseStyle]);return`${I.prefix.join(" ")} ${D.join("|")} ...`},formatHelp:I=>[...M8(e,r,I)].join(`
499
- `)+`
500
- `,getDefaultCommand:()=>f,getOtherAliasesForInput:(I,D)=>{if(t){if(I===t)return{original:[""],"convert-camel-to-kebab":[""]};if(I==="")return{original:[t],"convert-camel-to-kebab":[t]}}let R=lB(I),z=y(I);if(!z&&D==="allow-kebab-for-camel"&&(z=y(R)),!z)return{original:[],"convert-camel-to-kebab":[]};let V=[z,...u.get(z)??[]].filter($=>$!==I&&$!==R);return{original:V,"convert-camel-to-kebab":V.map(Uc)}},getRoutingTargetForInput:I=>{let D=I in i?i[I]:I;return e[D]},getAllEntries(){let I=r.hideRoute;return Object.entries(e).map(([D,R])=>({name:{original:D,"convert-camel-to-kebab":Uc(D)},target:R,aliases:u.get(D)??[],hidden:I?.[D]??!1}))}}}async function HN(e,t,r){let o=await S8(e,t,r);r.process.exitCode=o}x();x();x();function jN(e,t){if(e.length<=1)return e[0]??"";if(e.length===2)return e.join(` ${t.conjunction} `);let r=e.slice(0,e.length-1).join(", ");return t.serialComma&&(r+=","),[r,t.conjunction,e[e.length-1]].join(" ")}var JN={parse:String,brief:"Target command run by user",placeholder:"targetCommand"},aZ=Ma({loader:async()=>{let{install:e}=await Promise.resolve().then(()=>(Mm(),zm));return e},parameters:{flags:{bash:{kind:"parsed",brief:"Command executed by bash to generate completion proposals",parse:String,optional:!0,placeholder:"command"}},positional:{kind:"tuple",parameters:[JN]}},docs:{brief:"Installs autocomplete support for target command on all provided shell types"}});function fB(e,t){let r=jN(Object.keys(t),{conjunction:"and",serialComma:!0});return Ma({loader:async()=>{let{install:o}=await Promise.resolve().then(()=>(Mm(),zm));return function(){return o.call(this,t,e)}},parameters:{},docs:{brief:`Installs ${r} autocomplete support for ${e}`}})}var oZ=Ma({loader:async()=>{let{uninstall:e}=await Promise.resolve().then(()=>(Mm(),zm));return e},parameters:{flags:{bash:{kind:"boolean",brief:"Uninstall autocompletion for bash",optional:!0}},positional:{kind:"tuple",parameters:[JN]}},docs:{brief:"Uninstalls autocomplete support for target command on all selected shell types"}});function pB(e,t){let r=Object.entries(t).filter(([,i])=>i).map(([i])=>i),o=jN(r,{conjunction:"and",serialComma:!0});return Ma({loader:async()=>{let{uninstall:i}=await Promise.resolve().then(()=>(Mm(),zm));return function(){return i.call(this,t,e)}},parameters:{},docs:{brief:`Uninstalls ${o} autocomplete support for ${e}`}})}x();var bK=Ma({loader:async()=>{let{login:e}=await C2().then(()=>v2);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log in with an existing account"}}),xK=Ma({loader:async()=>{let{logout:e}=await C2().then(()=>v2);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Log out of an existing account"}}),F3=Oc({routes:{login:bK,logout:xK},docs:{brief:"Auth commands"}});x();var i7=Ma({loader:async()=>{let{generateCode:e}=await VL().then(()=>JL);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Generate application code and types"}}),r7=Ma({loader:async()=>{let{initializeConfig:e}=await qL().then(()=>YL);return e},parameters:{positional:{kind:"tuple",parameters:[]}},docs:{brief:"Initialize Swirls configuration file"}}),WL=Oc({routes:{gen:i7,init:r7},docs:{brief:"Developer commands"}});x();var u7=Ma({loader:async()=>{let{createProject:e}=await r$().then(()=>i$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Project name",parse:String,placeholder:"name"}]}},docs:{brief:"Create a new project"}}),c7=Ma({loader:async()=>{let{openProject:e}=await o$().then(()=>a$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Project ID",parse:String,placeholder:"project-id"}]}},docs:{brief:"Open project in browser"}}),s$=Oc({routes:{create:u7,open:c7},docs:{brief:"Project commands"}});x();var D7=Ma({loader:async()=>{let{list:e}=await d$().then(()=>A$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Path to list (optional)",parse:String,placeholder:"path",optional:!0}]},flags:{project:{kind:"parsed",brief:"Project ID (uses config if not specified)",parse:String,optional:!0}}},docs:{brief:"List files in storage"}}),S7=Ma({loader:async()=>{let{upload:e}=await p$().then(()=>f$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Local file path to upload",parse:String,placeholder:"file"},{brief:"Destination path in storage (optional)",parse:String,placeholder:"dest",optional:!0}]},flags:{project:{kind:"parsed",brief:"Project ID (uses config if not specified)",parse:String,optional:!0}}},docs:{brief:"Upload a file to storage"}}),b7=Ma({loader:async()=>{let{download:e}=await g$().then(()=>h$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Path to file in storage",parse:String,placeholder:"path"},{brief:"Local destination path",parse:String,placeholder:"dest"}]},flags:{project:{kind:"parsed",brief:"Project ID (uses config if not specified)",parse:String,optional:!0}}},docs:{brief:"Download a file from storage"}}),x7=Ma({loader:async()=>{let{deleteFile:e}=await E$().then(()=>m$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Path to file in storage",parse:String,placeholder:"path"}]},flags:{project:{kind:"parsed",brief:"Project ID (uses config if not specified)",parse:String,optional:!0}}},docs:{brief:"Delete a file from storage"}}),Q7=Ma({loader:async()=>{let{url:e}=await v$().then(()=>y$);return e},parameters:{positional:{kind:"tuple",parameters:[{brief:"Path to file in storage",parse:String,placeholder:"path"}]},flags:{project:{kind:"parsed",brief:"Project ID (uses config if not specified)",parse:String,optional:!0},expires:{kind:"parsed",brief:"Expiration time in seconds (default: 86400 = 24 hours)",parse:Number,optional:!0}}},docs:{brief:"Get a signed URL for a file"}}),C$=Oc({routes:{list:D7,upload:S7,download:b7,delete:x7,url:Q7},docs:{brief:"Storage commands"}});var I$="@swirls/cli",_$="0.0.22",B$="Swirls command line application";var w7=Oc({routes:{auth:F3,dev:WL,project:s$,storage:C$,install:fB("cli",{bash:"__cli_bash_complete"}),uninstall:pB("cli",{bash:!0})},docs:{brief:B$,hideRoute:{install:!0,uninstall:!0}}}),D$=FN(w7,{name:I$,versionInfo:{currentVersion:_$}});x();import R7 from"fs";import N7 from"fs/promises";import T7 from"os";import U7 from"path";function S$(e){return{fs:R7,fsPromise:N7,os:T7,path:U7,process:e}}await HN(D$,process.argv.slice(2),S$(process));
501
- /*! Bundled license information:
502
-
503
- react/cjs/react.production.js:
504
- (**
505
- * @license React
506
- * react.production.js
507
- *
508
- * Copyright (c) Meta Platforms, Inc. and affiliates.
509
- *
510
- * This source code is licensed under the MIT license found in the
511
- * LICENSE file in the root directory of this source tree.
512
- *)
513
-
514
- react/cjs/react.development.js:
515
- (**
516
- * @license React
517
- * react.development.js
518
- *
519
- * Copyright (c) Meta Platforms, Inc. and affiliates.
520
- *
521
- * This source code is licensed under the MIT license found in the
522
- * LICENSE file in the root directory of this source tree.
523
- *)
524
-
525
- react-reconciler/cjs/react-reconciler-constants.production.js:
526
- (**
527
- * @license React
528
- * react-reconciler-constants.production.js
529
- *
530
- * Copyright (c) Meta Platforms, Inc. and affiliates.
531
- *
532
- * This source code is licensed under the MIT license found in the
533
- * LICENSE file in the root directory of this source tree.
534
- *)
535
-
536
- react-reconciler/cjs/react-reconciler-constants.development.js:
537
- (**
538
- * @license React
539
- * react-reconciler-constants.development.js
540
- *
541
- * Copyright (c) Meta Platforms, Inc. and affiliates.
542
- *
543
- * This source code is licensed under the MIT license found in the
544
- * LICENSE file in the root directory of this source tree.
545
- *)
546
-
547
- scheduler/cjs/scheduler.production.js:
548
- (**
549
- * @license React
550
- * scheduler.production.js
551
- *
552
- * Copyright (c) Meta Platforms, Inc. and affiliates.
553
- *
554
- * This source code is licensed under the MIT license found in the
555
- * LICENSE file in the root directory of this source tree.
556
- *)
557
-
558
- scheduler/cjs/scheduler.development.js:
559
- (**
560
- * @license React
561
- * scheduler.development.js
562
- *
563
- * Copyright (c) Meta Platforms, Inc. and affiliates.
564
- *
565
- * This source code is licensed under the MIT license found in the
566
- * LICENSE file in the root directory of this source tree.
567
- *)
568
-
569
- react-reconciler/cjs/react-reconciler.production.js:
570
- (**
571
- * @license React
572
- * react-reconciler.production.js
573
- *
574
- * Copyright (c) Meta Platforms, Inc. and affiliates.
575
- *
576
- * This source code is licensed under the MIT license found in the
577
- * LICENSE file in the root directory of this source tree.
578
- *)
579
-
580
- react-reconciler/cjs/react-reconciler.development.js:
581
- (**
582
- * @license React
583
- * react-reconciler.development.js
584
- *
585
- * Copyright (c) Meta Platforms, Inc. and affiliates.
586
- *
587
- * This source code is licensed under the MIT license found in the
588
- * LICENSE file in the root directory of this source tree.
589
- *)
590
-
591
- react/cjs/react-jsx-runtime.production.js:
592
- (**
593
- * @license React
594
- * react-jsx-runtime.production.js
595
- *
596
- * Copyright (c) Meta Platforms, Inc. and affiliates.
597
- *
598
- * This source code is licensed under the MIT license found in the
599
- * LICENSE file in the root directory of this source tree.
600
- *)
601
-
602
- react/cjs/react-jsx-runtime.development.js:
603
- (**
604
- * @license React
605
- * react-jsx-runtime.development.js
606
- *
607
- * Copyright (c) Meta Platforms, Inc. and affiliates.
608
- *
609
- * This source code is licensed under the MIT license found in the
610
- * LICENSE file in the root directory of this source tree.
611
- *)
612
- */