@volter/twin-postmark 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 +144 -0
- package/client/postmark-mirror.css +79 -0
- package/client/postmark-mirror.tsx +221 -0
- package/dist/client/postmark-mirror.bundle.js +321 -0
- package/dist/client/postmark-mirror.css +79 -0
- package/dist/client/postmark-mirror.d.ts +18 -0
- package/dist/client/postmark-mirror.js +153 -0
- package/dist/client/postmark-mirror.tsx +221 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +31 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/index.js +54 -0
- package/dist/src/postmark-capabilities.d.ts +12 -0
- package/dist/src/postmark-capabilities.js +1502 -0
- package/dist/src/postmark-conformance.d.ts +33 -0
- package/dist/src/postmark-conformance.js +265 -0
- package/dist/src/postmark-connector.d.ts +167 -0
- package/dist/src/postmark-connector.js +251 -0
- package/dist/src/postmark-events.d.ts +85 -0
- package/dist/src/postmark-events.js +169 -0
- package/dist/src/postmark-mirror-ui.d.ts +58 -0
- package/dist/src/postmark-mirror-ui.js +207 -0
- package/dist/src/postmark-perform-harness.d.ts +9 -0
- package/dist/src/postmark-perform-harness.js +24 -0
- package/dist/src/postmark-server.d.ts +14 -0
- package/dist/src/postmark-server.js +29 -0
- package/dist/src/postmark-twin.d.ts +82 -0
- package/dist/src/postmark-twin.js +1575 -0
- package/dist/test-fixtures/postmark-swagger-operations.json +846 -0
- package/package.json +76 -0
- package/src/cli.ts +29 -0
- package/src/index.ts +89 -0
- package/src/postmark-capabilities.ts +1737 -0
- package/src/postmark-conformance.ts +282 -0
- package/src/postmark-connector.ts +312 -0
- package/src/postmark-events.ts +189 -0
- package/src/postmark-mirror-ui.ts +213 -0
- package/src/postmark-perform-harness.ts +21 -0
- package/src/postmark-server.ts +37 -0
- package/src/postmark-twin.ts +1520 -0
- package/test-fixtures/postmark-swagger-operations.json +846 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
var Tx=Object.create;var{getPrototypeOf:Px,defineProperty:pG,getOwnPropertyNames:Pj,getOwnPropertyDescriptor:_x}=Object,_j=Object.prototype.hasOwnProperty;function Ej(I){return this[I]}var Ex,jx,w4=(I,J,Y)=>{var D=I!=null&&typeof I==="object";if(D){var X=J?Ex??=new WeakMap:jx??=new WeakMap,z=X.get(I);if(z)return z}Y=I!=null?Tx(Px(I)):{};let Z=J||!I||!I.__esModule?pG(Y,"default",{value:I,enumerable:!0}):Y;for(let L of Pj(I))if(!_j.call(Z,L))pG(Z,L,{get:Ej.bind(I,L),enumerable:!0});if(D)X.set(I,Z);return Z},S$=(I)=>{var J=(Tj??=new WeakMap).get(I),Y;if(J)return J;if(J=pG({},"__esModule",{value:!0}),I&&typeof I==="object"||typeof I==="function"){for(var D of Pj(I))if(!_j.call(J,D))pG(J,D,{get:Ej.bind(I,D),enumerable:!(Y=_x(I,D))||Y.enumerable})}return Tj.set(I,J),J},Tj,YI=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports);var qx=(I)=>I;function Sx(I,J){this[I]=qx.bind(null,J)}var x6=(I,J)=>{for(var Y in J)pG(I,Y,{get:J[Y],enumerable:!0,configurable:!0,set:Sx.bind(J,Y)})};var LQ=(I,J)=>()=>(I&&(J=I(I=0)),J);var Rx=((I)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(I,{get:(J,Y)=>(typeof require<"u"?require:J)[Y]}):I)(function(I){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+I+'" is not supported')});var lG=YI((Bx,eV)=>{(function(){function I(l,X0){Object.defineProperty(D.prototype,l,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",X0[0],X0[1])}})}function J(l){if(l===null||typeof l!=="object")return null;return l=e&&l[e]||l["@@iterator"],typeof l==="function"?l:null}function Y(l,X0){l=(l=l.constructor)&&(l.displayName||l.name)||"ReactClass";var s0=l+"."+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,l),J0[s0]=!0)}function D(l,X0,s0){this.props=l,this.context=X0,this.refs=$0,this.updater=s0||Z0}function X(){}function z(l,X0,s0){this.props=l,this.context=X0,this.refs=$0,this.updater=s0||Z0}function Z(){}function L(l){return""+l}function R(l){try{L(l);var X0=!1}catch(v0){X0=!0}if(X0){X0=console;var s0=X0.error,S0=typeof Symbol==="function"&&Symbol.toStringTag&&l[Symbol.toStringTag]||l.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(l)}}function j(l){if(l==null)return null;if(typeof l==="function")return l.$$typeof===H0?null:l.displayName||l.name||null;if(typeof l==="string")return l;switch(l){case A:return"Fragment";case T:return"Profiler";case V:return"StrictMode";case r:return"Suspense";case U0:return"SuspenseList";case s:return"Activity"}if(typeof l==="object")switch(typeof l.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),l.$$typeof){case S:return"Portal";case v:return l.displayName||"Context";case g:return(l._context.displayName||"Context")+".Consumer";case h:var X0=l.render;return l=l.displayName,l||(l=X0.displayName||X0.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case z0:return X0=l.displayName||null,X0!==null?X0:j(l.type)||"Memo";case Q0:X0=l._payload,l=l._init;try{return j(l(X0))}catch(s0){}}return null}function q(l){if(l===A)return"<>";if(typeof l==="object"&&l!==null&&l.$$typeof===Q0)return"<...>";try{var X0=j(l);return X0?"<"+X0+">":"<...>"}catch(s0){return"<...>"}}function C(){var l=Y0.A;return l===null?null:l.getOwner()}function E(){return Error("react-stack-top-frame")}function B(l){if(W0.call(l,"key")){var X0=Object.getOwnPropertyDescriptor(l,"key").get;if(X0&&X0.isReactWarning)return!1}return l.key!==void 0}function N(l,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(l,"key",{get:s0,configurable:!0})}function y(){var l=j(this.type);return U$[l]||(U$[l]=!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.")),l=this.props.ref,l!==void 0?l:null}function w(l,X0,s0,S0,v0,O$){var x0=s0.ref;return l={$$typeof:P,type:l,key:X0,props:s0,_owner:S0},(x0!==void 0?x0:null)!==null?Object.defineProperty(l,"ref",{enumerable:!1,get:y}):Object.defineProperty(l,"ref",{enumerable:!1,value:null}),l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(l,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(l,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:v0}),Object.defineProperty(l,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O$}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}function b(l,X0){return X0=w(l.type,X0,l.props,l._owner,l._debugStack,l._debugTask),l._store&&(X0._store.validated=l._store.validated),X0}function x(l){u(l)?l._store&&(l._store.validated=1):typeof l==="object"&&l!==null&&l.$$typeof===Q0&&(l._payload.status==="fulfilled"?u(l._payload.value)&&l._payload.value._store&&(l._payload.value._store.validated=1):l._store&&(l._store.validated=1))}function u(l){return typeof l==="object"&&l!==null&&l.$$typeof===P}function p(l){var X0={"=":"=0",":":"=2"};return"$"+l.replace(/[=:]/g,function(s0){return X0[s0]})}function d(l,X0){return typeof l==="object"&&l!==null&&l.key!=null?(R(l.key),p(""+l.key)):X0.toString(36)}function a(l){switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:switch(typeof l.status==="string"?l.then(Z,Z):(l.status="pending",l.then(function(X0){l.status==="pending"&&(l.status="fulfilled",l.value=X0)},function(X0){l.status==="pending"&&(l.status="rejected",l.reason=X0)})),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason}}throw l}function O0(l,X0,s0,S0,v0){var O$=typeof l;if(O$==="undefined"||O$==="boolean")l=null;var x0=!1;if(l===null)x0=!0;else switch(O$){case"bigint":case"string":case"number":x0=!0;break;case"object":switch(l.$$typeof){case P:case S:x0=!0;break;case Q0:return x0=l._init,O0(x0(l._payload),X0,s0,S0,v0)}}if(x0){x0=l,v0=v0(x0);var f0=S0===""?"."+d(x0,0):S0;return n(v0)?(s0="",f0!=null&&(s0=f0.replace(p0,"$&/")+"/"),O0(v0,X0,s0,"",function(n0){return n0})):v0!=null&&(u(v0)&&(v0.key!=null&&(x0&&x0.key===v0.key||R(v0.key)),s0=b(v0,s0+(v0.key==null||x0&&x0.key===v0.key?"":(""+v0.key).replace(p0,"$&/")+"/")+f0),S0!==""&&x0!=null&&u(x0)&&x0.key==null&&x0._store&&!x0._store.validated&&(s0._store.validated=2),v0=s0),X0.push(v0)),1}if(x0=0,f0=S0===""?".":S0+":",n(l))for(var W$=0;W$<l.length;W$++)S0=l[W$],O$=f0+d(S0,W$),x0+=O0(S0,X0,s0,O$,v0);else if(W$=J(l),typeof W$==="function")for(W$===l.entries&&(L$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),L$=!0),l=W$.call(l),W$=0;!(S0=l.next()).done;)S0=S0.value,O$=f0+d(S0,W$++),x0+=O0(S0,X0,s0,O$,v0);else if(O$==="object"){if(typeof l.then==="function")return O0(a(l),X0,s0,S0,v0);throw X0=String(l),Error("Objects are not valid as a React child (found: "+(X0==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":X0)+"). If you meant to render a collection of children, use an array instead.")}return x0}function L0(l,X0,s0){if(l==null)return l;var S0=[],v0=0;return O0(l,S0,"","",function(O$){return X0.call(s0,O$,v0++)}),S0}function j0(l){if(l._status===-1){var X0=l._ioInfo;X0!=null&&(X0.start=X0.end=performance.now()),X0=l._result;var s0=X0();if(s0.then(function(v0){if(l._status===0||l._status===-1){l._status=1,l._result=v0;var O$=l._ioInfo;O$!=null&&(O$.end=performance.now()),s0.status===void 0&&(s0.status="fulfilled",s0.value=v0)}},function(v0){if(l._status===0||l._status===-1){l._status=2,l._result=v0;var O$=l._ioInfo;O$!=null&&(O$.end=performance.now()),s0.status===void 0&&(s0.status="rejected",s0.reason=v0)}}),X0=l._ioInfo,X0!=null){X0.value=s0;var S0=s0.displayName;typeof S0==="string"&&(X0.name=S0)}l._status===-1&&(l._status=0,l._result=s0)}if(l._status===1)return X0=l._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 l._result}function t(){var l=Y0.H;return l===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.`),l}function T0(){Y0.asyncTransitions--}function G(l){if(b0===null)try{var X0=("require"+Math.random()).slice(0,7);b0=(eV&&eV[X0]).call(eV,"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 v0=new MessageChannel;v0.port1.onmessage=S0,v0.port2.postMessage(void 0)}}return b0(l)}function K(l){return 1<l.length&&typeof AggregateError==="function"?AggregateError(l):l[0]}function H(l,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 W(l,X0,s0){var S0=Y0.actQueue;if(S0!==null)if(S0.length!==0)try{O(S0),G(function(){return W(l,X0,s0)});return}catch(v0){Y0.thrownErrors.push(v0)}else Y0.actQueue=null;0<Y0.thrownErrors.length?(S0=K(Y0.thrownErrors),Y0.thrownErrors.length=0,s0(S0)):X0(l)}function O(l){if(!r0){r0=!0;var X0=0;try{for(;X0<l.length;X0++){var s0=l[X0];do{Y0.didUsePromise=!1;var S0=s0(!1);if(S0!==null){if(Y0.didUsePromise){l[X0]=s0,l.splice(0,X0);return}s0=S0}else break}while(1)}l.length=0}catch(v0){l.splice(0,X0+1),Y0.thrownErrors.push(v0)}finally{r0=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var P=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),v=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={},Z0={isMounted:function(){return!1},enqueueForceUpdate:function(l){Y(l,"forceUpdate")},enqueueReplaceState:function(l){Y(l,"replaceState")},enqueueSetState:function(l){Y(l,"setState")}},A0=Object.assign,$0={};Object.freeze($0),D.prototype.isReactComponent={},D.prototype.setState=function(l,X0){if(typeof l!=="object"&&typeof l!=="function"&&l!=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,l,X0,"setState")},D.prototype.forceUpdate=function(l){this.updater.enqueueForceUpdate(this,l,"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(PU in c)c.hasOwnProperty(PU)&&I(PU,c[PU]);X.prototype=D.prototype,c=z.prototype=new X,c.constructor=z,A0(c,D.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},W0=Object.prototype.hasOwnProperty,N0=console.createTask?console.createTask:function(){return null};c={react_stack_bottom_frame:function(l){return l()}};var I0,D0,U$={},M0=c.react_stack_bottom_frame.bind(c,E)(),B0=N0(q(E)),L$=!1,p0=/\/+/g,c0=typeof reportError==="function"?reportError:function(l){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X0=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(X0))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",l);return}console.error(l)},i$=!1,b0=null,h0=0,QU=!1,r0=!1,o0=typeof queueMicrotask==="function"?function(l){queueMicrotask(function(){return queueMicrotask(l)})}:G;c=Object.freeze({__proto__:null,c:function(l){return t().useMemoCache(l)}});var PU={map:L0,forEach:function(l,X0,s0){L0(l,function(){X0.apply(this,arguments)},s0)},count:function(l){var X0=0;return L0(l,function(){X0++}),X0},toArray:function(l){return L0(l,function(X0){return X0})||[]},only:function(l){if(!u(l))throw Error("React.Children.only expected to receive a single React element child.");return l}};Bx.Activity=s,Bx.Children=PU,Bx.Component=D,Bx.Fragment=A,Bx.Profiler=T,Bx.PureComponent=z,Bx.StrictMode=V,Bx.Suspense=r,Bx.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y0,Bx.__COMPILER_RUNTIME=c,Bx.act=function(l){var X0=Y0.actQueue,s0=h0;h0++;var S0=Y0.actQueue=X0!==null?X0:[],v0=!1;try{var O$=l()}catch(W$){Y0.thrownErrors.push(W$)}if(0<Y0.thrownErrors.length)throw H(X0,s0),l=K(Y0.thrownErrors),Y0.thrownErrors.length=0,l;if(O$!==null&&typeof O$==="object"&&typeof O$.then==="function"){var x0=O$;return o0(function(){v0||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(W$,n0){v0=!0,x0.then(function(i0){if(H(X0,s0),s0===0){try{O(S0),G(function(){return W(i0,W$,n0)})}catch(a0){Y0.thrownErrors.push(a0)}if(0<Y0.thrownErrors.length){var DU=K(Y0.thrownErrors);Y0.thrownErrors.length=0,n0(DU)}}else W$(i0)},function(i0){H(X0,s0),0<Y0.thrownErrors.length?(i0=K(Y0.thrownErrors),Y0.thrownErrors.length=0,n0(i0)):n0(i0)})}}}var f0=O$;if(H(X0,s0),s0===0&&(O(S0),S0.length!==0&&o0(function(){v0||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 l=K(Y0.thrownErrors),Y0.thrownErrors.length=0,l;return{then:function(W$,n0){v0=!0,s0===0?(Y0.actQueue=S0,G(function(){return W(f0,W$,n0)})):W$(f0)}}},Bx.cache=function(l){return function(){return l.apply(null,arguments)}},Bx.cacheSignal=function(){return null},Bx.captureOwnerStack=function(){var l=Y0.getCurrentStack;return l===null?null:l()},Bx.cloneElement=function(l,X0,s0){if(l===null||l===void 0)throw Error("The argument must be a React element, but you passed "+l+".");var S0=A0({},l.props),v0=l.key,O$=l._owner;if(X0!=null){var x0;$:{if(W0.call(X0,"ref")&&(x0=Object.getOwnPropertyDescriptor(X0,"ref").get)&&x0.isReactWarning){x0=!1;break $}x0=X0.ref!==void 0}x0&&(O$=C()),B(X0)&&(R(X0.key),v0=""+X0.key);for(f0 in X0)!W0.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){x0=Array(f0);for(var W$=0;W$<f0;W$++)x0[W$]=arguments[W$+2];S0.children=x0}S0=w(l.type,v0,S0,O$,l._debugStack,l._debugTask);for(v0=2;v0<arguments.length;v0++)x(arguments[v0]);return S0},Bx.createContext=function(l){return l={$$typeof:v,_currentValue:l,_currentValue2:l,_threadCount:0,Provider:null,Consumer:null},l.Provider=l,l.Consumer={$$typeof:g,_context:l},l._currentRenderer=null,l._currentRenderer2=null,l},Bx.createElement=function(l,X0,s0){for(var S0=2;S0<arguments.length;S0++)x(arguments[S0]);S0={};var v0=null;if(X0!=null)for(W$ in D0||!("__self"in X0)||"key"in X0||(D0=!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")),B(X0)&&(R(X0.key),v0=""+X0.key),X0)W0.call(X0,W$)&&W$!=="key"&&W$!=="__self"&&W$!=="__source"&&(S0[W$]=X0[W$]);var O$=arguments.length-2;if(O$===1)S0.children=s0;else if(1<O$){for(var x0=Array(O$),f0=0;f0<O$;f0++)x0[f0]=arguments[f0+2];Object.freeze&&Object.freeze(x0),S0.children=x0}if(l&&l.defaultProps)for(W$ in O$=l.defaultProps,O$)S0[W$]===void 0&&(S0[W$]=O$[W$]);v0&&N(S0,typeof l==="function"?l.displayName||l.name||"Unknown":l);var W$=1e4>Y0.recentlyCreatedOwnerStacks++;return w(l,v0,S0,C(),W$?Error("react-stack-top-frame"):M0,W$?N0(q(l)):B0)},Bx.createRef=function(){var l={current:null};return Object.seal(l),l},Bx.forwardRef=function(l){l!=null&&l.$$typeof===z0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof l!=="function"?console.error("forwardRef requires a render function but was given %s.",l===null?"null":typeof l):l.length!==0&&l.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",l.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),l!=null&&l.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var X0={$$typeof:h,render:l},s0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return s0},set:function(S0){s0=S0,l.name||l.displayName||(Object.defineProperty(l,"name",{value:S0}),l.displayName=S0)}}),X0},Bx.isValidElement=u,Bx.lazy=function(l){l={_status:-1,_result:l};var X0={$$typeof:Q0,_payload:l,_init:j0},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 l._ioInfo=s0,X0._debugInfo=[{awaited:s0}],X0},Bx.memo=function(l,X0){l==null&&console.error("memo: The first argument must be a component. Instead received: %s",l===null?"null":typeof l),X0={$$typeof:z0,type:l,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,l.name||l.displayName||(Object.defineProperty(l,"name",{value:S0}),l.displayName=S0)}}),X0},Bx.startTransition=function(l){var X0=Y0.T,s0={};s0._updatedFibers=new Set,Y0.T=s0;try{var S0=l(),v0=Y0.S;v0!==null&&v0(s0,S0),typeof S0==="object"&&S0!==null&&typeof S0.then==="function"&&(Y0.asyncTransitions++,S0.then(T0,T0),S0.then(Z,c0))}catch(O$){c0(O$)}finally{X0===null&&s0._updatedFibers&&(l=s0._updatedFibers.size,s0._updatedFibers.clear(),10<l&&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}},Bx.unstable_useCacheRefresh=function(){return t().useCacheRefresh()},Bx.use=function(l){return t().use(l)},Bx.useActionState=function(l,X0,s0){return t().useActionState(l,X0,s0)},Bx.useCallback=function(l,X0){return t().useCallback(l,X0)},Bx.useContext=function(l){var X0=t();return l.$$typeof===g&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X0.useContext(l)},Bx.useDebugValue=function(l,X0){return t().useDebugValue(l,X0)},Bx.useDeferredValue=function(l,X0){return t().useDeferredValue(l,X0)},Bx.useEffect=function(l,X0){return l==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useEffect(l,X0)},Bx.useEffectEvent=function(l){return t().useEffectEvent(l)},Bx.useId=function(){return t().useId()},Bx.useImperativeHandle=function(l,X0,s0){return t().useImperativeHandle(l,X0,s0)},Bx.useInsertionEffect=function(l,X0){return l==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useInsertionEffect(l,X0)},Bx.useLayoutEffect=function(l,X0){return l==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useLayoutEffect(l,X0)},Bx.useMemo=function(l,X0){return t().useMemo(l,X0)},Bx.useOptimistic=function(l,X0){return t().useOptimistic(l,X0)},Bx.useReducer=function(l,X0,s0){return t().useReducer(l,X0,s0)},Bx.useRef=function(l){return t().useRef(l)},Bx.useState=function(l){return t().useState(l)},Bx.useSyncExternalStore=function(l,X0,s0){return t().useSyncExternalStore(l,X0,s0)},Bx.useTransition=function(){return t().useTransition()},Bx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var jj=YI((vx)=>{(function(){function I(){if(p=!1,L0){var W=vx.unstable_now();T0=W;var O=!0;try{$:{x=!1,u&&(u=!1,a(j0),j0=-1),b=!0;var P=w;try{U:{z(W);for(y=Y(E);y!==null&&!(y.expirationTime>W&&L());){var S=y.callback;if(typeof S==="function"){y.callback=null,w=y.priorityLevel;var A=S(y.expirationTime<=W);if(W=vx.unstable_now(),typeof A==="function"){y.callback=A,z(W),O=!0;break U}y===Y(E)&&D(E),z(W)}else D(E);y=Y(E)}if(y!==null)O=!0;else{var V=Y(B);V!==null&&R(Z,V.startTime-W),O=!1}}break $}finally{y=null,w=P,b=!1}O=void 0}}finally{O?G():L0=!1}}}function J(W,O){var P=W.length;W.push(O);$:for(;0<P;){var S=P-1>>>1,A=W[S];if(0<X(A,O))W[S]=O,W[P]=A,P=S;else break $}}function Y(W){return W.length===0?null:W[0]}function D(W){if(W.length===0)return null;var O=W[0],P=W.pop();if(P!==O){W[0]=P;$:for(var S=0,A=W.length,V=A>>>1;S<V;){var T=2*(S+1)-1,g=W[T],v=T+1,h=W[v];if(0>X(g,P))v<A&&0>X(h,g)?(W[S]=h,W[v]=P,S=v):(W[S]=g,W[T]=P,S=T);else if(v<A&&0>X(h,P))W[S]=h,W[v]=P,S=v;else break $}}return O}function X(W,O){var P=W.sortIndex-O.sortIndex;return P!==0?P:W.id-O.id}function z(W){for(var O=Y(B);O!==null;){if(O.callback===null)D(B);else if(O.startTime<=W)D(B),O.sortIndex=O.expirationTime,J(E,O);else break;O=Y(B)}}function Z(W){if(u=!1,z(W),!x)if(Y(E)!==null)x=!0,L0||(L0=!0,G());else{var O=Y(B);O!==null&&R(Z,O.startTime-W)}}function L(){return p?!0:vx.unstable_now()-T0<t?!1:!0}function R(W,O){j0=d(function(){W(vx.unstable_now())},O)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),vx.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var j=performance;vx.unstable_now=function(){return j.now()}}else{var q=Date,C=q.now();vx.unstable_now=function(){return q.now()-C}}var E=[],B=[],N=1,y=null,w=3,b=!1,x=!1,u=!1,p=!1,d=typeof setTimeout==="function"?setTimeout:null,a=typeof clearTimeout==="function"?clearTimeout:null,O0=typeof setImmediate<"u"?setImmediate:null,L0=!1,j0=-1,t=5,T0=-1;if(typeof O0==="function")var G=function(){O0(I)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,H=K.port2;K.port1.onmessage=I,G=function(){H.postMessage(null)}}else G=function(){d(I,0)};vx.unstable_IdlePriority=5,vx.unstable_ImmediatePriority=1,vx.unstable_LowPriority=4,vx.unstable_NormalPriority=3,vx.unstable_Profiling=null,vx.unstable_UserBlockingPriority=2,vx.unstable_cancelCallback=function(W){W.callback=null},vx.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):t=0<W?Math.floor(1000/W):5},vx.unstable_getCurrentPriorityLevel=function(){return w},vx.unstable_next=function(W){switch(w){case 1:case 2:case 3:var O=3;break;default:O=w}var P=w;w=O;try{return W()}finally{w=P}},vx.unstable_requestPaint=function(){p=!0},vx.unstable_runWithPriority=function(W,O){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var P=w;w=W;try{return O()}finally{w=P}},vx.unstable_scheduleCallback=function(W,O,P){var S=vx.unstable_now();switch(typeof P==="object"&&P!==null?(P=P.delay,P=typeof P==="number"&&0<P?S+P:S):P=S,W){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=P+A,W={id:N++,callback:O,priorityLevel:W,startTime:P,expirationTime:A,sortIndex:-1},P>S?(W.sortIndex=P,J(B,W),Y(E)===null&&W===Y(B)&&(u?(a(j0),j0=-1):u=!0,R(Z,P-S))):(W.sortIndex=A,J(E,W),x||b||(x=!0,L0||(L0=!0,G()))),W},vx.unstable_shouldYield=L,vx.unstable_wrapCallback=function(W){var O=w;return function(){var P=w;w=O;try{return W.apply(this,arguments)}finally{w=P}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var qj=YI((Nx)=>{var x9=w4(lG());(function(){function I(){}function J(q){return""+q}function Y(q,C,E){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(B);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&&B[Symbol.toStringTag]||B.constructor.name||"Object"),J(B)),{$$typeof:R,key:B==null?null:""+B,children:q,containerInfo:C,implementation:E}}function D(q,C){if(q==="font")return"";if(typeof C==="string")return C==="use-credentials"?C:""}function X(q){return q===null?"`null`":q===void 0?"`undefined`":q===""?"an empty string":'something with type "'+typeof q+'"'}function z(q){return q===null?"`null`":q===void 0?"`undefined`":q===""?"an empty string":typeof q==="string"?JSON.stringify(q):typeof q==="number"?"`"+q+"`":'something with type "'+typeof q+'"'}function Z(){var q=j.H;return q===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.`),q}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},R=Symbol.for("react.portal"),j=x9.__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"),Nx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Nx.createPortal=function(q,C){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error("Target container is not a DOM element.");return Y(q,C,null,E)},Nx.flushSync=function(q){var C=j.T,E=L.p;try{if(j.T=null,L.p=2,q)return q()}finally{j.T=C,L.p=E,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.")}},Nx.preconnect=function(q,C){typeof q==="string"&&q?C!=null&&typeof C!=="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(C)):C!=null&&typeof C.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(C.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(q)),typeof q==="string"&&(C?(C=C.crossOrigin,C=typeof C==="string"?C==="use-credentials"?C:"":void 0):C=null,L.d.C(q,C))},Nx.prefetchDNS=function(q){if(typeof q!=="string"||!q)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(q));else if(1<arguments.length){var C=arguments[1];typeof C==="object"&&C.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(C)):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(C))}typeof q==="string"&&L.d.D(q)},Nx.preinit=function(q,C){if(typeof q==="string"&&q?C==null||typeof C!=="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(C)):C.as!=="style"&&C.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(C.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(q)),typeof q==="string"&&C&&typeof C.as==="string"){var E=C.as,B=D(E,C.crossOrigin),N=typeof C.integrity==="string"?C.integrity:void 0,y=typeof C.fetchPriority==="string"?C.fetchPriority:void 0;E==="style"?L.d.S(q,typeof C.precedence==="string"?C.precedence:void 0,{crossOrigin:B,integrity:N,fetchPriority:y}):E==="script"&&L.d.X(q,{crossOrigin:B,integrity:N,fetchPriority:y,nonce:typeof C.nonce==="string"?C.nonce:void 0})}},Nx.preinitModule=function(q,C){var E="";if(typeof q==="string"&&q||(E+=" The `href` argument encountered was "+X(q)+"."),C!==void 0&&typeof C!=="object"?E+=" The `options` argument encountered was "+X(C)+".":C&&("as"in C)&&C.as!=="script"&&(E+=" The `as` option encountered was "+z(C.as)+"."),E)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",E);else switch(E=C&&typeof C.as==="string"?C.as:"script",E){case"script":break;default:E=z(E),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)',E,q)}if(typeof q==="string")if(typeof C==="object"&&C!==null){if(C.as==null||C.as==="script")E=D(C.as,C.crossOrigin),L.d.M(q,{crossOrigin:E,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0})}else C==null&&L.d.M(q)},Nx.preload=function(q,C){var E="";if(typeof q==="string"&&q||(E+=" The `href` argument encountered was "+X(q)+"."),C==null||typeof C!=="object"?E+=" The `options` argument encountered was "+X(C)+".":typeof C.as==="string"&&C.as||(E+=" The `as` option encountered was "+X(C.as)+"."),E&&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',E),typeof q==="string"&&typeof C==="object"&&C!==null&&typeof C.as==="string"){E=C.as;var B=D(E,C.crossOrigin);L.d.L(q,E,{crossOrigin:B,integrity:typeof C.integrity==="string"?C.integrity:void 0,nonce:typeof C.nonce==="string"?C.nonce:void 0,type:typeof C.type==="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority==="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy==="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet==="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes==="string"?C.imageSizes:void 0,media:typeof C.media==="string"?C.media:void 0})}},Nx.preloadModule=function(q,C){var E="";typeof q==="string"&&q||(E+=" The `href` argument encountered was "+X(q)+"."),C!==void 0&&typeof C!=="object"?E+=" The `options` argument encountered was "+X(C)+".":C&&("as"in C)&&typeof C.as!=="string"&&(E+=" The `as` option encountered was "+X(C.as)+"."),E&&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',E),typeof q==="string"&&(C?(E=D(C.as,C.crossOrigin),L.d.m(q,{as:typeof C.as==="string"&&C.as!=="script"?C.as:void 0,crossOrigin:E,integrity:typeof C.integrity==="string"?C.integrity:void 0})):L.d.m(q))},Nx.requestFormReset=function(q){L.d.r(q)},Nx.unstable_batchedUpdates=function(q,C){return q(C)},Nx.useFormState=function(q,C,E){return Z().useFormState(q,C,E)},Nx.useFormStatus=function(){return Z().useHostTransitionStatus()},Nx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Rj=YI((gm,Sj)=>{var kx=w4(qj());Sj.exports=kx});var Bj=YI((xx)=>{var o$=w4(jj()),MQ=w4(lG()),g9=w4(Rj());(function(){function I($,U){for($=$.memoizedState;$!==null&&0<U;)$=$.next,U--;return $}function J($,U,Q,F){if(Q>=U.length)return F;var M=U[Q],_=Q6($)?$.slice():y$({},$);return _[M]=J($[M],U,Q+1,F),_}function Y($,U,Q){if(U.length!==Q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var F=0;F<Q.length-1;F++)if(U[F]!==Q[F]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return D($,U,Q,0)}}function D($,U,Q,F){var M=U[F],_=Q6($)?$.slice():y$({},$);return F+1===U.length?(_[Q[F]]=_[M],Q6(_)?_.splice(M,1):delete _[M]):_[M]=D($[M],U,Q,F+1),_}function X($,U,Q){var F=U[Q],M=Q6($)?$.slice():y$({},$);if(Q+1===U.length)return Q6(M)?M.splice(F,1):delete M[F],M;return M[F]=X($[F],U,Q+1),M}function z(){return!1}function Z(){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 R(){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 j(){}function q(){}function C($){var U=[];return $.forEach(function(Q){U.push(Q)}),U.sort().join(", ")}function E($,U,Q,F){return new zN($,U,Q,F)}function B($,U){$.context===xI&&(eW($.current,2,U,$,null,null),RJ())}function N($,U){if(j4!==null){var Q=U.staleFamilies;U=U.updatedFamilies,yY(),SA($.current,U,Q),RJ()}}function y($){j4=$}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 x($){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=$,F=U;;){var M=Q.return;if(M===null)break;var _=M.alternate;if(_===null){if(F=M.return,F!==null){Q=F;continue}break}if(M.child===_.child){for(_=M.child;_;){if(_===Q)return p(M),$;if(_===F)return p(M),U;_=_.sibling}throw Error("Unable to find node on an unmounted component.")}if(Q.return!==F.return)Q=M,F=_;else{for(var k=!1,f=M.child;f;){if(f===Q){k=!0,Q=M,F=_;break}if(f===F){k=!0,F=M,Q=_;break}f=f.sibling}if(!k){for(f=_.child;f;){if(f===Q){k=!0,Q=_,F=M;break}if(f===F){k=!0,F=_,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!==F)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 O0($){if($===null||typeof $!=="object")return null;return $=gP&&$[gP]||$["@@iterator"],typeof $==="function"?$:null}function L0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===N3?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case wJ:return"Fragment";case QK:return"Profiler";case oZ:return"StrictMode";case GK:return"Suspense";case ZK:return"SuspenseList";case VK: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 O1:return $.displayName||"Context";case YK:return($._context.displayName||"Context")+".Consumer";case oY:var U=$.render;return $=$.displayName,$||($=U.displayName||U.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case iZ:return U=$.displayName||null,U!==null?U:L0($.type)||"Memo";case Y4:U=$._payload,$=$._init;try{return L0($(U))}catch(Q){}}return null}function j0($){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===oZ?"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 T0($){return{current:$}}function G($,U){0>l1?console.error("Unexpected pop."):(U!==DK[l1]&&console.error("Unexpected Fiber popped."),$.current=zK[l1],zK[l1]=null,DK[l1]=null,l1--)}function K($,U,Q){l1++,zK[l1]=$.current,DK[l1]=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 W($,U){K(SI,U,$),K(iY,$,$),K(qI,null,$);var Q=U.nodeType;switch(Q){case 9:case 11:Q=Q===9?"#document":"#fragment",U=(U=U.documentElement)?(U=U.namespaceURI)?JP(U):XI:XI;break;default:if(Q=U.tagName,U=U.namespaceURI)U=JP(U),U=QP(U,Q);else switch(Q){case"svg":U=OQ;break;case"math":U=nV;break;default:U=XI}}Q=Q.toLowerCase(),Q=sM(null,Q),Q={context:U,ancestorInfo:Q},G(qI,$),K(qI,Q,$)}function O($){G(qI,$),G(iY,$),G(SI,$)}function P(){return H(qI.current)}function S($){$.memoizedState!==null&&K(rZ,$,$);var U=H(qI.current),Q=$.type,F=QP(U.context,Q);Q=sM(U.ancestorInfo,Q),F={context:F,ancestorInfo:Q},U!==F&&(K(iY,$,$),K(qI,F,$))}function A($){iY.current===$&&(G(qI,$),G(iY,$)),rZ.current===$&&(G(rZ,$),bG._currentValue=tX)}function V(){}function T(){if(rY===0){wP=console.log,fP=console.info,yP=console.warn,uP=console.error,bP=console.group,hP=console.groupCollapsed,cP=console.groupEnd;var $={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}rY++}function g(){if(rY--,rY===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y$({},$,{value:wP}),info:y$({},$,{value:fP}),warn:y$({},$,{value:yP}),error:y$({},$,{value:uP}),group:y$({},$,{value:bP}),groupCollapsed:y$({},$,{value:hP}),groupEnd:y$({},$,{value:cP})})}0>rY&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function v($){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(WK===void 0)try{throw Error()}catch(Q){var U=Q.stack.trim().match(/\n( *(at )?)/);WK=U&&U[1]||"",pP=-1<Q.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<Q.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+WK+$+pP}function r($,U){if(!$||KK)return"";var Q=FK.get($);if(Q!==void 0)return Q;KK=!0,Q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var F=null;F=y0.H,y0.H=null,T();try{var M={DetermineComponentFrameRoot:function(){try{if(U){var K0=function(){throw Error()};if(Object.defineProperty(K0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(K0,[])}catch(z$){var k0=z$}Reflect.construct($,[],K0)}else{try{K0.call()}catch(z$){k0=z$}$.call(K0.prototype)}}else{try{throw Error()}catch(z$){k0=z$}(K0=$())&&typeof K0.catch==="function"&&K0.catch(function(){})}}catch(z$){if(z$&&k0&&typeof z$.stack==="string")return[z$.stack,k0.stack]}return[null,null]}};M.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var _=Object.getOwnPropertyDescriptor(M.DetermineComponentFrameRoot,"name");_&&_.configurable&&Object.defineProperty(M.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=M.DetermineComponentFrameRoot(),f=k[0],m=k[1];if(f&&m){var o=f.split(`
|
|
23
|
+
`),P0=m.split(`
|
|
24
|
+
`);for(k=_=0;_<o.length&&!o[_].includes("DetermineComponentFrameRoot");)_++;for(;k<P0.length&&!P0[k].includes("DetermineComponentFrameRoot");)k++;if(_===o.length||k===P0.length)for(_=o.length-1,k=P0.length-1;1<=_&&0<=k&&o[_]!==P0[k];)k--;for(;1<=_&&0<=k;_--,k--)if(o[_]!==P0[k]){if(_!==1||k!==1)do if(_--,k--,0>k||o[_]!==P0[k]){var _0=`
|
|
25
|
+
`+o[_].replace(" at new "," at ");return $.displayName&&_0.includes("<anonymous>")&&(_0=_0.replace("<anonymous>",$.displayName)),typeof $==="function"&&FK.set($,_0),_0}while(1<=_&&0<=k);break}}}finally{KK=!1,y0.H=F,g(),Error.prepareStackTrace=Q}return o=(o=$?$.displayName||$.name:"")?h(o):"",typeof $==="function"&&FK.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 F=$._debugInfo;if(F)for(var M=F.length-1;0<=M;M--){var _=F[M];if(typeof _.name==="string"){var k=U;$:{var{name:f,env:m,debugLocation:o}=_;if(o!=null){var P0=v(o),_0=P0.lastIndexOf(`
|
|
26
|
+
`),K0=_0===-1?P0:P0.slice(_0+1);if(K0.indexOf(f)!==-1){var k0=`
|
|
27
|
+
`+K0;break $}}k0=h(f+(m?" ["+m+"]":""))}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?j0($):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 F=Q._debugStack;if($&&F){var M=v(F);M!==""&&(U+=`
|
|
30
|
+
`+M)}}else if($.debugStack!=null){var _=$.debugStack;($=$.owner)&&_&&(U+=`
|
|
31
|
+
`+v(_))}else break;var k=U}catch(f){k=`
|
|
32
|
+
Error generating stack: `+f.message+`
|
|
33
|
+
`+f.stack}return k}function J0($,U,Q,F,M,_,k){var f=G4;Z0($);try{return $!==null&&$._debugTask?$._debugTask.run(U.bind(null,Q,F,M,_,k)):U(Q,F,M,_,k)}finally{Z0(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Z0($){y0.getCurrentStack=$===null?null:e,H1=!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 W0($){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{yJ=U.inject($),T6=U}catch(Q){console.error("React instrumentation encountered an error: %o.",Q)}return U.checkDCE?!0:!1}function N0($){if(typeof u3==="function"&&b3($),T6&&typeof T6.setStrictMode==="function")try{T6.setStrictMode(yJ,$)}catch(U){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",U))}}function I0($){return $>>>=0,$===0?32:31-(h3($)/c3|0)|0}function D0($){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 F=$.pendingLanes;if(F===0)return 0;var M=0,_=$.suspendedLanes,k=$.pingedLanes;$=$.warmLanes;var f=F&134217727;return f!==0?(F=f&~_,F!==0?M=D0(F):(k&=f,k!==0?M=D0(k):Q||(Q=f&~$,Q!==0&&(M=D0(Q))))):(f=F&~_,f!==0?M=D0(f):k!==0?M=D0(k):Q||(Q=F&~$,Q!==0&&(M=D0(Q)))),M===0?0:U!==0&&U!==M&&(U&_)===0&&(_=M&-M,Q=U&-U,_>=Q||_===32&&(Q&4194048)!==0)?U:M}function M0($,U){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&U)===0}function B0($,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 $=sZ;return sZ<<=1,(sZ&62914560)===0&&(sZ=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,F,M,_){var k=$.pendingLanes;$.pendingLanes=Q,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=Q,$.entangledLanes&=Q,$.errorRecoveryDisabledLanes&=Q,$.shellSuspendCounter=0;var{entanglements:f,expirationTimes:m,hiddenUpdates:o}=$;for(Q=k&~Q;0<Q;){var P0=31-j6(Q),_0=1<<P0;f[P0]=0,m[P0]=-1;var K0=o[P0];if(K0!==null)for(o[P0]=null,P0=0;P0<K0.length;P0++){var k0=K0[P0];k0!==null&&(k0.lane&=-536870913)}Q&=~_0}F!==0&&b0($,F,0),_!==0&&M===0&&$.tag!==0&&($.suspendedLanes|=_&~(k&~U))}function b0($,U,Q){$.pendingLanes|=U,$.suspendedLanes&=~U;var F=31-j6(U);$.entangledLanes|=U,$.entanglements[F]=$.entanglements[F]|1073741824|Q&261930}function h0($,U){var Q=$.entangledLanes|=U;for($=$.entanglements;Q;){var F=31-j6(Q),M=1<<F;M&U|$[F]&U&&($[F]|=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(M1)for($=$.pendingUpdatersLaneMap;0<Q;){var F=31-j6(Q),M=1<<F;$[F].add(U),Q&=~M}}function PU($,U){if(M1)for(var{pendingUpdatersLaneMap:Q,memoizedUpdaters:F}=$;0<U;){var M=31-j6(U);$=1<<M,M=Q[M],0<M.size&&(M.forEach(function(_){var k=_.alternate;k!==null&&F.has(k)||F.add(_)}),M.clear()),U&=~$}}function l($){return $&=-$,Z4!==0&&Z4<$?l4!==0&&l4<$?($&134217727)!==0?A1:eZ:l4:Z4}function X0(){var $=s$.p;if($!==0)return $;return $=window.event,$===void 0?A1:SP($.type)}function s0($,U){var Q=s$.p;try{return s$.p=$,U()}finally{s$.p=Q}}function S0($){delete $[L6],delete $[q6],delete $[AK],delete $[p3],delete $[l3]}function v0($){var U=$[L6];if(U)return U;for(var Q=$.parentNode;Q;){if(U=Q[BI]||Q[L6]){if(Q=U.alternate,U.child!==null||Q!==null&&Q.child!==null)for($=KP($);$!==null;){if(Q=$[L6])return Q;$=KP($)}return U}$=Q,Q=$.parentNode}return null}function O$($){if($=$[L6]||$[BI]){var U=$.tag;if(U===5||U===6||U===13||U===31||U===26||U===27||U===3)return $}return null}function x0($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function f0($){var U=$[lP];return U||(U=$[lP]={hoistableStyles:new Map,hoistableScripts:new Map}),U}function W$($){$[tY]=!0}function n0($,U){i0($,U),i0($+"Capture",U)}function i0($,U){RX[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),RX[$]=U;var Q=$.toLowerCase();CK[Q]=$,$==="onDoubleClick"&&(CK.ondblclick=$);for($=0;$<U.length;$++)mP.add(U[$])}function DU($,U){m3[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(p4.call(nP,$))return!0;if(p4.call(dP,$))return!1;if(d3.test($))return nP[$]=!0;return dP[$]=!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 F=U.toLowerCase().slice(0,5);if(F!=="data-"&&F!=="aria-"){$.removeAttribute(U);return}}n(Q,U),$.setAttribute(U,""+Q)}}function E0($,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 q0($,U,Q,F){if(F===null)$.removeAttribute(Q);else{switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Q);return}n(F,Q),$.setAttributeNS(U,Q,""+F)}}function V$($){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 F=Object.getOwnPropertyDescriptor($.constructor.prototype,U);if(!$.hasOwnProperty(U)&&typeof F<"u"&&typeof F.get==="function"&&typeof F.set==="function"){var{get:M,set:_}=F;return Object.defineProperty($,U,{configurable:!0,get:function(){return M.call(this)},set:function(k){Y0(k),Q=""+k,_.call(this,k)}}),Object.defineProperty($,U,{enumerable:F.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(),F="";return $&&(F=d0($)?$.checked?"true":"false":$.value),$=F,$!==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(n3,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function X$($,U){U.checked===void 0||U.defaultChecked===void 0||iP||(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),iP=!0),U.value===void 0||U.defaultValue===void 0||oP||(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),oP=!0)}function e0($,U,Q,F,M,_,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=""+V$(U)}else $.value!==""+V$(U)&&($.value=""+V$(U));else k!=="submit"&&k!=="reset"||$.removeAttribute("value");U!=null?R$($,k,V$(U)):Q!=null?R$($,k,V$(Q)):F!=null&&$.removeAttribute("value"),M==null&&_!=null&&($.defaultChecked=!!_),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=""+V$(f)):$.removeAttribute("name")}function _U($,U,Q,F,M,_,k,f){if(_!=null&&typeof _!=="function"&&typeof _!=="symbol"&&typeof _!=="boolean"&&(n(_,"type"),$.type=_),U!=null||Q!=null){if(!(_!=="submit"&&_!=="reset"||U!==void 0&&U!==null)){HU($);return}Q=Q!=null?""+V$(Q):"",U=U!=null?""+V$(U):Q,f||U===$.value||($.value=U),$.defaultValue=U}F=F!=null?F:M,F=typeof F!=="function"&&typeof F!=="symbol"&&!!F,$.checked=f?$.checked:!!F,$.defaultChecked=!!F,k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&(n(k,"name"),$.name=k),HU($)}function R$($,U,Q){U==="number"&&$$($.ownerDocument)===$||$.defaultValue===""+Q||($.defaultValue=""+Q)}function q$($,U){U.value==null&&(typeof U.children==="object"&&U.children!==null?MQ.Children.forEach(U.children,function(Q){Q==null||typeof Q==="string"||typeof Q==="number"||typeof Q==="bigint"||tP||(tP=!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||aP||(aP=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),U.selected==null||rP||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),rP=!0)}function $U(){var $=s();return $?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+$+"`.":""}function d$($,U,Q,F){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&&F&&($[Q].defaultSelected=!0)}else{Q=""+V$(Q),U=null;for(M=0;M<$.length;M++){if($[M].value===Q){$[M].selected=!0,F&&($[M].defaultSelected=!0);return}U!==null||$[M].disabled||(U=$[M])}U!==null&&(U.selected=!0)}}function uU($,U){for($=0;$<eP.length;$++){var Q=eP[$];if(U[Q]!=null){var F=Q6(U[Q]);U.multiple&&!F?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,$U()):!U.multiple&&F&&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||sP||(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"),sP=!0)}function bU($,U){U.value===void 0||U.defaultValue===void 0||$_||(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"),$_=!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=""+V$(U),U!==$.value&&($.value=U),Q==null)){$.defaultValue!==U&&($.defaultValue=U);return}$.defaultValue=Q!=null?""+V$(Q):""}function cU($,U,Q,F){if(U==null){if(F!=null){if(Q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Q6(F)){if(1<F.length)throw Error("<textarea> can only have at most one child.");F=F[0]}Q=F}Q==null&&(Q=""),U=Q}Q=V$(U),$.defaultValue=Q,F=$.textContent,F===Q&&F!==""&&F!==null&&($.value=F),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 WU($){return"- "+" ".repeat($)}function lU($){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 EU($,U){return U_.test($)?($=JSON.stringify($),$.length>U-2?8>U?'{"..."}':"{"+$.slice(0,U-7)+'..."}':"{"+$+"}"):$.length>U?5>U?'{"..."}':$.slice(0,U-3)+"...":$}function vU($,U,Q){var F=120-2*Q;if(U===null)return LU(Q)+EU($,F)+`
|
|
36
|
+
`;if(typeof U==="string"){for(var M=0;M<U.length&&M<$.length&&U.charCodeAt(M)===$.charCodeAt(M);M++);return M>F-8&&10<M&&($="..."+$.slice(M-8),U="..."+U.slice(M-8)),LU(Q)+EU($,F)+`
|
|
37
|
+
`+WU(Q)+EU(U,F)+`
|
|
38
|
+
`}return r$(Q)+EU($,F)+`
|
|
39
|
+
`}function xU($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(U,Q){return Q})}function jU($,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===F1)return(U=L0($.type))?"<"+U+">":"<...>";var Q=xU($);if(Q==="Object"){Q="",U-=2;for(var F in $)if($.hasOwnProperty(F)){var M=JSON.stringify(F);if(M!=='"'+F+'"'&&(F=M),U-=F.length-2,M=jU($[F],15>U?U:15),U-=M.length,0>U){Q+=Q===""?"...":", ...";break}Q+=(Q===""?"":",")+F+":"+M}return"{"+Q+"}"}return Q;case"function":return(U=$.displayName||$.name)?"function "+U:"function";default:return String($)}}function MU($,U){return typeof $!=="string"||U_.test($)?"{"+jU($,U-2)+"}":$.length>U-2?5>U?'"..."':'"'+$.slice(0,U-5)+'..."':'"'+$+'"'}function KX($,U,Q){var F=120-Q.length-$.length,M=[],_;for(_ in U)if(U.hasOwnProperty(_)&&_!=="children"){var k=MU(U[_],120-Q.length-_.length-1);F-=_.length+k.length+2,M.push(_+"="+k)}return M.length===0?Q+"<"+$+`>
|
|
40
|
+
`:0<F?Q+"<"+$+" "+M.join(" ")+`>
|
|
41
|
+
`:Q+"<"+$+`
|
|
42
|
+
`+Q+" "+M.join(`
|
|
43
|
+
`+Q+" ")+`
|
|
44
|
+
`+Q+`>
|
|
45
|
+
`}function WY($,U,Q){var F="",M=y$({},U),_;for(_ in $)if($.hasOwnProperty(_)){delete M[_];var k=120-2*Q-_.length-2,f=jU($[_],k);U.hasOwnProperty(_)?(k=jU(U[_],k),F+=LU(Q)+_+": "+f+`
|
|
46
|
+
`,F+=WU(Q)+_+": "+k+`
|
|
47
|
+
`):F+=LU(Q)+_+": "+f+`
|
|
48
|
+
`}for(var m in M)M.hasOwnProperty(m)&&($=jU(M[m],120-2*Q-m.length-2),F+=WU(Q)+m+": "+$+`
|
|
49
|
+
`);return F}function KY($,U,Q,F){var M="",_=new Map;for(o in Q)Q.hasOwnProperty(o)&&_.set(o.toLowerCase(),o);if(_.size===1&&_.has("children"))M+=KX($,U,r$(F));else{for(var k in U)if(U.hasOwnProperty(k)&&k!=="children"){var f=120-2*(F+1)-k.length-1,m=_.get(k.toLowerCase());if(m!==void 0){_.delete(k.toLowerCase());var o=U[k];m=Q[m];var P0=MU(o,f);f=MU(m,f),typeof o==="object"&&o!==null&&typeof m==="object"&&m!==null&&xU(o)==="Object"&&xU(m)==="Object"&&(2<Object.keys(o).length||2<Object.keys(m).length||-1<P0.indexOf("...")||-1<f.indexOf("..."))?M+=r$(F+1)+k+`={{
|
|
50
|
+
`+WY(o,m,F+2)+r$(F+1)+`}}
|
|
51
|
+
`:(M+=LU(F+1)+k+"="+P0+`
|
|
52
|
+
`,M+=WU(F+1)+k+"="+f+`
|
|
53
|
+
`)}else M+=r$(F+1)+k+"="+MU(U[k],f)+`
|
|
54
|
+
`}_.forEach(function(_0){if(_0!=="children"){var K0=120-2*(F+1)-_0.length-1;M+=WU(F+1)+_0+"="+MU(Q[_0],K0)+`
|
|
55
|
+
`}}),M=M===""?r$(F)+"<"+$+`>
|
|
56
|
+
`:r$(F)+"<"+$+`
|
|
57
|
+
`+M+r$(F)+`>
|
|
58
|
+
`}if($=Q.children,U=U.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(_="",typeof U==="string"||typeof U==="number"||typeof U==="bigint")_=""+U;M+=vU(_,""+$,F+1)}else if(typeof U==="string"||typeof U==="number"||typeof U==="bigint")M=$==null?M+vU(""+U,null,F+1):M+vU(""+U,void 0,F+1);return M}function tM($,U){var Q=lU($);if(Q===null){Q="";for($=$.child;$;)Q+=tM($,U),$=$.sibling;return Q}return r$(U)+"<"+Q+`>
|
|
59
|
+
`}function QD($,U){var Q=pU($,U);if(Q!==$&&($.children.length!==1||$.children[0]!==Q))return r$(U)+`...
|
|
60
|
+
`+QD(Q,U+1);Q="";var F=$.fiber._debugInfo;if(F)for(var M=0;M<F.length;M++){var _=F[M].name;typeof _==="string"&&(Q+=r$(U)+"<"+_+`>
|
|
61
|
+
`,U++)}if(F="",M=$.fiber.pendingProps,$.fiber.tag===6)F=vU(M,$.serverProps,U),U++;else if(_=lU($.fiber),_!==null)if($.serverProps===void 0){F=U;var k=120-2*F-_.length-2,f="";for(o in M)if(M.hasOwnProperty(o)&&o!=="children"){var m=MU(M[o],15);if(k-=o.length+m.length+2,0>k){f+=" ...";break}f+=" "+o+"="+m}F=r$(F)+"<"+_+f+`>
|
|
62
|
+
`,U++}else $.serverProps===null?(F=KX(_,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."):(F=KY(_,M,$.serverProps,U),U++);var o="";M=$.fiber.child;for(_=0;M&&_<$.children.length;)k=$.children[_],k.fiber===M?(o+=QD(k,U),_++):o+=tM(M,U),M=M.sibling;M&&0<$.children.length&&(o+=r$(U)+`...
|
|
63
|
+
`),M=$.serverTail,$.serverProps===null&&U--;for($=0;$<M.length;$++)_=M[$],o=typeof _==="string"?o+(WU(U)+EU(_,120-2*U)+`
|
|
64
|
+
`):o+KX(_.type,_.props,WU(U));return Q+F+o}function YD($){try{return`
|
|
65
|
+
|
|
66
|
+
`+QD($,0)}catch(U){return""}}function aM($,U,Q){for(var F=U,M=null,_=0;F;)F===$&&(_=0),M={fiber:F,children:M!==null?[M]:[],serverProps:F===U?Q:F===$?null:void 0,serverTail:[],distanceFromLeaf:_},_++,F=F.return;return M!==null?YD(M).replaceAll(/^[+-]/gm,">"):""}function sM($,U){var Q=y$({},$||X_),F={tag:U};if(I_.indexOf(U)!==-1&&(Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null),i3.indexOf(U)!==-1&&(Q.pTagInButtonScope=null),o3.indexOf(U)!==-1&&U!=="address"&&U!=="div"&&U!=="p"&&(Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null),Q.current=F,U==="form"&&(Q.formTag=F),U==="a"&&(Q.aTagInScope=F),U==="button"&&(Q.buttonTagInScope=F),U==="nobr"&&(Q.nobrTagInScope=F),U==="p"&&(Q.pTagInButtonScope=F),U==="li"&&(Q.listItemTagAutoclosing=F),U==="dd"||U==="dt")Q.dlItemTagAutoclosing=F;return U==="#document"||U==="html"?Q.containerTagInScope=null:Q.containerTagInScope||(Q.containerTagInScope=F),$!==null||U!=="#document"&&U!=="html"&&U!=="body"?Q.implicitRootScope===!0&&(Q.implicitRootScope=!1):Q.implicitRootScope=!0,Q}function eM($,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 r3.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 mv($,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 $A($,U){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===U)return $}$=$.return}return null}function GD($,U){U=U||X_;var Q=U.current;if(U=(Q=eM($,Q&&Q.tag,U.implicitRootScope)?null:Q)?null:mv($,U),U=Q||U,!U)return!0;var F=U.tag;if(U=String(!!Q)+"|"+$+"|"+F,$V[U])return!1;$V[U]=!0;var M=(U=G4)?$A(U.return,F):null,_=U!==null&&M!==null?aM(M,U,null):"",k="<"+$+">";return Q?(Q="",F==="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,F,Q,_)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,k,F,_),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.`,F,k)})),!1}function l2($,U,Q){if(Q||eM("#text",U,!1))return!0;if(Q="#text|"+U,$V[Q])return!1;$V[Q]=!0;var F=(Q=G4)?$A(Q,U):null;return Q=Q!==null&&F!==null?aM(F,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 FY($,U){if(U){var Q=$.firstChild;if(Q&&Q===$.lastChild&&Q.nodeType===3){Q.nodeValue=U;return}}$.textContent=U}function dv($){return $.replace(s3,function(U,Q){return Q.toUpperCase()})}function UA($,U,Q){var F=U.indexOf("--")===0;F||(-1<U.indexOf("-")?uJ.hasOwnProperty(U)&&uJ[U]||(uJ[U]=!0,console.error("Unsupported style property %s. Did you mean %s?",U,dv(U.replace(a3,"ms-")))):t3.test(U)?uJ.hasOwnProperty(U)&&uJ[U]||(uJ[U]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",U,U.charAt(0).toUpperCase()+U.slice(1))):!Y_.test(Q)||PK.hasOwnProperty(Q)&&PK[Q]||(PK[Q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,U,Q.replace(Y_,""))),typeof Q==="number"&&(isNaN(Q)?G_||(G_=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",U)):isFinite(Q)||Z_||(Z_=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",U)))),Q==null||typeof Q==="boolean"||Q===""?F?$.setProperty(U,""):U==="float"?$.cssFloat="":$[U]="":F?$.setProperty(U,Q):typeof Q!=="number"||Q===0||V_.has(U)?U==="float"?$.cssFloat=Q:(H0(Q,U),$[U]=(""+Q).trim()):$[U]=Q+"px"}function IA($,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 F={};if(Q){for(var M in Q)if(Q.hasOwnProperty(M)&&!U.hasOwnProperty(M))for(var _=TK[M]||[M],k=0;k<_.length;k++)F[_[k]]=M}for(var f in U)if(U.hasOwnProperty(f)&&(!Q||Q[f]!==U[f]))for(M=TK[f]||[f],_=0;_<M.length;_++)F[M[_]]=f;f={};for(var m in U)for(M=TK[m]||[m],_=0;_<M.length;_++)f[M[_]]=m;m={};for(var o in F)if(M=F[o],(_=f[o])&&M!==_&&(k=M+","+_,!m[k])){m[k]=!0,k=console;var P0=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.",P0==null||typeof P0==="boolean"||P0===""?"Removing":"Updating",M,_)}}for(var _0 in Q)!Q.hasOwnProperty(_0)||U!=null&&U.hasOwnProperty(_0)||(_0.indexOf("--")===0?$.setProperty(_0,""):_0==="float"?$.cssFloat="":$[_0]="");for(var K0 in U)o=U[K0],U.hasOwnProperty(K0)&&Q[K0]!==o&&UA($,K0,o)}else for(F in U)U.hasOwnProperty(F)&&UA($,F,U[F])}function OY($){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 XA($){return e3.get($)||$}function nv($,U){if(p4.call(hJ,U)&&hJ[U])return!0;if(Uk.test(U)){if($="aria-"+U.slice(4).toLowerCase(),$=z_.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",U),hJ[U]=!0;if(U!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",U,$),hJ[U]=!0}if($k.test(U)){if($=U.toLowerCase(),$=z_.hasOwnProperty($)?$:null,$==null)return hJ[U]=!0,!1;U!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",U,$),hJ[U]=!0)}return!0}function ov($,U){var Q=[],F;for(F in U)nv($,F)||Q.push(F);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 iv($,U,Q,F){if(p4.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(F!=null){if($=F.possibleRegistrationNames,F.registrationNameDependencies.hasOwnProperty(U))return!0;if(F=$.hasOwnProperty(M)?$[M]:null,F!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",U,F),S6[U]=!0;if(W_.test(U))return console.error("Unknown event handler property `%s`. It will be ignored.",U),S6[U]=!0}else if(W_.test(U))return Ik.test(U)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",U),S6[U]=!0;if(Xk.test(U)||Jk.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(IV.hasOwnProperty(M)){if(M=IV[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 rv($,U,Q){var F=[],M;for(M in U)iv($,M,U[M],Q)||F.push(M);U=F.map(function(_){return"`"+_+"`"}).join(", "),F.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<F.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 HY($){return Qk.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function w1(){}function ZD($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function JA($){var U=O$($);if(U&&($=U.stateNode)){var Q=$[q6]||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 F=Q[U];if(F!==$&&F.form===$.form){var M=F[q6]||null;if(!M)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");e0(F,M.value,M.defaultValue,M.defaultValue,M.checked,M.defaultChecked,M.type,M.name)}}for(U=0;U<Q.length;U++)F=Q[U],F.form===$.form&&I$(F)}break $;case"textarea":hU($,Q.value,Q.defaultValue);break $;case"select":U=Q.value,U!=null&&d$($,!!Q.multiple,U,!1)}}}function QA($,U,Q){if(_K)return $(U,Q);_K=!0;try{var F=$(U);return F}finally{if(_K=!1,cJ!==null||pJ!==null){if(RJ(),cJ&&(U=cJ,$=pJ,pJ=cJ=null,JA(U),$))for(U=0;U<$.length;U++)JA($[U])}}}function LY($,U){var Q=$.stateNode;if(Q===null)return null;var F=Q[q6]||null;if(F===null)return null;Q=F[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":(F=!F.disabled)||($=$.type,F=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!F;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 YA(){if(XV)return XV;var $,U=jK,Q=U.length,F,M="value"in vI?vI.value:vI.textContent,_=M.length;for($=0;$<Q&&U[$]===M[$];$++);var k=Q-$;for(F=1;F<=k&&U[Q-F]===M[_-F];F++);return XV=M.slice($,1<F?1-F:void 0)}function m2($){var U=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&U===13&&($=13)):$=U,$===10&&($=13),32<=$||$===13?$:0}function d2(){return!0}function GA(){return!1}function c6($){function U(Q,F,M,_,k){this._reactName=Q,this._targetInst=M,this.type=F,this.nativeEvent=_,this.target=k,this.currentTarget=null;for(var f in $)$.hasOwnProperty(f)&&(Q=$[f],this[f]=Q?Q(_):_[f]);return this.isDefaultPrevented=(_.defaultPrevented!=null?_.defaultPrevented:_.returnValue===!1)?d2:GA,this.isPropagationStopped=GA,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 tv($){var U=this.nativeEvent;return U.getModifierState?U.getModifierState($):($=Mk[$])?!!U[$]:!1}function VD(){return tv}function ZA($,U){switch($){case"keyup":return vk.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==H_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function VA($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function av($,U){switch($){case"compositionend":return VA(U);case"keypress":if(U.which!==M_)return null;return C_=!0,A_;case"textInput":return $=U.data,$===A_&&C_?null:$;default:return null}}function sv($,U){if(lJ)return $==="compositionend"||!BK&&ZA($,U)?($=YA(),XV=jK=vI=null,lJ=!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 L_&&U.locale!=="ko"?null:U.data;default:return null}}function zA($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U==="input"?!!kk[$.type]:U==="textarea"?!0:!1}function ev($){if(!C1)return!1;$="on"+$;var U=$ in document;return U||(U=document.createElement("div"),U.setAttribute($,"return;"),U=typeof U[$]==="function"),U}function DA($,U,Q,F){cJ?pJ?pJ.push(F):pJ=[F]:cJ=F,U=yZ(U,"onChange"),0<U.length&&(Q=new JV("onChange","change",null,Q,F),$.push({event:Q,listeners:U}))}function $N($){oT($,0)}function n2($){var U=x0($);if(I$(U))return $}function WA($,U){if($==="change")return U}function KA(){IG&&(IG.detachEvent("onpropertychange",FA),XG=IG=null)}function FA($){if($.propertyName==="value"&&n2(XG)){var U=[];DA(U,XG,$,ZD($)),QA($N,U)}}function UN($,U,Q){$==="focusin"?(KA(),IG=U,XG=Q,IG.attachEvent("onpropertychange",FA)):$==="focusout"&&KA()}function IN($){if($==="selectionchange"||$==="keyup"||$==="keydown")return n2(XG)}function XN($,U){if($==="click")return n2(U)}function JN($,U){if($==="input"||$==="change")return n2(U)}function QN($,U){return $===U&&($!==0||1/$===1/U)||$!==$&&U!==U}function MY($,U){if(R6($,U))return!0;if(typeof $!=="object"||$===null||typeof U!=="object"||U===null)return!1;var Q=Object.keys($),F=Object.keys(U);if(Q.length!==F.length)return!1;for(F=0;F<Q.length;F++){var M=Q[F];if(!p4.call(U,M)||!R6($[M],U[M]))return!1}return!0}function OA($){for(;$&&$.firstChild;)$=$.firstChild;return $}function HA($,U){var Q=OA($);$=0;for(var F;Q;){if(Q.nodeType===3){if(F=$+Q.textContent.length,$<=U&&F>=U)return{node:Q,offset:U-$};$=F}$:{for(;Q;){if(Q.nextSibling){Q=Q.nextSibling;break $}Q=Q.parentNode}Q=void 0}Q=OA(Q)}}function LA($,U){return $&&U?$===U?!0:$&&$.nodeType===3?!1:U&&U.nodeType===3?LA($,U.parentNode):("contains"in $)?$.contains(U):$.compareDocumentPosition?!!($.compareDocumentPosition(U)&16):!1:!1}function MA($){$=$!=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(F){Q=!1}if(Q)$=U.contentWindow;else break;U=$$($.document)}return U}function zD($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U&&(U==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||U==="textarea"||$.contentEditable==="true")}function AA($,U,Q){var F=Q.window===Q?Q.document:Q.nodeType===9?Q:Q.ownerDocument;NK||mJ==null||mJ!==$$(F)||(F=mJ,("selectionStart"in F)&&zD(F)?F={start:F.selectionStart,end:F.selectionEnd}:(F=(F.ownerDocument&&F.ownerDocument.defaultView||window).getSelection(),F={anchorNode:F.anchorNode,anchorOffset:F.anchorOffset,focusNode:F.focusNode,focusOffset:F.focusOffset}),JG&&MY(JG,F)||(JG=F,F=yZ(vK,"onSelect"),0<F.length&&(U=new JV("onSelect","select",null,U,Q),$.push({event:U,listeners:F}),U.target=mJ)))}function FX($,U){var Q={};return Q[$.toLowerCase()]=U.toLowerCase(),Q["Webkit"+$]="webkit"+U,Q["Moz"+$]="moz"+U,Q}function OX($){if(kK[$])return kK[$];if(!dJ[$])return $;var U=dJ[$],Q;for(Q in U)if(U.hasOwnProperty(Q)&&Q in P_)return kK[$]=U[Q];return $}function b4($,U){S_.set($,U),n0(U,[$])}function YN($){for(var U=YV,Q=0;Q<$.length;Q++){var F=$[Q];if(typeof F==="object"&&F!==null)if(Q6(F)&&F.length===2&&typeof F[0]==="string"){if(U!==YV&&U!==yK)return wK;U=yK}else return wK;else{if(typeof F==="function"||typeof F==="string"&&50<F.length||U!==YV&&U!==fK)return wK;U=fK}}return U}function DD($,U,Q,F){for(var M in $)p4.call($,M)&&M[0]!=="_"&&s4(M,$[M],U,Q,F)}function s4($,U,Q,F,M){switch(typeof U){case"object":if(U===null){U="null";break}else{if(U.$$typeof===F1){var _=L0(U.type)||"…",k=U.key;U=U.props;var f=Object.keys(U),m=f.length;if(k==null&&m===0){U="<"+_+" />";break}if(3>F||m===1&&f[0]==="children"&&k==null){U="<"+_+" … />";break}Q.push([M+" ".repeat(F)+$,"<"+_]),k!==null&&s4("key",k,Q,F+1,M),$=!1;for(var o in U)o==="children"?U.children!=null&&(!Q6(U.children)||0<U.children.length)&&($=!0):p4.call(U,o)&&o[0]!=="_"&&s4(o,U[o],Q,F+1,M);Q.push(["",$?">…</"+_+">":"/>"]);return}if(_=Object.prototype.toString.call(U),_=_.slice(8,_.length-1),_==="Array"){if(o=YN(U),o===fK||o===YV){U=JSON.stringify(U);break}else if(o===yK){Q.push([M+" ".repeat(F)+$,""]);for($=0;$<U.length;$++)_=U[$],s4(_[0],_[1],Q,F+1,M);return}}if(_==="Promise"){if(U.status==="fulfilled"){if(_=Q.length,s4($,U.value,Q,F,M),Q.length>_){Q=Q[_],Q[1]="Promise<"+(Q[1]||"Object")+">";return}}else if(U.status==="rejected"&&(_=Q.length,s4($,U.reason,Q,F,M),Q.length>_)){Q=Q[_],Q[1]="Rejected Promise<"+Q[1]+">";return}Q.push([" ".repeat(F)+$,"Promise"]);return}_==="Object"&&(o=Object.getPrototypeOf(U))&&typeof o.constructor==="function"&&(_=o.constructor.name),Q.push([M+" ".repeat(F)+$,_==="Object"?3>F?"":"…":_]),3>F&&DD(U,Q,F+1,M);return}case"function":U=U.name===""?"() => {}":U.name+"() {}";break;case"string":U=U===bk?"…":JSON.stringify(U);break;case"undefined":U="undefined";break;case"boolean":U=U?"true":"false";break;default:U=String(U)}Q.push([M+" ".repeat(F)+$,U])}function CA($,U,Q,F){var M=!0;for(k in $)k in U||(Q.push([GV+" ".repeat(F)+k,"…"]),M=!1);for(var _ in U)if(_ in $){var k=$[_],f=U[_];if(k!==f){if(F===0&&_==="children")M=" ".repeat(F)+_,Q.push([GV+M,"…"],[ZV+M,"…"]);else{if(!(3<=F)){if(typeof k==="object"&&typeof f==="object"&&k!==null&&f!==null&&k.$$typeof===f.$$typeof)if(f.$$typeof===F1){if(k.type===f.type&&k.key===f.key){k=L0(f.type)||"…",M=" ".repeat(F)+_,k="<"+k+" … />",Q.push([GV+M,k],[ZV+M,k]),M=!1;continue}}else{var m=Object.prototype.toString.call(k),o=Object.prototype.toString.call(f);if(m===o&&(o==="[object Object]"||o==="[object Array]")){m=[v_+" ".repeat(F)+_,o==="[object Array]"?"Array":""],Q.push(m),o=Q.length,CA(k,f,Q,F+1)?o===Q.length&&(m[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&&(m=Function.prototype.toString.call(k),o=Function.prototype.toString.call(f),m===o)){k=f.name===""?"() => {}":f.name+"() {}",Q.push([v_+" ".repeat(F)+_,k+" Referentially unequal function closure. Consider memoization."]);continue}}s4(_,k,Q,F,GV),s4(_,f,Q,F,ZV)}M=!1}}else Q.push([ZV+" ".repeat(F)+_,"…"]),M=!1;return M}function e6($){b$=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function e4($,U,Q,F){AU&&(kI.start=U,kI.end=Q,m1.color="warning",m1.tooltipText=F,m1.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,F,kI)):performance.measure(F,kI))}function o2($,U,Q){e4($,U,Q,"Reconnect")}function i2($,U,Q,F,M){var _=t($);if(_!==null&&AU){var{alternate:k,actualDuration:f}=$;if(k===null||k.child!==$.child)for(var m=$.child;m!==null;m=m.sibling)f-=m.actualDuration;F=0.5>f?F?"tertiary-light":"primary-light":10>f?F?"tertiary":"primary":100>f?F?"tertiary-dark":"primary-dark":"error";var o=$.memoizedProps;f=$._debugTask,o!==null&&k!==null&&k.memoizedProps!==o?(m=[hk],o=CA(k.memoizedProps,o,m,0),1<m.length&&(o&&!NI&&(k.lanes&M)===0&&100<$.actualDuration?(NI=!0,m[0]=ck,m1.color="warning",m1.tooltipText=N_):(m1.color=F,m1.tooltipText=_),m1.properties=m,kI.start=U,kI.end=Q,f!=null?f.run(performance.measure.bind(performance,""+_,kI)):performance.measure(""+_,kI))):f!=null?f.run(console.timeStamp.bind(console,_,U,Q,_4,void 0,F)):console.timeStamp(_,U,Q,_4,void 0,F)}}function WD($,U,Q,F){if(AU){var M=t($);if(M!==null){for(var _=null,k=[],f=0;f<F.length;f++){var m=F[f];_==null&&m.source!==null&&(_=m.source._debugTask),m=m.value,k.push(["Error",typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m)])}$.key!==null&&s4("key",$.key,k,0,""),$.memoizedProps!==null&&DD($.memoizedProps,k,0,""),_==null&&(_=$._debugTask),$={start:U,end:Q,detail:{devtools:{color:"error",track:_4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:k}}},_?_.run(performance.measure.bind(performance,""+M,$)):performance.measure(""+M,$)}}}function $1($,U,Q,F,M){if(M!==null){if(AU){var _=t($);if(_!==null){F=[];for(var k=0;k<M.length;k++){var f=M[k].value;F.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$.key!==null&&s4("key",$.key,F,0,""),$.memoizedProps!==null&&DD($.memoizedProps,F,0,""),U={start:U,end:Q,detail:{devtools:{color:"error",track:_4,tooltipText:"A lifecycle or effect errored",properties:F}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+_,U)):performance.measure(""+_,U)}}}else _=t($),_!==null&&AU&&(M=1>F?"secondary-light":100>F?"secondary":500>F?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,_,U,Q,_4,void 0,M)):console.timeStamp(_,U,Q,_4,void 0,M))}function GN($,U,Q,F){if(AU&&!(U<=$)){var M=(Q&738197653)===Q?"tertiary-dark":"primary-dark";Q=(Q&536870912)===Q?"Prepared":(Q&201326741)===Q?"Hydrated":"Render",F?F.run(console.timeStamp.bind(console,Q,$,U,b$,u$,M)):console.timeStamp(Q,$,U,b$,u$,M)}}function TA($,U,Q,F){!AU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",F?F.run(console.timeStamp.bind(console,"Prewarm",$,U,b$,u$,Q)):console.timeStamp("Prewarm",$,U,b$,u$,Q))}function PA($,U,Q,F){!AU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",F?F.run(console.timeStamp.bind(console,"Suspended",$,U,b$,u$,Q)):console.timeStamp("Suspended",$,U,b$,u$,Q))}function ZN($,U,Q,F,M,_){if(AU&&!(U<=$)){Q=[];for(var k=0;k<F.length;k++){var f=F[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}}},_?_.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function KD($,U,Q,F){!AU||U<=$||(F?F.run(console.timeStamp.bind(console,"Errored",$,U,b$,u$,"error")):console.timeStamp("Errored",$,U,b$,u$,"error"))}function VN($,U,Q,F){!AU||U<=$||(F?F.run(console.timeStamp.bind(console,Q,$,U,b$,u$,"secondary-light")):console.timeStamp(Q,$,U,b$,u$,"secondary-light"))}function _A($,U,Q,F,M){if(AU&&!(U<=$)){for(var _=[],k=0;k<Q.length;k++){var f=Q[k].value;_.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:F?"Remaining Effects Errored":"Commit Errored",properties:_}}},M?M.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function AY($,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 $=nJ,U=uK=nJ=0;U<$;){var Q=E4[U];E4[U++]=null;var F=E4[U];E4[U++]=null;var M=E4[U];E4[U++]=null;var _=E4[U];if(E4[U++]=null,F!==null&&M!==null){var k=F.pending;k===null?M.next=M:(M.next=k.next,k.next=M),F.pending=M}_!==0&&EA(Q,M,_)}}function t2($,U,Q,F){E4[nJ++]=$,E4[nJ++]=U,E4[nJ++]=Q,E4[nJ++]=F,uK|=F,$.lanes|=F,$=$.alternate,$!==null&&($.lanes|=F)}function FD($,U,Q,F){return t2($,U,Q,F),a2($)}function C6($,U){return t2($,null,null,U),a2($)}function EA($,U,Q){$.lanes|=Q;var F=$.alternate;F!==null&&(F.lanes|=Q);for(var M=!1,_=$.return;_!==null;)_.childLanes|=Q,F=_.alternate,F!==null&&(F.childLanes|=Q),_.tag===22&&($=_.stateNode,$===null||$._visibility&QG||(M=!0)),$=_,_=_.return;return $.tag===3?(_=$.stateNode,M&&U!==null&&(M=31-j6(Q),$=_.hiddenUpdates,F=$[M],F===null?$[M]=[U]:F.push(U),U.lane=Q|536870912),_):null}function a2($){if(kG>Ix)throw mX=kG=0,xG=L9=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>Xx&&(mX=0,xG=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&&hT($);for(var U=$,Q=U.return;Q!==null;)U.alternate===null&&(U.flags&4098)!==0&&hT($),U=Q,Q=U.return;return U.tag===3?U.stateNode:null}function HX($){if(j4===null)return $;var U=j4($);return U===void 0?$:U.current}function OD($){if(j4===null)return $;var U=j4($);return U===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(U=HX($.render),$.render!==U)?(U={$$typeof:oY,render:U},$.displayName!==void 0&&(U.displayName=$.displayName),U):$:U.current}function jA($,U){if(j4===null)return!1;var Q=$.elementType;U=U.type;var F=!1,M=typeof U==="object"&&U!==null?U.$$typeof:null;switch($.tag){case 1:typeof U==="function"&&(F=!0);break;case 0:typeof U==="function"?F=!0:M===Y4&&(F=!0);break;case 11:M===oY?F=!0:M===Y4&&(F=!0);break;case 14:case 15:M===iZ?F=!0:M===Y4&&(F=!0);break;default:return!1}return F&&($=j4(Q),$!==void 0&&$===j4(U))?!0:!1}function qA($){j4!==null&&typeof WeakSet==="function"&&(oJ===null&&(oJ=new WeakSet),oJ.add($))}function SA($,U,Q){do{var F=$,M=F.alternate,_=F.child,k=F.sibling,f=F.tag;F=F.type;var m=null;switch(f){case 0:case 15:case 1:m=F;break;case 11:m=F.render}if(j4===null)throw Error("Expected resolveFamily to be set during hot reload.");var o=!1;if(F=!1,m!==null&&(m=j4(m),m!==void 0&&(Q.has(m)?F=!0:U.has(m)&&(f===1?F=!0:o=!0))),oJ!==null&&(oJ.has($)||M!==null&&oJ.has(M))&&(F=!0),F&&($._debugNeedsRemount=!0),F||o)M=C6($,2),M!==null&&gU(M,$,2);if(_===null||F||SA(_,U,Q),k===null)break;$=k}while(1)}function zN($,U,Q,F){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=F,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,k_||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function HD($){return $=$.prototype,!(!$||!$.isReactComponent)}function f1($,U){var Q=$.alternate;switch(Q===null?(Q=E($.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=HX($.type);break;case 1:Q.type=HX($.type);break;case 11:Q.type=OD($.type)}return Q}function RA($,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 LD($,U,Q,F,M,_){var k=0,f=$;if(typeof $==="function")HD($)&&(k=1),f=HX(f);else if(typeof $==="string")k=P(),k=A3($,Q,k)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case VK:return U=E(31,Q,U,M),U.elementType=VK,U.lanes=_,U;case wJ:return LX(Q.children,M,_,U);case oZ:k=8,M|=P6,M|=m4;break;case QK:return $=Q,F=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=E(12,$,U,F|N$),U.elementType=QK,U.lanes=_,U.stateNode={effectDuration:0,passiveEffectDuration:0},U;case GK:return U=E(13,Q,U,M),U.elementType=GK,U.lanes=_,U;case ZK:return U=E(19,Q,U,M),U.elementType=ZK,U.lanes=_,U;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case O1:k=10;break $;case YK:k=9;break $;case oY:k=11,f=OD(f);break $;case iZ: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===F1?(Q="<"+(L0($.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof $,(k=F?j0(F):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=E(k,Q,U,M),U.elementType=$,U.type=f,U.lanes=_,U._debugOwner=F,U}function s2($,U,Q){return U=LD($.type,$.key,$.props,$._owner,U,Q),U._debugOwner=$._owner,U._debugStack=$._debugStack,U._debugTask=$._debugTask,U}function LX($,U,Q,F){return $=E(7,$,F,U),$.lanes=Q,$}function MD($,U,Q){return $=E(6,$,null,U),$.lanes=Q,$}function BA($){var U=E(18,null,null,T$);return U.stateNode=$,U}function AD($,U,Q){return U=E(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=bK.get($);if(Q!==void 0)return Q;return U={value:$,source:U,stack:z0(U)},bK.set($,U),U}return{value:$,source:U,stack:z0(U)}}function y1($,U){FI(),iJ[rJ++]=YG,iJ[rJ++]=VV,VV=$,YG=U}function vA($,U,Q){FI(),q4[S4++]=n1,q4[S4++]=o1,q4[S4++]=vX,vX=$;var F=n1;$=o1;var M=32-j6(F)-1;F&=~(1<<M),Q+=1;var _=32-j6(U)+M;if(30<_){var k=M-M%5;_=(F&(1<<k)-1).toString(32),F>>=k,M-=k,n1=1<<32-j6(U)+M|Q<<M|F,o1=_+$}else n1=1<<_|Q<<M|F,o1=$}function CD($){FI(),$.return!==null&&(y1($,1),vA($,1,0))}function TD($){for(;$===VV;)VV=iJ[--rJ],iJ[rJ]=null,YG=iJ[--rJ],iJ[rJ]=null;for(;$===vX;)vX=q4[--S4],q4[S4]=null,o1=q4[--S4],q4[S4]=null,n1=q4[--S4],q4[S4]=null}function NA(){return FI(),vX!==null?{id:n1,overflow:o1}:null}function kA($,U){FI(),q4[S4++]=n1,q4[S4++]=o1,q4[S4++]=vX,n1=U.id,o1=U.overflow,vX=$}function FI(){p$||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function MX($,U){if($.return===null){if(V4===null)V4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U};else{if(V4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");V4.distanceFromLeaf>U&&(V4.distanceFromLeaf=U)}return V4}var Q=MX($.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 xA(){p$&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function e2($,U){T1||($=MX($,0),$.serverProps=null,U!==null&&(U=DP(U),$.serverTail.push(U)))}function OI($){var U=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Q="",F=V4;throw F!==null&&(V4=null,Q=YD(F)),CY($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),$)),hK}function gA($){var{stateNode:U,type:Q,memoizedProps:F}=$;switch(U[L6]=$,U[q6]=F,cW(Q,F),Q){case"dialog":l$("cancel",U),l$("close",U);break;case"iframe":case"object":case"embed":l$("load",U);break;case"video":case"audio":for(Q=0;Q<gG.length;Q++)l$(gG[Q],U);break;case"source":l$("error",U);break;case"img":case"image":case"link":l$("error",U),l$("load",U);break;case"details":l$("toggle",U);break;case"input":DU("input",F),l$("invalid",U),X$(U,F),_U(U,F.value,F.defaultValue,F.checked,F.defaultChecked,F.type,F.name,!0);break;case"option":q$(U,F);break;case"select":DU("select",F),l$("invalid",U),uU(U,F);break;case"textarea":DU("textarea",F),l$("invalid",U),bU(U,F),cU(U,F.value,F.defaultValue,F.children)}Q=F.children,typeof Q!=="string"&&typeof Q!=="number"&&typeof Q!=="bigint"||U.textContent===""+Q||F.suppressHydrationWarning===!0||aT(U.textContent,Q)?(F.popover!=null&&(l$("beforetoggle",U),l$("toggle",U)),F.onScroll!=null&&l$("scroll",U),F.onScrollEnd!=null&&l$("scrollend",U),F.onClick!=null&&(U.onclick=w1),U=!0):U=!1,U||OI($,!0)}function wA($){for(M6=$.return;M6;)switch(M6.tag){case 5:case 31:case 13:R4=!1;return;case 27:case 3:R4=!0;return;default:M6=M6.return}}function AJ($){if($!==M6)return!1;if(!p$)return wA($),p$=!0,!1;var U=$.tag,Q;if(Q=U!==3&&U!==27){if(Q=U===5)Q=$.type,Q=!(Q!=="form"&&Q!=="button")||nW($.type,$.memoizedProps);Q=!Q}if(Q&&CU){for(Q=CU;Q;){var F=MX($,0),M=DP(Q);F.serverTail.push(M),Q=M.type==="Suspense"?tW(Q):Q4(Q.nextSibling)}OI($)}if(wA($),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.");CU=tW($)}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.");CU=tW($)}else U===27?(U=CU,jI($.type)?($=B9,B9=null,CU=$):CU=U):CU=M6?Q4($.stateNode.nextSibling):null;return!0}function AX(){CU=M6=null,T1=p$=!1}function PD(){var $=gI;return $!==null&&(k6===null?k6=$:k6.push.apply(k6,$),gI=null),$}function CY($){gI===null?gI=[$]:gI.push($)}function _D(){var $=V4;if($!==null){V4=null;for(var U=YD($);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 $Z(){tJ=zV=null,aJ=!1}function HI($,U,Q){K(cK,U._currentValue,$),U._currentValue=Q,K(pK,U._currentRenderer,$),U._currentRenderer!==void 0&&U._currentRenderer!==null&&U._currentRenderer!==g_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),U._currentRenderer=g_}function u1($,U){$._currentValue=cK.current;var Q=pK.current;G(pK,U),$._currentRenderer=Q,G(cK,U)}function ED($,U,Q){for(;$!==null;){var F=$.alternate;if(($.childLanes&U)!==U?($.childLanes|=U,F!==null&&(F.childLanes|=U)):F!==null&&(F.childLanes&U)!==U&&(F.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 jD($,U,Q,F){var M=$.child;M!==null&&(M.return=$);for(;M!==null;){var _=M.dependencies;if(_!==null){var k=M.child;_=_.firstContext;$:for(;_!==null;){var f=_;_=M;for(var m=0;m<U.length;m++)if(f.context===U[m]){_.lanes|=Q,f=_.alternate,f!==null&&(f.lanes|=Q),ED(_.return,Q,$),F||(k=null);break $}_=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,_=k.alternate,_!==null&&(_.lanes|=Q),ED(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 CJ($,U,Q,F){$=null;for(var M=U,_=!1;M!==null;){if(!_){if((M.flags&524288)!==0)_=!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;R6(M.pendingProps.value,k.value)||($!==null?$.push(f):$=[f])}}else if(M===rZ.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(bG):$=[bG])}M=M.return}$!==null&&jD(U,$,Q,F),U.flags|=262144}function UZ($){for($=$.firstContext;$!==null;){if(!R6($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function CX($){zV=$,tJ=null,$=$.dependencies,$!==null&&($.firstContext=null)}function qU($){return aJ&&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()."),fA(zV,$)}function IZ($,U){return zV===null&&CX($),fA($,U)}function fA($,U){var Q=U._currentValue;if(U={context:U,memoizedValue:Q,next:null},tJ===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().");tJ=U,$.dependencies={lanes:0,firstContext:U,_debugThenableState:null},$.flags|=524288}else tJ=tJ.next=U;return Q}function qD(){return{controller:new mk,data:new Map,refCount:0}}function TX($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function TY($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&dk(nk,function(){$.controller.abort()})}function U1($,U,Q){if(($&127)!==0)0>P1&&(P1=eU(),ZG=DV(U),lK=U,Q!=null&&(mK=t(Q)),(n$&(G6|W4))!==W6&&(wU=!0,yI=GG),$=pY(),U=cY(),$!==sJ||U!==VG?sJ=-1.1:U!==null&&(yI=GG),kX=$,VG=U);else if(($&4194048)!==0&&0>B4&&(B4=eU(),zG=DV(U),w_=U,Q!=null&&(f_=t(Q)),0>t1)){if($=pY(),U=cY(),$!==bI||U!==xX)bI=-1.1;uI=$,xX=U}}function DN($){if(0>P1){P1=eU(),ZG=$._debugTask!=null?$._debugTask:null,(n$&(G6|W4))!==W6&&(yI=GG);var U=pY(),Q=cY();U!==sJ||Q!==VG?sJ=-1.1:Q!==null&&(yI=GG),kX=U,VG=Q}if(0>B4&&(B4=eU(),zG=$._debugTask!=null?$._debugTask:null,0>t1)){if($=pY(),U=cY(),$!==bI||U!==xX)bI=-1.1;uI=$,xX=U}}function b1(){var $=NX;return NX=0,$}function XZ($){var U=NX;return NX=$,U}function PY($){var U=NX;return NX+=$,U}function JZ(){C$=A$=-1.1}function U4(){var $=A$;return A$=-1.1,$}function I4($){0<=$&&(A$=$)}function I1(){var $=NU;return NU=-0,$}function X1($){0<=$&&(NU=$)}function J1(){var $=SU;return SU=null,$}function Q1(){var $=wU;return wU=!1,$}function SD($){B6=eU(),0>$.actualStartTime&&($.actualStartTime=B6)}function RD($){if(0<=B6){var U=eU()-B6;$.actualDuration+=U,$.selfBaseDuration=U,B6=-1}}function yA($){if(0<=B6){var U=eU()-B6;$.actualDuration+=U,B6=-1}}function Y1(){if(0<=B6){var $=eU(),U=$-B6;B6=-1,NX+=U,NU+=U,C$=$}}function uA($){SU===null&&(SU=[]),SU.push($),r1===null&&(r1=[]),r1.push($)}function G1(){B6=eU(),0>A$&&(A$=B6)}function _Y($){for(var U=$.child;U;)$.actualDuration+=U.actualDuration,U=U.sibling}function WN($,U){if(WG===null){var Q=WG=[];nK=0,gX=yW(),eJ={status:"pending",value:void 0,then:function(F){Q.push(F)}}}return nK++,U.then(bA,bA),U}function bA(){if(--nK===0&&(-1<B4||(t1=-1.1),WG!==null)){eJ!==null&&(eJ.status="fulfilled");var $=WG;WG=null,gX=0,eJ=null;for(var U=0;U<$.length;U++)(0,$[U])()}}function KN($,U){var Q=[],F={status:"pending",value:null,reason:null,then:function(M){Q.push(M)}};return $.then(function(){F.status="fulfilled",F.value=U;for(var M=0;M<Q.length;M++)(0,Q[M])(U)},function(M){F.status="rejected",F.reason=M;for(M=0;M<Q.length;M++)(0,Q[M])(void 0)}),F}function BD(){var $=wX.current;return $!==null?$:ZU.pooledCache}function QZ($,U){U===null?K(wX,wX.current,$):K(wX,U.pool,$)}function hA(){var $=BD();return $===null?null:{parent:sU._currentValue,pool:$}}function cA(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function pA($){return $=$.status,$==="fulfilled"||$==="rejected"}function lA($,U,Q){y0.actQueue!==null&&(y0.didUsePromise=!0);var F=$.thenables;if(Q=F[Q],Q===void 0?F.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(w1,w1),U=Q),U._debugInfo===void 0){$=performance.now(),F=U.displayName;var M={name:typeof F==="string"?F:"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,dA($),$;default:if(typeof U.status==="string")U.then(w1,w1);else{if($=ZU,$!==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(_){if(U.status==="pending"){var k=U;k.status="fulfilled",k.value=_}},function(_){if(U.status==="pending"){var k=U;k.status="rejected",k.reason=_}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,dA($),$}throw yX=U,AG=!0,$Q}}function LI($){try{return tk($)}catch(U){if(U!==null&&typeof U==="object"&&typeof U.then==="function")throw yX=U,AG=!0,$Q;throw U}}function mA(){if(yX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=yX;return yX=null,AG=!1,$}function dA($){if($===$Q||$===AV)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 F6($){var U=k$;return $!=null&&(k$=U===null?$:U.concat($)),U}function vD(){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 YZ($,U,Q){for(var F=Object.keys($.props),M=0;M<F.length;M++){var _=F[M];if(_!=="children"&&_!=="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)},_);break}}}function GZ($){var U=CG;return CG+=1,UQ===null&&(UQ=cA()),lA(UQ,$,U)}function EY($,U){U=U.props.ref,$.ref=U!==void 0?U:null}function nA($,U){if(U.$$typeof===B3)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 ZZ($,U){var Q=vD();Q!==null?Q.run(nA.bind(null,$,U)):nA($,U)}function oA($,U){var Q=t($)||"Component";IE[Q]||(IE[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 VZ($,U){var Q=vD();Q!==null?Q.run(oA.bind(null,$,U)):oA($,U)}function iA($,U){var Q=t($)||"Component";XE[Q]||(XE[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 zZ($,U){var Q=vD();Q!==null?Q.run(iA.bind(null,$,U)):iA($,U)}function rA($){function U(V0,F0){if($){var C0=V0.deletions;C0===null?(V0.deletions=[F0],V0.flags|=16):C0.push(F0)}}function Q(V0,F0){if(!$)return null;for(;F0!==null;)U(V0,F0),F0=F0.sibling;return null}function F(V0){for(var F0=new Map;V0!==null;)V0.key!==null?F0.set(V0.key,V0):F0.set(V0.index,V0),V0=V0.sibling;return F0}function M(V0,F0){return V0=f1(V0,F0),V0.index=0,V0.sibling=null,V0}function _(V0,F0,C0){if(V0.index=C0,!$)return V0.flags|=1048576,F0;if(C0=V0.alternate,C0!==null)return C0=C0.index,C0<F0?(V0.flags|=67108866,F0):C0;return V0.flags|=67108866,F0}function k(V0){return $&&V0.alternate===null&&(V0.flags|=67108866),V0}function f(V0,F0,C0,l0){if(F0===null||F0.tag!==6)return F0=MD(C0,V0.mode,l0),F0.return=V0,F0._debugOwner=V0,F0._debugTask=V0._debugTask,F0._debugInfo=k$,F0;return F0=M(F0,C0),F0.return=V0,F0._debugInfo=k$,F0}function m(V0,F0,C0,l0){var D$=C0.type;if(D$===wJ)return F0=P0(V0,F0,C0.props.children,l0,C0.key),YZ(C0,F0,V0),F0;if(F0!==null&&(F0.elementType===D$||jA(F0,C0)||typeof D$==="object"&&D$!==null&&D$.$$typeof===Y4&&LI(D$)===F0.type))return F0=M(F0,C0.props),EY(F0,C0),F0.return=V0,F0._debugOwner=C0._owner,F0._debugInfo=k$,F0;return F0=s2(C0,V0.mode,l0),EY(F0,C0),F0.return=V0,F0._debugInfo=k$,F0}function o(V0,F0,C0,l0){if(F0===null||F0.tag!==4||F0.stateNode.containerInfo!==C0.containerInfo||F0.stateNode.implementation!==C0.implementation)return F0=AD(C0,V0.mode,l0),F0.return=V0,F0._debugInfo=k$,F0;return F0=M(F0,C0.children||[]),F0.return=V0,F0._debugInfo=k$,F0}function P0(V0,F0,C0,l0,D$){if(F0===null||F0.tag!==7)return F0=LX(C0,V0.mode,l0,D$),F0.return=V0,F0._debugOwner=V0,F0._debugTask=V0._debugTask,F0._debugInfo=k$,F0;return F0=M(F0,C0),F0.return=V0,F0._debugInfo=k$,F0}function _0(V0,F0,C0){if(typeof F0==="string"&&F0!==""||typeof F0==="number"||typeof F0==="bigint")return F0=MD(""+F0,V0.mode,C0),F0.return=V0,F0._debugOwner=V0,F0._debugTask=V0._debugTask,F0._debugInfo=k$,F0;if(typeof F0==="object"&&F0!==null){switch(F0.$$typeof){case F1:return C0=s2(F0,V0.mode,C0),EY(C0,F0),C0.return=V0,V0=F6(F0._debugInfo),C0._debugInfo=k$,k$=V0,C0;case gJ:return F0=AD(F0,V0.mode,C0),F0.return=V0,F0._debugInfo=k$,F0;case Y4:var l0=F6(F0._debugInfo);return F0=LI(F0),V0=_0(V0,F0,C0),k$=l0,V0}if(Q6(F0)||O0(F0))return C0=LX(F0,V0.mode,C0,null),C0.return=V0,C0._debugOwner=V0,C0._debugTask=V0._debugTask,V0=F6(F0._debugInfo),C0._debugInfo=k$,k$=V0,C0;if(typeof F0.then==="function")return l0=F6(F0._debugInfo),V0=_0(V0,GZ(F0),C0),k$=l0,V0;if(F0.$$typeof===O1)return _0(V0,IZ(V0,F0),C0);ZZ(V0,F0)}return typeof F0==="function"&&VZ(V0,F0),typeof F0==="symbol"&&zZ(V0,F0),null}function K0(V0,F0,C0,l0){var D$=F0!==null?F0.key:null;if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return D$!==null?null:f(V0,F0,""+C0,l0);if(typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case F1:return C0.key===D$?(D$=F6(C0._debugInfo),V0=m(V0,F0,C0,l0),k$=D$,V0):null;case gJ:return C0.key===D$?o(V0,F0,C0,l0):null;case Y4:return D$=F6(C0._debugInfo),C0=LI(C0),V0=K0(V0,F0,C0,l0),k$=D$,V0}if(Q6(C0)||O0(C0)){if(D$!==null)return null;return D$=F6(C0._debugInfo),V0=P0(V0,F0,C0,l0,null),k$=D$,V0}if(typeof C0.then==="function")return D$=F6(C0._debugInfo),V0=K0(V0,F0,GZ(C0),l0),k$=D$,V0;if(C0.$$typeof===O1)return K0(V0,F0,IZ(V0,C0),l0);ZZ(V0,C0)}return typeof C0==="function"&&VZ(V0,C0),typeof C0==="symbol"&&zZ(V0,C0),null}function k0(V0,F0,C0,l0,D$){if(typeof l0==="string"&&l0!==""||typeof l0==="number"||typeof l0==="bigint")return V0=V0.get(C0)||null,f(F0,V0,""+l0,D$);if(typeof l0==="object"&&l0!==null){switch(l0.$$typeof){case F1:return C0=V0.get(l0.key===null?C0:l0.key)||null,V0=F6(l0._debugInfo),F0=m(F0,C0,l0,D$),k$=V0,F0;case gJ:return V0=V0.get(l0.key===null?C0:l0.key)||null,o(F0,V0,l0,D$);case Y4:var _$=F6(l0._debugInfo);return l0=LI(l0),F0=k0(V0,F0,C0,l0,D$),k$=_$,F0}if(Q6(l0)||O0(l0))return C0=V0.get(C0)||null,V0=F6(l0._debugInfo),F0=P0(F0,C0,l0,D$,null),k$=V0,F0;if(typeof l0.then==="function")return _$=F6(l0._debugInfo),F0=k0(V0,F0,C0,GZ(l0),D$),k$=_$,F0;if(l0.$$typeof===O1)return k0(V0,F0,C0,IZ(F0,l0),D$);ZZ(F0,l0)}return typeof l0==="function"&&VZ(F0,l0),typeof l0==="symbol"&&zZ(F0,l0),null}function z$(V0,F0,C0,l0){if(typeof C0!=="object"||C0===null)return l0;switch(C0.$$typeof){case F1:case gJ:q(V0,F0,C0);var D$=C0.key;if(typeof D$!=="string")break;if(l0===null){l0=new Set,l0.add(D$);break}if(!l0.has(D$)){l0.add(D$);break}J0(F0,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.",D$)});break;case Y4:C0=LI(C0),z$(V0,F0,C0,l0)}return l0}function F$(V0,F0,C0,l0){for(var D$=null,_$=null,M$=null,H$=F0,B$=F0=0,TU=null;H$!==null&&B$<C0.length;B$++){H$.index>B$?(TU=H$,H$=null):TU=H$.sibling;var aU=K0(V0,H$,C0[B$],l0);if(aU===null){H$===null&&(H$=TU);break}D$=z$(V0,aU,C0[B$],D$),$&&H$&&aU.alternate===null&&U(V0,H$),F0=_(aU,F0,B$),M$===null?_$=aU:M$.sibling=aU,M$=aU,H$=TU}if(B$===C0.length)return Q(V0,H$),p$&&y1(V0,B$),_$;if(H$===null){for(;B$<C0.length;B$++)H$=_0(V0,C0[B$],l0),H$!==null&&(D$=z$(V0,H$,C0[B$],D$),F0=_(H$,F0,B$),M$===null?_$=H$:M$.sibling=H$,M$=H$);return p$&&y1(V0,B$),_$}for(H$=F(H$);B$<C0.length;B$++)TU=k0(H$,V0,B$,C0[B$],l0),TU!==null&&(D$=z$(V0,TU,C0[B$],D$),$&&TU.alternate!==null&&H$.delete(TU.key===null?B$:TU.key),F0=_(TU,F0,B$),M$===null?_$=TU:M$.sibling=TU,M$=TU);return $&&H$.forEach(function(QI){return U(V0,QI)}),p$&&y1(V0,B$),_$}function FU(V0,F0,C0,l0){if(C0==null)throw Error("An iterable object provided no iterator.");for(var D$=null,_$=null,M$=F0,H$=F0=0,B$=null,TU=null,aU=C0.next();M$!==null&&!aU.done;H$++,aU=C0.next()){M$.index>H$?(B$=M$,M$=null):B$=M$.sibling;var QI=K0(V0,M$,aU.value,l0);if(QI===null){M$===null&&(M$=B$);break}TU=z$(V0,QI,aU.value,TU),$&&M$&&QI.alternate===null&&U(V0,M$),F0=_(QI,F0,H$),_$===null?D$=QI:_$.sibling=QI,_$=QI,M$=B$}if(aU.done)return Q(V0,M$),p$&&y1(V0,H$),D$;if(M$===null){for(;!aU.done;H$++,aU=C0.next())M$=_0(V0,aU.value,l0),M$!==null&&(TU=z$(V0,M$,aU.value,TU),F0=_(M$,F0,H$),_$===null?D$=M$:_$.sibling=M$,_$=M$);return p$&&y1(V0,H$),D$}for(M$=F(M$);!aU.done;H$++,aU=C0.next())B$=k0(M$,V0,H$,aU.value,l0),B$!==null&&(TU=z$(V0,B$,aU.value,TU),$&&B$.alternate!==null&&M$.delete(B$.key===null?H$:B$.key),F0=_(B$,F0,H$),_$===null?D$=B$:_$.sibling=B$,_$=B$);return $&&M$.forEach(function(Cx){return U(V0,Cx)}),p$&&y1(V0,H$),D$}function m$(V0,F0,C0,l0){if(typeof C0==="object"&&C0!==null&&C0.type===wJ&&C0.key===null&&(YZ(C0,null,V0),C0=C0.props.children),typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case F1:var D$=F6(C0._debugInfo);$:{for(var _$=C0.key;F0!==null;){if(F0.key===_$){if(_$=C0.type,_$===wJ){if(F0.tag===7){Q(V0,F0.sibling),l0=M(F0,C0.props.children),l0.return=V0,l0._debugOwner=C0._owner,l0._debugInfo=k$,YZ(C0,l0,V0),V0=l0;break $}}else if(F0.elementType===_$||jA(F0,C0)||typeof _$==="object"&&_$!==null&&_$.$$typeof===Y4&&LI(_$)===F0.type){Q(V0,F0.sibling),l0=M(F0,C0.props),EY(l0,C0),l0.return=V0,l0._debugOwner=C0._owner,l0._debugInfo=k$,V0=l0;break $}Q(V0,F0);break}else U(V0,F0);F0=F0.sibling}C0.type===wJ?(l0=LX(C0.props.children,V0.mode,l0,C0.key),l0.return=V0,l0._debugOwner=V0,l0._debugTask=V0._debugTask,l0._debugInfo=k$,YZ(C0,l0,V0),V0=l0):(l0=s2(C0,V0.mode,l0),EY(l0,C0),l0.return=V0,l0._debugInfo=k$,V0=l0)}return V0=k(V0),k$=D$,V0;case gJ:$:{D$=C0;for(C0=D$.key;F0!==null;){if(F0.key===C0)if(F0.tag===4&&F0.stateNode.containerInfo===D$.containerInfo&&F0.stateNode.implementation===D$.implementation){Q(V0,F0.sibling),l0=M(F0,D$.children||[]),l0.return=V0,V0=l0;break $}else{Q(V0,F0);break}else U(V0,F0);F0=F0.sibling}l0=AD(D$,V0.mode,l0),l0.return=V0,V0=l0}return k(V0);case Y4:return D$=F6(C0._debugInfo),C0=LI(C0),V0=m$(V0,F0,C0,l0),k$=D$,V0}if(Q6(C0))return D$=F6(C0._debugInfo),V0=F$(V0,F0,C0,l0),k$=D$,V0;if(O0(C0)){if(D$=F6(C0._debugInfo),_$=O0(C0),typeof _$!=="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$=_$.call(C0);if(M$===C0){if(V0.tag!==0||Object.prototype.toString.call(V0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M$)!=="[object Generator]")$E||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."),$E=!0}else C0.entries!==_$||tK||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tK=!0);return V0=FU(V0,F0,M$,l0),k$=D$,V0}if(typeof C0.then==="function")return D$=F6(C0._debugInfo),V0=m$(V0,F0,GZ(C0),l0),k$=D$,V0;if(C0.$$typeof===O1)return m$(V0,F0,IZ(V0,C0),l0);ZZ(V0,C0)}if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return D$=""+C0,F0!==null&&F0.tag===6?(Q(V0,F0.sibling),l0=M(F0,D$),l0.return=V0,V0=l0):(Q(V0,F0),l0=MD(D$,V0.mode,l0),l0.return=V0,l0._debugOwner=V0,l0._debugTask=V0._debugTask,l0._debugInfo=k$,V0=l0),k(V0);return typeof C0==="function"&&VZ(V0,C0),typeof C0==="symbol"&&zZ(V0,C0),Q(V0,F0)}return function(V0,F0,C0,l0){var D$=k$;k$=null;try{CG=0;var _$=m$(V0,F0,C0,l0);return UQ=null,_$}catch(TU){if(TU===$Q||TU===AV)throw TU;var M$=E(29,TU,null,V0.mode);M$.lanes=l0,M$.return=V0;var H$=M$._debugInfo=k$;if(M$._debugOwner=V0._debugOwner,M$._debugTask=V0._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$=D$}}}function tA($,U){var Q=Q6($);return $=!Q&&typeof O0($)==="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 ND($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function kD($,U){$=$.updateQueue,U.updateQueue===$&&(U.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function MI($){return{lane:$,tag:QE,payload:null,callback:null,next:null}}function AI($,U,Q){var F=$.updateQueue;if(F===null)return null;if(F=F.shared,sK===F&&!ZE){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),ZE=!0}if((n$&G6)!==W6)return M=F.pending,M===null?U.next=U:(U.next=M.next,M.next=U),F.pending=U,U=a2($),EA($,null,Q),U;return t2($,F,U,Q),a2($)}function jY($,U,Q){if(U=U.updateQueue,U!==null&&(U=U.shared,(Q&4194048)!==0)){var F=U.lanes;F&=$.pendingLanes,Q|=F,U.lanes=Q,h0($,Q)}}function DZ($,U){var{updateQueue:Q,alternate:F}=$;if(F!==null&&(F=F.updateQueue,Q===F)){var M=null,_=null;if(Q=Q.firstBaseUpdate,Q!==null){do{var k={lane:Q.lane,tag:Q.tag,payload:Q.payload,callback:null,next:null};_===null?M=_=k:_=_.next=k,Q=Q.next}while(Q!==null);_===null?M=_=U:_=_.next=U}else M=_=U;Q={baseState:F.baseState,firstBaseUpdate:M,lastBaseUpdate:_,shared:F.shared,callbacks:F.callbacks},$.updateQueue=Q;return}$=Q.lastBaseUpdate,$===null?Q.firstBaseUpdate=U:$.next=U,Q.lastBaseUpdate=U}function qY(){if(eK){var $=eJ;if($!==null)throw $}}function SY($,U,Q,F){eK=!1;var M=$.updateQueue;hI=!1,sK=M.shared;var{firstBaseUpdate:_,lastBaseUpdate:k}=M,f=M.shared.pending;if(f!==null){M.shared.pending=null;var m=f,o=m.next;m.next=null,k===null?_=o:k.next=o,k=m;var P0=$.alternate;P0!==null&&(P0=P0.updateQueue,f=P0.lastBaseUpdate,f!==k&&(f===null?P0.firstBaseUpdate=o:f.next=o,P0.lastBaseUpdate=m))}if(_!==null){var _0=M.baseState;k=0,P0=o=m=null,f=_;do{var K0=f.lane&-536870913,k0=K0!==f.lane;if(k0?(x$&K0)===K0:(F&K0)===K0){K0!==0&&K0===gX&&(eK=!0),P0!==null&&(P0=P0.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});$:{K0=$;var z$=f,F$=U,FU=Q;switch(z$.tag){case YE:if(z$=z$.payload,typeof z$==="function"){aJ=!0;var m$=z$.call(FU,_0,F$);if(K0.mode&P6){N0(!0);try{z$.call(FU,_0,F$)}finally{N0(!1)}}aJ=!1,_0=m$;break $}_0=z$;break $;case aK:K0.flags=K0.flags&-65537|128;case QE:if(m$=z$.payload,typeof m$==="function"){if(aJ=!0,z$=m$.call(FU,_0,F$),K0.mode&P6){N0(!0);try{m$.call(FU,_0,F$)}finally{N0(!1)}}aJ=!1}else z$=m$;if(z$===null||z$===void 0)break $;_0=y$({},_0,z$);break $;case GE:hI=!0}}K0=f.callback,K0!==null&&($.flags|=64,k0&&($.flags|=8192),k0=M.callbacks,k0===null?M.callbacks=[K0]:k0.push(K0))}else k0={lane:K0,tag:f.tag,payload:f.payload,callback:f.callback,next:null},P0===null?(o=P0=k0,m=_0):P0=P0.next=k0,k|=K0;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);P0===null&&(m=_0),M.baseState=m,M.firstBaseUpdate=o,M.lastBaseUpdate=P0,_===null&&(M.shared.lanes=0),lI|=k,$.lanes=k,$.memoizedState=_0}sK=null}function aA($,U){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(U)}function FN($,U){var Q=$.shared.hiddenCallbacks;if(Q!==null)for($.shared.hiddenCallbacks=null,$=0;$<Q.length;$++)aA(Q[$],U)}function sA($,U){var Q=$.callbacks;if(Q!==null)for($.callbacks=null,$=0;$<Q.length;$++)aA(Q[$],U)}function eA($,U){var Q=j1;K(TV,Q,$),K(IQ,U,$),j1=Q|U.baseLanes}function xD($){K(TV,j1,$),K(IQ,IQ.current,$)}function gD($){j1=TV.current,G(IQ,$),G(TV,$)}function CI($){var U=$.alternate;K(tU,tU.current&XQ,$),K(z4,$,$),v4===null&&(U===null||IQ.current!==null?v4=$:U.memoizedState!==null&&(v4=$))}function wD($){K(tU,tU.current,$),K(z4,$,$),v4===null&&(v4=$)}function $C($){$.tag===22?(K(tU,tU.current,$),K(z4,$,$),v4===null&&(v4=$)):TI($)}function TI($){K(tU,tU.current,$),K(z4,z4.current,$)}function X4($){G(z4,$),v4===$&&(v4=null),G(tU,$)}function WZ($){for(var U=$;U!==null;){if(U.tag===13){var Q=U.memoizedState;if(Q!==null&&(Q=Q.dehydrated,Q===null||iW(Q)||rW(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;k4===null?k4=[$]:k4.push($)}function Y$(){var $=w0;if(k4!==null&&($I++,k4[$I]!==$)){var U=t(P$);if(!VE.has(U)&&(VE.add(U),k4!==null)){for(var Q="",F=0;F<=$I;F++){var M=k4[F],_=F===$I?$:M;for(M=F+1+". "+M;30>M.length;)M+=" ";M+=_+`
|
|
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 TJ($){$===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 KZ(){var $=t(P$);DE.has($)||(DE.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function mU(){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 fD($,U){if(_G)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(!R6($[Q],U[Q]))return!1;return!0}function yD($,U,Q,F,M,_){if(s1=_,P$=U,k4=$!==null?$._debugHookTypes:null,$I=-1,_G=$!==null&&$.type!==U.type,Object.prototype.toString.call(Q)==="[object AsyncFunction]"||Object.prototype.toString.call(Q)==="[object AsyncGeneratorFunction]")_=t(P$),$9.has(_)||($9.add(_),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.",_===null?"An unknown Component":"<"+_+">"));U.memoizedState=null,U.updateQueue=null,U.lanes=0,y0.H=$!==null&&$.memoizedState!==null?I9:k4!==null?WE:U9,bX=_=(U.mode&P6)!==T$;var k=oK(Q,F,M);if(bX=!1,QQ&&(k=uD(U,Q,F,M)),_){N0(!0);try{k=uD(U,Q,F,M)}finally{N0(!1)}}return UC($,U),k}function UC($,U){U._debugHookTypes=k4,U.dependencies===null?e1!==null&&(U.dependencies={lanes:0,firstContext:null,_debugThenableState:e1}):U.dependencies._debugThenableState=e1,y0.H=EG;var Q=GU!==null&&GU.next!==null;if(s1=0,k4=w0=$6=GU=P$=null,$I=-1,$!==null&&($.flags&65011712)!==(U.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),_V=!1,PG=0,e1=null,Q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||U6||($=$.dependencies,$!==null&&UZ($)&&(U6=!0)),AG?(AG=!1,$=!0):$=!1,$&&(U=t(U)||"Unknown",zE.has(U)||$9.has(U)||(zE.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 uD($,U,Q,F){P$=$;var M=0;do{if(QQ&&(e1=null),PG=0,QQ=!1,M>=sk)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(M+=1,_G=!1,$6=GU=null,$.updateQueue!=null){var _=$.updateQueue;_.lastEffect=null,_.events=null,_.stores=null,_.memoCache!=null&&(_.memoCache.index=0)}$I=-1,y0.H=KE,_=oK(U,Q,F)}while(QQ);return _}function ON(){var $=y0.H,U=$.useState()[0];return U=typeof U.then==="function"?RY(U):U,$=$.useState()[0],(GU!==null?GU.memoizedState:null)!==$&&(P$.flags|=1024),U}function bD(){var $=EV!==0;return EV=0,$}function hD($,U,Q){U.updateQueue=$.updateQueue,U.flags=(U.mode&m4)!==T$?U.flags&-402655237:U.flags&-2053,$.lanes&=~Q}function cD($){if(_V){for($=$.memoizedState;$!==null;){var U=$.queue;U!==null&&(U.pending=null),$=$.next}_V=!1}s1=0,k4=$6=GU=P$=null,$I=-1,w0=null,QQ=!1,PG=EV=0,e1=null}function E6(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $6===null?P$.memoizedState=$6=$:$6=$6.next=$,$6}function UU(){if(GU===null){var $=P$.alternate;$=$!==null?$.memoizedState:null}else $=GU.next;var U=$6===null?P$.memoizedState:$6.next;if(U!==null)$6=U,GU=$;else{if($===null){if(P$.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?P$.memoizedState=$6=$:$6=$6.next=$}return $6}function FZ(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function RY($){var U=PG;return PG+=1,e1===null&&(e1=cA()),$=lA(e1,$,U),U=P$,($6===null?U.memoizedState:$6.next)===null&&(U=U.alternate,y0.H=U!==null&&U.memoizedState!==null?I9:U9),$}function PI($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return RY($);if($.$$typeof===O1)return qU($)}throw Error("An unsupported type was passed to use(): "+String($))}function PX($){var U=null,Q=P$.updateQueue;if(Q!==null&&(U=Q.memoCache),U==null){var F=P$.alternate;F!==null&&(F=F.updateQueue,F!==null&&(F=F.memoCache,F!=null&&(U={data:F.data.map(function(M){return M.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),Q===null&&(Q=FZ(),P$.updateQueue=Q),Q.memoCache=U,Q=U.data[U.index],Q===void 0||_G)for(Q=U.data[U.index]=Array($),F=0;F<$;F++)Q[F]=v3;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 h4($,U){return typeof U==="function"?U($):U}function pD($,U,Q){var F=E6();if(Q!==void 0){var M=Q(U);if(bX){N0(!0);try{Q(U)}finally{N0(!1)}}}else M=U;return F.memoizedState=F.baseState=M,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:M},F.queue=$,$=$.dispatch=CN.bind(null,P$,$),[F.memoizedState,$]}function PJ($){var U=UU();return lD(U,GU,$)}function lD($,U,Q){var F=$.queue;if(F===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");F.lastRenderedReducer=Q;var M=$.baseQueue,_=F.pending;if(_!==null){if(M!==null){var k=M.next;M.next=_.next,_.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=_,F.pending=null}if(_=$.baseState,M===null)$.memoizedState=_;else{U=M.next;var f=k=null,m=null,o=U,P0=!1;do{var _0=o.lane&-536870913;if(_0!==o.lane?(x$&_0)===_0:(s1&_0)===_0){var K0=o.revertLane;if(K0===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),_0===gX&&(P0=!0);else if((s1&K0)===K0){o=o.next,K0===gX&&(P0=!0);continue}else _0={lane:0,revertLane:o.revertLane,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},m===null?(f=m=_0,k=_):m=m.next=_0,P$.lanes|=K0,lI|=K0;_0=o.action,bX&&Q(_,_0),_=o.hasEagerState?o.eagerState:Q(_,_0)}else K0={lane:_0,revertLane:o.revertLane,gesture:o.gesture,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},m===null?(f=m=K0,k=_):m=m.next=K0,P$.lanes|=_0,lI|=_0;o=o.next}while(o!==null&&o!==U);if(m===null?k=_:m.next=f,!R6(_,$.memoizedState)&&(U6=!0,P0&&(Q=eJ,Q!==null)))throw Q;$.memoizedState=_,$.baseState=k,$.baseQueue=m,F.lastRenderedState=_}return M===null&&(F.lanes=0),[$.memoizedState,F.dispatch]}function BY($){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:F,pending:M}=Q,_=U.memoizedState;if(M!==null){Q.pending=null;var k=M=M.next;do _=$(_,k.action),k=k.next;while(k!==M);R6(_,U.memoizedState)||(U6=!0),U.memoizedState=_,U.baseQueue===null&&(U.baseState=_),Q.lastRenderedState=_}return[_,F]}function mD($,U,Q){var F=P$,M=E6();if(p$){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var _=Q();JQ||_===Q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),JQ=!0)}else{if(_=U(),JQ||(Q=U(),R6(_,Q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),JQ=!0)),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(x$&127)!==0||IC(F,U,_)}return M.memoizedState=_,Q={value:_,getSnapshot:U},M.queue=Q,MZ(JC.bind(null,F,Q,$),[$]),F.flags|=2048,EJ(N4|N6,{destroy:void 0},XC.bind(null,F,Q,_,U),null),_}function OZ($,U,Q){var F=P$,M=UU(),_=p$;if(_){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(),!JQ){var k=U();R6(Q,k)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),JQ=!0)}if(k=!R6((GU||M).memoizedState,Q))M.memoizedState=Q,U6=!0;M=M.queue;var f=JC.bind(null,F,M,$);if(p6(2048,N6,f,[$]),M.getSnapshot!==U||k||$6!==null&&$6.memoizedState.tag&N4){if(F.flags|=2048,EJ(N4|N6,{destroy:void 0},XC.bind(null,F,M,Q,U),null),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");_||(s1&127)!==0||IC(F,U,Q)}return Q}function IC($,U,Q){$.flags|=16384,$={getSnapshot:U,value:Q},U=P$.updateQueue,U===null?(U=FZ(),P$.updateQueue=U,U.stores=[$]):(Q=U.stores,Q===null?U.stores=[$]:Q.push($))}function XC($,U,Q,F){U.value=Q,U.getSnapshot=F,QC(U)&&YC($)}function JC($,U,Q){return Q(function(){QC(U)&&(U1(2,"updateSyncExternalStore()",$),YC($))})}function QC($){var U=$.getSnapshot;$=$.value;try{var Q=U();return!R6($,Q)}catch(F){return!0}}function YC($){var U=C6($,2);U!==null&&gU(U,$,2)}function dD($){var U=E6();if(typeof $==="function"){var Q=$;if($=Q(),bX){N0(!0);try{Q()}finally{N0(!1)}}}return U.memoizedState=U.baseState=$,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:h4,lastRenderedState:$},U}function nD($){$=dD($);var U=$.queue,Q=jC.bind(null,P$,U);return U.dispatch=Q,[$.memoizedState,Q]}function oD($){var U=E6();U.memoizedState=U.baseState=$;var Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=Q,U=GW.bind(null,P$,!0,Q),Q.dispatch=U,[$,U]}function GC($,U){var Q=UU();return ZC(Q,GU,$,U)}function ZC($,U,Q,F){return $.baseState=Q,lD($,GU,typeof F==="function"?F:h4)}function VC($,U){var Q=UU();if(GU!==null)return ZC(Q,GU,$,U);return Q.baseState=$,[$,Q.queue.dispatch]}function HN($,U,Q,F,M){if(EZ($))throw Error("Cannot update form state while rendering.");if($=U.action,$!==null){var _={payload:M,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){_.listeners.push(k)}};y0.T!==null?Q(!0):_.isTransition=!1,F(_),Q=U.pending,Q===null?(_.next=U.pending=_,zC(U,_)):(_.next=Q.next,U.pending=Q.next=_)}}function zC($,U){var{action:Q,payload:F}=U,M=$.state;if(U.isTransition){var _=y0.T,k={};k._updatedFibers=new Set,y0.T=k;try{var f=Q(M,F),m=y0.S;m!==null&&m(k,f),DC($,U,f)}catch(o){iD($,U,o)}finally{_!==null&&k.types!==null&&(_.types!==null&&_.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."),_.types=k.types),y0.T=_,_===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,F),DC($,U,k)}catch(o){iD($,U,o)}}function DC($,U,Q){Q!==null&&typeof Q==="object"&&typeof Q.then==="function"?(y0.asyncTransitions++,Q.then(_Z,_Z),Q.then(function(F){WC($,U,F)},function(F){return iD($,U,F)}),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.")):WC($,U,Q)}function WC($,U,Q){U.status="fulfilled",U.value=Q,KC(U),$.state=Q,U=$.pending,U!==null&&(Q=U.next,Q===U?$.pending=null:(Q=Q.next,U.next=Q,zC($,Q)))}function iD($,U,Q){var F=$.pending;if($.pending=null,F!==null){F=F.next;do U.status="rejected",U.reason=Q,KC(U),U=U.next;while(U!==F)}$.action=null}function KC($){$=$.listeners;for(var U=0;U<$.length;U++)(0,$[U])()}function FC($,U){return U}function _J($,U){if(p$){var Q=ZU.formState;if(Q!==null){$:{var F=P$;if(p$){if(CU){U:{var M=CU;for(var _=R4;M.nodeType!==8;){if(!_){M=null;break U}if(M=Q4(M.nextSibling),M===null){M=null;break U}}_=M.data,M=_===j9||_===sE?M:null}if(M){CU=Q4(M.nextSibling),F=M.data===j9;break $}}OI(F)}F=!1}F&&(U=Q[0])}}return Q=E6(),Q.memoizedState=Q.baseState=U,F={pending:null,lanes:0,dispatch:null,lastRenderedReducer:FC,lastRenderedState:U},Q.queue=F,Q=jC.bind(null,P$,F),F.dispatch=Q,F=dD(!1),_=GW.bind(null,P$,!1,F.queue),F=E6(),M={state:U,dispatch:null,action:$,pending:null},F.queue=M,Q=HN.bind(null,P$,M,_,Q),M.dispatch=Q,F.memoizedState=$,[U,Q,!1]}function HZ($){var U=UU();return OC(U,GU,$)}function OC($,U,Q){if(U=lD($,U,FC)[0],$=PJ(h4)[0],typeof U==="object"&&U!==null&&typeof U.then==="function")try{var F=RY(U)}catch(k){if(k===$Q)throw AV;throw k}else F=U;U=UU();var M=U.queue,_=M.dispatch;return Q!==U.memoizedState&&(P$.flags|=2048,EJ(N4|N6,{destroy:void 0},LN.bind(null,M,Q),null)),[F,_,$]}function LN($,U){$.action=U}function LZ($){var U=UU(),Q=GU;if(Q!==null)return OC(U,Q,$);UU(),U=U.memoizedState,Q=UU();var F=Q.queue.dispatch;return Q.memoizedState=$,[U,F,!1]}function EJ($,U,Q,F){return $={tag:$,create:Q,deps:F,inst:U,next:null},U=P$.updateQueue,U===null&&(U=FZ(),P$.updateQueue=U),Q=U.lastEffect,Q===null?U.lastEffect=$.next=$:(F=Q.next,Q.next=$,$.next=F,U.lastEffect=$),$}function rD($){var U=E6();return $={current:$},U.memoizedState=$}function _X($,U,Q,F){var M=E6();P$.flags|=$,M.memoizedState=EJ(N4|U,{destroy:void 0},Q,F===void 0?null:F)}function p6($,U,Q,F){var M=UU();F=F===void 0?null:F;var _=M.memoizedState.inst;GU!==null&&F!==null&&fD(F,GU.memoizedState.deps)?M.memoizedState=EJ(U,_,Q,F):(P$.flags|=$,M.memoizedState=EJ(N4|U,_,Q,F))}function MZ($,U){(P$.mode&m4)!==T$?_X(276826112,N6,$,U):_X(8390656,N6,$,U)}function MN($){P$.flags|=4;var U=P$.updateQueue;if(U===null)U=FZ(),P$.updateQueue=U,U.events=[$];else{var Q=U.events;Q===null?U.events=[$]:Q.push($)}}function tD($){var U=E6(),Q={impl:$};return U.memoizedState=Q,function(){if((n$&G6)!==W6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Q.impl.apply(void 0,arguments)}}function AZ($){var U=UU().memoizedState;return MN({ref:U,nextImpl:$}),function(){if((n$&G6)!==W6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return U.impl.apply(void 0,arguments)}}function aD($,U){var Q=4194308;return(P$.mode&m4)!==T$&&(Q|=134217728),_X(Q,D4,$,U)}function HC($,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 sD($,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 F=4194308;(P$.mode&m4)!==T$&&(F|=134217728),_X(F,D4,HC.bind(null,U,$),Q)}function CZ($,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,D4,HC.bind(null,U,$),Q)}function eD($,U){return E6().memoizedState=[$,U===void 0?null:U],$}function TZ($,U){var Q=UU();U=U===void 0?null:U;var F=Q.memoizedState;if(U!==null&&fD(U,F[1]))return F[0];return Q.memoizedState=[$,U],$}function $W($,U){var Q=E6();U=U===void 0?null:U;var F=$();if(bX){N0(!0);try{$()}finally{N0(!1)}}return Q.memoizedState=[F,U],F}function PZ($,U){var Q=UU();U=U===void 0?null:U;var F=Q.memoizedState;if(U!==null&&fD(U,F[1]))return F[0];if(F=$(),bX){N0(!0);try{$()}finally{N0(!1)}}return Q.memoizedState=[F,U],F}function UW($,U){var Q=E6();return IW(Q,$,U)}function LC($,U){var Q=UU();return AC(Q,GU.memoizedState,$,U)}function MC($,U){var Q=UU();return GU===null?IW(Q,$,U):AC(Q,GU.memoizedState,$,U)}function IW($,U,Q){if(Q===void 0||(s1&1073741824)!==0&&(x$&261930)===0)return $.memoizedState=U;return $.memoizedState=Q,$=CT(),P$.lanes|=$,lI|=$,Q}function AC($,U,Q,F){if(R6(Q,U))return Q;if(IQ.current!==null)return $=IW($,Q,F),R6($,U)||(U6=!0),$;if((s1&42)===0||(s1&1073741824)!==0&&(x$&261930)===0)return U6=!0,$.memoizedState=Q;return $=CT(),P$.lanes|=$,lI|=$,U}function _Z(){y0.asyncTransitions--}function CC($,U,Q,F,M){var _=s$.p;s$.p=_!==0&&_<l4?_:l4;var k=y0.T,f={};f._updatedFibers=new Set,y0.T=f,GW($,!1,U,Q);try{var m=M(),o=y0.S;if(o!==null&&o(f,m),m!==null&&typeof m==="object"&&typeof m.then==="function"){y0.asyncTransitions++,m.then(_Z,_Z);var P0=KN(m,F);vY($,U,P0,J4($))}else vY($,U,F,J4($))}catch(_0){vY($,U,{then:function(){},status:"rejected",reason:_0},J4($))}finally{s$.p=_,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 XW($,U,Q,F){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var M=TC($).queue;DN($),CC($,M,U,tX,Q===null?j:function(){return PC($),Q(F)})}function TC($){var U=$.memoizedState;if(U!==null)return U;U={memoizedState:tX,baseState:tX,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:h4,lastRenderedState:tX},next:null};var Q={};return U.next={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:h4,lastRenderedState:Q},next:null},$.memoizedState=U,$=$.alternate,$!==null&&($.memoizedState=U),U}function PC($){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=TC($);U.next===null&&(U=$.alternate.memoizedState),vY($,U.next.queue,{},J4($))}function JW(){var $=dD(!1);return $=CC.bind(null,P$,$.queue,!0,!1),E6().memoizedState=$,[!1,$]}function _C(){var $=PJ(h4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:RY($),U]}function EC(){var $=BY(h4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:RY($),U]}function EX(){return qU(bG)}function QW(){var $=E6(),U=ZU.identifierPrefix;if(p$){var Q=o1,F=n1;Q=(F&~(1<<32-j6(F)-1)).toString(32)+Q,U="_"+U+"R_"+Q,Q=EV++,0<Q&&(U+="H"+Q.toString(32)),U+="_"}else Q=ak++,U="_"+U+"r_"+Q.toString(32)+"_";return $.memoizedState=U}function YW(){return E6().memoizedState=AN.bind(null,P$)}function AN($,U){for(var Q=$.return;Q!==null;){switch(Q.tag){case 24:case 3:var F=J4(Q),M=MI(F),_=AI(Q,M,F);_!==null&&(U1(F,"refresh()",$),gU(_,Q,F),jY(_,Q,F)),$=qD(),U!==null&&U!==void 0&&_!==null&&console.error("The seed argument is not enabled outside experimental channels."),M.payload={cache:$};return}Q=Q.return}}function CN($,U,Q){var F=arguments;typeof F[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()."),F=J4($);var M={lane:F,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};EZ($)?qC(U,M):(M=FD($,U,M,F),M!==null&&(U1(F,"dispatch()",$),gU(M,$,F),SC(M,U,F)))}function jC($,U,Q){var F=arguments;typeof F[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()."),F=J4($),vY($,U,Q,F)&&U1(F,"setState()",$)}function vY($,U,Q,F){var M={lane:F,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};if(EZ($))qC(U,M);else{var _=$.alternate;if($.lanes===0&&(_===null||_.lanes===0)&&(_=U.lastRenderedReducer,_!==null)){var k=y0.H;y0.H=n4;try{var f=U.lastRenderedState,m=_(f,Q);if(M.hasEagerState=!0,M.eagerState=m,R6(m,f))return t2($,U,M,0),ZU===null&&r2(),!1}catch(o){}finally{y0.H=k}}if(Q=FD($,U,M,F),Q!==null)return gU(Q,$,F),SC(Q,U,F),!0}return!1}function GW($,U,Q,F){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."),F={lane:2,revertLane:yW(),gesture:null,action:F,hasEagerState:!1,eagerState:null,next:null},EZ($)){if(U)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else U=FD($,Q,F,2),U!==null&&(U1(2,"setOptimistic()",$),gU(U,$,2))}function EZ($){var U=$.alternate;return $===P$||U!==null&&U===P$}function qC($,U){QQ=_V=!0;var Q=$.pending;Q===null?U.next=U:(U.next=Q.next,Q.next=U),$.pending=U}function SC($,U,Q){if((Q&4194048)!==0){var F=U.lanes;F&=$.pendingLanes,Q|=F,U.lanes=Q,h0($,Q)}}function ZW($){if($!==null&&typeof $!=="function"){var U=String($);EE.has(U)||(EE.add(U),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function VW($,U,Q,F){var M=$.memoizedState,_=Q(F,M);if($.mode&P6){N0(!0);try{_=Q(F,M)}finally{N0(!1)}}_===void 0&&(U=L0(U)||"Component",CE.has(U)||(CE.add(U),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",U))),M=_===null||_===void 0?M:y$({},M,_),$.memoizedState=M,$.lanes===0&&($.updateQueue.baseState=M)}function RC($,U,Q,F,M,_,k){var f=$.stateNode;if(typeof f.shouldComponentUpdate==="function"){if(Q=f.shouldComponentUpdate(F,_,k),$.mode&P6){N0(!0);try{Q=f.shouldComponentUpdate(F,_,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?!MY(Q,F)||!MY(M,_):!0}function BC($,U,Q,F){var M=U.state;typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps(Q,F),typeof U.UNSAFE_componentWillReceiveProps==="function"&&U.UNSAFE_componentWillReceiveProps(Q,F),U.state!==M&&($=t($)||"Component",OE.has($)||(OE.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),X9.enqueueReplaceState(U,U.state,null))}function jX($,U){var Q=U;if("ref"in U){Q={};for(var F in U)F!=="ref"&&(Q[F]=U[F])}if($=$.defaultProps){Q===U&&(Q=y$({},Q));for(var M in $)Q[M]===void 0&&(Q[M]=$[M])}return Q}function vC($){gK($),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,YQ?"An error occurred in the <"+YQ+"> 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 NC($){var U=YQ?"The above error occurred in the <"+YQ+"> 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, "+((J9||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var F=$.environmentName;$=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,$,U,Q].slice(0),typeof $[0]==="string"?$.splice(0,1,Yj+" "+$[0],Gj,rV+F+rV,Zj):$.splice(0,0,Yj,Gj,rV+F+rV,Zj),$.unshift(console),F=Mx.apply(console.error,$),F()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,$,U,Q)}function kC($){gK($)}function jZ($,U){try{YQ=U.source?t(U.source):null,J9=null;var Q=U.value;if(y0.actQueue!==null)y0.thrownErrors.push(Q);else{var F=$.onUncaughtError;F(Q,{componentStack:U.stack})}}catch(M){setTimeout(function(){throw M})}}function xC($,U,Q){try{YQ=Q.source?t(Q.source):null,J9=t(U);var F=$.onCaughtError;F(Q.value,{componentStack:Q.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(M){setTimeout(function(){throw M})}}function zW($,U,Q){return Q=MI(Q),Q.tag=aK,Q.payload={element:null},Q.callback=function(){J0(U.source,jZ,$,U)},Q}function DW($){return $=MI($),$.tag=aK,$}function WW($,U,Q,F){var M=Q.type.getDerivedStateFromError;if(typeof M==="function"){var _=F.value;$.payload=function(){return M(_)},$.callback=function(){qA(Q),J0(F.source,xC,U,Q,F)}}var k=Q.stateNode;k!==null&&typeof k.componentDidCatch==="function"&&($.callback=function(){qA(Q),J0(F.source,xC,U,Q,F),typeof M!=="function"&&(dI===null?dI=new Set([this]):dI.add(this)),ok(this,F),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 TN($,U,Q,F,M){if(Q.flags|=32768,M1&&uY($,M),F!==null&&typeof F==="object"&&typeof F.then==="function"){if(U=Q.alternate,U!==null&&CJ(U,Q,M,!0),p$&&(T1=!0),Q=z4.current,Q!==null){switch(Q.tag){case 31:case 13:return v4===null?gZ():Q.alternate===null&&kU===II&&(kU=SV),Q.flags&=-257,Q.flags|=65536,Q.lanes=M,F===CV?Q.flags|=16384:(U=Q.updateQueue,U===null?Q.updateQueue=new Set([F]):U.add(F),xW($,F,M)),!1;case 22:return Q.flags|=65536,F===CV?Q.flags|=16384:(U=Q.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([F])},Q.updateQueue=U):(Q=U.retryQueue,Q===null?U.retryQueue=new Set([F]):Q.add(F)),xW($,F,M)),!1}throw Error("Unexpected Suspense handler tag ("+Q.tag+"). This is a bug in React.")}return xW($,F,M),gZ(),!1}if(p$)return T1=!0,U=z4.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=M,F!==hK&&CY($4(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:F}),Q))):(F!==hK&&CY($4(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:F}),Q)),$=$.current.alternate,$.flags|=65536,M&=-M,$.lanes|=M,F=$4(F,Q),M=zW($.stateNode,F,M),DZ($,M),kU!==cI&&(kU=hX)),!1;var _=$4(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:F}),Q);if(vG===null?vG=[_]:vG.push(_),kU!==cI&&(kU=hX),U===null)return!0;F=$4(F,Q),Q=U;do{switch(Q.tag){case 3:return Q.flags|=65536,$=M&-M,Q.lanes|=$,$=zW(Q.stateNode,F,$),DZ(Q,$),!1;case 1:if(U=Q.type,_=Q.stateNode,(Q.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||_!==null&&typeof _.componentDidCatch==="function"&&(dI===null||!dI.has(_))))return Q.flags|=65536,M&=-M,Q.lanes|=M,M=DW(M),WW(M,$,Q,F),DZ(Q,M),!1}Q=Q.return}while(Q!==null);return!1}function O6($,U,Q,F){U.child=$===null?JE(U,null,Q,F):uX(U,$.child,Q,F)}function gC($,U,Q,F,M){Q=Q.render;var _=U.ref;if("ref"in F){var k={};for(var f in F)f!=="ref"&&(k[f]=F[f])}else k=F;if(CX(U),F=yD($,U,Q,k,_,M),f=bD(),$!==null&&!U6)return hD($,U,M),h1($,U,M);return p$&&f&&CD(U),U.flags|=1,O6($,U,F,M),U.child}function wC($,U,Q,F,M){if($===null){var _=Q.type;if(typeof _==="function"&&!HD(_)&&_.defaultProps===void 0&&Q.compare===null)return Q=HX(_),U.tag=15,U.type=Q,FW(U,_),fC($,U,Q,F,M);return $=LD(Q.type,null,F,U,U.mode,M),$.ref=U.ref,$.return=U,U.child=$}if(_=$.child,!CW($,M)){var k=_.memoizedProps;if(Q=Q.compare,Q=Q!==null?Q:MY,Q(k,F)&&$.ref===U.ref)return h1($,U,M)}return U.flags|=1,$=f1(_,F),$.ref=U.ref,$.return=U,U.child=$}function fC($,U,Q,F,M){if($!==null){var _=$.memoizedProps;if(MY(_,F)&&$.ref===U.ref&&U.type===$.type)if(U6=!1,U.pendingProps=F=_,CW($,M))($.flags&131072)!==0&&(U6=!0);else return U.lanes=$.lanes,h1($,U,M)}return KW($,U,Q,F,M)}function yC($,U,Q,F){var M=F.children,_=$!==null?$.memoizedState:null;if($===null&&U.stateNode===null&&(U.stateNode={_visibility:QG,_pendingMarkers:null,_retryCache:null,_transitions:null}),F.mode==="hidden"){if((U.flags&128)!==0){if(_=_!==null?_.baseLanes|Q:Q,$!==null){F=U.child=$.child;for(M=0;F!==null;)M=M|F.lanes|F.childLanes,F=F.sibling;F=M&~_}else F=0,U.child=null;return uC($,U,_,Q,F)}if((Q&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},$!==null&&QZ(U,_!==null?_.cachePool:null),_!==null?eA(U,_):xD(U),$C(U);else return F=U.lanes=536870912,uC($,U,_!==null?_.baseLanes|Q:Q,Q,F)}else _!==null?(QZ(U,_.cachePool),eA(U,_),TI(U),U.memoizedState=null):($!==null&&QZ(U,null),xD(U),TI(U));return O6($,U,M,Q),U.child}function NY($,U){return $!==null&&$.tag===22||U.stateNode!==null||(U.stateNode={_visibility:QG,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function uC($,U,Q,F,M){var _=BD();return _=_===null?null:{parent:sU._currentValue,pool:_},U.memoizedState={baseLanes:Q,cachePool:_},$!==null&&QZ(U,null),xD(U),$C(U),$!==null&&CJ($,U,F,!0),U.childLanes=M,null}function qZ($,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=RZ({mode:U.mode,children:U.children},$.mode),U.ref=$.ref,$.child=U,U.return=$,U}function bC($,U,Q){return uX(U,$.child,null,Q),$=qZ(U,U.pendingProps),$.flags|=2,X4(U),U.memoizedState=null,$}function PN($,U,Q){var F=U.pendingProps,M=(U.flags&128)!==0;if(U.flags&=-129,$===null){if(p$){if(F.mode==="hidden")return $=qZ(U,F),U.lanes=536870912,NY(null,$);if(wD(U),($=CU)?(Q=zP($,R4),Q=Q!==null&&Q.data===nX?Q:null,Q!==null&&(F={dehydrated:Q,treeContext:NA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=F,F=BA(Q),F.return=U,U.child=F,M6=U,CU=null)):Q=null,Q===null)throw e2(U,$),OI(U);return U.lanes=536870912,null}return qZ(U,F)}var _=$.memoizedState;if(_!==null){var k=_.dehydrated;if(wD(U),M)if(U.flags&256)U.flags&=-257,U=bC($,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(xA(),(Q&536870912)!==0&&xZ(U),U6||CJ($,U,Q,!1),M=(Q&$.childLanes)!==0,U6||M){if(F=ZU,F!==null&&(k=QU(F,Q),k!==0&&k!==_.retryLane))throw _.retryLane=k,C6($,k),gU(F,$,k),Q9;gZ(),U=bC($,U,Q)}else $=_.treeContext,CU=Q4(k.nextSibling),M6=U,p$=!0,gI=null,T1=!1,V4=null,R4=!1,$!==null&&kA(U,$),U=qZ(U,F),U.flags|=4096;return U}return _=$.child,F={mode:F.mode,children:F.children},(Q&536870912)!==0&&(Q&$.lanes)!==0&&xZ(U),$=f1(_,F),$.ref=U.ref,U.child=$,$.return=U,$}function SZ($,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 KW($,U,Q,F,M){if(Q.prototype&&typeof Q.prototype.render==="function"){var _=L0(Q)||"Unknown";jE[_]||(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.",_,_),jE[_]=!0)}if(U.mode&P6&&d4.recordLegacyContextWarning(U,null),$===null&&(FW(U,U.type),Q.contextTypes&&(_=L0(Q)||"Unknown",SE[_]||(SE[_]=!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)",_)))),CX(U),Q=yD($,U,Q,F,void 0,M),F=bD(),$!==null&&!U6)return hD($,U,M),h1($,U,M);return p$&&F&&CD(U),U.flags|=1,O6($,U,Q,M),U.child}function hC($,U,Q,F,M,_){if(CX(U),$I=-1,_G=$!==null&&$.type!==U.type,U.updateQueue=null,Q=uD(U,F,Q,M),UC($,U),F=bD(),$!==null&&!U6)return hD($,U,_),h1($,U,_);return p$&&F&&CD(U),U.flags|=1,O6($,U,Q,_),U.child}function cC($,U,Q,F,M){switch(Z(U)){case!1:var _=U.stateNode,k=new U.type(U.memoizedProps,_.context).state;_.updater.enqueueSetState(_,k,null);break;case!0:U.flags|=128,U.flags|=65536,_=Error("Simulated error coming from DevTools");var f=M&-M;if(U.lanes|=f,k=ZU,k===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=DW(f),WW(f,k,U,$4(_,U)),DZ(U,f)}if(CX(U),U.stateNode===null){if(k=xI,_=Q.contextType,"contextType"in Q&&_!==null&&(_===void 0||_.$$typeof!==O1)&&!_E.has(Q)&&(_E.add(Q),f=_===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 _!=="object"?" However, it is set to a "+typeof _+".":_.$$typeof===YK?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(_).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 _==="object"&&_!==null&&(k=qU(_)),_=new Q(F,k),U.mode&P6){N0(!0);try{_=new Q(F,k)}finally{N0(!1)}}if(k=U.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,_.updater=X9,U.stateNode=_,_._reactInternals=U,_._reactInternalInstance=FE,typeof Q.getDerivedStateFromProps==="function"&&k===null&&(k=L0(Q)||"Component",HE.has(k)||(HE.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,_.state===null?"null":"undefined",k))),typeof Q.getDerivedStateFromProps==="function"||typeof _.getSnapshotBeforeUpdate==="function"){var m=f=k=null;if(typeof _.componentWillMount==="function"&&_.componentWillMount.__suppressDeprecationWarning!==!0?k="componentWillMount":typeof _.UNSAFE_componentWillMount==="function"&&(k="UNSAFE_componentWillMount"),typeof _.componentWillReceiveProps==="function"&&_.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof _.UNSAFE_componentWillReceiveProps==="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof _.componentWillUpdate==="function"&&_.componentWillUpdate.__suppressDeprecationWarning!==!0?m="componentWillUpdate":typeof _.UNSAFE_componentWillUpdate==="function"&&(m="UNSAFE_componentWillUpdate"),k!==null||f!==null||m!==null){_=L0(Q)||"Component";var o=typeof Q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ME.has(_)||(ME.add(_),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`,_,o,k!==null?`
|
|
137
|
+
`+k:"",f!==null?`
|
|
138
|
+
`+f:"",m!==null?`
|
|
139
|
+
`+m:""))}}_=U.stateNode,k=L0(Q)||"Component",_.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)),!_.getInitialState||_.getInitialState.isReactClassApproved||_.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),_.getDefaultProps&&!_.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),_.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),Q.childContextTypes&&!PE.has(Q)&&(PE.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&&!TE.has(Q)&&(TE.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 _.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 _.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 _.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof _.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 _.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof _.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k),f=_.props!==F,_.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),_.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 _.getSnapshotBeforeUpdate!=="function"||typeof _.componentDidUpdate==="function"||LE.has(Q)||(LE.add(Q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",L0(Q))),typeof _.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 _.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=_.state)&&(typeof f!=="object"||Q6(f))&&console.error("%s.state: must be set to an object or null",k),typeof _.getChildContext==="function"&&typeof Q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k),_=U.stateNode,_.props=F,_.state=U.memoizedState,_.refs={},ND(U),k=Q.contextType,_.context=typeof k==="object"&&k!==null?qU(k):xI,_.state===F&&(k=L0(Q)||"Component",AE.has(k)||(AE.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&P6&&d4.recordLegacyContextWarning(U,_),d4.recordUnsafeLifecycleWarnings(U,_),_.state=U.memoizedState,k=Q.getDerivedStateFromProps,typeof k==="function"&&(VW(U,Q,k,F),_.state=U.memoizedState),typeof Q.getDerivedStateFromProps==="function"||typeof _.getSnapshotBeforeUpdate==="function"||typeof _.UNSAFE_componentWillMount!=="function"&&typeof _.componentWillMount!=="function"||(k=_.state,typeof _.componentWillMount==="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount==="function"&&_.UNSAFE_componentWillMount(),k!==_.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t(U)||"Component"),X9.enqueueReplaceState(_,_.state,null)),SY(U,F,_,M),qY(),_.state=U.memoizedState),typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m4)!==T$&&(U.flags|=134217728),_=!0}else if($===null){_=U.stateNode;var P0=U.memoizedProps;f=jX(Q,P0),_.props=f;var _0=_.context;m=Q.contextType,k=xI,typeof m==="object"&&m!==null&&(k=qU(m)),o=Q.getDerivedStateFromProps,m=typeof o==="function"||typeof _.getSnapshotBeforeUpdate==="function",P0=U.pendingProps!==P0,m||typeof _.UNSAFE_componentWillReceiveProps!=="function"&&typeof _.componentWillReceiveProps!=="function"||(P0||_0!==k)&&BC(U,_,F,k),hI=!1;var K0=U.memoizedState;_.state=K0,SY(U,F,_,M),qY(),_0=U.memoizedState,P0||K0!==_0||hI?(typeof o==="function"&&(VW(U,Q,o,F),_0=U.memoizedState),(f=hI||RC(U,Q,f,F,K0,_0,k))?(m||typeof _.UNSAFE_componentWillMount!=="function"&&typeof _.componentWillMount!=="function"||(typeof _.componentWillMount==="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount==="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m4)!==T$&&(U.flags|=134217728)):(typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m4)!==T$&&(U.flags|=134217728),U.memoizedProps=F,U.memoizedState=_0),_.props=F,_.state=_0,_.context=k,_=f):(typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&m4)!==T$&&(U.flags|=134217728),_=!1)}else{_=U.stateNode,kD($,U),k=U.memoizedProps,m=jX(Q,k),_.props=m,o=U.pendingProps,K0=_.context,_0=Q.contextType,f=xI,typeof _0==="object"&&_0!==null&&(f=qU(_0)),P0=Q.getDerivedStateFromProps,(_0=typeof P0==="function"||typeof _.getSnapshotBeforeUpdate==="function")||typeof _.UNSAFE_componentWillReceiveProps!=="function"&&typeof _.componentWillReceiveProps!=="function"||(k!==o||K0!==f)&&BC(U,_,F,f),hI=!1,K0=U.memoizedState,_.state=K0,SY(U,F,_,M),qY();var k0=U.memoizedState;k!==o||K0!==k0||hI||$!==null&&$.dependencies!==null&&UZ($.dependencies)?(typeof P0==="function"&&(VW(U,Q,P0,F),k0=U.memoizedState),(m=hI||RC(U,Q,m,F,K0,k0,f)||$!==null&&$.dependencies!==null&&UZ($.dependencies))?(_0||typeof _.UNSAFE_componentWillUpdate!=="function"&&typeof _.componentWillUpdate!=="function"||(typeof _.componentWillUpdate==="function"&&_.componentWillUpdate(F,k0,f),typeof _.UNSAFE_componentWillUpdate==="function"&&_.UNSAFE_componentWillUpdate(F,k0,f)),typeof _.componentDidUpdate==="function"&&(U.flags|=4),typeof _.getSnapshotBeforeUpdate==="function"&&(U.flags|=1024)):(typeof _.componentDidUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=4),typeof _.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=1024),U.memoizedProps=F,U.memoizedState=k0),_.props=F,_.state=k0,_.context=f,_=m):(typeof _.componentDidUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=4),typeof _.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=1024),_=!1)}if(f=_,SZ($,U),k=(U.flags&128)!==0,f||k){if(f=U.stateNode,Z0(U),k&&typeof Q.getDerivedStateFromError!=="function")Q=null,B6=-1;else if(Q=m_(f),U.mode&P6){N0(!0);try{m_(f)}finally{N0(!1)}}U.flags|=1,$!==null&&k?(U.child=uX(U,$.child,null,M),U.child=uX(U,null,Q,M)):O6($,U,Q,M),U.memoizedState=f.state,$=U.child}else $=h1($,U,M);return M=U.stateNode,_&&M.props!==F&&(GQ||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"),GQ=!0),$}function pC($,U,Q,F){return AX(),U.flags|=256,O6($,U,Q,F),U.child}function FW($,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",RE[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),RE[$]=!0)),typeof U.contextType==="object"&&U.contextType!==null&&(U=L0(U)||"Unknown",qE[U]||(console.error("%s: Function components do not support contextType.",U),qE[U]=!0))}function OW($){return{baseLanes:$,cachePool:hA()}}function HW($,U,Q){return $=$!==null?$.childLanes&~Q:0,U&&($|=o6),$}function lC($,U,Q){var F,M=U.pendingProps;z(U)&&(U.flags|=128);var _=!1,k=(U.flags&128)!==0;if((F=k)||(F=$!==null&&$.memoizedState===null?!1:(tU.current&TG)!==0),F&&(_=!0,U.flags&=-129),F=(U.flags&32)!==0,U.flags&=-33,$===null){if(p$){if(_?CI(U):TI(U),($=CU)?(Q=zP($,R4),Q=Q!==null&&Q.data!==nX?Q:null,Q!==null&&(F={dehydrated:Q,treeContext:NA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=F,F=BA(Q),F.return=U,U.child=F,M6=U,CU=null)):Q=null,Q===null)throw e2(U,$),OI(U);return rW(Q)?U.lanes=32:U.lanes=536870912,null}var f=M.children;if(M=M.fallback,_){TI(U);var m=U.mode;return f=RZ({mode:"hidden",children:f},m),M=LX(M,m,Q,null),f.return=U,M.return=U,f.sibling=M,U.child=f,M=U.child,M.memoizedState=OW(Q),M.childLanes=HW($,F,Q),U.memoizedState=Y9,NY(null,M)}return CI(U),LW(U,f)}var o=$.memoizedState;if(o!==null){var P0=o.dehydrated;if(P0!==null){if(k)U.flags&256?(CI(U),U.flags&=-257,U=MW($,U,Q)):U.memoizedState!==null?(TI(U),U.child=$.child,U.flags|=128,U=null):(TI(U),f=M.fallback,m=U.mode,M=RZ({mode:"visible",children:M.children},m),f=LX(f,m,Q,null),f.flags|=2,M.return=U,f.return=U,M.sibling=f,U.child=M,uX(U,$.child,null,Q),M=U.child,M.memoizedState=OW(Q),M.childLanes=HW($,F,Q),U.memoizedState=Y9,U=NY(null,M));else if(CI(U),xA(),(Q&536870912)!==0&&xZ(U),rW(P0)){if(F=P0.nextSibling&&P0.nextSibling.dataset,F){f=F.dgst;var _0=F.msg;m=F.stck;var K0=F.cstck}_=_0,F=f,M=m,P0=K0,f=_,m=P0,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=F,F=m===void 0?null:m,M={value:f,source:null,stack:F},typeof F==="string"&&bK.set(f,M),CY(M),U=MW($,U,Q)}else if(U6||CJ($,U,Q,!1),F=(Q&$.childLanes)!==0,U6||F){if(F=ZU,F!==null&&(M=QU(F,Q),M!==0&&M!==o.retryLane))throw o.retryLane=M,C6($,M),gU(F,$,M),Q9;iW(P0)||gZ(),U=MW($,U,Q)}else iW(P0)?(U.flags|=192,U.child=$.child,U=null):($=o.treeContext,CU=Q4(P0.nextSibling),M6=U,p$=!0,gI=null,T1=!1,V4=null,R4=!1,$!==null&&kA(U,$),U=LW(U,M.children),U.flags|=4096);return U}}if(_)return TI(U),f=M.fallback,m=U.mode,K0=$.child,P0=K0.sibling,M=f1(K0,{mode:"hidden",children:M.children}),M.subtreeFlags=K0.subtreeFlags&65011712,P0!==null?f=f1(P0,f):(f=LX(f,m,Q,null),f.flags|=2),f.return=U,M.return=U,M.sibling=f,U.child=M,NY(null,M),M=U.child,f=$.child.memoizedState,f===null?f=OW(Q):(m=f.cachePool,m!==null?(K0=sU._currentValue,m=m.parent!==K0?{parent:K0,pool:K0}:m):m=hA(),f={baseLanes:f.baseLanes|Q,cachePool:m}),M.memoizedState=f,M.childLanes=HW($,F,Q),U.memoizedState=Y9,NY($.child,M);return o!==null&&(Q&62914560)===Q&&(Q&$.lanes)!==0&&xZ(U),CI(U),Q=$.child,$=Q.sibling,Q=f1(Q,{mode:"visible",children:M.children}),Q.return=U,Q.sibling=null,$!==null&&(F=U.deletions,F===null?(U.deletions=[$],U.flags|=16):F.push($)),U.child=Q,U.memoizedState=null,Q}function LW($,U){return U=RZ({mode:"visible",children:U},$.mode),U.return=$,$.child=U}function RZ($,U){return $=E(22,$,null,U),$.lanes=0,$}function MW($,U,Q){return uX(U,$.child,null,Q),$=LW(U,U.pendingProps.children),$.flags|=2,U.memoizedState=null,$}function mC($,U,Q){$.lanes|=U;var F=$.alternate;F!==null&&(F.lanes|=U),ED($.return,U,Q)}function AW($,U,Q,F,M,_){var k=$.memoizedState;k===null?$.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:F,tail:Q,tailMode:M,treeForkCount:_}:(k.isBackwards=U,k.rendering=null,k.renderingStartTime=0,k.last=F,k.tail=Q,k.tailMode=M,k.treeForkCount=_)}function dC($,U,Q){var F=U.pendingProps,M=F.revealOrder,_=F.tail,k=F.children,f=tU.current;if((F=(f&TG)!==0)?(f=f&XQ|TG,U.flags|=128):f&=XQ,K(tU,f,U),f=M==null?"null":M,M!=="forwards"&&M!=="unstable_legacy-backwards"&&M!=="together"&&M!=="independent"&&!BE[f])if(BE[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=_==null?"null":_,!qV[f])if(_==null){if(M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")qV[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 _!=="visible"&&_!=="collapsed"&&_!=="hidden"?(qV[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',_)):M!=="forwards"&&M!=="backwards"&&M!=="unstable_legacy-backwards"&&(qV[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',_));$: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(!tA(k[f],f))break $}else if(f=O0(k),typeof f==="function"){if(f=f.call(k))for(var m=f.next(),o=0;!m.done;m=f.next()){if(!tA(m.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(O6($,U,k,Q),p$?(FI(),k=YG):k=0,!F&&$!==null&&($.flags&128)!==0)$:for($=U.child;$!==null;){if($.tag===13)$.memoizedState!==null&&mC($,Q,U);else if($.tag===19)mC($,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&&WZ($)===null&&(M=Q),Q=Q.sibling;Q=M,Q===null?(M=U.child,U.child=null):(M=Q.sibling,Q.sibling=null),AW(U,!1,M,Q,_,k);break;case"backwards":case"unstable_legacy-backwards":Q=null,M=U.child;for(U.child=null;M!==null;){if($=M.alternate,$!==null&&WZ($)===null){U.child=M;break}$=M.sibling,M.sibling=Q,Q=M,M=$}AW(U,!0,Q,null,_,k);break;case"together":AW(U,!1,null,null,void 0,k);break;default:U.memoizedState=null}return U.child}function h1($,U,Q){if($!==null&&(U.dependencies=$.dependencies),B6=-1,lI|=U.lanes,(Q&U.childLanes)===0)if($!==null){if(CJ($,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=f1($,$.pendingProps),U.child=Q;for(Q.return=U;$.sibling!==null;)$=$.sibling,Q=Q.sibling=f1($,$.pendingProps),Q.return=U;Q.sibling=null}return U.child}function CW($,U){if(($.lanes&U)!==0)return!0;return $=$.dependencies,$!==null&&UZ($)?!0:!1}function _N($,U,Q){switch(U.tag){case 3:W(U,U.stateNode.containerInfo),HI(U,sU,$.memoizedState.cache),AX();break;case 27:case 5:S(U);break;case 4:W(U,U.stateNode.containerInfo);break;case 10:HI(U,U.type,U.memoizedProps.value);break;case 12:(Q&U.childLanes)!==0&&(U.flags|=4),U.flags|=2048;var F=U.stateNode;F.effectDuration=-0,F.passiveEffectDuration=-0;break;case 31:if(U.memoizedState!==null)return U.flags|=128,wD(U),null;break;case 13:if(F=U.memoizedState,F!==null){if(F.dehydrated!==null)return CI(U),U.flags|=128,null;if((Q&U.child.childLanes)!==0)return lC($,U,Q);return CI(U),$=h1($,U,Q),$!==null?$.sibling:null}CI(U);break;case 19:var M=($.flags&128)!==0;if(F=(Q&U.childLanes)!==0,F||(CJ($,U,Q,!1),F=(Q&U.childLanes)!==0),M){if(F)return dC($,U,Q);U.flags|=128}if(M=U.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),K(tU,tU.current,U),F)break;else return null;case 22:return U.lanes=0,yC($,U,Q,U.pendingProps);case 24:HI(U,sU,$.memoizedState.cache)}return h1($,U,Q)}function TW($,U,Q){if(U._debugNeedsRemount&&$!==null){Q=LD(U.type,U.key,U.pendingProps,U._debugOwner||null,U.mode,U.lanes),Q._debugStack=U._debugStack,Q._debugTask=U._debugTask;var F=U.return;if(F===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===F.child)F.child=Q;else{var M=F.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=F.deletions,U===null?(F.deletions=[$],F.flags|=16):U.push($),Q.flags|=2,Q}if($!==null)if($.memoizedProps!==U.pendingProps||U.type!==$.type)U6=!0;else{if(!CW($,Q)&&(U.flags&128)===0)return U6=!1,_N($,U,Q);U6=($.flags&131072)!==0?!0:!1}else{if(U6=!1,F=p$)FI(),F=(U.flags&1048576)!==0;F&&(F=U.index,FI(),vA(U,YG,F))}switch(U.lanes=0,U.tag){case 16:$:if(F=U.pendingProps,$=LI(U.elementType),U.type=$,typeof $==="function")HD($)?(F=jX($,F),U.tag=1,U.type=$=HX($),U=cC(null,U,$,F,Q)):(U.tag=0,FW(U,$),U.type=$=HX($),U=KW(null,U,$,F,Q));else{if($!==void 0&&$!==null){if(M=$.$$typeof,M===oY){U.tag=11,U.type=$=OD($),U=gC(null,U,$,F,Q);break $}else if(M===iZ){U.tag=14,U=wC(null,U,$,F,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 KW($,U,U.type,U.pendingProps,Q);case 1:return F=U.type,M=jX(F,U.pendingProps),cC($,U,F,M,Q);case 3:$:{if(W(U,U.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");F=U.pendingProps;var _=U.memoizedState;M=_.element,kD($,U),SY(U,F,null,Q);var k=U.memoizedState;if(F=k.cache,HI(U,sU,F),F!==_.cache&&jD(U,[sU],Q,!0),qY(),F=k.element,_.isDehydrated)if(_={element:F,isDehydrated:!1,cache:k.cache},U.updateQueue.baseState=_,U.memoizedState=_,U.flags&256){U=pC($,U,F,Q);break $}else if(F!==M){M=$4(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),U),CY(M),U=pC($,U,F,Q);break $}else{switch($=U.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}CU=Q4($.firstChild),M6=U,p$=!0,gI=null,T1=!1,V4=null,R4=!0,Q=JE(U,null,F,Q);for(U.child=Q;Q;)Q.flags=Q.flags&-3|4096,Q=Q.sibling}else{if(AX(),F===M){U=h1($,U,Q);break $}O6($,U,F,Q)}U=U.child}return U;case 26:return SZ($,U),$===null?(Q=HP(U.type,null,U.pendingProps,null))?U.memoizedState=Q:p$||(Q=U.type,$=U.pendingProps,F=H(SI.current),F=uZ(F).createElement(Q),F[L6]=U,F[q6]=$,H6(F,Q,$),W$(F),U.stateNode=F):U.memoizedState=HP(U.type,$.memoizedProps,U.pendingProps,$.memoizedState),null;case 27:return S(U),$===null&&p$&&(F=H(SI.current),M=P(),F=U.stateNode=FP(U.type,U.pendingProps,F,M,!1),T1||(M=IP(F,U.type,U.pendingProps,M),M!==null&&(MX(U,0).serverProps=M)),M6=U,R4=!0,M=CU,jI(U.type)?(B9=M,CU=Q4(F.firstChild)):CU=M),O6($,U,U.pendingProps.children,Q),SZ($,U),$===null&&(U.flags|=4194304),U.child;case 5:return $===null&&p$&&(_=P(),F=GD(U.type,_.ancestorInfo),M=CU,(k=!M)||(k=D3(M,U.type,U.pendingProps,R4),k!==null?(U.stateNode=k,T1||(_=IP(k,U.type,U.pendingProps,_),_!==null&&(MX(U,0).serverProps=_)),M6=U,CU=Q4(k.firstChild),R4=!1,_=!0):_=!1,k=!_),k&&(F&&e2(U,M),OI(U))),S(U),M=U.type,_=U.pendingProps,k=$!==null?$.memoizedProps:null,F=_.children,nW(M,_)?F=null:k!==null&&nW(M,k)&&(U.flags|=32),U.memoizedState!==null&&(M=yD($,U,ON,null,null,Q),bG._currentValue=M),SZ($,U),O6($,U,F,Q),U.child;case 6:return $===null&&p$&&(Q=U.pendingProps,$=P(),F=$.ancestorInfo.current,Q=F!=null?l2(Q,F.tag,$.ancestorInfo.implicitRootScope):!0,$=CU,(F=!$)||(F=W3($,U.pendingProps,R4),F!==null?(U.stateNode=F,M6=U,CU=null,F=!0):F=!1,F=!F),F&&(Q&&e2(U,$),OI(U))),null;case 13:return lC($,U,Q);case 4:return W(U,U.stateNode.containerInfo),F=U.pendingProps,$===null?U.child=uX(U,null,F,Q):O6($,U,F,Q),U.child;case 11:return gC($,U,U.type,U.pendingProps,Q);case 7:return O6($,U,U.pendingProps,Q),U.child;case 8:return O6($,U,U.pendingProps.children,Q),U.child;case 12:return U.flags|=4,U.flags|=2048,F=U.stateNode,F.effectDuration=-0,F.passiveEffectDuration=-0,O6($,U,U.pendingProps.children,Q),U.child;case 10:return F=U.type,M=U.pendingProps,_=M.value,"value"in M||vE||(vE=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),HI(U,F,_),O6($,U,M.children,Q),U.child;case 9:return M=U.type._context,F=U.pendingProps.children,typeof F!=="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."),CX(U),M=qU(M),F=oK(F,M,void 0),U.flags|=1,O6($,U,F,Q),U.child;case 14:return wC($,U,U.type,U.pendingProps,Q);case 15:return fC($,U,U.type,U.pendingProps,Q);case 19:return dC($,U,Q);case 31:return PN($,U,Q);case 22:return yC($,U,Q,U.pendingProps);case 24:return CX(U),F=qU(sU),$===null?(M=BD(),M===null&&(M=ZU,_=qD(),M.pooledCache=_,TX(_),_!==null&&(M.pooledCacheLanes|=Q),M=_),U.memoizedState={parent:F,cache:M},ND(U),HI(U,sU,M)):(($.lanes&Q)!==0&&(kD($,U),SY(U,null,null,Q),qY()),M=$.memoizedState,_=U.memoizedState,M.parent!==F?(M={parent:F,cache:F},U.memoizedState=M,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=M),HI(U,sU,F)):(F=_.cache,HI(U,sU,F),F!==M.cache&&jD(U,[sU],Q,!0))),O6($,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 c1($){$.flags|=4}function PW($,U,Q,F,M){if(U=($.mode&lk)!==T$)U=!1;if(U){if($.flags|=16777216,(M&335544128)===M)if($.stateNode.complete)$.flags|=8192;else if(ET())$.flags|=8192;else throw yX=CV,rK}else $.flags&=-16777217}function nC($,U){if(U.type!=="stylesheet"||(U.state.loading&x4)!==rX)$.flags&=-16777217;else if($.flags|=16777216,!TP(U))if(ET())$.flags|=8192;else throw yX=CV,rK}function BZ($,U){U!==null&&($.flags|=4),$.flags&16384&&(U=$.tag!==22?L$():536870912,$.lanes|=U,lX|=U)}function kY($,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 F=null;Q!==null;)Q.alternate!==null&&(F=Q),Q=Q.sibling;F===null?U||$.tail===null?$.tail=null:$.tail.sibling=null:F.sibling=null}}function KU($){var U=$.alternate!==null&&$.alternate.child===$.child,Q=0,F=0;if(U)if(($.mode&N$)!==T$){for(var{selfBaseDuration:M,child:_}=$;_!==null;)Q|=_.lanes|_.childLanes,F|=_.subtreeFlags&65011712,F|=_.flags&65011712,M+=_.treeBaseDuration,_=_.sibling;$.treeBaseDuration=M}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,F|=M.subtreeFlags&65011712,F|=M.flags&65011712,M.return=$,M=M.sibling;else if(($.mode&N$)!==T$){M=$.actualDuration,_=$.selfBaseDuration;for(var k=$.child;k!==null;)Q|=k.lanes|k.childLanes,F|=k.subtreeFlags,F|=k.flags,M+=k.actualDuration,_+=k.treeBaseDuration,k=k.sibling;$.actualDuration=M,$.treeBaseDuration=_}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,F|=M.subtreeFlags,F|=M.flags,M.return=$,M=M.sibling;return $.subtreeFlags|=F,$.childLanes=Q,U}function EN($,U,Q){var F=U.pendingProps;switch(TD(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return KU(U),null;case 1:return KU(U),null;case 3:if(Q=U.stateNode,F=null,$!==null&&(F=$.memoizedState.cache),U.memoizedState.cache!==F&&(U.flags|=2048),u1(sU,U),O(U),Q.pendingContext&&(Q.context=Q.pendingContext,Q.pendingContext=null),$===null||$.child===null)AJ(U)?(_D(),c1(U)):$===null||$.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,PD());return KU(U),null;case 26:var{type:M,memoizedState:_}=U;return $===null?(c1(U),_!==null?(KU(U),nC(U,_)):(KU(U),PW(U,M,null,F,Q))):_?_!==$.memoizedState?(c1(U),KU(U),nC(U,_)):(KU(U),U.flags&=-16777217):($=$.memoizedProps,$!==F&&c1(U),KU(U),PW(U,M,$,F,Q)),null;case 27:if(A(U),Q=H(SI.current),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==F&&c1(U);else{if(!F){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 KU(U),null}$=P(),AJ(U)?gA(U,$):($=FP(M,F,Q,$,!0),U.stateNode=$,c1(U))}return KU(U),null;case 5:if(A(U),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==F&&c1(U);else{if(!F){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 KU(U),null}var k=P();if(AJ(U))gA(U,k);else{switch(_=H(SI.current),GD(M,k.ancestorInfo),k=k.context,_=uZ(_),k){case OQ:_=_.createElementNS(bJ,M);break;case nV:_=_.createElementNS(UV,M);break;default:switch(M){case"svg":_=_.createElementNS(bJ,M);break;case"math":_=_.createElementNS(UV,M);break;case"script":_=_.createElement("div"),_.innerHTML="<script></script>",_=_.removeChild(_.firstChild);break;case"select":_=typeof F.is==="string"?_.createElement("select",{is:F.is}):_.createElement("select"),F.multiple?_.multiple=!0:F.size&&(_.size=F.size);break;default:_=typeof F.is==="string"?_.createElement(M,{is:F.is}):_.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(_)!=="[object HTMLUnknownElement]"||p4.call($j,M)||($j[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)))}}_[L6]=U,_[q6]=F;$:for(k=U.child;k!==null;){if(k.tag===5||k.tag===6)_.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=_;$:switch(H6(_,M,F),M){case"button":case"input":case"select":case"textarea":F=!!F.autoFocus;break $;case"img":F=!0;break $;default:F=!1}F&&c1(U)}}return KU(U),PW(U,U.type,$===null?null:$.memoizedProps,U.pendingProps,Q),null;case 6:if($&&U.stateNode!=null)$.memoizedProps!==F&&c1(U);else{if(typeof F!=="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(SI.current),Q=P(),AJ(U)){if($=U.stateNode,Q=U.memoizedProps,M=!T1,F=null,_=M6,_!==null)switch(_.tag){case 3:M&&(M=WP($,Q,F),M!==null&&(MX(U,0).serverProps=M));break;case 27:case 5:F=_.memoizedProps,M&&(M=WP($,Q,F),M!==null&&(MX(U,0).serverProps=M))}$[L6]=U,$=$.nodeValue===Q||F!==null&&F.suppressHydrationWarning===!0||aT($.nodeValue,Q)?!0:!1,$||OI(U,!0)}else M=Q.ancestorInfo.current,M!=null&&l2(F,M.tag,Q.ancestorInfo.implicitRootScope),$=uZ($).createTextNode(F),$[L6]=U,U.stateNode=$}return KU(U),null;case 31:if(Q=U.memoizedState,$===null||$.memoizedState!==null){if(F=AJ(U),Q!==null){if($===null){if(!F)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,KU(U),(U.mode&N$)!==T$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration))}else _D(),AX(),(U.flags&128)===0&&(Q=U.memoizedState=null),U.flags|=4,KU(U),(U.mode&N$)!==T$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration));$=!1}else Q=PD(),$!==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 KU(U),null;case 13:if(F=U.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(M=F,_=AJ(U),M!==null&&M.dehydrated!==null){if($===null){if(!_)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 suspense instance. This error is likely caused by a bug in React. Please file an issue.");_[L6]=U,KU(U),(U.mode&N$)!==T$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration))}else _D(),AX(),(U.flags&128)===0&&(M=U.memoizedState=null),U.flags|=4,KU(U),(U.mode&N$)!==T$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration));M=!1}else M=PD(),$!==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$)!==T$&&_Y(U),U;return Q=F!==null,$=$!==null&&$.memoizedState!==null,Q&&(F=U.child,M=null,F.alternate!==null&&F.alternate.memoizedState!==null&&F.alternate.memoizedState.cachePool!==null&&(M=F.alternate.memoizedState.cachePool.pool),_=null,F.memoizedState!==null&&F.memoizedState.cachePool!==null&&(_=F.memoizedState.cachePool.pool),_!==M&&(F.flags|=2048)),Q!==$&&Q&&(U.child.flags|=8192),BZ(U,U.updateQueue),KU(U),(U.mode&N$)!==T$&&Q&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return O(U),$===null&&bW(U.stateNode.containerInfo),KU(U),null;case 10:return u1(U.type,U),KU(U),null;case 19:if(G(tU,U),F=U.memoizedState,F===null)return KU(U),null;if(M=(U.flags&128)!==0,_=F.rendering,_===null)if(M)kY(F,!1);else{if(kU!==II||$!==null&&($.flags&128)!==0)for($=U.child;$!==null;){if(_=WZ($),_!==null){U.flags|=128,kY(F,!1),$=_.updateQueue,U.updateQueue=$,BZ(U,$),U.subtreeFlags=0,$=Q;for(Q=U.child;Q!==null;)RA(Q,$),Q=Q.sibling;return K(tU,tU.current&XQ|TG,U),p$&&y1(U,F.treeForkCount),U.child}$=$.sibling}F.tail!==null&&V6()>xV&&(U.flags|=128,M=!0,kY(F,!1),U.lanes=4194304)}else{if(!M)if($=WZ(_),$!==null){if(U.flags|=128,M=!0,$=$.updateQueue,U.updateQueue=$,BZ(U,$),kY(F,!0),F.tail===null&&F.tailMode==="hidden"&&!_.alternate&&!p$)return KU(U),null}else 2*V6()-F.renderingStartTime>xV&&Q!==536870912&&(U.flags|=128,M=!0,kY(F,!1),U.lanes=4194304);F.isBackwards?(_.sibling=U.child,U.child=_):($=F.last,$!==null?$.sibling=_:U.child=_,F.last=_)}if(F.tail!==null)return $=F.tail,F.rendering=$,F.tail=$.sibling,F.renderingStartTime=V6(),$.sibling=null,Q=tU.current,Q=M?Q&XQ|TG:Q&XQ,K(tU,Q,U),p$&&y1(U,F.treeForkCount),$;return KU(U),null;case 22:case 23:return X4(U),gD(U),F=U.memoizedState!==null,$!==null?$.memoizedState!==null!==F&&(U.flags|=8192):F&&(U.flags|=8192),F?(Q&536870912)!==0&&(U.flags&128)===0&&(KU(U),U.subtreeFlags&6&&(U.flags|=8192)):KU(U),Q=U.updateQueue,Q!==null&&BZ(U,Q.retryQueue),Q=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),F=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(F=U.memoizedState.cachePool.pool),F!==Q&&(U.flags|=2048),$!==null&&G(wX,U),null;case 24:return Q=null,$!==null&&(Q=$.memoizedState.cache),U.memoizedState.cache!==Q&&(U.flags|=2048),u1(sU,U),KU(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 jN($,U){switch(TD(U),U.tag){case 1:return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==T$&&_Y(U),U):null;case 3:return u1(sU,U),O(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.");AX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==T$&&_Y(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.");AX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==T$&&_Y(U),U):null;case 19:return G(tU,U),null;case 4:return O(U),null;case 10:return u1(U.type,U),null;case 22:case 23:return X4(U),gD(U),$!==null&&G(wX,U),$=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==T$&&_Y(U),U):null;case 24:return u1(sU,U),null;case 25:return null;default:return null}}function oC($,U){switch(TD(U),U.tag){case 3:u1(sU,U),O(U);break;case 26:case 27:case 5:A(U);break;case 4:O(U);break;case 31:U.memoizedState!==null&&X4(U);break;case 13:X4(U);break;case 19:G(tU,U);break;case 10:u1(U.type,U);break;case 22:case 23:X4(U),gD(U),$!==null&&G(wX,U);break;case 24:u1(sU,U)}}function Z1($){return($.mode&N$)!==T$}function iC($,U){Z1($)?(G1(),xY(U,$),Y1()):xY(U,$)}function _W($,U,Q){Z1($)?(G1(),jJ(Q,$,U),Y1()):jJ(Q,$,U)}function xY($,U){try{var Q=U.updateQueue,F=Q!==null?Q.lastEffect:null;if(F!==null){var M=F.next;Q=M;do{if((Q.tag&$)===$&&(F=void 0,($&v6)!==PV&&(WQ=!0),F=J0(U,ik,Q),($&v6)!==PV&&(WQ=!1),F!==void 0&&typeof F!=="function")){var _=void 0;_=(Q.tag&D4)!==0?"useLayoutEffect":(Q.tag&v6)!==0?"useInsertionEffect":"useEffect";var k=void 0;k=F===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof F.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+_+`(() => {
|
|
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: "+F,J0(U,function(f,m){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,m)},_,k)}Q=Q.next}while(Q!==M)}}catch(f){a$(U,U.return,f)}}function jJ($,U,Q){try{var F=U.updateQueue,M=F!==null?F.lastEffect:null;if(M!==null){var _=M.next;F=_;do{if((F.tag&$)===$){var k=F.inst,f=k.destroy;f!==void 0&&(k.destroy=void 0,($&v6)!==PV&&(WQ=!0),M=U,J0(M,rk,M,Q,f),($&v6)!==PV&&(WQ=!1))}F=F.next}while(F!==_)}}catch(m){a$(U,U.return,m)}}function rC($,U){Z1($)?(G1(),xY(U,$),Y1()):xY(U,$)}function EW($,U,Q){Z1($)?(G1(),jJ(Q,$,U),Y1()):jJ(Q,$,U)}function tC($){var U=$.updateQueue;if(U!==null){var Q=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||GQ||(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($,sA,U,Q)}catch(F){a$($,$.return,F)}}}function qN($,U,Q){return $.getSnapshotBeforeUpdate(U,Q)}function SN($,U){var{memoizedProps:Q,memoizedState:F}=U;U=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||GQ||(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=jX($.type,Q),_=J0($,qN,U,M,F);Q=NE,_!==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=_}catch(k){a$($,$.return,k)}}function aC($,U,Q){Q.props=jX($.type,$.memoizedProps),Q.state=$.memoizedState,Z1($)?(G1(),J0($,t_,$,U,Q),Y1()):J0($,t_,$,U,Q)}function RN($){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(Z1($))try{G1(),$.refCleanup=U(Q)}finally{Y1()}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($,RN,$)}catch(Q){a$($,U,Q)}}function V1($,U){var{ref:Q,refCleanup:F}=$;if(Q!==null)if(typeof F==="function")try{if(Z1($))try{G1(),J0($,F)}finally{Y1($)}else J0($,F)}catch(M){a$($,U,M)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof Q==="function")try{if(Z1($))try{G1(),J0($,Q,null)}finally{Y1($)}else J0($,Q,null)}catch(M){a$($,U,M)}else Q.current=null}function sC($,U,Q,F){var M=$.memoizedProps,_=M.id,k=M.onCommit;M=M.onRender,U=U===null?"mount":"update",HV&&(U="nested-update"),typeof M==="function"&&M(_,U,$.actualDuration,$.treeBaseDuration,$.actualStartTime,Q),typeof k==="function"&&k(_,U,F,Q)}function BN($,U,Q,F){var M=$.memoizedProps;$=M.id,M=M.onPostCommit,U=U===null?"mount":"update",HV&&(U="nested-update"),typeof M==="function"&&M($,U,F,Q)}function eC($){var{type:U,memoizedProps:Q,stateNode:F}=$;try{J0($,eN,F,U,Q,$)}catch(M){a$($,$.return,M)}}function jW($,U,Q){try{J0($,U3,$.stateNode,$.type,Q,U,$)}catch(F){a$($,$.return,F)}}function $T($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&jI($.type)||$.tag===4}function qW($){$:for(;;){for(;$.sibling===null;){if($.return===null||$T($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&jI($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function SW($,U,Q){var F=$.tag;if(F===5||F===6)$=$.stateNode,U?(GP(Q),(Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q).insertBefore($,U)):(GP(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=w1));else if(F!==4&&(F===27&&jI($.type)&&(Q=$.stateNode,U=null),$=$.child,$!==null))for(SW($,U,Q),$=$.sibling;$!==null;)SW($,U,Q),$=$.sibling}function vZ($,U,Q){var F=$.tag;if(F===5||F===6)$=$.stateNode,U?Q.insertBefore($,U):Q.appendChild($);else if(F!==4&&(F===27&&jI($.type)&&(Q=$.stateNode),$=$.child,$!==null))for(vZ($,U,Q),$=$.sibling;$!==null;)vZ($,U,Q),$=$.sibling}function vN($){for(var U,Q=$.return;Q!==null;){if($T(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=qW($),vZ($,Q,U);break;case 5:Q=U.stateNode,U.flags&32&&(YP(Q),U.flags&=-33),U=qW($),vZ($,U,Q);break;case 3:case 4:U=U.stateNode.containerInfo,Q=qW($),SW($,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 UT($){var{stateNode:U,memoizedProps:Q}=$;try{J0($,L3,$.type,Q,U,$)}catch(F){a$($,$.return,F)}}function IT($,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 NN($,U){if($=$.containerInfo,q9=tV,$=MA($),zD($)){if("selectionStart"in $)var Q={start:$.selectionStart,end:$.selectionEnd};else $:{Q=(Q=$.ownerDocument)&&Q.defaultView||window;var F=Q.getSelection&&Q.getSelection();if(F&&F.rangeCount!==0){Q=F.anchorNode;var{anchorOffset:M,focusNode:_}=F;F=F.focusOffset;try{Q.nodeType,_.nodeType}catch(z$){Q=null;break $}var k=0,f=-1,m=-1,o=0,P0=0,_0=$,K0=null;U:for(;;){for(var k0;;){if(_0!==Q||M!==0&&_0.nodeType!==3||(f=k+M),_0!==_||F!==0&&_0.nodeType!==3||(m=k+F),_0.nodeType===3&&(k+=_0.nodeValue.length),(k0=_0.firstChild)===null)break;K0=_0,_0=k0}for(;;){if(_0===$)break U;if(K0===Q&&++o===M&&(f=k),K0===_&&++P0===F&&(m=k),(k0=_0.nextSibling)!==null)break;_0=K0,K0=_0.parentNode}_0=k0}Q=f===-1||m===-1?null:{start:f,end:m}}else Q=null}Q=Q||{start:0,end:0}}else Q=null;S9={focusedElem:$,selectionRange:Q},tV=!1;for(D6=U;D6!==null;)if(U=D6,$=U.child,(U.subtreeFlags&1028)!==0&&$!==null)$.return=U,D6=$;else for(;D6!==null;){switch($=U=D6,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&&SN($,Q);break;case 3:if((M&1024)!==0){if($=$.stateNode.containerInfo,Q=$.nodeType,Q===9)oW($);else if(Q===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":oW($);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,D6=$;break}D6=U.return}}function XT($,U,Q){var F=U4(),M=I1(),_=J1(),k=Q1(),f=Q.flags;switch(Q.tag){case 0:case 11:case 15:z1($,Q),f&4&&iC(Q,D4|N4);break;case 1:if(z1($,Q),f&4)if($=Q.stateNode,U===null)Q.type.defaultProps||"ref"in Q.memoizedProps||GQ||($.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")),Z1(Q)?(G1(),J0(Q,iK,Q,$),Y1()):J0(Q,iK,Q,$);else{var m=jX(Q.type,U.memoizedProps);U=U.memoizedState,Q.type.defaultProps||"ref"in Q.memoizedProps||GQ||($.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")),Z1(Q)?(G1(),J0(Q,o_,Q,$,m,U,$.__reactInternalSnapshotBeforeUpdate),Y1()):J0(Q,o_,Q,$,m,U,$.__reactInternalSnapshotBeforeUpdate)}f&64&&tC(Q),f&512&&gY(Q,Q.return);break;case 3:if(U=b1(),z1($,Q),f&64&&(f=Q.updateQueue,f!==null)){if(m=null,Q.child!==null)switch(Q.child.tag){case 27:case 5:m=Q.child.stateNode;break;case 1:m=Q.child.stateNode}try{J0(Q,sA,f,m)}catch(P0){a$(Q,Q.return,P0)}}$.effectDuration+=XZ(U);break;case 27:U===null&&f&4&&UT(Q);case 26:case 5:if(z1($,Q),U===null){if(f&4)eC(Q);else if(f&64){$=Q.type,U=Q.memoizedProps,m=Q.stateNode;try{J0(Q,$3,m,$,U,Q)}catch(P0){a$(Q,Q.return,P0)}}}f&512&&gY(Q,Q.return);break;case 12:if(f&4){f=b1(),z1($,Q),$=Q.stateNode,$.effectDuration+=PY(f);try{J0(Q,sC,Q,U,wI,$.effectDuration)}catch(P0){a$(Q,Q.return,P0)}}else z1($,Q);break;case 31:z1($,Q),f&4&&YT($,Q);break;case 13:z1($,Q),f&4&>($,Q),f&64&&($=Q.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(f=hN.bind(null,Q),K3($,f))));break;case 22:if(f=Q.memoizedState!==null||UI,!f){U=U!==null&&U.memoizedState!==null||I6,m=UI;var o=I6;UI=f,(I6=U)&&!o?(D1($,Q,(Q.subtreeFlags&8772)!==0),(Q.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&o2(Q,A$,C$)):z1($,Q),UI=m,I6=o}break;case 30:break;default:z1($,Q)}(Q.mode&N$)!==T$&&0<=A$&&0<=C$&&((wU||0.05<NU)&&$1(Q,A$,C$,NU,SU),Q.alternate===null&&Q.return!==null&&Q.return.alternate!==null&&0.05<C$-A$&&(IT(Q.return.alternate,Q.return)||e4(Q,A$,C$,"Mount"))),I4(F),X1(M),SU=_,wU=k}function JT($){var U=$.alternate;U!==null&&($.alternate=null,JT(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 p1($,U,Q){for(Q=Q.child;Q!==null;)QT($,U,Q),Q=Q.sibling}function QT($,U,Q){if(T6&&typeof T6.onCommitFiberUnmount==="function")try{T6.onCommitFiberUnmount(yJ,Q)}catch(o){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",o))}var F=U4(),M=I1(),_=J1(),k=Q1();switch(Q.tag){case 26:I6||V1(Q,U),p1($,U,Q),Q.memoizedState?Q.memoizedState.count--:Q.stateNode&&($=Q.stateNode,$.parentNode.removeChild($));break;case 27:I6||V1(Q,U);var f=X6,m=d6;jI(Q.type)&&(X6=Q.stateNode,d6=!1),p1($,U,Q),J0(Q,lY,Q.stateNode),X6=f,d6=m;break;case 5:I6||V1(Q,U);case 6:if(f=X6,m=d6,X6=null,p1($,U,Q),X6=f,d6=m,X6!==null)if(d6)try{J0(Q,J3,X6,Q.stateNode)}catch(o){a$(Q,U,o)}else try{J0(Q,X3,X6,Q.stateNode)}catch(o){a$(Q,U,o)}break;case 18:X6!==null&&(d6?($=X6,ZP($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,Q.stateNode),xJ($)):ZP(X6,Q.stateNode));break;case 4:f=X6,m=d6,X6=Q.stateNode.containerInfo,d6=!0,p1($,U,Q),X6=f,d6=m;break;case 0:case 11:case 14:case 15:jJ(v6,Q,U),I6||_W(Q,U,D4),p1($,U,Q);break;case 1:I6||(V1(Q,U),f=Q.stateNode,typeof f.componentWillUnmount==="function"&&aC(Q,U,f)),p1($,U,Q);break;case 21:p1($,U,Q);break;case 22:I6=(f=I6)||Q.memoizedState!==null,p1($,U,Q),I6=f;break;default:p1($,U,Q)}(Q.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1(Q,A$,C$,NU,SU),I4(F),X1(M),SU=_,wU=k}function YT($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{J0(U,O3,$)}catch(Q){a$(U,U.return,Q)}}}function GT($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{J0(U,H3,$)}catch(Q){a$(U,U.return,Q)}}function kN($){switch($.tag){case 31:case 13:case 19:var U=$.stateNode;return U===null&&(U=$.stateNode=new kE),U;case 22:return $=$.stateNode,U=$._retryCache,U===null&&(U=$._retryCache=new kE),U;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function NZ($,U){var Q=kN($);U.forEach(function(F){if(!Q.has(F)){if(Q.add(F),M1)if(ZQ!==null&&VQ!==null)uY(VQ,ZQ);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var M=cN.bind(null,$,F);F.then(M,M)}})}function l6($,U){var Q=U.deletions;if(Q!==null)for(var F=0;F<Q.length;F++){var M=$,_=U,k=Q[F],f=U4(),m=_;$:for(;m!==null;){switch(m.tag){case 27:if(jI(m.type)){X6=m.stateNode,d6=!1;break $}break;case 5:X6=m.stateNode,d6=!1;break $;case 3:case 4:X6=m.stateNode.containerInfo,d6=!0;break $}m=m.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.");QT(M,_,k),X6=null,d6=!1,(k.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&e4(k,A$,C$,"Unmount"),I4(f),M=k,_=M.alternate,_!==null&&(_.return=null),M.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)ZT(U,$),U=U.sibling}function ZT($,U){var Q=U4(),F=I1(),M=J1(),_=Q1(),k=$.alternate,f=$.flags;switch($.tag){case 0:case 11:case 14:case 15:l6(U,$),m6($),f&4&&(jJ(v6|N4,$,$.return),xY(v6|N4,$),_W($,$.return,D4|N4));break;case 1:if(l6(U,$),m6($),f&512&&(I6||k===null||V1(k,k.return)),f&64&&UI&&(f=$.updateQueue,f!==null&&(k=f.callbacks,k!==null))){var m=f.shared.hiddenCallbacks;f.shared.hiddenCallbacks=m===null?k:m.concat(k)}break;case 26:if(m=o4,l6(U,$),m6($),f&512&&(I6||k===null||V1(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,m=m.ownerDocument||m;U:switch(f){case"title":if(o=m.getElementsByTagName("title")[0],!o||o[tY]||o[L6]||o.namespaceURI===bJ||o.hasAttribute("itemprop"))o=m.createElement(f),m.head.insertBefore(o,m.querySelector("head > title"));H6(o,f,k),o[L6]=$,W$(o),f=o;break $;case"link":var P0=AP("link","href",m).get(f+(k.href||""));if(P0){for(var _0=0;_0<P0.length;_0++)if(o=P0[_0],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)){P0.splice(_0,1);break U}}o=m.createElement(f),H6(o,f,k),m.head.appendChild(o);break;case"meta":if(P0=AP("meta","content",m).get(f+(k.content||""))){for(_0=0;_0<P0.length;_0++)if(o=P0[_0],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)){P0.splice(_0,1);break U}}o=m.createElement(f),H6(o,f,k),m.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}o[L6]=$,W$(o),f=o}$.stateNode=f}else CP(m,$.type,$.stateNode);else $.stateNode=MP(m,f,$.memoizedProps);else o!==f?(o===null?k.stateNode!==null&&(k=k.stateNode,k.parentNode.removeChild(k)):o.count--,f===null?CP(m,$.type,$.stateNode):MP(m,f,$.memoizedProps)):f===null&&$.stateNode!==null&&jW($,$.memoizedProps,k.memoizedProps)}break;case 27:l6(U,$),m6($),f&512&&(I6||k===null||V1(k,k.return)),k!==null&&f&4&&jW($,$.memoizedProps,k.memoizedProps);break;case 5:if(l6(U,$),m6($),f&512&&(I6||k===null||V1(k,k.return)),$.flags&32){m=$.stateNode;try{J0($,YP,m)}catch(F$){a$($,$.return,F$)}}f&4&&$.stateNode!=null&&(m=$.memoizedProps,jW($,m,k!==null?k.memoizedProps:m)),f&1024&&(G9=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(l6(U,$),m6($),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,m=$.stateNode;try{J0($,I3,m,k,f)}catch(F$){a$($,$.return,F$)}}break;case 3:if(m=b1(),oV=null,o=o4,o4=bZ(U.containerInfo),l6(U,$),o4=o,m6($),f&4&&k!==null&&k.memoizedState.isDehydrated)try{J0($,F3,U.containerInfo)}catch(F$){a$($,$.return,F$)}G9&&(G9=!1,VT($)),U.effectDuration+=XZ(m);break;case 4:f=o4,o4=bZ($.stateNode.containerInfo),l6(U,$),m6($),o4=f;break;case 12:f=b1(),l6(U,$),m6($),$.stateNode.effectDuration+=PY(f);break;case 31:l6(U,$),m6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,NZ($,f)));break;case 13:l6(U,$),m6($),$.child.flags&8192&&$.memoizedState!==null!==(k!==null&&k.memoizedState!==null)&&(kV=V6()),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,NZ($,f)));break;case 22:m=$.memoizedState!==null;var K0=k!==null&&k.memoizedState!==null,k0=UI,z$=I6;if(UI=k0||m,I6=z$||K0,l6(U,$),I6=z$,UI=k0,K0&&!m&&!k0&&!z$&&($.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&o2($,A$,C$),m6($),f&8192)$:for(U=$.stateNode,U._visibility=m?U._visibility&~QG:U._visibility|QG,!m||k===null||K0||UI||I6||(qX($),($.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&e4($,A$,C$,"Disconnect")),k=null,U=$;;){if(U.tag===5||U.tag===26){if(k===null){K0=k=U;try{o=K0.stateNode,m?J0(K0,Y3,o):J0(K0,V3,K0.stateNode,K0.memoizedProps)}catch(F$){a$(K0,K0.return,F$)}}}else if(U.tag===6){if(k===null){K0=U;try{P0=K0.stateNode,m?J0(K0,G3,P0):J0(K0,z3,P0,K0.memoizedProps)}catch(F$){a$(K0,K0.return,F$)}}}else if(U.tag===18){if(k===null){K0=U;try{_0=K0.stateNode,m?J0(K0,Q3,_0):J0(K0,Z3,K0.stateNode)}catch(F$){a$(K0,K0.return,F$)}}}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,NZ($,k))));break;case 19:l6(U,$),m6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,NZ($,f)));break;case 30:break;case 21:break;default:l6(U,$),m6($)}($.mode&N$)!==T$&&0<=A$&&0<=C$&&((wU||0.05<NU)&&$1($,A$,C$,NU,SU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<C$-A$&&(IT($.return.alternate,$.return)||e4($,A$,C$,"Mount"))),I4(Q),X1(F),SU=M,wU=_}function m6($){var U=$.flags;if(U&2){try{J0($,vN,$)}catch(Q){a$($,$.return,Q)}$.flags&=-3}U&4096&&($.flags&=-4097)}function VT($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var U=$;VT(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),$=$.sibling}}function z1($,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)XT($,U.alternate,U),U=U.sibling}function zT($){var U=U4(),Q=I1(),F=J1(),M=Q1();switch($.tag){case 0:case 11:case 14:case 15:_W($,$.return,D4),qX($);break;case 1:V1($,$.return);var _=$.stateNode;typeof _.componentWillUnmount==="function"&&aC($,$.return,_),qX($);break;case 27:J0($,lY,$.stateNode);case 26:case 5:V1($,$.return),qX($);break;case 22:$.memoizedState===null&&qX($);break;case 30:qX($);break;default:qX($)}($.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1($,A$,C$,NU,SU),I4(U),X1(Q),SU=F,wU=M}function qX($){for($=$.child;$!==null;)zT($),$=$.sibling}function DT($,U,Q,F){var M=U4(),_=I1(),k=J1(),f=Q1(),m=Q.flags;switch(Q.tag){case 0:case 11:case 15:D1($,Q,F),iC(Q,D4);break;case 1:if(D1($,Q,F),U=Q.stateNode,typeof U.componentDidMount==="function"&&J0(Q,iK,Q,U),U=Q.updateQueue,U!==null){$=Q.stateNode;try{J0(Q,FN,U,$)}catch(o){a$(Q,Q.return,o)}}F&&m&64&&tC(Q),gY(Q,Q.return);break;case 27:UT(Q);case 26:case 5:D1($,Q,F),F&&U===null&&m&4&&eC(Q),gY(Q,Q.return);break;case 12:if(F&&m&4){m=b1(),D1($,Q,F),F=Q.stateNode,F.effectDuration+=PY(m);try{J0(Q,sC,Q,U,wI,F.effectDuration)}catch(o){a$(Q,Q.return,o)}}else D1($,Q,F);break;case 31:D1($,Q,F),F&&m&4&&YT($,Q);break;case 13:D1($,Q,F),F&&m&4&>($,Q);break;case 22:Q.memoizedState===null&&D1($,Q,F),gY(Q,Q.return);break;case 30:break;default:D1($,Q,F)}(Q.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1(Q,A$,C$,NU,SU),I4(M),X1(_),SU=k,wU=f}function D1($,U,Q){Q=Q&&(U.subtreeFlags&8772)!==0;for(U=U.child;U!==null;)DT($,U.alternate,U,Q),U=U.sibling}function RW($,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&&TX($),Q!=null&&TY(Q))}function BW($,U){$=null,U.alternate!==null&&($=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==$&&(TX(U),$!=null&&TY($))}function c4($,U,Q,F,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(U=U.child;U!==null;){var _=U.sibling;WT($,U,Q,F,_!==null?_.actualStartTime:M),U=_}}function WT($,U,Q,F,M){var _=U4(),k=I1(),f=J1(),m=Q1(),o=NI,P0=U.flags;switch(U.tag){case 0:case 11:case 15:(U.mode&N$)!==T$&&0<U.actualStartTime&&(U.flags&1)!==0&&i2(U,U.actualStartTime,M,Y6,Q),c4($,U,Q,F,M),P0&2048&&rC(U,N6|N4);break;case 1:(U.mode&N$)!==T$&&0<U.actualStartTime&&((U.flags&128)!==0?WD(U,U.actualStartTime,M,[]):(U.flags&1)!==0&&i2(U,U.actualStartTime,M,Y6,Q)),c4($,U,Q,F,M);break;case 3:var _0=b1(),K0=Y6;Y6=U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)===0,c4($,U,Q,F,M),Y6=K0,P0&2048&&(Q=null,U.alternate!==null&&(Q=U.alternate.memoizedState.cache),F=U.memoizedState.cache,F!==Q&&(TX(F),Q!=null&&TY(Q))),$.passiveEffectDuration+=XZ(_0);break;case 12:if(P0&2048){P0=b1(),c4($,U,Q,F,M),$=U.stateNode,$.passiveEffectDuration+=PY(P0);try{J0(U,BN,U,U.alternate,wI,$.passiveEffectDuration)}catch(k0){a$(U,U.return,k0)}}else c4($,U,Q,F,M);break;case 31:P0=Y6,_0=U.alternate!==null?U.alternate.memoizedState:null,K0=U.memoizedState,_0!==null&&K0===null?(K0=U.deletions,K0!==null&&0<K0.length&&K0[0].tag===18?(Y6=!1,_0=_0.hydrationErrors,_0!==null&&WD(U,U.actualStartTime,M,_0)):Y6=!0):Y6=!1,c4($,U,Q,F,M),Y6=P0;break;case 13:P0=Y6,_0=U.alternate!==null?U.alternate.memoizedState:null,K0=U.memoizedState,_0===null||_0.dehydrated===null||K0!==null&&K0.dehydrated!==null?Y6=!1:(K0=U.deletions,K0!==null&&0<K0.length&&K0[0].tag===18?(Y6=!1,_0=_0.hydrationErrors,_0!==null&&WD(U,U.actualStartTime,M,_0)):Y6=!0),c4($,U,Q,F,M),Y6=P0;break;case 23:break;case 22:K0=U.stateNode,_0=U.alternate,U.memoizedState!==null?K0._visibility&d1?c4($,U,Q,F,M):wY($,U,Q,F,M):K0._visibility&d1?c4($,U,Q,F,M):(K0._visibility|=d1,qJ($,U,Q,F,(U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child),M),(U.mode&N$)===T$||Y6||($=U.actualStartTime,0<=$&&0.05<M-$&&o2(U,$,M),0<=A$&&0<=C$&&0.05<C$-A$&&o2(U,A$,C$))),P0&2048&&RW(_0,U);break;case 24:c4($,U,Q,F,M),P0&2048&&BW(U.alternate,U);break;default:c4($,U,Q,F,M)}if((U.mode&N$)!==T$){if($=!Y6&&U.alternate===null&&U.return!==null&&U.return.alternate!==null)Q=U.actualStartTime,0<=Q&&0.05<M-Q&&e4(U,Q,M,"Mount");0<=A$&&0<=C$&&((wU||0.05<NU)&&$1(U,A$,C$,NU,SU),$&&0.05<C$-A$&&e4(U,A$,C$,"Mount"))}I4(_),X1(k),SU=f,wU=m,NI=o}function qJ($,U,Q,F,M,_){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;KT($,U,Q,F,M,k!==null?k.actualStartTime:_),U=k}}function KT($,U,Q,F,M,_){var k=U4(),f=I1(),m=J1(),o=Q1(),P0=NI;M&&(U.mode&N$)!==T$&&0<U.actualStartTime&&(U.flags&1)!==0&&i2(U,U.actualStartTime,_,Y6,Q);var _0=U.flags;switch(U.tag){case 0:case 11:case 15:qJ($,U,Q,F,M,_),rC(U,N6);break;case 23:break;case 22:var K0=U.stateNode;U.memoizedState!==null?K0._visibility&d1?qJ($,U,Q,F,M,_):wY($,U,Q,F,_):(K0._visibility|=d1,qJ($,U,Q,F,M,_)),M&&_0&2048&&RW(U.alternate,U);break;case 24:qJ($,U,Q,F,M,_),M&&_0&2048&&BW(U.alternate,U);break;default:qJ($,U,Q,F,M,_)}(U.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1(U,A$,C$,NU,SU),I4(k),X1(f),SU=m,wU=o,NI=P0}function wY($,U,Q,F,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(var _=U.child;_!==null;){U=_.sibling;var k=$,f=Q,m=F,o=U!==null?U.actualStartTime:M,P0=NI;(_.mode&N$)!==T$&&0<_.actualStartTime&&(_.flags&1)!==0&&i2(_,_.actualStartTime,o,Y6,f);var _0=_.flags;switch(_.tag){case 22:wY(k,_,f,m,o),_0&2048&&RW(_.alternate,_);break;case 24:wY(k,_,f,m,o),_0&2048&&BW(_.alternate,_);break;default:wY(k,_,f,m,o)}NI=P0,_=U}}function SJ($,U,Q){if($.subtreeFlags&jG)for($=$.child;$!==null;)FT($,U,Q),$=$.sibling}function FT($,U,Q){switch($.tag){case 26:SJ($,U,Q),$.flags&jG&&$.memoizedState!==null&&C3(Q,o4,$.memoizedState,$.memoizedProps);break;case 5:SJ($,U,Q);break;case 3:case 4:var F=o4;o4=bZ($.stateNode.containerInfo),SJ($,U,Q),o4=F;break;case 22:$.memoizedState===null&&(F=$.alternate,F!==null&&F.memoizedState!==null?(F=jG,jG=16777216,SJ($,U,Q),jG=F):SJ($,U,Q));break;default:SJ($,U,Q)}}function OT($){var U=$.alternate;if(U!==null&&($=U.child,$!==null)){U.child=null;do U=$.sibling,$.sibling=null,$=U;while($!==null)}}function fY($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var F=U[Q],M=U4();D6=F,MT(F,$),(F.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&e4(F,A$,C$,"Unmount"),I4(M)}OT($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)HT($),$=$.sibling}function HT($){var U=U4(),Q=I1(),F=J1(),M=Q1();switch($.tag){case 0:case 11:case 15:fY($),$.flags&2048&&EW($,$.return,N6|N4);break;case 3:var _=b1();fY($),$.stateNode.passiveEffectDuration+=XZ(_);break;case 12:_=b1(),fY($),$.stateNode.passiveEffectDuration+=PY(_);break;case 22:_=$.stateNode,$.memoizedState!==null&&_._visibility&d1&&($.return===null||$.return.tag!==13)?(_._visibility&=~d1,kZ($),($.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&e4($,A$,C$,"Disconnect")):fY($);break;default:fY($)}($.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1($,A$,C$,NU,SU),I4(U),X1(Q),wU=M,SU=F}function kZ($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var F=U[Q],M=U4();D6=F,MT(F,$),(F.mode&N$)!==T$&&0<=A$&&0<=C$&&0.05<C$-A$&&e4(F,A$,C$,"Unmount"),I4(M)}OT($)}for($=$.child;$!==null;)LT($),$=$.sibling}function LT($){var U=U4(),Q=I1(),F=J1(),M=Q1();switch($.tag){case 0:case 11:case 15:EW($,$.return,N6),kZ($);break;case 22:var _=$.stateNode;_._visibility&d1&&(_._visibility&=~d1,kZ($));break;default:kZ($)}($.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1($,A$,C$,NU,SU),I4(U),X1(Q),wU=M,SU=F}function MT($,U){for(;D6!==null;){var Q=D6,F=Q,M=U,_=U4(),k=I1(),f=J1(),m=Q1();switch(F.tag){case 0:case 11:case 15:EW(F,M,N6);break;case 23:case 22:F.memoizedState!==null&&F.memoizedState.cachePool!==null&&(M=F.memoizedState.cachePool.pool,M!=null&&TX(M));break;case 24:TY(F.memoizedState.cache)}if((F.mode&N$)!==T$&&0<=A$&&0<=C$&&(wU||0.05<NU)&&$1(F,A$,C$,NU,SU),I4(_),X1(k),wU=m,SU=f,F=Q.child,F!==null)F.return=Q,D6=F;else $:for(Q=$;D6!==null;){if(F=D6,_=F.sibling,k=F.return,JT(F),F===Q){D6=null;break $}if(_!==null){_.return=k,D6=_;break $}D6=k}}}function xN(){$x.forEach(function($){return $()})}function AT(){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)!==W6&&x$!==0)return x$&-x$;var U=y0.T;return U!==null?(U._updatedFibers||(U._updatedFibers=new Set),U._updatedFibers.add($),yW()):X0()}function CT(){if(o6===0)if((x$&536870912)===0||p$){var $=aZ;aZ<<=1,(aZ&3932160)===0&&(aZ=262144),o6=$}else o6=536870912;return $=z4.current,$!==null&&($.flags|=32),o6}function gU($,U,Q){if(WQ&&console.error("useInsertionEffect must not schedule updates."),M9&&(fV=!0),$===ZU&&(IU===cX||IU===pX)||$.cancelPendingCommit!==null)BJ($,0),_I($,x$,o6,!1);if(c0($,Q),(n$&G6)!==W6&&$===ZU){if(H1)switch(U.tag){case 0:case 11:case 15:$=w$&&t(w$)||"Unknown",oE.has($)||(oE.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:nE||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),nE=!0)}}else M1&&o0($,U,Q),lN(U),$===ZU&&((n$&G6)===W6&&(mI|=Q),kU===cI&&_I($,x$,o6,!1)),W1($)}function TT($,U,Q){if((n$&(G6|W4))!==W6)throw Error("Should not already be working.");if(x$!==0&&w$!==null){var F=w$,M=V6();switch(b_){case RG:case cX:var _=DG;AU&&((F=F._debugTask)?F.run(console.timeStamp.bind(console,"Suspended",_,M,_4,void 0,"primary-light")):console.timeStamp("Suspended",_,M,_4,void 0,"primary-light"));break;case pX:_=DG,AU&&((F=F._debugTask)?F.run(console.timeStamp.bind(console,"Action",_,M,_4,void 0,"primary-light")):console.timeStamp("Action",_,M,_4,void 0,"primary-light"));break;default:AU&&(F=M-DG,3>F||console.timeStamp("Blocked",DG,M,_4,void 0,5>F?"primary-light":10>F?"primary":100>F?"primary-dark":"error"))}}_=(Q=!Q&&(U&127)===0&&(U&$.expiredLanes)===0||M0($,U))?wN($,U):NW($,U,!0);var k=Q;do{if(_===II){zQ&&!Q&&_I($,U,0,!1),U=IU,DG=eU(),b_=U;break}else{if(F=V6(),M=$.current.alternate,k&&!gN(M)){e6(U),M=z6,_=F,!AU||_<=M||(dU?dU.run(console.timeStamp.bind(console,"Teared Render",M,_,b$,u$,"error")):console.timeStamp("Teared Render",M,_,b$,u$,"error")),SX(U,F),_=NW($,U,!1),k=!1;continue}if(_===hX){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),KD(z6,F,U,dU),SX(U,F),U=f;$:{F=$,_=k,k=vG;var m=F.current.memoizedState.isDehydrated;if(m&&(BJ(F,f).flags|=256),f=NW(F,f,!1),f!==hX){if(z9&&!m){F.errorRecoveryDisabledLanes|=_,mI|=_,_=cI;break $}F=k6,k6=k,F!==null&&(k6===null?k6=F:k6.push.apply(k6,F))}_=f}if(k=!1,_!==hX)continue;else F=V6()}}if(_===SG){e6(U),KD(z6,F,U,dU),SX(U,F),BJ($,0),_I($,U,0,!0);break}$:{switch(Q=$,_){case II:case SG:throw Error("Root did not complete. This is a bug in React.");case cI:if((U&4194048)!==U)break;case RV:e6(U),TA(z6,F,U,dU),SX(U,F),M=U,(M&127)!==0?KV=F:(M&4194048)!==0&&(FV=F),_I(Q,U,o6,!pI);break $;case hX:k6=null;break;case SV:case xE:break;default:throw Error("Unknown root exit status.")}if(y0.actQueue!==null)kW(Q,M,U,k6,NG,NV,o6,mI,lX,_,null,null,z6,F);else{if((U&62914560)===U&&(k=kV+fE-V6(),10<k)){if(_I(Q,U,o6,!pI),U$(Q,0,!0)!==0)break $;i4=U,Q.timeoutHandle=Uj(PT.bind(null,Q,M,k6,NG,NV,U,o6,mI,lX,pI,_,"Throttled",z6,F),k);break $}PT(Q,M,k6,NG,NV,U,o6,mI,lX,pI,_,null,z6,F)}}}break}while(1);W1($)}function PT($,U,Q,F,M,_,k,f,m,o,P0,_0,K0,k0){$.timeoutHandle=iX;var z$=U.subtreeFlags,F$=null;if(z$&8192||(z$&16785408)===16785408){if(F$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:w1},FT(U,_,F$),z$=(_&62914560)===_?kV-V6():(_&4194048)===_?wE-V6():0,z$=T3(F$,z$),z$!==null){i4=_,$.cancelPendingCommit=z$(kW.bind(null,$,U,_,Q,F,M,k,f,m,P0,F$,F$.waitingForViewTransition?"Waiting for the previous Animation":0<F$.count?0<F$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":F$.imgCount===1?"Suspended on an Image":0<F$.imgCount?"Suspended on Images":null,K0,k0)),_I($,_,k,!o);return}}kW($,U,_,Q,F,M,k,f,m,P0,F$,_0,K0,k0)}function gN($){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 F=0;F<Q.length;F++){var M=Q[F],_=M.getSnapshot;M=M.value;try{if(!R6(_(),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 _I($,U,Q,F){U&=~D9,U&=~mI,$.suspendedLanes|=U,$.pingedLanes&=~U,F&&($.warmLanes|=U),F=$.expirationTimes;for(var M=U;0<M;){var _=31-j6(M),k=1<<_;F[_]=-1,M&=~k}Q!==0&&b0($,Q,U)}function RJ(){return(n$&(G6|W4))===W6?(bY(0,!1),!1):!0}function vW(){if(w$!==null){if(IU===n6)var $=w$.return;else $=w$,$Z(),cD($),UQ=null,CG=0,$=w$;for(;$!==null;)oC($.alternate,$),$=$.return;w$=null}}function SX($,U){($&127)!==0&&(fI=U),($&4194048)!==0&&(_1=U),($&62914560)!==0&&(y_=U),($&2080374784)!==0&&(u_=U)}function BJ($,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(),x$!==0&&0<Q){if(e6(x$),kU===SV||kU===cI)TA(Q,z6,U,dU);else{var F=z6,M=dU;if(AU&&!(F<=Q)){var _=(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,F,b$,u$,_)):console.timeStamp(k,Q,F,b$,u$,_)}}SX(x$,z6)}if(Q=dU,dU=null,(U&127)!==0){dU=ZG,M=0<=P1&&P1<fI?fI:P1,F=0<=kX&&kX<fI?fI:kX,_=0<=F?F:0<=M?M:z6,0<=KV?(e6(2),PA(KV,_,U,Q)):(OV&127)!==0&&(e6(2),AY(fI,_,a1)),Q=M;var f=F,m=VG,o=0<sJ,P0=yI===GG,_0=yI===WV;if(M=z6,F=ZG,_=lK,k=mK,AU){if(b$="Blocking",0<Q?Q>M&&(Q=M):Q=M,0<f?f>Q&&(f=Q):f=Q,m!==null&&Q>f){var K0=o?"secondary-light":"warning";F?F.run(console.timeStamp.bind(console,o?"Consecutive":"Event: "+m,f,Q,b$,u$,K0)):console.timeStamp(o?"Consecutive":"Event: "+m,f,Q,b$,u$,K0)}M>Q&&(f=P0?"error":(U&738197653)===U?"tertiary-light":"primary-light",P0=_0?"Promise Resolved":P0?"Cascading Update":5<M-Q?"Update Blocked":"Update",_0=[],k!=null&&_0.push(["Component name",k]),_!=null&&_0.push(["Method name",_]),Q={start:Q,end:M,detail:{devtools:{properties:_0,track:b$,trackGroup:u$,color:f}}},F?F.run(performance.measure.bind(performance,P0,Q)):performance.measure(P0,Q))}P1=-1.1,yI=0,mK=lK=null,KV=-1.1,sJ=kX,kX=-1.1,fI=eU()}if((U&4194048)!==0&&(dU=zG,M=0<=t1&&t1<_1?_1:t1,Q=0<=B4&&B4<_1?_1:B4,F=0<=uI&&uI<_1?_1:uI,_=0<=F?F:0<=Q?Q:z6,0<=FV?(e6(256),PA(FV,_,U,dU)):(OV&4194048)!==0&&(e6(256),AY(_1,_,a1)),_0=F,f=xX,m=0<bI,o=dK===WV,_=z6,F=zG,k=w_,P0=f_,AU&&(b$="Transition",0<Q?Q>_&&(Q=_):Q=_,0<M?M>Q&&(M=Q):M=Q,0<_0?_0>M&&(_0=M):_0=M,M>_0&&f!==null&&(K0=m?"secondary-light":"warning",F?F.run(console.timeStamp.bind(console,m?"Consecutive":"Event: "+f,_0,M,b$,u$,K0)):console.timeStamp(m?"Consecutive":"Event: "+f,_0,M,b$,u$,K0)),Q>M&&(F?F.run(console.timeStamp.bind(console,"Action",M,Q,b$,u$,"primary-dark")):console.timeStamp("Action",M,Q,b$,u$,"primary-dark")),_>Q&&(M=o?"Promise Resolved":5<_-Q?"Update Blocked":"Update",_0=[],P0!=null&&_0.push(["Component name",P0]),k!=null&&_0.push(["Method name",k]),Q={start:Q,end:_,detail:{devtools:{properties:_0,track:b$,trackGroup:u$,color:"primary-light"}}},F?F.run(performance.measure.bind(performance,M,Q)):performance.measure(M,Q))),B4=t1=-1.1,dK=0,FV=-1.1,bI=uI,uI=-1.1,_1=eU()),(U&62914560)!==0&&(OV&62914560)!==0&&(e6(4194304),AY(y_,z6,a1)),(U&2080374784)!==0&&(OV&2080374784)!==0&&(e6(268435456),AY(u_,z6,a1)),Q=$.timeoutHandle,Q!==iX&&($.timeoutHandle=iX,Kx(Q)),Q=$.cancelPendingCommit,Q!==null&&($.cancelPendingCommit=null,Q()),i4=0,vW(),ZU=$,w$=Q=f1($.current,null),x$=U,IU=n6,K4=null,pI=!1,zQ=M0($,U),z9=!1,kU=II,lX=o6=D9=mI=lI=0,k6=vG=null,NV=!1,(U&8)!==0&&(U|=U&32),F=$.entangledLanes,F!==0)for($=$.entanglements,F&=U;0<F;)M=31-j6(F),_=1<<M,U|=$[M],F&=~_;return j1=U,r2(),$=B_(),1000<$-R_&&(y0.recentlyCreatedOwnerStacks=0,R_=$),d4.discardPendingWarnings(),Q}function _T($,U){P$=null,y0.H=EG,y0.getCurrentStack=null,H1=!1,G4=null,U===$Q||U===AV?(U=mA(),IU=RG):U===rK?(U=mA(),IU=gE):IU=U===Q9?V9:U!==null&&typeof U==="object"&&typeof U.then==="function"?BG:BV,K4=U;var Q=w$;Q===null?(kU=SG,jZ($,$4(U,$.current))):Q.mode&N$&&RD(Q)}function ET(){var $=z4.current;return $===null?!0:(x$&4194048)===x$?v4===null?!0:!1:(x$&62914560)===x$||(x$&536870912)!==0?$===v4:!1}function jT(){var $=y0.H;return y0.H=EG,$===null?EG:$}function qT(){var $=y0.A;return y0.A=ek,$}function xZ($){dU===null&&(dU=$._debugTask==null?null:$._debugTask)}function gZ(){kU=cI,pI||(x$&4194048)!==x$&&z4.current!==null||(zQ=!0),(lI&134217727)===0&&(mI&134217727)===0||ZU===null||_I(ZU,x$,o6,!1)}function NW($,U,Q){var F=n$;n$|=G6;var M=jT(),_=qT();if(ZU!==$||x$!==U){if(M1){var k=$.memoizedUpdaters;0<k.size&&(uY($,x$),k.clear()),PU($,U)}NG=null,BJ($,U)}U=!1,k=kU;$:do try{if(IU!==n6&&w$!==null){var f=w$,m=K4;switch(IU){case V9:vW(),k=RV;break $;case RG:case cX:case pX:case BG:z4.current===null&&(U=!0);var o=IU;if(IU=n6,K4=null,vJ($,f,m,o),Q&&zQ){k=II;break $}break;default:o=IU,IU=n6,K4=null,vJ($,f,m,o)}}ST(),k=kU;break}catch(P0){_T($,P0)}while(1);return U&&$.shellSuspendCounter++,$Z(),n$=F,y0.H=M,y0.A=_,w$===null&&(ZU=null,x$=0,r2()),k}function ST(){for(;w$!==null;)RT(w$)}function wN($,U){var Q=n$;n$|=G6;var F=jT(),M=qT();if(ZU!==$||x$!==U){if(M1){var _=$.memoizedUpdaters;0<_.size&&(uY($,x$),_.clear()),PU($,U)}NG=null,xV=V6()+yE,BJ($,U)}else zQ=M0($,U);$:do try{if(IU!==n6&&w$!==null)U:switch(U=w$,_=K4,IU){case BV:IU=n6,K4=null,vJ($,U,_,BV);break;case cX:case pX:if(pA(_)){IU=n6,K4=null,BT(U);break}U=function(){IU!==cX&&IU!==pX||ZU!==$||(IU=vV),W1($)},_.then(U,U);break $;case RG:IU=vV;break $;case gE:IU=Z9;break $;case vV:pA(_)?(IU=n6,K4=null,BT(U)):(IU=n6,K4=null,vJ($,U,_,vV));break;case Z9:var k=null;switch(w$.tag){case 26:k=w$.memoizedState;case 5:case 27:var f=w$;if(k?TP(k):f.stateNode.complete){IU=n6,K4=null;var m=f.sibling;if(m!==null)w$=m;else{var o=f.return;o!==null?(w$=o,wZ(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,K4=null,vJ($,U,_,Z9);break;case BG:IU=n6,K4=null,vJ($,U,_,BG);break;case V9:vW(),kU=RV;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}y0.actQueue!==null?ST():fN();break}catch(P0){_T($,P0)}while(1);if($Z(),y0.H=F,y0.A=M,n$=Q,w$!==null)return II;return ZU=null,x$=0,r2(),kU}function fN(){for(;w$!==null&&!g3();)RT(w$)}function RT($){var U=$.alternate;($.mode&N$)!==T$?(SD($),U=J0($,TW,U,$,j1),RD($)):U=J0($,TW,U,$,j1),$.memoizedProps=$.pendingProps,U===null?wZ($):w$=U}function BT($){var U=J0($,yN,$);$.memoizedProps=$.pendingProps,U===null?wZ($):w$=U}function yN($){var U=$.alternate,Q=($.mode&N$)!==T$;switch(Q&&SD($),$.tag){case 15:case 0:U=hC(U,$,$.pendingProps,$.type,void 0,x$);break;case 11:U=hC(U,$,$.pendingProps,$.type.render,$.ref,x$);break;case 5:cD($);default:oC(U,$),$=w$=RA($,j1),U=TW(U,$,j1)}return Q&&RD($),U}function vJ($,U,Q,F){$Z(),cD(U),UQ=null,CG=0;var M=U.return;try{if(TN($,M,U,Q,x$)){kU=SG,jZ($,$4(Q,$.current)),w$=null;return}}catch(_){if(M!==null)throw w$=M,_;kU=SG,jZ($,$4(Q,$.current)),w$=null;return}if(U.flags&32768){if(p$||F===BV)$=!0;else if(zQ||(x$&536870912)!==0)$=!1;else if(pI=$=!0,F===cX||F===pX||F===RG||F===BG)F=z4.current,F!==null&&F.tag===13&&(F.flags|=16384);vT(U,$)}else wZ(U)}function wZ($){var U=$;do{if((U.flags&32768)!==0){vT(U,pI);return}var Q=U.alternate;if($=U.return,SD(U),Q=J0(U,EN,Q,U,j1),(U.mode&N$)!==T$&&yA(U),Q!==null){w$=Q;return}if(U=U.sibling,U!==null){w$=U;return}w$=U=$}while(U!==null);kU===II&&(kU=xE)}function vT($,U){do{var Q=jN($.alternate,$);if(Q!==null){Q.flags&=32767,w$=Q;return}if(($.mode&N$)!==T$){yA($),Q=$.actualDuration;for(var F=$.child;F!==null;)Q+=F.actualDuration,F=F.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=RV,w$=null}function kW($,U,Q,F,M,_,k,f,m,o,P0,_0,K0,k0){$.cancelPendingCommit=null;do yY();while(J6!==nI);if(d4.flushLegacyContextWarning(),d4.flushPendingUnsafeLifecycleWarnings(),(n$&(G6|W4))!==W6)throw Error("Should not already be working.");if(e6(Q),o===hX?KD(K0,k0,Q,dU):F!==null?ZN(K0,k0,Q,F,U!==null&&U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)!==0,dU):GN(K0,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(_=U.lanes|U.childLanes,_|=uK,i$($,Q,_,k,f,m),$===ZU&&(w$=ZU=null,x$=0),DQ=U,oI=$,i4=Q,F9=_,H9=M,lE=F,O9=k0,mE=_0,r4=gV,dE=null,U.actualDuration!==0||(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,pN(fJ,function(){return yG=window.event,r4===gV&&(r4=K9),wT(),null})):($.callbackNode=null,$.callbackPriority=0),r1=null,wI=eU(),_0!==null&&VN(k0,wI,_0,dU),F=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||F){F=y0.T,y0.T=null,M=s$.p,s$.p=Z4,k=n$,n$|=W4;try{NN($,U,Q)}finally{n$=k,s$.p=M,y0.T=F}}J6=bE,NT(),kT(),xT()}}function NT(){if(J6===bE){J6=nI;var $=oI,U=DQ,Q=i4,F=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||F){F=y0.T,y0.T=null;var M=s$.p;s$.p=Z4;var _=n$;n$|=W4;try{ZQ=Q,VQ=$,JZ(),ZT(U,$),VQ=ZQ=null,Q=S9;var k=MA($.containerInfo),f=Q.focusedElem,m=Q.selectionRange;if(k!==f&&f&&f.ownerDocument&&LA(f.ownerDocument.documentElement,f)){if(m!==null&&zD(f)){var{start:o,end:P0}=m;if(P0===void 0&&(P0=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(P0,f.value.length);else{var _0=f.ownerDocument||document,K0=_0&&_0.defaultView||window;if(K0.getSelection){var k0=K0.getSelection(),z$=f.textContent.length,F$=Math.min(m.start,z$),FU=m.end===void 0?F$:Math.min(m.end,z$);!k0.extend&&F$>FU&&(k=FU,FU=F$,F$=k);var m$=HA(f,F$),V0=HA(f,FU);if(m$&&V0&&(k0.rangeCount!==1||k0.anchorNode!==m$.node||k0.anchorOffset!==m$.offset||k0.focusNode!==V0.node||k0.focusOffset!==V0.offset)){var F0=_0.createRange();F0.setStart(m$.node,m$.offset),k0.removeAllRanges(),F$>FU?(k0.addRange(F0),k0.extend(V0.node,V0.offset)):(F0.setEnd(V0.node,V0.offset),k0.addRange(F0))}}}}_0=[];for(k0=f;k0=k0.parentNode;)k0.nodeType===1&&_0.push({element:k0,left:k0.scrollLeft,top:k0.scrollTop});typeof f.focus==="function"&&f.focus();for(f=0;f<_0.length;f++){var C0=_0[f];C0.element.scrollLeft=C0.left,C0.element.scrollTop=C0.top}}tV=!!q9,S9=q9=null}finally{n$=_,s$.p=M,y0.T=F}}$.current=U,J6=hE}}function kT(){if(J6===hE){J6=nI;var $=dE;if($!==null){wI=eU();var U=i1,Q=wI;!AU||Q<=U||(a1?a1.run(console.timeStamp.bind(console,$,U,Q,b$,u$,"secondary-light")):console.timeStamp($,U,Q,b$,u$,"secondary-light"))}$=oI,U=DQ,Q=i4;var F=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||F){F=y0.T,y0.T=null;var M=s$.p;s$.p=Z4;var _=n$;n$|=W4;try{ZQ=Q,VQ=$,JZ(),XT($,U.alternate,U),VQ=ZQ=null}finally{n$=_,s$.p=M,y0.T=F}}$=O9,U=mE,i1=eU(),$=U===null?$:wI,U=i1,Q=r4===W9,F=dU,r1!==null?_A($,U,r1,!1,F):!AU||U<=$||(F?F.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=cE}}function xT(){if(J6===pE||J6===cE){if(J6===pE){var $=i1;i1=eU();var U=i1,Q=r4===W9;!AU||U<=$||(a1?a1.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")),r4!==W9&&(r4=uE)}J6=nI,w3(),$=oI;var F=DQ;U=i4,Q=lE;var M=F.actualDuration!==0||(F.subtreeFlags&10256)!==0||(F.flags&10256)!==0;M?J6=wV:(J6=nI,DQ=oI=null,gT($,$.pendingLanes),mX=0,xG=null);var _=$.pendingLanes;if(_===0&&(dI=null),M||bT($),_=l(U),F=F.stateNode,T6&&typeof T6.onCommitFiberRoot==="function")try{var k=(F.current.flags&128)===128;switch(_){case Z4:var f=HK;break;case l4:f=LK;break;case A1:f=fJ;break;case eZ:f=MK;break;default:f=fJ}T6.onCommitFiberRoot(yJ,F,f,k)}catch(_0){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",_0))}if(M1&&$.memoizedUpdaters.clear(),xN(),Q!==null){k=y0.T,f=s$.p,s$.p=Z4,y0.T=null;try{var m=$.onRecoverableError;for(F=0;F<Q.length;F++){var o=Q[F],P0=uN(o.stack);J0(o.source,m,o.value,P0)}}finally{y0.T=k,s$.p=f}}(i4&3)!==0&&yY(),W1($),_=$.pendingLanes,(U&261930)!==0&&(_&42)!==0?(LV=!0,$===L9?kG++:(kG=0,L9=$)):kG=0,M||SX(U,i1),bY(0,!1)}}function uN($){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 gT($,U){($.pooledCacheLanes&=U)===0&&(U=$.pooledCache,U!=null&&($.pooledCache=null,TY(U)))}function yY(){return NT(),kT(),xT(),wT()}function wT(){if(J6!==wV)return!1;var $=oI,U=F9;F9=0;var Q=l(i4),F=A1===0||A1>Q?A1:Q;Q=y0.T;var M=s$.p;try{s$.p=F,y0.T=null;var _=H9;H9=null,F=oI;var k=i4;if(J6=nI,DQ=oI=null,i4=0,(n$&(G6|W4))!==W6)throw Error("Cannot flush passive effects while already rendering.");e6(k),M9=!0,fV=!1;var f=0;if(r1=null,f=V6(),r4===uE)AY(i1,f,a1);else{var m=i1,o=f,P0=r4===K9;!AU||o<=m||(dU?dU.run(console.timeStamp.bind(console,P0?"Waiting for Paint":"Waiting",m,o,b$,u$,"secondary-light")):console.timeStamp(P0?"Waiting for Paint":"Waiting",m,o,b$,u$,"secondary-light"))}m=n$,n$|=W4;var _0=F.current;JZ(),HT(_0);var K0=F.current;_0=O9,JZ(),WT(F,K0,k,_,_0),bT(F),n$=m;var k0=V6();if(K0=f,_0=dU,r1!==null?_A(K0,k0,r1,!0,_0):!AU||k0<=K0||(_0?_0.run(console.timeStamp.bind(console,"Remaining Effects",K0,k0,b$,u$,"secondary-dark")):console.timeStamp("Remaining Effects",K0,k0,b$,u$,"secondary-dark")),SX(k,k0),bY(0,!1),fV?F===xG?mX++:(mX=0,xG=F):mX=0,fV=M9=!1,T6&&typeof T6.onPostCommitFiberRoot==="function")try{T6.onPostCommitFiberRoot(yJ,F)}catch(F$){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",F$))}var z$=F.current.stateNode;return z$.effectDuration=0,z$.passiveEffectDuration=0,!0}finally{s$.p=M,y0.T=Q,gT($,U)}}function fT($,U,Q){U=$4(Q,U),uA(U),U=zW($.stateNode,U,2),$=AI($,U,2),$!==null&&(c0($,2),W1($))}function a$($,U,Q){if(WQ=!1,$.tag===3)fT($,$,Q);else{for(;U!==null;){if(U.tag===3){fT(U,$,Q);return}if(U.tag===1){var F=U.stateNode;if(typeof U.type.getDerivedStateFromError==="function"||typeof F.componentDidCatch==="function"&&(dI===null||!dI.has(F))){$=$4(Q,$),uA($),Q=DW(2),F=AI(U,Q,2),F!==null&&(WW(Q,F,U,$),c0(F,2),W1(F));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 xW($,U,Q){var F=$.pingCache;if(F===null){F=$.pingCache=new Ux;var M=new Set;F.set(U,M)}else M=F.get(U),M===void 0&&(M=new Set,F.set(U,M));M.has(Q)||(z9=!0,M.add(Q),F=bN.bind(null,$,U,Q),M1&&uY($,Q),U.then(F,F))}function bN($,U,Q){var F=$.pingCache;F!==null&&F.delete(U),$.pingedLanes|=$.suspendedLanes&Q,$.warmLanes&=~Q,(Q&127)!==0?0>P1&&(fI=P1=eU(),ZG=DV("Promise Resolved"),yI=WV):(Q&4194048)!==0&&0>B4&&(_1=B4=eU(),zG=DV("Promise Resolved"),dK=WV),AT()&&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`),ZU===$&&(x$&Q)===Q&&(kU===cI||kU===SV&&(x$&62914560)===x$&&V6()-kV<fE?(n$&G6)===W6&&BJ($,0):D9|=Q,lX===x$&&(lX=0)),W1($)}function yT($,U){U===0&&(U=L$()),$=C6($,U),$!==null&&(c0($,U),W1($))}function hN($){var U=$.memoizedState,Q=0;U!==null&&(Q=U.retryLane),yT($,Q)}function cN($,U){var Q=0;switch($.tag){case 31:case 13:var{stateNode:F,memoizedState:M}=$;M!==null&&(Q=M.retryLane);break;case 19:F=$.stateNode;break;case 22:F=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}F!==null&&F.delete(U),yT($,Q)}function gW($,U,Q){if((U.subtreeFlags&67117056)!==0)for(U=U.child;U!==null;){var F=$,M=U,_=M.type===oZ;_=Q||_,M.tag!==22?M.flags&67108864?_&&J0(M,uT,F,M):gW(F,M,_):M.memoizedState===null&&(_&&M.flags&8192?J0(M,uT,F,M):M.subtreeFlags&67108864&&J0(M,gW,F,M,_)),U=U.sibling}}function uT($,U){N0(!0);try{zT(U),LT(U),DT($,U.alternate,U,!1),KT($,U,0,null,!1,0)}finally{N0(!1)}}function bT($){var U=!0;$.current.mode&(P6|m4)||(U=!1),gW($,$.current,U)}function hT($){if((n$&G6)===W6){var U=$.tag;if(U===3||U===1||U===0||U===11||U===14||U===15){if(U=t($)||"ReactComponent",yV!==null){if(yV.has(U))return;yV.add(U)}else yV=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 uY($,U){M1&&$.memoizedUpdaters.forEach(function(Q){o0($,Q,U)})}function pN($,U){var Q=y0.actQueue;return Q!==null?(Q.push(U),Jx):OK($,U)}function lN($){AT()&&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 W1($){$!==KQ&&$.next===null&&(KQ===null?uV=KQ=$:KQ=KQ.next=$),bV=!0,y0.actQueue!==null?C9||(C9=!0,mT()):A9||(A9=!0,mT())}function bY($,U){if(!T9&&bV){T9=!0;do{var Q=!1;for(var F=uV;F!==null;){if(!U)if($!==0){var M=F.pendingLanes;if(M===0)var _=0;else{var{suspendedLanes:k,pingedLanes:f}=F;_=(1<<31-j6(42|$)+1)-1,_&=M&~(k&~f),_=_&201326741?_&201326741|1:_?_|2:0}_!==0&&(Q=!0,lT(F,_))}else _=x$,_=U$(F,F===ZU?_:0,F.cancelPendingCommit!==null||F.timeoutHandle!==iX),(_&3)===0||M0(F,_)||(Q=!0,lT(F,_));F=F.next}}while(Q);T9=!1}}function mN(){yG=window.event,wW()}function wW(){bV=C9=A9=!1;var $=0;iI!==0&&aN()&&($=iI);for(var U=V6(),Q=null,F=uV;F!==null;){var M=F.next,_=cT(F,U);if(_===0)F.next=null,Q===null?uV=M:Q.next=M,M===null&&(KQ=Q);else if(Q=F,$!==0||(_&3)!==0)bV=!0;F=M}J6!==nI&&J6!==wV||bY($,!1),iI!==0&&(iI=0)}function cT($,U){for(var{suspendedLanes:Q,pingedLanes:F,expirationTimes:M}=$,_=$.pendingLanes&-62914561;0<_;){var k=31-j6(_),f=1<<k,m=M[k];if(m===-1){if((f&Q)===0||(f&F)!==0)M[k]=B0(f,U)}else m<=U&&($.expiredLanes|=f);_&=~f}if(U=ZU,Q=x$,Q=U$($,$===U?Q:0,$.cancelPendingCommit!==null||$.timeoutHandle!==iX),F=$.callbackNode,Q===0||$===U&&(IU===cX||IU===pX)||$.cancelPendingCommit!==null)return F!==null&&fW(F),$.callbackNode=null,$.callbackPriority=0;if((Q&3)===0||M0($,Q)){if(U=Q&-Q,U!==$.callbackPriority||y0.actQueue!==null&&F!==P9)fW(F);else return U;switch(l(Q)){case Z4:case l4:Q=LK;break;case A1:Q=fJ;break;case eZ:Q=MK;break;default:Q=fJ}return F=pT.bind(null,$),y0.actQueue!==null?(y0.actQueue.push(F),Q=P9):Q=OK(Q,F),$.callbackPriority=U,$.callbackNode=Q,U}return F!==null&&fW(F),$.callbackPriority=2,$.callbackNode=null,2}function pT($,U){if(LV=HV=!1,yG=window.event,J6!==nI&&J6!==wV)return $.callbackNode=null,$.callbackPriority=0,null;var Q=$.callbackNode;if(r4===gV&&(r4=K9),yY()&&$.callbackNode!==Q)return null;var F=x$;if(F=U$($,$===ZU?F:0,$.cancelPendingCommit!==null||$.timeoutHandle!==iX),F===0)return null;return TT($,F,U),cT($,V6()),$.callbackNode!=null&&$.callbackNode===Q?pT.bind(null,$):null}function lT($,U){if(yY())return null;HV=LV,LV=!1,TT($,U,!0)}function fW($){$!==P9&&$!==null&&x3($)}function mT(){y0.actQueue!==null&&y0.actQueue.push(function(){return wW(),null}),Fx(function(){(n$&(G6|W4))!==W6?OK(HK,mN):wW()})}function yW(){if(iI===0){var $=gX;$===0&&($=tZ,tZ<<=1,(tZ&261888)===0&&(tZ=256)),iI=$}return iI}function dT($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return n($,"action"),HY(""+$)}function nT($,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 dN($,U,Q,F,M){if(U==="submit"&&Q&&Q.stateNode===M){var _=dT((M[q6]||null).action),k=F.submitter;k&&(U=(U=k[q6]||null)?dT(U.formAction):k.getAttribute("formAction"),U!==null&&(_=U,k=null));var f=new JV("action","action",null,F,M);$.push({event:f,listeners:[{instance:null,listener:function(){if(F.defaultPrevented){if(iI!==0){var m=k?nT(M,k):new FormData(M),o={pending:!0,data:m,method:M.method,action:_};Object.freeze(o),XW(Q,o,null,m)}}else typeof _==="function"&&(f.preventDefault(),m=k?nT(M,k):new FormData(M),o={pending:!0,data:m,method:M.method,action:_},Object.freeze(o),XW(Q,o,_,m))},currentTarget:M}]})}}function fZ($,U,Q){$.currentTarget=Q;try{U($)}catch(F){gK(F)}$.currentTarget=null}function oT($,U){U=(U&4)!==0;for(var Q=0;Q<$.length;Q++){var F=$[Q];$:{var M=void 0,_=F.event;if(F=F.listeners,U)for(var k=F.length-1;0<=k;k--){var f=F[k],m=f.instance,o=f.currentTarget;if(f=f.listener,m!==M&&_.isPropagationStopped())break $;m!==null?J0(m,fZ,_,f,o):fZ(_,f,o),M=m}else for(k=0;k<F.length;k++){if(f=F[k],m=f.instance,o=f.currentTarget,f=f.listener,m!==M&&_.isPropagationStopped())break $;m!==null?J0(m,fZ,_,f,o):fZ(_,f,o),M=m}}}}function l$($,U){_9.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var Q=U[AK];Q===void 0&&(Q=U[AK]=new Set);var F=$+"__bubble";Q.has(F)||(iT(U,$,2,!1),Q.add(F))}function uW($,U,Q){_9.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 F=0;U&&(F|=4),iT(Q,$,F,U)}function bW($){if(!$[hV]){$[hV]=!0,mP.forEach(function(Q){Q!=="selectionchange"&&(_9.has(Q)||uW(Q,!1,$),uW(Q,!0,$))});var U=$.nodeType===9?$:$.ownerDocument;U===null||U[hV]||(U[hV]=!0,uW("selectionchange",!1,U))}}function iT($,U,Q,F){switch(SP(U)){case Z4:var M=j3;break;case l4:M=q3;break;default:M=UK}Q=M.bind(null,U,Q,$),M=void 0,!EK||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(M=!0),F?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 hW($,U,Q,F,M){var _=F;if((U&1)===0&&(U&2)===0&&F!==null)$:for(;;){if(F===null)return;var k=F.tag;if(k===3||k===4){var f=F.stateNode.containerInfo;if(f===M)break;if(k===4)for(k=F.return;k!==null;){var m=k.tag;if((m===3||m===4)&&k.stateNode.containerInfo===M)return;k=k.return}for(;f!==null;){if(k=v0(f),k===null)return;if(m=k.tag,m===5||m===6||m===26||m===27){F=_=k;continue $}f=f.parentNode}}F=F.return}QA(function(){var o=_,P0=ZD(Q),_0=[];$:{var K0=S_.get($);if(K0!==void 0){var k0=JV,z$=$;switch($){case"keypress":if(m2(Q)===0)break $;case"keydown":case"keyup":k0=Ck;break;case"focusin":z$="focus",k0=RK;break;case"focusout":z$="blur",k0=RK;break;case"beforeblur":case"afterblur":k0=RK;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=K_;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k0=Zk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k0=_k;break;case __:case E_:case j_:k0=Dk;break;case q_:k0=jk;break;case"scroll":case"scrollend":k0=Yk;break;case"wheel":k0=Sk;break;case"copy":case"cut":case"paste":k0=Kk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k0=O_;break;case"toggle":case"beforetoggle":k0=Bk}var F$=(U&4)!==0,FU=!F$&&($==="scroll"||$==="scrollend"),m$=F$?K0!==null?K0+"Capture":null:K0;F$=[];for(var V0=o,F0;V0!==null;){var C0=V0;if(F0=C0.stateNode,C0=C0.tag,C0!==5&&C0!==26&&C0!==27||F0===null||m$===null||(C0=LY(V0,m$),C0!=null&&F$.push(hY(V0,C0,F0))),FU)break;V0=V0.return}0<F$.length&&(K0=new k0(K0,z$,null,Q,P0),_0.push({event:K0,listeners:F$}))}}if((U&7)===0){$:{if(K0=$==="mouseover"||$==="pointerover",k0=$==="mouseout"||$==="pointerout",K0&&Q!==aY&&(z$=Q.relatedTarget||Q.fromElement)&&(v0(z$)||z$[BI]))break $;if(k0||K0){if(K0=P0.window===P0?P0:(K0=P0.ownerDocument)?K0.defaultView||K0.parentWindow:window,k0){if(z$=Q.relatedTarget||Q.toElement,k0=o,z$=z$?v0(z$):null,z$!==null&&(FU=b(z$),F$=z$.tag,z$!==FU||F$!==5&&F$!==27&&F$!==6))z$=null}else k0=null,z$=o;if(k0!==z$){if(F$=K_,C0="onMouseLeave",m$="onMouseEnter",V0="mouse",$==="pointerout"||$==="pointerover")F$=O_,C0="onPointerLeave",m$="onPointerEnter",V0="pointer";if(FU=k0==null?K0:x0(k0),F0=z$==null?K0:x0(z$),K0=new F$(C0,V0+"leave",k0,Q,P0),K0.target=FU,K0.relatedTarget=F0,C0=null,v0(P0)===o&&(F$=new F$(m$,V0+"enter",z$,Q,P0),F$.target=F0,F$.relatedTarget=FU,C0=F$),FU=C0,k0&&z$)U:{F$=nN,m$=k0,V0=z$,F0=0;for(C0=m$;C0;C0=F$(C0))F0++;C0=0;for(var l0=V0;l0;l0=F$(l0))C0++;for(;0<F0-C0;)m$=F$(m$),F0--;for(;0<C0-F0;)V0=F$(V0),C0--;for(;F0--;){if(m$===V0||V0!==null&&m$===V0.alternate){F$=m$;break U}m$=F$(m$),V0=F$(V0)}F$=null}else F$=null;k0!==null&&rT(_0,K0,k0,F$,!1),z$!==null&&FU!==null&&rT(_0,FU,z$,F$,!0)}}}$:{if(K0=o?x0(o):window,k0=K0.nodeName&&K0.nodeName.toLowerCase(),k0==="select"||k0==="input"&&K0.type==="file")var D$=WA;else if(zA(K0))if(T_)D$=JN;else{D$=IN;var _$=UN}else k0=K0.nodeName,!k0||k0.toLowerCase()!=="input"||K0.type!=="checkbox"&&K0.type!=="radio"?o&&OY(o.elementType)&&(D$=WA):D$=XN;if(D$&&(D$=D$($,o))){DA(_0,D$,Q,P0);break $}_$&&_$($,K0,o),$==="focusout"&&o&&K0.type==="number"&&o.memoizedProps.value!=null&&R$(K0,"number",K0.value)}switch(_$=o?x0(o):window,$){case"focusin":if(zA(_$)||_$.contentEditable==="true")mJ=_$,vK=o,JG=null;break;case"focusout":JG=vK=mJ=null;break;case"mousedown":NK=!0;break;case"contextmenu":case"mouseup":case"dragend":NK=!1,AA(_0,Q,P0);break;case"selectionchange":if(xk)break;case"keydown":case"keyup":AA(_0,Q,P0)}var M$;if(BK)$:{switch($){case"compositionstart":var H$="onCompositionStart";break $;case"compositionend":H$="onCompositionEnd";break $;case"compositionupdate":H$="onCompositionUpdate";break $}H$=void 0}else lJ?ZA($,Q)&&(H$="onCompositionEnd"):$==="keydown"&&Q.keyCode===H_&&(H$="onCompositionStart");if(H$&&(L_&&Q.locale!=="ko"&&(lJ||H$!=="onCompositionStart"?H$==="onCompositionEnd"&&lJ&&(M$=YA()):(vI=P0,jK=("value"in vI)?vI.value:vI.textContent,lJ=!0)),_$=yZ(o,H$),0<_$.length&&(H$=new F_(H$,$,null,Q,P0),_0.push({event:H$,listeners:_$}),M$?H$.data=M$:(M$=VA(Q),M$!==null&&(H$.data=M$)))),M$=Nk?av($,Q):sv($,Q))H$=yZ(o,"onBeforeInput"),0<H$.length&&(_$=new Ok("onBeforeInput","beforeinput",null,Q,P0),_0.push({event:_$,listeners:H$}),_$.data=M$);dN(_0,$,o,Q,P0)}oT(_0,U)})}function hY($,U,Q){return{instance:$,listener:U,currentTarget:Q}}function yZ($,U){for(var Q=U+"Capture",F=[];$!==null;){var M=$,_=M.stateNode;if(M=M.tag,M!==5&&M!==26&&M!==27||_===null||(M=LY($,Q),M!=null&&F.unshift(hY($,M,_)),M=LY($,U),M!=null&&F.push(hY($,M,_))),$.tag===3)return F;$=$.return}return[]}function nN($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function rT($,U,Q,F,M){for(var _=U._reactName,k=[];Q!==null&&Q!==F;){var f=Q,m=f.alternate,o=f.stateNode;if(f=f.tag,m!==null&&m===F)break;f!==5&&f!==26&&f!==27||o===null||(m=o,M?(o=LY(Q,_),o!=null&&k.unshift(hY(Q,o,m))):M||(o=LY(Q,_),o!=null&&k.push(hY(Q,o,m)))),Q=Q.return}k.length!==0&&$.push({event:U,listeners:k})}function cW($,U){ov($,U),$!=="input"&&$!=="textarea"&&$!=="select"||U==null||U.value!==null||D_||(D_=!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:RX,possibleRegistrationNames:CK};OY($)||typeof U.is==="string"||rv($,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 Z6($,U,Q,F){U!==Q&&(Q=EI(Q),EI(U)!==Q&&(F[$]=U))}function oN($,U,Q){U.forEach(function(F){Q[sT(F)]=F==="style"?lW($):$.getAttribute(F)})}function K1($,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 tT($,U){return $=$.namespaceURI===UV||$.namespaceURI===bJ?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=U,$.innerHTML}function EI($){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(Qx,`
|
|
176
|
+
`).replace(Yx,"")}function aT($,U){return U=EI(U),EI($)===U?!0:!1}function YU($,U,Q,F,M,_){switch(Q){case"children":if(typeof F==="string")l2(F,U,!1),U==="body"||U==="textarea"&&F===""||FY($,F);else if(typeof F==="number"||typeof F==="bigint")l2(""+F,U,!1),U!=="body"&&FY($,""+F);break;case"className":E0($,"class",F);break;case"tabIndex":E0($,"tabindex",F);break;case"dir":case"role":case"viewBox":case"width":case"height":E0($,Q,F);break;case"style":IA($,F,_);break;case"data":if(U!=="object"){E0($,"data",F);break}case"src":case"href":if(F===""&&(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(F==null||typeof F==="function"||typeof F==="symbol"||typeof F==="boolean"){$.removeAttribute(Q);break}n(F,Q),F=HY(""+F),$.setAttribute(Q,F);break;case"action":case"formAction":if(F!=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 F==="function"&&(M.encType==null&&M.method==null||lV||(lV=!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||pV||(pV=!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"||cV?U!=="button"||M.type==null||M.type==="submit"||cV?typeof F==="function"&&(M.name==null||tE||(tE=!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||lV||(lV=!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||pV||(pV=!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."))):(cV=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(cV=!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 F==="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 _==="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(F==null||typeof F==="symbol"||typeof F==="boolean"){$.removeAttribute(Q);break}n(F,Q),F=HY(""+F),$.setAttribute(Q,F);break;case"onClick":F!=null&&(typeof F!=="function"&&K1(Q,F),$.onclick=w1);break;case"onScroll":F!=null&&(typeof F!=="function"&&K1(Q,F),l$("scroll",$));break;case"onScrollEnd":F!=null&&(typeof F!=="function"&&K1(Q,F),l$("scrollend",$));break;case"dangerouslySetInnerHTML":if(F!=null){if(typeof F!=="object"||!("__html"in F))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=F.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"multiple":$.multiple=F&&typeof F!=="function"&&typeof F!=="symbol";break;case"muted":$.muted=F&&typeof F!=="function"&&typeof F!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(F==null||typeof F==="function"||typeof F==="boolean"||typeof F==="symbol"){$.removeAttribute("xlink:href");break}n(F,Q),Q=HY(""+F),$.setAttributeNS(dX,"xlink:href",Q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":F!=null&&typeof F!=="function"&&typeof F!=="symbol"?(n(F,Q),$.setAttribute(Q,""+F)):$.removeAttribute(Q);break;case"inert":F!==""||mV[Q]||(mV[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":F&&typeof F!=="function"&&typeof F!=="symbol"?$.setAttribute(Q,""):$.removeAttribute(Q);break;case"capture":case"download":F===!0?$.setAttribute(Q,""):F!==!1&&F!=null&&typeof F!=="function"&&typeof F!=="symbol"?(n(F,Q),$.setAttribute(Q,F)):$.removeAttribute(Q);break;case"cols":case"rows":case"size":case"span":F!=null&&typeof F!=="function"&&typeof F!=="symbol"&&!isNaN(F)&&1<=F?(n(F,Q),$.setAttribute(Q,F)):$.removeAttribute(Q);break;case"rowSpan":case"start":F==null||typeof F==="function"||typeof F==="symbol"||isNaN(F)?$.removeAttribute(Q):(n(F,Q),$.setAttribute(Q,F));break;case"popover":l$("beforetoggle",$),l$("toggle",$),G0($,"popover",F);break;case"xlinkActuate":q0($,dX,"xlink:actuate",F);break;case"xlinkArcrole":q0($,dX,"xlink:arcrole",F);break;case"xlinkRole":q0($,dX,"xlink:role",F);break;case"xlinkShow":q0($,dX,"xlink:show",F);break;case"xlinkTitle":q0($,dX,"xlink:title",F);break;case"xlinkType":q0($,dX,"xlink:type",F);break;case"xmlBase":q0($,E9,"xml:base",F);break;case"xmlLang":q0($,E9,"xml:lang",F);break;case"xmlSpace":q0($,E9,"xml:space",F);break;case"is":_!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),G0($,"is",F);break;case"innerText":case"textContent":break;case"popoverTarget":aE||F==null||typeof F!=="object"||(aE=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",F));default:!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"?(Q=XA(Q),G0($,Q,F)):RX.hasOwnProperty(Q)&&F!=null&&typeof F!=="function"&&K1(Q,F)}}function pW($,U,Q,F,M,_){switch(Q){case"style":IA($,F,_);break;case"dangerouslySetInnerHTML":if(F!=null){if(typeof F!=="object"||!("__html"in F))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=F.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"children":typeof F==="string"?FY($,F):(typeof F==="number"||typeof F==="bigint")&&FY($,""+F);break;case"onScroll":F!=null&&(typeof F!=="function"&&K1(Q,F),l$("scroll",$));break;case"onScrollEnd":F!=null&&(typeof F!=="function"&&K1(Q,F),l$("scrollend",$));break;case"onClick":F!=null&&(typeof F!=="function"&&K1(Q,F),$.onclick=w1);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(RX.hasOwnProperty(Q))F!=null&&typeof F!=="function"&&K1(Q,F);else $:{if(Q[0]==="o"&&Q[1]==="n"&&(M=Q.endsWith("Capture"),U=Q.slice(2,M?Q.length-7:void 0),_=$[q6]||null,_=_!=null?_[Q]:null,typeof _==="function"&&$.removeEventListener(U,_,M),typeof F==="function")){typeof _!=="function"&&_!==null&&(Q in $?$[Q]=null:$.hasAttribute(Q)&&$.removeAttribute(Q)),$.addEventListener(U,F,M);break $}Q in $?$[Q]=F:F===!0?$.setAttribute(Q,""):G0($,Q,F)}}}function H6($,U,Q){switch(cW(U,Q),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":l$("error",$),l$("load",$);var F=!1,M=!1,_;for(_ in Q)if(Q.hasOwnProperty(_)){var k=Q[_];if(k!=null)switch(_){case"src":F=!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,_,k,Q,null)}}M&&YU($,U,"srcSet",Q.srcSet,Q,null),F&&YU($,U,"src",Q.src,Q,null);return;case"input":DU("input",Q),l$("invalid",$);var f=_=k=M=null,m=null,o=null;for(F in Q)if(Q.hasOwnProperty(F)){var P0=Q[F];if(P0!=null)switch(F){case"name":M=P0;break;case"type":k=P0;break;case"checked":m=P0;break;case"defaultChecked":o=P0;break;case"value":_=P0;break;case"defaultValue":f=P0;break;case"children":case"dangerouslySetInnerHTML":if(P0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,F,P0,Q,null)}}X$($,Q),_U($,_,f,m,o,k,M,!1);return;case"select":DU("select",Q),l$("invalid",$),F=k=_=null;for(M in Q)if(Q.hasOwnProperty(M)&&(f=Q[M],f!=null))switch(M){case"value":_=f;break;case"defaultValue":k=f;break;case"multiple":F=f;default:YU($,U,M,f,Q,null)}uU($,Q),U=_,Q=k,$.multiple=!!F,U!=null?d$($,!!F,U,!1):Q!=null&&d$($,!!F,Q,!0);return;case"textarea":DU("textarea",Q),l$("invalid",$),_=M=F=null;for(k in Q)if(Q.hasOwnProperty(k)&&(f=Q[k],f!=null))switch(k){case"value":F=f;break;case"defaultValue":M=f;break;case"children":_=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($,F,M,_);return;case"option":q$($,Q);for(m in Q)if(Q.hasOwnProperty(m)&&(F=Q[m],F!=null))switch(m){case"selected":$.selected=F&&typeof F!=="function"&&typeof F!=="symbol";break;default:YU($,U,m,F,Q,null)}return;case"dialog":l$("beforetoggle",$),l$("toggle",$),l$("cancel",$),l$("close",$);break;case"iframe":case"object":l$("load",$);break;case"video":case"audio":for(F=0;F<gG.length;F++)l$(gG[F],$);break;case"image":l$("error",$),l$("load",$);break;case"details":l$("toggle",$);break;case"embed":case"source":case"link":l$("error",$),l$("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)&&(F=Q[o],F!=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,F,Q,null)}return;default:if(OY(U)){for(P0 in Q)Q.hasOwnProperty(P0)&&(F=Q[P0],F!==void 0&&pW($,U,P0,F,Q,void 0));return}}for(f in Q)Q.hasOwnProperty(f)&&(F=Q[f],F!=null&&YU($,U,f,F,Q,null))}function iN($,U,Q,F){switch(cW(U,F),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var M=null,_=null,k=null,f=null,m=null,o=null,P0=null;for(k0 in Q){var _0=Q[k0];if(Q.hasOwnProperty(k0)&&_0!=null)switch(k0){case"checked":break;case"value":break;case"defaultValue":m=_0;default:F.hasOwnProperty(k0)||YU($,U,k0,null,F,_0)}}for(var K0 in F){var k0=F[K0];if(_0=Q[K0],F.hasOwnProperty(K0)&&(k0!=null||_0!=null))switch(K0){case"type":_=k0;break;case"name":M=k0;break;case"checked":o=k0;break;case"defaultChecked":P0=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!==_0&&YU($,U,K0,k0,F,_0)}}U=Q.type==="checkbox"||Q.type==="radio"?Q.checked!=null:Q.value!=null,F=F.type==="checkbox"||F.type==="radio"?F.checked!=null:F.value!=null,U||!F||rE||(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"),rE=!0),!U||F||iE||(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"),iE=!0),e0($,k,f,m,o,P0,_,M);return;case"select":k0=k=f=K0=null;for(_ in Q)if(m=Q[_],Q.hasOwnProperty(_)&&m!=null)switch(_){case"value":break;case"multiple":k0=m;default:F.hasOwnProperty(_)||YU($,U,_,null,F,m)}for(M in F)if(_=F[M],m=Q[M],F.hasOwnProperty(M)&&(_!=null||m!=null))switch(M){case"value":K0=_;break;case"defaultValue":f=_;break;case"multiple":k=_;default:_!==m&&YU($,U,M,_,F,m)}F=f,U=k,Q=k0,K0!=null?d$($,!!U,K0,!1):!!Q!==!!U&&(F!=null?d$($,!!U,F,!0):d$($,!!U,U?[]:"",!1));return;case"textarea":k0=K0=null;for(f in Q)if(M=Q[f],Q.hasOwnProperty(f)&&M!=null&&!F.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:YU($,U,f,null,F,M)}for(k in F)if(M=F[k],_=Q[k],F.hasOwnProperty(k)&&(M!=null||_!=null))switch(k){case"value":K0=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!==_&&YU($,U,k,M,F,_)}hU($,K0,k0);return;case"option":for(var z$ in Q)if(K0=Q[z$],Q.hasOwnProperty(z$)&&K0!=null&&!F.hasOwnProperty(z$))switch(z$){case"selected":$.selected=!1;break;default:YU($,U,z$,null,F,K0)}for(m in F)if(K0=F[m],k0=Q[m],F.hasOwnProperty(m)&&K0!==k0&&(K0!=null||k0!=null))switch(m){case"selected":$.selected=K0&&typeof K0!=="function"&&typeof K0!=="symbol";break;default:YU($,U,m,K0,F,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 F$ in Q)K0=Q[F$],Q.hasOwnProperty(F$)&&K0!=null&&!F.hasOwnProperty(F$)&&YU($,U,F$,null,F,K0);for(o in F)if(K0=F[o],k0=Q[o],F.hasOwnProperty(o)&&K0!==k0&&(K0!=null||k0!=null))switch(o){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:YU($,U,o,K0,F,k0)}return;default:if(OY(U)){for(var FU in Q)K0=Q[FU],Q.hasOwnProperty(FU)&&K0!==void 0&&!F.hasOwnProperty(FU)&&pW($,U,FU,void 0,F,K0);for(P0 in F)K0=F[P0],k0=Q[P0],!F.hasOwnProperty(P0)||K0===k0||K0===void 0&&k0===void 0||pW($,U,P0,K0,F,k0);return}}for(var m$ in Q)K0=Q[m$],Q.hasOwnProperty(m$)&&K0!=null&&!F.hasOwnProperty(m$)&&YU($,U,m$,null,F,K0);for(_0 in F)K0=F[_0],k0=Q[_0],!F.hasOwnProperty(_0)||K0===k0||K0==null&&k0==null||YU($,U,_0,K0,F,k0)}function sT($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function lW($){var U={};$=$.style;for(var Q=0;Q<$.length;Q++){var F=$[Q];U[F]=$.getPropertyValue(F)}return U}function eT($,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 F,M=F="",_;for(_ in U)if(U.hasOwnProperty(_)){var k=U[_];k!=null&&typeof k!=="boolean"&&k!==""&&(_.indexOf("--")===0?(H0(k,_),F+=M+_+":"+(""+k).trim()):typeof k!=="number"||k===0||V_.has(_)?(H0(k,_),F+=M+_.replace(J_,"-$1").toLowerCase().replace(Q_,"-ms-")+":"+(""+k).trim()):F+=M+_.replace(J_,"-$1").toLowerCase().replace(Q_,"-ms-")+":"+k+"px",M=";")}F=F||null,U=$.getAttribute("style"),U!==F&&(F=EI(F),EI(U)!==F&&(Q.style=lW($)))}}function P4($,U,Q,F,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":return}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(n(F,U),$===""+F)return}Z6(U,$,F,_)}function $P($,U,Q,F,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null){switch(typeof F){case"function":case"symbol":return}if(!F)return}else switch(typeof F){case"function":case"symbol":break;default:if(F)return}Z6(U,$,F,_)}function mW($,U,Q,F,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof F){case"undefined":case"function":case"symbol":return}else if(F!=null)switch(typeof F){case"function":case"symbol":break;default:if(n(F,Q),$===""+F)return}Z6(U,$,F,_)}function UP($,U,Q,F,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(F))return}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(!isNaN(F)&&(n(F,U),$===""+F))return}Z6(U,$,F,_)}function dW($,U,Q,F,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":return}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(n(F,U),Q=HY(""+F),$===Q)return}Z6(U,$,F,_)}function IP($,U,Q,F){for(var M={},_=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:_.add(k[f].name)}if(OY(U)){for(var m in Q)if(Q.hasOwnProperty(m)){var o=Q[m];if(o!=null){if(RX.hasOwnProperty(m))typeof o!=="function"&&K1(m,o);else if(Q.suppressHydrationWarning!==!0)switch(m){case"children":typeof o!=="string"&&typeof o!=="number"||Z6("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=tT($,o),Z6(m,k,o,M));continue;case"style":_.delete(m),eT($,o,M);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":_.delete(m.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",m);continue;case"className":_.delete("class"),k=i($,"class",o),Z6("className",k,o,M);continue;default:F.context===XI&&U!=="svg"&&U!=="math"?_.delete(m.toLowerCase()):_.delete(m),k=i($,m,o),Z6(m,k,o,M)}}}}else for(o in Q)if(Q.hasOwnProperty(o)&&(m=Q[o],m!=null)){if(RX.hasOwnProperty(o))typeof m!=="function"&&K1(o,m);else if(Q.suppressHydrationWarning!==!0)switch(o){case"children":typeof m!=="string"&&typeof m!=="number"||Z6("children",$.textContent,m,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,m=m?m.__html:void 0,m!=null&&(m=tT($,m),k!==m&&(M[o]={__html:k}));continue;case"className":P4($,o,"class",m,_,M);continue;case"tabIndex":P4($,o,"tabindex",m,_,M);continue;case"style":_.delete(o),eT($,m,M);continue;case"multiple":_.delete(o),Z6(o,$.multiple,m,M);continue;case"muted":_.delete(o),Z6(o,$.muted,m,M);continue;case"autoFocus":_.delete("autofocus"),Z6(o,$.autofocus,m,M);continue;case"data":if(U!=="object"){_.delete(o),k=$.getAttribute("data"),Z6(o,k,m,M);continue}case"src":case"href":if(!(m!==""||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}dW($,o,o,m,_,M);continue;case"action":case"formAction":if(k=$.getAttribute(o),typeof m==="function"){_.delete(o.toLowerCase()),o==="formAction"?(_.delete("name"),_.delete("formenctype"),_.delete("formmethod"),_.delete("formtarget")):(_.delete("enctype"),_.delete("method"),_.delete("target"));continue}else if(k===Gx){_.delete(o.toLowerCase()),Z6(o,"function",m,M);continue}dW($,o,o.toLowerCase(),m,_,M);continue;case"xlinkHref":dW($,o,"xlink:href",m,_,M);continue;case"contentEditable":mW($,o,"contenteditable",m,_,M);continue;case"spellCheck":mW($,o,"spellcheck",m,_,M);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":mW($,o,o,m,_,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":$P($,o,o.toLowerCase(),m,_,M);continue;case"capture":case"download":$:{f=$;var P0=k=o,_0=M;if(_.delete(P0),f=f.getAttribute(P0),f===null)switch(typeof m){case"undefined":case"function":case"symbol":break $;default:if(m===!1)break $}else if(m!=null)switch(typeof m){case"function":case"symbol":break;case"boolean":if(m===!0&&f==="")break $;break;default:if(n(m,k),f===""+m)break $}Z6(k,f,m,_0)}continue;case"cols":case"rows":case"size":case"span":$:{if(f=$,P0=k=o,_0=M,_.delete(P0),f=f.getAttribute(P0),f===null)switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(m)||1>m)break $}else if(m!=null)switch(typeof m){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(m)||1>m)&&(n(m,k),f===""+m))break $}Z6(k,f,m,_0)}continue;case"rowSpan":UP($,o,"rowspan",m,_,M);continue;case"start":UP($,o,o,m,_,M);continue;case"xHeight":P4($,o,"x-height",m,_,M);continue;case"xlinkActuate":P4($,o,"xlink:actuate",m,_,M);continue;case"xlinkArcrole":P4($,o,"xlink:arcrole",m,_,M);continue;case"xlinkRole":P4($,o,"xlink:role",m,_,M);continue;case"xlinkShow":P4($,o,"xlink:show",m,_,M);continue;case"xlinkTitle":P4($,o,"xlink:title",m,_,M);continue;case"xlinkType":P4($,o,"xlink:type",m,_,M);continue;case"xmlBase":P4($,o,"xml:base",m,_,M);continue;case"xmlLang":P4($,o,"xml:lang",m,_,M);continue;case"xmlSpace":P4($,o,"xml:space",m,_,M);continue;case"inert":m!==""||mV[o]||(mV[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)),$P($,o,o,m,_,M);continue;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){f=XA(o),k=!1,F.context===XI&&U!=="svg"&&U!=="math"?_.delete(f.toLowerCase()):(P0=o.toLowerCase(),P0=IV.hasOwnProperty(P0)?IV[P0]||null:null,P0!==null&&P0!==o&&(k=!0,_.delete(P0)),_.delete(f));$:if(P0=$,_0=f,f=m,a0(_0))if(P0.hasAttribute(_0))P0=P0.getAttribute(_0),n(f,_0),f=P0===""+f?f:P0;else{switch(typeof f){case"function":case"symbol":break $;case"boolean":if(P0=_0.toLowerCase().slice(0,5),P0!=="data-"&&P0!=="aria-")break $}f=f===void 0?void 0:null}else f=void 0;k||Z6(o,f,m,M)}}}return 0<_.size&&Q.suppressHydrationWarning!==!0&&oN($,_,M),Object.keys(M).length===0?null:M}function rN($,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 XP($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function tN(){if(typeof performance.getEntriesByType==="function"){for(var $=0,U=0,Q=performance.getEntriesByType("resource"),F=0;F<Q.length;F++){var M=Q[F],_=M.transferSize,k=M.initiatorType,f=M.duration;if(_&&f&&XP(k)){k=0,f=M.responseEnd;for(F+=1;F<Q.length;F++){var m=Q[F],o=m.startTime;if(o>f)break;var{transferSize:P0,initiatorType:_0}=m;P0&&XP(_0)&&(m=m.responseEnd,k+=P0*(m<f?1:(f-o)/(m-o)))}if(--F,U+=8*(_+k)/(M.duration/1000),$++,10<$)break}}if(0<$)return U/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function uZ($){return $.nodeType===9?$:$.ownerDocument}function JP($){switch($){case bJ:return OQ;case UV:return nV;default:return XI}}function QP($,U){if($===XI)switch(U){case"svg":return OQ;case"math":return nV;default:return XI}return $===OQ&&U==="foreignObject"?XI:$}function nW($,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 aN(){var $=window.event;if($&&$.type==="popstate"){if($===R9)return!1;return R9=$,!0}return R9=null,!1}function cY(){var $=window.event;return $&&$!==yG?$.type:null}function pY(){var $=window.event;return $&&$!==yG?$.timeStamp:-1.1}function sN($){setTimeout(function(){throw $})}function eN($,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 $3(){}function U3($,U,Q,F){iN($,U,Q,F),$[q6]=F}function YP($){FY($,"")}function I3($,U,Q){$.nodeValue=Q}function GP($){if(!$.__reactWarnedAboutChildrenConflict){var U=$[q6]||null;if(U!==null){var Q=O$($);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 jI($){return $==="head"}function X3($,U){$.removeChild(U)}function J3($,U){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(U)}function ZP($,U){var Q=U,F=0;do{var M=Q.nextSibling;if($.removeChild(Q),M&&M.nodeType===8)if(Q=M.data,Q===fG||Q===dV){if(F===0){$.removeChild(M),xJ(U);return}F--}else if(Q===wG||Q===rI||Q===oX||Q===FQ||Q===nX)F++;else if(Q===Vx)lY($.ownerDocument.documentElement);else if(Q===Dx){Q=$.ownerDocument.head,lY(Q);for(var _=Q.firstChild;_;){var{nextSibling:k,nodeName:f}=_;_[tY]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&_.rel.toLowerCase()==="stylesheet"||Q.removeChild(_),_=k}}else Q===zx&&lY($.ownerDocument.body);Q=M}while(Q);xJ(U)}function VP($,U){var Q=$;$=0;do{var F=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||""),F&&F.nodeType===8)if(Q=F.data,Q===fG)if($===0)break;else $--;else Q!==wG&&Q!==rI&&Q!==oX&&Q!==FQ||$++;Q=F}while(Q)}function Q3($){VP($,!0)}function Y3($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function G3($){$.nodeValue=""}function Z3($){VP($,!1)}function V3($,U){U=U[Wx],U=U!==void 0&&U!==null&&U.hasOwnProperty("display")?U.display:null,$.style.display=U==null||typeof U==="boolean"?"":(""+U).trim()}function z3($,U){$.nodeValue=U}function oW($){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":oW(Q),S0(Q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Q.rel.toLowerCase()==="stylesheet")continue}$.removeChild(Q)}}function D3($,U,Q,F){for(;$.nodeType===1;){var M=Q;if($.nodeName.toLowerCase()!==U.toLowerCase()){if(!F&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!F)if(U==="input"&&$.type==="hidden"){n(M.name,"name");var _=M.name==null?null:""+M.name;if(M.type==="hidden"&&$.getAttribute("name")===_)return $}else return $;else if(!$[tY])switch(U){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(_=$.getAttribute("rel"),_==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(_!==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(_=$.getAttribute("src"),(_!==(M.src==null?null:M.src)||$.getAttribute("type")!==(M.type==null?null:M.type)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin))&&_&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=Q4($.nextSibling),$===null)break}return null}function W3($,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 zP($,U){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!U)return null;if($=Q4($.nextSibling),$===null)return null}return $}function iW($){return $.data===rI||$.data===oX}function rW($){return $.data===FQ||$.data===rI&&$.ownerDocument.readyState!==eE}function K3($,U){var Q=$.ownerDocument;if($.data===oX)$._reactRetry=U;else if($.data!==rI||Q.readyState!==eE)U();else{var F=function(){U(),Q.removeEventListener("DOMContentLoaded",F)};Q.addEventListener("DOMContentLoaded",F),$._reactRetry=F}}function Q4($){for(;$!=null;$=$.nextSibling){var U=$.nodeType;if(U===1||U===3)break;if(U===8){if(U=$.data,U===wG||U===FQ||U===rI||U===oX||U===nX||U===j9||U===sE)break;if(U===fG||U===dV)return null}}return $}function DP($){if($.nodeType===1){for(var U=$.nodeName.toLowerCase(),Q={},F=$.attributes,M=0;M<F.length;M++){var _=F[M];Q[sT(_.name)]=_.name.toLowerCase()==="style"?lW($):_.value}return{type:U,props:Q}}return $.nodeType===8?$.data===nX?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function WP($,U,Q){return Q===null||Q[Zx]!==!0?($.nodeValue===U?$=null:(U=EI(U),$=EI($.nodeValue)===U?null:$.nodeValue),$):null}function tW($){$=$.nextSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===fG||Q===dV){if(U===0)return Q4($.nextSibling);U--}else Q!==wG&&Q!==FQ&&Q!==rI&&Q!==oX&&Q!==nX||U++}$=$.nextSibling}return null}function KP($){$=$.previousSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===wG||Q===FQ||Q===rI||Q===oX||Q===nX){if(U===0)return $;U--}else Q!==fG&&Q!==dV||U++}$=$.previousSibling}return null}function F3($){xJ($)}function O3($){xJ($)}function H3($){xJ($)}function FP($,U,Q,F,M){switch(M&&GD($,F.ancestorInfo),U=uZ(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 L3($,U,Q,F){if(!Q[BI]&&O$(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]=F,Q[q6]=U}function lY($){for(var U=$.attributes;U.length;)$.removeAttributeNode(U[0]);S0($)}function bZ($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function OP($,U,Q){var F=HQ;if(F&&typeof U==="string"&&U){var M=e$(U);M='link[rel="'+$+'"][href="'+M+'"]',typeof Q==="string"&&(M+='[crossorigin="'+Q+'"]'),Qj.has(M)||(Qj.add(M),$={rel:$,crossOrigin:Q,href:U},F.querySelector(M)===null&&(U=F.createElement("link"),H6(U,"link",$),W$(U),F.head.appendChild(U)))}}function HP($,U,Q,F){var M=(M=SI.current)?bZ(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=NJ(Q.href),U=f0(M).hoistableStyles,F=U.get(Q),F||(F={type:"style",instance:null,count:0,state:null},U.set(Q,F)),F):{type:"void",instance:null,count:0,state:null};case"link":if(Q.rel==="stylesheet"&&typeof Q.href==="string"&&typeof Q.precedence==="string"){$=NJ(Q.href);var _=f0(M).hoistableStyles,k=_.get($);if(!k&&(M=M.ownerDocument||M,k={type:"stylesheet",instance:null,count:0,state:{loading:rX,preload:null}},_.set($,k),(_=M.querySelector(mY($)))&&!_._p&&(k.instance=_,k.state.loading=uG|x4),!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),_||M3(M,$,f,k.state)}if(U&&F===null)throw Q=`
|
|
177
|
+
|
|
178
|
+
- `+hZ(U)+`
|
|
179
|
+
+ `+hZ(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&&F!==null)throw Q=`
|
|
180
|
+
|
|
181
|
+
- `+hZ(U)+`
|
|
182
|
+
+ `+hZ(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=kJ(Q),U=f0(M).hoistableScripts,F=U.get(Q),F||(F={type:"script",instance:null,count:0,state:null},U.set(Q,F)),F):{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 hZ($){var U=0,Q="<link";return typeof $.rel==="string"?(U++,Q+=' rel="'+$.rel+'"'):p4.call($,"rel")&&(U++,Q+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(U++,Q+=' href="'+$.href+'"'):p4.call($,"href")&&(U++,Q+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(U++,Q+=' precedence="'+$.precedence+'"'):p4.call($,"precedence")&&(U++,Q+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>U&&(Q+=" ..."),Q+" />"}function NJ($){return'href="'+e$($)+'"'}function mY($){return'link[rel="stylesheet"]['+$+"]"}function LP($){return y$({},$,{"data-precedence":$.precedence,precedence:null})}function M3($,U,Q,F){$.querySelector('link[rel="preload"][as="style"]['+U+"]")?F.loading=uG:(U=$.createElement("link"),F.preload=U,U.addEventListener("load",function(){return F.loading|=uG}),U.addEventListener("error",function(){return F.loading|=Xj}),H6(U,"link",Q),W$(U),$.head.appendChild(U))}function kJ($){return'[src="'+e$($)+'"]'}function dY($){return"script[async]"+$}function MP($,U,Q){if(U.count++,U.instance===null)switch(U.type){case"style":var F=$.querySelector('style[data-href~="'+e$(Q.href)+'"]');if(F)return U.instance=F,W$(F),F;var M=y$({},Q,{"data-href":Q.href,"data-precedence":Q.precedence,href:null,precedence:null});return F=($.ownerDocument||$).createElement("style"),W$(F),H6(F,"style",M),cZ(F,Q.precedence,$),U.instance=F;case"stylesheet":M=NJ(Q.href);var _=$.querySelector(mY(M));if(_)return U.state.loading|=x4,U.instance=_,W$(_),_;F=LP(Q),(M=g4.get(M))&&aW(F,M),_=($.ownerDocument||$).createElement("link"),W$(_);var k=_;return k._p=new Promise(function(f,m){k.onload=f,k.onerror=m}),H6(_,"link",F),U.state.loading|=x4,cZ(_,Q.precedence,$),U.instance=_;case"script":if(_=kJ(Q.src),M=$.querySelector(dY(_)))return U.instance=M,W$(M),M;if(F=Q,M=g4.get(_))F=y$({},Q),sW(F,M);return $=$.ownerDocument||$,M=$.createElement("script"),W$(M),H6(M,"link",F),$.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&x4)===rX&&(F=U.instance,U.state.loading|=x4,cZ(F,Q.precedence,$));return U.instance}function cZ($,U,Q){for(var F=Q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),M=F.length?F[F.length-1]:null,_=M,k=0;k<F.length;k++){var f=F[k];if(f.dataset.precedence===U)_=f;else if(_!==M)break}_?_.parentNode.insertBefore($,_.nextSibling):(U=Q.nodeType===9?Q.head:Q,U.insertBefore($,U.firstChild))}function aW($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.title==null&&($.title=U.title)}function sW($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.integrity==null&&($.integrity=U.integrity)}function AP($,U,Q){if(oV===null){var F=new Map,M=oV=new Map;M.set(Q,F)}else M=oV,F=M.get(Q),F||(F=new Map,M.set(Q,F));if(F.has($))return F;F.set($,null),Q=Q.getElementsByTagName($);for(M=0;M<Q.length;M++){var _=Q[M];if(!(_[tY]||_[L6]||$==="link"&&_.getAttribute("rel")==="stylesheet")&&_.namespaceURI!==bJ){var k=_.getAttribute(U)||"";k=$+k;var f=F.get(k);f?f.push(_):F.set(k,[_])}}return F}function CP($,U,Q){$=$.ownerDocument||$,$.head.insertBefore(Q,U==="title"?$.querySelector("head > title"):null)}function A3($,U,Q){var F=!Q.ancestorInfo.containerTagInScope;if(Q.context===OQ||U.itemProp!=null)return!F||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===""){F&&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:_}=U;Q=[],U.onLoad&&Q.push("`onLoad`"),M&&Q.push("`onError`"),_!=null&&Q.push("`disabled`"),M=rN(Q,"and"),M+=Q.length===1?" prop":" props",_=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.',$,_,M)}F&&(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"&&F&&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"){F&&($?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":F&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function TP($){return $.type==="stylesheet"&&($.state.loading&Jj)===rX?!1:!0}function C3($,U,Q,F){if(Q.type==="stylesheet"&&(typeof F.media!=="string"||matchMedia(F.media).matches!==!1)&&(Q.state.loading&x4)===rX){if(Q.instance===null){var M=NJ(F.href),_=U.querySelector(mY(M));if(_){U=_._p,U!==null&&typeof U==="object"&&typeof U.then==="function"&&($.count++,$=pZ.bind($),U.then($,$)),Q.state.loading|=x4,Q.instance=_,W$(_);return}_=U.ownerDocument||U,F=LP(F),(M=g4.get(M))&&aW(F,M),_=_.createElement("link"),W$(_);var k=_;k._p=new Promise(function(f,m){k.onload=f,k.onerror=m}),H6(_,"link",F),Q.instance=_}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(Q,U),(U=Q.state.preload)&&(Q.state.loading&Jj)===rX&&($.count++,Q=pZ.bind($),U.addEventListener("load",Q),U.addEventListener("error",Q))}}function T3($,U){return $.stylesheets&&$.count===0&&lZ($,$.stylesheets),0<$.count||0<$.imgCount?function(Q){var F=setTimeout(function(){if($.stylesheets&&lZ($,$.stylesheets),$.unsuspend){var _=$.unsuspend;$.unsuspend=null,_()}},Ox+U);0<$.imgBytes&&v9===0&&(v9=125*tN()*Lx);var M=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&lZ($,$.stylesheets),$.unsuspend)){var _=$.unsuspend;$.unsuspend=null,_()}},($.imgBytes>v9?50:Hx)+U);return $.unsuspend=Q,function(){$.unsuspend=null,clearTimeout(F),clearTimeout(M)}}:null}function pZ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)lZ(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function lZ($,U){$.stylesheets=null,$.unsuspend!==null&&($.count++,iV=new Map,U.forEach(P3,$),iV=null,pZ.call($))}function P3($,U){if(!(U.state.loading&x4)){var Q=iV.get($);if(Q)var F=Q.get(N9);else{Q=new Map,iV.set($,Q);for(var M=$.querySelectorAll("link[data-precedence],style[data-precedence]"),_=0;_<M.length;_++){var k=M[_];if(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")Q.set(k.dataset.precedence,k),F=k}F&&Q.set(N9,F)}M=U.instance,k=M.getAttribute("data-precedence"),_=Q.get(k)||F,_===F&&Q.set(N9,M),Q.set(k,M),this.count++,F=pZ.bind(this),M.addEventListener("load",F),M.addEventListener("error",F),_?_.parentNode.insertBefore(M,_.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(M,$.firstChild)),U.state.loading|=x4}}function _3($,U,Q,F,M,_,k,f,m){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=iX,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=F,this.onUncaughtError=M,this.onCaughtError=_,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,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 PP($,U,Q,F,M,_,k,f,m,o,P0,_0){return $=new _3($,U,Q,k,m,o,P0,_0,f),U=pk,_===!0&&(U|=P6|m4),U|=N$,_=E(3,null,null,U),$.current=_,_.stateNode=$,U=qD(),TX(U),$.pooledCache=U,TX(U),_.memoizedState={element:F,isDehydrated:Q,cache:U},ND(_),$}function _P($){if(!$)return xI;return $=xI,$}function eW($,U,Q,F,M,_){if(T6&&typeof T6.onScheduleFiberRoot==="function")try{T6.onScheduleFiberRoot(yJ,F,Q)}catch(k){L1||(L1=!0,console.error("React instrumentation encountered an error: %o",k))}M=_P(M),F.context===null?F.context=M:F.pendingContext=M,H1&&G4!==null&&!Vj&&(Vj=!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")),F=MI(U),F.payload={element:Q},_=_===void 0?null:_,_!==null&&(typeof _!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",_),F.callback=_),Q=AI($,F,U),Q!==null&&(U1(U,"root.render()",null),gU(Q,$,U),jY(Q,$,U))}function EP($,U){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var Q=$.retryLane;$.retryLane=Q!==0&&Q<U?Q:U}}function $K($,U){EP($,U),($=$.alternate)&&EP($,U)}function jP($){if($.tag===13||$.tag===31){var U=C6($,67108864);U!==null&&gU(U,$,67108864),$K($,67108864)}}function qP($){if($.tag===13||$.tag===31){var U=J4($);U=r0(U);var Q=C6($,U);Q!==null&&gU(Q,$,U),$K($,U)}}function E3(){return G4}function j3($,U,Q,F){var M=y0.T;y0.T=null;var _=s$.p;try{s$.p=Z4,UK($,U,Q,F)}finally{s$.p=_,y0.T=M}}function q3($,U,Q,F){var M=y0.T;y0.T=null;var _=s$.p;try{s$.p=l4,UK($,U,Q,F)}finally{s$.p=_,y0.T=M}}function UK($,U,Q,F){if(tV){var M=IK(F);if(M===null)hW($,U,F,aV,Q),RP($,F);else if(S3(M,$,U,Q,F))F.stopPropagation();else if(RP($,F),U&4&&-1<Ax.indexOf($)){for(;M!==null;){var _=O$(M);if(_!==null)switch(_.tag){case 3:if(_=_.stateNode,_.current.memoizedState.isDehydrated){var k=D0(_.pendingLanes);if(k!==0){var f=_;f.pendingLanes|=2;for(f.entangledLanes|=2;k;){var m=1<<31-j6(k);f.entanglements[1]|=m,k&=~m}W1(_),(n$&(G6|W4))===W6&&(xV=V6()+yE,bY(0,!1))}}break;case 31:case 13:f=C6(_,2),f!==null&&gU(f,_,2),RJ(),$K(_,2)}if(_=IK(F),_===null&&hW($,U,F,aV,Q),_===M)break;M=_}M!==null&&F.stopPropagation()}else hW($,U,F,null,Q)}}function IK($){return $=ZD($),XK($)}function XK($){if(aV=null,$=v0($),$!==null){var U=b($);if(U===null)$=null;else{var Q=U.tag;if(Q===13){if($=x(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 aV=$,null}function SP($){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 Z4;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 l4;case"message":switch(f3()){case HK:return Z4;case LK:return l4;case fJ:case y3:return A1;case MK:return eZ;default:return A1}default:return A1}}function RP($,U){switch($){case"focusin":case"focusout":tI=null;break;case"dragenter":case"dragleave":aI=null;break;case"mouseover":case"mouseout":sI=null;break;case"pointerover":case"pointerout":hG.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":cG.delete(U.pointerId)}}function nY($,U,Q,F,M,_){if($===null||$.nativeEvent!==_)return $={blockedOn:U,domEventName:Q,eventSystemFlags:F,nativeEvent:_,targetContainers:[M]},U!==null&&(U=O$(U),U!==null&&jP(U)),$;return $.eventSystemFlags|=F,U=$.targetContainers,M!==null&&U.indexOf(M)===-1&&U.push(M),$}function S3($,U,Q,F,M){switch(U){case"focusin":return tI=nY(tI,$,U,Q,F,M),!0;case"dragenter":return aI=nY(aI,$,U,Q,F,M),!0;case"mouseover":return sI=nY(sI,$,U,Q,F,M),!0;case"pointerover":var _=M.pointerId;return hG.set(_,nY(hG.get(_)||null,$,U,Q,F,M)),!0;case"gotpointercapture":return _=M.pointerId,cG.set(_,nY(cG.get(_)||null,$,U,Q,F,M)),!0}return!1}function BP($){var U=v0($.target);if(U!==null){var Q=b(U);if(Q!==null){if(U=Q.tag,U===13){if(U=x(Q),U!==null){$.blockedOn=U,s0($.priority,function(){qP(Q)});return}}else if(U===31){if(U=u(Q),U!==null){$.blockedOn=U,s0($.priority,function(){qP(Q)});return}}else if(U===3&&Q.stateNode.current.memoizedState.isDehydrated){$.blockedOn=Q.tag===3?Q.stateNode.containerInfo:null;return}}}$.blockedOn=null}function mZ($){if($.blockedOn!==null)return!1;for(var U=$.targetContainers;0<U.length;){var Q=IK($.nativeEvent);if(Q===null){Q=$.nativeEvent;var F=new Q.constructor(Q.type,Q),M=F;aY!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),aY=M,Q.target.dispatchEvent(F),aY===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."),aY=null}else return U=O$(Q),U!==null&&jP(U),$.blockedOn=Q,!1;U.shift()}return!0}function vP($,U,Q){mZ($)&&Q.delete(U)}function R3(){k9=!1,tI!==null&&mZ(tI)&&(tI=null),aI!==null&&mZ(aI)&&(aI=null),sI!==null&&mZ(sI)&&(sI=null),hG.forEach(vP),cG.forEach(vP)}function dZ($,U){$.blockedOn===U&&($.blockedOn=null,k9||(k9=!0,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,R3)))}function NP($){sV!==$&&(sV=$,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,function(){sV===$&&(sV=null);for(var U=0;U<$.length;U+=3){var Q=$[U],F=$[U+1],M=$[U+2];if(typeof F!=="function")if(XK(F||Q)===null)continue;else break;var _=O$(Q);_!==null&&($.splice(U,3),U-=3,Q={pending:!0,data:M,method:Q.method,action:F},Object.freeze(Q),XW(_,Q,F,M))}}))}function xJ($){function U(m){return dZ(m,$)}tI!==null&&dZ(tI,$),aI!==null&&dZ(aI,$),sI!==null&&dZ(sI,$),hG.forEach(U),cG.forEach(U);for(var Q=0;Q<eI.length;Q++){var F=eI[Q];F.blockedOn===$&&(F.blockedOn=null)}for(;0<eI.length&&(Q=eI[0],Q.blockedOn===null);)BP(Q),Q.blockedOn===null&&eI.shift();if(Q=($.ownerDocument||$).$$reactFormReplay,Q!=null)for(F=0;F<Q.length;F+=3){var M=Q[F],_=Q[F+1],k=M[q6]||null;if(typeof _==="function")k||NP(Q);else if(k){var f=null;if(_&&_.hasAttribute("formAction")){if(M=_,k=_[q6]||null)f=k.formAction;else if(XK(M)!==null)continue}else f=k.action;typeof f==="function"?Q[F+1]=f:(Q.splice(F,3),F-=3),NP(Q)}}}function kP(){function $(_){_.canIntercept&&_.info==="react-transition"&&_.intercept({handler:function(){return new Promise(function(k){return M=k})},focusReset:"manual",scroll:"manual"})}function U(){M!==null&&(M(),M=null),F||setTimeout(Q,20)}function Q(){if(!F&&!navigation.transition){var _=navigation.currentEntry;_&&_.url!=null&&navigation.navigate(_.url,{state:_.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var F=!1,M=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(Q,100),function(){F=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),M!==null&&(M(),M=null)}}}function JK($){this._internalRoot=$}function nZ($){this._internalRoot=$}function xP($){$[BI]&&($._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,B3=Symbol.for("react.element"),F1=Symbol.for("react.transitional.element"),gJ=Symbol.for("react.portal"),wJ=Symbol.for("react.fragment"),oZ=Symbol.for("react.strict_mode"),QK=Symbol.for("react.profiler"),YK=Symbol.for("react.consumer"),O1=Symbol.for("react.context"),oY=Symbol.for("react.forward_ref"),GK=Symbol.for("react.suspense"),ZK=Symbol.for("react.suspense_list"),iZ=Symbol.for("react.memo"),Y4=Symbol.for("react.lazy"),VK=Symbol.for("react.activity"),v3=Symbol.for("react.memo_cache_sentinel"),gP=Symbol.iterator,N3=Symbol.for("react.client.reference"),Q6=Array.isArray,y0=MQ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s$=g9.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k3=Object.freeze({pending:!1,data:null,method:null,action:null}),zK=[],DK=[],l1=-1,qI=T0(null),iY=T0(null),SI=T0(null),rZ=T0(null),rY=0,wP,fP,yP,uP,bP,hP,cP;V.__reactDisabledLog=!0;var WK,pP,KK=!1,FK=new(typeof WeakMap==="function"?WeakMap:Map),G4=null,H1=!1,p4=Object.prototype.hasOwnProperty,OK=o$.unstable_scheduleCallback,x3=o$.unstable_cancelCallback,g3=o$.unstable_shouldYield,w3=o$.unstable_requestPaint,V6=o$.unstable_now,f3=o$.unstable_getCurrentPriorityLevel,HK=o$.unstable_ImmediatePriority,LK=o$.unstable_UserBlockingPriority,fJ=o$.unstable_NormalPriority,y3=o$.unstable_LowPriority,MK=o$.unstable_IdlePriority,u3=o$.log,b3=o$.unstable_setDisableYieldValue,yJ=null,T6=null,L1=!1,M1=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",j6=Math.clz32?Math.clz32:I0,h3=Math.log,c3=Math.LN2,tZ=256,aZ=262144,sZ=4194304,Z4=2,l4=8,A1=32,eZ=268435456,RI=Math.random().toString(36).slice(2),L6="__reactFiber$"+RI,q6="__reactProps$"+RI,BI="__reactContainer$"+RI,AK="__reactEvents$"+RI,p3="__reactListeners$"+RI,l3="__reactHandles$"+RI,lP="__reactResources$"+RI,tY="__reactMarker$"+RI,mP=new Set,RX={},CK={},m3={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},d3=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]*$"),dP={},nP={},n3=/[\n"\\]/g,oP=!1,iP=!1,rP=!1,tP=!1,aP=!1,sP=!1,eP=["value","defaultValue"],$_=!1,U_=/["'&<>\n\t]|^\s|\s$/,o3="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(" "),I_="applet caption html table td th marquee object template foreignObject desc title".split(" "),i3=I_.concat(["button"]),r3="dd dt li option optgroup p rp rt".split(" "),X_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},$V={},TK={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"]},J_=/([A-Z])/g,Q_=/^ms-/,t3=/^(?:webkit|moz|o)[A-Z]/,a3=/^-ms-/,s3=/-(.)/g,Y_=/;\s*$/,uJ={},PK={},G_=!1,Z_=!1,V_=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(" ")),UV="http://www.w3.org/1998/Math/MathML",bJ="http://www.w3.org/2000/svg",e3=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"]]),IV={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"},z_={"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},hJ={},$k=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]*$"),Uk=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]*$"),D_=!1,S6={},W_=/^on./,Ik=/^on[^A-Z]/,Xk=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]*$"),Jk=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]*$"),Qk=/^[\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,aY=null,cJ=null,pJ=null,_K=!1,C1=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),EK=!1;if(C1)try{var sY={};Object.defineProperty(sY,"passive",{get:function(){EK=!0}}),window.addEventListener("test",sY,sY),window.removeEventListener("test",sY,sY)}catch($){EK=!1}var vI=null,jK=null,XV=null,BX={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},JV=c6(BX),eY=y$({},BX,{view:0,detail:0}),Yk=c6(eY),qK,SK,$G,QV=y$({},eY,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:VD,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==$G&&($G&&$.type==="mousemove"?(qK=$.screenX-$G.screenX,SK=$.screenY-$G.screenY):SK=qK=0,$G=$),qK},movementY:function($){return"movementY"in $?$.movementY:SK}}),K_=c6(QV),Gk=y$({},QV,{dataTransfer:0}),Zk=c6(Gk),Vk=y$({},eY,{relatedTarget:0}),RK=c6(Vk),zk=y$({},BX,{animationName:0,elapsedTime:0,pseudoElement:0}),Dk=c6(zk),Wk=y$({},BX,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),Kk=c6(Wk),Fk=y$({},BX,{data:0}),F_=c6(Fk),Ok=F_,Hk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lk={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"},Mk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Ak=y$({},eY,{key:function($){if($.key){var U=Hk[$.key]||$.key;if(U!=="Unidentified")return U}return $.type==="keypress"?($=m2($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?Lk[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:VD,charCode:function($){return $.type==="keypress"?m2($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?m2($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),Ck=c6(Ak),Tk=y$({},QV,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),O_=c6(Tk),Pk=y$({},eY,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:VD}),_k=c6(Pk),Ek=y$({},BX,{propertyName:0,elapsedTime:0,pseudoElement:0}),jk=c6(Ek),qk=y$({},QV,{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}),Sk=c6(qk),Rk=y$({},BX,{newState:0,oldState:0}),Bk=c6(Rk),vk=[9,13,27,32],H_=229,BK=C1&&"CompositionEvent"in window,UG=null;C1&&"documentMode"in document&&(UG=document.documentMode);var Nk=C1&&"TextEvent"in window&&!UG,L_=C1&&(!BK||UG&&8<UG&&11>=UG),M_=32,A_=String.fromCharCode(M_),C_=!1,lJ=!1,kk={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},IG=null,XG=null,T_=!1;C1&&(T_=ev("input")&&(!document.documentMode||9<document.documentMode));var R6=typeof Object.is==="function"?Object.is:QN,xk=C1&&"documentMode"in document&&11>=document.documentMode,mJ=null,vK=null,JG=null,NK=!1,dJ={animationend:FX("Animation","AnimationEnd"),animationiteration:FX("Animation","AnimationIteration"),animationstart:FX("Animation","AnimationStart"),transitionrun:FX("Transition","TransitionRun"),transitionstart:FX("Transition","TransitionStart"),transitioncancel:FX("Transition","TransitionCancel"),transitionend:FX("Transition","TransitionEnd")},kK={},P_={};C1&&(P_=document.createElement("div").style,("AnimationEvent"in window)||(delete dJ.animationend.animation,delete dJ.animationiteration.animation,delete dJ.animationstart.animation),("TransitionEvent"in window)||delete dJ.transitionend.transition);var __=OX("animationend"),E_=OX("animationiteration"),j_=OX("animationstart"),gk=OX("transitionrun"),wk=OX("transitionstart"),fk=OX("transitioncancel"),q_=OX("transitionend"),S_=new Map,xK="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(" ");xK.push("scrollEnd");var R_=0;if(typeof performance==="object"&&typeof performance.now==="function")var yk=performance,B_=function(){return yk.now()};else{var uk=Date;B_=function(){return uk.now()}}var gK=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($)},bk="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.",YV=0,wK=1,fK=2,yK=3,GV="– ",ZV="+ ",v_=" ",AU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",_4="Components ⚛",u$="Scheduler ⚛",b$="Blocking",NI=!1,m1={color:"primary",properties:null,tooltipText:"",track:_4},kI={start:-0,end:-0,detail:{devtools:m1}},hk=["Changed Props",""],N_="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",ck=["Changed Props",N_],QG=1,d1=2,E4=[],nJ=0,uK=0,xI={};Object.freeze(xI);var j4=null,oJ=null,T$=0,pk=1,N$=2,P6=8,m4=16,lk=32,k_=!1;try{var x_=Object.preventExtensions({})}catch($){k_=!0}var bK=new WeakMap,iJ=[],rJ=0,VV=null,YG=0,q4=[],S4=0,vX=null,n1=1,o1="",M6=null,CU=null,p$=!1,T1=!1,V4=null,gI=null,R4=!1,hK=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."),cK=T0(null),pK=T0(null),g_={},zV=null,tJ=null,aJ=!1,mk=typeof AbortController<"u"?AbortController:function(){var $=[],U=this.signal={aborted:!1,addEventListener:function(Q,F){$.push(F)}};this.abort=function(){U.aborted=!0,$.forEach(function(Q){return Q()})}},dk=o$.unstable_scheduleCallback,nk=o$.unstable_NormalPriority,sU={$$typeof:O1,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},eU=o$.unstable_now,DV=console.createTask?console.createTask:function(){return null},GG=1,WV=2,z6=-0,wI=-0,i1=-0,r1=null,B6=-1.1,NX=-0,NU=-0,A$=-1.1,C$=-1.1,SU=null,wU=!1,fI=-0,P1=-1.1,ZG=null,yI=0,lK=null,mK=null,kX=-1.1,VG=null,sJ=-1.1,KV=-1.1,_1=-0,t1=-1.1,B4=-1.1,dK=0,zG=null,w_=null,f_=null,uI=-1.1,xX=null,bI=-1.1,FV=-1.1,y_=-0,u_=-0,OV=0,a1=null,b_=0,DG=-1.1,HV=!1,LV=!1,WG=null,nK=0,gX=0,eJ=null,h_=y0.S;y0.S=function($,U){if(wE=V6(),typeof U==="object"&&U!==null&&typeof U.then==="function"){if(0>t1&&0>B4){t1=eU();var Q=pY(),F=cY();if(Q!==bI||F!==xX)bI=-1.1;uI=Q,xX=F}WN($,U)}h_!==null&&h_($,U)};var wX=T0(null),d4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},KG=[],FG=[],OG=[],HG=[],LG=[],MG=[],fX=new Set;d4.recordUnsafeLifecycleWarnings=function($,U){fX.has($.type)||(typeof U.componentWillMount==="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0&&KG.push($),$.mode&P6&&typeof U.UNSAFE_componentWillMount==="function"&&FG.push($),typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&OG.push($),$.mode&P6&&typeof U.UNSAFE_componentWillReceiveProps==="function"&&HG.push($),typeof U.componentWillUpdate==="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0&&LG.push($),$.mode&P6&&typeof U.UNSAFE_componentWillUpdate==="function"&&MG.push($))},d4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<KG.length&&(KG.forEach(function(f){$.add(t(f)||"Component"),fX.add(f.type)}),KG=[]);var U=new Set;0<FG.length&&(FG.forEach(function(f){U.add(t(f)||"Component"),fX.add(f.type)}),FG=[]);var Q=new Set;0<OG.length&&(OG.forEach(function(f){Q.add(t(f)||"Component"),fX.add(f.type)}),OG=[]);var F=new Set;0<HG.length&&(HG.forEach(function(f){F.add(t(f)||"Component"),fX.add(f.type)}),HG=[]);var M=new Set;0<LG.length&&(LG.forEach(function(f){M.add(t(f)||"Component"),fX.add(f.type)}),LG=[]);var _=new Set;if(0<MG.length&&(MG.forEach(function(f){_.add(t(f)||"Component"),fX.add(f.type)}),MG=[]),0<U.size){var k=C(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<F.size&&(k=C(F),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<_.size&&(k=C(_),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,k)),0<$.size&&(k=C($),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=C(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=C(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 MV=new Map,c_=new Set;d4.recordLegacyContextWarning=function($,U){var Q=null;for(var F=$;F!==null;)F.mode&P6&&(Q=F),F=F.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."):!c_.has($.type)&&(F=MV.get(Q),$.type.contextTypes!=null||$.type.childContextTypes!=null||U!==null&&typeof U.getChildContext==="function")&&(F===void 0&&(F=[],MV.set(Q,F)),F.push($))},d4.flushLegacyContextWarning=function(){MV.forEach(function($){if($.length!==0){var U=$[0],Q=new Set;$.forEach(function(M){Q.add(t(M)||"Component"),c_.add(M.type)});var F=C(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`,F)})}})},d4.discardPendingWarnings=function(){KG=[],FG=[],OG=[],HG=[],LG=[],MG=[],MV=new Map};var p_={react_stack_bottom_frame:function($,U,Q){var F=H1;H1=!0;try{return $(U,Q)}finally{H1=F}}},oK=p_.react_stack_bottom_frame.bind(p_),l_={react_stack_bottom_frame:function($){var U=H1;H1=!0;try{return $.render()}finally{H1=U}}},m_=l_.react_stack_bottom_frame.bind(l_),d_={react_stack_bottom_frame:function($,U){try{U.componentDidMount()}catch(Q){a$($,$.return,Q)}}},iK=d_.react_stack_bottom_frame.bind(d_),n_={react_stack_bottom_frame:function($,U,Q,F,M){try{U.componentDidUpdate(Q,F,M)}catch(_){a$($,$.return,_)}}},o_=n_.react_stack_bottom_frame.bind(n_),i_={react_stack_bottom_frame:function($,U){var Q=U.stack;$.componentDidCatch(U.value,{componentStack:Q!==null?Q:""})}},ok=i_.react_stack_bottom_frame.bind(i_),r_={react_stack_bottom_frame:function($,U,Q){try{Q.componentWillUnmount()}catch(F){a$($,U,F)}}},t_=r_.react_stack_bottom_frame.bind(r_),a_={react_stack_bottom_frame:function($){var U=$.create;return $=$.inst,U=U(),$.destroy=U}},ik=a_.react_stack_bottom_frame.bind(a_),s_={react_stack_bottom_frame:function($,U,Q){try{Q()}catch(F){a$($,U,F)}}},rk=s_.react_stack_bottom_frame.bind(s_),e_={react_stack_bottom_frame:function($){var U=$._init;return U($._payload)}},tk=e_.react_stack_bottom_frame.bind(e_),$Q=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`."),rK=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."),AV=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."),CV={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.')}},yX=null,AG=!1,UQ=null,CG=0,k$=null,tK,$E=tK=!1,UE={},IE={},XE={};q=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 F=t($),M=F||"null";if(!UE[M]){UE[M]=!0,Q=Q._owner,$=$._debugOwner;var _="";$&&typeof $.tag==="number"&&(M=t($))&&(_=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+M+"`."),_||F&&(_=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+F+">.");var k="";Q!=null&&$!==Q&&(F=null,typeof Q.tag==="number"?F=t(Q):typeof Q.name==="string"&&(F=Q.name),F&&(k=" It was passed a child from "+F+".")),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.',_,k)})}}};var uX=rA(!0),JE=rA(!1),QE=0,YE=1,GE=2,aK=3,hI=!1,ZE=!1,sK=null,eK=!1,IQ=T0(null),TV=T0(0),z4=T0(null),v4=null,XQ=1,TG=2,tU=T0(0),PV=0,N4=1,v6=2,D4=4,N6=8,JQ,VE=new Set,zE=new Set,$9=new Set,DE=new Set,s1=0,P$=null,GU=null,$6=null,_V=!1,QQ=!1,bX=!1,EV=0,PG=0,e1=null,ak=0,sk=25,w0=null,k4=null,$I=-1,_G=!1,EG={readContext:qU,use:PI,useCallback:mU,useContext:mU,useEffect:mU,useImperativeHandle:mU,useLayoutEffect:mU,useInsertionEffect:mU,useMemo:mU,useReducer:mU,useRef:mU,useState:mU,useDebugValue:mU,useDeferredValue:mU,useTransition:mU,useSyncExternalStore:mU,useId:mU,useHostTransitionStatus:mU,useFormState:mU,useActionState:mU,useOptimistic:mU,useMemoCache:mU,useCacheRefresh:mU};EG.useEffectEvent=mU;var U9=null,WE=null,I9=null,KE=null,E1=null,n4=null,jV=null;U9={readContext:function($){return qU($)},use:PI,useCallback:function($,U){return w0="useCallback",f$(),TJ(U),eD($,U)},useContext:function($){return w0="useContext",f$(),qU($)},useEffect:function($,U){return w0="useEffect",f$(),TJ(U),MZ($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",f$(),TJ(Q),sD($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",f$(),TJ(U),_X(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",f$(),TJ(U),aD($,U)},useMemo:function($,U){w0="useMemo",f$(),TJ(U);var Q=y0.H;y0.H=E1;try{return $W($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",f$();var F=y0.H;y0.H=E1;try{return pD($,U,Q)}finally{y0.H=F}},useRef:function($){return w0="useRef",f$(),rD($)},useState:function($){w0="useState",f$();var U=y0.H;y0.H=E1;try{return nD($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",f$()},useDeferredValue:function($,U){return w0="useDeferredValue",f$(),UW($,U)},useTransition:function(){return w0="useTransition",f$(),JW()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",f$(),mD($,U,Q)},useId:function(){return w0="useId",f$(),QW()},useFormState:function($,U){return w0="useFormState",f$(),KZ(),_J($,U)},useActionState:function($,U){return w0="useActionState",f$(),_J($,U)},useOptimistic:function($){return w0="useOptimistic",f$(),oD($)},useHostTransitionStatus:EX,useMemoCache:PX,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),YW()},useEffectEvent:function($){return w0="useEffectEvent",f$(),tD($)}},WE={readContext:function($){return qU($)},use:PI,useCallback:function($,U){return w0="useCallback",Y$(),eD($,U)},useContext:function($){return w0="useContext",Y$(),qU($)},useEffect:function($,U){return w0="useEffect",Y$(),MZ($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),sD($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",Y$(),_X(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),aD($,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=E1;try{return $W($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var F=y0.H;y0.H=E1;try{return pD($,U,Q)}finally{y0.H=F}},useRef:function($){return w0="useRef",Y$(),rD($)},useState:function($){w0="useState",Y$();var U=y0.H;y0.H=E1;try{return nD($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),UW($,U)},useTransition:function(){return w0="useTransition",Y$(),JW()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),mD($,U,Q)},useId:function(){return w0="useId",Y$(),QW()},useActionState:function($,U){return w0="useActionState",Y$(),_J($,U)},useFormState:function($,U){return w0="useFormState",Y$(),KZ(),_J($,U)},useOptimistic:function($){return w0="useOptimistic",Y$(),oD($)},useHostTransitionStatus:EX,useMemoCache:PX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),YW()},useEffectEvent:function($){return w0="useEffectEvent",Y$(),tD($)}},I9={readContext:function($){return qU($)},use:PI,useCallback:function($,U){return w0="useCallback",Y$(),TZ($,U)},useContext:function($){return w0="useContext",Y$(),qU($)},useEffect:function($,U){w0="useEffect",Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),CZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",Y$(),p6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),p6(4,D4,$,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=n4;try{return PZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var F=y0.H;y0.H=n4;try{return PJ($,U,Q)}finally{y0.H=F}},useRef:function(){return w0="useRef",Y$(),UU().memoizedState},useState:function(){w0="useState",Y$();var $=y0.H;y0.H=n4;try{return PJ(h4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),LC($,U)},useTransition:function(){return w0="useTransition",Y$(),_C()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),OZ($,U,Q)},useId:function(){return w0="useId",Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",Y$(),KZ(),HZ($)},useActionState:function($){return w0="useActionState",Y$(),HZ($)},useOptimistic:function($,U){return w0="useOptimistic",Y$(),GC($,U)},useHostTransitionStatus:EX,useMemoCache:PX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",Y$(),AZ($)}},KE={readContext:function($){return qU($)},use:PI,useCallback:function($,U){return w0="useCallback",Y$(),TZ($,U)},useContext:function($){return w0="useContext",Y$(),qU($)},useEffect:function($,U){w0="useEffect",Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),CZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",Y$(),p6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),p6(4,D4,$,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=jV;try{return PZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var F=y0.H;y0.H=jV;try{return BY($,U,Q)}finally{y0.H=F}},useRef:function(){return w0="useRef",Y$(),UU().memoizedState},useState:function(){w0="useState",Y$();var $=y0.H;y0.H=jV;try{return BY(h4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),MC($,U)},useTransition:function(){return w0="useTransition",Y$(),EC()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),OZ($,U,Q)},useId:function(){return w0="useId",Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",Y$(),KZ(),LZ($)},useActionState:function($){return w0="useActionState",Y$(),LZ($)},useOptimistic:function($,U){return w0="useOptimistic",Y$(),VC($,U)},useHostTransitionStatus:EX,useMemoCache:PX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",Y$(),AZ($)}},E1={readContext:function($){return R(),qU($)},use:function($){return L(),PI($)},useCallback:function($,U){return w0="useCallback",L(),f$(),eD($,U)},useContext:function($){return w0="useContext",L(),f$(),qU($)},useEffect:function($,U){return w0="useEffect",L(),f$(),MZ($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),f$(),sD($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",L(),f$(),_X(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),f$(),aD($,U)},useMemo:function($,U){w0="useMemo",L(),f$();var Q=y0.H;y0.H=E1;try{return $W($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),f$();var F=y0.H;y0.H=E1;try{return pD($,U,Q)}finally{y0.H=F}},useRef:function($){return w0="useRef",L(),f$(),rD($)},useState:function($){w0="useState",L(),f$();var U=y0.H;y0.H=E1;try{return nD($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",L(),f$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),f$(),UW($,U)},useTransition:function(){return w0="useTransition",L(),f$(),JW()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),f$(),mD($,U,Q)},useId:function(){return w0="useId",L(),f$(),QW()},useFormState:function($,U){return w0="useFormState",L(),f$(),_J($,U)},useActionState:function($,U){return w0="useActionState",L(),f$(),_J($,U)},useOptimistic:function($){return w0="useOptimistic",L(),f$(),oD($)},useMemoCache:function($){return L(),PX($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),YW()},useEffectEvent:function($){return w0="useEffectEvent",L(),f$(),tD($)}},n4={readContext:function($){return R(),qU($)},use:function($){return L(),PI($)},useCallback:function($,U){return w0="useCallback",L(),Y$(),TZ($,U)},useContext:function($){return w0="useContext",L(),Y$(),qU($)},useEffect:function($,U){w0="useEffect",L(),Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),Y$(),CZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",L(),Y$(),p6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),Y$(),p6(4,D4,$,U)},useMemo:function($,U){w0="useMemo",L(),Y$();var Q=y0.H;y0.H=n4;try{return PZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),Y$();var F=y0.H;y0.H=n4;try{return PJ($,U,Q)}finally{y0.H=F}},useRef:function(){return w0="useRef",L(),Y$(),UU().memoizedState},useState:function(){w0="useState",L(),Y$();var $=y0.H;y0.H=n4;try{return PJ(h4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",L(),Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),Y$(),LC($,U)},useTransition:function(){return w0="useTransition",L(),Y$(),_C()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),Y$(),OZ($,U,Q)},useId:function(){return w0="useId",L(),Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",L(),Y$(),HZ($)},useActionState:function($){return w0="useActionState",L(),Y$(),HZ($)},useOptimistic:function($,U){return w0="useOptimistic",L(),Y$(),GC($,U)},useMemoCache:function($){return L(),PX($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",L(),Y$(),AZ($)}},jV={readContext:function($){return R(),qU($)},use:function($){return L(),PI($)},useCallback:function($,U){return w0="useCallback",L(),Y$(),TZ($,U)},useContext:function($){return w0="useContext",L(),Y$(),qU($)},useEffect:function($,U){w0="useEffect",L(),Y$(),p6(2048,N6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),Y$(),CZ($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",L(),Y$(),p6(4,v6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),Y$(),p6(4,D4,$,U)},useMemo:function($,U){w0="useMemo",L(),Y$();var Q=y0.H;y0.H=n4;try{return PZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),Y$();var F=y0.H;y0.H=n4;try{return BY($,U,Q)}finally{y0.H=F}},useRef:function(){return w0="useRef",L(),Y$(),UU().memoizedState},useState:function(){w0="useState",L(),Y$();var $=y0.H;y0.H=n4;try{return BY(h4)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",L(),Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),Y$(),MC($,U)},useTransition:function(){return w0="useTransition",L(),Y$(),EC()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),Y$(),OZ($,U,Q)},useId:function(){return w0="useId",L(),Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",L(),Y$(),LZ($)},useActionState:function($){return w0="useActionState",L(),Y$(),LZ($)},useOptimistic:function($,U){return w0="useOptimistic",L(),Y$(),VC($,U)},useMemoCache:function($){return L(),PX($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",L(),Y$(),AZ($)}};var FE={},OE=new Set,HE=new Set,LE=new Set,ME=new Set,AE=new Set,CE=new Set,TE=new Set,PE=new Set,_E=new Set,EE=new Set;Object.freeze(FE);var X9={enqueueSetState:function($,U,Q){$=$._reactInternals;var F=J4($),M=MI(F);M.payload=U,Q!==void 0&&Q!==null&&(ZW(Q),M.callback=Q),U=AI($,M,F),U!==null&&(U1(F,"this.setState()",$),gU(U,$,F),jY(U,$,F))},enqueueReplaceState:function($,U,Q){$=$._reactInternals;var F=J4($),M=MI(F);M.tag=YE,M.payload=U,Q!==void 0&&Q!==null&&(ZW(Q),M.callback=Q),U=AI($,M,F),U!==null&&(U1(F,"this.replaceState()",$),gU(U,$,F),jY(U,$,F))},enqueueForceUpdate:function($,U){$=$._reactInternals;var Q=J4($),F=MI(Q);F.tag=GE,U!==void 0&&U!==null&&(ZW(U),F.callback=U),U=AI($,F,Q),U!==null&&(U1(Q,"this.forceUpdate()",$),gU(U,$,Q),jY(U,$,Q))}},YQ=null,J9=null,Q9=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,jE={},qE={},SE={},RE={},GQ=!1,BE={},qV={},Y9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},vE=!1,NE=null;NE=new Set;var UI=!1,I6=!1,G9=!1,kE=typeof WeakSet==="function"?WeakSet:Set,D6=null,ZQ=null,VQ=null,X6=null,d6=!1,o4=null,Y6=!1,jG=8192,ek={getCacheForType:function($){var U=qU(sU),Q=U.data.get($);return Q===void 0&&(Q=$(),U.data.set($,Q)),Q},cacheSignal:function(){return qU(sU).controller.signal},getOwner:function(){return G4}};if(typeof Symbol==="function"&&Symbol.for){var qG=Symbol.for;qG("selector.component"),qG("selector.has_pseudo_class"),qG("selector.role"),qG("selector.test_id"),qG("selector.text")}var $x=[],Ux=typeof WeakMap==="function"?WeakMap:Map,W6=0,G6=2,W4=4,II=0,SG=1,hX=2,SV=3,cI=4,RV=6,xE=5,n$=W6,ZU=null,w$=null,x$=0,n6=0,BV=1,cX=2,RG=3,gE=4,Z9=5,BG=6,vV=7,V9=8,pX=9,IU=n6,K4=null,pI=!1,zQ=!1,z9=!1,j1=0,kU=II,lI=0,mI=0,D9=0,o6=0,lX=0,vG=null,k6=null,NV=!1,kV=0,wE=0,fE=300,xV=1/0,yE=500,NG=null,dU=null,dI=null,gV=0,W9=1,K9=2,uE=3,nI=0,bE=1,hE=2,cE=3,pE=4,wV=5,J6=0,oI=null,DQ=null,i4=0,F9=0,O9=-0,H9=null,lE=null,mE=null,r4=gV,dE=null,Ix=50,kG=0,L9=null,M9=!1,fV=!1,Xx=50,mX=0,xG=null,WQ=!1,yV=null,nE=!1,oE=new Set,Jx={},uV=null,KQ=null,A9=!1,C9=!1,bV=!1,T9=!1,iI=0,P9={};(function(){for(var $=0;$<xK.length;$++){var U=xK[$],Q=U.toLowerCase();U=U[0].toUpperCase()+U.slice(1),b4(Q,"on"+U)}b4(__,"onAnimationEnd"),b4(E_,"onAnimationIteration"),b4(j_,"onAnimationStart"),b4("dblclick","onDoubleClick"),b4("focusin","onFocus"),b4("focusout","onBlur"),b4(gk,"onTransitionRun"),b4(wk,"onTransitionStart"),b4(fk,"onTransitionCancel"),b4(q_,"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(" "),_9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(gG)),hV="_reactListening"+Math.random().toString(36).slice(2),iE=!1,rE=!1,cV=!1,tE=!1,pV=!1,lV=!1,aE=!1,mV={},Qx=/\r\n?/g,Yx=/\u0000|\uFFFD/g,dX="http://www.w3.org/1999/xlink",E9="http://www.w3.org/XML/1998/namespace",Gx="javascript:throw new Error('React form unexpectedly submitted.')",Zx="suppressHydrationWarning",nX="&",dV="/&",wG="$",fG="/$",rI="$?",oX="$~",FQ="$!",Vx="html",zx="body",Dx="head",j9="F!",sE="F",eE="loading",Wx="style",XI=0,OQ=1,nV=2,q9=null,S9=null,$j={dialog:!0,webview:!0},R9=null,yG=void 0,Uj=typeof setTimeout==="function"?setTimeout:void 0,Kx=typeof clearTimeout==="function"?clearTimeout:void 0,iX=-1,Ij=typeof Promise==="function"?Promise:void 0,Fx=typeof queueMicrotask==="function"?queueMicrotask:typeof Ij<"u"?function($){return Ij.resolve(null).then($).catch(sN)}:Uj,B9=null,rX=0,uG=1,Xj=2,Jj=3,x4=4,g4=new Map,Qj=new Set,JI=s$.d;s$.d={f:function(){var $=JI.f(),U=RJ();return $||U},r:function($){var U=O$($);U!==null&&U.tag===5&&U.type==="form"?PC(U):JI.r($)},D:function($){JI.D($),OP("dns-prefetch",$,null)},C:function($,U){JI.C($,U),OP("preconnect",$,U)},L:function($,U,Q){JI.L($,U,Q);var F=HQ;if(F&&$&&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 _=M;switch(U){case"style":_=NJ($);break;case"script":_=kJ($)}g4.has(_)||($=y$({rel:"preload",href:U==="image"&&Q&&Q.imageSrcSet?void 0:$,as:U},Q),g4.set(_,$),F.querySelector(M)!==null||U==="style"&&F.querySelector(mY(_))||U==="script"&&F.querySelector(dY(_))||(U=F.createElement("link"),H6(U,"link",$),W$(U),F.head.appendChild(U)))}},m:function($,U){JI.m($,U);var Q=HQ;if(Q&&$){var F=U&&typeof U.as==="string"?U.as:"script",M='link[rel="modulepreload"][as="'+e$(F)+'"][href="'+e$($)+'"]',_=M;switch(F){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":_=kJ($)}if(!g4.has(_)&&($=y$({rel:"modulepreload",href:$},U),g4.set(_,$),Q.querySelector(M)===null)){switch(F){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Q.querySelector(dY(_)))return}F=Q.createElement("link"),H6(F,"link",$),W$(F),Q.head.appendChild(F)}}},X:function($,U){JI.X($,U);var Q=HQ;if(Q&&$){var F=f0(Q).hoistableScripts,M=kJ($),_=F.get(M);_||(_=Q.querySelector(dY(M)),_||($=y$({src:$,async:!0},U),(U=g4.get(M))&&sW($,U),_=Q.createElement("script"),W$(_),H6(_,"link",$),Q.head.appendChild(_)),_={type:"script",instance:_,count:1,state:null},F.set(M,_))}},S:function($,U,Q){JI.S($,U,Q);var F=HQ;if(F&&$){var M=f0(F).hoistableStyles,_=NJ($);U=U||"default";var k=M.get(_);if(!k){var f={loading:rX,preload:null};if(k=F.querySelector(mY(_)))f.loading=uG|x4;else{$=y$({rel:"stylesheet",href:$,"data-precedence":U},Q),(Q=g4.get(_))&&aW($,Q);var m=k=F.createElement("link");W$(m),H6(m,"link",$),m._p=new Promise(function(o,P0){m.onload=o,m.onerror=P0}),m.addEventListener("load",function(){f.loading|=uG}),m.addEventListener("error",function(){f.loading|=Xj}),f.loading|=x4,cZ(k,U,F)}k={type:"stylesheet",instance:k,count:1,state:f},M.set(_,k)}}},M:function($,U){JI.M($,U);var Q=HQ;if(Q&&$){var F=f0(Q).hoistableScripts,M=kJ($),_=F.get(M);_||(_=Q.querySelector(dY(M)),_||($=y$({src:$,async:!0,type:"module"},U),(U=g4.get(M))&&sW($,U),_=Q.createElement("script"),W$(_),H6(_,"link",$),Q.head.appendChild(_)),_={type:"script",instance:_,count:1,state:null},F.set(M,_))}}};var HQ=typeof document>"u"?null:document,oV=null,Ox=60000,Hx=800,Lx=500,v9=0,N9=null,iV=null,tX=k3,bG={$$typeof:O1,Provider:null,Consumer:null,_currentValue:tX,_currentValue2:tX,_threadCount:0},Yj="%c%s%c",Gj="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",Zj="",rV=" ",Mx=Function.prototype.bind,Vj=!1,zj=null,Dj=null,Wj=null,Kj=null,Fj=null,Oj=null,Hj=null,Lj=null,Mj=null,Aj=null;zj=function($,U,Q,F){U=I($,U),U!==null&&(Q=J(U.memoizedState,Q,0,F),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=C6($,2),Q!==null&&gU(Q,$,2))},Dj=function($,U,Q){U=I($,U),U!==null&&(Q=X(U.memoizedState,Q,0),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=C6($,2),Q!==null&&gU(Q,$,2))},Wj=function($,U,Q,F){U=I($,U),U!==null&&(Q=Y(U.memoizedState,Q,F),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=C6($,2),Q!==null&&gU(Q,$,2))},Kj=function($,U,Q){$.pendingProps=J($.memoizedProps,U,0,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=C6($,2),U!==null&&gU(U,$,2)},Fj=function($,U){$.pendingProps=X($.memoizedProps,U,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=C6($,2),U!==null&&gU(U,$,2)},Oj=function($,U,Q){$.pendingProps=Y($.memoizedProps,U,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=C6($,2),U!==null&&gU(U,$,2)},Hj=function($){var U=C6($,2);U!==null&&gU(U,$,2)},Lj=function($){var U=L$(),Q=C6($,U);Q!==null&&gU(Q,$,U)},Mj=function($){Z=$},Aj=function($){z=$};var tV=!0,aV=null,k9=!1,tI=null,aI=null,sI=null,hG=new Map,cG=new Map,eI=[],Ax="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(" "),sV=null;if(nZ.prototype.render=JK.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 F=U.current,M=J4(F);eW(F,M,Q,U,null,null)},nZ.prototype.unmount=JK.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|W4))!==W6&&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."),eW($.current,2,null,$,null,null),RJ(),U[BI]=null}},nZ.prototype.unstable_scheduleHydration=function($){if($){var U=X0();$={blockedOn:null,target:$,priority:U};for(var Q=0;Q<eI.length&&U!==0&&U<eI[Q].priority;Q++);eI.splice(Q,0,$),Q===0&&BP($)}},function(){var $=MQ.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=zj,$.overrideHookStateDeletePath=Dj,$.overrideHookStateRenamePath=Wj,$.overrideProps=Kj,$.overridePropsDeletePath=Fj,$.overridePropsRenamePath=Oj,$.scheduleUpdate=Hj,$.scheduleRetry=Lj,$.setErrorHandler=Mj,$.setSuspenseHandler=Aj,$.scheduleRefresh=N,$.scheduleRoot=B,$.setRefreshHandler=y,$.getCurrentFiber=E3,W0($)}()&&C1&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Cj=window.location.protocol;/^(https?|file):$/.test(Cj)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Cj==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}xx.createRoot=function($,U){if(!w($))throw Error("Target container is not a DOM element.");xP($);var Q=!1,F="",M=vC,_=NC,k=kC;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===F1&&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&&(F=U.identifierPrefix),U.onUncaughtError!==void 0&&(M=U.onUncaughtError),U.onCaughtError!==void 0&&(_=U.onCaughtError),U.onRecoverableError!==void 0&&(k=U.onRecoverableError)),U=PP($,1,!1,null,null,Q,F,null,M,_,k,kP),$[BI]=U.current,bW($),new JK(U)},xx.hydrateRoot=function($,U,Q){if(!w($))throw Error("Target container is not a DOM element.");xP($),U===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var F=!1,M="",_=vC,k=NC,f=kC,m=null;return Q!==null&&Q!==void 0&&(Q.unstable_strictMode===!0&&(F=!0),Q.identifierPrefix!==void 0&&(M=Q.identifierPrefix),Q.onUncaughtError!==void 0&&(_=Q.onUncaughtError),Q.onCaughtError!==void 0&&(k=Q.onCaughtError),Q.onRecoverableError!==void 0&&(f=Q.onRecoverableError),Q.formState!==void 0&&(m=Q.formState)),U=PP($,1,!0,U,Q!=null?Q:null,F,M,m,_,k,f,kP),U.context=_P(null),Q=U.current,F=J4(Q),F=r0(F),M=MI(F),M.callback=null,AI(Q,M,F),U1(F,"hydrateRoot()",null),Q=F,U.current.lanes=Q,c0(U,Q),W1(U),$[BI]=U.current,bW($),new nZ(U)},xx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Nj=YI((pm,vj)=>{var gx=w4(Bj());vj.exports=gx});var nU={};x6(nU,{transcode:()=>Ag,resolveObjectURL:()=>Hg,kStringMaxLength:()=>hj,kMaxLength:()=>mG,isUtf8:()=>Lg,isAscii:()=>Mg,default:()=>Cg,constants:()=>mx,btoa:()=>hx,atob:()=>cx,INSPECT_MAX_BYTES:()=>bj,File:()=>px,Buffer:()=>m0,Blob:()=>lx});function wx(I){var J=I.length;if(J%4>0)throw Error("Invalid string. Length must be a multiple of 4");var Y=I.indexOf("=");if(Y===-1)Y=J;var D=Y===J?0:4-Y%4;return[Y,D]}function fx(I,J){return(I+J)*3/4-J}function yx(I){var J,Y=wx(I),D=Y[0],X=Y[1],z=new Uint8Array(fx(D,X)),Z=0,L=X>0?D-4:D,R;for(R=0;R<L;R+=4)J=f4[I.charCodeAt(R)]<<18|f4[I.charCodeAt(R+1)]<<12|f4[I.charCodeAt(R+2)]<<6|f4[I.charCodeAt(R+3)],z[Z++]=J>>16&255,z[Z++]=J>>8&255,z[Z++]=J&255;if(X===2)J=f4[I.charCodeAt(R)]<<2|f4[I.charCodeAt(R+1)]>>4,z[Z++]=J&255;if(X===1)J=f4[I.charCodeAt(R)]<<10|f4[I.charCodeAt(R+1)]<<4|f4[I.charCodeAt(R+2)]>>2,z[Z++]=J>>8&255,z[Z++]=J&255;return z}function ux(I){return q1[I>>18&63]+q1[I>>12&63]+q1[I>>6&63]+q1[I&63]}function bx(I,J,Y){var D,X=[];for(var z=J;z<Y;z+=3)D=(I[z]<<16&16711680)+(I[z+1]<<8&65280)+(I[z+2]&255),X.push(ux(D));return X.join("")}function xj(I){var J,Y=I.length,D=Y%3,X=[],z=16383;for(var Z=0,L=Y-D;Z<L;Z+=z)X.push(bx(I,Z,Z+z>L?L:Z+z));if(D===1)J=I[Y-1],X.push(q1[J>>2]+q1[J<<4&63]+"==");else if(D===2)J=(I[Y-2]<<8)+I[Y-1],X.push(q1[J>>10]+q1[J>>4&63]+q1[J<<2&63]+"=");return X.join("")}function $z(I,J,Y,D,X){var z,Z,L=X*8-D-1,R=(1<<L)-1,j=R>>1,q=-7,C=Y?X-1:0,E=Y?-1:1,B=I[J+C];C+=E,z=B&(1<<-q)-1,B>>=-q,q+=L;for(;q>0;z=z*256+I[J+C],C+=E,q-=8);Z=z&(1<<-q)-1,z>>=-q,q+=D;for(;q>0;Z=Z*256+I[J+C],C+=E,q-=8);if(z===0)z=1-j;else if(z===R)return Z?NaN:(B?-1:1)*(1/0);else Z=Z+Math.pow(2,D),z=z-j;return(B?-1:1)*Z*Math.pow(2,z-D)}function uj(I,J,Y,D,X,z){var Z,L,R,j=z*8-X-1,q=(1<<j)-1,C=q>>1,E=X===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=D?0:z-1,N=D?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,Z=q;else{if(Z=Math.floor(Math.log(J)/Math.LN2),J*(R=Math.pow(2,-Z))<1)Z--,R*=2;if(Z+C>=1)J+=E/R;else J+=E*Math.pow(2,1-C);if(J*R>=2)Z++,R/=2;if(Z+C>=q)L=0,Z=q;else if(Z+C>=1)L=(J*R-1)*Math.pow(2,X),Z=Z+C;else L=J*Math.pow(2,C-1)*Math.pow(2,X),Z=0}for(;X>=8;I[Y+B]=L&255,B+=N,L/=256,X-=8);Z=Z<<X|L,j+=X;for(;j>0;I[Y+B]=Z&255,B+=N,Z/=256,j-=8);I[Y+B-N]|=y*128}function GI(I){if(I>mG)throw RangeError('The value "'+I+'" is invalid for option "size"');let J=new Uint8Array(I);return Object.setPrototypeOf(J,m0.prototype),J}function h9(I,J,Y){return class extends Y{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(D){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:D,writable:!0})}toString(){return`${this.name} [${I}]: ${this.message}`}}}function m0(I,J,Y){if(typeof I==="number"){if(typeof J==="string")throw TypeError('The "string" argument must be of type string. Received type number');return c9(I)}return cj(I,J,Y)}function cj(I,J,Y){if(typeof I==="string")return ix(I,J);if(ArrayBuffer.isView(I))return rx(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(S1(I,ArrayBuffer)||I&&S1(I.buffer,ArrayBuffer))return u9(I,J,Y);if(typeof SharedArrayBuffer<"u"&&(S1(I,SharedArrayBuffer)||I&&S1(I.buffer,SharedArrayBuffer)))return u9(I,J,Y);if(typeof I==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let D=I.valueOf&&I.valueOf();if(D!=null&&D!==I)return m0.from(D,J,Y);let X=tx(I);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]==="function")return m0.from(I[Symbol.toPrimitive]("string"),J,Y);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}function pj(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 ox(I,J,Y){if(pj(I),I<=0)return GI(I);if(J!==void 0)return typeof Y==="string"?GI(I).fill(J,Y):GI(I).fill(J);return GI(I)}function c9(I){return pj(I),GI(I<0?0:p9(I)|0)}function ix(I,J){if(typeof J!=="string"||J==="")J="utf8";if(!m0.isEncoding(J))throw TypeError("Unknown encoding: "+J);let Y=lj(I,J)|0,D=GI(Y),X=D.write(I,J);if(X!==Y)D=D.slice(0,X);return D}function y9(I){let J=I.length<0?0:p9(I.length)|0,Y=GI(J);for(let D=0;D<J;D+=1)Y[D]=I[D]&255;return Y}function rx(I){if(S1(I,Uint8Array)){let J=new Uint8Array(I);return u9(J.buffer,J.byteOffset,J.byteLength)}return y9(I)}function u9(I,J,Y){if(J<0||I.byteLength<J)throw RangeError('"offset" is outside of buffer bounds');if(I.byteLength<J+(Y||0))throw RangeError('"length" is outside of buffer bounds');let D;if(J===void 0&&Y===void 0)D=new Uint8Array(I);else if(Y===void 0)D=new Uint8Array(I,J);else D=new Uint8Array(I,J,Y);return Object.setPrototypeOf(D,m0.prototype),D}function tx(I){if(m0.isBuffer(I)){let J=p9(I.length)|0,Y=GI(J);if(Y.length===0)return Y;return I.copy(Y,0,0,J),Y}if(I.length!==void 0){if(typeof I.length!=="number"||Number.isNaN(I.length))return GI(0);return y9(I)}if(I.type==="Buffer"&&Array.isArray(I.data))return y9(I.data)}function p9(I){if(I>=mG)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+mG.toString(16)+" bytes");return I|0}function lj(I,J){if(m0.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||S1(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 Y=I.length,D=arguments.length>2&&arguments[2]===!0;if(!D&&Y===0)return 0;let X=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return b9(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y*2;case"hex":return Y>>>1;case"base64":return sj(I).length;default:if(X)return D?-1:b9(I).length;J=(""+J).toLowerCase(),X=!0}}function ax(I,J,Y){let D=!1;if(J===void 0||J<0)J=0;if(J>this.length)return"";if(Y===void 0||Y>this.length)Y=this.length;if(Y<=0)return"";if(Y>>>=0,J>>>=0,Y<=J)return"";if(!I)I="utf8";while(!0)switch(I){case"hex":return Gg(this,J,Y);case"utf8":case"utf-8":return dj(this,J,Y);case"ascii":return Qg(this,J,Y);case"latin1":case"binary":return Yg(this,J,Y);case"base64":return Xg(this,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zg(this,J,Y);default:if(D)throw TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),D=!0}}function eX(I,J,Y){let D=I[J];I[J]=I[Y],I[Y]=D}function mj(I,J,Y,D,X){if(I.length===0)return-1;if(typeof Y==="string")D=Y,Y=0;else if(Y>2147483647)Y=2147483647;else if(Y<-2147483648)Y=-2147483648;if(Y=+Y,Number.isNaN(Y))Y=X?0:I.length-1;if(Y<0)Y=I.length+Y;if(Y>=I.length)if(X)return-1;else Y=I.length-1;else if(Y<0)if(X)Y=0;else return-1;if(typeof J==="string")J=m0.from(J,D);if(m0.isBuffer(J)){if(J.length===0)return-1;return wj(I,J,Y,D,X)}else if(typeof J==="number"){if(J=J&255,typeof Uint8Array.prototype.indexOf==="function")if(X)return Uint8Array.prototype.indexOf.call(I,J,Y);else return Uint8Array.prototype.lastIndexOf.call(I,J,Y);return wj(I,[J],Y,D,X)}throw TypeError("val must be string, number or Buffer")}function wj(I,J,Y,D,X){let z=1,Z=I.length,L=J.length;if(D!==void 0){if(D=String(D).toLowerCase(),D==="ucs2"||D==="ucs-2"||D==="utf16le"||D==="utf-16le"){if(I.length<2||J.length<2)return-1;z=2,Z/=2,L/=2,Y/=2}}function R(q,C){if(z===1)return q[C];else return q.readUInt16BE(C*z)}let j;if(X){let q=-1;for(j=Y;j<Z;j++)if(R(I,j)===R(J,q===-1?0:j-q)){if(q===-1)q=j;if(j-q+1===L)return q*z}else{if(q!==-1)j-=j-q;q=-1}}else{if(Y+L>Z)Y=Z-L;for(j=Y;j>=0;j--){let q=!0;for(let C=0;C<L;C++)if(R(I,j+C)!==R(J,C)){q=!1;break}if(q)return j}}return-1}function sx(I,J,Y,D){Y=Number(Y)||0;let X=I.length-Y;if(!D)D=X;else if(D=Number(D),D>X)D=X;let z=J.length;if(D>z/2)D=z/2;let Z;for(Z=0;Z<D;++Z){let L=parseInt(J.substr(Z*2,2),16);if(Number.isNaN(L))return Z;I[Y+Z]=L}return Z}function ex(I,J,Y,D){return Uz(b9(J,I.length-Y),I,Y,D)}function $g(I,J,Y,D){return Uz(Wg(J),I,Y,D)}function Ug(I,J,Y,D){return Uz(sj(J),I,Y,D)}function Ig(I,J,Y,D){return Uz(Kg(J,I.length-Y),I,Y,D)}function Xg(I,J,Y){if(J===0&&Y===I.length)return xj(I);else return xj(I.slice(J,Y))}function dj(I,J,Y){Y=Math.min(I.length,Y);let D=[],X=J;while(X<Y){let z=I[X],Z=null,L=z>239?4:z>223?3:z>191?2:1;if(X+L<=Y){let R,j,q,C;switch(L){case 1:if(z<128)Z=z;break;case 2:if(R=I[X+1],(R&192)===128){if(C=(z&31)<<6|R&63,C>127)Z=C}break;case 3:if(R=I[X+1],j=I[X+2],(R&192)===128&&(j&192)===128){if(C=(z&15)<<12|(R&63)<<6|j&63,C>2047&&(C<55296||C>57343))Z=C}break;case 4:if(R=I[X+1],j=I[X+2],q=I[X+3],(R&192)===128&&(j&192)===128&&(q&192)===128){if(C=(z&15)<<18|(R&63)<<12|(j&63)<<6|q&63,C>65535&&C<1114112)Z=C}}}if(Z===null)Z=65533,L=1;else if(Z>65535)Z-=65536,D.push(Z>>>10&1023|55296),Z=56320|Z&1023;D.push(Z),X+=L}return Jg(D)}function Jg(I){let J=I.length;if(J<=fj)return String.fromCharCode.apply(String,I);let Y="",D=0;while(D<J)Y+=String.fromCharCode.apply(String,I.slice(D,D+=fj));return Y}function Qg(I,J,Y){let D="";Y=Math.min(I.length,Y);for(let X=J;X<Y;++X)D+=String.fromCharCode(I[X]&127);return D}function Yg(I,J,Y){let D="";Y=Math.min(I.length,Y);for(let X=J;X<Y;++X)D+=String.fromCharCode(I[X]);return D}function Gg(I,J,Y){let D=I.length;if(!J||J<0)J=0;if(!Y||Y<0||Y>D)Y=D;let X="";for(let z=J;z<Y;++z)X+=Fg[I[z]];return X}function Zg(I,J,Y){let D=I.slice(J,Y),X="";for(let z=0;z<D.length-1;z+=2)X+=String.fromCharCode(D[z]+D[z+1]*256);return X}function K6(I,J,Y){if(I%1!==0||I<0)throw RangeError("offset is not uint");if(I+J>Y)throw RangeError("Trying to access beyond buffer length")}function i6(I,J,Y,D,X,z){if(!m0.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(Y+D>I.length)throw RangeError("Index out of range")}function nj(I,J,Y,D,X){aj(J,D,X,I,Y,7);let z=Number(J&BigInt(4294967295));I[Y++]=z,z=z>>8,I[Y++]=z,z=z>>8,I[Y++]=z,z=z>>8,I[Y++]=z;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return I[Y++]=Z,Z=Z>>8,I[Y++]=Z,Z=Z>>8,I[Y++]=Z,Z=Z>>8,I[Y++]=Z,Y}function oj(I,J,Y,D,X){aj(J,D,X,I,Y,7);let z=Number(J&BigInt(4294967295));I[Y+7]=z,z=z>>8,I[Y+6]=z,z=z>>8,I[Y+5]=z,z=z>>8,I[Y+4]=z;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return I[Y+3]=Z,Z=Z>>8,I[Y+2]=Z,Z=Z>>8,I[Y+1]=Z,Z=Z>>8,I[Y]=Z,Y+8}function ij(I,J,Y,D,X,z){if(Y+D>I.length)throw RangeError("Index out of range");if(Y<0)throw RangeError("Index out of range")}function rj(I,J,Y,D,X){if(J=+J,Y=Y>>>0,!X)ij(I,J,Y,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return uj(I,J,Y,D,23,4),Y+4}function tj(I,J,Y,D,X){if(J=+J,Y=Y>>>0,!X)ij(I,J,Y,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return uj(I,J,Y,D,52,8),Y+8}function yj(I){let J="",Y=I.length,D=I[0]==="-"?1:0;for(;Y>=D+4;Y-=3)J=`_${I.slice(Y-3,Y)}${J}`;return`${I.slice(0,Y)}${J}`}function Vg(I,J,Y){if(AQ(J,"offset"),I[J]===void 0||I[J+Y]===void 0)dG(J,I.length-(Y+1))}function aj(I,J,Y,D,X,z){if(I>Y||I<J){let Z=typeof J==="bigint"?"n":"",L;if(z>3)if(J===0||J===BigInt(0))L=`>= 0${Z} and < 2${Z} ** ${(z+1)*8}${Z}`;else L=`>= -(2${Z} ** ${(z+1)*8-1}${Z}) and < 2 ** ${(z+1)*8-1}${Z}`;else L=`>= ${J}${Z} and <= ${Y}${Z}`;throw new f9("value",L,I)}Vg(D,X,z)}function AQ(I,J){if(typeof I!=="number")throw new nx(J,"number",I)}function dG(I,J,Y){if(Math.floor(I)!==I)throw AQ(I,Y),new f9(Y||"offset","an integer",I);if(J<0)throw new dx;throw new f9(Y||"offset",`>= ${Y?1:0} and <= ${J}`,I)}function Dg(I){if(I=I.split("=")[0],I=I.trim().replace(zg,""),I.length<2)return"";while(I.length%4!==0)I=I+"=";return I}function b9(I,J){J=J||1/0;let Y,D=I.length,X=null,z=[];for(let Z=0;Z<D;++Z){if(Y=I.charCodeAt(Z),Y>55295&&Y<57344){if(!X){if(Y>56319){if((J-=3)>-1)z.push(239,191,189);continue}else if(Z+1===D){if((J-=3)>-1)z.push(239,191,189);continue}X=Y;continue}if(Y<56320){if((J-=3)>-1)z.push(239,191,189);X=Y;continue}Y=(X-55296<<10|Y-56320)+65536}else if(X){if((J-=3)>-1)z.push(239,191,189)}if(X=null,Y<128){if((J-=1)<0)break;z.push(Y)}else if(Y<2048){if((J-=2)<0)break;z.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((J-=3)<0)break;z.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((J-=4)<0)break;z.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw Error("Invalid code point")}return z}function Wg(I){let J=[];for(let Y=0;Y<I.length;++Y)J.push(I.charCodeAt(Y)&255);return J}function Kg(I,J){let Y,D,X,z=[];for(let Z=0;Z<I.length;++Z){if((J-=2)<0)break;Y=I.charCodeAt(Z),D=Y>>8,X=Y%256,z.push(X),z.push(D)}return z}function sj(I){return yx(Dg(I))}function Uz(I,J,Y,D){let X;for(X=0;X<D;++X){if(X+Y>=J.length||X>=I.length)break;J[X+Y]=I[X]}return X}function S1(I,J){return I instanceof J||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===J.name}function $X(I){return typeof BigInt>"u"?Og:I}function Og(){throw Error("BigInt not supported")}function l9(I){return()=>{throw Error(I+" is not implemented for node:buffer browser polyfill")}}var q1,f4,w9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sX,kj,gj,bj=50,mG=2147483647,hj=536870888,hx,cx,px,lx,mx,dx,nx,f9,fj=4096,zg,Fg,Hg,Lg,Mg=(I)=>{for(let J of I)if(J.charCodeAt(0)>127)return!1;return!0},Ag,Cg;var oU=LQ(()=>{q1=[],f4=[];for(sX=0,kj=w9.length;sX<kj;++sX)q1[sX]=w9[sX],f4[w9.charCodeAt(sX)]=sX;f4[45]=62;f4[95]=63;gj=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,hx=globalThis.btoa,cx=globalThis.atob,px=globalThis.File,lx=globalThis.Blob,mx={MAX_LENGTH:mG,MAX_STRING_LENGTH:hj};dx=h9("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),nx=h9("ERR_INVALID_ARG_TYPE",function(I,J){return`The "${I}" argument must be of type number. Received type ${typeof J}`},TypeError),f9=h9("ERR_OUT_OF_RANGE",function(I,J,Y){let D=`The value of "${I}" is out of range.`,X=Y;if(Number.isInteger(Y)&&Math.abs(Y)>4294967296)X=yj(String(Y));else if(typeof Y==="bigint"){if(X=String(Y),Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))X=yj(X);X+="n"}return D+=` It must be ${J}. Received ${X}`,D},RangeError);Object.defineProperty(m0.prototype,"parent",{enumerable:!0,get:function(){if(!m0.isBuffer(this))return;return this.buffer}});Object.defineProperty(m0.prototype,"offset",{enumerable:!0,get:function(){if(!m0.isBuffer(this))return;return this.byteOffset}});m0.poolSize=8192;m0.from=function(I,J,Y){return cj(I,J,Y)};Object.setPrototypeOf(m0.prototype,Uint8Array.prototype);Object.setPrototypeOf(m0,Uint8Array);m0.alloc=function(I,J,Y){return ox(I,J,Y)};m0.allocUnsafe=function(I){return c9(I)};m0.allocUnsafeSlow=function(I){return c9(I)};m0.isBuffer=function(I){return I!=null&&I._isBuffer===!0&&I!==m0.prototype};m0.compare=function(I,J){if(S1(I,Uint8Array))I=m0.from(I,I.offset,I.byteLength);if(S1(J,Uint8Array))J=m0.from(J,J.offset,J.byteLength);if(!m0.isBuffer(I)||!m0.isBuffer(J))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(I===J)return 0;let Y=I.length,D=J.length;for(let X=0,z=Math.min(Y,D);X<z;++X)if(I[X]!==J[X]){Y=I[X],D=J[X];break}if(Y<D)return-1;if(D<Y)return 1;return 0};m0.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}};m0.concat=function(I,J){if(!Array.isArray(I))throw TypeError('"list" argument must be an Array of Buffers');if(I.length===0)return m0.alloc(0);let Y;if(J===void 0){J=0;for(Y=0;Y<I.length;++Y)J+=I[Y].length}let D=m0.allocUnsafe(J),X=0;for(Y=0;Y<I.length;++Y){let z=I[Y];if(S1(z,Uint8Array))if(X+z.length>D.length){if(!m0.isBuffer(z))z=m0.from(z);z.copy(D,X)}else Uint8Array.prototype.set.call(D,z,X);else if(!m0.isBuffer(z))throw TypeError('"list" argument must be an Array of Buffers');else z.copy(D,X);X+=z.length}return D};m0.byteLength=lj;m0.prototype._isBuffer=!0;m0.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)eX(this,J,J+1);return this};m0.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)eX(this,J,J+3),eX(this,J+1,J+2);return this};m0.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)eX(this,J,J+7),eX(this,J+1,J+6),eX(this,J+2,J+5),eX(this,J+3,J+4);return this};m0.prototype.toString=function(){let I=this.length;if(I===0)return"";if(arguments.length===0)return dj(this,0,I);return ax.apply(this,arguments)};m0.prototype.toLocaleString=m0.prototype.toString;m0.prototype.equals=function(I){if(!m0.isBuffer(I))throw TypeError("Argument must be a Buffer");if(this===I)return!0;return m0.compare(this,I)===0};m0.prototype.inspect=function(){let I="",J=bj;if(I=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J)I+=" ... ";return"<Buffer "+I+">"};if(gj)m0.prototype[gj]=m0.prototype.inspect;m0.prototype.compare=function(I,J,Y,D,X){if(S1(I,Uint8Array))I=m0.from(I,I.offset,I.byteLength);if(!m0.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(Y===void 0)Y=I?I.length:0;if(D===void 0)D=0;if(X===void 0)X=this.length;if(J<0||Y>I.length||D<0||X>this.length)throw RangeError("out of range index");if(D>=X&&J>=Y)return 0;if(D>=X)return-1;if(J>=Y)return 1;if(J>>>=0,Y>>>=0,D>>>=0,X>>>=0,this===I)return 0;let z=X-D,Z=Y-J,L=Math.min(z,Z),R=this.slice(D,X),j=I.slice(J,Y);for(let q=0;q<L;++q)if(R[q]!==j[q]){z=R[q],Z=j[q];break}if(z<Z)return-1;if(Z<z)return 1;return 0};m0.prototype.includes=function(I,J,Y){return this.indexOf(I,J,Y)!==-1};m0.prototype.indexOf=function(I,J,Y){return mj(this,I,J,Y,!0)};m0.prototype.lastIndexOf=function(I,J,Y){return mj(this,I,J,Y,!1)};m0.prototype.write=function(I,J,Y,D){if(J===void 0)D="utf8",Y=this.length,J=0;else if(Y===void 0&&typeof J==="string")D=J,Y=this.length,J=0;else if(isFinite(J))if(J=J>>>0,isFinite(Y)){if(Y=Y>>>0,D===void 0)D="utf8"}else D=Y,Y=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let X=this.length-J;if(Y===void 0||Y>X)Y=X;if(I.length>0&&(Y<0||J<0)||J>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!D)D="utf8";let z=!1;for(;;)switch(D){case"hex":return sx(this,I,J,Y);case"utf8":case"utf-8":return ex(this,I,J,Y);case"ascii":case"latin1":case"binary":return $g(this,I,J,Y);case"base64":return Ug(this,I,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ig(this,I,J,Y);default:if(z)throw TypeError("Unknown encoding: "+D);D=(""+D).toLowerCase(),z=!0}};m0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};m0.prototype.slice=function(I,J){let Y=this.length;if(I=~~I,J=J===void 0?Y:~~J,I<0){if(I+=Y,I<0)I=0}else if(I>Y)I=Y;if(J<0){if(J+=Y,J<0)J=0}else if(J>Y)J=Y;if(J<I)J=I;let D=this.subarray(I,J);return Object.setPrototypeOf(D,m0.prototype),D};m0.prototype.readUintLE=m0.prototype.readUIntLE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)K6(I,J,this.length);let D=this[I],X=1,z=0;while(++z<J&&(X*=256))D+=this[I+z]*X;return D};m0.prototype.readUintBE=m0.prototype.readUIntBE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)K6(I,J,this.length);let D=this[I+--J],X=1;while(J>0&&(X*=256))D+=this[I+--J]*X;return D};m0.prototype.readUint8=m0.prototype.readUInt8=function(I,J){if(I=I>>>0,!J)K6(I,1,this.length);return this[I]};m0.prototype.readUint16LE=m0.prototype.readUInt16LE=function(I,J){if(I=I>>>0,!J)K6(I,2,this.length);return this[I]|this[I+1]<<8};m0.prototype.readUint16BE=m0.prototype.readUInt16BE=function(I,J){if(I=I>>>0,!J)K6(I,2,this.length);return this[I]<<8|this[I+1]};m0.prototype.readUint32LE=m0.prototype.readUInt32LE=function(I,J){if(I=I>>>0,!J)K6(I,4,this.length);return(this[I]|this[I+1]<<8|this[I+2]<<16)+this[I+3]*16777216};m0.prototype.readUint32BE=m0.prototype.readUInt32BE=function(I,J){if(I=I>>>0,!J)K6(I,4,this.length);return this[I]*16777216+(this[I+1]<<16|this[I+2]<<8|this[I+3])};m0.prototype.readBigUInt64LE=$X(function(I){I=I>>>0,AQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)dG(I,this.length-8);let D=J+this[++I]*256+this[++I]*65536+this[++I]*16777216,X=this[++I]+this[++I]*256+this[++I]*65536+Y*16777216;return BigInt(D)+(BigInt(X)<<BigInt(32))});m0.prototype.readBigUInt64BE=$X(function(I){I=I>>>0,AQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)dG(I,this.length-8);let D=J*16777216+this[++I]*65536+this[++I]*256+this[++I],X=this[++I]*16777216+this[++I]*65536+this[++I]*256+Y;return(BigInt(D)<<BigInt(32))+BigInt(X)});m0.prototype.readIntLE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)K6(I,J,this.length);let D=this[I],X=1,z=0;while(++z<J&&(X*=256))D+=this[I+z]*X;if(X*=128,D>=X)D-=Math.pow(2,8*J);return D};m0.prototype.readIntBE=function(I,J,Y){if(I=I>>>0,J=J>>>0,!Y)K6(I,J,this.length);let D=J,X=1,z=this[I+--D];while(D>0&&(X*=256))z+=this[I+--D]*X;if(X*=128,z>=X)z-=Math.pow(2,8*J);return z};m0.prototype.readInt8=function(I,J){if(I=I>>>0,!J)K6(I,1,this.length);if(!(this[I]&128))return this[I];return(255-this[I]+1)*-1};m0.prototype.readInt16LE=function(I,J){if(I=I>>>0,!J)K6(I,2,this.length);let Y=this[I]|this[I+1]<<8;return Y&32768?Y|4294901760:Y};m0.prototype.readInt16BE=function(I,J){if(I=I>>>0,!J)K6(I,2,this.length);let Y=this[I+1]|this[I]<<8;return Y&32768?Y|4294901760:Y};m0.prototype.readInt32LE=function(I,J){if(I=I>>>0,!J)K6(I,4,this.length);return this[I]|this[I+1]<<8|this[I+2]<<16|this[I+3]<<24};m0.prototype.readInt32BE=function(I,J){if(I=I>>>0,!J)K6(I,4,this.length);return this[I]<<24|this[I+1]<<16|this[I+2]<<8|this[I+3]};m0.prototype.readBigInt64LE=$X(function(I){I=I>>>0,AQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)dG(I,this.length-8);let D=this[I+4]+this[I+5]*256+this[I+6]*65536+(Y<<24);return(BigInt(D)<<BigInt(32))+BigInt(J+this[++I]*256+this[++I]*65536+this[++I]*16777216)});m0.prototype.readBigInt64BE=$X(function(I){I=I>>>0,AQ(I,"offset");let J=this[I],Y=this[I+7];if(J===void 0||Y===void 0)dG(I,this.length-8);let D=(J<<24)+this[++I]*65536+this[++I]*256+this[++I];return(BigInt(D)<<BigInt(32))+BigInt(this[++I]*16777216+this[++I]*65536+this[++I]*256+Y)});m0.prototype.readFloatLE=function(I,J){if(I=I>>>0,!J)K6(I,4,this.length);return $z(this,I,!0,23,4)};m0.prototype.readFloatBE=function(I,J){if(I=I>>>0,!J)K6(I,4,this.length);return $z(this,I,!1,23,4)};m0.prototype.readDoubleLE=function(I,J){if(I=I>>>0,!J)K6(I,8,this.length);return $z(this,I,!0,52,8)};m0.prototype.readDoubleBE=function(I,J){if(I=I>>>0,!J)K6(I,8,this.length);return $z(this,I,!1,52,8)};m0.prototype.writeUintLE=m0.prototype.writeUIntLE=function(I,J,Y,D){if(I=+I,J=J>>>0,Y=Y>>>0,!D){let Z=Math.pow(2,8*Y)-1;i6(this,I,J,Y,Z,0)}let X=1,z=0;this[J]=I&255;while(++z<Y&&(X*=256))this[J+z]=I/X&255;return J+Y};m0.prototype.writeUintBE=m0.prototype.writeUIntBE=function(I,J,Y,D){if(I=+I,J=J>>>0,Y=Y>>>0,!D){let Z=Math.pow(2,8*Y)-1;i6(this,I,J,Y,Z,0)}let X=Y-1,z=1;this[J+X]=I&255;while(--X>=0&&(z*=256))this[J+X]=I/z&255;return J+Y};m0.prototype.writeUint8=m0.prototype.writeUInt8=function(I,J,Y){if(I=+I,J=J>>>0,!Y)i6(this,I,J,1,255,0);return this[J]=I&255,J+1};m0.prototype.writeUint16LE=m0.prototype.writeUInt16LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)i6(this,I,J,2,65535,0);return this[J]=I&255,this[J+1]=I>>>8,J+2};m0.prototype.writeUint16BE=m0.prototype.writeUInt16BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)i6(this,I,J,2,65535,0);return this[J]=I>>>8,this[J+1]=I&255,J+2};m0.prototype.writeUint32LE=m0.prototype.writeUInt32LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)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};m0.prototype.writeUint32BE=m0.prototype.writeUInt32BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)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};m0.prototype.writeBigUInt64LE=$X(function(I,J=0){return nj(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});m0.prototype.writeBigUInt64BE=$X(function(I,J=0){return oj(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});m0.prototype.writeIntLE=function(I,J,Y,D){if(I=+I,J=J>>>0,!D){let L=Math.pow(2,8*Y-1);i6(this,I,J,Y,L-1,-L)}let X=0,z=1,Z=0;this[J]=I&255;while(++X<Y&&(z*=256)){if(I<0&&Z===0&&this[J+X-1]!==0)Z=1;this[J+X]=(I/z>>0)-Z&255}return J+Y};m0.prototype.writeIntBE=function(I,J,Y,D){if(I=+I,J=J>>>0,!D){let L=Math.pow(2,8*Y-1);i6(this,I,J,Y,L-1,-L)}let X=Y-1,z=1,Z=0;this[J+X]=I&255;while(--X>=0&&(z*=256)){if(I<0&&Z===0&&this[J+X+1]!==0)Z=1;this[J+X]=(I/z>>0)-Z&255}return J+Y};m0.prototype.writeInt8=function(I,J,Y){if(I=+I,J=J>>>0,!Y)i6(this,I,J,1,127,-128);if(I<0)I=255+I+1;return this[J]=I&255,J+1};m0.prototype.writeInt16LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)i6(this,I,J,2,32767,-32768);return this[J]=I&255,this[J+1]=I>>>8,J+2};m0.prototype.writeInt16BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)i6(this,I,J,2,32767,-32768);return this[J]=I>>>8,this[J+1]=I&255,J+2};m0.prototype.writeInt32LE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)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};m0.prototype.writeInt32BE=function(I,J,Y){if(I=+I,J=J>>>0,!Y)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};m0.prototype.writeBigInt64LE=$X(function(I,J=0){return nj(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});m0.prototype.writeBigInt64BE=$X(function(I,J=0){return oj(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});m0.prototype.writeFloatLE=function(I,J,Y){return rj(this,I,J,!0,Y)};m0.prototype.writeFloatBE=function(I,J,Y){return rj(this,I,J,!1,Y)};m0.prototype.writeDoubleLE=function(I,J,Y){return tj(this,I,J,!0,Y)};m0.prototype.writeDoubleBE=function(I,J,Y){return tj(this,I,J,!1,Y)};m0.prototype.copy=function(I,J,Y,D){if(!m0.isBuffer(I))throw TypeError("argument should be a Buffer");if(!Y)Y=0;if(!D&&D!==0)D=this.length;if(J>=I.length)J=I.length;if(!J)J=0;if(D>0&&D<Y)D=Y;if(D===Y)return 0;if(I.length===0||this.length===0)return 0;if(J<0)throw RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw RangeError("Index out of range");if(D<0)throw RangeError("sourceEnd out of bounds");if(D>this.length)D=this.length;if(I.length-J<D-Y)D=I.length-J+Y;let X=D-Y;if(this===I&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(J,Y,D);else Uint8Array.prototype.set.call(I,this.subarray(Y,D),J);return X};m0.prototype.fill=function(I,J,Y,D){if(typeof I==="string"){if(typeof J==="string")D=J,J=0,Y=this.length;else if(typeof Y==="string")D=Y,Y=this.length;if(D!==void 0&&typeof D!=="string")throw TypeError("encoding must be a string");if(typeof D==="string"&&!m0.isEncoding(D))throw TypeError("Unknown encoding: "+D);if(I.length===1){let z=I.charCodeAt(0);if(D==="utf8"&&z<128||D==="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<Y)throw RangeError("Out of range index");if(Y<=J)return this;if(J=J>>>0,Y=Y===void 0?this.length:Y>>>0,!I)I=0;let X;if(typeof I==="number")for(X=J;X<Y;++X)this[X]=I;else{let z=m0.isBuffer(I)?I:m0.from(I,D),Z=z.length;if(Z===0)throw TypeError('The value "'+I+'" is invalid for argument "value"');for(X=0;X<Y-J;++X)this[X+J]=z[X%Z]}return this};zg=/[^+/0-9A-Za-z-_]/g;Fg=function(){let I=Array(256);for(let J=0;J<16;++J){let Y=J*16;for(let D=0;D<16;++D)I[Y+D]="0123456789abcdef"[J]+"0123456789abcdef"[D]}return I}();Hg=l9("resolveObjectURL"),Lg=l9("isUtf8"),Ag=l9("transcode"),Cg=m0});var PQ={};x6(PQ,{types:()=>vg,promisify:()=>Jq,log:()=>Uq,isUndefined:()=>CQ,isSymbol:()=>kg,isString:()=>Gz,isRegExp:()=>Iz,isPrimitive:()=>xg,isObject:()=>TQ,isNumber:()=>$q,isNullOrUndefined:()=>Ng,isNull:()=>Yz,isFunction:()=>Jz,isError:()=>Xz,isDate:()=>o9,isBuffer:()=>gg,isBoolean:()=>r9,isArray:()=>ej,inspect:()=>$J,inherits:()=>Iq,format:()=>i9,deprecate:()=>Pg,default:()=>yg,debuglog:()=>_g,callbackifyOnRejected:()=>s9,callbackify:()=>Qq,_extend:()=>a9,TextEncoder:()=>Yq,TextDecoder:()=>Gq});function i9(I,...J){if(!Gz(I)){var Y=[I];for(var D=0;D<J.length;D++)Y.push($J(J[D]));return Y.join(" ")}var D=0,X=J.length,z=String(I).replace(Tg,function(L){if(L==="%%")return"%";if(D>=X)return L;switch(L){case"%s":return String(J[D++]);case"%d":return Number(J[D++]);case"%j":try{return JSON.stringify(J[D++])}catch(R){return"[Circular]"}default:return L}});for(var Z=J[D];D<X;Z=J[++D])if(Yz(Z)||!TQ(Z))z+=" "+Z;else z+=" "+$J(Z);return z}function Pg(I,J){if(typeof process>"u"||process?.noDeprecation===!0)return I;var Y=!1;function D(...X){if(!Y){if(process.throwDeprecation)throw Error(J);else if(process.traceDeprecation)console.trace(J);else console.error(J);Y=!0}return I.apply(this,...X)}return D}function Eg(I,J){var Y=$J.styles[J];if(Y)return"\x1B["+$J.colors[Y][0]+"m"+I+"\x1B["+$J.colors[Y][1]+"m";else return I}function jg(I,J){return I}function qg(I){var J={};return I.forEach(function(Y,D){J[Y]=!0}),J}function Qz(I,J,Y){if(I.customInspect&&J&&Jz(J.inspect)&&J.inspect!==$J&&!(J.constructor&&J.constructor.prototype===J)){var D=J.inspect(Y,I);if(!Gz(D))D=Qz(I,D,Y);return D}var X=Sg(I,J);if(X)return X;var z=Object.keys(J),Z=qg(z);if(I.showHidden)z=Object.getOwnPropertyNames(J);if(Xz(J)&&(z.indexOf("message")>=0||z.indexOf("description")>=0))return m9(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(o9(J))return I.stylize(Date.prototype.toString.call(J),"date");if(Xz(J))return m9(J)}var R="",j=!1,q=["{","}"];if(ej(J))j=!0,q=["[","]"];if(Jz(J)){var C=J.name?": "+J.name:"";R=" [Function"+C+"]"}if(Iz(J))R=" "+RegExp.prototype.toString.call(J);if(o9(J))R=" "+Date.prototype.toUTCString.call(J);if(Xz(J))R=" "+m9(J);if(z.length===0&&(!j||J.length==0))return q[0]+R+q[1];if(Y<0)if(Iz(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");else return I.stylize("[Object]","special");I.seen.push(J);var E;if(j)E=Rg(I,J,Y,Z,z);else E=z.map(function(B){return n9(I,J,Y,Z,B,j)});return I.seen.pop(),Bg(E,R,q)}function Sg(I,J){if(CQ(J))return I.stylize("undefined","undefined");if(Gz(J)){var Y="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(Y,"string")}if($q(J))return I.stylize(""+J,"number");if(r9(J))return I.stylize(""+J,"boolean");if(Yz(J))return I.stylize("null","null")}function m9(I){return"["+Error.prototype.toString.call(I)+"]"}function Rg(I,J,Y,D,X){var z=[];for(var Z=0,L=J.length;Z<L;++Z)if(Xq(J,String(Z)))z.push(n9(I,J,Y,D,String(Z),!0));else z.push("");return X.forEach(function(R){if(!R.match(/^\d+$/))z.push(n9(I,J,Y,D,R,!0))}),z}function n9(I,J,Y,D,X,z){var Z,L,R;if(R=Object.getOwnPropertyDescriptor(J,X)||{value:J[X]},R.get)if(R.set)L=I.stylize("[Getter/Setter]","special");else L=I.stylize("[Getter]","special");else if(R.set)L=I.stylize("[Setter]","special");if(!Xq(D,X))Z="["+X+"]";if(!L)if(I.seen.indexOf(R.value)<0){if(Yz(Y))L=Qz(I,R.value,null);else L=Qz(I,R.value,Y-1);if(L.indexOf(`
|
|
231
|
+
`)>-1)if(z)L=L.split(`
|
|
232
|
+
`).map(function(j){return" "+j}).join(`
|
|
233
|
+
`).slice(2);else L=`
|
|
234
|
+
`+L.split(`
|
|
235
|
+
`).map(function(j){return" "+j}).join(`
|
|
236
|
+
`)}else L=I.stylize("[Circular]","special");if(CQ(Z)){if(z&&X.match(/^\d+$/))return L;if(Z=JSON.stringify(""+X),Z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))Z=Z.slice(1,-1),Z=I.stylize(Z,"name");else Z=Z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Z=I.stylize(Z,"string")}return Z+": "+L}function Bg(I,J,Y){var D=0,X=I.reduce(function(z,Z){if(D++,Z.indexOf(`
|
|
237
|
+
`)>=0)D++;return z+Z.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(X>60)return Y[0]+(J===""?"":J+`
|
|
238
|
+
`)+" "+I.join(`,
|
|
239
|
+
`)+" "+Y[1];return Y[0]+J+" "+I.join(", ")+" "+Y[1]}function ej(I){return Array.isArray(I)}function r9(I){return typeof I==="boolean"}function Yz(I){return I===null}function Ng(I){return I==null}function $q(I){return typeof I==="number"}function Gz(I){return typeof I==="string"}function kg(I){return typeof I==="symbol"}function CQ(I){return I===void 0}function Iz(I){return TQ(I)&&t9(I)==="[object RegExp]"}function TQ(I){return typeof I==="object"&&I!==null}function o9(I){return TQ(I)&&t9(I)==="[object Date]"}function Xz(I){return TQ(I)&&(t9(I)==="[object Error]"||I instanceof Error)}function Jz(I){return typeof I==="function"}function xg(I){return I===null||typeof I==="boolean"||typeof I==="number"||typeof I==="string"||typeof I==="symbol"||typeof I>"u"}function gg(I){return I instanceof Buffer}function t9(I){return Object.prototype.toString.call(I)}function d9(I){return I<10?"0"+I.toString(10):I.toString(10)}function fg(){var I=new Date,J=[d9(I.getHours()),d9(I.getMinutes()),d9(I.getSeconds())].join(":");return[I.getDate(),wg[I.getMonth()],J].join(" ")}function Uq(...I){console.log("%s - %s",fg(),i9.apply(null,I))}function Iq(I,J){if(J)I.super_=J,I.prototype=Object.create(J.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})}function a9(I,J){if(!J||!TQ(J))return I;var Y=Object.keys(J),D=Y.length;while(D--)I[Y[D]]=J[Y[D]];return I}function Xq(I,J){return Object.prototype.hasOwnProperty.call(I,J)}function s9(I,J){if(!I){var Y=Error("Promise was rejected with a falsy value");Y.reason=I,I=Y}return J(I)}function Qq(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');function J(...Y){var D=Y.pop();if(typeof D!=="function")throw TypeError("The last argument must be of type Function");var X=this,z=function(...Z){return D.apply(X,...Z)};I.apply(this,Y).then(function(Z){process.nextTick(z.bind(null,null,Z))},function(Z){process.nextTick(s9.bind(null,Z,z))})}return Object.setPrototypeOf(J,Object.getPrototypeOf(I)),Object.defineProperties(J,Object.getOwnPropertyDescriptors(I)),J}var Tg,_g,$J,vg=()=>{},wg,Jq,Yq,Gq,yg;var _Q=LQ(()=>{Tg=/%[sdj%]/g;_g=((I={},J={},Y)=>((Y=typeof process<"u"&&!1)&&(Y=Y.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),J=new RegExp("^"+Y+"$","i"),(D)=>{if(D=D.toUpperCase(),!I[D])if(J.test(D))I[D]=function(...X){console.error("%s: %s",D,pid,i9.apply(null,...X))};else I[D]=function(){};return I[D]}))(),$J=((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,...Y){var D={seen:[],stylize:jg};if(Y.length>=1)D.depth=Y[0];if(Y.length>=2)D.colors=Y[1];if(r9(J))D.showHidden=J;else if(J)a9(D,J);if(CQ(D.showHidden))D.showHidden=!1;if(CQ(D.depth))D.depth=2;if(CQ(D.colors))D.colors=!1;if(D.colors)D.stylize=Eg;return Qz(D,I,D.depth)});wg=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Jq=((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(...Y){var D,X,z=new Promise(function(Z,L){D=Z,X=L});Y.push(function(Z,L){if(Z)X(Z);else D(L)});try{I.apply(this,Y)}catch(Z){X(Z)}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:Yq,TextDecoder:Gq}=globalThis),yg={TextEncoder:Yq,TextDecoder:Gq,promisify:Jq,log:Uq,inherits:Iq,_extend:a9,callbackifyOnRejected:s9,callbackify:Qq}});var jQ={};x6(jQ,{setMaxListeners:()=>Mq,once:()=>Hq,listenerCount:()=>Aq,init:()=>UX,getMaxListeners:()=>Tq,getEventListeners:()=>Lq,default:()=>ng,captureRejectionSymbol:()=>Wq,addAbortListener:()=>Pq,EventEmitter:()=>UX});function Kq(I,J){var{_events:Y}=I;if(J[0]??=Error("Unhandled error."),!Y)throw J[0];var D=Y[Dq];if(D)for(var X of Vq.call(D))X.apply(I,J);var z=Y.error;if(!z)throw J[0];for(var X of Vq.call(z))X.apply(I,J);return!0}function hg(I,J,Y,D){J.then(void 0,function(X){queueMicrotask(()=>cg(I,X,Y,D))})}function cg(I,J,Y,D){if(typeof I[Zq]==="function")I[Zq](J,Y,...D);else try{I[UJ]=!1,I.emit("error",J)}finally{I[UJ]=!0}}function Fq(I,J,Y){Y.warned=!0;let D=Error(`Possible EventEmitter memory leak detected. ${Y.length} ${String(J)} listeners added to [${I.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);D.name="MaxListenersExceededWarning",D.emitter=I,D.type=J,D.count=Y.length,console.warn(D)}function Oq(I,J,...Y){this.removeListener(I,J),J.apply(this,Y)}function Hq(I,J,Y){var D=Y?.signal;if(Cq(D,"options.signal"),D?.aborted)throw new e9(void 0,{cause:D?.reason});let{resolve:X,reject:z,promise:Z}=$newPromiseCapability(Promise),L=(q)=>{if(I.removeListener(J,R),D!=null)Zz(D,"abort",j);z(q)},R=(...q)=>{if(typeof I.removeListener==="function")I.removeListener("error",L);if(D!=null)Zz(D,"abort",j);X(q)};if(zq(I,J,R,{once:!0}),J!=="error"&&typeof I.once==="function")I.once("error",L);function j(){Zz(I,J,R),Zz(I,"error",L),z(new e9(void 0,{cause:D?.reason}))}if(D!=null)zq(D,"abort",j,{once:!0});return Z}function Lq(I,J){return I.listeners(J)}function Mq(I,...J){UF(I,"setMaxListeners",0);var Y;if(J&&(Y=J.length))for(let D=0;D<Y;D++)J[D].setMaxListeners(I);else IJ=I}function Aq(I,J){return I.listenerCount(J)}function Zz(I,J,Y,D){if(typeof I.removeListener==="function")I.removeListener(J,Y);else I.removeEventListener(J,Y,D)}function zq(I,J,Y,D){if(typeof I.on==="function")if(D.once)I.once(J,Y);else I.on(J,Y);else I.addEventListener(J,Y,D)}function EQ(I,J,Y){let D=TypeError(`The "${I}" argument must be of type ${J}. Received ${Y}`);return D.code="ERR_INVALID_ARG_TYPE",D}function mg(I,J,Y){let D=RangeError(`The "${I}" argument is out of range. It must be ${J}. Received ${Y}`);return D.code="ERR_OUT_OF_RANGE",D}function Cq(I,J){if(I!==void 0&&(I===null||typeof I!=="object"||!("aborted"in I)))throw EQ(J,"AbortSignal",I)}function UF(I,J,Y,D){if(typeof I!=="number")throw EQ(J,"number",I);if(Y!=null&&I<Y||D!=null&&I>D||(Y!=null||D!=null)&&Number.isNaN(I))throw mg(J,`${Y!=null?`>= ${Y}`:""}${Y!=null&&D!=null?" && ":""}${D!=null?`<= ${D}`:""}`,I)}function nG(I){if(typeof I!=="function")throw TypeError("The listener must be a function")}function dg(I,J){if(typeof I!=="boolean")throw EQ(J,"boolean",I)}function Tq(I){return I?._maxListeners??IJ}function Pq(I,J){if(I===void 0)throw EQ("signal","AbortSignal",I);if(Cq(I,"signal"),typeof J!=="function")throw EQ("listener","function",J);let Y;if(I.aborted)queueMicrotask(()=>J());else I.addEventListener("abort",J,{__proto__:null,once:!0}),Y=()=>{I.removeEventListener("abort",J)};return{__proto__:null,[Symbol.dispose](){Y?.()}}}var $F,UJ,Dq,ug,bg,Zq,Wq,Vq,IJ=10,UX=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[UJ]=I?.captureRejections?Boolean(I?.captureRejections):RU[UJ])this.emit=lg},RU,pg=function(I,...J){if(I==="error")return Kq(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var D=Y[I];if(D===void 0)return!1;let X=D.length>1?D.slice():D;for(let z=0,{length:Z}=X;z<Z;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},lg=function(I,...J){if(I==="error")return Kq(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var D=Y[I];if(D===void 0)return!1;let X=D.length>1?D.slice():D;for(let z=0,{length:Z}=X;z<Z;z++){let L=X[z],R;switch(J.length){case 0:R=L.call(this);break;case 1:R=L.call(this,J[0]);break;case 2:R=L.call(this,J[0],J[1]);break;case 3:R=L.call(this,J[0],J[1],J[2]);break;default:R=L.apply(this,J);break}if(R!==void 0&&typeof R?.then==="function"&&R.then===Promise.prototype.then)hg(this,R,I,J)}return!0},e9,ng;var qQ=LQ(()=>{$F=Symbol.for,UJ=Symbol("kCapture"),Dq=$F("events.errorMonitor"),ug=Symbol("events.maxEventTargetListeners"),bg=Symbol("events.maxEventTargetListenersWarned"),Zq=$F("nodejs.rejection"),Wq=$F("nodejs.rejection"),Vq=Array.prototype.slice,RU=UX.prototype={};RU._events=void 0;RU._eventsCount=0;RU._maxListeners=void 0;RU.setMaxListeners=function(I){return UF(I,"setMaxListeners",0),this._maxListeners=I,this};RU.constructor=UX;RU.getMaxListeners=function(){return this?._maxListeners??IJ};RU.emit=pg;RU.addListener=function(I,J){nG(J);var Y=this._events;if(!Y)Y=this._events={__proto__:null},this._eventsCount=0;else if(Y.newListener)this.emit("newListener",I,J.listener??J);var D=Y[I];if(!D)Y[I]=[J],this._eventsCount++;else{D.push(J);var X=this._maxListeners??IJ;if(X>0&&D.length>X&&!D.warned)Fq(this,I,D)}return this};RU.on=RU.addListener;RU.prependListener=function(I,J){nG(J);var Y=this._events;if(!Y)Y=this._events={__proto__:null},this._eventsCount=0;else if(Y.newListener)this.emit("newListener",I,J.listener??J);var D=Y[I];if(!D)Y[I]=[J],this._eventsCount++;else{D.unshift(J);var X=this._maxListeners??IJ;if(X>0&&D.length>X&&!D.warned)Fq(this,I,D)}return this};RU.once=function(I,J){nG(J);let Y=Oq.bind(this,I,J);return Y.listener=J,this.addListener(I,Y),this};RU.prependOnceListener=function(I,J){nG(J);let Y=Oq.bind(this,I,J);return Y.listener=J,this.prependListener(I,Y),this};RU.removeListener=function(I,J){nG(J);var{_events:Y}=this;if(!Y)return this;var D=Y[I];if(!D)return this;var X=D.length;let z=-1;for(let Z=X-1;Z>=0;Z--)if(D[Z]===J||D[Z].listener===J){z=Z;break}if(z<0)return this;if(z===0)D.shift();else D.splice(z,1);if(D.length===0)delete Y[I],this._eventsCount--;return this};RU.off=RU.removeListener;RU.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};RU.listeners=function(I){var{_events:J}=this;if(!J)return[];var Y=J[I];if(!Y)return[];return Y.map((D)=>D.listener??D)};RU.rawListeners=function(I){var{_events:J}=this;if(!J)return[];var Y=J[I];if(!Y)return[];return Y.slice()};RU.listenerCount=function(I){var{_events:J}=this;if(!J)return 0;return J[I]?.length??0};RU.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};RU[UJ]=!1;e9=class e9 extends Error{constructor(I="The operation was aborted",J=void 0){if(J!==void 0&&typeof J!=="object")throw EQ("options","Object",J);super(I,J);this.code="ABORT_ERR",this.name="AbortError"}};Object.defineProperties(UX,{captureRejections:{get(){return RU[UJ]},set(I){dg(I,"EventEmitter.captureRejections"),RU[UJ]=I},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return IJ},set:(I)=>{UF(I,"defaultMaxListeners",0),IJ=I}},kMaxEventTargetListeners:{value:ug,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:bg,enumerable:!1,configurable:!1,writable:!1}});Object.assign(UX,{once:Hq,getEventListeners:Lq,getMaxListeners:Tq,setMaxListeners:Mq,EventEmitter:UX,usingDomains:!1,captureRejectionSymbol:Wq,errorMonitor:Dq,addAbortListener:Pq,init:UX,listenerCount:Aq});ng=UX});var RQ=YI((mm,vq)=>{var XU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),fU=XU((I,J)=>{class Y extends Error{constructor(D){if(!Array.isArray(D))throw TypeError(`Expected input to be an Array, got ${typeof D}`);let X="";for(let z=0;z<D.length;z++)X+=` ${D[z].stack}
|
|
240
|
+
`;super(X);this.name="AggregateError",this.errors=D}}J.exports={AggregateError:Y,ArrayIsArray(D){return Array.isArray(D)},ArrayPrototypeIncludes(D,X){return D.includes(X)},ArrayPrototypeIndexOf(D,X){return D.indexOf(X)},ArrayPrototypeJoin(D,X){return D.join(X)},ArrayPrototypeMap(D,X){return D.map(X)},ArrayPrototypePop(D,X){return D.pop(X)},ArrayPrototypePush(D,X){return D.push(X)},ArrayPrototypeSlice(D,X,z){return D.slice(X,z)},Error,FunctionPrototypeCall(D,X,...z){return D.call(X,...z)},FunctionPrototypeSymbolHasInstance(D,X){return Function.prototype[Symbol.hasInstance].call(D,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(D,X){return Object.defineProperties(D,X)},ObjectDefineProperty(D,X,z){return Object.defineProperty(D,X,z)},ObjectGetOwnPropertyDescriptor(D,X){return Object.getOwnPropertyDescriptor(D,X)},ObjectKeys(D){return Object.keys(D)},ObjectSetPrototypeOf(D,X){return Object.setPrototypeOf(D,X)},Promise,PromisePrototypeCatch(D,X){return D.catch(X)},PromisePrototypeThen(D,X,z){return D.then(X,z)},PromiseReject(D){return Promise.reject(D)},PromiseResolve(D){return Promise.resolve(D)},ReflectApply:Reflect.apply,RegExpPrototypeTest(D,X){return D.test(X)},SafeSet:Set,String,StringPrototypeSlice(D,X,z){return D.slice(X,z)},StringPrototypeToLowerCase(D){return D.toLowerCase()},StringPrototypeToUpperCase(D){return D.toUpperCase()},StringPrototypeTrim(D){return D.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(D,X,z){return D.set(X,z)},Boolean,Uint8Array}}),_q=XU((I,J)=>{J.exports={format(Y,...D){return Y.replace(/%([sdifj])/g,function(...[X,z]){let Z=D.shift();if(z==="f")return Z.toFixed(6);else if(z==="j")return JSON.stringify(Z);else if(z==="s"&&typeof Z==="object")return`${Z.constructor!==Object?Z.constructor.name:""} {}`.trim();else return Z.toString()})},inspect(Y){switch(typeof Y){case"string":if(Y.includes("'")){if(!Y.includes('"'))return`"${Y}"`;else if(!Y.includes("`")&&!Y.includes("${"))return`\`${Y}\``}return`'${Y}'`;case"number":if(isNaN(Y))return"NaN";else if(Object.is(Y,-0))return String(Y);return Y;case"bigint":return`${String(Y)}n`;case"boolean":case"undefined":return String(Y);case"object":return"{}"}}}}),g6=XU((I,J)=>{var{format:Y,inspect:D}=_q(),{AggregateError:X}=fU(),z=globalThis.AggregateError||X,Z=Symbol("kIsNodeError"),L=["string","function","number","object","Function","Object","boolean","bigint","symbol"],R=/^([A-Z][a-z0-9]*)+$/,j={};function q(b,x){if(!b)throw new j.ERR_INTERNAL_ASSERTION(x)}function C(b){let x="",u=b.length,p=b[0]==="-"?1:0;for(;u>=p+4;u-=3)x=`_${b.slice(u-3,u)}${x}`;return`${b.slice(0,u)}${x}`}function E(b,x,u){if(typeof x==="function")return q(x.length<=u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${x.length}).`),x(...u);let p=(x.match(/%[dfijoOs]/g)||[]).length;if(q(p===u.length,`Code: ${b}; The provided arguments length (${u.length}) does not match the required ones (${p}).`),u.length===0)return x;return Y(x,...u)}function B(b,x,u){if(!u)u=Error;class p extends u{constructor(...d){super(E(b,x,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[Z]=!0,j[b]=p}function N(b){let x="__node_internal_"+b.name;return Object.defineProperty(b,"name",{value:x}),b}function y(b,x){if(b&&x&&b!==x){if(Array.isArray(x.errors))return x.errors.push(b),x;let u=new z([x,b],x.message);return u.code=x.code,u}return b||x}class w extends Error{constructor(b="The operation was aborted",x=void 0){if(x!==void 0&&typeof x!=="object")throw new j.ERR_INVALID_ARG_TYPE("options","Object",x);super(b,x);this.code="ABORT_ERR",this.name="AbortError"}}B("ERR_ASSERTION","%s",Error),B("ERR_INVALID_ARG_TYPE",(b,x,u)=>{if(q(typeof b==="string","'name' must be a string"),!Array.isArray(x))x=[x];let p="The ";if(b.endsWith(" argument"))p+=`${b} `;else p+=`"${b}" ${b.includes(".")?"property":"argument"} `;p+="must be ";let d=[],a=[],O0=[];for(let j0 of x)if(q(typeof j0==="string","All expected entries have to be of type string"),L.includes(j0))d.push(j0.toLowerCase());else if(R.test(j0))a.push(j0);else q(j0!=="object",'The value "object" should be written as "Object"'),O0.push(j0);if(a.length>0){let j0=d.indexOf("object");if(j0!==-1)d.splice(d,j0,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 j0=d.pop();p+=`one of type ${d.join(", ")}, or ${j0}`}}if(a.length>0||O0.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 j0=a.pop();p+=`an instance of ${a.join(", ")}, or ${j0}`}}if(O0.length>0)p+=" or "}switch(O0.length){case 0:break;case 1:if(O0[0].toLowerCase()!==O0[0])p+="an ";p+=`${O0[0]}`;break;case 2:p+=`one of ${O0[0]} or ${O0[1]}`;break;default:{let j0=O0.pop();p+=`one of ${O0.join(", ")}, or ${j0}`}}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 j0=D(u,{depth:-1});p+=`. Received ${j0}`}}else{let j0=D(u,{colors:!1});if(j0.length>25)j0=`${j0.slice(0,25)}...`;p+=`. Received type ${typeof u} (${j0})`}return p},TypeError),B("ERR_INVALID_ARG_VALUE",(b,x,u="is invalid")=>{let p=D(x);if(p.length>128)p=p.slice(0,128)+"...";return`The ${b.includes(".")?"property":"argument"} '${b}' ${u}. Received ${p}`},TypeError),B("ERR_INVALID_RETURN_VALUE",(b,x,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 "${x}" function but got ${d}.`},TypeError),B("ERR_MISSING_ARGS",(...b)=>{q(b.length>0,"At least one arg needs to be specified");let x,u=b.length;switch(b=(Array.isArray(b)?b:[b]).map((p)=>`"${p}"`).join(" or "),u){case 1:x+=`The ${b[0]} argument`;break;case 2:x+=`The ${b[0]} and ${b[1]} arguments`;break;default:{let p=b.pop();x+=`The ${b.join(", ")}, and ${p} arguments`}break}return`${x} must be specified`},TypeError),B("ERR_OUT_OF_RANGE",(b,x,u)=>{q(x,'Missing "range" argument');let p;if(Number.isInteger(u)&&Math.abs(u)>4294967296)p=C(String(u));else if(typeof u==="bigint"){p=String(u);let d=BigInt(2)**BigInt(32);if(u>d||u<-d)p=C(p);p+="n"}else p=D(u);return`The value of "${b}" is out of range. It must be ${x}. Received ${p}`},RangeError),B("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),B("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),B("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),B("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),B("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),B("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),B("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),B("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),B("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),B("ERR_STREAM_WRITE_AFTER_END","write after end",Error),B("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),J.exports={AbortError:w,aggregateTwoErrors:N(y),hideStackFrames:N,codes:j}}),og=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Y=new WeakMap,D=new WeakMap;function X(t){let T0=Y.get(t);return console.assert(T0!=null,"'this' is expected an Event object, but got",t),T0}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 Z(t,T0){Y.set(this,{eventTarget:t,event:T0,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:T0.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let G=Object.keys(T0);for(let K=0;K<G.length;++K){let H=G[K];if(!(H in this))Object.defineProperty(this,H,L(H))}}if(Z.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 T0=X(this);if(T0.stopped=!0,typeof T0.event.cancelBubble==="boolean")T0.event.cancelBubble=!0},get returnValue(){return!X(this).canceled},set returnValue(t){if(!t)z(X(this))},initEvent(){}},Object.defineProperty(Z.prototype,"constructor",{value:Z,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(Z.prototype,window.Event.prototype),D.set(window.Event.prototype,Z);function L(t){return{get(){return X(this).event[t]},set(T0){X(this).event[t]=T0},configurable:!0,enumerable:!0}}function R(t){return{value(){let T0=X(this).event;return T0[t].apply(T0,arguments)},configurable:!0,enumerable:!0}}function j(t,T0){let G=Object.keys(T0);if(G.length===0)return t;function K(H,W){t.call(this,H,W)}K.prototype=Object.create(t.prototype,{constructor:{value:K,configurable:!0,writable:!0}});for(let H=0;H<G.length;++H){let W=G[H];if(!(W in t.prototype)){let O=typeof Object.getOwnPropertyDescriptor(T0,W).value==="function";Object.defineProperty(K.prototype,W,O?R(W):L(W))}}return K}function q(t){if(t==null||t===Object.prototype)return Z;let T0=D.get(t);if(T0==null)T0=j(q(Object.getPrototypeOf(t)),t),D.set(t,T0);return T0}function C(t,T0){return new(q(Object.getPrototypeOf(T0)))(t,T0)}function E(t){return X(t).immediateStopped}function B(t,T0){X(t).eventPhase=T0}function N(t,T0){X(t).currentTarget=T0}function y(t,T0){X(t).passiveListener=T0}var w=new WeakMap,b=1,x=2,u=3;function p(t){return t!==null&&typeof t==="object"}function d(t){let T0=w.get(t);if(T0==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return T0}function a(t){return{get(){let T0=d(this).get(t);while(T0!=null){if(T0.listenerType===u)return T0.listener;T0=T0.next}return null},set(T0){if(typeof T0!=="function"&&!p(T0))T0=null;let G=d(this),K=null,H=G.get(t);while(H!=null){if(H.listenerType===u)if(K!==null)K.next=H.next;else if(H.next!==null)G.set(t,H.next);else G.delete(t);else K=H;H=H.next}if(T0!==null){let W={listener:T0,listenerType:u,passive:!1,once:!1,next:null};if(K===null)G.set(t,W);else K.next=W}},configurable:!0,enumerable:!0}}function O0(t,T0){Object.defineProperty(t,`on${T0}`,a(T0))}function L0(t){function T0(){j0.call(this)}T0.prototype=Object.create(j0.prototype,{constructor:{value:T0,configurable:!0,writable:!0}});for(let G=0;G<t.length;++G)O0(T0.prototype,t[G]);return T0}function j0(){if(this instanceof j0){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 T0=0;T0<arguments.length;++T0)t[T0]=arguments[T0];return L0(t)}throw TypeError("Cannot call a class as a function")}if(j0.prototype={addEventListener(t,T0,G){if(T0==null)return;if(typeof T0!=="function"&&!p(T0))throw TypeError("'listener' should be a function or an object.");let K=d(this),H=p(G),W=(H?Boolean(G.capture):Boolean(G))?b:x,O={listener:T0,listenerType:W,passive:H&&Boolean(G.passive),once:H&&Boolean(G.once),next:null},P=K.get(t);if(P===void 0){K.set(t,O);return}let S=null;while(P!=null){if(P.listener===T0&&P.listenerType===W)return;S=P,P=P.next}S.next=O},removeEventListener(t,T0,G){if(T0==null)return;let K=d(this),H=(p(G)?Boolean(G.capture):Boolean(G))?b:x,W=null,O=K.get(t);while(O!=null){if(O.listener===T0&&O.listenerType===H){if(W!==null)W.next=O.next;else if(O.next!==null)K.set(t,O.next);else K.delete(t);return}W=O,O=O.next}},dispatchEvent(t){if(t==null||typeof t.type!=="string")throw TypeError('"event.type" should be a string.');let T0=d(this),G=t.type,K=T0.get(G);if(K==null)return!0;let H=C(this,t),W=null;while(K!=null){if(K.once)if(W!==null)W.next=K.next;else if(K.next!==null)T0.set(G,K.next);else T0.delete(G);else W=K;if(y(H,K.passive?K.listener:null),typeof K.listener==="function")try{K.listener.call(this,H)}catch(O){if(typeof console<"u"&&typeof console.error==="function")console.error(O)}else if(K.listenerType!==u&&typeof K.listener.handleEvent==="function")K.listener.handleEvent(H);if(E(H))break;K=K.next}return y(H,null),B(H,0),N(H,null),!H.defaultPrevented}},Object.defineProperty(j0.prototype,"constructor",{value:j0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(j0.prototype,window.EventTarget.prototype);I.defineEventAttribute=O0,I.EventTarget=j0,I.default=j0,J.exports=j0,J.exports.EventTarget=J.exports.default=j0,J.exports.defineEventAttribute=O0}),oG=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Y=og();class D extends Y.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let q=Z.get(this);if(typeof q!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return q}}Y.defineEventAttribute(D.prototype,"abort");function X(){let q=Object.create(D.prototype);return Y.EventTarget.call(q),Z.set(q,!1),q}function z(q){if(Z.get(q)!==!1)return;Z.set(q,!0),q.dispatchEvent({type:"abort"})}var Z=new WeakMap;if(Object.defineProperties(D.prototype,{aborted:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(D.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class L{constructor(){R.set(this,X())}get signal(){return j(this)}abort(){z(j(this))}}var R=new WeakMap;function j(q){let C=R.get(q);if(C==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${q===null?"null":typeof q}`);return C}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=D,I.default=L,J.exports=L,J.exports.AbortController=J.exports.default=L,J.exports.AbortSignal=D}),r6=XU((I,J)=>{var Y=(oU(),S$(nU)),{format:D,inspect:X}=_q(),{codes:{ERR_INVALID_ARG_TYPE:z}}=g6(),{kResistStopPropagation:Z,AggregateError:L,SymbolDispose:R}=fU(),j=globalThis.AbortSignal||oG().AbortSignal,q=globalThis.AbortController||oG().AbortController,C=Object.getPrototypeOf(async function(){}).constructor,E=globalThis.Blob||Y.Blob,B=typeof E<"u"?function(w){return w instanceof E}: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(...x){if(b)return;b=!0,w.apply(this,x)}},createDeferredPromise:function(){let w,b;return{promise:new Promise((x,u)=>{w=x,b=u}),resolve:w,reject:b}},promisify(w){return new Promise((b,x)=>{w((u,...p)=>{if(u)return x(u);return b(...p)})})},debuglog(){return function(){}},format:D,inspect:X,types:{isAsyncFunction(w){return w instanceof C},isArrayBufferView(w){return ArrayBuffer.isView(w)}},isBlob:B,deprecate(w,b){return w},addAbortListener:(qQ(),S$(jQ)).addAbortListener||function(w,b){if(w===void 0)throw new z("signal","AbortSignal",w);N(w,"signal"),y(b,"listener");let x;if(w.aborted)queueMicrotask(()=>b());else w.addEventListener("abort",b,{__proto__:null,once:!0,[Z]:!0}),x=()=>{w.removeEventListener("abort",b)};return{__proto__:null,[R](){var u;(u=x)===null||u===void 0||u()}}},AbortSignalAny:j.any||function(w){if(w.length===1)return w[0];let b=new q,x=()=>b.abort();return w.forEach((u)=>{N(u,"signals"),u.addEventListener("abort",x,{once:!0})}),b.signal.addEventListener("abort",()=>{w.forEach((u)=>u.removeEventListener("abort",x))},{once:!0}),b.signal}},J.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),iG=XU((I,J)=>{var{ArrayIsArray:Y,ArrayPrototypeIncludes:D,ArrayPrototypeJoin:X,ArrayPrototypeMap:z,NumberIsInteger:Z,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:R,NumberMIN_SAFE_INTEGER:j,NumberParseInt:q,ObjectPrototypeHasOwnProperty:C,RegExpPrototypeExec:E,String:B,StringPrototypeToUpperCase:N,StringPrototypeTrim:y}=fU(),{hideStackFrames:w,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:x,ERR_INVALID_ARG_VALUE:u,ERR_OUT_OF_RANGE:p,ERR_UNKNOWN_SIGNAL:d}}=g6(),{normalizeEncoding:a}=r6(),{isAsyncFunction:O0,isArrayBufferView:L0}=r6().types,j0={};function t(I0){return I0===(I0|0)}function T0(I0){return I0===I0>>>0}var G=/^[0-7]+$/,K="must be a 32-bit unsigned integer or an octal string";function H(I0,D0,U$){if(typeof I0>"u")I0=U$;if(typeof I0==="string"){if(E(G,I0)===null)throw new u(D0,I0,K);I0=q(I0,8)}return P(I0,D0),I0}var W=w((I0,D0,U$=j,M0=R)=>{if(typeof I0!=="number")throw new x(D0,"number",I0);if(!Z(I0))throw new p(D0,"an integer",I0);if(I0<U$||I0>M0)throw new p(D0,`>= ${U$} && <= ${M0}`,I0)}),O=w((I0,D0,U$=-2147483648,M0=2147483647)=>{if(typeof I0!=="number")throw new x(D0,"number",I0);if(!Z(I0))throw new p(D0,"an integer",I0);if(I0<U$||I0>M0)throw new p(D0,`>= ${U$} && <= ${M0}`,I0)}),P=w((I0,D0,U$=!1)=>{if(typeof I0!=="number")throw new x(D0,"number",I0);if(!Z(I0))throw new p(D0,"an integer",I0);let M0=U$?1:0,B0=4294967295;if(I0<M0||I0>B0)throw new p(D0,`>= ${M0} && <= ${B0}`,I0)});function S(I0,D0){if(typeof I0!=="string")throw new x(D0,"string",I0)}function A(I0,D0,U$=void 0,M0){if(typeof I0!=="number")throw new x(D0,"number",I0);if(U$!=null&&I0<U$||M0!=null&&I0>M0||(U$!=null||M0!=null)&&L(I0))throw new p(D0,`${U$!=null?`>= ${U$}`:""}${U$!=null&&M0!=null?" && ":""}${M0!=null?`<= ${M0}`:""}`,I0)}var V=w((I0,D0,U$)=>{if(!D(U$,I0)){let M0="must be one of: "+X(z(U$,(B0)=>typeof B0==="string"?`'${B0}'`:B(B0)),", ");throw new u(D0,I0,M0)}});function T(I0,D0){if(typeof I0!=="boolean")throw new x(D0,"boolean",I0)}function g(I0,D0,U$){return I0==null||!C(I0,D0)?U$:I0[D0]}var v=w((I0,D0,U$=null)=>{let M0=g(U$,"allowArray",!1),B0=g(U$,"allowFunction",!1);if(!g(U$,"nullable",!1)&&I0===null||!M0&&Y(I0)||typeof I0!=="object"&&(!B0||typeof I0!=="function"))throw new x(D0,"Object",I0)}),h=w((I0,D0)=>{if(I0!=null&&typeof I0!=="object"&&typeof I0!=="function")throw new x(D0,"a dictionary",I0)}),r=w((I0,D0,U$=0)=>{if(!Y(I0))throw new x(D0,"Array",I0);if(I0.length<U$){let M0=`must be longer than ${U$}`;throw new u(D0,I0,M0)}});function U0(I0,D0){r(I0,D0);for(let U$=0;U$<I0.length;U$++)S(I0[U$],`${D0}[${U$}]`)}function z0(I0,D0){r(I0,D0);for(let U$=0;U$<I0.length;U$++)T(I0[U$],`${D0}[${U$}]`)}function Q0(I0,D0){r(I0,D0);for(let U$=0;U$<I0.length;U$++){let M0=I0[U$],B0=`${D0}[${U$}]`;if(M0==null)throw new x(B0,"AbortSignal",M0);A0(M0,B0)}}function s(I0,D0="signal"){if(S(I0,D0),j0[I0]===void 0){if(j0[N(I0)]!==void 0)throw new d(I0+" (signals must use all capital letters)");throw new d(I0)}}var e=w((I0,D0="buffer")=>{if(!L0(I0))throw new x(D0,["Buffer","TypedArray","DataView"],I0)});function J0(I0,D0){let U$=a(D0),M0=I0.length;if(U$==="hex"&&M0%2!==0)throw new u("encoding",D0,`is invalid for data of length ${M0}`)}function Z0(I0,D0="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(D0,I0,U$);return I0|0}var A0=w((I0,D0)=>{if(I0!==void 0&&(I0===null||typeof I0!=="object"||!("aborted"in I0)))throw new x(D0,"AbortSignal",I0)}),$0=w((I0,D0)=>{if(typeof I0!=="function")throw new x(D0,"Function",I0)}),c=w((I0,D0)=>{if(typeof I0!=="function"||O0(I0))throw new x(D0,"Function",I0)}),n=w((I0,D0)=>{if(I0!==void 0)throw new x(D0,"undefined",I0)});function H0(I0,D0,U$){if(!D(U$,I0))throw new x(D0,`('${X(U$,"|")}')`,I0)}var Y0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W0(I0,D0){if(typeof I0>"u"||!E(Y0,I0))throw new u(D0,I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function N0(I0){if(typeof I0==="string")return W0(I0,"hints"),I0;else if(Y(I0)){let D0=I0.length,U$="";if(D0===0)return U$;for(let M0=0;M0<D0;M0++){let B0=I0[M0];if(W0(B0,"hints"),U$+=B0,M0!==D0-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:T0,parseFileMode:H,validateArray:r,validateStringArray:U0,validateBooleanArray:z0,validateAbortSignalArray:Q0,validateBoolean:T,validateBuffer:e,validateDictionary:h,validateEncoding:J0,validateFunction:$0,validateInt32:O,validateInteger:W,validateNumber:A,validateObject:v,validateOneOf:V,validatePlainFunction:c,validatePort:Z0,validateSignalName:s,validateString:S,validateUint32:P,validateUndefined:n,validateUnion:H0,validateAbortSignal:A0,validateLinkHeaderValue:N0}}),XJ=XU((I,J)=>{J.exports=globalThis.process}),VI=XU((I,J)=>{var{SymbolAsyncIterator:Y,SymbolIterator:D,SymbolFor:X}=fU(),z=X("nodejs.stream.destroyed"),Z=X("nodejs.stream.errored"),L=X("nodejs.stream.readable"),R=X("nodejs.stream.writable"),j=X("nodejs.stream.disturbed"),q=X("nodejs.webstream.isClosedPromise"),C=X("nodejs.webstream.controllerErrorFunction");function E(g,v=!1){var h;return!!(g&&typeof g.pipe==="function"&&typeof g.on==="function"&&(!v||typeof g.pause==="function"&&typeof g.resume==="function")&&(!g._writableState||((h=g._readableState)===null||h===void 0?void 0:h.readable)!==!1)&&(!g._writableState||g._readableState))}function B(g){var v;return!!(g&&typeof g.write==="function"&&typeof g.on==="function"&&(!g._readableState||((v=g._writableState)===null||v===void 0?void 0:v.writable)!==!1))}function N(g){return!!(g&&typeof g.pipe==="function"&&g._readableState&&typeof g.on==="function"&&typeof g.write==="function")}function y(g){return g&&(g._readableState||g._writableState||typeof g.write==="function"&&typeof g.on==="function"||typeof g.pipe==="function"&&typeof g.on==="function")}function w(g){return!!(g&&!y(g)&&typeof g.pipeThrough==="function"&&typeof g.getReader==="function"&&typeof g.cancel==="function")}function b(g){return!!(g&&!y(g)&&typeof g.getWriter==="function"&&typeof g.abort==="function")}function x(g){return!!(g&&!y(g)&&typeof g.readable==="object"&&typeof g.writable==="object")}function u(g){return w(g)||b(g)||x(g)}function p(g,v){if(g==null)return!1;if(v===!0)return typeof g[Y]==="function";if(v===!1)return typeof g[D]==="function";return typeof g[Y]==="function"||typeof g[D]==="function"}function d(g){if(!y(g))return null;let{_writableState:v,_readableState:h}=g,r=v||h;return!!(g.destroyed||g[z]||r!==null&&r!==void 0&&r.destroyed)}function a(g){if(!B(g))return null;if(g.writableEnded===!0)return!0;let v=g._writableState;if(v!==null&&v!==void 0&&v.errored)return!1;if(typeof(v===null||v===void 0?void 0:v.ended)!=="boolean")return null;return v.ended}function O0(g,v){if(!B(g))return null;if(g.writableFinished===!0)return!0;let h=g._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||v===!1&&h.ended===!0&&h.length===0)}function L0(g){if(!E(g))return null;if(g.readableEnded===!0)return!0;let v=g._readableState;if(!v||v.errored)return!1;if(typeof(v===null||v===void 0?void 0:v.ended)!=="boolean")return null;return v.ended}function j0(g,v){if(!E(g))return null;let h=g._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||v===!1&&h.ended===!0&&h.length===0)}function t(g){if(g&&g[L]!=null)return g[L];if(typeof(g===null||g===void 0?void 0:g.readable)!=="boolean")return null;if(d(g))return!1;return E(g)&&g.readable&&!j0(g)}function T0(g){if(g&&g[R]!=null)return g[R];if(typeof(g===null||g===void 0?void 0:g.writable)!=="boolean")return null;if(d(g))return!1;return B(g)&&g.writable&&!a(g)}function G(g,v){if(!y(g))return null;if(d(g))return!0;if((v===null||v===void 0?void 0:v.readable)!==!1&&t(g))return!1;if((v===null||v===void 0?void 0:v.writable)!==!1&&T0(g))return!1;return!0}function K(g){var v,h;if(!y(g))return null;if(g.writableErrored)return g.writableErrored;return(v=(h=g._writableState)===null||h===void 0?void 0:h.errored)!==null&&v!==void 0?v:null}function H(g){var v,h;if(!y(g))return null;if(g.readableErrored)return g.readableErrored;return(v=(h=g._readableState)===null||h===void 0?void 0:h.errored)!==null&&v!==void 0?v:null}function W(g){if(!y(g))return null;if(typeof g.closed==="boolean")return g.closed;let{_writableState:v,_readableState:h}=g;if(typeof(v===null||v===void 0?void 0:v.closed)==="boolean"||typeof(h===null||h===void 0?void 0:h.closed)==="boolean")return(v===null||v===void 0?void 0:v.closed)||(h===null||h===void 0?void 0:h.closed);if(typeof g._closed==="boolean"&&O(g))return g._closed;return null}function O(g){return typeof g._closed==="boolean"&&typeof g._defaultKeepAlive==="boolean"&&typeof g._removedConnection==="boolean"&&typeof g._removedContLen==="boolean"}function P(g){return typeof g._sent100==="boolean"&&O(g)}function S(g){var v;return typeof g._consuming==="boolean"&&typeof g._dumped==="boolean"&&((v=g.req)===null||v===void 0?void 0:v.upgradeOrConnect)===void 0}function A(g){if(!y(g))return null;let{_writableState:v,_readableState:h}=g,r=v||h;return!r&&P(g)||!!(r&&r.autoDestroy&&r.emitClose&&r.closed===!1)}function V(g){var v;return!!(g&&((v=g[j])!==null&&v!==void 0?v:g.readableDidRead||g.readableAborted))}function T(g){var v,h,r,U0,z0,Q0,s,e,J0,Z0;return!!(g&&((v=(h=(r=(U0=(z0=(Q0=g[Z])!==null&&Q0!==void 0?Q0:g.readableErrored)!==null&&z0!==void 0?z0:g.writableErrored)!==null&&U0!==void 0?U0:(s=g._readableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&r!==void 0?r:(e=g._writableState)===null||e===void 0?void 0:e.errorEmitted)!==null&&h!==void 0?h:(J0=g._readableState)===null||J0===void 0?void 0:J0.errored)!==null&&v!==void 0?v:(Z0=g._writableState)===null||Z0===void 0?void 0:Z0.errored))}J.exports={isDestroyed:d,kIsDestroyed:z,isDisturbed:V,kIsDisturbed:j,isErrored:T,kIsErrored:Z,isReadable:t,kIsReadable:L,kIsClosedPromise:q,kControllerErrorFunction:C,kIsWritable:R,isClosed:W,isDuplexNodeStream:N,isFinished:G,isIterable:p,isReadableNodeStream:E,isReadableStream:w,isReadableEnded:L0,isReadableFinished:j0,isReadableErrored:H,isNodeStream:y,isWebStream:u,isWritable:T0,isWritableNodeStream:B,isWritableStream:b,isWritableEnded:a,isWritableFinished:O0,isWritableErrored:K,isServerRequest:S,isServerResponse:P,willEmitClose:A,isTransformStream:x}}),IX=XU((I,J)=>{var Y=XJ(),{AbortError:D,codes:X}=g6(),{ERR_INVALID_ARG_TYPE:z,ERR_STREAM_PREMATURE_CLOSE:Z}=X,{kEmptyObject:L,once:R}=r6(),{validateAbortSignal:j,validateFunction:q,validateObject:C,validateBoolean:E}=iG(),{Promise:B,PromisePrototypeThen:N,SymbolDispose:y}=fU(),{isClosed:w,isReadable:b,isReadableNodeStream:x,isReadableStream:u,isReadableFinished:p,isReadableErrored:d,isWritable:a,isWritableNodeStream:O0,isWritableStream:L0,isWritableFinished:j0,isWritableErrored:t,isNodeStream:T0,willEmitClose:G,kIsClosedPromise:K}=VI(),H;function W(V){return V.setHeader&&typeof V.abort==="function"}var O=()=>{};function P(V,T,g){var v,h;if(arguments.length===2)g=T,T=L;else if(T==null)T=L;else C(T,"options");if(q(g,"callback"),j(T.signal,"options.signal"),g=R(g),u(V)||L0(V))return S(V,T,g);if(!T0(V))throw new z("stream",["ReadableStream","WritableStream","Stream"],V);let r=(v=T.readable)!==null&&v!==void 0?v:x(V),U0=(h=T.writable)!==null&&h!==void 0?h:O0(V),z0=V._writableState,Q0=V._readableState,s=()=>{if(!V.writable)Z0()},e=G(V)&&x(V)===r&&O0(V)===U0,J0=j0(V,!1),Z0=()=>{if(J0=!0,V.destroyed)e=!1;if(e&&(!V.readable||r))return;if(!r||A0)g.call(V)},A0=p(V,!1),$0=()=>{if(A0=!0,V.destroyed)e=!1;if(e&&(!V.writable||U0))return;if(!U0||J0)g.call(V)},c=(I0)=>{g.call(V,I0)},n=w(V),H0=()=>{n=!0;let I0=t(V)||d(V);if(I0&&typeof I0!=="boolean")return g.call(V,I0);if(r&&!A0&&x(V,!0)){if(!p(V,!1))return g.call(V,new Z)}if(U0&&!J0){if(!j0(V,!1))return g.call(V,new Z)}g.call(V)},Y0=()=>{n=!0;let I0=t(V)||d(V);if(I0&&typeof I0!=="boolean")return g.call(V,I0);g.call(V)},W0=()=>{V.req.on("finish",Z0)};if(W(V)){if(V.on("complete",Z0),!e)V.on("abort",H0);if(V.req)W0();else V.on("request",W0)}else if(U0&&!z0)V.on("end",s),V.on("close",s);if(!e&&typeof V.aborted==="boolean")V.on("aborted",H0);if(V.on("end",$0),V.on("finish",Z0),T.error!==!1)V.on("error",c);if(V.on("close",H0),n)Y.nextTick(H0);else if(z0!==null&&z0!==void 0&&z0.errorEmitted||Q0!==null&&Q0!==void 0&&Q0.errorEmitted){if(!e)Y.nextTick(Y0)}else if(!r&&(!e||b(V))&&(J0||a(V)===!1))Y.nextTick(Y0);else if(!U0&&(!e||a(V))&&(A0||b(V)===!1))Y.nextTick(Y0);else if(Q0&&V.req&&V.aborted)Y.nextTick(Y0);let N0=()=>{if(g=O,V.removeListener("aborted",H0),V.removeListener("complete",Z0),V.removeListener("abort",H0),V.removeListener("request",W0),V.req)V.req.removeListener("finish",Z0);V.removeListener("end",s),V.removeListener("close",s),V.removeListener("finish",Z0),V.removeListener("end",$0),V.removeListener("error",c),V.removeListener("close",H0)};if(T.signal&&!n){let I0=()=>{let D0=g;N0(),D0.call(V,new D(void 0,{cause:T.signal.reason}))};if(T.signal.aborted)Y.nextTick(I0);else{H=H||r6().addAbortListener;let D0=H(T.signal,I0),U$=g;g=R((...M0)=>{D0[y](),U$.apply(V,M0)})}}return N0}function S(V,T,g){let v=!1,h=O;if(T.signal)if(h=()=>{v=!0,g.call(V,new D(void 0,{cause:T.signal.reason}))},T.signal.aborted)Y.nextTick(h);else{H=H||r6().addAbortListener;let U0=H(T.signal,h),z0=g;g=R((...Q0)=>{U0[y](),z0.apply(V,Q0)})}let r=(...U0)=>{if(!v)Y.nextTick(()=>g.apply(V,U0))};return N(V[K].promise,r,r),O}function A(V,T){var g;let v=!1;if(T===null)T=L;if((g=T)!==null&&g!==void 0&&g.cleanup)E(T.cleanup,"cleanup"),v=T.cleanup;return new B((h,r)=>{let U0=P(V,T,(z0)=>{if(v)U0();if(z0)r(z0);else h()})})}J.exports=P,J.exports.finished=A}),SQ=XU((I,J)=>{var Y=XJ(),{aggregateTwoErrors:D,codes:{ERR_MULTIPLE_CALLBACK:X},AbortError:z}=g6(),{Symbol:Z}=fU(),{kIsDestroyed:L,isDestroyed:R,isFinished:j,isServerRequest:q}=VI(),C=Z("kDestroy"),E=Z("kConstruct");function B(G,K,H){if(G){if(G.stack,K&&!K.errored)K.errored=G;if(H&&!H.errored)H.errored=G}}function N(G,K){let H=this._readableState,W=this._writableState,O=W||H;if(W!==null&&W!==void 0&&W.destroyed||H!==null&&H!==void 0&&H.destroyed){if(typeof K==="function")K();return this}if(B(G,W,H),W)W.destroyed=!0;if(H)H.destroyed=!0;if(!O.constructed)this.once(C,function(P){y(this,D(P,G),K)});else y(this,G,K);return this}function y(G,K,H){let W=!1;function O(P){if(W)return;W=!0;let{_readableState:S,_writableState:A}=G;if(B(P,A,S),A)A.closed=!0;if(S)S.closed=!0;if(typeof H==="function")H(P);if(P)Y.nextTick(w,G,P);else Y.nextTick(b,G)}try{G._destroy(K||null,O)}catch(P){O(P)}}function w(G,K){x(G,K),b(G)}function b(G){let{_readableState:K,_writableState:H}=G;if(H)H.closeEmitted=!0;if(K)K.closeEmitted=!0;if(H!==null&&H!==void 0&&H.emitClose||K!==null&&K!==void 0&&K.emitClose)G.emit("close")}function x(G,K){let{_readableState:H,_writableState:W}=G;if(W!==null&&W!==void 0&&W.errorEmitted||H!==null&&H!==void 0&&H.errorEmitted)return;if(W)W.errorEmitted=!0;if(H)H.errorEmitted=!0;G.emit("error",K)}function u(){let G=this._readableState,K=this._writableState;if(G)G.constructed=!0,G.closed=!1,G.closeEmitted=!1,G.destroyed=!1,G.errored=null,G.errorEmitted=!1,G.reading=!1,G.ended=G.readable===!1,G.endEmitted=G.readable===!1;if(K)K.constructed=!0,K.destroyed=!1,K.closed=!1,K.closeEmitted=!1,K.errored=null,K.errorEmitted=!1,K.finalCalled=!1,K.prefinished=!1,K.ended=K.writable===!1,K.ending=K.writable===!1,K.finished=K.writable===!1}function p(G,K,H){let{_readableState:W,_writableState:O}=G;if(O!==null&&O!==void 0&&O.destroyed||W!==null&&W!==void 0&&W.destroyed)return this;if(W!==null&&W!==void 0&&W.autoDestroy||O!==null&&O!==void 0&&O.autoDestroy)G.destroy(K);else if(K){if(K.stack,O&&!O.errored)O.errored=K;if(W&&!W.errored)W.errored=K;if(H)Y.nextTick(x,G,K);else x(G,K)}}function d(G,K){if(typeof G._construct!=="function")return;let{_readableState:H,_writableState:W}=G;if(H)H.constructed=!1;if(W)W.constructed=!1;if(G.once(E,K),G.listenerCount(E)>1)return;Y.nextTick(a,G)}function a(G){let K=!1;function H(W){if(K){p(G,W!==null&&W!==void 0?W:new X);return}K=!0;let{_readableState:O,_writableState:P}=G,S=P||O;if(O)O.constructed=!0;if(P)P.constructed=!0;if(S.destroyed)G.emit(C,W);else if(W)p(G,W,!0);else Y.nextTick(O0,G)}try{G._construct((W)=>{Y.nextTick(H,W)})}catch(W){Y.nextTick(H,W)}}function O0(G){G.emit(E)}function L0(G){return(G===null||G===void 0?void 0:G.setHeader)&&typeof G.abort==="function"}function j0(G){G.emit("close")}function t(G,K){G.emit("error",K),Y.nextTick(j0,G)}function T0(G,K){if(!G||R(G))return;if(!K&&!j(G))K=new z;if(q(G))G.socket=null,G.destroy(K);else if(L0(G))G.abort();else if(L0(G.req))G.req.abort();else if(typeof G.destroy==="function")G.destroy(K);else if(typeof G.close==="function")G.close();else if(K)Y.nextTick(t,G,K);else Y.nextTick(j0,G);if(!G.destroyed)G[L]=!0}J.exports={construct:d,destroyer:T0,destroy:N,undestroy:u,errorOrDestroy:p}}),IF=XU((I,J)=>{var{ArrayIsArray:Y,ObjectSetPrototypeOf:D}=fU(),{EventEmitter:X}=(qQ(),S$(jQ));function z(L){X.call(this,L)}D(z.prototype,X.prototype),D(z,X),z.prototype.pipe=function(L,R){let j=this;function q(b){if(L.writable&&L.write(b)===!1&&j.pause)j.pause()}j.on("data",q);function C(){if(j.readable&&j.resume)j.resume()}if(L.on("drain",C),!L._isStdio&&(!R||R.end!==!1))j.on("end",B),j.on("close",N);let E=!1;function B(){if(E)return;E=!0,L.end()}function N(){if(E)return;if(E=!0,typeof L.destroy==="function")L.destroy()}function y(b){if(w(),X.listenerCount(this,"error")===0)this.emit("error",b)}Z(j,"error",y),Z(L,"error",y);function w(){j.removeListener("data",q),L.removeListener("drain",C),j.removeListener("end",B),j.removeListener("close",N),j.removeListener("error",y),L.removeListener("error",y),j.removeListener("end",w),j.removeListener("close",w),L.removeListener("close",w)}return j.on("end",w),j.on("close",w),L.on("close",w),L.emit("pipe",j),L};function Z(L,R,j){if(typeof L.prependListener==="function")return L.prependListener(R,j);if(!L._events||!L._events[R])L.on(R,j);else if(Y(L._events[R]))L._events[R].unshift(j);else L._events[R]=[j,L._events[R]]}J.exports={Stream:z,prependListener:Z}}),Vz=XU((I,J)=>{var{SymbolDispose:Y}=fU(),{AbortError:D,codes:X}=g6(),{isNodeStream:z,isWebStream:Z,kControllerErrorFunction:L}=VI(),R=IX(),{ERR_INVALID_ARG_TYPE:j}=X,q,C=(E,B)=>{if(typeof E!=="object"||!("aborted"in E))throw new j(B,"AbortSignal",E)};J.exports.addAbortSignal=function(E,B){if(C(E,"signal"),!z(B)&&!Z(B))throw new j("stream",["ReadableStream","WritableStream","Stream"],B);return J.exports.addAbortSignalNoValidate(E,B)},J.exports.addAbortSignalNoValidate=function(E,B){if(typeof E!=="object"||!("aborted"in E))return B;let N=z(B)?()=>{B.destroy(new D(void 0,{cause:E.reason}))}:()=>{B[L](new D(void 0,{cause:E.reason}))};if(E.aborted)N();else{q=q||r6().addAbortListener;let y=q(E,N);R(B,y[Y])}return B}}),ig=XU((I,J)=>{var{StringPrototypeSlice:Y,SymbolIterator:D,TypedArrayPrototypeSet:X,Uint8Array:z}=fU(),{Buffer:Z}=(oU(),S$(nU)),{inspect:L}=r6();J.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(R){let j={data:R,next:null};if(this.length>0)this.tail.next=j;else this.head=j;this.tail=j,++this.length}unshift(R){let j={data:R,next:this.head};if(this.length===0)this.tail=j;this.head=j,++this.length}shift(){if(this.length===0)return;let R=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,R}clear(){this.head=this.tail=null,this.length=0}join(R){if(this.length===0)return"";let j=this.head,q=""+j.data;while((j=j.next)!==null)q+=R+j.data;return q}concat(R){if(this.length===0)return Z.alloc(0);let j=Z.allocUnsafe(R>>>0),q=this.head,C=0;while(q)X(j,q.data,C),C+=q.data.length,q=q.next;return j}consume(R,j){let q=this.head.data;if(R<q.length){let C=q.slice(0,R);return this.head.data=q.slice(R),C}if(R===q.length)return this.shift();return j?this._getString(R):this._getBuffer(R)}first(){return this.head.data}*[D](){for(let R=this.head;R;R=R.next)yield R.data}_getString(R){let j="",q=this.head,C=0;do{let E=q.data;if(R>E.length)j+=E,R-=E.length;else{if(R===E.length)if(j+=E,++C,q.next)this.head=q.next;else this.head=this.tail=null;else j+=Y(E,0,R),this.head=q,q.data=Y(E,R);break}++C}while((q=q.next)!==null);return this.length-=C,j}_getBuffer(R){let j=Z.allocUnsafe(R),q=R,C=this.head,E=0;do{let B=C.data;if(R>B.length)X(j,B,q-R),R-=B.length;else{if(R===B.length)if(X(j,B,q-R),++E,C.next)this.head=C.next;else this.head=this.tail=null;else X(j,new z(B.buffer,B.byteOffset,R),q-R),this.head=C,C.data=B.slice(R);break}++E}while((C=C.next)!==null);return this.length-=E,j}[Symbol.for("nodejs.util.inspect.custom")](R,j){return L(this,{...j,depth:0,customInspect:!1})}}}),zz=XU((I,J)=>{var{MathFloor:Y,NumberIsInteger:D}=fU(),{validateInteger:X}=iG(),{ERR_INVALID_ARG_VALUE:z}=g6().codes,Z=16384,L=16;function R(E,B,N){return E.highWaterMark!=null?E.highWaterMark:B?E[N]:null}function j(E){return E?L:Z}function q(E,B){if(X(B,"value",0),E)L=B;else Z=B}function C(E,B,N,y){let w=R(B,y,N);if(w!=null){if(!D(w)||w<0){let b=y?`options.${N}`:"options.highWaterMark";throw new z(b,w)}return Y(w)}return j(E.objectMode)}J.exports={getHighWaterMark:C,getDefaultHighWaterMark:j,setDefaultHighWaterMark:q}}),rg=XU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(oU(),S$(nU)),D=Y.Buffer;function X(Z,L){for(var R in Z)L[R]=Z[R]}if(D.from&&D.alloc&&D.allocUnsafe&&D.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=z;function z(Z,L,R){return D(Z,L,R)}z.prototype=Object.create(D.prototype),X(D,z),z.from=function(Z,L,R){if(typeof Z==="number")throw TypeError("Argument must not be a number");return D(Z,L,R)},z.alloc=function(Z,L,R){if(typeof Z!=="number")throw TypeError("Argument must be a number");var j=D(Z);if(L!==void 0)if(typeof R==="string")j.fill(L,R);else j.fill(L);else j.fill(0);return j},z.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return D(Z)},z.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),tg=XU((I)=>{var J=rg().Buffer,Y=J.isEncoding||function(x){switch(x=""+x,x&&x.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 D(x){if(!x)return"utf8";var u;while(!0)switch(x){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 x;default:if(u)return;x=(""+x).toLowerCase(),u=!0}}function X(x){var u=D(x);if(typeof u!=="string"&&(J.isEncoding===Y||!Y(x)))throw Error("Unknown encoding: "+x);return u||x}I.StringDecoder=z;function z(x){this.encoding=X(x);var u;switch(this.encoding){case"utf16le":this.text=E,this.end=B,u=4;break;case"utf8":this.fillLast=j,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(x){if(x.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(x),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<x.length)return u?u+this.text(x,p):this.text(x,p);return u||""},z.prototype.end=C,z.prototype.text=q,z.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length};function Z(x){if(x<=127)return 0;else if(x>>5===6)return 2;else if(x>>4===14)return 3;else if(x>>3===30)return 4;return x>>6===2?-1:-2}function L(x,u,p){var d=u.length-1;if(d<p)return 0;var a=Z(u[d]);if(a>=0){if(a>0)x.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)x.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)if(a===2)a=0;else x.lastNeed=a-3;return a}return 0}function R(x,u,p){if((u[0]&192)!==128)return x.lastNeed=0,"�";if(x.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return x.lastNeed=1,"�";if(x.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return x.lastNeed=2,"�"}}}function j(x){var u=this.lastTotal-this.lastNeed,p=R(this,x,u);if(p!==void 0)return p;if(this.lastNeed<=x.length)return x.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,u,0,x.length),this.lastNeed-=x.length}function q(x,u){var p=L(this,x,u);if(!this.lastNeed)return x.toString("utf8",u);this.lastTotal=p;var d=x.length-(p-this.lastNeed);return x.copy(this.lastChar,0,d),x.toString("utf8",u,d)}function C(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+"�";return u}function E(x,u){if((x.length-u)%2===0){var p=x.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]=x[x.length-2],this.lastChar[1]=x[x.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",u,x.length-1)}function B(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function N(x,u){var p=(x.length-u)%3;if(p===0)return x.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=x[x.length-1];else this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1];return x.toString("base64",u,x.length-p)}function y(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(x){return x.toString(this.encoding)}function b(x){return x&&x.length?this.write(x):""}}),Eq=XU((I,J)=>{var Y=XJ(),{PromisePrototypeThen:D,SymbolAsyncIterator:X,SymbolIterator:z}=fU(),{Buffer:Z}=(oU(),S$(nU)),{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:R}=g6().codes;function j(q,C,E){let B;if(typeof C==="string"||C instanceof Z)return new q({objectMode:!0,...E,read(){this.push(C),this.push(null)}});let N;if(C&&C[X])N=!0,B=C[X]();else if(C&&C[z])N=!1,B=C[z]();else throw new L("iterable",["Iterable"],C);let y=new q({objectMode:!0,highWaterMark:1,...E}),w=!1;y._read=function(){if(!w)w=!0,x()},y._destroy=function(u,p){D(b(u),()=>Y.nextTick(p,u),(d)=>Y.nextTick(p,d||u))};async function b(u){let p=u!==void 0&&u!==null,d=typeof B.throw==="function";if(p&&d){let{value:a,done:O0}=await B.throw(u);if(await a,O0)return}if(typeof B.return==="function"){let{value:a}=await B.return();await a}}async function x(){for(;;){try{let{value:u,done:p}=N?await B.next():B.next();if(p)y.push(null);else{let d=u&&typeof u.then==="function"?await u:u;if(d===null)throw w=!1,new R;else if(y.push(d))continue;else w=!1}}catch(u){y.destroy(u)}break}}return y}J.exports=j}),Dz=XU((I,J)=>{var Y=XJ(),{ArrayPrototypeIndexOf:D,NumberIsInteger:X,NumberIsNaN:z,NumberParseInt:Z,ObjectDefineProperties:L,ObjectKeys:R,ObjectSetPrototypeOf:j,Promise:q,SafeSet:C,SymbolAsyncDispose:E,SymbolAsyncIterator:B,Symbol:N}=fU();J.exports=M0,M0.ReadableState=U$;var{EventEmitter:y}=(qQ(),S$(jQ)),{Stream:w,prependListener:b}=IF(),{Buffer:x}=(oU(),S$(nU)),{addAbortSignal:u}=Vz(),p=IX(),d=r6().debuglog("stream",(i)=>{d=i}),a=ig(),O0=SQ(),{getHighWaterMark:L0,getDefaultHighWaterMark:j0}=zz(),{aggregateTwoErrors:t,codes:{ERR_INVALID_ARG_TYPE:T0,ERR_METHOD_NOT_IMPLEMENTED:G,ERR_OUT_OF_RANGE:K,ERR_STREAM_PUSH_AFTER_EOF:H,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:W},AbortError:O}=g6(),{validateObject:P}=iG(),S=N("kPaused"),{StringDecoder:A}=tg(),V=Eq();j(M0.prototype,w.prototype),j(M0,w);var T=()=>{},{errorOrDestroy:g}=O0,v=1,h=2,r=4,U0=8,z0=16,Q0=32,s=64,e=128,J0=256,Z0=512,A0=1024,$0=2048,c=4096,n=8192,H0=16384,Y0=32768,W0=65536,N0=131072,I0=262144;function D0(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:D0(v),ended:D0(h),endEmitted:D0(r),reading:D0(U0),constructed:D0(z0),sync:D0(Q0),needReadable:D0(s),emittedReadable:D0(e),readableListening:D0(J0),resumeScheduled:D0(Z0),errorEmitted:D0(A0),emitClose:D0($0),autoDestroy:D0(c),destroyed:D0(n),closed:D0(H0),closeEmitted:D0(Y0),multiAwaitDrain:D0(W0),readingMore:D0(N0),dataEmitted:D0(I0)});function U$(i,G0,E0){if(typeof E0!=="boolean")E0=G0 instanceof ZI();if(this.state=$0|c|z0|Q0,i&&i.objectMode)this.state|=v;if(E0&&i&&i.readableObjectMode)this.state|=v;if(this.highWaterMark=i?L0(this,i,"readableHighWaterMark",E0):j0(!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 ZI();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),O0.construct(this,()=>{if(this._readableState.needReadable)r0(this,this._readableState)})}M0.prototype.destroy=O0.destroy,M0.prototype._undestroy=O0.undestroy,M0.prototype._destroy=function(i,G0){G0(i)},M0.prototype[y.captureRejectionSymbol]=function(i){this.destroy(i)},M0.prototype[E]=function(){let i;if(!this.destroyed)i=this.readableEnded?null:new O,this.destroy(i);return new q((G0,E0)=>p(this,(q0)=>q0&&q0!==i?E0(q0):G0(null)))},M0.prototype.push=function(i,G0){return B0(this,i,G0,!1)},M0.prototype.unshift=function(i,G0){return B0(this,i,G0,!0)};function B0(i,G0,E0,q0){d("readableAddChunk",G0);let V$=i._readableState,d0;if((V$.state&v)===0){if(typeof G0==="string"){if(E0=E0||V$.defaultEncoding,V$.encoding!==E0)if(q0&&V$.encoding)G0=x.from(G0,E0).toString(V$.encoding);else G0=x.from(G0,E0),E0=""}else if(G0 instanceof x)E0="";else if(w._isUint8Array(G0))G0=w._uint8ArrayToBuffer(G0),E0="";else if(G0!=null)d0=new T0("chunk",["string","Buffer","Uint8Array"],G0)}if(d0)g(i,d0);else if(G0===null)V$.state&=~U0,b0(i,V$);else if((V$.state&v)!==0||G0&&G0.length>0)if(q0)if((V$.state&r)!==0)g(i,new W);else if(V$.destroyed||V$.errored)return!1;else L$(i,V$,G0,!0);else if(V$.ended)g(i,new H);else if(V$.destroyed||V$.errored)return!1;else if(V$.state&=~U0,V$.decoder&&!E0)if(G0=V$.decoder.write(G0),V$.objectMode||G0.length!==0)L$(i,V$,G0,!1);else r0(i,V$);else L$(i,V$,G0,!1);else if(!q0)V$.state&=~U0,r0(i,V$);return!V$.ended&&(V$.length<V$.highWaterMark||V$.length===0)}function L$(i,G0,E0,q0){if(G0.flowing&&G0.length===0&&!G0.sync&&i.listenerCount("data")>0){if((G0.state&W0)!==0)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;G0.dataEmitted=!0,i.emit("data",E0)}else{if(G0.length+=G0.objectMode?1:E0.length,q0)G0.buffer.unshift(E0);else G0.buffer.push(E0);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 E0=this._readableState.buffer,q0="";for(let V$ of E0)q0+=G0.write(V$);if(E0.clear(),q0!=="")E0.push(q0);return this._readableState.length=q0.length,this};var p0=1073741824;function c0(i){if(i>p0)throw new K("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&v)!==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=Z(i,10);let G0=this._readableState,E0=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)W$(this);else h0(this);return null}if(i=i$(i,G0),i===0&&G0.ended){if(G0.length===0)W$(this);return null}let q0=(G0.state&s)!==0;if(d("need readable",q0),G0.length===0||G0.length-i<G0.highWaterMark)q0=!0,d("length less than watermark",q0);if(G0.ended||G0.reading||G0.destroyed||G0.errored||!G0.constructed)q0=!1,d("reading, ended or constructing",q0);else if(q0){if(d("do read"),G0.state|=U0|Q0,G0.length===0)G0.state|=s;try{this._read(G0.highWaterMark)}catch(d0){g(this,d0)}if(G0.state&=~Q0,!G0.reading)i=i$(E0,G0)}let V$;if(i>0)V$=f0(i,G0);else V$=null;if(V$===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(E0!==i&&G0.ended)W$(this)}if(V$!==null&&!G0.errorEmitted&&!G0.closeEmitted)G0.dataEmitted=!0,this.emit("data",V$);return V$};function b0(i,G0){if(d("onEofChunk"),G0.ended)return;if(G0.decoder){let E0=G0.decoder.end();if(E0&&E0.length)G0.buffer.push(E0),G0.length+=G0.objectMode?1:E0.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,Y.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,v0(i)}function r0(i,G0){if(!G0.readingMore&&G0.constructed)G0.readingMore=!0,Y.nextTick(o0,i,G0)}function o0(i,G0){while(!G0.reading&&!G0.ended&&(G0.length<G0.highWaterMark||G0.flowing&&G0.length===0)){let E0=G0.length;if(d("maybeReadMore read 0"),i.read(0),E0===G0.length)break}G0.readingMore=!1}M0.prototype._read=function(i){throw new G("_read()")},M0.prototype.pipe=function(i,G0){let E0=this,q0=this._readableState;if(q0.pipes.length===1){if(!q0.multiAwaitDrain)q0.multiAwaitDrain=!0,q0.awaitDrainWriters=new C(q0.awaitDrainWriters?[q0.awaitDrainWriters]:[])}q0.pipes.push(i),d("pipe count=%d opts=%j",q0.pipes.length,G0);let V$=(!G0||G0.end!==!1)&&i!==Y.stdout&&i!==Y.stderr?t0:q$;if(q0.endEmitted)Y.nextTick(V$);else E0.once("end",V$);i.on("unpipe",d0);function d0($U,d$){if(d("onunpipe"),$U===E0){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",_U),i.removeListener("finish",R$),HU)i.removeListener("drain",HU);if(i.removeListener("error",e0),i.removeListener("unpipe",d0),E0.removeListener("end",t0),E0.removeListener("end",q$),E0.removeListener("data",X$),I$=!0,HU&&q0.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))HU()}function e$(){if(!I$){if(q0.pipes.length===1&&q0.pipes[0]===i)d("false write response, pause",0),q0.awaitDrainWriters=i,q0.multiAwaitDrain=!1;else if(q0.pipes.length>1&&q0.pipes.includes(i))d("false write response, pause",q0.awaitDrainWriters.size),q0.awaitDrainWriters.add(i);E0.pause()}if(!HU)HU=PU(E0,i),i.on("drain",HU)}E0.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),q$(),i.removeListener("error",e0),i.listenerCount("error")===0){let d$=i._writableState||i._readableState;if(d$&&!d$.errorEmitted)g(i,$U);else i.emit("error",$U)}}b(i,"error",e0);function _U(){i.removeListener("finish",R$),q$()}i.once("close",_U);function R$(){d("onfinish"),i.removeListener("close",_U),q$()}i.once("finish",R$);function q$(){d("unpipe"),E0.unpipe(i)}if(i.emit("pipe",E0),i.writableNeedDrain===!0)e$();else if(!q0.flowing)d("pipe resume"),E0.resume();return i};function PU(i,G0){return function(){let E0=i._readableState;if(E0.awaitDrainWriters===G0)d("pipeOnDrain",1),E0.awaitDrainWriters=null;else if(E0.multiAwaitDrain)d("pipeOnDrain",E0.awaitDrainWriters.size),E0.awaitDrainWriters.delete(G0);if((!E0.awaitDrainWriters||E0.awaitDrainWriters.size===0)&&i.listenerCount("data"))i.resume()}}M0.prototype.unpipe=function(i){let G0=this._readableState,E0={hasUnpiped:!1};if(G0.pipes.length===0)return this;if(!i){let V$=G0.pipes;G0.pipes=[],this.pause();for(let d0=0;d0<V$.length;d0++)V$[d0].emit("unpipe",this,{hasUnpiped:!1});return this}let q0=D(G0.pipes,i);if(q0===-1)return this;if(G0.pipes.splice(q0,1),G0.pipes.length===0)this.pause();return i.emit("unpipe",this,E0),this},M0.prototype.on=function(i,G0){let E0=w.prototype.on.call(this,i,G0),q0=this._readableState;if(i==="data"){if(q0.readableListening=this.listenerCount("readable")>0,q0.flowing!==!1)this.resume()}else if(i==="readable"){if(!q0.endEmitted&&!q0.readableListening){if(q0.readableListening=q0.needReadable=!0,q0.flowing=!1,q0.emittedReadable=!1,d("on readable",q0.length,q0.reading),q0.length)h0(this);else if(!q0.reading)Y.nextTick(X0,this)}}return E0},M0.prototype.addListener=M0.prototype.on,M0.prototype.removeListener=function(i,G0){let E0=w.prototype.removeListener.call(this,i,G0);if(i==="readable")Y.nextTick(l,this);return E0},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)Y.nextTick(l,this);return G0};function l(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,Y.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"),v0(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 v0(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",(q0)=>{if(!this.push(q0)&&i.pause)G0=!0,i.pause()}),i.on("end",()=>{this.push(null)}),i.on("error",(q0)=>{g(this,q0)}),i.on("close",()=>{this.destroy()}),i.on("destroy",()=>{this.destroy()}),this._read=()=>{if(G0&&i.resume)G0=!1,i.resume()};let E0=R(i);for(let q0=1;q0<E0.length;q0++){let V$=E0[q0];if(this[V$]===void 0&&typeof i[V$]==="function")this[V$]=i[V$].bind(i)}return this},M0.prototype[B]=function(){return O$(this)},M0.prototype.iterator=function(i){if(i!==void 0)P(i,"options");return O$(this,i)};function O$(i,G0){if(typeof i.read!=="function")i=M0.wrap(i,{objectMode:!0});let E0=x0(i,G0);return E0.stream=i,E0}async function*x0(i,G0){let E0=T;function q0(t0){if(this===i)E0(),E0=T;else E0=t0}i.on("readable",q0);let V$,d0=p(i,{writable:!1},(t0)=>{V$=t0?t(V$,t0):null,E0(),E0=T});try{while(!0){let t0=i.destroyed?null:i.read();if(t0!==null)yield t0;else if(V$)throw V$;else if(V$===null)return;else await new q(q0)}}catch(t0){throw V$=t(V$,t0),V$}finally{if((V$||(G0===null||G0===void 0?void 0:G0.destroyOnReturn)!==!1)&&(V$===void 0||i._readableState.autoDestroy))O0.destroyer(i,null);else i.off("readable",q0),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 E0;if(G0.objectMode)E0=G0.buffer.shift();else if(!i||i>=G0.length){if(G0.decoder)E0=G0.buffer.join("");else if(G0.buffer.length===1)E0=G0.buffer.first();else E0=G0.buffer.concat(G0.length);G0.buffer.clear()}else E0=G0.buffer.consume(i,G0.decoder);return E0}function W$(i){let G0=i._readableState;if(d("endReadable",G0.endEmitted),!G0.endEmitted)G0.ended=!0,Y.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)Y.nextTick(i0,G0);else if(i.autoDestroy){let E0=G0._writableState;if(!E0||E0.autoDestroy&&(E0.finished||E0.writable===!1))G0.destroy()}}}function i0(i){if(i.writable&&!i.writableEnded&&!i.destroyed)i.end()}M0.from=function(i,G0){return V(M0,i,G0)};var DU;function a0(){if(DU===void 0)DU={};return DU}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 E0,q0;return new M0({objectMode:(E0=(q0=i.readableObjectMode)!==null&&q0!==void 0?q0:i.objectMode)!==null&&E0!==void 0?E0:!0,...G0,destroy(V$,d0){O0.destroyer(i,V$),d0(V$)}}).wrap(i)}}),XF=XU((I,J)=>{var Y=XJ(),{ArrayPrototypeSlice:D,Error:X,FunctionPrototypeSymbolHasInstance:z,ObjectDefineProperty:Z,ObjectDefineProperties:L,ObjectSetPrototypeOf:R,StringPrototypeToLowerCase:j,Symbol:q,SymbolHasInstance:C}=fU();J.exports=P,P.WritableState=W;var{EventEmitter:E}=(qQ(),S$(jQ)),B=IF().Stream,{Buffer:N}=(oU(),S$(nU)),y=SQ(),{addAbortSignal:w}=Vz(),{getHighWaterMark:b,getDefaultHighWaterMark:x}=zz(),{ERR_INVALID_ARG_TYPE:u,ERR_METHOD_NOT_IMPLEMENTED:p,ERR_MULTIPLE_CALLBACK:d,ERR_STREAM_CANNOT_PIPE:a,ERR_STREAM_DESTROYED:O0,ERR_STREAM_ALREADY_FINISHED:L0,ERR_STREAM_NULL_VALUES:j0,ERR_STREAM_WRITE_AFTER_END:t,ERR_UNKNOWN_ENCODING:T0}=g6().codes,{errorOrDestroy:G}=y;R(P.prototype,B.prototype),R(P,B);function K(){}var H=q("kOnFinished");function W(c,n,H0){if(typeof H0!=="boolean")H0=n instanceof ZI();if(this.objectMode=!!(c&&c.objectMode),H0)this.objectMode=this.objectMode||!!(c&&c.writableObjectMode);this.highWaterMark=c?b(this,c,"writableHighWaterMark",H0):x(!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=g.bind(void 0,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,O(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 O(c){c.buffered=[],c.bufferedIndex=0,c.allBuffers=!0,c.allNoop=!0}W.prototype.getBuffer=function(){return D(this.buffered,this.bufferedIndex)},Z(W.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function P(c){let n=this instanceof ZI();if(!n&&!z(P,this))return new P(c);if(this._writableState=new W(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)}B.call(this,c),y.construct(this,()=>{let H0=this._writableState;if(!H0.writing)U0(this,H0);e(this,H0)})}Z(P,C,{__proto__:null,value:function(c){if(z(this,c))return!0;if(this!==P)return!1;return c&&c._writableState instanceof W}}),P.prototype.pipe=function(){G(this,new a)};function S(c,n,H0,Y0){let W0=c._writableState;if(typeof H0==="function")Y0=H0,H0=W0.defaultEncoding;else{if(!H0)H0=W0.defaultEncoding;else if(H0!=="buffer"&&!N.isEncoding(H0))throw new T0(H0);if(typeof Y0!=="function")Y0=K}if(n===null)throw new j0;else if(!W0.objectMode)if(typeof n==="string"){if(W0.decodeStrings!==!1)n=N.from(n,H0),H0="buffer"}else if(n instanceof N)H0="buffer";else if(B._isUint8Array(n))n=B._uint8ArrayToBuffer(n),H0="buffer";else throw new u("chunk",["string","Buffer","Uint8Array"],n);let N0;if(W0.ending)N0=new t;else if(W0.destroyed)N0=new O0("write");if(N0)return Y.nextTick(Y0,N0),G(c,N0,!0),N0;return W0.pendingcb++,A(c,W0,n,H0,Y0)}P.prototype.write=function(c,n,H0){return S(this,c,n,H0)===!0},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){let c=this._writableState;if(c.corked){if(c.corked--,!c.writing)U0(this,c)}},P.prototype.setDefaultEncoding=function(c){if(typeof c==="string")c=j(c);if(!N.isEncoding(c))throw new T0(c);return this._writableState.defaultEncoding=c,this};function A(c,n,H0,Y0,W0){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:W0}),n.allBuffers&&Y0!=="buffer")n.allBuffers=!1;if(n.allNoop&&W0!==K)n.allNoop=!1}else n.writelen=N0,n.writecb=W0,n.writing=!0,n.sync=!0,c._write(H0,Y0,n.onwrite),n.sync=!1;return I0&&!n.errored&&!n.destroyed}function V(c,n,H0,Y0,W0,N0,I0){if(n.writelen=Y0,n.writecb=I0,n.writing=!0,n.sync=!0,n.destroyed)n.onwrite(new O0("write"));else if(H0)c._writev(W0,n.onwrite);else c._write(W0,N0,n.onwrite);n.sync=!1}function T(c,n,H0,Y0){--n.pendingcb,Y0(H0),r(n),G(c,H0)}function g(c,n){let H0=c._writableState,Y0=H0.sync,W0=H0.writecb;if(typeof W0!=="function"){G(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)Y.nextTick(T,c,H0,n,W0);else T(c,H0,n,W0)}else{if(H0.buffered.length>H0.bufferedIndex)U0(c,H0);if(Y0)if(H0.afterWriteTickInfo!==null&&H0.afterWriteTickInfo.cb===W0)H0.afterWriteTickInfo.count++;else H0.afterWriteTickInfo={count:1,cb:W0,stream:c,state:H0},Y.nextTick(v,H0.afterWriteTickInfo);else h(c,H0,1,W0)}}function v({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 W0=c.bufferedIndex;W0<c.buffered.length;++W0){var n;let{chunk:N0,callback:I0}=c.buffered[W0],D0=c.objectMode?1:N0.length;c.length-=D0,I0((n=c.errored)!==null&&n!==void 0?n:new O0("write"))}let H0=c[H].splice(0);for(let W0=0;W0<H0.length;W0++){var Y0;H0[W0]((Y0=c.errored)!==null&&Y0!==void 0?Y0:new O0("end"))}O(c)}function U0(c,n){if(n.corked||n.bufferProcessing||n.destroyed||!n.constructed)return;let{buffered:H0,bufferedIndex:Y0,objectMode:W0}=n,N0=H0.length-Y0;if(!N0)return;let I0=Y0;if(n.bufferProcessing=!0,N0>1&&c._writev){n.pendingcb-=N0-1;let D0=n.allNoop?K:(M0)=>{for(let B0=I0;B0<H0.length;++B0)H0[B0].callback(M0)},U$=n.allNoop&&I0===0?H0:D(H0,I0);U$.allBuffers=n.allBuffers,V(c,n,!0,n.length,U$,"",D0),O(n)}else{do{let{chunk:D0,encoding:U$,callback:M0}=H0[I0];H0[I0++]=null;let B0=W0?1:D0.length;V(c,n,!1,B0,D0,U$,M0)}while(I0<H0.length&&!n.writing);if(I0===H0.length)O(n);else if(I0>256)H0.splice(0,I0),n.bufferedIndex=0;else n.bufferedIndex=I0}n.bufferProcessing=!1}P.prototype._write=function(c,n,H0){if(this._writev)this._writev([{chunk:c,encoding:n}],H0);else throw new p("_write()")},P.prototype._writev=null,P.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 W0;if(c!==null&&c!==void 0){let N0=S(this,c,n);if(N0 instanceof X)W0=N0}if(Y0.corked)Y0.corked=1,this.uncork();if(W0);else if(!Y0.errored&&!Y0.ending)Y0.ending=!0,e(this,Y0,!0),Y0.ended=!0;else if(Y0.finished)W0=new L0("end");else if(Y0.destroyed)W0=new O0("end");if(typeof H0==="function")if(W0||Y0.finished)Y.nextTick(H0,W0);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(W0){if(H0){G(c,W0!==null&&W0!==void 0?W0:d());return}if(H0=!0,n.pendingcb--,W0){let N0=n[H].splice(0);for(let I0=0;I0<N0.length;I0++)N0[I0](W0);G(c,W0,n.sync)}else if(z0(n))n.prefinished=!0,c.emit("prefinish"),n.pendingcb++,Y.nextTick(J0,c,n)}n.sync=!0,n.pendingcb++;try{c._final(Y0)}catch(W0){Y0(W0)}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++,Y.nextTick((Y0,W0)=>{if(z0(W0))J0(Y0,W0);else W0.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(P.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 Z0=y.destroy;P.prototype.destroy=function(c,n){let H0=this._writableState;if(!H0.destroyed&&(H0.bufferedIndex<H0.buffered.length||H0[H].length))Y.nextTick(r,H0);return Z0.call(this,c,n),this},P.prototype._undestroy=y.undestroy,P.prototype._destroy=function(c,n){n(c)},P.prototype[E.captureRejectionSymbol]=function(c){this.destroy(c)};var A0;function $0(){if(A0===void 0)A0={};return A0}P.fromWeb=function(c,n){return $0().newStreamWritableFromWritableStream(c,n)},P.toWeb=function(c){return $0().newWritableStreamFromStreamWritable(c)}}),ag=XU((I,J)=>{var Y=XJ(),D=(oU(),S$(nU)),{isReadable:X,isWritable:z,isIterable:Z,isNodeStream:L,isReadableNodeStream:R,isWritableNodeStream:j,isDuplexNodeStream:q,isReadableStream:C,isWritableStream:E}=VI(),B=IX(),{AbortError:N,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:w}}=g6(),{destroyer:b}=SQ(),x=ZI(),u=Dz(),p=XF(),{createDeferredPromise:d}=r6(),a=Eq(),O0=globalThis.Blob||D.Blob,L0=typeof O0<"u"?function(H){return H instanceof O0}:function(H){return!1},j0=globalThis.AbortController||oG().AbortController,{FunctionPrototypeCall:t}=fU();class T0 extends x{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(W,O){if(q(W))return W;if(R(W))return K({readable:W});if(j(W))return K({writable:W});if(L(W))return K({writable:!1,readable:!1});if(C(W))return K({readable:u.fromWeb(W)});if(E(W))return K({writable:p.fromWeb(W)});if(typeof W==="function"){let{value:S,write:A,final:V,destroy:T}=G(W);if(Z(S))return a(T0,S,{objectMode:!0,write:A,final:V,destroy:T});let g=S===null||S===void 0?void 0:S.then;if(typeof g==="function"){let v,h=t(g,S,(r)=>{if(r!=null)throw new w("nully","body",r)},(r)=>{b(v,r)});return v=new T0({objectMode:!0,readable:!1,write:A,final(r){V(async()=>{try{await h,Y.nextTick(r,null)}catch(U0){Y.nextTick(r,U0)}})},destroy:T})}throw new w("Iterable, AsyncIterable or AsyncFunction",O,S)}if(L0(W))return H(W.arrayBuffer());if(Z(W))return a(T0,W,{objectMode:!0,writable:!1});if(C(W===null||W===void 0?void 0:W.readable)&&E(W===null||W===void 0?void 0:W.writable))return T0.fromWeb(W);if(typeof(W===null||W===void 0?void 0:W.writable)==="object"||typeof(W===null||W===void 0?void 0:W.readable)==="object"){let S=W!==null&&W!==void 0&&W.readable?R(W===null||W===void 0?void 0:W.readable)?W===null||W===void 0?void 0:W.readable:H(W.readable):void 0,A=W!==null&&W!==void 0&&W.writable?j(W===null||W===void 0?void 0:W.writable)?W===null||W===void 0?void 0:W.writable:H(W.writable):void 0;return K({readable:S,writable:A})}let P=W===null||W===void 0?void 0:W.then;if(typeof P==="function"){let S;return t(P,W,(A)=>{if(A!=null)S.push(A);S.push(null)},(A)=>{b(S,A)}),S=new T0({objectMode:!0,writable:!1,read(){}})}throw new y(O,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],W)};function G(H){let{promise:W,resolve:O}=d(),P=new j0,S=P.signal;return{value:H(async function*(){while(!0){let A=W;W=null;let{chunk:V,done:T,cb:g}=await A;if(Y.nextTick(g),T)return;if(S.aborted)throw new N(void 0,{cause:S.reason});({promise:W,resolve:O}=d()),yield V}}(),{signal:S}),write(A,V,T){let g=O;O=null,g({chunk:A,done:!1,cb:T})},final(A){let V=O;O=null,V({done:!0,cb:A})},destroy(A,V){P.abort(),V(A)}}}function K(H){let W=H.readable&&typeof H.readable.read!=="function"?u.wrap(H.readable):H.readable,O=H.writable,P=!!X(W),S=!!z(O),A,V,T,g,v;function h(r){let U0=g;if(g=null,U0)U0(r);else if(r)v.destroy(r)}if(v=new T0({readableObjectMode:!!(W!==null&&W!==void 0&&W.readableObjectMode),writableObjectMode:!!(O!==null&&O!==void 0&&O.writableObjectMode),readable:P,writable:S}),S)B(O,(r)=>{if(S=!1,r)b(W,r);h(r)}),v._write=function(r,U0,z0){if(O.write(r,U0))z0();else A=z0},v._final=function(r){O.end(),V=r},O.on("drain",function(){if(A){let r=A;A=null,r()}}),O.on("finish",function(){if(V){let r=V;V=null,r()}});if(P)B(W,(r)=>{if(P=!1,r)b(W,r);h(r)}),W.on("readable",function(){if(T){let r=T;T=null,r()}}),W.on("end",function(){v.push(null)}),v._read=function(){while(!0){let r=W.read();if(r===null){T=v._read;return}if(!v.push(r))return}};return v._destroy=function(r,U0){if(!r&&g!==null)r=new N;if(T=null,A=null,V=null,g===null)U0(r);else g=U0,b(O,r),b(W,r)},v}}),ZI=XU((I,J)=>{var{ObjectDefineProperties:Y,ObjectGetOwnPropertyDescriptor:D,ObjectKeys:X,ObjectSetPrototypeOf:z}=fU();J.exports=R;var Z=Dz(),L=XF();z(R.prototype,Z.prototype),z(R,Z);{let E=X(L.prototype);for(let B=0;B<E.length;B++){let N=E[B];if(!R.prototype[N])R.prototype[N]=L.prototype[N]}}function R(E){if(!(this instanceof R))return new R(E);if(Z.call(this,E),L.call(this,E),E){if(this.allowHalfOpen=E.allowHalfOpen!==!1,E.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(E.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}Y(R.prototype,{writable:{__proto__:null,...D(L.prototype,"writable")},writableHighWaterMark:{__proto__:null,...D(L.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...D(L.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...D(L.prototype,"writableBuffer")},writableLength:{__proto__:null,...D(L.prototype,"writableLength")},writableFinished:{__proto__:null,...D(L.prototype,"writableFinished")},writableCorked:{__proto__:null,...D(L.prototype,"writableCorked")},writableEnded:{__proto__:null,...D(L.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...D(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(E){if(this._readableState&&this._writableState)this._readableState.destroyed=E,this._writableState.destroyed=E}}});var j;function q(){if(j===void 0)j={};return j}R.fromWeb=function(E,B){return q().newStreamDuplexFromReadableWritablePair(E,B)},R.toWeb=function(E){return q().newReadableWritablePairFromDuplex(E)};var C;R.from=function(E){if(!C)C=ag();return C(E,"body")}}),jq=XU((I,J)=>{var{ObjectSetPrototypeOf:Y,Symbol:D}=fU();J.exports=R;var{ERR_METHOD_NOT_IMPLEMENTED:X}=g6().codes,z=ZI(),{getHighWaterMark:Z}=zz();Y(R.prototype,z.prototype),Y(R,z);var L=D("kCallback");function R(C){if(!(this instanceof R))return new R(C);let E=C?Z(this,C,"readableHighWaterMark",!0):null;if(E===0)C={...C,highWaterMark:null,readableHighWaterMark:E,writableHighWaterMark:C.writableHighWaterMark||0};if(z.call(this,C),this._readableState.sync=!1,this[L]=null,C){if(typeof C.transform==="function")this._transform=C.transform;if(typeof C.flush==="function")this._flush=C.flush}this.on("prefinish",q)}function j(C){if(typeof this._flush==="function"&&!this.destroyed)this._flush((E,B)=>{if(E){if(C)C(E);else this.destroy(E);return}if(B!=null)this.push(B);if(this.push(null),C)C()});else if(this.push(null),C)C()}function q(){if(this._final!==j)j.call(this)}R.prototype._final=j,R.prototype._transform=function(C,E,B){throw new X("_transform()")},R.prototype._write=function(C,E,B){let N=this._readableState,y=this._writableState,w=N.length;this._transform(C,E,(b,x)=>{if(b){B(b);return}if(x!=null)this.push(x);if(y.ended||w===N.length||N.length<N.highWaterMark)B();else this[L]=B})},R.prototype._read=function(){if(this[L]){let C=this[L];this[L]=null,C()}}}),qq=XU((I,J)=>{var{ObjectSetPrototypeOf:Y}=fU();J.exports=X;var D=jq();Y(X.prototype,D.prototype),Y(X,D);function X(z){if(!(this instanceof X))return new X(z);D.call(this,z)}X.prototype._transform=function(z,Z,L){L(null,z)}}),JF=XU((I,J)=>{var Y=XJ(),{ArrayIsArray:D,Promise:X,SymbolAsyncIterator:z,SymbolDispose:Z}=fU(),L=IX(),{once:R}=r6(),j=SQ(),q=ZI(),{aggregateTwoErrors:C,codes:{ERR_INVALID_ARG_TYPE:E,ERR_INVALID_RETURN_VALUE:B,ERR_MISSING_ARGS:N,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:w},AbortError:b}=g6(),{validateFunction:x,validateAbortSignal:u}=iG(),{isIterable:p,isReadable:d,isReadableNodeStream:a,isNodeStream:O0,isTransformStream:L0,isWebStream:j0,isReadableStream:t,isReadableFinished:T0}=VI(),G=globalThis.AbortController||oG().AbortController,K,H,W;function O(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,j.destroyer(r,e||new y("pipe"))},cleanup:s}}function P(r){return x(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 E("val",["Readable","Iterable","AsyncIterable"],r)}async function*A(r){if(!H)H=Dz();yield*H.prototype[z].call(r)}async function V(r,U0,z0,{end:Q0}){let s,e=null,J0=($0)=>{if($0)s=$0;if(e){let c=e;e=null,c()}},Z0=()=>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 Z0();for await(let $0 of r)if(!U0.write($0))await Z0();if(Q0)U0.end(),await Z0();z0()}catch($0){z0(s!==$0?C(s,$0):$0)}finally{A0(),U0.off("drain",J0)}}async function T(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 g(...r){return v(r,R(P(r)))}function v(r,U0,z0){if(r.length===1&&D(r[0]))r=r[0];if(r.length<2)throw new N("streams");let Q0=new G,s=Q0.signal,e=z0===null||z0===void 0?void 0:z0.signal,J0=[];u(e,"options.signal");function Z0(){W0(new b)}W=W||r6().addAbortListener;let A0;if(e)A0=W(e,Z0);let $0,c,n=[],H0=0;function Y0(M0){W0(M0,--H0===0)}function W0(M0,B0){var L$;if(M0&&(!$0||$0.code==="ERR_STREAM_PREMATURE_CLOSE"))$0=M0;if(!$0&&!B0)return;while(n.length)n.shift()($0);if((L$=A0)===null||L$===void 0||L$[Z](),Q0.abort(),B0){if(!$0)J0.forEach((p0)=>p0());Y.nextTick(U0,$0,c)}}let N0;for(let M0=0;M0<r.length;M0++){let B0=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(O0(B0)){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}=O(B0,L$,p0);if(n.push(h0),d(B0)&&i$)J0.push(QU)}if(B0.on("error",b0),d(B0)&&i$)J0.push(()=>{B0.removeListener("error",b0)})}if(M0===0)if(typeof B0==="function"){if(N0=B0({signal:s}),!p(N0))throw new B("Iterable, AsyncIterable or Stream","source",N0)}else if(p(B0)||a(B0)||L0(B0))N0=B0;else N0=q.from(B0);else if(typeof B0==="function"){if(L0(N0)){var D0;N0=S((D0=N0)===null||D0===void 0?void 0:D0.readable)}else N0=S(N0);if(N0=B0(N0,{signal:s}),L$){if(!p(N0,!0))throw new B("AsyncIterable",`transform[${M0-1}]`,N0)}else{var U$;if(!K)K=qq();let b0=new K({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();Y.nextTick(Y0)},(o0)=>{b0.destroy(o0),Y.nextTick(Y0,o0)});else if(p(N0,!0))H0++,V(N0,b0,Y0,{end:c0});else if(t(N0)||L0(N0)){let o0=N0.readable||N0;H0++,V(o0,b0,Y0,{end:c0})}else throw new B("AsyncIterable or Promise","destination",N0);N0=b0;let{destroy:QU,cleanup:r0}=O(N0,!1,!0);if(n.push(QU),i$)J0.push(r0)}}else if(O0(B0)){if(a(N0)){H0+=2;let b0=h(N0,B0,Y0,{end:c0});if(d(B0)&&i$)J0.push(b0)}else if(L0(N0)||t(N0)){let b0=N0.readable||N0;H0++,V(b0,B0,Y0,{end:c0})}else if(p(N0))H0++,V(N0,B0,Y0,{end:c0});else throw new E("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N0);N0=B0}else if(j0(B0)){if(a(N0))H0++,T(S(N0),B0,Y0,{end:c0});else if(t(N0)||p(N0))H0++,T(N0,B0,Y0,{end:c0});else if(L0(N0))H0++,T(N0.readable,B0,Y0,{end:c0});else throw new E("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N0);N0=B0}else N0=q.from(B0)}if(s!==null&&s!==void 0&&s.aborted||e!==null&&e!==void 0&&e.aborted)Y.nextTick(Z0);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(T0(r))Y.nextTick(J0);else r.once("end",J0)}else z0();return L(r,{readable:!0,writable:!1},(J0)=>{let Z0=r._readableState;if(J0&&J0.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z0&&Z0.ended&&!Z0.errored&&!Z0.errorEmitted)r.once("end",z0).once("error",z0);else z0(J0)}),L(U0,{readable:!1,writable:!0},z0)}J.exports={pipelineImpl:v,pipeline:g}}),Sq=XU((I,J)=>{var{pipeline:Y}=JF(),D=ZI(),{destroyer:X}=SQ(),{isNodeStream:z,isReadable:Z,isWritable:L,isWebStream:R,isTransformStream:j,isWritableStream:q,isReadableStream:C}=VI(),{AbortError:E,codes:{ERR_INVALID_ARG_VALUE:B,ERR_MISSING_ARGS:N}}=g6(),y=IX();J.exports=function(...w){if(w.length===0)throw new N("streams");if(w.length===1)return D.from(w[0]);let b=[...w];if(typeof w[0]==="function")w[0]=D.from(w[0]);if(typeof w[w.length-1]==="function"){let G=w.length-1;w[G]=D.from(w[G])}for(let G=0;G<w.length;++G){if(!z(w[G])&&!R(w[G]))continue;if(G<w.length-1&&!(Z(w[G])||C(w[G])||j(w[G])))throw new B(`streams[${G}]`,b[G],"must be readable");if(G>0&&!(L(w[G])||q(w[G])||j(w[G])))throw new B(`streams[${G}]`,b[G],"must be writable")}let x,u,p,d,a;function O0(G){let K=d;if(d=null,K)K(G);else if(G)a.destroy(G);else if(!T0&&!t)a.destroy()}let L0=w[0],j0=Y(w,O0),t=!!(L(L0)||q(L0)||j(L0)),T0=!!(Z(j0)||C(j0)||j(j0));if(a=new D({writableObjectMode:!!(L0!==null&&L0!==void 0&&L0.writableObjectMode),readableObjectMode:!!(j0!==null&&j0!==void 0&&j0.readableObjectMode),writable:t,readable:T0}),t){if(z(L0))a._write=function(K,H,W){if(L0.write(K,H))W();else x=W},a._final=function(K){L0.end(),u=K},L0.on("drain",function(){if(x){let K=x;x=null,K()}});else if(R(L0)){let K=(j(L0)?L0.writable:L0).getWriter();a._write=async function(H,W,O){try{await K.ready,K.write(H).catch(()=>{}),O()}catch(P){O(P)}},a._final=async function(H){try{await K.ready,K.close().catch(()=>{}),u=H}catch(W){H(W)}}}let G=j(j0)?j0.readable:j0;y(G,()=>{if(u){let K=u;u=null,K()}})}if(T0){if(z(j0))j0.on("readable",function(){if(p){let G=p;p=null,G()}}),j0.on("end",function(){a.push(null)}),a._read=function(){while(!0){let G=j0.read();if(G===null){p=a._read;return}if(!a.push(G))return}};else if(R(j0)){let G=(j(j0)?j0.readable:j0).getReader();a._read=async function(){while(!0)try{let{value:K,done:H}=await G.read();if(!a.push(K))return;if(H){a.push(null);return}}catch{return}}}}return a._destroy=function(G,K){if(!G&&d!==null)G=new E;if(p=null,x=null,u=null,d===null)K(G);else if(d=K,z(j0))X(j0,G)},a}}),sg=XU((I,J)=>{var Y=globalThis.AbortController||oG().AbortController,{codes:{ERR_INVALID_ARG_VALUE:D,ERR_INVALID_ARG_TYPE:X,ERR_MISSING_ARGS:z,ERR_OUT_OF_RANGE:Z},AbortError:L}=g6(),{validateAbortSignal:R,validateInteger:j,validateObject:q}=iG(),C=fU().Symbol("kWeak"),E=fU().Symbol("kResistStopPropagation"),{finished:B}=IX(),N=Sq(),{addAbortSignalNoValidate:y}=Vz(),{isWritable:w,isNodeStream:b}=VI(),{deprecate:x}=r6(),{ArrayPrototypePush:u,Boolean:p,MathFloor:d,Number:a,NumberIsNaN:O0,Promise:L0,PromiseReject:j0,PromiseResolve:t,PromisePrototypeThen:T0,Symbol:G}=fU(),K=G("kEmpty"),H=G("kEof");function W(e,J0){if(J0!=null)q(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)R(J0.signal,"options.signal");if(b(e)&&!w(e))throw new D("stream",e,"must be writable");let Z0=N(this,e);if(J0!==null&&J0!==void 0&&J0.signal)y(J0.signal,Z0);return Z0}function O(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);if(J0!=null)q(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)R(J0.signal,"options.signal");let Z0=1;if((J0===null||J0===void 0?void 0:J0.concurrency)!=null)Z0=d(J0.concurrency);let A0=Z0-1;if((J0===null||J0===void 0?void 0:J0.highWaterMark)!=null)A0=d(J0.highWaterMark);return j(Z0,"options.concurrency",1),j(A0,"options.highWaterMark",0),A0+=Z0,async function*(){let $0=r6().AbortSignalAny([J0===null||J0===void 0?void 0:J0.signal].filter(p)),c=this,n=[],H0={signal:$0},Y0,W0,N0=!1,I0=0;function D0(){N0=!0,U$()}function U$(){I0-=1,M0()}function M0(){if(W0&&!N0&&I0<Z0&&n.length<A0)W0(),W0=null}async function B0(){try{for await(let L$ of c){if(N0)return;if($0.aborted)throw new L;try{if(L$=e(L$,H0),L$===K)continue;L$=t(L$)}catch(p0){L$=j0(p0)}if(I0+=1,T0(L$,U$,D0),n.push(L$),Y0)Y0(),Y0=null;if(!N0&&(n.length>=A0||I0>=Z0))await new L0((p0)=>{W0=p0})}n.push(H)}catch(L$){let p0=j0(L$);T0(p0,U$,D0),n.push(p0)}finally{if(N0=!0,Y0)Y0(),Y0=null}}B0();try{while(!0){while(n.length>0){let L$=await n[0];if(L$===H)return;if($0.aborted)throw new L;if(L$!==K)yield L$;n.shift(),M0()}await new L0((L$)=>{Y0=L$})}}finally{if(N0=!0,W0)W0(),W0=null}}.call(this)}function P(e=void 0){if(e!=null)q(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)R(e.signal,"options.signal");return async function*(){let J0=0;for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L({cause:e.signal.reason});yield[J0++,A0]}}.call(this)}async function S(e,J0=void 0){for await(let Z0 of g.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(...Z0)=>{return!await e(...Z0)},J0)}async function V(e,J0){for await(let Z0 of g.call(this,e,J0))return Z0;return}async function T(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){return await e(A0,$0),K}for await(let A0 of O.call(this,Z0,J0));}function g(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){if(await e(A0,$0))return A0;return K}return O.call(this,Z0,J0)}class v extends z{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function h(e,J0,Z0){var A0;if(typeof e!=="function")throw new X("reducer",["Function","AsyncFunction"],e);if(Z0!=null)q(Z0,"options");if((Z0===null||Z0===void 0?void 0:Z0.signal)!=null)R(Z0.signal,"options.signal");let $0=arguments.length>1;if(Z0!==null&&Z0!==void 0&&(A0=Z0.signal)!==null&&A0!==void 0&&A0.aborted){let W0=new L(void 0,{cause:Z0.signal.reason});throw this.once("error",()=>{}),await B(this.destroy(W0)),W0}let c=new Y,n=c.signal;if(Z0!==null&&Z0!==void 0&&Z0.signal){let W0={once:!0,[C]:this,[E]:!0};Z0.signal.addEventListener("abort",()=>c.abort(),W0)}let H0=!1;try{for await(let W0 of this){var Y0;if(H0=!0,Z0!==null&&Z0!==void 0&&(Y0=Z0.signal)!==null&&Y0!==void 0&&Y0.aborted)throw new L;if(!$0)J0=W0,$0=!0;else J0=await e(J0,W0,{signal:n})}if(!H0&&!$0)throw new v}finally{c.abort()}return J0}async function r(e){if(e!=null)q(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)R(e.signal,"options.signal");let J0=[];for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L(void 0,{cause:e.signal.reason});u(J0,A0)}return J0}function U0(e,J0){let Z0=O.call(this,e,J0);return async function*(){for await(let A0 of Z0)yield*A0}.call(this)}function z0(e){if(e=a(e),O0(e))return 0;if(e<0)throw new Z("number",">= 0",e);return e}function Q0(e,J0=void 0){if(J0!=null)q(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)R(J0.signal,"options.signal");return e=z0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.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)q(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)R(J0.signal,"options.signal");return e=z0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.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:x(P,"readable.asIndexedPairs will be removed in a future version."),drop:Q0,filter:g,flatMap:U0,map:O,take:s,compose:W},J.exports.promiseReturningOperators={every:A,forEach:T,reduce:h,toArray:r,some:S,find:V}}),Rq=XU((I,J)=>{var{ArrayPrototypePop:Y,Promise:D}=fU(),{isIterable:X,isNodeStream:z,isWebStream:Z}=VI(),{pipelineImpl:L}=JF(),{finished:R}=IX();Bq();function j(...q){return new D((C,E)=>{let B,N,y=q[q.length-1];if(y&&typeof y==="object"&&!z(y)&&!X(y)&&!Z(y)){let w=Y(q);B=w.signal,N=w.end}L(q,(w,b)=>{if(w)E(w);else C(b)},{signal:B,end:N})})}J.exports={finished:R,pipeline:j}}),Bq=XU((I,J)=>{var{Buffer:Y}=(oU(),S$(nU)),{ObjectDefineProperty:D,ObjectKeys:X,ReflectApply:z}=fU(),{promisify:{custom:Z}}=r6(),{streamReturningOperators:L,promiseReturningOperators:R}=sg(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:j}}=g6(),q=Sq(),{setDefaultHighWaterMark:C,getDefaultHighWaterMark:E}=zz(),{pipeline:B}=JF(),{destroyer:N}=SQ(),y=IX(),w=Rq(),b=VI(),x=J.exports=IF().Stream;x.isDestroyed=b.isDestroyed,x.isDisturbed=b.isDisturbed,x.isErrored=b.isErrored,x.isReadable=b.isReadable,x.isWritable=b.isWritable,x.Readable=Dz();for(let p of X(L)){let d=function(...O0){if(new.target)throw j();return x.Readable.from(z(a,this,O0))},a=L[p];D(d,"name",{__proto__:null,value:a.name}),D(d,"length",{__proto__:null,value:a.length}),D(x.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}for(let p of X(R)){let d=function(...O0){if(new.target)throw j();return z(a,this,O0)},a=R[p];D(d,"name",{__proto__:null,value:a.name}),D(d,"length",{__proto__:null,value:a.length}),D(x.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}x.Writable=XF(),x.Duplex=ZI(),x.Transform=jq(),x.PassThrough=qq(),x.pipeline=B;var{addAbortSignal:u}=Vz();x.addAbortSignal=u,x.finished=y,x.destroy=N,x.compose=q,x.setDefaultHighWaterMark=C,x.getDefaultHighWaterMark=E,D(x,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return w}}),D(B,Z,{__proto__:null,enumerable:!0,get(){return w.pipeline}}),D(y,Z,{__proto__:null,enumerable:!0,get(){return w.finished}}),x.Stream=x,x._isUint8Array=function(p){return p instanceof Uint8Array},x._uint8ArrayToBuffer=function(p){return Y.from(p.buffer,p.byteOffset,p.byteLength)}}),eg=XU((I,J)=>{var Y=RQ();{let D=Bq(),X=Rq(),z=D.Readable.destroy;J.exports=D.Readable,J.exports._uint8ArrayToBuffer=D._uint8ArrayToBuffer,J.exports._isUint8Array=D._isUint8Array,J.exports.isDisturbed=D.isDisturbed,J.exports.isErrored=D.isErrored,J.exports.isReadable=D.isReadable,J.exports.Readable=D.Readable,J.exports.Writable=D.Writable,J.exports.Duplex=D.Duplex,J.exports.Transform=D.Transform,J.exports.PassThrough=D.PassThrough,J.exports.addAbortSignal=D.addAbortSignal,J.exports.finished=D.finished,J.exports.destroy=D.destroy,J.exports.destroy=z,J.exports.pipeline=D.pipeline,J.exports.compose=D.compose,Object.defineProperty(D,"promises",{configurable:!0,enumerable:!0,get(){return X}}),J.exports.Stream=D.Stream}J.exports.default=J.exports});vq.exports=eg()});var H4={};x6(H4,{webcrypto:()=>jy,rng:()=>uf,randomUUID:()=>BQ,randomFillSync:()=>My,randomFill:()=>Ly,randomBytes:()=>bf,publicEncrypt:()=>Ky,publicDecrypt:()=>Oy,pseudoRandomBytes:()=>yf,prng:()=>ff,privateEncrypt:()=>Fy,privateDecrypt:()=>Hy,pbkdf2Sync:()=>df,pbkdf2:()=>mf,listCiphers:()=>Iy,getRandomValues:()=>Py,getHashes:()=>lf,getDiffieHellman:()=>Qy,getCurves:()=>Ey,getCiphers:()=>Uy,default:()=>qy,createVerify:()=>zy,createSign:()=>Zy,createHmac:()=>pf,createHash:()=>O4,createECDH:()=>Wy,createDiffieHellmanGroup:()=>Jy,createDiffieHellman:()=>Yy,createDecipheriv:()=>$y,createDecipher:()=>sf,createCredentials:()=>Ay,createCipheriv:()=>tf,createCipher:()=>of,constants:()=>Cy,Verify:()=>Dy,Sign:()=>Vy,Hmac:()=>cf,Hash:()=>hf,DiffieHellmanGroup:()=>Xy,DiffieHellman:()=>Gy,Decipheriv:()=>ef,Decipher:()=>af,DEFAULT_ENCODING:()=>Ty,Cipheriv:()=>rf,Cipher:()=>nf});function Ey(){return _y}var $w,Uw,Nq,Iw,Xw,Jw=(I,J,Y)=>{Y=I!=null?$w(Uw(I)):{};let D=J||!I||!I.__esModule?Nq(Y,"default",{value:I,enumerable:!0}):Y;for(let X of Iw(I))if(!Xw.call(D,X))Nq(D,X,{get:()=>I[X],enumerable:!0});return D},u0=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),Wz,Kz,xq,Qw,YF,GF,w6,Yw,tG,gq,Gw,Zw,Vw,zw,wq,Dw,Ww,Kw,Fw,Ow,Hw,Lw,Mw,Aw,Cw,aG,Fz,fq,Tw,yq,uq,Pw,sG,ZF,VF,_w,bq,zF,Ew,hq,jw,cq,pq,qw,Sw,Rw,Bw,vw,Nw,kw,xw,gw,ww,fw,yw,uw,bw,DF,lq,hw,mq,cw,pw,lw,mw,zI,XX,dq,y4,nq,Oz,dw,F4,nw,ow,iw,oq,R1,eG,iq,rw,rq,tw,tq,aw,sw,ew,$f,WF,Uf,KF,If,Xf,Jf,Qf,Yf,Gf,Zf,Vf,zf,Df,Wf,Kf,Ff,Of,kq,Hf,rG,Lf,aq,sq,Mf,Af,eq,Cf,Tf,$2,Pf,_f,Ef,jf,qf,Sf,$S,Rf,US,IS,XS,FF,JS,Bf,QS,vf,Nf,QF,kf,xf,gf,wf,h$,ff,yf,uf,bf,hf,O4,cf,pf,lf,mf,df,nf,of,rf,tf,af,sf,ef,$y,Uy,Iy,Xy,Jy,Qy,Yy,Gy,Zy,Vy,zy,Dy,Wy,Ky,Fy,Oy,Hy,Ly,My,Ay,Cy,Ty="buffer",Py=(I)=>{return crypto.getRandomValues(I)},BQ=()=>{return crypto.randomUUID()},_y,jy,qy;var yU=LQ(()=>{$w=Object.create,{getPrototypeOf:Uw,defineProperty:Nq,getOwnPropertyNames:Iw}=Object,Xw=Object.prototype.hasOwnProperty,Wz=u0((I,J)=>{J.exports=(yU(),S$(H4)).randomBytes}),Kz=u0((I,J)=>{J.exports=(yU(),S$(H4)).createHash}),xq=u0((I,J)=>{J.exports=(yU(),S$(H4)).createHmac}),Qw=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"}}}),YF=u0((I,J)=>{var Y=isFinite,D=Math.pow(2,30)-1;J.exports=function(X,z){if(typeof X!=="number")throw TypeError("Iterations not a number");if(X<0||!Y(X))throw TypeError("Bad iterations");if(typeof z!=="number")throw TypeError("Key length not a number");if(z<0||z>D||z!==z)throw TypeError("Bad key length")}}),GF=u0((I,J)=>{var Y;if(globalThis.process&&globalThis.process.browser)Y="utf-8";else if(globalThis.process&&globalThis.process.version)D=parseInt(process.version.split(".")[0].slice(1),10),Y=D>=6?"utf-8":"binary";else Y="utf-8";var D;J.exports=Y}),w6=u0((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(oU(),S$(nU)),D=Y.Buffer;function X(Z,L){for(var R in Z)L[R]=Z[R]}if(D.from&&D.alloc&&D.allocUnsafe&&D.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=z;function z(Z,L,R){return D(Z,L,R)}z.prototype=Object.create(D.prototype),X(D,z),z.from=function(Z,L,R){if(typeof Z==="number")throw TypeError("Argument must not be a number");return D(Z,L,R)},z.alloc=function(Z,L,R){if(typeof Z!=="number")throw TypeError("Argument must be a number");var j=D(Z);if(L!==void 0)if(typeof R==="string")j.fill(L,R);else j.fill(L);else j.fill(0);return j},z.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return D(Z)},z.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),Yw=u0((I,J)=>{var Y={}.toString;J.exports=Array.isArray||function(D){return Y.call(D)=="[object Array]"}}),tG=u0((I,J)=>{J.exports=TypeError}),gq=u0((I,J)=>{J.exports=Object}),Gw=u0((I,J)=>{J.exports=Error}),Zw=u0((I,J)=>{J.exports=EvalError}),Vw=u0((I,J)=>{J.exports=RangeError}),zw=u0((I,J)=>{J.exports=ReferenceError}),wq=u0((I,J)=>{J.exports=SyntaxError}),Dw=u0((I,J)=>{J.exports=URIError}),Ww=u0((I,J)=>{J.exports=Math.abs}),Kw=u0((I,J)=>{J.exports=Math.floor}),Fw=u0((I,J)=>{J.exports=Math.max}),Ow=u0((I,J)=>{J.exports=Math.min}),Hw=u0((I,J)=>{J.exports=Math.pow}),Lw=u0((I,J)=>{J.exports=Math.round}),Mw=u0((I,J)=>{J.exports=Number.isNaN||function(Y){return Y!==Y}}),Aw=u0((I,J)=>{var Y=Mw();J.exports=function(D){if(Y(D)||D===0)return D;return D<0?-1:1}}),Cw=u0((I,J)=>{J.exports=Object.getOwnPropertyDescriptor}),aG=u0((I,J)=>{var Y=Cw();if(Y)try{Y([],"length")}catch(D){Y=null}J.exports=Y}),Fz=u0((I,J)=>{var Y=Object.defineProperty||!1;if(Y)try{Y({},"a",{value:1})}catch(D){Y=!1}J.exports=Y}),fq=u0((I,J)=>{J.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var Y={},D=Symbol("test"),X=Object(D);if(typeof D==="string")return!1;if(Object.prototype.toString.call(D)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(X)!=="[object Symbol]")return!1;var z=42;Y[D]=z;for(var Z in Y)return!1;if(typeof Object.keys==="function"&&Object.keys(Y).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(Y).length!==0)return!1;var L=Object.getOwnPropertySymbols(Y);if(L.length!==1||L[0]!==D)return!1;if(!Object.prototype.propertyIsEnumerable.call(Y,D))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var R=Object.getOwnPropertyDescriptor(Y,D);if(R.value!==z||R.enumerable!==!0)return!1}return!0}}),Tw=u0((I,J)=>{var Y=typeof Symbol<"u"&&Symbol,D=fq();J.exports=function(){if(typeof Y!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof Y("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return D()}}),yq=u0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),uq=u0((I,J)=>{var Y=gq();J.exports=Y.getPrototypeOf||null}),Pw=u0((I,J)=>{var Y="Function.prototype.bind called on incompatible ",D=Object.prototype.toString,X=Math.max,z="[object Function]",Z=function(j,q){var C=[];for(var E=0;E<j.length;E+=1)C[E]=j[E];for(var B=0;B<q.length;B+=1)C[B+j.length]=q[B];return C},L=function(j,q){var C=[];for(var E=q||0,B=0;E<j.length;E+=1,B+=1)C[B]=j[E];return C},R=function(j,q){var C="";for(var E=0;E<j.length;E+=1)if(C+=j[E],E+1<j.length)C+=q;return C};J.exports=function(j){var q=this;if(typeof q!=="function"||D.apply(q)!==z)throw TypeError(Y+q);var C=L(arguments,1),E,B=function(){if(this instanceof E){var x=q.apply(this,Z(C,arguments));if(Object(x)===x)return x;return this}return q.apply(j,Z(C,arguments))},N=X(0,q.length-C.length),y=[];for(var w=0;w<N;w++)y[w]="$"+w;if(E=Function("binder","return function ("+R(y,",")+"){ return binder.apply(this,arguments); }")(B),q.prototype){var b=function(){};b.prototype=q.prototype,E.prototype=new b,b.prototype=null}return E}}),sG=u0((I,J)=>{var Y=Pw();J.exports=Function.prototype.bind||Y}),ZF=u0((I,J)=>{J.exports=Function.prototype.call}),VF=u0((I,J)=>{J.exports=Function.prototype.apply}),_w=u0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),bq=u0((I,J)=>{var Y=sG(),D=VF(),X=ZF(),z=_w();J.exports=z||Y.call(X,D)}),zF=u0((I,J)=>{var Y=sG(),D=tG(),X=ZF(),z=bq();J.exports=function(Z){if(Z.length<1||typeof Z[0]!=="function")throw new D("a function is required");return z(Y,X,Z)}}),Ew=u0((I,J)=>{var Y=zF(),D=aG(),X;try{X=[].__proto__===Array.prototype}catch(R){if(!R||typeof R!=="object"||!("code"in R)||R.code!=="ERR_PROTO_ACCESS")throw R}var z=!!X&&D&&D(Object.prototype,"__proto__"),Z=Object,L=Z.getPrototypeOf;J.exports=z&&typeof z.get==="function"?Y([z.get]):typeof L==="function"?function(R){return L(R==null?R:Z(R))}:!1}),hq=u0((I,J)=>{var Y=yq(),D=uq(),X=Ew();J.exports=Y?function(z){return Y(z)}:D?function(z){if(!z||typeof z!=="object"&&typeof z!=="function")throw TypeError("getProto: not an object");return D(z)}:X?function(z){return X(z)}:null}),jw=u0((I,J)=>{var Y=Function.prototype.call,D=Object.prototype.hasOwnProperty,X=sG();J.exports=X.call(Y,D)}),cq=u0((I,J)=>{var Y,D=gq(),X=Gw(),z=Zw(),Z=Vw(),L=zw(),R=wq(),j=tG(),q=Dw(),C=Ww(),E=Kw(),B=Fw(),N=Ow(),y=Hw(),w=Lw(),b=Aw(),x=Function,u=function(J0){try{return x('"use strict"; return ('+J0+").constructor;")()}catch(Z0){}},p=aG(),d=Fz(),a=function(){throw new j},O0=p?function(){try{return arguments.callee,a}catch(J0){try{return p(arguments,"callee").get}catch(Z0){return a}}}():a,L0=Tw()(),j0=hq(),t=uq(),T0=yq(),G=VF(),K=ZF(),H={},W=typeof Uint8Array>"u"||!j0?Y:j0(Uint8Array),O={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Y:ArrayBuffer,"%ArrayIteratorPrototype%":L0&&j0?j0([][Symbol.iterator]()):Y,"%AsyncFromSyncIteratorPrototype%":Y,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?Y:Atomics,"%BigInt%":typeof BigInt>"u"?Y:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Y:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Y:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":X,"%eval%":eval,"%EvalError%":z,"%Float16Array%":typeof Float16Array>"u"?Y:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Y:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Y:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?Y:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Y:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L0&&j0?j0(j0([][Symbol.iterator]())):Y,"%JSON%":typeof JSON==="object"?JSON:Y,"%Map%":typeof Map>"u"?Y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L0||!j0?Y:j0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":D,"%Object.getOwnPropertyDescriptor%":p,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Y:Promise,"%Proxy%":typeof Proxy>"u"?Y:Proxy,"%RangeError%":Z,"%ReferenceError%":L,"%Reflect%":typeof Reflect>"u"?Y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L0||!j0?Y:j0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L0&&j0?j0(""[Symbol.iterator]()):Y,"%Symbol%":L0?Symbol:Y,"%SyntaxError%":R,"%ThrowTypeError%":O0,"%TypedArray%":W,"%TypeError%":j,"%Uint8Array%":typeof Uint8Array>"u"?Y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Y:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Y:Uint32Array,"%URIError%":q,"%WeakMap%":typeof WeakMap>"u"?Y:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Y:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Y:WeakSet,"%Function.prototype.call%":K,"%Function.prototype.apply%":G,"%Object.defineProperty%":d,"%Object.getPrototypeOf%":t,"%Math.abs%":C,"%Math.floor%":E,"%Math.max%":B,"%Math.min%":N,"%Math.pow%":y,"%Math.round%":w,"%Math.sign%":b,"%Reflect.getPrototypeOf%":T0};if(j0)try{null.error}catch(J0){P=j0(j0(J0)),O["%Error.prototype%"]=P}var P,S=function J0(Z0){var A0;if(Z0==="%AsyncFunction%")A0=u("async function () {}");else if(Z0==="%GeneratorFunction%")A0=u("function* () {}");else if(Z0==="%AsyncGeneratorFunction%")A0=u("async function* () {}");else if(Z0==="%AsyncGenerator%"){var $0=J0("%AsyncGeneratorFunction%");if($0)A0=$0.prototype}else if(Z0==="%AsyncIteratorPrototype%"){var c=J0("%AsyncGenerator%");if(c&&j0)A0=j0(c.prototype)}return O[Z0]=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"]},V=sG(),T=jw(),g=V.call(K,Array.prototype.concat),v=V.call(G,Array.prototype.splice),h=V.call(K,String.prototype.replace),r=V.call(K,String.prototype.slice),U0=V.call(K,RegExp.prototype.exec),z0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Q0=/\\(\\)?/g,s=function(J0){var Z0=r(J0,0,1),A0=r(J0,-1);if(Z0==="%"&&A0!=="%")throw new R("invalid intrinsic syntax, expected closing `%`");else if(A0==="%"&&Z0!=="%")throw new R("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,Z0){var A0=J0,$0;if(T(A,A0))$0=A[A0],A0="%"+$0[0]+"%";if(T(O,A0)){var c=O[A0];if(c===H)c=S(A0);if(typeof c>"u"&&!Z0)throw new j("intrinsic "+J0+" exists, but is not available. Please file an issue!");return{alias:$0,name:A0,value:c}}throw new R("intrinsic "+J0+" does not exist!")};J.exports=function(J0,Z0){if(typeof J0!=="string"||J0.length===0)throw new j("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Z0!=="boolean")throw new j('"allowMissing" argument must be a boolean');if(U0(/^%?[^%]*%?$/,J0)===null)throw new R("`%` 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+"%",Z0),n=c.name,H0=c.value,Y0=!1,W0=c.alias;if(W0)$0=W0[0],v(A0,g([0,1],W0));for(var N0=1,I0=!0;N0<A0.length;N0+=1){var D0=A0[N0],U$=r(D0,0,1),M0=r(D0,-1);if((U$==='"'||U$==="'"||U$==="`"||(M0==='"'||M0==="'"||M0==="`"))&&U$!==M0)throw new R("property names with quotes must have matching quotes");if(D0==="constructor"||!I0)Y0=!0;if($0+="."+D0,n="%"+$0+"%",T(O,n))H0=O[n];else if(H0!=null){if(!(D0 in H0)){if(!Z0)throw new j("base intrinsic for "+J0+" exists, but the property is not available.");return}if(p&&N0+1>=A0.length){var B0=p(H0,D0);if(I0=!!B0,I0&&"get"in B0&&!("originalValue"in B0.get))H0=B0.get;else H0=H0[D0]}else I0=T(H0,D0),H0=H0[D0];if(I0&&!Y0)O[n]=H0}}return H0}}),pq=u0((I,J)=>{var Y=cq(),D=zF(),X=D([Y("%String.prototype.indexOf%")]);J.exports=function(z,Z){var L=Y(z,!!Z);if(typeof L==="function"&&X(z,".prototype.")>-1)return D([L]);return L}}),qw=u0((I,J)=>{var Y=Function.prototype.toString,D=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,X,z;if(typeof D==="function"&&typeof Object.defineProperty==="function")try{X=Object.defineProperty({},"length",{get:function(){throw z}}),z={},D(function(){throw 42},null,X)}catch(p){if(p!==z)D=null}else D=null;var Z=/^\s*class\b/,L=function(p){try{var d=Y.call(p);return Z.test(d)}catch(a){return!1}},R=function(p){try{if(L(p))return!1;return Y.call(p),!0}catch(d){return!1}},j=Object.prototype.toString,q="[object Object]",C="[object Function]",E="[object GeneratorFunction]",B="[object HTMLAllCollection]",N="[object HTML document.all class]",y="[object HTMLCollection]",w=typeof Symbol==="function"&&!!Symbol.toStringTag,b=!(0 in[,]),x=function(){return!1};if(typeof document==="object"){if(u=document.all,j.call(u)===j.call(document.all))x=function(p){if((b||!p)&&(typeof p>"u"||typeof p==="object"))try{var d=j.call(p);return(d===B||d===N||d===y||d===q)&&p("")==null}catch(a){}return!1}}var u;J.exports=D?function(p){if(x(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;try{D(p,null,X)}catch(d){if(d!==z)return!1}return!L(p)&&R(p)}:function(p){if(x(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;if(w)return R(p);if(L(p))return!1;var d=j.call(p);if(d!==C&&d!==E&&!/^\[object HTML/.test(d))return!1;return R(p)}}),Sw=u0((I,J)=>{var Y=qw(),D=Object.prototype.toString,X=Object.prototype.hasOwnProperty,z=function(j,q,C){for(var E=0,B=j.length;E<B;E++)if(X.call(j,E))if(C==null)q(j[E],E,j);else q.call(C,j[E],E,j)},Z=function(j,q,C){for(var E=0,B=j.length;E<B;E++)if(C==null)q(j.charAt(E),E,j);else q.call(C,j.charAt(E),E,j)},L=function(j,q,C){for(var E in j)if(X.call(j,E))if(C==null)q(j[E],E,j);else q.call(C,j[E],E,j)};function R(j){return D.call(j)==="[object Array]"}J.exports=function(j,q,C){if(!Y(q))throw TypeError("iterator must be a function");var E;if(arguments.length>=3)E=C;if(R(j))z(j,q,E);else if(typeof j==="string")Z(j,q,E);else L(j,q,E)}}),Rw=u0((I,J)=>{J.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),Bw=u0((I,J)=>{var Y=Rw(),D=typeof globalThis>"u"?globalThis:globalThis;J.exports=function(){var X=[];for(var z=0;z<Y.length;z++)if(typeof D[Y[z]]==="function")X[X.length]=Y[z];return X}}),vw=u0((I,J)=>{var Y=Fz(),D=wq(),X=tG(),z=aG();J.exports=function(Z,L,R){if(!Z||typeof Z!=="object"&&typeof Z!=="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 j=arguments.length>3?arguments[3]:null,q=arguments.length>4?arguments[4]:null,C=arguments.length>5?arguments[5]:null,E=arguments.length>6?arguments[6]:!1,B=!!z&&z(Z,L);if(Y)Y(Z,L,{configurable:C===null&&B?B.configurable:!C,enumerable:j===null&&B?B.enumerable:!j,value:R,writable:q===null&&B?B.writable:!q});else if(E||!j&&!q&&!C)Z[L]=R;else throw new D("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),Nw=u0((I,J)=>{var Y=Fz(),D=function(){return!!Y};D.hasArrayLengthDefineBug=function(){if(!Y)return null;try{return Y([],"length",{value:1}).length!==1}catch(X){return!0}},J.exports=D}),kw=u0((I,J)=>{var Y=cq(),D=vw(),X=Nw()(),z=aG(),Z=tG(),L=Y("%Math.floor%");J.exports=function(R,j){if(typeof R!=="function")throw new Z("`fn` is not a function");if(typeof j!=="number"||j<0||j>4294967295||L(j)!==j)throw new Z("`length` must be a positive 32-bit integer");var q=arguments.length>2&&!!arguments[2],C=!0,E=!0;if("length"in R&&z){var B=z(R,"length");if(B&&!B.configurable)C=!1;if(B&&!B.writable)E=!1}if(C||E||!q)if(X)D(R,"length",j,!0,!0);else D(R,"length",j);return R}}),xw=u0((I,J)=>{var Y=sG(),D=VF(),X=bq();J.exports=function(){return X(Y,D,arguments)}}),gw=u0((I,J)=>{var Y=kw(),D=Fz(),X=zF(),z=xw();if(J.exports=function(Z){var L=X(arguments),R=Z.length-(arguments.length-1);return Y(L,1+(R>0?R:0),!0)},D)D(J.exports,"apply",{value:z});else J.exports.apply=z}),ww=u0((I,J)=>{var Y=fq();J.exports=function(){return Y()&&!!Symbol.toStringTag}}),fw=u0((I,J)=>{var Y=Sw(),D=Bw(),X=gw(),z=pq(),Z=aG(),L=hq(),R=z("Object.prototype.toString"),j=ww()(),q=typeof globalThis>"u"?globalThis:globalThis,C=D(),E=z("String.prototype.slice"),B=z("Array.prototype.indexOf",!0)||function(b,x){for(var u=0;u<b.length;u+=1)if(b[u]===x)return u;return-1},N={__proto__:null};if(j&&Z&&L)Y(C,function(b){var x=new q[b];if(Symbol.toStringTag in x&&L){var u=L(x),p=Z(u,Symbol.toStringTag);if(!p&&u){var d=L(u);p=Z(d,Symbol.toStringTag)}N["$"+b]=X(p.get)}});else Y(C,function(b){var x=new q[b],u=x.slice||x.set;if(u)N["$"+b]=X(u)});var y=function(b){var x=!1;return Y(N,function(u,p){if(!x)try{if("$"+u(b)===p)x=E(p,1)}catch(d){}}),x},w=function(b){var x=!1;return Y(N,function(u,p){if(!x)try{u(b),x=E(p,1)}catch(d){}}),x};J.exports=function(b){if(!b||typeof b!=="object")return!1;if(!j){var x=E(R(b),8,-1);if(B(C,x)>-1)return x;if(x!=="Object")return!1;return w(b)}if(!Z)return null;return y(b)}}),yw=u0((I,J)=>{var Y=fw();J.exports=function(D){return!!Y(D)}}),uw=u0((I,J)=>{var Y=tG(),D=pq(),X=D("TypedArray.prototype.buffer",!0),z=yw();J.exports=X||function(Z){if(!z(Z))throw new Y("Not a Typed Array");return Z.buffer}}),bw=u0((I,J)=>{var Y=w6().Buffer,D=Yw(),X=uw(),z=ArrayBuffer.isView||function(j){try{return X(j),!0}catch(q){return!1}},Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",R=L&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);J.exports=function(j,q){if(Y.isBuffer(j)){if(j.constructor&&!("isBuffer"in j))return Y.from(j);return j}if(typeof j==="string")return Y.from(j,q);if(L&&z(j)){if(j.byteLength===0)return Y.alloc(0);if(R){var C=Y.from(j.buffer,j.byteOffset,j.byteLength);if(C.byteLength===j.byteLength)return C}var E=j instanceof Uint8Array?j:new Uint8Array(j.buffer,j.byteOffset,j.byteLength),B=Y.from(E);if(B.length===j.byteLength)return B}if(Z&&j instanceof Uint8Array)return Y.from(j);var N=D(j);if(N)for(var y=0;y<j.length;y+=1){var w=j[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||Y.isBuffer(j)&&j.constructor&&typeof j.constructor.isBuffer==="function"&&j.constructor.isBuffer(j))return Y.from(j);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),DF=u0((I,J)=>{var Y=w6().Buffer,D=bw(),X=typeof Uint8Array<"u",z=X&&typeof ArrayBuffer<"u",Z=z&&ArrayBuffer.isView;J.exports=function(L,R,j){if(typeof L==="string"||Y.isBuffer(L)||X&&L instanceof Uint8Array||Z&&Z(L))return D(L,R);throw TypeError(j+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),lq=u0((I,J)=>{var Y={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,rmd160:20,ripemd160:20},D={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"},X=xq(),z=w6().Buffer,Z=YF(),L=GF(),R=DF();function j(q,C,E,B,N){Z(E,B),q=R(q,L,"Password"),C=R(C,L,"Salt");var y=(N||"sha1").toLowerCase(),w=D[y]||y,b=Y[w];if(typeof b!=="number"||!b)throw TypeError("Digest algorithm not supported: "+N);var x=z.allocUnsafe(B),u=z.allocUnsafe(C.length+4);C.copy(u,0,0,C.length);var p=0,d=b,a=Math.ceil(B/d);for(var O0=1;O0<=a;O0++){u.writeUInt32BE(O0,C.length);var L0=X(w,q).update(u).digest(),j0=L0;for(var t=1;t<E;t++){j0=X(w,q).update(j0).digest();for(var T0=0;T0<d;T0++)L0[T0]^=j0[T0]}L0.copy(x,p),p+=d}return x}J.exports=j}),hw=u0((I,J)=>{var Y=w6().Buffer,D=YF(),X=GF(),z=lq(),Z=DF(),L,R=globalThis.crypto&&globalThis.crypto.subtle,j={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=[],C;function E(){if(C)return C;if(globalThis.process&&globalThis.process.nextTick)C=globalThis.process.nextTick;else if(globalThis.queueMicrotask)C=globalThis.queueMicrotask;else if(globalThis.setImmediate)C=globalThis.setImmediate;else C=globalThis.setTimeout;return C}function B(w,b,x,u,p){return R.importKey("raw",w,{name:"PBKDF2"},!1,["deriveBits"]).then(function(d){return R.deriveBits({name:"PBKDF2",salt:b,iterations:x,hash:{name:p}},d,u<<3)}).then(function(d){return Y.from(d)})}function N(w){if(globalThis.process&&!globalThis.process.browser)return Promise.resolve(!1);if(!R||!R.importKey||!R.deriveBits)return Promise.resolve(!1);if(q[w]!==void 0)return q[w];L=L||Y.alloc(8);var b=B(L,L,10,128,w).then(function(){return!0},function(){return!1});return q[w]=b,b}function y(w,b){w.then(function(x){E()(function(){b(null,x)})},function(x){E()(function(){b(x)})})}J.exports=function(w,b,x,u,p,d){if(typeof p==="function")d=p,p=void 0;if(D(x,u),w=Z(w,X,"Password"),b=Z(b,X,"Salt"),typeof d!=="function")throw Error("No callback provided to pbkdf2");p=p||"sha1";var a=j[p.toLowerCase()];if(!a||typeof globalThis.Promise!=="function"){E()(function(){var O0;try{O0=z(w,b,x,u,p)}catch(L0){d(L0);return}d(null,O0)});return}y(N(a).then(function(O0){if(O0)return B(w,b,x,u,a);return z(w,b,x,u,p)}),d)}}),mq=u0((I)=>{var J=(yU(),S$(H4)),Y=YF(),D=GF(),X=DF();function z(L,R,j,q,C,E){if(Y(j,q),L=X(L,D,"Password"),R=X(R,D,"Salt"),typeof C==="function")E=C,C="sha1";if(typeof E!=="function")throw Error("No callback provided to pbkdf2");return J.pbkdf2(L,R,j,q,C,E)}function Z(L,R,j,q,C){return Y(j,q),L=X(L,D,"Password"),R=X(R,D,"Salt"),C=C||"sha1",J.pbkdf2Sync(L,R,j,q,C)}if(!J.pbkdf2Sync||J.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)I.pbkdf2Sync=lq(),I.pbkdf2=hw();else I.pbkdf2Sync=Z,I.pbkdf2=z}),cw=u0((I)=>{var J=(yU(),S$(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}),pw=u0((I)=>{var J=(yU(),S$(H4));I.DiffieHellmanGroup=J.DiffieHellmanGroup,I.createDiffieHellmanGroup=J.createDiffieHellmanGroup,I.getDiffieHellman=J.getDiffieHellman,I.createDiffieHellman=J.createDiffieHellman,I.DiffieHellman=J.DiffieHellman}),lw=u0((I)=>{var J=(yU(),S$(H4));I.createSign=J.createSign,I.Sign=J.Sign,I.createVerify=J.createVerify,I.Verify=J.Verify}),mw=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"}}}),zI=u0((I,J)=>{(function(Y,D){function X(G,K){if(!G)throw Error(K||"Assertion failed")}function z(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else D.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),S$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;X(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(K===16)this._parseHex(G,W,H);else if(this._parseBase(G,K,W),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O,P,S=0;if(H==="be"){for(W=G.length-1,O=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}else if(H==="le"){for(W=0,O=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}return this.strip()};function R(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function j(G,K,H){var W=R(G,H);if(H-1>=K)W|=R(G,H-1)<<4;return W}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O=0,P=0,S;if(H==="be")for(W=G.length-1;W>=K;W-=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8;else{var A=G.length-K;for(W=A%2===0?K+1:K;W<G.length;W+=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8}this.strip()};function q(G,K,H,W){var O=0,P=Math.min(G.length,H);for(var S=K;S<P;S++){var A=G.charCodeAt(S)-48;if(O*=W,A>=49)O+=A-49+10;else if(A>=17)O+=A-17+10;else O+=A}return O}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var W=0,O=1;O<=67108863;O*=K)W++;W--,O=O/K|0;var P=G.length-H,S=P%W,A=Math.min(P,P-S)+H,V=0;for(var T=H;T<A;T+=W)if(V=q(G,T,T+W,K),this.imuln(O),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V);if(S!==0){var g=1;V=q(G,T,G.length,K);for(T=0;T<S;T++)g*=K;if(this.imuln(g),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","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"],E=[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],B=[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(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var W=0,O=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|O)&16777215).toString(16);if(O=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(O!==0||P!==this.length-1)H=C[6-A.length]+A+H;else H=A+H}if(O!==0)H=O.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var V=E[G],T=B[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var v=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())H=C[V-v.length]+v+H;else H=v+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=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?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return X(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var W=this.byteLength(),O=H||Math.max(1,W);X(W<=O,"byte array longer than desired length"),X(O>0,"Requested array length <= 0"),this.strip();var P=K==="le",S=new G(O),A,V,T=this.clone();if(!P){for(V=0;V<O-W;V++)S[V]=0;for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[O-V-1]=A}else{for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[V]=A;for(;V<O;V++)S[V]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function N(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var W=H/26|0,O=H%26;K[H]=(G.words[W]&1<<O)>>>O}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var W=0;W<H.length;W++)this.words[W]=K.words[W]^H.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(H>0)this.words[W]=~this.words[W]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){X(typeof G==="number"&&G>=0);var H=G/26|0,W=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<W;else this.words[H]=this.words[H]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,W;if(this.length>G.length)H=this,W=G;else H=G,W=this;var O=0;for(var P=0;P<W.length;P++)K=(H.words[P]|0)+(W.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;for(;O!==0&&P<H.length;P++)K=(H.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;if(this.length=H.length,O!==0)this.words[this.length]=O,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,O;if(H>0)W=this,O=G;else W=G,O=this;var P=0;for(var S=0;S<O.length;S++)K=(W.words[S]|0)-(O.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;for(;P!==0&&S<W.length;S++)K=(W.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var W=G.length+K.length|0;H.length=W,W=W-1|0;var O=G.words[0]|0,P=K.words[0]|0,S=O*P,A=S&67108863,V=S/67108864|0;H.words[0]=A;for(var T=1;T<W;T++){var g=V>>>26,v=V&67108863,h=Math.min(T,K.length-1);for(var r=Math.max(0,T-G.length+1);r<=h;r++){var U0=T-r|0;O=G.words[U0]|0,P=K.words[r]|0,S=O*P+v,g+=S/67108864|0,v=S&67108863}H.words[T]=v|0,V=g|0}if(V!==0)H.words[T]=V|0;else H.length--;return H.strip()}var w=function(G,K,H){var W=G.words,O=K.words,P=H.words,S=0,A,V,T,g=W[0]|0,v=g&8191,h=g>>>13,r=W[1]|0,U0=r&8191,z0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,c=$0&8191,n=$0>>>13,H0=W[5]|0,Y0=H0&8191,W0=H0>>>13,N0=W[6]|0,I0=N0&8191,D0=N0>>>13,U$=W[7]|0,M0=U$&8191,B0=U$>>>13,L$=W[8]|0,p0=L$&8191,c0=L$>>>13,i$=W[9]|0,b0=i$&8191,h0=i$>>>13,QU=O[0]|0,r0=QU&8191,o0=QU>>>13,PU=O[1]|0,l=PU&8191,X0=PU>>>13,s0=O[2]|0,S0=s0&8191,v0=s0>>>13,O$=O[3]|0,x0=O$&8191,f0=O$>>>13,W$=O[4]|0,n0=W$&8191,i0=W$>>>13,DU=O[5]|0,a0=DU&8191,i=DU>>>13,G0=O[6]|0,E0=G0&8191,q0=G0>>>13,V$=O[7]|0,d0=V$&8191,t0=V$>>>13,HU=O[8]|0,I$=HU&8191,$$=HU>>>13,e$=O[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(v,r0),V=Math.imul(v,o0),V=V+Math.imul(h,r0)|0,T=Math.imul(h,o0);var _U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),V=Math.imul(U0,o0),V=V+Math.imul(z0,r0)|0,T=Math.imul(z0,o0),A=A+Math.imul(v,l)|0,V=V+Math.imul(v,X0)|0,V=V+Math.imul(h,l)|0,T=T+Math.imul(h,X0)|0;var R$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(R$>>>26)|0,R$&=67108863,A=Math.imul(s,r0),V=Math.imul(s,o0),V=V+Math.imul(e,r0)|0,T=Math.imul(e,o0),A=A+Math.imul(U0,l)|0,V=V+Math.imul(U0,X0)|0,V=V+Math.imul(z0,l)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(v,S0)|0,V=V+Math.imul(v,v0)|0,V=V+Math.imul(h,S0)|0,T=T+Math.imul(h,v0)|0;var q$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(q$>>>26)|0,q$&=67108863,A=Math.imul(Z0,r0),V=Math.imul(Z0,o0),V=V+Math.imul(A0,r0)|0,T=Math.imul(A0,o0),A=A+Math.imul(s,l)|0,V=V+Math.imul(s,X0)|0,V=V+Math.imul(e,l)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,V=V+Math.imul(U0,v0)|0,V=V+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(v,x0)|0,V=V+Math.imul(v,f0)|0,V=V+Math.imul(h,x0)|0,T=T+Math.imul(h,f0)|0;var $U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),V=Math.imul(c,o0),V=V+Math.imul(n,r0)|0,T=Math.imul(n,o0),A=A+Math.imul(Z0,l)|0,V=V+Math.imul(Z0,X0)|0,V=V+Math.imul(A0,l)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,V=V+Math.imul(s,v0)|0,V=V+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,V=V+Math.imul(U0,f0)|0,V=V+Math.imul(z0,x0)|0,T=T+Math.imul(z0,f0)|0,A=A+Math.imul(v,n0)|0,V=V+Math.imul(v,i0)|0,V=V+Math.imul(h,n0)|0,T=T+Math.imul(h,i0)|0;var d$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),V=Math.imul(Y0,o0),V=V+Math.imul(W0,r0)|0,T=Math.imul(W0,o0),A=A+Math.imul(c,l)|0,V=V+Math.imul(c,X0)|0,V=V+Math.imul(n,l)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,V=V+Math.imul(Z0,v0)|0,V=V+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,V=V+Math.imul(s,f0)|0,V=V+Math.imul(e,x0)|0,T=T+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,V=V+Math.imul(U0,i0)|0,V=V+Math.imul(z0,n0)|0,T=T+Math.imul(z0,i0)|0,A=A+Math.imul(v,a0)|0,V=V+Math.imul(v,i)|0,V=V+Math.imul(h,a0)|0,T=T+Math.imul(h,i)|0;var uU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),V=Math.imul(I0,o0),V=V+Math.imul(D0,r0)|0,T=Math.imul(D0,o0),A=A+Math.imul(Y0,l)|0,V=V+Math.imul(Y0,X0)|0,V=V+Math.imul(W0,l)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(c,S0)|0,V=V+Math.imul(c,v0)|0,V=V+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,V=V+Math.imul(Z0,f0)|0,V=V+Math.imul(A0,x0)|0,T=T+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,V=V+Math.imul(s,i0)|0,V=V+Math.imul(e,n0)|0,T=T+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,V=V+Math.imul(U0,i)|0,V=V+Math.imul(z0,a0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(v,E0)|0,V=V+Math.imul(v,q0)|0,V=V+Math.imul(h,E0)|0,T=T+Math.imul(h,q0)|0;var bU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),V=Math.imul(M0,o0),V=V+Math.imul(B0,r0)|0,T=Math.imul(B0,o0),A=A+Math.imul(I0,l)|0,V=V+Math.imul(I0,X0)|0,V=V+Math.imul(D0,l)|0,T=T+Math.imul(D0,X0)|0,A=A+Math.imul(Y0,S0)|0,V=V+Math.imul(Y0,v0)|0,V=V+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(c,x0)|0,V=V+Math.imul(c,f0)|0,V=V+Math.imul(n,x0)|0,T=T+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,V=V+Math.imul(Z0,i0)|0,V=V+Math.imul(A0,n0)|0,T=T+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,V=V+Math.imul(s,i)|0,V=V+Math.imul(e,a0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,V=V+Math.imul(U0,q0)|0,V=V+Math.imul(z0,E0)|0,T=T+Math.imul(z0,q0)|0,A=A+Math.imul(v,d0)|0,V=V+Math.imul(v,t0)|0,V=V+Math.imul(h,d0)|0,T=T+Math.imul(h,t0)|0;var hU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),V=Math.imul(p0,o0),V=V+Math.imul(c0,r0)|0,T=Math.imul(c0,o0),A=A+Math.imul(M0,l)|0,V=V+Math.imul(M0,X0)|0,V=V+Math.imul(B0,l)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,V=V+Math.imul(I0,v0)|0,V=V+Math.imul(D0,S0)|0,T=T+Math.imul(D0,v0)|0,A=A+Math.imul(Y0,x0)|0,V=V+Math.imul(Y0,f0)|0,V=V+Math.imul(W0,x0)|0,T=T+Math.imul(W0,f0)|0,A=A+Math.imul(c,n0)|0,V=V+Math.imul(c,i0)|0,V=V+Math.imul(n,n0)|0,T=T+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,V=V+Math.imul(Z0,i)|0,V=V+Math.imul(A0,a0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,V=V+Math.imul(s,q0)|0,V=V+Math.imul(e,E0)|0,T=T+Math.imul(e,q0)|0,A=A+Math.imul(U0,d0)|0,V=V+Math.imul(U0,t0)|0,V=V+Math.imul(z0,d0)|0,T=T+Math.imul(z0,t0)|0,A=A+Math.imul(v,I$)|0,V=V+Math.imul(v,$$)|0,V=V+Math.imul(h,I$)|0,T=T+Math.imul(h,$$)|0;var cU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),V=Math.imul(b0,o0),V=V+Math.imul(h0,r0)|0,T=Math.imul(h0,o0),A=A+Math.imul(p0,l)|0,V=V+Math.imul(p0,X0)|0,V=V+Math.imul(c0,l)|0,T=T+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,V=V+Math.imul(M0,v0)|0,V=V+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,V=V+Math.imul(I0,f0)|0,V=V+Math.imul(D0,x0)|0,T=T+Math.imul(D0,f0)|0,A=A+Math.imul(Y0,n0)|0,V=V+Math.imul(Y0,i0)|0,V=V+Math.imul(W0,n0)|0,T=T+Math.imul(W0,i0)|0,A=A+Math.imul(c,a0)|0,V=V+Math.imul(c,i)|0,V=V+Math.imul(n,a0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,V=V+Math.imul(Z0,q0)|0,V=V+Math.imul(A0,E0)|0,T=T+Math.imul(A0,q0)|0,A=A+Math.imul(s,d0)|0,V=V+Math.imul(s,t0)|0,V=V+Math.imul(e,d0)|0,T=T+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,V=V+Math.imul(U0,$$)|0,V=V+Math.imul(z0,I$)|0,T=T+Math.imul(z0,$$)|0,A=A+Math.imul(v,X$)|0,V=V+Math.imul(v,e0)|0,V=V+Math.imul(h,X$)|0,T=T+Math.imul(h,e0)|0;var pU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,l),V=Math.imul(b0,X0),V=V+Math.imul(h0,l)|0,T=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,V=V+Math.imul(p0,v0)|0,V=V+Math.imul(c0,S0)|0,T=T+Math.imul(c0,v0)|0,A=A+Math.imul(M0,x0)|0,V=V+Math.imul(M0,f0)|0,V=V+Math.imul(B0,x0)|0,T=T+Math.imul(B0,f0)|0,A=A+Math.imul(I0,n0)|0,V=V+Math.imul(I0,i0)|0,V=V+Math.imul(D0,n0)|0,T=T+Math.imul(D0,i0)|0,A=A+Math.imul(Y0,a0)|0,V=V+Math.imul(Y0,i)|0,V=V+Math.imul(W0,a0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(c,E0)|0,V=V+Math.imul(c,q0)|0,V=V+Math.imul(n,E0)|0,T=T+Math.imul(n,q0)|0,A=A+Math.imul(Z0,d0)|0,V=V+Math.imul(Z0,t0)|0,V=V+Math.imul(A0,d0)|0,T=T+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,V=V+Math.imul(s,$$)|0,V=V+Math.imul(e,I$)|0,T=T+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,V=V+Math.imul(U0,e0)|0,V=V+Math.imul(z0,X$)|0,T=T+Math.imul(z0,e0)|0;var r$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),V=Math.imul(b0,v0),V=V+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(p0,x0)|0,V=V+Math.imul(p0,f0)|0,V=V+Math.imul(c0,x0)|0,T=T+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,V=V+Math.imul(M0,i0)|0,V=V+Math.imul(B0,n0)|0,T=T+Math.imul(B0,i0)|0,A=A+Math.imul(I0,a0)|0,V=V+Math.imul(I0,i)|0,V=V+Math.imul(D0,a0)|0,T=T+Math.imul(D0,i)|0,A=A+Math.imul(Y0,E0)|0,V=V+Math.imul(Y0,q0)|0,V=V+Math.imul(W0,E0)|0,T=T+Math.imul(W0,q0)|0,A=A+Math.imul(c,d0)|0,V=V+Math.imul(c,t0)|0,V=V+Math.imul(n,d0)|0,T=T+Math.imul(n,t0)|0,A=A+Math.imul(Z0,I$)|0,V=V+Math.imul(Z0,$$)|0,V=V+Math.imul(A0,I$)|0,T=T+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,V=V+Math.imul(s,e0)|0,V=V+Math.imul(e,X$)|0,T=T+Math.imul(e,e0)|0;var LU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,x0),V=Math.imul(b0,f0),V=V+Math.imul(h0,x0)|0,T=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,V=V+Math.imul(p0,i0)|0,V=V+Math.imul(c0,n0)|0,T=T+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,V=V+Math.imul(M0,i)|0,V=V+Math.imul(B0,a0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,E0)|0,V=V+Math.imul(I0,q0)|0,V=V+Math.imul(D0,E0)|0,T=T+Math.imul(D0,q0)|0,A=A+Math.imul(Y0,d0)|0,V=V+Math.imul(Y0,t0)|0,V=V+Math.imul(W0,d0)|0,T=T+Math.imul(W0,t0)|0,A=A+Math.imul(c,I$)|0,V=V+Math.imul(c,$$)|0,V=V+Math.imul(n,I$)|0,T=T+Math.imul(n,$$)|0,A=A+Math.imul(Z0,X$)|0,V=V+Math.imul(Z0,e0)|0,V=V+Math.imul(A0,X$)|0,T=T+Math.imul(A0,e0)|0;var WU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(WU>>>26)|0,WU&=67108863,A=Math.imul(b0,n0),V=Math.imul(b0,i0),V=V+Math.imul(h0,n0)|0,T=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,V=V+Math.imul(p0,i)|0,V=V+Math.imul(c0,a0)|0,T=T+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,V=V+Math.imul(M0,q0)|0,V=V+Math.imul(B0,E0)|0,T=T+Math.imul(B0,q0)|0,A=A+Math.imul(I0,d0)|0,V=V+Math.imul(I0,t0)|0,V=V+Math.imul(D0,d0)|0,T=T+Math.imul(D0,t0)|0,A=A+Math.imul(Y0,I$)|0,V=V+Math.imul(Y0,$$)|0,V=V+Math.imul(W0,I$)|0,T=T+Math.imul(W0,$$)|0,A=A+Math.imul(c,X$)|0,V=V+Math.imul(c,e0)|0,V=V+Math.imul(n,X$)|0,T=T+Math.imul(n,e0)|0;var lU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(b0,a0),V=Math.imul(b0,i),V=V+Math.imul(h0,a0)|0,T=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,V=V+Math.imul(p0,q0)|0,V=V+Math.imul(c0,E0)|0,T=T+Math.imul(c0,q0)|0,A=A+Math.imul(M0,d0)|0,V=V+Math.imul(M0,t0)|0,V=V+Math.imul(B0,d0)|0,T=T+Math.imul(B0,t0)|0,A=A+Math.imul(I0,I$)|0,V=V+Math.imul(I0,$$)|0,V=V+Math.imul(D0,I$)|0,T=T+Math.imul(D0,$$)|0,A=A+Math.imul(Y0,X$)|0,V=V+Math.imul(Y0,e0)|0,V=V+Math.imul(W0,X$)|0,T=T+Math.imul(W0,e0)|0;var EU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,E0),V=Math.imul(b0,q0),V=V+Math.imul(h0,E0)|0,T=Math.imul(h0,q0),A=A+Math.imul(p0,d0)|0,V=V+Math.imul(p0,t0)|0,V=V+Math.imul(c0,d0)|0,T=T+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,V=V+Math.imul(M0,$$)|0,V=V+Math.imul(B0,I$)|0,T=T+Math.imul(B0,$$)|0,A=A+Math.imul(I0,X$)|0,V=V+Math.imul(I0,e0)|0,V=V+Math.imul(D0,X$)|0,T=T+Math.imul(D0,e0)|0;var vU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(b0,d0),V=Math.imul(b0,t0),V=V+Math.imul(h0,d0)|0,T=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,V=V+Math.imul(p0,$$)|0,V=V+Math.imul(c0,I$)|0,T=T+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,V=V+Math.imul(M0,e0)|0,V=V+Math.imul(B0,X$)|0,T=T+Math.imul(B0,e0)|0;var xU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(b0,I$),V=Math.imul(b0,$$),V=V+Math.imul(h0,I$)|0,T=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,V=V+Math.imul(p0,e0)|0,V=V+Math.imul(c0,X$)|0,T=T+Math.imul(c0,e0)|0;var jU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(jU>>>26)|0,jU&=67108863,A=Math.imul(b0,X$),V=Math.imul(b0,e0),V=V+Math.imul(h0,X$)|0,T=Math.imul(h0,e0);var MU=(S+A|0)+((V&8191)<<13)|0;if(S=(T+(V>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=R$,P[2]=q$,P[3]=$U,P[4]=d$,P[5]=uU,P[6]=bU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=WU,P[13]=lU,P[14]=EU,P[15]=vU,P[16]=xU,P[17]=jU,P[18]=MU,S!==0)P[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var W=0,O=0;for(var P=0;P<H.length-1;P++){var S=O;O=0;var A=W&67108863,V=Math.min(P,K.length-1);for(var T=Math.max(0,P-G.length+1);T<=V;T++){var g=P-T,v=G.words[g]|0,h=K.words[T]|0,r=v*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,O+=S>>>26,S&=67108863}H.words[P]=A,W=S,S=O}if(W!==0)H.words[P]=W;else H.length--;return H.strip()}function x(G,K,H){var W=new u;return W.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,W=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(W<63)H=y(this,G,K);else if(W<1024)H=b(this,G,K);else H=x(this,G,K);return H};function u(G,K){this.x=G,this.y=K}u.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)K[W]=this.revBin(W,H,G);return K},u.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var W=0;for(var O=0;O<K;O++)W|=(G&1)<<K-O-1,G>>=1;return W},u.prototype.permute=function(G,K,H,W,O,P){for(var S=0;S<P;S++)W[S]=K[G[S]],O[S]=H[G[S]]},u.prototype.transform=function(G,K,H,W,O,P){this.permute(P,G,K,H,W,O);for(var S=1;S<O;S<<=1){var A=S<<1,V=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<O;g+=A){var v=V,h=T;for(var r=0;r<S;r++){var U0=H[g+r],z0=W[g+r],Q0=H[g+r+S],s=W[g+r+S],e=v*Q0-h*s;if(s=v*s+h*Q0,Q0=e,H[g+r]=U0+Q0,W[g+r]=z0+s,H[g+r+S]=U0-Q0,W[g+r+S]=z0-s,r!==A)e=V*v-T*h,h=V*h+T*v,v=e}}}},u.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,W=H&1,O=0;for(H=H/2|0;H;H=H>>>1)O++;return 1<<O+1+W},u.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var W=0;W<H/2;W++){var O=G[W];G[W]=G[H-W-1],G[H-W-1]=O,O=K[W],K[W]=-K[H-W-1],K[H-W-1]=-O}},u.prototype.normalize13b=function(G,K){var H=0;for(var W=0;W<K/2;W++){var O=Math.round(G[2*W+1]/K)*8192+Math.round(G[2*W]/K)+H;if(G[W]=O&67108863,O<67108864)H=0;else H=O/67108864|0}return G},u.prototype.convert13b=function(G,K,H,W){var O=0;for(var P=0;P<K;P++)O=O+(G[P]|0),H[2*P]=O&8191,O=O>>>13,H[2*P+1]=O&8191,O=O>>>13;for(P=2*K;P<W;++P)H[P]=0;X(O===0),X((O&-8192)===0)},u.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},u.prototype.mulp=function(G,K,H){var W=2*this.guessLen13b(G.length,K.length),O=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),V=Array(W),T=Array(W),g=Array(W),v=Array(W),h=H.words;h.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(K.words,K.length,T,W),this.transform(S,P,A,V,W,O),this.transform(T,P,g,v,W,O);for(var r=0;r<W;r++){var U0=A[r]*g[r]-V[r]*v[r];V[r]=A[r]*v[r]+V[r]*g[r],A[r]=U0}return this.conjugate(A,V,W),this.transform(A,V,h,P,W,O),this.conjugate(h,P,W),this.normalize13b(h,W),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var K=0;for(var H=0;H<this.length;H++){var W=(this.words[H]|0)*G,O=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=O>>>26,this.words[H]=O&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=N(G);if(K.length===0)return new Z(1);var H=this;for(var W=0;W<K.length;W++,H=H.sqr())if(K[W]!==0)break;if(++W<K.length)for(var O=H.sqr();W<K.length;W++,O=O.sqr()){if(K[W]===0)continue;H=H.mul(O)}return H},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=67108863>>>26-K<<26-K,O;if(K!==0){var P=0;for(O=0;O<this.length;O++){var S=this.words[O]&W,A=(this.words[O]|0)-S<<K;this.words[O]=A|P,P=S>>>26-K}if(P)this.words[O]=P,this.length++}if(H!==0){for(O=this.length-1;O>=0;O--)this.words[O+H]=this.words[O];for(O=0;O<H;O++)this.words[O]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){X(typeof G==="number"&&G>=0);var W;if(K)W=(K-K%26)/26;else W=0;var O=G%26,P=Math.min((G-O)/26,this.length),S=67108863^67108863>>>O<<O,A=H;if(W-=P,W=Math.max(0,W),A){for(var V=0;V<P;V++)A.words[V]=this.words[V];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(V=0;V<this.length;V++)this.words[V]=this.words[V+P]}else this.words[0]=0,this.length=1;var T=0;for(V=this.length-1;V>=0&&(T!==0||V>=W);V--){var g=this.words[V]|0;this.words[V]=T<<26-O|g>>>O,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return X(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return!1;var O=this.words[H];return!!(O&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var W=G.length+H,O;this._expand(W);var P,S=0;for(O=0;O<G.length;O++){P=(this.words[O+H]|0)+S;var A=(G.words[O]|0)*K;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[O+H]=P&67108863}for(;O<this.length-H;O++)P=(this.words[O+H]|0)+S,S=P>>26,this.words[O+H]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(O=0;O<this.length;O++)P=-(this.words[O]|0)+S,S=P>>26,this.words[O]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,W=this.clone(),O=G,P=O.words[O.length-1]|0,S=this._countBits(P);if(H=26-S,H!==0)O=O.ushln(H),W.iushln(H),P=O.words[O.length-1]|0;var A=W.length-O.length,V;if(K!=="mod"){V=new Z(null),V.length=A+1,V.words=Array(V.length);for(var T=0;T<V.length;T++)V.words[T]=0}var g=W.clone()._ishlnsubmul(O,1,A);if(g.negative===0){if(W=g,V)V.words[A]=1}for(var v=A-1;v>=0;v--){var h=(W.words[O.length+v]|0)*67108864+(W.words[O.length+v-1]|0);h=Math.min(h/P|0,67108863),W._ishlnsubmul(O,h,v);while(W.negative!==0)if(h--,W.negative=0,W._ishlnsubmul(O,1,v),!W.isZero())W.negative^=1;if(V)V.words[v]=h}if(V)V.strip();if(W.strip(),K!=="div"&&H!==0)W.iushrn(H);return{div:V||null,mod:W}},Z.prototype.divmod=function(G,K,H){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,O,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")W=P.div.neg();if(K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.iadd(G)}return{div:W,mod:O}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.isub(G)}return{div:P.div,mod:O}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,W=G.ushrn(1),O=G.andln(1),P=H.cmp(W);if(P<0||O===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var K=67108864%G,H=0;for(var W=this.length-1;W>=0;W--)H=(K*H+(this.words[W]|0))%G;return H},Z.prototype.idivn=function(G){X(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var W=(this.words[H]|0)+K*67108864;this.words[H]=W/G|0,K=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=new Z(0),S=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var V=H.clone(),T=K.clone();while(!K.isZero()){for(var g=0,v=1;(K.words[0]&v)===0&&g<26;++g,v<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(W.isOdd()||O.isOdd())W.iadd(V),O.isub(T);W.iushrn(1),O.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(P.isOdd()||S.isOdd())P.iadd(V),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(P),O.isub(S);else H.isub(K),P.isub(W),S.isub(O)}return{a:P,b:S,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(K.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){K.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var V=0,T=1;(H.words[0]&T)===0&&V<26;++V,T<<=1);if(V>0){H.iushrn(V);while(V-- >0){if(O.isOdd())O.iadd(P);O.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(O);else H.isub(K),O.isub(W)}var g;if(K.cmpn(1)===0)g=W;else g=O;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var W=0;K.isEven()&&H.isEven();W++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var O=K.cmp(H);if(O<0){var P=K;K=H,H=P}else if(O===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=W,this;var O=W;for(var P=H;O!==0&&P<this.length;P++){var S=this.words[P]|0;S+=O,O=S>>>26,S&=67108863,this.words[P]=S}if(O!==0)this.words[P]=O,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;H=W===G?0:W<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var W=this.words[H]|0,O=G.words[H]|0;if(W===O)continue;if(W<O)K=-1;else if(W>O)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var W=H<this.n?-1:K.ucmp(this.p);if(W===0)K.words[0]=0,K.length=1;else if(W>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(G,K){var H=4194303,W=Math.min(G.length,9);for(var O=0;O<W;O++)K.words[O]=G.words[O];if(K.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(O=10;O<G.length;O++){var S=G.words[O]|0;G.words[O-10]=(S&H)<<4|P>>>22,P=S}if(P>>>=22,G.words[O-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var W=G.words[H]|0;K+=W*977,G.words[H]=K&67108863,K=W*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function O0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(O0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function j0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(j0,d),j0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var W=(G.words[H]|0)*19+K,O=W&67108863;W>>>=26,G.words[H]=O,K=W}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new O0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new j0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){X((G.negative|K.negative)===0,"red works only with positives"),X(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(X(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var W=this.m.subn(1),O=0;while(!W.isZero()&&W.andln(1)===0)O++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),V=this.m.bitLength();V=new Z(2*V*V).toRed(this);while(this.pow(V,A).cmp(S)!==0)V.redIAdd(S);var T=this.pow(V,W),g=this.pow(G,W.addn(1).iushrn(1)),v=this.pow(G,W),h=O;while(v.cmp(P)!==0){var r=v;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(T,new Z(1).iushln(h-U0-1));g=g.redMul(z0),T=z0.redSqr(),v=v.redMul(T),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,W=Array(1<<H);W[0]=new Z(1).toRed(this),W[1]=G;for(var O=2;O<W.length;O++)W[O]=this.mul(W[O-1],G);var P=W[0],S=0,A=0,V=K.bitLength()%26;if(V===0)V=26;for(O=K.length-1;O>=0;O--){var T=K.words[O];for(var g=V-1;g>=0;g--){var v=T>>g&1;if(P!==W[0])P=this.sqr(P);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==H&&(O!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}V=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(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(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},T0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,I)}),XX=u0((I,J)=>{J.exports=Y;function Y(D,X){if(!D)throw Error(X||"Assertion failed")}Y.equal=function(D,X,z){if(D!=X)throw Error(z||"Assertion failed: "+D+" != "+X)}}),dq=u0((I)=>{var J=I;function Y(z,Z){if(Array.isArray(z))return z.slice();if(!z)return[];var L=[];if(typeof z!=="string"){for(var R=0;R<z.length;R++)L[R]=z[R]|0;return L}if(Z==="hex"){if(z=z.replace(/[^a-z0-9]+/ig,""),z.length%2!==0)z="0"+z;for(var R=0;R<z.length;R+=2)L.push(parseInt(z[R]+z[R+1],16))}else for(var R=0;R<z.length;R++){var j=z.charCodeAt(R),q=j>>8,C=j&255;if(q)L.push(q,C);else L.push(C)}return L}J.toArray=Y;function D(z){if(z.length===1)return"0"+z;else return z}J.zero2=D;function X(z){var Z="";for(var L=0;L<z.length;L++)Z+=D(z[L].toString(16));return Z}J.toHex=X,J.encode=function(z,Z){if(Z==="hex")return X(z);else return z}}),y4=u0((I)=>{var J=I,Y=zI(),D=XX(),X=dq();J.assert=D,J.toArray=X.toArray,J.zero2=X.zero2,J.toHex=X.toHex,J.encode=X.encode;function z(q,C,E){var B=Array(Math.max(q.bitLength(),E)+1),N;for(N=0;N<B.length;N+=1)B[N]=0;var y=1<<C+1,w=q.clone();for(N=0;N<B.length;N++){var b,x=w.andln(y-1);if(w.isOdd()){if(x>(y>>1)-1)b=(y>>1)-x;else b=x;w.isubn(b)}else b=0;B[N]=b,w.iushrn(1)}return B}J.getNAF=z;function Z(q,C){var E=[[],[]];q=q.clone(),C=C.clone();var B=0,N=0,y;while(q.cmpn(-B)>0||C.cmpn(-N)>0){var w=q.andln(3)+B&3,b=C.andln(3)+N&3;if(w===3)w=-1;if(b===3)b=-1;var x;if((w&1)===0)x=0;else if(y=q.andln(7)+B&7,(y===3||y===5)&&b===2)x=-w;else x=w;E[0].push(x);var u;if((b&1)===0)u=0;else if(y=C.andln(7)+N&7,(y===3||y===5)&&w===2)u=-b;else u=b;if(E[1].push(u),2*B===x+1)B=1-B;if(2*N===u+1)N=1-N;q.iushrn(1),C.iushrn(1)}return E}J.getJSF=Z;function L(q,C,E){var B="_"+C;q.prototype[C]=function(){return this[B]!==void 0?this[B]:this[B]=E.call(this)}}J.cachedProperty=L;function R(q){return typeof q==="string"?J.toArray(q,"hex"):q}J.parseBytes=R;function j(q){return new Y(q,"hex","le")}J.intFromLE=j}),nq=u0((I,J)=>{var Y;J.exports=function(z){if(!Y)Y=new D(null);return Y.generate(z)};function D(z){this.rand=z}if(J.exports.Rand=D,D.prototype.generate=function(z){return this._rand(z)},D.prototype._rand=function(z){if(this.rand.getBytes)return this.rand.getBytes(z);var Z=new Uint8Array(z);for(var L=0;L<Z.length;L++)Z[L]=this.rand.getByte();return Z},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)D.prototype._rand=function(z){var Z=new Uint8Array(z);return self.crypto.getRandomValues(Z),Z};else if(self.msCrypto&&self.msCrypto.getRandomValues)D.prototype._rand=function(z){var Z=new Uint8Array(z);return self.msCrypto.getRandomValues(Z),Z};else if(typeof window==="object")D.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(X=(yU(),S$(H4)),typeof X.randomBytes!=="function")throw Error("Not supported");D.prototype._rand=function(z){return X.randomBytes(z)}}catch(z){}var X}),Oz=u0((I,J)=>{var Y=zI(),D=y4(),X=D.getNAF,z=D.getJSF,Z=D.assert;function L(j,q){this.type=j,this.p=new Y(q.p,16),this.red=q.prime?Y.red(q.prime):Y.mont(this.p),this.zero=new Y(0).toRed(this.red),this.one=new Y(1).toRed(this.red),this.two=new Y(2).toRed(this.red),this.n=q.n&&new Y(q.n,16),this.g=q.g&&this.pointFromJSON(q.g,q.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var C=this.n&&this.p.div(this.n);if(!C||C.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(j,q){Z(j.precomputed);var C=j._getDoubles(),E=X(q,1,this._bitLength),B=(1<<C.step+1)-(C.step%2===0?2:1);B/=3;var N=[],y,w;for(y=0;y<E.length;y+=C.step){w=0;for(var b=y+C.step-1;b>=y;b--)w=(w<<1)+E[b];N.push(w)}var x=this.jpoint(null,null,null),u=this.jpoint(null,null,null);for(var p=B;p>0;p--){for(y=0;y<N.length;y++)if(w=N[y],w===p)u=u.mixedAdd(C.points[y]);else if(w===-p)u=u.mixedAdd(C.points[y].neg());x=x.add(u)}return x.toP()},L.prototype._wnafMul=function(j,q){var C=4,E=j._getNAFPoints(C);C=E.wnd;var B=E.points,N=X(q,C,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 x=N[w];if(Z(x!==0),j.type==="affine")if(x>0)y=y.mixedAdd(B[x-1>>1]);else y=y.mixedAdd(B[-x-1>>1].neg());else if(x>0)y=y.add(B[x-1>>1]);else y=y.add(B[-x-1>>1].neg())}return j.type==="affine"?y.toP():y},L.prototype._wnafMulAdd=function(j,q,C,E,B){var N=this._wnafT1,y=this._wnafT2,w=this._wnafT3,b=0,x,u,p;for(x=0;x<E;x++){p=q[x];var d=p._getNAFPoints(j);N[x]=d.wnd,y[x]=d.points}for(x=E-1;x>=1;x-=2){var a=x-1,O0=x;if(N[a]!==1||N[O0]!==1){w[a]=X(C[a],N[a],this._bitLength),w[O0]=X(C[O0],N[O0],this._bitLength),b=Math.max(w[a].length,b),b=Math.max(w[O0].length,b);continue}var L0=[q[a],null,null,q[O0]];if(q[a].y.cmp(q[O0].y)===0)L0[1]=q[a].add(q[O0]),L0[2]=q[a].toJ().mixedAdd(q[O0].neg());else if(q[a].y.cmp(q[O0].y.redNeg())===0)L0[1]=q[a].toJ().mixedAdd(q[O0]),L0[2]=q[a].add(q[O0].neg());else L0[1]=q[a].toJ().mixedAdd(q[O0]),L0[2]=q[a].toJ().mixedAdd(q[O0].neg());var j0=[-3,-1,-5,-7,0,7,5,1,3],t=z(C[a],C[O0]);b=Math.max(t[0].length,b),w[a]=Array(b),w[O0]=Array(b);for(u=0;u<b;u++){var T0=t[0][u]|0,G=t[1][u]|0;w[a][u]=j0[(T0+1)*3+(G+1)],w[O0][u]=0,y[a]=L0}}var K=this.jpoint(null,null,null),H=this._wnafT4;for(x=b;x>=0;x--){var W=0;while(x>=0){var O=!0;for(u=0;u<E;u++)if(H[u]=w[u][x]|0,H[u]!==0)O=!1;if(!O)break;W++,x--}if(x>=0)W++;if(K=K.dblp(W),x<0)break;for(u=0;u<E;u++){var P=H[u];if(P===0)continue;else if(P>0)p=y[u][P-1>>1];else if(P<0)p=y[u][-P-1>>1].neg();if(p.type==="affine")K=K.mixedAdd(p);else K=K.add(p)}}for(x=0;x<E;x++)y[x]=null;if(B)return K;else return K.toP()};function R(j,q){this.curve=j,this.type=q,this.precomputed=null}L.BasePoint=R,R.prototype.eq=function(){throw Error("Not implemented")},R.prototype.validate=function(){return this.curve.validate(this)},L.prototype.decodePoint=function(j,q){j=D.toArray(j,q);var C=this.p.byteLength();if((j[0]===4||j[0]===6||j[0]===7)&&j.length-1===2*C){if(j[0]===6)Z(j[j.length-1]%2===0);else if(j[0]===7)Z(j[j.length-1]%2===1);var E=this.point(j.slice(1,1+C),j.slice(1+C,1+2*C));return E}else if((j[0]===2||j[0]===3)&&j.length-1===C)return this.pointFromX(j.slice(1,1+C),j[0]===3);throw Error("Unknown point format")},R.prototype.encodeCompressed=function(j){return this.encode(j,!0)},R.prototype._encode=function(j){var q=this.curve.p.byteLength(),C=this.getX().toArray("be",q);if(j)return[this.getY().isEven()?2:3].concat(C);return[4].concat(C,this.getY().toArray("be",q))},R.prototype.encode=function(j,q){return D.encode(this._encode(q),j)},R.prototype.precompute=function(j){if(this.precomputed)return this;var q={doubles:null,naf:null,beta:null};return q.naf=this._getNAFPoints(8),q.doubles=this._getDoubles(4,j),q.beta=this._getBeta(),this.precomputed=q,this},R.prototype._hasDoubles=function(j){if(!this.precomputed)return!1;var q=this.precomputed.doubles;if(!q)return!1;return q.points.length>=Math.ceil((j.bitLength()+1)/q.step)},R.prototype._getDoubles=function(j,q){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var C=[this],E=this;for(var B=0;B<q;B+=j){for(var N=0;N<j;N++)E=E.dbl();C.push(E)}return{step:j,points:C}},R.prototype._getNAFPoints=function(j){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var q=[this],C=(1<<j)-1,E=C===1?null:this.dbl();for(var B=1;B<C;B++)q[B]=q[B-1].add(E);return{wnd:j,points:q}},R.prototype._getBeta=function(){return null},R.prototype.dblp=function(j){var q=this;for(var C=0;C<j;C++)q=q.dbl();return q}}),dw=u0((I,J)=>{if(typeof Object.create==="function")J.exports=function(Y,D){if(D)Y.super_=D,Y.prototype=Object.create(D.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,D){if(D){Y.super_=D;var X=function(){};X.prototype=D.prototype,Y.prototype=new X,Y.prototype.constructor=Y}}}),F4=u0((I,J)=>{try{if(Y=(_Q(),S$(PQ)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(D){J.exports=dw()}var Y}),nw=u0((I,J)=>{var Y=y4(),D=zI(),X=F4(),z=Oz(),Z=Y.assert;function L(q){z.call(this,"short",q),this.a=new D(q.a,16).toRed(this.red),this.b=new D(q.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(q),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}X(L,z),J.exports=L,L.prototype._getEndomorphism=function(q){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var C,E;if(q.beta)C=new D(q.beta,16).toRed(this.red);else{var B=this._getEndoRoots(this.p);C=B[0].cmp(B[1])<0?B[0]:B[1],C=C.toRed(this.red)}if(q.lambda)E=new D(q.lambda,16);else{var N=this._getEndoRoots(this.n);if(this.g.mul(N[0]).x.cmp(this.g.x.redMul(C))===0)E=N[0];else E=N[1],Z(this.g.mul(E).x.cmp(this.g.x.redMul(C))===0)}var y;if(q.basis)y=q.basis.map(function(w){return{a:new D(w.a,16),b:new D(w.b,16)}});else y=this._getEndoBasis(E);return{beta:C,lambda:E,basis:y}},L.prototype._getEndoRoots=function(q){var C=q===this.p?this.red:D.mont(q),E=new D(2).toRed(C).redInvm(),B=E.redNeg(),N=new D(3).toRed(C).redNeg().redSqrt().redMul(E),y=B.redAdd(N).fromRed(),w=B.redSub(N).fromRed();return[y,w]},L.prototype._getEndoBasis=function(q){var C=this.n.ushrn(Math.floor(this.n.bitLength()/2)),E=q,B=this.n.clone(),N=new D(1),y=new D(0),w=new D(0),b=new D(1),x,u,p,d,a,O0,L0,j0=0,t,T0;while(E.cmpn(0)!==0){var G=B.div(E);t=B.sub(G.mul(E)),T0=w.sub(G.mul(N));var K=b.sub(G.mul(y));if(!p&&t.cmp(C)<0)x=L0.neg(),u=N,p=t.neg(),d=T0;else if(p&&++j0===2)break;L0=t,B=E,E=t,w=N,N=T0,b=y,y=K}a=t.neg(),O0=T0;var H=p.sqr().add(d.sqr()),W=a.sqr().add(O0.sqr());if(W.cmp(H)>=0)a=x,O0=u;if(p.negative)p=p.neg(),d=d.neg();if(a.negative)a=a.neg(),O0=O0.neg();return[{a:p,b:d},{a,b:O0}]},L.prototype._endoSplit=function(q){var C=this.endo.basis,E=C[0],B=C[1],N=B.b.mul(q).divRound(this.n),y=E.b.neg().mul(q).divRound(this.n),w=N.mul(E.a),b=y.mul(B.a),x=N.mul(E.b),u=y.mul(B.b),p=q.sub(w).sub(b),d=x.add(u).neg();return{k1:p,k2:d}},L.prototype.pointFromX=function(q,C){if(q=new D(q,16),!q.red)q=q.toRed(this.red);var E=q.redSqr().redMul(q).redIAdd(q.redMul(this.a)).redIAdd(this.b),B=E.redSqrt();if(B.redSqr().redSub(E).cmp(this.zero)!==0)throw Error("invalid point");var N=B.fromRed().isOdd();if(C&&!N||!C&&N)B=B.redNeg();return this.point(q,B)},L.prototype.validate=function(q){if(q.inf)return!0;var{x:C,y:E}=q,B=this.a.redMul(C),N=C.redSqr().redMul(C).redIAdd(B).redIAdd(this.b);return E.redSqr().redISub(N).cmpn(0)===0},L.prototype._endoWnafMulAdd=function(q,C,E){var B=this._endoWnafT1,N=this._endoWnafT2;for(var y=0;y<q.length;y++){var w=this._endoSplit(C[y]),b=q[y],x=b._getBeta();if(w.k1.negative)w.k1.ineg(),b=b.neg(!0);if(w.k2.negative)w.k2.ineg(),x=x.neg(!0);B[y*2]=b,B[y*2+1]=x,N[y*2]=w.k1,N[y*2+1]=w.k2}var u=this._wnafMulAdd(1,B,N,y*2,E);for(var p=0;p<y*2;p++)B[p]=null,N[p]=null;return u};function R(q,C,E,B){if(z.BasePoint.call(this,q,"affine"),C===null&&E===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new D(C,16),this.y=new D(E,16),B)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(R,z.BasePoint),L.prototype.point=function(q,C,E){return new R(this,q,C,E)},L.prototype.pointFromJSON=function(q,C){return R.fromJSON(this,q,C)},R.prototype._getBeta=function(){if(!this.curve.endo)return;var q=this.precomputed;if(q&&q.beta)return q.beta;var C=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(q){var E=this.curve,B=function(N){return E.point(N.x.redMul(E.endo.beta),N.y)};q.beta=C,C.precomputed={beta:null,naf:q.naf&&{wnd:q.naf.wnd,points:q.naf.points.map(B)},doubles:q.doubles&&{step:q.doubles.step,points:q.doubles.points.map(B)}}}return C},R.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)}}]},R.fromJSON=function(q,C,E){if(typeof C==="string")C=JSON.parse(C);var B=q.point(C[0],C[1],E);if(!C[2])return B;function N(w){return q.point(w[0],w[1],E)}var y=C[2];return B.precomputed={beta:null,doubles:y.doubles&&{step:y.doubles.step,points:[B].concat(y.doubles.points.map(N))},naf:y.naf&&{wnd:y.naf.wnd,points:[B].concat(y.naf.points.map(N))}},B},R.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)+">"},R.prototype.isInfinity=function(){return this.inf},R.prototype.add=function(q){if(this.inf)return q;if(q.inf)return this;if(this.eq(q))return this.dbl();if(this.neg().eq(q))return this.curve.point(null,null);if(this.x.cmp(q.x)===0)return this.curve.point(null,null);var C=this.y.redSub(q.y);if(C.cmpn(0)!==0)C=C.redMul(this.x.redSub(q.x).redInvm());var E=C.redSqr().redISub(this.x).redISub(q.x),B=C.redMul(this.x.redSub(E)).redISub(this.y);return this.curve.point(E,B)},R.prototype.dbl=function(){if(this.inf)return this;var q=this.y.redAdd(this.y);if(q.cmpn(0)===0)return this.curve.point(null,null);var C=this.curve.a,E=this.x.redSqr(),B=q.redInvm(),N=E.redAdd(E).redIAdd(E).redIAdd(C).redMul(B),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)},R.prototype.getX=function(){return this.x.fromRed()},R.prototype.getY=function(){return this.y.fromRed()},R.prototype.mul=function(q){if(q=new D(q,16),this.isInfinity())return this;else if(this._hasDoubles(q))return this.curve._fixedNafMul(this,q);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[q]);else return this.curve._wnafMul(this,q)},R.prototype.mulAdd=function(q,C,E){var B=[this,C],N=[q,E];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,N);else return this.curve._wnafMulAdd(1,B,N,2)},R.prototype.jmulAdd=function(q,C,E){var B=[this,C],N=[q,E];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,N,!0);else return this.curve._wnafMulAdd(1,B,N,2,!0)},R.prototype.eq=function(q){return this===q||this.inf===q.inf&&(this.inf||this.x.cmp(q.x)===0&&this.y.cmp(q.y)===0)},R.prototype.neg=function(q){if(this.inf)return this;var C=this.curve.point(this.x,this.y.redNeg());if(q&&this.precomputed){var E=this.precomputed,B=function(N){return N.neg()};C.precomputed={naf:E.naf&&{wnd:E.naf.wnd,points:E.naf.points.map(B)},doubles:E.doubles&&{step:E.doubles.step,points:E.doubles.points.map(B)}}}return C},R.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var q=this.curve.jpoint(this.x,this.y,this.curve.one);return q};function j(q,C,E,B){if(z.BasePoint.call(this,q,"jacobian"),C===null&&E===null&&B===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new D(0);else this.x=new D(C,16),this.y=new D(E,16),this.z=new D(B,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(j,z.BasePoint),L.prototype.jpoint=function(q,C,E){return new j(this,q,C,E)},j.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var q=this.z.redInvm(),C=q.redSqr(),E=this.x.redMul(C),B=this.y.redMul(C).redMul(q);return this.curve.point(E,B)},j.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},j.prototype.add=function(q){if(this.isInfinity())return q;if(q.isInfinity())return this;var C=q.z.redSqr(),E=this.z.redSqr(),B=this.x.redMul(C),N=q.x.redMul(E),y=this.y.redMul(C.redMul(q.z)),w=q.y.redMul(E.redMul(this.z)),b=B.redSub(N),x=y.redSub(w);if(b.cmpn(0)===0)if(x.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var u=b.redSqr(),p=u.redMul(b),d=B.redMul(u),a=x.redSqr().redIAdd(p).redISub(d).redISub(d),O0=x.redMul(d.redISub(a)).redISub(y.redMul(p)),L0=this.z.redMul(q.z).redMul(b);return this.curve.jpoint(a,O0,L0)},j.prototype.mixedAdd=function(q){if(this.isInfinity())return q.toJ();if(q.isInfinity())return this;var C=this.z.redSqr(),E=this.x,B=q.x.redMul(C),N=this.y,y=q.y.redMul(C).redMul(this.z),w=E.redSub(B),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 x=w.redSqr(),u=x.redMul(w),p=E.redMul(x),d=b.redSqr().redIAdd(u).redISub(p).redISub(p),a=b.redMul(p.redISub(d)).redISub(N.redMul(u)),O0=this.z.redMul(w);return this.curve.jpoint(d,a,O0)},j.prototype.dblp=function(q){if(q===0)return this;if(this.isInfinity())return this;if(!q)return this.dbl();var C;if(this.curve.zeroA||this.curve.threeA){var E=this;for(C=0;C<q;C++)E=E.dbl();return E}var B=this.curve.a,N=this.curve.tinv,y=this.x,w=this.y,b=this.z,x=b.redSqr().redSqr(),u=w.redAdd(w);for(C=0;C<q;C++){var p=y.redSqr(),d=u.redSqr(),a=d.redSqr(),O0=p.redAdd(p).redIAdd(p).redIAdd(B.redMul(x)),L0=y.redMul(d),j0=O0.redSqr().redISub(L0.redAdd(L0)),t=L0.redISub(j0),T0=O0.redMul(t);T0=T0.redIAdd(T0).redISub(a);var G=u.redMul(b);if(C+1<q)x=x.redMul(a);y=j0,b=G,u=T0}return this.curve.jpoint(y,u.redMul(N),b)},j.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()},j.prototype._zeroDbl=function(){var q,C,E;if(this.zOne){var B=this.x.redSqr(),N=this.y.redSqr(),y=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(B).redISub(y);w=w.redIAdd(w);var b=B.redAdd(B).redIAdd(B),x=b.redSqr().redISub(w).redISub(w),u=y.redIAdd(y);u=u.redIAdd(u),u=u.redIAdd(u),q=x,C=b.redMul(w.redISub(x)).redISub(u),E=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),d=this.y.redSqr(),a=d.redSqr(),O0=this.x.redAdd(d).redSqr().redISub(p).redISub(a);O0=O0.redIAdd(O0);var L0=p.redAdd(p).redIAdd(p),j0=L0.redSqr(),t=a.redIAdd(a);t=t.redIAdd(t),t=t.redIAdd(t),q=j0.redISub(O0).redISub(O0),C=L0.redMul(O0.redISub(q)).redISub(t),E=this.y.redMul(this.z),E=E.redIAdd(E)}return this.curve.jpoint(q,C,E)},j.prototype._threeDbl=function(){var q,C,E;if(this.zOne){var B=this.x.redSqr(),N=this.y.redSqr(),y=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(B).redISub(y);w=w.redIAdd(w);var b=B.redAdd(B).redIAdd(B).redIAdd(this.curve.a),x=b.redSqr().redISub(w).redISub(w);q=x;var u=y.redIAdd(y);u=u.redIAdd(u),u=u.redIAdd(u),C=b.redMul(w.redISub(x)).redISub(u),E=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),d=this.y.redSqr(),a=this.x.redMul(d),O0=this.x.redSub(p).redMul(this.x.redAdd(p));O0=O0.redAdd(O0).redIAdd(O0);var L0=a.redIAdd(a);L0=L0.redIAdd(L0);var j0=L0.redAdd(L0);q=O0.redSqr().redISub(j0),E=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),C=O0.redMul(L0.redISub(q)).redISub(t)}return this.curve.jpoint(q,C,E)},j.prototype._dbl=function(){var q=this.curve.a,C=this.x,E=this.y,B=this.z,N=B.redSqr().redSqr(),y=C.redSqr(),w=E.redSqr(),b=y.redAdd(y).redIAdd(y).redIAdd(q.redMul(N)),x=C.redAdd(C);x=x.redIAdd(x);var u=x.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 O0=b.redMul(d).redISub(a),L0=E.redAdd(E).redMul(B);return this.curve.jpoint(p,O0,L0)},j.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var q=this.x.redSqr(),C=this.y.redSqr(),E=this.z.redSqr(),B=C.redSqr(),N=q.redAdd(q).redIAdd(q),y=N.redSqr(),w=this.x.redAdd(C).redSqr().redISub(q).redISub(B);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(y);var b=w.redSqr(),x=B.redIAdd(B);x=x.redIAdd(x),x=x.redIAdd(x),x=x.redIAdd(x);var u=N.redIAdd(w).redSqr().redISub(y).redISub(b).redISub(x),p=C.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(x.redISub(u)).redISub(w.redMul(b)));a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var O0=this.z.redAdd(w).redSqr().redISub(E).redISub(b);return this.curve.jpoint(d,a,O0)},j.prototype.mul=function(q,C){return q=new D(q,C),this.curve._wnafMul(this,q)},j.prototype.eq=function(q){if(q.type==="affine")return this.eq(q.toJ());if(this===q)return!0;var C=this.z.redSqr(),E=q.z.redSqr();if(this.x.redMul(E).redISub(q.x.redMul(C)).cmpn(0)!==0)return!1;var B=C.redMul(this.z),N=E.redMul(q.z);return this.y.redMul(N).redISub(q.y.redMul(B)).cmpn(0)===0},j.prototype.eqXToP=function(q){var C=this.z.redSqr(),E=q.toRed(this.curve.red).redMul(C);if(this.x.cmp(E)===0)return!0;var B=q.clone(),N=this.curve.redN.redMul(C);for(;;){if(B.iadd(this.curve.n),B.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(N),this.x.cmp(E)===0)return!0}},j.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)+">"},j.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),ow=u0((I,J)=>{var Y=zI(),D=F4(),X=Oz(),z=y4();function Z(R){X.call(this,"mont",R),this.a=new Y(R.a,16).toRed(this.red),this.b=new Y(R.b,16).toRed(this.red),this.i4=new Y(4).toRed(this.red).redInvm(),this.two=new Y(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}D(Z,X),J.exports=Z,Z.prototype.validate=function(R){var j=R.normalize().x,q=j.redSqr(),C=q.redMul(j).redAdd(q.redMul(this.a)).redAdd(j),E=C.redSqrt();return E.redSqr().cmp(C)===0};function L(R,j,q){if(X.BasePoint.call(this,R,"projective"),j===null&&q===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new Y(j,16),this.z=new Y(q,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}D(L,X.BasePoint),Z.prototype.decodePoint=function(R,j){return this.point(z.toArray(R,j),1)},Z.prototype.point=function(R,j){return new L(this,R,j)},Z.prototype.pointFromJSON=function(R){return L.fromJSON(this,R)},L.prototype.precompute=function(){},L.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},L.fromJSON=function(R,j){return new L(R,j[0],j[1]||R.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 R=this.x.redAdd(this.z),j=R.redSqr(),q=this.x.redSub(this.z),C=q.redSqr(),E=j.redSub(C),B=j.redMul(C),N=E.redMul(C.redAdd(this.curve.a24.redMul(E)));return this.curve.point(B,N)},L.prototype.add=function(){throw Error("Not supported on Montgomery curve")},L.prototype.diffAdd=function(R,j){var q=this.x.redAdd(this.z),C=this.x.redSub(this.z),E=R.x.redAdd(R.z),B=R.x.redSub(R.z),N=B.redMul(q),y=E.redMul(C),w=j.z.redMul(N.redAdd(y).redSqr()),b=j.x.redMul(N.redISub(y).redSqr());return this.curve.point(w,b)},L.prototype.mul=function(R){var j=R.clone(),q=this,C=this.curve.point(null,null),E=this;for(var B=[];j.cmpn(0)!==0;j.iushrn(1))B.push(j.andln(1));for(var N=B.length-1;N>=0;N--)if(B[N]===0)q=q.diffAdd(C,E),C=C.dbl();else C=q.diffAdd(C,E),q=q.dbl();return C},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(R){return this.getX().cmp(R.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()}}),iw=u0((I,J)=>{var Y=y4(),D=zI(),X=F4(),z=Oz(),Z=Y.assert;function L(j){this.twisted=(j.a|0)!==1,this.mOneA=this.twisted&&(j.a|0)===-1,this.extended=this.mOneA,z.call(this,"edwards",j),this.a=new D(j.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new D(j.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new D(j.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Z(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(j.c|0)===1}X(L,z),J.exports=L,L.prototype._mulA=function(j){if(this.mOneA)return j.redNeg();else return this.a.redMul(j)},L.prototype._mulC=function(j){if(this.oneC)return j;else return this.c.redMul(j)},L.prototype.jpoint=function(j,q,C,E){return this.point(j,q,C,E)},L.prototype.pointFromX=function(j,q){if(j=new D(j,16),!j.red)j=j.toRed(this.red);var C=j.redSqr(),E=this.c2.redSub(this.a.redMul(C)),B=this.one.redSub(this.c2.redMul(this.d).redMul(C)),N=E.redMul(B.redInvm()),y=N.redSqrt();if(y.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");var w=y.fromRed().isOdd();if(q&&!w||!q&&w)y=y.redNeg();return this.point(j,y)},L.prototype.pointFromY=function(j,q){if(j=new D(j,16),!j.red)j=j.toRed(this.red);var C=j.redSqr(),E=C.redSub(this.c2),B=C.redMul(this.d).redMul(this.c2).redSub(this.a),N=E.redMul(B.redInvm());if(N.cmp(this.zero)===0)if(q)throw Error("invalid point");else return this.point(this.zero,j);var y=N.redSqrt();if(y.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");if(y.fromRed().isOdd()!==q)y=y.redNeg();return this.point(y,j)},L.prototype.validate=function(j){if(j.isInfinity())return!0;j.normalize();var q=j.x.redSqr(),C=j.y.redSqr(),E=q.redMul(this.a).redAdd(C),B=this.c2.redMul(this.one.redAdd(this.d.redMul(q).redMul(C)));return E.cmp(B)===0};function R(j,q,C,E,B){if(z.BasePoint.call(this,j,"projective"),q===null&&C===null&&E===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 D(q,16),this.y=new D(C,16),this.z=E?new D(E,16):this.curve.one,this.t=B&&new D(B,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(R,z.BasePoint),L.prototype.pointFromJSON=function(j){return R.fromJSON(this,j)},L.prototype.point=function(j,q,C,E){return new R(this,j,q,C,E)},R.fromJSON=function(j,q){return new R(j,q[0],q[1],q[2])},R.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)+">"},R.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},R.prototype._extDbl=function(){var j=this.x.redSqr(),q=this.y.redSqr(),C=this.z.redSqr();C=C.redIAdd(C);var E=this.curve._mulA(j),B=this.x.redAdd(this.y).redSqr().redISub(j).redISub(q),N=E.redAdd(q),y=N.redSub(C),w=E.redSub(q),b=B.redMul(y),x=N.redMul(w),u=B.redMul(w),p=y.redMul(N);return this.curve.point(b,x,p,u)},R.prototype._projDbl=function(){var j=this.x.redAdd(this.y).redSqr(),q=this.x.redSqr(),C=this.y.redSqr(),E,B,N,y,w,b;if(this.curve.twisted){y=this.curve._mulA(q);var x=y.redAdd(C);if(this.zOne)E=j.redSub(q).redSub(C).redMul(x.redSub(this.curve.two)),B=x.redMul(y.redSub(C)),N=x.redSqr().redSub(x).redSub(x);else w=this.z.redSqr(),b=x.redSub(w).redISub(w),E=j.redSub(q).redISub(C).redMul(b),B=x.redMul(y.redSub(C)),N=x.redMul(b)}else y=q.redAdd(C),w=this.curve._mulC(this.z).redSqr(),b=y.redSub(w).redSub(w),E=this.curve._mulC(j.redISub(y)).redMul(b),B=this.curve._mulC(y).redMul(q.redISub(C)),N=y.redMul(b);return this.curve.point(E,B,N)},R.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},R.prototype._extAdd=function(j){var q=this.y.redSub(this.x).redMul(j.y.redSub(j.x)),C=this.y.redAdd(this.x).redMul(j.y.redAdd(j.x)),E=this.t.redMul(this.curve.dd).redMul(j.t),B=this.z.redMul(j.z.redAdd(j.z)),N=C.redSub(q),y=B.redSub(E),w=B.redAdd(E),b=C.redAdd(q),x=N.redMul(y),u=w.redMul(b),p=N.redMul(b),d=y.redMul(w);return this.curve.point(x,u,d,p)},R.prototype._projAdd=function(j){var q=this.z.redMul(j.z),C=q.redSqr(),E=this.x.redMul(j.x),B=this.y.redMul(j.y),N=this.curve.d.redMul(E).redMul(B),y=C.redSub(N),w=C.redAdd(N),b=this.x.redAdd(this.y).redMul(j.x.redAdd(j.y)).redISub(E).redISub(B),x=q.redMul(y).redMul(b),u,p;if(this.curve.twisted)u=q.redMul(w).redMul(B.redSub(this.curve._mulA(E))),p=y.redMul(w);else u=q.redMul(w).redMul(B.redSub(E)),p=this.curve._mulC(y).redMul(w);return this.curve.point(x,u,p)},R.prototype.add=function(j){if(this.isInfinity())return j;if(j.isInfinity())return this;if(this.curve.extended)return this._extAdd(j);else return this._projAdd(j)},R.prototype.mul=function(j){if(this._hasDoubles(j))return this.curve._fixedNafMul(this,j);else return this.curve._wnafMul(this,j)},R.prototype.mulAdd=function(j,q,C){return this.curve._wnafMulAdd(1,[this,q],[j,C],2,!1)},R.prototype.jmulAdd=function(j,q,C){return this.curve._wnafMulAdd(1,[this,q],[j,C],2,!0)},R.prototype.normalize=function(){if(this.zOne)return this;var j=this.z.redInvm();if(this.x=this.x.redMul(j),this.y=this.y.redMul(j),this.t)this.t=this.t.redMul(j);return this.z=this.curve.one,this.zOne=!0,this},R.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},R.prototype.getX=function(){return this.normalize(),this.x.fromRed()},R.prototype.getY=function(){return this.normalize(),this.y.fromRed()},R.prototype.eq=function(j){return this===j||this.getX().cmp(j.getX())===0&&this.getY().cmp(j.getY())===0},R.prototype.eqXToP=function(j){var q=j.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(q)===0)return!0;var C=j.clone(),E=this.curve.redN.redMul(this.z);for(;;){if(C.iadd(this.curve.n),C.cmp(this.curve.p)>=0)return!1;if(q.redIAdd(E),this.x.cmp(q)===0)return!0}},R.prototype.toP=R.prototype.normalize,R.prototype.mixedAdd=R.prototype.add}),oq=u0((I)=>{var J=I;J.base=Oz(),J.short=nw(),J.mont=ow(),J.edwards=iw()}),R1=u0((I)=>{var J=XX(),Y=F4();I.inherits=Y;function D(K,H){if((K.charCodeAt(H)&64512)!==55296)return!1;if(H<0||H+1>=K.length)return!1;return(K.charCodeAt(H+1)&64512)===56320}function X(K,H){if(Array.isArray(K))return K.slice();if(!K)return[];var W=[];if(typeof K==="string"){if(!H){var O=0;for(var P=0;P<K.length;P++){var S=K.charCodeAt(P);if(S<128)W[O++]=S;else if(S<2048)W[O++]=S>>6|192,W[O++]=S&63|128;else if(D(K,P))S=65536+((S&1023)<<10)+(K.charCodeAt(++P)&1023),W[O++]=S>>18|240,W[O++]=S>>12&63|128,W[O++]=S>>6&63|128,W[O++]=S&63|128;else W[O++]=S>>12|224,W[O++]=S>>6&63|128,W[O++]=S&63|128}}else if(H==="hex"){if(K=K.replace(/[^a-z0-9]+/ig,""),K.length%2!==0)K="0"+K;for(P=0;P<K.length;P+=2)W.push(parseInt(K[P]+K[P+1],16))}}else for(P=0;P<K.length;P++)W[P]=K[P]|0;return W}I.toArray=X;function z(K){var H="";for(var W=0;W<K.length;W++)H+=R(K[W].toString(16));return H}I.toHex=z;function Z(K){var H=K>>>24|K>>>8&65280|K<<8&16711680|(K&255)<<24;return H>>>0}I.htonl=Z;function L(K,H){var W="";for(var O=0;O<K.length;O++){var P=K[O];if(H==="little")P=Z(P);W+=j(P.toString(16))}return W}I.toHex32=L;function R(K){if(K.length===1)return"0"+K;else return K}I.zero2=R;function j(K){if(K.length===7)return"0"+K;else if(K.length===6)return"00"+K;else if(K.length===5)return"000"+K;else if(K.length===4)return"0000"+K;else if(K.length===3)return"00000"+K;else if(K.length===2)return"000000"+K;else if(K.length===1)return"0000000"+K;else return K}I.zero8=j;function q(K,H,W,O){var P=W-H;J(P%4===0);var S=Array(P/4);for(var A=0,V=H;A<S.length;A++,V+=4){var T;if(O==="big")T=K[V]<<24|K[V+1]<<16|K[V+2]<<8|K[V+3];else T=K[V+3]<<24|K[V+2]<<16|K[V+1]<<8|K[V];S[A]=T>>>0}return S}I.join32=q;function C(K,H){var W=Array(K.length*4);for(var O=0,P=0;O<K.length;O++,P+=4){var S=K[O];if(H==="big")W[P]=S>>>24,W[P+1]=S>>>16&255,W[P+2]=S>>>8&255,W[P+3]=S&255;else W[P+3]=S>>>24,W[P+2]=S>>>16&255,W[P+1]=S>>>8&255,W[P]=S&255}return W}I.split32=C;function E(K,H){return K>>>H|K<<32-H}I.rotr32=E;function B(K,H){return K<<H|K>>>32-H}I.rotl32=B;function N(K,H){return K+H>>>0}I.sum32=N;function y(K,H,W){return K+H+W>>>0}I.sum32_3=y;function w(K,H,W,O){return K+H+W+O>>>0}I.sum32_4=w;function b(K,H,W,O,P){return K+H+W+O+P>>>0}I.sum32_5=b;function x(K,H,W,O){var P=K[H],S=K[H+1],A=O+S>>>0,V=(A<O?1:0)+W+P;K[H]=V>>>0,K[H+1]=A}I.sum64=x;function u(K,H,W,O){var P=H+O>>>0,S=(P<H?1:0)+K+W;return S>>>0}I.sum64_hi=u;function p(K,H,W,O){var P=H+O;return P>>>0}I.sum64_lo=p;function d(K,H,W,O,P,S,A,V){var T=0,g=H;g=g+O>>>0,T+=g<H?1:0,g=g+S>>>0,T+=g<S?1:0,g=g+V>>>0,T+=g<V?1:0;var v=K+W+P+A+T;return v>>>0}I.sum64_4_hi=d;function a(K,H,W,O,P,S,A,V){var T=H+O+S+V;return T>>>0}I.sum64_4_lo=a;function O0(K,H,W,O,P,S,A,V,T,g){var v=0,h=H;h=h+O>>>0,v+=h<H?1:0,h=h+S>>>0,v+=h<S?1:0,h=h+V>>>0,v+=h<V?1:0,h=h+g>>>0,v+=h<g?1:0;var r=K+W+P+A+T+v;return r>>>0}I.sum64_5_hi=O0;function L0(K,H,W,O,P,S,A,V,T,g){var v=H+O+S+V+g;return v>>>0}I.sum64_5_lo=L0;function j0(K,H,W){var O=H<<32-W|K>>>W;return O>>>0}I.rotr64_hi=j0;function t(K,H,W){var O=K<<32-W|H>>>W;return O>>>0}I.rotr64_lo=t;function T0(K,H,W){return K>>>W}I.shr64_hi=T0;function G(K,H,W){var O=K<<32-W|H>>>W;return O>>>0}I.shr64_lo=G}),eG=u0((I)=>{var J=R1(),Y=XX();function D(){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=D,D.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 Z=X.length%this._delta8;if(this.pending=X.slice(X.length-Z,X.length),this.pending.length===0)this.pending=null;X=J.join32(X,0,X.length-Z,this.endian);for(var L=0;L<X.length;L+=this._delta32)this._update(X,L,L+this._delta32)}return this},D.prototype.digest=function(X){return this.update(this._pad()),Y(this.pending===null),this._digest(X)},D.prototype._pad=function(){var X=this.pendingTotal,z=this._delta8,Z=z-(X+this.padLength)%z,L=Array(Z+this.padLength);L[0]=128;for(var R=1;R<Z;R++)L[R]=0;if(X<<=3,this.endian==="big"){for(var j=8;j<this.padLength;j++)L[R++]=0;L[R++]=0,L[R++]=0,L[R++]=0,L[R++]=0,L[R++]=X>>>24&255,L[R++]=X>>>16&255,L[R++]=X>>>8&255,L[R++]=X&255}else{L[R++]=X&255,L[R++]=X>>>8&255,L[R++]=X>>>16&255,L[R++]=X>>>24&255,L[R++]=0,L[R++]=0,L[R++]=0,L[R++]=0;for(j=8;j<this.padLength;j++)L[R++]=0}return L}}),iq=u0((I)=>{var J=R1(),Y=J.rotr32;function D(C,E,B,N){if(C===0)return X(E,B,N);if(C===1||C===3)return Z(E,B,N);if(C===2)return z(E,B,N)}I.ft_1=D;function X(C,E,B){return C&E^~C&B}I.ch32=X;function z(C,E,B){return C&E^C&B^E&B}I.maj32=z;function Z(C,E,B){return C^E^B}I.p32=Z;function L(C){return Y(C,2)^Y(C,13)^Y(C,22)}I.s0_256=L;function R(C){return Y(C,6)^Y(C,11)^Y(C,25)}I.s1_256=R;function j(C){return Y(C,7)^Y(C,18)^C>>>3}I.g0_256=j;function q(C){return Y(C,17)^Y(C,19)^C>>>10}I.g1_256=q}),rw=u0((I,J)=>{var Y=R1(),D=eG(),X=iq(),z=Y.rotl32,Z=Y.sum32,L=Y.sum32_5,R=X.ft_1,j=D.BlockHash,q=[1518500249,1859775393,2400959708,3395469782];function C(){if(!(this instanceof C))return new C;j.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}Y.inherits(C,j),J.exports=C,C.blockSize=512,C.outSize=160,C.hmacStrength=80,C.padLength=64,C.prototype._update=function(E,B){var N=this.W;for(var y=0;y<16;y++)N[y]=E[B+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],x=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),R(d,b,x,u),p,N[y],q[d]);p=u,u=x,x=z(b,30),b=w,w=a}this.h[0]=Z(this.h[0],w),this.h[1]=Z(this.h[1],b),this.h[2]=Z(this.h[2],x),this.h[3]=Z(this.h[3],u),this.h[4]=Z(this.h[4],p)},C.prototype._digest=function(E){if(E==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),rq=u0((I,J)=>{var Y=R1(),D=eG(),X=iq(),z=XX(),Z=Y.sum32,L=Y.sum32_4,R=Y.sum32_5,j=X.ch32,q=X.maj32,C=X.s0_256,E=X.s1_256,B=X.g0_256,N=X.g1_256,y=D.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)}Y.inherits(b,y),J.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(x,u){var p=this.W;for(var d=0;d<16;d++)p[d]=x[u+d];for(;d<p.length;d++)p[d]=L(N(p[d-2]),p[d-7],B(p[d-15]),p[d-16]);var a=this.h[0],O0=this.h[1],L0=this.h[2],j0=this.h[3],t=this.h[4],T0=this.h[5],G=this.h[6],K=this.h[7];z(this.k.length===p.length);for(d=0;d<p.length;d++){var H=R(K,E(t),j(t,T0,G),this.k[d],p[d]),W=Z(C(a),q(a,O0,L0));K=G,G=T0,T0=t,t=Z(j0,H),j0=L0,L0=O0,O0=a,a=Z(H,W)}this.h[0]=Z(this.h[0],a),this.h[1]=Z(this.h[1],O0),this.h[2]=Z(this.h[2],L0),this.h[3]=Z(this.h[3],j0),this.h[4]=Z(this.h[4],t),this.h[5]=Z(this.h[5],T0),this.h[6]=Z(this.h[6],G),this.h[7]=Z(this.h[7],K)},b.prototype._digest=function(x){if(x==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),tw=u0((I,J)=>{var Y=R1(),D=rq();function X(){if(!(this instanceof X))return new X;D.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Y.inherits(X,D),J.exports=X,X.blockSize=512,X.outSize=224,X.hmacStrength=192,X.padLength=64,X.prototype._digest=function(z){if(z==="hex")return Y.toHex32(this.h.slice(0,7),"big");else return Y.split32(this.h.slice(0,7),"big")}}),tq=u0((I,J)=>{var Y=R1(),D=eG(),X=XX(),z=Y.rotr64_hi,Z=Y.rotr64_lo,L=Y.shr64_hi,R=Y.shr64_lo,j=Y.sum64,q=Y.sum64_hi,C=Y.sum64_lo,E=Y.sum64_4_hi,B=Y.sum64_4_lo,N=Y.sum64_5_hi,y=Y.sum64_5_lo,w=D.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 x(){if(!(this instanceof x))return new x;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)}Y.inherits(x,w),J.exports=x,x.blockSize=1024,x.outSize=512,x.hmacStrength=192,x.padLength=128,x.prototype._prepareBlock=function(W,O){var P=this.W;for(var S=0;S<32;S++)P[S]=W[O+S];for(;S<P.length;S+=2){var A=K(P[S-4],P[S-3]),V=H(P[S-4],P[S-3]),T=P[S-14],g=P[S-13],v=T0(P[S-30],P[S-29]),h=G(P[S-30],P[S-29]),r=P[S-32],U0=P[S-31];P[S]=E(A,V,T,g,v,h,r,U0),P[S+1]=B(A,V,T,g,v,h,r,U0)}},x.prototype._update=function(W,O){this._prepareBlock(W,O);var P=this.W,S=this.h[0],A=this.h[1],V=this.h[2],T=this.h[3],g=this.h[4],v=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],Z0=this.h[14],A0=this.h[15];X(this.k.length===P.length);for(var $0=0;$0<P.length;$0+=2){var c=Z0,n=A0,H0=j0(U0,z0),Y0=t(U0,z0),W0=u(U0,z0,Q0,s,e,J0),N0=p(U0,z0,Q0,s,e,J0),I0=this.k[$0],D0=this.k[$0+1],U$=P[$0],M0=P[$0+1],B0=N(c,n,H0,Y0,W0,N0,I0,D0,U$,M0),L$=y(c,n,H0,Y0,W0,N0,I0,D0,U$,M0);c=O0(S,A),n=L0(S,A),H0=d(S,A,V,T,g,v),Y0=a(S,A,V,T,g,v);var p0=q(c,n,H0,Y0),c0=C(c,n,H0,Y0);Z0=e,A0=J0,e=Q0,J0=s,Q0=U0,s=z0,U0=q(h,r,B0,L$),z0=C(r,r,B0,L$),h=g,r=v,g=V,v=T,V=S,T=A,S=q(B0,L$,p0,c0),A=C(B0,L$,p0,c0)}j(this.h,0,S,A),j(this.h,2,V,T),j(this.h,4,g,v),j(this.h,6,h,r),j(this.h,8,U0,z0),j(this.h,10,Q0,s),j(this.h,12,e,J0),j(this.h,14,Z0,A0)},x.prototype._digest=function(W){if(W==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")};function u(W,O,P,S,A){var V=W&P^~W&A;if(V<0)V+=4294967296;return V}function p(W,O,P,S,A,V){var T=O&S^~O&V;if(T<0)T+=4294967296;return T}function d(W,O,P,S,A){var V=W&P^W&A^P&A;if(V<0)V+=4294967296;return V}function a(W,O,P,S,A,V){var T=O&S^O&V^S&V;if(T<0)T+=4294967296;return T}function O0(W,O){var P=z(W,O,28),S=z(O,W,2),A=z(O,W,7),V=P^S^A;if(V<0)V+=4294967296;return V}function L0(W,O){var P=Z(W,O,28),S=Z(O,W,2),A=Z(O,W,7),V=P^S^A;if(V<0)V+=4294967296;return V}function j0(W,O){var P=z(W,O,14),S=z(W,O,18),A=z(O,W,9),V=P^S^A;if(V<0)V+=4294967296;return V}function t(W,O){var P=Z(W,O,14),S=Z(W,O,18),A=Z(O,W,9),V=P^S^A;if(V<0)V+=4294967296;return V}function T0(W,O){var P=z(W,O,1),S=z(W,O,8),A=L(W,O,7),V=P^S^A;if(V<0)V+=4294967296;return V}function G(W,O){var P=Z(W,O,1),S=Z(W,O,8),A=R(W,O,7),V=P^S^A;if(V<0)V+=4294967296;return V}function K(W,O){var P=z(W,O,19),S=z(O,W,29),A=L(W,O,6),V=P^S^A;if(V<0)V+=4294967296;return V}function H(W,O){var P=Z(W,O,19),S=Z(O,W,29),A=R(W,O,6),V=P^S^A;if(V<0)V+=4294967296;return V}}),aw=u0((I,J)=>{var Y=R1(),D=tq();function X(){if(!(this instanceof X))return new X;D.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Y.inherits(X,D),J.exports=X,X.blockSize=1024,X.outSize=384,X.hmacStrength=192,X.padLength=128,X.prototype._digest=function(z){if(z==="hex")return Y.toHex32(this.h.slice(0,12),"big");else return Y.split32(this.h.slice(0,12),"big")}}),sw=u0((I)=>{I.sha1=rw(),I.sha224=tw(),I.sha256=rq(),I.sha384=aw(),I.sha512=tq()}),ew=u0((I)=>{var J=R1(),Y=eG(),D=J.rotl32,X=J.sum32,z=J.sum32_3,Z=J.sum32_4,L=Y.BlockHash;function R(){if(!(this instanceof R))return new R;L.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}J.inherits(R,L),I.ripemd160=R,R.blockSize=512,R.outSize=160,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(w,b){var x=this.h[0],u=this.h[1],p=this.h[2],d=this.h[3],a=this.h[4],O0=x,L0=u,j0=p,t=d,T0=a;for(var G=0;G<80;G++){var K=X(D(Z(x,j(G,u,p,d),w[E[G]+b],q(G)),N[G]),a);x=a,a=d,d=D(p,10),p=u,u=K,K=X(D(Z(O0,j(79-G,L0,j0,t),w[B[G]+b],C(G)),y[G]),T0),O0=T0,T0=t,t=D(j0,10),j0=L0,L0=K}K=z(this.h[1],p,t),this.h[1]=z(this.h[2],d,T0),this.h[2]=z(this.h[3],a,O0),this.h[3]=z(this.h[4],x,L0),this.h[4]=z(this.h[0],u,j0),this.h[0]=K},R.prototype._digest=function(w){if(w==="hex")return J.toHex32(this.h,"little");else return J.split32(this.h,"little")};function j(w,b,x,u){if(w<=15)return b^x^u;else if(w<=31)return b&x|~b&u;else if(w<=47)return(b|~x)^u;else if(w<=63)return b&u|x&~u;else return b^(x|~u)}function q(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 C(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 E=[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],B=[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]}),$f=u0((I,J)=>{var Y=R1(),D=XX();function X(z,Z,L){if(!(this instanceof X))return new X(z,Z,L);this.Hash=z,this.blockSize=z.blockSize/8,this.outSize=z.outSize/8,this.inner=null,this.outer=null,this._init(Y.toArray(Z,L))}J.exports=X,X.prototype._init=function(z){if(z.length>this.blockSize)z=new this.Hash().update(z).digest();D(z.length<=this.blockSize);for(var Z=z.length;Z<this.blockSize;Z++)z.push(0);for(Z=0;Z<z.length;Z++)z[Z]^=54;this.inner=new this.Hash().update(z);for(Z=0;Z<z.length;Z++)z[Z]^=106;this.outer=new this.Hash().update(z)},X.prototype.update=function(z,Z){return this.inner.update(z,Z),this},X.prototype.digest=function(z){return this.outer.update(this.inner.digest()),this.outer.digest(z)}}),WF=u0((I)=>{var J=I;J.utils=R1(),J.common=eG(),J.sha=sw(),J.ripemd=ew(),J.hmac=$f(),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}),Uf=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"]]}}}),KF=u0((I)=>{var J=I,Y=WF(),D=oq(),X=y4(),z=X.assert;function Z(j){if(j.type==="short")this.curve=new D.short(j);else if(j.type==="edwards")this.curve=new D.edwards(j);else this.curve=new D.mont(j);this.g=this.curve.g,this.n=this.curve.n,this.hash=j.hash,z(this.g.validate(),"Invalid curve"),z(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}J.PresetCurve=Z;function L(j,q){Object.defineProperty(J,j,{configurable:!0,enumerable:!0,get:function(){var C=new Z(q);return Object.defineProperty(J,j,{configurable:!0,enumerable:!0,value:C}),C}})}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:Y.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:Y.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:Y.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:Y.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:Y.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:Y.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:Y.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var R;try{R=Uf()}catch(j){R=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:Y.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",R]})}),If=u0((I,J)=>{var Y=WF(),D=dq(),X=XX();function z(Z){if(!(this instanceof z))return new z(Z);this.hash=Z.hash,this.predResist=!!Z.predResist,this.outLen=this.hash.outSize,this.minEntropy=Z.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var L=D.toArray(Z.entropy,Z.entropyEnc||"hex"),R=D.toArray(Z.nonce,Z.nonceEnc||"hex"),j=D.toArray(Z.pers,Z.persEnc||"hex");X(L.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(L,R,j)}J.exports=z,z.prototype._init=function(Z,L,R){var j=Z.concat(L).concat(R);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var q=0;q<this.V.length;q++)this.K[q]=0,this.V[q]=1;this._update(j),this._reseed=1,this.reseedInterval=281474976710656},z.prototype._hmac=function(){return new Y.hmac(this.hash,this.K)},z.prototype._update=function(Z){var L=this._hmac().update(this.V).update([0]);if(Z)L=L.update(Z);if(this.K=L.digest(),this.V=this._hmac().update(this.V).digest(),!Z)return;this.K=this._hmac().update(this.V).update([1]).update(Z).digest(),this.V=this._hmac().update(this.V).digest()},z.prototype.reseed=function(Z,L,R,j){if(typeof L!=="string")j=R,R=L,L=null;Z=D.toArray(Z,L),R=D.toArray(R,j),X(Z.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(Z.concat(R||[])),this._reseed=1},z.prototype.generate=function(Z,L,R,j){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof L!=="string")j=R,R=L,L=null;if(R)R=D.toArray(R,j||"hex"),this._update(R);var q=[];while(q.length<Z)this.V=this._hmac().update(this.V).digest(),q=q.concat(this.V);var C=q.slice(0,Z);return this._update(R),this._reseed++,D.encode(C,L)}}),Xf=u0((I,J)=>{var Y=zI(),D=y4(),X=D.assert;function z(Z,L){if(this.ec=Z,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(Z,L,R){if(L instanceof z)return L;return new z(Z,{pub:L,pubEnc:R})},z.fromPrivate=function(Z,L,R){if(L instanceof z)return L;return new z(Z,{priv:L,privEnc:R})},z.prototype.validate=function(){var Z=this.getPublic();if(Z.isInfinity())return{result:!1,reason:"Invalid public key"};if(!Z.validate())return{result:!1,reason:"Public key is not a point"};if(!Z.mul(this.ec.curve.n).isInfinity())return{result:!1,reason:"Public key * N != O"};return{result:!0,reason:null}},z.prototype.getPublic=function(Z,L){if(typeof Z==="string")L=Z,Z=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!L)return this.pub;return this.pub.encode(L,Z)},z.prototype.getPrivate=function(Z){if(Z==="hex")return this.priv.toString(16,2);else return this.priv},z.prototype._importPrivate=function(Z,L){this.priv=new Y(Z,L||16),this.priv=this.priv.umod(this.ec.curve.n)},z.prototype._importPublic=function(Z,L){if(Z.x||Z.y){if(this.ec.curve.type==="mont")X(Z.x,"Need x coordinate");else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")X(Z.x&&Z.y,"Need both x and y coordinate");this.pub=this.ec.curve.point(Z.x,Z.y);return}this.pub=this.ec.curve.decodePoint(Z,L)},z.prototype.derive=function(Z){if(!Z.validate())X(Z.validate(),"public point not validated");return Z.mul(this.priv).getX()},z.prototype.sign=function(Z,L,R){return this.ec.sign(Z,this,L,R)},z.prototype.verify=function(Z,L,R){return this.ec.verify(Z,L,this,void 0,R)},z.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),Jf=u0((I,J)=>{var Y=zI(),D=y4(),X=D.assert;function z(q,C){if(q instanceof z)return q;if(this._importDER(q,C))return;if(X(q.r&&q.s,"Signature without r or s"),this.r=new Y(q.r,16),this.s=new Y(q.s,16),q.recoveryParam===void 0)this.recoveryParam=null;else this.recoveryParam=q.recoveryParam}J.exports=z;function Z(){this.place=0}function L(q,C){var E=q[C.place++];if(!(E&128))return E;var B=E&15;if(B===0||B>4)return!1;if(q[C.place]===0)return!1;var N=0;for(var y=0,w=C.place;y<B;y++,w++)N<<=8,N|=q[w],N>>>=0;if(N<=127)return!1;return C.place=w,N}function R(q){var C=0,E=q.length-1;while(!q[C]&&!(q[C+1]&128)&&C<E)C++;if(C===0)return q;return q.slice(C)}z.prototype._importDER=function(q,C){q=D.toArray(q,C);var E=new Z;if(q[E.place++]!==48)return!1;var B=L(q,E);if(B===!1)return!1;if(B+E.place!==q.length)return!1;if(q[E.place++]!==2)return!1;var N=L(q,E);if(N===!1)return!1;if((q[E.place]&128)!==0)return!1;var y=q.slice(E.place,N+E.place);if(E.place+=N,q[E.place++]!==2)return!1;var w=L(q,E);if(w===!1)return!1;if(q.length!==w+E.place)return!1;if((q[E.place]&128)!==0)return!1;var b=q.slice(E.place,w+E.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 Y(y),this.s=new Y(b),this.recoveryParam=null,!0};function j(q,C){if(C<128){q.push(C);return}var E=1+(Math.log(C)/Math.LN2>>>3);q.push(E|128);while(--E)q.push(C>>>(E<<3)&255);q.push(C)}z.prototype.toDER=function(q){var C=this.r.toArray(),E=this.s.toArray();if(C[0]&128)C=[0].concat(C);if(E[0]&128)E=[0].concat(E);C=R(C),E=R(E);while(!E[0]&&!(E[1]&128))E=E.slice(1);var B=[2];j(B,C.length),B=B.concat(C),B.push(2),j(B,E.length);var N=B.concat(E),y=[48];return j(y,N.length),y=y.concat(N),D.encode(y,q)}}),Qf=u0((I,J)=>{var Y=zI(),D=If(),X=y4(),z=KF(),Z=nq(),L=X.assert,R=Xf(),j=Jf();function q(C){if(!(this instanceof q))return new q(C);if(typeof C==="string")L(Object.prototype.hasOwnProperty.call(z,C),"Unknown curve "+C),C=z[C];if(C instanceof z.PresetCurve)C={curve:C};this.curve=C.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=C.curve.g,this.g.precompute(C.curve.n.bitLength()+1),this.hash=C.hash||C.curve.hash}J.exports=q,q.prototype.keyPair=function(C){return new R(this,C)},q.prototype.keyFromPrivate=function(C,E){return R.fromPrivate(this,C,E)},q.prototype.keyFromPublic=function(C,E){return R.fromPublic(this,C,E)},q.prototype.genKeyPair=function(C){if(!C)C={};var E=new D({hash:this.hash,pers:C.pers,persEnc:C.persEnc||"utf8",entropy:C.entropy||Z(this.hash.hmacStrength),entropyEnc:C.entropy&&C.entropyEnc||"utf8",nonce:this.n.toArray()}),B=this.n.byteLength(),N=this.n.sub(new Y(2));for(;;){var y=new Y(E.generate(B));if(y.cmp(N)>0)continue;return y.iaddn(1),this.keyFromPrivate(y)}},q.prototype._truncateToN=function(C,E,B){var N;if(Y.isBN(C)||typeof C==="number")C=new Y(C,16),N=C.byteLength();else if(typeof C==="object")N=C.length,C=new Y(C,16);else{var y=C.toString();N=y.length+1>>>1,C=new Y(y,16)}if(typeof B!=="number")B=N*8;var w=B-this.n.bitLength();if(w>0)C=C.ushrn(w);if(!E&&C.cmp(this.n)>=0)return C.sub(this.n);else return C},q.prototype.sign=function(C,E,B,N){if(typeof B==="object")N=B,B=null;if(!N)N={};if(typeof C!=="string"&&typeof C!=="number"&&!Y.isBN(C)){L(typeof C==="object"&&C&&typeof C.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),L(C.length>>>0===C.length);for(var y=0;y<C.length;y++)L((C[y]&255)===C[y])}E=this.keyFromPrivate(E,B),C=this._truncateToN(C,!1,N.msgBitLength),L(!C.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),b=E.getPrivate().toArray("be",w),x=C.toArray("be",w);L(new Y(x).eq(C),"Can not sign message");var u=new D({hash:this.hash,entropy:b,nonce:x,pers:N.pers,persEnc:N.persEnc||"utf8"}),p=this.n.sub(new Y(1));for(var d=0;;d++){var a=N.k?N.k(d):new Y(u.generate(this.n.byteLength()));if(a=this._truncateToN(a,!0),a.cmpn(1)<=0||a.cmp(p)>=0)continue;var O0=this.g.mul(a);if(O0.isInfinity())continue;var L0=O0.getX(),j0=L0.umod(this.n);if(j0.cmpn(0)===0)continue;var t=a.invm(this.n).mul(j0.mul(E.getPrivate()).iadd(C));if(t=t.umod(this.n),t.cmpn(0)===0)continue;var T0=(O0.getY().isOdd()?1:0)|(L0.cmp(j0)!==0?2:0);if(N.canonical&&t.cmp(this.nh)>0)t=this.n.sub(t),T0^=1;return new j({r:j0,s:t,recoveryParam:T0})}},q.prototype.verify=function(C,E,B,N,y){if(!y)y={};C=this._truncateToN(C,!1,y.msgBitLength),B=this.keyFromPublic(B,N),E=new j(E,"hex");var{r:w,s:b}=E;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 x=b.invm(this.n),u=x.mul(C).umod(this.n),p=x.mul(w).umod(this.n),d;if(!this.curve._maxwellTrick){if(d=this.g.mulAdd(u,B.getPublic(),p),d.isInfinity())return!1;return d.getX().umod(this.n).cmp(w)===0}if(d=this.g.jmulAdd(u,B.getPublic(),p),d.isInfinity())return!1;return d.eqXToP(w)},q.prototype.recoverPubKey=function(C,E,B,N){L((3&B)===B,"The recovery param is more than two bits"),E=new j(E,N);var y=this.n,w=new Y(C),b=E.r,x=E.s,u=B&1,p=B>>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=E.r.invm(y),a=y.sub(w).mul(d).umod(y),O0=x.mul(d).umod(y);return this.g.mulAdd(a,b,O0)},q.prototype.getKeyRecoveryParam=function(C,E,B,N){if(E=new j(E,N),E.recoveryParam!==null)return E.recoveryParam;for(var y=0;y<4;y++){var w;try{w=this.recoverPubKey(C,E,y)}catch(b){continue}if(w.eq(B))return y}throw Error("Unable to find valid recovery factor")}}),Yf=u0((I,J)=>{var Y=y4(),D=Y.assert,X=Y.parseBytes,z=Y.cachedProperty;function Z(L,R){if(this.eddsa=L,this._secret=X(R.secret),L.isPoint(R.pub))this._pub=R.pub;else this._pubBytes=X(R.pub)}Z.fromPublic=function(L,R){if(R instanceof Z)return R;return new Z(L,{pub:R})},Z.fromSecret=function(L,R){if(R instanceof Z)return R;return new Z(L,{secret:R})},Z.prototype.secret=function(){return this._secret},z(Z,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),z(Z,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),z(Z,"privBytes",function(){var L=this.eddsa,R=this.hash(),j=L.encodingLength-1,q=R.slice(0,L.encodingLength);return q[0]&=248,q[j]&=127,q[j]|=64,q}),z(Z,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),z(Z,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),z(Z,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),Z.prototype.sign=function(L){return D(this._secret,"KeyPair can only verify"),this.eddsa.sign(L,this)},Z.prototype.verify=function(L,R){return this.eddsa.verify(L,R,this)},Z.prototype.getSecret=function(L){return D(this._secret,"KeyPair is public only"),Y.encode(this.secret(),L)},Z.prototype.getPublic=function(L){return Y.encode(this.pubBytes(),L)},J.exports=Z}),Gf=u0((I,J)=>{var Y=zI(),D=y4(),X=D.assert,z=D.cachedProperty,Z=D.parseBytes;function L(R,j){if(this.eddsa=R,typeof j!=="object")j=Z(j);if(Array.isArray(j))X(j.length===R.encodingLength*2,"Signature has invalid size"),j={R:j.slice(0,R.encodingLength),S:j.slice(R.encodingLength)};if(X(j.R&&j.S,"Signature without R or S"),R.isPoint(j.R))this._R=j.R;if(j.S instanceof Y)this._S=j.S;this._Rencoded=Array.isArray(j.R)?j.R:j.Rencoded,this._Sencoded=Array.isArray(j.S)?j.S:j.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 D.encode(this.toBytes(),"hex").toUpperCase()},J.exports=L}),Zf=u0((I,J)=>{var Y=WF(),D=KF(),X=y4(),z=X.assert,Z=X.parseBytes,L=Yf(),R=Gf();function j(q){if(z(q==="ed25519","only tested with ed25519 so far"),!(this instanceof j))return new j(q);q=D[q].curve,this.curve=q,this.g=q.g,this.g.precompute(q.n.bitLength()+1),this.pointClass=q.point().constructor,this.encodingLength=Math.ceil(q.n.bitLength()/8),this.hash=Y.sha512}J.exports=j,j.prototype.sign=function(q,C){q=Z(q);var E=this.keyFromSecret(C),B=this.hashInt(E.messagePrefix(),q),N=this.g.mul(B),y=this.encodePoint(N),w=this.hashInt(y,E.pubBytes(),q).mul(E.priv()),b=B.add(w).umod(this.curve.n);return this.makeSignature({R:N,S:b,Rencoded:y})},j.prototype.verify=function(q,C,E){if(q=Z(q),C=this.makeSignature(C),C.S().gte(C.eddsa.curve.n)||C.S().isNeg())return!1;var B=this.keyFromPublic(E),N=this.hashInt(C.Rencoded(),B.pubBytes(),q),y=this.g.mul(C.S()),w=C.R().add(B.pub().mul(N));return w.eq(y)},j.prototype.hashInt=function(){var q=this.hash();for(var C=0;C<arguments.length;C++)q.update(arguments[C]);return X.intFromLE(q.digest()).umod(this.curve.n)},j.prototype.keyFromPublic=function(q){return L.fromPublic(this,q)},j.prototype.keyFromSecret=function(q){return L.fromSecret(this,q)},j.prototype.makeSignature=function(q){if(q instanceof R)return q;return new R(this,q)},j.prototype.encodePoint=function(q){var C=q.getY().toArray("le",this.encodingLength);return C[this.encodingLength-1]|=q.getX().isOdd()?128:0,C},j.prototype.decodePoint=function(q){q=X.parseBytes(q);var C=q.length-1,E=q.slice(0,C).concat(q[C]&-129),B=(q[C]&128)!==0,N=X.intFromLE(E);return this.curve.pointFromY(N,B)},j.prototype.encodeInt=function(q){return q.toArray("le",this.encodingLength)},j.prototype.decodeInt=function(q){return X.intFromLE(q)},j.prototype.isPoint=function(q){return q instanceof this.pointClass}}),Vf=u0((I)=>{var J=I;J.version=mw().version,J.utils=y4(),J.rand=nq(),J.curve=oq(),J.curves=KF(),J.ec=Qf(),J.eddsa=Zf()}),zf=u0((I,J)=>{(function(Y,D){function X(G,K){if(!G)throw Error(K||"Assertion failed")}function z(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else D.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),S$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;X(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(K===16)this._parseHex(G,W,H);else if(this._parseBase(G,K,W),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O,P,S=0;if(H==="be"){for(W=G.length-1,O=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}else if(H==="le"){for(W=0,O=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}return this.strip()};function R(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function j(G,K,H){var W=R(G,H);if(H-1>=K)W|=R(G,H-1)<<4;return W}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O=0,P=0,S;if(H==="be")for(W=G.length-1;W>=K;W-=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8;else{var A=G.length-K;for(W=A%2===0?K+1:K;W<G.length;W+=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8}this.strip()};function q(G,K,H,W){var O=0,P=Math.min(G.length,H);for(var S=K;S<P;S++){var A=G.charCodeAt(S)-48;if(O*=W,A>=49)O+=A-49+10;else if(A>=17)O+=A-17+10;else O+=A}return O}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var W=0,O=1;O<=67108863;O*=K)W++;W--,O=O/K|0;var P=G.length-H,S=P%W,A=Math.min(P,P-S)+H,V=0;for(var T=H;T<A;T+=W)if(V=q(G,T,T+W,K),this.imuln(O),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V);if(S!==0){var g=1;V=q(G,T,G.length,K);for(T=0;T<S;T++)g*=K;if(this.imuln(g),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","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"],E=[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],B=[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(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var W=0,O=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|O)&16777215).toString(16);if(O=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(O!==0||P!==this.length-1)H=C[6-A.length]+A+H;else H=A+H}if(O!==0)H=O.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var V=E[G],T=B[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var v=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())H=C[V-v.length]+v+H;else H=v+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=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?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return X(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var W=this.byteLength(),O=H||Math.max(1,W);X(W<=O,"byte array longer than desired length"),X(O>0,"Requested array length <= 0"),this.strip();var P=K==="le",S=new G(O),A,V,T=this.clone();if(!P){for(V=0;V<O-W;V++)S[V]=0;for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[O-V-1]=A}else{for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[V]=A;for(;V<O;V++)S[V]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function N(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var W=H/26|0,O=H%26;K[H]=(G.words[W]&1<<O)>>>O}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var W=0;W<H.length;W++)this.words[W]=K.words[W]^H.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(H>0)this.words[W]=~this.words[W]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){X(typeof G==="number"&&G>=0);var H=G/26|0,W=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<W;else this.words[H]=this.words[H]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,W;if(this.length>G.length)H=this,W=G;else H=G,W=this;var O=0;for(var P=0;P<W.length;P++)K=(H.words[P]|0)+(W.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;for(;O!==0&&P<H.length;P++)K=(H.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;if(this.length=H.length,O!==0)this.words[this.length]=O,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,O;if(H>0)W=this,O=G;else W=G,O=this;var P=0;for(var S=0;S<O.length;S++)K=(W.words[S]|0)-(O.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;for(;P!==0&&S<W.length;S++)K=(W.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var W=G.length+K.length|0;H.length=W,W=W-1|0;var O=G.words[0]|0,P=K.words[0]|0,S=O*P,A=S&67108863,V=S/67108864|0;H.words[0]=A;for(var T=1;T<W;T++){var g=V>>>26,v=V&67108863,h=Math.min(T,K.length-1);for(var r=Math.max(0,T-G.length+1);r<=h;r++){var U0=T-r|0;O=G.words[U0]|0,P=K.words[r]|0,S=O*P+v,g+=S/67108864|0,v=S&67108863}H.words[T]=v|0,V=g|0}if(V!==0)H.words[T]=V|0;else H.length--;return H.strip()}var w=function(G,K,H){var W=G.words,O=K.words,P=H.words,S=0,A,V,T,g=W[0]|0,v=g&8191,h=g>>>13,r=W[1]|0,U0=r&8191,z0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,c=$0&8191,n=$0>>>13,H0=W[5]|0,Y0=H0&8191,W0=H0>>>13,N0=W[6]|0,I0=N0&8191,D0=N0>>>13,U$=W[7]|0,M0=U$&8191,B0=U$>>>13,L$=W[8]|0,p0=L$&8191,c0=L$>>>13,i$=W[9]|0,b0=i$&8191,h0=i$>>>13,QU=O[0]|0,r0=QU&8191,o0=QU>>>13,PU=O[1]|0,l=PU&8191,X0=PU>>>13,s0=O[2]|0,S0=s0&8191,v0=s0>>>13,O$=O[3]|0,x0=O$&8191,f0=O$>>>13,W$=O[4]|0,n0=W$&8191,i0=W$>>>13,DU=O[5]|0,a0=DU&8191,i=DU>>>13,G0=O[6]|0,E0=G0&8191,q0=G0>>>13,V$=O[7]|0,d0=V$&8191,t0=V$>>>13,HU=O[8]|0,I$=HU&8191,$$=HU>>>13,e$=O[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(v,r0),V=Math.imul(v,o0),V=V+Math.imul(h,r0)|0,T=Math.imul(h,o0);var _U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),V=Math.imul(U0,o0),V=V+Math.imul(z0,r0)|0,T=Math.imul(z0,o0),A=A+Math.imul(v,l)|0,V=V+Math.imul(v,X0)|0,V=V+Math.imul(h,l)|0,T=T+Math.imul(h,X0)|0;var R$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(R$>>>26)|0,R$&=67108863,A=Math.imul(s,r0),V=Math.imul(s,o0),V=V+Math.imul(e,r0)|0,T=Math.imul(e,o0),A=A+Math.imul(U0,l)|0,V=V+Math.imul(U0,X0)|0,V=V+Math.imul(z0,l)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(v,S0)|0,V=V+Math.imul(v,v0)|0,V=V+Math.imul(h,S0)|0,T=T+Math.imul(h,v0)|0;var q$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(q$>>>26)|0,q$&=67108863,A=Math.imul(Z0,r0),V=Math.imul(Z0,o0),V=V+Math.imul(A0,r0)|0,T=Math.imul(A0,o0),A=A+Math.imul(s,l)|0,V=V+Math.imul(s,X0)|0,V=V+Math.imul(e,l)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,V=V+Math.imul(U0,v0)|0,V=V+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(v,x0)|0,V=V+Math.imul(v,f0)|0,V=V+Math.imul(h,x0)|0,T=T+Math.imul(h,f0)|0;var $U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),V=Math.imul(c,o0),V=V+Math.imul(n,r0)|0,T=Math.imul(n,o0),A=A+Math.imul(Z0,l)|0,V=V+Math.imul(Z0,X0)|0,V=V+Math.imul(A0,l)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,V=V+Math.imul(s,v0)|0,V=V+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,V=V+Math.imul(U0,f0)|0,V=V+Math.imul(z0,x0)|0,T=T+Math.imul(z0,f0)|0,A=A+Math.imul(v,n0)|0,V=V+Math.imul(v,i0)|0,V=V+Math.imul(h,n0)|0,T=T+Math.imul(h,i0)|0;var d$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),V=Math.imul(Y0,o0),V=V+Math.imul(W0,r0)|0,T=Math.imul(W0,o0),A=A+Math.imul(c,l)|0,V=V+Math.imul(c,X0)|0,V=V+Math.imul(n,l)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,V=V+Math.imul(Z0,v0)|0,V=V+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,V=V+Math.imul(s,f0)|0,V=V+Math.imul(e,x0)|0,T=T+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,V=V+Math.imul(U0,i0)|0,V=V+Math.imul(z0,n0)|0,T=T+Math.imul(z0,i0)|0,A=A+Math.imul(v,a0)|0,V=V+Math.imul(v,i)|0,V=V+Math.imul(h,a0)|0,T=T+Math.imul(h,i)|0;var uU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),V=Math.imul(I0,o0),V=V+Math.imul(D0,r0)|0,T=Math.imul(D0,o0),A=A+Math.imul(Y0,l)|0,V=V+Math.imul(Y0,X0)|0,V=V+Math.imul(W0,l)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(c,S0)|0,V=V+Math.imul(c,v0)|0,V=V+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,V=V+Math.imul(Z0,f0)|0,V=V+Math.imul(A0,x0)|0,T=T+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,V=V+Math.imul(s,i0)|0,V=V+Math.imul(e,n0)|0,T=T+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,V=V+Math.imul(U0,i)|0,V=V+Math.imul(z0,a0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(v,E0)|0,V=V+Math.imul(v,q0)|0,V=V+Math.imul(h,E0)|0,T=T+Math.imul(h,q0)|0;var bU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),V=Math.imul(M0,o0),V=V+Math.imul(B0,r0)|0,T=Math.imul(B0,o0),A=A+Math.imul(I0,l)|0,V=V+Math.imul(I0,X0)|0,V=V+Math.imul(D0,l)|0,T=T+Math.imul(D0,X0)|0,A=A+Math.imul(Y0,S0)|0,V=V+Math.imul(Y0,v0)|0,V=V+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(c,x0)|0,V=V+Math.imul(c,f0)|0,V=V+Math.imul(n,x0)|0,T=T+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,V=V+Math.imul(Z0,i0)|0,V=V+Math.imul(A0,n0)|0,T=T+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,V=V+Math.imul(s,i)|0,V=V+Math.imul(e,a0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,V=V+Math.imul(U0,q0)|0,V=V+Math.imul(z0,E0)|0,T=T+Math.imul(z0,q0)|0,A=A+Math.imul(v,d0)|0,V=V+Math.imul(v,t0)|0,V=V+Math.imul(h,d0)|0,T=T+Math.imul(h,t0)|0;var hU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),V=Math.imul(p0,o0),V=V+Math.imul(c0,r0)|0,T=Math.imul(c0,o0),A=A+Math.imul(M0,l)|0,V=V+Math.imul(M0,X0)|0,V=V+Math.imul(B0,l)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,V=V+Math.imul(I0,v0)|0,V=V+Math.imul(D0,S0)|0,T=T+Math.imul(D0,v0)|0,A=A+Math.imul(Y0,x0)|0,V=V+Math.imul(Y0,f0)|0,V=V+Math.imul(W0,x0)|0,T=T+Math.imul(W0,f0)|0,A=A+Math.imul(c,n0)|0,V=V+Math.imul(c,i0)|0,V=V+Math.imul(n,n0)|0,T=T+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,V=V+Math.imul(Z0,i)|0,V=V+Math.imul(A0,a0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,V=V+Math.imul(s,q0)|0,V=V+Math.imul(e,E0)|0,T=T+Math.imul(e,q0)|0,A=A+Math.imul(U0,d0)|0,V=V+Math.imul(U0,t0)|0,V=V+Math.imul(z0,d0)|0,T=T+Math.imul(z0,t0)|0,A=A+Math.imul(v,I$)|0,V=V+Math.imul(v,$$)|0,V=V+Math.imul(h,I$)|0,T=T+Math.imul(h,$$)|0;var cU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),V=Math.imul(b0,o0),V=V+Math.imul(h0,r0)|0,T=Math.imul(h0,o0),A=A+Math.imul(p0,l)|0,V=V+Math.imul(p0,X0)|0,V=V+Math.imul(c0,l)|0,T=T+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,V=V+Math.imul(M0,v0)|0,V=V+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,V=V+Math.imul(I0,f0)|0,V=V+Math.imul(D0,x0)|0,T=T+Math.imul(D0,f0)|0,A=A+Math.imul(Y0,n0)|0,V=V+Math.imul(Y0,i0)|0,V=V+Math.imul(W0,n0)|0,T=T+Math.imul(W0,i0)|0,A=A+Math.imul(c,a0)|0,V=V+Math.imul(c,i)|0,V=V+Math.imul(n,a0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,V=V+Math.imul(Z0,q0)|0,V=V+Math.imul(A0,E0)|0,T=T+Math.imul(A0,q0)|0,A=A+Math.imul(s,d0)|0,V=V+Math.imul(s,t0)|0,V=V+Math.imul(e,d0)|0,T=T+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,V=V+Math.imul(U0,$$)|0,V=V+Math.imul(z0,I$)|0,T=T+Math.imul(z0,$$)|0,A=A+Math.imul(v,X$)|0,V=V+Math.imul(v,e0)|0,V=V+Math.imul(h,X$)|0,T=T+Math.imul(h,e0)|0;var pU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,l),V=Math.imul(b0,X0),V=V+Math.imul(h0,l)|0,T=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,V=V+Math.imul(p0,v0)|0,V=V+Math.imul(c0,S0)|0,T=T+Math.imul(c0,v0)|0,A=A+Math.imul(M0,x0)|0,V=V+Math.imul(M0,f0)|0,V=V+Math.imul(B0,x0)|0,T=T+Math.imul(B0,f0)|0,A=A+Math.imul(I0,n0)|0,V=V+Math.imul(I0,i0)|0,V=V+Math.imul(D0,n0)|0,T=T+Math.imul(D0,i0)|0,A=A+Math.imul(Y0,a0)|0,V=V+Math.imul(Y0,i)|0,V=V+Math.imul(W0,a0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(c,E0)|0,V=V+Math.imul(c,q0)|0,V=V+Math.imul(n,E0)|0,T=T+Math.imul(n,q0)|0,A=A+Math.imul(Z0,d0)|0,V=V+Math.imul(Z0,t0)|0,V=V+Math.imul(A0,d0)|0,T=T+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,V=V+Math.imul(s,$$)|0,V=V+Math.imul(e,I$)|0,T=T+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,V=V+Math.imul(U0,e0)|0,V=V+Math.imul(z0,X$)|0,T=T+Math.imul(z0,e0)|0;var r$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),V=Math.imul(b0,v0),V=V+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(p0,x0)|0,V=V+Math.imul(p0,f0)|0,V=V+Math.imul(c0,x0)|0,T=T+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,V=V+Math.imul(M0,i0)|0,V=V+Math.imul(B0,n0)|0,T=T+Math.imul(B0,i0)|0,A=A+Math.imul(I0,a0)|0,V=V+Math.imul(I0,i)|0,V=V+Math.imul(D0,a0)|0,T=T+Math.imul(D0,i)|0,A=A+Math.imul(Y0,E0)|0,V=V+Math.imul(Y0,q0)|0,V=V+Math.imul(W0,E0)|0,T=T+Math.imul(W0,q0)|0,A=A+Math.imul(c,d0)|0,V=V+Math.imul(c,t0)|0,V=V+Math.imul(n,d0)|0,T=T+Math.imul(n,t0)|0,A=A+Math.imul(Z0,I$)|0,V=V+Math.imul(Z0,$$)|0,V=V+Math.imul(A0,I$)|0,T=T+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,V=V+Math.imul(s,e0)|0,V=V+Math.imul(e,X$)|0,T=T+Math.imul(e,e0)|0;var LU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,x0),V=Math.imul(b0,f0),V=V+Math.imul(h0,x0)|0,T=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,V=V+Math.imul(p0,i0)|0,V=V+Math.imul(c0,n0)|0,T=T+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,V=V+Math.imul(M0,i)|0,V=V+Math.imul(B0,a0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,E0)|0,V=V+Math.imul(I0,q0)|0,V=V+Math.imul(D0,E0)|0,T=T+Math.imul(D0,q0)|0,A=A+Math.imul(Y0,d0)|0,V=V+Math.imul(Y0,t0)|0,V=V+Math.imul(W0,d0)|0,T=T+Math.imul(W0,t0)|0,A=A+Math.imul(c,I$)|0,V=V+Math.imul(c,$$)|0,V=V+Math.imul(n,I$)|0,T=T+Math.imul(n,$$)|0,A=A+Math.imul(Z0,X$)|0,V=V+Math.imul(Z0,e0)|0,V=V+Math.imul(A0,X$)|0,T=T+Math.imul(A0,e0)|0;var WU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(WU>>>26)|0,WU&=67108863,A=Math.imul(b0,n0),V=Math.imul(b0,i0),V=V+Math.imul(h0,n0)|0,T=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,V=V+Math.imul(p0,i)|0,V=V+Math.imul(c0,a0)|0,T=T+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,V=V+Math.imul(M0,q0)|0,V=V+Math.imul(B0,E0)|0,T=T+Math.imul(B0,q0)|0,A=A+Math.imul(I0,d0)|0,V=V+Math.imul(I0,t0)|0,V=V+Math.imul(D0,d0)|0,T=T+Math.imul(D0,t0)|0,A=A+Math.imul(Y0,I$)|0,V=V+Math.imul(Y0,$$)|0,V=V+Math.imul(W0,I$)|0,T=T+Math.imul(W0,$$)|0,A=A+Math.imul(c,X$)|0,V=V+Math.imul(c,e0)|0,V=V+Math.imul(n,X$)|0,T=T+Math.imul(n,e0)|0;var lU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(b0,a0),V=Math.imul(b0,i),V=V+Math.imul(h0,a0)|0,T=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,V=V+Math.imul(p0,q0)|0,V=V+Math.imul(c0,E0)|0,T=T+Math.imul(c0,q0)|0,A=A+Math.imul(M0,d0)|0,V=V+Math.imul(M0,t0)|0,V=V+Math.imul(B0,d0)|0,T=T+Math.imul(B0,t0)|0,A=A+Math.imul(I0,I$)|0,V=V+Math.imul(I0,$$)|0,V=V+Math.imul(D0,I$)|0,T=T+Math.imul(D0,$$)|0,A=A+Math.imul(Y0,X$)|0,V=V+Math.imul(Y0,e0)|0,V=V+Math.imul(W0,X$)|0,T=T+Math.imul(W0,e0)|0;var EU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,E0),V=Math.imul(b0,q0),V=V+Math.imul(h0,E0)|0,T=Math.imul(h0,q0),A=A+Math.imul(p0,d0)|0,V=V+Math.imul(p0,t0)|0,V=V+Math.imul(c0,d0)|0,T=T+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,V=V+Math.imul(M0,$$)|0,V=V+Math.imul(B0,I$)|0,T=T+Math.imul(B0,$$)|0,A=A+Math.imul(I0,X$)|0,V=V+Math.imul(I0,e0)|0,V=V+Math.imul(D0,X$)|0,T=T+Math.imul(D0,e0)|0;var vU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(b0,d0),V=Math.imul(b0,t0),V=V+Math.imul(h0,d0)|0,T=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,V=V+Math.imul(p0,$$)|0,V=V+Math.imul(c0,I$)|0,T=T+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,V=V+Math.imul(M0,e0)|0,V=V+Math.imul(B0,X$)|0,T=T+Math.imul(B0,e0)|0;var xU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(b0,I$),V=Math.imul(b0,$$),V=V+Math.imul(h0,I$)|0,T=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,V=V+Math.imul(p0,e0)|0,V=V+Math.imul(c0,X$)|0,T=T+Math.imul(c0,e0)|0;var jU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(jU>>>26)|0,jU&=67108863,A=Math.imul(b0,X$),V=Math.imul(b0,e0),V=V+Math.imul(h0,X$)|0,T=Math.imul(h0,e0);var MU=(S+A|0)+((V&8191)<<13)|0;if(S=(T+(V>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=R$,P[2]=q$,P[3]=$U,P[4]=d$,P[5]=uU,P[6]=bU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=WU,P[13]=lU,P[14]=EU,P[15]=vU,P[16]=xU,P[17]=jU,P[18]=MU,S!==0)P[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var W=0,O=0;for(var P=0;P<H.length-1;P++){var S=O;O=0;var A=W&67108863,V=Math.min(P,K.length-1);for(var T=Math.max(0,P-G.length+1);T<=V;T++){var g=P-T,v=G.words[g]|0,h=K.words[T]|0,r=v*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,O+=S>>>26,S&=67108863}H.words[P]=A,W=S,S=O}if(W!==0)H.words[P]=W;else H.length--;return H.strip()}function x(G,K,H){var W=new u;return W.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,W=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(W<63)H=y(this,G,K);else if(W<1024)H=b(this,G,K);else H=x(this,G,K);return H};function u(G,K){this.x=G,this.y=K}u.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)K[W]=this.revBin(W,H,G);return K},u.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var W=0;for(var O=0;O<K;O++)W|=(G&1)<<K-O-1,G>>=1;return W},u.prototype.permute=function(G,K,H,W,O,P){for(var S=0;S<P;S++)W[S]=K[G[S]],O[S]=H[G[S]]},u.prototype.transform=function(G,K,H,W,O,P){this.permute(P,G,K,H,W,O);for(var S=1;S<O;S<<=1){var A=S<<1,V=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<O;g+=A){var v=V,h=T;for(var r=0;r<S;r++){var U0=H[g+r],z0=W[g+r],Q0=H[g+r+S],s=W[g+r+S],e=v*Q0-h*s;if(s=v*s+h*Q0,Q0=e,H[g+r]=U0+Q0,W[g+r]=z0+s,H[g+r+S]=U0-Q0,W[g+r+S]=z0-s,r!==A)e=V*v-T*h,h=V*h+T*v,v=e}}}},u.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,W=H&1,O=0;for(H=H/2|0;H;H=H>>>1)O++;return 1<<O+1+W},u.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var W=0;W<H/2;W++){var O=G[W];G[W]=G[H-W-1],G[H-W-1]=O,O=K[W],K[W]=-K[H-W-1],K[H-W-1]=-O}},u.prototype.normalize13b=function(G,K){var H=0;for(var W=0;W<K/2;W++){var O=Math.round(G[2*W+1]/K)*8192+Math.round(G[2*W]/K)+H;if(G[W]=O&67108863,O<67108864)H=0;else H=O/67108864|0}return G},u.prototype.convert13b=function(G,K,H,W){var O=0;for(var P=0;P<K;P++)O=O+(G[P]|0),H[2*P]=O&8191,O=O>>>13,H[2*P+1]=O&8191,O=O>>>13;for(P=2*K;P<W;++P)H[P]=0;X(O===0),X((O&-8192)===0)},u.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},u.prototype.mulp=function(G,K,H){var W=2*this.guessLen13b(G.length,K.length),O=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),V=Array(W),T=Array(W),g=Array(W),v=Array(W),h=H.words;h.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(K.words,K.length,T,W),this.transform(S,P,A,V,W,O),this.transform(T,P,g,v,W,O);for(var r=0;r<W;r++){var U0=A[r]*g[r]-V[r]*v[r];V[r]=A[r]*v[r]+V[r]*g[r],A[r]=U0}return this.conjugate(A,V,W),this.transform(A,V,h,P,W,O),this.conjugate(h,P,W),this.normalize13b(h,W),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var K=0;for(var H=0;H<this.length;H++){var W=(this.words[H]|0)*G,O=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=O>>>26,this.words[H]=O&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=N(G);if(K.length===0)return new Z(1);var H=this;for(var W=0;W<K.length;W++,H=H.sqr())if(K[W]!==0)break;if(++W<K.length)for(var O=H.sqr();W<K.length;W++,O=O.sqr()){if(K[W]===0)continue;H=H.mul(O)}return H},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=67108863>>>26-K<<26-K,O;if(K!==0){var P=0;for(O=0;O<this.length;O++){var S=this.words[O]&W,A=(this.words[O]|0)-S<<K;this.words[O]=A|P,P=S>>>26-K}if(P)this.words[O]=P,this.length++}if(H!==0){for(O=this.length-1;O>=0;O--)this.words[O+H]=this.words[O];for(O=0;O<H;O++)this.words[O]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){X(typeof G==="number"&&G>=0);var W;if(K)W=(K-K%26)/26;else W=0;var O=G%26,P=Math.min((G-O)/26,this.length),S=67108863^67108863>>>O<<O,A=H;if(W-=P,W=Math.max(0,W),A){for(var V=0;V<P;V++)A.words[V]=this.words[V];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(V=0;V<this.length;V++)this.words[V]=this.words[V+P]}else this.words[0]=0,this.length=1;var T=0;for(V=this.length-1;V>=0&&(T!==0||V>=W);V--){var g=this.words[V]|0;this.words[V]=T<<26-O|g>>>O,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return X(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return!1;var O=this.words[H];return!!(O&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var W=G.length+H,O;this._expand(W);var P,S=0;for(O=0;O<G.length;O++){P=(this.words[O+H]|0)+S;var A=(G.words[O]|0)*K;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[O+H]=P&67108863}for(;O<this.length-H;O++)P=(this.words[O+H]|0)+S,S=P>>26,this.words[O+H]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(O=0;O<this.length;O++)P=-(this.words[O]|0)+S,S=P>>26,this.words[O]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,W=this.clone(),O=G,P=O.words[O.length-1]|0,S=this._countBits(P);if(H=26-S,H!==0)O=O.ushln(H),W.iushln(H),P=O.words[O.length-1]|0;var A=W.length-O.length,V;if(K!=="mod"){V=new Z(null),V.length=A+1,V.words=Array(V.length);for(var T=0;T<V.length;T++)V.words[T]=0}var g=W.clone()._ishlnsubmul(O,1,A);if(g.negative===0){if(W=g,V)V.words[A]=1}for(var v=A-1;v>=0;v--){var h=(W.words[O.length+v]|0)*67108864+(W.words[O.length+v-1]|0);h=Math.min(h/P|0,67108863),W._ishlnsubmul(O,h,v);while(W.negative!==0)if(h--,W.negative=0,W._ishlnsubmul(O,1,v),!W.isZero())W.negative^=1;if(V)V.words[v]=h}if(V)V.strip();if(W.strip(),K!=="div"&&H!==0)W.iushrn(H);return{div:V||null,mod:W}},Z.prototype.divmod=function(G,K,H){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,O,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")W=P.div.neg();if(K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.iadd(G)}return{div:W,mod:O}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.isub(G)}return{div:P.div,mod:O}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,W=G.ushrn(1),O=G.andln(1),P=H.cmp(W);if(P<0||O===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var K=67108864%G,H=0;for(var W=this.length-1;W>=0;W--)H=(K*H+(this.words[W]|0))%G;return H},Z.prototype.idivn=function(G){X(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var W=(this.words[H]|0)+K*67108864;this.words[H]=W/G|0,K=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=new Z(0),S=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var V=H.clone(),T=K.clone();while(!K.isZero()){for(var g=0,v=1;(K.words[0]&v)===0&&g<26;++g,v<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(W.isOdd()||O.isOdd())W.iadd(V),O.isub(T);W.iushrn(1),O.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(P.isOdd()||S.isOdd())P.iadd(V),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(P),O.isub(S);else H.isub(K),P.isub(W),S.isub(O)}return{a:P,b:S,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(K.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){K.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var V=0,T=1;(H.words[0]&T)===0&&V<26;++V,T<<=1);if(V>0){H.iushrn(V);while(V-- >0){if(O.isOdd())O.iadd(P);O.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(O);else H.isub(K),O.isub(W)}var g;if(K.cmpn(1)===0)g=W;else g=O;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var W=0;K.isEven()&&H.isEven();W++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var O=K.cmp(H);if(O<0){var P=K;K=H,H=P}else if(O===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=W,this;var O=W;for(var P=H;O!==0&&P<this.length;P++){var S=this.words[P]|0;S+=O,O=S>>>26,S&=67108863,this.words[P]=S}if(O!==0)this.words[P]=O,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;H=W===G?0:W<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var W=this.words[H]|0,O=G.words[H]|0;if(W===O)continue;if(W<O)K=-1;else if(W>O)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var W=H<this.n?-1:K.ucmp(this.p);if(W===0)K.words[0]=0,K.length=1;else if(W>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(G,K){var H=4194303,W=Math.min(G.length,9);for(var O=0;O<W;O++)K.words[O]=G.words[O];if(K.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(O=10;O<G.length;O++){var S=G.words[O]|0;G.words[O-10]=(S&H)<<4|P>>>22,P=S}if(P>>>=22,G.words[O-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var W=G.words[H]|0;K+=W*977,G.words[H]=K&67108863,K=W*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function O0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(O0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function j0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(j0,d),j0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var W=(G.words[H]|0)*19+K,O=W&67108863;W>>>=26,G.words[H]=O,K=W}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new O0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new j0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){X((G.negative|K.negative)===0,"red works only with positives"),X(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(X(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var W=this.m.subn(1),O=0;while(!W.isZero()&&W.andln(1)===0)O++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),V=this.m.bitLength();V=new Z(2*V*V).toRed(this);while(this.pow(V,A).cmp(S)!==0)V.redIAdd(S);var T=this.pow(V,W),g=this.pow(G,W.addn(1).iushrn(1)),v=this.pow(G,W),h=O;while(v.cmp(P)!==0){var r=v;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(T,new Z(1).iushln(h-U0-1));g=g.redMul(z0),T=z0.redSqr(),v=v.redMul(T),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,W=Array(1<<H);W[0]=new Z(1).toRed(this),W[1]=G;for(var O=2;O<W.length;O++)W[O]=this.mul(W[O-1],G);var P=W[0],S=0,A=0,V=K.bitLength()%26;if(V===0)V=26;for(O=K.length-1;O>=0;O--){var T=K.words[O];for(var g=V-1;g>=0;g--){var v=T>>g&1;if(P!==W[0])P=this.sqr(P);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==H&&(O!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}V=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(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(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},T0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,I)}),Df=u0((I,J)=>{var Y=Vf(),D=zf();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 Y.ec(this.curveType.name),this.keys=void 0}z.prototype.generateKeys=function(L,R){return this.keys=this.curve.genKeyPair(),this.getPublicKey(L,R)},z.prototype.computeSecret=function(L,R,j){if(R=R||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,R);var q=this.curve.keyFromPublic(L).getPublic(),C=q.mul(this.keys.getPrivate()).getX();return Z(C,j,this.curveType.byteLength)},z.prototype.getPublicKey=function(L,R){var j=this.keys.getPublic(R==="compressed",!0);if(R==="hybrid")if(j[j.length-1]%2)j[0]=7;else j[0]=6;return Z(j,L)},z.prototype.getPrivateKey=function(L){return Z(this.keys.getPrivate(),L)},z.prototype.setPublicKey=function(L,R){if(R=R||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,R);return this.keys._importPublic(L),this},z.prototype.setPrivateKey=function(L,R){if(R=R||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,R);var j=new D(L);return j=j.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(j),this};function Z(L,R,j){if(!Array.isArray(L))L=L.toArray();var q=new Buffer(L);if(j&&q.length<j){var C=new Buffer(j-q.length);C.fill(0),q=Buffer.concat([C,q])}if(!R)return q;else return q.toString(R)}}),Wf=u0((I,J)=>{var Y=(yU(),S$(H4)).createECDH;J.exports=Y||Df()}),Kf=u0((I,J)=>{(function(Y,D){function X(G,K){if(!G)throw Error(K||"Assertion failed")}function z(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else D.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),S$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;X(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(K===16)this._parseHex(G,W,H);else if(this._parseBase(G,K,W),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O,P,S=0;if(H==="be"){for(W=G.length-1,O=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}else if(H==="le"){for(W=0,O=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}return this.strip()};function R(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function j(G,K,H){var W=R(G,H);if(H-1>=K)W|=R(G,H-1)<<4;return W}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O=0,P=0,S;if(H==="be")for(W=G.length-1;W>=K;W-=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8;else{var A=G.length-K;for(W=A%2===0?K+1:K;W<G.length;W+=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8}this.strip()};function q(G,K,H,W){var O=0,P=Math.min(G.length,H);for(var S=K;S<P;S++){var A=G.charCodeAt(S)-48;if(O*=W,A>=49)O+=A-49+10;else if(A>=17)O+=A-17+10;else O+=A}return O}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var W=0,O=1;O<=67108863;O*=K)W++;W--,O=O/K|0;var P=G.length-H,S=P%W,A=Math.min(P,P-S)+H,V=0;for(var T=H;T<A;T+=W)if(V=q(G,T,T+W,K),this.imuln(O),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V);if(S!==0){var g=1;V=q(G,T,G.length,K);for(T=0;T<S;T++)g*=K;if(this.imuln(g),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","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"],E=[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],B=[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(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var W=0,O=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|O)&16777215).toString(16);if(O=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(O!==0||P!==this.length-1)H=C[6-A.length]+A+H;else H=A+H}if(O!==0)H=O.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var V=E[G],T=B[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var v=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())H=C[V-v.length]+v+H;else H=v+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=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?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return X(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var W=this.byteLength(),O=H||Math.max(1,W);X(W<=O,"byte array longer than desired length"),X(O>0,"Requested array length <= 0"),this.strip();var P=K==="le",S=new G(O),A,V,T=this.clone();if(!P){for(V=0;V<O-W;V++)S[V]=0;for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[O-V-1]=A}else{for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[V]=A;for(;V<O;V++)S[V]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function N(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var W=H/26|0,O=H%26;K[H]=(G.words[W]&1<<O)>>>O}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var W=0;W<H.length;W++)this.words[W]=K.words[W]^H.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(H>0)this.words[W]=~this.words[W]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){X(typeof G==="number"&&G>=0);var H=G/26|0,W=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<W;else this.words[H]=this.words[H]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,W;if(this.length>G.length)H=this,W=G;else H=G,W=this;var O=0;for(var P=0;P<W.length;P++)K=(H.words[P]|0)+(W.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;for(;O!==0&&P<H.length;P++)K=(H.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;if(this.length=H.length,O!==0)this.words[this.length]=O,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,O;if(H>0)W=this,O=G;else W=G,O=this;var P=0;for(var S=0;S<O.length;S++)K=(W.words[S]|0)-(O.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;for(;P!==0&&S<W.length;S++)K=(W.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var W=G.length+K.length|0;H.length=W,W=W-1|0;var O=G.words[0]|0,P=K.words[0]|0,S=O*P,A=S&67108863,V=S/67108864|0;H.words[0]=A;for(var T=1;T<W;T++){var g=V>>>26,v=V&67108863,h=Math.min(T,K.length-1);for(var r=Math.max(0,T-G.length+1);r<=h;r++){var U0=T-r|0;O=G.words[U0]|0,P=K.words[r]|0,S=O*P+v,g+=S/67108864|0,v=S&67108863}H.words[T]=v|0,V=g|0}if(V!==0)H.words[T]=V|0;else H.length--;return H.strip()}var w=function(G,K,H){var W=G.words,O=K.words,P=H.words,S=0,A,V,T,g=W[0]|0,v=g&8191,h=g>>>13,r=W[1]|0,U0=r&8191,z0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,c=$0&8191,n=$0>>>13,H0=W[5]|0,Y0=H0&8191,W0=H0>>>13,N0=W[6]|0,I0=N0&8191,D0=N0>>>13,U$=W[7]|0,M0=U$&8191,B0=U$>>>13,L$=W[8]|0,p0=L$&8191,c0=L$>>>13,i$=W[9]|0,b0=i$&8191,h0=i$>>>13,QU=O[0]|0,r0=QU&8191,o0=QU>>>13,PU=O[1]|0,l=PU&8191,X0=PU>>>13,s0=O[2]|0,S0=s0&8191,v0=s0>>>13,O$=O[3]|0,x0=O$&8191,f0=O$>>>13,W$=O[4]|0,n0=W$&8191,i0=W$>>>13,DU=O[5]|0,a0=DU&8191,i=DU>>>13,G0=O[6]|0,E0=G0&8191,q0=G0>>>13,V$=O[7]|0,d0=V$&8191,t0=V$>>>13,HU=O[8]|0,I$=HU&8191,$$=HU>>>13,e$=O[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(v,r0),V=Math.imul(v,o0),V=V+Math.imul(h,r0)|0,T=Math.imul(h,o0);var _U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),V=Math.imul(U0,o0),V=V+Math.imul(z0,r0)|0,T=Math.imul(z0,o0),A=A+Math.imul(v,l)|0,V=V+Math.imul(v,X0)|0,V=V+Math.imul(h,l)|0,T=T+Math.imul(h,X0)|0;var R$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(R$>>>26)|0,R$&=67108863,A=Math.imul(s,r0),V=Math.imul(s,o0),V=V+Math.imul(e,r0)|0,T=Math.imul(e,o0),A=A+Math.imul(U0,l)|0,V=V+Math.imul(U0,X0)|0,V=V+Math.imul(z0,l)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(v,S0)|0,V=V+Math.imul(v,v0)|0,V=V+Math.imul(h,S0)|0,T=T+Math.imul(h,v0)|0;var q$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(q$>>>26)|0,q$&=67108863,A=Math.imul(Z0,r0),V=Math.imul(Z0,o0),V=V+Math.imul(A0,r0)|0,T=Math.imul(A0,o0),A=A+Math.imul(s,l)|0,V=V+Math.imul(s,X0)|0,V=V+Math.imul(e,l)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,V=V+Math.imul(U0,v0)|0,V=V+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(v,x0)|0,V=V+Math.imul(v,f0)|0,V=V+Math.imul(h,x0)|0,T=T+Math.imul(h,f0)|0;var $U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),V=Math.imul(c,o0),V=V+Math.imul(n,r0)|0,T=Math.imul(n,o0),A=A+Math.imul(Z0,l)|0,V=V+Math.imul(Z0,X0)|0,V=V+Math.imul(A0,l)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,V=V+Math.imul(s,v0)|0,V=V+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,V=V+Math.imul(U0,f0)|0,V=V+Math.imul(z0,x0)|0,T=T+Math.imul(z0,f0)|0,A=A+Math.imul(v,n0)|0,V=V+Math.imul(v,i0)|0,V=V+Math.imul(h,n0)|0,T=T+Math.imul(h,i0)|0;var d$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),V=Math.imul(Y0,o0),V=V+Math.imul(W0,r0)|0,T=Math.imul(W0,o0),A=A+Math.imul(c,l)|0,V=V+Math.imul(c,X0)|0,V=V+Math.imul(n,l)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,V=V+Math.imul(Z0,v0)|0,V=V+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,V=V+Math.imul(s,f0)|0,V=V+Math.imul(e,x0)|0,T=T+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,V=V+Math.imul(U0,i0)|0,V=V+Math.imul(z0,n0)|0,T=T+Math.imul(z0,i0)|0,A=A+Math.imul(v,a0)|0,V=V+Math.imul(v,i)|0,V=V+Math.imul(h,a0)|0,T=T+Math.imul(h,i)|0;var uU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),V=Math.imul(I0,o0),V=V+Math.imul(D0,r0)|0,T=Math.imul(D0,o0),A=A+Math.imul(Y0,l)|0,V=V+Math.imul(Y0,X0)|0,V=V+Math.imul(W0,l)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(c,S0)|0,V=V+Math.imul(c,v0)|0,V=V+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,V=V+Math.imul(Z0,f0)|0,V=V+Math.imul(A0,x0)|0,T=T+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,V=V+Math.imul(s,i0)|0,V=V+Math.imul(e,n0)|0,T=T+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,V=V+Math.imul(U0,i)|0,V=V+Math.imul(z0,a0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(v,E0)|0,V=V+Math.imul(v,q0)|0,V=V+Math.imul(h,E0)|0,T=T+Math.imul(h,q0)|0;var bU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),V=Math.imul(M0,o0),V=V+Math.imul(B0,r0)|0,T=Math.imul(B0,o0),A=A+Math.imul(I0,l)|0,V=V+Math.imul(I0,X0)|0,V=V+Math.imul(D0,l)|0,T=T+Math.imul(D0,X0)|0,A=A+Math.imul(Y0,S0)|0,V=V+Math.imul(Y0,v0)|0,V=V+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(c,x0)|0,V=V+Math.imul(c,f0)|0,V=V+Math.imul(n,x0)|0,T=T+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,V=V+Math.imul(Z0,i0)|0,V=V+Math.imul(A0,n0)|0,T=T+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,V=V+Math.imul(s,i)|0,V=V+Math.imul(e,a0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,V=V+Math.imul(U0,q0)|0,V=V+Math.imul(z0,E0)|0,T=T+Math.imul(z0,q0)|0,A=A+Math.imul(v,d0)|0,V=V+Math.imul(v,t0)|0,V=V+Math.imul(h,d0)|0,T=T+Math.imul(h,t0)|0;var hU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),V=Math.imul(p0,o0),V=V+Math.imul(c0,r0)|0,T=Math.imul(c0,o0),A=A+Math.imul(M0,l)|0,V=V+Math.imul(M0,X0)|0,V=V+Math.imul(B0,l)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,V=V+Math.imul(I0,v0)|0,V=V+Math.imul(D0,S0)|0,T=T+Math.imul(D0,v0)|0,A=A+Math.imul(Y0,x0)|0,V=V+Math.imul(Y0,f0)|0,V=V+Math.imul(W0,x0)|0,T=T+Math.imul(W0,f0)|0,A=A+Math.imul(c,n0)|0,V=V+Math.imul(c,i0)|0,V=V+Math.imul(n,n0)|0,T=T+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,V=V+Math.imul(Z0,i)|0,V=V+Math.imul(A0,a0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,V=V+Math.imul(s,q0)|0,V=V+Math.imul(e,E0)|0,T=T+Math.imul(e,q0)|0,A=A+Math.imul(U0,d0)|0,V=V+Math.imul(U0,t0)|0,V=V+Math.imul(z0,d0)|0,T=T+Math.imul(z0,t0)|0,A=A+Math.imul(v,I$)|0,V=V+Math.imul(v,$$)|0,V=V+Math.imul(h,I$)|0,T=T+Math.imul(h,$$)|0;var cU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),V=Math.imul(b0,o0),V=V+Math.imul(h0,r0)|0,T=Math.imul(h0,o0),A=A+Math.imul(p0,l)|0,V=V+Math.imul(p0,X0)|0,V=V+Math.imul(c0,l)|0,T=T+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,V=V+Math.imul(M0,v0)|0,V=V+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,V=V+Math.imul(I0,f0)|0,V=V+Math.imul(D0,x0)|0,T=T+Math.imul(D0,f0)|0,A=A+Math.imul(Y0,n0)|0,V=V+Math.imul(Y0,i0)|0,V=V+Math.imul(W0,n0)|0,T=T+Math.imul(W0,i0)|0,A=A+Math.imul(c,a0)|0,V=V+Math.imul(c,i)|0,V=V+Math.imul(n,a0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,V=V+Math.imul(Z0,q0)|0,V=V+Math.imul(A0,E0)|0,T=T+Math.imul(A0,q0)|0,A=A+Math.imul(s,d0)|0,V=V+Math.imul(s,t0)|0,V=V+Math.imul(e,d0)|0,T=T+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,V=V+Math.imul(U0,$$)|0,V=V+Math.imul(z0,I$)|0,T=T+Math.imul(z0,$$)|0,A=A+Math.imul(v,X$)|0,V=V+Math.imul(v,e0)|0,V=V+Math.imul(h,X$)|0,T=T+Math.imul(h,e0)|0;var pU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,l),V=Math.imul(b0,X0),V=V+Math.imul(h0,l)|0,T=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,V=V+Math.imul(p0,v0)|0,V=V+Math.imul(c0,S0)|0,T=T+Math.imul(c0,v0)|0,A=A+Math.imul(M0,x0)|0,V=V+Math.imul(M0,f0)|0,V=V+Math.imul(B0,x0)|0,T=T+Math.imul(B0,f0)|0,A=A+Math.imul(I0,n0)|0,V=V+Math.imul(I0,i0)|0,V=V+Math.imul(D0,n0)|0,T=T+Math.imul(D0,i0)|0,A=A+Math.imul(Y0,a0)|0,V=V+Math.imul(Y0,i)|0,V=V+Math.imul(W0,a0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(c,E0)|0,V=V+Math.imul(c,q0)|0,V=V+Math.imul(n,E0)|0,T=T+Math.imul(n,q0)|0,A=A+Math.imul(Z0,d0)|0,V=V+Math.imul(Z0,t0)|0,V=V+Math.imul(A0,d0)|0,T=T+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,V=V+Math.imul(s,$$)|0,V=V+Math.imul(e,I$)|0,T=T+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,V=V+Math.imul(U0,e0)|0,V=V+Math.imul(z0,X$)|0,T=T+Math.imul(z0,e0)|0;var r$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),V=Math.imul(b0,v0),V=V+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(p0,x0)|0,V=V+Math.imul(p0,f0)|0,V=V+Math.imul(c0,x0)|0,T=T+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,V=V+Math.imul(M0,i0)|0,V=V+Math.imul(B0,n0)|0,T=T+Math.imul(B0,i0)|0,A=A+Math.imul(I0,a0)|0,V=V+Math.imul(I0,i)|0,V=V+Math.imul(D0,a0)|0,T=T+Math.imul(D0,i)|0,A=A+Math.imul(Y0,E0)|0,V=V+Math.imul(Y0,q0)|0,V=V+Math.imul(W0,E0)|0,T=T+Math.imul(W0,q0)|0,A=A+Math.imul(c,d0)|0,V=V+Math.imul(c,t0)|0,V=V+Math.imul(n,d0)|0,T=T+Math.imul(n,t0)|0,A=A+Math.imul(Z0,I$)|0,V=V+Math.imul(Z0,$$)|0,V=V+Math.imul(A0,I$)|0,T=T+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,V=V+Math.imul(s,e0)|0,V=V+Math.imul(e,X$)|0,T=T+Math.imul(e,e0)|0;var LU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,x0),V=Math.imul(b0,f0),V=V+Math.imul(h0,x0)|0,T=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,V=V+Math.imul(p0,i0)|0,V=V+Math.imul(c0,n0)|0,T=T+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,V=V+Math.imul(M0,i)|0,V=V+Math.imul(B0,a0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,E0)|0,V=V+Math.imul(I0,q0)|0,V=V+Math.imul(D0,E0)|0,T=T+Math.imul(D0,q0)|0,A=A+Math.imul(Y0,d0)|0,V=V+Math.imul(Y0,t0)|0,V=V+Math.imul(W0,d0)|0,T=T+Math.imul(W0,t0)|0,A=A+Math.imul(c,I$)|0,V=V+Math.imul(c,$$)|0,V=V+Math.imul(n,I$)|0,T=T+Math.imul(n,$$)|0,A=A+Math.imul(Z0,X$)|0,V=V+Math.imul(Z0,e0)|0,V=V+Math.imul(A0,X$)|0,T=T+Math.imul(A0,e0)|0;var WU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(WU>>>26)|0,WU&=67108863,A=Math.imul(b0,n0),V=Math.imul(b0,i0),V=V+Math.imul(h0,n0)|0,T=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,V=V+Math.imul(p0,i)|0,V=V+Math.imul(c0,a0)|0,T=T+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,V=V+Math.imul(M0,q0)|0,V=V+Math.imul(B0,E0)|0,T=T+Math.imul(B0,q0)|0,A=A+Math.imul(I0,d0)|0,V=V+Math.imul(I0,t0)|0,V=V+Math.imul(D0,d0)|0,T=T+Math.imul(D0,t0)|0,A=A+Math.imul(Y0,I$)|0,V=V+Math.imul(Y0,$$)|0,V=V+Math.imul(W0,I$)|0,T=T+Math.imul(W0,$$)|0,A=A+Math.imul(c,X$)|0,V=V+Math.imul(c,e0)|0,V=V+Math.imul(n,X$)|0,T=T+Math.imul(n,e0)|0;var lU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(b0,a0),V=Math.imul(b0,i),V=V+Math.imul(h0,a0)|0,T=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,V=V+Math.imul(p0,q0)|0,V=V+Math.imul(c0,E0)|0,T=T+Math.imul(c0,q0)|0,A=A+Math.imul(M0,d0)|0,V=V+Math.imul(M0,t0)|0,V=V+Math.imul(B0,d0)|0,T=T+Math.imul(B0,t0)|0,A=A+Math.imul(I0,I$)|0,V=V+Math.imul(I0,$$)|0,V=V+Math.imul(D0,I$)|0,T=T+Math.imul(D0,$$)|0,A=A+Math.imul(Y0,X$)|0,V=V+Math.imul(Y0,e0)|0,V=V+Math.imul(W0,X$)|0,T=T+Math.imul(W0,e0)|0;var EU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,E0),V=Math.imul(b0,q0),V=V+Math.imul(h0,E0)|0,T=Math.imul(h0,q0),A=A+Math.imul(p0,d0)|0,V=V+Math.imul(p0,t0)|0,V=V+Math.imul(c0,d0)|0,T=T+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,V=V+Math.imul(M0,$$)|0,V=V+Math.imul(B0,I$)|0,T=T+Math.imul(B0,$$)|0,A=A+Math.imul(I0,X$)|0,V=V+Math.imul(I0,e0)|0,V=V+Math.imul(D0,X$)|0,T=T+Math.imul(D0,e0)|0;var vU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(b0,d0),V=Math.imul(b0,t0),V=V+Math.imul(h0,d0)|0,T=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,V=V+Math.imul(p0,$$)|0,V=V+Math.imul(c0,I$)|0,T=T+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,V=V+Math.imul(M0,e0)|0,V=V+Math.imul(B0,X$)|0,T=T+Math.imul(B0,e0)|0;var xU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(b0,I$),V=Math.imul(b0,$$),V=V+Math.imul(h0,I$)|0,T=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,V=V+Math.imul(p0,e0)|0,V=V+Math.imul(c0,X$)|0,T=T+Math.imul(c0,e0)|0;var jU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(jU>>>26)|0,jU&=67108863,A=Math.imul(b0,X$),V=Math.imul(b0,e0),V=V+Math.imul(h0,X$)|0,T=Math.imul(h0,e0);var MU=(S+A|0)+((V&8191)<<13)|0;if(S=(T+(V>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=R$,P[2]=q$,P[3]=$U,P[4]=d$,P[5]=uU,P[6]=bU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=WU,P[13]=lU,P[14]=EU,P[15]=vU,P[16]=xU,P[17]=jU,P[18]=MU,S!==0)P[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var W=0,O=0;for(var P=0;P<H.length-1;P++){var S=O;O=0;var A=W&67108863,V=Math.min(P,K.length-1);for(var T=Math.max(0,P-G.length+1);T<=V;T++){var g=P-T,v=G.words[g]|0,h=K.words[T]|0,r=v*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,O+=S>>>26,S&=67108863}H.words[P]=A,W=S,S=O}if(W!==0)H.words[P]=W;else H.length--;return H.strip()}function x(G,K,H){var W=new u;return W.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,W=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(W<63)H=y(this,G,K);else if(W<1024)H=b(this,G,K);else H=x(this,G,K);return H};function u(G,K){this.x=G,this.y=K}u.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)K[W]=this.revBin(W,H,G);return K},u.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var W=0;for(var O=0;O<K;O++)W|=(G&1)<<K-O-1,G>>=1;return W},u.prototype.permute=function(G,K,H,W,O,P){for(var S=0;S<P;S++)W[S]=K[G[S]],O[S]=H[G[S]]},u.prototype.transform=function(G,K,H,W,O,P){this.permute(P,G,K,H,W,O);for(var S=1;S<O;S<<=1){var A=S<<1,V=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<O;g+=A){var v=V,h=T;for(var r=0;r<S;r++){var U0=H[g+r],z0=W[g+r],Q0=H[g+r+S],s=W[g+r+S],e=v*Q0-h*s;if(s=v*s+h*Q0,Q0=e,H[g+r]=U0+Q0,W[g+r]=z0+s,H[g+r+S]=U0-Q0,W[g+r+S]=z0-s,r!==A)e=V*v-T*h,h=V*h+T*v,v=e}}}},u.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,W=H&1,O=0;for(H=H/2|0;H;H=H>>>1)O++;return 1<<O+1+W},u.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var W=0;W<H/2;W++){var O=G[W];G[W]=G[H-W-1],G[H-W-1]=O,O=K[W],K[W]=-K[H-W-1],K[H-W-1]=-O}},u.prototype.normalize13b=function(G,K){var H=0;for(var W=0;W<K/2;W++){var O=Math.round(G[2*W+1]/K)*8192+Math.round(G[2*W]/K)+H;if(G[W]=O&67108863,O<67108864)H=0;else H=O/67108864|0}return G},u.prototype.convert13b=function(G,K,H,W){var O=0;for(var P=0;P<K;P++)O=O+(G[P]|0),H[2*P]=O&8191,O=O>>>13,H[2*P+1]=O&8191,O=O>>>13;for(P=2*K;P<W;++P)H[P]=0;X(O===0),X((O&-8192)===0)},u.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},u.prototype.mulp=function(G,K,H){var W=2*this.guessLen13b(G.length,K.length),O=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),V=Array(W),T=Array(W),g=Array(W),v=Array(W),h=H.words;h.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(K.words,K.length,T,W),this.transform(S,P,A,V,W,O),this.transform(T,P,g,v,W,O);for(var r=0;r<W;r++){var U0=A[r]*g[r]-V[r]*v[r];V[r]=A[r]*v[r]+V[r]*g[r],A[r]=U0}return this.conjugate(A,V,W),this.transform(A,V,h,P,W,O),this.conjugate(h,P,W),this.normalize13b(h,W),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var K=0;for(var H=0;H<this.length;H++){var W=(this.words[H]|0)*G,O=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=O>>>26,this.words[H]=O&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=N(G);if(K.length===0)return new Z(1);var H=this;for(var W=0;W<K.length;W++,H=H.sqr())if(K[W]!==0)break;if(++W<K.length)for(var O=H.sqr();W<K.length;W++,O=O.sqr()){if(K[W]===0)continue;H=H.mul(O)}return H},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=67108863>>>26-K<<26-K,O;if(K!==0){var P=0;for(O=0;O<this.length;O++){var S=this.words[O]&W,A=(this.words[O]|0)-S<<K;this.words[O]=A|P,P=S>>>26-K}if(P)this.words[O]=P,this.length++}if(H!==0){for(O=this.length-1;O>=0;O--)this.words[O+H]=this.words[O];for(O=0;O<H;O++)this.words[O]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){X(typeof G==="number"&&G>=0);var W;if(K)W=(K-K%26)/26;else W=0;var O=G%26,P=Math.min((G-O)/26,this.length),S=67108863^67108863>>>O<<O,A=H;if(W-=P,W=Math.max(0,W),A){for(var V=0;V<P;V++)A.words[V]=this.words[V];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(V=0;V<this.length;V++)this.words[V]=this.words[V+P]}else this.words[0]=0,this.length=1;var T=0;for(V=this.length-1;V>=0&&(T!==0||V>=W);V--){var g=this.words[V]|0;this.words[V]=T<<26-O|g>>>O,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return X(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return!1;var O=this.words[H];return!!(O&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var W=G.length+H,O;this._expand(W);var P,S=0;for(O=0;O<G.length;O++){P=(this.words[O+H]|0)+S;var A=(G.words[O]|0)*K;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[O+H]=P&67108863}for(;O<this.length-H;O++)P=(this.words[O+H]|0)+S,S=P>>26,this.words[O+H]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(O=0;O<this.length;O++)P=-(this.words[O]|0)+S,S=P>>26,this.words[O]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,W=this.clone(),O=G,P=O.words[O.length-1]|0,S=this._countBits(P);if(H=26-S,H!==0)O=O.ushln(H),W.iushln(H),P=O.words[O.length-1]|0;var A=W.length-O.length,V;if(K!=="mod"){V=new Z(null),V.length=A+1,V.words=Array(V.length);for(var T=0;T<V.length;T++)V.words[T]=0}var g=W.clone()._ishlnsubmul(O,1,A);if(g.negative===0){if(W=g,V)V.words[A]=1}for(var v=A-1;v>=0;v--){var h=(W.words[O.length+v]|0)*67108864+(W.words[O.length+v-1]|0);h=Math.min(h/P|0,67108863),W._ishlnsubmul(O,h,v);while(W.negative!==0)if(h--,W.negative=0,W._ishlnsubmul(O,1,v),!W.isZero())W.negative^=1;if(V)V.words[v]=h}if(V)V.strip();if(W.strip(),K!=="div"&&H!==0)W.iushrn(H);return{div:V||null,mod:W}},Z.prototype.divmod=function(G,K,H){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,O,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")W=P.div.neg();if(K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.iadd(G)}return{div:W,mod:O}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.isub(G)}return{div:P.div,mod:O}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,W=G.ushrn(1),O=G.andln(1),P=H.cmp(W);if(P<0||O===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var K=67108864%G,H=0;for(var W=this.length-1;W>=0;W--)H=(K*H+(this.words[W]|0))%G;return H},Z.prototype.idivn=function(G){X(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var W=(this.words[H]|0)+K*67108864;this.words[H]=W/G|0,K=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=new Z(0),S=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var V=H.clone(),T=K.clone();while(!K.isZero()){for(var g=0,v=1;(K.words[0]&v)===0&&g<26;++g,v<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(W.isOdd()||O.isOdd())W.iadd(V),O.isub(T);W.iushrn(1),O.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(P.isOdd()||S.isOdd())P.iadd(V),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(P),O.isub(S);else H.isub(K),P.isub(W),S.isub(O)}return{a:P,b:S,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(K.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){K.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var V=0,T=1;(H.words[0]&T)===0&&V<26;++V,T<<=1);if(V>0){H.iushrn(V);while(V-- >0){if(O.isOdd())O.iadd(P);O.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(O);else H.isub(K),O.isub(W)}var g;if(K.cmpn(1)===0)g=W;else g=O;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var W=0;K.isEven()&&H.isEven();W++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var O=K.cmp(H);if(O<0){var P=K;K=H,H=P}else if(O===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=W,this;var O=W;for(var P=H;O!==0&&P<this.length;P++){var S=this.words[P]|0;S+=O,O=S>>>26,S&=67108863,this.words[P]=S}if(O!==0)this.words[P]=O,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;H=W===G?0:W<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var W=this.words[H]|0,O=G.words[H]|0;if(W===O)continue;if(W<O)K=-1;else if(W>O)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var W=H<this.n?-1:K.ucmp(this.p);if(W===0)K.words[0]=0,K.length=1;else if(W>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(G,K){var H=4194303,W=Math.min(G.length,9);for(var O=0;O<W;O++)K.words[O]=G.words[O];if(K.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(O=10;O<G.length;O++){var S=G.words[O]|0;G.words[O-10]=(S&H)<<4|P>>>22,P=S}if(P>>>=22,G.words[O-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var W=G.words[H]|0;K+=W*977,G.words[H]=K&67108863,K=W*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function O0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(O0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function j0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(j0,d),j0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var W=(G.words[H]|0)*19+K,O=W&67108863;W>>>=26,G.words[H]=O,K=W}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new O0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new j0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){X((G.negative|K.negative)===0,"red works only with positives"),X(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(X(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var W=this.m.subn(1),O=0;while(!W.isZero()&&W.andln(1)===0)O++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),V=this.m.bitLength();V=new Z(2*V*V).toRed(this);while(this.pow(V,A).cmp(S)!==0)V.redIAdd(S);var T=this.pow(V,W),g=this.pow(G,W.addn(1).iushrn(1)),v=this.pow(G,W),h=O;while(v.cmp(P)!==0){var r=v;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(T,new Z(1).iushln(h-U0-1));g=g.redMul(z0),T=z0.redSqr(),v=v.redMul(T),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,W=Array(1<<H);W[0]=new Z(1).toRed(this),W[1]=G;for(var O=2;O<W.length;O++)W[O]=this.mul(W[O-1],G);var P=W[0],S=0,A=0,V=K.bitLength()%26;if(V===0)V=26;for(O=K.length-1;O>=0;O--){var T=K.words[O];for(var g=V-1;g>=0;g--){var v=T>>g&1;if(P!==W[0])P=this.sqr(P);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==H&&(O!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}V=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(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(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},T0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,I)}),Ff=u0((I)=>{var J=$2(),Y=F4(),D=I;D.define=function(z,Z){return new X(z,Z)};function X(z,Z){this.name=z,this.body=Z,this.decoders={},this.encoders={}}X.prototype._createNamed=function(z){var Z;try{Z=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
|
|
241
|
+
this._initNamed(entity);
|
|
242
|
+
})`)}catch(L){Z=function(R){this._initNamed(R)}}return Y(Z,z),Z.prototype._initNamed=function(L){z.call(this,L)},new Z(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,Z,L){return this._getDecoder(Z).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,Z,L){return this._getEncoder(Z).encode(z,L)}}),Of=u0((I)=>{var J=F4();function Y(X){this._reporterState={obj:null,path:[],options:X||{},errors:[]}}I.Reporter=Y,Y.prototype.isError=function(X){return X instanceof D},Y.prototype.save=function(){var X=this._reporterState;return{obj:X.obj,pathLen:X.path.length}},Y.prototype.restore=function(X){var z=this._reporterState;z.obj=X.obj,z.path=z.path.slice(0,X.pathLen)},Y.prototype.enterKey=function(X){return this._reporterState.path.push(X)},Y.prototype.exitKey=function(X){var z=this._reporterState;z.path=z.path.slice(0,X-1)},Y.prototype.leaveKey=function(X,z,Z){var L=this._reporterState;if(this.exitKey(X),L.obj!==null)L.obj[z]=Z},Y.prototype.path=function(){return this._reporterState.path.join("/")},Y.prototype.enterObject=function(){var X=this._reporterState,z=X.obj;return X.obj={},z},Y.prototype.leaveObject=function(X){var z=this._reporterState,Z=z.obj;return z.obj=X,Z},Y.prototype.error=function(X){var z,Z=this._reporterState,L=X instanceof D;if(L)z=X;else z=new D(Z.path.map(function(R){return"["+JSON.stringify(R)+"]"}).join(""),X.message||X,X.stack);if(!Z.options.partial)throw z;if(!L)Z.errors.push(z);return z},Y.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 D(X,z){this.path=X,this.rethrow(z)}J(D,Error),D.prototype.rethrow=function(X){if(this.message=X+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,D);if(!this.stack)try{throw Error(this.message)}catch(z){this.stack=z.stack}return this}}),kq=u0((I)=>{var J=F4(),Y=rG().Reporter,D=(oU(),S$(nU)).Buffer;function X(Z,L){if(Y.call(this,L),!D.isBuffer(Z)){this.error("Input not Buffer");return}this.base=Z,this.offset=0,this.length=Z.length}J(X,Y),I.DecoderBuffer=X,X.prototype.save=function(){return{offset:this.offset,reporter:Y.prototype.save.call(this)}},X.prototype.restore=function(Z){var L=new X(this.base);return L.offset=Z.offset,L.length=this.offset,this.offset=Z.offset,Y.prototype.restore.call(this,Z.reporter),L},X.prototype.isEmpty=function(){return this.offset===this.length},X.prototype.readUInt8=function(Z){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,!0);else return this.error(Z||"DecoderBuffer overrun")},X.prototype.skip=function(Z,L){if(!(this.offset+Z<=this.length))return this.error(L||"DecoderBuffer overrun");var R=new X(this.base);return R._reporterState=this._reporterState,R.offset=this.offset,R.length=this.offset+Z,this.offset+=Z,R},X.prototype.raw=function(Z){return this.base.slice(Z?Z.offset:this.offset,this.length)};function z(Z,L){if(Array.isArray(Z))this.length=0,this.value=Z.map(function(R){if(!(R instanceof z))R=new z(R,L);return this.length+=R.length,R},this);else if(typeof Z==="number"){if(!(0<=Z&&Z<=255))return L.error("non-byte EncoderBuffer value");this.value=Z,this.length=1}else if(typeof Z==="string")this.value=Z,this.length=D.byteLength(Z);else if(D.isBuffer(Z))this.value=Z,this.length=Z.length;else return L.error("Unsupported type: "+typeof Z)}I.EncoderBuffer=z,z.prototype.join=function(Z,L){if(!Z)Z=new D(this.length);if(!L)L=0;if(this.length===0)return Z;if(Array.isArray(this.value))this.value.forEach(function(R){R.join(Z,L),L+=R.length});else{if(typeof this.value==="number")Z[L]=this.value;else if(typeof this.value==="string")Z.write(this.value,L);else if(D.isBuffer(this.value))this.value.copy(Z,L);L+=this.length}return Z}}),Hf=u0((I,J)=>{var Y=rG().Reporter,D=rG().EncoderBuffer,X=rG().DecoderBuffer,z=XX(),Z=["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(Z),R=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function j(C,E){var B={};if(this._baseState=B,B.enc=C,B.parent=E||null,B.children=null,B.tag=null,B.args=null,B.reverseArgs=null,B.choice=null,B.optional=!1,B.any=!1,B.obj=!1,B.use=null,B.useDecoder=null,B.key=null,B.default=null,B.explicit=null,B.implicit=null,B.contains=null,!B.parent)B.children=[],this._wrap()}J.exports=j;var q=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];j.prototype.clone=function(){var C=this._baseState,E={};q.forEach(function(N){E[N]=C[N]});var B=new this.constructor(E.parent);return B._baseState=E,B},j.prototype._wrap=function(){var C=this._baseState;L.forEach(function(E){this[E]=function(){var B=new this.constructor(this);return C.children.push(B),B[E].apply(B,arguments)}},this)},j.prototype._init=function(C){var E=this._baseState;z(E.parent===null),C.call(this),E.children=E.children.filter(function(B){return B._baseState.parent===this},this),z.equal(E.children.length,1,"Root node can have only one child")},j.prototype._useArgs=function(C){var E=this._baseState,B=C.filter(function(N){return N instanceof this.constructor},this);if(C=C.filter(function(N){return!(N instanceof this.constructor)},this),B.length!==0)z(E.children===null),E.children=B,B.forEach(function(N){N._baseState.parent=this},this);if(C.length!==0)z(E.args===null),E.args=C,E.reverseArgs=C.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})},R.forEach(function(C){j.prototype[C]=function(){var E=this._baseState;throw Error(C+" not implemented for encoding: "+E.enc)}}),Z.forEach(function(C){j.prototype[C]=function(){var E=this._baseState,B=Array.prototype.slice.call(arguments);return z(E.tag===null),E.tag=C,this._useArgs(B),this}}),j.prototype.use=function(C){z(C);var E=this._baseState;return z(E.use===null),E.use=C,this},j.prototype.optional=function(){var C=this._baseState;return C.optional=!0,this},j.prototype.def=function(C){var E=this._baseState;return z(E.default===null),E.default=C,E.optional=!0,this},j.prototype.explicit=function(C){var E=this._baseState;return z(E.explicit===null&&E.implicit===null),E.explicit=C,this},j.prototype.implicit=function(C){var E=this._baseState;return z(E.explicit===null&&E.implicit===null),E.implicit=C,this},j.prototype.obj=function(){var C=this._baseState,E=Array.prototype.slice.call(arguments);if(C.obj=!0,E.length!==0)this._useArgs(E);return this},j.prototype.key=function(C){var E=this._baseState;return z(E.key===null),E.key=C,this},j.prototype.any=function(){var C=this._baseState;return C.any=!0,this},j.prototype.choice=function(C){var E=this._baseState;return z(E.choice===null),E.choice=C,this._useArgs(Object.keys(C).map(function(B){return C[B]})),this},j.prototype.contains=function(C){var E=this._baseState;return z(E.use===null),E.contains=C,this},j.prototype._decode=function(C,E){var B=this._baseState;if(B.parent===null)return C.wrapResult(B.children[0]._decode(C,E));var N=B.default,y=!0,w=null;if(B.key!==null)w=C.enterKey(B.key);if(B.optional){var b=null;if(B.explicit!==null)b=B.explicit;else if(B.implicit!==null)b=B.implicit;else if(B.tag!==null)b=B.tag;if(b===null&&!B.any){var x=C.save();try{if(B.choice===null)this._decodeGeneric(B.tag,C,E);else this._decodeChoice(C,E);y=!0}catch(L0){y=!1}C.restore(x)}else if(y=this._peekTag(C,b,B.any),C.isError(y))return y}var u;if(B.obj&&y)u=C.enterObject();if(y){if(B.explicit!==null){var p=this._decodeTag(C,B.explicit);if(C.isError(p))return p;C=p}var d=C.offset;if(B.use===null&&B.choice===null){if(B.any)var x=C.save();var a=this._decodeTag(C,B.implicit!==null?B.implicit:B.tag,B.any);if(C.isError(a))return a;if(B.any)N=C.raw(x);else C=a}if(E&&E.track&&B.tag!==null)E.track(C.path(),d,C.length,"tagged");if(E&&E.track&&B.tag!==null)E.track(C.path(),C.offset,C.length,"content");if(B.any)N=N;else if(B.choice===null)N=this._decodeGeneric(B.tag,C,E);else N=this._decodeChoice(C,E);if(C.isError(N))return N;if(!B.any&&B.choice===null&&B.children!==null)B.children.forEach(function(L0){L0._decode(C,E)});if(B.contains&&(B.tag==="octstr"||B.tag==="bitstr")){var O0=new X(N);N=this._getUse(B.contains,C._reporterState.obj)._decode(O0,E)}}if(B.obj&&y)N=C.leaveObject(u);if(B.key!==null&&(N!==null||y===!0))C.leaveKey(w,B.key,N);else if(w!==null)C.exitKey(w);return N},j.prototype._decodeGeneric=function(C,E,B){var N=this._baseState;if(C==="seq"||C==="set")return null;if(C==="seqof"||C==="setof")return this._decodeList(E,C,N.args[0],B);else if(/str$/.test(C))return this._decodeStr(E,C,B);else if(C==="objid"&&N.args)return this._decodeObjid(E,N.args[0],N.args[1],B);else if(C==="objid")return this._decodeObjid(E,null,null,B);else if(C==="gentime"||C==="utctime")return this._decodeTime(E,C,B);else if(C==="null_")return this._decodeNull(E,B);else if(C==="bool")return this._decodeBool(E,B);else if(C==="objDesc")return this._decodeStr(E,C,B);else if(C==="int"||C==="enum")return this._decodeInt(E,N.args&&N.args[0],B);if(N.use!==null)return this._getUse(N.use,E._reporterState.obj)._decode(E,B);else return E.error("unknown tag: "+C)},j.prototype._getUse=function(C,E){var B=this._baseState;if(B.useDecoder=this._use(C,E),z(B.useDecoder._baseState.parent===null),B.useDecoder=B.useDecoder._baseState.children[0],B.implicit!==B.useDecoder._baseState.implicit)B.useDecoder=B.useDecoder.clone(),B.useDecoder._baseState.implicit=B.implicit;return B.useDecoder},j.prototype._decodeChoice=function(C,E){var B=this._baseState,N=null,y=!1;if(Object.keys(B.choice).some(function(w){var b=C.save(),x=B.choice[w];try{var u=x._decode(C,E);if(C.isError(u))return!1;N={type:w,value:u},y=!0}catch(p){return C.restore(b),!1}return!0},this),!y)return C.error("Choice not matched");return N},j.prototype._createEncoderBuffer=function(C){return new D(C,this.reporter)},j.prototype._encode=function(C,E,B){var N=this._baseState;if(N.default!==null&&N.default===C)return;var y=this._encodeValue(C,E,B);if(y===void 0)return;if(this._skipDefault(y,E,B))return;return y},j.prototype._encodeValue=function(C,E,B){var N=this._baseState;if(N.parent===null)return N.children[0]._encode(C,E||new Y);var x=null;if(this.reporter=E,N.optional&&C===void 0)if(N.default!==null)C=N.default;else return;var y=null,w=!1;if(N.any)x=this._createEncoderBuffer(C);else if(N.choice)x=this._encodeChoice(C,E);else if(N.contains)y=this._getUse(N.contains,B)._encode(C,E),w=!0;else if(N.children)y=N.children.map(function(d){if(d._baseState.tag==="null_")return d._encode(null,E,C);if(d._baseState.key===null)return E.error("Child should have a key");var a=E.enterKey(d._baseState.key);if(typeof C!=="object")return E.error("Child expected, but input is not object");var O0=d._encode(C[d._baseState.key],E,C);return E.leaveKey(a),O0},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 E.error("Too many args for : "+N.tag);if(!Array.isArray(C))return E.error("seqof/setof, but data is not Array");var b=this.clone();b._baseState.implicit=null,y=this._createEncoderBuffer(C.map(function(d){var a=this._baseState;return this._getUse(a.args[0],C)._encode(d,E)},b))}else if(N.use!==null)x=this._getUse(N.use,B)._encode(C,E);else y=this._encodePrimitive(N.tag,C),w=!0;var x;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)E.error("Tag could be omitted only for .use()")}else if(N.use===null)x=this._encodeComposite(u,w,p,y)}if(N.explicit!==null)x=this._encodeComposite(N.explicit,!1,"context",x);return x},j.prototype._encodeChoice=function(C,E){var B=this._baseState,N=B.choice[C.type];if(!N)z(!1,C.type+" not found in "+JSON.stringify(Object.keys(B.choice)));return N._encode(C.value,E)},j.prototype._encodePrimitive=function(C,E){var B=this._baseState;if(/str$/.test(C))return this._encodeStr(E,C);else if(C==="objid"&&B.args)return this._encodeObjid(E,B.reverseArgs[0],B.args[1]);else if(C==="objid")return this._encodeObjid(E,null,null);else if(C==="gentime"||C==="utctime")return this._encodeTime(E,C);else if(C==="null_")return this._encodeNull();else if(C==="int"||C==="enum")return this._encodeInt(E,B.args&&B.reverseArgs[0]);else if(C==="bool")return this._encodeBool(E);else if(C==="objDesc")return this._encodeStr(E,C);else throw Error("Unsupported tag: "+C)},j.prototype._isNumstr=function(C){return/^[0-9 ]*$/.test(C)},j.prototype._isPrintstr=function(C){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(C)}}),rG=u0((I)=>{var J=I;J.Reporter=Of().Reporter,J.DecoderBuffer=kq().DecoderBuffer,J.EncoderBuffer=kq().EncoderBuffer,J.Node=Hf()}),Lf=u0((I)=>{var J=aq();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)}),aq=u0((I)=>{var J=I;J._reverse=function(Y){var D={};return Object.keys(Y).forEach(function(X){if((X|0)==X)X=X|0;var z=Y[X];D[z]=X}),D},J.der=Lf()}),sq=u0((I,J)=>{var Y=F4(),D=$2(),X=D.base,z=D.bignum,Z=D.constants.der;function L(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new R,this.tree._init(C.body)}J.exports=L,L.prototype.decode=function(C,E){if(!(C instanceof X.DecoderBuffer))C=new X.DecoderBuffer(C,E);return this.tree._decode(C,E)};function R(C){X.Node.call(this,"der",C)}Y(R,X.Node),R.prototype._peekTag=function(C,E,B){if(C.isEmpty())return!1;var N=C.save(),y=j(C,'Failed to peek tag: "'+E+'"');if(C.isError(y))return y;return C.restore(N),y.tag===E||y.tagStr===E||y.tagStr+"of"===E||B},R.prototype._decodeTag=function(C,E,B){var N=j(C,'Failed to decode tag of "'+E+'"');if(C.isError(N))return N;var y=q(C,N.primitive,'Failed to get length of "'+E+'"');if(C.isError(y))return y;if(!B&&N.tag!==E&&N.tagStr!==E&&N.tagStr+"of"!==E)return C.error('Failed to match tag: "'+E+'"');if(N.primitive||y!==null)return C.skip(y,'Failed to match body of: "'+E+'"');var w=C.save(),b=this._skipUntilEnd(C,'Failed to skip indefinite length body: "'+this.tag+'"');if(C.isError(b))return b;return y=C.offset-w.offset,C.restore(w),C.skip(y,'Failed to match body of: "'+E+'"')},R.prototype._skipUntilEnd=function(C,E){while(!0){var B=j(C,E);if(C.isError(B))return B;var N=q(C,B.primitive,E);if(C.isError(N))return N;var y;if(B.primitive||N!==null)y=C.skip(N);else y=this._skipUntilEnd(C,E);if(C.isError(y))return y;if(B.tagStr==="end")break}},R.prototype._decodeList=function(C,E,B,N){var y=[];while(!C.isEmpty()){var w=this._peekTag(C,"end");if(C.isError(w))return w;var b=B.decode(C,"der",N);if(C.isError(b)&&w)break;y.push(b)}return y},R.prototype._decodeStr=function(C,E){if(E==="bitstr"){var B=C.readUInt8();if(C.isError(B))return B;return{unused:B,data:C.raw()}}else if(E==="bmpstr"){var N=C.raw();if(N.length%2===1)return C.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(E==="numstr"){var b=C.raw().toString("ascii");if(!this._isNumstr(b))return C.error("Decoding of string type: numstr unsupported characters");return b}else if(E==="octstr")return C.raw();else if(E==="objDesc")return C.raw();else if(E==="printstr"){var x=C.raw().toString("ascii");if(!this._isPrintstr(x))return C.error("Decoding of string type: printstr unsupported characters");return x}else if(/str$/.test(E))return C.raw().toString();else return C.error("Decoding of string type: "+E+" unsupported")},R.prototype._decodeObjid=function(C,E,B){var N,y=[],w=0;while(!C.isEmpty()){var b=C.readUInt8();if(w<<=7,w|=b&127,(b&128)===0)y.push(w),w=0}if(b&128)y.push(w);var x=y[0]/40|0,u=y[0]%40;if(B)N=y;else N=[x,u].concat(y.slice(1));if(E){var p=E[N.join(" ")];if(p===void 0)p=E[N.join(".")];if(p!==void 0)N=p}return N},R.prototype._decodeTime=function(C,E){var B=C.raw().toString();if(E==="gentime")var N=B.slice(0,4)|0,y=B.slice(4,6)|0,w=B.slice(6,8)|0,b=B.slice(8,10)|0,x=B.slice(10,12)|0,u=B.slice(12,14)|0;else if(E==="utctime"){var N=B.slice(0,2)|0,y=B.slice(2,4)|0,w=B.slice(4,6)|0,b=B.slice(6,8)|0,x=B.slice(8,10)|0,u=B.slice(10,12)|0;if(N<70)N=2000+N;else N=1900+N}else return C.error("Decoding "+E+" time is not supported yet");return Date.UTC(N,y-1,w,b,x,u,0)},R.prototype._decodeNull=function(C){return null},R.prototype._decodeBool=function(C){var E=C.readUInt8();if(C.isError(E))return E;else return E!==0},R.prototype._decodeInt=function(C,E){var B=C.raw(),N=new z(B);if(E)N=E[N.toString(10)]||N;return N},R.prototype._use=function(C,E){if(typeof C==="function")C=C(E);return C._getDecoder("der").tree};function j(C,E){var B=C.readUInt8(E);if(C.isError(B))return B;var N=Z.tagClass[B>>6],y=(B&32)===0;if((B&31)===31){var w=B;B=0;while((w&128)===128){if(w=C.readUInt8(E),C.isError(w))return w;B<<=7,B|=w&127}}else B&=31;var b=Z.tag[B];return{cls:N,primitive:y,tag:B,tagStr:b}}function q(C,E,B){var N=C.readUInt8(B);if(C.isError(N))return N;if(!E&&N===128)return null;if((N&128)===0)return N;var y=N&127;if(y>4)return C.error("length octect is too long");N=0;for(var w=0;w<y;w++){N<<=8;var b=C.readUInt8(B);if(C.isError(b))return b;N|=b}return N}}),Mf=u0((I,J)=>{var Y=F4(),D=(oU(),S$(nU)).Buffer,X=sq();function z(Z){X.call(this,Z),this.enc="pem"}Y(z,X),J.exports=z,z.prototype.decode=function(Z,L){var R=Z.toString().split(/[\r\n]+/g),j=L.label.toUpperCase(),q=/^-----(BEGIN|END) ([^-]+)-----$/,C=-1,E=-1;for(var B=0;B<R.length;B++){var N=R[B].match(q);if(N===null)continue;if(N[2]!==j)continue;if(C===-1){if(N[1]!=="BEGIN")break;C=B}else{if(N[1]!=="END")break;E=B;break}}if(C===-1||E===-1)throw Error("PEM section not found for: "+j);var y=R.slice(C+1,E).join("");y.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new D(y,"base64");return X.prototype.decode.call(this,w,L)}}),Af=u0((I)=>{var J=I;J.der=sq(),J.pem=Mf()}),eq=u0((I,J)=>{var Y=F4(),D=(oU(),S$(nU)).Buffer,X=$2(),z=X.base,Z=X.constants.der;function L(C){this.enc="der",this.name=C.name,this.entity=C,this.tree=new R,this.tree._init(C.body)}J.exports=L,L.prototype.encode=function(C,E){return this.tree._encode(C,E).join()};function R(C){z.Node.call(this,"der",C)}Y(R,z.Node),R.prototype._encodeComposite=function(C,E,B,N){var y=q(C,E,B,this.reporter);if(N.length<128){var x=new D(2);return x[0]=y,x[1]=N.length,this._createEncoderBuffer([x,N])}var w=1;for(var b=N.length;b>=256;b>>=8)w++;var x=new D(2+w);x[0]=y,x[1]=128|w;for(var b=1+w,u=N.length;u>0;b--,u>>=8)x[b]=u&255;return this._createEncoderBuffer([x,N])},R.prototype._encodeStr=function(C,E){if(E==="bitstr")return this._createEncoderBuffer([C.unused|0,C.data]);else if(E==="bmpstr"){var B=new D(C.length*2);for(var N=0;N<C.length;N++)B.writeUInt16BE(C.charCodeAt(N),N*2);return this._createEncoderBuffer(B)}else if(E==="numstr"){if(!this._isNumstr(C))return this.reporter.error("Encoding of string type: numstr supports only digits and space");return this._createEncoderBuffer(C)}else if(E==="printstr"){if(!this._isPrintstr(C))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(C)}else if(/str$/.test(E))return this._createEncoderBuffer(C);else if(E==="objDesc")return this._createEncoderBuffer(C);else return this.reporter.error("Encoding of string type: "+E+" unsupported")},R.prototype._encodeObjid=function(C,E,B){if(typeof C==="string"){if(!E)return this.reporter.error("string objid given, but no values map found");if(!E.hasOwnProperty(C))return this.reporter.error("objid not found in values map");C=E[C].split(/[\s\.]+/g);for(var N=0;N<C.length;N++)C[N]|=0}else if(Array.isArray(C)){C=C.slice();for(var N=0;N<C.length;N++)C[N]|=0}if(!Array.isArray(C))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(C));if(!B){if(C[1]>=40)return this.reporter.error("Second objid identifier OOB");C.splice(0,2,C[0]*40+C[1])}var y=0;for(var N=0;N<C.length;N++){var w=C[N];for(y++;w>=128;w>>=7)y++}var b=new D(y),x=b.length-1;for(var N=C.length-1;N>=0;N--){var w=C[N];b[x--]=w&127;while((w>>=7)>0)b[x--]=128|w&127}return this._createEncoderBuffer(b)};function j(C){if(C<10)return"0"+C;else return C}R.prototype._encodeTime=function(C,E){var B,N=new Date(C);if(E==="gentime")B=[j(N.getFullYear()),j(N.getUTCMonth()+1),j(N.getUTCDate()),j(N.getUTCHours()),j(N.getUTCMinutes()),j(N.getUTCSeconds()),"Z"].join("");else if(E==="utctime")B=[j(N.getFullYear()%100),j(N.getUTCMonth()+1),j(N.getUTCDate()),j(N.getUTCHours()),j(N.getUTCMinutes()),j(N.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+E+" time is not supported yet");return this._encodeStr(B,"octstr")},R.prototype._encodeNull=function(){return this._createEncoderBuffer("")},R.prototype._encodeInt=function(C,E){if(typeof C==="string"){if(!E)return this.reporter.error("String int or enum given, but no values map");if(!E.hasOwnProperty(C))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(C));C=E[C]}if(typeof C!=="number"&&!D.isBuffer(C)){var B=C.toArray();if(!C.sign&&B[0]&128)B.unshift(0);C=new D(B)}if(D.isBuffer(C)){var N=C.length;if(C.length===0)N++;var w=new D(N);if(C.copy(w),C.length===0)w[0]=0;return this._createEncoderBuffer(w)}if(C<128)return this._createEncoderBuffer(C);if(C<256)return this._createEncoderBuffer([0,C]);var N=1;for(var y=C;y>=256;y>>=8)N++;var w=Array(N);for(var y=w.length-1;y>=0;y--)w[y]=C&255,C>>=8;if(w[0]&128)w.unshift(0);return this._createEncoderBuffer(new D(w))},R.prototype._encodeBool=function(C){return this._createEncoderBuffer(C?255:0)},R.prototype._use=function(C,E){if(typeof C==="function")C=C(E);return C._getEncoder("der").tree},R.prototype._skipDefault=function(C,E,B){var N=this._baseState,y;if(N.default===null)return!1;var w=C.join();if(N.defaultBuffer===void 0)N.defaultBuffer=this._encodeValue(N.default,E,B).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(C,E,B,N){var y;if(C==="seqof")C="seq";else if(C==="setof")C="set";if(Z.tagByName.hasOwnProperty(C))y=Z.tagByName[C];else if(typeof C==="number"&&(C|0)===C)y=C;else return N.error("Unknown tag: "+C);if(y>=31)return N.error("Multi-octet tag encoding unsupported");if(!E)y|=32;return y|=Z.tagClassByName[B||"universal"]<<6,y}}),Cf=u0((I,J)=>{var Y=F4(),D=eq();function X(z){D.call(this,z),this.enc="pem"}Y(X,D),J.exports=X,X.prototype.encode=function(z,Z){var L=D.prototype.encode.call(this,z),R=L.toString("base64"),j=["-----BEGIN "+Z.label+"-----"];for(var q=0;q<R.length;q+=64)j.push(R.slice(q,q+64));return j.push("-----END "+Z.label+"-----"),j.join(`
|
|
243
|
+
`)}}),Tf=u0((I)=>{var J=I;J.der=eq(),J.pem=Cf()}),$2=u0((I)=>{var J=I;J.bignum=Kf(),J.define=Ff().define,J.base=rG(),J.constants=aq(),J.decoders=Af(),J.encoders=Tf()}),Pf=u0((I,J)=>{var Y=$2(),D=Y.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),X=Y.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),z=Y.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Z=Y.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(z),this.key("subjectPublicKey").bitstr())}),L=Y.define("RelativeDistinguishedName",function(){this.setof(X)}),R=Y.define("RDNSequence",function(){this.seqof(L)}),j=Y.define("Name",function(){this.choice({rdnSequence:this.use(R)})}),q=Y.define("Validity",function(){this.seq().obj(this.key("notBefore").use(D),this.key("notAfter").use(D))}),C=Y.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),E=Y.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(j),this.key("validity").use(q),this.key("subject").use(j),this.key("subjectPublicKeyInfo").use(Z),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(C).optional())}),B=Y.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(E),this.key("signatureAlgorithm").use(z),this.key("signatureValue").bitstr())});J.exports=B}),_f=u0((I)=>{var J=$2();I.certificate=Pf();var Y=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=Y;var D=J.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});I.RSAPublicKey=D;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 Z=J.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(X),this.key("subjectPrivateKey").octstr())});I.PrivateKey=Z;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 R=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=R,I.DSAparam=J.define("DSAparam",function(){this.int()});var j=J.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),q=J.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(j),this.key("publicKey").optional().explicit(1).bitstr())});I.ECPrivateKey=q,I.signature=J.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),Ef=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"}}),jf=u0((I,J)=>{var Y=w6().Buffer,D=RQ().Transform,X=F4();function z(j){D.call(this),this._block=Y.allocUnsafe(j),this._blockSize=j,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}X(z,D),z.prototype._transform=function(j,q,C){var E=null;try{this.update(j,q)}catch(B){E=B}C(E)},z.prototype._flush=function(j){var q=null;try{this.push(this.digest())}catch(C){q=C}j(q)};var Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);function R(j,q){if(j instanceof Y)return j;if(typeof j==="string")return Y.from(j,q);if(L&&ArrayBuffer.isView(j)){if(j.byteLength===0)return Y.alloc(0);var C=Y.from(j.buffer,j.byteOffset,j.byteLength);if(C.byteLength===j.byteLength)return C}if(Z&&j instanceof Uint8Array)return Y.from(j);if(Y.isBuffer(j)&&j.constructor&&typeof j.constructor.isBuffer==="function"&&j.constructor.isBuffer(j))return Y.from(j);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}z.prototype.update=function(j,q){if(this._finalized)throw Error("Digest already called");j=R(j,q);var C=this._block,E=0;while(this._blockOffset+j.length-E>=this._blockSize){for(var B=this._blockOffset;B<this._blockSize;)C[B++]=j[E++];this._update(),this._blockOffset=0}while(E<j.length)C[this._blockOffset++]=j[E++];for(var N=0,y=j.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(j){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var q=this._digest();if(j!==void 0)q=q.toString(j);this._block.fill(0),this._blockOffset=0;for(var C=0;C<4;++C)this._length[C]=0;return q},z.prototype._digest=function(){throw Error("_digest is not implemented")},J.exports=z}),qf=u0((I,J)=>{var Y=F4(),D=jf(),X=w6().Buffer,z=Array(16);function Z(){D.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}Y(Z,D),Z.prototype._update=function(){var E=z;for(var B=0;B<16;++B)E[B]=this._block.readInt32LE(B*4);var N=this._a,y=this._b,w=this._c,b=this._d;N=R(N,y,w,b,E[0],3614090360,7),b=R(b,N,y,w,E[1],3905402710,12),w=R(w,b,N,y,E[2],606105819,17),y=R(y,w,b,N,E[3],3250441966,22),N=R(N,y,w,b,E[4],4118548399,7),b=R(b,N,y,w,E[5],1200080426,12),w=R(w,b,N,y,E[6],2821735955,17),y=R(y,w,b,N,E[7],4249261313,22),N=R(N,y,w,b,E[8],1770035416,7),b=R(b,N,y,w,E[9],2336552879,12),w=R(w,b,N,y,E[10],4294925233,17),y=R(y,w,b,N,E[11],2304563134,22),N=R(N,y,w,b,E[12],1804603682,7),b=R(b,N,y,w,E[13],4254626195,12),w=R(w,b,N,y,E[14],2792965006,17),y=R(y,w,b,N,E[15],1236535329,22),N=j(N,y,w,b,E[1],4129170786,5),b=j(b,N,y,w,E[6],3225465664,9),w=j(w,b,N,y,E[11],643717713,14),y=j(y,w,b,N,E[0],3921069994,20),N=j(N,y,w,b,E[5],3593408605,5),b=j(b,N,y,w,E[10],38016083,9),w=j(w,b,N,y,E[15],3634488961,14),y=j(y,w,b,N,E[4],3889429448,20),N=j(N,y,w,b,E[9],568446438,5),b=j(b,N,y,w,E[14],3275163606,9),w=j(w,b,N,y,E[3],4107603335,14),y=j(y,w,b,N,E[8],1163531501,20),N=j(N,y,w,b,E[13],2850285829,5),b=j(b,N,y,w,E[2],4243563512,9),w=j(w,b,N,y,E[7],1735328473,14),y=j(y,w,b,N,E[12],2368359562,20),N=q(N,y,w,b,E[5],4294588738,4),b=q(b,N,y,w,E[8],2272392833,11),w=q(w,b,N,y,E[11],1839030562,16),y=q(y,w,b,N,E[14],4259657740,23),N=q(N,y,w,b,E[1],2763975236,4),b=q(b,N,y,w,E[4],1272893353,11),w=q(w,b,N,y,E[7],4139469664,16),y=q(y,w,b,N,E[10],3200236656,23),N=q(N,y,w,b,E[13],681279174,4),b=q(b,N,y,w,E[0],3936430074,11),w=q(w,b,N,y,E[3],3572445317,16),y=q(y,w,b,N,E[6],76029189,23),N=q(N,y,w,b,E[9],3654602809,4),b=q(b,N,y,w,E[12],3873151461,11),w=q(w,b,N,y,E[15],530742520,16),y=q(y,w,b,N,E[2],3299628645,23),N=C(N,y,w,b,E[0],4096336452,6),b=C(b,N,y,w,E[7],1126891415,10),w=C(w,b,N,y,E[14],2878612391,15),y=C(y,w,b,N,E[5],4237533241,21),N=C(N,y,w,b,E[12],1700485571,6),b=C(b,N,y,w,E[3],2399980690,10),w=C(w,b,N,y,E[10],4293915773,15),y=C(y,w,b,N,E[1],2240044497,21),N=C(N,y,w,b,E[8],1873313359,6),b=C(b,N,y,w,E[15],4264355552,10),w=C(w,b,N,y,E[6],2734768916,15),y=C(y,w,b,N,E[13],1309151649,21),N=C(N,y,w,b,E[4],4149444226,6),b=C(b,N,y,w,E[11],3174756917,10),w=C(w,b,N,y,E[2],718787259,15),y=C(y,w,b,N,E[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},Z.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 E=X.allocUnsafe(16);return E.writeInt32LE(this._a,0),E.writeInt32LE(this._b,4),E.writeInt32LE(this._c,8),E.writeInt32LE(this._d,12),E};function L(E,B){return E<<B|E>>>32-B}function R(E,B,N,y,w,b,x){return L(E+(B&N|~B&y)+w+b|0,x)+B|0}function j(E,B,N,y,w,b,x){return L(E+(B&y|N&~y)+w+b|0,x)+B|0}function q(E,B,N,y,w,b,x){return L(E+(B^N^y)+w+b|0,x)+B|0}function C(E,B,N,y,w,b,x){return L(E+(N^(B|~y))+w+b|0,x)+B|0}J.exports=Z}),Sf=u0((I,J)=>{var Y=w6().Buffer,D=qf();function X(z,Z,L,R){if(!Y.isBuffer(z))z=Y.from(z,"binary");if(Z){if(!Y.isBuffer(Z))Z=Y.from(Z,"binary");if(Z.length!==8)throw RangeError("salt should be Buffer with 8 byte length")}var j=L/8,q=Y.alloc(j),C=Y.alloc(R||0),E=Y.alloc(0);while(j>0||R>0){var B=new D;if(B.update(E),B.update(z),Z)B.update(Z);E=B.digest();var N=0;if(j>0){var y=q.length-j;N=Math.min(j,E.length),E.copy(q,y,0,N),j-=N}if(N<E.length&&R>0){var w=C.length-R,b=Math.min(R,E.length-N);E.copy(C,w,N,N+b),R-=b}}return E.fill(0),{key:q,iv:C}}J.exports=X}),$S=u0((I)=>{var J=(yU(),S$(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}),Rf=u0((I,J)=>{var Y=/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,D=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,X=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,z=Sf(),Z=$S(),L=w6().Buffer;J.exports=function(R,j){var q=R.toString(),C=q.match(Y),E;if(!C){var B=q.match(X);E=L.from(B[2].replace(/[\r\n]/g,""),"base64")}else{var N="aes"+C[1],y=L.from(C[2],"hex"),w=L.from(C[3].replace(/[\r\n]/g,""),"base64"),b=z(j,y.slice(0,8),parseInt(C[1],10)).key,x=[],u=Z.createDecipheriv(N,b,y);x.push(u.update(w)),x.push(u.final()),E=L.concat(x)}var p=q.match(D)[1];return{tag:p,data:E}}}),US=u0((I,J)=>{var Y=_f(),D=Ef(),X=Rf(),z=$S(),Z=mq().pbkdf2Sync,L=w6().Buffer;function R(q,C){var E=q.algorithm.decrypt.kde.kdeparams.salt,B=parseInt(q.algorithm.decrypt.kde.kdeparams.iters.toString(),10),N=D[q.algorithm.decrypt.cipher.algo.join(".")],y=q.algorithm.decrypt.cipher.iv,w=q.subjectPrivateKey,b=parseInt(N.split("-")[1],10)/8,x=Z(C,E,B,b,"sha1"),u=z.createDecipheriv(N,x,y),p=[];return p.push(u.update(w)),p.push(u.final()),L.concat(p)}function j(q){var C;if(typeof q==="object"&&!L.isBuffer(q))C=q.passphrase,q=q.key;if(typeof q==="string")q=L.from(q);var E=X(q,C),B=E.tag,N=E.data,y,w;switch(B){case"CERTIFICATE":w=Y.certificate.decode(N,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!w)w=Y.PublicKey.decode(N,"der");switch(y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Y.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=Y.DSAparam.decode(w.subjectPublicKey.data,"der"),{type:"dsa",data:w.algorithm.params};default:throw Error("unknown key id "+y)}case"ENCRYPTED PRIVATE KEY":N=Y.EncryptedPrivateKey.decode(N,"der"),N=R(N,C);case"PRIVATE KEY":switch(w=Y.PrivateKey.decode(N,"der"),y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Y.RSAPrivateKey.decode(w.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:w.algorithm.curve,privateKey:Y.ECPrivateKey.decode(w.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return w.algorithm.params.priv_key=Y.DSAparam.decode(w.subjectPrivateKey,"der"),{type:"dsa",params:w.algorithm.params};default:throw Error("unknown key id "+y)}case"RSA PUBLIC KEY":return Y.RSAPublicKey.decode(N,"der");case"RSA PRIVATE KEY":return Y.RSAPrivateKey.decode(N,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Y.DSAPrivateKey.decode(N,"der")};case"EC PRIVATE KEY":return N=Y.ECPrivateKey.decode(N,"der"),{curve:N.parameters.value,privateKey:N.privateKey};default:throw Error("unknown key type "+B)}}j.signature=Y.signature,J.exports=j}),IS=u0((I,J)=>{var Y=Kz(),D=w6().Buffer;J.exports=function(z,Z){var L=D.alloc(0),R=0,j;while(L.length<Z)j=X(R++),L=D.concat([L,Y("sha1").update(z).update(j).digest()]);return L.slice(0,Z)};function X(z){var Z=D.allocUnsafe(4);return Z.writeUInt32BE(z,0),Z}}),XS=u0((I,J)=>{J.exports=function(Y,D){var X=Y.length,z=-1;while(++z<X)Y[z]^=D[z];return Y}}),FF=u0((I,J)=>{(function(Y,D){function X(G,K){if(!G)throw Error(K||"Assertion failed")}function z(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else D.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),S$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;X(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var W=0;if(G[0]==="-")W++,this.negative=1;if(W<G.length){if(K===16)this._parseHex(G,W,H);else if(this._parseBase(G,K,W),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O,P,S=0;if(H==="be"){for(W=G.length-1,O=0;W>=0;W-=3)if(P=G[W]|G[W-1]<<8|G[W-2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}else if(H==="le"){for(W=0,O=0;W<G.length;W+=3)if(P=G[W]|G[W+1]<<8|G[W+2]<<16,this.words[O]|=P<<S&67108863,this.words[O+1]=P>>>26-S&67108863,S+=24,S>=26)S-=26,O++}return this.strip()};function R(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function j(G,K,H){var W=R(G,H);if(H-1>=K)W|=R(G,H-1)<<4;return W}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var O=0,P=0,S;if(H==="be")for(W=G.length-1;W>=K;W-=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8;else{var A=G.length-K;for(W=A%2===0?K+1:K;W<G.length;W+=2)if(S=j(G,K,W)<<O,this.words[P]|=S&67108863,O>=18)O-=18,P+=1,this.words[P]|=S>>>26;else O+=8}this.strip()};function q(G,K,H,W){var O=0,P=Math.min(G.length,H);for(var S=K;S<P;S++){var A=G.charCodeAt(S)-48;if(O*=W,A>=49)O+=A-49+10;else if(A>=17)O+=A-17+10;else O+=A}return O}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var W=0,O=1;O<=67108863;O*=K)W++;W--,O=O/K|0;var P=G.length-H,S=P%W,A=Math.min(P,P-S)+H,V=0;for(var T=H;T<A;T+=W)if(V=q(G,T,T+W,K),this.imuln(O),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V);if(S!==0){var g=1;V=q(G,T,G.length,K);for(T=0;T<S;T++)g*=K;if(this.imuln(g),this.words[0]+V<67108864)this.words[0]+=V;else this._iaddn(V)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var C=["","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"],E=[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],B=[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(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var W=0,O=0;for(var P=0;P<this.length;P++){var S=this.words[P],A=((S<<W|O)&16777215).toString(16);if(O=S>>>24-W&16777215,W+=2,W>=26)W-=26,P--;if(O!==0||P!==this.length-1)H=C[6-A.length]+A+H;else H=A+H}if(O!==0)H=O.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var V=E[G],T=B[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var v=g.modn(T).toString(G);if(g=g.idivn(T),!g.isZero())H=C[V-v.length]+v+H;else H=v+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=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?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return X(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var W=this.byteLength(),O=H||Math.max(1,W);X(W<=O,"byte array longer than desired length"),X(O>0,"Requested array length <= 0"),this.strip();var P=K==="le",S=new G(O),A,V,T=this.clone();if(!P){for(V=0;V<O-W;V++)S[V]=0;for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[O-V-1]=A}else{for(V=0;!T.isZero();V++)A=T.andln(255),T.iushrn(8),S[V]=A;for(;V<O;V++)S[V]=0}return S},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function N(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var W=H/26|0,O=H%26;K[H]=(G.words[W]&1<<O)>>>O}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var W=0;W<H.length;W++)this.words[W]=K.words[W]^H.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(H>0)this.words[W]=~this.words[W]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){X(typeof G==="number"&&G>=0);var H=G/26|0,W=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<W;else this.words[H]=this.words[H]&~(1<<W);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,W;if(this.length>G.length)H=this,W=G;else H=G,W=this;var O=0;for(var P=0;P<W.length;P++)K=(H.words[P]|0)+(W.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;for(;O!==0&&P<H.length;P++)K=(H.words[P]|0)+O,this.words[P]=K&67108863,O=K>>>26;if(this.length=H.length,O!==0)this.words[this.length]=O,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,O;if(H>0)W=this,O=G;else W=G,O=this;var P=0;for(var S=0;S<O.length;S++)K=(W.words[S]|0)-(O.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;for(;P!==0&&S<W.length;S++)K=(W.words[S]|0)+P,P=K>>26,this.words[S]=K&67108863;if(P===0&&S<W.length&&W!==this)for(;S<W.length;S++)this.words[S]=W.words[S];if(this.length=Math.max(this.length,S),W!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var W=G.length+K.length|0;H.length=W,W=W-1|0;var O=G.words[0]|0,P=K.words[0]|0,S=O*P,A=S&67108863,V=S/67108864|0;H.words[0]=A;for(var T=1;T<W;T++){var g=V>>>26,v=V&67108863,h=Math.min(T,K.length-1);for(var r=Math.max(0,T-G.length+1);r<=h;r++){var U0=T-r|0;O=G.words[U0]|0,P=K.words[r]|0,S=O*P+v,g+=S/67108864|0,v=S&67108863}H.words[T]=v|0,V=g|0}if(V!==0)H.words[T]=V|0;else H.length--;return H.strip()}var w=function(G,K,H){var W=G.words,O=K.words,P=H.words,S=0,A,V,T,g=W[0]|0,v=g&8191,h=g>>>13,r=W[1]|0,U0=r&8191,z0=r>>>13,Q0=W[2]|0,s=Q0&8191,e=Q0>>>13,J0=W[3]|0,Z0=J0&8191,A0=J0>>>13,$0=W[4]|0,c=$0&8191,n=$0>>>13,H0=W[5]|0,Y0=H0&8191,W0=H0>>>13,N0=W[6]|0,I0=N0&8191,D0=N0>>>13,U$=W[7]|0,M0=U$&8191,B0=U$>>>13,L$=W[8]|0,p0=L$&8191,c0=L$>>>13,i$=W[9]|0,b0=i$&8191,h0=i$>>>13,QU=O[0]|0,r0=QU&8191,o0=QU>>>13,PU=O[1]|0,l=PU&8191,X0=PU>>>13,s0=O[2]|0,S0=s0&8191,v0=s0>>>13,O$=O[3]|0,x0=O$&8191,f0=O$>>>13,W$=O[4]|0,n0=W$&8191,i0=W$>>>13,DU=O[5]|0,a0=DU&8191,i=DU>>>13,G0=O[6]|0,E0=G0&8191,q0=G0>>>13,V$=O[7]|0,d0=V$&8191,t0=V$>>>13,HU=O[8]|0,I$=HU&8191,$$=HU>>>13,e$=O[9]|0,X$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(v,r0),V=Math.imul(v,o0),V=V+Math.imul(h,r0)|0,T=Math.imul(h,o0);var _U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),V=Math.imul(U0,o0),V=V+Math.imul(z0,r0)|0,T=Math.imul(z0,o0),A=A+Math.imul(v,l)|0,V=V+Math.imul(v,X0)|0,V=V+Math.imul(h,l)|0,T=T+Math.imul(h,X0)|0;var R$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(R$>>>26)|0,R$&=67108863,A=Math.imul(s,r0),V=Math.imul(s,o0),V=V+Math.imul(e,r0)|0,T=Math.imul(e,o0),A=A+Math.imul(U0,l)|0,V=V+Math.imul(U0,X0)|0,V=V+Math.imul(z0,l)|0,T=T+Math.imul(z0,X0)|0,A=A+Math.imul(v,S0)|0,V=V+Math.imul(v,v0)|0,V=V+Math.imul(h,S0)|0,T=T+Math.imul(h,v0)|0;var q$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(q$>>>26)|0,q$&=67108863,A=Math.imul(Z0,r0),V=Math.imul(Z0,o0),V=V+Math.imul(A0,r0)|0,T=Math.imul(A0,o0),A=A+Math.imul(s,l)|0,V=V+Math.imul(s,X0)|0,V=V+Math.imul(e,l)|0,T=T+Math.imul(e,X0)|0,A=A+Math.imul(U0,S0)|0,V=V+Math.imul(U0,v0)|0,V=V+Math.imul(z0,S0)|0,T=T+Math.imul(z0,v0)|0,A=A+Math.imul(v,x0)|0,V=V+Math.imul(v,f0)|0,V=V+Math.imul(h,x0)|0,T=T+Math.imul(h,f0)|0;var $U=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),V=Math.imul(c,o0),V=V+Math.imul(n,r0)|0,T=Math.imul(n,o0),A=A+Math.imul(Z0,l)|0,V=V+Math.imul(Z0,X0)|0,V=V+Math.imul(A0,l)|0,T=T+Math.imul(A0,X0)|0,A=A+Math.imul(s,S0)|0,V=V+Math.imul(s,v0)|0,V=V+Math.imul(e,S0)|0,T=T+Math.imul(e,v0)|0,A=A+Math.imul(U0,x0)|0,V=V+Math.imul(U0,f0)|0,V=V+Math.imul(z0,x0)|0,T=T+Math.imul(z0,f0)|0,A=A+Math.imul(v,n0)|0,V=V+Math.imul(v,i0)|0,V=V+Math.imul(h,n0)|0,T=T+Math.imul(h,i0)|0;var d$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),V=Math.imul(Y0,o0),V=V+Math.imul(W0,r0)|0,T=Math.imul(W0,o0),A=A+Math.imul(c,l)|0,V=V+Math.imul(c,X0)|0,V=V+Math.imul(n,l)|0,T=T+Math.imul(n,X0)|0,A=A+Math.imul(Z0,S0)|0,V=V+Math.imul(Z0,v0)|0,V=V+Math.imul(A0,S0)|0,T=T+Math.imul(A0,v0)|0,A=A+Math.imul(s,x0)|0,V=V+Math.imul(s,f0)|0,V=V+Math.imul(e,x0)|0,T=T+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,V=V+Math.imul(U0,i0)|0,V=V+Math.imul(z0,n0)|0,T=T+Math.imul(z0,i0)|0,A=A+Math.imul(v,a0)|0,V=V+Math.imul(v,i)|0,V=V+Math.imul(h,a0)|0,T=T+Math.imul(h,i)|0;var uU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(I0,r0),V=Math.imul(I0,o0),V=V+Math.imul(D0,r0)|0,T=Math.imul(D0,o0),A=A+Math.imul(Y0,l)|0,V=V+Math.imul(Y0,X0)|0,V=V+Math.imul(W0,l)|0,T=T+Math.imul(W0,X0)|0,A=A+Math.imul(c,S0)|0,V=V+Math.imul(c,v0)|0,V=V+Math.imul(n,S0)|0,T=T+Math.imul(n,v0)|0,A=A+Math.imul(Z0,x0)|0,V=V+Math.imul(Z0,f0)|0,V=V+Math.imul(A0,x0)|0,T=T+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,V=V+Math.imul(s,i0)|0,V=V+Math.imul(e,n0)|0,T=T+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,V=V+Math.imul(U0,i)|0,V=V+Math.imul(z0,a0)|0,T=T+Math.imul(z0,i)|0,A=A+Math.imul(v,E0)|0,V=V+Math.imul(v,q0)|0,V=V+Math.imul(h,E0)|0,T=T+Math.imul(h,q0)|0;var bU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(M0,r0),V=Math.imul(M0,o0),V=V+Math.imul(B0,r0)|0,T=Math.imul(B0,o0),A=A+Math.imul(I0,l)|0,V=V+Math.imul(I0,X0)|0,V=V+Math.imul(D0,l)|0,T=T+Math.imul(D0,X0)|0,A=A+Math.imul(Y0,S0)|0,V=V+Math.imul(Y0,v0)|0,V=V+Math.imul(W0,S0)|0,T=T+Math.imul(W0,v0)|0,A=A+Math.imul(c,x0)|0,V=V+Math.imul(c,f0)|0,V=V+Math.imul(n,x0)|0,T=T+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,V=V+Math.imul(Z0,i0)|0,V=V+Math.imul(A0,n0)|0,T=T+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,V=V+Math.imul(s,i)|0,V=V+Math.imul(e,a0)|0,T=T+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,V=V+Math.imul(U0,q0)|0,V=V+Math.imul(z0,E0)|0,T=T+Math.imul(z0,q0)|0,A=A+Math.imul(v,d0)|0,V=V+Math.imul(v,t0)|0,V=V+Math.imul(h,d0)|0,T=T+Math.imul(h,t0)|0;var hU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),V=Math.imul(p0,o0),V=V+Math.imul(c0,r0)|0,T=Math.imul(c0,o0),A=A+Math.imul(M0,l)|0,V=V+Math.imul(M0,X0)|0,V=V+Math.imul(B0,l)|0,T=T+Math.imul(B0,X0)|0,A=A+Math.imul(I0,S0)|0,V=V+Math.imul(I0,v0)|0,V=V+Math.imul(D0,S0)|0,T=T+Math.imul(D0,v0)|0,A=A+Math.imul(Y0,x0)|0,V=V+Math.imul(Y0,f0)|0,V=V+Math.imul(W0,x0)|0,T=T+Math.imul(W0,f0)|0,A=A+Math.imul(c,n0)|0,V=V+Math.imul(c,i0)|0,V=V+Math.imul(n,n0)|0,T=T+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,V=V+Math.imul(Z0,i)|0,V=V+Math.imul(A0,a0)|0,T=T+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,V=V+Math.imul(s,q0)|0,V=V+Math.imul(e,E0)|0,T=T+Math.imul(e,q0)|0,A=A+Math.imul(U0,d0)|0,V=V+Math.imul(U0,t0)|0,V=V+Math.imul(z0,d0)|0,T=T+Math.imul(z0,t0)|0,A=A+Math.imul(v,I$)|0,V=V+Math.imul(v,$$)|0,V=V+Math.imul(h,I$)|0,T=T+Math.imul(h,$$)|0;var cU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(b0,r0),V=Math.imul(b0,o0),V=V+Math.imul(h0,r0)|0,T=Math.imul(h0,o0),A=A+Math.imul(p0,l)|0,V=V+Math.imul(p0,X0)|0,V=V+Math.imul(c0,l)|0,T=T+Math.imul(c0,X0)|0,A=A+Math.imul(M0,S0)|0,V=V+Math.imul(M0,v0)|0,V=V+Math.imul(B0,S0)|0,T=T+Math.imul(B0,v0)|0,A=A+Math.imul(I0,x0)|0,V=V+Math.imul(I0,f0)|0,V=V+Math.imul(D0,x0)|0,T=T+Math.imul(D0,f0)|0,A=A+Math.imul(Y0,n0)|0,V=V+Math.imul(Y0,i0)|0,V=V+Math.imul(W0,n0)|0,T=T+Math.imul(W0,i0)|0,A=A+Math.imul(c,a0)|0,V=V+Math.imul(c,i)|0,V=V+Math.imul(n,a0)|0,T=T+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,V=V+Math.imul(Z0,q0)|0,V=V+Math.imul(A0,E0)|0,T=T+Math.imul(A0,q0)|0,A=A+Math.imul(s,d0)|0,V=V+Math.imul(s,t0)|0,V=V+Math.imul(e,d0)|0,T=T+Math.imul(e,t0)|0,A=A+Math.imul(U0,I$)|0,V=V+Math.imul(U0,$$)|0,V=V+Math.imul(z0,I$)|0,T=T+Math.imul(z0,$$)|0,A=A+Math.imul(v,X$)|0,V=V+Math.imul(v,e0)|0,V=V+Math.imul(h,X$)|0,T=T+Math.imul(h,e0)|0;var pU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(b0,l),V=Math.imul(b0,X0),V=V+Math.imul(h0,l)|0,T=Math.imul(h0,X0),A=A+Math.imul(p0,S0)|0,V=V+Math.imul(p0,v0)|0,V=V+Math.imul(c0,S0)|0,T=T+Math.imul(c0,v0)|0,A=A+Math.imul(M0,x0)|0,V=V+Math.imul(M0,f0)|0,V=V+Math.imul(B0,x0)|0,T=T+Math.imul(B0,f0)|0,A=A+Math.imul(I0,n0)|0,V=V+Math.imul(I0,i0)|0,V=V+Math.imul(D0,n0)|0,T=T+Math.imul(D0,i0)|0,A=A+Math.imul(Y0,a0)|0,V=V+Math.imul(Y0,i)|0,V=V+Math.imul(W0,a0)|0,T=T+Math.imul(W0,i)|0,A=A+Math.imul(c,E0)|0,V=V+Math.imul(c,q0)|0,V=V+Math.imul(n,E0)|0,T=T+Math.imul(n,q0)|0,A=A+Math.imul(Z0,d0)|0,V=V+Math.imul(Z0,t0)|0,V=V+Math.imul(A0,d0)|0,T=T+Math.imul(A0,t0)|0,A=A+Math.imul(s,I$)|0,V=V+Math.imul(s,$$)|0,V=V+Math.imul(e,I$)|0,T=T+Math.imul(e,$$)|0,A=A+Math.imul(U0,X$)|0,V=V+Math.imul(U0,e0)|0,V=V+Math.imul(z0,X$)|0,T=T+Math.imul(z0,e0)|0;var r$=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(b0,S0),V=Math.imul(b0,v0),V=V+Math.imul(h0,S0)|0,T=Math.imul(h0,v0),A=A+Math.imul(p0,x0)|0,V=V+Math.imul(p0,f0)|0,V=V+Math.imul(c0,x0)|0,T=T+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,V=V+Math.imul(M0,i0)|0,V=V+Math.imul(B0,n0)|0,T=T+Math.imul(B0,i0)|0,A=A+Math.imul(I0,a0)|0,V=V+Math.imul(I0,i)|0,V=V+Math.imul(D0,a0)|0,T=T+Math.imul(D0,i)|0,A=A+Math.imul(Y0,E0)|0,V=V+Math.imul(Y0,q0)|0,V=V+Math.imul(W0,E0)|0,T=T+Math.imul(W0,q0)|0,A=A+Math.imul(c,d0)|0,V=V+Math.imul(c,t0)|0,V=V+Math.imul(n,d0)|0,T=T+Math.imul(n,t0)|0,A=A+Math.imul(Z0,I$)|0,V=V+Math.imul(Z0,$$)|0,V=V+Math.imul(A0,I$)|0,T=T+Math.imul(A0,$$)|0,A=A+Math.imul(s,X$)|0,V=V+Math.imul(s,e0)|0,V=V+Math.imul(e,X$)|0,T=T+Math.imul(e,e0)|0;var LU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(b0,x0),V=Math.imul(b0,f0),V=V+Math.imul(h0,x0)|0,T=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,V=V+Math.imul(p0,i0)|0,V=V+Math.imul(c0,n0)|0,T=T+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,V=V+Math.imul(M0,i)|0,V=V+Math.imul(B0,a0)|0,T=T+Math.imul(B0,i)|0,A=A+Math.imul(I0,E0)|0,V=V+Math.imul(I0,q0)|0,V=V+Math.imul(D0,E0)|0,T=T+Math.imul(D0,q0)|0,A=A+Math.imul(Y0,d0)|0,V=V+Math.imul(Y0,t0)|0,V=V+Math.imul(W0,d0)|0,T=T+Math.imul(W0,t0)|0,A=A+Math.imul(c,I$)|0,V=V+Math.imul(c,$$)|0,V=V+Math.imul(n,I$)|0,T=T+Math.imul(n,$$)|0,A=A+Math.imul(Z0,X$)|0,V=V+Math.imul(Z0,e0)|0,V=V+Math.imul(A0,X$)|0,T=T+Math.imul(A0,e0)|0;var WU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(WU>>>26)|0,WU&=67108863,A=Math.imul(b0,n0),V=Math.imul(b0,i0),V=V+Math.imul(h0,n0)|0,T=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,V=V+Math.imul(p0,i)|0,V=V+Math.imul(c0,a0)|0,T=T+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,V=V+Math.imul(M0,q0)|0,V=V+Math.imul(B0,E0)|0,T=T+Math.imul(B0,q0)|0,A=A+Math.imul(I0,d0)|0,V=V+Math.imul(I0,t0)|0,V=V+Math.imul(D0,d0)|0,T=T+Math.imul(D0,t0)|0,A=A+Math.imul(Y0,I$)|0,V=V+Math.imul(Y0,$$)|0,V=V+Math.imul(W0,I$)|0,T=T+Math.imul(W0,$$)|0,A=A+Math.imul(c,X$)|0,V=V+Math.imul(c,e0)|0,V=V+Math.imul(n,X$)|0,T=T+Math.imul(n,e0)|0;var lU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(lU>>>26)|0,lU&=67108863,A=Math.imul(b0,a0),V=Math.imul(b0,i),V=V+Math.imul(h0,a0)|0,T=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,V=V+Math.imul(p0,q0)|0,V=V+Math.imul(c0,E0)|0,T=T+Math.imul(c0,q0)|0,A=A+Math.imul(M0,d0)|0,V=V+Math.imul(M0,t0)|0,V=V+Math.imul(B0,d0)|0,T=T+Math.imul(B0,t0)|0,A=A+Math.imul(I0,I$)|0,V=V+Math.imul(I0,$$)|0,V=V+Math.imul(D0,I$)|0,T=T+Math.imul(D0,$$)|0,A=A+Math.imul(Y0,X$)|0,V=V+Math.imul(Y0,e0)|0,V=V+Math.imul(W0,X$)|0,T=T+Math.imul(W0,e0)|0;var EU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(b0,E0),V=Math.imul(b0,q0),V=V+Math.imul(h0,E0)|0,T=Math.imul(h0,q0),A=A+Math.imul(p0,d0)|0,V=V+Math.imul(p0,t0)|0,V=V+Math.imul(c0,d0)|0,T=T+Math.imul(c0,t0)|0,A=A+Math.imul(M0,I$)|0,V=V+Math.imul(M0,$$)|0,V=V+Math.imul(B0,I$)|0,T=T+Math.imul(B0,$$)|0,A=A+Math.imul(I0,X$)|0,V=V+Math.imul(I0,e0)|0,V=V+Math.imul(D0,X$)|0,T=T+Math.imul(D0,e0)|0;var vU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(b0,d0),V=Math.imul(b0,t0),V=V+Math.imul(h0,d0)|0,T=Math.imul(h0,t0),A=A+Math.imul(p0,I$)|0,V=V+Math.imul(p0,$$)|0,V=V+Math.imul(c0,I$)|0,T=T+Math.imul(c0,$$)|0,A=A+Math.imul(M0,X$)|0,V=V+Math.imul(M0,e0)|0,V=V+Math.imul(B0,X$)|0,T=T+Math.imul(B0,e0)|0;var xU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(b0,I$),V=Math.imul(b0,$$),V=V+Math.imul(h0,I$)|0,T=Math.imul(h0,$$),A=A+Math.imul(p0,X$)|0,V=V+Math.imul(p0,e0)|0,V=V+Math.imul(c0,X$)|0,T=T+Math.imul(c0,e0)|0;var jU=(S+A|0)+((V&8191)<<13)|0;S=(T+(V>>>13)|0)+(jU>>>26)|0,jU&=67108863,A=Math.imul(b0,X$),V=Math.imul(b0,e0),V=V+Math.imul(h0,X$)|0,T=Math.imul(h0,e0);var MU=(S+A|0)+((V&8191)<<13)|0;if(S=(T+(V>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=R$,P[2]=q$,P[3]=$U,P[4]=d$,P[5]=uU,P[6]=bU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=WU,P[13]=lU,P[14]=EU,P[15]=vU,P[16]=xU,P[17]=jU,P[18]=MU,S!==0)P[19]=S,H.length++;return H};if(!Math.imul)w=y;function b(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var W=0,O=0;for(var P=0;P<H.length-1;P++){var S=O;O=0;var A=W&67108863,V=Math.min(P,K.length-1);for(var T=Math.max(0,P-G.length+1);T<=V;T++){var g=P-T,v=G.words[g]|0,h=K.words[T]|0,r=v*h,U0=r&67108863;S=S+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,S=S+(U0>>>26)|0,O+=S>>>26,S&=67108863}H.words[P]=A,W=S,S=O}if(W!==0)H.words[P]=W;else H.length--;return H.strip()}function x(G,K,H){var W=new u;return W.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,W=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(W<63)H=y(this,G,K);else if(W<1024)H=b(this,G,K);else H=x(this,G,K);return H};function u(G,K){this.x=G,this.y=K}u.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var W=0;W<G;W++)K[W]=this.revBin(W,H,G);return K},u.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var W=0;for(var O=0;O<K;O++)W|=(G&1)<<K-O-1,G>>=1;return W},u.prototype.permute=function(G,K,H,W,O,P){for(var S=0;S<P;S++)W[S]=K[G[S]],O[S]=H[G[S]]},u.prototype.transform=function(G,K,H,W,O,P){this.permute(P,G,K,H,W,O);for(var S=1;S<O;S<<=1){var A=S<<1,V=Math.cos(2*Math.PI/A),T=Math.sin(2*Math.PI/A);for(var g=0;g<O;g+=A){var v=V,h=T;for(var r=0;r<S;r++){var U0=H[g+r],z0=W[g+r],Q0=H[g+r+S],s=W[g+r+S],e=v*Q0-h*s;if(s=v*s+h*Q0,Q0=e,H[g+r]=U0+Q0,W[g+r]=z0+s,H[g+r+S]=U0-Q0,W[g+r+S]=z0-s,r!==A)e=V*v-T*h,h=V*h+T*v,v=e}}}},u.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,W=H&1,O=0;for(H=H/2|0;H;H=H>>>1)O++;return 1<<O+1+W},u.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var W=0;W<H/2;W++){var O=G[W];G[W]=G[H-W-1],G[H-W-1]=O,O=K[W],K[W]=-K[H-W-1],K[H-W-1]=-O}},u.prototype.normalize13b=function(G,K){var H=0;for(var W=0;W<K/2;W++){var O=Math.round(G[2*W+1]/K)*8192+Math.round(G[2*W]/K)+H;if(G[W]=O&67108863,O<67108864)H=0;else H=O/67108864|0}return G},u.prototype.convert13b=function(G,K,H,W){var O=0;for(var P=0;P<K;P++)O=O+(G[P]|0),H[2*P]=O&8191,O=O>>>13,H[2*P+1]=O&8191,O=O>>>13;for(P=2*K;P<W;++P)H[P]=0;X(O===0),X((O&-8192)===0)},u.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},u.prototype.mulp=function(G,K,H){var W=2*this.guessLen13b(G.length,K.length),O=this.makeRBT(W),P=this.stub(W),S=Array(W),A=Array(W),V=Array(W),T=Array(W),g=Array(W),v=Array(W),h=H.words;h.length=W,this.convert13b(G.words,G.length,S,W),this.convert13b(K.words,K.length,T,W),this.transform(S,P,A,V,W,O),this.transform(T,P,g,v,W,O);for(var r=0;r<W;r++){var U0=A[r]*g[r]-V[r]*v[r];V[r]=A[r]*v[r]+V[r]*g[r],A[r]=U0}return this.conjugate(A,V,W),this.transform(A,V,h,P,W,O),this.conjugate(h,P,W),this.normalize13b(h,W),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var K=0;for(var H=0;H<this.length;H++){var W=(this.words[H]|0)*G,O=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=O>>>26,this.words[H]=O&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=N(G);if(K.length===0)return new Z(1);var H=this;for(var W=0;W<K.length;W++,H=H.sqr())if(K[W]!==0)break;if(++W<K.length)for(var O=H.sqr();W<K.length;W++,O=O.sqr()){if(K[W]===0)continue;H=H.mul(O)}return H},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=67108863>>>26-K<<26-K,O;if(K!==0){var P=0;for(O=0;O<this.length;O++){var S=this.words[O]&W,A=(this.words[O]|0)-S<<K;this.words[O]=A|P,P=S>>>26-K}if(P)this.words[O]=P,this.length++}if(H!==0){for(O=this.length-1;O>=0;O--)this.words[O+H]=this.words[O];for(O=0;O<H;O++)this.words[O]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){X(typeof G==="number"&&G>=0);var W;if(K)W=(K-K%26)/26;else W=0;var O=G%26,P=Math.min((G-O)/26,this.length),S=67108863^67108863>>>O<<O,A=H;if(W-=P,W=Math.max(0,W),A){for(var V=0;V<P;V++)A.words[V]=this.words[V];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(V=0;V<this.length;V++)this.words[V]=this.words[V+P]}else this.words[0]=0,this.length=1;var T=0;for(V=this.length-1;V>=0&&(T!==0||V>=W);V--){var g=this.words[V]|0;this.words[V]=T<<26-O|g>>>O,T=g&S}if(A&&T!==0)A.words[A.length++]=T;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return X(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return!1;var O=this.words[H];return!!(O&W)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var W=G.length+H,O;this._expand(W);var P,S=0;for(O=0;O<G.length;O++){P=(this.words[O+H]|0)+S;var A=(G.words[O]|0)*K;P-=A&67108863,S=(P>>26)-(A/67108864|0),this.words[O+H]=P&67108863}for(;O<this.length-H;O++)P=(this.words[O+H]|0)+S,S=P>>26,this.words[O+H]=P&67108863;if(S===0)return this.strip();X(S===-1),S=0;for(O=0;O<this.length;O++)P=-(this.words[O]|0)+S,S=P>>26,this.words[O]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,W=this.clone(),O=G,P=O.words[O.length-1]|0,S=this._countBits(P);if(H=26-S,H!==0)O=O.ushln(H),W.iushln(H),P=O.words[O.length-1]|0;var A=W.length-O.length,V;if(K!=="mod"){V=new Z(null),V.length=A+1,V.words=Array(V.length);for(var T=0;T<V.length;T++)V.words[T]=0}var g=W.clone()._ishlnsubmul(O,1,A);if(g.negative===0){if(W=g,V)V.words[A]=1}for(var v=A-1;v>=0;v--){var h=(W.words[O.length+v]|0)*67108864+(W.words[O.length+v-1]|0);h=Math.min(h/P|0,67108863),W._ishlnsubmul(O,h,v);while(W.negative!==0)if(h--,W.negative=0,W._ishlnsubmul(O,1,v),!W.isZero())W.negative^=1;if(V)V.words[v]=h}if(V)V.strip();if(W.strip(),K!=="div"&&H!==0)W.iushrn(H);return{div:V||null,mod:W}},Z.prototype.divmod=function(G,K,H){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var W,O,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")W=P.div.neg();if(K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.iadd(G)}return{div:W,mod:O}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")W=P.div.neg();return{div:W,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(O=P.mod.neg(),H&&O.negative!==0)O.isub(G)}return{div:P.div,mod:O}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,W=G.ushrn(1),O=G.andln(1),P=H.cmp(W);if(P<0||O===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var K=67108864%G,H=0;for(var W=this.length-1;W>=0;W--)H=(K*H+(this.words[W]|0))%G;return H},Z.prototype.idivn=function(G){X(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var W=(this.words[H]|0)+K*67108864;this.words[H]=W/G|0,K=W%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=new Z(0),S=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var V=H.clone(),T=K.clone();while(!K.isZero()){for(var g=0,v=1;(K.words[0]&v)===0&&g<26;++g,v<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(W.isOdd()||O.isOdd())W.iadd(V),O.isub(T);W.iushrn(1),O.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(P.isOdd()||S.isOdd())P.iadd(V),S.isub(T);P.iushrn(1),S.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(P),O.isub(S);else H.isub(K),P.isub(W),S.isub(O)}return{a:P,b:S,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var W=new Z(1),O=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var S=0,A=1;(K.words[0]&A)===0&&S<26;++S,A<<=1);if(S>0){K.iushrn(S);while(S-- >0){if(W.isOdd())W.iadd(P);W.iushrn(1)}}for(var V=0,T=1;(H.words[0]&T)===0&&V<26;++V,T<<=1);if(V>0){H.iushrn(V);while(V-- >0){if(O.isOdd())O.iadd(P);O.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),W.isub(O);else H.isub(K),O.isub(W)}var g;if(K.cmpn(1)===0)g=W;else g=O;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var W=0;K.isEven()&&H.isEven();W++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var O=K.cmp(H);if(O<0){var P=K;K=H,H=P}else if(O===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(W)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var K=G%26,H=(G-K)/26,W=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=W,this;var O=W;for(var P=H;O!==0&&P<this.length;P++){var S=this.words[P]|0;S+=O,O=S>>>26,S&=67108863,this.words[P]=S}if(O!==0)this.words[P]=O,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;X(G<=67108863,"Number is too big");var W=this.words[0]|0;H=W===G?0:W<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var W=this.words[H]|0,O=G.words[H]|0;if(W===O)continue;if(W<O)K=-1;else if(W>O)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var W=H<this.n?-1:K.ucmp(this.p);if(W===0)K.words[0]=0,K.length=1;else if(W>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(a,d),a.prototype.split=function(G,K){var H=4194303,W=Math.min(G.length,9);for(var O=0;O<W;O++)K.words[O]=G.words[O];if(K.length=W,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(O=10;O<G.length;O++){var S=G.words[O]|0;G.words[O-10]=(S&H)<<4|P>>>22,P=S}if(P>>>=22,G.words[O-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var W=G.words[H]|0;K+=W*977,G.words[H]=K&67108863,K=W*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function O0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(O0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(L0,d);function j0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(j0,d),j0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var W=(G.words[H]|0)*19+K,O=W&67108863;W>>>=26,G.words[H]=O,K=W}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new O0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new j0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){X((G.negative|K.negative)===0,"red works only with positives"),X(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(X(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var W=this.m.subn(1),O=0;while(!W.isZero()&&W.andln(1)===0)O++,W.iushrn(1);X(!W.isZero());var P=new Z(1).toRed(this),S=P.redNeg(),A=this.m.subn(1).iushrn(1),V=this.m.bitLength();V=new Z(2*V*V).toRed(this);while(this.pow(V,A).cmp(S)!==0)V.redIAdd(S);var T=this.pow(V,W),g=this.pow(G,W.addn(1).iushrn(1)),v=this.pow(G,W),h=O;while(v.cmp(P)!==0){var r=v;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();X(U0<h);var z0=this.pow(T,new Z(1).iushln(h-U0-1));g=g.redMul(z0),T=z0.redSqr(),v=v.redMul(T),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,W=Array(1<<H);W[0]=new Z(1).toRed(this),W[1]=G;for(var O=2;O<W.length;O++)W[O]=this.mul(W[O-1],G);var P=W[0],S=0,A=0,V=K.bitLength()%26;if(V===0)V=26;for(O=K.length-1;O>=0;O--){var T=K.words[O];for(var g=V-1;g>=0;g--){var v=T>>g&1;if(P!==W[0])P=this.sqr(P);if(v===0&&S===0){A=0;continue}if(S<<=1,S|=v,A++,A!==H&&(O!==0||g!==0))continue;P=this.mul(P,W[S]),A=0,S=0}V=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new T0(G)};function T0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(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(T0,t),T0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},T0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},T0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),W=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),O=H.isub(W).iushrn(this.shift),P=O;if(O.cmp(this.m)>=0)P=O.isub(this.m);else if(O.cmpn(0)<0)P=O.iadd(this.m);return P._forceRed(this)},T0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,I)}),JS=u0((I,J)=>{var Y=FF(),D=w6().Buffer;function X(z,Z){return D.from(z.toRed(Y.mont(Z.modulus)).redPow(new Y(Z.publicExponent)).fromRed().toArray())}J.exports=X}),Bf=u0((I,J)=>{(function(Y,D){function X(W,O){if(!W)throw Error(O||"Assertion failed")}function z(W,O){W.super_=O;var P=function(){};P.prototype=O.prototype,W.prototype=new P,W.prototype.constructor=W}function Z(W,O,P){if(Z.isBN(W))return W;if(this.negative=0,this.words=null,this.length=0,this.red=null,W!==null){if(O==="le"||O==="be")P=O,O=10;this._init(W||0,O||10,P||"be")}}if(typeof Y==="object")Y.exports=Z;else D.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),S$(nU)).Buffer}catch(W){}Z.isBN=function(W){if(W instanceof Z)return!0;return W!==null&&typeof W==="object"&&W.constructor.wordSize===Z.wordSize&&Array.isArray(W.words)},Z.max=function(W,O){if(W.cmp(O)>0)return W;return O},Z.min=function(W,O){if(W.cmp(O)<0)return W;return O},Z.prototype._init=function(W,O,P){if(typeof W==="number")return this._initNumber(W,O,P);if(typeof W==="object")return this._initArray(W,O,P);if(O==="hex")O=16;X(O===(O|0)&&O>=2&&O<=36),W=W.toString().replace(/\s+/g,"");var S=0;if(W[0]==="-")S++,this.negative=1;if(S<W.length){if(O===16)this._parseHex(W,S,P);else if(this._parseBase(W,O,S),P==="le")this._initArray(this.toArray(),O,P)}},Z.prototype._initNumber=function(W,O,P){if(W<0)this.negative=1,W=-W;if(W<67108864)this.words=[W&67108863],this.length=1;else if(W<4503599627370496)this.words=[W&67108863,W/67108864&67108863],this.length=2;else X(W<9007199254740992),this.words=[W&67108863,W/67108864&67108863,1],this.length=3;if(P!=="le")return;this._initArray(this.toArray(),O,P)},Z.prototype._initArray=function(W,O,P){if(X(typeof W.length==="number"),W.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(W.length/3),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A,V,T=0;if(P==="be"){for(S=W.length-1,A=0;S>=0;S-=3)if(V=W[S]|W[S-1]<<8|W[S-2]<<16,this.words[A]|=V<<T&67108863,this.words[A+1]=V>>>26-T&67108863,T+=24,T>=26)T-=26,A++}else if(P==="le"){for(S=0,A=0;S<W.length;S+=3)if(V=W[S]|W[S+1]<<8|W[S+2]<<16,this.words[A]|=V<<T&67108863,this.words[A+1]=V>>>26-T&67108863,T+=24,T>=26)T-=26,A++}return this._strip()};function R(W,O){var P=W.charCodeAt(O);if(P>=48&&P<=57)return P-48;else if(P>=65&&P<=70)return P-55;else if(P>=97&&P<=102)return P-87;else X(!1,"Invalid character in "+W)}function j(W,O,P){var S=R(W,P);if(P-1>=O)S|=R(W,P-1)<<4;return S}Z.prototype._parseHex=function(W,O,P){this.length=Math.ceil((W.length-O)/6),this.words=Array(this.length);for(var S=0;S<this.length;S++)this.words[S]=0;var A=0,V=0,T;if(P==="be")for(S=W.length-1;S>=O;S-=2)if(T=j(W,O,S)<<A,this.words[V]|=T&67108863,A>=18)A-=18,V+=1,this.words[V]|=T>>>26;else A+=8;else{var g=W.length-O;for(S=g%2===0?O+1:O;S<W.length;S+=2)if(T=j(W,O,S)<<A,this.words[V]|=T&67108863,A>=18)A-=18,V+=1,this.words[V]|=T>>>26;else A+=8}this._strip()};function q(W,O,P,S){var A=0,V=0,T=Math.min(W.length,P);for(var g=O;g<T;g++){var v=W.charCodeAt(g)-48;if(A*=S,v>=49)V=v-49+10;else if(v>=17)V=v-17+10;else V=v;X(v>=0&&V<S,"Invalid character"),A+=V}return A}Z.prototype._parseBase=function(W,O,P){this.words=[0],this.length=1;for(var S=0,A=1;A<=67108863;A*=O)S++;S--,A=A/O|0;var V=W.length-P,T=V%S,g=Math.min(V,V-T)+P,v=0;for(var h=P;h<g;h+=S)if(v=q(W,h,h+S,O),this.imuln(A),this.words[0]+v<67108864)this.words[0]+=v;else this._iaddn(v);if(T!==0){var r=1;v=q(W,h,W.length,O);for(h=0;h<T;h++)r*=O;if(this.imuln(r),this.words[0]+v<67108864)this.words[0]+=v;else this._iaddn(v)}this._strip()},Z.prototype.copy=function(W){W.words=Array(this.length);for(var O=0;O<this.length;O++)W.words[O]=this.words[O];W.length=this.length,W.negative=this.negative,W.red=this.red};function C(W,O){W.words=O.words,W.length=O.length,W.negative=O.negative,W.red=O.red}if(Z.prototype._move=function(W){C(W,this)},Z.prototype.clone=function(){var W=new Z(null);return this.copy(W),W},Z.prototype._expand=function(W){while(this.length<W)this.words[this.length++]=0;return this},Z.prototype._strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},typeof Symbol<"u"&&typeof Symbol.for==="function")try{Z.prototype[Symbol.for("nodejs.util.inspect.custom")]=E}catch(W){Z.prototype.inspect=E}else Z.prototype.inspect=E;function E(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var B=["","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(Z.prototype.toString=function(W,O){W=W||10,O=O|0||1;var P;if(W===16||W==="hex"){P="";var S=0,A=0;for(var V=0;V<this.length;V++){var T=this.words[V],g=((T<<S|A)&16777215).toString(16);if(A=T>>>24-S&16777215,S+=2,S>=26)S-=26,V--;if(A!==0||V!==this.length-1)P=B[6-g.length]+g+P;else P=g+P}if(A!==0)P=A.toString(16)+P;while(P.length%O!==0)P="0"+P;if(this.negative!==0)P="-"+P;return P}if(W===(W|0)&&W>=2&&W<=36){var v=N[W],h=y[W];P="";var r=this.clone();r.negative=0;while(!r.isZero()){var U0=r.modrn(h).toString(W);if(r=r.idivn(h),!r.isZero())P=B[v-U0.length]+U0+P;else P=U0+P}if(this.isZero())P="0"+P;while(P.length%O!==0)P="0"+P;if(this.negative!==0)P="-"+P;return P}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var W=this.words[0];if(this.length===2)W+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)W+=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?-W:W},Z.prototype.toJSON=function(){return this.toString(16,2)},L)Z.prototype.toBuffer=function(W,O){return this.toArrayLike(L,W,O)};Z.prototype.toArray=function(W,O){return this.toArrayLike(Array,W,O)};var w=function(W,O){if(W.allocUnsafe)return W.allocUnsafe(O);return new W(O)};if(Z.prototype.toArrayLike=function(W,O,P){this._strip();var S=this.byteLength(),A=P||Math.max(1,S);X(S<=A,"byte array longer than desired length"),X(A>0,"Requested array length <= 0");var V=w(W,A),T=O==="le"?"LE":"BE";return this["_toArrayLike"+T](V,S),V},Z.prototype._toArrayLikeLE=function(W,O){var P=0,S=0;for(var A=0,V=0;A<this.length;A++){var T=this.words[A]<<V|S;if(W[P++]=T&255,P<W.length)W[P++]=T>>8&255;if(P<W.length)W[P++]=T>>16&255;if(V===6){if(P<W.length)W[P++]=T>>24&255;S=0,V=0}else S=T>>>24,V+=2}if(P<W.length){W[P++]=S;while(P<W.length)W[P++]=0}},Z.prototype._toArrayLikeBE=function(W,O){var P=W.length-1,S=0;for(var A=0,V=0;A<this.length;A++){var T=this.words[A]<<V|S;if(W[P--]=T&255,P>=0)W[P--]=T>>8&255;if(P>=0)W[P--]=T>>16&255;if(V===6){if(P>=0)W[P--]=T>>24&255;S=0,V=0}else S=T>>>24,V+=2}if(P>=0){W[P--]=S;while(P>=0)W[P--]=0}},Math.clz32)Z.prototype._countBits=function(W){return 32-Math.clz32(W)};else Z.prototype._countBits=function(W){var O=W,P=0;if(O>=4096)P+=13,O>>>=13;if(O>=64)P+=7,O>>>=7;if(O>=8)P+=4,O>>>=4;if(O>=2)P+=2,O>>>=2;return P+O};Z.prototype._zeroBits=function(W){if(W===0)return 26;var O=W,P=0;if((O&8191)===0)P+=13,O>>>=13;if((O&127)===0)P+=7,O>>>=7;if((O&15)===0)P+=4,O>>>=4;if((O&3)===0)P+=2,O>>>=2;if((O&1)===0)P++;return P},Z.prototype.bitLength=function(){var W=this.words[this.length-1],O=this._countBits(W);return(this.length-1)*26+O};function b(W){var O=Array(W.bitLength());for(var P=0;P<O.length;P++){var S=P/26|0,A=P%26;O[P]=W.words[S]>>>A&1}return O}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var W=0;for(var O=0;O<this.length;O++){var P=this._zeroBits(this.words[O]);if(W+=P,P!==26)break}return W},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(W){if(this.negative!==0)return this.abs().inotn(W).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(W){if(this.testn(W-1))return this.notn(W).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(W){while(this.length<W.length)this.words[this.length++]=0;for(var O=0;O<W.length;O++)this.words[O]=this.words[O]|W.words[O];return this._strip()},Z.prototype.ior=function(W){return X((this.negative|W.negative)===0),this.iuor(W)},Z.prototype.or=function(W){if(this.length>W.length)return this.clone().ior(W);return W.clone().ior(this)},Z.prototype.uor=function(W){if(this.length>W.length)return this.clone().iuor(W);return W.clone().iuor(this)},Z.prototype.iuand=function(W){var O;if(this.length>W.length)O=W;else O=this;for(var P=0;P<O.length;P++)this.words[P]=this.words[P]&W.words[P];return this.length=O.length,this._strip()},Z.prototype.iand=function(W){return X((this.negative|W.negative)===0),this.iuand(W)},Z.prototype.and=function(W){if(this.length>W.length)return this.clone().iand(W);return W.clone().iand(this)},Z.prototype.uand=function(W){if(this.length>W.length)return this.clone().iuand(W);return W.clone().iuand(this)},Z.prototype.iuxor=function(W){var O,P;if(this.length>W.length)O=this,P=W;else O=W,P=this;for(var S=0;S<P.length;S++)this.words[S]=O.words[S]^P.words[S];if(this!==O)for(;S<O.length;S++)this.words[S]=O.words[S];return this.length=O.length,this._strip()},Z.prototype.ixor=function(W){return X((this.negative|W.negative)===0),this.iuxor(W)},Z.prototype.xor=function(W){if(this.length>W.length)return this.clone().ixor(W);return W.clone().ixor(this)},Z.prototype.uxor=function(W){if(this.length>W.length)return this.clone().iuxor(W);return W.clone().iuxor(this)},Z.prototype.inotn=function(W){X(typeof W==="number"&&W>=0);var O=Math.ceil(W/26)|0,P=W%26;if(this._expand(O),P>0)O--;for(var S=0;S<O;S++)this.words[S]=~this.words[S]&67108863;if(P>0)this.words[S]=~this.words[S]&67108863>>26-P;return this._strip()},Z.prototype.notn=function(W){return this.clone().inotn(W)},Z.prototype.setn=function(W,O){X(typeof W==="number"&&W>=0);var P=W/26|0,S=W%26;if(this._expand(P+1),O)this.words[P]=this.words[P]|1<<S;else this.words[P]=this.words[P]&~(1<<S);return this._strip()},Z.prototype.iadd=function(W){var O;if(this.negative!==0&&W.negative===0)return this.negative=0,O=this.isub(W),this.negative^=1,this._normSign();else if(this.negative===0&&W.negative!==0)return W.negative=0,O=this.isub(W),W.negative=1,O._normSign();var P,S;if(this.length>W.length)P=this,S=W;else P=W,S=this;var A=0;for(var V=0;V<S.length;V++)O=(P.words[V]|0)+(S.words[V]|0)+A,this.words[V]=O&67108863,A=O>>>26;for(;A!==0&&V<P.length;V++)O=(P.words[V]|0)+A,this.words[V]=O&67108863,A=O>>>26;if(this.length=P.length,A!==0)this.words[this.length]=A,this.length++;else if(P!==this)for(;V<P.length;V++)this.words[V]=P.words[V];return this},Z.prototype.add=function(W){var O;if(W.negative!==0&&this.negative===0)return W.negative=0,O=this.sub(W),W.negative^=1,O;else if(W.negative===0&&this.negative!==0)return this.negative=0,O=W.sub(this),this.negative=1,O;if(this.length>W.length)return this.clone().iadd(W);return W.clone().iadd(this)},Z.prototype.isub=function(W){if(W.negative!==0){W.negative=0;var O=this.iadd(W);return W.negative=1,O._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(W),this.negative=1,this._normSign();var P=this.cmp(W);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var S,A;if(P>0)S=this,A=W;else S=W,A=this;var V=0;for(var T=0;T<A.length;T++)O=(S.words[T]|0)-(A.words[T]|0)+V,V=O>>26,this.words[T]=O&67108863;for(;V!==0&&T<S.length;T++)O=(S.words[T]|0)+V,V=O>>26,this.words[T]=O&67108863;if(V===0&&T<S.length&&S!==this)for(;T<S.length;T++)this.words[T]=S.words[T];if(this.length=Math.max(this.length,T),S!==this)this.negative=1;return this._strip()},Z.prototype.sub=function(W){return this.clone().isub(W)};function x(W,O,P){P.negative=O.negative^W.negative;var S=W.length+O.length|0;P.length=S,S=S-1|0;var A=W.words[0]|0,V=O.words[0]|0,T=A*V,g=T&67108863,v=T/67108864|0;P.words[0]=g;for(var h=1;h<S;h++){var r=v>>>26,U0=v&67108863,z0=Math.min(h,O.length-1);for(var Q0=Math.max(0,h-W.length+1);Q0<=z0;Q0++){var s=h-Q0|0;A=W.words[s]|0,V=O.words[Q0]|0,T=A*V+U0,r+=T/67108864|0,U0=T&67108863}P.words[h]=U0|0,v=r|0}if(v!==0)P.words[h]=v|0;else P.length--;return P._strip()}var u=function(W,O,P){var S=W.words,A=O.words,V=P.words,T=0,g,v,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,Z0=J0&8191,A0=J0>>>13,$0=S[3]|0,c=$0&8191,n=$0>>>13,H0=S[4]|0,Y0=H0&8191,W0=H0>>>13,N0=S[5]|0,I0=N0&8191,D0=N0>>>13,U$=S[6]|0,M0=U$&8191,B0=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,PU=A[0]|0,l=PU&8191,X0=PU>>>13,s0=A[1]|0,S0=s0&8191,v0=s0>>>13,O$=A[2]|0,x0=O$&8191,f0=O$>>>13,W$=A[3]|0,n0=W$&8191,i0=W$>>>13,DU=A[4]|0,a0=DU&8191,i=DU>>>13,G0=A[5]|0,E0=G0&8191,q0=G0>>>13,V$=A[6]|0,d0=V$&8191,t0=V$>>>13,HU=A[7]|0,I$=HU&8191,$$=HU>>>13,e$=A[8]|0,X$=e$&8191,e0=e$>>>13,_U=A[9]|0,R$=_U&8191,q$=_U>>>13;P.negative=W.negative^O.negative,P.length=19,g=Math.imul(U0,l),v=Math.imul(U0,X0),v=v+Math.imul(z0,l)|0,h=Math.imul(z0,X0);var $U=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+($U>>>26)|0,$U&=67108863,g=Math.imul(s,l),v=Math.imul(s,X0),v=v+Math.imul(e,l)|0,h=Math.imul(e,X0),g=g+Math.imul(U0,S0)|0,v=v+Math.imul(U0,v0)|0,v=v+Math.imul(z0,S0)|0,h=h+Math.imul(z0,v0)|0;var d$=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(d$>>>26)|0,d$&=67108863,g=Math.imul(Z0,l),v=Math.imul(Z0,X0),v=v+Math.imul(A0,l)|0,h=Math.imul(A0,X0),g=g+Math.imul(s,S0)|0,v=v+Math.imul(s,v0)|0,v=v+Math.imul(e,S0)|0,h=h+Math.imul(e,v0)|0,g=g+Math.imul(U0,x0)|0,v=v+Math.imul(U0,f0)|0,v=v+Math.imul(z0,x0)|0,h=h+Math.imul(z0,f0)|0;var uU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(uU>>>26)|0,uU&=67108863,g=Math.imul(c,l),v=Math.imul(c,X0),v=v+Math.imul(n,l)|0,h=Math.imul(n,X0),g=g+Math.imul(Z0,S0)|0,v=v+Math.imul(Z0,v0)|0,v=v+Math.imul(A0,S0)|0,h=h+Math.imul(A0,v0)|0,g=g+Math.imul(s,x0)|0,v=v+Math.imul(s,f0)|0,v=v+Math.imul(e,x0)|0,h=h+Math.imul(e,f0)|0,g=g+Math.imul(U0,n0)|0,v=v+Math.imul(U0,i0)|0,v=v+Math.imul(z0,n0)|0,h=h+Math.imul(z0,i0)|0;var bU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(bU>>>26)|0,bU&=67108863,g=Math.imul(Y0,l),v=Math.imul(Y0,X0),v=v+Math.imul(W0,l)|0,h=Math.imul(W0,X0),g=g+Math.imul(c,S0)|0,v=v+Math.imul(c,v0)|0,v=v+Math.imul(n,S0)|0,h=h+Math.imul(n,v0)|0,g=g+Math.imul(Z0,x0)|0,v=v+Math.imul(Z0,f0)|0,v=v+Math.imul(A0,x0)|0,h=h+Math.imul(A0,f0)|0,g=g+Math.imul(s,n0)|0,v=v+Math.imul(s,i0)|0,v=v+Math.imul(e,n0)|0,h=h+Math.imul(e,i0)|0,g=g+Math.imul(U0,a0)|0,v=v+Math.imul(U0,i)|0,v=v+Math.imul(z0,a0)|0,h=h+Math.imul(z0,i)|0;var hU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(hU>>>26)|0,hU&=67108863,g=Math.imul(I0,l),v=Math.imul(I0,X0),v=v+Math.imul(D0,l)|0,h=Math.imul(D0,X0),g=g+Math.imul(Y0,S0)|0,v=v+Math.imul(Y0,v0)|0,v=v+Math.imul(W0,S0)|0,h=h+Math.imul(W0,v0)|0,g=g+Math.imul(c,x0)|0,v=v+Math.imul(c,f0)|0,v=v+Math.imul(n,x0)|0,h=h+Math.imul(n,f0)|0,g=g+Math.imul(Z0,n0)|0,v=v+Math.imul(Z0,i0)|0,v=v+Math.imul(A0,n0)|0,h=h+Math.imul(A0,i0)|0,g=g+Math.imul(s,a0)|0,v=v+Math.imul(s,i)|0,v=v+Math.imul(e,a0)|0,h=h+Math.imul(e,i)|0,g=g+Math.imul(U0,E0)|0,v=v+Math.imul(U0,q0)|0,v=v+Math.imul(z0,E0)|0,h=h+Math.imul(z0,q0)|0;var cU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(cU>>>26)|0,cU&=67108863,g=Math.imul(M0,l),v=Math.imul(M0,X0),v=v+Math.imul(B0,l)|0,h=Math.imul(B0,X0),g=g+Math.imul(I0,S0)|0,v=v+Math.imul(I0,v0)|0,v=v+Math.imul(D0,S0)|0,h=h+Math.imul(D0,v0)|0,g=g+Math.imul(Y0,x0)|0,v=v+Math.imul(Y0,f0)|0,v=v+Math.imul(W0,x0)|0,h=h+Math.imul(W0,f0)|0,g=g+Math.imul(c,n0)|0,v=v+Math.imul(c,i0)|0,v=v+Math.imul(n,n0)|0,h=h+Math.imul(n,i0)|0,g=g+Math.imul(Z0,a0)|0,v=v+Math.imul(Z0,i)|0,v=v+Math.imul(A0,a0)|0,h=h+Math.imul(A0,i)|0,g=g+Math.imul(s,E0)|0,v=v+Math.imul(s,q0)|0,v=v+Math.imul(e,E0)|0,h=h+Math.imul(e,q0)|0,g=g+Math.imul(U0,d0)|0,v=v+Math.imul(U0,t0)|0,v=v+Math.imul(z0,d0)|0,h=h+Math.imul(z0,t0)|0;var pU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(pU>>>26)|0,pU&=67108863,g=Math.imul(p0,l),v=Math.imul(p0,X0),v=v+Math.imul(c0,l)|0,h=Math.imul(c0,X0),g=g+Math.imul(M0,S0)|0,v=v+Math.imul(M0,v0)|0,v=v+Math.imul(B0,S0)|0,h=h+Math.imul(B0,v0)|0,g=g+Math.imul(I0,x0)|0,v=v+Math.imul(I0,f0)|0,v=v+Math.imul(D0,x0)|0,h=h+Math.imul(D0,f0)|0,g=g+Math.imul(Y0,n0)|0,v=v+Math.imul(Y0,i0)|0,v=v+Math.imul(W0,n0)|0,h=h+Math.imul(W0,i0)|0,g=g+Math.imul(c,a0)|0,v=v+Math.imul(c,i)|0,v=v+Math.imul(n,a0)|0,h=h+Math.imul(n,i)|0,g=g+Math.imul(Z0,E0)|0,v=v+Math.imul(Z0,q0)|0,v=v+Math.imul(A0,E0)|0,h=h+Math.imul(A0,q0)|0,g=g+Math.imul(s,d0)|0,v=v+Math.imul(s,t0)|0,v=v+Math.imul(e,d0)|0,h=h+Math.imul(e,t0)|0,g=g+Math.imul(U0,I$)|0,v=v+Math.imul(U0,$$)|0,v=v+Math.imul(z0,I$)|0,h=h+Math.imul(z0,$$)|0;var r$=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(r$>>>26)|0,r$&=67108863,g=Math.imul(b0,l),v=Math.imul(b0,X0),v=v+Math.imul(h0,l)|0,h=Math.imul(h0,X0),g=g+Math.imul(p0,S0)|0,v=v+Math.imul(p0,v0)|0,v=v+Math.imul(c0,S0)|0,h=h+Math.imul(c0,v0)|0,g=g+Math.imul(M0,x0)|0,v=v+Math.imul(M0,f0)|0,v=v+Math.imul(B0,x0)|0,h=h+Math.imul(B0,f0)|0,g=g+Math.imul(I0,n0)|0,v=v+Math.imul(I0,i0)|0,v=v+Math.imul(D0,n0)|0,h=h+Math.imul(D0,i0)|0,g=g+Math.imul(Y0,a0)|0,v=v+Math.imul(Y0,i)|0,v=v+Math.imul(W0,a0)|0,h=h+Math.imul(W0,i)|0,g=g+Math.imul(c,E0)|0,v=v+Math.imul(c,q0)|0,v=v+Math.imul(n,E0)|0,h=h+Math.imul(n,q0)|0,g=g+Math.imul(Z0,d0)|0,v=v+Math.imul(Z0,t0)|0,v=v+Math.imul(A0,d0)|0,h=h+Math.imul(A0,t0)|0,g=g+Math.imul(s,I$)|0,v=v+Math.imul(s,$$)|0,v=v+Math.imul(e,I$)|0,h=h+Math.imul(e,$$)|0,g=g+Math.imul(U0,X$)|0,v=v+Math.imul(U0,e0)|0,v=v+Math.imul(z0,X$)|0,h=h+Math.imul(z0,e0)|0;var LU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(LU>>>26)|0,LU&=67108863,g=Math.imul(r0,l),v=Math.imul(r0,X0),v=v+Math.imul(o0,l)|0,h=Math.imul(o0,X0),g=g+Math.imul(b0,S0)|0,v=v+Math.imul(b0,v0)|0,v=v+Math.imul(h0,S0)|0,h=h+Math.imul(h0,v0)|0,g=g+Math.imul(p0,x0)|0,v=v+Math.imul(p0,f0)|0,v=v+Math.imul(c0,x0)|0,h=h+Math.imul(c0,f0)|0,g=g+Math.imul(M0,n0)|0,v=v+Math.imul(M0,i0)|0,v=v+Math.imul(B0,n0)|0,h=h+Math.imul(B0,i0)|0,g=g+Math.imul(I0,a0)|0,v=v+Math.imul(I0,i)|0,v=v+Math.imul(D0,a0)|0,h=h+Math.imul(D0,i)|0,g=g+Math.imul(Y0,E0)|0,v=v+Math.imul(Y0,q0)|0,v=v+Math.imul(W0,E0)|0,h=h+Math.imul(W0,q0)|0,g=g+Math.imul(c,d0)|0,v=v+Math.imul(c,t0)|0,v=v+Math.imul(n,d0)|0,h=h+Math.imul(n,t0)|0,g=g+Math.imul(Z0,I$)|0,v=v+Math.imul(Z0,$$)|0,v=v+Math.imul(A0,I$)|0,h=h+Math.imul(A0,$$)|0,g=g+Math.imul(s,X$)|0,v=v+Math.imul(s,e0)|0,v=v+Math.imul(e,X$)|0,h=h+Math.imul(e,e0)|0,g=g+Math.imul(U0,R$)|0,v=v+Math.imul(U0,q$)|0,v=v+Math.imul(z0,R$)|0,h=h+Math.imul(z0,q$)|0;var WU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(WU>>>26)|0,WU&=67108863,g=Math.imul(r0,S0),v=Math.imul(r0,v0),v=v+Math.imul(o0,S0)|0,h=Math.imul(o0,v0),g=g+Math.imul(b0,x0)|0,v=v+Math.imul(b0,f0)|0,v=v+Math.imul(h0,x0)|0,h=h+Math.imul(h0,f0)|0,g=g+Math.imul(p0,n0)|0,v=v+Math.imul(p0,i0)|0,v=v+Math.imul(c0,n0)|0,h=h+Math.imul(c0,i0)|0,g=g+Math.imul(M0,a0)|0,v=v+Math.imul(M0,i)|0,v=v+Math.imul(B0,a0)|0,h=h+Math.imul(B0,i)|0,g=g+Math.imul(I0,E0)|0,v=v+Math.imul(I0,q0)|0,v=v+Math.imul(D0,E0)|0,h=h+Math.imul(D0,q0)|0,g=g+Math.imul(Y0,d0)|0,v=v+Math.imul(Y0,t0)|0,v=v+Math.imul(W0,d0)|0,h=h+Math.imul(W0,t0)|0,g=g+Math.imul(c,I$)|0,v=v+Math.imul(c,$$)|0,v=v+Math.imul(n,I$)|0,h=h+Math.imul(n,$$)|0,g=g+Math.imul(Z0,X$)|0,v=v+Math.imul(Z0,e0)|0,v=v+Math.imul(A0,X$)|0,h=h+Math.imul(A0,e0)|0,g=g+Math.imul(s,R$)|0,v=v+Math.imul(s,q$)|0,v=v+Math.imul(e,R$)|0,h=h+Math.imul(e,q$)|0;var lU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(lU>>>26)|0,lU&=67108863,g=Math.imul(r0,x0),v=Math.imul(r0,f0),v=v+Math.imul(o0,x0)|0,h=Math.imul(o0,f0),g=g+Math.imul(b0,n0)|0,v=v+Math.imul(b0,i0)|0,v=v+Math.imul(h0,n0)|0,h=h+Math.imul(h0,i0)|0,g=g+Math.imul(p0,a0)|0,v=v+Math.imul(p0,i)|0,v=v+Math.imul(c0,a0)|0,h=h+Math.imul(c0,i)|0,g=g+Math.imul(M0,E0)|0,v=v+Math.imul(M0,q0)|0,v=v+Math.imul(B0,E0)|0,h=h+Math.imul(B0,q0)|0,g=g+Math.imul(I0,d0)|0,v=v+Math.imul(I0,t0)|0,v=v+Math.imul(D0,d0)|0,h=h+Math.imul(D0,t0)|0,g=g+Math.imul(Y0,I$)|0,v=v+Math.imul(Y0,$$)|0,v=v+Math.imul(W0,I$)|0,h=h+Math.imul(W0,$$)|0,g=g+Math.imul(c,X$)|0,v=v+Math.imul(c,e0)|0,v=v+Math.imul(n,X$)|0,h=h+Math.imul(n,e0)|0,g=g+Math.imul(Z0,R$)|0,v=v+Math.imul(Z0,q$)|0,v=v+Math.imul(A0,R$)|0,h=h+Math.imul(A0,q$)|0;var EU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(EU>>>26)|0,EU&=67108863,g=Math.imul(r0,n0),v=Math.imul(r0,i0),v=v+Math.imul(o0,n0)|0,h=Math.imul(o0,i0),g=g+Math.imul(b0,a0)|0,v=v+Math.imul(b0,i)|0,v=v+Math.imul(h0,a0)|0,h=h+Math.imul(h0,i)|0,g=g+Math.imul(p0,E0)|0,v=v+Math.imul(p0,q0)|0,v=v+Math.imul(c0,E0)|0,h=h+Math.imul(c0,q0)|0,g=g+Math.imul(M0,d0)|0,v=v+Math.imul(M0,t0)|0,v=v+Math.imul(B0,d0)|0,h=h+Math.imul(B0,t0)|0,g=g+Math.imul(I0,I$)|0,v=v+Math.imul(I0,$$)|0,v=v+Math.imul(D0,I$)|0,h=h+Math.imul(D0,$$)|0,g=g+Math.imul(Y0,X$)|0,v=v+Math.imul(Y0,e0)|0,v=v+Math.imul(W0,X$)|0,h=h+Math.imul(W0,e0)|0,g=g+Math.imul(c,R$)|0,v=v+Math.imul(c,q$)|0,v=v+Math.imul(n,R$)|0,h=h+Math.imul(n,q$)|0;var vU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(vU>>>26)|0,vU&=67108863,g=Math.imul(r0,a0),v=Math.imul(r0,i),v=v+Math.imul(o0,a0)|0,h=Math.imul(o0,i),g=g+Math.imul(b0,E0)|0,v=v+Math.imul(b0,q0)|0,v=v+Math.imul(h0,E0)|0,h=h+Math.imul(h0,q0)|0,g=g+Math.imul(p0,d0)|0,v=v+Math.imul(p0,t0)|0,v=v+Math.imul(c0,d0)|0,h=h+Math.imul(c0,t0)|0,g=g+Math.imul(M0,I$)|0,v=v+Math.imul(M0,$$)|0,v=v+Math.imul(B0,I$)|0,h=h+Math.imul(B0,$$)|0,g=g+Math.imul(I0,X$)|0,v=v+Math.imul(I0,e0)|0,v=v+Math.imul(D0,X$)|0,h=h+Math.imul(D0,e0)|0,g=g+Math.imul(Y0,R$)|0,v=v+Math.imul(Y0,q$)|0,v=v+Math.imul(W0,R$)|0,h=h+Math.imul(W0,q$)|0;var xU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(xU>>>26)|0,xU&=67108863,g=Math.imul(r0,E0),v=Math.imul(r0,q0),v=v+Math.imul(o0,E0)|0,h=Math.imul(o0,q0),g=g+Math.imul(b0,d0)|0,v=v+Math.imul(b0,t0)|0,v=v+Math.imul(h0,d0)|0,h=h+Math.imul(h0,t0)|0,g=g+Math.imul(p0,I$)|0,v=v+Math.imul(p0,$$)|0,v=v+Math.imul(c0,I$)|0,h=h+Math.imul(c0,$$)|0,g=g+Math.imul(M0,X$)|0,v=v+Math.imul(M0,e0)|0,v=v+Math.imul(B0,X$)|0,h=h+Math.imul(B0,e0)|0,g=g+Math.imul(I0,R$)|0,v=v+Math.imul(I0,q$)|0,v=v+Math.imul(D0,R$)|0,h=h+Math.imul(D0,q$)|0;var jU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(jU>>>26)|0,jU&=67108863,g=Math.imul(r0,d0),v=Math.imul(r0,t0),v=v+Math.imul(o0,d0)|0,h=Math.imul(o0,t0),g=g+Math.imul(b0,I$)|0,v=v+Math.imul(b0,$$)|0,v=v+Math.imul(h0,I$)|0,h=h+Math.imul(h0,$$)|0,g=g+Math.imul(p0,X$)|0,v=v+Math.imul(p0,e0)|0,v=v+Math.imul(c0,X$)|0,h=h+Math.imul(c0,e0)|0,g=g+Math.imul(M0,R$)|0,v=v+Math.imul(M0,q$)|0,v=v+Math.imul(B0,R$)|0,h=h+Math.imul(B0,q$)|0;var MU=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(MU>>>26)|0,MU&=67108863,g=Math.imul(r0,I$),v=Math.imul(r0,$$),v=v+Math.imul(o0,I$)|0,h=Math.imul(o0,$$),g=g+Math.imul(b0,X$)|0,v=v+Math.imul(b0,e0)|0,v=v+Math.imul(h0,X$)|0,h=h+Math.imul(h0,e0)|0,g=g+Math.imul(p0,R$)|0,v=v+Math.imul(p0,q$)|0,v=v+Math.imul(c0,R$)|0,h=h+Math.imul(c0,q$)|0;var KX=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(KX>>>26)|0,KX&=67108863,g=Math.imul(r0,X$),v=Math.imul(r0,e0),v=v+Math.imul(o0,X$)|0,h=Math.imul(o0,e0),g=g+Math.imul(b0,R$)|0,v=v+Math.imul(b0,q$)|0,v=v+Math.imul(h0,R$)|0,h=h+Math.imul(h0,q$)|0;var WY=(T+g|0)+((v&8191)<<13)|0;T=(h+(v>>>13)|0)+(WY>>>26)|0,WY&=67108863,g=Math.imul(r0,R$),v=Math.imul(r0,q$),v=v+Math.imul(o0,R$)|0,h=Math.imul(o0,q$);var KY=(T+g|0)+((v&8191)<<13)|0;if(T=(h+(v>>>13)|0)+(KY>>>26)|0,KY&=67108863,V[0]=$U,V[1]=d$,V[2]=uU,V[3]=bU,V[4]=hU,V[5]=cU,V[6]=pU,V[7]=r$,V[8]=LU,V[9]=WU,V[10]=lU,V[11]=EU,V[12]=vU,V[13]=xU,V[14]=jU,V[15]=MU,V[16]=KX,V[17]=WY,V[18]=KY,T!==0)V[19]=T,P.length++;return P};if(!Math.imul)u=x;function p(W,O,P){P.negative=O.negative^W.negative,P.length=W.length+O.length;var S=0,A=0;for(var V=0;V<P.length-1;V++){var T=A;A=0;var g=S&67108863,v=Math.min(V,O.length-1);for(var h=Math.max(0,V-W.length+1);h<=v;h++){var r=V-h,U0=W.words[r]|0,z0=O.words[h]|0,Q0=U0*z0,s=Q0&67108863;T=T+(Q0/67108864|0)|0,s=s+g|0,g=s&67108863,T=T+(s>>>26)|0,A+=T>>>26,T&=67108863}P.words[V]=g,S=T,T=A}if(S!==0)P.words[V]=S;else P.length--;return P._strip()}function d(W,O,P){return p(W,O,P)}Z.prototype.mulTo=function(W,O){var P,S=this.length+W.length;if(this.length===10&&W.length===10)P=u(this,W,O);else if(S<63)P=x(this,W,O);else if(S<1024)P=p(this,W,O);else P=d(this,W,O);return P};function a(W,O){this.x=W,this.y=O}a.prototype.makeRBT=function(W){var O=Array(W),P=Z.prototype._countBits(W)-1;for(var S=0;S<W;S++)O[S]=this.revBin(S,P,W);return O},a.prototype.revBin=function(W,O,P){if(W===0||W===P-1)return W;var S=0;for(var A=0;A<O;A++)S|=(W&1)<<O-A-1,W>>=1;return S},a.prototype.permute=function(W,O,P,S,A,V){for(var T=0;T<V;T++)S[T]=O[W[T]],A[T]=P[W[T]]},a.prototype.transform=function(W,O,P,S,A,V){this.permute(V,W,O,P,S,A);for(var T=1;T<A;T<<=1){var g=T<<1,v=Math.cos(2*Math.PI/g),h=Math.sin(2*Math.PI/g);for(var r=0;r<A;r+=g){var U0=v,z0=h;for(var Q0=0;Q0<T;Q0++){var s=P[r+Q0],e=S[r+Q0],J0=P[r+Q0+T],Z0=S[r+Q0+T],A0=U0*J0-z0*Z0;if(Z0=U0*Z0+z0*J0,J0=A0,P[r+Q0]=s+J0,S[r+Q0]=e+Z0,P[r+Q0+T]=s-J0,S[r+Q0+T]=e-Z0,Q0!==g)A0=v*U0-h*z0,z0=v*z0+h*U0,U0=A0}}}},a.prototype.guessLen13b=function(W,O){var P=Math.max(O,W)|1,S=P&1,A=0;for(P=P/2|0;P;P=P>>>1)A++;return 1<<A+1+S},a.prototype.conjugate=function(W,O,P){if(P<=1)return;for(var S=0;S<P/2;S++){var A=W[S];W[S]=W[P-S-1],W[P-S-1]=A,A=O[S],O[S]=-O[P-S-1],O[P-S-1]=-A}},a.prototype.normalize13b=function(W,O){var P=0;for(var S=0;S<O/2;S++){var A=Math.round(W[2*S+1]/O)*8192+Math.round(W[2*S]/O)+P;if(W[S]=A&67108863,A<67108864)P=0;else P=A/67108864|0}return W},a.prototype.convert13b=function(W,O,P,S){var A=0;for(var V=0;V<O;V++)A=A+(W[V]|0),P[2*V]=A&8191,A=A>>>13,P[2*V+1]=A&8191,A=A>>>13;for(V=2*O;V<S;++V)P[V]=0;X(A===0),X((A&-8192)===0)},a.prototype.stub=function(W){var O=Array(W);for(var P=0;P<W;P++)O[P]=0;return O},a.prototype.mulp=function(W,O,P){var S=2*this.guessLen13b(W.length,O.length),A=this.makeRBT(S),V=this.stub(S),T=Array(S),g=Array(S),v=Array(S),h=Array(S),r=Array(S),U0=Array(S),z0=P.words;z0.length=S,this.convert13b(W.words,W.length,T,S),this.convert13b(O.words,O.length,h,S),this.transform(T,V,g,v,S,A),this.transform(h,V,r,U0,S,A);for(var Q0=0;Q0<S;Q0++){var s=g[Q0]*r[Q0]-v[Q0]*U0[Q0];v[Q0]=g[Q0]*U0[Q0]+v[Q0]*r[Q0],g[Q0]=s}return this.conjugate(g,v,S),this.transform(g,v,z0,V,S,A),this.conjugate(z0,V,S),this.normalize13b(z0,S),P.negative=W.negative^O.negative,P.length=W.length+O.length,P._strip()},Z.prototype.mul=function(W){var O=new Z(null);return O.words=Array(this.length+W.length),this.mulTo(W,O)},Z.prototype.mulf=function(W){var O=new Z(null);return O.words=Array(this.length+W.length),d(this,W,O)},Z.prototype.imul=function(W){return this.clone().mulTo(W,this)},Z.prototype.imuln=function(W){var O=W<0;if(O)W=-W;X(typeof W==="number"),X(W<67108864);var P=0;for(var S=0;S<this.length;S++){var A=(this.words[S]|0)*W,V=(A&67108863)+(P&67108863);P>>=26,P+=A/67108864|0,P+=V>>>26,this.words[S]=V&67108863}if(P!==0)this.words[S]=P,this.length++;return this.length=W===0?1:this.length,O?this.ineg():this},Z.prototype.muln=function(W){return this.clone().imuln(W)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(W){var O=b(W);if(O.length===0)return new Z(1);var P=this;for(var S=0;S<O.length;S++,P=P.sqr())if(O[S]!==0)break;if(++S<O.length)for(var A=P.sqr();S<O.length;S++,A=A.sqr()){if(O[S]===0)continue;P=P.mul(A)}return P},Z.prototype.iushln=function(W){X(typeof W==="number"&&W>=0);var O=W%26,P=(W-O)/26,S=67108863>>>26-O<<26-O,A;if(O!==0){var V=0;for(A=0;A<this.length;A++){var T=this.words[A]&S,g=(this.words[A]|0)-T<<O;this.words[A]=g|V,V=T>>>26-O}if(V)this.words[A]=V,this.length++}if(P!==0){for(A=this.length-1;A>=0;A--)this.words[A+P]=this.words[A];for(A=0;A<P;A++)this.words[A]=0;this.length+=P}return this._strip()},Z.prototype.ishln=function(W){return X(this.negative===0),this.iushln(W)},Z.prototype.iushrn=function(W,O,P){X(typeof W==="number"&&W>=0);var S;if(O)S=(O-O%26)/26;else S=0;var A=W%26,V=Math.min((W-A)/26,this.length),T=67108863^67108863>>>A<<A,g=P;if(S-=V,S=Math.max(0,S),g){for(var v=0;v<V;v++)g.words[v]=this.words[v];g.length=V}if(V===0);else if(this.length>V){this.length-=V;for(v=0;v<this.length;v++)this.words[v]=this.words[v+V]}else this.words[0]=0,this.length=1;var h=0;for(v=this.length-1;v>=0&&(h!==0||v>=S);v--){var r=this.words[v]|0;this.words[v]=h<<26-A|r>>>A,h=r&T}if(g&&h!==0)g.words[g.length++]=h;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},Z.prototype.ishrn=function(W,O,P){return X(this.negative===0),this.iushrn(W,O,P)},Z.prototype.shln=function(W){return this.clone().ishln(W)},Z.prototype.ushln=function(W){return this.clone().iushln(W)},Z.prototype.shrn=function(W){return this.clone().ishrn(W)},Z.prototype.ushrn=function(W){return this.clone().iushrn(W)},Z.prototype.testn=function(W){X(typeof W==="number"&&W>=0);var O=W%26,P=(W-O)/26,S=1<<O;if(this.length<=P)return!1;var A=this.words[P];return!!(A&S)},Z.prototype.imaskn=function(W){X(typeof W==="number"&&W>=0);var O=W%26,P=(W-O)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(O!==0)P++;if(this.length=Math.min(P,this.length),O!==0){var S=67108863^67108863>>>O<<O;this.words[this.length-1]&=S}return this._strip()},Z.prototype.maskn=function(W){return this.clone().imaskn(W)},Z.prototype.iaddn=function(W){if(X(typeof W==="number"),X(W<67108864),W<0)return this.isubn(-W);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=W)return this.words[0]=W-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(W),this.negative=1,this}return this._iaddn(W)},Z.prototype._iaddn=function(W){this.words[0]+=W;for(var O=0;O<this.length&&this.words[O]>=67108864;O++)if(this.words[O]-=67108864,O===this.length-1)this.words[O+1]=1;else this.words[O+1]++;return this.length=Math.max(this.length,O+1),this},Z.prototype.isubn=function(W){if(X(typeof W==="number"),X(W<67108864),W<0)return this.iaddn(-W);if(this.negative!==0)return this.negative=0,this.iaddn(W),this.negative=1,this;if(this.words[0]-=W,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var O=0;O<this.length&&this.words[O]<0;O++)this.words[O]+=67108864,this.words[O+1]-=1;return this._strip()},Z.prototype.addn=function(W){return this.clone().iaddn(W)},Z.prototype.subn=function(W){return this.clone().isubn(W)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(W,O,P){var S=W.length+P,A;this._expand(S);var V,T=0;for(A=0;A<W.length;A++){V=(this.words[A+P]|0)+T;var g=(W.words[A]|0)*O;V-=g&67108863,T=(V>>26)-(g/67108864|0),this.words[A+P]=V&67108863}for(;A<this.length-P;A++)V=(this.words[A+P]|0)+T,T=V>>26,this.words[A+P]=V&67108863;if(T===0)return this._strip();X(T===-1),T=0;for(A=0;A<this.length;A++)V=-(this.words[A]|0)+T,T=V>>26,this.words[A]=V&67108863;return this.negative=1,this._strip()},Z.prototype._wordDiv=function(W,O){var P=this.length-W.length,S=this.clone(),A=W,V=A.words[A.length-1]|0,T=this._countBits(V);if(P=26-T,P!==0)A=A.ushln(P),S.iushln(P),V=A.words[A.length-1]|0;var g=S.length-A.length,v;if(O!=="mod"){v=new Z(null),v.length=g+1,v.words=Array(v.length);for(var h=0;h<v.length;h++)v.words[h]=0}var r=S.clone()._ishlnsubmul(A,1,g);if(r.negative===0){if(S=r,v)v.words[g]=1}for(var U0=g-1;U0>=0;U0--){var z0=(S.words[A.length+U0]|0)*67108864+(S.words[A.length+U0-1]|0);z0=Math.min(z0/V|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(v)v.words[U0]=z0}if(v)v._strip();if(S._strip(),O!=="div"&&P!==0)S.iushrn(P);return{div:v||null,mod:S}},Z.prototype.divmod=function(W,O,P){if(X(!W.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var S,A,V;if(this.negative!==0&&W.negative===0){if(V=this.neg().divmod(W,O),O!=="mod")S=V.div.neg();if(O!=="div"){if(A=V.mod.neg(),P&&A.negative!==0)A.iadd(W)}return{div:S,mod:A}}if(this.negative===0&&W.negative!==0){if(V=this.divmod(W.neg(),O),O!=="mod")S=V.div.neg();return{div:S,mod:V.mod}}if((this.negative&W.negative)!==0){if(V=this.neg().divmod(W.neg(),O),O!=="div"){if(A=V.mod.neg(),P&&A.negative!==0)A.isub(W)}return{div:V.div,mod:A}}if(W.length>this.length||this.cmp(W)<0)return{div:new Z(0),mod:this};if(W.length===1){if(O==="div")return{div:this.divn(W.words[0]),mod:null};if(O==="mod")return{div:null,mod:new Z(this.modrn(W.words[0]))};return{div:this.divn(W.words[0]),mod:new Z(this.modrn(W.words[0]))}}return this._wordDiv(W,O)},Z.prototype.div=function(W){return this.divmod(W,"div",!1).div},Z.prototype.mod=function(W){return this.divmod(W,"mod",!1).mod},Z.prototype.umod=function(W){return this.divmod(W,"mod",!0).mod},Z.prototype.divRound=function(W){var O=this.divmod(W);if(O.mod.isZero())return O.div;var P=O.div.negative!==0?O.mod.isub(W):O.mod,S=W.ushrn(1),A=W.andln(1),V=P.cmp(S);if(V<0||A===1&&V===0)return O.div;return O.div.negative!==0?O.div.isubn(1):O.div.iaddn(1)},Z.prototype.modrn=function(W){var O=W<0;if(O)W=-W;X(W<=67108863);var P=67108864%W,S=0;for(var A=this.length-1;A>=0;A--)S=(P*S+(this.words[A]|0))%W;return O?-S:S},Z.prototype.modn=function(W){return this.modrn(W)},Z.prototype.idivn=function(W){var O=W<0;if(O)W=-W;X(W<=67108863);var P=0;for(var S=this.length-1;S>=0;S--){var A=(this.words[S]|0)+P*67108864;this.words[S]=A/W|0,P=A%W}return this._strip(),O?this.ineg():this},Z.prototype.divn=function(W){return this.clone().idivn(W)},Z.prototype.egcd=function(W){X(W.negative===0),X(!W.isZero());var O=this,P=W.clone();if(O.negative!==0)O=O.umod(W);else O=O.clone();var S=new Z(1),A=new Z(0),V=new Z(0),T=new Z(1),g=0;while(O.isEven()&&P.isEven())O.iushrn(1),P.iushrn(1),++g;var v=P.clone(),h=O.clone();while(!O.isZero()){for(var r=0,U0=1;(O.words[0]&U0)===0&&r<26;++r,U0<<=1);if(r>0){O.iushrn(r);while(r-- >0){if(S.isOdd()||A.isOdd())S.iadd(v),A.isub(h);S.iushrn(1),A.iushrn(1)}}for(var z0=0,Q0=1;(P.words[0]&Q0)===0&&z0<26;++z0,Q0<<=1);if(z0>0){P.iushrn(z0);while(z0-- >0){if(V.isOdd()||T.isOdd())V.iadd(v),T.isub(h);V.iushrn(1),T.iushrn(1)}}if(O.cmp(P)>=0)O.isub(P),S.isub(V),A.isub(T);else P.isub(O),V.isub(S),T.isub(A)}return{a:V,b:T,gcd:P.iushln(g)}},Z.prototype._invmp=function(W){X(W.negative===0),X(!W.isZero());var O=this,P=W.clone();if(O.negative!==0)O=O.umod(W);else O=O.clone();var S=new Z(1),A=new Z(0),V=P.clone();while(O.cmpn(1)>0&&P.cmpn(1)>0){for(var T=0,g=1;(O.words[0]&g)===0&&T<26;++T,g<<=1);if(T>0){O.iushrn(T);while(T-- >0){if(S.isOdd())S.iadd(V);S.iushrn(1)}}for(var v=0,h=1;(P.words[0]&h)===0&&v<26;++v,h<<=1);if(v>0){P.iushrn(v);while(v-- >0){if(A.isOdd())A.iadd(V);A.iushrn(1)}}if(O.cmp(P)>=0)O.isub(P),S.isub(A);else P.isub(O),A.isub(S)}var r;if(O.cmpn(1)===0)r=S;else r=A;if(r.cmpn(0)<0)r.iadd(W);return r},Z.prototype.gcd=function(W){if(this.isZero())return W.abs();if(W.isZero())return this.abs();var O=this.clone(),P=W.clone();O.negative=0,P.negative=0;for(var S=0;O.isEven()&&P.isEven();S++)O.iushrn(1),P.iushrn(1);do{while(O.isEven())O.iushrn(1);while(P.isEven())P.iushrn(1);var A=O.cmp(P);if(A<0){var V=O;O=P,P=V}else if(A===0||P.cmpn(1)===0)break;O.isub(P)}while(!0);return P.iushln(S)},Z.prototype.invm=function(W){return this.egcd(W).a.umod(W)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(W){return this.words[0]&W},Z.prototype.bincn=function(W){X(typeof W==="number");var O=W%26,P=(W-O)/26,S=1<<O;if(this.length<=P)return this._expand(P+1),this.words[P]|=S,this;var A=S;for(var V=P;A!==0&&V<this.length;V++){var T=this.words[V]|0;T+=A,A=T>>>26,T&=67108863,this.words[V]=T}if(A!==0)this.words[V]=A,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(W){var O=W<0;if(this.negative!==0&&!O)return-1;if(this.negative===0&&O)return 1;this._strip();var P;if(this.length>1)P=1;else{if(O)W=-W;X(W<=67108863,"Number is too big");var S=this.words[0]|0;P=S===W?0:S<W?-1:1}if(this.negative!==0)return-P|0;return P},Z.prototype.cmp=function(W){if(this.negative!==0&&W.negative===0)return-1;if(this.negative===0&&W.negative!==0)return 1;var O=this.ucmp(W);if(this.negative!==0)return-O|0;return O},Z.prototype.ucmp=function(W){if(this.length>W.length)return 1;if(this.length<W.length)return-1;var O=0;for(var P=this.length-1;P>=0;P--){var S=this.words[P]|0,A=W.words[P]|0;if(S===A)continue;if(S<A)O=-1;else if(S>A)O=1;break}return O},Z.prototype.gtn=function(W){return this.cmpn(W)===1},Z.prototype.gt=function(W){return this.cmp(W)===1},Z.prototype.gten=function(W){return this.cmpn(W)>=0},Z.prototype.gte=function(W){return this.cmp(W)>=0},Z.prototype.ltn=function(W){return this.cmpn(W)===-1},Z.prototype.lt=function(W){return this.cmp(W)===-1},Z.prototype.lten=function(W){return this.cmpn(W)<=0},Z.prototype.lte=function(W){return this.cmp(W)<=0},Z.prototype.eqn=function(W){return this.cmpn(W)===0},Z.prototype.eq=function(W){return this.cmp(W)===0},Z.red=function(W){return new K(W)},Z.prototype.toRed=function(W){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),W.convertTo(this)._forceRed(W)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(W){return this.red=W,this},Z.prototype.forceRed=function(W){return X(!this.red,"Already a number in reduction context"),this._forceRed(W)},Z.prototype.redAdd=function(W){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,W)},Z.prototype.redIAdd=function(W){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,W)},Z.prototype.redSub=function(W){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,W)},Z.prototype.redISub=function(W){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,W)},Z.prototype.redShl=function(W){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,W)},Z.prototype.redMul=function(W){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,W),this.red.mul(this,W)},Z.prototype.redIMul=function(W){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,W),this.red.imul(this,W)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(W){return X(this.red&&!W.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,W)};var O0={k256:null,p224:null,p192:null,p25519:null};function L0(W,O){this.name=W,this.p=new Z(O,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}L0.prototype._tmp=function(){var W=new Z(null);return W.words=Array(Math.ceil(this.n/13)),W},L0.prototype.ireduce=function(W){var O=W,P;do this.split(O,this.tmp),O=this.imulK(O),O=O.iadd(this.tmp),P=O.bitLength();while(P>this.n);var S=P<this.n?-1:O.ucmp(this.p);if(S===0)O.words[0]=0,O.length=1;else if(S>0)O.isub(this.p);else if(O.strip!==void 0)O.strip();else O._strip();return O},L0.prototype.split=function(W,O){W.iushrn(this.n,0,O)},L0.prototype.imulK=function(W){return W.imul(this.k)};function j0(){L0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(j0,L0),j0.prototype.split=function(W,O){var P=4194303,S=Math.min(W.length,9);for(var A=0;A<S;A++)O.words[A]=W.words[A];if(O.length=S,W.length<=9){W.words[0]=0,W.length=1;return}var V=W.words[9];O.words[O.length++]=V&P;for(A=10;A<W.length;A++){var T=W.words[A]|0;W.words[A-10]=(T&P)<<4|V>>>22,V=T}if(V>>>=22,W.words[A-10]=V,V===0&&W.length>10)W.length-=10;else W.length-=9},j0.prototype.imulK=function(W){W.words[W.length]=0,W.words[W.length+1]=0,W.length+=2;var O=0;for(var P=0;P<W.length;P++){var S=W.words[P]|0;O+=S*977,W.words[P]=O&67108863,O=S*64+(O/67108864|0)}if(W.words[W.length-1]===0){if(W.length--,W.words[W.length-1]===0)W.length--}return W};function t(){L0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(t,L0);function T0(){L0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(T0,L0);function G(){L0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(G,L0),G.prototype.imulK=function(W){var O=0;for(var P=0;P<W.length;P++){var S=(W.words[P]|0)*19+O,A=S&67108863;S>>>=26,W.words[P]=A,O=S}if(O!==0)W.words[W.length++]=O;return W},Z._prime=function(W){if(O0[W])return O0[W];var O;if(W==="k256")O=new j0;else if(W==="p224")O=new t;else if(W==="p192")O=new T0;else if(W==="p25519")O=new G;else throw Error("Unknown prime "+W);return O0[W]=O,O};function K(W){if(typeof W==="string"){var O=Z._prime(W);this.m=O.p,this.prime=O}else X(W.gtn(1),"modulus must be greater than 1"),this.m=W,this.prime=null}K.prototype._verify1=function(W){X(W.negative===0,"red works only with positives"),X(W.red,"red works only with red numbers")},K.prototype._verify2=function(W,O){X((W.negative|O.negative)===0,"red works only with positives"),X(W.red&&W.red===O.red,"red works only with red numbers")},K.prototype.imod=function(W){if(this.prime)return this.prime.ireduce(W)._forceRed(this);return C(W,W.umod(this.m)._forceRed(this)),W},K.prototype.neg=function(W){if(W.isZero())return W.clone();return this.m.sub(W)._forceRed(this)},K.prototype.add=function(W,O){this._verify2(W,O);var P=W.add(O);if(P.cmp(this.m)>=0)P.isub(this.m);return P._forceRed(this)},K.prototype.iadd=function(W,O){this._verify2(W,O);var P=W.iadd(O);if(P.cmp(this.m)>=0)P.isub(this.m);return P},K.prototype.sub=function(W,O){this._verify2(W,O);var P=W.sub(O);if(P.cmpn(0)<0)P.iadd(this.m);return P._forceRed(this)},K.prototype.isub=function(W,O){this._verify2(W,O);var P=W.isub(O);if(P.cmpn(0)<0)P.iadd(this.m);return P},K.prototype.shl=function(W,O){return this._verify1(W),this.imod(W.ushln(O))},K.prototype.imul=function(W,O){return this._verify2(W,O),this.imod(W.imul(O))},K.prototype.mul=function(W,O){return this._verify2(W,O),this.imod(W.mul(O))},K.prototype.isqr=function(W){return this.imul(W,W.clone())},K.prototype.sqr=function(W){return this.mul(W,W)},K.prototype.sqrt=function(W){if(W.isZero())return W.clone();var O=this.m.andln(3);if(X(O%2===1),O===3){var P=this.m.add(new Z(1)).iushrn(2);return this.pow(W,P)}var S=this.m.subn(1),A=0;while(!S.isZero()&&S.andln(1)===0)A++,S.iushrn(1);X(!S.isZero());var V=new Z(1).toRed(this),T=V.redNeg(),g=this.m.subn(1).iushrn(1),v=this.m.bitLength();v=new Z(2*v*v).toRed(this);while(this.pow(v,g).cmp(T)!==0)v.redIAdd(T);var h=this.pow(v,S),r=this.pow(W,S.addn(1).iushrn(1)),U0=this.pow(W,S),z0=A;while(U0.cmp(V)!==0){var Q0=U0;for(var s=0;Q0.cmp(V)!==0;s++)Q0=Q0.redSqr();X(s<z0);var e=this.pow(h,new Z(1).iushln(z0-s-1));r=r.redMul(e),h=e.redSqr(),U0=U0.redMul(h),z0=s}return r},K.prototype.invm=function(W){var O=W._invmp(this.m);if(O.negative!==0)return O.negative=0,this.imod(O).redNeg();else return this.imod(O)},K.prototype.pow=function(W,O){if(O.isZero())return new Z(1).toRed(this);if(O.cmpn(1)===0)return W.clone();var P=4,S=Array(1<<P);S[0]=new Z(1).toRed(this),S[1]=W;for(var A=2;A<S.length;A++)S[A]=this.mul(S[A-1],W);var V=S[0],T=0,g=0,v=O.bitLength()%26;if(v===0)v=26;for(A=O.length-1;A>=0;A--){var h=O.words[A];for(var r=v-1;r>=0;r--){var U0=h>>r&1;if(V!==S[0])V=this.sqr(V);if(U0===0&&T===0){g=0;continue}if(T<<=1,T|=U0,g++,g!==P&&(A!==0||r!==0))continue;V=this.mul(V,S[T]),g=0,T=0}v=26}return V},K.prototype.convertTo=function(W){var O=W.umod(this.m);return O===W?O.clone():O},K.prototype.convertFrom=function(W){var O=W.clone();return O.red=null,O},Z.mont=function(W){return new H(W)};function H(W){if(K.call(this,W),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(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,K),H.prototype.convertTo=function(W){return this.imod(W.ushln(this.shift))},H.prototype.convertFrom=function(W){var O=this.imod(W.mul(this.rinv));return O.red=null,O},H.prototype.imul=function(W,O){if(W.isZero()||O.isZero())return W.words[0]=0,W.length=1,W;var P=W.imul(O),S=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=P.isub(S).iushrn(this.shift),V=A;if(A.cmp(this.m)>=0)V=A.isub(this.m);else if(A.cmpn(0)<0)V=A.iadd(this.m);return V._forceRed(this)},H.prototype.mul=function(W,O){if(W.isZero()||O.isZero())return new Z(0)._forceRed(this);var P=W.mul(O),S=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=P.isub(S).iushrn(this.shift),V=A;if(A.cmp(this.m)>=0)V=A.isub(this.m);else if(A.cmpn(0)<0)V=A.iadd(this.m);return V._forceRed(this)},H.prototype.invm=function(W){var O=this.imod(W._invmp(this.m).mul(this.r2));return O._forceRed(this)}})(typeof J>"u"||J,I)}),QS=u0((I,J)=>{var Y=Bf(),D=Wz(),X=w6().Buffer;function z(R){var j=R.modulus.byteLength(),q;do q=new Y(D(j));while(q.cmp(R.modulus)>=0||!q.umod(R.prime1)||!q.umod(R.prime2));return q}function Z(R){var j=z(R),q=j.toRed(Y.mont(R.modulus)).redPow(new Y(R.publicExponent)).fromRed();return{blinder:q,unblinder:j.invm(R.modulus)}}function L(R,j){var q=Z(j),C=j.modulus.byteLength(),E=new Y(R).mul(q.blinder).umod(j.modulus),B=E.toRed(Y.mont(j.prime1)),N=E.toRed(Y.mont(j.prime2)),y=j.coefficient,w=j.prime1,b=j.prime2,x=B.redPow(j.exponent1).fromRed(),u=N.redPow(j.exponent2).fromRed(),p=x.isub(u).imul(y).umod(w).imul(b);return u.iadd(p).imul(q.unblinder).umod(j.modulus).toArrayLike(X,"be",C)}L.getr=z,J.exports=L}),vf=u0((I,J)=>{var Y=US(),D=Wz(),X=Kz(),z=IS(),Z=XS(),L=FF(),R=JS(),j=QS(),q=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 x=Y(N),u;if(b===4)u=C(x,y);else if(b===1)u=E(x,y,w);else if(b===3){if(u=new L(y),u.cmp(x.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(w)return j(u,x);else return R(u,x)};function C(N,y){var w=N.modulus.byteLength(),b=y.length,x=X("sha1").update(q.alloc(0)).digest(),u=x.length,p=2*u;if(b>w-p-2)throw Error("message too long");var d=q.alloc(w-b-p-2),a=w-u-1,O0=D(u),L0=Z(q.concat([x,d,q.alloc(1,1),y],a),z(O0,a)),j0=Z(O0,z(L0,u));return new L(q.concat([q.alloc(1),j0,L0],w))}function E(N,y,w){var b=y.length,x=N.modulus.byteLength();if(b>x-11)throw Error("message too long");var u;if(w)u=q.alloc(x-b-3,255);else u=B(x-b-3);return new L(q.concat([q.from([0,w?1:2]),u,q.alloc(1),y],x))}function B(N){var y=q.allocUnsafe(N),w=0,b=D(N*2),x=0,u;while(w<N){if(x===b.length)b=D(N*2),x=0;if(u=b[x++],u)y[w++]=u}return y}}),Nf=u0((I,J)=>{var Y=US(),D=IS(),X=XS(),z=FF(),Z=QS(),L=Kz(),R=JS(),j=w6().Buffer;J.exports=function(B,N,y){var w;if(B.padding)w=B.padding;else if(y)w=1;else w=4;var b=Y(B),x=b.modulus.byteLength();if(N.length>x||new z(N).cmp(b.modulus)>=0)throw Error("decryption error");var u;if(y)u=R(new z(N),b);else u=Z(N,b);var p=j.alloc(x-u.length);if(u=j.concat([p,u],x),w===4)return q(b,u);else if(w===1)return C(b,u,y);else if(w===3)return u;else throw Error("unknown padding")};function q(B,N){var y=B.modulus.byteLength(),w=L("sha1").update(j.alloc(0)).digest(),b=w.length;if(N[0]!==0)throw Error("decryption error");var x=N.slice(1,b+1),u=N.slice(b+1),p=X(x,D(u,b)),d=X(u,D(p,y-b-1));if(E(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 C(B,N,y){var w=N.slice(0,2),b=2,x=0;while(N[b++]!==0)if(b>=N.length){x++;break}var u=N.slice(2,b-1);if(w.toString("hex")!=="0002"&&!y||w.toString("hex")!=="0001"&&y)x++;if(u.length<8)x++;if(x)throw Error("decryption error");return N.slice(b)}function E(B,N){B=j.from(B),N=j.from(N);var y=0,w=B.length;if(B.length!==N.length)y++,w=Math.min(B.length,N.length);var b=-1;while(++b<w)y+=B[b]^N[b];return y}}),QF=u0((I)=>{I.publicEncrypt=vf(),I.privateDecrypt=Nf(),I.privateEncrypt=function(J,Y){return I.publicEncrypt(J,Y,!0)},I.publicDecrypt=function(J,Y){return I.privateDecrypt(J,Y,!0)}}),kf=u0((I)=>{var J=(yU(),S$(H4));if(typeof J.publicEncrypt!=="function")J=QF();if(I.publicEncrypt=J.publicEncrypt,I.privateDecrypt=J.privateDecrypt,typeof J.privateEncrypt!=="function")I.privateEncrypt=QF().privateEncrypt;else I.privateEncrypt=J.privateEncrypt;if(typeof J.publicDecrypt!=="function")I.publicDecrypt=QF().publicDecrypt;else I.publicDecrypt=J.publicDecrypt}),xf=u0((I)=>{var J=w6(),Y=Wz(),D=J.Buffer,X=J.kMaxLength,z=globalThis.crypto||globalThis.msCrypto,Z=Math.pow(2,32)-1;function L(E,B){if(typeof E!=="number"||E!==E)throw TypeError("offset must be a number");if(E>Z||E<0)throw TypeError("offset must be a uint32");if(E>X||E>B)throw RangeError("offset out of range")}function R(E,B,N){if(typeof E!=="number"||E!==E)throw TypeError("size must be a number");if(E>Z||E<0)throw TypeError("size must be a uint32");if(E+B>N||E>X)throw RangeError("buffer too small")}z&&z.getRandomValues,I.randomFill=j,I.randomFillSync=C;function j(E,B,N,y){if(!D.isBuffer(E)&&!(E instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof B==="function")y=B,B=0,N=E.length;else if(typeof N==="function")y=N,N=E.length-B;else if(typeof y!=="function")throw TypeError('"cb" argument must be a function');return L(B,E.length),R(N,B,E.length),q(E,B,N,y)}function q(E,B,N,y){if(!1)var w,b;if(y){Y(N,function(u,p){if(u)return y(u);p.copy(E,B),y(null,E)});return}var x=Y(N);return x.copy(E,B),E}function C(E,B,N){if(typeof B>"u")B=0;if(!D.isBuffer(E)&&!(E instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(L(B,E.length),N===void 0)N=E.length-B;return R(N,B,E.length),q(E,B,N)}}),gf=u0((I,J)=>{var Y=(yU(),S$(H4));if(typeof Y.randomFill==="function"&&typeof Y.randomFillSync==="function")I.randomFill=Y.randomFill,I.randomFillSync=Y.randomFillSync;else J.exports=xf()}),wf=u0((I)=>{I.randomBytes=I.rng=I.pseudoRandomBytes=I.prng=Wz(),I.createHash=I.Hash=Kz(),I.createHmac=I.Hmac=xq();var J=Qw(),Y=Object.keys(J),D=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Y);I.getHashes=function(){return D};var X=mq();I.pbkdf2=X.pbkdf2,I.pbkdf2Sync=X.pbkdf2Sync;var z=cw();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 Z=pw();I.DiffieHellmanGroup=Z.DiffieHellmanGroup,I.createDiffieHellmanGroup=Z.createDiffieHellmanGroup,I.getDiffieHellman=Z.getDiffieHellman,I.createDiffieHellman=Z.createDiffieHellman,I.DiffieHellman=Z.DiffieHellman;var L=lw();I.createSign=L.createSign,I.Sign=L.Sign,I.createVerify=L.createVerify,I.Verify=L.Verify,I.createECDH=Wf();var R=kf();I.publicEncrypt=R.publicEncrypt,I.privateEncrypt=R.privateEncrypt,I.publicDecrypt=R.publicDecrypt,I.privateDecrypt=R.privateDecrypt;var j=gf();I.randomFill=j.randomFill,I.randomFillSync=j.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$=Jw(wf(),1),ff=h$.prng,yf=h$.pseudoRandomBytes,uf=h$.rng,bf=h$.randomBytes,hf=h$.Hash,O4=h$.createHash,cf=h$.Hmac,pf=h$.createHmac,lf=h$.getHashes,mf=h$.pbkdf2,df=h$.pbkdf2Sync,nf=h$.Cipher,of=h$.createCipher,rf=h$.Cipheriv,tf=h$.createCipheriv,af=h$.Decipher,sf=h$.createDecipher,ef=h$.Decipheriv,$y=h$.createDecipheriv,Uy=h$.getCiphers,Iy=h$.listCiphers,Xy=h$.DiffieHellmanGroup,Jy=h$.createDiffieHellmanGroup,Qy=h$.getDiffieHellman,Yy=h$.createDiffieHellman,Gy=h$.DiffieHellman,Zy=h$.createSign,Vy=h$.Sign,zy=h$.createVerify,Dy=h$.Verify,Wy=h$.createECDH,Ky=h$.publicEncrypt,Fy=h$.privateEncrypt,Oy=h$.publicDecrypt,Hy=h$.privateDecrypt,Ly=h$.randomFill,My=h$.randomFillSync,Ay=h$.createCredentials,Cy=h$.constants,_y=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];jy=crypto,qy=crypto});var Fv={};x6(Fv,{resolveObject:()=>Kv,resolve:()=>Wv,parse:()=>zY,format:()=>Dv,default:()=>Vp,Url:()=>C4,URLSearchParams:()=>Vv,URL:()=>cM});function pM(I){return typeof I==="string"}function zv(I){return typeof I==="object"&&I!==null}function ID(I){return I===null}function $p(I){return I==null}function C4(){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,Y){if(I&&zv(I)&&I instanceof C4)return I;var D=new C4;return D.parse(I,J,Y),D}function Dv(I){if(pM(I))I=zY(I);if(!(I instanceof C4))return C4.prototype.format.call(I);return I.format()}function Wv(I,J){return zY(I,!1,!0).resolve(J)}function Kv(I,J){if(!I)return J;return zY(I,!1,!0).resolveObject(J)}var cM,Vv,Up,Ip,Xp,Jp,Qp,uM,Yv,Gv,Yp=255,Zv,Gp,Zp,bM,VY,hM,Vp;var Ov=LQ(()=>{({URL:cM,URLSearchParams:Vv}=globalThis);Up=/^([a-z0-9.+-]+:)/i,Ip=/:[0-9]*$/,Xp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Jp=["<",">",'"',"`"," ","\r",`
|
|
246
|
+
`,"\t"],Qp=["{","}","|","\\","^","`"].concat(Jp),uM=["'"].concat(Qp),Yv=["%","/","?",";","#"].concat(uM),Gv=["/","?","#"],Zv=/^[+a-z0-9A-Z_-]{0,63}$/,Gp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Zp={javascript:!0,"javascript:":!0},bM={javascript:!0,"javascript:":!0},VY={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},hM={parse(I){var J=decodeURIComponent;return(I+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(Y,D,X){var z=D.split("="),Z=J(z[0]||""),L=J(z[1]||""),R=Y[Z];return Y[Z]=R===void 0?L:[].concat(R,L),Y},{})},stringify(I){var J=encodeURIComponent;return Object.keys(I||{}).reduce(function(Y,D){return[].concat(I[D]).forEach(function(X){Y.push(J(D)+"="+J(X))}),Y},[]).join("&").replace(/\s/g,"+")}};C4.prototype.parse=function(I,J,Y){if(!pM(I))throw TypeError("Parameter 'url' must be a string, not "+typeof I);var D=I.indexOf("?"),X=D!==-1&&D<I.indexOf("#")?"?":"#",z=I.split(X),Z=/\\/g;z[0]=z[0].replace(Z,"/"),I=z.join(X);var L=I;if(L=L.trim(),!Y&&I.split("#").length===1){var R=Xp.exec(L);if(R){if(this.path=L,this.href=L,this.pathname=R[1],R[2])if(this.search=R[2],J)this.query=hM.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(J)this.search="",this.query={};return this}}var j=Up.exec(L);if(j){j=j[0];var q=j.toLowerCase();this.protocol=q,L=L.substr(j.length)}if(Y||j||L.match(/^\/\/[^@\/]+@[^@\/]+/)){var C=L.substr(0,2)==="//";if(C&&!(j&&bM[j]))L=L.substr(2),this.slashes=!0}if(!bM[j]&&(C||j&&!VY[j])){var E=-1;for(var B=0;B<Gv.length;B++){var N=L.indexOf(Gv[B]);if(N!==-1&&(E===-1||N<E))E=N}var y,w;if(E===-1)w=L.lastIndexOf("@");else w=L.lastIndexOf("@",E);if(w!==-1)y=L.slice(0,w),L=L.slice(w+1),this.auth=decodeURIComponent(y);E=-1;for(var B=0;B<Yv.length;B++){var N=L.indexOf(Yv[B]);if(N!==-1&&(E===-1||N<E))E=N}if(E===-1)E=L.length;this.host=L.slice(0,E),L=L.slice(E),this.parseHost(),this.hostname=this.hostname||"";var b=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!b){var x=this.hostname.split(/\./);for(var B=0,u=x.length;B<u;B++){var p=x[B];if(!p)continue;if(!p.match(Zv)){var d="";for(var a=0,O0=p.length;a<O0;a++)if(p.charCodeAt(a)>127)d+="x";else d+=p[a];if(!d.match(Zv)){var L0=x.slice(0,B),j0=x.slice(B+1),t=p.match(Gp);if(t)L0.push(t[1]),j0.unshift(t[2]);if(j0.length)L="/"+j0.join(".")+L;this.hostname=L0.join(".");break}}}}if(this.hostname.length>Yp)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!b)this.hostname=new cM(`https://${this.hostname}`).hostname;var T0=this.port?":"+this.port:"",G=this.hostname||"";if(this.host=G+T0,this.href+=this.host,b){if(this.hostname=this.hostname.substr(1,this.hostname.length-2),L[0]!=="/")L="/"+L}}if(!Zp[q])for(var B=0,u=uM.length;B<u;B++){var K=uM[B];if(L.indexOf(K)===-1)continue;var H=encodeURIComponent(K);if(H===K)H=escape(K);L=L.split(K).join(H)}var W=L.indexOf("#");if(W!==-1)this.hash=L.substr(W),L=L.slice(0,W);var O=L.indexOf("?");if(O!==-1){if(this.search=L.substr(O),this.query=L.substr(O+1),J)this.query=hM.parse(this.query);L=L.slice(0,O)}else if(J)this.search="",this.query={};if(L)this.pathname=L;if(VY[q]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var T0=this.pathname||"",P=this.search||"";this.path=T0+P}return this.href=this.format(),this};C4.prototype.format=function(){var I=this.auth||"";if(I)I=encodeURIComponent(I),I=I.replace(/%3A/i,":"),I+="@";var J=this.protocol||"",Y=this.pathname||"",D=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&&zv(this.query)&&Object.keys(this.query).length)z=hM.stringify(this.query);var Z=this.search||z&&"?"+z||"";if(J&&J.substr(-1)!==":")J+=":";if(this.slashes||(!J||VY[J])&&X!==!1){if(X="//"+(X||""),Y&&Y.charAt(0)!=="/")Y="/"+Y}else if(!X)X="";if(D&&D.charAt(0)!=="#")D="#"+D;if(Z&&Z.charAt(0)!=="?")Z="?"+Z;return Y=Y.replace(/[?#]/g,function(L){return encodeURIComponent(L)}),Z=Z.replace("#","%23"),J+X+Y+Z+D};C4.prototype.resolve=function(I){return this.resolveObject(zY(I,!1,!0)).format()};C4.prototype.resolveObject=function(I){if(pM(I)){var J=new C4;J.parse(I,!1,!0),I=J}var Y=new C4,D=Object.keys(this);for(var X=0;X<D.length;X++){var z=D[X];Y[z]=this[z]}if(Y.hash=I.hash,I.href==="")return Y.href=Y.format(),Y;if(I.slashes&&!I.protocol){var Z=Object.keys(I);for(var L=0;L<Z.length;L++){var R=Z[L];if(R!=="protocol")Y[R]=I[R]}if(VY[Y.protocol]&&Y.hostname&&!Y.pathname)Y.path=Y.pathname="/";return Y.href=Y.format(),Y}if(I.protocol&&I.protocol!==Y.protocol){if(!VY[I.protocol]){var j=Object.keys(I);for(var q=0;q<j.length;q++){var C=j[q];Y[C]=I[C]}return Y.href=Y.format(),Y}if(Y.protocol=I.protocol,!I.host&&!bM[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("");Y.pathname=u.join("/")}else Y.pathname=I.pathname;if(Y.search=I.search,Y.query=I.query,Y.host=I.host||"",Y.auth=I.auth,Y.hostname=I.hostname||I.host,Y.port=I.port,Y.pathname||Y.search){var E=Y.pathname||"",B=Y.search||"";Y.path=E+B}return Y.slashes=Y.slashes||I.slashes,Y.href=Y.format(),Y}var N=Y.pathname&&Y.pathname.charAt(0)==="/",y=I.host||I.pathname&&I.pathname.charAt(0)==="/",w=y||N||Y.host&&I.pathname,b=w,x=Y.pathname&&Y.pathname.split("/")||[],u=I.pathname&&I.pathname.split("/")||[],p=Y.protocol&&!VY[Y.protocol];if(p){if(Y.hostname="",Y.port=null,Y.host)if(x[0]==="")x[0]=Y.host;else x.unshift(Y.host);if(Y.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]===""||x[0]==="")}if(y)Y.host=I.host||I.host===""?I.host:Y.host,Y.hostname=I.hostname||I.hostname===""?I.hostname:Y.hostname,Y.search=I.search,Y.query=I.query,x=u;else if(u.length){if(!x)x=[];x.pop(),x=x.concat(u),Y.search=I.search,Y.query=I.query}else if(!$p(I.search)){if(p){Y.hostname=Y.host=x.shift();var d=Y.host&&Y.host.indexOf("@")>0?Y.host.split("@"):!1;if(d)Y.auth=d.shift(),Y.host=Y.hostname=d.shift()}if(Y.search=I.search,Y.query=I.query,!ID(Y.pathname)||!ID(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.href=Y.format(),Y}if(!x.length){if(Y.pathname=null,Y.search)Y.path="/"+Y.search;else Y.path=null;return Y.href=Y.format(),Y}var a=x.slice(-1)[0],O0=(Y.host||I.host||x.length>1)&&(a==="."||a==="..")||a==="",L0=0;for(var j0=x.length;j0>=0;j0--)if(a=x[j0],a===".")x.splice(j0,1);else if(a==="..")x.splice(j0,1),L0++;else if(L0)x.splice(j0,1),L0--;if(!w&&!b)for(;L0--;L0)x.unshift("..");if(w&&x[0]!==""&&(!x[0]||x[0].charAt(0)!=="/"))x.unshift("");if(O0&&x.join("/").substr(-1)!=="/")x.push("");var t=x[0]===""||x[0]&&x[0].charAt(0)==="/";if(p){Y.hostname=Y.host=t?"":x.length?x.shift():"";var d=Y.host&&Y.host.indexOf("@")>0?Y.host.split("@"):!1;if(d)Y.auth=d.shift(),Y.host=Y.hostname=d.shift()}if(w=w||Y.host&&x.length,w&&!t)x.unshift("");if(!x.length)Y.pathname=null,Y.path=null;else Y.pathname=x.join("/");if(!ID(Y.pathname)||!ID(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.auth=I.auth||Y.auth,Y.slashes=Y.slashes||I.slashes,Y.href=Y.format(),Y};C4.prototype.parseHost=function(){var I=this.host,J=Ip.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};Vp={parse:zY,resolve:Wv,resolveObject:Kv,format:Dv,Url:C4,URL:cM,URLSearchParams:Vv}});var Rv={};x6(Rv,{request:()=>Sp,globalAgent:()=>kp,get:()=>Rp,default:()=>Sv,STATUS_CODES:()=>xp,METHODS:()=>gp,IncomingMessage:()=>vp,ClientRequest:()=>Bp,Agent:()=>Np});var zp,Dp,Hv,Wp,Kp,Fp=(I,J,Y)=>{Y=I!=null?zp(Dp(I)):{};let D=J||!I||!I.__esModule?Hv(Y,"default",{value:I,enumerable:!0}):Y;for(let X of Wp(I))if(!Kp.call(D,X))Hv(D,X,{get:()=>I[X],enumerable:!0});return D},BU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),Mv,Op,HJ,Hp,Av,LJ,Cv,Lp,Tv,DY,Mp,Lv,lM,Ap,Cp,Pv,_v,Tp,Pp,Ev,jv,_p,Ep,jp,qp,qv,Sp,Rp,Bp,vp,Np,kp,xp,gp,Sv;var mM=LQ(()=>{zp=Object.create,{getPrototypeOf:Dp,defineProperty:Hv,getOwnPropertyNames:Wp}=Object,Kp=Object.prototype.hasOwnProperty,Mv=BU((I)=>{I.fetch=X(globalThis.fetch)&&X(globalThis.ReadableStream),I.writableStream=X(globalThis.WritableStream),I.abortController=X(globalThis.AbortController);var J;function Y(){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 D(z){var Z=Y();if(!Z)return!1;try{return Z.responseType=z,Z.responseType===z}catch(L){}return!1}I.arraybuffer=I.fetch||D("arraybuffer"),I.msstream=!I.fetch&&D("ms-stream"),I.mozchunkedarraybuffer=!I.fetch&&D("moz-chunked-arraybuffer"),I.overrideMimeType=I.fetch||(Y()?X(Y().overrideMimeType):!1);function X(z){return typeof z==="function"}J=null}),Op=BU((I,J)=>{if(typeof Object.create==="function")J.exports=function(Y,D){if(D)Y.super_=D,Y.prototype=Object.create(D.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,D){if(D){Y.super_=D;var X=function(){};X.prototype=D.prototype,Y.prototype=new X,Y.prototype.constructor=Y}}}),HJ=BU((I,J)=>{try{if(Y=(_Q(),S$(PQ)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(D){J.exports=Op()}var Y}),Hp=BU((I,J)=>{function Y(w,b){var x=Object.keys(w);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(w);b&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(w,p).enumerable})),x.push.apply(x,u)}return x}function D(w){for(var b=1;b<arguments.length;b++){var x=arguments[b]!=null?arguments[b]:{};b%2?Y(Object(x),!0).forEach(function(u){X(w,u,x[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(x)):Y(Object(x)).forEach(function(u){Object.defineProperty(w,u,Object.getOwnPropertyDescriptor(x,u))})}return w}function X(w,b,x){if(b=R(b),b in w)Object.defineProperty(w,b,{value:x,enumerable:!0,configurable:!0,writable:!0});else w[b]=x;return w}function z(w,b){if(!(w instanceof b))throw TypeError("Cannot call a class as a function")}function Z(w,b){for(var x=0;x<b.length;x++){var u=b[x];if(u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u)u.writable=!0;Object.defineProperty(w,R(u.key),u)}}function L(w,b,x){if(b)Z(w.prototype,b);if(x)Z(w,x);return Object.defineProperty(w,"prototype",{writable:!1}),w}function R(w){var b=j(w,"string");return typeof b==="symbol"?b:String(b)}function j(w,b){if(typeof w!=="object"||w===null)return w;var x=w[Symbol.toPrimitive];if(x!==void 0){var u=x.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 q=(oU(),S$(nU)),C=q.Buffer,E=(_Q(),S$(PQ)),B=E.inspect,N=B&&B.custom||"inspect";function y(w,b,x){C.prototype.copy.call(w,b,x)}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 x={data:b,next:null};if(this.length>0)this.tail.next=x;else this.head=x;this.tail=x,++this.length}},{key:"unshift",value:function(b){var x={data:b,next:this.head};if(this.length===0)this.tail=x;this.head=x,++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 x=this.head,u=""+x.data;while(x=x.next)u+=b+x.data;return u}},{key:"concat",value:function(b){if(this.length===0)return C.alloc(0);var x=C.allocUnsafe(b>>>0),u=this.head,p=0;while(u)y(u.data,x,p),p+=u.data.length,u=u.next;return x}},{key:"consume",value:function(b,x){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=x?this._getString(b):this._getBuffer(b);return u}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(b){var x=this.head,u=1,p=x.data;b-=p.length;while(x=x.next){var d=x.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,x.next)this.head=x.next;else this.head=this.tail=null;else this.head=x,x.data=d.slice(a);break}++u}return this.length-=u,p}},{key:"_getBuffer",value:function(b){var x=C.allocUnsafe(b),u=this.head,p=1;u.data.copy(x),b-=u.data.length;while(u=u.next){var d=u.data,a=b>d.length?d.length:b;if(d.copy(x,x.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,x}},{key:N,value:function(b,x){return B(this,D(D({},x),{},{depth:0,customInspect:!1}))}}]),w}()}),Av=BU((I,J)=>{function Y(R,j){var q=this,C=this._readableState&&this._readableState.destroyed,E=this._writableState&&this._writableState.destroyed;if(C||E){if(j)j(R);else if(R){if(!this._writableState)process.nextTick(Z,this,R);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Z,this,R)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(R||null,function(B){if(!j&&B)if(!q._writableState)process.nextTick(D,q,B);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,process.nextTick(D,q,B);else process.nextTick(X,q);else if(j)process.nextTick(X,q),j(B);else process.nextTick(X,q)}),this}function D(R,j){Z(R,j),X(R)}function X(R){if(R._writableState&&!R._writableState.emitClose)return;if(R._readableState&&!R._readableState.emitClose)return;R.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 Z(R,j){R.emit("error",j)}function L(R,j){var{_readableState:q,_writableState:C}=R;if(q&&q.autoDestroy||C&&C.autoDestroy)R.destroy(j);else R.emit("error",j)}J.exports={destroy:Y,undestroy:z,errorOrDestroy:L}}),LJ=BU((I,J)=>{var Y={};function D(R,j,q){if(!q)q=Error;function C(B,N,y){if(typeof j==="string")return j;else return j(B,N,y)}class E extends q{constructor(B,N,y){super(C(B,N,y))}}E.prototype.name=q.name,E.prototype.code=R,Y[R]=E}function X(R,j){if(Array.isArray(R)){let q=R.length;if(R=R.map((C)=>String(C)),q>2)return`one of ${j} ${R.slice(0,q-1).join(", ")}, or `+R[q-1];else if(q===2)return`one of ${j} ${R[0]} or ${R[1]}`;else return`of ${j} ${R[0]}`}else return`of ${j} ${String(R)}`}function z(R,j,q){return R.substr(!q||q<0?0:+q,j.length)===j}function Z(R,j,q){if(q===void 0||q>R.length)q=R.length;return R.substring(q-j.length,q)===j}function L(R,j,q){if(typeof q!=="number")q=0;if(q+j.length>R.length)return!1;else return R.indexOf(j,q)!==-1}D("ERR_INVALID_OPT_VALUE",function(R,j){return'The value "'+j+'" is invalid for option "'+R+'"'},TypeError),D("ERR_INVALID_ARG_TYPE",function(R,j,q){let C;if(typeof j==="string"&&z(j,"not "))C="must not be",j=j.replace(/^not /,"");else C="must be";let E;if(Z(R," argument"))E=`The ${R} ${C} ${X(j,"type")}`;else{let B=L(R,".")?"property":"argument";E=`The "${R}" ${B} ${C} ${X(j,"type")}`}return E+=`. Received type ${typeof q}`,E},TypeError),D("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),D("ERR_METHOD_NOT_IMPLEMENTED",function(R){return"The "+R+" method is not implemented"}),D("ERR_STREAM_PREMATURE_CLOSE","Premature close"),D("ERR_STREAM_DESTROYED",function(R){return"Cannot call "+R+" after a stream was destroyed"}),D("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),D("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),D("ERR_STREAM_WRITE_AFTER_END","write after end"),D("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),D("ERR_UNKNOWN_ENCODING",function(R){return"Unknown encoding: "+R},TypeError),D("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),I.codes=Y}),Cv=BU((I,J)=>{var Y=LJ().codes.ERR_INVALID_OPT_VALUE;function D(z,Z,L){return z.highWaterMark!=null?z.highWaterMark:Z?z[L]:null}function X(z,Z,L,R){var j=D(Z,R,L);if(j!=null){if(!(isFinite(j)&&Math.floor(j)===j)||j<0){var q=R?L:"highWaterMark";throw new Y(q,j)}return Math.floor(j)}return z.objectMode?16:16384}J.exports={getHighWaterMark:X}}),Lp=BU((I,J)=>{J.exports=(_Q(),S$(PQ)).deprecate}),Tv=BU((I,J)=>{J.exports=t;function Y(Q0){var s=this;this.next=null,this.entry=null,this.finish=function(){z0(s,Q0)}}var D;t.WritableState=L0;var X={deprecate:Lp()},z=RQ(),Z=(oU(),S$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function R(Q0){return Z.from(Q0)}function j(Q0){return Z.isBuffer(Q0)||Q0 instanceof L}var q=Av(),C=Cv(),E=C.getHighWaterMark,B=LJ().codes,N=B.ERR_INVALID_ARG_TYPE,y=B.ERR_METHOD_NOT_IMPLEMENTED,w=B.ERR_MULTIPLE_CALLBACK,b=B.ERR_STREAM_CANNOT_PIPE,x=B.ERR_STREAM_DESTROYED,u=B.ERR_STREAM_NULL_VALUES,p=B.ERR_STREAM_WRITE_AFTER_END,d=B.ERR_UNKNOWN_ENCODING,a=q.errorOrDestroy;HJ()(t,z);function O0(){}function L0(Q0,s,e){if(D=D||DY(),Q0=Q0||{},typeof e!=="boolean")e=s instanceof D;if(this.objectMode=!!Q0.objectMode,e)this.objectMode=this.objectMode||!!Q0.writableObjectMode;this.highWaterMark=E(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(Z0){S(s,Z0)},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 Y(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 j0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")j0=Function.prototype[Symbol.hasInstance],Object.defineProperty(t,Symbol.hasInstance,{value:function(Q0){if(j0.call(this,Q0))return!0;if(this!==t)return!1;return Q0&&Q0._writableState instanceof L0}});else j0=function(Q0){return Q0 instanceof this};function t(Q0){D=D||DY();var s=this instanceof D;if(!s&&!j0.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 T0(Q0,s){var e=new p;a(Q0,e),process.nextTick(s,e)}function G(Q0,s,e,J0){var Z0;if(e===null)Z0=new u;else if(typeof e!=="string"&&!s.objectMode)Z0=new N("chunk",["string","Buffer"],e);if(Z0)return a(Q0,Z0),process.nextTick(J0,Z0),!1;return!0}t.prototype.write=function(Q0,s,e){var J0=this._writableState,Z0=!1,A0=!J0.objectMode&&j(Q0);if(A0&&!Z.isBuffer(Q0))Q0=R(Q0);if(typeof s==="function")e=s,s=null;if(A0)s="buffer";else if(!s)s=J0.defaultEncoding;if(typeof e!=="function")e=O0;if(J0.ending)T0(this,e);else if(A0||G(this,J0,Q0,e))J0.pendingcb++,Z0=H(this,J0,A0,Q0,s,e);return Z0},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)T(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 K(Q0,s,e){if(!Q0.objectMode&&Q0.decodeStrings!==!1&&typeof s==="string")s=Z.from(s,e);return s}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function H(Q0,s,e,J0,Z0,A0){if(!e){var $0=K(s,J0,Z0);if(J0!==$0)e=!0,Z0="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:Z0,isBuf:e,callback:A0,next:null},H0)H0.next=s.lastBufferedRequest;else s.bufferedRequest=s.lastBufferedRequest;s.bufferedRequestCount+=1}else W(Q0,s,!1,c,J0,Z0,A0);return n}function W(Q0,s,e,J0,Z0,A0,$0){if(s.writelen=J0,s.writecb=$0,s.writing=!0,s.sync=!0,s.destroyed)s.onwrite(new x("write"));else if(e)Q0._writev(Z0,s.onwrite);else Q0._write(Z0,A0,s.onwrite);s.sync=!1}function O(Q0,s,e,J0,Z0){if(--s.pendingcb,e)process.nextTick(Z0,J0),process.nextTick(r,Q0,s),Q0._writableState.errorEmitted=!0,a(Q0,J0);else Z0(J0),Q0._writableState.errorEmitted=!0,a(Q0,J0),r(Q0,s)}function P(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,Z0=e.writecb;if(typeof Z0!=="function")throw new w;if(P(e),s)O(Q0,e,J0,s,Z0);else{var A0=g(e)||Q0.destroyed;if(!A0&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)T(Q0,e);if(J0)process.nextTick(A,Q0,e,A0,Z0);else A(Q0,e,A0,Z0)}}function A(Q0,s,e,J0){if(!e)V(Q0,s);s.pendingcb--,J0(),r(Q0,s)}function V(Q0,s){if(s.length===0&&s.needDrain)s.needDrain=!1,Q0.emit("drain")}function T(Q0,s){s.bufferProcessing=!0;var e=s.bufferedRequest;if(Q0._writev&&e&&e.next){var J0=s.bufferedRequestCount,Z0=Array(J0),A0=s.corkedRequestsFree;A0.entry=e;var $0=0,c=!0;while(e){if(Z0[$0]=e,!e.isBuf)c=!1;e=e.next,$0+=1}if(Z0.allBuffers=c,W(Q0,s,!0,s.length,Z0,"",A0.finish),s.pendingcb++,s.lastBufferedRequest=null,A0.next)s.corkedRequestsFree=A0.next,A0.next=null;else s.corkedRequestsFree=new Y(s);s.bufferedRequestCount=0}else{while(e){var{chunk:n,encoding:H0,callback:Y0}=e,W0=s.objectMode?1:n.length;if(W(Q0,s,!1,W0,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 g(Q0){return Q0.ending&&Q0.length===0&&Q0.bufferedRequest===null&&!Q0.finished&&!Q0.writing}function v(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(v,Q0,s);else s.prefinished=!0,Q0.emit("prefinish")}function r(Q0,s){var e=g(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 Z0=J0.callback;s.pendingcb--,Z0(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=q.destroy,t.prototype._undestroy=q.undestroy,t.prototype._destroy=function(Q0,s){s(Q0)}}),DY=BU((I,J)=>{var Y=Object.keys||function(C){var E=[];for(var B in C)E.push(B);return E};J.exports=R;var D=Pv(),X=Tv();HJ()(R,D);{z=Y(X.prototype);for(L=0;L<z.length;L++)if(Z=z[L],!R.prototype[Z])R.prototype[Z]=X.prototype[Z]}var z,Z,L;function R(C){if(!(this instanceof R))return new R(C);if(D.call(this,C),X.call(this,C),this.allowHalfOpen=!0,C){if(C.readable===!1)this.readable=!1;if(C.writable===!1)this.writable=!1;if(C.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",j)}}Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function j(){if(this._writableState.ended)return;process.nextTick(q,this)}function q(C){C.end()}Object.defineProperty(R.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(C){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=C,this._writableState.destroyed=C}})}),Mp=BU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(oU(),S$(nU)),D=Y.Buffer;function X(Z,L){for(var R in Z)L[R]=Z[R]}if(D.from&&D.alloc&&D.allocUnsafe&&D.allocUnsafeSlow)J.exports=Y;else X(Y,I),I.Buffer=z;function z(Z,L,R){return D(Z,L,R)}z.prototype=Object.create(D.prototype),X(D,z),z.from=function(Z,L,R){if(typeof Z==="number")throw TypeError("Argument must not be a number");return D(Z,L,R)},z.alloc=function(Z,L,R){if(typeof Z!=="number")throw TypeError("Argument must be a number");var j=D(Z);if(L!==void 0)if(typeof R==="string")j.fill(L,R);else j.fill(L);else j.fill(0);return j},z.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return D(Z)},z.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),Lv=BU((I)=>{var J=Mp().Buffer,Y=J.isEncoding||function(x){switch(x=""+x,x&&x.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 D(x){if(!x)return"utf8";var u;while(!0)switch(x){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 x;default:if(u)return;x=(""+x).toLowerCase(),u=!0}}function X(x){var u=D(x);if(typeof u!=="string"&&(J.isEncoding===Y||!Y(x)))throw Error("Unknown encoding: "+x);return u||x}I.StringDecoder=z;function z(x){this.encoding=X(x);var u;switch(this.encoding){case"utf16le":this.text=E,this.end=B,u=4;break;case"utf8":this.fillLast=j,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(x){if(x.length===0)return"";var u,p;if(this.lastNeed){if(u=this.fillLast(x),u===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<x.length)return u?u+this.text(x,p):this.text(x,p);return u||""},z.prototype.end=C,z.prototype.text=q,z.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length};function Z(x){if(x<=127)return 0;else if(x>>5===6)return 2;else if(x>>4===14)return 3;else if(x>>3===30)return 4;return x>>6===2?-1:-2}function L(x,u,p){var d=u.length-1;if(d<p)return 0;var a=Z(u[d]);if(a>=0){if(a>0)x.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)x.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(u[d]),a>=0){if(a>0)if(a===2)a=0;else x.lastNeed=a-3;return a}return 0}function R(x,u,p){if((u[0]&192)!==128)return x.lastNeed=0,"�";if(x.lastNeed>1&&u.length>1){if((u[1]&192)!==128)return x.lastNeed=1,"�";if(x.lastNeed>2&&u.length>2){if((u[2]&192)!==128)return x.lastNeed=2,"�"}}}function j(x){var u=this.lastTotal-this.lastNeed,p=R(this,x,u);if(p!==void 0)return p;if(this.lastNeed<=x.length)return x.copy(this.lastChar,u,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,u,0,x.length),this.lastNeed-=x.length}function q(x,u){var p=L(this,x,u);if(!this.lastNeed)return x.toString("utf8",u);this.lastTotal=p;var d=x.length-(p-this.lastNeed);return x.copy(this.lastChar,0,d),x.toString("utf8",u,d)}function C(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+"�";return u}function E(x,u){if((x.length-u)%2===0){var p=x.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]=x[x.length-2],this.lastChar[1]=x[x.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",u,x.length-1)}function B(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,p)}return u}function N(x,u){var p=(x.length-u)%3;if(p===0)return x.toString("base64",u);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=x[x.length-1];else this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1];return x.toString("base64",u,x.length-p)}function y(x){var u=x&&x.length?this.write(x):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function w(x){return x.toString(this.encoding)}function b(x){return x&&x.length?this.write(x):""}}),lM=BU((I,J)=>{var Y=LJ().codes.ERR_STREAM_PREMATURE_CLOSE;function D(L){var R=!1;return function(){if(R)return;R=!0;for(var j=arguments.length,q=Array(j),C=0;C<j;C++)q[C]=arguments[C];L.apply(this,q)}}function X(){}function z(L){return L.setHeader&&typeof L.abort==="function"}function Z(L,R,j){if(typeof R==="function")return Z(L,null,R);if(!R)R={};j=D(j||X);var q=R.readable||R.readable!==!1&&L.readable,C=R.writable||R.writable!==!1&&L.writable,E=function(){if(!L.writable)N()},B=L._writableState&&L._writableState.finished,N=function(){if(C=!1,B=!0,!q)j.call(L)},y=L._readableState&&L._readableState.endEmitted,w=function(){if(q=!1,y=!0,!C)j.call(L)},b=function(p){j.call(L,p)},x=function(){var p;if(q&&!y){if(!L._readableState||!L._readableState.ended)p=new Y;return j.call(L,p)}if(C&&!B){if(!L._writableState||!L._writableState.ended)p=new Y;return j.call(L,p)}},u=function(){L.req.on("finish",N)};if(z(L))if(L.on("complete",N),L.on("abort",x),L.req)u();else L.on("request",u);else if(C&&!L._writableState)L.on("end",E),L.on("close",E);if(L.on("end",w),L.on("finish",N),R.error!==!1)L.on("error",b);return L.on("close",x),function(){if(L.removeListener("complete",N),L.removeListener("abort",x),L.removeListener("request",u),L.req)L.req.removeListener("finish",N);L.removeListener("end",E),L.removeListener("close",E),L.removeListener("finish",N),L.removeListener("end",w),L.removeListener("error",b),L.removeListener("close",x)}}J.exports=Z}),Ap=BU((I,J)=>{var Y;function D(d,a,O0){if(a=X(a),a in d)Object.defineProperty(d,a,{value:O0,enumerable:!0,configurable:!0,writable:!0});else d[a]=O0;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 O0=d[Symbol.toPrimitive];if(O0!==void 0){var L0=O0.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 Z=lM(),L=Symbol("lastResolve"),R=Symbol("lastReject"),j=Symbol("error"),q=Symbol("ended"),C=Symbol("lastPromise"),E=Symbol("handlePromise"),B=Symbol("stream");function N(d,a){return{value:d,done:a}}function y(d){var a=d[L];if(a!==null){var O0=d[B].read();if(O0!==null)d[C]=null,d[L]=null,d[R]=null,a(N(O0,!1))}}function w(d){process.nextTick(y,d)}function b(d,a){return function(O0,L0){d.then(function(){if(a[q]){O0(N(void 0,!0));return}a[E](O0,L0)},L0)}}var x=Object.getPrototypeOf(function(){}),u=Object.setPrototypeOf((Y={get stream(){return this[B]},next:function(){var d=this,a=this[j];if(a!==null)return Promise.reject(a);if(this[q])return Promise.resolve(N(void 0,!0));if(this[B].destroyed)return new Promise(function(t,T0){process.nextTick(function(){if(d[j])T0(d[j]);else t(N(void 0,!0))})});var O0=this[C],L0;if(O0)L0=new Promise(b(O0,this));else{var j0=this[B].read();if(j0!==null)return Promise.resolve(N(j0,!1));L0=new Promise(this[E])}return this[C]=L0,L0}},D(Y,Symbol.asyncIterator,function(){return this}),D(Y,"return",function(){var d=this;return new Promise(function(a,O0){d[B].destroy(null,function(L0){if(L0){O0(L0);return}a(N(void 0,!0))})})}),Y),x),p=function(d){var a,O0=Object.create(u,(a={},D(a,B,{value:d,writable:!0}),D(a,L,{value:null,writable:!0}),D(a,R,{value:null,writable:!0}),D(a,j,{value:null,writable:!0}),D(a,q,{value:d._readableState.endEmitted,writable:!0}),D(a,E,{value:function(L0,j0){var t=O0[B].read();if(t)O0[C]=null,O0[L]=null,O0[R]=null,L0(N(t,!1));else O0[L]=L0,O0[R]=j0},writable:!0}),a));return O0[C]=null,Z(d,function(L0){if(L0&&L0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var j0=O0[R];if(j0!==null)O0[C]=null,O0[L]=null,O0[R]=null,j0(L0);O0[j]=L0;return}var t=O0[L];if(t!==null)O0[C]=null,O0[L]=null,O0[R]=null,t(N(void 0,!0));O0[q]=!0}),d.on("readable",w.bind(null,O0)),O0};J.exports=p}),Cp=BU((I,J)=>{function Y(C,E,B,N,y,w,b){try{var x=C[w](b),u=x.value}catch(p){B(p);return}if(x.done)E(u);else Promise.resolve(u).then(N,y)}function D(C){return function(){var E=this,B=arguments;return new Promise(function(N,y){var w=C.apply(E,B);function b(u){Y(w,N,y,b,x,"next",u)}function x(u){Y(w,N,y,b,x,"throw",u)}b(void 0)})}}function X(C,E){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(C);E&&(N=N.filter(function(y){return Object.getOwnPropertyDescriptor(C,y).enumerable})),B.push.apply(B,N)}return B}function z(C){for(var E=1;E<arguments.length;E++){var B=arguments[E]!=null?arguments[E]:{};E%2?X(Object(B),!0).forEach(function(N){Z(C,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):X(Object(B)).forEach(function(N){Object.defineProperty(C,N,Object.getOwnPropertyDescriptor(B,N))})}return C}function Z(C,E,B){if(E=L(E),E in C)Object.defineProperty(C,E,{value:B,enumerable:!0,configurable:!0,writable:!0});else C[E]=B;return C}function L(C){var E=R(C,"string");return typeof E==="symbol"?E:String(E)}function R(C,E){if(typeof C!=="object"||C===null)return C;var B=C[Symbol.toPrimitive];if(B!==void 0){var N=B.call(C,E||"default");if(typeof N!=="object")return N;throw TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(C)}var j=LJ().codes.ERR_INVALID_ARG_TYPE;function q(C,E,B){var N;if(E&&typeof E.next==="function")N=E;else if(E&&E[Symbol.asyncIterator])N=E[Symbol.asyncIterator]();else if(E&&E[Symbol.iterator])N=E[Symbol.iterator]();else throw new j("iterable",["Iterable"],E);var y=new C(z({objectMode:!0},B)),w=!1;y._read=function(){if(!w)w=!0,b()};function b(){return x.apply(this,arguments)}function x(){return x=D(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)}}),x.apply(this,arguments)}return y}J.exports=q}),Pv=BU((I,J)=>{J.exports=G;var Y;G.ReadableState=T0;var D=(qQ(),S$(jQ)).EventEmitter,X=function($0,c){return $0.listeners(c).length},z=RQ(),Z=(oU(),S$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function R($0){return Z.from($0)}function j($0){return Z.isBuffer($0)||$0 instanceof L}var q=(_Q(),S$(PQ)),C;if(q&&q.debuglog)C=q.debuglog("stream");else C=function(){};var E=Hp(),B=Av(),N=Cv(),y=N.getHighWaterMark,w=LJ().codes,b=w.ERR_INVALID_ARG_TYPE,x=w.ERR_STREAM_PUSH_AFTER_EOF,u=w.ERR_METHOD_NOT_IMPLEMENTED,p=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,d,a,O0;HJ()(G,z);var L0=B.errorOrDestroy,j0=["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 T0($0,c,n){if(Y=Y||DY(),$0=$0||{},typeof n!=="boolean")n=c instanceof Y;if(this.objectMode=!!$0.objectMode,n)this.objectMode=this.objectMode||!!$0.readableObjectMode;if(this.highWaterMark=y(this,$0,"readableHighWaterMark",n),this.buffer=new E,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=Lv().StringDecoder;this.decoder=new d($0.encoding),this.encoding=$0.encoding}}function G($0){if(Y=Y||DY(),!(this instanceof G))return new G($0);var c=this instanceof Y;if(this._readableState=new T0($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(G.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}}),G.prototype.destroy=B.destroy,G.prototype._undestroy=B.undestroy,G.prototype._destroy=function($0,c){c($0)},G.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=Z.from($0,c),c="";H0=!0}}else H0=!0;return K(this,$0,c,!1,H0)},G.prototype.unshift=function($0){return K(this,$0,null,!0,!1)};function K($0,c,n,H0,Y0){C("readableAddChunk",c);var W0=$0._readableState;if(c===null)W0.reading=!1,A($0,W0);else{var N0;if(!Y0)N0=W(W0,c);if(N0)L0($0,N0);else if(W0.objectMode||c&&c.length>0){if(typeof c!=="string"&&!W0.objectMode&&Object.getPrototypeOf(c)!==Z.prototype)c=R(c);if(H0)if(W0.endEmitted)L0($0,new p);else H($0,W0,c,!0);else if(W0.ended)L0($0,new x);else if(W0.destroyed)return!1;else if(W0.reading=!1,W0.decoder&&!n)if(c=W0.decoder.write(c),W0.objectMode||c.length!==0)H($0,W0,c,!1);else g($0,W0);else H($0,W0,c,!1)}else if(!H0)W0.reading=!1,g($0,W0)}return!W0.ended&&(W0.length<W0.highWaterMark||W0.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)V($0)}g($0,c)}function W($0,c){var n;if(!j(c)&&typeof c!=="string"&&c!==void 0&&!$0.objectMode)n=new b("chunk",["string","Buffer","Uint8Array"],c);return n}G.prototype.isPaused=function(){return this._readableState.flowing===!1},G.prototype.setEncoding=function($0){if(!d)d=Lv().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 O=1073741824;function P($0){if($0>=O)$0=O;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=P($0);if($0<=c.length)return $0;if(!c.ended)return c.needReadable=!0,0;return c.length}G.prototype.read=function($0){C("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(C("read: emitReadable",c.length,c.ended),c.length===0&&c.ended)J0(this);else V(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(C("need readable",H0),c.length===0||c.length-$0<c.highWaterMark)H0=!0,C("length less than watermark",H0);if(c.ended||c.reading)H0=!1,C("reading or ended",H0);else if(H0){if(C("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(C("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)V($0);else if(c.needReadable=!1,!c.emittedReadable)c.emittedReadable=!0,T($0)}function V($0){var c=$0._readableState;if(C("emitReadable",c.needReadable,c.emittedReadable),c.needReadable=!1,!c.emittedReadable)C("emitReadable",c.flowing),c.emittedReadable=!0,process.nextTick(T,$0)}function T($0){var c=$0._readableState;if(C("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 g($0,c){if(!c.readingMore)c.readingMore=!0,process.nextTick(v,$0,c)}function v($0,c){while(!c.reading&&!c.ended&&(c.length<c.highWaterMark||c.flowing&&c.length===0)){var n=c.length;if(C("maybeReadMore read 0"),$0.read(0),n===c.length)break}c.readingMore=!1}G.prototype._read=function($0){L0(this,new u("_read()"))},G.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,C("pipe count=%d opts=%j",H0.pipesCount,c);var Y0=(!c||c.end!==!1)&&$0!==process.stdout&&$0!==process.stderr,W0=Y0?I0:i$;if(H0.endEmitted)process.nextTick(W0);else n.once("end",W0);$0.on("unpipe",N0);function N0(b0,h0){if(C("onunpipe"),b0===n){if(h0&&h0.hasUnpiped===!1)h0.hasUnpiped=!0,M0()}}function I0(){C("onend"),$0.end()}var D0=h(n);$0.on("drain",D0);var U$=!1;function M0(){if(C("cleanup"),$0.removeListener("close",p0),$0.removeListener("finish",c0),$0.removeListener("drain",D0),$0.removeListener("error",L$),$0.removeListener("unpipe",N0),n.removeListener("end",I0),n.removeListener("end",i$),n.removeListener("data",B0),U$=!0,H0.awaitDrain&&(!$0._writableState||$0._writableState.needDrain))D0()}n.on("data",B0);function B0(b0){C("ondata");var h0=$0.write(b0);if(C("dest.write",h0),h0===!1){if((H0.pipesCount===1&&H0.pipes===$0||H0.pipesCount>1&&A0(H0.pipes,$0)!==-1)&&!U$)C("false write response, pause",H0.awaitDrain),H0.awaitDrain++;n.pause()}}function L$(b0){if(C("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(){C("onfinish"),$0.removeListener("close",p0),i$()}$0.once("finish",c0);function i$(){C("unpipe"),n.unpipe($0)}if($0.emit("pipe",n),!H0.flowing)C("pipe resume"),n.resume();return $0};function h($0){return function(){var c=$0._readableState;if(C("pipeOnDrain",c.awaitDrain),c.awaitDrain)c.awaitDrain--;if(c.awaitDrain===0&&X($0,"data"))c.flowing=!0,s($0)}}G.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 W0=0;W0<Y0;W0++)H0[W0].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},G.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,C("on readable",H0.length,H0.reading),H0.length)V(this);else if(!H0.reading)process.nextTick(U0,this)}}return n},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function($0,c){var n=z.prototype.removeListener.call(this,$0,c);if($0==="readable")process.nextTick(r,this);return n},G.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){C("readable nexttick read 0"),$0.read(0)}G.prototype.resume=function(){var $0=this._readableState;if(!$0.flowing)C("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(C("resume",c.reading),!c.reading)$0.read(0);if(c.resumeScheduled=!1,$0.emit("resume"),s($0),c.flowing&&!c.reading)$0.read(0)}G.prototype.pause=function(){if(C("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)C("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function s($0){var c=$0._readableState;C("flow",c.flowing);while(c.flowing&&$0.read()!==null);}if(G.prototype.wrap=function($0){var c=this,n=this._readableState,H0=!1;$0.on("end",function(){if(C("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(C("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 W0=0;W0<j0.length;W0++)$0.on(j0[W0],this.emit.bind(this,j0[W0]));return this._read=function(N0){if(C("wrapped _read",N0),H0)H0=!1,$0.resume()},this},typeof Symbol==="function")G.prototype[Symbol.asyncIterator]=function(){if(a===void 0)a=Ap();return a(this)};Object.defineProperty(G.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(G.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(G.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function($0){if(this._readableState)this._readableState.flowing=$0}}),G._fromList=e,Object.defineProperty(G.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(C("endReadable",c.endEmitted),!c.endEmitted)c.ended=!0,process.nextTick(Z0,c,$0)}function Z0($0,c){if(C("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")G.from=function($0,c){if(O0===void 0)O0=Cp();return O0(G,$0,c)};function A0($0,c){for(var n=0,H0=$0.length;n<H0;n++)if($0[n]===c)return n;return-1}}),_v=BU((I,J)=>{J.exports=j;var Y=LJ().codes,D=Y.ERR_METHOD_NOT_IMPLEMENTED,X=Y.ERR_MULTIPLE_CALLBACK,z=Y.ERR_TRANSFORM_ALREADY_TRANSFORMING,Z=Y.ERR_TRANSFORM_WITH_LENGTH_0,L=DY();HJ()(j,L);function R(E,B){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,B!=null)this.push(B);y(E);var w=this._readableState;if(w.reading=!1,w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}function j(E){if(!(this instanceof j))return new j(E);if(L.call(this,E),this._transformState={afterTransform:R.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,E){if(typeof E.transform==="function")this._transform=E.transform;if(typeof E.flush==="function")this._flush=E.flush}this.on("prefinish",q)}function q(){var E=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(B,N){C(E,B,N)});else C(this,null,null)}j.prototype.push=function(E,B){return this._transformState.needTransform=!1,L.prototype.push.call(this,E,B)},j.prototype._transform=function(E,B,N){N(new D("_transform()"))},j.prototype._write=function(E,B,N){var y=this._transformState;if(y.writecb=N,y.writechunk=E,y.writeencoding=B,!y.transforming){var w=this._readableState;if(y.needTransform||w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}},j.prototype._read=function(E){var B=this._transformState;if(B.writechunk!==null&&!B.transforming)B.transforming=!0,this._transform(B.writechunk,B.writeencoding,B.afterTransform);else B.needTransform=!0},j.prototype._destroy=function(E,B){L.prototype._destroy.call(this,E,function(N){B(N)})};function C(E,B,N){if(B)return E.emit("error",B);if(N!=null)E.push(N);if(E._writableState.length)throw new Z;if(E._transformState.transforming)throw new z;return E.push(null)}}),Tp=BU((I,J)=>{J.exports=D;var Y=_v();HJ()(D,Y);function D(X){if(!(this instanceof D))return new D(X);Y.call(this,X)}D.prototype._transform=function(X,z,Z){Z(null,X)}}),Pp=BU((I,J)=>{var Y;function D(N){var y=!1;return function(){if(y)return;y=!0,N.apply(void 0,arguments)}}var X=LJ().codes,z=X.ERR_MISSING_ARGS,Z=X.ERR_STREAM_DESTROYED;function L(N){if(N)throw N}function R(N){return N.setHeader&&typeof N.abort==="function"}function j(N,y,w,b){b=D(b);var x=!1;if(N.on("close",function(){x=!0}),Y===void 0)Y=lM();Y(N,{readable:y,writable:w},function(p){if(p)return b(p);x=!0,b()});var u=!1;return function(p){if(x)return;if(u)return;if(u=!0,R(N))return N.abort();if(typeof N.destroy==="function")return N.destroy();b(p||new Z("pipe"))}}function q(N){N()}function C(N,y){return N.pipe(y)}function E(N){if(!N.length)return L;if(typeof N[N.length-1]!=="function")return L;return N.pop()}function B(){for(var N=arguments.length,y=Array(N),w=0;w<N;w++)y[w]=arguments[w];var b=E(y);if(Array.isArray(y[0]))y=y[0];if(y.length<2)throw new z("streams");var x,u=y.map(function(p,d){var a=d<y.length-1,O0=d>0;return j(p,a,O0,function(L0){if(!x)x=L0;if(L0)u.forEach(q);if(a)return;u.forEach(q),b(x)})});return y.reduce(C)}J.exports=B}),Ev=BU((I,J)=>{var Y=RQ();I=J.exports=Pv(),I.Stream=Y||I,I.Readable=I,I.Writable=Tv(),I.Duplex=DY(),I.Transform=_v(),I.PassThrough=Tp(),I.finished=lM(),I.pipeline=Pp()}),jv=BU((I)=>{var J=Mv(),Y=HJ(),D=Ev(),X=I.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},z=I.IncomingMessage=function(Z,L,R,j){var q=this;if(D.Readable.call(q),q._mode=R,q.headers={},q.rawHeaders=[],q.trailers={},q.rawTrailers=[],q.on("end",function(){process.nextTick(function(){q.emit("close")})}),R==="fetch"){let b=function(){B.read().then(function(x){if(q._destroyed)return;if(j(x.done),x.done){q.push(null);return}q.push(Buffer.from(x.value)),b()}).catch(function(x){if(j(!0),!q._destroyed)q.emit("error",x)})};var C=b;if(q._fetchResponse=L,q.url=L.url,q.statusCode=L.status,q.statusMessage=L.statusText,L.headers.forEach(function(x,u){q.headers[u.toLowerCase()]=x,q.rawHeaders.push(u,x)}),J.writableStream){var E=new WritableStream({write:function(x){return j(!1),new Promise(function(u,p){if(q._destroyed)p();else if(q.push(Buffer.from(x)))u();else q._resumeFetch=u})},close:function(){if(j(!0),!q._destroyed)q.push(null)},abort:function(x){if(j(!0),!q._destroyed)q.emit("error",x)}});try{L.body.pipeTo(E).catch(function(x){if(j(!0),!q._destroyed)q.emit("error",x)});return}catch(x){}}var B=L.body.getReader();b()}else{q._xhr=Z,q._pos=0,q.url=Z.responseURL,q.statusCode=Z.status,q.statusMessage=Z.statusText;var N=Z.getAllResponseHeaders().split(/\r?\n/);if(N.forEach(function(b){var x=b.match(/^([^:]+):\s*(.*)/);if(x){var u=x[1].toLowerCase();if(u==="set-cookie"){if(q.headers[u]===void 0)q.headers[u]=[];q.headers[u].push(x[2])}else if(q.headers[u]!==void 0)q.headers[u]+=", "+x[2];else q.headers[u]=x[2];q.rawHeaders.push(x[1],x[2])}}),q._charset="x-user-defined",!J.overrideMimeType){var y=q.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);if(w)q._charset=w[1].toLowerCase()}if(!q._charset)q._charset="utf-8"}}};Y(z,D.Readable),z.prototype._read=function(){var Z=this,L=Z._resumeFetch;if(L)Z._resumeFetch=null,L()},z.prototype._onXHRProgress=function(Z){var L=this,R=L._xhr,j=null;switch(L._mode){case"text":if(j=R.responseText,j.length>L._pos){var q=j.substr(L._pos);if(L._charset==="x-user-defined"){var C=Buffer.alloc(q.length);for(var E=0;E<q.length;E++)C[E]=q.charCodeAt(E)&255;L.push(C)}else L.push(q,L._charset);L._pos=j.length}break;case"arraybuffer":if(R.readyState!==X.DONE||!R.response)break;j=R.response,L.push(Buffer.from(new Uint8Array(j)));break;case"moz-chunked-arraybuffer":if(j=R.response,R.readyState!==X.LOADING||!j)break;L.push(Buffer.from(new Uint8Array(j)));break;case"ms-stream":if(j=R.response,R.readyState!==X.LOADING)break;var B=new globalThis.MSStreamReader;B.onprogress=function(){if(B.result.byteLength>L._pos)L.push(Buffer.from(new Uint8Array(B.result.slice(L._pos)))),L._pos=B.result.byteLength},B.onload=function(){Z(!0),L.push(null)},B.readAsArrayBuffer(j);break}if(L._xhr.readyState===X.DONE&&L._mode!=="ms-stream")Z(!0),L.push(null)}}),_p=BU((I,J)=>{var Y=Mv(),D=HJ(),X=jv(),z=Ev(),Z=X.IncomingMessage,L=X.readyStates;function R(E,B){if(Y.fetch&&B)return"fetch";else if(Y.mozchunkedarraybuffer)return"moz-chunked-arraybuffer";else if(Y.msstream)return"ms-stream";else if(Y.arraybuffer&&E)return"arraybuffer";else return"text"}var j=J.exports=function(E){var B=this;if(z.Writable.call(B),B._opts=E,B._body=[],B._headers={},E.auth)B.setHeader("Authorization","Basic "+Buffer.from(E.auth).toString("base64"));Object.keys(E.headers).forEach(function(w){B.setHeader(w,E.headers[w])});var N,y=!0;if(E.mode==="disable-fetch"||"requestTimeout"in E&&!Y.abortController)y=!1,N=!0;else if(E.mode==="prefer-streaming")N=!1;else if(E.mode==="allow-wrong-content-type")N=!Y.overrideMimeType;else if(!E.mode||E.mode==="default"||E.mode==="prefer-fast")N=!0;else throw Error("Invalid value for opts.mode");B._mode=R(N,y),B._fetchTimer=null,B._socketTimeout=null,B._socketTimer=null,B.on("finish",function(){B._onFinish()})};D(j,z.Writable),j.prototype.setHeader=function(E,B){var N=this,y=E.toLowerCase();if(C.indexOf(y)!==-1)return;N._headers[y]={name:E,value:B}},j.prototype.getHeader=function(E){var B=this._headers[E.toLowerCase()];if(B)return B.value;return null},j.prototype.removeHeader=function(E){var B=this;delete B._headers[E.toLowerCase()]},j.prototype._onFinish=function(){var E=this;if(E._destroyed)return;var B=E._opts;if("timeout"in B&&B.timeout!==0)E.setTimeout(B.timeout);var N=E._headers,y=null;if(B.method!=="GET"&&B.method!=="HEAD")y=new Blob(E._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(O0){w.push([d,O0])});else w.push([d,a])}),E._mode==="fetch"){var b=null;if(Y.abortController){var x=new AbortController;if(b=x.signal,E._fetchAbortController=x,"requestTimeout"in B&&B.requestTimeout!==0)E._fetchTimer=globalThis.setTimeout(function(){if(E.emit("requestTimeout"),E._fetchAbortController)E._fetchAbortController.abort()},B.requestTimeout)}globalThis.fetch(E._opts.url,{method:E._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:B.withCredentials?"include":"same-origin",signal:b}).then(function(p){E._fetchResponse=p,E._resetTimers(!1),E._connect()},function(p){if(E._resetTimers(!0),!E._destroyed)E.emit("error",p)})}else{var u=E._xhr=new globalThis.XMLHttpRequest;try{u.open(E._opts.method,E._opts.url,!0)}catch(p){process.nextTick(function(){E.emit("error",p)});return}if("responseType"in u)u.responseType=E._mode;if("withCredentials"in u)u.withCredentials=!!B.withCredentials;if(E._mode==="text"&&"overrideMimeType"in u)u.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in B)u.timeout=B.requestTimeout,u.ontimeout=function(){E.emit("requestTimeout")};if(w.forEach(function(p){u.setRequestHeader(p[0],p[1])}),E._response=null,u.onreadystatechange=function(){switch(u.readyState){case L.LOADING:case L.DONE:E._onXHRProgress();break}},E._mode==="moz-chunked-arraybuffer")u.onprogress=function(){E._onXHRProgress()};u.onerror=function(){if(E._destroyed)return;E._resetTimers(!0),E.emit("error",Error("XHR error"))};try{u.send(y)}catch(p){process.nextTick(function(){E.emit("error",p)});return}}};function q(E){try{var B=E.status;return B!==null&&B!==0}catch(N){return!1}}j.prototype._onXHRProgress=function(){var E=this;if(E._resetTimers(!1),!q(E._xhr)||E._destroyed)return;if(!E._response)E._connect();E._response._onXHRProgress(E._resetTimers.bind(E))},j.prototype._connect=function(){var E=this;if(E._destroyed)return;E._response=new Z(E._xhr,E._fetchResponse,E._mode,E._resetTimers.bind(E)),E._response.on("error",function(B){E.emit("error",B)}),E.emit("response",E._response)},j.prototype._write=function(E,B,N){var y=this;y._body.push(E),N()},j.prototype._resetTimers=function(E){var B=this;if(globalThis.clearTimeout(B._socketTimer),B._socketTimer=null,E)globalThis.clearTimeout(B._fetchTimer),B._fetchTimer=null;else if(B._socketTimeout)B._socketTimer=globalThis.setTimeout(function(){B.emit("timeout")},B._socketTimeout)},j.prototype.abort=j.prototype.destroy=function(E){var B=this;if(B._destroyed=!0,B._resetTimers(!0),B._response)B._response._destroyed=!0;if(B._xhr)B._xhr.abort();else if(B._fetchAbortController)B._fetchAbortController.abort();if(E)B.emit("error",E)},j.prototype.end=function(E,B,N){var y=this;if(typeof E==="function")N=E,E=void 0;z.Writable.prototype.end.call(y,E,B,N)},j.prototype.setTimeout=function(E,B){var N=this;if(B)N.once("timeout",B);N._socketTimeout=E,N._resetTimers(!1)},j.prototype.flushHeaders=function(){},j.prototype.setNoDelay=function(){},j.prototype.setSocketKeepAlive=function(){};var C=["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"]}),Ep=BU((I,J)=>{J.exports=D;var Y=Object.prototype.hasOwnProperty;function D(){var X={};for(var z=0;z<arguments.length;z++){var Z=arguments[z];for(var L in Z)if(Y.call(Z,L))X[L]=Z[L]}return X}}),jp=BU((I,J)=>{J.exports=(mM(),S$(Rv)).STATUS_CODES}),qp=BU((I)=>{var J=_p(),Y=jv(),D=Ep(),X=jp(),z=(Ov(),S$(Fv)),Z=I;Z.request=function(L,R){if(typeof L==="string")L=z.parse(L);else L=D(L);var j=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",q=L.protocol||j,C=L.hostname||L.host,E=L.port,B=L.path||"/";if(C&&C.indexOf(":")!==-1)C="["+C+"]";L.url=(C?q+"//"+C:"")+(E?":"+E:"")+B,L.method=(L.method||"GET").toUpperCase(),L.headers=L.headers||{};var N=new J(L);if(R)N.on("response",R);return N},Z.get=function(L,R){var j=Z.request(L,R);return j.end(),j},Z.ClientRequest=J,Z.IncomingMessage=Y.IncomingMessage,Z.Agent=function(){},Z.Agent.defaultMaxSockets=4,Z.globalAgent=new Z.Agent,Z.STATUS_CODES=X,Z.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"]}),qv=Fp(qp(),1),{request:Sp,get:Rp,ClientRequest:Bp,IncomingMessage:vp,Agent:Np,globalAgent:kp,STATUS_CODES:xp,METHODS:gp}=qv.default,Sv=qv.default});var uv=YI((D60,yv)=>{function vv(I,J,Y){if(!I||typeof I!=="object"||Array.isArray(I)||Object.keys(I).some((D)=>!J.includes(D)))throw Error(`${Y} has an invalid shape`);return I}function ap(I){if(!Array.isArray(I)||I.length>256)throw Error("World network egress must be an array of at most 256 exact HTTPS origins");let J=I.map((Y)=>{if(typeof Y!=="string"||Y.length>2048)throw Error("World network egress origins must be strings");let D;try{D=new URL(Y)}catch{throw Error(`Invalid World network origin: ${Y}`)}if(D.protocol!=="https:"||D.origin!==Y||D.username||D.password||!/^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/.test(D.hostname)||D.hostname.split(".").some((X)=>!X||X.length>63||X.startsWith("-")||X.endsWith("-"))||/^[\d.]+$/.test(D.hostname)||D.hostname==="localhost"||D.hostname.endsWith(".localhost"))throw Error(`World network requires an exact canonical HTTPS origin: ${Y}`);return Y});return Object.freeze([...new Set(J)].sort())}function Nv(I){let J=vv(I,["egress"],"World network");return Object.freeze({egress:ap(J.egress)})}function kv(I,J){if(typeof I!=="string"||!I||I.length>256)throw Error("World network policy requires its World identity");return Object.freeze({version:1,world:I,egress:Nv(J).egress})}function xv(I){let J=vv(I,["version","world","egress"],"World network policy");if(J.version!==1)throw Error("Unsupported World network policy version");return kv(J.world,{egress:J.egress})}function gv(I){let J=I.VOLTER_WORLD_NETWORK_POLICY;if(J===void 0)return;if(typeof J!=="string"||J.length>65536)throw Error("Invalid published World network policy");let Y=xv(JSON.parse(J));if(!I.VOLTER_WORLD||Y.world!==I.VOLTER_WORLD)throw Error("World network policy does not belong to the attached World");return Y}function wv(I,J){let Y;try{Y=new URL(String(J))}catch{return!1}return Y.protocol==="https:"&&!Y.username&&!Y.password&&I.egress.includes(Y.origin)}function fv(I){let J=String(I||"").toLowerCase().replace(/^\[|\]$/g,"");if(!J)return!0;if(J==="localhost"||J.endsWith(".localhost")||J.endsWith(".test")||J==="0.0.0.0"||J==="::1")return!0;let Y=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/.exec(J);if(Y){let D=Number(Y[1]),X=Number(Y[2]);return D===127||D===10||D===172&&X>=16&&X<=31||D===192&&X===168||D===169&&X===254}return J.includes(":")&&(J.startsWith("fc")||J.startsWith("fd")||J.startsWith("fe80:"))}function sp(I,J=process.env){let Y;try{Y=new URL(String(I))}catch{return`unparseable destination ${String(I)}`}if(fv(Y.hostname))return null;if(J.VOLTER_TWIN_STRICT_EGRESS==="1"||J.VOLTER_TWIN_STRICT_EGRESS==="true")return`sealed World refuses untwinned host ${Y.hostname}`;let D;try{D=gv(J)}catch(X){return`World network policy unreadable (${X.message}); refusing ${Y.hostname}`}if(D!==void 0&&!wv(D,Y))return`World network policy does not allow ${Y.origin}`;return null}yv.exports={isWorldInternalHost:fv,worldEgressRefusal:sp,WORLD_NETWORK_POLICY_ENV:"VOLTER_WORLD_NETWORK_POLICY",normalizeWorldNetwork:Nv,createWorldNetworkPolicy:kv,parseWorldNetworkPolicy:xv,worldNetworkPolicyFromEnv:gv,allowsWorldNetworkEgress:wv}});var rM=YI(($l)=>{var MJ=w4(lG());(function(){function I(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===t?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case y:return"Fragment";case b:return"Profiler";case w:return"StrictMode";case d:return"Suspense";case a:return"SuspenseList";case j0:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case N:return"Portal";case u:return V.displayName||"Context";case x:return(V._context.displayName||"Context")+".Consumer";case p:var T=V.render;return V=V.displayName,V||(V=T.displayName||T.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case O0:return T=V.displayName||null,T!==null?T:I(V.type)||"Memo";case L0:T=V._payload,V=V._init;try{return I(V(T))}catch(g){}}return null}function J(V){return""+V}function Y(V){try{J(V);var T=!1}catch(h){T=!0}if(T){T=console;var g=T.error,v=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return g.call(T,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",v),J(V)}}function D(V){if(V===y)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===L0)return"<...>";try{var T=I(V);return T?"<"+T+">":"<...>"}catch(g){return"<...>"}}function X(){var V=T0.A;return V===null?null:V.getOwner()}function z(){return Error("react-stack-top-frame")}function Z(V){if(G.call(V,"key")){var T=Object.getOwnPropertyDescriptor(V,"key").get;if(T&&T.isReactWarning)return!1}return V.key!==void 0}function L(V,T){function g(){W||(W=!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)",T))}g.isReactWarning=!0,Object.defineProperty(V,"key",{get:g,configurable:!0})}function R(){var V=I(this.type);return O[V]||(O[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function j(V,T,g,v,h,r){var U0=g.ref;return V={$$typeof:B,type:V,key:T,props:g,_owner:v},(U0!==void 0?U0:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:R}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function q(V,T,g,v,h,r){var U0=T.children;if(U0!==void 0)if(v)if(K(U0)){for(v=0;v<U0.length;v++)C(U0[v]);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 C(U0);if(G.call(T,"key")){U0=I(V);var z0=Object.keys(T).filter(function(s){return s!=="key"});v=0<z0.length?"{key: someKey, "+z0.join(": ..., ")+": ...}":"{key: someKey}",A[U0+v]||(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} />`,v,U0,z0,U0),A[U0+v]=!0)}if(U0=null,g!==void 0&&(Y(g),U0=""+g),Z(T)&&(Y(T.key),U0=""+T.key),"key"in T){g={};for(var Q0 in T)Q0!=="key"&&(g[Q0]=T[Q0])}else g=T;return U0&&L(g,typeof V==="function"?V.displayName||V.name||"Unknown":V),j(V,U0,g,X(),h,r)}function C(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===L0&&(V._payload.status==="fulfilled"?E(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function E(V){return typeof V==="object"&&V!==null&&V.$$typeof===B}var B=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"),x=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"),O0=Symbol.for("react.memo"),L0=Symbol.for("react.lazy"),j0=Symbol.for("react.activity"),t=Symbol.for("react.client.reference"),T0=MJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Object.prototype.hasOwnProperty,K=Array.isArray,H=console.createTask?console.createTask:function(){return null};MJ={react_stack_bottom_frame:function(V){return V()}};var W,O={},P=MJ.react_stack_bottom_frame.bind(MJ,z)(),S=H(D(z)),A={};$l.Fragment=y,$l.jsxDEV=function(V,T,g,v){var h=1e4>T0.recentlyCreatedOwnerStacks++;return q(V,T,g,v,h?Error("react-stack-top-frame"):P,h?H(D(V)):S)}})()});var T4=w4(lG(),1),pv=w4(Nj(),1);var{readFile:S60}=(()=>({}));yU();var{closeSync:pi,existsSync:li,fstatSync:mi,mkdirSync:di,openSync:ni,readFileSync:oi,renameSync:ii,rmSync:ri,statSync:ti,writeFileSync:ai,writeSync:si}=(()=>({}));var Hz=function(){if(typeof location<"u")return location.hostname;else return""};var OF=function(){return"/"};function B1(I){if(typeof I!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(I))}function YS(I,J){var Y="",D=0,X=-1,z=0,Z;for(var L=0;L<=I.length;++L){if(L<I.length)Z=I.charCodeAt(L);else if(Z===47)break;else Z=47;if(Z===47){if(X===L-1||z===1);else if(X!==L-1&&z===2){if(Y.length<2||D!==2||Y.charCodeAt(Y.length-1)!==46||Y.charCodeAt(Y.length-2)!==46){if(Y.length>2){var R=Y.lastIndexOf("/");if(R!==Y.length-1){if(R===-1)Y="",D=0;else Y=Y.slice(0,R),D=Y.length-1-Y.lastIndexOf("/");X=L,z=0;continue}}else if(Y.length===2||Y.length===1){Y="",D=0,X=L,z=0;continue}}if(J){if(Y.length>0)Y+="/..";else Y="..";D=2}}else{if(Y.length>0)Y+="/"+I.slice(X+1,L);else Y=I.slice(X+1,L);D=L-X-1}X=L,z=0}else if(Z===46&&z!==-1)++z;else z=-1}return Y}function Sy(I,J){var Y=J.dir||J.root,D=J.base||(J.name||"")+(J.ext||"");if(!Y)return D;if(Y===J.root)return Y+D;return Y+I+D}function t4(){var I="",J=!1,Y;for(var D=arguments.length-1;D>=-1&&!J;D--){var X;if(D>=0)X=arguments[D];else{if(Y===void 0)Y=process.cwd();X=Y}if(B1(X),X.length===0)continue;I=X+"/"+I,J=X.charCodeAt(0)===47}if(I=YS(I,!J),J)if(I.length>0)return"/"+I;else return"/";else if(I.length>0)return I;else return"."}function GS(I){if(B1(I),I.length===0)return".";var J=I.charCodeAt(0)===47,Y=I.charCodeAt(I.length-1)===47;if(I=YS(I,!J),I.length===0&&!J)I=".";if(I.length>0&&Y)I+="/";if(J)return"/"+I;return I}function vQ(I){return B1(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 Y=arguments[J];if(B1(Y),Y.length>0)if(I===void 0)I=Y;else I+="/"+Y}if(I===void 0)return".";return GS(I)}function ZS(I,J){if(B1(I),B1(J),I===J)return"";if(I=t4(I),J=t4(J),I===J)return"";var Y=1;for(;Y<I.length;++Y)if(I.charCodeAt(Y)!==47)break;var D=I.length,X=D-Y,z=1;for(;z<J.length;++z)if(J.charCodeAt(z)!==47)break;var Z=J.length,L=Z-z,R=X<L?X:L,j=-1,q=0;for(;q<=R;++q){if(q===R){if(L>R){if(J.charCodeAt(z+q)===47)return J.slice(z+q+1);else if(q===0)return J.slice(z+q)}else if(X>R){if(I.charCodeAt(Y+q)===47)j=q;else if(q===0)j=0}break}var C=I.charCodeAt(Y+q),E=J.charCodeAt(z+q);if(C!==E)break;else if(C===47)j=q}var B="";for(q=Y+j+1;q<=D;++q)if(q===D||I.charCodeAt(q)===47)if(B.length===0)B+="..";else B+="/..";if(B.length>0)return B+J.slice(z+j);else{if(z+=j,J.charCodeAt(z)===47)++z;return J.slice(z)}}function Ry(I){return I}function iU(I){if(B1(I),I.length===0)return".";var J=I.charCodeAt(0),Y=J===47,D=-1,X=!0;for(var z=I.length-1;z>=1;--z)if(J=I.charCodeAt(z),J===47){if(!X){D=z;break}}else X=!1;if(D===-1)return Y?"/":".";if(Y&&D===1)return"//";return I.slice(0,D)}function U2(I,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');B1(I);var Y=0,D=-1,X=!0,z;if(J!==void 0&&J.length>0&&J.length<=I.length){if(J.length===I.length&&J===I)return"";var Z=J.length-1,L=-1;for(z=I.length-1;z>=0;--z){var R=I.charCodeAt(z);if(R===47){if(!X){Y=z+1;break}}else{if(L===-1)X=!1,L=z+1;if(Z>=0)if(R===J.charCodeAt(Z)){if(--Z===-1)D=z}else Z=-1,D=L}}if(Y===D)D=L;else if(D===-1)D=I.length;return I.slice(Y,D)}else{for(z=I.length-1;z>=0;--z)if(I.charCodeAt(z)===47){if(!X){Y=z+1;break}}else if(D===-1)X=!1,D=z+1;if(D===-1)return"";return I.slice(Y,D)}}function By(I){B1(I);var J=-1,Y=0,D=-1,X=!0,z=0;for(var Z=I.length-1;Z>=0;--Z){var L=I.charCodeAt(Z);if(L===47){if(!X){Y=Z+1;break}continue}if(D===-1)X=!1,D=Z+1;if(L===46){if(J===-1)J=Z;else if(z!==1)z=1}else if(J!==-1)z=-1}if(J===-1||D===-1||z===0||z===1&&J===D-1&&J===Y+1)return"";return I.slice(J,D)}function vy(I){if(I===null||typeof I!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof I);return Sy("/",I)}function Ny(I){B1(I);var J={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return J;var Y=I.charCodeAt(0),D=Y===47,X;if(D)J.root="/",X=1;else X=0;var z=-1,Z=0,L=-1,R=!0,j=I.length-1,q=0;for(;j>=X;--j){if(Y=I.charCodeAt(j),Y===47){if(!R){Z=j+1;break}continue}if(L===-1)R=!1,L=j+1;if(Y===46){if(z===-1)z=j;else if(q!==1)q=1}else if(z!==-1)q=-1}if(z===-1||L===-1||q===0||q===1&&z===L-1&&z===Z+1){if(L!==-1)if(Z===0&&D)J.base=J.name=I.slice(1,L);else J.base=J.name=I.slice(Z,L)}else{if(Z===0&&D)J.name=I.slice(1,z),J.base=I.slice(1,L);else J.name=I.slice(Z,z),J.base=I.slice(Z,L);J.ext=I.slice(z,L)}if(Z>0)J.dir=I.slice(0,Z-1);else if(D)J.dir="/";return J}var VS="/",ky=":",om=((I)=>(I.posix=I,I))({resolve:t4,normalize:GS,isAbsolute:vQ,join:t$,relative:ZS,_makeLong:Ry,dirname:iU,basename:U2,extname:By,format:vy,parse:Ny,sep:VS,delimiter:ky,win32:null,posix:null});function I2(){let I=process.env.VOLTER_HOME;return I!==void 0&&I!==""?I:t$(OF(),".volter")}yU();yU();var{appendFileSync:xy,chmodSync:zS,closeSync:Lz,existsSync:X2,fsyncSync:gy,fstatSync:DS,lstatSync:WS,mkdirSync:J2,openSync:Mz,readdirSync:wy,readSync:fy,realpathSync:yy,readFileSync:LF,renameSync:KS,rmSync:FS,statSync:LS,unlinkSync:HF,writeFileSync:Q2}=(()=>({}));var uy=0,by=60000;function MF(I){try{return JSON.parse(LF(I,"utf8"))}catch{return null}}function hy(I){try{return process.kill(I,0),!0}catch(J){return J.code==="EPERM"}}function OS(I,J=!1){let Y=MF(I);if(Y&&Y.hostname===Hz()&&Number.isInteger(Y.pid)&&!hy(Y.pid))return!0;if(J)return!1;let X=Y&&typeof Y.at==="string"?Date.parse(Y.at):NaN;if(!Number.isFinite(X))try{X=LS(I).mtimeMs}catch{return!1}return Date.now()-X>by}function HS(I){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,I)}class AF{read(I){if(!X2(I))return null;return LF(I,"utf8")}readLines(I){if(!X2(I))return[];return LF(I,"utf8").split(`
|
|
252
|
+
`)}readRange(I,J){let Y;try{Y=Mz(I,"r")}catch(D){if(D.code==="ENOENT")return null;throw D}try{let D=DS(Y).size;if(J>=D)return"";let X=Buffer.allocUnsafe(D-J),z=0;while(z<X.length){let Z=fy(Y,X,z,X.length-z,J+z);if(Z===0)break;z+=Z}return X.toString("utf8",0,z)}finally{Lz(Y)}}append(I,J){let Y=Mz(I,"a");try{if(xy(Y,J),process.env.VOLTER_DURABLE==="1")gy(Y)}finally{Lz(Y)}}write(I,J,Y={}){if(!Y.secret){J2(iU(I),{recursive:!0}),Q2(I,J);return}J2(iU(I),{recursive:!0,mode:448}),Q2(I,J,{mode:384}),zS(I,384)}writeAtomic(I,J,Y={}){J2(iU(I),{recursive:!0});let D=`${I}.${process.pid}.${Date.now()}.${uy++}.tmp`;try{if(Q2(D,J,Y.secret?{mode:384}:void 0),KS(D,I),Y.secret)zS(I,384)}finally{FS(D,{force:!0})}}exists(I){return X2(I)}remove(I){FS(I,{recursive:!0,force:!0})}mkdir(I){J2(I,{recursive:!0})}list(I){if(!X2(I))return[];return wy(I)}canonicalPath(I){let J=t4(I);try{return yy(J)}catch(Y){if(Y.code!=="ENOENT"||iU(J)===J)throw Y;return t$(this.canonicalPath(iU(J)),U2(J))}}stat(I){if(!X2(I))return null;let J=LS(I);return{size:J.size,mtimeMs:J.mtimeMs,isDirectory:J.isDirectory(),...WS(I).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(I,J,Y={}){J2(iU(I),{recursive:!0});let D=Date.now(),X=null;while(X===null)try{X=Mz(I,"wx")}catch(Z){if(Z.code!=="EEXIST")throw Z;if(OS(I,Y.retainLiveOwner)){let R=`${I}.recovery`,j;try{j=Mz(R,"wx")}catch(q){if(q.code!=="EEXIST")throw q;if(Date.now()-D>1e4)throw Error(`Lock recovery is active or interrupted: ${R}. Inspect its owner before removing the recovery record.`);HS(25);continue}try{if(Q2(j,JSON.stringify({pid:process.pid,hostname:Hz()})),OS(I,Y.retainLiveOwner)){let q=MF(I),C=`${I}.stale.${process.pid}.${Date.now()}`;try{KS(I,C),console.warn(`[world] reclaiming stale storage lock ${I} (held by pid ${q?.pid??"?"} on ${q?.hostname??"?"})`),HF(C)}catch(E){if(E.code!=="ENOENT")throw E}}}finally{Lz(j),HF(R)}continue}if(Date.now()-D>1e4){let R=MF(I),j=R&&typeof R.at==="string"?Date.parse(R.at):NaN;throw Error(`Timed out waiting for world storage lock: ${I}${R?` (held by pid ${R.pid} on ${R.hostname}${Number.isFinite(j)?` for ${Date.now()-j}ms`:""})`:""}`)}HS(25)}try{Q2(X,`${JSON.stringify({pid:process.pid,hostname:Hz(),at:new Date().toISOString()})}
|
|
253
|
+
`)}catch{}let z=Date.now();try{return J()}finally{let Z=Date.now()-z;if(Z>2000)console.warn(`[world] held storage lock ${I} for ${Z}ms (pid ${process.pid})
|
|
254
|
+
${Error().stack?.split(`
|
|
255
|
+
`).slice(2,8).join(`
|
|
256
|
+
`)??""}`);let L=DS(X);Lz(X);try{let R=WS(I);if(L.dev===R.dev&&L.ino===R.ino)HF(I)}catch{}}}}var cy=new AF,py=(()=>{try{let I=globalThis.process?.getBuiltinModule?.("node:async_hooks");return I?.AsyncLocalStorage?new I.AsyncLocalStorage:null}catch{return null}})();function f6(){return py?.getStore()??cy}yU();var E$={};x6(E$,{xor:()=>$B,xid:()=>_R,void:()=>iR,uuidv7:()=>OR,uuidv6:()=>FR,uuidv4:()=>KR,uuid:()=>WR,util:()=>G$,url:()=>HR,uppercase:()=>lQ,unknown:()=>KJ,union:()=>i8,undefined:()=>nR,ulid:()=>PR,uint64:()=>mR,uint32:()=>cR,tuple:()=>i7,trim:()=>rQ,treeifyError:()=>bF,transform:()=>t8,toUpperCase:()=>aQ,toLowerCase:()=>tQ,toJSONSchema:()=>T8,templateLiteral:()=>FB,symbol:()=>dR,superRefine:()=>PM,success:()=>zB,stringbool:()=>PB,stringFormat:()=>gR,string:()=>B2,strictObject:()=>sR,startsWith:()=>dQ,slugify:()=>sQ,size:()=>zJ,setErrorMap:()=>vh,set:()=>QB,safeParseAsync:()=>P7,safeParse:()=>T7,safeEncodeAsync:()=>B7,safeEncode:()=>S7,safeDecodeAsync:()=>v7,safeDecode:()=>R7,registry:()=>nz,regexes:()=>M4,regex:()=>cQ,refine:()=>TM,record:()=>r7,readonly:()=>OM,property:()=>L8,promise:()=>OB,prettifyError:()=>hF,preprocess:()=>EB,prefault:()=>GM,positive:()=>K8,pipe:()=>R8,partialRecord:()=>IB,parseAsync:()=>C7,parse:()=>A7,overwrite:()=>a4,optional:()=>N2,object:()=>aR,number:()=>k7,nullish:()=>VB,nullable:()=>k2,null:()=>y7,normalize:()=>iQ,nonpositive:()=>O8,nonoptional:()=>ZM,nonnegative:()=>H8,never:()=>o8,negative:()=>F8,nativeEnum:()=>YB,nanoid:()=>AR,nan:()=>DB,multipleOf:()=>ZX,minSize:()=>x1,minLength:()=>WI,mime:()=>oQ,meta:()=>CB,maxSize:()=>VX,maxLength:()=>DJ,map:()=>JB,mac:()=>qR,lte:()=>A4,lt:()=>N1,lowercase:()=>pQ,looseRecord:()=>XB,looseObject:()=>eR,locales:()=>j2,literal:()=>GB,length:()=>WJ,lazy:()=>MM,ksuid:()=>ER,keyof:()=>tR,jwt:()=>xR,json:()=>_B,iso:()=>UY,ipv6:()=>SR,ipv4:()=>jR,invertCodec:()=>KB,intersection:()=>n7,int64:()=>lR,int32:()=>hR,int:()=>S8,instanceof:()=>TB,includes:()=>mQ,httpUrl:()=>LR,hostname:()=>wR,hex:()=>fR,hash:()=>yR,guid:()=>DR,gte:()=>b6,gt:()=>k1,globalRegistry:()=>A6,getErrorMap:()=>Nh,function:()=>HB,fromJSONSchema:()=>qB,formatError:()=>F2,float64:()=>bR,float32:()=>uR,flattenError:()=>K2,file:()=>ZB,exactOptional:()=>IM,enum:()=>r8,endsWith:()=>nQ,encodeAsync:()=>j7,encode:()=>_7,emoji:()=>MR,email:()=>zR,e164:()=>kR,discriminatedUnion:()=>UB,describe:()=>AB,decodeAsync:()=>q7,decode:()=>E7,date:()=>rR,custom:()=>MB,cuid2:()=>TR,cuid:()=>CR,core:()=>KI,config:()=>rU,coerce:()=>EM,codec:()=>WB,clone:()=>y6,cidrv6:()=>BR,cidrv4:()=>RR,check:()=>LB,catch:()=>DM,boolean:()=>x7,bigint:()=>pR,base64url:()=>NR,base64:()=>vR,array:()=>f2,any:()=>oR,_function:()=>HB,_default:()=>QM,_ZodString:()=>B8,ZodXor:()=>l7,ZodXID:()=>f8,ZodVoid:()=>c7,ZodUnknown:()=>b7,ZodUnion:()=>u2,ZodUndefined:()=>w7,ZodUUID:()=>g1,ZodURL:()=>g2,ZodULID:()=>w8,ZodType:()=>g$,ZodTuple:()=>o7,ZodTransform:()=>$M,ZodTemplateLiteral:()=>HM,ZodSymbol:()=>g7,ZodSuccess:()=>VM,ZodStringFormat:()=>zU,ZodString:()=>JY,ZodSet:()=>a7,ZodRecord:()=>IY,ZodRealError:()=>s6,ZodReadonly:()=>FM,ZodPromise:()=>AM,ZodPreprocess:()=>KM,ZodPrefault:()=>YM,ZodPipe:()=>b2,ZodOptional:()=>a8,ZodObject:()=>y2,ZodNumberFormat:()=>FJ,ZodNumber:()=>YY,ZodNullable:()=>XM,ZodNull:()=>f7,ZodNonOptional:()=>s8,ZodNever:()=>h7,ZodNanoID:()=>k8,ZodNaN:()=>WM,ZodMap:()=>t7,ZodMAC:()=>N7,ZodLiteral:()=>s7,ZodLazy:()=>LM,ZodKSUID:()=>y8,ZodJWT:()=>d8,ZodIssueCode:()=>Bh,ZodIntersection:()=>d7,ZodISOTime:()=>j8,ZodISODuration:()=>q8,ZodISODateTime:()=>_8,ZodISODate:()=>E8,ZodIPv6:()=>b8,ZodIPv4:()=>u8,ZodGUID:()=>v2,ZodFunction:()=>CM,ZodFirstPartyTypeKind:()=>_M,ZodFile:()=>e7,ZodExactOptional:()=>UM,ZodError:()=>Sh,ZodEnum:()=>XY,ZodEmoji:()=>N8,ZodEmail:()=>v8,ZodE164:()=>m8,ZodDiscriminatedUnion:()=>m7,ZodDefault:()=>JM,ZodDate:()=>w2,ZodCustomStringFormat:()=>QY,ZodCustom:()=>c2,ZodCodec:()=>h2,ZodCatch:()=>zM,ZodCUID2:()=>g8,ZodCUID:()=>x8,ZodCIDRv6:()=>c8,ZodCIDRv4:()=>h8,ZodBoolean:()=>GY,ZodBigIntFormat:()=>n8,ZodBigInt:()=>ZY,ZodBase64URL:()=>l8,ZodBase64:()=>p8,ZodArray:()=>p7,ZodAny:()=>u7,TimePrecision:()=>i5,NEVER:()=>SF,$output:()=>p5,$input:()=>l5,$brand:()=>RF});var KI={};x6(KI,{version:()=>fO,util:()=>G$,treeifyError:()=>bF,toJSONSchema:()=>T8,toDotPath:()=>BS,safeParseAsync:()=>pF,safeParse:()=>cF,safeEncodeAsync:()=>Bu,safeEncode:()=>Su,safeDecodeAsync:()=>vu,safeDecode:()=>Ru,registry:()=>nz,regexes:()=>M4,process:()=>JU,prettifyError:()=>hF,parseAsync:()=>Ez,parse:()=>_z,meta:()=>RL,locales:()=>j2,isValidJWT:()=>aS,isValidBase64URL:()=>tS,isValidBase64:()=>JH,initializeContext:()=>zX,globalRegistry:()=>A6,globalConfig:()=>QJ,formatError:()=>F2,flattenError:()=>K2,finalize:()=>WX,extractDefs:()=>DX,encodeAsync:()=>ju,encode:()=>_u,describe:()=>SL,decodeAsync:()=>qu,decode:()=>Eu,createToJSONSchemaMethod:()=>vL,createStandardJSONSchemaMethod:()=>$Y,config:()=>rU,clone:()=>y6,_xor:()=>Xh,_xid:()=>X8,_void:()=>ML,_uuidv7:()=>az,_uuidv6:()=>tz,_uuidv4:()=>rz,_uuid:()=>iz,_url:()=>S2,_uppercase:()=>lQ,_unknown:()=>HL,_union:()=>Ih,_undefined:()=>KL,_ulid:()=>I8,_uint64:()=>DL,_uint32:()=>QL,_tuple:()=>Yh,_trim:()=>rQ,_transform:()=>Kh,_toUpperCase:()=>aQ,_toLowerCase:()=>tQ,_templateLiteral:()=>Ph,_symbol:()=>WL,_superRefine:()=>qL,_success:()=>Mh,_stringbool:()=>BL,_stringFormat:()=>eQ,_string:()=>d5,_startsWith:()=>dQ,_slugify:()=>sQ,_size:()=>zJ,_set:()=>Vh,_safeParseAsync:()=>uQ,_safeParse:()=>yQ,_safeEncodeAsync:()=>Nz,_safeEncode:()=>Bz,_safeDecodeAsync:()=>kz,_safeDecode:()=>vz,_regex:()=>cQ,_refine:()=>jL,_record:()=>Gh,_readonly:()=>Th,_property:()=>L8,_promise:()=>Eh,_positive:()=>K8,_pipe:()=>Ch,_parseAsync:()=>fQ,_parse:()=>wQ,_overwrite:()=>a4,_optional:()=>Fh,_number:()=>e5,_nullable:()=>Oh,_null:()=>FL,_normalize:()=>iQ,_nonpositive:()=>O8,_nonoptional:()=>Lh,_nonnegative:()=>H8,_never:()=>LL,_negative:()=>F8,_nativeEnum:()=>Dh,_nanoid:()=>ez,_nan:()=>TL,_multipleOf:()=>ZX,_minSize:()=>x1,_minLength:()=>WI,_min:()=>b6,_mime:()=>oQ,_maxSize:()=>VX,_maxLength:()=>DJ,_max:()=>A4,_map:()=>Zh,_mac:()=>o5,_lte:()=>A4,_lt:()=>N1,_lowercase:()=>pQ,_literal:()=>Wh,_length:()=>WJ,_lazy:()=>_h,_ksuid:()=>J8,_jwt:()=>W8,_isoTime:()=>a5,_isoDuration:()=>s5,_isoDateTime:()=>r5,_isoDate:()=>t5,_ipv6:()=>Y8,_ipv4:()=>Q8,_intersection:()=>Qh,_int64:()=>zL,_int32:()=>JL,_int:()=>UL,_includes:()=>mQ,_guid:()=>q2,_gte:()=>b6,_gt:()=>k1,_float64:()=>XL,_float32:()=>IL,_file:()=>_L,_enum:()=>zh,_endsWith:()=>nQ,_encodeAsync:()=>Sz,_encode:()=>jz,_emoji:()=>sz,_email:()=>oz,_e164:()=>D8,_discriminatedUnion:()=>Jh,_default:()=>Hh,_decodeAsync:()=>Rz,_decode:()=>qz,_date:()=>AL,_custom:()=>EL,_cuid2:()=>U8,_cuid:()=>$8,_coercedString:()=>n5,_coercedNumber:()=>$L,_coercedDate:()=>CL,_coercedBoolean:()=>GL,_coercedBigint:()=>VL,_cidrv6:()=>Z8,_cidrv4:()=>G8,_check:()=>YR,_catch:()=>Ah,_boolean:()=>YL,_bigint:()=>ZL,_base64url:()=>z8,_base64:()=>V8,_array:()=>PL,_any:()=>OL,TimePrecision:()=>i5,NEVER:()=>SF,JSONSchemaGenerator:()=>F7,JSONSchema:()=>GR,Doc:()=>fz,$output:()=>p5,$input:()=>l5,$constructor:()=>R0,$brand:()=>RF,$ZodXor:()=>PH,$ZodXID:()=>oO,$ZodVoid:()=>MH,$ZodUnknown:()=>HH,$ZodUnion:()=>A2,$ZodUndefined:()=>KH,$ZodUUID:()=>bO,$ZodURL:()=>cO,$ZodULID:()=>nO,$ZodType:()=>j$,$ZodTuple:()=>lz,$ZodTransform:()=>NH,$ZodTemplateLiteral:()=>pH,$ZodSymbol:()=>WH,$ZodSuccess:()=>yH,$ZodStringFormat:()=>VU,$ZodString:()=>VJ,$ZodSet:()=>SH,$ZodRegistry:()=>m5,$ZodRecord:()=>jH,$ZodRealError:()=>a6,$ZodReadonly:()=>cH,$ZodPromise:()=>mH,$ZodPreprocess:()=>hH,$ZodPrefault:()=>wH,$ZodPipe:()=>dz,$ZodOptional:()=>mz,$ZodObjectJIT:()=>TH,$ZodObject:()=>$R,$ZodNumberFormat:()=>zH,$ZodNumber:()=>cz,$ZodNullable:()=>xH,$ZodNull:()=>FH,$ZodNonOptional:()=>fH,$ZodNever:()=>LH,$ZodNanoID:()=>lO,$ZodNaN:()=>bH,$ZodMap:()=>qH,$ZodMAC:()=>UH,$ZodLiteral:()=>BH,$ZodLazy:()=>dH,$ZodKSUID:()=>iO,$ZodJWT:()=>ZH,$ZodIntersection:()=>EH,$ZodISOTime:()=>aO,$ZodISODuration:()=>sO,$ZodISODateTime:()=>rO,$ZodISODate:()=>tO,$ZodIPv6:()=>$H,$ZodIPv4:()=>eO,$ZodGUID:()=>uO,$ZodFunction:()=>lH,$ZodFile:()=>vH,$ZodExactOptional:()=>kH,$ZodError:()=>W2,$ZodEnum:()=>RH,$ZodEncodeError:()=>YJ,$ZodEmoji:()=>pO,$ZodEmail:()=>hO,$ZodE164:()=>GH,$ZodDiscriminatedUnion:()=>_H,$ZodDefault:()=>gH,$ZodDate:()=>AH,$ZodCustomStringFormat:()=>VH,$ZodCustom:()=>nH,$ZodCodec:()=>C2,$ZodCheckUpperCase:()=>BO,$ZodCheckStringFormat:()=>bQ,$ZodCheckStartsWith:()=>NO,$ZodCheckSizeEquals:()=>_O,$ZodCheckRegex:()=>SO,$ZodCheckProperty:()=>xO,$ZodCheckOverwrite:()=>wO,$ZodCheckNumberFormat:()=>AO,$ZodCheckMultipleOf:()=>MO,$ZodCheckMinSize:()=>PO,$ZodCheckMinLength:()=>jO,$ZodCheckMimeType:()=>gO,$ZodCheckMaxSize:()=>TO,$ZodCheckMaxLength:()=>EO,$ZodCheckLowerCase:()=>RO,$ZodCheckLessThan:()=>gz,$ZodCheckLengthEquals:()=>qO,$ZodCheckIncludes:()=>vO,$ZodCheckGreaterThan:()=>wz,$ZodCheckEndsWith:()=>kO,$ZodCheckBigIntFormat:()=>CO,$ZodCheck:()=>OU,$ZodCatch:()=>uH,$ZodCUID2:()=>dO,$ZodCUID:()=>mO,$ZodCIDRv6:()=>XH,$ZodCIDRv4:()=>IH,$ZodBoolean:()=>M2,$ZodBigIntFormat:()=>DH,$ZodBigInt:()=>pz,$ZodBase64URL:()=>YH,$ZodBase64:()=>QH,$ZodAsyncError:()=>v1,$ZodArray:()=>CH,$ZodAny:()=>OH});var _S,SF=Object.freeze({status:"aborted"});function R0(I,J,Y){function D(L,R){if(!L._zod)Object.defineProperty(L,"_zod",{value:{def:R,constr:Z,traits:new Set},enumerable:!1});if(L._zod.traits.has(I))return;L._zod.traits.add(I),J(L,R);let j=Z.prototype,q=Object.keys(j);for(let C=0;C<q.length;C++){let E=q[C];if(!(E in L))L[E]=j[E].bind(L)}}let X=Y?.Parent??Object;class z extends X{}Object.defineProperty(z,"name",{value:I});function Z(L){var R;let j=Y?.Parent?new z:this;D(j,L),(R=j._zod).deferred??(R.deferred=[]);for(let q of j._zod.deferred)q();return j}return Object.defineProperty(Z,"init",{value:D}),Object.defineProperty(Z,Symbol.hasInstance,{value:(L)=>{if(Y?.Parent&&L instanceof Y.Parent)return!0;return L?._zod?.traits?.has(I)}}),Object.defineProperty(Z,"name",{value:I}),Z}var RF=Symbol("zod_brand");class v1 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class YJ extends Error{constructor(I){super(`Encountered unidirectional transform during encode: ${I}`);this.name="ZodEncodeError"}}(_S=globalThis).__zod_globalConfig??(_S.__zod_globalConfig={});var QJ=globalThis.__zod_globalConfig;function rU(I){if(I)Object.assign(QJ,I);return QJ}var G$={};x6(G$,{unwrapMessage:()=>Y2,uint8ArrayToHex:()=>Tu,uint8ArrayToBase64url:()=>Au,uint8ArrayToBase64:()=>qS,stringifyPrimitive:()=>J$,slugify:()=>NF,shallowClone:()=>xF,safeExtend:()=>Ku,required:()=>Hu,randomString:()=>Yu,propertyKeyTypes:()=>V2,promiseAllObject:()=>Qu,primitiveTypes:()=>gF,prefixIssues:()=>t6,pick:()=>zu,partial:()=>Ou,parsedType:()=>Q$,optionalKeys:()=>wF,omit:()=>Du,objectClone:()=>Iu,numKeys:()=>Gu,nullish:()=>JX,normalizeParams:()=>Z$,mergeDefs:()=>DI,merge:()=>Fu,jsonStringifyReplacer:()=>kQ,joinValues:()=>g0,issue:()=>gQ,isPlainObject:()=>YX,isObject:()=>GJ,hexToUint8Array:()=>Cu,getSizableOrigin:()=>z2,getParsedType:()=>Zu,getLengthableOrigin:()=>D2,getEnumValues:()=>G2,getElementAtPath:()=>Ju,floatSafeRemainder:()=>vF,finalizeIssue:()=>u6,extend:()=>Wu,explicitlyAborted:()=>uF,escapeRegex:()=>u4,esc:()=>Tz,defineLazy:()=>c$,createTransparentProxy:()=>Vu,cloneDef:()=>Xu,clone:()=>y6,cleanRegex:()=>Z2,cleanEnum:()=>Lu,captureStackTrace:()=>Pz,cached:()=>xQ,base64urlToUint8Array:()=>Mu,base64ToUint8Array:()=>jS,assignProp:()=>QX,assertNotEqual:()=>sy,assertNever:()=>$u,assertIs:()=>ey,assertEqual:()=>ay,assert:()=>Uu,allowsEval:()=>kF,aborted:()=>GX,NUMBER_FORMAT_RANGES:()=>fF,Class:()=>SS,BIGINT_FORMAT_RANGES:()=>yF});function ay(I){return I}function sy(I){return I}function ey(I){}function $u(I){throw Error("Unexpected value in exhaustive check")}function Uu(I){}function G2(I){let J=Object.values(I).filter((D)=>typeof D==="number");return Object.entries(I).filter(([D,X])=>J.indexOf(+D)===-1).map(([D,X])=>X)}function g0(I,J="|"){return I.map((Y)=>J$(Y)).join(J)}function kQ(I,J){if(typeof J==="bigint")return J.toString();return J}function xQ(I){return{get value(){{let Y=I();return Object.defineProperty(this,"value",{value:Y}),Y}throw Error("cached value already set")}}}function JX(I){return I===null||I===void 0}function Z2(I){let J=I.startsWith("^")?1:0,Y=I.endsWith("$")?I.length-1:I.length;return I.slice(J,Y)}function vF(I,J){let Y=I/J,D=Math.round(Y),X=Number.EPSILON*Math.max(Math.abs(Y),1);if(Math.abs(Y-D)<X)return 0;return Y-D}var ES=Symbol("evaluating");function c$(I,J,Y){let D=void 0;Object.defineProperty(I,J,{get(){if(D===ES)return;if(D===void 0)D=ES,D=Y();return D},set(X){Object.defineProperty(I,J,{value:X})},configurable:!0})}function Iu(I){return Object.create(Object.getPrototypeOf(I),Object.getOwnPropertyDescriptors(I))}function QX(I,J,Y){Object.defineProperty(I,J,{value:Y,writable:!0,enumerable:!0,configurable:!0})}function DI(...I){let J={};for(let Y of I){let D=Object.getOwnPropertyDescriptors(Y);Object.assign(J,D)}return Object.defineProperties({},J)}function Xu(I){return DI(I._zod.def)}function Ju(I,J){if(!J)return I;return J.reduce((Y,D)=>Y?.[D],I)}function Qu(I){let J=Object.keys(I),Y=J.map((D)=>I[D]);return Promise.all(Y).then((D)=>{let X={};for(let z=0;z<J.length;z++)X[J[z]]=D[z];return X})}function Yu(I=10){let Y="";for(let D=0;D<I;D++)Y+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return Y}function Tz(I){return JSON.stringify(I)}function NF(I){return I.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Pz="captureStackTrace"in Error?Error.captureStackTrace:(...I)=>{};function GJ(I){return typeof I==="object"&&I!==null&&!Array.isArray(I)}var kF=xQ(()=>{if(QJ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(I){return!1}});function YX(I){if(GJ(I)===!1)return!1;let J=I.constructor;if(J===void 0)return!0;if(typeof J!=="function")return!0;let Y=J.prototype;if(GJ(Y)===!1)return!1;if(Object.prototype.hasOwnProperty.call(Y,"isPrototypeOf")===!1)return!1;return!0}function xF(I){if(YX(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 Gu(I){let J=0;for(let Y in I)if(Object.prototype.hasOwnProperty.call(I,Y))J++;return J}var Zu=(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}`)}},V2=new Set(["string","number","symbol"]),gF=new Set(["string","number","bigint","boolean","symbol","undefined"]);function u4(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function y6(I,J,Y){let D=new I._zod.constr(J??I._zod.def);if(!J||Y?.parent)D._zod.parent=I;return D}function Z$(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 Vu(I){let J;return new Proxy({},{get(Y,D,X){return J??(J=I()),Reflect.get(J,D,X)},set(Y,D,X,z){return J??(J=I()),Reflect.set(J,D,X,z)},has(Y,D){return J??(J=I()),Reflect.has(J,D)},deleteProperty(Y,D){return J??(J=I()),Reflect.deleteProperty(J,D)},ownKeys(Y){return J??(J=I()),Reflect.ownKeys(J)},getOwnPropertyDescriptor(Y,D){return J??(J=I()),Reflect.getOwnPropertyDescriptor(J,D)},defineProperty(Y,D,X){return J??(J=I()),Reflect.defineProperty(J,D,X)}})}function J$(I){if(typeof I==="bigint")return I.toString()+"n";if(typeof I==="string")return`"${I}"`;return`${I}`}function wF(I){return Object.keys(I).filter((J)=>{return I[J]._zod.optin==="optional"&&I[J]._zod.optout==="optional"})}var fF={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]},yF={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function zu(I,J){let Y=I._zod.def,D=Y.checks;if(D&&D.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let z=DI(I._zod.def,{get shape(){let Z={};for(let L in J){if(!(L in Y.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;Z[L]=Y.shape[L]}return QX(this,"shape",Z),Z},checks:[]});return y6(I,z)}function Du(I,J){let Y=I._zod.def,D=Y.checks;if(D&&D.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let z=DI(I._zod.def,{get shape(){let Z={...I._zod.def.shape};for(let L in J){if(!(L in Y.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;delete Z[L]}return QX(this,"shape",Z),Z},checks:[]});return y6(I,z)}function Wu(I,J){if(!YX(J))throw Error("Invalid input to extend: expected a plain object");let Y=I._zod.def.checks;if(Y&&Y.length>0){let z=I._zod.def.shape;for(let Z in J)if(Object.getOwnPropertyDescriptor(z,Z)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let X=DI(I._zod.def,{get shape(){let z={...I._zod.def.shape,...J};return QX(this,"shape",z),z}});return y6(I,X)}function Ku(I,J){if(!YX(J))throw Error("Invalid input to safeExtend: expected a plain object");let Y=DI(I._zod.def,{get shape(){let D={...I._zod.def.shape,...J};return QX(this,"shape",D),D}});return y6(I,Y)}function Fu(I,J){if(I._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let Y=DI(I._zod.def,{get shape(){let D={...I._zod.def.shape,...J._zod.def.shape};return QX(this,"shape",D),D},get catchall(){return J._zod.def.catchall},checks:J._zod.def.checks??[]});return y6(I,Y)}function Ou(I,J,Y){let X=J._zod.def.checks;if(X&&X.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let Z=DI(J._zod.def,{get shape(){let L=J._zod.def.shape,R={...L};if(Y)for(let j in Y){if(!(j in L))throw Error(`Unrecognized key: "${j}"`);if(!Y[j])continue;R[j]=I?new I({type:"optional",innerType:L[j]}):L[j]}else for(let j in L)R[j]=I?new I({type:"optional",innerType:L[j]}):L[j];return QX(this,"shape",R),R},checks:[]});return y6(J,Z)}function Hu(I,J,Y){let D=DI(J._zod.def,{get shape(){let X=J._zod.def.shape,z={...X};if(Y)for(let Z in Y){if(!(Z in z))throw Error(`Unrecognized key: "${Z}"`);if(!Y[Z])continue;z[Z]=new I({type:"nonoptional",innerType:X[Z]})}else for(let Z in X)z[Z]=new I({type:"nonoptional",innerType:X[Z]});return QX(this,"shape",z),z}});return y6(J,D)}function GX(I,J=0){if(I.aborted===!0)return!0;for(let Y=J;Y<I.issues.length;Y++)if(I.issues[Y]?.continue!==!0)return!0;return!1}function uF(I,J=0){if(I.aborted===!0)return!0;for(let Y=J;Y<I.issues.length;Y++)if(I.issues[Y]?.continue===!1)return!0;return!1}function t6(I,J){return J.map((Y)=>{var D;return(D=Y).path??(D.path=[]),Y.path.unshift(I),Y})}function Y2(I){return typeof I==="string"?I:I?.message}function u6(I,J,Y){let D=I.message?I.message:Y2(I.inst?._zod.def?.error?.(I))??Y2(J?.error?.(I))??Y2(Y.customError?.(I))??Y2(Y.localeError?.(I))??"Invalid input",{inst:X,continue:z,input:Z,...L}=I;if(L.path??(L.path=[]),L.message=D,J?.reportInput)L.input=Z;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 D2(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 Y=I;if(Y&&Object.getPrototypeOf(Y)!==Object.prototype&&"constructor"in Y&&Y.constructor)return Y.constructor.name}}return J}function gQ(...I){let[J,Y,D]=I;if(typeof J==="string")return{message:J,code:"custom",input:Y,inst:D};return{...J}}function Lu(I){return Object.entries(I).filter(([J,Y])=>{return Number.isNaN(Number.parseInt(J,10))}).map((J)=>J[1])}function jS(I){let J=atob(I),Y=new Uint8Array(J.length);for(let D=0;D<J.length;D++)Y[D]=J.charCodeAt(D);return Y}function qS(I){let J="";for(let Y=0;Y<I.length;Y++)J+=String.fromCharCode(I[Y]);return btoa(J)}function Mu(I){let J=I.replace(/-/g,"+").replace(/_/g,"/"),Y="=".repeat((4-J.length%4)%4);return jS(J+Y)}function Au(I){return qS(I).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Cu(I){let J=I.replace(/^0x/,"");if(J.length%2!==0)throw Error("Invalid hex string length");let Y=new Uint8Array(J.length/2);for(let D=0;D<J.length;D+=2)Y[D/2]=Number.parseInt(J.slice(D,D+2),16);return Y}function Tu(I){return Array.from(I).map((J)=>J.toString(16).padStart(2,"0")).join("")}class SS{constructor(...I){}}var RS=(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,kQ,2),Object.defineProperty(I,"toString",{value:()=>I.message,enumerable:!1})},W2=R0("$ZodError",RS),a6=R0("$ZodError",RS,{Parent:Error});function K2(I,J=(Y)=>Y.message){let Y={},D=[];for(let X of I.issues)if(X.path.length>0)Y[X.path[0]]=Y[X.path[0]]||[],Y[X.path[0]].push(J(X));else D.push(J(X));return{formErrors:D,fieldErrors:Y}}function F2(I,J=(Y)=>Y.message){let Y={_errors:[]},D=(X,z=[])=>{for(let Z of X.issues)if(Z.code==="invalid_union"&&Z.errors.length)Z.errors.map((L)=>D({issues:L},[...z,...Z.path]));else if(Z.code==="invalid_key")D({issues:Z.issues},[...z,...Z.path]);else if(Z.code==="invalid_element")D({issues:Z.issues},[...z,...Z.path]);else{let L=[...z,...Z.path];if(L.length===0)Y._errors.push(J(Z));else{let R=Y,j=0;while(j<L.length){let q=L[j];if(j!==L.length-1)R[q]=R[q]||{_errors:[]};else R[q]=R[q]||{_errors:[]},R[q]._errors.push(J(Z));R=R[q],j++}}}};return D(I),Y}function bF(I,J=(Y)=>Y.message){let Y={errors:[]},D=(X,z=[])=>{var Z,L;for(let R of X.issues)if(R.code==="invalid_union"&&R.errors.length)R.errors.map((j)=>D({issues:j},[...z,...R.path]));else if(R.code==="invalid_key")D({issues:R.issues},[...z,...R.path]);else if(R.code==="invalid_element")D({issues:R.issues},[...z,...R.path]);else{let j=[...z,...R.path];if(j.length===0){Y.errors.push(J(R));continue}let q=Y,C=0;while(C<j.length){let E=j[C],B=C===j.length-1;if(typeof E==="string")q.properties??(q.properties={}),(Z=q.properties)[E]??(Z[E]={errors:[]}),q=q.properties[E];else q.items??(q.items=[]),(L=q.items)[E]??(L[E]={errors:[]}),q=q.items[E];if(B)q.errors.push(J(R));C++}}};return D(I),Y}function BS(I){let J=[],Y=I.map((D)=>typeof D==="object"?D.key:D);for(let D of Y)if(typeof D==="number")J.push(`[${D}]`);else if(typeof D==="symbol")J.push(`[${JSON.stringify(String(D))}]`);else if(/[^\w$]/.test(D))J.push(`[${JSON.stringify(D)}]`);else{if(J.length)J.push(".");J.push(D)}return J.join("")}function hF(I){let J=[],Y=[...I.issues].sort((D,X)=>(D.path??[]).length-(X.path??[]).length);for(let D of Y)if(J.push(`✖ ${D.message}`),D.path?.length)J.push(` → at ${BS(D.path)}`);return J.join(`
|
|
257
|
+
`)}var wQ=(I)=>(J,Y,D,X)=>{let z=D?{...D,async:!1}:{async:!1},Z=J._zod.run({value:Y,issues:[]},z);if(Z instanceof Promise)throw new v1;if(Z.issues.length){let L=new(X?.Err??I)(Z.issues.map((R)=>u6(R,z,rU())));throw Pz(L,X?.callee),L}return Z.value},_z=wQ(a6),fQ=(I)=>async(J,Y,D,X)=>{let z=D?{...D,async:!0}:{async:!0},Z=J._zod.run({value:Y,issues:[]},z);if(Z instanceof Promise)Z=await Z;if(Z.issues.length){let L=new(X?.Err??I)(Z.issues.map((R)=>u6(R,z,rU())));throw Pz(L,X?.callee),L}return Z.value},Ez=fQ(a6),yQ=(I)=>(J,Y,D)=>{let X=D?{...D,async:!1}:{async:!1},z=J._zod.run({value:Y,issues:[]},X);if(z instanceof Promise)throw new v1;return z.issues.length?{success:!1,error:new(I??W2)(z.issues.map((Z)=>u6(Z,X,rU())))}:{success:!0,data:z.value}},cF=yQ(a6),uQ=(I)=>async(J,Y,D)=>{let X=D?{...D,async:!0}:{async:!0},z=J._zod.run({value:Y,issues:[]},X);if(z instanceof Promise)z=await z;return z.issues.length?{success:!1,error:new I(z.issues.map((Z)=>u6(Z,X,rU())))}:{success:!0,data:z.value}},pF=uQ(a6),jz=(I)=>(J,Y,D)=>{let X=D?{...D,direction:"backward"}:{direction:"backward"};return wQ(I)(J,Y,X)},_u=jz(a6),qz=(I)=>(J,Y,D)=>{return wQ(I)(J,Y,D)},Eu=qz(a6),Sz=(I)=>async(J,Y,D)=>{let X=D?{...D,direction:"backward"}:{direction:"backward"};return fQ(I)(J,Y,X)},ju=Sz(a6),Rz=(I)=>async(J,Y,D)=>{return fQ(I)(J,Y,D)},qu=Rz(a6),Bz=(I)=>(J,Y,D)=>{let X=D?{...D,direction:"backward"}:{direction:"backward"};return yQ(I)(J,Y,X)},Su=Bz(a6),vz=(I)=>(J,Y,D)=>{return yQ(I)(J,Y,D)},Ru=vz(a6),Nz=(I)=>async(J,Y,D)=>{let X=D?{...D,direction:"backward"}:{direction:"backward"};return uQ(I)(J,Y,X)},Bu=Nz(a6),kz=(I)=>async(J,Y,D)=>{return uQ(I)(J,Y,D)},vu=kz(a6);var M4={};x6(M4,{xid:()=>nF,uuid7:()=>gu,uuid6:()=>xu,uuid4:()=>ku,uuid:()=>ZJ,uppercase:()=>LO,unicodeEmail:()=>vS,undefined:()=>OO,ulid:()=>dF,time:()=>ZO,string:()=>zO,sha512_hex:()=>Ub,sha512_base64url:()=>Xb,sha512_base64:()=>Ib,sha384_hex:()=>su,sha384_base64url:()=>$b,sha384_base64:()=>eu,sha256_hex:()=>ru,sha256_base64url:()=>au,sha256_base64:()=>tu,sha1_hex:()=>nu,sha1_base64url:()=>iu,sha1_base64:()=>ou,rfc5322Email:()=>fu,number:()=>O2,null:()=>FO,nanoid:()=>iF,md5_hex:()=>lu,md5_base64url:()=>du,md5_base64:()=>mu,mac:()=>UO,lowercase:()=>HO,ksuid:()=>oF,ipv6:()=>$O,ipv4:()=>eF,integer:()=>WO,idnEmail:()=>yu,httpProtocol:()=>QO,html5Email:()=>wu,hostname:()=>hu,hex:()=>pu,guid:()=>tF,extendedDuration:()=>Nu,emoji:()=>sF,email:()=>aF,e164:()=>YO,duration:()=>rF,domain:()=>cu,datetime:()=>VO,date:()=>GO,cuid2:()=>mF,cuid:()=>lF,cidrv6:()=>XO,cidrv4:()=>IO,browserEmail:()=>uu,boolean:()=>KO,bigint:()=>DO,base64url:()=>xz,base64:()=>JO});var lF=/^[cC][0-9a-z]{6,}$/,mF=/^[0-9a-z]+$/,dF=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,nF=/^[0-9a-vA-V]{20}$/,oF=/^[A-Za-z0-9]{27}$/,iF=/^[a-zA-Z0-9_-]{21}$/,rF=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Nu=/^[-+]?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)?)??$/,tF=/^([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})$/,ZJ=(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})$`)},ku=ZJ(4),xu=ZJ(6),gu=ZJ(7),aF=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,wu=/^[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])?)*$/,fu=/^(([^<>()\[\]\\.,;:\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,}))$/,vS=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,yu=vS,uu=/^[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])?)*$/,bu="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function sF(){return new RegExp(bu,"u")}var 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])$/,$O=/^(([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}|:))$/,UO=(I)=>{let J=u4(I??":");return new RegExp(`^(?:[0-9A-F]{2}${J}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${J}){5}[0-9a-f]{2}$`)},IO=/^((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])$/,XO=/^(([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])$/,JO=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,xz=/^[A-Za-z0-9_-]*$/,hu=/^(?=.{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])?)*\.?$/,cu=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,QO=/^https?$/,YO=/^\+[1-9]\d{6,14}$/,NS="(?:(?:\\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])))",GO=new RegExp(`^${NS}$`);function kS(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 ZO(I){return new RegExp(`^${kS(I)}$`)}function VO(I){let J=kS({precision:I.precision}),Y=["Z"];if(I.local)Y.push("");if(I.offset)Y.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let D=`${J}(?:${Y.join("|")})`;return new RegExp(`^${NS}T(?:${D})$`)}var zO=(I)=>{let J=I?`[\\s\\S]{${I?.minimum??0},${I?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${J}$`)},DO=/^-?\d+n?$/,WO=/^-?\d+$/,O2=/^-?\d+(?:\.\d+)?$/,KO=/^(?:true|false)$/i,FO=/^null$/i;var OO=/^undefined$/i;var HO=/^[^A-Z]*$/,LO=/^[^a-z]*$/,pu=/^[0-9a-fA-F]*$/;function H2(I,J){return new RegExp(`^[A-Za-z0-9+/]{${I}}${J}$`)}function L2(I){return new RegExp(`^[A-Za-z0-9_-]{${I}}$`)}var lu=/^[0-9a-fA-F]{32}$/,mu=H2(22,"=="),du=L2(22),nu=/^[0-9a-fA-F]{40}$/,ou=H2(27,"="),iu=L2(27),ru=/^[0-9a-fA-F]{64}$/,tu=H2(43,"="),au=L2(43),su=/^[0-9a-fA-F]{96}$/,eu=H2(64,""),$b=L2(64),Ub=/^[0-9a-fA-F]{128}$/,Ib=H2(86,"=="),Xb=L2(86);var OU=R0("$ZodCheck",(I,J)=>{var Y;I._zod??(I._zod={}),I._zod.def=J,(Y=I._zod).onattach??(Y.onattach=[])}),gS={number:"number",bigint:"bigint",object:"date"},gz=R0("$ZodCheckLessThan",(I,J)=>{OU.init(I,J);let Y=gS[typeof J.value];I._zod.onattach.push((D)=>{let X=D._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=(D)=>{if(J.inclusive?D.value<=J.value:D.value<J.value)return;D.issues.push({origin:Y,code:"too_big",maximum:typeof J.value==="object"?J.value.getTime():J.value,input:D.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),wz=R0("$ZodCheckGreaterThan",(I,J)=>{OU.init(I,J);let Y=gS[typeof J.value];I._zod.onattach.push((D)=>{let X=D._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=(D)=>{if(J.inclusive?D.value>=J.value:D.value>J.value)return;D.issues.push({origin:Y,code:"too_small",minimum:typeof J.value==="object"?J.value.getTime():J.value,input:D.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),MO=R0("$ZodCheckMultipleOf",(I,J)=>{OU.init(I,J),I._zod.onattach.push((Y)=>{var D;(D=Y._zod.bag).multipleOf??(D.multipleOf=J.value)}),I._zod.check=(Y)=>{if(typeof Y.value!==typeof J.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof Y.value==="bigint"?Y.value%J.value===BigInt(0):vF(Y.value,J.value)===0)return;Y.issues.push({origin:typeof Y.value,code:"not_multiple_of",divisor:J.value,input:Y.value,inst:I,continue:!J.abort})}}),AO=R0("$ZodCheckNumberFormat",(I,J)=>{OU.init(I,J),J.format=J.format||"float64";let Y=J.format?.includes("int"),D=Y?"int":"number",[X,z]=fF[J.format];I._zod.onattach.push((Z)=>{let L=Z._zod.bag;if(L.format=J.format,L.minimum=X,L.maximum=z,Y)L.pattern=WO}),I._zod.check=(Z)=>{let L=Z.value;if(Y){if(!Number.isInteger(L)){Z.issues.push({expected:D,format:J.format,code:"invalid_type",continue:!1,input:L,inst:I});return}if(!Number.isSafeInteger(L)){if(L>0)Z.issues.push({input:L,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:D,inclusive:!0,continue:!J.abort});else Z.issues.push({input:L,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:D,inclusive:!0,continue:!J.abort});return}}if(L<X)Z.issues.push({origin:"number",input:L,code:"too_small",minimum:X,inclusive:!0,inst:I,continue:!J.abort});if(L>z)Z.issues.push({origin:"number",input:L,code:"too_big",maximum:z,inclusive:!0,inst:I,continue:!J.abort})}}),CO=R0("$ZodCheckBigIntFormat",(I,J)=>{OU.init(I,J);let[Y,D]=yF[J.format];I._zod.onattach.push((X)=>{let z=X._zod.bag;z.format=J.format,z.minimum=Y,z.maximum=D}),I._zod.check=(X)=>{let z=X.value;if(z<Y)X.issues.push({origin:"bigint",input:z,code:"too_small",minimum:Y,inclusive:!0,inst:I,continue:!J.abort});if(z>D)X.issues.push({origin:"bigint",input:z,code:"too_big",maximum:D,inclusive:!0,inst:I,continue:!J.abort})}}),TO=R0("$ZodCheckMaxSize",(I,J)=>{var Y;OU.init(I,J),(Y=I._zod.def).when??(Y.when=(D)=>{let X=D.value;return!JX(X)&&X.size!==void 0}),I._zod.onattach.push((D)=>{let X=D._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)D._zod.bag.maximum=J.maximum}),I._zod.check=(D)=>{let X=D.value;if(X.size<=J.maximum)return;D.issues.push({origin:z2(X),code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),PO=R0("$ZodCheckMinSize",(I,J)=>{var Y;OU.init(I,J),(Y=I._zod.def).when??(Y.when=(D)=>{let X=D.value;return!JX(X)&&X.size!==void 0}),I._zod.onattach.push((D)=>{let X=D._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)D._zod.bag.minimum=J.minimum}),I._zod.check=(D)=>{let X=D.value;if(X.size>=J.minimum)return;D.issues.push({origin:z2(X),code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),_O=R0("$ZodCheckSizeEquals",(I,J)=>{var Y;OU.init(I,J),(Y=I._zod.def).when??(Y.when=(D)=>{let X=D.value;return!JX(X)&&X.size!==void 0}),I._zod.onattach.push((D)=>{let X=D._zod.bag;X.minimum=J.size,X.maximum=J.size,X.size=J.size}),I._zod.check=(D)=>{let X=D.value,z=X.size;if(z===J.size)return;let Z=z>J.size;D.issues.push({origin:z2(X),...Z?{code:"too_big",maximum:J.size}:{code:"too_small",minimum:J.size},inclusive:!0,exact:!0,input:D.value,inst:I,continue:!J.abort})}}),EO=R0("$ZodCheckMaxLength",(I,J)=>{var Y;OU.init(I,J),(Y=I._zod.def).when??(Y.when=(D)=>{let X=D.value;return!JX(X)&&X.length!==void 0}),I._zod.onattach.push((D)=>{let X=D._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)D._zod.bag.maximum=J.maximum}),I._zod.check=(D)=>{let X=D.value;if(X.length<=J.maximum)return;let Z=D2(X);D.issues.push({origin:Z,code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),jO=R0("$ZodCheckMinLength",(I,J)=>{var Y;OU.init(I,J),(Y=I._zod.def).when??(Y.when=(D)=>{let X=D.value;return!JX(X)&&X.length!==void 0}),I._zod.onattach.push((D)=>{let X=D._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)D._zod.bag.minimum=J.minimum}),I._zod.check=(D)=>{let X=D.value;if(X.length>=J.minimum)return;let Z=D2(X);D.issues.push({origin:Z,code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),qO=R0("$ZodCheckLengthEquals",(I,J)=>{var Y;OU.init(I,J),(Y=I._zod.def).when??(Y.when=(D)=>{let X=D.value;return!JX(X)&&X.length!==void 0}),I._zod.onattach.push((D)=>{let X=D._zod.bag;X.minimum=J.length,X.maximum=J.length,X.length=J.length}),I._zod.check=(D)=>{let X=D.value,z=X.length;if(z===J.length)return;let Z=D2(X),L=z>J.length;D.issues.push({origin:Z,...L?{code:"too_big",maximum:J.length}:{code:"too_small",minimum:J.length},inclusive:!0,exact:!0,input:D.value,inst:I,continue:!J.abort})}}),bQ=R0("$ZodCheckStringFormat",(I,J)=>{var Y,D;if(OU.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)(Y=I._zod).check??(Y.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(D=I._zod).check??(D.check=()=>{})}),SO=R0("$ZodCheckRegex",(I,J)=>{bQ.init(I,J),I._zod.check=(Y)=>{if(J.pattern.lastIndex=0,J.pattern.test(Y.value))return;Y.issues.push({origin:"string",code:"invalid_format",format:"regex",input:Y.value,pattern:J.pattern.toString(),inst:I,continue:!J.abort})}}),RO=R0("$ZodCheckLowerCase",(I,J)=>{J.pattern??(J.pattern=HO),bQ.init(I,J)}),BO=R0("$ZodCheckUpperCase",(I,J)=>{J.pattern??(J.pattern=LO),bQ.init(I,J)}),vO=R0("$ZodCheckIncludes",(I,J)=>{OU.init(I,J);let Y=u4(J.includes),D=new RegExp(typeof J.position==="number"?`^.{${J.position}}${Y}`:Y);J.pattern=D,I._zod.onattach.push((X)=>{let z=X._zod.bag;z.patterns??(z.patterns=new Set),z.patterns.add(D)}),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})}}),NO=R0("$ZodCheckStartsWith",(I,J)=>{OU.init(I,J);let Y=new RegExp(`^${u4(J.prefix)}.*`);J.pattern??(J.pattern=Y),I._zod.onattach.push((D)=>{let X=D._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Y)}),I._zod.check=(D)=>{if(D.value.startsWith(J.prefix))return;D.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:J.prefix,input:D.value,inst:I,continue:!J.abort})}}),kO=R0("$ZodCheckEndsWith",(I,J)=>{OU.init(I,J);let Y=new RegExp(`.*${u4(J.suffix)}$`);J.pattern??(J.pattern=Y),I._zod.onattach.push((D)=>{let X=D._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Y)}),I._zod.check=(D)=>{if(D.value.endsWith(J.suffix))return;D.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:J.suffix,input:D.value,inst:I,continue:!J.abort})}});function xS(I,J,Y){if(I.issues.length)J.issues.push(...t6(Y,I.issues))}var xO=R0("$ZodCheckProperty",(I,J)=>{OU.init(I,J),I._zod.check=(Y)=>{let D=J.schema._zod.run({value:Y.value[J.property],issues:[]},{});if(D instanceof Promise)return D.then((X)=>xS(X,Y,J.property));xS(D,Y,J.property);return}}),gO=R0("$ZodCheckMimeType",(I,J)=>{OU.init(I,J);let Y=new Set(J.mime);I._zod.onattach.push((D)=>{D._zod.bag.mime=J.mime}),I._zod.check=(D)=>{if(Y.has(D.value.type))return;D.issues.push({code:"invalid_value",values:J.mime,input:D.value.type,inst:I,continue:!J.abort})}}),wO=R0("$ZodCheckOverwrite",(I,J)=>{OU.init(I,J),I._zod.check=(Y)=>{Y.value=J.tx(Y.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 Y=I.split(`
|
|
258
|
+
`).filter((z)=>z),D=Math.min(...Y.map((z)=>z.length-z.trimStart().length)),X=Y.map((z)=>z.slice(D)).map((z)=>" ".repeat(this.indent*2)+z);for(let z of X)this.content.push(z)}compile(){let I=Function,J=this?.args,D=[...(this?.content??[""]).map((X)=>` ${X}`)];return new I(...J,D.join(`
|
|
259
|
+
`))}}var fO={major:4,minor:4,patch:3};var j$=R0("$ZodType",(I,J)=>{var Y;I??(I={}),I._zod.def=J,I._zod.bag=I._zod.bag||{},I._zod.version=fO;let D=[...I._zod.def.checks??[]];if(I._zod.traits.has("$ZodCheck"))D.unshift(I);for(let X of D)for(let z of X._zod.onattach)z(I);if(D.length===0)(Y=I._zod).deferred??(Y.deferred=[]),I._zod.deferred?.push(()=>{I._zod.run=I._zod.parse});else{let X=(Z,L,R)=>{let j=GX(Z),q;for(let C of L){if(C._zod.def.when){if(uF(Z))continue;if(!C._zod.def.when(Z))continue}else if(j)continue;let E=Z.issues.length,B=C._zod.check(Z);if(B instanceof Promise&&R?.async===!1)throw new v1;if(q||B instanceof Promise)q=(q??Promise.resolve()).then(async()=>{if(await B,Z.issues.length===E)return;if(!j)j=GX(Z,E)});else{if(Z.issues.length===E)continue;if(!j)j=GX(Z,E)}}if(q)return q.then(()=>{return Z});return Z},z=(Z,L,R)=>{if(GX(Z))return Z.aborted=!0,Z;let j=X(L,D,R);if(j instanceof Promise){if(R.async===!1)throw new v1;return j.then((q)=>I._zod.parse(q,R))}return I._zod.parse(j,R)};I._zod.run=(Z,L)=>{if(L.skipChecks)return I._zod.parse(Z,L);if(L.direction==="backward"){let j=I._zod.parse({value:Z.value,issues:[]},{...L,skipChecks:!0});if(j instanceof Promise)return j.then((q)=>{return z(q,Z,L)});return z(j,Z,L)}let R=I._zod.parse(Z,L);if(R instanceof Promise){if(L.async===!1)throw new v1;return R.then((j)=>X(j,D,L))}return X(R,D,L)}}c$(I,"~standard",()=>({validate:(X)=>{try{let z=cF(I,X);return z.success?{value:z.data}:{issues:z.error?.issues}}catch(z){return pF(I,X).then((Z)=>Z.success?{value:Z.data}:{issues:Z.error?.issues})}},vendor:"zod",version:1}))}),VJ=R0("$ZodString",(I,J)=>{j$.init(I,J),I._zod.pattern=[...I?._zod.bag?.patterns??[]].pop()??zO(I._zod.bag),I._zod.parse=(Y,D)=>{if(J.coerce)try{Y.value=String(Y.value)}catch(X){}if(typeof Y.value==="string")return Y;return Y.issues.push({expected:"string",code:"invalid_type",input:Y.value,inst:I}),Y}}),VU=R0("$ZodStringFormat",(I,J)=>{bQ.init(I,J),VJ.init(I,J)}),uO=R0("$ZodGUID",(I,J)=>{J.pattern??(J.pattern=tF),VU.init(I,J)}),bO=R0("$ZodUUID",(I,J)=>{if(J.version){let D={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[J.version];if(D===void 0)throw Error(`Invalid UUID version: "${J.version}"`);J.pattern??(J.pattern=ZJ(D))}else J.pattern??(J.pattern=ZJ());VU.init(I,J)}),hO=R0("$ZodEmail",(I,J)=>{J.pattern??(J.pattern=aF),VU.init(I,J)}),cO=R0("$ZodURL",(I,J)=>{VU.init(I,J),I._zod.check=(Y)=>{try{let D=Y.value.trim();if(!J.normalize&&J.protocol?.source===QO.source){if(!/^https?:\/\//i.test(D)){Y.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:Y.value,inst:I,continue:!J.abort});return}}let X=new URL(D);if(J.hostname){if(J.hostname.lastIndex=0,!J.hostname.test(X.hostname))Y.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:J.hostname.source,input:Y.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))Y.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:J.protocol.source,input:Y.value,inst:I,continue:!J.abort})}if(J.normalize)Y.value=X.href;else Y.value=D;return}catch(D){Y.issues.push({code:"invalid_format",format:"url",input:Y.value,inst:I,continue:!J.abort})}}}),pO=R0("$ZodEmoji",(I,J)=>{J.pattern??(J.pattern=sF()),VU.init(I,J)}),lO=R0("$ZodNanoID",(I,J)=>{J.pattern??(J.pattern=iF),VU.init(I,J)}),mO=R0("$ZodCUID",(I,J)=>{J.pattern??(J.pattern=lF),VU.init(I,J)}),dO=R0("$ZodCUID2",(I,J)=>{J.pattern??(J.pattern=mF),VU.init(I,J)}),nO=R0("$ZodULID",(I,J)=>{J.pattern??(J.pattern=dF),VU.init(I,J)}),oO=R0("$ZodXID",(I,J)=>{J.pattern??(J.pattern=nF),VU.init(I,J)}),iO=R0("$ZodKSUID",(I,J)=>{J.pattern??(J.pattern=oF),VU.init(I,J)}),rO=R0("$ZodISODateTime",(I,J)=>{J.pattern??(J.pattern=VO(J)),VU.init(I,J)}),tO=R0("$ZodISODate",(I,J)=>{J.pattern??(J.pattern=GO),VU.init(I,J)}),aO=R0("$ZodISOTime",(I,J)=>{J.pattern??(J.pattern=ZO(J)),VU.init(I,J)}),sO=R0("$ZodISODuration",(I,J)=>{J.pattern??(J.pattern=rF),VU.init(I,J)}),eO=R0("$ZodIPv4",(I,J)=>{J.pattern??(J.pattern=eF),VU.init(I,J),I._zod.bag.format="ipv4"}),$H=R0("$ZodIPv6",(I,J)=>{J.pattern??(J.pattern=$O),VU.init(I,J),I._zod.bag.format="ipv6",I._zod.check=(Y)=>{try{new URL(`http://[${Y.value}]`)}catch{Y.issues.push({code:"invalid_format",format:"ipv6",input:Y.value,inst:I,continue:!J.abort})}}}),UH=R0("$ZodMAC",(I,J)=>{J.pattern??(J.pattern=UO(J.delimiter)),VU.init(I,J),I._zod.bag.format="mac"}),IH=R0("$ZodCIDRv4",(I,J)=>{J.pattern??(J.pattern=IO),VU.init(I,J)}),XH=R0("$ZodCIDRv6",(I,J)=>{J.pattern??(J.pattern=XO),VU.init(I,J),I._zod.check=(Y)=>{let D=Y.value.split("/");try{if(D.length!==2)throw Error();let[X,z]=D;if(!z)throw Error();let Z=Number(z);if(`${Z}`!==z)throw Error();if(Z<0||Z>128)throw Error();new URL(`http://[${X}]`)}catch{Y.issues.push({code:"invalid_format",format:"cidrv6",input:Y.value,inst:I,continue:!J.abort})}}});function JH(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 QH=R0("$ZodBase64",(I,J)=>{J.pattern??(J.pattern=JO),VU.init(I,J),I._zod.bag.contentEncoding="base64",I._zod.check=(Y)=>{if(JH(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64",input:Y.value,inst:I,continue:!J.abort})}});function tS(I){if(!xz.test(I))return!1;let J=I.replace(/[-_]/g,(D)=>D==="-"?"+":"/"),Y=J.padEnd(Math.ceil(J.length/4)*4,"=");return JH(Y)}var YH=R0("$ZodBase64URL",(I,J)=>{J.pattern??(J.pattern=xz),VU.init(I,J),I._zod.bag.contentEncoding="base64url",I._zod.check=(Y)=>{if(tS(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64url",input:Y.value,inst:I,continue:!J.abort})}}),GH=R0("$ZodE164",(I,J)=>{J.pattern??(J.pattern=YO),VU.init(I,J)});function aS(I,J=null){try{let Y=I.split(".");if(Y.length!==3)return!1;let[D]=Y;if(!D)return!1;let X=JSON.parse(atob(D));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 ZH=R0("$ZodJWT",(I,J)=>{VU.init(I,J),I._zod.check=(Y)=>{if(aS(Y.value,J.alg))return;Y.issues.push({code:"invalid_format",format:"jwt",input:Y.value,inst:I,continue:!J.abort})}}),VH=R0("$ZodCustomStringFormat",(I,J)=>{VU.init(I,J),I._zod.check=(Y)=>{if(J.fn(Y.value))return;Y.issues.push({code:"invalid_format",format:J.format,input:Y.value,inst:I,continue:!J.abort})}}),cz=R0("$ZodNumber",(I,J)=>{j$.init(I,J),I._zod.pattern=I._zod.bag.pattern??O2,I._zod.parse=(Y,D)=>{if(J.coerce)try{Y.value=Number(Y.value)}catch(Z){}let X=Y.value;if(typeof X==="number"&&!Number.isNaN(X)&&Number.isFinite(X))return Y;let z=typeof X==="number"?Number.isNaN(X)?"NaN":!Number.isFinite(X)?"Infinity":void 0:void 0;return Y.issues.push({expected:"number",code:"invalid_type",input:X,inst:I,...z?{received:z}:{}}),Y}}),zH=R0("$ZodNumberFormat",(I,J)=>{AO.init(I,J),cz.init(I,J)}),M2=R0("$ZodBoolean",(I,J)=>{j$.init(I,J),I._zod.pattern=KO,I._zod.parse=(Y,D)=>{if(J.coerce)try{Y.value=Boolean(Y.value)}catch(z){}let X=Y.value;if(typeof X==="boolean")return Y;return Y.issues.push({expected:"boolean",code:"invalid_type",input:X,inst:I}),Y}}),pz=R0("$ZodBigInt",(I,J)=>{j$.init(I,J),I._zod.pattern=DO,I._zod.parse=(Y,D)=>{if(J.coerce)try{Y.value=BigInt(Y.value)}catch(X){}if(typeof Y.value==="bigint")return Y;return Y.issues.push({expected:"bigint",code:"invalid_type",input:Y.value,inst:I}),Y}}),DH=R0("$ZodBigIntFormat",(I,J)=>{CO.init(I,J),pz.init(I,J)}),WH=R0("$ZodSymbol",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(typeof X==="symbol")return Y;return Y.issues.push({expected:"symbol",code:"invalid_type",input:X,inst:I}),Y}}),KH=R0("$ZodUndefined",(I,J)=>{j$.init(I,J),I._zod.pattern=OO,I._zod.values=new Set([void 0]),I._zod.parse=(Y,D)=>{let X=Y.value;if(typeof X>"u")return Y;return Y.issues.push({expected:"undefined",code:"invalid_type",input:X,inst:I}),Y}}),FH=R0("$ZodNull",(I,J)=>{j$.init(I,J),I._zod.pattern=FO,I._zod.values=new Set([null]),I._zod.parse=(Y,D)=>{let X=Y.value;if(X===null)return Y;return Y.issues.push({expected:"null",code:"invalid_type",input:X,inst:I}),Y}}),OH=R0("$ZodAny",(I,J)=>{j$.init(I,J),I._zod.parse=(Y)=>Y}),HH=R0("$ZodUnknown",(I,J)=>{j$.init(I,J),I._zod.parse=(Y)=>Y}),LH=R0("$ZodNever",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{return Y.issues.push({expected:"never",code:"invalid_type",input:Y.value,inst:I}),Y}}),MH=R0("$ZodVoid",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(typeof X>"u")return Y;return Y.issues.push({expected:"void",code:"invalid_type",input:X,inst:I}),Y}}),AH=R0("$ZodDate",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{if(J.coerce)try{Y.value=new Date(Y.value)}catch(L){}let X=Y.value,z=X instanceof Date;if(z&&!Number.isNaN(X.getTime()))return Y;return Y.issues.push({expected:"date",code:"invalid_type",input:X,...z?{received:"Invalid Date"}:{},inst:I}),Y}});function fS(I,J,Y){if(I.issues.length)J.issues.push(...t6(Y,I.issues));J.value[Y]=I.value}var CH=R0("$ZodArray",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(!Array.isArray(X))return Y.issues.push({expected:"array",code:"invalid_type",input:X,inst:I}),Y;Y.value=Array(X.length);let z=[];for(let Z=0;Z<X.length;Z++){let L=X[Z],R=J.element._zod.run({value:L,issues:[]},D);if(R instanceof Promise)z.push(R.then((j)=>fS(j,Y,Z)));else fS(R,Y,Z)}if(z.length)return Promise.all(z).then(()=>Y);return Y}});function hz(I,J,Y,D,X,z){let Z=Y in D;if(I.issues.length){if(X&&z&&!Z)return;J.issues.push(...t6(Y,I.issues))}if(!Z&&!X){if(!I.issues.length)J.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[Y]});return}if(I.value===void 0){if(Z)J.value[Y]=void 0}else J.value[Y]=I.value}function sS(I){let J=Object.keys(I.shape);for(let D of J)if(!I.shape?.[D]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${D}": expected a Zod schema`);let Y=wF(I.shape);return{...I,keys:J,keySet:new Set(J),numKeys:J.length,optionalKeys:new Set(Y)}}function eS(I,J,Y,D,X,z){let Z=[],L=X.keySet,R=X.catchall._zod,j=R.def.type,q=R.optin==="optional",C=R.optout==="optional";for(let E in J){if(E==="__proto__")continue;if(L.has(E))continue;if(j==="never"){Z.push(E);continue}let B=R.run({value:J[E],issues:[]},D);if(B instanceof Promise)I.push(B.then((N)=>hz(N,Y,E,J,q,C)));else hz(B,Y,E,J,q,C)}if(Z.length)Y.issues.push({code:"unrecognized_keys",keys:Z,input:J,inst:z});if(!I.length)return Y;return Promise.all(I).then(()=>{return Y})}var $R=R0("$ZodObject",(I,J)=>{if(j$.init(I,J),!Object.getOwnPropertyDescriptor(J,"shape")?.get){let L=J.shape;Object.defineProperty(J,"shape",{get:()=>{let R={...L};return Object.defineProperty(J,"shape",{value:R}),R}})}let D=xQ(()=>sS(J));c$(I._zod,"propValues",()=>{let L=J.shape,R={};for(let j in L){let q=L[j]._zod;if(q.values){R[j]??(R[j]=new Set);for(let C of q.values)R[j].add(C)}}return R});let X=GJ,z=J.catchall,Z;I._zod.parse=(L,R)=>{Z??(Z=D.value);let j=L.value;if(!X(j))return L.issues.push({expected:"object",code:"invalid_type",input:j,inst:I}),L;L.value={};let q=[],C=Z.shape;for(let E of Z.keys){let B=C[E],N=B._zod.optin==="optional",y=B._zod.optout==="optional",w=B._zod.run({value:j[E],issues:[]},R);if(w instanceof Promise)q.push(w.then((b)=>hz(b,L,E,j,N,y)));else hz(w,L,E,j,N,y)}if(!z)return q.length?Promise.all(q).then(()=>L):L;return eS(q,j,L,R,D.value,I)}}),TH=R0("$ZodObjectJIT",(I,J)=>{$R.init(I,J);let Y=I._zod.parse,D=xQ(()=>sS(J)),X=(E)=>{let B=new fz(["shape","payload","ctx"]),N=D.value,y=(u)=>{let p=Tz(u);return`shape[${p}]._zod.run({ value: input[${p}], issues: [] }, ctx)`};B.write("const input = payload.value;");let w=Object.create(null),b=0;for(let u of N.keys)w[u]=`key_${b++}`;B.write("const newResult = {};");for(let u of N.keys){let p=w[u],d=Tz(u),a=E[u],O0=a?._zod?.optin==="optional",L0=a?._zod?.optout==="optional";if(B.write(`const ${p} = ${y(u)};`),O0&&L0)B.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(!O0)B.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 B.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
|
+
`)}B.write("payload.value = newResult;"),B.write("return payload;");let x=B.compile();return(u,p)=>x(E,u,p)},z,Z=GJ,L=!QJ.jitless,j=L&&kF.value,q=J.catchall,C;I._zod.parse=(E,B)=>{C??(C=D.value);let N=E.value;if(!Z(N))return E.issues.push({expected:"object",code:"invalid_type",input:N,inst:I}),E;if(L&&j&&B?.async===!1&&B.jitless!==!0){if(!z)z=X(J.shape);if(E=z(E,B),!q)return E;return eS([],N,E,B,C,I)}return Y(E,B)}});function yS(I,J,Y,D){for(let z of I)if(z.issues.length===0)return J.value=z.value,J;let X=I.filter((z)=>!GX(z));if(X.length===1)return J.value=X[0].value,X[0];return J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:I.map((z)=>z.issues.map((Z)=>u6(Z,D,rU())))}),J}var A2=R0("$ZodUnion",(I,J)=>{j$.init(I,J),c$(I._zod,"optin",()=>J.options.some((D)=>D._zod.optin==="optional")?"optional":void 0),c$(I._zod,"optout",()=>J.options.some((D)=>D._zod.optout==="optional")?"optional":void 0),c$(I._zod,"values",()=>{if(J.options.every((D)=>D._zod.values))return new Set(J.options.flatMap((D)=>Array.from(D._zod.values)));return}),c$(I._zod,"pattern",()=>{if(J.options.every((D)=>D._zod.pattern)){let D=J.options.map((X)=>X._zod.pattern);return new RegExp(`^(${D.map((X)=>Z2(X.source)).join("|")})$`)}return});let Y=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(D,X)=>{if(Y)return Y(D,X);let z=!1,Z=[];for(let L of J.options){let R=L._zod.run({value:D.value,issues:[]},X);if(R instanceof Promise)Z.push(R),z=!0;else{if(R.issues.length===0)return R;Z.push(R)}}if(!z)return yS(Z,D,I,X);return Promise.all(Z).then((L)=>{return yS(L,D,I,X)})}});function uS(I,J,Y,D){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:Y,errors:I.map((z)=>z.issues.map((Z)=>u6(Z,D,rU())))});else J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:[],inclusive:!1});return J}var PH=R0("$ZodXor",(I,J)=>{A2.init(I,J),J.inclusive=!1;let Y=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(D,X)=>{if(Y)return Y(D,X);let z=!1,Z=[];for(let L of J.options){let R=L._zod.run({value:D.value,issues:[]},X);if(R instanceof Promise)Z.push(R),z=!0;else Z.push(R)}if(!z)return uS(Z,D,I,X);return Promise.all(Z).then((L)=>{return uS(L,D,I,X)})}}),_H=R0("$ZodDiscriminatedUnion",(I,J)=>{J.inclusive=!1,A2.init(I,J);let Y=I._zod.parse;c$(I._zod,"propValues",()=>{let X={};for(let z of J.options){let Z=z._zod.propValues;if(!Z||Object.keys(Z).length===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(z)}"`);for(let[L,R]of Object.entries(Z)){if(!X[L])X[L]=new Set;for(let j of R)X[L].add(j)}}return X});let D=xQ(()=>{let X=J.options,z=new Map;for(let Z of X){let L=Z._zod.propValues?.[J.discriminator];if(!L||L.size===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(Z)}"`);for(let R of L){if(z.has(R))throw Error(`Duplicate discriminator value "${String(R)}"`);z.set(R,Z)}}return z});I._zod.parse=(X,z)=>{let Z=X.value;if(!GJ(Z))return X.issues.push({code:"invalid_type",expected:"object",input:Z,inst:I}),X;let L=D.value.get(Z?.[J.discriminator]);if(L)return L._zod.run(X,z);if(J.unionFallback||z.direction==="backward")return Y(X,z);return X.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:J.discriminator,options:Array.from(D.value.keys()),input:Z,path:[J.discriminator],inst:I}),X}}),EH=R0("$ZodIntersection",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value,z=J.left._zod.run({value:X,issues:[]},D),Z=J.right._zod.run({value:X,issues:[]},D);if(z instanceof Promise||Z instanceof Promise)return Promise.all([z,Z]).then(([R,j])=>{return bS(Y,R,j)});return bS(Y,z,Z)}});function yO(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(YX(I)&&YX(J)){let Y=Object.keys(J),D=Object.keys(I).filter((z)=>Y.indexOf(z)!==-1),X={...I,...J};for(let z of D){let Z=yO(I[z],J[z]);if(!Z.valid)return{valid:!1,mergeErrorPath:[z,...Z.mergeErrorPath]};X[z]=Z.data}return{valid:!0,data:X}}if(Array.isArray(I)&&Array.isArray(J)){if(I.length!==J.length)return{valid:!1,mergeErrorPath:[]};let Y=[];for(let D=0;D<I.length;D++){let X=I[D],z=J[D],Z=yO(X,z);if(!Z.valid)return{valid:!1,mergeErrorPath:[D,...Z.mergeErrorPath]};Y.push(Z.data)}return{valid:!0,data:Y}}return{valid:!1,mergeErrorPath:[]}}function bS(I,J,Y){let D=new Map,X;for(let L of J.issues)if(L.code==="unrecognized_keys"){X??(X=L);for(let R of L.keys){if(!D.has(R))D.set(R,{});D.get(R).l=!0}}else I.issues.push(L);for(let L of Y.issues)if(L.code==="unrecognized_keys")for(let R of L.keys){if(!D.has(R))D.set(R,{});D.get(R).r=!0}else I.issues.push(L);let z=[...D].filter(([,L])=>L.l&&L.r).map(([L])=>L);if(z.length&&X)I.issues.push({...X,keys:z});if(GX(I))return I;let Z=yO(J.value,Y.value);if(!Z.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(Z.mergeErrorPath)}`);return I.value=Z.data,I}var lz=R0("$ZodTuple",(I,J)=>{j$.init(I,J);let Y=J.items;I._zod.parse=(D,X)=>{let z=D.value;if(!Array.isArray(z))return D.issues.push({input:z,inst:I,expected:"tuple",code:"invalid_type"}),D;D.value=[];let Z=[],L=hS(Y,"optin"),R=hS(Y,"optout");if(!J.rest){if(z.length<L)return D.issues.push({code:"too_small",minimum:L,inclusive:!0,input:z,inst:I,origin:"array"}),D;if(z.length>Y.length)D.issues.push({code:"too_big",maximum:Y.length,inclusive:!0,input:z,inst:I,origin:"array"})}let j=Array(Y.length);for(let q=0;q<Y.length;q++){let C=Y[q]._zod.run({value:z[q],issues:[]},X);if(C instanceof Promise)Z.push(C.then((E)=>{j[q]=E}));else j[q]=C}if(J.rest){let q=Y.length-1,C=z.slice(Y.length);for(let E of C){q++;let B=J.rest._zod.run({value:E,issues:[]},X);if(B instanceof Promise)Z.push(B.then((N)=>cS(N,D,q)));else cS(B,D,q)}}if(Z.length)return Promise.all(Z).then(()=>pS(j,D,Y,z,R));return pS(j,D,Y,z,R)}});function hS(I,J){for(let Y=I.length-1;Y>=0;Y--)if(I[Y]._zod[J]!=="optional")return Y+1;return 0}function cS(I,J,Y){if(I.issues.length)J.issues.push(...t6(Y,I.issues));J.value[Y]=I.value}function pS(I,J,Y,D,X){for(let z=0;z<Y.length;z++){let Z=I[z],L=z<D.length;if(Z.issues.length){if(!L&&z>=X){J.value.length=z;break}J.issues.push(...t6(z,Z.issues))}J.value[z]=Z.value}for(let z=J.value.length-1;z>=D.length;z--)if(Y[z]._zod.optout==="optional"&&J.value[z]===void 0)J.value.length=z;else break;return J}var jH=R0("$ZodRecord",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(!YX(X))return Y.issues.push({expected:"record",code:"invalid_type",input:X,inst:I}),Y;let z=[],Z=J.keyType._zod.values;if(Z){Y.value={};let L=new Set;for(let j of Z)if(typeof j==="string"||typeof j==="number"||typeof j==="symbol"){L.add(typeof j==="number"?j.toString():j);let q=J.keyType._zod.run({value:j,issues:[]},D);if(q instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(q.issues.length){Y.issues.push({code:"invalid_key",origin:"record",issues:q.issues.map((B)=>u6(B,D,rU())),input:j,path:[j],inst:I});continue}let C=q.value,E=J.valueType._zod.run({value:X[j],issues:[]},D);if(E instanceof Promise)z.push(E.then((B)=>{if(B.issues.length)Y.issues.push(...t6(j,B.issues));Y.value[C]=B.value}));else{if(E.issues.length)Y.issues.push(...t6(j,E.issues));Y.value[C]=E.value}}let R;for(let j in X)if(!L.has(j))R=R??[],R.push(j);if(R&&R.length>0)Y.issues.push({code:"unrecognized_keys",input:X,inst:I,keys:R})}else{Y.value={};for(let L of Reflect.ownKeys(X)){if(L==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(X,L))continue;let R=J.keyType._zod.run({value:L,issues:[]},D);if(R instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof L==="string"&&O2.test(L)&&R.issues.length){let C=J.keyType._zod.run({value:Number(L),issues:[]},D);if(C instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(C.issues.length===0)R=C}if(R.issues.length){if(J.mode==="loose")Y.value[L]=X[L];else Y.issues.push({code:"invalid_key",origin:"record",issues:R.issues.map((C)=>u6(C,D,rU())),input:L,path:[L],inst:I});continue}let q=J.valueType._zod.run({value:X[L],issues:[]},D);if(q instanceof Promise)z.push(q.then((C)=>{if(C.issues.length)Y.issues.push(...t6(L,C.issues));Y.value[R.value]=C.value}));else{if(q.issues.length)Y.issues.push(...t6(L,q.issues));Y.value[R.value]=q.value}}}if(z.length)return Promise.all(z).then(()=>Y);return Y}}),qH=R0("$ZodMap",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(!(X instanceof Map))return Y.issues.push({expected:"map",code:"invalid_type",input:X,inst:I}),Y;let z=[];Y.value=new Map;for(let[Z,L]of X){let R=J.keyType._zod.run({value:Z,issues:[]},D),j=J.valueType._zod.run({value:L,issues:[]},D);if(R instanceof Promise||j instanceof Promise)z.push(Promise.all([R,j]).then(([q,C])=>{lS(q,C,Y,Z,X,I,D)}));else lS(R,j,Y,Z,X,I,D)}if(z.length)return Promise.all(z).then(()=>Y);return Y}});function lS(I,J,Y,D,X,z,Z){if(I.issues.length)if(V2.has(typeof D))Y.issues.push(...t6(D,I.issues));else Y.issues.push({code:"invalid_key",origin:"map",input:X,inst:z,issues:I.issues.map((L)=>u6(L,Z,rU()))});if(J.issues.length)if(V2.has(typeof D))Y.issues.push(...t6(D,J.issues));else Y.issues.push({origin:"map",code:"invalid_element",input:X,inst:z,key:D,issues:J.issues.map((L)=>u6(L,Z,rU()))});Y.value.set(I.value,J.value)}var SH=R0("$ZodSet",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(!(X instanceof Set))return Y.issues.push({input:X,inst:I,expected:"set",code:"invalid_type"}),Y;let z=[];Y.value=new Set;for(let Z of X){let L=J.valueType._zod.run({value:Z,issues:[]},D);if(L instanceof Promise)z.push(L.then((R)=>mS(R,Y)));else mS(L,Y)}if(z.length)return Promise.all(z).then(()=>Y);return Y}});function mS(I,J){if(I.issues.length)J.issues.push(...I.issues);J.value.add(I.value)}var RH=R0("$ZodEnum",(I,J)=>{j$.init(I,J);let Y=G2(J.entries),D=new Set(Y);I._zod.values=D,I._zod.pattern=new RegExp(`^(${Y.filter((X)=>V2.has(typeof X)).map((X)=>typeof X==="string"?u4(X):X.toString()).join("|")})$`),I._zod.parse=(X,z)=>{let Z=X.value;if(D.has(Z))return X;return X.issues.push({code:"invalid_value",values:Y,input:Z,inst:I}),X}}),BH=R0("$ZodLiteral",(I,J)=>{if(j$.init(I,J),J.values.length===0)throw Error("Cannot create literal schema with no valid values");let Y=new Set(J.values);I._zod.values=Y,I._zod.pattern=new RegExp(`^(${J.values.map((D)=>typeof D==="string"?u4(D):D?u4(D.toString()):String(D)).join("|")})$`),I._zod.parse=(D,X)=>{let z=D.value;if(Y.has(z))return D;return D.issues.push({code:"invalid_value",values:J.values,input:z,inst:I}),D}}),vH=R0("$ZodFile",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{let X=Y.value;if(X instanceof File)return Y;return Y.issues.push({expected:"file",code:"invalid_type",input:X,inst:I}),Y}}),NH=R0("$ZodTransform",(I,J)=>{j$.init(I,J),I._zod.optin="optional",I._zod.parse=(Y,D)=>{if(D.direction==="backward")throw new YJ(I.constructor.name);let X=J.transform(Y.value,Y);if(D.async)return(X instanceof Promise?X:Promise.resolve(X)).then((Z)=>{return Y.value=Z,Y.fallback=!0,Y});if(X instanceof Promise)throw new v1;return Y.value=X,Y.fallback=!0,Y}});function dS(I,J){if(J===void 0&&(I.issues.length||I.fallback))return{issues:[],value:void 0};return I}var mz=R0("$ZodOptional",(I,J)=>{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 Y=J.innerType._zod.pattern;return Y?new RegExp(`^(${Z2(Y.source)})?$`):void 0}),I._zod.parse=(Y,D)=>{if(J.innerType._zod.optin==="optional"){let X=Y.value,z=J.innerType._zod.run(Y,D);if(z instanceof Promise)return z.then((Z)=>dS(Z,X));return dS(z,X)}if(Y.value===void 0)return Y;return J.innerType._zod.run(Y,D)}}),kH=R0("$ZodExactOptional",(I,J)=>{mz.init(I,J),c$(I._zod,"values",()=>J.innerType._zod.values),c$(I._zod,"pattern",()=>J.innerType._zod.pattern),I._zod.parse=(Y,D)=>{return J.innerType._zod.run(Y,D)}}),xH=R0("$ZodNullable",(I,J)=>{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 Y=J.innerType._zod.pattern;return Y?new RegExp(`^(${Z2(Y.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=(Y,D)=>{if(Y.value===null)return Y;return J.innerType._zod.run(Y,D)}}),gH=R0("$ZodDefault",(I,J)=>{j$.init(I,J),I._zod.optin="optional",c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,D)=>{if(D.direction==="backward")return J.innerType._zod.run(Y,D);if(Y.value===void 0)return Y.value=J.defaultValue,Y;let X=J.innerType._zod.run(Y,D);if(X instanceof Promise)return X.then((z)=>nS(z,J));return nS(X,J)}});function nS(I,J){if(I.value===void 0)I.value=J.defaultValue;return I}var wH=R0("$ZodPrefault",(I,J)=>{j$.init(I,J),I._zod.optin="optional",c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Y,D)=>{if(D.direction==="backward")return J.innerType._zod.run(Y,D);if(Y.value===void 0)Y.value=J.defaultValue;return J.innerType._zod.run(Y,D)}}),fH=R0("$ZodNonOptional",(I,J)=>{j$.init(I,J),c$(I._zod,"values",()=>{let Y=J.innerType._zod.values;return Y?new Set([...Y].filter((D)=>D!==void 0)):void 0}),I._zod.parse=(Y,D)=>{let X=J.innerType._zod.run(Y,D);if(X instanceof Promise)return X.then((z)=>oS(z,I));return oS(X,I)}});function oS(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 yH=R0("$ZodSuccess",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{if(D.direction==="backward")throw new YJ("ZodSuccess");let X=J.innerType._zod.run(Y,D);if(X instanceof Promise)return X.then((z)=>{return Y.value=z.issues.length===0,Y});return Y.value=X.issues.length===0,Y}}),uH=R0("$ZodCatch",(I,J)=>{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=(Y,D)=>{if(D.direction==="backward")return J.innerType._zod.run(Y,D);let X=J.innerType._zod.run(Y,D);if(X instanceof Promise)return X.then((z)=>{if(Y.value=z.value,z.issues.length)Y.value=J.catchValue({...Y,error:{issues:z.issues.map((Z)=>u6(Z,D,rU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y});if(Y.value=X.value,X.issues.length)Y.value=J.catchValue({...Y,error:{issues:X.issues.map((z)=>u6(z,D,rU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y}}),bH=R0("$ZodNaN",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{if(typeof Y.value!=="number"||!Number.isNaN(Y.value))return Y.issues.push({input:Y.value,inst:I,expected:"nan",code:"invalid_type"}),Y;return Y}}),dz=R0("$ZodPipe",(I,J)=>{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=(Y,D)=>{if(D.direction==="backward"){let z=J.out._zod.run(Y,D);if(z instanceof Promise)return z.then((Z)=>yz(Z,J.in,D));return yz(z,J.in,D)}let X=J.in._zod.run(Y,D);if(X instanceof Promise)return X.then((z)=>yz(z,J.out,D));return yz(X,J.out,D)}});function yz(I,J,Y){if(I.issues.length)return I.aborted=!0,I;return J._zod.run({value:I.value,issues:I.issues,fallback:I.fallback},Y)}var C2=R0("$ZodCodec",(I,J)=>{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=(Y,D)=>{if((D.direction||"forward")==="forward"){let z=J.in._zod.run(Y,D);if(z instanceof Promise)return z.then((Z)=>uz(Z,J,D));return uz(z,J,D)}else{let z=J.out._zod.run(Y,D);if(z instanceof Promise)return z.then((Z)=>uz(Z,J,D));return uz(z,J,D)}}});function uz(I,J,Y){if(I.issues.length)return I.aborted=!0,I;if((Y.direction||"forward")==="forward"){let X=J.transform(I.value,I);if(X instanceof Promise)return X.then((z)=>bz(I,z,J.out,Y));return bz(I,X,J.out,Y)}else{let X=J.reverseTransform(I.value,I);if(X instanceof Promise)return X.then((z)=>bz(I,z,J.in,Y));return bz(I,X,J.in,Y)}}function bz(I,J,Y,D){if(I.issues.length)return I.aborted=!0,I;return Y._zod.run({value:J,issues:I.issues},D)}var hH=R0("$ZodPreprocess",(I,J)=>{dz.init(I,J)}),cH=R0("$ZodReadonly",(I,J)=>{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=(Y,D)=>{if(D.direction==="backward")return J.innerType._zod.run(Y,D);let X=J.innerType._zod.run(Y,D);if(X instanceof Promise)return X.then(iS);return iS(X)}});function iS(I){return I.value=Object.freeze(I.value),I}var pH=R0("$ZodTemplateLiteral",(I,J)=>{j$.init(I,J);let Y=[];for(let D of J.parts)if(typeof D==="object"&&D!==null){if(!D._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...D._zod.traits].shift()}`);let X=D._zod.pattern instanceof RegExp?D._zod.pattern.source:D._zod.pattern;if(!X)throw Error(`Invalid template literal part: ${D._zod.traits}`);let z=X.startsWith("^")?1:0,Z=X.endsWith("$")?X.length-1:X.length;Y.push(X.slice(z,Z))}else if(D===null||gF.has(typeof D))Y.push(u4(`${D}`));else throw Error(`Invalid template literal part: ${D}`);I._zod.pattern=new RegExp(`^${Y.join("")}$`),I._zod.parse=(D,X)=>{if(typeof D.value!=="string")return D.issues.push({input:D.value,inst:I,expected:"string",code:"invalid_type"}),D;if(I._zod.pattern.lastIndex=0,!I._zod.pattern.test(D.value))return D.issues.push({input:D.value,inst:I,code:"invalid_format",format:J.format??"template_literal",pattern:I._zod.pattern.source}),D;return D}}),lH=R0("$ZodFunction",(I,J)=>{return j$.init(I,J),I._def=J,I._zod.def=J,I.implement=(Y)=>{if(typeof Y!=="function")throw Error("implement() must be called with a function");return function(...D){let X=I._def.input?_z(I._def.input,D):D,z=Reflect.apply(Y,this,X);if(I._def.output)return _z(I._def.output,z);return z}},I.implementAsync=(Y)=>{if(typeof Y!=="function")throw Error("implementAsync() must be called with a function");return async function(...D){let X=I._def.input?await Ez(I._def.input,D):D,z=await Reflect.apply(Y,this,X);if(I._def.output)return await Ez(I._def.output,z);return z}},I._zod.parse=(Y,D)=>{if(typeof Y.value!=="function")return Y.issues.push({code:"invalid_type",expected:"function",input:Y.value,inst:I}),Y;if(I._def.output&&I._def.output._zod.def.type==="promise")Y.value=I.implementAsync(Y.value);else Y.value=I.implement(Y.value);return Y},I.input=(...Y)=>{let D=I.constructor;if(Array.isArray(Y[0]))return new D({type:"function",input:new lz({type:"tuple",items:Y[0],rest:Y[1]}),output:I._def.output});return new D({type:"function",input:Y[0],output:I._def.output})},I.output=(Y)=>{return new I.constructor({type:"function",input:I._def.input,output:Y})},I}),mH=R0("$ZodPromise",(I,J)=>{j$.init(I,J),I._zod.parse=(Y,D)=>{return Promise.resolve(Y.value).then((X)=>J.innerType._zod.run({value:X,issues:[]},D))}}),dH=R0("$ZodLazy",(I,J)=>{j$.init(I,J),c$(I._zod,"innerType",()=>{let Y=J;if(!Y._cachedInner)Y._cachedInner=J.getter();return Y._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=(Y,D)=>{return I._zod.innerType._zod.run(Y,D)}}),nH=R0("$ZodCustom",(I,J)=>{OU.init(I,J),j$.init(I,J),I._zod.parse=(Y,D)=>{return Y},I._zod.check=(Y)=>{let D=Y.value,X=J.fn(D);if(X instanceof Promise)return X.then((z)=>rS(z,Y,D,I));rS(X,Y,D,I);return}});function rS(I,J,Y,D){if(!I){let X={code:"custom",input:Y,inst:D,path:[...D._zod.def.path??[]],continue:!D._zod.def.abort};if(D._zod.def.params)X.params=D._zod.def.params;J.issues.push(gQ(X))}}var j2={};x6(j2,{zhTW:()=>h5,zhCN:()=>b5,yo:()=>c5,vi:()=>u5,uz:()=>y5,ur:()=>f5,uk:()=>E2,ua:()=>w5,tr:()=>g5,th:()=>x5,ta:()=>k5,sv:()=>N5,sl:()=>v5,ru:()=>B5,ro:()=>R5,pt:()=>S5,ps:()=>j5,pl:()=>q5,ota:()=>E5,no:()=>_5,nl:()=>P5,ms:()=>T5,mk:()=>C5,lt:()=>A5,ko:()=>M5,km:()=>P2,kh:()=>L5,ka:()=>H5,ja:()=>O5,it:()=>F5,is:()=>K5,id:()=>W5,hy:()=>D5,hu:()=>z5,hr:()=>V5,he:()=>Z5,frCA:()=>G5,fr:()=>Y5,fi:()=>Q5,fa:()=>J5,es:()=>X5,eo:()=>I5,en:()=>T2,el:()=>U5,de:()=>$5,da:()=>eH,cs:()=>sH,ca:()=>aH,bg:()=>tH,be:()=>rH,az:()=>iH,ar:()=>oH});var Qb=()=>{let I={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function J(X){return I[X]??null}let Y={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:"مدخل"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return` أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${z} ${X.maximum.toString()} ${Z.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${z} ${X.minimum.toString()} ${Z.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`${Y[z.format]??X.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${X.divisor}`;case"unrecognized_keys":return`معرف${X.keys.length>1?"ات":""} غريب${X.keys.length>1?"ة":""}: ${g0(X.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${X.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${X.origin}`;default:return"مدخل غير مقبول"}}};function oH(){return{localeError:Qb()}}var Yb=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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: ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Çox kiçik: gözlənilən ${X.origin} ${z}${X.minimum.toString()} ${Z.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ış ${Y[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":""}: ${g0(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 iH(){return{localeError:Yb()}}function UR(I,J,Y,D){let X=Math.abs(I),z=X%10,Z=X%100;if(Z>=11&&Z<=19)return D;if(z===1)return J;if(z>=2&&z<=4)return Y;return D}var Gb=()=>{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 Y={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:"увод"},D={nan:"NaN",number:"лік",array:"масіў"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Няправільны варыянт: чакаўся адзін з ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),R=UR(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна ${Z.verb} ${z}${X.maximum.toString()} ${R}`}return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна быць ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),R=UR(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта малы: чакалася, што ${X.origin} павінна ${Z.verb} ${z}${X.minimum.toString()} ${R}`}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`Няправільны ${Y[z.format]??X.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${X.keys.length>1?"ключы":"ключ"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${X.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${X.origin}`;default:return"Няправільны ўвод"}}};function rH(){return{localeError:Gb()}}var Zb=()=>{let I={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function J(X){return I[X]??null}let Y={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:"вход"},D={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Невалидна опция: очаквано едно от ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Твърде голямо: очаква се ${X.origin??"стойност"} да съдържа ${z}${X.maximum.toString()} ${Z.unit??"елемента"}`;return`Твърде голямо: очаква се ${X.origin??"стойност"} да бъде ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Твърде малко: очаква се ${X.origin} да съдържа ${z}${X.minimum.toString()} ${Z.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 Z="Невалиден";if(z.format==="emoji")Z="Невалидно";if(z.format==="datetime")Z="Невалидно";if(z.format==="date")Z="Невалидна";if(z.format==="time")Z="Невалидно";if(z.format==="duration")Z="Невалидна";return`${Z} ${Y[z.format]??X.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${X.divisor}`;case"unrecognized_keys":return`Неразпознат${X.keys.length>1?"и":""} ключ${X.keys.length>1?"ове":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${X.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${X.origin}`;default:return"Невалиден вход"}}};function tH(){return{localeError:Zb()}}var Vb=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values," o ")}`;case"too_big":{let z=X.inclusive?"com a màxim":"menys de",Z=J(X.origin);if(Z)return`Massa gran: s'esperava que ${X.origin??"el valor"} contingués ${z} ${X.maximum.toString()} ${Z.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",Z=J(X.origin);if(Z)return`Massa petit: s'esperava que ${X.origin} contingués ${z} ${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(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 aH(){return{localeError:Vb()}}var zb=()=>{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 Y={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"},D={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí mít ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí mít ${z}${X.minimum.toString()} ${Z.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 ${Y[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: ${g0(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 sH(){return{localeError:zb()}}var Db=()=>{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 Y={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"},D={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=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin),L=D[X.origin]??X.origin;if(Z)return`For stor: forventede ${L??"value"} ${Z.verb} ${z} ${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor: forventede ${L??"value"} havde ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin),L=D[X.origin]??X.origin;if(Z)return`For lille: forventede ${L} ${Z.verb} ${z} ${X.minimum.toString()} ${Z.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 ${Y[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"}: ${g0(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 eH(){return{localeError:Db()}}var Wb=()=>{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 Y={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"},D={nan:"NaN",number:"Zahl",array:"Array"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${z}${X.maximum.toString()} ${Z.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${z}${X.maximum.toString()} ist`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Zu klein: erwartet, dass ${X.origin} ${z}${X.minimum.toString()} ${Z.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: ${Y[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"}: ${g0(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 $5(){return{localeError:Wb()}}var Kb=()=>{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 Y={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:"είσοδος"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Μη έγκυρη επιλογή: αναμενόταν ένα από ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να έχει ${z}${X.maximum.toString()} ${Z.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να είναι ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Πολύ μικρό: αναμενόταν ${X.origin} να έχει ${z}${X.minimum.toString()} ${Z.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`Μη έγκυρο: ${Y[z.format]??X.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${X.divisor}`;case"unrecognized_keys":return`Άγνωστ${X.keys.length>1?"α":"ο"} κλειδ${X.keys.length>1?"ιά":"ί"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${X.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${X.origin}`;default:return"Μη έγκυρη είσοδος"}}};function U5(){return{localeError:Kb()}}var Fb=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Too big: expected ${X.origin??"value"} to have ${z}${X.maximum.toString()} ${Z.unit??"elements"}`;return`Too big: expected ${X.origin??"value"} to be ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Too small: expected ${X.origin} to have ${z}${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(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((Z)=>`'${Z}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${X.origin}`;default:return"Invalid input"}}};function T2(){return{localeError:Fb()}}var Ob=()=>{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 Y={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"},D={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${z}${X.maximum.toString()} ${Z.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Tro malgranda: atendiĝis ke ${X.origin} havu ${z}${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(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 I5(){return{localeError:Ob()}}var Hb=()=>{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 Y={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"},D={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=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin),L=D[X.origin]??X.origin;if(Z)return`Demasiado grande: se esperaba que ${L??"valor"} tuviera ${z}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${L??"valor"} fuera ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin),L=D[X.origin]??X.origin;if(Z)return`Demasiado pequeño: se esperaba que ${L} tuviera ${z}${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Llave inválida en ${D[X.origin]??X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${D[X.origin]??X.origin}`;default:return"Entrada inválida"}}};function X5(){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 Y={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:"ورودی"},D={nan:"NaN",number:"عدد",array:"آرایه"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`گزینه نامعتبر: میبایست یکی از ${g0(X.values,"|")} میبود`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${z}${X.maximum.toString()} ${Z.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${z}${X.maximum.toString()} باشد`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`خیلی کوچک: ${X.origin} باید ${z}${X.minimum.toString()} ${Z.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`${Y[z.format]??X.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${X.divisor} باشد`;case"unrecognized_keys":return`کلید${X.keys.length>1?"های":""} ناشناس: ${g0(X.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${X.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${X.origin}`;default:return"ورودی نامعتبر"}}};function J5(){return{localeError:Lb()}}var Mb=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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: ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Liian suuri: ${Z.subject} täytyy olla ${z}${X.maximum.toString()} ${Z.unit}`.trim();return`Liian suuri: arvon täytyy olla ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Liian pieni: ${Z.subject} täytyy olla ${z}${X.minimum.toString()} ${Z.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 ${Y[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"}: ${g0(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 Q5(){return{localeError:Mb()}}var Ab=()=>{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 Y={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"},D={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=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")} attendue`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Trop grand : ${D[X.origin]??"valeur"} doit ${Z.verb} ${z}${X.maximum.toString()} ${Z.unit??"élément(s)"}`;return`Trop grand : ${D[X.origin]??"valeur"} doit être ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Trop petit : ${D[X.origin]??"valeur"} doit ${Z.verb} ${z}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : ${D[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`${Y[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":""} : ${g0(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 Y5(){return{localeError:Ab()}}var Cb=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"≤":"<",Z=J(X.origin);if(Z)return`Trop grand : attendu que ${X.origin??"la valeur"} ait ${z}${X.maximum.toString()} ${Z.unit}`;return`Trop grand : attendu que ${X.origin??"la valeur"} soit ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?"≥":">",Z=J(X.origin);if(Z)return`Trop petit : attendu que ${X.origin} ait ${z}${X.minimum.toString()} ${Z.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`${Y[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":""} : ${g0(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 G5(){return{localeError:Cb()}}var Tb=()=>{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:"גדול"}},Y=(j)=>j?I[j]:void 0,D=(j)=>{let q=Y(j);if(q)return q.label;return j??I.unknown.label},X=(j)=>`ה${D(j)}`,z=(j)=>{return(Y(j)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},Z=(j)=>{if(!j)return null;return J[j]??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"}},R={nan:"NaN"};return(j)=>{switch(j.code){case"invalid_type":{let q=j.expected,C=R[q??""]??D(q),E=Q$(j.input),B=R[E]??I[E]?.label??E;if(/^[A-Z]/.test(j.expected))return`קלט לא תקין: צריך להיות instanceof ${j.expected}, התקבל ${B}`;return`קלט לא תקין: צריך להיות ${C}, התקבל ${B}`}case"invalid_value":{if(j.values.length===1)return`ערך לא תקין: הערך חייב להיות ${J$(j.values[0])}`;let q=j.values.map((B)=>J$(B));if(j.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${q[0]} או ${q[1]}`;let C=q[q.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${q.slice(0,-1).join(", ")} או ${C}`}case"too_big":{let q=Z(j.origin),C=X(j.origin??"value");if(j.origin==="string")return`${q?.longLabel??"ארוך"} מדי: ${C} צריכה להכיל ${j.maximum.toString()} ${q?.unit??""} ${j.inclusive?"או פחות":"לכל היותר"}`.trim();if(j.origin==="number"){let N=j.inclusive?`קטן או שווה ל-${j.maximum}`:`קטן מ-${j.maximum}`;return`גדול מדי: ${C} צריך להיות ${N}`}if(j.origin==="array"||j.origin==="set"){let N=j.origin==="set"?"צריכה":"צריך",y=j.inclusive?`${j.maximum} ${q?.unit??""} או פחות`:`פחות מ-${j.maximum} ${q?.unit??""}`;return`גדול מדי: ${C} ${N} להכיל ${y}`.trim()}let E=j.inclusive?"<=":"<",B=z(j.origin??"value");if(q?.unit)return`${q.longLabel} מדי: ${C} ${B} ${E}${j.maximum.toString()} ${q.unit}`;return`${q?.longLabel??"גדול"} מדי: ${C} ${B} ${E}${j.maximum.toString()}`}case"too_small":{let q=Z(j.origin),C=X(j.origin??"value");if(j.origin==="string")return`${q?.shortLabel??"קצר"} מדי: ${C} צריכה להכיל ${j.minimum.toString()} ${q?.unit??""} ${j.inclusive?"או יותר":"לפחות"}`.trim();if(j.origin==="number"){let N=j.inclusive?`גדול או שווה ל-${j.minimum}`:`גדול מ-${j.minimum}`;return`קטן מדי: ${C} צריך להיות ${N}`}if(j.origin==="array"||j.origin==="set"){let N=j.origin==="set"?"צריכה":"צריך";if(j.minimum===1&&j.inclusive){let w=j.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${C} ${N} להכיל ${w}`}let y=j.inclusive?`${j.minimum} ${q?.unit??""} או יותר`:`יותר מ-${j.minimum} ${q?.unit??""}`;return`קטן מדי: ${C} ${N} להכיל ${y}`.trim()}let E=j.inclusive?">=":">",B=z(j.origin??"value");if(q?.unit)return`${q.shortLabel} מדי: ${C} ${B} ${E}${j.minimum.toString()} ${q.unit}`;return`${q?.shortLabel??"קטן"} מדי: ${C} ${B} ${E}${j.minimum.toString()}`}case"invalid_format":{let q=j;if(q.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${q.prefix}"`;if(q.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${q.suffix}"`;if(q.format==="includes")return`המחרוזת חייבת לכלול "${q.includes}"`;if(q.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${q.pattern}`;let C=L[q.format],E=C?.label??q.format,N=(C?.gender??"m")==="f"?"תקינה":"תקין";return`${E} לא ${N}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${j.divisor}`;case"unrecognized_keys":return`מפתח${j.keys.length>1?"ות":""} לא מזוה${j.keys.length>1?"ים":"ה"}: ${g0(j.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${X(j.origin??"array")}`;default:return"קלט לא תקין"}}};function Z5(){return{localeError:Tb()}}var Pb=()=>{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 Y={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"},D={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=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin),L=D[X.origin]??X.origin;if(Z)return`Preveliko: očekivano da ${L??"vrijednost"} ima ${z}${X.maximum.toString()} ${Z.unit??"elemenata"}`;return`Preveliko: očekivano da ${L??"vrijednost"} bude ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin),L=D[X.origin]??X.origin;if(Z)return`Premalo: očekivano da ${L} ima ${z}${X.minimum.toString()} ${Z.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 ${Y[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č"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${D[X.origin]??X.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${D[X.origin]??X.origin}`;default:return"Neispravan unos"}}};function V5(){return{localeError:Pb()}}var _b=()=>{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 Y={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"},D={nan:"NaN",number:"szám",array:"tömb"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Túl nagy: ${X.origin??"érték"} mérete túl nagy ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Túl kicsi: a bemeneti érték ${X.origin} mérete túl kicsi ${z}${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(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 z5(){return{localeError:_b()}}function IR(I,J,Y){return Math.abs(I)===1?J:Y}function hQ(I){if(!I)return"";let J=["ա","ե","ը","ի","ո","ու","օ"],Y=I[I.length-1];return I+(J.includes(Y)?"ն":"ը")}var Eb=()=>{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 Y={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:"մուտք"},D={nan:"NaN",number:"թիվ",array:"զանգված"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),R=IR(L,Z.unit.one,Z.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${hQ(X.origin??"արժեք")} կունենա ${z}${X.maximum.toString()} ${R}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${hQ(X.origin??"արժեք")} լինի ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),R=IR(L,Z.unit.one,Z.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${hQ(X.origin)} կունենա ${z}${X.minimum.toString()} ${R}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${hQ(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`Սխալ ${Y[z.format]??X.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${X.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${X.keys.length>1?"ներ":""}. ${g0(X.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${hQ(X.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${hQ(X.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function D5(){return{localeError:Eb()}}var jb=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: diharapkan ${X.origin??"value"} memiliki ${z}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: diharapkan ${X.origin??"value"} menjadi ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: diharapkan ${X.origin} memiliki ${z}${X.minimum.toString()} ${Z.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`${Y[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":""}: ${g0(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 W5(){return{localeError:jb()}}var qb=()=>{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 Y={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"},D={nan:"NaN",number:"númer",array:"fylki"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} hafi ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Of lítið: gert er ráð fyrir að ${X.origin} hafi ${z}${X.minimum.toString()} ${Z.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 ${Y[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"}: ${g0(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 K5(){return{localeError:qb()}}var Sb=()=>{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 Y={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"},D={nan:"NaN",number:"numero",array:"vettore"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Troppo grande: ${X.origin??"valore"} deve avere ${z}${X.maximum.toString()} ${Z.unit??"elementi"}`;return`Troppo grande: ${X.origin??"valore"} deve essere ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Troppo piccolo: ${X.origin} deve avere ${z}${X.minimum.toString()} ${Z.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: ${Y[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"}: ${g0(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 F5(){return{localeError:Sb()}}var Rb=()=>{let I={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function J(X){return I[X]??null}let Y={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:"入力値"},D={nan:"NaN",number:"数値",array:"配列"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`無効な選択: ${g0(X.values,"、")}のいずれかである必要があります`;case"too_big":{let z=X.inclusive?"以下である":"より小さい",Z=J(X.origin);if(Z)return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${Z.unit??"要素"}${z}必要があります`;return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${z}必要があります`}case"too_small":{let z=X.inclusive?"以上である":"より大きい",Z=J(X.origin);if(Z)return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${Z.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`無効な${Y[z.format]??X.format}`}case"not_multiple_of":return`無効な数値: ${X.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${X.keys.length>1?"群":""}: ${g0(X.keys,"、")}`;case"invalid_key":return`${X.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${X.origin}内の無効な値`;default:return"無効な入力"}}};function O5(){return{localeError:Rb()}}var Bb=()=>{let I={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function J(X){return I[X]??null}let Y={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:"შეყვანა"},D={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${g0(X.values,"|")}-დან`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} ${Z.verb} ${z}${X.maximum.toString()} ${Z.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} იყოს ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} ${Z.verb} ${z}${X.minimum.toString()} ${Z.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`არასწორი ${Y[z.format]??X.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${X.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${X.keys.length>1?"ები":"ი"}: ${g0(X.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${X.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${X.origin}-ში`;default:return"არასწორი შეყვანა"}}};function H5(){return{localeError:Bb()}}var vb=()=>{let I={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function J(X){return I[X]??null}let Y={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:"ទិន្នន័យបញ្ចូល"},D={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${z} ${X.maximum.toString()} ${Z.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`តូចពេក៖ ត្រូវការ ${X.origin} ${z} ${X.minimum.toString()} ${Z.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`មិនត្រឹមត្រូវ៖ ${Y[z.format]??X.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${X.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${g0(X.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function P2(){return{localeError:vb()}}function L5(){return P2()}var Nb=()=>{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 Y={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:"입력"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`잘못된 옵션: ${g0(X.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let z=X.inclusive?"이하":"미만",Z=z==="미만"?"이어야 합니다":"여야 합니다",L=J(X.origin),R=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()}${R} ${z}${Z}`;return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()} ${z}${Z}`}case"too_small":{let z=X.inclusive?"이상":"초과",Z=z==="이상"?"이어야 합니다":"여야 합니다",L=J(X.origin),R=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()}${R} ${z}${Z}`;return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()} ${z}${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`잘못된 ${Y[z.format]??X.format}`}case"not_multiple_of":return`잘못된 숫자: ${X.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${g0(X.keys,", ")}`;case"invalid_key":return`잘못된 키: ${X.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${X.origin}`;default:return"잘못된 입력"}}};function M5(){return{localeError:Nb()}}var _2=(I)=>{return I.charAt(0).toUpperCase()+I.slice(1)};function XR(I){let J=Math.abs(I),Y=J%10,D=J%100;if(D>=11&&D<=19||Y===0)return"many";if(Y===1)return"one";return"few"}var kb=()=>{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,Z,L){let R=I[X]??null;if(R===null)return R;return{unit:R.unit[z],verb:R.verb[L][Z?"inclusive":"notInclusive"]}}let Y={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"},D={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=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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š ${g0(X.values,"|")} pasirinkimų`;case"too_big":{let z=D[X.origin]??X.origin,Z=J(X.origin,XR(Number(X.maximum)),X.inclusive??!1,"smaller");if(Z?.verb)return`${_2(z??X.origin??"reikšmė")} ${Z.verb} ${X.maximum.toString()} ${Z.unit??"elementų"}`;let L=X.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${_2(z??X.origin??"reikšmė")} turi būti ${L} ${X.maximum.toString()} ${Z?.unit}`}case"too_small":{let z=D[X.origin]??X.origin,Z=J(X.origin,XR(Number(X.minimum)),X.inclusive??!1,"bigger");if(Z?.verb)return`${_2(z??X.origin??"reikšmė")} ${Z.verb} ${X.minimum.toString()} ${Z.unit??"elementų"}`;let L=X.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${_2(z??X.origin??"reikšmė")} turi būti ${L} ${X.minimum.toString()} ${Z?.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 ${Y[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"}: ${g0(X.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let z=D[X.origin]??X.origin;return`${_2(z??X.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function A5(){return{localeError:kb()}}var xb=()=>{let I={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function J(X){return I[X]??null}let Y={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:"внес"},D={nan:"NaN",number:"број",array:"низа"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Грешана опција: се очекува една ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Премногу голем: се очекува ${X.origin??"вредноста"} да има ${z}${X.maximum.toString()} ${Z.unit??"елементи"}`;return`Премногу голем: се очекува ${X.origin??"вредноста"} да биде ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Премногу мал: се очекува ${X.origin} да има ${z}${X.minimum.toString()} ${Z.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 ${Y[z.format]??X.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${g0(X.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${X.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${X.origin}`;default:return"Грешен внес"}}};function C5(){return{localeError:xb()}}var gb=()=>{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 Y={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"},D={nan:"NaN",number:"nombor"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: dijangka ${X.origin??"nilai"} ${Z.verb} ${z}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: dijangka ${X.origin??"nilai"} adalah ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: dijangka ${X.origin} ${Z.verb} ${z}${X.minimum.toString()} ${Z.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`${Y[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: ${g0(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 T5(){return{localeError:gb()}}var wb=()=>{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 Y={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"},D={nan:"NaN",number:"getal"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin),L=X.origin==="date"?"laat":X.origin==="string"?"lang":"groot";if(Z)return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${z}${X.maximum.toString()} ${Z.unit??"elementen"} ${Z.verb}`;return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${z}${X.maximum.toString()} is`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin),L=X.origin==="date"?"vroeg":X.origin==="string"?"kort":"klein";if(Z)return`Te ${L}: verwacht dat ${X.origin} ${z}${X.minimum.toString()} ${Z.unit} ${Z.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: ${Y[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":""}: ${g0(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 P5(){return{localeError:wb()}}var fb=()=>{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 Y={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"},D={nan:"NaN",number:"tall",array:"liste"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`For stor(t): forventet ${X.origin??"value"} til å ha ${z}${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor(t): forventet ${X.origin??"value"} til å ha ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`For lite(n): forventet ${X.origin} til å ha ${z}${X.minimum.toString()} ${Z.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 ${Y[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"}: ${g0(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 _5(){return{localeError:fb()}}var yb=()=>{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 Y={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"},D={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Fazla büyük: ${X.origin??"value"}, ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Fazla küçük: ${X.origin}, ${z}${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(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 E5(){return{localeError:yb()}}var ub=()=>{let I={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function J(X){return I[X]??null}let Y={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:"ورودي"},D={nan:"NaN",number:"عدد",array:"ارې"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`ناسم انتخاب: باید یو له ${g0(X.values,"|")} څخه وای`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ډیر لوی: ${X.origin??"ارزښت"} باید ${z}${X.maximum.toString()} ${Z.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${X.origin??"ارزښت"} باید ${z}${X.maximum.toString()} وي`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ډیر کوچنی: ${X.origin} باید ${z}${X.minimum.toString()} ${Z.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`${Y[z.format]??X.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${X.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${X.keys.length>1?"کلیډونه":"کلیډ"}: ${g0(X.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${X.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${X.origin} کې`;default:return"ناسمه ورودي"}}};function j5(){return{localeError:ub()}}var bb=()=>{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 Y={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"},D={nan:"NaN",number:"liczba",array:"tablica"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Za duża wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Za mała wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${z}${X.minimum.toString()} ${Z.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) ${Y[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":""}: ${g0(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 q5(){return{localeError:bb()}}var hb=()=>{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 Y={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"},D={nan:"NaN",number:"número",null:"nulo"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Muito grande: esperado que ${X.origin??"valor"} tivesse ${z}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Muito grande: esperado que ${X.origin??"valor"} fosse ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Muito pequeno: esperado que ${X.origin} tivesse ${z}${X.minimum.toString()} ${Z.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`${Y[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":""}: ${g0(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 S5(){return{localeError:hb()}}var cb=()=>{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 Y={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"},D={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=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Prea mare: așteptat ca ${X.origin??"valoarea"} ${Z.verb} ${z}${X.maximum.toString()} ${Z.unit??"elemente"}`;return`Prea mare: așteptat ca ${X.origin??"valoarea"} să fie ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Prea mic: așteptat ca ${X.origin} ${Z.verb} ${z}${X.minimum.toString()} ${Z.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: ${Y[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: ${g0(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 R5(){return{localeError:cb()}}function JR(I,J,Y,D){let X=Math.abs(I),z=X%10,Z=X%100;if(Z>=11&&Z<=19)return D;if(z===1)return J;if(z>=2&&z<=4)return Y;return D}var pb=()=>{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 Y={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:"ввод"},D={nan:"NaN",number:"число",array:"массив"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Неверный вариант: ожидалось одно из ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),R=JR(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет иметь ${z}${X.maximum.toString()} ${R}`}return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),R=JR(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком маленькое значение: ожидалось, что ${X.origin} будет иметь ${z}${X.minimum.toString()} ${R}`}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`Неверный ${Y[z.format]??X.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспознанн${X.keys.length>1?"ые":"ый"} ключ${X.keys.length>1?"и":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${X.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${X.origin}`;default:return"Неверные входные данные"}}};function B5(){return{localeError:pb()}}var lb=()=>{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 Y={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"},D={nan:"NaN",number:"število",array:"tabela"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} imelo ${z}${X.maximum.toString()} ${Z.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Premajhno: pričakovano, da bo ${X.origin} imelo ${z}${X.minimum.toString()} ${Z.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 ${Y[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č"}: ${g0(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 v5(){return{localeError:lb()}}var mb=()=>{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 Y={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"},D={nan:"NaN",number:"antal",array:"lista"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`För stor(t): förväntade ${X.origin??"värdet"} att ha ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${z}${X.minimum.toString()} ${Z.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) ${Y[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"}: ${g0(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 N5(){return{localeError:mb()}}var db=()=>{let I={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function J(X){return I[X]??null}let Y={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"},D={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${g0(X.values,"|")} இல் ஒன்று`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${z}${X.maximum.toString()} ${Z.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${z}${X.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${z}${X.minimum.toString()} ${Z.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`தவறான ${Y[z.format]??X.format}`}case"not_multiple_of":return`தவறான எண்: ${X.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${X.keys.length>1?"கள்":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${X.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function k5(){return{localeError:db()}}var nb=()=>{let I={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function J(X){return I[X]??null}let Y={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:"ข้อมูลที่ป้อน"},D={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"ไม่เกิน":"น้อยกว่า",Z=J(X.origin);if(Z)return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${z} ${X.maximum.toString()} ${Z.unit??"รายการ"}`;return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${z} ${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?"อย่างน้อย":"มากกว่า",Z=J(X.origin);if(Z)return`น้อยกว่ากำหนด: ${X.origin} ควรมี${z} ${X.minimum.toString()} ${Z.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`รูปแบบไม่ถูกต้อง: ${Y[z.format]??X.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${X.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${g0(X.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${X.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${X.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function x5(){return{localeError:nb()}}var ob=()=>{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 Y={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"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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ı: ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çok büyük: beklenen ${X.origin??"değer"} ${z}${X.maximum.toString()} ${Z.unit??"öğe"}`;return`Çok büyük: beklenen ${X.origin??"değer"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çok küçük: beklenen ${X.origin} ${z}${X.minimum.toString()} ${Z.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 ${Y[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":""}: ${g0(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 g5(){return{localeError:ob()}}var ib=()=>{let I={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function J(X){return I[X]??null}let Y={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:"вхідні дані"},D={nan:"NaN",number:"число",array:"масив"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`Неправильна опція: очікується одне з ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Занадто велике: очікується, що ${X.origin??"значення"} ${Z.verb} ${z}${X.maximum.toString()} ${Z.unit??"елементів"}`;return`Занадто велике: очікується, що ${X.origin??"значення"} буде ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Занадто мале: очікується, що ${X.origin} ${Z.verb} ${z}${X.minimum.toString()} ${Z.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`Неправильний ${Y[z.format]??X.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${X.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${X.keys.length>1?"і":""}: ${g0(X.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${X.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${X.origin}`;default:return"Неправильні вхідні дані"}}};function E2(){return{localeError:ib()}}function w5(){return E2()}var rb=()=>{let I={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function J(X){return I[X]??null}let Y={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:"ان پٹ"},D={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`غلط آپشن: ${g0(X.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`بہت بڑا: ${X.origin??"ویلیو"} کے ${z}${X.maximum.toString()} ${Z.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${X.origin??"ویلیو"} کا ${z}${X.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`بہت چھوٹا: ${X.origin} کے ${z}${X.minimum.toString()} ${Z.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`غلط ${Y[z.format]??X.format}`}case"not_multiple_of":return`غلط نمبر: ${X.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${X.keys.length>1?"ز":""}: ${g0(X.keys,"، ")}`;case"invalid_key":return`${X.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${X.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function f5(){return{localeError:rb()}}var tb=()=>{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 Y={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"},D={nan:"NaN",number:"raqam",array:"massiv"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Juda katta: kutilgan ${X.origin??"qiymat"} ${z}${X.maximum.toString()} ${Z.unit} ${Z.verb}`;return`Juda katta: kutilgan ${X.origin??"qiymat"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Juda kichik: kutilgan ${X.origin} ${z}${X.minimum.toString()} ${Z.unit} ${Z.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 ${Y[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":""}: ${g0(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 y5(){return{localeError:tb()}}var ab=()=>{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 Y={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"},D={nan:"NaN",number:"số",array:"mảng"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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ị ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${Z.verb} ${z}${X.maximum.toString()} ${Z.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?">=":">",Z=J(X.origin);if(Z)return`Quá nhỏ: mong đợi ${X.origin} ${Z.verb} ${z}${X.minimum.toString()} ${Z.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`${Y[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: ${g0(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 u5(){return{localeError:ab()}}var sb=()=>{let I={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function J(X){return I[X]??null}let Y={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:"输入"},D={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`无效选项:期望以下之一 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`数值过大:期望 ${X.origin??"值"} ${z}${X.maximum.toString()} ${Z.unit??"个元素"}`;return`数值过大:期望 ${X.origin??"值"} ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`数值过小:期望 ${X.origin} ${z}${X.minimum.toString()} ${Z.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`无效${Y[z.format]??X.format}`}case"not_multiple_of":return`无效数字:必须是 ${X.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${g0(X.keys,", ")}`;case"invalid_key":return`${X.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${X.origin} 中包含无效值(value)`;default:return"无效输入"}}};function b5(){return{localeError:sb()}}var eb=()=>{let I={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function J(X){return I[X]??null}let Y={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:"輸入"},D={nan:"NaN"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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`無效的選項:預期為以下其中之一 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`數值過大:預期 ${X.origin??"值"} 應為 ${z}${X.maximum.toString()} ${Z.unit??"個元素"}`;return`數值過大:預期 ${X.origin??"值"} 應為 ${z}${X.maximum.toString()}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`數值過小:預期 ${X.origin} 應為 ${z}${X.minimum.toString()} ${Z.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`無效的 ${Y[z.format]??X.format}`}case"not_multiple_of":return`無效的數字:必須為 ${X.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${X.keys.length>1?"們":""}:${g0(X.keys,"、")}`;case"invalid_key":return`${X.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${X.origin} 中有無效的值`;default:return"無效的輸入值"}}};function h5(){return{localeError:eb()}}var $h=()=>{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 Y={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é"},D={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(X)=>{switch(X.code){case"invalid_type":{let z=D[X.expected]??X.expected,Z=Q$(X.input),L=D[Z]??Z;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 ${g0(X.values,"|")}`;case"too_big":{let z=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${X.origin??"iye"} ${Z.verb} ${z}${X.maximum} ${Z.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${z}${X.maximum}`}case"too_small":{let z=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Kéré ju: a ní láti jẹ́ pé ${X.origin} ${Z.verb} ${z}${X.minimum} ${Z.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: ${Y[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ọ̀: ${g0(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 c5(){return{localeError:$h()}}var QR,p5=Symbol("ZodOutput"),l5=Symbol("ZodInput");class m5{constructor(){this._map=new WeakMap,this._idmap=new Map}add(I,...J){let Y=J[0];if(this._map.set(I,Y),Y&&typeof Y==="object"&&"id"in Y)this._idmap.set(Y.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 Y={...this.get(J)??{}};delete Y.id;let D={...Y,...this._map.get(I)};return Object.keys(D).length?D:void 0}return this._map.get(I)}has(I){return this._map.has(I)}}function nz(){return new m5}(QR=globalThis).__zod_globalRegistry??(QR.__zod_globalRegistry=nz());var A6=globalThis.__zod_globalRegistry;function d5(I,J){return new I({type:"string",...Z$(J)})}function n5(I,J){return new I({type:"string",coerce:!0,...Z$(J)})}function oz(I,J){return new I({type:"string",format:"email",check:"string_format",abort:!1,...Z$(J)})}function q2(I,J){return new I({type:"string",format:"guid",check:"string_format",abort:!1,...Z$(J)})}function iz(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,...Z$(J)})}function rz(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Z$(J)})}function tz(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Z$(J)})}function az(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Z$(J)})}function S2(I,J){return new I({type:"string",format:"url",check:"string_format",abort:!1,...Z$(J)})}function sz(I,J){return new I({type:"string",format:"emoji",check:"string_format",abort:!1,...Z$(J)})}function ez(I,J){return new I({type:"string",format:"nanoid",check:"string_format",abort:!1,...Z$(J)})}function $8(I,J){return new I({type:"string",format:"cuid",check:"string_format",abort:!1,...Z$(J)})}function U8(I,J){return new I({type:"string",format:"cuid2",check:"string_format",abort:!1,...Z$(J)})}function I8(I,J){return new I({type:"string",format:"ulid",check:"string_format",abort:!1,...Z$(J)})}function X8(I,J){return new I({type:"string",format:"xid",check:"string_format",abort:!1,...Z$(J)})}function J8(I,J){return new I({type:"string",format:"ksuid",check:"string_format",abort:!1,...Z$(J)})}function Q8(I,J){return new I({type:"string",format:"ipv4",check:"string_format",abort:!1,...Z$(J)})}function Y8(I,J){return new I({type:"string",format:"ipv6",check:"string_format",abort:!1,...Z$(J)})}function o5(I,J){return new I({type:"string",format:"mac",check:"string_format",abort:!1,...Z$(J)})}function G8(I,J){return new I({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Z$(J)})}function Z8(I,J){return new I({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Z$(J)})}function V8(I,J){return new I({type:"string",format:"base64",check:"string_format",abort:!1,...Z$(J)})}function z8(I,J){return new I({type:"string",format:"base64url",check:"string_format",abort:!1,...Z$(J)})}function D8(I,J){return new I({type:"string",format:"e164",check:"string_format",abort:!1,...Z$(J)})}function W8(I,J){return new I({type:"string",format:"jwt",check:"string_format",abort:!1,...Z$(J)})}var i5={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function r5(I,J){return new I({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Z$(J)})}function t5(I,J){return new I({type:"string",format:"date",check:"string_format",...Z$(J)})}function a5(I,J){return new I({type:"string",format:"time",check:"string_format",precision:null,...Z$(J)})}function s5(I,J){return new I({type:"string",format:"duration",check:"string_format",...Z$(J)})}function e5(I,J){return new I({type:"number",checks:[],...Z$(J)})}function $L(I,J){return new I({type:"number",coerce:!0,checks:[],...Z$(J)})}function UL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"safeint",...Z$(J)})}function IL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float32",...Z$(J)})}function XL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float64",...Z$(J)})}function JL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"int32",...Z$(J)})}function QL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"uint32",...Z$(J)})}function YL(I,J){return new I({type:"boolean",...Z$(J)})}function GL(I,J){return new I({type:"boolean",coerce:!0,...Z$(J)})}function ZL(I,J){return new I({type:"bigint",...Z$(J)})}function VL(I,J){return new I({type:"bigint",coerce:!0,...Z$(J)})}function zL(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Z$(J)})}function DL(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Z$(J)})}function WL(I,J){return new I({type:"symbol",...Z$(J)})}function KL(I,J){return new I({type:"undefined",...Z$(J)})}function FL(I,J){return new I({type:"null",...Z$(J)})}function OL(I){return new I({type:"any"})}function HL(I){return new I({type:"unknown"})}function LL(I,J){return new I({type:"never",...Z$(J)})}function ML(I,J){return new I({type:"void",...Z$(J)})}function AL(I,J){return new I({type:"date",...Z$(J)})}function CL(I,J){return new I({type:"date",coerce:!0,...Z$(J)})}function TL(I,J){return new I({type:"nan",...Z$(J)})}function N1(I,J){return new gz({check:"less_than",...Z$(J),value:I,inclusive:!1})}function A4(I,J){return new gz({check:"less_than",...Z$(J),value:I,inclusive:!0})}function k1(I,J){return new wz({check:"greater_than",...Z$(J),value:I,inclusive:!1})}function b6(I,J){return new wz({check:"greater_than",...Z$(J),value:I,inclusive:!0})}function K8(I){return k1(0,I)}function F8(I){return N1(0,I)}function O8(I){return A4(0,I)}function H8(I){return b6(0,I)}function ZX(I,J){return new MO({check:"multiple_of",...Z$(J),value:I})}function VX(I,J){return new TO({check:"max_size",...Z$(J),maximum:I})}function x1(I,J){return new PO({check:"min_size",...Z$(J),minimum:I})}function zJ(I,J){return new _O({check:"size_equals",...Z$(J),size:I})}function DJ(I,J){return new EO({check:"max_length",...Z$(J),maximum:I})}function WI(I,J){return new jO({check:"min_length",...Z$(J),minimum:I})}function WJ(I,J){return new qO({check:"length_equals",...Z$(J),length:I})}function cQ(I,J){return new SO({check:"string_format",format:"regex",...Z$(J),pattern:I})}function pQ(I){return new RO({check:"string_format",format:"lowercase",...Z$(I)})}function lQ(I){return new BO({check:"string_format",format:"uppercase",...Z$(I)})}function mQ(I,J){return new vO({check:"string_format",format:"includes",...Z$(J),includes:I})}function dQ(I,J){return new NO({check:"string_format",format:"starts_with",...Z$(J),prefix:I})}function nQ(I,J){return new kO({check:"string_format",format:"ends_with",...Z$(J),suffix:I})}function L8(I,J,Y){return new xO({check:"property",property:I,schema:J,...Z$(Y)})}function oQ(I,J){return new gO({check:"mime_type",mime:I,...Z$(J)})}function a4(I){return new wO({check:"overwrite",tx:I})}function iQ(I){return a4((J)=>J.normalize(I))}function rQ(){return a4((I)=>I.trim())}function tQ(){return a4((I)=>I.toLowerCase())}function aQ(){return a4((I)=>I.toUpperCase())}function sQ(){return a4((I)=>NF(I))}function PL(I,J,Y){return new I({type:"array",element:J,...Z$(Y)})}function Ih(I,J,Y){return new I({type:"union",options:J,...Z$(Y)})}function Xh(I,J,Y){return new I({type:"union",options:J,inclusive:!1,...Z$(Y)})}function Jh(I,J,Y,D){return new I({type:"union",options:Y,discriminator:J,...Z$(D)})}function Qh(I,J,Y){return new I({type:"intersection",left:J,right:Y})}function Yh(I,J,Y,D){let X=Y instanceof j$;return new I({type:"tuple",items:J,rest:X?Y:null,...Z$(X?D:Y)})}function Gh(I,J,Y,D){return new I({type:"record",keyType:J,valueType:Y,...Z$(D)})}function Zh(I,J,Y,D){return new I({type:"map",keyType:J,valueType:Y,...Z$(D)})}function Vh(I,J,Y){return new I({type:"set",valueType:J,...Z$(Y)})}function zh(I,J,Y){let D=Array.isArray(J)?Object.fromEntries(J.map((X)=>[X,X])):J;return new I({type:"enum",entries:D,...Z$(Y)})}function Dh(I,J,Y){return new I({type:"enum",entries:J,...Z$(Y)})}function Wh(I,J,Y){return new I({type:"literal",values:Array.isArray(J)?J:[J],...Z$(Y)})}function _L(I,J){return new I({type:"file",...Z$(J)})}function Kh(I,J){return new I({type:"transform",transform:J})}function Fh(I,J){return new I({type:"optional",innerType:J})}function Oh(I,J){return new I({type:"nullable",innerType:J})}function Hh(I,J,Y){return new I({type:"default",innerType:J,get defaultValue(){return typeof Y==="function"?Y():xF(Y)}})}function Lh(I,J,Y){return new I({type:"nonoptional",innerType:J,...Z$(Y)})}function Mh(I,J){return new I({type:"success",innerType:J})}function Ah(I,J,Y){return new I({type:"catch",innerType:J,catchValue:typeof Y==="function"?Y:()=>Y})}function Ch(I,J,Y){return new I({type:"pipe",in:J,out:Y})}function Th(I,J){return new I({type:"readonly",innerType:J})}function Ph(I,J,Y){return new I({type:"template_literal",parts:J,...Z$(Y)})}function _h(I,J){return new I({type:"lazy",getter:J})}function Eh(I,J){return new I({type:"promise",innerType:J})}function EL(I,J,Y){let D=Z$(Y);return D.abort??(D.abort=!0),new I({type:"custom",check:"custom",fn:J,...D})}function jL(I,J,Y){return new I({type:"custom",check:"custom",fn:J,...Z$(Y)})}function qL(I,J){let Y=YR((D)=>{return D.addIssue=(X)=>{if(typeof X==="string")D.issues.push(gQ(X,D.value,Y._zod.def));else{let z=X;if(z.fatal)z.continue=!1;z.code??(z.code="custom"),z.input??(z.input=D.value),z.inst??(z.inst=Y),z.continue??(z.continue=!Y._zod.def.abort),D.issues.push(gQ(z))}},I(D.value,D)},J);return Y}function YR(I,J){let Y=new OU({check:"custom",...Z$(J)});return Y._zod.check=I,Y}function SL(I){let J=new OU({check:"describe"});return J._zod.onattach=[(Y)=>{let D=A6.get(Y)??{};A6.add(Y,{...D,description:I})}],J._zod.check=()=>{},J}function RL(I){let J=new OU({check:"meta"});return J._zod.onattach=[(Y)=>{let D=A6.get(Y)??{};A6.add(Y,{...D,...I})}],J._zod.check=()=>{},J}function BL(I,J){let Y=Z$(J),D=Y.truthy??["true","1","yes","on","y","enabled"],X=Y.falsy??["false","0","no","off","n","disabled"];if(Y.case!=="sensitive")D=D.map((B)=>typeof B==="string"?B.toLowerCase():B),X=X.map((B)=>typeof B==="string"?B.toLowerCase():B);let z=new Set(D),Z=new Set(X),L=I.Codec??C2,R=I.Boolean??M2,q=new(I.String??VJ)({type:"string",error:Y.error}),C=new R({type:"boolean",error:Y.error}),E=new L({type:"pipe",in:q,out:C,transform:(B,N)=>{let y=B;if(Y.case!=="sensitive")y=y.toLowerCase();if(z.has(y))return!0;else if(Z.has(y))return!1;else return N.issues.push({code:"invalid_value",expected:"stringbool",values:[...z,...Z],input:N.value,inst:E,continue:!1}),{}},reverseTransform:(B,N)=>{if(B===!0)return D[0]||"true";else return X[0]||"false"},error:Y.error});return E}function eQ(I,J,Y,D={}){let X=Z$(D),z={...Z$(D),check:"string_format",type:"string",format:J,fn:typeof Y==="function"?Y:(L)=>Y.test(L),...X};if(Y instanceof RegExp)z.pattern=Y;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,Y={path:[],schemaPath:[]}){var D;let X=I._zod.def,z=J.seen.get(I);if(z){if(z.count++,Y.schemaPath.includes(I))z.cycle=Y.path;return z.schema}let Z={schema:{},count:1,cycle:void 0,path:Y.path};J.seen.set(I,Z);let L=I._zod.toJSONSchema?.();if(L)Z.schema=L;else{let q={...Y,schemaPath:[...Y.schemaPath,I],path:Y.path};if(I._zod.processJSONSchema)I._zod.processJSONSchema(J,Z.schema,q);else{let E=Z.schema,B=J.processors[X.type];if(!B)throw Error(`[toJSONSchema]: Non-representable type encountered: ${X.type}`);B(I,J,E,q)}let C=I._zod.parent;if(C){if(!Z.ref)Z.ref=C;JU(C,J,q),J.seen.get(C).isParent=!0}}let R=J.metadataRegistry.get(I);if(R)Object.assign(Z.schema,R);if(J.io==="input"&&h6(I))delete Z.schema.examples,delete Z.schema.default;if(J.io==="input"&&"_prefault"in Z.schema)(D=Z.schema).default??(D.default=Z.schema._prefault);return delete Z.schema._prefault,J.seen.get(I).schema}function DX(I,J){let Y=I.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let D=new Map;for(let Z of I.seen.entries()){let L=I.metadataRegistry.get(Z[0])?.id;if(L){let R=D.get(L);if(R&&R!==Z[0])throw Error(`Duplicate schema id "${L}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);D.set(L,Z[0])}}let X=(Z)=>{let L=I.target==="draft-2020-12"?"$defs":"definitions";if(I.external){let C=I.external.registry.get(Z[0])?.id,E=I.external.uri??((N)=>N);if(C)return{ref:E(C)};let B=Z[1].defId??Z[1].schema.id??`schema${I.counter++}`;return Z[1].defId=B,{defId:B,ref:`${E("__shared")}#/${L}/${B}`}}if(Z[1]===Y)return{ref:"#"};let j=`${"#"}/${L}/`,q=Z[1].schema.id??`__schema${I.counter++}`;return{defId:q,ref:j+q}},z=(Z)=>{if(Z[1].schema.$ref)return;let L=Z[1],{ref:R,defId:j}=X(Z);if(L.def={...L.schema},j)L.defId=j;let q=L.schema;for(let C in q)delete q[C];q.$ref=R};if(I.cycles==="throw")for(let Z of I.seen.entries()){let L=Z[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 Z of I.seen.entries()){let L=Z[1];if(J===Z[0]){z(Z);continue}if(I.external){let j=I.external.registry.get(Z[0])?.id;if(J!==Z[0]&&j){z(Z);continue}}if(I.metadataRegistry.get(Z[0])?.id){z(Z);continue}if(L.cycle){z(Z);continue}if(L.count>1){if(I.reused==="ref"){z(Z);continue}}}}function WX(I,J){let Y=I.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let D=(L)=>{let R=I.seen.get(L);if(R.ref===null)return;let j=R.def??R.schema,q={...j},C=R.ref;if(R.ref=null,C){D(C);let B=I.seen.get(C),N=B.schema;if(N.$ref&&(I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"))j.allOf=j.allOf??[],j.allOf.push(N);else Object.assign(j,N);if(Object.assign(j,q),L._zod.parent===C)for(let w in j){if(w==="$ref"||w==="allOf")continue;if(!(w in q))delete j[w]}if(N.$ref&&B.def)for(let w in j){if(w==="$ref"||w==="allOf")continue;if(w in B.def&&JSON.stringify(j[w])===JSON.stringify(B.def[w]))delete j[w]}}let E=L._zod.parent;if(E&&E!==C){D(E);let B=I.seen.get(E);if(B?.schema.$ref){if(j.$ref=B.schema.$ref,B.def)for(let N in j){if(N==="$ref"||N==="allOf")continue;if(N in B.def&&JSON.stringify(j[N])===JSON.stringify(B.def[N]))delete j[N]}}}I.override({zodSchema:L,jsonSchema:j,path:R.path??[]})};for(let L of[...I.seen.entries()].reverse())D(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,Y.def??Y.schema);let z=I.metadataRegistry.get(J)?.id;if(z!==void 0&&X.id===z)delete X.id;let Z=I.external?.defs??{};for(let L of I.seen.entries()){let R=L[1];if(R.def&&R.defId){if(R.def.id===R.defId)delete R.def.id;Z[R.defId]=R.def}}if(I.external);else if(Object.keys(Z).length>0)if(I.target==="draft-2020-12")X.$defs=Z;else X.definitions=Z;try{let L=JSON.parse(JSON.stringify(X));return Object.defineProperty(L,"~standard",{value:{...J["~standard"],jsonSchema:{input:$Y(J,"input",I.processors),output:$Y(J,"output",I.processors)}},enumerable:!1,writable:!1}),L}catch(L){throw Error("Error converting schema to JSON.")}}function h6(I,J){let Y=J??{seen:new Set};if(Y.seen.has(I))return!1;Y.seen.add(I);let D=I._zod.def;if(D.type==="transform")return!0;if(D.type==="array")return h6(D.element,Y);if(D.type==="set")return h6(D.valueType,Y);if(D.type==="lazy")return h6(D.getter(),Y);if(D.type==="promise"||D.type==="optional"||D.type==="nonoptional"||D.type==="nullable"||D.type==="readonly"||D.type==="default"||D.type==="prefault")return h6(D.innerType,Y);if(D.type==="intersection")return h6(D.left,Y)||h6(D.right,Y);if(D.type==="record"||D.type==="map")return h6(D.keyType,Y)||h6(D.valueType,Y);if(D.type==="pipe"){if(I._zod.traits.has("$ZodCodec"))return!0;return h6(D.in,Y)||h6(D.out,Y)}if(D.type==="object"){for(let X in D.shape)if(h6(D.shape[X],Y))return!0;return!1}if(D.type==="union"){for(let X of D.options)if(h6(X,Y))return!0;return!1}if(D.type==="tuple"){for(let X of D.items)if(h6(X,Y))return!0;if(D.rest&&h6(D.rest,Y))return!0;return!1}return!1}var vL=(I,J={})=>(Y)=>{let D=zX({...Y,processors:J});return JU(I,D),DX(D,I),WX(D,I)},$Y=(I,J,Y={})=>(D)=>{let{libraryOptions:X,target:z}=D??{},Z=zX({...X??{},target:z,io:J,processors:Y});return JU(I,Z),DX(Z,I),WX(Z,I)};var jh={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},NL=(I,J,Y,D)=>{let X=Y;X.type="string";let{minimum:z,maximum:Z,format:L,patterns:R,contentEncoding:j}=I._zod.bag;if(typeof z==="number")X.minLength=z;if(typeof Z==="number")X.maxLength=Z;if(L){if(X.format=jh[L]??L,X.format==="")delete X.format;if(L==="time")delete X.format}if(j)X.contentEncoding=j;if(R&&R.size>0){let q=[...R];if(q.length===1)X.pattern=q[0].source;else if(q.length>1)X.allOf=[...q.map((C)=>({...J.target==="draft-07"||J.target==="draft-04"||J.target==="openapi-3.0"?{type:"string"}:{},pattern:C.source}))]}},kL=(I,J,Y,D)=>{let X=Y,{minimum:z,maximum:Z,format:L,multipleOf:R,exclusiveMaximum:j,exclusiveMinimum:q}=I._zod.bag;if(typeof L==="string"&&L.includes("int"))X.type="integer";else X.type="number";let C=typeof q==="number"&&q>=(z??Number.NEGATIVE_INFINITY),E=typeof j==="number"&&j<=(Z??Number.POSITIVE_INFINITY),B=J.target==="draft-04"||J.target==="openapi-3.0";if(C)if(B)X.minimum=q,X.exclusiveMinimum=!0;else X.exclusiveMinimum=q;else if(typeof z==="number")X.minimum=z;if(E)if(B)X.maximum=j,X.exclusiveMaximum=!0;else X.exclusiveMaximum=j;else if(typeof Z==="number")X.maximum=Z;if(typeof R==="number")X.multipleOf=R},xL=(I,J,Y,D)=>{Y.type="boolean"},gL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},wL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},fL=(I,J,Y,D)=>{if(J.target==="openapi-3.0")Y.type="string",Y.nullable=!0,Y.enum=[null];else Y.type="null"},yL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},uL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},bL=(I,J,Y,D)=>{Y.not={}},hL=(I,J,Y,D)=>{},cL=(I,J,Y,D)=>{},pL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},lL=(I,J,Y,D)=>{let X=I._zod.def,z=G2(X.entries);if(z.every((Z)=>typeof Z==="number"))Y.type="number";if(z.every((Z)=>typeof Z==="string"))Y.type="string";Y.enum=z},mL=(I,J,Y,D)=>{let X=I._zod.def,z=[];for(let Z of X.values)if(Z===void 0){if(J.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof Z==="bigint")if(J.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else z.push(Number(Z));else z.push(Z);if(z.length===0);else if(z.length===1){let Z=z[0];if(Y.type=Z===null?"null":typeof Z,J.target==="draft-04"||J.target==="openapi-3.0")Y.enum=[Z];else Y.const=Z}else{if(z.every((Z)=>typeof Z==="number"))Y.type="number";if(z.every((Z)=>typeof Z==="string"))Y.type="string";if(z.every((Z)=>typeof Z==="boolean"))Y.type="boolean";if(z.every((Z)=>Z===null))Y.type="null";Y.enum=z}},dL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},nL=(I,J,Y,D)=>{let X=Y,z=I._zod.pattern;if(!z)throw Error("Pattern not found in template literal");X.type="string",X.pattern=z.source},oL=(I,J,Y,D)=>{let X=Y,z={type:"string",format:"binary",contentEncoding:"binary"},{minimum:Z,maximum:L,mime:R}=I._zod.bag;if(Z!==void 0)z.minLength=Z;if(L!==void 0)z.maxLength=L;if(R)if(R.length===1)z.contentMediaType=R[0],Object.assign(X,z);else Object.assign(X,z),X.anyOf=R.map((j)=>({contentMediaType:j}));else Object.assign(X,z)},iL=(I,J,Y,D)=>{Y.type="boolean"},rL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},tL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},aL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},sL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},eL=(I,J,Y,D)=>{if(J.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},$7=(I,J,Y,D)=>{let X=Y,z=I._zod.def,{minimum:Z,maximum:L}=I._zod.bag;if(typeof Z==="number")X.minItems=Z;if(typeof L==="number")X.maxItems=L;X.type="array",X.items=JU(z.element,J,{...D,path:[...D.path,"items"]})},U7=(I,J,Y,D)=>{let X=Y,z=I._zod.def;X.type="object",X.properties={};let Z=z.shape;for(let j in Z)X.properties[j]=JU(Z[j],J,{...D,path:[...D.path,"properties",j]});let L=new Set(Object.keys(Z)),R=new Set([...L].filter((j)=>{let q=z.shape[j]._zod;if(J.io==="input")return q.optin===void 0;else return q.optout===void 0}));if(R.size>0)X.required=Array.from(R);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,{...D,path:[...D.path,"additionalProperties"]})},A8=(I,J,Y,D)=>{let X=I._zod.def,z=X.inclusive===!1,Z=X.options.map((L,R)=>JU(L,J,{...D,path:[...D.path,z?"oneOf":"anyOf",R]}));if(z)Y.oneOf=Z;else Y.anyOf=Z},I7=(I,J,Y,D)=>{let X=I._zod.def,z=JU(X.left,J,{...D,path:[...D.path,"allOf",0]}),Z=JU(X.right,J,{...D,path:[...D.path,"allOf",1]}),L=(j)=>("allOf"in j)&&Object.keys(j).length===1,R=[...L(z)?z.allOf:[z],...L(Z)?Z.allOf:[Z]];Y.allOf=R},X7=(I,J,Y,D)=>{let X=Y,z=I._zod.def;X.type="array";let Z=J.target==="draft-2020-12"?"prefixItems":"items",L=J.target==="draft-2020-12"?"items":J.target==="openapi-3.0"?"items":"additionalItems",R=z.items.map((E,B)=>JU(E,J,{...D,path:[...D.path,Z,B]})),j=z.rest?JU(z.rest,J,{...D,path:[...D.path,L,...J.target==="openapi-3.0"?[z.items.length]:[]]}):null;if(J.target==="draft-2020-12"){if(X.prefixItems=R,j)X.items=j}else if(J.target==="openapi-3.0"){if(X.items={anyOf:R},j)X.items.anyOf.push(j);if(X.minItems=R.length,!j)X.maxItems=R.length}else if(X.items=R,j)X.additionalItems=j;let{minimum:q,maximum:C}=I._zod.bag;if(typeof q==="number")X.minItems=q;if(typeof C==="number")X.maxItems=C},J7=(I,J,Y,D)=>{let X=Y,z=I._zod.def;X.type="object";let Z=z.keyType,R=Z._zod.bag?.patterns;if(z.mode==="loose"&&R&&R.size>0){let q=JU(z.valueType,J,{...D,path:[...D.path,"patternProperties","*"]});X.patternProperties={};for(let C of R)X.patternProperties[C.source]=q}else{if(J.target==="draft-07"||J.target==="draft-2020-12")X.propertyNames=JU(z.keyType,J,{...D,path:[...D.path,"propertyNames"]});X.additionalProperties=JU(z.valueType,J,{...D,path:[...D.path,"additionalProperties"]})}let j=Z._zod.values;if(j){let q=[...j].filter((C)=>typeof C==="string"||typeof C==="number");if(q.length>0)X.required=q}},Q7=(I,J,Y,D)=>{let X=I._zod.def,z=JU(X.innerType,J,D),Z=J.seen.get(I);if(J.target==="openapi-3.0")Z.ref=X.innerType,Y.nullable=!0;else Y.anyOf=[z,{type:"null"}]},Y7=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);z.ref=X.innerType},G7=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);z.ref=X.innerType,Y.default=JSON.parse(JSON.stringify(X.defaultValue))},Z7=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);if(z.ref=X.innerType,J.io==="input")Y._prefault=JSON.parse(JSON.stringify(X.defaultValue))},V7=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);z.ref=X.innerType;let Z;try{Z=X.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}Y.default=Z},z7=(I,J,Y,D)=>{let X=I._zod.def,z=X.in._zod.traits.has("$ZodTransform"),Z=J.io==="input"?z?X.out:X.in:X.out;JU(Z,J,D);let L=J.seen.get(I);L.ref=Z},D7=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);z.ref=X.innerType,Y.readOnly=!0},W7=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);z.ref=X.innerType},C8=(I,J,Y,D)=>{let X=I._zod.def;JU(X.innerType,J,D);let z=J.seen.get(I);z.ref=X.innerType},K7=(I,J,Y,D)=>{let X=I._zod.innerType;JU(X,J,D);let z=J.seen.get(I);z.ref=X},M8={string:NL,number:kL,boolean:xL,bigint:gL,symbol:wL,null:fL,undefined:yL,void:uL,never:bL,any:hL,unknown:cL,date:pL,enum:lL,literal:mL,nan:dL,template_literal:nL,file:oL,success:iL,custom:rL,function:tL,transform:aL,map:sL,set:eL,array:$7,object:U7,union:A8,intersection:I7,tuple:X7,record:J7,nullable:Q7,nonoptional:Y7,default:G7,prefault:Z7,catch:V7,pipe:z7,readonly:D7,promise:W7,optional:C8,lazy:K7};function T8(I,J){if("_idmap"in I){let D=I,X=zX({...J,processors:M8}),z={};for(let R of D._idmap.entries()){let[j,q]=R;JU(q,X)}let Z={},L={registry:D,uri:J?.uri,defs:z};X.external=L;for(let R of D._idmap.entries()){let[j,q]=R;DX(X,q),Z[j]=WX(X,q)}if(Object.keys(z).length>0){let R=X.target==="draft-2020-12"?"$defs":"definitions";Z.__shared={[R]:z}}return{schemas:Z}}let Y=zX({...J,processors:M8});return JU(I,Y),DX(Y,I),WX(Y,I)}class F7{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:M8,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}DX(this.ctx,I);let Y=WX(this.ctx,I),{"~standard":D,...X}=Y;return X}}var GR={};var R2={};x6(R2,{xor:()=>$B,xid:()=>_R,void:()=>iR,uuidv7:()=>OR,uuidv6:()=>FR,uuidv4:()=>KR,uuid:()=>WR,url:()=>HR,unknown:()=>KJ,union:()=>i8,undefined:()=>nR,ulid:()=>PR,uint64:()=>mR,uint32:()=>cR,tuple:()=>i7,transform:()=>t8,templateLiteral:()=>FB,symbol:()=>dR,superRefine:()=>PM,success:()=>zB,stringbool:()=>PB,stringFormat:()=>gR,string:()=>B2,strictObject:()=>sR,set:()=>QB,refine:()=>TM,record:()=>r7,readonly:()=>OM,promise:()=>OB,preprocess:()=>EB,prefault:()=>GM,pipe:()=>R8,partialRecord:()=>IB,optional:()=>N2,object:()=>aR,number:()=>k7,nullish:()=>VB,nullable:()=>k2,null:()=>y7,nonoptional:()=>ZM,never:()=>o8,nativeEnum:()=>YB,nanoid:()=>AR,nan:()=>DB,meta:()=>CB,map:()=>JB,mac:()=>qR,looseRecord:()=>XB,looseObject:()=>eR,literal:()=>GB,lazy:()=>MM,ksuid:()=>ER,keyof:()=>tR,jwt:()=>xR,json:()=>_B,ipv6:()=>SR,ipv4:()=>jR,invertCodec:()=>KB,intersection:()=>n7,int64:()=>lR,int32:()=>hR,int:()=>S8,instanceof:()=>TB,httpUrl:()=>LR,hostname:()=>wR,hex:()=>fR,hash:()=>yR,guid:()=>DR,function:()=>HB,float64:()=>bR,float32:()=>uR,file:()=>ZB,exactOptional:()=>IM,enum:()=>r8,emoji:()=>MR,email:()=>zR,e164:()=>kR,discriminatedUnion:()=>UB,describe:()=>AB,date:()=>rR,custom:()=>MB,cuid2:()=>TR,cuid:()=>CR,codec:()=>WB,cidrv6:()=>BR,cidrv4:()=>RR,check:()=>LB,catch:()=>DM,boolean:()=>x7,bigint:()=>pR,base64url:()=>NR,base64:()=>vR,array:()=>f2,any:()=>oR,_function:()=>HB,_default:()=>QM,_ZodString:()=>B8,ZodXor:()=>l7,ZodXID:()=>f8,ZodVoid:()=>c7,ZodUnknown:()=>b7,ZodUnion:()=>u2,ZodUndefined:()=>w7,ZodUUID:()=>g1,ZodURL:()=>g2,ZodULID:()=>w8,ZodType:()=>g$,ZodTuple:()=>o7,ZodTransform:()=>$M,ZodTemplateLiteral:()=>HM,ZodSymbol:()=>g7,ZodSuccess:()=>VM,ZodStringFormat:()=>zU,ZodString:()=>JY,ZodSet:()=>a7,ZodRecord:()=>IY,ZodReadonly:()=>FM,ZodPromise:()=>AM,ZodPreprocess:()=>KM,ZodPrefault:()=>YM,ZodPipe:()=>b2,ZodOptional:()=>a8,ZodObject:()=>y2,ZodNumberFormat:()=>FJ,ZodNumber:()=>YY,ZodNullable:()=>XM,ZodNull:()=>f7,ZodNonOptional:()=>s8,ZodNever:()=>h7,ZodNanoID:()=>k8,ZodNaN:()=>WM,ZodMap:()=>t7,ZodMAC:()=>N7,ZodLiteral:()=>s7,ZodLazy:()=>LM,ZodKSUID:()=>y8,ZodJWT:()=>d8,ZodIntersection:()=>d7,ZodIPv6:()=>b8,ZodIPv4:()=>u8,ZodGUID:()=>v2,ZodFunction:()=>CM,ZodFile:()=>e7,ZodExactOptional:()=>UM,ZodEnum:()=>XY,ZodEmoji:()=>N8,ZodEmail:()=>v8,ZodE164:()=>m8,ZodDiscriminatedUnion:()=>m7,ZodDefault:()=>JM,ZodDate:()=>w2,ZodCustomStringFormat:()=>QY,ZodCustom:()=>c2,ZodCodec:()=>h2,ZodCatch:()=>zM,ZodCUID2:()=>g8,ZodCUID:()=>x8,ZodCIDRv6:()=>c8,ZodCIDRv4:()=>h8,ZodBoolean:()=>GY,ZodBigIntFormat:()=>n8,ZodBigInt:()=>ZY,ZodBase64URL:()=>l8,ZodBase64:()=>p8,ZodArray:()=>p7,ZodAny:()=>u7});var P8={};x6(P8,{uppercase:()=>lQ,trim:()=>rQ,toUpperCase:()=>aQ,toLowerCase:()=>tQ,startsWith:()=>dQ,slugify:()=>sQ,size:()=>zJ,regex:()=>cQ,property:()=>L8,positive:()=>K8,overwrite:()=>a4,normalize:()=>iQ,nonpositive:()=>O8,nonnegative:()=>H8,negative:()=>F8,multipleOf:()=>ZX,minSize:()=>x1,minLength:()=>WI,mime:()=>oQ,maxSize:()=>VX,maxLength:()=>DJ,lte:()=>A4,lt:()=>N1,lowercase:()=>pQ,length:()=>WJ,includes:()=>mQ,gte:()=>b6,gt:()=>k1,endsWith:()=>nQ});var UY={};x6(UY,{time:()=>L7,duration:()=>M7,datetime:()=>O7,date:()=>H7,ZodISOTime:()=>j8,ZodISODuration:()=>q8,ZodISODateTime:()=>_8,ZodISODate:()=>E8});var _8=R0("ZodISODateTime",(I,J)=>{rO.init(I,J),zU.init(I,J)});function O7(I){return r5(_8,I)}var E8=R0("ZodISODate",(I,J)=>{tO.init(I,J),zU.init(I,J)});function H7(I){return t5(E8,I)}var j8=R0("ZodISOTime",(I,J)=>{aO.init(I,J),zU.init(I,J)});function L7(I){return a5(j8,I)}var q8=R0("ZodISODuration",(I,J)=>{sO.init(I,J),zU.init(I,J)});function M7(I){return s5(q8,I)}var ZR=(I,J)=>{W2.init(I,J),I.name="ZodError",Object.defineProperties(I,{format:{value:(Y)=>F2(I,Y)},flatten:{value:(Y)=>K2(I,Y)},addIssue:{value:(Y)=>{I.issues.push(Y),I.message=JSON.stringify(I.issues,kQ,2)}},addIssues:{value:(Y)=>{I.issues.push(...Y),I.message=JSON.stringify(I.issues,kQ,2)}},isEmpty:{get(){return I.issues.length===0}}})},Sh=R0("ZodError",ZR),s6=R0("ZodError",ZR,{Parent:Error});var A7=wQ(s6),C7=fQ(s6),T7=yQ(s6),P7=uQ(s6),_7=jz(s6),E7=qz(s6),j7=Sz(s6),q7=Rz(s6),S7=Bz(s6),R7=vz(s6),B7=Nz(s6),v7=kz(s6);var VR=new WeakMap;function x2(I,J,Y){let D=Object.getPrototypeOf(I),X=VR.get(D);if(!X)X=new Set,VR.set(D,X);if(X.has(J))return;X.add(J);for(let z in Y){let Z=Y[z];Object.defineProperty(D,z,{configurable:!0,enumerable:!1,get(){let L=Z.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 g$=R0("ZodType",(I,J)=>{return j$.init(I,J),Object.assign(I["~standard"],{jsonSchema:{input:$Y(I,"input"),output:$Y(I,"output")}}),I.toJSONSchema=vL(I,{}),I.def=J,I.type=J.type,Object.defineProperty(I,"_def",{value:J}),I.parse=(Y,D)=>A7(I,Y,D,{callee:I.parse}),I.safeParse=(Y,D)=>T7(I,Y,D),I.parseAsync=async(Y,D)=>C7(I,Y,D,{callee:I.parseAsync}),I.safeParseAsync=async(Y,D)=>P7(I,Y,D),I.spa=I.safeParseAsync,I.encode=(Y,D)=>_7(I,Y,D),I.decode=(Y,D)=>E7(I,Y,D),I.encodeAsync=async(Y,D)=>j7(I,Y,D),I.decodeAsync=async(Y,D)=>q7(I,Y,D),I.safeEncode=(Y,D)=>S7(I,Y,D),I.safeDecode=(Y,D)=>R7(I,Y,D),I.safeEncodeAsync=async(Y,D)=>B7(I,Y,D),I.safeDecodeAsync=async(Y,D)=>v7(I,Y,D),x2(I,"ZodType",{check(...Y){let D=this.def;return this.clone(G$.mergeDefs(D,{checks:[...D.checks??[],...Y.map((X)=>typeof X==="function"?{_zod:{check:X,def:{check:"custom"},onattach:[]}}:X)]}),{parent:!0})},with(...Y){return this.check(...Y)},clone(Y,D){return y6(this,Y,D)},brand(){return this},register(Y,D){return Y.add(this,D),this},refine(Y,D){return this.check(TM(Y,D))},superRefine(Y,D){return this.check(PM(Y,D))},overwrite(Y){return this.check(a4(Y))},optional(){return N2(this)},exactOptional(){return IM(this)},nullable(){return k2(this)},nullish(){return N2(k2(this))},nonoptional(Y){return ZM(this,Y)},array(){return f2(this)},or(Y){return i8([this,Y])},and(Y){return n7(this,Y)},transform(Y){return R8(this,t8(Y))},default(Y){return QM(this,Y)},prefault(Y){return GM(this,Y)},catch(Y){return DM(this,Y)},pipe(Y){return R8(this,Y)},readonly(){return OM(this)},describe(Y){let D=this.clone();return A6.add(D,{description:Y}),D},meta(...Y){if(Y.length===0)return A6.get(this);let D=this.clone();return A6.add(D,Y[0]),D},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(Y){return Y(this)}}),Object.defineProperty(I,"description",{get(){return A6.get(I)?.description},configurable:!0}),I}),B8=R0("_ZodString",(I,J)=>{VJ.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(D,X,z)=>NL(I,D,X,z);let Y=I._zod.bag;I.format=Y.format??null,I.minLength=Y.minimum??null,I.maxLength=Y.maximum??null,x2(I,"_ZodString",{regex(...D){return this.check(cQ(...D))},includes(...D){return this.check(mQ(...D))},startsWith(...D){return this.check(dQ(...D))},endsWith(...D){return this.check(nQ(...D))},min(...D){return this.check(WI(...D))},max(...D){return this.check(DJ(...D))},length(...D){return this.check(WJ(...D))},nonempty(...D){return this.check(WI(1,...D))},lowercase(D){return this.check(pQ(D))},uppercase(D){return this.check(lQ(D))},trim(){return this.check(rQ())},normalize(...D){return this.check(iQ(...D))},toLowerCase(){return this.check(tQ())},toUpperCase(){return this.check(aQ())},slugify(){return this.check(sQ())}})}),JY=R0("ZodString",(I,J)=>{VJ.init(I,J),B8.init(I,J),I.email=(Y)=>I.check(oz(v8,Y)),I.url=(Y)=>I.check(S2(g2,Y)),I.jwt=(Y)=>I.check(W8(d8,Y)),I.emoji=(Y)=>I.check(sz(N8,Y)),I.guid=(Y)=>I.check(q2(v2,Y)),I.uuid=(Y)=>I.check(iz(g1,Y)),I.uuidv4=(Y)=>I.check(rz(g1,Y)),I.uuidv6=(Y)=>I.check(tz(g1,Y)),I.uuidv7=(Y)=>I.check(az(g1,Y)),I.nanoid=(Y)=>I.check(ez(k8,Y)),I.guid=(Y)=>I.check(q2(v2,Y)),I.cuid=(Y)=>I.check($8(x8,Y)),I.cuid2=(Y)=>I.check(U8(g8,Y)),I.ulid=(Y)=>I.check(I8(w8,Y)),I.base64=(Y)=>I.check(V8(p8,Y)),I.base64url=(Y)=>I.check(z8(l8,Y)),I.xid=(Y)=>I.check(X8(f8,Y)),I.ksuid=(Y)=>I.check(J8(y8,Y)),I.ipv4=(Y)=>I.check(Q8(u8,Y)),I.ipv6=(Y)=>I.check(Y8(b8,Y)),I.cidrv4=(Y)=>I.check(G8(h8,Y)),I.cidrv6=(Y)=>I.check(Z8(c8,Y)),I.e164=(Y)=>I.check(D8(m8,Y)),I.datetime=(Y)=>I.check(O7(Y)),I.date=(Y)=>I.check(H7(Y)),I.time=(Y)=>I.check(L7(Y)),I.duration=(Y)=>I.check(M7(Y))});function B2(I){return d5(JY,I)}var zU=R0("ZodStringFormat",(I,J)=>{VU.init(I,J),B8.init(I,J)}),v8=R0("ZodEmail",(I,J)=>{hO.init(I,J),zU.init(I,J)});function zR(I){return oz(v8,I)}var v2=R0("ZodGUID",(I,J)=>{uO.init(I,J),zU.init(I,J)});function DR(I){return q2(v2,I)}var g1=R0("ZodUUID",(I,J)=>{bO.init(I,J),zU.init(I,J)});function WR(I){return iz(g1,I)}function KR(I){return rz(g1,I)}function FR(I){return tz(g1,I)}function OR(I){return az(g1,I)}var g2=R0("ZodURL",(I,J)=>{cO.init(I,J),zU.init(I,J)});function HR(I){return S2(g2,I)}function LR(I){return S2(g2,{protocol:M4.httpProtocol,hostname:M4.domain,...G$.normalizeParams(I)})}var N8=R0("ZodEmoji",(I,J)=>{pO.init(I,J),zU.init(I,J)});function MR(I){return sz(N8,I)}var k8=R0("ZodNanoID",(I,J)=>{lO.init(I,J),zU.init(I,J)});function AR(I){return ez(k8,I)}var x8=R0("ZodCUID",(I,J)=>{mO.init(I,J),zU.init(I,J)});function CR(I){return $8(x8,I)}var g8=R0("ZodCUID2",(I,J)=>{dO.init(I,J),zU.init(I,J)});function TR(I){return U8(g8,I)}var w8=R0("ZodULID",(I,J)=>{nO.init(I,J),zU.init(I,J)});function PR(I){return I8(w8,I)}var f8=R0("ZodXID",(I,J)=>{oO.init(I,J),zU.init(I,J)});function _R(I){return X8(f8,I)}var y8=R0("ZodKSUID",(I,J)=>{iO.init(I,J),zU.init(I,J)});function ER(I){return J8(y8,I)}var u8=R0("ZodIPv4",(I,J)=>{eO.init(I,J),zU.init(I,J)});function jR(I){return Q8(u8,I)}var N7=R0("ZodMAC",(I,J)=>{UH.init(I,J),zU.init(I,J)});function qR(I){return o5(N7,I)}var b8=R0("ZodIPv6",(I,J)=>{$H.init(I,J),zU.init(I,J)});function SR(I){return Y8(b8,I)}var h8=R0("ZodCIDRv4",(I,J)=>{IH.init(I,J),zU.init(I,J)});function RR(I){return G8(h8,I)}var c8=R0("ZodCIDRv6",(I,J)=>{XH.init(I,J),zU.init(I,J)});function BR(I){return Z8(c8,I)}var p8=R0("ZodBase64",(I,J)=>{QH.init(I,J),zU.init(I,J)});function vR(I){return V8(p8,I)}var l8=R0("ZodBase64URL",(I,J)=>{YH.init(I,J),zU.init(I,J)});function NR(I){return z8(l8,I)}var m8=R0("ZodE164",(I,J)=>{GH.init(I,J),zU.init(I,J)});function kR(I){return D8(m8,I)}var d8=R0("ZodJWT",(I,J)=>{ZH.init(I,J),zU.init(I,J)});function xR(I){return W8(d8,I)}var QY=R0("ZodCustomStringFormat",(I,J)=>{VH.init(I,J),zU.init(I,J)});function gR(I,J,Y={}){return eQ(QY,I,J,Y)}function wR(I){return eQ(QY,"hostname",M4.hostname,I)}function fR(I){return eQ(QY,"hex",M4.hex,I)}function yR(I,J){let Y=J?.enc??"hex",D=`${I}_${Y}`,X=M4[D];if(!X)throw Error(`Unrecognized hash format: ${D}`);return eQ(QY,D,X,J)}var YY=R0("ZodNumber",(I,J)=>{cz.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(D,X,z)=>kL(I,D,X,z),x2(I,"ZodNumber",{gt(D,X){return this.check(k1(D,X))},gte(D,X){return this.check(b6(D,X))},min(D,X){return this.check(b6(D,X))},lt(D,X){return this.check(N1(D,X))},lte(D,X){return this.check(A4(D,X))},max(D,X){return this.check(A4(D,X))},int(D){return this.check(S8(D))},safe(D){return this.check(S8(D))},positive(D){return this.check(k1(0,D))},nonnegative(D){return this.check(b6(0,D))},negative(D){return this.check(N1(0,D))},nonpositive(D){return this.check(A4(0,D))},multipleOf(D,X){return this.check(ZX(D,X))},step(D,X){return this.check(ZX(D,X))},finite(){return this}});let Y=I._zod.bag;I.minValue=Math.max(Y.minimum??Number.NEGATIVE_INFINITY,Y.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,I.maxValue=Math.min(Y.maximum??Number.POSITIVE_INFINITY,Y.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,I.isInt=(Y.format??"").includes("int")||Number.isSafeInteger(Y.multipleOf??0.5),I.isFinite=!0,I.format=Y.format??null});function k7(I){return e5(YY,I)}var FJ=R0("ZodNumberFormat",(I,J)=>{zH.init(I,J),YY.init(I,J)});function S8(I){return UL(FJ,I)}function uR(I){return IL(FJ,I)}function bR(I){return XL(FJ,I)}function hR(I){return JL(FJ,I)}function cR(I){return QL(FJ,I)}var GY=R0("ZodBoolean",(I,J)=>{M2.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>xL(I,Y,D,X)});function x7(I){return YL(GY,I)}var ZY=R0("ZodBigInt",(I,J)=>{pz.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(D,X,z)=>gL(I,D,X,z),I.gte=(D,X)=>I.check(b6(D,X)),I.min=(D,X)=>I.check(b6(D,X)),I.gt=(D,X)=>I.check(k1(D,X)),I.gte=(D,X)=>I.check(b6(D,X)),I.min=(D,X)=>I.check(b6(D,X)),I.lt=(D,X)=>I.check(N1(D,X)),I.lte=(D,X)=>I.check(A4(D,X)),I.max=(D,X)=>I.check(A4(D,X)),I.positive=(D)=>I.check(k1(BigInt(0),D)),I.negative=(D)=>I.check(N1(BigInt(0),D)),I.nonpositive=(D)=>I.check(A4(BigInt(0),D)),I.nonnegative=(D)=>I.check(b6(BigInt(0),D)),I.multipleOf=(D,X)=>I.check(ZX(D,X));let Y=I._zod.bag;I.minValue=Y.minimum??null,I.maxValue=Y.maximum??null,I.format=Y.format??null});function pR(I){return ZL(ZY,I)}var n8=R0("ZodBigIntFormat",(I,J)=>{DH.init(I,J),ZY.init(I,J)});function lR(I){return zL(n8,I)}function mR(I){return DL(n8,I)}var g7=R0("ZodSymbol",(I,J)=>{WH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>wL(I,Y,D,X)});function dR(I){return WL(g7,I)}var w7=R0("ZodUndefined",(I,J)=>{KH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>yL(I,Y,D,X)});function nR(I){return KL(w7,I)}var f7=R0("ZodNull",(I,J)=>{FH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>fL(I,Y,D,X)});function y7(I){return FL(f7,I)}var u7=R0("ZodAny",(I,J)=>{OH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>hL(I,Y,D,X)});function oR(){return OL(u7)}var b7=R0("ZodUnknown",(I,J)=>{HH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>cL(I,Y,D,X)});function KJ(){return HL(b7)}var h7=R0("ZodNever",(I,J)=>{LH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>bL(I,Y,D,X)});function o8(I){return LL(h7,I)}var c7=R0("ZodVoid",(I,J)=>{MH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>uL(I,Y,D,X)});function iR(I){return ML(c7,I)}var w2=R0("ZodDate",(I,J)=>{AH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(D,X,z)=>pL(I,D,X,z),I.min=(D,X)=>I.check(b6(D,X)),I.max=(D,X)=>I.check(A4(D,X));let Y=I._zod.bag;I.minDate=Y.minimum?new Date(Y.minimum):null,I.maxDate=Y.maximum?new Date(Y.maximum):null});function rR(I){return AL(w2,I)}var p7=R0("ZodArray",(I,J)=>{CH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>$7(I,Y,D,X),I.element=J.element,x2(I,"ZodArray",{min(Y,D){return this.check(WI(Y,D))},nonempty(Y){return this.check(WI(1,Y))},max(Y,D){return this.check(DJ(Y,D))},length(Y,D){return this.check(WJ(Y,D))},unwrap(){return this.element}})});function f2(I,J){return PL(p7,I,J)}function tR(I){let J=I._zod.def.shape;return r8(Object.keys(J))}var y2=R0("ZodObject",(I,J)=>{TH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>U7(I,Y,D,X),G$.defineLazy(I,"shape",()=>{return J.shape}),x2(I,"ZodObject",{keyof(){return r8(Object.keys(this._zod.def.shape))},catchall(Y){return this.clone({...this._zod.def,catchall:Y})},passthrough(){return this.clone({...this._zod.def,catchall:KJ()})},loose(){return this.clone({...this._zod.def,catchall:KJ()})},strict(){return this.clone({...this._zod.def,catchall:o8()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(Y){return G$.extend(this,Y)},safeExtend(Y){return G$.safeExtend(this,Y)},merge(Y){return G$.merge(this,Y)},pick(Y){return G$.pick(this,Y)},omit(Y){return G$.omit(this,Y)},partial(...Y){return G$.partial(a8,this,Y[0])},required(...Y){return G$.required(s8,this,Y[0])}})});function aR(I,J){let Y={type:"object",shape:I??{},...G$.normalizeParams(J)};return new y2(Y)}function sR(I,J){return new y2({type:"object",shape:I,catchall:o8(),...G$.normalizeParams(J)})}function eR(I,J){return new y2({type:"object",shape:I,catchall:KJ(),...G$.normalizeParams(J)})}var u2=R0("ZodUnion",(I,J)=>{A2.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>A8(I,Y,D,X),I.options=J.options});function i8(I,J){return new u2({type:"union",options:I,...G$.normalizeParams(J)})}var l7=R0("ZodXor",(I,J)=>{u2.init(I,J),PH.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>A8(I,Y,D,X),I.options=J.options});function $B(I,J){return new l7({type:"union",options:I,inclusive:!1,...G$.normalizeParams(J)})}var m7=R0("ZodDiscriminatedUnion",(I,J)=>{u2.init(I,J),_H.init(I,J)});function UB(I,J,Y){return new m7({type:"union",options:J,discriminator:I,...G$.normalizeParams(Y)})}var d7=R0("ZodIntersection",(I,J)=>{EH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>I7(I,Y,D,X)});function n7(I,J){return new d7({type:"intersection",left:I,right:J})}var o7=R0("ZodTuple",(I,J)=>{lz.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>X7(I,Y,D,X),I.rest=(Y)=>I.clone({...I._zod.def,rest:Y})});function i7(I,J,Y){let D=J instanceof j$,X=D?Y:J;return new o7({type:"tuple",items:I,rest:D?J:null,...G$.normalizeParams(X)})}var IY=R0("ZodRecord",(I,J)=>{jH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>J7(I,Y,D,X),I.keyType=J.keyType,I.valueType=J.valueType});function r7(I,J,Y){if(!J||!J._zod)return new IY({type:"record",keyType:B2(),valueType:I,...G$.normalizeParams(J)});return new IY({type:"record",keyType:I,valueType:J,...G$.normalizeParams(Y)})}function IB(I,J,Y){let D=y6(I);return D._zod.values=void 0,new IY({type:"record",keyType:D,valueType:J,...G$.normalizeParams(Y)})}function XB(I,J,Y){return new IY({type:"record",keyType:I,valueType:J,mode:"loose",...G$.normalizeParams(Y)})}var t7=R0("ZodMap",(I,J)=>{qH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>sL(I,Y,D,X),I.keyType=J.keyType,I.valueType=J.valueType,I.min=(...Y)=>I.check(x1(...Y)),I.nonempty=(Y)=>I.check(x1(1,Y)),I.max=(...Y)=>I.check(VX(...Y)),I.size=(...Y)=>I.check(zJ(...Y))});function JB(I,J,Y){return new t7({type:"map",keyType:I,valueType:J,...G$.normalizeParams(Y)})}var a7=R0("ZodSet",(I,J)=>{SH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>eL(I,Y,D,X),I.min=(...Y)=>I.check(x1(...Y)),I.nonempty=(Y)=>I.check(x1(1,Y)),I.max=(...Y)=>I.check(VX(...Y)),I.size=(...Y)=>I.check(zJ(...Y))});function QB(I,J){return new a7({type:"set",valueType:I,...G$.normalizeParams(J)})}var XY=R0("ZodEnum",(I,J)=>{RH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(D,X,z)=>lL(I,D,X,z),I.enum=J.entries,I.options=Object.values(J.entries);let Y=new Set(Object.keys(J.entries));I.extract=(D,X)=>{let z={};for(let Z of D)if(Y.has(Z))z[Z]=J.entries[Z];else throw Error(`Key ${Z} not found in enum`);return new XY({...J,checks:[],...G$.normalizeParams(X),entries:z})},I.exclude=(D,X)=>{let z={...J.entries};for(let Z of D)if(Y.has(Z))delete z[Z];else throw Error(`Key ${Z} not found in enum`);return new XY({...J,checks:[],...G$.normalizeParams(X),entries:z})}});function r8(I,J){let Y=Array.isArray(I)?Object.fromEntries(I.map((D)=>[D,D])):I;return new XY({type:"enum",entries:Y,...G$.normalizeParams(J)})}function YB(I,J){return new XY({type:"enum",entries:I,...G$.normalizeParams(J)})}var s7=R0("ZodLiteral",(I,J)=>{BH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>mL(I,Y,D,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 GB(I,J){return new s7({type:"literal",values:Array.isArray(I)?I:[I],...G$.normalizeParams(J)})}var e7=R0("ZodFile",(I,J)=>{vH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>oL(I,Y,D,X),I.min=(Y,D)=>I.check(x1(Y,D)),I.max=(Y,D)=>I.check(VX(Y,D)),I.mime=(Y,D)=>I.check(oQ(Array.isArray(Y)?Y:[Y],D))});function ZB(I){return _L(e7,I)}var $M=R0("ZodTransform",(I,J)=>{NH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>aL(I,Y,D,X),I._zod.parse=(Y,D)=>{if(D.direction==="backward")throw new YJ(I.constructor.name);Y.addIssue=(z)=>{if(typeof z==="string")Y.issues.push(G$.issue(z,Y.value,J));else{let Z=z;if(Z.fatal)Z.continue=!1;Z.code??(Z.code="custom"),Z.input??(Z.input=Y.value),Z.inst??(Z.inst=I),Y.issues.push(G$.issue(Z))}};let X=J.transform(Y.value,Y);if(X instanceof Promise)return X.then((z)=>{return Y.value=z,Y.fallback=!0,Y});return Y.value=X,Y.fallback=!0,Y}});function t8(I){return new $M({type:"transform",transform:I})}var a8=R0("ZodOptional",(I,J)=>{mz.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>C8(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function N2(I){return new a8({type:"optional",innerType:I})}var UM=R0("ZodExactOptional",(I,J)=>{kH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>C8(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function IM(I){return new UM({type:"optional",innerType:I})}var XM=R0("ZodNullable",(I,J)=>{xH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>Q7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function k2(I){return new XM({type:"nullable",innerType:I})}function VB(I){return N2(k2(I))}var JM=R0("ZodDefault",(I,J)=>{gH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>G7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType,I.removeDefault=I.unwrap});function QM(I,J){return new JM({type:"default",innerType:I,get defaultValue(){return typeof J==="function"?J():G$.shallowClone(J)}})}var YM=R0("ZodPrefault",(I,J)=>{wH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>Z7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function GM(I,J){return new YM({type:"prefault",innerType:I,get defaultValue(){return typeof J==="function"?J():G$.shallowClone(J)}})}var s8=R0("ZodNonOptional",(I,J)=>{fH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>Y7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function ZM(I,J){return new s8({type:"nonoptional",innerType:I,...G$.normalizeParams(J)})}var VM=R0("ZodSuccess",(I,J)=>{yH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>iL(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function zB(I){return new VM({type:"success",innerType:I})}var zM=R0("ZodCatch",(I,J)=>{uH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>V7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType,I.removeCatch=I.unwrap});function DM(I,J){return new zM({type:"catch",innerType:I,catchValue:typeof J==="function"?J:()=>J})}var WM=R0("ZodNaN",(I,J)=>{bH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>dL(I,Y,D,X)});function DB(I){return TL(WM,I)}var b2=R0("ZodPipe",(I,J)=>{dz.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>z7(I,Y,D,X),I.in=J.in,I.out=J.out});function R8(I,J){return new b2({type:"pipe",in:I,out:J})}var h2=R0("ZodCodec",(I,J)=>{b2.init(I,J),C2.init(I,J)});function WB(I,J,Y){return new h2({type:"pipe",in:I,out:J,transform:Y.decode,reverseTransform:Y.encode})}function KB(I){let J=I._zod.def;return new h2({type:"pipe",in:J.out,out:J.in,transform:J.reverseTransform,reverseTransform:J.transform})}var KM=R0("ZodPreprocess",(I,J)=>{b2.init(I,J),hH.init(I,J)}),FM=R0("ZodReadonly",(I,J)=>{cH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>D7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function OM(I){return new FM({type:"readonly",innerType:I})}var HM=R0("ZodTemplateLiteral",(I,J)=>{pH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>nL(I,Y,D,X)});function FB(I,J){return new HM({type:"template_literal",parts:I,...G$.normalizeParams(J)})}var LM=R0("ZodLazy",(I,J)=>{dH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>K7(I,Y,D,X),I.unwrap=()=>I._zod.def.getter()});function MM(I){return new LM({type:"lazy",getter:I})}var AM=R0("ZodPromise",(I,J)=>{mH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>W7(I,Y,D,X),I.unwrap=()=>I._zod.def.innerType});function OB(I){return new AM({type:"promise",innerType:I})}var CM=R0("ZodFunction",(I,J)=>{lH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>tL(I,Y,D,X)});function HB(I){return new CM({type:"function",input:Array.isArray(I?.input)?i7(I?.input):I?.input??f2(KJ()),output:I?.output??KJ()})}var c2=R0("ZodCustom",(I,J)=>{nH.init(I,J),g$.init(I,J),I._zod.processJSONSchema=(Y,D,X)=>rL(I,Y,D,X)});function LB(I){let J=new OU({check:"custom"});return J._zod.check=I,J}function MB(I,J){return EL(c2,I??(()=>!0),J)}function TM(I,J={}){return jL(c2,I,J)}function PM(I,J){return qL(I,J)}var AB=SL,CB=RL;function TB(I,J={}){let Y=new c2({type:"custom",check:"custom",fn:(D)=>D instanceof I,abort:!0,...G$.normalizeParams(J)});return Y._zod.bag.Class=I,Y._zod.check=(D)=>{if(!(D.value instanceof I))D.issues.push({code:"invalid_type",expected:I.name,input:D.value,inst:Y,path:[...Y._zod.def.path??[]]})},Y}var PB=(...I)=>BL({Codec:h2,Boolean:GY,String:JY},...I);function _B(I){let J=MM(()=>{return i8([B2(I),k7(),x7(),y7(),f2(J),r7(B2(),J)])});return J}function EB(I,J){return new KM({type:"pipe",in:t8(I),out:J})}var Bh={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 vh(I){rU({customError:I})}function Nh(){return rU().customError}var _M;(function(I){})(_M||(_M={}));var K$={...R2,...P8,iso:UY},kh=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 xh(I,J){let Y=I.$schema;if(Y==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(Y==="http://json-schema.org/draft-07/schema#")return"draft-7";if(Y==="http://json-schema.org/draft-04/schema#")return"draft-4";return J??"draft-2020-12"}function gh(I,J){if(!I.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let Y=I.slice(1).split("/").filter(Boolean);if(Y.length===0)return J.rootSchema;let D=J.version==="draft-2020-12"?"$defs":"definitions";if(Y[0]===D){let X=Y[1];if(!X||!J.defs[X])throw Error(`Reference not found: ${I}`);return J.defs[X]}throw Error(`Reference not found: ${I}`)}function jB(I,J){if(I.not!==void 0){if(typeof I.not==="object"&&Object.keys(I.not).length===0)return K$.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 K$.lazy(()=>{if(!J.refs.has(X))throw Error(`Circular reference not resolved: ${X}`);return J.refs.get(X)});J.processing.add(X);let z=gh(X,J),Z=_6(z,J);return J.refs.set(X,Z),J.processing.delete(X),Z}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 K$.null();if(X.length===0)return K$.never();if(X.length===1)return K$.literal(X[0]);if(X.every((Z)=>typeof Z==="string"))return K$.enum(X);let z=X.map((Z)=>K$.literal(Z));if(z.length<2)return z[0];return K$.union([z[0],z[1],...z.slice(2)])}if(I.const!==void 0)return K$.literal(I.const);let Y=I.type;if(Array.isArray(Y)){let X=Y.map((z)=>{let Z={...I,type:z};return jB(Z,J)});if(X.length===0)return K$.never();if(X.length===1)return X[0];return K$.union(X)}if(!Y)return K$.any();let D;switch(Y){case"string":{let X=K$.string();if(I.format){let z=I.format;if(z==="email")X=X.check(K$.email());else if(z==="uri"||z==="uri-reference")X=X.check(K$.url());else if(z==="uuid"||z==="guid")X=X.check(K$.uuid());else if(z==="date-time")X=X.check(K$.iso.datetime());else if(z==="date")X=X.check(K$.iso.date());else if(z==="time")X=X.check(K$.iso.time());else if(z==="duration")X=X.check(K$.iso.duration());else if(z==="ipv4")X=X.check(K$.ipv4());else if(z==="ipv6")X=X.check(K$.ipv6());else if(z==="mac")X=X.check(K$.mac());else if(z==="cidr")X=X.check(K$.cidrv4());else if(z==="cidr-v6")X=X.check(K$.cidrv6());else if(z==="base64")X=X.check(K$.base64());else if(z==="base64url")X=X.check(K$.base64url());else if(z==="e164")X=X.check(K$.e164());else if(z==="jwt")X=X.check(K$.jwt());else if(z==="emoji")X=X.check(K$.emoji());else if(z==="nanoid")X=X.check(K$.nanoid());else if(z==="cuid")X=X.check(K$.cuid());else if(z==="cuid2")X=X.check(K$.cuid2());else if(z==="ulid")X=X.check(K$.ulid());else if(z==="xid")X=X.check(K$.xid());else if(z==="ksuid")X=X.check(K$.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));D=X;break}case"number":case"integer":{let X=Y==="integer"?K$.number().int():K$.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);D=X;break}case"boolean":{D=K$.boolean();break}case"null":{D=K$.null();break}case"object":{let X={},z=I.properties||{},Z=new Set(I.required||[]);for(let[R,j]of Object.entries(z)){let q=_6(j,J);X[R]=Z.has(R)?q:q.optional()}if(I.propertyNames){let R=_6(I.propertyNames,J),j=I.additionalProperties&&typeof I.additionalProperties==="object"?_6(I.additionalProperties,J):K$.any();if(Object.keys(X).length===0){D=K$.record(R,j);break}let q=K$.object(X).passthrough(),C=K$.looseRecord(R,j);D=K$.intersection(q,C);break}if(I.patternProperties){let R=I.patternProperties,j=Object.keys(R),q=[];for(let E of j){let B=_6(R[E],J),N=K$.string().regex(new RegExp(E));q.push(K$.looseRecord(N,B))}let C=[];if(Object.keys(X).length>0)C.push(K$.object(X).passthrough());if(C.push(...q),C.length===0)D=K$.object({}).passthrough();else if(C.length===1)D=C[0];else{let E=K$.intersection(C[0],C[1]);for(let B=2;B<C.length;B++)E=K$.intersection(E,C[B]);D=E}break}let L=K$.object(X);if(I.additionalProperties===!1)D=L.strict();else if(typeof I.additionalProperties==="object")D=L.catchall(_6(I.additionalProperties,J));else D=L.passthrough();break}case"array":{let{prefixItems:X,items:z}=I;if(X&&Array.isArray(X)){let Z=X.map((R)=>_6(R,J)),L=z&&typeof z==="object"&&!Array.isArray(z)?_6(z,J):void 0;if(L)D=K$.tuple(Z).rest(L);else D=K$.tuple(Z);if(typeof I.minItems==="number")D=D.check(K$.minLength(I.minItems));if(typeof I.maxItems==="number")D=D.check(K$.maxLength(I.maxItems))}else if(Array.isArray(z)){let Z=z.map((R)=>_6(R,J)),L=I.additionalItems&&typeof I.additionalItems==="object"?_6(I.additionalItems,J):void 0;if(L)D=K$.tuple(Z).rest(L);else D=K$.tuple(Z);if(typeof I.minItems==="number")D=D.check(K$.minLength(I.minItems));if(typeof I.maxItems==="number")D=D.check(K$.maxLength(I.maxItems))}else if(z!==void 0){let Z=_6(z,J),L=K$.array(Z);if(typeof I.minItems==="number")L=L.min(I.minItems);if(typeof I.maxItems==="number")L=L.max(I.maxItems);D=L}else D=K$.array(K$.any());break}default:throw Error(`Unsupported type: ${Y}`)}return D}function _6(I,J){if(typeof I==="boolean")return I?K$.any():K$.never();let Y=jB(I,J),D=I.type||I.enum!==void 0||I.const!==void 0;if(I.anyOf&&Array.isArray(I.anyOf)){let L=I.anyOf.map((j)=>_6(j,J)),R=K$.union(L);Y=D?K$.intersection(Y,R):R}if(I.oneOf&&Array.isArray(I.oneOf)){let L=I.oneOf.map((j)=>_6(j,J)),R=K$.xor(L);Y=D?K$.intersection(Y,R):R}if(I.allOf&&Array.isArray(I.allOf))if(I.allOf.length===0)Y=D?Y:K$.any();else{let L=D?Y:_6(I.allOf[0],J),R=D?0:1;for(let j=R;j<I.allOf.length;j++)L=K$.intersection(L,_6(I.allOf[j],J));Y=L}if(I.nullable===!0&&J.version==="openapi-3.0")Y=K$.nullable(Y);if(I.readOnly===!0)Y=K$.readonly(Y);if(I.default!==void 0)Y=Y.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 Z=["contentEncoding","contentMediaType","contentSchema"];for(let L of Z)if(L in I)X[L]=I[L];for(let L of Object.keys(I))if(!kh.has(L))X[L]=I[L];if(Object.keys(X).length>0)J.registry.add(Y,X);if(I.description)Y=Y.describe(I.description);return Y}function qB(I,J){if(typeof I==="boolean")return I?K$.any():K$.never();let Y;try{Y=JSON.parse(JSON.stringify(I))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let D=xh(Y,J?.defaultTarget),X=Y.$defs||Y.definitions||{},z={version:D,defs:X,refs:new Map,processing:new Set,rootSchema:Y,registry:J?.registry??A6};return _6(Y,z)}var EM={};x6(EM,{string:()=>wh,number:()=>fh,date:()=>bh,boolean:()=>yh,bigint:()=>uh});function wh(I){return n5(JY,I)}function fh(I){return $L(YY,I)}function yh(I){return GL(GY,I)}function uh(I){return VL(ZY,I)}function bh(I){return CL(w2,I)}rU(T2());var SB=E$.object({id:E$.string().min(1).optional(),name:E$.string().min(1).optional(),kind:E$.enum(["human","agent","bot","system"])}),RB=E$.object({type:E$.string().min(1),id:E$.string().min(1)}),BB=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()}),jM=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:SB.optional(),subject:RB,causationId:E$.string().min(1).optional(),correlationId:E$.string().min(1).optional(),external:BB.optional(),data:E$.record(E$.string(),E$.unknown()),raw:E$.record(E$.string(),E$.unknown()).optional()}),vB=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 NB(I){return t4(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 e8(I){return t$(NB(I),Az(),"world")}function ph(I){if(!/^[A-Za-z0-9_-]+$/.test(I))throw Error(`Invalid world service name: ${I}`);return I}var kB;function xB(I){kB=I}function L4(I,J){let Y=ph(I);kB?.(Y,J);let D=NB(J),X=t$(e8(J),Y);return{root:D,service:Y,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 lh={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 gB="2.0",ih=Number(gB.split(".")[0]);yU();var{AsyncLocalStorage:Sr}=(()=>({}));var{AsyncLocalStorage:Cc}=(()=>({}));var Qc;function fB(I){Qc=I}var RM="/__volter/world-boot";var{chmodSync:dr,existsSync:nr,mkdirSync:or,readFileSync:ir,writeFileSync:rr}=(()=>({}));yU();var Tc=1e6,Pc=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,_c=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function bB(I){return`sha256:${O4("sha256").update(I,"utf8").digest("hex").slice(0,16)}`}function Ec(I,J,Y){let D=_c.exec(J);if(!D&&!Pc.test(I))return;let X=I.toLowerCase();if(J==="")return{name:X,in:Y,empty:!0};if(D)return{name:X,in:Y,scheme:D[1],fp:bB(D[2])};return{name:X,in:Y,fp:bB(J)}}function mB(I,J){let Y=[],D=new Set,X=(z,Z,L)=>{let R=Ec(z,Z,L);if(!R)return;let j=`${R.in}:${R.name}`;if(D.has(j))return;D.add(j),Y.push(R)};try{if(typeof I.forEach==="function")I.forEach((z,Z)=>X(Z,z,"header"));else for(let[z,Z]of Object.entries(I))X(z,String(Z),"header")}catch{}try{if(J!==void 0){let z=typeof J==="string"?new URL(J,"http://twin.invalid").search:J.search;for(let[Z,L]of new URLSearchParams(z))X(Z,L,"query")}}catch{}return Y.sort((z,Z)=>z.in===Z.in?z.name.localeCompare(Z.name):z.in.localeCompare(Z.in))}function NM(I=process.env){return I.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function dB(I,J){return t$(iU(L4(I,J).events),"requests.jsonl")}function nB(I,J,Y){if(!NM())return;try{let D=f6(),X=dB(I,Y);if(D.mkdir(iU(X)),(D.stat(X)?.size??0)>=Tc)D.writeAtomic(`${X}.1`,D.read(X)??""),D.write(X,"");let Z=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}:{}});D.append(X,`${Z}
|
|
321
|
+
`)}catch{}}var oB=Symbol.for("volter.twin.requestJournal.identity"),hB=Symbol.for("volter.twin.requestJournal.installed"),BM;function jc(){return BM??=new Cc,BM}function qc(){xB((I,J)=>{let Y=BM?.getStore();if(!Y||Y.identity!==void 0)return;Y.identity=J===void 0?{service:I}:{service:I,root:J}})}function Sc(I=process.argv){let J=I.indexOf("--root"),Y=J>=0?I[J+1]:void 0;return Y&&!Y.startsWith("--")?Y:void 0}var Rc=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function cB(I){if(!I)return;let J=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let Y of I.matchAll(J)){let D=Y[1];if(!Rc.has(D))return D}return}function Bc(){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[hB])return!0;if(qc(),fB((D)=>pB(D,cB(Error().stack))),!J)return!1;let Y=function(X,...z){let Z=X;if(!Z||typeof Z.fetch!=="function")return J.apply(this,[X,...z]);let L=Z[oB]?void 0:cB(Error().stack);return J.apply(this,[{...Z,fetch:pB(Z,L)},...z])};return Object.defineProperty(Y,hB,{value:!0}),I.serve=Y,!0}function pB(I,J){if(I.twinRequestJournal===!1)return I.fetch;{let D=I[oB],X=I.fetch;return async function(Z,L){if(!NM()||new URL(Z.url).pathname===RM)return X.call(this,Z,L);let R={},j=500,q=Date.now();try{let C=await jc().run(R,()=>X.call(this,Z,L));if(C instanceof Response)j=C.status;else if(C===void 0)return C;return C}finally{D??=R.identity;let C=D??vc(J);if(C){let E=new URL(Z.url);nB(C.service,{method:Z.method,path:E.pathname,status:j,ms:Date.now()-q,credentials:mB(Z.headers,E)},C.root)}}}}}function vc(I){let J=process.env.VOLTER_TWIN_JOURNAL_SERVICE||I;if(!J||!/^[A-Za-z0-9_-]+$/.test(J))return;let Y=Sc();return Y===void 0?{service:J}:{service:J,root:Y}}Bc();yU();var Nt=Symbol("absent");yU();var{closeSync:nc,existsSync:p2,mkdirSync:oc,openSync:ic,readdirSync:rc,readFileSync:tc,readSync:ac,renameSync:sc,rmSync:Jv,statSync:fM,writeFileSync:ec}=(()=>({}));yU();var{closeSync:gM,constants:OJ,fstatSync:sB,ftruncateSync:bc,linkSync:hc,lstatSync:xM,mkdirSync:cc,openSync:wM,readFileSync:pc,readSync:rB,rmSync:lc,writeFileSync:mc}=(()=>({}));var eB=131072,$v=32,Uv=4;function Iv(I){return I.isFile()&&I.nlink===1&&(!process.getuid||I.uid===process.getuid())&&(I.mode&63)===0}function tB(I){try{let J=xM(I);return J.isDirectory()&&(J.mode&63)===0&&(!process.getuid||J.uid===process.getuid())}catch{return!1}}function aB(I){let J;try{J=wM(I,OJ.O_RDONLY|OJ.O_NONBLOCK|(OJ.O_NOFOLLOW??0));let Y=sB(J);if(!Iv(Y)||Y.size>eB)return{};let D=JSON.parse(pc(J,"utf8"));if(!D||typeof D!=="object"||Array.isArray(D))return{};let X={};for(let[z,Z]of Object.entries(D).slice(-$v)){if(!/^\d+:[a-f0-9]{64}$/.test(z)||!Array.isArray(Z))continue;X[z]=Z.filter((L)=>typeof L==="string"&&L.length<=4096&&vQ(L)).slice(0,Uv)}return X}catch{return{}}finally{if(J!==void 0)gM(J)}}function dc(I,J){let Y=wM(I,"r");try{let D=O4("sha256"),X=Buffer.allocUnsafe(65536),z=J;while(z>0){let Z=rB(Y,X,0,Math.min(X.length,z),null);if(!Z)return null;D.update(X.subarray(0,Z)),z-=Z}if(rB(Y,X,0,1,null))return null;return D.digest("hex")}finally{gM(Y)}}function Xv(I,J,Y){let D=t$(I,`${Y.slice(0,2)}.json`),X=`${J}:${Y}`;return{reuse(z,Z){if(!tB(I))return!1;for(let L of aB(D)[X]??[]){try{let R=xM(L);if(!R.isFile()||R.dev!==J||R.size!==Z||process.getuid&&R.uid!==process.getuid())continue;hc(L,z);let j=xM(z);if(j.isFile()&&j.dev===J&&j.size===Z&&(!process.getuid||j.uid===process.getuid())&&dc(z,Z)===Y)return!0}catch{}lc(z,{force:!0})}return!1},record(z){try{let Z=t4(z);if(Z.length>4096)return;let L=aB(D),R=[Z,...(L[X]??[]).filter((C)=>C!==Z)].slice(0,Uv);delete L[X],L[X]=R;let j=JSON.stringify(L);while(Object.keys(L).length>$v||Buffer.byteLength(j)>eB)delete L[Object.keys(L)[0]],j=JSON.stringify(L);if(cc(I,{recursive:!0,mode:448}),!tB(I))return;let q=wM(D,OJ.O_WRONLY|OJ.O_CREAT|OJ.O_NONBLOCK|(OJ.O_NOFOLLOW??0),384);try{if(!Iv(sB(q)))return;bc(q,0),mc(q,j)}finally{gM(q)}}catch{}}}}class yM{options;constructor(I={}){this.options=I}async get(I){if(!p2(I))return null;return new Uint8Array(tc(I))}async put(I,J){oc(iU(I),{recursive:!0});let Y=`${I}.tmp.${BQ()}`,D;try{if(this.options.sharedIndexRoot!==!1)try{D=Xv(this.options.sharedIndexRoot??t$(I2(),"blob-index-v1"),fM(iU(I)).dev,Qv(J))}catch{}if(!D?.reuse(Y,J.byteLength))ec(Y,J,{flag:"wx"});sc(Y,I),D?.record(I)}finally{Jv(Y,{force:!0})}}async exists(I){return p2(I)}async remove(I){Jv(I,{force:!0,recursive:I.endsWith("/")})}async list(I){let J=[],Y=(D)=>{if(!p2(D))return;for(let X of rc(D,{withFileTypes:!0})){let z=t$(D,X.name);if(X.isDirectory())Y(z);else if(!X.name.includes(".tmp."))J.push(z)}};return Y(I.replace(/\/$/,"")),J.sort()}async size(I){if(!p2(I))return null;return fM(I).size}async getRange(I,J,Y){if(!p2(I))return null;let D=fM(I).size,X=Math.max(0,J),z=Math.min(Y,D-1);if(z<X)return new Uint8Array(0);let Z=new Uint8Array(z-X+1),L=ic(I,"r"),R=0;try{while(R<Z.length){let j=ac(L,Z,R,Z.length-R,X+R);if(j===0)break;R+=j}}finally{nc(L)}return R===Z.length?Z:Z.subarray(0,R)}}function Qv(I){return O4("sha256").update(I).digest("hex")}var it=new yM;mM();var tt=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])$"),at=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:Sa,readFileSync:Ra,statSync:Ba}=(()=>({}));class hp{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 Y=0;Y<J;Y++)this.push(this.buf[this.len-I])}bytes(){return this.buf.slice(0,this.len)}}var ra="0".repeat(40),ta=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:Vs}=(()=>({}));var{AsyncLocalStorage:Os}=(()=>({}));var{existsSync:Ms,readFileSync:As,statSync:Cs}=(()=>({}));var{existsSync:_s,readFileSync:Es}=(()=>({}));var{existsSync:Ss}=(()=>({}));var ep=w4(uv(),1);function dM(I){if(Array.isArray(I?.Recipients))return I.Recipients.map(String).join(", ");if(Array.isArray(I?.To))return I.To.map((J)=>String(J?.Email??"")).filter(Boolean).join(", ");if(typeof I?.To==="string")return I.To;return""}function bv(I){return I?.Subject?String(I.Subject):"(no subject)"}function nM(I){return["Sent",...(Array.isArray(I?.MessageEvents)?I.MessageEvents:[]).map((Y)=>String(Y?.Type??""))].filter(Boolean)}function oM(I){let J=nM(I),Y=J[J.length-1];return Y&&Y!=="Sent"?Y:String(I?.Status??"Sent")}function hv(I){if(I?.HtmlBody)return{kind:"html",value:String(I.HtmlBody)};if(I?.TextBody)return{kind:"text",value:String(I.TextBody)};return{kind:"none",value:""}}function cv(I){if(typeof I!=="string"||!I)return"—";let J=Date.parse(I);if(!Number.isFinite(J))return"—";try{return new Date(J).toISOString().slice(0,16).replace("T"," ")}catch{return"—"}}function iM(I){let J=String(I??"").toLowerCase();if(["delivered","opened","linkclicked","sent","processed","verified","active","true"].includes(J))return"ok";if(["queued","pending","scheduled","unconfirmed","false"].includes(J))return"warn";if(["bounced","hardbounce","spamcomplaint","blocked","failed","suppressed","transient"].includes(J))return"bad";return"neutral"}function XD(I,J="",Y=0,D=[]){if(I===null||I===void 0)D.push({key:J||"(value)",value:"—",depth:Y});else if(Array.isArray(I))if(I.length===0)D.push({key:J,value:"[]",depth:Y});else I.forEach((X,z)=>XD(X,`${J}[${z}]`,Y,D));else if(typeof I==="object")for(let[X,z]of Object.entries(I))XD(z,J?`${J}.${X}`:X,Y,D);else D.push({key:J||"(value)",value:String(I),depth:Y});return D}var JD=[{key:"messages",label:"Activity",path:"/messages/outbound",collection:"Messages",idKey:"MessageID"},{key:"bounces",label:"Bounces",path:"/bounces",collection:"Bounces",idKey:"ID"},{key:"templates",label:"Templates",path:"/templates",collection:"Templates",idKey:"TemplateId"},{key:"streams",label:"Streams",path:"/message-streams",collection:"MessageStreams",idKey:"ID"},{key:"webhooks",label:"Webhooks",path:"/webhooks",collection:"Webhooks",idKey:"ID"},{key:"suppressions",label:"Suppressions",path:"/message-streams/outbound/suppressions/dump",collection:"Suppressions",idKey:"EmailAddress"}];var v$=w4(rM(),1),lv=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,"");function Ul({value:I}){let J=String(I??"");return v$.jsxDEV("span",{className:`pill ${iM(J)}`,children:J||"—"},void 0,!1,void 0,this)}function Il({message:I}){let J=hv(I);if(J.kind==="html")return v$.jsxDEV("iframe",{className:"message-html",title:"message body",sandbox:"",srcDoc:J.value},void 0,!1,void 0,this);if(J.kind==="text")return v$.jsxDEV("pre",{className:"message-text",children:J.value},void 0,!1,void 0,this);return v$.jsxDEV("div",{className:"empty",children:"No body."},void 0,!1,void 0,this)}function Xl({message:I}){let J=nM(I);return v$.jsxDEV("div",{className:"timeline",children:J.map((Y,D)=>v$.jsxDEV("span",{className:`event ${iM(Y)}`,children:Y},`${Y}-${D}`,!1,void 0,this))},void 0,!1,void 0,this)}function Jl({lines:I}){return v$.jsxDEV("dl",{className:"detail-lines",children:I.map((J,Y)=>v$.jsxDEV("div",{className:"detail-line",children:[v$.jsxDEV("dt",{className:"mono",children:J.key},void 0,!1,void 0,this),v$.jsxDEV("dd",{className:"mono",children:J.value},void 0,!1,void 0,this)]},`${J.key}-${Y}`,!0,void 0,this))},void 0,!1,void 0,this)}function Ql(I,J){if(I.key==="messages")return bv(J);if(I.key==="bounces")return`${J.Type??"Bounce"} · ${J.Email??""}`;if(I.key==="templates")return String(J.Name??J.TemplateId??"");if(I.key==="streams")return String(J.Name??J.ID??"");if(I.key==="webhooks")return String(J.Url??J.ID??"");if(I.key==="suppressions")return String(J.EmailAddress??"");return String(J[I.idKey]??"")}function Yl(I,J){if(I.key==="messages")return`to ${dM(J)} · ${oM(J)}`;if(I.key==="bounces")return`${J.Subject??""} · ${J.Inactive?"inactive":"active"}`;if(I.key==="templates")return`${J.Alias??"(no alias)"} · ${J.TemplateType??""}`;if(I.key==="streams")return`${J.MessageStreamType??""} · ${J.ID??""}`;if(I.key==="webhooks")return String(J.MessageStream??"");if(I.key==="suppressions")return`${J.SuppressionReason??""} · ${J.Origin??""}`;return""}function Gl(I,J){if(I.key==="messages")return oM(J);if(I.key==="bounces")return String(J.Type??"");if(I.key==="templates")return J.Active?"Active":"Inactive";if(I.key==="streams")return J.ArchivedAt?"Blocked":"Active";if(I.key==="suppressions")return String(J.SuppressionReason??"");return""}function Zl(I){let[J,Y]=T4.useState([]),[D,X]=T4.useState(!0),[z,Z]=T4.useState("");return T4.useEffect(()=>{let L=!0;return X(!0),Z(""),fetch(`${lv}${I.path}`).then((R)=>R.json()).then((R)=>{if(!L)return;let j=Array.isArray(R)?R:Array.isArray(R?.[I.collection])?R[I.collection]:[];Y(j),X(!1)}).catch((R)=>{if(L)Z(String(R)),X(!1)}),()=>{L=!1}},[I.path,I.collection]),{rows:J,loading:D,error:z}}function Vl(I){let[J,Y]=T4.useState(null);return T4.useEffect(()=>{let D=!0;if(Y(null),!I)return;return fetch(`${lv}/messages/outbound/${encodeURIComponent(I)}/details`).then((X)=>X.json()).then((X)=>{if(D&&X&&!X.ErrorCode)Y(X)}).catch(()=>{}),()=>{D=!1}},[I]),J}function zl(){let[I,J]=T4.useState(JD[0].key),[Y,D]=T4.useState(null),X=JD.find((B)=>B.key===I),{rows:z,loading:Z,error:L}=Zl(X),R=T4.useMemo(()=>z.find((B)=>String(B[X.idKey])===Y)??z[0]??null,[z,Y,X.idKey]),j=X.key==="messages",C=Vl(j&&R?String(R.MessageID):null)??R,E=T4.useMemo(()=>C?XD(C):[],[C]);return v$.jsxDEV("div",{className:"app",children:[v$.jsxDEV("header",{className:"topbar",children:[v$.jsxDEV("span",{className:"brand",children:"Postmark twin"},void 0,!1,void 0,this),v$.jsxDEV("span",{className:"subtitle",children:"local transactional email mirror — activity · bounces · templates · streams"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v$.jsxDEV("div",{className:"body",children:[v$.jsxDEV("nav",{className:"nav",children:JD.map((B)=>v$.jsxDEV("button",{className:`nav-item ${B.key===I?"active":""}`,onClick:()=>{J(B.key),D(null)},children:B.label},B.key,!1,void 0,this))},void 0,!1,void 0,this),v$.jsxDEV("section",{className:"list",children:[v$.jsxDEV("div",{className:"list-head",children:[X.label,!Z?` (${z.length})`:""]},void 0,!0,void 0,this),Z&&v$.jsxDEV("div",{className:"empty",children:"Loading…"},void 0,!1,void 0,this),L&&v$.jsxDEV("div",{className:"empty error",children:L},void 0,!1,void 0,this),!Z&&!L&&z.length===0&&v$.jsxDEV("div",{className:"empty",children:["No ",X.label.toLowerCase()," yet."]},void 0,!0,void 0,this),z.map((B,N)=>v$.jsxDEV("button",{className:`row ${R&&String(R[X.idKey])===String(B[X.idKey])?"selected":""}`,onClick:()=>D(String(B[X.idKey])),children:[v$.jsxDEV("div",{className:"row-title",children:Ql(X,B)},void 0,!1,void 0,this),v$.jsxDEV("div",{className:"row-sub mono",children:Yl(X,B)},void 0,!1,void 0,this)]},`${String(B[X.idKey])}-${N}`,!0,void 0,this))]},void 0,!0,void 0,this),v$.jsxDEV("aside",{className:"detail",children:C?v$.jsxDEV(v$.Fragment,{children:[v$.jsxDEV("div",{className:"detail-head",children:[v$.jsxDEV("span",{className:"mono",children:String(C[X.idKey]??"")},void 0,!1,void 0,this),v$.jsxDEV(Ul,{value:Gl(X,C)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),j&&v$.jsxDEV("div",{className:"message-view",children:[v$.jsxDEV("div",{className:"message-meta mono",children:[v$.jsxDEV("div",{children:["from ",String(C.From??"—")]},void 0,!0,void 0,this),v$.jsxDEV("div",{children:["to ",dM(C)]},void 0,!0,void 0,this),v$.jsxDEV("div",{children:[cv(C.ReceivedAt)," · stream ",String(C.MessageStream??"—")]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),v$.jsxDEV(Xl,{message:C},void 0,!1,void 0,this),v$.jsxDEV(Il,{message:C},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v$.jsxDEV(Jl,{lines:E},void 0,!1,void 0,this)]},void 0,!0,void 0,this):v$.jsxDEV("div",{className:"empty",children:"Select a record."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}if(typeof document<"u"){let I=document.getElementById("root");if(I)pv.createRoot(I).render(v$.jsxDEV(zl,{},void 0,!1,void 0,this))}export{Ul as StatusPill,Jl as NestedLines,Il as MessageBody,Xl as DeliveryTimeline,zl as App};
|