@volter/twin-calcom 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/LICENSE +202 -0
- package/README.md +90 -0
- package/client/calcom-mirror.css +29 -0
- package/client/calcom-mirror.tsx +125 -0
- package/dist/client/calcom-mirror.bundle.js +321 -0
- package/dist/client/calcom-mirror.css +29 -0
- package/dist/client/calcom-mirror.d.ts +13 -0
- package/dist/client/calcom-mirror.js +61 -0
- package/dist/client/calcom-mirror.tsx +125 -0
- package/dist/src/calcom-budget.d.ts +52 -0
- package/dist/src/calcom-budget.js +145 -0
- package/dist/src/calcom-capabilities.d.ts +3 -0
- package/dist/src/calcom-capabilities.js +521 -0
- package/dist/src/calcom-conformance.d.ts +15 -0
- package/dist/src/calcom-conformance.js +86 -0
- package/dist/src/calcom-connector.d.ts +90 -0
- package/dist/src/calcom-connector.js +229 -0
- package/dist/src/calcom-mirror-ui.d.ts +23 -0
- package/dist/src/calcom-mirror-ui.js +100 -0
- package/dist/src/calcom-perform-harness.d.ts +5 -0
- package/dist/src/calcom-perform-harness.js +29 -0
- package/dist/src/calcom-server.d.ts +14 -0
- package/dist/src/calcom-server.js +31 -0
- package/dist/src/calcom-twin.d.ts +16 -0
- package/dist/src/calcom-twin.js +718 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +31 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.js +69 -0
- package/package.json +72 -0
- package/src/calcom-budget.ts +171 -0
- package/src/calcom-capabilities.ts +529 -0
- package/src/calcom-conformance.ts +92 -0
- package/src/calcom-connector.ts +258 -0
- package/src/calcom-mirror-ui.ts +110 -0
- package/src/calcom-perform-harness.ts +24 -0
- package/src/calcom-server.ts +39 -0
- package/src/calcom-twin.ts +675 -0
- package/src/cli.ts +29 -0
- package/src/index.ts +101 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
var Og=Object.create;var{getPrototypeOf:Zg,defineProperty:cG,getOwnPropertyNames:AE,getOwnPropertyDescriptor:zg}=Object,qE=Object.prototype.hasOwnProperty;function CE(I){return this[I]}var Kg,Vg,i4=(I,J,G)=>{var K=I!=null&&typeof I==="object";if(K){var X=J?Kg??=new WeakMap:Vg??=new WeakMap,z=X.get(I);if(z)return z}G=I!=null?Og(Zg(I)):{};let O=J||!I||!I.__esModule?cG(G,"default",{value:I,enumerable:!0}):G;for(let L of AE(I))if(!qE.call(O,L))cG(O,L,{get:CE.bind(I,L),enumerable:!0});if(K)X.set(I,O);return O},j$=(I)=>{var J=(ME??=new WeakMap).get(I),G;if(J)return J;if(J=cG({},"__esModule",{value:!0}),I&&typeof I==="object"||typeof I==="function"){for(var K of AE(I))if(!qE.call(J,K))cG(J,K,{get:CE.bind(I,K),enumerable:!(G=zg(I,K))||G.enumerable})}return ME.set(I,J),J},ME,sI=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports);var Dg=(I)=>I;function Wg(I,J){this[I]=Dg.bind(null,J)}var g6=(I,J)=>{for(var G in J)cG(I,G,{get:J[G],enumerable:!0,configurable:!0,set:Wg.bind(J,G)})};var HQ=(I,J)=>()=>(I&&(J=I(I=0)),J);var Fg=((I)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(I,{get:(J,G)=>(typeof require<"u"?require:J)[G]}):I)(function(I){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+I+'" is not supported')});var TE=sI((Hg)=>{(function(){function I(){if(p=!1,L0){var V=Hg.unstable_now();C0=V;var F=!0;try{$:{g=!1,u&&(u=!1,a(E0),E0=-1),b=!0;var T=w;try{U:{z(V);for(y=G(P);y!==null&&!(y.expirationTime>V&&L());){var S=y.callback;if(typeof S==="function"){y.callback=null,w=y.priorityLevel;var A=S(y.expirationTime<=V);if(V=Hg.unstable_now(),typeof A==="function"){y.callback=A,z(V),F=!0;break U}y===G(P)&&K(P),z(V)}else K(P);y=G(P)}if(y!==null)F=!0;else{var Z=G(v);Z!==null&&j(O,Z.startTime-V),F=!1}}break $}finally{y=null,w=T,b=!1}F=void 0}}finally{F?Y():L0=!1}}}function J(V,F){var T=V.length;V.push(F);$:for(;0<T;){var S=T-1>>>1,A=V[S];if(0<X(A,F))V[S]=F,V[T]=A,T=S;else break $}}function G(V){return V.length===0?null:V[0]}function K(V){if(V.length===0)return null;var F=V[0],T=V.pop();if(T!==F){V[0]=T;$:for(var S=0,A=V.length,Z=A>>>1;S<Z;){var C=2*(S+1)-1,x=V[C],B=C+1,h=V[B];if(0>X(x,T))B<A&&0>X(h,x)?(V[S]=h,V[B]=T,S=B):(V[S]=x,V[C]=T,S=C);else if(B<A&&0>X(h,T))V[S]=h,V[B]=T,S=B;else break $}}return F}function X(V,F){var T=V.sortIndex-F.sortIndex;return T!==0?T:V.id-F.id}function z(V){for(var F=G(v);F!==null;){if(F.callback===null)K(v);else if(F.startTime<=V)K(v),F.sortIndex=F.expirationTime,J(P,F);else break;F=G(v)}}function O(V){if(u=!1,z(V),!g)if(G(P)!==null)g=!0,L0||(L0=!0,Y());else{var F=G(v);F!==null&&j(O,F.startTime-V)}}function L(){return p?!0:Hg.unstable_now()-C0<t?!1:!0}function j(V,F){E0=d(function(){V(Hg.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Hg.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var E=performance;Hg.unstable_now=function(){return E.now()}}else{var _=Date,q=_.now();Hg.unstable_now=function(){return _.now()-q}}var P=[],v=[],N=1,y=null,w=3,b=!1,g=!1,u=!1,p=!1,d=typeof setTimeout==="function"?setTimeout:null,a=typeof clearTimeout==="function"?clearTimeout:null,F0=typeof setImmediate<"u"?setImmediate:null,L0=!1,E0=-1,t=5,C0=-1;if(typeof F0==="function")var Y=function(){F0(I)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,H=D.port2;D.port1.onmessage=I,Y=function(){H.postMessage(null)}}else Y=function(){d(I,0)};Hg.unstable_IdlePriority=5,Hg.unstable_ImmediatePriority=1,Hg.unstable_LowPriority=4,Hg.unstable_NormalPriority=3,Hg.unstable_Profiling=null,Hg.unstable_UserBlockingPriority=2,Hg.unstable_cancelCallback=function(V){V.callback=null},Hg.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):t=0<V?Math.floor(1000/V):5},Hg.unstable_getCurrentPriorityLevel=function(){return w},Hg.unstable_next=function(V){switch(w){case 1:case 2:case 3:var F=3;break;default:F=w}var T=w;w=F;try{return V()}finally{w=T}},Hg.unstable_requestPaint=function(){p=!0},Hg.unstable_runWithPriority=function(V,F){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var T=w;w=V;try{return F()}finally{w=T}},Hg.unstable_scheduleCallback=function(V,F,T){var S=Hg.unstable_now();switch(typeof T==="object"&&T!==null?(T=T.delay,T=typeof T==="number"&&0<T?S+T:S):T=S,V){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5000}return A=T+A,V={id:N++,callback:F,priorityLevel:V,startTime:T,expirationTime:A,sortIndex:-1},T>S?(V.sortIndex=T,J(v,V),G(P)===null&&V===G(v)&&(u?(a(E0),E0=-1):u=!0,j(O,T-S))):(V.sortIndex=A,J(P,V),g||b||(g=!0,L0||(L0=!0,Y()))),V},Hg.unstable_shouldYield=L,Hg.unstable_wrapCallback=function(V){var F=w;return function(){var T=w;w=F;try{return V.apply(this,arguments)}finally{w=T}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pG=sI((Lg,eZ)=>{(function(){function I(m,X0){Object.defineProperty(K.prototype,m,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",X0[0],X0[1])}})}function J(m){if(m===null||typeof m!=="object")return null;return m=e&&m[e]||m["@@iterator"],typeof m==="function"?m:null}function G(m,X0){m=(m=m.constructor)&&(m.displayName||m.name)||"ReactClass";var s0=m+"."+X0;J0[s0]||(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.",X0,m),J0[s0]=!0)}function K(m,X0,s0){this.props=m,this.context=X0,this.refs=$0,this.updater=s0||O0}function X(){}function z(m,X0,s0){this.props=m,this.context=X0,this.refs=$0,this.updater=s0||O0}function O(){}function L(m){return""+m}function j(m){try{L(m);var X0=!1}catch(B0){X0=!0}if(X0){X0=console;var s0=X0.error,S0=typeof Symbol==="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return s0.call(X0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",S0),L(m)}}function E(m){if(m==null)return null;if(typeof m==="function")return m.$$typeof===H0?null:m.displayName||m.name||null;if(typeof m==="string")return m;switch(m){case A:return"Fragment";case C:return"Profiler";case Z:return"StrictMode";case r:return"Suspense";case U0:return"SuspenseList";case s:return"Activity"}if(typeof m==="object")switch(typeof m.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case S:return"Portal";case B:return m.displayName||"Context";case x:return(m._context.displayName||"Context")+".Consumer";case h:var X0=m.render;return m=m.displayName,m||(m=X0.displayName||X0.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case z0:return X0=m.displayName||null,X0!==null?X0:E(m.type)||"Memo";case Q0:X0=m._payload,m=m._init;try{return E(m(X0))}catch(s0){}}return null}function _(m){if(m===A)return"<>";if(typeof m==="object"&&m!==null&&m.$$typeof===Q0)return"<...>";try{var X0=E(m);return X0?"<"+X0+">":"<...>"}catch(s0){return"<...>"}}function q(){var m=Y0.A;return m===null?null:m.getOwner()}function P(){return Error("react-stack-top-frame")}function v(m){if(V0.call(m,"key")){var X0=Object.getOwnPropertyDescriptor(m,"key").get;if(X0&&X0.isReactWarning)return!1}return m.key!==void 0}function N(m,X0){function s0(){I0||(I0=!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)",X0))}s0.isReactWarning=!0,Object.defineProperty(m,"key",{get:s0,configurable:!0})}function y(){var m=E(this.type);return U$[m]||(U$[m]=!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.")),m=this.props.ref,m!==void 0?m:null}function w(m,X0,s0,S0,B0,F$){var g0=s0.ref;return m={$$typeof:T,type:m,key:X0,props:s0,_owner:S0},(g0!==void 0?g0:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:y}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(m,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:B0}),Object.defineProperty(m,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F$}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function b(m,X0){return X0=w(m.type,X0,m.props,m._owner,m._debugStack,m._debugTask),m._store&&(X0._store.validated=m._store.validated),X0}function g(m){u(m)?m._store&&(m._store.validated=1):typeof m==="object"&&m!==null&&m.$$typeof===Q0&&(m._payload.status==="fulfilled"?u(m._payload.value)&&m._payload.value._store&&(m._payload.value._store.validated=1):m._store&&(m._store.validated=1))}function u(m){return typeof m==="object"&&m!==null&&m.$$typeof===T}function p(m){var X0={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(s0){return X0[s0]})}function d(m,X0){return typeof m==="object"&&m!==null&&m.key!=null?(j(m.key),p(""+m.key)):X0.toString(36)}function a(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status==="string"?m.then(O,O):(m.status="pending",m.then(function(X0){m.status==="pending"&&(m.status="fulfilled",m.value=X0)},function(X0){m.status==="pending"&&(m.status="rejected",m.reason=X0)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function F0(m,X0,s0,S0,B0){var F$=typeof m;if(F$==="undefined"||F$==="boolean")m=null;var g0=!1;if(m===null)g0=!0;else switch(F$){case"bigint":case"string":case"number":g0=!0;break;case"object":switch(m.$$typeof){case T:case S:g0=!0;break;case Q0:return g0=m._init,F0(g0(m._payload),X0,s0,S0,B0)}}if(g0){g0=m,B0=B0(g0);var f0=S0===""?"."+d(g0,0):S0;return n(B0)?(s0="",f0!=null&&(s0=f0.replace(p0,"$&/")+"/"),F0(B0,X0,s0,"",function(n0){return n0})):B0!=null&&(u(B0)&&(B0.key!=null&&(g0&&g0.key===B0.key||j(B0.key)),s0=b(B0,s0+(B0.key==null||g0&&g0.key===B0.key?"":(""+B0.key).replace(p0,"$&/")+"/")+f0),S0!==""&&g0!=null&&u(g0)&&g0.key==null&&g0._store&&!g0._store.validated&&(s0._store.validated=2),B0=s0),X0.push(B0)),1}if(g0=0,f0=S0===""?".":S0+":",n(m))for(var V$=0;V$<m.length;V$++)S0=m[V$],F$=f0+d(S0,V$),g0+=F0(S0,X0,s0,F$,B0);else if(V$=J(m),typeof V$==="function")for(V$===m.entries&&(L$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),L$=!0),m=V$.call(m),V$=0;!(S0=m.next()).done;)S0=S0.value,F$=f0+d(S0,V$++),g0+=F0(S0,X0,s0,F$,B0);else if(F$==="object"){if(typeof m.then==="function")return F0(a(m),X0,s0,S0,B0);throw X0=String(m),Error("Objects are not valid as a React child (found: "+(X0==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":X0)+"). If you meant to render a collection of children, use an array instead.")}return g0}function L0(m,X0,s0){if(m==null)return m;var S0=[],B0=0;return F0(m,S0,"","",function(F$){return X0.call(s0,F$,B0++)}),S0}function E0(m){if(m._status===-1){var X0=m._ioInfo;X0!=null&&(X0.start=X0.end=performance.now()),X0=m._result;var s0=X0();if(s0.then(function(B0){if(m._status===0||m._status===-1){m._status=1,m._result=B0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),s0.status===void 0&&(s0.status="fulfilled",s0.value=B0)}},function(B0){if(m._status===0||m._status===-1){m._status=2,m._result=B0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),s0.status===void 0&&(s0.status="rejected",s0.reason=B0)}}),X0=m._ioInfo,X0!=null){X0.value=s0;var S0=s0.displayName;typeof S0==="string"&&(X0.name=S0)}m._status===-1&&(m._status=0,m._result=s0)}if(m._status===1)return X0=m._result,X0===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,X0),"default"in X0||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,X0),X0.default;throw m._result}function t(){var m=Y0.H;return m===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:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}function C0(){Y0.asyncTransitions--}function Y(m){if(b0===null)try{var X0=("require"+Math.random()).slice(0,7);b0=(eZ&&eZ[X0]).call(eZ,"timers").setImmediate}catch(s0){b0=function(S0){i$===!1&&(i$=!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 B0=new MessageChannel;B0.port1.onmessage=S0,B0.port2.postMessage(void 0)}}return b0(m)}function D(m){return 1<m.length&&typeof AggregateError==="function"?AggregateError(m):m[0]}function H(m,X0){X0!==h0-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. "),h0=X0}function V(m,X0,s0){var S0=Y0.actQueue;if(S0!==null)if(S0.length!==0)try{F(S0),Y(function(){return V(m,X0,s0)});return}catch(B0){Y0.thrownErrors.push(B0)}else Y0.actQueue=null;0<Y0.thrownErrors.length?(S0=D(Y0.thrownErrors),Y0.thrownErrors.length=0,s0(S0)):X0(m)}function F(m){if(!r0){r0=!0;var X0=0;try{for(;X0<m.length;X0++){var s0=m[X0];do{Y0.didUsePromise=!1;var S0=s0(!1);if(S0!==null){if(Y0.didUsePromise){m[X0]=s0,m.splice(0,X0);return}s0=S0}else break}while(1)}m.length=0}catch(B0){m.splice(0,X0+1),Y0.thrownErrors.push(B0)}finally{r0=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var T=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),B=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),U0=Symbol.for("react.suspense_list"),z0=Symbol.for("react.memo"),Q0=Symbol.for("react.lazy"),s=Symbol.for("react.activity"),e=Symbol.iterator,J0={},O0={isMounted:function(){return!1},enqueueForceUpdate:function(m){G(m,"forceUpdate")},enqueueReplaceState:function(m){G(m,"replaceState")},enqueueSetState:function(m){G(m,"setState")}},A0=Object.assign,$0={};Object.freeze($0),K.prototype.isReactComponent={},K.prototype.setState=function(m,X0){if(typeof m!=="object"&&typeof m!=="function"&&m!=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,m,X0,"setState")},K.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};var c={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(TU in c)c.hasOwnProperty(TU)&&I(TU,c[TU]);X.prototype=K.prototype,c=z.prototype=new X,c.constructor=z,A0(c,K.prototype),c.isPureReactComponent=!0;var n=Array.isArray,H0=Symbol.for("react.client.reference"),Y0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},V0=Object.prototype.hasOwnProperty,N0=console.createTask?console.createTask:function(){return null};c={react_stack_bottom_frame:function(m){return m()}};var I0,K0,U$={},M0=c.react_stack_bottom_frame.bind(c,P)(),v0=N0(_(P)),L$=!1,p0=/\/+/g,c0=typeof reportError==="function"?reportError:function(m){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X0=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(X0))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",m);return}console.error(m)},i$=!1,b0=null,h0=0,QU=!1,r0=!1,o0=typeof queueMicrotask==="function"?function(m){queueMicrotask(function(){return queueMicrotask(m)})}:Y;c=Object.freeze({__proto__:null,c:function(m){return t().useMemoCache(m)}});var TU={map:L0,forEach:function(m,X0,s0){L0(m,function(){X0.apply(this,arguments)},s0)},count:function(m){var X0=0;return L0(m,function(){X0++}),X0},toArray:function(m){return L0(m,function(X0){return X0})||[]},only:function(m){if(!u(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};Lg.Activity=s,Lg.Children=TU,Lg.Component=K,Lg.Fragment=A,Lg.Profiler=C,Lg.PureComponent=z,Lg.StrictMode=Z,Lg.Suspense=r,Lg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y0,Lg.__COMPILER_RUNTIME=c,Lg.act=function(m){var X0=Y0.actQueue,s0=h0;h0++;var S0=Y0.actQueue=X0!==null?X0:[],B0=!1;try{var F$=m()}catch(V$){Y0.thrownErrors.push(V$)}if(0<Y0.thrownErrors.length)throw H(X0,s0),m=D(Y0.thrownErrors),Y0.thrownErrors.length=0,m;if(F$!==null&&typeof F$==="object"&&typeof F$.then==="function"){var g0=F$;return o0(function(){B0||QU||(QU=!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(V$,n0){B0=!0,g0.then(function(i0){if(H(X0,s0),s0===0){try{F(S0),Y(function(){return V(i0,V$,n0)})}catch(a0){Y0.thrownErrors.push(a0)}if(0<Y0.thrownErrors.length){var KU=D(Y0.thrownErrors);Y0.thrownErrors.length=0,n0(KU)}}else V$(i0)},function(i0){H(X0,s0),0<Y0.thrownErrors.length?(i0=D(Y0.thrownErrors),Y0.thrownErrors.length=0,n0(i0)):n0(i0)})}}}var f0=F$;if(H(X0,s0),s0===0&&(F(S0),S0.length!==0&&o0(function(){B0||QU||(QU=!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(() => ...)"))}),Y0.actQueue=null),0<Y0.thrownErrors.length)throw m=D(Y0.thrownErrors),Y0.thrownErrors.length=0,m;return{then:function(V$,n0){B0=!0,s0===0?(Y0.actQueue=S0,Y(function(){return V(f0,V$,n0)})):V$(f0)}}},Lg.cache=function(m){return function(){return m.apply(null,arguments)}},Lg.cacheSignal=function(){return null},Lg.captureOwnerStack=function(){var m=Y0.getCurrentStack;return m===null?null:m()},Lg.cloneElement=function(m,X0,s0){if(m===null||m===void 0)throw Error("The argument must be a React element, but you passed "+m+".");var S0=A0({},m.props),B0=m.key,F$=m._owner;if(X0!=null){var g0;$:{if(V0.call(X0,"ref")&&(g0=Object.getOwnPropertyDescriptor(X0,"ref").get)&&g0.isReactWarning){g0=!1;break $}g0=X0.ref!==void 0}g0&&(F$=q()),v(X0)&&(j(X0.key),B0=""+X0.key);for(f0 in X0)!V0.call(X0,f0)||f0==="key"||f0==="__self"||f0==="__source"||f0==="ref"&&X0.ref===void 0||(S0[f0]=X0[f0])}var f0=arguments.length-2;if(f0===1)S0.children=s0;else if(1<f0){g0=Array(f0);for(var V$=0;V$<f0;V$++)g0[V$]=arguments[V$+2];S0.children=g0}S0=w(m.type,B0,S0,F$,m._debugStack,m._debugTask);for(B0=2;B0<arguments.length;B0++)g(arguments[B0]);return S0},Lg.createContext=function(m){return m={$$typeof:B,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:x,_context:m},m._currentRenderer=null,m._currentRenderer2=null,m},Lg.createElement=function(m,X0,s0){for(var S0=2;S0<arguments.length;S0++)g(arguments[S0]);S0={};var B0=null;if(X0!=null)for(V$ in K0||!("__self"in X0)||"key"in X0||(K0=!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")),v(X0)&&(j(X0.key),B0=""+X0.key),X0)V0.call(X0,V$)&&V$!=="key"&&V$!=="__self"&&V$!=="__source"&&(S0[V$]=X0[V$]);var F$=arguments.length-2;if(F$===1)S0.children=s0;else if(1<F$){for(var g0=Array(F$),f0=0;f0<F$;f0++)g0[f0]=arguments[f0+2];Object.freeze&&Object.freeze(g0),S0.children=g0}if(m&&m.defaultProps)for(V$ in F$=m.defaultProps,F$)S0[V$]===void 0&&(S0[V$]=F$[V$]);B0&&N(S0,typeof m==="function"?m.displayName||m.name||"Unknown":m);var V$=1e4>Y0.recentlyCreatedOwnerStacks++;return w(m,B0,S0,q(),V$?Error("react-stack-top-frame"):M0,V$?N0(_(m)):v0)},Lg.createRef=function(){var m={current:null};return Object.seal(m),m},Lg.forwardRef=function(m){m!=null&&m.$$typeof===z0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!=="function"?console.error("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",m.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),m!=null&&m.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var X0={$$typeof:h,render:m},s0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return s0},set:function(S0){s0=S0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:S0}),m.displayName=S0)}}),X0},Lg.isValidElement=u,Lg.lazy=function(m){m={_status:-1,_result:m};var X0={$$typeof:Q0,_payload:m,_init:E0},s0={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return m._ioInfo=s0,X0._debugInfo=[{awaited:s0}],X0},Lg.memo=function(m,X0){m==null&&console.error("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m),X0={$$typeof:z0,type:m,compare:X0===void 0?null:X0};var s0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return s0},set:function(S0){s0=S0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:S0}),m.displayName=S0)}}),X0},Lg.startTransition=function(m){var X0=Y0.T,s0={};s0._updatedFibers=new Set,Y0.T=s0;try{var S0=m(),B0=Y0.S;B0!==null&&B0(s0,S0),typeof S0==="object"&&S0!==null&&typeof S0.then==="function"&&(Y0.asyncTransitions++,S0.then(C0,C0),S0.then(O,c0))}catch(F$){c0(F$)}finally{X0===null&&s0._updatedFibers&&(m=s0._updatedFibers.size,s0._updatedFibers.clear(),10<m&&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.")),X0!==null&&s0.types!==null&&(X0.types!==null&&X0.types!==s0.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."),X0.types=s0.types),Y0.T=X0}},Lg.unstable_useCacheRefresh=function(){return t().useCacheRefresh()},Lg.use=function(m){return t().use(m)},Lg.useActionState=function(m,X0,s0){return t().useActionState(m,X0,s0)},Lg.useCallback=function(m,X0){return t().useCallback(m,X0)},Lg.useContext=function(m){var X0=t();return m.$$typeof===x&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X0.useContext(m)},Lg.useDebugValue=function(m,X0){return t().useDebugValue(m,X0)},Lg.useDeferredValue=function(m,X0){return t().useDeferredValue(m,X0)},Lg.useEffect=function(m,X0){return m==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useEffect(m,X0)},Lg.useEffectEvent=function(m){return t().useEffectEvent(m)},Lg.useId=function(){return t().useId()},Lg.useImperativeHandle=function(m,X0,s0){return t().useImperativeHandle(m,X0,s0)},Lg.useInsertionEffect=function(m,X0){return m==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useInsertionEffect(m,X0)},Lg.useLayoutEffect=function(m,X0){return m==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useLayoutEffect(m,X0)},Lg.useMemo=function(m,X0){return t().useMemo(m,X0)},Lg.useOptimistic=function(m,X0){return t().useOptimistic(m,X0)},Lg.useReducer=function(m,X0,s0){return t().useReducer(m,X0,s0)},Lg.useRef=function(m){return t().useRef(m)},Lg.useState=function(m){return t().useState(m)},Lg.useSyncExternalStore=function(m,X0,s0){return t().useSyncExternalStore(m,X0,s0)},Lg.useTransition=function(){return t().useTransition()},Lg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var RE=sI((Mg)=>{var BW=i4(pG());(function(){function I(){}function J(_){return""+_}function G(_,q,P){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(v);var N=!1}catch(y){N=!0}return N&&(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&&v[Symbol.toStringTag]||v.constructor.name||"Object"),J(v)),{$$typeof:j,key:v==null?null:""+v,children:_,containerInfo:q,implementation:P}}function K(_,q){if(_==="font")return"";if(typeof q==="string")return q==="use-credentials"?q:""}function X(_){return _===null?"`null`":_===void 0?"`undefined`":_===""?"an empty string":'something with type "'+typeof _+'"'}function z(_){return _===null?"`null`":_===void 0?"`undefined`":_===""?"an empty string":typeof _==="string"?JSON.stringify(_):typeof _==="number"?"`"+_+"`":'something with type "'+typeof _+'"'}function O(){var _=E.H;return _===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:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),_}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:I,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:I,C:I,L:I,m:I,X:I,S:I,M:I},p:0,findDOMNode:null},j=Symbol.for("react.portal"),E=BW.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Mg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Mg.createPortal=function(_,q){var P=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!q||q.nodeType!==1&&q.nodeType!==9&&q.nodeType!==11)throw Error("Target container is not a DOM element.");return G(_,q,null,P)},Mg.flushSync=function(_){var q=E.T,P=L.p;try{if(E.T=null,L.p=2,_)return _()}finally{E.T=q,L.p=P,L.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Mg.preconnect=function(_,q){typeof _==="string"&&_?q!=null&&typeof q!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",z(q)):q!=null&&typeof q.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",X(q.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(_)),typeof _==="string"&&(q?(q=q.crossOrigin,q=typeof q==="string"?q==="use-credentials"?q:"":void 0):q=null,L.d.C(_,q))},Mg.prefetchDNS=function(_){if(typeof _!=="string"||!_)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(_));else if(1<arguments.length){var q=arguments[1];typeof q==="object"&&q.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",z(q)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",z(q))}typeof _==="string"&&L.d.D(_)},Mg.preinit=function(_,q){if(typeof _==="string"&&_?q==null||typeof q!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",z(q)):q.as!=="style"&&q.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',z(q.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(_)),typeof _==="string"&&q&&typeof q.as==="string"){var P=q.as,v=K(P,q.crossOrigin),N=typeof q.integrity==="string"?q.integrity:void 0,y=typeof q.fetchPriority==="string"?q.fetchPriority:void 0;P==="style"?L.d.S(_,typeof q.precedence==="string"?q.precedence:void 0,{crossOrigin:v,integrity:N,fetchPriority:y}):P==="script"&&L.d.X(_,{crossOrigin:v,integrity:N,fetchPriority:y,nonce:typeof q.nonce==="string"?q.nonce:void 0})}},Mg.preinitModule=function(_,q){var P="";if(typeof _==="string"&&_||(P+=" The `href` argument encountered was "+X(_)+"."),q!==void 0&&typeof q!=="object"?P+=" The `options` argument encountered was "+X(q)+".":q&&("as"in q)&&q.as!=="script"&&(P+=" The `as` option encountered was "+z(q.as)+"."),P)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",P);else switch(P=q&&typeof q.as==="string"?q.as:"script",P){case"script":break;default:P=z(P),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',P,_)}if(typeof _==="string")if(typeof q==="object"&&q!==null){if(q.as==null||q.as==="script")P=K(q.as,q.crossOrigin),L.d.M(_,{crossOrigin:P,integrity:typeof q.integrity==="string"?q.integrity:void 0,nonce:typeof q.nonce==="string"?q.nonce:void 0})}else q==null&&L.d.M(_)},Mg.preload=function(_,q){var P="";if(typeof _==="string"&&_||(P+=" The `href` argument encountered was "+X(_)+"."),q==null||typeof q!=="object"?P+=" The `options` argument encountered was "+X(q)+".":typeof q.as==="string"&&q.as||(P+=" The `as` option encountered was "+X(q.as)+"."),P&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',P),typeof _==="string"&&typeof q==="object"&&q!==null&&typeof q.as==="string"){P=q.as;var v=K(P,q.crossOrigin);L.d.L(_,P,{crossOrigin:v,integrity:typeof q.integrity==="string"?q.integrity:void 0,nonce:typeof q.nonce==="string"?q.nonce:void 0,type:typeof q.type==="string"?q.type:void 0,fetchPriority:typeof q.fetchPriority==="string"?q.fetchPriority:void 0,referrerPolicy:typeof q.referrerPolicy==="string"?q.referrerPolicy:void 0,imageSrcSet:typeof q.imageSrcSet==="string"?q.imageSrcSet:void 0,imageSizes:typeof q.imageSizes==="string"?q.imageSizes:void 0,media:typeof q.media==="string"?q.media:void 0})}},Mg.preloadModule=function(_,q){var P="";typeof _==="string"&&_||(P+=" The `href` argument encountered was "+X(_)+"."),q!==void 0&&typeof q!=="object"?P+=" The `options` argument encountered was "+X(q)+".":q&&("as"in q)&&typeof q.as!=="string"&&(P+=" The `as` option encountered was "+X(q.as)+"."),P&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',P),typeof _==="string"&&(q?(P=K(q.as,q.crossOrigin),L.d.m(_,{as:typeof q.as==="string"&&q.as!=="script"?q.as:void 0,crossOrigin:P,integrity:typeof q.integrity==="string"?q.integrity:void 0})):L.d.m(_))},Mg.requestFormReset=function(_){L.d.r(_)},Mg.unstable_batchedUpdates=function(_,q){return _(q)},Mg.useFormState=function(_,q,P){return O().useFormState(_,q,P)},Mg.useFormStatus=function(){return O().useHostTransitionStatus()},Mg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var EE=sI((Dl,PE)=>{var Ag=i4(RE());PE.exports=Ag});var _E=sI((qg)=>{var o$=i4(TE()),LQ=i4(pG()),NW=i4(EE());(function(){function I($,U){for($=$.memoizedState;$!==null&&0<U;)$=$.next,U--;return $}function J($,U,Q,W){if(Q>=U.length)return W;var M=U[Q],R=Q6($)?$.slice():y$({},$);return R[M]=J($[M],U,Q+1,W),R}function G($,U,Q){if(U.length!==Q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var W=0;W<Q.length-1;W++)if(U[W]!==Q[W]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return K($,U,Q,0)}}function K($,U,Q,W){var M=U[W],R=Q6($)?$.slice():y$({},$);return W+1===U.length?(R[Q[W]]=R[M],Q6(R)?R.splice(M,1):delete R[M]):R[M]=K($[M],U,Q,W+1),R}function X($,U,Q){var W=U[Q],M=Q6($)?$.slice():y$({},$);if(Q+1===U.length)return Q6(M)?M.splice(W,1):delete M[W],M;return M[W]=X($[W],U,Q+1),M}function z(){return!1}function O(){return null}function L(){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 j(){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 E(){}function _(){}function q($){var U=[];return $.forEach(function(Q){U.push(Q)}),U.sort().join(", ")}function P($,U,Q,W){return new aB($,U,Q,W)}function v($,U){$.context===NI&&(t8($.current,2,U,$,null,null),SJ())}function N($,U){if(P4!==null){var Q=U.staleFamilies;U=U.updatedFamilies,fY(),PA($.current,U,Q),SJ()}}function y($){P4=$}function w($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function b($){var U=$,Q=$;if($.alternate)for(;U.return;)U=U.return;else{$=U;do U=$,(U.flags&4098)!==0&&(Q=U.return),$=U.return;while($)}return U.tag===3?Q:null}function g($){if($.tag===13){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function u($){if($.tag===31){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function p($){if(b($)!==$)throw Error("Unable to find node on an unmounted component.")}function d($){var U=$.alternate;if(!U){if(U=b($),U===null)throw Error("Unable to find node on an unmounted component.");return U!==$?null:$}for(var Q=$,W=U;;){var M=Q.return;if(M===null)break;var R=M.alternate;if(R===null){if(W=M.return,W!==null){Q=W;continue}break}if(M.child===R.child){for(R=M.child;R;){if(R===Q)return p(M),$;if(R===W)return p(M),U;R=R.sibling}throw Error("Unable to find node on an unmounted component.")}if(Q.return!==W.return)Q=M,W=R;else{for(var k=!1,f=M.child;f;){if(f===Q){k=!0,Q=M,W=R;break}if(f===W){k=!0,W=M,Q=R;break}f=f.sibling}if(!k){for(f=R.child;f;){if(f===Q){k=!0,Q=R,W=M;break}if(f===W){k=!0,W=R,Q=M;break}f=f.sibling}if(!k)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(Q.alternate!==W)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(Q.tag!==3)throw Error("Unable to find node on an unmounted component.");return Q.stateNode.current===Q?$:U}function a($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $;for($=$.child;$!==null;){if(U=a($),U!==null)return U;$=$.sibling}return null}function F0($){if($===null||typeof $!=="object")return null;return $=NT&&$[NT]||$["@@iterator"],typeof $==="function"?$:null}function L0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===M3?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case xJ:return"Fragment";case ID:return"Profiler";case oO:return"StrictMode";case JD:return"Suspense";case QD:return"SuspenseList";case YD:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case gJ:return"Portal";case W1:return $.displayName||"Context";case XD:return($._context.displayName||"Context")+".Consumer";case nY:var U=$.render;return $=$.displayName,$||($=U.displayName||U.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case iO:return U=$.displayName||null,U!==null?U:L0($.type)||"Memo";case Y4:U=$._payload,$=$._init;try{return L0($(U))}catch(Q){}}return null}function E0($){return typeof $.tag==="number"?t($):typeof $.name==="string"?$.name:null}function t($){var U=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(U._context.displayName||"Context")+".Consumer";case 10:return U.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=U.render,$=$.displayName||$.name||"",U.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return U;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return L0(U);case 8:return U===oO?"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 U==="function")return U.displayName||U.name||null;if(typeof U==="string")return U;break;case 29:if(U=$._debugInfo,U!=null){for(var Q=U.length-1;0<=Q;Q--)if(typeof U[Q].name==="string")return U[Q].name}if($.return!==null)return t($.return)}return null}function C0($){return{current:$}}function Y($,U){0>p1?console.error("Unexpected pop."):(U!==OD[p1]&&console.error("Unexpected Fiber popped."),$.current=GD[p1],GD[p1]=null,OD[p1]=null,p1--)}function D($,U,Q){p1++,GD[p1]=$.current,OD[p1]=Q,$.current=U}function H($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function V($,U){D(EI,U,$),D(oY,$,$),D(PI,null,$);var Q=U.nodeType;switch(Q){case 9:case 11:Q=Q===9?"#document":"#fragment",U=(U=U.documentElement)?(U=U.namespaceURI)?UT(U):II:II;break;default:if(Q=U.tagName,U=U.namespaceURI)U=UT(U),U=IT(U,Q);else switch(Q){case"svg":U=WQ;break;case"math":U=nZ;break;default:U=II}}Q=Q.toLowerCase(),Q=r7(null,Q),Q={context:U,ancestorInfo:Q},Y(PI,$),D(PI,Q,$)}function F($){Y(PI,$),Y(oY,$),Y(EI,$)}function T(){return H(PI.current)}function S($){$.memoizedState!==null&&D(rO,$,$);var U=H(PI.current),Q=$.type,W=IT(U.context,Q);Q=r7(U.ancestorInfo,Q),W={context:W,ancestorInfo:Q},U!==W&&(D(oY,$,$),D(PI,W,$))}function A($){oY.current===$&&(Y(PI,$),Y(oY,$)),rO.current===$&&(Y(rO,$),uG._currentValue=rX)}function Z(){}function C(){if(iY===0){kT=console.log,gT=console.info,xT=console.warn,wT=console.error,fT=console.group,yT=console.groupCollapsed,uT=console.groupEnd;var $={configurable:!0,enumerable:!0,value:Z,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}iY++}function x(){if(iY--,iY===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y$({},$,{value:kT}),info:y$({},$,{value:gT}),warn:y$({},$,{value:xT}),error:y$({},$,{value:wT}),group:y$({},$,{value:fT}),groupCollapsed:y$({},$,{value:yT}),groupEnd:y$({},$,{value:uT})})}0>iY&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function B($){var U=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=U,$.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&($=$.slice(29)),U=$.indexOf(`
|
|
19
|
+
`),U!==-1&&($=$.slice(U+1)),U=$.indexOf("react_stack_bottom_frame"),U!==-1&&(U=$.lastIndexOf(`
|
|
20
|
+
`,U)),U!==-1)$=$.slice(0,U);else return"";return $}function h($){if(ZD===void 0)try{throw Error()}catch(Q){var U=Q.stack.trim().match(/\n( *(at )?)/);ZD=U&&U[1]||"",bT=-1<Q.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<Q.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+ZD+$+bT}function r($,U){if(!$||zD)return"";var Q=KD.get($);if(Q!==void 0)return Q;zD=!0,Q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var W=null;W=y0.H,y0.H=null,C();try{var M={DetermineComponentFrameRoot:function(){try{if(U){var D0=function(){throw Error()};if(Object.defineProperty(D0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(D0,[])}catch(z$){var k0=z$}Reflect.construct($,[],D0)}else{try{D0.call()}catch(z$){k0=z$}$.call(D0.prototype)}}else{try{throw Error()}catch(z$){k0=z$}(D0=$())&&typeof D0.catch==="function"&&D0.catch(function(){})}}catch(z$){if(z$&&k0&&typeof z$.stack==="string")return[z$.stack,k0.stack]}return[null,null]}};M.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var R=Object.getOwnPropertyDescriptor(M.DetermineComponentFrameRoot,"name");R&&R.configurable&&Object.defineProperty(M.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=M.DetermineComponentFrameRoot(),f=k[0],l=k[1];if(f&&l){var o=f.split(`
|
|
23
|
+
`),T0=l.split(`
|
|
24
|
+
`);for(k=R=0;R<o.length&&!o[R].includes("DetermineComponentFrameRoot");)R++;for(;k<T0.length&&!T0[k].includes("DetermineComponentFrameRoot");)k++;if(R===o.length||k===T0.length)for(R=o.length-1,k=T0.length-1;1<=R&&0<=k&&o[R]!==T0[k];)k--;for(;1<=R&&0<=k;R--,k--)if(o[R]!==T0[k]){if(R!==1||k!==1)do if(R--,k--,0>k||o[R]!==T0[k]){var R0=`
|
|
25
|
+
`+o[R].replace(" at new "," at ");return $.displayName&&R0.includes("<anonymous>")&&(R0=R0.replace("<anonymous>",$.displayName)),typeof $==="function"&&KD.set($,R0),R0}while(1<=R&&0<=k);break}}}finally{zD=!1,y0.H=W,x(),Error.prepareStackTrace=Q}return o=(o=$?$.displayName||$.name:"")?h(o):"",typeof $==="function"&&KD.set($,o),o}function U0($,U){switch($.tag){case 26:case 27:case 5:return h($.type);case 16:return h("Lazy");case 13:return $.child!==U&&U!==null?h("Suspense Fallback"):h("Suspense");case 19:return h("SuspenseList");case 0:case 15:return r($.type,!1);case 11:return r($.type.render,!1);case 1:return r($.type,!0);case 31:return h("Activity");default:return""}}function z0($){try{var U="",Q=null;do{U+=U0($,Q);var W=$._debugInfo;if(W)for(var M=W.length-1;0<=M;M--){var R=W[M];if(typeof R.name==="string"){var k=U;$:{var{name:f,env:l,debugLocation:o}=R;if(o!=null){var T0=B(o),R0=T0.lastIndexOf(`
|
|
26
|
+
`),D0=R0===-1?T0:T0.slice(R0+1);if(D0.indexOf(f)!==-1){var k0=`
|
|
27
|
+
`+D0;break $}}k0=h(f+(l?" ["+l+"]":""))}U=k+k0}}Q=$,$=$.return}while($);return U}catch(z$){return`
|
|
28
|
+
Error generating stack: `+z$.message+`
|
|
29
|
+
`+z$.stack}}function Q0($){return($=$?$.displayName||$.name:"")?h($):""}function s(){if(G4===null)return null;var $=G4._debugOwner;return $!=null?E0($):null}function e(){if(G4===null)return"";var $=G4;try{var U="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:U+=h($.type);break;case 13:U+=h("Suspense");break;case 19:U+=h("SuspenseList");break;case 31:U+=h("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||U!==""||(U+=Q0($.type));break;case 11:$._debugOwner||U!==""||(U+=Q0($.type.render))}for(;$;)if(typeof $.tag==="number"){var Q=$;$=Q._debugOwner;var W=Q._debugStack;if($&&W){var M=B(W);M!==""&&(U+=`
|
|
30
|
+
`+M)}}else if($.debugStack!=null){var R=$.debugStack;($=$.owner)&&R&&(U+=`
|
|
31
|
+
`+B(R))}else break;var k=U}catch(f){k=`
|
|
32
|
+
Error generating stack: `+f.message+`
|
|
33
|
+
`+f.stack}return k}function J0($,U,Q,W,M,R,k){var f=G4;O0($);try{return $!==null&&$._debugTask?$._debugTask.run(U.bind(null,Q,W,M,R,k)):U(Q,W,M,R,k)}finally{O0(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function O0($){y0.getCurrentStack=$===null?null:e,F1=!1,G4=$}function A0($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function $0($){try{return c($),!1}catch(U){return!0}}function c($){return""+$}function n($,U){if($0($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),c($)}function H0($,U){if($0($))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),c($)}function Y0($){if($0($))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",A0($)),c($)}function V0($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var U=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(U.isDisabled)return!0;if(!U.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{fJ=U.inject($),C6=U}catch(Q){console.error("React instrumentation encountered an error: %o.",Q)}return U.checkDCE?!0:!1}function N0($){if(typeof E3==="function"&&_3($),C6&&typeof C6.setStrictMode==="function")try{C6.setStrictMode(fJ,$)}catch(U){H1||(H1=!0,console.error("React instrumentation encountered an error: %o",U))}}function I0($){return $>>>=0,$===0?32:31-(S3($)/j3|0)|0}function K0($){var U=$&42;if(U!==0)return U;switch($&-$){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:return $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function U$($,U,Q){var W=$.pendingLanes;if(W===0)return 0;var M=0,R=$.suspendedLanes,k=$.pingedLanes;$=$.warmLanes;var f=W&134217727;return f!==0?(W=f&~R,W!==0?M=K0(W):(k&=f,k!==0?M=K0(k):Q||(Q=f&~$,Q!==0&&(M=K0(Q))))):(f=W&~R,f!==0?M=K0(f):k!==0?M=K0(k):Q||(Q=W&~$,Q!==0&&(M=K0(Q)))),M===0?0:U!==0&&U!==M&&(U&R)===0&&(R=M&-M,Q=U&-U,R>=Q||R===32&&(Q&4194048)!==0)?U:M}function M0($,U){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&U)===0}function v0($,U){switch($){case 1:case 2:case 4:case 8:case 64:return U+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 U+5000;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 L$(){var $=sO;return sO<<=1,(sO&62914560)===0&&(sO=4194304),$}function p0($){for(var U=[],Q=0;31>Q;Q++)U.push($);return U}function c0($,U){$.pendingLanes|=U,U!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function i$($,U,Q,W,M,R){var k=$.pendingLanes;$.pendingLanes=Q,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=Q,$.entangledLanes&=Q,$.errorRecoveryDisabledLanes&=Q,$.shellSuspendCounter=0;var{entanglements:f,expirationTimes:l,hiddenUpdates:o}=$;for(Q=k&~Q;0<Q;){var T0=31-E6(Q),R0=1<<T0;f[T0]=0,l[T0]=-1;var D0=o[T0];if(D0!==null)for(o[T0]=null,T0=0;T0<D0.length;T0++){var k0=D0[T0];k0!==null&&(k0.lane&=-536870913)}Q&=~R0}W!==0&&b0($,W,0),R!==0&&M===0&&$.tag!==0&&($.suspendedLanes|=R&~(k&~U))}function b0($,U,Q){$.pendingLanes|=U,$.suspendedLanes&=~U;var W=31-E6(U);$.entangledLanes|=U,$.entanglements[W]=$.entanglements[W]|1073741824|Q&261930}function h0($,U){var Q=$.entangledLanes|=U;for($=$.entanglements;Q;){var W=31-E6(Q),M=1<<W;M&U|$[W]&U&&($[W]|=U),Q&=~M}}function QU($,U){var Q=U&-U;return Q=(Q&42)!==0?1:r0(Q),(Q&($.suspendedLanes|U))!==0?0:Q}function r0($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function o0($,U,Q){if(L1)for($=$.pendingUpdatersLaneMap;0<Q;){var W=31-E6(Q),M=1<<W;$[W].add(U),Q&=~M}}function TU($,U){if(L1)for(var{pendingUpdatersLaneMap:Q,memoizedUpdaters:W}=$;0<U;){var M=31-E6(U);$=1<<M,M=Q[M],0<M.size&&(M.forEach(function(R){var k=R.alternate;k!==null&&W.has(k)||W.add(R)}),M.clear()),U&=~$}}function m($){return $&=-$,O4!==0&&O4<$?c4!==0&&c4<$?($&134217727)!==0?M1:eO:c4:O4}function X0(){var $=s$.p;if($!==0)return $;return $=window.event,$===void 0?M1:PT($.type)}function s0($,U){var Q=s$.p;try{return s$.p=$,U()}finally{s$.p=Q}}function S0($){delete $[L6],delete $[_6],delete $[HD],delete $[v3],delete $[B3]}function B0($){var U=$[L6];if(U)return U;for(var Q=$.parentNode;Q;){if(U=Q[SI]||Q[L6]){if(Q=U.alternate,U.child!==null||Q!==null&&Q.child!==null)for($=zT($);$!==null;){if(Q=$[L6])return Q;$=zT($)}return U}$=Q,Q=$.parentNode}return null}function F$($){if($=$[L6]||$[SI]){var U=$.tag;if(U===5||U===6||U===13||U===31||U===26||U===27||U===3)return $}return null}function g0($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function f0($){var U=$[hT];return U||(U=$[hT]={hoistableStyles:new Map,hoistableScripts:new Map}),U}function V$($){$[rY]=!0}function n0($,U){i0($,U),i0($+"Capture",U)}function i0($,U){SX[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),SX[$]=U;var Q=$.toLowerCase();LD[Q]=$,$==="onDoubleClick"&&(LD.ondblclick=$);for($=0;$<U.length;$++)cT.add(U[$])}function KU($,U){N3[U.type]||U.onChange||U.onInput||U.readOnly||U.disabled||U.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),U.onChange||U.readOnly||U.disabled||U.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function a0($){if(h4.call(mT,$))return!0;if(h4.call(pT,$))return!1;if(k3.test($))return mT[$]=!0;return pT[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function i($,U,Q){if(a0(U)){if(!$.hasAttribute(U)){switch(typeof Q){case"symbol":case"object":return Q;case"function":return Q;case"boolean":if(Q===!1)return Q}return Q===void 0?void 0:null}if($=$.getAttribute(U),$===""&&Q===!0)return!0;return n(Q,U),$===""+Q?Q:$}}function G0($,U,Q){if(a0(U))if(Q===null)$.removeAttribute(U);else{switch(typeof Q){case"undefined":case"function":case"symbol":$.removeAttribute(U);return;case"boolean":var W=U.toLowerCase().slice(0,5);if(W!=="data-"&&W!=="aria-"){$.removeAttribute(U);return}}n(Q,U),$.setAttribute(U,""+Q)}}function P0($,U,Q){if(Q===null)$.removeAttribute(U);else{switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(U);return}n(Q,U),$.setAttribute(U,""+Q)}}function _0($,U,Q,W){if(W===null)$.removeAttribute(Q);else{switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Q);return}n(W,Q),$.setAttributeNS(U,Q,""+W)}}function Z$($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return Y0($),$;default:return""}}function d0($){var U=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(U==="checkbox"||U==="radio")}function t0($,U,Q){var W=Object.getOwnPropertyDescriptor($.constructor.prototype,U);if(!$.hasOwnProperty(U)&&typeof W<"u"&&typeof W.get==="function"&&typeof W.set==="function"){var{get:M,set:R}=W;return Object.defineProperty($,U,{configurable:!0,get:function(){return M.call(this)},set:function(k){Y0(k),Q=""+k,R.call(this,k)}}),Object.defineProperty($,U,{enumerable:W.enumerable}),{getValue:function(){return Q},setValue:function(k){Y0(k),Q=""+k},stopTracking:function(){$._valueTracker=null,delete $[U]}}}}function HU($){if(!$._valueTracker){var U=d0($)?"checked":"value";$._valueTracker=t0($,U,""+$[U])}}function I$($){if(!$)return!1;var U=$._valueTracker;if(!U)return!0;var Q=U.getValue(),W="";return $&&(W=d0($)?$.checked?"true":"false":$.value),$=W,$!==Q?(U.setValue($),!0):!1}function $$($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(U){return $.body}}function e$($){return $.replace(g3,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function X$($,U){U.checked===void 0||U.defaultChecked===void 0||dT||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),dT=!0),U.value===void 0||U.defaultValue===void 0||lT||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),lT=!0)}function e0($,U,Q,W,M,R,k,f){if($.name="",k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"?(n(k,"type"),$.type=k):$.removeAttribute("type"),U!=null)if(k==="number"){if(U===0&&$.value===""||$.value!=U)$.value=""+Z$(U)}else $.value!==""+Z$(U)&&($.value=""+Z$(U));else k!=="submit"&&k!=="reset"||$.removeAttribute("value");U!=null?v$($,k,Z$(U)):Q!=null?v$($,k,Z$(Q)):W!=null&&$.removeAttribute("value"),M==null&&R!=null&&($.defaultChecked=!!R),M!=null&&($.checked=M&&typeof M!=="function"&&typeof M!=="symbol"),f!=null&&typeof f!=="function"&&typeof f!=="symbol"&&typeof f!=="boolean"?(n(f,"name"),$.name=""+Z$(f)):$.removeAttribute("name")}function RU($,U,Q,W,M,R,k,f){if(R!=null&&typeof R!=="function"&&typeof R!=="symbol"&&typeof R!=="boolean"&&(n(R,"type"),$.type=R),U!=null||Q!=null){if(!(R!=="submit"&&R!=="reset"||U!==void 0&&U!==null)){HU($);return}Q=Q!=null?""+Z$(Q):"",U=U!=null?""+Z$(U):Q,f||U===$.value||($.value=U),$.defaultValue=U}W=W!=null?W:M,W=typeof W!=="function"&&typeof W!=="symbol"&&!!W,$.checked=f?$.checked:!!W,$.defaultChecked=!!W,k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&(n(k,"name"),$.name=k),HU($)}function v$($,U,Q){U==="number"&&$$($.ownerDocument)===$||$.defaultValue===""+Q||($.defaultValue=""+Q)}function S$($,U){U.value==null&&(typeof U.children==="object"&&U.children!==null?LQ.Children.forEach(U.children,function(Q){Q==null||typeof Q==="string"||typeof Q==="number"||typeof Q==="bigint"||oT||(oT=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):U.dangerouslySetInnerHTML==null||iT||(iT=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),U.selected==null||nT||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),nT=!0)}function $U(){var $=s();return $?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+$+"`.":""}function d$($,U,Q,W){if($=$.options,U){U={};for(var M=0;M<Q.length;M++)U["$"+Q[M]]=!0;for(Q=0;Q<$.length;Q++)M=U.hasOwnProperty("$"+$[Q].value),$[Q].selected!==M&&($[Q].selected=M),M&&W&&($[Q].defaultSelected=!0)}else{Q=""+Z$(Q),U=null;for(M=0;M<$.length;M++){if($[M].value===Q){$[M].selected=!0,W&&($[M].defaultSelected=!0);return}U!==null||$[M].disabled||(U=$[M])}U!==null&&(U.selected=!0)}}function uU($,U){for($=0;$<tT.length;$++){var Q=tT[$];if(U[Q]!=null){var W=Q6(U[Q]);U.multiple&&!W?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,$U()):!U.multiple&&W&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Q,$U())}}U.value===void 0||U.defaultValue===void 0||rT||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),rT=!0)}function bU($,U){U.value===void 0||U.defaultValue===void 0||aT||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component"),aT=!0),U.children!=null&&U.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function hU($,U,Q){if(U!=null&&(U=""+Z$(U),U!==$.value&&($.value=U),Q==null)){$.defaultValue!==U&&($.defaultValue=U);return}$.defaultValue=Q!=null?""+Z$(Q):""}function cU($,U,Q,W){if(U==null){if(W!=null){if(Q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Q6(W)){if(1<W.length)throw Error("<textarea> can only have at most one child.");W=W[0]}Q=W}Q==null&&(Q=""),U=Q}Q=Z$(U),$.defaultValue=Q,W=$.textContent,W===Q&&W!==""&&W!==null&&($.value=W),HU($)}function pU($,U){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-U?pU($.children[0],U):$}function r$($){return" "+" ".repeat($)}function LU($){return"+ "+" ".repeat($)}function VU($){return"- "+" ".repeat($)}function mU($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function PU($,U){return sT.test($)?($=JSON.stringify($),$.length>U-2?8>U?'{"..."}':"{"+$.slice(0,U-7)+'..."}':"{"+$+"}"):$.length>U?5>U?'{"..."}':$.slice(0,U-3)+"...":$}function BU($,U,Q){var W=120-2*Q;if(U===null)return LU(Q)+PU($,W)+`
|
|
36
|
+
`;if(typeof U==="string"){for(var M=0;M<U.length&&M<$.length&&U.charCodeAt(M)===$.charCodeAt(M);M++);return M>W-8&&10<M&&($="..."+$.slice(M-8),U="..."+U.slice(M-8)),LU(Q)+PU($,W)+`
|
|
37
|
+
`+VU(Q)+PU(U,W)+`
|
|
38
|
+
`}return r$(Q)+PU($,W)+`
|
|
39
|
+
`}function gU($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(U,Q){return Q})}function EU($,U){switch(typeof $){case"string":return $=JSON.stringify($),$.length>U?5>U?'"..."':$.slice(0,U-4)+'..."':$;case"object":if($===null)return"null";if(Q6($))return"[...]";if($.$$typeof===D1)return(U=L0($.type))?"<"+U+">":"<...>";var Q=gU($);if(Q==="Object"){Q="",U-=2;for(var W in $)if($.hasOwnProperty(W)){var M=JSON.stringify(W);if(M!=='"'+W+'"'&&(W=M),U-=W.length-2,M=EU($[W],15>U?U:15),U-=M.length,0>U){Q+=Q===""?"...":", ...";break}Q+=(Q===""?"":",")+W+":"+M}return"{"+Q+"}"}return Q;case"function":return(U=$.displayName||$.name)?"function "+U:"function";default:return String($)}}function MU($,U){return typeof $!=="string"||sT.test($)?"{"+EU($,U-2)+"}":$.length>U-2?5>U?'"..."':'"'+$.slice(0,U-5)+'..."':'"'+$+'"'}function VX($,U,Q){var W=120-Q.length-$.length,M=[],R;for(R in U)if(U.hasOwnProperty(R)&&R!=="children"){var k=MU(U[R],120-Q.length-R.length-1);W-=R.length+k.length+2,M.push(R+"="+k)}return M.length===0?Q+"<"+$+`>
|
|
40
|
+
`:0<W?Q+"<"+$+" "+M.join(" ")+`>
|
|
41
|
+
`:Q+"<"+$+`
|
|
42
|
+
`+Q+" "+M.join(`
|
|
43
|
+
`+Q+" ")+`
|
|
44
|
+
`+Q+`>
|
|
45
|
+
`}function KY($,U,Q){var W="",M=y$({},U),R;for(R in $)if($.hasOwnProperty(R)){delete M[R];var k=120-2*Q-R.length-2,f=EU($[R],k);U.hasOwnProperty(R)?(k=EU(U[R],k),W+=LU(Q)+R+": "+f+`
|
|
46
|
+
`,W+=VU(Q)+R+": "+k+`
|
|
47
|
+
`):W+=LU(Q)+R+": "+f+`
|
|
48
|
+
`}for(var l in M)M.hasOwnProperty(l)&&($=EU(M[l],120-2*Q-l.length-2),W+=VU(Q)+l+": "+$+`
|
|
49
|
+
`);return W}function VY($,U,Q,W){var M="",R=new Map;for(o in Q)Q.hasOwnProperty(o)&&R.set(o.toLowerCase(),o);if(R.size===1&&R.has("children"))M+=VX($,U,r$(W));else{for(var k in U)if(U.hasOwnProperty(k)&&k!=="children"){var f=120-2*(W+1)-k.length-1,l=R.get(k.toLowerCase());if(l!==void 0){R.delete(k.toLowerCase());var o=U[k];l=Q[l];var T0=MU(o,f);f=MU(l,f),typeof o==="object"&&o!==null&&typeof l==="object"&&l!==null&&gU(o)==="Object"&&gU(l)==="Object"&&(2<Object.keys(o).length||2<Object.keys(l).length||-1<T0.indexOf("...")||-1<f.indexOf("..."))?M+=r$(W+1)+k+`={{
|
|
50
|
+
`+KY(o,l,W+2)+r$(W+1)+`}}
|
|
51
|
+
`:(M+=LU(W+1)+k+"="+T0+`
|
|
52
|
+
`,M+=VU(W+1)+k+"="+f+`
|
|
53
|
+
`)}else M+=r$(W+1)+k+"="+MU(U[k],f)+`
|
|
54
|
+
`}R.forEach(function(R0){if(R0!=="children"){var D0=120-2*(W+1)-R0.length-1;M+=VU(W+1)+R0+"="+MU(Q[R0],D0)+`
|
|
55
|
+
`}}),M=M===""?r$(W)+"<"+$+`>
|
|
56
|
+
`:r$(W)+"<"+$+`
|
|
57
|
+
`+M+r$(W)+`>
|
|
58
|
+
`}if($=Q.children,U=U.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(R="",typeof U==="string"||typeof U==="number"||typeof U==="bigint")R=""+U;M+=BU(R,""+$,W+1)}else if(typeof U==="string"||typeof U==="number"||typeof U==="bigint")M=$==null?M+BU(""+U,null,W+1):M+BU(""+U,void 0,W+1);return M}function o7($,U){var Q=mU($);if(Q===null){Q="";for($=$.child;$;)Q+=o7($,U),$=$.sibling;return Q}return r$(U)+"<"+Q+`>
|
|
59
|
+
`}function IV($,U){var Q=pU($,U);if(Q!==$&&($.children.length!==1||$.children[0]!==Q))return r$(U)+`...
|
|
60
|
+
`+IV(Q,U+1);Q="";var W=$.fiber._debugInfo;if(W)for(var M=0;M<W.length;M++){var R=W[M].name;typeof R==="string"&&(Q+=r$(U)+"<"+R+`>
|
|
61
|
+
`,U++)}if(W="",M=$.fiber.pendingProps,$.fiber.tag===6)W=BU(M,$.serverProps,U),U++;else if(R=mU($.fiber),R!==null)if($.serverProps===void 0){W=U;var k=120-2*W-R.length-2,f="";for(o in M)if(M.hasOwnProperty(o)&&o!=="children"){var l=MU(M[o],15);if(k-=o.length+l.length+2,0>k){f+=" ...";break}f+=" "+o+"="+l}W=r$(W)+"<"+R+f+`>
|
|
62
|
+
`,U++}else $.serverProps===null?(W=VX(R,M,LU(U)),U++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(W=VY(R,M,$.serverProps,U),U++);var o="";M=$.fiber.child;for(R=0;M&&R<$.children.length;)k=$.children[R],k.fiber===M?(o+=IV(k,U),R++):o+=o7(M,U),M=M.sibling;M&&0<$.children.length&&(o+=r$(U)+`...
|
|
63
|
+
`),M=$.serverTail,$.serverProps===null&&U--;for($=0;$<M.length;$++)R=M[$],o=typeof R==="string"?o+(VU(U)+PU(R,120-2*U)+`
|
|
64
|
+
`):o+VX(R.type,R.props,VU(U));return Q+W+o}function XV($){try{return`
|
|
65
|
+
|
|
66
|
+
`+IV($,0)}catch(U){return""}}function i7($,U,Q){for(var W=U,M=null,R=0;W;)W===$&&(R=0),M={fiber:W,children:M!==null?[M]:[],serverProps:W===U?Q:W===$?null:void 0,serverTail:[],distanceFromLeaf:R},R++,W=W.return;return M!==null?XV(M).replaceAll(/^[+-]/gm,">"):""}function r7($,U){var Q=y$({},$||$R),W={tag:U};if(eT.indexOf(U)!==-1&&(Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null),w3.indexOf(U)!==-1&&(Q.pTagInButtonScope=null),x3.indexOf(U)!==-1&&U!=="address"&&U!=="div"&&U!=="p"&&(Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null),Q.current=W,U==="form"&&(Q.formTag=W),U==="a"&&(Q.aTagInScope=W),U==="button"&&(Q.buttonTagInScope=W),U==="nobr"&&(Q.nobrTagInScope=W),U==="p"&&(Q.pTagInButtonScope=W),U==="li"&&(Q.listItemTagAutoclosing=W),U==="dd"||U==="dt")Q.dlItemTagAutoclosing=W;return U==="#document"||U==="html"?Q.containerTagInScope=null:Q.containerTagInScope||(Q.containerTagInScope=W),$!==null||U!=="#document"&&U!=="html"&&U!=="body"?Q.implicitRootScope===!0&&(Q.implicitRootScope=!1):Q.implicitRootScope=!0,Q}function t7($,U,Q){switch(U){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(Q)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!Q)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U!=="h1"&&U!=="h2"&&U!=="h3"&&U!=="h4"&&U!=="h5"&&U!=="h6";case"rp":case"rt":return f3.indexOf(U)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return U==null;case"head":return Q||U===null;case"html":return Q&&U==="#document"||U===null;case"body":return Q&&(U==="#document"||U==="html")||U===null}return!0}function NB($,U){switch($){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U.pTagInButtonScope;case"form":return U.formTag||U.pTagInButtonScope;case"li":return U.listItemTagAutoclosing;case"dd":case"dt":return U.dlItemTagAutoclosing;case"button":return U.buttonTagInScope;case"a":return U.aTagInScope;case"nobr":return U.nobrTagInScope}return null}function a7($,U){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===U)return $}$=$.return}return null}function JV($,U){U=U||$R;var Q=U.current;if(U=(Q=t7($,Q&&Q.tag,U.implicitRootScope)?null:Q)?null:NB($,U),U=Q||U,!U)return!0;var W=U.tag;if(U=String(!!Q)+"|"+$+"|"+W,$Z[U])return!1;$Z[U]=!0;var M=(U=G4)?a7(U.return,W):null,R=U!==null&&M!==null?i7(M,U,null):"",k="<"+$+">";return Q?(Q="",W==="table"&&$==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,k,W,Q,R)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,k,W,R),U&&($=U.return,M===null||$===null||M===$&&$._debugOwner===U._debugOwner||J0(M,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,W,k)})),!1}function m2($,U,Q){if(Q||t7("#text",U,!1))return!0;if(Q="#text|"+U,$Z[Q])return!1;$Z[Q]=!0;var W=(Q=G4)?a7(Q,U):null;return Q=Q!==null&&W!==null?i7(W,Q,Q.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,U,Q):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
+
This will cause a hydration error.%s`,U,Q),!1}function DY($,U){if(U){var Q=$.firstChild;if(Q&&Q===$.lastChild&&Q.nodeType===3){Q.nodeValue=U;return}}$.textContent=U}function kB($){return $.replace(b3,function(U,Q){return Q.toUpperCase()})}function s7($,U,Q){var W=U.indexOf("--")===0;W||(-1<U.indexOf("-")?yJ.hasOwnProperty(U)&&yJ[U]||(yJ[U]=!0,console.error("Unsupported style property %s. Did you mean %s?",U,kB(U.replace(u3,"ms-")))):y3.test(U)?yJ.hasOwnProperty(U)&&yJ[U]||(yJ[U]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",U,U.charAt(0).toUpperCase()+U.slice(1))):!XR.test(Q)||AD.hasOwnProperty(Q)&&AD[Q]||(AD[Q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,U,Q.replace(XR,""))),typeof Q==="number"&&(isNaN(Q)?JR||(JR=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",U)):isFinite(Q)||QR||(QR=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",U)))),Q==null||typeof Q==="boolean"||Q===""?W?$.setProperty(U,""):U==="float"?$.cssFloat="":$[U]="":W?$.setProperty(U,Q):typeof Q!=="number"||Q===0||YR.has(U)?U==="float"?$.cssFloat=Q:(H0(Q,U),$[U]=(""+Q).trim()):$[U]=Q+"px"}function e7($,U,Q){if(U!=null&&typeof U!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(U&&Object.freeze(U),$=$.style,Q!=null){if(U){var W={};if(Q){for(var M in Q)if(Q.hasOwnProperty(M)&&!U.hasOwnProperty(M))for(var R=MD[M]||[M],k=0;k<R.length;k++)W[R[k]]=M}for(var f in U)if(U.hasOwnProperty(f)&&(!Q||Q[f]!==U[f]))for(M=MD[f]||[f],R=0;R<M.length;R++)W[M[R]]=f;f={};for(var l in U)for(M=MD[l]||[l],R=0;R<M.length;R++)f[M[R]]=l;l={};for(var o in W)if(M=W[o],(R=f[o])&&M!==R&&(k=M+","+R,!l[k])){l[k]=!0,k=console;var T0=U[M];k.error.call(k,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",T0==null||typeof T0==="boolean"||T0===""?"Removing":"Updating",M,R)}}for(var R0 in Q)!Q.hasOwnProperty(R0)||U!=null&&U.hasOwnProperty(R0)||(R0.indexOf("--")===0?$.setProperty(R0,""):R0==="float"?$.cssFloat="":$[R0]="");for(var D0 in U)o=U[D0],U.hasOwnProperty(D0)&&Q[D0]!==o&&s7($,D0,o)}else for(W in U)U.hasOwnProperty(W)&&s7($,W,U[W])}function WY($){if($.indexOf("-")===-1)return!1;switch($){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function $A($){return h3.get($)||$}function gB($,U){if(h4.call(bJ,U)&&bJ[U])return!0;if(p3.test(U)){if($="aria-"+U.slice(4).toLowerCase(),$=GR.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",U),bJ[U]=!0;if(U!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",U,$),bJ[U]=!0}if(c3.test(U)){if($=U.toLowerCase(),$=GR.hasOwnProperty($)?$:null,$==null)return bJ[U]=!0,!1;U!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",U,$),bJ[U]=!0)}return!0}function xB($,U){var Q=[],W;for(W in U)gB($,W)||Q.push(W);U=Q.map(function(M){return"`"+M+"`"}).join(", "),Q.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$):1<Q.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$)}function wB($,U,Q,W){if(h4.call(S6,U)&&S6[U])return!0;var M=U.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),S6[U]=!0;if(typeof Q==="function"&&($==="form"&&U==="action"||$==="input"&&U==="formAction"||$==="button"&&U==="formAction"))return!0;if(W!=null){if($=W.possibleRegistrationNames,W.registrationNameDependencies.hasOwnProperty(U))return!0;if(W=$.hasOwnProperty(M)?$[M]:null,W!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",U,W),S6[U]=!0;if(ZR.test(U))return console.error("Unknown event handler property `%s`. It will be ignored.",U),S6[U]=!0}else if(ZR.test(U))return m3.test(U)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",U),S6[U]=!0;if(l3.test(U)||d3.test(U))return!0;if(M==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),S6[U]=!0;if(M==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),S6[U]=!0;if(M==="is"&&Q!==null&&Q!==void 0&&typeof Q!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Q),S6[U]=!0;if(typeof Q==="number"&&isNaN(Q))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",U),S6[U]=!0;if(IZ.hasOwnProperty(M)){if(M=IZ[M],M!==U)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",U,M),S6[U]=!0}else if(U!==M)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",U,M),S6[U]=!0;switch(U){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof Q){case"boolean":switch(U){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(M=U.toLowerCase().slice(0,5),M==="data-"||M==="aria-")return!0;return Q?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',Q,U,U,Q,U):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Q,U,U,Q,U,U,U),S6[U]=!0}case"function":case"symbol":return S6[U]=!0,!1;case"string":if(Q==="false"||Q==="true"){switch(U){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Q,U,Q==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',U,Q),S6[U]=!0}}return!0}function fB($,U,Q){var W=[],M;for(M in U)wB($,M,U[M],Q)||W.push(M);U=W.map(function(R){return"`"+R+"`"}).join(", "),W.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$):1<W.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$)}function FY($){return n3.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function x1(){}function QV($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function UA($){var U=F$($);if(U&&($=U.stateNode)){var Q=$[_6]||null;$:switch($=U.stateNode,U.type){case"input":if(e0($,Q.value,Q.defaultValue,Q.defaultValue,Q.checked,Q.defaultChecked,Q.type,Q.name),U=Q.name,Q.type==="radio"&&U!=null){for(Q=$;Q.parentNode;)Q=Q.parentNode;n(U,"name"),Q=Q.querySelectorAll('input[name="'+e$(""+U)+'"][type="radio"]');for(U=0;U<Q.length;U++){var W=Q[U];if(W!==$&&W.form===$.form){var M=W[_6]||null;if(!M)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");e0(W,M.value,M.defaultValue,M.defaultValue,M.checked,M.defaultChecked,M.type,M.name)}}for(U=0;U<Q.length;U++)W=Q[U],W.form===$.form&&I$(W)}break $;case"textarea":hU($,Q.value,Q.defaultValue);break $;case"select":U=Q.value,U!=null&&d$($,!!Q.multiple,U,!1)}}}function IA($,U,Q){if(qD)return $(U,Q);qD=!0;try{var W=$(U);return W}finally{if(qD=!1,hJ!==null||cJ!==null){if(SJ(),hJ&&(U=hJ,$=cJ,cJ=hJ=null,UA(U),$))for(U=0;U<$.length;U++)UA($[U])}}}function HY($,U){var Q=$.stateNode;if(Q===null)return null;var W=Q[_6]||null;if(W===null)return null;Q=W[U];$:switch(U){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(W=!W.disabled)||($=$.type,W=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!W;break $;default:$=!1}if($)return null;if(Q&&typeof Q!=="function")throw Error("Expected `"+U+"` listener to be a function, instead got a value of `"+typeof Q+"` type.");return Q}function XA(){if(XZ)return XZ;var $,U=TD,Q=U.length,W,M="value"in jI?jI.value:jI.textContent,R=M.length;for($=0;$<Q&&U[$]===M[$];$++);var k=Q-$;for(W=1;W<=k&&U[Q-W]===M[R-W];W++);return XZ=M.slice($,1<W?1-W:void 0)}function l2($){var U=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&U===13&&($=13)):$=U,$===10&&($=13),32<=$||$===13?$:0}function d2(){return!0}function JA(){return!1}function c6($){function U(Q,W,M,R,k){this._reactName=Q,this._targetInst=M,this.type=W,this.nativeEvent=R,this.target=k,this.currentTarget=null;for(var f in $)$.hasOwnProperty(f)&&(Q=$[f],this[f]=Q?Q(R):R[f]);return this.isDefaultPrevented=(R.defaultPrevented!=null?R.defaultPrevented:R.returnValue===!1)?d2:JA,this.isPropagationStopped=JA,this}return y$(U.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Q=this.nativeEvent;Q&&(Q.preventDefault?Q.preventDefault():typeof Q.returnValue!=="unknown"&&(Q.returnValue=!1),this.isDefaultPrevented=d2)},stopPropagation:function(){var Q=this.nativeEvent;Q&&(Q.stopPropagation?Q.stopPropagation():typeof Q.cancelBubble!=="unknown"&&(Q.cancelBubble=!0),this.isPropagationStopped=d2)},persist:function(){},isPersistent:d2}),U}function yB($){var U=this.nativeEvent;return U.getModifierState?U.getModifierState($):($=Qk[$])?!!U[$]:!1}function YV(){return yB}function QA($,U){switch($){case"keyup":return Lk.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==DR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function YA($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function uB($,U){switch($){case"compositionend":return YA(U);case"keypress":if(U.which!==FR)return null;return LR=!0,HR;case"textInput":return $=U.data,$===HR&&LR?null:$;default:return null}}function bB($,U){if(pJ)return $==="compositionend"||!_D&&QA($,U)?($=XA(),XZ=TD=jI=null,pJ=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(U.ctrlKey||U.altKey||U.metaKey)||U.ctrlKey&&U.altKey){if(U.char&&1<U.char.length)return U.char;if(U.which)return String.fromCharCode(U.which)}return null;case"compositionend":return WR&&U.locale!=="ko"?null:U.data;default:return null}}function GA($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U==="input"?!!Ak[$.type]:U==="textarea"?!0:!1}function hB($){if(!A1)return!1;$="on"+$;var U=$ in document;return U||(U=document.createElement("div"),U.setAttribute($,"return;"),U=typeof U[$]==="function"),U}function OA($,U,Q,W){hJ?cJ?cJ.push(W):cJ=[W]:hJ=W,U=yO(U,"onChange"),0<U.length&&(Q=new JZ("onChange","change",null,Q,W),$.push({event:Q,listeners:U}))}function cB($){lC($,0)}function n2($){var U=g0($);if(I$(U))return $}function ZA($,U){if($==="change")return U}function zA(){UG&&(UG.detachEvent("onpropertychange",KA),IG=UG=null)}function KA($){if($.propertyName==="value"&&n2(IG)){var U=[];OA(U,IG,$,QV($)),IA(cB,U)}}function pB($,U,Q){$==="focusin"?(zA(),UG=U,IG=Q,UG.attachEvent("onpropertychange",KA)):$==="focusout"&&zA()}function mB($){if($==="selectionchange"||$==="keyup"||$==="keydown")return n2(IG)}function lB($,U){if($==="click")return n2(U)}function dB($,U){if($==="input"||$==="change")return n2(U)}function nB($,U){return $===U&&($!==0||1/$===1/U)||$!==$&&U!==U}function LY($,U){if(j6($,U))return!0;if(typeof $!=="object"||$===null||typeof U!=="object"||U===null)return!1;var Q=Object.keys($),W=Object.keys(U);if(Q.length!==W.length)return!1;for(W=0;W<Q.length;W++){var M=Q[W];if(!h4.call(U,M)||!j6($[M],U[M]))return!1}return!0}function VA($){for(;$&&$.firstChild;)$=$.firstChild;return $}function DA($,U){var Q=VA($);$=0;for(var W;Q;){if(Q.nodeType===3){if(W=$+Q.textContent.length,$<=U&&W>=U)return{node:Q,offset:U-$};$=W}$:{for(;Q;){if(Q.nextSibling){Q=Q.nextSibling;break $}Q=Q.parentNode}Q=void 0}Q=VA(Q)}}function WA($,U){return $&&U?$===U?!0:$&&$.nodeType===3?!1:U&&U.nodeType===3?WA($,U.parentNode):("contains"in $)?$.contains(U):$.compareDocumentPosition?!!($.compareDocumentPosition(U)&16):!1:!1}function FA($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var U=$$($.document);U instanceof $.HTMLIFrameElement;){try{var Q=typeof U.contentWindow.location.href==="string"}catch(W){Q=!1}if(Q)$=U.contentWindow;else break;U=$$($.document)}return U}function GV($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U&&(U==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||U==="textarea"||$.contentEditable==="true")}function HA($,U,Q){var W=Q.window===Q?Q.document:Q.nodeType===9?Q:Q.ownerDocument;jD||mJ==null||mJ!==$$(W)||(W=mJ,("selectionStart"in W)&&GV(W)?W={start:W.selectionStart,end:W.selectionEnd}:(W=(W.ownerDocument&&W.ownerDocument.defaultView||window).getSelection(),W={anchorNode:W.anchorNode,anchorOffset:W.anchorOffset,focusNode:W.focusNode,focusOffset:W.focusOffset}),XG&&LY(XG,W)||(XG=W,W=yO(SD,"onSelect"),0<W.length&&(U=new JZ("onSelect","select",null,U,Q),$.push({event:U,listeners:W}),U.target=mJ)))}function DX($,U){var Q={};return Q[$.toLowerCase()]=U.toLowerCase(),Q["Webkit"+$]="webkit"+U,Q["Moz"+$]="moz"+U,Q}function WX($){if(vD[$])return vD[$];if(!lJ[$])return $;var U=lJ[$],Q;for(Q in U)if(U.hasOwnProperty(Q)&&Q in AR)return vD[$]=U[Q];return $}function y4($,U){PR.set($,U),n0(U,[$])}function oB($){for(var U=YZ,Q=0;Q<$.length;Q++){var W=$[Q];if(typeof W==="object"&&W!==null)if(Q6(W)&&W.length===2&&typeof W[0]==="string"){if(U!==YZ&&U!==xD)return kD;U=xD}else return kD;else{if(typeof W==="function"||typeof W==="string"&&50<W.length||U!==YZ&&U!==gD)return kD;U=gD}}return U}function OV($,U,Q,W){for(var M in $)h4.call($,M)&&M[0]!=="_"&&a4(M,$[M],U,Q,W)}function a4($,U,Q,W,M){switch(typeof U){case"object":if(U===null){U="null";break}else{if(U.$$typeof===D1){var R=L0(U.type)||"…",k=U.key;U=U.props;var f=Object.keys(U),l=f.length;if(k==null&&l===0){U="<"+R+" />";break}if(3>W||l===1&&f[0]==="children"&&k==null){U="<"+R+" … />";break}Q.push([M+" ".repeat(W)+$,"<"+R]),k!==null&&a4("key",k,Q,W+1,M),$=!1;for(var o in U)o==="children"?U.children!=null&&(!Q6(U.children)||0<U.children.length)&&($=!0):h4.call(U,o)&&o[0]!=="_"&&a4(o,U[o],Q,W+1,M);Q.push(["",$?">…</"+R+">":"/>"]);return}if(R=Object.prototype.toString.call(U),R=R.slice(8,R.length-1),R==="Array"){if(o=oB(U),o===gD||o===YZ){U=JSON.stringify(U);break}else if(o===xD){Q.push([M+" ".repeat(W)+$,""]);for($=0;$<U.length;$++)R=U[$],a4(R[0],R[1],Q,W+1,M);return}}if(R==="Promise"){if(U.status==="fulfilled"){if(R=Q.length,a4($,U.value,Q,W,M),Q.length>R){Q=Q[R],Q[1]="Promise<"+(Q[1]||"Object")+">";return}}else if(U.status==="rejected"&&(R=Q.length,a4($,U.reason,Q,W,M),Q.length>R)){Q=Q[R],Q[1]="Rejected Promise<"+Q[1]+">";return}Q.push([" ".repeat(W)+$,"Promise"]);return}R==="Object"&&(o=Object.getPrototypeOf(U))&&typeof o.constructor==="function"&&(R=o.constructor.name),Q.push([M+" ".repeat(W)+$,R==="Object"?3>W?"":"…":R]),3>W&&OV(U,Q,W+1,M);return}case"function":U=U.name===""?"() => {}":U.name+"() {}";break;case"string":U=U===_k?"…":JSON.stringify(U);break;case"undefined":U="undefined";break;case"boolean":U=U?"true":"false";break;default:U=String(U)}Q.push([M+" ".repeat(W)+$,U])}function LA($,U,Q,W){var M=!0;for(k in $)k in U||(Q.push([GZ+" ".repeat(W)+k,"…"]),M=!1);for(var R in U)if(R in $){var k=$[R],f=U[R];if(k!==f){if(W===0&&R==="children")M=" ".repeat(W)+R,Q.push([GZ+M,"…"],[OZ+M,"…"]);else{if(!(3<=W)){if(typeof k==="object"&&typeof f==="object"&&k!==null&&f!==null&&k.$$typeof===f.$$typeof)if(f.$$typeof===D1){if(k.type===f.type&&k.key===f.key){k=L0(f.type)||"…",M=" ".repeat(W)+R,k="<"+k+" … />",Q.push([GZ+M,k],[OZ+M,k]),M=!1;continue}}else{var l=Object.prototype.toString.call(k),o=Object.prototype.toString.call(f);if(l===o&&(o==="[object Object]"||o==="[object Array]")){l=[SR+" ".repeat(W)+R,o==="[object Array]"?"Array":""],Q.push(l),o=Q.length,LA(k,f,Q,W+1)?o===Q.length&&(l[1]="Referentially unequal but deeply equal objects. Consider memoization."):M=!1;continue}}else if(typeof k==="function"&&typeof f==="function"&&k.name===f.name&&k.length===f.length&&(l=Function.prototype.toString.call(k),o=Function.prototype.toString.call(f),l===o)){k=f.name===""?"() => {}":f.name+"() {}",Q.push([SR+" ".repeat(W)+R,k+" Referentially unequal function closure. Consider memoization."]);continue}}a4(R,k,Q,W,GZ),a4(R,f,Q,W,OZ)}M=!1}}else Q.push([OZ+" ".repeat(W)+R,"…"]),M=!1;return M}function e6($){b$=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function s4($,U,Q,W){AU&&(BI.start=U,BI.end=Q,m1.color="warning",m1.tooltipText=W,m1.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,W,BI)):performance.measure(W,BI))}function o2($,U,Q){s4($,U,Q,"Reconnect")}function i2($,U,Q,W,M){var R=t($);if(R!==null&&AU){var{alternate:k,actualDuration:f}=$;if(k===null||k.child!==$.child)for(var l=$.child;l!==null;l=l.sibling)f-=l.actualDuration;W=0.5>f?W?"tertiary-light":"primary-light":10>f?W?"tertiary":"primary":100>f?W?"tertiary-dark":"primary-dark":"error";var o=$.memoizedProps;f=$._debugTask,o!==null&&k!==null&&k.memoizedProps!==o?(l=[Sk],o=LA(k.memoizedProps,o,l,0),1<l.length&&(o&&!vI&&(k.lanes&M)===0&&100<$.actualDuration?(vI=!0,l[0]=jk,m1.color="warning",m1.tooltipText=jR):(m1.color=W,m1.tooltipText=R),m1.properties=l,BI.start=U,BI.end=Q,f!=null?f.run(performance.measure.bind(performance,""+R,BI)):performance.measure(""+R,BI))):f!=null?f.run(console.timeStamp.bind(console,R,U,Q,T4,void 0,W)):console.timeStamp(R,U,Q,T4,void 0,W)}}function ZV($,U,Q,W){if(AU){var M=t($);if(M!==null){for(var R=null,k=[],f=0;f<W.length;f++){var l=W[f];R==null&&l.source!==null&&(R=l.source._debugTask),l=l.value,k.push(["Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$.key!==null&&a4("key",$.key,k,0,""),$.memoizedProps!==null&&OV($.memoizedProps,k,0,""),R==null&&(R=$._debugTask),$={start:U,end:Q,detail:{devtools:{color:"error",track:T4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:k}}},R?R.run(performance.measure.bind(performance,""+M,$)):performance.measure(""+M,$)}}}function e4($,U,Q,W,M){if(M!==null){if(AU){var R=t($);if(R!==null){W=[];for(var k=0;k<M.length;k++){var f=M[k].value;W.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$.key!==null&&a4("key",$.key,W,0,""),$.memoizedProps!==null&&OV($.memoizedProps,W,0,""),U={start:U,end:Q,detail:{devtools:{color:"error",track:T4,tooltipText:"A lifecycle or effect errored",properties:W}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+R,U)):performance.measure(""+R,U)}}}else R=t($),R!==null&&AU&&(M=1>W?"secondary-light":100>W?"secondary":500>W?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,R,U,Q,T4,void 0,M)):console.timeStamp(R,U,Q,T4,void 0,M))}function iB($,U,Q,W){if(AU&&!(U<=$)){var M=(Q&738197653)===Q?"tertiary-dark":"primary-dark";Q=(Q&536870912)===Q?"Prepared":(Q&201326741)===Q?"Hydrated":"Render",W?W.run(console.timeStamp.bind(console,Q,$,U,b$,u$,M)):console.timeStamp(Q,$,U,b$,u$,M)}}function MA($,U,Q,W){!AU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",W?W.run(console.timeStamp.bind(console,"Prewarm",$,U,b$,u$,Q)):console.timeStamp("Prewarm",$,U,b$,u$,Q))}function AA($,U,Q,W){!AU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",W?W.run(console.timeStamp.bind(console,"Suspended",$,U,b$,u$,Q)):console.timeStamp("Suspended",$,U,b$,u$,Q))}function rB($,U,Q,W,M,R){if(AU&&!(U<=$)){Q=[];for(var k=0;k<W.length;k++){var f=W[k].value;Q.push(["Recoverable Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"primary-dark",track:b$,trackGroup:u$,tooltipText:M?"Hydration Failed":"Recovered after Error",properties:Q}}},R?R.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function zV($,U,Q,W){!AU||U<=$||(W?W.run(console.timeStamp.bind(console,"Errored",$,U,b$,u$,"error")):console.timeStamp("Errored",$,U,b$,u$,"error"))}function tB($,U,Q,W){!AU||U<=$||(W?W.run(console.timeStamp.bind(console,Q,$,U,b$,u$,"secondary-light")):console.timeStamp(Q,$,U,b$,u$,"secondary-light"))}function qA($,U,Q,W,M){if(AU&&!(U<=$)){for(var R=[],k=0;k<Q.length;k++){var f=Q[k].value;R.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"error",track:b$,trackGroup:u$,tooltipText:W?"Remaining Effects Errored":"Commit Errored",properties:R}}},M?M.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function MY($,U,Q){!AU||U<=$||(Q?Q.run(console.timeStamp.bind(console,"Animating",$,U,b$,u$,"secondary-dark")):console.timeStamp("Animating",$,U,b$,u$,"secondary-dark"))}function r2(){for(var $=dJ,U=wD=dJ=0;U<$;){var Q=R4[U];R4[U++]=null;var W=R4[U];R4[U++]=null;var M=R4[U];R4[U++]=null;var R=R4[U];if(R4[U++]=null,W!==null&&M!==null){var k=W.pending;k===null?M.next=M:(M.next=k.next,k.next=M),W.pending=M}R!==0&&CA(Q,M,R)}}function t2($,U,Q,W){R4[dJ++]=$,R4[dJ++]=U,R4[dJ++]=Q,R4[dJ++]=W,wD|=W,$.lanes|=W,$=$.alternate,$!==null&&($.lanes|=W)}function KV($,U,Q,W){return t2($,U,Q,W),a2($)}function q6($,U){return t2($,null,null,U),a2($)}function CA($,U,Q){$.lanes|=Q;var W=$.alternate;W!==null&&(W.lanes|=Q);for(var M=!1,R=$.return;R!==null;)R.childLanes|=Q,W=R.alternate,W!==null&&(W.childLanes|=Q),R.tag===22&&($=R.stateNode,$===null||$._visibility&JG||(M=!0)),$=R,R=R.return;return $.tag===3?(R=$.stateNode,M&&U!==null&&(M=31-E6(Q),$=R.hiddenUpdates,W=$[M],W===null?$[M]=[U]:W.push(U),U.lane=Q|536870912),R):null}function a2($){if(NG>mk)throw mX=NG=0,kG=WW=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.");mX>lk&&(mX=0,kG=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.")),$.alternate===null&&($.flags&4098)!==0&&yC($);for(var U=$,Q=U.return;Q!==null;)U.alternate===null&&(U.flags&4098)!==0&&yC($),U=Q,Q=U.return;return U.tag===3?U.stateNode:null}function FX($){if(P4===null)return $;var U=P4($);return U===void 0?$:U.current}function VV($){if(P4===null)return $;var U=P4($);return U===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(U=FX($.render),$.render!==U)?(U={$$typeof:nY,render:U},$.displayName!==void 0&&(U.displayName=$.displayName),U):$:U.current}function TA($,U){if(P4===null)return!1;var Q=$.elementType;U=U.type;var W=!1,M=typeof U==="object"&&U!==null?U.$$typeof:null;switch($.tag){case 1:typeof U==="function"&&(W=!0);break;case 0:typeof U==="function"?W=!0:M===Y4&&(W=!0);break;case 11:M===nY?W=!0:M===Y4&&(W=!0);break;case 14:case 15:M===iO?W=!0:M===Y4&&(W=!0);break;default:return!1}return W&&($=P4(Q),$!==void 0&&$===P4(U))?!0:!1}function RA($){P4!==null&&typeof WeakSet==="function"&&(nJ===null&&(nJ=new WeakSet),nJ.add($))}function PA($,U,Q){do{var W=$,M=W.alternate,R=W.child,k=W.sibling,f=W.tag;W=W.type;var l=null;switch(f){case 0:case 15:case 1:l=W;break;case 11:l=W.render}if(P4===null)throw Error("Expected resolveFamily to be set during hot reload.");var o=!1;if(W=!1,l!==null&&(l=P4(l),l!==void 0&&(Q.has(l)?W=!0:U.has(l)&&(f===1?W=!0:o=!0))),nJ!==null&&(nJ.has($)||M!==null&&nJ.has(M))&&(W=!0),W&&($._debugNeedsRemount=!0),W||o)M=q6($,2),M!==null&&xU(M,$,2);if(R===null||W||PA(R,U,Q),k===null)break;$=k}while(1)}function aB($,U,Q,W){this.tag=$,this.key=Q,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=U,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=W,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,vR||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function DV($){return $=$.prototype,!(!$||!$.isReactComponent)}function w1($,U){var Q=$.alternate;switch(Q===null?(Q=P($.tag,U,$.key,$.mode),Q.elementType=$.elementType,Q.type=$.type,Q.stateNode=$.stateNode,Q._debugOwner=$._debugOwner,Q._debugStack=$._debugStack,Q._debugTask=$._debugTask,Q._debugHookTypes=$._debugHookTypes,Q.alternate=$,$.alternate=Q):(Q.pendingProps=U,Q.type=$.type,Q.flags=0,Q.subtreeFlags=0,Q.deletions=null,Q.actualDuration=-0,Q.actualStartTime=-1.1),Q.flags=$.flags&65011712,Q.childLanes=$.childLanes,Q.lanes=$.lanes,Q.child=$.child,Q.memoizedProps=$.memoizedProps,Q.memoizedState=$.memoizedState,Q.updateQueue=$.updateQueue,U=$.dependencies,Q.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},Q.sibling=$.sibling,Q.index=$.index,Q.ref=$.ref,Q.refCleanup=$.refCleanup,Q.selfBaseDuration=$.selfBaseDuration,Q.treeBaseDuration=$.treeBaseDuration,Q._debugInfo=$._debugInfo,Q._debugNeedsRemount=$._debugNeedsRemount,Q.tag){case 0:case 15:Q.type=FX($.type);break;case 1:Q.type=FX($.type);break;case 11:Q.type=VV($.type)}return Q}function EA($,U){$.flags&=65011714;var Q=$.alternate;return Q===null?($.childLanes=0,$.lanes=U,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=Q.childLanes,$.lanes=Q.lanes,$.child=Q.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=Q.memoizedProps,$.memoizedState=Q.memoizedState,$.updateQueue=Q.updateQueue,$.type=Q.type,U=Q.dependencies,$.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},$.selfBaseDuration=Q.selfBaseDuration,$.treeBaseDuration=Q.treeBaseDuration),$}function WV($,U,Q,W,M,R){var k=0,f=$;if(typeof $==="function")DV($)&&(k=1),f=FX(f);else if(typeof $==="string")k=T(),k=Y3($,Q,k)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case YD:return U=P(31,Q,U,M),U.elementType=YD,U.lanes=R,U;case xJ:return HX(Q.children,M,R,U);case oO:k=8,M|=T6,M|=p4;break;case ID:return $=Q,W=M,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),U=P(12,$,U,W|N$),U.elementType=ID,U.lanes=R,U.stateNode={effectDuration:0,passiveEffectDuration:0},U;case JD:return U=P(13,Q,U,M),U.elementType=JD,U.lanes=R,U;case QD:return U=P(19,Q,U,M),U.elementType=QD,U.lanes=R,U;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case W1:k=10;break $;case XD:k=9;break $;case nY:k=11,f=VV(f);break $;case iO:k=14;break $;case Y4:k=16,f=null;break $}if(f="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?Q="null":Q6($)?Q="array":$!==void 0&&$.$$typeof===D1?(Q="<"+(L0($.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof $,(k=W?E0(W):null)&&(f+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+k+"`."),k=29,Q=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Q+"."+f)),f=null}return U=P(k,Q,U,M),U.elementType=$,U.type=f,U.lanes=R,U._debugOwner=W,U}function s2($,U,Q){return U=WV($.type,$.key,$.props,$._owner,U,Q),U._debugOwner=$._owner,U._debugStack=$._debugStack,U._debugTask=$._debugTask,U}function HX($,U,Q,W){return $=P(7,$,W,U),$.lanes=Q,$}function FV($,U,Q){return $=P(6,$,null,U),$.lanes=Q,$}function _A($){var U=P(18,null,null,C$);return U.stateNode=$,U}function HV($,U,Q){return U=P(4,$.children!==null?$.children:[],$.key,U),U.lanes=Q,U.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},U}function $4($,U){if(typeof $==="object"&&$!==null){var Q=fD.get($);if(Q!==void 0)return Q;return U={value:$,source:U,stack:z0(U)},fD.set($,U),U}return{value:$,source:U,stack:z0(U)}}function f1($,U){VI(),oJ[iJ++]=QG,oJ[iJ++]=ZZ,ZZ=$,QG=U}function SA($,U,Q){VI(),E4[_4++]=d1,E4[_4++]=n1,E4[_4++]=vX,vX=$;var W=d1;$=n1;var M=32-E6(W)-1;W&=~(1<<M),Q+=1;var R=32-E6(U)+M;if(30<R){var k=M-M%5;R=(W&(1<<k)-1).toString(32),W>>=k,M-=k,d1=1<<32-E6(U)+M|Q<<M|W,n1=R+$}else d1=1<<R|Q<<M|W,n1=$}function LV($){VI(),$.return!==null&&(f1($,1),SA($,1,0))}function MV($){for(;$===ZZ;)ZZ=oJ[--iJ],oJ[iJ]=null,QG=oJ[--iJ],oJ[iJ]=null;for(;$===vX;)vX=E4[--_4],E4[_4]=null,n1=E4[--_4],E4[_4]=null,d1=E4[--_4],E4[_4]=null}function jA(){return VI(),vX!==null?{id:d1,overflow:n1}:null}function vA($,U){VI(),E4[_4++]=d1,E4[_4++]=n1,E4[_4++]=vX,d1=U.id,n1=U.overflow,vX=$}function VI(){p$||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function LX($,U){if($.return===null){if(Z4===null)Z4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U};else{if(Z4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Z4.distanceFromLeaf>U&&(Z4.distanceFromLeaf=U)}return Z4}var Q=LX($.return,U+1).children;if(0<Q.length&&Q[Q.length-1].fiber===$)return Q=Q[Q.length-1],Q.distanceFromLeaf>U&&(Q.distanceFromLeaf=U),Q;return U={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U},Q.push(U),U}function BA(){p$&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function e2($,U){q1||($=LX($,0),$.serverProps=null,U!==null&&(U=OT(U),$.serverTail.push(U)))}function DI($){var U=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Q="",W=Z4;throw W!==null&&(Z4=null,Q=XV(W)),AY($4(Error("Hydration failed because the server rendered "+(U?"text":"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:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+Q),$)),yD}function NA($){var{stateNode:U,type:Q,memoizedProps:W}=$;switch(U[L6]=$,U[_6]=W,u8(Q,W),Q){case"dialog":m$("cancel",U),m$("close",U);break;case"iframe":case"object":case"embed":m$("load",U);break;case"video":case"audio":for(Q=0;Q<gG.length;Q++)m$(gG[Q],U);break;case"source":m$("error",U);break;case"img":case"image":case"link":m$("error",U),m$("load",U);break;case"details":m$("toggle",U);break;case"input":KU("input",W),m$("invalid",U),X$(U,W),RU(U,W.value,W.defaultValue,W.checked,W.defaultChecked,W.type,W.name,!0);break;case"option":S$(U,W);break;case"select":KU("select",W),m$("invalid",U),uU(U,W);break;case"textarea":KU("textarea",W),m$("invalid",U),bU(U,W),cU(U,W.value,W.defaultValue,W.children)}Q=W.children,typeof Q!=="string"&&typeof Q!=="number"&&typeof Q!=="bigint"||U.textContent===""+Q||W.suppressHydrationWarning===!0||iC(U.textContent,Q)?(W.popover!=null&&(m$("beforetoggle",U),m$("toggle",U)),W.onScroll!=null&&m$("scroll",U),W.onScrollEnd!=null&&m$("scrollend",U),W.onClick!=null&&(U.onclick=x1),U=!0):U=!1,U||DI($,!0)}function kA($){for(M6=$.return;M6;)switch(M6.tag){case 5:case 31:case 13:S4=!1;return;case 27:case 3:S4=!0;return;default:M6=M6.return}}function MJ($){if($!==M6)return!1;if(!p$)return kA($),p$=!0,!1;var U=$.tag,Q;if(Q=U!==3&&U!==27){if(Q=U===5)Q=$.type,Q=!(Q!=="form"&&Q!=="button")||m8($.type,$.memoizedProps);Q=!Q}if(Q&&qU){for(Q=qU;Q;){var W=LX($,0),M=OT(Q);W.serverTail.push(M),Q=M.type==="Suspense"?o8(Q):Q4(Q.nextSibling)}DI($)}if(kA($),U===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qU=o8($)}else if(U===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qU=o8($)}else U===27?(U=qU,RI($.type)?($=_W,_W=null,qU=$):qU=U):qU=M6?Q4($.stateNode.nextSibling):null;return!0}function MX(){qU=M6=null,q1=p$=!1}function AV(){var $=kI;return $!==null&&(k6===null?k6=$:k6.push.apply(k6,$),kI=null),$}function AY($){kI===null?kI=[$]:kI.push($)}function qV(){var $=Z4;if($!==null){Z4=null;for(var U=XV($);0<$.children.length;)$=$.children[0];J0($.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:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",U)})}}function $O(){rJ=zZ=null,tJ=!1}function WI($,U,Q){D(uD,U._currentValue,$),U._currentValue=Q,D(bD,U._currentRenderer,$),U._currentRenderer!==void 0&&U._currentRenderer!==null&&U._currentRenderer!==NR&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),U._currentRenderer=NR}function y1($,U){$._currentValue=uD.current;var Q=bD.current;Y(bD,U),$._currentRenderer=Q,Y(uD,U)}function CV($,U,Q){for(;$!==null;){var W=$.alternate;if(($.childLanes&U)!==U?($.childLanes|=U,W!==null&&(W.childLanes|=U)):W!==null&&(W.childLanes&U)!==U&&(W.childLanes|=U),$===Q)break;$=$.return}$!==Q&&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 TV($,U,Q,W){var M=$.child;M!==null&&(M.return=$);for(;M!==null;){var R=M.dependencies;if(R!==null){var k=M.child;R=R.firstContext;$:for(;R!==null;){var f=R;R=M;for(var l=0;l<U.length;l++)if(f.context===U[l]){R.lanes|=Q,f=R.alternate,f!==null&&(f.lanes|=Q),CV(R.return,Q,$),W||(k=null);break $}R=f.next}}else if(M.tag===18){if(k=M.return,k===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");k.lanes|=Q,R=k.alternate,R!==null&&(R.lanes|=Q),CV(k,Q,$),k=null}else k=M.child;if(k!==null)k.return=M;else for(k=M;k!==null;){if(k===$){k=null;break}if(M=k.sibling,M!==null){M.return=k.return,k=M;break}k=k.return}M=k}}function AJ($,U,Q,W){$=null;for(var M=U,R=!1;M!==null;){if(!R){if((M.flags&524288)!==0)R=!0;else if((M.flags&262144)!==0)break}if(M.tag===10){var k=M.alternate;if(k===null)throw Error("Should have a current fiber. This is a bug in React.");if(k=k.memoizedProps,k!==null){var f=M.type;j6(M.pendingProps.value,k.value)||($!==null?$.push(f):$=[f])}}else if(M===rO.current){if(k=M.alternate,k===null)throw Error("Should have a current fiber. This is a bug in React.");k.memoizedState.memoizedState!==M.memoizedState.memoizedState&&($!==null?$.push(uG):$=[uG])}M=M.return}$!==null&&TV(U,$,Q,W),U.flags|=262144}function UO($){for($=$.firstContext;$!==null;){if(!j6($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function AX($){zZ=$,rJ=null,$=$.dependencies,$!==null&&($.firstContext=null)}function _U($){return tJ&&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()."),gA(zZ,$)}function IO($,U){return zZ===null&&AX($),gA($,U)}function gA($,U){var Q=U._currentValue;if(U={context:U,memoizedValue:Q,next:null},rJ===null){if($===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().");rJ=U,$.dependencies={lanes:0,firstContext:U,_debugThenableState:null},$.flags|=524288}else rJ=rJ.next=U;return Q}function RV(){return{controller:new Nk,data:new Map,refCount:0}}function qX($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function qY($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&kk(gk,function(){$.controller.abort()})}function $1($,U,Q){if(($&127)!==0)0>C1&&(C1=eU(),GG=KZ(U),hD=U,Q!=null&&(cD=t(Q)),(n$&(G6|V4))!==V6&&(wU=!0,wI=YG),$=cY(),U=hY(),$!==aJ||U!==OG?aJ=-1.1:U!==null&&(wI=YG),NX=$,OG=U);else if(($&4194048)!==0&&0>j4&&(j4=eU(),ZG=KZ(U),kR=U,Q!=null&&(gR=t(Q)),0>r1)){if($=cY(),U=hY(),$!==yI||U!==kX)yI=-1.1;fI=$,kX=U}}function sB($){if(0>C1){C1=eU(),GG=$._debugTask!=null?$._debugTask:null,(n$&(G6|V4))!==V6&&(wI=YG);var U=cY(),Q=hY();U!==aJ||Q!==OG?aJ=-1.1:Q!==null&&(wI=YG),NX=U,OG=Q}if(0>j4&&(j4=eU(),ZG=$._debugTask!=null?$._debugTask:null,0>r1)){if($=cY(),U=hY(),$!==yI||U!==kX)yI=-1.1;fI=$,kX=U}}function u1(){var $=BX;return BX=0,$}function XO($){var U=BX;return BX=$,U}function CY($){var U=BX;return BX+=$,U}function JO(){q$=A$=-1.1}function U4(){var $=A$;return A$=-1.1,$}function I4($){0<=$&&(A$=$)}function U1(){var $=NU;return NU=-0,$}function I1($){0<=$&&(NU=$)}function X1(){var $=SU;return SU=null,$}function J1(){var $=wU;return wU=!1,$}function PV($){v6=eU(),0>$.actualStartTime&&($.actualStartTime=v6)}function EV($){if(0<=v6){var U=eU()-v6;$.actualDuration+=U,$.selfBaseDuration=U,v6=-1}}function xA($){if(0<=v6){var U=eU()-v6;$.actualDuration+=U,v6=-1}}function Q1(){if(0<=v6){var $=eU(),U=$-v6;v6=-1,BX+=U,NU+=U,q$=$}}function wA($){SU===null&&(SU=[]),SU.push($),i1===null&&(i1=[]),i1.push($)}function Y1(){v6=eU(),0>A$&&(A$=v6)}function TY($){for(var U=$.child;U;)$.actualDuration+=U.actualDuration,U=U.sibling}function eB($,U){if(KG===null){var Q=KG=[];mD=0,gX=x8(),sJ={status:"pending",value:void 0,then:function(W){Q.push(W)}}}return mD++,U.then(fA,fA),U}function fA(){if(--mD===0&&(-1<j4||(r1=-1.1),KG!==null)){sJ!==null&&(sJ.status="fulfilled");var $=KG;KG=null,gX=0,sJ=null;for(var U=0;U<$.length;U++)(0,$[U])()}}function $N($,U){var Q=[],W={status:"pending",value:null,reason:null,then:function(M){Q.push(M)}};return $.then(function(){W.status="fulfilled",W.value=U;for(var M=0;M<Q.length;M++)(0,Q[M])(U)},function(M){W.status="rejected",W.reason=M;for(M=0;M<Q.length;M++)(0,Q[M])(void 0)}),W}function _V(){var $=xX.current;return $!==null?$:OU.pooledCache}function QO($,U){U===null?D(xX,xX.current,$):D(xX,U.pool,$)}function yA(){var $=_V();return $===null?null:{parent:sU._currentValue,pool:$}}function uA(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function bA($){return $=$.status,$==="fulfilled"||$==="rejected"}function hA($,U,Q){y0.actQueue!==null&&(y0.didUsePromise=!0);var W=$.thenables;if(Q=W[Q],Q===void 0?W.push(U):Q!==U&&($.didWarnAboutUncachedPromise||($.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.")),U.then(x1,x1),U=Q),U._debugInfo===void 0){$=performance.now(),W=U.displayName;var M={name:typeof W==="string"?W:"Promise",start:$,end:$,value:U};U._debugInfo=[{awaited:M}],U.status!=="fulfilled"&&U.status!=="rejected"&&($=function(){M.end=performance.now()},U.then($,$))}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,pA($),$;default:if(typeof U.status==="string")U.then(x1,x1);else{if($=OU,$!==null&&100<$.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.");$=U,$.status="pending",$.then(function(R){if(U.status==="pending"){var k=U;k.status="fulfilled",k.value=R}},function(R){if(U.status==="pending"){var k=U;k.status="rejected",k.reason=R}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,pA($),$}throw fX=U,MG=!0,eJ}}function FI($){try{return yk($)}catch(U){if(U!==null&&typeof U==="object"&&typeof U.then==="function")throw fX=U,MG=!0,eJ;throw U}}function cA(){if(fX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=fX;return fX=null,MG=!1,$}function pA($){if($===eJ||$===AZ)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 W6($){var U=k$;return $!=null&&(k$=U===null?$:U.concat($)),U}function SV(){var $=k$;if($!=null){for(var U=$.length-1;0<=U;U--)if($[U].name!=null){var Q=$[U].debugTask;if(Q!=null)return Q}}return null}function YO($,U,Q){for(var W=Object.keys($.props),M=0;M<W.length;M++){var R=W[M];if(R!=="children"&&R!=="key"){U===null&&(U=s2($,Q.mode,0),U._debugInfo=k$,U.return=Q),J0(U,function(k){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k)},R);break}}}function GO($){var U=AG;return AG+=1,$Q===null&&($Q=uA()),hA($Q,$,U)}function RY($,U){U=U.props.ref,$.ref=U!==void 0?U:null}function mA($,U){if(U.$$typeof===H3)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(U),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function OO($,U){var Q=SV();Q!==null?Q.run(mA.bind(null,$,U)):mA($,U)}function lA($,U){var Q=t($)||"Component";eR[Q]||(eR[Q]=!0,U=U.displayName||U.name||"Component",$.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.
|
|
97
|
+
root.render(%s)`,U,U,U):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.
|
|
98
|
+
<%s>{%s}</%s>`,U,U,Q,U,Q))}function ZO($,U){var Q=SV();Q!==null?Q.run(lA.bind(null,$,U)):lA($,U)}function dA($,U){var Q=t($)||"Component";$P[Q]||($P[Q]=!0,U=String(U),$.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,U):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,Q,U,Q))}function zO($,U){var Q=SV();Q!==null?Q.run(dA.bind(null,$,U)):dA($,U)}function nA($){function U(Z0,W0){if($){var q0=Z0.deletions;q0===null?(Z0.deletions=[W0],Z0.flags|=16):q0.push(W0)}}function Q(Z0,W0){if(!$)return null;for(;W0!==null;)U(Z0,W0),W0=W0.sibling;return null}function W(Z0){for(var W0=new Map;Z0!==null;)Z0.key!==null?W0.set(Z0.key,Z0):W0.set(Z0.index,Z0),Z0=Z0.sibling;return W0}function M(Z0,W0){return Z0=w1(Z0,W0),Z0.index=0,Z0.sibling=null,Z0}function R(Z0,W0,q0){if(Z0.index=q0,!$)return Z0.flags|=1048576,W0;if(q0=Z0.alternate,q0!==null)return q0=q0.index,q0<W0?(Z0.flags|=67108866,W0):q0;return Z0.flags|=67108866,W0}function k(Z0){return $&&Z0.alternate===null&&(Z0.flags|=67108866),Z0}function f(Z0,W0,q0,m0){if(W0===null||W0.tag!==6)return W0=FV(q0,Z0.mode,m0),W0.return=Z0,W0._debugOwner=Z0,W0._debugTask=Z0._debugTask,W0._debugInfo=k$,W0;return W0=M(W0,q0),W0.return=Z0,W0._debugInfo=k$,W0}function l(Z0,W0,q0,m0){var K$=q0.type;if(K$===xJ)return W0=T0(Z0,W0,q0.props.children,m0,q0.key),YO(q0,W0,Z0),W0;if(W0!==null&&(W0.elementType===K$||TA(W0,q0)||typeof K$==="object"&&K$!==null&&K$.$$typeof===Y4&&FI(K$)===W0.type))return W0=M(W0,q0.props),RY(W0,q0),W0.return=Z0,W0._debugOwner=q0._owner,W0._debugInfo=k$,W0;return W0=s2(q0,Z0.mode,m0),RY(W0,q0),W0.return=Z0,W0._debugInfo=k$,W0}function o(Z0,W0,q0,m0){if(W0===null||W0.tag!==4||W0.stateNode.containerInfo!==q0.containerInfo||W0.stateNode.implementation!==q0.implementation)return W0=HV(q0,Z0.mode,m0),W0.return=Z0,W0._debugInfo=k$,W0;return W0=M(W0,q0.children||[]),W0.return=Z0,W0._debugInfo=k$,W0}function T0(Z0,W0,q0,m0,K$){if(W0===null||W0.tag!==7)return W0=HX(q0,Z0.mode,m0,K$),W0.return=Z0,W0._debugOwner=Z0,W0._debugTask=Z0._debugTask,W0._debugInfo=k$,W0;return W0=M(W0,q0),W0.return=Z0,W0._debugInfo=k$,W0}function R0(Z0,W0,q0){if(typeof W0==="string"&&W0!==""||typeof W0==="number"||typeof W0==="bigint")return W0=FV(""+W0,Z0.mode,q0),W0.return=Z0,W0._debugOwner=Z0,W0._debugTask=Z0._debugTask,W0._debugInfo=k$,W0;if(typeof W0==="object"&&W0!==null){switch(W0.$$typeof){case D1:return q0=s2(W0,Z0.mode,q0),RY(q0,W0),q0.return=Z0,Z0=W6(W0._debugInfo),q0._debugInfo=k$,k$=Z0,q0;case gJ:return W0=HV(W0,Z0.mode,q0),W0.return=Z0,W0._debugInfo=k$,W0;case Y4:var m0=W6(W0._debugInfo);return W0=FI(W0),Z0=R0(Z0,W0,q0),k$=m0,Z0}if(Q6(W0)||F0(W0))return q0=HX(W0,Z0.mode,q0,null),q0.return=Z0,q0._debugOwner=Z0,q0._debugTask=Z0._debugTask,Z0=W6(W0._debugInfo),q0._debugInfo=k$,k$=Z0,q0;if(typeof W0.then==="function")return m0=W6(W0._debugInfo),Z0=R0(Z0,GO(W0),q0),k$=m0,Z0;if(W0.$$typeof===W1)return R0(Z0,IO(Z0,W0),q0);OO(Z0,W0)}return typeof W0==="function"&&ZO(Z0,W0),typeof W0==="symbol"&&zO(Z0,W0),null}function D0(Z0,W0,q0,m0){var K$=W0!==null?W0.key:null;if(typeof q0==="string"&&q0!==""||typeof q0==="number"||typeof q0==="bigint")return K$!==null?null:f(Z0,W0,""+q0,m0);if(typeof q0==="object"&&q0!==null){switch(q0.$$typeof){case D1:return q0.key===K$?(K$=W6(q0._debugInfo),Z0=l(Z0,W0,q0,m0),k$=K$,Z0):null;case gJ:return q0.key===K$?o(Z0,W0,q0,m0):null;case Y4:return K$=W6(q0._debugInfo),q0=FI(q0),Z0=D0(Z0,W0,q0,m0),k$=K$,Z0}if(Q6(q0)||F0(q0)){if(K$!==null)return null;return K$=W6(q0._debugInfo),Z0=T0(Z0,W0,q0,m0,null),k$=K$,Z0}if(typeof q0.then==="function")return K$=W6(q0._debugInfo),Z0=D0(Z0,W0,GO(q0),m0),k$=K$,Z0;if(q0.$$typeof===W1)return D0(Z0,W0,IO(Z0,q0),m0);OO(Z0,q0)}return typeof q0==="function"&&ZO(Z0,q0),typeof q0==="symbol"&&zO(Z0,q0),null}function k0(Z0,W0,q0,m0,K$){if(typeof m0==="string"&&m0!==""||typeof m0==="number"||typeof m0==="bigint")return Z0=Z0.get(q0)||null,f(W0,Z0,""+m0,K$);if(typeof m0==="object"&&m0!==null){switch(m0.$$typeof){case D1:return q0=Z0.get(m0.key===null?q0:m0.key)||null,Z0=W6(m0._debugInfo),W0=l(W0,q0,m0,K$),k$=Z0,W0;case gJ:return Z0=Z0.get(m0.key===null?q0:m0.key)||null,o(W0,Z0,m0,K$);case Y4:var P$=W6(m0._debugInfo);return m0=FI(m0),W0=k0(Z0,W0,q0,m0,K$),k$=P$,W0}if(Q6(m0)||F0(m0))return q0=Z0.get(q0)||null,Z0=W6(m0._debugInfo),W0=T0(W0,q0,m0,K$,null),k$=Z0,W0;if(typeof m0.then==="function")return P$=W6(m0._debugInfo),W0=k0(Z0,W0,q0,GO(m0),K$),k$=P$,W0;if(m0.$$typeof===W1)return k0(Z0,W0,q0,IO(W0,m0),K$);OO(W0,m0)}return typeof m0==="function"&&ZO(W0,m0),typeof m0==="symbol"&&zO(W0,m0),null}function z$(Z0,W0,q0,m0){if(typeof q0!=="object"||q0===null)return m0;switch(q0.$$typeof){case D1:case gJ:_(Z0,W0,q0);var K$=q0.key;if(typeof K$!=="string")break;if(m0===null){m0=new Set,m0.add(K$);break}if(!m0.has(K$)){m0.add(K$);break}J0(W0,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 — the behavior is unsupported and could change in a future version.",K$)});break;case Y4:q0=FI(q0),z$(Z0,W0,q0,m0)}return m0}function W$(Z0,W0,q0,m0){for(var K$=null,P$=null,M$=null,H$=W0,B$=W0=0,CU=null;H$!==null&&B$<q0.length;B$++){H$.index>B$?(CU=H$,H$=null):CU=H$.sibling;var aU=D0(Z0,H$,q0[B$],m0);if(aU===null){H$===null&&(H$=CU);break}K$=z$(Z0,aU,q0[B$],K$),$&&H$&&aU.alternate===null&&U(Z0,H$),W0=R(aU,W0,B$),M$===null?P$=aU:M$.sibling=aU,M$=aU,H$=CU}if(B$===q0.length)return Q(Z0,H$),p$&&f1(Z0,B$),P$;if(H$===null){for(;B$<q0.length;B$++)H$=R0(Z0,q0[B$],m0),H$!==null&&(K$=z$(Z0,H$,q0[B$],K$),W0=R(H$,W0,B$),M$===null?P$=H$:M$.sibling=H$,M$=H$);return p$&&f1(Z0,B$),P$}for(H$=W(H$);B$<q0.length;B$++)CU=k0(H$,Z0,B$,q0[B$],m0),CU!==null&&(K$=z$(Z0,CU,q0[B$],K$),$&&CU.alternate!==null&&H$.delete(CU.key===null?B$:CU.key),W0=R(CU,W0,B$),M$===null?P$=CU:M$.sibling=CU,M$=CU);return $&&H$.forEach(function(JI){return U(Z0,JI)}),p$&&f1(Z0,B$),P$}function WU(Z0,W0,q0,m0){if(q0==null)throw Error("An iterable object provided no iterator.");for(var K$=null,P$=null,M$=W0,H$=W0=0,B$=null,CU=null,aU=q0.next();M$!==null&&!aU.done;H$++,aU=q0.next()){M$.index>H$?(B$=M$,M$=null):B$=M$.sibling;var JI=D0(Z0,M$,aU.value,m0);if(JI===null){M$===null&&(M$=B$);break}CU=z$(Z0,JI,aU.value,CU),$&&M$&&JI.alternate===null&&U(Z0,M$),W0=R(JI,W0,H$),P$===null?K$=JI:P$.sibling=JI,P$=JI,M$=B$}if(aU.done)return Q(Z0,M$),p$&&f1(Z0,H$),K$;if(M$===null){for(;!aU.done;H$++,aU=q0.next())M$=R0(Z0,aU.value,m0),M$!==null&&(CU=z$(Z0,M$,aU.value,CU),W0=R(M$,W0,H$),P$===null?K$=M$:P$.sibling=M$,P$=M$);return p$&&f1(Z0,H$),K$}for(M$=W(M$);!aU.done;H$++,aU=q0.next())B$=k0(M$,Z0,H$,aU.value,m0),B$!==null&&(CU=z$(Z0,B$,aU.value,CU),$&&B$.alternate!==null&&M$.delete(B$.key===null?H$:B$.key),W0=R(B$,W0,H$),P$===null?K$=B$:P$.sibling=B$,P$=B$);return $&&M$.forEach(function(Gg){return U(Z0,Gg)}),p$&&f1(Z0,H$),K$}function l$(Z0,W0,q0,m0){if(typeof q0==="object"&&q0!==null&&q0.type===xJ&&q0.key===null&&(YO(q0,null,Z0),q0=q0.props.children),typeof q0==="object"&&q0!==null){switch(q0.$$typeof){case D1:var K$=W6(q0._debugInfo);$:{for(var P$=q0.key;W0!==null;){if(W0.key===P$){if(P$=q0.type,P$===xJ){if(W0.tag===7){Q(Z0,W0.sibling),m0=M(W0,q0.props.children),m0.return=Z0,m0._debugOwner=q0._owner,m0._debugInfo=k$,YO(q0,m0,Z0),Z0=m0;break $}}else if(W0.elementType===P$||TA(W0,q0)||typeof P$==="object"&&P$!==null&&P$.$$typeof===Y4&&FI(P$)===W0.type){Q(Z0,W0.sibling),m0=M(W0,q0.props),RY(m0,q0),m0.return=Z0,m0._debugOwner=q0._owner,m0._debugInfo=k$,Z0=m0;break $}Q(Z0,W0);break}else U(Z0,W0);W0=W0.sibling}q0.type===xJ?(m0=HX(q0.props.children,Z0.mode,m0,q0.key),m0.return=Z0,m0._debugOwner=Z0,m0._debugTask=Z0._debugTask,m0._debugInfo=k$,YO(q0,m0,Z0),Z0=m0):(m0=s2(q0,Z0.mode,m0),RY(m0,q0),m0.return=Z0,m0._debugInfo=k$,Z0=m0)}return Z0=k(Z0),k$=K$,Z0;case gJ:$:{K$=q0;for(q0=K$.key;W0!==null;){if(W0.key===q0)if(W0.tag===4&&W0.stateNode.containerInfo===K$.containerInfo&&W0.stateNode.implementation===K$.implementation){Q(Z0,W0.sibling),m0=M(W0,K$.children||[]),m0.return=Z0,Z0=m0;break $}else{Q(Z0,W0);break}else U(Z0,W0);W0=W0.sibling}m0=HV(K$,Z0.mode,m0),m0.return=Z0,Z0=m0}return k(Z0);case Y4:return K$=W6(q0._debugInfo),q0=FI(q0),Z0=l$(Z0,W0,q0,m0),k$=K$,Z0}if(Q6(q0))return K$=W6(q0._debugInfo),Z0=W$(Z0,W0,q0,m0),k$=K$,Z0;if(F0(q0)){if(K$=W6(q0._debugInfo),P$=F0(q0),typeof P$!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var M$=P$.call(q0);if(M$===q0){if(Z0.tag!==0||Object.prototype.toString.call(Z0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M$)!=="[object Generator]")aR||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."),aR=!0}else q0.entries!==P$||oD||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),oD=!0);return Z0=WU(Z0,W0,M$,m0),k$=K$,Z0}if(typeof q0.then==="function")return K$=W6(q0._debugInfo),Z0=l$(Z0,W0,GO(q0),m0),k$=K$,Z0;if(q0.$$typeof===W1)return l$(Z0,W0,IO(Z0,q0),m0);OO(Z0,q0)}if(typeof q0==="string"&&q0!==""||typeof q0==="number"||typeof q0==="bigint")return K$=""+q0,W0!==null&&W0.tag===6?(Q(Z0,W0.sibling),m0=M(W0,K$),m0.return=Z0,Z0=m0):(Q(Z0,W0),m0=FV(K$,Z0.mode,m0),m0.return=Z0,m0._debugOwner=Z0,m0._debugTask=Z0._debugTask,m0._debugInfo=k$,Z0=m0),k(Z0);return typeof q0==="function"&&ZO(Z0,q0),typeof q0==="symbol"&&zO(Z0,q0),Q(Z0,W0)}return function(Z0,W0,q0,m0){var K$=k$;k$=null;try{AG=0;var P$=l$(Z0,W0,q0,m0);return $Q=null,P$}catch(CU){if(CU===eJ||CU===AZ)throw CU;var M$=P(29,CU,null,Z0.mode);M$.lanes=m0,M$.return=Z0;var H$=M$._debugInfo=k$;if(M$._debugOwner=Z0._debugOwner,M$._debugTask=Z0._debugTask,H$!=null){for(var B$=H$.length-1;0<=B$;B$--)if(typeof H$[B$].stack==="string"){M$._debugOwner=H$[B$],M$._debugTask=H$[B$].debugTask;break}}return M$}finally{k$=K$}}}function oA($,U){var Q=Q6($);return $=!Q&&typeof F0($)==="function",Q||$?(Q=Q?"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>",Q,U,Q),!1):!0}function jV($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vV($,U){$=$.updateQueue,U.updateQueue===$&&(U.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function HI($){return{lane:$,tag:IP,payload:null,callback:null,next:null}}function LI($,U,Q){var W=$.updateQueue;if(W===null)return null;if(W=W.shared,rD===W&&!QP){var M=t($);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.
|
|
101
|
+
|
|
102
|
+
Please update the following component: %s`,M),QP=!0}if((n$&G6)!==V6)return M=W.pending,M===null?U.next=U:(U.next=M.next,M.next=U),W.pending=U,U=a2($),CA($,null,Q),U;return t2($,W,U,Q),a2($)}function PY($,U,Q){if(U=U.updateQueue,U!==null&&(U=U.shared,(Q&4194048)!==0)){var W=U.lanes;W&=$.pendingLanes,Q|=W,U.lanes=Q,h0($,Q)}}function KO($,U){var{updateQueue:Q,alternate:W}=$;if(W!==null&&(W=W.updateQueue,Q===W)){var M=null,R=null;if(Q=Q.firstBaseUpdate,Q!==null){do{var k={lane:Q.lane,tag:Q.tag,payload:Q.payload,callback:null,next:null};R===null?M=R=k:R=R.next=k,Q=Q.next}while(Q!==null);R===null?M=R=U:R=R.next=U}else M=R=U;Q={baseState:W.baseState,firstBaseUpdate:M,lastBaseUpdate:R,shared:W.shared,callbacks:W.callbacks},$.updateQueue=Q;return}$=Q.lastBaseUpdate,$===null?Q.firstBaseUpdate=U:$.next=U,Q.lastBaseUpdate=U}function EY(){if(tD){var $=sJ;if($!==null)throw $}}function _Y($,U,Q,W){tD=!1;var M=$.updateQueue;uI=!1,rD=M.shared;var{firstBaseUpdate:R,lastBaseUpdate:k}=M,f=M.shared.pending;if(f!==null){M.shared.pending=null;var l=f,o=l.next;l.next=null,k===null?R=o:k.next=o,k=l;var T0=$.alternate;T0!==null&&(T0=T0.updateQueue,f=T0.lastBaseUpdate,f!==k&&(f===null?T0.firstBaseUpdate=o:f.next=o,T0.lastBaseUpdate=l))}if(R!==null){var R0=M.baseState;k=0,T0=o=l=null,f=R;do{var D0=f.lane&-536870913,k0=D0!==f.lane;if(k0?(g$&D0)===D0:(W&D0)===D0){D0!==0&&D0===gX&&(tD=!0),T0!==null&&(T0=T0.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});$:{D0=$;var z$=f,W$=U,WU=Q;switch(z$.tag){case XP:if(z$=z$.payload,typeof z$==="function"){tJ=!0;var l$=z$.call(WU,R0,W$);if(D0.mode&T6){N0(!0);try{z$.call(WU,R0,W$)}finally{N0(!1)}}tJ=!1,R0=l$;break $}R0=z$;break $;case iD:D0.flags=D0.flags&-65537|128;case IP:if(l$=z$.payload,typeof l$==="function"){if(tJ=!0,z$=l$.call(WU,R0,W$),D0.mode&T6){N0(!0);try{l$.call(WU,R0,W$)}finally{N0(!1)}}tJ=!1}else z$=l$;if(z$===null||z$===void 0)break $;R0=y$({},R0,z$);break $;case JP:uI=!0}}D0=f.callback,D0!==null&&($.flags|=64,k0&&($.flags|=8192),k0=M.callbacks,k0===null?M.callbacks=[D0]:k0.push(D0))}else k0={lane:D0,tag:f.tag,payload:f.payload,callback:f.callback,next:null},T0===null?(o=T0=k0,l=R0):T0=T0.next=k0,k|=D0;if(f=f.next,f===null)if(f=M.shared.pending,f===null)break;else k0=f,f=k0.next,k0.next=null,M.lastBaseUpdate=k0,M.shared.pending=null}while(1);T0===null&&(l=R0),M.baseState=l,M.firstBaseUpdate=o,M.lastBaseUpdate=T0,R===null&&(M.shared.lanes=0),cI|=k,$.lanes=k,$.memoizedState=R0}rD=null}function iA($,U){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(U)}function UN($,U){var Q=$.shared.hiddenCallbacks;if(Q!==null)for($.shared.hiddenCallbacks=null,$=0;$<Q.length;$++)iA(Q[$],U)}function rA($,U){var Q=$.callbacks;if(Q!==null)for($.callbacks=null,$=0;$<Q.length;$++)iA(Q[$],U)}function tA($,U){var Q=P1;D(CZ,Q,$),D(UQ,U,$),P1=Q|U.baseLanes}function BV($){D(CZ,P1,$),D(UQ,UQ.current,$)}function NV($){P1=CZ.current,Y(UQ,$),Y(CZ,$)}function MI($){var U=$.alternate;D(tU,tU.current&IQ,$),D(z4,$,$),v4===null&&(U===null||UQ.current!==null?v4=$:U.memoizedState!==null&&(v4=$))}function kV($){D(tU,tU.current,$),D(z4,$,$),v4===null&&(v4=$)}function aA($){$.tag===22?(D(tU,tU.current,$),D(z4,$,$),v4===null&&(v4=$)):AI($)}function AI($){D(tU,tU.current,$),D(z4,z4.current,$)}function X4($){Y(z4,$),v4===$&&(v4=null),Y(tU,$)}function VO($){for(var U=$;U!==null;){if(U.tag===13){var Q=U.memoizedState;if(Q!==null&&(Q=Q.dehydrated,Q===null||d8(Q)||n8(Q)))return U}else if(U.tag===19&&(U.memoizedProps.revealOrder==="forwards"||U.memoizedProps.revealOrder==="backwards"||U.memoizedProps.revealOrder==="unstable_legacy-backwards"||U.memoizedProps.revealOrder==="together")){if((U.flags&128)!==0)return U}else if(U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return null;U=U.return}U.sibling.return=U.return,U=U.sibling}return null}function f$(){var $=w0;N4===null?N4=[$]:N4.push($)}function Y$(){var $=w0;if(N4!==null&&(e1++,N4[e1]!==$)){var U=t(R$);if(!YP.has(U)&&(YP.add(U),N4!==null)){for(var Q="",W=0;W<=e1;W++){var M=N4[W],R=W===e1?$:M;for(M=W+1+". "+M;30>M.length;)M+=" ";M+=R+`
|
|
103
|
+
`,Q+=M}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
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,U,Q)}}}function qJ($){$===void 0||$===null||Q6($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",w0,typeof $)}function DO(){var $=t(R$);OP.has($)||(OP.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function lU(){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:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function gV($,U){if(TG)return!1;if(U===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.",w0),!1;$.length!==U.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,w0,"["+U.join(", ")+"]","["+$.join(", ")+"]");for(var Q=0;Q<U.length&&Q<$.length;Q++)if(!j6($[Q],U[Q]))return!1;return!0}function xV($,U,Q,W,M,R){if(a1=R,R$=U,N4=$!==null?$._debugHookTypes:null,e1=-1,TG=$!==null&&$.type!==U.type,Object.prototype.toString.call(Q)==="[object AsyncFunction]"||Object.prototype.toString.call(Q)==="[object AsyncGeneratorFunction]")R=t(R$),aD.has(R)||(aD.add(R),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.",R===null?"An unknown Component":"<"+R+">"));U.memoizedState=null,U.updateQueue=null,U.lanes=0,y0.H=$!==null&&$.memoizedState!==null?eD:N4!==null?ZP:sD,uX=R=(U.mode&T6)!==C$;var k=lD(Q,W,M);if(uX=!1,JQ&&(k=wV(U,Q,W,M)),R){N0(!0);try{k=wV(U,Q,W,M)}finally{N0(!1)}}return sA($,U),k}function sA($,U){U._debugHookTypes=N4,U.dependencies===null?s1!==null&&(U.dependencies={lanes:0,firstContext:null,_debugThenableState:s1}):U.dependencies._debugThenableState=s1,y0.H=RG;var Q=GU!==null&&GU.next!==null;if(a1=0,N4=w0=$6=GU=R$=null,e1=-1,$!==null&&($.flags&65011712)!==(U.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),RZ=!1,CG=0,s1=null,Q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||U6||($=$.dependencies,$!==null&&UO($)&&(U6=!0)),MG?(MG=!1,$=!0):$=!1,$&&(U=t(U)||"Unknown",GP.has(U)||aD.has(U)||(GP.add(U),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 wV($,U,Q,W){R$=$;var M=0;do{if(JQ&&(s1=null),CG=0,JQ=!1,M>=bk)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(M+=1,TG=!1,$6=GU=null,$.updateQueue!=null){var R=$.updateQueue;R.lastEffect=null,R.events=null,R.stores=null,R.memoCache!=null&&(R.memoCache.index=0)}e1=-1,y0.H=zP,R=lD(U,Q,W)}while(JQ);return R}function IN(){var $=y0.H,U=$.useState()[0];return U=typeof U.then==="function"?SY(U):U,$=$.useState()[0],(GU!==null?GU.memoizedState:null)!==$&&(R$.flags|=1024),U}function fV(){var $=PZ!==0;return PZ=0,$}function yV($,U,Q){U.updateQueue=$.updateQueue,U.flags=(U.mode&p4)!==C$?U.flags&-402655237:U.flags&-2053,$.lanes&=~Q}function uV($){if(RZ){for($=$.memoizedState;$!==null;){var U=$.queue;U!==null&&(U.pending=null),$=$.next}RZ=!1}a1=0,N4=$6=GU=R$=null,e1=-1,w0=null,JQ=!1,CG=PZ=0,s1=null}function P6(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $6===null?R$.memoizedState=$6=$:$6=$6.next=$,$6}function UU(){if(GU===null){var $=R$.alternate;$=$!==null?$.memoizedState:null}else $=GU.next;var U=$6===null?R$.memoizedState:$6.next;if(U!==null)$6=U,GU=$;else{if($===null){if(R$.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}GU=$,$={memoizedState:GU.memoizedState,baseState:GU.baseState,baseQueue:GU.baseQueue,queue:GU.queue,next:null},$6===null?R$.memoizedState=$6=$:$6=$6.next=$}return $6}function WO(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function SY($){var U=CG;return CG+=1,s1===null&&(s1=uA()),$=hA(s1,$,U),U=R$,($6===null?U.memoizedState:$6.next)===null&&(U=U.alternate,y0.H=U!==null&&U.memoizedState!==null?eD:sD),$}function qI($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return SY($);if($.$$typeof===W1)return _U($)}throw Error("An unsupported type was passed to use(): "+String($))}function CX($){var U=null,Q=R$.updateQueue;if(Q!==null&&(U=Q.memoCache),U==null){var W=R$.alternate;W!==null&&(W=W.updateQueue,W!==null&&(W=W.memoCache,W!=null&&(U={data:W.data.map(function(M){return M.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),Q===null&&(Q=WO(),R$.updateQueue=Q),Q.memoCache=U,Q=U.data[U.index],Q===void 0||TG)for(Q=U.data[U.index]=Array($),W=0;W<$;W++)Q[W]=L3;else Q.length!==$&&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.",Q.length,$);return U.index++,Q}function u4($,U){return typeof U==="function"?U($):U}function bV($,U,Q){var W=P6();if(Q!==void 0){var M=Q(U);if(uX){N0(!0);try{Q(U)}finally{N0(!1)}}}else M=U;return W.memoizedState=W.baseState=M,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:M},W.queue=$,$=$.dispatch=GN.bind(null,R$,$),[W.memoizedState,$]}function CJ($){var U=UU();return hV(U,GU,$)}function hV($,U,Q){var W=$.queue;if(W===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");W.lastRenderedReducer=Q;var M=$.baseQueue,R=W.pending;if(R!==null){if(M!==null){var k=M.next;M.next=R.next,R.next=k}U.baseQueue!==M&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),U.baseQueue=M=R,W.pending=null}if(R=$.baseState,M===null)$.memoizedState=R;else{U=M.next;var f=k=null,l=null,o=U,T0=!1;do{var R0=o.lane&-536870913;if(R0!==o.lane?(g$&R0)===R0:(a1&R0)===R0){var D0=o.revertLane;if(D0===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),R0===gX&&(T0=!0);else if((a1&D0)===D0){o=o.next,D0===gX&&(T0=!0);continue}else R0={lane:0,revertLane:o.revertLane,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=R0,k=R):l=l.next=R0,R$.lanes|=D0,cI|=D0;R0=o.action,uX&&Q(R,R0),R=o.hasEagerState?o.eagerState:Q(R,R0)}else D0={lane:R0,revertLane:o.revertLane,gesture:o.gesture,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=D0,k=R):l=l.next=D0,R$.lanes|=R0,cI|=R0;o=o.next}while(o!==null&&o!==U);if(l===null?k=R:l.next=f,!j6(R,$.memoizedState)&&(U6=!0,T0&&(Q=sJ,Q!==null)))throw Q;$.memoizedState=R,$.baseState=k,$.baseQueue=l,W.lastRenderedState=R}return M===null&&(W.lanes=0),[$.memoizedState,W.dispatch]}function jY($){var U=UU(),Q=U.queue;if(Q===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Q.lastRenderedReducer=$;var{dispatch:W,pending:M}=Q,R=U.memoizedState;if(M!==null){Q.pending=null;var k=M=M.next;do R=$(R,k.action),k=k.next;while(k!==M);j6(R,U.memoizedState)||(U6=!0),U.memoizedState=R,U.baseQueue===null&&(U.baseState=R),Q.lastRenderedState=R}return[R,W]}function cV($,U,Q){var W=R$,M=P6();if(p$){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var R=Q();XQ||R===Q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),XQ=!0)}else{if(R=U(),XQ||(Q=U(),j6(R,Q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),XQ=!0)),OU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(g$&127)!==0||eA(W,U,R)}return M.memoizedState=R,Q={value:R,getSnapshot:U},M.queue=Q,MO(Uq.bind(null,W,Q,$),[$]),W.flags|=2048,RJ(B4|N6,{destroy:void 0},$q.bind(null,W,Q,R,U),null),R}function FO($,U,Q){var W=R$,M=UU(),R=p$;if(R){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Q=Q()}else if(Q=U(),!XQ){var k=U();j6(Q,k)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),XQ=!0)}if(k=!j6((GU||M).memoizedState,Q))M.memoizedState=Q,U6=!0;M=M.queue;var f=Uq.bind(null,W,M,$);if(p6(2048,N6,f,[$]),M.getSnapshot!==U||k||$6!==null&&$6.memoizedState.tag&B4){if(W.flags|=2048,RJ(B4|N6,{destroy:void 0},$q.bind(null,W,M,Q,U),null),OU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");R||(a1&127)!==0||eA(W,U,Q)}return Q}function eA($,U,Q){$.flags|=16384,$={getSnapshot:U,value:Q},U=R$.updateQueue,U===null?(U=WO(),R$.updateQueue=U,U.stores=[$]):(Q=U.stores,Q===null?U.stores=[$]:Q.push($))}function $q($,U,Q,W){U.value=Q,U.getSnapshot=W,Iq(U)&&Xq($)}function Uq($,U,Q){return Q(function(){Iq(U)&&($1(2,"updateSyncExternalStore()",$),Xq($))})}function Iq($){var U=$.getSnapshot;$=$.value;try{var Q=U();return!j6($,Q)}catch(W){return!0}}function Xq($){var U=q6($,2);U!==null&&xU(U,$,2)}function pV($){var U=P6();if(typeof $==="function"){var Q=$;if($=Q(),uX){N0(!0);try{Q()}finally{N0(!1)}}}return U.memoizedState=U.baseState=$,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u4,lastRenderedState:$},U}function mV($){$=pV($);var U=$.queue,Q=Tq.bind(null,R$,U);return U.dispatch=Q,[$.memoizedState,Q]}function lV($){var U=P6();U.memoizedState=U.baseState=$;var Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=Q,U=J8.bind(null,R$,!0,Q),Q.dispatch=U,[$,U]}function Jq($,U){var Q=UU();return Qq(Q,GU,$,U)}function Qq($,U,Q,W){return $.baseState=Q,hV($,GU,typeof W==="function"?W:u4)}function Yq($,U){var Q=UU();if(GU!==null)return Qq(Q,GU,$,U);return Q.baseState=$,[$,Q.queue.dispatch]}function XN($,U,Q,W,M){if(PO($))throw Error("Cannot update form state while rendering.");if($=U.action,$!==null){var R={payload:M,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){R.listeners.push(k)}};y0.T!==null?Q(!0):R.isTransition=!1,W(R),Q=U.pending,Q===null?(R.next=U.pending=R,Gq(U,R)):(R.next=Q.next,U.pending=Q.next=R)}}function Gq($,U){var{action:Q,payload:W}=U,M=$.state;if(U.isTransition){var R=y0.T,k={};k._updatedFibers=new Set,y0.T=k;try{var f=Q(M,W),l=y0.S;l!==null&&l(k,f),Oq($,U,f)}catch(o){dV($,U,o)}finally{R!==null&&k.types!==null&&(R.types!==null&&R.types!==k.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."),R.types=k.types),y0.T=R,R===null&&k._updatedFibers&&($=k._updatedFibers.size,k._updatedFibers.clear(),10<$&&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{k=Q(M,W),Oq($,U,k)}catch(o){dV($,U,o)}}function Oq($,U,Q){Q!==null&&typeof Q==="object"&&typeof Q.then==="function"?(y0.asyncTransitions++,Q.then(RO,RO),Q.then(function(W){Zq($,U,W)},function(W){return dV($,U,W)}),U.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.")):Zq($,U,Q)}function Zq($,U,Q){U.status="fulfilled",U.value=Q,zq(U),$.state=Q,U=$.pending,U!==null&&(Q=U.next,Q===U?$.pending=null:(Q=Q.next,U.next=Q,Gq($,Q)))}function dV($,U,Q){var W=$.pending;if($.pending=null,W!==null){W=W.next;do U.status="rejected",U.reason=Q,zq(U),U=U.next;while(U!==W)}$.action=null}function zq($){$=$.listeners;for(var U=0;U<$.length;U++)(0,$[U])()}function Kq($,U){return U}function TJ($,U){if(p$){var Q=OU.formState;if(Q!==null){$:{var W=R$;if(p$){if(qU){U:{var M=qU;for(var R=S4;M.nodeType!==8;){if(!R){M=null;break U}if(M=Q4(M.nextSibling),M===null){M=null;break U}}R=M.data,M=R===TW||R===rP?M:null}if(M){qU=Q4(M.nextSibling),W=M.data===TW;break $}}DI(W)}W=!1}W&&(U=Q[0])}}return Q=P6(),Q.memoizedState=Q.baseState=U,W={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kq,lastRenderedState:U},Q.queue=W,Q=Tq.bind(null,R$,W),W.dispatch=Q,W=pV(!1),R=J8.bind(null,R$,!1,W.queue),W=P6(),M={state:U,dispatch:null,action:$,pending:null},W.queue=M,Q=XN.bind(null,R$,M,R,Q),M.dispatch=Q,W.memoizedState=$,[U,Q,!1]}function HO($){var U=UU();return Vq(U,GU,$)}function Vq($,U,Q){if(U=hV($,U,Kq)[0],$=CJ(u4)[0],typeof U==="object"&&U!==null&&typeof U.then==="function")try{var W=SY(U)}catch(k){if(k===eJ)throw AZ;throw k}else W=U;U=UU();var M=U.queue,R=M.dispatch;return Q!==U.memoizedState&&(R$.flags|=2048,RJ(B4|N6,{destroy:void 0},JN.bind(null,M,Q),null)),[W,R,$]}function JN($,U){$.action=U}function LO($){var U=UU(),Q=GU;if(Q!==null)return Vq(U,Q,$);UU(),U=U.memoizedState,Q=UU();var W=Q.queue.dispatch;return Q.memoizedState=$,[U,W,!1]}function RJ($,U,Q,W){return $={tag:$,create:Q,deps:W,inst:U,next:null},U=R$.updateQueue,U===null&&(U=WO(),R$.updateQueue=U),Q=U.lastEffect,Q===null?U.lastEffect=$.next=$:(W=Q.next,Q.next=$,$.next=W,U.lastEffect=$),$}function nV($){var U=P6();return $={current:$},U.memoizedState=$}function TX($,U,Q,W){var M=P6();R$.flags|=$,M.memoizedState=RJ(B4|U,{destroy:void 0},Q,W===void 0?null:W)}function p6($,U,Q,W){var M=UU();W=W===void 0?null:W;var R=M.memoizedState.inst;GU!==null&&W!==null&&gV(W,GU.memoizedState.deps)?M.memoizedState=RJ(U,R,Q,W):(R$.flags|=$,M.memoizedState=RJ(B4|U,R,Q,W))}function MO($,U){(R$.mode&p4)!==C$?TX(276826112,N6,$,U):TX(8390656,N6,$,U)}function QN($){R$.flags|=4;var U=R$.updateQueue;if(U===null)U=WO(),R$.updateQueue=U,U.events=[$];else{var Q=U.events;Q===null?U.events=[$]:Q.push($)}}function oV($){var U=P6(),Q={impl:$};return U.memoizedState=Q,function(){if((n$&G6)!==V6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Q.impl.apply(void 0,arguments)}}function AO($){var U=UU().memoizedState;return QN({ref:U,nextImpl:$}),function(){if((n$&G6)!==V6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return U.impl.apply(void 0,arguments)}}function iV($,U){var Q=4194308;return(R$.mode&p4)!==C$&&(Q|=134217728),TX(Q,K4,$,U)}function Dq($,U){if(typeof U==="function"){$=$();var Q=U($);return function(){typeof Q==="function"?Q():U(null)}}if(U!==null&&U!==void 0)return U.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(U).join(", ")+"}"),$=$(),U.current=$,function(){U.current=null}}function rV($,U,Q){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Q=Q!==null&&Q!==void 0?Q.concat([$]):null;var W=4194308;(R$.mode&p4)!==C$&&(W|=134217728),TX(W,K4,Dq.bind(null,U,$),Q)}function qO($,U,Q){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Q=Q!==null&&Q!==void 0?Q.concat([$]):null,p6(4,K4,Dq.bind(null,U,$),Q)}function tV($,U){return P6().memoizedState=[$,U===void 0?null:U],$}function CO($,U){var Q=UU();U=U===void 0?null:U;var W=Q.memoizedState;if(U!==null&&gV(U,W[1]))return W[0];return Q.memoizedState=[$,U],$}function aV($,U){var Q=P6();U=U===void 0?null:U;var W=$();if(uX){N0(!0);try{$()}finally{N0(!1)}}return Q.memoizedState=[W,U],W}function TO($,U){var Q=UU();U=U===void 0?null:U;var W=Q.memoizedState;if(U!==null&&gV(U,W[1]))return W[0];if(W=$(),uX){N0(!0);try{$()}finally{N0(!1)}}return Q.memoizedState=[W,U],W}function sV($,U){var Q=P6();return eV(Q,$,U)}function Wq($,U){var Q=UU();return Hq(Q,GU.memoizedState,$,U)}function Fq($,U){var Q=UU();return GU===null?eV(Q,$,U):Hq(Q,GU.memoizedState,$,U)}function eV($,U,Q){if(Q===void 0||(a1&1073741824)!==0&&(g$&261930)===0)return $.memoizedState=U;return $.memoizedState=Q,$=LC(),R$.lanes|=$,cI|=$,Q}function Hq($,U,Q,W){if(j6(Q,U))return Q;if(UQ.current!==null)return $=eV($,Q,W),j6($,U)||(U6=!0),$;if((a1&42)===0||(a1&1073741824)!==0&&(g$&261930)===0)return U6=!0,$.memoizedState=Q;return $=LC(),R$.lanes|=$,cI|=$,U}function RO(){y0.asyncTransitions--}function Lq($,U,Q,W,M){var R=s$.p;s$.p=R!==0&&R<c4?R:c4;var k=y0.T,f={};f._updatedFibers=new Set,y0.T=f,J8($,!1,U,Q);try{var l=M(),o=y0.S;if(o!==null&&o(f,l),l!==null&&typeof l==="object"&&typeof l.then==="function"){y0.asyncTransitions++,l.then(RO,RO);var T0=$N(l,W);vY($,U,T0,J4($))}else vY($,U,W,J4($))}catch(R0){vY($,U,{then:function(){},status:"rejected",reason:R0},J4($))}finally{s$.p=R,k!==null&&f.types!==null&&(k.types!==null&&k.types!==f.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."),k.types=f.types),y0.T=k,k===null&&f._updatedFibers&&($=f._updatedFibers.size,f._updatedFibers.clear(),10<$&&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 $8($,U,Q,W){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var M=Mq($).queue;sB($),Lq($,M,U,rX,Q===null?E:function(){return Aq($),Q(W)})}function Mq($){var U=$.memoizedState;if(U!==null)return U;U={memoizedState:rX,baseState:rX,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:u4,lastRenderedState:rX},next:null};var Q={};return U.next={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:u4,lastRenderedState:Q},next:null},$.memoizedState=U,$=$.alternate,$!==null&&($.memoizedState=U),U}function Aq($){y0.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var U=Mq($);U.next===null&&(U=$.alternate.memoizedState),vY($,U.next.queue,{},J4($))}function U8(){var $=pV(!1);return $=Lq.bind(null,R$,$.queue,!0,!1),P6().memoizedState=$,[!1,$]}function qq(){var $=CJ(u4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:SY($),U]}function Cq(){var $=jY(u4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:SY($),U]}function RX(){return _U(uG)}function I8(){var $=P6(),U=OU.identifierPrefix;if(p$){var Q=n1,W=d1;Q=(W&~(1<<32-E6(W)-1)).toString(32)+Q,U="_"+U+"R_"+Q,Q=PZ++,0<Q&&(U+="H"+Q.toString(32)),U+="_"}else Q=uk++,U="_"+U+"r_"+Q.toString(32)+"_";return $.memoizedState=U}function X8(){return P6().memoizedState=YN.bind(null,R$)}function YN($,U){for(var Q=$.return;Q!==null;){switch(Q.tag){case 24:case 3:var W=J4(Q),M=HI(W),R=LI(Q,M,W);R!==null&&($1(W,"refresh()",$),xU(R,Q,W),PY(R,Q,W)),$=RV(),U!==null&&U!==void 0&&R!==null&&console.error("The seed argument is not enabled outside experimental channels."),M.payload={cache:$};return}Q=Q.return}}function GN($,U,Q){var W=arguments;typeof W[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()."),W=J4($);var M={lane:W,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};PO($)?Rq(U,M):(M=KV($,U,M,W),M!==null&&($1(W,"dispatch()",$),xU(M,$,W),Pq(M,U,W)))}function Tq($,U,Q){var W=arguments;typeof W[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()."),W=J4($),vY($,U,Q,W)&&$1(W,"setState()",$)}function vY($,U,Q,W){var M={lane:W,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};if(PO($))Rq(U,M);else{var R=$.alternate;if($.lanes===0&&(R===null||R.lanes===0)&&(R=U.lastRenderedReducer,R!==null)){var k=y0.H;y0.H=l4;try{var f=U.lastRenderedState,l=R(f,Q);if(M.hasEagerState=!0,M.eagerState=l,j6(l,f))return t2($,U,M,0),OU===null&&r2(),!1}catch(o){}finally{y0.H=k}}if(Q=KV($,U,M,W),Q!==null)return xU(Q,$,W),Pq(Q,U,W),!0}return!1}function J8($,U,Q,W){if(y0.T===null&&gX===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."),W={lane:2,revertLane:x8(),gesture:null,action:W,hasEagerState:!1,eagerState:null,next:null},PO($)){if(U)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else U=KV($,Q,W,2),U!==null&&($1(2,"setOptimistic()",$),xU(U,$,2))}function PO($){var U=$.alternate;return $===R$||U!==null&&U===R$}function Rq($,U){JQ=RZ=!0;var Q=$.pending;Q===null?U.next=U:(U.next=Q.next,Q.next=U),$.pending=U}function Pq($,U,Q){if((Q&4194048)!==0){var W=U.lanes;W&=$.pendingLanes,Q|=W,U.lanes=Q,h0($,Q)}}function Q8($){if($!==null&&typeof $!=="function"){var U=String($);CP.has(U)||(CP.add(U),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function Y8($,U,Q,W){var M=$.memoizedState,R=Q(W,M);if($.mode&T6){N0(!0);try{R=Q(W,M)}finally{N0(!1)}}R===void 0&&(U=L0(U)||"Component",LP.has(U)||(LP.add(U),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",U))),M=R===null||R===void 0?M:y$({},M,R),$.memoizedState=M,$.lanes===0&&($.updateQueue.baseState=M)}function Eq($,U,Q,W,M,R,k){var f=$.stateNode;if(typeof f.shouldComponentUpdate==="function"){if(Q=f.shouldComponentUpdate(W,R,k),$.mode&T6){N0(!0);try{Q=f.shouldComponentUpdate(W,R,k)}finally{N0(!1)}}return Q===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",L0(U)||"Component"),Q}return U.prototype&&U.prototype.isPureReactComponent?!LY(Q,W)||!LY(M,R):!0}function _q($,U,Q,W){var M=U.state;typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps(Q,W),typeof U.UNSAFE_componentWillReceiveProps==="function"&&U.UNSAFE_componentWillReceiveProps(Q,W),U.state!==M&&($=t($)||"Component",VP.has($)||(VP.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),$W.enqueueReplaceState(U,U.state,null))}function PX($,U){var Q=U;if("ref"in U){Q={};for(var W in U)W!=="ref"&&(Q[W]=U[W])}if($=$.defaultProps){Q===U&&(Q=y$({},Q));for(var M in $)Q[M]===void 0&&(Q[M]=$[M])}return Q}function Sq($){ND($),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,QQ?"An error occurred in the <"+QQ+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function jq($){var U=QQ?"The above error occurred in the <"+QQ+"> component.":"The above error occurred in one of your React components.",Q="React will try to recreate this component tree from scratch using the error boundary you provided, "+((UW||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var W=$.environmentName;$=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,$,U,Q].slice(0),typeof $[0]==="string"?$.splice(0,1,XE+" "+$[0],JE,rZ+W+rZ,QE):$.splice(0,0,XE,JE,rZ+W+rZ,QE),$.unshift(console),W=Qg.apply(console.error,$),W()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,$,U,Q)}function vq($){ND($)}function EO($,U){try{QQ=U.source?t(U.source):null,UW=null;var Q=U.value;if(y0.actQueue!==null)y0.thrownErrors.push(Q);else{var W=$.onUncaughtError;W(Q,{componentStack:U.stack})}}catch(M){setTimeout(function(){throw M})}}function Bq($,U,Q){try{QQ=Q.source?t(Q.source):null,UW=t(U);var W=$.onCaughtError;W(Q.value,{componentStack:Q.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(M){setTimeout(function(){throw M})}}function G8($,U,Q){return Q=HI(Q),Q.tag=iD,Q.payload={element:null},Q.callback=function(){J0(U.source,EO,$,U)},Q}function O8($){return $=HI($),$.tag=iD,$}function Z8($,U,Q,W){var M=Q.type.getDerivedStateFromError;if(typeof M==="function"){var R=W.value;$.payload=function(){return M(R)},$.callback=function(){RA(Q),J0(W.source,Bq,U,Q,W)}}var k=Q.stateNode;k!==null&&typeof k.componentDidCatch==="function"&&($.callback=function(){RA(Q),J0(W.source,Bq,U,Q,W),typeof M!=="function"&&(mI===null?mI=new Set([this]):mI.add(this)),xk(this,W),typeof M==="function"||(Q.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.",t(Q)||"Unknown")})}function ON($,U,Q,W,M){if(Q.flags|=32768,L1&&yY($,M),W!==null&&typeof W==="object"&&typeof W.then==="function"){if(U=Q.alternate,U!==null&&AJ(U,Q,M,!0),p$&&(q1=!0),Q=z4.current,Q!==null){switch(Q.tag){case 31:case 13:return v4===null?xO():Q.alternate===null&&kU===UI&&(kU=SZ),Q.flags&=-257,Q.flags|=65536,Q.lanes=M,W===qZ?Q.flags|=16384:(U=Q.updateQueue,U===null?Q.updateQueue=new Set([W]):U.add(W),B8($,W,M)),!1;case 22:return Q.flags|=65536,W===qZ?Q.flags|=16384:(U=Q.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([W])},Q.updateQueue=U):(Q=U.retryQueue,Q===null?U.retryQueue=new Set([W]):Q.add(W)),B8($,W,M)),!1}throw Error("Unexpected Suspense handler tag ("+Q.tag+"). This is a bug in React.")}return B8($,W,M),xO(),!1}if(p$)return q1=!0,U=z4.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=M,W!==yD&&AY($4(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:W}),Q))):(W!==yD&&AY($4(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:W}),Q)),$=$.current.alternate,$.flags|=65536,M&=-M,$.lanes|=M,W=$4(W,Q),M=G8($.stateNode,W,M),KO($,M),kU!==bI&&(kU=bX)),!1;var R=$4(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:W}),Q);if(vG===null?vG=[R]:vG.push(R),kU!==bI&&(kU=bX),U===null)return!0;W=$4(W,Q),Q=U;do{switch(Q.tag){case 3:return Q.flags|=65536,$=M&-M,Q.lanes|=$,$=G8(Q.stateNode,W,$),KO(Q,$),!1;case 1:if(U=Q.type,R=Q.stateNode,(Q.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||R!==null&&typeof R.componentDidCatch==="function"&&(mI===null||!mI.has(R))))return Q.flags|=65536,M&=-M,Q.lanes|=M,M=O8(M),Z8(M,$,Q,W),KO(Q,M),!1}Q=Q.return}while(Q!==null);return!1}function F6($,U,Q,W){U.child=$===null?UP(U,null,Q,W):yX(U,$.child,Q,W)}function Nq($,U,Q,W,M){Q=Q.render;var R=U.ref;if("ref"in W){var k={};for(var f in W)f!=="ref"&&(k[f]=W[f])}else k=W;if(AX(U),W=xV($,U,Q,k,R,M),f=fV(),$!==null&&!U6)return yV($,U,M),b1($,U,M);return p$&&f&&LV(U),U.flags|=1,F6($,U,W,M),U.child}function kq($,U,Q,W,M){if($===null){var R=Q.type;if(typeof R==="function"&&!DV(R)&&R.defaultProps===void 0&&Q.compare===null)return Q=FX(R),U.tag=15,U.type=Q,K8(U,R),gq($,U,Q,W,M);return $=WV(Q.type,null,W,U,U.mode,M),$.ref=U.ref,$.return=U,U.child=$}if(R=$.child,!L8($,M)){var k=R.memoizedProps;if(Q=Q.compare,Q=Q!==null?Q:LY,Q(k,W)&&$.ref===U.ref)return b1($,U,M)}return U.flags|=1,$=w1(R,W),$.ref=U.ref,$.return=U,U.child=$}function gq($,U,Q,W,M){if($!==null){var R=$.memoizedProps;if(LY(R,W)&&$.ref===U.ref&&U.type===$.type)if(U6=!1,U.pendingProps=W=R,L8($,M))($.flags&131072)!==0&&(U6=!0);else return U.lanes=$.lanes,b1($,U,M)}return z8($,U,Q,W,M)}function xq($,U,Q,W){var M=W.children,R=$!==null?$.memoizedState:null;if($===null&&U.stateNode===null&&(U.stateNode={_visibility:JG,_pendingMarkers:null,_retryCache:null,_transitions:null}),W.mode==="hidden"){if((U.flags&128)!==0){if(R=R!==null?R.baseLanes|Q:Q,$!==null){W=U.child=$.child;for(M=0;W!==null;)M=M|W.lanes|W.childLanes,W=W.sibling;W=M&~R}else W=0,U.child=null;return wq($,U,R,Q,W)}if((Q&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},$!==null&&QO(U,R!==null?R.cachePool:null),R!==null?tA(U,R):BV(U),aA(U);else return W=U.lanes=536870912,wq($,U,R!==null?R.baseLanes|Q:Q,Q,W)}else R!==null?(QO(U,R.cachePool),tA(U,R),AI(U),U.memoizedState=null):($!==null&&QO(U,null),BV(U),AI(U));return F6($,U,M,Q),U.child}function BY($,U){return $!==null&&$.tag===22||U.stateNode!==null||(U.stateNode={_visibility:JG,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function wq($,U,Q,W,M){var R=_V();return R=R===null?null:{parent:sU._currentValue,pool:R},U.memoizedState={baseLanes:Q,cachePool:R},$!==null&&QO(U,null),BV(U),aA(U),$!==null&&AJ($,U,W,!0),U.childLanes=M,null}function _O($,U){var Q=U.hidden;return Q!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,Q===!0?"hidden":Q===!1?"hidden={false}":"hidden={...}",Q?'mode="hidden"':'mode="visible"'),U=jO({mode:U.mode,children:U.children},$.mode),U.ref=$.ref,$.child=U,U.return=$,U}function fq($,U,Q){return yX(U,$.child,null,Q),$=_O(U,U.pendingProps),$.flags|=2,X4(U),U.memoizedState=null,$}function ZN($,U,Q){var W=U.pendingProps,M=(U.flags&128)!==0;if(U.flags&=-129,$===null){if(p$){if(W.mode==="hidden")return $=_O(U,W),U.lanes=536870912,BY(null,$);if(kV(U),($=qU)?(Q=GT($,S4),Q=Q!==null&&Q.data===dX?Q:null,Q!==null&&(W={dehydrated:Q,treeContext:jA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=W,W=_A(Q),W.return=U,U.child=W,M6=U,qU=null)):Q=null,Q===null)throw e2(U,$),DI(U);return U.lanes=536870912,null}return _O(U,W)}var R=$.memoizedState;if(R!==null){var k=R.dehydrated;if(kV(U),M)if(U.flags&256)U.flags&=-257,U=fq($,U,Q);else if(U.memoizedState!==null)U.child=$.child,U.flags|=128,U=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(BA(),(Q&536870912)!==0&&gO(U),U6||AJ($,U,Q,!1),M=(Q&$.childLanes)!==0,U6||M){if(W=OU,W!==null&&(k=QU(W,Q),k!==0&&k!==R.retryLane))throw R.retryLane=k,q6($,k),xU(W,$,k),IW;xO(),U=fq($,U,Q)}else $=R.treeContext,qU=Q4(k.nextSibling),M6=U,p$=!0,kI=null,q1=!1,Z4=null,S4=!1,$!==null&&vA(U,$),U=_O(U,W),U.flags|=4096;return U}return R=$.child,W={mode:W.mode,children:W.children},(Q&536870912)!==0&&(Q&$.lanes)!==0&&gO(U),$=w1(R,W),$.ref=U.ref,U.child=$,$.return=U,$}function SO($,U){var Q=U.ref;if(Q===null)$!==null&&$.ref!==null&&(U.flags|=4194816);else{if(typeof Q!=="function"&&typeof Q!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==Q)U.flags|=4194816}}function z8($,U,Q,W,M){if(Q.prototype&&typeof Q.prototype.render==="function"){var R=L0(Q)||"Unknown";TP[R]||(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.",R,R),TP[R]=!0)}if(U.mode&T6&&m4.recordLegacyContextWarning(U,null),$===null&&(K8(U,U.type),Q.contextTypes&&(R=L0(Q)||"Unknown",PP[R]||(PP[R]=!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)",R)))),AX(U),Q=xV($,U,Q,W,void 0,M),W=fV(),$!==null&&!U6)return yV($,U,M),b1($,U,M);return p$&&W&&LV(U),U.flags|=1,F6($,U,Q,M),U.child}function yq($,U,Q,W,M,R){if(AX(U),e1=-1,TG=$!==null&&$.type!==U.type,U.updateQueue=null,Q=wV(U,W,Q,M),sA($,U),W=fV(),$!==null&&!U6)return yV($,U,R),b1($,U,R);return p$&&W&&LV(U),U.flags|=1,F6($,U,Q,R),U.child}function uq($,U,Q,W,M){switch(O(U)){case!1:var R=U.stateNode,k=new U.type(U.memoizedProps,R.context).state;R.updater.enqueueSetState(R,k,null);break;case!0:U.flags|=128,U.flags|=65536,R=Error("Simulated error coming from DevTools");var f=M&-M;if(U.lanes|=f,k=OU,k===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=O8(f),Z8(f,k,U,$4(R,U)),KO(U,f)}if(AX(U),U.stateNode===null){if(k=NI,R=Q.contextType,"contextType"in Q&&R!==null&&(R===void 0||R.$$typeof!==W1)&&!qP.has(Q)&&(qP.add(Q),f=R===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 R!=="object"?" However, it is set to a "+typeof R+".":R.$$typeof===XD?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(R).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",L0(Q)||"Component",f)),typeof R==="object"&&R!==null&&(k=_U(R)),R=new Q(W,k),U.mode&T6){N0(!0);try{R=new Q(W,k)}finally{N0(!1)}}if(k=U.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,R.updater=$W,U.stateNode=R,R._reactInternals=U,R._reactInternalInstance=KP,typeof Q.getDerivedStateFromProps==="function"&&k===null&&(k=L0(Q)||"Component",DP.has(k)||(DP.add(k),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.",k,R.state===null?"null":"undefined",k))),typeof Q.getDerivedStateFromProps==="function"||typeof R.getSnapshotBeforeUpdate==="function"){var l=f=k=null;if(typeof R.componentWillMount==="function"&&R.componentWillMount.__suppressDeprecationWarning!==!0?k="componentWillMount":typeof R.UNSAFE_componentWillMount==="function"&&(k="UNSAFE_componentWillMount"),typeof R.componentWillReceiveProps==="function"&&R.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof R.UNSAFE_componentWillReceiveProps==="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof R.componentWillUpdate==="function"&&R.componentWillUpdate.__suppressDeprecationWarning!==!0?l="componentWillUpdate":typeof R.UNSAFE_componentWillUpdate==="function"&&(l="UNSAFE_componentWillUpdate"),k!==null||f!==null||l!==null){R=L0(Q)||"Component";var o=typeof Q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";FP.has(R)||(FP.add(R),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,R,o,k!==null?`
|
|
137
|
+
`+k:"",f!==null?`
|
|
138
|
+
`+f:"",l!==null?`
|
|
139
|
+
`+l:""))}}R=U.stateNode,k=L0(Q)||"Component",R.render||(Q.prototype&&typeof Q.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",k):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",k)),!R.getInitialState||R.getInitialState.isReactClassApproved||R.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?",k),R.getDefaultProps&&!R.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.",k),R.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),Q.childContextTypes&&!AP.has(Q)&&(AP.add(Q),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",k)),Q.contextTypes&&!MP.has(Q)&&(MP.add(Q),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)",k)),typeof R.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.",k),Q.prototype&&Q.prototype.isPureReactComponent&&typeof R.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.",L0(Q)||"A pure component"),typeof R.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof R.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().",k),typeof R.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof R.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k),f=R.props!==W,R.props!==void 0&&f&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",k),R.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.",k,k),typeof R.getSnapshotBeforeUpdate!=="function"||typeof R.componentDidUpdate==="function"||WP.has(Q)||(WP.add(Q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",L0(Q))),typeof R.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof R.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof Q.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",k),(f=R.state)&&(typeof f!=="object"||Q6(f))&&console.error("%s.state: must be set to an object or null",k),typeof R.getChildContext==="function"&&typeof Q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k),R=U.stateNode,R.props=W,R.state=U.memoizedState,R.refs={},jV(U),k=Q.contextType,R.context=typeof k==="object"&&k!==null?_U(k):NI,R.state===W&&(k=L0(Q)||"Component",HP.has(k)||(HP.add(k),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.",k))),U.mode&T6&&m4.recordLegacyContextWarning(U,R),m4.recordUnsafeLifecycleWarnings(U,R),R.state=U.memoizedState,k=Q.getDerivedStateFromProps,typeof k==="function"&&(Y8(U,Q,k,W),R.state=U.memoizedState),typeof Q.getDerivedStateFromProps==="function"||typeof R.getSnapshotBeforeUpdate==="function"||typeof R.UNSAFE_componentWillMount!=="function"&&typeof R.componentWillMount!=="function"||(k=R.state,typeof R.componentWillMount==="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount==="function"&&R.UNSAFE_componentWillMount(),k!==R.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t(U)||"Component"),$W.enqueueReplaceState(R,R.state,null)),_Y(U,W,R,M),EY(),R.state=U.memoizedState),typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&p4)!==C$&&(U.flags|=134217728),R=!0}else if($===null){R=U.stateNode;var T0=U.memoizedProps;f=PX(Q,T0),R.props=f;var R0=R.context;l=Q.contextType,k=NI,typeof l==="object"&&l!==null&&(k=_U(l)),o=Q.getDerivedStateFromProps,l=typeof o==="function"||typeof R.getSnapshotBeforeUpdate==="function",T0=U.pendingProps!==T0,l||typeof R.UNSAFE_componentWillReceiveProps!=="function"&&typeof R.componentWillReceiveProps!=="function"||(T0||R0!==k)&&_q(U,R,W,k),uI=!1;var D0=U.memoizedState;R.state=D0,_Y(U,W,R,M),EY(),R0=U.memoizedState,T0||D0!==R0||uI?(typeof o==="function"&&(Y8(U,Q,o,W),R0=U.memoizedState),(f=uI||Eq(U,Q,f,W,D0,R0,k))?(l||typeof R.UNSAFE_componentWillMount!=="function"&&typeof R.componentWillMount!=="function"||(typeof R.componentWillMount==="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount==="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&p4)!==C$&&(U.flags|=134217728)):(typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&p4)!==C$&&(U.flags|=134217728),U.memoizedProps=W,U.memoizedState=R0),R.props=W,R.state=R0,R.context=k,R=f):(typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&p4)!==C$&&(U.flags|=134217728),R=!1)}else{R=U.stateNode,vV($,U),k=U.memoizedProps,l=PX(Q,k),R.props=l,o=U.pendingProps,D0=R.context,R0=Q.contextType,f=NI,typeof R0==="object"&&R0!==null&&(f=_U(R0)),T0=Q.getDerivedStateFromProps,(R0=typeof T0==="function"||typeof R.getSnapshotBeforeUpdate==="function")||typeof R.UNSAFE_componentWillReceiveProps!=="function"&&typeof R.componentWillReceiveProps!=="function"||(k!==o||D0!==f)&&_q(U,R,W,f),uI=!1,D0=U.memoizedState,R.state=D0,_Y(U,W,R,M),EY();var k0=U.memoizedState;k!==o||D0!==k0||uI||$!==null&&$.dependencies!==null&&UO($.dependencies)?(typeof T0==="function"&&(Y8(U,Q,T0,W),k0=U.memoizedState),(l=uI||Eq(U,Q,l,W,D0,k0,f)||$!==null&&$.dependencies!==null&&UO($.dependencies))?(R0||typeof R.UNSAFE_componentWillUpdate!=="function"&&typeof R.componentWillUpdate!=="function"||(typeof R.componentWillUpdate==="function"&&R.componentWillUpdate(W,k0,f),typeof R.UNSAFE_componentWillUpdate==="function"&&R.UNSAFE_componentWillUpdate(W,k0,f)),typeof R.componentDidUpdate==="function"&&(U.flags|=4),typeof R.getSnapshotBeforeUpdate==="function"&&(U.flags|=1024)):(typeof R.componentDidUpdate!=="function"||k===$.memoizedProps&&D0===$.memoizedState||(U.flags|=4),typeof R.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&D0===$.memoizedState||(U.flags|=1024),U.memoizedProps=W,U.memoizedState=k0),R.props=W,R.state=k0,R.context=f,R=l):(typeof R.componentDidUpdate!=="function"||k===$.memoizedProps&&D0===$.memoizedState||(U.flags|=4),typeof R.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&D0===$.memoizedState||(U.flags|=1024),R=!1)}if(f=R,SO($,U),k=(U.flags&128)!==0,f||k){if(f=U.stateNode,O0(U),k&&typeof Q.getDerivedStateFromError!=="function")Q=null,v6=-1;else if(Q=cR(f),U.mode&T6){N0(!0);try{cR(f)}finally{N0(!1)}}U.flags|=1,$!==null&&k?(U.child=yX(U,$.child,null,M),U.child=yX(U,null,Q,M)):F6($,U,Q,M),U.memoizedState=f.state,$=U.child}else $=b1($,U,M);return M=U.stateNode,R&&M.props!==W&&(YQ||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",t(U)||"a component"),YQ=!0),$}function bq($,U,Q,W){return MX(),U.flags|=256,F6($,U,Q,W),U.child}function K8($,U){U&&U.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,U.displayName||U.name||"Component"),typeof U.getDerivedStateFromProps==="function"&&($=L0(U)||"Unknown",EP[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),EP[$]=!0)),typeof U.contextType==="object"&&U.contextType!==null&&(U=L0(U)||"Unknown",RP[U]||(console.error("%s: Function components do not support contextType.",U),RP[U]=!0))}function V8($){return{baseLanes:$,cachePool:yA()}}function D8($,U,Q){return $=$!==null?$.childLanes&~Q:0,U&&($|=o6),$}function hq($,U,Q){var W,M=U.pendingProps;z(U)&&(U.flags|=128);var R=!1,k=(U.flags&128)!==0;if((W=k)||(W=$!==null&&$.memoizedState===null?!1:(tU.current&qG)!==0),W&&(R=!0,U.flags&=-129),W=(U.flags&32)!==0,U.flags&=-33,$===null){if(p$){if(R?MI(U):AI(U),($=qU)?(Q=GT($,S4),Q=Q!==null&&Q.data!==dX?Q:null,Q!==null&&(W={dehydrated:Q,treeContext:jA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=W,W=_A(Q),W.return=U,U.child=W,M6=U,qU=null)):Q=null,Q===null)throw e2(U,$),DI(U);return n8(Q)?U.lanes=32:U.lanes=536870912,null}var f=M.children;if(M=M.fallback,R){AI(U);var l=U.mode;return f=jO({mode:"hidden",children:f},l),M=HX(M,l,Q,null),f.return=U,M.return=U,f.sibling=M,U.child=f,M=U.child,M.memoizedState=V8(Q),M.childLanes=D8($,W,Q),U.memoizedState=XW,BY(null,M)}return MI(U),W8(U,f)}var o=$.memoizedState;if(o!==null){var T0=o.dehydrated;if(T0!==null){if(k)U.flags&256?(MI(U),U.flags&=-257,U=F8($,U,Q)):U.memoizedState!==null?(AI(U),U.child=$.child,U.flags|=128,U=null):(AI(U),f=M.fallback,l=U.mode,M=jO({mode:"visible",children:M.children},l),f=HX(f,l,Q,null),f.flags|=2,M.return=U,f.return=U,M.sibling=f,U.child=M,yX(U,$.child,null,Q),M=U.child,M.memoizedState=V8(Q),M.childLanes=D8($,W,Q),U.memoizedState=XW,U=BY(null,M));else if(MI(U),BA(),(Q&536870912)!==0&&gO(U),n8(T0)){if(W=T0.nextSibling&&T0.nextSibling.dataset,W){f=W.dgst;var R0=W.msg;l=W.stck;var D0=W.cstck}R=R0,W=f,M=l,T0=D0,f=R,l=T0,f=f?Error(f):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),f.stack=M||"",f.digest=W,W=l===void 0?null:l,M={value:f,source:null,stack:W},typeof W==="string"&&fD.set(f,M),AY(M),U=F8($,U,Q)}else if(U6||AJ($,U,Q,!1),W=(Q&$.childLanes)!==0,U6||W){if(W=OU,W!==null&&(M=QU(W,Q),M!==0&&M!==o.retryLane))throw o.retryLane=M,q6($,M),xU(W,$,M),IW;d8(T0)||xO(),U=F8($,U,Q)}else d8(T0)?(U.flags|=192,U.child=$.child,U=null):($=o.treeContext,qU=Q4(T0.nextSibling),M6=U,p$=!0,kI=null,q1=!1,Z4=null,S4=!1,$!==null&&vA(U,$),U=W8(U,M.children),U.flags|=4096);return U}}if(R)return AI(U),f=M.fallback,l=U.mode,D0=$.child,T0=D0.sibling,M=w1(D0,{mode:"hidden",children:M.children}),M.subtreeFlags=D0.subtreeFlags&65011712,T0!==null?f=w1(T0,f):(f=HX(f,l,Q,null),f.flags|=2),f.return=U,M.return=U,M.sibling=f,U.child=M,BY(null,M),M=U.child,f=$.child.memoizedState,f===null?f=V8(Q):(l=f.cachePool,l!==null?(D0=sU._currentValue,l=l.parent!==D0?{parent:D0,pool:D0}:l):l=yA(),f={baseLanes:f.baseLanes|Q,cachePool:l}),M.memoizedState=f,M.childLanes=D8($,W,Q),U.memoizedState=XW,BY($.child,M);return o!==null&&(Q&62914560)===Q&&(Q&$.lanes)!==0&&gO(U),MI(U),Q=$.child,$=Q.sibling,Q=w1(Q,{mode:"visible",children:M.children}),Q.return=U,Q.sibling=null,$!==null&&(W=U.deletions,W===null?(U.deletions=[$],U.flags|=16):W.push($)),U.child=Q,U.memoizedState=null,Q}function W8($,U){return U=jO({mode:"visible",children:U},$.mode),U.return=$,$.child=U}function jO($,U){return $=P(22,$,null,U),$.lanes=0,$}function F8($,U,Q){return yX(U,$.child,null,Q),$=W8(U,U.pendingProps.children),$.flags|=2,U.memoizedState=null,$}function cq($,U,Q){$.lanes|=U;var W=$.alternate;W!==null&&(W.lanes|=U),CV($.return,U,Q)}function H8($,U,Q,W,M,R){var k=$.memoizedState;k===null?$.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:W,tail:Q,tailMode:M,treeForkCount:R}:(k.isBackwards=U,k.rendering=null,k.renderingStartTime=0,k.last=W,k.tail=Q,k.tailMode=M,k.treeForkCount=R)}function pq($,U,Q){var W=U.pendingProps,M=W.revealOrder,R=W.tail,k=W.children,f=tU.current;if((W=(f&qG)!==0)?(f=f&IQ|qG,U.flags|=128):f&=IQ,D(tU,f,U),f=M==null?"null":M,M!=="forwards"&&M!=="unstable_legacy-backwards"&&M!=="together"&&M!=="independent"&&!_P[f])if(_P[f]=!0,M==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(M==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof M==="string")switch(M.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',M,M.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.',M,M.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M);if(f=R==null?"null":R,!_Z[f])if(R==null){if(M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")_Z[f]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else R!=="visible"&&R!=="collapsed"&&R!=="hidden"?(_Z[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',R)):M!=="forwards"&&M!=="backwards"&&M!=="unstable_legacy-backwards"&&(_Z[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',R));$:if((M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")&&k!==void 0&&k!==null&&k!==!1)if(Q6(k)){for(f=0;f<k.length;f++)if(!oA(k[f],f))break $}else if(f=F0(k),typeof f==="function"){if(f=f.call(k))for(var l=f.next(),o=0;!l.done;l=f.next()){if(!oA(l.value,o))break $;o++}}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?',M);if(F6($,U,k,Q),p$?(VI(),k=QG):k=0,!W&&$!==null&&($.flags&128)!==0)$:for($=U.child;$!==null;){if($.tag===13)$.memoizedState!==null&&cq($,Q,U);else if($.tag===19)cq($,Q,U);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===U)break $;for(;$.sibling===null;){if($.return===null||$.return===U)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(M){case"forwards":Q=U.child;for(M=null;Q!==null;)$=Q.alternate,$!==null&&VO($)===null&&(M=Q),Q=Q.sibling;Q=M,Q===null?(M=U.child,U.child=null):(M=Q.sibling,Q.sibling=null),H8(U,!1,M,Q,R,k);break;case"backwards":case"unstable_legacy-backwards":Q=null,M=U.child;for(U.child=null;M!==null;){if($=M.alternate,$!==null&&VO($)===null){U.child=M;break}$=M.sibling,M.sibling=Q,Q=M,M=$}H8(U,!0,Q,null,R,k);break;case"together":H8(U,!1,null,null,void 0,k);break;default:U.memoizedState=null}return U.child}function b1($,U,Q){if($!==null&&(U.dependencies=$.dependencies),v6=-1,cI|=U.lanes,(Q&U.childLanes)===0)if($!==null){if(AJ($,U,Q,!1),(Q&U.childLanes)===0)return null}else return null;if($!==null&&U.child!==$.child)throw Error("Resuming work not yet implemented.");if(U.child!==null){$=U.child,Q=w1($,$.pendingProps),U.child=Q;for(Q.return=U;$.sibling!==null;)$=$.sibling,Q=Q.sibling=w1($,$.pendingProps),Q.return=U;Q.sibling=null}return U.child}function L8($,U){if(($.lanes&U)!==0)return!0;return $=$.dependencies,$!==null&&UO($)?!0:!1}function zN($,U,Q){switch(U.tag){case 3:V(U,U.stateNode.containerInfo),WI(U,sU,$.memoizedState.cache),MX();break;case 27:case 5:S(U);break;case 4:V(U,U.stateNode.containerInfo);break;case 10:WI(U,U.type,U.memoizedProps.value);break;case 12:(Q&U.childLanes)!==0&&(U.flags|=4),U.flags|=2048;var W=U.stateNode;W.effectDuration=-0,W.passiveEffectDuration=-0;break;case 31:if(U.memoizedState!==null)return U.flags|=128,kV(U),null;break;case 13:if(W=U.memoizedState,W!==null){if(W.dehydrated!==null)return MI(U),U.flags|=128,null;if((Q&U.child.childLanes)!==0)return hq($,U,Q);return MI(U),$=b1($,U,Q),$!==null?$.sibling:null}MI(U);break;case 19:var M=($.flags&128)!==0;if(W=(Q&U.childLanes)!==0,W||(AJ($,U,Q,!1),W=(Q&U.childLanes)!==0),M){if(W)return pq($,U,Q);U.flags|=128}if(M=U.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),D(tU,tU.current,U),W)break;else return null;case 22:return U.lanes=0,xq($,U,Q,U.pendingProps);case 24:WI(U,sU,$.memoizedState.cache)}return b1($,U,Q)}function M8($,U,Q){if(U._debugNeedsRemount&&$!==null){Q=WV(U.type,U.key,U.pendingProps,U._debugOwner||null,U.mode,U.lanes),Q._debugStack=U._debugStack,Q._debugTask=U._debugTask;var W=U.return;if(W===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,U.alternate=null,Q.index=U.index,Q.sibling=U.sibling,Q.return=U.return,Q.ref=U.ref,Q._debugInfo=U._debugInfo,U===W.child)W.child=Q;else{var M=W.child;if(M===null)throw Error("Expected parent to have a child.");for(;M.sibling!==U;)if(M=M.sibling,M===null)throw Error("Expected to find the previous sibling.");M.sibling=Q}return U=W.deletions,U===null?(W.deletions=[$],W.flags|=16):U.push($),Q.flags|=2,Q}if($!==null)if($.memoizedProps!==U.pendingProps||U.type!==$.type)U6=!0;else{if(!L8($,Q)&&(U.flags&128)===0)return U6=!1,zN($,U,Q);U6=($.flags&131072)!==0?!0:!1}else{if(U6=!1,W=p$)VI(),W=(U.flags&1048576)!==0;W&&(W=U.index,VI(),SA(U,QG,W))}switch(U.lanes=0,U.tag){case 16:$:if(W=U.pendingProps,$=FI(U.elementType),U.type=$,typeof $==="function")DV($)?(W=PX($,W),U.tag=1,U.type=$=FX($),U=uq(null,U,$,W,Q)):(U.tag=0,K8(U,$),U.type=$=FX($),U=z8(null,U,$,W,Q));else{if($!==void 0&&$!==null){if(M=$.$$typeof,M===nY){U.tag=11,U.type=$=VV($),U=Nq(null,U,$,W,Q);break $}else if(M===iO){U.tag=14,U=kq(null,U,$,W,Q);break $}}throw U="",$!==null&&typeof $==="object"&&$.$$typeof===Y4&&(U=" Did you wrap a component in React.lazy() more than once?"),Q=L0($)||$,Error("Element type is invalid. Received a promise that resolves to: "+Q+". Lazy element type must resolve to a class or function."+U)}return U;case 0:return z8($,U,U.type,U.pendingProps,Q);case 1:return W=U.type,M=PX(W,U.pendingProps),uq($,U,W,M,Q);case 3:$:{if(V(U,U.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");W=U.pendingProps;var R=U.memoizedState;M=R.element,vV($,U),_Y(U,W,null,Q);var k=U.memoizedState;if(W=k.cache,WI(U,sU,W),W!==R.cache&&TV(U,[sU],Q,!0),EY(),W=k.element,R.isDehydrated)if(R={element:W,isDehydrated:!1,cache:k.cache},U.updateQueue.baseState=R,U.memoizedState=R,U.flags&256){U=bq($,U,W,Q);break $}else if(W!==M){M=$4(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),U),AY(M),U=bq($,U,W,Q);break $}else{switch($=U.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}qU=Q4($.firstChild),M6=U,p$=!0,kI=null,q1=!1,Z4=null,S4=!0,Q=UP(U,null,W,Q);for(U.child=Q;Q;)Q.flags=Q.flags&-3|4096,Q=Q.sibling}else{if(MX(),W===M){U=b1($,U,Q);break $}F6($,U,W,Q)}U=U.child}return U;case 26:return SO($,U),$===null?(Q=DT(U.type,null,U.pendingProps,null))?U.memoizedState=Q:p$||(Q=U.type,$=U.pendingProps,W=H(EI.current),W=uO(W).createElement(Q),W[L6]=U,W[_6]=$,H6(W,Q,$),V$(W),U.stateNode=W):U.memoizedState=DT(U.type,$.memoizedProps,U.pendingProps,$.memoizedState),null;case 27:return S(U),$===null&&p$&&(W=H(EI.current),M=T(),W=U.stateNode=KT(U.type,U.pendingProps,W,M,!1),q1||(M=eC(W,U.type,U.pendingProps,M),M!==null&&(LX(U,0).serverProps=M)),M6=U,S4=!0,M=qU,RI(U.type)?(_W=M,qU=Q4(W.firstChild)):qU=M),F6($,U,U.pendingProps.children,Q),SO($,U),$===null&&(U.flags|=4194304),U.child;case 5:return $===null&&p$&&(R=T(),W=JV(U.type,R.ancestorInfo),M=qU,(k=!M)||(k=sN(M,U.type,U.pendingProps,S4),k!==null?(U.stateNode=k,q1||(R=eC(k,U.type,U.pendingProps,R),R!==null&&(LX(U,0).serverProps=R)),M6=U,qU=Q4(k.firstChild),S4=!1,R=!0):R=!1,k=!R),k&&(W&&e2(U,M),DI(U))),S(U),M=U.type,R=U.pendingProps,k=$!==null?$.memoizedProps:null,W=R.children,m8(M,R)?W=null:k!==null&&m8(M,k)&&(U.flags|=32),U.memoizedState!==null&&(M=xV($,U,IN,null,null,Q),uG._currentValue=M),SO($,U),F6($,U,W,Q),U.child;case 6:return $===null&&p$&&(Q=U.pendingProps,$=T(),W=$.ancestorInfo.current,Q=W!=null?m2(Q,W.tag,$.ancestorInfo.implicitRootScope):!0,$=qU,(W=!$)||(W=eN($,U.pendingProps,S4),W!==null?(U.stateNode=W,M6=U,qU=null,W=!0):W=!1,W=!W),W&&(Q&&e2(U,$),DI(U))),null;case 13:return hq($,U,Q);case 4:return V(U,U.stateNode.containerInfo),W=U.pendingProps,$===null?U.child=yX(U,null,W,Q):F6($,U,W,Q),U.child;case 11:return Nq($,U,U.type,U.pendingProps,Q);case 7:return F6($,U,U.pendingProps,Q),U.child;case 8:return F6($,U,U.pendingProps.children,Q),U.child;case 12:return U.flags|=4,U.flags|=2048,W=U.stateNode,W.effectDuration=-0,W.passiveEffectDuration=-0,F6($,U,U.pendingProps.children,Q),U.child;case 10:return W=U.type,M=U.pendingProps,R=M.value,"value"in M||SP||(SP=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),WI(U,W,R),F6($,U,M.children,Q),U.child;case 9:return M=U.type._context,W=U.pendingProps.children,typeof W!=="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."),AX(U),M=_U(M),W=lD(W,M,void 0),U.flags|=1,F6($,U,W,Q),U.child;case 14:return kq($,U,U.type,U.pendingProps,Q);case 15:return gq($,U,U.type,U.pendingProps,Q);case 19:return pq($,U,Q);case 31:return ZN($,U,Q);case 22:return xq($,U,Q,U.pendingProps);case 24:return AX(U),W=_U(sU),$===null?(M=_V(),M===null&&(M=OU,R=RV(),M.pooledCache=R,qX(R),R!==null&&(M.pooledCacheLanes|=Q),M=R),U.memoizedState={parent:W,cache:M},jV(U),WI(U,sU,M)):(($.lanes&Q)!==0&&(vV($,U),_Y(U,null,null,Q),EY()),M=$.memoizedState,R=U.memoizedState,M.parent!==W?(M={parent:W,cache:W},U.memoizedState=M,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=M),WI(U,sU,W)):(W=R.cache,WI(U,sU,W),W!==M.cache&&TV(U,[sU],Q,!0))),F6($,U,U.pendingProps.children,Q),U.child;case 29:throw U.pendingProps}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function h1($){$.flags|=4}function A8($,U,Q,W,M){if(U=($.mode&Bk)!==C$)U=!1;if(U){if($.flags|=16777216,(M&335544128)===M)if($.stateNode.complete)$.flags|=8192;else if(CC())$.flags|=8192;else throw fX=qZ,nD}else $.flags&=-16777217}function mq($,U){if(U.type!=="stylesheet"||(U.state.loading&k4)!==iX)$.flags&=-16777217;else if($.flags|=16777216,!MT(U))if(CC())$.flags|=8192;else throw fX=qZ,nD}function vO($,U){U!==null&&($.flags|=4),$.flags&16384&&(U=$.tag!==22?L$():536870912,$.lanes|=U,pX|=U)}function NY($,U){if(!p$)switch($.tailMode){case"hidden":U=$.tail;for(var Q=null;U!==null;)U.alternate!==null&&(Q=U),U=U.sibling;Q===null?$.tail=null:Q.sibling=null;break;case"collapsed":Q=$.tail;for(var W=null;Q!==null;)Q.alternate!==null&&(W=Q),Q=Q.sibling;W===null?U||$.tail===null?$.tail=null:$.tail.sibling=null:W.sibling=null}}function DU($){var U=$.alternate!==null&&$.alternate.child===$.child,Q=0,W=0;if(U)if(($.mode&N$)!==C$){for(var{selfBaseDuration:M,child:R}=$;R!==null;)Q|=R.lanes|R.childLanes,W|=R.subtreeFlags&65011712,W|=R.flags&65011712,M+=R.treeBaseDuration,R=R.sibling;$.treeBaseDuration=M}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,W|=M.subtreeFlags&65011712,W|=M.flags&65011712,M.return=$,M=M.sibling;else if(($.mode&N$)!==C$){M=$.actualDuration,R=$.selfBaseDuration;for(var k=$.child;k!==null;)Q|=k.lanes|k.childLanes,W|=k.subtreeFlags,W|=k.flags,M+=k.actualDuration,R+=k.treeBaseDuration,k=k.sibling;$.actualDuration=M,$.treeBaseDuration=R}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,W|=M.subtreeFlags,W|=M.flags,M.return=$,M=M.sibling;return $.subtreeFlags|=W,$.childLanes=Q,U}function KN($,U,Q){var W=U.pendingProps;switch(MV(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return DU(U),null;case 1:return DU(U),null;case 3:if(Q=U.stateNode,W=null,$!==null&&(W=$.memoizedState.cache),U.memoizedState.cache!==W&&(U.flags|=2048),y1(sU,U),F(U),Q.pendingContext&&(Q.context=Q.pendingContext,Q.pendingContext=null),$===null||$.child===null)MJ(U)?(qV(),h1(U)):$===null||$.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,AV());return DU(U),null;case 26:var{type:M,memoizedState:R}=U;return $===null?(h1(U),R!==null?(DU(U),mq(U,R)):(DU(U),A8(U,M,null,W,Q))):R?R!==$.memoizedState?(h1(U),DU(U),mq(U,R)):(DU(U),U.flags&=-16777217):($=$.memoizedProps,$!==W&&h1(U),DU(U),A8(U,M,$,W,Q)),null;case 27:if(A(U),Q=H(EI.current),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==W&&h1(U);else{if(!W){if(U.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 DU(U),null}$=T(),MJ(U)?NA(U,$):($=KT(M,W,Q,$,!0),U.stateNode=$,h1(U))}return DU(U),null;case 5:if(A(U),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==W&&h1(U);else{if(!W){if(U.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 DU(U),null}var k=T();if(MJ(U))NA(U,k);else{switch(R=H(EI.current),JV(M,k.ancestorInfo),k=k.context,R=uO(R),k){case WQ:R=R.createElementNS(uJ,M);break;case nZ:R=R.createElementNS(UZ,M);break;default:switch(M){case"svg":R=R.createElementNS(uJ,M);break;case"math":R=R.createElementNS(UZ,M);break;case"script":R=R.createElement("div"),R.innerHTML="<script></script>",R=R.removeChild(R.firstChild);break;case"select":R=typeof W.is==="string"?R.createElement("select",{is:W.is}):R.createElement("select"),W.multiple?R.multiple=!0:W.size&&(R.size=W.size);break;default:R=typeof W.is==="string"?R.createElement(M,{is:W.is}):R.createElement(M),M.indexOf("-")===-1&&(M!==M.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",M),Object.prototype.toString.call(R)!=="[object HTMLUnknownElement]"||h4.call(aP,M)||(aP[M]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",M)))}}R[L6]=U,R[_6]=W;$:for(k=U.child;k!==null;){if(k.tag===5||k.tag===6)R.appendChild(k.stateNode);else if(k.tag!==4&&k.tag!==27&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===U)break $;for(;k.sibling===null;){if(k.return===null||k.return===U)break $;k=k.return}k.sibling.return=k.return,k=k.sibling}U.stateNode=R;$:switch(H6(R,M,W),M){case"button":case"input":case"select":case"textarea":W=!!W.autoFocus;break $;case"img":W=!0;break $;default:W=!1}W&&h1(U)}}return DU(U),A8(U,U.type,$===null?null:$.memoizedProps,U.pendingProps,Q),null;case 6:if($&&U.stateNode!=null)$.memoizedProps!==W&&h1(U);else{if(typeof W!=="string"&&U.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($=H(EI.current),Q=T(),MJ(U)){if($=U.stateNode,Q=U.memoizedProps,M=!q1,W=null,R=M6,R!==null)switch(R.tag){case 3:M&&(M=ZT($,Q,W),M!==null&&(LX(U,0).serverProps=M));break;case 27:case 5:W=R.memoizedProps,M&&(M=ZT($,Q,W),M!==null&&(LX(U,0).serverProps=M))}$[L6]=U,$=$.nodeValue===Q||W!==null&&W.suppressHydrationWarning===!0||iC($.nodeValue,Q)?!0:!1,$||DI(U,!0)}else M=Q.ancestorInfo.current,M!=null&&m2(W,M.tag,Q.ancestorInfo.implicitRootScope),$=uO($).createTextNode(W),$[L6]=U,U.stateNode=$}return DU(U),null;case 31:if(Q=U.memoizedState,$===null||$.memoizedState!==null){if(W=MJ(U),Q!==null){if($===null){if(!W)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=U.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[L6]=U,DU(U),(U.mode&N$)!==C$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration))}else qV(),MX(),(U.flags&128)===0&&(Q=U.memoizedState=null),U.flags|=4,DU(U),(U.mode&N$)!==C$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration));$=!1}else Q=AV(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Q),$=!0;if(!$){if(U.flags&256)return X4(U),U;return X4(U),null}if((U.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return DU(U),null;case 13:if(W=U.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(M=W,R=MJ(U),M!==null&&M.dehydrated!==null){if($===null){if(!R)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(R=U.memoizedState,R=R!==null?R.dehydrated:null,!R)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R[L6]=U,DU(U),(U.mode&N$)!==C$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration))}else qV(),MX(),(U.flags&128)===0&&(M=U.memoizedState=null),U.flags|=4,DU(U),(U.mode&N$)!==C$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration));M=!1}else M=AV(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=M),M=!0;if(!M){if(U.flags&256)return X4(U),U;return X4(U),null}}if(X4(U),(U.flags&128)!==0)return U.lanes=Q,(U.mode&N$)!==C$&&TY(U),U;return Q=W!==null,$=$!==null&&$.memoizedState!==null,Q&&(W=U.child,M=null,W.alternate!==null&&W.alternate.memoizedState!==null&&W.alternate.memoizedState.cachePool!==null&&(M=W.alternate.memoizedState.cachePool.pool),R=null,W.memoizedState!==null&&W.memoizedState.cachePool!==null&&(R=W.memoizedState.cachePool.pool),R!==M&&(W.flags|=2048)),Q!==$&&Q&&(U.child.flags|=8192),vO(U,U.updateQueue),DU(U),(U.mode&N$)!==C$&&Q&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return F(U),$===null&&f8(U.stateNode.containerInfo),DU(U),null;case 10:return y1(U.type,U),DU(U),null;case 19:if(Y(tU,U),W=U.memoizedState,W===null)return DU(U),null;if(M=(U.flags&128)!==0,R=W.rendering,R===null)if(M)NY(W,!1);else{if(kU!==UI||$!==null&&($.flags&128)!==0)for($=U.child;$!==null;){if(R=VO($),R!==null){U.flags|=128,NY(W,!1),$=R.updateQueue,U.updateQueue=$,vO(U,$),U.subtreeFlags=0,$=Q;for(Q=U.child;Q!==null;)EA(Q,$),Q=Q.sibling;return D(tU,tU.current&IQ|qG,U),p$&&f1(U,W.treeForkCount),U.child}$=$.sibling}W.tail!==null&&Z6()>gZ&&(U.flags|=128,M=!0,NY(W,!1),U.lanes=4194304)}else{if(!M)if($=VO(R),$!==null){if(U.flags|=128,M=!0,$=$.updateQueue,U.updateQueue=$,vO(U,$),NY(W,!0),W.tail===null&&W.tailMode==="hidden"&&!R.alternate&&!p$)return DU(U),null}else 2*Z6()-W.renderingStartTime>gZ&&Q!==536870912&&(U.flags|=128,M=!0,NY(W,!1),U.lanes=4194304);W.isBackwards?(R.sibling=U.child,U.child=R):($=W.last,$!==null?$.sibling=R:U.child=R,W.last=R)}if(W.tail!==null)return $=W.tail,W.rendering=$,W.tail=$.sibling,W.renderingStartTime=Z6(),$.sibling=null,Q=tU.current,Q=M?Q&IQ|qG:Q&IQ,D(tU,Q,U),p$&&f1(U,W.treeForkCount),$;return DU(U),null;case 22:case 23:return X4(U),NV(U),W=U.memoizedState!==null,$!==null?$.memoizedState!==null!==W&&(U.flags|=8192):W&&(U.flags|=8192),W?(Q&536870912)!==0&&(U.flags&128)===0&&(DU(U),U.subtreeFlags&6&&(U.flags|=8192)):DU(U),Q=U.updateQueue,Q!==null&&vO(U,Q.retryQueue),Q=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),W=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(W=U.memoizedState.cachePool.pool),W!==Q&&(U.flags|=2048),$!==null&&Y(xX,U),null;case 24:return Q=null,$!==null&&(Q=$.memoizedState.cache),U.memoizedState.cache!==Q&&(U.flags|=2048),y1(sU,U),DU(U),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function VN($,U){switch(MV(U),U.tag){case 1:return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&TY(U),U):null;case 3:return y1(sU,U),F(U),$=U.flags,($&65536)!==0&&($&128)===0?(U.flags=$&-65537|128,U):null;case 26:case 27:case 5:return A(U),null;case 31:if(U.memoizedState!==null){if(X4(U),U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");MX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&TY(U),U):null;case 13:if(X4(U),$=U.memoizedState,$!==null&&$.dehydrated!==null){if(U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");MX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&TY(U),U):null;case 19:return Y(tU,U),null;case 4:return F(U),null;case 10:return y1(U.type,U),null;case 22:case 23:return X4(U),NV(U),$!==null&&Y(xX,U),$=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&TY(U),U):null;case 24:return y1(sU,U),null;case 25:return null;default:return null}}function lq($,U){switch(MV(U),U.tag){case 3:y1(sU,U),F(U);break;case 26:case 27:case 5:A(U);break;case 4:F(U);break;case 31:U.memoizedState!==null&&X4(U);break;case 13:X4(U);break;case 19:Y(tU,U);break;case 10:y1(U.type,U);break;case 22:case 23:X4(U),NV(U),$!==null&&Y(xX,U);break;case 24:y1(sU,U)}}function G1($){return($.mode&N$)!==C$}function dq($,U){G1($)?(Y1(),kY(U,$),Q1()):kY(U,$)}function q8($,U,Q){G1($)?(Y1(),PJ(Q,$,U),Q1()):PJ(Q,$,U)}function kY($,U){try{var Q=U.updateQueue,W=Q!==null?Q.lastEffect:null;if(W!==null){var M=W.next;Q=M;do{if((Q.tag&$)===$&&(W=void 0,($&B6)!==TZ&&(KQ=!0),W=J0(U,wk,Q),($&B6)!==TZ&&(KQ=!1),W!==void 0&&typeof W!=="function")){var R=void 0;R=(Q.tag&K4)!==0?"useLayoutEffect":(Q.tag&B6)!==0?"useInsertionEffect":"useEffect";var k=void 0;k=W===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof W.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+R+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+R+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+W,J0(U,function(f,l){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,l)},R,k)}Q=Q.next}while(Q!==M)}}catch(f){a$(U,U.return,f)}}function PJ($,U,Q){try{var W=U.updateQueue,M=W!==null?W.lastEffect:null;if(M!==null){var R=M.next;W=R;do{if((W.tag&$)===$){var k=W.inst,f=k.destroy;f!==void 0&&(k.destroy=void 0,($&B6)!==TZ&&(KQ=!0),M=U,J0(M,fk,M,Q,f),($&B6)!==TZ&&(KQ=!1))}W=W.next}while(W!==R)}}catch(l){a$(U,U.return,l)}}function nq($,U){G1($)?(Y1(),kY(U,$),Q1()):kY(U,$)}function C8($,U,Q){G1($)?(Y1(),PJ(Q,$,U),Q1()):PJ(Q,$,U)}function oq($){var U=$.updateQueue;if(U!==null){var Q=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||YQ||(Q.props!==$.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.",t($)||"instance"),Q.state!==$.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.",t($)||"instance"));try{J0($,rA,U,Q)}catch(W){a$($,$.return,W)}}}function DN($,U,Q){return $.getSnapshotBeforeUpdate(U,Q)}function WN($,U){var{memoizedProps:Q,memoizedState:W}=U;U=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||YQ||(U.props!==$.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.",t($)||"instance"),U.state!==$.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.",t($)||"instance"));try{var M=PX($.type,Q),R=J0($,DN,U,M,W);Q=jP,R!==void 0||Q.has($.type)||(Q.add($.type),J0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",t($))})),U.__reactInternalSnapshotBeforeUpdate=R}catch(k){a$($,$.return,k)}}function iq($,U,Q){Q.props=PX($.type,$.memoizedProps),Q.state=$.memoizedState,G1($)?(Y1(),J0($,oR,$,U,Q),Q1()):J0($,oR,$,U,Q)}function FN($){var U=$.ref;if(U!==null){switch($.tag){case 26:case 27:case 5:var Q=$.stateNode;break;case 30:Q=$.stateNode;break;default:Q=$.stateNode}if(typeof U==="function")if(G1($))try{Y1(),$.refCleanup=U(Q)}finally{Q1()}else $.refCleanup=U(Q);else typeof U==="string"?console.error("String refs are no longer supported."):U.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",t($)),U.current=Q}}function gY($,U){try{J0($,FN,$)}catch(Q){a$($,U,Q)}}function O1($,U){var{ref:Q,refCleanup:W}=$;if(Q!==null)if(typeof W==="function")try{if(G1($))try{Y1(),J0($,W)}finally{Q1($)}else J0($,W)}catch(M){a$($,U,M)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof Q==="function")try{if(G1($))try{Y1(),J0($,Q,null)}finally{Q1($)}else J0($,Q,null)}catch(M){a$($,U,M)}else Q.current=null}function rq($,U,Q,W){var M=$.memoizedProps,R=M.id,k=M.onCommit;M=M.onRender,U=U===null?"mount":"update",HZ&&(U="nested-update"),typeof M==="function"&&M(R,U,$.actualDuration,$.treeBaseDuration,$.actualStartTime,Q),typeof k==="function"&&k(R,U,W,Q)}function HN($,U,Q,W){var M=$.memoizedProps;$=M.id,M=M.onPostCommit,U=U===null?"mount":"update",HZ&&(U="nested-update"),typeof M==="function"&&M($,U,W,Q)}function tq($){var{type:U,memoizedProps:Q,stateNode:W}=$;try{J0($,hN,W,U,Q,$)}catch(M){a$($,$.return,M)}}function T8($,U,Q){try{J0($,pN,$.stateNode,$.type,Q,U,$)}catch(W){a$($,$.return,W)}}function aq($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&RI($.type)||$.tag===4}function R8($){$:for(;;){for(;$.sibling===null;){if($.return===null||aq($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&RI($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function P8($,U,Q){var W=$.tag;if(W===5||W===6)$=$.stateNode,U?(JT(Q),(Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q).insertBefore($,U)):(JT(Q),U=Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q,U.appendChild($),Q=Q._reactRootContainer,Q!==null&&Q!==void 0||U.onclick!==null||(U.onclick=x1));else if(W!==4&&(W===27&&RI($.type)&&(Q=$.stateNode,U=null),$=$.child,$!==null))for(P8($,U,Q),$=$.sibling;$!==null;)P8($,U,Q),$=$.sibling}function BO($,U,Q){var W=$.tag;if(W===5||W===6)$=$.stateNode,U?Q.insertBefore($,U):Q.appendChild($);else if(W!==4&&(W===27&&RI($.type)&&(Q=$.stateNode),$=$.child,$!==null))for(BO($,U,Q),$=$.sibling;$!==null;)BO($,U,Q),$=$.sibling}function LN($){for(var U,Q=$.return;Q!==null;){if(aq(Q)){U=Q;break}Q=Q.return}if(U==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(U.tag){case 27:U=U.stateNode,Q=R8($),BO($,Q,U);break;case 5:Q=U.stateNode,U.flags&32&&(XT(Q),U.flags&=-33),U=R8($),BO($,U,Q);break;case 3:case 4:U=U.stateNode.containerInfo,Q=R8($),P8($,Q,U);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function sq($){var{stateNode:U,memoizedProps:Q}=$;try{J0($,J3,$.type,Q,U,$)}catch(W){a$($,$.return,W)}}function eq($,U){return U.tag===31?(U=U.memoizedState,$.memoizedState!==null&&U===null):U.tag===13?($=$.memoizedState,U=U.memoizedState,$!==null&&$.dehydrated!==null&&(U===null||U.dehydrated===null)):U.tag===3?$.memoizedState.isDehydrated&&(U.flags&256)===0:!1}function MN($,U){if($=$.containerInfo,RW=tZ,$=FA($),GV($)){if("selectionStart"in $)var Q={start:$.selectionStart,end:$.selectionEnd};else $:{Q=(Q=$.ownerDocument)&&Q.defaultView||window;var W=Q.getSelection&&Q.getSelection();if(W&&W.rangeCount!==0){Q=W.anchorNode;var{anchorOffset:M,focusNode:R}=W;W=W.focusOffset;try{Q.nodeType,R.nodeType}catch(z$){Q=null;break $}var k=0,f=-1,l=-1,o=0,T0=0,R0=$,D0=null;U:for(;;){for(var k0;;){if(R0!==Q||M!==0&&R0.nodeType!==3||(f=k+M),R0!==R||W!==0&&R0.nodeType!==3||(l=k+W),R0.nodeType===3&&(k+=R0.nodeValue.length),(k0=R0.firstChild)===null)break;D0=R0,R0=k0}for(;;){if(R0===$)break U;if(D0===Q&&++o===M&&(f=k),D0===R&&++T0===W&&(l=k),(k0=R0.nextSibling)!==null)break;R0=D0,D0=R0.parentNode}R0=k0}Q=f===-1||l===-1?null:{start:f,end:l}}else Q=null}Q=Q||{start:0,end:0}}else Q=null;PW={focusedElem:$,selectionRange:Q},tZ=!1;for(K6=U;K6!==null;)if(U=K6,$=U.child,(U.subtreeFlags&1028)!==0&&$!==null)$.return=U,K6=$;else for(;K6!==null;){switch($=U=K6,Q=$.alternate,M=$.flags,$.tag){case 0:if((M&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(Q=0;Q<$.length;Q++)M=$[Q],M.ref.impl=M.nextImpl;break;case 11:case 15:break;case 1:(M&1024)!==0&&Q!==null&&WN($,Q);break;case 3:if((M&1024)!==0){if($=$.stateNode.containerInfo,Q=$.nodeType,Q===9)l8($);else if(Q===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":l8($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((M&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($=U.sibling,$!==null){$.return=U.return,K6=$;break}K6=U.return}}function $C($,U,Q){var W=U4(),M=U1(),R=X1(),k=J1(),f=Q.flags;switch(Q.tag){case 0:case 11:case 15:Z1($,Q),f&4&&dq(Q,K4|B4);break;case 1:if(Z1($,Q),f&4)if($=Q.stateNode,U===null)Q.type.defaultProps||"ref"in Q.memoizedProps||YQ||($.props!==Q.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.",t(Q)||"instance"),$.state!==Q.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.",t(Q)||"instance")),G1(Q)?(Y1(),J0(Q,dD,Q,$),Q1()):J0(Q,dD,Q,$);else{var l=PX(Q.type,U.memoizedProps);U=U.memoizedState,Q.type.defaultProps||"ref"in Q.memoizedProps||YQ||($.props!==Q.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.",t(Q)||"instance"),$.state!==Q.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.",t(Q)||"instance")),G1(Q)?(Y1(),J0(Q,lR,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate),Q1()):J0(Q,lR,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate)}f&64&&oq(Q),f&512&&gY(Q,Q.return);break;case 3:if(U=u1(),Z1($,Q),f&64&&(f=Q.updateQueue,f!==null)){if(l=null,Q.child!==null)switch(Q.child.tag){case 27:case 5:l=Q.child.stateNode;break;case 1:l=Q.child.stateNode}try{J0(Q,rA,f,l)}catch(T0){a$(Q,Q.return,T0)}}$.effectDuration+=XO(U);break;case 27:U===null&&f&4&&sq(Q);case 26:case 5:if(Z1($,Q),U===null){if(f&4)tq(Q);else if(f&64){$=Q.type,U=Q.memoizedProps,l=Q.stateNode;try{J0(Q,cN,l,$,U,Q)}catch(T0){a$(Q,Q.return,T0)}}}f&512&&gY(Q,Q.return);break;case 12:if(f&4){f=u1(),Z1($,Q),$=Q.stateNode,$.effectDuration+=CY(f);try{J0(Q,rq,Q,U,gI,$.effectDuration)}catch(T0){a$(Q,Q.return,T0)}}else Z1($,Q);break;case 31:Z1($,Q),f&4&&XC($,Q);break;case 13:Z1($,Q),f&4&&JC($,Q),f&64&&($=Q.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(f=SN.bind(null,Q),$3($,f))));break;case 22:if(f=Q.memoizedState!==null||$I,!f){U=U!==null&&U.memoizedState!==null||I6,l=$I;var o=I6;$I=f,(I6=U)&&!o?(z1($,Q,(Q.subtreeFlags&8772)!==0),(Q.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&o2(Q,A$,q$)):Z1($,Q),$I=l,I6=o}break;case 30:break;default:Z1($,Q)}(Q.mode&N$)!==C$&&0<=A$&&0<=q$&&((wU||0.05<NU)&&e4(Q,A$,q$,NU,SU),Q.alternate===null&&Q.return!==null&&Q.return.alternate!==null&&0.05<q$-A$&&(eq(Q.return.alternate,Q.return)||s4(Q,A$,q$,"Mount"))),I4(W),I1(M),SU=R,wU=k}function UC($){var U=$.alternate;U!==null&&($.alternate=null,UC(U)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(U=$.stateNode,U!==null&&S0(U)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function c1($,U,Q){for(Q=Q.child;Q!==null;)IC($,U,Q),Q=Q.sibling}function IC($,U,Q){if(C6&&typeof C6.onCommitFiberUnmount==="function")try{C6.onCommitFiberUnmount(fJ,Q)}catch(o){H1||(H1=!0,console.error("React instrumentation encountered an error: %o",o))}var W=U4(),M=U1(),R=X1(),k=J1();switch(Q.tag){case 26:I6||O1(Q,U),c1($,U,Q),Q.memoizedState?Q.memoizedState.count--:Q.stateNode&&($=Q.stateNode,$.parentNode.removeChild($));break;case 27:I6||O1(Q,U);var f=X6,l=d6;RI(Q.type)&&(X6=Q.stateNode,d6=!1),c1($,U,Q),J0(Q,pY,Q.stateNode),X6=f,d6=l;break;case 5:I6||O1(Q,U);case 6:if(f=X6,l=d6,X6=null,c1($,U,Q),X6=f,d6=l,X6!==null)if(d6)try{J0(Q,dN,X6,Q.stateNode)}catch(o){a$(Q,U,o)}else try{J0(Q,lN,X6,Q.stateNode)}catch(o){a$(Q,U,o)}break;case 18:X6!==null&&(d6?($=X6,QT($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,Q.stateNode),kJ($)):QT(X6,Q.stateNode));break;case 4:f=X6,l=d6,X6=Q.stateNode.containerInfo,d6=!0,c1($,U,Q),X6=f,d6=l;break;case 0:case 11:case 14:case 15:PJ(B6,Q,U),I6||q8(Q,U,K4),c1($,U,Q);break;case 1:I6||(O1(Q,U),f=Q.stateNode,typeof f.componentWillUnmount==="function"&&iq(Q,U,f)),c1($,U,Q);break;case 21:c1($,U,Q);break;case 22:I6=(f=I6)||Q.memoizedState!==null,c1($,U,Q),I6=f;break;default:c1($,U,Q)}(Q.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4(Q,A$,q$,NU,SU),I4(W),I1(M),SU=R,wU=k}function XC($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{J0(U,I3,$)}catch(Q){a$(U,U.return,Q)}}}function JC($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{J0(U,X3,$)}catch(Q){a$(U,U.return,Q)}}function AN($){switch($.tag){case 31:case 13:case 19:var U=$.stateNode;return U===null&&(U=$.stateNode=new vP),U;case 22:return $=$.stateNode,U=$._retryCache,U===null&&(U=$._retryCache=new vP),U;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function NO($,U){var Q=AN($);U.forEach(function(W){if(!Q.has(W)){if(Q.add(W),L1)if(GQ!==null&&OQ!==null)yY(OQ,GQ);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var M=jN.bind(null,$,W);W.then(M,M)}})}function m6($,U){var Q=U.deletions;if(Q!==null)for(var W=0;W<Q.length;W++){var M=$,R=U,k=Q[W],f=U4(),l=R;$:for(;l!==null;){switch(l.tag){case 27:if(RI(l.type)){X6=l.stateNode,d6=!1;break $}break;case 5:X6=l.stateNode,d6=!1;break $;case 3:case 4:X6=l.stateNode.containerInfo,d6=!0;break $}l=l.return}if(X6===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");IC(M,R,k),X6=null,d6=!1,(k.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&s4(k,A$,q$,"Unmount"),I4(f),M=k,R=M.alternate,R!==null&&(R.return=null),M.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)QC(U,$),U=U.sibling}function QC($,U){var Q=U4(),W=U1(),M=X1(),R=J1(),k=$.alternate,f=$.flags;switch($.tag){case 0:case 11:case 14:case 15:m6(U,$),l6($),f&4&&(PJ(B6|B4,$,$.return),kY(B6|B4,$),q8($,$.return,K4|B4));break;case 1:if(m6(U,$),l6($),f&512&&(I6||k===null||O1(k,k.return)),f&64&&$I&&(f=$.updateQueue,f!==null&&(k=f.callbacks,k!==null))){var l=f.shared.hiddenCallbacks;f.shared.hiddenCallbacks=l===null?k:l.concat(k)}break;case 26:if(l=d4,m6(U,$),l6($),f&512&&(I6||k===null||O1(k,k.return)),f&4){var o=k!==null?k.memoizedState:null;if(f=$.memoizedState,k===null)if(f===null)if($.stateNode===null){$:{f=$.type,k=$.memoizedProps,l=l.ownerDocument||l;U:switch(f){case"title":if(o=l.getElementsByTagName("title")[0],!o||o[rY]||o[L6]||o.namespaceURI===uJ||o.hasAttribute("itemprop"))o=l.createElement(f),l.head.insertBefore(o,l.querySelector("head > title"));H6(o,f,k),o[L6]=$,V$(o),f=o;break $;case"link":var T0=HT("link","href",l).get(f+(k.href||""));if(T0){for(var R0=0;R0<T0.length;R0++)if(o=T0[R0],o.getAttribute("href")===(k.href==null||k.href===""?null:k.href)&&o.getAttribute("rel")===(k.rel==null?null:k.rel)&&o.getAttribute("title")===(k.title==null?null:k.title)&&o.getAttribute("crossorigin")===(k.crossOrigin==null?null:k.crossOrigin)){T0.splice(R0,1);break U}}o=l.createElement(f),H6(o,f,k),l.head.appendChild(o);break;case"meta":if(T0=HT("meta","content",l).get(f+(k.content||""))){for(R0=0;R0<T0.length;R0++)if(o=T0[R0],n(k.content,"content"),o.getAttribute("content")===(k.content==null?null:""+k.content)&&o.getAttribute("name")===(k.name==null?null:k.name)&&o.getAttribute("property")===(k.property==null?null:k.property)&&o.getAttribute("http-equiv")===(k.httpEquiv==null?null:k.httpEquiv)&&o.getAttribute("charset")===(k.charSet==null?null:k.charSet)){T0.splice(R0,1);break U}}o=l.createElement(f),H6(o,f,k),l.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}o[L6]=$,V$(o),f=o}$.stateNode=f}else LT(l,$.type,$.stateNode);else $.stateNode=FT(l,f,$.memoizedProps);else o!==f?(o===null?k.stateNode!==null&&(k=k.stateNode,k.parentNode.removeChild(k)):o.count--,f===null?LT(l,$.type,$.stateNode):FT(l,f,$.memoizedProps)):f===null&&$.stateNode!==null&&T8($,$.memoizedProps,k.memoizedProps)}break;case 27:m6(U,$),l6($),f&512&&(I6||k===null||O1(k,k.return)),k!==null&&f&4&&T8($,$.memoizedProps,k.memoizedProps);break;case 5:if(m6(U,$),l6($),f&512&&(I6||k===null||O1(k,k.return)),$.flags&32){l=$.stateNode;try{J0($,XT,l)}catch(W$){a$($,$.return,W$)}}f&4&&$.stateNode!=null&&(l=$.memoizedProps,T8($,l,k!==null?k.memoizedProps:l)),f&1024&&(JW=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(m6(U,$),l6($),f&4){if($.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.");f=$.memoizedProps,k=k!==null?k.memoizedProps:f,l=$.stateNode;try{J0($,mN,l,k,f)}catch(W$){a$($,$.return,W$)}}break;case 3:if(l=u1(),oZ=null,o=d4,d4=bO(U.containerInfo),m6(U,$),d4=o,l6($),f&4&&k!==null&&k.memoizedState.isDehydrated)try{J0($,U3,U.containerInfo)}catch(W$){a$($,$.return,W$)}JW&&(JW=!1,YC($)),U.effectDuration+=XO(l);break;case 4:f=d4,d4=bO($.stateNode.containerInfo),m6(U,$),l6($),d4=f;break;case 12:f=u1(),m6(U,$),l6($),$.stateNode.effectDuration+=CY(f);break;case 31:m6(U,$),l6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,NO($,f)));break;case 13:m6(U,$),l6($),$.child.flags&8192&&$.memoizedState!==null!==(k!==null&&k.memoizedState!==null)&&(kZ=Z6()),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,NO($,f)));break;case 22:l=$.memoizedState!==null;var D0=k!==null&&k.memoizedState!==null,k0=$I,z$=I6;if($I=k0||l,I6=z$||D0,m6(U,$),I6=z$,$I=k0,D0&&!l&&!k0&&!z$&&($.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&o2($,A$,q$),l6($),f&8192)$:for(U=$.stateNode,U._visibility=l?U._visibility&~JG:U._visibility|JG,!l||k===null||D0||$I||I6||(EX($),($.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&s4($,A$,q$,"Disconnect")),k=null,U=$;;){if(U.tag===5||U.tag===26){if(k===null){D0=k=U;try{o=D0.stateNode,l?J0(D0,oN,o):J0(D0,tN,D0.stateNode,D0.memoizedProps)}catch(W$){a$(D0,D0.return,W$)}}}else if(U.tag===6){if(k===null){D0=U;try{T0=D0.stateNode,l?J0(D0,iN,T0):J0(D0,aN,T0,D0.memoizedProps)}catch(W$){a$(D0,D0.return,W$)}}}else if(U.tag===18){if(k===null){D0=U;try{R0=D0.stateNode,l?J0(D0,nN,R0):J0(D0,rN,D0.stateNode)}catch(W$){a$(D0,D0.return,W$)}}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===$)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break $;for(;U.sibling===null;){if(U.return===null||U.return===$)break $;k===U&&(k=null),U=U.return}k===U&&(k=null),U.sibling.return=U.return,U=U.sibling}f&4&&(f=$.updateQueue,f!==null&&(k=f.retryQueue,k!==null&&(f.retryQueue=null,NO($,k))));break;case 19:m6(U,$),l6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,NO($,f)));break;case 30:break;case 21:break;default:m6(U,$),l6($)}($.mode&N$)!==C$&&0<=A$&&0<=q$&&((wU||0.05<NU)&&e4($,A$,q$,NU,SU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<q$-A$&&(eq($.return.alternate,$.return)||s4($,A$,q$,"Mount"))),I4(Q),I1(W),SU=M,wU=R}function l6($){var U=$.flags;if(U&2){try{J0($,LN,$)}catch(Q){a$($,$.return,Q)}$.flags&=-3}U&4096&&($.flags&=-4097)}function YC($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var U=$;YC(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),$=$.sibling}}function Z1($,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)$C($,U.alternate,U),U=U.sibling}function GC($){var U=U4(),Q=U1(),W=X1(),M=J1();switch($.tag){case 0:case 11:case 14:case 15:q8($,$.return,K4),EX($);break;case 1:O1($,$.return);var R=$.stateNode;typeof R.componentWillUnmount==="function"&&iq($,$.return,R),EX($);break;case 27:J0($,pY,$.stateNode);case 26:case 5:O1($,$.return),EX($);break;case 22:$.memoizedState===null&&EX($);break;case 30:EX($);break;default:EX($)}($.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4($,A$,q$,NU,SU),I4(U),I1(Q),SU=W,wU=M}function EX($){for($=$.child;$!==null;)GC($),$=$.sibling}function OC($,U,Q,W){var M=U4(),R=U1(),k=X1(),f=J1(),l=Q.flags;switch(Q.tag){case 0:case 11:case 15:z1($,Q,W),dq(Q,K4);break;case 1:if(z1($,Q,W),U=Q.stateNode,typeof U.componentDidMount==="function"&&J0(Q,dD,Q,U),U=Q.updateQueue,U!==null){$=Q.stateNode;try{J0(Q,UN,U,$)}catch(o){a$(Q,Q.return,o)}}W&&l&64&&oq(Q),gY(Q,Q.return);break;case 27:sq(Q);case 26:case 5:z1($,Q,W),W&&U===null&&l&4&&tq(Q),gY(Q,Q.return);break;case 12:if(W&&l&4){l=u1(),z1($,Q,W),W=Q.stateNode,W.effectDuration+=CY(l);try{J0(Q,rq,Q,U,gI,W.effectDuration)}catch(o){a$(Q,Q.return,o)}}else z1($,Q,W);break;case 31:z1($,Q,W),W&&l&4&&XC($,Q);break;case 13:z1($,Q,W),W&&l&4&&JC($,Q);break;case 22:Q.memoizedState===null&&z1($,Q,W),gY(Q,Q.return);break;case 30:break;default:z1($,Q,W)}(Q.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4(Q,A$,q$,NU,SU),I4(M),I1(R),SU=k,wU=f}function z1($,U,Q){Q=Q&&(U.subtreeFlags&8772)!==0;for(U=U.child;U!==null;)OC($,U.alternate,U,Q),U=U.sibling}function E8($,U){var Q=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),$=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&($=U.memoizedState.cachePool.pool),$!==Q&&($!=null&&qX($),Q!=null&&qY(Q))}function _8($,U){$=null,U.alternate!==null&&($=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==$&&(qX(U),$!=null&&qY($))}function b4($,U,Q,W,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(U=U.child;U!==null;){var R=U.sibling;ZC($,U,Q,W,R!==null?R.actualStartTime:M),U=R}}function ZC($,U,Q,W,M){var R=U4(),k=U1(),f=X1(),l=J1(),o=vI,T0=U.flags;switch(U.tag){case 0:case 11:case 15:(U.mode&N$)!==C$&&0<U.actualStartTime&&(U.flags&1)!==0&&i2(U,U.actualStartTime,M,Y6,Q),b4($,U,Q,W,M),T0&2048&&nq(U,N6|B4);break;case 1:(U.mode&N$)!==C$&&0<U.actualStartTime&&((U.flags&128)!==0?ZV(U,U.actualStartTime,M,[]):(U.flags&1)!==0&&i2(U,U.actualStartTime,M,Y6,Q)),b4($,U,Q,W,M);break;case 3:var R0=u1(),D0=Y6;Y6=U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)===0,b4($,U,Q,W,M),Y6=D0,T0&2048&&(Q=null,U.alternate!==null&&(Q=U.alternate.memoizedState.cache),W=U.memoizedState.cache,W!==Q&&(qX(W),Q!=null&&qY(Q))),$.passiveEffectDuration+=XO(R0);break;case 12:if(T0&2048){T0=u1(),b4($,U,Q,W,M),$=U.stateNode,$.passiveEffectDuration+=CY(T0);try{J0(U,HN,U,U.alternate,gI,$.passiveEffectDuration)}catch(k0){a$(U,U.return,k0)}}else b4($,U,Q,W,M);break;case 31:T0=Y6,R0=U.alternate!==null?U.alternate.memoizedState:null,D0=U.memoizedState,R0!==null&&D0===null?(D0=U.deletions,D0!==null&&0<D0.length&&D0[0].tag===18?(Y6=!1,R0=R0.hydrationErrors,R0!==null&&ZV(U,U.actualStartTime,M,R0)):Y6=!0):Y6=!1,b4($,U,Q,W,M),Y6=T0;break;case 13:T0=Y6,R0=U.alternate!==null?U.alternate.memoizedState:null,D0=U.memoizedState,R0===null||R0.dehydrated===null||D0!==null&&D0.dehydrated!==null?Y6=!1:(D0=U.deletions,D0!==null&&0<D0.length&&D0[0].tag===18?(Y6=!1,R0=R0.hydrationErrors,R0!==null&&ZV(U,U.actualStartTime,M,R0)):Y6=!0),b4($,U,Q,W,M),Y6=T0;break;case 23:break;case 22:D0=U.stateNode,R0=U.alternate,U.memoizedState!==null?D0._visibility&l1?b4($,U,Q,W,M):xY($,U,Q,W,M):D0._visibility&l1?b4($,U,Q,W,M):(D0._visibility|=l1,EJ($,U,Q,W,(U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child),M),(U.mode&N$)===C$||Y6||($=U.actualStartTime,0<=$&&0.05<M-$&&o2(U,$,M),0<=A$&&0<=q$&&0.05<q$-A$&&o2(U,A$,q$))),T0&2048&&E8(R0,U);break;case 24:b4($,U,Q,W,M),T0&2048&&_8(U.alternate,U);break;default:b4($,U,Q,W,M)}if((U.mode&N$)!==C$){if($=!Y6&&U.alternate===null&&U.return!==null&&U.return.alternate!==null)Q=U.actualStartTime,0<=Q&&0.05<M-Q&&s4(U,Q,M,"Mount");0<=A$&&0<=q$&&((wU||0.05<NU)&&e4(U,A$,q$,NU,SU),$&&0.05<q$-A$&&s4(U,A$,q$,"Mount"))}I4(R),I1(k),SU=f,wU=l,vI=o}function EJ($,U,Q,W,M,R){M=M&&((U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child));for(U=U.child;U!==null;){var k=U.sibling;zC($,U,Q,W,M,k!==null?k.actualStartTime:R),U=k}}function zC($,U,Q,W,M,R){var k=U4(),f=U1(),l=X1(),o=J1(),T0=vI;M&&(U.mode&N$)!==C$&&0<U.actualStartTime&&(U.flags&1)!==0&&i2(U,U.actualStartTime,R,Y6,Q);var R0=U.flags;switch(U.tag){case 0:case 11:case 15:EJ($,U,Q,W,M,R),nq(U,N6);break;case 23:break;case 22:var D0=U.stateNode;U.memoizedState!==null?D0._visibility&l1?EJ($,U,Q,W,M,R):xY($,U,Q,W,R):(D0._visibility|=l1,EJ($,U,Q,W,M,R)),M&&R0&2048&&E8(U.alternate,U);break;case 24:EJ($,U,Q,W,M,R),M&&R0&2048&&_8(U.alternate,U);break;default:EJ($,U,Q,W,M,R)}(U.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4(U,A$,q$,NU,SU),I4(k),I1(f),SU=l,wU=o,vI=T0}function xY($,U,Q,W,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(var R=U.child;R!==null;){U=R.sibling;var k=$,f=Q,l=W,o=U!==null?U.actualStartTime:M,T0=vI;(R.mode&N$)!==C$&&0<R.actualStartTime&&(R.flags&1)!==0&&i2(R,R.actualStartTime,o,Y6,f);var R0=R.flags;switch(R.tag){case 22:xY(k,R,f,l,o),R0&2048&&E8(R.alternate,R);break;case 24:xY(k,R,f,l,o),R0&2048&&_8(R.alternate,R);break;default:xY(k,R,f,l,o)}vI=T0,R=U}}function _J($,U,Q){if($.subtreeFlags&PG)for($=$.child;$!==null;)KC($,U,Q),$=$.sibling}function KC($,U,Q){switch($.tag){case 26:_J($,U,Q),$.flags&PG&&$.memoizedState!==null&&G3(Q,d4,$.memoizedState,$.memoizedProps);break;case 5:_J($,U,Q);break;case 3:case 4:var W=d4;d4=bO($.stateNode.containerInfo),_J($,U,Q),d4=W;break;case 22:$.memoizedState===null&&(W=$.alternate,W!==null&&W.memoizedState!==null?(W=PG,PG=16777216,_J($,U,Q),PG=W):_J($,U,Q));break;default:_J($,U,Q)}}function VC($){var U=$.alternate;if(U!==null&&($=U.child,$!==null)){U.child=null;do U=$.sibling,$.sibling=null,$=U;while($!==null)}}function wY($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var W=U[Q],M=U4();K6=W,FC(W,$),(W.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&s4(W,A$,q$,"Unmount"),I4(M)}VC($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)DC($),$=$.sibling}function DC($){var U=U4(),Q=U1(),W=X1(),M=J1();switch($.tag){case 0:case 11:case 15:wY($),$.flags&2048&&C8($,$.return,N6|B4);break;case 3:var R=u1();wY($),$.stateNode.passiveEffectDuration+=XO(R);break;case 12:R=u1(),wY($),$.stateNode.passiveEffectDuration+=CY(R);break;case 22:R=$.stateNode,$.memoizedState!==null&&R._visibility&l1&&($.return===null||$.return.tag!==13)?(R._visibility&=~l1,kO($),($.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&s4($,A$,q$,"Disconnect")):wY($);break;default:wY($)}($.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4($,A$,q$,NU,SU),I4(U),I1(Q),wU=M,SU=W}function kO($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var W=U[Q],M=U4();K6=W,FC(W,$),(W.mode&N$)!==C$&&0<=A$&&0<=q$&&0.05<q$-A$&&s4(W,A$,q$,"Unmount"),I4(M)}VC($)}for($=$.child;$!==null;)WC($),$=$.sibling}function WC($){var U=U4(),Q=U1(),W=X1(),M=J1();switch($.tag){case 0:case 11:case 15:C8($,$.return,N6),kO($);break;case 22:var R=$.stateNode;R._visibility&l1&&(R._visibility&=~l1,kO($));break;default:kO($)}($.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4($,A$,q$,NU,SU),I4(U),I1(Q),wU=M,SU=W}function FC($,U){for(;K6!==null;){var Q=K6,W=Q,M=U,R=U4(),k=U1(),f=X1(),l=J1();switch(W.tag){case 0:case 11:case 15:C8(W,M,N6);break;case 23:case 22:W.memoizedState!==null&&W.memoizedState.cachePool!==null&&(M=W.memoizedState.cachePool.pool,M!=null&&qX(M));break;case 24:qY(W.memoizedState.cache)}if((W.mode&N$)!==C$&&0<=A$&&0<=q$&&(wU||0.05<NU)&&e4(W,A$,q$,NU,SU),I4(R),I1(k),wU=l,SU=f,W=Q.child,W!==null)W.return=Q,K6=W;else $:for(Q=$;K6!==null;){if(W=K6,R=W.sibling,k=W.return,UC(W),W===Q){K6=null;break $}if(R!==null){R.return=k,K6=R;break $}K6=k}}}function qN(){ck.forEach(function($){return $()})}function HC(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||y0.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function J4($){if((n$&G6)!==V6&&g$!==0)return g$&-g$;var U=y0.T;return U!==null?(U._updatedFibers||(U._updatedFibers=new Set),U._updatedFibers.add($),x8()):X0()}function LC(){if(o6===0)if((g$&536870912)===0||p$){var $=aO;aO<<=1,(aO&3932160)===0&&(aO=262144),o6=$}else o6=536870912;return $=z4.current,$!==null&&($.flags|=32),o6}function xU($,U,Q){if(KQ&&console.error("useInsertionEffect must not schedule updates."),FW&&(fZ=!0),$===OU&&(IU===hX||IU===cX)||$.cancelPendingCommit!==null)jJ($,0),CI($,g$,o6,!1);if(c0($,Q),(n$&G6)!==V6&&$===OU){if(F1)switch(U.tag){case 0:case 11:case 15:$=w$&&t(w$)||"Unknown",lP.has($)||(lP.add($),U=t(U)||"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",U,$,$));break;case 1:mP||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),mP=!0)}}else L1&&o0($,U,Q),BN(U),$===OU&&((n$&G6)===V6&&(pI|=Q),kU===bI&&CI($,g$,o6,!1)),K1($)}function MC($,U,Q){if((n$&(G6|V4))!==V6)throw Error("Should not already be working.");if(g$!==0&&w$!==null){var W=w$,M=Z6();switch(fR){case SG:case hX:var R=zG;AU&&((W=W._debugTask)?W.run(console.timeStamp.bind(console,"Suspended",R,M,T4,void 0,"primary-light")):console.timeStamp("Suspended",R,M,T4,void 0,"primary-light"));break;case cX:R=zG,AU&&((W=W._debugTask)?W.run(console.timeStamp.bind(console,"Action",R,M,T4,void 0,"primary-light")):console.timeStamp("Action",R,M,T4,void 0,"primary-light"));break;default:AU&&(W=M-zG,3>W||console.timeStamp("Blocked",zG,M,T4,void 0,5>W?"primary-light":10>W?"primary":100>W?"primary-dark":"error"))}}R=(Q=!Q&&(U&127)===0&&(U&$.expiredLanes)===0||M0($,U))?TN($,U):j8($,U,!0);var k=Q;do{if(R===UI){ZQ&&!Q&&CI($,U,0,!1),U=IU,zG=eU(),fR=U;break}else{if(W=Z6(),M=$.current.alternate,k&&!CN(M)){e6(U),M=z6,R=W,!AU||R<=M||(dU?dU.run(console.timeStamp.bind(console,"Teared Render",M,R,b$,u$,"error")):console.timeStamp("Teared Render",M,R,b$,u$,"error")),_X(U,W),R=j8($,U,!1),k=!1;continue}if(R===bX){if(k=U,$.errorRecoveryDisabledLanes&k)var f=0;else f=$.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e6(U),zV(z6,W,U,dU),_X(U,W),U=f;$:{W=$,R=k,k=vG;var l=W.current.memoizedState.isDehydrated;if(l&&(jJ(W,f).flags|=256),f=j8(W,f,!1),f!==bX){if(GW&&!l){W.errorRecoveryDisabledLanes|=R,pI|=R,R=bI;break $}W=k6,k6=k,W!==null&&(k6===null?k6=W:k6.push.apply(k6,W))}R=f}if(k=!1,R!==bX)continue;else W=Z6()}}if(R===_G){e6(U),zV(z6,W,U,dU),_X(U,W),jJ($,0),CI($,U,0,!0);break}$:{switch(Q=$,R){case UI:case _G:throw Error("Root did not complete. This is a bug in React.");case bI:if((U&4194048)!==U)break;case jZ:e6(U),MA(z6,W,U,dU),_X(U,W),M=U,(M&127)!==0?DZ=W:(M&4194048)!==0&&(WZ=W),CI(Q,U,o6,!hI);break $;case bX:k6=null;break;case SZ:case BP:break;default:throw Error("Unknown root exit status.")}if(y0.actQueue!==null)v8(Q,M,U,k6,BG,NZ,o6,pI,pX,R,null,null,z6,W);else{if((U&62914560)===U&&(k=kZ+gP-Z6(),10<k)){if(CI(Q,U,o6,!hI),U$(Q,0,!0)!==0)break $;n4=U,Q.timeoutHandle=sP(AC.bind(null,Q,M,k6,BG,NZ,U,o6,pI,pX,hI,R,"Throttled",z6,W),k);break $}AC(Q,M,k6,BG,NZ,U,o6,pI,pX,hI,R,null,z6,W)}}}break}while(1);K1($)}function AC($,U,Q,W,M,R,k,f,l,o,T0,R0,D0,k0){$.timeoutHandle=oX;var z$=U.subtreeFlags,W$=null;if(z$&8192||(z$&16785408)===16785408){if(W$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:x1},KC(U,R,W$),z$=(R&62914560)===R?kZ-Z6():(R&4194048)===R?kP-Z6():0,z$=O3(W$,z$),z$!==null){n4=R,$.cancelPendingCommit=z$(v8.bind(null,$,U,R,Q,W,M,k,f,l,T0,W$,W$.waitingForViewTransition?"Waiting for the previous Animation":0<W$.count?0<W$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":W$.imgCount===1?"Suspended on an Image":0<W$.imgCount?"Suspended on Images":null,D0,k0)),CI($,R,k,!o);return}}v8($,U,R,Q,W,M,k,f,l,T0,W$,R0,D0,k0)}function CN($){for(var U=$;;){var Q=U.tag;if((Q===0||Q===11||Q===15)&&U.flags&16384&&(Q=U.updateQueue,Q!==null&&(Q=Q.stores,Q!==null)))for(var W=0;W<Q.length;W++){var M=Q[W],R=M.getSnapshot;M=M.value;try{if(!j6(R(),M))return!1}catch(k){return!1}}if(Q=U.child,U.subtreeFlags&16384&&Q!==null)Q.return=U,U=Q;else{if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return!0;U=U.return}U.sibling.return=U.return,U=U.sibling}}return!0}function CI($,U,Q,W){U&=~OW,U&=~pI,$.suspendedLanes|=U,$.pingedLanes&=~U,W&&($.warmLanes|=U),W=$.expirationTimes;for(var M=U;0<M;){var R=31-E6(M),k=1<<R;W[R]=-1,M&=~k}Q!==0&&b0($,Q,U)}function SJ(){return(n$&(G6|V4))===V6?(uY(0,!1),!1):!0}function S8(){if(w$!==null){if(IU===n6)var $=w$.return;else $=w$,$O(),uV($),$Q=null,AG=0,$=w$;for(;$!==null;)lq($.alternate,$),$=$.return;w$=null}}function _X($,U){($&127)!==0&&(xI=U),($&4194048)!==0&&(T1=U),($&62914560)!==0&&(xR=U),($&2080374784)!==0&&(wR=U)}function jJ($,U){AU&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",u$,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",u$,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",u$,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",u$,"primary-light"));var Q=z6;if(z6=eU(),g$!==0&&0<Q){if(e6(g$),kU===SZ||kU===bI)MA(Q,z6,U,dU);else{var W=z6,M=dU;if(AU&&!(W<=Q)){var R=(U&738197653)===U?"tertiary-dark":"primary-dark",k=(U&536870912)===U?"Prewarm":(U&201326741)===U?"Interrupted Hydration":"Interrupted Render";M?M.run(console.timeStamp.bind(console,k,Q,W,b$,u$,R)):console.timeStamp(k,Q,W,b$,u$,R)}}_X(g$,z6)}if(Q=dU,dU=null,(U&127)!==0){dU=GG,M=0<=C1&&C1<xI?xI:C1,W=0<=NX&&NX<xI?xI:NX,R=0<=W?W:0<=M?M:z6,0<=DZ?(e6(2),AA(DZ,R,U,Q)):(FZ&127)!==0&&(e6(2),MY(xI,R,t1)),Q=M;var f=W,l=OG,o=0<aJ,T0=wI===YG,R0=wI===VZ;if(M=z6,W=GG,R=hD,k=cD,AU){if(b$="Blocking",0<Q?Q>M&&(Q=M):Q=M,0<f?f>Q&&(f=Q):f=Q,l!==null&&Q>f){var D0=o?"secondary-light":"warning";W?W.run(console.timeStamp.bind(console,o?"Consecutive":"Event: "+l,f,Q,b$,u$,D0)):console.timeStamp(o?"Consecutive":"Event: "+l,f,Q,b$,u$,D0)}M>Q&&(f=T0?"error":(U&738197653)===U?"tertiary-light":"primary-light",T0=R0?"Promise Resolved":T0?"Cascading Update":5<M-Q?"Update Blocked":"Update",R0=[],k!=null&&R0.push(["Component name",k]),R!=null&&R0.push(["Method name",R]),Q={start:Q,end:M,detail:{devtools:{properties:R0,track:b$,trackGroup:u$,color:f}}},W?W.run(performance.measure.bind(performance,T0,Q)):performance.measure(T0,Q))}C1=-1.1,wI=0,cD=hD=null,DZ=-1.1,aJ=NX,NX=-1.1,xI=eU()}if((U&4194048)!==0&&(dU=ZG,M=0<=r1&&r1<T1?T1:r1,Q=0<=j4&&j4<T1?T1:j4,W=0<=fI&&fI<T1?T1:fI,R=0<=W?W:0<=Q?Q:z6,0<=WZ?(e6(256),AA(WZ,R,U,dU)):(FZ&4194048)!==0&&(e6(256),MY(T1,R,t1)),R0=W,f=kX,l=0<yI,o=pD===VZ,R=z6,W=ZG,k=kR,T0=gR,AU&&(b$="Transition",0<Q?Q>R&&(Q=R):Q=R,0<M?M>Q&&(M=Q):M=Q,0<R0?R0>M&&(R0=M):R0=M,M>R0&&f!==null&&(D0=l?"secondary-light":"warning",W?W.run(console.timeStamp.bind(console,l?"Consecutive":"Event: "+f,R0,M,b$,u$,D0)):console.timeStamp(l?"Consecutive":"Event: "+f,R0,M,b$,u$,D0)),Q>M&&(W?W.run(console.timeStamp.bind(console,"Action",M,Q,b$,u$,"primary-dark")):console.timeStamp("Action",M,Q,b$,u$,"primary-dark")),R>Q&&(M=o?"Promise Resolved":5<R-Q?"Update Blocked":"Update",R0=[],T0!=null&&R0.push(["Component name",T0]),k!=null&&R0.push(["Method name",k]),Q={start:Q,end:R,detail:{devtools:{properties:R0,track:b$,trackGroup:u$,color:"primary-light"}}},W?W.run(performance.measure.bind(performance,M,Q)):performance.measure(M,Q))),j4=r1=-1.1,pD=0,WZ=-1.1,yI=fI,fI=-1.1,T1=eU()),(U&62914560)!==0&&(FZ&62914560)!==0&&(e6(4194304),MY(xR,z6,t1)),(U&2080374784)!==0&&(FZ&2080374784)!==0&&(e6(268435456),MY(wR,z6,t1)),Q=$.timeoutHandle,Q!==oX&&($.timeoutHandle=oX,$g(Q)),Q=$.cancelPendingCommit,Q!==null&&($.cancelPendingCommit=null,Q()),n4=0,S8(),OU=$,w$=Q=w1($.current,null),g$=U,IU=n6,D4=null,hI=!1,ZQ=M0($,U),GW=!1,kU=UI,pX=o6=OW=pI=cI=0,k6=vG=null,NZ=!1,(U&8)!==0&&(U|=U&32),W=$.entangledLanes,W!==0)for($=$.entanglements,W&=U;0<W;)M=31-E6(W),R=1<<M,U|=$[M],W&=~R;return P1=U,r2(),$=_R(),1000<$-ER&&(y0.recentlyCreatedOwnerStacks=0,ER=$),m4.discardPendingWarnings(),Q}function qC($,U){R$=null,y0.H=RG,y0.getCurrentStack=null,F1=!1,G4=null,U===eJ||U===AZ?(U=cA(),IU=SG):U===nD?(U=cA(),IU=NP):IU=U===IW?YW:U!==null&&typeof U==="object"&&typeof U.then==="function"?jG:vZ,D4=U;var Q=w$;Q===null?(kU=_G,EO($,$4(U,$.current))):Q.mode&N$&&EV(Q)}function CC(){var $=z4.current;return $===null?!0:(g$&4194048)===g$?v4===null?!0:!1:(g$&62914560)===g$||(g$&536870912)!==0?$===v4:!1}function TC(){var $=y0.H;return y0.H=RG,$===null?RG:$}function RC(){var $=y0.A;return y0.A=hk,$}function gO($){dU===null&&(dU=$._debugTask==null?null:$._debugTask)}function xO(){kU=bI,hI||(g$&4194048)!==g$&&z4.current!==null||(ZQ=!0),(cI&134217727)===0&&(pI&134217727)===0||OU===null||CI(OU,g$,o6,!1)}function j8($,U,Q){var W=n$;n$|=G6;var M=TC(),R=RC();if(OU!==$||g$!==U){if(L1){var k=$.memoizedUpdaters;0<k.size&&(yY($,g$),k.clear()),TU($,U)}BG=null,jJ($,U)}U=!1,k=kU;$:do try{if(IU!==n6&&w$!==null){var f=w$,l=D4;switch(IU){case YW:S8(),k=jZ;break $;case SG:case hX:case cX:case jG:z4.current===null&&(U=!0);var o=IU;if(IU=n6,D4=null,vJ($,f,l,o),Q&&ZQ){k=UI;break $}break;default:o=IU,IU=n6,D4=null,vJ($,f,l,o)}}PC(),k=kU;break}catch(T0){qC($,T0)}while(1);return U&&$.shellSuspendCounter++,$O(),n$=W,y0.H=M,y0.A=R,w$===null&&(OU=null,g$=0,r2()),k}function PC(){for(;w$!==null;)EC(w$)}function TN($,U){var Q=n$;n$|=G6;var W=TC(),M=RC();if(OU!==$||g$!==U){if(L1){var R=$.memoizedUpdaters;0<R.size&&(yY($,g$),R.clear()),TU($,U)}BG=null,gZ=Z6()+xP,jJ($,U)}else ZQ=M0($,U);$:do try{if(IU!==n6&&w$!==null)U:switch(U=w$,R=D4,IU){case vZ:IU=n6,D4=null,vJ($,U,R,vZ);break;case hX:case cX:if(bA(R)){IU=n6,D4=null,_C(U);break}U=function(){IU!==hX&&IU!==cX||OU!==$||(IU=BZ),K1($)},R.then(U,U);break $;case SG:IU=BZ;break $;case NP:IU=QW;break $;case BZ:bA(R)?(IU=n6,D4=null,_C(U)):(IU=n6,D4=null,vJ($,U,R,BZ));break;case QW:var k=null;switch(w$.tag){case 26:k=w$.memoizedState;case 5:case 27:var f=w$;if(k?MT(k):f.stateNode.complete){IU=n6,D4=null;var l=f.sibling;if(l!==null)w$=l;else{var o=f.return;o!==null?(w$=o,wO(o)):w$=null}break U}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}IU=n6,D4=null,vJ($,U,R,QW);break;case jG:IU=n6,D4=null,vJ($,U,R,jG);break;case YW:S8(),kU=jZ;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}y0.actQueue!==null?PC():RN();break}catch(T0){qC($,T0)}while(1);if($O(),y0.H=W,y0.A=M,n$=Q,w$!==null)return UI;return OU=null,g$=0,r2(),kU}function RN(){for(;w$!==null&&!C3();)EC(w$)}function EC($){var U=$.alternate;($.mode&N$)!==C$?(PV($),U=J0($,M8,U,$,P1),EV($)):U=J0($,M8,U,$,P1),$.memoizedProps=$.pendingProps,U===null?wO($):w$=U}function _C($){var U=J0($,PN,$);$.memoizedProps=$.pendingProps,U===null?wO($):w$=U}function PN($){var U=$.alternate,Q=($.mode&N$)!==C$;switch(Q&&PV($),$.tag){case 15:case 0:U=yq(U,$,$.pendingProps,$.type,void 0,g$);break;case 11:U=yq(U,$,$.pendingProps,$.type.render,$.ref,g$);break;case 5:uV($);default:lq(U,$),$=w$=EA($,P1),U=M8(U,$,P1)}return Q&&EV($),U}function vJ($,U,Q,W){$O(),uV(U),$Q=null,AG=0;var M=U.return;try{if(ON($,M,U,Q,g$)){kU=_G,EO($,$4(Q,$.current)),w$=null;return}}catch(R){if(M!==null)throw w$=M,R;kU=_G,EO($,$4(Q,$.current)),w$=null;return}if(U.flags&32768){if(p$||W===vZ)$=!0;else if(ZQ||(g$&536870912)!==0)$=!1;else if(hI=$=!0,W===hX||W===cX||W===SG||W===jG)W=z4.current,W!==null&&W.tag===13&&(W.flags|=16384);SC(U,$)}else wO(U)}function wO($){var U=$;do{if((U.flags&32768)!==0){SC(U,hI);return}var Q=U.alternate;if($=U.return,PV(U),Q=J0(U,KN,Q,U,P1),(U.mode&N$)!==C$&&xA(U),Q!==null){w$=Q;return}if(U=U.sibling,U!==null){w$=U;return}w$=U=$}while(U!==null);kU===UI&&(kU=BP)}function SC($,U){do{var Q=VN($.alternate,$);if(Q!==null){Q.flags&=32767,w$=Q;return}if(($.mode&N$)!==C$){xA($),Q=$.actualDuration;for(var W=$.child;W!==null;)Q+=W.actualDuration,W=W.sibling;$.actualDuration=Q}if(Q=$.return,Q!==null&&(Q.flags|=32768,Q.subtreeFlags=0,Q.deletions=null),!U&&($=$.sibling,$!==null)){w$=$;return}w$=$=Q}while($!==null);kU=jZ,w$=null}function v8($,U,Q,W,M,R,k,f,l,o,T0,R0,D0,k0){$.cancelPendingCommit=null;do fY();while(J6!==lI);if(m4.flushLegacyContextWarning(),m4.flushPendingUnsafeLifecycleWarnings(),(n$&(G6|V4))!==V6)throw Error("Should not already be working.");if(e6(Q),o===bX?zV(D0,k0,Q,dU):W!==null?rB(D0,k0,Q,W,U!==null&&U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)!==0,dU):iB(D0,k0,Q,dU),U!==null){if(Q===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),U===$.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(R=U.lanes|U.childLanes,R|=wD,i$($,Q,R,k,f,l),$===OU&&(w$=OU=null,g$=0),zQ=U,dI=$,n4=Q,KW=R,DW=M,hP=W,VW=k0,cP=R0,o4=xZ,pP=null,U.actualDuration!==0||(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,vN(wJ,function(){return fG=window.event,o4===xZ&&(o4=zW),kC(),null})):($.callbackNode=null,$.callbackPriority=0),i1=null,gI=eU(),R0!==null&&tB(k0,gI,R0,dU),W=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||W){W=y0.T,y0.T=null,M=s$.p,s$.p=O4,k=n$,n$|=V4;try{MN($,U,Q)}finally{n$=k,s$.p=M,y0.T=W}}J6=fP,jC(),vC(),BC()}}function jC(){if(J6===fP){J6=lI;var $=dI,U=zQ,Q=n4,W=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||W){W=y0.T,y0.T=null;var M=s$.p;s$.p=O4;var R=n$;n$|=V4;try{GQ=Q,OQ=$,JO(),QC(U,$),OQ=GQ=null,Q=PW;var k=FA($.containerInfo),f=Q.focusedElem,l=Q.selectionRange;if(k!==f&&f&&f.ownerDocument&&WA(f.ownerDocument.documentElement,f)){if(l!==null&&GV(f)){var{start:o,end:T0}=l;if(T0===void 0&&(T0=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(T0,f.value.length);else{var R0=f.ownerDocument||document,D0=R0&&R0.defaultView||window;if(D0.getSelection){var k0=D0.getSelection(),z$=f.textContent.length,W$=Math.min(l.start,z$),WU=l.end===void 0?W$:Math.min(l.end,z$);!k0.extend&&W$>WU&&(k=WU,WU=W$,W$=k);var l$=DA(f,W$),Z0=DA(f,WU);if(l$&&Z0&&(k0.rangeCount!==1||k0.anchorNode!==l$.node||k0.anchorOffset!==l$.offset||k0.focusNode!==Z0.node||k0.focusOffset!==Z0.offset)){var W0=R0.createRange();W0.setStart(l$.node,l$.offset),k0.removeAllRanges(),W$>WU?(k0.addRange(W0),k0.extend(Z0.node,Z0.offset)):(W0.setEnd(Z0.node,Z0.offset),k0.addRange(W0))}}}}R0=[];for(k0=f;k0=k0.parentNode;)k0.nodeType===1&&R0.push({element:k0,left:k0.scrollLeft,top:k0.scrollTop});typeof f.focus==="function"&&f.focus();for(f=0;f<R0.length;f++){var q0=R0[f];q0.element.scrollLeft=q0.left,q0.element.scrollTop=q0.top}}tZ=!!RW,PW=RW=null}finally{n$=R,s$.p=M,y0.T=W}}$.current=U,J6=yP}}function vC(){if(J6===yP){J6=lI;var $=pP;if($!==null){gI=eU();var U=o1,Q=gI;!AU||Q<=U||(t1?t1.run(console.timeStamp.bind(console,$,U,Q,b$,u$,"secondary-light")):console.timeStamp($,U,Q,b$,u$,"secondary-light"))}$=dI,U=zQ,Q=n4;var W=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||W){W=y0.T,y0.T=null;var M=s$.p;s$.p=O4;var R=n$;n$|=V4;try{GQ=Q,OQ=$,JO(),$C($,U.alternate,U),OQ=GQ=null}finally{n$=R,s$.p=M,y0.T=W}}$=VW,U=cP,o1=eU(),$=U===null?$:gI,U=o1,Q=o4===ZW,W=dU,i1!==null?qA($,U,i1,!1,W):!AU||U<=$||(W?W.run(console.timeStamp.bind(console,Q?"Commit Interrupted View Transition":"Commit",$,U,b$,u$,Q?"error":"secondary-dark")):console.timeStamp(Q?"Commit Interrupted View Transition":"Commit",$,U,b$,u$,Q?"error":"secondary-dark")),J6=uP}}function BC(){if(J6===bP||J6===uP){if(J6===bP){var $=o1;o1=eU();var U=o1,Q=o4===ZW;!AU||U<=$||(t1?t1.run(console.timeStamp.bind(console,Q?"Interrupted View Transition":"Starting Animation",$,U,b$,u$,Q?"error":"secondary-light")):console.timeStamp(Q?"Interrupted View Transition":"Starting Animation",$,U,b$,u$,Q?" error":"secondary-light")),o4!==ZW&&(o4=wP)}J6=lI,T3(),$=dI;var W=zQ;U=n4,Q=hP;var M=W.actualDuration!==0||(W.subtreeFlags&10256)!==0||(W.flags&10256)!==0;M?J6=wZ:(J6=lI,zQ=dI=null,NC($,$.pendingLanes),mX=0,kG=null);var R=$.pendingLanes;if(R===0&&(mI=null),M||fC($),R=m(U),W=W.stateNode,C6&&typeof C6.onCommitFiberRoot==="function")try{var k=(W.current.flags&128)===128;switch(R){case O4:var f=DD;break;case c4:f=WD;break;case M1:f=wJ;break;case eO:f=FD;break;default:f=wJ}C6.onCommitFiberRoot(fJ,W,f,k)}catch(R0){H1||(H1=!0,console.error("React instrumentation encountered an error: %o",R0))}if(L1&&$.memoizedUpdaters.clear(),qN(),Q!==null){k=y0.T,f=s$.p,s$.p=O4,y0.T=null;try{var l=$.onRecoverableError;for(W=0;W<Q.length;W++){var o=Q[W],T0=EN(o.stack);J0(o.source,l,o.value,T0)}}finally{y0.T=k,s$.p=f}}(n4&3)!==0&&fY(),K1($),R=$.pendingLanes,(U&261930)!==0&&(R&42)!==0?(LZ=!0,$===WW?NG++:(NG=0,WW=$)):NG=0,M||_X(U,o1),uY(0,!1)}}function EN($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function NC($,U){($.pooledCacheLanes&=U)===0&&(U=$.pooledCache,U!=null&&($.pooledCache=null,qY(U)))}function fY(){return jC(),vC(),BC(),kC()}function kC(){if(J6!==wZ)return!1;var $=dI,U=KW;KW=0;var Q=m(n4),W=M1===0||M1>Q?M1:Q;Q=y0.T;var M=s$.p;try{s$.p=W,y0.T=null;var R=DW;DW=null,W=dI;var k=n4;if(J6=lI,zQ=dI=null,n4=0,(n$&(G6|V4))!==V6)throw Error("Cannot flush passive effects while already rendering.");e6(k),FW=!0,fZ=!1;var f=0;if(i1=null,f=Z6(),o4===wP)MY(o1,f,t1);else{var l=o1,o=f,T0=o4===zW;!AU||o<=l||(dU?dU.run(console.timeStamp.bind(console,T0?"Waiting for Paint":"Waiting",l,o,b$,u$,"secondary-light")):console.timeStamp(T0?"Waiting for Paint":"Waiting",l,o,b$,u$,"secondary-light"))}l=n$,n$|=V4;var R0=W.current;JO(),DC(R0);var D0=W.current;R0=VW,JO(),ZC(W,D0,k,R,R0),fC(W),n$=l;var k0=Z6();if(D0=f,R0=dU,i1!==null?qA(D0,k0,i1,!0,R0):!AU||k0<=D0||(R0?R0.run(console.timeStamp.bind(console,"Remaining Effects",D0,k0,b$,u$,"secondary-dark")):console.timeStamp("Remaining Effects",D0,k0,b$,u$,"secondary-dark")),_X(k,k0),uY(0,!1),fZ?W===kG?mX++:(mX=0,kG=W):mX=0,fZ=FW=!1,C6&&typeof C6.onPostCommitFiberRoot==="function")try{C6.onPostCommitFiberRoot(fJ,W)}catch(W$){H1||(H1=!0,console.error("React instrumentation encountered an error: %o",W$))}var z$=W.current.stateNode;return z$.effectDuration=0,z$.passiveEffectDuration=0,!0}finally{s$.p=M,y0.T=Q,NC($,U)}}function gC($,U,Q){U=$4(Q,U),wA(U),U=G8($.stateNode,U,2),$=LI($,U,2),$!==null&&(c0($,2),K1($))}function a$($,U,Q){if(KQ=!1,$.tag===3)gC($,$,Q);else{for(;U!==null;){if(U.tag===3){gC(U,$,Q);return}if(U.tag===1){var W=U.stateNode;if(typeof U.type.getDerivedStateFromError==="function"||typeof W.componentDidCatch==="function"&&(mI===null||!mI.has(W))){$=$4(Q,$),wA($),Q=O8(2),W=LI(U,Q,2),W!==null&&(Z8(Q,W,U,$),c0(W,2),K1(W));return}}U=U.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.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,Q)}}function B8($,U,Q){var W=$.pingCache;if(W===null){W=$.pingCache=new pk;var M=new Set;W.set(U,M)}else M=W.get(U),M===void 0&&(M=new Set,W.set(U,M));M.has(Q)||(GW=!0,M.add(Q),W=_N.bind(null,$,U,Q),L1&&yY($,Q),U.then(W,W))}function _N($,U,Q){var W=$.pingCache;W!==null&&W.delete(U),$.pingedLanes|=$.suspendedLanes&Q,$.warmLanes&=~Q,(Q&127)!==0?0>C1&&(xI=C1=eU(),GG=KZ("Promise Resolved"),wI=VZ):(Q&4194048)!==0&&0>j4&&(T1=j4=eU(),ZG=KZ("Promise Resolved"),pD=VZ),HC()&&y0.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
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`),OU===$&&(g$&Q)===Q&&(kU===bI||kU===SZ&&(g$&62914560)===g$&&Z6()-kZ<gP?(n$&G6)===V6&&jJ($,0):OW|=Q,pX===g$&&(pX=0)),K1($)}function xC($,U){U===0&&(U=L$()),$=q6($,U),$!==null&&(c0($,U),K1($))}function SN($){var U=$.memoizedState,Q=0;U!==null&&(Q=U.retryLane),xC($,Q)}function jN($,U){var Q=0;switch($.tag){case 31:case 13:var{stateNode:W,memoizedState:M}=$;M!==null&&(Q=M.retryLane);break;case 19:W=$.stateNode;break;case 22:W=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}W!==null&&W.delete(U),xC($,Q)}function N8($,U,Q){if((U.subtreeFlags&67117056)!==0)for(U=U.child;U!==null;){var W=$,M=U,R=M.type===oO;R=Q||R,M.tag!==22?M.flags&67108864?R&&J0(M,wC,W,M):N8(W,M,R):M.memoizedState===null&&(R&&M.flags&8192?J0(M,wC,W,M):M.subtreeFlags&67108864&&J0(M,N8,W,M,R)),U=U.sibling}}function wC($,U){N0(!0);try{GC(U),WC(U),OC($,U.alternate,U,!1),zC($,U,0,null,!1,0)}finally{N0(!1)}}function fC($){var U=!0;$.current.mode&(T6|p4)||(U=!1),N8($,$.current,U)}function yC($){if((n$&G6)===V6){var U=$.tag;if(U===3||U===1||U===0||U===11||U===14||U===15){if(U=t($)||"ReactComponent",yZ!==null){if(yZ.has(U))return;yZ.add(U)}else yZ=new Set([U]);J0($,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 tries to update the component. Move this work to useEffect instead.")})}}}function yY($,U){L1&&$.memoizedUpdaters.forEach(function(Q){o0($,Q,U)})}function vN($,U){var Q=y0.actQueue;return Q!==null?(Q.push(U),dk):VD($,U)}function BN($){HC()&&y0.actQueue===null&&J0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
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`,t($))})}function K1($){$!==VQ&&$.next===null&&(VQ===null?uZ=VQ=$:VQ=VQ.next=$),bZ=!0,y0.actQueue!==null?LW||(LW=!0,cC()):HW||(HW=!0,cC())}function uY($,U){if(!MW&&bZ){MW=!0;do{var Q=!1;for(var W=uZ;W!==null;){if(!U)if($!==0){var M=W.pendingLanes;if(M===0)var R=0;else{var{suspendedLanes:k,pingedLanes:f}=W;R=(1<<31-E6(42|$)+1)-1,R&=M&~(k&~f),R=R&201326741?R&201326741|1:R?R|2:0}R!==0&&(Q=!0,hC(W,R))}else R=g$,R=U$(W,W===OU?R:0,W.cancelPendingCommit!==null||W.timeoutHandle!==oX),(R&3)===0||M0(W,R)||(Q=!0,hC(W,R));W=W.next}}while(Q);MW=!1}}function NN(){fG=window.event,k8()}function k8(){bZ=LW=HW=!1;var $=0;nI!==0&&uN()&&($=nI);for(var U=Z6(),Q=null,W=uZ;W!==null;){var M=W.next,R=uC(W,U);if(R===0)W.next=null,Q===null?uZ=M:Q.next=M,M===null&&(VQ=Q);else if(Q=W,$!==0||(R&3)!==0)bZ=!0;W=M}J6!==lI&&J6!==wZ||uY($,!1),nI!==0&&(nI=0)}function uC($,U){for(var{suspendedLanes:Q,pingedLanes:W,expirationTimes:M}=$,R=$.pendingLanes&-62914561;0<R;){var k=31-E6(R),f=1<<k,l=M[k];if(l===-1){if((f&Q)===0||(f&W)!==0)M[k]=v0(f,U)}else l<=U&&($.expiredLanes|=f);R&=~f}if(U=OU,Q=g$,Q=U$($,$===U?Q:0,$.cancelPendingCommit!==null||$.timeoutHandle!==oX),W=$.callbackNode,Q===0||$===U&&(IU===hX||IU===cX)||$.cancelPendingCommit!==null)return W!==null&&g8(W),$.callbackNode=null,$.callbackPriority=0;if((Q&3)===0||M0($,Q)){if(U=Q&-Q,U!==$.callbackPriority||y0.actQueue!==null&&W!==AW)g8(W);else return U;switch(m(Q)){case O4:case c4:Q=WD;break;case M1:Q=wJ;break;case eO:Q=FD;break;default:Q=wJ}return W=bC.bind(null,$),y0.actQueue!==null?(y0.actQueue.push(W),Q=AW):Q=VD(Q,W),$.callbackPriority=U,$.callbackNode=Q,U}return W!==null&&g8(W),$.callbackPriority=2,$.callbackNode=null,2}function bC($,U){if(LZ=HZ=!1,fG=window.event,J6!==lI&&J6!==wZ)return $.callbackNode=null,$.callbackPriority=0,null;var Q=$.callbackNode;if(o4===xZ&&(o4=zW),fY()&&$.callbackNode!==Q)return null;var W=g$;if(W=U$($,$===OU?W:0,$.cancelPendingCommit!==null||$.timeoutHandle!==oX),W===0)return null;return MC($,W,U),uC($,Z6()),$.callbackNode!=null&&$.callbackNode===Q?bC.bind(null,$):null}function hC($,U){if(fY())return null;HZ=LZ,LZ=!1,MC($,U,!0)}function g8($){$!==AW&&$!==null&&q3($)}function cC(){y0.actQueue!==null&&y0.actQueue.push(function(){return k8(),null}),Ug(function(){(n$&(G6|V4))!==V6?VD(DD,NN):k8()})}function x8(){if(nI===0){var $=gX;$===0&&($=tO,tO<<=1,(tO&261888)===0&&(tO=256)),nI=$}return nI}function pC($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return n($,"action"),FY(""+$)}function mC($,U){var Q=U.ownerDocument.createElement("input");return Q.name=U.name,Q.value=U.value,$.id&&Q.setAttribute("form",$.id),U.parentNode.insertBefore(Q,U),$=new FormData($),Q.parentNode.removeChild(Q),$}function kN($,U,Q,W,M){if(U==="submit"&&Q&&Q.stateNode===M){var R=pC((M[_6]||null).action),k=W.submitter;k&&(U=(U=k[_6]||null)?pC(U.formAction):k.getAttribute("formAction"),U!==null&&(R=U,k=null));var f=new JZ("action","action",null,W,M);$.push({event:f,listeners:[{instance:null,listener:function(){if(W.defaultPrevented){if(nI!==0){var l=k?mC(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:R};Object.freeze(o),$8(Q,o,null,l)}}else typeof R==="function"&&(f.preventDefault(),l=k?mC(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:R},Object.freeze(o),$8(Q,o,R,l))},currentTarget:M}]})}}function fO($,U,Q){$.currentTarget=Q;try{U($)}catch(W){ND(W)}$.currentTarget=null}function lC($,U){U=(U&4)!==0;for(var Q=0;Q<$.length;Q++){var W=$[Q];$:{var M=void 0,R=W.event;if(W=W.listeners,U)for(var k=W.length-1;0<=k;k--){var f=W[k],l=f.instance,o=f.currentTarget;if(f=f.listener,l!==M&&R.isPropagationStopped())break $;l!==null?J0(l,fO,R,f,o):fO(R,f,o),M=l}else for(k=0;k<W.length;k++){if(f=W[k],l=f.instance,o=f.currentTarget,f=f.listener,l!==M&&R.isPropagationStopped())break $;l!==null?J0(l,fO,R,f,o):fO(R,f,o),M=l}}}}function m$($,U){qW.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var Q=U[HD];Q===void 0&&(Q=U[HD]=new Set);var W=$+"__bubble";Q.has(W)||(dC(U,$,2,!1),Q.add(W))}function w8($,U,Q){qW.has($)&&!U&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var W=0;U&&(W|=4),dC(Q,$,W,U)}function f8($){if(!$[hZ]){$[hZ]=!0,cT.forEach(function(Q){Q!=="selectionchange"&&(qW.has(Q)||w8(Q,!1,$),w8(Q,!0,$))});var U=$.nodeType===9?$:$.ownerDocument;U===null||U[hZ]||(U[hZ]=!0,w8("selectionchange",!1,U))}}function dC($,U,Q,W){switch(PT(U)){case O4:var M=V3;break;case c4:M=D3;break;default:M=s8}Q=M.bind(null,U,Q,$),M=void 0,!CD||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(M=!0),W?M!==void 0?$.addEventListener(U,Q,{capture:!0,passive:M}):$.addEventListener(U,Q,!0):M!==void 0?$.addEventListener(U,Q,{passive:M}):$.addEventListener(U,Q,!1)}function y8($,U,Q,W,M){var R=W;if((U&1)===0&&(U&2)===0&&W!==null)$:for(;;){if(W===null)return;var k=W.tag;if(k===3||k===4){var f=W.stateNode.containerInfo;if(f===M)break;if(k===4)for(k=W.return;k!==null;){var l=k.tag;if((l===3||l===4)&&k.stateNode.containerInfo===M)return;k=k.return}for(;f!==null;){if(k=B0(f),k===null)return;if(l=k.tag,l===5||l===6||l===26||l===27){W=R=k;continue $}f=f.parentNode}}W=W.return}IA(function(){var o=R,T0=QV(Q),R0=[];$:{var D0=PR.get($);if(D0!==void 0){var k0=JZ,z$=$;switch($){case"keypress":if(l2(Q)===0)break $;case"keydown":case"keyup":k0=Gk;break;case"focusin":z$="focus",k0=ED;break;case"focusout":z$="blur",k0=ED;break;case"beforeblur":case"afterblur":k0=ED;break;case"click":if(Q.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k0=zR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k0=r3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k0=zk;break;case qR:case CR:case TR:k0=s3;break;case RR:k0=Vk;break;case"scroll":case"scrollend":k0=o3;break;case"wheel":k0=Wk;break;case"copy":case"cut":case"paste":k0=$k;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k0=VR;break;case"toggle":case"beforetoggle":k0=Hk}var W$=(U&4)!==0,WU=!W$&&($==="scroll"||$==="scrollend"),l$=W$?D0!==null?D0+"Capture":null:D0;W$=[];for(var Z0=o,W0;Z0!==null;){var q0=Z0;if(W0=q0.stateNode,q0=q0.tag,q0!==5&&q0!==26&&q0!==27||W0===null||l$===null||(q0=HY(Z0,l$),q0!=null&&W$.push(bY(Z0,q0,W0))),WU)break;Z0=Z0.return}0<W$.length&&(D0=new k0(D0,z$,null,Q,T0),R0.push({event:D0,listeners:W$}))}}if((U&7)===0){$:{if(D0=$==="mouseover"||$==="pointerover",k0=$==="mouseout"||$==="pointerout",D0&&Q!==tY&&(z$=Q.relatedTarget||Q.fromElement)&&(B0(z$)||z$[SI]))break $;if(k0||D0){if(D0=T0.window===T0?T0:(D0=T0.ownerDocument)?D0.defaultView||D0.parentWindow:window,k0){if(z$=Q.relatedTarget||Q.toElement,k0=o,z$=z$?B0(z$):null,z$!==null&&(WU=b(z$),W$=z$.tag,z$!==WU||W$!==5&&W$!==27&&W$!==6))z$=null}else k0=null,z$=o;if(k0!==z$){if(W$=zR,q0="onMouseLeave",l$="onMouseEnter",Z0="mouse",$==="pointerout"||$==="pointerover")W$=VR,q0="onPointerLeave",l$="onPointerEnter",Z0="pointer";if(WU=k0==null?D0:g0(k0),W0=z$==null?D0:g0(z$),D0=new W$(q0,Z0+"leave",k0,Q,T0),D0.target=WU,D0.relatedTarget=W0,q0=null,B0(T0)===o&&(W$=new W$(l$,Z0+"enter",z$,Q,T0),W$.target=W0,W$.relatedTarget=WU,q0=W$),WU=q0,k0&&z$)U:{W$=gN,l$=k0,Z0=z$,W0=0;for(q0=l$;q0;q0=W$(q0))W0++;q0=0;for(var m0=Z0;m0;m0=W$(m0))q0++;for(;0<W0-q0;)l$=W$(l$),W0--;for(;0<q0-W0;)Z0=W$(Z0),q0--;for(;W0--;){if(l$===Z0||Z0!==null&&l$===Z0.alternate){W$=l$;break U}l$=W$(l$),Z0=W$(Z0)}W$=null}else W$=null;k0!==null&&nC(R0,D0,k0,W$,!1),z$!==null&&WU!==null&&nC(R0,WU,z$,W$,!0)}}}$:{if(D0=o?g0(o):window,k0=D0.nodeName&&D0.nodeName.toLowerCase(),k0==="select"||k0==="input"&&D0.type==="file")var K$=ZA;else if(GA(D0))if(MR)K$=dB;else{K$=mB;var P$=pB}else k0=D0.nodeName,!k0||k0.toLowerCase()!=="input"||D0.type!=="checkbox"&&D0.type!=="radio"?o&&WY(o.elementType)&&(K$=ZA):K$=lB;if(K$&&(K$=K$($,o))){OA(R0,K$,Q,T0);break $}P$&&P$($,D0,o),$==="focusout"&&o&&D0.type==="number"&&o.memoizedProps.value!=null&&v$(D0,"number",D0.value)}switch(P$=o?g0(o):window,$){case"focusin":if(GA(P$)||P$.contentEditable==="true")mJ=P$,SD=o,XG=null;break;case"focusout":XG=SD=mJ=null;break;case"mousedown":jD=!0;break;case"contextmenu":case"mouseup":case"dragend":jD=!1,HA(R0,Q,T0);break;case"selectionchange":if(qk)break;case"keydown":case"keyup":HA(R0,Q,T0)}var M$;if(_D)$:{switch($){case"compositionstart":var H$="onCompositionStart";break $;case"compositionend":H$="onCompositionEnd";break $;case"compositionupdate":H$="onCompositionUpdate";break $}H$=void 0}else pJ?QA($,Q)&&(H$="onCompositionEnd"):$==="keydown"&&Q.keyCode===DR&&(H$="onCompositionStart");if(H$&&(WR&&Q.locale!=="ko"&&(pJ||H$!=="onCompositionStart"?H$==="onCompositionEnd"&&pJ&&(M$=XA()):(jI=T0,TD=("value"in jI)?jI.value:jI.textContent,pJ=!0)),P$=yO(o,H$),0<P$.length&&(H$=new KR(H$,$,null,Q,T0),R0.push({event:H$,listeners:P$}),M$?H$.data=M$:(M$=YA(Q),M$!==null&&(H$.data=M$)))),M$=Mk?uB($,Q):bB($,Q))H$=yO(o,"onBeforeInput"),0<H$.length&&(P$=new Ik("onBeforeInput","beforeinput",null,Q,T0),R0.push({event:P$,listeners:H$}),P$.data=M$);kN(R0,$,o,Q,T0)}lC(R0,U)})}function bY($,U,Q){return{instance:$,listener:U,currentTarget:Q}}function yO($,U){for(var Q=U+"Capture",W=[];$!==null;){var M=$,R=M.stateNode;if(M=M.tag,M!==5&&M!==26&&M!==27||R===null||(M=HY($,Q),M!=null&&W.unshift(bY($,M,R)),M=HY($,U),M!=null&&W.push(bY($,M,R))),$.tag===3)return W;$=$.return}return[]}function gN($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function nC($,U,Q,W,M){for(var R=U._reactName,k=[];Q!==null&&Q!==W;){var f=Q,l=f.alternate,o=f.stateNode;if(f=f.tag,l!==null&&l===W)break;f!==5&&f!==26&&f!==27||o===null||(l=o,M?(o=HY(Q,R),o!=null&&k.unshift(bY(Q,o,l))):M||(o=HY(Q,R),o!=null&&k.push(bY(Q,o,l)))),Q=Q.return}k.length!==0&&$.push({event:U,listeners:k})}function u8($,U){xB($,U),$!=="input"&&$!=="textarea"&&$!=="select"||U==null||U.value!==null||OR||(OR=!0,$==="select"&&U.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var Q={registrationNameDependencies:SX,possibleRegistrationNames:LD};WY($)||typeof U.is==="string"||fB($,U,Q),U.contentEditable&&!U.suppressContentEditableWarning&&U.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function O6($,U,Q,W){U!==Q&&(Q=TI(Q),TI(U)!==Q&&(W[$]=U))}function xN($,U,Q){U.forEach(function(W){Q[rC(W)]=W==="style"?h8($):$.getAttribute(W)})}function V1($,U){U===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof U)}function oC($,U){return $=$.namespaceURI===UZ||$.namespaceURI===uJ?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=U,$.innerHTML}function TI($){return $0($)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",A0($)),c($)),(typeof $==="string"?$:""+$).replace(nk,`
|
|
176
|
+
`).replace(ok,"")}function iC($,U){return U=TI(U),TI($)===U?!0:!1}function YU($,U,Q,W,M,R){switch(Q){case"children":if(typeof W==="string")m2(W,U,!1),U==="body"||U==="textarea"&&W===""||DY($,W);else if(typeof W==="number"||typeof W==="bigint")m2(""+W,U,!1),U!=="body"&&DY($,""+W);break;case"className":P0($,"class",W);break;case"tabIndex":P0($,"tabindex",W);break;case"dir":case"role":case"viewBox":case"width":case"height":P0($,Q,W);break;case"style":e7($,W,R);break;case"data":if(U!=="object"){P0($,"data",W);break}case"src":case"href":if(W===""&&(U!=="a"||Q!=="href")){Q==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Q,Q):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Q,Q),$.removeAttribute(Q);break}if(W==null||typeof W==="function"||typeof W==="symbol"||typeof W==="boolean"){$.removeAttribute(Q);break}n(W,Q),W=FY(""+W),$.setAttribute(Q,W);break;case"action":case"formAction":if(W!=null&&(U==="form"?Q==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof W==="function"&&(M.encType==null&&M.method==null||mZ||(mZ=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),M.target==null||pZ||(pZ=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):U==="input"||U==="button"?Q==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):U!=="input"||M.type==="submit"||M.type==="image"||cZ?U!=="button"||M.type==null||M.type==="submit"||cZ?typeof W==="function"&&(M.name==null||oP||(oP=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),M.formEncType==null&&M.formMethod==null||mZ||(mZ=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),M.formTarget==null||pZ||(pZ=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(cZ=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(cZ=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Q==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof W==="function"){$.setAttribute(Q,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof R==="function"&&(Q==="formAction"?(U!=="input"&&YU($,U,"name",M.name,M,null),YU($,U,"formEncType",M.formEncType,M,null),YU($,U,"formMethod",M.formMethod,M,null),YU($,U,"formTarget",M.formTarget,M,null)):(YU($,U,"encType",M.encType,M,null),YU($,U,"method",M.method,M,null),YU($,U,"target",M.target,M,null)));if(W==null||typeof W==="symbol"||typeof W==="boolean"){$.removeAttribute(Q);break}n(W,Q),W=FY(""+W),$.setAttribute(Q,W);break;case"onClick":W!=null&&(typeof W!=="function"&&V1(Q,W),$.onclick=x1);break;case"onScroll":W!=null&&(typeof W!=="function"&&V1(Q,W),m$("scroll",$));break;case"onScrollEnd":W!=null&&(typeof W!=="function"&&V1(Q,W),m$("scrollend",$));break;case"dangerouslySetInnerHTML":if(W!=null){if(typeof W!=="object"||!("__html"in W))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Q=W.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"multiple":$.multiple=W&&typeof W!=="function"&&typeof W!=="symbol";break;case"muted":$.muted=W&&typeof W!=="function"&&typeof W!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(W==null||typeof W==="function"||typeof W==="boolean"||typeof W==="symbol"){$.removeAttribute("xlink:href");break}n(W,Q),Q=FY(""+W),$.setAttributeNS(lX,"xlink:href",Q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":W!=null&&typeof W!=="function"&&typeof W!=="symbol"?(n(W,Q),$.setAttribute(Q,""+W)):$.removeAttribute(Q);break;case"inert":W!==""||lZ[Q]||(lZ[Q]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",Q));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":W&&typeof W!=="function"&&typeof W!=="symbol"?$.setAttribute(Q,""):$.removeAttribute(Q);break;case"capture":case"download":W===!0?$.setAttribute(Q,""):W!==!1&&W!=null&&typeof W!=="function"&&typeof W!=="symbol"?(n(W,Q),$.setAttribute(Q,W)):$.removeAttribute(Q);break;case"cols":case"rows":case"size":case"span":W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&!isNaN(W)&&1<=W?(n(W,Q),$.setAttribute(Q,W)):$.removeAttribute(Q);break;case"rowSpan":case"start":W==null||typeof W==="function"||typeof W==="symbol"||isNaN(W)?$.removeAttribute(Q):(n(W,Q),$.setAttribute(Q,W));break;case"popover":m$("beforetoggle",$),m$("toggle",$),G0($,"popover",W);break;case"xlinkActuate":_0($,lX,"xlink:actuate",W);break;case"xlinkArcrole":_0($,lX,"xlink:arcrole",W);break;case"xlinkRole":_0($,lX,"xlink:role",W);break;case"xlinkShow":_0($,lX,"xlink:show",W);break;case"xlinkTitle":_0($,lX,"xlink:title",W);break;case"xlinkType":_0($,lX,"xlink:type",W);break;case"xmlBase":_0($,CW,"xml:base",W);break;case"xmlLang":_0($,CW,"xml:lang",W);break;case"xmlSpace":_0($,CW,"xml:space",W);break;case"is":R!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),G0($,"is",W);break;case"innerText":case"textContent":break;case"popoverTarget":iP||W==null||typeof W!=="object"||(iP=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",W));default:!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"?(Q=$A(Q),G0($,Q,W)):SX.hasOwnProperty(Q)&&W!=null&&typeof W!=="function"&&V1(Q,W)}}function b8($,U,Q,W,M,R){switch(Q){case"style":e7($,W,R);break;case"dangerouslySetInnerHTML":if(W!=null){if(typeof W!=="object"||!("__html"in W))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Q=W.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"children":typeof W==="string"?DY($,W):(typeof W==="number"||typeof W==="bigint")&&DY($,""+W);break;case"onScroll":W!=null&&(typeof W!=="function"&&V1(Q,W),m$("scroll",$));break;case"onScrollEnd":W!=null&&(typeof W!=="function"&&V1(Q,W),m$("scrollend",$));break;case"onClick":W!=null&&(typeof W!=="function"&&V1(Q,W),$.onclick=x1);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(SX.hasOwnProperty(Q))W!=null&&typeof W!=="function"&&V1(Q,W);else $:{if(Q[0]==="o"&&Q[1]==="n"&&(M=Q.endsWith("Capture"),U=Q.slice(2,M?Q.length-7:void 0),R=$[_6]||null,R=R!=null?R[Q]:null,typeof R==="function"&&$.removeEventListener(U,R,M),typeof W==="function")){typeof R!=="function"&&R!==null&&(Q in $?$[Q]=null:$.hasAttribute(Q)&&$.removeAttribute(Q)),$.addEventListener(U,W,M);break $}Q in $?$[Q]=W:W===!0?$.setAttribute(Q,""):G0($,Q,W)}}}function H6($,U,Q){switch(u8(U,Q),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":m$("error",$),m$("load",$);var W=!1,M=!1,R;for(R in Q)if(Q.hasOwnProperty(R)){var k=Q[R];if(k!=null)switch(R){case"src":W=!0;break;case"srcSet":M=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:YU($,U,R,k,Q,null)}}M&&YU($,U,"srcSet",Q.srcSet,Q,null),W&&YU($,U,"src",Q.src,Q,null);return;case"input":KU("input",Q),m$("invalid",$);var f=R=k=M=null,l=null,o=null;for(W in Q)if(Q.hasOwnProperty(W)){var T0=Q[W];if(T0!=null)switch(W){case"name":M=T0;break;case"type":k=T0;break;case"checked":l=T0;break;case"defaultChecked":o=T0;break;case"value":R=T0;break;case"defaultValue":f=T0;break;case"children":case"dangerouslySetInnerHTML":if(T0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,W,T0,Q,null)}}X$($,Q),RU($,R,f,l,o,k,M,!1);return;case"select":KU("select",Q),m$("invalid",$),W=k=R=null;for(M in Q)if(Q.hasOwnProperty(M)&&(f=Q[M],f!=null))switch(M){case"value":R=f;break;case"defaultValue":k=f;break;case"multiple":W=f;default:YU($,U,M,f,Q,null)}uU($,Q),U=R,Q=k,$.multiple=!!W,U!=null?d$($,!!W,U,!1):Q!=null&&d$($,!!W,Q,!0);return;case"textarea":KU("textarea",Q),m$("invalid",$),R=M=W=null;for(k in Q)if(Q.hasOwnProperty(k)&&(f=Q[k],f!=null))switch(k){case"value":W=f;break;case"defaultValue":M=f;break;case"children":R=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:YU($,U,k,f,Q,null)}bU($,Q),cU($,W,M,R);return;case"option":S$($,Q);for(l in Q)if(Q.hasOwnProperty(l)&&(W=Q[l],W!=null))switch(l){case"selected":$.selected=W&&typeof W!=="function"&&typeof W!=="symbol";break;default:YU($,U,l,W,Q,null)}return;case"dialog":m$("beforetoggle",$),m$("toggle",$),m$("cancel",$),m$("close",$);break;case"iframe":case"object":m$("load",$);break;case"video":case"audio":for(W=0;W<gG.length;W++)m$(gG[W],$);break;case"image":m$("error",$),m$("load",$);break;case"details":m$("toggle",$);break;case"embed":case"source":case"link":m$("error",$),m$("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(o in Q)if(Q.hasOwnProperty(o)&&(W=Q[o],W!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:YU($,U,o,W,Q,null)}return;default:if(WY(U)){for(T0 in Q)Q.hasOwnProperty(T0)&&(W=Q[T0],W!==void 0&&b8($,U,T0,W,Q,void 0));return}}for(f in Q)Q.hasOwnProperty(f)&&(W=Q[f],W!=null&&YU($,U,f,W,Q,null))}function wN($,U,Q,W){switch(u8(U,W),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var M=null,R=null,k=null,f=null,l=null,o=null,T0=null;for(k0 in Q){var R0=Q[k0];if(Q.hasOwnProperty(k0)&&R0!=null)switch(k0){case"checked":break;case"value":break;case"defaultValue":l=R0;default:W.hasOwnProperty(k0)||YU($,U,k0,null,W,R0)}}for(var D0 in W){var k0=W[D0];if(R0=Q[D0],W.hasOwnProperty(D0)&&(k0!=null||R0!=null))switch(D0){case"type":R=k0;break;case"name":M=k0;break;case"checked":o=k0;break;case"defaultChecked":T0=k0;break;case"value":k=k0;break;case"defaultValue":f=k0;break;case"children":case"dangerouslySetInnerHTML":if(k0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:k0!==R0&&YU($,U,D0,k0,W,R0)}}U=Q.type==="checkbox"||Q.type==="radio"?Q.checked!=null:Q.value!=null,W=W.type==="checkbox"||W.type==="radio"?W.checked!=null:W.value!=null,U||!W||nP||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),nP=!0),!U||W||dP||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),dP=!0),e0($,k,f,l,o,T0,R,M);return;case"select":k0=k=f=D0=null;for(R in Q)if(l=Q[R],Q.hasOwnProperty(R)&&l!=null)switch(R){case"value":break;case"multiple":k0=l;default:W.hasOwnProperty(R)||YU($,U,R,null,W,l)}for(M in W)if(R=W[M],l=Q[M],W.hasOwnProperty(M)&&(R!=null||l!=null))switch(M){case"value":D0=R;break;case"defaultValue":f=R;break;case"multiple":k=R;default:R!==l&&YU($,U,M,R,W,l)}W=f,U=k,Q=k0,D0!=null?d$($,!!U,D0,!1):!!Q!==!!U&&(W!=null?d$($,!!U,W,!0):d$($,!!U,U?[]:"",!1));return;case"textarea":k0=D0=null;for(f in Q)if(M=Q[f],Q.hasOwnProperty(f)&&M!=null&&!W.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:YU($,U,f,null,W,M)}for(k in W)if(M=W[k],R=Q[k],W.hasOwnProperty(k)&&(M!=null||R!=null))switch(k){case"value":D0=M;break;case"defaultValue":k0=M;break;case"children":break;case"dangerouslySetInnerHTML":if(M!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:M!==R&&YU($,U,k,M,W,R)}hU($,D0,k0);return;case"option":for(var z$ in Q)if(D0=Q[z$],Q.hasOwnProperty(z$)&&D0!=null&&!W.hasOwnProperty(z$))switch(z$){case"selected":$.selected=!1;break;default:YU($,U,z$,null,W,D0)}for(l in W)if(D0=W[l],k0=Q[l],W.hasOwnProperty(l)&&D0!==k0&&(D0!=null||k0!=null))switch(l){case"selected":$.selected=D0&&typeof D0!=="function"&&typeof D0!=="symbol";break;default:YU($,U,l,D0,W,k0)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var W$ in Q)D0=Q[W$],Q.hasOwnProperty(W$)&&D0!=null&&!W.hasOwnProperty(W$)&&YU($,U,W$,null,W,D0);for(o in W)if(D0=W[o],k0=Q[o],W.hasOwnProperty(o)&&D0!==k0&&(D0!=null||k0!=null))switch(o){case"children":case"dangerouslySetInnerHTML":if(D0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,o,D0,W,k0)}return;default:if(WY(U)){for(var WU in Q)D0=Q[WU],Q.hasOwnProperty(WU)&&D0!==void 0&&!W.hasOwnProperty(WU)&&b8($,U,WU,void 0,W,D0);for(T0 in W)D0=W[T0],k0=Q[T0],!W.hasOwnProperty(T0)||D0===k0||D0===void 0&&k0===void 0||b8($,U,T0,D0,W,k0);return}}for(var l$ in Q)D0=Q[l$],Q.hasOwnProperty(l$)&&D0!=null&&!W.hasOwnProperty(l$)&&YU($,U,l$,null,W,D0);for(R0 in W)D0=W[R0],k0=Q[R0],!W.hasOwnProperty(R0)||D0===k0||D0==null&&k0==null||YU($,U,R0,D0,W,k0)}function rC($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function h8($){var U={};$=$.style;for(var Q=0;Q<$.length;Q++){var W=$[Q];U[W]=$.getPropertyValue(W)}return U}function tC($,U,Q){if(U!=null&&typeof U!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var W,M=W="",R;for(R in U)if(U.hasOwnProperty(R)){var k=U[R];k!=null&&typeof k!=="boolean"&&k!==""&&(R.indexOf("--")===0?(H0(k,R),W+=M+R+":"+(""+k).trim()):typeof k!=="number"||k===0||YR.has(R)?(H0(k,R),W+=M+R.replace(UR,"-$1").toLowerCase().replace(IR,"-ms-")+":"+(""+k).trim()):W+=M+R.replace(UR,"-$1").toLowerCase().replace(IR,"-ms-")+":"+k+"px",M=";")}W=W||null,U=$.getAttribute("style"),U!==W&&(W=TI(W),TI(U)!==W&&(Q.style=h8($)))}}function C4($,U,Q,W,M,R){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":return}else if(W!=null)switch(typeof W){case"function":case"symbol":case"boolean":break;default:if(n(W,U),$===""+W)return}O6(U,$,W,R)}function aC($,U,Q,W,M,R){if(M.delete(Q),$=$.getAttribute(Q),$===null){switch(typeof W){case"function":case"symbol":return}if(!W)return}else switch(typeof W){case"function":case"symbol":break;default:if(W)return}O6(U,$,W,R)}function c8($,U,Q,W,M,R){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":return}else if(W!=null)switch(typeof W){case"function":case"symbol":break;default:if(n(W,Q),$===""+W)return}O6(U,$,W,R)}function sC($,U,Q,W,M,R){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(W))return}else if(W!=null)switch(typeof W){case"function":case"symbol":case"boolean":break;default:if(!isNaN(W)&&(n(W,U),$===""+W))return}O6(U,$,W,R)}function p8($,U,Q,W,M,R){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":return}else if(W!=null)switch(typeof W){case"function":case"symbol":case"boolean":break;default:if(n(W,U),Q=FY(""+W),$===Q)return}O6(U,$,W,R)}function eC($,U,Q,W){for(var M={},R=new Set,k=$.attributes,f=0;f<k.length;f++)switch(k[f].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:R.add(k[f].name)}if(WY(U)){for(var l in Q)if(Q.hasOwnProperty(l)){var o=Q[l];if(o!=null){if(SX.hasOwnProperty(l))typeof o!=="function"&&V1(l,o);else if(Q.suppressHydrationWarning!==!0)switch(l){case"children":typeof o!=="string"&&typeof o!=="number"||O6("children",$.textContent,o,M);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,o=o?o.__html:void 0,o!=null&&(o=oC($,o),O6(l,k,o,M));continue;case"style":R.delete(l),tC($,o,M);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":R.delete(l.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",l);continue;case"className":R.delete("class"),k=i($,"class",o),O6("className",k,o,M);continue;default:W.context===II&&U!=="svg"&&U!=="math"?R.delete(l.toLowerCase()):R.delete(l),k=i($,l,o),O6(l,k,o,M)}}}}else for(o in Q)if(Q.hasOwnProperty(o)&&(l=Q[o],l!=null)){if(SX.hasOwnProperty(o))typeof l!=="function"&&V1(o,l);else if(Q.suppressHydrationWarning!==!0)switch(o){case"children":typeof l!=="string"&&typeof l!=="number"||O6("children",$.textContent,l,M);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,l=l?l.__html:void 0,l!=null&&(l=oC($,l),k!==l&&(M[o]={__html:k}));continue;case"className":C4($,o,"class",l,R,M);continue;case"tabIndex":C4($,o,"tabindex",l,R,M);continue;case"style":R.delete(o),tC($,l,M);continue;case"multiple":R.delete(o),O6(o,$.multiple,l,M);continue;case"muted":R.delete(o),O6(o,$.muted,l,M);continue;case"autoFocus":R.delete("autofocus"),O6(o,$.autofocus,l,M);continue;case"data":if(U!=="object"){R.delete(o),k=$.getAttribute("data"),O6(o,k,l,M);continue}case"src":case"href":if(!(l!==""||U==="a"&&o==="href"||U==="object"&&o==="data")){o==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o);continue}p8($,o,o,l,R,M);continue;case"action":case"formAction":if(k=$.getAttribute(o),typeof l==="function"){R.delete(o.toLowerCase()),o==="formAction"?(R.delete("name"),R.delete("formenctype"),R.delete("formmethod"),R.delete("formtarget")):(R.delete("enctype"),R.delete("method"),R.delete("target"));continue}else if(k===ik){R.delete(o.toLowerCase()),O6(o,"function",l,M);continue}p8($,o,o.toLowerCase(),l,R,M);continue;case"xlinkHref":p8($,o,"xlink:href",l,R,M);continue;case"contentEditable":c8($,o,"contenteditable",l,R,M);continue;case"spellCheck":c8($,o,"spellcheck",l,R,M);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c8($,o,o,l,R,M);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":aC($,o,o.toLowerCase(),l,R,M);continue;case"capture":case"download":$:{f=$;var T0=k=o,R0=M;if(R.delete(T0),f=f.getAttribute(T0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":break $;default:if(l===!1)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":break;case"boolean":if(l===!0&&f==="")break $;break;default:if(n(l,k),f===""+l)break $}O6(k,f,l,R0)}continue;case"cols":case"rows":case"size":case"span":$:{if(f=$,T0=k=o,R0=M,R.delete(T0),f=f.getAttribute(T0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(l)||1>l)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(l)||1>l)&&(n(l,k),f===""+l))break $}O6(k,f,l,R0)}continue;case"rowSpan":sC($,o,"rowspan",l,R,M);continue;case"start":sC($,o,o,l,R,M);continue;case"xHeight":C4($,o,"x-height",l,R,M);continue;case"xlinkActuate":C4($,o,"xlink:actuate",l,R,M);continue;case"xlinkArcrole":C4($,o,"xlink:arcrole",l,R,M);continue;case"xlinkRole":C4($,o,"xlink:role",l,R,M);continue;case"xlinkShow":C4($,o,"xlink:show",l,R,M);continue;case"xlinkTitle":C4($,o,"xlink:title",l,R,M);continue;case"xlinkType":C4($,o,"xlink:type",l,R,M);continue;case"xmlBase":C4($,o,"xml:base",l,R,M);continue;case"xmlLang":C4($,o,"xml:lang",l,R,M);continue;case"xmlSpace":C4($,o,"xml:space",l,R,M);continue;case"inert":l!==""||lZ[o]||(lZ[o]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",o)),aC($,o,o,l,R,M);continue;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){f=$A(o),k=!1,W.context===II&&U!=="svg"&&U!=="math"?R.delete(f.toLowerCase()):(T0=o.toLowerCase(),T0=IZ.hasOwnProperty(T0)?IZ[T0]||null:null,T0!==null&&T0!==o&&(k=!0,R.delete(T0)),R.delete(f));$:if(T0=$,R0=f,f=l,a0(R0))if(T0.hasAttribute(R0))T0=T0.getAttribute(R0),n(f,R0),f=T0===""+f?f:T0;else{switch(typeof f){case"function":case"symbol":break $;case"boolean":if(T0=R0.toLowerCase().slice(0,5),T0!=="data-"&&T0!=="aria-")break $}f=f===void 0?void 0:null}else f=void 0;k||O6(o,f,l,M)}}}return 0<R.size&&Q.suppressHydrationWarning!==!0&&xN($,R,M),Object.keys(M).length===0?null:M}function fN($,U){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+U+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+U+" "+$[$.length-1]}}function $T($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function yN(){if(typeof performance.getEntriesByType==="function"){for(var $=0,U=0,Q=performance.getEntriesByType("resource"),W=0;W<Q.length;W++){var M=Q[W],R=M.transferSize,k=M.initiatorType,f=M.duration;if(R&&f&&$T(k)){k=0,f=M.responseEnd;for(W+=1;W<Q.length;W++){var l=Q[W],o=l.startTime;if(o>f)break;var{transferSize:T0,initiatorType:R0}=l;T0&&$T(R0)&&(l=l.responseEnd,k+=T0*(l<f?1:(f-o)/(l-o)))}if(--W,U+=8*(R+k)/(M.duration/1000),$++,10<$)break}}if(0<$)return U/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function uO($){return $.nodeType===9?$:$.ownerDocument}function UT($){switch($){case uJ:return WQ;case UZ:return nZ;default:return II}}function IT($,U){if($===II)switch(U){case"svg":return WQ;case"math":return nZ;default:return II}return $===WQ&&U==="foreignObject"?II:$}function m8($,U){return $==="textarea"||$==="noscript"||typeof U.children==="string"||typeof U.children==="number"||typeof U.children==="bigint"||typeof U.dangerouslySetInnerHTML==="object"&&U.dangerouslySetInnerHTML!==null&&U.dangerouslySetInnerHTML.__html!=null}function uN(){var $=window.event;if($&&$.type==="popstate"){if($===EW)return!1;return EW=$,!0}return EW=null,!1}function hY(){var $=window.event;return $&&$!==fG?$.type:null}function cY(){var $=window.event;return $&&$!==fG?$.timeStamp:-1.1}function bN($){setTimeout(function(){throw $})}function hN($,U,Q){switch(U){case"button":case"input":case"select":case"textarea":Q.autoFocus&&$.focus();break;case"img":Q.src?$.src=Q.src:Q.srcSet&&($.srcset=Q.srcSet)}}function cN(){}function pN($,U,Q,W){wN($,U,Q,W),$[_6]=W}function XT($){DY($,"")}function mN($,U,Q){$.nodeValue=Q}function JT($){if(!$.__reactWarnedAboutChildrenConflict){var U=$[_6]||null;if(U!==null){var Q=F$($);Q!==null&&(typeof U.children==="string"||typeof U.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,J0(Q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):U.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,J0(Q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function RI($){return $==="head"}function lN($,U){$.removeChild(U)}function dN($,U){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(U)}function QT($,U){var Q=U,W=0;do{var M=Q.nextSibling;if($.removeChild(Q),M&&M.nodeType===8)if(Q=M.data,Q===wG||Q===dZ){if(W===0){$.removeChild(M),kJ(U);return}W--}else if(Q===xG||Q===oI||Q===nX||Q===DQ||Q===dX)W++;else if(Q===tk)pY($.ownerDocument.documentElement);else if(Q===sk){Q=$.ownerDocument.head,pY(Q);for(var R=Q.firstChild;R;){var{nextSibling:k,nodeName:f}=R;R[rY]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&R.rel.toLowerCase()==="stylesheet"||Q.removeChild(R),R=k}}else Q===ak&&pY($.ownerDocument.body);Q=M}while(Q);kJ(U)}function YT($,U){var Q=$;$=0;do{var W=Q.nextSibling;if(Q.nodeType===1?U?(Q._stashedDisplay=Q.style.display,Q.style.display="none"):(Q.style.display=Q._stashedDisplay||"",Q.getAttribute("style")===""&&Q.removeAttribute("style")):Q.nodeType===3&&(U?(Q._stashedText=Q.nodeValue,Q.nodeValue=""):Q.nodeValue=Q._stashedText||""),W&&W.nodeType===8)if(Q=W.data,Q===wG)if($===0)break;else $--;else Q!==xG&&Q!==oI&&Q!==nX&&Q!==DQ||$++;Q=W}while(Q)}function nN($){YT($,!0)}function oN($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function iN($){$.nodeValue=""}function rN($){YT($,!1)}function tN($,U){U=U[ek],U=U!==void 0&&U!==null&&U.hasOwnProperty("display")?U.display:null,$.style.display=U==null||typeof U==="boolean"?"":(""+U).trim()}function aN($,U){$.nodeValue=U}function l8($){var U=$.firstChild;U&&U.nodeType===10&&(U=U.nextSibling);for(;U;){var Q=U;switch(U=U.nextSibling,Q.nodeName){case"HTML":case"HEAD":case"BODY":l8(Q),S0(Q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Q.rel.toLowerCase()==="stylesheet")continue}$.removeChild(Q)}}function sN($,U,Q,W){for(;$.nodeType===1;){var M=Q;if($.nodeName.toLowerCase()!==U.toLowerCase()){if(!W&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!W)if(U==="input"&&$.type==="hidden"){n(M.name,"name");var R=M.name==null?null:""+M.name;if(M.type==="hidden"&&$.getAttribute("name")===R)return $}else return $;else if(!$[rY])switch(U){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(R=$.getAttribute("rel"),R==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(R!==M.rel||$.getAttribute("href")!==(M.href==null||M.href===""?null:M.href)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin)||$.getAttribute("title")!==(M.title==null?null:M.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(R=$.getAttribute("src"),(R!==(M.src==null?null:M.src)||$.getAttribute("type")!==(M.type==null?null:M.type)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin))&&R&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=Q4($.nextSibling),$===null)break}return null}function eN($,U,Q){if(U==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Q)return null;if($=Q4($.nextSibling),$===null)return null}return $}function GT($,U){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!U)return null;if($=Q4($.nextSibling),$===null)return null}return $}function d8($){return $.data===oI||$.data===nX}function n8($){return $.data===DQ||$.data===oI&&$.ownerDocument.readyState!==tP}function $3($,U){var Q=$.ownerDocument;if($.data===nX)$._reactRetry=U;else if($.data!==oI||Q.readyState!==tP)U();else{var W=function(){U(),Q.removeEventListener("DOMContentLoaded",W)};Q.addEventListener("DOMContentLoaded",W),$._reactRetry=W}}function Q4($){for(;$!=null;$=$.nextSibling){var U=$.nodeType;if(U===1||U===3)break;if(U===8){if(U=$.data,U===xG||U===DQ||U===oI||U===nX||U===dX||U===TW||U===rP)break;if(U===wG||U===dZ)return null}}return $}function OT($){if($.nodeType===1){for(var U=$.nodeName.toLowerCase(),Q={},W=$.attributes,M=0;M<W.length;M++){var R=W[M];Q[rC(R.name)]=R.name.toLowerCase()==="style"?h8($):R.value}return{type:U,props:Q}}return $.nodeType===8?$.data===dX?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function ZT($,U,Q){return Q===null||Q[rk]!==!0?($.nodeValue===U?$=null:(U=TI(U),$=TI($.nodeValue)===U?null:$.nodeValue),$):null}function o8($){$=$.nextSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===wG||Q===dZ){if(U===0)return Q4($.nextSibling);U--}else Q!==xG&&Q!==DQ&&Q!==oI&&Q!==nX&&Q!==dX||U++}$=$.nextSibling}return null}function zT($){$=$.previousSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===xG||Q===DQ||Q===oI||Q===nX||Q===dX){if(U===0)return $;U--}else Q!==wG&&Q!==dZ||U++}$=$.previousSibling}return null}function U3($){kJ($)}function I3($){kJ($)}function X3($){kJ($)}function KT($,U,Q,W,M){switch(M&&JV($,W.ancestorInfo),U=uO(Q),$){case"html":if($=U.documentElement,!$)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"head":if($=U.head,!$)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"body":if($=U.body,!$)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function J3($,U,Q,W){if(!Q[SI]&&F$(Q)){var M=Q.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",M,M,M)}switch($){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(M=Q.attributes;M.length;)Q.removeAttributeNode(M[0]);H6(Q,$,U),Q[L6]=W,Q[_6]=U}function pY($){for(var U=$.attributes;U.length;)$.removeAttributeNode(U[0]);S0($)}function bO($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function VT($,U,Q){var W=FQ;if(W&&typeof U==="string"&&U){var M=e$(U);M='link[rel="'+$+'"][href="'+M+'"]',typeof Q==="string"&&(M+='[crossorigin="'+Q+'"]'),IE.has(M)||(IE.add(M),$={rel:$,crossOrigin:Q,href:U},W.querySelector(M)===null&&(U=W.createElement("link"),H6(U,"link",$),V$(U),W.head.appendChild(U)))}}function DT($,U,Q,W){var M=(M=EI.current)?bO(M):null;if(!M)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof Q.precedence==="string"&&typeof Q.href==="string"?(Q=BJ(Q.href),U=f0(M).hoistableStyles,W=U.get(Q),W||(W={type:"style",instance:null,count:0,state:null},U.set(Q,W)),W):{type:"void",instance:null,count:0,state:null};case"link":if(Q.rel==="stylesheet"&&typeof Q.href==="string"&&typeof Q.precedence==="string"){$=BJ(Q.href);var R=f0(M).hoistableStyles,k=R.get($);if(!k&&(M=M.ownerDocument||M,k={type:"stylesheet",instance:null,count:0,state:{loading:iX,preload:null}},R.set($,k),(R=M.querySelector(mY($)))&&!R._p&&(k.instance=R,k.state.loading=yG|k4),!g4.has($))){var f={rel:"preload",as:"style",href:Q.href,crossOrigin:Q.crossOrigin,integrity:Q.integrity,media:Q.media,hrefLang:Q.hrefLang,referrerPolicy:Q.referrerPolicy};g4.set($,f),R||Q3(M,$,f,k.state)}if(U&&W===null)throw Q=`
|
|
177
|
+
|
|
178
|
+
- `+hO(U)+`
|
|
179
|
+
+ `+hO(Q),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Q);return k}if(U&&W!==null)throw Q=`
|
|
180
|
+
|
|
181
|
+
- `+hO(U)+`
|
|
182
|
+
+ `+hO(Q),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Q);return null;case"script":return U=Q.async,Q=Q.src,typeof Q==="string"&&U&&typeof U!=="function"&&typeof U!=="symbol"?(Q=NJ(Q),U=f0(M).hoistableScripts,W=U.get(Q),W||(W={type:"script",instance:null,count:0,state:null},U.set(Q,W)),W):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function hO($){var U=0,Q="<link";return typeof $.rel==="string"?(U++,Q+=' rel="'+$.rel+'"'):h4.call($,"rel")&&(U++,Q+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(U++,Q+=' href="'+$.href+'"'):h4.call($,"href")&&(U++,Q+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(U++,Q+=' precedence="'+$.precedence+'"'):h4.call($,"precedence")&&(U++,Q+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>U&&(Q+=" ..."),Q+" />"}function BJ($){return'href="'+e$($)+'"'}function mY($){return'link[rel="stylesheet"]['+$+"]"}function WT($){return y$({},$,{"data-precedence":$.precedence,precedence:null})}function Q3($,U,Q,W){$.querySelector('link[rel="preload"][as="style"]['+U+"]")?W.loading=yG:(U=$.createElement("link"),W.preload=U,U.addEventListener("load",function(){return W.loading|=yG}),U.addEventListener("error",function(){return W.loading|=$E}),H6(U,"link",Q),V$(U),$.head.appendChild(U))}function NJ($){return'[src="'+e$($)+'"]'}function lY($){return"script[async]"+$}function FT($,U,Q){if(U.count++,U.instance===null)switch(U.type){case"style":var W=$.querySelector('style[data-href~="'+e$(Q.href)+'"]');if(W)return U.instance=W,V$(W),W;var M=y$({},Q,{"data-href":Q.href,"data-precedence":Q.precedence,href:null,precedence:null});return W=($.ownerDocument||$).createElement("style"),V$(W),H6(W,"style",M),cO(W,Q.precedence,$),U.instance=W;case"stylesheet":M=BJ(Q.href);var R=$.querySelector(mY(M));if(R)return U.state.loading|=k4,U.instance=R,V$(R),R;W=WT(Q),(M=g4.get(M))&&i8(W,M),R=($.ownerDocument||$).createElement("link"),V$(R);var k=R;return k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),H6(R,"link",W),U.state.loading|=k4,cO(R,Q.precedence,$),U.instance=R;case"script":if(R=NJ(Q.src),M=$.querySelector(lY(R)))return U.instance=M,V$(M),M;if(W=Q,M=g4.get(R))W=y$({},Q),r8(W,M);return $=$.ownerDocument||$,M=$.createElement("script"),V$(M),H6(M,"link",W),$.head.appendChild(M),U.instance=M;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+U.type+'". this is a bug in React.')}else U.type==="stylesheet"&&(U.state.loading&k4)===iX&&(W=U.instance,U.state.loading|=k4,cO(W,Q.precedence,$));return U.instance}function cO($,U,Q){for(var W=Q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),M=W.length?W[W.length-1]:null,R=M,k=0;k<W.length;k++){var f=W[k];if(f.dataset.precedence===U)R=f;else if(R!==M)break}R?R.parentNode.insertBefore($,R.nextSibling):(U=Q.nodeType===9?Q.head:Q,U.insertBefore($,U.firstChild))}function i8($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.title==null&&($.title=U.title)}function r8($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.integrity==null&&($.integrity=U.integrity)}function HT($,U,Q){if(oZ===null){var W=new Map,M=oZ=new Map;M.set(Q,W)}else M=oZ,W=M.get(Q),W||(W=new Map,M.set(Q,W));if(W.has($))return W;W.set($,null),Q=Q.getElementsByTagName($);for(M=0;M<Q.length;M++){var R=Q[M];if(!(R[rY]||R[L6]||$==="link"&&R.getAttribute("rel")==="stylesheet")&&R.namespaceURI!==uJ){var k=R.getAttribute(U)||"";k=$+k;var f=W.get(k);f?f.push(R):W.set(k,[R])}}return W}function LT($,U,Q){$=$.ownerDocument||$,$.head.insertBefore(Q,U==="title"?$.querySelector("head > title"):null)}function Y3($,U,Q){var W=!Q.ancestorInfo.containerTagInScope;if(Q.context===WQ||U.itemProp!=null)return!W||U.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof U.precedence!=="string"||typeof U.href!=="string"||U.href===""){W&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""||U.onLoad||U.onError){if(U.rel==="stylesheet"&&typeof U.precedence==="string"){$=U.href;var{onError:M,disabled:R}=U;Q=[],U.onLoad&&Q.push("`onLoad`"),M&&Q.push("`onError`"),R!=null&&Q.push("`disabled`"),M=fN(Q,"and"),M+=Q.length===1?" prop":" props",R=Q.length===1?"an "+M:"the "+M,Q.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',$,R,M)}W&&(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(U.onError||U.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(U.rel){case"stylesheet":return $=U.precedence,U=U.disabled,typeof $!=="string"&&W&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof $==="string"&&U==null;default:return!0}case"script":if($=U.async&&typeof U.async!=="function"&&typeof U.async!=="symbol",!$||U.onLoad||U.onError||!U.src||typeof U.src!=="string"){W&&($?U.onLoad||U.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":W&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function MT($){return $.type==="stylesheet"&&($.state.loading&UE)===iX?!1:!0}function G3($,U,Q,W){if(Q.type==="stylesheet"&&(typeof W.media!=="string"||matchMedia(W.media).matches!==!1)&&(Q.state.loading&k4)===iX){if(Q.instance===null){var M=BJ(W.href),R=U.querySelector(mY(M));if(R){U=R._p,U!==null&&typeof U==="object"&&typeof U.then==="function"&&($.count++,$=pO.bind($),U.then($,$)),Q.state.loading|=k4,Q.instance=R,V$(R);return}R=U.ownerDocument||U,W=WT(W),(M=g4.get(M))&&i8(W,M),R=R.createElement("link"),V$(R);var k=R;k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),H6(R,"link",W),Q.instance=R}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(Q,U),(U=Q.state.preload)&&(Q.state.loading&UE)===iX&&($.count++,Q=pO.bind($),U.addEventListener("load",Q),U.addEventListener("error",Q))}}function O3($,U){return $.stylesheets&&$.count===0&&mO($,$.stylesheets),0<$.count||0<$.imgCount?function(Q){var W=setTimeout(function(){if($.stylesheets&&mO($,$.stylesheets),$.unsuspend){var R=$.unsuspend;$.unsuspend=null,R()}},Ig+U);0<$.imgBytes&&SW===0&&(SW=125*yN()*Jg);var M=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&mO($,$.stylesheets),$.unsuspend)){var R=$.unsuspend;$.unsuspend=null,R()}},($.imgBytes>SW?50:Xg)+U);return $.unsuspend=Q,function(){$.unsuspend=null,clearTimeout(W),clearTimeout(M)}}:null}function pO(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)mO(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function mO($,U){$.stylesheets=null,$.unsuspend!==null&&($.count++,iZ=new Map,U.forEach(Z3,$),iZ=null,pO.call($))}function Z3($,U){if(!(U.state.loading&k4)){var Q=iZ.get($);if(Q)var W=Q.get(jW);else{Q=new Map,iZ.set($,Q);for(var M=$.querySelectorAll("link[data-precedence],style[data-precedence]"),R=0;R<M.length;R++){var k=M[R];if(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")Q.set(k.dataset.precedence,k),W=k}W&&Q.set(jW,W)}M=U.instance,k=M.getAttribute("data-precedence"),R=Q.get(k)||W,R===W&&Q.set(jW,M),Q.set(k,M),this.count++,W=pO.bind(this),M.addEventListener("load",W),M.addEventListener("error",W),R?R.parentNode.insertBefore(M,R.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(M,$.firstChild)),U.state.loading|=k4}}function z3($,U,Q,W,M,R,k,f,l){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=oX,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=p0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p0(0),this.hiddenUpdates=p0(null),this.identifierPrefix=W,this.onUncaughtError=M,this.onCaughtError=R,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(U=0;31>U;U++)$.push(new Set);this._debugRootType=Q?"hydrateRoot()":"createRoot()"}function AT($,U,Q,W,M,R,k,f,l,o,T0,R0){return $=new z3($,U,Q,k,l,o,T0,R0,f),U=vk,R===!0&&(U|=T6|p4),U|=N$,R=P(3,null,null,U),$.current=R,R.stateNode=$,U=RV(),qX(U),$.pooledCache=U,qX(U),R.memoizedState={element:W,isDehydrated:Q,cache:U},jV(R),$}function qT($){if(!$)return NI;return $=NI,$}function t8($,U,Q,W,M,R){if(C6&&typeof C6.onScheduleFiberRoot==="function")try{C6.onScheduleFiberRoot(fJ,W,Q)}catch(k){H1||(H1=!0,console.error("React instrumentation encountered an error: %o",k))}M=qT(M),W.context===null?W.context=M:W.pendingContext=M,F1&&G4!==null&&!YE&&(YE=!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.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,t(G4)||"Unknown")),W=HI(U),W.payload={element:Q},R=R===void 0?null:R,R!==null&&(typeof R!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",R),W.callback=R),Q=LI($,W,U),Q!==null&&($1(U,"root.render()",null),xU(Q,$,U),PY(Q,$,U))}function CT($,U){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var Q=$.retryLane;$.retryLane=Q!==0&&Q<U?Q:U}}function a8($,U){CT($,U),($=$.alternate)&&CT($,U)}function TT($){if($.tag===13||$.tag===31){var U=q6($,67108864);U!==null&&xU(U,$,67108864),a8($,67108864)}}function RT($){if($.tag===13||$.tag===31){var U=J4($);U=r0(U);var Q=q6($,U);Q!==null&&xU(Q,$,U),a8($,U)}}function K3(){return G4}function V3($,U,Q,W){var M=y0.T;y0.T=null;var R=s$.p;try{s$.p=O4,s8($,U,Q,W)}finally{s$.p=R,y0.T=M}}function D3($,U,Q,W){var M=y0.T;y0.T=null;var R=s$.p;try{s$.p=c4,s8($,U,Q,W)}finally{s$.p=R,y0.T=M}}function s8($,U,Q,W){if(tZ){var M=e8(W);if(M===null)y8($,U,W,aZ,Q),ET($,W);else if(W3(M,$,U,Q,W))W.stopPropagation();else if(ET($,W),U&4&&-1<Yg.indexOf($)){for(;M!==null;){var R=F$(M);if(R!==null)switch(R.tag){case 3:if(R=R.stateNode,R.current.memoizedState.isDehydrated){var k=K0(R.pendingLanes);if(k!==0){var f=R;f.pendingLanes|=2;for(f.entangledLanes|=2;k;){var l=1<<31-E6(k);f.entanglements[1]|=l,k&=~l}K1(R),(n$&(G6|V4))===V6&&(gZ=Z6()+xP,uY(0,!1))}}break;case 31:case 13:f=q6(R,2),f!==null&&xU(f,R,2),SJ(),a8(R,2)}if(R=e8(W),R===null&&y8($,U,W,aZ,Q),R===M)break;M=R}M!==null&&W.stopPropagation()}else y8($,U,W,null,Q)}}function e8($){return $=QV($),$D($)}function $D($){if(aZ=null,$=B0($),$!==null){var U=b($);if(U===null)$=null;else{var Q=U.tag;if(Q===13){if($=g(U),$!==null)return $;$=null}else if(Q===31){if($=u(U),$!==null)return $;$=null}else if(Q===3){if(U.stateNode.current.memoizedState.isDehydrated)return U.tag===3?U.stateNode.containerInfo:null;$=null}else U!==$&&($=null)}}return aZ=$,null}function PT($){switch($){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return O4;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return c4;case"message":switch(R3()){case DD:return O4;case WD:return c4;case wJ:case P3:return M1;case FD:return eO;default:return M1}default:return M1}}function ET($,U){switch($){case"focusin":case"focusout":iI=null;break;case"dragenter":case"dragleave":rI=null;break;case"mouseover":case"mouseout":tI=null;break;case"pointerover":case"pointerout":bG.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":hG.delete(U.pointerId)}}function dY($,U,Q,W,M,R){if($===null||$.nativeEvent!==R)return $={blockedOn:U,domEventName:Q,eventSystemFlags:W,nativeEvent:R,targetContainers:[M]},U!==null&&(U=F$(U),U!==null&&TT(U)),$;return $.eventSystemFlags|=W,U=$.targetContainers,M!==null&&U.indexOf(M)===-1&&U.push(M),$}function W3($,U,Q,W,M){switch(U){case"focusin":return iI=dY(iI,$,U,Q,W,M),!0;case"dragenter":return rI=dY(rI,$,U,Q,W,M),!0;case"mouseover":return tI=dY(tI,$,U,Q,W,M),!0;case"pointerover":var R=M.pointerId;return bG.set(R,dY(bG.get(R)||null,$,U,Q,W,M)),!0;case"gotpointercapture":return R=M.pointerId,hG.set(R,dY(hG.get(R)||null,$,U,Q,W,M)),!0}return!1}function _T($){var U=B0($.target);if(U!==null){var Q=b(U);if(Q!==null){if(U=Q.tag,U===13){if(U=g(Q),U!==null){$.blockedOn=U,s0($.priority,function(){RT(Q)});return}}else if(U===31){if(U=u(Q),U!==null){$.blockedOn=U,s0($.priority,function(){RT(Q)});return}}else if(U===3&&Q.stateNode.current.memoizedState.isDehydrated){$.blockedOn=Q.tag===3?Q.stateNode.containerInfo:null;return}}}$.blockedOn=null}function lO($){if($.blockedOn!==null)return!1;for(var U=$.targetContainers;0<U.length;){var Q=e8($.nativeEvent);if(Q===null){Q=$.nativeEvent;var W=new Q.constructor(Q.type,Q),M=W;tY!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),tY=M,Q.target.dispatchEvent(W),tY===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),tY=null}else return U=F$(Q),U!==null&&TT(U),$.blockedOn=Q,!1;U.shift()}return!0}function ST($,U,Q){lO($)&&Q.delete(U)}function F3(){vW=!1,iI!==null&&lO(iI)&&(iI=null),rI!==null&&lO(rI)&&(rI=null),tI!==null&&lO(tI)&&(tI=null),bG.forEach(ST),hG.forEach(ST)}function dO($,U){$.blockedOn===U&&($.blockedOn=null,vW||(vW=!0,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,F3)))}function jT($){sZ!==$&&(sZ=$,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,function(){sZ===$&&(sZ=null);for(var U=0;U<$.length;U+=3){var Q=$[U],W=$[U+1],M=$[U+2];if(typeof W!=="function")if($D(W||Q)===null)continue;else break;var R=F$(Q);R!==null&&($.splice(U,3),U-=3,Q={pending:!0,data:M,method:Q.method,action:W},Object.freeze(Q),$8(R,Q,W,M))}}))}function kJ($){function U(l){return dO(l,$)}iI!==null&&dO(iI,$),rI!==null&&dO(rI,$),tI!==null&&dO(tI,$),bG.forEach(U),hG.forEach(U);for(var Q=0;Q<aI.length;Q++){var W=aI[Q];W.blockedOn===$&&(W.blockedOn=null)}for(;0<aI.length&&(Q=aI[0],Q.blockedOn===null);)_T(Q),Q.blockedOn===null&&aI.shift();if(Q=($.ownerDocument||$).$$reactFormReplay,Q!=null)for(W=0;W<Q.length;W+=3){var M=Q[W],R=Q[W+1],k=M[_6]||null;if(typeof R==="function")k||jT(Q);else if(k){var f=null;if(R&&R.hasAttribute("formAction")){if(M=R,k=R[_6]||null)f=k.formAction;else if($D(M)!==null)continue}else f=k.action;typeof f==="function"?Q[W+1]=f:(Q.splice(W,3),W-=3),jT(Q)}}}function vT(){function $(R){R.canIntercept&&R.info==="react-transition"&&R.intercept({handler:function(){return new Promise(function(k){return M=k})},focusReset:"manual",scroll:"manual"})}function U(){M!==null&&(M(),M=null),W||setTimeout(Q,20)}function Q(){if(!W&&!navigation.transition){var R=navigation.currentEntry;R&&R.url!=null&&navigation.navigate(R.url,{state:R.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var W=!1,M=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(Q,100),function(){W=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),M!==null&&(M(),M=null)}}}function UD($){this._internalRoot=$}function nO($){this._internalRoot=$}function BT($){$[SI]&&($._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var y$=Object.assign,H3=Symbol.for("react.element"),D1=Symbol.for("react.transitional.element"),gJ=Symbol.for("react.portal"),xJ=Symbol.for("react.fragment"),oO=Symbol.for("react.strict_mode"),ID=Symbol.for("react.profiler"),XD=Symbol.for("react.consumer"),W1=Symbol.for("react.context"),nY=Symbol.for("react.forward_ref"),JD=Symbol.for("react.suspense"),QD=Symbol.for("react.suspense_list"),iO=Symbol.for("react.memo"),Y4=Symbol.for("react.lazy"),YD=Symbol.for("react.activity"),L3=Symbol.for("react.memo_cache_sentinel"),NT=Symbol.iterator,M3=Symbol.for("react.client.reference"),Q6=Array.isArray,y0=LQ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s$=NW.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A3=Object.freeze({pending:!1,data:null,method:null,action:null}),GD=[],OD=[],p1=-1,PI=C0(null),oY=C0(null),EI=C0(null),rO=C0(null),iY=0,kT,gT,xT,wT,fT,yT,uT;Z.__reactDisabledLog=!0;var ZD,bT,zD=!1,KD=new(typeof WeakMap==="function"?WeakMap:Map),G4=null,F1=!1,h4=Object.prototype.hasOwnProperty,VD=o$.unstable_scheduleCallback,q3=o$.unstable_cancelCallback,C3=o$.unstable_shouldYield,T3=o$.unstable_requestPaint,Z6=o$.unstable_now,R3=o$.unstable_getCurrentPriorityLevel,DD=o$.unstable_ImmediatePriority,WD=o$.unstable_UserBlockingPriority,wJ=o$.unstable_NormalPriority,P3=o$.unstable_LowPriority,FD=o$.unstable_IdlePriority,E3=o$.log,_3=o$.unstable_setDisableYieldValue,fJ=null,C6=null,H1=!1,L1=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",E6=Math.clz32?Math.clz32:I0,S3=Math.log,j3=Math.LN2,tO=256,aO=262144,sO=4194304,O4=2,c4=8,M1=32,eO=268435456,_I=Math.random().toString(36).slice(2),L6="__reactFiber$"+_I,_6="__reactProps$"+_I,SI="__reactContainer$"+_I,HD="__reactEvents$"+_I,v3="__reactListeners$"+_I,B3="__reactHandles$"+_I,hT="__reactResources$"+_I,rY="__reactMarker$"+_I,cT=new Set,SX={},LD={},N3={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},k3=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),pT={},mT={},g3=/[\n"\\]/g,lT=!1,dT=!1,nT=!1,oT=!1,iT=!1,rT=!1,tT=["value","defaultValue"],aT=!1,sT=/["'&<>\n\t]|^\s|\s$/,x3="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),eT="applet caption html table td th marquee object template foreignObject desc title".split(" "),w3=eT.concat(["button"]),f3="dd dt li option optgroup p rp rt".split(" "),$R={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},$Z={},MD={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},UR=/([A-Z])/g,IR=/^ms-/,y3=/^(?:webkit|moz|o)[A-Z]/,u3=/^-ms-/,b3=/-(.)/g,XR=/;\s*$/,yJ={},AD={},JR=!1,QR=!1,YR=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),UZ="http://www.w3.org/1998/Math/MathML",uJ="http://www.w3.org/2000/svg",h3=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),IZ={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},GR={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},bJ={},c3=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),p3=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),OR=!1,S6={},ZR=/^on./,m3=/^on[^A-Z]/,l3=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),d3=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),n3=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,tY=null,hJ=null,cJ=null,qD=!1,A1=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),CD=!1;if(A1)try{var aY={};Object.defineProperty(aY,"passive",{get:function(){CD=!0}}),window.addEventListener("test",aY,aY),window.removeEventListener("test",aY,aY)}catch($){CD=!1}var jI=null,TD=null,XZ=null,jX={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},JZ=c6(jX),sY=y$({},jX,{view:0,detail:0}),o3=c6(sY),RD,PD,eY,QZ=y$({},sY,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:YV,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==eY&&(eY&&$.type==="mousemove"?(RD=$.screenX-eY.screenX,PD=$.screenY-eY.screenY):PD=RD=0,eY=$),RD},movementY:function($){return"movementY"in $?$.movementY:PD}}),zR=c6(QZ),i3=y$({},QZ,{dataTransfer:0}),r3=c6(i3),t3=y$({},sY,{relatedTarget:0}),ED=c6(t3),a3=y$({},jX,{animationName:0,elapsedTime:0,pseudoElement:0}),s3=c6(a3),e3=y$({},jX,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),$k=c6(e3),Uk=y$({},jX,{data:0}),KR=c6(Uk),Ik=KR,Xk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jk={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Qk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Yk=y$({},sY,{key:function($){if($.key){var U=Xk[$.key]||$.key;if(U!=="Unidentified")return U}return $.type==="keypress"?($=l2($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?Jk[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:YV,charCode:function($){return $.type==="keypress"?l2($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?l2($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),Gk=c6(Yk),Ok=y$({},QZ,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),VR=c6(Ok),Zk=y$({},sY,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:YV}),zk=c6(Zk),Kk=y$({},jX,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vk=c6(Kk),Dk=y$({},QZ,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),Wk=c6(Dk),Fk=y$({},jX,{newState:0,oldState:0}),Hk=c6(Fk),Lk=[9,13,27,32],DR=229,_D=A1&&"CompositionEvent"in window,$G=null;A1&&"documentMode"in document&&($G=document.documentMode);var Mk=A1&&"TextEvent"in window&&!$G,WR=A1&&(!_D||$G&&8<$G&&11>=$G),FR=32,HR=String.fromCharCode(FR),LR=!1,pJ=!1,Ak={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},UG=null,IG=null,MR=!1;A1&&(MR=hB("input")&&(!document.documentMode||9<document.documentMode));var j6=typeof Object.is==="function"?Object.is:nB,qk=A1&&"documentMode"in document&&11>=document.documentMode,mJ=null,SD=null,XG=null,jD=!1,lJ={animationend:DX("Animation","AnimationEnd"),animationiteration:DX("Animation","AnimationIteration"),animationstart:DX("Animation","AnimationStart"),transitionrun:DX("Transition","TransitionRun"),transitionstart:DX("Transition","TransitionStart"),transitioncancel:DX("Transition","TransitionCancel"),transitionend:DX("Transition","TransitionEnd")},vD={},AR={};A1&&(AR=document.createElement("div").style,("AnimationEvent"in window)||(delete lJ.animationend.animation,delete lJ.animationiteration.animation,delete lJ.animationstart.animation),("TransitionEvent"in window)||delete lJ.transitionend.transition);var qR=WX("animationend"),CR=WX("animationiteration"),TR=WX("animationstart"),Ck=WX("transitionrun"),Tk=WX("transitionstart"),Rk=WX("transitioncancel"),RR=WX("transitionend"),PR=new Map,BD="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");BD.push("scrollEnd");var ER=0;if(typeof performance==="object"&&typeof performance.now==="function")var Pk=performance,_R=function(){return Pk.now()};else{var Ek=Date;_R=function(){return Ek.now()}}var ND=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(U))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},_k="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",YZ=0,kD=1,gD=2,xD=3,GZ="– ",OZ="+ ",SR=" ",AU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",T4="Components ⚛",u$="Scheduler ⚛",b$="Blocking",vI=!1,m1={color:"primary",properties:null,tooltipText:"",track:T4},BI={start:-0,end:-0,detail:{devtools:m1}},Sk=["Changed Props",""],jR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",jk=["Changed Props",jR],JG=1,l1=2,R4=[],dJ=0,wD=0,NI={};Object.freeze(NI);var P4=null,nJ=null,C$=0,vk=1,N$=2,T6=8,p4=16,Bk=32,vR=!1;try{var BR=Object.preventExtensions({})}catch($){vR=!0}var fD=new WeakMap,oJ=[],iJ=0,ZZ=null,QG=0,E4=[],_4=0,vX=null,d1=1,n1="",M6=null,qU=null,p$=!1,q1=!1,Z4=null,kI=null,S4=!1,yD=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."),uD=C0(null),bD=C0(null),NR={},zZ=null,rJ=null,tJ=!1,Nk=typeof AbortController<"u"?AbortController:function(){var $=[],U=this.signal={aborted:!1,addEventListener:function(Q,W){$.push(W)}};this.abort=function(){U.aborted=!0,$.forEach(function(Q){return Q()})}},kk=o$.unstable_scheduleCallback,gk=o$.unstable_NormalPriority,sU={$$typeof:W1,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},eU=o$.unstable_now,KZ=console.createTask?console.createTask:function(){return null},YG=1,VZ=2,z6=-0,gI=-0,o1=-0,i1=null,v6=-1.1,BX=-0,NU=-0,A$=-1.1,q$=-1.1,SU=null,wU=!1,xI=-0,C1=-1.1,GG=null,wI=0,hD=null,cD=null,NX=-1.1,OG=null,aJ=-1.1,DZ=-1.1,T1=-0,r1=-1.1,j4=-1.1,pD=0,ZG=null,kR=null,gR=null,fI=-1.1,kX=null,yI=-1.1,WZ=-1.1,xR=-0,wR=-0,FZ=0,t1=null,fR=0,zG=-1.1,HZ=!1,LZ=!1,KG=null,mD=0,gX=0,sJ=null,yR=y0.S;y0.S=function($,U){if(kP=Z6(),typeof U==="object"&&U!==null&&typeof U.then==="function"){if(0>r1&&0>j4){r1=eU();var Q=cY(),W=hY();if(Q!==yI||W!==kX)yI=-1.1;fI=Q,kX=W}eB($,U)}yR!==null&&yR($,U)};var xX=C0(null),m4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},VG=[],DG=[],WG=[],FG=[],HG=[],LG=[],wX=new Set;m4.recordUnsafeLifecycleWarnings=function($,U){wX.has($.type)||(typeof U.componentWillMount==="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0&&VG.push($),$.mode&T6&&typeof U.UNSAFE_componentWillMount==="function"&&DG.push($),typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&WG.push($),$.mode&T6&&typeof U.UNSAFE_componentWillReceiveProps==="function"&&FG.push($),typeof U.componentWillUpdate==="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0&&HG.push($),$.mode&T6&&typeof U.UNSAFE_componentWillUpdate==="function"&&LG.push($))},m4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<VG.length&&(VG.forEach(function(f){$.add(t(f)||"Component"),wX.add(f.type)}),VG=[]);var U=new Set;0<DG.length&&(DG.forEach(function(f){U.add(t(f)||"Component"),wX.add(f.type)}),DG=[]);var Q=new Set;0<WG.length&&(WG.forEach(function(f){Q.add(t(f)||"Component"),wX.add(f.type)}),WG=[]);var W=new Set;0<FG.length&&(FG.forEach(function(f){W.add(t(f)||"Component"),wX.add(f.type)}),FG=[]);var M=new Set;0<HG.length&&(HG.forEach(function(f){M.add(t(f)||"Component"),wX.add(f.type)}),HG=[]);var R=new Set;if(0<LG.length&&(LG.forEach(function(f){R.add(t(f)||"Component"),wX.add(f.type)}),LG=[]),0<U.size){var k=q(U);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.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,k)}0<W.size&&(k=q(W),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.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* 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
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,k)),0<R.size&&(k=q(R),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.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,k)),0<$.size&&(k=q($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* 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.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,k)),0<Q.size&&(k=q(Q),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* 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
|
|
206
|
+
* 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.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,k)),0<M.size&&(k=q(M),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,k))};var MZ=new Map,uR=new Set;m4.recordLegacyContextWarning=function($,U){var Q=null;for(var W=$;W!==null;)W.mode&T6&&(Q=W),W=W.return;Q===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."):!uR.has($.type)&&(W=MZ.get(Q),$.type.contextTypes!=null||$.type.childContextTypes!=null||U!==null&&typeof U.getChildContext==="function")&&(W===void 0&&(W=[],MZ.set(Q,W)),W.push($))},m4.flushLegacyContextWarning=function(){MZ.forEach(function($){if($.length!==0){var U=$[0],Q=new Set;$.forEach(function(M){Q.add(t(M)||"Component"),uR.add(M.type)});var W=q(Q);J0(U,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,W)})}})},m4.discardPendingWarnings=function(){VG=[],DG=[],WG=[],FG=[],HG=[],LG=[],MZ=new Map};var bR={react_stack_bottom_frame:function($,U,Q){var W=F1;F1=!0;try{return $(U,Q)}finally{F1=W}}},lD=bR.react_stack_bottom_frame.bind(bR),hR={react_stack_bottom_frame:function($){var U=F1;F1=!0;try{return $.render()}finally{F1=U}}},cR=hR.react_stack_bottom_frame.bind(hR),pR={react_stack_bottom_frame:function($,U){try{U.componentDidMount()}catch(Q){a$($,$.return,Q)}}},dD=pR.react_stack_bottom_frame.bind(pR),mR={react_stack_bottom_frame:function($,U,Q,W,M){try{U.componentDidUpdate(Q,W,M)}catch(R){a$($,$.return,R)}}},lR=mR.react_stack_bottom_frame.bind(mR),dR={react_stack_bottom_frame:function($,U){var Q=U.stack;$.componentDidCatch(U.value,{componentStack:Q!==null?Q:""})}},xk=dR.react_stack_bottom_frame.bind(dR),nR={react_stack_bottom_frame:function($,U,Q){try{Q.componentWillUnmount()}catch(W){a$($,U,W)}}},oR=nR.react_stack_bottom_frame.bind(nR),iR={react_stack_bottom_frame:function($){var U=$.create;return $=$.inst,U=U(),$.destroy=U}},wk=iR.react_stack_bottom_frame.bind(iR),rR={react_stack_bottom_frame:function($,U,Q){try{Q()}catch(W){a$($,U,W)}}},fk=rR.react_stack_bottom_frame.bind(rR),tR={react_stack_bottom_frame:function($){var U=$._init;return U($._payload)}},yk=tR.react_stack_bottom_frame.bind(tR),eJ=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`."),nD=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."),AZ=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."),qZ={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.')}},fX=null,MG=!1,$Q=null,AG=0,k$=null,oD,aR=oD=!1,sR={},eR={},$P={};_=function($,U,Q){if(Q!==null&&typeof Q==="object"&&Q._store&&(!Q._store.validated&&Q.key==null||Q._store.validated===2)){if(typeof Q._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.");Q._store.validated=1;var W=t($),M=W||"null";if(!sR[M]){sR[M]=!0,Q=Q._owner,$=$._debugOwner;var R="";$&&typeof $.tag==="number"&&(M=t($))&&(R=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+M+"`."),R||W&&(R=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+W+">.");var k="";Q!=null&&$!==Q&&(W=null,typeof Q.tag==="number"?W=t(Q):typeof Q.name==="string"&&(W=Q.name),W&&(k=" It was passed a child from "+W+".")),J0(U,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.',R,k)})}}};var yX=nA(!0),UP=nA(!1),IP=0,XP=1,JP=2,iD=3,uI=!1,QP=!1,rD=null,tD=!1,UQ=C0(null),CZ=C0(0),z4=C0(null),v4=null,IQ=1,qG=2,tU=C0(0),TZ=0,B4=1,B6=2,K4=4,N6=8,XQ,YP=new Set,GP=new Set,aD=new Set,OP=new Set,a1=0,R$=null,GU=null,$6=null,RZ=!1,JQ=!1,uX=!1,PZ=0,CG=0,s1=null,uk=0,bk=25,w0=null,N4=null,e1=-1,TG=!1,RG={readContext:_U,use:qI,useCallback:lU,useContext:lU,useEffect:lU,useImperativeHandle:lU,useLayoutEffect:lU,useInsertionEffect:lU,useMemo:lU,useReducer:lU,useRef:lU,useState:lU,useDebugValue:lU,useDeferredValue:lU,useTransition:lU,useSyncExternalStore:lU,useId:lU,useHostTransitionStatus:lU,useFormState:lU,useActionState:lU,useOptimistic:lU,useMemoCache:lU,useCacheRefresh:lU};RG.useEffectEvent=lU;var sD=null,ZP=null,eD=null,zP=null,R1=null,l4=null,EZ=null;sD={readContext:function($){return _U($)},use:qI,useCallback:function($,U){return w0="useCallback",f$(),qJ(U),tV($,U)},useContext:function($){return w0="useContext",f$(),_U($)},useEffect:function($,U){return w0="useEffect",f$(),qJ(U),MO($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",f$(),qJ(Q),rV($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",f$(),qJ(U),TX(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",f$(),qJ(U),iV($,U)},useMemo:function($,U){w0="useMemo",f$(),qJ(U);var Q=y0.H;y0.H=R1;try{return aV($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",f$();var W=y0.H;y0.H=R1;try{return bV($,U,Q)}finally{y0.H=W}},useRef:function($){return w0="useRef",f$(),nV($)},useState:function($){w0="useState",f$();var U=y0.H;y0.H=R1;try{return mV($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",f$()},useDeferredValue:function($,U){return w0="useDeferredValue",f$(),sV($,U)},useTransition:function(){return w0="useTransition",f$(),U8()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",f$(),cV($,U,Q)},useId:function(){return w0="useId",f$(),I8()},useFormState:function($,U){return w0="useFormState",f$(),DO(),TJ($,U)},useActionState:function($,U){return w0="useActionState",f$(),TJ($,U)},useOptimistic:function($){return w0="useOptimistic",f$(),lV($)},useHostTransitionStatus:RX,useMemoCache:CX,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),X8()},useEffectEvent:function($){return w0="useEffectEvent",f$(),oV($)}},ZP={readContext:function($){return _U($)},use:qI,useCallback:function($,U){return w0="useCallback",Y$(),tV($,U)},useContext:function($){return w0="useContext",Y$(),_U($)},useEffect:function($,U){return w0="useEffect",Y$(),MO($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),rV($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",Y$(),TX(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),iV($,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=R1;try{return aV($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var W=y0.H;y0.H=R1;try{return bV($,U,Q)}finally{y0.H=W}},useRef:function($){return w0="useRef",Y$(),nV($)},useState:function($){w0="useState",Y$();var U=y0.H;y0.H=R1;try{return mV($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),sV($,U)},useTransition:function(){return w0="useTransition",Y$(),U8()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),cV($,U,Q)},useId:function(){return w0="useId",Y$(),I8()},useActionState:function($,U){return w0="useActionState",Y$(),TJ($,U)},useFormState:function($,U){return w0="useFormState",Y$(),DO(),TJ($,U)},useOptimistic:function($){return w0="useOptimistic",Y$(),lV($)},useHostTransitionStatus:RX,useMemoCache:CX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),X8()},useEffectEvent:function($){return w0="useEffectEvent",Y$(),oV($)}},eD={readContext:function($){return _U($)},use:qI,useCallback:function($,U){return w0="useCallback",Y$(),CO($,U)},useContext:function($){return w0="useContext",Y$(),_U($)},useEffect:function($,U){w0="useEffect",Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),qO($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",Y$(),p6(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),p6(4,K4,$,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=l4;try{return TO($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var W=y0.H;y0.H=l4;try{return CJ($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",Y$(),UU().memoizedState},useState:function(){w0="useState",Y$();var $=y0.H;y0.H=l4;try{return CJ(u4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),Wq($,U)},useTransition:function(){return w0="useTransition",Y$(),qq()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),FO($,U,Q)},useId:function(){return w0="useId",Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",Y$(),DO(),HO($)},useActionState:function($){return w0="useActionState",Y$(),HO($)},useOptimistic:function($,U){return w0="useOptimistic",Y$(),Jq($,U)},useHostTransitionStatus:RX,useMemoCache:CX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",Y$(),AO($)}},zP={readContext:function($){return _U($)},use:qI,useCallback:function($,U){return w0="useCallback",Y$(),CO($,U)},useContext:function($){return w0="useContext",Y$(),_U($)},useEffect:function($,U){w0="useEffect",Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),qO($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",Y$(),p6(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),p6(4,K4,$,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=EZ;try{return TO($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var W=y0.H;y0.H=EZ;try{return jY($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",Y$(),UU().memoizedState},useState:function(){w0="useState",Y$();var $=y0.H;y0.H=EZ;try{return jY(u4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),Fq($,U)},useTransition:function(){return w0="useTransition",Y$(),Cq()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),FO($,U,Q)},useId:function(){return w0="useId",Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",Y$(),DO(),LO($)},useActionState:function($){return w0="useActionState",Y$(),LO($)},useOptimistic:function($,U){return w0="useOptimistic",Y$(),Yq($,U)},useHostTransitionStatus:RX,useMemoCache:CX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",Y$(),AO($)}},R1={readContext:function($){return j(),_U($)},use:function($){return L(),qI($)},useCallback:function($,U){return w0="useCallback",L(),f$(),tV($,U)},useContext:function($){return w0="useContext",L(),f$(),_U($)},useEffect:function($,U){return w0="useEffect",L(),f$(),MO($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),f$(),rV($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",L(),f$(),TX(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),f$(),iV($,U)},useMemo:function($,U){w0="useMemo",L(),f$();var Q=y0.H;y0.H=R1;try{return aV($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),f$();var W=y0.H;y0.H=R1;try{return bV($,U,Q)}finally{y0.H=W}},useRef:function($){return w0="useRef",L(),f$(),nV($)},useState:function($){w0="useState",L(),f$();var U=y0.H;y0.H=R1;try{return mV($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",L(),f$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),f$(),sV($,U)},useTransition:function(){return w0="useTransition",L(),f$(),U8()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),f$(),cV($,U,Q)},useId:function(){return w0="useId",L(),f$(),I8()},useFormState:function($,U){return w0="useFormState",L(),f$(),TJ($,U)},useActionState:function($,U){return w0="useActionState",L(),f$(),TJ($,U)},useOptimistic:function($){return w0="useOptimistic",L(),f$(),lV($)},useMemoCache:function($){return L(),CX($)},useHostTransitionStatus:RX,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),X8()},useEffectEvent:function($){return w0="useEffectEvent",L(),f$(),oV($)}},l4={readContext:function($){return j(),_U($)},use:function($){return L(),qI($)},useCallback:function($,U){return w0="useCallback",L(),Y$(),CO($,U)},useContext:function($){return w0="useContext",L(),Y$(),_U($)},useEffect:function($,U){w0="useEffect",L(),Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),Y$(),qO($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",L(),Y$(),p6(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),Y$(),p6(4,K4,$,U)},useMemo:function($,U){w0="useMemo",L(),Y$();var Q=y0.H;y0.H=l4;try{return TO($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),Y$();var W=y0.H;y0.H=l4;try{return CJ($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",L(),Y$(),UU().memoizedState},useState:function(){w0="useState",L(),Y$();var $=y0.H;y0.H=l4;try{return CJ(u4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",L(),Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),Y$(),Wq($,U)},useTransition:function(){return w0="useTransition",L(),Y$(),qq()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),Y$(),FO($,U,Q)},useId:function(){return w0="useId",L(),Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",L(),Y$(),HO($)},useActionState:function($){return w0="useActionState",L(),Y$(),HO($)},useOptimistic:function($,U){return w0="useOptimistic",L(),Y$(),Jq($,U)},useMemoCache:function($){return L(),CX($)},useHostTransitionStatus:RX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",L(),Y$(),AO($)}},EZ={readContext:function($){return j(),_U($)},use:function($){return L(),qI($)},useCallback:function($,U){return w0="useCallback",L(),Y$(),CO($,U)},useContext:function($){return w0="useContext",L(),Y$(),_U($)},useEffect:function($,U){w0="useEffect",L(),Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),Y$(),qO($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",L(),Y$(),p6(4,B6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),Y$(),p6(4,K4,$,U)},useMemo:function($,U){w0="useMemo",L(),Y$();var Q=y0.H;y0.H=l4;try{return TO($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),Y$();var W=y0.H;y0.H=l4;try{return jY($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",L(),Y$(),UU().memoizedState},useState:function(){w0="useState",L(),Y$();var $=y0.H;y0.H=l4;try{return jY(u4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",L(),Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),Y$(),Fq($,U)},useTransition:function(){return w0="useTransition",L(),Y$(),Cq()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),Y$(),FO($,U,Q)},useId:function(){return w0="useId",L(),Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",L(),Y$(),LO($)},useActionState:function($){return w0="useActionState",L(),Y$(),LO($)},useOptimistic:function($,U){return w0="useOptimistic",L(),Y$(),Yq($,U)},useMemoCache:function($){return L(),CX($)},useHostTransitionStatus:RX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",L(),Y$(),AO($)}};var KP={},VP=new Set,DP=new Set,WP=new Set,FP=new Set,HP=new Set,LP=new Set,MP=new Set,AP=new Set,qP=new Set,CP=new Set;Object.freeze(KP);var $W={enqueueSetState:function($,U,Q){$=$._reactInternals;var W=J4($),M=HI(W);M.payload=U,Q!==void 0&&Q!==null&&(Q8(Q),M.callback=Q),U=LI($,M,W),U!==null&&($1(W,"this.setState()",$),xU(U,$,W),PY(U,$,W))},enqueueReplaceState:function($,U,Q){$=$._reactInternals;var W=J4($),M=HI(W);M.tag=XP,M.payload=U,Q!==void 0&&Q!==null&&(Q8(Q),M.callback=Q),U=LI($,M,W),U!==null&&($1(W,"this.replaceState()",$),xU(U,$,W),PY(U,$,W))},enqueueForceUpdate:function($,U){$=$._reactInternals;var Q=J4($),W=HI(Q);W.tag=JP,U!==void 0&&U!==null&&(Q8(U),W.callback=U),U=LI($,W,Q),U!==null&&($1(Q,"this.forceUpdate()",$),xU(U,$,Q),PY(U,$,Q))}},QQ=null,UW=null,IW=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."),U6=!1,TP={},RP={},PP={},EP={},YQ=!1,_P={},_Z={},XW={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},SP=!1,jP=null;jP=new Set;var $I=!1,I6=!1,JW=!1,vP=typeof WeakSet==="function"?WeakSet:Set,K6=null,GQ=null,OQ=null,X6=null,d6=!1,d4=null,Y6=!1,PG=8192,hk={getCacheForType:function($){var U=_U(sU),Q=U.data.get($);return Q===void 0&&(Q=$(),U.data.set($,Q)),Q},cacheSignal:function(){return _U(sU).controller.signal},getOwner:function(){return G4}};if(typeof Symbol==="function"&&Symbol.for){var EG=Symbol.for;EG("selector.component"),EG("selector.has_pseudo_class"),EG("selector.role"),EG("selector.test_id"),EG("selector.text")}var ck=[],pk=typeof WeakMap==="function"?WeakMap:Map,V6=0,G6=2,V4=4,UI=0,_G=1,bX=2,SZ=3,bI=4,jZ=6,BP=5,n$=V6,OU=null,w$=null,g$=0,n6=0,vZ=1,hX=2,SG=3,NP=4,QW=5,jG=6,BZ=7,YW=8,cX=9,IU=n6,D4=null,hI=!1,ZQ=!1,GW=!1,P1=0,kU=UI,cI=0,pI=0,OW=0,o6=0,pX=0,vG=null,k6=null,NZ=!1,kZ=0,kP=0,gP=300,gZ=1/0,xP=500,BG=null,dU=null,mI=null,xZ=0,ZW=1,zW=2,wP=3,lI=0,fP=1,yP=2,uP=3,bP=4,wZ=5,J6=0,dI=null,zQ=null,n4=0,KW=0,VW=-0,DW=null,hP=null,cP=null,o4=xZ,pP=null,mk=50,NG=0,WW=null,FW=!1,fZ=!1,lk=50,mX=0,kG=null,KQ=!1,yZ=null,mP=!1,lP=new Set,dk={},uZ=null,VQ=null,HW=!1,LW=!1,bZ=!1,MW=!1,nI=0,AW={};(function(){for(var $=0;$<BD.length;$++){var U=BD[$],Q=U.toLowerCase();U=U[0].toUpperCase()+U.slice(1),y4(Q,"on"+U)}y4(qR,"onAnimationEnd"),y4(CR,"onAnimationIteration"),y4(TR,"onAnimationStart"),y4("dblclick","onDoubleClick"),y4("focusin","onFocus"),y4("focusout","onBlur"),y4(Ck,"onTransitionRun"),y4(Tk,"onTransitionStart"),y4(Rk,"onTransitionCancel"),y4(RR,"onTransitionEnd")})(),i0("onMouseEnter",["mouseout","mouseover"]),i0("onMouseLeave",["mouseout","mouseover"]),i0("onPointerEnter",["pointerout","pointerover"]),i0("onPointerLeave",["pointerout","pointerover"]),n0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),n0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),n0("onBeforeInput",["compositionend","keypress","textInput","paste"]),n0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),n0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),n0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gG="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),qW=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(gG)),hZ="_reactListening"+Math.random().toString(36).slice(2),dP=!1,nP=!1,cZ=!1,oP=!1,pZ=!1,mZ=!1,iP=!1,lZ={},nk=/\r\n?/g,ok=/\u0000|\uFFFD/g,lX="http://www.w3.org/1999/xlink",CW="http://www.w3.org/XML/1998/namespace",ik="javascript:throw new Error('React form unexpectedly submitted.')",rk="suppressHydrationWarning",dX="&",dZ="/&",xG="$",wG="/$",oI="$?",nX="$~",DQ="$!",tk="html",ak="body",sk="head",TW="F!",rP="F",tP="loading",ek="style",II=0,WQ=1,nZ=2,RW=null,PW=null,aP={dialog:!0,webview:!0},EW=null,fG=void 0,sP=typeof setTimeout==="function"?setTimeout:void 0,$g=typeof clearTimeout==="function"?clearTimeout:void 0,oX=-1,eP=typeof Promise==="function"?Promise:void 0,Ug=typeof queueMicrotask==="function"?queueMicrotask:typeof eP<"u"?function($){return eP.resolve(null).then($).catch(bN)}:sP,_W=null,iX=0,yG=1,$E=2,UE=3,k4=4,g4=new Map,IE=new Set,XI=s$.d;s$.d={f:function(){var $=XI.f(),U=SJ();return $||U},r:function($){var U=F$($);U!==null&&U.tag===5&&U.type==="form"?Aq(U):XI.r($)},D:function($){XI.D($),VT("dns-prefetch",$,null)},C:function($,U){XI.C($,U),VT("preconnect",$,U)},L:function($,U,Q){XI.L($,U,Q);var W=FQ;if(W&&$&&U){var M='link[rel="preload"][as="'+e$(U)+'"]';U==="image"?Q&&Q.imageSrcSet?(M+='[imagesrcset="'+e$(Q.imageSrcSet)+'"]',typeof Q.imageSizes==="string"&&(M+='[imagesizes="'+e$(Q.imageSizes)+'"]')):M+='[href="'+e$($)+'"]':M+='[href="'+e$($)+'"]';var R=M;switch(U){case"style":R=BJ($);break;case"script":R=NJ($)}g4.has(R)||($=y$({rel:"preload",href:U==="image"&&Q&&Q.imageSrcSet?void 0:$,as:U},Q),g4.set(R,$),W.querySelector(M)!==null||U==="style"&&W.querySelector(mY(R))||U==="script"&&W.querySelector(lY(R))||(U=W.createElement("link"),H6(U,"link",$),V$(U),W.head.appendChild(U)))}},m:function($,U){XI.m($,U);var Q=FQ;if(Q&&$){var W=U&&typeof U.as==="string"?U.as:"script",M='link[rel="modulepreload"][as="'+e$(W)+'"][href="'+e$($)+'"]',R=M;switch(W){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":R=NJ($)}if(!g4.has(R)&&($=y$({rel:"modulepreload",href:$},U),g4.set(R,$),Q.querySelector(M)===null)){switch(W){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Q.querySelector(lY(R)))return}W=Q.createElement("link"),H6(W,"link",$),V$(W),Q.head.appendChild(W)}}},X:function($,U){XI.X($,U);var Q=FQ;if(Q&&$){var W=f0(Q).hoistableScripts,M=NJ($),R=W.get(M);R||(R=Q.querySelector(lY(M)),R||($=y$({src:$,async:!0},U),(U=g4.get(M))&&r8($,U),R=Q.createElement("script"),V$(R),H6(R,"link",$),Q.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},W.set(M,R))}},S:function($,U,Q){XI.S($,U,Q);var W=FQ;if(W&&$){var M=f0(W).hoistableStyles,R=BJ($);U=U||"default";var k=M.get(R);if(!k){var f={loading:iX,preload:null};if(k=W.querySelector(mY(R)))f.loading=yG|k4;else{$=y$({rel:"stylesheet",href:$,"data-precedence":U},Q),(Q=g4.get(R))&&i8($,Q);var l=k=W.createElement("link");V$(l),H6(l,"link",$),l._p=new Promise(function(o,T0){l.onload=o,l.onerror=T0}),l.addEventListener("load",function(){f.loading|=yG}),l.addEventListener("error",function(){f.loading|=$E}),f.loading|=k4,cO(k,U,W)}k={type:"stylesheet",instance:k,count:1,state:f},M.set(R,k)}}},M:function($,U){XI.M($,U);var Q=FQ;if(Q&&$){var W=f0(Q).hoistableScripts,M=NJ($),R=W.get(M);R||(R=Q.querySelector(lY(M)),R||($=y$({src:$,async:!0,type:"module"},U),(U=g4.get(M))&&r8($,U),R=Q.createElement("script"),V$(R),H6(R,"link",$),Q.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},W.set(M,R))}}};var FQ=typeof document>"u"?null:document,oZ=null,Ig=60000,Xg=800,Jg=500,SW=0,jW=null,iZ=null,rX=A3,uG={$$typeof:W1,Provider:null,Consumer:null,_currentValue:rX,_currentValue2:rX,_threadCount:0},XE="%c%s%c",JE="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",QE="",rZ=" ",Qg=Function.prototype.bind,YE=!1,GE=null,OE=null,ZE=null,zE=null,KE=null,VE=null,DE=null,WE=null,FE=null,HE=null;GE=function($,U,Q,W){U=I($,U),U!==null&&(Q=J(U.memoizedState,Q,0,W),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=q6($,2),Q!==null&&xU(Q,$,2))},OE=function($,U,Q){U=I($,U),U!==null&&(Q=X(U.memoizedState,Q,0),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=q6($,2),Q!==null&&xU(Q,$,2))},ZE=function($,U,Q,W){U=I($,U),U!==null&&(Q=G(U.memoizedState,Q,W),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=q6($,2),Q!==null&&xU(Q,$,2))},zE=function($,U,Q){$.pendingProps=J($.memoizedProps,U,0,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=q6($,2),U!==null&&xU(U,$,2)},KE=function($,U){$.pendingProps=X($.memoizedProps,U,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=q6($,2),U!==null&&xU(U,$,2)},VE=function($,U,Q){$.pendingProps=G($.memoizedProps,U,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=q6($,2),U!==null&&xU(U,$,2)},DE=function($){var U=q6($,2);U!==null&&xU(U,$,2)},WE=function($){var U=L$(),Q=q6($,U);Q!==null&&xU(Q,$,U)},FE=function($){O=$},HE=function($){z=$};var tZ=!0,aZ=null,vW=!1,iI=null,rI=null,tI=null,bG=new Map,hG=new Map,aI=[],Yg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),sZ=null;if(nO.prototype.render=UD.prototype.render=function($){var U=this._internalRoot;if(U===null)throw Error("Cannot update an unmounted root.");var Q=arguments;typeof Q[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):w(Q[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof Q[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Q=$;var W=U.current,M=J4(W);t8(W,M,Q,U,null,null)},nO.prototype.unmount=UD.prototype.unmount=function(){var $=arguments;if(typeof $[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),$=this._internalRoot,$!==null){this._internalRoot=null;var U=$.containerInfo;(n$&(G6|V4))!==V6&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),t8($.current,2,null,$,null,null),SJ(),U[SI]=null}},nO.prototype.unstable_scheduleHydration=function($){if($){var U=X0();$={blockedOn:null,target:$,priority:U};for(var Q=0;Q<aI.length&&U!==0&&U<aI[Q].priority;Q++);aI.splice(Q,0,$),Q===0&&_T($)}},function(){var $=LQ.version;if($!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+($+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),s$.findDOMNode=function($){var U=$._reactInternals;if(U===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=d(U),$=$!==null?a($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:y0,reconcilerVersion:"19.2.7"};return $.overrideHookState=GE,$.overrideHookStateDeletePath=OE,$.overrideHookStateRenamePath=ZE,$.overrideProps=zE,$.overridePropsDeletePath=KE,$.overridePropsRenamePath=VE,$.scheduleUpdate=DE,$.scheduleRetry=WE,$.setErrorHandler=FE,$.setSuspenseHandler=HE,$.scheduleRefresh=N,$.scheduleRoot=v,$.setRefreshHandler=y,$.getCurrentFiber=K3,V0($)}()&&A1&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var LE=window.location.protocol;/^(https?|file):$/.test(LE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(LE==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}qg.createRoot=function($,U){if(!w($))throw Error("Target container is not a DOM element.");BT($);var Q=!1,W="",M=Sq,R=jq,k=vq;return U!==null&&U!==void 0&&(U.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof U==="object"&&U!==null&&U.$$typeof===D1&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),U.unstable_strictMode===!0&&(Q=!0),U.identifierPrefix!==void 0&&(W=U.identifierPrefix),U.onUncaughtError!==void 0&&(M=U.onUncaughtError),U.onCaughtError!==void 0&&(R=U.onCaughtError),U.onRecoverableError!==void 0&&(k=U.onRecoverableError)),U=AT($,1,!1,null,null,Q,W,null,M,R,k,vT),$[SI]=U.current,f8($),new UD(U)},qg.hydrateRoot=function($,U,Q){if(!w($))throw Error("Target container is not a DOM element.");BT($),U===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var W=!1,M="",R=Sq,k=jq,f=vq,l=null;return Q!==null&&Q!==void 0&&(Q.unstable_strictMode===!0&&(W=!0),Q.identifierPrefix!==void 0&&(M=Q.identifierPrefix),Q.onUncaughtError!==void 0&&(R=Q.onUncaughtError),Q.onCaughtError!==void 0&&(k=Q.onCaughtError),Q.onRecoverableError!==void 0&&(f=Q.onRecoverableError),Q.formState!==void 0&&(l=Q.formState)),U=AT($,1,!0,U,Q!=null?Q:null,W,M,l,R,k,f,vT),U.context=qT(null),Q=U.current,W=J4(Q),W=r0(W),M=HI(W),M.callback=null,LI(Q,M,W),$1(W,"hydrateRoot()",null),Q=W,U.current.lanes=Q,c0(U,Q),K1(U),$[SI]=U.current,f8($),new nO(U)},qg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var jE=sI((Cl,SE)=>{var Cg=i4(_E());SE.exports=Cg});var nU={};g6(nU,{transcode:()=>Yx,resolveObjectURL:()=>Xx,kStringMaxLength:()=>yE,kMaxLength:()=>mG,isUtf8:()=>Jx,isAscii:()=>Qx,default:()=>Gx,constants:()=>Ng,btoa:()=>Sg,atob:()=>jg,INSPECT_MAX_BYTES:()=>fE,File:()=>vg,Buffer:()=>l0,Blob:()=>Bg});function Tg(I){var J=I.length;if(J%4>0)throw Error("Invalid string. Length must be a multiple of 4");var G=I.indexOf("=");if(G===-1)G=J;var K=G===J?0:4-G%4;return[G,K]}function Rg(I,J){return(I+J)*3/4-J}function Pg(I){var J,G=Tg(I),K=G[0],X=G[1],z=new Uint8Array(Rg(K,X)),O=0,L=X>0?K-4:K,j;for(j=0;j<L;j+=4)J=x4[I.charCodeAt(j)]<<18|x4[I.charCodeAt(j+1)]<<12|x4[I.charCodeAt(j+2)]<<6|x4[I.charCodeAt(j+3)],z[O++]=J>>16&255,z[O++]=J>>8&255,z[O++]=J&255;if(X===2)J=x4[I.charCodeAt(j)]<<2|x4[I.charCodeAt(j+1)]>>4,z[O++]=J&255;if(X===1)J=x4[I.charCodeAt(j)]<<10|x4[I.charCodeAt(j+1)]<<4|x4[I.charCodeAt(j+2)]>>2,z[O++]=J>>8&255,z[O++]=J&255;return z}function Eg(I){return E1[I>>18&63]+E1[I>>12&63]+E1[I>>6&63]+E1[I&63]}function _g(I,J,G){var K,X=[];for(var z=J;z<G;z+=3)K=(I[z]<<16&16711680)+(I[z+1]<<8&65280)+(I[z+2]&255),X.push(Eg(K));return X.join("")}function BE(I){var J,G=I.length,K=G%3,X=[],z=16383;for(var O=0,L=G-K;O<L;O+=z)X.push(_g(I,O,O+z>L?L:O+z));if(K===1)J=I[G-1],X.push(E1[J>>2]+E1[J<<4&63]+"==");else if(K===2)J=(I[G-2]<<8)+I[G-1],X.push(E1[J>>10]+E1[J>>4&63]+E1[J<<2&63]+"=");return X.join("")}function $z(I,J,G,K,X){var z,O,L=X*8-K-1,j=(1<<L)-1,E=j>>1,_=-7,q=G?X-1:0,P=G?-1:1,v=I[J+q];q+=P,z=v&(1<<-_)-1,v>>=-_,_+=L;for(;_>0;z=z*256+I[J+q],q+=P,_-=8);O=z&(1<<-_)-1,z>>=-_,_+=K;for(;_>0;O=O*256+I[J+q],q+=P,_-=8);if(z===0)z=1-E;else if(z===j)return O?NaN:(v?-1:1)*(1/0);else O=O+Math.pow(2,K),z=z-E;return(v?-1:1)*O*Math.pow(2,z-K)}function wE(I,J,G,K,X,z){var O,L,j,E=z*8-X-1,_=(1<<E)-1,q=_>>1,P=X===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=K?0:z-1,N=K?1:-1,y=J<0||J===0&&1/J<0?1:0;if(J=Math.abs(J),isNaN(J)||J===1/0)L=isNaN(J)?1:0,O=_;else{if(O=Math.floor(Math.log(J)/Math.LN2),J*(j=Math.pow(2,-O))<1)O--,j*=2;if(O+q>=1)J+=P/j;else J+=P*Math.pow(2,1-q);if(J*j>=2)O++,j/=2;if(O+q>=_)L=0,O=_;else if(O+q>=1)L=(J*j-1)*Math.pow(2,X),O=O+q;else L=J*Math.pow(2,q-1)*Math.pow(2,X),O=0}for(;X>=8;I[G+v]=L&255,v+=N,L/=256,X-=8);O=O<<X|L,E+=X;for(;E>0;I[G+v]=O&255,v+=N,O/=256,E-=8);I[G+v-N]|=y*128}function QI(I){if(I>mG)throw RangeError('The value "'+I+'" is invalid for option "size"');let J=new Uint8Array(I);return Object.setPrototypeOf(J,l0.prototype),J}function yW(I,J,G){return class extends G{constructor(){super();Object.defineProperty(this,"message",{value:J.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${I}]`,this.stack,delete this.name}get code(){return I}set code(K){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:K,writable:!0})}toString(){return`${this.name} [${I}]: ${this.message}`}}}function l0(I,J,G){if(typeof I==="number"){if(typeof J==="string")throw TypeError('The "string" argument must be of type string. Received type number');return uW(I)}return uE(I,J,G)}function uE(I,J,G){if(typeof I==="string")return wg(I,J);if(ArrayBuffer.isView(I))return fg(I);if(I==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(_1(I,ArrayBuffer)||I&&_1(I.buffer,ArrayBuffer))return wW(I,J,G);if(typeof SharedArrayBuffer<"u"&&(_1(I,SharedArrayBuffer)||I&&_1(I.buffer,SharedArrayBuffer)))return wW(I,J,G);if(typeof I==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let K=I.valueOf&&I.valueOf();if(K!=null&&K!==I)return l0.from(K,J,G);let X=yg(I);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]==="function")return l0.from(I[Symbol.toPrimitive]("string"),J,G);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}function bE(I){if(typeof I!=="number")throw TypeError('"size" argument must be of type number');else if(I<0)throw RangeError('The value "'+I+'" is invalid for option "size"')}function xg(I,J,G){if(bE(I),I<=0)return QI(I);if(J!==void 0)return typeof G==="string"?QI(I).fill(J,G):QI(I).fill(J);return QI(I)}function uW(I){return bE(I),QI(I<0?0:bW(I)|0)}function wg(I,J){if(typeof J!=="string"||J==="")J="utf8";if(!l0.isEncoding(J))throw TypeError("Unknown encoding: "+J);let G=hE(I,J)|0,K=QI(G),X=K.write(I,J);if(X!==G)K=K.slice(0,X);return K}function xW(I){let J=I.length<0?0:bW(I.length)|0,G=QI(J);for(let K=0;K<J;K+=1)G[K]=I[K]&255;return G}function fg(I){if(_1(I,Uint8Array)){let J=new Uint8Array(I);return wW(J.buffer,J.byteOffset,J.byteLength)}return xW(I)}function wW(I,J,G){if(J<0||I.byteLength<J)throw RangeError('"offset" is outside of buffer bounds');if(I.byteLength<J+(G||0))throw RangeError('"length" is outside of buffer bounds');let K;if(J===void 0&&G===void 0)K=new Uint8Array(I);else if(G===void 0)K=new Uint8Array(I,J);else K=new Uint8Array(I,J,G);return Object.setPrototypeOf(K,l0.prototype),K}function yg(I){if(l0.isBuffer(I)){let J=bW(I.length)|0,G=QI(J);if(G.length===0)return G;return I.copy(G,0,0,J),G}if(I.length!==void 0){if(typeof I.length!=="number"||Number.isNaN(I.length))return QI(0);return xW(I)}if(I.type==="Buffer"&&Array.isArray(I.data))return xW(I.data)}function bW(I){if(I>=mG)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+mG.toString(16)+" bytes");return I|0}function hE(I,J){if(l0.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||_1(I,ArrayBuffer))return I.byteLength;if(typeof I!=="string")throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);let G=I.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&G===0)return 0;let X=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return G;case"utf8":case"utf-8":return fW(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G*2;case"hex":return G>>>1;case"base64":return rE(I).length;default:if(X)return K?-1:fW(I).length;J=(""+J).toLowerCase(),X=!0}}function ug(I,J,G){let K=!1;if(J===void 0||J<0)J=0;if(J>this.length)return"";if(G===void 0||G>this.length)G=this.length;if(G<=0)return"";if(G>>>=0,J>>>=0,G<=J)return"";if(!I)I="utf8";while(!0)switch(I){case"hex":return ig(this,J,G);case"utf8":case"utf-8":return pE(this,J,G);case"ascii":return ng(this,J,G);case"latin1":case"binary":return og(this,J,G);case"base64":return lg(this,J,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rg(this,J,G);default:if(K)throw TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),K=!0}}function sX(I,J,G){let K=I[J];I[J]=I[G],I[G]=K}function cE(I,J,G,K,X){if(I.length===0)return-1;if(typeof G==="string")K=G,G=0;else if(G>2147483647)G=2147483647;else if(G<-2147483648)G=-2147483648;if(G=+G,Number.isNaN(G))G=X?0:I.length-1;if(G<0)G=I.length+G;if(G>=I.length)if(X)return-1;else G=I.length-1;else if(G<0)if(X)G=0;else return-1;if(typeof J==="string")J=l0.from(J,K);if(l0.isBuffer(J)){if(J.length===0)return-1;return kE(I,J,G,K,X)}else if(typeof J==="number"){if(J=J&255,typeof Uint8Array.prototype.indexOf==="function")if(X)return Uint8Array.prototype.indexOf.call(I,J,G);else return Uint8Array.prototype.lastIndexOf.call(I,J,G);return kE(I,[J],G,K,X)}throw TypeError("val must be string, number or Buffer")}function kE(I,J,G,K,X){let z=1,O=I.length,L=J.length;if(K!==void 0){if(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le"){if(I.length<2||J.length<2)return-1;z=2,O/=2,L/=2,G/=2}}function j(_,q){if(z===1)return _[q];else return _.readUInt16BE(q*z)}let E;if(X){let _=-1;for(E=G;E<O;E++)if(j(I,E)===j(J,_===-1?0:E-_)){if(_===-1)_=E;if(E-_+1===L)return _*z}else{if(_!==-1)E-=E-_;_=-1}}else{if(G+L>O)G=O-L;for(E=G;E>=0;E--){let _=!0;for(let q=0;q<L;q++)if(j(I,E+q)!==j(J,q)){_=!1;break}if(_)return E}}return-1}function bg(I,J,G,K){G=Number(G)||0;let X=I.length-G;if(!K)K=X;else if(K=Number(K),K>X)K=X;let z=J.length;if(K>z/2)K=z/2;let O;for(O=0;O<K;++O){let L=parseInt(J.substr(O*2,2),16);if(Number.isNaN(L))return O;I[G+O]=L}return O}function hg(I,J,G,K){return Uz(fW(J,I.length-G),I,G,K)}function cg(I,J,G,K){return Uz(eg(J),I,G,K)}function pg(I,J,G,K){return Uz(rE(J),I,G,K)}function mg(I,J,G,K){return Uz($x(J,I.length-G),I,G,K)}function lg(I,J,G){if(J===0&&G===I.length)return BE(I);else return BE(I.slice(J,G))}function pE(I,J,G){G=Math.min(I.length,G);let K=[],X=J;while(X<G){let z=I[X],O=null,L=z>239?4:z>223?3:z>191?2:1;if(X+L<=G){let j,E,_,q;switch(L){case 1:if(z<128)O=z;break;case 2:if(j=I[X+1],(j&192)===128){if(q=(z&31)<<6|j&63,q>127)O=q}break;case 3:if(j=I[X+1],E=I[X+2],(j&192)===128&&(E&192)===128){if(q=(z&15)<<12|(j&63)<<6|E&63,q>2047&&(q<55296||q>57343))O=q}break;case 4:if(j=I[X+1],E=I[X+2],_=I[X+3],(j&192)===128&&(E&192)===128&&(_&192)===128){if(q=(z&15)<<18|(j&63)<<12|(E&63)<<6|_&63,q>65535&&q<1114112)O=q}}}if(O===null)O=65533,L=1;else if(O>65535)O-=65536,K.push(O>>>10&1023|55296),O=56320|O&1023;K.push(O),X+=L}return dg(K)}function dg(I){let J=I.length;if(J<=gE)return String.fromCharCode.apply(String,I);let G="",K=0;while(K<J)G+=String.fromCharCode.apply(String,I.slice(K,K+=gE));return G}function ng(I,J,G){let K="";G=Math.min(I.length,G);for(let X=J;X<G;++X)K+=String.fromCharCode(I[X]&127);return K}function og(I,J,G){let K="";G=Math.min(I.length,G);for(let X=J;X<G;++X)K+=String.fromCharCode(I[X]);return K}function ig(I,J,G){let K=I.length;if(!J||J<0)J=0;if(!G||G<0||G>K)G=K;let X="";for(let z=J;z<G;++z)X+=Ux[I[z]];return X}function rg(I,J,G){let K=I.slice(J,G),X="";for(let z=0;z<K.length-1;z+=2)X+=String.fromCharCode(K[z]+K[z+1]*256);return X}function D6(I,J,G){if(I%1!==0||I<0)throw RangeError("offset is not uint");if(I+J>G)throw RangeError("Trying to access beyond buffer length")}function i6(I,J,G,K,X,z){if(!l0.isBuffer(I))throw TypeError('"buffer" argument must be a Buffer instance');if(J>X||J<z)throw RangeError('"value" argument is out of bounds');if(G+K>I.length)throw RangeError("Index out of range")}function mE(I,J,G,K,X){iE(J,K,X,I,G,7);let z=Number(J&BigInt(4294967295));I[G++]=z,z=z>>8,I[G++]=z,z=z>>8,I[G++]=z,z=z>>8,I[G++]=z;let O=Number(J>>BigInt(32)&BigInt(4294967295));return I[G++]=O,O=O>>8,I[G++]=O,O=O>>8,I[G++]=O,O=O>>8,I[G++]=O,G}function lE(I,J,G,K,X){iE(J,K,X,I,G,7);let z=Number(J&BigInt(4294967295));I[G+7]=z,z=z>>8,I[G+6]=z,z=z>>8,I[G+5]=z,z=z>>8,I[G+4]=z;let O=Number(J>>BigInt(32)&BigInt(4294967295));return I[G+3]=O,O=O>>8,I[G+2]=O,O=O>>8,I[G+1]=O,O=O>>8,I[G]=O,G+8}function dE(I,J,G,K,X,z){if(G+K>I.length)throw RangeError("Index out of range");if(G<0)throw RangeError("Index out of range")}function nE(I,J,G,K,X){if(J=+J,G=G>>>0,!X)dE(I,J,G,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return wE(I,J,G,K,23,4),G+4}function oE(I,J,G,K,X){if(J=+J,G=G>>>0,!X)dE(I,J,G,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return wE(I,J,G,K,52,8),G+8}function xE(I){let J="",G=I.length,K=I[0]==="-"?1:0;for(;G>=K+4;G-=3)J=`_${I.slice(G-3,G)}${J}`;return`${I.slice(0,G)}${J}`}function tg(I,J,G){if(MQ(J,"offset"),I[J]===void 0||I[J+G]===void 0)lG(J,I.length-(G+1))}function iE(I,J,G,K,X,z){if(I>G||I<J){let O=typeof J==="bigint"?"n":"",L;if(z>3)if(J===0||J===BigInt(0))L=`>= 0${O} and < 2${O} ** ${(z+1)*8}${O}`;else L=`>= -(2${O} ** ${(z+1)*8-1}${O}) and < 2 ** ${(z+1)*8-1}${O}`;else L=`>= ${J}${O} and <= ${G}${O}`;throw new gW("value",L,I)}tg(K,X,z)}function MQ(I,J){if(typeof I!=="number")throw new gg(J,"number",I)}function lG(I,J,G){if(Math.floor(I)!==I)throw MQ(I,G),new gW(G||"offset","an integer",I);if(J<0)throw new kg;throw new gW(G||"offset",`>= ${G?1:0} and <= ${J}`,I)}function sg(I){if(I=I.split("=")[0],I=I.trim().replace(ag,""),I.length<2)return"";while(I.length%4!==0)I=I+"=";return I}function fW(I,J){J=J||1/0;let G,K=I.length,X=null,z=[];for(let O=0;O<K;++O){if(G=I.charCodeAt(O),G>55295&&G<57344){if(!X){if(G>56319){if((J-=3)>-1)z.push(239,191,189);continue}else if(O+1===K){if((J-=3)>-1)z.push(239,191,189);continue}X=G;continue}if(G<56320){if((J-=3)>-1)z.push(239,191,189);X=G;continue}G=(X-55296<<10|G-56320)+65536}else if(X){if((J-=3)>-1)z.push(239,191,189)}if(X=null,G<128){if((J-=1)<0)break;z.push(G)}else if(G<2048){if((J-=2)<0)break;z.push(G>>6|192,G&63|128)}else if(G<65536){if((J-=3)<0)break;z.push(G>>12|224,G>>6&63|128,G&63|128)}else if(G<1114112){if((J-=4)<0)break;z.push(G>>18|240,G>>12&63|128,G>>6&63|128,G&63|128)}else throw Error("Invalid code point")}return z}function eg(I){let J=[];for(let G=0;G<I.length;++G)J.push(I.charCodeAt(G)&255);return J}function $x(I,J){let G,K,X,z=[];for(let O=0;O<I.length;++O){if((J-=2)<0)break;G=I.charCodeAt(O),K=G>>8,X=G%256,z.push(X),z.push(K)}return z}function rE(I){return Pg(sg(I))}function Uz(I,J,G,K){let X;for(X=0;X<K;++X){if(X+G>=J.length||X>=I.length)break;J[X+G]=I[X]}return X}function _1(I,J){return I instanceof J||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===J.name}function eI(I){return typeof BigInt>"u"?Ix:I}function Ix(){throw Error("BigInt not supported")}function hW(I){return()=>{throw Error(I+" is not implemented for node:buffer browser polyfill")}}var E1,x4,kW="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",aX,vE,NE,fE=50,mG=2147483647,yE=536870888,Sg,jg,vg,Bg,Ng,kg,gg,gW,gE=4096,ag,Ux,Xx,Jx,Qx=(I)=>{for(let J of I)if(J.charCodeAt(0)>127)return!1;return!0},Yx,Gx;var oU=HQ(()=>{E1=[],x4=[];for(aX=0,vE=kW.length;aX<vE;++aX)E1[aX]=kW[aX],x4[kW.charCodeAt(aX)]=aX;x4[45]=62;x4[95]=63;NE=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,Sg=globalThis.btoa,jg=globalThis.atob,vg=globalThis.File,Bg=globalThis.Blob,Ng={MAX_LENGTH:mG,MAX_STRING_LENGTH:yE};kg=yW("ERR_BUFFER_OUT_OF_BOUNDS",function(I){if(I)return`${I} is outside of buffer bounds`;return"Attempt to access memory outside buffer bounds"},RangeError),gg=yW("ERR_INVALID_ARG_TYPE",function(I,J){return`The "${I}" argument must be of type number. Received type ${typeof J}`},TypeError),gW=yW("ERR_OUT_OF_RANGE",function(I,J,G){let K=`The value of "${I}" is out of range.`,X=G;if(Number.isInteger(G)&&Math.abs(G)>4294967296)X=xE(String(G));else if(typeof G==="bigint"){if(X=String(G),G>BigInt(2)**BigInt(32)||G<-(BigInt(2)**BigInt(32)))X=xE(X);X+="n"}return K+=` It must be ${J}. Received ${X}`,K},RangeError);Object.defineProperty(l0.prototype,"parent",{enumerable:!0,get:function(){if(!l0.isBuffer(this))return;return this.buffer}});Object.defineProperty(l0.prototype,"offset",{enumerable:!0,get:function(){if(!l0.isBuffer(this))return;return this.byteOffset}});l0.poolSize=8192;l0.from=function(I,J,G){return uE(I,J,G)};Object.setPrototypeOf(l0.prototype,Uint8Array.prototype);Object.setPrototypeOf(l0,Uint8Array);l0.alloc=function(I,J,G){return xg(I,J,G)};l0.allocUnsafe=function(I){return uW(I)};l0.allocUnsafeSlow=function(I){return uW(I)};l0.isBuffer=function(I){return I!=null&&I._isBuffer===!0&&I!==l0.prototype};l0.compare=function(I,J){if(_1(I,Uint8Array))I=l0.from(I,I.offset,I.byteLength);if(_1(J,Uint8Array))J=l0.from(J,J.offset,J.byteLength);if(!l0.isBuffer(I)||!l0.isBuffer(J))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(I===J)return 0;let G=I.length,K=J.length;for(let X=0,z=Math.min(G,K);X<z;++X)if(I[X]!==J[X]){G=I[X],K=J[X];break}if(G<K)return-1;if(K<G)return 1;return 0};l0.isEncoding=function(I){switch(String(I).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l0.concat=function(I,J){if(!Array.isArray(I))throw TypeError('"list" argument must be an Array of Buffers');if(I.length===0)return l0.alloc(0);let G;if(J===void 0){J=0;for(G=0;G<I.length;++G)J+=I[G].length}let K=l0.allocUnsafe(J),X=0;for(G=0;G<I.length;++G){let z=I[G];if(_1(z,Uint8Array))if(X+z.length>K.length){if(!l0.isBuffer(z))z=l0.from(z);z.copy(K,X)}else Uint8Array.prototype.set.call(K,z,X);else if(!l0.isBuffer(z))throw TypeError('"list" argument must be an Array of Buffers');else z.copy(K,X);X+=z.length}return K};l0.byteLength=hE;l0.prototype._isBuffer=!0;l0.prototype.swap16=function(){let I=this.length;if(I%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;J<I;J+=2)sX(this,J,J+1);return this};l0.prototype.swap32=function(){let I=this.length;if(I%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let J=0;J<I;J+=4)sX(this,J,J+3),sX(this,J+1,J+2);return this};l0.prototype.swap64=function(){let I=this.length;if(I%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let J=0;J<I;J+=8)sX(this,J,J+7),sX(this,J+1,J+6),sX(this,J+2,J+5),sX(this,J+3,J+4);return this};l0.prototype.toString=function(){let I=this.length;if(I===0)return"";if(arguments.length===0)return pE(this,0,I);return ug.apply(this,arguments)};l0.prototype.toLocaleString=l0.prototype.toString;l0.prototype.equals=function(I){if(!l0.isBuffer(I))throw TypeError("Argument must be a Buffer");if(this===I)return!0;return l0.compare(this,I)===0};l0.prototype.inspect=function(){let I="",J=fE;if(I=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J)I+=" ... ";return"<Buffer "+I+">"};if(NE)l0.prototype[NE]=l0.prototype.inspect;l0.prototype.compare=function(I,J,G,K,X){if(_1(I,Uint8Array))I=l0.from(I,I.offset,I.byteLength);if(!l0.isBuffer(I))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof I);if(J===void 0)J=0;if(G===void 0)G=I?I.length:0;if(K===void 0)K=0;if(X===void 0)X=this.length;if(J<0||G>I.length||K<0||X>this.length)throw RangeError("out of range index");if(K>=X&&J>=G)return 0;if(K>=X)return-1;if(J>=G)return 1;if(J>>>=0,G>>>=0,K>>>=0,X>>>=0,this===I)return 0;let z=X-K,O=G-J,L=Math.min(z,O),j=this.slice(K,X),E=I.slice(J,G);for(let _=0;_<L;++_)if(j[_]!==E[_]){z=j[_],O=E[_];break}if(z<O)return-1;if(O<z)return 1;return 0};l0.prototype.includes=function(I,J,G){return this.indexOf(I,J,G)!==-1};l0.prototype.indexOf=function(I,J,G){return cE(this,I,J,G,!0)};l0.prototype.lastIndexOf=function(I,J,G){return cE(this,I,J,G,!1)};l0.prototype.write=function(I,J,G,K){if(J===void 0)K="utf8",G=this.length,J=0;else if(G===void 0&&typeof J==="string")K=J,G=this.length,J=0;else if(isFinite(J))if(J=J>>>0,isFinite(G)){if(G=G>>>0,K===void 0)K="utf8"}else K=G,G=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let X=this.length-J;if(G===void 0||G>X)G=X;if(I.length>0&&(G<0||J<0)||J>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!K)K="utf8";let z=!1;for(;;)switch(K){case"hex":return bg(this,I,J,G);case"utf8":case"utf-8":return hg(this,I,J,G);case"ascii":case"latin1":case"binary":return cg(this,I,J,G);case"base64":return pg(this,I,J,G);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mg(this,I,J,G);default:if(z)throw TypeError("Unknown encoding: "+K);K=(""+K).toLowerCase(),z=!0}};l0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};l0.prototype.slice=function(I,J){let G=this.length;if(I=~~I,J=J===void 0?G:~~J,I<0){if(I+=G,I<0)I=0}else if(I>G)I=G;if(J<0){if(J+=G,J<0)J=0}else if(J>G)J=G;if(J<I)J=I;let K=this.subarray(I,J);return Object.setPrototypeOf(K,l0.prototype),K};l0.prototype.readUintLE=l0.prototype.readUIntLE=function(I,J,G){if(I=I>>>0,J=J>>>0,!G)D6(I,J,this.length);let K=this[I],X=1,z=0;while(++z<J&&(X*=256))K+=this[I+z]*X;return K};l0.prototype.readUintBE=l0.prototype.readUIntBE=function(I,J,G){if(I=I>>>0,J=J>>>0,!G)D6(I,J,this.length);let K=this[I+--J],X=1;while(J>0&&(X*=256))K+=this[I+--J]*X;return K};l0.prototype.readUint8=l0.prototype.readUInt8=function(I,J){if(I=I>>>0,!J)D6(I,1,this.length);return this[I]};l0.prototype.readUint16LE=l0.prototype.readUInt16LE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);return this[I]|this[I+1]<<8};l0.prototype.readUint16BE=l0.prototype.readUInt16BE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);return this[I]<<8|this[I+1]};l0.prototype.readUint32LE=l0.prototype.readUInt32LE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return(this[I]|this[I+1]<<8|this[I+2]<<16)+this[I+3]*16777216};l0.prototype.readUint32BE=l0.prototype.readUInt32BE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return this[I]*16777216+(this[I+1]<<16|this[I+2]<<8|this[I+3])};l0.prototype.readBigUInt64LE=eI(function(I){I=I>>>0,MQ(I,"offset");let J=this[I],G=this[I+7];if(J===void 0||G===void 0)lG(I,this.length-8);let K=J+this[++I]*256+this[++I]*65536+this[++I]*16777216,X=this[++I]+this[++I]*256+this[++I]*65536+G*16777216;return BigInt(K)+(BigInt(X)<<BigInt(32))});l0.prototype.readBigUInt64BE=eI(function(I){I=I>>>0,MQ(I,"offset");let J=this[I],G=this[I+7];if(J===void 0||G===void 0)lG(I,this.length-8);let K=J*16777216+this[++I]*65536+this[++I]*256+this[++I],X=this[++I]*16777216+this[++I]*65536+this[++I]*256+G;return(BigInt(K)<<BigInt(32))+BigInt(X)});l0.prototype.readIntLE=function(I,J,G){if(I=I>>>0,J=J>>>0,!G)D6(I,J,this.length);let K=this[I],X=1,z=0;while(++z<J&&(X*=256))K+=this[I+z]*X;if(X*=128,K>=X)K-=Math.pow(2,8*J);return K};l0.prototype.readIntBE=function(I,J,G){if(I=I>>>0,J=J>>>0,!G)D6(I,J,this.length);let K=J,X=1,z=this[I+--K];while(K>0&&(X*=256))z+=this[I+--K]*X;if(X*=128,z>=X)z-=Math.pow(2,8*J);return z};l0.prototype.readInt8=function(I,J){if(I=I>>>0,!J)D6(I,1,this.length);if(!(this[I]&128))return this[I];return(255-this[I]+1)*-1};l0.prototype.readInt16LE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);let G=this[I]|this[I+1]<<8;return G&32768?G|4294901760:G};l0.prototype.readInt16BE=function(I,J){if(I=I>>>0,!J)D6(I,2,this.length);let G=this[I+1]|this[I]<<8;return G&32768?G|4294901760:G};l0.prototype.readInt32LE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return this[I]|this[I+1]<<8|this[I+2]<<16|this[I+3]<<24};l0.prototype.readInt32BE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return this[I]<<24|this[I+1]<<16|this[I+2]<<8|this[I+3]};l0.prototype.readBigInt64LE=eI(function(I){I=I>>>0,MQ(I,"offset");let J=this[I],G=this[I+7];if(J===void 0||G===void 0)lG(I,this.length-8);let K=this[I+4]+this[I+5]*256+this[I+6]*65536+(G<<24);return(BigInt(K)<<BigInt(32))+BigInt(J+this[++I]*256+this[++I]*65536+this[++I]*16777216)});l0.prototype.readBigInt64BE=eI(function(I){I=I>>>0,MQ(I,"offset");let J=this[I],G=this[I+7];if(J===void 0||G===void 0)lG(I,this.length-8);let K=(J<<24)+this[++I]*65536+this[++I]*256+this[++I];return(BigInt(K)<<BigInt(32))+BigInt(this[++I]*16777216+this[++I]*65536+this[++I]*256+G)});l0.prototype.readFloatLE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return $z(this,I,!0,23,4)};l0.prototype.readFloatBE=function(I,J){if(I=I>>>0,!J)D6(I,4,this.length);return $z(this,I,!1,23,4)};l0.prototype.readDoubleLE=function(I,J){if(I=I>>>0,!J)D6(I,8,this.length);return $z(this,I,!0,52,8)};l0.prototype.readDoubleBE=function(I,J){if(I=I>>>0,!J)D6(I,8,this.length);return $z(this,I,!1,52,8)};l0.prototype.writeUintLE=l0.prototype.writeUIntLE=function(I,J,G,K){if(I=+I,J=J>>>0,G=G>>>0,!K){let O=Math.pow(2,8*G)-1;i6(this,I,J,G,O,0)}let X=1,z=0;this[J]=I&255;while(++z<G&&(X*=256))this[J+z]=I/X&255;return J+G};l0.prototype.writeUintBE=l0.prototype.writeUIntBE=function(I,J,G,K){if(I=+I,J=J>>>0,G=G>>>0,!K){let O=Math.pow(2,8*G)-1;i6(this,I,J,G,O,0)}let X=G-1,z=1;this[J+X]=I&255;while(--X>=0&&(z*=256))this[J+X]=I/z&255;return J+G};l0.prototype.writeUint8=l0.prototype.writeUInt8=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,1,255,0);return this[J]=I&255,J+1};l0.prototype.writeUint16LE=l0.prototype.writeUInt16LE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,2,65535,0);return this[J]=I&255,this[J+1]=I>>>8,J+2};l0.prototype.writeUint16BE=l0.prototype.writeUInt16BE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,2,65535,0);return this[J]=I>>>8,this[J+1]=I&255,J+2};l0.prototype.writeUint32LE=l0.prototype.writeUInt32LE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,4,4294967295,0);return this[J+3]=I>>>24,this[J+2]=I>>>16,this[J+1]=I>>>8,this[J]=I&255,J+4};l0.prototype.writeUint32BE=l0.prototype.writeUInt32BE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,4,4294967295,0);return this[J]=I>>>24,this[J+1]=I>>>16,this[J+2]=I>>>8,this[J+3]=I&255,J+4};l0.prototype.writeBigUInt64LE=eI(function(I,J=0){return mE(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});l0.prototype.writeBigUInt64BE=eI(function(I,J=0){return lE(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});l0.prototype.writeIntLE=function(I,J,G,K){if(I=+I,J=J>>>0,!K){let L=Math.pow(2,8*G-1);i6(this,I,J,G,L-1,-L)}let X=0,z=1,O=0;this[J]=I&255;while(++X<G&&(z*=256)){if(I<0&&O===0&&this[J+X-1]!==0)O=1;this[J+X]=(I/z>>0)-O&255}return J+G};l0.prototype.writeIntBE=function(I,J,G,K){if(I=+I,J=J>>>0,!K){let L=Math.pow(2,8*G-1);i6(this,I,J,G,L-1,-L)}let X=G-1,z=1,O=0;this[J+X]=I&255;while(--X>=0&&(z*=256)){if(I<0&&O===0&&this[J+X+1]!==0)O=1;this[J+X]=(I/z>>0)-O&255}return J+G};l0.prototype.writeInt8=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,1,127,-128);if(I<0)I=255+I+1;return this[J]=I&255,J+1};l0.prototype.writeInt16LE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,2,32767,-32768);return this[J]=I&255,this[J+1]=I>>>8,J+2};l0.prototype.writeInt16BE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,2,32767,-32768);return this[J]=I>>>8,this[J+1]=I&255,J+2};l0.prototype.writeInt32LE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,4,2147483647,-2147483648);return this[J]=I&255,this[J+1]=I>>>8,this[J+2]=I>>>16,this[J+3]=I>>>24,J+4};l0.prototype.writeInt32BE=function(I,J,G){if(I=+I,J=J>>>0,!G)i6(this,I,J,4,2147483647,-2147483648);if(I<0)I=4294967295+I+1;return this[J]=I>>>24,this[J+1]=I>>>16,this[J+2]=I>>>8,this[J+3]=I&255,J+4};l0.prototype.writeBigInt64LE=eI(function(I,J=0){return mE(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});l0.prototype.writeBigInt64BE=eI(function(I,J=0){return lE(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});l0.prototype.writeFloatLE=function(I,J,G){return nE(this,I,J,!0,G)};l0.prototype.writeFloatBE=function(I,J,G){return nE(this,I,J,!1,G)};l0.prototype.writeDoubleLE=function(I,J,G){return oE(this,I,J,!0,G)};l0.prototype.writeDoubleBE=function(I,J,G){return oE(this,I,J,!1,G)};l0.prototype.copy=function(I,J,G,K){if(!l0.isBuffer(I))throw TypeError("argument should be a Buffer");if(!G)G=0;if(!K&&K!==0)K=this.length;if(J>=I.length)J=I.length;if(!J)J=0;if(K>0&&K<G)K=G;if(K===G)return 0;if(I.length===0||this.length===0)return 0;if(J<0)throw RangeError("targetStart out of bounds");if(G<0||G>=this.length)throw RangeError("Index out of range");if(K<0)throw RangeError("sourceEnd out of bounds");if(K>this.length)K=this.length;if(I.length-J<K-G)K=I.length-J+G;let X=K-G;if(this===I&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(J,G,K);else Uint8Array.prototype.set.call(I,this.subarray(G,K),J);return X};l0.prototype.fill=function(I,J,G,K){if(typeof I==="string"){if(typeof J==="string")K=J,J=0,G=this.length;else if(typeof G==="string")K=G,G=this.length;if(K!==void 0&&typeof K!=="string")throw TypeError("encoding must be a string");if(typeof K==="string"&&!l0.isEncoding(K))throw TypeError("Unknown encoding: "+K);if(I.length===1){let z=I.charCodeAt(0);if(K==="utf8"&&z<128||K==="latin1")I=z}}else if(typeof I==="number")I=I&255;else if(typeof I==="boolean")I=Number(I);if(J<0||this.length<J||this.length<G)throw RangeError("Out of range index");if(G<=J)return this;if(J=J>>>0,G=G===void 0?this.length:G>>>0,!I)I=0;let X;if(typeof I==="number")for(X=J;X<G;++X)this[X]=I;else{let z=l0.isBuffer(I)?I:l0.from(I,K),O=z.length;if(O===0)throw TypeError('The value "'+I+'" is invalid for argument "value"');for(X=0;X<G-J;++X)this[X+J]=z[X%O]}return this};ag=/[^+/0-9A-Za-z-_]/g;Ux=function(){let I=Array(256);for(let J=0;J<16;++J){let G=J*16;for(let K=0;K<16;++K)I[G+K]="0123456789abcdef"[J]+"0123456789abcdef"[K]}return I}();Xx=hW("resolveObjectURL"),Jx=hW("isUtf8"),Yx=hW("transcode"),Gx=l0});var CQ={};g6(CQ,{types:()=>Lx,promisify:()=>U_,log:()=>sE,isUndefined:()=>AQ,isSymbol:()=>Ax,isString:()=>Gz,isRegExp:()=>Iz,isPrimitive:()=>qx,isObject:()=>qQ,isNumber:()=>aE,isNullOrUndefined:()=>Mx,isNull:()=>Yz,isFunction:()=>Jz,isError:()=>Xz,isDate:()=>lW,isBuffer:()=>Cx,isBoolean:()=>nW,isArray:()=>tE,inspect:()=>eX,inherits:()=>eE,format:()=>dW,deprecate:()=>Zx,default:()=>Px,debuglog:()=>zx,callbackifyOnRejected:()=>rW,callbackify:()=>I_,_extend:()=>iW,TextEncoder:()=>X_,TextDecoder:()=>J_});function dW(I,...J){if(!Gz(I)){var G=[I];for(var K=0;K<J.length;K++)G.push(eX(J[K]));return G.join(" ")}var K=0,X=J.length,z=String(I).replace(Ox,function(L){if(L==="%%")return"%";if(K>=X)return L;switch(L){case"%s":return String(J[K++]);case"%d":return Number(J[K++]);case"%j":try{return JSON.stringify(J[K++])}catch(j){return"[Circular]"}default:return L}});for(var O=J[K];K<X;O=J[++K])if(Yz(O)||!qQ(O))z+=" "+O;else z+=" "+eX(O);return z}function Zx(I,J){if(typeof process>"u"||process?.noDeprecation===!0)return I;var G=!1;function K(...X){if(!G){if(process.throwDeprecation)throw Error(J);else if(process.traceDeprecation)console.trace(J);else console.error(J);G=!0}return I.apply(this,...X)}return K}function Kx(I,J){var G=eX.styles[J];if(G)return"\x1B["+eX.colors[G][0]+"m"+I+"\x1B["+eX.colors[G][1]+"m";else return I}function Vx(I,J){return I}function Dx(I){var J={};return I.forEach(function(G,K){J[G]=!0}),J}function Qz(I,J,G){if(I.customInspect&&J&&Jz(J.inspect)&&J.inspect!==eX&&!(J.constructor&&J.constructor.prototype===J)){var K=J.inspect(G,I);if(!Gz(K))K=Qz(I,K,G);return K}var X=Wx(I,J);if(X)return X;var z=Object.keys(J),O=Dx(z);if(I.showHidden)z=Object.getOwnPropertyNames(J);if(Xz(J)&&(z.indexOf("message")>=0||z.indexOf("description")>=0))return cW(J);if(z.length===0){if(Jz(J)){var L=J.name?": "+J.name:"";return I.stylize("[Function"+L+"]","special")}if(Iz(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");if(lW(J))return I.stylize(Date.prototype.toString.call(J),"date");if(Xz(J))return cW(J)}var j="",E=!1,_=["{","}"];if(tE(J))E=!0,_=["[","]"];if(Jz(J)){var q=J.name?": "+J.name:"";j=" [Function"+q+"]"}if(Iz(J))j=" "+RegExp.prototype.toString.call(J);if(lW(J))j=" "+Date.prototype.toUTCString.call(J);if(Xz(J))j=" "+cW(J);if(z.length===0&&(!E||J.length==0))return _[0]+j+_[1];if(G<0)if(Iz(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");else return I.stylize("[Object]","special");I.seen.push(J);var P;if(E)P=Fx(I,J,G,O,z);else P=z.map(function(v){return mW(I,J,G,O,v,E)});return I.seen.pop(),Hx(P,j,_)}function Wx(I,J){if(AQ(J))return I.stylize("undefined","undefined");if(Gz(J)){var G="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(G,"string")}if(aE(J))return I.stylize(""+J,"number");if(nW(J))return I.stylize(""+J,"boolean");if(Yz(J))return I.stylize("null","null")}function cW(I){return"["+Error.prototype.toString.call(I)+"]"}function Fx(I,J,G,K,X){var z=[];for(var O=0,L=J.length;O<L;++O)if($_(J,String(O)))z.push(mW(I,J,G,K,String(O),!0));else z.push("");return X.forEach(function(j){if(!j.match(/^\d+$/))z.push(mW(I,J,G,K,j,!0))}),z}function mW(I,J,G,K,X,z){var O,L,j;if(j=Object.getOwnPropertyDescriptor(J,X)||{value:J[X]},j.get)if(j.set)L=I.stylize("[Getter/Setter]","special");else L=I.stylize("[Getter]","special");else if(j.set)L=I.stylize("[Setter]","special");if(!$_(K,X))O="["+X+"]";if(!L)if(I.seen.indexOf(j.value)<0){if(Yz(G))L=Qz(I,j.value,null);else L=Qz(I,j.value,G-1);if(L.indexOf(`
|
|
231
|
+
`)>-1)if(z)L=L.split(`
|
|
232
|
+
`).map(function(E){return" "+E}).join(`
|
|
233
|
+
`).slice(2);else L=`
|
|
234
|
+
`+L.split(`
|
|
235
|
+
`).map(function(E){return" "+E}).join(`
|
|
236
|
+
`)}else L=I.stylize("[Circular]","special");if(AQ(O)){if(z&&X.match(/^\d+$/))return L;if(O=JSON.stringify(""+X),O.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))O=O.slice(1,-1),O=I.stylize(O,"name");else O=O.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),O=I.stylize(O,"string")}return O+": "+L}function Hx(I,J,G){var K=0,X=I.reduce(function(z,O){if(K++,O.indexOf(`
|
|
237
|
+
`)>=0)K++;return z+O.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(X>60)return G[0]+(J===""?"":J+`
|
|
238
|
+
`)+" "+I.join(`,
|
|
239
|
+
`)+" "+G[1];return G[0]+J+" "+I.join(", ")+" "+G[1]}function tE(I){return Array.isArray(I)}function nW(I){return typeof I==="boolean"}function Yz(I){return I===null}function Mx(I){return I==null}function aE(I){return typeof I==="number"}function Gz(I){return typeof I==="string"}function Ax(I){return typeof I==="symbol"}function AQ(I){return I===void 0}function Iz(I){return qQ(I)&&oW(I)==="[object RegExp]"}function qQ(I){return typeof I==="object"&&I!==null}function lW(I){return qQ(I)&&oW(I)==="[object Date]"}function Xz(I){return qQ(I)&&(oW(I)==="[object Error]"||I instanceof Error)}function Jz(I){return typeof I==="function"}function qx(I){return I===null||typeof I==="boolean"||typeof I==="number"||typeof I==="string"||typeof I==="symbol"||typeof I>"u"}function Cx(I){return I instanceof Buffer}function oW(I){return Object.prototype.toString.call(I)}function pW(I){return I<10?"0"+I.toString(10):I.toString(10)}function Rx(){var I=new Date,J=[pW(I.getHours()),pW(I.getMinutes()),pW(I.getSeconds())].join(":");return[I.getDate(),Tx[I.getMonth()],J].join(" ")}function sE(...I){console.log("%s - %s",Rx(),dW.apply(null,I))}function eE(I,J){if(J)I.super_=J,I.prototype=Object.create(J.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})}function iW(I,J){if(!J||!qQ(J))return I;var G=Object.keys(J),K=G.length;while(K--)I[G[K]]=J[G[K]];return I}function $_(I,J){return Object.prototype.hasOwnProperty.call(I,J)}function rW(I,J){if(!I){var G=Error("Promise was rejected with a falsy value");G.reason=I,I=G}return J(I)}function I_(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');function J(...G){var K=G.pop();if(typeof K!=="function")throw TypeError("The last argument must be of type Function");var X=this,z=function(...O){return K.apply(X,...O)};I.apply(this,G).then(function(O){process.nextTick(z.bind(null,null,O))},function(O){process.nextTick(rW.bind(null,O,z))})}return Object.setPrototypeOf(J,Object.getPrototypeOf(I)),Object.defineProperties(J,Object.getOwnPropertyDescriptors(I)),J}var Ox,zx,eX,Lx=()=>{},Tx,U_,X_,J_,Px;var TQ=HQ(()=>{Ox=/%[sdj%]/g;zx=((I={},J={},G)=>((G=typeof process<"u"&&!1)&&(G=G.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),J=new RegExp("^"+G+"$","i"),(K)=>{if(K=K.toUpperCase(),!I[K])if(J.test(K))I[K]=function(...X){console.error("%s: %s",K,pid,dW.apply(null,...X))};else I[K]=function(){};return I[K]}))(),eX=((I)=>(I.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},I.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},I.custom=Symbol.for("nodejs.util.inspect.custom"),I))(function(I,J,...G){var K={seen:[],stylize:Vx};if(G.length>=1)K.depth=G[0];if(G.length>=2)K.colors=G[1];if(nW(J))K.showHidden=J;else if(J)iW(K,J);if(AQ(K.showHidden))K.showHidden=!1;if(AQ(K.depth))K.depth=2;if(AQ(K.colors))K.colors=!1;if(K.colors)K.stylize=Kx;return Qz(K,I,K.depth)});Tx=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];U_=((I)=>(I.custom=Symbol.for("nodejs.util.promisify.custom"),I))(function(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&I[kCustomPromisifiedSymbol]){var J=I[kCustomPromisifiedSymbol];if(typeof J!=="function")throw TypeError('The "nodejs.util.promisify.custom" argument must be of type Function');return Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0}),J}function J(...G){var K,X,z=new Promise(function(O,L){K=O,X=L});G.push(function(O,L){if(O)X(O);else K(L)});try{I.apply(this,G)}catch(O){X(O)}return z}if(Object.setPrototypeOf(J,Object.getPrototypeOf(I)),kCustomPromisifiedSymbol)Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0});return Object.defineProperties(J,Object.getOwnPropertyDescriptors(I))});({TextEncoder:X_,TextDecoder:J_}=globalThis),Px={TextEncoder:X_,TextDecoder:J_,promisify:U_,log:sE,inherits:eE,_extend:iW,callbackifyOnRejected:rW,callbackify:I_}});var PQ={};g6(PQ,{setMaxListeners:()=>F_,once:()=>D_,listenerCount:()=>H_,init:()=>$X,getMaxListeners:()=>M_,getEventListeners:()=>W_,default:()=>gx,captureRejectionSymbol:()=>Z_,addAbortListener:()=>A_,EventEmitter:()=>$X});function z_(I,J){var{_events:G}=I;if(J[0]??=Error("Unhandled error."),!G)throw J[0];var K=G[O_];if(K)for(var X of Y_.call(K))X.apply(I,J);var z=G.error;if(!z)throw J[0];for(var X of Y_.call(z))X.apply(I,J);return!0}function Sx(I,J,G,K){J.then(void 0,function(X){queueMicrotask(()=>jx(I,X,G,K))})}function jx(I,J,G,K){if(typeof I[Q_]==="function")I[Q_](J,G,...K);else try{I[$J]=!1,I.emit("error",J)}finally{I[$J]=!0}}function K_(I,J,G){G.warned=!0;let K=Error(`Possible EventEmitter memory leak detected. ${G.length} ${String(J)} listeners added to [${I.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);K.name="MaxListenersExceededWarning",K.emitter=I,K.type=J,K.count=G.length,console.warn(K)}function V_(I,J,...G){this.removeListener(I,J),J.apply(this,G)}function D_(I,J,G){var K=G?.signal;if(L_(K,"options.signal"),K?.aborted)throw new tW(void 0,{cause:K?.reason});let{resolve:X,reject:z,promise:O}=$newPromiseCapability(Promise),L=(_)=>{if(I.removeListener(J,j),K!=null)Oz(K,"abort",E);z(_)},j=(..._)=>{if(typeof I.removeListener==="function")I.removeListener("error",L);if(K!=null)Oz(K,"abort",E);X(_)};if(G_(I,J,j,{once:!0}),J!=="error"&&typeof I.once==="function")I.once("error",L);function E(){Oz(I,J,j),Oz(I,"error",L),z(new tW(void 0,{cause:K?.reason}))}if(K!=null)G_(K,"abort",E,{once:!0});return O}function W_(I,J){return I.listeners(J)}function F_(I,...J){sW(I,"setMaxListeners",0);var G;if(J&&(G=J.length))for(let K=0;K<G;K++)J[K].setMaxListeners(I);else UJ=I}function H_(I,J){return I.listenerCount(J)}function Oz(I,J,G,K){if(typeof I.removeListener==="function")I.removeListener(J,G);else I.removeEventListener(J,G,K)}function G_(I,J,G,K){if(typeof I.on==="function")if(K.once)I.once(J,G);else I.on(J,G);else I.addEventListener(J,G,K)}function RQ(I,J,G){let K=TypeError(`The "${I}" argument must be of type ${J}. Received ${G}`);return K.code="ERR_INVALID_ARG_TYPE",K}function Nx(I,J,G){let K=RangeError(`The "${I}" argument is out of range. It must be ${J}. Received ${G}`);return K.code="ERR_OUT_OF_RANGE",K}function L_(I,J){if(I!==void 0&&(I===null||typeof I!=="object"||!("aborted"in I)))throw RQ(J,"AbortSignal",I)}function sW(I,J,G,K){if(typeof I!=="number")throw RQ(J,"number",I);if(G!=null&&I<G||K!=null&&I>K||(G!=null||K!=null)&&Number.isNaN(I))throw Nx(J,`${G!=null?`>= ${G}`:""}${G!=null&&K!=null?" && ":""}${K!=null?`<= ${K}`:""}`,I)}function dG(I){if(typeof I!=="function")throw TypeError("The listener must be a function")}function kx(I,J){if(typeof I!=="boolean")throw RQ(J,"boolean",I)}function M_(I){return I?._maxListeners??UJ}function A_(I,J){if(I===void 0)throw RQ("signal","AbortSignal",I);if(L_(I,"signal"),typeof J!=="function")throw RQ("listener","function",J);let G;if(I.aborted)queueMicrotask(()=>J());else I.addEventListener("abort",J,{__proto__:null,once:!0}),G=()=>{I.removeEventListener("abort",J)};return{__proto__:null,[Symbol.dispose](){G?.()}}}var aW,$J,O_,Ex,_x,Q_,Z_,Y_,UJ=10,$X=function(I){if(this._events===void 0||this._events===this.__proto__._events)this._events={__proto__:null},this._eventsCount=0;if(this._maxListeners??=void 0,this[$J]=I?.captureRejections?Boolean(I?.captureRejections):jU[$J])this.emit=Bx},jU,vx=function(I,...J){if(I==="error")return z_(this,J);var{_events:G}=this;if(G===void 0)return!1;var K=G[I];if(K===void 0)return!1;let X=K.length>1?K.slice():K;for(let z=0,{length:O}=X;z<O;z++){let L=X[z];switch(J.length){case 0:L.call(this);break;case 1:L.call(this,J[0]);break;case 2:L.call(this,J[0],J[1]);break;case 3:L.call(this,J[0],J[1],J[2]);break;default:L.apply(this,J);break}}return!0},Bx=function(I,...J){if(I==="error")return z_(this,J);var{_events:G}=this;if(G===void 0)return!1;var K=G[I];if(K===void 0)return!1;let X=K.length>1?K.slice():K;for(let z=0,{length:O}=X;z<O;z++){let L=X[z],j;switch(J.length){case 0:j=L.call(this);break;case 1:j=L.call(this,J[0]);break;case 2:j=L.call(this,J[0],J[1]);break;case 3:j=L.call(this,J[0],J[1],J[2]);break;default:j=L.apply(this,J);break}if(j!==void 0&&typeof j?.then==="function"&&j.then===Promise.prototype.then)Sx(this,j,I,J)}return!0},tW,gx;var EQ=HQ(()=>{aW=Symbol.for,$J=Symbol("kCapture"),O_=aW("events.errorMonitor"),Ex=Symbol("events.maxEventTargetListeners"),_x=Symbol("events.maxEventTargetListenersWarned"),Q_=aW("nodejs.rejection"),Z_=aW("nodejs.rejection"),Y_=Array.prototype.slice,jU=$X.prototype={};jU._events=void 0;jU._eventsCount=0;jU._maxListeners=void 0;jU.setMaxListeners=function(I){return sW(I,"setMaxListeners",0),this._maxListeners=I,this};jU.constructor=$X;jU.getMaxListeners=function(){return this?._maxListeners??UJ};jU.emit=vx;jU.addListener=function(I,J){dG(J);var G=this._events;if(!G)G=this._events={__proto__:null},this._eventsCount=0;else if(G.newListener)this.emit("newListener",I,J.listener??J);var K=G[I];if(!K)G[I]=[J],this._eventsCount++;else{K.push(J);var X=this._maxListeners??UJ;if(X>0&&K.length>X&&!K.warned)K_(this,I,K)}return this};jU.on=jU.addListener;jU.prependListener=function(I,J){dG(J);var G=this._events;if(!G)G=this._events={__proto__:null},this._eventsCount=0;else if(G.newListener)this.emit("newListener",I,J.listener??J);var K=G[I];if(!K)G[I]=[J],this._eventsCount++;else{K.unshift(J);var X=this._maxListeners??UJ;if(X>0&&K.length>X&&!K.warned)K_(this,I,K)}return this};jU.once=function(I,J){dG(J);let G=V_.bind(this,I,J);return G.listener=J,this.addListener(I,G),this};jU.prependOnceListener=function(I,J){dG(J);let G=V_.bind(this,I,J);return G.listener=J,this.prependListener(I,G),this};jU.removeListener=function(I,J){dG(J);var{_events:G}=this;if(!G)return this;var K=G[I];if(!K)return this;var X=K.length;let z=-1;for(let O=X-1;O>=0;O--)if(K[O]===J||K[O].listener===J){z=O;break}if(z<0)return this;if(z===0)K.shift();else K.splice(z,1);if(K.length===0)delete G[I],this._eventsCount--;return this};jU.off=jU.removeListener;jU.removeAllListeners=function(I){var{_events:J}=this;if(I&&J){if(J[I])delete J[I],this._eventsCount--}else this._events={__proto__:null};return this};jU.listeners=function(I){var{_events:J}=this;if(!J)return[];var G=J[I];if(!G)return[];return G.map((K)=>K.listener??K)};jU.rawListeners=function(I){var{_events:J}=this;if(!J)return[];var G=J[I];if(!G)return[];return G.slice()};jU.listenerCount=function(I){var{_events:J}=this;if(!J)return 0;return J[I]?.length??0};jU.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};jU[$J]=!1;tW=class tW extends Error{constructor(I="The operation was aborted",J=void 0){if(J!==void 0&&typeof J!=="object")throw RQ("options","Object",J);super(I,J);this.code="ABORT_ERR",this.name="AbortError"}};Object.defineProperties($X,{captureRejections:{get(){return jU[$J]},set(I){kx(I,"EventEmitter.captureRejections"),jU[$J]=I},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return UJ},set:(I)=>{sW(I,"defaultMaxListeners",0),UJ=I}},kMaxEventTargetListeners:{value:Ex,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:_x,enumerable:!1,configurable:!1,writable:!1}});Object.assign($X,{once:D_,getEventListeners:W_,getMaxListeners:M_,setMaxListeners:F_,EventEmitter:$X,usingDomains:!1,captureRejectionSymbol:Z_,errorMonitor:O_,addAbortListener:A_,init:$X,listenerCount:H_});gx=$X});var SQ=sI((Rl,S_)=>{var XU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),fU=XU((I,J)=>{class G extends Error{constructor(K){if(!Array.isArray(K))throw TypeError(`Expected input to be an Array, got ${typeof K}`);let X="";for(let z=0;z<K.length;z++)X+=` ${K[z].stack}
|
|
240
|
+
`;super(X);this.name="AggregateError",this.errors=K}}J.exports={AggregateError:G,ArrayIsArray(K){return Array.isArray(K)},ArrayPrototypeIncludes(K,X){return K.includes(X)},ArrayPrototypeIndexOf(K,X){return K.indexOf(X)},ArrayPrototypeJoin(K,X){return K.join(X)},ArrayPrototypeMap(K,X){return K.map(X)},ArrayPrototypePop(K,X){return K.pop(X)},ArrayPrototypePush(K,X){return K.push(X)},ArrayPrototypeSlice(K,X,z){return K.slice(X,z)},Error,FunctionPrototypeCall(K,X,...z){return K.call(X,...z)},FunctionPrototypeSymbolHasInstance(K,X){return Function.prototype[Symbol.hasInstance].call(K,X)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(K,X){return Object.defineProperties(K,X)},ObjectDefineProperty(K,X,z){return Object.defineProperty(K,X,z)},ObjectGetOwnPropertyDescriptor(K,X){return Object.getOwnPropertyDescriptor(K,X)},ObjectKeys(K){return Object.keys(K)},ObjectSetPrototypeOf(K,X){return Object.setPrototypeOf(K,X)},Promise,PromisePrototypeCatch(K,X){return K.catch(X)},PromisePrototypeThen(K,X,z){return K.then(X,z)},PromiseReject(K){return Promise.reject(K)},PromiseResolve(K){return Promise.resolve(K)},ReflectApply:Reflect.apply,RegExpPrototypeTest(K,X){return K.test(X)},SafeSet:Set,String,StringPrototypeSlice(K,X,z){return K.slice(X,z)},StringPrototypeToLowerCase(K){return K.toLowerCase()},StringPrototypeToUpperCase(K){return K.toUpperCase()},StringPrototypeTrim(K){return K.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(K,X,z){return K.set(X,z)},Boolean,Uint8Array}}),q_=XU((I,J)=>{J.exports={format(G,...K){return G.replace(/%([sdifj])/g,function(...[X,z]){let O=K.shift();if(z==="f")return O.toFixed(6);else if(z==="j")return JSON.stringify(O);else if(z==="s"&&typeof O==="object")return`${O.constructor!==Object?O.constructor.name:""} {}`.trim();else return O.toString()})},inspect(G){switch(typeof G){case"string":if(G.includes("'")){if(!G.includes('"'))return`"${G}"`;else if(!G.includes("`")&&!G.includes("${"))return`\`${G}\``}return`'${G}'`;case"number":if(isNaN(G))return"NaN";else if(Object.is(G,-0))return String(G);return G;case"bigint":return`${String(G)}n`;case"boolean":case"undefined":return String(G);case"object":return"{}"}}}}),x6=XU((I,J)=>{var{format:G,inspect:K}=q_(),{AggregateError:X}=fU(),z=globalThis.AggregateError||X,O=Symbol("kIsNodeError"),L=["string","function","number","object","Function","Object","boolean","bigint","symbol"],j=/^([A-Z][a-z0-9]*)+$/,E={};function _(b,g){if(!b)throw new E.ERR_INTERNAL_ASSERTION(g)}function q(b){let g="",u=b.length,p=b[0]==="-"?1:0;for(;u>=p+4;u-=3)g=`_${b.slice(u-3,u)}${g}`;return`${b.slice(0,u)}${g}`}function P(b,g,u){if(typeof g==="function")return _(g.length<=u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${g.length}).`),g(...u);let p=(g.match(/%[dfijoOs]/g)||[]).length;if(_(p===u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${p}).`),u.length===0)return g;return G(g,...u)}function v(b,g,u){if(!u)u=Error;class p extends u{constructor(...d){super(P(b,g,d))}toString(){return`${this.name} [${b}]: ${this.message}`}}Object.defineProperties(p.prototype,{name:{value:u.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${b}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),p.prototype.code=b,p.prototype[O]=!0,E[b]=p}function N(b){let g="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:g}),b}function y(b,g){if(b&&g&&b!==g){if(Array.isArray(g.errors))return g.errors.push(b),g;let u=new z([g,b],g.message);return u.code=g.code,u}return b||g}class w extends Error{constructor(b="The operation was aborted",g=void 0){if(g!==void 0&&typeof g!=="object")throw new E.ERR_INVALID_ARG_TYPE("options","Object",g);super(b,g);this.code="ABORT_ERR",this.name="AbortError"}}v("ERR_ASSERTION","%s",Error),v("ERR_INVALID_ARG_TYPE",(b,g,u)=>{if(_(typeof b==="string","'name' must be a string"),!Array.isArray(g))g=[g];let p="The ";if(b.endsWith(" argument"))p+=`${b} `;else p+=`"${b}" ${b.includes(".")?"property":"argument"} `;p+="must be ";let d=[],a=[],F0=[];for(let E0 of g)if(_(typeof E0==="string","All expected entries have to be of type string"),L.includes(E0))d.push(E0.toLowerCase());else if(j.test(E0))a.push(E0);else _(E0!=="object",'The value "object" should be written as "Object"'),F0.push(E0);if(a.length>0){let E0=d.indexOf("object");if(E0!==-1)d.splice(d,E0,1),a.push("Object")}if(d.length>0){switch(d.length){case 1:p+=`of type ${d[0]}`;break;case 2:p+=`one of type ${d[0]} or ${d[1]}`;break;default:{let E0=d.pop();p+=`one of type ${d.join(", ")}, or ${E0}`}}if(a.length>0||F0.length>0)p+=" or "}if(a.length>0){switch(a.length){case 1:p+=`an instance of ${a[0]}`;break;case 2:p+=`an instance of ${a[0]} or ${a[1]}`;break;default:{let E0=a.pop();p+=`an instance of ${a.join(", ")}, or ${E0}`}}if(F0.length>0)p+=" or "}switch(F0.length){case 0:break;case 1:if(F0[0].toLowerCase()!==F0[0])p+="an ";p+=`${F0[0]}`;break;case 2:p+=`one of ${F0[0]} or ${F0[1]}`;break;default:{let E0=F0.pop();p+=`one of ${F0.join(", ")}, or ${E0}`}}if(u==null)p+=`. Received ${u}`;else if(typeof u==="function"&&u.name)p+=`. Received function ${u.name}`;else if(typeof u==="object"){var L0;if((L0=u.constructor)!==null&&L0!==void 0&&L0.name)p+=`. Received an instance of ${u.constructor.name}`;else{let E0=K(u,{depth:-1});p+=`. Received ${E0}`}}else{let E0=K(u,{colors:!1});if(E0.length>25)E0=`${E0.slice(0,25)}...`;p+=`. Received type ${typeof u} (${E0})`}return p},TypeError),v("ERR_INVALID_ARG_VALUE",(b,g,u="is invalid")=>{let p=K(g);if(p.length>128)p=p.slice(0,128)+"...";return`The ${b.includes(".")?"property":"argument"} '${b}' ${u}. Received ${p}`},TypeError),v("ERR_INVALID_RETURN_VALUE",(b,g,u)=>{var p;let d=u!==null&&u!==void 0&&(p=u.constructor)!==null&&p!==void 0&&p.name?`instance of ${u.constructor.name}`:`type ${typeof u}`;return`Expected ${b} to be returned from the "${g}" function but got ${d}.`},TypeError),v("ERR_MISSING_ARGS",(...b)=>{_(b.length>0,"At least one arg needs to be specified");let g,u=b.length;switch(b=(Array.isArray(b)?b:[b]).map((p)=>`"${p}"`).join(" or "),u){case 1:g+=`The ${b[0]} argument`;break;case 2:g+=`The ${b[0]} and ${b[1]} arguments`;break;default:{let p=b.pop();g+=`The ${b.join(", ")}, and ${p} arguments`}break}return`${g} must be specified`},TypeError),v("ERR_OUT_OF_RANGE",(b,g,u)=>{_(g,'Missing "range" argument');let p;if(Number.isInteger(u)&&Math.abs(u)>4294967296)p=q(String(u));else if(typeof u==="bigint"){p=String(u);let d=BigInt(2)**BigInt(32);if(u>d||u<-d)p=q(p);p+="n"}else p=K(u);return`The value of "${b}" is out of range. It must be ${g}. Received ${p}`},RangeError),v("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),v("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),v("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),v("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),v("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),v("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),v("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),v("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),v("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),v("ERR_STREAM_WRITE_AFTER_END","write after end",Error),v("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),J.exports={AbortError:w,aggregateTwoErrors:N(y),hideStackFrames:N,codes:E}}),xx=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var G=new WeakMap,K=new WeakMap;function X(t){let C0=G.get(t);return console.assert(C0!=null,"'this' is expected an Event object, but got",t),C0}function z(t){if(t.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}if(!t.event.cancelable)return;if(t.canceled=!0,typeof t.event.preventDefault==="function")t.event.preventDefault()}function O(t,C0){G.set(this,{eventTarget:t,event:C0,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:C0.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let Y=Object.keys(C0);for(let D=0;D<Y.length;++D){let H=Y[D];if(!(H in this))Object.defineProperty(this,H,L(H))}}if(O.prototype={get type(){return X(this).event.type},get target(){return X(this).eventTarget},get currentTarget(){return X(this).currentTarget},composedPath(){let t=X(this).currentTarget;if(t==null)return[];return[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return X(this).eventPhase},stopPropagation(){let t=X(this);if(t.stopped=!0,typeof t.event.stopPropagation==="function")t.event.stopPropagation()},stopImmediatePropagation(){let t=X(this);if(t.stopped=!0,t.immediateStopped=!0,typeof t.event.stopImmediatePropagation==="function")t.event.stopImmediatePropagation()},get bubbles(){return Boolean(X(this).event.bubbles)},get cancelable(){return Boolean(X(this).event.cancelable)},preventDefault(){z(X(this))},get defaultPrevented(){return X(this).canceled},get composed(){return Boolean(X(this).event.composed)},get timeStamp(){return X(this).timeStamp},get srcElement(){return X(this).eventTarget},get cancelBubble(){return X(this).stopped},set cancelBubble(t){if(!t)return;let C0=X(this);if(C0.stopped=!0,typeof C0.event.cancelBubble==="boolean")C0.event.cancelBubble=!0},get returnValue(){return!X(this).canceled},set returnValue(t){if(!t)z(X(this))},initEvent(){}},Object.defineProperty(O.prototype,"constructor",{value:O,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(O.prototype,window.Event.prototype),K.set(window.Event.prototype,O);function L(t){return{get(){return X(this).event[t]},set(C0){X(this).event[t]=C0},configurable:!0,enumerable:!0}}function j(t){return{value(){let C0=X(this).event;return C0[t].apply(C0,arguments)},configurable:!0,enumerable:!0}}function E(t,C0){let Y=Object.keys(C0);if(Y.length===0)return t;function D(H,V){t.call(this,H,V)}D.prototype=Object.create(t.prototype,{constructor:{value:D,configurable:!0,writable:!0}});for(let H=0;H<Y.length;++H){let V=Y[H];if(!(V in t.prototype)){let F=typeof Object.getOwnPropertyDescriptor(C0,V).value==="function";Object.defineProperty(D.prototype,V,F?j(V):L(V))}}return D}function _(t){if(t==null||t===Object.prototype)return O;let C0=K.get(t);if(C0==null)C0=E(_(Object.getPrototypeOf(t)),t),K.set(t,C0);return C0}function q(t,C0){return new(_(Object.getPrototypeOf(C0)))(t,C0)}function P(t){return X(t).immediateStopped}function v(t,C0){X(t).eventPhase=C0}function N(t,C0){X(t).currentTarget=C0}function y(t,C0){X(t).passiveListener=C0}var w=new WeakMap,b=1,g=2,u=3;function p(t){return t!==null&&typeof t==="object"}function d(t){let C0=w.get(t);if(C0==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return C0}function a(t){return{get(){let C0=d(this).get(t);while(C0!=null){if(C0.listenerType===u)return C0.listener;C0=C0.next}return null},set(C0){if(typeof C0!=="function"&&!p(C0))C0=null;let Y=d(this),D=null,H=Y.get(t);while(H!=null){if(H.listenerType===u)if(D!==null)D.next=H.next;else if(H.next!==null)Y.set(t,H.next);else Y.delete(t);else D=H;H=H.next}if(C0!==null){let V={listener:C0,listenerType:u,passive:!1,once:!1,next:null};if(D===null)Y.set(t,V);else D.next=V}},configurable:!0,enumerable:!0}}function F0(t,C0){Object.defineProperty(t,`on${C0}`,a(C0))}function L0(t){function C0(){E0.call(this)}C0.prototype=Object.create(E0.prototype,{constructor:{value:C0,configurable:!0,writable:!0}});for(let Y=0;Y<t.length;++Y)F0(C0.prototype,t[Y]);return C0}function E0(){if(this instanceof E0){w.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return L0(arguments[0]);if(arguments.length>0){let t=Array(arguments.length);for(let C0=0;C0<arguments.length;++C0)t[C0]=arguments[C0];return L0(t)}throw TypeError("Cannot call a class as a function")}if(E0.prototype={addEventListener(t,C0,Y){if(C0==null)return;if(typeof C0!=="function"&&!p(C0))throw TypeError("'listener' should be a function or an object.");let D=d(this),H=p(Y),V=(H?Boolean(Y.capture):Boolean(Y))?b:g,F={listener:C0,listenerType:V,passive:H&&Boolean(Y.passive),once:H&&Boolean(Y.once),next:null},T=D.get(t);if(T===void 0){D.set(t,F);return}let S=null;while(T!=null){if(T.listener===C0&&T.listenerType===V)return;S=T,T=T.next}S.next=F},removeEventListener(t,C0,Y){if(C0==null)return;let D=d(this),H=(p(Y)?Boolean(Y.capture):Boolean(Y))?b:g,V=null,F=D.get(t);while(F!=null){if(F.listener===C0&&F.listenerType===H){if(V!==null)V.next=F.next;else if(F.next!==null)D.set(t,F.next);else D.delete(t);return}V=F,F=F.next}},dispatchEvent(t){if(t==null||typeof t.type!=="string")throw TypeError('"event.type" should be a string.');let C0=d(this),Y=t.type,D=C0.get(Y);if(D==null)return!0;let H=q(this,t),V=null;while(D!=null){if(D.once)if(V!==null)V.next=D.next;else if(D.next!==null)C0.set(Y,D.next);else C0.delete(Y);else V=D;if(y(H,D.passive?D.listener:null),typeof D.listener==="function")try{D.listener.call(this,H)}catch(F){if(typeof console<"u"&&typeof console.error==="function")console.error(F)}else if(D.listenerType!==u&&typeof D.listener.handleEvent==="function")D.listener.handleEvent(H);if(P(H))break;D=D.next}return y(H,null),v(H,0),N(H,null),!H.defaultPrevented}},Object.defineProperty(E0.prototype,"constructor",{value:E0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(E0.prototype,window.EventTarget.prototype);I.defineEventAttribute=F0,I.EventTarget=E0,I.default=E0,J.exports=E0,J.exports.EventTarget=J.exports.default=E0,J.exports.defineEventAttribute=F0}),nG=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var G=xx();class K extends G.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let _=O.get(this);if(typeof _!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return _}}G.defineEventAttribute(K.prototype,"abort");function X(){let _=Object.create(K.prototype);return G.EventTarget.call(_),O.set(_,!1),_}function z(_){if(O.get(_)!==!1)return;O.set(_,!0),_.dispatchEvent({type:"abort"})}var O=new WeakMap;if(Object.defineProperties(K.prototype,{aborted:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(K.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class L{constructor(){j.set(this,X())}get signal(){return E(this)}abort(){z(E(this))}}var j=new WeakMap;function E(_){let q=j.get(_);if(q==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${_===null?"null":typeof _}`);return q}if(Object.defineProperties(L.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(L.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});I.AbortController=L,I.AbortSignal=K,I.default=L,J.exports=L,J.exports.AbortController=J.exports.default=L,J.exports.AbortSignal=K}),r6=XU((I,J)=>{var G=(oU(),j$(nU)),{format:K,inspect:X}=q_(),{codes:{ERR_INVALID_ARG_TYPE:z}}=x6(),{kResistStopPropagation:O,AggregateError:L,SymbolDispose:j}=fU(),E=globalThis.AbortSignal||nG().AbortSignal,_=globalThis.AbortController||nG().AbortController,q=Object.getPrototypeOf(async function(){}).constructor,P=globalThis.Blob||G.Blob,v=typeof P<"u"?function(w){return w instanceof P}:function(w){return!1},N=(w,b)=>{if(w!==void 0&&(w===null||typeof w!=="object"||!("aborted"in w)))throw new z(b,"AbortSignal",w)},y=(w,b)=>{if(typeof w!=="function")throw new z(b,"Function",w)};J.exports={AggregateError:L,kEmptyObject:Object.freeze({}),once(w){let b=!1;return function(...g){if(b)return;b=!0,w.apply(this,g)}},createDeferredPromise:function(){let w,b;return{promise:new Promise((g,u)=>{w=g,b=u}),resolve:w,reject:b}},promisify(w){return new Promise((b,g)=>{w((u,...p)=>{if(u)return g(u);return b(...p)})})},debuglog(){return function(){}},format:K,inspect:X,types:{isAsyncFunction(w){return w instanceof q},isArrayBufferView(w){return ArrayBuffer.isView(w)}},isBlob:v,deprecate(w,b){return w},addAbortListener:(EQ(),j$(PQ)).addAbortListener||function(w,b){if(w===void 0)throw new z("signal","AbortSignal",w);N(w,"signal"),y(b,"listener");let g;if(w.aborted)queueMicrotask(()=>b());else w.addEventListener("abort",b,{__proto__:null,once:!0,[O]:!0}),g=()=>{w.removeEventListener("abort",b)};return{__proto__:null,[j](){var u;(u=g)===null||u===void 0||u()}}},AbortSignalAny:E.any||function(w){if(w.length===1)return w[0];let b=new _,g=()=>b.abort();return w.forEach((u)=>{N(u,"signals"),u.addEventListener("abort",g,{once:!0})}),b.signal.addEventListener("abort",()=>{w.forEach((u)=>u.removeEventListener("abort",g))},{once:!0}),b.signal}},J.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),oG=XU((I,J)=>{var{ArrayIsArray:G,ArrayPrototypeIncludes:K,ArrayPrototypeJoin:X,ArrayPrototypeMap:z,NumberIsInteger:O,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:j,NumberMIN_SAFE_INTEGER:E,NumberParseInt:_,ObjectPrototypeHasOwnProperty:q,RegExpPrototypeExec:P,String:v,StringPrototypeToUpperCase:N,StringPrototypeTrim:y}=fU(),{hideStackFrames:w,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:g,ERR_INVALID_ARG_VALUE:u,ERR_OUT_OF_RANGE:p,ERR_UNKNOWN_SIGNAL:d}}=x6(),{normalizeEncoding:a}=r6(),{isAsyncFunction:F0,isArrayBufferView:L0}=r6().types,E0={};function t(I0){return I0===(I0|0)}function C0(I0){return I0===I0>>>0}var Y=/^[0-7]+$/,D="must be a 32-bit unsigned integer or an octal string";function H(I0,K0,U$){if(typeof I0>"u")I0=U$;if(typeof I0==="string"){if(P(Y,I0)===null)throw new u(K0,I0,D);I0=_(I0,8)}return T(I0,K0),I0}var V=w((I0,K0,U$=E,M0=j)=>{if(typeof I0!=="number")throw new g(K0,"number",I0);if(!O(I0))throw new p(K0,"an integer",I0);if(I0<U$||I0>M0)throw new p(K0,`>= ${U$} && <= ${M0}`,I0)}),F=w((I0,K0,U$=-2147483648,M0=2147483647)=>{if(typeof I0!=="number")throw new g(K0,"number",I0);if(!O(I0))throw new p(K0,"an integer",I0);if(I0<U$||I0>M0)throw new p(K0,`>= ${U$} && <= ${M0}`,I0)}),T=w((I0,K0,U$=!1)=>{if(typeof I0!=="number")throw new g(K0,"number",I0);if(!O(I0))throw new p(K0,"an integer",I0);let M0=U$?1:0,v0=4294967295;if(I0<M0||I0>v0)throw new p(K0,`>= ${M0} && <= ${v0}`,I0)});function S(I0,K0){if(typeof I0!=="string")throw new g(K0,"string",I0)}function A(I0,K0,U$=void 0,M0){if(typeof I0!=="number")throw new g(K0,"number",I0);if(U$!=null&&I0<U$||M0!=null&&I0>M0||(U$!=null||M0!=null)&&L(I0))throw new p(K0,`${U$!=null?`>= ${U$}`:""}${U$!=null&&M0!=null?" && ":""}${M0!=null?`<= ${M0}`:""}`,I0)}var Z=w((I0,K0,U$)=>{if(!K(U$,I0)){let M0="must be one of: "+X(z(U$,(v0)=>typeof v0==="string"?`'${v0}'`:v(v0)),", ");throw new u(K0,I0,M0)}});function C(I0,K0){if(typeof I0!=="boolean")throw new g(K0,"boolean",I0)}function x(I0,K0,U$){return I0==null||!q(I0,K0)?U$:I0[K0]}var B=w((I0,K0,U$=null)=>{let M0=x(U$,"allowArray",!1),v0=x(U$,"allowFunction",!1);if(!x(U$,"nullable",!1)&&I0===null||!M0&&G(I0)||typeof I0!=="object"&&(!v0||typeof I0!=="function"))throw new g(K0,"Object",I0)}),h=w((I0,K0)=>{if(I0!=null&&typeof I0!=="object"&&typeof I0!=="function")throw new g(K0,"a dictionary",I0)}),r=w((I0,K0,U$=0)=>{if(!G(I0))throw new g(K0,"Array",I0);if(I0.length<U$){let M0=`must be longer than ${U$}`;throw new u(K0,I0,M0)}});function U0(I0,K0){r(I0,K0);for(let U$=0;U$<I0.length;U$++)S(I0[U$],`${K0}[${U$}]`)}function z0(I0,K0){r(I0,K0);for(let U$=0;U$<I0.length;U$++)C(I0[U$],`${K0}[${U$}]`)}function Q0(I0,K0){r(I0,K0);for(let U$=0;U$<I0.length;U$++){let M0=I0[U$],v0=`${K0}[${U$}]`;if(M0==null)throw new g(v0,"AbortSignal",M0);A0(M0,v0)}}function s(I0,K0="signal"){if(S(I0,K0),E0[I0]===void 0){if(E0[N(I0)]!==void 0)throw new d(I0+" (signals must use all capital letters)");throw new d(I0)}}var e=w((I0,K0="buffer")=>{if(!L0(I0))throw new g(K0,["Buffer","TypedArray","DataView"],I0)});function J0(I0,K0){let U$=a(K0),M0=I0.length;if(U$==="hex"&&M0%2!==0)throw new u("encoding",K0,`is invalid for data of length ${M0}`)}function O0(I0,K0="Port",U$=!0){if(typeof I0!=="number"&&typeof I0!=="string"||typeof I0==="string"&&y(I0).length===0||+I0!==+I0>>>0||I0>65535||I0===0&&!U$)throw new b(K0,I0,U$);return I0|0}var A0=w((I0,K0)=>{if(I0!==void 0&&(I0===null||typeof I0!=="object"||!("aborted"in I0)))throw new g(K0,"AbortSignal",I0)}),$0=w((I0,K0)=>{if(typeof I0!=="function")throw new g(K0,"Function",I0)}),c=w((I0,K0)=>{if(typeof I0!=="function"||F0(I0))throw new g(K0,"Function",I0)}),n=w((I0,K0)=>{if(I0!==void 0)throw new g(K0,"undefined",I0)});function H0(I0,K0,U$){if(!K(U$,I0))throw new g(K0,`('${X(U$,"|")}')`,I0)}var Y0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function V0(I0,K0){if(typeof I0>"u"||!P(Y0,I0))throw new u(K0,I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function N0(I0){if(typeof I0==="string")return V0(I0,"hints"),I0;else if(G(I0)){let K0=I0.length,U$="";if(K0===0)return U$;for(let M0=0;M0<K0;M0++){let v0=I0[M0];if(V0(v0,"hints"),U$+=v0,M0!==K0-1)U$+=", "}return U$}throw new u("hints",I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}J.exports={isInt32:t,isUint32:C0,parseFileMode:H,validateArray:r,validateStringArray:U0,validateBooleanArray:z0,validateAbortSignalArray:Q0,validateBoolean:C,validateBuffer:e,validateDictionary:h,validateEncoding:J0,validateFunction:$0,validateInt32:F,validateInteger:V,validateNumber:A,validateObject:B,validateOneOf:Z,validatePlainFunction:c,validatePort:O0,validateSignalName:s,validateString:S,validateUint32:T,validateUndefined:n,validateUnion:H0,validateAbortSignal:A0,validateLinkHeaderValue:N0}}),IJ=XU((I,J)=>{J.exports=globalThis.process}),GI=XU((I,J)=>{var{SymbolAsyncIterator:G,SymbolIterator:K,SymbolFor:X}=fU(),z=X("nodejs.stream.destroyed"),O=X("nodejs.stream.errored"),L=X("nodejs.stream.readable"),j=X("nodejs.stream.writable"),E=X("nodejs.stream.disturbed"),_=X("nodejs.webstream.isClosedPromise"),q=X("nodejs.webstream.controllerErrorFunction");function P(x,B=!1){var h;return!!(x&&typeof x.pipe==="function"&&typeof x.on==="function"&&(!B||typeof x.pause==="function"&&typeof x.resume==="function")&&(!x._writableState||((h=x._readableState)===null||h===void 0?void 0:h.readable)!==!1)&&(!x._writableState||x._readableState))}function v(x){var B;return!!(x&&typeof x.write==="function"&&typeof x.on==="function"&&(!x._readableState||((B=x._writableState)===null||B===void 0?void 0:B.writable)!==!1))}function N(x){return!!(x&&typeof x.pipe==="function"&&x._readableState&&typeof x.on==="function"&&typeof x.write==="function")}function y(x){return x&&(x._readableState||x._writableState||typeof x.write==="function"&&typeof x.on==="function"||typeof x.pipe==="function"&&typeof x.on==="function")}function w(x){return!!(x&&!y(x)&&typeof x.pipeThrough==="function"&&typeof x.getReader==="function"&&typeof x.cancel==="function")}function b(x){return!!(x&&!y(x)&&typeof x.getWriter==="function"&&typeof x.abort==="function")}function g(x){return!!(x&&!y(x)&&typeof x.readable==="object"&&typeof x.writable==="object")}function u(x){return w(x)||b(x)||g(x)}function p(x,B){if(x==null)return!1;if(B===!0)return typeof x[G]==="function";if(B===!1)return typeof x[K]==="function";return typeof x[G]==="function"||typeof x[K]==="function"}function d(x){if(!y(x))return null;let{_writableState:B,_readableState:h}=x,r=B||h;return!!(x.destroyed||x[z]||r!==null&&r!==void 0&&r.destroyed)}function a(x){if(!v(x))return null;if(x.writableEnded===!0)return!0;let B=x._writableState;if(B!==null&&B!==void 0&&B.errored)return!1;if(typeof(B===null||B===void 0?void 0:B.ended)!=="boolean")return null;return B.ended}function F0(x,B){if(!v(x))return null;if(x.writableFinished===!0)return!0;let h=x._writableState;if(h!==null&&h!==void 0&&h.errored)return!1;if(typeof(h===null||h===void 0?void 0:h.finished)!=="boolean")return null;return!!(h.finished||B===!1&&h.ended===!0&&h.length===0)}function L0(x){if(!P(x))return null;if(x.readableEnded===!0)return!0;let B=x._readableState;if(!B||B.errored)return!1;if(typeof(B===null||B===void 0?void 0:B.ended)!=="boolean")return null;return B.ended}function E0(x,B){if(!P(x))return null;let h=x._readableState;if(h!==null&&h!==void 0&&h.errored)return!1;if(typeof(h===null||h===void 0?void 0:h.endEmitted)!=="boolean")return null;return!!(h.endEmitted||B===!1&&h.ended===!0&&h.length===0)}function t(x){if(x&&x[L]!=null)return x[L];if(typeof(x===null||x===void 0?void 0:x.readable)!=="boolean")return null;if(d(x))return!1;return P(x)&&x.readable&&!E0(x)}function C0(x){if(x&&x[j]!=null)return x[j];if(typeof(x===null||x===void 0?void 0:x.writable)!=="boolean")return null;if(d(x))return!1;return v(x)&&x.writable&&!a(x)}function Y(x,B){if(!y(x))return null;if(d(x))return!0;if((B===null||B===void 0?void 0:B.readable)!==!1&&t(x))return!1;if((B===null||B===void 0?void 0:B.writable)!==!1&&C0(x))return!1;return!0}function D(x){var B,h;if(!y(x))return null;if(x.writableErrored)return x.writableErrored;return(B=(h=x._writableState)===null||h===void 0?void 0:h.errored)!==null&&B!==void 0?B:null}function H(x){var B,h;if(!y(x))return null;if(x.readableErrored)return x.readableErrored;return(B=(h=x._readableState)===null||h===void 0?void 0:h.errored)!==null&&B!==void 0?B:null}function V(x){if(!y(x))return null;if(typeof x.closed==="boolean")return x.closed;let{_writableState:B,_readableState:h}=x;if(typeof(B===null||B===void 0?void 0:B.closed)==="boolean"||typeof(h===null||h===void 0?void 0:h.closed)==="boolean")return(B===null||B===void 0?void 0:B.closed)||(h===null||h===void 0?void 0:h.closed);if(typeof x._closed==="boolean"&&F(x))return x._closed;return null}function F(x){return typeof x._closed==="boolean"&&typeof x._defaultKeepAlive==="boolean"&&typeof x._removedConnection==="boolean"&&typeof x._removedContLen==="boolean"}function T(x){return typeof x._sent100==="boolean"&&F(x)}function S(x){var B;return typeof x._consuming==="boolean"&&typeof x._dumped==="boolean"&&((B=x.req)===null||B===void 0?void 0:B.upgradeOrConnect)===void 0}function A(x){if(!y(x))return null;let{_writableState:B,_readableState:h}=x,r=B||h;return!r&&T(x)||!!(r&&r.autoDestroy&&r.emitClose&&r.closed===!1)}function Z(x){var B;return!!(x&&((B=x[E])!==null&&B!==void 0?B:x.readableDidRead||x.readableAborted))}function C(x){var B,h,r,U0,z0,Q0,s,e,J0,O0;return!!(x&&((B=(h=(r=(U0=(z0=(Q0=x[O])!==null&&Q0!==void 0?Q0:x.readableErrored)!==null&&z0!==void 0?z0:x.writableErrored)!==null&&U0!==void 0?U0:(s=x._readableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&r!==void 0?r:(e=x._writableState)===null||e===void 0?void 0:e.errorEmitted)!==null&&h!==void 0?h:(J0=x._readableState)===null||J0===void 0?void 0:J0.errored)!==null&&B!==void 0?B:(O0=x._writableState)===null||O0===void 0?void 0:O0.errored))}J.exports={isDestroyed:d,kIsDestroyed:z,isDisturbed:Z,kIsDisturbed:E,isErrored:C,kIsErrored:O,isReadable:t,kIsReadable:L,kIsClosedPromise:_,kControllerErrorFunction:q,kIsWritable:j,isClosed:V,isDuplexNodeStream:N,isFinished:Y,isIterable:p,isReadableNodeStream:P,isReadableStream:w,isReadableEnded:L0,isReadableFinished:E0,isReadableErrored:H,isNodeStream:y,isWebStream:u,isWritable:C0,isWritableNodeStream:v,isWritableStream:b,isWritableEnded:a,isWritableFinished:F0,isWritableErrored:D,isServerRequest:S,isServerResponse:T,willEmitClose:A,isTransformStream:g}}),UX=XU((I,J)=>{var G=IJ(),{AbortError:K,codes:X}=x6(),{ERR_INVALID_ARG_TYPE:z,ERR_STREAM_PREMATURE_CLOSE:O}=X,{kEmptyObject:L,once:j}=r6(),{validateAbortSignal:E,validateFunction:_,validateObject:q,validateBoolean:P}=oG(),{Promise:v,PromisePrototypeThen:N,SymbolDispose:y}=fU(),{isClosed:w,isReadable:b,isReadableNodeStream:g,isReadableStream:u,isReadableFinished:p,isReadableErrored:d,isWritable:a,isWritableNodeStream:F0,isWritableStream:L0,isWritableFinished:E0,isWritableErrored:t,isNodeStream:C0,willEmitClose:Y,kIsClosedPromise:D}=GI(),H;function V(Z){return Z.setHeader&&typeof Z.abort==="function"}var F=()=>{};function T(Z,C,x){var B,h;if(arguments.length===2)x=C,C=L;else if(C==null)C=L;else q(C,"options");if(_(x,"callback"),E(C.signal,"options.signal"),x=j(x),u(Z)||L0(Z))return S(Z,C,x);if(!C0(Z))throw new z("stream",["ReadableStream","WritableStream","Stream"],Z);let r=(B=C.readable)!==null&&B!==void 0?B:g(Z),U0=(h=C.writable)!==null&&h!==void 0?h:F0(Z),z0=Z._writableState,Q0=Z._readableState,s=()=>{if(!Z.writable)O0()},e=Y(Z)&&g(Z)===r&&F0(Z)===U0,J0=E0(Z,!1),O0=()=>{if(J0=!0,Z.destroyed)e=!1;if(e&&(!Z.readable||r))return;if(!r||A0)x.call(Z)},A0=p(Z,!1),$0=()=>{if(A0=!0,Z.destroyed)e=!1;if(e&&(!Z.writable||U0))return;if(!U0||J0)x.call(Z)},c=(I0)=>{x.call(Z,I0)},n=w(Z),H0=()=>{n=!0;let I0=t(Z)||d(Z);if(I0&&typeof I0!=="boolean")return x.call(Z,I0);if(r&&!A0&&g(Z,!0)){if(!p(Z,!1))return x.call(Z,new O)}if(U0&&!J0){if(!E0(Z,!1))return x.call(Z,new O)}x.call(Z)},Y0=()=>{n=!0;let I0=t(Z)||d(Z);if(I0&&typeof I0!=="boolean")return x.call(Z,I0);x.call(Z)},V0=()=>{Z.req.on("finish",O0)};if(V(Z)){if(Z.on("complete",O0),!e)Z.on("abort",H0);if(Z.req)V0();else Z.on("request",V0)}else if(U0&&!z0)Z.on("end",s),Z.on("close",s);if(!e&&typeof Z.aborted==="boolean")Z.on("aborted",H0);if(Z.on("end",$0),Z.on("finish",O0),C.error!==!1)Z.on("error",c);if(Z.on("close",H0),n)G.nextTick(H0);else if(z0!==null&&z0!==void 0&&z0.errorEmitted||Q0!==null&&Q0!==void 0&&Q0.errorEmitted){if(!e)G.nextTick(Y0)}else if(!r&&(!e||b(Z))&&(J0||a(Z)===!1))G.nextTick(Y0);else if(!U0&&(!e||a(Z))&&(A0||b(Z)===!1))G.nextTick(Y0);else if(Q0&&Z.req&&Z.aborted)G.nextTick(Y0);let N0=()=>{if(x=F,Z.removeListener("aborted",H0),Z.removeListener("complete",O0),Z.removeListener("abort",H0),Z.removeListener("request",V0),Z.req)Z.req.removeListener("finish",O0);Z.removeListener("end",s),Z.removeListener("close",s),Z.removeListener("finish",O0),Z.removeListener("end",$0),Z.removeListener("error",c),Z.removeListener("close",H0)};if(C.signal&&!n){let I0=()=>{let K0=x;N0(),K0.call(Z,new K(void 0,{cause:C.signal.reason}))};if(C.signal.aborted)G.nextTick(I0);else{H=H||r6().addAbortListener;let K0=H(C.signal,I0),U$=x;x=j((...M0)=>{K0[y](),U$.apply(Z,M0)})}}return N0}function S(Z,C,x){let B=!1,h=F;if(C.signal)if(h=()=>{B=!0,x.call(Z,new K(void 0,{cause:C.signal.reason}))},C.signal.aborted)G.nextTick(h);else{H=H||r6().addAbortListener;let U0=H(C.signal,h),z0=x;x=j((...Q0)=>{U0[y](),z0.apply(Z,Q0)})}let r=(...U0)=>{if(!B)G.nextTick(()=>x.apply(Z,U0))};return N(Z[D].promise,r,r),F}function A(Z,C){var x;let B=!1;if(C===null)C=L;if((x=C)!==null&&x!==void 0&&x.cleanup)P(C.cleanup,"cleanup"),B=C.cleanup;return new v((h,r)=>{let U0=T(Z,C,(z0)=>{if(B)U0();if(z0)r(z0);else h()})})}J.exports=T,J.exports.finished=A}),_Q=XU((I,J)=>{var G=IJ(),{aggregateTwoErrors:K,codes:{ERR_MULTIPLE_CALLBACK:X},AbortError:z}=x6(),{Symbol:O}=fU(),{kIsDestroyed:L,isDestroyed:j,isFinished:E,isServerRequest:_}=GI(),q=O("kDestroy"),P=O("kConstruct");function v(Y,D,H){if(Y){if(Y.stack,D&&!D.errored)D.errored=Y;if(H&&!H.errored)H.errored=Y}}function N(Y,D){let H=this._readableState,V=this._writableState,F=V||H;if(V!==null&&V!==void 0&&V.destroyed||H!==null&&H!==void 0&&H.destroyed){if(typeof D==="function")D();return this}if(v(Y,V,H),V)V.destroyed=!0;if(H)H.destroyed=!0;if(!F.constructed)this.once(q,function(T){y(this,K(T,Y),D)});else y(this,Y,D);return this}function y(Y,D,H){let V=!1;function F(T){if(V)return;V=!0;let{_readableState:S,_writableState:A}=Y;if(v(T,A,S),A)A.closed=!0;if(S)S.closed=!0;if(typeof H==="function")H(T);if(T)G.nextTick(w,Y,T);else G.nextTick(b,Y)}try{Y._destroy(D||null,F)}catch(T){F(T)}}function w(Y,D){g(Y,D),b(Y)}function b(Y){let{_readableState:D,_writableState:H}=Y;if(H)H.closeEmitted=!0;if(D)D.closeEmitted=!0;if(H!==null&&H!==void 0&&H.emitClose||D!==null&&D!==void 0&&D.emitClose)Y.emit("close")}function g(Y,D){let{_readableState:H,_writableState:V}=Y;if(V!==null&&V!==void 0&&V.errorEmitted||H!==null&&H!==void 0&&H.errorEmitted)return;if(V)V.errorEmitted=!0;if(H)H.errorEmitted=!0;Y.emit("error",D)}function u(){let Y=this._readableState,D=this._writableState;if(Y)Y.constructed=!0,Y.closed=!1,Y.closeEmitted=!1,Y.destroyed=!1,Y.errored=null,Y.errorEmitted=!1,Y.reading=!1,Y.ended=Y.readable===!1,Y.endEmitted=Y.readable===!1;if(D)D.constructed=!0,D.destroyed=!1,D.closed=!1,D.closeEmitted=!1,D.errored=null,D.errorEmitted=!1,D.finalCalled=!1,D.prefinished=!1,D.ended=D.writable===!1,D.ending=D.writable===!1,D.finished=D.writable===!1}function p(Y,D,H){let{_readableState:V,_writableState:F}=Y;if(F!==null&&F!==void 0&&F.destroyed||V!==null&&V!==void 0&&V.destroyed)return this;if(V!==null&&V!==void 0&&V.autoDestroy||F!==null&&F!==void 0&&F.autoDestroy)Y.destroy(D);else if(D){if(D.stack,F&&!F.errored)F.errored=D;if(V&&!V.errored)V.errored=D;if(H)G.nextTick(g,Y,D);else g(Y,D)}}function d(Y,D){if(typeof Y._construct!=="function")return;let{_readableState:H,_writableState:V}=Y;if(H)H.constructed=!1;if(V)V.constructed=!1;if(Y.once(P,D),Y.listenerCount(P)>1)return;G.nextTick(a,Y)}function a(Y){let D=!1;function H(V){if(D){p(Y,V!==null&&V!==void 0?V:new X);return}D=!0;let{_readableState:F,_writableState:T}=Y,S=T||F;if(F)F.constructed=!0;if(T)T.constructed=!0;if(S.destroyed)Y.emit(q,V);else if(V)p(Y,V,!0);else G.nextTick(F0,Y)}try{Y._construct((V)=>{G.nextTick(H,V)})}catch(V){G.nextTick(H,V)}}function F0(Y){Y.emit(P)}function L0(Y){return(Y===null||Y===void 0?void 0:Y.setHeader)&&typeof Y.abort==="function"}function E0(Y){Y.emit("close")}function t(Y,D){Y.emit("error",D),G.nextTick(E0,Y)}function C0(Y,D){if(!Y||j(Y))return;if(!D&&!E(Y))D=new z;if(_(Y))Y.socket=null,Y.destroy(D);else if(L0(Y))Y.abort();else if(L0(Y.req))Y.req.abort();else if(typeof Y.destroy==="function")Y.destroy(D);else if(typeof Y.close==="function")Y.close();else if(D)G.nextTick(t,Y,D);else G.nextTick(E0,Y);if(!Y.destroyed)Y[L]=!0}J.exports={construct:d,destroyer:C0,destroy:N,undestroy:u,errorOrDestroy:p}}),eW=XU((I,J)=>{var{ArrayIsArray:G,ObjectSetPrototypeOf:K}=fU(),{EventEmitter:X}=(EQ(),j$(PQ));function z(L){X.call(this,L)}K(z.prototype,X.prototype),K(z,X),z.prototype.pipe=function(L,j){let E=this;function _(b){if(L.writable&&L.write(b)===!1&&E.pause)E.pause()}E.on("data",_);function q(){if(E.readable&&E.resume)E.resume()}if(L.on("drain",q),!L._isStdio&&(!j||j.end!==!1))E.on("end",v),E.on("close",N);let P=!1;function v(){if(P)return;P=!0,L.end()}function N(){if(P)return;if(P=!0,typeof L.destroy==="function")L.destroy()}function y(b){if(w(),X.listenerCount(this,"error")===0)this.emit("error",b)}O(E,"error",y),O(L,"error",y);function w(){E.removeListener("data",_),L.removeListener("drain",q),E.removeListener("end",v),E.removeListener("close",N),E.removeListener("error",y),L.removeListener("error",y),E.removeListener("end",w),E.removeListener("close",w),L.removeListener("close",w)}return E.on("end",w),E.on("close",w),L.on("close",w),L.emit("pipe",E),L};function O(L,j,E){if(typeof L.prependListener==="function")return L.prependListener(j,E);if(!L._events||!L._events[j])L.on(j,E);else if(G(L._events[j]))L._events[j].unshift(E);else L._events[j]=[E,L._events[j]]}J.exports={Stream:z,prependListener:O}}),Zz=XU((I,J)=>{var{SymbolDispose:G}=fU(),{AbortError:K,codes:X}=x6(),{isNodeStream:z,isWebStream:O,kControllerErrorFunction:L}=GI(),j=UX(),{ERR_INVALID_ARG_TYPE:E}=X,_,q=(P,v)=>{if(typeof P!=="object"||!("aborted"in P))throw new E(v,"AbortSignal",P)};J.exports.addAbortSignal=function(P,v){if(q(P,"signal"),!z(v)&&!O(v))throw new E("stream",["ReadableStream","WritableStream","Stream"],v);return J.exports.addAbortSignalNoValidate(P,v)},J.exports.addAbortSignalNoValidate=function(P,v){if(typeof P!=="object"||!("aborted"in P))return v;let N=z(v)?()=>{v.destroy(new K(void 0,{cause:P.reason}))}:()=>{v[L](new K(void 0,{cause:P.reason}))};if(P.aborted)N();else{_=_||r6().addAbortListener;let y=_(P,N);j(v,y[G])}return v}}),wx=XU((I,J)=>{var{StringPrototypeSlice:G,SymbolIterator:K,TypedArrayPrototypeSet:X,Uint8Array:z}=fU(),{Buffer:O}=(oU(),j$(nU)),{inspect:L}=r6();J.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(j){let E={data:j,next:null};if(this.length>0)this.tail.next=E;else this.head=E;this.tail=E,++this.length}unshift(j){let E={data:j,next:this.head};if(this.length===0)this.tail=E;this.head=E,++this.length}shift(){if(this.length===0)return;let j=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,j}clear(){this.head=this.tail=null,this.length=0}join(j){if(this.length===0)return"";let E=this.head,_=""+E.data;while((E=E.next)!==null)_+=j+E.data;return _}concat(j){if(this.length===0)return O.alloc(0);let E=O.allocUnsafe(j>>>0),_=this.head,q=0;while(_)X(E,_.data,q),q+=_.data.length,_=_.next;return E}consume(j,E){let _=this.head.data;if(j<_.length){let q=_.slice(0,j);return this.head.data=_.slice(j),q}if(j===_.length)return this.shift();return E?this._getString(j):this._getBuffer(j)}first(){return this.head.data}*[K](){for(let j=this.head;j;j=j.next)yield j.data}_getString(j){let E="",_=this.head,q=0;do{let P=_.data;if(j>P.length)E+=P,j-=P.length;else{if(j===P.length)if(E+=P,++q,_.next)this.head=_.next;else this.head=this.tail=null;else E+=G(P,0,j),this.head=_,_.data=G(P,j);break}++q}while((_=_.next)!==null);return this.length-=q,E}_getBuffer(j){let E=O.allocUnsafe(j),_=j,q=this.head,P=0;do{let v=q.data;if(j>v.length)X(E,v,_-j),j-=v.length;else{if(j===v.length)if(X(E,v,_-j),++P,q.next)this.head=q.next;else this.head=this.tail=null;else X(E,new z(v.buffer,v.byteOffset,j),_-j),this.head=q,q.data=v.slice(j);break}++P}while((q=q.next)!==null);return this.length-=P,E}[Symbol.for("nodejs.util.inspect.custom")](j,E){return L(this,{...E,depth:0,customInspect:!1})}}}),zz=XU((I,J)=>{var{MathFloor:G,NumberIsInteger:K}=fU(),{validateInteger:X}=oG(),{ERR_INVALID_ARG_VALUE:z}=x6().codes,O=16384,L=16;function j(P,v,N){return P.highWaterMark!=null?P.highWaterMark:v?P[N]:null}function E(P){return P?L:O}function _(P,v){if(X(v,"value",0),P)L=v;else O=v}function q(P,v,N,y){let w=j(v,y,N);if(w!=null){if(!K(w)||w<0){let b=y?`options.${N}`:"options.highWaterMark";throw new z(b,w)}return G(w)}return E(P.objectMode)}J.exports={getHighWaterMark:q,getDefaultHighWaterMark:E,setDefaultHighWaterMark:_}}),fx=XU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var G=(oU(),j$(nU)),K=G.Buffer;function X(O,L){for(var j in O)L[j]=O[j]}if(K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow)J.exports=G;else X(G,I),I.Buffer=z;function z(O,L,j){return K(O,L,j)}z.prototype=Object.create(K.prototype),X(K,z),z.from=function(O,L,j){if(typeof O==="number")throw TypeError("Argument must not be a number");return K(O,L,j)},z.alloc=function(O,L,j){if(typeof O!=="number")throw TypeError("Argument must be a number");var E=K(O);if(L!==void 0)if(typeof j==="string")E.fill(L,j);else E.fill(L);else E.fill(0);return E},z.allocUnsafe=function(O){if(typeof O!=="number")throw TypeError("Argument must be a number");return K(O)},z.allocUnsafeSlow=function(O){if(typeof O!=="number")throw TypeError("Argument must be a number");return G.SlowBuffer(O)}}),yx=XU((I)=>{var J=fx().Buffer,G=J.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function K(g){if(!g)return"utf8";var u;while(!0)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(u)return;g=(""+g).toLowerCase(),u=!0}}function X(g){var u=K(g);if(typeof u!=="string"&&(J.isEncoding===G||!G(g)))throw Error("Unknown encoding: "+g);return u||g}I.StringDecoder=z;function z(g){this.encoding=X(g);var u;switch(this.encoding){case"utf16le":this.text=P,this.end=v,u=4;break;case"utf8":this.fillLast=E,u=4;break;case"base64":this.text=N,this.end=y,u=3;break;default:this.write=w,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(u)}z.prototype.write=function(g){if(g.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(g),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<g.length)return u?u+this.text(g,p):this.text(g,p);return u||""},z.prototype.end=q,z.prototype.text=_,z.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function O(g){if(g<=127)return 0;else if(g>>5===6)return 2;else if(g>>4===14)return 3;else if(g>>3===30)return 4;return g>>6===2?-1:-2}function L(g,u,p){var d=u.length-1;if(d<p)return 0;var a=O(u[d]);if(a>=0){if(a>0)g.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=O(u[d]),a>=0){if(a>0)g.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=O(u[d]),a>=0){if(a>0)if(a===2)a=0;else g.lastNeed=a-3;return a}return 0}function j(g,u,p){if((u[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return g.lastNeed=2,"�"}}}function E(g){var u=this.lastTotal-this.lastNeed,p=j(this,g,u);if(p!==void 0)return p;if(this.lastNeed<=g.length)return g.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,u,0,g.length),this.lastNeed-=g.length}function _(g,u){var p=L(this,g,u);if(!this.lastNeed)return g.toString("utf8",u);this.lastTotal=p;var d=g.length-(p-this.lastNeed);return g.copy(this.lastChar,0,d),g.toString("utf8",u,d)}function q(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+"�";return u}function P(g,u){if((g.length-u)%2===0){var p=g.toString("utf16le",u);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",u,g.length-1)}function v(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function N(g,u){var p=(g.length-u)%3;if(p===0)return g.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=g[g.length-1];else this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1];return g.toString("base64",u,g.length-p)}function y(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(g){return g.toString(this.encoding)}function b(g){return g&&g.length?this.write(g):""}}),C_=XU((I,J)=>{var G=IJ(),{PromisePrototypeThen:K,SymbolAsyncIterator:X,SymbolIterator:z}=fU(),{Buffer:O}=(oU(),j$(nU)),{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:j}=x6().codes;function E(_,q,P){let v;if(typeof q==="string"||q instanceof O)return new _({objectMode:!0,...P,read(){this.push(q),this.push(null)}});let N;if(q&&q[X])N=!0,v=q[X]();else if(q&&q[z])N=!1,v=q[z]();else throw new L("iterable",["Iterable"],q);let y=new _({objectMode:!0,highWaterMark:1,...P}),w=!1;y._read=function(){if(!w)w=!0,g()},y._destroy=function(u,p){K(b(u),()=>G.nextTick(p,u),(d)=>G.nextTick(p,d||u))};async function b(u){let p=u!==void 0&&u!==null,d=typeof v.throw==="function";if(p&&d){let{value:a,done:F0}=await v.throw(u);if(await a,F0)return}if(typeof v.return==="function"){let{value:a}=await v.return();await a}}async function g(){for(;;){try{let{value:u,done:p}=N?await v.next():v.next();if(p)y.push(null);else{let d=u&&typeof u.then==="function"?await u:u;if(d===null)throw w=!1,new j;else if(y.push(d))continue;else w=!1}}catch(u){y.destroy(u)}break}}return y}J.exports=E}),Kz=XU((I,J)=>{var G=IJ(),{ArrayPrototypeIndexOf:K,NumberIsInteger:X,NumberIsNaN:z,NumberParseInt:O,ObjectDefineProperties:L,ObjectKeys:j,ObjectSetPrototypeOf:E,Promise:_,SafeSet:q,SymbolAsyncDispose:P,SymbolAsyncIterator:v,Symbol:N}=fU();J.exports=M0,M0.ReadableState=U$;var{EventEmitter:y}=(EQ(),j$(PQ)),{Stream:w,prependListener:b}=eW(),{Buffer:g}=(oU(),j$(nU)),{addAbortSignal:u}=Zz(),p=UX(),d=r6().debuglog("stream",(i)=>{d=i}),a=wx(),F0=_Q(),{getHighWaterMark:L0,getDefaultHighWaterMark:E0}=zz(),{aggregateTwoErrors:t,codes:{ERR_INVALID_ARG_TYPE:C0,ERR_METHOD_NOT_IMPLEMENTED:Y,ERR_OUT_OF_RANGE:D,ERR_STREAM_PUSH_AFTER_EOF:H,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:V},AbortError:F}=x6(),{validateObject:T}=oG(),S=N("kPaused"),{StringDecoder:A}=yx(),Z=C_();E(M0.prototype,w.prototype),E(M0,w);var C=()=>{},{errorOrDestroy:x}=F0,B=1,h=2,r=4,U0=8,z0=16,Q0=32,s=64,e=128,J0=256,O0=512,A0=1024,$0=2048,c=4096,n=8192,H0=16384,Y0=32768,V0=65536,N0=131072,I0=262144;function K0(i){return{enumerable:!1,get(){return(this.state&i)!==0},set(G0){if(G0)this.state|=i;else this.state&=~i}}}L(U$.prototype,{objectMode:K0(B),ended:K0(h),endEmitted:K0(r),reading:K0(U0),constructed:K0(z0),sync:K0(Q0),needReadable:K0(s),emittedReadable:K0(e),readableListening:K0(J0),resumeScheduled:K0(O0),errorEmitted:K0(A0),emitClose:K0($0),autoDestroy:K0(c),destroyed:K0(n),closed:K0(H0),closeEmitted:K0(Y0),multiAwaitDrain:K0(V0),readingMore:K0(N0),dataEmitted:K0(I0)});function U$(i,G0,P0){if(typeof P0!=="boolean")P0=G0 instanceof YI();if(this.state=$0|c|z0|Q0,i&&i.objectMode)this.state|=B;if(P0&&i&&i.readableObjectMode)this.state|=B;if(this.highWaterMark=i?L0(this,i,"readableHighWaterMark",P0):E0(!1),this.buffer=new a,this.length=0,this.pipes=[],this.flowing=null,this[S]=null,i&&i.emitClose===!1)this.state&=~$0;if(i&&i.autoDestroy===!1)this.state&=~c;if(this.errored=null,this.defaultEncoding=i&&i.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,i&&i.encoding)this.decoder=new A(i.encoding),this.encoding=i.encoding}function M0(i){if(!(this instanceof M0))return new M0(i);let G0=this instanceof YI();if(this._readableState=new U$(i,this,G0),i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!G0)u(i.signal,this)}w.call(this,i),F0.construct(this,()=>{if(this._readableState.needReadable)r0(this,this._readableState)})}M0.prototype.destroy=F0.destroy,M0.prototype._undestroy=F0.undestroy,M0.prototype._destroy=function(i,G0){G0(i)},M0.prototype[y.captureRejectionSymbol]=function(i){this.destroy(i)},M0.prototype[P]=function(){let i;if(!this.destroyed)i=this.readableEnded?null:new F,this.destroy(i);return new _((G0,P0)=>p(this,(_0)=>_0&&_0!==i?P0(_0):G0(null)))},M0.prototype.push=function(i,G0){return v0(this,i,G0,!1)},M0.prototype.unshift=function(i,G0){return v0(this,i,G0,!0)};function v0(i,G0,P0,_0){d("readableAddChunk",G0);let Z$=i._readableState,d0;if((Z$.state&B)===0){if(typeof G0==="string"){if(P0=P0||Z$.defaultEncoding,Z$.encoding!==P0)if(_0&&Z$.encoding)G0=g.from(G0,P0).toString(Z$.encoding);else G0=g.from(G0,P0),P0=""}else if(G0 instanceof g)P0="";else if(w._isUint8Array(G0))G0=w._uint8ArrayToBuffer(G0),P0="";else if(G0!=null)d0=new C0("chunk",["string","Buffer","Uint8Array"],G0)}if(d0)x(i,d0);else if(G0===null)Z$.state&=~U0,b0(i,Z$);else if((Z$.state&B)!==0||G0&&G0.length>0)if(_0)if((Z$.state&r)!==0)x(i,new V);else if(Z$.destroyed||Z$.errored)return!1;else L$(i,Z$,G0,!0);else if(Z$.ended)x(i,new H);else if(Z$.destroyed||Z$.errored)return!1;else if(Z$.state&=~U0,Z$.decoder&&!P0)if(G0=Z$.decoder.write(G0),Z$.objectMode||G0.length!==0)L$(i,Z$,G0,!1);else r0(i,Z$);else L$(i,Z$,G0,!1);else if(!_0)Z$.state&=~U0,r0(i,Z$);return!Z$.ended&&(Z$.length<Z$.highWaterMark||Z$.length===0)}function L$(i,G0,P0,_0){if(G0.flowing&&G0.length===0&&!G0.sync&&i.listenerCount("data")>0){if((G0.state&V0)!==0)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;G0.dataEmitted=!0,i.emit("data",P0)}else{if(G0.length+=G0.objectMode?1:P0.length,_0)G0.buffer.unshift(P0);else G0.buffer.push(P0);if((G0.state&s)!==0)h0(i)}r0(i,G0)}M0.prototype.isPaused=function(){let i=this._readableState;return i[S]===!0||i.flowing===!1},M0.prototype.setEncoding=function(i){let G0=new A(i);this._readableState.decoder=G0,this._readableState.encoding=this._readableState.decoder.encoding;let P0=this._readableState.buffer,_0="";for(let Z$ of P0)_0+=G0.write(Z$);if(P0.clear(),_0!=="")P0.push(_0);return this._readableState.length=_0.length,this};var p0=1073741824;function c0(i){if(i>p0)throw new D("size","<= 1GiB",i);else i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++;return i}function i$(i,G0){if(i<=0||G0.length===0&&G0.ended)return 0;if((G0.state&B)!==0)return 1;if(z(i)){if(G0.flowing&&G0.length)return G0.buffer.first().length;return G0.length}if(i<=G0.length)return i;return G0.ended?G0.length:0}M0.prototype.read=function(i){if(d("read",i),i===void 0)i=NaN;else if(!X(i))i=O(i,10);let G0=this._readableState,P0=i;if(i>G0.highWaterMark)G0.highWaterMark=c0(i);if(i!==0)G0.state&=~e;if(i===0&&G0.needReadable&&((G0.highWaterMark!==0?G0.length>=G0.highWaterMark:G0.length>0)||G0.ended)){if(d("read: emitReadable",G0.length,G0.ended),G0.length===0&&G0.ended)V$(this);else h0(this);return null}if(i=i$(i,G0),i===0&&G0.ended){if(G0.length===0)V$(this);return null}let _0=(G0.state&s)!==0;if(d("need readable",_0),G0.length===0||G0.length-i<G0.highWaterMark)_0=!0,d("length less than watermark",_0);if(G0.ended||G0.reading||G0.destroyed||G0.errored||!G0.constructed)_0=!1,d("reading, ended or constructing",_0);else if(_0){if(d("do read"),G0.state|=U0|Q0,G0.length===0)G0.state|=s;try{this._read(G0.highWaterMark)}catch(d0){x(this,d0)}if(G0.state&=~Q0,!G0.reading)i=i$(P0,G0)}let Z$;if(i>0)Z$=f0(i,G0);else Z$=null;if(Z$===null)G0.needReadable=G0.length<=G0.highWaterMark,i=0;else if(G0.length-=i,G0.multiAwaitDrain)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;if(G0.length===0){if(!G0.ended)G0.needReadable=!0;if(P0!==i&&G0.ended)V$(this)}if(Z$!==null&&!G0.errorEmitted&&!G0.closeEmitted)G0.dataEmitted=!0,this.emit("data",Z$);return Z$};function b0(i,G0){if(d("onEofChunk"),G0.ended)return;if(G0.decoder){let P0=G0.decoder.end();if(P0&&P0.length)G0.buffer.push(P0),G0.length+=G0.objectMode?1:P0.length}if(G0.ended=!0,G0.sync)h0(i);else G0.needReadable=!1,G0.emittedReadable=!0,QU(i)}function h0(i){let G0=i._readableState;if(d("emitReadable",G0.needReadable,G0.emittedReadable),G0.needReadable=!1,!G0.emittedReadable)d("emitReadable",G0.flowing),G0.emittedReadable=!0,G.nextTick(QU,i)}function QU(i){let G0=i._readableState;if(d("emitReadable_",G0.destroyed,G0.length,G0.ended),!G0.destroyed&&!G0.errored&&(G0.length||G0.ended))i.emit("readable"),G0.emittedReadable=!1;G0.needReadable=!G0.flowing&&!G0.ended&&G0.length<=G0.highWaterMark,B0(i)}function r0(i,G0){if(!G0.readingMore&&G0.constructed)G0.readingMore=!0,G.nextTick(o0,i,G0)}function o0(i,G0){while(!G0.reading&&!G0.ended&&(G0.length<G0.highWaterMark||G0.flowing&&G0.length===0)){let P0=G0.length;if(d("maybeReadMore read 0"),i.read(0),P0===G0.length)break}G0.readingMore=!1}M0.prototype._read=function(i){throw new Y("_read()")},M0.prototype.pipe=function(i,G0){let P0=this,_0=this._readableState;if(_0.pipes.length===1){if(!_0.multiAwaitDrain)_0.multiAwaitDrain=!0,_0.awaitDrainWriters=new q(_0.awaitDrainWriters?[_0.awaitDrainWriters]:[])}_0.pipes.push(i),d("pipe count=%d opts=%j",_0.pipes.length,G0);let Z$=(!G0||G0.end!==!1)&&i!==G.stdout&&i!==G.stderr?t0:S$;if(_0.endEmitted)G.nextTick(Z$);else P0.once("end",Z$);i.on("unpipe",d0);function d0($U,d$){if(d("onunpipe"),$U===P0){if(d$&&d$.hasUnpiped===!1)d$.hasUnpiped=!0,$$()}}function t0(){d("onend"),i.end()}let HU,I$=!1;function $$(){if(d("cleanup"),i.removeListener("close",RU),i.removeListener("finish",v$),HU)i.removeListener("drain",HU);if(i.removeListener("error",e0),i.removeListener("unpipe",d0),P0.removeListener("end",t0),P0.removeListener("end",S$),P0.removeListener("data",X$),I$=!0,HU&&_0.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))HU()}function e$(){if(!I$){if(_0.pipes.length===1&&_0.pipes[0]===i)d("false write response, pause",0),_0.awaitDrainWriters=i,_0.multiAwaitDrain=!1;else if(_0.pipes.length>1&&_0.pipes.includes(i))d("false write response, pause",_0.awaitDrainWriters.size),_0.awaitDrainWriters.add(i);P0.pause()}if(!HU)HU=TU(P0,i),i.on("drain",HU)}P0.on("data",X$);function X$($U){d("ondata");let d$=i.write($U);if(d("dest.write",d$),d$===!1)e$()}function e0($U){if(d("onerror",$U),S$(),i.removeListener("error",e0),i.listenerCount("error")===0){let d$=i._writableState||i._readableState;if(d$&&!d$.errorEmitted)x(i,$U);else i.emit("error",$U)}}b(i,"error",e0);function RU(){i.removeListener("finish",v$),S$()}i.once("close",RU);function v$(){d("onfinish"),i.removeListener("close",RU),S$()}i.once("finish",v$);function S$(){d("unpipe"),P0.unpipe(i)}if(i.emit("pipe",P0),i.writableNeedDrain===!0)e$();else if(!_0.flowing)d("pipe resume"),P0.resume();return i};function TU(i,G0){return function(){let P0=i._readableState;if(P0.awaitDrainWriters===G0)d("pipeOnDrain",1),P0.awaitDrainWriters=null;else if(P0.multiAwaitDrain)d("pipeOnDrain",P0.awaitDrainWriters.size),P0.awaitDrainWriters.delete(G0);if((!P0.awaitDrainWriters||P0.awaitDrainWriters.size===0)&&i.listenerCount("data"))i.resume()}}M0.prototype.unpipe=function(i){let G0=this._readableState,P0={hasUnpiped:!1};if(G0.pipes.length===0)return this;if(!i){let Z$=G0.pipes;G0.pipes=[],this.pause();for(let d0=0;d0<Z$.length;d0++)Z$[d0].emit("unpipe",this,{hasUnpiped:!1});return this}let _0=K(G0.pipes,i);if(_0===-1)return this;if(G0.pipes.splice(_0,1),G0.pipes.length===0)this.pause();return i.emit("unpipe",this,P0),this},M0.prototype.on=function(i,G0){let P0=w.prototype.on.call(this,i,G0),_0=this._readableState;if(i==="data"){if(_0.readableListening=this.listenerCount("readable")>0,_0.flowing!==!1)this.resume()}else if(i==="readable"){if(!_0.endEmitted&&!_0.readableListening){if(_0.readableListening=_0.needReadable=!0,_0.flowing=!1,_0.emittedReadable=!1,d("on readable",_0.length,_0.reading),_0.length)h0(this);else if(!_0.reading)G.nextTick(X0,this)}}return P0},M0.prototype.addListener=M0.prototype.on,M0.prototype.removeListener=function(i,G0){let P0=w.prototype.removeListener.call(this,i,G0);if(i==="readable")G.nextTick(m,this);return P0},M0.prototype.off=M0.prototype.removeListener,M0.prototype.removeAllListeners=function(i){let G0=w.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===void 0)G.nextTick(m,this);return G0};function m(i){let G0=i._readableState;if(G0.readableListening=i.listenerCount("readable")>0,G0.resumeScheduled&&G0[S]===!1)G0.flowing=!0;else if(i.listenerCount("data")>0)i.resume();else if(!G0.readableListening)G0.flowing=null}function X0(i){d("readable nexttick read 0"),i.read(0)}M0.prototype.resume=function(){let i=this._readableState;if(!i.flowing)d("resume"),i.flowing=!i.readableListening,s0(this,i);return i[S]=!1,this};function s0(i,G0){if(!G0.resumeScheduled)G0.resumeScheduled=!0,G.nextTick(S0,i,G0)}function S0(i,G0){if(d("resume",G0.reading),!G0.reading)i.read(0);if(G0.resumeScheduled=!1,i.emit("resume"),B0(i),G0.flowing&&!G0.reading)i.read(0)}M0.prototype.pause=function(){if(d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)d("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[S]=!0,this};function B0(i){let G0=i._readableState;d("flow",G0.flowing);while(G0.flowing&&i.read()!==null);}M0.prototype.wrap=function(i){let G0=!1;i.on("data",(_0)=>{if(!this.push(_0)&&i.pause)G0=!0,i.pause()}),i.on("end",()=>{this.push(null)}),i.on("error",(_0)=>{x(this,_0)}),i.on("close",()=>{this.destroy()}),i.on("destroy",()=>{this.destroy()}),this._read=()=>{if(G0&&i.resume)G0=!1,i.resume()};let P0=j(i);for(let _0=1;_0<P0.length;_0++){let Z$=P0[_0];if(this[Z$]===void 0&&typeof i[Z$]==="function")this[Z$]=i[Z$].bind(i)}return this},M0.prototype[v]=function(){return F$(this)},M0.prototype.iterator=function(i){if(i!==void 0)T(i,"options");return F$(this,i)};function F$(i,G0){if(typeof i.read!=="function")i=M0.wrap(i,{objectMode:!0});let P0=g0(i,G0);return P0.stream=i,P0}async function*g0(i,G0){let P0=C;function _0(t0){if(this===i)P0(),P0=C;else P0=t0}i.on("readable",_0);let Z$,d0=p(i,{writable:!1},(t0)=>{Z$=t0?t(Z$,t0):null,P0(),P0=C});try{while(!0){let t0=i.destroyed?null:i.read();if(t0!==null)yield t0;else if(Z$)throw Z$;else if(Z$===null)return;else await new _(_0)}}catch(t0){throw Z$=t(Z$,t0),Z$}finally{if((Z$||(G0===null||G0===void 0?void 0:G0.destroyOnReturn)!==!1)&&(Z$===void 0||i._readableState.autoDestroy))F0.destroyer(i,null);else i.off("readable",_0),d0()}}L(M0.prototype,{readable:{__proto__:null,get(){let i=this._readableState;return!!i&&i.readable!==!1&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState)this._readableState.readable=!!i}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState)this._readableState.flowing=i}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(i){if(!this._readableState)return;this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),L(U$.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[S]!==!1},set(i){this[S]=!!i}}}),M0._fromList=f0;function f0(i,G0){if(G0.length===0)return null;let P0;if(G0.objectMode)P0=G0.buffer.shift();else if(!i||i>=G0.length){if(G0.decoder)P0=G0.buffer.join("");else if(G0.buffer.length===1)P0=G0.buffer.first();else P0=G0.buffer.concat(G0.length);G0.buffer.clear()}else P0=G0.buffer.consume(i,G0.decoder);return P0}function V$(i){let G0=i._readableState;if(d("endReadable",G0.endEmitted),!G0.endEmitted)G0.ended=!0,G.nextTick(n0,G0,i)}function n0(i,G0){if(d("endReadableNT",i.endEmitted,i.length),!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){if(i.endEmitted=!0,G0.emit("end"),G0.writable&&G0.allowHalfOpen===!1)G.nextTick(i0,G0);else if(i.autoDestroy){let P0=G0._writableState;if(!P0||P0.autoDestroy&&(P0.finished||P0.writable===!1))G0.destroy()}}}function i0(i){if(i.writable&&!i.writableEnded&&!i.destroyed)i.end()}M0.from=function(i,G0){return Z(M0,i,G0)};var KU;function a0(){if(KU===void 0)KU={};return KU}M0.fromWeb=function(i,G0){return a0().newStreamReadableFromReadableStream(i,G0)},M0.toWeb=function(i,G0){return a0().newReadableStreamFromStreamReadable(i,G0)},M0.wrap=function(i,G0){var P0,_0;return new M0({objectMode:(P0=(_0=i.readableObjectMode)!==null&&_0!==void 0?_0:i.objectMode)!==null&&P0!==void 0?P0:!0,...G0,destroy(Z$,d0){F0.destroyer(i,Z$),d0(Z$)}}).wrap(i)}}),$F=XU((I,J)=>{var G=IJ(),{ArrayPrototypeSlice:K,Error:X,FunctionPrototypeSymbolHasInstance:z,ObjectDefineProperty:O,ObjectDefineProperties:L,ObjectSetPrototypeOf:j,StringPrototypeToLowerCase:E,Symbol:_,SymbolHasInstance:q}=fU();J.exports=T,T.WritableState=V;var{EventEmitter:P}=(EQ(),j$(PQ)),v=eW().Stream,{Buffer:N}=(oU(),j$(nU)),y=_Q(),{addAbortSignal:w}=Zz(),{getHighWaterMark:b,getDefaultHighWaterMark:g}=zz(),{ERR_INVALID_ARG_TYPE:u,ERR_METHOD_NOT_IMPLEMENTED:p,ERR_MULTIPLE_CALLBACK:d,ERR_STREAM_CANNOT_PIPE:a,ERR_STREAM_DESTROYED:F0,ERR_STREAM_ALREADY_FINISHED:L0,ERR_STREAM_NULL_VALUES:E0,ERR_STREAM_WRITE_AFTER_END:t,ERR_UNKNOWN_ENCODING:C0}=x6().codes,{errorOrDestroy:Y}=y;j(T.prototype,v.prototype),j(T,v);function D(){}var H=_("kOnFinished");function V(c,n,H0){if(typeof H0!=="boolean")H0=n instanceof YI();if(this.objectMode=!!(c&&c.objectMode),H0)this.objectMode=this.objectMode||!!(c&&c.writableObjectMode);this.highWaterMark=c?b(this,c,"writableHighWaterMark",H0):g(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let Y0=!!(c&&c.decodeStrings===!1);this.decodeStrings=!Y0,this.defaultEncoding=c&&c.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=x.bind(void 0,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,F(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!c||c.emitClose!==!1,this.autoDestroy=!c||c.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[H]=[]}function F(c){c.buffered=[],c.bufferedIndex=0,c.allBuffers=!0,c.allNoop=!0}V.prototype.getBuffer=function(){return K(this.buffered,this.bufferedIndex)},O(V.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function T(c){let n=this instanceof YI();if(!n&&!z(T,this))return new T(c);if(this._writableState=new V(c,this,n),c){if(typeof c.write==="function")this._write=c.write;if(typeof c.writev==="function")this._writev=c.writev;if(typeof c.destroy==="function")this._destroy=c.destroy;if(typeof c.final==="function")this._final=c.final;if(typeof c.construct==="function")this._construct=c.construct;if(c.signal)w(c.signal,this)}v.call(this,c),y.construct(this,()=>{let H0=this._writableState;if(!H0.writing)U0(this,H0);e(this,H0)})}O(T,q,{__proto__:null,value:function(c){if(z(this,c))return!0;if(this!==T)return!1;return c&&c._writableState instanceof V}}),T.prototype.pipe=function(){Y(this,new a)};function S(c,n,H0,Y0){let V0=c._writableState;if(typeof H0==="function")Y0=H0,H0=V0.defaultEncoding;else{if(!H0)H0=V0.defaultEncoding;else if(H0!=="buffer"&&!N.isEncoding(H0))throw new C0(H0);if(typeof Y0!=="function")Y0=D}if(n===null)throw new E0;else if(!V0.objectMode)if(typeof n==="string"){if(V0.decodeStrings!==!1)n=N.from(n,H0),H0="buffer"}else if(n instanceof N)H0="buffer";else if(v._isUint8Array(n))n=v._uint8ArrayToBuffer(n),H0="buffer";else throw new u("chunk",["string","Buffer","Uint8Array"],n);let N0;if(V0.ending)N0=new t;else if(V0.destroyed)N0=new F0("write");if(N0)return G.nextTick(Y0,N0),Y(c,N0,!0),N0;return V0.pendingcb++,A(c,V0,n,H0,Y0)}T.prototype.write=function(c,n,H0){return S(this,c,n,H0)===!0},T.prototype.cork=function(){this._writableState.corked++},T.prototype.uncork=function(){let c=this._writableState;if(c.corked){if(c.corked--,!c.writing)U0(this,c)}},T.prototype.setDefaultEncoding=function(c){if(typeof c==="string")c=E(c);if(!N.isEncoding(c))throw new C0(c);return this._writableState.defaultEncoding=c,this};function A(c,n,H0,Y0,V0){let N0=n.objectMode?1:H0.length;n.length+=N0;let I0=n.length<n.highWaterMark;if(!I0)n.needDrain=!0;if(n.writing||n.corked||n.errored||!n.constructed){if(n.buffered.push({chunk:H0,encoding:Y0,callback:V0}),n.allBuffers&&Y0!=="buffer")n.allBuffers=!1;if(n.allNoop&&V0!==D)n.allNoop=!1}else n.writelen=N0,n.writecb=V0,n.writing=!0,n.sync=!0,c._write(H0,Y0,n.onwrite),n.sync=!1;return I0&&!n.errored&&!n.destroyed}function Z(c,n,H0,Y0,V0,N0,I0){if(n.writelen=Y0,n.writecb=I0,n.writing=!0,n.sync=!0,n.destroyed)n.onwrite(new F0("write"));else if(H0)c._writev(V0,n.onwrite);else c._write(V0,N0,n.onwrite);n.sync=!1}function C(c,n,H0,Y0){--n.pendingcb,Y0(H0),r(n),Y(c,H0)}function x(c,n){let H0=c._writableState,Y0=H0.sync,V0=H0.writecb;if(typeof V0!=="function"){Y(c,new d);return}if(H0.writing=!1,H0.writecb=null,H0.length-=H0.writelen,H0.writelen=0,n){if(n.stack,!H0.errored)H0.errored=n;if(c._readableState&&!c._readableState.errored)c._readableState.errored=n;if(Y0)G.nextTick(C,c,H0,n,V0);else C(c,H0,n,V0)}else{if(H0.buffered.length>H0.bufferedIndex)U0(c,H0);if(Y0)if(H0.afterWriteTickInfo!==null&&H0.afterWriteTickInfo.cb===V0)H0.afterWriteTickInfo.count++;else H0.afterWriteTickInfo={count:1,cb:V0,stream:c,state:H0},G.nextTick(B,H0.afterWriteTickInfo);else h(c,H0,1,V0)}}function B({stream:c,state:n,count:H0,cb:Y0}){return n.afterWriteTickInfo=null,h(c,n,H0,Y0)}function h(c,n,H0,Y0){if(!n.ending&&!c.destroyed&&n.length===0&&n.needDrain)n.needDrain=!1,c.emit("drain");while(H0-- >0)n.pendingcb--,Y0();if(n.destroyed)r(n);e(c,n)}function r(c){if(c.writing)return;for(let V0=c.bufferedIndex;V0<c.buffered.length;++V0){var n;let{chunk:N0,callback:I0}=c.buffered[V0],K0=c.objectMode?1:N0.length;c.length-=K0,I0((n=c.errored)!==null&&n!==void 0?n:new F0("write"))}let H0=c[H].splice(0);for(let V0=0;V0<H0.length;V0++){var Y0;H0[V0]((Y0=c.errored)!==null&&Y0!==void 0?Y0:new F0("end"))}F(c)}function U0(c,n){if(n.corked||n.bufferProcessing||n.destroyed||!n.constructed)return;let{buffered:H0,bufferedIndex:Y0,objectMode:V0}=n,N0=H0.length-Y0;if(!N0)return;let I0=Y0;if(n.bufferProcessing=!0,N0>1&&c._writev){n.pendingcb-=N0-1;let K0=n.allNoop?D:(M0)=>{for(let v0=I0;v0<H0.length;++v0)H0[v0].callback(M0)},U$=n.allNoop&&I0===0?H0:K(H0,I0);U$.allBuffers=n.allBuffers,Z(c,n,!0,n.length,U$,"",K0),F(n)}else{do{let{chunk:K0,encoding:U$,callback:M0}=H0[I0];H0[I0++]=null;let v0=V0?1:K0.length;Z(c,n,!1,v0,K0,U$,M0)}while(I0<H0.length&&!n.writing);if(I0===H0.length)F(n);else if(I0>256)H0.splice(0,I0),n.bufferedIndex=0;else n.bufferedIndex=I0}n.bufferProcessing=!1}T.prototype._write=function(c,n,H0){if(this._writev)this._writev([{chunk:c,encoding:n}],H0);else throw new p("_write()")},T.prototype._writev=null,T.prototype.end=function(c,n,H0){let Y0=this._writableState;if(typeof c==="function")H0=c,c=null,n=null;else if(typeof n==="function")H0=n,n=null;let V0;if(c!==null&&c!==void 0){let N0=S(this,c,n);if(N0 instanceof X)V0=N0}if(Y0.corked)Y0.corked=1,this.uncork();if(V0);else if(!Y0.errored&&!Y0.ending)Y0.ending=!0,e(this,Y0,!0),Y0.ended=!0;else if(Y0.finished)V0=new L0("end");else if(Y0.destroyed)V0=new F0("end");if(typeof H0==="function")if(V0||Y0.finished)G.nextTick(H0,V0);else Y0[H].push(H0);return this};function z0(c){return c.ending&&!c.destroyed&&c.constructed&&c.length===0&&!c.errored&&c.buffered.length===0&&!c.finished&&!c.writing&&!c.errorEmitted&&!c.closeEmitted}function Q0(c,n){let H0=!1;function Y0(V0){if(H0){Y(c,V0!==null&&V0!==void 0?V0:d());return}if(H0=!0,n.pendingcb--,V0){let N0=n[H].splice(0);for(let I0=0;I0<N0.length;I0++)N0[I0](V0);Y(c,V0,n.sync)}else if(z0(n))n.prefinished=!0,c.emit("prefinish"),n.pendingcb++,G.nextTick(J0,c,n)}n.sync=!0,n.pendingcb++;try{c._final(Y0)}catch(V0){Y0(V0)}n.sync=!1}function s(c,n){if(!n.prefinished&&!n.finalCalled)if(typeof c._final==="function"&&!n.destroyed)n.finalCalled=!0,Q0(c,n);else n.prefinished=!0,c.emit("prefinish")}function e(c,n,H0){if(z0(n)){if(s(c,n),n.pendingcb===0){if(H0)n.pendingcb++,G.nextTick((Y0,V0)=>{if(z0(V0))J0(Y0,V0);else V0.pendingcb--},c,n);else if(z0(n))n.pendingcb++,J0(c,n)}}}function J0(c,n){n.pendingcb--,n.finished=!0;let H0=n[H].splice(0);for(let Y0=0;Y0<H0.length;Y0++)H0[Y0]();if(c.emit("finish"),n.autoDestroy){let Y0=c._readableState;if(!Y0||Y0.autoDestroy&&(Y0.endEmitted||Y0.readable===!1))c.destroy()}}L(T.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(c){if(this._writableState)this._writableState.destroyed=c}},writable:{__proto__:null,get(){let c=this._writableState;return!!c&&c.writable!==!1&&!c.destroyed&&!c.errored&&!c.ending&&!c.ended},set(c){if(this._writableState)this._writableState.writable=!!c}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let c=this._writableState;if(!c)return!1;return!c.destroyed&&!c.ending&&c.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var O0=y.destroy;T.prototype.destroy=function(c,n){let H0=this._writableState;if(!H0.destroyed&&(H0.bufferedIndex<H0.buffered.length||H0[H].length))G.nextTick(r,H0);return O0.call(this,c,n),this},T.prototype._undestroy=y.undestroy,T.prototype._destroy=function(c,n){n(c)},T.prototype[P.captureRejectionSymbol]=function(c){this.destroy(c)};var A0;function $0(){if(A0===void 0)A0={};return A0}T.fromWeb=function(c,n){return $0().newStreamWritableFromWritableStream(c,n)},T.toWeb=function(c){return $0().newWritableStreamFromStreamWritable(c)}}),ux=XU((I,J)=>{var G=IJ(),K=(oU(),j$(nU)),{isReadable:X,isWritable:z,isIterable:O,isNodeStream:L,isReadableNodeStream:j,isWritableNodeStream:E,isDuplexNodeStream:_,isReadableStream:q,isWritableStream:P}=GI(),v=UX(),{AbortError:N,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:w}}=x6(),{destroyer:b}=_Q(),g=YI(),u=Kz(),p=$F(),{createDeferredPromise:d}=r6(),a=C_(),F0=globalThis.Blob||K.Blob,L0=typeof F0<"u"?function(H){return H instanceof F0}:function(H){return!1},E0=globalThis.AbortController||nG().AbortController,{FunctionPrototypeCall:t}=fU();class C0 extends g{constructor(H){super(H);if((H===null||H===void 0?void 0:H.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((H===null||H===void 0?void 0:H.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}J.exports=function H(V,F){if(_(V))return V;if(j(V))return D({readable:V});if(E(V))return D({writable:V});if(L(V))return D({writable:!1,readable:!1});if(q(V))return D({readable:u.fromWeb(V)});if(P(V))return D({writable:p.fromWeb(V)});if(typeof V==="function"){let{value:S,write:A,final:Z,destroy:C}=Y(V);if(O(S))return a(C0,S,{objectMode:!0,write:A,final:Z,destroy:C});let x=S===null||S===void 0?void 0:S.then;if(typeof x==="function"){let B,h=t(x,S,(r)=>{if(r!=null)throw new w("nully","body",r)},(r)=>{b(B,r)});return B=new C0({objectMode:!0,readable:!1,write:A,final(r){Z(async()=>{try{await h,G.nextTick(r,null)}catch(U0){G.nextTick(r,U0)}})},destroy:C})}throw new w("Iterable, AsyncIterable or AsyncFunction",F,S)}if(L0(V))return H(V.arrayBuffer());if(O(V))return a(C0,V,{objectMode:!0,writable:!1});if(q(V===null||V===void 0?void 0:V.readable)&&P(V===null||V===void 0?void 0:V.writable))return C0.fromWeb(V);if(typeof(V===null||V===void 0?void 0:V.writable)==="object"||typeof(V===null||V===void 0?void 0:V.readable)==="object"){let S=V!==null&&V!==void 0&&V.readable?j(V===null||V===void 0?void 0:V.readable)?V===null||V===void 0?void 0:V.readable:H(V.readable):void 0,A=V!==null&&V!==void 0&&V.writable?E(V===null||V===void 0?void 0:V.writable)?V===null||V===void 0?void 0:V.writable:H(V.writable):void 0;return D({readable:S,writable:A})}let T=V===null||V===void 0?void 0:V.then;if(typeof T==="function"){let S;return t(T,V,(A)=>{if(A!=null)S.push(A);S.push(null)},(A)=>{b(S,A)}),S=new C0({objectMode:!0,writable:!1,read(){}})}throw new y(F,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],V)};function Y(H){let{promise:V,resolve:F}=d(),T=new E0,S=T.signal;return{value:H(async function*(){while(!0){let A=V;V=null;let{chunk:Z,done:C,cb:x}=await A;if(G.nextTick(x),C)return;if(S.aborted)throw new N(void 0,{cause:S.reason});({promise:V,resolve:F}=d()),yield Z}}(),{signal:S}),write(A,Z,C){let x=F;F=null,x({chunk:A,done:!1,cb:C})},final(A){let Z=F;F=null,Z({done:!0,cb:A})},destroy(A,Z){T.abort(),Z(A)}}}function D(H){let V=H.readable&&typeof H.readable.read!=="function"?u.wrap(H.readable):H.readable,F=H.writable,T=!!X(V),S=!!z(F),A,Z,C,x,B;function h(r){let U0=x;if(x=null,U0)U0(r);else if(r)B.destroy(r)}if(B=new C0({readableObjectMode:!!(V!==null&&V!==void 0&&V.readableObjectMode),writableObjectMode:!!(F!==null&&F!==void 0&&F.writableObjectMode),readable:T,writable:S}),S)v(F,(r)=>{if(S=!1,r)b(V,r);h(r)}),B._write=function(r,U0,z0){if(F.write(r,U0))z0();else A=z0},B._final=function(r){F.end(),Z=r},F.on("drain",function(){if(A){let r=A;A=null,r()}}),F.on("finish",function(){if(Z){let r=Z;Z=null,r()}});if(T)v(V,(r)=>{if(T=!1,r)b(V,r);h(r)}),V.on("readable",function(){if(C){let r=C;C=null,r()}}),V.on("end",function(){B.push(null)}),B._read=function(){while(!0){let r=V.read();if(r===null){C=B._read;return}if(!B.push(r))return}};return B._destroy=function(r,U0){if(!r&&x!==null)r=new N;if(C=null,A=null,Z=null,x===null)U0(r);else x=U0,b(F,r),b(V,r)},B}}),YI=XU((I,J)=>{var{ObjectDefineProperties:G,ObjectGetOwnPropertyDescriptor:K,ObjectKeys:X,ObjectSetPrototypeOf:z}=fU();J.exports=j;var O=Kz(),L=$F();z(j.prototype,O.prototype),z(j,O);{let P=X(L.prototype);for(let v=0;v<P.length;v++){let N=P[v];if(!j.prototype[N])j.prototype[N]=L.prototype[N]}}function j(P){if(!(this instanceof j))return new j(P);if(O.call(this,P),L.call(this,P),P){if(this.allowHalfOpen=P.allowHalfOpen!==!1,P.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(P.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}G(j.prototype,{writable:{__proto__:null,...K(L.prototype,"writable")},writableHighWaterMark:{__proto__:null,...K(L.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...K(L.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...K(L.prototype,"writableBuffer")},writableLength:{__proto__:null,...K(L.prototype,"writableLength")},writableFinished:{__proto__:null,...K(L.prototype,"writableFinished")},writableCorked:{__proto__:null,...K(L.prototype,"writableCorked")},writableEnded:{__proto__:null,...K(L.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...K(L.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set(P){if(this._readableState&&this._writableState)this._readableState.destroyed=P,this._writableState.destroyed=P}}});var E;function _(){if(E===void 0)E={};return E}j.fromWeb=function(P,v){return _().newStreamDuplexFromReadableWritablePair(P,v)},j.toWeb=function(P){return _().newReadableWritablePairFromDuplex(P)};var q;j.from=function(P){if(!q)q=ux();return q(P,"body")}}),T_=XU((I,J)=>{var{ObjectSetPrototypeOf:G,Symbol:K}=fU();J.exports=j;var{ERR_METHOD_NOT_IMPLEMENTED:X}=x6().codes,z=YI(),{getHighWaterMark:O}=zz();G(j.prototype,z.prototype),G(j,z);var L=K("kCallback");function j(q){if(!(this instanceof j))return new j(q);let P=q?O(this,q,"readableHighWaterMark",!0):null;if(P===0)q={...q,highWaterMark:null,readableHighWaterMark:P,writableHighWaterMark:q.writableHighWaterMark||0};if(z.call(this,q),this._readableState.sync=!1,this[L]=null,q){if(typeof q.transform==="function")this._transform=q.transform;if(typeof q.flush==="function")this._flush=q.flush}this.on("prefinish",_)}function E(q){if(typeof this._flush==="function"&&!this.destroyed)this._flush((P,v)=>{if(P){if(q)q(P);else this.destroy(P);return}if(v!=null)this.push(v);if(this.push(null),q)q()});else if(this.push(null),q)q()}function _(){if(this._final!==E)E.call(this)}j.prototype._final=E,j.prototype._transform=function(q,P,v){throw new X("_transform()")},j.prototype._write=function(q,P,v){let N=this._readableState,y=this._writableState,w=N.length;this._transform(q,P,(b,g)=>{if(b){v(b);return}if(g!=null)this.push(g);if(y.ended||w===N.length||N.length<N.highWaterMark)v();else this[L]=v})},j.prototype._read=function(){if(this[L]){let q=this[L];this[L]=null,q()}}}),R_=XU((I,J)=>{var{ObjectSetPrototypeOf:G}=fU();J.exports=X;var K=T_();G(X.prototype,K.prototype),G(X,K);function X(z){if(!(this instanceof X))return new X(z);K.call(this,z)}X.prototype._transform=function(z,O,L){L(null,z)}}),UF=XU((I,J)=>{var G=IJ(),{ArrayIsArray:K,Promise:X,SymbolAsyncIterator:z,SymbolDispose:O}=fU(),L=UX(),{once:j}=r6(),E=_Q(),_=YI(),{aggregateTwoErrors:q,codes:{ERR_INVALID_ARG_TYPE:P,ERR_INVALID_RETURN_VALUE:v,ERR_MISSING_ARGS:N,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:w},AbortError:b}=x6(),{validateFunction:g,validateAbortSignal:u}=oG(),{isIterable:p,isReadable:d,isReadableNodeStream:a,isNodeStream:F0,isTransformStream:L0,isWebStream:E0,isReadableStream:t,isReadableFinished:C0}=GI(),Y=globalThis.AbortController||nG().AbortController,D,H,V;function F(r,U0,z0){let Q0=!1;r.on("close",()=>{Q0=!0});let s=L(r,{readable:U0,writable:z0},(e)=>{Q0=!e});return{destroy:(e)=>{if(Q0)return;Q0=!0,E.destroyer(r,e||new y("pipe"))},cleanup:s}}function T(r){return g(r[r.length-1],"streams[stream.length - 1]"),r.pop()}function S(r){if(p(r))return r;else if(a(r))return A(r);throw new P("val",["Readable","Iterable","AsyncIterable"],r)}async function*A(r){if(!H)H=Kz();yield*H.prototype[z].call(r)}async function Z(r,U0,z0,{end:Q0}){let s,e=null,J0=($0)=>{if($0)s=$0;if(e){let c=e;e=null,c()}},O0=()=>new X(($0,c)=>{if(s)c(s);else e=()=>{if(s)c(s);else $0()}});U0.on("drain",J0);let A0=L(U0,{readable:!1},J0);try{if(U0.writableNeedDrain)await O0();for await(let $0 of r)if(!U0.write($0))await O0();if(Q0)U0.end(),await O0();z0()}catch($0){z0(s!==$0?q(s,$0):$0)}finally{A0(),U0.off("drain",J0)}}async function C(r,U0,z0,{end:Q0}){if(L0(U0))U0=U0.writable;let s=U0.getWriter();try{for await(let e of r)await s.ready,s.write(e).catch(()=>{});if(await s.ready,Q0)await s.close();z0()}catch(e){try{await s.abort(e),z0(e)}catch(J0){z0(J0)}}}function x(...r){return B(r,j(T(r)))}function B(r,U0,z0){if(r.length===1&&K(r[0]))r=r[0];if(r.length<2)throw new N("streams");let Q0=new Y,s=Q0.signal,e=z0===null||z0===void 0?void 0:z0.signal,J0=[];u(e,"options.signal");function O0(){V0(new b)}V=V||r6().addAbortListener;let A0;if(e)A0=V(e,O0);let $0,c,n=[],H0=0;function Y0(M0){V0(M0,--H0===0)}function V0(M0,v0){var L$;if(M0&&(!$0||$0.code==="ERR_STREAM_PREMATURE_CLOSE"))$0=M0;if(!$0&&!v0)return;while(n.length)n.shift()($0);if((L$=A0)===null||L$===void 0||L$[O](),Q0.abort(),v0){if(!$0)J0.forEach((p0)=>p0());G.nextTick(U0,$0,c)}}let N0;for(let M0=0;M0<r.length;M0++){let v0=r[M0],L$=M0<r.length-1,p0=M0>0,c0=L$||(z0===null||z0===void 0?void 0:z0.end)!==!1,i$=M0===r.length-1;if(F0(v0)){let b0=function(h0){if(h0&&h0.name!=="AbortError"&&h0.code!=="ERR_STREAM_PREMATURE_CLOSE")Y0(h0)};var I0=b0;if(c0){let{destroy:h0,cleanup:QU}=F(v0,L$,p0);if(n.push(h0),d(v0)&&i$)J0.push(QU)}if(v0.on("error",b0),d(v0)&&i$)J0.push(()=>{v0.removeListener("error",b0)})}if(M0===0)if(typeof v0==="function"){if(N0=v0({signal:s}),!p(N0))throw new v("Iterable, AsyncIterable or Stream","source",N0)}else if(p(v0)||a(v0)||L0(v0))N0=v0;else N0=_.from(v0);else if(typeof v0==="function"){if(L0(N0)){var K0;N0=S((K0=N0)===null||K0===void 0?void 0:K0.readable)}else N0=S(N0);if(N0=v0(N0,{signal:s}),L$){if(!p(N0,!0))throw new v("AsyncIterable",`transform[${M0-1}]`,N0)}else{var U$;if(!D)D=R_();let b0=new D({objectMode:!0}),h0=(U$=N0)===null||U$===void 0?void 0:U$.then;if(typeof h0==="function")H0++,h0.call(N0,(o0)=>{if(c=o0,o0!=null)b0.write(o0);if(c0)b0.end();G.nextTick(Y0)},(o0)=>{b0.destroy(o0),G.nextTick(Y0,o0)});else if(p(N0,!0))H0++,Z(N0,b0,Y0,{end:c0});else if(t(N0)||L0(N0)){let o0=N0.readable||N0;H0++,Z(o0,b0,Y0,{end:c0})}else throw new v("AsyncIterable or Promise","destination",N0);N0=b0;let{destroy:QU,cleanup:r0}=F(N0,!1,!0);if(n.push(QU),i$)J0.push(r0)}}else if(F0(v0)){if(a(N0)){H0+=2;let b0=h(N0,v0,Y0,{end:c0});if(d(v0)&&i$)J0.push(b0)}else if(L0(N0)||t(N0)){let b0=N0.readable||N0;H0++,Z(b0,v0,Y0,{end:c0})}else if(p(N0))H0++,Z(N0,v0,Y0,{end:c0});else throw new P("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N0);N0=v0}else if(E0(v0)){if(a(N0))H0++,C(S(N0),v0,Y0,{end:c0});else if(t(N0)||p(N0))H0++,C(N0,v0,Y0,{end:c0});else if(L0(N0))H0++,C(N0.readable,v0,Y0,{end:c0});else throw new P("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N0);N0=v0}else N0=_.from(v0)}if(s!==null&&s!==void 0&&s.aborted||e!==null&&e!==void 0&&e.aborted)G.nextTick(O0);return N0}function h(r,U0,z0,{end:Q0}){let s=!1;if(U0.on("close",()=>{if(!s)z0(new w)}),r.pipe(U0,{end:!1}),Q0){let J0=function(){s=!0,U0.end()};var e=J0;if(C0(r))G.nextTick(J0);else r.once("end",J0)}else z0();return L(r,{readable:!0,writable:!1},(J0)=>{let O0=r._readableState;if(J0&&J0.code==="ERR_STREAM_PREMATURE_CLOSE"&&O0&&O0.ended&&!O0.errored&&!O0.errorEmitted)r.once("end",z0).once("error",z0);else z0(J0)}),L(U0,{readable:!1,writable:!0},z0)}J.exports={pipelineImpl:B,pipeline:x}}),P_=XU((I,J)=>{var{pipeline:G}=UF(),K=YI(),{destroyer:X}=_Q(),{isNodeStream:z,isReadable:O,isWritable:L,isWebStream:j,isTransformStream:E,isWritableStream:_,isReadableStream:q}=GI(),{AbortError:P,codes:{ERR_INVALID_ARG_VALUE:v,ERR_MISSING_ARGS:N}}=x6(),y=UX();J.exports=function(...w){if(w.length===0)throw new N("streams");if(w.length===1)return K.from(w[0]);let b=[...w];if(typeof w[0]==="function")w[0]=K.from(w[0]);if(typeof w[w.length-1]==="function"){let Y=w.length-1;w[Y]=K.from(w[Y])}for(let Y=0;Y<w.length;++Y){if(!z(w[Y])&&!j(w[Y]))continue;if(Y<w.length-1&&!(O(w[Y])||q(w[Y])||E(w[Y])))throw new v(`streams[${Y}]`,b[Y],"must be readable");if(Y>0&&!(L(w[Y])||_(w[Y])||E(w[Y])))throw new v(`streams[${Y}]`,b[Y],"must be writable")}let g,u,p,d,a;function F0(Y){let D=d;if(d=null,D)D(Y);else if(Y)a.destroy(Y);else if(!C0&&!t)a.destroy()}let L0=w[0],E0=G(w,F0),t=!!(L(L0)||_(L0)||E(L0)),C0=!!(O(E0)||q(E0)||E(E0));if(a=new K({writableObjectMode:!!(L0!==null&&L0!==void 0&&L0.writableObjectMode),readableObjectMode:!!(E0!==null&&E0!==void 0&&E0.readableObjectMode),writable:t,readable:C0}),t){if(z(L0))a._write=function(D,H,V){if(L0.write(D,H))V();else g=V},a._final=function(D){L0.end(),u=D},L0.on("drain",function(){if(g){let D=g;g=null,D()}});else if(j(L0)){let D=(E(L0)?L0.writable:L0).getWriter();a._write=async function(H,V,F){try{await D.ready,D.write(H).catch(()=>{}),F()}catch(T){F(T)}},a._final=async function(H){try{await D.ready,D.close().catch(()=>{}),u=H}catch(V){H(V)}}}let Y=E(E0)?E0.readable:E0;y(Y,()=>{if(u){let D=u;u=null,D()}})}if(C0){if(z(E0))E0.on("readable",function(){if(p){let Y=p;p=null,Y()}}),E0.on("end",function(){a.push(null)}),a._read=function(){while(!0){let Y=E0.read();if(Y===null){p=a._read;return}if(!a.push(Y))return}};else if(j(E0)){let Y=(E(E0)?E0.readable:E0).getReader();a._read=async function(){while(!0)try{let{value:D,done:H}=await Y.read();if(!a.push(D))return;if(H){a.push(null);return}}catch{return}}}}return a._destroy=function(Y,D){if(!Y&&d!==null)Y=new P;if(p=null,g=null,u=null,d===null)D(Y);else if(d=D,z(E0))X(E0,Y)},a}}),bx=XU((I,J)=>{var G=globalThis.AbortController||nG().AbortController,{codes:{ERR_INVALID_ARG_VALUE:K,ERR_INVALID_ARG_TYPE:X,ERR_MISSING_ARGS:z,ERR_OUT_OF_RANGE:O},AbortError:L}=x6(),{validateAbortSignal:j,validateInteger:E,validateObject:_}=oG(),q=fU().Symbol("kWeak"),P=fU().Symbol("kResistStopPropagation"),{finished:v}=UX(),N=P_(),{addAbortSignalNoValidate:y}=Zz(),{isWritable:w,isNodeStream:b}=GI(),{deprecate:g}=r6(),{ArrayPrototypePush:u,Boolean:p,MathFloor:d,Number:a,NumberIsNaN:F0,Promise:L0,PromiseReject:E0,PromiseResolve:t,PromisePrototypeThen:C0,Symbol:Y}=fU(),D=Y("kEmpty"),H=Y("kEof");function V(e,J0){if(J0!=null)_(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");if(b(e)&&!w(e))throw new K("stream",e,"must be writable");let O0=N(this,e);if(J0!==null&&J0!==void 0&&J0.signal)y(J0.signal,O0);return O0}function F(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);if(J0!=null)_(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");let O0=1;if((J0===null||J0===void 0?void 0:J0.concurrency)!=null)O0=d(J0.concurrency);let A0=O0-1;if((J0===null||J0===void 0?void 0:J0.highWaterMark)!=null)A0=d(J0.highWaterMark);return E(O0,"options.concurrency",1),E(A0,"options.highWaterMark",0),A0+=O0,async function*(){let $0=r6().AbortSignalAny([J0===null||J0===void 0?void 0:J0.signal].filter(p)),c=this,n=[],H0={signal:$0},Y0,V0,N0=!1,I0=0;function K0(){N0=!0,U$()}function U$(){I0-=1,M0()}function M0(){if(V0&&!N0&&I0<O0&&n.length<A0)V0(),V0=null}async function v0(){try{for await(let L$ of c){if(N0)return;if($0.aborted)throw new L;try{if(L$=e(L$,H0),L$===D)continue;L$=t(L$)}catch(p0){L$=E0(p0)}if(I0+=1,C0(L$,U$,K0),n.push(L$),Y0)Y0(),Y0=null;if(!N0&&(n.length>=A0||I0>=O0))await new L0((p0)=>{V0=p0})}n.push(H)}catch(L$){let p0=E0(L$);C0(p0,U$,K0),n.push(p0)}finally{if(N0=!0,Y0)Y0(),Y0=null}}v0();try{while(!0){while(n.length>0){let L$=await n[0];if(L$===H)return;if($0.aborted)throw new L;if(L$!==D)yield L$;n.shift(),M0()}await new L0((L$)=>{Y0=L$})}}finally{if(N0=!0,V0)V0(),V0=null}}.call(this)}function T(e=void 0){if(e!=null)_(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)j(e.signal,"options.signal");return async function*(){let J0=0;for await(let A0 of this){var O0;if(e!==null&&e!==void 0&&(O0=e.signal)!==null&&O0!==void 0&&O0.aborted)throw new L({cause:e.signal.reason});yield[J0++,A0]}}.call(this)}async function S(e,J0=void 0){for await(let O0 of x.call(this,e,J0))return!0;return!1}async function A(e,J0=void 0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);return!await S.call(this,async(...O0)=>{return!await e(...O0)},J0)}async function Z(e,J0){for await(let O0 of x.call(this,e,J0))return O0;return}async function C(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function O0(A0,$0){return await e(A0,$0),D}for await(let A0 of F.call(this,O0,J0));}function x(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function O0(A0,$0){if(await e(A0,$0))return A0;return D}return F.call(this,O0,J0)}class B extends z{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function h(e,J0,O0){var A0;if(typeof e!=="function")throw new X("reducer",["Function","AsyncFunction"],e);if(O0!=null)_(O0,"options");if((O0===null||O0===void 0?void 0:O0.signal)!=null)j(O0.signal,"options.signal");let $0=arguments.length>1;if(O0!==null&&O0!==void 0&&(A0=O0.signal)!==null&&A0!==void 0&&A0.aborted){let V0=new L(void 0,{cause:O0.signal.reason});throw this.once("error",()=>{}),await v(this.destroy(V0)),V0}let c=new G,n=c.signal;if(O0!==null&&O0!==void 0&&O0.signal){let V0={once:!0,[q]:this,[P]:!0};O0.signal.addEventListener("abort",()=>c.abort(),V0)}let H0=!1;try{for await(let V0 of this){var Y0;if(H0=!0,O0!==null&&O0!==void 0&&(Y0=O0.signal)!==null&&Y0!==void 0&&Y0.aborted)throw new L;if(!$0)J0=V0,$0=!0;else J0=await e(J0,V0,{signal:n})}if(!H0&&!$0)throw new B}finally{c.abort()}return J0}async function r(e){if(e!=null)_(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)j(e.signal,"options.signal");let J0=[];for await(let A0 of this){var O0;if(e!==null&&e!==void 0&&(O0=e.signal)!==null&&O0!==void 0&&O0.aborted)throw new L(void 0,{cause:e.signal.reason});u(J0,A0)}return J0}function U0(e,J0){let O0=F.call(this,e,J0);return async function*(){for await(let A0 of O0)yield*A0}.call(this)}function z0(e){if(e=a(e),F0(e))return 0;if(e<0)throw new O("number",">= 0",e);return e}function Q0(e,J0=void 0){if(J0!=null)_(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");return e=z0(e),async function*(){var O0;if(J0!==null&&J0!==void 0&&(O0=J0.signal)!==null&&O0!==void 0&&O0.aborted)throw new L;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new L;if(e--<=0)yield $0}}.call(this)}function s(e,J0=void 0){if(J0!=null)_(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");return e=z0(e),async function*(){var O0;if(J0!==null&&J0!==void 0&&(O0=J0.signal)!==null&&O0!==void 0&&O0.aborted)throw new L;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new L;if(e-- >0)yield $0;if(e<=0)return}}.call(this)}J.exports.streamReturningOperators={asIndexedPairs:g(T,"readable.asIndexedPairs will be removed in a future version."),drop:Q0,filter:x,flatMap:U0,map:F,take:s,compose:V},J.exports.promiseReturningOperators={every:A,forEach:C,reduce:h,toArray:r,some:S,find:Z}}),E_=XU((I,J)=>{var{ArrayPrototypePop:G,Promise:K}=fU(),{isIterable:X,isNodeStream:z,isWebStream:O}=GI(),{pipelineImpl:L}=UF(),{finished:j}=UX();__();function E(..._){return new K((q,P)=>{let v,N,y=_[_.length-1];if(y&&typeof y==="object"&&!z(y)&&!X(y)&&!O(y)){let w=G(_);v=w.signal,N=w.end}L(_,(w,b)=>{if(w)P(w);else q(b)},{signal:v,end:N})})}J.exports={finished:j,pipeline:E}}),__=XU((I,J)=>{var{Buffer:G}=(oU(),j$(nU)),{ObjectDefineProperty:K,ObjectKeys:X,ReflectApply:z}=fU(),{promisify:{custom:O}}=r6(),{streamReturningOperators:L,promiseReturningOperators:j}=bx(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:E}}=x6(),_=P_(),{setDefaultHighWaterMark:q,getDefaultHighWaterMark:P}=zz(),{pipeline:v}=UF(),{destroyer:N}=_Q(),y=UX(),w=E_(),b=GI(),g=J.exports=eW().Stream;g.isDestroyed=b.isDestroyed,g.isDisturbed=b.isDisturbed,g.isErrored=b.isErrored,g.isReadable=b.isReadable,g.isWritable=b.isWritable,g.Readable=Kz();for(let p of X(L)){let d=function(...F0){if(new.target)throw E();return g.Readable.from(z(a,this,F0))},a=L[p];K(d,"name",{__proto__:null,value:a.name}),K(d,"length",{__proto__:null,value:a.length}),K(g.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}for(let p of X(j)){let d=function(...F0){if(new.target)throw E();return z(a,this,F0)},a=j[p];K(d,"name",{__proto__:null,value:a.name}),K(d,"length",{__proto__:null,value:a.length}),K(g.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}g.Writable=$F(),g.Duplex=YI(),g.Transform=T_(),g.PassThrough=R_(),g.pipeline=v;var{addAbortSignal:u}=Zz();g.addAbortSignal=u,g.finished=y,g.destroy=N,g.compose=_,g.setDefaultHighWaterMark=q,g.getDefaultHighWaterMark=P,K(g,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return w}}),K(v,O,{__proto__:null,enumerable:!0,get(){return w.pipeline}}),K(y,O,{__proto__:null,enumerable:!0,get(){return w.finished}}),g.Stream=g,g._isUint8Array=function(p){return p instanceof Uint8Array},g._uint8ArrayToBuffer=function(p){return G.from(p.buffer,p.byteOffset,p.byteLength)}}),hx=XU((I,J)=>{var G=SQ();{let K=__(),X=E_(),z=K.Readable.destroy;J.exports=K.Readable,J.exports._uint8ArrayToBuffer=K._uint8ArrayToBuffer,J.exports._isUint8Array=K._isUint8Array,J.exports.isDisturbed=K.isDisturbed,J.exports.isErrored=K.isErrored,J.exports.isReadable=K.isReadable,J.exports.Readable=K.Readable,J.exports.Writable=K.Writable,J.exports.Duplex=K.Duplex,J.exports.Transform=K.Transform,J.exports.PassThrough=K.PassThrough,J.exports.addAbortSignal=K.addAbortSignal,J.exports.finished=K.finished,J.exports.destroy=K.destroy,J.exports.destroy=z,J.exports.pipeline=K.pipeline,J.exports.compose=K.compose,Object.defineProperty(K,"promises",{configurable:!0,enumerable:!0,get(){return X}}),J.exports.Stream=K.Stream}J.exports.default=J.exports});S_.exports=hx()});var H4={};g6(H4,{webcrypto:()=>Vy,rng:()=>Ef,randomUUID:()=>jQ,randomFillSync:()=>Qy,randomFill:()=>Jy,randomBytes:()=>_f,publicEncrypt:()=>$y,publicDecrypt:()=>Iy,pseudoRandomBytes:()=>Pf,prng:()=>Rf,privateEncrypt:()=>Uy,privateDecrypt:()=>Xy,pbkdf2Sync:()=>kf,pbkdf2:()=>Nf,listCiphers:()=>pf,getRandomValues:()=>Zy,getHashes:()=>Bf,getDiffieHellman:()=>df,getCurves:()=>Ky,getCiphers:()=>cf,default:()=>Dy,createVerify:()=>af,createSign:()=>rf,createHmac:()=>vf,createHash:()=>F4,createECDH:()=>ef,createDiffieHellmanGroup:()=>lf,createDiffieHellman:()=>nf,createDecipheriv:()=>hf,createDecipher:()=>uf,createCredentials:()=>Yy,createCipheriv:()=>ff,createCipher:()=>xf,constants:()=>Gy,Verify:()=>sf,Sign:()=>tf,Hmac:()=>jf,Hash:()=>Sf,DiffieHellmanGroup:()=>mf,DiffieHellman:()=>of,Decipheriv:()=>bf,Decipher:()=>yf,DEFAULT_ENCODING:()=>Oy,Cipheriv:()=>wf,Cipher:()=>gf});function Ky(){return zy}var cx,px,j_,mx,lx,dx=(I,J,G)=>{G=I!=null?cx(px(I)):{};let K=J||!I||!I.__esModule?j_(G,"default",{value:I,enumerable:!0}):G;for(let X of mx(I))if(!lx.call(K,X))j_(K,X,{get:()=>I[X],enumerable:!0});return K},u0=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),Vz,Dz,B_,nx,XF,JF,w6,ox,rG,N_,ix,rx,tx,ax,k_,sx,ex,$w,Uw,Iw,Xw,Jw,Qw,Yw,Gw,tG,Wz,g_,Ow,x_,w_,Zw,aG,QF,YF,zw,f_,GF,Kw,y_,Vw,u_,b_,Dw,Ww,Fw,Hw,Lw,Mw,Aw,qw,Cw,Tw,Rw,Pw,Ew,_w,OF,h_,Sw,c_,jw,vw,Bw,Nw,OI,IX,p_,w4,m_,Fz,kw,W4,gw,xw,ww,l_,S1,sG,d_,fw,n_,yw,o_,uw,bw,hw,cw,ZF,pw,zF,mw,lw,dw,nw,ow,iw,rw,tw,aw,sw,ew,$f,Uf,If,v_,Xf,iG,Jf,i_,r_,Qf,Yf,t_,Gf,Of,eG,Zf,zf,Kf,Vf,Df,Wf,a_,Ff,s_,e_,$S,KF,US,Hf,IS,Lf,Mf,IF,Af,qf,Cf,Tf,h$,Rf,Pf,Ef,_f,Sf,F4,jf,vf,Bf,Nf,kf,gf,xf,wf,ff,yf,uf,bf,hf,cf,pf,mf,lf,df,nf,of,rf,tf,af,sf,ef,$y,Uy,Iy,Xy,Jy,Qy,Yy,Gy,Oy="buffer",Zy=(I)=>{return crypto.getRandomValues(I)},jQ=()=>{return crypto.randomUUID()},zy,Vy,Dy;var yU=HQ(()=>{cx=Object.create,{getPrototypeOf:px,defineProperty:j_,getOwnPropertyNames:mx}=Object,lx=Object.prototype.hasOwnProperty,Vz=u0((I,J)=>{J.exports=(yU(),j$(H4)).randomBytes}),Dz=u0((I,J)=>{J.exports=(yU(),j$(H4)).createHash}),B_=u0((I,J)=>{J.exports=(yU(),j$(H4)).createHmac}),nx=u0((I,J)=>{J.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}),XF=u0((I,J)=>{var G=isFinite,K=Math.pow(2,30)-1;J.exports=function(X,z){if(typeof X!=="number")throw TypeError("Iterations not a number");if(X<0||!G(X))throw TypeError("Bad iterations");if(typeof z!=="number")throw TypeError("Key length not a number");if(z<0||z>K||z!==z)throw TypeError("Bad key length")}}),JF=u0((I,J)=>{var G;if(globalThis.process&&globalThis.process.browser)G="utf-8";else if(globalThis.process&&globalThis.process.version)K=parseInt(process.version.split(".")[0].slice(1),10),G=K>=6?"utf-8":"binary";else G="utf-8";var K;J.exports=G}),w6=u0((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var G=(oU(),j$(nU)),K=G.Buffer;function X(O,L){for(var j in O)L[j]=O[j]}if(K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow)J.exports=G;else X(G,I),I.Buffer=z;function z(O,L,j){return K(O,L,j)}z.prototype=Object.create(K.prototype),X(K,z),z.from=function(O,L,j){if(typeof O==="number")throw TypeError("Argument must not be a number");return K(O,L,j)},z.alloc=function(O,L,j){if(typeof O!=="number")throw TypeError("Argument must be a number");var E=K(O);if(L!==void 0)if(typeof j==="string")E.fill(L,j);else E.fill(L);else E.fill(0);return E},z.allocUnsafe=function(O){if(typeof O!=="number")throw TypeError("Argument must be a number");return K(O)},z.allocUnsafeSlow=function(O){if(typeof O!=="number")throw TypeError("Argument must be a number");return G.SlowBuffer(O)}}),ox=u0((I,J)=>{var G={}.toString;J.exports=Array.isArray||function(K){return G.call(K)=="[object Array]"}}),rG=u0((I,J)=>{J.exports=TypeError}),N_=u0((I,J)=>{J.exports=Object}),ix=u0((I,J)=>{J.exports=Error}),rx=u0((I,J)=>{J.exports=EvalError}),tx=u0((I,J)=>{J.exports=RangeError}),ax=u0((I,J)=>{J.exports=ReferenceError}),k_=u0((I,J)=>{J.exports=SyntaxError}),sx=u0((I,J)=>{J.exports=URIError}),ex=u0((I,J)=>{J.exports=Math.abs}),$w=u0((I,J)=>{J.exports=Math.floor}),Uw=u0((I,J)=>{J.exports=Math.max}),Iw=u0((I,J)=>{J.exports=Math.min}),Xw=u0((I,J)=>{J.exports=Math.pow}),Jw=u0((I,J)=>{J.exports=Math.round}),Qw=u0((I,J)=>{J.exports=Number.isNaN||function(G){return G!==G}}),Yw=u0((I,J)=>{var G=Qw();J.exports=function(K){if(G(K)||K===0)return K;return K<0?-1:1}}),Gw=u0((I,J)=>{J.exports=Object.getOwnPropertyDescriptor}),tG=u0((I,J)=>{var G=Gw();if(G)try{G([],"length")}catch(K){G=null}J.exports=G}),Wz=u0((I,J)=>{var G=Object.defineProperty||!1;if(G)try{G({},"a",{value:1})}catch(K){G=!1}J.exports=G}),g_=u0((I,J)=>{J.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var G={},K=Symbol("test"),X=Object(K);if(typeof K==="string")return!1;if(Object.prototype.toString.call(K)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(X)!=="[object Symbol]")return!1;var z=42;G[K]=z;for(var O in G)return!1;if(typeof Object.keys==="function"&&Object.keys(G).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(G).length!==0)return!1;var L=Object.getOwnPropertySymbols(G);if(L.length!==1||L[0]!==K)return!1;if(!Object.prototype.propertyIsEnumerable.call(G,K))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var j=Object.getOwnPropertyDescriptor(G,K);if(j.value!==z||j.enumerable!==!0)return!1}return!0}}),Ow=u0((I,J)=>{var G=typeof Symbol<"u"&&Symbol,K=g_();J.exports=function(){if(typeof G!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof G("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return K()}}),x_=u0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),w_=u0((I,J)=>{var G=N_();J.exports=G.getPrototypeOf||null}),Zw=u0((I,J)=>{var G="Function.prototype.bind called on incompatible ",K=Object.prototype.toString,X=Math.max,z="[object Function]",O=function(E,_){var q=[];for(var P=0;P<E.length;P+=1)q[P]=E[P];for(var v=0;v<_.length;v+=1)q[v+E.length]=_[v];return q},L=function(E,_){var q=[];for(var P=_||0,v=0;P<E.length;P+=1,v+=1)q[v]=E[P];return q},j=function(E,_){var q="";for(var P=0;P<E.length;P+=1)if(q+=E[P],P+1<E.length)q+=_;return q};J.exports=function(E){var _=this;if(typeof _!=="function"||K.apply(_)!==z)throw TypeError(G+_);var q=L(arguments,1),P,v=function(){if(this instanceof P){var g=_.apply(this,O(q,arguments));if(Object(g)===g)return g;return this}return _.apply(E,O(q,arguments))},N=X(0,_.length-q.length),y=[];for(var w=0;w<N;w++)y[w]="$"+w;if(P=Function("binder","return function ("+j(y,",")+"){ return binder.apply(this,arguments); }")(v),_.prototype){var b=function(){};b.prototype=_.prototype,P.prototype=new b,b.prototype=null}return P}}),aG=u0((I,J)=>{var G=Zw();J.exports=Function.prototype.bind||G}),QF=u0((I,J)=>{J.exports=Function.prototype.call}),YF=u0((I,J)=>{J.exports=Function.prototype.apply}),zw=u0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),f_=u0((I,J)=>{var G=aG(),K=YF(),X=QF(),z=zw();J.exports=z||G.call(X,K)}),GF=u0((I,J)=>{var G=aG(),K=rG(),X=QF(),z=f_();J.exports=function(O){if(O.length<1||typeof O[0]!=="function")throw new K("a function is required");return z(G,X,O)}}),Kw=u0((I,J)=>{var G=GF(),K=tG(),X;try{X=[].__proto__===Array.prototype}catch(j){if(!j||typeof j!=="object"||!("code"in j)||j.code!=="ERR_PROTO_ACCESS")throw j}var z=!!X&&K&&K(Object.prototype,"__proto__"),O=Object,L=O.getPrototypeOf;J.exports=z&&typeof z.get==="function"?G([z.get]):typeof L==="function"?function(j){return L(j==null?j:O(j))}:!1}),y_=u0((I,J)=>{var G=x_(),K=w_(),X=Kw();J.exports=G?function(z){return G(z)}:K?function(z){if(!z||typeof z!=="object"&&typeof z!=="function")throw TypeError("getProto: not an object");return K(z)}:X?function(z){return X(z)}:null}),Vw=u0((I,J)=>{var G=Function.prototype.call,K=Object.prototype.hasOwnProperty,X=aG();J.exports=X.call(G,K)}),u_=u0((I,J)=>{var G,K=N_(),X=ix(),z=rx(),O=tx(),L=ax(),j=k_(),E=rG(),_=sx(),q=ex(),P=$w(),v=Uw(),N=Iw(),y=Xw(),w=Jw(),b=Yw(),g=Function,u=function(J0){try{return g('"use strict"; return ('+J0+").constructor;")()}catch(O0){}},p=tG(),d=Wz(),a=function(){throw new E},F0=p?function(){try{return arguments.callee,a}catch(J0){try{return p(arguments,"callee").get}catch(O0){return a}}}():a,L0=Ow()(),E0=y_(),t=w_(),C0=x_(),Y=YF(),D=QF(),H={},V=typeof Uint8Array>"u"||!E0?G:E0(Uint8Array),F={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?G:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?G:ArrayBuffer,"%ArrayIteratorPrototype%":L0&&E0?E0([][Symbol.iterator]()):G,"%AsyncFromSyncIteratorPrototype%":G,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?G:Atomics,"%BigInt%":typeof BigInt>"u"?G:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?G:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?G:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?G:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":X,"%eval%":eval,"%EvalError%":z,"%Float16Array%":typeof Float16Array>"u"?G:Float16Array,"%Float32Array%":typeof Float32Array>"u"?G:Float32Array,"%Float64Array%":typeof Float64Array>"u"?G:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?G:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?G:Int8Array,"%Int16Array%":typeof Int16Array>"u"?G:Int16Array,"%Int32Array%":typeof Int32Array>"u"?G:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L0&&E0?E0(E0([][Symbol.iterator]())):G,"%JSON%":typeof JSON==="object"?JSON:G,"%Map%":typeof Map>"u"?G:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L0||!E0?G:E0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":K,"%Object.getOwnPropertyDescriptor%":p,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?G:Promise,"%Proxy%":typeof Proxy>"u"?G:Proxy,"%RangeError%":O,"%ReferenceError%":L,"%Reflect%":typeof Reflect>"u"?G:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?G:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L0||!E0?G:E0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?G:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L0&&E0?E0(""[Symbol.iterator]()):G,"%Symbol%":L0?Symbol:G,"%SyntaxError%":j,"%ThrowTypeError%":F0,"%TypedArray%":V,"%TypeError%":E,"%Uint8Array%":typeof Uint8Array>"u"?G:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?G:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?G:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?G:Uint32Array,"%URIError%":_,"%WeakMap%":typeof WeakMap>"u"?G:WeakMap,"%WeakRef%":typeof WeakRef>"u"?G:WeakRef,"%WeakSet%":typeof WeakSet>"u"?G:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":Y,"%Object.defineProperty%":d,"%Object.getPrototypeOf%":t,"%Math.abs%":q,"%Math.floor%":P,"%Math.max%":v,"%Math.min%":N,"%Math.pow%":y,"%Math.round%":w,"%Math.sign%":b,"%Reflect.getPrototypeOf%":C0};if(E0)try{null.error}catch(J0){T=E0(E0(J0)),F["%Error.prototype%"]=T}var T,S=function J0(O0){var A0;if(O0==="%AsyncFunction%")A0=u("async function () {}");else if(O0==="%GeneratorFunction%")A0=u("function* () {}");else if(O0==="%AsyncGeneratorFunction%")A0=u("async function* () {}");else if(O0==="%AsyncGenerator%"){var $0=J0("%AsyncGeneratorFunction%");if($0)A0=$0.prototype}else if(O0==="%AsyncIteratorPrototype%"){var c=J0("%AsyncGenerator%");if(c&&E0)A0=E0(c.prototype)}return F[O0]=A0,A0},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Z=aG(),C=Vw(),x=Z.call(D,Array.prototype.concat),B=Z.call(Y,Array.prototype.splice),h=Z.call(D,String.prototype.replace),r=Z.call(D,String.prototype.slice),U0=Z.call(D,RegExp.prototype.exec),z0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Q0=/\\(\\)?/g,s=function(J0){var O0=r(J0,0,1),A0=r(J0,-1);if(O0==="%"&&A0!=="%")throw new j("invalid intrinsic syntax, expected closing `%`");else if(A0==="%"&&O0!=="%")throw new j("invalid intrinsic syntax, expected opening `%`");var $0=[];return h(J0,z0,function(c,n,H0,Y0){$0[$0.length]=H0?h(Y0,Q0,"$1"):n||c}),$0},e=function(J0,O0){var A0=J0,$0;if(C(A,A0))$0=A[A0],A0="%"+$0[0]+"%";if(C(F,A0)){var c=F[A0];if(c===H)c=S(A0);if(typeof c>"u"&&!O0)throw new E("intrinsic "+J0+" exists, but is not available. Please file an issue!");return{alias:$0,name:A0,value:c}}throw new j("intrinsic "+J0+" does not exist!")};J.exports=function(J0,O0){if(typeof J0!=="string"||J0.length===0)throw new E("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof O0!=="boolean")throw new E('"allowMissing" argument must be a boolean');if(U0(/^%?[^%]*%?$/,J0)===null)throw new j("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A0=s(J0),$0=A0.length>0?A0[0]:"",c=e("%"+$0+"%",O0),n=c.name,H0=c.value,Y0=!1,V0=c.alias;if(V0)$0=V0[0],B(A0,x([0,1],V0));for(var N0=1,I0=!0;N0<A0.length;N0+=1){var K0=A0[N0],U$=r(K0,0,1),M0=r(K0,-1);if((U$==='"'||U$==="'"||U$==="`"||(M0==='"'||M0==="'"||M0==="`"))&&U$!==M0)throw new j("property names with quotes must have matching quotes");if(K0==="constructor"||!I0)Y0=!0;if($0+="."+K0,n="%"+$0+"%",C(F,n))H0=F[n];else if(H0!=null){if(!(K0 in H0)){if(!O0)throw new E("base intrinsic for "+J0+" exists, but the property is not available.");return}if(p&&N0+1>=A0.length){var v0=p(H0,K0);if(I0=!!v0,I0&&"get"in v0&&!("originalValue"in v0.get))H0=v0.get;else H0=H0[K0]}else I0=C(H0,K0),H0=H0[K0];if(I0&&!Y0)F[n]=H0}}return H0}}),b_=u0((I,J)=>{var G=u_(),K=GF(),X=K([G("%String.prototype.indexOf%")]);J.exports=function(z,O){var L=G(z,!!O);if(typeof L==="function"&&X(z,".prototype.")>-1)return K([L]);return L}}),Dw=u0((I,J)=>{var G=Function.prototype.toString,K=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,X,z;if(typeof K==="function"&&typeof Object.defineProperty==="function")try{X=Object.defineProperty({},"length",{get:function(){throw z}}),z={},K(function(){throw 42},null,X)}catch(p){if(p!==z)K=null}else K=null;var O=/^\s*class\b/,L=function(p){try{var d=G.call(p);return O.test(d)}catch(a){return!1}},j=function(p){try{if(L(p))return!1;return G.call(p),!0}catch(d){return!1}},E=Object.prototype.toString,_="[object Object]",q="[object Function]",P="[object GeneratorFunction]",v="[object HTMLAllCollection]",N="[object HTML document.all class]",y="[object HTMLCollection]",w=typeof Symbol==="function"&&!!Symbol.toStringTag,b=!(0 in[,]),g=function(){return!1};if(typeof document==="object"){if(u=document.all,E.call(u)===E.call(document.all))g=function(p){if((b||!p)&&(typeof p>"u"||typeof p==="object"))try{var d=E.call(p);return(d===v||d===N||d===y||d===_)&&p("")==null}catch(a){}return!1}}var u;J.exports=K?function(p){if(g(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;try{K(p,null,X)}catch(d){if(d!==z)return!1}return!L(p)&&j(p)}:function(p){if(g(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;if(w)return j(p);if(L(p))return!1;var d=E.call(p);if(d!==q&&d!==P&&!/^\[object HTML/.test(d))return!1;return j(p)}}),Ww=u0((I,J)=>{var G=Dw(),K=Object.prototype.toString,X=Object.prototype.hasOwnProperty,z=function(E,_,q){for(var P=0,v=E.length;P<v;P++)if(X.call(E,P))if(q==null)_(E[P],P,E);else _.call(q,E[P],P,E)},O=function(E,_,q){for(var P=0,v=E.length;P<v;P++)if(q==null)_(E.charAt(P),P,E);else _.call(q,E.charAt(P),P,E)},L=function(E,_,q){for(var P in E)if(X.call(E,P))if(q==null)_(E[P],P,E);else _.call(q,E[P],P,E)};function j(E){return K.call(E)==="[object Array]"}J.exports=function(E,_,q){if(!G(_))throw TypeError("iterator must be a function");var P;if(arguments.length>=3)P=q;if(j(E))z(E,_,P);else if(typeof E==="string")O(E,_,P);else L(E,_,P)}}),Fw=u0((I,J)=>{J.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),Hw=u0((I,J)=>{var G=Fw(),K=typeof globalThis>"u"?globalThis:globalThis;J.exports=function(){var X=[];for(var z=0;z<G.length;z++)if(typeof K[G[z]]==="function")X[X.length]=G[z];return X}}),Lw=u0((I,J)=>{var G=Wz(),K=k_(),X=rG(),z=tG();J.exports=function(O,L,j){if(!O||typeof O!=="object"&&typeof O!=="function")throw new X("`obj` must be an object or a function`");if(typeof L!=="string"&&typeof L!=="symbol")throw new X("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null)throw new X("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null)throw new X("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null)throw new X("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=="boolean")throw new X("`loose`, if provided, must be a boolean");var E=arguments.length>3?arguments[3]:null,_=arguments.length>4?arguments[4]:null,q=arguments.length>5?arguments[5]:null,P=arguments.length>6?arguments[6]:!1,v=!!z&&z(O,L);if(G)G(O,L,{configurable:q===null&&v?v.configurable:!q,enumerable:E===null&&v?v.enumerable:!E,value:j,writable:_===null&&v?v.writable:!_});else if(P||!E&&!_&&!q)O[L]=j;else throw new K("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),Mw=u0((I,J)=>{var G=Wz(),K=function(){return!!G};K.hasArrayLengthDefineBug=function(){if(!G)return null;try{return G([],"length",{value:1}).length!==1}catch(X){return!0}},J.exports=K}),Aw=u0((I,J)=>{var G=u_(),K=Lw(),X=Mw()(),z=tG(),O=rG(),L=G("%Math.floor%");J.exports=function(j,E){if(typeof j!=="function")throw new O("`fn` is not a function");if(typeof E!=="number"||E<0||E>4294967295||L(E)!==E)throw new O("`length` must be a positive 32-bit integer");var _=arguments.length>2&&!!arguments[2],q=!0,P=!0;if("length"in j&&z){var v=z(j,"length");if(v&&!v.configurable)q=!1;if(v&&!v.writable)P=!1}if(q||P||!_)if(X)K(j,"length",E,!0,!0);else K(j,"length",E);return j}}),qw=u0((I,J)=>{var G=aG(),K=YF(),X=f_();J.exports=function(){return X(G,K,arguments)}}),Cw=u0((I,J)=>{var G=Aw(),K=Wz(),X=GF(),z=qw();if(J.exports=function(O){var L=X(arguments),j=O.length-(arguments.length-1);return G(L,1+(j>0?j:0),!0)},K)K(J.exports,"apply",{value:z});else J.exports.apply=z}),Tw=u0((I,J)=>{var G=g_();J.exports=function(){return G()&&!!Symbol.toStringTag}}),Rw=u0((I,J)=>{var G=Ww(),K=Hw(),X=Cw(),z=b_(),O=tG(),L=y_(),j=z("Object.prototype.toString"),E=Tw()(),_=typeof globalThis>"u"?globalThis:globalThis,q=K(),P=z("String.prototype.slice"),v=z("Array.prototype.indexOf",!0)||function(b,g){for(var u=0;u<b.length;u+=1)if(b[u]===g)return u;return-1},N={__proto__:null};if(E&&O&&L)G(q,function(b){var g=new _[b];if(Symbol.toStringTag in g&&L){var u=L(g),p=O(u,Symbol.toStringTag);if(!p&&u){var d=L(u);p=O(d,Symbol.toStringTag)}N["$"+b]=X(p.get)}});else G(q,function(b){var g=new _[b],u=g.slice||g.set;if(u)N["$"+b]=X(u)});var y=function(b){var g=!1;return G(N,function(u,p){if(!g)try{if("$"+u(b)===p)g=P(p,1)}catch(d){}}),g},w=function(b){var g=!1;return G(N,function(u,p){if(!g)try{u(b),g=P(p,1)}catch(d){}}),g};J.exports=function(b){if(!b||typeof b!=="object")return!1;if(!E){var g=P(j(b),8,-1);if(v(q,g)>-1)return g;if(g!=="Object")return!1;return w(b)}if(!O)return null;return y(b)}}),Pw=u0((I,J)=>{var G=Rw();J.exports=function(K){return!!G(K)}}),Ew=u0((I,J)=>{var G=rG(),K=b_(),X=K("TypedArray.prototype.buffer",!0),z=Pw();J.exports=X||function(O){if(!z(O))throw new G("Not a Typed Array");return O.buffer}}),_w=u0((I,J)=>{var G=w6().Buffer,K=ox(),X=Ew(),z=ArrayBuffer.isView||function(E){try{return X(E),!0}catch(_){return!1}},O=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",j=L&&(G.prototype instanceof Uint8Array||G.TYPED_ARRAY_SUPPORT);J.exports=function(E,_){if(G.isBuffer(E)){if(E.constructor&&!("isBuffer"in E))return G.from(E);return E}if(typeof E==="string")return G.from(E,_);if(L&&z(E)){if(E.byteLength===0)return G.alloc(0);if(j){var q=G.from(E.buffer,E.byteOffset,E.byteLength);if(q.byteLength===E.byteLength)return q}var P=E instanceof Uint8Array?E:new Uint8Array(E.buffer,E.byteOffset,E.byteLength),v=G.from(P);if(v.length===E.byteLength)return v}if(O&&E instanceof Uint8Array)return G.from(E);var N=K(E);if(N)for(var y=0;y<E.length;y+=1){var w=E[y];if(typeof w!=="number"||w<0||w>255||~~w!==w)throw RangeError("Array items must be numbers in the range 0-255.")}if(N||G.isBuffer(E)&&E.constructor&&typeof E.constructor.isBuffer==="function"&&E.constructor.isBuffer(E))return G.from(E);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),OF=u0((I,J)=>{var G=w6().Buffer,K=_w(),X=typeof Uint8Array<"u",z=X&&typeof ArrayBuffer<"u",O=z&&ArrayBuffer.isView;J.exports=function(L,j,E){if(typeof L==="string"||G.isBuffer(L)||X&&L instanceof Uint8Array||O&&O(L))return K(L,j);throw TypeError(E+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),h_=u0((I,J)=>{var G={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,rmd160:20,ripemd160:20},K={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"},X=B_(),z=w6().Buffer,O=XF(),L=JF(),j=OF();function E(_,q,P,v,N){O(P,v),_=j(_,L,"Password"),q=j(q,L,"Salt");var y=(N||"sha1").toLowerCase(),w=K[y]||y,b=G[w];if(typeof b!=="number"||!b)throw TypeError("Digest algorithm not supported: "+N);var g=z.allocUnsafe(v),u=z.allocUnsafe(q.length+4);q.copy(u,0,0,q.length);var p=0,d=b,a=Math.ceil(v/d);for(var F0=1;F0<=a;F0++){u.writeUInt32BE(F0,q.length);var L0=X(w,_).update(u).digest(),E0=L0;for(var t=1;t<P;t++){E0=X(w,_).update(E0).digest();for(var C0=0;C0<d;C0++)L0[C0]^=E0[C0]}L0.copy(g,p),p+=d}return g}J.exports=E}),Sw=u0((I,J)=>{var G=w6().Buffer,K=XF(),X=JF(),z=h_(),O=OF(),L,j=globalThis.crypto&&globalThis.crypto.subtle,E={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},_=[],q;function P(){if(q)return q;if(globalThis.process&&globalThis.process.nextTick)q=globalThis.process.nextTick;else if(globalThis.queueMicrotask)q=globalThis.queueMicrotask;else if(globalThis.setImmediate)q=globalThis.setImmediate;else q=globalThis.setTimeout;return q}function v(w,b,g,u,p){return j.importKey("raw",w,{name:"PBKDF2"},!1,["deriveBits"]).then(function(d){return j.deriveBits({name:"PBKDF2",salt:b,iterations:g,hash:{name:p}},d,u<<3)}).then(function(d){return G.from(d)})}function N(w){if(globalThis.process&&!globalThis.process.browser)return Promise.resolve(!1);if(!j||!j.importKey||!j.deriveBits)return Promise.resolve(!1);if(_[w]!==void 0)return _[w];L=L||G.alloc(8);var b=v(L,L,10,128,w).then(function(){return!0},function(){return!1});return _[w]=b,b}function y(w,b){w.then(function(g){P()(function(){b(null,g)})},function(g){P()(function(){b(g)})})}J.exports=function(w,b,g,u,p,d){if(typeof p==="function")d=p,p=void 0;if(K(g,u),w=O(w,X,"Password"),b=O(b,X,"Salt"),typeof d!=="function")throw Error("No callback provided to pbkdf2");p=p||"sha1";var a=E[p.toLowerCase()];if(!a||typeof globalThis.Promise!=="function"){P()(function(){var F0;try{F0=z(w,b,g,u,p)}catch(L0){d(L0);return}d(null,F0)});return}y(N(a).then(function(F0){if(F0)return v(w,b,g,u,a);return z(w,b,g,u,p)}),d)}}),c_=u0((I)=>{var J=(yU(),j$(H4)),G=XF(),K=JF(),X=OF();function z(L,j,E,_,q,P){if(G(E,_),L=X(L,K,"Password"),j=X(j,K,"Salt"),typeof q==="function")P=q,q="sha1";if(typeof P!=="function")throw Error("No callback provided to pbkdf2");return J.pbkdf2(L,j,E,_,q,P)}function O(L,j,E,_,q){return G(E,_),L=X(L,K,"Password"),j=X(j,K,"Salt"),q=q||"sha1",J.pbkdf2Sync(L,j,E,_,q)}if(!J.pbkdf2Sync||J.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)I.pbkdf2Sync=h_(),I.pbkdf2=Sw();else I.pbkdf2Sync=O,I.pbkdf2=z}),jw=u0((I)=>{var J=(yU(),j$(H4));I.createCipher=I.Cipher=J.createCipher,I.createCipheriv=I.Cipheriv=J.createCipheriv,I.createDecipher=I.Decipher=J.createDecipher,I.createDecipheriv=I.Decipheriv=J.createDecipheriv,I.listCiphers=I.getCiphers=J.getCiphers}),vw=u0((I)=>{var J=(yU(),j$(H4));I.DiffieHellmanGroup=J.DiffieHellmanGroup,I.createDiffieHellmanGroup=J.createDiffieHellmanGroup,I.getDiffieHellman=J.getDiffieHellman,I.createDiffieHellman=J.createDiffieHellman,I.DiffieHellman=J.DiffieHellman}),Bw=u0((I)=>{var J=(yU(),j$(H4));I.createSign=J.createSign,I.Sign=J.Sign,I.createVerify=J.createVerify,I.Verify=J.Verify}),Nw=u0((I,J)=>{J.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}),OI=u0((I,J)=>{(function(G,K){function X(Y,D){if(!Y)throw Error(D||"Assertion failed")}function z(Y,D){Y.super_=D;var H=function(){};H.prototype=D.prototype,Y.prototype=new H,Y.prototype.constructor=Y}function O(Y,D,H){if(O.isBN(Y))return Y;if(this.negative=0,this.words=null,this.length=0,this.red=null,Y!==null){if(D==="le"||D==="be")H=D,D=10;this._init(Y||0,D||10,H||"be")}}if(typeof G==="object")G.exports=O;else K.BN=O;O.BN=O,O.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(Y){}O.isBN=function(Y){if(Y instanceof O)return!0;return Y!==null&&typeof Y==="object"&&Y.constructor.wordSize===O.wordSize&&Array.isArray(Y.words)},O.max=function(Y,D){if(Y.cmp(D)>0)return Y;return D},O.min=function(Y,D){if(Y.cmp(D)<0)return Y;return D},O.prototype._init=function(Y,D,H){if(typeof Y==="number")return this._initNumber(Y,D,H);if(typeof Y==="object")return this._initArray(Y,D,H);if(D==="hex")D=16;X(D===(D|0)&&D>=2&&D<=36),Y=Y.toString().replace(/\s+/g,"");var V=0;if(Y[0]==="-")V++,this.negative=1;if(V<Y.length){if(D===16)this._parseHex(Y,V,H);else if(this._parseBase(Y,D,V),H==="le")this._initArray(this.toArray(),D,H)}},O.prototype._initNumber=function(Y,D,H){if(Y<0)this.negative=1,Y=-Y;if(Y<67108864)this.words=[Y&67108863],this.length=1;else if(Y<4503599627370496)this.words=[Y&67108863,Y/67108864&67108863],this.length=2;else X(Y<9007199254740992),this.words=[Y&67108863,Y/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),D,H)},O.prototype._initArray=function(Y,D,H){if(X(typeof Y.length==="number"),Y.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Y.length/3),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F,T,S=0;if(H==="be"){for(V=Y.length-1,F=0;V>=0;V-=3)if(T=Y[V]|Y[V-1]<<8|Y[V-2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}else if(H==="le"){for(V=0,F=0;V<Y.length;V+=3)if(T=Y[V]|Y[V+1]<<8|Y[V+2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}return this.strip()};function j(Y,D){var H=Y.charCodeAt(D);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function E(Y,D,H){var V=j(Y,H);if(H-1>=D)V|=j(Y,H-1)<<4;return V}O.prototype._parseHex=function(Y,D,H){this.length=Math.ceil((Y.length-D)/6),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F=0,T=0,S;if(H==="be")for(V=Y.length-1;V>=D;V-=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8;else{var A=Y.length-D;for(V=A%2===0?D+1:D;V<Y.length;V+=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8}this.strip()};function _(Y,D,H,V){var F=0,T=Math.min(Y.length,H);for(var S=D;S<T;S++){var A=Y.charCodeAt(S)-48;if(F*=V,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}O.prototype._parseBase=function(Y,D,H){this.words=[0],this.length=1;for(var V=0,F=1;F<=67108863;F*=D)V++;V--,F=F/D|0;var T=Y.length-H,S=T%V,A=Math.min(T,T-S)+H,Z=0;for(var C=H;C<A;C+=V)if(Z=_(Y,C,C+V,D),this.imuln(F),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z);if(S!==0){var x=1;Z=_(Y,C,Y.length,D);for(C=0;C<S;C++)x*=D;if(this.imuln(x),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z)}this.strip()},O.prototype.copy=function(Y){Y.words=Array(this.length);for(var D=0;D<this.length;D++)Y.words[D]=this.words[D];Y.length=this.length,Y.negative=this.negative,Y.red=this.red},O.prototype.clone=function(){var Y=new O(null);return this.copy(Y),Y},O.prototype._expand=function(Y){while(this.length<Y)this.words[this.length++]=0;return this},O.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},O.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},O.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var q=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],P=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(O.prototype.toString=function(Y,D){Y=Y||10,D=D|0||1;var H;if(Y===16||Y==="hex"){H="";var V=0,F=0;for(var T=0;T<this.length;T++){var S=this.words[T],A=((S<<V|F)&16777215).toString(16);if(F=S>>>24-V&16777215,V+=2,V>=26)V-=26,T--;if(F!==0||T!==this.length-1)H=q[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(Y===(Y|0)&&Y>=2&&Y<=36){var Z=P[Y],C=v[Y];H="";var x=this.clone();x.negative=0;while(!x.isZero()){var B=x.modn(C).toString(Y);if(x=x.idivn(C),!x.isZero())H=q[Z-B.length]+B+H;else H=B+H}if(this.isZero())H="0"+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},O.prototype.toNumber=function(){var Y=this.words[0];if(this.length===2)Y+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Y+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Y:Y},O.prototype.toJSON=function(){return this.toString(16)},O.prototype.toBuffer=function(Y,D){return X(typeof L<"u"),this.toArrayLike(L,Y,D)},O.prototype.toArray=function(Y,D){return this.toArrayLike(Array,Y,D)},O.prototype.toArrayLike=function(Y,D,H){var V=this.byteLength(),F=H||Math.max(1,V);X(V<=F,"byte array longer than desired length"),X(F>0,"Requested array length <= 0"),this.strip();var T=D==="le",S=new Y(F),A,Z,C=this.clone();if(!T){for(Z=0;Z<F-V;Z++)S[Z]=0;for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[F-Z-1]=A}else{for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[Z]=A;for(;Z<F;Z++)S[Z]=0}return S},Math.clz32)O.prototype._countBits=function(Y){return 32-Math.clz32(Y)};else O.prototype._countBits=function(Y){var D=Y,H=0;if(D>=4096)H+=13,D>>>=13;if(D>=64)H+=7,D>>>=7;if(D>=8)H+=4,D>>>=4;if(D>=2)H+=2,D>>>=2;return H+D};O.prototype._zeroBits=function(Y){if(Y===0)return 26;var D=Y,H=0;if((D&8191)===0)H+=13,D>>>=13;if((D&127)===0)H+=7,D>>>=7;if((D&15)===0)H+=4,D>>>=4;if((D&3)===0)H+=2,D>>>=2;if((D&1)===0)H++;return H},O.prototype.bitLength=function(){var Y=this.words[this.length-1],D=this._countBits(Y);return(this.length-1)*26+D};function N(Y){var D=Array(Y.bitLength());for(var H=0;H<D.length;H++){var V=H/26|0,F=H%26;D[H]=(Y.words[V]&1<<F)>>>F}return D}O.prototype.zeroBits=function(){if(this.isZero())return 0;var Y=0;for(var D=0;D<this.length;D++){var H=this._zeroBits(this.words[D]);if(Y+=H,H!==26)break}return Y},O.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},O.prototype.toTwos=function(Y){if(this.negative!==0)return this.abs().inotn(Y).iaddn(1);return this.clone()},O.prototype.fromTwos=function(Y){if(this.testn(Y-1))return this.notn(Y).iaddn(1).ineg();return this.clone()},O.prototype.isNeg=function(){return this.negative!==0},O.prototype.neg=function(){return this.clone().ineg()},O.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},O.prototype.iuor=function(Y){while(this.length<Y.length)this.words[this.length++]=0;for(var D=0;D<Y.length;D++)this.words[D]=this.words[D]|Y.words[D];return this.strip()},O.prototype.ior=function(Y){return X((this.negative|Y.negative)===0),this.iuor(Y)},O.prototype.or=function(Y){if(this.length>Y.length)return this.clone().ior(Y);return Y.clone().ior(this)},O.prototype.uor=function(Y){if(this.length>Y.length)return this.clone().iuor(Y);return Y.clone().iuor(this)},O.prototype.iuand=function(Y){var D;if(this.length>Y.length)D=Y;else D=this;for(var H=0;H<D.length;H++)this.words[H]=this.words[H]&Y.words[H];return this.length=D.length,this.strip()},O.prototype.iand=function(Y){return X((this.negative|Y.negative)===0),this.iuand(Y)},O.prototype.and=function(Y){if(this.length>Y.length)return this.clone().iand(Y);return Y.clone().iand(this)},O.prototype.uand=function(Y){if(this.length>Y.length)return this.clone().iuand(Y);return Y.clone().iuand(this)},O.prototype.iuxor=function(Y){var D,H;if(this.length>Y.length)D=this,H=Y;else D=Y,H=this;for(var V=0;V<H.length;V++)this.words[V]=D.words[V]^H.words[V];if(this!==D)for(;V<D.length;V++)this.words[V]=D.words[V];return this.length=D.length,this.strip()},O.prototype.ixor=function(Y){return X((this.negative|Y.negative)===0),this.iuxor(Y)},O.prototype.xor=function(Y){if(this.length>Y.length)return this.clone().ixor(Y);return Y.clone().ixor(this)},O.prototype.uxor=function(Y){if(this.length>Y.length)return this.clone().iuxor(Y);return Y.clone().iuxor(this)},O.prototype.inotn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Math.ceil(Y/26)|0,H=Y%26;if(this._expand(D),H>0)D--;for(var V=0;V<D;V++)this.words[V]=~this.words[V]&67108863;if(H>0)this.words[V]=~this.words[V]&67108863>>26-H;return this.strip()},O.prototype.notn=function(Y){return this.clone().inotn(Y)},O.prototype.setn=function(Y,D){X(typeof Y==="number"&&Y>=0);var H=Y/26|0,V=Y%26;if(this._expand(H+1),D)this.words[H]=this.words[H]|1<<V;else this.words[H]=this.words[H]&~(1<<V);return this.strip()},O.prototype.iadd=function(Y){var D;if(this.negative!==0&&Y.negative===0)return this.negative=0,D=this.isub(Y),this.negative^=1,this._normSign();else if(this.negative===0&&Y.negative!==0)return Y.negative=0,D=this.isub(Y),Y.negative=1,D._normSign();var H,V;if(this.length>Y.length)H=this,V=Y;else H=Y,V=this;var F=0;for(var T=0;T<V.length;T++)D=(H.words[T]|0)+(V.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;for(;F!==0&&T<H.length;T++)D=(H.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;T<H.length;T++)this.words[T]=H.words[T];return this},O.prototype.add=function(Y){var D;if(Y.negative!==0&&this.negative===0)return Y.negative=0,D=this.sub(Y),Y.negative^=1,D;else if(Y.negative===0&&this.negative!==0)return this.negative=0,D=Y.sub(this),this.negative=1,D;if(this.length>Y.length)return this.clone().iadd(Y);return Y.clone().iadd(this)},O.prototype.isub=function(Y){if(Y.negative!==0){Y.negative=0;var D=this.iadd(Y);return Y.negative=1,D._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Y),this.negative=1,this._normSign();var H=this.cmp(Y);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var V,F;if(H>0)V=this,F=Y;else V=Y,F=this;var T=0;for(var S=0;S<F.length;S++)D=(V.words[S]|0)-(F.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;for(;T!==0&&S<V.length;S++)D=(V.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;if(T===0&&S<V.length&&V!==this)for(;S<V.length;S++)this.words[S]=V.words[S];if(this.length=Math.max(this.length,S),V!==this)this.negative=1;return this.strip()},O.prototype.sub=function(Y){return this.clone().isub(Y)};function y(Y,D,H){H.negative=D.negative^Y.negative;var V=Y.length+D.length|0;H.length=V,V=V-1|0;var F=Y.words[0]|0,T=D.words[0]|0,S=F*T,A=S&67108863,Z=S/67108864|0;H.words[0]=A;for(var C=1;C<V;C++){var x=Z>>>26,B=Z&67108863,h=Math.min(C,D.length-1);for(var r=Math.max(0,C-Y.length+1);r<=h;r++){var U0=C-r|0;F=Y.words[U0]|0,T=D.words[r]|0,S=F*T+B,x+=S/67108864|0,B=S&67108863}H.words[C]=B|0,Z=x|0}if(Z!==0)H.words[C]=Z|0;else H.length--;return H.strip()}var w=function(Y,D,H){var V=Y.words,F=D.words,T=H.words,S=0,A,Z,C,x=V[0]|0,B=x&8191,h=x>>>13,r=V[1]|0,U0=r&8191,z0=r>>>13,Q0=V[2]|0,s=Q0&8191,e=Q0>>>13,J0=V[3]|0,O0=J0&8191,A0=J0>>>13,$0=V[4]|0,c=$0&8191,n=$0>>>13,H0=V[5]|0,Y0=H0&8191,V0=H0>>>13,N0=V[6]|0,I0=N0&8191,K0=N0>>>13,U$=V[7]|0,M0=U$&8191,v0=U$>>>13,L$=V[8]|0,p0=L$&8191,c0=L$>>>13,i$=V[9]|0,b0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,TU=F[1]|0,m=TU&8191,X0=TU>>>13,s0=F[2]|0,S0=s0&8191,B0=s0>>>13,F$=F[3]|0,g0=F$&8191,f0=F$>>>13,V$=F[4]|0,n0=V$&8191,i0=V$>>>13,KU=F[5]|0,a0=KU&8191,i=KU>>>13,G0=F[6]|0,P0=G0&8191,_0=G0>>>13,Z$=F[7]|0,d0=Z$&8191,t0=Z$>>>13,HU=F[8]|0,I$=HU&8191,$$=HU>>>13,e$=F[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=Y.negative^D.negative,H.length=19,A=Math.imul(B,r0),Z=Math.imul(B,o0),Z=Z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var RU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,r0),Z=Math.imul(U0,o0),Z=Z+Math.imul(z0,r0)|0,C=Math.imul(z0,o0),A=A+Math.imul(B,m)|0,Z=Z+Math.imul(B,X0)|0,Z=Z+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var v$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(v$>>>26)|0,v$&=67108863,A=Math.imul(s,r0),Z=Math.imul(s,o0),Z=Z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,Z=Z+Math.imul(U0,X0)|0,Z=Z+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(B,S0)|0,Z=Z+Math.imul(B,B0)|0,Z=Z+Math.imul(h,S0)|0,C=C+Math.imul(h,B0)|0;var S$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(O0,r0),Z=Math.imul(O0,o0),Z=Z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,Z=Z+Math.imul(s,X0)|0,Z=Z+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,Z=Z+Math.imul(U0,B0)|0,Z=Z+Math.imul(z0,S0)|0,C=C+Math.imul(z0,B0)|0,A=A+Math.imul(B,g0)|0,Z=Z+Math.imul(B,f0)|0,Z=Z+Math.imul(h,g0)|0,C=C+Math.imul(h,f0)|0;var $U=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),Z=Math.imul(c,o0),Z=Z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(O0,m)|0,Z=Z+Math.imul(O0,X0)|0,Z=Z+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,Z=Z+Math.imul(s,B0)|0,Z=Z+Math.imul(e,S0)|0,C=C+Math.imul(e,B0)|0,A=A+Math.imul(U0,g0)|0,Z=Z+Math.imul(U0,f0)|0,Z=Z+Math.imul(z0,g0)|0,C=C+Math.imul(z0,f0)|0,A=A+Math.imul(B,n0)|0,Z=Z+Math.imul(B,i0)|0,Z=Z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),Z=Math.imul(Y0,o0),Z=Z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(c,m)|0,Z=Z+Math.imul(c,X0)|0,Z=Z+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(O0,S0)|0,Z=Z+Math.imul(O0,B0)|0,Z=Z+Math.imul(A0,S0)|0,C=C+Math.imul(A0,B0)|0,A=A+Math.imul(s,g0)|0,Z=Z+Math.imul(s,f0)|0,Z=Z+Math.imul(e,g0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,Z=Z+Math.imul(U0,i0)|0,Z=Z+Math.imul(z0,n0)|0,C=C+Math.imul(z0,i0)|0,A=A+Math.imul(B,a0)|0,Z=Z+Math.imul(B,i)|0,Z=Z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var uU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),Z=Math.imul(I0,o0),Z=Z+Math.imul(K0,r0)|0,C=Math.imul(K0,o0),A=A+Math.imul(Y0,m)|0,Z=Z+Math.imul(Y0,X0)|0,Z=Z+Math.imul(V0,m)|0,C=C+Math.imul(V0,X0)|0,A=A+Math.imul(c,S0)|0,Z=Z+Math.imul(c,B0)|0,Z=Z+Math.imul(n,S0)|0,C=C+Math.imul(n,B0)|0,A=A+Math.imul(O0,g0)|0,Z=Z+Math.imul(O0,f0)|0,Z=Z+Math.imul(A0,g0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,Z=Z+Math.imul(s,i0)|0,Z=Z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,Z=Z+Math.imul(U0,i)|0,Z=Z+Math.imul(z0,a0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(B,P0)|0,Z=Z+Math.imul(B,_0)|0,Z=Z+Math.imul(h,P0)|0,C=C+Math.imul(h,_0)|0;var bU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),Z=Math.imul(M0,o0),Z=Z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(I0,m)|0,Z=Z+Math.imul(I0,X0)|0,Z=Z+Math.imul(K0,m)|0,C=C+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,Z=Z+Math.imul(Y0,B0)|0,Z=Z+Math.imul(V0,S0)|0,C=C+Math.imul(V0,B0)|0,A=A+Math.imul(c,g0)|0,Z=Z+Math.imul(c,f0)|0,Z=Z+Math.imul(n,g0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(O0,n0)|0,Z=Z+Math.imul(O0,i0)|0,Z=Z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,Z=Z+Math.imul(s,i)|0,Z=Z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,P0)|0,Z=Z+Math.imul(U0,_0)|0,Z=Z+Math.imul(z0,P0)|0,C=C+Math.imul(z0,_0)|0,A=A+Math.imul(B,d0)|0,Z=Z+Math.imul(B,t0)|0,Z=Z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),Z=Math.imul(p0,o0),Z=Z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,Z=Z+Math.imul(M0,X0)|0,Z=Z+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,S0)|0,Z=Z+Math.imul(I0,B0)|0,Z=Z+Math.imul(K0,S0)|0,C=C+Math.imul(K0,B0)|0,A=A+Math.imul(Y0,g0)|0,Z=Z+Math.imul(Y0,f0)|0,Z=Z+Math.imul(V0,g0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(c,n0)|0,Z=Z+Math.imul(c,i0)|0,Z=Z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(O0,a0)|0,Z=Z+Math.imul(O0,i)|0,Z=Z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,P0)|0,Z=Z+Math.imul(s,_0)|0,Z=Z+Math.imul(e,P0)|0,C=C+Math.imul(e,_0)|0,A=A+Math.imul(U0,d0)|0,Z=Z+Math.imul(U0,t0)|0,Z=Z+Math.imul(z0,d0)|0,C=C+Math.imul(z0,t0)|0,A=A+Math.imul(B,I$)|0,Z=Z+Math.imul(B,$$)|0,Z=Z+Math.imul(h,I$)|0,C=C+Math.imul(h,$$)|0;var cU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),Z=Math.imul(b0,o0),Z=Z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,Z=Z+Math.imul(p0,X0)|0,Z=Z+Math.imul(c0,m)|0,C=C+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,Z=Z+Math.imul(M0,B0)|0,Z=Z+Math.imul(v0,S0)|0,C=C+Math.imul(v0,B0)|0,A=A+Math.imul(I0,g0)|0,Z=Z+Math.imul(I0,f0)|0,Z=Z+Math.imul(K0,g0)|0,C=C+Math.imul(K0,f0)|0,A=A+Math.imul(Y0,n0)|0,Z=Z+Math.imul(Y0,i0)|0,Z=Z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(c,a0)|0,Z=Z+Math.imul(c,i)|0,Z=Z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(O0,P0)|0,Z=Z+Math.imul(O0,_0)|0,Z=Z+Math.imul(A0,P0)|0,C=C+Math.imul(A0,_0)|0,A=A+Math.imul(s,d0)|0,Z=Z+Math.imul(s,t0)|0,Z=Z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,Z=Z+Math.imul(U0,$$)|0,Z=Z+Math.imul(z0,I$)|0,C=C+Math.imul(z0,$$)|0,A=A+Math.imul(B,X$)|0,Z=Z+Math.imul(B,e0)|0,Z=Z+Math.imul(h,X$)|0,C=C+Math.imul(h,e0)|0;var pU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,m),Z=Math.imul(b0,X0),Z=Z+Math.imul(h0,m)|0,C=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,Z=Z+Math.imul(p0,B0)|0,Z=Z+Math.imul(c0,S0)|0,C=C+Math.imul(c0,B0)|0,A=A+Math.imul(M0,g0)|0,Z=Z+Math.imul(M0,f0)|0,Z=Z+Math.imul(v0,g0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(I0,n0)|0,Z=Z+Math.imul(I0,i0)|0,Z=Z+Math.imul(K0,n0)|0,C=C+Math.imul(K0,i0)|0,A=A+Math.imul(Y0,a0)|0,Z=Z+Math.imul(Y0,i)|0,Z=Z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(c,P0)|0,Z=Z+Math.imul(c,_0)|0,Z=Z+Math.imul(n,P0)|0,C=C+Math.imul(n,_0)|0,A=A+Math.imul(O0,d0)|0,Z=Z+Math.imul(O0,t0)|0,Z=Z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,Z=Z+Math.imul(s,$$)|0,Z=Z+Math.imul(e,I$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,Z=Z+Math.imul(U0,e0)|0,Z=Z+Math.imul(z0,X$)|0,C=C+Math.imul(z0,e0)|0;var r$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),Z=Math.imul(b0,B0),Z=Z+Math.imul(h0,S0)|0,C=Math.imul(h0,B0),A=A+Math.imul(p0,g0)|0,Z=Z+Math.imul(p0,f0)|0,Z=Z+Math.imul(c0,g0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,Z=Z+Math.imul(M0,i0)|0,Z=Z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(I0,a0)|0,Z=Z+Math.imul(I0,i)|0,Z=Z+Math.imul(K0,a0)|0,C=C+Math.imul(K0,i)|0,A=A+Math.imul(Y0,P0)|0,Z=Z+Math.imul(Y0,_0)|0,Z=Z+Math.imul(V0,P0)|0,C=C+Math.imul(V0,_0)|0,A=A+Math.imul(c,d0)|0,Z=Z+Math.imul(c,t0)|0,Z=Z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(O0,I$)|0,Z=Z+Math.imul(O0,$$)|0,Z=Z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,Z=Z+Math.imul(s,e0)|0,Z=Z+Math.imul(e,X$)|0,C=C+Math.imul(e,e0)|0;var LU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,g0),Z=Math.imul(b0,f0),Z=Z+Math.imul(h0,g0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,Z=Z+Math.imul(p0,i0)|0,Z=Z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,Z=Z+Math.imul(M0,i)|0,Z=Z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,P0)|0,Z=Z+Math.imul(I0,_0)|0,Z=Z+Math.imul(K0,P0)|0,C=C+Math.imul(K0,_0)|0,A=A+Math.imul(Y0,d0)|0,Z=Z+Math.imul(Y0,t0)|0,Z=Z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(c,I$)|0,Z=Z+Math.imul(c,$$)|0,Z=Z+Math.imul(n,I$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(O0,X$)|0,Z=Z+Math.imul(O0,e0)|0,Z=Z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,e0)|0;var VU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(b0,n0),Z=Math.imul(b0,i0),Z=Z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,Z=Z+Math.imul(p0,i)|0,Z=Z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,P0)|0,Z=Z+Math.imul(M0,_0)|0,Z=Z+Math.imul(v0,P0)|0,C=C+Math.imul(v0,_0)|0,A=A+Math.imul(I0,d0)|0,Z=Z+Math.imul(I0,t0)|0,Z=Z+Math.imul(K0,d0)|0,C=C+Math.imul(K0,t0)|0,A=A+Math.imul(Y0,I$)|0,Z=Z+Math.imul(Y0,$$)|0,Z=Z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(c,X$)|0,Z=Z+Math.imul(c,e0)|0,Z=Z+Math.imul(n,X$)|0,C=C+Math.imul(n,e0)|0;var mU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(b0,a0),Z=Math.imul(b0,i),Z=Z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,P0)|0,Z=Z+Math.imul(p0,_0)|0,Z=Z+Math.imul(c0,P0)|0,C=C+Math.imul(c0,_0)|0,A=A+Math.imul(M0,d0)|0,Z=Z+Math.imul(M0,t0)|0,Z=Z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(I0,I$)|0,Z=Z+Math.imul(I0,$$)|0,Z=Z+Math.imul(K0,I$)|0,C=C+Math.imul(K0,$$)|0,A=A+Math.imul(Y0,X$)|0,Z=Z+Math.imul(Y0,e0)|0,Z=Z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,e0)|0;var PU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(b0,P0),Z=Math.imul(b0,_0),Z=Z+Math.imul(h0,P0)|0,C=Math.imul(h0,_0),A=A+Math.imul(p0,d0)|0,Z=Z+Math.imul(p0,t0)|0,Z=Z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,Z=Z+Math.imul(M0,$$)|0,Z=Z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(I0,X$)|0,Z=Z+Math.imul(I0,e0)|0,Z=Z+Math.imul(K0,X$)|0,C=C+Math.imul(K0,e0)|0;var BU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(BU>>>26)|0,BU&=67108863,A=Math.imul(b0,d0),Z=Math.imul(b0,t0),Z=Z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,Z=Z+Math.imul(p0,$$)|0,Z=Z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,Z=Z+Math.imul(M0,e0)|0,Z=Z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,e0)|0;var gU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(b0,I$),Z=Math.imul(b0,$$),Z=Z+Math.imul(h0,I$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,Z=Z+Math.imul(p0,e0)|0,Z=Z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,e0)|0;var EU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,X$),Z=Math.imul(b0,e0),Z=Z+Math.imul(h0,X$)|0,C=Math.imul(h0,e0);var MU=(S+A|0)+((Z&8191)<<13)|0;if(S=(C+(Z>>>13)|0)+(MU>>>26)|0,MU&=67108863,T[0]=RU,T[1]=v$,T[2]=S$,T[3]=$U,T[4]=d$,T[5]=uU,T[6]=bU,T[7]=hU,T[8]=cU,T[9]=pU,T[10]=r$,T[11]=LU,T[12]=VU,T[13]=mU,T[14]=PU,T[15]=BU,T[16]=gU,T[17]=EU,T[18]=MU,S!==0)T[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(Y,D,H){H.negative=D.negative^Y.negative,H.length=Y.length+D.length;var V=0,F=0;for(var T=0;T<H.length-1;T++){var S=F;F=0;var A=V&67108863,Z=Math.min(T,D.length-1);for(var C=Math.max(0,T-Y.length+1);C<=Z;C++){var x=T-C,B=Y.words[x]|0,h=D.words[C]|0,r=B*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,F+=S>>>26,S&=67108863}H.words[T]=A,V=S,S=F}if(V!==0)H.words[T]=V;else H.length--;return H.strip()}function g(Y,D,H){var V=new u;return V.mulp(Y,D,H)}O.prototype.mulTo=function(Y,D){var H,V=this.length+Y.length;if(this.length===10&&Y.length===10)H=w(this,Y,D);else if(V<63)H=y(this,Y,D);else if(V<1024)H=b(this,Y,D);else H=g(this,Y,D);return H};function u(Y,D){this.x=Y,this.y=D}u.prototype.makeRBT=function(Y){var D=Array(Y),H=O.prototype._countBits(Y)-1;for(var V=0;V<Y;V++)D[V]=this.revBin(V,H,Y);return D},u.prototype.revBin=function(Y,D,H){if(Y===0||Y===H-1)return Y;var V=0;for(var F=0;F<D;F++)V|=(Y&1)<<D-F-1,Y>>=1;return V},u.prototype.permute=function(Y,D,H,V,F,T){for(var S=0;S<T;S++)V[S]=D[Y[S]],F[S]=H[Y[S]]},u.prototype.transform=function(Y,D,H,V,F,T){this.permute(T,Y,D,H,V,F);for(var S=1;S<F;S<<=1){var A=S<<1,Z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<F;x+=A){var B=Z,h=C;for(var r=0;r<S;r++){var U0=H[x+r],z0=V[x+r],Q0=H[x+r+S],s=V[x+r+S],e=B*Q0-h*s;if(s=B*s+h*Q0,Q0=e,H[x+r]=U0+Q0,V[x+r]=z0+s,H[x+r+S]=U0-Q0,V[x+r+S]=z0-s,r!==A)e=Z*B-C*h,h=Z*h+C*B,B=e}}}},u.prototype.guessLen13b=function(Y,D){var H=Math.max(D,Y)|1,V=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+V},u.prototype.conjugate=function(Y,D,H){if(H<=1)return;for(var V=0;V<H/2;V++){var F=Y[V];Y[V]=Y[H-V-1],Y[H-V-1]=F,F=D[V],D[V]=-D[H-V-1],D[H-V-1]=-F}},u.prototype.normalize13b=function(Y,D){var H=0;for(var V=0;V<D/2;V++){var F=Math.round(Y[2*V+1]/D)*8192+Math.round(Y[2*V]/D)+H;if(Y[V]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return Y},u.prototype.convert13b=function(Y,D,H,V){var F=0;for(var T=0;T<D;T++)F=F+(Y[T]|0),H[2*T]=F&8191,F=F>>>13,H[2*T+1]=F&8191,F=F>>>13;for(T=2*D;T<V;++T)H[T]=0;X(F===0),X((F&-8192)===0)},u.prototype.stub=function(Y){var D=Array(Y);for(var H=0;H<Y;H++)D[H]=0;return D},u.prototype.mulp=function(Y,D,H){var V=2*this.guessLen13b(Y.length,D.length),F=this.makeRBT(V),T=this.stub(V),S=Array(V),A=Array(V),Z=Array(V),C=Array(V),x=Array(V),B=Array(V),h=H.words;h.length=V,this.convert13b(Y.words,Y.length,S,V),this.convert13b(D.words,D.length,C,V),this.transform(S,T,A,Z,V,F),this.transform(C,T,x,B,V,F);for(var r=0;r<V;r++){var U0=A[r]*x[r]-Z[r]*B[r];Z[r]=A[r]*B[r]+Z[r]*x[r],A[r]=U0}return this.conjugate(A,Z,V),this.transform(A,Z,h,T,V,F),this.conjugate(h,T,V),this.normalize13b(h,V),H.negative=Y.negative^D.negative,H.length=Y.length+D.length,H.strip()},O.prototype.mul=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),this.mulTo(Y,D)},O.prototype.mulf=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),g(this,Y,D)},O.prototype.imul=function(Y){return this.clone().mulTo(Y,this)},O.prototype.imuln=function(Y){X(typeof Y==="number"),X(Y<67108864);var D=0;for(var H=0;H<this.length;H++){var V=(this.words[H]|0)*Y,F=(V&67108863)+(D&67108863);D>>=26,D+=V/67108864|0,D+=F>>>26,this.words[H]=F&67108863}if(D!==0)this.words[H]=D,this.length++;return this.length=Y===0?1:this.length,this},O.prototype.muln=function(Y){return this.clone().imuln(Y)},O.prototype.sqr=function(){return this.mul(this)},O.prototype.isqr=function(){return this.imul(this.clone())},O.prototype.pow=function(Y){var D=N(Y);if(D.length===0)return new O(1);var H=this;for(var V=0;V<D.length;V++,H=H.sqr())if(D[V]!==0)break;if(++V<D.length)for(var F=H.sqr();V<D.length;V++,F=F.sqr()){if(D[V]===0)continue;H=H.mul(F)}return H},O.prototype.iushln=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=67108863>>>26-D<<26-D,F;if(D!==0){var T=0;for(F=0;F<this.length;F++){var S=this.words[F]&V,A=(this.words[F]|0)-S<<D;this.words[F]=A|T,T=S>>>26-D}if(T)this.words[F]=T,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},O.prototype.ishln=function(Y){return X(this.negative===0),this.iushln(Y)},O.prototype.iushrn=function(Y,D,H){X(typeof Y==="number"&&Y>=0);var V;if(D)V=(D-D%26)/26;else V=0;var F=Y%26,T=Math.min((Y-F)/26,this.length),S=67108863^67108863>>>F<<F,A=H;if(V-=T,V=Math.max(0,V),A){for(var Z=0;Z<T;Z++)A.words[Z]=this.words[Z];A.length=T}if(T===0);else if(this.length>T){this.length-=T;for(Z=0;Z<this.length;Z++)this.words[Z]=this.words[Z+T]}else this.words[0]=0,this.length=1;var C=0;for(Z=this.length-1;Z>=0&&(C!==0||Z>=V);Z--){var x=this.words[Z]|0;this.words[Z]=C<<26-F|x>>>F,C=x&S}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},O.prototype.ishrn=function(Y,D,H){return X(this.negative===0),this.iushrn(Y,D,H)},O.prototype.shln=function(Y){return this.clone().ishln(Y)},O.prototype.ushln=function(Y){return this.clone().iushln(Y)},O.prototype.shrn=function(Y){return this.clone().ishrn(Y)},O.prototype.ushrn=function(Y){return this.clone().iushrn(Y)},O.prototype.testn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return!1;var F=this.words[H];return!!(F&V)},O.prototype.imaskn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(D!==0)H++;if(this.length=Math.min(H,this.length),D!==0){var V=67108863^67108863>>>D<<D;this.words[this.length-1]&=V}return this.strip()},O.prototype.maskn=function(Y){return this.clone().imaskn(Y)},O.prototype.iaddn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.isubn(-Y);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Y)return this.words[0]=Y-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Y),this.negative=1,this}return this._iaddn(Y)},O.prototype._iaddn=function(Y){this.words[0]+=Y;for(var D=0;D<this.length&&this.words[D]>=67108864;D++)if(this.words[D]-=67108864,D===this.length-1)this.words[D+1]=1;else this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},O.prototype.isubn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.iaddn(-Y);if(this.negative!==0)return this.negative=0,this.iaddn(Y),this.negative=1,this;if(this.words[0]-=Y,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D<this.length&&this.words[D]<0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this.strip()},O.prototype.addn=function(Y){return this.clone().iaddn(Y)},O.prototype.subn=function(Y){return this.clone().isubn(Y)},O.prototype.iabs=function(){return this.negative=0,this},O.prototype.abs=function(){return this.clone().iabs()},O.prototype._ishlnsubmul=function(Y,D,H){var V=Y.length+H,F;this._expand(V);var T,S=0;for(F=0;F<Y.length;F++){T=(this.words[F+H]|0)+S;var A=(Y.words[F]|0)*D;T-=A&67108863,S=(T>>26)-(A/67108864|0),this.words[F+H]=T&67108863}for(;F<this.length-H;F++)T=(this.words[F+H]|0)+S,S=T>>26,this.words[F+H]=T&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(F=0;F<this.length;F++)T=-(this.words[F]|0)+S,S=T>>26,this.words[F]=T&67108863;return this.negative=1,this.strip()},O.prototype._wordDiv=function(Y,D){var H=this.length-Y.length,V=this.clone(),F=Y,T=F.words[F.length-1]|0,S=this._countBits(T);if(H=26-S,H!==0)F=F.ushln(H),V.iushln(H),T=F.words[F.length-1]|0;var A=V.length-F.length,Z;if(D!=="mod"){Z=new O(null),Z.length=A+1,Z.words=Array(Z.length);for(var C=0;C<Z.length;C++)Z.words[C]=0}var x=V.clone()._ishlnsubmul(F,1,A);if(x.negative===0){if(V=x,Z)Z.words[A]=1}for(var B=A-1;B>=0;B--){var h=(V.words[F.length+B]|0)*67108864+(V.words[F.length+B-1]|0);h=Math.min(h/T|0,67108863),V._ishlnsubmul(F,h,B);while(V.negative!==0)if(h--,V.negative=0,V._ishlnsubmul(F,1,B),!V.isZero())V.negative^=1;if(Z)Z.words[B]=h}if(Z)Z.strip();if(V.strip(),D!=="div"&&H!==0)V.iushrn(H);return{div:Z||null,mod:V}},O.prototype.divmod=function(Y,D,H){if(X(!Y.isZero()),this.isZero())return{div:new O(0),mod:new O(0)};var V,F,T;if(this.negative!==0&&Y.negative===0){if(T=this.neg().divmod(Y,D),D!=="mod")V=T.div.neg();if(D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.iadd(Y)}return{div:V,mod:F}}if(this.negative===0&&Y.negative!==0){if(T=this.divmod(Y.neg(),D),D!=="mod")V=T.div.neg();return{div:V,mod:T.mod}}if((this.negative&Y.negative)!==0){if(T=this.neg().divmod(Y.neg(),D),D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.isub(Y)}return{div:T.div,mod:F}}if(Y.length>this.length||this.cmp(Y)<0)return{div:new O(0),mod:this};if(Y.length===1){if(D==="div")return{div:this.divn(Y.words[0]),mod:null};if(D==="mod")return{div:null,mod:new O(this.modn(Y.words[0]))};return{div:this.divn(Y.words[0]),mod:new O(this.modn(Y.words[0]))}}return this._wordDiv(Y,D)},O.prototype.div=function(Y){return this.divmod(Y,"div",!1).div},O.prototype.mod=function(Y){return this.divmod(Y,"mod",!1).mod},O.prototype.umod=function(Y){return this.divmod(Y,"mod",!0).mod},O.prototype.divRound=function(Y){var D=this.divmod(Y);if(D.mod.isZero())return D.div;var H=D.div.negative!==0?D.mod.isub(Y):D.mod,V=Y.ushrn(1),F=Y.andln(1),T=H.cmp(V);if(T<0||F===1&&T===0)return D.div;return D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},O.prototype.modn=function(Y){X(Y<=67108863);var D=67108864%Y,H=0;for(var V=this.length-1;V>=0;V--)H=(D*H+(this.words[V]|0))%Y;return H},O.prototype.idivn=function(Y){X(Y<=67108863);var D=0;for(var H=this.length-1;H>=0;H--){var V=(this.words[H]|0)+D*67108864;this.words[H]=V/Y|0,D=V%Y}return this.strip()},O.prototype.divn=function(Y){return this.clone().idivn(Y)},O.prototype.egcd=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=new O(0),S=new O(1),A=0;while(D.isEven()&&H.isEven())D.iushrn(1),H.iushrn(1),++A;var Z=H.clone(),C=D.clone();while(!D.isZero()){for(var x=0,B=1;(D.words[0]&B)===0&&x<26;++x,B<<=1);if(x>0){D.iushrn(x);while(x-- >0){if(V.isOdd()||F.isOdd())V.iadd(Z),F.isub(C);V.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(T.isOdd()||S.isOdd())T.iadd(Z),S.isub(C);T.iushrn(1),S.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(T),F.isub(S);else H.isub(D),T.isub(V),S.isub(F)}return{a:T,b:S,gcd:H.iushln(A)}},O.prototype._invmp=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=H.clone();while(D.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(D.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){D.iushrn(S);while(S-- >0){if(V.isOdd())V.iadd(T);V.iushrn(1)}}for(var Z=0,C=1;(H.words[0]&C)===0&&Z<26;++Z,C<<=1);if(Z>0){H.iushrn(Z);while(Z-- >0){if(F.isOdd())F.iadd(T);F.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(F);else H.isub(D),F.isub(V)}var x;if(D.cmpn(1)===0)x=V;else x=F;if(x.cmpn(0)<0)x.iadd(Y);return x},O.prototype.gcd=function(Y){if(this.isZero())return Y.abs();if(Y.isZero())return this.abs();var D=this.clone(),H=Y.clone();D.negative=0,H.negative=0;for(var V=0;D.isEven()&&H.isEven();V++)D.iushrn(1),H.iushrn(1);do{while(D.isEven())D.iushrn(1);while(H.isEven())H.iushrn(1);var F=D.cmp(H);if(F<0){var T=D;D=H,H=T}else if(F===0||H.cmpn(1)===0)break;D.isub(H)}while(!0);return H.iushln(V)},O.prototype.invm=function(Y){return this.egcd(Y).a.umod(Y)},O.prototype.isEven=function(){return(this.words[0]&1)===0},O.prototype.isOdd=function(){return(this.words[0]&1)===1},O.prototype.andln=function(Y){return this.words[0]&Y},O.prototype.bincn=function(Y){X(typeof Y==="number");var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return this._expand(H+1),this.words[H]|=V,this;var F=V;for(var T=H;F!==0&&T<this.length;T++){var S=this.words[T]|0;S+=F,F=S>>>26,S&=67108863,this.words[T]=S}if(F!==0)this.words[T]=F,this.length++;return this},O.prototype.isZero=function(){return this.length===1&&this.words[0]===0},O.prototype.cmpn=function(Y){var D=Y<0;if(this.negative!==0&&!D)return-1;if(this.negative===0&&D)return 1;this.strip();var H;if(this.length>1)H=1;else{if(D)Y=-Y;X(Y<=67108863,"Number is too big");var V=this.words[0]|0;H=V===Y?0:V<Y?-1:1}if(this.negative!==0)return-H|0;return H},O.prototype.cmp=function(Y){if(this.negative!==0&&Y.negative===0)return-1;if(this.negative===0&&Y.negative!==0)return 1;var D=this.ucmp(Y);if(this.negative!==0)return-D|0;return D},O.prototype.ucmp=function(Y){if(this.length>Y.length)return 1;if(this.length<Y.length)return-1;var D=0;for(var H=this.length-1;H>=0;H--){var V=this.words[H]|0,F=Y.words[H]|0;if(V===F)continue;if(V<F)D=-1;else if(V>F)D=1;break}return D},O.prototype.gtn=function(Y){return this.cmpn(Y)===1},O.prototype.gt=function(Y){return this.cmp(Y)===1},O.prototype.gten=function(Y){return this.cmpn(Y)>=0},O.prototype.gte=function(Y){return this.cmp(Y)>=0},O.prototype.ltn=function(Y){return this.cmpn(Y)===-1},O.prototype.lt=function(Y){return this.cmp(Y)===-1},O.prototype.lten=function(Y){return this.cmpn(Y)<=0},O.prototype.lte=function(Y){return this.cmp(Y)<=0},O.prototype.eqn=function(Y){return this.cmpn(Y)===0},O.prototype.eq=function(Y){return this.cmp(Y)===0},O.red=function(Y){return new t(Y)},O.prototype.toRed=function(Y){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),Y.convertTo(this)._forceRed(Y)},O.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},O.prototype._forceRed=function(Y){return this.red=Y,this},O.prototype.forceRed=function(Y){return X(!this.red,"Already a number in reduction context"),this._forceRed(Y)},O.prototype.redAdd=function(Y){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,Y)},O.prototype.redIAdd=function(Y){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Y)},O.prototype.redSub=function(Y){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,Y)},O.prototype.redISub=function(Y){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,Y)},O.prototype.redShl=function(Y){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,Y)},O.prototype.redMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.mul(this,Y)},O.prototype.redIMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.imul(this,Y)},O.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},O.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},O.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},O.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},O.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},O.prototype.redPow=function(Y){return X(this.red&&!Y.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Y)};var p={k256:null,p224:null,p192:null,p25519:null};function d(Y,D){this.name=Y,this.p=new O(D,16),this.n=this.p.bitLength(),this.k=new O(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var Y=new O(null);return Y.words=Array(Math.ceil(this.n/13)),Y},d.prototype.ireduce=function(Y){var D=Y,H;do this.split(D,this.tmp),D=this.imulK(D),D=D.iadd(this.tmp),H=D.bitLength();while(H>this.n);var V=H<this.n?-1:D.ucmp(this.p);if(V===0)D.words[0]=0,D.length=1;else if(V>0)D.isub(this.p);else if(D.strip!==void 0)D.strip();else D._strip();return D},d.prototype.split=function(Y,D){Y.iushrn(this.n,0,D)},d.prototype.imulK=function(Y){return Y.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(Y,D){var H=4194303,V=Math.min(Y.length,9);for(var F=0;F<V;F++)D.words[F]=Y.words[F];if(D.length=V,Y.length<=9){Y.words[0]=0,Y.length=1;return}var T=Y.words[9];D.words[D.length++]=T&H;for(F=10;F<Y.length;F++){var S=Y.words[F]|0;Y.words[F-10]=(S&H)<<4|T>>>22,T=S}if(T>>>=22,Y.words[F-10]=T,T===0&&Y.length>10)Y.length-=10;else Y.length-=9},a.prototype.imulK=function(Y){Y.words[Y.length]=0,Y.words[Y.length+1]=0,Y.length+=2;var D=0;for(var H=0;H<Y.length;H++){var V=Y.words[H]|0;D+=V*977,Y.words[H]=D&67108863,D=V*64+(D/67108864|0)}if(Y.words[Y.length-1]===0){if(Y.length--,Y.words[Y.length-1]===0)Y.length--}return Y};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function E0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(E0,d),E0.prototype.imulK=function(Y){var D=0;for(var H=0;H<Y.length;H++){var V=(Y.words[H]|0)*19+D,F=V&67108863;V>>>=26,Y.words[H]=F,D=V}if(D!==0)Y.words[Y.length++]=D;return Y},O._prime=function(Y){if(p[Y])return p[Y];var D;if(Y==="k256")D=new a;else if(Y==="p224")D=new F0;else if(Y==="p192")D=new L0;else if(Y==="p25519")D=new E0;else throw Error("Unknown prime "+Y);return p[Y]=D,D};function t(Y){if(typeof Y==="string"){var D=O._prime(Y);this.m=D.p,this.prime=D}else X(Y.gtn(1),"modulus must be greater than 1"),this.m=Y,this.prime=null}t.prototype._verify1=function(Y){X(Y.negative===0,"red works only with positives"),X(Y.red,"red works only with red numbers")},t.prototype._verify2=function(Y,D){X((Y.negative|D.negative)===0,"red works only with positives"),X(Y.red&&Y.red===D.red,"red works only with red numbers")},t.prototype.imod=function(Y){if(this.prime)return this.prime.ireduce(Y)._forceRed(this);return Y.umod(this.m)._forceRed(this)},t.prototype.neg=function(Y){if(Y.isZero())return Y.clone();return this.m.sub(Y)._forceRed(this)},t.prototype.add=function(Y,D){this._verify2(Y,D);var H=Y.add(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(Y,D){this._verify2(Y,D);var H=Y.iadd(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(Y,D){this._verify2(Y,D);var H=Y.sub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(Y,D){this._verify2(Y,D);var H=Y.isub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(Y,D){return this._verify1(Y),this.imod(Y.ushln(D))},t.prototype.imul=function(Y,D){return this._verify2(Y,D),this.imod(Y.imul(D))},t.prototype.mul=function(Y,D){return this._verify2(Y,D),this.imod(Y.mul(D))},t.prototype.isqr=function(Y){return this.imul(Y,Y.clone())},t.prototype.sqr=function(Y){return this.mul(Y,Y)},t.prototype.sqrt=function(Y){if(Y.isZero())return Y.clone();var D=this.m.andln(3);if(X(D%2===1),D===3){var H=this.m.add(new O(1)).iushrn(2);return this.pow(Y,H)}var V=this.m.subn(1),F=0;while(!V.isZero()&&V.andln(1)===0)F++,V.iushrn(1);X(!V.isZero());var T=new O(1).toRed(this),S=T.redNeg(),A=this.m.subn(1).iushrn(1),Z=this.m.bitLength();Z=new O(2*Z*Z).toRed(this);while(this.pow(Z,A).cmp(S)!==0)Z.redIAdd(S);var C=this.pow(Z,V),x=this.pow(Y,V.addn(1).iushrn(1)),B=this.pow(Y,V),h=F;while(B.cmp(T)!==0){var r=B;for(var U0=0;r.cmp(T)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(C,new O(1).iushln(h-U0-1));x=x.redMul(z0),C=z0.redSqr(),B=B.redMul(C),h=U0}return x},t.prototype.invm=function(Y){var D=Y._invmp(this.m);if(D.negative!==0)return D.negative=0,this.imod(D).redNeg();else return this.imod(D)},t.prototype.pow=function(Y,D){if(D.isZero())return new O(1).toRed(this);if(D.cmpn(1)===0)return Y.clone();var H=4,V=Array(1<<H);V[0]=new O(1).toRed(this),V[1]=Y;for(var F=2;F<V.length;F++)V[F]=this.mul(V[F-1],Y);var T=V[0],S=0,A=0,Z=D.bitLength()%26;if(Z===0)Z=26;for(F=D.length-1;F>=0;F--){var C=D.words[F];for(var x=Z-1;x>=0;x--){var B=C>>x&1;if(T!==V[0])T=this.sqr(T);if(B===0&&S===0){A=0;continue}if(S<<=1,S|=B,A++,A!==H&&(F!==0||x!==0))continue;T=this.mul(T,V[S]),A=0,S=0}Z=26}return T},t.prototype.convertTo=function(Y){var D=Y.umod(this.m);return D===Y?D.clone():D},t.prototype.convertFrom=function(Y){var D=Y.clone();return D.red=null,D},O.mont=function(Y){return new C0(Y)};function C0(Y){if(t.call(this,Y),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new O(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(C0,t),C0.prototype.convertTo=function(Y){return this.imod(Y.ushln(this.shift))},C0.prototype.convertFrom=function(Y){var D=this.imod(Y.mul(this.rinv));return D.red=null,D},C0.prototype.imul=function(Y,D){if(Y.isZero()||D.isZero())return Y.words[0]=0,Y.length=1,Y;var H=Y.imul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.mul=function(Y,D){if(Y.isZero()||D.isZero())return new O(0)._forceRed(this);var H=Y.mul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.invm=function(Y){var D=this.imod(Y._invmp(this.m).mul(this.r2));return D._forceRed(this)}})(typeof J>"u"||J,I)}),IX=u0((I,J)=>{J.exports=G;function G(K,X){if(!K)throw Error(X||"Assertion failed")}G.equal=function(K,X,z){if(K!=X)throw Error(z||"Assertion failed: "+K+" != "+X)}}),p_=u0((I)=>{var J=I;function G(z,O){if(Array.isArray(z))return z.slice();if(!z)return[];var L=[];if(typeof z!=="string"){for(var j=0;j<z.length;j++)L[j]=z[j]|0;return L}if(O==="hex"){if(z=z.replace(/[^a-z0-9]+/ig,""),z.length%2!==0)z="0"+z;for(var j=0;j<z.length;j+=2)L.push(parseInt(z[j]+z[j+1],16))}else for(var j=0;j<z.length;j++){var E=z.charCodeAt(j),_=E>>8,q=E&255;if(_)L.push(_,q);else L.push(q)}return L}J.toArray=G;function K(z){if(z.length===1)return"0"+z;else return z}J.zero2=K;function X(z){var O="";for(var L=0;L<z.length;L++)O+=K(z[L].toString(16));return O}J.toHex=X,J.encode=function(z,O){if(O==="hex")return X(z);else return z}}),w4=u0((I)=>{var J=I,G=OI(),K=IX(),X=p_();J.assert=K,J.toArray=X.toArray,J.zero2=X.zero2,J.toHex=X.toHex,J.encode=X.encode;function z(_,q,P){var v=Array(Math.max(_.bitLength(),P)+1),N;for(N=0;N<v.length;N+=1)v[N]=0;var y=1<<q+1,w=_.clone();for(N=0;N<v.length;N++){var b,g=w.andln(y-1);if(w.isOdd()){if(g>(y>>1)-1)b=(y>>1)-g;else b=g;w.isubn(b)}else b=0;v[N]=b,w.iushrn(1)}return v}J.getNAF=z;function O(_,q){var P=[[],[]];_=_.clone(),q=q.clone();var v=0,N=0,y;while(_.cmpn(-v)>0||q.cmpn(-N)>0){var w=_.andln(3)+v&3,b=q.andln(3)+N&3;if(w===3)w=-1;if(b===3)b=-1;var g;if((w&1)===0)g=0;else if(y=_.andln(7)+v&7,(y===3||y===5)&&b===2)g=-w;else g=w;P[0].push(g);var u;if((b&1)===0)u=0;else if(y=q.andln(7)+N&7,(y===3||y===5)&&w===2)u=-b;else u=b;if(P[1].push(u),2*v===g+1)v=1-v;if(2*N===u+1)N=1-N;_.iushrn(1),q.iushrn(1)}return P}J.getJSF=O;function L(_,q,P){var v="_"+q;_.prototype[q]=function(){return this[v]!==void 0?this[v]:this[v]=P.call(this)}}J.cachedProperty=L;function j(_){return typeof _==="string"?J.toArray(_,"hex"):_}J.parseBytes=j;function E(_){return new G(_,"hex","le")}J.intFromLE=E}),m_=u0((I,J)=>{var G;J.exports=function(z){if(!G)G=new K(null);return G.generate(z)};function K(z){this.rand=z}if(J.exports.Rand=K,K.prototype.generate=function(z){return this._rand(z)},K.prototype._rand=function(z){if(this.rand.getBytes)return this.rand.getBytes(z);var O=new Uint8Array(z);for(var L=0;L<O.length;L++)O[L]=this.rand.getByte();return O},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)K.prototype._rand=function(z){var O=new Uint8Array(z);return self.crypto.getRandomValues(O),O};else if(self.msCrypto&&self.msCrypto.getRandomValues)K.prototype._rand=function(z){var O=new Uint8Array(z);return self.msCrypto.getRandomValues(O),O};else if(typeof window==="object")K.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(X=(yU(),j$(H4)),typeof X.randomBytes!=="function")throw Error("Not supported");K.prototype._rand=function(z){return X.randomBytes(z)}}catch(z){}var X}),Fz=u0((I,J)=>{var G=OI(),K=w4(),X=K.getNAF,z=K.getJSF,O=K.assert;function L(E,_){this.type=E,this.p=new G(_.p,16),this.red=_.prime?G.red(_.prime):G.mont(this.p),this.zero=new G(0).toRed(this.red),this.one=new G(1).toRed(this.red),this.two=new G(2).toRed(this.red),this.n=_.n&&new G(_.n,16),this.g=_.g&&this.pointFromJSON(_.g,_.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var q=this.n&&this.p.div(this.n);if(!q||q.cmpn(100)>0)this.redN=null;else this._maxwellTrick=!0,this.redN=this.n.toRed(this.red)}J.exports=L,L.prototype.point=function(){throw Error("Not implemented")},L.prototype.validate=function(){throw Error("Not implemented")},L.prototype._fixedNafMul=function(E,_){O(E.precomputed);var q=E._getDoubles(),P=X(_,1,this._bitLength),v=(1<<q.step+1)-(q.step%2===0?2:1);v/=3;var N=[],y,w;for(y=0;y<P.length;y+=q.step){w=0;for(var b=y+q.step-1;b>=y;b--)w=(w<<1)+P[b];N.push(w)}var g=this.jpoint(null,null,null),u=this.jpoint(null,null,null);for(var p=v;p>0;p--){for(y=0;y<N.length;y++)if(w=N[y],w===p)u=u.mixedAdd(q.points[y]);else if(w===-p)u=u.mixedAdd(q.points[y].neg());g=g.add(u)}return g.toP()},L.prototype._wnafMul=function(E,_){var q=4,P=E._getNAFPoints(q);q=P.wnd;var v=P.points,N=X(_,q,this._bitLength),y=this.jpoint(null,null,null);for(var w=N.length-1;w>=0;w--){for(var b=0;w>=0&&N[w]===0;w--)b++;if(w>=0)b++;if(y=y.dblp(b),w<0)break;var g=N[w];if(O(g!==0),E.type==="affine")if(g>0)y=y.mixedAdd(v[g-1>>1]);else y=y.mixedAdd(v[-g-1>>1].neg());else if(g>0)y=y.add(v[g-1>>1]);else y=y.add(v[-g-1>>1].neg())}return E.type==="affine"?y.toP():y},L.prototype._wnafMulAdd=function(E,_,q,P,v){var N=this._wnafT1,y=this._wnafT2,w=this._wnafT3,b=0,g,u,p;for(g=0;g<P;g++){p=_[g];var d=p._getNAFPoints(E);N[g]=d.wnd,y[g]=d.points}for(g=P-1;g>=1;g-=2){var a=g-1,F0=g;if(N[a]!==1||N[F0]!==1){w[a]=X(q[a],N[a],this._bitLength),w[F0]=X(q[F0],N[F0],this._bitLength),b=Math.max(w[a].length,b),b=Math.max(w[F0].length,b);continue}var L0=[_[a],null,null,_[F0]];if(_[a].y.cmp(_[F0].y)===0)L0[1]=_[a].add(_[F0]),L0[2]=_[a].toJ().mixedAdd(_[F0].neg());else if(_[a].y.cmp(_[F0].y.redNeg())===0)L0[1]=_[a].toJ().mixedAdd(_[F0]),L0[2]=_[a].add(_[F0].neg());else L0[1]=_[a].toJ().mixedAdd(_[F0]),L0[2]=_[a].toJ().mixedAdd(_[F0].neg());var E0=[-3,-1,-5,-7,0,7,5,1,3],t=z(q[a],q[F0]);b=Math.max(t[0].length,b),w[a]=Array(b),w[F0]=Array(b);for(u=0;u<b;u++){var C0=t[0][u]|0,Y=t[1][u]|0;w[a][u]=E0[(C0+1)*3+(Y+1)],w[F0][u]=0,y[a]=L0}}var D=this.jpoint(null,null,null),H=this._wnafT4;for(g=b;g>=0;g--){var V=0;while(g>=0){var F=!0;for(u=0;u<P;u++)if(H[u]=w[u][g]|0,H[u]!==0)F=!1;if(!F)break;V++,g--}if(g>=0)V++;if(D=D.dblp(V),g<0)break;for(u=0;u<P;u++){var T=H[u];if(T===0)continue;else if(T>0)p=y[u][T-1>>1];else if(T<0)p=y[u][-T-1>>1].neg();if(p.type==="affine")D=D.mixedAdd(p);else D=D.add(p)}}for(g=0;g<P;g++)y[g]=null;if(v)return D;else return D.toP()};function j(E,_){this.curve=E,this.type=_,this.precomputed=null}L.BasePoint=j,j.prototype.eq=function(){throw Error("Not implemented")},j.prototype.validate=function(){return this.curve.validate(this)},L.prototype.decodePoint=function(E,_){E=K.toArray(E,_);var q=this.p.byteLength();if((E[0]===4||E[0]===6||E[0]===7)&&E.length-1===2*q){if(E[0]===6)O(E[E.length-1]%2===0);else if(E[0]===7)O(E[E.length-1]%2===1);var P=this.point(E.slice(1,1+q),E.slice(1+q,1+2*q));return P}else if((E[0]===2||E[0]===3)&&E.length-1===q)return this.pointFromX(E.slice(1,1+q),E[0]===3);throw Error("Unknown point format")},j.prototype.encodeCompressed=function(E){return this.encode(E,!0)},j.prototype._encode=function(E){var _=this.curve.p.byteLength(),q=this.getX().toArray("be",_);if(E)return[this.getY().isEven()?2:3].concat(q);return[4].concat(q,this.getY().toArray("be",_))},j.prototype.encode=function(E,_){return K.encode(this._encode(_),E)},j.prototype.precompute=function(E){if(this.precomputed)return this;var _={doubles:null,naf:null,beta:null};return _.naf=this._getNAFPoints(8),_.doubles=this._getDoubles(4,E),_.beta=this._getBeta(),this.precomputed=_,this},j.prototype._hasDoubles=function(E){if(!this.precomputed)return!1;var _=this.precomputed.doubles;if(!_)return!1;return _.points.length>=Math.ceil((E.bitLength()+1)/_.step)},j.prototype._getDoubles=function(E,_){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var q=[this],P=this;for(var v=0;v<_;v+=E){for(var N=0;N<E;N++)P=P.dbl();q.push(P)}return{step:E,points:q}},j.prototype._getNAFPoints=function(E){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var _=[this],q=(1<<E)-1,P=q===1?null:this.dbl();for(var v=1;v<q;v++)_[v]=_[v-1].add(P);return{wnd:E,points:_}},j.prototype._getBeta=function(){return null},j.prototype.dblp=function(E){var _=this;for(var q=0;q<E;q++)_=_.dbl();return _}}),kw=u0((I,J)=>{if(typeof Object.create==="function")J.exports=function(G,K){if(K)G.super_=K,G.prototype=Object.create(K.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(G,K){if(K){G.super_=K;var X=function(){};X.prototype=K.prototype,G.prototype=new X,G.prototype.constructor=G}}}),W4=u0((I,J)=>{try{if(G=(TQ(),j$(CQ)),typeof G.inherits!=="function")throw"";J.exports=G.inherits}catch(K){J.exports=kw()}var G}),gw=u0((I,J)=>{var G=w4(),K=OI(),X=W4(),z=Fz(),O=G.assert;function L(_){z.call(this,"short",_),this.a=new K(_.a,16).toRed(this.red),this.b=new K(_.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(_),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}X(L,z),J.exports=L,L.prototype._getEndomorphism=function(_){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var q,P;if(_.beta)q=new K(_.beta,16).toRed(this.red);else{var v=this._getEndoRoots(this.p);q=v[0].cmp(v[1])<0?v[0]:v[1],q=q.toRed(this.red)}if(_.lambda)P=new K(_.lambda,16);else{var N=this._getEndoRoots(this.n);if(this.g.mul(N[0]).x.cmp(this.g.x.redMul(q))===0)P=N[0];else P=N[1],O(this.g.mul(P).x.cmp(this.g.x.redMul(q))===0)}var y;if(_.basis)y=_.basis.map(function(w){return{a:new K(w.a,16),b:new K(w.b,16)}});else y=this._getEndoBasis(P);return{beta:q,lambda:P,basis:y}},L.prototype._getEndoRoots=function(_){var q=_===this.p?this.red:K.mont(_),P=new K(2).toRed(q).redInvm(),v=P.redNeg(),N=new K(3).toRed(q).redNeg().redSqrt().redMul(P),y=v.redAdd(N).fromRed(),w=v.redSub(N).fromRed();return[y,w]},L.prototype._getEndoBasis=function(_){var q=this.n.ushrn(Math.floor(this.n.bitLength()/2)),P=_,v=this.n.clone(),N=new K(1),y=new K(0),w=new K(0),b=new K(1),g,u,p,d,a,F0,L0,E0=0,t,C0;while(P.cmpn(0)!==0){var Y=v.div(P);t=v.sub(Y.mul(P)),C0=w.sub(Y.mul(N));var D=b.sub(Y.mul(y));if(!p&&t.cmp(q)<0)g=L0.neg(),u=N,p=t.neg(),d=C0;else if(p&&++E0===2)break;L0=t,v=P,P=t,w=N,N=C0,b=y,y=D}a=t.neg(),F0=C0;var H=p.sqr().add(d.sqr()),V=a.sqr().add(F0.sqr());if(V.cmp(H)>=0)a=g,F0=u;if(p.negative)p=p.neg(),d=d.neg();if(a.negative)a=a.neg(),F0=F0.neg();return[{a:p,b:d},{a,b:F0}]},L.prototype._endoSplit=function(_){var q=this.endo.basis,P=q[0],v=q[1],N=v.b.mul(_).divRound(this.n),y=P.b.neg().mul(_).divRound(this.n),w=N.mul(P.a),b=y.mul(v.a),g=N.mul(P.b),u=y.mul(v.b),p=_.sub(w).sub(b),d=g.add(u).neg();return{k1:p,k2:d}},L.prototype.pointFromX=function(_,q){if(_=new K(_,16),!_.red)_=_.toRed(this.red);var P=_.redSqr().redMul(_).redIAdd(_.redMul(this.a)).redIAdd(this.b),v=P.redSqrt();if(v.redSqr().redSub(P).cmp(this.zero)!==0)throw Error("invalid point");var N=v.fromRed().isOdd();if(q&&!N||!q&&N)v=v.redNeg();return this.point(_,v)},L.prototype.validate=function(_){if(_.inf)return!0;var{x:q,y:P}=_,v=this.a.redMul(q),N=q.redSqr().redMul(q).redIAdd(v).redIAdd(this.b);return P.redSqr().redISub(N).cmpn(0)===0},L.prototype._endoWnafMulAdd=function(_,q,P){var v=this._endoWnafT1,N=this._endoWnafT2;for(var y=0;y<_.length;y++){var w=this._endoSplit(q[y]),b=_[y],g=b._getBeta();if(w.k1.negative)w.k1.ineg(),b=b.neg(!0);if(w.k2.negative)w.k2.ineg(),g=g.neg(!0);v[y*2]=b,v[y*2+1]=g,N[y*2]=w.k1,N[y*2+1]=w.k2}var u=this._wnafMulAdd(1,v,N,y*2,P);for(var p=0;p<y*2;p++)v[p]=null,N[p]=null;return u};function j(_,q,P,v){if(z.BasePoint.call(this,_,"affine"),q===null&&P===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new K(q,16),this.y=new K(P,16),v)this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);this.inf=!1}}X(j,z.BasePoint),L.prototype.point=function(_,q,P){return new j(this,_,q,P)},L.prototype.pointFromJSON=function(_,q){return j.fromJSON(this,_,q)},j.prototype._getBeta=function(){if(!this.curve.endo)return;var _=this.precomputed;if(_&&_.beta)return _.beta;var q=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(_){var P=this.curve,v=function(N){return P.point(N.x.redMul(P.endo.beta),N.y)};_.beta=q,q.precomputed={beta:null,naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(v)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(v)}}}return q},j.prototype.toJSON=function(){if(!this.precomputed)return[this.x,this.y];return[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]},j.fromJSON=function(_,q,P){if(typeof q==="string")q=JSON.parse(q);var v=_.point(q[0],q[1],P);if(!q[2])return v;function N(w){return _.point(w[0],w[1],P)}var y=q[2];return v.precomputed={beta:null,doubles:y.doubles&&{step:y.doubles.step,points:[v].concat(y.doubles.points.map(N))},naf:y.naf&&{wnd:y.naf.wnd,points:[v].concat(y.naf.points.map(N))}},v},j.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.inf},j.prototype.add=function(_){if(this.inf)return _;if(_.inf)return this;if(this.eq(_))return this.dbl();if(this.neg().eq(_))return this.curve.point(null,null);if(this.x.cmp(_.x)===0)return this.curve.point(null,null);var q=this.y.redSub(_.y);if(q.cmpn(0)!==0)q=q.redMul(this.x.redSub(_.x).redInvm());var P=q.redSqr().redISub(this.x).redISub(_.x),v=q.redMul(this.x.redSub(P)).redISub(this.y);return this.curve.point(P,v)},j.prototype.dbl=function(){if(this.inf)return this;var _=this.y.redAdd(this.y);if(_.cmpn(0)===0)return this.curve.point(null,null);var q=this.curve.a,P=this.x.redSqr(),v=_.redInvm(),N=P.redAdd(P).redIAdd(P).redIAdd(q).redMul(v),y=N.redSqr().redISub(this.x.redAdd(this.x)),w=N.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,w)},j.prototype.getX=function(){return this.x.fromRed()},j.prototype.getY=function(){return this.y.fromRed()},j.prototype.mul=function(_){if(_=new K(_,16),this.isInfinity())return this;else if(this._hasDoubles(_))return this.curve._fixedNafMul(this,_);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[_]);else return this.curve._wnafMul(this,_)},j.prototype.mulAdd=function(_,q,P){var v=[this,q],N=[_,P];if(this.curve.endo)return this.curve._endoWnafMulAdd(v,N);else return this.curve._wnafMulAdd(1,v,N,2)},j.prototype.jmulAdd=function(_,q,P){var v=[this,q],N=[_,P];if(this.curve.endo)return this.curve._endoWnafMulAdd(v,N,!0);else return this.curve._wnafMulAdd(1,v,N,2,!0)},j.prototype.eq=function(_){return this===_||this.inf===_.inf&&(this.inf||this.x.cmp(_.x)===0&&this.y.cmp(_.y)===0)},j.prototype.neg=function(_){if(this.inf)return this;var q=this.curve.point(this.x,this.y.redNeg());if(_&&this.precomputed){var P=this.precomputed,v=function(N){return N.neg()};q.precomputed={naf:P.naf&&{wnd:P.naf.wnd,points:P.naf.points.map(v)},doubles:P.doubles&&{step:P.doubles.step,points:P.doubles.points.map(v)}}}return q},j.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var _=this.curve.jpoint(this.x,this.y,this.curve.one);return _};function E(_,q,P,v){if(z.BasePoint.call(this,_,"jacobian"),q===null&&P===null&&v===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new K(0);else this.x=new K(q,16),this.y=new K(P,16),this.z=new K(v,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);this.zOne=this.z===this.curve.one}X(E,z.BasePoint),L.prototype.jpoint=function(_,q,P){return new E(this,_,q,P)},E.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var _=this.z.redInvm(),q=_.redSqr(),P=this.x.redMul(q),v=this.y.redMul(q).redMul(_);return this.curve.point(P,v)},E.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},E.prototype.add=function(_){if(this.isInfinity())return _;if(_.isInfinity())return this;var q=_.z.redSqr(),P=this.z.redSqr(),v=this.x.redMul(q),N=_.x.redMul(P),y=this.y.redMul(q.redMul(_.z)),w=_.y.redMul(P.redMul(this.z)),b=v.redSub(N),g=y.redSub(w);if(b.cmpn(0)===0)if(g.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var u=b.redSqr(),p=u.redMul(b),d=v.redMul(u),a=g.redSqr().redIAdd(p).redISub(d).redISub(d),F0=g.redMul(d.redISub(a)).redISub(y.redMul(p)),L0=this.z.redMul(_.z).redMul(b);return this.curve.jpoint(a,F0,L0)},E.prototype.mixedAdd=function(_){if(this.isInfinity())return _.toJ();if(_.isInfinity())return this;var q=this.z.redSqr(),P=this.x,v=_.x.redMul(q),N=this.y,y=_.y.redMul(q).redMul(this.z),w=P.redSub(v),b=N.redSub(y);if(w.cmpn(0)===0)if(b.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var g=w.redSqr(),u=g.redMul(w),p=P.redMul(g),d=b.redSqr().redIAdd(u).redISub(p).redISub(p),a=b.redMul(p.redISub(d)).redISub(N.redMul(u)),F0=this.z.redMul(w);return this.curve.jpoint(d,a,F0)},E.prototype.dblp=function(_){if(_===0)return this;if(this.isInfinity())return this;if(!_)return this.dbl();var q;if(this.curve.zeroA||this.curve.threeA){var P=this;for(q=0;q<_;q++)P=P.dbl();return P}var v=this.curve.a,N=this.curve.tinv,y=this.x,w=this.y,b=this.z,g=b.redSqr().redSqr(),u=w.redAdd(w);for(q=0;q<_;q++){var p=y.redSqr(),d=u.redSqr(),a=d.redSqr(),F0=p.redAdd(p).redIAdd(p).redIAdd(v.redMul(g)),L0=y.redMul(d),E0=F0.redSqr().redISub(L0.redAdd(L0)),t=L0.redISub(E0),C0=F0.redMul(t);C0=C0.redIAdd(C0).redISub(a);var Y=u.redMul(b);if(q+1<_)g=g.redMul(a);y=E0,b=Y,u=C0}return this.curve.jpoint(y,u.redMul(N),b)},E.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.zeroA)return this._zeroDbl();else if(this.curve.threeA)return this._threeDbl();else return this._dbl()},E.prototype._zeroDbl=function(){var _,q,P;if(this.zOne){var v=this.x.redSqr(),N=this.y.redSqr(),y=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(v).redISub(y);w=w.redIAdd(w);var b=v.redAdd(v).redIAdd(v),g=b.redSqr().redISub(w).redISub(w),u=y.redIAdd(y);u=u.redIAdd(u),u=u.redIAdd(u),_=g,q=b.redMul(w.redISub(g)).redISub(u),P=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),d=this.y.redSqr(),a=d.redSqr(),F0=this.x.redAdd(d).redSqr().redISub(p).redISub(a);F0=F0.redIAdd(F0);var L0=p.redAdd(p).redIAdd(p),E0=L0.redSqr(),t=a.redIAdd(a);t=t.redIAdd(t),t=t.redIAdd(t),_=E0.redISub(F0).redISub(F0),q=L0.redMul(F0.redISub(_)).redISub(t),P=this.y.redMul(this.z),P=P.redIAdd(P)}return this.curve.jpoint(_,q,P)},E.prototype._threeDbl=function(){var _,q,P;if(this.zOne){var v=this.x.redSqr(),N=this.y.redSqr(),y=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(v).redISub(y);w=w.redIAdd(w);var b=v.redAdd(v).redIAdd(v).redIAdd(this.curve.a),g=b.redSqr().redISub(w).redISub(w);_=g;var u=y.redIAdd(y);u=u.redIAdd(u),u=u.redIAdd(u),q=b.redMul(w.redISub(g)).redISub(u),P=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),d=this.y.redSqr(),a=this.x.redMul(d),F0=this.x.redSub(p).redMul(this.x.redAdd(p));F0=F0.redAdd(F0).redIAdd(F0);var L0=a.redIAdd(a);L0=L0.redIAdd(L0);var E0=L0.redAdd(L0);_=F0.redSqr().redISub(E0),P=this.y.redAdd(this.z).redSqr().redISub(d).redISub(p);var t=d.redSqr();t=t.redIAdd(t),t=t.redIAdd(t),t=t.redIAdd(t),q=F0.redMul(L0.redISub(_)).redISub(t)}return this.curve.jpoint(_,q,P)},E.prototype._dbl=function(){var _=this.curve.a,q=this.x,P=this.y,v=this.z,N=v.redSqr().redSqr(),y=q.redSqr(),w=P.redSqr(),b=y.redAdd(y).redIAdd(y).redIAdd(_.redMul(N)),g=q.redAdd(q);g=g.redIAdd(g);var u=g.redMul(w),p=b.redSqr().redISub(u.redAdd(u)),d=u.redISub(p),a=w.redSqr();a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var F0=b.redMul(d).redISub(a),L0=P.redAdd(P).redMul(v);return this.curve.jpoint(p,F0,L0)},E.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var _=this.x.redSqr(),q=this.y.redSqr(),P=this.z.redSqr(),v=q.redSqr(),N=_.redAdd(_).redIAdd(_),y=N.redSqr(),w=this.x.redAdd(q).redSqr().redISub(_).redISub(v);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(y);var b=w.redSqr(),g=v.redIAdd(v);g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g);var u=N.redIAdd(w).redSqr().redISub(y).redISub(b).redISub(g),p=q.redMul(u);p=p.redIAdd(p),p=p.redIAdd(p);var d=this.x.redMul(b).redISub(p);d=d.redIAdd(d),d=d.redIAdd(d);var a=this.y.redMul(u.redMul(g.redISub(u)).redISub(w.redMul(b)));a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var F0=this.z.redAdd(w).redSqr().redISub(P).redISub(b);return this.curve.jpoint(d,a,F0)},E.prototype.mul=function(_,q){return _=new K(_,q),this.curve._wnafMul(this,_)},E.prototype.eq=function(_){if(_.type==="affine")return this.eq(_.toJ());if(this===_)return!0;var q=this.z.redSqr(),P=_.z.redSqr();if(this.x.redMul(P).redISub(_.x.redMul(q)).cmpn(0)!==0)return!1;var v=q.redMul(this.z),N=P.redMul(_.z);return this.y.redMul(N).redISub(_.y.redMul(v)).cmpn(0)===0},E.prototype.eqXToP=function(_){var q=this.z.redSqr(),P=_.toRed(this.curve.red).redMul(q);if(this.x.cmp(P)===0)return!0;var v=_.clone(),N=this.curve.redN.redMul(q);for(;;){if(v.iadd(this.curve.n),v.cmp(this.curve.p)>=0)return!1;if(P.redIAdd(N),this.x.cmp(P)===0)return!0}},E.prototype.inspect=function(){if(this.isInfinity())return"<EC JPoint Infinity>";return"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},E.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),xw=u0((I,J)=>{var G=OI(),K=W4(),X=Fz(),z=w4();function O(j){X.call(this,"mont",j),this.a=new G(j.a,16).toRed(this.red),this.b=new G(j.b,16).toRed(this.red),this.i4=new G(4).toRed(this.red).redInvm(),this.two=new G(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}K(O,X),J.exports=O,O.prototype.validate=function(j){var E=j.normalize().x,_=E.redSqr(),q=_.redMul(E).redAdd(_.redMul(this.a)).redAdd(E),P=q.redSqrt();return P.redSqr().cmp(q)===0};function L(j,E,_){if(X.BasePoint.call(this,j,"projective"),E===null&&_===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new G(E,16),this.z=new G(_,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}K(L,X.BasePoint),O.prototype.decodePoint=function(j,E){return this.point(z.toArray(j,E),1)},O.prototype.point=function(j,E){return new L(this,j,E)},O.prototype.pointFromJSON=function(j){return L.fromJSON(this,j)},L.prototype.precompute=function(){},L.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},L.fromJSON=function(j,E){return new L(j,E[0],E[1]||j.one)},L.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},L.prototype.isInfinity=function(){return this.z.cmpn(0)===0},L.prototype.dbl=function(){var j=this.x.redAdd(this.z),E=j.redSqr(),_=this.x.redSub(this.z),q=_.redSqr(),P=E.redSub(q),v=E.redMul(q),N=P.redMul(q.redAdd(this.curve.a24.redMul(P)));return this.curve.point(v,N)},L.prototype.add=function(){throw Error("Not supported on Montgomery curve")},L.prototype.diffAdd=function(j,E){var _=this.x.redAdd(this.z),q=this.x.redSub(this.z),P=j.x.redAdd(j.z),v=j.x.redSub(j.z),N=v.redMul(_),y=P.redMul(q),w=E.z.redMul(N.redAdd(y).redSqr()),b=E.x.redMul(N.redISub(y).redSqr());return this.curve.point(w,b)},L.prototype.mul=function(j){var E=j.clone(),_=this,q=this.curve.point(null,null),P=this;for(var v=[];E.cmpn(0)!==0;E.iushrn(1))v.push(E.andln(1));for(var N=v.length-1;N>=0;N--)if(v[N]===0)_=_.diffAdd(q,P),q=q.dbl();else q=_.diffAdd(q,P),_=_.dbl();return q},L.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.eq=function(j){return this.getX().cmp(j.getX())===0},L.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},L.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}),ww=u0((I,J)=>{var G=w4(),K=OI(),X=W4(),z=Fz(),O=G.assert;function L(E){this.twisted=(E.a|0)!==1,this.mOneA=this.twisted&&(E.a|0)===-1,this.extended=this.mOneA,z.call(this,"edwards",E),this.a=new K(E.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new K(E.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new K(E.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),O(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(E.c|0)===1}X(L,z),J.exports=L,L.prototype._mulA=function(E){if(this.mOneA)return E.redNeg();else return this.a.redMul(E)},L.prototype._mulC=function(E){if(this.oneC)return E;else return this.c.redMul(E)},L.prototype.jpoint=function(E,_,q,P){return this.point(E,_,q,P)},L.prototype.pointFromX=function(E,_){if(E=new K(E,16),!E.red)E=E.toRed(this.red);var q=E.redSqr(),P=this.c2.redSub(this.a.redMul(q)),v=this.one.redSub(this.c2.redMul(this.d).redMul(q)),N=P.redMul(v.redInvm()),y=N.redSqrt();if(y.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");var w=y.fromRed().isOdd();if(_&&!w||!_&&w)y=y.redNeg();return this.point(E,y)},L.prototype.pointFromY=function(E,_){if(E=new K(E,16),!E.red)E=E.toRed(this.red);var q=E.redSqr(),P=q.redSub(this.c2),v=q.redMul(this.d).redMul(this.c2).redSub(this.a),N=P.redMul(v.redInvm());if(N.cmp(this.zero)===0)if(_)throw Error("invalid point");else return this.point(this.zero,E);var y=N.redSqrt();if(y.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");if(y.fromRed().isOdd()!==_)y=y.redNeg();return this.point(y,E)},L.prototype.validate=function(E){if(E.isInfinity())return!0;E.normalize();var _=E.x.redSqr(),q=E.y.redSqr(),P=_.redMul(this.a).redAdd(q),v=this.c2.redMul(this.one.redAdd(this.d.redMul(_).redMul(q)));return P.cmp(v)===0};function j(E,_,q,P,v){if(z.BasePoint.call(this,E,"projective"),_===null&&q===null&&P===null)this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0;else{if(this.x=new K(_,16),this.y=new K(q,16),this.z=P?new K(P,16):this.curve.one,this.t=v&&new K(v,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);if(this.t&&!this.t.red)this.t=this.t.toRed(this.curve.red);if(this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t){if(this.t=this.x.redMul(this.y),!this.zOne)this.t=this.t.redMul(this.z.redInvm())}}}X(j,z.BasePoint),L.prototype.pointFromJSON=function(E){return j.fromJSON(this,E)},L.prototype.point=function(E,_,q,P){return new j(this,E,_,q,P)},j.fromJSON=function(E,_){return new j(E,_[0],_[1],_[2])},j.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},j.prototype._extDbl=function(){var E=this.x.redSqr(),_=this.y.redSqr(),q=this.z.redSqr();q=q.redIAdd(q);var P=this.curve._mulA(E),v=this.x.redAdd(this.y).redSqr().redISub(E).redISub(_),N=P.redAdd(_),y=N.redSub(q),w=P.redSub(_),b=v.redMul(y),g=N.redMul(w),u=v.redMul(w),p=y.redMul(N);return this.curve.point(b,g,p,u)},j.prototype._projDbl=function(){var E=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),q=this.y.redSqr(),P,v,N,y,w,b;if(this.curve.twisted){y=this.curve._mulA(_);var g=y.redAdd(q);if(this.zOne)P=E.redSub(_).redSub(q).redMul(g.redSub(this.curve.two)),v=g.redMul(y.redSub(q)),N=g.redSqr().redSub(g).redSub(g);else w=this.z.redSqr(),b=g.redSub(w).redISub(w),P=E.redSub(_).redISub(q).redMul(b),v=g.redMul(y.redSub(q)),N=g.redMul(b)}else y=_.redAdd(q),w=this.curve._mulC(this.z).redSqr(),b=y.redSub(w).redSub(w),P=this.curve._mulC(E.redISub(y)).redMul(b),v=this.curve._mulC(y).redMul(_.redISub(q)),N=y.redMul(b);return this.curve.point(P,v,N)},j.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},j.prototype._extAdd=function(E){var _=this.y.redSub(this.x).redMul(E.y.redSub(E.x)),q=this.y.redAdd(this.x).redMul(E.y.redAdd(E.x)),P=this.t.redMul(this.curve.dd).redMul(E.t),v=this.z.redMul(E.z.redAdd(E.z)),N=q.redSub(_),y=v.redSub(P),w=v.redAdd(P),b=q.redAdd(_),g=N.redMul(y),u=w.redMul(b),p=N.redMul(b),d=y.redMul(w);return this.curve.point(g,u,d,p)},j.prototype._projAdd=function(E){var _=this.z.redMul(E.z),q=_.redSqr(),P=this.x.redMul(E.x),v=this.y.redMul(E.y),N=this.curve.d.redMul(P).redMul(v),y=q.redSub(N),w=q.redAdd(N),b=this.x.redAdd(this.y).redMul(E.x.redAdd(E.y)).redISub(P).redISub(v),g=_.redMul(y).redMul(b),u,p;if(this.curve.twisted)u=_.redMul(w).redMul(v.redSub(this.curve._mulA(P))),p=y.redMul(w);else u=_.redMul(w).redMul(v.redSub(P)),p=this.curve._mulC(y).redMul(w);return this.curve.point(g,u,p)},j.prototype.add=function(E){if(this.isInfinity())return E;if(E.isInfinity())return this;if(this.curve.extended)return this._extAdd(E);else return this._projAdd(E)},j.prototype.mul=function(E){if(this._hasDoubles(E))return this.curve._fixedNafMul(this,E);else return this.curve._wnafMul(this,E)},j.prototype.mulAdd=function(E,_,q){return this.curve._wnafMulAdd(1,[this,_],[E,q],2,!1)},j.prototype.jmulAdd=function(E,_,q){return this.curve._wnafMulAdd(1,[this,_],[E,q],2,!0)},j.prototype.normalize=function(){if(this.zOne)return this;var E=this.z.redInvm();if(this.x=this.x.redMul(E),this.y=this.y.redMul(E),this.t)this.t=this.t.redMul(E);return this.z=this.curve.one,this.zOne=!0,this},j.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},j.prototype.getX=function(){return this.normalize(),this.x.fromRed()},j.prototype.getY=function(){return this.normalize(),this.y.fromRed()},j.prototype.eq=function(E){return this===E||this.getX().cmp(E.getX())===0&&this.getY().cmp(E.getY())===0},j.prototype.eqXToP=function(E){var _=E.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(_)===0)return!0;var q=E.clone(),P=this.curve.redN.redMul(this.z);for(;;){if(q.iadd(this.curve.n),q.cmp(this.curve.p)>=0)return!1;if(_.redIAdd(P),this.x.cmp(_)===0)return!0}},j.prototype.toP=j.prototype.normalize,j.prototype.mixedAdd=j.prototype.add}),l_=u0((I)=>{var J=I;J.base=Fz(),J.short=gw(),J.mont=xw(),J.edwards=ww()}),S1=u0((I)=>{var J=IX(),G=W4();I.inherits=G;function K(D,H){if((D.charCodeAt(H)&64512)!==55296)return!1;if(H<0||H+1>=D.length)return!1;return(D.charCodeAt(H+1)&64512)===56320}function X(D,H){if(Array.isArray(D))return D.slice();if(!D)return[];var V=[];if(typeof D==="string"){if(!H){var F=0;for(var T=0;T<D.length;T++){var S=D.charCodeAt(T);if(S<128)V[F++]=S;else if(S<2048)V[F++]=S>>6|192,V[F++]=S&63|128;else if(K(D,T))S=65536+((S&1023)<<10)+(D.charCodeAt(++T)&1023),V[F++]=S>>18|240,V[F++]=S>>12&63|128,V[F++]=S>>6&63|128,V[F++]=S&63|128;else V[F++]=S>>12|224,V[F++]=S>>6&63|128,V[F++]=S&63|128}}else if(H==="hex"){if(D=D.replace(/[^a-z0-9]+/ig,""),D.length%2!==0)D="0"+D;for(T=0;T<D.length;T+=2)V.push(parseInt(D[T]+D[T+1],16))}}else for(T=0;T<D.length;T++)V[T]=D[T]|0;return V}I.toArray=X;function z(D){var H="";for(var V=0;V<D.length;V++)H+=j(D[V].toString(16));return H}I.toHex=z;function O(D){var H=D>>>24|D>>>8&65280|D<<8&16711680|(D&255)<<24;return H>>>0}I.htonl=O;function L(D,H){var V="";for(var F=0;F<D.length;F++){var T=D[F];if(H==="little")T=O(T);V+=E(T.toString(16))}return V}I.toHex32=L;function j(D){if(D.length===1)return"0"+D;else return D}I.zero2=j;function E(D){if(D.length===7)return"0"+D;else if(D.length===6)return"00"+D;else if(D.length===5)return"000"+D;else if(D.length===4)return"0000"+D;else if(D.length===3)return"00000"+D;else if(D.length===2)return"000000"+D;else if(D.length===1)return"0000000"+D;else return D}I.zero8=E;function _(D,H,V,F){var T=V-H;J(T%4===0);var S=Array(T/4);for(var A=0,Z=H;A<S.length;A++,Z+=4){var C;if(F==="big")C=D[Z]<<24|D[Z+1]<<16|D[Z+2]<<8|D[Z+3];else C=D[Z+3]<<24|D[Z+2]<<16|D[Z+1]<<8|D[Z];S[A]=C>>>0}return S}I.join32=_;function q(D,H){var V=Array(D.length*4);for(var F=0,T=0;F<D.length;F++,T+=4){var S=D[F];if(H==="big")V[T]=S>>>24,V[T+1]=S>>>16&255,V[T+2]=S>>>8&255,V[T+3]=S&255;else V[T+3]=S>>>24,V[T+2]=S>>>16&255,V[T+1]=S>>>8&255,V[T]=S&255}return V}I.split32=q;function P(D,H){return D>>>H|D<<32-H}I.rotr32=P;function v(D,H){return D<<H|D>>>32-H}I.rotl32=v;function N(D,H){return D+H>>>0}I.sum32=N;function y(D,H,V){return D+H+V>>>0}I.sum32_3=y;function w(D,H,V,F){return D+H+V+F>>>0}I.sum32_4=w;function b(D,H,V,F,T){return D+H+V+F+T>>>0}I.sum32_5=b;function g(D,H,V,F){var T=D[H],S=D[H+1],A=F+S>>>0,Z=(A<F?1:0)+V+T;D[H]=Z>>>0,D[H+1]=A}I.sum64=g;function u(D,H,V,F){var T=H+F>>>0,S=(T<H?1:0)+D+V;return S>>>0}I.sum64_hi=u;function p(D,H,V,F){var T=H+F;return T>>>0}I.sum64_lo=p;function d(D,H,V,F,T,S,A,Z){var C=0,x=H;x=x+F>>>0,C+=x<H?1:0,x=x+S>>>0,C+=x<S?1:0,x=x+Z>>>0,C+=x<Z?1:0;var B=D+V+T+A+C;return B>>>0}I.sum64_4_hi=d;function a(D,H,V,F,T,S,A,Z){var C=H+F+S+Z;return C>>>0}I.sum64_4_lo=a;function F0(D,H,V,F,T,S,A,Z,C,x){var B=0,h=H;h=h+F>>>0,B+=h<H?1:0,h=h+S>>>0,B+=h<S?1:0,h=h+Z>>>0,B+=h<Z?1:0,h=h+x>>>0,B+=h<x?1:0;var r=D+V+T+A+C+B;return r>>>0}I.sum64_5_hi=F0;function L0(D,H,V,F,T,S,A,Z,C,x){var B=H+F+S+Z+x;return B>>>0}I.sum64_5_lo=L0;function E0(D,H,V){var F=H<<32-V|D>>>V;return F>>>0}I.rotr64_hi=E0;function t(D,H,V){var F=D<<32-V|H>>>V;return F>>>0}I.rotr64_lo=t;function C0(D,H,V){return D>>>V}I.shr64_hi=C0;function Y(D,H,V){var F=D<<32-V|H>>>V;return F>>>0}I.shr64_lo=Y}),sG=u0((I)=>{var J=S1(),G=IX();function K(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}I.BlockHash=K,K.prototype.update=function(X,z){if(X=J.toArray(X,z),!this.pending)this.pending=X;else this.pending=this.pending.concat(X);if(this.pendingTotal+=X.length,this.pending.length>=this._delta8){X=this.pending;var O=X.length%this._delta8;if(this.pending=X.slice(X.length-O,X.length),this.pending.length===0)this.pending=null;X=J.join32(X,0,X.length-O,this.endian);for(var L=0;L<X.length;L+=this._delta32)this._update(X,L,L+this._delta32)}return this},K.prototype.digest=function(X){return this.update(this._pad()),G(this.pending===null),this._digest(X)},K.prototype._pad=function(){var X=this.pendingTotal,z=this._delta8,O=z-(X+this.padLength)%z,L=Array(O+this.padLength);L[0]=128;for(var j=1;j<O;j++)L[j]=0;if(X<<=3,this.endian==="big"){for(var E=8;E<this.padLength;E++)L[j++]=0;L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=X>>>24&255,L[j++]=X>>>16&255,L[j++]=X>>>8&255,L[j++]=X&255}else{L[j++]=X&255,L[j++]=X>>>8&255,L[j++]=X>>>16&255,L[j++]=X>>>24&255,L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=0;for(E=8;E<this.padLength;E++)L[j++]=0}return L}}),d_=u0((I)=>{var J=S1(),G=J.rotr32;function K(q,P,v,N){if(q===0)return X(P,v,N);if(q===1||q===3)return O(P,v,N);if(q===2)return z(P,v,N)}I.ft_1=K;function X(q,P,v){return q&P^~q&v}I.ch32=X;function z(q,P,v){return q&P^q&v^P&v}I.maj32=z;function O(q,P,v){return q^P^v}I.p32=O;function L(q){return G(q,2)^G(q,13)^G(q,22)}I.s0_256=L;function j(q){return G(q,6)^G(q,11)^G(q,25)}I.s1_256=j;function E(q){return G(q,7)^G(q,18)^q>>>3}I.g0_256=E;function _(q){return G(q,17)^G(q,19)^q>>>10}I.g1_256=_}),fw=u0((I,J)=>{var G=S1(),K=sG(),X=d_(),z=G.rotl32,O=G.sum32,L=G.sum32_5,j=X.ft_1,E=K.BlockHash,_=[1518500249,1859775393,2400959708,3395469782];function q(){if(!(this instanceof q))return new q;E.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}G.inherits(q,E),J.exports=q,q.blockSize=512,q.outSize=160,q.hmacStrength=80,q.padLength=64,q.prototype._update=function(P,v){var N=this.W;for(var y=0;y<16;y++)N[y]=P[v+y];for(;y<N.length;y++)N[y]=z(N[y-3]^N[y-8]^N[y-14]^N[y-16],1);var w=this.h[0],b=this.h[1],g=this.h[2],u=this.h[3],p=this.h[4];for(y=0;y<N.length;y++){var d=~~(y/20),a=L(z(w,5),j(d,b,g,u),p,N[y],_[d]);p=u,u=g,g=z(b,30),b=w,w=a}this.h[0]=O(this.h[0],w),this.h[1]=O(this.h[1],b),this.h[2]=O(this.h[2],g),this.h[3]=O(this.h[3],u),this.h[4]=O(this.h[4],p)},q.prototype._digest=function(P){if(P==="hex")return G.toHex32(this.h,"big");else return G.split32(this.h,"big")}}),n_=u0((I,J)=>{var G=S1(),K=sG(),X=d_(),z=IX(),O=G.sum32,L=G.sum32_4,j=G.sum32_5,E=X.ch32,_=X.maj32,q=X.s0_256,P=X.s1_256,v=X.g0_256,N=X.g1_256,y=K.BlockHash,w=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=w,this.W=Array(64)}G.inherits(b,y),J.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(g,u){var p=this.W;for(var d=0;d<16;d++)p[d]=g[u+d];for(;d<p.length;d++)p[d]=L(N(p[d-2]),p[d-7],v(p[d-15]),p[d-16]);var a=this.h[0],F0=this.h[1],L0=this.h[2],E0=this.h[3],t=this.h[4],C0=this.h[5],Y=this.h[6],D=this.h[7];z(this.k.length===p.length);for(d=0;d<p.length;d++){var H=j(D,P(t),E(t,C0,Y),this.k[d],p[d]),V=O(q(a),_(a,F0,L0));D=Y,Y=C0,C0=t,t=O(E0,H),E0=L0,L0=F0,F0=a,a=O(H,V)}this.h[0]=O(this.h[0],a),this.h[1]=O(this.h[1],F0),this.h[2]=O(this.h[2],L0),this.h[3]=O(this.h[3],E0),this.h[4]=O(this.h[4],t),this.h[5]=O(this.h[5],C0),this.h[6]=O(this.h[6],Y),this.h[7]=O(this.h[7],D)},b.prototype._digest=function(g){if(g==="hex")return G.toHex32(this.h,"big");else return G.split32(this.h,"big")}}),yw=u0((I,J)=>{var G=S1(),K=n_();function X(){if(!(this instanceof X))return new X;K.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}G.inherits(X,K),J.exports=X,X.blockSize=512,X.outSize=224,X.hmacStrength=192,X.padLength=64,X.prototype._digest=function(z){if(z==="hex")return G.toHex32(this.h.slice(0,7),"big");else return G.split32(this.h.slice(0,7),"big")}}),o_=u0((I,J)=>{var G=S1(),K=sG(),X=IX(),z=G.rotr64_hi,O=G.rotr64_lo,L=G.shr64_hi,j=G.shr64_lo,E=G.sum64,_=G.sum64_hi,q=G.sum64_lo,P=G.sum64_4_hi,v=G.sum64_4_lo,N=G.sum64_5_hi,y=G.sum64_5_lo,w=K.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function g(){if(!(this instanceof g))return new g;w.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=Array(160)}G.inherits(g,w),J.exports=g,g.blockSize=1024,g.outSize=512,g.hmacStrength=192,g.padLength=128,g.prototype._prepareBlock=function(V,F){var T=this.W;for(var S=0;S<32;S++)T[S]=V[F+S];for(;S<T.length;S+=2){var A=D(T[S-4],T[S-3]),Z=H(T[S-4],T[S-3]),C=T[S-14],x=T[S-13],B=C0(T[S-30],T[S-29]),h=Y(T[S-30],T[S-29]),r=T[S-32],U0=T[S-31];T[S]=P(A,Z,C,x,B,h,r,U0),T[S+1]=v(A,Z,C,x,B,h,r,U0)}},g.prototype._update=function(V,F){this._prepareBlock(V,F);var T=this.W,S=this.h[0],A=this.h[1],Z=this.h[2],C=this.h[3],x=this.h[4],B=this.h[5],h=this.h[6],r=this.h[7],U0=this.h[8],z0=this.h[9],Q0=this.h[10],s=this.h[11],e=this.h[12],J0=this.h[13],O0=this.h[14],A0=this.h[15];X(this.k.length===T.length);for(var $0=0;$0<T.length;$0+=2){var c=O0,n=A0,H0=E0(U0,z0),Y0=t(U0,z0),V0=u(U0,z0,Q0,s,e,J0),N0=p(U0,z0,Q0,s,e,J0),I0=this.k[$0],K0=this.k[$0+1],U$=T[$0],M0=T[$0+1],v0=N(c,n,H0,Y0,V0,N0,I0,K0,U$,M0),L$=y(c,n,H0,Y0,V0,N0,I0,K0,U$,M0);c=F0(S,A),n=L0(S,A),H0=d(S,A,Z,C,x,B),Y0=a(S,A,Z,C,x,B);var p0=_(c,n,H0,Y0),c0=q(c,n,H0,Y0);O0=e,A0=J0,e=Q0,J0=s,Q0=U0,s=z0,U0=_(h,r,v0,L$),z0=q(r,r,v0,L$),h=x,r=B,x=Z,B=C,Z=S,C=A,S=_(v0,L$,p0,c0),A=q(v0,L$,p0,c0)}E(this.h,0,S,A),E(this.h,2,Z,C),E(this.h,4,x,B),E(this.h,6,h,r),E(this.h,8,U0,z0),E(this.h,10,Q0,s),E(this.h,12,e,J0),E(this.h,14,O0,A0)},g.prototype._digest=function(V){if(V==="hex")return G.toHex32(this.h,"big");else return G.split32(this.h,"big")};function u(V,F,T,S,A){var Z=V&T^~V&A;if(Z<0)Z+=4294967296;return Z}function p(V,F,T,S,A,Z){var C=F&S^~F&Z;if(C<0)C+=4294967296;return C}function d(V,F,T,S,A){var Z=V&T^V&A^T&A;if(Z<0)Z+=4294967296;return Z}function a(V,F,T,S,A,Z){var C=F&S^F&Z^S&Z;if(C<0)C+=4294967296;return C}function F0(V,F){var T=z(V,F,28),S=z(F,V,2),A=z(F,V,7),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function L0(V,F){var T=O(V,F,28),S=O(F,V,2),A=O(F,V,7),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function E0(V,F){var T=z(V,F,14),S=z(V,F,18),A=z(F,V,9),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function t(V,F){var T=O(V,F,14),S=O(V,F,18),A=O(F,V,9),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function C0(V,F){var T=z(V,F,1),S=z(V,F,8),A=L(V,F,7),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function Y(V,F){var T=O(V,F,1),S=O(V,F,8),A=j(V,F,7),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function D(V,F){var T=z(V,F,19),S=z(F,V,29),A=L(V,F,6),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}function H(V,F){var T=O(V,F,19),S=O(F,V,29),A=j(V,F,6),Z=T^S^A;if(Z<0)Z+=4294967296;return Z}}),uw=u0((I,J)=>{var G=S1(),K=o_();function X(){if(!(this instanceof X))return new X;K.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}G.inherits(X,K),J.exports=X,X.blockSize=1024,X.outSize=384,X.hmacStrength=192,X.padLength=128,X.prototype._digest=function(z){if(z==="hex")return G.toHex32(this.h.slice(0,12),"big");else return G.split32(this.h.slice(0,12),"big")}}),bw=u0((I)=>{I.sha1=fw(),I.sha224=yw(),I.sha256=n_(),I.sha384=uw(),I.sha512=o_()}),hw=u0((I)=>{var J=S1(),G=sG(),K=J.rotl32,X=J.sum32,z=J.sum32_3,O=J.sum32_4,L=G.BlockHash;function j(){if(!(this instanceof j))return new j;L.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}J.inherits(j,L),I.ripemd160=j,j.blockSize=512,j.outSize=160,j.hmacStrength=192,j.padLength=64,j.prototype._update=function(w,b){var g=this.h[0],u=this.h[1],p=this.h[2],d=this.h[3],a=this.h[4],F0=g,L0=u,E0=p,t=d,C0=a;for(var Y=0;Y<80;Y++){var D=X(K(O(g,E(Y,u,p,d),w[P[Y]+b],_(Y)),N[Y]),a);g=a,a=d,d=K(p,10),p=u,u=D,D=X(K(O(F0,E(79-Y,L0,E0,t),w[v[Y]+b],q(Y)),y[Y]),C0),F0=C0,C0=t,t=K(E0,10),E0=L0,L0=D}D=z(this.h[1],p,t),this.h[1]=z(this.h[2],d,C0),this.h[2]=z(this.h[3],a,F0),this.h[3]=z(this.h[4],g,L0),this.h[4]=z(this.h[0],u,E0),this.h[0]=D},j.prototype._digest=function(w){if(w==="hex")return J.toHex32(this.h,"little");else return J.split32(this.h,"little")};function E(w,b,g,u){if(w<=15)return b^g^u;else if(w<=31)return b&g|~b&u;else if(w<=47)return(b|~g)^u;else if(w<=63)return b&u|g&~u;else return b^(g|~u)}function _(w){if(w<=15)return 0;else if(w<=31)return 1518500249;else if(w<=47)return 1859775393;else if(w<=63)return 2400959708;else return 2840853838}function q(w){if(w<=15)return 1352829926;else if(w<=31)return 1548603684;else if(w<=47)return 1836072691;else if(w<=63)return 2053994217;else return 0}var P=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],v=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],N=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),cw=u0((I,J)=>{var G=S1(),K=IX();function X(z,O,L){if(!(this instanceof X))return new X(z,O,L);this.Hash=z,this.blockSize=z.blockSize/8,this.outSize=z.outSize/8,this.inner=null,this.outer=null,this._init(G.toArray(O,L))}J.exports=X,X.prototype._init=function(z){if(z.length>this.blockSize)z=new this.Hash().update(z).digest();K(z.length<=this.blockSize);for(var O=z.length;O<this.blockSize;O++)z.push(0);for(O=0;O<z.length;O++)z[O]^=54;this.inner=new this.Hash().update(z);for(O=0;O<z.length;O++)z[O]^=106;this.outer=new this.Hash().update(z)},X.prototype.update=function(z,O){return this.inner.update(z,O),this},X.prototype.digest=function(z){return this.outer.update(this.inner.digest()),this.outer.digest(z)}}),ZF=u0((I)=>{var J=I;J.utils=S1(),J.common=sG(),J.sha=bw(),J.ripemd=hw(),J.hmac=cw(),J.sha1=J.sha.sha1,J.sha256=J.sha.sha256,J.sha224=J.sha.sha224,J.sha384=J.sha.sha384,J.sha512=J.sha.sha512,J.ripemd160=J.ripemd.ripemd160}),pw=u0((I,J)=>{J.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}),zF=u0((I)=>{var J=I,G=ZF(),K=l_(),X=w4(),z=X.assert;function O(E){if(E.type==="short")this.curve=new K.short(E);else if(E.type==="edwards")this.curve=new K.edwards(E);else this.curve=new K.mont(E);this.g=this.curve.g,this.n=this.curve.n,this.hash=E.hash,z(this.g.validate(),"Invalid curve"),z(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}J.PresetCurve=O;function L(E,_){Object.defineProperty(J,E,{configurable:!0,enumerable:!0,get:function(){var q=new O(_);return Object.defineProperty(J,E,{configurable:!0,enumerable:!0,value:q}),q}})}L("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:G.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),L("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:G.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),L("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:G.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),L("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:G.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),L("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:G.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),L("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:G.sha256,gRed:!1,g:["9"]}),L("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:G.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var j;try{j=pw()}catch(E){j=void 0}L("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:G.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",j]})}),mw=u0((I,J)=>{var G=ZF(),K=p_(),X=IX();function z(O){if(!(this instanceof z))return new z(O);this.hash=O.hash,this.predResist=!!O.predResist,this.outLen=this.hash.outSize,this.minEntropy=O.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var L=K.toArray(O.entropy,O.entropyEnc||"hex"),j=K.toArray(O.nonce,O.nonceEnc||"hex"),E=K.toArray(O.pers,O.persEnc||"hex");X(L.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(L,j,E)}J.exports=z,z.prototype._init=function(O,L,j){var E=O.concat(L).concat(j);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var _=0;_<this.V.length;_++)this.K[_]=0,this.V[_]=1;this._update(E),this._reseed=1,this.reseedInterval=281474976710656},z.prototype._hmac=function(){return new G.hmac(this.hash,this.K)},z.prototype._update=function(O){var L=this._hmac().update(this.V).update([0]);if(O)L=L.update(O);if(this.K=L.digest(),this.V=this._hmac().update(this.V).digest(),!O)return;this.K=this._hmac().update(this.V).update([1]).update(O).digest(),this.V=this._hmac().update(this.V).digest()},z.prototype.reseed=function(O,L,j,E){if(typeof L!=="string")E=j,j=L,L=null;O=K.toArray(O,L),j=K.toArray(j,E),X(O.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(O.concat(j||[])),this._reseed=1},z.prototype.generate=function(O,L,j,E){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof L!=="string")E=j,j=L,L=null;if(j)j=K.toArray(j,E||"hex"),this._update(j);var _=[];while(_.length<O)this.V=this._hmac().update(this.V).digest(),_=_.concat(this.V);var q=_.slice(0,O);return this._update(j),this._reseed++,K.encode(q,L)}}),lw=u0((I,J)=>{var G=OI(),K=w4(),X=K.assert;function z(O,L){if(this.ec=O,this.priv=null,this.pub=null,L.priv)this._importPrivate(L.priv,L.privEnc);if(L.pub)this._importPublic(L.pub,L.pubEnc)}J.exports=z,z.fromPublic=function(O,L,j){if(L instanceof z)return L;return new z(O,{pub:L,pubEnc:j})},z.fromPrivate=function(O,L,j){if(L instanceof z)return L;return new z(O,{priv:L,privEnc:j})},z.prototype.validate=function(){var O=this.getPublic();if(O.isInfinity())return{result:!1,reason:"Invalid public key"};if(!O.validate())return{result:!1,reason:"Public key is not a point"};if(!O.mul(this.ec.curve.n).isInfinity())return{result:!1,reason:"Public key * N != O"};return{result:!0,reason:null}},z.prototype.getPublic=function(O,L){if(typeof O==="string")L=O,O=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!L)return this.pub;return this.pub.encode(L,O)},z.prototype.getPrivate=function(O){if(O==="hex")return this.priv.toString(16,2);else return this.priv},z.prototype._importPrivate=function(O,L){this.priv=new G(O,L||16),this.priv=this.priv.umod(this.ec.curve.n)},z.prototype._importPublic=function(O,L){if(O.x||O.y){if(this.ec.curve.type==="mont")X(O.x,"Need x coordinate");else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")X(O.x&&O.y,"Need both x and y coordinate");this.pub=this.ec.curve.point(O.x,O.y);return}this.pub=this.ec.curve.decodePoint(O,L)},z.prototype.derive=function(O){if(!O.validate())X(O.validate(),"public point not validated");return O.mul(this.priv).getX()},z.prototype.sign=function(O,L,j){return this.ec.sign(O,this,L,j)},z.prototype.verify=function(O,L,j){return this.ec.verify(O,L,this,void 0,j)},z.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),dw=u0((I,J)=>{var G=OI(),K=w4(),X=K.assert;function z(_,q){if(_ instanceof z)return _;if(this._importDER(_,q))return;if(X(_.r&&_.s,"Signature without r or s"),this.r=new G(_.r,16),this.s=new G(_.s,16),_.recoveryParam===void 0)this.recoveryParam=null;else this.recoveryParam=_.recoveryParam}J.exports=z;function O(){this.place=0}function L(_,q){var P=_[q.place++];if(!(P&128))return P;var v=P&15;if(v===0||v>4)return!1;if(_[q.place]===0)return!1;var N=0;for(var y=0,w=q.place;y<v;y++,w++)N<<=8,N|=_[w],N>>>=0;if(N<=127)return!1;return q.place=w,N}function j(_){var q=0,P=_.length-1;while(!_[q]&&!(_[q+1]&128)&&q<P)q++;if(q===0)return _;return _.slice(q)}z.prototype._importDER=function(_,q){_=K.toArray(_,q);var P=new O;if(_[P.place++]!==48)return!1;var v=L(_,P);if(v===!1)return!1;if(v+P.place!==_.length)return!1;if(_[P.place++]!==2)return!1;var N=L(_,P);if(N===!1)return!1;if((_[P.place]&128)!==0)return!1;var y=_.slice(P.place,N+P.place);if(P.place+=N,_[P.place++]!==2)return!1;var w=L(_,P);if(w===!1)return!1;if(_.length!==w+P.place)return!1;if((_[P.place]&128)!==0)return!1;var b=_.slice(P.place,w+P.place);if(y[0]===0)if(y[1]&128)y=y.slice(1);else return!1;if(b[0]===0)if(b[1]&128)b=b.slice(1);else return!1;return this.r=new G(y),this.s=new G(b),this.recoveryParam=null,!0};function E(_,q){if(q<128){_.push(q);return}var P=1+(Math.log(q)/Math.LN2>>>3);_.push(P|128);while(--P)_.push(q>>>(P<<3)&255);_.push(q)}z.prototype.toDER=function(_){var q=this.r.toArray(),P=this.s.toArray();if(q[0]&128)q=[0].concat(q);if(P[0]&128)P=[0].concat(P);q=j(q),P=j(P);while(!P[0]&&!(P[1]&128))P=P.slice(1);var v=[2];E(v,q.length),v=v.concat(q),v.push(2),E(v,P.length);var N=v.concat(P),y=[48];return E(y,N.length),y=y.concat(N),K.encode(y,_)}}),nw=u0((I,J)=>{var G=OI(),K=mw(),X=w4(),z=zF(),O=m_(),L=X.assert,j=lw(),E=dw();function _(q){if(!(this instanceof _))return new _(q);if(typeof q==="string")L(Object.prototype.hasOwnProperty.call(z,q),"Unknown curve "+q),q=z[q];if(q instanceof z.PresetCurve)q={curve:q};this.curve=q.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=q.curve.g,this.g.precompute(q.curve.n.bitLength()+1),this.hash=q.hash||q.curve.hash}J.exports=_,_.prototype.keyPair=function(q){return new j(this,q)},_.prototype.keyFromPrivate=function(q,P){return j.fromPrivate(this,q,P)},_.prototype.keyFromPublic=function(q,P){return j.fromPublic(this,q,P)},_.prototype.genKeyPair=function(q){if(!q)q={};var P=new K({hash:this.hash,pers:q.pers,persEnc:q.persEnc||"utf8",entropy:q.entropy||O(this.hash.hmacStrength),entropyEnc:q.entropy&&q.entropyEnc||"utf8",nonce:this.n.toArray()}),v=this.n.byteLength(),N=this.n.sub(new G(2));for(;;){var y=new G(P.generate(v));if(y.cmp(N)>0)continue;return y.iaddn(1),this.keyFromPrivate(y)}},_.prototype._truncateToN=function(q,P,v){var N;if(G.isBN(q)||typeof q==="number")q=new G(q,16),N=q.byteLength();else if(typeof q==="object")N=q.length,q=new G(q,16);else{var y=q.toString();N=y.length+1>>>1,q=new G(y,16)}if(typeof v!=="number")v=N*8;var w=v-this.n.bitLength();if(w>0)q=q.ushrn(w);if(!P&&q.cmp(this.n)>=0)return q.sub(this.n);else return q},_.prototype.sign=function(q,P,v,N){if(typeof v==="object")N=v,v=null;if(!N)N={};if(typeof q!=="string"&&typeof q!=="number"&&!G.isBN(q)){L(typeof q==="object"&&q&&typeof q.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),L(q.length>>>0===q.length);for(var y=0;y<q.length;y++)L((q[y]&255)===q[y])}P=this.keyFromPrivate(P,v),q=this._truncateToN(q,!1,N.msgBitLength),L(!q.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),b=P.getPrivate().toArray("be",w),g=q.toArray("be",w);L(new G(g).eq(q),"Can not sign message");var u=new K({hash:this.hash,entropy:b,nonce:g,pers:N.pers,persEnc:N.persEnc||"utf8"}),p=this.n.sub(new G(1));for(var d=0;;d++){var a=N.k?N.k(d):new G(u.generate(this.n.byteLength()));if(a=this._truncateToN(a,!0),a.cmpn(1)<=0||a.cmp(p)>=0)continue;var F0=this.g.mul(a);if(F0.isInfinity())continue;var L0=F0.getX(),E0=L0.umod(this.n);if(E0.cmpn(0)===0)continue;var t=a.invm(this.n).mul(E0.mul(P.getPrivate()).iadd(q));if(t=t.umod(this.n),t.cmpn(0)===0)continue;var C0=(F0.getY().isOdd()?1:0)|(L0.cmp(E0)!==0?2:0);if(N.canonical&&t.cmp(this.nh)>0)t=this.n.sub(t),C0^=1;return new E({r:E0,s:t,recoveryParam:C0})}},_.prototype.verify=function(q,P,v,N,y){if(!y)y={};q=this._truncateToN(q,!1,y.msgBitLength),v=this.keyFromPublic(v,N),P=new E(P,"hex");var{r:w,s:b}=P;if(w.cmpn(1)<0||w.cmp(this.n)>=0)return!1;if(b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var g=b.invm(this.n),u=g.mul(q).umod(this.n),p=g.mul(w).umod(this.n),d;if(!this.curve._maxwellTrick){if(d=this.g.mulAdd(u,v.getPublic(),p),d.isInfinity())return!1;return d.getX().umod(this.n).cmp(w)===0}if(d=this.g.jmulAdd(u,v.getPublic(),p),d.isInfinity())return!1;return d.eqXToP(w)},_.prototype.recoverPubKey=function(q,P,v,N){L((3&v)===v,"The recovery param is more than two bits"),P=new E(P,N);var y=this.n,w=new G(q),b=P.r,g=P.s,u=v&1,p=v>>1;if(b.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw Error("Unable to find sencond key candinate");if(p)b=this.curve.pointFromX(b.add(this.curve.n),u);else b=this.curve.pointFromX(b,u);var d=P.r.invm(y),a=y.sub(w).mul(d).umod(y),F0=g.mul(d).umod(y);return this.g.mulAdd(a,b,F0)},_.prototype.getKeyRecoveryParam=function(q,P,v,N){if(P=new E(P,N),P.recoveryParam!==null)return P.recoveryParam;for(var y=0;y<4;y++){var w;try{w=this.recoverPubKey(q,P,y)}catch(b){continue}if(w.eq(v))return y}throw Error("Unable to find valid recovery factor")}}),ow=u0((I,J)=>{var G=w4(),K=G.assert,X=G.parseBytes,z=G.cachedProperty;function O(L,j){if(this.eddsa=L,this._secret=X(j.secret),L.isPoint(j.pub))this._pub=j.pub;else this._pubBytes=X(j.pub)}O.fromPublic=function(L,j){if(j instanceof O)return j;return new O(L,{pub:j})},O.fromSecret=function(L,j){if(j instanceof O)return j;return new O(L,{secret:j})},O.prototype.secret=function(){return this._secret},z(O,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),z(O,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),z(O,"privBytes",function(){var L=this.eddsa,j=this.hash(),E=L.encodingLength-1,_=j.slice(0,L.encodingLength);return _[0]&=248,_[E]&=127,_[E]|=64,_}),z(O,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),z(O,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),z(O,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),O.prototype.sign=function(L){return K(this._secret,"KeyPair can only verify"),this.eddsa.sign(L,this)},O.prototype.verify=function(L,j){return this.eddsa.verify(L,j,this)},O.prototype.getSecret=function(L){return K(this._secret,"KeyPair is public only"),G.encode(this.secret(),L)},O.prototype.getPublic=function(L){return G.encode(this.pubBytes(),L)},J.exports=O}),iw=u0((I,J)=>{var G=OI(),K=w4(),X=K.assert,z=K.cachedProperty,O=K.parseBytes;function L(j,E){if(this.eddsa=j,typeof E!=="object")E=O(E);if(Array.isArray(E))X(E.length===j.encodingLength*2,"Signature has invalid size"),E={R:E.slice(0,j.encodingLength),S:E.slice(j.encodingLength)};if(X(E.R&&E.S,"Signature without R or S"),j.isPoint(E.R))this._R=E.R;if(E.S instanceof G)this._S=E.S;this._Rencoded=Array.isArray(E.R)?E.R:E.Rencoded,this._Sencoded=Array.isArray(E.S)?E.S:E.Sencoded}z(L,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),z(L,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),z(L,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),z(L,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),L.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},L.prototype.toHex=function(){return K.encode(this.toBytes(),"hex").toUpperCase()},J.exports=L}),rw=u0((I,J)=>{var G=ZF(),K=zF(),X=w4(),z=X.assert,O=X.parseBytes,L=ow(),j=iw();function E(_){if(z(_==="ed25519","only tested with ed25519 so far"),!(this instanceof E))return new E(_);_=K[_].curve,this.curve=_,this.g=_.g,this.g.precompute(_.n.bitLength()+1),this.pointClass=_.point().constructor,this.encodingLength=Math.ceil(_.n.bitLength()/8),this.hash=G.sha512}J.exports=E,E.prototype.sign=function(_,q){_=O(_);var P=this.keyFromSecret(q),v=this.hashInt(P.messagePrefix(),_),N=this.g.mul(v),y=this.encodePoint(N),w=this.hashInt(y,P.pubBytes(),_).mul(P.priv()),b=v.add(w).umod(this.curve.n);return this.makeSignature({R:N,S:b,Rencoded:y})},E.prototype.verify=function(_,q,P){if(_=O(_),q=this.makeSignature(q),q.S().gte(q.eddsa.curve.n)||q.S().isNeg())return!1;var v=this.keyFromPublic(P),N=this.hashInt(q.Rencoded(),v.pubBytes(),_),y=this.g.mul(q.S()),w=q.R().add(v.pub().mul(N));return w.eq(y)},E.prototype.hashInt=function(){var _=this.hash();for(var q=0;q<arguments.length;q++)_.update(arguments[q]);return X.intFromLE(_.digest()).umod(this.curve.n)},E.prototype.keyFromPublic=function(_){return L.fromPublic(this,_)},E.prototype.keyFromSecret=function(_){return L.fromSecret(this,_)},E.prototype.makeSignature=function(_){if(_ instanceof j)return _;return new j(this,_)},E.prototype.encodePoint=function(_){var q=_.getY().toArray("le",this.encodingLength);return q[this.encodingLength-1]|=_.getX().isOdd()?128:0,q},E.prototype.decodePoint=function(_){_=X.parseBytes(_);var q=_.length-1,P=_.slice(0,q).concat(_[q]&-129),v=(_[q]&128)!==0,N=X.intFromLE(P);return this.curve.pointFromY(N,v)},E.prototype.encodeInt=function(_){return _.toArray("le",this.encodingLength)},E.prototype.decodeInt=function(_){return X.intFromLE(_)},E.prototype.isPoint=function(_){return _ instanceof this.pointClass}}),tw=u0((I)=>{var J=I;J.version=Nw().version,J.utils=w4(),J.rand=m_(),J.curve=l_(),J.curves=zF(),J.ec=nw(),J.eddsa=rw()}),aw=u0((I,J)=>{(function(G,K){function X(Y,D){if(!Y)throw Error(D||"Assertion failed")}function z(Y,D){Y.super_=D;var H=function(){};H.prototype=D.prototype,Y.prototype=new H,Y.prototype.constructor=Y}function O(Y,D,H){if(O.isBN(Y))return Y;if(this.negative=0,this.words=null,this.length=0,this.red=null,Y!==null){if(D==="le"||D==="be")H=D,D=10;this._init(Y||0,D||10,H||"be")}}if(typeof G==="object")G.exports=O;else K.BN=O;O.BN=O,O.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(Y){}O.isBN=function(Y){if(Y instanceof O)return!0;return Y!==null&&typeof Y==="object"&&Y.constructor.wordSize===O.wordSize&&Array.isArray(Y.words)},O.max=function(Y,D){if(Y.cmp(D)>0)return Y;return D},O.min=function(Y,D){if(Y.cmp(D)<0)return Y;return D},O.prototype._init=function(Y,D,H){if(typeof Y==="number")return this._initNumber(Y,D,H);if(typeof Y==="object")return this._initArray(Y,D,H);if(D==="hex")D=16;X(D===(D|0)&&D>=2&&D<=36),Y=Y.toString().replace(/\s+/g,"");var V=0;if(Y[0]==="-")V++,this.negative=1;if(V<Y.length){if(D===16)this._parseHex(Y,V,H);else if(this._parseBase(Y,D,V),H==="le")this._initArray(this.toArray(),D,H)}},O.prototype._initNumber=function(Y,D,H){if(Y<0)this.negative=1,Y=-Y;if(Y<67108864)this.words=[Y&67108863],this.length=1;else if(Y<4503599627370496)this.words=[Y&67108863,Y/67108864&67108863],this.length=2;else X(Y<9007199254740992),this.words=[Y&67108863,Y/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),D,H)},O.prototype._initArray=function(Y,D,H){if(X(typeof Y.length==="number"),Y.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Y.length/3),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F,T,S=0;if(H==="be"){for(V=Y.length-1,F=0;V>=0;V-=3)if(T=Y[V]|Y[V-1]<<8|Y[V-2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}else if(H==="le"){for(V=0,F=0;V<Y.length;V+=3)if(T=Y[V]|Y[V+1]<<8|Y[V+2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}return this.strip()};function j(Y,D){var H=Y.charCodeAt(D);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function E(Y,D,H){var V=j(Y,H);if(H-1>=D)V|=j(Y,H-1)<<4;return V}O.prototype._parseHex=function(Y,D,H){this.length=Math.ceil((Y.length-D)/6),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F=0,T=0,S;if(H==="be")for(V=Y.length-1;V>=D;V-=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8;else{var A=Y.length-D;for(V=A%2===0?D+1:D;V<Y.length;V+=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8}this.strip()};function _(Y,D,H,V){var F=0,T=Math.min(Y.length,H);for(var S=D;S<T;S++){var A=Y.charCodeAt(S)-48;if(F*=V,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}O.prototype._parseBase=function(Y,D,H){this.words=[0],this.length=1;for(var V=0,F=1;F<=67108863;F*=D)V++;V--,F=F/D|0;var T=Y.length-H,S=T%V,A=Math.min(T,T-S)+H,Z=0;for(var C=H;C<A;C+=V)if(Z=_(Y,C,C+V,D),this.imuln(F),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z);if(S!==0){var x=1;Z=_(Y,C,Y.length,D);for(C=0;C<S;C++)x*=D;if(this.imuln(x),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z)}this.strip()},O.prototype.copy=function(Y){Y.words=Array(this.length);for(var D=0;D<this.length;D++)Y.words[D]=this.words[D];Y.length=this.length,Y.negative=this.negative,Y.red=this.red},O.prototype.clone=function(){var Y=new O(null);return this.copy(Y),Y},O.prototype._expand=function(Y){while(this.length<Y)this.words[this.length++]=0;return this},O.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},O.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},O.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var q=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],P=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(O.prototype.toString=function(Y,D){Y=Y||10,D=D|0||1;var H;if(Y===16||Y==="hex"){H="";var V=0,F=0;for(var T=0;T<this.length;T++){var S=this.words[T],A=((S<<V|F)&16777215).toString(16);if(F=S>>>24-V&16777215,V+=2,V>=26)V-=26,T--;if(F!==0||T!==this.length-1)H=q[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(Y===(Y|0)&&Y>=2&&Y<=36){var Z=P[Y],C=v[Y];H="";var x=this.clone();x.negative=0;while(!x.isZero()){var B=x.modn(C).toString(Y);if(x=x.idivn(C),!x.isZero())H=q[Z-B.length]+B+H;else H=B+H}if(this.isZero())H="0"+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},O.prototype.toNumber=function(){var Y=this.words[0];if(this.length===2)Y+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Y+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Y:Y},O.prototype.toJSON=function(){return this.toString(16)},O.prototype.toBuffer=function(Y,D){return X(typeof L<"u"),this.toArrayLike(L,Y,D)},O.prototype.toArray=function(Y,D){return this.toArrayLike(Array,Y,D)},O.prototype.toArrayLike=function(Y,D,H){var V=this.byteLength(),F=H||Math.max(1,V);X(V<=F,"byte array longer than desired length"),X(F>0,"Requested array length <= 0"),this.strip();var T=D==="le",S=new Y(F),A,Z,C=this.clone();if(!T){for(Z=0;Z<F-V;Z++)S[Z]=0;for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[F-Z-1]=A}else{for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[Z]=A;for(;Z<F;Z++)S[Z]=0}return S},Math.clz32)O.prototype._countBits=function(Y){return 32-Math.clz32(Y)};else O.prototype._countBits=function(Y){var D=Y,H=0;if(D>=4096)H+=13,D>>>=13;if(D>=64)H+=7,D>>>=7;if(D>=8)H+=4,D>>>=4;if(D>=2)H+=2,D>>>=2;return H+D};O.prototype._zeroBits=function(Y){if(Y===0)return 26;var D=Y,H=0;if((D&8191)===0)H+=13,D>>>=13;if((D&127)===0)H+=7,D>>>=7;if((D&15)===0)H+=4,D>>>=4;if((D&3)===0)H+=2,D>>>=2;if((D&1)===0)H++;return H},O.prototype.bitLength=function(){var Y=this.words[this.length-1],D=this._countBits(Y);return(this.length-1)*26+D};function N(Y){var D=Array(Y.bitLength());for(var H=0;H<D.length;H++){var V=H/26|0,F=H%26;D[H]=(Y.words[V]&1<<F)>>>F}return D}O.prototype.zeroBits=function(){if(this.isZero())return 0;var Y=0;for(var D=0;D<this.length;D++){var H=this._zeroBits(this.words[D]);if(Y+=H,H!==26)break}return Y},O.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},O.prototype.toTwos=function(Y){if(this.negative!==0)return this.abs().inotn(Y).iaddn(1);return this.clone()},O.prototype.fromTwos=function(Y){if(this.testn(Y-1))return this.notn(Y).iaddn(1).ineg();return this.clone()},O.prototype.isNeg=function(){return this.negative!==0},O.prototype.neg=function(){return this.clone().ineg()},O.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},O.prototype.iuor=function(Y){while(this.length<Y.length)this.words[this.length++]=0;for(var D=0;D<Y.length;D++)this.words[D]=this.words[D]|Y.words[D];return this.strip()},O.prototype.ior=function(Y){return X((this.negative|Y.negative)===0),this.iuor(Y)},O.prototype.or=function(Y){if(this.length>Y.length)return this.clone().ior(Y);return Y.clone().ior(this)},O.prototype.uor=function(Y){if(this.length>Y.length)return this.clone().iuor(Y);return Y.clone().iuor(this)},O.prototype.iuand=function(Y){var D;if(this.length>Y.length)D=Y;else D=this;for(var H=0;H<D.length;H++)this.words[H]=this.words[H]&Y.words[H];return this.length=D.length,this.strip()},O.prototype.iand=function(Y){return X((this.negative|Y.negative)===0),this.iuand(Y)},O.prototype.and=function(Y){if(this.length>Y.length)return this.clone().iand(Y);return Y.clone().iand(this)},O.prototype.uand=function(Y){if(this.length>Y.length)return this.clone().iuand(Y);return Y.clone().iuand(this)},O.prototype.iuxor=function(Y){var D,H;if(this.length>Y.length)D=this,H=Y;else D=Y,H=this;for(var V=0;V<H.length;V++)this.words[V]=D.words[V]^H.words[V];if(this!==D)for(;V<D.length;V++)this.words[V]=D.words[V];return this.length=D.length,this.strip()},O.prototype.ixor=function(Y){return X((this.negative|Y.negative)===0),this.iuxor(Y)},O.prototype.xor=function(Y){if(this.length>Y.length)return this.clone().ixor(Y);return Y.clone().ixor(this)},O.prototype.uxor=function(Y){if(this.length>Y.length)return this.clone().iuxor(Y);return Y.clone().iuxor(this)},O.prototype.inotn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Math.ceil(Y/26)|0,H=Y%26;if(this._expand(D),H>0)D--;for(var V=0;V<D;V++)this.words[V]=~this.words[V]&67108863;if(H>0)this.words[V]=~this.words[V]&67108863>>26-H;return this.strip()},O.prototype.notn=function(Y){return this.clone().inotn(Y)},O.prototype.setn=function(Y,D){X(typeof Y==="number"&&Y>=0);var H=Y/26|0,V=Y%26;if(this._expand(H+1),D)this.words[H]=this.words[H]|1<<V;else this.words[H]=this.words[H]&~(1<<V);return this.strip()},O.prototype.iadd=function(Y){var D;if(this.negative!==0&&Y.negative===0)return this.negative=0,D=this.isub(Y),this.negative^=1,this._normSign();else if(this.negative===0&&Y.negative!==0)return Y.negative=0,D=this.isub(Y),Y.negative=1,D._normSign();var H,V;if(this.length>Y.length)H=this,V=Y;else H=Y,V=this;var F=0;for(var T=0;T<V.length;T++)D=(H.words[T]|0)+(V.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;for(;F!==0&&T<H.length;T++)D=(H.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;T<H.length;T++)this.words[T]=H.words[T];return this},O.prototype.add=function(Y){var D;if(Y.negative!==0&&this.negative===0)return Y.negative=0,D=this.sub(Y),Y.negative^=1,D;else if(Y.negative===0&&this.negative!==0)return this.negative=0,D=Y.sub(this),this.negative=1,D;if(this.length>Y.length)return this.clone().iadd(Y);return Y.clone().iadd(this)},O.prototype.isub=function(Y){if(Y.negative!==0){Y.negative=0;var D=this.iadd(Y);return Y.negative=1,D._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Y),this.negative=1,this._normSign();var H=this.cmp(Y);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var V,F;if(H>0)V=this,F=Y;else V=Y,F=this;var T=0;for(var S=0;S<F.length;S++)D=(V.words[S]|0)-(F.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;for(;T!==0&&S<V.length;S++)D=(V.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;if(T===0&&S<V.length&&V!==this)for(;S<V.length;S++)this.words[S]=V.words[S];if(this.length=Math.max(this.length,S),V!==this)this.negative=1;return this.strip()},O.prototype.sub=function(Y){return this.clone().isub(Y)};function y(Y,D,H){H.negative=D.negative^Y.negative;var V=Y.length+D.length|0;H.length=V,V=V-1|0;var F=Y.words[0]|0,T=D.words[0]|0,S=F*T,A=S&67108863,Z=S/67108864|0;H.words[0]=A;for(var C=1;C<V;C++){var x=Z>>>26,B=Z&67108863,h=Math.min(C,D.length-1);for(var r=Math.max(0,C-Y.length+1);r<=h;r++){var U0=C-r|0;F=Y.words[U0]|0,T=D.words[r]|0,S=F*T+B,x+=S/67108864|0,B=S&67108863}H.words[C]=B|0,Z=x|0}if(Z!==0)H.words[C]=Z|0;else H.length--;return H.strip()}var w=function(Y,D,H){var V=Y.words,F=D.words,T=H.words,S=0,A,Z,C,x=V[0]|0,B=x&8191,h=x>>>13,r=V[1]|0,U0=r&8191,z0=r>>>13,Q0=V[2]|0,s=Q0&8191,e=Q0>>>13,J0=V[3]|0,O0=J0&8191,A0=J0>>>13,$0=V[4]|0,c=$0&8191,n=$0>>>13,H0=V[5]|0,Y0=H0&8191,V0=H0>>>13,N0=V[6]|0,I0=N0&8191,K0=N0>>>13,U$=V[7]|0,M0=U$&8191,v0=U$>>>13,L$=V[8]|0,p0=L$&8191,c0=L$>>>13,i$=V[9]|0,b0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,TU=F[1]|0,m=TU&8191,X0=TU>>>13,s0=F[2]|0,S0=s0&8191,B0=s0>>>13,F$=F[3]|0,g0=F$&8191,f0=F$>>>13,V$=F[4]|0,n0=V$&8191,i0=V$>>>13,KU=F[5]|0,a0=KU&8191,i=KU>>>13,G0=F[6]|0,P0=G0&8191,_0=G0>>>13,Z$=F[7]|0,d0=Z$&8191,t0=Z$>>>13,HU=F[8]|0,I$=HU&8191,$$=HU>>>13,e$=F[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=Y.negative^D.negative,H.length=19,A=Math.imul(B,r0),Z=Math.imul(B,o0),Z=Z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var RU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,r0),Z=Math.imul(U0,o0),Z=Z+Math.imul(z0,r0)|0,C=Math.imul(z0,o0),A=A+Math.imul(B,m)|0,Z=Z+Math.imul(B,X0)|0,Z=Z+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var v$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(v$>>>26)|0,v$&=67108863,A=Math.imul(s,r0),Z=Math.imul(s,o0),Z=Z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,Z=Z+Math.imul(U0,X0)|0,Z=Z+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(B,S0)|0,Z=Z+Math.imul(B,B0)|0,Z=Z+Math.imul(h,S0)|0,C=C+Math.imul(h,B0)|0;var S$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(O0,r0),Z=Math.imul(O0,o0),Z=Z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,Z=Z+Math.imul(s,X0)|0,Z=Z+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,Z=Z+Math.imul(U0,B0)|0,Z=Z+Math.imul(z0,S0)|0,C=C+Math.imul(z0,B0)|0,A=A+Math.imul(B,g0)|0,Z=Z+Math.imul(B,f0)|0,Z=Z+Math.imul(h,g0)|0,C=C+Math.imul(h,f0)|0;var $U=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),Z=Math.imul(c,o0),Z=Z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(O0,m)|0,Z=Z+Math.imul(O0,X0)|0,Z=Z+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,Z=Z+Math.imul(s,B0)|0,Z=Z+Math.imul(e,S0)|0,C=C+Math.imul(e,B0)|0,A=A+Math.imul(U0,g0)|0,Z=Z+Math.imul(U0,f0)|0,Z=Z+Math.imul(z0,g0)|0,C=C+Math.imul(z0,f0)|0,A=A+Math.imul(B,n0)|0,Z=Z+Math.imul(B,i0)|0,Z=Z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),Z=Math.imul(Y0,o0),Z=Z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(c,m)|0,Z=Z+Math.imul(c,X0)|0,Z=Z+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(O0,S0)|0,Z=Z+Math.imul(O0,B0)|0,Z=Z+Math.imul(A0,S0)|0,C=C+Math.imul(A0,B0)|0,A=A+Math.imul(s,g0)|0,Z=Z+Math.imul(s,f0)|0,Z=Z+Math.imul(e,g0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,Z=Z+Math.imul(U0,i0)|0,Z=Z+Math.imul(z0,n0)|0,C=C+Math.imul(z0,i0)|0,A=A+Math.imul(B,a0)|0,Z=Z+Math.imul(B,i)|0,Z=Z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var uU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),Z=Math.imul(I0,o0),Z=Z+Math.imul(K0,r0)|0,C=Math.imul(K0,o0),A=A+Math.imul(Y0,m)|0,Z=Z+Math.imul(Y0,X0)|0,Z=Z+Math.imul(V0,m)|0,C=C+Math.imul(V0,X0)|0,A=A+Math.imul(c,S0)|0,Z=Z+Math.imul(c,B0)|0,Z=Z+Math.imul(n,S0)|0,C=C+Math.imul(n,B0)|0,A=A+Math.imul(O0,g0)|0,Z=Z+Math.imul(O0,f0)|0,Z=Z+Math.imul(A0,g0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,Z=Z+Math.imul(s,i0)|0,Z=Z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,Z=Z+Math.imul(U0,i)|0,Z=Z+Math.imul(z0,a0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(B,P0)|0,Z=Z+Math.imul(B,_0)|0,Z=Z+Math.imul(h,P0)|0,C=C+Math.imul(h,_0)|0;var bU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),Z=Math.imul(M0,o0),Z=Z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(I0,m)|0,Z=Z+Math.imul(I0,X0)|0,Z=Z+Math.imul(K0,m)|0,C=C+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,Z=Z+Math.imul(Y0,B0)|0,Z=Z+Math.imul(V0,S0)|0,C=C+Math.imul(V0,B0)|0,A=A+Math.imul(c,g0)|0,Z=Z+Math.imul(c,f0)|0,Z=Z+Math.imul(n,g0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(O0,n0)|0,Z=Z+Math.imul(O0,i0)|0,Z=Z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,Z=Z+Math.imul(s,i)|0,Z=Z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,P0)|0,Z=Z+Math.imul(U0,_0)|0,Z=Z+Math.imul(z0,P0)|0,C=C+Math.imul(z0,_0)|0,A=A+Math.imul(B,d0)|0,Z=Z+Math.imul(B,t0)|0,Z=Z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),Z=Math.imul(p0,o0),Z=Z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,Z=Z+Math.imul(M0,X0)|0,Z=Z+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,S0)|0,Z=Z+Math.imul(I0,B0)|0,Z=Z+Math.imul(K0,S0)|0,C=C+Math.imul(K0,B0)|0,A=A+Math.imul(Y0,g0)|0,Z=Z+Math.imul(Y0,f0)|0,Z=Z+Math.imul(V0,g0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(c,n0)|0,Z=Z+Math.imul(c,i0)|0,Z=Z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(O0,a0)|0,Z=Z+Math.imul(O0,i)|0,Z=Z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,P0)|0,Z=Z+Math.imul(s,_0)|0,Z=Z+Math.imul(e,P0)|0,C=C+Math.imul(e,_0)|0,A=A+Math.imul(U0,d0)|0,Z=Z+Math.imul(U0,t0)|0,Z=Z+Math.imul(z0,d0)|0,C=C+Math.imul(z0,t0)|0,A=A+Math.imul(B,I$)|0,Z=Z+Math.imul(B,$$)|0,Z=Z+Math.imul(h,I$)|0,C=C+Math.imul(h,$$)|0;var cU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),Z=Math.imul(b0,o0),Z=Z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,Z=Z+Math.imul(p0,X0)|0,Z=Z+Math.imul(c0,m)|0,C=C+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,Z=Z+Math.imul(M0,B0)|0,Z=Z+Math.imul(v0,S0)|0,C=C+Math.imul(v0,B0)|0,A=A+Math.imul(I0,g0)|0,Z=Z+Math.imul(I0,f0)|0,Z=Z+Math.imul(K0,g0)|0,C=C+Math.imul(K0,f0)|0,A=A+Math.imul(Y0,n0)|0,Z=Z+Math.imul(Y0,i0)|0,Z=Z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(c,a0)|0,Z=Z+Math.imul(c,i)|0,Z=Z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(O0,P0)|0,Z=Z+Math.imul(O0,_0)|0,Z=Z+Math.imul(A0,P0)|0,C=C+Math.imul(A0,_0)|0,A=A+Math.imul(s,d0)|0,Z=Z+Math.imul(s,t0)|0,Z=Z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,Z=Z+Math.imul(U0,$$)|0,Z=Z+Math.imul(z0,I$)|0,C=C+Math.imul(z0,$$)|0,A=A+Math.imul(B,X$)|0,Z=Z+Math.imul(B,e0)|0,Z=Z+Math.imul(h,X$)|0,C=C+Math.imul(h,e0)|0;var pU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,m),Z=Math.imul(b0,X0),Z=Z+Math.imul(h0,m)|0,C=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,Z=Z+Math.imul(p0,B0)|0,Z=Z+Math.imul(c0,S0)|0,C=C+Math.imul(c0,B0)|0,A=A+Math.imul(M0,g0)|0,Z=Z+Math.imul(M0,f0)|0,Z=Z+Math.imul(v0,g0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(I0,n0)|0,Z=Z+Math.imul(I0,i0)|0,Z=Z+Math.imul(K0,n0)|0,C=C+Math.imul(K0,i0)|0,A=A+Math.imul(Y0,a0)|0,Z=Z+Math.imul(Y0,i)|0,Z=Z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(c,P0)|0,Z=Z+Math.imul(c,_0)|0,Z=Z+Math.imul(n,P0)|0,C=C+Math.imul(n,_0)|0,A=A+Math.imul(O0,d0)|0,Z=Z+Math.imul(O0,t0)|0,Z=Z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,Z=Z+Math.imul(s,$$)|0,Z=Z+Math.imul(e,I$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,Z=Z+Math.imul(U0,e0)|0,Z=Z+Math.imul(z0,X$)|0,C=C+Math.imul(z0,e0)|0;var r$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),Z=Math.imul(b0,B0),Z=Z+Math.imul(h0,S0)|0,C=Math.imul(h0,B0),A=A+Math.imul(p0,g0)|0,Z=Z+Math.imul(p0,f0)|0,Z=Z+Math.imul(c0,g0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,Z=Z+Math.imul(M0,i0)|0,Z=Z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(I0,a0)|0,Z=Z+Math.imul(I0,i)|0,Z=Z+Math.imul(K0,a0)|0,C=C+Math.imul(K0,i)|0,A=A+Math.imul(Y0,P0)|0,Z=Z+Math.imul(Y0,_0)|0,Z=Z+Math.imul(V0,P0)|0,C=C+Math.imul(V0,_0)|0,A=A+Math.imul(c,d0)|0,Z=Z+Math.imul(c,t0)|0,Z=Z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(O0,I$)|0,Z=Z+Math.imul(O0,$$)|0,Z=Z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,Z=Z+Math.imul(s,e0)|0,Z=Z+Math.imul(e,X$)|0,C=C+Math.imul(e,e0)|0;var LU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,g0),Z=Math.imul(b0,f0),Z=Z+Math.imul(h0,g0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,Z=Z+Math.imul(p0,i0)|0,Z=Z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,Z=Z+Math.imul(M0,i)|0,Z=Z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,P0)|0,Z=Z+Math.imul(I0,_0)|0,Z=Z+Math.imul(K0,P0)|0,C=C+Math.imul(K0,_0)|0,A=A+Math.imul(Y0,d0)|0,Z=Z+Math.imul(Y0,t0)|0,Z=Z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(c,I$)|0,Z=Z+Math.imul(c,$$)|0,Z=Z+Math.imul(n,I$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(O0,X$)|0,Z=Z+Math.imul(O0,e0)|0,Z=Z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,e0)|0;var VU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(b0,n0),Z=Math.imul(b0,i0),Z=Z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,Z=Z+Math.imul(p0,i)|0,Z=Z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,P0)|0,Z=Z+Math.imul(M0,_0)|0,Z=Z+Math.imul(v0,P0)|0,C=C+Math.imul(v0,_0)|0,A=A+Math.imul(I0,d0)|0,Z=Z+Math.imul(I0,t0)|0,Z=Z+Math.imul(K0,d0)|0,C=C+Math.imul(K0,t0)|0,A=A+Math.imul(Y0,I$)|0,Z=Z+Math.imul(Y0,$$)|0,Z=Z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(c,X$)|0,Z=Z+Math.imul(c,e0)|0,Z=Z+Math.imul(n,X$)|0,C=C+Math.imul(n,e0)|0;var mU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(b0,a0),Z=Math.imul(b0,i),Z=Z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,P0)|0,Z=Z+Math.imul(p0,_0)|0,Z=Z+Math.imul(c0,P0)|0,C=C+Math.imul(c0,_0)|0,A=A+Math.imul(M0,d0)|0,Z=Z+Math.imul(M0,t0)|0,Z=Z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(I0,I$)|0,Z=Z+Math.imul(I0,$$)|0,Z=Z+Math.imul(K0,I$)|0,C=C+Math.imul(K0,$$)|0,A=A+Math.imul(Y0,X$)|0,Z=Z+Math.imul(Y0,e0)|0,Z=Z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,e0)|0;var PU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(b0,P0),Z=Math.imul(b0,_0),Z=Z+Math.imul(h0,P0)|0,C=Math.imul(h0,_0),A=A+Math.imul(p0,d0)|0,Z=Z+Math.imul(p0,t0)|0,Z=Z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,Z=Z+Math.imul(M0,$$)|0,Z=Z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(I0,X$)|0,Z=Z+Math.imul(I0,e0)|0,Z=Z+Math.imul(K0,X$)|0,C=C+Math.imul(K0,e0)|0;var BU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(BU>>>26)|0,BU&=67108863,A=Math.imul(b0,d0),Z=Math.imul(b0,t0),Z=Z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,Z=Z+Math.imul(p0,$$)|0,Z=Z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,Z=Z+Math.imul(M0,e0)|0,Z=Z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,e0)|0;var gU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(b0,I$),Z=Math.imul(b0,$$),Z=Z+Math.imul(h0,I$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,Z=Z+Math.imul(p0,e0)|0,Z=Z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,e0)|0;var EU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,X$),Z=Math.imul(b0,e0),Z=Z+Math.imul(h0,X$)|0,C=Math.imul(h0,e0);var MU=(S+A|0)+((Z&8191)<<13)|0;if(S=(C+(Z>>>13)|0)+(MU>>>26)|0,MU&=67108863,T[0]=RU,T[1]=v$,T[2]=S$,T[3]=$U,T[4]=d$,T[5]=uU,T[6]=bU,T[7]=hU,T[8]=cU,T[9]=pU,T[10]=r$,T[11]=LU,T[12]=VU,T[13]=mU,T[14]=PU,T[15]=BU,T[16]=gU,T[17]=EU,T[18]=MU,S!==0)T[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(Y,D,H){H.negative=D.negative^Y.negative,H.length=Y.length+D.length;var V=0,F=0;for(var T=0;T<H.length-1;T++){var S=F;F=0;var A=V&67108863,Z=Math.min(T,D.length-1);for(var C=Math.max(0,T-Y.length+1);C<=Z;C++){var x=T-C,B=Y.words[x]|0,h=D.words[C]|0,r=B*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,F+=S>>>26,S&=67108863}H.words[T]=A,V=S,S=F}if(V!==0)H.words[T]=V;else H.length--;return H.strip()}function g(Y,D,H){var V=new u;return V.mulp(Y,D,H)}O.prototype.mulTo=function(Y,D){var H,V=this.length+Y.length;if(this.length===10&&Y.length===10)H=w(this,Y,D);else if(V<63)H=y(this,Y,D);else if(V<1024)H=b(this,Y,D);else H=g(this,Y,D);return H};function u(Y,D){this.x=Y,this.y=D}u.prototype.makeRBT=function(Y){var D=Array(Y),H=O.prototype._countBits(Y)-1;for(var V=0;V<Y;V++)D[V]=this.revBin(V,H,Y);return D},u.prototype.revBin=function(Y,D,H){if(Y===0||Y===H-1)return Y;var V=0;for(var F=0;F<D;F++)V|=(Y&1)<<D-F-1,Y>>=1;return V},u.prototype.permute=function(Y,D,H,V,F,T){for(var S=0;S<T;S++)V[S]=D[Y[S]],F[S]=H[Y[S]]},u.prototype.transform=function(Y,D,H,V,F,T){this.permute(T,Y,D,H,V,F);for(var S=1;S<F;S<<=1){var A=S<<1,Z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<F;x+=A){var B=Z,h=C;for(var r=0;r<S;r++){var U0=H[x+r],z0=V[x+r],Q0=H[x+r+S],s=V[x+r+S],e=B*Q0-h*s;if(s=B*s+h*Q0,Q0=e,H[x+r]=U0+Q0,V[x+r]=z0+s,H[x+r+S]=U0-Q0,V[x+r+S]=z0-s,r!==A)e=Z*B-C*h,h=Z*h+C*B,B=e}}}},u.prototype.guessLen13b=function(Y,D){var H=Math.max(D,Y)|1,V=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+V},u.prototype.conjugate=function(Y,D,H){if(H<=1)return;for(var V=0;V<H/2;V++){var F=Y[V];Y[V]=Y[H-V-1],Y[H-V-1]=F,F=D[V],D[V]=-D[H-V-1],D[H-V-1]=-F}},u.prototype.normalize13b=function(Y,D){var H=0;for(var V=0;V<D/2;V++){var F=Math.round(Y[2*V+1]/D)*8192+Math.round(Y[2*V]/D)+H;if(Y[V]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return Y},u.prototype.convert13b=function(Y,D,H,V){var F=0;for(var T=0;T<D;T++)F=F+(Y[T]|0),H[2*T]=F&8191,F=F>>>13,H[2*T+1]=F&8191,F=F>>>13;for(T=2*D;T<V;++T)H[T]=0;X(F===0),X((F&-8192)===0)},u.prototype.stub=function(Y){var D=Array(Y);for(var H=0;H<Y;H++)D[H]=0;return D},u.prototype.mulp=function(Y,D,H){var V=2*this.guessLen13b(Y.length,D.length),F=this.makeRBT(V),T=this.stub(V),S=Array(V),A=Array(V),Z=Array(V),C=Array(V),x=Array(V),B=Array(V),h=H.words;h.length=V,this.convert13b(Y.words,Y.length,S,V),this.convert13b(D.words,D.length,C,V),this.transform(S,T,A,Z,V,F),this.transform(C,T,x,B,V,F);for(var r=0;r<V;r++){var U0=A[r]*x[r]-Z[r]*B[r];Z[r]=A[r]*B[r]+Z[r]*x[r],A[r]=U0}return this.conjugate(A,Z,V),this.transform(A,Z,h,T,V,F),this.conjugate(h,T,V),this.normalize13b(h,V),H.negative=Y.negative^D.negative,H.length=Y.length+D.length,H.strip()},O.prototype.mul=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),this.mulTo(Y,D)},O.prototype.mulf=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),g(this,Y,D)},O.prototype.imul=function(Y){return this.clone().mulTo(Y,this)},O.prototype.imuln=function(Y){X(typeof Y==="number"),X(Y<67108864);var D=0;for(var H=0;H<this.length;H++){var V=(this.words[H]|0)*Y,F=(V&67108863)+(D&67108863);D>>=26,D+=V/67108864|0,D+=F>>>26,this.words[H]=F&67108863}if(D!==0)this.words[H]=D,this.length++;return this.length=Y===0?1:this.length,this},O.prototype.muln=function(Y){return this.clone().imuln(Y)},O.prototype.sqr=function(){return this.mul(this)},O.prototype.isqr=function(){return this.imul(this.clone())},O.prototype.pow=function(Y){var D=N(Y);if(D.length===0)return new O(1);var H=this;for(var V=0;V<D.length;V++,H=H.sqr())if(D[V]!==0)break;if(++V<D.length)for(var F=H.sqr();V<D.length;V++,F=F.sqr()){if(D[V]===0)continue;H=H.mul(F)}return H},O.prototype.iushln=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=67108863>>>26-D<<26-D,F;if(D!==0){var T=0;for(F=0;F<this.length;F++){var S=this.words[F]&V,A=(this.words[F]|0)-S<<D;this.words[F]=A|T,T=S>>>26-D}if(T)this.words[F]=T,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},O.prototype.ishln=function(Y){return X(this.negative===0),this.iushln(Y)},O.prototype.iushrn=function(Y,D,H){X(typeof Y==="number"&&Y>=0);var V;if(D)V=(D-D%26)/26;else V=0;var F=Y%26,T=Math.min((Y-F)/26,this.length),S=67108863^67108863>>>F<<F,A=H;if(V-=T,V=Math.max(0,V),A){for(var Z=0;Z<T;Z++)A.words[Z]=this.words[Z];A.length=T}if(T===0);else if(this.length>T){this.length-=T;for(Z=0;Z<this.length;Z++)this.words[Z]=this.words[Z+T]}else this.words[0]=0,this.length=1;var C=0;for(Z=this.length-1;Z>=0&&(C!==0||Z>=V);Z--){var x=this.words[Z]|0;this.words[Z]=C<<26-F|x>>>F,C=x&S}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},O.prototype.ishrn=function(Y,D,H){return X(this.negative===0),this.iushrn(Y,D,H)},O.prototype.shln=function(Y){return this.clone().ishln(Y)},O.prototype.ushln=function(Y){return this.clone().iushln(Y)},O.prototype.shrn=function(Y){return this.clone().ishrn(Y)},O.prototype.ushrn=function(Y){return this.clone().iushrn(Y)},O.prototype.testn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return!1;var F=this.words[H];return!!(F&V)},O.prototype.imaskn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(D!==0)H++;if(this.length=Math.min(H,this.length),D!==0){var V=67108863^67108863>>>D<<D;this.words[this.length-1]&=V}return this.strip()},O.prototype.maskn=function(Y){return this.clone().imaskn(Y)},O.prototype.iaddn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.isubn(-Y);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Y)return this.words[0]=Y-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Y),this.negative=1,this}return this._iaddn(Y)},O.prototype._iaddn=function(Y){this.words[0]+=Y;for(var D=0;D<this.length&&this.words[D]>=67108864;D++)if(this.words[D]-=67108864,D===this.length-1)this.words[D+1]=1;else this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},O.prototype.isubn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.iaddn(-Y);if(this.negative!==0)return this.negative=0,this.iaddn(Y),this.negative=1,this;if(this.words[0]-=Y,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D<this.length&&this.words[D]<0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this.strip()},O.prototype.addn=function(Y){return this.clone().iaddn(Y)},O.prototype.subn=function(Y){return this.clone().isubn(Y)},O.prototype.iabs=function(){return this.negative=0,this},O.prototype.abs=function(){return this.clone().iabs()},O.prototype._ishlnsubmul=function(Y,D,H){var V=Y.length+H,F;this._expand(V);var T,S=0;for(F=0;F<Y.length;F++){T=(this.words[F+H]|0)+S;var A=(Y.words[F]|0)*D;T-=A&67108863,S=(T>>26)-(A/67108864|0),this.words[F+H]=T&67108863}for(;F<this.length-H;F++)T=(this.words[F+H]|0)+S,S=T>>26,this.words[F+H]=T&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(F=0;F<this.length;F++)T=-(this.words[F]|0)+S,S=T>>26,this.words[F]=T&67108863;return this.negative=1,this.strip()},O.prototype._wordDiv=function(Y,D){var H=this.length-Y.length,V=this.clone(),F=Y,T=F.words[F.length-1]|0,S=this._countBits(T);if(H=26-S,H!==0)F=F.ushln(H),V.iushln(H),T=F.words[F.length-1]|0;var A=V.length-F.length,Z;if(D!=="mod"){Z=new O(null),Z.length=A+1,Z.words=Array(Z.length);for(var C=0;C<Z.length;C++)Z.words[C]=0}var x=V.clone()._ishlnsubmul(F,1,A);if(x.negative===0){if(V=x,Z)Z.words[A]=1}for(var B=A-1;B>=0;B--){var h=(V.words[F.length+B]|0)*67108864+(V.words[F.length+B-1]|0);h=Math.min(h/T|0,67108863),V._ishlnsubmul(F,h,B);while(V.negative!==0)if(h--,V.negative=0,V._ishlnsubmul(F,1,B),!V.isZero())V.negative^=1;if(Z)Z.words[B]=h}if(Z)Z.strip();if(V.strip(),D!=="div"&&H!==0)V.iushrn(H);return{div:Z||null,mod:V}},O.prototype.divmod=function(Y,D,H){if(X(!Y.isZero()),this.isZero())return{div:new O(0),mod:new O(0)};var V,F,T;if(this.negative!==0&&Y.negative===0){if(T=this.neg().divmod(Y,D),D!=="mod")V=T.div.neg();if(D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.iadd(Y)}return{div:V,mod:F}}if(this.negative===0&&Y.negative!==0){if(T=this.divmod(Y.neg(),D),D!=="mod")V=T.div.neg();return{div:V,mod:T.mod}}if((this.negative&Y.negative)!==0){if(T=this.neg().divmod(Y.neg(),D),D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.isub(Y)}return{div:T.div,mod:F}}if(Y.length>this.length||this.cmp(Y)<0)return{div:new O(0),mod:this};if(Y.length===1){if(D==="div")return{div:this.divn(Y.words[0]),mod:null};if(D==="mod")return{div:null,mod:new O(this.modn(Y.words[0]))};return{div:this.divn(Y.words[0]),mod:new O(this.modn(Y.words[0]))}}return this._wordDiv(Y,D)},O.prototype.div=function(Y){return this.divmod(Y,"div",!1).div},O.prototype.mod=function(Y){return this.divmod(Y,"mod",!1).mod},O.prototype.umod=function(Y){return this.divmod(Y,"mod",!0).mod},O.prototype.divRound=function(Y){var D=this.divmod(Y);if(D.mod.isZero())return D.div;var H=D.div.negative!==0?D.mod.isub(Y):D.mod,V=Y.ushrn(1),F=Y.andln(1),T=H.cmp(V);if(T<0||F===1&&T===0)return D.div;return D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},O.prototype.modn=function(Y){X(Y<=67108863);var D=67108864%Y,H=0;for(var V=this.length-1;V>=0;V--)H=(D*H+(this.words[V]|0))%Y;return H},O.prototype.idivn=function(Y){X(Y<=67108863);var D=0;for(var H=this.length-1;H>=0;H--){var V=(this.words[H]|0)+D*67108864;this.words[H]=V/Y|0,D=V%Y}return this.strip()},O.prototype.divn=function(Y){return this.clone().idivn(Y)},O.prototype.egcd=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=new O(0),S=new O(1),A=0;while(D.isEven()&&H.isEven())D.iushrn(1),H.iushrn(1),++A;var Z=H.clone(),C=D.clone();while(!D.isZero()){for(var x=0,B=1;(D.words[0]&B)===0&&x<26;++x,B<<=1);if(x>0){D.iushrn(x);while(x-- >0){if(V.isOdd()||F.isOdd())V.iadd(Z),F.isub(C);V.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(T.isOdd()||S.isOdd())T.iadd(Z),S.isub(C);T.iushrn(1),S.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(T),F.isub(S);else H.isub(D),T.isub(V),S.isub(F)}return{a:T,b:S,gcd:H.iushln(A)}},O.prototype._invmp=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=H.clone();while(D.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(D.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){D.iushrn(S);while(S-- >0){if(V.isOdd())V.iadd(T);V.iushrn(1)}}for(var Z=0,C=1;(H.words[0]&C)===0&&Z<26;++Z,C<<=1);if(Z>0){H.iushrn(Z);while(Z-- >0){if(F.isOdd())F.iadd(T);F.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(F);else H.isub(D),F.isub(V)}var x;if(D.cmpn(1)===0)x=V;else x=F;if(x.cmpn(0)<0)x.iadd(Y);return x},O.prototype.gcd=function(Y){if(this.isZero())return Y.abs();if(Y.isZero())return this.abs();var D=this.clone(),H=Y.clone();D.negative=0,H.negative=0;for(var V=0;D.isEven()&&H.isEven();V++)D.iushrn(1),H.iushrn(1);do{while(D.isEven())D.iushrn(1);while(H.isEven())H.iushrn(1);var F=D.cmp(H);if(F<0){var T=D;D=H,H=T}else if(F===0||H.cmpn(1)===0)break;D.isub(H)}while(!0);return H.iushln(V)},O.prototype.invm=function(Y){return this.egcd(Y).a.umod(Y)},O.prototype.isEven=function(){return(this.words[0]&1)===0},O.prototype.isOdd=function(){return(this.words[0]&1)===1},O.prototype.andln=function(Y){return this.words[0]&Y},O.prototype.bincn=function(Y){X(typeof Y==="number");var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return this._expand(H+1),this.words[H]|=V,this;var F=V;for(var T=H;F!==0&&T<this.length;T++){var S=this.words[T]|0;S+=F,F=S>>>26,S&=67108863,this.words[T]=S}if(F!==0)this.words[T]=F,this.length++;return this},O.prototype.isZero=function(){return this.length===1&&this.words[0]===0},O.prototype.cmpn=function(Y){var D=Y<0;if(this.negative!==0&&!D)return-1;if(this.negative===0&&D)return 1;this.strip();var H;if(this.length>1)H=1;else{if(D)Y=-Y;X(Y<=67108863,"Number is too big");var V=this.words[0]|0;H=V===Y?0:V<Y?-1:1}if(this.negative!==0)return-H|0;return H},O.prototype.cmp=function(Y){if(this.negative!==0&&Y.negative===0)return-1;if(this.negative===0&&Y.negative!==0)return 1;var D=this.ucmp(Y);if(this.negative!==0)return-D|0;return D},O.prototype.ucmp=function(Y){if(this.length>Y.length)return 1;if(this.length<Y.length)return-1;var D=0;for(var H=this.length-1;H>=0;H--){var V=this.words[H]|0,F=Y.words[H]|0;if(V===F)continue;if(V<F)D=-1;else if(V>F)D=1;break}return D},O.prototype.gtn=function(Y){return this.cmpn(Y)===1},O.prototype.gt=function(Y){return this.cmp(Y)===1},O.prototype.gten=function(Y){return this.cmpn(Y)>=0},O.prototype.gte=function(Y){return this.cmp(Y)>=0},O.prototype.ltn=function(Y){return this.cmpn(Y)===-1},O.prototype.lt=function(Y){return this.cmp(Y)===-1},O.prototype.lten=function(Y){return this.cmpn(Y)<=0},O.prototype.lte=function(Y){return this.cmp(Y)<=0},O.prototype.eqn=function(Y){return this.cmpn(Y)===0},O.prototype.eq=function(Y){return this.cmp(Y)===0},O.red=function(Y){return new t(Y)},O.prototype.toRed=function(Y){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),Y.convertTo(this)._forceRed(Y)},O.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},O.prototype._forceRed=function(Y){return this.red=Y,this},O.prototype.forceRed=function(Y){return X(!this.red,"Already a number in reduction context"),this._forceRed(Y)},O.prototype.redAdd=function(Y){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,Y)},O.prototype.redIAdd=function(Y){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Y)},O.prototype.redSub=function(Y){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,Y)},O.prototype.redISub=function(Y){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,Y)},O.prototype.redShl=function(Y){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,Y)},O.prototype.redMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.mul(this,Y)},O.prototype.redIMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.imul(this,Y)},O.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},O.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},O.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},O.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},O.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},O.prototype.redPow=function(Y){return X(this.red&&!Y.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Y)};var p={k256:null,p224:null,p192:null,p25519:null};function d(Y,D){this.name=Y,this.p=new O(D,16),this.n=this.p.bitLength(),this.k=new O(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var Y=new O(null);return Y.words=Array(Math.ceil(this.n/13)),Y},d.prototype.ireduce=function(Y){var D=Y,H;do this.split(D,this.tmp),D=this.imulK(D),D=D.iadd(this.tmp),H=D.bitLength();while(H>this.n);var V=H<this.n?-1:D.ucmp(this.p);if(V===0)D.words[0]=0,D.length=1;else if(V>0)D.isub(this.p);else if(D.strip!==void 0)D.strip();else D._strip();return D},d.prototype.split=function(Y,D){Y.iushrn(this.n,0,D)},d.prototype.imulK=function(Y){return Y.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(Y,D){var H=4194303,V=Math.min(Y.length,9);for(var F=0;F<V;F++)D.words[F]=Y.words[F];if(D.length=V,Y.length<=9){Y.words[0]=0,Y.length=1;return}var T=Y.words[9];D.words[D.length++]=T&H;for(F=10;F<Y.length;F++){var S=Y.words[F]|0;Y.words[F-10]=(S&H)<<4|T>>>22,T=S}if(T>>>=22,Y.words[F-10]=T,T===0&&Y.length>10)Y.length-=10;else Y.length-=9},a.prototype.imulK=function(Y){Y.words[Y.length]=0,Y.words[Y.length+1]=0,Y.length+=2;var D=0;for(var H=0;H<Y.length;H++){var V=Y.words[H]|0;D+=V*977,Y.words[H]=D&67108863,D=V*64+(D/67108864|0)}if(Y.words[Y.length-1]===0){if(Y.length--,Y.words[Y.length-1]===0)Y.length--}return Y};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function E0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(E0,d),E0.prototype.imulK=function(Y){var D=0;for(var H=0;H<Y.length;H++){var V=(Y.words[H]|0)*19+D,F=V&67108863;V>>>=26,Y.words[H]=F,D=V}if(D!==0)Y.words[Y.length++]=D;return Y},O._prime=function(Y){if(p[Y])return p[Y];var D;if(Y==="k256")D=new a;else if(Y==="p224")D=new F0;else if(Y==="p192")D=new L0;else if(Y==="p25519")D=new E0;else throw Error("Unknown prime "+Y);return p[Y]=D,D};function t(Y){if(typeof Y==="string"){var D=O._prime(Y);this.m=D.p,this.prime=D}else X(Y.gtn(1),"modulus must be greater than 1"),this.m=Y,this.prime=null}t.prototype._verify1=function(Y){X(Y.negative===0,"red works only with positives"),X(Y.red,"red works only with red numbers")},t.prototype._verify2=function(Y,D){X((Y.negative|D.negative)===0,"red works only with positives"),X(Y.red&&Y.red===D.red,"red works only with red numbers")},t.prototype.imod=function(Y){if(this.prime)return this.prime.ireduce(Y)._forceRed(this);return Y.umod(this.m)._forceRed(this)},t.prototype.neg=function(Y){if(Y.isZero())return Y.clone();return this.m.sub(Y)._forceRed(this)},t.prototype.add=function(Y,D){this._verify2(Y,D);var H=Y.add(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(Y,D){this._verify2(Y,D);var H=Y.iadd(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(Y,D){this._verify2(Y,D);var H=Y.sub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(Y,D){this._verify2(Y,D);var H=Y.isub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(Y,D){return this._verify1(Y),this.imod(Y.ushln(D))},t.prototype.imul=function(Y,D){return this._verify2(Y,D),this.imod(Y.imul(D))},t.prototype.mul=function(Y,D){return this._verify2(Y,D),this.imod(Y.mul(D))},t.prototype.isqr=function(Y){return this.imul(Y,Y.clone())},t.prototype.sqr=function(Y){return this.mul(Y,Y)},t.prototype.sqrt=function(Y){if(Y.isZero())return Y.clone();var D=this.m.andln(3);if(X(D%2===1),D===3){var H=this.m.add(new O(1)).iushrn(2);return this.pow(Y,H)}var V=this.m.subn(1),F=0;while(!V.isZero()&&V.andln(1)===0)F++,V.iushrn(1);X(!V.isZero());var T=new O(1).toRed(this),S=T.redNeg(),A=this.m.subn(1).iushrn(1),Z=this.m.bitLength();Z=new O(2*Z*Z).toRed(this);while(this.pow(Z,A).cmp(S)!==0)Z.redIAdd(S);var C=this.pow(Z,V),x=this.pow(Y,V.addn(1).iushrn(1)),B=this.pow(Y,V),h=F;while(B.cmp(T)!==0){var r=B;for(var U0=0;r.cmp(T)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(C,new O(1).iushln(h-U0-1));x=x.redMul(z0),C=z0.redSqr(),B=B.redMul(C),h=U0}return x},t.prototype.invm=function(Y){var D=Y._invmp(this.m);if(D.negative!==0)return D.negative=0,this.imod(D).redNeg();else return this.imod(D)},t.prototype.pow=function(Y,D){if(D.isZero())return new O(1).toRed(this);if(D.cmpn(1)===0)return Y.clone();var H=4,V=Array(1<<H);V[0]=new O(1).toRed(this),V[1]=Y;for(var F=2;F<V.length;F++)V[F]=this.mul(V[F-1],Y);var T=V[0],S=0,A=0,Z=D.bitLength()%26;if(Z===0)Z=26;for(F=D.length-1;F>=0;F--){var C=D.words[F];for(var x=Z-1;x>=0;x--){var B=C>>x&1;if(T!==V[0])T=this.sqr(T);if(B===0&&S===0){A=0;continue}if(S<<=1,S|=B,A++,A!==H&&(F!==0||x!==0))continue;T=this.mul(T,V[S]),A=0,S=0}Z=26}return T},t.prototype.convertTo=function(Y){var D=Y.umod(this.m);return D===Y?D.clone():D},t.prototype.convertFrom=function(Y){var D=Y.clone();return D.red=null,D},O.mont=function(Y){return new C0(Y)};function C0(Y){if(t.call(this,Y),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new O(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(C0,t),C0.prototype.convertTo=function(Y){return this.imod(Y.ushln(this.shift))},C0.prototype.convertFrom=function(Y){var D=this.imod(Y.mul(this.rinv));return D.red=null,D},C0.prototype.imul=function(Y,D){if(Y.isZero()||D.isZero())return Y.words[0]=0,Y.length=1,Y;var H=Y.imul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.mul=function(Y,D){if(Y.isZero()||D.isZero())return new O(0)._forceRed(this);var H=Y.mul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.invm=function(Y){var D=this.imod(Y._invmp(this.m).mul(this.r2));return D._forceRed(this)}})(typeof J>"u"||J,I)}),sw=u0((I,J)=>{var G=tw(),K=aw();J.exports=function(L){return new z(L)};var X={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};X.p224=X.secp224r1,X.p256=X.secp256r1=X.prime256v1,X.p192=X.secp192r1=X.prime192v1,X.p384=X.secp384r1,X.p521=X.secp521r1;function z(L){if(this.curveType=X[L],!this.curveType)this.curveType={name:L};this.curve=new G.ec(this.curveType.name),this.keys=void 0}z.prototype.generateKeys=function(L,j){return this.keys=this.curve.genKeyPair(),this.getPublicKey(L,j)},z.prototype.computeSecret=function(L,j,E){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);var _=this.curve.keyFromPublic(L).getPublic(),q=_.mul(this.keys.getPrivate()).getX();return O(q,E,this.curveType.byteLength)},z.prototype.getPublicKey=function(L,j){var E=this.keys.getPublic(j==="compressed",!0);if(j==="hybrid")if(E[E.length-1]%2)E[0]=7;else E[0]=6;return O(E,L)},z.prototype.getPrivateKey=function(L){return O(this.keys.getPrivate(),L)},z.prototype.setPublicKey=function(L,j){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);return this.keys._importPublic(L),this},z.prototype.setPrivateKey=function(L,j){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);var E=new K(L);return E=E.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(E),this};function O(L,j,E){if(!Array.isArray(L))L=L.toArray();var _=new Buffer(L);if(E&&_.length<E){var q=new Buffer(E-_.length);q.fill(0),_=Buffer.concat([q,_])}if(!j)return _;else return _.toString(j)}}),ew=u0((I,J)=>{var G=(yU(),j$(H4)).createECDH;J.exports=G||sw()}),$f=u0((I,J)=>{(function(G,K){function X(Y,D){if(!Y)throw Error(D||"Assertion failed")}function z(Y,D){Y.super_=D;var H=function(){};H.prototype=D.prototype,Y.prototype=new H,Y.prototype.constructor=Y}function O(Y,D,H){if(O.isBN(Y))return Y;if(this.negative=0,this.words=null,this.length=0,this.red=null,Y!==null){if(D==="le"||D==="be")H=D,D=10;this._init(Y||0,D||10,H||"be")}}if(typeof G==="object")G.exports=O;else K.BN=O;O.BN=O,O.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(Y){}O.isBN=function(Y){if(Y instanceof O)return!0;return Y!==null&&typeof Y==="object"&&Y.constructor.wordSize===O.wordSize&&Array.isArray(Y.words)},O.max=function(Y,D){if(Y.cmp(D)>0)return Y;return D},O.min=function(Y,D){if(Y.cmp(D)<0)return Y;return D},O.prototype._init=function(Y,D,H){if(typeof Y==="number")return this._initNumber(Y,D,H);if(typeof Y==="object")return this._initArray(Y,D,H);if(D==="hex")D=16;X(D===(D|0)&&D>=2&&D<=36),Y=Y.toString().replace(/\s+/g,"");var V=0;if(Y[0]==="-")V++,this.negative=1;if(V<Y.length){if(D===16)this._parseHex(Y,V,H);else if(this._parseBase(Y,D,V),H==="le")this._initArray(this.toArray(),D,H)}},O.prototype._initNumber=function(Y,D,H){if(Y<0)this.negative=1,Y=-Y;if(Y<67108864)this.words=[Y&67108863],this.length=1;else if(Y<4503599627370496)this.words=[Y&67108863,Y/67108864&67108863],this.length=2;else X(Y<9007199254740992),this.words=[Y&67108863,Y/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),D,H)},O.prototype._initArray=function(Y,D,H){if(X(typeof Y.length==="number"),Y.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Y.length/3),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F,T,S=0;if(H==="be"){for(V=Y.length-1,F=0;V>=0;V-=3)if(T=Y[V]|Y[V-1]<<8|Y[V-2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}else if(H==="le"){for(V=0,F=0;V<Y.length;V+=3)if(T=Y[V]|Y[V+1]<<8|Y[V+2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}return this.strip()};function j(Y,D){var H=Y.charCodeAt(D);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function E(Y,D,H){var V=j(Y,H);if(H-1>=D)V|=j(Y,H-1)<<4;return V}O.prototype._parseHex=function(Y,D,H){this.length=Math.ceil((Y.length-D)/6),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F=0,T=0,S;if(H==="be")for(V=Y.length-1;V>=D;V-=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8;else{var A=Y.length-D;for(V=A%2===0?D+1:D;V<Y.length;V+=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8}this.strip()};function _(Y,D,H,V){var F=0,T=Math.min(Y.length,H);for(var S=D;S<T;S++){var A=Y.charCodeAt(S)-48;if(F*=V,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}O.prototype._parseBase=function(Y,D,H){this.words=[0],this.length=1;for(var V=0,F=1;F<=67108863;F*=D)V++;V--,F=F/D|0;var T=Y.length-H,S=T%V,A=Math.min(T,T-S)+H,Z=0;for(var C=H;C<A;C+=V)if(Z=_(Y,C,C+V,D),this.imuln(F),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z);if(S!==0){var x=1;Z=_(Y,C,Y.length,D);for(C=0;C<S;C++)x*=D;if(this.imuln(x),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z)}this.strip()},O.prototype.copy=function(Y){Y.words=Array(this.length);for(var D=0;D<this.length;D++)Y.words[D]=this.words[D];Y.length=this.length,Y.negative=this.negative,Y.red=this.red},O.prototype.clone=function(){var Y=new O(null);return this.copy(Y),Y},O.prototype._expand=function(Y){while(this.length<Y)this.words[this.length++]=0;return this},O.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},O.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},O.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var q=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],P=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(O.prototype.toString=function(Y,D){Y=Y||10,D=D|0||1;var H;if(Y===16||Y==="hex"){H="";var V=0,F=0;for(var T=0;T<this.length;T++){var S=this.words[T],A=((S<<V|F)&16777215).toString(16);if(F=S>>>24-V&16777215,V+=2,V>=26)V-=26,T--;if(F!==0||T!==this.length-1)H=q[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(Y===(Y|0)&&Y>=2&&Y<=36){var Z=P[Y],C=v[Y];H="";var x=this.clone();x.negative=0;while(!x.isZero()){var B=x.modn(C).toString(Y);if(x=x.idivn(C),!x.isZero())H=q[Z-B.length]+B+H;else H=B+H}if(this.isZero())H="0"+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},O.prototype.toNumber=function(){var Y=this.words[0];if(this.length===2)Y+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Y+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Y:Y},O.prototype.toJSON=function(){return this.toString(16)},O.prototype.toBuffer=function(Y,D){return X(typeof L<"u"),this.toArrayLike(L,Y,D)},O.prototype.toArray=function(Y,D){return this.toArrayLike(Array,Y,D)},O.prototype.toArrayLike=function(Y,D,H){var V=this.byteLength(),F=H||Math.max(1,V);X(V<=F,"byte array longer than desired length"),X(F>0,"Requested array length <= 0"),this.strip();var T=D==="le",S=new Y(F),A,Z,C=this.clone();if(!T){for(Z=0;Z<F-V;Z++)S[Z]=0;for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[F-Z-1]=A}else{for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[Z]=A;for(;Z<F;Z++)S[Z]=0}return S},Math.clz32)O.prototype._countBits=function(Y){return 32-Math.clz32(Y)};else O.prototype._countBits=function(Y){var D=Y,H=0;if(D>=4096)H+=13,D>>>=13;if(D>=64)H+=7,D>>>=7;if(D>=8)H+=4,D>>>=4;if(D>=2)H+=2,D>>>=2;return H+D};O.prototype._zeroBits=function(Y){if(Y===0)return 26;var D=Y,H=0;if((D&8191)===0)H+=13,D>>>=13;if((D&127)===0)H+=7,D>>>=7;if((D&15)===0)H+=4,D>>>=4;if((D&3)===0)H+=2,D>>>=2;if((D&1)===0)H++;return H},O.prototype.bitLength=function(){var Y=this.words[this.length-1],D=this._countBits(Y);return(this.length-1)*26+D};function N(Y){var D=Array(Y.bitLength());for(var H=0;H<D.length;H++){var V=H/26|0,F=H%26;D[H]=(Y.words[V]&1<<F)>>>F}return D}O.prototype.zeroBits=function(){if(this.isZero())return 0;var Y=0;for(var D=0;D<this.length;D++){var H=this._zeroBits(this.words[D]);if(Y+=H,H!==26)break}return Y},O.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},O.prototype.toTwos=function(Y){if(this.negative!==0)return this.abs().inotn(Y).iaddn(1);return this.clone()},O.prototype.fromTwos=function(Y){if(this.testn(Y-1))return this.notn(Y).iaddn(1).ineg();return this.clone()},O.prototype.isNeg=function(){return this.negative!==0},O.prototype.neg=function(){return this.clone().ineg()},O.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},O.prototype.iuor=function(Y){while(this.length<Y.length)this.words[this.length++]=0;for(var D=0;D<Y.length;D++)this.words[D]=this.words[D]|Y.words[D];return this.strip()},O.prototype.ior=function(Y){return X((this.negative|Y.negative)===0),this.iuor(Y)},O.prototype.or=function(Y){if(this.length>Y.length)return this.clone().ior(Y);return Y.clone().ior(this)},O.prototype.uor=function(Y){if(this.length>Y.length)return this.clone().iuor(Y);return Y.clone().iuor(this)},O.prototype.iuand=function(Y){var D;if(this.length>Y.length)D=Y;else D=this;for(var H=0;H<D.length;H++)this.words[H]=this.words[H]&Y.words[H];return this.length=D.length,this.strip()},O.prototype.iand=function(Y){return X((this.negative|Y.negative)===0),this.iuand(Y)},O.prototype.and=function(Y){if(this.length>Y.length)return this.clone().iand(Y);return Y.clone().iand(this)},O.prototype.uand=function(Y){if(this.length>Y.length)return this.clone().iuand(Y);return Y.clone().iuand(this)},O.prototype.iuxor=function(Y){var D,H;if(this.length>Y.length)D=this,H=Y;else D=Y,H=this;for(var V=0;V<H.length;V++)this.words[V]=D.words[V]^H.words[V];if(this!==D)for(;V<D.length;V++)this.words[V]=D.words[V];return this.length=D.length,this.strip()},O.prototype.ixor=function(Y){return X((this.negative|Y.negative)===0),this.iuxor(Y)},O.prototype.xor=function(Y){if(this.length>Y.length)return this.clone().ixor(Y);return Y.clone().ixor(this)},O.prototype.uxor=function(Y){if(this.length>Y.length)return this.clone().iuxor(Y);return Y.clone().iuxor(this)},O.prototype.inotn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Math.ceil(Y/26)|0,H=Y%26;if(this._expand(D),H>0)D--;for(var V=0;V<D;V++)this.words[V]=~this.words[V]&67108863;if(H>0)this.words[V]=~this.words[V]&67108863>>26-H;return this.strip()},O.prototype.notn=function(Y){return this.clone().inotn(Y)},O.prototype.setn=function(Y,D){X(typeof Y==="number"&&Y>=0);var H=Y/26|0,V=Y%26;if(this._expand(H+1),D)this.words[H]=this.words[H]|1<<V;else this.words[H]=this.words[H]&~(1<<V);return this.strip()},O.prototype.iadd=function(Y){var D;if(this.negative!==0&&Y.negative===0)return this.negative=0,D=this.isub(Y),this.negative^=1,this._normSign();else if(this.negative===0&&Y.negative!==0)return Y.negative=0,D=this.isub(Y),Y.negative=1,D._normSign();var H,V;if(this.length>Y.length)H=this,V=Y;else H=Y,V=this;var F=0;for(var T=0;T<V.length;T++)D=(H.words[T]|0)+(V.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;for(;F!==0&&T<H.length;T++)D=(H.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;T<H.length;T++)this.words[T]=H.words[T];return this},O.prototype.add=function(Y){var D;if(Y.negative!==0&&this.negative===0)return Y.negative=0,D=this.sub(Y),Y.negative^=1,D;else if(Y.negative===0&&this.negative!==0)return this.negative=0,D=Y.sub(this),this.negative=1,D;if(this.length>Y.length)return this.clone().iadd(Y);return Y.clone().iadd(this)},O.prototype.isub=function(Y){if(Y.negative!==0){Y.negative=0;var D=this.iadd(Y);return Y.negative=1,D._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Y),this.negative=1,this._normSign();var H=this.cmp(Y);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var V,F;if(H>0)V=this,F=Y;else V=Y,F=this;var T=0;for(var S=0;S<F.length;S++)D=(V.words[S]|0)-(F.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;for(;T!==0&&S<V.length;S++)D=(V.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;if(T===0&&S<V.length&&V!==this)for(;S<V.length;S++)this.words[S]=V.words[S];if(this.length=Math.max(this.length,S),V!==this)this.negative=1;return this.strip()},O.prototype.sub=function(Y){return this.clone().isub(Y)};function y(Y,D,H){H.negative=D.negative^Y.negative;var V=Y.length+D.length|0;H.length=V,V=V-1|0;var F=Y.words[0]|0,T=D.words[0]|0,S=F*T,A=S&67108863,Z=S/67108864|0;H.words[0]=A;for(var C=1;C<V;C++){var x=Z>>>26,B=Z&67108863,h=Math.min(C,D.length-1);for(var r=Math.max(0,C-Y.length+1);r<=h;r++){var U0=C-r|0;F=Y.words[U0]|0,T=D.words[r]|0,S=F*T+B,x+=S/67108864|0,B=S&67108863}H.words[C]=B|0,Z=x|0}if(Z!==0)H.words[C]=Z|0;else H.length--;return H.strip()}var w=function(Y,D,H){var V=Y.words,F=D.words,T=H.words,S=0,A,Z,C,x=V[0]|0,B=x&8191,h=x>>>13,r=V[1]|0,U0=r&8191,z0=r>>>13,Q0=V[2]|0,s=Q0&8191,e=Q0>>>13,J0=V[3]|0,O0=J0&8191,A0=J0>>>13,$0=V[4]|0,c=$0&8191,n=$0>>>13,H0=V[5]|0,Y0=H0&8191,V0=H0>>>13,N0=V[6]|0,I0=N0&8191,K0=N0>>>13,U$=V[7]|0,M0=U$&8191,v0=U$>>>13,L$=V[8]|0,p0=L$&8191,c0=L$>>>13,i$=V[9]|0,b0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,TU=F[1]|0,m=TU&8191,X0=TU>>>13,s0=F[2]|0,S0=s0&8191,B0=s0>>>13,F$=F[3]|0,g0=F$&8191,f0=F$>>>13,V$=F[4]|0,n0=V$&8191,i0=V$>>>13,KU=F[5]|0,a0=KU&8191,i=KU>>>13,G0=F[6]|0,P0=G0&8191,_0=G0>>>13,Z$=F[7]|0,d0=Z$&8191,t0=Z$>>>13,HU=F[8]|0,I$=HU&8191,$$=HU>>>13,e$=F[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=Y.negative^D.negative,H.length=19,A=Math.imul(B,r0),Z=Math.imul(B,o0),Z=Z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var RU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,r0),Z=Math.imul(U0,o0),Z=Z+Math.imul(z0,r0)|0,C=Math.imul(z0,o0),A=A+Math.imul(B,m)|0,Z=Z+Math.imul(B,X0)|0,Z=Z+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var v$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(v$>>>26)|0,v$&=67108863,A=Math.imul(s,r0),Z=Math.imul(s,o0),Z=Z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,Z=Z+Math.imul(U0,X0)|0,Z=Z+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(B,S0)|0,Z=Z+Math.imul(B,B0)|0,Z=Z+Math.imul(h,S0)|0,C=C+Math.imul(h,B0)|0;var S$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(O0,r0),Z=Math.imul(O0,o0),Z=Z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,Z=Z+Math.imul(s,X0)|0,Z=Z+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,Z=Z+Math.imul(U0,B0)|0,Z=Z+Math.imul(z0,S0)|0,C=C+Math.imul(z0,B0)|0,A=A+Math.imul(B,g0)|0,Z=Z+Math.imul(B,f0)|0,Z=Z+Math.imul(h,g0)|0,C=C+Math.imul(h,f0)|0;var $U=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),Z=Math.imul(c,o0),Z=Z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(O0,m)|0,Z=Z+Math.imul(O0,X0)|0,Z=Z+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,Z=Z+Math.imul(s,B0)|0,Z=Z+Math.imul(e,S0)|0,C=C+Math.imul(e,B0)|0,A=A+Math.imul(U0,g0)|0,Z=Z+Math.imul(U0,f0)|0,Z=Z+Math.imul(z0,g0)|0,C=C+Math.imul(z0,f0)|0,A=A+Math.imul(B,n0)|0,Z=Z+Math.imul(B,i0)|0,Z=Z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),Z=Math.imul(Y0,o0),Z=Z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(c,m)|0,Z=Z+Math.imul(c,X0)|0,Z=Z+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(O0,S0)|0,Z=Z+Math.imul(O0,B0)|0,Z=Z+Math.imul(A0,S0)|0,C=C+Math.imul(A0,B0)|0,A=A+Math.imul(s,g0)|0,Z=Z+Math.imul(s,f0)|0,Z=Z+Math.imul(e,g0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,Z=Z+Math.imul(U0,i0)|0,Z=Z+Math.imul(z0,n0)|0,C=C+Math.imul(z0,i0)|0,A=A+Math.imul(B,a0)|0,Z=Z+Math.imul(B,i)|0,Z=Z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var uU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),Z=Math.imul(I0,o0),Z=Z+Math.imul(K0,r0)|0,C=Math.imul(K0,o0),A=A+Math.imul(Y0,m)|0,Z=Z+Math.imul(Y0,X0)|0,Z=Z+Math.imul(V0,m)|0,C=C+Math.imul(V0,X0)|0,A=A+Math.imul(c,S0)|0,Z=Z+Math.imul(c,B0)|0,Z=Z+Math.imul(n,S0)|0,C=C+Math.imul(n,B0)|0,A=A+Math.imul(O0,g0)|0,Z=Z+Math.imul(O0,f0)|0,Z=Z+Math.imul(A0,g0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,Z=Z+Math.imul(s,i0)|0,Z=Z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,Z=Z+Math.imul(U0,i)|0,Z=Z+Math.imul(z0,a0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(B,P0)|0,Z=Z+Math.imul(B,_0)|0,Z=Z+Math.imul(h,P0)|0,C=C+Math.imul(h,_0)|0;var bU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),Z=Math.imul(M0,o0),Z=Z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(I0,m)|0,Z=Z+Math.imul(I0,X0)|0,Z=Z+Math.imul(K0,m)|0,C=C+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,Z=Z+Math.imul(Y0,B0)|0,Z=Z+Math.imul(V0,S0)|0,C=C+Math.imul(V0,B0)|0,A=A+Math.imul(c,g0)|0,Z=Z+Math.imul(c,f0)|0,Z=Z+Math.imul(n,g0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(O0,n0)|0,Z=Z+Math.imul(O0,i0)|0,Z=Z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,Z=Z+Math.imul(s,i)|0,Z=Z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,P0)|0,Z=Z+Math.imul(U0,_0)|0,Z=Z+Math.imul(z0,P0)|0,C=C+Math.imul(z0,_0)|0,A=A+Math.imul(B,d0)|0,Z=Z+Math.imul(B,t0)|0,Z=Z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),Z=Math.imul(p0,o0),Z=Z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,Z=Z+Math.imul(M0,X0)|0,Z=Z+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,S0)|0,Z=Z+Math.imul(I0,B0)|0,Z=Z+Math.imul(K0,S0)|0,C=C+Math.imul(K0,B0)|0,A=A+Math.imul(Y0,g0)|0,Z=Z+Math.imul(Y0,f0)|0,Z=Z+Math.imul(V0,g0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(c,n0)|0,Z=Z+Math.imul(c,i0)|0,Z=Z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(O0,a0)|0,Z=Z+Math.imul(O0,i)|0,Z=Z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,P0)|0,Z=Z+Math.imul(s,_0)|0,Z=Z+Math.imul(e,P0)|0,C=C+Math.imul(e,_0)|0,A=A+Math.imul(U0,d0)|0,Z=Z+Math.imul(U0,t0)|0,Z=Z+Math.imul(z0,d0)|0,C=C+Math.imul(z0,t0)|0,A=A+Math.imul(B,I$)|0,Z=Z+Math.imul(B,$$)|0,Z=Z+Math.imul(h,I$)|0,C=C+Math.imul(h,$$)|0;var cU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),Z=Math.imul(b0,o0),Z=Z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,Z=Z+Math.imul(p0,X0)|0,Z=Z+Math.imul(c0,m)|0,C=C+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,Z=Z+Math.imul(M0,B0)|0,Z=Z+Math.imul(v0,S0)|0,C=C+Math.imul(v0,B0)|0,A=A+Math.imul(I0,g0)|0,Z=Z+Math.imul(I0,f0)|0,Z=Z+Math.imul(K0,g0)|0,C=C+Math.imul(K0,f0)|0,A=A+Math.imul(Y0,n0)|0,Z=Z+Math.imul(Y0,i0)|0,Z=Z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(c,a0)|0,Z=Z+Math.imul(c,i)|0,Z=Z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(O0,P0)|0,Z=Z+Math.imul(O0,_0)|0,Z=Z+Math.imul(A0,P0)|0,C=C+Math.imul(A0,_0)|0,A=A+Math.imul(s,d0)|0,Z=Z+Math.imul(s,t0)|0,Z=Z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,Z=Z+Math.imul(U0,$$)|0,Z=Z+Math.imul(z0,I$)|0,C=C+Math.imul(z0,$$)|0,A=A+Math.imul(B,X$)|0,Z=Z+Math.imul(B,e0)|0,Z=Z+Math.imul(h,X$)|0,C=C+Math.imul(h,e0)|0;var pU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,m),Z=Math.imul(b0,X0),Z=Z+Math.imul(h0,m)|0,C=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,Z=Z+Math.imul(p0,B0)|0,Z=Z+Math.imul(c0,S0)|0,C=C+Math.imul(c0,B0)|0,A=A+Math.imul(M0,g0)|0,Z=Z+Math.imul(M0,f0)|0,Z=Z+Math.imul(v0,g0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(I0,n0)|0,Z=Z+Math.imul(I0,i0)|0,Z=Z+Math.imul(K0,n0)|0,C=C+Math.imul(K0,i0)|0,A=A+Math.imul(Y0,a0)|0,Z=Z+Math.imul(Y0,i)|0,Z=Z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(c,P0)|0,Z=Z+Math.imul(c,_0)|0,Z=Z+Math.imul(n,P0)|0,C=C+Math.imul(n,_0)|0,A=A+Math.imul(O0,d0)|0,Z=Z+Math.imul(O0,t0)|0,Z=Z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,Z=Z+Math.imul(s,$$)|0,Z=Z+Math.imul(e,I$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,Z=Z+Math.imul(U0,e0)|0,Z=Z+Math.imul(z0,X$)|0,C=C+Math.imul(z0,e0)|0;var r$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),Z=Math.imul(b0,B0),Z=Z+Math.imul(h0,S0)|0,C=Math.imul(h0,B0),A=A+Math.imul(p0,g0)|0,Z=Z+Math.imul(p0,f0)|0,Z=Z+Math.imul(c0,g0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,Z=Z+Math.imul(M0,i0)|0,Z=Z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(I0,a0)|0,Z=Z+Math.imul(I0,i)|0,Z=Z+Math.imul(K0,a0)|0,C=C+Math.imul(K0,i)|0,A=A+Math.imul(Y0,P0)|0,Z=Z+Math.imul(Y0,_0)|0,Z=Z+Math.imul(V0,P0)|0,C=C+Math.imul(V0,_0)|0,A=A+Math.imul(c,d0)|0,Z=Z+Math.imul(c,t0)|0,Z=Z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(O0,I$)|0,Z=Z+Math.imul(O0,$$)|0,Z=Z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,Z=Z+Math.imul(s,e0)|0,Z=Z+Math.imul(e,X$)|0,C=C+Math.imul(e,e0)|0;var LU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,g0),Z=Math.imul(b0,f0),Z=Z+Math.imul(h0,g0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,Z=Z+Math.imul(p0,i0)|0,Z=Z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,Z=Z+Math.imul(M0,i)|0,Z=Z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,P0)|0,Z=Z+Math.imul(I0,_0)|0,Z=Z+Math.imul(K0,P0)|0,C=C+Math.imul(K0,_0)|0,A=A+Math.imul(Y0,d0)|0,Z=Z+Math.imul(Y0,t0)|0,Z=Z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(c,I$)|0,Z=Z+Math.imul(c,$$)|0,Z=Z+Math.imul(n,I$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(O0,X$)|0,Z=Z+Math.imul(O0,e0)|0,Z=Z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,e0)|0;var VU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(b0,n0),Z=Math.imul(b0,i0),Z=Z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,Z=Z+Math.imul(p0,i)|0,Z=Z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,P0)|0,Z=Z+Math.imul(M0,_0)|0,Z=Z+Math.imul(v0,P0)|0,C=C+Math.imul(v0,_0)|0,A=A+Math.imul(I0,d0)|0,Z=Z+Math.imul(I0,t0)|0,Z=Z+Math.imul(K0,d0)|0,C=C+Math.imul(K0,t0)|0,A=A+Math.imul(Y0,I$)|0,Z=Z+Math.imul(Y0,$$)|0,Z=Z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(c,X$)|0,Z=Z+Math.imul(c,e0)|0,Z=Z+Math.imul(n,X$)|0,C=C+Math.imul(n,e0)|0;var mU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(b0,a0),Z=Math.imul(b0,i),Z=Z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,P0)|0,Z=Z+Math.imul(p0,_0)|0,Z=Z+Math.imul(c0,P0)|0,C=C+Math.imul(c0,_0)|0,A=A+Math.imul(M0,d0)|0,Z=Z+Math.imul(M0,t0)|0,Z=Z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(I0,I$)|0,Z=Z+Math.imul(I0,$$)|0,Z=Z+Math.imul(K0,I$)|0,C=C+Math.imul(K0,$$)|0,A=A+Math.imul(Y0,X$)|0,Z=Z+Math.imul(Y0,e0)|0,Z=Z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,e0)|0;var PU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(b0,P0),Z=Math.imul(b0,_0),Z=Z+Math.imul(h0,P0)|0,C=Math.imul(h0,_0),A=A+Math.imul(p0,d0)|0,Z=Z+Math.imul(p0,t0)|0,Z=Z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,Z=Z+Math.imul(M0,$$)|0,Z=Z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(I0,X$)|0,Z=Z+Math.imul(I0,e0)|0,Z=Z+Math.imul(K0,X$)|0,C=C+Math.imul(K0,e0)|0;var BU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(BU>>>26)|0,BU&=67108863,A=Math.imul(b0,d0),Z=Math.imul(b0,t0),Z=Z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,Z=Z+Math.imul(p0,$$)|0,Z=Z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,Z=Z+Math.imul(M0,e0)|0,Z=Z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,e0)|0;var gU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(b0,I$),Z=Math.imul(b0,$$),Z=Z+Math.imul(h0,I$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,Z=Z+Math.imul(p0,e0)|0,Z=Z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,e0)|0;var EU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,X$),Z=Math.imul(b0,e0),Z=Z+Math.imul(h0,X$)|0,C=Math.imul(h0,e0);var MU=(S+A|0)+((Z&8191)<<13)|0;if(S=(C+(Z>>>13)|0)+(MU>>>26)|0,MU&=67108863,T[0]=RU,T[1]=v$,T[2]=S$,T[3]=$U,T[4]=d$,T[5]=uU,T[6]=bU,T[7]=hU,T[8]=cU,T[9]=pU,T[10]=r$,T[11]=LU,T[12]=VU,T[13]=mU,T[14]=PU,T[15]=BU,T[16]=gU,T[17]=EU,T[18]=MU,S!==0)T[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(Y,D,H){H.negative=D.negative^Y.negative,H.length=Y.length+D.length;var V=0,F=0;for(var T=0;T<H.length-1;T++){var S=F;F=0;var A=V&67108863,Z=Math.min(T,D.length-1);for(var C=Math.max(0,T-Y.length+1);C<=Z;C++){var x=T-C,B=Y.words[x]|0,h=D.words[C]|0,r=B*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,F+=S>>>26,S&=67108863}H.words[T]=A,V=S,S=F}if(V!==0)H.words[T]=V;else H.length--;return H.strip()}function g(Y,D,H){var V=new u;return V.mulp(Y,D,H)}O.prototype.mulTo=function(Y,D){var H,V=this.length+Y.length;if(this.length===10&&Y.length===10)H=w(this,Y,D);else if(V<63)H=y(this,Y,D);else if(V<1024)H=b(this,Y,D);else H=g(this,Y,D);return H};function u(Y,D){this.x=Y,this.y=D}u.prototype.makeRBT=function(Y){var D=Array(Y),H=O.prototype._countBits(Y)-1;for(var V=0;V<Y;V++)D[V]=this.revBin(V,H,Y);return D},u.prototype.revBin=function(Y,D,H){if(Y===0||Y===H-1)return Y;var V=0;for(var F=0;F<D;F++)V|=(Y&1)<<D-F-1,Y>>=1;return V},u.prototype.permute=function(Y,D,H,V,F,T){for(var S=0;S<T;S++)V[S]=D[Y[S]],F[S]=H[Y[S]]},u.prototype.transform=function(Y,D,H,V,F,T){this.permute(T,Y,D,H,V,F);for(var S=1;S<F;S<<=1){var A=S<<1,Z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<F;x+=A){var B=Z,h=C;for(var r=0;r<S;r++){var U0=H[x+r],z0=V[x+r],Q0=H[x+r+S],s=V[x+r+S],e=B*Q0-h*s;if(s=B*s+h*Q0,Q0=e,H[x+r]=U0+Q0,V[x+r]=z0+s,H[x+r+S]=U0-Q0,V[x+r+S]=z0-s,r!==A)e=Z*B-C*h,h=Z*h+C*B,B=e}}}},u.prototype.guessLen13b=function(Y,D){var H=Math.max(D,Y)|1,V=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+V},u.prototype.conjugate=function(Y,D,H){if(H<=1)return;for(var V=0;V<H/2;V++){var F=Y[V];Y[V]=Y[H-V-1],Y[H-V-1]=F,F=D[V],D[V]=-D[H-V-1],D[H-V-1]=-F}},u.prototype.normalize13b=function(Y,D){var H=0;for(var V=0;V<D/2;V++){var F=Math.round(Y[2*V+1]/D)*8192+Math.round(Y[2*V]/D)+H;if(Y[V]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return Y},u.prototype.convert13b=function(Y,D,H,V){var F=0;for(var T=0;T<D;T++)F=F+(Y[T]|0),H[2*T]=F&8191,F=F>>>13,H[2*T+1]=F&8191,F=F>>>13;for(T=2*D;T<V;++T)H[T]=0;X(F===0),X((F&-8192)===0)},u.prototype.stub=function(Y){var D=Array(Y);for(var H=0;H<Y;H++)D[H]=0;return D},u.prototype.mulp=function(Y,D,H){var V=2*this.guessLen13b(Y.length,D.length),F=this.makeRBT(V),T=this.stub(V),S=Array(V),A=Array(V),Z=Array(V),C=Array(V),x=Array(V),B=Array(V),h=H.words;h.length=V,this.convert13b(Y.words,Y.length,S,V),this.convert13b(D.words,D.length,C,V),this.transform(S,T,A,Z,V,F),this.transform(C,T,x,B,V,F);for(var r=0;r<V;r++){var U0=A[r]*x[r]-Z[r]*B[r];Z[r]=A[r]*B[r]+Z[r]*x[r],A[r]=U0}return this.conjugate(A,Z,V),this.transform(A,Z,h,T,V,F),this.conjugate(h,T,V),this.normalize13b(h,V),H.negative=Y.negative^D.negative,H.length=Y.length+D.length,H.strip()},O.prototype.mul=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),this.mulTo(Y,D)},O.prototype.mulf=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),g(this,Y,D)},O.prototype.imul=function(Y){return this.clone().mulTo(Y,this)},O.prototype.imuln=function(Y){X(typeof Y==="number"),X(Y<67108864);var D=0;for(var H=0;H<this.length;H++){var V=(this.words[H]|0)*Y,F=(V&67108863)+(D&67108863);D>>=26,D+=V/67108864|0,D+=F>>>26,this.words[H]=F&67108863}if(D!==0)this.words[H]=D,this.length++;return this.length=Y===0?1:this.length,this},O.prototype.muln=function(Y){return this.clone().imuln(Y)},O.prototype.sqr=function(){return this.mul(this)},O.prototype.isqr=function(){return this.imul(this.clone())},O.prototype.pow=function(Y){var D=N(Y);if(D.length===0)return new O(1);var H=this;for(var V=0;V<D.length;V++,H=H.sqr())if(D[V]!==0)break;if(++V<D.length)for(var F=H.sqr();V<D.length;V++,F=F.sqr()){if(D[V]===0)continue;H=H.mul(F)}return H},O.prototype.iushln=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=67108863>>>26-D<<26-D,F;if(D!==0){var T=0;for(F=0;F<this.length;F++){var S=this.words[F]&V,A=(this.words[F]|0)-S<<D;this.words[F]=A|T,T=S>>>26-D}if(T)this.words[F]=T,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},O.prototype.ishln=function(Y){return X(this.negative===0),this.iushln(Y)},O.prototype.iushrn=function(Y,D,H){X(typeof Y==="number"&&Y>=0);var V;if(D)V=(D-D%26)/26;else V=0;var F=Y%26,T=Math.min((Y-F)/26,this.length),S=67108863^67108863>>>F<<F,A=H;if(V-=T,V=Math.max(0,V),A){for(var Z=0;Z<T;Z++)A.words[Z]=this.words[Z];A.length=T}if(T===0);else if(this.length>T){this.length-=T;for(Z=0;Z<this.length;Z++)this.words[Z]=this.words[Z+T]}else this.words[0]=0,this.length=1;var C=0;for(Z=this.length-1;Z>=0&&(C!==0||Z>=V);Z--){var x=this.words[Z]|0;this.words[Z]=C<<26-F|x>>>F,C=x&S}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},O.prototype.ishrn=function(Y,D,H){return X(this.negative===0),this.iushrn(Y,D,H)},O.prototype.shln=function(Y){return this.clone().ishln(Y)},O.prototype.ushln=function(Y){return this.clone().iushln(Y)},O.prototype.shrn=function(Y){return this.clone().ishrn(Y)},O.prototype.ushrn=function(Y){return this.clone().iushrn(Y)},O.prototype.testn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return!1;var F=this.words[H];return!!(F&V)},O.prototype.imaskn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(D!==0)H++;if(this.length=Math.min(H,this.length),D!==0){var V=67108863^67108863>>>D<<D;this.words[this.length-1]&=V}return this.strip()},O.prototype.maskn=function(Y){return this.clone().imaskn(Y)},O.prototype.iaddn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.isubn(-Y);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Y)return this.words[0]=Y-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Y),this.negative=1,this}return this._iaddn(Y)},O.prototype._iaddn=function(Y){this.words[0]+=Y;for(var D=0;D<this.length&&this.words[D]>=67108864;D++)if(this.words[D]-=67108864,D===this.length-1)this.words[D+1]=1;else this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},O.prototype.isubn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.iaddn(-Y);if(this.negative!==0)return this.negative=0,this.iaddn(Y),this.negative=1,this;if(this.words[0]-=Y,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D<this.length&&this.words[D]<0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this.strip()},O.prototype.addn=function(Y){return this.clone().iaddn(Y)},O.prototype.subn=function(Y){return this.clone().isubn(Y)},O.prototype.iabs=function(){return this.negative=0,this},O.prototype.abs=function(){return this.clone().iabs()},O.prototype._ishlnsubmul=function(Y,D,H){var V=Y.length+H,F;this._expand(V);var T,S=0;for(F=0;F<Y.length;F++){T=(this.words[F+H]|0)+S;var A=(Y.words[F]|0)*D;T-=A&67108863,S=(T>>26)-(A/67108864|0),this.words[F+H]=T&67108863}for(;F<this.length-H;F++)T=(this.words[F+H]|0)+S,S=T>>26,this.words[F+H]=T&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(F=0;F<this.length;F++)T=-(this.words[F]|0)+S,S=T>>26,this.words[F]=T&67108863;return this.negative=1,this.strip()},O.prototype._wordDiv=function(Y,D){var H=this.length-Y.length,V=this.clone(),F=Y,T=F.words[F.length-1]|0,S=this._countBits(T);if(H=26-S,H!==0)F=F.ushln(H),V.iushln(H),T=F.words[F.length-1]|0;var A=V.length-F.length,Z;if(D!=="mod"){Z=new O(null),Z.length=A+1,Z.words=Array(Z.length);for(var C=0;C<Z.length;C++)Z.words[C]=0}var x=V.clone()._ishlnsubmul(F,1,A);if(x.negative===0){if(V=x,Z)Z.words[A]=1}for(var B=A-1;B>=0;B--){var h=(V.words[F.length+B]|0)*67108864+(V.words[F.length+B-1]|0);h=Math.min(h/T|0,67108863),V._ishlnsubmul(F,h,B);while(V.negative!==0)if(h--,V.negative=0,V._ishlnsubmul(F,1,B),!V.isZero())V.negative^=1;if(Z)Z.words[B]=h}if(Z)Z.strip();if(V.strip(),D!=="div"&&H!==0)V.iushrn(H);return{div:Z||null,mod:V}},O.prototype.divmod=function(Y,D,H){if(X(!Y.isZero()),this.isZero())return{div:new O(0),mod:new O(0)};var V,F,T;if(this.negative!==0&&Y.negative===0){if(T=this.neg().divmod(Y,D),D!=="mod")V=T.div.neg();if(D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.iadd(Y)}return{div:V,mod:F}}if(this.negative===0&&Y.negative!==0){if(T=this.divmod(Y.neg(),D),D!=="mod")V=T.div.neg();return{div:V,mod:T.mod}}if((this.negative&Y.negative)!==0){if(T=this.neg().divmod(Y.neg(),D),D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.isub(Y)}return{div:T.div,mod:F}}if(Y.length>this.length||this.cmp(Y)<0)return{div:new O(0),mod:this};if(Y.length===1){if(D==="div")return{div:this.divn(Y.words[0]),mod:null};if(D==="mod")return{div:null,mod:new O(this.modn(Y.words[0]))};return{div:this.divn(Y.words[0]),mod:new O(this.modn(Y.words[0]))}}return this._wordDiv(Y,D)},O.prototype.div=function(Y){return this.divmod(Y,"div",!1).div},O.prototype.mod=function(Y){return this.divmod(Y,"mod",!1).mod},O.prototype.umod=function(Y){return this.divmod(Y,"mod",!0).mod},O.prototype.divRound=function(Y){var D=this.divmod(Y);if(D.mod.isZero())return D.div;var H=D.div.negative!==0?D.mod.isub(Y):D.mod,V=Y.ushrn(1),F=Y.andln(1),T=H.cmp(V);if(T<0||F===1&&T===0)return D.div;return D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},O.prototype.modn=function(Y){X(Y<=67108863);var D=67108864%Y,H=0;for(var V=this.length-1;V>=0;V--)H=(D*H+(this.words[V]|0))%Y;return H},O.prototype.idivn=function(Y){X(Y<=67108863);var D=0;for(var H=this.length-1;H>=0;H--){var V=(this.words[H]|0)+D*67108864;this.words[H]=V/Y|0,D=V%Y}return this.strip()},O.prototype.divn=function(Y){return this.clone().idivn(Y)},O.prototype.egcd=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=new O(0),S=new O(1),A=0;while(D.isEven()&&H.isEven())D.iushrn(1),H.iushrn(1),++A;var Z=H.clone(),C=D.clone();while(!D.isZero()){for(var x=0,B=1;(D.words[0]&B)===0&&x<26;++x,B<<=1);if(x>0){D.iushrn(x);while(x-- >0){if(V.isOdd()||F.isOdd())V.iadd(Z),F.isub(C);V.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(T.isOdd()||S.isOdd())T.iadd(Z),S.isub(C);T.iushrn(1),S.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(T),F.isub(S);else H.isub(D),T.isub(V),S.isub(F)}return{a:T,b:S,gcd:H.iushln(A)}},O.prototype._invmp=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=H.clone();while(D.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(D.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){D.iushrn(S);while(S-- >0){if(V.isOdd())V.iadd(T);V.iushrn(1)}}for(var Z=0,C=1;(H.words[0]&C)===0&&Z<26;++Z,C<<=1);if(Z>0){H.iushrn(Z);while(Z-- >0){if(F.isOdd())F.iadd(T);F.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(F);else H.isub(D),F.isub(V)}var x;if(D.cmpn(1)===0)x=V;else x=F;if(x.cmpn(0)<0)x.iadd(Y);return x},O.prototype.gcd=function(Y){if(this.isZero())return Y.abs();if(Y.isZero())return this.abs();var D=this.clone(),H=Y.clone();D.negative=0,H.negative=0;for(var V=0;D.isEven()&&H.isEven();V++)D.iushrn(1),H.iushrn(1);do{while(D.isEven())D.iushrn(1);while(H.isEven())H.iushrn(1);var F=D.cmp(H);if(F<0){var T=D;D=H,H=T}else if(F===0||H.cmpn(1)===0)break;D.isub(H)}while(!0);return H.iushln(V)},O.prototype.invm=function(Y){return this.egcd(Y).a.umod(Y)},O.prototype.isEven=function(){return(this.words[0]&1)===0},O.prototype.isOdd=function(){return(this.words[0]&1)===1},O.prototype.andln=function(Y){return this.words[0]&Y},O.prototype.bincn=function(Y){X(typeof Y==="number");var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return this._expand(H+1),this.words[H]|=V,this;var F=V;for(var T=H;F!==0&&T<this.length;T++){var S=this.words[T]|0;S+=F,F=S>>>26,S&=67108863,this.words[T]=S}if(F!==0)this.words[T]=F,this.length++;return this},O.prototype.isZero=function(){return this.length===1&&this.words[0]===0},O.prototype.cmpn=function(Y){var D=Y<0;if(this.negative!==0&&!D)return-1;if(this.negative===0&&D)return 1;this.strip();var H;if(this.length>1)H=1;else{if(D)Y=-Y;X(Y<=67108863,"Number is too big");var V=this.words[0]|0;H=V===Y?0:V<Y?-1:1}if(this.negative!==0)return-H|0;return H},O.prototype.cmp=function(Y){if(this.negative!==0&&Y.negative===0)return-1;if(this.negative===0&&Y.negative!==0)return 1;var D=this.ucmp(Y);if(this.negative!==0)return-D|0;return D},O.prototype.ucmp=function(Y){if(this.length>Y.length)return 1;if(this.length<Y.length)return-1;var D=0;for(var H=this.length-1;H>=0;H--){var V=this.words[H]|0,F=Y.words[H]|0;if(V===F)continue;if(V<F)D=-1;else if(V>F)D=1;break}return D},O.prototype.gtn=function(Y){return this.cmpn(Y)===1},O.prototype.gt=function(Y){return this.cmp(Y)===1},O.prototype.gten=function(Y){return this.cmpn(Y)>=0},O.prototype.gte=function(Y){return this.cmp(Y)>=0},O.prototype.ltn=function(Y){return this.cmpn(Y)===-1},O.prototype.lt=function(Y){return this.cmp(Y)===-1},O.prototype.lten=function(Y){return this.cmpn(Y)<=0},O.prototype.lte=function(Y){return this.cmp(Y)<=0},O.prototype.eqn=function(Y){return this.cmpn(Y)===0},O.prototype.eq=function(Y){return this.cmp(Y)===0},O.red=function(Y){return new t(Y)},O.prototype.toRed=function(Y){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),Y.convertTo(this)._forceRed(Y)},O.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},O.prototype._forceRed=function(Y){return this.red=Y,this},O.prototype.forceRed=function(Y){return X(!this.red,"Already a number in reduction context"),this._forceRed(Y)},O.prototype.redAdd=function(Y){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,Y)},O.prototype.redIAdd=function(Y){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Y)},O.prototype.redSub=function(Y){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,Y)},O.prototype.redISub=function(Y){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,Y)},O.prototype.redShl=function(Y){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,Y)},O.prototype.redMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.mul(this,Y)},O.prototype.redIMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.imul(this,Y)},O.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},O.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},O.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},O.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},O.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},O.prototype.redPow=function(Y){return X(this.red&&!Y.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Y)};var p={k256:null,p224:null,p192:null,p25519:null};function d(Y,D){this.name=Y,this.p=new O(D,16),this.n=this.p.bitLength(),this.k=new O(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var Y=new O(null);return Y.words=Array(Math.ceil(this.n/13)),Y},d.prototype.ireduce=function(Y){var D=Y,H;do this.split(D,this.tmp),D=this.imulK(D),D=D.iadd(this.tmp),H=D.bitLength();while(H>this.n);var V=H<this.n?-1:D.ucmp(this.p);if(V===0)D.words[0]=0,D.length=1;else if(V>0)D.isub(this.p);else if(D.strip!==void 0)D.strip();else D._strip();return D},d.prototype.split=function(Y,D){Y.iushrn(this.n,0,D)},d.prototype.imulK=function(Y){return Y.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(Y,D){var H=4194303,V=Math.min(Y.length,9);for(var F=0;F<V;F++)D.words[F]=Y.words[F];if(D.length=V,Y.length<=9){Y.words[0]=0,Y.length=1;return}var T=Y.words[9];D.words[D.length++]=T&H;for(F=10;F<Y.length;F++){var S=Y.words[F]|0;Y.words[F-10]=(S&H)<<4|T>>>22,T=S}if(T>>>=22,Y.words[F-10]=T,T===0&&Y.length>10)Y.length-=10;else Y.length-=9},a.prototype.imulK=function(Y){Y.words[Y.length]=0,Y.words[Y.length+1]=0,Y.length+=2;var D=0;for(var H=0;H<Y.length;H++){var V=Y.words[H]|0;D+=V*977,Y.words[H]=D&67108863,D=V*64+(D/67108864|0)}if(Y.words[Y.length-1]===0){if(Y.length--,Y.words[Y.length-1]===0)Y.length--}return Y};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function E0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(E0,d),E0.prototype.imulK=function(Y){var D=0;for(var H=0;H<Y.length;H++){var V=(Y.words[H]|0)*19+D,F=V&67108863;V>>>=26,Y.words[H]=F,D=V}if(D!==0)Y.words[Y.length++]=D;return Y},O._prime=function(Y){if(p[Y])return p[Y];var D;if(Y==="k256")D=new a;else if(Y==="p224")D=new F0;else if(Y==="p192")D=new L0;else if(Y==="p25519")D=new E0;else throw Error("Unknown prime "+Y);return p[Y]=D,D};function t(Y){if(typeof Y==="string"){var D=O._prime(Y);this.m=D.p,this.prime=D}else X(Y.gtn(1),"modulus must be greater than 1"),this.m=Y,this.prime=null}t.prototype._verify1=function(Y){X(Y.negative===0,"red works only with positives"),X(Y.red,"red works only with red numbers")},t.prototype._verify2=function(Y,D){X((Y.negative|D.negative)===0,"red works only with positives"),X(Y.red&&Y.red===D.red,"red works only with red numbers")},t.prototype.imod=function(Y){if(this.prime)return this.prime.ireduce(Y)._forceRed(this);return Y.umod(this.m)._forceRed(this)},t.prototype.neg=function(Y){if(Y.isZero())return Y.clone();return this.m.sub(Y)._forceRed(this)},t.prototype.add=function(Y,D){this._verify2(Y,D);var H=Y.add(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(Y,D){this._verify2(Y,D);var H=Y.iadd(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(Y,D){this._verify2(Y,D);var H=Y.sub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(Y,D){this._verify2(Y,D);var H=Y.isub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(Y,D){return this._verify1(Y),this.imod(Y.ushln(D))},t.prototype.imul=function(Y,D){return this._verify2(Y,D),this.imod(Y.imul(D))},t.prototype.mul=function(Y,D){return this._verify2(Y,D),this.imod(Y.mul(D))},t.prototype.isqr=function(Y){return this.imul(Y,Y.clone())},t.prototype.sqr=function(Y){return this.mul(Y,Y)},t.prototype.sqrt=function(Y){if(Y.isZero())return Y.clone();var D=this.m.andln(3);if(X(D%2===1),D===3){var H=this.m.add(new O(1)).iushrn(2);return this.pow(Y,H)}var V=this.m.subn(1),F=0;while(!V.isZero()&&V.andln(1)===0)F++,V.iushrn(1);X(!V.isZero());var T=new O(1).toRed(this),S=T.redNeg(),A=this.m.subn(1).iushrn(1),Z=this.m.bitLength();Z=new O(2*Z*Z).toRed(this);while(this.pow(Z,A).cmp(S)!==0)Z.redIAdd(S);var C=this.pow(Z,V),x=this.pow(Y,V.addn(1).iushrn(1)),B=this.pow(Y,V),h=F;while(B.cmp(T)!==0){var r=B;for(var U0=0;r.cmp(T)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(C,new O(1).iushln(h-U0-1));x=x.redMul(z0),C=z0.redSqr(),B=B.redMul(C),h=U0}return x},t.prototype.invm=function(Y){var D=Y._invmp(this.m);if(D.negative!==0)return D.negative=0,this.imod(D).redNeg();else return this.imod(D)},t.prototype.pow=function(Y,D){if(D.isZero())return new O(1).toRed(this);if(D.cmpn(1)===0)return Y.clone();var H=4,V=Array(1<<H);V[0]=new O(1).toRed(this),V[1]=Y;for(var F=2;F<V.length;F++)V[F]=this.mul(V[F-1],Y);var T=V[0],S=0,A=0,Z=D.bitLength()%26;if(Z===0)Z=26;for(F=D.length-1;F>=0;F--){var C=D.words[F];for(var x=Z-1;x>=0;x--){var B=C>>x&1;if(T!==V[0])T=this.sqr(T);if(B===0&&S===0){A=0;continue}if(S<<=1,S|=B,A++,A!==H&&(F!==0||x!==0))continue;T=this.mul(T,V[S]),A=0,S=0}Z=26}return T},t.prototype.convertTo=function(Y){var D=Y.umod(this.m);return D===Y?D.clone():D},t.prototype.convertFrom=function(Y){var D=Y.clone();return D.red=null,D},O.mont=function(Y){return new C0(Y)};function C0(Y){if(t.call(this,Y),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new O(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(C0,t),C0.prototype.convertTo=function(Y){return this.imod(Y.ushln(this.shift))},C0.prototype.convertFrom=function(Y){var D=this.imod(Y.mul(this.rinv));return D.red=null,D},C0.prototype.imul=function(Y,D){if(Y.isZero()||D.isZero())return Y.words[0]=0,Y.length=1,Y;var H=Y.imul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.mul=function(Y,D){if(Y.isZero()||D.isZero())return new O(0)._forceRed(this);var H=Y.mul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.invm=function(Y){var D=this.imod(Y._invmp(this.m).mul(this.r2));return D._forceRed(this)}})(typeof J>"u"||J,I)}),Uf=u0((I)=>{var J=eG(),G=W4(),K=I;K.define=function(z,O){return new X(z,O)};function X(z,O){this.name=z,this.body=O,this.decoders={},this.encoders={}}X.prototype._createNamed=function(z){var O;try{O=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
|
|
241
|
+
this._initNamed(entity);
|
|
242
|
+
})`)}catch(L){O=function(j){this._initNamed(j)}}return G(O,z),O.prototype._initNamed=function(L){z.call(this,L)},new O(this)},X.prototype._getDecoder=function(z){if(z=z||"der",!this.decoders.hasOwnProperty(z))this.decoders[z]=this._createNamed(J.decoders[z]);return this.decoders[z]},X.prototype.decode=function(z,O,L){return this._getDecoder(O).decode(z,L)},X.prototype._getEncoder=function(z){if(z=z||"der",!this.encoders.hasOwnProperty(z))this.encoders[z]=this._createNamed(J.encoders[z]);return this.encoders[z]},X.prototype.encode=function(z,O,L){return this._getEncoder(O).encode(z,L)}}),If=u0((I)=>{var J=W4();function G(X){this._reporterState={obj:null,path:[],options:X||{},errors:[]}}I.Reporter=G,G.prototype.isError=function(X){return X instanceof K},G.prototype.save=function(){var X=this._reporterState;return{obj:X.obj,pathLen:X.path.length}},G.prototype.restore=function(X){var z=this._reporterState;z.obj=X.obj,z.path=z.path.slice(0,X.pathLen)},G.prototype.enterKey=function(X){return this._reporterState.path.push(X)},G.prototype.exitKey=function(X){var z=this._reporterState;z.path=z.path.slice(0,X-1)},G.prototype.leaveKey=function(X,z,O){var L=this._reporterState;if(this.exitKey(X),L.obj!==null)L.obj[z]=O},G.prototype.path=function(){return this._reporterState.path.join("/")},G.prototype.enterObject=function(){var X=this._reporterState,z=X.obj;return X.obj={},z},G.prototype.leaveObject=function(X){var z=this._reporterState,O=z.obj;return z.obj=X,O},G.prototype.error=function(X){var z,O=this._reporterState,L=X instanceof K;if(L)z=X;else z=new K(O.path.map(function(j){return"["+JSON.stringify(j)+"]"}).join(""),X.message||X,X.stack);if(!O.options.partial)throw z;if(!L)O.errors.push(z);return z},G.prototype.wrapResult=function(X){var z=this._reporterState;if(!z.options.partial)return X;return{result:this.isError(X)?null:X,errors:z.errors}};function K(X,z){this.path=X,this.rethrow(z)}J(K,Error),K.prototype.rethrow=function(X){if(this.message=X+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,K);if(!this.stack)try{throw Error(this.message)}catch(z){this.stack=z.stack}return this}}),v_=u0((I)=>{var J=W4(),G=iG().Reporter,K=(oU(),j$(nU)).Buffer;function X(O,L){if(G.call(this,L),!K.isBuffer(O)){this.error("Input not Buffer");return}this.base=O,this.offset=0,this.length=O.length}J(X,G),I.DecoderBuffer=X,X.prototype.save=function(){return{offset:this.offset,reporter:G.prototype.save.call(this)}},X.prototype.restore=function(O){var L=new X(this.base);return L.offset=O.offset,L.length=this.offset,this.offset=O.offset,G.prototype.restore.call(this,O.reporter),L},X.prototype.isEmpty=function(){return this.offset===this.length},X.prototype.readUInt8=function(O){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,!0);else return this.error(O||"DecoderBuffer overrun")},X.prototype.skip=function(O,L){if(!(this.offset+O<=this.length))return this.error(L||"DecoderBuffer overrun");var j=new X(this.base);return j._reporterState=this._reporterState,j.offset=this.offset,j.length=this.offset+O,this.offset+=O,j},X.prototype.raw=function(O){return this.base.slice(O?O.offset:this.offset,this.length)};function z(O,L){if(Array.isArray(O))this.length=0,this.value=O.map(function(j){if(!(j instanceof z))j=new z(j,L);return this.length+=j.length,j},this);else if(typeof O==="number"){if(!(0<=O&&O<=255))return L.error("non-byte EncoderBuffer value");this.value=O,this.length=1}else if(typeof O==="string")this.value=O,this.length=K.byteLength(O);else if(K.isBuffer(O))this.value=O,this.length=O.length;else return L.error("Unsupported type: "+typeof O)}I.EncoderBuffer=z,z.prototype.join=function(O,L){if(!O)O=new K(this.length);if(!L)L=0;if(this.length===0)return O;if(Array.isArray(this.value))this.value.forEach(function(j){j.join(O,L),L+=j.length});else{if(typeof this.value==="number")O[L]=this.value;else if(typeof this.value==="string")O.write(this.value,L);else if(K.isBuffer(this.value))this.value.copy(O,L);L+=this.length}return O}}),Xf=u0((I,J)=>{var G=iG().Reporter,K=iG().EncoderBuffer,X=iG().DecoderBuffer,z=IX(),O=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],L=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(O),j=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function E(q,P){var v={};if(this._baseState=v,v.enc=q,v.parent=P||null,v.children=null,v.tag=null,v.args=null,v.reverseArgs=null,v.choice=null,v.optional=!1,v.any=!1,v.obj=!1,v.use=null,v.useDecoder=null,v.key=null,v.default=null,v.explicit=null,v.implicit=null,v.contains=null,!v.parent)v.children=[],this._wrap()}J.exports=E;var _=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];E.prototype.clone=function(){var q=this._baseState,P={};_.forEach(function(N){P[N]=q[N]});var v=new this.constructor(P.parent);return v._baseState=P,v},E.prototype._wrap=function(){var q=this._baseState;L.forEach(function(P){this[P]=function(){var v=new this.constructor(this);return q.children.push(v),v[P].apply(v,arguments)}},this)},E.prototype._init=function(q){var P=this._baseState;z(P.parent===null),q.call(this),P.children=P.children.filter(function(v){return v._baseState.parent===this},this),z.equal(P.children.length,1,"Root node can have only one child")},E.prototype._useArgs=function(q){var P=this._baseState,v=q.filter(function(N){return N instanceof this.constructor},this);if(q=q.filter(function(N){return!(N instanceof this.constructor)},this),v.length!==0)z(P.children===null),P.children=v,v.forEach(function(N){N._baseState.parent=this},this);if(q.length!==0)z(P.args===null),P.args=q,P.reverseArgs=q.map(function(N){if(typeof N!=="object"||N.constructor!==Object)return N;var y={};return Object.keys(N).forEach(function(w){if(w==(w|0))w|=0;var b=N[w];y[b]=w}),y})},j.forEach(function(q){E.prototype[q]=function(){var P=this._baseState;throw Error(q+" not implemented for encoding: "+P.enc)}}),O.forEach(function(q){E.prototype[q]=function(){var P=this._baseState,v=Array.prototype.slice.call(arguments);return z(P.tag===null),P.tag=q,this._useArgs(v),this}}),E.prototype.use=function(q){z(q);var P=this._baseState;return z(P.use===null),P.use=q,this},E.prototype.optional=function(){var q=this._baseState;return q.optional=!0,this},E.prototype.def=function(q){var P=this._baseState;return z(P.default===null),P.default=q,P.optional=!0,this},E.prototype.explicit=function(q){var P=this._baseState;return z(P.explicit===null&&P.implicit===null),P.explicit=q,this},E.prototype.implicit=function(q){var P=this._baseState;return z(P.explicit===null&&P.implicit===null),P.implicit=q,this},E.prototype.obj=function(){var q=this._baseState,P=Array.prototype.slice.call(arguments);if(q.obj=!0,P.length!==0)this._useArgs(P);return this},E.prototype.key=function(q){var P=this._baseState;return z(P.key===null),P.key=q,this},E.prototype.any=function(){var q=this._baseState;return q.any=!0,this},E.prototype.choice=function(q){var P=this._baseState;return z(P.choice===null),P.choice=q,this._useArgs(Object.keys(q).map(function(v){return q[v]})),this},E.prototype.contains=function(q){var P=this._baseState;return z(P.use===null),P.contains=q,this},E.prototype._decode=function(q,P){var v=this._baseState;if(v.parent===null)return q.wrapResult(v.children[0]._decode(q,P));var N=v.default,y=!0,w=null;if(v.key!==null)w=q.enterKey(v.key);if(v.optional){var b=null;if(v.explicit!==null)b=v.explicit;else if(v.implicit!==null)b=v.implicit;else if(v.tag!==null)b=v.tag;if(b===null&&!v.any){var g=q.save();try{if(v.choice===null)this._decodeGeneric(v.tag,q,P);else this._decodeChoice(q,P);y=!0}catch(L0){y=!1}q.restore(g)}else if(y=this._peekTag(q,b,v.any),q.isError(y))return y}var u;if(v.obj&&y)u=q.enterObject();if(y){if(v.explicit!==null){var p=this._decodeTag(q,v.explicit);if(q.isError(p))return p;q=p}var d=q.offset;if(v.use===null&&v.choice===null){if(v.any)var g=q.save();var a=this._decodeTag(q,v.implicit!==null?v.implicit:v.tag,v.any);if(q.isError(a))return a;if(v.any)N=q.raw(g);else q=a}if(P&&P.track&&v.tag!==null)P.track(q.path(),d,q.length,"tagged");if(P&&P.track&&v.tag!==null)P.track(q.path(),q.offset,q.length,"content");if(v.any)N=N;else if(v.choice===null)N=this._decodeGeneric(v.tag,q,P);else N=this._decodeChoice(q,P);if(q.isError(N))return N;if(!v.any&&v.choice===null&&v.children!==null)v.children.forEach(function(L0){L0._decode(q,P)});if(v.contains&&(v.tag==="octstr"||v.tag==="bitstr")){var F0=new X(N);N=this._getUse(v.contains,q._reporterState.obj)._decode(F0,P)}}if(v.obj&&y)N=q.leaveObject(u);if(v.key!==null&&(N!==null||y===!0))q.leaveKey(w,v.key,N);else if(w!==null)q.exitKey(w);return N},E.prototype._decodeGeneric=function(q,P,v){var N=this._baseState;if(q==="seq"||q==="set")return null;if(q==="seqof"||q==="setof")return this._decodeList(P,q,N.args[0],v);else if(/str$/.test(q))return this._decodeStr(P,q,v);else if(q==="objid"&&N.args)return this._decodeObjid(P,N.args[0],N.args[1],v);else if(q==="objid")return this._decodeObjid(P,null,null,v);else if(q==="gentime"||q==="utctime")return this._decodeTime(P,q,v);else if(q==="null_")return this._decodeNull(P,v);else if(q==="bool")return this._decodeBool(P,v);else if(q==="objDesc")return this._decodeStr(P,q,v);else if(q==="int"||q==="enum")return this._decodeInt(P,N.args&&N.args[0],v);if(N.use!==null)return this._getUse(N.use,P._reporterState.obj)._decode(P,v);else return P.error("unknown tag: "+q)},E.prototype._getUse=function(q,P){var v=this._baseState;if(v.useDecoder=this._use(q,P),z(v.useDecoder._baseState.parent===null),v.useDecoder=v.useDecoder._baseState.children[0],v.implicit!==v.useDecoder._baseState.implicit)v.useDecoder=v.useDecoder.clone(),v.useDecoder._baseState.implicit=v.implicit;return v.useDecoder},E.prototype._decodeChoice=function(q,P){var v=this._baseState,N=null,y=!1;if(Object.keys(v.choice).some(function(w){var b=q.save(),g=v.choice[w];try{var u=g._decode(q,P);if(q.isError(u))return!1;N={type:w,value:u},y=!0}catch(p){return q.restore(b),!1}return!0},this),!y)return q.error("Choice not matched");return N},E.prototype._createEncoderBuffer=function(q){return new K(q,this.reporter)},E.prototype._encode=function(q,P,v){var N=this._baseState;if(N.default!==null&&N.default===q)return;var y=this._encodeValue(q,P,v);if(y===void 0)return;if(this._skipDefault(y,P,v))return;return y},E.prototype._encodeValue=function(q,P,v){var N=this._baseState;if(N.parent===null)return N.children[0]._encode(q,P||new G);var g=null;if(this.reporter=P,N.optional&&q===void 0)if(N.default!==null)q=N.default;else return;var y=null,w=!1;if(N.any)g=this._createEncoderBuffer(q);else if(N.choice)g=this._encodeChoice(q,P);else if(N.contains)y=this._getUse(N.contains,v)._encode(q,P),w=!0;else if(N.children)y=N.children.map(function(d){if(d._baseState.tag==="null_")return d._encode(null,P,q);if(d._baseState.key===null)return P.error("Child should have a key");var a=P.enterKey(d._baseState.key);if(typeof q!=="object")return P.error("Child expected, but input is not object");var F0=d._encode(q[d._baseState.key],P,q);return P.leaveKey(a),F0},this).filter(function(d){return d}),y=this._createEncoderBuffer(y);else if(N.tag==="seqof"||N.tag==="setof"){if(!(N.args&&N.args.length===1))return P.error("Too many args for : "+N.tag);if(!Array.isArray(q))return P.error("seqof/setof, but data is not Array");var b=this.clone();b._baseState.implicit=null,y=this._createEncoderBuffer(q.map(function(d){var a=this._baseState;return this._getUse(a.args[0],q)._encode(d,P)},b))}else if(N.use!==null)g=this._getUse(N.use,v)._encode(q,P);else y=this._encodePrimitive(N.tag,q),w=!0;var g;if(!N.any&&N.choice===null){var u=N.implicit!==null?N.implicit:N.tag,p=N.implicit===null?"universal":"context";if(u===null){if(N.use===null)P.error("Tag could be omitted only for .use()")}else if(N.use===null)g=this._encodeComposite(u,w,p,y)}if(N.explicit!==null)g=this._encodeComposite(N.explicit,!1,"context",g);return g},E.prototype._encodeChoice=function(q,P){var v=this._baseState,N=v.choice[q.type];if(!N)z(!1,q.type+" not found in "+JSON.stringify(Object.keys(v.choice)));return N._encode(q.value,P)},E.prototype._encodePrimitive=function(q,P){var v=this._baseState;if(/str$/.test(q))return this._encodeStr(P,q);else if(q==="objid"&&v.args)return this._encodeObjid(P,v.reverseArgs[0],v.args[1]);else if(q==="objid")return this._encodeObjid(P,null,null);else if(q==="gentime"||q==="utctime")return this._encodeTime(P,q);else if(q==="null_")return this._encodeNull();else if(q==="int"||q==="enum")return this._encodeInt(P,v.args&&v.reverseArgs[0]);else if(q==="bool")return this._encodeBool(P);else if(q==="objDesc")return this._encodeStr(P,q);else throw Error("Unsupported tag: "+q)},E.prototype._isNumstr=function(q){return/^[0-9 ]*$/.test(q)},E.prototype._isPrintstr=function(q){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(q)}}),iG=u0((I)=>{var J=I;J.Reporter=If().Reporter,J.DecoderBuffer=v_().DecoderBuffer,J.EncoderBuffer=v_().EncoderBuffer,J.Node=Xf()}),Jf=u0((I)=>{var J=i_();I.tagClass={0:"universal",1:"application",2:"context",3:"private"},I.tagClassByName=J._reverse(I.tagClass),I.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},I.tagByName=J._reverse(I.tag)}),i_=u0((I)=>{var J=I;J._reverse=function(G){var K={};return Object.keys(G).forEach(function(X){if((X|0)==X)X=X|0;var z=G[X];K[z]=X}),K},J.der=Jf()}),r_=u0((I,J)=>{var G=W4(),K=eG(),X=K.base,z=K.bignum,O=K.constants.der;function L(q){this.enc="der",this.name=q.name,this.entity=q,this.tree=new j,this.tree._init(q.body)}J.exports=L,L.prototype.decode=function(q,P){if(!(q instanceof X.DecoderBuffer))q=new X.DecoderBuffer(q,P);return this.tree._decode(q,P)};function j(q){X.Node.call(this,"der",q)}G(j,X.Node),j.prototype._peekTag=function(q,P,v){if(q.isEmpty())return!1;var N=q.save(),y=E(q,'Failed to peek tag: "'+P+'"');if(q.isError(y))return y;return q.restore(N),y.tag===P||y.tagStr===P||y.tagStr+"of"===P||v},j.prototype._decodeTag=function(q,P,v){var N=E(q,'Failed to decode tag of "'+P+'"');if(q.isError(N))return N;var y=_(q,N.primitive,'Failed to get length of "'+P+'"');if(q.isError(y))return y;if(!v&&N.tag!==P&&N.tagStr!==P&&N.tagStr+"of"!==P)return q.error('Failed to match tag: "'+P+'"');if(N.primitive||y!==null)return q.skip(y,'Failed to match body of: "'+P+'"');var w=q.save(),b=this._skipUntilEnd(q,'Failed to skip indefinite length body: "'+this.tag+'"');if(q.isError(b))return b;return y=q.offset-w.offset,q.restore(w),q.skip(y,'Failed to match body of: "'+P+'"')},j.prototype._skipUntilEnd=function(q,P){while(!0){var v=E(q,P);if(q.isError(v))return v;var N=_(q,v.primitive,P);if(q.isError(N))return N;var y;if(v.primitive||N!==null)y=q.skip(N);else y=this._skipUntilEnd(q,P);if(q.isError(y))return y;if(v.tagStr==="end")break}},j.prototype._decodeList=function(q,P,v,N){var y=[];while(!q.isEmpty()){var w=this._peekTag(q,"end");if(q.isError(w))return w;var b=v.decode(q,"der",N);if(q.isError(b)&&w)break;y.push(b)}return y},j.prototype._decodeStr=function(q,P){if(P==="bitstr"){var v=q.readUInt8();if(q.isError(v))return v;return{unused:v,data:q.raw()}}else if(P==="bmpstr"){var N=q.raw();if(N.length%2===1)return q.error("Decoding of string type: bmpstr length mismatch");var y="";for(var w=0;w<N.length/2;w++)y+=String.fromCharCode(N.readUInt16BE(w*2));return y}else if(P==="numstr"){var b=q.raw().toString("ascii");if(!this._isNumstr(b))return q.error("Decoding of string type: numstr unsupported characters");return b}else if(P==="octstr")return q.raw();else if(P==="objDesc")return q.raw();else if(P==="printstr"){var g=q.raw().toString("ascii");if(!this._isPrintstr(g))return q.error("Decoding of string type: printstr unsupported characters");return g}else if(/str$/.test(P))return q.raw().toString();else return q.error("Decoding of string type: "+P+" unsupported")},j.prototype._decodeObjid=function(q,P,v){var N,y=[],w=0;while(!q.isEmpty()){var b=q.readUInt8();if(w<<=7,w|=b&127,(b&128)===0)y.push(w),w=0}if(b&128)y.push(w);var g=y[0]/40|0,u=y[0]%40;if(v)N=y;else N=[g,u].concat(y.slice(1));if(P){var p=P[N.join(" ")];if(p===void 0)p=P[N.join(".")];if(p!==void 0)N=p}return N},j.prototype._decodeTime=function(q,P){var v=q.raw().toString();if(P==="gentime")var N=v.slice(0,4)|0,y=v.slice(4,6)|0,w=v.slice(6,8)|0,b=v.slice(8,10)|0,g=v.slice(10,12)|0,u=v.slice(12,14)|0;else if(P==="utctime"){var N=v.slice(0,2)|0,y=v.slice(2,4)|0,w=v.slice(4,6)|0,b=v.slice(6,8)|0,g=v.slice(8,10)|0,u=v.slice(10,12)|0;if(N<70)N=2000+N;else N=1900+N}else return q.error("Decoding "+P+" time is not supported yet");return Date.UTC(N,y-1,w,b,g,u,0)},j.prototype._decodeNull=function(q){return null},j.prototype._decodeBool=function(q){var P=q.readUInt8();if(q.isError(P))return P;else return P!==0},j.prototype._decodeInt=function(q,P){var v=q.raw(),N=new z(v);if(P)N=P[N.toString(10)]||N;return N},j.prototype._use=function(q,P){if(typeof q==="function")q=q(P);return q._getDecoder("der").tree};function E(q,P){var v=q.readUInt8(P);if(q.isError(v))return v;var N=O.tagClass[v>>6],y=(v&32)===0;if((v&31)===31){var w=v;v=0;while((w&128)===128){if(w=q.readUInt8(P),q.isError(w))return w;v<<=7,v|=w&127}}else v&=31;var b=O.tag[v];return{cls:N,primitive:y,tag:v,tagStr:b}}function _(q,P,v){var N=q.readUInt8(v);if(q.isError(N))return N;if(!P&&N===128)return null;if((N&128)===0)return N;var y=N&127;if(y>4)return q.error("length octect is too long");N=0;for(var w=0;w<y;w++){N<<=8;var b=q.readUInt8(v);if(q.isError(b))return b;N|=b}return N}}),Qf=u0((I,J)=>{var G=W4(),K=(oU(),j$(nU)).Buffer,X=r_();function z(O){X.call(this,O),this.enc="pem"}G(z,X),J.exports=z,z.prototype.decode=function(O,L){var j=O.toString().split(/[\r\n]+/g),E=L.label.toUpperCase(),_=/^-----(BEGIN|END) ([^-]+)-----$/,q=-1,P=-1;for(var v=0;v<j.length;v++){var N=j[v].match(_);if(N===null)continue;if(N[2]!==E)continue;if(q===-1){if(N[1]!=="BEGIN")break;q=v}else{if(N[1]!=="END")break;P=v;break}}if(q===-1||P===-1)throw Error("PEM section not found for: "+E);var y=j.slice(q+1,P).join("");y.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new K(y,"base64");return X.prototype.decode.call(this,w,L)}}),Yf=u0((I)=>{var J=I;J.der=r_(),J.pem=Qf()}),t_=u0((I,J)=>{var G=W4(),K=(oU(),j$(nU)).Buffer,X=eG(),z=X.base,O=X.constants.der;function L(q){this.enc="der",this.name=q.name,this.entity=q,this.tree=new j,this.tree._init(q.body)}J.exports=L,L.prototype.encode=function(q,P){return this.tree._encode(q,P).join()};function j(q){z.Node.call(this,"der",q)}G(j,z.Node),j.prototype._encodeComposite=function(q,P,v,N){var y=_(q,P,v,this.reporter);if(N.length<128){var g=new K(2);return g[0]=y,g[1]=N.length,this._createEncoderBuffer([g,N])}var w=1;for(var b=N.length;b>=256;b>>=8)w++;var g=new K(2+w);g[0]=y,g[1]=128|w;for(var b=1+w,u=N.length;u>0;b--,u>>=8)g[b]=u&255;return this._createEncoderBuffer([g,N])},j.prototype._encodeStr=function(q,P){if(P==="bitstr")return this._createEncoderBuffer([q.unused|0,q.data]);else if(P==="bmpstr"){var v=new K(q.length*2);for(var N=0;N<q.length;N++)v.writeUInt16BE(q.charCodeAt(N),N*2);return this._createEncoderBuffer(v)}else if(P==="numstr"){if(!this._isNumstr(q))return this.reporter.error("Encoding of string type: numstr supports only digits and space");return this._createEncoderBuffer(q)}else if(P==="printstr"){if(!this._isPrintstr(q))return this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark");return this._createEncoderBuffer(q)}else if(/str$/.test(P))return this._createEncoderBuffer(q);else if(P==="objDesc")return this._createEncoderBuffer(q);else return this.reporter.error("Encoding of string type: "+P+" unsupported")},j.prototype._encodeObjid=function(q,P,v){if(typeof q==="string"){if(!P)return this.reporter.error("string objid given, but no values map found");if(!P.hasOwnProperty(q))return this.reporter.error("objid not found in values map");q=P[q].split(/[\s\.]+/g);for(var N=0;N<q.length;N++)q[N]|=0}else if(Array.isArray(q)){q=q.slice();for(var N=0;N<q.length;N++)q[N]|=0}if(!Array.isArray(q))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(q));if(!v){if(q[1]>=40)return this.reporter.error("Second objid identifier OOB");q.splice(0,2,q[0]*40+q[1])}var y=0;for(var N=0;N<q.length;N++){var w=q[N];for(y++;w>=128;w>>=7)y++}var b=new K(y),g=b.length-1;for(var N=q.length-1;N>=0;N--){var w=q[N];b[g--]=w&127;while((w>>=7)>0)b[g--]=128|w&127}return this._createEncoderBuffer(b)};function E(q){if(q<10)return"0"+q;else return q}j.prototype._encodeTime=function(q,P){var v,N=new Date(q);if(P==="gentime")v=[E(N.getFullYear()),E(N.getUTCMonth()+1),E(N.getUTCDate()),E(N.getUTCHours()),E(N.getUTCMinutes()),E(N.getUTCSeconds()),"Z"].join("");else if(P==="utctime")v=[E(N.getFullYear()%100),E(N.getUTCMonth()+1),E(N.getUTCDate()),E(N.getUTCHours()),E(N.getUTCMinutes()),E(N.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+P+" time is not supported yet");return this._encodeStr(v,"octstr")},j.prototype._encodeNull=function(){return this._createEncoderBuffer("")},j.prototype._encodeInt=function(q,P){if(typeof q==="string"){if(!P)return this.reporter.error("String int or enum given, but no values map");if(!P.hasOwnProperty(q))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(q));q=P[q]}if(typeof q!=="number"&&!K.isBuffer(q)){var v=q.toArray();if(!q.sign&&v[0]&128)v.unshift(0);q=new K(v)}if(K.isBuffer(q)){var N=q.length;if(q.length===0)N++;var w=new K(N);if(q.copy(w),q.length===0)w[0]=0;return this._createEncoderBuffer(w)}if(q<128)return this._createEncoderBuffer(q);if(q<256)return this._createEncoderBuffer([0,q]);var N=1;for(var y=q;y>=256;y>>=8)N++;var w=Array(N);for(var y=w.length-1;y>=0;y--)w[y]=q&255,q>>=8;if(w[0]&128)w.unshift(0);return this._createEncoderBuffer(new K(w))},j.prototype._encodeBool=function(q){return this._createEncoderBuffer(q?255:0)},j.prototype._use=function(q,P){if(typeof q==="function")q=q(P);return q._getEncoder("der").tree},j.prototype._skipDefault=function(q,P,v){var N=this._baseState,y;if(N.default===null)return!1;var w=q.join();if(N.defaultBuffer===void 0)N.defaultBuffer=this._encodeValue(N.default,P,v).join();if(w.length!==N.defaultBuffer.length)return!1;for(y=0;y<w.length;y++)if(w[y]!==N.defaultBuffer[y])return!1;return!0};function _(q,P,v,N){var y;if(q==="seqof")q="seq";else if(q==="setof")q="set";if(O.tagByName.hasOwnProperty(q))y=O.tagByName[q];else if(typeof q==="number"&&(q|0)===q)y=q;else return N.error("Unknown tag: "+q);if(y>=31)return N.error("Multi-octet tag encoding unsupported");if(!P)y|=32;return y|=O.tagClassByName[v||"universal"]<<6,y}}),Gf=u0((I,J)=>{var G=W4(),K=t_();function X(z){K.call(this,z),this.enc="pem"}G(X,K),J.exports=X,X.prototype.encode=function(z,O){var L=K.prototype.encode.call(this,z),j=L.toString("base64"),E=["-----BEGIN "+O.label+"-----"];for(var _=0;_<j.length;_+=64)E.push(j.slice(_,_+64));return E.push("-----END "+O.label+"-----"),E.join(`
|
|
243
|
+
`)}}),Of=u0((I)=>{var J=I;J.der=t_(),J.pem=Gf()}),eG=u0((I)=>{var J=I;J.bignum=$f(),J.define=Uf().define,J.base=iG(),J.constants=i_(),J.decoders=Yf(),J.encoders=Of()}),Zf=u0((I,J)=>{var G=eG(),K=G.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),X=G.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),z=G.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),O=G.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(z),this.key("subjectPublicKey").bitstr())}),L=G.define("RelativeDistinguishedName",function(){this.setof(X)}),j=G.define("RDNSequence",function(){this.seqof(L)}),E=G.define("Name",function(){this.choice({rdnSequence:this.use(j)})}),_=G.define("Validity",function(){this.seq().obj(this.key("notBefore").use(K),this.key("notAfter").use(K))}),q=G.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),P=G.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(z),this.key("issuer").use(E),this.key("validity").use(_),this.key("subject").use(E),this.key("subjectPublicKeyInfo").use(O),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(q).optional())}),v=G.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(P),this.key("signatureAlgorithm").use(z),this.key("signatureValue").bitstr())});J.exports=v}),zf=u0((I)=>{var J=eG();I.certificate=Zf();var G=J.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});I.RSAPrivateKey=G;var K=J.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});I.RSAPublicKey=K;var X=J.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),z=J.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(X),this.key("subjectPublicKey").bitstr())});I.PublicKey=z;var O=J.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(X),this.key("subjectPrivateKey").octstr())});I.PrivateKey=O;var L=J.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});I.EncryptedPrivateKey=L;var j=J.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});I.DSAPrivateKey=j,I.DSAparam=J.define("DSAparam",function(){this.int()});var E=J.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),_=J.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(E),this.key("publicKey").optional().explicit(1).bitstr())});I.ECPrivateKey=_,I.signature=J.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),Kf=u0((I,J)=>{J.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}),Vf=u0((I,J)=>{var G=w6().Buffer,K=SQ().Transform,X=W4();function z(E){K.call(this),this._block=G.allocUnsafe(E),this._blockSize=E,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}X(z,K),z.prototype._transform=function(E,_,q){var P=null;try{this.update(E,_)}catch(v){P=v}q(P)},z.prototype._flush=function(E){var _=null;try{this.push(this.digest())}catch(q){_=q}E(_)};var O=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(G.prototype instanceof Uint8Array||G.TYPED_ARRAY_SUPPORT);function j(E,_){if(E instanceof G)return E;if(typeof E==="string")return G.from(E,_);if(L&&ArrayBuffer.isView(E)){if(E.byteLength===0)return G.alloc(0);var q=G.from(E.buffer,E.byteOffset,E.byteLength);if(q.byteLength===E.byteLength)return q}if(O&&E instanceof Uint8Array)return G.from(E);if(G.isBuffer(E)&&E.constructor&&typeof E.constructor.isBuffer==="function"&&E.constructor.isBuffer(E))return G.from(E);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}z.prototype.update=function(E,_){if(this._finalized)throw Error("Digest already called");E=j(E,_);var q=this._block,P=0;while(this._blockOffset+E.length-P>=this._blockSize){for(var v=this._blockOffset;v<this._blockSize;)q[v++]=E[P++];this._update(),this._blockOffset=0}while(P<E.length)q[this._blockOffset++]=E[P++];for(var N=0,y=E.length*8;y>0;++N)if(this._length[N]+=y,y=this._length[N]/4294967296|0,y>0)this._length[N]-=4294967296*y;return this},z.prototype._update=function(){throw Error("_update is not implemented")},z.prototype.digest=function(E){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var _=this._digest();if(E!==void 0)_=_.toString(E);this._block.fill(0),this._blockOffset=0;for(var q=0;q<4;++q)this._length[q]=0;return _},z.prototype._digest=function(){throw Error("_digest is not implemented")},J.exports=z}),Df=u0((I,J)=>{var G=W4(),K=Vf(),X=w6().Buffer,z=Array(16);function O(){K.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}G(O,K),O.prototype._update=function(){var P=z;for(var v=0;v<16;++v)P[v]=this._block.readInt32LE(v*4);var N=this._a,y=this._b,w=this._c,b=this._d;N=j(N,y,w,b,P[0],3614090360,7),b=j(b,N,y,w,P[1],3905402710,12),w=j(w,b,N,y,P[2],606105819,17),y=j(y,w,b,N,P[3],3250441966,22),N=j(N,y,w,b,P[4],4118548399,7),b=j(b,N,y,w,P[5],1200080426,12),w=j(w,b,N,y,P[6],2821735955,17),y=j(y,w,b,N,P[7],4249261313,22),N=j(N,y,w,b,P[8],1770035416,7),b=j(b,N,y,w,P[9],2336552879,12),w=j(w,b,N,y,P[10],4294925233,17),y=j(y,w,b,N,P[11],2304563134,22),N=j(N,y,w,b,P[12],1804603682,7),b=j(b,N,y,w,P[13],4254626195,12),w=j(w,b,N,y,P[14],2792965006,17),y=j(y,w,b,N,P[15],1236535329,22),N=E(N,y,w,b,P[1],4129170786,5),b=E(b,N,y,w,P[6],3225465664,9),w=E(w,b,N,y,P[11],643717713,14),y=E(y,w,b,N,P[0],3921069994,20),N=E(N,y,w,b,P[5],3593408605,5),b=E(b,N,y,w,P[10],38016083,9),w=E(w,b,N,y,P[15],3634488961,14),y=E(y,w,b,N,P[4],3889429448,20),N=E(N,y,w,b,P[9],568446438,5),b=E(b,N,y,w,P[14],3275163606,9),w=E(w,b,N,y,P[3],4107603335,14),y=E(y,w,b,N,P[8],1163531501,20),N=E(N,y,w,b,P[13],2850285829,5),b=E(b,N,y,w,P[2],4243563512,9),w=E(w,b,N,y,P[7],1735328473,14),y=E(y,w,b,N,P[12],2368359562,20),N=_(N,y,w,b,P[5],4294588738,4),b=_(b,N,y,w,P[8],2272392833,11),w=_(w,b,N,y,P[11],1839030562,16),y=_(y,w,b,N,P[14],4259657740,23),N=_(N,y,w,b,P[1],2763975236,4),b=_(b,N,y,w,P[4],1272893353,11),w=_(w,b,N,y,P[7],4139469664,16),y=_(y,w,b,N,P[10],3200236656,23),N=_(N,y,w,b,P[13],681279174,4),b=_(b,N,y,w,P[0],3936430074,11),w=_(w,b,N,y,P[3],3572445317,16),y=_(y,w,b,N,P[6],76029189,23),N=_(N,y,w,b,P[9],3654602809,4),b=_(b,N,y,w,P[12],3873151461,11),w=_(w,b,N,y,P[15],530742520,16),y=_(y,w,b,N,P[2],3299628645,23),N=q(N,y,w,b,P[0],4096336452,6),b=q(b,N,y,w,P[7],1126891415,10),w=q(w,b,N,y,P[14],2878612391,15),y=q(y,w,b,N,P[5],4237533241,21),N=q(N,y,w,b,P[12],1700485571,6),b=q(b,N,y,w,P[3],2399980690,10),w=q(w,b,N,y,P[10],4293915773,15),y=q(y,w,b,N,P[1],2240044497,21),N=q(N,y,w,b,P[8],1873313359,6),b=q(b,N,y,w,P[15],4264355552,10),w=q(w,b,N,y,P[6],2734768916,15),y=q(y,w,b,N,P[13],1309151649,21),N=q(N,y,w,b,P[4],4149444226,6),b=q(b,N,y,w,P[11],3174756917,10),w=q(w,b,N,y,P[2],718787259,15),y=q(y,w,b,N,P[9],3951481745,21),this._a=this._a+N|0,this._b=this._b+y|0,this._c=this._c+w|0,this._d=this._d+b|0},O.prototype._digest=function(){if(this._block[this._blockOffset++]=128,this._blockOffset>56)this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0;this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var P=X.allocUnsafe(16);return P.writeInt32LE(this._a,0),P.writeInt32LE(this._b,4),P.writeInt32LE(this._c,8),P.writeInt32LE(this._d,12),P};function L(P,v){return P<<v|P>>>32-v}function j(P,v,N,y,w,b,g){return L(P+(v&N|~v&y)+w+b|0,g)+v|0}function E(P,v,N,y,w,b,g){return L(P+(v&y|N&~y)+w+b|0,g)+v|0}function _(P,v,N,y,w,b,g){return L(P+(v^N^y)+w+b|0,g)+v|0}function q(P,v,N,y,w,b,g){return L(P+(N^(v|~y))+w+b|0,g)+v|0}J.exports=O}),Wf=u0((I,J)=>{var G=w6().Buffer,K=Df();function X(z,O,L,j){if(!G.isBuffer(z))z=G.from(z,"binary");if(O){if(!G.isBuffer(O))O=G.from(O,"binary");if(O.length!==8)throw RangeError("salt should be Buffer with 8 byte length")}var E=L/8,_=G.alloc(E),q=G.alloc(j||0),P=G.alloc(0);while(E>0||j>0){var v=new K;if(v.update(P),v.update(z),O)v.update(O);P=v.digest();var N=0;if(E>0){var y=_.length-E;N=Math.min(E,P.length),P.copy(_,y,0,N),E-=N}if(N<P.length&&j>0){var w=q.length-j,b=Math.min(j,P.length-N);P.copy(q,w,N,N+b),j-=b}}return P.fill(0),{key:_,iv:q}}J.exports=X}),a_=u0((I)=>{var J=(yU(),j$(H4));I.createCipher=I.Cipher=J.createCipher,I.createCipheriv=I.Cipheriv=J.createCipheriv,I.createDecipher=I.Decipher=J.createDecipher,I.createDecipheriv=I.Decipheriv=J.createDecipheriv,I.listCiphers=I.getCiphers=J.getCiphers}),Ff=u0((I,J)=>{var G=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,K=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,X=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,z=Wf(),O=a_(),L=w6().Buffer;J.exports=function(j,E){var _=j.toString(),q=_.match(G),P;if(!q){var v=_.match(X);P=L.from(v[2].replace(/[\r\n]/g,""),"base64")}else{var N="aes"+q[1],y=L.from(q[2],"hex"),w=L.from(q[3].replace(/[\r\n]/g,""),"base64"),b=z(E,y.slice(0,8),parseInt(q[1],10)).key,g=[],u=O.createDecipheriv(N,b,y);g.push(u.update(w)),g.push(u.final()),P=L.concat(g)}var p=_.match(K)[1];return{tag:p,data:P}}}),s_=u0((I,J)=>{var G=zf(),K=Kf(),X=Ff(),z=a_(),O=c_().pbkdf2Sync,L=w6().Buffer;function j(_,q){var P=_.algorithm.decrypt.kde.kdeparams.salt,v=parseInt(_.algorithm.decrypt.kde.kdeparams.iters.toString(),10),N=K[_.algorithm.decrypt.cipher.algo.join(".")],y=_.algorithm.decrypt.cipher.iv,w=_.subjectPrivateKey,b=parseInt(N.split("-")[1],10)/8,g=O(q,P,v,b,"sha1"),u=z.createDecipheriv(N,g,y),p=[];return p.push(u.update(w)),p.push(u.final()),L.concat(p)}function E(_){var q;if(typeof _==="object"&&!L.isBuffer(_))q=_.passphrase,_=_.key;if(typeof _==="string")_=L.from(_);var P=X(_,q),v=P.tag,N=P.data,y,w;switch(v){case"CERTIFICATE":w=G.certificate.decode(N,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!w)w=G.PublicKey.decode(N,"der");switch(y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return G.RSAPublicKey.decode(w.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return w.subjectPrivateKey=w.subjectPublicKey,{type:"ec",data:w};case"1.2.840.10040.4.1":return w.algorithm.params.pub_key=G.DSAparam.decode(w.subjectPublicKey.data,"der"),{type:"dsa",data:w.algorithm.params};default:throw Error("unknown key id "+y)}case"ENCRYPTED PRIVATE KEY":N=G.EncryptedPrivateKey.decode(N,"der"),N=j(N,q);case"PRIVATE KEY":switch(w=G.PrivateKey.decode(N,"der"),y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return G.RSAPrivateKey.decode(w.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:w.algorithm.curve,privateKey:G.ECPrivateKey.decode(w.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return w.algorithm.params.priv_key=G.DSAparam.decode(w.subjectPrivateKey,"der"),{type:"dsa",params:w.algorithm.params};default:throw Error("unknown key id "+y)}case"RSA PUBLIC KEY":return G.RSAPublicKey.decode(N,"der");case"RSA PRIVATE KEY":return G.RSAPrivateKey.decode(N,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:G.DSAPrivateKey.decode(N,"der")};case"EC PRIVATE KEY":return N=G.ECPrivateKey.decode(N,"der"),{curve:N.parameters.value,privateKey:N.privateKey};default:throw Error("unknown key type "+v)}}E.signature=G.signature,J.exports=E}),e_=u0((I,J)=>{var G=Dz(),K=w6().Buffer;J.exports=function(z,O){var L=K.alloc(0),j=0,E;while(L.length<O)E=X(j++),L=K.concat([L,G("sha1").update(z).update(E).digest()]);return L.slice(0,O)};function X(z){var O=K.allocUnsafe(4);return O.writeUInt32BE(z,0),O}}),$S=u0((I,J)=>{J.exports=function(G,K){var X=G.length,z=-1;while(++z<X)G[z]^=K[z];return G}}),KF=u0((I,J)=>{(function(G,K){function X(Y,D){if(!Y)throw Error(D||"Assertion failed")}function z(Y,D){Y.super_=D;var H=function(){};H.prototype=D.prototype,Y.prototype=new H,Y.prototype.constructor=Y}function O(Y,D,H){if(O.isBN(Y))return Y;if(this.negative=0,this.words=null,this.length=0,this.red=null,Y!==null){if(D==="le"||D==="be")H=D,D=10;this._init(Y||0,D||10,H||"be")}}if(typeof G==="object")G.exports=O;else K.BN=O;O.BN=O,O.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(Y){}O.isBN=function(Y){if(Y instanceof O)return!0;return Y!==null&&typeof Y==="object"&&Y.constructor.wordSize===O.wordSize&&Array.isArray(Y.words)},O.max=function(Y,D){if(Y.cmp(D)>0)return Y;return D},O.min=function(Y,D){if(Y.cmp(D)<0)return Y;return D},O.prototype._init=function(Y,D,H){if(typeof Y==="number")return this._initNumber(Y,D,H);if(typeof Y==="object")return this._initArray(Y,D,H);if(D==="hex")D=16;X(D===(D|0)&&D>=2&&D<=36),Y=Y.toString().replace(/\s+/g,"");var V=0;if(Y[0]==="-")V++,this.negative=1;if(V<Y.length){if(D===16)this._parseHex(Y,V,H);else if(this._parseBase(Y,D,V),H==="le")this._initArray(this.toArray(),D,H)}},O.prototype._initNumber=function(Y,D,H){if(Y<0)this.negative=1,Y=-Y;if(Y<67108864)this.words=[Y&67108863],this.length=1;else if(Y<4503599627370496)this.words=[Y&67108863,Y/67108864&67108863],this.length=2;else X(Y<9007199254740992),this.words=[Y&67108863,Y/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),D,H)},O.prototype._initArray=function(Y,D,H){if(X(typeof Y.length==="number"),Y.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Y.length/3),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F,T,S=0;if(H==="be"){for(V=Y.length-1,F=0;V>=0;V-=3)if(T=Y[V]|Y[V-1]<<8|Y[V-2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}else if(H==="le"){for(V=0,F=0;V<Y.length;V+=3)if(T=Y[V]|Y[V+1]<<8|Y[V+2]<<16,this.words[F]|=T<<S&67108863,this.words[F+1]=T>>>26-S&67108863,S+=24,S>=26)S-=26,F++}return this.strip()};function j(Y,D){var H=Y.charCodeAt(D);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function E(Y,D,H){var V=j(Y,H);if(H-1>=D)V|=j(Y,H-1)<<4;return V}O.prototype._parseHex=function(Y,D,H){this.length=Math.ceil((Y.length-D)/6),this.words=Array(this.length);for(var V=0;V<this.length;V++)this.words[V]=0;var F=0,T=0,S;if(H==="be")for(V=Y.length-1;V>=D;V-=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8;else{var A=Y.length-D;for(V=A%2===0?D+1:D;V<Y.length;V+=2)if(S=E(Y,D,V)<<F,this.words[T]|=S&67108863,F>=18)F-=18,T+=1,this.words[T]|=S>>>26;else F+=8}this.strip()};function _(Y,D,H,V){var F=0,T=Math.min(Y.length,H);for(var S=D;S<T;S++){var A=Y.charCodeAt(S)-48;if(F*=V,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}O.prototype._parseBase=function(Y,D,H){this.words=[0],this.length=1;for(var V=0,F=1;F<=67108863;F*=D)V++;V--,F=F/D|0;var T=Y.length-H,S=T%V,A=Math.min(T,T-S)+H,Z=0;for(var C=H;C<A;C+=V)if(Z=_(Y,C,C+V,D),this.imuln(F),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z);if(S!==0){var x=1;Z=_(Y,C,Y.length,D);for(C=0;C<S;C++)x*=D;if(this.imuln(x),this.words[0]+Z<67108864)this.words[0]+=Z;else this._iaddn(Z)}this.strip()},O.prototype.copy=function(Y){Y.words=Array(this.length);for(var D=0;D<this.length;D++)Y.words[D]=this.words[D];Y.length=this.length,Y.negative=this.negative,Y.red=this.red},O.prototype.clone=function(){var Y=new O(null);return this.copy(Y),Y},O.prototype._expand=function(Y){while(this.length<Y)this.words[this.length++]=0;return this},O.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},O.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},O.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var q=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],P=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(O.prototype.toString=function(Y,D){Y=Y||10,D=D|0||1;var H;if(Y===16||Y==="hex"){H="";var V=0,F=0;for(var T=0;T<this.length;T++){var S=this.words[T],A=((S<<V|F)&16777215).toString(16);if(F=S>>>24-V&16777215,V+=2,V>=26)V-=26,T--;if(F!==0||T!==this.length-1)H=q[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(Y===(Y|0)&&Y>=2&&Y<=36){var Z=P[Y],C=v[Y];H="";var x=this.clone();x.negative=0;while(!x.isZero()){var B=x.modn(C).toString(Y);if(x=x.idivn(C),!x.isZero())H=q[Z-B.length]+B+H;else H=B+H}if(this.isZero())H="0"+H;while(H.length%D!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},O.prototype.toNumber=function(){var Y=this.words[0];if(this.length===2)Y+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Y+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Y:Y},O.prototype.toJSON=function(){return this.toString(16)},O.prototype.toBuffer=function(Y,D){return X(typeof L<"u"),this.toArrayLike(L,Y,D)},O.prototype.toArray=function(Y,D){return this.toArrayLike(Array,Y,D)},O.prototype.toArrayLike=function(Y,D,H){var V=this.byteLength(),F=H||Math.max(1,V);X(V<=F,"byte array longer than desired length"),X(F>0,"Requested array length <= 0"),this.strip();var T=D==="le",S=new Y(F),A,Z,C=this.clone();if(!T){for(Z=0;Z<F-V;Z++)S[Z]=0;for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[F-Z-1]=A}else{for(Z=0;!C.isZero();Z++)A=C.andln(255),C.iushrn(8),S[Z]=A;for(;Z<F;Z++)S[Z]=0}return S},Math.clz32)O.prototype._countBits=function(Y){return 32-Math.clz32(Y)};else O.prototype._countBits=function(Y){var D=Y,H=0;if(D>=4096)H+=13,D>>>=13;if(D>=64)H+=7,D>>>=7;if(D>=8)H+=4,D>>>=4;if(D>=2)H+=2,D>>>=2;return H+D};O.prototype._zeroBits=function(Y){if(Y===0)return 26;var D=Y,H=0;if((D&8191)===0)H+=13,D>>>=13;if((D&127)===0)H+=7,D>>>=7;if((D&15)===0)H+=4,D>>>=4;if((D&3)===0)H+=2,D>>>=2;if((D&1)===0)H++;return H},O.prototype.bitLength=function(){var Y=this.words[this.length-1],D=this._countBits(Y);return(this.length-1)*26+D};function N(Y){var D=Array(Y.bitLength());for(var H=0;H<D.length;H++){var V=H/26|0,F=H%26;D[H]=(Y.words[V]&1<<F)>>>F}return D}O.prototype.zeroBits=function(){if(this.isZero())return 0;var Y=0;for(var D=0;D<this.length;D++){var H=this._zeroBits(this.words[D]);if(Y+=H,H!==26)break}return Y},O.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},O.prototype.toTwos=function(Y){if(this.negative!==0)return this.abs().inotn(Y).iaddn(1);return this.clone()},O.prototype.fromTwos=function(Y){if(this.testn(Y-1))return this.notn(Y).iaddn(1).ineg();return this.clone()},O.prototype.isNeg=function(){return this.negative!==0},O.prototype.neg=function(){return this.clone().ineg()},O.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},O.prototype.iuor=function(Y){while(this.length<Y.length)this.words[this.length++]=0;for(var D=0;D<Y.length;D++)this.words[D]=this.words[D]|Y.words[D];return this.strip()},O.prototype.ior=function(Y){return X((this.negative|Y.negative)===0),this.iuor(Y)},O.prototype.or=function(Y){if(this.length>Y.length)return this.clone().ior(Y);return Y.clone().ior(this)},O.prototype.uor=function(Y){if(this.length>Y.length)return this.clone().iuor(Y);return Y.clone().iuor(this)},O.prototype.iuand=function(Y){var D;if(this.length>Y.length)D=Y;else D=this;for(var H=0;H<D.length;H++)this.words[H]=this.words[H]&Y.words[H];return this.length=D.length,this.strip()},O.prototype.iand=function(Y){return X((this.negative|Y.negative)===0),this.iuand(Y)},O.prototype.and=function(Y){if(this.length>Y.length)return this.clone().iand(Y);return Y.clone().iand(this)},O.prototype.uand=function(Y){if(this.length>Y.length)return this.clone().iuand(Y);return Y.clone().iuand(this)},O.prototype.iuxor=function(Y){var D,H;if(this.length>Y.length)D=this,H=Y;else D=Y,H=this;for(var V=0;V<H.length;V++)this.words[V]=D.words[V]^H.words[V];if(this!==D)for(;V<D.length;V++)this.words[V]=D.words[V];return this.length=D.length,this.strip()},O.prototype.ixor=function(Y){return X((this.negative|Y.negative)===0),this.iuxor(Y)},O.prototype.xor=function(Y){if(this.length>Y.length)return this.clone().ixor(Y);return Y.clone().ixor(this)},O.prototype.uxor=function(Y){if(this.length>Y.length)return this.clone().iuxor(Y);return Y.clone().iuxor(this)},O.prototype.inotn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Math.ceil(Y/26)|0,H=Y%26;if(this._expand(D),H>0)D--;for(var V=0;V<D;V++)this.words[V]=~this.words[V]&67108863;if(H>0)this.words[V]=~this.words[V]&67108863>>26-H;return this.strip()},O.prototype.notn=function(Y){return this.clone().inotn(Y)},O.prototype.setn=function(Y,D){X(typeof Y==="number"&&Y>=0);var H=Y/26|0,V=Y%26;if(this._expand(H+1),D)this.words[H]=this.words[H]|1<<V;else this.words[H]=this.words[H]&~(1<<V);return this.strip()},O.prototype.iadd=function(Y){var D;if(this.negative!==0&&Y.negative===0)return this.negative=0,D=this.isub(Y),this.negative^=1,this._normSign();else if(this.negative===0&&Y.negative!==0)return Y.negative=0,D=this.isub(Y),Y.negative=1,D._normSign();var H,V;if(this.length>Y.length)H=this,V=Y;else H=Y,V=this;var F=0;for(var T=0;T<V.length;T++)D=(H.words[T]|0)+(V.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;for(;F!==0&&T<H.length;T++)D=(H.words[T]|0)+F,this.words[T]=D&67108863,F=D>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;T<H.length;T++)this.words[T]=H.words[T];return this},O.prototype.add=function(Y){var D;if(Y.negative!==0&&this.negative===0)return Y.negative=0,D=this.sub(Y),Y.negative^=1,D;else if(Y.negative===0&&this.negative!==0)return this.negative=0,D=Y.sub(this),this.negative=1,D;if(this.length>Y.length)return this.clone().iadd(Y);return Y.clone().iadd(this)},O.prototype.isub=function(Y){if(Y.negative!==0){Y.negative=0;var D=this.iadd(Y);return Y.negative=1,D._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Y),this.negative=1,this._normSign();var H=this.cmp(Y);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var V,F;if(H>0)V=this,F=Y;else V=Y,F=this;var T=0;for(var S=0;S<F.length;S++)D=(V.words[S]|0)-(F.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;for(;T!==0&&S<V.length;S++)D=(V.words[S]|0)+T,T=D>>26,this.words[S]=D&67108863;if(T===0&&S<V.length&&V!==this)for(;S<V.length;S++)this.words[S]=V.words[S];if(this.length=Math.max(this.length,S),V!==this)this.negative=1;return this.strip()},O.prototype.sub=function(Y){return this.clone().isub(Y)};function y(Y,D,H){H.negative=D.negative^Y.negative;var V=Y.length+D.length|0;H.length=V,V=V-1|0;var F=Y.words[0]|0,T=D.words[0]|0,S=F*T,A=S&67108863,Z=S/67108864|0;H.words[0]=A;for(var C=1;C<V;C++){var x=Z>>>26,B=Z&67108863,h=Math.min(C,D.length-1);for(var r=Math.max(0,C-Y.length+1);r<=h;r++){var U0=C-r|0;F=Y.words[U0]|0,T=D.words[r]|0,S=F*T+B,x+=S/67108864|0,B=S&67108863}H.words[C]=B|0,Z=x|0}if(Z!==0)H.words[C]=Z|0;else H.length--;return H.strip()}var w=function(Y,D,H){var V=Y.words,F=D.words,T=H.words,S=0,A,Z,C,x=V[0]|0,B=x&8191,h=x>>>13,r=V[1]|0,U0=r&8191,z0=r>>>13,Q0=V[2]|0,s=Q0&8191,e=Q0>>>13,J0=V[3]|0,O0=J0&8191,A0=J0>>>13,$0=V[4]|0,c=$0&8191,n=$0>>>13,H0=V[5]|0,Y0=H0&8191,V0=H0>>>13,N0=V[6]|0,I0=N0&8191,K0=N0>>>13,U$=V[7]|0,M0=U$&8191,v0=U$>>>13,L$=V[8]|0,p0=L$&8191,c0=L$>>>13,i$=V[9]|0,b0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,TU=F[1]|0,m=TU&8191,X0=TU>>>13,s0=F[2]|0,S0=s0&8191,B0=s0>>>13,F$=F[3]|0,g0=F$&8191,f0=F$>>>13,V$=F[4]|0,n0=V$&8191,i0=V$>>>13,KU=F[5]|0,a0=KU&8191,i=KU>>>13,G0=F[6]|0,P0=G0&8191,_0=G0>>>13,Z$=F[7]|0,d0=Z$&8191,t0=Z$>>>13,HU=F[8]|0,I$=HU&8191,$$=HU>>>13,e$=F[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=Y.negative^D.negative,H.length=19,A=Math.imul(B,r0),Z=Math.imul(B,o0),Z=Z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var RU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,r0),Z=Math.imul(U0,o0),Z=Z+Math.imul(z0,r0)|0,C=Math.imul(z0,o0),A=A+Math.imul(B,m)|0,Z=Z+Math.imul(B,X0)|0,Z=Z+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var v$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(v$>>>26)|0,v$&=67108863,A=Math.imul(s,r0),Z=Math.imul(s,o0),Z=Z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,Z=Z+Math.imul(U0,X0)|0,Z=Z+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(B,S0)|0,Z=Z+Math.imul(B,B0)|0,Z=Z+Math.imul(h,S0)|0,C=C+Math.imul(h,B0)|0;var S$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(O0,r0),Z=Math.imul(O0,o0),Z=Z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,Z=Z+Math.imul(s,X0)|0,Z=Z+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,Z=Z+Math.imul(U0,B0)|0,Z=Z+Math.imul(z0,S0)|0,C=C+Math.imul(z0,B0)|0,A=A+Math.imul(B,g0)|0,Z=Z+Math.imul(B,f0)|0,Z=Z+Math.imul(h,g0)|0,C=C+Math.imul(h,f0)|0;var $U=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),Z=Math.imul(c,o0),Z=Z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(O0,m)|0,Z=Z+Math.imul(O0,X0)|0,Z=Z+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,Z=Z+Math.imul(s,B0)|0,Z=Z+Math.imul(e,S0)|0,C=C+Math.imul(e,B0)|0,A=A+Math.imul(U0,g0)|0,Z=Z+Math.imul(U0,f0)|0,Z=Z+Math.imul(z0,g0)|0,C=C+Math.imul(z0,f0)|0,A=A+Math.imul(B,n0)|0,Z=Z+Math.imul(B,i0)|0,Z=Z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),Z=Math.imul(Y0,o0),Z=Z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(c,m)|0,Z=Z+Math.imul(c,X0)|0,Z=Z+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(O0,S0)|0,Z=Z+Math.imul(O0,B0)|0,Z=Z+Math.imul(A0,S0)|0,C=C+Math.imul(A0,B0)|0,A=A+Math.imul(s,g0)|0,Z=Z+Math.imul(s,f0)|0,Z=Z+Math.imul(e,g0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,Z=Z+Math.imul(U0,i0)|0,Z=Z+Math.imul(z0,n0)|0,C=C+Math.imul(z0,i0)|0,A=A+Math.imul(B,a0)|0,Z=Z+Math.imul(B,i)|0,Z=Z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var uU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),Z=Math.imul(I0,o0),Z=Z+Math.imul(K0,r0)|0,C=Math.imul(K0,o0),A=A+Math.imul(Y0,m)|0,Z=Z+Math.imul(Y0,X0)|0,Z=Z+Math.imul(V0,m)|0,C=C+Math.imul(V0,X0)|0,A=A+Math.imul(c,S0)|0,Z=Z+Math.imul(c,B0)|0,Z=Z+Math.imul(n,S0)|0,C=C+Math.imul(n,B0)|0,A=A+Math.imul(O0,g0)|0,Z=Z+Math.imul(O0,f0)|0,Z=Z+Math.imul(A0,g0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,Z=Z+Math.imul(s,i0)|0,Z=Z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,Z=Z+Math.imul(U0,i)|0,Z=Z+Math.imul(z0,a0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(B,P0)|0,Z=Z+Math.imul(B,_0)|0,Z=Z+Math.imul(h,P0)|0,C=C+Math.imul(h,_0)|0;var bU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),Z=Math.imul(M0,o0),Z=Z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(I0,m)|0,Z=Z+Math.imul(I0,X0)|0,Z=Z+Math.imul(K0,m)|0,C=C+Math.imul(K0,X0)|0,A=A+Math.imul(Y0,S0)|0,Z=Z+Math.imul(Y0,B0)|0,Z=Z+Math.imul(V0,S0)|0,C=C+Math.imul(V0,B0)|0,A=A+Math.imul(c,g0)|0,Z=Z+Math.imul(c,f0)|0,Z=Z+Math.imul(n,g0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(O0,n0)|0,Z=Z+Math.imul(O0,i0)|0,Z=Z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,Z=Z+Math.imul(s,i)|0,Z=Z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,P0)|0,Z=Z+Math.imul(U0,_0)|0,Z=Z+Math.imul(z0,P0)|0,C=C+Math.imul(z0,_0)|0,A=A+Math.imul(B,d0)|0,Z=Z+Math.imul(B,t0)|0,Z=Z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),Z=Math.imul(p0,o0),Z=Z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,Z=Z+Math.imul(M0,X0)|0,Z=Z+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,S0)|0,Z=Z+Math.imul(I0,B0)|0,Z=Z+Math.imul(K0,S0)|0,C=C+Math.imul(K0,B0)|0,A=A+Math.imul(Y0,g0)|0,Z=Z+Math.imul(Y0,f0)|0,Z=Z+Math.imul(V0,g0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(c,n0)|0,Z=Z+Math.imul(c,i0)|0,Z=Z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(O0,a0)|0,Z=Z+Math.imul(O0,i)|0,Z=Z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,P0)|0,Z=Z+Math.imul(s,_0)|0,Z=Z+Math.imul(e,P0)|0,C=C+Math.imul(e,_0)|0,A=A+Math.imul(U0,d0)|0,Z=Z+Math.imul(U0,t0)|0,Z=Z+Math.imul(z0,d0)|0,C=C+Math.imul(z0,t0)|0,A=A+Math.imul(B,I$)|0,Z=Z+Math.imul(B,$$)|0,Z=Z+Math.imul(h,I$)|0,C=C+Math.imul(h,$$)|0;var cU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),Z=Math.imul(b0,o0),Z=Z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,Z=Z+Math.imul(p0,X0)|0,Z=Z+Math.imul(c0,m)|0,C=C+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,Z=Z+Math.imul(M0,B0)|0,Z=Z+Math.imul(v0,S0)|0,C=C+Math.imul(v0,B0)|0,A=A+Math.imul(I0,g0)|0,Z=Z+Math.imul(I0,f0)|0,Z=Z+Math.imul(K0,g0)|0,C=C+Math.imul(K0,f0)|0,A=A+Math.imul(Y0,n0)|0,Z=Z+Math.imul(Y0,i0)|0,Z=Z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(c,a0)|0,Z=Z+Math.imul(c,i)|0,Z=Z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(O0,P0)|0,Z=Z+Math.imul(O0,_0)|0,Z=Z+Math.imul(A0,P0)|0,C=C+Math.imul(A0,_0)|0,A=A+Math.imul(s,d0)|0,Z=Z+Math.imul(s,t0)|0,Z=Z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,Z=Z+Math.imul(U0,$$)|0,Z=Z+Math.imul(z0,I$)|0,C=C+Math.imul(z0,$$)|0,A=A+Math.imul(B,X$)|0,Z=Z+Math.imul(B,e0)|0,Z=Z+Math.imul(h,X$)|0,C=C+Math.imul(h,e0)|0;var pU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,m),Z=Math.imul(b0,X0),Z=Z+Math.imul(h0,m)|0,C=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,Z=Z+Math.imul(p0,B0)|0,Z=Z+Math.imul(c0,S0)|0,C=C+Math.imul(c0,B0)|0,A=A+Math.imul(M0,g0)|0,Z=Z+Math.imul(M0,f0)|0,Z=Z+Math.imul(v0,g0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(I0,n0)|0,Z=Z+Math.imul(I0,i0)|0,Z=Z+Math.imul(K0,n0)|0,C=C+Math.imul(K0,i0)|0,A=A+Math.imul(Y0,a0)|0,Z=Z+Math.imul(Y0,i)|0,Z=Z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(c,P0)|0,Z=Z+Math.imul(c,_0)|0,Z=Z+Math.imul(n,P0)|0,C=C+Math.imul(n,_0)|0,A=A+Math.imul(O0,d0)|0,Z=Z+Math.imul(O0,t0)|0,Z=Z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,Z=Z+Math.imul(s,$$)|0,Z=Z+Math.imul(e,I$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,Z=Z+Math.imul(U0,e0)|0,Z=Z+Math.imul(z0,X$)|0,C=C+Math.imul(z0,e0)|0;var r$=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),Z=Math.imul(b0,B0),Z=Z+Math.imul(h0,S0)|0,C=Math.imul(h0,B0),A=A+Math.imul(p0,g0)|0,Z=Z+Math.imul(p0,f0)|0,Z=Z+Math.imul(c0,g0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,Z=Z+Math.imul(M0,i0)|0,Z=Z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(I0,a0)|0,Z=Z+Math.imul(I0,i)|0,Z=Z+Math.imul(K0,a0)|0,C=C+Math.imul(K0,i)|0,A=A+Math.imul(Y0,P0)|0,Z=Z+Math.imul(Y0,_0)|0,Z=Z+Math.imul(V0,P0)|0,C=C+Math.imul(V0,_0)|0,A=A+Math.imul(c,d0)|0,Z=Z+Math.imul(c,t0)|0,Z=Z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(O0,I$)|0,Z=Z+Math.imul(O0,$$)|0,Z=Z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,Z=Z+Math.imul(s,e0)|0,Z=Z+Math.imul(e,X$)|0,C=C+Math.imul(e,e0)|0;var LU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,g0),Z=Math.imul(b0,f0),Z=Z+Math.imul(h0,g0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,Z=Z+Math.imul(p0,i0)|0,Z=Z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,Z=Z+Math.imul(M0,i)|0,Z=Z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,P0)|0,Z=Z+Math.imul(I0,_0)|0,Z=Z+Math.imul(K0,P0)|0,C=C+Math.imul(K0,_0)|0,A=A+Math.imul(Y0,d0)|0,Z=Z+Math.imul(Y0,t0)|0,Z=Z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(c,I$)|0,Z=Z+Math.imul(c,$$)|0,Z=Z+Math.imul(n,I$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(O0,X$)|0,Z=Z+Math.imul(O0,e0)|0,Z=Z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,e0)|0;var VU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(VU>>>26)|0,VU&=67108863,A=Math.imul(b0,n0),Z=Math.imul(b0,i0),Z=Z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,Z=Z+Math.imul(p0,i)|0,Z=Z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,P0)|0,Z=Z+Math.imul(M0,_0)|0,Z=Z+Math.imul(v0,P0)|0,C=C+Math.imul(v0,_0)|0,A=A+Math.imul(I0,d0)|0,Z=Z+Math.imul(I0,t0)|0,Z=Z+Math.imul(K0,d0)|0,C=C+Math.imul(K0,t0)|0,A=A+Math.imul(Y0,I$)|0,Z=Z+Math.imul(Y0,$$)|0,Z=Z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(c,X$)|0,Z=Z+Math.imul(c,e0)|0,Z=Z+Math.imul(n,X$)|0,C=C+Math.imul(n,e0)|0;var mU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(b0,a0),Z=Math.imul(b0,i),Z=Z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,P0)|0,Z=Z+Math.imul(p0,_0)|0,Z=Z+Math.imul(c0,P0)|0,C=C+Math.imul(c0,_0)|0,A=A+Math.imul(M0,d0)|0,Z=Z+Math.imul(M0,t0)|0,Z=Z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(I0,I$)|0,Z=Z+Math.imul(I0,$$)|0,Z=Z+Math.imul(K0,I$)|0,C=C+Math.imul(K0,$$)|0,A=A+Math.imul(Y0,X$)|0,Z=Z+Math.imul(Y0,e0)|0,Z=Z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,e0)|0;var PU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(b0,P0),Z=Math.imul(b0,_0),Z=Z+Math.imul(h0,P0)|0,C=Math.imul(h0,_0),A=A+Math.imul(p0,d0)|0,Z=Z+Math.imul(p0,t0)|0,Z=Z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,Z=Z+Math.imul(M0,$$)|0,Z=Z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(I0,X$)|0,Z=Z+Math.imul(I0,e0)|0,Z=Z+Math.imul(K0,X$)|0,C=C+Math.imul(K0,e0)|0;var BU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(BU>>>26)|0,BU&=67108863,A=Math.imul(b0,d0),Z=Math.imul(b0,t0),Z=Z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,Z=Z+Math.imul(p0,$$)|0,Z=Z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,Z=Z+Math.imul(M0,e0)|0,Z=Z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,e0)|0;var gU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(b0,I$),Z=Math.imul(b0,$$),Z=Z+Math.imul(h0,I$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,Z=Z+Math.imul(p0,e0)|0,Z=Z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,e0)|0;var EU=(S+A|0)+((Z&8191)<<13)|0;S=(C+(Z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,X$),Z=Math.imul(b0,e0),Z=Z+Math.imul(h0,X$)|0,C=Math.imul(h0,e0);var MU=(S+A|0)+((Z&8191)<<13)|0;if(S=(C+(Z>>>13)|0)+(MU>>>26)|0,MU&=67108863,T[0]=RU,T[1]=v$,T[2]=S$,T[3]=$U,T[4]=d$,T[5]=uU,T[6]=bU,T[7]=hU,T[8]=cU,T[9]=pU,T[10]=r$,T[11]=LU,T[12]=VU,T[13]=mU,T[14]=PU,T[15]=BU,T[16]=gU,T[17]=EU,T[18]=MU,S!==0)T[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(Y,D,H){H.negative=D.negative^Y.negative,H.length=Y.length+D.length;var V=0,F=0;for(var T=0;T<H.length-1;T++){var S=F;F=0;var A=V&67108863,Z=Math.min(T,D.length-1);for(var C=Math.max(0,T-Y.length+1);C<=Z;C++){var x=T-C,B=Y.words[x]|0,h=D.words[C]|0,r=B*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,F+=S>>>26,S&=67108863}H.words[T]=A,V=S,S=F}if(V!==0)H.words[T]=V;else H.length--;return H.strip()}function g(Y,D,H){var V=new u;return V.mulp(Y,D,H)}O.prototype.mulTo=function(Y,D){var H,V=this.length+Y.length;if(this.length===10&&Y.length===10)H=w(this,Y,D);else if(V<63)H=y(this,Y,D);else if(V<1024)H=b(this,Y,D);else H=g(this,Y,D);return H};function u(Y,D){this.x=Y,this.y=D}u.prototype.makeRBT=function(Y){var D=Array(Y),H=O.prototype._countBits(Y)-1;for(var V=0;V<Y;V++)D[V]=this.revBin(V,H,Y);return D},u.prototype.revBin=function(Y,D,H){if(Y===0||Y===H-1)return Y;var V=0;for(var F=0;F<D;F++)V|=(Y&1)<<D-F-1,Y>>=1;return V},u.prototype.permute=function(Y,D,H,V,F,T){for(var S=0;S<T;S++)V[S]=D[Y[S]],F[S]=H[Y[S]]},u.prototype.transform=function(Y,D,H,V,F,T){this.permute(T,Y,D,H,V,F);for(var S=1;S<F;S<<=1){var A=S<<1,Z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<F;x+=A){var B=Z,h=C;for(var r=0;r<S;r++){var U0=H[x+r],z0=V[x+r],Q0=H[x+r+S],s=V[x+r+S],e=B*Q0-h*s;if(s=B*s+h*Q0,Q0=e,H[x+r]=U0+Q0,V[x+r]=z0+s,H[x+r+S]=U0-Q0,V[x+r+S]=z0-s,r!==A)e=Z*B-C*h,h=Z*h+C*B,B=e}}}},u.prototype.guessLen13b=function(Y,D){var H=Math.max(D,Y)|1,V=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+V},u.prototype.conjugate=function(Y,D,H){if(H<=1)return;for(var V=0;V<H/2;V++){var F=Y[V];Y[V]=Y[H-V-1],Y[H-V-1]=F,F=D[V],D[V]=-D[H-V-1],D[H-V-1]=-F}},u.prototype.normalize13b=function(Y,D){var H=0;for(var V=0;V<D/2;V++){var F=Math.round(Y[2*V+1]/D)*8192+Math.round(Y[2*V]/D)+H;if(Y[V]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return Y},u.prototype.convert13b=function(Y,D,H,V){var F=0;for(var T=0;T<D;T++)F=F+(Y[T]|0),H[2*T]=F&8191,F=F>>>13,H[2*T+1]=F&8191,F=F>>>13;for(T=2*D;T<V;++T)H[T]=0;X(F===0),X((F&-8192)===0)},u.prototype.stub=function(Y){var D=Array(Y);for(var H=0;H<Y;H++)D[H]=0;return D},u.prototype.mulp=function(Y,D,H){var V=2*this.guessLen13b(Y.length,D.length),F=this.makeRBT(V),T=this.stub(V),S=Array(V),A=Array(V),Z=Array(V),C=Array(V),x=Array(V),B=Array(V),h=H.words;h.length=V,this.convert13b(Y.words,Y.length,S,V),this.convert13b(D.words,D.length,C,V),this.transform(S,T,A,Z,V,F),this.transform(C,T,x,B,V,F);for(var r=0;r<V;r++){var U0=A[r]*x[r]-Z[r]*B[r];Z[r]=A[r]*B[r]+Z[r]*x[r],A[r]=U0}return this.conjugate(A,Z,V),this.transform(A,Z,h,T,V,F),this.conjugate(h,T,V),this.normalize13b(h,V),H.negative=Y.negative^D.negative,H.length=Y.length+D.length,H.strip()},O.prototype.mul=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),this.mulTo(Y,D)},O.prototype.mulf=function(Y){var D=new O(null);return D.words=Array(this.length+Y.length),g(this,Y,D)},O.prototype.imul=function(Y){return this.clone().mulTo(Y,this)},O.prototype.imuln=function(Y){X(typeof Y==="number"),X(Y<67108864);var D=0;for(var H=0;H<this.length;H++){var V=(this.words[H]|0)*Y,F=(V&67108863)+(D&67108863);D>>=26,D+=V/67108864|0,D+=F>>>26,this.words[H]=F&67108863}if(D!==0)this.words[H]=D,this.length++;return this.length=Y===0?1:this.length,this},O.prototype.muln=function(Y){return this.clone().imuln(Y)},O.prototype.sqr=function(){return this.mul(this)},O.prototype.isqr=function(){return this.imul(this.clone())},O.prototype.pow=function(Y){var D=N(Y);if(D.length===0)return new O(1);var H=this;for(var V=0;V<D.length;V++,H=H.sqr())if(D[V]!==0)break;if(++V<D.length)for(var F=H.sqr();V<D.length;V++,F=F.sqr()){if(D[V]===0)continue;H=H.mul(F)}return H},O.prototype.iushln=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=67108863>>>26-D<<26-D,F;if(D!==0){var T=0;for(F=0;F<this.length;F++){var S=this.words[F]&V,A=(this.words[F]|0)-S<<D;this.words[F]=A|T,T=S>>>26-D}if(T)this.words[F]=T,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},O.prototype.ishln=function(Y){return X(this.negative===0),this.iushln(Y)},O.prototype.iushrn=function(Y,D,H){X(typeof Y==="number"&&Y>=0);var V;if(D)V=(D-D%26)/26;else V=0;var F=Y%26,T=Math.min((Y-F)/26,this.length),S=67108863^67108863>>>F<<F,A=H;if(V-=T,V=Math.max(0,V),A){for(var Z=0;Z<T;Z++)A.words[Z]=this.words[Z];A.length=T}if(T===0);else if(this.length>T){this.length-=T;for(Z=0;Z<this.length;Z++)this.words[Z]=this.words[Z+T]}else this.words[0]=0,this.length=1;var C=0;for(Z=this.length-1;Z>=0&&(C!==0||Z>=V);Z--){var x=this.words[Z]|0;this.words[Z]=C<<26-F|x>>>F,C=x&S}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},O.prototype.ishrn=function(Y,D,H){return X(this.negative===0),this.iushrn(Y,D,H)},O.prototype.shln=function(Y){return this.clone().ishln(Y)},O.prototype.ushln=function(Y){return this.clone().iushln(Y)},O.prototype.shrn=function(Y){return this.clone().ishrn(Y)},O.prototype.ushrn=function(Y){return this.clone().iushrn(Y)},O.prototype.testn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return!1;var F=this.words[H];return!!(F&V)},O.prototype.imaskn=function(Y){X(typeof Y==="number"&&Y>=0);var D=Y%26,H=(Y-D)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(D!==0)H++;if(this.length=Math.min(H,this.length),D!==0){var V=67108863^67108863>>>D<<D;this.words[this.length-1]&=V}return this.strip()},O.prototype.maskn=function(Y){return this.clone().imaskn(Y)},O.prototype.iaddn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.isubn(-Y);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Y)return this.words[0]=Y-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Y),this.negative=1,this}return this._iaddn(Y)},O.prototype._iaddn=function(Y){this.words[0]+=Y;for(var D=0;D<this.length&&this.words[D]>=67108864;D++)if(this.words[D]-=67108864,D===this.length-1)this.words[D+1]=1;else this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},O.prototype.isubn=function(Y){if(X(typeof Y==="number"),X(Y<67108864),Y<0)return this.iaddn(-Y);if(this.negative!==0)return this.negative=0,this.iaddn(Y),this.negative=1,this;if(this.words[0]-=Y,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D<this.length&&this.words[D]<0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this.strip()},O.prototype.addn=function(Y){return this.clone().iaddn(Y)},O.prototype.subn=function(Y){return this.clone().isubn(Y)},O.prototype.iabs=function(){return this.negative=0,this},O.prototype.abs=function(){return this.clone().iabs()},O.prototype._ishlnsubmul=function(Y,D,H){var V=Y.length+H,F;this._expand(V);var T,S=0;for(F=0;F<Y.length;F++){T=(this.words[F+H]|0)+S;var A=(Y.words[F]|0)*D;T-=A&67108863,S=(T>>26)-(A/67108864|0),this.words[F+H]=T&67108863}for(;F<this.length-H;F++)T=(this.words[F+H]|0)+S,S=T>>26,this.words[F+H]=T&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(F=0;F<this.length;F++)T=-(this.words[F]|0)+S,S=T>>26,this.words[F]=T&67108863;return this.negative=1,this.strip()},O.prototype._wordDiv=function(Y,D){var H=this.length-Y.length,V=this.clone(),F=Y,T=F.words[F.length-1]|0,S=this._countBits(T);if(H=26-S,H!==0)F=F.ushln(H),V.iushln(H),T=F.words[F.length-1]|0;var A=V.length-F.length,Z;if(D!=="mod"){Z=new O(null),Z.length=A+1,Z.words=Array(Z.length);for(var C=0;C<Z.length;C++)Z.words[C]=0}var x=V.clone()._ishlnsubmul(F,1,A);if(x.negative===0){if(V=x,Z)Z.words[A]=1}for(var B=A-1;B>=0;B--){var h=(V.words[F.length+B]|0)*67108864+(V.words[F.length+B-1]|0);h=Math.min(h/T|0,67108863),V._ishlnsubmul(F,h,B);while(V.negative!==0)if(h--,V.negative=0,V._ishlnsubmul(F,1,B),!V.isZero())V.negative^=1;if(Z)Z.words[B]=h}if(Z)Z.strip();if(V.strip(),D!=="div"&&H!==0)V.iushrn(H);return{div:Z||null,mod:V}},O.prototype.divmod=function(Y,D,H){if(X(!Y.isZero()),this.isZero())return{div:new O(0),mod:new O(0)};var V,F,T;if(this.negative!==0&&Y.negative===0){if(T=this.neg().divmod(Y,D),D!=="mod")V=T.div.neg();if(D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.iadd(Y)}return{div:V,mod:F}}if(this.negative===0&&Y.negative!==0){if(T=this.divmod(Y.neg(),D),D!=="mod")V=T.div.neg();return{div:V,mod:T.mod}}if((this.negative&Y.negative)!==0){if(T=this.neg().divmod(Y.neg(),D),D!=="div"){if(F=T.mod.neg(),H&&F.negative!==0)F.isub(Y)}return{div:T.div,mod:F}}if(Y.length>this.length||this.cmp(Y)<0)return{div:new O(0),mod:this};if(Y.length===1){if(D==="div")return{div:this.divn(Y.words[0]),mod:null};if(D==="mod")return{div:null,mod:new O(this.modn(Y.words[0]))};return{div:this.divn(Y.words[0]),mod:new O(this.modn(Y.words[0]))}}return this._wordDiv(Y,D)},O.prototype.div=function(Y){return this.divmod(Y,"div",!1).div},O.prototype.mod=function(Y){return this.divmod(Y,"mod",!1).mod},O.prototype.umod=function(Y){return this.divmod(Y,"mod",!0).mod},O.prototype.divRound=function(Y){var D=this.divmod(Y);if(D.mod.isZero())return D.div;var H=D.div.negative!==0?D.mod.isub(Y):D.mod,V=Y.ushrn(1),F=Y.andln(1),T=H.cmp(V);if(T<0||F===1&&T===0)return D.div;return D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},O.prototype.modn=function(Y){X(Y<=67108863);var D=67108864%Y,H=0;for(var V=this.length-1;V>=0;V--)H=(D*H+(this.words[V]|0))%Y;return H},O.prototype.idivn=function(Y){X(Y<=67108863);var D=0;for(var H=this.length-1;H>=0;H--){var V=(this.words[H]|0)+D*67108864;this.words[H]=V/Y|0,D=V%Y}return this.strip()},O.prototype.divn=function(Y){return this.clone().idivn(Y)},O.prototype.egcd=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=new O(0),S=new O(1),A=0;while(D.isEven()&&H.isEven())D.iushrn(1),H.iushrn(1),++A;var Z=H.clone(),C=D.clone();while(!D.isZero()){for(var x=0,B=1;(D.words[0]&B)===0&&x<26;++x,B<<=1);if(x>0){D.iushrn(x);while(x-- >0){if(V.isOdd()||F.isOdd())V.iadd(Z),F.isub(C);V.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(T.isOdd()||S.isOdd())T.iadd(Z),S.isub(C);T.iushrn(1),S.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(T),F.isub(S);else H.isub(D),T.isub(V),S.isub(F)}return{a:T,b:S,gcd:H.iushln(A)}},O.prototype._invmp=function(Y){X(Y.negative===0),X(!Y.isZero());var D=this,H=Y.clone();if(D.negative!==0)D=D.umod(Y);else D=D.clone();var V=new O(1),F=new O(0),T=H.clone();while(D.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(D.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){D.iushrn(S);while(S-- >0){if(V.isOdd())V.iadd(T);V.iushrn(1)}}for(var Z=0,C=1;(H.words[0]&C)===0&&Z<26;++Z,C<<=1);if(Z>0){H.iushrn(Z);while(Z-- >0){if(F.isOdd())F.iadd(T);F.iushrn(1)}}if(D.cmp(H)>=0)D.isub(H),V.isub(F);else H.isub(D),F.isub(V)}var x;if(D.cmpn(1)===0)x=V;else x=F;if(x.cmpn(0)<0)x.iadd(Y);return x},O.prototype.gcd=function(Y){if(this.isZero())return Y.abs();if(Y.isZero())return this.abs();var D=this.clone(),H=Y.clone();D.negative=0,H.negative=0;for(var V=0;D.isEven()&&H.isEven();V++)D.iushrn(1),H.iushrn(1);do{while(D.isEven())D.iushrn(1);while(H.isEven())H.iushrn(1);var F=D.cmp(H);if(F<0){var T=D;D=H,H=T}else if(F===0||H.cmpn(1)===0)break;D.isub(H)}while(!0);return H.iushln(V)},O.prototype.invm=function(Y){return this.egcd(Y).a.umod(Y)},O.prototype.isEven=function(){return(this.words[0]&1)===0},O.prototype.isOdd=function(){return(this.words[0]&1)===1},O.prototype.andln=function(Y){return this.words[0]&Y},O.prototype.bincn=function(Y){X(typeof Y==="number");var D=Y%26,H=(Y-D)/26,V=1<<D;if(this.length<=H)return this._expand(H+1),this.words[H]|=V,this;var F=V;for(var T=H;F!==0&&T<this.length;T++){var S=this.words[T]|0;S+=F,F=S>>>26,S&=67108863,this.words[T]=S}if(F!==0)this.words[T]=F,this.length++;return this},O.prototype.isZero=function(){return this.length===1&&this.words[0]===0},O.prototype.cmpn=function(Y){var D=Y<0;if(this.negative!==0&&!D)return-1;if(this.negative===0&&D)return 1;this.strip();var H;if(this.length>1)H=1;else{if(D)Y=-Y;X(Y<=67108863,"Number is too big");var V=this.words[0]|0;H=V===Y?0:V<Y?-1:1}if(this.negative!==0)return-H|0;return H},O.prototype.cmp=function(Y){if(this.negative!==0&&Y.negative===0)return-1;if(this.negative===0&&Y.negative!==0)return 1;var D=this.ucmp(Y);if(this.negative!==0)return-D|0;return D},O.prototype.ucmp=function(Y){if(this.length>Y.length)return 1;if(this.length<Y.length)return-1;var D=0;for(var H=this.length-1;H>=0;H--){var V=this.words[H]|0,F=Y.words[H]|0;if(V===F)continue;if(V<F)D=-1;else if(V>F)D=1;break}return D},O.prototype.gtn=function(Y){return this.cmpn(Y)===1},O.prototype.gt=function(Y){return this.cmp(Y)===1},O.prototype.gten=function(Y){return this.cmpn(Y)>=0},O.prototype.gte=function(Y){return this.cmp(Y)>=0},O.prototype.ltn=function(Y){return this.cmpn(Y)===-1},O.prototype.lt=function(Y){return this.cmp(Y)===-1},O.prototype.lten=function(Y){return this.cmpn(Y)<=0},O.prototype.lte=function(Y){return this.cmp(Y)<=0},O.prototype.eqn=function(Y){return this.cmpn(Y)===0},O.prototype.eq=function(Y){return this.cmp(Y)===0},O.red=function(Y){return new t(Y)},O.prototype.toRed=function(Y){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),Y.convertTo(this)._forceRed(Y)},O.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},O.prototype._forceRed=function(Y){return this.red=Y,this},O.prototype.forceRed=function(Y){return X(!this.red,"Already a number in reduction context"),this._forceRed(Y)},O.prototype.redAdd=function(Y){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,Y)},O.prototype.redIAdd=function(Y){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Y)},O.prototype.redSub=function(Y){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,Y)},O.prototype.redISub=function(Y){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,Y)},O.prototype.redShl=function(Y){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,Y)},O.prototype.redMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.mul(this,Y)},O.prototype.redIMul=function(Y){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,Y),this.red.imul(this,Y)},O.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},O.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},O.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},O.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},O.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},O.prototype.redPow=function(Y){return X(this.red&&!Y.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Y)};var p={k256:null,p224:null,p192:null,p25519:null};function d(Y,D){this.name=Y,this.p=new O(D,16),this.n=this.p.bitLength(),this.k=new O(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var Y=new O(null);return Y.words=Array(Math.ceil(this.n/13)),Y},d.prototype.ireduce=function(Y){var D=Y,H;do this.split(D,this.tmp),D=this.imulK(D),D=D.iadd(this.tmp),H=D.bitLength();while(H>this.n);var V=H<this.n?-1:D.ucmp(this.p);if(V===0)D.words[0]=0,D.length=1;else if(V>0)D.isub(this.p);else if(D.strip!==void 0)D.strip();else D._strip();return D},d.prototype.split=function(Y,D){Y.iushrn(this.n,0,D)},d.prototype.imulK=function(Y){return Y.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(Y,D){var H=4194303,V=Math.min(Y.length,9);for(var F=0;F<V;F++)D.words[F]=Y.words[F];if(D.length=V,Y.length<=9){Y.words[0]=0,Y.length=1;return}var T=Y.words[9];D.words[D.length++]=T&H;for(F=10;F<Y.length;F++){var S=Y.words[F]|0;Y.words[F-10]=(S&H)<<4|T>>>22,T=S}if(T>>>=22,Y.words[F-10]=T,T===0&&Y.length>10)Y.length-=10;else Y.length-=9},a.prototype.imulK=function(Y){Y.words[Y.length]=0,Y.words[Y.length+1]=0,Y.length+=2;var D=0;for(var H=0;H<Y.length;H++){var V=Y.words[H]|0;D+=V*977,Y.words[H]=D&67108863,D=V*64+(D/67108864|0)}if(Y.words[Y.length-1]===0){if(Y.length--,Y.words[Y.length-1]===0)Y.length--}return Y};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function E0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(E0,d),E0.prototype.imulK=function(Y){var D=0;for(var H=0;H<Y.length;H++){var V=(Y.words[H]|0)*19+D,F=V&67108863;V>>>=26,Y.words[H]=F,D=V}if(D!==0)Y.words[Y.length++]=D;return Y},O._prime=function(Y){if(p[Y])return p[Y];var D;if(Y==="k256")D=new a;else if(Y==="p224")D=new F0;else if(Y==="p192")D=new L0;else if(Y==="p25519")D=new E0;else throw Error("Unknown prime "+Y);return p[Y]=D,D};function t(Y){if(typeof Y==="string"){var D=O._prime(Y);this.m=D.p,this.prime=D}else X(Y.gtn(1),"modulus must be greater than 1"),this.m=Y,this.prime=null}t.prototype._verify1=function(Y){X(Y.negative===0,"red works only with positives"),X(Y.red,"red works only with red numbers")},t.prototype._verify2=function(Y,D){X((Y.negative|D.negative)===0,"red works only with positives"),X(Y.red&&Y.red===D.red,"red works only with red numbers")},t.prototype.imod=function(Y){if(this.prime)return this.prime.ireduce(Y)._forceRed(this);return Y.umod(this.m)._forceRed(this)},t.prototype.neg=function(Y){if(Y.isZero())return Y.clone();return this.m.sub(Y)._forceRed(this)},t.prototype.add=function(Y,D){this._verify2(Y,D);var H=Y.add(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(Y,D){this._verify2(Y,D);var H=Y.iadd(D);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(Y,D){this._verify2(Y,D);var H=Y.sub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(Y,D){this._verify2(Y,D);var H=Y.isub(D);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(Y,D){return this._verify1(Y),this.imod(Y.ushln(D))},t.prototype.imul=function(Y,D){return this._verify2(Y,D),this.imod(Y.imul(D))},t.prototype.mul=function(Y,D){return this._verify2(Y,D),this.imod(Y.mul(D))},t.prototype.isqr=function(Y){return this.imul(Y,Y.clone())},t.prototype.sqr=function(Y){return this.mul(Y,Y)},t.prototype.sqrt=function(Y){if(Y.isZero())return Y.clone();var D=this.m.andln(3);if(X(D%2===1),D===3){var H=this.m.add(new O(1)).iushrn(2);return this.pow(Y,H)}var V=this.m.subn(1),F=0;while(!V.isZero()&&V.andln(1)===0)F++,V.iushrn(1);X(!V.isZero());var T=new O(1).toRed(this),S=T.redNeg(),A=this.m.subn(1).iushrn(1),Z=this.m.bitLength();Z=new O(2*Z*Z).toRed(this);while(this.pow(Z,A).cmp(S)!==0)Z.redIAdd(S);var C=this.pow(Z,V),x=this.pow(Y,V.addn(1).iushrn(1)),B=this.pow(Y,V),h=F;while(B.cmp(T)!==0){var r=B;for(var U0=0;r.cmp(T)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(C,new O(1).iushln(h-U0-1));x=x.redMul(z0),C=z0.redSqr(),B=B.redMul(C),h=U0}return x},t.prototype.invm=function(Y){var D=Y._invmp(this.m);if(D.negative!==0)return D.negative=0,this.imod(D).redNeg();else return this.imod(D)},t.prototype.pow=function(Y,D){if(D.isZero())return new O(1).toRed(this);if(D.cmpn(1)===0)return Y.clone();var H=4,V=Array(1<<H);V[0]=new O(1).toRed(this),V[1]=Y;for(var F=2;F<V.length;F++)V[F]=this.mul(V[F-1],Y);var T=V[0],S=0,A=0,Z=D.bitLength()%26;if(Z===0)Z=26;for(F=D.length-1;F>=0;F--){var C=D.words[F];for(var x=Z-1;x>=0;x--){var B=C>>x&1;if(T!==V[0])T=this.sqr(T);if(B===0&&S===0){A=0;continue}if(S<<=1,S|=B,A++,A!==H&&(F!==0||x!==0))continue;T=this.mul(T,V[S]),A=0,S=0}Z=26}return T},t.prototype.convertTo=function(Y){var D=Y.umod(this.m);return D===Y?D.clone():D},t.prototype.convertFrom=function(Y){var D=Y.clone();return D.red=null,D},O.mont=function(Y){return new C0(Y)};function C0(Y){if(t.call(this,Y),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new O(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(C0,t),C0.prototype.convertTo=function(Y){return this.imod(Y.ushln(this.shift))},C0.prototype.convertFrom=function(Y){var D=this.imod(Y.mul(this.rinv));return D.red=null,D},C0.prototype.imul=function(Y,D){if(Y.isZero()||D.isZero())return Y.words[0]=0,Y.length=1,Y;var H=Y.imul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.mul=function(Y,D){if(Y.isZero()||D.isZero())return new O(0)._forceRed(this);var H=Y.mul(D),V=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(V).iushrn(this.shift),T=F;if(F.cmp(this.m)>=0)T=F.isub(this.m);else if(F.cmpn(0)<0)T=F.iadd(this.m);return T._forceRed(this)},C0.prototype.invm=function(Y){var D=this.imod(Y._invmp(this.m).mul(this.r2));return D._forceRed(this)}})(typeof J>"u"||J,I)}),US=u0((I,J)=>{var G=KF(),K=w6().Buffer;function X(z,O){return K.from(z.toRed(G.mont(O.modulus)).redPow(new G(O.publicExponent)).fromRed().toArray())}J.exports=X}),Hf=u0((I,J)=>{(function(G,K){function X(V,F){if(!V)throw Error(F||"Assertion failed")}function z(V,F){V.super_=F;var T=function(){};T.prototype=F.prototype,V.prototype=new T,V.prototype.constructor=V}function O(V,F,T){if(O.isBN(V))return V;if(this.negative=0,this.words=null,this.length=0,this.red=null,V!==null){if(F==="le"||F==="be")T=F,F=10;this._init(V||0,F||10,T||"be")}}if(typeof G==="object")G.exports=O;else K.BN=O;O.BN=O,O.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(V){}O.isBN=function(V){if(V instanceof O)return!0;return V!==null&&typeof V==="object"&&V.constructor.wordSize===O.wordSize&&Array.isArray(V.words)},O.max=function(V,F){if(V.cmp(F)>0)return V;return F},O.min=function(V,F){if(V.cmp(F)<0)return V;return F},O.prototype._init=function(V,F,T){if(typeof V==="number")return this._initNumber(V,F,T);if(typeof V==="object")return this._initArray(V,F,T);if(F==="hex")F=16;X(F===(F|0)&&F>=2&&F<=36),V=V.toString().replace(/\s+/g,"");var S=0;if(V[0]==="-")S++,this.negative=1;if(S<V.length){if(F===16)this._parseHex(V,S,T);else if(this._parseBase(V,F,S),T==="le")this._initArray(this.toArray(),F,T)}},O.prototype._initNumber=function(V,F,T){if(V<0)this.negative=1,V=-V;if(V<67108864)this.words=[V&67108863],this.length=1;else if(V<4503599627370496)this.words=[V&67108863,V/67108864&67108863],this.length=2;else X(V<9007199254740992),this.words=[V&67108863,V/67108864&67108863,1],this.length=3;if(T!=="le")return;this._initArray(this.toArray(),F,T)},O.prototype._initArray=function(V,F,T){if(X(typeof V.length==="number"),V.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(V.length/3),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A,Z,C=0;if(T==="be"){for(S=V.length-1,A=0;S>=0;S-=3)if(Z=V[S]|V[S-1]<<8|V[S-2]<<16,this.words[A]|=Z<<C&67108863,this.words[A+1]=Z>>>26-C&67108863,C+=24,C>=26)C-=26,A++}else if(T==="le"){for(S=0,A=0;S<V.length;S+=3)if(Z=V[S]|V[S+1]<<8|V[S+2]<<16,this.words[A]|=Z<<C&67108863,this.words[A+1]=Z>>>26-C&67108863,C+=24,C>=26)C-=26,A++}return this._strip()};function j(V,F){var T=V.charCodeAt(F);if(T>=48&&T<=57)return T-48;else if(T>=65&&T<=70)return T-55;else if(T>=97&&T<=102)return T-87;else X(!1,"Invalid character in "+V)}function E(V,F,T){var S=j(V,T);if(T-1>=F)S|=j(V,T-1)<<4;return S}O.prototype._parseHex=function(V,F,T){this.length=Math.ceil((V.length-F)/6),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A=0,Z=0,C;if(T==="be")for(S=V.length-1;S>=F;S-=2)if(C=E(V,F,S)<<A,this.words[Z]|=C&67108863,A>=18)A-=18,Z+=1,this.words[Z]|=C>>>26;else A+=8;else{var x=V.length-F;for(S=x%2===0?F+1:F;S<V.length;S+=2)if(C=E(V,F,S)<<A,this.words[Z]|=C&67108863,A>=18)A-=18,Z+=1,this.words[Z]|=C>>>26;else A+=8}this._strip()};function _(V,F,T,S){var A=0,Z=0,C=Math.min(V.length,T);for(var x=F;x<C;x++){var B=V.charCodeAt(x)-48;if(A*=S,B>=49)Z=B-49+10;else if(B>=17)Z=B-17+10;else Z=B;X(B>=0&&Z<S,"Invalid character"),A+=Z}return A}O.prototype._parseBase=function(V,F,T){this.words=[0],this.length=1;for(var S=0,A=1;A<=67108863;A*=F)S++;S--,A=A/F|0;var Z=V.length-T,C=Z%S,x=Math.min(Z,Z-C)+T,B=0;for(var h=T;h<x;h+=S)if(B=_(V,h,h+S,F),this.imuln(A),this.words[0]+B<67108864)this.words[0]+=B;else this._iaddn(B);if(C!==0){var r=1;B=_(V,h,V.length,F);for(h=0;h<C;h++)r*=F;if(this.imuln(r),this.words[0]+B<67108864)this.words[0]+=B;else this._iaddn(B)}this._strip()},O.prototype.copy=function(V){V.words=Array(this.length);for(var F=0;F<this.length;F++)V.words[F]=this.words[F];V.length=this.length,V.negative=this.negative,V.red=this.red};function q(V,F){V.words=F.words,V.length=F.length,V.negative=F.negative,V.red=F.red}if(O.prototype._move=function(V){q(V,this)},O.prototype.clone=function(){var V=new O(null);return this.copy(V),V},O.prototype._expand=function(V){while(this.length<V)this.words[this.length++]=0;return this},O.prototype._strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},O.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},typeof Symbol<"u"&&typeof Symbol.for==="function")try{O.prototype[Symbol.for("nodejs.util.inspect.custom")]=P}catch(V){O.prototype.inspect=P}else O.prototype.inspect=P;function P(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],N=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(O.prototype.toString=function(V,F){V=V||10,F=F|0||1;var T;if(V===16||V==="hex"){T="";var S=0,A=0;for(var Z=0;Z<this.length;Z++){var C=this.words[Z],x=((C<<S|A)&16777215).toString(16);if(A=C>>>24-S&16777215,S+=2,S>=26)S-=26,Z--;if(A!==0||Z!==this.length-1)T=v[6-x.length]+x+T;else T=x+T}if(A!==0)T=A.toString(16)+T;while(T.length%F!==0)T="0"+T;if(this.negative!==0)T="-"+T;return T}if(V===(V|0)&&V>=2&&V<=36){var B=N[V],h=y[V];T="";var r=this.clone();r.negative=0;while(!r.isZero()){var U0=r.modrn(h).toString(V);if(r=r.idivn(h),!r.isZero())T=v[B-U0.length]+U0+T;else T=U0+T}if(this.isZero())T="0"+T;while(T.length%F!==0)T="0"+T;if(this.negative!==0)T="-"+T;return T}X(!1,"Base should be between 2 and 36")},O.prototype.toNumber=function(){var V=this.words[0];if(this.length===2)V+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)V+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-V:V},O.prototype.toJSON=function(){return this.toString(16,2)},L)O.prototype.toBuffer=function(V,F){return this.toArrayLike(L,V,F)};O.prototype.toArray=function(V,F){return this.toArrayLike(Array,V,F)};var w=function(V,F){if(V.allocUnsafe)return V.allocUnsafe(F);return new V(F)};if(O.prototype.toArrayLike=function(V,F,T){this._strip();var S=this.byteLength(),A=T||Math.max(1,S);X(S<=A,"byte array longer than desired length"),X(A>0,"Requested array length <= 0");var Z=w(V,A),C=F==="le"?"LE":"BE";return this["_toArrayLike"+C](Z,S),Z},O.prototype._toArrayLikeLE=function(V,F){var T=0,S=0;for(var A=0,Z=0;A<this.length;A++){var C=this.words[A]<<Z|S;if(V[T++]=C&255,T<V.length)V[T++]=C>>8&255;if(T<V.length)V[T++]=C>>16&255;if(Z===6){if(T<V.length)V[T++]=C>>24&255;S=0,Z=0}else S=C>>>24,Z+=2}if(T<V.length){V[T++]=S;while(T<V.length)V[T++]=0}},O.prototype._toArrayLikeBE=function(V,F){var T=V.length-1,S=0;for(var A=0,Z=0;A<this.length;A++){var C=this.words[A]<<Z|S;if(V[T--]=C&255,T>=0)V[T--]=C>>8&255;if(T>=0)V[T--]=C>>16&255;if(Z===6){if(T>=0)V[T--]=C>>24&255;S=0,Z=0}else S=C>>>24,Z+=2}if(T>=0){V[T--]=S;while(T>=0)V[T--]=0}},Math.clz32)O.prototype._countBits=function(V){return 32-Math.clz32(V)};else O.prototype._countBits=function(V){var F=V,T=0;if(F>=4096)T+=13,F>>>=13;if(F>=64)T+=7,F>>>=7;if(F>=8)T+=4,F>>>=4;if(F>=2)T+=2,F>>>=2;return T+F};O.prototype._zeroBits=function(V){if(V===0)return 26;var F=V,T=0;if((F&8191)===0)T+=13,F>>>=13;if((F&127)===0)T+=7,F>>>=7;if((F&15)===0)T+=4,F>>>=4;if((F&3)===0)T+=2,F>>>=2;if((F&1)===0)T++;return T},O.prototype.bitLength=function(){var V=this.words[this.length-1],F=this._countBits(V);return(this.length-1)*26+F};function b(V){var F=Array(V.bitLength());for(var T=0;T<F.length;T++){var S=T/26|0,A=T%26;F[T]=V.words[S]>>>A&1}return F}O.prototype.zeroBits=function(){if(this.isZero())return 0;var V=0;for(var F=0;F<this.length;F++){var T=this._zeroBits(this.words[F]);if(V+=T,T!==26)break}return V},O.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},O.prototype.toTwos=function(V){if(this.negative!==0)return this.abs().inotn(V).iaddn(1);return this.clone()},O.prototype.fromTwos=function(V){if(this.testn(V-1))return this.notn(V).iaddn(1).ineg();return this.clone()},O.prototype.isNeg=function(){return this.negative!==0},O.prototype.neg=function(){return this.clone().ineg()},O.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},O.prototype.iuor=function(V){while(this.length<V.length)this.words[this.length++]=0;for(var F=0;F<V.length;F++)this.words[F]=this.words[F]|V.words[F];return this._strip()},O.prototype.ior=function(V){return X((this.negative|V.negative)===0),this.iuor(V)},O.prototype.or=function(V){if(this.length>V.length)return this.clone().ior(V);return V.clone().ior(this)},O.prototype.uor=function(V){if(this.length>V.length)return this.clone().iuor(V);return V.clone().iuor(this)},O.prototype.iuand=function(V){var F;if(this.length>V.length)F=V;else F=this;for(var T=0;T<F.length;T++)this.words[T]=this.words[T]&V.words[T];return this.length=F.length,this._strip()},O.prototype.iand=function(V){return X((this.negative|V.negative)===0),this.iuand(V)},O.prototype.and=function(V){if(this.length>V.length)return this.clone().iand(V);return V.clone().iand(this)},O.prototype.uand=function(V){if(this.length>V.length)return this.clone().iuand(V);return V.clone().iuand(this)},O.prototype.iuxor=function(V){var F,T;if(this.length>V.length)F=this,T=V;else F=V,T=this;for(var S=0;S<T.length;S++)this.words[S]=F.words[S]^T.words[S];if(this!==F)for(;S<F.length;S++)this.words[S]=F.words[S];return this.length=F.length,this._strip()},O.prototype.ixor=function(V){return X((this.negative|V.negative)===0),this.iuxor(V)},O.prototype.xor=function(V){if(this.length>V.length)return this.clone().ixor(V);return V.clone().ixor(this)},O.prototype.uxor=function(V){if(this.length>V.length)return this.clone().iuxor(V);return V.clone().iuxor(this)},O.prototype.inotn=function(V){X(typeof V==="number"&&V>=0);var F=Math.ceil(V/26)|0,T=V%26;if(this._expand(F),T>0)F--;for(var S=0;S<F;S++)this.words[S]=~this.words[S]&67108863;if(T>0)this.words[S]=~this.words[S]&67108863>>26-T;return this._strip()},O.prototype.notn=function(V){return this.clone().inotn(V)},O.prototype.setn=function(V,F){X(typeof V==="number"&&V>=0);var T=V/26|0,S=V%26;if(this._expand(T+1),F)this.words[T]=this.words[T]|1<<S;else this.words[T]=this.words[T]&~(1<<S);return this._strip()},O.prototype.iadd=function(V){var F;if(this.negative!==0&&V.negative===0)return this.negative=0,F=this.isub(V),this.negative^=1,this._normSign();else if(this.negative===0&&V.negative!==0)return V.negative=0,F=this.isub(V),V.negative=1,F._normSign();var T,S;if(this.length>V.length)T=this,S=V;else T=V,S=this;var A=0;for(var Z=0;Z<S.length;Z++)F=(T.words[Z]|0)+(S.words[Z]|0)+A,this.words[Z]=F&67108863,A=F>>>26;for(;A!==0&&Z<T.length;Z++)F=(T.words[Z]|0)+A,this.words[Z]=F&67108863,A=F>>>26;if(this.length=T.length,A!==0)this.words[this.length]=A,this.length++;else if(T!==this)for(;Z<T.length;Z++)this.words[Z]=T.words[Z];return this},O.prototype.add=function(V){var F;if(V.negative!==0&&this.negative===0)return V.negative=0,F=this.sub(V),V.negative^=1,F;else if(V.negative===0&&this.negative!==0)return this.negative=0,F=V.sub(this),this.negative=1,F;if(this.length>V.length)return this.clone().iadd(V);return V.clone().iadd(this)},O.prototype.isub=function(V){if(V.negative!==0){V.negative=0;var F=this.iadd(V);return V.negative=1,F._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(V),this.negative=1,this._normSign();var T=this.cmp(V);if(T===0)return this.negative=0,this.length=1,this.words[0]=0,this;var S,A;if(T>0)S=this,A=V;else S=V,A=this;var Z=0;for(var C=0;C<A.length;C++)F=(S.words[C]|0)-(A.words[C]|0)+Z,Z=F>>26,this.words[C]=F&67108863;for(;Z!==0&&C<S.length;C++)F=(S.words[C]|0)+Z,Z=F>>26,this.words[C]=F&67108863;if(Z===0&&C<S.length&&S!==this)for(;C<S.length;C++)this.words[C]=S.words[C];if(this.length=Math.max(this.length,C),S!==this)this.negative=1;return this._strip()},O.prototype.sub=function(V){return this.clone().isub(V)};function g(V,F,T){T.negative=F.negative^V.negative;var S=V.length+F.length|0;T.length=S,S=S-1|0;var A=V.words[0]|0,Z=F.words[0]|0,C=A*Z,x=C&67108863,B=C/67108864|0;T.words[0]=x;for(var h=1;h<S;h++){var r=B>>>26,U0=B&67108863,z0=Math.min(h,F.length-1);for(var Q0=Math.max(0,h-V.length+1);Q0<=z0;Q0++){var s=h-Q0|0;A=V.words[s]|0,Z=F.words[Q0]|0,C=A*Z+U0,r+=C/67108864|0,U0=C&67108863}T.words[h]=U0|0,B=r|0}if(B!==0)T.words[h]=B|0;else T.length--;return T._strip()}var u=function(V,F,T){var S=V.words,A=F.words,Z=T.words,C=0,x,B,h,r=S[0]|0,U0=r&8191,z0=r>>>13,Q0=S[1]|0,s=Q0&8191,e=Q0>>>13,J0=S[2]|0,O0=J0&8191,A0=J0>>>13,$0=S[3]|0,c=$0&8191,n=$0>>>13,H0=S[4]|0,Y0=H0&8191,V0=H0>>>13,N0=S[5]|0,I0=N0&8191,K0=N0>>>13,U$=S[6]|0,M0=U$&8191,v0=U$>>>13,L$=S[7]|0,p0=L$&8191,c0=L$>>>13,i$=S[8]|0,b0=i$&8191,h0=i$>>>13,QU=S[9]|0,r0=QU&8191,o0=QU>>>13,TU=A[0]|0,m=TU&8191,X0=TU>>>13,s0=A[1]|0,S0=s0&8191,B0=s0>>>13,F$=A[2]|0,g0=F$&8191,f0=F$>>>13,V$=A[3]|0,n0=V$&8191,i0=V$>>>13,KU=A[4]|0,a0=KU&8191,i=KU>>>13,G0=A[5]|0,P0=G0&8191,_0=G0>>>13,Z$=A[6]|0,d0=Z$&8191,t0=Z$>>>13,HU=A[7]|0,I$=HU&8191,$$=HU>>>13,e$=A[8]|0,X$=e$&8191,e0=e$>>>13,RU=A[9]|0,v$=RU&8191,S$=RU>>>13;T.negative=V.negative^F.negative,T.length=19,x=Math.imul(U0,m),B=Math.imul(U0,X0),B=B+Math.imul(z0,m)|0,h=Math.imul(z0,X0);var $U=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+($U>>>26)|0,$U&=67108863,x=Math.imul(s,m),B=Math.imul(s,X0),B=B+Math.imul(e,m)|0,h=Math.imul(e,X0),x=x+Math.imul(U0,S0)|0,B=B+Math.imul(U0,B0)|0,B=B+Math.imul(z0,S0)|0,h=h+Math.imul(z0,B0)|0;var d$=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(d$>>>26)|0,d$&=67108863,x=Math.imul(O0,m),B=Math.imul(O0,X0),B=B+Math.imul(A0,m)|0,h=Math.imul(A0,X0),x=x+Math.imul(s,S0)|0,B=B+Math.imul(s,B0)|0,B=B+Math.imul(e,S0)|0,h=h+Math.imul(e,B0)|0,x=x+Math.imul(U0,g0)|0,B=B+Math.imul(U0,f0)|0,B=B+Math.imul(z0,g0)|0,h=h+Math.imul(z0,f0)|0;var uU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(uU>>>26)|0,uU&=67108863,x=Math.imul(c,m),B=Math.imul(c,X0),B=B+Math.imul(n,m)|0,h=Math.imul(n,X0),x=x+Math.imul(O0,S0)|0,B=B+Math.imul(O0,B0)|0,B=B+Math.imul(A0,S0)|0,h=h+Math.imul(A0,B0)|0,x=x+Math.imul(s,g0)|0,B=B+Math.imul(s,f0)|0,B=B+Math.imul(e,g0)|0,h=h+Math.imul(e,f0)|0,x=x+Math.imul(U0,n0)|0,B=B+Math.imul(U0,i0)|0,B=B+Math.imul(z0,n0)|0,h=h+Math.imul(z0,i0)|0;var bU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(bU>>>26)|0,bU&=67108863,x=Math.imul(Y0,m),B=Math.imul(Y0,X0),B=B+Math.imul(V0,m)|0,h=Math.imul(V0,X0),x=x+Math.imul(c,S0)|0,B=B+Math.imul(c,B0)|0,B=B+Math.imul(n,S0)|0,h=h+Math.imul(n,B0)|0,x=x+Math.imul(O0,g0)|0,B=B+Math.imul(O0,f0)|0,B=B+Math.imul(A0,g0)|0,h=h+Math.imul(A0,f0)|0,x=x+Math.imul(s,n0)|0,B=B+Math.imul(s,i0)|0,B=B+Math.imul(e,n0)|0,h=h+Math.imul(e,i0)|0,x=x+Math.imul(U0,a0)|0,B=B+Math.imul(U0,i)|0,B=B+Math.imul(z0,a0)|0,h=h+Math.imul(z0,i)|0;var hU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(hU>>>26)|0,hU&=67108863,x=Math.imul(I0,m),B=Math.imul(I0,X0),B=B+Math.imul(K0,m)|0,h=Math.imul(K0,X0),x=x+Math.imul(Y0,S0)|0,B=B+Math.imul(Y0,B0)|0,B=B+Math.imul(V0,S0)|0,h=h+Math.imul(V0,B0)|0,x=x+Math.imul(c,g0)|0,B=B+Math.imul(c,f0)|0,B=B+Math.imul(n,g0)|0,h=h+Math.imul(n,f0)|0,x=x+Math.imul(O0,n0)|0,B=B+Math.imul(O0,i0)|0,B=B+Math.imul(A0,n0)|0,h=h+Math.imul(A0,i0)|0,x=x+Math.imul(s,a0)|0,B=B+Math.imul(s,i)|0,B=B+Math.imul(e,a0)|0,h=h+Math.imul(e,i)|0,x=x+Math.imul(U0,P0)|0,B=B+Math.imul(U0,_0)|0,B=B+Math.imul(z0,P0)|0,h=h+Math.imul(z0,_0)|0;var cU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(cU>>>26)|0,cU&=67108863,x=Math.imul(M0,m),B=Math.imul(M0,X0),B=B+Math.imul(v0,m)|0,h=Math.imul(v0,X0),x=x+Math.imul(I0,S0)|0,B=B+Math.imul(I0,B0)|0,B=B+Math.imul(K0,S0)|0,h=h+Math.imul(K0,B0)|0,x=x+Math.imul(Y0,g0)|0,B=B+Math.imul(Y0,f0)|0,B=B+Math.imul(V0,g0)|0,h=h+Math.imul(V0,f0)|0,x=x+Math.imul(c,n0)|0,B=B+Math.imul(c,i0)|0,B=B+Math.imul(n,n0)|0,h=h+Math.imul(n,i0)|0,x=x+Math.imul(O0,a0)|0,B=B+Math.imul(O0,i)|0,B=B+Math.imul(A0,a0)|0,h=h+Math.imul(A0,i)|0,x=x+Math.imul(s,P0)|0,B=B+Math.imul(s,_0)|0,B=B+Math.imul(e,P0)|0,h=h+Math.imul(e,_0)|0,x=x+Math.imul(U0,d0)|0,B=B+Math.imul(U0,t0)|0,B=B+Math.imul(z0,d0)|0,h=h+Math.imul(z0,t0)|0;var pU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(pU>>>26)|0,pU&=67108863,x=Math.imul(p0,m),B=Math.imul(p0,X0),B=B+Math.imul(c0,m)|0,h=Math.imul(c0,X0),x=x+Math.imul(M0,S0)|0,B=B+Math.imul(M0,B0)|0,B=B+Math.imul(v0,S0)|0,h=h+Math.imul(v0,B0)|0,x=x+Math.imul(I0,g0)|0,B=B+Math.imul(I0,f0)|0,B=B+Math.imul(K0,g0)|0,h=h+Math.imul(K0,f0)|0,x=x+Math.imul(Y0,n0)|0,B=B+Math.imul(Y0,i0)|0,B=B+Math.imul(V0,n0)|0,h=h+Math.imul(V0,i0)|0,x=x+Math.imul(c,a0)|0,B=B+Math.imul(c,i)|0,B=B+Math.imul(n,a0)|0,h=h+Math.imul(n,i)|0,x=x+Math.imul(O0,P0)|0,B=B+Math.imul(O0,_0)|0,B=B+Math.imul(A0,P0)|0,h=h+Math.imul(A0,_0)|0,x=x+Math.imul(s,d0)|0,B=B+Math.imul(s,t0)|0,B=B+Math.imul(e,d0)|0,h=h+Math.imul(e,t0)|0,x=x+Math.imul(U0,I$)|0,B=B+Math.imul(U0,$$)|0,B=B+Math.imul(z0,I$)|0,h=h+Math.imul(z0,$$)|0;var r$=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(r$>>>26)|0,r$&=67108863,x=Math.imul(b0,m),B=Math.imul(b0,X0),B=B+Math.imul(h0,m)|0,h=Math.imul(h0,X0),x=x+Math.imul(p0,S0)|0,B=B+Math.imul(p0,B0)|0,B=B+Math.imul(c0,S0)|0,h=h+Math.imul(c0,B0)|0,x=x+Math.imul(M0,g0)|0,B=B+Math.imul(M0,f0)|0,B=B+Math.imul(v0,g0)|0,h=h+Math.imul(v0,f0)|0,x=x+Math.imul(I0,n0)|0,B=B+Math.imul(I0,i0)|0,B=B+Math.imul(K0,n0)|0,h=h+Math.imul(K0,i0)|0,x=x+Math.imul(Y0,a0)|0,B=B+Math.imul(Y0,i)|0,B=B+Math.imul(V0,a0)|0,h=h+Math.imul(V0,i)|0,x=x+Math.imul(c,P0)|0,B=B+Math.imul(c,_0)|0,B=B+Math.imul(n,P0)|0,h=h+Math.imul(n,_0)|0,x=x+Math.imul(O0,d0)|0,B=B+Math.imul(O0,t0)|0,B=B+Math.imul(A0,d0)|0,h=h+Math.imul(A0,t0)|0,x=x+Math.imul(s,I$)|0,B=B+Math.imul(s,$$)|0,B=B+Math.imul(e,I$)|0,h=h+Math.imul(e,$$)|0,x=x+Math.imul(U0,X$)|0,B=B+Math.imul(U0,e0)|0,B=B+Math.imul(z0,X$)|0,h=h+Math.imul(z0,e0)|0;var LU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(LU>>>26)|0,LU&=67108863,x=Math.imul(r0,m),B=Math.imul(r0,X0),B=B+Math.imul(o0,m)|0,h=Math.imul(o0,X0),x=x+Math.imul(b0,S0)|0,B=B+Math.imul(b0,B0)|0,B=B+Math.imul(h0,S0)|0,h=h+Math.imul(h0,B0)|0,x=x+Math.imul(p0,g0)|0,B=B+Math.imul(p0,f0)|0,B=B+Math.imul(c0,g0)|0,h=h+Math.imul(c0,f0)|0,x=x+Math.imul(M0,n0)|0,B=B+Math.imul(M0,i0)|0,B=B+Math.imul(v0,n0)|0,h=h+Math.imul(v0,i0)|0,x=x+Math.imul(I0,a0)|0,B=B+Math.imul(I0,i)|0,B=B+Math.imul(K0,a0)|0,h=h+Math.imul(K0,i)|0,x=x+Math.imul(Y0,P0)|0,B=B+Math.imul(Y0,_0)|0,B=B+Math.imul(V0,P0)|0,h=h+Math.imul(V0,_0)|0,x=x+Math.imul(c,d0)|0,B=B+Math.imul(c,t0)|0,B=B+Math.imul(n,d0)|0,h=h+Math.imul(n,t0)|0,x=x+Math.imul(O0,I$)|0,B=B+Math.imul(O0,$$)|0,B=B+Math.imul(A0,I$)|0,h=h+Math.imul(A0,$$)|0,x=x+Math.imul(s,X$)|0,B=B+Math.imul(s,e0)|0,B=B+Math.imul(e,X$)|0,h=h+Math.imul(e,e0)|0,x=x+Math.imul(U0,v$)|0,B=B+Math.imul(U0,S$)|0,B=B+Math.imul(z0,v$)|0,h=h+Math.imul(z0,S$)|0;var VU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(VU>>>26)|0,VU&=67108863,x=Math.imul(r0,S0),B=Math.imul(r0,B0),B=B+Math.imul(o0,S0)|0,h=Math.imul(o0,B0),x=x+Math.imul(b0,g0)|0,B=B+Math.imul(b0,f0)|0,B=B+Math.imul(h0,g0)|0,h=h+Math.imul(h0,f0)|0,x=x+Math.imul(p0,n0)|0,B=B+Math.imul(p0,i0)|0,B=B+Math.imul(c0,n0)|0,h=h+Math.imul(c0,i0)|0,x=x+Math.imul(M0,a0)|0,B=B+Math.imul(M0,i)|0,B=B+Math.imul(v0,a0)|0,h=h+Math.imul(v0,i)|0,x=x+Math.imul(I0,P0)|0,B=B+Math.imul(I0,_0)|0,B=B+Math.imul(K0,P0)|0,h=h+Math.imul(K0,_0)|0,x=x+Math.imul(Y0,d0)|0,B=B+Math.imul(Y0,t0)|0,B=B+Math.imul(V0,d0)|0,h=h+Math.imul(V0,t0)|0,x=x+Math.imul(c,I$)|0,B=B+Math.imul(c,$$)|0,B=B+Math.imul(n,I$)|0,h=h+Math.imul(n,$$)|0,x=x+Math.imul(O0,X$)|0,B=B+Math.imul(O0,e0)|0,B=B+Math.imul(A0,X$)|0,h=h+Math.imul(A0,e0)|0,x=x+Math.imul(s,v$)|0,B=B+Math.imul(s,S$)|0,B=B+Math.imul(e,v$)|0,h=h+Math.imul(e,S$)|0;var mU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(mU>>>26)|0,mU&=67108863,x=Math.imul(r0,g0),B=Math.imul(r0,f0),B=B+Math.imul(o0,g0)|0,h=Math.imul(o0,f0),x=x+Math.imul(b0,n0)|0,B=B+Math.imul(b0,i0)|0,B=B+Math.imul(h0,n0)|0,h=h+Math.imul(h0,i0)|0,x=x+Math.imul(p0,a0)|0,B=B+Math.imul(p0,i)|0,B=B+Math.imul(c0,a0)|0,h=h+Math.imul(c0,i)|0,x=x+Math.imul(M0,P0)|0,B=B+Math.imul(M0,_0)|0,B=B+Math.imul(v0,P0)|0,h=h+Math.imul(v0,_0)|0,x=x+Math.imul(I0,d0)|0,B=B+Math.imul(I0,t0)|0,B=B+Math.imul(K0,d0)|0,h=h+Math.imul(K0,t0)|0,x=x+Math.imul(Y0,I$)|0,B=B+Math.imul(Y0,$$)|0,B=B+Math.imul(V0,I$)|0,h=h+Math.imul(V0,$$)|0,x=x+Math.imul(c,X$)|0,B=B+Math.imul(c,e0)|0,B=B+Math.imul(n,X$)|0,h=h+Math.imul(n,e0)|0,x=x+Math.imul(O0,v$)|0,B=B+Math.imul(O0,S$)|0,B=B+Math.imul(A0,v$)|0,h=h+Math.imul(A0,S$)|0;var PU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(PU>>>26)|0,PU&=67108863,x=Math.imul(r0,n0),B=Math.imul(r0,i0),B=B+Math.imul(o0,n0)|0,h=Math.imul(o0,i0),x=x+Math.imul(b0,a0)|0,B=B+Math.imul(b0,i)|0,B=B+Math.imul(h0,a0)|0,h=h+Math.imul(h0,i)|0,x=x+Math.imul(p0,P0)|0,B=B+Math.imul(p0,_0)|0,B=B+Math.imul(c0,P0)|0,h=h+Math.imul(c0,_0)|0,x=x+Math.imul(M0,d0)|0,B=B+Math.imul(M0,t0)|0,B=B+Math.imul(v0,d0)|0,h=h+Math.imul(v0,t0)|0,x=x+Math.imul(I0,I$)|0,B=B+Math.imul(I0,$$)|0,B=B+Math.imul(K0,I$)|0,h=h+Math.imul(K0,$$)|0,x=x+Math.imul(Y0,X$)|0,B=B+Math.imul(Y0,e0)|0,B=B+Math.imul(V0,X$)|0,h=h+Math.imul(V0,e0)|0,x=x+Math.imul(c,v$)|0,B=B+Math.imul(c,S$)|0,B=B+Math.imul(n,v$)|0,h=h+Math.imul(n,S$)|0;var BU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(BU>>>26)|0,BU&=67108863,x=Math.imul(r0,a0),B=Math.imul(r0,i),B=B+Math.imul(o0,a0)|0,h=Math.imul(o0,i),x=x+Math.imul(b0,P0)|0,B=B+Math.imul(b0,_0)|0,B=B+Math.imul(h0,P0)|0,h=h+Math.imul(h0,_0)|0,x=x+Math.imul(p0,d0)|0,B=B+Math.imul(p0,t0)|0,B=B+Math.imul(c0,d0)|0,h=h+Math.imul(c0,t0)|0,x=x+Math.imul(M0,I$)|0,B=B+Math.imul(M0,$$)|0,B=B+Math.imul(v0,I$)|0,h=h+Math.imul(v0,$$)|0,x=x+Math.imul(I0,X$)|0,B=B+Math.imul(I0,e0)|0,B=B+Math.imul(K0,X$)|0,h=h+Math.imul(K0,e0)|0,x=x+Math.imul(Y0,v$)|0,B=B+Math.imul(Y0,S$)|0,B=B+Math.imul(V0,v$)|0,h=h+Math.imul(V0,S$)|0;var gU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(gU>>>26)|0,gU&=67108863,x=Math.imul(r0,P0),B=Math.imul(r0,_0),B=B+Math.imul(o0,P0)|0,h=Math.imul(o0,_0),x=x+Math.imul(b0,d0)|0,B=B+Math.imul(b0,t0)|0,B=B+Math.imul(h0,d0)|0,h=h+Math.imul(h0,t0)|0,x=x+Math.imul(p0,I$)|0,B=B+Math.imul(p0,$$)|0,B=B+Math.imul(c0,I$)|0,h=h+Math.imul(c0,$$)|0,x=x+Math.imul(M0,X$)|0,B=B+Math.imul(M0,e0)|0,B=B+Math.imul(v0,X$)|0,h=h+Math.imul(v0,e0)|0,x=x+Math.imul(I0,v$)|0,B=B+Math.imul(I0,S$)|0,B=B+Math.imul(K0,v$)|0,h=h+Math.imul(K0,S$)|0;var EU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(EU>>>26)|0,EU&=67108863,x=Math.imul(r0,d0),B=Math.imul(r0,t0),B=B+Math.imul(o0,d0)|0,h=Math.imul(o0,t0),x=x+Math.imul(b0,I$)|0,B=B+Math.imul(b0,$$)|0,B=B+Math.imul(h0,I$)|0,h=h+Math.imul(h0,$$)|0,x=x+Math.imul(p0,X$)|0,B=B+Math.imul(p0,e0)|0,B=B+Math.imul(c0,X$)|0,h=h+Math.imul(c0,e0)|0,x=x+Math.imul(M0,v$)|0,B=B+Math.imul(M0,S$)|0,B=B+Math.imul(v0,v$)|0,h=h+Math.imul(v0,S$)|0;var MU=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(MU>>>26)|0,MU&=67108863,x=Math.imul(r0,I$),B=Math.imul(r0,$$),B=B+Math.imul(o0,I$)|0,h=Math.imul(o0,$$),x=x+Math.imul(b0,X$)|0,B=B+Math.imul(b0,e0)|0,B=B+Math.imul(h0,X$)|0,h=h+Math.imul(h0,e0)|0,x=x+Math.imul(p0,v$)|0,B=B+Math.imul(p0,S$)|0,B=B+Math.imul(c0,v$)|0,h=h+Math.imul(c0,S$)|0;var VX=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(VX>>>26)|0,VX&=67108863,x=Math.imul(r0,X$),B=Math.imul(r0,e0),B=B+Math.imul(o0,X$)|0,h=Math.imul(o0,e0),x=x+Math.imul(b0,v$)|0,B=B+Math.imul(b0,S$)|0,B=B+Math.imul(h0,v$)|0,h=h+Math.imul(h0,S$)|0;var KY=(C+x|0)+((B&8191)<<13)|0;C=(h+(B>>>13)|0)+(KY>>>26)|0,KY&=67108863,x=Math.imul(r0,v$),B=Math.imul(r0,S$),B=B+Math.imul(o0,v$)|0,h=Math.imul(o0,S$);var VY=(C+x|0)+((B&8191)<<13)|0;if(C=(h+(B>>>13)|0)+(VY>>>26)|0,VY&=67108863,Z[0]=$U,Z[1]=d$,Z[2]=uU,Z[3]=bU,Z[4]=hU,Z[5]=cU,Z[6]=pU,Z[7]=r$,Z[8]=LU,Z[9]=VU,Z[10]=mU,Z[11]=PU,Z[12]=BU,Z[13]=gU,Z[14]=EU,Z[15]=MU,Z[16]=VX,Z[17]=KY,Z[18]=VY,C!==0)Z[19]=C,T.length++;return T};if(!Math.imul)u=g;function p(V,F,T){T.negative=F.negative^V.negative,T.length=V.length+F.length;var S=0,A=0;for(var Z=0;Z<T.length-1;Z++){var C=A;A=0;var x=S&67108863,B=Math.min(Z,F.length-1);for(var h=Math.max(0,Z-V.length+1);h<=B;h++){var r=Z-h,U0=V.words[r]|0,z0=F.words[h]|0,Q0=U0*z0,s=Q0&67108863;C=C+(Q0/67108864|0)|0,s=s+x|0,x=s&67108863,C=C+(s>>>26)|0,A+=C>>>26,C&=67108863}T.words[Z]=x,S=C,C=A}if(S!==0)T.words[Z]=S;else T.length--;return T._strip()}function d(V,F,T){return p(V,F,T)}O.prototype.mulTo=function(V,F){var T,S=this.length+V.length;if(this.length===10&&V.length===10)T=u(this,V,F);else if(S<63)T=g(this,V,F);else if(S<1024)T=p(this,V,F);else T=d(this,V,F);return T};function a(V,F){this.x=V,this.y=F}a.prototype.makeRBT=function(V){var F=Array(V),T=O.prototype._countBits(V)-1;for(var S=0;S<V;S++)F[S]=this.revBin(S,T,V);return F},a.prototype.revBin=function(V,F,T){if(V===0||V===T-1)return V;var S=0;for(var A=0;A<F;A++)S|=(V&1)<<F-A-1,V>>=1;return S},a.prototype.permute=function(V,F,T,S,A,Z){for(var C=0;C<Z;C++)S[C]=F[V[C]],A[C]=T[V[C]]},a.prototype.transform=function(V,F,T,S,A,Z){this.permute(Z,V,F,T,S,A);for(var C=1;C<A;C<<=1){var x=C<<1,B=Math.cos(2*Math.PI/x),h=Math.sin(2*Math.PI/x);for(var r=0;r<A;r+=x){var U0=B,z0=h;for(var Q0=0;Q0<C;Q0++){var s=T[r+Q0],e=S[r+Q0],J0=T[r+Q0+C],O0=S[r+Q0+C],A0=U0*J0-z0*O0;if(O0=U0*O0+z0*J0,J0=A0,T[r+Q0]=s+J0,S[r+Q0]=e+O0,T[r+Q0+C]=s-J0,S[r+Q0+C]=e-O0,Q0!==x)A0=B*U0-h*z0,z0=B*z0+h*U0,U0=A0}}}},a.prototype.guessLen13b=function(V,F){var T=Math.max(F,V)|1,S=T&1,A=0;for(T=T/2|0;T;T=T>>>1)A++;return 1<<A+1+S},a.prototype.conjugate=function(V,F,T){if(T<=1)return;for(var S=0;S<T/2;S++){var A=V[S];V[S]=V[T-S-1],V[T-S-1]=A,A=F[S],F[S]=-F[T-S-1],F[T-S-1]=-A}},a.prototype.normalize13b=function(V,F){var T=0;for(var S=0;S<F/2;S++){var A=Math.round(V[2*S+1]/F)*8192+Math.round(V[2*S]/F)+T;if(V[S]=A&67108863,A<67108864)T=0;else T=A/67108864|0}return V},a.prototype.convert13b=function(V,F,T,S){var A=0;for(var Z=0;Z<F;Z++)A=A+(V[Z]|0),T[2*Z]=A&8191,A=A>>>13,T[2*Z+1]=A&8191,A=A>>>13;for(Z=2*F;Z<S;++Z)T[Z]=0;X(A===0),X((A&-8192)===0)},a.prototype.stub=function(V){var F=Array(V);for(var T=0;T<V;T++)F[T]=0;return F},a.prototype.mulp=function(V,F,T){var S=2*this.guessLen13b(V.length,F.length),A=this.makeRBT(S),Z=this.stub(S),C=Array(S),x=Array(S),B=Array(S),h=Array(S),r=Array(S),U0=Array(S),z0=T.words;z0.length=S,this.convert13b(V.words,V.length,C,S),this.convert13b(F.words,F.length,h,S),this.transform(C,Z,x,B,S,A),this.transform(h,Z,r,U0,S,A);for(var Q0=0;Q0<S;Q0++){var s=x[Q0]*r[Q0]-B[Q0]*U0[Q0];B[Q0]=x[Q0]*U0[Q0]+B[Q0]*r[Q0],x[Q0]=s}return this.conjugate(x,B,S),this.transform(x,B,z0,Z,S,A),this.conjugate(z0,Z,S),this.normalize13b(z0,S),T.negative=V.negative^F.negative,T.length=V.length+F.length,T._strip()},O.prototype.mul=function(V){var F=new O(null);return F.words=Array(this.length+V.length),this.mulTo(V,F)},O.prototype.mulf=function(V){var F=new O(null);return F.words=Array(this.length+V.length),d(this,V,F)},O.prototype.imul=function(V){return this.clone().mulTo(V,this)},O.prototype.imuln=function(V){var F=V<0;if(F)V=-V;X(typeof V==="number"),X(V<67108864);var T=0;for(var S=0;S<this.length;S++){var A=(this.words[S]|0)*V,Z=(A&67108863)+(T&67108863);T>>=26,T+=A/67108864|0,T+=Z>>>26,this.words[S]=Z&67108863}if(T!==0)this.words[S]=T,this.length++;return this.length=V===0?1:this.length,F?this.ineg():this},O.prototype.muln=function(V){return this.clone().imuln(V)},O.prototype.sqr=function(){return this.mul(this)},O.prototype.isqr=function(){return this.imul(this.clone())},O.prototype.pow=function(V){var F=b(V);if(F.length===0)return new O(1);var T=this;for(var S=0;S<F.length;S++,T=T.sqr())if(F[S]!==0)break;if(++S<F.length)for(var A=T.sqr();S<F.length;S++,A=A.sqr()){if(F[S]===0)continue;T=T.mul(A)}return T},O.prototype.iushln=function(V){X(typeof V==="number"&&V>=0);var F=V%26,T=(V-F)/26,S=67108863>>>26-F<<26-F,A;if(F!==0){var Z=0;for(A=0;A<this.length;A++){var C=this.words[A]&S,x=(this.words[A]|0)-C<<F;this.words[A]=x|Z,Z=C>>>26-F}if(Z)this.words[A]=Z,this.length++}if(T!==0){for(A=this.length-1;A>=0;A--)this.words[A+T]=this.words[A];for(A=0;A<T;A++)this.words[A]=0;this.length+=T}return this._strip()},O.prototype.ishln=function(V){return X(this.negative===0),this.iushln(V)},O.prototype.iushrn=function(V,F,T){X(typeof V==="number"&&V>=0);var S;if(F)S=(F-F%26)/26;else S=0;var A=V%26,Z=Math.min((V-A)/26,this.length),C=67108863^67108863>>>A<<A,x=T;if(S-=Z,S=Math.max(0,S),x){for(var B=0;B<Z;B++)x.words[B]=this.words[B];x.length=Z}if(Z===0);else if(this.length>Z){this.length-=Z;for(B=0;B<this.length;B++)this.words[B]=this.words[B+Z]}else this.words[0]=0,this.length=1;var h=0;for(B=this.length-1;B>=0&&(h!==0||B>=S);B--){var r=this.words[B]|0;this.words[B]=h<<26-A|r>>>A,h=r&C}if(x&&h!==0)x.words[x.length++]=h;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},O.prototype.ishrn=function(V,F,T){return X(this.negative===0),this.iushrn(V,F,T)},O.prototype.shln=function(V){return this.clone().ishln(V)},O.prototype.ushln=function(V){return this.clone().iushln(V)},O.prototype.shrn=function(V){return this.clone().ishrn(V)},O.prototype.ushrn=function(V){return this.clone().iushrn(V)},O.prototype.testn=function(V){X(typeof V==="number"&&V>=0);var F=V%26,T=(V-F)/26,S=1<<F;if(this.length<=T)return!1;var A=this.words[T];return!!(A&S)},O.prototype.imaskn=function(V){X(typeof V==="number"&&V>=0);var F=V%26,T=(V-F)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=T)return this;if(F!==0)T++;if(this.length=Math.min(T,this.length),F!==0){var S=67108863^67108863>>>F<<F;this.words[this.length-1]&=S}return this._strip()},O.prototype.maskn=function(V){return this.clone().imaskn(V)},O.prototype.iaddn=function(V){if(X(typeof V==="number"),X(V<67108864),V<0)return this.isubn(-V);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=V)return this.words[0]=V-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(V),this.negative=1,this}return this._iaddn(V)},O.prototype._iaddn=function(V){this.words[0]+=V;for(var F=0;F<this.length&&this.words[F]>=67108864;F++)if(this.words[F]-=67108864,F===this.length-1)this.words[F+1]=1;else this.words[F+1]++;return this.length=Math.max(this.length,F+1),this},O.prototype.isubn=function(V){if(X(typeof V==="number"),X(V<67108864),V<0)return this.iaddn(-V);if(this.negative!==0)return this.negative=0,this.iaddn(V),this.negative=1,this;if(this.words[0]-=V,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var F=0;F<this.length&&this.words[F]<0;F++)this.words[F]+=67108864,this.words[F+1]-=1;return this._strip()},O.prototype.addn=function(V){return this.clone().iaddn(V)},O.prototype.subn=function(V){return this.clone().isubn(V)},O.prototype.iabs=function(){return this.negative=0,this},O.prototype.abs=function(){return this.clone().iabs()},O.prototype._ishlnsubmul=function(V,F,T){var S=V.length+T,A;this._expand(S);var Z,C=0;for(A=0;A<V.length;A++){Z=(this.words[A+T]|0)+C;var x=(V.words[A]|0)*F;Z-=x&67108863,C=(Z>>26)-(x/67108864|0),this.words[A+T]=Z&67108863}for(;A<this.length-T;A++)Z=(this.words[A+T]|0)+C,C=Z>>26,this.words[A+T]=Z&67108863;if(C===0)return this._strip();X(C===-1),C=0;for(A=0;A<this.length;A++)Z=-(this.words[A]|0)+C,C=Z>>26,this.words[A]=Z&67108863;return this.negative=1,this._strip()},O.prototype._wordDiv=function(V,F){var T=this.length-V.length,S=this.clone(),A=V,Z=A.words[A.length-1]|0,C=this._countBits(Z);if(T=26-C,T!==0)A=A.ushln(T),S.iushln(T),Z=A.words[A.length-1]|0;var x=S.length-A.length,B;if(F!=="mod"){B=new O(null),B.length=x+1,B.words=Array(B.length);for(var h=0;h<B.length;h++)B.words[h]=0}var r=S.clone()._ishlnsubmul(A,1,x);if(r.negative===0){if(S=r,B)B.words[x]=1}for(var U0=x-1;U0>=0;U0--){var z0=(S.words[A.length+U0]|0)*67108864+(S.words[A.length+U0-1]|0);z0=Math.min(z0/Z|0,67108863),S._ishlnsubmul(A,z0,U0);while(S.negative!==0)if(z0--,S.negative=0,S._ishlnsubmul(A,1,U0),!S.isZero())S.negative^=1;if(B)B.words[U0]=z0}if(B)B._strip();if(S._strip(),F!=="div"&&T!==0)S.iushrn(T);return{div:B||null,mod:S}},O.prototype.divmod=function(V,F,T){if(X(!V.isZero()),this.isZero())return{div:new O(0),mod:new O(0)};var S,A,Z;if(this.negative!==0&&V.negative===0){if(Z=this.neg().divmod(V,F),F!=="mod")S=Z.div.neg();if(F!=="div"){if(A=Z.mod.neg(),T&&A.negative!==0)A.iadd(V)}return{div:S,mod:A}}if(this.negative===0&&V.negative!==0){if(Z=this.divmod(V.neg(),F),F!=="mod")S=Z.div.neg();return{div:S,mod:Z.mod}}if((this.negative&V.negative)!==0){if(Z=this.neg().divmod(V.neg(),F),F!=="div"){if(A=Z.mod.neg(),T&&A.negative!==0)A.isub(V)}return{div:Z.div,mod:A}}if(V.length>this.length||this.cmp(V)<0)return{div:new O(0),mod:this};if(V.length===1){if(F==="div")return{div:this.divn(V.words[0]),mod:null};if(F==="mod")return{div:null,mod:new O(this.modrn(V.words[0]))};return{div:this.divn(V.words[0]),mod:new O(this.modrn(V.words[0]))}}return this._wordDiv(V,F)},O.prototype.div=function(V){return this.divmod(V,"div",!1).div},O.prototype.mod=function(V){return this.divmod(V,"mod",!1).mod},O.prototype.umod=function(V){return this.divmod(V,"mod",!0).mod},O.prototype.divRound=function(V){var F=this.divmod(V);if(F.mod.isZero())return F.div;var T=F.div.negative!==0?F.mod.isub(V):F.mod,S=V.ushrn(1),A=V.andln(1),Z=T.cmp(S);if(Z<0||A===1&&Z===0)return F.div;return F.div.negative!==0?F.div.isubn(1):F.div.iaddn(1)},O.prototype.modrn=function(V){var F=V<0;if(F)V=-V;X(V<=67108863);var T=67108864%V,S=0;for(var A=this.length-1;A>=0;A--)S=(T*S+(this.words[A]|0))%V;return F?-S:S},O.prototype.modn=function(V){return this.modrn(V)},O.prototype.idivn=function(V){var F=V<0;if(F)V=-V;X(V<=67108863);var T=0;for(var S=this.length-1;S>=0;S--){var A=(this.words[S]|0)+T*67108864;this.words[S]=A/V|0,T=A%V}return this._strip(),F?this.ineg():this},O.prototype.divn=function(V){return this.clone().idivn(V)},O.prototype.egcd=function(V){X(V.negative===0),X(!V.isZero());var F=this,T=V.clone();if(F.negative!==0)F=F.umod(V);else F=F.clone();var S=new O(1),A=new O(0),Z=new O(0),C=new O(1),x=0;while(F.isEven()&&T.isEven())F.iushrn(1),T.iushrn(1),++x;var B=T.clone(),h=F.clone();while(!F.isZero()){for(var r=0,U0=1;(F.words[0]&U0)===0&&r<26;++r,U0<<=1);if(r>0){F.iushrn(r);while(r-- >0){if(S.isOdd()||A.isOdd())S.iadd(B),A.isub(h);S.iushrn(1),A.iushrn(1)}}for(var z0=0,Q0=1;(T.words[0]&Q0)===0&&z0<26;++z0,Q0<<=1);if(z0>0){T.iushrn(z0);while(z0-- >0){if(Z.isOdd()||C.isOdd())Z.iadd(B),C.isub(h);Z.iushrn(1),C.iushrn(1)}}if(F.cmp(T)>=0)F.isub(T),S.isub(Z),A.isub(C);else T.isub(F),Z.isub(S),C.isub(A)}return{a:Z,b:C,gcd:T.iushln(x)}},O.prototype._invmp=function(V){X(V.negative===0),X(!V.isZero());var F=this,T=V.clone();if(F.negative!==0)F=F.umod(V);else F=F.clone();var S=new O(1),A=new O(0),Z=T.clone();while(F.cmpn(1)>0&&T.cmpn(1)>0){for(var C=0,x=1;(F.words[0]&x)===0&&C<26;++C,x<<=1);if(C>0){F.iushrn(C);while(C-- >0){if(S.isOdd())S.iadd(Z);S.iushrn(1)}}for(var B=0,h=1;(T.words[0]&h)===0&&B<26;++B,h<<=1);if(B>0){T.iushrn(B);while(B-- >0){if(A.isOdd())A.iadd(Z);A.iushrn(1)}}if(F.cmp(T)>=0)F.isub(T),S.isub(A);else T.isub(F),A.isub(S)}var r;if(F.cmpn(1)===0)r=S;else r=A;if(r.cmpn(0)<0)r.iadd(V);return r},O.prototype.gcd=function(V){if(this.isZero())return V.abs();if(V.isZero())return this.abs();var F=this.clone(),T=V.clone();F.negative=0,T.negative=0;for(var S=0;F.isEven()&&T.isEven();S++)F.iushrn(1),T.iushrn(1);do{while(F.isEven())F.iushrn(1);while(T.isEven())T.iushrn(1);var A=F.cmp(T);if(A<0){var Z=F;F=T,T=Z}else if(A===0||T.cmpn(1)===0)break;F.isub(T)}while(!0);return T.iushln(S)},O.prototype.invm=function(V){return this.egcd(V).a.umod(V)},O.prototype.isEven=function(){return(this.words[0]&1)===0},O.prototype.isOdd=function(){return(this.words[0]&1)===1},O.prototype.andln=function(V){return this.words[0]&V},O.prototype.bincn=function(V){X(typeof V==="number");var F=V%26,T=(V-F)/26,S=1<<F;if(this.length<=T)return this._expand(T+1),this.words[T]|=S,this;var A=S;for(var Z=T;A!==0&&Z<this.length;Z++){var C=this.words[Z]|0;C+=A,A=C>>>26,C&=67108863,this.words[Z]=C}if(A!==0)this.words[Z]=A,this.length++;return this},O.prototype.isZero=function(){return this.length===1&&this.words[0]===0},O.prototype.cmpn=function(V){var F=V<0;if(this.negative!==0&&!F)return-1;if(this.negative===0&&F)return 1;this._strip();var T;if(this.length>1)T=1;else{if(F)V=-V;X(V<=67108863,"Number is too big");var S=this.words[0]|0;T=S===V?0:S<V?-1:1}if(this.negative!==0)return-T|0;return T},O.prototype.cmp=function(V){if(this.negative!==0&&V.negative===0)return-1;if(this.negative===0&&V.negative!==0)return 1;var F=this.ucmp(V);if(this.negative!==0)return-F|0;return F},O.prototype.ucmp=function(V){if(this.length>V.length)return 1;if(this.length<V.length)return-1;var F=0;for(var T=this.length-1;T>=0;T--){var S=this.words[T]|0,A=V.words[T]|0;if(S===A)continue;if(S<A)F=-1;else if(S>A)F=1;break}return F},O.prototype.gtn=function(V){return this.cmpn(V)===1},O.prototype.gt=function(V){return this.cmp(V)===1},O.prototype.gten=function(V){return this.cmpn(V)>=0},O.prototype.gte=function(V){return this.cmp(V)>=0},O.prototype.ltn=function(V){return this.cmpn(V)===-1},O.prototype.lt=function(V){return this.cmp(V)===-1},O.prototype.lten=function(V){return this.cmpn(V)<=0},O.prototype.lte=function(V){return this.cmp(V)<=0},O.prototype.eqn=function(V){return this.cmpn(V)===0},O.prototype.eq=function(V){return this.cmp(V)===0},O.red=function(V){return new D(V)},O.prototype.toRed=function(V){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),V.convertTo(this)._forceRed(V)},O.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},O.prototype._forceRed=function(V){return this.red=V,this},O.prototype.forceRed=function(V){return X(!this.red,"Already a number in reduction context"),this._forceRed(V)},O.prototype.redAdd=function(V){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,V)},O.prototype.redIAdd=function(V){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,V)},O.prototype.redSub=function(V){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,V)},O.prototype.redISub=function(V){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,V)},O.prototype.redShl=function(V){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,V)},O.prototype.redMul=function(V){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,V),this.red.mul(this,V)},O.prototype.redIMul=function(V){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,V),this.red.imul(this,V)},O.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},O.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},O.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},O.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},O.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},O.prototype.redPow=function(V){return X(this.red&&!V.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,V)};var F0={k256:null,p224:null,p192:null,p25519:null};function L0(V,F){this.name=V,this.p=new O(F,16),this.n=this.p.bitLength(),this.k=new O(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}L0.prototype._tmp=function(){var V=new O(null);return V.words=Array(Math.ceil(this.n/13)),V},L0.prototype.ireduce=function(V){var F=V,T;do this.split(F,this.tmp),F=this.imulK(F),F=F.iadd(this.tmp),T=F.bitLength();while(T>this.n);var S=T<this.n?-1:F.ucmp(this.p);if(S===0)F.words[0]=0,F.length=1;else if(S>0)F.isub(this.p);else if(F.strip!==void 0)F.strip();else F._strip();return F},L0.prototype.split=function(V,F){V.iushrn(this.n,0,F)},L0.prototype.imulK=function(V){return V.imul(this.k)};function E0(){L0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(E0,L0),E0.prototype.split=function(V,F){var T=4194303,S=Math.min(V.length,9);for(var A=0;A<S;A++)F.words[A]=V.words[A];if(F.length=S,V.length<=9){V.words[0]=0,V.length=1;return}var Z=V.words[9];F.words[F.length++]=Z&T;for(A=10;A<V.length;A++){var C=V.words[A]|0;V.words[A-10]=(C&T)<<4|Z>>>22,Z=C}if(Z>>>=22,V.words[A-10]=Z,Z===0&&V.length>10)V.length-=10;else V.length-=9},E0.prototype.imulK=function(V){V.words[V.length]=0,V.words[V.length+1]=0,V.length+=2;var F=0;for(var T=0;T<V.length;T++){var S=V.words[T]|0;F+=S*977,V.words[T]=F&67108863,F=S*64+(F/67108864|0)}if(V.words[V.length-1]===0){if(V.length--,V.words[V.length-1]===0)V.length--}return V};function t(){L0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(t,L0);function C0(){L0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(C0,L0);function Y(){L0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y,L0),Y.prototype.imulK=function(V){var F=0;for(var T=0;T<V.length;T++){var S=(V.words[T]|0)*19+F,A=S&67108863;S>>>=26,V.words[T]=A,F=S}if(F!==0)V.words[V.length++]=F;return V},O._prime=function(V){if(F0[V])return F0[V];var F;if(V==="k256")F=new E0;else if(V==="p224")F=new t;else if(V==="p192")F=new C0;else if(V==="p25519")F=new Y;else throw Error("Unknown prime "+V);return F0[V]=F,F};function D(V){if(typeof V==="string"){var F=O._prime(V);this.m=F.p,this.prime=F}else X(V.gtn(1),"modulus must be greater than 1"),this.m=V,this.prime=null}D.prototype._verify1=function(V){X(V.negative===0,"red works only with positives"),X(V.red,"red works only with red numbers")},D.prototype._verify2=function(V,F){X((V.negative|F.negative)===0,"red works only with positives"),X(V.red&&V.red===F.red,"red works only with red numbers")},D.prototype.imod=function(V){if(this.prime)return this.prime.ireduce(V)._forceRed(this);return q(V,V.umod(this.m)._forceRed(this)),V},D.prototype.neg=function(V){if(V.isZero())return V.clone();return this.m.sub(V)._forceRed(this)},D.prototype.add=function(V,F){this._verify2(V,F);var T=V.add(F);if(T.cmp(this.m)>=0)T.isub(this.m);return T._forceRed(this)},D.prototype.iadd=function(V,F){this._verify2(V,F);var T=V.iadd(F);if(T.cmp(this.m)>=0)T.isub(this.m);return T},D.prototype.sub=function(V,F){this._verify2(V,F);var T=V.sub(F);if(T.cmpn(0)<0)T.iadd(this.m);return T._forceRed(this)},D.prototype.isub=function(V,F){this._verify2(V,F);var T=V.isub(F);if(T.cmpn(0)<0)T.iadd(this.m);return T},D.prototype.shl=function(V,F){return this._verify1(V),this.imod(V.ushln(F))},D.prototype.imul=function(V,F){return this._verify2(V,F),this.imod(V.imul(F))},D.prototype.mul=function(V,F){return this._verify2(V,F),this.imod(V.mul(F))},D.prototype.isqr=function(V){return this.imul(V,V.clone())},D.prototype.sqr=function(V){return this.mul(V,V)},D.prototype.sqrt=function(V){if(V.isZero())return V.clone();var F=this.m.andln(3);if(X(F%2===1),F===3){var T=this.m.add(new O(1)).iushrn(2);return this.pow(V,T)}var S=this.m.subn(1),A=0;while(!S.isZero()&&S.andln(1)===0)A++,S.iushrn(1);X(!S.isZero());var Z=new O(1).toRed(this),C=Z.redNeg(),x=this.m.subn(1).iushrn(1),B=this.m.bitLength();B=new O(2*B*B).toRed(this);while(this.pow(B,x).cmp(C)!==0)B.redIAdd(C);var h=this.pow(B,S),r=this.pow(V,S.addn(1).iushrn(1)),U0=this.pow(V,S),z0=A;while(U0.cmp(Z)!==0){var Q0=U0;for(var s=0;Q0.cmp(Z)!==0;s++)Q0=Q0.redSqr();X(s<z0);var e=this.pow(h,new O(1).iushln(z0-s-1));r=r.redMul(e),h=e.redSqr(),U0=U0.redMul(h),z0=s}return r},D.prototype.invm=function(V){var F=V._invmp(this.m);if(F.negative!==0)return F.negative=0,this.imod(F).redNeg();else return this.imod(F)},D.prototype.pow=function(V,F){if(F.isZero())return new O(1).toRed(this);if(F.cmpn(1)===0)return V.clone();var T=4,S=Array(1<<T);S[0]=new O(1).toRed(this),S[1]=V;for(var A=2;A<S.length;A++)S[A]=this.mul(S[A-1],V);var Z=S[0],C=0,x=0,B=F.bitLength()%26;if(B===0)B=26;for(A=F.length-1;A>=0;A--){var h=F.words[A];for(var r=B-1;r>=0;r--){var U0=h>>r&1;if(Z!==S[0])Z=this.sqr(Z);if(U0===0&&C===0){x=0;continue}if(C<<=1,C|=U0,x++,x!==T&&(A!==0||r!==0))continue;Z=this.mul(Z,S[C]),x=0,C=0}B=26}return Z},D.prototype.convertTo=function(V){var F=V.umod(this.m);return F===V?F.clone():F},D.prototype.convertFrom=function(V){var F=V.clone();return F.red=null,F},O.mont=function(V){return new H(V)};function H(V){if(D.call(this,V),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new O(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(H,D),H.prototype.convertTo=function(V){return this.imod(V.ushln(this.shift))},H.prototype.convertFrom=function(V){var F=this.imod(V.mul(this.rinv));return F.red=null,F},H.prototype.imul=function(V,F){if(V.isZero()||F.isZero())return V.words[0]=0,V.length=1,V;var T=V.imul(F),S=T.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=T.isub(S).iushrn(this.shift),Z=A;if(A.cmp(this.m)>=0)Z=A.isub(this.m);else if(A.cmpn(0)<0)Z=A.iadd(this.m);return Z._forceRed(this)},H.prototype.mul=function(V,F){if(V.isZero()||F.isZero())return new O(0)._forceRed(this);var T=V.mul(F),S=T.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=T.isub(S).iushrn(this.shift),Z=A;if(A.cmp(this.m)>=0)Z=A.isub(this.m);else if(A.cmpn(0)<0)Z=A.iadd(this.m);return Z._forceRed(this)},H.prototype.invm=function(V){var F=this.imod(V._invmp(this.m).mul(this.r2));return F._forceRed(this)}})(typeof J>"u"||J,I)}),IS=u0((I,J)=>{var G=Hf(),K=Vz(),X=w6().Buffer;function z(j){var E=j.modulus.byteLength(),_;do _=new G(K(E));while(_.cmp(j.modulus)>=0||!_.umod(j.prime1)||!_.umod(j.prime2));return _}function O(j){var E=z(j),_=E.toRed(G.mont(j.modulus)).redPow(new G(j.publicExponent)).fromRed();return{blinder:_,unblinder:E.invm(j.modulus)}}function L(j,E){var _=O(E),q=E.modulus.byteLength(),P=new G(j).mul(_.blinder).umod(E.modulus),v=P.toRed(G.mont(E.prime1)),N=P.toRed(G.mont(E.prime2)),y=E.coefficient,w=E.prime1,b=E.prime2,g=v.redPow(E.exponent1).fromRed(),u=N.redPow(E.exponent2).fromRed(),p=g.isub(u).imul(y).umod(w).imul(b);return u.iadd(p).imul(_.unblinder).umod(E.modulus).toArrayLike(X,"be",q)}L.getr=z,J.exports=L}),Lf=u0((I,J)=>{var G=s_(),K=Vz(),X=Dz(),z=e_(),O=$S(),L=KF(),j=US(),E=IS(),_=w6().Buffer;J.exports=function(N,y,w){var b;if(N.padding)b=N.padding;else if(w)b=1;else b=4;var g=G(N),u;if(b===4)u=q(g,y);else if(b===1)u=P(g,y,w);else if(b===3){if(u=new L(y),u.cmp(g.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(w)return E(u,g);else return j(u,g)};function q(N,y){var w=N.modulus.byteLength(),b=y.length,g=X("sha1").update(_.alloc(0)).digest(),u=g.length,p=2*u;if(b>w-p-2)throw Error("message too long");var d=_.alloc(w-b-p-2),a=w-u-1,F0=K(u),L0=O(_.concat([g,d,_.alloc(1,1),y],a),z(F0,a)),E0=O(F0,z(L0,u));return new L(_.concat([_.alloc(1),E0,L0],w))}function P(N,y,w){var b=y.length,g=N.modulus.byteLength();if(b>g-11)throw Error("message too long");var u;if(w)u=_.alloc(g-b-3,255);else u=v(g-b-3);return new L(_.concat([_.from([0,w?1:2]),u,_.alloc(1),y],g))}function v(N){var y=_.allocUnsafe(N),w=0,b=K(N*2),g=0,u;while(w<N){if(g===b.length)b=K(N*2),g=0;if(u=b[g++],u)y[w++]=u}return y}}),Mf=u0((I,J)=>{var G=s_(),K=e_(),X=$S(),z=KF(),O=IS(),L=Dz(),j=US(),E=w6().Buffer;J.exports=function(v,N,y){var w;if(v.padding)w=v.padding;else if(y)w=1;else w=4;var b=G(v),g=b.modulus.byteLength();if(N.length>g||new z(N).cmp(b.modulus)>=0)throw Error("decryption error");var u;if(y)u=j(new z(N),b);else u=O(N,b);var p=E.alloc(g-u.length);if(u=E.concat([p,u],g),w===4)return _(b,u);else if(w===1)return q(b,u,y);else if(w===3)return u;else throw Error("unknown padding")};function _(v,N){var y=v.modulus.byteLength(),w=L("sha1").update(E.alloc(0)).digest(),b=w.length;if(N[0]!==0)throw Error("decryption error");var g=N.slice(1,b+1),u=N.slice(b+1),p=X(g,K(u,b)),d=X(u,K(p,y-b-1));if(P(w,d.slice(0,b)))throw Error("decryption error");var a=b;while(d[a]===0)a++;if(d[a++]!==1)throw Error("decryption error");return d.slice(a)}function q(v,N,y){var w=N.slice(0,2),b=2,g=0;while(N[b++]!==0)if(b>=N.length){g++;break}var u=N.slice(2,b-1);if(w.toString("hex")!=="0002"&&!y||w.toString("hex")!=="0001"&&y)g++;if(u.length<8)g++;if(g)throw Error("decryption error");return N.slice(b)}function P(v,N){v=E.from(v),N=E.from(N);var y=0,w=v.length;if(v.length!==N.length)y++,w=Math.min(v.length,N.length);var b=-1;while(++b<w)y+=v[b]^N[b];return y}}),IF=u0((I)=>{I.publicEncrypt=Lf(),I.privateDecrypt=Mf(),I.privateEncrypt=function(J,G){return I.publicEncrypt(J,G,!0)},I.publicDecrypt=function(J,G){return I.privateDecrypt(J,G,!0)}}),Af=u0((I)=>{var J=(yU(),j$(H4));if(typeof J.publicEncrypt!=="function")J=IF();if(I.publicEncrypt=J.publicEncrypt,I.privateDecrypt=J.privateDecrypt,typeof J.privateEncrypt!=="function")I.privateEncrypt=IF().privateEncrypt;else I.privateEncrypt=J.privateEncrypt;if(typeof J.publicDecrypt!=="function")I.publicDecrypt=IF().publicDecrypt;else I.publicDecrypt=J.publicDecrypt}),qf=u0((I)=>{var J=w6(),G=Vz(),K=J.Buffer,X=J.kMaxLength,z=globalThis.crypto||globalThis.msCrypto,O=Math.pow(2,32)-1;function L(P,v){if(typeof P!=="number"||P!==P)throw TypeError("offset must be a number");if(P>O||P<0)throw TypeError("offset must be a uint32");if(P>X||P>v)throw RangeError("offset out of range")}function j(P,v,N){if(typeof P!=="number"||P!==P)throw TypeError("size must be a number");if(P>O||P<0)throw TypeError("size must be a uint32");if(P+v>N||P>X)throw RangeError("buffer too small")}z&&z.getRandomValues,I.randomFill=E,I.randomFillSync=q;function E(P,v,N,y){if(!K.isBuffer(P)&&!(P instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof v==="function")y=v,v=0,N=P.length;else if(typeof N==="function")y=N,N=P.length-v;else if(typeof y!=="function")throw TypeError('"cb" argument must be a function');return L(v,P.length),j(N,v,P.length),_(P,v,N,y)}function _(P,v,N,y){if(!1)var w,b;if(y){G(N,function(u,p){if(u)return y(u);p.copy(P,v),y(null,P)});return}var g=G(N);return g.copy(P,v),P}function q(P,v,N){if(typeof v>"u")v=0;if(!K.isBuffer(P)&&!(P instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(L(v,P.length),N===void 0)N=P.length-v;return j(N,v,P.length),_(P,v,N)}}),Cf=u0((I,J)=>{var G=(yU(),j$(H4));if(typeof G.randomFill==="function"&&typeof G.randomFillSync==="function")I.randomFill=G.randomFill,I.randomFillSync=G.randomFillSync;else J.exports=qf()}),Tf=u0((I)=>{I.randomBytes=I.rng=I.pseudoRandomBytes=I.prng=Vz(),I.createHash=I.Hash=Dz(),I.createHmac=I.Hmac=B_();var J=nx(),G=Object.keys(J),K=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(G);I.getHashes=function(){return K};var X=c_();I.pbkdf2=X.pbkdf2,I.pbkdf2Sync=X.pbkdf2Sync;var z=jw();I.Cipher=z.Cipher,I.createCipher=z.createCipher,I.Cipheriv=z.Cipheriv,I.createCipheriv=z.createCipheriv,I.Decipher=z.Decipher,I.createDecipher=z.createDecipher,I.Decipheriv=z.Decipheriv,I.createDecipheriv=z.createDecipheriv,I.getCiphers=z.getCiphers,I.listCiphers=z.listCiphers;var O=vw();I.DiffieHellmanGroup=O.DiffieHellmanGroup,I.createDiffieHellmanGroup=O.createDiffieHellmanGroup,I.getDiffieHellman=O.getDiffieHellman,I.createDiffieHellman=O.createDiffieHellman,I.DiffieHellman=O.DiffieHellman;var L=Bw();I.createSign=L.createSign,I.Sign=L.Sign,I.createVerify=L.createVerify,I.Verify=L.Verify,I.createECDH=ew();var j=Af();I.publicEncrypt=j.publicEncrypt,I.privateEncrypt=j.privateEncrypt,I.publicDecrypt=j.publicDecrypt,I.privateDecrypt=j.privateDecrypt;var E=Cf();I.randomFill=E.randomFill,I.randomFillSync=E.randomFillSync,I.createCredentials=function(){throw Error(`sorry, createCredentials is not implemented yet
|
|
244
|
+
we accept pull requests
|
|
245
|
+
https://github.com/browserify/crypto-browserify`)},I.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}),h$=dx(Tf(),1),Rf=h$.prng,Pf=h$.pseudoRandomBytes,Ef=h$.rng,_f=h$.randomBytes,Sf=h$.Hash,F4=h$.createHash,jf=h$.Hmac,vf=h$.createHmac,Bf=h$.getHashes,Nf=h$.pbkdf2,kf=h$.pbkdf2Sync,gf=h$.Cipher,xf=h$.createCipher,wf=h$.Cipheriv,ff=h$.createCipheriv,yf=h$.Decipher,uf=h$.createDecipher,bf=h$.Decipheriv,hf=h$.createDecipheriv,cf=h$.getCiphers,pf=h$.listCiphers,mf=h$.DiffieHellmanGroup,lf=h$.createDiffieHellmanGroup,df=h$.getDiffieHellman,nf=h$.createDiffieHellman,of=h$.DiffieHellman,rf=h$.createSign,tf=h$.Sign,af=h$.createVerify,sf=h$.Verify,ef=h$.createECDH,$y=h$.publicEncrypt,Uy=h$.privateEncrypt,Iy=h$.publicDecrypt,Xy=h$.privateDecrypt,Jy=h$.randomFill,Qy=h$.randomFillSync,Yy=h$.createCredentials,Gy=h$.constants,zy=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];Vy=crypto,Dy=crypto});var zB={};g6(zB,{resolveObject:()=>ZB,resolve:()=>OB,parse:()=>ZY,format:()=>GB,default:()=>tc,Url:()=>q4,URLSearchParams:()=>QB,URL:()=>h7});function c7(I){return typeof I==="string"}function YB(I){return typeof I==="object"&&I!==null}function UV(I){return I===null}function cc(I){return I==null}function q4(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function ZY(I,J,G){if(I&&YB(I)&&I instanceof q4)return I;var K=new q4;return K.parse(I,J,G),K}function GB(I){if(c7(I))I=ZY(I);if(!(I instanceof q4))return q4.prototype.format.call(I);return I.format()}function OB(I,J){return ZY(I,!1,!0).resolve(J)}function ZB(I,J){if(!I)return J;return ZY(I,!1,!0).resolveObject(J)}var h7,QB,pc,mc,lc,dc,nc,y7,IB,XB,oc=255,JB,ic,rc,u7,OY,b7,tc;var KB=HQ(()=>{({URL:h7,URLSearchParams:QB}=globalThis);pc=/^([a-z0-9.+-]+:)/i,mc=/:[0-9]*$/,lc=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,dc=["<",">",'"',"`"," ","\r",`
|
|
246
|
+
`,"\t"],nc=["{","}","|","\\","^","`"].concat(dc),y7=["'"].concat(nc),IB=["%","/","?",";","#"].concat(y7),XB=["/","?","#"],JB=/^[+a-z0-9A-Z_-]{0,63}$/,ic=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,rc={javascript:!0,"javascript:":!0},u7={javascript:!0,"javascript:":!0},OY={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b7={parse(I){var J=decodeURIComponent;return(I+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(G,K,X){var z=K.split("="),O=J(z[0]||""),L=J(z[1]||""),j=G[O];return G[O]=j===void 0?L:[].concat(j,L),G},{})},stringify(I){var J=encodeURIComponent;return Object.keys(I||{}).reduce(function(G,K){return[].concat(I[K]).forEach(function(X){G.push(J(K)+"="+J(X))}),G},[]).join("&").replace(/\s/g,"+")}};q4.prototype.parse=function(I,J,G){if(!c7(I))throw TypeError("Parameter 'url' must be a string, not "+typeof I);var K=I.indexOf("?"),X=K!==-1&&K<I.indexOf("#")?"?":"#",z=I.split(X),O=/\\/g;z[0]=z[0].replace(O,"/"),I=z.join(X);var L=I;if(L=L.trim(),!G&&I.split("#").length===1){var j=lc.exec(L);if(j){if(this.path=L,this.href=L,this.pathname=j[1],j[2])if(this.search=j[2],J)this.query=b7.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(J)this.search="",this.query={};return this}}var E=pc.exec(L);if(E){E=E[0];var _=E.toLowerCase();this.protocol=_,L=L.substr(E.length)}if(G||E||L.match(/^\/\/[^@\/]+@[^@\/]+/)){var q=L.substr(0,2)==="//";if(q&&!(E&&u7[E]))L=L.substr(2),this.slashes=!0}if(!u7[E]&&(q||E&&!OY[E])){var P=-1;for(var v=0;v<XB.length;v++){var N=L.indexOf(XB[v]);if(N!==-1&&(P===-1||N<P))P=N}var y,w;if(P===-1)w=L.lastIndexOf("@");else w=L.lastIndexOf("@",P);if(w!==-1)y=L.slice(0,w),L=L.slice(w+1),this.auth=decodeURIComponent(y);P=-1;for(var v=0;v<IB.length;v++){var N=L.indexOf(IB[v]);if(N!==-1&&(P===-1||N<P))P=N}if(P===-1)P=L.length;this.host=L.slice(0,P),L=L.slice(P),this.parseHost(),this.hostname=this.hostname||"";var b=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!b){var g=this.hostname.split(/\./);for(var v=0,u=g.length;v<u;v++){var p=g[v];if(!p)continue;if(!p.match(JB)){var d="";for(var a=0,F0=p.length;a<F0;a++)if(p.charCodeAt(a)>127)d+="x";else d+=p[a];if(!d.match(JB)){var L0=g.slice(0,v),E0=g.slice(v+1),t=p.match(ic);if(t)L0.push(t[1]),E0.unshift(t[2]);if(E0.length)L="/"+E0.join(".")+L;this.hostname=L0.join(".");break}}}}if(this.hostname.length>oc)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!b)this.hostname=new h7(`https://${this.hostname}`).hostname;var C0=this.port?":"+this.port:"",Y=this.hostname||"";if(this.host=Y+C0,this.href+=this.host,b){if(this.hostname=this.hostname.substr(1,this.hostname.length-2),L[0]!=="/")L="/"+L}}if(!rc[_])for(var v=0,u=y7.length;v<u;v++){var D=y7[v];if(L.indexOf(D)===-1)continue;var H=encodeURIComponent(D);if(H===D)H=escape(D);L=L.split(D).join(H)}var V=L.indexOf("#");if(V!==-1)this.hash=L.substr(V),L=L.slice(0,V);var F=L.indexOf("?");if(F!==-1){if(this.search=L.substr(F),this.query=L.substr(F+1),J)this.query=b7.parse(this.query);L=L.slice(0,F)}else if(J)this.search="",this.query={};if(L)this.pathname=L;if(OY[_]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var C0=this.pathname||"",T=this.search||"";this.path=C0+T}return this.href=this.format(),this};q4.prototype.format=function(){var I=this.auth||"";if(I)I=encodeURIComponent(I),I=I.replace(/%3A/i,":"),I+="@";var J=this.protocol||"",G=this.pathname||"",K=this.hash||"",X=!1,z="";if(this.host)X=I+this.host;else if(this.hostname){if(X=I+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port)X+=":"+this.port}if(this.query&&YB(this.query)&&Object.keys(this.query).length)z=b7.stringify(this.query);var O=this.search||z&&"?"+z||"";if(J&&J.substr(-1)!==":")J+=":";if(this.slashes||(!J||OY[J])&&X!==!1){if(X="//"+(X||""),G&&G.charAt(0)!=="/")G="/"+G}else if(!X)X="";if(K&&K.charAt(0)!=="#")K="#"+K;if(O&&O.charAt(0)!=="?")O="?"+O;return G=G.replace(/[?#]/g,function(L){return encodeURIComponent(L)}),O=O.replace("#","%23"),J+X+G+O+K};q4.prototype.resolve=function(I){return this.resolveObject(ZY(I,!1,!0)).format()};q4.prototype.resolveObject=function(I){if(c7(I)){var J=new q4;J.parse(I,!1,!0),I=J}var G=new q4,K=Object.keys(this);for(var X=0;X<K.length;X++){var z=K[X];G[z]=this[z]}if(G.hash=I.hash,I.href==="")return G.href=G.format(),G;if(I.slashes&&!I.protocol){var O=Object.keys(I);for(var L=0;L<O.length;L++){var j=O[L];if(j!=="protocol")G[j]=I[j]}if(OY[G.protocol]&&G.hostname&&!G.pathname)G.path=G.pathname="/";return G.href=G.format(),G}if(I.protocol&&I.protocol!==G.protocol){if(!OY[I.protocol]){var E=Object.keys(I);for(var _=0;_<E.length;_++){var q=E[_];G[q]=I[q]}return G.href=G.format(),G}if(G.protocol=I.protocol,!I.host&&!u7[I.protocol]){var u=(I.pathname||"").split("/");while(u.length&&!(I.host=u.shift()));if(!I.host)I.host="";if(!I.hostname)I.hostname="";if(u[0]!=="")u.unshift("");if(u.length<2)u.unshift("");G.pathname=u.join("/")}else G.pathname=I.pathname;if(G.search=I.search,G.query=I.query,G.host=I.host||"",G.auth=I.auth,G.hostname=I.hostname||I.host,G.port=I.port,G.pathname||G.search){var P=G.pathname||"",v=G.search||"";G.path=P+v}return G.slashes=G.slashes||I.slashes,G.href=G.format(),G}var N=G.pathname&&G.pathname.charAt(0)==="/",y=I.host||I.pathname&&I.pathname.charAt(0)==="/",w=y||N||G.host&&I.pathname,b=w,g=G.pathname&&G.pathname.split("/")||[],u=I.pathname&&I.pathname.split("/")||[],p=G.protocol&&!OY[G.protocol];if(p){if(G.hostname="",G.port=null,G.host)if(g[0]==="")g[0]=G.host;else g.unshift(G.host);if(G.host="",I.protocol){if(I.hostname=null,I.port=null,I.host)if(u[0]==="")u[0]=I.host;else u.unshift(I.host);I.host=null}w=w&&(u[0]===""||g[0]==="")}if(y)G.host=I.host||I.host===""?I.host:G.host,G.hostname=I.hostname||I.hostname===""?I.hostname:G.hostname,G.search=I.search,G.query=I.query,g=u;else if(u.length){if(!g)g=[];g.pop(),g=g.concat(u),G.search=I.search,G.query=I.query}else if(!cc(I.search)){if(p){G.hostname=G.host=g.shift();var d=G.host&&G.host.indexOf("@")>0?G.host.split("@"):!1;if(d)G.auth=d.shift(),G.host=G.hostname=d.shift()}if(G.search=I.search,G.query=I.query,!UV(G.pathname)||!UV(G.search))G.path=(G.pathname?G.pathname:"")+(G.search?G.search:"");return G.href=G.format(),G}if(!g.length){if(G.pathname=null,G.search)G.path="/"+G.search;else G.path=null;return G.href=G.format(),G}var a=g.slice(-1)[0],F0=(G.host||I.host||g.length>1)&&(a==="."||a==="..")||a==="",L0=0;for(var E0=g.length;E0>=0;E0--)if(a=g[E0],a===".")g.splice(E0,1);else if(a==="..")g.splice(E0,1),L0++;else if(L0)g.splice(E0,1),L0--;if(!w&&!b)for(;L0--;L0)g.unshift("..");if(w&&g[0]!==""&&(!g[0]||g[0].charAt(0)!=="/"))g.unshift("");if(F0&&g.join("/").substr(-1)!=="/")g.push("");var t=g[0]===""||g[0]&&g[0].charAt(0)==="/";if(p){G.hostname=G.host=t?"":g.length?g.shift():"";var d=G.host&&G.host.indexOf("@")>0?G.host.split("@"):!1;if(d)G.auth=d.shift(),G.host=G.hostname=d.shift()}if(w=w||G.host&&g.length,w&&!t)g.unshift("");if(!g.length)G.pathname=null,G.path=null;else G.pathname=g.join("/");if(!UV(G.pathname)||!UV(G.search))G.path=(G.pathname?G.pathname:"")+(G.search?G.search:"");return G.auth=I.auth||G.auth,G.slashes=G.slashes||I.slashes,G.href=G.format(),G};q4.prototype.parseHost=function(){var I=this.host,J=mc.exec(I);if(J){if(J=J[0],J!==":")this.port=J.substr(1);I=I.substr(0,I.length-J.length)}if(I)this.hostname=I};tc={parse:ZY,resolve:OB,resolveObject:ZB,format:GB,Url:q4,URL:h7,URLSearchParams:QB}});var PB={};g6(PB,{request:()=>Wp,globalAgent:()=>Ap,get:()=>Fp,default:()=>RB,STATUS_CODES:()=>qp,METHODS:()=>Cp,IncomingMessage:()=>Lp,ClientRequest:()=>Hp,Agent:()=>Mp});var ac,sc,VB,ec,$p,Up=(I,J,G)=>{G=I!=null?ac(sc(I)):{};let K=J||!I||!I.__esModule?VB(G,"default",{value:I,enumerable:!0}):G;for(let X of ec(I))if(!$p.call(K,X))VB(K,X,{get:()=>I[X],enumerable:!0});return K},vU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),WB,Ip,FJ,Xp,FB,HJ,HB,Jp,LB,zY,Qp,DB,p7,Yp,Gp,MB,AB,Op,Zp,qB,CB,zp,Kp,Vp,Dp,TB,Wp,Fp,Hp,Lp,Mp,Ap,qp,Cp,RB;var m7=HQ(()=>{ac=Object.create,{getPrototypeOf:sc,defineProperty:VB,getOwnPropertyNames:ec}=Object,$p=Object.prototype.hasOwnProperty,WB=vU((I)=>{I.fetch=X(globalThis.fetch)&&X(globalThis.ReadableStream),I.writableStream=X(globalThis.WritableStream),I.abortController=X(globalThis.AbortController);var J;function G(){if(J!==void 0)return J;if(globalThis.XMLHttpRequest){J=new globalThis.XMLHttpRequest;try{J.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(z){J=null}}else J=null;return J}function K(z){var O=G();if(!O)return!1;try{return O.responseType=z,O.responseType===z}catch(L){}return!1}I.arraybuffer=I.fetch||K("arraybuffer"),I.msstream=!I.fetch&&K("ms-stream"),I.mozchunkedarraybuffer=!I.fetch&&K("moz-chunked-arraybuffer"),I.overrideMimeType=I.fetch||(G()?X(G().overrideMimeType):!1);function X(z){return typeof z==="function"}J=null}),Ip=vU((I,J)=>{if(typeof Object.create==="function")J.exports=function(G,K){if(K)G.super_=K,G.prototype=Object.create(K.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(G,K){if(K){G.super_=K;var X=function(){};X.prototype=K.prototype,G.prototype=new X,G.prototype.constructor=G}}}),FJ=vU((I,J)=>{try{if(G=(TQ(),j$(CQ)),typeof G.inherits!=="function")throw"";J.exports=G.inherits}catch(K){J.exports=Ip()}var G}),Xp=vU((I,J)=>{function G(w,b){var g=Object.keys(w);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(w);b&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(w,p).enumerable})),g.push.apply(g,u)}return g}function K(w){for(var b=1;b<arguments.length;b++){var g=arguments[b]!=null?arguments[b]:{};b%2?G(Object(g),!0).forEach(function(u){X(w,u,g[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(g)):G(Object(g)).forEach(function(u){Object.defineProperty(w,u,Object.getOwnPropertyDescriptor(g,u))})}return w}function X(w,b,g){if(b=j(b),b in w)Object.defineProperty(w,b,{value:g,enumerable:!0,configurable:!0,writable:!0});else w[b]=g;return w}function z(w,b){if(!(w instanceof b))throw TypeError("Cannot call a class as a function")}function O(w,b){for(var g=0;g<b.length;g++){var u=b[g];if(u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u)u.writable=!0;Object.defineProperty(w,j(u.key),u)}}function L(w,b,g){if(b)O(w.prototype,b);if(g)O(w,g);return Object.defineProperty(w,"prototype",{writable:!1}),w}function j(w){var b=E(w,"string");return typeof b==="symbol"?b:String(b)}function E(w,b){if(typeof w!=="object"||w===null)return w;var g=w[Symbol.toPrimitive];if(g!==void 0){var u=g.call(w,b||"default");if(typeof u!=="object")return u;throw TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(w)}var _=(oU(),j$(nU)),q=_.Buffer,P=(TQ(),j$(CQ)),v=P.inspect,N=v&&v.custom||"inspect";function y(w,b,g){q.prototype.copy.call(w,b,g)}J.exports=function(){function w(){z(this,w),this.head=null,this.tail=null,this.length=0}return L(w,[{key:"push",value:function(b){var g={data:b,next:null};if(this.length>0)this.tail.next=g;else this.head=g;this.tail=g,++this.length}},{key:"unshift",value:function(b){var g={data:b,next:this.head};if(this.length===0)this.tail=g;this.head=g,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var b=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,b}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(b){if(this.length===0)return"";var g=this.head,u=""+g.data;while(g=g.next)u+=b+g.data;return u}},{key:"concat",value:function(b){if(this.length===0)return q.alloc(0);var g=q.allocUnsafe(b>>>0),u=this.head,p=0;while(u)y(u.data,g,p),p+=u.data.length,u=u.next;return g}},{key:"consume",value:function(b,g){var u;if(b<this.head.data.length)u=this.head.data.slice(0,b),this.head.data=this.head.data.slice(b);else if(b===this.head.data.length)u=this.shift();else u=g?this._getString(b):this._getBuffer(b);return u}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(b){var g=this.head,u=1,p=g.data;b-=p.length;while(g=g.next){var d=g.data,a=b>d.length?d.length:b;if(a===d.length)p+=d;else p+=d.slice(0,b);if(b-=a,b===0){if(a===d.length)if(++u,g.next)this.head=g.next;else this.head=this.tail=null;else this.head=g,g.data=d.slice(a);break}++u}return this.length-=u,p}},{key:"_getBuffer",value:function(b){var g=q.allocUnsafe(b),u=this.head,p=1;u.data.copy(g),b-=u.data.length;while(u=u.next){var d=u.data,a=b>d.length?d.length:b;if(d.copy(g,g.length-b,0,a),b-=a,b===0){if(a===d.length)if(++p,u.next)this.head=u.next;else this.head=this.tail=null;else this.head=u,u.data=d.slice(a);break}++p}return this.length-=p,g}},{key:N,value:function(b,g){return v(this,K(K({},g),{},{depth:0,customInspect:!1}))}}]),w}()}),FB=vU((I,J)=>{function G(j,E){var _=this,q=this._readableState&&this._readableState.destroyed,P=this._writableState&&this._writableState.destroyed;if(q||P){if(E)E(j);else if(j){if(!this._writableState)process.nextTick(O,this,j);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(O,this,j)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(j||null,function(v){if(!E&&v)if(!_._writableState)process.nextTick(K,_,v);else if(!_._writableState.errorEmitted)_._writableState.errorEmitted=!0,process.nextTick(K,_,v);else process.nextTick(X,_);else if(E)process.nextTick(X,_),E(v);else process.nextTick(X,_)}),this}function K(j,E){O(j,E),X(j)}function X(j){if(j._writableState&&!j._writableState.emitClose)return;if(j._readableState&&!j._readableState.emitClose)return;j.emit("close")}function z(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function O(j,E){j.emit("error",E)}function L(j,E){var{_readableState:_,_writableState:q}=j;if(_&&_.autoDestroy||q&&q.autoDestroy)j.destroy(E);else j.emit("error",E)}J.exports={destroy:G,undestroy:z,errorOrDestroy:L}}),HJ=vU((I,J)=>{var G={};function K(j,E,_){if(!_)_=Error;function q(v,N,y){if(typeof E==="string")return E;else return E(v,N,y)}class P extends _{constructor(v,N,y){super(q(v,N,y))}}P.prototype.name=_.name,P.prototype.code=j,G[j]=P}function X(j,E){if(Array.isArray(j)){let _=j.length;if(j=j.map((q)=>String(q)),_>2)return`one of ${E} ${j.slice(0,_-1).join(", ")}, or `+j[_-1];else if(_===2)return`one of ${E} ${j[0]} or ${j[1]}`;else return`of ${E} ${j[0]}`}else return`of ${E} ${String(j)}`}function z(j,E,_){return j.substr(!_||_<0?0:+_,E.length)===E}function O(j,E,_){if(_===void 0||_>j.length)_=j.length;return j.substring(_-E.length,_)===E}function L(j,E,_){if(typeof _!=="number")_=0;if(_+E.length>j.length)return!1;else return j.indexOf(E,_)!==-1}K("ERR_INVALID_OPT_VALUE",function(j,E){return'The value "'+E+'" is invalid for option "'+j+'"'},TypeError),K("ERR_INVALID_ARG_TYPE",function(j,E,_){let q;if(typeof E==="string"&&z(E,"not "))q="must not be",E=E.replace(/^not /,"");else q="must be";let P;if(O(j," argument"))P=`The ${j} ${q} ${X(E,"type")}`;else{let v=L(j,".")?"property":"argument";P=`The "${j}" ${v} ${q} ${X(E,"type")}`}return P+=`. Received type ${typeof _}`,P},TypeError),K("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),K("ERR_METHOD_NOT_IMPLEMENTED",function(j){return"The "+j+" method is not implemented"}),K("ERR_STREAM_PREMATURE_CLOSE","Premature close"),K("ERR_STREAM_DESTROYED",function(j){return"Cannot call "+j+" after a stream was destroyed"}),K("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),K("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),K("ERR_STREAM_WRITE_AFTER_END","write after end"),K("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),K("ERR_UNKNOWN_ENCODING",function(j){return"Unknown encoding: "+j},TypeError),K("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),I.codes=G}),HB=vU((I,J)=>{var G=HJ().codes.ERR_INVALID_OPT_VALUE;function K(z,O,L){return z.highWaterMark!=null?z.highWaterMark:O?z[L]:null}function X(z,O,L,j){var E=K(O,j,L);if(E!=null){if(!(isFinite(E)&&Math.floor(E)===E)||E<0){var _=j?L:"highWaterMark";throw new G(_,E)}return Math.floor(E)}return z.objectMode?16:16384}J.exports={getHighWaterMark:X}}),Jp=vU((I,J)=>{J.exports=(TQ(),j$(CQ)).deprecate}),LB=vU((I,J)=>{J.exports=t;function G(Q0){var s=this;this.next=null,this.entry=null,this.finish=function(){z0(s,Q0)}}var K;t.WritableState=L0;var X={deprecate:Jp()},z=SQ(),O=(oU(),j$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j(Q0){return O.from(Q0)}function E(Q0){return O.isBuffer(Q0)||Q0 instanceof L}var _=FB(),q=HB(),P=q.getHighWaterMark,v=HJ().codes,N=v.ERR_INVALID_ARG_TYPE,y=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_MULTIPLE_CALLBACK,b=v.ERR_STREAM_CANNOT_PIPE,g=v.ERR_STREAM_DESTROYED,u=v.ERR_STREAM_NULL_VALUES,p=v.ERR_STREAM_WRITE_AFTER_END,d=v.ERR_UNKNOWN_ENCODING,a=_.errorOrDestroy;FJ()(t,z);function F0(){}function L0(Q0,s,e){if(K=K||zY(),Q0=Q0||{},typeof e!=="boolean")e=s instanceof K;if(this.objectMode=!!Q0.objectMode,e)this.objectMode=this.objectMode||!!Q0.writableObjectMode;this.highWaterMark=P(this,Q0,"writableHighWaterMark",e),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var J0=Q0.decodeStrings===!1;this.decodeStrings=!J0,this.defaultEncoding=Q0.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(O0){S(s,O0)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Q0.emitClose!==!1,this.autoDestroy=!!Q0.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new G(this)}L0.prototype.getBuffer=function(){var Q0=this.bufferedRequest,s=[];while(Q0)s.push(Q0),Q0=Q0.next;return s},function(){try{Object.defineProperty(L0.prototype,"buffer",{get:X.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Q0){}}();var E0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")E0=Function.prototype[Symbol.hasInstance],Object.defineProperty(t,Symbol.hasInstance,{value:function(Q0){if(E0.call(this,Q0))return!0;if(this!==t)return!1;return Q0&&Q0._writableState instanceof L0}});else E0=function(Q0){return Q0 instanceof this};function t(Q0){K=K||zY();var s=this instanceof K;if(!s&&!E0.call(t,this))return new t(Q0);if(this._writableState=new L0(Q0,this,s),this.writable=!0,Q0){if(typeof Q0.write==="function")this._write=Q0.write;if(typeof Q0.writev==="function")this._writev=Q0.writev;if(typeof Q0.destroy==="function")this._destroy=Q0.destroy;if(typeof Q0.final==="function")this._final=Q0.final}z.call(this)}t.prototype.pipe=function(){a(this,new b)};function C0(Q0,s){var e=new p;a(Q0,e),process.nextTick(s,e)}function Y(Q0,s,e,J0){var O0;if(e===null)O0=new u;else if(typeof e!=="string"&&!s.objectMode)O0=new N("chunk",["string","Buffer"],e);if(O0)return a(Q0,O0),process.nextTick(J0,O0),!1;return!0}t.prototype.write=function(Q0,s,e){var J0=this._writableState,O0=!1,A0=!J0.objectMode&&E(Q0);if(A0&&!O.isBuffer(Q0))Q0=j(Q0);if(typeof s==="function")e=s,s=null;if(A0)s="buffer";else if(!s)s=J0.defaultEncoding;if(typeof e!=="function")e=F0;if(J0.ending)C0(this,e);else if(A0||Y(this,J0,Q0,e))J0.pendingcb++,O0=H(this,J0,A0,Q0,s,e);return O0},t.prototype.cork=function(){this._writableState.corked++},t.prototype.uncork=function(){var Q0=this._writableState;if(Q0.corked){if(Q0.corked--,!Q0.writing&&!Q0.corked&&!Q0.bufferProcessing&&Q0.bufferedRequest)C(this,Q0)}},t.prototype.setDefaultEncoding=function(Q0){if(typeof Q0==="string")Q0=Q0.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Q0+"").toLowerCase())>-1))throw new d(Q0);return this._writableState.defaultEncoding=Q0,this},Object.defineProperty(t.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function D(Q0,s,e){if(!Q0.objectMode&&Q0.decodeStrings!==!1&&typeof s==="string")s=O.from(s,e);return s}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function H(Q0,s,e,J0,O0,A0){if(!e){var $0=D(s,J0,O0);if(J0!==$0)e=!0,O0="buffer",J0=$0}var c=s.objectMode?1:J0.length;s.length+=c;var n=s.length<s.highWaterMark;if(!n)s.needDrain=!0;if(s.writing||s.corked){var H0=s.lastBufferedRequest;if(s.lastBufferedRequest={chunk:J0,encoding:O0,isBuf:e,callback:A0,next:null},H0)H0.next=s.lastBufferedRequest;else s.bufferedRequest=s.lastBufferedRequest;s.bufferedRequestCount+=1}else V(Q0,s,!1,c,J0,O0,A0);return n}function V(Q0,s,e,J0,O0,A0,$0){if(s.writelen=J0,s.writecb=$0,s.writing=!0,s.sync=!0,s.destroyed)s.onwrite(new g("write"));else if(e)Q0._writev(O0,s.onwrite);else Q0._write(O0,A0,s.onwrite);s.sync=!1}function F(Q0,s,e,J0,O0){if(--s.pendingcb,e)process.nextTick(O0,J0),process.nextTick(r,Q0,s),Q0._writableState.errorEmitted=!0,a(Q0,J0);else O0(J0),Q0._writableState.errorEmitted=!0,a(Q0,J0),r(Q0,s)}function T(Q0){Q0.writing=!1,Q0.writecb=null,Q0.length-=Q0.writelen,Q0.writelen=0}function S(Q0,s){var e=Q0._writableState,J0=e.sync,O0=e.writecb;if(typeof O0!=="function")throw new w;if(T(e),s)F(Q0,e,J0,s,O0);else{var A0=x(e)||Q0.destroyed;if(!A0&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)C(Q0,e);if(J0)process.nextTick(A,Q0,e,A0,O0);else A(Q0,e,A0,O0)}}function A(Q0,s,e,J0){if(!e)Z(Q0,s);s.pendingcb--,J0(),r(Q0,s)}function Z(Q0,s){if(s.length===0&&s.needDrain)s.needDrain=!1,Q0.emit("drain")}function C(Q0,s){s.bufferProcessing=!0;var e=s.bufferedRequest;if(Q0._writev&&e&&e.next){var J0=s.bufferedRequestCount,O0=Array(J0),A0=s.corkedRequestsFree;A0.entry=e;var $0=0,c=!0;while(e){if(O0[$0]=e,!e.isBuf)c=!1;e=e.next,$0+=1}if(O0.allBuffers=c,V(Q0,s,!0,s.length,O0,"",A0.finish),s.pendingcb++,s.lastBufferedRequest=null,A0.next)s.corkedRequestsFree=A0.next,A0.next=null;else s.corkedRequestsFree=new G(s);s.bufferedRequestCount=0}else{while(e){var{chunk:n,encoding:H0,callback:Y0}=e,V0=s.objectMode?1:n.length;if(V(Q0,s,!1,V0,n,H0,Y0),e=e.next,s.bufferedRequestCount--,s.writing)break}if(e===null)s.lastBufferedRequest=null}s.bufferedRequest=e,s.bufferProcessing=!1}t.prototype._write=function(Q0,s,e){e(new y("_write()"))},t.prototype._writev=null,t.prototype.end=function(Q0,s,e){var J0=this._writableState;if(typeof Q0==="function")e=Q0,Q0=null,s=null;else if(typeof s==="function")e=s,s=null;if(Q0!==null&&Q0!==void 0)this.write(Q0,s);if(J0.corked)J0.corked=1,this.uncork();if(!J0.ending)U0(this,J0,e);return this},Object.defineProperty(t.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function x(Q0){return Q0.ending&&Q0.length===0&&Q0.bufferedRequest===null&&!Q0.finished&&!Q0.writing}function B(Q0,s){Q0._final(function(e){if(s.pendingcb--,e)a(Q0,e);s.prefinished=!0,Q0.emit("prefinish"),r(Q0,s)})}function h(Q0,s){if(!s.prefinished&&!s.finalCalled)if(typeof Q0._final==="function"&&!s.destroyed)s.pendingcb++,s.finalCalled=!0,process.nextTick(B,Q0,s);else s.prefinished=!0,Q0.emit("prefinish")}function r(Q0,s){var e=x(s);if(e){if(h(Q0,s),s.pendingcb===0){if(s.finished=!0,Q0.emit("finish"),s.autoDestroy){var J0=Q0._readableState;if(!J0||J0.autoDestroy&&J0.endEmitted)Q0.destroy()}}}return e}function U0(Q0,s,e){if(s.ending=!0,r(Q0,s),e)if(s.finished)process.nextTick(e);else Q0.once("finish",e);s.ended=!0,Q0.writable=!1}function z0(Q0,s,e){var J0=Q0.entry;Q0.entry=null;while(J0){var O0=J0.callback;s.pendingcb--,O0(e),J0=J0.next}s.corkedRequestsFree.next=Q0}Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(Q0){if(!this._writableState)return;this._writableState.destroyed=Q0}}),t.prototype.destroy=_.destroy,t.prototype._undestroy=_.undestroy,t.prototype._destroy=function(Q0,s){s(Q0)}}),zY=vU((I,J)=>{var G=Object.keys||function(q){var P=[];for(var v in q)P.push(v);return P};J.exports=j;var K=MB(),X=LB();FJ()(j,K);{z=G(X.prototype);for(L=0;L<z.length;L++)if(O=z[L],!j.prototype[O])j.prototype[O]=X.prototype[O]}var z,O,L;function j(q){if(!(this instanceof j))return new j(q);if(K.call(this,q),X.call(this,q),this.allowHalfOpen=!0,q){if(q.readable===!1)this.readable=!1;if(q.writable===!1)this.writable=!1;if(q.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",E)}}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function E(){if(this._writableState.ended)return;process.nextTick(_,this)}function _(q){q.end()}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(q){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=q,this._writableState.destroyed=q}})}),Qp=vU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var G=(oU(),j$(nU)),K=G.Buffer;function X(O,L){for(var j in O)L[j]=O[j]}if(K.from&&K.alloc&&K.allocUnsafe&&K.allocUnsafeSlow)J.exports=G;else X(G,I),I.Buffer=z;function z(O,L,j){return K(O,L,j)}z.prototype=Object.create(K.prototype),X(K,z),z.from=function(O,L,j){if(typeof O==="number")throw TypeError("Argument must not be a number");return K(O,L,j)},z.alloc=function(O,L,j){if(typeof O!=="number")throw TypeError("Argument must be a number");var E=K(O);if(L!==void 0)if(typeof j==="string")E.fill(L,j);else E.fill(L);else E.fill(0);return E},z.allocUnsafe=function(O){if(typeof O!=="number")throw TypeError("Argument must be a number");return K(O)},z.allocUnsafeSlow=function(O){if(typeof O!=="number")throw TypeError("Argument must be a number");return G.SlowBuffer(O)}}),DB=vU((I)=>{var J=Qp().Buffer,G=J.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function K(g){if(!g)return"utf8";var u;while(!0)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(u)return;g=(""+g).toLowerCase(),u=!0}}function X(g){var u=K(g);if(typeof u!=="string"&&(J.isEncoding===G||!G(g)))throw Error("Unknown encoding: "+g);return u||g}I.StringDecoder=z;function z(g){this.encoding=X(g);var u;switch(this.encoding){case"utf16le":this.text=P,this.end=v,u=4;break;case"utf8":this.fillLast=E,u=4;break;case"base64":this.text=N,this.end=y,u=3;break;default:this.write=w,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(u)}z.prototype.write=function(g){if(g.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(g),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<g.length)return u?u+this.text(g,p):this.text(g,p);return u||""},z.prototype.end=q,z.prototype.text=_,z.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function O(g){if(g<=127)return 0;else if(g>>5===6)return 2;else if(g>>4===14)return 3;else if(g>>3===30)return 4;return g>>6===2?-1:-2}function L(g,u,p){var d=u.length-1;if(d<p)return 0;var a=O(u[d]);if(a>=0){if(a>0)g.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=O(u[d]),a>=0){if(a>0)g.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=O(u[d]),a>=0){if(a>0)if(a===2)a=0;else g.lastNeed=a-3;return a}return 0}function j(g,u,p){if((u[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return g.lastNeed=2,"�"}}}function E(g){var u=this.lastTotal-this.lastNeed,p=j(this,g,u);if(p!==void 0)return p;if(this.lastNeed<=g.length)return g.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,u,0,g.length),this.lastNeed-=g.length}function _(g,u){var p=L(this,g,u);if(!this.lastNeed)return g.toString("utf8",u);this.lastTotal=p;var d=g.length-(p-this.lastNeed);return g.copy(this.lastChar,0,d),g.toString("utf8",u,d)}function q(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+"�";return u}function P(g,u){if((g.length-u)%2===0){var p=g.toString("utf16le",u);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",u,g.length-1)}function v(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function N(g,u){var p=(g.length-u)%3;if(p===0)return g.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=g[g.length-1];else this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1];return g.toString("base64",u,g.length-p)}function y(g){var u=g&&g.length?this.write(g):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(g){return g.toString(this.encoding)}function b(g){return g&&g.length?this.write(g):""}}),p7=vU((I,J)=>{var G=HJ().codes.ERR_STREAM_PREMATURE_CLOSE;function K(L){var j=!1;return function(){if(j)return;j=!0;for(var E=arguments.length,_=Array(E),q=0;q<E;q++)_[q]=arguments[q];L.apply(this,_)}}function X(){}function z(L){return L.setHeader&&typeof L.abort==="function"}function O(L,j,E){if(typeof j==="function")return O(L,null,j);if(!j)j={};E=K(E||X);var _=j.readable||j.readable!==!1&&L.readable,q=j.writable||j.writable!==!1&&L.writable,P=function(){if(!L.writable)N()},v=L._writableState&&L._writableState.finished,N=function(){if(q=!1,v=!0,!_)E.call(L)},y=L._readableState&&L._readableState.endEmitted,w=function(){if(_=!1,y=!0,!q)E.call(L)},b=function(p){E.call(L,p)},g=function(){var p;if(_&&!y){if(!L._readableState||!L._readableState.ended)p=new G;return E.call(L,p)}if(q&&!v){if(!L._writableState||!L._writableState.ended)p=new G;return E.call(L,p)}},u=function(){L.req.on("finish",N)};if(z(L))if(L.on("complete",N),L.on("abort",g),L.req)u();else L.on("request",u);else if(q&&!L._writableState)L.on("end",P),L.on("close",P);if(L.on("end",w),L.on("finish",N),j.error!==!1)L.on("error",b);return L.on("close",g),function(){if(L.removeListener("complete",N),L.removeListener("abort",g),L.removeListener("request",u),L.req)L.req.removeListener("finish",N);L.removeListener("end",P),L.removeListener("close",P),L.removeListener("finish",N),L.removeListener("end",w),L.removeListener("error",b),L.removeListener("close",g)}}J.exports=O}),Yp=vU((I,J)=>{var G;function K(d,a,F0){if(a=X(a),a in d)Object.defineProperty(d,a,{value:F0,enumerable:!0,configurable:!0,writable:!0});else d[a]=F0;return d}function X(d){var a=z(d,"string");return typeof a==="symbol"?a:String(a)}function z(d,a){if(typeof d!=="object"||d===null)return d;var F0=d[Symbol.toPrimitive];if(F0!==void 0){var L0=F0.call(d,a||"default");if(typeof L0!=="object")return L0;throw TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(d)}var O=p7(),L=Symbol("lastResolve"),j=Symbol("lastReject"),E=Symbol("error"),_=Symbol("ended"),q=Symbol("lastPromise"),P=Symbol("handlePromise"),v=Symbol("stream");function N(d,a){return{value:d,done:a}}function y(d){var a=d[L];if(a!==null){var F0=d[v].read();if(F0!==null)d[q]=null,d[L]=null,d[j]=null,a(N(F0,!1))}}function w(d){process.nextTick(y,d)}function b(d,a){return function(F0,L0){d.then(function(){if(a[_]){F0(N(void 0,!0));return}a[P](F0,L0)},L0)}}var g=Object.getPrototypeOf(function(){}),u=Object.setPrototypeOf((G={get stream(){return this[v]},next:function(){var d=this,a=this[E];if(a!==null)return Promise.reject(a);if(this[_])return Promise.resolve(N(void 0,!0));if(this[v].destroyed)return new Promise(function(t,C0){process.nextTick(function(){if(d[E])C0(d[E]);else t(N(void 0,!0))})});var F0=this[q],L0;if(F0)L0=new Promise(b(F0,this));else{var E0=this[v].read();if(E0!==null)return Promise.resolve(N(E0,!1));L0=new Promise(this[P])}return this[q]=L0,L0}},K(G,Symbol.asyncIterator,function(){return this}),K(G,"return",function(){var d=this;return new Promise(function(a,F0){d[v].destroy(null,function(L0){if(L0){F0(L0);return}a(N(void 0,!0))})})}),G),g),p=function(d){var a,F0=Object.create(u,(a={},K(a,v,{value:d,writable:!0}),K(a,L,{value:null,writable:!0}),K(a,j,{value:null,writable:!0}),K(a,E,{value:null,writable:!0}),K(a,_,{value:d._readableState.endEmitted,writable:!0}),K(a,P,{value:function(L0,E0){var t=F0[v].read();if(t)F0[q]=null,F0[L]=null,F0[j]=null,L0(N(t,!1));else F0[L]=L0,F0[j]=E0},writable:!0}),a));return F0[q]=null,O(d,function(L0){if(L0&&L0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var E0=F0[j];if(E0!==null)F0[q]=null,F0[L]=null,F0[j]=null,E0(L0);F0[E]=L0;return}var t=F0[L];if(t!==null)F0[q]=null,F0[L]=null,F0[j]=null,t(N(void 0,!0));F0[_]=!0}),d.on("readable",w.bind(null,F0)),F0};J.exports=p}),Gp=vU((I,J)=>{function G(q,P,v,N,y,w,b){try{var g=q[w](b),u=g.value}catch(p){v(p);return}if(g.done)P(u);else Promise.resolve(u).then(N,y)}function K(q){return function(){var P=this,v=arguments;return new Promise(function(N,y){var w=q.apply(P,v);function b(u){G(w,N,y,b,g,"next",u)}function g(u){G(w,N,y,b,g,"throw",u)}b(void 0)})}}function X(q,P){var v=Object.keys(q);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(q);P&&(N=N.filter(function(y){return Object.getOwnPropertyDescriptor(q,y).enumerable})),v.push.apply(v,N)}return v}function z(q){for(var P=1;P<arguments.length;P++){var v=arguments[P]!=null?arguments[P]:{};P%2?X(Object(v),!0).forEach(function(N){O(q,N,v[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(v)):X(Object(v)).forEach(function(N){Object.defineProperty(q,N,Object.getOwnPropertyDescriptor(v,N))})}return q}function O(q,P,v){if(P=L(P),P in q)Object.defineProperty(q,P,{value:v,enumerable:!0,configurable:!0,writable:!0});else q[P]=v;return q}function L(q){var P=j(q,"string");return typeof P==="symbol"?P:String(P)}function j(q,P){if(typeof q!=="object"||q===null)return q;var v=q[Symbol.toPrimitive];if(v!==void 0){var N=v.call(q,P||"default");if(typeof N!=="object")return N;throw TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(q)}var E=HJ().codes.ERR_INVALID_ARG_TYPE;function _(q,P,v){var N;if(P&&typeof P.next==="function")N=P;else if(P&&P[Symbol.asyncIterator])N=P[Symbol.asyncIterator]();else if(P&&P[Symbol.iterator])N=P[Symbol.iterator]();else throw new E("iterable",["Iterable"],P);var y=new q(z({objectMode:!0},v)),w=!1;y._read=function(){if(!w)w=!0,b()};function b(){return g.apply(this,arguments)}function g(){return g=K(function*(){try{var u=yield N.next(),p=u.value,d=u.done;if(d)y.push(null);else if(y.push(yield p))b();else w=!1}catch(a){y.destroy(a)}}),g.apply(this,arguments)}return y}J.exports=_}),MB=vU((I,J)=>{J.exports=Y;var G;Y.ReadableState=C0;var K=(EQ(),j$(PQ)).EventEmitter,X=function($0,c){return $0.listeners(c).length},z=SQ(),O=(oU(),j$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j($0){return O.from($0)}function E($0){return O.isBuffer($0)||$0 instanceof L}var _=(TQ(),j$(CQ)),q;if(_&&_.debuglog)q=_.debuglog("stream");else q=function(){};var P=Xp(),v=FB(),N=HB(),y=N.getHighWaterMark,w=HJ().codes,b=w.ERR_INVALID_ARG_TYPE,g=w.ERR_STREAM_PUSH_AFTER_EOF,u=w.ERR_METHOD_NOT_IMPLEMENTED,p=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,d,a,F0;FJ()(Y,z);var L0=v.errorOrDestroy,E0=["error","close","destroy","pause","resume"];function t($0,c,n){if(typeof $0.prependListener==="function")return $0.prependListener(c,n);if(!$0._events||!$0._events[c])$0.on(c,n);else if(Array.isArray($0._events[c]))$0._events[c].unshift(n);else $0._events[c]=[n,$0._events[c]]}function C0($0,c,n){if(G=G||zY(),$0=$0||{},typeof n!=="boolean")n=c instanceof G;if(this.objectMode=!!$0.objectMode,n)this.objectMode=this.objectMode||!!$0.readableObjectMode;if(this.highWaterMark=y(this,$0,"readableHighWaterMark",n),this.buffer=new P,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$0.emitClose!==!1,this.autoDestroy=!!$0.autoDestroy,this.destroyed=!1,this.defaultEncoding=$0.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$0.encoding){if(!d)d=DB().StringDecoder;this.decoder=new d($0.encoding),this.encoding=$0.encoding}}function Y($0){if(G=G||zY(),!(this instanceof Y))return new Y($0);var c=this instanceof G;if(this._readableState=new C0($0,this,c),this.readable=!0,$0){if(typeof $0.read==="function")this._read=$0.read;if(typeof $0.destroy==="function")this._destroy=$0.destroy}z.call(this)}Object.defineProperty(Y.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($0){if(!this._readableState)return;this._readableState.destroyed=$0}}),Y.prototype.destroy=v.destroy,Y.prototype._undestroy=v.undestroy,Y.prototype._destroy=function($0,c){c($0)},Y.prototype.push=function($0,c){var n=this._readableState,H0;if(!n.objectMode){if(typeof $0==="string"){if(c=c||n.defaultEncoding,c!==n.encoding)$0=O.from($0,c),c="";H0=!0}}else H0=!0;return D(this,$0,c,!1,H0)},Y.prototype.unshift=function($0){return D(this,$0,null,!0,!1)};function D($0,c,n,H0,Y0){q("readableAddChunk",c);var V0=$0._readableState;if(c===null)V0.reading=!1,A($0,V0);else{var N0;if(!Y0)N0=V(V0,c);if(N0)L0($0,N0);else if(V0.objectMode||c&&c.length>0){if(typeof c!=="string"&&!V0.objectMode&&Object.getPrototypeOf(c)!==O.prototype)c=j(c);if(H0)if(V0.endEmitted)L0($0,new p);else H($0,V0,c,!0);else if(V0.ended)L0($0,new g);else if(V0.destroyed)return!1;else if(V0.reading=!1,V0.decoder&&!n)if(c=V0.decoder.write(c),V0.objectMode||c.length!==0)H($0,V0,c,!1);else x($0,V0);else H($0,V0,c,!1)}else if(!H0)V0.reading=!1,x($0,V0)}return!V0.ended&&(V0.length<V0.highWaterMark||V0.length===0)}function H($0,c,n,H0){if(c.flowing&&c.length===0&&!c.sync)c.awaitDrain=0,$0.emit("data",n);else{if(c.length+=c.objectMode?1:n.length,H0)c.buffer.unshift(n);else c.buffer.push(n);if(c.needReadable)Z($0)}x($0,c)}function V($0,c){var n;if(!E(c)&&typeof c!=="string"&&c!==void 0&&!$0.objectMode)n=new b("chunk",["string","Buffer","Uint8Array"],c);return n}Y.prototype.isPaused=function(){return this._readableState.flowing===!1},Y.prototype.setEncoding=function($0){if(!d)d=DB().StringDecoder;var c=new d($0);this._readableState.decoder=c,this._readableState.encoding=this._readableState.decoder.encoding;var n=this._readableState.buffer.head,H0="";while(n!==null)H0+=c.write(n.data),n=n.next;if(this._readableState.buffer.clear(),H0!=="")this._readableState.buffer.push(H0);return this._readableState.length=H0.length,this};var F=1073741824;function T($0){if($0>=F)$0=F;else $0--,$0|=$0>>>1,$0|=$0>>>2,$0|=$0>>>4,$0|=$0>>>8,$0|=$0>>>16,$0++;return $0}function S($0,c){if($0<=0||c.length===0&&c.ended)return 0;if(c.objectMode)return 1;if($0!==$0)if(c.flowing&&c.length)return c.buffer.head.data.length;else return c.length;if($0>c.highWaterMark)c.highWaterMark=T($0);if($0<=c.length)return $0;if(!c.ended)return c.needReadable=!0,0;return c.length}Y.prototype.read=function($0){q("read",$0),$0=parseInt($0,10);var c=this._readableState,n=$0;if($0!==0)c.emittedReadable=!1;if($0===0&&c.needReadable&&((c.highWaterMark!==0?c.length>=c.highWaterMark:c.length>0)||c.ended)){if(q("read: emitReadable",c.length,c.ended),c.length===0&&c.ended)J0(this);else Z(this);return null}if($0=S($0,c),$0===0&&c.ended){if(c.length===0)J0(this);return null}var H0=c.needReadable;if(q("need readable",H0),c.length===0||c.length-$0<c.highWaterMark)H0=!0,q("length less than watermark",H0);if(c.ended||c.reading)H0=!1,q("reading or ended",H0);else if(H0){if(q("do read"),c.reading=!0,c.sync=!0,c.length===0)c.needReadable=!0;if(this._read(c.highWaterMark),c.sync=!1,!c.reading)$0=S(n,c)}var Y0;if($0>0)Y0=e($0,c);else Y0=null;if(Y0===null)c.needReadable=c.length<=c.highWaterMark,$0=0;else c.length-=$0,c.awaitDrain=0;if(c.length===0){if(!c.ended)c.needReadable=!0;if(n!==$0&&c.ended)J0(this)}if(Y0!==null)this.emit("data",Y0);return Y0};function A($0,c){if(q("onEofChunk"),c.ended)return;if(c.decoder){var n=c.decoder.end();if(n&&n.length)c.buffer.push(n),c.length+=c.objectMode?1:n.length}if(c.ended=!0,c.sync)Z($0);else if(c.needReadable=!1,!c.emittedReadable)c.emittedReadable=!0,C($0)}function Z($0){var c=$0._readableState;if(q("emitReadable",c.needReadable,c.emittedReadable),c.needReadable=!1,!c.emittedReadable)q("emitReadable",c.flowing),c.emittedReadable=!0,process.nextTick(C,$0)}function C($0){var c=$0._readableState;if(q("emitReadable_",c.destroyed,c.length,c.ended),!c.destroyed&&(c.length||c.ended))$0.emit("readable"),c.emittedReadable=!1;c.needReadable=!c.flowing&&!c.ended&&c.length<=c.highWaterMark,s($0)}function x($0,c){if(!c.readingMore)c.readingMore=!0,process.nextTick(B,$0,c)}function B($0,c){while(!c.reading&&!c.ended&&(c.length<c.highWaterMark||c.flowing&&c.length===0)){var n=c.length;if(q("maybeReadMore read 0"),$0.read(0),n===c.length)break}c.readingMore=!1}Y.prototype._read=function($0){L0(this,new u("_read()"))},Y.prototype.pipe=function($0,c){var n=this,H0=this._readableState;switch(H0.pipesCount){case 0:H0.pipes=$0;break;case 1:H0.pipes=[H0.pipes,$0];break;default:H0.pipes.push($0);break}H0.pipesCount+=1,q("pipe count=%d opts=%j",H0.pipesCount,c);var Y0=(!c||c.end!==!1)&&$0!==process.stdout&&$0!==process.stderr,V0=Y0?I0:i$;if(H0.endEmitted)process.nextTick(V0);else n.once("end",V0);$0.on("unpipe",N0);function N0(b0,h0){if(q("onunpipe"),b0===n){if(h0&&h0.hasUnpiped===!1)h0.hasUnpiped=!0,M0()}}function I0(){q("onend"),$0.end()}var K0=h(n);$0.on("drain",K0);var U$=!1;function M0(){if(q("cleanup"),$0.removeListener("close",p0),$0.removeListener("finish",c0),$0.removeListener("drain",K0),$0.removeListener("error",L$),$0.removeListener("unpipe",N0),n.removeListener("end",I0),n.removeListener("end",i$),n.removeListener("data",v0),U$=!0,H0.awaitDrain&&(!$0._writableState||$0._writableState.needDrain))K0()}n.on("data",v0);function v0(b0){q("ondata");var h0=$0.write(b0);if(q("dest.write",h0),h0===!1){if((H0.pipesCount===1&&H0.pipes===$0||H0.pipesCount>1&&A0(H0.pipes,$0)!==-1)&&!U$)q("false write response, pause",H0.awaitDrain),H0.awaitDrain++;n.pause()}}function L$(b0){if(q("onerror",b0),i$(),$0.removeListener("error",L$),X($0,"error")===0)L0($0,b0)}t($0,"error",L$);function p0(){$0.removeListener("finish",c0),i$()}$0.once("close",p0);function c0(){q("onfinish"),$0.removeListener("close",p0),i$()}$0.once("finish",c0);function i$(){q("unpipe"),n.unpipe($0)}if($0.emit("pipe",n),!H0.flowing)q("pipe resume"),n.resume();return $0};function h($0){return function(){var c=$0._readableState;if(q("pipeOnDrain",c.awaitDrain),c.awaitDrain)c.awaitDrain--;if(c.awaitDrain===0&&X($0,"data"))c.flowing=!0,s($0)}}Y.prototype.unpipe=function($0){var c=this._readableState,n={hasUnpiped:!1};if(c.pipesCount===0)return this;if(c.pipesCount===1){if($0&&$0!==c.pipes)return this;if(!$0)$0=c.pipes;if(c.pipes=null,c.pipesCount=0,c.flowing=!1,$0)$0.emit("unpipe",this,n);return this}if(!$0){var{pipes:H0,pipesCount:Y0}=c;c.pipes=null,c.pipesCount=0,c.flowing=!1;for(var V0=0;V0<Y0;V0++)H0[V0].emit("unpipe",this,{hasUnpiped:!1});return this}var N0=A0(c.pipes,$0);if(N0===-1)return this;if(c.pipes.splice(N0,1),c.pipesCount-=1,c.pipesCount===1)c.pipes=c.pipes[0];return $0.emit("unpipe",this,n),this},Y.prototype.on=function($0,c){var n=z.prototype.on.call(this,$0,c),H0=this._readableState;if($0==="data"){if(H0.readableListening=this.listenerCount("readable")>0,H0.flowing!==!1)this.resume()}else if($0==="readable"){if(!H0.endEmitted&&!H0.readableListening){if(H0.readableListening=H0.needReadable=!0,H0.flowing=!1,H0.emittedReadable=!1,q("on readable",H0.length,H0.reading),H0.length)Z(this);else if(!H0.reading)process.nextTick(U0,this)}}return n},Y.prototype.addListener=Y.prototype.on,Y.prototype.removeListener=function($0,c){var n=z.prototype.removeListener.call(this,$0,c);if($0==="readable")process.nextTick(r,this);return n},Y.prototype.removeAllListeners=function($0){var c=z.prototype.removeAllListeners.apply(this,arguments);if($0==="readable"||$0===void 0)process.nextTick(r,this);return c};function r($0){var c=$0._readableState;if(c.readableListening=$0.listenerCount("readable")>0,c.resumeScheduled&&!c.paused)c.flowing=!0;else if($0.listenerCount("data")>0)$0.resume()}function U0($0){q("readable nexttick read 0"),$0.read(0)}Y.prototype.resume=function(){var $0=this._readableState;if(!$0.flowing)q("resume"),$0.flowing=!$0.readableListening,z0(this,$0);return $0.paused=!1,this};function z0($0,c){if(!c.resumeScheduled)c.resumeScheduled=!0,process.nextTick(Q0,$0,c)}function Q0($0,c){if(q("resume",c.reading),!c.reading)$0.read(0);if(c.resumeScheduled=!1,$0.emit("resume"),s($0),c.flowing&&!c.reading)$0.read(0)}Y.prototype.pause=function(){if(q("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)q("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function s($0){var c=$0._readableState;q("flow",c.flowing);while(c.flowing&&$0.read()!==null);}if(Y.prototype.wrap=function($0){var c=this,n=this._readableState,H0=!1;$0.on("end",function(){if(q("wrapped end"),n.decoder&&!n.ended){var N0=n.decoder.end();if(N0&&N0.length)c.push(N0)}c.push(null)}),$0.on("data",function(N0){if(q("wrapped data"),n.decoder)N0=n.decoder.write(N0);if(n.objectMode&&(N0===null||N0===void 0))return;else if(!n.objectMode&&(!N0||!N0.length))return;var I0=c.push(N0);if(!I0)H0=!0,$0.pause()});for(var Y0 in $0)if(this[Y0]===void 0&&typeof $0[Y0]==="function")this[Y0]=function(N0){return function(){return $0[N0].apply($0,arguments)}}(Y0);for(var V0=0;V0<E0.length;V0++)$0.on(E0[V0],this.emit.bind(this,E0[V0]));return this._read=function(N0){if(q("wrapped _read",N0),H0)H0=!1,$0.resume()},this},typeof Symbol==="function")Y.prototype[Symbol.asyncIterator]=function(){if(a===void 0)a=Yp();return a(this)};Object.defineProperty(Y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Y.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Y.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function($0){if(this._readableState)this._readableState.flowing=$0}}),Y._fromList=e,Object.defineProperty(Y.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function e($0,c){if(c.length===0)return null;var n;if(c.objectMode)n=c.buffer.shift();else if(!$0||$0>=c.length){if(c.decoder)n=c.buffer.join("");else if(c.buffer.length===1)n=c.buffer.first();else n=c.buffer.concat(c.length);c.buffer.clear()}else n=c.buffer.consume($0,c.decoder);return n}function J0($0){var c=$0._readableState;if(q("endReadable",c.endEmitted),!c.endEmitted)c.ended=!0,process.nextTick(O0,c,$0)}function O0($0,c){if(q("endReadableNT",$0.endEmitted,$0.length),!$0.endEmitted&&$0.length===0){if($0.endEmitted=!0,c.readable=!1,c.emit("end"),$0.autoDestroy){var n=c._writableState;if(!n||n.autoDestroy&&n.finished)c.destroy()}}}if(typeof Symbol==="function")Y.from=function($0,c){if(F0===void 0)F0=Gp();return F0(Y,$0,c)};function A0($0,c){for(var n=0,H0=$0.length;n<H0;n++)if($0[n]===c)return n;return-1}}),AB=vU((I,J)=>{J.exports=E;var G=HJ().codes,K=G.ERR_METHOD_NOT_IMPLEMENTED,X=G.ERR_MULTIPLE_CALLBACK,z=G.ERR_TRANSFORM_ALREADY_TRANSFORMING,O=G.ERR_TRANSFORM_WITH_LENGTH_0,L=zY();FJ()(E,L);function j(P,v){var N=this._transformState;N.transforming=!1;var y=N.writecb;if(y===null)return this.emit("error",new X);if(N.writechunk=null,N.writecb=null,v!=null)this.push(v);y(P);var w=this._readableState;if(w.reading=!1,w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}function E(P){if(!(this instanceof E))return new E(P);if(L.call(this,P),this._transformState={afterTransform:j.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,P){if(typeof P.transform==="function")this._transform=P.transform;if(typeof P.flush==="function")this._flush=P.flush}this.on("prefinish",_)}function _(){var P=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(v,N){q(P,v,N)});else q(this,null,null)}E.prototype.push=function(P,v){return this._transformState.needTransform=!1,L.prototype.push.call(this,P,v)},E.prototype._transform=function(P,v,N){N(new K("_transform()"))},E.prototype._write=function(P,v,N){var y=this._transformState;if(y.writecb=N,y.writechunk=P,y.writeencoding=v,!y.transforming){var w=this._readableState;if(y.needTransform||w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}},E.prototype._read=function(P){var v=this._transformState;if(v.writechunk!==null&&!v.transforming)v.transforming=!0,this._transform(v.writechunk,v.writeencoding,v.afterTransform);else v.needTransform=!0},E.prototype._destroy=function(P,v){L.prototype._destroy.call(this,P,function(N){v(N)})};function q(P,v,N){if(v)return P.emit("error",v);if(N!=null)P.push(N);if(P._writableState.length)throw new O;if(P._transformState.transforming)throw new z;return P.push(null)}}),Op=vU((I,J)=>{J.exports=K;var G=AB();FJ()(K,G);function K(X){if(!(this instanceof K))return new K(X);G.call(this,X)}K.prototype._transform=function(X,z,O){O(null,X)}}),Zp=vU((I,J)=>{var G;function K(N){var y=!1;return function(){if(y)return;y=!0,N.apply(void 0,arguments)}}var X=HJ().codes,z=X.ERR_MISSING_ARGS,O=X.ERR_STREAM_DESTROYED;function L(N){if(N)throw N}function j(N){return N.setHeader&&typeof N.abort==="function"}function E(N,y,w,b){b=K(b);var g=!1;if(N.on("close",function(){g=!0}),G===void 0)G=p7();G(N,{readable:y,writable:w},function(p){if(p)return b(p);g=!0,b()});var u=!1;return function(p){if(g)return;if(u)return;if(u=!0,j(N))return N.abort();if(typeof N.destroy==="function")return N.destroy();b(p||new O("pipe"))}}function _(N){N()}function q(N,y){return N.pipe(y)}function P(N){if(!N.length)return L;if(typeof N[N.length-1]!=="function")return L;return N.pop()}function v(){for(var N=arguments.length,y=Array(N),w=0;w<N;w++)y[w]=arguments[w];var b=P(y);if(Array.isArray(y[0]))y=y[0];if(y.length<2)throw new z("streams");var g,u=y.map(function(p,d){var a=d<y.length-1,F0=d>0;return E(p,a,F0,function(L0){if(!g)g=L0;if(L0)u.forEach(_);if(a)return;u.forEach(_),b(g)})});return y.reduce(q)}J.exports=v}),qB=vU((I,J)=>{var G=SQ();I=J.exports=MB(),I.Stream=G||I,I.Readable=I,I.Writable=LB(),I.Duplex=zY(),I.Transform=AB(),I.PassThrough=Op(),I.finished=p7(),I.pipeline=Zp()}),CB=vU((I)=>{var J=WB(),G=FJ(),K=qB(),X=I.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},z=I.IncomingMessage=function(O,L,j,E){var _=this;if(K.Readable.call(_),_._mode=j,_.headers={},_.rawHeaders=[],_.trailers={},_.rawTrailers=[],_.on("end",function(){process.nextTick(function(){_.emit("close")})}),j==="fetch"){let b=function(){v.read().then(function(g){if(_._destroyed)return;if(E(g.done),g.done){_.push(null);return}_.push(Buffer.from(g.value)),b()}).catch(function(g){if(E(!0),!_._destroyed)_.emit("error",g)})};var q=b;if(_._fetchResponse=L,_.url=L.url,_.statusCode=L.status,_.statusMessage=L.statusText,L.headers.forEach(function(g,u){_.headers[u.toLowerCase()]=g,_.rawHeaders.push(u,g)}),J.writableStream){var P=new WritableStream({write:function(g){return E(!1),new Promise(function(u,p){if(_._destroyed)p();else if(_.push(Buffer.from(g)))u();else _._resumeFetch=u})},close:function(){if(E(!0),!_._destroyed)_.push(null)},abort:function(g){if(E(!0),!_._destroyed)_.emit("error",g)}});try{L.body.pipeTo(P).catch(function(g){if(E(!0),!_._destroyed)_.emit("error",g)});return}catch(g){}}var v=L.body.getReader();b()}else{_._xhr=O,_._pos=0,_.url=O.responseURL,_.statusCode=O.status,_.statusMessage=O.statusText;var N=O.getAllResponseHeaders().split(/\r?\n/);if(N.forEach(function(b){var g=b.match(/^([^:]+):\s*(.*)/);if(g){var u=g[1].toLowerCase();if(u==="set-cookie"){if(_.headers[u]===void 0)_.headers[u]=[];_.headers[u].push(g[2])}else if(_.headers[u]!==void 0)_.headers[u]+=", "+g[2];else _.headers[u]=g[2];_.rawHeaders.push(g[1],g[2])}}),_._charset="x-user-defined",!J.overrideMimeType){var y=_.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);if(w)_._charset=w[1].toLowerCase()}if(!_._charset)_._charset="utf-8"}}};G(z,K.Readable),z.prototype._read=function(){var O=this,L=O._resumeFetch;if(L)O._resumeFetch=null,L()},z.prototype._onXHRProgress=function(O){var L=this,j=L._xhr,E=null;switch(L._mode){case"text":if(E=j.responseText,E.length>L._pos){var _=E.substr(L._pos);if(L._charset==="x-user-defined"){var q=Buffer.alloc(_.length);for(var P=0;P<_.length;P++)q[P]=_.charCodeAt(P)&255;L.push(q)}else L.push(_,L._charset);L._pos=E.length}break;case"arraybuffer":if(j.readyState!==X.DONE||!j.response)break;E=j.response,L.push(Buffer.from(new Uint8Array(E)));break;case"moz-chunked-arraybuffer":if(E=j.response,j.readyState!==X.LOADING||!E)break;L.push(Buffer.from(new Uint8Array(E)));break;case"ms-stream":if(E=j.response,j.readyState!==X.LOADING)break;var v=new globalThis.MSStreamReader;v.onprogress=function(){if(v.result.byteLength>L._pos)L.push(Buffer.from(new Uint8Array(v.result.slice(L._pos)))),L._pos=v.result.byteLength},v.onload=function(){O(!0),L.push(null)},v.readAsArrayBuffer(E);break}if(L._xhr.readyState===X.DONE&&L._mode!=="ms-stream")O(!0),L.push(null)}}),zp=vU((I,J)=>{var G=WB(),K=FJ(),X=CB(),z=qB(),O=X.IncomingMessage,L=X.readyStates;function j(P,v){if(G.fetch&&v)return"fetch";else if(G.mozchunkedarraybuffer)return"moz-chunked-arraybuffer";else if(G.msstream)return"ms-stream";else if(G.arraybuffer&&P)return"arraybuffer";else return"text"}var E=J.exports=function(P){var v=this;if(z.Writable.call(v),v._opts=P,v._body=[],v._headers={},P.auth)v.setHeader("Authorization","Basic "+Buffer.from(P.auth).toString("base64"));Object.keys(P.headers).forEach(function(w){v.setHeader(w,P.headers[w])});var N,y=!0;if(P.mode==="disable-fetch"||"requestTimeout"in P&&!G.abortController)y=!1,N=!0;else if(P.mode==="prefer-streaming")N=!1;else if(P.mode==="allow-wrong-content-type")N=!G.overrideMimeType;else if(!P.mode||P.mode==="default"||P.mode==="prefer-fast")N=!0;else throw Error("Invalid value for opts.mode");v._mode=j(N,y),v._fetchTimer=null,v._socketTimeout=null,v._socketTimer=null,v.on("finish",function(){v._onFinish()})};K(E,z.Writable),E.prototype.setHeader=function(P,v){var N=this,y=P.toLowerCase();if(q.indexOf(y)!==-1)return;N._headers[y]={name:P,value:v}},E.prototype.getHeader=function(P){var v=this._headers[P.toLowerCase()];if(v)return v.value;return null},E.prototype.removeHeader=function(P){var v=this;delete v._headers[P.toLowerCase()]},E.prototype._onFinish=function(){var P=this;if(P._destroyed)return;var v=P._opts;if("timeout"in v&&v.timeout!==0)P.setTimeout(v.timeout);var N=P._headers,y=null;if(v.method!=="GET"&&v.method!=="HEAD")y=new Blob(P._body,{type:(N["content-type"]||{}).value||""});var w=[];if(Object.keys(N).forEach(function(p){var d=N[p].name,a=N[p].value;if(Array.isArray(a))a.forEach(function(F0){w.push([d,F0])});else w.push([d,a])}),P._mode==="fetch"){var b=null;if(G.abortController){var g=new AbortController;if(b=g.signal,P._fetchAbortController=g,"requestTimeout"in v&&v.requestTimeout!==0)P._fetchTimer=globalThis.setTimeout(function(){if(P.emit("requestTimeout"),P._fetchAbortController)P._fetchAbortController.abort()},v.requestTimeout)}globalThis.fetch(P._opts.url,{method:P._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:v.withCredentials?"include":"same-origin",signal:b}).then(function(p){P._fetchResponse=p,P._resetTimers(!1),P._connect()},function(p){if(P._resetTimers(!0),!P._destroyed)P.emit("error",p)})}else{var u=P._xhr=new globalThis.XMLHttpRequest;try{u.open(P._opts.method,P._opts.url,!0)}catch(p){process.nextTick(function(){P.emit("error",p)});return}if("responseType"in u)u.responseType=P._mode;if("withCredentials"in u)u.withCredentials=!!v.withCredentials;if(P._mode==="text"&&"overrideMimeType"in u)u.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in v)u.timeout=v.requestTimeout,u.ontimeout=function(){P.emit("requestTimeout")};if(w.forEach(function(p){u.setRequestHeader(p[0],p[1])}),P._response=null,u.onreadystatechange=function(){switch(u.readyState){case L.LOADING:case L.DONE:P._onXHRProgress();break}},P._mode==="moz-chunked-arraybuffer")u.onprogress=function(){P._onXHRProgress()};u.onerror=function(){if(P._destroyed)return;P._resetTimers(!0),P.emit("error",Error("XHR error"))};try{u.send(y)}catch(p){process.nextTick(function(){P.emit("error",p)});return}}};function _(P){try{var v=P.status;return v!==null&&v!==0}catch(N){return!1}}E.prototype._onXHRProgress=function(){var P=this;if(P._resetTimers(!1),!_(P._xhr)||P._destroyed)return;if(!P._response)P._connect();P._response._onXHRProgress(P._resetTimers.bind(P))},E.prototype._connect=function(){var P=this;if(P._destroyed)return;P._response=new O(P._xhr,P._fetchResponse,P._mode,P._resetTimers.bind(P)),P._response.on("error",function(v){P.emit("error",v)}),P.emit("response",P._response)},E.prototype._write=function(P,v,N){var y=this;y._body.push(P),N()},E.prototype._resetTimers=function(P){var v=this;if(globalThis.clearTimeout(v._socketTimer),v._socketTimer=null,P)globalThis.clearTimeout(v._fetchTimer),v._fetchTimer=null;else if(v._socketTimeout)v._socketTimer=globalThis.setTimeout(function(){v.emit("timeout")},v._socketTimeout)},E.prototype.abort=E.prototype.destroy=function(P){var v=this;if(v._destroyed=!0,v._resetTimers(!0),v._response)v._response._destroyed=!0;if(v._xhr)v._xhr.abort();else if(v._fetchAbortController)v._fetchAbortController.abort();if(P)v.emit("error",P)},E.prototype.end=function(P,v,N){var y=this;if(typeof P==="function")N=P,P=void 0;z.Writable.prototype.end.call(y,P,v,N)},E.prototype.setTimeout=function(P,v){var N=this;if(v)N.once("timeout",v);N._socketTimeout=P,N._resetTimers(!1)},E.prototype.flushHeaders=function(){},E.prototype.setNoDelay=function(){},E.prototype.setSocketKeepAlive=function(){};var q=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}),Kp=vU((I,J)=>{J.exports=K;var G=Object.prototype.hasOwnProperty;function K(){var X={};for(var z=0;z<arguments.length;z++){var O=arguments[z];for(var L in O)if(G.call(O,L))X[L]=O[L]}return X}}),Vp=vU((I,J)=>{J.exports=(m7(),j$(PB)).STATUS_CODES}),Dp=vU((I)=>{var J=zp(),G=CB(),K=Kp(),X=Vp(),z=(KB(),j$(zB)),O=I;O.request=function(L,j){if(typeof L==="string")L=z.parse(L);else L=K(L);var E=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",_=L.protocol||E,q=L.hostname||L.host,P=L.port,v=L.path||"/";if(q&&q.indexOf(":")!==-1)q="["+q+"]";L.url=(q?_+"//"+q:"")+(P?":"+P:"")+v,L.method=(L.method||"GET").toUpperCase(),L.headers=L.headers||{};var N=new J(L);if(j)N.on("response",j);return N},O.get=function(L,j){var E=O.request(L,j);return E.end(),E},O.ClientRequest=J,O.IncomingMessage=G.IncomingMessage,O.Agent=function(){},O.Agent.defaultMaxSockets=4,O.globalAgent=new O.Agent,O.STATUS_CODES=X,O.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}),TB=Up(Dp(),1),{request:Wp,get:Fp,ClientRequest:Hp,IncomingMessage:Lp,Agent:Mp,globalAgent:Ap,STATUS_CODES:qp,METHODS:Cp}=TB.default,RB=TB.default});var n7=sI((up)=>{var LJ=i4(pG());(function(){function I(Z){if(Z==null)return null;if(typeof Z==="function")return Z.$$typeof===t?null:Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case y:return"Fragment";case b:return"Profiler";case w:return"StrictMode";case d:return"Suspense";case a:return"SuspenseList";case E0:return"Activity"}if(typeof Z==="object")switch(typeof Z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Z.$$typeof){case N:return"Portal";case u:return Z.displayName||"Context";case g:return(Z._context.displayName||"Context")+".Consumer";case p:var C=Z.render;return Z=Z.displayName,Z||(Z=C.displayName||C.name||"",Z=Z!==""?"ForwardRef("+Z+")":"ForwardRef"),Z;case F0:return C=Z.displayName||null,C!==null?C:I(Z.type)||"Memo";case L0:C=Z._payload,Z=Z._init;try{return I(Z(C))}catch(x){}}return null}function J(Z){return""+Z}function G(Z){try{J(Z);var C=!1}catch(h){C=!0}if(C){C=console;var x=C.error,B=typeof Symbol==="function"&&Symbol.toStringTag&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return x.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",B),J(Z)}}function K(Z){if(Z===y)return"<>";if(typeof Z==="object"&&Z!==null&&Z.$$typeof===L0)return"<...>";try{var C=I(Z);return C?"<"+C+">":"<...>"}catch(x){return"<...>"}}function X(){var Z=C0.A;return Z===null?null:Z.getOwner()}function z(){return Error("react-stack-top-frame")}function O(Z){if(Y.call(Z,"key")){var C=Object.getOwnPropertyDescriptor(Z,"key").get;if(C&&C.isReactWarning)return!1}return Z.key!==void 0}function L(Z,C){function x(){V||(V=!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)",C))}x.isReactWarning=!0,Object.defineProperty(Z,"key",{get:x,configurable:!0})}function j(){var Z=I(this.type);return F[Z]||(F[Z]=!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.")),Z=this.props.ref,Z!==void 0?Z:null}function E(Z,C,x,B,h,r){var U0=x.ref;return Z={$$typeof:v,type:Z,key:C,props:x,_owner:B},(U0!==void 0?U0:null)!==null?Object.defineProperty(Z,"ref",{enumerable:!1,get:j}):Object.defineProperty(Z,"ref",{enumerable:!1,value:null}),Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h}),Object.defineProperty(Z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z}function _(Z,C,x,B,h,r){var U0=C.children;if(U0!==void 0)if(B)if(D(U0)){for(B=0;B<U0.length;B++)q(U0[B]);Object.freeze&&Object.freeze(U0)}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 q(U0);if(Y.call(C,"key")){U0=I(Z);var z0=Object.keys(C).filter(function(s){return s!=="key"});B=0<z0.length?"{key: someKey, "+z0.join(": ..., ")+": ...}":"{key: someKey}",A[U0+B]||(z0=0<z0.length?"{"+z0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
247
|
+
let props = %s;
|
|
248
|
+
<%s {...props} />
|
|
249
|
+
React keys must be passed directly to JSX without using spread:
|
|
250
|
+
let props = %s;
|
|
251
|
+
<%s key={someKey} {...props} />`,B,U0,z0,U0),A[U0+B]=!0)}if(U0=null,x!==void 0&&(G(x),U0=""+x),O(C)&&(G(C.key),U0=""+C.key),"key"in C){x={};for(var Q0 in C)Q0!=="key"&&(x[Q0]=C[Q0])}else x=C;return U0&&L(x,typeof Z==="function"?Z.displayName||Z.name||"Unknown":Z),E(Z,U0,x,X(),h,r)}function q(Z){P(Z)?Z._store&&(Z._store.validated=1):typeof Z==="object"&&Z!==null&&Z.$$typeof===L0&&(Z._payload.status==="fulfilled"?P(Z._payload.value)&&Z._payload.value._store&&(Z._payload.value._store.validated=1):Z._store&&(Z._store.validated=1))}function P(Z){return typeof Z==="object"&&Z!==null&&Z.$$typeof===v}var v=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),a=Symbol.for("react.suspense_list"),F0=Symbol.for("react.memo"),L0=Symbol.for("react.lazy"),E0=Symbol.for("react.activity"),t=Symbol.for("react.client.reference"),C0=LJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=Object.prototype.hasOwnProperty,D=Array.isArray,H=console.createTask?console.createTask:function(){return null};LJ={react_stack_bottom_frame:function(Z){return Z()}};var V,F={},T=LJ.react_stack_bottom_frame.bind(LJ,z)(),S=H(K(z)),A={};up.Fragment=y,up.jsxDEV=function(Z,C,x,B){var h=1e4>C0.recentlyCreatedOwnerStacks++;return _(Z,C,x,B,h?Error("react-stack-top-frame"):T,h?H(K(Z)):S)}})()});var vB=i4(jE(),1),p2=i4(pG(),1);var{readFile:eU0}=(()=>({}));yU();var{closeSync:Ci,existsSync:Ti,fstatSync:Ri,mkdirSync:Pi,openSync:Ei,readFileSync:_i,renameSync:Si,rmSync:ji,statSync:vi,writeFileSync:Bi,writeSync:Ni}=(()=>({}));var Hz=function(){if(typeof location<"u")return location.hostname;else return""};var VF=function(){return"/"};function j1(I){if(typeof I!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(I))}function XS(I,J){var G="",K=0,X=-1,z=0,O;for(var L=0;L<=I.length;++L){if(L<I.length)O=I.charCodeAt(L);else if(O===47)break;else O=47;if(O===47){if(X===L-1||z===1);else if(X!==L-1&&z===2){if(G.length<2||K!==2||G.charCodeAt(G.length-1)!==46||G.charCodeAt(G.length-2)!==46){if(G.length>2){var j=G.lastIndexOf("/");if(j!==G.length-1){if(j===-1)G="",K=0;else G=G.slice(0,j),K=G.length-1-G.lastIndexOf("/");X=L,z=0;continue}}else if(G.length===2||G.length===1){G="",K=0,X=L,z=0;continue}}if(J){if(G.length>0)G+="/..";else G="..";K=2}}else{if(G.length>0)G+="/"+I.slice(X+1,L);else G=I.slice(X+1,L);K=L-X-1}X=L,z=0}else if(O===46&&z!==-1)++z;else z=-1}return G}function Wy(I,J){var G=J.dir||J.root,K=J.base||(J.name||"")+(J.ext||"");if(!G)return K;if(G===J.root)return G+K;return G+I+K}function r4(){var I="",J=!1,G;for(var K=arguments.length-1;K>=-1&&!J;K--){var X;if(K>=0)X=arguments[K];else{if(G===void 0)G=process.cwd();X=G}if(j1(X),X.length===0)continue;I=X+"/"+I,J=X.charCodeAt(0)===47}if(I=XS(I,!J),J)if(I.length>0)return"/"+I;else return"/";else if(I.length>0)return I;else return"."}function JS(I){if(j1(I),I.length===0)return".";var J=I.charCodeAt(0)===47,G=I.charCodeAt(I.length-1)===47;if(I=XS(I,!J),I.length===0&&!J)I=".";if(I.length>0&&G)I+="/";if(J)return"/"+I;return I}function vQ(I){return j1(I),I.length>0&&I.charCodeAt(0)===47}function t$(){if(arguments.length===0)return".";var I;for(var J=0;J<arguments.length;++J){var G=arguments[J];if(j1(G),G.length>0)if(I===void 0)I=G;else I+="/"+G}if(I===void 0)return".";return JS(I)}function QS(I,J){if(j1(I),j1(J),I===J)return"";if(I=r4(I),J=r4(J),I===J)return"";var G=1;for(;G<I.length;++G)if(I.charCodeAt(G)!==47)break;var K=I.length,X=K-G,z=1;for(;z<J.length;++z)if(J.charCodeAt(z)!==47)break;var O=J.length,L=O-z,j=X<L?X:L,E=-1,_=0;for(;_<=j;++_){if(_===j){if(L>j){if(J.charCodeAt(z+_)===47)return J.slice(z+_+1);else if(_===0)return J.slice(z+_)}else if(X>j){if(I.charCodeAt(G+_)===47)E=_;else if(_===0)E=0}break}var q=I.charCodeAt(G+_),P=J.charCodeAt(z+_);if(q!==P)break;else if(q===47)E=_}var v="";for(_=G+E+1;_<=K;++_)if(_===K||I.charCodeAt(_)===47)if(v.length===0)v+="..";else v+="/..";if(v.length>0)return v+J.slice(z+E);else{if(z+=E,J.charCodeAt(z)===47)++z;return J.slice(z)}}function Fy(I){return I}function iU(I){if(j1(I),I.length===0)return".";var J=I.charCodeAt(0),G=J===47,K=-1,X=!0;for(var z=I.length-1;z>=1;--z)if(J=I.charCodeAt(z),J===47){if(!X){K=z;break}}else X=!1;if(K===-1)return G?"/":".";if(G&&K===1)return"//";return I.slice(0,K)}function $2(I,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');j1(I);var G=0,K=-1,X=!0,z;if(J!==void 0&&J.length>0&&J.length<=I.length){if(J.length===I.length&&J===I)return"";var O=J.length-1,L=-1;for(z=I.length-1;z>=0;--z){var j=I.charCodeAt(z);if(j===47){if(!X){G=z+1;break}}else{if(L===-1)X=!1,L=z+1;if(O>=0)if(j===J.charCodeAt(O)){if(--O===-1)K=z}else O=-1,K=L}}if(G===K)K=L;else if(K===-1)K=I.length;return I.slice(G,K)}else{for(z=I.length-1;z>=0;--z)if(I.charCodeAt(z)===47){if(!X){G=z+1;break}}else if(K===-1)X=!1,K=z+1;if(K===-1)return"";return I.slice(G,K)}}function Hy(I){j1(I);var J=-1,G=0,K=-1,X=!0,z=0;for(var O=I.length-1;O>=0;--O){var L=I.charCodeAt(O);if(L===47){if(!X){G=O+1;break}continue}if(K===-1)X=!1,K=O+1;if(L===46){if(J===-1)J=O;else if(z!==1)z=1}else if(J!==-1)z=-1}if(J===-1||K===-1||z===0||z===1&&J===K-1&&J===G+1)return"";return I.slice(J,K)}function Ly(I){if(I===null||typeof I!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof I);return Wy("/",I)}function My(I){j1(I);var J={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return J;var G=I.charCodeAt(0),K=G===47,X;if(K)J.root="/",X=1;else X=0;var z=-1,O=0,L=-1,j=!0,E=I.length-1,_=0;for(;E>=X;--E){if(G=I.charCodeAt(E),G===47){if(!j){O=E+1;break}continue}if(L===-1)j=!1,L=E+1;if(G===46){if(z===-1)z=E;else if(_!==1)_=1}else if(z!==-1)_=-1}if(z===-1||L===-1||_===0||_===1&&z===L-1&&z===O+1){if(L!==-1)if(O===0&&K)J.base=J.name=I.slice(1,L);else J.base=J.name=I.slice(O,L)}else{if(O===0&&K)J.name=I.slice(1,z),J.base=I.slice(1,L);else J.name=I.slice(O,z),J.base=I.slice(O,L);J.ext=I.slice(z,L)}if(O>0)J.dir=I.slice(0,O-1);else if(K)J.dir="/";return J}var YS="/",Ay=":",_l=((I)=>(I.posix=I,I))({resolve:r4,normalize:JS,isAbsolute:vQ,join:t$,relative:QS,_makeLong:Fy,dirname:iU,basename:$2,extname:Hy,format:Ly,parse:My,sep:YS,delimiter:Ay,win32:null,posix:null});function U2(){let I=process.env.VOLTER_HOME;return I!==void 0&&I!==""?I:t$(VF(),".volter")}yU();yU();var{appendFileSync:qy,chmodSync:GS,closeSync:Lz,existsSync:I2,fsyncSync:Cy,fstatSync:OS,lstatSync:ZS,mkdirSync:X2,openSync:Mz,readdirSync:Ty,readSync:Ry,realpathSync:Py,readFileSync:WF,renameSync:zS,rmSync:KS,statSync:WS,unlinkSync:DF,writeFileSync:J2}=(()=>({}));var Ey=0,_y=60000;function FF(I){try{return JSON.parse(WF(I,"utf8"))}catch{return null}}function Sy(I){try{return process.kill(I,0),!0}catch(J){return J.code==="EPERM"}}function VS(I,J=!1){let G=FF(I);if(G&&G.hostname===Hz()&&Number.isInteger(G.pid)&&!Sy(G.pid))return!0;if(J)return!1;let X=G&&typeof G.at==="string"?Date.parse(G.at):NaN;if(!Number.isFinite(X))try{X=WS(I).mtimeMs}catch{return!1}return Date.now()-X>_y}function DS(I){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,I)}class HF{read(I){if(!I2(I))return null;return WF(I,"utf8")}readLines(I){if(!I2(I))return[];return WF(I,"utf8").split(`
|
|
252
|
+
`)}readRange(I,J){let G;try{G=Mz(I,"r")}catch(K){if(K.code==="ENOENT")return null;throw K}try{let K=OS(G).size;if(J>=K)return"";let X=Buffer.allocUnsafe(K-J),z=0;while(z<X.length){let O=Ry(G,X,z,X.length-z,J+z);if(O===0)break;z+=O}return X.toString("utf8",0,z)}finally{Lz(G)}}append(I,J){let G=Mz(I,"a");try{if(qy(G,J),process.env.VOLTER_DURABLE==="1")Cy(G)}finally{Lz(G)}}write(I,J,G={}){if(!G.secret){X2(iU(I),{recursive:!0}),J2(I,J);return}X2(iU(I),{recursive:!0,mode:448}),J2(I,J,{mode:384}),GS(I,384)}writeAtomic(I,J,G={}){X2(iU(I),{recursive:!0});let K=`${I}.${process.pid}.${Date.now()}.${Ey++}.tmp`;try{if(J2(K,J,G.secret?{mode:384}:void 0),zS(K,I),G.secret)GS(I,384)}finally{KS(K,{force:!0})}}exists(I){return I2(I)}remove(I){KS(I,{recursive:!0,force:!0})}mkdir(I){X2(I,{recursive:!0})}list(I){if(!I2(I))return[];return Ty(I)}canonicalPath(I){let J=r4(I);try{return Py(J)}catch(G){if(G.code!=="ENOENT"||iU(J)===J)throw G;return t$(this.canonicalPath(iU(J)),$2(J))}}stat(I){if(!I2(I))return null;let J=WS(I);return{size:J.size,mtimeMs:J.mtimeMs,isDirectory:J.isDirectory(),...ZS(I).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(I,J,G={}){X2(iU(I),{recursive:!0});let K=Date.now(),X=null;while(X===null)try{X=Mz(I,"wx")}catch(O){if(O.code!=="EEXIST")throw O;if(VS(I,G.retainLiveOwner)){let j=`${I}.recovery`,E;try{E=Mz(j,"wx")}catch(_){if(_.code!=="EEXIST")throw _;if(Date.now()-K>1e4)throw Error(`Lock recovery is active or interrupted: ${j}. Inspect its owner before removing the recovery record.`);DS(25);continue}try{if(J2(E,JSON.stringify({pid:process.pid,hostname:Hz()})),VS(I,G.retainLiveOwner)){let _=FF(I),q=`${I}.stale.${process.pid}.${Date.now()}`;try{zS(I,q),console.warn(`[world] reclaiming stale storage lock ${I} (held by pid ${_?.pid??"?"} on ${_?.hostname??"?"})`),DF(q)}catch(P){if(P.code!=="ENOENT")throw P}}}finally{Lz(E),DF(j)}continue}if(Date.now()-K>1e4){let j=FF(I),E=j&&typeof j.at==="string"?Date.parse(j.at):NaN;throw Error(`Timed out waiting for world storage lock: ${I}${j?` (held by pid ${j.pid} on ${j.hostname}${Number.isFinite(E)?` for ${Date.now()-E}ms`:""})`:""}`)}DS(25)}try{J2(X,`${JSON.stringify({pid:process.pid,hostname:Hz(),at:new Date().toISOString()})}
|
|
253
|
+
`)}catch{}let z=Date.now();try{return J()}finally{let O=Date.now()-z;if(O>2000)console.warn(`[world] held storage lock ${I} for ${O}ms (pid ${process.pid})
|
|
254
|
+
${Error().stack?.split(`
|
|
255
|
+
`).slice(2,8).join(`
|
|
256
|
+
`)??""}`);let L=OS(X);Lz(X);try{let j=ZS(I);if(L.dev===j.dev&&L.ino===j.ino)DF(I)}catch{}}}}var jy=new HF,vy=(()=>{try{let I=globalThis.process?.getBuiltinModule?.("node:async_hooks");return I?.AsyncLocalStorage?new I.AsyncLocalStorage:null}catch{return null}})();function f6(){return vy?.getStore()??jy}yU();var E$={};g6(E$,{xor:()=>aj,xid:()=>qj,void:()=>dj,uuidv7:()=>Vj,uuidv6:()=>Kj,uuidv4:()=>zj,uuid:()=>Zj,util:()=>G$,url:()=>Dj,uppercase:()=>pQ,unknown:()=>VJ,union:()=>iK,undefined:()=>mj,ulid:()=>Aj,uint64:()=>cj,uint32:()=>uj,tuple:()=>dM,trim:()=>iQ,treeifyError:()=>fF,transform:()=>tK,toUpperCase:()=>tQ,toLowerCase:()=>rQ,toJSONSchema:()=>CK,templateLiteral:()=>Kv,symbol:()=>pj,superRefine:()=>A7,success:()=>Gv,stringbool:()=>Av,stringFormat:()=>Nj,string:()=>j2,strictObject:()=>rj,startsWith:()=>lQ,slugify:()=>aQ,size:()=>ZJ,setErrorMap:()=>Lh,set:()=>Iv,safeParseAsync:()=>AM,safeParse:()=>MM,safeEncodeAsync:()=>_M,safeEncode:()=>PM,safeDecodeAsync:()=>SM,safeDecode:()=>EM,registry:()=>nz,regexes:()=>M4,regex:()=>hQ,refine:()=>M7,record:()=>nM,readonly:()=>V7,property:()=>LK,promise:()=>Vv,prettifyError:()=>yF,preprocess:()=>Cv,prefault:()=>J7,positive:()=>DK,pipe:()=>jK,partialRecord:()=>ej,parseAsync:()=>LM,parse:()=>HM,overwrite:()=>t4,optional:()=>B2,object:()=>ij,number:()=>vM,nullish:()=>Yv,nullable:()=>N2,null:()=>xM,normalize:()=>oQ,nonpositive:()=>FK,nonoptional:()=>Q7,nonnegative:()=>HK,never:()=>oK,negative:()=>WK,nativeEnum:()=>Xv,nanoid:()=>Hj,nan:()=>Ov,multipleOf:()=>GX,minSize:()=>k1,minLength:()=>zI,mime:()=>nQ,meta:()=>Lv,maxSize:()=>OX,maxLength:()=>zJ,map:()=>Uv,mac:()=>Rj,lte:()=>A4,lt:()=>B1,lowercase:()=>cQ,looseRecord:()=>$v,looseObject:()=>tj,locales:()=>P2,literal:()=>Jv,length:()=>KJ,lazy:()=>F7,ksuid:()=>Cj,keyof:()=>oj,jwt:()=>Bj,json:()=>qv,iso:()=>$Y,ipv6:()=>Pj,ipv4:()=>Tj,invertCodec:()=>zv,intersection:()=>mM,int64:()=>hj,int32:()=>yj,int:()=>SK,instanceof:()=>Mv,includes:()=>mQ,httpUrl:()=>Wj,hostname:()=>kj,hex:()=>gj,hash:()=>xj,guid:()=>Oj,gte:()=>b6,gt:()=>N1,globalRegistry:()=>A6,getErrorMap:()=>Mh,function:()=>Dv,fromJSONSchema:()=>Rv,formatError:()=>D2,float64:()=>fj,float32:()=>wj,flattenError:()=>V2,file:()=>Qv,exactOptional:()=>eM,enum:()=>rK,endsWith:()=>dQ,encodeAsync:()=>TM,encode:()=>qM,emoji:()=>Fj,email:()=>Gj,e164:()=>vj,discriminatedUnion:()=>sj,describe:()=>Hv,decodeAsync:()=>RM,decode:()=>CM,date:()=>nj,custom:()=>Fv,cuid2:()=>Mj,cuid:()=>Lj,core:()=>KI,config:()=>rU,coerce:()=>C7,codec:()=>Zv,clone:()=>y6,cidrv6:()=>_j,cidrv4:()=>Ej,check:()=>Wv,catch:()=>O7,boolean:()=>BM,bigint:()=>bj,base64url:()=>jj,base64:()=>Sj,array:()=>w2,any:()=>lj,_function:()=>Dv,_default:()=>I7,_ZodString:()=>vK,ZodXor:()=>hM,ZodXID:()=>fK,ZodVoid:()=>uM,ZodUnknown:()=>fM,ZodUnion:()=>y2,ZodUndefined:()=>kM,ZodUUID:()=>g1,ZodURL:()=>g2,ZodULID:()=>wK,ZodType:()=>x$,ZodTuple:()=>lM,ZodTransform:()=>aM,ZodTemplateLiteral:()=>D7,ZodSymbol:()=>NM,ZodSuccess:()=>Y7,ZodStringFormat:()=>zU,ZodString:()=>XY,ZodSet:()=>iM,ZodRecord:()=>UY,ZodRealError:()=>s6,ZodReadonly:()=>K7,ZodPromise:()=>H7,ZodPreprocess:()=>z7,ZodPrefault:()=>X7,ZodPipe:()=>u2,ZodOptional:()=>aK,ZodObject:()=>f2,ZodNumberFormat:()=>DJ,ZodNumber:()=>QY,ZodNullable:()=>$7,ZodNull:()=>gM,ZodNonOptional:()=>sK,ZodNever:()=>yM,ZodNanoID:()=>kK,ZodNaN:()=>Z7,ZodMap:()=>oM,ZodMAC:()=>jM,ZodLiteral:()=>rM,ZodLazy:()=>W7,ZodKSUID:()=>yK,ZodJWT:()=>dK,ZodIssueCode:()=>Hh,ZodIntersection:()=>pM,ZodISOTime:()=>EK,ZodISODuration:()=>_K,ZodISODateTime:()=>RK,ZodISODate:()=>PK,ZodIPv6:()=>bK,ZodIPv4:()=>uK,ZodGUID:()=>v2,ZodFunction:()=>L7,ZodFirstPartyTypeKind:()=>q7,ZodFile:()=>tM,ZodExactOptional:()=>sM,ZodError:()=>Wh,ZodEnum:()=>IY,ZodEmoji:()=>NK,ZodEmail:()=>BK,ZodE164:()=>lK,ZodDiscriminatedUnion:()=>cM,ZodDefault:()=>U7,ZodDate:()=>x2,ZodCustomStringFormat:()=>JY,ZodCustom:()=>h2,ZodCodec:()=>b2,ZodCatch:()=>G7,ZodCUID2:()=>xK,ZodCUID:()=>gK,ZodCIDRv6:()=>cK,ZodCIDRv4:()=>hK,ZodBoolean:()=>YY,ZodBigIntFormat:()=>nK,ZodBigInt:()=>GY,ZodBase64URL:()=>mK,ZodBase64:()=>pK,ZodArray:()=>bM,ZodAny:()=>wM,TimePrecision:()=>dL,NEVER:()=>PF,$output:()=>bL,$input:()=>hL,$brand:()=>EF});var KI={};g6(KI,{version:()=>g9,util:()=>G$,treeifyError:()=>fF,toJSONSchema:()=>CK,toDotPath:()=>_S,safeParseAsync:()=>bF,safeParse:()=>uF,safeEncodeAsync:()=>Hu,safeEncode:()=>Wu,safeDecodeAsync:()=>Lu,safeDecode:()=>Fu,registry:()=>nz,regexes:()=>M4,process:()=>JU,prettifyError:()=>yF,parseAsync:()=>Pz,parse:()=>Rz,meta:()=>E5,locales:()=>P2,isValidJWT:()=>iS,isValidBase64URL:()=>oS,isValidBase64:()=>UH,initializeContext:()=>ZX,globalRegistry:()=>A6,globalConfig:()=>JJ,formatError:()=>D2,flattenError:()=>V2,finalize:()=>KX,extractDefs:()=>zX,encodeAsync:()=>Vu,encode:()=>zu,describe:()=>P5,decodeAsync:()=>Du,decode:()=>Ku,createToJSONSchemaMethod:()=>S5,createStandardJSONSchemaMethod:()=>eQ,config:()=>rU,clone:()=>y6,_xor:()=>lb,_xid:()=>XK,_void:()=>F5,_uuidv7:()=>az,_uuidv6:()=>tz,_uuidv4:()=>rz,_uuid:()=>iz,_url:()=>_2,_uppercase:()=>pQ,_unknown:()=>D5,_union:()=>mb,_undefined:()=>z5,_ulid:()=>IK,_uint64:()=>O5,_uint32:()=>I5,_tuple:()=>ob,_trim:()=>iQ,_transform:()=>$h,_toUpperCase:()=>tQ,_toLowerCase:()=>rQ,_templateLiteral:()=>Zh,_symbol:()=>Z5,_superRefine:()=>R5,_success:()=>Qh,_stringbool:()=>_5,_stringFormat:()=>sQ,_string:()=>pL,_startsWith:()=>lQ,_slugify:()=>aQ,_size:()=>ZJ,_set:()=>tb,_safeParseAsync:()=>yQ,_safeParse:()=>fQ,_safeEncodeAsync:()=>Nz,_safeEncode:()=>vz,_safeDecodeAsync:()=>kz,_safeDecode:()=>Bz,_regex:()=>hQ,_refine:()=>T5,_record:()=>ib,_readonly:()=>Oh,_property:()=>LK,_promise:()=>Kh,_positive:()=>DK,_pipe:()=>Gh,_parseAsync:()=>wQ,_parse:()=>xQ,_overwrite:()=>t4,_optional:()=>Uh,_number:()=>tL,_nullable:()=>Ih,_null:()=>K5,_normalize:()=>oQ,_nonpositive:()=>FK,_nonoptional:()=>Jh,_nonnegative:()=>HK,_never:()=>W5,_negative:()=>WK,_nativeEnum:()=>sb,_nanoid:()=>ez,_nan:()=>M5,_multipleOf:()=>GX,_minSize:()=>k1,_minLength:()=>zI,_min:()=>b6,_mime:()=>nQ,_maxSize:()=>OX,_maxLength:()=>zJ,_max:()=>A4,_map:()=>rb,_mac:()=>lL,_lte:()=>A4,_lt:()=>B1,_lowercase:()=>cQ,_literal:()=>eb,_length:()=>KJ,_lazy:()=>zh,_ksuid:()=>JK,_jwt:()=>VK,_isoTime:()=>iL,_isoDuration:()=>rL,_isoDateTime:()=>nL,_isoDate:()=>oL,_ipv6:()=>YK,_ipv4:()=>QK,_intersection:()=>nb,_int64:()=>G5,_int32:()=>U5,_int:()=>sL,_includes:()=>mQ,_guid:()=>E2,_gte:()=>b6,_gt:()=>N1,_float64:()=>$5,_float32:()=>eL,_file:()=>q5,_enum:()=>ab,_endsWith:()=>dQ,_encodeAsync:()=>Sz,_encode:()=>Ez,_emoji:()=>sz,_email:()=>oz,_e164:()=>KK,_discriminatedUnion:()=>db,_default:()=>Xh,_decodeAsync:()=>jz,_decode:()=>_z,_date:()=>H5,_custom:()=>C5,_cuid2:()=>UK,_cuid:()=>$K,_coercedString:()=>mL,_coercedNumber:()=>aL,_coercedDate:()=>L5,_coercedBoolean:()=>J5,_coercedBigint:()=>Y5,_cidrv6:()=>OK,_cidrv4:()=>GK,_check:()=>Xj,_catch:()=>Yh,_boolean:()=>X5,_bigint:()=>Q5,_base64url:()=>zK,_base64:()=>ZK,_array:()=>A5,_any:()=>V5,TimePrecision:()=>dL,NEVER:()=>PF,JSONSchemaGenerator:()=>KM,JSONSchema:()=>Jj,Doc:()=>fz,$output:()=>bL,$input:()=>hL,$constructor:()=>j0,$brand:()=>EF,$ZodXor:()=>AH,$ZodXID:()=>l9,$ZodVoid:()=>FH,$ZodUnknown:()=>DH,$ZodUnion:()=>M2,$ZodUndefined:()=>zH,$ZodUUID:()=>f9,$ZodURL:()=>u9,$ZodULID:()=>m9,$ZodType:()=>_$,$ZodTuple:()=>mz,$ZodTransform:()=>jH,$ZodTemplateLiteral:()=>bH,$ZodSymbol:()=>ZH,$ZodSuccess:()=>xH,$ZodStringFormat:()=>ZU,$ZodString:()=>OJ,$ZodSet:()=>PH,$ZodRegistry:()=>cL,$ZodRecord:()=>TH,$ZodRealError:()=>a6,$ZodReadonly:()=>uH,$ZodPromise:()=>cH,$ZodPreprocess:()=>yH,$ZodPrefault:()=>kH,$ZodPipe:()=>dz,$ZodOptional:()=>lz,$ZodObjectJIT:()=>MH,$ZodObject:()=>aS,$ZodNumberFormat:()=>GH,$ZodNumber:()=>cz,$ZodNullable:()=>BH,$ZodNull:()=>KH,$ZodNonOptional:()=>gH,$ZodNever:()=>WH,$ZodNanoID:()=>h9,$ZodNaN:()=>fH,$ZodMap:()=>RH,$ZodMAC:()=>s9,$ZodLiteral:()=>_H,$ZodLazy:()=>pH,$ZodKSUID:()=>d9,$ZodJWT:()=>QH,$ZodIntersection:()=>CH,$ZodISOTime:()=>i9,$ZodISODuration:()=>r9,$ZodISODateTime:()=>n9,$ZodISODate:()=>o9,$ZodIPv6:()=>a9,$ZodIPv4:()=>t9,$ZodGUID:()=>w9,$ZodFunction:()=>hH,$ZodFile:()=>SH,$ZodExactOptional:()=>vH,$ZodError:()=>K2,$ZodEnum:()=>EH,$ZodEncodeError:()=>QJ,$ZodEmoji:()=>b9,$ZodEmail:()=>y9,$ZodE164:()=>JH,$ZodDiscriminatedUnion:()=>qH,$ZodDefault:()=>NH,$ZodDate:()=>HH,$ZodCustomStringFormat:()=>YH,$ZodCustom:()=>mH,$ZodCodec:()=>A2,$ZodCheckUpperCase:()=>_9,$ZodCheckStringFormat:()=>uQ,$ZodCheckStartsWith:()=>j9,$ZodCheckSizeEquals:()=>q9,$ZodCheckRegex:()=>P9,$ZodCheckProperty:()=>B9,$ZodCheckOverwrite:()=>k9,$ZodCheckNumberFormat:()=>H9,$ZodCheckMultipleOf:()=>F9,$ZodCheckMinSize:()=>A9,$ZodCheckMinLength:()=>T9,$ZodCheckMimeType:()=>N9,$ZodCheckMaxSize:()=>M9,$ZodCheckMaxLength:()=>C9,$ZodCheckLowerCase:()=>E9,$ZodCheckLessThan:()=>xz,$ZodCheckLengthEquals:()=>R9,$ZodCheckIncludes:()=>S9,$ZodCheckGreaterThan:()=>wz,$ZodCheckEndsWith:()=>v9,$ZodCheckBigIntFormat:()=>L9,$ZodCheck:()=>FU,$ZodCatch:()=>wH,$ZodCUID2:()=>p9,$ZodCUID:()=>c9,$ZodCIDRv6:()=>$H,$ZodCIDRv4:()=>e9,$ZodBoolean:()=>L2,$ZodBigIntFormat:()=>OH,$ZodBigInt:()=>pz,$ZodBase64URL:()=>XH,$ZodBase64:()=>IH,$ZodAsyncError:()=>v1,$ZodArray:()=>LH,$ZodAny:()=>VH});var qS,PF=Object.freeze({status:"aborted"});function j0(I,J,G){function K(L,j){if(!L._zod)Object.defineProperty(L,"_zod",{value:{def:j,constr:O,traits:new Set},enumerable:!1});if(L._zod.traits.has(I))return;L._zod.traits.add(I),J(L,j);let E=O.prototype,_=Object.keys(E);for(let q=0;q<_.length;q++){let P=_[q];if(!(P in L))L[P]=E[P].bind(L)}}let X=G?.Parent??Object;class z extends X{}Object.defineProperty(z,"name",{value:I});function O(L){var j;let E=G?.Parent?new z:this;K(E,L),(j=E._zod).deferred??(j.deferred=[]);for(let _ of E._zod.deferred)_();return E}return Object.defineProperty(O,"init",{value:K}),Object.defineProperty(O,Symbol.hasInstance,{value:(L)=>{if(G?.Parent&&L instanceof G.Parent)return!0;return L?._zod?.traits?.has(I)}}),Object.defineProperty(O,"name",{value:I}),O}var EF=Symbol("zod_brand");class v1 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class QJ extends Error{constructor(I){super(`Encountered unidirectional transform during encode: ${I}`);this.name="ZodEncodeError"}}(qS=globalThis).__zod_globalConfig??(qS.__zod_globalConfig={});var JJ=globalThis.__zod_globalConfig;function rU(I){if(I)Object.assign(JJ,I);return JJ}var G$={};g6(G$,{unwrapMessage:()=>Q2,uint8ArrayToHex:()=>Ou,uint8ArrayToBase64url:()=>Yu,uint8ArrayToBase64:()=>RS,stringifyPrimitive:()=>J$,slugify:()=>jF,shallowClone:()=>BF,safeExtend:()=>$u,required:()=>Xu,randomString:()=>oy,propertyKeyTypes:()=>O2,promiseAllObject:()=>ny,primitiveTypes:()=>NF,prefixIssues:()=>t6,pick:()=>ay,partial:()=>Iu,parsedType:()=>Q$,optionalKeys:()=>kF,omit:()=>sy,objectClone:()=>my,numKeys:()=>iy,nullish:()=>XX,normalizeParams:()=>O$,mergeDefs:()=>ZI,merge:()=>Uu,jsonStringifyReplacer:()=>NQ,joinValues:()=>x0,issue:()=>gQ,isPlainObject:()=>QX,isObject:()=>YJ,hexToUint8Array:()=>Gu,getSizableOrigin:()=>Z2,getParsedType:()=>ry,getLengthableOrigin:()=>z2,getEnumValues:()=>Y2,getElementAtPath:()=>dy,floatSafeRemainder:()=>SF,finalizeIssue:()=>u6,extend:()=>ey,explicitlyAborted:()=>wF,escapeRegex:()=>f4,esc:()=>Cz,defineLazy:()=>c$,createTransparentProxy:()=>ty,cloneDef:()=>ly,clone:()=>y6,cleanRegex:()=>G2,cleanEnum:()=>Ju,captureStackTrace:()=>Tz,cached:()=>kQ,base64urlToUint8Array:()=>Qu,base64ToUint8Array:()=>TS,assignProp:()=>JX,assertNotEqual:()=>by,assertNever:()=>cy,assertIs:()=>hy,assertEqual:()=>uy,assert:()=>py,allowsEval:()=>vF,aborted:()=>YX,NUMBER_FORMAT_RANGES:()=>gF,Class:()=>PS,BIGINT_FORMAT_RANGES:()=>xF});function uy(I){return I}function by(I){return I}function hy(I){}function cy(I){throw Error("Unexpected value in exhaustive check")}function py(I){}function Y2(I){let J=Object.values(I).filter((K)=>typeof K==="number");return Object.entries(I).filter(([K,X])=>J.indexOf(+K)===-1).map(([K,X])=>X)}function x0(I,J="|"){return I.map((G)=>J$(G)).join(J)}function NQ(I,J){if(typeof J==="bigint")return J.toString();return J}function kQ(I){return{get value(){{let G=I();return Object.defineProperty(this,"value",{value:G}),G}throw Error("cached value already set")}}}function XX(I){return I===null||I===void 0}function G2(I){let J=I.startsWith("^")?1:0,G=I.endsWith("$")?I.length-1:I.length;return I.slice(J,G)}function SF(I,J){let G=I/J,K=Math.round(G),X=Number.EPSILON*Math.max(Math.abs(G),1);if(Math.abs(G-K)<X)return 0;return G-K}var CS=Symbol("evaluating");function c$(I,J,G){let K=void 0;Object.defineProperty(I,J,{get(){if(K===CS)return;if(K===void 0)K=CS,K=G();return K},set(X){Object.defineProperty(I,J,{value:X})},configurable:!0})}function my(I){return Object.create(Object.getPrototypeOf(I),Object.getOwnPropertyDescriptors(I))}function JX(I,J,G){Object.defineProperty(I,J,{value:G,writable:!0,enumerable:!0,configurable:!0})}function ZI(...I){let J={};for(let G of I){let K=Object.getOwnPropertyDescriptors(G);Object.assign(J,K)}return Object.defineProperties({},J)}function ly(I){return ZI(I._zod.def)}function dy(I,J){if(!J)return I;return J.reduce((G,K)=>G?.[K],I)}function ny(I){let J=Object.keys(I),G=J.map((K)=>I[K]);return Promise.all(G).then((K)=>{let X={};for(let z=0;z<J.length;z++)X[J[z]]=K[z];return X})}function oy(I=10){let G="";for(let K=0;K<I;K++)G+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return G}function Cz(I){return JSON.stringify(I)}function jF(I){return I.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Tz="captureStackTrace"in Error?Error.captureStackTrace:(...I)=>{};function YJ(I){return typeof I==="object"&&I!==null&&!Array.isArray(I)}var vF=kQ(()=>{if(JJ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(I){return!1}});function QX(I){if(YJ(I)===!1)return!1;let J=I.constructor;if(J===void 0)return!0;if(typeof J!=="function")return!0;let G=J.prototype;if(YJ(G)===!1)return!1;if(Object.prototype.hasOwnProperty.call(G,"isPrototypeOf")===!1)return!1;return!0}function BF(I){if(QX(I))return{...I};if(Array.isArray(I))return[...I];if(I instanceof Map)return new Map(I);if(I instanceof Set)return new Set(I);return I}function iy(I){let J=0;for(let G in I)if(Object.prototype.hasOwnProperty.call(I,G))J++;return J}var ry=(I)=>{let J=typeof I;switch(J){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(I)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(I))return"array";if(I===null)return"null";if(I.then&&typeof I.then==="function"&&I.catch&&typeof I.catch==="function")return"promise";if(typeof Map<"u"&&I instanceof Map)return"map";if(typeof Set<"u"&&I instanceof Set)return"set";if(typeof Date<"u"&&I instanceof Date)return"date";if(typeof File<"u"&&I instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${J}`)}},O2=new Set(["string","number","symbol"]),NF=new Set(["string","number","bigint","boolean","symbol","undefined"]);function f4(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function y6(I,J,G){let K=new I._zod.constr(J??I._zod.def);if(!J||G?.parent)K._zod.parent=I;return K}function O$(I){let J=I;if(!J)return{};if(typeof J==="string")return{error:()=>J};if(J?.message!==void 0){if(J?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");J.error=J.message}if(delete J.message,typeof J.error==="string")return{...J,error:()=>J.error};return J}function ty(I){let J;return new Proxy({},{get(G,K,X){return J??(J=I()),Reflect.get(J,K,X)},set(G,K,X,z){return J??(J=I()),Reflect.set(J,K,X,z)},has(G,K){return J??(J=I()),Reflect.has(J,K)},deleteProperty(G,K){return J??(J=I()),Reflect.deleteProperty(J,K)},ownKeys(G){return J??(J=I()),Reflect.ownKeys(J)},getOwnPropertyDescriptor(G,K){return J??(J=I()),Reflect.getOwnPropertyDescriptor(J,K)},defineProperty(G,K,X){return J??(J=I()),Reflect.defineProperty(J,K,X)}})}function J$(I){if(typeof I==="bigint")return I.toString()+"n";if(typeof I==="string")return`"${I}"`;return`${I}`}function kF(I){return Object.keys(I).filter((J)=>{return I[J]._zod.optin==="optional"&&I[J]._zod.optout==="optional"})}var gF={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},xF={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function ay(I,J){let G=I._zod.def,K=G.checks;if(K&&K.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let z=ZI(I._zod.def,{get shape(){let O={};for(let L in J){if(!(L in G.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;O[L]=G.shape[L]}return JX(this,"shape",O),O},checks:[]});return y6(I,z)}function sy(I,J){let G=I._zod.def,K=G.checks;if(K&&K.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let z=ZI(I._zod.def,{get shape(){let O={...I._zod.def.shape};for(let L in J){if(!(L in G.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;delete O[L]}return JX(this,"shape",O),O},checks:[]});return y6(I,z)}function ey(I,J){if(!QX(J))throw Error("Invalid input to extend: expected a plain object");let G=I._zod.def.checks;if(G&&G.length>0){let z=I._zod.def.shape;for(let O in J)if(Object.getOwnPropertyDescriptor(z,O)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let X=ZI(I._zod.def,{get shape(){let z={...I._zod.def.shape,...J};return JX(this,"shape",z),z}});return y6(I,X)}function $u(I,J){if(!QX(J))throw Error("Invalid input to safeExtend: expected a plain object");let G=ZI(I._zod.def,{get shape(){let K={...I._zod.def.shape,...J};return JX(this,"shape",K),K}});return y6(I,G)}function Uu(I,J){if(I._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let G=ZI(I._zod.def,{get shape(){let K={...I._zod.def.shape,...J._zod.def.shape};return JX(this,"shape",K),K},get catchall(){return J._zod.def.catchall},checks:J._zod.def.checks??[]});return y6(I,G)}function Iu(I,J,G){let X=J._zod.def.checks;if(X&&X.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let O=ZI(J._zod.def,{get shape(){let L=J._zod.def.shape,j={...L};if(G)for(let E in G){if(!(E in L))throw Error(`Unrecognized key: "${E}"`);if(!G[E])continue;j[E]=I?new I({type:"optional",innerType:L[E]}):L[E]}else for(let E in L)j[E]=I?new I({type:"optional",innerType:L[E]}):L[E];return JX(this,"shape",j),j},checks:[]});return y6(J,O)}function Xu(I,J,G){let K=ZI(J._zod.def,{get shape(){let X=J._zod.def.shape,z={...X};if(G)for(let O in G){if(!(O in z))throw Error(`Unrecognized key: "${O}"`);if(!G[O])continue;z[O]=new I({type:"nonoptional",innerType:X[O]})}else for(let O in X)z[O]=new I({type:"nonoptional",innerType:X[O]});return JX(this,"shape",z),z}});return y6(J,K)}function YX(I,J=0){if(I.aborted===!0)return!0;for(let G=J;G<I.issues.length;G++)if(I.issues[G]?.continue!==!0)return!0;return!1}function wF(I,J=0){if(I.aborted===!0)return!0;for(let G=J;G<I.issues.length;G++)if(I.issues[G]?.continue===!1)return!0;return!1}function t6(I,J){return J.map((G)=>{var K;return(K=G).path??(K.path=[]),G.path.unshift(I),G})}function Q2(I){return typeof I==="string"?I:I?.message}function u6(I,J,G){let K=I.message?I.message:Q2(I.inst?._zod.def?.error?.(I))??Q2(J?.error?.(I))??Q2(G.customError?.(I))??Q2(G.localeError?.(I))??"Invalid input",{inst:X,continue:z,input:O,...L}=I;if(L.path??(L.path=[]),L.message=K,J?.reportInput)L.input=O;return L}function Z2(I){if(I instanceof Set)return"set";if(I instanceof Map)return"map";if(I instanceof File)return"file";return"unknown"}function z2(I){if(Array.isArray(I))return"array";if(typeof I==="string")return"string";return"unknown"}function Q$(I){let J=typeof I;switch(J){case"number":return Number.isNaN(I)?"nan":"number";case"object":{if(I===null)return"null";if(Array.isArray(I))return"array";let G=I;if(G&&Object.getPrototypeOf(G)!==Object.prototype&&"constructor"in G&&G.constructor)return G.constructor.name}}return J}function gQ(...I){let[J,G,K]=I;if(typeof J==="string")return{message:J,code:"custom",input:G,inst:K};return{...J}}function Ju(I){return Object.entries(I).filter(([J,G])=>{return Number.isNaN(Number.parseInt(J,10))}).map((J)=>J[1])}function TS(I){let J=atob(I),G=new Uint8Array(J.length);for(let K=0;K<J.length;K++)G[K]=J.charCodeAt(K);return G}function RS(I){let J="";for(let G=0;G<I.length;G++)J+=String.fromCharCode(I[G]);return btoa(J)}function Qu(I){let J=I.replace(/-/g,"+").replace(/_/g,"/"),G="=".repeat((4-J.length%4)%4);return TS(J+G)}function Yu(I){return RS(I).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Gu(I){let J=I.replace(/^0x/,"");if(J.length%2!==0)throw Error("Invalid hex string length");let G=new Uint8Array(J.length/2);for(let K=0;K<J.length;K+=2)G[K/2]=Number.parseInt(J.slice(K,K+2),16);return G}function Ou(I){return Array.from(I).map((J)=>J.toString(16).padStart(2,"0")).join("")}class PS{constructor(...I){}}var ES=(I,J)=>{I.name="$ZodError",Object.defineProperty(I,"_zod",{value:I._zod,enumerable:!1}),Object.defineProperty(I,"issues",{value:J,enumerable:!1}),I.message=JSON.stringify(J,NQ,2),Object.defineProperty(I,"toString",{value:()=>I.message,enumerable:!1})},K2=j0("$ZodError",ES),a6=j0("$ZodError",ES,{Parent:Error});function V2(I,J=(G)=>G.message){let G={},K=[];for(let X of I.issues)if(X.path.length>0)G[X.path[0]]=G[X.path[0]]||[],G[X.path[0]].push(J(X));else K.push(J(X));return{formErrors:K,fieldErrors:G}}function D2(I,J=(G)=>G.message){let G={_errors:[]},K=(X,z=[])=>{for(let O of X.issues)if(O.code==="invalid_union"&&O.errors.length)O.errors.map((L)=>K({issues:L},[...z,...O.path]));else if(O.code==="invalid_key")K({issues:O.issues},[...z,...O.path]);else if(O.code==="invalid_element")K({issues:O.issues},[...z,...O.path]);else{let L=[...z,...O.path];if(L.length===0)G._errors.push(J(O));else{let j=G,E=0;while(E<L.length){let _=L[E];if(E!==L.length-1)j[_]=j[_]||{_errors:[]};else j[_]=j[_]||{_errors:[]},j[_]._errors.push(J(O));j=j[_],E++}}}};return K(I),G}function fF(I,J=(G)=>G.message){let G={errors:[]},K=(X,z=[])=>{var O,L;for(let j of X.issues)if(j.code==="invalid_union"&&j.errors.length)j.errors.map((E)=>K({issues:E},[...z,...j.path]));else if(j.code==="invalid_key")K({issues:j.issues},[...z,...j.path]);else if(j.code==="invalid_element")K({issues:j.issues},[...z,...j.path]);else{let E=[...z,...j.path];if(E.length===0){G.errors.push(J(j));continue}let _=G,q=0;while(q<E.length){let P=E[q],v=q===E.length-1;if(typeof P==="string")_.properties??(_.properties={}),(O=_.properties)[P]??(O[P]={errors:[]}),_=_.properties[P];else _.items??(_.items=[]),(L=_.items)[P]??(L[P]={errors:[]}),_=_.items[P];if(v)_.errors.push(J(j));q++}}};return K(I),G}function _S(I){let J=[],G=I.map((K)=>typeof K==="object"?K.key:K);for(let K of G)if(typeof K==="number")J.push(`[${K}]`);else if(typeof K==="symbol")J.push(`[${JSON.stringify(String(K))}]`);else if(/[^\w$]/.test(K))J.push(`[${JSON.stringify(K)}]`);else{if(J.length)J.push(".");J.push(K)}return J.join("")}function yF(I){let J=[],G=[...I.issues].sort((K,X)=>(K.path??[]).length-(X.path??[]).length);for(let K of G)if(J.push(`✖ ${K.message}`),K.path?.length)J.push(` → at ${_S(K.path)}`);return J.join(`
|
|
257
|
+
`)}var xQ=(I)=>(J,G,K,X)=>{let z=K?{...K,async:!1}:{async:!1},O=J._zod.run({value:G,issues:[]},z);if(O instanceof Promise)throw new v1;if(O.issues.length){let L=new(X?.Err??I)(O.issues.map((j)=>u6(j,z,rU())));throw Tz(L,X?.callee),L}return O.value},Rz=xQ(a6),wQ=(I)=>async(J,G,K,X)=>{let z=K?{...K,async:!0}:{async:!0},O=J._zod.run({value:G,issues:[]},z);if(O instanceof Promise)O=await O;if(O.issues.length){let L=new(X?.Err??I)(O.issues.map((j)=>u6(j,z,rU())));throw Tz(L,X?.callee),L}return O.value},Pz=wQ(a6),fQ=(I)=>(J,G,K)=>{let X=K?{...K,async:!1}:{async:!1},z=J._zod.run({value:G,issues:[]},X);if(z instanceof Promise)throw new v1;return z.issues.length?{success:!1,error:new(I??K2)(z.issues.map((O)=>u6(O,X,rU())))}:{success:!0,data:z.value}},uF=fQ(a6),yQ=(I)=>async(J,G,K)=>{let X=K?{...K,async:!0}:{async:!0},z=J._zod.run({value:G,issues:[]},X);if(z instanceof Promise)z=await z;return z.issues.length?{success:!1,error:new I(z.issues.map((O)=>u6(O,X,rU())))}:{success:!0,data:z.value}},bF=yQ(a6),Ez=(I)=>(J,G,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return xQ(I)(J,G,X)},zu=Ez(a6),_z=(I)=>(J,G,K)=>{return xQ(I)(J,G,K)},Ku=_z(a6),Sz=(I)=>async(J,G,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return wQ(I)(J,G,X)},Vu=Sz(a6),jz=(I)=>async(J,G,K)=>{return wQ(I)(J,G,K)},Du=jz(a6),vz=(I)=>(J,G,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return fQ(I)(J,G,X)},Wu=vz(a6),Bz=(I)=>(J,G,K)=>{return fQ(I)(J,G,K)},Fu=Bz(a6),Nz=(I)=>async(J,G,K)=>{let X=K?{...K,direction:"backward"}:{direction:"backward"};return yQ(I)(J,G,X)},Hu=Nz(a6),kz=(I)=>async(J,G,K)=>{return yQ(I)(J,G,K)},Lu=kz(a6);var M4={};g6(M4,{xid:()=>mF,uuid7:()=>Cu,uuid6:()=>qu,uuid4:()=>Au,uuid:()=>GJ,uppercase:()=>W9,unicodeEmail:()=>SS,undefined:()=>V9,ulid:()=>pF,time:()=>Q9,string:()=>G9,sha512_hex:()=>pu,sha512_base64url:()=>lu,sha512_base64:()=>mu,sha384_hex:()=>bu,sha384_base64url:()=>cu,sha384_base64:()=>hu,sha256_hex:()=>fu,sha256_base64url:()=>uu,sha256_base64:()=>yu,sha1_hex:()=>gu,sha1_base64url:()=>wu,sha1_base64:()=>xu,rfc5322Email:()=>Ru,number:()=>W2,null:()=>K9,nanoid:()=>dF,md5_hex:()=>Bu,md5_base64url:()=>ku,md5_base64:()=>Nu,mac:()=>sF,lowercase:()=>D9,ksuid:()=>lF,ipv6:()=>aF,ipv4:()=>tF,integer:()=>Z9,idnEmail:()=>Pu,httpProtocol:()=>I9,html5Email:()=>Tu,hostname:()=>Su,hex:()=>vu,guid:()=>oF,extendedDuration:()=>Mu,emoji:()=>rF,email:()=>iF,e164:()=>X9,duration:()=>nF,domain:()=>ju,datetime:()=>Y9,date:()=>J9,cuid2:()=>cF,cuid:()=>hF,cidrv6:()=>$9,cidrv4:()=>eF,browserEmail:()=>Eu,boolean:()=>z9,bigint:()=>O9,base64url:()=>gz,base64:()=>U9});var hF=/^[cC][0-9a-z]{6,}$/,cF=/^[0-9a-z]+$/,pF=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,mF=/^[0-9a-vA-V]{20}$/,lF=/^[A-Za-z0-9]{27}$/,dF=/^[a-zA-Z0-9_-]{21}$/,nF=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Mu=/^[-+]?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)?)??$/,oF=/^([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})$/,GJ=(I)=>{if(!I)return/^([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)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${I}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},Au=GJ(4),qu=GJ(6),Cu=GJ(7),iF=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Tu=/^[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])?)*$/,Ru=/^(([^<>()\[\]\\.,;:\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,}))$/,SS=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Pu=SS,Eu=/^[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])?)*$/,_u="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function rF(){return new RegExp(_u,"u")}var tF=/^(?:(?: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])$/,aF=/^(([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}|:))$/,sF=(I)=>{let J=f4(I??":");return new RegExp(`^(?:[0-9A-F]{2}${J}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${J}){5}[0-9a-f]{2}$`)},eF=/^((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])$/,$9=/^(([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])$/,U9=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,gz=/^[A-Za-z0-9_-]*$/,Su=/^(?=.{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])?)*\.?$/,ju=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,I9=/^https?$/,X9=/^\+[1-9]\d{6,14}$/,jS="(?:(?:\\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])))",J9=new RegExp(`^${jS}$`);function vS(I){return typeof I.precision==="number"?I.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":I.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${I.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Q9(I){return new RegExp(`^${vS(I)}$`)}function Y9(I){let J=vS({precision:I.precision}),G=["Z"];if(I.local)G.push("");if(I.offset)G.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let K=`${J}(?:${G.join("|")})`;return new RegExp(`^${jS}T(?:${K})$`)}var G9=(I)=>{let J=I?`[\\s\\S]{${I?.minimum??0},${I?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${J}$`)},O9=/^-?\d+n?$/,Z9=/^-?\d+$/,W2=/^-?\d+(?:\.\d+)?$/,z9=/^(?:true|false)$/i,K9=/^null$/i;var V9=/^undefined$/i;var D9=/^[^A-Z]*$/,W9=/^[^a-z]*$/,vu=/^[0-9a-fA-F]*$/;function F2(I,J){return new RegExp(`^[A-Za-z0-9+/]{${I}}${J}$`)}function H2(I){return new RegExp(`^[A-Za-z0-9_-]{${I}}$`)}var Bu=/^[0-9a-fA-F]{32}$/,Nu=F2(22,"=="),ku=H2(22),gu=/^[0-9a-fA-F]{40}$/,xu=F2(27,"="),wu=H2(27),fu=/^[0-9a-fA-F]{64}$/,yu=F2(43,"="),uu=H2(43),bu=/^[0-9a-fA-F]{96}$/,hu=F2(64,""),cu=H2(64),pu=/^[0-9a-fA-F]{128}$/,mu=F2(86,"=="),lu=H2(86);var FU=j0("$ZodCheck",(I,J)=>{var G;I._zod??(I._zod={}),I._zod.def=J,(G=I._zod).onattach??(G.onattach=[])}),NS={number:"number",bigint:"bigint",object:"date"},xz=j0("$ZodCheckLessThan",(I,J)=>{FU.init(I,J);let G=NS[typeof J.value];I._zod.onattach.push((K)=>{let X=K._zod.bag,z=(J.inclusive?X.maximum:X.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(J.value<z)if(J.inclusive)X.maximum=J.value;else X.exclusiveMaximum=J.value}),I._zod.check=(K)=>{if(J.inclusive?K.value<=J.value:K.value<J.value)return;K.issues.push({origin:G,code:"too_big",maximum:typeof J.value==="object"?J.value.getTime():J.value,input:K.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),wz=j0("$ZodCheckGreaterThan",(I,J)=>{FU.init(I,J);let G=NS[typeof J.value];I._zod.onattach.push((K)=>{let X=K._zod.bag,z=(J.inclusive?X.minimum:X.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(J.value>z)if(J.inclusive)X.minimum=J.value;else X.exclusiveMinimum=J.value}),I._zod.check=(K)=>{if(J.inclusive?K.value>=J.value:K.value>J.value)return;K.issues.push({origin:G,code:"too_small",minimum:typeof J.value==="object"?J.value.getTime():J.value,input:K.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),F9=j0("$ZodCheckMultipleOf",(I,J)=>{FU.init(I,J),I._zod.onattach.push((G)=>{var K;(K=G._zod.bag).multipleOf??(K.multipleOf=J.value)}),I._zod.check=(G)=>{if(typeof G.value!==typeof J.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof G.value==="bigint"?G.value%J.value===BigInt(0):SF(G.value,J.value)===0)return;G.issues.push({origin:typeof G.value,code:"not_multiple_of",divisor:J.value,input:G.value,inst:I,continue:!J.abort})}}),H9=j0("$ZodCheckNumberFormat",(I,J)=>{FU.init(I,J),J.format=J.format||"float64";let G=J.format?.includes("int"),K=G?"int":"number",[X,z]=gF[J.format];I._zod.onattach.push((O)=>{let L=O._zod.bag;if(L.format=J.format,L.minimum=X,L.maximum=z,G)L.pattern=Z9}),I._zod.check=(O)=>{let L=O.value;if(G){if(!Number.isInteger(L)){O.issues.push({expected:K,format:J.format,code:"invalid_type",continue:!1,input:L,inst:I});return}if(!Number.isSafeInteger(L)){if(L>0)O.issues.push({input:L,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:K,inclusive:!0,continue:!J.abort});else O.issues.push({input:L,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:K,inclusive:!0,continue:!J.abort});return}}if(L<X)O.issues.push({origin:"number",input:L,code:"too_small",minimum:X,inclusive:!0,inst:I,continue:!J.abort});if(L>z)O.issues.push({origin:"number",input:L,code:"too_big",maximum:z,inclusive:!0,inst:I,continue:!J.abort})}}),L9=j0("$ZodCheckBigIntFormat",(I,J)=>{FU.init(I,J);let[G,K]=xF[J.format];I._zod.onattach.push((X)=>{let z=X._zod.bag;z.format=J.format,z.minimum=G,z.maximum=K}),I._zod.check=(X)=>{let z=X.value;if(z<G)X.issues.push({origin:"bigint",input:z,code:"too_small",minimum:G,inclusive:!0,inst:I,continue:!J.abort});if(z>K)X.issues.push({origin:"bigint",input:z,code:"too_big",maximum:K,inclusive:!0,inst:I,continue:!J.abort})}}),M9=j0("$ZodCheckMaxSize",(I,J)=>{var G;FU.init(I,J),(G=I._zod.def).when??(G.when=(K)=>{let X=K.value;return!XX(X)&&X.size!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)K._zod.bag.maximum=J.maximum}),I._zod.check=(K)=>{let X=K.value;if(X.size<=J.maximum)return;K.issues.push({origin:Z2(X),code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),A9=j0("$ZodCheckMinSize",(I,J)=>{var G;FU.init(I,J),(G=I._zod.def).when??(G.when=(K)=>{let X=K.value;return!XX(X)&&X.size!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)K._zod.bag.minimum=J.minimum}),I._zod.check=(K)=>{let X=K.value;if(X.size>=J.minimum)return;K.issues.push({origin:Z2(X),code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),q9=j0("$ZodCheckSizeEquals",(I,J)=>{var G;FU.init(I,J),(G=I._zod.def).when??(G.when=(K)=>{let X=K.value;return!XX(X)&&X.size!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.minimum=J.size,X.maximum=J.size,X.size=J.size}),I._zod.check=(K)=>{let X=K.value,z=X.size;if(z===J.size)return;let O=z>J.size;K.issues.push({origin:Z2(X),...O?{code:"too_big",maximum:J.size}:{code:"too_small",minimum:J.size},inclusive:!0,exact:!0,input:K.value,inst:I,continue:!J.abort})}}),C9=j0("$ZodCheckMaxLength",(I,J)=>{var G;FU.init(I,J),(G=I._zod.def).when??(G.when=(K)=>{let X=K.value;return!XX(X)&&X.length!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)K._zod.bag.maximum=J.maximum}),I._zod.check=(K)=>{let X=K.value;if(X.length<=J.maximum)return;let O=z2(X);K.issues.push({origin:O,code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),T9=j0("$ZodCheckMinLength",(I,J)=>{var G;FU.init(I,J),(G=I._zod.def).when??(G.when=(K)=>{let X=K.value;return!XX(X)&&X.length!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)K._zod.bag.minimum=J.minimum}),I._zod.check=(K)=>{let X=K.value;if(X.length>=J.minimum)return;let O=z2(X);K.issues.push({origin:O,code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),R9=j0("$ZodCheckLengthEquals",(I,J)=>{var G;FU.init(I,J),(G=I._zod.def).when??(G.when=(K)=>{let X=K.value;return!XX(X)&&X.length!==void 0}),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.minimum=J.length,X.maximum=J.length,X.length=J.length}),I._zod.check=(K)=>{let X=K.value,z=X.length;if(z===J.length)return;let O=z2(X),L=z>J.length;K.issues.push({origin:O,...L?{code:"too_big",maximum:J.length}:{code:"too_small",minimum:J.length},inclusive:!0,exact:!0,input:K.value,inst:I,continue:!J.abort})}}),uQ=j0("$ZodCheckStringFormat",(I,J)=>{var G,K;if(FU.init(I,J),I._zod.onattach.push((X)=>{let z=X._zod.bag;if(z.format=J.format,J.pattern)z.patterns??(z.patterns=new Set),z.patterns.add(J.pattern)}),J.pattern)(G=I._zod).check??(G.check=(X)=>{if(J.pattern.lastIndex=0,J.pattern.test(X.value))return;X.issues.push({origin:"string",code:"invalid_format",format:J.format,input:X.value,...J.pattern?{pattern:J.pattern.toString()}:{},inst:I,continue:!J.abort})});else(K=I._zod).check??(K.check=()=>{})}),P9=j0("$ZodCheckRegex",(I,J)=>{uQ.init(I,J),I._zod.check=(G)=>{if(J.pattern.lastIndex=0,J.pattern.test(G.value))return;G.issues.push({origin:"string",code:"invalid_format",format:"regex",input:G.value,pattern:J.pattern.toString(),inst:I,continue:!J.abort})}}),E9=j0("$ZodCheckLowerCase",(I,J)=>{J.pattern??(J.pattern=D9),uQ.init(I,J)}),_9=j0("$ZodCheckUpperCase",(I,J)=>{J.pattern??(J.pattern=W9),uQ.init(I,J)}),S9=j0("$ZodCheckIncludes",(I,J)=>{FU.init(I,J);let G=f4(J.includes),K=new RegExp(typeof J.position==="number"?`^.{${J.position}}${G}`:G);J.pattern=K,I._zod.onattach.push((X)=>{let z=X._zod.bag;z.patterns??(z.patterns=new Set),z.patterns.add(K)}),I._zod.check=(X)=>{if(X.value.includes(J.includes,J.position))return;X.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:J.includes,input:X.value,inst:I,continue:!J.abort})}}),j9=j0("$ZodCheckStartsWith",(I,J)=>{FU.init(I,J);let G=new RegExp(`^${f4(J.prefix)}.*`);J.pattern??(J.pattern=G),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(G)}),I._zod.check=(K)=>{if(K.value.startsWith(J.prefix))return;K.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:J.prefix,input:K.value,inst:I,continue:!J.abort})}}),v9=j0("$ZodCheckEndsWith",(I,J)=>{FU.init(I,J);let G=new RegExp(`.*${f4(J.suffix)}$`);J.pattern??(J.pattern=G),I._zod.onattach.push((K)=>{let X=K._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(G)}),I._zod.check=(K)=>{if(K.value.endsWith(J.suffix))return;K.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:J.suffix,input:K.value,inst:I,continue:!J.abort})}});function BS(I,J,G){if(I.issues.length)J.issues.push(...t6(G,I.issues))}var B9=j0("$ZodCheckProperty",(I,J)=>{FU.init(I,J),I._zod.check=(G)=>{let K=J.schema._zod.run({value:G.value[J.property],issues:[]},{});if(K instanceof Promise)return K.then((X)=>BS(X,G,J.property));BS(K,G,J.property);return}}),N9=j0("$ZodCheckMimeType",(I,J)=>{FU.init(I,J);let G=new Set(J.mime);I._zod.onattach.push((K)=>{K._zod.bag.mime=J.mime}),I._zod.check=(K)=>{if(G.has(K.value.type))return;K.issues.push({code:"invalid_value",values:J.mime,input:K.value.type,inst:I,continue:!J.abort})}}),k9=j0("$ZodCheckOverwrite",(I,J)=>{FU.init(I,J),I._zod.check=(G)=>{G.value=J.tx(G.value)}});class fz{constructor(I=[]){if(this.content=[],this.indent=0,this)this.args=I}indented(I){this.indent+=1,I(this),this.indent-=1}write(I){if(typeof I==="function"){I(this,{execution:"sync"}),I(this,{execution:"async"});return}let G=I.split(`
|
|
258
|
+
`).filter((z)=>z),K=Math.min(...G.map((z)=>z.length-z.trimStart().length)),X=G.map((z)=>z.slice(K)).map((z)=>" ".repeat(this.indent*2)+z);for(let z of X)this.content.push(z)}compile(){let I=Function,J=this?.args,K=[...(this?.content??[""]).map((X)=>` ${X}`)];return new I(...J,K.join(`
|
|
259
|
+
`))}}var g9={major:4,minor:4,patch:3};var _$=j0("$ZodType",(I,J)=>{var G;I??(I={}),I._zod.def=J,I._zod.bag=I._zod.bag||{},I._zod.version=g9;let K=[...I._zod.def.checks??[]];if(I._zod.traits.has("$ZodCheck"))K.unshift(I);for(let X of K)for(let z of X._zod.onattach)z(I);if(K.length===0)(G=I._zod).deferred??(G.deferred=[]),I._zod.deferred?.push(()=>{I._zod.run=I._zod.parse});else{let X=(O,L,j)=>{let E=YX(O),_;for(let q of L){if(q._zod.def.when){if(wF(O))continue;if(!q._zod.def.when(O))continue}else if(E)continue;let P=O.issues.length,v=q._zod.check(O);if(v instanceof Promise&&j?.async===!1)throw new v1;if(_||v instanceof Promise)_=(_??Promise.resolve()).then(async()=>{if(await v,O.issues.length===P)return;if(!E)E=YX(O,P)});else{if(O.issues.length===P)continue;if(!E)E=YX(O,P)}}if(_)return _.then(()=>{return O});return O},z=(O,L,j)=>{if(YX(O))return O.aborted=!0,O;let E=X(L,K,j);if(E instanceof Promise){if(j.async===!1)throw new v1;return E.then((_)=>I._zod.parse(_,j))}return I._zod.parse(E,j)};I._zod.run=(O,L)=>{if(L.skipChecks)return I._zod.parse(O,L);if(L.direction==="backward"){let E=I._zod.parse({value:O.value,issues:[]},{...L,skipChecks:!0});if(E instanceof Promise)return E.then((_)=>{return z(_,O,L)});return z(E,O,L)}let j=I._zod.parse(O,L);if(j instanceof Promise){if(L.async===!1)throw new v1;return j.then((E)=>X(E,K,L))}return X(j,K,L)}}c$(I,"~standard",()=>({validate:(X)=>{try{let z=uF(I,X);return z.success?{value:z.data}:{issues:z.error?.issues}}catch(z){return bF(I,X).then((O)=>O.success?{value:O.data}:{issues:O.error?.issues})}},vendor:"zod",version:1}))}),OJ=j0("$ZodString",(I,J)=>{_$.init(I,J),I._zod.pattern=[...I?._zod.bag?.patterns??[]].pop()??G9(I._zod.bag),I._zod.parse=(G,K)=>{if(J.coerce)try{G.value=String(G.value)}catch(X){}if(typeof G.value==="string")return G;return G.issues.push({expected:"string",code:"invalid_type",input:G.value,inst:I}),G}}),ZU=j0("$ZodStringFormat",(I,J)=>{uQ.init(I,J),OJ.init(I,J)}),w9=j0("$ZodGUID",(I,J)=>{J.pattern??(J.pattern=oF),ZU.init(I,J)}),f9=j0("$ZodUUID",(I,J)=>{if(J.version){let K={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[J.version];if(K===void 0)throw Error(`Invalid UUID version: "${J.version}"`);J.pattern??(J.pattern=GJ(K))}else J.pattern??(J.pattern=GJ());ZU.init(I,J)}),y9=j0("$ZodEmail",(I,J)=>{J.pattern??(J.pattern=iF),ZU.init(I,J)}),u9=j0("$ZodURL",(I,J)=>{ZU.init(I,J),I._zod.check=(G)=>{try{let K=G.value.trim();if(!J.normalize&&J.protocol?.source===I9.source){if(!/^https?:\/\//i.test(K)){G.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:G.value,inst:I,continue:!J.abort});return}}let X=new URL(K);if(J.hostname){if(J.hostname.lastIndex=0,!J.hostname.test(X.hostname))G.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:J.hostname.source,input:G.value,inst:I,continue:!J.abort})}if(J.protocol){if(J.protocol.lastIndex=0,!J.protocol.test(X.protocol.endsWith(":")?X.protocol.slice(0,-1):X.protocol))G.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:J.protocol.source,input:G.value,inst:I,continue:!J.abort})}if(J.normalize)G.value=X.href;else G.value=K;return}catch(K){G.issues.push({code:"invalid_format",format:"url",input:G.value,inst:I,continue:!J.abort})}}}),b9=j0("$ZodEmoji",(I,J)=>{J.pattern??(J.pattern=rF()),ZU.init(I,J)}),h9=j0("$ZodNanoID",(I,J)=>{J.pattern??(J.pattern=dF),ZU.init(I,J)}),c9=j0("$ZodCUID",(I,J)=>{J.pattern??(J.pattern=hF),ZU.init(I,J)}),p9=j0("$ZodCUID2",(I,J)=>{J.pattern??(J.pattern=cF),ZU.init(I,J)}),m9=j0("$ZodULID",(I,J)=>{J.pattern??(J.pattern=pF),ZU.init(I,J)}),l9=j0("$ZodXID",(I,J)=>{J.pattern??(J.pattern=mF),ZU.init(I,J)}),d9=j0("$ZodKSUID",(I,J)=>{J.pattern??(J.pattern=lF),ZU.init(I,J)}),n9=j0("$ZodISODateTime",(I,J)=>{J.pattern??(J.pattern=Y9(J)),ZU.init(I,J)}),o9=j0("$ZodISODate",(I,J)=>{J.pattern??(J.pattern=J9),ZU.init(I,J)}),i9=j0("$ZodISOTime",(I,J)=>{J.pattern??(J.pattern=Q9(J)),ZU.init(I,J)}),r9=j0("$ZodISODuration",(I,J)=>{J.pattern??(J.pattern=nF),ZU.init(I,J)}),t9=j0("$ZodIPv4",(I,J)=>{J.pattern??(J.pattern=tF),ZU.init(I,J),I._zod.bag.format="ipv4"}),a9=j0("$ZodIPv6",(I,J)=>{J.pattern??(J.pattern=aF),ZU.init(I,J),I._zod.bag.format="ipv6",I._zod.check=(G)=>{try{new URL(`http://[${G.value}]`)}catch{G.issues.push({code:"invalid_format",format:"ipv6",input:G.value,inst:I,continue:!J.abort})}}}),s9=j0("$ZodMAC",(I,J)=>{J.pattern??(J.pattern=sF(J.delimiter)),ZU.init(I,J),I._zod.bag.format="mac"}),e9=j0("$ZodCIDRv4",(I,J)=>{J.pattern??(J.pattern=eF),ZU.init(I,J)}),$H=j0("$ZodCIDRv6",(I,J)=>{J.pattern??(J.pattern=$9),ZU.init(I,J),I._zod.check=(G)=>{let K=G.value.split("/");try{if(K.length!==2)throw Error();let[X,z]=K;if(!z)throw Error();let O=Number(z);if(`${O}`!==z)throw Error();if(O<0||O>128)throw Error();new URL(`http://[${X}]`)}catch{G.issues.push({code:"invalid_format",format:"cidrv6",input:G.value,inst:I,continue:!J.abort})}}});function UH(I){if(I==="")return!0;if(/\s/.test(I))return!1;if(I.length%4!==0)return!1;try{return atob(I),!0}catch{return!1}}var IH=j0("$ZodBase64",(I,J)=>{J.pattern??(J.pattern=U9),ZU.init(I,J),I._zod.bag.contentEncoding="base64",I._zod.check=(G)=>{if(UH(G.value))return;G.issues.push({code:"invalid_format",format:"base64",input:G.value,inst:I,continue:!J.abort})}});function oS(I){if(!gz.test(I))return!1;let J=I.replace(/[-_]/g,(K)=>K==="-"?"+":"/"),G=J.padEnd(Math.ceil(J.length/4)*4,"=");return UH(G)}var XH=j0("$ZodBase64URL",(I,J)=>{J.pattern??(J.pattern=gz),ZU.init(I,J),I._zod.bag.contentEncoding="base64url",I._zod.check=(G)=>{if(oS(G.value))return;G.issues.push({code:"invalid_format",format:"base64url",input:G.value,inst:I,continue:!J.abort})}}),JH=j0("$ZodE164",(I,J)=>{J.pattern??(J.pattern=X9),ZU.init(I,J)});function iS(I,J=null){try{let G=I.split(".");if(G.length!==3)return!1;let[K]=G;if(!K)return!1;let X=JSON.parse(atob(K));if("typ"in X&&X?.typ!=="JWT")return!1;if(!X.alg)return!1;if(J&&(!("alg"in X)||X.alg!==J))return!1;return!0}catch{return!1}}var QH=j0("$ZodJWT",(I,J)=>{ZU.init(I,J),I._zod.check=(G)=>{if(iS(G.value,J.alg))return;G.issues.push({code:"invalid_format",format:"jwt",input:G.value,inst:I,continue:!J.abort})}}),YH=j0("$ZodCustomStringFormat",(I,J)=>{ZU.init(I,J),I._zod.check=(G)=>{if(J.fn(G.value))return;G.issues.push({code:"invalid_format",format:J.format,input:G.value,inst:I,continue:!J.abort})}}),cz=j0("$ZodNumber",(I,J)=>{_$.init(I,J),I._zod.pattern=I._zod.bag.pattern??W2,I._zod.parse=(G,K)=>{if(J.coerce)try{G.value=Number(G.value)}catch(O){}let X=G.value;if(typeof X==="number"&&!Number.isNaN(X)&&Number.isFinite(X))return G;let z=typeof X==="number"?Number.isNaN(X)?"NaN":!Number.isFinite(X)?"Infinity":void 0:void 0;return G.issues.push({expected:"number",code:"invalid_type",input:X,inst:I,...z?{received:z}:{}}),G}}),GH=j0("$ZodNumberFormat",(I,J)=>{H9.init(I,J),cz.init(I,J)}),L2=j0("$ZodBoolean",(I,J)=>{_$.init(I,J),I._zod.pattern=z9,I._zod.parse=(G,K)=>{if(J.coerce)try{G.value=Boolean(G.value)}catch(z){}let X=G.value;if(typeof X==="boolean")return G;return G.issues.push({expected:"boolean",code:"invalid_type",input:X,inst:I}),G}}),pz=j0("$ZodBigInt",(I,J)=>{_$.init(I,J),I._zod.pattern=O9,I._zod.parse=(G,K)=>{if(J.coerce)try{G.value=BigInt(G.value)}catch(X){}if(typeof G.value==="bigint")return G;return G.issues.push({expected:"bigint",code:"invalid_type",input:G.value,inst:I}),G}}),OH=j0("$ZodBigIntFormat",(I,J)=>{L9.init(I,J),pz.init(I,J)}),ZH=j0("$ZodSymbol",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(typeof X==="symbol")return G;return G.issues.push({expected:"symbol",code:"invalid_type",input:X,inst:I}),G}}),zH=j0("$ZodUndefined",(I,J)=>{_$.init(I,J),I._zod.pattern=V9,I._zod.values=new Set([void 0]),I._zod.parse=(G,K)=>{let X=G.value;if(typeof X>"u")return G;return G.issues.push({expected:"undefined",code:"invalid_type",input:X,inst:I}),G}}),KH=j0("$ZodNull",(I,J)=>{_$.init(I,J),I._zod.pattern=K9,I._zod.values=new Set([null]),I._zod.parse=(G,K)=>{let X=G.value;if(X===null)return G;return G.issues.push({expected:"null",code:"invalid_type",input:X,inst:I}),G}}),VH=j0("$ZodAny",(I,J)=>{_$.init(I,J),I._zod.parse=(G)=>G}),DH=j0("$ZodUnknown",(I,J)=>{_$.init(I,J),I._zod.parse=(G)=>G}),WH=j0("$ZodNever",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{return G.issues.push({expected:"never",code:"invalid_type",input:G.value,inst:I}),G}}),FH=j0("$ZodVoid",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(typeof X>"u")return G;return G.issues.push({expected:"void",code:"invalid_type",input:X,inst:I}),G}}),HH=j0("$ZodDate",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{if(J.coerce)try{G.value=new Date(G.value)}catch(L){}let X=G.value,z=X instanceof Date;if(z&&!Number.isNaN(X.getTime()))return G;return G.issues.push({expected:"date",code:"invalid_type",input:X,...z?{received:"Invalid Date"}:{},inst:I}),G}});function gS(I,J,G){if(I.issues.length)J.issues.push(...t6(G,I.issues));J.value[G]=I.value}var LH=j0("$ZodArray",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(!Array.isArray(X))return G.issues.push({expected:"array",code:"invalid_type",input:X,inst:I}),G;G.value=Array(X.length);let z=[];for(let O=0;O<X.length;O++){let L=X[O],j=J.element._zod.run({value:L,issues:[]},K);if(j instanceof Promise)z.push(j.then((E)=>gS(E,G,O)));else gS(j,G,O)}if(z.length)return Promise.all(z).then(()=>G);return G}});function hz(I,J,G,K,X,z){let O=G in K;if(I.issues.length){if(X&&z&&!O)return;J.issues.push(...t6(G,I.issues))}if(!O&&!X){if(!I.issues.length)J.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[G]});return}if(I.value===void 0){if(O)J.value[G]=void 0}else J.value[G]=I.value}function rS(I){let J=Object.keys(I.shape);for(let K of J)if(!I.shape?.[K]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${K}": expected a Zod schema`);let G=kF(I.shape);return{...I,keys:J,keySet:new Set(J),numKeys:J.length,optionalKeys:new Set(G)}}function tS(I,J,G,K,X,z){let O=[],L=X.keySet,j=X.catchall._zod,E=j.def.type,_=j.optin==="optional",q=j.optout==="optional";for(let P in J){if(P==="__proto__")continue;if(L.has(P))continue;if(E==="never"){O.push(P);continue}let v=j.run({value:J[P],issues:[]},K);if(v instanceof Promise)I.push(v.then((N)=>hz(N,G,P,J,_,q)));else hz(v,G,P,J,_,q)}if(O.length)G.issues.push({code:"unrecognized_keys",keys:O,input:J,inst:z});if(!I.length)return G;return Promise.all(I).then(()=>{return G})}var aS=j0("$ZodObject",(I,J)=>{if(_$.init(I,J),!Object.getOwnPropertyDescriptor(J,"shape")?.get){let L=J.shape;Object.defineProperty(J,"shape",{get:()=>{let j={...L};return Object.defineProperty(J,"shape",{value:j}),j}})}let K=kQ(()=>rS(J));c$(I._zod,"propValues",()=>{let L=J.shape,j={};for(let E in L){let _=L[E]._zod;if(_.values){j[E]??(j[E]=new Set);for(let q of _.values)j[E].add(q)}}return j});let X=YJ,z=J.catchall,O;I._zod.parse=(L,j)=>{O??(O=K.value);let E=L.value;if(!X(E))return L.issues.push({expected:"object",code:"invalid_type",input:E,inst:I}),L;L.value={};let _=[],q=O.shape;for(let P of O.keys){let v=q[P],N=v._zod.optin==="optional",y=v._zod.optout==="optional",w=v._zod.run({value:E[P],issues:[]},j);if(w instanceof Promise)_.push(w.then((b)=>hz(b,L,P,E,N,y)));else hz(w,L,P,E,N,y)}if(!z)return _.length?Promise.all(_).then(()=>L):L;return tS(_,E,L,j,K.value,I)}}),MH=j0("$ZodObjectJIT",(I,J)=>{aS.init(I,J);let G=I._zod.parse,K=kQ(()=>rS(J)),X=(P)=>{let v=new fz(["shape","payload","ctx"]),N=K.value,y=(u)=>{let p=Cz(u);return`shape[${p}]._zod.run({ value: input[${p}], issues: [] }, ctx)`};v.write("const input = payload.value;");let w=Object.create(null),b=0;for(let u of N.keys)w[u]=`key_${b++}`;v.write("const newResult = {};");for(let u of N.keys){let p=w[u],d=Cz(u),a=P[u],F0=a?._zod?.optin==="optional",L0=a?._zod?.optout==="optional";if(v.write(`const ${p} = ${y(u)};`),F0&&L0)v.write(`
|
|
260
|
+
if (${p}.issues.length) {
|
|
261
|
+
if (${d} in input) {
|
|
262
|
+
payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
|
|
263
|
+
...iss,
|
|
264
|
+
path: iss.path ? [${d}, ...iss.path] : [${d}]
|
|
265
|
+
})));
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (${p}.value === undefined) {
|
|
270
|
+
if (${d} in input) {
|
|
271
|
+
newResult[${d}] = undefined;
|
|
272
|
+
}
|
|
273
|
+
} else {
|
|
274
|
+
newResult[${d}] = ${p}.value;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
`);else if(!F0)v.write(`
|
|
278
|
+
const ${p}_present = ${d} in input;
|
|
279
|
+
if (${p}.issues.length) {
|
|
280
|
+
payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
|
|
281
|
+
...iss,
|
|
282
|
+
path: iss.path ? [${d}, ...iss.path] : [${d}]
|
|
283
|
+
})));
|
|
284
|
+
}
|
|
285
|
+
if (!${p}_present && !${p}.issues.length) {
|
|
286
|
+
payload.issues.push({
|
|
287
|
+
code: "invalid_type",
|
|
288
|
+
expected: "nonoptional",
|
|
289
|
+
input: undefined,
|
|
290
|
+
path: [${d}]
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (${p}_present) {
|
|
295
|
+
if (${p}.value === undefined) {
|
|
296
|
+
newResult[${d}] = undefined;
|
|
297
|
+
} else {
|
|
298
|
+
newResult[${d}] = ${p}.value;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
`);else v.write(`
|
|
303
|
+
if (${p}.issues.length) {
|
|
304
|
+
payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
|
|
305
|
+
...iss,
|
|
306
|
+
path: iss.path ? [${d}, ...iss.path] : [${d}]
|
|
307
|
+
})));
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
if (${p}.value === undefined) {
|
|
311
|
+
if (${d} in input) {
|
|
312
|
+
newResult[${d}] = undefined;
|
|
313
|
+
}
|
|
314
|
+
} else {
|
|
315
|
+
newResult[${d}] = ${p}.value;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
`)}v.write("payload.value = newResult;"),v.write("return payload;");let g=v.compile();return(u,p)=>g(P,u,p)},z,O=YJ,L=!JJ.jitless,E=L&&vF.value,_=J.catchall,q;I._zod.parse=(P,v)=>{q??(q=K.value);let N=P.value;if(!O(N))return P.issues.push({expected:"object",code:"invalid_type",input:N,inst:I}),P;if(L&&E&&v?.async===!1&&v.jitless!==!0){if(!z)z=X(J.shape);if(P=z(P,v),!_)return P;return tS([],N,P,v,q,I)}return G(P,v)}});function xS(I,J,G,K){for(let z of I)if(z.issues.length===0)return J.value=z.value,J;let X=I.filter((z)=>!YX(z));if(X.length===1)return J.value=X[0].value,X[0];return J.issues.push({code:"invalid_union",input:J.value,inst:G,errors:I.map((z)=>z.issues.map((O)=>u6(O,K,rU())))}),J}var M2=j0("$ZodUnion",(I,J)=>{_$.init(I,J),c$(I._zod,"optin",()=>J.options.some((K)=>K._zod.optin==="optional")?"optional":void 0),c$(I._zod,"optout",()=>J.options.some((K)=>K._zod.optout==="optional")?"optional":void 0),c$(I._zod,"values",()=>{if(J.options.every((K)=>K._zod.values))return new Set(J.options.flatMap((K)=>Array.from(K._zod.values)));return}),c$(I._zod,"pattern",()=>{if(J.options.every((K)=>K._zod.pattern)){let K=J.options.map((X)=>X._zod.pattern);return new RegExp(`^(${K.map((X)=>G2(X.source)).join("|")})$`)}return});let G=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(K,X)=>{if(G)return G(K,X);let z=!1,O=[];for(let L of J.options){let j=L._zod.run({value:K.value,issues:[]},X);if(j instanceof Promise)O.push(j),z=!0;else{if(j.issues.length===0)return j;O.push(j)}}if(!z)return xS(O,K,I,X);return Promise.all(O).then((L)=>{return xS(L,K,I,X)})}});function wS(I,J,G,K){let X=I.filter((z)=>z.issues.length===0);if(X.length===1)return J.value=X[0].value,J;if(X.length===0)J.issues.push({code:"invalid_union",input:J.value,inst:G,errors:I.map((z)=>z.issues.map((O)=>u6(O,K,rU())))});else J.issues.push({code:"invalid_union",input:J.value,inst:G,errors:[],inclusive:!1});return J}var AH=j0("$ZodXor",(I,J)=>{M2.init(I,J),J.inclusive=!1;let G=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(K,X)=>{if(G)return G(K,X);let z=!1,O=[];for(let L of J.options){let j=L._zod.run({value:K.value,issues:[]},X);if(j instanceof Promise)O.push(j),z=!0;else O.push(j)}if(!z)return wS(O,K,I,X);return Promise.all(O).then((L)=>{return wS(L,K,I,X)})}}),qH=j0("$ZodDiscriminatedUnion",(I,J)=>{J.inclusive=!1,M2.init(I,J);let G=I._zod.parse;c$(I._zod,"propValues",()=>{let X={};for(let z of J.options){let O=z._zod.propValues;if(!O||Object.keys(O).length===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(z)}"`);for(let[L,j]of Object.entries(O)){if(!X[L])X[L]=new Set;for(let E of j)X[L].add(E)}}return X});let K=kQ(()=>{let X=J.options,z=new Map;for(let O of X){let L=O._zod.propValues?.[J.discriminator];if(!L||L.size===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(O)}"`);for(let j of L){if(z.has(j))throw Error(`Duplicate discriminator value "${String(j)}"`);z.set(j,O)}}return z});I._zod.parse=(X,z)=>{let O=X.value;if(!YJ(O))return X.issues.push({code:"invalid_type",expected:"object",input:O,inst:I}),X;let L=K.value.get(O?.[J.discriminator]);if(L)return L._zod.run(X,z);if(J.unionFallback||z.direction==="backward")return G(X,z);return X.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:J.discriminator,options:Array.from(K.value.keys()),input:O,path:[J.discriminator],inst:I}),X}}),CH=j0("$ZodIntersection",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value,z=J.left._zod.run({value:X,issues:[]},K),O=J.right._zod.run({value:X,issues:[]},K);if(z instanceof Promise||O instanceof Promise)return Promise.all([z,O]).then(([j,E])=>{return fS(G,j,E)});return fS(G,z,O)}});function x9(I,J){if(I===J)return{valid:!0,data:I};if(I instanceof Date&&J instanceof Date&&+I===+J)return{valid:!0,data:I};if(QX(I)&&QX(J)){let G=Object.keys(J),K=Object.keys(I).filter((z)=>G.indexOf(z)!==-1),X={...I,...J};for(let z of K){let O=x9(I[z],J[z]);if(!O.valid)return{valid:!1,mergeErrorPath:[z,...O.mergeErrorPath]};X[z]=O.data}return{valid:!0,data:X}}if(Array.isArray(I)&&Array.isArray(J)){if(I.length!==J.length)return{valid:!1,mergeErrorPath:[]};let G=[];for(let K=0;K<I.length;K++){let X=I[K],z=J[K],O=x9(X,z);if(!O.valid)return{valid:!1,mergeErrorPath:[K,...O.mergeErrorPath]};G.push(O.data)}return{valid:!0,data:G}}return{valid:!1,mergeErrorPath:[]}}function fS(I,J,G){let K=new Map,X;for(let L of J.issues)if(L.code==="unrecognized_keys"){X??(X=L);for(let j of L.keys){if(!K.has(j))K.set(j,{});K.get(j).l=!0}}else I.issues.push(L);for(let L of G.issues)if(L.code==="unrecognized_keys")for(let j of L.keys){if(!K.has(j))K.set(j,{});K.get(j).r=!0}else I.issues.push(L);let z=[...K].filter(([,L])=>L.l&&L.r).map(([L])=>L);if(z.length&&X)I.issues.push({...X,keys:z});if(YX(I))return I;let O=x9(J.value,G.value);if(!O.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(O.mergeErrorPath)}`);return I.value=O.data,I}var mz=j0("$ZodTuple",(I,J)=>{_$.init(I,J);let G=J.items;I._zod.parse=(K,X)=>{let z=K.value;if(!Array.isArray(z))return K.issues.push({input:z,inst:I,expected:"tuple",code:"invalid_type"}),K;K.value=[];let O=[],L=yS(G,"optin"),j=yS(G,"optout");if(!J.rest){if(z.length<L)return K.issues.push({code:"too_small",minimum:L,inclusive:!0,input:z,inst:I,origin:"array"}),K;if(z.length>G.length)K.issues.push({code:"too_big",maximum:G.length,inclusive:!0,input:z,inst:I,origin:"array"})}let E=Array(G.length);for(let _=0;_<G.length;_++){let q=G[_]._zod.run({value:z[_],issues:[]},X);if(q instanceof Promise)O.push(q.then((P)=>{E[_]=P}));else E[_]=q}if(J.rest){let _=G.length-1,q=z.slice(G.length);for(let P of q){_++;let v=J.rest._zod.run({value:P,issues:[]},X);if(v instanceof Promise)O.push(v.then((N)=>uS(N,K,_)));else uS(v,K,_)}}if(O.length)return Promise.all(O).then(()=>bS(E,K,G,z,j));return bS(E,K,G,z,j)}});function yS(I,J){for(let G=I.length-1;G>=0;G--)if(I[G]._zod[J]!=="optional")return G+1;return 0}function uS(I,J,G){if(I.issues.length)J.issues.push(...t6(G,I.issues));J.value[G]=I.value}function bS(I,J,G,K,X){for(let z=0;z<G.length;z++){let O=I[z],L=z<K.length;if(O.issues.length){if(!L&&z>=X){J.value.length=z;break}J.issues.push(...t6(z,O.issues))}J.value[z]=O.value}for(let z=J.value.length-1;z>=K.length;z--)if(G[z]._zod.optout==="optional"&&J.value[z]===void 0)J.value.length=z;else break;return J}var TH=j0("$ZodRecord",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(!QX(X))return G.issues.push({expected:"record",code:"invalid_type",input:X,inst:I}),G;let z=[],O=J.keyType._zod.values;if(O){G.value={};let L=new Set;for(let E of O)if(typeof E==="string"||typeof E==="number"||typeof E==="symbol"){L.add(typeof E==="number"?E.toString():E);let _=J.keyType._zod.run({value:E,issues:[]},K);if(_ instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(_.issues.length){G.issues.push({code:"invalid_key",origin:"record",issues:_.issues.map((v)=>u6(v,K,rU())),input:E,path:[E],inst:I});continue}let q=_.value,P=J.valueType._zod.run({value:X[E],issues:[]},K);if(P instanceof Promise)z.push(P.then((v)=>{if(v.issues.length)G.issues.push(...t6(E,v.issues));G.value[q]=v.value}));else{if(P.issues.length)G.issues.push(...t6(E,P.issues));G.value[q]=P.value}}let j;for(let E in X)if(!L.has(E))j=j??[],j.push(E);if(j&&j.length>0)G.issues.push({code:"unrecognized_keys",input:X,inst:I,keys:j})}else{G.value={};for(let L of Reflect.ownKeys(X)){if(L==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(X,L))continue;let j=J.keyType._zod.run({value:L,issues:[]},K);if(j instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof L==="string"&&W2.test(L)&&j.issues.length){let q=J.keyType._zod.run({value:Number(L),issues:[]},K);if(q instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(q.issues.length===0)j=q}if(j.issues.length){if(J.mode==="loose")G.value[L]=X[L];else G.issues.push({code:"invalid_key",origin:"record",issues:j.issues.map((q)=>u6(q,K,rU())),input:L,path:[L],inst:I});continue}let _=J.valueType._zod.run({value:X[L],issues:[]},K);if(_ instanceof Promise)z.push(_.then((q)=>{if(q.issues.length)G.issues.push(...t6(L,q.issues));G.value[j.value]=q.value}));else{if(_.issues.length)G.issues.push(...t6(L,_.issues));G.value[j.value]=_.value}}}if(z.length)return Promise.all(z).then(()=>G);return G}}),RH=j0("$ZodMap",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(!(X instanceof Map))return G.issues.push({expected:"map",code:"invalid_type",input:X,inst:I}),G;let z=[];G.value=new Map;for(let[O,L]of X){let j=J.keyType._zod.run({value:O,issues:[]},K),E=J.valueType._zod.run({value:L,issues:[]},K);if(j instanceof Promise||E instanceof Promise)z.push(Promise.all([j,E]).then(([_,q])=>{hS(_,q,G,O,X,I,K)}));else hS(j,E,G,O,X,I,K)}if(z.length)return Promise.all(z).then(()=>G);return G}});function hS(I,J,G,K,X,z,O){if(I.issues.length)if(O2.has(typeof K))G.issues.push(...t6(K,I.issues));else G.issues.push({code:"invalid_key",origin:"map",input:X,inst:z,issues:I.issues.map((L)=>u6(L,O,rU()))});if(J.issues.length)if(O2.has(typeof K))G.issues.push(...t6(K,J.issues));else G.issues.push({origin:"map",code:"invalid_element",input:X,inst:z,key:K,issues:J.issues.map((L)=>u6(L,O,rU()))});G.value.set(I.value,J.value)}var PH=j0("$ZodSet",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(!(X instanceof Set))return G.issues.push({input:X,inst:I,expected:"set",code:"invalid_type"}),G;let z=[];G.value=new Set;for(let O of X){let L=J.valueType._zod.run({value:O,issues:[]},K);if(L instanceof Promise)z.push(L.then((j)=>cS(j,G)));else cS(L,G)}if(z.length)return Promise.all(z).then(()=>G);return G}});function cS(I,J){if(I.issues.length)J.issues.push(...I.issues);J.value.add(I.value)}var EH=j0("$ZodEnum",(I,J)=>{_$.init(I,J);let G=Y2(J.entries),K=new Set(G);I._zod.values=K,I._zod.pattern=new RegExp(`^(${G.filter((X)=>O2.has(typeof X)).map((X)=>typeof X==="string"?f4(X):X.toString()).join("|")})$`),I._zod.parse=(X,z)=>{let O=X.value;if(K.has(O))return X;return X.issues.push({code:"invalid_value",values:G,input:O,inst:I}),X}}),_H=j0("$ZodLiteral",(I,J)=>{if(_$.init(I,J),J.values.length===0)throw Error("Cannot create literal schema with no valid values");let G=new Set(J.values);I._zod.values=G,I._zod.pattern=new RegExp(`^(${J.values.map((K)=>typeof K==="string"?f4(K):K?f4(K.toString()):String(K)).join("|")})$`),I._zod.parse=(K,X)=>{let z=K.value;if(G.has(z))return K;return K.issues.push({code:"invalid_value",values:J.values,input:z,inst:I}),K}}),SH=j0("$ZodFile",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{let X=G.value;if(X instanceof File)return G;return G.issues.push({expected:"file",code:"invalid_type",input:X,inst:I}),G}}),jH=j0("$ZodTransform",(I,J)=>{_$.init(I,J),I._zod.optin="optional",I._zod.parse=(G,K)=>{if(K.direction==="backward")throw new QJ(I.constructor.name);let X=J.transform(G.value,G);if(K.async)return(X instanceof Promise?X:Promise.resolve(X)).then((O)=>{return G.value=O,G.fallback=!0,G});if(X instanceof Promise)throw new v1;return G.value=X,G.fallback=!0,G}});function pS(I,J){if(J===void 0&&(I.issues.length||I.fallback))return{issues:[],value:void 0};return I}var lz=j0("$ZodOptional",(I,J)=>{_$.init(I,J),I._zod.optin="optional",I._zod.optout="optional",c$(I._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,void 0]):void 0}),c$(I._zod,"pattern",()=>{let G=J.innerType._zod.pattern;return G?new RegExp(`^(${G2(G.source)})?$`):void 0}),I._zod.parse=(G,K)=>{if(J.innerType._zod.optin==="optional"){let X=G.value,z=J.innerType._zod.run(G,K);if(z instanceof Promise)return z.then((O)=>pS(O,X));return pS(z,X)}if(G.value===void 0)return G;return J.innerType._zod.run(G,K)}}),vH=j0("$ZodExactOptional",(I,J)=>{lz.init(I,J),c$(I._zod,"values",()=>J.innerType._zod.values),c$(I._zod,"pattern",()=>J.innerType._zod.pattern),I._zod.parse=(G,K)=>{return J.innerType._zod.run(G,K)}}),BH=j0("$ZodNullable",(I,J)=>{_$.init(I,J),c$(I._zod,"optin",()=>J.innerType._zod.optin),c$(I._zod,"optout",()=>J.innerType._zod.optout),c$(I._zod,"pattern",()=>{let G=J.innerType._zod.pattern;return G?new RegExp(`^(${G2(G.source)}|null)$`):void 0}),c$(I._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,null]):void 0}),I._zod.parse=(G,K)=>{if(G.value===null)return G;return J.innerType._zod.run(G,K)}}),NH=j0("$ZodDefault",(I,J)=>{_$.init(I,J),I._zod.optin="optional",c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(G,K)=>{if(K.direction==="backward")return J.innerType._zod.run(G,K);if(G.value===void 0)return G.value=J.defaultValue,G;let X=J.innerType._zod.run(G,K);if(X instanceof Promise)return X.then((z)=>mS(z,J));return mS(X,J)}});function mS(I,J){if(I.value===void 0)I.value=J.defaultValue;return I}var kH=j0("$ZodPrefault",(I,J)=>{_$.init(I,J),I._zod.optin="optional",c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(G,K)=>{if(K.direction==="backward")return J.innerType._zod.run(G,K);if(G.value===void 0)G.value=J.defaultValue;return J.innerType._zod.run(G,K)}}),gH=j0("$ZodNonOptional",(I,J)=>{_$.init(I,J),c$(I._zod,"values",()=>{let G=J.innerType._zod.values;return G?new Set([...G].filter((K)=>K!==void 0)):void 0}),I._zod.parse=(G,K)=>{let X=J.innerType._zod.run(G,K);if(X instanceof Promise)return X.then((z)=>lS(z,I));return lS(X,I)}});function lS(I,J){if(!I.issues.length&&I.value===void 0)I.issues.push({code:"invalid_type",expected:"nonoptional",input:I.value,inst:J});return I}var xH=j0("$ZodSuccess",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{if(K.direction==="backward")throw new QJ("ZodSuccess");let X=J.innerType._zod.run(G,K);if(X instanceof Promise)return X.then((z)=>{return G.value=z.issues.length===0,G});return G.value=X.issues.length===0,G}}),wH=j0("$ZodCatch",(I,J)=>{_$.init(I,J),I._zod.optin="optional",c$(I._zod,"optout",()=>J.innerType._zod.optout),c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(G,K)=>{if(K.direction==="backward")return J.innerType._zod.run(G,K);let X=J.innerType._zod.run(G,K);if(X instanceof Promise)return X.then((z)=>{if(G.value=z.value,z.issues.length)G.value=J.catchValue({...G,error:{issues:z.issues.map((O)=>u6(O,K,rU()))},input:G.value}),G.issues=[],G.fallback=!0;return G});if(G.value=X.value,X.issues.length)G.value=J.catchValue({...G,error:{issues:X.issues.map((z)=>u6(z,K,rU()))},input:G.value}),G.issues=[],G.fallback=!0;return G}}),fH=j0("$ZodNaN",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{if(typeof G.value!=="number"||!Number.isNaN(G.value))return G.issues.push({input:G.value,inst:I,expected:"nan",code:"invalid_type"}),G;return G}}),dz=j0("$ZodPipe",(I,J)=>{_$.init(I,J),c$(I._zod,"values",()=>J.in._zod.values),c$(I._zod,"optin",()=>J.in._zod.optin),c$(I._zod,"optout",()=>J.out._zod.optout),c$(I._zod,"propValues",()=>J.in._zod.propValues),I._zod.parse=(G,K)=>{if(K.direction==="backward"){let z=J.out._zod.run(G,K);if(z instanceof Promise)return z.then((O)=>yz(O,J.in,K));return yz(z,J.in,K)}let X=J.in._zod.run(G,K);if(X instanceof Promise)return X.then((z)=>yz(z,J.out,K));return yz(X,J.out,K)}});function yz(I,J,G){if(I.issues.length)return I.aborted=!0,I;return J._zod.run({value:I.value,issues:I.issues,fallback:I.fallback},G)}var A2=j0("$ZodCodec",(I,J)=>{_$.init(I,J),c$(I._zod,"values",()=>J.in._zod.values),c$(I._zod,"optin",()=>J.in._zod.optin),c$(I._zod,"optout",()=>J.out._zod.optout),c$(I._zod,"propValues",()=>J.in._zod.propValues),I._zod.parse=(G,K)=>{if((K.direction||"forward")==="forward"){let z=J.in._zod.run(G,K);if(z instanceof Promise)return z.then((O)=>uz(O,J,K));return uz(z,J,K)}else{let z=J.out._zod.run(G,K);if(z instanceof Promise)return z.then((O)=>uz(O,J,K));return uz(z,J,K)}}});function uz(I,J,G){if(I.issues.length)return I.aborted=!0,I;if((G.direction||"forward")==="forward"){let X=J.transform(I.value,I);if(X instanceof Promise)return X.then((z)=>bz(I,z,J.out,G));return bz(I,X,J.out,G)}else{let X=J.reverseTransform(I.value,I);if(X instanceof Promise)return X.then((z)=>bz(I,z,J.in,G));return bz(I,X,J.in,G)}}function bz(I,J,G,K){if(I.issues.length)return I.aborted=!0,I;return G._zod.run({value:J,issues:I.issues},K)}var yH=j0("$ZodPreprocess",(I,J)=>{dz.init(I,J)}),uH=j0("$ZodReadonly",(I,J)=>{_$.init(I,J),c$(I._zod,"propValues",()=>J.innerType._zod.propValues),c$(I._zod,"values",()=>J.innerType._zod.values),c$(I._zod,"optin",()=>J.innerType?._zod?.optin),c$(I._zod,"optout",()=>J.innerType?._zod?.optout),I._zod.parse=(G,K)=>{if(K.direction==="backward")return J.innerType._zod.run(G,K);let X=J.innerType._zod.run(G,K);if(X instanceof Promise)return X.then(dS);return dS(X)}});function dS(I){return I.value=Object.freeze(I.value),I}var bH=j0("$ZodTemplateLiteral",(I,J)=>{_$.init(I,J);let G=[];for(let K of J.parts)if(typeof K==="object"&&K!==null){if(!K._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...K._zod.traits].shift()}`);let X=K._zod.pattern instanceof RegExp?K._zod.pattern.source:K._zod.pattern;if(!X)throw Error(`Invalid template literal part: ${K._zod.traits}`);let z=X.startsWith("^")?1:0,O=X.endsWith("$")?X.length-1:X.length;G.push(X.slice(z,O))}else if(K===null||NF.has(typeof K))G.push(f4(`${K}`));else throw Error(`Invalid template literal part: ${K}`);I._zod.pattern=new RegExp(`^${G.join("")}$`),I._zod.parse=(K,X)=>{if(typeof K.value!=="string")return K.issues.push({input:K.value,inst:I,expected:"string",code:"invalid_type"}),K;if(I._zod.pattern.lastIndex=0,!I._zod.pattern.test(K.value))return K.issues.push({input:K.value,inst:I,code:"invalid_format",format:J.format??"template_literal",pattern:I._zod.pattern.source}),K;return K}}),hH=j0("$ZodFunction",(I,J)=>{return _$.init(I,J),I._def=J,I._zod.def=J,I.implement=(G)=>{if(typeof G!=="function")throw Error("implement() must be called with a function");return function(...K){let X=I._def.input?Rz(I._def.input,K):K,z=Reflect.apply(G,this,X);if(I._def.output)return Rz(I._def.output,z);return z}},I.implementAsync=(G)=>{if(typeof G!=="function")throw Error("implementAsync() must be called with a function");return async function(...K){let X=I._def.input?await Pz(I._def.input,K):K,z=await Reflect.apply(G,this,X);if(I._def.output)return await Pz(I._def.output,z);return z}},I._zod.parse=(G,K)=>{if(typeof G.value!=="function")return G.issues.push({code:"invalid_type",expected:"function",input:G.value,inst:I}),G;if(I._def.output&&I._def.output._zod.def.type==="promise")G.value=I.implementAsync(G.value);else G.value=I.implement(G.value);return G},I.input=(...G)=>{let K=I.constructor;if(Array.isArray(G[0]))return new K({type:"function",input:new mz({type:"tuple",items:G[0],rest:G[1]}),output:I._def.output});return new K({type:"function",input:G[0],output:I._def.output})},I.output=(G)=>{return new I.constructor({type:"function",input:I._def.input,output:G})},I}),cH=j0("$ZodPromise",(I,J)=>{_$.init(I,J),I._zod.parse=(G,K)=>{return Promise.resolve(G.value).then((X)=>J.innerType._zod.run({value:X,issues:[]},K))}}),pH=j0("$ZodLazy",(I,J)=>{_$.init(I,J),c$(I._zod,"innerType",()=>{let G=J;if(!G._cachedInner)G._cachedInner=J.getter();return G._cachedInner}),c$(I._zod,"pattern",()=>I._zod.innerType?._zod?.pattern),c$(I._zod,"propValues",()=>I._zod.innerType?._zod?.propValues),c$(I._zod,"optin",()=>I._zod.innerType?._zod?.optin??void 0),c$(I._zod,"optout",()=>I._zod.innerType?._zod?.optout??void 0),I._zod.parse=(G,K)=>{return I._zod.innerType._zod.run(G,K)}}),mH=j0("$ZodCustom",(I,J)=>{FU.init(I,J),_$.init(I,J),I._zod.parse=(G,K)=>{return G},I._zod.check=(G)=>{let K=G.value,X=J.fn(K);if(X instanceof Promise)return X.then((z)=>nS(z,G,K,I));nS(X,G,K,I);return}});function nS(I,J,G,K){if(!I){let X={code:"custom",input:G,inst:K,path:[...K._zod.def.path??[]],continue:!K._zod.def.abort};if(K._zod.def.params)X.params=K._zod.def.params;J.issues.push(gQ(X))}}var P2={};g6(P2,{zhTW:()=>yL,zhCN:()=>fL,yo:()=>uL,vi:()=>wL,uz:()=>xL,ur:()=>gL,uk:()=>R2,ua:()=>kL,tr:()=>NL,th:()=>BL,ta:()=>vL,sv:()=>jL,sl:()=>SL,ru:()=>_L,ro:()=>EL,pt:()=>PL,ps:()=>TL,pl:()=>RL,ota:()=>CL,no:()=>qL,nl:()=>AL,ms:()=>ML,mk:()=>LL,lt:()=>HL,ko:()=>FL,km:()=>C2,kh:()=>WL,ka:()=>DL,ja:()=>VL,it:()=>KL,is:()=>zL,id:()=>ZL,hy:()=>OL,hu:()=>GL,hr:()=>YL,he:()=>QL,frCA:()=>JL,fr:()=>XL,fi:()=>IL,fa:()=>UL,es:()=>$L,eo:()=>eH,en:()=>q2,el:()=>sH,de:()=>aH,da:()=>tH,cs:()=>rH,ca:()=>iH,bg:()=>oH,be:()=>nH,az:()=>dH,ar:()=>lH});var nu=()=>{let I={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function J(X){return I[X]??null}let G={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${X.expected}، ولكن تم إدخال ${L}`;return`مدخلات غير مقبولة: يفترض إدخال ${z}، ولكن تم إدخال ${L}`}case"invalid_value":if(X.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${J$(X.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return` أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${z} ${X.maximum.toString()} ${O.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${z} ${X.minimum.toString()} ${O.unit}`;return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${z} ${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${X.prefix}"`;if(z.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${z.suffix}"`;if(z.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${z.includes}"`;if(z.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${z.pattern}`;return`${G[z.format]??X.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${X.divisor}`;case"unrecognized_keys":return`معرف${X.keys.length>1?"ات":""} غريب${X.keys.length>1?"ة":""}: ${x0(X.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${X.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${X.origin}`;default:return"مدخل غير مقبول"}}};function lH(){return{localeError:nu()}}var ou=()=>{let I={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function J(X){return I[X]??null}let G={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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Yanlış dəyər: gözlənilən instanceof ${X.expected}, daxil olan ${L}`;return`Yanlış dəyər: gözlənilən ${z}, daxil olan ${L}`}case"invalid_value":if(X.values.length===1)return`Yanlış dəyər: gözlənilən ${J$(X.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${z}${X.maximum.toString()} ${O.unit??"element"}`;return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Çox kiçik: gözlənilən ${X.origin} ${z}${X.minimum.toString()} ${O.unit}`;return`Çox kiçik: gözlənilən ${X.origin} ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Yanlış mətn: "${z.prefix}" ilə başlamalıdır`;if(z.format==="ends_with")return`Yanlış mətn: "${z.suffix}" ilə bitməlidir`;if(z.format==="includes")return`Yanlış mətn: "${z.includes}" daxil olmalıdır`;if(z.format==="regex")return`Yanlış mətn: ${z.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${G[z.format]??X.format}`}case"not_multiple_of":return`Yanlış ədəd: ${X.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${X.keys.length>1?"lar":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`${X.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${X.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function dH(){return{localeError:ou()}}function sS(I,J,G,K){let X=Math.abs(I),z=X%10,O=X%100;if(O>=11&&O<=19)return K;if(z===1)return J;if(z>=2&&z<=4)return G;return K}var iu=()=>{let I={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function J(X){return I[X]??null}let G={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},K={nan:"NaN",number:"лік",array:"масіў"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Няправільны ўвод: чакаўся instanceof ${X.expected}, атрымана ${L}`;return`Няправільны ўвод: чакаўся ${z}, атрымана ${L}`}case"invalid_value":if(X.values.length===1)return`Няправільны ўвод: чакалася ${J$(X.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O){let L=Number(X.maximum),j=sS(L,O.unit.one,O.unit.few,O.unit.many);return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна ${O.verb} ${z}${X.maximum.toString()} ${j}`}return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна быць ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O){let L=Number(X.minimum),j=sS(L,O.unit.one,O.unit.few,O.unit.many);return`Занадта малы: чакалася, што ${X.origin} павінна ${O.verb} ${z}${X.minimum.toString()} ${j}`}return`Занадта малы: чакалася, што ${X.origin} павінна быць ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${z.prefix}"`;if(z.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${z.suffix}"`;if(z.format==="includes")return`Няправільны радок: павінен змяшчаць "${z.includes}"`;if(z.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${z.pattern}`;return`Няправільны ${G[z.format]??X.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${X.keys.length>1?"ключы":"ключ"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${X.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${X.origin}`;default:return"Няправільны ўвод"}}};function nH(){return{localeError:iu()}}var ru=()=>{let I={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function J(X){return I[X]??null}let G={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},K={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Невалиден вход: очакван instanceof ${X.expected}, получен ${L}`;return`Невалиден вход: очакван ${z}, получен ${L}`}case"invalid_value":if(X.values.length===1)return`Невалиден вход: очакван ${J$(X.values[0])}`;return`Невалидна опция: очаквано едно от ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Твърде голямо: очаква се ${X.origin??"стойност"} да съдържа ${z}${X.maximum.toString()} ${O.unit??"елемента"}`;return`Твърде голямо: очаква се ${X.origin??"стойност"} да бъде ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Твърде малко: очаква се ${X.origin} да съдържа ${z}${X.minimum.toString()} ${O.unit}`;return`Твърде малко: очаква се ${X.origin} да бъде ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Невалиден низ: трябва да започва с "${z.prefix}"`;if(z.format==="ends_with")return`Невалиден низ: трябва да завършва с "${z.suffix}"`;if(z.format==="includes")return`Невалиден низ: трябва да включва "${z.includes}"`;if(z.format==="regex")return`Невалиден низ: трябва да съвпада с ${z.pattern}`;let O="Невалиден";if(z.format==="emoji")O="Невалидно";if(z.format==="datetime")O="Невалидно";if(z.format==="date")O="Невалидна";if(z.format==="time")O="Невалидно";if(z.format==="duration")O="Невалидна";return`${O} ${G[z.format]??X.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${X.divisor}`;case"unrecognized_keys":return`Неразпознат${X.keys.length>1?"и":""} ключ${X.keys.length>1?"ове":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${X.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${X.origin}`;default:return"Невалиден вход"}}};function oH(){return{localeError:ru()}}var tu=()=>{let I={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function J(X){return I[X]??null}let G={regex:"entrada",email:"adreça electrònica",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ça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Tipus invàlid: s'esperava instanceof ${X.expected}, s'ha rebut ${L}`;return`Tipus invàlid: s'esperava ${z}, s'ha rebut ${L}`}case"invalid_value":if(X.values.length===1)return`Valor invàlid: s'esperava ${J$(X.values[0])}`;return`Opció invàlida: s'esperava una de ${x0(X.values," o ")}`;case"too_big":{let z=X.inclusive?"com a màxim":"menys de",O=J(X.origin);if(O)return`Massa gran: s'esperava que ${X.origin??"el valor"} contingués ${z} ${X.maximum.toString()} ${O.unit??"elements"}`;return`Massa gran: s'esperava que ${X.origin??"el valor"} fos ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?"com a mínim":"més de",O=J(X.origin);if(O)return`Massa petit: s'esperava que ${X.origin} contingués ${z} ${X.minimum.toString()} ${O.unit}`;return`Massa petit: s'esperava que ${X.origin} fos ${z} ${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Format invàlid: ha de començar amb "${z.prefix}"`;if(z.format==="ends_with")return`Format invàlid: ha d'acabar amb "${z.suffix}"`;if(z.format==="includes")return`Format invàlid: ha d'incloure "${z.includes}"`;if(z.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${z.pattern}`;return`Format invàlid per a ${G[z.format]??X.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${X.divisor}`;case"unrecognized_keys":return`Clau${X.keys.length>1?"s":""} no reconeguda${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${X.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${X.origin}`;default:return"Entrada invàlida"}}};function iH(){return{localeError:tu()}}var au=()=>{let I={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function J(X){return I[X]??null}let G={regex:"regulární výraz",email:"e-mailová 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 čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},K={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Neplatný vstup: očekáváno instanceof ${X.expected}, obdrženo ${L}`;return`Neplatný vstup: očekáváno ${z}, obdrženo ${L}`}case"invalid_value":if(X.values.length===1)return`Neplatný vstup: očekáváno ${J$(X.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí mít ${z}${X.maximum.toString()} ${O.unit??"prvků"}`;return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí být ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí mít ${z}${X.minimum.toString()} ${O.unit??"prvků"}`;return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí být ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Neplatný řetězec: musí začínat na "${z.prefix}"`;if(z.format==="ends_with")return`Neplatný řetězec: musí končit na "${z.suffix}"`;if(z.format==="includes")return`Neplatný řetězec: musí obsahovat "${z.includes}"`;if(z.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${z.pattern}`;return`Neplatný formát ${G[z.format]??X.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${X.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${x0(X.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${X.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${X.origin}`;default:return"Neplatný vstup"}}};function rH(){return{localeError:au()}}var su=()=>{let I={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function J(X){return I[X]??null}let G={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æt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",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"},K={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Ugyldigt input: forventede instanceof ${X.expected}, fik ${L}`;return`Ugyldigt input: forventede ${z}, fik ${L}`}case"invalid_value":if(X.values.length===1)return`Ugyldig værdi: forventede ${J$(X.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin),L=K[X.origin]??X.origin;if(O)return`For stor: forventede ${L??"value"} ${O.verb} ${z} ${X.maximum.toString()} ${O.unit??"elementer"}`;return`For stor: forventede ${L??"value"} havde ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin),L=K[X.origin]??X.origin;if(O)return`For lille: forventede ${L} ${O.verb} ${z} ${X.minimum.toString()} ${O.unit}`;return`For lille: forventede ${L} havde ${z} ${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ugyldig streng: skal starte med "${z.prefix}"`;if(z.format==="ends_with")return`Ugyldig streng: skal ende med "${z.suffix}"`;if(z.format==="includes")return`Ugyldig streng: skal indeholde "${z.includes}"`;if(z.format==="regex")return`Ugyldig streng: skal matche mønsteret ${z.pattern}`;return`Ugyldig ${G[z.format]??X.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${X.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${X.origin}`;default:return"Ugyldigt input"}}};function tH(){return{localeError:su()}}var eu=()=>{let I={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 J(X){return I[X]??null}let G={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"},K={nan:"NaN",number:"Zahl",array:"Array"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Ungültige Eingabe: erwartet instanceof ${X.expected}, erhalten ${L}`;return`Ungültige Eingabe: erwartet ${z}, erhalten ${L}`}case"invalid_value":if(X.values.length===1)return`Ungültige Eingabe: erwartet ${J$(X.values[0])}`;return`Ungültige Option: erwartet eine von ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${z}${X.maximum.toString()} ${O.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${z}${X.maximum.toString()} ist`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Zu klein: erwartet, dass ${X.origin} ${z}${X.minimum.toString()} ${O.unit} hat`;return`Zu klein: erwartet, dass ${X.origin} ${z}${X.minimum.toString()} ist`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ungültiger String: muss mit "${z.prefix}" beginnen`;if(z.format==="ends_with")return`Ungültiger String: muss mit "${z.suffix}" enden`;if(z.format==="includes")return`Ungültiger String: muss "${z.includes}" enthalten`;if(z.format==="regex")return`Ungültiger String: muss dem Muster ${z.pattern} entsprechen`;return`Ungültig: ${G[z.format]??X.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${X.divisor} sein`;case"unrecognized_keys":return`${X.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${X.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${X.origin}`;default:return"Ungültige Eingabe"}}};function aH(){return{localeError:eu()}}var $b=()=>{let I={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function J(X){return I[X]??null}let G={regex:"είσοδος",email:"διεύθυνση 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:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(typeof X.expected==="string"&&/^[A-Z]/.test(X.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${X.expected}, λήφθηκε ${L}`;return`Μη έγκυρη είσοδος: αναμενόταν ${z}, λήφθηκε ${L}`}case"invalid_value":if(X.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${J$(X.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να έχει ${z}${X.maximum.toString()} ${O.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να είναι ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Πολύ μικρό: αναμενόταν ${X.origin} να έχει ${z}${X.minimum.toString()} ${O.unit}`;return`Πολύ μικρό: αναμενόταν ${X.origin} να είναι ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${z.prefix}"`;if(z.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${z.suffix}"`;if(z.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${z.includes}"`;if(z.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${z.pattern}`;return`Μη έγκυρο: ${G[z.format]??X.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${X.divisor}`;case"unrecognized_keys":return`Άγνωστ${X.keys.length>1?"α":"ο"} κλειδ${X.keys.length>1?"ιά":"ί"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${X.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${X.origin}`;default:return"Μη έγκυρη είσοδος"}}};function sH(){return{localeError:$b()}}var Ub=()=>{let I={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 J(X){return I[X]??null}let G={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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;return`Invalid input: expected ${z}, received ${L}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${J$(X.values[0])}`;return`Invalid option: expected one of ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Too big: expected ${X.origin??"value"} to have ${z}${X.maximum.toString()} ${O.unit??"elements"}`;return`Too big: expected ${X.origin??"value"} to be ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Too small: expected ${X.origin} to have ${z}${X.minimum.toString()} ${O.unit}`;return`Too small: expected ${X.origin} to be ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Invalid string: must start with "${z.prefix}"`;if(z.format==="ends_with")return`Invalid string: must end with "${z.suffix}"`;if(z.format==="includes")return`Invalid string: must include "${z.includes}"`;if(z.format==="regex")return`Invalid string: must match pattern ${z.pattern}`;return`Invalid ${G[z.format]??X.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${X.divisor}`;case"unrecognized_keys":return`Unrecognized key${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Invalid key in ${X.origin}`;case"invalid_union":if(X.options&&Array.isArray(X.options)&&X.options.length>0)return`Invalid discriminator value. Expected ${X.options.map((O)=>`'${O}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${X.origin}`;default:return"Invalid input"}}};function q2(){return{localeError:Ub()}}var Ib=()=>{let I={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function J(X){return I[X]??null}let G={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",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ŭro",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"},K={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Nevalida enigo: atendiĝis instanceof ${X.expected}, riceviĝis ${L}`;return`Nevalida enigo: atendiĝis ${z}, riceviĝis ${L}`}case"invalid_value":if(X.values.length===1)return`Nevalida enigo: atendiĝis ${J$(X.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${z}${X.maximum.toString()} ${O.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Tro malgranda: atendiĝis ke ${X.origin} havu ${z}${X.minimum.toString()} ${O.unit}`;return`Tro malgranda: atendiĝis ke ${X.origin} estu ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${z.prefix}"`;if(z.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${z.suffix}"`;if(z.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${z.includes}"`;if(z.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${z.pattern}`;return`Nevalida ${G[z.format]??X.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${X.divisor}`;case"unrecognized_keys":return`Nekonata${X.keys.length>1?"j":""} ŝlosilo${X.keys.length>1?"j":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${X.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${X.origin}`;default:return"Nevalida enigo"}}};function eH(){return{localeError:Ib()}}var Xb=()=>{let I={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function J(X){return I[X]??null}let G={regex:"entrada",email:"dirección de correo electrónico",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ón ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},K={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Entrada inválida: se esperaba instanceof ${X.expected}, recibido ${L}`;return`Entrada inválida: se esperaba ${z}, recibido ${L}`}case"invalid_value":if(X.values.length===1)return`Entrada inválida: se esperaba ${J$(X.values[0])}`;return`Opción inválida: se esperaba una de ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin),L=K[X.origin]??X.origin;if(O)return`Demasiado grande: se esperaba que ${L??"valor"} tuviera ${z}${X.maximum.toString()} ${O.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${L??"valor"} fuera ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin),L=K[X.origin]??X.origin;if(O)return`Demasiado pequeño: se esperaba que ${L} tuviera ${z}${X.minimum.toString()} ${O.unit}`;return`Demasiado pequeño: se esperaba que ${L} fuera ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Cadena inválida: debe comenzar con "${z.prefix}"`;if(z.format==="ends_with")return`Cadena inválida: debe terminar en "${z.suffix}"`;if(z.format==="includes")return`Cadena inválida: debe incluir "${z.includes}"`;if(z.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${z.pattern}`;return`Inválido ${G[z.format]??X.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${X.divisor}`;case"unrecognized_keys":return`Llave${X.keys.length>1?"s":""} desconocida${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Llave inválida en ${K[X.origin]??X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${K[X.origin]??X.origin}`;default:return"Entrada inválida"}}};function $L(){return{localeError:Xb()}}var Jb=()=>{let I={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function J(X){return I[X]??null}let G={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},K={nan:"NaN",number:"عدد",array:"آرایه"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`ورودی نامعتبر: میبایست instanceof ${X.expected} میبود، ${L} دریافت شد`;return`ورودی نامعتبر: میبایست ${z} میبود، ${L} دریافت شد`}case"invalid_value":if(X.values.length===1)return`ورودی نامعتبر: میبایست ${J$(X.values[0])} میبود`;return`گزینه نامعتبر: میبایست یکی از ${x0(X.values,"|")} میبود`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${z}${X.maximum.toString()} ${O.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${z}${X.maximum.toString()} باشد`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`خیلی کوچک: ${X.origin} باید ${z}${X.minimum.toString()} ${O.unit} باشد`;return`خیلی کوچک: ${X.origin} باید ${z}${X.minimum.toString()} باشد`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`رشته نامعتبر: باید با "${z.prefix}" شروع شود`;if(z.format==="ends_with")return`رشته نامعتبر: باید با "${z.suffix}" تمام شود`;if(z.format==="includes")return`رشته نامعتبر: باید شامل "${z.includes}" باشد`;if(z.format==="regex")return`رشته نامعتبر: باید با الگوی ${z.pattern} مطابقت داشته باشد`;return`${G[z.format]??X.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${X.divisor} باشد`;case"unrecognized_keys":return`کلید${X.keys.length>1?"های":""} ناشناس: ${x0(X.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${X.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${X.origin}`;default:return"ورودی نامعتبر"}}};function UL(){return{localeError:Jb()}}var Qb=()=>{let I={string:{unit:"merkkiä",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äivämäärän"}};function J(X){return I[X]??null}let G={regex:"säännöllinen lauseke",email:"sähköpostiosoite",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äivämäärä",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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Virheellinen tyyppi: odotettiin instanceof ${X.expected}, oli ${L}`;return`Virheellinen tyyppi: odotettiin ${z}, oli ${L}`}case"invalid_value":if(X.values.length===1)return`Virheellinen syöte: täytyy olla ${J$(X.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Liian suuri: ${O.subject} täytyy olla ${z}${X.maximum.toString()} ${O.unit}`.trim();return`Liian suuri: arvon täytyy olla ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Liian pieni: ${O.subject} täytyy olla ${z}${X.minimum.toString()} ${O.unit}`.trim();return`Liian pieni: arvon täytyy olla ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${z.prefix}"`;if(z.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${z.suffix}"`;if(z.format==="includes")return`Virheellinen syöte: täytyy sisältää "${z.includes}"`;if(z.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${z.pattern}`;return`Virheellinen ${G[z.format]??X.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${X.divisor} monikerta`;case"unrecognized_keys":return`${X.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${x0(X.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öte"}}};function IL(){return{localeError:Qb()}}var Yb=()=>{let I={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(X){return I[X]??null}let G={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},K={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : instanceof ${X.expected} attendu, ${L} reçu`;return`Entrée invalide : ${z} attendu, ${L} reçu`}case"invalid_value":if(X.values.length===1)return`Entrée invalide : ${J$(X.values[0])} attendu`;return`Option invalide : une valeur parmi ${x0(X.values,"|")} attendue`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Trop grand : ${K[X.origin]??"valeur"} doit ${O.verb} ${z}${X.maximum.toString()} ${O.unit??"élément(s)"}`;return`Trop grand : ${K[X.origin]??"valeur"} doit être ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Trop petit : ${K[X.origin]??"valeur"} doit ${O.verb} ${z}${X.minimum.toString()} ${O.unit}`;return`Trop petit : ${K[X.origin]??"valeur"} doit être ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Chaîne invalide : doit commencer par "${z.prefix}"`;if(z.format==="ends_with")return`Chaîne invalide : doit se terminer par "${z.suffix}"`;if(z.format==="includes")return`Chaîne invalide : doit inclure "${z.includes}"`;if(z.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${z.pattern}`;return`${G[z.format]??X.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${X.divisor}`;case"unrecognized_keys":return`Clé${X.keys.length>1?"s":""} non reconnue${X.keys.length>1?"s":""} : ${x0(X.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${X.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${X.origin}`;default:return"Entrée invalide"}}};function XL(){return{localeError:Yb()}}var Gb=()=>{let I={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(X){return I[X]??null}let G={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : attendu instanceof ${X.expected}, reçu ${L}`;return`Entrée invalide : attendu ${z}, reçu ${L}`}case"invalid_value":if(X.values.length===1)return`Entrée invalide : attendu ${J$(X.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"≤":"<",O=J(X.origin);if(O)return`Trop grand : attendu que ${X.origin??"la valeur"} ait ${z}${X.maximum.toString()} ${O.unit}`;return`Trop grand : attendu que ${X.origin??"la valeur"} soit ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?"≥":">",O=J(X.origin);if(O)return`Trop petit : attendu que ${X.origin} ait ${z}${X.minimum.toString()} ${O.unit}`;return`Trop petit : attendu que ${X.origin} soit ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Chaîne invalide : doit commencer par "${z.prefix}"`;if(z.format==="ends_with")return`Chaîne invalide : doit se terminer par "${z.suffix}"`;if(z.format==="includes")return`Chaîne invalide : doit inclure "${z.includes}"`;if(z.format==="regex")return`Chaîne invalide : doit correspondre au motif ${z.pattern}`;return`${G[z.format]??X.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${X.divisor}`;case"unrecognized_keys":return`Clé${X.keys.length>1?"s":""} non reconnue${X.keys.length>1?"s":""} : ${x0(X.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${X.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${X.origin}`;default:return"Entrée invalide"}}};function JL(){return{localeError:Gb()}}var Ob=()=>{let I={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},J={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},G=(E)=>E?I[E]:void 0,K=(E)=>{let _=G(E);if(_)return _.label;return E??I.unknown.label},X=(E)=>`ה${K(E)}`,z=(E)=>{return(G(E)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},O=(E)=>{if(!E)return null;return J[E]??null},L={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",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:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},j={nan:"NaN"};return(E)=>{switch(E.code){case"invalid_type":{let _=E.expected,q=j[_??""]??K(_),P=Q$(E.input),v=j[P]??I[P]?.label??P;if(/^[A-Z]/.test(E.expected))return`קלט לא תקין: צריך להיות instanceof ${E.expected}, התקבל ${v}`;return`קלט לא תקין: צריך להיות ${q}, התקבל ${v}`}case"invalid_value":{if(E.values.length===1)return`ערך לא תקין: הערך חייב להיות ${J$(E.values[0])}`;let _=E.values.map((v)=>J$(v));if(E.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${_[0]} או ${_[1]}`;let q=_[_.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${_.slice(0,-1).join(", ")} או ${q}`}case"too_big":{let _=O(E.origin),q=X(E.origin??"value");if(E.origin==="string")return`${_?.longLabel??"ארוך"} מדי: ${q} צריכה להכיל ${E.maximum.toString()} ${_?.unit??""} ${E.inclusive?"או פחות":"לכל היותר"}`.trim();if(E.origin==="number"){let N=E.inclusive?`קטן או שווה ל-${E.maximum}`:`קטן מ-${E.maximum}`;return`גדול מדי: ${q} צריך להיות ${N}`}if(E.origin==="array"||E.origin==="set"){let N=E.origin==="set"?"צריכה":"צריך",y=E.inclusive?`${E.maximum} ${_?.unit??""} או פחות`:`פחות מ-${E.maximum} ${_?.unit??""}`;return`גדול מדי: ${q} ${N} להכיל ${y}`.trim()}let P=E.inclusive?"<=":"<",v=z(E.origin??"value");if(_?.unit)return`${_.longLabel} מדי: ${q} ${v} ${P}${E.maximum.toString()} ${_.unit}`;return`${_?.longLabel??"גדול"} מדי: ${q} ${v} ${P}${E.maximum.toString()}`}case"too_small":{let _=O(E.origin),q=X(E.origin??"value");if(E.origin==="string")return`${_?.shortLabel??"קצר"} מדי: ${q} צריכה להכיל ${E.minimum.toString()} ${_?.unit??""} ${E.inclusive?"או יותר":"לפחות"}`.trim();if(E.origin==="number"){let N=E.inclusive?`גדול או שווה ל-${E.minimum}`:`גדול מ-${E.minimum}`;return`קטן מדי: ${q} צריך להיות ${N}`}if(E.origin==="array"||E.origin==="set"){let N=E.origin==="set"?"צריכה":"צריך";if(E.minimum===1&&E.inclusive){let w=E.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${q} ${N} להכיל ${w}`}let y=E.inclusive?`${E.minimum} ${_?.unit??""} או יותר`:`יותר מ-${E.minimum} ${_?.unit??""}`;return`קטן מדי: ${q} ${N} להכיל ${y}`.trim()}let P=E.inclusive?">=":">",v=z(E.origin??"value");if(_?.unit)return`${_.shortLabel} מדי: ${q} ${v} ${P}${E.minimum.toString()} ${_.unit}`;return`${_?.shortLabel??"קטן"} מדי: ${q} ${v} ${P}${E.minimum.toString()}`}case"invalid_format":{let _=E;if(_.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${_.prefix}"`;if(_.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${_.suffix}"`;if(_.format==="includes")return`המחרוזת חייבת לכלול "${_.includes}"`;if(_.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${_.pattern}`;let q=L[_.format],P=q?.label??_.format,N=(q?.gender??"m")==="f"?"תקינה":"תקין";return`${P} לא ${N}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${E.divisor}`;case"unrecognized_keys":return`מפתח${E.keys.length>1?"ות":""} לא מזוה${E.keys.length>1?"ים":"ה"}: ${x0(E.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${X(E.origin??"array")}`;default:return"קלט לא תקין"}}};function QL(){return{localeError:Ob()}}var Zb=()=>{let I={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function J(X){return I[X]??null}let G={regex:"unos",email:"email 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:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},K={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Neispravan unos: očekuje se instanceof ${X.expected}, a primljeno je ${L}`;return`Neispravan unos: očekuje se ${z}, a primljeno je ${L}`}case"invalid_value":if(X.values.length===1)return`Neispravna vrijednost: očekivano ${J$(X.values[0])}`;return`Neispravna opcija: očekivano jedno od ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin),L=K[X.origin]??X.origin;if(O)return`Preveliko: očekivano da ${L??"vrijednost"} ima ${z}${X.maximum.toString()} ${O.unit??"elemenata"}`;return`Preveliko: očekivano da ${L??"vrijednost"} bude ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin),L=K[X.origin]??X.origin;if(O)return`Premalo: očekivano da ${L} ima ${z}${X.minimum.toString()} ${O.unit}`;return`Premalo: očekivano da ${L} bude ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Neispravan tekst: mora započinjati s "${z.prefix}"`;if(z.format==="ends_with")return`Neispravan tekst: mora završavati s "${z.suffix}"`;if(z.format==="includes")return`Neispravan tekst: mora sadržavati "${z.includes}"`;if(z.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${z.pattern}`;return`Neispravna ${G[z.format]??X.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${X.divisor}`;case"unrecognized_keys":return`Neprepoznat${X.keys.length>1?"i ključevi":" ključ"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${K[X.origin]??X.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${K[X.origin]??X.origin}`;default:return"Neispravan unos"}}};function YL(){return{localeError:Zb()}}var zb=()=>{let I={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function J(X){return I[X]??null}let G={regex:"bemenet",email:"email cím",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őbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},K={nan:"NaN",number:"szám",array:"tömb"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Érvénytelen bemenet: a várt érték instanceof ${X.expected}, a kapott érték ${L}`;return`Érvénytelen bemenet: a várt érték ${z}, a kapott érték ${L}`}case"invalid_value":if(X.values.length===1)return`Érvénytelen bemenet: a várt érték ${J$(X.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Túl nagy: ${X.origin??"érték"} mérete túl nagy ${z}${X.maximum.toString()} ${O.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${X.origin??"érték"} túl nagy: ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Túl kicsi: a bemeneti érték ${X.origin} mérete túl kicsi ${z}${X.minimum.toString()} ${O.unit}`;return`Túl kicsi: a bemeneti érték ${X.origin} túl kicsi ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Érvénytelen string: "${z.prefix}" értékkel kell kezdődnie`;if(z.format==="ends_with")return`Érvénytelen string: "${z.suffix}" értékkel kell végződnie`;if(z.format==="includes")return`Érvénytelen string: "${z.includes}" értéket kell tartalmaznia`;if(z.format==="regex")return`Érvénytelen string: ${z.pattern} mintának kell megfelelnie`;return`Érvénytelen ${G[z.format]??X.format}`}case"not_multiple_of":return`Érvénytelen szám: ${X.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${X.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${X.origin}`;default:return"Érvénytelen bemenet"}}};function GL(){return{localeError:zb()}}function eS(I,J,G){return Math.abs(I)===1?J:G}function bQ(I){if(!I)return"";let J=["ա","ե","ը","ի","ո","ու","օ"],G=I[I.length-1];return I+(J.includes(G)?"ն":"ը")}var Kb=()=>{let I={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function J(X){return I[X]??null}let G={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},K={nan:"NaN",number:"թիվ",array:"զանգված"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${X.expected}, ստացվել է ${L}`;return`Սխալ մուտքագրում․ սպասվում էր ${z}, ստացվել է ${L}`}case"invalid_value":if(X.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${J$(X.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O){let L=Number(X.maximum),j=eS(L,O.unit.one,O.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${bQ(X.origin??"արժեք")} կունենա ${z}${X.maximum.toString()} ${j}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${bQ(X.origin??"արժեք")} լինի ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O){let L=Number(X.minimum),j=eS(L,O.unit.one,O.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${bQ(X.origin)} կունենա ${z}${X.minimum.toString()} ${j}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${bQ(X.origin)} լինի ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${z.prefix}"-ով`;if(z.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${z.suffix}"-ով`;if(z.format==="includes")return`Սխալ տող․ պետք է պարունակի "${z.includes}"`;if(z.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${z.pattern} ձևաչափին`;return`Սխալ ${G[z.format]??X.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${X.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${X.keys.length>1?"ներ":""}. ${x0(X.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${bQ(X.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${bQ(X.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function OL(){return{localeError:Kb()}}var Vb=()=>{let I={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function J(X){return I[X]??null}let G={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"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Input tidak valid: diharapkan instanceof ${X.expected}, diterima ${L}`;return`Input tidak valid: diharapkan ${z}, diterima ${L}`}case"invalid_value":if(X.values.length===1)return`Input tidak valid: diharapkan ${J$(X.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Terlalu besar: diharapkan ${X.origin??"value"} memiliki ${z}${X.maximum.toString()} ${O.unit??"elemen"}`;return`Terlalu besar: diharapkan ${X.origin??"value"} menjadi ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Terlalu kecil: diharapkan ${X.origin} memiliki ${z}${X.minimum.toString()} ${O.unit}`;return`Terlalu kecil: diharapkan ${X.origin} menjadi ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`String tidak valid: harus dimulai dengan "${z.prefix}"`;if(z.format==="ends_with")return`String tidak valid: harus berakhir dengan "${z.suffix}"`;if(z.format==="includes")return`String tidak valid: harus menyertakan "${z.includes}"`;if(z.format==="regex")return`String tidak valid: harus sesuai pola ${z.pattern}`;return`${G[z.format]??X.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${X.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${X.origin}`;default:return"Input tidak valid"}}};function ZL(){return{localeError:Vb()}}var Db=()=>{let I={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function J(X){return I[X]??null}let G={regex:"gildi",email:"netfang",url:"vefslóð",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ími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",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ölugildi",jwt:"JWT",template_literal:"gildi"},K={nan:"NaN",number:"númer",array:"fylki"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera instanceof ${X.expected}`;return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera ${z}`}case"invalid_value":if(X.values.length===1)return`Rangt gildi: gert ráð fyrir ${J$(X.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} hafi ${z}${X.maximum.toString()} ${O.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} sé ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Of lítið: gert er ráð fyrir að ${X.origin} hafi ${z}${X.minimum.toString()} ${O.unit}`;return`Of lítið: gert er ráð fyrir að ${X.origin} sé ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ógildur strengur: verður að byrja á "${z.prefix}"`;if(z.format==="ends_with")return`Ógildur strengur: verður að enda á "${z.suffix}"`;if(z.format==="includes")return`Ógildur strengur: verður að innihalda "${z.includes}"`;if(z.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${z.pattern}`;return`Rangt ${G[z.format]??X.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${X.divisor}`;case"unrecognized_keys":return`Óþekkt ${X.keys.length>1?"ir lyklar":"ur lykill"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${X.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${X.origin}`;default:return"Rangt gildi"}}};function zL(){return{localeError:Db()}}var Wb=()=>{let I={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function J(X){return I[X]??null}let G={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"},K={nan:"NaN",number:"numero",array:"vettore"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Input non valido: atteso instanceof ${X.expected}, ricevuto ${L}`;return`Input non valido: atteso ${z}, ricevuto ${L}`}case"invalid_value":if(X.values.length===1)return`Input non valido: atteso ${J$(X.values[0])}`;return`Opzione non valida: atteso uno tra ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Troppo grande: ${X.origin??"valore"} deve avere ${z}${X.maximum.toString()} ${O.unit??"elementi"}`;return`Troppo grande: ${X.origin??"valore"} deve essere ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Troppo piccolo: ${X.origin} deve avere ${z}${X.minimum.toString()} ${O.unit}`;return`Troppo piccolo: ${X.origin} deve essere ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Stringa non valida: deve iniziare con "${z.prefix}"`;if(z.format==="ends_with")return`Stringa non valida: deve terminare con "${z.suffix}"`;if(z.format==="includes")return`Stringa non valida: deve includere "${z.includes}"`;if(z.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${z.pattern}`;return`Input non valido: ${G[z.format]??X.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${X.divisor}`;case"unrecognized_keys":return`Chiav${X.keys.length>1?"i":"e"} non riconosciut${X.keys.length>1?"e":"a"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${X.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${X.origin}`;default:return"Input non valido"}}};function KL(){return{localeError:Wb()}}var Fb=()=>{let I={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function J(X){return I[X]??null}let G={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},K={nan:"NaN",number:"数値",array:"配列"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`無効な入力: instanceof ${X.expected}が期待されましたが、${L}が入力されました`;return`無効な入力: ${z}が期待されましたが、${L}が入力されました`}case"invalid_value":if(X.values.length===1)return`無効な入力: ${J$(X.values[0])}が期待されました`;return`無効な選択: ${x0(X.values,"、")}のいずれかである必要があります`;case"too_big":{let z=X.inclusive?"以下である":"より小さい",O=J(X.origin);if(O)return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${O.unit??"要素"}${z}必要があります`;return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${z}必要があります`}case"too_small":{let z=X.inclusive?"以上である":"より大きい",O=J(X.origin);if(O)return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${O.unit}${z}必要があります`;return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${z}必要があります`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`無効な文字列: "${z.prefix}"で始まる必要があります`;if(z.format==="ends_with")return`無効な文字列: "${z.suffix}"で終わる必要があります`;if(z.format==="includes")return`無効な文字列: "${z.includes}"を含む必要があります`;if(z.format==="regex")return`無効な文字列: パターン${z.pattern}に一致する必要があります`;return`無効な${G[z.format]??X.format}`}case"not_multiple_of":return`無効な数値: ${X.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${X.keys.length>1?"群":""}: ${x0(X.keys,"、")}`;case"invalid_key":return`${X.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${X.origin}内の無効な値`;default:return"無効な入力"}}};function VL(){return{localeError:Fb()}}var Hb=()=>{let I={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function J(X){return I[X]??null}let G={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},K={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${X.expected}, მიღებული ${L}`;return`არასწორი შეყვანა: მოსალოდნელი ${z}, მიღებული ${L}`}case"invalid_value":if(X.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${J$(X.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${x0(X.values,"|")}-დან`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} ${O.verb} ${z}${X.maximum.toString()} ${O.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} იყოს ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} ${O.verb} ${z}${X.minimum.toString()} ${O.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} იყოს ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${z.prefix}"-ით`;if(z.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${z.suffix}"-ით`;if(z.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${z.includes}"-ს`;if(z.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${z.pattern}`;return`არასწორი ${G[z.format]??X.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${X.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${X.keys.length>1?"ები":"ი"}: ${x0(X.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${X.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${X.origin}-ში`;default:return"არასწორი შეყვანა"}}};function DL(){return{localeError:Hb()}}var Lb=()=>{let I={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function J(X){return I[X]??null}let G={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},K={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${X.expected} ប៉ុន្តែទទួលបាន ${L}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${z} ប៉ុន្តែទទួលបាន ${L}`}case"invalid_value":if(X.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${J$(X.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${z} ${X.maximum.toString()} ${O.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`តូចពេក៖ ត្រូវការ ${X.origin} ${z} ${X.minimum.toString()} ${O.unit}`;return`តូចពេក៖ ត្រូវការ ${X.origin} ${z} ${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${z.prefix}"`;if(z.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${z.suffix}"`;if(z.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${z.includes}"`;if(z.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${z.pattern}`;return`មិនត្រឹមត្រូវ៖ ${G[z.format]??X.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${X.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${x0(X.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function C2(){return{localeError:Lb()}}function WL(){return C2()}var Mb=()=>{let I={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function J(X){return I[X]??null}let G={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`잘못된 입력: 예상 타입은 instanceof ${X.expected}, 받은 타입은 ${L}입니다`;return`잘못된 입력: 예상 타입은 ${z}, 받은 타입은 ${L}입니다`}case"invalid_value":if(X.values.length===1)return`잘못된 입력: 값은 ${J$(X.values[0])} 이어야 합니다`;return`잘못된 옵션: ${x0(X.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let z=X.inclusive?"이하":"미만",O=z==="미만"?"이어야 합니다":"여야 합니다",L=J(X.origin),j=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()}${j} ${z}${O}`;return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()} ${z}${O}`}case"too_small":{let z=X.inclusive?"이상":"초과",O=z==="이상"?"이어야 합니다":"여야 합니다",L=J(X.origin),j=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()}${j} ${z}${O}`;return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()} ${z}${O}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`잘못된 문자열: "${z.prefix}"(으)로 시작해야 합니다`;if(z.format==="ends_with")return`잘못된 문자열: "${z.suffix}"(으)로 끝나야 합니다`;if(z.format==="includes")return`잘못된 문자열: "${z.includes}"을(를) 포함해야 합니다`;if(z.format==="regex")return`잘못된 문자열: 정규식 ${z.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${G[z.format]??X.format}`}case"not_multiple_of":return`잘못된 숫자: ${X.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${x0(X.keys,", ")}`;case"invalid_key":return`잘못된 키: ${X.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${X.origin}`;default:return"잘못된 입력"}}};function FL(){return{localeError:Mb()}}var T2=(I)=>{return I.charAt(0).toUpperCase()+I.slice(1)};function $j(I){let J=Math.abs(I),G=J%10,K=J%100;if(K>=11&&K<=19||G===0)return"many";if(G===1)return"one";return"few"}var Ab=()=>{let I={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function J(X,z,O,L){let j=I[X]??null;if(j===null)return j;return{unit:j.unit[z],verb:j.verb[L][O?"inclusive":"notInclusive"]}}let G={regex:"įvestis",email:"el. pašto 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ė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},K={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Gautas tipas ${L}, o tikėtasi - instanceof ${X.expected}`;return`Gautas tipas ${L}, o tikėtasi - ${z}`}case"invalid_value":if(X.values.length===1)return`Privalo būti ${J$(X.values[0])}`;return`Privalo būti vienas iš ${x0(X.values,"|")} pasirinkimų`;case"too_big":{let z=K[X.origin]??X.origin,O=J(X.origin,$j(Number(X.maximum)),X.inclusive??!1,"smaller");if(O?.verb)return`${T2(z??X.origin??"reikšmė")} ${O.verb} ${X.maximum.toString()} ${O.unit??"elementų"}`;let L=X.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${T2(z??X.origin??"reikšmė")} turi būti ${L} ${X.maximum.toString()} ${O?.unit}`}case"too_small":{let z=K[X.origin]??X.origin,O=J(X.origin,$j(Number(X.minimum)),X.inclusive??!1,"bigger");if(O?.verb)return`${T2(z??X.origin??"reikšmė")} ${O.verb} ${X.minimum.toString()} ${O.unit??"elementų"}`;let L=X.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${T2(z??X.origin??"reikšmė")} turi būti ${L} ${X.minimum.toString()} ${O?.unit}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Eilutė privalo prasidėti "${z.prefix}"`;if(z.format==="ends_with")return`Eilutė privalo pasibaigti "${z.suffix}"`;if(z.format==="includes")return`Eilutė privalo įtraukti "${z.includes}"`;if(z.format==="regex")return`Eilutė privalo atitikti ${z.pattern}`;return`Neteisingas ${G[z.format]??X.format}`}case"not_multiple_of":return`Skaičius privalo būti ${X.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${X.keys.length>1?"i":"as"} rakt${X.keys.length>1?"ai":"as"}: ${x0(X.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let z=K[X.origin]??X.origin;return`${T2(z??X.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function HL(){return{localeError:Ab()}}var qb=()=>{let I={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function J(X){return I[X]??null}let G={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},K={nan:"NaN",number:"број",array:"низа"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Грешен внес: се очекува instanceof ${X.expected}, примено ${L}`;return`Грешен внес: се очекува ${z}, примено ${L}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${J$(X.values[0])}`;return`Грешана опција: се очекува една ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Премногу голем: се очекува ${X.origin??"вредноста"} да има ${z}${X.maximum.toString()} ${O.unit??"елементи"}`;return`Премногу голем: се очекува ${X.origin??"вредноста"} да биде ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Премногу мал: се очекува ${X.origin} да има ${z}${X.minimum.toString()} ${O.unit}`;return`Премногу мал: се очекува ${X.origin} да биде ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Неважечка низа: мора да започнува со "${z.prefix}"`;if(z.format==="ends_with")return`Неважечка низа: мора да завршува со "${z.suffix}"`;if(z.format==="includes")return`Неважечка низа: мора да вклучува "${z.includes}"`;if(z.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${z.pattern}`;return`Invalid ${G[z.format]??X.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${X.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${X.origin}`;default:return"Грешен внес"}}};function LL(){return{localeError:qb()}}var Cb=()=>{let I={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function J(X){return I[X]??null}let G={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"},K={nan:"NaN",number:"nombor"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Input tidak sah: dijangka instanceof ${X.expected}, diterima ${L}`;return`Input tidak sah: dijangka ${z}, diterima ${L}`}case"invalid_value":if(X.values.length===1)return`Input tidak sah: dijangka ${J$(X.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Terlalu besar: dijangka ${X.origin??"nilai"} ${O.verb} ${z}${X.maximum.toString()} ${O.unit??"elemen"}`;return`Terlalu besar: dijangka ${X.origin??"nilai"} adalah ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Terlalu kecil: dijangka ${X.origin} ${O.verb} ${z}${X.minimum.toString()} ${O.unit}`;return`Terlalu kecil: dijangka ${X.origin} adalah ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`String tidak sah: mesti bermula dengan "${z.prefix}"`;if(z.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${z.suffix}"`;if(z.format==="includes")return`String tidak sah: mesti mengandungi "${z.includes}"`;if(z.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${z.pattern}`;return`${G[z.format]??X.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${x0(X.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${X.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${X.origin}`;default:return"Input tidak sah"}}};function ML(){return{localeError:Cb()}}var Tb=()=>{let I={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function J(X){return I[X]??null}let G={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"},K={nan:"NaN",number:"getal"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Ongeldige invoer: verwacht instanceof ${X.expected}, ontving ${L}`;return`Ongeldige invoer: verwacht ${z}, ontving ${L}`}case"invalid_value":if(X.values.length===1)return`Ongeldige invoer: verwacht ${J$(X.values[0])}`;return`Ongeldige optie: verwacht één van ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin),L=X.origin==="date"?"laat":X.origin==="string"?"lang":"groot";if(O)return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${z}${X.maximum.toString()} ${O.unit??"elementen"} ${O.verb}`;return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${z}${X.maximum.toString()} is`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin),L=X.origin==="date"?"vroeg":X.origin==="string"?"kort":"klein";if(O)return`Te ${L}: verwacht dat ${X.origin} ${z}${X.minimum.toString()} ${O.unit} ${O.verb}`;return`Te ${L}: verwacht dat ${X.origin} ${z}${X.minimum.toString()} is`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ongeldige tekst: moet met "${z.prefix}" beginnen`;if(z.format==="ends_with")return`Ongeldige tekst: moet op "${z.suffix}" eindigen`;if(z.format==="includes")return`Ongeldige tekst: moet "${z.includes}" bevatten`;if(z.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${z.pattern}`;return`Ongeldig: ${G[z.format]??X.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${X.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${X.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${X.origin}`;default:return"Ongeldige invoer"}}};function AL(){return{localeError:Tb()}}var Rb=()=>{let I={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function J(X){return I[X]??null}let G={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åde",ipv6:"IPv6-område",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"},K={nan:"NaN",number:"tall",array:"liste"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Ugyldig input: forventet instanceof ${X.expected}, fikk ${L}`;return`Ugyldig input: forventet ${z}, fikk ${L}`}case"invalid_value":if(X.values.length===1)return`Ugyldig verdi: forventet ${J$(X.values[0])}`;return`Ugyldig valg: forventet en av ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`For stor(t): forventet ${X.origin??"value"} til å ha ${z}${X.maximum.toString()} ${O.unit??"elementer"}`;return`For stor(t): forventet ${X.origin??"value"} til å ha ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`For lite(n): forventet ${X.origin} til å ha ${z}${X.minimum.toString()} ${O.unit}`;return`For lite(n): forventet ${X.origin} til å ha ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ugyldig streng: må starte med "${z.prefix}"`;if(z.format==="ends_with")return`Ugyldig streng: må ende med "${z.suffix}"`;if(z.format==="includes")return`Ugyldig streng: må inneholde "${z.includes}"`;if(z.format==="regex")return`Ugyldig streng: må matche mønsteret ${z.pattern}`;return`Ugyldig ${G[z.format]??X.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${X.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${X.origin}`;default:return"Ugyldig input"}}};function qL(){return{localeError:Rb()}}var Pb=()=>{let I={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function J(X){return I[X]??null}let G={regex:"giren",email:"epostagâh",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âmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},K={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Fâsit giren: umulan instanceof ${X.expected}, alınan ${L}`;return`Fâsit giren: umulan ${z}, alınan ${L}`}case"invalid_value":if(X.values.length===1)return`Fâsit giren: umulan ${J$(X.values[0])}`;return`Fâsit tercih: mûteberler ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Fazla büyük: ${X.origin??"value"}, ${z}${X.maximum.toString()} ${O.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${X.origin??"value"}, ${z}${X.maximum.toString()} olmalıydı.`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Fazla küçük: ${X.origin}, ${z}${X.minimum.toString()} ${O.unit} sahip olmalıydı.`;return`Fazla küçük: ${X.origin}, ${z}${X.minimum.toString()} olmalıydı.`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Fâsit metin: "${z.prefix}" ile başlamalı.`;if(z.format==="ends_with")return`Fâsit metin: "${z.suffix}" ile bitmeli.`;if(z.format==="includes")return`Fâsit metin: "${z.includes}" ihtivâ etmeli.`;if(z.format==="regex")return`Fâsit metin: ${z.pattern} nakşına uymalı.`;return`Fâsit ${G[z.format]??X.format}`}case"not_multiple_of":return`Fâsit sayı: ${X.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`${X.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${X.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function CL(){return{localeError:Pb()}}var Eb=()=>{let I={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function J(X){return I[X]??null}let G={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},K={nan:"NaN",number:"عدد",array:"ارې"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`ناسم ورودي: باید instanceof ${X.expected} وای, مګر ${L} ترلاسه شو`;return`ناسم ورودي: باید ${z} وای, مګر ${L} ترلاسه شو`}case"invalid_value":if(X.values.length===1)return`ناسم ورودي: باید ${J$(X.values[0])} وای`;return`ناسم انتخاب: باید یو له ${x0(X.values,"|")} څخه وای`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`ډیر لوی: ${X.origin??"ارزښت"} باید ${z}${X.maximum.toString()} ${O.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${X.origin??"ارزښت"} باید ${z}${X.maximum.toString()} وي`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`ډیر کوچنی: ${X.origin} باید ${z}${X.minimum.toString()} ${O.unit} ولري`;return`ډیر کوچنی: ${X.origin} باید ${z}${X.minimum.toString()} وي`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`ناسم متن: باید د "${z.prefix}" سره پیل شي`;if(z.format==="ends_with")return`ناسم متن: باید د "${z.suffix}" سره پای ته ورسيږي`;if(z.format==="includes")return`ناسم متن: باید "${z.includes}" ولري`;if(z.format==="regex")return`ناسم متن: باید د ${z.pattern} سره مطابقت ولري`;return`${G[z.format]??X.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${X.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${X.keys.length>1?"کلیډونه":"کلیډ"}: ${x0(X.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${X.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${X.origin} کې`;default:return"ناسمه ورودي"}}};function TL(){return{localeError:Eb()}}var _b=()=>{let I={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function J(X){return I[X]??null}let G={regex:"wyrażenie",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ąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},K={nan:"NaN",number:"liczba",array:"tablica"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${X.expected}, otrzymano ${L}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${z}, otrzymano ${L}`}case"invalid_value":if(X.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${J$(X.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Za duża wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${z}${X.maximum.toString()} ${O.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Za mała wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${z}${X.minimum.toString()} ${O.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${z.prefix}"`;if(z.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${z.suffix}"`;if(z.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${z.includes}"`;if(z.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${z.pattern}`;return`Nieprawidłow(y/a/e) ${G[z.format]??X.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${X.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${X.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${X.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function RL(){return{localeError:_b()}}var Sb=()=>{let I={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function J(X){return I[X]??null}let G={regex:"padrão",email:"endereço 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ção ISO",ipv4:"endereço IPv4",ipv6:"endereço 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úmero E.164",jwt:"JWT",template_literal:"entrada"},K={nan:"NaN",number:"número",null:"nulo"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Tipo inválido: esperado instanceof ${X.expected}, recebido ${L}`;return`Tipo inválido: esperado ${z}, recebido ${L}`}case"invalid_value":if(X.values.length===1)return`Entrada inválida: esperado ${J$(X.values[0])}`;return`Opção inválida: esperada uma das ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Muito grande: esperado que ${X.origin??"valor"} tivesse ${z}${X.maximum.toString()} ${O.unit??"elementos"}`;return`Muito grande: esperado que ${X.origin??"valor"} fosse ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Muito pequeno: esperado que ${X.origin} tivesse ${z}${X.minimum.toString()} ${O.unit}`;return`Muito pequeno: esperado que ${X.origin} fosse ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Texto inválido: deve começar com "${z.prefix}"`;if(z.format==="ends_with")return`Texto inválido: deve terminar com "${z.suffix}"`;if(z.format==="includes")return`Texto inválido: deve incluir "${z.includes}"`;if(z.format==="regex")return`Texto inválido: deve corresponder ao padrão ${z.pattern}`;return`${G[z.format]??X.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${X.divisor}`;case"unrecognized_keys":return`Chave${X.keys.length>1?"s":""} desconhecida${X.keys.length>1?"s":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Chave inválida em ${X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${X.origin}`;default:return"Campo inválido"}}};function PL(){return{localeError:Sb()}}var jb=()=>{let I={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function J(X){return I[X]??null}let G={regex:"intrare",email:"adresă de 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:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},K={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;return`Intrare invalidă: așteptat ${z}, primit ${L}`}case"invalid_value":if(X.values.length===1)return`Intrare invalidă: așteptat ${J$(X.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Prea mare: așteptat ca ${X.origin??"valoarea"} ${O.verb} ${z}${X.maximum.toString()} ${O.unit??"elemente"}`;return`Prea mare: așteptat ca ${X.origin??"valoarea"} să fie ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Prea mic: așteptat ca ${X.origin} ${O.verb} ${z}${X.minimum.toString()} ${O.unit}`;return`Prea mic: așteptat ca ${X.origin} să fie ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${z.prefix}"`;if(z.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${z.suffix}"`;if(z.format==="includes")return`Șir invalid: trebuie să includă "${z.includes}"`;if(z.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${z.pattern}`;return`Format invalid: ${G[z.format]??X.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${X.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${x0(X.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${X.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${X.origin}`;default:return"Intrare invalidă"}}};function EL(){return{localeError:jb()}}function Uj(I,J,G,K){let X=Math.abs(I),z=X%10,O=X%100;if(O>=11&&O<=19)return K;if(z===1)return J;if(z>=2&&z<=4)return G;return K}var vb=()=>{let I={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function J(X){return I[X]??null}let G={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},K={nan:"NaN",number:"число",array:"массив"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Неверный ввод: ожидалось instanceof ${X.expected}, получено ${L}`;return`Неверный ввод: ожидалось ${z}, получено ${L}`}case"invalid_value":if(X.values.length===1)return`Неверный ввод: ожидалось ${J$(X.values[0])}`;return`Неверный вариант: ожидалось одно из ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O){let L=Number(X.maximum),j=Uj(L,O.unit.one,O.unit.few,O.unit.many);return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет иметь ${z}${X.maximum.toString()} ${j}`}return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O){let L=Number(X.minimum),j=Uj(L,O.unit.one,O.unit.few,O.unit.many);return`Слишком маленькое значение: ожидалось, что ${X.origin} будет иметь ${z}${X.minimum.toString()} ${j}`}return`Слишком маленькое значение: ожидалось, что ${X.origin} будет ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Неверная строка: должна начинаться с "${z.prefix}"`;if(z.format==="ends_with")return`Неверная строка: должна заканчиваться на "${z.suffix}"`;if(z.format==="includes")return`Неверная строка: должна содержать "${z.includes}"`;if(z.format==="regex")return`Неверная строка: должна соответствовать шаблону ${z.pattern}`;return`Неверный ${G[z.format]??X.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспознанн${X.keys.length>1?"ые":"ый"} ключ${X.keys.length>1?"и":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${X.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${X.origin}`;default:return"Неверные входные данные"}}};function _L(){return{localeError:vb()}}var Bb=()=>{let I={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function J(X){return I[X]??null}let G={regex:"vnos",email:"e-poštni 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 čas",date:"ISO datum",time:"ISO čas",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 številka",jwt:"JWT",template_literal:"vnos"},K={nan:"NaN",number:"število",array:"tabela"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Neveljaven vnos: pričakovano instanceof ${X.expected}, prejeto ${L}`;return`Neveljaven vnos: pričakovano ${z}, prejeto ${L}`}case"invalid_value":if(X.values.length===1)return`Neveljaven vnos: pričakovano ${J$(X.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} imelo ${z}${X.maximum.toString()} ${O.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Premajhno: pričakovano, da bo ${X.origin} imelo ${z}${X.minimum.toString()} ${O.unit}`;return`Premajhno: pričakovano, da bo ${X.origin} ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Neveljaven niz: mora se začeti z "${z.prefix}"`;if(z.format==="ends_with")return`Neveljaven niz: mora se končati z "${z.suffix}"`;if(z.format==="includes")return`Neveljaven niz: mora vsebovati "${z.includes}"`;if(z.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${z.pattern}`;return`Neveljaven ${G[z.format]??X.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${X.divisor}`;case"unrecognized_keys":return`Neprepoznan${X.keys.length>1?"i ključi":" ključ"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${X.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${X.origin}`;default:return"Neveljaven vnos"}}};function SL(){return{localeError:Bb()}}var Nb=()=>{let I={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function J(X){return I[X]??null}let G={regex:"reguljärt 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äng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},K={nan:"NaN",number:"antal",array:"lista"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Ogiltig inmatning: förväntat instanceof ${X.expected}, fick ${L}`;return`Ogiltig inmatning: förväntat ${z}, fick ${L}`}case"invalid_value":if(X.values.length===1)return`Ogiltig inmatning: förväntat ${J$(X.values[0])}`;return`Ogiltigt val: förväntade en av ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`För stor(t): förväntade ${X.origin??"värdet"} att ha ${z}${X.maximum.toString()} ${O.unit??"element"}`;return`För stor(t): förväntat ${X.origin??"värdet"} att ha ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${z}${X.minimum.toString()} ${O.unit}`;return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ogiltig sträng: måste börja med "${z.prefix}"`;if(z.format==="ends_with")return`Ogiltig sträng: måste sluta med "${z.suffix}"`;if(z.format==="includes")return`Ogiltig sträng: måste innehålla "${z.includes}"`;if(z.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${z.pattern}"`;return`Ogiltig(t) ${G[z.format]??X.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${x0(X.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${X.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${X.origin??"värdet"}`;default:return"Ogiltig input"}}};function jL(){return{localeError:Nb()}}var kb=()=>{let I={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function J(X){return I[X]??null}let G={regex:"உள்ளீடு",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:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},K={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${X.expected}, பெறப்பட்டது ${L}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${z}, பெறப்பட்டது ${L}`}case"invalid_value":if(X.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${J$(X.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${x0(X.values,"|")} இல் ஒன்று`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${z}${X.maximum.toString()} ${O.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${z}${X.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${z}${X.minimum.toString()} ${O.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${z}${X.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`தவறான சரம்: "${z.prefix}" இல் தொடங்க வேண்டும்`;if(z.format==="ends_with")return`தவறான சரம்: "${z.suffix}" இல் முடிவடைய வேண்டும்`;if(z.format==="includes")return`தவறான சரம்: "${z.includes}" ஐ உள்ளடக்க வேண்டும்`;if(z.format==="regex")return`தவறான சரம்: ${z.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${G[z.format]??X.format}`}case"not_multiple_of":return`தவறான எண்: ${X.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${X.keys.length>1?"கள்":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`${X.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${X.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function vL(){return{localeError:kb()}}var gb=()=>{let I={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function J(X){return I[X]??null}let G={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},K={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${X.expected} แต่ได้รับ ${L}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${z} แต่ได้รับ ${L}`}case"invalid_value":if(X.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${J$(X.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"ไม่เกิน":"น้อยกว่า",O=J(X.origin);if(O)return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${z} ${X.maximum.toString()} ${O.unit??"รายการ"}`;return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?"อย่างน้อย":"มากกว่า",O=J(X.origin);if(O)return`น้อยกว่ากำหนด: ${X.origin} ควรมี${z} ${X.minimum.toString()} ${O.unit}`;return`น้อยกว่ากำหนด: ${X.origin} ควรมี${z} ${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${z.prefix}"`;if(z.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${z.suffix}"`;if(z.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${z.includes}" อยู่ในข้อความ`;if(z.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${z.pattern}`;return`รูปแบบไม่ถูกต้อง: ${G[z.format]??X.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${X.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${x0(X.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${X.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${X.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function BL(){return{localeError:gb()}}var xb=()=>{let I={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function J(X){return I[X]??null}let G={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üre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Geçersiz değer: beklenen instanceof ${X.expected}, alınan ${L}`;return`Geçersiz değer: beklenen ${z}, alınan ${L}`}case"invalid_value":if(X.values.length===1)return`Geçersiz değer: beklenen ${J$(X.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Çok büyük: beklenen ${X.origin??"değer"} ${z}${X.maximum.toString()} ${O.unit??"öğe"}`;return`Çok büyük: beklenen ${X.origin??"değer"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Çok küçük: beklenen ${X.origin} ${z}${X.minimum.toString()} ${O.unit}`;return`Çok küçük: beklenen ${X.origin} ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Geçersiz metin: "${z.prefix}" ile başlamalı`;if(z.format==="ends_with")return`Geçersiz metin: "${z.suffix}" ile bitmeli`;if(z.format==="includes")return`Geçersiz metin: "${z.includes}" içermeli`;if(z.format==="regex")return`Geçersiz metin: ${z.pattern} desenine uymalı`;return`Geçersiz ${G[z.format]??X.format}`}case"not_multiple_of":return`Geçersiz sayı: ${X.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${X.keys.length>1?"lar":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`${X.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${X.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function NL(){return{localeError:xb()}}var wb=()=>{let I={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function J(X){return I[X]??null}let G={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},K={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Неправильні вхідні дані: очікується instanceof ${X.expected}, отримано ${L}`;return`Неправильні вхідні дані: очікується ${z}, отримано ${L}`}case"invalid_value":if(X.values.length===1)return`Неправильні вхідні дані: очікується ${J$(X.values[0])}`;return`Неправильна опція: очікується одне з ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Занадто велике: очікується, що ${X.origin??"значення"} ${O.verb} ${z}${X.maximum.toString()} ${O.unit??"елементів"}`;return`Занадто велике: очікується, що ${X.origin??"значення"} буде ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Занадто мале: очікується, що ${X.origin} ${O.verb} ${z}${X.minimum.toString()} ${O.unit}`;return`Занадто мале: очікується, що ${X.origin} буде ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Неправильний рядок: повинен починатися з "${z.prefix}"`;if(z.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${z.suffix}"`;if(z.format==="includes")return`Неправильний рядок: повинен містити "${z.includes}"`;if(z.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${z.pattern}`;return`Неправильний ${G[z.format]??X.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${X.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${X.keys.length>1?"і":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${X.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${X.origin}`;default:return"Неправильні вхідні дані"}}};function R2(){return{localeError:wb()}}function kL(){return R2()}var fb=()=>{let I={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function J(X){return I[X]??null}let G={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},K={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`غلط ان پٹ: instanceof ${X.expected} متوقع تھا، ${L} موصول ہوا`;return`غلط ان پٹ: ${z} متوقع تھا، ${L} موصول ہوا`}case"invalid_value":if(X.values.length===1)return`غلط ان پٹ: ${J$(X.values[0])} متوقع تھا`;return`غلط آپشن: ${x0(X.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`بہت بڑا: ${X.origin??"ویلیو"} کے ${z}${X.maximum.toString()} ${O.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${X.origin??"ویلیو"} کا ${z}${X.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`بہت چھوٹا: ${X.origin} کے ${z}${X.minimum.toString()} ${O.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${X.origin} کا ${z}${X.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`غلط سٹرنگ: "${z.prefix}" سے شروع ہونا چاہیے`;if(z.format==="ends_with")return`غلط سٹرنگ: "${z.suffix}" پر ختم ہونا چاہیے`;if(z.format==="includes")return`غلط سٹرنگ: "${z.includes}" شامل ہونا چاہیے`;if(z.format==="regex")return`غلط سٹرنگ: پیٹرن ${z.pattern} سے میچ ہونا چاہیے`;return`غلط ${G[z.format]??X.format}`}case"not_multiple_of":return`غلط نمبر: ${X.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${X.keys.length>1?"ز":""}: ${x0(X.keys,"، ")}`;case"invalid_key":return`${X.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${X.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function gL(){return{localeError:fb()}}var yb=()=>{let I={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function J(X){return I[X]??null}let G={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"},K={nan:"NaN",number:"raqam",array:"massiv"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${X.expected}, qabul qilingan ${L}`;return`Noto‘g‘ri kirish: kutilgan ${z}, qabul qilingan ${L}`}case"invalid_value":if(X.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${J$(X.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Juda katta: kutilgan ${X.origin??"qiymat"} ${z}${X.maximum.toString()} ${O.unit} ${O.verb}`;return`Juda katta: kutilgan ${X.origin??"qiymat"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Juda kichik: kutilgan ${X.origin} ${z}${X.minimum.toString()} ${O.unit} ${O.verb}`;return`Juda kichik: kutilgan ${X.origin} ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Noto‘g‘ri satr: "${z.prefix}" bilan boshlanishi kerak`;if(z.format==="ends_with")return`Noto‘g‘ri satr: "${z.suffix}" bilan tugashi kerak`;if(z.format==="includes")return`Noto‘g‘ri satr: "${z.includes}" ni o‘z ichiga olishi kerak`;if(z.format==="regex")return`Noto‘g‘ri satr: ${z.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${G[z.format]??X.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${X.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${X.keys.length>1?"lar":""}: ${x0(X.keys,", ")}`;case"invalid_key":return`${X.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${X.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function xL(){return{localeError:yb()}}var ub=()=>{let I={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function J(X){return I[X]??null}let G={regex:"đầu vào",email:"địa chỉ 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ày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},K={nan:"NaN",number:"số",array:"mảng"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${X.expected}, nhận được ${L}`;return`Đầu vào không hợp lệ: mong đợi ${z}, nhận được ${L}`}case"invalid_value":if(X.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${J$(X.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${O.verb} ${z}${X.maximum.toString()} ${O.unit??"phần tử"}`;return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Quá nhỏ: mong đợi ${X.origin} ${O.verb} ${z}${X.minimum.toString()} ${O.unit}`;return`Quá nhỏ: mong đợi ${X.origin} ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${z.prefix}"`;if(z.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${z.suffix}"`;if(z.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${z.includes}"`;if(z.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${z.pattern}`;return`${G[z.format]??X.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${X.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${x0(X.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${X.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${X.origin}`;default:return"Đầu vào không hợp lệ"}}};function wL(){return{localeError:ub()}}var bb=()=>{let I={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function J(X){return I[X]??null}let G={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},K={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`无效输入:期望 instanceof ${X.expected},实际接收 ${L}`;return`无效输入:期望 ${z},实际接收 ${L}`}case"invalid_value":if(X.values.length===1)return`无效输入:期望 ${J$(X.values[0])}`;return`无效选项:期望以下之一 ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`数值过大:期望 ${X.origin??"值"} ${z}${X.maximum.toString()} ${O.unit??"个元素"}`;return`数值过大:期望 ${X.origin??"值"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`数值过小:期望 ${X.origin} ${z}${X.minimum.toString()} ${O.unit}`;return`数值过小:期望 ${X.origin} ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`无效字符串:必须以 "${z.prefix}" 开头`;if(z.format==="ends_with")return`无效字符串:必须以 "${z.suffix}" 结尾`;if(z.format==="includes")return`无效字符串:必须包含 "${z.includes}"`;if(z.format==="regex")return`无效字符串:必须满足正则表达式 ${z.pattern}`;return`无效${G[z.format]??X.format}`}case"not_multiple_of":return`无效数字:必须是 ${X.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${x0(X.keys,", ")}`;case"invalid_key":return`${X.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${X.origin} 中包含无效值(value)`;default:return"无效输入"}}};function fL(){return{localeError:bb()}}var hb=()=>{let I={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function J(X){return I[X]??null}let G={regex:"輸入",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:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},K={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`無效的輸入值:預期為 instanceof ${X.expected},但收到 ${L}`;return`無效的輸入值:預期為 ${z},但收到 ${L}`}case"invalid_value":if(X.values.length===1)return`無效的輸入值:預期為 ${J$(X.values[0])}`;return`無效的選項:預期為以下其中之一 ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`數值過大:預期 ${X.origin??"值"} 應為 ${z}${X.maximum.toString()} ${O.unit??"個元素"}`;return`數值過大:預期 ${X.origin??"值"} 應為 ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`數值過小:預期 ${X.origin} 應為 ${z}${X.minimum.toString()} ${O.unit}`;return`數值過小:預期 ${X.origin} 應為 ${z}${X.minimum.toString()}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`無效的字串:必須以 "${z.prefix}" 開頭`;if(z.format==="ends_with")return`無效的字串:必須以 "${z.suffix}" 結尾`;if(z.format==="includes")return`無效的字串:必須包含 "${z.includes}"`;if(z.format==="regex")return`無效的字串:必須符合格式 ${z.pattern}`;return`無效的 ${G[z.format]??X.format}`}case"not_multiple_of":return`無效的數字:必須為 ${X.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${X.keys.length>1?"們":""}:${x0(X.keys,"、")}`;case"invalid_key":return`${X.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${X.origin} 中有無效的值`;default:return"無效的輸入值"}}};function yL(){return{localeError:hb()}}var cb=()=>{let I={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function J(X){return I[X]??null}let G={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",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:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},K={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(X)=>{switch(X.code){case"invalid_type":{let z=K[X.expected]??X.expected,O=Q$(X.input),L=K[O]??O;if(/^[A-Z]/.test(X.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${X.expected}, àmọ̀ a rí ${L}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${z}, àmọ̀ a rí ${L}`}case"invalid_value":if(X.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${J$(X.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${x0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",O=J(X.origin);if(O)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${X.origin??"iye"} ${O.verb} ${z}${X.maximum} ${O.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${z}${X.maximum}`}case"too_small":{let z=X.inclusive?">=":">",O=J(X.origin);if(O)return`Kéré ju: a ní láti jẹ́ pé ${X.origin} ${O.verb} ${z}${X.minimum} ${O.unit}`;return`Kéré ju: a ní láti jẹ́ ${z}${X.minimum}`}case"invalid_format":{let z=X;if(z.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${z.prefix}"`;if(z.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${z.suffix}"`;if(z.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${z.includes}"`;if(z.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${z.pattern}`;return`Aṣìṣe: ${G[z.format]??X.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${X.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${x0(X.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${X.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${X.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function uL(){return{localeError:cb()}}var Ij,bL=Symbol("ZodOutput"),hL=Symbol("ZodInput");class cL{constructor(){this._map=new WeakMap,this._idmap=new Map}add(I,...J){let G=J[0];if(this._map.set(I,G),G&&typeof G==="object"&&"id"in G)this._idmap.set(G.id,I);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(I){let J=this._map.get(I);if(J&&typeof J==="object"&&"id"in J)this._idmap.delete(J.id);return this._map.delete(I),this}get(I){let J=I._zod.parent;if(J){let G={...this.get(J)??{}};delete G.id;let K={...G,...this._map.get(I)};return Object.keys(K).length?K:void 0}return this._map.get(I)}has(I){return this._map.has(I)}}function nz(){return new cL}(Ij=globalThis).__zod_globalRegistry??(Ij.__zod_globalRegistry=nz());var A6=globalThis.__zod_globalRegistry;function pL(I,J){return new I({type:"string",...O$(J)})}function mL(I,J){return new I({type:"string",coerce:!0,...O$(J)})}function oz(I,J){return new I({type:"string",format:"email",check:"string_format",abort:!1,...O$(J)})}function E2(I,J){return new I({type:"string",format:"guid",check:"string_format",abort:!1,...O$(J)})}function iz(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,...O$(J)})}function rz(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...O$(J)})}function tz(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...O$(J)})}function az(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...O$(J)})}function _2(I,J){return new I({type:"string",format:"url",check:"string_format",abort:!1,...O$(J)})}function sz(I,J){return new I({type:"string",format:"emoji",check:"string_format",abort:!1,...O$(J)})}function ez(I,J){return new I({type:"string",format:"nanoid",check:"string_format",abort:!1,...O$(J)})}function $K(I,J){return new I({type:"string",format:"cuid",check:"string_format",abort:!1,...O$(J)})}function UK(I,J){return new I({type:"string",format:"cuid2",check:"string_format",abort:!1,...O$(J)})}function IK(I,J){return new I({type:"string",format:"ulid",check:"string_format",abort:!1,...O$(J)})}function XK(I,J){return new I({type:"string",format:"xid",check:"string_format",abort:!1,...O$(J)})}function JK(I,J){return new I({type:"string",format:"ksuid",check:"string_format",abort:!1,...O$(J)})}function QK(I,J){return new I({type:"string",format:"ipv4",check:"string_format",abort:!1,...O$(J)})}function YK(I,J){return new I({type:"string",format:"ipv6",check:"string_format",abort:!1,...O$(J)})}function lL(I,J){return new I({type:"string",format:"mac",check:"string_format",abort:!1,...O$(J)})}function GK(I,J){return new I({type:"string",format:"cidrv4",check:"string_format",abort:!1,...O$(J)})}function OK(I,J){return new I({type:"string",format:"cidrv6",check:"string_format",abort:!1,...O$(J)})}function ZK(I,J){return new I({type:"string",format:"base64",check:"string_format",abort:!1,...O$(J)})}function zK(I,J){return new I({type:"string",format:"base64url",check:"string_format",abort:!1,...O$(J)})}function KK(I,J){return new I({type:"string",format:"e164",check:"string_format",abort:!1,...O$(J)})}function VK(I,J){return new I({type:"string",format:"jwt",check:"string_format",abort:!1,...O$(J)})}var dL={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function nL(I,J){return new I({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...O$(J)})}function oL(I,J){return new I({type:"string",format:"date",check:"string_format",...O$(J)})}function iL(I,J){return new I({type:"string",format:"time",check:"string_format",precision:null,...O$(J)})}function rL(I,J){return new I({type:"string",format:"duration",check:"string_format",...O$(J)})}function tL(I,J){return new I({type:"number",checks:[],...O$(J)})}function aL(I,J){return new I({type:"number",coerce:!0,checks:[],...O$(J)})}function sL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"safeint",...O$(J)})}function eL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float32",...O$(J)})}function $5(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float64",...O$(J)})}function U5(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"int32",...O$(J)})}function I5(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"uint32",...O$(J)})}function X5(I,J){return new I({type:"boolean",...O$(J)})}function J5(I,J){return new I({type:"boolean",coerce:!0,...O$(J)})}function Q5(I,J){return new I({type:"bigint",...O$(J)})}function Y5(I,J){return new I({type:"bigint",coerce:!0,...O$(J)})}function G5(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...O$(J)})}function O5(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...O$(J)})}function Z5(I,J){return new I({type:"symbol",...O$(J)})}function z5(I,J){return new I({type:"undefined",...O$(J)})}function K5(I,J){return new I({type:"null",...O$(J)})}function V5(I){return new I({type:"any"})}function D5(I){return new I({type:"unknown"})}function W5(I,J){return new I({type:"never",...O$(J)})}function F5(I,J){return new I({type:"void",...O$(J)})}function H5(I,J){return new I({type:"date",...O$(J)})}function L5(I,J){return new I({type:"date",coerce:!0,...O$(J)})}function M5(I,J){return new I({type:"nan",...O$(J)})}function B1(I,J){return new xz({check:"less_than",...O$(J),value:I,inclusive:!1})}function A4(I,J){return new xz({check:"less_than",...O$(J),value:I,inclusive:!0})}function N1(I,J){return new wz({check:"greater_than",...O$(J),value:I,inclusive:!1})}function b6(I,J){return new wz({check:"greater_than",...O$(J),value:I,inclusive:!0})}function DK(I){return N1(0,I)}function WK(I){return B1(0,I)}function FK(I){return A4(0,I)}function HK(I){return b6(0,I)}function GX(I,J){return new F9({check:"multiple_of",...O$(J),value:I})}function OX(I,J){return new M9({check:"max_size",...O$(J),maximum:I})}function k1(I,J){return new A9({check:"min_size",...O$(J),minimum:I})}function ZJ(I,J){return new q9({check:"size_equals",...O$(J),size:I})}function zJ(I,J){return new C9({check:"max_length",...O$(J),maximum:I})}function zI(I,J){return new T9({check:"min_length",...O$(J),minimum:I})}function KJ(I,J){return new R9({check:"length_equals",...O$(J),length:I})}function hQ(I,J){return new P9({check:"string_format",format:"regex",...O$(J),pattern:I})}function cQ(I){return new E9({check:"string_format",format:"lowercase",...O$(I)})}function pQ(I){return new _9({check:"string_format",format:"uppercase",...O$(I)})}function mQ(I,J){return new S9({check:"string_format",format:"includes",...O$(J),includes:I})}function lQ(I,J){return new j9({check:"string_format",format:"starts_with",...O$(J),prefix:I})}function dQ(I,J){return new v9({check:"string_format",format:"ends_with",...O$(J),suffix:I})}function LK(I,J,G){return new B9({check:"property",property:I,schema:J,...O$(G)})}function nQ(I,J){return new N9({check:"mime_type",mime:I,...O$(J)})}function t4(I){return new k9({check:"overwrite",tx:I})}function oQ(I){return t4((J)=>J.normalize(I))}function iQ(){return t4((I)=>I.trim())}function rQ(){return t4((I)=>I.toLowerCase())}function tQ(){return t4((I)=>I.toUpperCase())}function aQ(){return t4((I)=>jF(I))}function A5(I,J,G){return new I({type:"array",element:J,...O$(G)})}function mb(I,J,G){return new I({type:"union",options:J,...O$(G)})}function lb(I,J,G){return new I({type:"union",options:J,inclusive:!1,...O$(G)})}function db(I,J,G,K){return new I({type:"union",options:G,discriminator:J,...O$(K)})}function nb(I,J,G){return new I({type:"intersection",left:J,right:G})}function ob(I,J,G,K){let X=G instanceof _$;return new I({type:"tuple",items:J,rest:X?G:null,...O$(X?K:G)})}function ib(I,J,G,K){return new I({type:"record",keyType:J,valueType:G,...O$(K)})}function rb(I,J,G,K){return new I({type:"map",keyType:J,valueType:G,...O$(K)})}function tb(I,J,G){return new I({type:"set",valueType:J,...O$(G)})}function ab(I,J,G){let K=Array.isArray(J)?Object.fromEntries(J.map((X)=>[X,X])):J;return new I({type:"enum",entries:K,...O$(G)})}function sb(I,J,G){return new I({type:"enum",entries:J,...O$(G)})}function eb(I,J,G){return new I({type:"literal",values:Array.isArray(J)?J:[J],...O$(G)})}function q5(I,J){return new I({type:"file",...O$(J)})}function $h(I,J){return new I({type:"transform",transform:J})}function Uh(I,J){return new I({type:"optional",innerType:J})}function Ih(I,J){return new I({type:"nullable",innerType:J})}function Xh(I,J,G){return new I({type:"default",innerType:J,get defaultValue(){return typeof G==="function"?G():BF(G)}})}function Jh(I,J,G){return new I({type:"nonoptional",innerType:J,...O$(G)})}function Qh(I,J){return new I({type:"success",innerType:J})}function Yh(I,J,G){return new I({type:"catch",innerType:J,catchValue:typeof G==="function"?G:()=>G})}function Gh(I,J,G){return new I({type:"pipe",in:J,out:G})}function Oh(I,J){return new I({type:"readonly",innerType:J})}function Zh(I,J,G){return new I({type:"template_literal",parts:J,...O$(G)})}function zh(I,J){return new I({type:"lazy",getter:J})}function Kh(I,J){return new I({type:"promise",innerType:J})}function C5(I,J,G){let K=O$(G);return K.abort??(K.abort=!0),new I({type:"custom",check:"custom",fn:J,...K})}function T5(I,J,G){return new I({type:"custom",check:"custom",fn:J,...O$(G)})}function R5(I,J){let G=Xj((K)=>{return K.addIssue=(X)=>{if(typeof X==="string")K.issues.push(gQ(X,K.value,G._zod.def));else{let z=X;if(z.fatal)z.continue=!1;z.code??(z.code="custom"),z.input??(z.input=K.value),z.inst??(z.inst=G),z.continue??(z.continue=!G._zod.def.abort),K.issues.push(gQ(z))}},I(K.value,K)},J);return G}function Xj(I,J){let G=new FU({check:"custom",...O$(J)});return G._zod.check=I,G}function P5(I){let J=new FU({check:"describe"});return J._zod.onattach=[(G)=>{let K=A6.get(G)??{};A6.add(G,{...K,description:I})}],J._zod.check=()=>{},J}function E5(I){let J=new FU({check:"meta"});return J._zod.onattach=[(G)=>{let K=A6.get(G)??{};A6.add(G,{...K,...I})}],J._zod.check=()=>{},J}function _5(I,J){let G=O$(J),K=G.truthy??["true","1","yes","on","y","enabled"],X=G.falsy??["false","0","no","off","n","disabled"];if(G.case!=="sensitive")K=K.map((v)=>typeof v==="string"?v.toLowerCase():v),X=X.map((v)=>typeof v==="string"?v.toLowerCase():v);let z=new Set(K),O=new Set(X),L=I.Codec??A2,j=I.Boolean??L2,_=new(I.String??OJ)({type:"string",error:G.error}),q=new j({type:"boolean",error:G.error}),P=new L({type:"pipe",in:_,out:q,transform:(v,N)=>{let y=v;if(G.case!=="sensitive")y=y.toLowerCase();if(z.has(y))return!0;else if(O.has(y))return!1;else return N.issues.push({code:"invalid_value",expected:"stringbool",values:[...z,...O],input:N.value,inst:P,continue:!1}),{}},reverseTransform:(v,N)=>{if(v===!0)return K[0]||"true";else return X[0]||"false"},error:G.error});return P}function sQ(I,J,G,K={}){let X=O$(K),z={...O$(K),check:"string_format",type:"string",format:J,fn:typeof G==="function"?G:(L)=>G.test(L),...X};if(G instanceof RegExp)z.pattern=G;return new I(z)}function ZX(I){let J=I?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";return{processors:I.processors??{},metadataRegistry:I?.metadata??A6,target:J,unrepresentable:I?.unrepresentable??"throw",override:I?.override??(()=>{}),io:I?.io??"output",counter:0,seen:new Map,cycles:I?.cycles??"ref",reused:I?.reused??"inline",external:I?.external??void 0}}function JU(I,J,G={path:[],schemaPath:[]}){var K;let X=I._zod.def,z=J.seen.get(I);if(z){if(z.count++,G.schemaPath.includes(I))z.cycle=G.path;return z.schema}let O={schema:{},count:1,cycle:void 0,path:G.path};J.seen.set(I,O);let L=I._zod.toJSONSchema?.();if(L)O.schema=L;else{let _={...G,schemaPath:[...G.schemaPath,I],path:G.path};if(I._zod.processJSONSchema)I._zod.processJSONSchema(J,O.schema,_);else{let P=O.schema,v=J.processors[X.type];if(!v)throw Error(`[toJSONSchema]: Non-representable type encountered: ${X.type}`);v(I,J,P,_)}let q=I._zod.parent;if(q){if(!O.ref)O.ref=q;JU(q,J,_),J.seen.get(q).isParent=!0}}let j=J.metadataRegistry.get(I);if(j)Object.assign(O.schema,j);if(J.io==="input"&&h6(I))delete O.schema.examples,delete O.schema.default;if(J.io==="input"&&"_prefault"in O.schema)(K=O.schema).default??(K.default=O.schema._prefault);return delete O.schema._prefault,J.seen.get(I).schema}function zX(I,J){let G=I.seen.get(J);if(!G)throw Error("Unprocessed schema. This is a bug in Zod.");let K=new Map;for(let O of I.seen.entries()){let L=I.metadataRegistry.get(O[0])?.id;if(L){let j=K.get(L);if(j&&j!==O[0])throw Error(`Duplicate schema id "${L}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);K.set(L,O[0])}}let X=(O)=>{let L=I.target==="draft-2020-12"?"$defs":"definitions";if(I.external){let q=I.external.registry.get(O[0])?.id,P=I.external.uri??((N)=>N);if(q)return{ref:P(q)};let v=O[1].defId??O[1].schema.id??`schema${I.counter++}`;return O[1].defId=v,{defId:v,ref:`${P("__shared")}#/${L}/${v}`}}if(O[1]===G)return{ref:"#"};let E=`${"#"}/${L}/`,_=O[1].schema.id??`__schema${I.counter++}`;return{defId:_,ref:E+_}},z=(O)=>{if(O[1].schema.$ref)return;let L=O[1],{ref:j,defId:E}=X(O);if(L.def={...L.schema},E)L.defId=E;let _=L.schema;for(let q in _)delete _[q];_.$ref=j};if(I.cycles==="throw")for(let O of I.seen.entries()){let L=O[1];if(L.cycle)throw Error(`Cycle detected: #/${L.cycle?.join("/")}/<root>
|
|
319
|
+
|
|
320
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let O of I.seen.entries()){let L=O[1];if(J===O[0]){z(O);continue}if(I.external){let E=I.external.registry.get(O[0])?.id;if(J!==O[0]&&E){z(O);continue}}if(I.metadataRegistry.get(O[0])?.id){z(O);continue}if(L.cycle){z(O);continue}if(L.count>1){if(I.reused==="ref"){z(O);continue}}}}function KX(I,J){let G=I.seen.get(J);if(!G)throw Error("Unprocessed schema. This is a bug in Zod.");let K=(L)=>{let j=I.seen.get(L);if(j.ref===null)return;let E=j.def??j.schema,_={...E},q=j.ref;if(j.ref=null,q){K(q);let v=I.seen.get(q),N=v.schema;if(N.$ref&&(I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"))E.allOf=E.allOf??[],E.allOf.push(N);else Object.assign(E,N);if(Object.assign(E,_),L._zod.parent===q)for(let w in E){if(w==="$ref"||w==="allOf")continue;if(!(w in _))delete E[w]}if(N.$ref&&v.def)for(let w in E){if(w==="$ref"||w==="allOf")continue;if(w in v.def&&JSON.stringify(E[w])===JSON.stringify(v.def[w]))delete E[w]}}let P=L._zod.parent;if(P&&P!==q){K(P);let v=I.seen.get(P);if(v?.schema.$ref){if(E.$ref=v.schema.$ref,v.def)for(let N in E){if(N==="$ref"||N==="allOf")continue;if(N in v.def&&JSON.stringify(E[N])===JSON.stringify(v.def[N]))delete E[N]}}}I.override({zodSchema:L,jsonSchema:E,path:j.path??[]})};for(let L of[...I.seen.entries()].reverse())K(L[0]);let X={};if(I.target==="draft-2020-12")X.$schema="https://json-schema.org/draft/2020-12/schema";else if(I.target==="draft-07")X.$schema="http://json-schema.org/draft-07/schema#";else if(I.target==="draft-04")X.$schema="http://json-schema.org/draft-04/schema#";else if(I.target==="openapi-3.0");if(I.external?.uri){let L=I.external.registry.get(J)?.id;if(!L)throw Error("Schema is missing an `id` property");X.$id=I.external.uri(L)}Object.assign(X,G.def??G.schema);let z=I.metadataRegistry.get(J)?.id;if(z!==void 0&&X.id===z)delete X.id;let O=I.external?.defs??{};for(let L of I.seen.entries()){let j=L[1];if(j.def&&j.defId){if(j.def.id===j.defId)delete j.def.id;O[j.defId]=j.def}}if(I.external);else if(Object.keys(O).length>0)if(I.target==="draft-2020-12")X.$defs=O;else X.definitions=O;try{let L=JSON.parse(JSON.stringify(X));return Object.defineProperty(L,"~standard",{value:{...J["~standard"],jsonSchema:{input:eQ(J,"input",I.processors),output:eQ(J,"output",I.processors)}},enumerable:!1,writable:!1}),L}catch(L){throw Error("Error converting schema to JSON.")}}function h6(I,J){let G=J??{seen:new Set};if(G.seen.has(I))return!1;G.seen.add(I);let K=I._zod.def;if(K.type==="transform")return!0;if(K.type==="array")return h6(K.element,G);if(K.type==="set")return h6(K.valueType,G);if(K.type==="lazy")return h6(K.getter(),G);if(K.type==="promise"||K.type==="optional"||K.type==="nonoptional"||K.type==="nullable"||K.type==="readonly"||K.type==="default"||K.type==="prefault")return h6(K.innerType,G);if(K.type==="intersection")return h6(K.left,G)||h6(K.right,G);if(K.type==="record"||K.type==="map")return h6(K.keyType,G)||h6(K.valueType,G);if(K.type==="pipe"){if(I._zod.traits.has("$ZodCodec"))return!0;return h6(K.in,G)||h6(K.out,G)}if(K.type==="object"){for(let X in K.shape)if(h6(K.shape[X],G))return!0;return!1}if(K.type==="union"){for(let X of K.options)if(h6(X,G))return!0;return!1}if(K.type==="tuple"){for(let X of K.items)if(h6(X,G))return!0;if(K.rest&&h6(K.rest,G))return!0;return!1}return!1}var S5=(I,J={})=>(G)=>{let K=ZX({...G,processors:J});return JU(I,K),zX(K,I),KX(K,I)},eQ=(I,J,G={})=>(K)=>{let{libraryOptions:X,target:z}=K??{},O=ZX({...X??{},target:z,io:J,processors:G});return JU(I,O),zX(O,I),KX(O,I)};var Vh={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},j5=(I,J,G,K)=>{let X=G;X.type="string";let{minimum:z,maximum:O,format:L,patterns:j,contentEncoding:E}=I._zod.bag;if(typeof z==="number")X.minLength=z;if(typeof O==="number")X.maxLength=O;if(L){if(X.format=Vh[L]??L,X.format==="")delete X.format;if(L==="time")delete X.format}if(E)X.contentEncoding=E;if(j&&j.size>0){let _=[...j];if(_.length===1)X.pattern=_[0].source;else if(_.length>1)X.allOf=[..._.map((q)=>({...J.target==="draft-07"||J.target==="draft-04"||J.target==="openapi-3.0"?{type:"string"}:{},pattern:q.source}))]}},v5=(I,J,G,K)=>{let X=G,{minimum:z,maximum:O,format:L,multipleOf:j,exclusiveMaximum:E,exclusiveMinimum:_}=I._zod.bag;if(typeof L==="string"&&L.includes("int"))X.type="integer";else X.type="number";let q=typeof _==="number"&&_>=(z??Number.NEGATIVE_INFINITY),P=typeof E==="number"&&E<=(O??Number.POSITIVE_INFINITY),v=J.target==="draft-04"||J.target==="openapi-3.0";if(q)if(v)X.minimum=_,X.exclusiveMinimum=!0;else X.exclusiveMinimum=_;else if(typeof z==="number")X.minimum=z;if(P)if(v)X.maximum=E,X.exclusiveMaximum=!0;else X.exclusiveMaximum=E;else if(typeof O==="number")X.maximum=O;if(typeof j==="number")X.multipleOf=j},B5=(I,J,G,K)=>{G.type="boolean"},N5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},k5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},g5=(I,J,G,K)=>{if(J.target==="openapi-3.0")G.type="string",G.nullable=!0,G.enum=[null];else G.type="null"},x5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},w5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},f5=(I,J,G,K)=>{G.not={}},y5=(I,J,G,K)=>{},u5=(I,J,G,K)=>{},b5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},h5=(I,J,G,K)=>{let X=I._zod.def,z=Y2(X.entries);if(z.every((O)=>typeof O==="number"))G.type="number";if(z.every((O)=>typeof O==="string"))G.type="string";G.enum=z},c5=(I,J,G,K)=>{let X=I._zod.def,z=[];for(let O of X.values)if(O===void 0){if(J.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof O==="bigint")if(J.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else z.push(Number(O));else z.push(O);if(z.length===0);else if(z.length===1){let O=z[0];if(G.type=O===null?"null":typeof O,J.target==="draft-04"||J.target==="openapi-3.0")G.enum=[O];else G.const=O}else{if(z.every((O)=>typeof O==="number"))G.type="number";if(z.every((O)=>typeof O==="string"))G.type="string";if(z.every((O)=>typeof O==="boolean"))G.type="boolean";if(z.every((O)=>O===null))G.type="null";G.enum=z}},p5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},m5=(I,J,G,K)=>{let X=G,z=I._zod.pattern;if(!z)throw Error("Pattern not found in template literal");X.type="string",X.pattern=z.source},l5=(I,J,G,K)=>{let X=G,z={type:"string",format:"binary",contentEncoding:"binary"},{minimum:O,maximum:L,mime:j}=I._zod.bag;if(O!==void 0)z.minLength=O;if(L!==void 0)z.maxLength=L;if(j)if(j.length===1)z.contentMediaType=j[0],Object.assign(X,z);else Object.assign(X,z),X.anyOf=j.map((E)=>({contentMediaType:E}));else Object.assign(X,z)},d5=(I,J,G,K)=>{G.type="boolean"},n5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},o5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},i5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},r5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},t5=(I,J,G,K)=>{if(J.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},a5=(I,J,G,K)=>{let X=G,z=I._zod.def,{minimum:O,maximum:L}=I._zod.bag;if(typeof O==="number")X.minItems=O;if(typeof L==="number")X.maxItems=L;X.type="array",X.items=JU(z.element,J,{...K,path:[...K.path,"items"]})},s5=(I,J,G,K)=>{let X=G,z=I._zod.def;X.type="object",X.properties={};let O=z.shape;for(let E in O)X.properties[E]=JU(O[E],J,{...K,path:[...K.path,"properties",E]});let L=new Set(Object.keys(O)),j=new Set([...L].filter((E)=>{let _=z.shape[E]._zod;if(J.io==="input")return _.optin===void 0;else return _.optout===void 0}));if(j.size>0)X.required=Array.from(j);if(z.catchall?._zod.def.type==="never")X.additionalProperties=!1;else if(!z.catchall){if(J.io==="output")X.additionalProperties=!1}else if(z.catchall)X.additionalProperties=JU(z.catchall,J,{...K,path:[...K.path,"additionalProperties"]})},AK=(I,J,G,K)=>{let X=I._zod.def,z=X.inclusive===!1,O=X.options.map((L,j)=>JU(L,J,{...K,path:[...K.path,z?"oneOf":"anyOf",j]}));if(z)G.oneOf=O;else G.anyOf=O},e5=(I,J,G,K)=>{let X=I._zod.def,z=JU(X.left,J,{...K,path:[...K.path,"allOf",0]}),O=JU(X.right,J,{...K,path:[...K.path,"allOf",1]}),L=(E)=>("allOf"in E)&&Object.keys(E).length===1,j=[...L(z)?z.allOf:[z],...L(O)?O.allOf:[O]];G.allOf=j},$M=(I,J,G,K)=>{let X=G,z=I._zod.def;X.type="array";let O=J.target==="draft-2020-12"?"prefixItems":"items",L=J.target==="draft-2020-12"?"items":J.target==="openapi-3.0"?"items":"additionalItems",j=z.items.map((P,v)=>JU(P,J,{...K,path:[...K.path,O,v]})),E=z.rest?JU(z.rest,J,{...K,path:[...K.path,L,...J.target==="openapi-3.0"?[z.items.length]:[]]}):null;if(J.target==="draft-2020-12"){if(X.prefixItems=j,E)X.items=E}else if(J.target==="openapi-3.0"){if(X.items={anyOf:j},E)X.items.anyOf.push(E);if(X.minItems=j.length,!E)X.maxItems=j.length}else if(X.items=j,E)X.additionalItems=E;let{minimum:_,maximum:q}=I._zod.bag;if(typeof _==="number")X.minItems=_;if(typeof q==="number")X.maxItems=q},UM=(I,J,G,K)=>{let X=G,z=I._zod.def;X.type="object";let O=z.keyType,j=O._zod.bag?.patterns;if(z.mode==="loose"&&j&&j.size>0){let _=JU(z.valueType,J,{...K,path:[...K.path,"patternProperties","*"]});X.patternProperties={};for(let q of j)X.patternProperties[q.source]=_}else{if(J.target==="draft-07"||J.target==="draft-2020-12")X.propertyNames=JU(z.keyType,J,{...K,path:[...K.path,"propertyNames"]});X.additionalProperties=JU(z.valueType,J,{...K,path:[...K.path,"additionalProperties"]})}let E=O._zod.values;if(E){let _=[...E].filter((q)=>typeof q==="string"||typeof q==="number");if(_.length>0)X.required=_}},IM=(I,J,G,K)=>{let X=I._zod.def,z=JU(X.innerType,J,K),O=J.seen.get(I);if(J.target==="openapi-3.0")O.ref=X.innerType,G.nullable=!0;else G.anyOf=[z,{type:"null"}]},XM=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);z.ref=X.innerType},JM=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);z.ref=X.innerType,G.default=JSON.parse(JSON.stringify(X.defaultValue))},QM=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);if(z.ref=X.innerType,J.io==="input")G._prefault=JSON.parse(JSON.stringify(X.defaultValue))},YM=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);z.ref=X.innerType;let O;try{O=X.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}G.default=O},GM=(I,J,G,K)=>{let X=I._zod.def,z=X.in._zod.traits.has("$ZodTransform"),O=J.io==="input"?z?X.out:X.in:X.out;JU(O,J,K);let L=J.seen.get(I);L.ref=O},OM=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);z.ref=X.innerType,G.readOnly=!0},ZM=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);z.ref=X.innerType},qK=(I,J,G,K)=>{let X=I._zod.def;JU(X.innerType,J,K);let z=J.seen.get(I);z.ref=X.innerType},zM=(I,J,G,K)=>{let X=I._zod.innerType;JU(X,J,K);let z=J.seen.get(I);z.ref=X},MK={string:j5,number:v5,boolean:B5,bigint:N5,symbol:k5,null:g5,undefined:x5,void:w5,never:f5,any:y5,unknown:u5,date:b5,enum:h5,literal:c5,nan:p5,template_literal:m5,file:l5,success:d5,custom:n5,function:o5,transform:i5,map:r5,set:t5,array:a5,object:s5,union:AK,intersection:e5,tuple:$M,record:UM,nullable:IM,nonoptional:XM,default:JM,prefault:QM,catch:YM,pipe:GM,readonly:OM,promise:ZM,optional:qK,lazy:zM};function CK(I,J){if("_idmap"in I){let K=I,X=ZX({...J,processors:MK}),z={};for(let j of K._idmap.entries()){let[E,_]=j;JU(_,X)}let O={},L={registry:K,uri:J?.uri,defs:z};X.external=L;for(let j of K._idmap.entries()){let[E,_]=j;zX(X,_),O[E]=KX(X,_)}if(Object.keys(z).length>0){let j=X.target==="draft-2020-12"?"$defs":"definitions";O.__shared={[j]:z}}return{schemas:O}}let G=ZX({...J,processors:MK});return JU(I,G),zX(G,I),KX(G,I)}class KM{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(I){this.ctx.counter=I}get seen(){return this.ctx.seen}constructor(I){let J=I?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";this.ctx=ZX({processors:MK,target:J,...I?.metadata&&{metadata:I.metadata},...I?.unrepresentable&&{unrepresentable:I.unrepresentable},...I?.override&&{override:I.override},...I?.io&&{io:I.io}})}process(I,J={path:[],schemaPath:[]}){return JU(I,this.ctx,J)}emit(I,J){if(J){if(J.cycles)this.ctx.cycles=J.cycles;if(J.reused)this.ctx.reused=J.reused;if(J.external)this.ctx.external=J.external}zX(this.ctx,I);let G=KX(this.ctx,I),{"~standard":K,...X}=G;return X}}var Jj={};var S2={};g6(S2,{xor:()=>aj,xid:()=>qj,void:()=>dj,uuidv7:()=>Vj,uuidv6:()=>Kj,uuidv4:()=>zj,uuid:()=>Zj,url:()=>Dj,unknown:()=>VJ,union:()=>iK,undefined:()=>mj,ulid:()=>Aj,uint64:()=>cj,uint32:()=>uj,tuple:()=>dM,transform:()=>tK,templateLiteral:()=>Kv,symbol:()=>pj,superRefine:()=>A7,success:()=>Gv,stringbool:()=>Av,stringFormat:()=>Nj,string:()=>j2,strictObject:()=>rj,set:()=>Iv,refine:()=>M7,record:()=>nM,readonly:()=>V7,promise:()=>Vv,preprocess:()=>Cv,prefault:()=>J7,pipe:()=>jK,partialRecord:()=>ej,optional:()=>B2,object:()=>ij,number:()=>vM,nullish:()=>Yv,nullable:()=>N2,null:()=>xM,nonoptional:()=>Q7,never:()=>oK,nativeEnum:()=>Xv,nanoid:()=>Hj,nan:()=>Ov,meta:()=>Lv,map:()=>Uv,mac:()=>Rj,looseRecord:()=>$v,looseObject:()=>tj,literal:()=>Jv,lazy:()=>F7,ksuid:()=>Cj,keyof:()=>oj,jwt:()=>Bj,json:()=>qv,ipv6:()=>Pj,ipv4:()=>Tj,invertCodec:()=>zv,intersection:()=>mM,int64:()=>hj,int32:()=>yj,int:()=>SK,instanceof:()=>Mv,httpUrl:()=>Wj,hostname:()=>kj,hex:()=>gj,hash:()=>xj,guid:()=>Oj,function:()=>Dv,float64:()=>fj,float32:()=>wj,file:()=>Qv,exactOptional:()=>eM,enum:()=>rK,emoji:()=>Fj,email:()=>Gj,e164:()=>vj,discriminatedUnion:()=>sj,describe:()=>Hv,date:()=>nj,custom:()=>Fv,cuid2:()=>Mj,cuid:()=>Lj,codec:()=>Zv,cidrv6:()=>_j,cidrv4:()=>Ej,check:()=>Wv,catch:()=>O7,boolean:()=>BM,bigint:()=>bj,base64url:()=>jj,base64:()=>Sj,array:()=>w2,any:()=>lj,_function:()=>Dv,_default:()=>I7,_ZodString:()=>vK,ZodXor:()=>hM,ZodXID:()=>fK,ZodVoid:()=>uM,ZodUnknown:()=>fM,ZodUnion:()=>y2,ZodUndefined:()=>kM,ZodUUID:()=>g1,ZodURL:()=>g2,ZodULID:()=>wK,ZodType:()=>x$,ZodTuple:()=>lM,ZodTransform:()=>aM,ZodTemplateLiteral:()=>D7,ZodSymbol:()=>NM,ZodSuccess:()=>Y7,ZodStringFormat:()=>zU,ZodString:()=>XY,ZodSet:()=>iM,ZodRecord:()=>UY,ZodReadonly:()=>K7,ZodPromise:()=>H7,ZodPreprocess:()=>z7,ZodPrefault:()=>X7,ZodPipe:()=>u2,ZodOptional:()=>aK,ZodObject:()=>f2,ZodNumberFormat:()=>DJ,ZodNumber:()=>QY,ZodNullable:()=>$7,ZodNull:()=>gM,ZodNonOptional:()=>sK,ZodNever:()=>yM,ZodNanoID:()=>kK,ZodNaN:()=>Z7,ZodMap:()=>oM,ZodMAC:()=>jM,ZodLiteral:()=>rM,ZodLazy:()=>W7,ZodKSUID:()=>yK,ZodJWT:()=>dK,ZodIntersection:()=>pM,ZodIPv6:()=>bK,ZodIPv4:()=>uK,ZodGUID:()=>v2,ZodFunction:()=>L7,ZodFile:()=>tM,ZodExactOptional:()=>sM,ZodEnum:()=>IY,ZodEmoji:()=>NK,ZodEmail:()=>BK,ZodE164:()=>lK,ZodDiscriminatedUnion:()=>cM,ZodDefault:()=>U7,ZodDate:()=>x2,ZodCustomStringFormat:()=>JY,ZodCustom:()=>h2,ZodCodec:()=>b2,ZodCatch:()=>G7,ZodCUID2:()=>xK,ZodCUID:()=>gK,ZodCIDRv6:()=>cK,ZodCIDRv4:()=>hK,ZodBoolean:()=>YY,ZodBigIntFormat:()=>nK,ZodBigInt:()=>GY,ZodBase64URL:()=>mK,ZodBase64:()=>pK,ZodArray:()=>bM,ZodAny:()=>wM});var TK={};g6(TK,{uppercase:()=>pQ,trim:()=>iQ,toUpperCase:()=>tQ,toLowerCase:()=>rQ,startsWith:()=>lQ,slugify:()=>aQ,size:()=>ZJ,regex:()=>hQ,property:()=>LK,positive:()=>DK,overwrite:()=>t4,normalize:()=>oQ,nonpositive:()=>FK,nonnegative:()=>HK,negative:()=>WK,multipleOf:()=>GX,minSize:()=>k1,minLength:()=>zI,mime:()=>nQ,maxSize:()=>OX,maxLength:()=>zJ,lte:()=>A4,lt:()=>B1,lowercase:()=>cQ,length:()=>KJ,includes:()=>mQ,gte:()=>b6,gt:()=>N1,endsWith:()=>dQ});var $Y={};g6($Y,{time:()=>WM,duration:()=>FM,datetime:()=>VM,date:()=>DM,ZodISOTime:()=>EK,ZodISODuration:()=>_K,ZodISODateTime:()=>RK,ZodISODate:()=>PK});var RK=j0("ZodISODateTime",(I,J)=>{n9.init(I,J),zU.init(I,J)});function VM(I){return nL(RK,I)}var PK=j0("ZodISODate",(I,J)=>{o9.init(I,J),zU.init(I,J)});function DM(I){return oL(PK,I)}var EK=j0("ZodISOTime",(I,J)=>{i9.init(I,J),zU.init(I,J)});function WM(I){return iL(EK,I)}var _K=j0("ZodISODuration",(I,J)=>{r9.init(I,J),zU.init(I,J)});function FM(I){return rL(_K,I)}var Qj=(I,J)=>{K2.init(I,J),I.name="ZodError",Object.defineProperties(I,{format:{value:(G)=>D2(I,G)},flatten:{value:(G)=>V2(I,G)},addIssue:{value:(G)=>{I.issues.push(G),I.message=JSON.stringify(I.issues,NQ,2)}},addIssues:{value:(G)=>{I.issues.push(...G),I.message=JSON.stringify(I.issues,NQ,2)}},isEmpty:{get(){return I.issues.length===0}}})},Wh=j0("ZodError",Qj),s6=j0("ZodError",Qj,{Parent:Error});var HM=xQ(s6),LM=wQ(s6),MM=fQ(s6),AM=yQ(s6),qM=Ez(s6),CM=_z(s6),TM=Sz(s6),RM=jz(s6),PM=vz(s6),EM=Bz(s6),_M=Nz(s6),SM=kz(s6);var Yj=new WeakMap;function k2(I,J,G){let K=Object.getPrototypeOf(I),X=Yj.get(K);if(!X)X=new Set,Yj.set(K,X);if(X.has(J))return;X.add(J);for(let z in G){let O=G[z];Object.defineProperty(K,z,{configurable:!0,enumerable:!1,get(){let L=O.bind(this);return Object.defineProperty(this,z,{configurable:!0,writable:!0,enumerable:!0,value:L}),L},set(L){Object.defineProperty(this,z,{configurable:!0,writable:!0,enumerable:!0,value:L})}})}}var x$=j0("ZodType",(I,J)=>{return _$.init(I,J),Object.assign(I["~standard"],{jsonSchema:{input:eQ(I,"input"),output:eQ(I,"output")}}),I.toJSONSchema=S5(I,{}),I.def=J,I.type=J.type,Object.defineProperty(I,"_def",{value:J}),I.parse=(G,K)=>HM(I,G,K,{callee:I.parse}),I.safeParse=(G,K)=>MM(I,G,K),I.parseAsync=async(G,K)=>LM(I,G,K,{callee:I.parseAsync}),I.safeParseAsync=async(G,K)=>AM(I,G,K),I.spa=I.safeParseAsync,I.encode=(G,K)=>qM(I,G,K),I.decode=(G,K)=>CM(I,G,K),I.encodeAsync=async(G,K)=>TM(I,G,K),I.decodeAsync=async(G,K)=>RM(I,G,K),I.safeEncode=(G,K)=>PM(I,G,K),I.safeDecode=(G,K)=>EM(I,G,K),I.safeEncodeAsync=async(G,K)=>_M(I,G,K),I.safeDecodeAsync=async(G,K)=>SM(I,G,K),k2(I,"ZodType",{check(...G){let K=this.def;return this.clone(G$.mergeDefs(K,{checks:[...K.checks??[],...G.map((X)=>typeof X==="function"?{_zod:{check:X,def:{check:"custom"},onattach:[]}}:X)]}),{parent:!0})},with(...G){return this.check(...G)},clone(G,K){return y6(this,G,K)},brand(){return this},register(G,K){return G.add(this,K),this},refine(G,K){return this.check(M7(G,K))},superRefine(G,K){return this.check(A7(G,K))},overwrite(G){return this.check(t4(G))},optional(){return B2(this)},exactOptional(){return eM(this)},nullable(){return N2(this)},nullish(){return B2(N2(this))},nonoptional(G){return Q7(this,G)},array(){return w2(this)},or(G){return iK([this,G])},and(G){return mM(this,G)},transform(G){return jK(this,tK(G))},default(G){return I7(this,G)},prefault(G){return J7(this,G)},catch(G){return O7(this,G)},pipe(G){return jK(this,G)},readonly(){return V7(this)},describe(G){let K=this.clone();return A6.add(K,{description:G}),K},meta(...G){if(G.length===0)return A6.get(this);let K=this.clone();return A6.add(K,G[0]),K},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(G){return G(this)}}),Object.defineProperty(I,"description",{get(){return A6.get(I)?.description},configurable:!0}),I}),vK=j0("_ZodString",(I,J)=>{OJ.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(K,X,z)=>j5(I,K,X,z);let G=I._zod.bag;I.format=G.format??null,I.minLength=G.minimum??null,I.maxLength=G.maximum??null,k2(I,"_ZodString",{regex(...K){return this.check(hQ(...K))},includes(...K){return this.check(mQ(...K))},startsWith(...K){return this.check(lQ(...K))},endsWith(...K){return this.check(dQ(...K))},min(...K){return this.check(zI(...K))},max(...K){return this.check(zJ(...K))},length(...K){return this.check(KJ(...K))},nonempty(...K){return this.check(zI(1,...K))},lowercase(K){return this.check(cQ(K))},uppercase(K){return this.check(pQ(K))},trim(){return this.check(iQ())},normalize(...K){return this.check(oQ(...K))},toLowerCase(){return this.check(rQ())},toUpperCase(){return this.check(tQ())},slugify(){return this.check(aQ())}})}),XY=j0("ZodString",(I,J)=>{OJ.init(I,J),vK.init(I,J),I.email=(G)=>I.check(oz(BK,G)),I.url=(G)=>I.check(_2(g2,G)),I.jwt=(G)=>I.check(VK(dK,G)),I.emoji=(G)=>I.check(sz(NK,G)),I.guid=(G)=>I.check(E2(v2,G)),I.uuid=(G)=>I.check(iz(g1,G)),I.uuidv4=(G)=>I.check(rz(g1,G)),I.uuidv6=(G)=>I.check(tz(g1,G)),I.uuidv7=(G)=>I.check(az(g1,G)),I.nanoid=(G)=>I.check(ez(kK,G)),I.guid=(G)=>I.check(E2(v2,G)),I.cuid=(G)=>I.check($K(gK,G)),I.cuid2=(G)=>I.check(UK(xK,G)),I.ulid=(G)=>I.check(IK(wK,G)),I.base64=(G)=>I.check(ZK(pK,G)),I.base64url=(G)=>I.check(zK(mK,G)),I.xid=(G)=>I.check(XK(fK,G)),I.ksuid=(G)=>I.check(JK(yK,G)),I.ipv4=(G)=>I.check(QK(uK,G)),I.ipv6=(G)=>I.check(YK(bK,G)),I.cidrv4=(G)=>I.check(GK(hK,G)),I.cidrv6=(G)=>I.check(OK(cK,G)),I.e164=(G)=>I.check(KK(lK,G)),I.datetime=(G)=>I.check(VM(G)),I.date=(G)=>I.check(DM(G)),I.time=(G)=>I.check(WM(G)),I.duration=(G)=>I.check(FM(G))});function j2(I){return pL(XY,I)}var zU=j0("ZodStringFormat",(I,J)=>{ZU.init(I,J),vK.init(I,J)}),BK=j0("ZodEmail",(I,J)=>{y9.init(I,J),zU.init(I,J)});function Gj(I){return oz(BK,I)}var v2=j0("ZodGUID",(I,J)=>{w9.init(I,J),zU.init(I,J)});function Oj(I){return E2(v2,I)}var g1=j0("ZodUUID",(I,J)=>{f9.init(I,J),zU.init(I,J)});function Zj(I){return iz(g1,I)}function zj(I){return rz(g1,I)}function Kj(I){return tz(g1,I)}function Vj(I){return az(g1,I)}var g2=j0("ZodURL",(I,J)=>{u9.init(I,J),zU.init(I,J)});function Dj(I){return _2(g2,I)}function Wj(I){return _2(g2,{protocol:M4.httpProtocol,hostname:M4.domain,...G$.normalizeParams(I)})}var NK=j0("ZodEmoji",(I,J)=>{b9.init(I,J),zU.init(I,J)});function Fj(I){return sz(NK,I)}var kK=j0("ZodNanoID",(I,J)=>{h9.init(I,J),zU.init(I,J)});function Hj(I){return ez(kK,I)}var gK=j0("ZodCUID",(I,J)=>{c9.init(I,J),zU.init(I,J)});function Lj(I){return $K(gK,I)}var xK=j0("ZodCUID2",(I,J)=>{p9.init(I,J),zU.init(I,J)});function Mj(I){return UK(xK,I)}var wK=j0("ZodULID",(I,J)=>{m9.init(I,J),zU.init(I,J)});function Aj(I){return IK(wK,I)}var fK=j0("ZodXID",(I,J)=>{l9.init(I,J),zU.init(I,J)});function qj(I){return XK(fK,I)}var yK=j0("ZodKSUID",(I,J)=>{d9.init(I,J),zU.init(I,J)});function Cj(I){return JK(yK,I)}var uK=j0("ZodIPv4",(I,J)=>{t9.init(I,J),zU.init(I,J)});function Tj(I){return QK(uK,I)}var jM=j0("ZodMAC",(I,J)=>{s9.init(I,J),zU.init(I,J)});function Rj(I){return lL(jM,I)}var bK=j0("ZodIPv6",(I,J)=>{a9.init(I,J),zU.init(I,J)});function Pj(I){return YK(bK,I)}var hK=j0("ZodCIDRv4",(I,J)=>{e9.init(I,J),zU.init(I,J)});function Ej(I){return GK(hK,I)}var cK=j0("ZodCIDRv6",(I,J)=>{$H.init(I,J),zU.init(I,J)});function _j(I){return OK(cK,I)}var pK=j0("ZodBase64",(I,J)=>{IH.init(I,J),zU.init(I,J)});function Sj(I){return ZK(pK,I)}var mK=j0("ZodBase64URL",(I,J)=>{XH.init(I,J),zU.init(I,J)});function jj(I){return zK(mK,I)}var lK=j0("ZodE164",(I,J)=>{JH.init(I,J),zU.init(I,J)});function vj(I){return KK(lK,I)}var dK=j0("ZodJWT",(I,J)=>{QH.init(I,J),zU.init(I,J)});function Bj(I){return VK(dK,I)}var JY=j0("ZodCustomStringFormat",(I,J)=>{YH.init(I,J),zU.init(I,J)});function Nj(I,J,G={}){return sQ(JY,I,J,G)}function kj(I){return sQ(JY,"hostname",M4.hostname,I)}function gj(I){return sQ(JY,"hex",M4.hex,I)}function xj(I,J){let G=J?.enc??"hex",K=`${I}_${G}`,X=M4[K];if(!X)throw Error(`Unrecognized hash format: ${K}`);return sQ(JY,K,X,J)}var QY=j0("ZodNumber",(I,J)=>{cz.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(K,X,z)=>v5(I,K,X,z),k2(I,"ZodNumber",{gt(K,X){return this.check(N1(K,X))},gte(K,X){return this.check(b6(K,X))},min(K,X){return this.check(b6(K,X))},lt(K,X){return this.check(B1(K,X))},lte(K,X){return this.check(A4(K,X))},max(K,X){return this.check(A4(K,X))},int(K){return this.check(SK(K))},safe(K){return this.check(SK(K))},positive(K){return this.check(N1(0,K))},nonnegative(K){return this.check(b6(0,K))},negative(K){return this.check(B1(0,K))},nonpositive(K){return this.check(A4(0,K))},multipleOf(K,X){return this.check(GX(K,X))},step(K,X){return this.check(GX(K,X))},finite(){return this}});let G=I._zod.bag;I.minValue=Math.max(G.minimum??Number.NEGATIVE_INFINITY,G.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,I.maxValue=Math.min(G.maximum??Number.POSITIVE_INFINITY,G.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,I.isInt=(G.format??"").includes("int")||Number.isSafeInteger(G.multipleOf??0.5),I.isFinite=!0,I.format=G.format??null});function vM(I){return tL(QY,I)}var DJ=j0("ZodNumberFormat",(I,J)=>{GH.init(I,J),QY.init(I,J)});function SK(I){return sL(DJ,I)}function wj(I){return eL(DJ,I)}function fj(I){return $5(DJ,I)}function yj(I){return U5(DJ,I)}function uj(I){return I5(DJ,I)}var YY=j0("ZodBoolean",(I,J)=>{L2.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>B5(I,G,K,X)});function BM(I){return X5(YY,I)}var GY=j0("ZodBigInt",(I,J)=>{pz.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(K,X,z)=>N5(I,K,X,z),I.gte=(K,X)=>I.check(b6(K,X)),I.min=(K,X)=>I.check(b6(K,X)),I.gt=(K,X)=>I.check(N1(K,X)),I.gte=(K,X)=>I.check(b6(K,X)),I.min=(K,X)=>I.check(b6(K,X)),I.lt=(K,X)=>I.check(B1(K,X)),I.lte=(K,X)=>I.check(A4(K,X)),I.max=(K,X)=>I.check(A4(K,X)),I.positive=(K)=>I.check(N1(BigInt(0),K)),I.negative=(K)=>I.check(B1(BigInt(0),K)),I.nonpositive=(K)=>I.check(A4(BigInt(0),K)),I.nonnegative=(K)=>I.check(b6(BigInt(0),K)),I.multipleOf=(K,X)=>I.check(GX(K,X));let G=I._zod.bag;I.minValue=G.minimum??null,I.maxValue=G.maximum??null,I.format=G.format??null});function bj(I){return Q5(GY,I)}var nK=j0("ZodBigIntFormat",(I,J)=>{OH.init(I,J),GY.init(I,J)});function hj(I){return G5(nK,I)}function cj(I){return O5(nK,I)}var NM=j0("ZodSymbol",(I,J)=>{ZH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>k5(I,G,K,X)});function pj(I){return Z5(NM,I)}var kM=j0("ZodUndefined",(I,J)=>{zH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>x5(I,G,K,X)});function mj(I){return z5(kM,I)}var gM=j0("ZodNull",(I,J)=>{KH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>g5(I,G,K,X)});function xM(I){return K5(gM,I)}var wM=j0("ZodAny",(I,J)=>{VH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>y5(I,G,K,X)});function lj(){return V5(wM)}var fM=j0("ZodUnknown",(I,J)=>{DH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>u5(I,G,K,X)});function VJ(){return D5(fM)}var yM=j0("ZodNever",(I,J)=>{WH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>f5(I,G,K,X)});function oK(I){return W5(yM,I)}var uM=j0("ZodVoid",(I,J)=>{FH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>w5(I,G,K,X)});function dj(I){return F5(uM,I)}var x2=j0("ZodDate",(I,J)=>{HH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(K,X,z)=>b5(I,K,X,z),I.min=(K,X)=>I.check(b6(K,X)),I.max=(K,X)=>I.check(A4(K,X));let G=I._zod.bag;I.minDate=G.minimum?new Date(G.minimum):null,I.maxDate=G.maximum?new Date(G.maximum):null});function nj(I){return H5(x2,I)}var bM=j0("ZodArray",(I,J)=>{LH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>a5(I,G,K,X),I.element=J.element,k2(I,"ZodArray",{min(G,K){return this.check(zI(G,K))},nonempty(G){return this.check(zI(1,G))},max(G,K){return this.check(zJ(G,K))},length(G,K){return this.check(KJ(G,K))},unwrap(){return this.element}})});function w2(I,J){return A5(bM,I,J)}function oj(I){let J=I._zod.def.shape;return rK(Object.keys(J))}var f2=j0("ZodObject",(I,J)=>{MH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>s5(I,G,K,X),G$.defineLazy(I,"shape",()=>{return J.shape}),k2(I,"ZodObject",{keyof(){return rK(Object.keys(this._zod.def.shape))},catchall(G){return this.clone({...this._zod.def,catchall:G})},passthrough(){return this.clone({...this._zod.def,catchall:VJ()})},loose(){return this.clone({...this._zod.def,catchall:VJ()})},strict(){return this.clone({...this._zod.def,catchall:oK()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(G){return G$.extend(this,G)},safeExtend(G){return G$.safeExtend(this,G)},merge(G){return G$.merge(this,G)},pick(G){return G$.pick(this,G)},omit(G){return G$.omit(this,G)},partial(...G){return G$.partial(aK,this,G[0])},required(...G){return G$.required(sK,this,G[0])}})});function ij(I,J){let G={type:"object",shape:I??{},...G$.normalizeParams(J)};return new f2(G)}function rj(I,J){return new f2({type:"object",shape:I,catchall:oK(),...G$.normalizeParams(J)})}function tj(I,J){return new f2({type:"object",shape:I,catchall:VJ(),...G$.normalizeParams(J)})}var y2=j0("ZodUnion",(I,J)=>{M2.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>AK(I,G,K,X),I.options=J.options});function iK(I,J){return new y2({type:"union",options:I,...G$.normalizeParams(J)})}var hM=j0("ZodXor",(I,J)=>{y2.init(I,J),AH.init(I,J),I._zod.processJSONSchema=(G,K,X)=>AK(I,G,K,X),I.options=J.options});function aj(I,J){return new hM({type:"union",options:I,inclusive:!1,...G$.normalizeParams(J)})}var cM=j0("ZodDiscriminatedUnion",(I,J)=>{y2.init(I,J),qH.init(I,J)});function sj(I,J,G){return new cM({type:"union",options:J,discriminator:I,...G$.normalizeParams(G)})}var pM=j0("ZodIntersection",(I,J)=>{CH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>e5(I,G,K,X)});function mM(I,J){return new pM({type:"intersection",left:I,right:J})}var lM=j0("ZodTuple",(I,J)=>{mz.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>$M(I,G,K,X),I.rest=(G)=>I.clone({...I._zod.def,rest:G})});function dM(I,J,G){let K=J instanceof _$,X=K?G:J;return new lM({type:"tuple",items:I,rest:K?J:null,...G$.normalizeParams(X)})}var UY=j0("ZodRecord",(I,J)=>{TH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>UM(I,G,K,X),I.keyType=J.keyType,I.valueType=J.valueType});function nM(I,J,G){if(!J||!J._zod)return new UY({type:"record",keyType:j2(),valueType:I,...G$.normalizeParams(J)});return new UY({type:"record",keyType:I,valueType:J,...G$.normalizeParams(G)})}function ej(I,J,G){let K=y6(I);return K._zod.values=void 0,new UY({type:"record",keyType:K,valueType:J,...G$.normalizeParams(G)})}function $v(I,J,G){return new UY({type:"record",keyType:I,valueType:J,mode:"loose",...G$.normalizeParams(G)})}var oM=j0("ZodMap",(I,J)=>{RH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>r5(I,G,K,X),I.keyType=J.keyType,I.valueType=J.valueType,I.min=(...G)=>I.check(k1(...G)),I.nonempty=(G)=>I.check(k1(1,G)),I.max=(...G)=>I.check(OX(...G)),I.size=(...G)=>I.check(ZJ(...G))});function Uv(I,J,G){return new oM({type:"map",keyType:I,valueType:J,...G$.normalizeParams(G)})}var iM=j0("ZodSet",(I,J)=>{PH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>t5(I,G,K,X),I.min=(...G)=>I.check(k1(...G)),I.nonempty=(G)=>I.check(k1(1,G)),I.max=(...G)=>I.check(OX(...G)),I.size=(...G)=>I.check(ZJ(...G))});function Iv(I,J){return new iM({type:"set",valueType:I,...G$.normalizeParams(J)})}var IY=j0("ZodEnum",(I,J)=>{EH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(K,X,z)=>h5(I,K,X,z),I.enum=J.entries,I.options=Object.values(J.entries);let G=new Set(Object.keys(J.entries));I.extract=(K,X)=>{let z={};for(let O of K)if(G.has(O))z[O]=J.entries[O];else throw Error(`Key ${O} not found in enum`);return new IY({...J,checks:[],...G$.normalizeParams(X),entries:z})},I.exclude=(K,X)=>{let z={...J.entries};for(let O of K)if(G.has(O))delete z[O];else throw Error(`Key ${O} not found in enum`);return new IY({...J,checks:[],...G$.normalizeParams(X),entries:z})}});function rK(I,J){let G=Array.isArray(I)?Object.fromEntries(I.map((K)=>[K,K])):I;return new IY({type:"enum",entries:G,...G$.normalizeParams(J)})}function Xv(I,J){return new IY({type:"enum",entries:I,...G$.normalizeParams(J)})}var rM=j0("ZodLiteral",(I,J)=>{_H.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>c5(I,G,K,X),I.values=new Set(J.values),Object.defineProperty(I,"value",{get(){if(J.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return J.values[0]}})});function Jv(I,J){return new rM({type:"literal",values:Array.isArray(I)?I:[I],...G$.normalizeParams(J)})}var tM=j0("ZodFile",(I,J)=>{SH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>l5(I,G,K,X),I.min=(G,K)=>I.check(k1(G,K)),I.max=(G,K)=>I.check(OX(G,K)),I.mime=(G,K)=>I.check(nQ(Array.isArray(G)?G:[G],K))});function Qv(I){return q5(tM,I)}var aM=j0("ZodTransform",(I,J)=>{jH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>i5(I,G,K,X),I._zod.parse=(G,K)=>{if(K.direction==="backward")throw new QJ(I.constructor.name);G.addIssue=(z)=>{if(typeof z==="string")G.issues.push(G$.issue(z,G.value,J));else{let O=z;if(O.fatal)O.continue=!1;O.code??(O.code="custom"),O.input??(O.input=G.value),O.inst??(O.inst=I),G.issues.push(G$.issue(O))}};let X=J.transform(G.value,G);if(X instanceof Promise)return X.then((z)=>{return G.value=z,G.fallback=!0,G});return G.value=X,G.fallback=!0,G}});function tK(I){return new aM({type:"transform",transform:I})}var aK=j0("ZodOptional",(I,J)=>{lz.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>qK(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function B2(I){return new aK({type:"optional",innerType:I})}var sM=j0("ZodExactOptional",(I,J)=>{vH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>qK(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function eM(I){return new sM({type:"optional",innerType:I})}var $7=j0("ZodNullable",(I,J)=>{BH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>IM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function N2(I){return new $7({type:"nullable",innerType:I})}function Yv(I){return B2(N2(I))}var U7=j0("ZodDefault",(I,J)=>{NH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>JM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType,I.removeDefault=I.unwrap});function I7(I,J){return new U7({type:"default",innerType:I,get defaultValue(){return typeof J==="function"?J():G$.shallowClone(J)}})}var X7=j0("ZodPrefault",(I,J)=>{kH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>QM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function J7(I,J){return new X7({type:"prefault",innerType:I,get defaultValue(){return typeof J==="function"?J():G$.shallowClone(J)}})}var sK=j0("ZodNonOptional",(I,J)=>{gH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>XM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function Q7(I,J){return new sK({type:"nonoptional",innerType:I,...G$.normalizeParams(J)})}var Y7=j0("ZodSuccess",(I,J)=>{xH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>d5(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function Gv(I){return new Y7({type:"success",innerType:I})}var G7=j0("ZodCatch",(I,J)=>{wH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>YM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType,I.removeCatch=I.unwrap});function O7(I,J){return new G7({type:"catch",innerType:I,catchValue:typeof J==="function"?J:()=>J})}var Z7=j0("ZodNaN",(I,J)=>{fH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>p5(I,G,K,X)});function Ov(I){return M5(Z7,I)}var u2=j0("ZodPipe",(I,J)=>{dz.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>GM(I,G,K,X),I.in=J.in,I.out=J.out});function jK(I,J){return new u2({type:"pipe",in:I,out:J})}var b2=j0("ZodCodec",(I,J)=>{u2.init(I,J),A2.init(I,J)});function Zv(I,J,G){return new b2({type:"pipe",in:I,out:J,transform:G.decode,reverseTransform:G.encode})}function zv(I){let J=I._zod.def;return new b2({type:"pipe",in:J.out,out:J.in,transform:J.reverseTransform,reverseTransform:J.transform})}var z7=j0("ZodPreprocess",(I,J)=>{u2.init(I,J),yH.init(I,J)}),K7=j0("ZodReadonly",(I,J)=>{uH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>OM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function V7(I){return new K7({type:"readonly",innerType:I})}var D7=j0("ZodTemplateLiteral",(I,J)=>{bH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>m5(I,G,K,X)});function Kv(I,J){return new D7({type:"template_literal",parts:I,...G$.normalizeParams(J)})}var W7=j0("ZodLazy",(I,J)=>{pH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>zM(I,G,K,X),I.unwrap=()=>I._zod.def.getter()});function F7(I){return new W7({type:"lazy",getter:I})}var H7=j0("ZodPromise",(I,J)=>{cH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>ZM(I,G,K,X),I.unwrap=()=>I._zod.def.innerType});function Vv(I){return new H7({type:"promise",innerType:I})}var L7=j0("ZodFunction",(I,J)=>{hH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>o5(I,G,K,X)});function Dv(I){return new L7({type:"function",input:Array.isArray(I?.input)?dM(I?.input):I?.input??w2(VJ()),output:I?.output??VJ()})}var h2=j0("ZodCustom",(I,J)=>{mH.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(G,K,X)=>n5(I,G,K,X)});function Wv(I){let J=new FU({check:"custom"});return J._zod.check=I,J}function Fv(I,J){return C5(h2,I??(()=>!0),J)}function M7(I,J={}){return T5(h2,I,J)}function A7(I,J){return R5(I,J)}var Hv=P5,Lv=E5;function Mv(I,J={}){let G=new h2({type:"custom",check:"custom",fn:(K)=>K instanceof I,abort:!0,...G$.normalizeParams(J)});return G._zod.bag.Class=I,G._zod.check=(K)=>{if(!(K.value instanceof I))K.issues.push({code:"invalid_type",expected:I.name,input:K.value,inst:G,path:[...G._zod.def.path??[]]})},G}var Av=(...I)=>_5({Codec:b2,Boolean:YY,String:XY},...I);function qv(I){let J=F7(()=>{return iK([j2(I),vM(),BM(),xM(),w2(J),nM(j2(),J)])});return J}function Cv(I,J){return new z7({type:"pipe",in:tK(I),out:J})}var Hh={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"};function Lh(I){rU({customError:I})}function Mh(){return rU().customError}var q7;(function(I){})(q7||(q7={}));var D$={...S2,...TK,iso:$Y},Ah=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"]);function qh(I,J){let G=I.$schema;if(G==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(G==="http://json-schema.org/draft-07/schema#")return"draft-7";if(G==="http://json-schema.org/draft-04/schema#")return"draft-4";return J??"draft-2020-12"}function Ch(I,J){if(!I.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let G=I.slice(1).split("/").filter(Boolean);if(G.length===0)return J.rootSchema;let K=J.version==="draft-2020-12"?"$defs":"definitions";if(G[0]===K){let X=G[1];if(!X||!J.defs[X])throw Error(`Reference not found: ${I}`);return J.defs[X]}throw Error(`Reference not found: ${I}`)}function Tv(I,J){if(I.not!==void 0){if(typeof I.not==="object"&&Object.keys(I.not).length===0)return D$.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(I.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if(I.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if(I.if!==void 0||I.then!==void 0||I.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if(I.dependentSchemas!==void 0||I.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if(I.$ref){let X=I.$ref;if(J.refs.has(X))return J.refs.get(X);if(J.processing.has(X))return D$.lazy(()=>{if(!J.refs.has(X))throw Error(`Circular reference not resolved: ${X}`);return J.refs.get(X)});J.processing.add(X);let z=Ch(X,J),O=R6(z,J);return J.refs.set(X,O),J.processing.delete(X),O}if(I.enum!==void 0){let X=I.enum;if(J.version==="openapi-3.0"&&I.nullable===!0&&X.length===1&&X[0]===null)return D$.null();if(X.length===0)return D$.never();if(X.length===1)return D$.literal(X[0]);if(X.every((O)=>typeof O==="string"))return D$.enum(X);let z=X.map((O)=>D$.literal(O));if(z.length<2)return z[0];return D$.union([z[0],z[1],...z.slice(2)])}if(I.const!==void 0)return D$.literal(I.const);let G=I.type;if(Array.isArray(G)){let X=G.map((z)=>{let O={...I,type:z};return Tv(O,J)});if(X.length===0)return D$.never();if(X.length===1)return X[0];return D$.union(X)}if(!G)return D$.any();let K;switch(G){case"string":{let X=D$.string();if(I.format){let z=I.format;if(z==="email")X=X.check(D$.email());else if(z==="uri"||z==="uri-reference")X=X.check(D$.url());else if(z==="uuid"||z==="guid")X=X.check(D$.uuid());else if(z==="date-time")X=X.check(D$.iso.datetime());else if(z==="date")X=X.check(D$.iso.date());else if(z==="time")X=X.check(D$.iso.time());else if(z==="duration")X=X.check(D$.iso.duration());else if(z==="ipv4")X=X.check(D$.ipv4());else if(z==="ipv6")X=X.check(D$.ipv6());else if(z==="mac")X=X.check(D$.mac());else if(z==="cidr")X=X.check(D$.cidrv4());else if(z==="cidr-v6")X=X.check(D$.cidrv6());else if(z==="base64")X=X.check(D$.base64());else if(z==="base64url")X=X.check(D$.base64url());else if(z==="e164")X=X.check(D$.e164());else if(z==="jwt")X=X.check(D$.jwt());else if(z==="emoji")X=X.check(D$.emoji());else if(z==="nanoid")X=X.check(D$.nanoid());else if(z==="cuid")X=X.check(D$.cuid());else if(z==="cuid2")X=X.check(D$.cuid2());else if(z==="ulid")X=X.check(D$.ulid());else if(z==="xid")X=X.check(D$.xid());else if(z==="ksuid")X=X.check(D$.ksuid())}if(typeof I.minLength==="number")X=X.min(I.minLength);if(typeof I.maxLength==="number")X=X.max(I.maxLength);if(I.pattern)X=X.regex(new RegExp(I.pattern));K=X;break}case"number":case"integer":{let X=G==="integer"?D$.number().int():D$.number();if(typeof I.minimum==="number")X=X.min(I.minimum);if(typeof I.maximum==="number")X=X.max(I.maximum);if(typeof I.exclusiveMinimum==="number")X=X.gt(I.exclusiveMinimum);else if(I.exclusiveMinimum===!0&&typeof I.minimum==="number")X=X.gt(I.minimum);if(typeof I.exclusiveMaximum==="number")X=X.lt(I.exclusiveMaximum);else if(I.exclusiveMaximum===!0&&typeof I.maximum==="number")X=X.lt(I.maximum);if(typeof I.multipleOf==="number")X=X.multipleOf(I.multipleOf);K=X;break}case"boolean":{K=D$.boolean();break}case"null":{K=D$.null();break}case"object":{let X={},z=I.properties||{},O=new Set(I.required||[]);for(let[j,E]of Object.entries(z)){let _=R6(E,J);X[j]=O.has(j)?_:_.optional()}if(I.propertyNames){let j=R6(I.propertyNames,J),E=I.additionalProperties&&typeof I.additionalProperties==="object"?R6(I.additionalProperties,J):D$.any();if(Object.keys(X).length===0){K=D$.record(j,E);break}let _=D$.object(X).passthrough(),q=D$.looseRecord(j,E);K=D$.intersection(_,q);break}if(I.patternProperties){let j=I.patternProperties,E=Object.keys(j),_=[];for(let P of E){let v=R6(j[P],J),N=D$.string().regex(new RegExp(P));_.push(D$.looseRecord(N,v))}let q=[];if(Object.keys(X).length>0)q.push(D$.object(X).passthrough());if(q.push(..._),q.length===0)K=D$.object({}).passthrough();else if(q.length===1)K=q[0];else{let P=D$.intersection(q[0],q[1]);for(let v=2;v<q.length;v++)P=D$.intersection(P,q[v]);K=P}break}let L=D$.object(X);if(I.additionalProperties===!1)K=L.strict();else if(typeof I.additionalProperties==="object")K=L.catchall(R6(I.additionalProperties,J));else K=L.passthrough();break}case"array":{let{prefixItems:X,items:z}=I;if(X&&Array.isArray(X)){let O=X.map((j)=>R6(j,J)),L=z&&typeof z==="object"&&!Array.isArray(z)?R6(z,J):void 0;if(L)K=D$.tuple(O).rest(L);else K=D$.tuple(O);if(typeof I.minItems==="number")K=K.check(D$.minLength(I.minItems));if(typeof I.maxItems==="number")K=K.check(D$.maxLength(I.maxItems))}else if(Array.isArray(z)){let O=z.map((j)=>R6(j,J)),L=I.additionalItems&&typeof I.additionalItems==="object"?R6(I.additionalItems,J):void 0;if(L)K=D$.tuple(O).rest(L);else K=D$.tuple(O);if(typeof I.minItems==="number")K=K.check(D$.minLength(I.minItems));if(typeof I.maxItems==="number")K=K.check(D$.maxLength(I.maxItems))}else if(z!==void 0){let O=R6(z,J),L=D$.array(O);if(typeof I.minItems==="number")L=L.min(I.minItems);if(typeof I.maxItems==="number")L=L.max(I.maxItems);K=L}else K=D$.array(D$.any());break}default:throw Error(`Unsupported type: ${G}`)}return K}function R6(I,J){if(typeof I==="boolean")return I?D$.any():D$.never();let G=Tv(I,J),K=I.type||I.enum!==void 0||I.const!==void 0;if(I.anyOf&&Array.isArray(I.anyOf)){let L=I.anyOf.map((E)=>R6(E,J)),j=D$.union(L);G=K?D$.intersection(G,j):j}if(I.oneOf&&Array.isArray(I.oneOf)){let L=I.oneOf.map((E)=>R6(E,J)),j=D$.xor(L);G=K?D$.intersection(G,j):j}if(I.allOf&&Array.isArray(I.allOf))if(I.allOf.length===0)G=K?G:D$.any();else{let L=K?G:R6(I.allOf[0],J),j=K?0:1;for(let E=j;E<I.allOf.length;E++)L=D$.intersection(L,R6(I.allOf[E],J));G=L}if(I.nullable===!0&&J.version==="openapi-3.0")G=D$.nullable(G);if(I.readOnly===!0)G=D$.readonly(G);if(I.default!==void 0)G=G.default(I.default);let X={},z=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let L of z)if(L in I)X[L]=I[L];let O=["contentEncoding","contentMediaType","contentSchema"];for(let L of O)if(L in I)X[L]=I[L];for(let L of Object.keys(I))if(!Ah.has(L))X[L]=I[L];if(Object.keys(X).length>0)J.registry.add(G,X);if(I.description)G=G.describe(I.description);return G}function Rv(I,J){if(typeof I==="boolean")return I?D$.any():D$.never();let G;try{G=JSON.parse(JSON.stringify(I))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let K=qh(G,J?.defaultTarget),X=G.$defs||G.definitions||{},z={version:K,defs:X,refs:new Map,processing:new Set,rootSchema:G,registry:J?.registry??A6};return R6(G,z)}var C7={};g6(C7,{string:()=>Th,number:()=>Rh,date:()=>_h,boolean:()=>Ph,bigint:()=>Eh});function Th(I){return mL(XY,I)}function Rh(I){return aL(QY,I)}function Ph(I){return J5(YY,I)}function Eh(I){return Y5(GY,I)}function _h(I){return L5(x2,I)}rU(q2());var Pv=E$.object({id:E$.string().min(1).optional(),name:E$.string().min(1).optional(),kind:E$.enum(["human","agent","bot","system"])}),Ev=E$.object({type:E$.string().min(1),id:E$.string().min(1)}),_v=E$.object({provider:E$.string().min(1),id:E$.string().min(1).optional(),url:E$.string().min(1).optional(),cursor:E$.string().min(1).optional(),rawRef:E$.string().min(1).optional()}),T7=E$.object({id:E$.string().min(1),service:E$.string().min(1),type:E$.string().min(1),schemaVersion:E$.number().int().positive(),idempotencyKey:E$.string().min(1),occurredAt:E$.string().min(1),observedAt:E$.string().min(1),origin:E$.enum(["virtual","external","agent","connector","replay","migration"]),actor:Pv.optional(),subject:Ev,causationId:E$.string().min(1).optional(),correlationId:E$.string().min(1).optional(),external:_v.optional(),data:E$.record(E$.string(),E$.unknown()),raw:E$.record(E$.string(),E$.unknown()).optional()}),Sv=E$.object({version:E$.literal(1),service:E$.string().min(1),rebuiltAt:E$.string().min(1),eventCount:E$.number().int().nonnegative(),latestEventId:E$.string().min(1).optional(),subjects:E$.record(E$.string(),E$.object({type:E$.string().min(1),id:E$.string().min(1),latestEventId:E$.string().min(1),latestType:E$.string().min(1),updatedAt:E$.string().min(1)}))});function jv(I){return r4(I||process.env.PROJECT_ROOT||process.cwd())}function Az(){let I=process.env.VOLTER_STATE_DIR||".volter";if(vQ(I)||I.split(/[\\/]/).includes(".."))throw Error("VOLTER_STATE_DIR must be a relative directory without .. segments");return I}function eK(I){return t$(jv(I),Az(),"world")}function vh(I){if(!/^[A-Za-z0-9_-]+$/.test(I))throw Error(`Invalid world service name: ${I}`);return I}var vv;function Bv(I){vv=I}function L4(I,J){let G=vh(I);vv?.(G,J);let K=jv(J),X=t$(eK(J),G);return{root:K,service:G,dir:X,events:t$(X,"events.jsonl"),state:t$(X,"state.json"),resources:t$(X,"resources"),cursors:t$(X,"cursors"),ingests:t$(X,"ingests"),eventQueue:t$(X,"event-queue.jsonl")}}var Bh={windowMs:60000,ceiling:60,defaultWeight:2,maxRetryAfterSeconds:300,rules:[],reason:"no pack declared a budget for this vendor — this is the conservative fallback (30 calls/min at "+"the default weight), not a considered limit. Declare one on the pack with the vendor's real limits."};var Nv="2.0",wh=Number(Nv.split(".")[0]);yU();var{AsyncLocalStorage:Yr}=(()=>({}));var{AsyncLocalStorage:Gc}=(()=>({}));var nh;function gv(I){nh=I}var E7="/__volter/world-boot";var{chmodSync:Pr,existsSync:Er,mkdirSync:_r,readFileSync:Sr,writeFileSync:jr}=(()=>({}));yU();var Oc=1e6,Zc=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,zc=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function wv(I){return`sha256:${F4("sha256").update(I,"utf8").digest("hex").slice(0,16)}`}function Kc(I,J,G){let K=zc.exec(J);if(!K&&!Zc.test(I))return;let X=I.toLowerCase();if(J==="")return{name:X,in:G,empty:!0};if(K)return{name:X,in:G,scheme:K[1],fp:wv(K[2])};return{name:X,in:G,fp:wv(J)}}function hv(I,J){let G=[],K=new Set,X=(z,O,L)=>{let j=Kc(z,O,L);if(!j)return;let E=`${j.in}:${j.name}`;if(K.has(E))return;K.add(E),G.push(j)};try{if(typeof I.forEach==="function")I.forEach((z,O)=>X(O,z,"header"));else for(let[z,O]of Object.entries(I))X(z,String(O),"header")}catch{}try{if(J!==void 0){let z=typeof J==="string"?new URL(J,"http://twin.invalid").search:J.search;for(let[O,L]of new URLSearchParams(z))X(O,L,"query")}}catch{}return G.sort((z,O)=>z.in===O.in?z.name.localeCompare(O.name):z.in.localeCompare(O.in))}function B7(I=process.env){return I.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function cv(I,J){return t$(iU(L4(I,J).events),"requests.jsonl")}function pv(I,J,G){if(!B7())return;try{let K=f6(),X=cv(I,G);if(K.mkdir(iU(X)),(K.stat(X)?.size??0)>=Oc)K.writeAtomic(`${X}.1`,K.read(X)??""),K.write(X,"");let O=JSON.stringify({at:J.at??new Date().toISOString(),method:J.method.toUpperCase(),path:J.path.split("?")[0],status:J.status,...typeof J.ms==="number"?{ms:J.ms}:{},...J.credentials?.length?{credentials:J.credentials}:{}});K.append(X,`${O}
|
|
321
|
+
`)}catch{}}var mv=Symbol.for("volter.twin.requestJournal.identity"),fv=Symbol.for("volter.twin.requestJournal.installed"),S7;function Vc(){return S7??=new Gc,S7}function Dc(){Bv((I,J)=>{let G=S7?.getStore();if(!G||G.identity!==void 0)return;G.identity=J===void 0?{service:I}:{service:I,root:J}})}function Wc(I=process.argv){let J=I.indexOf("--root"),G=J>=0?I[J+1]:void 0;return G&&!G.startsWith("--")?G:void 0}var Fc=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function yv(I){if(!I)return;let J=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let G of I.matchAll(J)){let K=G[1];if(!Fc.has(K))return K}return}function Hc(){if(typeof window<"u"||typeof document<"u")return!1;let I=globalThis.Bun,J=I&&typeof I.serve==="function"?I.serve:void 0;if(J&&J[fv])return!0;if(Dc(),gv((K)=>uv(K,yv(Error().stack))),!J)return!1;let G=function(X,...z){let O=X;if(!O||typeof O.fetch!=="function")return J.apply(this,[X,...z]);let L=O[mv]?void 0:yv(Error().stack);return J.apply(this,[{...O,fetch:uv(O,L)},...z])};return Object.defineProperty(G,fv,{value:!0}),I.serve=G,!0}function uv(I,J){if(I.twinRequestJournal===!1)return I.fetch;{let K=I[mv],X=I.fetch;return async function(O,L){if(!B7()||new URL(O.url).pathname===E7)return X.call(this,O,L);let j={},E=500,_=Date.now();try{let q=await Vc().run(j,()=>X.call(this,O,L));if(q instanceof Response)E=q.status;else if(q===void 0)return q;return q}finally{K??=j.identity;let q=K??Lc(J);if(q){let P=new URL(O.url);pv(q.service,{method:O.method,path:P.pathname,status:E,ms:Date.now()-_,credentials:hv(O.headers,P)},q.root)}}}}}function Lc(I){let J=process.env.VOLTER_TWIN_JOURNAL_SERVICE||I;if(!J||!/^[A-Za-z0-9_-]+$/.test(J))return;let G=Wc();return G===void 0?{service:J}:{service:J,root:G}}Hc();yU();var zt=Symbol("absent");yU();var{closeSync:gc,existsSync:c2,mkdirSync:xc,openSync:wc,readdirSync:fc,readFileSync:yc,readSync:uc,renameSync:bc,rmSync:$B,statSync:w7,writeFileSync:hc}=(()=>({}));yU();var{closeSync:g7,constants:WJ,fstatSync:iv,ftruncateSync:_c,linkSync:Sc,lstatSync:k7,mkdirSync:jc,openSync:x7,readFileSync:vc,readSync:dv,rmSync:Bc,writeFileSync:Nc}=(()=>({}));var rv=131072,tv=32,av=4;function sv(I){return I.isFile()&&I.nlink===1&&(!process.getuid||I.uid===process.getuid())&&(I.mode&63)===0}function nv(I){try{let J=k7(I);return J.isDirectory()&&(J.mode&63)===0&&(!process.getuid||J.uid===process.getuid())}catch{return!1}}function ov(I){let J;try{J=x7(I,WJ.O_RDONLY|WJ.O_NONBLOCK|(WJ.O_NOFOLLOW??0));let G=iv(J);if(!sv(G)||G.size>rv)return{};let K=JSON.parse(vc(J,"utf8"));if(!K||typeof K!=="object"||Array.isArray(K))return{};let X={};for(let[z,O]of Object.entries(K).slice(-tv)){if(!/^\d+:[a-f0-9]{64}$/.test(z)||!Array.isArray(O))continue;X[z]=O.filter((L)=>typeof L==="string"&&L.length<=4096&&vQ(L)).slice(0,av)}return X}catch{return{}}finally{if(J!==void 0)g7(J)}}function kc(I,J){let G=x7(I,"r");try{let K=F4("sha256"),X=Buffer.allocUnsafe(65536),z=J;while(z>0){let O=dv(G,X,0,Math.min(X.length,z),null);if(!O)return null;K.update(X.subarray(0,O)),z-=O}if(dv(G,X,0,1,null))return null;return K.digest("hex")}finally{g7(G)}}function ev(I,J,G){let K=t$(I,`${G.slice(0,2)}.json`),X=`${J}:${G}`;return{reuse(z,O){if(!nv(I))return!1;for(let L of ov(K)[X]??[]){try{let j=k7(L);if(!j.isFile()||j.dev!==J||j.size!==O||process.getuid&&j.uid!==process.getuid())continue;Sc(L,z);let E=k7(z);if(E.isFile()&&E.dev===J&&E.size===O&&(!process.getuid||E.uid===process.getuid())&&kc(z,O)===G)return!0}catch{}Bc(z,{force:!0})}return!1},record(z){try{let O=r4(z);if(O.length>4096)return;let L=ov(K),j=[O,...(L[X]??[]).filter((q)=>q!==O)].slice(0,av);delete L[X],L[X]=j;let E=JSON.stringify(L);while(Object.keys(L).length>tv||Buffer.byteLength(E)>rv)delete L[Object.keys(L)[0]],E=JSON.stringify(L);if(jc(I,{recursive:!0,mode:448}),!nv(I))return;let _=x7(K,WJ.O_WRONLY|WJ.O_CREAT|WJ.O_NONBLOCK|(WJ.O_NOFOLLOW??0),384);try{if(!sv(iv(_)))return;_c(_,0),Nc(_,E)}finally{g7(_)}}catch{}}}}class f7{options;constructor(I={}){this.options=I}async get(I){if(!c2(I))return null;return new Uint8Array(yc(I))}async put(I,J){xc(iU(I),{recursive:!0});let G=`${I}.tmp.${jQ()}`,K;try{if(this.options.sharedIndexRoot!==!1)try{K=ev(this.options.sharedIndexRoot??t$(U2(),"blob-index-v1"),w7(iU(I)).dev,UB(J))}catch{}if(!K?.reuse(G,J.byteLength))hc(G,J,{flag:"wx"});bc(G,I),K?.record(I)}finally{$B(G,{force:!0})}}async exists(I){return c2(I)}async remove(I){$B(I,{force:!0,recursive:I.endsWith("/")})}async list(I){let J=[],G=(K)=>{if(!c2(K))return;for(let X of fc(K,{withFileTypes:!0})){let z=t$(K,X.name);if(X.isDirectory())G(z);else if(!X.name.includes(".tmp."))J.push(z)}};return G(I.replace(/\/$/,"")),J.sort()}async size(I){if(!c2(I))return null;return w7(I).size}async getRange(I,J,G){if(!c2(I))return null;let K=w7(I).size,X=Math.max(0,J),z=Math.min(G,K-1);if(z<X)return new Uint8Array(0);let O=new Uint8Array(z-X+1),L=wc(I,"r"),j=0;try{while(j<O.length){let E=uc(L,O,j,O.length-j,X+j);if(E===0)break;j+=E}}finally{gc(L)}return j===O.length?O:O.subarray(0,j)}}function UB(I){return F4("sha256").update(I).digest("hex")}var St=new f7;m7();var vt=new RegExp("^(?:(?: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])$"),Bt=new RegExp("^(?:(?:(?:[0-9a-fA-F]{1,4}):){7}(?:(?:[0-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){6}(?:(?:(?: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-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){5}(?::(?:(?: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-9a-fA-F]{1,4})){1,2}|:)|(?:(?:[0-9a-fA-F]{1,4}):){4}(?:(?::(?:[0-9a-fA-F]{1,4})){0,1}:(?:(?: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-9a-fA-F]{1,4})){1,3}|:)|(?:(?:[0-9a-fA-F]{1,4}):){3}(?:(?::(?:[0-9a-fA-F]{1,4})){0,2}:(?:(?: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-9a-fA-F]{1,4})){1,4}|:)|(?:(?:[0-9a-fA-F]{1,4}):){2}(?:(?::(?:[0-9a-fA-F]{1,4})){0,3}:(?:(?: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-9a-fA-F]{1,4})){1,5}|:)|(?:(?:[0-9a-fA-F]{1,4}):){1}(?:(?::(?:[0-9a-fA-F]{1,4})){0,4}:(?:(?: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-9a-fA-F]{1,4})){1,6}|:)|(?::(?:(?::(?:[0-9a-fA-F]{1,4})){0,5}:(?:(?: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-9a-fA-F]{1,4})){1,7}|:)))(?:%[0-9a-zA-Z-.:]{1,})?$");yU();var{existsSync:Ya,readFileSync:Ga,statSync:Oa}=(()=>({}));class Sp{buf=new Uint8Array(65536);len=0;push(I){if(this.len===this.buf.length){let J=new Uint8Array(this.buf.length*2);J.set(this.buf),this.buf=J}this.buf[this.len++]=I}copy(I,J){if(I>this.len)throw Error("inflate: distance too far back");for(let G=0;G<J;G++)this.push(this.buf[this.len-I])}bytes(){return this.buf.slice(0,this.len)}}var ja="0".repeat(40),va=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:pa}=(()=>({}));var{AsyncLocalStorage:ia}=(()=>({}));var{existsSync:aa,readFileSync:sa,statSync:ea}=(()=>({}));var{existsSync:Is,readFileSync:Xs}=(()=>({}));var{existsSync:Ys}=(()=>({}));function l7(I){let J=String(I??"").toLowerCase();if(J==="accepted")return"ok";if(J==="pending")return"warn";if(J==="cancelled"||J==="rejected")return"bad";return""}function d7(I,J){let G=typeof I==="string"?new Date(I):null,K=typeof J==="string"?new Date(J):null;if(!G||Number.isNaN(G.getTime()))return"—";let X=G.toISOString().slice(0,10),z=(O)=>O.toISOString().slice(11,16);return K&&!Number.isNaN(K.getTime())?`${X} ${z(G)} → ${z(K)} UTC`:`${X} ${z(G)} UTC`}function _B(I){if(!Array.isArray(I)||I.length===0)return"—";let J=I[0];return J?.email?`${J.name??""} <${J.email}>`.trim():String(J?.name??"—")}var T$=i4(n7(),1),bp=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),BB={ok:"pill pill-ok",warn:"pill pill-warn",bad:"pill pill-bad","":"pill"},SB=[{key:"bookings",label:"Bookings",path:"/v2/bookings"},{key:"event-types",label:"Event Types",path:"/v2/event-types"}];async function hp(I){let G=await(await fetch(`${bp}${I}`)).json();return Array.isArray(G.data)?G.data:[]}function cp({rows:I}){if(I.length===0)return T$.jsxDEV("div",{className:"empty",children:"No bookings yet."},void 0,!1,void 0,this);return T$.jsxDEV("table",{className:"bookings-table",children:[T$.jsxDEV("thead",{children:T$.jsxDEV("tr",{children:[T$.jsxDEV("th",{children:"Title"},void 0,!1,void 0,this),T$.jsxDEV("th",{children:"When"},void 0,!1,void 0,this),T$.jsxDEV("th",{children:"Attendee"},void 0,!1,void 0,this),T$.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),T$.jsxDEV("tbody",{children:I.map((J)=>T$.jsxDEV("tr",{className:"list-row","data-uid":J.uid,children:[T$.jsxDEV("td",{className:"cell-title",children:J.title},void 0,!1,void 0,this),T$.jsxDEV("td",{className:"cell-when",children:d7(J.start,J.end)},void 0,!1,void 0,this),T$.jsxDEV("td",{className:"cell-attendee",children:_B(J.attendees)},void 0,!1,void 0,this),T$.jsxDEV("td",{children:T$.jsxDEV("span",{className:BB[l7(J.status)],children:J.status},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},J.uid,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Z60({rows:I}){let J=I[0];if(!J)return T$.jsxDEV("div",{className:"empty",children:"No booking."},void 0,!1,void 0,this);let G=Array.isArray(J.attendees)?J.attendees:[],X=[...(Array.isArray(J.hosts)?J.hosts:[]).map((z)=>({role:"host",name:z.name,email:z.email??"",id:`host-${z.id??z.name}`})),...G.map((z)=>({role:"attendee",name:z.name,email:z.email,id:`att-${z.email}`}))];return T$.jsxDEV("section",{className:"booking-detail","data-uid":J.uid,children:[T$.jsxDEV("h2",{className:"detail-title",children:J.title},void 0,!1,void 0,this),T$.jsxDEV("div",{className:"detail-when",children:d7(J.start,J.end)},void 0,!1,void 0,this),T$.jsxDEV("div",{children:T$.jsxDEV("span",{className:BB[l7(J.status)],children:J.status},void 0,!1,void 0,this)},void 0,!1,void 0,this),T$.jsxDEV("table",{className:"people-table",children:T$.jsxDEV("tbody",{children:X.map((z)=>T$.jsxDEV("tr",{className:"list-row","data-pid":z.id,children:[T$.jsxDEV("td",{className:"cell-role",children:z.role},void 0,!1,void 0,this),T$.jsxDEV("td",{className:"cell-name",children:String(z.name??"")},void 0,!1,void 0,this),T$.jsxDEV("td",{className:"cell-email",children:String(z.email??"")},void 0,!1,void 0,this)]},z.id,!0,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),J.fromReschedule?T$.jsxDEV("div",{className:"reschedule-history",children:["rescheduled from ",String(J.fromReschedule)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}function pp({rows:I}){if(I.length===0)return T$.jsxDEV("div",{className:"empty",children:"No event types yet."},void 0,!1,void 0,this);return T$.jsxDEV("table",{className:"evt-table",children:[T$.jsxDEV("thead",{children:T$.jsxDEV("tr",{children:[T$.jsxDEV("th",{children:"Title"},void 0,!1,void 0,this),T$.jsxDEV("th",{children:"Slug"},void 0,!1,void 0,this),T$.jsxDEV("th",{children:"Length"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),T$.jsxDEV("tbody",{children:I.map((J)=>T$.jsxDEV("tr",{className:"list-row","data-id":J.id,children:[T$.jsxDEV("td",{className:"cell-title",children:J.title},void 0,!1,void 0,this),T$.jsxDEV("td",{children:J.slug},void 0,!1,void 0,this),T$.jsxDEV("td",{children:[J.lengthInMinutes," min"]},void 0,!0,void 0,this)]},J.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function mp(){let[I,J]=p2.useState("bookings"),[G,K]=p2.useState([]);return p2.useEffect(()=>{let X=SB.find((z)=>z.key===I);hp(X.path).then(K).catch(()=>K([]))},[I]),T$.jsxDEV("div",{className:"app",children:[T$.jsxDEV("header",{className:"topbar",children:T$.jsxDEV("span",{className:"brand",children:"Cal.com twin"},void 0,!1,void 0,this)},void 0,!1,void 0,this),T$.jsxDEV("nav",{className:"sidebar",children:SB.map((X)=>T$.jsxDEV("button",{className:`nav-item${X.key===I?" active":""}`,onClick:()=>J(X.key),children:X.label},X.key,!1,void 0,this))},void 0,!1,void 0,this),T$.jsxDEV("main",{className:"content",children:I==="bookings"?T$.jsxDEV(cp,{rows:G},void 0,!1,void 0,this):T$.jsxDEV(pp,{rows:G},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var jB=typeof document<"u"?document.getElementById("root"):null;if(jB)vB.createRoot(jB).render(T$.jsxDEV(mp,{},void 0,!1,void 0,this));export{pp as EventTypesList,cp as BookingsList,Z60 as BookingDetail};
|