@volter/twin-hubspot 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 +197 -0
- package/client/hubspot-mirror.css +43 -0
- package/client/hubspot-mirror.tsx +132 -0
- package/dist/client/hubspot-mirror.bundle.js +449 -0
- package/dist/client/hubspot-mirror.css +43 -0
- package/dist/client/hubspot-mirror.d.ts +15 -0
- package/dist/client/hubspot-mirror.js +59 -0
- package/dist/client/hubspot-mirror.tsx +132 -0
- package/dist/src/accounts.d.ts +30 -0
- package/dist/src/accounts.js +122 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +31 -0
- package/dist/src/generated/surface.gen.json +1 -0
- package/dist/src/generated/ui.gen.json +1 -0
- package/dist/src/hubspot-areas.d.ts +10 -0
- package/dist/src/hubspot-areas.js +114 -0
- package/dist/src/hubspot-budget.d.ts +58 -0
- package/dist/src/hubspot-budget.js +176 -0
- package/dist/src/hubspot-capabilities.d.ts +3 -0
- package/dist/src/hubspot-capabilities.js +1588 -0
- package/dist/src/hubspot-conformance.d.ts +16 -0
- package/dist/src/hubspot-conformance.js +523 -0
- package/dist/src/hubspot-connector.d.ts +125 -0
- package/dist/src/hubspot-connector.js +390 -0
- package/dist/src/hubspot-deferred-capabilities.d.ts +6 -0
- package/dist/src/hubspot-deferred-capabilities.js +64 -0
- package/dist/src/hubspot-mirror-ui.d.ts +62 -0
- package/dist/src/hubspot-mirror-ui.js +152 -0
- package/dist/src/hubspot-oauth.d.ts +8 -0
- package/dist/src/hubspot-oauth.js +291 -0
- package/dist/src/hubspot-server.d.ts +24 -0
- package/dist/src/hubspot-server.js +116 -0
- package/dist/src/hubspot-twin.d.ts +65 -0
- package/dist/src/hubspot-twin.js +1558 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.js +94 -0
- package/dist/src/manifest.d.ts +2 -0
- package/dist/src/manifest.js +68 -0
- package/dist/src/portal.d.ts +20 -0
- package/dist/src/portal.js +30 -0
- package/dist/src/screens/account.d.ts +1 -0
- package/dist/src/screens/account.js +139 -0
- package/dist/src/screens/crm.d.ts +2 -0
- package/dist/src/screens/crm.js +153 -0
- package/dist/src/screens/developer.d.ts +4 -0
- package/dist/src/screens/developer.js +191 -0
- package/dist/src/screens/forms.d.ts +5 -0
- package/dist/src/screens/forms.js +126 -0
- package/dist/src/screens/page.d.ts +21 -0
- package/dist/src/screens/page.js +49 -0
- package/dist/src/screens/session.d.ts +1 -0
- package/dist/src/screens/session.js +32 -0
- package/dist/src/semantics/crm.d.ts +8 -0
- package/dist/src/semantics/crm.js +101 -0
- package/dist/src/webhooks.d.ts +12 -0
- package/dist/src/webhooks.js +77 -0
- package/package.json +75 -0
- package/src/accounts.ts +127 -0
- package/src/cli.ts +29 -0
- package/src/generated/surface.gen.json +1 -0
- package/src/generated/ui.gen.json +1 -0
- package/src/hubspot-areas.ts +155 -0
- package/src/hubspot-budget.ts +202 -0
- package/src/hubspot-capabilities.ts +1523 -0
- package/src/hubspot-conformance.ts +537 -0
- package/src/hubspot-connector.ts +419 -0
- package/src/hubspot-deferred-capabilities.ts +99 -0
- package/src/hubspot-journey.uitest.ts +104 -0
- package/src/hubspot-mirror-ui.ts +166 -0
- package/src/hubspot-oauth.tsx +296 -0
- package/src/hubspot-server.ts +115 -0
- package/src/hubspot-twin.ts +1534 -0
- package/src/index.ts +152 -0
- package/src/manifest.ts +96 -0
- package/src/portal.ts +40 -0
- package/src/screens/account.tsx +129 -0
- package/src/screens/crm.tsx +154 -0
- package/src/screens/developer.tsx +181 -0
- package/src/screens/forms.tsx +117 -0
- package/src/screens/page.tsx +55 -0
- package/src/screens/session.tsx +36 -0
- package/src/semantics/crm.ts +116 -0
- package/src/webhooks.ts +80 -0
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
var nw=Object.create;var{getPrototypeOf:iw,defineProperty:LK,getOwnPropertyNames:GE,getOwnPropertyDescriptor:rw}=Object,ZE=Object.prototype.hasOwnProperty;function zE(U){return this[U]}var ow,tw,Z2=(U,I,J)=>{var z=U!=null&&typeof U==="object";if(z){var v=I?ow??=new WeakMap:tw??=new WeakMap,Z=v.get(U);if(Z)return Z}J=U!=null?nw(iw(U)):{};let Y=I||!U||!U.__esModule?LK(J,"default",{value:U,enumerable:!0}):J;for(let L of GE(U))if(!ZE.call(Y,L))LK(Y,L,{get:zE.bind(U,L),enumerable:!0});if(z)v.set(U,Y);return Y},Mj=(U)=>{var I=(YE??=new WeakMap).get(U),J;if(I)return I;if(I=LK({},"__esModule",{value:!0}),U&&typeof U==="object"||typeof U==="function"){for(var z of GE(U))if(!ZE.call(I,z))LK(I,z,{get:zE.bind(U,z),enumerable:!(J=rw(U,z))||J.enumerable})}return YE.set(U,I),I},YE,hX=(U,I)=>()=>(I||U((I={exports:{}}).exports,I),I.exports);var sw=(U)=>U;function aw(U,I){this[U]=sw.bind(null,I)}var m1=(U,I)=>{for(var J in I)LK(U,J,{get:I[J],enumerable:!0,configurable:!0,set:aw.bind(I,J)})};var F8=(U,I)=>()=>(U&&(I=U(U=0)),I);var ew=((U)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(U,{get:(I,J)=>(typeof require<"u"?require:I)[J]}):U)(function(U){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+U+'" is not supported')});var WE=hX(($k)=>{(function(){function U(){if(a=!1,S0){var W=$k.unstable_now();x0=W;var V=!0;try{$:{m=!1,n&&(n=!1,Y0(h0),h0=-1),i=!0;var R=h;try{j:{Z(W);for(u=J(T);u!==null&&!(u.expirationTime>W&&L());){var N=u.callback;if(typeof N==="function"){u.callback=null,h=u.priorityLevel;var q=N(u.expirationTime<=W);if(W=$k.unstable_now(),typeof q==="function"){u.callback=q,Z(W),V=!0;break j}u===J(T)&&z(T),Z(W)}else z(T);u=J(T)}if(u!==null)V=!0;else{var G=J(c);G!==null&&S(Y,G.startTime-W),V=!1}}break $}finally{u=null,h=R,i=!1}V=void 0}}finally{V?Q():S0=!1}}}function I(W,V){var R=W.length;W.push(V);$:for(;0<R;){var N=R-1>>>1,q=W[N];if(0<v(q,V))W[N]=V,W[R]=q,R=N;else break $}}function J(W){return W.length===0?null:W[0]}function z(W){if(W.length===0)return null;var V=W[0],R=W.pop();if(R!==V){W[0]=R;$:for(var N=0,q=W.length,G=q>>>1;N<G;){var C=2*(N+1)-1,b=W[C],y=C+1,o=W[y];if(0>v(b,R))y<q&&0>v(o,b)?(W[N]=o,W[y]=R,N=y):(W[N]=b,W[C]=R,N=C);else if(y<q&&0>v(o,R))W[N]=o,W[y]=R,N=y;else break $}}return V}function v(W,V){var R=W.sortIndex-V.sortIndex;return R!==0?R:W.id-V.id}function Z(W){for(var V=J(c);V!==null;){if(V.callback===null)z(c);else if(V.startTime<=W)z(c),V.sortIndex=V.expirationTime,I(T,V);else break;V=J(c)}}function Y(W){if(n=!1,Z(W),!m)if(J(T)!==null)m=!0,S0||(S0=!0,Q());else{var V=J(c);V!==null&&S(Y,V.startTime-W)}}function L(){return a?!0:$k.unstable_now()-x0<X0?!1:!0}function S(W,V){h0=j0(function(){W($k.unstable_now())},V)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),$k.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var B=performance;$k.unstable_now=function(){return B.now()}}else{var g=Date,H=g.now();$k.unstable_now=function(){return g.now()-H}}var T=[],c=[],x=1,u=null,h=3,i=!1,m=!1,n=!1,a=!1,j0=typeof setTimeout==="function"?setTimeout:null,Y0=typeof clearTimeout==="function"?clearTimeout:null,C0=typeof setImmediate<"u"?setImmediate:null,S0=!1,h0=-1,X0=5,x0=-1;if(typeof C0==="function")var Q=function(){C0(U)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,D=K.port2;K.port1.onmessage=U,Q=function(){D.postMessage(null)}}else Q=function(){j0(U,0)};$k.unstable_IdlePriority=5,$k.unstable_ImmediatePriority=1,$k.unstable_LowPriority=4,$k.unstable_NormalPriority=3,$k.unstable_Profiling=null,$k.unstable_UserBlockingPriority=2,$k.unstable_cancelCallback=function(W){W.callback=null},$k.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"):X0=0<W?Math.floor(1000/W):5},$k.unstable_getCurrentPriorityLevel=function(){return h},$k.unstable_next=function(W){switch(h){case 1:case 2:case 3:var V=3;break;default:V=h}var R=h;h=V;try{return W()}finally{h=R}},$k.unstable_requestPaint=function(){a=!0},$k.unstable_runWithPriority=function(W,V){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var R=h;h=W;try{return V()}finally{h=R}},$k.unstable_scheduleCallback=function(W,V,R){var N=$k.unstable_now();switch(typeof R==="object"&&R!==null?(R=R.delay,R=typeof R==="number"&&0<R?N+R:N):R=N,W){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5000}return q=R+q,W={id:x++,callback:V,priorityLevel:W,startTime:R,expirationTime:q,sortIndex:-1},R>N?(W.sortIndex=R,I(c,W),J(T)===null&&W===J(c)&&(n?(Y0(h0),h0=-1):n=!0,S(Y,R-N))):(W.sortIndex=q,I(T,W),m||i||(m=!0,S0||(S0=!0,Q()))),W},$k.unstable_shouldYield=L,$k.unstable_wrapCallback=function(W){var V=h;return function(){var R=h;h=V;try{return W.apply(this,arguments)}finally{h=R}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var uZ=hX((jk,hV)=>{(function(){function U(e,V0){Object.defineProperty(z.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",V0[0],V0[1])}})}function I(e){if(e===null||typeof e!=="object")return null;return e=z0&&e[z0]||e["@@iterator"],typeof e==="function"?e:null}function J(e,V0){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var P$=e+"."+V0;D0[P$]||(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.",V0,e),D0[P$]=!0)}function z(e,V0,P$){this.props=e,this.context=V0,this.refs=Z0,this.updater=P$||L0}function v(){}function Z(e,V0,P$){this.props=e,this.context=V0,this.refs=Z0,this.updater=P$||L0}function Y(){}function L(e){return""+e}function S(e){try{L(e);var V0=!1}catch(d0){V0=!0}if(V0){V0=console;var P$=V0.error,l0=typeof Symbol==="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return P$.call(V0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",l0),L(e)}}function B(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===g0?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case q:return"Fragment";case C:return"Profiler";case G:return"StrictMode";case J0:return"Suspense";case K0:return"SuspenseList";case W0:return"Activity"}if(typeof e==="object")switch(typeof e.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case N:return"Portal";case y:return e.displayName||"Context";case b:return(e._context.displayName||"Context")+".Consumer";case o:var V0=e.render;return e=e.displayName,e||(e=V0.displayName||V0.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case A0:return V0=e.displayName||null,V0!==null?V0:B(e.type)||"Memo";case H0:V0=e._payload,e=e._init;try{return B(e(V0))}catch(P$){}}return null}function g(e){if(e===q)return"<>";if(typeof e==="object"&&e!==null&&e.$$typeof===H0)return"<...>";try{var V0=B(e);return V0?"<"+V0+">":"<...>"}catch(P$){return"<...>"}}function H(){var e=M0.A;return e===null?null:e.getOwner()}function T(){return Error("react-stack-top-frame")}function c(e){if(R0.call(e,"key")){var V0=Object.getOwnPropertyDescriptor(e,"key").get;if(V0&&V0.isReactWarning)return!1}return e.key!==void 0}function x(e,V0){function P$(){O0||(O0=!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)",V0))}P$.isReactWarning=!0,Object.defineProperty(e,"key",{get:P$,configurable:!0})}function u(){var e=B(this.type);return q$[e]||(q$[e]=!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.")),e=this.props.ref,e!==void 0?e:null}function h(e,V0,P$,l0,d0,n$){var a0=P$.ref;return e={$$typeof:R,type:e,key:V0,props:P$,_owner:l0},(a0!==void 0?a0:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:u}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:d0}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:n$}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function i(e,V0){return V0=h(e.type,V0,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(V0._store.validated=e._store.validated),V0}function m(e){n(e)?e._store&&(e._store.validated=1):typeof e==="object"&&e!==null&&e.$$typeof===H0&&(e._payload.status==="fulfilled"?n(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function n(e){return typeof e==="object"&&e!==null&&e.$$typeof===R}function a(e){var V0={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(P$){return V0[P$]})}function j0(e,V0){return typeof e==="object"&&e!==null&&e.key!=null?(S(e.key),a(""+e.key)):V0.toString(36)}function Y0(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(Y,Y):(e.status="pending",e.then(function(V0){e.status==="pending"&&(e.status="fulfilled",e.value=V0)},function(V0){e.status==="pending"&&(e.status="rejected",e.reason=V0)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function C0(e,V0,P$,l0,d0){var n$=typeof e;if(n$==="undefined"||n$==="boolean")e=null;var a0=!1;if(e===null)a0=!0;else switch(n$){case"bigint":case"string":case"number":a0=!0;break;case"object":switch(e.$$typeof){case R:case N:a0=!0;break;case H0:return a0=e._init,C0(a0(e._payload),V0,P$,l0,d0)}}if(a0){a0=e,d0=d0(a0);var X$=l0===""?"."+j0(a0,0):l0;return U0(d0)?(P$="",X$!=null&&(P$=X$.replace(s0,"$&/")+"/"),C0(d0,V0,P$,"",function(z$){return z$})):d0!=null&&(n(d0)&&(d0.key!=null&&(a0&&a0.key===d0.key||S(d0.key)),P$=i(d0,P$+(d0.key==null||a0&&a0.key===d0.key?"":(""+d0.key).replace(s0,"$&/")+"/")+X$),l0!==""&&a0!=null&&n(a0)&&a0.key==null&&a0._store&&!a0._store.validated&&(P$._store.validated=2),d0=P$),V0.push(d0)),1}if(a0=0,X$=l0===""?".":l0+":",U0(e))for(var u$=0;u$<e.length;u$++)l0=e[u$],n$=X$+j0(l0,u$),a0+=C0(l0,V0,P$,n$,d0);else if(u$=I(e),typeof u$==="function")for(u$===e.entries&&(i$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i$=!0),e=u$.call(e),u$=0;!(l0=e.next()).done;)l0=l0.value,n$=X$+j0(l0,u$++),a0+=C0(l0,V0,P$,n$,d0);else if(n$==="object"){if(typeof e.then==="function")return C0(Y0(e),V0,P$,l0,d0);throw V0=String(e),Error("Objects are not valid as a React child (found: "+(V0==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":V0)+"). If you meant to render a collection of children, use an array instead.")}return a0}function S0(e,V0,P$){if(e==null)return e;var l0=[],d0=0;return C0(e,l0,"","",function(n$){return V0.call(P$,n$,d0++)}),l0}function h0(e){if(e._status===-1){var V0=e._ioInfo;V0!=null&&(V0.start=V0.end=performance.now()),V0=e._result;var P$=V0();if(P$.then(function(d0){if(e._status===0||e._status===-1){e._status=1,e._result=d0;var n$=e._ioInfo;n$!=null&&(n$.end=performance.now()),P$.status===void 0&&(P$.status="fulfilled",P$.value=d0)}},function(d0){if(e._status===0||e._status===-1){e._status=2,e._result=d0;var n$=e._ioInfo;n$!=null&&(n$.end=performance.now()),P$.status===void 0&&(P$.status="rejected",P$.reason=d0)}}),V0=e._ioInfo,V0!=null){V0.value=P$;var l0=P$.displayName;typeof l0==="string"&&(V0.name=l0)}e._status===-1&&(e._status=0,e._result=P$)}if(e._status===1)return V0=e._result,V0===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?`,V0),"default"in V0||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'))`,V0),V0.default;throw e._result}function X0(){var e=M0.H;return e===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.`),e}function x0(){M0.asyncTransitions--}function Q(e){if(J$===null)try{var V0=("require"+Math.random()).slice(0,7);J$=(hV&&hV[V0]).call(hV,"timers").setImmediate}catch(P$){J$=function(l0){Lj===!1&&(Lj=!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 d0=new MessageChannel;d0.port1.onmessage=l0,d0.port2.postMessage(void 0)}}return J$(e)}function K(e){return 1<e.length&&typeof AggregateError==="function"?AggregateError(e):e[0]}function D(e,V0){V0!==Y$-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. "),Y$=V0}function W(e,V0,P$){var l0=M0.actQueue;if(l0!==null)if(l0.length!==0)try{V(l0),Q(function(){return W(e,V0,P$)});return}catch(d0){M0.thrownErrors.push(d0)}else M0.actQueue=null;0<M0.thrownErrors.length?(l0=K(M0.thrownErrors),M0.thrownErrors.length=0,P$(l0)):V0(e)}function V(e){if(!M$){M$=!0;var V0=0;try{for(;V0<e.length;V0++){var P$=e[V0];do{M0.didUsePromise=!1;var l0=P$(!1);if(l0!==null){if(M0.didUsePromise){e[V0]=P$,e.splice(0,V0);return}P$=l0}else break}while(1)}e.length=0}catch(d0){e.splice(0,V0+1),M0.thrownErrors.push(d0)}finally{M$=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var R=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),y=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),J0=Symbol.for("react.suspense"),K0=Symbol.for("react.suspense_list"),A0=Symbol.for("react.memo"),H0=Symbol.for("react.lazy"),W0=Symbol.for("react.activity"),z0=Symbol.iterator,D0={},L0={isMounted:function(){return!1},enqueueForceUpdate:function(e){J(e,"forceUpdate")},enqueueReplaceState:function(e){J(e,"replaceState")},enqueueSetState:function(e){J(e,"setState")}},k0=Object.assign,Z0={};Object.freeze(Z0),z.prototype.isReactComponent={},z.prototype.setState=function(e,V0){if(typeof e!=="object"&&typeof e!=="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,V0,"setState")},z.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var r={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(J2 in r)r.hasOwnProperty(J2)&&U(J2,r[J2]);v.prototype=z.prototype,r=Z.prototype=new v,r.constructor=Z,k0(r,z.prototype),r.isPureReactComponent=!0;var U0=Array.isArray,g0=Symbol.for("react.client.reference"),M0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},R0=Object.prototype.hasOwnProperty,o0=console.createTask?console.createTask:function(){return null};r={react_stack_bottom_frame:function(e){return e()}};var O0,P0,q$={},w0=r.react_stack_bottom_frame.bind(r,T)(),n0=o0(g(T)),i$=!1,s0=/\/+/g,Z$=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var V0=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(V0))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},Lj=!1,J$=null,Y$=0,dj=!1,M$=!1,F$=typeof queueMicrotask==="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:Q;r=Object.freeze({__proto__:null,c:function(e){return X0().useMemoCache(e)}});var J2={map:S0,forEach:function(e,V0,P$){S0(e,function(){V0.apply(this,arguments)},P$)},count:function(e){var V0=0;return S0(e,function(){V0++}),V0},toArray:function(e){return S0(e,function(V0){return V0})||[]},only:function(e){if(!n(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};jk.Activity=W0,jk.Children=J2,jk.Component=z,jk.Fragment=q,jk.Profiler=C,jk.PureComponent=Z,jk.StrictMode=G,jk.Suspense=J0,jk.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M0,jk.__COMPILER_RUNTIME=r,jk.act=function(e){var V0=M0.actQueue,P$=Y$;Y$++;var l0=M0.actQueue=V0!==null?V0:[],d0=!1;try{var n$=e()}catch(u$){M0.thrownErrors.push(u$)}if(0<M0.thrownErrors.length)throw D(V0,P$),e=K(M0.thrownErrors),M0.thrownErrors.length=0,e;if(n$!==null&&typeof n$==="object"&&typeof n$.then==="function"){var a0=n$;return F$(function(){d0||dj||(dj=!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(u$,z$){d0=!0,a0.then(function(_$){if(D(V0,P$),P$===0){try{V(l0),Q(function(){return W(_$,u$,z$)})}catch(L$){M0.thrownErrors.push(L$)}if(0<M0.thrownErrors.length){var A2=K(M0.thrownErrors);M0.thrownErrors.length=0,z$(A2)}}else u$(_$)},function(_$){D(V0,P$),0<M0.thrownErrors.length?(_$=K(M0.thrownErrors),M0.thrownErrors.length=0,z$(_$)):z$(_$)})}}}var X$=n$;if(D(V0,P$),P$===0&&(V(l0),l0.length!==0&&F$(function(){d0||dj||(dj=!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(() => ...)"))}),M0.actQueue=null),0<M0.thrownErrors.length)throw e=K(M0.thrownErrors),M0.thrownErrors.length=0,e;return{then:function(u$,z$){d0=!0,P$===0?(M0.actQueue=l0,Q(function(){return W(X$,u$,z$)})):u$(X$)}}},jk.cache=function(e){return function(){return e.apply(null,arguments)}},jk.cacheSignal=function(){return null},jk.captureOwnerStack=function(){var e=M0.getCurrentStack;return e===null?null:e()},jk.cloneElement=function(e,V0,P$){if(e===null||e===void 0)throw Error("The argument must be a React element, but you passed "+e+".");var l0=k0({},e.props),d0=e.key,n$=e._owner;if(V0!=null){var a0;$:{if(R0.call(V0,"ref")&&(a0=Object.getOwnPropertyDescriptor(V0,"ref").get)&&a0.isReactWarning){a0=!1;break $}a0=V0.ref!==void 0}a0&&(n$=H()),c(V0)&&(S(V0.key),d0=""+V0.key);for(X$ in V0)!R0.call(V0,X$)||X$==="key"||X$==="__self"||X$==="__source"||X$==="ref"&&V0.ref===void 0||(l0[X$]=V0[X$])}var X$=arguments.length-2;if(X$===1)l0.children=P$;else if(1<X$){a0=Array(X$);for(var u$=0;u$<X$;u$++)a0[u$]=arguments[u$+2];l0.children=a0}l0=h(e.type,d0,l0,n$,e._debugStack,e._debugTask);for(d0=2;d0<arguments.length;d0++)m(arguments[d0]);return l0},jk.createContext=function(e){return e={$$typeof:y,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:b,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},jk.createElement=function(e,V0,P$){for(var l0=2;l0<arguments.length;l0++)m(arguments[l0]);l0={};var d0=null;if(V0!=null)for(u$ in P0||!("__self"in V0)||"key"in V0||(P0=!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")),c(V0)&&(S(V0.key),d0=""+V0.key),V0)R0.call(V0,u$)&&u$!=="key"&&u$!=="__self"&&u$!=="__source"&&(l0[u$]=V0[u$]);var n$=arguments.length-2;if(n$===1)l0.children=P$;else if(1<n$){for(var a0=Array(n$),X$=0;X$<n$;X$++)a0[X$]=arguments[X$+2];Object.freeze&&Object.freeze(a0),l0.children=a0}if(e&&e.defaultProps)for(u$ in n$=e.defaultProps,n$)l0[u$]===void 0&&(l0[u$]=n$[u$]);d0&&x(l0,typeof e==="function"?e.displayName||e.name||"Unknown":e);var u$=1e4>M0.recentlyCreatedOwnerStacks++;return h(e,d0,l0,H(),u$?Error("react-stack-top-frame"):w0,u$?o0(g(e)):n0)},jk.createRef=function(){var e={current:null};return Object.seal(e),e},jk.forwardRef=function(e){e!=null&&e.$$typeof===A0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!=="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var V0={$$typeof:o,render:e},P$;return Object.defineProperty(V0,"displayName",{enumerable:!1,configurable:!0,get:function(){return P$},set:function(l0){P$=l0,e.name||e.displayName||(Object.defineProperty(e,"name",{value:l0}),e.displayName=l0)}}),V0},jk.isValidElement=n,jk.lazy=function(e){e={_status:-1,_result:e};var V0={$$typeof:H0,_payload:e,_init:h0},P$={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return e._ioInfo=P$,V0._debugInfo=[{awaited:P$}],V0},jk.memo=function(e,V0){e==null&&console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),V0={$$typeof:A0,type:e,compare:V0===void 0?null:V0};var P$;return Object.defineProperty(V0,"displayName",{enumerable:!1,configurable:!0,get:function(){return P$},set:function(l0){P$=l0,e.name||e.displayName||(Object.defineProperty(e,"name",{value:l0}),e.displayName=l0)}}),V0},jk.startTransition=function(e){var V0=M0.T,P$={};P$._updatedFibers=new Set,M0.T=P$;try{var l0=e(),d0=M0.S;d0!==null&&d0(P$,l0),typeof l0==="object"&&l0!==null&&typeof l0.then==="function"&&(M0.asyncTransitions++,l0.then(x0,x0),l0.then(Y,Z$))}catch(n$){Z$(n$)}finally{V0===null&&P$._updatedFibers&&(e=P$._updatedFibers.size,P$._updatedFibers.clear(),10<e&&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.")),V0!==null&&P$.types!==null&&(V0.types!==null&&V0.types!==P$.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."),V0.types=P$.types),M0.T=V0}},jk.unstable_useCacheRefresh=function(){return X0().useCacheRefresh()},jk.use=function(e){return X0().use(e)},jk.useActionState=function(e,V0,P$){return X0().useActionState(e,V0,P$)},jk.useCallback=function(e,V0){return X0().useCallback(e,V0)},jk.useContext=function(e){var V0=X0();return e.$$typeof===b&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),V0.useContext(e)},jk.useDebugValue=function(e,V0){return X0().useDebugValue(e,V0)},jk.useDeferredValue=function(e,V0){return X0().useDeferredValue(e,V0)},jk.useEffect=function(e,V0){return e==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),X0().useEffect(e,V0)},jk.useEffectEvent=function(e){return X0().useEffectEvent(e)},jk.useId=function(){return X0().useId()},jk.useImperativeHandle=function(e,V0,P$){return X0().useImperativeHandle(e,V0,P$)},jk.useInsertionEffect=function(e,V0){return e==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),X0().useInsertionEffect(e,V0)},jk.useLayoutEffect=function(e,V0){return e==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),X0().useLayoutEffect(e,V0)},jk.useMemo=function(e,V0){return X0().useMemo(e,V0)},jk.useOptimistic=function(e,V0){return X0().useOptimistic(e,V0)},jk.useReducer=function(e,V0,P$){return X0().useReducer(e,V0,P$)},jk.useRef=function(e){return X0().useRef(e)},jk.useState=function(e){return X0().useState(e)},jk.useSyncExternalStore=function(e,V0,P$){return X0().useSyncExternalStore(e,V0,P$)},jk.useTransition=function(){return X0().useTransition()},jk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var KE=hX((Uk)=>{var cH=Z2(uZ());(function(){function U(){}function I(g){return""+g}function J(g,H,T){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{I(c);var x=!1}catch(u){x=!0}return x&&(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&&c[Symbol.toStringTag]||c.constructor.name||"Object"),I(c)),{$$typeof:S,key:c==null?null:""+c,children:g,containerInfo:H,implementation:T}}function z(g,H){if(g==="font")return"";if(typeof H==="string")return H==="use-credentials"?H:""}function v(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":'something with type "'+typeof g+'"'}function Z(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":typeof g==="string"?JSON.stringify(g):typeof g==="number"?"`"+g+"`":'something with type "'+typeof g+'"'}function Y(){var g=B.H;return g===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.`),g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:U,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:U,C:U,L:U,m:U,X:U,S:U,M:U},p:0,findDOMNode:null},S=Symbol.for("react.portal"),B=cH.__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"),Uk.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Uk.createPortal=function(g,H){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!H||H.nodeType!==1&&H.nodeType!==9&&H.nodeType!==11)throw Error("Target container is not a DOM element.");return J(g,H,null,T)},Uk.flushSync=function(g){var H=B.T,T=L.p;try{if(B.T=null,L.p=2,g)return g()}finally{B.T=H,L.p=T,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.")}},Uk.preconnect=function(g,H){typeof g==="string"&&g?H!=null&&typeof H!=="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(H)):H!=null&&typeof H.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.",v(H.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(g)),typeof g==="string"&&(H?(H=H.crossOrigin,H=typeof H==="string"?H==="use-credentials"?H:"":void 0):H=null,L.d.C(g,H))},Uk.prefetchDNS=function(g){if(typeof g!=="string"||!g)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(g));else if(1<arguments.length){var H=arguments[1];typeof H==="object"&&H.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(H)):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(H))}typeof g==="string"&&L.d.D(g)},Uk.preinit=function(g,H){if(typeof g==="string"&&g?H==null||typeof H!=="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(H)):H.as!=="style"&&H.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(H.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(g)),typeof g==="string"&&H&&typeof H.as==="string"){var T=H.as,c=z(T,H.crossOrigin),x=typeof H.integrity==="string"?H.integrity:void 0,u=typeof H.fetchPriority==="string"?H.fetchPriority:void 0;T==="style"?L.d.S(g,typeof H.precedence==="string"?H.precedence:void 0,{crossOrigin:c,integrity:x,fetchPriority:u}):T==="script"&&L.d.X(g,{crossOrigin:c,integrity:x,fetchPriority:u,nonce:typeof H.nonce==="string"?H.nonce:void 0})}},Uk.preinitModule=function(g,H){var T="";if(typeof g==="string"&&g||(T+=" The `href` argument encountered was "+v(g)+"."),H!==void 0&&typeof H!=="object"?T+=" The `options` argument encountered was "+v(H)+".":H&&("as"in H)&&H.as!=="script"&&(T+=" The `as` option encountered was "+Z(H.as)+"."),T)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",T);else switch(T=H&&typeof H.as==="string"?H.as:"script",T){case"script":break;default:T=Z(T),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)',T,g)}if(typeof g==="string")if(typeof H==="object"&&H!==null){if(H.as==null||H.as==="script")T=z(H.as,H.crossOrigin),L.d.M(g,{crossOrigin:T,integrity:typeof H.integrity==="string"?H.integrity:void 0,nonce:typeof H.nonce==="string"?H.nonce:void 0})}else H==null&&L.d.M(g)},Uk.preload=function(g,H){var T="";if(typeof g==="string"&&g||(T+=" The `href` argument encountered was "+v(g)+"."),H==null||typeof H!=="object"?T+=" The `options` argument encountered was "+v(H)+".":typeof H.as==="string"&&H.as||(T+=" The `as` option encountered was "+v(H.as)+"."),T&&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',T),typeof g==="string"&&typeof H==="object"&&H!==null&&typeof H.as==="string"){T=H.as;var c=z(T,H.crossOrigin);L.d.L(g,T,{crossOrigin:c,integrity:typeof H.integrity==="string"?H.integrity:void 0,nonce:typeof H.nonce==="string"?H.nonce:void 0,type:typeof H.type==="string"?H.type:void 0,fetchPriority:typeof H.fetchPriority==="string"?H.fetchPriority:void 0,referrerPolicy:typeof H.referrerPolicy==="string"?H.referrerPolicy:void 0,imageSrcSet:typeof H.imageSrcSet==="string"?H.imageSrcSet:void 0,imageSizes:typeof H.imageSizes==="string"?H.imageSizes:void 0,media:typeof H.media==="string"?H.media:void 0})}},Uk.preloadModule=function(g,H){var T="";typeof g==="string"&&g||(T+=" The `href` argument encountered was "+v(g)+"."),H!==void 0&&typeof H!=="object"?T+=" The `options` argument encountered was "+v(H)+".":H&&("as"in H)&&typeof H.as!=="string"&&(T+=" The `as` option encountered was "+v(H.as)+"."),T&&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',T),typeof g==="string"&&(H?(T=z(H.as,H.crossOrigin),L.d.m(g,{as:typeof H.as==="string"&&H.as!=="script"?H.as:void 0,crossOrigin:T,integrity:typeof H.integrity==="string"?H.integrity:void 0})):L.d.m(g))},Uk.requestFormReset=function(g){L.d.r(g)},Uk.unstable_batchedUpdates=function(g,H){return g(H)},Uk.useFormState=function(g,H,T){return Y().useFormState(g,H,T)},Uk.useFormStatus=function(){return Y().useHostTransitionStatus()},Uk.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pV=hX((gd,OE)=>{var vk=Z2(KE());OE.exports=vk});var VE=hX((Ik)=>{var z2=Z2(WE()),H8=Z2(uZ()),xH=Z2(pV());(function(){function U($,j){for($=$.memoizedState;$!==null&&0<j;)$=$.next,j--;return $}function I($,j,X,O){if(X>=j.length)return O;var A=j[X],E=Y6($)?$.slice():wj({},$);return E[A]=I($[A],j,X+1,O),E}function J($,j,X){if(j.length!==X.length)console.warn("copyWithRename() expects paths of the same length");else{for(var O=0;O<X.length-1;O++)if(j[O]!==X[O]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return z($,j,X,0)}}function z($,j,X,O){var A=j[O],E=Y6($)?$.slice():wj({},$);return O+1===j.length?(E[X[O]]=E[A],Y6(E)?E.splice(A,1):delete E[A]):E[A]=z($[A],j,X,O+1),E}function v($,j,X){var O=j[X],A=Y6($)?$.slice():wj({},$);if(X+1===j.length)return Y6(A)?A.splice(O,1):delete A[O],A;return A[O]=v($[O],j,X+1),A}function Z(){return!1}function Y(){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 S(){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 B(){}function g(){}function H($){var j=[];return $.forEach(function(X){j.push(X)}),j.sort().join(", ")}function T($,j,X,O){return new t2($,j,X,O)}function c($,j){$.context===eY&&(jF($.current,2,j,$,null,null),zj())}function x($,j){if(fI!==null){var X=j.staleFamilies;j=j.updatedFamilies,xU(),UJ($.current,j,X),zj()}}function u($){fI=$}function h($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function i($){var j=$,X=$;if($.alternate)for(;j.return;)j=j.return;else{$=j;do j=$,(j.flags&4098)!==0&&(X=j.return),$=j.return;while($)}return j.tag===3?X:null}function m($){if($.tag===13){var j=$.memoizedState;if(j===null&&($=$.alternate,$!==null&&(j=$.memoizedState)),j!==null)return j.dehydrated}return null}function n($){if($.tag===31){var j=$.memoizedState;if(j===null&&($=$.alternate,$!==null&&(j=$.memoizedState)),j!==null)return j.dehydrated}return null}function a($){if(i($)!==$)throw Error("Unable to find node on an unmounted component.")}function j0($){var j=$.alternate;if(!j){if(j=i($),j===null)throw Error("Unable to find node on an unmounted component.");return j!==$?null:$}for(var X=$,O=j;;){var A=X.return;if(A===null)break;var E=A.alternate;if(E===null){if(O=A.return,O!==null){X=O;continue}break}if(A.child===E.child){for(E=A.child;E;){if(E===X)return a(A),$;if(E===O)return a(A),j;E=E.sibling}throw Error("Unable to find node on an unmounted component.")}if(X.return!==O.return)X=A,O=E;else{for(var f=!1,l=A.child;l;){if(l===X){f=!0,X=A,O=E;break}if(l===O){f=!0,O=A,X=E;break}l=l.sibling}if(!f){for(l=E.child;l;){if(l===X){f=!0,X=E,O=A;break}if(l===O){f=!0,O=E,X=A;break}l=l.sibling}if(!f)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(X.alternate!==O)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(X.tag!==3)throw Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?$:j}function Y0($){var j=$.tag;if(j===5||j===26||j===27||j===6)return $;for($=$.child;$!==null;){if(j=Y0($),j!==null)return j;$=$.sibling}return null}function C0($){if($===null||typeof $!=="object")return null;return $=LP&&$[LP]||$["@@iterator"],typeof $==="function"?$:null}function S0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===US?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case cz:return"Fragment";case QF:return"Profiler";case xO:return"StrictMode";case GF:return"Suspense";case ZF:return"SuspenseList";case zF: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 kz:return"Portal";case kJ:return $.displayName||"Context";case YF:return($._context.displayName||"Context")+".Consumer";case RW:var j=$.render;return $=$.displayName,$||($=j.displayName||j.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case yO:return j=$.displayName||null,j!==null?j:S0($.type)||"Memo";case rv:j=$._payload,$=$._init;try{return S0($(j))}catch(X){}}return null}function h0($){return typeof $.tag==="number"?X0($):typeof $.name==="string"?$.name:null}function X0($){var j=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(j._context.displayName||"Context")+".Consumer";case 10:return j.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=j.render,$=$.displayName||$.name||"",j.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return j;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return S0(j);case 8:return j===xO?"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 j==="function")return j.displayName||j.name||null;if(typeof j==="string")return j;break;case 29:if(j=$._debugInfo,j!=null){for(var X=j.length-1;0<=X;X--)if(typeof j[X].name==="string")return j[X].name}if($.return!==null)return X0($.return)}return null}function x0($){return{current:$}}function Q($,j){0>xQ?console.error("Unexpected pop."):(j!==KF[xQ]&&console.error("Unexpected Fiber popped."),$.current=WF[xQ],WF[xQ]=null,KF[xQ]=null,xQ--)}function K($,j,X){xQ++,WF[xQ]=$.current,KF[xQ]=X,$.current=j}function D($){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($,j){K(iY,j,$),K(EW,$,$),K(nY,null,$);var X=j.nodeType;switch(X){case 9:case 11:X=X===9?"#document":"#fragment",j=(j=j.documentElement)?(j=j.namespaceURI)?TJ(j):tQ:tQ;break;default:if(X=j.tagName,j=j.namespaceURI)j=TJ(j),j=wQ(j,X);else switch(X){case"svg":j=V8;break;case"math":j=cV;break;default:j=tQ}}X=X.toLowerCase(),X=wG(null,X),X={context:j,ancestorInfo:X},Q(nY,$),K(nY,X,$)}function V($){Q(nY,$),Q(EW,$),Q(iY,$)}function R(){return D(nY.current)}function N($){$.memoizedState!==null&&K(fO,$,$);var j=D(nY.current),X=$.type,O=wQ(j.context,X);X=wG(j.ancestorInfo,X),O={context:O,ancestorInfo:X},j!==O&&(K(EW,$,$),K(nY,O,$))}function q($){EW.current===$&&(Q(nY,$),Q(EW,$)),fO.current===$&&(Q(fO,$),HK._currentValue=bZ)}function G(){}function C(){if(TW===0){AP=console.log,qP=console.info,PP=console.warn,CP=console.error,RP=console.group,EP=console.groupCollapsed,TP=console.groupEnd;var $={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}TW++}function b(){if(TW--,TW===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:wj({},$,{value:AP}),info:wj({},$,{value:qP}),warn:wj({},$,{value:PP}),error:wj({},$,{value:CP}),group:wj({},$,{value:RP}),groupCollapsed:wj({},$,{value:EP}),groupEnd:wj({},$,{value:TP})})}0>TW&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function y($){var j=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=j,$.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&($=$.slice(29)),j=$.indexOf(`
|
|
19
|
+
`),j!==-1&&($=$.slice(j+1)),j=$.indexOf("react_stack_bottom_frame"),j!==-1&&(j=$.lastIndexOf(`
|
|
20
|
+
`,j)),j!==-1)$=$.slice(0,j);else return"";return $}function o($){if(OF===void 0)try{throw Error()}catch(X){var j=X.stack.trim().match(/\n( *(at )?)/);OF=j&&j[1]||"",BP=-1<X.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+OF+$+BP}function J0($,j){if(!$||VF)return"";var X=DF.get($);if(X!==void 0)return X;VF=!0,X=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var O=null;O=Q$.H,Q$.H=null,C();try{var A={DetermineComponentFrameRoot:function(){try{if(j){var B0=function(){throw Error()};if(Object.defineProperty(B0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(B0,[])}catch(m$){var e0=m$}Reflect.construct($,[],B0)}else{try{B0.call()}catch(m$){e0=m$}$.call(B0.prototype)}}else{try{throw Error()}catch(m$){e0=m$}(B0=$())&&typeof B0.catch==="function"&&B0.catch(function(){})}}catch(m$){if(m$&&e0&&typeof m$.stack==="string")return[m$.stack,e0.stack]}return[null,null]}};A.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var E=Object.getOwnPropertyDescriptor(A.DetermineComponentFrameRoot,"name");E&&E.configurable&&Object.defineProperty(A.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=A.DetermineComponentFrameRoot(),l=f[0],$0=f[1];if(l&&$0){var Q0=l.split(`
|
|
23
|
+
`),m0=$0.split(`
|
|
24
|
+
`);for(f=E=0;E<Q0.length&&!Q0[E].includes("DetermineComponentFrameRoot");)E++;for(;f<m0.length&&!m0[f].includes("DetermineComponentFrameRoot");)f++;if(E===Q0.length||f===m0.length)for(E=Q0.length-1,f=m0.length-1;1<=E&&0<=f&&Q0[E]!==m0[f];)f--;for(;1<=E&&0<=f;E--,f--)if(Q0[E]!==m0[f]){if(E!==1||f!==1)do if(E--,f--,0>f||Q0[E]!==m0[f]){var u0=`
|
|
25
|
+
`+Q0[E].replace(" at new "," at ");return $.displayName&&u0.includes("<anonymous>")&&(u0=u0.replace("<anonymous>",$.displayName)),typeof $==="function"&&DF.set($,u0),u0}while(1<=E&&0<=f);break}}}finally{VF=!1,Q$.H=O,b(),Error.prepareStackTrace=X}return Q0=(Q0=$?$.displayName||$.name:"")?o(Q0):"",typeof $==="function"&&DF.set($,Q0),Q0}function K0($,j){switch($.tag){case 26:case 27:case 5:return o($.type);case 16:return o("Lazy");case 13:return $.child!==j&&j!==null?o("Suspense Fallback"):o("Suspense");case 19:return o("SuspenseList");case 0:case 15:return J0($.type,!1);case 11:return J0($.type.render,!1);case 1:return J0($.type,!0);case 31:return o("Activity");default:return""}}function A0($){try{var j="",X=null;do{j+=K0($,X);var O=$._debugInfo;if(O)for(var A=O.length-1;0<=A;A--){var E=O[A];if(typeof E.name==="string"){var f=j;$:{var{name:l,env:$0,debugLocation:Q0}=E;if(Q0!=null){var m0=y(Q0),u0=m0.lastIndexOf(`
|
|
26
|
+
`),B0=u0===-1?m0:m0.slice(u0+1);if(B0.indexOf(l)!==-1){var e0=`
|
|
27
|
+
`+B0;break $}}e0=o(l+($0?" ["+$0+"]":""))}j=f+e0}}X=$,$=$.return}while($);return j}catch(m$){return`
|
|
28
|
+
Error generating stack: `+m$.message+`
|
|
29
|
+
`+m$.stack}}function H0($){return($=$?$.displayName||$.name:"")?o($):""}function W0(){if(ov===null)return null;var $=ov._debugOwner;return $!=null?h0($):null}function z0(){if(ov===null)return"";var $=ov;try{var j="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:j+=o($.type);break;case 13:j+=o("Suspense");break;case 19:j+=o("SuspenseList");break;case 31:j+=o("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||j!==""||(j+=H0($.type));break;case 11:$._debugOwner||j!==""||(j+=H0($.type.render))}for(;$;)if(typeof $.tag==="number"){var X=$;$=X._debugOwner;var O=X._debugStack;if($&&O){var A=y(O);A!==""&&(j+=`
|
|
30
|
+
`+A)}}else if($.debugStack!=null){var E=$.debugStack;($=$.owner)&&E&&(j+=`
|
|
31
|
+
`+y(E))}else break;var f=j}catch(l){f=`
|
|
32
|
+
Error generating stack: `+l.message+`
|
|
33
|
+
`+l.stack}return f}function D0($,j,X,O,A,E,f){var l=ov;L0($);try{return $!==null&&$._debugTask?$._debugTask.run(j.bind(null,X,O,A,E,f)):j(X,O,A,E,f)}finally{L0(l)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function L0($){Q$.getCurrentStack=$===null?null:z0,cJ=!1,ov=$}function k0($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function Z0($){try{return r($),!1}catch(j){return!0}}function r($){return""+$}function U0($,j){if(Z0($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",j,k0($)),r($)}function g0($,j){if(Z0($))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.",j,k0($)),r($)}function M0($){if(Z0($))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.",k0($)),r($)}function R0($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var j=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(j.isDisabled)return!0;if(!j.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{yz=j.inject($),O1=j}catch(X){console.error("React instrumentation encountered an error: %o.",X)}return j.checkDCE?!0:!1}function o0($){if(typeof GS==="function"&&ZS($),O1&&typeof O1.setStrictMode==="function")try{O1.setStrictMode(yz,$)}catch(j){xJ||(xJ=!0,console.error("React instrumentation encountered an error: %o",j))}}function O0($){return $>>>=0,$===0?32:31-(zS($)/WS|0)|0}function P0($){var j=$&42;if(j!==0)return j;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 q$($,j,X){var O=$.pendingLanes;if(O===0)return 0;var A=0,E=$.suspendedLanes,f=$.pingedLanes;$=$.warmLanes;var l=O&134217727;return l!==0?(O=l&~E,O!==0?A=P0(O):(f&=l,f!==0?A=P0(f):X||(X=l&~$,X!==0&&(A=P0(X))))):(l=O&~E,l!==0?A=P0(l):f!==0?A=P0(f):X||(X=O&~$,X!==0&&(A=P0(X)))),A===0?0:j!==0&&j!==A&&(j&E)===0&&(E=A&-A,X=j&-j,E>=X||E===32&&(X&4194048)!==0)?j:A}function w0($,j){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&j)===0}function n0($,j){switch($){case 1:case 2:case 4:case 8:case 64:return j+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 j+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 i$(){var $=uO;return uO<<=1,(uO&62914560)===0&&(uO=4194304),$}function s0($){for(var j=[],X=0;31>X;X++)j.push($);return j}function Z$($,j){$.pendingLanes|=j,j!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function Lj($,j,X,O,A,E){var f=$.pendingLanes;$.pendingLanes=X,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=X,$.entangledLanes&=X,$.errorRecoveryDisabledLanes&=X,$.shellSuspendCounter=0;var{entanglements:l,expirationTimes:$0,hiddenUpdates:Q0}=$;for(X=f&~X;0<X;){var m0=31-S1(X),u0=1<<m0;l[m0]=0,$0[m0]=-1;var B0=Q0[m0];if(B0!==null)for(Q0[m0]=null,m0=0;m0<B0.length;m0++){var e0=B0[m0];e0!==null&&(e0.lane&=-536870913)}X&=~u0}O!==0&&J$($,O,0),E!==0&&A===0&&$.tag!==0&&($.suspendedLanes|=E&~(f&~j))}function J$($,j,X){$.pendingLanes|=j,$.suspendedLanes&=~j;var O=31-S1(j);$.entangledLanes|=j,$.entanglements[O]=$.entanglements[O]|1073741824|X&261930}function Y$($,j){var X=$.entangledLanes|=j;for($=$.entanglements;X;){var O=31-S1(X),A=1<<O;A&j|$[O]&j&&($[O]|=j),X&=~A}}function dj($,j){var X=j&-j;return X=(X&42)!==0?1:M$(X),(X&($.suspendedLanes|j))!==0?0:X}function M$($){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 F$($,j,X){if(yJ)for($=$.pendingUpdatersLaneMap;0<X;){var O=31-S1(X),A=1<<O;$[O].add(j),X&=~A}}function J2($,j){if(yJ)for(var{pendingUpdatersLaneMap:X,memoizedUpdaters:O}=$;0<j;){var A=31-S1(j);$=1<<A,A=X[A],0<A.size&&(A.forEach(function(E){var f=E.alternate;f!==null&&O.has(f)||O.add(E)}),A.clear()),j&=~$}}function e($){return $&=-$,tv!==0&&tv<$?cX!==0&&cX<$?($&134217727)!==0?fJ:hO:cX:tv}function V0(){var $=b2.p;if($!==0)return $;return $=window.event,$===void 0?fJ:OP($.type)}function P$($,j){var X=b2.p;try{return b2.p=$,j()}finally{b2.p=X}}function l0($){delete $[t6],delete $[w1],delete $[LF],delete $[KS],delete $[OS]}function d0($){var j=$[t6];if(j)return j;for(var X=$.parentNode;X;){if(j=X[oY]||X[t6]){if(X=j.alternate,j.child!==null||X!==null&&X.child!==null)for($=_W($);$!==null;){if(X=$[t6])return X;$=_W($)}return j}$=X,X=$.parentNode}return null}function n$($){if($=$[t6]||$[oY]){var j=$.tag;if(j===5||j===6||j===13||j===31||j===26||j===27||j===3)return $}return null}function a0($){var j=$.tag;if(j===5||j===26||j===27||j===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function X$($){var j=$[gP];return j||(j=$[gP]={hoistableStyles:new Map,hoistableScripts:new Map}),j}function u$($){$[BW]=!0}function z$($,j){_$($,j),_$($+"Capture",j)}function _$($,j){FZ[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),FZ[$]=j;var X=$.toLowerCase();AF[X]=$,$==="onDoubleClick"&&(AF.ondblclick=$);for($=0;$<j.length;$++)NP.add(j[$])}function A2($,j){VS[j.type]||j.onChange||j.onInput||j.readOnly||j.disabled||j.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`.")),j.onChange||j.readOnly||j.disabled||j.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 L$($){if(kX.call(wP,$))return!0;if(kX.call(SP,$))return!1;if(DS.test($))return wP[$]=!0;return SP[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function I0($,j,X){if(L$(j)){if(!$.hasAttribute(j)){switch(typeof X){case"symbol":case"object":return X;case"function":return X;case"boolean":if(X===!1)return X}return X===void 0?void 0:null}if($=$.getAttribute(j),$===""&&X===!0)return!0;return U0(X,j),$===""+X?X:$}}function _0($,j,X){if(L$(j))if(X===null)$.removeAttribute(j);else{switch(typeof X){case"undefined":case"function":case"symbol":$.removeAttribute(j);return;case"boolean":var O=j.toLowerCase().slice(0,5);if(O!=="data-"&&O!=="aria-"){$.removeAttribute(j);return}}U0(X,j),$.setAttribute(j,""+X)}}function b0($,j,X){if(X===null)$.removeAttribute(j);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(j);return}U0(X,j),$.setAttribute(j,""+X)}}function p0($,j,X,O){if(O===null)$.removeAttribute(X);else{switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(X);return}U0(O,X),$.setAttributeNS(j,X,""+O)}}function c$($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return M0($),$;default:return""}}function K$($){var j=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(j==="checkbox"||j==="radio")}function O$($,j,X){var O=Object.getOwnPropertyDescriptor($.constructor.prototype,j);if(!$.hasOwnProperty(j)&&typeof O<"u"&&typeof O.get==="function"&&typeof O.set==="function"){var{get:A,set:E}=O;return Object.defineProperty($,j,{configurable:!0,get:function(){return A.call(this)},set:function(f){M0(f),X=""+f,E.call(this,f)}}),Object.defineProperty($,j,{enumerable:O.enumerable}),{getValue:function(){return X},setValue:function(f){M0(f),X=""+f},stopTracking:function(){$._valueTracker=null,delete $[j]}}}}function q2($){if(!$._valueTracker){var j=K$($)?"checked":"value";$._valueTracker=O$($,j,""+$[j])}}function E$($){if(!$)return!1;var j=$._valueTracker;if(!j)return!0;var X=j.getValue(),O="";return $&&(O=K$($)?$.checked?"true":"false":$.value),$=O,$!==X?(j.setValue($),!0):!1}function D$($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(j){return $.body}}function j2($){return $.replace(FS,function(j){return"\\"+j.charCodeAt(0).toString(16)+" "})}function U$($,j){j.checked===void 0||j.defaultChecked===void 0||cP||(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",W0()||"A component",j.type),cP=!0),j.value===void 0||j.defaultValue===void 0||kP||(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",W0()||"A component",j.type),kP=!0)}function C$($,j,X,O,A,E,f,l){if($.name="",f!=null&&typeof f!=="function"&&typeof f!=="symbol"&&typeof f!=="boolean"?(U0(f,"type"),$.type=f):$.removeAttribute("type"),j!=null)if(f==="number"){if(j===0&&$.value===""||$.value!=j)$.value=""+c$(j)}else $.value!==""+c$(j)&&($.value=""+c$(j));else f!=="submit"&&f!=="reset"||$.removeAttribute("value");j!=null?Jj($,f,c$(j)):X!=null?Jj($,f,c$(X)):O!=null&&$.removeAttribute("value"),A==null&&E!=null&&($.defaultChecked=!!E),A!=null&&($.checked=A&&typeof A!=="function"&&typeof A!=="symbol"),l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"?(U0(l,"name"),$.name=""+c$(l)):$.removeAttribute("name")}function W2($,j,X,O,A,E,f,l){if(E!=null&&typeof E!=="function"&&typeof E!=="symbol"&&typeof E!=="boolean"&&(U0(E,"type"),$.type=E),j!=null||X!=null){if(!(E!=="submit"&&E!=="reset"||j!==void 0&&j!==null)){q2($);return}X=X!=null?""+c$(X):"",j=j!=null?""+c$(j):X,l||j===$.value||($.value=j),$.defaultValue=j}O=O!=null?O:A,O=typeof O!=="function"&&typeof O!=="symbol"&&!!O,$.checked=l?$.checked:!!O,$.defaultChecked=!!O,f!=null&&typeof f!=="function"&&typeof f!=="symbol"&&typeof f!=="boolean"&&(U0(f,"name"),$.name=f),q2($)}function Jj($,j,X){j==="number"&&D$($.ownerDocument)===$||$.defaultValue===""+X||($.defaultValue=""+X)}function e$($,j){j.value==null&&(typeof j.children==="object"&&j.children!==null?H8.Children.forEach(j.children,function(X){X==null||typeof X==="string"||typeof X==="number"||typeof X==="bigint"||yP||(yP=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):j.dangerouslySetInnerHTML==null||fP||(fP=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),j.selected==null||xP||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),xP=!0)}function tj(){var $=W0();return $?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+$+"`.":""}function Qj($,j,X,O){if($=$.options,j){j={};for(var A=0;A<X.length;A++)j["$"+X[A]]=!0;for(X=0;X<$.length;X++)A=j.hasOwnProperty("$"+$[X].value),$[X].selected!==A&&($[X].selected=A),A&&O&&($[X].defaultSelected=!0)}else{X=""+c$(X),j=null;for(A=0;A<$.length;A++){if($[A].value===X){$[A].selected=!0,O&&($[A].defaultSelected=!0);return}j!==null||$[A].disabled||(j=$[A])}j!==null&&(j.selected=!0)}}function K2($,j){for($=0;$<mP.length;$++){var X=mP[$];if(j[X]!=null){var O=Y6(j[X]);j.multiple&&!O?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",X,tj()):!j.multiple&&O&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",X,tj())}}j.value===void 0||j.defaultValue===void 0||bP||(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"),bP=!0)}function N2($,j){j.value===void 0||j.defaultValue===void 0||uP||(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",W0()||"A component"),uP=!0),j.children!=null&&j.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function O2($,j,X){if(j!=null&&(j=""+c$(j),j!==$.value&&($.value=j),X==null)){$.defaultValue!==j&&($.defaultValue=j);return}$.defaultValue=X!=null?""+c$(X):""}function $U($,j,X,O){if(j==null){if(O!=null){if(X!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Y6(O)){if(1<O.length)throw Error("<textarea> can only have at most one child.");O=O[0]}X=O}X==null&&(X=""),j=X}X=c$(j),$.defaultValue=X,O=$.textContent,O===X&&O!==""&&O!==null&&($.value=O),q2($)}function Tj($,j){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-j?Tj($.children[0],j):$}function uj($){return" "+" ".repeat($)}function V2($){return"+ "+" ".repeat($)}function S2($){return"- "+" ".repeat($)}function Q2($){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 m2($,j){return hP.test($)?($=JSON.stringify($),$.length>j-2?8>j?'{"..."}':"{"+$.slice(0,j-7)+'..."}':"{"+$+"}"):$.length>j?5>j?'{"..."}':$.slice(0,j-3)+"...":$}function w2($,j,X){var O=120-2*X;if(j===null)return V2(X)+m2($,O)+`
|
|
36
|
+
`;if(typeof j==="string"){for(var A=0;A<j.length&&A<$.length&&j.charCodeAt(A)===$.charCodeAt(A);A++);return A>O-8&&10<A&&($="..."+$.slice(A-8),j="..."+j.slice(A-8)),V2(X)+m2($,O)+`
|
|
37
|
+
`+S2(X)+m2(j,O)+`
|
|
38
|
+
`}return uj(X)+m2($,O)+`
|
|
39
|
+
`}function D2($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(j,X){return X})}function F2($,j){switch(typeof $){case"string":return $=JSON.stringify($),$.length>j?5>j?'"..."':$.slice(0,j-4)+'..."':$;case"object":if($===null)return"null";if(Y6($))return"[...]";if($.$$typeof===wJ)return(j=S0($.type))?"<"+j+">":"<...>";var X=D2($);if(X==="Object"){X="",j-=2;for(var O in $)if($.hasOwnProperty(O)){var A=JSON.stringify(O);if(A!=='"'+O+'"'&&(O=A),j-=O.length-2,A=F2($[O],15>j?j:15),j-=A.length,0>j){X+=X===""?"...":", ...";break}X+=(X===""?"":",")+O+":"+A}return"{"+X+"}"}return X;case"function":return(j=$.displayName||$.name)?"function "+j:"function";default:return String($)}}function P2($,j){return typeof $!=="string"||hP.test($)?"{"+F2($,j-2)+"}":$.length>j-2?5>j?'"..."':'"'+$.slice(0,j-5)+'..."':'"'+$+'"'}function Pv($,j,X){var O=120-X.length-$.length,A=[],E;for(E in j)if(j.hasOwnProperty(E)&&E!=="children"){var f=P2(j[E],120-X.length-E.length-1);O-=E.length+f.length+2,A.push(E+"="+f)}return A.length===0?X+"<"+$+`>
|
|
40
|
+
`:0<O?X+"<"+$+" "+A.join(" ")+`>
|
|
41
|
+
`:X+"<"+$+`
|
|
42
|
+
`+X+" "+A.join(`
|
|
43
|
+
`+X+" ")+`
|
|
44
|
+
`+X+`>
|
|
45
|
+
`}function dX($,j,X){var O="",A=wj({},j),E;for(E in $)if($.hasOwnProperty(E)){delete A[E];var f=120-2*X-E.length-2,l=F2($[E],f);j.hasOwnProperty(E)?(f=F2(j[E],f),O+=V2(X)+E+": "+l+`
|
|
46
|
+
`,O+=S2(X)+E+": "+f+`
|
|
47
|
+
`):O+=V2(X)+E+": "+l+`
|
|
48
|
+
`}for(var $0 in A)A.hasOwnProperty($0)&&($=F2(A[$0],120-2*X-$0.length-2),O+=S2(X)+$0+": "+$+`
|
|
49
|
+
`);return O}function YI($,j,X,O){var A="",E=new Map;for(Q0 in X)X.hasOwnProperty(Q0)&&E.set(Q0.toLowerCase(),Q0);if(E.size===1&&E.has("children"))A+=Pv($,j,uj(O));else{for(var f in j)if(j.hasOwnProperty(f)&&f!=="children"){var l=120-2*(O+1)-f.length-1,$0=E.get(f.toLowerCase());if($0!==void 0){E.delete(f.toLowerCase());var Q0=j[f];$0=X[$0];var m0=P2(Q0,l);l=P2($0,l),typeof Q0==="object"&&Q0!==null&&typeof $0==="object"&&$0!==null&&D2(Q0)==="Object"&&D2($0)==="Object"&&(2<Object.keys(Q0).length||2<Object.keys($0).length||-1<m0.indexOf("...")||-1<l.indexOf("..."))?A+=uj(O+1)+f+`={{
|
|
50
|
+
`+dX(Q0,$0,O+2)+uj(O+1)+`}}
|
|
51
|
+
`:(A+=V2(O+1)+f+"="+m0+`
|
|
52
|
+
`,A+=S2(O+1)+f+"="+l+`
|
|
53
|
+
`)}else A+=uj(O+1)+f+"="+P2(j[f],l)+`
|
|
54
|
+
`}E.forEach(function(u0){if(u0!=="children"){var B0=120-2*(O+1)-u0.length-1;A+=S2(O+1)+u0+"="+P2(X[u0],B0)+`
|
|
55
|
+
`}}),A=A===""?uj(O)+"<"+$+`>
|
|
56
|
+
`:uj(O)+"<"+$+`
|
|
57
|
+
`+A+uj(O)+`>
|
|
58
|
+
`}if($=X.children,j=j.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(E="",typeof j==="string"||typeof j==="number"||typeof j==="bigint")E=""+j;A+=w2(E,""+$,O+1)}else if(typeof j==="string"||typeof j==="number"||typeof j==="bigint")A=$==null?A+w2(""+j,null,O+1):A+w2(""+j,void 0,O+1);return A}function Cv($,j){var X=Q2($);if(X===null){X="";for($=$.child;$;)X+=Cv($,j),$=$.sibling;return X}return uj(j)+"<"+X+`>
|
|
59
|
+
`}function nX($,j){var X=Tj($,j);if(X!==$&&($.children.length!==1||$.children[0]!==X))return uj(j)+`...
|
|
60
|
+
`+nX(X,j+1);X="";var O=$.fiber._debugInfo;if(O)for(var A=0;A<O.length;A++){var E=O[A].name;typeof E==="string"&&(X+=uj(j)+"<"+E+`>
|
|
61
|
+
`,j++)}if(O="",A=$.fiber.pendingProps,$.fiber.tag===6)O=w2(A,$.serverProps,j),j++;else if(E=Q2($.fiber),E!==null)if($.serverProps===void 0){O=j;var f=120-2*O-E.length-2,l="";for(Q0 in A)if(A.hasOwnProperty(Q0)&&Q0!=="children"){var $0=P2(A[Q0],15);if(f-=Q0.length+$0.length+2,0>f){l+=" ...";break}l+=" "+Q0+"="+$0}O=uj(O)+"<"+E+l+`>
|
|
62
|
+
`,j++}else $.serverProps===null?(O=Pv(E,A,V2(j)),j++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(O=YI(E,A,$.serverProps,j),j++);var Q0="";A=$.fiber.child;for(E=0;A&&E<$.children.length;)f=$.children[E],f.fiber===A?(Q0+=nX(f,j),E++):Q0+=Cv(A,j),A=A.sibling;A&&0<$.children.length&&(Q0+=uj(j)+`...
|
|
63
|
+
`),A=$.serverTail,$.serverProps===null&&j--;for($=0;$<A.length;$++)E=A[$],Q0=typeof E==="string"?Q0+(S2(j)+m2(E,120-2*j)+`
|
|
64
|
+
`):Q0+Pv(E.type,E.props,S2(j));return X+O+Q0}function $Q($){try{return`
|
|
65
|
+
|
|
66
|
+
`+nX($,0)}catch(j){return""}}function sI($,j,X){for(var O=j,A=null,E=0;O;)O===$&&(E=0),A={fiber:O,children:A!==null?[A]:[],serverProps:O===j?X:O===$?null:void 0,serverTail:[],distanceFromLeaf:E},E++,O=O.return;return A!==null?$Q(A).replaceAll(/^[+-]/gm,">"):""}function wG($,j){var X=wj({},$||lP),O={tag:j};if(pP.indexOf(j)!==-1&&(X.aTagInScope=null,X.buttonTagInScope=null,X.nobrTagInScope=null),_S.indexOf(j)!==-1&&(X.pTagInButtonScope=null),HS.indexOf(j)!==-1&&j!=="address"&&j!=="div"&&j!=="p"&&(X.listItemTagAutoclosing=null,X.dlItemTagAutoclosing=null),X.current=O,j==="form"&&(X.formTag=O),j==="a"&&(X.aTagInScope=O),j==="button"&&(X.buttonTagInScope=O),j==="nobr"&&(X.nobrTagInScope=O),j==="p"&&(X.pTagInButtonScope=O),j==="li"&&(X.listItemTagAutoclosing=O),j==="dd"||j==="dt")X.dlItemTagAutoclosing=O;return j==="#document"||j==="html"?X.containerTagInScope=null:X.containerTagInScope||(X.containerTagInScope=O),$!==null||j!=="#document"&&j!=="html"&&j!=="body"?X.implicitRootScope===!0&&(X.implicitRootScope=!1):X.implicitRootScope=!0,X}function kG($,j,X){switch(j){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(X)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!X)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return j!=="h1"&&j!=="h2"&&j!=="h3"&&j!=="h4"&&j!=="h5"&&j!=="h6";case"rp":case"rt":return MS.indexOf(j)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return j==null;case"head":return X||j===null;case"html":return X&&j==="#document"||j===null;case"body":return X&&(j==="#document"||j==="html")||j===null}return!0}function KW($,j){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 j.pTagInButtonScope;case"form":return j.formTag||j.pTagInButtonScope;case"li":return j.listItemTagAutoclosing;case"dd":case"dt":return j.dlItemTagAutoclosing;case"button":return j.buttonTagInScope;case"a":return j.aTagInScope;case"nobr":return j.nobrTagInScope}return null}function JY($,j){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===j)return $}$=$.return}return null}function jQ($,j){j=j||lP;var X=j.current;if(j=(X=kG($,X&&X.tag,j.implicitRootScope)?null:X)?null:KW($,j),j=X||j,!j)return!0;var O=j.tag;if(j=String(!!X)+"|"+$+"|"+O,pO[j])return!1;pO[j]=!0;var A=(j=ov)?JY(j.return,O):null,E=j!==null&&A!==null?sI(A,j,null):"",f="<"+$+">";return X?(X="",O==="table"&&$==="tr"&&(X+=" 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`,f,O,X,E)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,f,O,E),j&&($=j.return,A===null||$===null||A===$&&$._debugOwner===j._debugOwner||D0(A,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,O,f)})),!1}function aI($,j,X){if(X||kG("#text",j,!1))return!0;if(X="#text|"+j,pO[X])return!1;pO[X]=!0;var O=(X=ov)?JY(X,j):null;return X=X!==null&&O!==null?sI(O,X,X.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`,j,X):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`,j,X),!1}function GI($,j){if(j){var X=$.firstChild;if(X&&X===$.lastChild&&X.nodeType===3){X.nodeValue=j;return}}$.textContent=j}function W6($){return $.replace(qS,function(j,X){return X.toUpperCase()})}function iX($,j,X){var O=j.indexOf("--")===0;O||(-1<j.indexOf("-")?fz.hasOwnProperty(j)&&fz[j]||(fz[j]=!0,console.error("Unsupported style property %s. Did you mean %s?",j,W6(j.replace(AS,"ms-")))):LS.test(j)?fz.hasOwnProperty(j)&&fz[j]||(fz[j]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",j,j.charAt(0).toUpperCase()+j.slice(1))):!iP.test(X)||PF.hasOwnProperty(X)&&PF[X]||(PF[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,j,X.replace(iP,""))),typeof X==="number"&&(isNaN(X)?rP||(rP=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",j)):isFinite(X)||oP||(oP=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",j)))),X==null||typeof X==="boolean"||X===""?O?$.setProperty(j,""):j==="float"?$.cssFloat="":$[j]="":O?$.setProperty(j,X):typeof X!=="number"||X===0||tP.has(j)?j==="float"?$.cssFloat=X:(g0(X,j),$[j]=(""+X).trim()):$[j]=X+"px"}function QY($,j,X){if(j!=null&&typeof j!=="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(j&&Object.freeze(j),$=$.style,X!=null){if(j){var O={};if(X){for(var A in X)if(X.hasOwnProperty(A)&&!j.hasOwnProperty(A))for(var E=qF[A]||[A],f=0;f<E.length;f++)O[E[f]]=A}for(var l in j)if(j.hasOwnProperty(l)&&(!X||X[l]!==j[l]))for(A=qF[l]||[l],E=0;E<A.length;E++)O[A[E]]=l;l={};for(var $0 in j)for(A=qF[$0]||[$0],E=0;E<A.length;E++)l[A[E]]=$0;$0={};for(var Q0 in O)if(A=O[Q0],(E=l[Q0])&&A!==E&&(f=A+","+E,!$0[f])){$0[f]=!0,f=console;var m0=j[A];f.error.call(f,"%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.",m0==null||typeof m0==="boolean"||m0===""?"Removing":"Updating",A,E)}}for(var u0 in X)!X.hasOwnProperty(u0)||j!=null&&j.hasOwnProperty(u0)||(u0.indexOf("--")===0?$.setProperty(u0,""):u0==="float"?$.cssFloat="":$[u0]="");for(var B0 in j)Q0=j[B0],j.hasOwnProperty(B0)&&X[B0]!==Q0&&iX($,B0,Q0)}else for(O in j)j.hasOwnProperty(O)&&iX($,O,j[O])}function r1($){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 F1($){return PS.get($)||$}function cG($,j){if(kX.call(mz,j)&&mz[j])return!0;if(RS.test(j)){if($="aria-"+j.slice(4).toLowerCase(),$=sP.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",j),mz[j]=!0;if(j!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",j,$),mz[j]=!0}if(CS.test(j)){if($=j.toLowerCase(),$=sP.hasOwnProperty($)?$:null,$==null)return mz[j]=!0,!1;j!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",j,$),mz[j]=!0)}return!0}function Rv($,j){var X=[],O;for(O in j)cG($,O)||X.push(O);j=X.map(function(A){return"`"+A+"`"}).join(", "),X.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",j,$):1<X.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",j,$)}function eI($,j,X,O){if(kX.call(k1,j)&&k1[j])return!0;var A=j.toLowerCase();if(A==="onfocusin"||A==="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."),k1[j]=!0;if(typeof X==="function"&&($==="form"&&j==="action"||$==="input"&&j==="formAction"||$==="button"&&j==="formAction"))return!0;if(O!=null){if($=O.possibleRegistrationNames,O.registrationNameDependencies.hasOwnProperty(j))return!0;if(O=$.hasOwnProperty(A)?$[A]:null,O!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",j,O),k1[j]=!0;if(eP.test(j))return console.error("Unknown event handler property `%s`. It will be ignored.",j),k1[j]=!0}else if(eP.test(j))return ES.test(j)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",j),k1[j]=!0;if(TS.test(j)||BS.test(j))return!0;if(A==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),k1[j]=!0;if(A==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),k1[j]=!0;if(A==="is"&&X!==null&&X!==void 0&&typeof X!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof X),k1[j]=!0;if(typeof X==="number"&&isNaN(X))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",j),k1[j]=!0;if(dO.hasOwnProperty(A)){if(A=dO[A],A!==j)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",j,A),k1[j]=!0}else if(j!==A)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.",j,A),k1[j]=!0;switch(j){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 X){case"boolean":switch(j){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(A=j.toLowerCase().slice(0,5),A==="data-"||A==="aria-")return!0;return X?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()}.',X,j,j,X,j):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.',X,j,j,X,j,j,j),k1[j]=!0}case"function":case"symbol":return k1[j]=!0,!1;case"string":if(X==="false"||X==="true"){switch(j){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}?",X,j,X==="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".',j,X),k1[j]=!0}}return!0}function S4($,j,X){var O=[],A;for(A in j)eI($,A,j[A],X)||O.push(A);j=O.map(function(E){return"`"+E+"`"}).join(", "),O.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 ",j,$):1<O.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 ",j,$)}function o1($){return gS.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function jU(){}function rX($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function ZI($){var j=n$($);if(j&&($=j.stateNode)){var X=$[w1]||null;$:switch($=j.stateNode,j.type){case"input":if(C$($,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name),j=X.name,X.type==="radio"&&j!=null){for(X=$;X.parentNode;)X=X.parentNode;U0(j,"name"),X=X.querySelectorAll('input[name="'+j2(""+j)+'"][type="radio"]');for(j=0;j<X.length;j++){var O=X[j];if(O!==$&&O.form===$.form){var A=O[w1]||null;if(!A)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");C$(O,A.value,A.defaultValue,A.defaultValue,A.checked,A.defaultChecked,A.type,A.name)}}for(j=0;j<X.length;j++)O=X[j],O.form===$.form&&E$(O)}break $;case"textarea":O2($,X.value,X.defaultValue);break $;case"select":j=X.value,j!=null&&Qj($,!!X.multiple,j,!1)}}}function t1($,j,X){if(CF)return $(j,X);CF=!0;try{var O=$(j);return O}finally{if(CF=!1,uz!==null||hz!==null){if(zj(),uz&&(j=uz,$=hz,hz=uz=null,ZI(j),$))for(j=0;j<$.length;j++)ZI($[j])}}}function zI($,j){var X=$.stateNode;if(X===null)return null;var O=X[w1]||null;if(O===null)return null;X=O[j];$:switch(j){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(O=!O.disabled)||($=$.type,O=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!O;break $;default:$=!1}if($)return null;if(X&&typeof X!=="function")throw Error("Expected `"+j+"` listener to be a function, instead got a value of `"+typeof X+"` type.");return X}function s1(){if(nO)return nO;var $,j=EF,X=j.length,O,A="value"in tY?tY.value:tY.textContent,E=A.length;for($=0;$<X&&j[$]===A[$];$++);var f=X-$;for(O=1;O<=f&&j[X-O]===A[E-O];O++);return nO=A.slice($,1<O?1-O:void 0)}function oX($){var j=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&j===13&&($=13)):$=j,$===10&&($=13),32<=$||$===13?$:0}function WI(){return!0}function Ev(){return!1}function SU($){function j(X,O,A,E,f){this._reactName=X,this._targetInst=A,this.type=O,this.nativeEvent=E,this.target=f,this.currentTarget=null;for(var l in $)$.hasOwnProperty(l)&&(X=$[l],this[l]=X?X(E):E[l]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?WI:Ev,this.isPropagationStopped=Ev,this}return wj(j.prototype,{preventDefault:function(){this.defaultPrevented=!0;var X=this.nativeEvent;X&&(X.preventDefault?X.preventDefault():typeof X.returnValue!=="unknown"&&(X.returnValue=!1),this.isDefaultPrevented=WI)},stopPropagation:function(){var X=this.nativeEvent;X&&(X.stopPropagation?X.stopPropagation():typeof X.cancelBubble!=="unknown"&&(X.cancelBubble=!0),this.isPropagationStopped=WI)},persist:function(){},isPersistent:WI}),j}function YY($){var j=this.nativeEvent;return j.getModifierState?j.getModifierState($):($=pS[$])?!!j[$]:!1}function wU(){return YY}function Tv($,j){switch($){case"keyup":return jw.indexOf(j.keyCode)!==-1;case"keydown":return j.keyCode!==vC;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mU($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function $X($,j){switch($){case"compositionend":return mU(j);case"keypress":if(j.which!==XC)return null;return QC=!0,JC;case"textInput":return $=j.data,$===JC&&QC?null:$;default:return null}}function M4($,j){if(pz)return $==="compositionend"||!NF&&Tv($,j)?($=s1(),nO=EF=tY=null,pz=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(j.ctrlKey||j.altKey||j.metaKey)||j.ctrlKey&&j.altKey){if(j.char&&1<j.char.length)return j.char;if(j.which)return String.fromCharCode(j.which)}return null;case"compositionend":return IC&&j.locale!=="ko"?null:j.data;default:return null}}function tX($){var j=$&&$.nodeName&&$.nodeName.toLowerCase();return j==="input"?!!vw[$.type]:j==="textarea"?!0:!1}function UQ($){if(!bJ)return!1;$="on"+$;var j=$ in document;return j||(j=document.createElement("div"),j.setAttribute($,"return;"),j=typeof j[$]==="function"),j}function jX($,j,X,O){uz?hz?hz.push(O):hz=[O]:uz=O,j=KU(j,"onChange"),0<j.length&&(X=new iO("onChange","change",null,X,O),$.push({event:X,listeners:j}))}function xG($){SQ($,0)}function FU($){var j=a0($);if(E$(j))return $}function yG($,j){if($==="change")return j}function a1(){cW&&(cW.detachEvent("onpropertychange",UX),xW=cW=null)}function UX($){if($.propertyName==="value"&&FU(xW)){var j=[];jX(j,xW,$,rX($)),t1(xG,j)}}function GY($,j,X){$==="focusin"?(a1(),cW=j,xW=X,cW.attachEvent("onpropertychange",UX)):$==="focusout"&&a1()}function ZY($){if($==="selectionchange"||$==="keyup"||$==="keydown")return FU(xW)}function t4($,j){if($==="click")return FU(j)}function vX($,j){if($==="input"||$==="change")return FU(j)}function H1($,j){return $===j&&($!==0||1/$===1/j)||$!==$&&j!==j}function KI($,j){if(c1($,j))return!0;if(typeof $!=="object"||$===null||typeof j!=="object"||j===null)return!1;var X=Object.keys($),O=Object.keys(j);if(X.length!==O.length)return!1;for(O=0;O<X.length;O++){var A=X[O];if(!kX.call(j,A)||!c1($[A],j[A]))return!1}return!0}function vQ($){for(;$&&$.firstChild;)$=$.firstChild;return $}function IQ($,j){var X=vQ($);$=0;for(var O;X;){if(X.nodeType===3){if(O=$+X.textContent.length,$<=j&&O>=j)return{node:X,offset:j-$};$=O}$:{for(;X;){if(X.nextSibling){X=X.nextSibling;break $}X=X.parentNode}X=void 0}X=vQ(X)}}function OI($,j){return $&&j?$===j?!0:$&&$.nodeType===3?!1:j&&j.nodeType===3?OI($,j.parentNode):("contains"in $)?$.contains(j):$.compareDocumentPosition?!!($.compareDocumentPosition(j)&16):!1:!1}function sX($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var j=D$($.document);j instanceof $.HTMLIFrameElement;){try{var X=typeof j.contentWindow.location.href==="string"}catch(O){X=!1}if(X)$=j.contentWindow;else break;j=D$($.document)}return j}function VI($){var j=$&&$.nodeName&&$.nodeName.toLowerCase();return j&&(j==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||j==="textarea"||$.contentEditable==="true")}function kU($,j,X){var O=X.window===X?X.document:X.nodeType===9?X:X.ownerDocument;wF||lz==null||lz!==D$(O)||(O=lz,("selectionStart"in O)&&VI(O)?O={start:O.selectionStart,end:O.selectionEnd}:(O=(O.ownerDocument&&O.ownerDocument.defaultView||window).getSelection(),O={anchorNode:O.anchorNode,anchorOffset:O.anchorOffset,focusNode:O.focusNode,focusOffset:O.focusOffset}),yW&&KI(yW,O)||(yW=O,O=KU(SF,"onSelect"),0<O.length&&(j=new iO("onSelect","select",null,j,X),$.push({event:j,listeners:O}),j.target=lz)))}function DI($,j){var X={};return X[$.toLowerCase()]=j.toLowerCase(),X["Webkit"+$]="webkit"+j,X["Moz"+$]="moz"+j,X}function $1($){if(kF[$])return kF[$];if(!dz[$])return $;var j=dz[$],X;for(X in j)if(j.hasOwnProperty(X)&&X in GC)return kF[$]=j[X];return $}function w4($,j){OC.set($,j),z$(j,[$])}function fG($){for(var j=oO,X=0;X<$.length;X++){var O=$[X];if(typeof O==="object"&&O!==null)if(Y6(O)&&O.length===2&&typeof O[0]==="string"){if(j!==oO&&j!==bF)return yF;j=bF}else return yF;else{if(typeof O==="function"||typeof O==="string"&&50<O.length||j!==oO&&j!==fF)return yF;j=fF}}return j}function _1($,j,X,O){for(var A in $)kX.call($,A)&&A[0]!=="_"&&g6(A,$[A],j,X,O)}function g6($,j,X,O,A){switch(typeof j){case"object":if(j===null){j="null";break}else{if(j.$$typeof===wJ){var E=S0(j.type)||"…",f=j.key;j=j.props;var l=Object.keys(j),$0=l.length;if(f==null&&$0===0){j="<"+E+" />";break}if(3>O||$0===1&&l[0]==="children"&&f==null){j="<"+E+" … />";break}X.push([A+" ".repeat(O)+$,"<"+E]),f!==null&&g6("key",f,X,O+1,A),$=!1;for(var Q0 in j)Q0==="children"?j.children!=null&&(!Y6(j.children)||0<j.children.length)&&($=!0):kX.call(j,Q0)&&Q0[0]!=="_"&&g6(Q0,j[Q0],X,O+1,A);X.push(["",$?">…</"+E+">":"/>"]);return}if(E=Object.prototype.toString.call(j),E=E.slice(8,E.length-1),E==="Array"){if(Q0=fG(j),Q0===fF||Q0===oO){j=JSON.stringify(j);break}else if(Q0===bF){X.push([A+" ".repeat(O)+$,""]);for($=0;$<j.length;$++)E=j[$],g6(E[0],E[1],X,O+1,A);return}}if(E==="Promise"){if(j.status==="fulfilled"){if(E=X.length,g6($,j.value,X,O,A),X.length>E){X=X[E],X[1]="Promise<"+(X[1]||"Object")+">";return}}else if(j.status==="rejected"&&(E=X.length,g6($,j.reason,X,O,A),X.length>E)){X=X[E],X[1]="Rejected Promise<"+X[1]+">";return}X.push([" ".repeat(O)+$,"Promise"]);return}E==="Object"&&(Q0=Object.getPrototypeOf(j))&&typeof Q0.constructor==="function"&&(E=Q0.constructor.name),X.push([A+" ".repeat(O)+$,E==="Object"?3>O?"":"…":E]),3>O&&_1(j,X,O+1,A);return}case"function":j=j.name===""?"() => {}":j.name+"() {}";break;case"string":j=j===Zw?"…":JSON.stringify(j);break;case"undefined":j="undefined";break;case"boolean":j=j?"true":"false";break;default:j=String(j)}X.push([A+" ".repeat(O)+$,j])}function aX($,j,X,O){var A=!0;for(f in $)f in j||(X.push([tO+" ".repeat(O)+f,"…"]),A=!1);for(var E in j)if(E in $){var f=$[E],l=j[E];if(f!==l){if(O===0&&E==="children")A=" ".repeat(O)+E,X.push([tO+A,"…"],[sO+A,"…"]);else{if(!(3<=O)){if(typeof f==="object"&&typeof l==="object"&&f!==null&&l!==null&&f.$$typeof===l.$$typeof)if(l.$$typeof===wJ){if(f.type===l.type&&f.key===l.key){f=S0(l.type)||"…",A=" ".repeat(O)+E,f="<"+f+" … />",X.push([tO+A,f],[sO+A,f]),A=!1;continue}}else{var $0=Object.prototype.toString.call(f),Q0=Object.prototype.toString.call(l);if($0===Q0&&(Q0==="[object Object]"||Q0==="[object Array]")){$0=[FC+" ".repeat(O)+E,Q0==="[object Array]"?"Array":""],X.push($0),Q0=X.length,aX(f,l,X,O+1)?Q0===X.length&&($0[1]="Referentially unequal but deeply equal objects. Consider memoization."):A=!1;continue}}else if(typeof f==="function"&&typeof l==="function"&&f.name===l.name&&f.length===l.length&&($0=Function.prototype.toString.call(f),Q0=Function.prototype.toString.call(l),$0===Q0)){f=l.name===""?"() => {}":l.name+"() {}",X.push([FC+" ".repeat(O)+E,f+" Referentially unequal function closure. Consider memoization."]);continue}}g6(E,f,X,O,tO),g6(E,l,X,O,sO)}A=!1}}else X.push([sO+" ".repeat(O)+E,"…"]),A=!1;return A}function cU($){fj=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function L4($,j,X,O){BU&&(aY.start=j,aY.end=X,yQ.color="warning",yQ.tooltipText=O,yQ.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,O,aY)):performance.measure(O,aY))}function IX($,j,X){L4($,j,X,"Reconnect")}function Bv($,j,X,O,A){var E=X0($);if(E!==null&&BU){var{alternate:f,actualDuration:l}=$;if(f===null||f.child!==$.child)for(var $0=$.child;$0!==null;$0=$0.sibling)l-=$0.actualDuration;O=0.5>l?O?"tertiary-light":"primary-light":10>l?O?"tertiary":"primary":100>l?O?"tertiary-dark":"primary-dark":"error";var Q0=$.memoizedProps;l=$._debugTask,Q0!==null&&f!==null&&f.memoizedProps!==Q0?($0=[zw],Q0=aX(f.memoizedProps,Q0,$0,0),1<$0.length&&(Q0&&!sY&&(f.lanes&A)===0&&100<$.actualDuration?(sY=!0,$0[0]=Ww,yQ.color="warning",yQ.tooltipText=HC):(yQ.color=O,yQ.tooltipText=E),yQ.properties=$0,aY.start=j,aY.end=X,l!=null?l.run(performance.measure.bind(performance,""+E,aY)):performance.measure(""+E,aY))):l!=null?l.run(console.timeStamp.bind(console,E,j,X,xI,void 0,O)):console.timeStamp(E,j,X,xI,void 0,O)}}function eX($,j,X,O){if(BU){var A=X0($);if(A!==null){for(var E=null,f=[],l=0;l<O.length;l++){var $0=O[l];E==null&&$0.source!==null&&(E=$0.source._debugTask),$0=$0.value,f.push(["Error",typeof $0==="object"&&$0!==null&&typeof $0.message==="string"?String($0.message):String($0)])}$.key!==null&&g6("key",$.key,f,0,""),$.memoizedProps!==null&&_1($.memoizedProps,f,0,""),E==null&&(E=$._debugTask),$={start:j,end:X,detail:{devtools:{color:"error",track:xI,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:f}}},E?E.run(performance.measure.bind(performance,""+A,$)):performance.measure(""+A,$)}}}function s4($,j,X,O,A){if(A!==null){if(BU){var E=X0($);if(E!==null){O=[];for(var f=0;f<A.length;f++){var l=A[f].value;O.push(["Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$.key!==null&&g6("key",$.key,O,0,""),$.memoizedProps!==null&&_1($.memoizedProps,O,0,""),j={start:j,end:X,detail:{devtools:{color:"error",track:xI,tooltipText:"A lifecycle or effect errored",properties:O}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+E,j)):performance.measure(""+E,j)}}}else E=X0($),E!==null&&BU&&(A=1>O?"secondary-light":100>O?"secondary":500>O?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,E,j,X,xI,void 0,A)):console.timeStamp(E,j,X,xI,void 0,A))}function XQ($,j,X,O){if(BU&&!(j<=$)){var A=(X&738197653)===X?"tertiary-dark":"primary-dark";X=(X&536870912)===X?"Prepared":(X&201326741)===X?"Hydrated":"Render",O?O.run(console.timeStamp.bind(console,X,$,j,fj,kj,A)):console.timeStamp(X,$,j,fj,kj,A)}}function XX($,j,X,O){!BU||j<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",O?O.run(console.timeStamp.bind(console,"Prewarm",$,j,fj,kj,X)):console.timeStamp("Prewarm",$,j,fj,kj,X))}function $J($,j,X,O){!BU||j<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",O?O.run(console.timeStamp.bind(console,"Suspended",$,j,fj,kj,X)):console.timeStamp("Suspended",$,j,fj,kj,X))}function jJ($,j,X,O,A,E){if(BU&&!(j<=$)){X=[];for(var f=0;f<O.length;f++){var l=O[f].value;X.push(["Recoverable Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$={start:$,end:j,detail:{devtools:{color:"primary-dark",track:fj,trackGroup:kj,tooltipText:A?"Hydration Failed":"Recovered after Error",properties:X}}},E?E.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function JX($,j,X,O){!BU||j<=$||(O?O.run(console.timeStamp.bind(console,"Errored",$,j,fj,kj,"error")):console.timeStamp("Errored",$,j,fj,kj,"error"))}function FI($,j,X,O){!BU||j<=$||(O?O.run(console.timeStamp.bind(console,X,$,j,fj,kj,"secondary-light")):console.timeStamp(X,$,j,fj,kj,"secondary-light"))}function HI($,j,X,O,A){if(BU&&!(j<=$)){for(var E=[],f=0;f<X.length;f++){var l=X[f].value;E.push(["Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$={start:$,end:j,detail:{devtools:{color:"error",track:fj,trackGroup:kj,tooltipText:O?"Remaining Effects Errored":"Commit Errored",properties:E}}},A?A.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function K6($,j,X){!BU||j<=$||(X?X.run(console.timeStamp.bind(console,"Animating",$,j,fj,kj,"secondary-dark")):console.timeStamp("Animating",$,j,fj,kj,"secondary-dark"))}function j1(){for(var $=nz,j=mF=nz=0;j<$;){var X=yI[j];yI[j++]=null;var O=yI[j];yI[j++]=null;var A=yI[j];yI[j++]=null;var E=yI[j];if(yI[j++]=null,O!==null&&A!==null){var f=O.pending;f===null?A.next=A:(A.next=f.next,f.next=A),O.pending=A}E!==0&&bG(X,A,E)}}function a4($,j,X,O){yI[nz++]=$,yI[nz++]=j,yI[nz++]=X,yI[nz++]=O,mF|=O,$.lanes|=O,$=$.alternate,$!==null&&($.lanes|=O)}function QX($,j,X,O){return a4($,j,X,O),YX($)}function A4($,j){return a4($,null,null,j),YX($)}function bG($,j,X){$.lanes|=X;var O=$.alternate;O!==null&&(O.lanes|=X);for(var A=!1,E=$.return;E!==null;)E.childLanes|=X,O=E.alternate,O!==null&&(O.childLanes|=X),E.tag===22&&($=E.stateNode,$===null||$._visibility&fW||(A=!0)),$=E,E=E.return;return $.tag===3?(E=$.stateNode,A&&j!==null&&(A=31-S1(X),$=E.hiddenUpdates,O=$[A],O===null?$[A]=[j]:O.push(j),j.lane=X|536870912),E):null}function YX($){if(zK>Ew)throw wZ=zK=0,WK=_H=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.");wZ>Tw&&(wZ=0,WK=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&&G1($);for(var j=$,X=j.return;X!==null;)j.alternate===null&&(j.flags&4098)!==0&&G1($),j=X,X=j.return;return j.tag===3?j.stateNode:null}function e1($){if(fI===null)return $;var j=fI($);return j===void 0?$:j.current}function M1($){if(fI===null)return $;var j=fI($);return j===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(j=e1($.render),$.render!==j)?(j={$$typeof:RW,render:j},$.displayName!==void 0&&(j.displayName=$.displayName),j):$:j.current}function zY($,j){if(fI===null)return!1;var X=$.elementType;j=j.type;var O=!1,A=typeof j==="object"&&j!==null?j.$$typeof:null;switch($.tag){case 1:typeof j==="function"&&(O=!0);break;case 0:typeof j==="function"?O=!0:A===rv&&(O=!0);break;case 11:A===RW?O=!0:A===rv&&(O=!0);break;case 14:case 15:A===yO?O=!0:A===rv&&(O=!0);break;default:return!1}return O&&($=fI(X),$!==void 0&&$===fI(j))?!0:!1}function WY($){fI!==null&&typeof WeakSet==="function"&&(iz===null&&(iz=new WeakSet),iz.add($))}function UJ($,j,X){do{var O=$,A=O.alternate,E=O.child,f=O.sibling,l=O.tag;O=O.type;var $0=null;switch(l){case 0:case 15:case 1:$0=O;break;case 11:$0=O.render}if(fI===null)throw Error("Expected resolveFamily to be set during hot reload.");var Q0=!1;if(O=!1,$0!==null&&($0=fI($0),$0!==void 0&&(X.has($0)?O=!0:j.has($0)&&(l===1?O=!0:Q0=!0))),iz!==null&&(iz.has($)||A!==null&&iz.has(A))&&(O=!0),O&&($._debugNeedsRemount=!0),O||Q0)A=A4($,2),A!==null&&s$(A,$,2);if(E===null||O||UJ(E,j,X),f===null)break;$=f}while(1)}function t2($,j,X,O){this.tag=$,this.key=X,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=j,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=O,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,_C||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function nj($){return $=$.prototype,!(!$||!$.isReactComponent)}function N6($,j){var X=$.alternate;switch(X===null?(X=T($.tag,j,$.key,$.mode),X.elementType=$.elementType,X.type=$.type,X.stateNode=$.stateNode,X._debugOwner=$._debugOwner,X._debugStack=$._debugStack,X._debugTask=$._debugTask,X._debugHookTypes=$._debugHookTypes,X.alternate=$,$.alternate=X):(X.pendingProps=j,X.type=$.type,X.flags=0,X.subtreeFlags=0,X.deletions=null,X.actualDuration=-0,X.actualStartTime=-1.1),X.flags=$.flags&65011712,X.childLanes=$.childLanes,X.lanes=$.lanes,X.child=$.child,X.memoizedProps=$.memoizedProps,X.memoizedState=$.memoizedState,X.updateQueue=$.updateQueue,j=$.dependencies,X.dependencies=j===null?null:{lanes:j.lanes,firstContext:j.firstContext,_debugThenableState:j._debugThenableState},X.sibling=$.sibling,X.index=$.index,X.ref=$.ref,X.refCleanup=$.refCleanup,X.selfBaseDuration=$.selfBaseDuration,X.treeBaseDuration=$.treeBaseDuration,X._debugInfo=$._debugInfo,X._debugNeedsRemount=$._debugNeedsRemount,X.tag){case 0:case 15:X.type=e1($.type);break;case 1:X.type=e1($.type);break;case 11:X.type=M1($.type)}return X}function vJ($,j){$.flags&=65011714;var X=$.alternate;return X===null?($.childLanes=0,$.lanes=j,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=X.childLanes,$.lanes=X.lanes,$.child=X.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=X.memoizedProps,$.memoizedState=X.memoizedState,$.updateQueue=X.updateQueue,$.type=X.type,j=X.dependencies,$.dependencies=j===null?null:{lanes:j.lanes,firstContext:j.firstContext,_debugThenableState:j._debugThenableState},$.selfBaseDuration=X.selfBaseDuration,$.treeBaseDuration=X.treeBaseDuration),$}function GX($,j,X,O,A,E){var f=0,l=$;if(typeof $==="function")nj($)&&(f=1),l=e1(l);else if(typeof $==="string")f=R(),f=l3($,X,f)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case zF:return j=T(31,X,j,A),j.elementType=zF,j.lanes=E,j;case cz:return ZX(X.children,A,E,j);case xO:f=8,A|=V1,A|=xX;break;case QF:return $=X,O=A,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),j=T(12,$,j,O|Pj),j.elementType=QF,j.lanes=E,j.stateNode={effectDuration:0,passiveEffectDuration:0},j;case GF:return j=T(13,X,j,A),j.elementType=GF,j.lanes=E,j;case ZF:return j=T(19,X,j,A),j.elementType=ZF,j.lanes=E,j;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case kJ:f=10;break $;case YF:f=9;break $;case RW:f=11,l=M1(l);break $;case yO:f=14;break $;case rv:f=16,l=null;break $}if(l="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)l+=" 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?X="null":Y6($)?X="array":$!==void 0&&$.$$typeof===wJ?(X="<"+(S0($.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):X=typeof $,(f=O?h0(O):null)&&(l+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+f+"`."),f=29,X=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(X+"."+l)),l=null}return j=T(f,X,j,A),j.elementType=$,j.type=l,j.lanes=E,j._debugOwner=O,j}function gv($,j,X){return j=GX($.type,$.key,$.props,$._owner,j,X),j._debugOwner=$._owner,j._debugStack=$._debugStack,j._debugTask=$._debugTask,j}function ZX($,j,X,O){return $=T(7,$,O,j),$.lanes=X,$}function KY($,j,X){return $=T(6,$,null,j),$.lanes=X,$}function mG($){var j=T(18,null,null,Xj);return j.stateNode=$,j}function _I($,j,X){return j=T(4,$.children!==null?$.children:[],$.key,j),j.lanes=X,j.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},j}function S6($,j){if(typeof $==="object"&&$!==null){var X=uF.get($);if(X!==void 0)return X;return j={value:$,source:j,stack:A0(j)},uF.set($,j),j}return{value:$,source:j,stack:A0(j)}}function $v($,j){Nv(),rz[oz++]=bW,rz[oz++]=aO,aO=$,bW=j}function jv($,j,X){Nv(),bI[mI++]=bQ,bI[mI++]=mQ,bI[mI++]=_Z,_Z=$;var O=bQ;$=mQ;var A=32-S1(O)-1;O&=~(1<<A),X+=1;var E=32-S1(j)+A;if(30<E){var f=A-A%5;E=(O&(1<<f)-1).toString(32),O>>=f,A-=f,bQ=1<<32-S1(j)+A|X<<A|O,mQ=E+$}else bQ=1<<E|X<<A|O,mQ=$}function JQ($){Nv(),$.return!==null&&($v($,1),jv($,1,0))}function Q4($){for(;$===aO;)aO=rz[--oz],rz[oz]=null,bW=rz[--oz],rz[oz]=null;for(;$===_Z;)_Z=bI[--mI],bI[mI]=null,mQ=bI[--mI],bI[mI]=null,bQ=bI[--mI],bI[mI]=null}function QQ(){return Nv(),_Z!==null?{id:bQ,overflow:mQ}:null}function uG($,j){Nv(),bI[mI++]=bQ,bI[mI++]=mQ,bI[mI++]=_Z,bQ=j.id,mQ=j.overflow,_Z=$}function Nv(){lj||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function zX($,j){if($.return===null){if(sv===null)sv={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:j};else{if(sv.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");sv.distanceFromLeaf>j&&(sv.distanceFromLeaf=j)}return sv}var X=zX($.return,j+1).children;if(0<X.length&&X[X.length-1].fiber===$)return X=X[X.length-1],X.distanceFromLeaf>j&&(X.distanceFromLeaf=j),X;return j={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:j},X.push(j),j}function hG(){lj&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function k4($,j){mJ||($=zX($,0),$.serverProps=null,j!==null&&(j=gz(j),$.serverTail.push(j)))}function uU($){var j=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,X="",O=sv;throw O!==null&&(sv=null,X=$Q(O)),IJ(S6(Error("Hydration failed because the server rendered "+(j?"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`+X),$)),hF}function OY($){var{stateNode:j,type:X,memoizedProps:O}=$;switch(j[t6]=$,j[w1]=O,Kv(X,O),X){case"dialog":vj("cancel",j),vj("close",j);break;case"iframe":case"object":case"embed":vj("load",j);break;case"video":case"audio":for(X=0;X<KK.length;X++)vj(KK[X],j);break;case"source":vj("error",j);break;case"img":case"image":case"link":vj("error",j),vj("load",j);break;case"details":vj("toggle",j);break;case"input":A2("input",O),vj("invalid",j),U$(j,O),W2(j,O.value,O.defaultValue,O.checked,O.defaultChecked,O.type,O.name,!0);break;case"option":e$(j,O);break;case"select":A2("select",O),vj("invalid",j),K2(j,O);break;case"textarea":A2("textarea",O),vj("invalid",j),N2(j,O),$U(j,O.value,O.defaultValue,O.children)}X=O.children,typeof X!=="string"&&typeof X!=="number"&&typeof X!=="bigint"||j.textContent===""+X||O.suppressHydrationWarning===!0||z1(j.textContent,X)?(O.popover!=null&&(vj("beforetoggle",j),vj("toggle",j)),O.onScroll!=null&&vj("scroll",j),O.onScrollEnd!=null&&vj("scrollend",j),O.onClick!=null&&(j.onclick=jU),j=!0):j=!1,j||uU($,!0)}function k2($){for(s6=$.return;s6;)switch(s6.tag){case 5:case 31:case 13:uI=!1;return;case 27:case 3:uI=!0;return;default:s6=s6.return}}function cj($){if($!==s6)return!1;if(!lj)return k2($),lj=!0,!1;var j=$.tag,X;if(X=j!==3&&j!==27){if(X=j===5)X=$.type,X=!(X!=="form"&&X!=="button")||cI($.type,$.memoizedProps);X=!X}if(X&&gU){for(X=gU;X;){var O=zX($,0),A=gz(X);O.serverTail.push(A),X=A.type==="Suspense"?VZ(X):r6(X.nextSibling)}uU($)}if(k2($),j===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.");gU=VZ($)}else if(j===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.");gU=VZ($)}else j===27?(j=gU,gJ($.type)?($=NH,NH=null,gU=$):gU=j):gU=s6?r6($.stateNode.nextSibling):null;return!0}function MI(){gU=s6=null,mJ=lj=!1}function YQ(){var $=$G;return $!==null&&(b1===null?b1=$:b1.push.apply(b1,$),$G=null),$}function IJ($){$G===null?$G=[$]:$G.push($)}function pG(){var $=sv;if($!==null){sv=null;for(var j=$Q($);0<$.children.length;)$=$.children[0];D0($.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",j)})}}function VY(){tz=eO=null,sz=!1}function LI($,j,X){K(pF,j._currentValue,$),j._currentValue=X,K(lF,j._currentRenderer,$),j._currentRenderer!==void 0&&j._currentRenderer!==null&&j._currentRenderer!==LC&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),j._currentRenderer=LC}function s2($,j){$._currentValue=pF.current;var X=lF.current;Q(lF,j),$._currentRenderer=X,Q(pF,j)}function Sv($,j,X){for(;$!==null;){var O=$.alternate;if(($.childLanes&j)!==j?($.childLanes|=j,O!==null&&(O.childLanes|=j)):O!==null&&(O.childLanes&j)!==j&&(O.childLanes|=j),$===X)break;$=$.return}$!==X&&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 lG($,j,X,O){var A=$.child;A!==null&&(A.return=$);for(;A!==null;){var E=A.dependencies;if(E!==null){var f=A.child;E=E.firstContext;$:for(;E!==null;){var l=E;E=A;for(var $0=0;$0<j.length;$0++)if(l.context===j[$0]){E.lanes|=X,l=E.alternate,l!==null&&(l.lanes|=X),Sv(E.return,X,$),O||(f=null);break $}E=l.next}}else if(A.tag===18){if(f=A.return,f===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");f.lanes|=X,E=f.alternate,E!==null&&(E.lanes|=X),Sv(f,X,$),f=null}else f=A.child;if(f!==null)f.return=A;else for(f=A;f!==null;){if(f===$){f=null;break}if(A=f.sibling,A!==null){A.return=f.return,f=A;break}f=f.return}A=f}}function O6($,j,X,O){$=null;for(var A=j,E=!1;A!==null;){if(!E){if((A.flags&524288)!==0)E=!0;else if((A.flags&262144)!==0)break}if(A.tag===10){var f=A.alternate;if(f===null)throw Error("Should have a current fiber. This is a bug in React.");if(f=f.memoizedProps,f!==null){var l=A.type;c1(A.pendingProps.value,f.value)||($!==null?$.push(l):$=[l])}}else if(A===fO.current){if(f=A.alternate,f===null)throw Error("Should have a current fiber. This is a bug in React.");f.memoizedState.memoizedState!==A.memoizedState.memoizedState&&($!==null?$.push(HK):$=[HK])}A=A.return}$!==null&&lG(j,$,X,O),j.flags|=262144}function e4($){for($=$.firstContext;$!==null;){if(!c1($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function wv($){eO=$,tz=null,$=$.dependencies,$!==null&&($.firstContext=null)}function Kj($){return sz&&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()."),dG(eO,$)}function AI($,j){return eO===null&&wv($),dG($,j)}function dG($,j){var X=j._currentValue;if(j={context:j,memoizedValue:X,next:null},tz===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().");tz=j,$.dependencies={lanes:0,firstContext:j,_debugThenableState:null},$.flags|=524288}else tz=tz.next=j;return X}function WX(){return{controller:new Vw,data:new Map,refCount:0}}function qI($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function HU($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&Dw(Fw,function(){$.controller.abort()})}function _U($,j,X){if(($&127)!==0)0>uJ&&(uJ=l4(),uW=$V(j),dF=j,X!=null&&(nF=X0(X)),(X2&(Z6|$I))!==T6&&(X4=!0,vG=mW),$=BJ(),j=N1(),$!==az||j!==hW?az=-1.1:j!==null&&(vG=mW),LZ=$,hW=j);else if(($&4194048)!==0&&0>hI&&(hI=l4(),pW=$V(j),AC=j,X!=null&&(qC=X0(X)),0>pQ)){if($=BJ(),j=N1(),$!==XG||j!==AZ)XG=-1.1;IG=$,AZ=j}}function XJ($){if(0>uJ){uJ=l4(),uW=$._debugTask!=null?$._debugTask:null,(X2&(Z6|$I))!==T6&&(vG=mW);var j=BJ(),X=N1();j!==az||X!==hW?az=-1.1:X!==null&&(vG=mW),LZ=j,hW=X}if(0>hI&&(hI=l4(),pW=$._debugTask!=null?$._debugTask:null,0>pQ)){if($=BJ(),j=N1(),$!==XG||j!==AZ)XG=-1.1;IG=$,AZ=j}}function w6(){var $=MZ;return MZ=0,$}function kv($){var j=MZ;return MZ=$,j}function PI($){var j=MZ;return MZ+=$,j}function Uv(){Ij=Uj=-1.1}function Y4(){var $=Uj;return Uj=-1.1,$}function ZU($){0<=$&&(Uj=$)}function k6(){var $=oU;return oU=-0,$}function G4($){0<=$&&(oU=$)}function c6(){var $=yU;return yU=null,$}function C2(){var $=X4;return X4=!1,$}function JJ($){x1=l4(),0>$.actualStartTime&&($.actualStartTime=x1)}function GQ($){if(0<=x1){var j=l4()-x1;$.actualDuration+=j,$.selfBaseDuration=j,x1=-1}}function U1($){if(0<=x1){var j=l4()-x1;$.actualDuration+=j,x1=-1}}function MU(){if(0<=x1){var $=l4(),j=$-x1;x1=-1,MZ+=j,oU+=j,Ij=$}}function nG($){yU===null&&(yU=[]),yU.push($),hQ===null&&(hQ=[]),hQ.push($)}function V6(){x1=l4(),0>Uj&&(Uj=x1)}function CI($){for(var j=$.child;j;)$.actualDuration+=j.actualDuration,j=j.sibling}function c4($,j){if(dW===null){var X=dW=[];rF=0,qZ=TU(),ez={status:"pending",value:void 0,then:function(O){X.push(O)}}}return rF++,j.then(q4,q4),j}function q4(){if(--rF===0&&(-1<hI||(pQ=-1.1),dW!==null)){ez!==null&&(ez.status="fulfilled");var $=dW;dW=null,qZ=0,ez=null;for(var j=0;j<$.length;j++)(0,$[j])()}}function LU($,j){var X=[],O={status:"pending",value:null,reason:null,then:function(A){X.push(A)}};return $.then(function(){O.status="fulfilled",O.value=j;for(var A=0;A<X.length;A++)(0,X[A])(j)},function(A){O.status="rejected",O.reason=A;for(A=0;A<X.length;A++)(0,X[A])(void 0)}),O}function AU(){var $=PZ.current;return $!==null?$:QU.pooledCache}function P4($,j){j===null?K(PZ,PZ.current,$):K(PZ,j.pool,$)}function H2(){var $=AU();return $===null?null:{parent:p4._currentValue,pool:$}}function QJ(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function YJ($){return $=$.status,$==="fulfilled"||$==="rejected"}function iG($,j,X){Q$.actQueue!==null&&(Q$.didUsePromise=!0);var O=$.thenables;if(X=O[X],X===void 0?O.push(j):X!==j&&($.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.")),j.then(jU,jU),j=X),j._debugInfo===void 0){$=performance.now(),O=j.displayName;var A={name:typeof O==="string"?O:"Promise",start:$,end:$,value:j};j._debugInfo=[{awaited:A}],j.status!=="fulfilled"&&j.status!=="rejected"&&($=function(){A.end=performance.now()},j.then($,$))}switch(j.status){case"fulfilled":return j.value;case"rejected":throw $=j.reason,FY($),$;default:if(typeof j.status==="string")j.then(jU,jU);else{if($=QU,$!==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.");$=j,$.status="pending",$.then(function(E){if(j.status==="pending"){var f=j;f.status="fulfilled",f.value=E}},function(E){if(j.status==="pending"){var f=j;f.status="rejected",f.reason=E}})}switch(j.status){case"fulfilled":return j.value;case"rejected":throw $=j.reason,FY($),$}throw RZ=j,aW=!0,$8}}function cv($){try{return Lw($)}catch(j){if(j!==null&&typeof j==="object"&&typeof j.then==="function")throw RZ=j,aW=!0,$8;throw j}}function DY(){if(RZ===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=RZ;return RZ=null,aW=!1,$}function FY($){if($===$8||$===YV)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 sU($){var j=Cj;return $!=null&&(Cj=j===null?$:j.concat($)),j}function ZQ(){var $=Cj;if($!=null){for(var j=$.length-1;0<=j;j--)if($[j].name!=null){var X=$[j].debugTask;if(X!=null)return X}}return null}function KX($,j,X){for(var O=Object.keys($.props),A=0;A<O.length;A++){var E=O[A];if(E!=="children"&&E!=="key"){j===null&&(j=gv($,X.mode,0),j._debugInfo=Cj,j.return=X),D0(j,function(f){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f)},E);break}}}function zQ($){var j=eW;return eW+=1,j8===null&&(j8=QJ()),iG(j8,$,j)}function RI($,j){j=j.props.ref,$.ref=j!==void 0?j:null}function WQ($,j){if(j.$$typeof===$S)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(j),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function GJ($,j){var X=ZQ();X!==null?X.run(WQ.bind(null,$,j)):WQ($,j)}function OX($,j){var X=X0($)||"Component";pC[X]||(pC[X]=!0,j=j.displayName||j.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)`,j,j,j):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>`,j,j,X,j,X))}function vv($,j){var X=ZQ();X!==null?X.run(OX.bind(null,$,j)):OX($,j)}function D6($,j){var X=X0($)||"Component";lC[X]||(lC[X]=!0,j=String(j),$.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,j):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,X,j,X))}function EI($,j){var X=ZQ();X!==null?X.run(D6.bind(null,$,j)):D6($,j)}function v1($){function j(T0,N0){if($){var y0=T0.deletions;y0===null?(T0.deletions=[N0],T0.flags|=16):y0.push(N0)}}function X(T0,N0){if(!$)return null;for(;N0!==null;)j(T0,N0),N0=N0.sibling;return null}function O(T0){for(var N0=new Map;T0!==null;)T0.key!==null?N0.set(T0.key,T0):N0.set(T0.index,T0),T0=T0.sibling;return N0}function A(T0,N0){return T0=N6(T0,N0),T0.index=0,T0.sibling=null,T0}function E(T0,N0,y0){if(T0.index=y0,!$)return T0.flags|=1048576,N0;if(y0=T0.alternate,y0!==null)return y0=y0.index,y0<N0?(T0.flags|=67108866,N0):y0;return T0.flags|=67108866,N0}function f(T0){return $&&T0.alternate===null&&(T0.flags|=67108866),T0}function l(T0,N0,y0,V$){if(N0===null||N0.tag!==6)return N0=KY(y0,T0.mode,V$),N0.return=T0,N0._debugOwner=T0,N0._debugTask=T0._debugTask,N0._debugInfo=Cj,N0;return N0=A(N0,y0),N0.return=T0,N0._debugInfo=Cj,N0}function $0(T0,N0,y0,V$){var h$=y0.type;if(h$===cz)return N0=m0(T0,N0,y0.props.children,V$,y0.key),KX(y0,N0,T0),N0;if(N0!==null&&(N0.elementType===h$||zY(N0,y0)||typeof h$==="object"&&h$!==null&&h$.$$typeof===rv&&cv(h$)===N0.type))return N0=A(N0,y0.props),RI(N0,y0),N0.return=T0,N0._debugOwner=y0._owner,N0._debugInfo=Cj,N0;return N0=gv(y0,T0.mode,V$),RI(N0,y0),N0.return=T0,N0._debugInfo=Cj,N0}function Q0(T0,N0,y0,V$){if(N0===null||N0.tag!==4||N0.stateNode.containerInfo!==y0.containerInfo||N0.stateNode.implementation!==y0.implementation)return N0=_I(y0,T0.mode,V$),N0.return=T0,N0._debugInfo=Cj,N0;return N0=A(N0,y0.children||[]),N0.return=T0,N0._debugInfo=Cj,N0}function m0(T0,N0,y0,V$,h$){if(N0===null||N0.tag!==7)return N0=ZX(y0,T0.mode,V$,h$),N0.return=T0,N0._debugOwner=T0,N0._debugTask=T0._debugTask,N0._debugInfo=Cj,N0;return N0=A(N0,y0),N0.return=T0,N0._debugInfo=Cj,N0}function u0(T0,N0,y0){if(typeof N0==="string"&&N0!==""||typeof N0==="number"||typeof N0==="bigint")return N0=KY(""+N0,T0.mode,y0),N0.return=T0,N0._debugOwner=T0,N0._debugTask=T0._debugTask,N0._debugInfo=Cj,N0;if(typeof N0==="object"&&N0!==null){switch(N0.$$typeof){case wJ:return y0=gv(N0,T0.mode,y0),RI(y0,N0),y0.return=T0,T0=sU(N0._debugInfo),y0._debugInfo=Cj,Cj=T0,y0;case kz:return N0=_I(N0,T0.mode,y0),N0.return=T0,N0._debugInfo=Cj,N0;case rv:var V$=sU(N0._debugInfo);return N0=cv(N0),T0=u0(T0,N0,y0),Cj=V$,T0}if(Y6(N0)||C0(N0))return y0=ZX(N0,T0.mode,y0,null),y0.return=T0,y0._debugOwner=T0,y0._debugTask=T0._debugTask,T0=sU(N0._debugInfo),y0._debugInfo=Cj,Cj=T0,y0;if(typeof N0.then==="function")return V$=sU(N0._debugInfo),T0=u0(T0,zQ(N0),y0),Cj=V$,T0;if(N0.$$typeof===kJ)return u0(T0,AI(T0,N0),y0);GJ(T0,N0)}return typeof N0==="function"&&vv(T0,N0),typeof N0==="symbol"&&EI(T0,N0),null}function B0(T0,N0,y0,V$){var h$=N0!==null?N0.key:null;if(typeof y0==="string"&&y0!==""||typeof y0==="number"||typeof y0==="bigint")return h$!==null?null:l(T0,N0,""+y0,V$);if(typeof y0==="object"&&y0!==null){switch(y0.$$typeof){case wJ:return y0.key===h$?(h$=sU(y0._debugInfo),T0=$0(T0,N0,y0,V$),Cj=h$,T0):null;case kz:return y0.key===h$?Q0(T0,N0,y0,V$):null;case rv:return h$=sU(y0._debugInfo),y0=cv(y0),T0=B0(T0,N0,y0,V$),Cj=h$,T0}if(Y6(y0)||C0(y0)){if(h$!==null)return null;return h$=sU(y0._debugInfo),T0=m0(T0,N0,y0,V$,null),Cj=h$,T0}if(typeof y0.then==="function")return h$=sU(y0._debugInfo),T0=B0(T0,N0,zQ(y0),V$),Cj=h$,T0;if(y0.$$typeof===kJ)return B0(T0,N0,AI(T0,y0),V$);GJ(T0,y0)}return typeof y0==="function"&&vv(T0,y0),typeof y0==="symbol"&&EI(T0,y0),null}function e0(T0,N0,y0,V$,h$){if(typeof V$==="string"&&V$!==""||typeof V$==="number"||typeof V$==="bigint")return T0=T0.get(y0)||null,l(N0,T0,""+V$,h$);if(typeof V$==="object"&&V$!==null){switch(V$.$$typeof){case wJ:return y0=T0.get(V$.key===null?y0:V$.key)||null,T0=sU(V$._debugInfo),N0=$0(N0,y0,V$,h$),Cj=T0,N0;case kz:return T0=T0.get(V$.key===null?y0:V$.key)||null,Q0(N0,T0,V$,h$);case rv:var Zj=sU(V$._debugInfo);return V$=cv(V$),N0=e0(T0,N0,y0,V$,h$),Cj=Zj,N0}if(Y6(V$)||C0(V$))return y0=T0.get(y0)||null,T0=sU(V$._debugInfo),N0=m0(N0,y0,V$,h$,null),Cj=T0,N0;if(typeof V$.then==="function")return Zj=sU(V$._debugInfo),N0=e0(T0,N0,y0,zQ(V$),h$),Cj=Zj,N0;if(V$.$$typeof===kJ)return e0(T0,N0,y0,AI(N0,V$),h$);GJ(N0,V$)}return typeof V$==="function"&&vv(N0,V$),typeof V$==="symbol"&&EI(N0,V$),null}function m$(T0,N0,y0,V$){if(typeof y0!=="object"||y0===null)return V$;switch(y0.$$typeof){case wJ:case kz:g(T0,N0,y0);var h$=y0.key;if(typeof h$!=="string")break;if(V$===null){V$=new Set,V$.add(h$);break}if(!V$.has(h$)){V$.add(h$);break}D0(N0,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.",h$)});break;case rv:y0=cv(y0),m$(T0,N0,y0,V$)}return V$}function l$(T0,N0,y0,V$){for(var h$=null,Zj=null,$j=null,o$=N0,qj=N0=0,NU=null;o$!==null&&qj<y0.length;qj++){o$.index>qj?(NU=o$,o$=null):NU=o$.sibling;var N4=B0(T0,o$,y0[qj],V$);if(N4===null){o$===null&&(o$=NU);break}h$=m$(T0,N4,y0[qj],h$),$&&o$&&N4.alternate===null&&j(T0,o$),N0=E(N4,N0,qj),$j===null?Zj=N4:$j.sibling=N4,$j=N4,o$=NU}if(qj===y0.length)return X(T0,o$),lj&&$v(T0,qj),Zj;if(o$===null){for(;qj<y0.length;qj++)o$=u0(T0,y0[qj],V$),o$!==null&&(h$=m$(T0,o$,y0[qj],h$),N0=E(o$,N0,qj),$j===null?Zj=o$:$j.sibling=o$,$j=o$);return lj&&$v(T0,qj),Zj}for(o$=O(o$);qj<y0.length;qj++)NU=e0(o$,T0,qj,y0[qj],V$),NU!==null&&(h$=m$(T0,NU,y0[qj],h$),$&&NU.alternate!==null&&o$.delete(NU.key===null?qj:NU.key),N0=E(NU,N0,qj),$j===null?Zj=NU:$j.sibling=NU,$j=NU);return $&&o$.forEach(function(aQ){return j(T0,aQ)}),lj&&$v(T0,qj),Zj}function OU(T0,N0,y0,V$){if(y0==null)throw Error("An iterable object provided no iterator.");for(var h$=null,Zj=null,$j=N0,o$=N0=0,qj=null,NU=null,N4=y0.next();$j!==null&&!N4.done;o$++,N4=y0.next()){$j.index>o$?(qj=$j,$j=null):qj=$j.sibling;var aQ=B0(T0,$j,N4.value,V$);if(aQ===null){$j===null&&($j=qj);break}NU=m$(T0,aQ,N4.value,NU),$&&$j&&aQ.alternate===null&&j(T0,$j),N0=E(aQ,N0,o$),Zj===null?h$=aQ:Zj.sibling=aQ,Zj=aQ,$j=qj}if(N4.done)return X(T0,$j),lj&&$v(T0,o$),h$;if($j===null){for(;!N4.done;o$++,N4=y0.next())$j=u0(T0,N4.value,V$),$j!==null&&(NU=m$(T0,$j,N4.value,NU),N0=E($j,N0,o$),Zj===null?h$=$j:Zj.sibling=$j,Zj=$j);return lj&&$v(T0,o$),h$}for($j=O($j);!N4.done;o$++,N4=y0.next())qj=e0($j,T0,o$,N4.value,V$),qj!==null&&(NU=m$(T0,qj,N4.value,NU),$&&qj.alternate!==null&&$j.delete(qj.key===null?o$:qj.key),N0=E(qj,N0,o$),Zj===null?h$=qj:Zj.sibling=qj,Zj=qj);return $&&$j.forEach(function(dw){return j(T0,dw)}),lj&&$v(T0,o$),h$}function oj(T0,N0,y0,V$){if(typeof y0==="object"&&y0!==null&&y0.type===cz&&y0.key===null&&(KX(y0,null,T0),y0=y0.props.children),typeof y0==="object"&&y0!==null){switch(y0.$$typeof){case wJ:var h$=sU(y0._debugInfo);$:{for(var Zj=y0.key;N0!==null;){if(N0.key===Zj){if(Zj=y0.type,Zj===cz){if(N0.tag===7){X(T0,N0.sibling),V$=A(N0,y0.props.children),V$.return=T0,V$._debugOwner=y0._owner,V$._debugInfo=Cj,KX(y0,V$,T0),T0=V$;break $}}else if(N0.elementType===Zj||zY(N0,y0)||typeof Zj==="object"&&Zj!==null&&Zj.$$typeof===rv&&cv(Zj)===N0.type){X(T0,N0.sibling),V$=A(N0,y0.props),RI(V$,y0),V$.return=T0,V$._debugOwner=y0._owner,V$._debugInfo=Cj,T0=V$;break $}X(T0,N0);break}else j(T0,N0);N0=N0.sibling}y0.type===cz?(V$=ZX(y0.props.children,T0.mode,V$,y0.key),V$.return=T0,V$._debugOwner=T0,V$._debugTask=T0._debugTask,V$._debugInfo=Cj,KX(y0,V$,T0),T0=V$):(V$=gv(y0,T0.mode,V$),RI(V$,y0),V$.return=T0,V$._debugInfo=Cj,T0=V$)}return T0=f(T0),Cj=h$,T0;case kz:$:{h$=y0;for(y0=h$.key;N0!==null;){if(N0.key===y0)if(N0.tag===4&&N0.stateNode.containerInfo===h$.containerInfo&&N0.stateNode.implementation===h$.implementation){X(T0,N0.sibling),V$=A(N0,h$.children||[]),V$.return=T0,T0=V$;break $}else{X(T0,N0);break}else j(T0,N0);N0=N0.sibling}V$=_I(h$,T0.mode,V$),V$.return=T0,T0=V$}return f(T0);case rv:return h$=sU(y0._debugInfo),y0=cv(y0),T0=oj(T0,N0,y0,V$),Cj=h$,T0}if(Y6(y0))return h$=sU(y0._debugInfo),T0=l$(T0,N0,y0,V$),Cj=h$,T0;if(C0(y0)){if(h$=sU(y0._debugInfo),Zj=C0(y0),typeof Zj!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var $j=Zj.call(y0);if($j===y0){if(T0.tag!==0||Object.prototype.toString.call(T0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call($j)!=="[object Generator]")uC||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."),uC=!0}else y0.entries!==Zj||aF||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),aF=!0);return T0=OU(T0,N0,$j,V$),Cj=h$,T0}if(typeof y0.then==="function")return h$=sU(y0._debugInfo),T0=oj(T0,N0,zQ(y0),V$),Cj=h$,T0;if(y0.$$typeof===kJ)return oj(T0,N0,AI(T0,y0),V$);GJ(T0,y0)}if(typeof y0==="string"&&y0!==""||typeof y0==="number"||typeof y0==="bigint")return h$=""+y0,N0!==null&&N0.tag===6?(X(T0,N0.sibling),V$=A(N0,h$),V$.return=T0,T0=V$):(X(T0,N0),V$=KY(h$,T0.mode,V$),V$.return=T0,V$._debugOwner=T0,V$._debugTask=T0._debugTask,V$._debugInfo=Cj,T0=V$),f(T0);return typeof y0==="function"&&vv(T0,y0),typeof y0==="symbol"&&EI(T0,y0),X(T0,N0)}return function(T0,N0,y0,V$){var h$=Cj;Cj=null;try{eW=0;var Zj=oj(T0,N0,y0,V$);return j8=null,Zj}catch(NU){if(NU===$8||NU===YV)throw NU;var $j=T(29,NU,null,T0.mode);$j.lanes=V$,$j.return=T0;var o$=$j._debugInfo=Cj;if($j._debugOwner=T0._debugOwner,$j._debugTask=T0._debugTask,o$!=null){for(var qj=o$.length-1;0<=qj;qj--)if(typeof o$[qj].stack==="string"){$j._debugOwner=o$[qj],$j._debugTask=o$[qj].debugTask;break}}return $j}finally{Cj=h$}}}function ZJ($,j){var X=Y6($);return $=!X&&typeof C0($)==="function",X||$?(X=X?"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>",X,j,X),!1):!0}function zJ($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function KQ($,j){$=$.updateQueue,j.updateQueue===$&&(j.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function Iv($){return{lane:$,tag:nC,payload:null,callback:null,next:null}}function Xv($,j,X){var O=$.updateQueue;if(O===null)return null;if(O=O.shared,$H===O&&!oC){var A=X0($);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`,A),oC=!0}if((X2&Z6)!==T6)return A=O.pending,A===null?j.next=j:(j.next=A.next,A.next=j),O.pending=j,j=YX($),bG($,null,X),j;return a4($,O,j,X),YX($)}function $6($,j,X){if(j=j.updateQueue,j!==null&&(j=j.shared,(X&4194048)!==0)){var O=j.lanes;O&=$.pendingLanes,X|=O,j.lanes=X,Y$($,X)}}function OQ($,j){var{updateQueue:X,alternate:O}=$;if(O!==null&&(O=O.updateQueue,X===O)){var A=null,E=null;if(X=X.firstBaseUpdate,X!==null){do{var f={lane:X.lane,tag:X.tag,payload:X.payload,callback:null,next:null};E===null?A=E=f:E=E.next=f,X=X.next}while(X!==null);E===null?A=E=j:E=E.next=j}else A=E=j;X={baseState:O.baseState,firstBaseUpdate:A,lastBaseUpdate:E,shared:O.shared,callbacks:O.callbacks},$.updateQueue=X;return}$=X.lastBaseUpdate,$===null?X.firstBaseUpdate=j:$.next=j,X.lastBaseUpdate=j}function TI(){if(jH){var $=ez;if($!==null)throw $}}function WJ($,j,X,O){jH=!1;var A=$.updateQueue;JG=!1,$H=A.shared;var{firstBaseUpdate:E,lastBaseUpdate:f}=A,l=A.shared.pending;if(l!==null){A.shared.pending=null;var $0=l,Q0=$0.next;$0.next=null,f===null?E=Q0:f.next=Q0,f=$0;var m0=$.alternate;m0!==null&&(m0=m0.updateQueue,l=m0.lastBaseUpdate,l!==f&&(l===null?m0.firstBaseUpdate=Q0:l.next=Q0,m0.lastBaseUpdate=$0))}if(E!==null){var u0=A.baseState;f=0,m0=Q0=$0=null,l=E;do{var B0=l.lane&-536870913,e0=B0!==l.lane;if(e0?(Rj&B0)===B0:(O&B0)===B0){B0!==0&&B0===qZ&&(jH=!0),m0!==null&&(m0=m0.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});$:{B0=$;var m$=l,l$=j,OU=X;switch(m$.tag){case iC:if(m$=m$.payload,typeof m$==="function"){sz=!0;var oj=m$.call(OU,u0,l$);if(B0.mode&V1){o0(!0);try{m$.call(OU,u0,l$)}finally{o0(!1)}}sz=!1,u0=oj;break $}u0=m$;break $;case eF:B0.flags=B0.flags&-65537|128;case nC:if(oj=m$.payload,typeof oj==="function"){if(sz=!0,m$=oj.call(OU,u0,l$),B0.mode&V1){o0(!0);try{oj.call(OU,u0,l$)}finally{o0(!1)}}sz=!1}else m$=oj;if(m$===null||m$===void 0)break $;u0=wj({},u0,m$);break $;case rC:JG=!0}}B0=l.callback,B0!==null&&($.flags|=64,e0&&($.flags|=8192),e0=A.callbacks,e0===null?A.callbacks=[B0]:e0.push(B0))}else e0={lane:B0,tag:l.tag,payload:l.payload,callback:l.callback,next:null},m0===null?(Q0=m0=e0,$0=u0):m0=m0.next=e0,f|=B0;if(l=l.next,l===null)if(l=A.shared.pending,l===null)break;else e0=l,l=e0.next,e0.next=null,A.lastBaseUpdate=e0,A.shared.pending=null}while(1);m0===null&&($0=u0),A.baseState=$0,A.firstBaseUpdate=Q0,A.lastBaseUpdate=m0,E===null&&(A.shared.lanes=0),GG|=f,$.lanes=f,$.memoizedState=u0}$H=null}function VQ($,j){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(j)}function j6($,j){var X=$.shared.hiddenCallbacks;if(X!==null)for($.shared.hiddenCallbacks=null,$=0;$<X.length;$++)VQ(X[$],j)}function x6($,j){var X=$.callbacks;if(X!==null)for($.callbacks=null,$=0;$<X.length;$++)VQ(X[$],j)}function UU($,j){var X=lJ;K(ZV,X,$),K(U8,j,$),lJ=X|j.baseLanes}function DQ($){K(ZV,lJ,$),K(U8,U8.current,$)}function HY($){lJ=ZV.current,Q(U8,$),Q(ZV,$)}function xv($){var j=$.alternate;K(g4,g4.current&v8,$),K(av,$,$),pI===null&&(j===null||U8.current!==null?pI=$:j.memoizedState!==null&&(pI=$))}function a2($){K(g4,g4.current,$),K(av,$,$),pI===null&&(pI=$)}function KJ($){$.tag===22?(K(g4,g4.current,$),K(av,$,$),pI===null&&(pI=$)):yv($)}function yv($){K(g4,g4.current,$),K(av,av.current,$)}function F6($){Q(av,$),pI===$&&(pI=null),Q(g4,$)}function FQ($){for(var j=$;j!==null;){if(j.tag===13){var X=j.memoizedState;if(X!==null&&(X=X.dehydrated,X===null||OZ(X)||Bz(X)))return j}else if(j.tag===19&&(j.memoizedProps.revealOrder==="forwards"||j.memoizedProps.revealOrder==="backwards"||j.memoizedProps.revealOrder==="unstable_legacy-backwards"||j.memoizedProps.revealOrder==="together")){if((j.flags&128)!==0)return j}else if(j.child!==null){j.child.return=j,j=j.child;continue}if(j===$)break;for(;j.sibling===null;){if(j.return===null||j.return===$)return null;j=j.return}j.sibling.return=j.return,j=j.sibling}return null}function Fj(){var $=I$;dI===null?dI=[$]:dI.push($)}function N$(){var $=I$;if(dI!==null&&(iQ++,dI[iQ]!==$)){var j=X0(Gj);if(!tC.has(j)&&(tC.add(j),dI!==null)){for(var X="",O=0;O<=iQ;O++){var A=dI[O],E=O===iQ?$:A;for(A=O+1+". "+A;30>A.length;)A+=" ";A+=E+`
|
|
103
|
+
`,X+=A}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
|
+
`,j,X)}}}function VX($){$===void 0||$===null||Y6($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",I$,typeof $)}function HQ(){var $=X0(Gj);aC.has($)||(aC.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function e2(){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 _Y($,j){if(UK)return!1;if(j===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.",I$),!1;$.length!==j.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`,I$,"["+j.join(", ")+"]","["+$.join(", ")+"]");for(var X=0;X<j.length&&X<$.length;X++)if(!c1($[X],j[X]))return!1;return!0}function OJ($,j,X,O,A,E){if(dQ=E,Gj=j,dI=$!==null?$._debugHookTypes:null,iQ=-1,UK=$!==null&&$.type!==j.type,Object.prototype.toString.call(X)==="[object AsyncFunction]"||Object.prototype.toString.call(X)==="[object AsyncGeneratorFunction]")E=X0(Gj),UH.has(E)||(UH.add(E),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.",E===null?"An unknown Component":"<"+E+">"));j.memoizedState=null,j.updateQueue=null,j.lanes=0,Q$.H=$!==null&&$.memoizedState!==null?IH:dI!==null?eC:vH,TZ=E=(j.mode&V1)!==Xj;var f=oF(X,O,A);if(TZ=!1,X8&&(f=MQ(j,X,O,A)),E){o0(!0);try{f=MQ(j,X,O,A)}finally{o0(!1)}}return _Q($,j),f}function _Q($,j){j._debugHookTypes=dI,j.dependencies===null?nQ!==null&&(j.dependencies={lanes:0,firstContext:null,_debugThenableState:nQ}):j.dependencies._debugThenableState=nQ,Q$.H=vK;var X=JU!==null&&JU.next!==null;if(dQ=0,dI=I$=d4=JU=Gj=null,iQ=-1,$!==null&&($.flags&65011712)!==(j.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),WV=!1,jK=0,nQ=null,X)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||n4||($=$.dependencies,$!==null&&e4($)&&(n4=!0)),aW?(aW=!1,$=!0):$=!1,$&&(j=X0(j)||"Unknown",sC.has(j)||UH.has(j)||(sC.add(j),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 MQ($,j,X,O){Gj=$;var A=0;do{if(X8&&(nQ=null),jK=0,X8=!1,A>=qw)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(A+=1,UK=!1,d4=JU=null,$.updateQueue!=null){var E=$.updateQueue;E.lastEffect=null,E.events=null,E.stores=null,E.memoCache!=null&&(E.memoCache.index=0)}iQ=-1,Q$.H=$R,E=oF(j,X,O)}while(X8);return E}function Gz(){var $=Q$.H,j=$.useState()[0];return j=typeof j.then==="function"?DX(j):j,$=$.useState()[0],(JU!==null?JU.memoizedState:null)!==$&&(Gj.flags|=1024),j}function rG(){var $=KV!==0;return KV=0,$}function oG($,j,X){j.updateQueue=$.updateQueue,j.flags=(j.mode&xX)!==Xj?j.flags&-402655237:j.flags&-2053,$.lanes&=~X}function tG($){if(WV){for($=$.memoizedState;$!==null;){var j=$.queue;j!==null&&(j.pending=null),$=$.next}WV=!1}dQ=0,dI=d4=JU=Gj=null,iQ=-1,I$=null,X8=!1,jK=KV=0,nQ=null}function U6(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return d4===null?Gj.memoizedState=d4=$:d4=d4.next=$,d4}function Y2(){if(JU===null){var $=Gj.alternate;$=$!==null?$.memoizedState:null}else $=JU.next;var j=d4===null?Gj.memoizedState:d4.next;if(j!==null)d4=j,JU=$;else{if($===null){if(Gj.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.")}JU=$,$={memoizedState:JU.memoizedState,baseState:JU.baseState,baseQueue:JU.baseQueue,queue:JU.queue,next:null},d4===null?Gj.memoizedState=d4=$:d4=d4.next=$}return d4}function MY(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function DX($){var j=jK;return jK+=1,nQ===null&&(nQ=QJ()),$=iG(nQ,$,j),j=Gj,(d4===null?j.memoizedState:d4.next)===null&&(j=j.alternate,Q$.H=j!==null&&j.memoizedState!==null?IH:vH),$}function BI($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return DX($);if($.$$typeof===kJ)return Kj($)}throw Error("An unsupported type was passed to use(): "+String($))}function gI($){var j=null,X=Gj.updateQueue;if(X!==null&&(j=X.memoCache),j==null){var O=Gj.alternate;O!==null&&(O=O.updateQueue,O!==null&&(O=O.memoCache,O!=null&&(j={data:O.data.map(function(A){return A.slice()}),index:0})))}if(j==null&&(j={data:[],index:0}),X===null&&(X=MY(),Gj.updateQueue=X),X.memoCache=j,X=j.data[j.index],X===void 0||UK)for(X=j.data[j.index]=Array($),O=0;O<$;O++)X[O]=jS;else X.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.",X.length,$);return j.index++,X}function I1($,j){return typeof j==="function"?j($):j}function LY($,j,X){var O=U6();if(X!==void 0){var A=X(j);if(TZ){o0(!0);try{X(j)}finally{o0(!1)}}}else A=j;return O.memoizedState=O.baseState=A,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:A},O.queue=$,$=$.dispatch=VW.bind(null,Gj,$),[O.memoizedState,$]}function VJ($){var j=Y2();return sG(j,JU,$)}function sG($,j,X){var O=$.queue;if(O===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");O.lastRenderedReducer=X;var A=$.baseQueue,E=O.pending;if(E!==null){if(A!==null){var f=A.next;A.next=E.next,E.next=f}j.baseQueue!==A&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),j.baseQueue=A=E,O.pending=null}if(E=$.baseState,A===null)$.memoizedState=E;else{j=A.next;var l=f=null,$0=null,Q0=j,m0=!1;do{var u0=Q0.lane&-536870913;if(u0!==Q0.lane?(Rj&u0)===u0:(dQ&u0)===u0){var B0=Q0.revertLane;if(B0===0)$0!==null&&($0=$0.next={lane:0,revertLane:0,gesture:null,action:Q0.action,hasEagerState:Q0.hasEagerState,eagerState:Q0.eagerState,next:null}),u0===qZ&&(m0=!0);else if((dQ&B0)===B0){Q0=Q0.next,B0===qZ&&(m0=!0);continue}else u0={lane:0,revertLane:Q0.revertLane,gesture:null,action:Q0.action,hasEagerState:Q0.hasEagerState,eagerState:Q0.eagerState,next:null},$0===null?(l=$0=u0,f=E):$0=$0.next=u0,Gj.lanes|=B0,GG|=B0;u0=Q0.action,TZ&&X(E,u0),E=Q0.hasEagerState?Q0.eagerState:X(E,u0)}else B0={lane:u0,revertLane:Q0.revertLane,gesture:Q0.gesture,action:Q0.action,hasEagerState:Q0.hasEagerState,eagerState:Q0.eagerState,next:null},$0===null?(l=$0=B0,f=E):$0=$0.next=B0,Gj.lanes|=u0,GG|=u0;Q0=Q0.next}while(Q0!==null&&Q0!==j);if($0===null?f=E:$0.next=l,!c1(E,$.memoizedState)&&(n4=!0,m0&&(X=ez,X!==null)))throw X;$.memoizedState=E,$.baseState=f,$.baseQueue=$0,O.lastRenderedState=E}return A===null&&(O.lanes=0),[$.memoizedState,O.dispatch]}function LQ($){var j=Y2(),X=j.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=$;var{dispatch:O,pending:A}=X,E=j.memoizedState;if(A!==null){X.pending=null;var f=A=A.next;do E=$(E,f.action),f=f.next;while(f!==A);c1(E,j.memoizedState)||(n4=!0),j.memoizedState=E,j.baseQueue===null&&(j.baseState=E),X.lastRenderedState=E}return[E,O]}function aG($,j,X){var O=Gj,A=U6();if(lj){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var E=X();I8||E===X()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),I8=!0)}else{if(E=j(),I8||(X=j(),c1(E,X)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),I8=!0)),QU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Rj&127)!==0||Zz(O,j,E)}return A.memoizedState=E,X={value:E,getSnapshot:j},A.queue=X,HJ(Wz.bind(null,O,X,$),[$]),O.flags|=2048,HX(lI|f1,{destroy:void 0},zz.bind(null,O,X,E,j),null),E}function AY($,j,X){var O=Gj,A=Y2(),E=lj;if(E){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");X=X()}else if(X=j(),!I8){var f=j();c1(X,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),I8=!0)}if(f=!c1((JU||A).memoizedState,X))A.memoizedState=X,n4=!0;A=A.queue;var l=Wz.bind(null,O,A,$);if(x4(2048,f1,l,[$]),A.getSnapshot!==j||f||d4!==null&&d4.memoizedState.tag&lI){if(O.flags|=2048,HX(lI|f1,{destroy:void 0},zz.bind(null,O,A,X,j),null),QU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");E||(dQ&127)!==0||Zz(O,j,X)}return X}function Zz($,j,X){$.flags|=16384,$={getSnapshot:j,value:X},j=Gj.updateQueue,j===null?(j=MY(),Gj.updateQueue=j,j.stores=[$]):(X=j.stores,X===null?j.stores=[$]:X.push($))}function zz($,j,X,O){j.value=X,j.getSnapshot=O,Kz(j)&&Oz($)}function Wz($,j,X){return X(function(){Kz(j)&&(_U(2,"updateSyncExternalStore()",$),Oz($))})}function Kz($){var j=$.getSnapshot;$=$.value;try{var X=j();return!c1($,X)}catch(O){return!0}}function Oz($){var j=A4($,2);j!==null&&s$(j,$,2)}function DJ($){var j=U6();if(typeof $==="function"){var X=$;if($=X(),TZ){o0(!0);try{X()}finally{o0(!1)}}}return j.memoizedState=j.baseState=$,j.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:I1,lastRenderedState:$},j}function FJ($){$=DJ($);var j=$.queue,X=y6.bind(null,Gj,j);return j.dispatch=X,[$.memoizedState,X]}function eG($){var j=U6();j.memoizedState=j.baseState=$;var X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return j.queue=X,j=X1.bind(null,Gj,!0,X),X.dispatch=j,[$,j]}function Vz($,j){var X=Y2();return Dz(X,JU,$,j)}function Dz($,j,X,O){return $.baseState=X,sG($,JU,typeof O==="function"?O:I1)}function Fz($,j){var X=Y2();if(JU!==null)return Dz(X,JU,$,j);return X.baseState=$,[$,X.queue.dispatch]}function OW($,j,X,O,A){if(_J($))throw Error("Cannot update form state while rendering.");if($=j.action,$!==null){var E={payload:A,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){E.listeners.push(f)}};Q$.T!==null?X(!0):E.isTransition=!1,O(E),X=j.pending,X===null?(E.next=j.pending=E,Hz(j,E)):(E.next=X.next,j.pending=X.next=E)}}function Hz($,j){var{action:X,payload:O}=j,A=$.state;if(j.isTransition){var E=Q$.T,f={};f._updatedFibers=new Set,Q$.T=f;try{var l=X(A,O),$0=Q$.S;$0!==null&&$0(f,l),AQ($,j,l)}catch(Q0){Jv($,j,Q0)}finally{E!==null&&f.types!==null&&(E.types!==null&&E.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."),E.types=f.types),Q$.T=E,E===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."))}}else try{f=X(A,O),AQ($,j,f)}catch(Q0){Jv($,j,Q0)}}function AQ($,j,X){X!==null&&typeof X==="object"&&typeof X.then==="function"?(Q$.asyncTransitions++,X.then(RQ,RQ),X.then(function(O){qY($,j,O)},function(O){return Jv($,j,O)}),j.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.")):qY($,j,X)}function qY($,j,X){j.status="fulfilled",j.value=X,_z(j),$.state=X,j=$.pending,j!==null&&(X=j.next,X===j?$.pending=null:(X=X.next,j.next=X,Hz($,X)))}function Jv($,j,X){var O=$.pending;if($.pending=null,O!==null){O=O.next;do j.status="rejected",j.reason=X,_z(j),j=j.next;while(j!==O)}$.action=null}function _z($){$=$.listeners;for(var j=0;j<$.length;j++)(0,$[j])()}function Mz($,j){return j}function FX($,j){if(lj){var X=QU.formState;if(X!==null){$:{var O=Gj;if(lj){if(gU){j:{var A=gU;for(var E=uI;A.nodeType!==8;){if(!E){A=null;break j}if(A=r6(A.nextSibling),A===null){A=null;break j}}E=A.data,A=E===EH||E===bR?A:null}if(A){gU=r6(A.nextSibling),O=A.data===EH;break $}}uU(O)}O=!1}O&&(j=X[0])}}return X=U6(),X.memoizedState=X.baseState=j,O={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mz,lastRenderedState:j},X.queue=O,X=y6.bind(null,Gj,O),O.dispatch=X,O=DJ(!1),E=X1.bind(null,Gj,!1,O.queue),O=U6(),A={state:j,dispatch:null,action:$,pending:null},O.queue=A,X=OW.bind(null,Gj,A,E,X),A.dispatch=X,O.memoizedState=$,[j,X,!1]}function PY($){var j=Y2();return Lz(j,JU,$)}function Lz($,j,X){if(j=sG($,j,Mz)[0],$=VJ(I1)[0],typeof j==="object"&&j!==null&&typeof j.then==="function")try{var O=DX(j)}catch(f){if(f===$8)throw YV;throw f}else O=j;j=Y2();var A=j.queue,E=A.dispatch;return X!==j.memoizedState&&(Gj.flags|=2048,HX(lI|f1,{destroy:void 0},Az.bind(null,A,X),null)),[O,E,$]}function Az($,j){$.action=j}function qQ($){var j=Y2(),X=JU;if(X!==null)return Lz(j,X,$);Y2(),j=j.memoizedState,X=Y2();var O=X.queue.dispatch;return X.memoizedState=$,[j,O,!1]}function HX($,j,X,O){return $={tag:$,create:X,deps:O,inst:j,next:null},j=Gj.updateQueue,j===null&&(j=MY(),Gj.updateQueue=j),X=j.lastEffect,X===null?j.lastEffect=$.next=$:(O=X.next,X.next=$,$.next=O,j.lastEffect=$),$}function PQ($){var j=U6();return $={current:$},j.memoizedState=$}function fv($,j,X,O){var A=U6();Gj.flags|=$,A.memoizedState=HX(lI|j,{destroy:void 0},X,O===void 0?null:O)}function x4($,j,X,O){var A=Y2();O=O===void 0?null:O;var E=A.memoizedState.inst;JU!==null&&O!==null&&_Y(O,JU.memoizedState.deps)?A.memoizedState=HX(j,E,X,O):(Gj.flags|=$,A.memoizedState=HX(lI|j,E,X,O))}function HJ($,j){(Gj.mode&xX)!==Xj?fv(276826112,f1,$,j):fv(8390656,f1,$,j)}function $Z($){Gj.flags|=4;var j=Gj.updateQueue;if(j===null)j=MY(),Gj.updateQueue=j,j.events=[$];else{var X=j.events;X===null?j.events=[$]:X.push($)}}function CY($){var j=U6(),X={impl:$};return j.memoizedState=X,function(){if((X2&Z6)!==T6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function RY($){var j=Y2().memoizedState;return $Z({ref:j,nextImpl:$}),function(){if((X2&Z6)!==T6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return j.impl.apply(void 0,arguments)}}function jZ($,j){var X=4194308;return(Gj.mode&xX)!==Xj&&(X|=134217728),fv(X,ev,$,j)}function qz($,j){if(typeof j==="function"){$=$();var X=j($);return function(){typeof X==="function"?X():j(null)}}if(j!==null&&j!==void 0)return j.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(j).join(", ")+"}"),$=$(),j.current=$,function(){j.current=null}}function UZ($,j,X){typeof j!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",j!==null?typeof j:"null"),X=X!==null&&X!==void 0?X.concat([$]):null;var O=4194308;(Gj.mode&xX)!==Xj&&(O|=134217728),fv(O,ev,qz.bind(null,j,$),X)}function EY($,j,X){typeof j!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",j!==null?typeof j:"null"),X=X!==null&&X!==void 0?X.concat([$]):null,x4(4,ev,qz.bind(null,j,$),X)}function L1($,j){return U6().memoizedState=[$,j===void 0?null:j],$}function _X($,j){var X=Y2();j=j===void 0?null:j;var O=X.memoizedState;if(j!==null&&_Y(j,O[1]))return O[0];return X.memoizedState=[$,j],$}function Qv($,j){var X=U6();j=j===void 0?null:j;var O=$();if(TZ){o0(!0);try{$()}finally{o0(!1)}}return X.memoizedState=[O,j],O}function CQ($,j){var X=Y2();j=j===void 0?null:j;var O=X.memoizedState;if(j!==null&&_Y(j,O[1]))return O[0];if(O=$(),TZ){o0(!0);try{$()}finally{o0(!1)}}return X.memoizedState=[O,j],O}function TY($,j){var X=U6();return BY(X,$,j)}function vZ($,j){var X=Y2();return XZ(X,JU.memoizedState,$,j)}function IZ($,j){var X=Y2();return JU===null?BY(X,$,j):XZ(X,JU.memoizedState,$,j)}function BY($,j,X){if(X===void 0||(dQ&1073741824)!==0&&(Rj&261930)===0)return $.memoizedState=j;return $.memoizedState=X,$=a$(),Gj.lanes|=$,GG|=$,X}function XZ($,j,X,O){if(c1(X,j))return X;if(U8.current!==null)return $=BY($,X,O),c1($,j)||(n4=!0),$;if((dQ&42)===0||(dQ&1073741824)!==0&&(Rj&261930)===0)return n4=!0,$.memoizedState=X;return $=a$(),Gj.lanes|=$,GG|=$,j}function RQ(){Q$.asyncTransitions--}function JZ($,j,X,O,A){var E=b2.p;b2.p=E!==0&&E<cX?E:cX;var f=Q$.T,l={};l._updatedFibers=new Set,Q$.T=l,X1($,!1,j,X);try{var $0=A(),Q0=Q$.S;if(Q0!==null&&Q0(l,$0),$0!==null&&typeof $0==="object"&&typeof $0.then==="function"){Q$.asyncTransitions++,$0.then(RQ,RQ);var m0=LU($0,O);bv($,j,m0,W$($))}else bv($,j,O,W$($))}catch(u0){bv($,j,{then:function(){},status:"rejected",reason:u0},W$($))}finally{b2.p=E,f!==null&&l.types!==null&&(f.types!==null&&f.types!==l.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."),f.types=l.types),Q$.T=f,f===null&&l._updatedFibers&&($=l._updatedFibers.size,l._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 gY($,j,X,O){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var A=QZ($).queue;XJ($),JZ($,A,j,bZ,X===null?B:function(){return YZ($),X(O)})}function QZ($){var j=$.memoizedState;if(j!==null)return j;j={memoizedState:bZ,baseState:bZ,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I1,lastRenderedState:bZ},next:null};var X={};return j.next={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I1,lastRenderedState:X},next:null},$.memoizedState=j,$=$.alternate,$!==null&&($.memoizedState=j),j}function YZ($){Q$.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var j=QZ($);j.next===null&&(j=$.alternate.memoizedState),bv($,j.next.queue,{},W$($))}function MX(){var $=DJ(!1);return $=JZ.bind(null,Gj,$.queue,!0,!1),U6().memoizedState=$,[!1,$]}function Pz(){var $=VJ(I1)[0],j=Y2().memoizedState;return[typeof $==="boolean"?$:DX($),j]}function EQ(){var $=LQ(I1)[0],j=Y2().memoizedState;return[typeof $==="boolean"?$:DX($),j]}function LX(){return Kj(HK)}function GZ(){var $=U6(),j=QU.identifierPrefix;if(lj){var X=mQ,O=bQ;X=(O&~(1<<32-S1(O)-1)).toString(32)+X,j="_"+j+"R_"+X,X=KV++,0<X&&(j+="H"+X.toString(32)),j+="_"}else X=Aw++,j="_"+j+"r_"+X.toString(32)+"_";return $.memoizedState=j}function v6(){return U6().memoizedState=NY.bind(null,Gj)}function NY($,j){for(var X=$.return;X!==null;){switch(X.tag){case 24:case 3:var O=W$(X),A=Iv(O),E=Xv(X,A,O);E!==null&&(_U(O,"refresh()",$),s$(E,X,O),$6(E,X,O)),$=WX(),j!==null&&j!==void 0&&E!==null&&console.error("The seed argument is not enabled outside experimental channels."),A.payload={cache:$};return}X=X.return}}function VW($,j,X){var O=arguments;typeof O[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()."),O=W$($);var A={lane:O,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};_J($)?TQ(j,A):(A=QX($,j,A,O),A!==null&&(_U(O,"dispatch()",$),s$(A,$,O),R2(A,j,O)))}function y6($,j,X){var O=arguments;typeof O[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()."),O=W$($),bv($,j,X,O)&&_U(O,"setState()",$)}function bv($,j,X,O){var A={lane:O,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};if(_J($))TQ(j,A);else{var E=$.alternate;if($.lanes===0&&(E===null||E.lanes===0)&&(E=j.lastRenderedReducer,E!==null)){var f=Q$.H;Q$.H=fX;try{var l=j.lastRenderedState,$0=E(l,X);if(A.hasEagerState=!0,A.eagerState=$0,c1($0,l))return a4($,j,A,0),QU===null&&j1(),!1}catch(Q0){}finally{Q$.H=f}}if(X=QX($,j,A,O),X!==null)return s$(X,$,O),R2(X,j,O),!0}return!1}function X1($,j,X,O){if(Q$.T===null&&qZ===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."),O={lane:2,revertLane:TU(),gesture:null,action:O,hasEagerState:!1,eagerState:null,next:null},_J($)){if(j)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else j=QX($,X,O,2),j!==null&&(_U(2,"setOptimistic()",$),s$(j,$,2))}function _J($){var j=$.alternate;return $===Gj||j!==null&&j===Gj}function TQ($,j){X8=WV=!0;var X=$.pending;X===null?j.next=j:(j.next=X.next,X.next=j),$.pending=j}function R2($,j,X){if((X&4194048)!==0){var O=j.lanes;O&=$.pendingLanes,X|=O,j.lanes=X,Y$($,X)}}function AX($){if($!==null&&typeof $!=="function"){var j=String($);zR.has(j)||(zR.add(j),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function MJ($,j,X,O){var A=$.memoizedState,E=X(O,A);if($.mode&V1){o0(!0);try{E=X(O,A)}finally{o0(!1)}}E===void 0&&(j=S0(j)||"Component",QR.has(j)||(QR.add(j),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",j))),A=E===null||E===void 0?A:wj({},A,E),$.memoizedState=A,$.lanes===0&&($.updateQueue.baseState=A)}function qX($,j,X,O,A,E,f){var l=$.stateNode;if(typeof l.shouldComponentUpdate==="function"){if(X=l.shouldComponentUpdate(O,E,f),$.mode&V1){o0(!0);try{X=l.shouldComponentUpdate(O,E,f)}finally{o0(!1)}}return X===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",S0(j)||"Component"),X}return j.prototype&&j.prototype.isPureReactComponent?!KI(X,O)||!KI(A,E):!0}function PX($,j,X,O){var A=j.state;typeof j.componentWillReceiveProps==="function"&&j.componentWillReceiveProps(X,O),typeof j.UNSAFE_componentWillReceiveProps==="function"&&j.UNSAFE_componentWillReceiveProps(X,O),j.state!==A&&($=X0($)||"Component",UR.has($)||(UR.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),XH.enqueueReplaceState(j,j.state,null))}function J1($,j){var X=j;if("ref"in j){X={};for(var O in j)O!=="ref"&&(X[O]=j[O])}if($=$.defaultProps){X===j&&(X=wj({},X));for(var A in $)X[A]===void 0&&(X[A]=$[A])}return X}function CX($){xF($),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,J8?"An error occurred in the <"+J8+"> 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 mv($){var j=J8?"The above error occurred in the <"+J8+"> component.":"The above error occurred in one of your React components.",X="React will try to recreate this component tree from scratch using the error boundary you provided, "+((JH||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var O=$.environmentName;$=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,$,j,X].slice(0),typeof $[0]==="string"?$.splice(0,1,iR+" "+$[0],rR,fV+O+fV,oR):$.splice(0,0,iR,rR,fV+O+fV,oR),$.unshift(console),O=pw.apply(console.error,$),O()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,$,j,X)}function A1($){xF($)}function uv($,j){try{J8=j.source?X0(j.source):null,JH=null;var X=j.value;if(Q$.actQueue!==null)Q$.thrownErrors.push(X);else{var O=$.onUncaughtError;O(X,{componentStack:j.stack})}}catch(A){setTimeout(function(){throw A})}}function f6($,j,X){try{J8=X.source?X0(X.source):null,JH=X0(j);var O=$.onCaughtError;O(X.value,{componentStack:X.stack,errorBoundary:j.tag===1?j.stateNode:null})}catch(A){setTimeout(function(){throw A})}}function NI($,j,X){return X=Iv(X),X.tag=eF,X.payload={element:null},X.callback=function(){D0(j.source,uv,$,j)},X}function SY($){return $=Iv($),$.tag=eF,$}function LJ($,j,X,O){var A=X.type.getDerivedStateFromError;if(typeof A==="function"){var E=O.value;$.payload=function(){return A(E)},$.callback=function(){WY(X),D0(O.source,f6,j,X,O)}}var f=X.stateNode;f!==null&&typeof f.componentDidCatch==="function"&&($.callback=function(){WY(X),D0(O.source,f6,j,X,O),typeof A!=="function"&&(zG===null?zG=new Set([this]):zG.add(this)),Hw(this,O),typeof A==="function"||(X.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.",X0(X)||"Unknown")})}function H6($,j,X,O,A){if(X.flags|=32768,yJ&&m4($,A),O!==null&&typeof O==="object"&&typeof O.then==="function"){if(j=X.alternate,j!==null&&O6(j,X,A,!0),lj&&(mJ=!0),X=av.current,X!==null){switch(X.tag){case 31:case 13:return pI===null?hj():X.alternate===null&&tU===oQ&&(tU=DV),X.flags&=-257,X.flags|=65536,X.lanes=A,O===GV?X.flags|=16384:(j=X.updateQueue,j===null?X.updateQueue=new Set([O]):j.add(O),K4($,O,A)),!1;case 22:return X.flags|=65536,O===GV?X.flags|=16384:(j=X.updateQueue,j===null?(j={transitions:null,markerInstances:null,retryQueue:new Set([O])},X.updateQueue=j):(X=j.retryQueue,X===null?j.retryQueue=new Set([O]):X.add(O)),K4($,O,A)),!1}throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}return K4($,O,A),hj(),!1}if(lj)return mJ=!0,j=av.current,j!==null?((j.flags&65536)===0&&(j.flags|=256),j.flags|=65536,j.lanes=A,O!==hF&&IJ(S6(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:O}),X))):(O!==hF&&IJ(S6(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:O}),X)),$=$.current.alternate,$.flags|=65536,A&=-A,$.lanes|=A,O=S6(O,X),A=NI($.stateNode,O,A),OQ($,A),tU!==QG&&(tU=BZ)),!1;var E=S6(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:O}),X);if(GK===null?GK=[E]:GK.push(E),tU!==QG&&(tU=BZ),j===null)return!0;O=S6(O,X),X=j;do{switch(X.tag){case 3:return X.flags|=65536,$=A&-A,X.lanes|=$,$=NI(X.stateNode,O,$),OQ(X,$),!1;case 1:if(j=X.type,E=X.stateNode,(X.flags&128)===0&&(typeof j.getDerivedStateFromError==="function"||E!==null&&typeof E.componentDidCatch==="function"&&(zG===null||!zG.has(E))))return X.flags|=65536,A&=-A,X.lanes|=A,A=SY(A),LJ(A,$,X,O),OQ(X,A),!1}X=X.return}while(X!==null);return!1}function C4($,j,X,O){j.child=$===null?dC(j,null,X,O):EZ(j,$.child,X,O)}function y4($,j,X,O,A){X=X.render;var E=j.ref;if("ref"in O){var f={};for(var l in O)l!=="ref"&&(f[l]=O[l])}else f=O;if(wv(j),O=OJ($,j,X,f,E,A),l=rG(),$!==null&&!n4)return oG($,j,A),c2($,j,A);return lj&&l&&JQ(j),j.flags|=1,C4($,j,O,A),j.child}function AJ($,j,X,O,A){if($===null){var E=X.type;if(typeof E==="function"&&!nj(E)&&E.defaultProps===void 0&&X.compare===null)return X=e1(E),j.tag=15,j.type=X,gQ(j,E),hv($,j,X,O,A);return $=GX(X.type,null,O,j,j.mode,A),$.ref=j.ref,$.return=j,j.child=$}if(E=$.child,!RJ($,A)){var f=E.memoizedProps;if(X=X.compare,X=X!==null?X:KI,X(f,O)&&$.ref===j.ref)return c2($,j,A)}return j.flags|=1,$=N6(E,O),$.ref=j.ref,$.return=j,j.child=$}function hv($,j,X,O,A){if($!==null){var E=$.memoizedProps;if(KI(E,O)&&$.ref===j.ref&&j.type===$.type)if(n4=!1,j.pendingProps=O=E,RJ($,A))($.flags&131072)!==0&&(n4=!0);else return j.lanes=$.lanes,c2($,j,A)}return CJ($,j,X,O,A)}function wY($,j,X,O){var A=O.children,E=$!==null?$.memoizedState:null;if($===null&&j.stateNode===null&&(j.stateNode={_visibility:fW,_pendingMarkers:null,_retryCache:null,_transitions:null}),O.mode==="hidden"){if((j.flags&128)!==0){if(E=E!==null?E.baseLanes|X:X,$!==null){O=j.child=$.child;for(A=0;O!==null;)A=A|O.lanes|O.childLanes,O=O.sibling;O=A&~E}else O=0,j.child=null;return kY($,j,E,X,O)}if((X&536870912)!==0)j.memoizedState={baseLanes:0,cachePool:null},$!==null&&P4(j,E!==null?E.cachePool:null),E!==null?UU(j,E):DQ(j),KJ(j);else return O=j.lanes=536870912,kY($,j,E!==null?E.baseLanes|X:X,X,O)}else E!==null?(P4(j,E.cachePool),UU(j,E),yv(j),j.memoizedState=null):($!==null&&P4(j,null),DQ(j),yv(j));return C4($,j,A,X),j.child}function RX($,j){return $!==null&&$.tag===22||j.stateNode!==null||(j.stateNode={_visibility:fW,_pendingMarkers:null,_retryCache:null,_transitions:null}),j.sibling}function kY($,j,X,O,A){var E=AU();return E=E===null?null:{parent:p4._currentValue,pool:E},j.memoizedState={baseLanes:X,cachePool:E},$!==null&&P4(j,null),DQ(j),KJ(j),$!==null&&O6($,j,O,!0),j.childLanes=A,null}function qJ($,j){var X=j.hidden;return X!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,X===!0?"hidden":X===!1?"hidden={false}":"hidden={...}",X?'mode="hidden"':'mode="visible"'),j=f4({mode:j.mode,children:j.children},$.mode),j.ref=$.ref,$.child=j,j.return=$,j}function cY($,j,X){return EZ(j,$.child,null,X),$=qJ(j,j.pendingProps),$.flags|=2,F6(j),j.memoizedState=null,$}function xY($,j,X){var O=j.pendingProps,A=(j.flags&128)!==0;if(j.flags&=-129,$===null){if(lj){if(O.mode==="hidden")return $=qJ(j,O),j.lanes=536870912,RX(null,$);if(a2(j),($=gU)?(X=SJ($,uI),X=X!==null&&X.data===cZ?X:null,X!==null&&(O={dehydrated:X,treeContext:QQ(),retryLane:536870912,hydrationErrors:null},j.memoizedState=O,O=mG(X),O.return=j,j.child=O,s6=j,gU=null)):X=null,X===null)throw k4(j,$),uU(j);return j.lanes=536870912,null}return qJ(j,O)}var E=$.memoizedState;if(E!==null){var f=E.dehydrated;if(a2(j),A)if(j.flags&256)j.flags&=-257,j=cY($,j,X);else if(j.memoizedState!==null)j.child=$.child,j.flags|=128,j=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(hG(),(X&536870912)!==0&&y2(j),n4||O6($,j,X,!1),A=(X&$.childLanes)!==0,n4||A){if(O=QU,O!==null&&(f=dj(O,X),f!==0&&f!==E.retryLane))throw E.retryLane=f,A4($,f),s$(O,$,f),QH;hj(),j=cY($,j,X)}else $=E.treeContext,gU=r6(f.nextSibling),s6=j,lj=!0,$G=null,mJ=!1,sv=null,uI=!1,$!==null&&uG(j,$),j=qJ(j,O),j.flags|=4096;return j}return E=$.child,O={mode:O.mode,children:O.children},(X&536870912)!==0&&(X&$.lanes)!==0&&y2(j),$=N6(E,O),$.ref=j.ref,j.child=$,$.return=j,$}function PJ($,j){var X=j.ref;if(X===null)$!==null&&$.ref!==null&&(j.flags|=4194816);else{if(typeof X!=="function"&&typeof X!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==X)j.flags|=4194816}}function CJ($,j,X,O,A){if(X.prototype&&typeof X.prototype.render==="function"){var E=S0(X)||"Unknown";WR[E]||(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.",E,E),WR[E]=!0)}if(j.mode&V1&&yX.recordLegacyContextWarning(j,null),$===null&&(gQ(j,j.type),X.contextTypes&&(E=S0(X)||"Unknown",OR[E]||(OR[E]=!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)",E)))),wv(j),X=OJ($,j,X,O,void 0,A),O=rG(),$!==null&&!n4)return oG($,j,A),c2($,j,A);return lj&&O&&JQ(j),j.flags|=1,C4($,j,X,A),j.child}function BQ($,j,X,O,A,E){if(wv(j),iQ=-1,UK=$!==null&&$.type!==j.type,j.updateQueue=null,X=MQ(j,O,X,A),_Q($,j),O=rG(),$!==null&&!n4)return oG($,j,E),c2($,j,E);return lj&&O&&JQ(j),j.flags|=1,C4($,j,X,E),j.child}function yY($,j,X,O,A){switch(Y(j)){case!1:var E=j.stateNode,f=new j.type(j.memoizedProps,E.context).state;E.updater.enqueueSetState(E,f,null);break;case!0:j.flags|=128,j.flags|=65536,E=Error("Simulated error coming from DevTools");var l=A&-A;if(j.lanes|=l,f=QU,f===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");l=SY(l),LJ(l,f,j,S6(E,j)),OQ(j,l)}if(wv(j),j.stateNode===null){if(f=eY,E=X.contextType,"contextType"in X&&E!==null&&(E===void 0||E.$$typeof!==kJ)&&!ZR.has(X)&&(ZR.add(X),l=E===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 E!=="object"?" However, it is set to a "+typeof E+".":E.$$typeof===YF?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",S0(X)||"Component",l)),typeof E==="object"&&E!==null&&(f=Kj(E)),E=new X(O,f),j.mode&V1){o0(!0);try{E=new X(O,f)}finally{o0(!1)}}if(f=j.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,E.updater=XH,j.stateNode=E,E._reactInternals=j,E._reactInternalInstance=jR,typeof X.getDerivedStateFromProps==="function"&&f===null&&(f=S0(X)||"Component",vR.has(f)||(vR.add(f),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.",f,E.state===null?"null":"undefined",f))),typeof X.getDerivedStateFromProps==="function"||typeof E.getSnapshotBeforeUpdate==="function"){var $0=l=f=null;if(typeof E.componentWillMount==="function"&&E.componentWillMount.__suppressDeprecationWarning!==!0?f="componentWillMount":typeof E.UNSAFE_componentWillMount==="function"&&(f="UNSAFE_componentWillMount"),typeof E.componentWillReceiveProps==="function"&&E.componentWillReceiveProps.__suppressDeprecationWarning!==!0?l="componentWillReceiveProps":typeof E.UNSAFE_componentWillReceiveProps==="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof E.componentWillUpdate==="function"&&E.componentWillUpdate.__suppressDeprecationWarning!==!0?$0="componentWillUpdate":typeof E.UNSAFE_componentWillUpdate==="function"&&($0="UNSAFE_componentWillUpdate"),f!==null||l!==null||$0!==null){E=S0(X)||"Component";var Q0=typeof X.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";XR.has(E)||(XR.add(E),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`,E,Q0,f!==null?`
|
|
137
|
+
`+f:"",l!==null?`
|
|
138
|
+
`+l:"",$0!==null?`
|
|
139
|
+
`+$0:""))}}E=j.stateNode,f=S0(X)||"Component",E.render||(X.prototype&&typeof X.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",f):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",f)),!E.getInitialState||E.getInitialState.isReactClassApproved||E.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?",f),E.getDefaultProps&&!E.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.",f),E.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),X.childContextTypes&&!GR.has(X)&&(GR.add(X),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",f)),X.contextTypes&&!YR.has(X)&&(YR.add(X),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)",f)),typeof E.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.",f),X.prototype&&X.prototype.isPureReactComponent&&typeof E.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.",S0(X)||"A pure component"),typeof E.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof E.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().",f),typeof E.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof E.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f),l=E.props!==O,E.props!==void 0&&l&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f),E.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.",f,f),typeof E.getSnapshotBeforeUpdate!=="function"||typeof E.componentDidUpdate==="function"||IR.has(X)||(IR.add(X),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",S0(X))),typeof E.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof E.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof X.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f),(l=E.state)&&(typeof l!=="object"||Y6(l))&&console.error("%s.state: must be set to an object or null",f),typeof E.getChildContext==="function"&&typeof X.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f),E=j.stateNode,E.props=O,E.state=j.memoizedState,E.refs={},zJ(j),f=X.contextType,E.context=typeof f==="object"&&f!==null?Kj(f):eY,E.state===O&&(f=S0(X)||"Component",JR.has(f)||(JR.add(f),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.",f))),j.mode&V1&&yX.recordLegacyContextWarning(j,E),yX.recordUnsafeLifecycleWarnings(j,E),E.state=j.memoizedState,f=X.getDerivedStateFromProps,typeof f==="function"&&(MJ(j,X,f,O),E.state=j.memoizedState),typeof X.getDerivedStateFromProps==="function"||typeof E.getSnapshotBeforeUpdate==="function"||typeof E.UNSAFE_componentWillMount!=="function"&&typeof E.componentWillMount!=="function"||(f=E.state,typeof E.componentWillMount==="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount==="function"&&E.UNSAFE_componentWillMount(),f!==E.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",X0(j)||"Component"),XH.enqueueReplaceState(E,E.state,null)),WJ(j,O,E,A),TI(),E.state=j.memoizedState),typeof E.componentDidMount==="function"&&(j.flags|=4194308),(j.mode&xX)!==Xj&&(j.flags|=134217728),E=!0}else if($===null){E=j.stateNode;var m0=j.memoizedProps;l=J1(X,m0),E.props=l;var u0=E.context;$0=X.contextType,f=eY,typeof $0==="object"&&$0!==null&&(f=Kj($0)),Q0=X.getDerivedStateFromProps,$0=typeof Q0==="function"||typeof E.getSnapshotBeforeUpdate==="function",m0=j.pendingProps!==m0,$0||typeof E.UNSAFE_componentWillReceiveProps!=="function"&&typeof E.componentWillReceiveProps!=="function"||(m0||u0!==f)&&PX(j,E,O,f),JG=!1;var B0=j.memoizedState;E.state=B0,WJ(j,O,E,A),TI(),u0=j.memoizedState,m0||B0!==u0||JG?(typeof Q0==="function"&&(MJ(j,X,Q0,O),u0=j.memoizedState),(l=JG||qX(j,X,l,O,B0,u0,f))?($0||typeof E.UNSAFE_componentWillMount!=="function"&&typeof E.componentWillMount!=="function"||(typeof E.componentWillMount==="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount==="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount==="function"&&(j.flags|=4194308),(j.mode&xX)!==Xj&&(j.flags|=134217728)):(typeof E.componentDidMount==="function"&&(j.flags|=4194308),(j.mode&xX)!==Xj&&(j.flags|=134217728),j.memoizedProps=O,j.memoizedState=u0),E.props=O,E.state=u0,E.context=f,E=l):(typeof E.componentDidMount==="function"&&(j.flags|=4194308),(j.mode&xX)!==Xj&&(j.flags|=134217728),E=!1)}else{E=j.stateNode,KQ($,j),f=j.memoizedProps,$0=J1(X,f),E.props=$0,Q0=j.pendingProps,B0=E.context,u0=X.contextType,l=eY,typeof u0==="object"&&u0!==null&&(l=Kj(u0)),m0=X.getDerivedStateFromProps,(u0=typeof m0==="function"||typeof E.getSnapshotBeforeUpdate==="function")||typeof E.UNSAFE_componentWillReceiveProps!=="function"&&typeof E.componentWillReceiveProps!=="function"||(f!==Q0||B0!==l)&&PX(j,E,O,l),JG=!1,B0=j.memoizedState,E.state=B0,WJ(j,O,E,A),TI();var e0=j.memoizedState;f!==Q0||B0!==e0||JG||$!==null&&$.dependencies!==null&&e4($.dependencies)?(typeof m0==="function"&&(MJ(j,X,m0,O),e0=j.memoizedState),($0=JG||qX(j,X,$0,O,B0,e0,l)||$!==null&&$.dependencies!==null&&e4($.dependencies))?(u0||typeof E.UNSAFE_componentWillUpdate!=="function"&&typeof E.componentWillUpdate!=="function"||(typeof E.componentWillUpdate==="function"&&E.componentWillUpdate(O,e0,l),typeof E.UNSAFE_componentWillUpdate==="function"&&E.UNSAFE_componentWillUpdate(O,e0,l)),typeof E.componentDidUpdate==="function"&&(j.flags|=4),typeof E.getSnapshotBeforeUpdate==="function"&&(j.flags|=1024)):(typeof E.componentDidUpdate!=="function"||f===$.memoizedProps&&B0===$.memoizedState||(j.flags|=4),typeof E.getSnapshotBeforeUpdate!=="function"||f===$.memoizedProps&&B0===$.memoizedState||(j.flags|=1024),j.memoizedProps=O,j.memoizedState=e0),E.props=O,E.state=e0,E.context=l,E=$0):(typeof E.componentDidUpdate!=="function"||f===$.memoizedProps&&B0===$.memoizedState||(j.flags|=4),typeof E.getSnapshotBeforeUpdate!=="function"||f===$.memoizedProps&&B0===$.memoizedState||(j.flags|=1024),E=!1)}if(l=E,PJ($,j),f=(j.flags&128)!==0,l||f){if(l=j.stateNode,L0(j),f&&typeof X.getDerivedStateFromError!=="function")X=null,x1=-1;else if(X=NC(l),j.mode&V1){o0(!0);try{NC(l)}finally{o0(!1)}}j.flags|=1,$!==null&&f?(j.child=EZ(j,$.child,null,A),j.child=EZ(j,null,X,A)):C4($,j,X,A),j.memoizedState=l.state,$=j.child}else $=c2($,j,A);return A=j.stateNode,E&&A.props!==O&&(Q8||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",X0(j)||"a component"),Q8=!0),$}function ZZ($,j,X,O){return MI(),j.flags|=256,C4($,j,X,O),j.child}function gQ($,j){j&&j.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,j.displayName||j.name||"Component"),typeof j.getDerivedStateFromProps==="function"&&($=S0(j)||"Unknown",VR[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),VR[$]=!0)),typeof j.contextType==="object"&&j.contextType!==null&&(j=S0(j)||"Unknown",KR[j]||(console.error("%s: Function components do not support contextType.",j),KR[j]=!0))}function NQ($){return{baseLanes:$,cachePool:H2()}}function EX($,j,X){return $=$!==null?$.childLanes&~X:0,j&&($|=Hv),$}function zZ($,j,X){var O,A=j.pendingProps;Z(j)&&(j.flags|=128);var E=!1,f=(j.flags&128)!==0;if((O=f)||(O=$!==null&&$.memoizedState===null?!1:(g4.current&$K)!==0),O&&(E=!0,j.flags&=-129),O=(j.flags&32)!==0,j.flags&=-33,$===null){if(lj){if(E?xv(j):yv(j),($=gU)?(X=SJ($,uI),X=X!==null&&X.data!==cZ?X:null,X!==null&&(O={dehydrated:X,treeContext:QQ(),retryLane:536870912,hydrationErrors:null},j.memoizedState=O,O=mG(X),O.return=j,j.child=O,s6=j,gU=null)):X=null,X===null)throw k4(j,$),uU(j);return Bz(X)?j.lanes=32:j.lanes=536870912,null}var l=A.children;if(A=A.fallback,E){yv(j);var $0=j.mode;return l=f4({mode:"hidden",children:l},$0),A=ZX(A,$0,X,null),l.return=j,A.return=j,l.sibling=A,j.child=l,A=j.child,A.memoizedState=NQ(X),A.childLanes=EX($,O,X),j.memoizedState=YH,RX(null,A)}return xv(j),fY(j,l)}var Q0=$.memoizedState;if(Q0!==null){var m0=Q0.dehydrated;if(m0!==null){if(f)j.flags&256?(xv(j),j.flags&=-257,j=TX($,j,X)):j.memoizedState!==null?(yv(j),j.child=$.child,j.flags|=128,j=null):(yv(j),l=A.fallback,$0=j.mode,A=f4({mode:"visible",children:A.children},$0),l=ZX(l,$0,X,null),l.flags|=2,A.return=j,l.return=j,A.sibling=l,j.child=A,EZ(j,$.child,null,X),A=j.child,A.memoizedState=NQ(X),A.childLanes=EX($,O,X),j.memoizedState=YH,j=RX(null,A));else if(xv(j),hG(),(X&536870912)!==0&&y2(j),Bz(m0)){if(O=m0.nextSibling&&m0.nextSibling.dataset,O){l=O.dgst;var u0=O.msg;$0=O.stck;var B0=O.cstck}E=u0,O=l,A=$0,m0=B0,l=E,$0=m0,l=l?Error(l):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),l.stack=A||"",l.digest=O,O=$0===void 0?null:$0,A={value:l,source:null,stack:O},typeof O==="string"&&uF.set(l,A),IJ(A),j=TX($,j,X)}else if(n4||O6($,j,X,!1),O=(X&$.childLanes)!==0,n4||O){if(O=QU,O!==null&&(A=dj(O,X),A!==0&&A!==Q0.retryLane))throw Q0.retryLane=A,A4($,A),s$(O,$,A),QH;OZ(m0)||hj(),j=TX($,j,X)}else OZ(m0)?(j.flags|=192,j.child=$.child,j=null):($=Q0.treeContext,gU=r6(m0.nextSibling),s6=j,lj=!0,$G=null,mJ=!1,sv=null,uI=!1,$!==null&&uG(j,$),j=fY(j,A.children),j.flags|=4096);return j}}if(E)return yv(j),l=A.fallback,$0=j.mode,B0=$.child,m0=B0.sibling,A=N6(B0,{mode:"hidden",children:A.children}),A.subtreeFlags=B0.subtreeFlags&65011712,m0!==null?l=N6(m0,l):(l=ZX(l,$0,X,null),l.flags|=2),l.return=j,A.return=j,A.sibling=l,j.child=A,RX(null,A),A=j.child,l=$.child.memoizedState,l===null?l=NQ(X):($0=l.cachePool,$0!==null?(B0=p4._currentValue,$0=$0.parent!==B0?{parent:B0,pool:B0}:$0):$0=H2(),l={baseLanes:l.baseLanes|X,cachePool:$0}),A.memoizedState=l,A.childLanes=EX($,O,X),j.memoizedState=YH,RX($.child,A);return Q0!==null&&(X&62914560)===X&&(X&$.lanes)!==0&&y2(j),xv(j),X=$.child,$=X.sibling,X=N6(X,{mode:"visible",children:A.children}),X.return=j,X.sibling=null,$!==null&&(O=j.deletions,O===null?(j.deletions=[$],j.flags|=16):O.push($)),j.child=X,j.memoizedState=null,X}function fY($,j){return j=f4({mode:"visible",children:j},$.mode),j.return=$,$.child=j}function f4($,j){return $=T(22,$,null,j),$.lanes=0,$}function TX($,j,X){return EZ(j,$.child,null,X),$=fY(j,j.pendingProps.children),$.flags|=2,j.memoizedState=null,$}function Cz($,j,X){$.lanes|=j;var O=$.alternate;O!==null&&(O.lanes|=j),Sv($.return,j,X)}function zU($,j,X,O,A,E){var f=$.memoizedState;f===null?$.memoizedState={isBackwards:j,rendering:null,renderingStartTime:0,last:O,tail:X,tailMode:A,treeForkCount:E}:(f.isBackwards=j,f.rendering=null,f.renderingStartTime=0,f.last=O,f.tail=X,f.tailMode=A,f.treeForkCount=E)}function b6($,j,X){var O=j.pendingProps,A=O.revealOrder,E=O.tail,f=O.children,l=g4.current;if((O=(l&$K)!==0)?(l=l&v8|$K,j.flags|=128):l&=v8,K(g4,l,j),l=A==null?"null":A,A!=="forwards"&&A!=="unstable_legacy-backwards"&&A!=="together"&&A!=="independent"&&!DR[l])if(DR[l]=!0,A==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(A==="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 A==="string")switch(A.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.',A,A.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.',A,A.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',A)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',A);if(l=E==null?"null":E,!VV[l])if(E==null){if(A==="forwards"||A==="backwards"||A==="unstable_legacy-backwards")VV[l]=!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 E!=="visible"&&E!=="collapsed"&&E!=="hidden"?(VV[l]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',E)):A!=="forwards"&&A!=="backwards"&&A!=="unstable_legacy-backwards"&&(VV[l]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',E));$:if((A==="forwards"||A==="backwards"||A==="unstable_legacy-backwards")&&f!==void 0&&f!==null&&f!==!1)if(Y6(f)){for(l=0;l<f.length;l++)if(!ZJ(f[l],l))break $}else if(l=C0(f),typeof l==="function"){if(l=l.call(f))for(var $0=l.next(),Q0=0;!$0.done;$0=l.next()){if(!ZJ($0.value,Q0))break $;Q0++}}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?',A);if(C4($,j,f,X),lj?(Nv(),f=bW):f=0,!O&&$!==null&&($.flags&128)!==0)$:for($=j.child;$!==null;){if($.tag===13)$.memoizedState!==null&&Cz($,X,j);else if($.tag===19)Cz($,X,j);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===j)break $;for(;$.sibling===null;){if($.return===null||$.return===j)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(A){case"forwards":X=j.child;for(A=null;X!==null;)$=X.alternate,$!==null&&FQ($)===null&&(A=X),X=X.sibling;X=A,X===null?(A=j.child,j.child=null):(A=X.sibling,X.sibling=null),zU(j,!1,A,X,E,f);break;case"backwards":case"unstable_legacy-backwards":X=null,A=j.child;for(j.child=null;A!==null;){if($=A.alternate,$!==null&&FQ($)===null){j.child=A;break}$=A.sibling,A.sibling=X,X=A,A=$}zU(j,!0,X,null,E,f);break;case"together":zU(j,!1,null,null,void 0,f);break;default:j.memoizedState=null}return j.child}function c2($,j,X){if($!==null&&(j.dependencies=$.dependencies),x1=-1,GG|=j.lanes,(X&j.childLanes)===0)if($!==null){if(O6($,j,X,!1),(X&j.childLanes)===0)return null}else return null;if($!==null&&j.child!==$.child)throw Error("Resuming work not yet implemented.");if(j.child!==null){$=j.child,X=N6($,$.pendingProps),j.child=X;for(X.return=j;$.sibling!==null;)$=$.sibling,X=X.sibling=N6($,$.pendingProps),X.return=j;X.sibling=null}return j.child}function RJ($,j){if(($.lanes&j)!==0)return!0;return $=$.dependencies,$!==null&&e4($)?!0:!1}function Q1($,j,X){switch(j.tag){case 3:W(j,j.stateNode.containerInfo),LI(j,p4,$.memoizedState.cache),MI();break;case 27:case 5:N(j);break;case 4:W(j,j.stateNode.containerInfo);break;case 10:LI(j,j.type,j.memoizedProps.value);break;case 12:(X&j.childLanes)!==0&&(j.flags|=4),j.flags|=2048;var O=j.stateNode;O.effectDuration=-0,O.passiveEffectDuration=-0;break;case 31:if(j.memoizedState!==null)return j.flags|=128,a2(j),null;break;case 13:if(O=j.memoizedState,O!==null){if(O.dehydrated!==null)return xv(j),j.flags|=128,null;if((X&j.child.childLanes)!==0)return zZ($,j,X);return xv(j),$=c2($,j,X),$!==null?$.sibling:null}xv(j);break;case 19:var A=($.flags&128)!==0;if(O=(X&j.childLanes)!==0,O||(O6($,j,X,!1),O=(X&j.childLanes)!==0),A){if(O)return b6($,j,X);j.flags|=128}if(A=j.memoizedState,A!==null&&(A.rendering=null,A.tail=null,A.lastEffect=null),K(g4,g4.current,j),O)break;else return null;case 22:return j.lanes=0,wY($,j,X,j.pendingProps);case 24:LI(j,p4,$.memoizedState.cache)}return c2($,j,X)}function sj($,j,X){if(j._debugNeedsRemount&&$!==null){X=GX(j.type,j.key,j.pendingProps,j._debugOwner||null,j.mode,j.lanes),X._debugStack=j._debugStack,X._debugTask=j._debugTask;var O=j.return;if(O===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,j.alternate=null,X.index=j.index,X.sibling=j.sibling,X.return=j.return,X.ref=j.ref,X._debugInfo=j._debugInfo,j===O.child)O.child=X;else{var A=O.child;if(A===null)throw Error("Expected parent to have a child.");for(;A.sibling!==j;)if(A=A.sibling,A===null)throw Error("Expected to find the previous sibling.");A.sibling=X}return j=O.deletions,j===null?(O.deletions=[$],O.flags|=16):j.push($),X.flags|=2,X}if($!==null)if($.memoizedProps!==j.pendingProps||j.type!==$.type)n4=!0;else{if(!RJ($,X)&&(j.flags&128)===0)return n4=!1,Q1($,j,X);n4=($.flags&131072)!==0?!0:!1}else{if(n4=!1,O=lj)Nv(),O=(j.flags&1048576)!==0;O&&(O=j.index,Nv(),jv(j,bW,O))}switch(j.lanes=0,j.tag){case 16:$:if(O=j.pendingProps,$=cv(j.elementType),j.type=$,typeof $==="function")nj($)?(O=J1($,O),j.tag=1,j.type=$=e1($),j=yY(null,j,$,O,X)):(j.tag=0,gQ(j,$),j.type=$=e1($),j=CJ(null,j,$,O,X));else{if($!==void 0&&$!==null){if(A=$.$$typeof,A===RW){j.tag=11,j.type=$=M1($),j=y4(null,j,$,O,X);break $}else if(A===yO){j.tag=14,j=AJ(null,j,$,O,X);break $}}throw j="",$!==null&&typeof $==="object"&&$.$$typeof===rv&&(j=" Did you wrap a component in React.lazy() more than once?"),X=S0($)||$,Error("Element type is invalid. Received a promise that resolves to: "+X+". Lazy element type must resolve to a class or function."+j)}return j;case 0:return CJ($,j,j.type,j.pendingProps,X);case 1:return O=j.type,A=J1(O,j.pendingProps),yY($,j,O,A,X);case 3:$:{if(W(j,j.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");O=j.pendingProps;var E=j.memoizedState;A=E.element,KQ($,j),WJ(j,O,null,X);var f=j.memoizedState;if(O=f.cache,LI(j,p4,O),O!==E.cache&&lG(j,[p4],X,!0),TI(),O=f.element,E.isDehydrated)if(E={element:O,isDehydrated:!1,cache:f.cache},j.updateQueue.baseState=E,j.memoizedState=E,j.flags&256){j=ZZ($,j,O,X);break $}else if(O!==A){A=S6(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),j),IJ(A),j=ZZ($,j,O,X);break $}else{switch($=j.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}gU=r6($.firstChild),s6=j,lj=!0,$G=null,mJ=!1,sv=null,uI=!0,X=dC(j,null,O,X);for(j.child=X;X;)X.flags=X.flags&-3|4096,X=X.sibling}else{if(MI(),O===A){j=c2($,j,X);break $}C4($,j,O,X)}j=j.child}return j;case 26:return PJ($,j),$===null?(X=vP(j.type,null,j.pendingProps,null))?j.memoizedState=X:lj||(X=j.type,$=j.pendingProps,O=D(iY.current),O=K1(O).createElement(X),O[t6]=j,O[w1]=$,n2(O,X,$),u$(O),j.stateNode=O):j.memoizedState=vP(j.type,$.memoizedProps,j.pendingProps,$.memoizedState),null;case 27:return N(j),$===null&&lj&&(O=D(iY.current),A=R(),O=j.stateNode=AW(j.type,j.pendingProps,O,A,!1),mJ||(A=g1(O,j.type,j.pendingProps,A),A!==null&&(zX(j,0).serverProps=A)),s6=j,uI=!0,A=gU,gJ(j.type)?(NH=A,gU=r6(O.firstChild)):gU=A),C4($,j,j.pendingProps.children,X),PJ($,j),$===null&&(j.flags|=4194304),j.child;case 5:return $===null&&lj&&(E=R(),O=jQ(j.type,E.ancestorInfo),A=gU,(f=!A)||(f=lY(A,j.type,j.pendingProps,uI),f!==null?(j.stateNode=f,mJ||(E=g1(f,j.type,j.pendingProps,E),E!==null&&(zX(j,0).serverProps=E)),s6=j,gU=r6(f.firstChild),uI=!1,E=!0):E=!1,f=!E),f&&(O&&k4(j,A),uU(j))),N(j),A=j.type,E=j.pendingProps,f=$!==null?$.memoizedProps:null,O=E.children,cI(A,E)?O=null:f!==null&&cI(A,f)&&(j.flags|=32),j.memoizedState!==null&&(A=OJ($,j,Gz,null,null,X),HK._currentValue=A),PJ($,j),C4($,j,O,X),j.child;case 6:return $===null&&lj&&(X=j.pendingProps,$=R(),O=$.ancestorInfo.current,X=O!=null?aI(X,O.tag,$.ancestorInfo.implicitRootScope):!0,$=gU,(O=!$)||(O=FW($,j.pendingProps,uI),O!==null?(j.stateNode=O,s6=j,gU=null,O=!0):O=!1,O=!O),O&&(X&&k4(j,$),uU(j))),null;case 13:return zZ($,j,X);case 4:return W(j,j.stateNode.containerInfo),O=j.pendingProps,$===null?j.child=EZ(j,null,O,X):C4($,j,O,X),j.child;case 11:return y4($,j,j.type,j.pendingProps,X);case 7:return C4($,j,j.pendingProps,X),j.child;case 8:return C4($,j,j.pendingProps.children,X),j.child;case 12:return j.flags|=4,j.flags|=2048,O=j.stateNode,O.effectDuration=-0,O.passiveEffectDuration=-0,C4($,j,j.pendingProps.children,X),j.child;case 10:return O=j.type,A=j.pendingProps,E=A.value,"value"in A||FR||(FR=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),LI(j,O,E),C4($,j,A.children,X),j.child;case 9:return A=j.type._context,O=j.pendingProps.children,typeof O!=="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."),wv(j),A=Kj(A),O=oF(O,A,void 0),j.flags|=1,C4($,j,O,X),j.child;case 14:return AJ($,j,j.type,j.pendingProps,X);case 15:return hv($,j,j.type,j.pendingProps,X);case 19:return b6($,j,X);case 31:return xY($,j,X);case 22:return wY($,j,X,j.pendingProps);case 24:return wv(j),O=Kj(p4),$===null?(A=AU(),A===null&&(A=QU,E=WX(),A.pooledCache=E,qI(E),E!==null&&(A.pooledCacheLanes|=X),A=E),j.memoizedState={parent:O,cache:A},zJ(j),LI(j,p4,A)):(($.lanes&X)!==0&&(KQ($,j),WJ(j,null,null,X),TI()),A=$.memoizedState,E=j.memoizedState,A.parent!==O?(A={parent:O,cache:O},j.memoizedState=A,j.lanes===0&&(j.memoizedState=j.updateQueue.baseState=A),LI(j,p4,O)):(O=E.cache,LI(j,p4,O),O!==A.cache&&lG(j,[p4],X,!0))),C4($,j,j.pendingProps.children,X),j.child;case 29:throw j.pendingProps}throw Error("Unknown unit of work tag ("+j.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function hU($){$.flags|=4}function q1($,j,X,O,A){if(j=($.mode&Ow)!==Xj)j=!1;if(j){if($.flags|=16777216,(A&335544128)===A)if($.stateNode.complete)$.flags|=8192;else if($2())$.flags|=8192;else throw RZ=GV,sF}else $.flags&=-16777217}function qU($,j){if(j.type!=="stylesheet"||(j.state.loading&nI)!==fZ)$.flags&=-16777217;else if($.flags|=16777216,!YP(j))if($2())$.flags|=8192;else throw RZ=GV,sF}function pv($,j){j!==null&&($.flags|=4),$.flags&16384&&(j=$.tag!==22?i$():536870912,$.lanes|=j,SZ|=j)}function Yv($,j){if(!lj)switch($.tailMode){case"hidden":j=$.tail;for(var X=null;j!==null;)j.alternate!==null&&(X=j),j=j.sibling;X===null?$.tail=null:X.sibling=null;break;case"collapsed":X=$.tail;for(var O=null;X!==null;)X.alternate!==null&&(O=X),X=X.sibling;O===null?j||$.tail===null?$.tail=null:$.tail.sibling=null:O.sibling=null}}function U2($){var j=$.alternate!==null&&$.alternate.child===$.child,X=0,O=0;if(j)if(($.mode&Pj)!==Xj){for(var{selfBaseDuration:A,child:E}=$;E!==null;)X|=E.lanes|E.childLanes,O|=E.subtreeFlags&65011712,O|=E.flags&65011712,A+=E.treeBaseDuration,E=E.sibling;$.treeBaseDuration=A}else for(A=$.child;A!==null;)X|=A.lanes|A.childLanes,O|=A.subtreeFlags&65011712,O|=A.flags&65011712,A.return=$,A=A.sibling;else if(($.mode&Pj)!==Xj){A=$.actualDuration,E=$.selfBaseDuration;for(var f=$.child;f!==null;)X|=f.lanes|f.childLanes,O|=f.subtreeFlags,O|=f.flags,A+=f.actualDuration,E+=f.treeBaseDuration,f=f.sibling;$.actualDuration=A,$.treeBaseDuration=E}else for(A=$.child;A!==null;)X|=A.lanes|A.childLanes,O|=A.subtreeFlags,O|=A.flags,A.return=$,A=A.sibling;return $.subtreeFlags|=O,$.childLanes=X,j}function BX($,j,X){var O=j.pendingProps;switch(Q4(j),j.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U2(j),null;case 1:return U2(j),null;case 3:if(X=j.stateNode,O=null,$!==null&&(O=$.memoizedState.cache),j.memoizedState.cache!==O&&(j.flags|=2048),s2(p4,j),V(j),X.pendingContext&&(X.context=X.pendingContext,X.pendingContext=null),$===null||$.child===null)cj(j)?(pG(),hU(j)):$===null||$.memoizedState.isDehydrated&&(j.flags&256)===0||(j.flags|=1024,YQ());return U2(j),null;case 26:var{type:A,memoizedState:E}=j;return $===null?(hU(j),E!==null?(U2(j),qU(j,E)):(U2(j),q1(j,A,null,O,X))):E?E!==$.memoizedState?(hU(j),U2(j),qU(j,E)):(U2(j),j.flags&=-16777217):($=$.memoizedProps,$!==O&&hU(j),U2(j),q1(j,A,$,O,X)),null;case 27:if(q(j),X=D(iY.current),A=j.type,$!==null&&j.stateNode!=null)$.memoizedProps!==O&&hU(j);else{if(!O){if(j.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 U2(j),null}$=R(),cj(j)?OY(j,$):($=AW(A,O,X,$,!0),j.stateNode=$,hU(j))}return U2(j),null;case 5:if(q(j),A=j.type,$!==null&&j.stateNode!=null)$.memoizedProps!==O&&hU(j);else{if(!O){if(j.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 U2(j),null}var f=R();if(cj(j))OY(j,f);else{switch(E=D(iY.current),jQ(A,f.ancestorInfo),f=f.context,E=K1(E),f){case V8:E=E.createElementNS(bz,A);break;case cV:E=E.createElementNS(lO,A);break;default:switch(A){case"svg":E=E.createElementNS(bz,A);break;case"math":E=E.createElementNS(lO,A);break;case"script":E=E.createElement("div"),E.innerHTML="<script></script>",E=E.removeChild(E.firstChild);break;case"select":E=typeof O.is==="string"?E.createElement("select",{is:O.is}):E.createElement("select"),O.multiple?E.multiple=!0:O.size&&(E.size=O.size);break;default:E=typeof O.is==="string"?E.createElement(A,{is:O.is}):E.createElement(A),A.indexOf("-")===-1&&(A!==A.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",A),Object.prototype.toString.call(E)!=="[object HTMLUnknownElement]"||kX.call(uR,A)||(uR[A]=!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.",A)))}}E[t6]=j,E[w1]=O;$:for(f=j.child;f!==null;){if(f.tag===5||f.tag===6)E.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===j)break $;for(;f.sibling===null;){if(f.return===null||f.return===j)break $;f=f.return}f.sibling.return=f.return,f=f.sibling}j.stateNode=E;$:switch(n2(E,A,O),A){case"button":case"input":case"select":case"textarea":O=!!O.autoFocus;break $;case"img":O=!0;break $;default:O=!1}O&&hU(j)}}return U2(j),q1(j,j.type,$===null?null:$.memoizedProps,j.pendingProps,X),null;case 6:if($&&j.stateNode!=null)$.memoizedProps!==O&&hU(j);else{if(typeof O!=="string"&&j.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($=D(iY.current),X=R(),cj(j)){if($=j.stateNode,X=j.memoizedProps,A=!mJ,O=null,E=s6,E!==null)switch(E.tag){case 3:A&&(A=HW($,X,O),A!==null&&(zX(j,0).serverProps=A));break;case 27:case 5:O=E.memoizedProps,A&&(A=HW($,X,O),A!==null&&(zX(j,0).serverProps=A))}$[t6]=j,$=$.nodeValue===X||O!==null&&O.suppressHydrationWarning===!0||z1($.nodeValue,X)?!0:!1,$||uU(j,!0)}else A=X.ancestorInfo.current,A!=null&&aI(O,A.tag,X.ancestorInfo.implicitRootScope),$=K1($).createTextNode(O),$[t6]=j,j.stateNode=$}return U2(j),null;case 31:if(X=j.memoizedState,$===null||$.memoizedState!==null){if(O=cj(j),X!==null){if($===null){if(!O)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=j.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.");$[t6]=j,U2(j),(j.mode&Pj)!==Xj&&X!==null&&($=j.child,$!==null&&(j.treeBaseDuration-=$.treeBaseDuration))}else pG(),MI(),(j.flags&128)===0&&(X=j.memoizedState=null),j.flags|=4,U2(j),(j.mode&Pj)!==Xj&&X!==null&&($=j.child,$!==null&&(j.treeBaseDuration-=$.treeBaseDuration));$=!1}else X=YQ(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=X),$=!0;if(!$){if(j.flags&256)return F6(j),j;return F6(j),null}if((j.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return U2(j),null;case 13:if(O=j.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(A=O,E=cj(j),A!==null&&A.dehydrated!==null){if($===null){if(!E)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(E=j.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");E[t6]=j,U2(j),(j.mode&Pj)!==Xj&&A!==null&&(A=j.child,A!==null&&(j.treeBaseDuration-=A.treeBaseDuration))}else pG(),MI(),(j.flags&128)===0&&(A=j.memoizedState=null),j.flags|=4,U2(j),(j.mode&Pj)!==Xj&&A!==null&&(A=j.child,A!==null&&(j.treeBaseDuration-=A.treeBaseDuration));A=!1}else A=YQ(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=A),A=!0;if(!A){if(j.flags&256)return F6(j),j;return F6(j),null}}if(F6(j),(j.flags&128)!==0)return j.lanes=X,(j.mode&Pj)!==Xj&&CI(j),j;return X=O!==null,$=$!==null&&$.memoizedState!==null,X&&(O=j.child,A=null,O.alternate!==null&&O.alternate.memoizedState!==null&&O.alternate.memoizedState.cachePool!==null&&(A=O.alternate.memoizedState.cachePool.pool),E=null,O.memoizedState!==null&&O.memoizedState.cachePool!==null&&(E=O.memoizedState.cachePool.pool),E!==A&&(O.flags|=2048)),X!==$&&X&&(j.child.flags|=8192),pv(j,j.updateQueue),U2(j),(j.mode&Pj)!==Xj&&X&&($=j.child,$!==null&&(j.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return V(j),$===null&&A6(j.stateNode.containerInfo),U2(j),null;case 10:return s2(j.type,j),U2(j),null;case 19:if(Q(g4,j),O=j.memoizedState,O===null)return U2(j),null;if(A=(j.flags&128)!==0,E=O.rendering,E===null)if(A)Yv(O,!1);else{if(tU!==oQ||$!==null&&($.flags&128)!==0)for($=j.child;$!==null;){if(E=FQ($),E!==null){j.flags|=128,Yv(O,!1),$=E.updateQueue,j.updateQueue=$,pv(j,$),j.subtreeFlags=0,$=X;for(X=j.child;X!==null;)vJ(X,$),X=X.sibling;return K(g4,g4.current&v8|$K,j),lj&&$v(j,O.treeForkCount),j.child}$=$.sibling}O.tail!==null&&C6()>AV&&(j.flags|=128,A=!0,Yv(O,!1),j.lanes=4194304)}else{if(!A)if($=FQ(E),$!==null){if(j.flags|=128,A=!0,$=$.updateQueue,j.updateQueue=$,pv(j,$),Yv(O,!0),O.tail===null&&O.tailMode==="hidden"&&!E.alternate&&!lj)return U2(j),null}else 2*C6()-O.renderingStartTime>AV&&X!==536870912&&(j.flags|=128,A=!0,Yv(O,!1),j.lanes=4194304);O.isBackwards?(E.sibling=j.child,j.child=E):($=O.last,$!==null?$.sibling=E:j.child=E,O.last=E)}if(O.tail!==null)return $=O.tail,O.rendering=$,O.tail=$.sibling,O.renderingStartTime=C6(),$.sibling=null,X=g4.current,X=A?X&v8|$K:X&v8,K(g4,X,j),lj&&$v(j,O.treeForkCount),$;return U2(j),null;case 22:case 23:return F6(j),HY(j),O=j.memoizedState!==null,$!==null?$.memoizedState!==null!==O&&(j.flags|=8192):O&&(j.flags|=8192),O?(X&536870912)!==0&&(j.flags&128)===0&&(U2(j),j.subtreeFlags&6&&(j.flags|=8192)):U2(j),X=j.updateQueue,X!==null&&pv(j,X.retryQueue),X=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),O=null,j.memoizedState!==null&&j.memoizedState.cachePool!==null&&(O=j.memoizedState.cachePool.pool),O!==X&&(j.flags|=2048),$!==null&&Q(PZ,j),null;case 24:return X=null,$!==null&&(X=$.memoizedState.cache),j.memoizedState.cache!==X&&(j.flags|=2048),s2(p4,j),U2(j),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+j.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lv($,j){switch(Q4(j),j.tag){case 1:return $=j.flags,$&65536?(j.flags=$&-65537|128,(j.mode&Pj)!==Xj&&CI(j),j):null;case 3:return s2(p4,j),V(j),$=j.flags,($&65536)!==0&&($&128)===0?(j.flags=$&-65537|128,j):null;case 26:case 27:case 5:return q(j),null;case 31:if(j.memoizedState!==null){if(F6(j),j.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");MI()}return $=j.flags,$&65536?(j.flags=$&-65537|128,(j.mode&Pj)!==Xj&&CI(j),j):null;case 13:if(F6(j),$=j.memoizedState,$!==null&&$.dehydrated!==null){if(j.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");MI()}return $=j.flags,$&65536?(j.flags=$&-65537|128,(j.mode&Pj)!==Xj&&CI(j),j):null;case 19:return Q(g4,j),null;case 4:return V(j),null;case 10:return s2(j.type,j),null;case 22:case 23:return F6(j),HY(j),$!==null&&Q(PZ,j),$=j.flags,$&65536?(j.flags=$&-65537|128,(j.mode&Pj)!==Xj&&CI(j),j):null;case 24:return s2(p4,j),null;case 25:return null;default:return null}}function EJ($,j){switch(Q4(j),j.tag){case 3:s2(p4,j),V(j);break;case 26:case 27:case 5:q(j);break;case 4:V(j);break;case 31:j.memoizedState!==null&&F6(j);break;case 13:F6(j);break;case 19:Q(g4,j);break;case 10:s2(j.type,j);break;case 22:case 23:F6(j),HY(j),$!==null&&Q(PZ,j);break;case 24:s2(p4,j)}}function pU($){return($.mode&Pj)!==Xj}function Gv($,j){pU($)?(V6(),M(j,$),MU()):M(j,$)}function gX($,j,X){pU($)?(V6(),P(X,$,j),MU()):P(X,$,j)}function M($,j){try{var X=j.updateQueue,O=X!==null?X.lastEffect:null;if(O!==null){var A=O.next;X=A;do{if((X.tag&$)===$&&(O=void 0,($&y1)!==zV&&(W8=!0),O=D0(j,_w,X),($&y1)!==zV&&(W8=!1),O!==void 0&&typeof O!=="function")){var E=void 0;E=(X.tag&ev)!==0?"useLayoutEffect":(X.tag&y1)!==0?"useInsertionEffect":"useEffect";var f=void 0;f=O===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof O.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+E+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+E+`(() => {
|
|
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: "+O,D0(j,function(l,$0){console.error("%s must not return anything besides a function, which is used for clean-up.%s",l,$0)},E,f)}X=X.next}while(X!==A)}}catch(l){_j(j,j.return,l)}}function P($,j,X){try{var O=j.updateQueue,A=O!==null?O.lastEffect:null;if(A!==null){var E=A.next;O=E;do{if((O.tag&$)===$){var f=O.inst,l=f.destroy;l!==void 0&&(f.destroy=void 0,($&y1)!==zV&&(W8=!0),A=j,D0(A,Mw,A,X,l),($&y1)!==zV&&(W8=!1))}O=O.next}while(O!==E)}}catch($0){_j(j,j.return,$0)}}function k($,j){pU($)?(V6(),M(j,$),MU()):M(j,$)}function d($,j,X){pU($)?(V6(),P(X,$,j),MU()):P(X,$,j)}function s($){var j=$.updateQueue;if(j!==null){var X=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||Q8||(X.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.",X0($)||"instance"),X.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.",X0($)||"instance"));try{D0($,x6,j,X)}catch(O){_j($,$.return,O)}}}function G0($,j,X){return $.getSnapshotBeforeUpdate(j,X)}function q0($,j){var{memoizedProps:X,memoizedState:O}=j;j=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||Q8||(j.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.",X0($)||"instance"),j.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.",X0($)||"instance"));try{var A=J1($.type,X),E=D0($,G0,j,A,O);X=HR,E!==void 0||X.has($.type)||(X.add($.type),D0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",X0($))})),j.__reactInternalSnapshotBeforeUpdate=E}catch(f){_j($,$.return,f)}}function c0($,j,X){X.props=J1($.type,$.memoizedProps),X.state=$.memoizedState,pU($)?(V6(),D0($,yC,$,j,X),MU()):D0($,yC,$,j,X)}function A$($){var j=$.ref;if(j!==null){switch($.tag){case 26:case 27:case 5:var X=$.stateNode;break;case 30:X=$.stateNode;break;default:X=$.stateNode}if(typeof j==="function")if(pU($))try{V6(),$.refCleanup=j(X)}finally{MU()}else $.refCleanup=j(X);else typeof j==="string"?console.error("String refs are no longer supported."):j.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",X0($)),j.current=X}}function i0($,j){try{D0($,A$,$)}catch(X){_j($,j,X)}}function $$($,j){var{ref:X,refCleanup:O}=$;if(X!==null)if(typeof O==="function")try{if(pU($))try{V6(),D0($,O)}finally{MU($)}else D0($,O)}catch(A){_j($,j,A)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof X==="function")try{if(pU($))try{V6(),D0($,X,null)}finally{MU($)}else D0($,X,null)}catch(A){_j($,j,A)}else X.current=null}function x$($,j,X,O){var A=$.memoizedProps,E=A.id,f=A.onCommit;A=A.onRender,j=j===null?"mount":"update",XV&&(j="nested-update"),typeof A==="function"&&A(E,j,$.actualDuration,$.treeBaseDuration,$.actualStartTime,X),typeof f==="function"&&f(E,j,O,X)}function b$($,j,X,O){var A=$.memoizedProps;$=A.id,A=A.onPostCommit,j=j===null?"mount":"update",XV&&(j="nested-update"),typeof A==="function"&&A($,j,O,X)}function f$($){var{type:j,memoizedProps:X,stateNode:O}=$;try{D0($,bY,O,j,X,$)}catch(A){_j($,$.return,A)}}function R$($,j,X){try{D0($,RO,$.stateNode,$.type,X,j,$)}catch(O){_j($,$.return,O)}}function Oj($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&gJ($.type)||$.tag===4}function E2($){$:for(;;){for(;$.sibling===null;){if($.return===null||Oj($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&gJ($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function jj($,j,X){var O=$.tag;if(O===5||O===6)$=$.stateNode,j?(uY(X),(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).insertBefore($,j)):(uY(X),j=X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,j.appendChild($),X=X._reactRootContainer,X!==null&&X!==void 0||j.onclick!==null||(j.onclick=jU));else if(O!==4&&(O===27&&gJ($.type)&&(X=$.stateNode,j=null),$=$.child,$!==null))for(jj($,j,X),$=$.sibling;$!==null;)jj($,j,X),$=$.sibling}function Nj($,j,X){var O=$.tag;if(O===5||O===6)$=$.stateNode,j?X.insertBefore($,j):X.appendChild($);else if(O!==4&&(O===27&&gJ($.type)&&(X=$.stateNode),$=$.child,$!==null))for(Nj($,j,X),$=$.sibling;$!==null;)Nj($,j,X),$=$.sibling}function Z4($){for(var j,X=$.return;X!==null;){if(Oj(X)){j=X;break}X=X.return}if(j==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(j.tag){case 27:j=j.stateNode,X=E2($),Nj($,X,j);break;case 5:X=j.stateNode,j.flags&32&&(WZ(X),j.flags&=-33),j=E2($),Nj($,j,X);break;case 3:case 4:j=j.stateNode.containerInfo,X=E2($),jj($,X,j);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function R4($){var{stateNode:j,memoizedProps:X}=$;try{D0($,dY,$.type,X,j,$)}catch(O){_j($,$.return,O)}}function Sj($,j){return j.tag===31?(j=j.memoizedState,$.memoizedState!==null&&j===null):j.tag===13?($=$.memoizedState,j=j.memoizedState,$!==null&&$.dehydrated!==null&&(j===null||j.dehydrated===null)):j.tag===3?$.memoizedState.isDehydrated&&(j.flags&256)===0:!1}function PU($,j){if($=$.containerInfo,TH=bV,$=sX($),VI($)){if("selectionStart"in $)var X={start:$.selectionStart,end:$.selectionEnd};else $:{X=(X=$.ownerDocument)&&X.defaultView||window;var O=X.getSelection&&X.getSelection();if(O&&O.rangeCount!==0){X=O.anchorNode;var{anchorOffset:A,focusNode:E}=O;O=O.focusOffset;try{X.nodeType,E.nodeType}catch(m$){X=null;break $}var f=0,l=-1,$0=-1,Q0=0,m0=0,u0=$,B0=null;j:for(;;){for(var e0;;){if(u0!==X||A!==0&&u0.nodeType!==3||(l=f+A),u0!==E||O!==0&&u0.nodeType!==3||($0=f+O),u0.nodeType===3&&(f+=u0.nodeValue.length),(e0=u0.firstChild)===null)break;B0=u0,u0=e0}for(;;){if(u0===$)break j;if(B0===X&&++Q0===A&&(l=f),B0===E&&++m0===O&&($0=f),(e0=u0.nextSibling)!==null)break;u0=B0,B0=u0.parentNode}u0=e0}X=l===-1||$0===-1?null:{start:l,end:$0}}else X=null}X=X||{start:0,end:0}}else X=null;BH={focusedElem:$,selectionRange:X},bV=!1;for(E6=j;E6!==null;)if(j=E6,$=j.child,(j.subtreeFlags&1028)!==0&&$!==null)$.return=j,E6=$;else for(;E6!==null;){switch($=j=E6,X=$.alternate,A=$.flags,$.tag){case 0:if((A&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(X=0;X<$.length;X++)A=$[X],A.ref.impl=A.nextImpl;break;case 11:case 15:break;case 1:(A&1024)!==0&&X!==null&&q0($,X);break;case 3:if((A&1024)!==0){if($=$.stateNode.containerInfo,X=$.nodeType,X===9)Tz($);else if(X===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":Tz($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((A&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($=j.sibling,$!==null){$.return=j.return,E6=$;break}E6=j.return}}function m6($,j,X){var O=Y4(),A=k6(),E=c6(),f=C2(),l=X.flags;switch(X.tag){case 0:case 11:case 15:aj($,X),l&4&&Gv(X,ev|lI);break;case 1:if(aj($,X),l&4)if($=X.stateNode,j===null)X.type.defaultProps||"ref"in X.memoizedProps||Q8||($.props!==X.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.",X0(X)||"instance"),$.state!==X.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.",X0(X)||"instance")),pU(X)?(V6(),D0(X,tF,X,$),MU()):D0(X,tF,X,$);else{var $0=J1(X.type,j.memoizedProps);j=j.memoizedState,X.type.defaultProps||"ref"in X.memoizedProps||Q8||($.props!==X.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.",X0(X)||"instance"),$.state!==X.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.",X0(X)||"instance")),pU(X)?(V6(),D0(X,kC,X,$,$0,j,$.__reactInternalSnapshotBeforeUpdate),MU()):D0(X,kC,X,$,$0,j,$.__reactInternalSnapshotBeforeUpdate)}l&64&&s(X),l&512&&i0(X,X.return);break;case 3:if(j=w6(),aj($,X),l&64&&(l=X.updateQueue,l!==null)){if($0=null,X.child!==null)switch(X.child.tag){case 27:case 5:$0=X.child.stateNode;break;case 1:$0=X.child.stateNode}try{D0(X,x6,l,$0)}catch(m0){_j(X,X.return,m0)}}$.effectDuration+=kv(j);break;case 27:j===null&&l&4&&R4(X);case 26:case 5:if(aj($,X),j===null){if(l&4)f$(X);else if(l&64){$=X.type,j=X.memoizedProps,$0=X.stateNode;try{D0(X,mY,$0,$,j,X)}catch(m0){_j(X,X.return,m0)}}}l&512&&i0(X,X.return);break;case 12:if(l&4){l=w6(),aj($,X),$=X.stateNode,$.effectDuration+=PI(l);try{D0(X,x$,X,j,jG,$.effectDuration)}catch(m0){_j(X,X.return,m0)}}else aj($,X);break;case 31:aj($,X),l&4&&v2($,X);break;case 13:aj($,X),l&4&&x2($,X),l&64&&($=X.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(l=Zv.bind(null,X),cQ($,l))));break;case 22:if(l=X.memoizedState!==null||rQ,!l){j=j!==null&&j.memoizedState!==null||i4,$0=rQ;var Q0=i4;rQ=l,(i4=j)&&!Q0?(lU($,X,(X.subtreeFlags&8772)!==0),(X.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&IX(X,Uj,Ij)):aj($,X),rQ=$0,i4=Q0}break;case 30:break;default:aj($,X)}(X.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&((X4||0.05<oU)&&s4(X,Uj,Ij,oU,yU),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<Ij-Uj&&(Sj(X.return.alternate,X.return)||L4(X,Uj,Ij,"Mount"))),ZU(O),G4(A),yU=E,X4=f}function I6($){var j=$.alternate;j!==null&&($.alternate=null,I6(j)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(j=$.stateNode,j!==null&&l0(j)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function d$($,j,X){for(X=X.child;X!==null;)G2($,j,X),X=X.sibling}function G2($,j,X){if(O1&&typeof O1.onCommitFiberUnmount==="function")try{O1.onCommitFiberUnmount(yz,X)}catch(Q0){xJ||(xJ=!0,console.error("React instrumentation encountered an error: %o",Q0))}var O=Y4(),A=k6(),E=c6(),f=C2();switch(X.tag){case 26:i4||$$(X,j),d$($,j,X),X.memoizedState?X.memoizedState.count--:X.stateNode&&($=X.stateNode,$.parentNode.removeChild($));break;case 27:i4||$$(X,j);var l=r4,$0=Dv;gJ(X.type)&&(r4=X.stateNode,Dv=!1),d$($,j,X),D0(X,o6,X.stateNode),r4=l,Dv=$0;break;case 5:i4||$$(X,j);case 6:if(l=r4,$0=Dv,r4=null,d$($,j,X),r4=l,Dv=$0,r4!==null)if(Dv)try{D0(X,EO,r4,X.stateNode)}catch(Q0){_j(X,j,Q0)}else try{D0(X,sD,r4,X.stateNode)}catch(Q0){_j(X,j,Q0)}break;case 18:r4!==null&&(Dv?($=r4,hY($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,X.stateNode),wz($)):hY(r4,X.stateNode));break;case 4:l=r4,$0=Dv,r4=X.stateNode.containerInfo,Dv=!0,d$($,j,X),r4=l,Dv=$0;break;case 0:case 11:case 14:case 15:P(y1,X,j),i4||gX(X,j,ev),d$($,j,X);break;case 1:i4||($$(X,j),l=X.stateNode,typeof l.componentWillUnmount==="function"&&c0(X,j,l)),d$($,j,X);break;case 21:d$($,j,X);break;case 22:i4=(l=i4)||X.memoizedState!==null,d$($,j,X),i4=l;break;default:d$($,j,X)}(X.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4(X,Uj,Ij,oU,yU),ZU(O),G4(A),yU=E,X4=f}function v2($,j){if(j.memoizedState===null&&($=j.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{D0(j,TO,$)}catch(X){_j(j,j.return,X)}}}function x2($,j){if(j.memoizedState===null&&($=j.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{D0(j,LW,$)}catch(X){_j(j,j.return,X)}}function T2($){switch($.tag){case 31:case 13:case 19:var j=$.stateNode;return j===null&&(j=$.stateNode=new _R),j;case 22:return $=$.stateNode,j=$._retryCache,j===null&&(j=$._retryCache=new _R),j;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function u2($,j){var X=T2($);j.forEach(function(O){if(!X.has(O)){if(X.add(O),yJ)if(Y8!==null&&G8!==null)m4(G8,Y8);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var A=SI.bind(null,$,O);O.then(A,A)}})}function Vj($,j){var X=j.deletions;if(X!==null)for(var O=0;O<X.length;O++){var A=$,E=j,f=X[O],l=Y4(),$0=E;$:for(;$0!==null;){switch($0.tag){case 27:if(gJ($0.type)){r4=$0.stateNode,Dv=!1;break $}break;case 5:r4=$0.stateNode,Dv=!1;break $;case 3:case 4:r4=$0.stateNode.containerInfo,Dv=!0;break $}$0=$0.return}if(r4===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");G2(A,E,f),r4=null,Dv=!1,(f.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&L4(f,Uj,Ij,"Unmount"),ZU(l),A=f,E=A.alternate,E!==null&&(E.return=null),A.return=null}if(j.subtreeFlags&13886)for(j=j.child;j!==null;)aU(j,$),j=j.sibling}function aU($,j){var X=Y4(),O=k6(),A=c6(),E=C2(),f=$.alternate,l=$.flags;switch($.tag){case 0:case 11:case 14:case 15:Vj(j,$),Hj($),l&4&&(P(y1|lI,$,$.return),M(y1|lI,$),gX($,$.return,ev|lI));break;case 1:if(Vj(j,$),Hj($),l&512&&(i4||f===null||$$(f,f.return)),l&64&&rQ&&(l=$.updateQueue,l!==null&&(f=l.callbacks,f!==null))){var $0=l.shared.hiddenCallbacks;l.shared.hiddenCallbacks=$0===null?f:$0.concat(f)}break;case 26:if($0=bX,Vj(j,$),Hj($),l&512&&(i4||f===null||$$(f,f.return)),l&4){var Q0=f!==null?f.memoizedState:null;if(l=$.memoizedState,f===null)if(l===null)if($.stateNode===null){$:{l=$.type,f=$.memoizedProps,$0=$0.ownerDocument||$0;j:switch(l){case"title":if(Q0=$0.getElementsByTagName("title")[0],!Q0||Q0[BW]||Q0[t6]||Q0.namespaceURI===bz||Q0.hasAttribute("itemprop"))Q0=$0.createElement(l),$0.head.insertBefore(Q0,$0.querySelector("head > title"));n2(Q0,l,f),Q0[t6]=$,u$(Q0),l=Q0;break $;case"link":var m0=JP("link","href",$0).get(l+(f.href||""));if(m0){for(var u0=0;u0<m0.length;u0++)if(Q0=m0[u0],Q0.getAttribute("href")===(f.href==null||f.href===""?null:f.href)&&Q0.getAttribute("rel")===(f.rel==null?null:f.rel)&&Q0.getAttribute("title")===(f.title==null?null:f.title)&&Q0.getAttribute("crossorigin")===(f.crossOrigin==null?null:f.crossOrigin)){m0.splice(u0,1);break j}}Q0=$0.createElement(l),n2(Q0,l,f),$0.head.appendChild(Q0);break;case"meta":if(m0=JP("meta","content",$0).get(l+(f.content||""))){for(u0=0;u0<m0.length;u0++)if(Q0=m0[u0],U0(f.content,"content"),Q0.getAttribute("content")===(f.content==null?null:""+f.content)&&Q0.getAttribute("name")===(f.name==null?null:f.name)&&Q0.getAttribute("property")===(f.property==null?null:f.property)&&Q0.getAttribute("http-equiv")===(f.httpEquiv==null?null:f.httpEquiv)&&Q0.getAttribute("charset")===(f.charSet==null?null:f.charSet)){m0.splice(u0,1);break j}}Q0=$0.createElement(l),n2(Q0,l,f),$0.head.appendChild(Q0);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+l+'". This is a bug in React.')}Q0[t6]=$,u$(Q0),l=Q0}$.stateNode=l}else QP($0,$.type,$.stateNode);else $.stateNode=XP($0,l,$.memoizedProps);else Q0!==l?(Q0===null?f.stateNode!==null&&(f=f.stateNode,f.parentNode.removeChild(f)):Q0.count--,l===null?QP($0,$.type,$.stateNode):XP($0,l,$.memoizedProps)):l===null&&$.stateNode!==null&&R$($,$.memoizedProps,f.memoizedProps)}break;case 27:Vj(j,$),Hj($),l&512&&(i4||f===null||$$(f,f.return)),f!==null&&l&4&&R$($,$.memoizedProps,f.memoizedProps);break;case 5:if(Vj(j,$),Hj($),l&512&&(i4||f===null||$$(f,f.return)),$.flags&32){$0=$.stateNode;try{D0($,WZ,$0)}catch(l$){_j($,$.return,l$)}}l&4&&$.stateNode!=null&&($0=$.memoizedProps,R$($,$0,f!==null?f.memoizedProps:$0)),l&1024&&(GH=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Vj(j,$),Hj($),l&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.");l=$.memoizedProps,f=f!==null?f.memoizedProps:l,$0=$.stateNode;try{D0($,DW,$0,f,l)}catch(l$){_j($,$.return,l$)}}break;case 3:if($0=w6(),xV=null,Q0=bX,bX=DZ(j.containerInfo),Vj(j,$),bX=Q0,Hj($),l&4&&f!==null&&f.memoizedState.isDehydrated)try{D0($,MW,j.containerInfo)}catch(l$){_j($,$.return,l$)}GH&&(GH=!1,eU($)),j.effectDuration+=kv($0);break;case 4:l=bX,bX=DZ($.stateNode.containerInfo),Vj(j,$),Hj($),bX=l;break;case 12:l=w6(),Vj(j,$),Hj($),$.stateNode.effectDuration+=PI(l);break;case 31:Vj(j,$),Hj($),l&4&&(l=$.updateQueue,l!==null&&($.updateQueue=null,u2($,l)));break;case 13:Vj(j,$),Hj($),$.child.flags&8192&&$.memoizedState!==null!==(f!==null&&f.memoizedState!==null)&&(LV=C6()),l&4&&(l=$.updateQueue,l!==null&&($.updateQueue=null,u2($,l)));break;case 22:$0=$.memoizedState!==null;var B0=f!==null&&f.memoizedState!==null,e0=rQ,m$=i4;if(rQ=e0||$0,i4=m$||B0,Vj(j,$),i4=m$,rQ=e0,B0&&!$0&&!e0&&!m$&&($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&IX($,Uj,Ij),Hj($),l&8192)$:for(j=$.stateNode,j._visibility=$0?j._visibility&~fW:j._visibility|fW,!$0||f===null||B0||rQ||i4||(_6($),($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&L4($,Uj,Ij,"Disconnect")),f=null,j=$;;){if(j.tag===5||j.tag===26){if(f===null){B0=f=j;try{Q0=B0.stateNode,$0?D0(B0,Ez,Q0):D0(B0,P6,B0.stateNode,B0.memoizedProps)}catch(l$){_j(B0,B0.return,l$)}}}else if(j.tag===6){if(f===null){B0=j;try{m0=B0.stateNode,$0?D0(B0,NJ,m0):D0(B0,Q6,m0,B0.memoizedProps)}catch(l$){_j(B0,B0.return,l$)}}}else if(j.tag===18){if(f===null){B0=j;try{u0=B0.stateNode,$0?D0(B0,KZ,u0):D0(B0,aD,B0.stateNode)}catch(l$){_j(B0,B0.return,l$)}}}else if((j.tag!==22&&j.tag!==23||j.memoizedState===null||j===$)&&j.child!==null){j.child.return=j,j=j.child;continue}if(j===$)break $;for(;j.sibling===null;){if(j.return===null||j.return===$)break $;f===j&&(f=null),j=j.return}f===j&&(f=null),j.sibling.return=j.return,j=j.sibling}l&4&&(l=$.updateQueue,l!==null&&(f=l.retryQueue,f!==null&&(l.retryQueue=null,u2($,f))));break;case 19:Vj(j,$),Hj($),l&4&&(l=$.updateQueue,l!==null&&($.updateQueue=null,u2($,l)));break;case 30:break;case 21:break;default:Vj(j,$),Hj($)}($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&((X4||0.05<oU)&&s4($,Uj,Ij,oU,yU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<Ij-Uj&&(Sj($.return.alternate,$.return)||L4($,Uj,Ij,"Mount"))),ZU(X),G4(O),yU=A,X4=E}function Hj($){var j=$.flags;if(j&2){try{D0($,Z4,$)}catch(X){_j($,$.return,X)}$.flags&=-3}j&4096&&($.flags&=-4097)}function eU($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var j=$;eU(j),j.tag===5&&j.flags&1024&&j.stateNode.reset(),$=$.sibling}}function aj($,j){if(j.subtreeFlags&8772)for(j=j.child;j!==null;)m6($,j.alternate,j),j=j.sibling}function b4($){var j=Y4(),X=k6(),O=c6(),A=C2();switch($.tag){case 0:case 11:case 14:case 15:gX($,$.return,ev),_6($);break;case 1:$$($,$.return);var E=$.stateNode;typeof E.componentWillUnmount==="function"&&c0($,$.return,E),_6($);break;case 27:D0($,o6,$.stateNode);case 26:case 5:$$($,$.return),_6($);break;case 22:$.memoizedState===null&&_6($);break;case 30:_6($);break;default:_6($)}($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4($,Uj,Ij,oU,yU),ZU(j),G4(X),yU=O,X4=A}function _6($){for($=$.child;$!==null;)b4($),$=$.sibling}function Y1($,j,X,O){var A=Y4(),E=k6(),f=c6(),l=C2(),$0=X.flags;switch(X.tag){case 0:case 11:case 15:lU($,X,O),Gv(X,ev);break;case 1:if(lU($,X,O),j=X.stateNode,typeof j.componentDidMount==="function"&&D0(X,tF,X,j),j=X.updateQueue,j!==null){$=X.stateNode;try{D0(X,j6,j,$)}catch(Q0){_j(X,X.return,Q0)}}O&&$0&64&&s(X),i0(X,X.return);break;case 27:R4(X);case 26:case 5:lU($,X,O),O&&j===null&&$0&4&&f$(X),i0(X,X.return);break;case 12:if(O&&$0&4){$0=w6(),lU($,X,O),O=X.stateNode,O.effectDuration+=PI($0);try{D0(X,x$,X,j,jG,O.effectDuration)}catch(Q0){_j(X,X.return,Q0)}}else lU($,X,O);break;case 31:lU($,X,O),O&&$0&4&&v2($,X);break;case 13:lU($,X,O),O&&$0&4&&x2($,X);break;case 22:X.memoizedState===null&&lU($,X,O),i0(X,X.return);break;case 30:break;default:lU($,X,O)}(X.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4(X,Uj,Ij,oU,yU),ZU(A),G4(E),yU=f,X4=l}function lU($,j,X){X=X&&(j.subtreeFlags&8772)!==0;for(j=j.child;j!==null;)Y1($,j.alternate,j,X),j=j.sibling}function u6($,j){var X=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),$=null,j.memoizedState!==null&&j.memoizedState.cachePool!==null&&($=j.memoizedState.cachePool.pool),$!==X&&($!=null&&qI($),X!=null&&HU(X))}function M6($,j){$=null,j.alternate!==null&&($=j.alternate.memoizedState.cache),j=j.memoizedState.cache,j!==$&&(qI(j),$!=null&&HU($))}function _2($,j,X,O,A){if(j.subtreeFlags&10256||j.actualDuration!==0&&(j.alternate===null||j.alternate.child!==j.child))for(j=j.child;j!==null;){var E=j.sibling;F($,j,X,O,E!==null?E.actualStartTime:A),j=E}}function F($,j,X,O,A){var E=Y4(),f=k6(),l=c6(),$0=C2(),Q0=sY,m0=j.flags;switch(j.tag){case 0:case 11:case 15:(j.mode&Pj)!==Xj&&0<j.actualStartTime&&(j.flags&1)!==0&&Bv(j,j.actualStartTime,A,G6,X),_2($,j,X,O,A),m0&2048&&k(j,f1|lI);break;case 1:(j.mode&Pj)!==Xj&&0<j.actualStartTime&&((j.flags&128)!==0?eX(j,j.actualStartTime,A,[]):(j.flags&1)!==0&&Bv(j,j.actualStartTime,A,G6,X)),_2($,j,X,O,A);break;case 3:var u0=w6(),B0=G6;G6=j.alternate!==null&&j.alternate.memoizedState.isDehydrated&&(j.flags&256)===0,_2($,j,X,O,A),G6=B0,m0&2048&&(X=null,j.alternate!==null&&(X=j.alternate.memoizedState.cache),O=j.memoizedState.cache,O!==X&&(qI(O),X!=null&&HU(X))),$.passiveEffectDuration+=kv(u0);break;case 12:if(m0&2048){m0=w6(),_2($,j,X,O,A),$=j.stateNode,$.passiveEffectDuration+=PI(m0);try{D0(j,b$,j,j.alternate,jG,$.passiveEffectDuration)}catch(e0){_j(j,j.return,e0)}}else _2($,j,X,O,A);break;case 31:m0=G6,u0=j.alternate!==null?j.alternate.memoizedState:null,B0=j.memoizedState,u0!==null&&B0===null?(B0=j.deletions,B0!==null&&0<B0.length&&B0[0].tag===18?(G6=!1,u0=u0.hydrationErrors,u0!==null&&eX(j,j.actualStartTime,A,u0)):G6=!0):G6=!1,_2($,j,X,O,A),G6=m0;break;case 13:m0=G6,u0=j.alternate!==null?j.alternate.memoizedState:null,B0=j.memoizedState,u0===null||u0.dehydrated===null||B0!==null&&B0.dehydrated!==null?G6=!1:(B0=j.deletions,B0!==null&&0<B0.length&&B0[0].tag===18?(G6=!1,u0=u0.hydrationErrors,u0!==null&&eX(j,j.actualStartTime,A,u0)):G6=!0),_2($,j,X,O,A),G6=m0;break;case 23:break;case 22:B0=j.stateNode,u0=j.alternate,j.memoizedState!==null?B0._visibility&fQ?_2($,j,X,O,A):p($,j,X,O,A):B0._visibility&fQ?_2($,j,X,O,A):(B0._visibility|=fQ,_($,j,X,O,(j.subtreeFlags&10256)!==0||j.actualDuration!==0&&(j.alternate===null||j.alternate.child!==j.child),A),(j.mode&Pj)===Xj||G6||($=j.actualStartTime,0<=$&&0.05<A-$&&IX(j,$,A),0<=Uj&&0<=Ij&&0.05<Ij-Uj&&IX(j,Uj,Ij))),m0&2048&&u6(u0,j);break;case 24:_2($,j,X,O,A),m0&2048&&M6(j.alternate,j);break;default:_2($,j,X,O,A)}if((j.mode&Pj)!==Xj){if($=!G6&&j.alternate===null&&j.return!==null&&j.return.alternate!==null)X=j.actualStartTime,0<=X&&0.05<A-X&&L4(j,X,A,"Mount");0<=Uj&&0<=Ij&&((X4||0.05<oU)&&s4(j,Uj,Ij,oU,yU),$&&0.05<Ij-Uj&&L4(j,Uj,Ij,"Mount"))}ZU(E),G4(f),yU=l,X4=$0,sY=Q0}function _($,j,X,O,A,E){A=A&&((j.subtreeFlags&10256)!==0||j.actualDuration!==0&&(j.alternate===null||j.alternate.child!==j.child));for(j=j.child;j!==null;){var f=j.sibling;w($,j,X,O,A,f!==null?f.actualStartTime:E),j=f}}function w($,j,X,O,A,E){var f=Y4(),l=k6(),$0=c6(),Q0=C2(),m0=sY;A&&(j.mode&Pj)!==Xj&&0<j.actualStartTime&&(j.flags&1)!==0&&Bv(j,j.actualStartTime,E,G6,X);var u0=j.flags;switch(j.tag){case 0:case 11:case 15:_($,j,X,O,A,E),k(j,f1);break;case 23:break;case 22:var B0=j.stateNode;j.memoizedState!==null?B0._visibility&fQ?_($,j,X,O,A,E):p($,j,X,O,E):(B0._visibility|=fQ,_($,j,X,O,A,E)),A&&u0&2048&&u6(j.alternate,j);break;case 24:_($,j,X,O,A,E),A&&u0&2048&&M6(j.alternate,j);break;default:_($,j,X,O,A,E)}(j.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4(j,Uj,Ij,oU,yU),ZU(f),G4(l),yU=$0,X4=Q0,sY=m0}function p($,j,X,O,A){if(j.subtreeFlags&10256||j.actualDuration!==0&&(j.alternate===null||j.alternate.child!==j.child))for(var E=j.child;E!==null;){j=E.sibling;var f=$,l=X,$0=O,Q0=j!==null?j.actualStartTime:A,m0=sY;(E.mode&Pj)!==Xj&&0<E.actualStartTime&&(E.flags&1)!==0&&Bv(E,E.actualStartTime,Q0,G6,l);var u0=E.flags;switch(E.tag){case 22:p(f,E,l,$0,Q0),u0&2048&&u6(E.alternate,E);break;case 24:p(f,E,l,$0,Q0),u0&2048&&M6(E.alternate,E);break;default:p(f,E,l,$0,Q0)}sY=m0,E=j}}function t($,j,X){if($.subtreeFlags&IK)for($=$.child;$!==null;)v0($,j,X),$=$.sibling}function v0($,j,X){switch($.tag){case 26:t($,j,X),$.flags&IK&&$.memoizedState!==null&&d3(X,bX,$.memoizedState,$.memoizedProps);break;case 5:t($,j,X);break;case 3:case 4:var O=bX;bX=DZ($.stateNode.containerInfo),t($,j,X),bX=O;break;case 22:$.memoizedState===null&&(O=$.alternate,O!==null&&O.memoizedState!==null?(O=IK,IK=16777216,t($,j,X),IK=O):t($,j,X));break;default:t($,j,X)}}function F0($){var j=$.alternate;if(j!==null&&($=j.child,$!==null)){j.child=null;do j=$.sibling,$.sibling=null,$=j;while($!==null)}}function E0($){var j=$.deletions;if(($.flags&16)!==0){if(j!==null)for(var X=0;X<j.length;X++){var O=j[X],A=Y4();E6=O,T$(O,$),(O.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&L4(O,Uj,Ij,"Unmount"),ZU(A)}F0($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)j$($),$=$.sibling}function j$($){var j=Y4(),X=k6(),O=c6(),A=C2();switch($.tag){case 0:case 11:case 15:E0($),$.flags&2048&&d($,$.return,f1|lI);break;case 3:var E=w6();E0($),$.stateNode.passiveEffectDuration+=kv(E);break;case 12:E=w6(),E0($),$.stateNode.passiveEffectDuration+=PI(E);break;case 22:E=$.stateNode,$.memoizedState!==null&&E._visibility&fQ&&($.return===null||$.return.tag!==13)?(E._visibility&=~fQ,f0($),($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&L4($,Uj,Ij,"Disconnect")):E0($);break;default:E0($)}($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4($,Uj,Ij,oU,yU),ZU(j),G4(X),X4=A,yU=O}function f0($){var j=$.deletions;if(($.flags&16)!==0){if(j!==null)for(var X=0;X<j.length;X++){var O=j[X],A=Y4();E6=O,T$(O,$),(O.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&0.05<Ij-Uj&&L4(O,Uj,Ij,"Unmount"),ZU(A)}F0($)}for($=$.child;$!==null;)t0($),$=$.sibling}function t0($){var j=Y4(),X=k6(),O=c6(),A=C2();switch($.tag){case 0:case 11:case 15:d($,$.return,f1),f0($);break;case 22:var E=$.stateNode;E._visibility&fQ&&(E._visibility&=~fQ,f0($));break;default:f0($)}($.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4($,Uj,Ij,oU,yU),ZU(j),G4(X),X4=A,yU=O}function T$($,j){for(;E6!==null;){var X=E6,O=X,A=j,E=Y4(),f=k6(),l=c6(),$0=C2();switch(O.tag){case 0:case 11:case 15:d(O,A,f1);break;case 23:case 22:O.memoizedState!==null&&O.memoizedState.cachePool!==null&&(A=O.memoizedState.cachePool.pool,A!=null&&qI(A));break;case 24:HU(O.memoizedState.cache)}if((O.mode&Pj)!==Xj&&0<=Uj&&0<=Ij&&(X4||0.05<oU)&&s4(O,Uj,Ij,oU,yU),ZU(E),G4(f),X4=$0,yU=l,O=X.child,O!==null)O.return=X,E6=O;else $:for(X=$;E6!==null;){if(O=E6,E=O.sibling,f=O.return,I6(O),O===X){E6=null;break $}if(E!==null){E.return=f,E6=E;break $}E6=f}}}function g$(){Cw.forEach(function($){return $()})}function B$(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||Q$.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function W$($){if((X2&Z6)!==T6&&Rj!==0)return Rj&-Rj;var j=Q$.T;return j!==null?(j._updatedFibers||(j._updatedFibers=new Set),j._updatedFibers.add($),TU()):V0()}function a$(){if(Hv===0)if((Rj&536870912)===0||lj){var $=mO;mO<<=1,(mO&3932160)===0&&(mO=262144),Hv=$}else Hv=536870912;return $=av.current,$!==null&&($.flags|=32),Hv}function s$($,j,X){if(W8&&console.error("useInsertionEffect must not schedule updates."),MH&&(CV=!0),$===QU&&(i2===gZ||i2===NZ)||$.cancelPendingCommit!==null)h2($,0),ij($,Rj,Hv,!1);if(Z$($,X),(X2&Z6)!==T6&&$===QU){if(cJ)switch(j.tag){case 0:case 11:case 15:$=Bj&&X0(Bj)||"Unknown",kR.has($)||(kR.add($),j=X0(j)||"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",j,$,$));break;case 1:wR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),wR=!0)}}else yJ&&F$($,j,X),T4(j),$===QU&&((X2&Z6)===T6&&(ZG|=X),tU===QG&&ij($,Rj,Hv,!1)),l2($)}function t$($,j,X){if((X2&(Z6|$I))!==T6)throw Error("Should not already be working.");if(Rj!==0&&Bj!==null){var O=Bj,A=C6();switch(RC){case QK:case gZ:var E=lW;BU&&((O=O._debugTask)?O.run(console.timeStamp.bind(console,"Suspended",E,A,xI,void 0,"primary-light")):console.timeStamp("Suspended",E,A,xI,void 0,"primary-light"));break;case NZ:E=lW,BU&&((O=O._debugTask)?O.run(console.timeStamp.bind(console,"Action",E,A,xI,void 0,"primary-light")):console.timeStamp("Action",E,A,xI,void 0,"primary-light"));break;default:BU&&(O=A-lW,3>O||console.timeStamp("Blocked",lW,A,xI,void 0,5>O?"primary-light":10>O?"primary":100>O?"primary-dark":"error"))}}E=(X=!X&&(j&127)===0&&(j&$.expiredLanes)===0||w0($,j))?z4($,j):f2($,j,!0);var f=X;do{if(E===oQ){Z8&&!X&&ij($,j,0,!1),j=i2,lW=l4(),RC=j;break}else{if(O=C6(),A=$.current.alternate,f&&!B2(A)){cU(j),A=R6,E=O,!BU||E<=A||(V4?V4.run(console.timeStamp.bind(console,"Teared Render",A,E,fj,kj,"error")):console.timeStamp("Teared Render",A,E,fj,kj,"error")),ej(j,O),E=f2($,j,!1),f=!1;continue}if(E===BZ){if(f=j,$.errorRecoveryDisabledLanes&f)var l=0;else l=$.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){cU(j),JX(R6,O,j,V4),ej(j,O),j=l;$:{O=$,E=f,f=GK;var $0=O.current.memoizedState.isDehydrated;if($0&&(h2(O,l).flags|=256),l=f2(O,l,!1),l!==BZ){if(WH&&!$0){O.errorRecoveryDisabledLanes|=E,ZG|=E,E=QG;break $}O=b1,b1=f,O!==null&&(b1===null?b1=O:b1.push.apply(b1,O))}E=l}if(f=!1,E!==BZ)continue;else O=C6()}}if(E===JK){cU(j),JX(R6,O,j,V4),ej(j,O),h2($,0),ij($,j,0,!0);break}$:{switch(X=$,E){case oQ:case JK:throw Error("Root did not complete. This is a bug in React.");case QG:if((j&4194048)!==j)break;case FV:cU(j),XX(R6,O,j,V4),ej(j,O),A=j,(A&127)!==0?UV=O:(A&4194048)!==0&&(vV=O),ij(X,j,Hv,!YG);break $;case BZ:b1=null;break;case DV:case MR:break;default:throw Error("Unknown root exit status.")}if(Q$.actQueue!==null)g2(X,A,j,b1,ZK,MV,Hv,ZG,SZ,E,null,null,R6,O);else{if((j&62914560)===j&&(f=LV+qR-C6(),10<f)){if(ij(X,j,Hv,!YG),q$(X,0,!0)!==0)break $;mX=j,X.timeoutHandle=hR(Yj.bind(null,X,A,b1,ZK,MV,j,Hv,ZG,SZ,YG,E,"Throttled",R6,O),f);break $}Yj(X,A,b1,ZK,MV,j,Hv,ZG,SZ,YG,E,null,R6,O)}}}break}while(1);l2($)}function Yj($,j,X,O,A,E,f,l,$0,Q0,m0,u0,B0,e0){$.timeoutHandle=yZ;var m$=j.subtreeFlags,l$=null;if(m$&8192||(m$&16785408)===16785408){if(l$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:jU},v0(j,E,l$),m$=(E&62914560)===E?LV-C6():(E&4194048)===E?AR-C6():0,m$=n3(l$,m$),m$!==null){mX=E,$.cancelPendingCommit=m$(g2.bind(null,$,j,E,X,O,A,f,l,$0,m0,l$,l$.waitingForViewTransition?"Waiting for the previous Animation":0<l$.count?0<l$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":l$.imgCount===1?"Suspended on an Image":0<l$.imgCount?"Suspended on Images":null,B0,e0)),ij($,E,f,!Q0);return}}g2($,j,E,X,O,A,f,l,$0,m0,l$,u0,B0,e0)}function B2($){for(var j=$;;){var X=j.tag;if((X===0||X===11||X===15)&&j.flags&16384&&(X=j.updateQueue,X!==null&&(X=X.stores,X!==null)))for(var O=0;O<X.length;O++){var A=X[O],E=A.getSnapshot;A=A.value;try{if(!c1(E(),A))return!1}catch(f){return!1}}if(X=j.child,j.subtreeFlags&16384&&X!==null)X.return=j,j=X;else{if(j===$)break;for(;j.sibling===null;){if(j.return===null||j.return===$)return!0;j=j.return}j.sibling.return=j.return,j=j.sibling}}return!0}function ij($,j,X,O){j&=~KH,j&=~ZG,$.suspendedLanes|=j,$.pingedLanes&=~j,O&&($.warmLanes|=j),O=$.expirationTimes;for(var A=j;0<A;){var E=31-S1(A),f=1<<E;O[E]=-1,A&=~f}X!==0&&J$($,X,j)}function zj(){return(X2&(Z6|$I))===T6?(U4(0,!1),!1):!0}function r$(){if(Bj!==null){if(i2===Fv)var $=Bj.return;else $=Bj,VY(),tG($),j8=null,eW=0,$=Bj;for(;$!==null;)EJ($.alternate,$),$=$.return;Bj=null}}function ej($,j){($&127)!==0&&(UG=j),($&4194048)!==0&&(hJ=j),($&62914560)!==0&&(PC=j),($&2080374784)!==0&&(CC=j)}function h2($,j){BU&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",kj,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",kj,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",kj,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",kj,"primary-light"));var X=R6;if(R6=l4(),Rj!==0&&0<X){if(cU(Rj),tU===DV||tU===QG)XX(X,R6,j,V4);else{var O=R6,A=V4;if(BU&&!(O<=X)){var E=(j&738197653)===j?"tertiary-dark":"primary-dark",f=(j&536870912)===j?"Prewarm":(j&201326741)===j?"Interrupted Hydration":"Interrupted Render";A?A.run(console.timeStamp.bind(console,f,X,O,fj,kj,E)):console.timeStamp(f,X,O,fj,kj,E)}}ej(Rj,R6)}if(X=V4,V4=null,(j&127)!==0){V4=uW,A=0<=uJ&&uJ<UG?UG:uJ,O=0<=LZ&&LZ<UG?UG:LZ,E=0<=O?O:0<=A?A:R6,0<=UV?(cU(2),$J(UV,E,j,X)):(IV&127)!==0&&(cU(2),K6(UG,E,lQ)),X=A;var l=O,$0=hW,Q0=0<az,m0=vG===mW,u0=vG===jV;if(A=R6,O=uW,E=dF,f=nF,BU){if(fj="Blocking",0<X?X>A&&(X=A):X=A,0<l?l>X&&(l=X):l=X,$0!==null&&X>l){var B0=Q0?"secondary-light":"warning";O?O.run(console.timeStamp.bind(console,Q0?"Consecutive":"Event: "+$0,l,X,fj,kj,B0)):console.timeStamp(Q0?"Consecutive":"Event: "+$0,l,X,fj,kj,B0)}A>X&&(l=m0?"error":(j&738197653)===j?"tertiary-light":"primary-light",m0=u0?"Promise Resolved":m0?"Cascading Update":5<A-X?"Update Blocked":"Update",u0=[],f!=null&&u0.push(["Component name",f]),E!=null&&u0.push(["Method name",E]),X={start:X,end:A,detail:{devtools:{properties:u0,track:fj,trackGroup:kj,color:l}}},O?O.run(performance.measure.bind(performance,m0,X)):performance.measure(m0,X))}uJ=-1.1,vG=0,nF=dF=null,UV=-1.1,az=LZ,LZ=-1.1,UG=l4()}if((j&4194048)!==0&&(V4=pW,A=0<=pQ&&pQ<hJ?hJ:pQ,X=0<=hI&&hI<hJ?hJ:hI,O=0<=IG&&IG<hJ?hJ:IG,E=0<=O?O:0<=X?X:R6,0<=vV?(cU(256),$J(vV,E,j,V4)):(IV&4194048)!==0&&(cU(256),K6(hJ,E,lQ)),u0=O,l=AZ,$0=0<XG,Q0=iF===jV,E=R6,O=pW,f=AC,m0=qC,BU&&(fj="Transition",0<X?X>E&&(X=E):X=E,0<A?A>X&&(A=X):A=X,0<u0?u0>A&&(u0=A):u0=A,A>u0&&l!==null&&(B0=$0?"secondary-light":"warning",O?O.run(console.timeStamp.bind(console,$0?"Consecutive":"Event: "+l,u0,A,fj,kj,B0)):console.timeStamp($0?"Consecutive":"Event: "+l,u0,A,fj,kj,B0)),X>A&&(O?O.run(console.timeStamp.bind(console,"Action",A,X,fj,kj,"primary-dark")):console.timeStamp("Action",A,X,fj,kj,"primary-dark")),E>X&&(A=Q0?"Promise Resolved":5<E-X?"Update Blocked":"Update",u0=[],m0!=null&&u0.push(["Component name",m0]),f!=null&&u0.push(["Method name",f]),X={start:X,end:E,detail:{devtools:{properties:u0,track:fj,trackGroup:kj,color:"primary-light"}}},O?O.run(performance.measure.bind(performance,A,X)):performance.measure(A,X))),hI=pQ=-1.1,iF=0,vV=-1.1,XG=IG,IG=-1.1,hJ=l4()),(j&62914560)!==0&&(IV&62914560)!==0&&(cU(4194304),K6(PC,R6,lQ)),(j&2080374784)!==0&&(IV&2080374784)!==0&&(cU(268435456),K6(CC,R6,lQ)),X=$.timeoutHandle,X!==yZ&&($.timeoutHandle=yZ,fw(X)),X=$.cancelPendingCommit,X!==null&&($.cancelPendingCommit=null,X()),mX=0,r$(),QU=$,Bj=X=N6($.current,null),Rj=j,i2=Fv,jI=null,YG=!1,Z8=w0($,j),WH=!1,tU=oQ,SZ=Hv=KH=ZG=GG=0,b1=GK=null,MV=!1,(j&8)!==0&&(j|=j&32),O=$.entangledLanes,O!==0)for($=$.entanglements,O&=j;0<O;)A=31-S1(O),E=1<<A,j|=$[A],O&=~E;return lJ=j,j1(),$=DC(),1000<$-VC&&(Q$.recentlyCreatedOwnerStacks=0,VC=$),yX.discardPendingWarnings(),X}function xj($,j){Gj=null,Q$.H=vK,Q$.getCurrentStack=null,cJ=!1,ov=null,j===$8||j===YV?(j=DY(),i2=QK):j===sF?(j=DY(),i2=LR):i2=j===QH?zH:j!==null&&typeof j==="object"&&typeof j.then==="function"?YK:HV,jI=j;var X=Bj;X===null?(tU=JK,uv($,S6(j,$.current))):X.mode&Pj&&GQ(X)}function $2(){var $=av.current;return $===null?!0:(Rj&4194048)===Rj?pI===null?!0:!1:(Rj&62914560)===Rj||(Rj&536870912)!==0?$===pI:!1}function dU(){var $=Q$.H;return Q$.H=vK,$===null?vK:$}function WU(){var $=Q$.A;return Q$.A=Pw,$}function y2($){V4===null&&(V4=$._debugTask==null?null:$._debugTask)}function hj(){tU=QG,YG||(Rj&4194048)!==Rj&&av.current!==null||(Z8=!0),(GG&134217727)===0&&(ZG&134217727)===0||QU===null||ij(QU,Rj,Hv,!1)}function f2($,j,X){var O=X2;X2|=Z6;var A=dU(),E=WU();if(QU!==$||Rj!==j){if(yJ){var f=$.memoizedUpdaters;0<f.size&&(m4($,Rj),f.clear()),J2($,j)}ZK=null,h2($,j)}j=!1,f=tU;$:do try{if(i2!==Fv&&Bj!==null){var l=Bj,$0=jI;switch(i2){case zH:r$(),f=FV;break $;case QK:case gZ:case NZ:case YK:av.current===null&&(j=!0);var Q0=i2;if(i2=Fv,jI=null,p2($,l,$0,Q0),X&&Z8){f=oQ;break $}break;default:Q0=i2,i2=Fv,jI=null,p2($,l,$0,Q0)}}nU(),f=tU;break}catch(m0){xj($,m0)}while(1);return j&&$.shellSuspendCounter++,VY(),X2=O,Q$.H=A,Q$.A=E,Bj===null&&(QU=null,Rj=0,j1()),f}function nU(){for(;Bj!==null;)I2(Bj)}function z4($,j){var X=X2;X2|=Z6;var O=dU(),A=WU();if(QU!==$||Rj!==j){if(yJ){var E=$.memoizedUpdaters;0<E.size&&(m4($,Rj),E.clear()),J2($,j)}ZK=null,AV=C6()+PR,h2($,j)}else Z8=w0($,j);$:do try{if(i2!==Fv&&Bj!==null)j:switch(j=Bj,E=jI,i2){case HV:i2=Fv,jI=null,p2($,j,E,HV);break;case gZ:case NZ:if(YJ(E)){i2=Fv,jI=null,CU(j);break}j=function(){i2!==gZ&&i2!==NZ||QU!==$||(i2=_V),l2($)},E.then(j,j);break $;case QK:i2=_V;break $;case LR:i2=ZH;break $;case _V:YJ(E)?(i2=Fv,jI=null,CU(j)):(i2=Fv,jI=null,p2($,j,E,_V));break;case ZH:var f=null;switch(Bj.tag){case 26:f=Bj.memoizedState;case 5:case 27:var l=Bj;if(f?YP(f):l.stateNode.complete){i2=Fv,jI=null;var $0=l.sibling;if($0!==null)Bj=$0;else{var Q0=l.return;Q0!==null?(Bj=Q0,E4(Q0)):Bj=null}break j}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}i2=Fv,jI=null,p2($,j,E,ZH);break;case YK:i2=Fv,jI=null,p2($,j,E,YK);break;case zH:r$(),tU=FV;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Q$.actQueue!==null?nU():vU();break}catch(m0){xj($,m0)}while(1);if(VY(),Q$.H=O,Q$.A=A,X2=X,Bj!==null)return oQ;return QU=null,Rj=0,j1(),tU}function vU(){for(;Bj!==null&&!XS();)I2(Bj)}function I2($){var j=$.alternate;($.mode&Pj)!==Xj?(JJ($),j=D0($,sj,j,$,lJ),GQ($)):j=D0($,sj,j,$,lJ),$.memoizedProps=$.pendingProps,j===null?E4($):Bj=j}function CU($){var j=D0($,$4,$);$.memoizedProps=$.pendingProps,j===null?E4($):Bj=j}function $4($){var j=$.alternate,X=($.mode&Pj)!==Xj;switch(X&&JJ($),$.tag){case 15:case 0:j=BQ(j,$,$.pendingProps,$.type,void 0,Rj);break;case 11:j=BQ(j,$,$.pendingProps,$.type.render,$.ref,Rj);break;case 5:tG($);default:EJ(j,$),$=Bj=vJ($,lJ),j=sj(j,$,lJ)}return X&&GQ($),j}function p2($,j,X,O){VY(),tG(j),j8=null,eW=0;var A=j.return;try{if(H6($,A,j,X,Rj)){tU=JK,uv($,S6(X,$.current)),Bj=null;return}}catch(E){if(A!==null)throw Bj=A,E;tU=JK,uv($,S6(X,$.current)),Bj=null;return}if(j.flags&32768){if(lj||O===HV)$=!0;else if(Z8||(Rj&536870912)!==0)$=!1;else if(YG=$=!0,O===gZ||O===NZ||O===QK||O===YK)O=av.current,O!==null&&O.tag===13&&(O.flags|=16384);iU(j,$)}else E4(j)}function E4($){var j=$;do{if((j.flags&32768)!==0){iU(j,YG);return}var X=j.alternate;if($=j.return,JJ(j),X=D0(j,BX,X,j,lJ),(j.mode&Pj)!==Xj&&U1(j),X!==null){Bj=X;return}if(j=j.sibling,j!==null){Bj=j;return}Bj=j=$}while(j!==null);tU===oQ&&(tU=MR)}function iU($,j){do{var X=lv($.alternate,$);if(X!==null){X.flags&=32767,Bj=X;return}if(($.mode&Pj)!==Xj){U1($),X=$.actualDuration;for(var O=$.child;O!==null;)X+=O.actualDuration,O=O.sibling;$.actualDuration=X}if(X=$.return,X!==null&&(X.flags|=32768,X.subtreeFlags=0,X.deletions=null),!j&&($=$.sibling,$!==null)){Bj=$;return}Bj=$=X}while($!==null);tU=FV,Bj=null}function g2($,j,X,O,A,E,f,l,$0,Q0,m0,u0,B0,e0){$.cancelPendingCommit=null;do xU();while(o4!==WG);if(yX.flushLegacyContextWarning(),yX.flushPendingUnsafeLifecycleWarnings(),(X2&(Z6|$I))!==T6)throw Error("Should not already be working.");if(cU(X),Q0===BZ?JX(B0,e0,X,V4):O!==null?jJ(B0,e0,X,O,j!==null&&j.alternate!==null&&j.alternate.memoizedState.isDehydrated&&(j.flags&256)!==0,V4):XQ(B0,e0,X,V4),j!==null){if(X===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),j===$.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(E=j.lanes|j.childLanes,E|=mF,Lj($,X,E,f,l,$0),$===QU&&(Bj=QU=null,Rj=0),z8=j,KG=$,mX=X,DH=E,HH=A,gR=O,FH=e0,NR=u0,uX=qV,SR=null,j.actualDuration!==0||(j.subtreeFlags&10256)!==0||(j.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,h6(xz,function(){return DK=window.event,uX===qV&&(uX=VH),RU(),null})):($.callbackNode=null,$.callbackPriority=0),hQ=null,jG=l4(),u0!==null&&FI(e0,jG,u0,V4),O=(j.flags&13878)!==0,(j.subtreeFlags&13878)!==0||O){O=Q$.T,Q$.T=null,A=b2.p,b2.p=tv,f=X2,X2|=$I;try{PU($,j,X)}finally{X2=f,b2.p=A,Q$.T=O}}o4=RR,W4(),IU(),dv()}}function W4(){if(o4===RR){o4=WG;var $=KG,j=z8,X=mX,O=(j.flags&13878)!==0;if((j.subtreeFlags&13878)!==0||O){O=Q$.T,Q$.T=null;var A=b2.p;b2.p=tv;var E=X2;X2|=$I;try{Y8=X,G8=$,Uv(),aU(j,$),G8=Y8=null,X=BH;var f=sX($.containerInfo),l=X.focusedElem,$0=X.selectionRange;if(f!==l&&l&&l.ownerDocument&&OI(l.ownerDocument.documentElement,l)){if($0!==null&&VI(l)){var{start:Q0,end:m0}=$0;if(m0===void 0&&(m0=Q0),"selectionStart"in l)l.selectionStart=Q0,l.selectionEnd=Math.min(m0,l.value.length);else{var u0=l.ownerDocument||document,B0=u0&&u0.defaultView||window;if(B0.getSelection){var e0=B0.getSelection(),m$=l.textContent.length,l$=Math.min($0.start,m$),OU=$0.end===void 0?l$:Math.min($0.end,m$);!e0.extend&&l$>OU&&(f=OU,OU=l$,l$=f);var oj=IQ(l,l$),T0=IQ(l,OU);if(oj&&T0&&(e0.rangeCount!==1||e0.anchorNode!==oj.node||e0.anchorOffset!==oj.offset||e0.focusNode!==T0.node||e0.focusOffset!==T0.offset)){var N0=u0.createRange();N0.setStart(oj.node,oj.offset),e0.removeAllRanges(),l$>OU?(e0.addRange(N0),e0.extend(T0.node,T0.offset)):(N0.setEnd(T0.node,T0.offset),e0.addRange(N0))}}}}u0=[];for(e0=l;e0=e0.parentNode;)e0.nodeType===1&&u0.push({element:e0,left:e0.scrollLeft,top:e0.scrollTop});typeof l.focus==="function"&&l.focus();for(l=0;l<u0.length;l++){var y0=u0[l];y0.element.scrollLeft=y0.left,y0.element.scrollTop=y0.top}}bV=!!TH,BH=TH=null}finally{X2=E,b2.p=A,Q$.T=O}}$.current=j,o4=ER}}function IU(){if(o4===ER){o4=WG;var $=SR;if($!==null){jG=l4();var j=uQ,X=jG;!BU||X<=j||(lQ?lQ.run(console.timeStamp.bind(console,$,j,X,fj,kj,"secondary-light")):console.timeStamp($,j,X,fj,kj,"secondary-light"))}$=KG,j=z8,X=mX;var O=(j.flags&8772)!==0;if((j.subtreeFlags&8772)!==0||O){O=Q$.T,Q$.T=null;var A=b2.p;b2.p=tv;var E=X2;X2|=$I;try{Y8=X,G8=$,Uv(),m6($,j.alternate,j),G8=Y8=null}finally{X2=E,b2.p=A,Q$.T=O}}$=FH,j=NR,uQ=l4(),$=j===null?$:jG,j=uQ,X=uX===OH,O=V4,hQ!==null?HI($,j,hQ,!1,O):!BU||j<=$||(O?O.run(console.timeStamp.bind(console,X?"Commit Interrupted View Transition":"Commit",$,j,fj,kj,X?"error":"secondary-dark")):console.timeStamp(X?"Commit Interrupted View Transition":"Commit",$,j,fj,kj,X?"error":"secondary-dark")),o4=TR}}function dv(){if(o4===BR||o4===TR){if(o4===BR){var $=uQ;uQ=l4();var j=uQ,X=uX===OH;!BU||j<=$||(lQ?lQ.run(console.timeStamp.bind(console,X?"Interrupted View Transition":"Starting Animation",$,j,fj,kj,X?"error":"secondary-light")):console.timeStamp(X?"Interrupted View Transition":"Starting Animation",$,j,fj,kj,X?" error":"secondary-light")),uX!==OH&&(uX=CR)}o4=WG,JS(),$=KG;var O=z8;j=mX,X=gR;var A=O.actualDuration!==0||(O.subtreeFlags&10256)!==0||(O.flags&10256)!==0;A?o4=PV:(o4=WG,z8=KG=null,M2($,$.pendingLanes),wZ=0,WK=null);var E=$.pendingLanes;if(E===0&&(zG=null),A||EU($),E=e(j),O=O.stateNode,O1&&typeof O1.onCommitFiberRoot==="function")try{var f=(O.current.flags&128)===128;switch(E){case tv:var l=HF;break;case cX:l=_F;break;case fJ:l=xz;break;case hO:l=MF;break;default:l=xz}O1.onCommitFiberRoot(yz,O,l,f)}catch(u0){xJ||(xJ=!0,console.error("React instrumentation encountered an error: %o",u0))}if(yJ&&$.memoizedUpdaters.clear(),g$(),X!==null){f=Q$.T,l=b2.p,b2.p=tv,Q$.T=null;try{var $0=$.onRecoverableError;for(O=0;O<X.length;O++){var Q0=X[O],m0=X6(Q0.stack);D0(Q0.source,$0,Q0.value,m0)}}finally{Q$.T=f,b2.p=l}}(mX&3)!==0&&xU(),l2($),E=$.pendingLanes,(j&261930)!==0&&(E&42)!==0?(JV=!0,$===_H?zK++:(zK=0,_H=$)):zK=0,A||ej(j,uQ),U4(0,!1)}}function X6($){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 M2($,j){($.pooledCacheLanes&=j)===0&&(j=$.pooledCache,j!=null&&($.pooledCache=null,HU(j)))}function xU(){return W4(),IU(),dv(),RU()}function RU(){if(o4!==PV)return!1;var $=KG,j=DH;DH=0;var X=e(mX),O=fJ===0||fJ>X?fJ:X;X=Q$.T;var A=b2.p;try{b2.p=O,Q$.T=null;var E=HH;HH=null,O=KG;var f=mX;if(o4=WG,z8=KG=null,mX=0,(X2&(Z6|$I))!==T6)throw Error("Cannot flush passive effects while already rendering.");cU(f),MH=!0,CV=!1;var l=0;if(hQ=null,l=C6(),uX===CR)K6(uQ,l,lQ);else{var $0=uQ,Q0=l,m0=uX===VH;!BU||Q0<=$0||(V4?V4.run(console.timeStamp.bind(console,m0?"Waiting for Paint":"Waiting",$0,Q0,fj,kj,"secondary-light")):console.timeStamp(m0?"Waiting for Paint":"Waiting",$0,Q0,fj,kj,"secondary-light"))}$0=X2,X2|=$I;var u0=O.current;Uv(),j$(u0);var B0=O.current;u0=FH,Uv(),F(O,B0,f,E,u0),EU(O),X2=$0;var e0=C6();if(B0=l,u0=V4,hQ!==null?HI(B0,e0,hQ,!0,u0):!BU||e0<=B0||(u0?u0.run(console.timeStamp.bind(console,"Remaining Effects",B0,e0,fj,kj,"secondary-dark")):console.timeStamp("Remaining Effects",B0,e0,fj,kj,"secondary-dark")),ej(f,e0),U4(0,!1),CV?O===WK?wZ++:(wZ=0,WK=O):wZ=0,CV=MH=!1,O1&&typeof O1.onPostCommitFiberRoot==="function")try{O1.onPostCommitFiberRoot(yz,O)}catch(l$){xJ||(xJ=!0,console.error("React instrumentation encountered an error: %o",l$))}var m$=O.current.stateNode;return m$.effectDuration=0,m$.passiveEffectDuration=0,!0}finally{b2.p=A,Q$.T=X,M2($,j)}}function P1($,j,X){j=S6(X,j),nG(j),j=NI($.stateNode,j,2),$=Xv($,j,2),$!==null&&(Z$($,2),l2($))}function _j($,j,X){if(W8=!1,$.tag===3)P1($,$,X);else{for(;j!==null;){if(j.tag===3){P1(j,$,X);return}if(j.tag===1){var O=j.stateNode;if(typeof j.type.getDerivedStateFromError==="function"||typeof O.componentDidCatch==="function"&&(zG===null||!zG.has(O))){$=S6(X,$),nG($),X=SY(2),O=Xv(j,X,2),O!==null&&(LJ(X,O,j,$),Z$(O,2),l2(O));return}}j=j.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`,X)}}function K4($,j,X){var O=$.pingCache;if(O===null){O=$.pingCache=new Rw;var A=new Set;O.set(j,A)}else A=O.get(j),A===void 0&&(A=new Set,O.set(j,A));A.has(X)||(WH=!0,A.add(X),O=C1.bind(null,$,j,X),yJ&&m4($,X),j.then(O,O))}function C1($,j,X){var O=$.pingCache;O!==null&&O.delete(j),$.pingedLanes|=$.suspendedLanes&X,$.warmLanes&=~X,(X&127)!==0?0>uJ&&(UG=uJ=l4(),uW=$V("Promise Resolved"),vG=jV):(X&4194048)!==0&&0>hI&&(hJ=hI=l4(),pW=$V("Promise Resolved"),iF=jV),B$()&&Q$.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`),QU===$&&(Rj&X)===X&&(tU===QG||tU===DV&&(Rj&62914560)===Rj&&C6()-LV<qR?(X2&Z6)===T6&&h2($,0):KH|=X,SZ===Rj&&(SZ=0)),l2($)}function rU($,j){j===0&&(j=i$()),$=A4($,j),$!==null&&(Z$($,j),l2($))}function Zv($){var j=$.memoizedState,X=0;j!==null&&(X=j.retryLane),rU($,X)}function SI($,j){var X=0;switch($.tag){case 31:case 13:var{stateNode:O,memoizedState:A}=$;A!==null&&(X=A.retryLane);break;case 19:O=$.stateNode;break;case 22:O=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}O!==null&&O.delete(j),rU($,X)}function j4($,j,X){if((j.subtreeFlags&67117056)!==0)for(j=j.child;j!==null;){var O=$,A=j,E=A.type===xO;E=X||E,A.tag!==22?A.flags&67108864?E&&D0(A,R1,O,A):j4(O,A,E):A.memoizedState===null&&(E&&A.flags&8192?D0(A,R1,O,A):A.subtreeFlags&67108864&&D0(A,j4,O,A,E)),j=j.sibling}}function R1($,j){o0(!0);try{b4(j),t0(j),Y1($,j.alternate,j,!1),w($,j,0,null,!1,0)}finally{o0(!1)}}function EU($){var j=!0;$.current.mode&(V1|xX)||(j=!1),j4($,$.current,j)}function G1($){if((X2&Z6)===T6){var j=$.tag;if(j===3||j===1||j===0||j===11||j===14||j===15){if(j=X0($)||"ReactComponent",RV!==null){if(RV.has(j))return;RV.add(j)}else RV=new Set([j]);D0($,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 m4($,j){yJ&&$.memoizedUpdaters.forEach(function(X){F$($,X,j)})}function h6($,j){var X=Q$.actQueue;return X!==null?(X.push(j),Bw):FF($,j)}function T4($){B$()&&Q$.actQueue===null&&D0($,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`,X0($))})}function l2($){$!==K8&&$.next===null&&(K8===null?EV=K8=$:K8=K8.next=$),TV=!0,Q$.actQueue!==null?AH||(AH=!0,wI()):LH||(LH=!0,wI())}function U4($,j){if(!qH&&TV){qH=!0;do{var X=!1;for(var O=EV;O!==null;){if(!j)if($!==0){var A=O.pendingLanes;if(A===0)var E=0;else{var{suspendedLanes:f,pingedLanes:l}=O;E=(1<<31-S1(42|$)+1)-1,E&=A&~(f&~l),E=E&201326741?E&201326741|1:E?E|2:0}E!==0&&(X=!0,p6(O,E))}else E=Rj,E=q$(O,O===QU?E:0,O.cancelPendingCommit!==null||O.timeoutHandle!==yZ),(E&3)===0||w0(O,E)||(X=!0,p6(O,E));O=O.next}}while(X);qH=!1}}function v4(){DK=window.event,XU()}function XU(){TV=AH=LH=!1;var $=0;OG!==0&&Rz()&&($=OG);for(var j=C6(),X=null,O=EV;O!==null;){var A=O.next,E=L6(O,j);if(E===0)O.next=null,X===null?EV=A:X.next=A,A===null&&(K8=X);else if(X=O,$!==0||(E&3)!==0)TV=!0;O=A}o4!==WG&&o4!==PV||U4($,!1),OG!==0&&(OG=0)}function L6($,j){for(var{suspendedLanes:X,pingedLanes:O,expirationTimes:A}=$,E=$.pendingLanes&-62914561;0<E;){var f=31-S1(E),l=1<<f,$0=A[f];if($0===-1){if((l&X)===0||(l&O)!==0)A[f]=n0(l,j)}else $0<=j&&($.expiredLanes|=l);E&=~l}if(j=QU,X=Rj,X=q$($,$===j?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==yZ),O=$.callbackNode,X===0||$===j&&(i2===gZ||i2===NZ)||$.cancelPendingCommit!==null)return O!==null&&h4(O),$.callbackNode=null,$.callbackPriority=0;if((X&3)===0||w0($,X)){if(j=X&-X,j!==$.callbackPriority||Q$.actQueue!==null&&O!==PH)h4(O);else return j;switch(e(X)){case tv:case cX:X=_F;break;case fJ:X=xz;break;case hO:X=MF;break;default:X=xz}return O=u4.bind(null,$),Q$.actQueue!==null?(Q$.actQueue.push(O),X=PH):X=FF(X,O),$.callbackPriority=j,$.callbackNode=X,j}return O!==null&&h4(O),$.callbackPriority=2,$.callbackNode=null,2}function u4($,j){if(JV=XV=!1,DK=window.event,o4!==WG&&o4!==PV)return $.callbackNode=null,$.callbackPriority=0,null;var X=$.callbackNode;if(uX===qV&&(uX=VH),xU()&&$.callbackNode!==X)return null;var O=Rj;if(O=q$($,$===QU?O:0,$.cancelPendingCommit!==null||$.timeoutHandle!==yZ),O===0)return null;return t$($,O,j),L6($,C6()),$.callbackNode!=null&&$.callbackNode===X?u4.bind(null,$):null}function p6($,j){if(xU())return null;XV=JV,JV=!1,t$($,j,!0)}function h4($){$!==PH&&$!==null&&IS($)}function wI(){Q$.actQueue!==null&&Q$.actQueue.push(function(){return XU(),null}),bw(function(){(X2&(Z6|$I))!==T6?FF(HF,v4):XU()})}function TU(){if(OG===0){var $=qZ;$===0&&($=bO,bO<<=1,(bO&261888)===0&&(bO=256)),OG=$}return OG}function B4($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return U0($,"action"),o1(""+$)}function E1($,j){var X=j.ownerDocument.createElement("input");return X.name=j.name,X.value=j.value,$.id&&X.setAttribute("form",$.id),j.parentNode.insertBefore(X,j),$=new FormData($),X.parentNode.removeChild(X),$}function nv($,j,X,O,A){if(j==="submit"&&X&&X.stateNode===A){var E=B4((A[w1]||null).action),f=O.submitter;f&&(j=(j=f[w1]||null)?B4(j.formAction):f.getAttribute("formAction"),j!==null&&(E=j,f=null));var l=new iO("action","action",null,O,A);$.push({event:l,listeners:[{instance:null,listener:function(){if(O.defaultPrevented){if(OG!==0){var $0=f?E1(A,f):new FormData(A),Q0={pending:!0,data:$0,method:A.method,action:E};Object.freeze(Q0),gY(X,Q0,null,$0)}}else typeof E==="function"&&(l.preventDefault(),$0=f?E1(A,f):new FormData(A),Q0={pending:!0,data:$0,method:A.method,action:E},Object.freeze(Q0),gY(X,Q0,E,$0))},currentTarget:A}]})}}function Z1($,j,X){$.currentTarget=X;try{j($)}catch(O){xF(O)}$.currentTarget=null}function SQ($,j){j=(j&4)!==0;for(var X=0;X<$.length;X++){var O=$[X];$:{var A=void 0,E=O.event;if(O=O.listeners,j)for(var f=O.length-1;0<=f;f--){var l=O[f],$0=l.instance,Q0=l.currentTarget;if(l=l.listener,$0!==A&&E.isPropagationStopped())break $;$0!==null?D0($0,Z1,E,l,Q0):Z1(E,l,Q0),A=$0}else for(f=0;f<O.length;f++){if(l=O[f],$0=l.instance,Q0=l.currentTarget,l=l.listener,$0!==A&&E.isPropagationStopped())break $;$0!==null?D0($0,Z1,E,l,Q0):Z1(E,l,Q0),A=$0}}}}function vj($,j){CH.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var X=j[LF];X===void 0&&(X=j[LF]=new Set);var O=$+"__bubble";X.has(O)||(zv(j,$,2,!1),X.add(O))}function l6($,j,X){CH.has($)&&!j&&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 O=0;j&&(O|=4),zv(X,$,O,j)}function A6($){if(!$[BV]){$[BV]=!0,NP.forEach(function(X){X!=="selectionchange"&&(CH.has(X)||l6(X,!1,$),l6(X,!0,$))});var j=$.nodeType===9?$:$.ownerDocument;j===null||j[BV]||(j[BV]=!0,l6("selectionchange",!1,j))}}function zv($,j,X,O){switch(OP(j)){case tv:var A=t3;break;case cX:A=s3;break;default:A=vF}X=A.bind(null,j,X,$),A=void 0,!RF||j!=="touchstart"&&j!=="touchmove"&&j!=="wheel"||(A=!0),O?A!==void 0?$.addEventListener(j,X,{capture:!0,passive:A}):$.addEventListener(j,X,!0):A!==void 0?$.addEventListener(j,X,{passive:A}):$.addEventListener(j,X,!1)}function NX($,j,X,O,A){var E=O;if((j&1)===0&&(j&2)===0&&O!==null)$:for(;;){if(O===null)return;var f=O.tag;if(f===3||f===4){var l=O.stateNode.containerInfo;if(l===A)break;if(f===4)for(f=O.return;f!==null;){var $0=f.tag;if(($0===3||$0===4)&&f.stateNode.containerInfo===A)return;f=f.return}for(;l!==null;){if(f=d0(l),f===null)return;if($0=f.tag,$0===5||$0===6||$0===26||$0===27){O=E=f;continue $}l=l.parentNode}}O=O.return}t1(function(){var Q0=E,m0=rX(X),u0=[];$:{var B0=OC.get($);if(B0!==void 0){var e0=iO,m$=$;switch($){case"keypress":if(oX(X)===0)break $;case"keydown":case"keyup":e0=dS;break;case"focusin":m$="focus",e0=gF;break;case"focusout":m$="blur",e0=gF;break;case"beforeblur":case"afterblur":e0=gF;break;case"click":if(X.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e0=$C;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e0=wS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e0=rS;break;case ZC:case zC:case WC:e0=xS;break;case KC:e0=tS;break;case"scroll":case"scrollend":e0=NS;break;case"wheel":e0=aS;break;case"copy":case"cut":case"paste":e0=fS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e0=UC;break;case"toggle":case"beforetoggle":e0=$w}var l$=(j&4)!==0,OU=!l$&&($==="scroll"||$==="scrollend"),oj=l$?B0!==null?B0+"Capture":null:B0;l$=[];for(var T0=Q0,N0;T0!==null;){var y0=T0;if(N0=y0.stateNode,y0=y0.tag,y0!==5&&y0!==26&&y0!==27||N0===null||oj===null||(y0=zI(T0,oj),y0!=null&&l$.push(Wv(T0,y0,N0))),OU)break;T0=T0.return}0<l$.length&&(B0=new e0(B0,m$,null,X,m0),u0.push({event:B0,listeners:l$}))}}if((j&7)===0){$:{if(B0=$==="mouseover"||$==="pointerover",e0=$==="mouseout"||$==="pointerout",B0&&X!==gW&&(m$=X.relatedTarget||X.fromElement)&&(d0(m$)||m$[oY]))break $;if(e0||B0){if(B0=m0.window===m0?m0:(B0=m0.ownerDocument)?B0.defaultView||B0.parentWindow:window,e0){if(m$=X.relatedTarget||X.toElement,e0=Q0,m$=m$?d0(m$):null,m$!==null&&(OU=i(m$),l$=m$.tag,m$!==OU||l$!==5&&l$!==27&&l$!==6))m$=null}else e0=null,m$=Q0;if(e0!==m$){if(l$=$C,y0="onMouseLeave",oj="onMouseEnter",T0="mouse",$==="pointerout"||$==="pointerover")l$=UC,y0="onPointerLeave",oj="onPointerEnter",T0="pointer";if(OU=e0==null?B0:a0(e0),N0=m$==null?B0:a0(m$),B0=new l$(y0,T0+"leave",e0,X,m0),B0.target=OU,B0.relatedTarget=N0,y0=null,d0(m0)===Q0&&(l$=new l$(oj,T0+"enter",m$,X,m0),l$.target=N0,l$.relatedTarget=OU,y0=l$),OU=y0,e0&&m$)j:{l$=J6,oj=e0,T0=m$,N0=0;for(y0=oj;y0;y0=l$(y0))N0++;y0=0;for(var V$=T0;V$;V$=l$(V$))y0++;for(;0<N0-y0;)oj=l$(oj),N0--;for(;0<y0-N0;)T0=l$(T0),y0--;for(;N0--;){if(oj===T0||T0!==null&&oj===T0.alternate){l$=oj;break j}oj=l$(oj),T0=l$(T0)}l$=null}else l$=null;e0!==null&&d6(u0,B0,e0,l$,!1),m$!==null&&OU!==null&&d6(u0,OU,m$,l$,!0)}}}$:{if(B0=Q0?a0(Q0):window,e0=B0.nodeName&&B0.nodeName.toLowerCase(),e0==="select"||e0==="input"&&B0.type==="file")var h$=yG;else if(tX(B0))if(YC)h$=vX;else{h$=ZY;var Zj=GY}else e0=B0.nodeName,!e0||e0.toLowerCase()!=="input"||B0.type!=="checkbox"&&B0.type!=="radio"?Q0&&r1(Q0.elementType)&&(h$=yG):h$=t4;if(h$&&(h$=h$($,Q0))){jX(u0,h$,X,m0);break $}Zj&&Zj($,B0,Q0),$==="focusout"&&Q0&&B0.type==="number"&&Q0.memoizedProps.value!=null&&Jj(B0,"number",B0.value)}switch(Zj=Q0?a0(Q0):window,$){case"focusin":if(tX(Zj)||Zj.contentEditable==="true")lz=Zj,SF=Q0,yW=null;break;case"focusout":yW=SF=lz=null;break;case"mousedown":wF=!0;break;case"contextmenu":case"mouseup":case"dragend":wF=!1,kU(u0,X,m0);break;case"selectionchange":if(Iw)break;case"keydown":case"keyup":kU(u0,X,m0)}var $j;if(NF)$:{switch($){case"compositionstart":var o$="onCompositionStart";break $;case"compositionend":o$="onCompositionEnd";break $;case"compositionupdate":o$="onCompositionUpdate";break $}o$=void 0}else pz?Tv($,X)&&(o$="onCompositionEnd"):$==="keydown"&&X.keyCode===vC&&(o$="onCompositionStart");if(o$&&(IC&&X.locale!=="ko"&&(pz||o$!=="onCompositionStart"?o$==="onCompositionEnd"&&pz&&($j=s1()):(tY=m0,EF=("value"in tY)?tY.value:tY.textContent,pz=!0)),Zj=KU(Q0,o$),0<Zj.length&&(o$=new jC(o$,$,null,X,m0),u0.push({event:o$,listeners:Zj}),$j?o$.data=$j:($j=mU(X),$j!==null&&(o$.data=$j)))),$j=Uw?$X($,X):M4($,X))o$=KU(Q0,"onBeforeInput"),0<o$.length&&(Zj=new mS("onBeforeInput","beforeinput",null,X,m0),u0.push({event:Zj,listeners:o$}),Zj.data=$j);nv(u0,$,Q0,X,m0)}SQ(u0,j)})}function Wv($,j,X){return{instance:$,listener:j,currentTarget:X}}function KU($,j){for(var X=j+"Capture",O=[];$!==null;){var A=$,E=A.stateNode;if(A=A.tag,A!==5&&A!==26&&A!==27||E===null||(A=zI($,X),A!=null&&O.unshift(Wv($,A,E)),A=zI($,j),A!=null&&O.push(Wv($,A,E))),$.tag===3)return O;$=$.return}return[]}function J6($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function d6($,j,X,O,A){for(var E=j._reactName,f=[];X!==null&&X!==O;){var l=X,$0=l.alternate,Q0=l.stateNode;if(l=l.tag,$0!==null&&$0===O)break;l!==5&&l!==26&&l!==27||Q0===null||($0=Q0,A?(Q0=zI(X,E),Q0!=null&&f.unshift(Wv(X,Q0,$0))):A||(Q0=zI(X,E),Q0!=null&&f.push(Wv(X,Q0,$0)))),X=X.return}f.length!==0&&$.push({event:j,listeners:f})}function Kv($,j){Rv($,j),$!=="input"&&$!=="textarea"&&$!=="select"||j==null||j.value!==null||aP||(aP=!0,$==="select"&&j.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 X={registrationNameDependencies:FZ,possibleRegistrationNames:AF};r1($)||typeof j.is==="string"||S4($,j,X),j.contentEditable&&!j.suppressContentEditableWarning&&j.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 pj($,j,X,O){j!==X&&(X=n6(X),n6(j)!==X&&(O[$]=j))}function d2($,j,X){j.forEach(function(O){X[T1(O)]=O==="style"?B1($):$.getAttribute(O)})}function Aj($,j){j===!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 j)}function rj($,j){return $=$.namespaceURI===lO||$.namespaceURI===bz?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=j,$.innerHTML}function n6($){return Z0($)&&(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.",k0($)),r($)),(typeof $==="string"?$:""+$).replace(gw,`
|
|
176
|
+
`).replace(Nw,"")}function z1($,j){return j=n6(j),n6($)===j?!0:!1}function yj($,j,X,O,A,E){switch(X){case"children":if(typeof O==="string")aI(O,j,!1),j==="body"||j==="textarea"&&O===""||GI($,O);else if(typeof O==="number"||typeof O==="bigint")aI(""+O,j,!1),j!=="body"&&GI($,""+O);break;case"className":b0($,"class",O);break;case"tabIndex":b0($,"tabindex",O);break;case"dir":case"role":case"viewBox":case"width":case"height":b0($,X,O);break;case"style":QY($,O,E);break;case"data":if(j!=="object"){b0($,"data",O);break}case"src":case"href":if(O===""&&(j!=="a"||X!=="href")){X==="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.',X,X):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.',X,X),$.removeAttribute(X);break}if(O==null||typeof O==="function"||typeof O==="symbol"||typeof O==="boolean"){$.removeAttribute(X);break}U0(O,X),O=o1(""+O),$.setAttribute(X,O);break;case"action":case"formAction":if(O!=null&&(j==="form"?X==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof O==="function"&&(A.encType==null&&A.method==null||SV||(SV=!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.")),A.target==null||NV||(NV=!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."))):j==="input"||j==="button"?X==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):j!=="input"||A.type==="submit"||A.type==="image"||gV?j!=="button"||A.type==null||A.type==="submit"||gV?typeof O==="function"&&(A.name==null||yR||(yR=!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.')),A.formEncType==null&&A.formMethod==null||SV||(SV=!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.")),A.formTarget==null||NV||(NV=!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."))):(gV=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(gV=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):X==="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 O==="function"){$.setAttribute(X,"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 E==="function"&&(X==="formAction"?(j!=="input"&&yj($,j,"name",A.name,A,null),yj($,j,"formEncType",A.formEncType,A,null),yj($,j,"formMethod",A.formMethod,A,null),yj($,j,"formTarget",A.formTarget,A,null)):(yj($,j,"encType",A.encType,A,null),yj($,j,"method",A.method,A,null),yj($,j,"target",A.target,A,null)));if(O==null||typeof O==="symbol"||typeof O==="boolean"){$.removeAttribute(X);break}U0(O,X),O=o1(""+O),$.setAttribute(X,O);break;case"onClick":O!=null&&(typeof O!=="function"&&Aj(X,O),$.onclick=jU);break;case"onScroll":O!=null&&(typeof O!=="function"&&Aj(X,O),vj("scroll",$));break;case"onScrollEnd":O!=null&&(typeof O!=="function"&&Aj(X,O),vj("scrollend",$));break;case"dangerouslySetInnerHTML":if(O!=null){if(typeof O!=="object"||!("__html"in O))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=O.__html,X!=null){if(A.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"multiple":$.multiple=O&&typeof O!=="function"&&typeof O!=="symbol";break;case"muted":$.muted=O&&typeof O!=="function"&&typeof O!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(O==null||typeof O==="function"||typeof O==="boolean"||typeof O==="symbol"){$.removeAttribute("xlink:href");break}U0(O,X),X=o1(""+O),$.setAttributeNS(kZ,"xlink:href",X);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":O!=null&&typeof O!=="function"&&typeof O!=="symbol"?(U0(O,X),$.setAttribute(X,""+O)):$.removeAttribute(X);break;case"inert":O!==""||wV[X]||(wV[X]=!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.",X));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":O&&typeof O!=="function"&&typeof O!=="symbol"?$.setAttribute(X,""):$.removeAttribute(X);break;case"capture":case"download":O===!0?$.setAttribute(X,""):O!==!1&&O!=null&&typeof O!=="function"&&typeof O!=="symbol"?(U0(O,X),$.setAttribute(X,O)):$.removeAttribute(X);break;case"cols":case"rows":case"size":case"span":O!=null&&typeof O!=="function"&&typeof O!=="symbol"&&!isNaN(O)&&1<=O?(U0(O,X),$.setAttribute(X,O)):$.removeAttribute(X);break;case"rowSpan":case"start":O==null||typeof O==="function"||typeof O==="symbol"||isNaN(O)?$.removeAttribute(X):(U0(O,X),$.setAttribute(X,O));break;case"popover":vj("beforetoggle",$),vj("toggle",$),_0($,"popover",O);break;case"xlinkActuate":p0($,kZ,"xlink:actuate",O);break;case"xlinkArcrole":p0($,kZ,"xlink:arcrole",O);break;case"xlinkRole":p0($,kZ,"xlink:role",O);break;case"xlinkShow":p0($,kZ,"xlink:show",O);break;case"xlinkTitle":p0($,kZ,"xlink:title",O);break;case"xlinkType":p0($,kZ,"xlink:type",O);break;case"xmlBase":p0($,RH,"xml:base",O);break;case"xmlLang":p0($,RH,"xml:lang",O);break;case"xmlSpace":p0($,RH,"xml:space",O);break;case"is":E!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),_0($,"is",O);break;case"innerText":case"textContent":break;case"popoverTarget":fR||O==null||typeof O!=="object"||(fR=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",O));default:!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"?(X=F1(X),_0($,X,O)):FZ.hasOwnProperty(X)&&O!=null&&typeof O!=="function"&&Aj(X,O)}}function i6($,j,X,O,A,E){switch(X){case"style":QY($,O,E);break;case"dangerouslySetInnerHTML":if(O!=null){if(typeof O!=="object"||!("__html"in O))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=O.__html,X!=null){if(A.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"children":typeof O==="string"?GI($,O):(typeof O==="number"||typeof O==="bigint")&&GI($,""+O);break;case"onScroll":O!=null&&(typeof O!=="function"&&Aj(X,O),vj("scroll",$));break;case"onScrollEnd":O!=null&&(typeof O!=="function"&&Aj(X,O),vj("scrollend",$));break;case"onClick":O!=null&&(typeof O!=="function"&&Aj(X,O),$.onclick=jU);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(FZ.hasOwnProperty(X))O!=null&&typeof O!=="function"&&Aj(X,O);else $:{if(X[0]==="o"&&X[1]==="n"&&(A=X.endsWith("Capture"),j=X.slice(2,A?X.length-7:void 0),E=$[w1]||null,E=E!=null?E[X]:null,typeof E==="function"&&$.removeEventListener(j,E,A),typeof O==="function")){typeof E!=="function"&&E!==null&&(X in $?$[X]=null:$.hasAttribute(X)&&$.removeAttribute(X)),$.addEventListener(j,O,A);break $}X in $?$[X]=O:O===!0?$.setAttribute(X,""):_0($,X,O)}}}function n2($,j,X){switch(Kv(j,X),j){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":vj("error",$),vj("load",$);var O=!1,A=!1,E;for(E in X)if(X.hasOwnProperty(E)){var f=X[E];if(f!=null)switch(E){case"src":O=!0;break;case"srcSet":A=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(j+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:yj($,j,E,f,X,null)}}A&&yj($,j,"srcSet",X.srcSet,X,null),O&&yj($,j,"src",X.src,X,null);return;case"input":A2("input",X),vj("invalid",$);var l=E=f=A=null,$0=null,Q0=null;for(O in X)if(X.hasOwnProperty(O)){var m0=X[O];if(m0!=null)switch(O){case"name":A=m0;break;case"type":f=m0;break;case"checked":$0=m0;break;case"defaultChecked":Q0=m0;break;case"value":E=m0;break;case"defaultValue":l=m0;break;case"children":case"dangerouslySetInnerHTML":if(m0!=null)throw Error(j+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:yj($,j,O,m0,X,null)}}U$($,X),W2($,E,l,$0,Q0,f,A,!1);return;case"select":A2("select",X),vj("invalid",$),O=f=E=null;for(A in X)if(X.hasOwnProperty(A)&&(l=X[A],l!=null))switch(A){case"value":E=l;break;case"defaultValue":f=l;break;case"multiple":O=l;default:yj($,j,A,l,X,null)}K2($,X),j=E,X=f,$.multiple=!!O,j!=null?Qj($,!!O,j,!1):X!=null&&Qj($,!!O,X,!0);return;case"textarea":A2("textarea",X),vj("invalid",$),E=A=O=null;for(f in X)if(X.hasOwnProperty(f)&&(l=X[f],l!=null))switch(f){case"value":O=l;break;case"defaultValue":A=l;break;case"children":E=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:yj($,j,f,l,X,null)}N2($,X),$U($,O,A,E);return;case"option":e$($,X);for($0 in X)if(X.hasOwnProperty($0)&&(O=X[$0],O!=null))switch($0){case"selected":$.selected=O&&typeof O!=="function"&&typeof O!=="symbol";break;default:yj($,j,$0,O,X,null)}return;case"dialog":vj("beforetoggle",$),vj("toggle",$),vj("cancel",$),vj("close",$);break;case"iframe":case"object":vj("load",$);break;case"video":case"audio":for(O=0;O<KK.length;O++)vj(KK[O],$);break;case"image":vj("error",$),vj("load",$);break;case"details":vj("toggle",$);break;case"embed":case"source":case"link":vj("error",$),vj("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q0 in X)if(X.hasOwnProperty(Q0)&&(O=X[Q0],O!=null))switch(Q0){case"children":case"dangerouslySetInnerHTML":throw Error(j+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:yj($,j,Q0,O,X,null)}return;default:if(r1(j)){for(m0 in X)X.hasOwnProperty(m0)&&(O=X[m0],O!==void 0&&i6($,j,m0,O,X,void 0));return}}for(l in X)X.hasOwnProperty(l)&&(O=X[l],O!=null&&yj($,j,l,O,X,null))}function kI($,j,X,O){switch(Kv(j,O),j){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var A=null,E=null,f=null,l=null,$0=null,Q0=null,m0=null;for(e0 in X){var u0=X[e0];if(X.hasOwnProperty(e0)&&u0!=null)switch(e0){case"checked":break;case"value":break;case"defaultValue":$0=u0;default:O.hasOwnProperty(e0)||yj($,j,e0,null,O,u0)}}for(var B0 in O){var e0=O[B0];if(u0=X[B0],O.hasOwnProperty(B0)&&(e0!=null||u0!=null))switch(B0){case"type":E=e0;break;case"name":A=e0;break;case"checked":Q0=e0;break;case"defaultChecked":m0=e0;break;case"value":f=e0;break;case"defaultValue":l=e0;break;case"children":case"dangerouslySetInnerHTML":if(e0!=null)throw Error(j+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:e0!==u0&&yj($,j,B0,e0,O,u0)}}j=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,O=O.type==="checkbox"||O.type==="radio"?O.checked!=null:O.value!=null,j||!O||xR||(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"),xR=!0),!j||O||cR||(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"),cR=!0),C$($,f,l,$0,Q0,m0,E,A);return;case"select":e0=f=l=B0=null;for(E in X)if($0=X[E],X.hasOwnProperty(E)&&$0!=null)switch(E){case"value":break;case"multiple":e0=$0;default:O.hasOwnProperty(E)||yj($,j,E,null,O,$0)}for(A in O)if(E=O[A],$0=X[A],O.hasOwnProperty(A)&&(E!=null||$0!=null))switch(A){case"value":B0=E;break;case"defaultValue":l=E;break;case"multiple":f=E;default:E!==$0&&yj($,j,A,E,O,$0)}O=l,j=f,X=e0,B0!=null?Qj($,!!j,B0,!1):!!X!==!!j&&(O!=null?Qj($,!!j,O,!0):Qj($,!!j,j?[]:"",!1));return;case"textarea":e0=B0=null;for(l in X)if(A=X[l],X.hasOwnProperty(l)&&A!=null&&!O.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:yj($,j,l,null,O,A)}for(f in O)if(A=O[f],E=X[f],O.hasOwnProperty(f)&&(A!=null||E!=null))switch(f){case"value":B0=A;break;case"defaultValue":e0=A;break;case"children":break;case"dangerouslySetInnerHTML":if(A!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:A!==E&&yj($,j,f,A,O,E)}O2($,B0,e0);return;case"option":for(var m$ in X)if(B0=X[m$],X.hasOwnProperty(m$)&&B0!=null&&!O.hasOwnProperty(m$))switch(m$){case"selected":$.selected=!1;break;default:yj($,j,m$,null,O,B0)}for($0 in O)if(B0=O[$0],e0=X[$0],O.hasOwnProperty($0)&&B0!==e0&&(B0!=null||e0!=null))switch($0){case"selected":$.selected=B0&&typeof B0!=="function"&&typeof B0!=="symbol";break;default:yj($,j,$0,B0,O,e0)}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 l$ in X)B0=X[l$],X.hasOwnProperty(l$)&&B0!=null&&!O.hasOwnProperty(l$)&&yj($,j,l$,null,O,B0);for(Q0 in O)if(B0=O[Q0],e0=X[Q0],O.hasOwnProperty(Q0)&&B0!==e0&&(B0!=null||e0!=null))switch(Q0){case"children":case"dangerouslySetInnerHTML":if(B0!=null)throw Error(j+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:yj($,j,Q0,B0,O,e0)}return;default:if(r1(j)){for(var OU in X)B0=X[OU],X.hasOwnProperty(OU)&&B0!==void 0&&!O.hasOwnProperty(OU)&&i6($,j,OU,void 0,O,B0);for(m0 in O)B0=O[m0],e0=X[m0],!O.hasOwnProperty(m0)||B0===e0||B0===void 0&&e0===void 0||i6($,j,m0,B0,O,e0);return}}for(var oj in X)B0=X[oj],X.hasOwnProperty(oj)&&B0!=null&&!O.hasOwnProperty(oj)&&yj($,j,oj,null,O,B0);for(u0 in O)B0=O[u0],e0=X[u0],!O.hasOwnProperty(u0)||B0===e0||B0==null&&e0==null||yj($,j,u0,B0,O,e0)}function T1($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function B1($){var j={};$=$.style;for(var X=0;X<$.length;X++){var O=$[X];j[O]=$.getPropertyValue(O)}return j}function Ov($,j,X){if(j!=null&&typeof j!=="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 O,A=O="",E;for(E in j)if(j.hasOwnProperty(E)){var f=j[E];f!=null&&typeof f!=="boolean"&&f!==""&&(E.indexOf("--")===0?(g0(f,E),O+=A+E+":"+(""+f).trim()):typeof f!=="number"||f===0||tP.has(E)?(g0(f,E),O+=A+E.replace(dP,"-$1").toLowerCase().replace(nP,"-ms-")+":"+(""+f).trim()):O+=A+E.replace(dP,"-$1").toLowerCase().replace(nP,"-ms-")+":"+f+"px",A=";")}O=O||null,j=$.getAttribute("style"),j!==O&&(O=n6(O),n6(j)!==O&&(X.style=B1($)))}}function O4($,j,X,O,A,E){if(A.delete(X),$=$.getAttribute(X),$===null)switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":return}else if(O!=null)switch(typeof O){case"function":case"symbol":case"boolean":break;default:if(U0(O,j),$===""+O)return}pj(j,$,O,E)}function SX($,j,X,O,A,E){if(A.delete(X),$=$.getAttribute(X),$===null){switch(typeof O){case"function":case"symbol":return}if(!O)return}else switch(typeof O){case"function":case"symbol":break;default:if(O)return}pj(j,$,O,E)}function wX($,j,X,O,A,E){if(A.delete(X),$=$.getAttribute(X),$===null)switch(typeof O){case"undefined":case"function":case"symbol":return}else if(O!=null)switch(typeof O){case"function":case"symbol":break;default:if(U0(O,X),$===""+O)return}pj(j,$,O,E)}function iv($,j,X,O,A,E){if(A.delete(X),$=$.getAttribute(X),$===null)switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(O))return}else if(O!=null)switch(typeof O){case"function":case"symbol":case"boolean":break;default:if(!isNaN(O)&&(U0(O,j),$===""+O))return}pj(j,$,O,E)}function Vv($,j,X,O,A,E){if(A.delete(X),$=$.getAttribute(X),$===null)switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":return}else if(O!=null)switch(typeof O){case"function":case"symbol":case"boolean":break;default:if(U0(O,j),X=o1(""+O),$===X)return}pj(j,$,O,E)}function g1($,j,X,O){for(var A={},E=new Set,f=$.attributes,l=0;l<f.length;l++)switch(f[l].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:E.add(f[l].name)}if(r1(j)){for(var $0 in X)if(X.hasOwnProperty($0)){var Q0=X[$0];if(Q0!=null){if(FZ.hasOwnProperty($0))typeof Q0!=="function"&&Aj($0,Q0);else if(X.suppressHydrationWarning!==!0)switch($0){case"children":typeof Q0!=="string"&&typeof Q0!=="number"||pj("children",$.textContent,Q0,A);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":f=$.innerHTML,Q0=Q0?Q0.__html:void 0,Q0!=null&&(Q0=rj($,Q0),pj($0,f,Q0,A));continue;case"style":E.delete($0),Ov($,Q0,A);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":E.delete($0.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",$0);continue;case"className":E.delete("class"),f=I0($,"class",Q0),pj("className",f,Q0,A);continue;default:O.context===tQ&&j!=="svg"&&j!=="math"?E.delete($0.toLowerCase()):E.delete($0),f=I0($,$0,Q0),pj($0,f,Q0,A)}}}}else for(Q0 in X)if(X.hasOwnProperty(Q0)&&($0=X[Q0],$0!=null)){if(FZ.hasOwnProperty(Q0))typeof $0!=="function"&&Aj(Q0,$0);else if(X.suppressHydrationWarning!==!0)switch(Q0){case"children":typeof $0!=="string"&&typeof $0!=="number"||pj("children",$.textContent,$0,A);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":f=$.innerHTML,$0=$0?$0.__html:void 0,$0!=null&&($0=rj($,$0),f!==$0&&(A[Q0]={__html:f}));continue;case"className":O4($,Q0,"class",$0,E,A);continue;case"tabIndex":O4($,Q0,"tabindex",$0,E,A);continue;case"style":E.delete(Q0),Ov($,$0,A);continue;case"multiple":E.delete(Q0),pj(Q0,$.multiple,$0,A);continue;case"muted":E.delete(Q0),pj(Q0,$.muted,$0,A);continue;case"autoFocus":E.delete("autofocus"),pj(Q0,$.autofocus,$0,A);continue;case"data":if(j!=="object"){E.delete(Q0),f=$.getAttribute("data"),pj(Q0,f,$0,A);continue}case"src":case"href":if(!($0!==""||j==="a"&&Q0==="href"||j==="object"&&Q0==="data")){Q0==="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.',Q0,Q0):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.',Q0,Q0);continue}Vv($,Q0,Q0,$0,E,A);continue;case"action":case"formAction":if(f=$.getAttribute(Q0),typeof $0==="function"){E.delete(Q0.toLowerCase()),Q0==="formAction"?(E.delete("name"),E.delete("formenctype"),E.delete("formmethod"),E.delete("formtarget")):(E.delete("enctype"),E.delete("method"),E.delete("target"));continue}else if(f===Sw){E.delete(Q0.toLowerCase()),pj(Q0,"function",$0,A);continue}Vv($,Q0,Q0.toLowerCase(),$0,E,A);continue;case"xlinkHref":Vv($,Q0,"xlink:href",$0,E,A);continue;case"contentEditable":wX($,Q0,"contenteditable",$0,E,A);continue;case"spellCheck":wX($,Q0,"spellcheck",$0,E,A);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":wX($,Q0,Q0,$0,E,A);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":SX($,Q0,Q0.toLowerCase(),$0,E,A);continue;case"capture":case"download":$:{l=$;var m0=f=Q0,u0=A;if(E.delete(m0),l=l.getAttribute(m0),l===null)switch(typeof $0){case"undefined":case"function":case"symbol":break $;default:if($0===!1)break $}else if($0!=null)switch(typeof $0){case"function":case"symbol":break;case"boolean":if($0===!0&&l==="")break $;break;default:if(U0($0,f),l===""+$0)break $}pj(f,l,$0,u0)}continue;case"cols":case"rows":case"size":case"span":$:{if(l=$,m0=f=Q0,u0=A,E.delete(m0),l=l.getAttribute(m0),l===null)switch(typeof $0){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN($0)||1>$0)break $}else if($0!=null)switch(typeof $0){case"function":case"symbol":case"boolean":break;default:if(!(isNaN($0)||1>$0)&&(U0($0,f),l===""+$0))break $}pj(f,l,$0,u0)}continue;case"rowSpan":iv($,Q0,"rowspan",$0,E,A);continue;case"start":iv($,Q0,Q0,$0,E,A);continue;case"xHeight":O4($,Q0,"x-height",$0,E,A);continue;case"xlinkActuate":O4($,Q0,"xlink:actuate",$0,E,A);continue;case"xlinkArcrole":O4($,Q0,"xlink:arcrole",$0,E,A);continue;case"xlinkRole":O4($,Q0,"xlink:role",$0,E,A);continue;case"xlinkShow":O4($,Q0,"xlink:show",$0,E,A);continue;case"xlinkTitle":O4($,Q0,"xlink:title",$0,E,A);continue;case"xlinkType":O4($,Q0,"xlink:type",$0,E,A);continue;case"xmlBase":O4($,Q0,"xml:base",$0,E,A);continue;case"xmlLang":O4($,Q0,"xml:lang",$0,E,A);continue;case"xmlSpace":O4($,Q0,"xml:space",$0,E,A);continue;case"inert":$0!==""||wV[Q0]||(wV[Q0]=!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.",Q0)),SX($,Q0,Q0,$0,E,A);continue;default:if(!(2<Q0.length)||Q0[0]!=="o"&&Q0[0]!=="O"||Q0[1]!=="n"&&Q0[1]!=="N"){l=F1(Q0),f=!1,O.context===tQ&&j!=="svg"&&j!=="math"?E.delete(l.toLowerCase()):(m0=Q0.toLowerCase(),m0=dO.hasOwnProperty(m0)?dO[m0]||null:null,m0!==null&&m0!==Q0&&(f=!0,E.delete(m0)),E.delete(l));$:if(m0=$,u0=l,l=$0,L$(u0))if(m0.hasAttribute(u0))m0=m0.getAttribute(u0),U0(l,u0),l=m0===""+l?l:m0;else{switch(typeof l){case"function":case"symbol":break $;case"boolean":if(m0=u0.toLowerCase().slice(0,5),m0!=="data-"&&m0!=="aria-")break $}l=l===void 0?void 0:null}else l=void 0;f||pj(Q0,l,$0,A)}}}return 0<E.size&&X.suppressHydrationWarning!==!0&&d2($,E,A),Object.keys(A).length===0?null:A}function W1($,j){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+j+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+j+" "+$[$.length-1]}}function q6($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function I4(){if(typeof performance.getEntriesByType==="function"){for(var $=0,j=0,X=performance.getEntriesByType("resource"),O=0;O<X.length;O++){var A=X[O],E=A.transferSize,f=A.initiatorType,l=A.duration;if(E&&l&&q6(f)){f=0,l=A.responseEnd;for(O+=1;O<X.length;O++){var $0=X[O],Q0=$0.startTime;if(Q0>l)break;var{transferSize:m0,initiatorType:u0}=$0;m0&&q6(u0)&&($0=$0.responseEnd,f+=m0*($0<l?1:(l-Q0)/($0-Q0)))}if(--O,j+=8*(E+f)/(A.duration/1000),$++,10<$)break}}if(0<$)return j/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function K1($){return $.nodeType===9?$:$.ownerDocument}function TJ($){switch($){case bz:return V8;case lO:return cV;default:return tQ}}function wQ($,j){if($===tQ)switch(j){case"svg":return V8;case"math":return cV;default:return tQ}return $===V8&&j==="foreignObject"?tQ:$}function cI($,j){return $==="textarea"||$==="noscript"||typeof j.children==="string"||typeof j.children==="number"||typeof j.children==="bigint"||typeof j.dangerouslySetInnerHTML==="object"&&j.dangerouslySetInnerHTML!==null&&j.dangerouslySetInnerHTML.__html!=null}function Rz(){var $=window.event;if($&&$.type==="popstate"){if($===gH)return!1;return gH=$,!0}return gH=null,!1}function N1(){var $=window.event;return $&&$!==DK?$.type:null}function BJ(){var $=window.event;return $&&$!==DK?$.timeStamp:-1.1}function kQ($){setTimeout(function(){throw $})}function bY($,j,X){switch(j){case"button":case"input":case"select":case"textarea":X.autoFocus&&$.focus();break;case"img":X.src?$.src=X.src:X.srcSet&&($.srcset=X.srcSet)}}function mY(){}function RO($,j,X,O){kI($,j,X,O),$[w1]=O}function WZ($){GI($,"")}function DW($,j,X){$.nodeValue=X}function uY($){if(!$.__reactWarnedAboutChildrenConflict){var j=$[w1]||null;if(j!==null){var X=n$($);X!==null&&(typeof j.children==="string"||typeof j.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,D0(X,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.')})):j.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,D0(X,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 gJ($){return $==="head"}function sD($,j){$.removeChild(j)}function EO($,j){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(j)}function hY($,j){var X=j,O=0;do{var A=X.nextSibling;if($.removeChild(X),A&&A.nodeType===8)if(X=A.data,X===VK||X===kV){if(O===0){$.removeChild(A),wz(j);return}O--}else if(X===OK||X===VG||X===xZ||X===O8||X===cZ)O++;else if(X===kw)o6($.ownerDocument.documentElement);else if(X===xw){X=$.ownerDocument.head,o6(X);for(var E=X.firstChild;E;){var{nextSibling:f,nodeName:l}=E;E[BW]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&E.rel.toLowerCase()==="stylesheet"||X.removeChild(E),E=f}}else X===cw&&o6($.ownerDocument.body);X=A}while(X);wz(j)}function pY($,j){var X=$;$=0;do{var O=X.nextSibling;if(X.nodeType===1?j?(X._stashedDisplay=X.style.display,X.style.display="none"):(X.style.display=X._stashedDisplay||"",X.getAttribute("style")===""&&X.removeAttribute("style")):X.nodeType===3&&(j?(X._stashedText=X.nodeValue,X.nodeValue=""):X.nodeValue=X._stashedText||""),O&&O.nodeType===8)if(X=O.data,X===VK)if($===0)break;else $--;else X!==OK&&X!==VG&&X!==xZ&&X!==O8||$++;X=O}while(X)}function KZ($){pY($,!0)}function Ez($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function NJ($){$.nodeValue=""}function aD($){pY($,!1)}function P6($,j){j=j[yw],j=j!==void 0&&j!==null&&j.hasOwnProperty("display")?j.display:null,$.style.display=j==null||typeof j==="boolean"?"":(""+j).trim()}function Q6($,j){$.nodeValue=j}function Tz($){var j=$.firstChild;j&&j.nodeType===10&&(j=j.nextSibling);for(;j;){var X=j;switch(j=j.nextSibling,X.nodeName){case"HTML":case"HEAD":case"BODY":Tz(X),l0(X);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(X.rel.toLowerCase()==="stylesheet")continue}$.removeChild(X)}}function lY($,j,X,O){for(;$.nodeType===1;){var A=X;if($.nodeName.toLowerCase()!==j.toLowerCase()){if(!O&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!O)if(j==="input"&&$.type==="hidden"){U0(A.name,"name");var E=A.name==null?null:""+A.name;if(A.type==="hidden"&&$.getAttribute("name")===E)return $}else return $;else if(!$[BW])switch(j){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(E=$.getAttribute("rel"),E==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(E!==A.rel||$.getAttribute("href")!==(A.href==null||A.href===""?null:A.href)||$.getAttribute("crossorigin")!==(A.crossOrigin==null?null:A.crossOrigin)||$.getAttribute("title")!==(A.title==null?null:A.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(E=$.getAttribute("src"),(E!==(A.src==null?null:A.src)||$.getAttribute("type")!==(A.type==null?null:A.type)||$.getAttribute("crossorigin")!==(A.crossOrigin==null?null:A.crossOrigin))&&E&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=r6($.nextSibling),$===null)break}return null}function FW($,j,X){if(j==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!X)return null;if($=r6($.nextSibling),$===null)return null}return $}function SJ($,j){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!j)return null;if($=r6($.nextSibling),$===null)return null}return $}function OZ($){return $.data===VG||$.data===xZ}function Bz($){return $.data===O8||$.data===VG&&$.ownerDocument.readyState!==mR}function cQ($,j){var X=$.ownerDocument;if($.data===xZ)$._reactRetry=j;else if($.data!==VG||X.readyState!==mR)j();else{var O=function(){j(),X.removeEventListener("DOMContentLoaded",O)};X.addEventListener("DOMContentLoaded",O),$._reactRetry=O}}function r6($){for(;$!=null;$=$.nextSibling){var j=$.nodeType;if(j===1||j===3)break;if(j===8){if(j=$.data,j===OK||j===O8||j===VG||j===xZ||j===cZ||j===EH||j===bR)break;if(j===VK||j===kV)return null}}return $}function gz($){if($.nodeType===1){for(var j=$.nodeName.toLowerCase(),X={},O=$.attributes,A=0;A<O.length;A++){var E=O[A];X[T1(E.name)]=E.name.toLowerCase()==="style"?B1($):E.value}return{type:j,props:X}}return $.nodeType===8?$.data===cZ?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function HW($,j,X){return X===null||X[ww]!==!0?($.nodeValue===j?$=null:(j=n6(j),$=n6($.nodeValue)===j?null:$.nodeValue),$):null}function VZ($){$=$.nextSibling;for(var j=0;$;){if($.nodeType===8){var X=$.data;if(X===VK||X===kV){if(j===0)return r6($.nextSibling);j--}else X!==OK&&X!==O8&&X!==VG&&X!==xZ&&X!==cZ||j++}$=$.nextSibling}return null}function _W($){$=$.previousSibling;for(var j=0;$;){if($.nodeType===8){var X=$.data;if(X===OK||X===O8||X===VG||X===xZ||X===cZ){if(j===0)return $;j--}else X!==VK&&X!==kV||j++}$=$.previousSibling}return null}function MW($){wz($)}function TO($){wz($)}function LW($){wz($)}function AW($,j,X,O,A){switch(A&&jQ($,O.ancestorInfo),j=K1(X),$){case"html":if($=j.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($=j.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($=j.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 dY($,j,X,O){if(!X[oY]&&n$(X)){var A=X.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.",A,A,A)}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(A=X.attributes;A.length;)X.removeAttributeNode(A[0]);n2(X,$,j),X[t6]=O,X[w1]=j}function o6($){for(var j=$.attributes;j.length;)$.removeAttributeNode(j[0]);l0($)}function DZ($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function UP($,j,X){var O=D8;if(O&&typeof j==="string"&&j){var A=j2(j);A='link[rel="'+$+'"][href="'+A+'"]',typeof X==="string"&&(A+='[crossorigin="'+X+'"]'),nR.has(A)||(nR.add(A),$={rel:$,crossOrigin:X,href:j},O.querySelector(A)===null&&(j=O.createElement("link"),n2(j,"link",$),u$(j),O.head.appendChild(j)))}}function vP($,j,X,O){var A=(A=iY.current)?DZ(A):null;if(!A)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof X.precedence==="string"&&typeof X.href==="string"?(X=Nz(X.href),j=X$(A).hoistableStyles,O=j.get(X),O||(O={type:"style",instance:null,count:0,state:null},j.set(X,O)),O):{type:"void",instance:null,count:0,state:null};case"link":if(X.rel==="stylesheet"&&typeof X.href==="string"&&typeof X.precedence==="string"){$=Nz(X.href);var E=X$(A).hoistableStyles,f=E.get($);if(!f&&(A=A.ownerDocument||A,f={type:"stylesheet",instance:null,count:0,state:{loading:fZ,preload:null}},E.set($,f),(E=A.querySelector(qW($)))&&!E._p&&(f.instance=E,f.state.loading=FK|nI),!iI.has($))){var l={rel:"preload",as:"style",href:X.href,crossOrigin:X.crossOrigin,integrity:X.integrity,media:X.media,hrefLang:X.hrefLang,referrerPolicy:X.referrerPolicy};iI.set($,l),E||p3(A,$,l,f.state)}if(j&&O===null)throw X=`
|
|
177
|
+
|
|
178
|
+
- `+BO(j)+`
|
|
179
|
+
+ `+BO(X),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."+X);return f}if(j&&O!==null)throw X=`
|
|
180
|
+
|
|
181
|
+
- `+BO(j)+`
|
|
182
|
+
+ `+BO(X),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."+X);return null;case"script":return j=X.async,X=X.src,typeof X==="string"&&j&&typeof j!=="function"&&typeof j!=="symbol"?(X=Sz(X),j=X$(A).hoistableScripts,O=j.get(X),O||(O={type:"script",instance:null,count:0,state:null},j.set(X,O)),O):{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 BO($){var j=0,X="<link";return typeof $.rel==="string"?(j++,X+=' rel="'+$.rel+'"'):kX.call($,"rel")&&(j++,X+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(j++,X+=' href="'+$.href+'"'):kX.call($,"href")&&(j++,X+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(j++,X+=' precedence="'+$.precedence+'"'):kX.call($,"precedence")&&(j++,X+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>j&&(X+=" ..."),X+" />"}function Nz($){return'href="'+j2($)+'"'}function qW($){return'link[rel="stylesheet"]['+$+"]"}function IP($){return wj({},$,{"data-precedence":$.precedence,precedence:null})}function p3($,j,X,O){$.querySelector('link[rel="preload"][as="style"]['+j+"]")?O.loading=FK:(j=$.createElement("link"),O.preload=j,j.addEventListener("load",function(){return O.loading|=FK}),j.addEventListener("error",function(){return O.loading|=lR}),n2(j,"link",X),u$(j),$.head.appendChild(j))}function Sz($){return'[src="'+j2($)+'"]'}function PW($){return"script[async]"+$}function XP($,j,X){if(j.count++,j.instance===null)switch(j.type){case"style":var O=$.querySelector('style[data-href~="'+j2(X.href)+'"]');if(O)return j.instance=O,u$(O),O;var A=wj({},X,{"data-href":X.href,"data-precedence":X.precedence,href:null,precedence:null});return O=($.ownerDocument||$).createElement("style"),u$(O),n2(O,"style",A),gO(O,X.precedence,$),j.instance=O;case"stylesheet":A=Nz(X.href);var E=$.querySelector(qW(A));if(E)return j.state.loading|=nI,j.instance=E,u$(E),E;O=IP(X),(A=iI.get(A))&&eD(O,A),E=($.ownerDocument||$).createElement("link"),u$(E);var f=E;return f._p=new Promise(function(l,$0){f.onload=l,f.onerror=$0}),n2(E,"link",O),j.state.loading|=nI,gO(E,X.precedence,$),j.instance=E;case"script":if(E=Sz(X.src),A=$.querySelector(PW(E)))return j.instance=A,u$(A),A;if(O=X,A=iI.get(E))O=wj({},X),$F(O,A);return $=$.ownerDocument||$,A=$.createElement("script"),u$(A),n2(A,"link",O),$.head.appendChild(A),j.instance=A;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+j.type+'". this is a bug in React.')}else j.type==="stylesheet"&&(j.state.loading&nI)===fZ&&(O=j.instance,j.state.loading|=nI,gO(O,X.precedence,$));return j.instance}function gO($,j,X){for(var O=X.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),A=O.length?O[O.length-1]:null,E=A,f=0;f<O.length;f++){var l=O[f];if(l.dataset.precedence===j)E=l;else if(E!==A)break}E?E.parentNode.insertBefore($,E.nextSibling):(j=X.nodeType===9?X.head:X,j.insertBefore($,j.firstChild))}function eD($,j){$.crossOrigin==null&&($.crossOrigin=j.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=j.referrerPolicy),$.title==null&&($.title=j.title)}function $F($,j){$.crossOrigin==null&&($.crossOrigin=j.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=j.referrerPolicy),$.integrity==null&&($.integrity=j.integrity)}function JP($,j,X){if(xV===null){var O=new Map,A=xV=new Map;A.set(X,O)}else A=xV,O=A.get(X),O||(O=new Map,A.set(X,O));if(O.has($))return O;O.set($,null),X=X.getElementsByTagName($);for(A=0;A<X.length;A++){var E=X[A];if(!(E[BW]||E[t6]||$==="link"&&E.getAttribute("rel")==="stylesheet")&&E.namespaceURI!==bz){var f=E.getAttribute(j)||"";f=$+f;var l=O.get(f);l?l.push(E):O.set(f,[E])}}return O}function QP($,j,X){$=$.ownerDocument||$,$.head.insertBefore(X,j==="title"?$.querySelector("head > title"):null)}function l3($,j,X){var O=!X.ancestorInfo.containerTagInScope;if(X.context===V8||j.itemProp!=null)return!O||j.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 j.precedence!=="string"||typeof j.href!=="string"||j.href===""){O&&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 j.rel!=="string"||typeof j.href!=="string"||j.href===""||j.onLoad||j.onError){if(j.rel==="stylesheet"&&typeof j.precedence==="string"){$=j.href;var{onError:A,disabled:E}=j;X=[],j.onLoad&&X.push("`onLoad`"),A&&X.push("`onError`"),E!=null&&X.push("`disabled`"),A=W1(X,"and"),A+=X.length===1?" prop":" props",E=X.length===1?"an "+A:"the "+A,X.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.',$,E,A)}O&&(typeof j.rel!=="string"||typeof j.href!=="string"||j.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"):(j.onError||j.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(j.rel){case"stylesheet":return $=j.precedence,j=j.disabled,typeof $!=="string"&&O&&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"&&j==null;default:return!0}case"script":if($=j.async&&typeof j.async!=="function"&&typeof j.async!=="symbol",!$||j.onLoad||j.onError||!j.src||typeof j.src!=="string"){O&&($?j.onLoad||j.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":O&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function YP($){return $.type==="stylesheet"&&($.state.loading&dR)===fZ?!1:!0}function d3($,j,X,O){if(X.type==="stylesheet"&&(typeof O.media!=="string"||matchMedia(O.media).matches!==!1)&&(X.state.loading&nI)===fZ){if(X.instance===null){var A=Nz(O.href),E=j.querySelector(qW(A));if(E){j=E._p,j!==null&&typeof j==="object"&&typeof j.then==="function"&&($.count++,$=NO.bind($),j.then($,$)),X.state.loading|=nI,X.instance=E,u$(E);return}E=j.ownerDocument||j,O=IP(O),(A=iI.get(A))&&eD(O,A),E=E.createElement("link"),u$(E);var f=E;f._p=new Promise(function(l,$0){f.onload=l,f.onerror=$0}),n2(E,"link",O),X.instance=E}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(X,j),(j=X.state.preload)&&(X.state.loading&dR)===fZ&&($.count++,X=NO.bind($),j.addEventListener("load",X),j.addEventListener("error",X))}}function n3($,j){return $.stylesheets&&$.count===0&&SO($,$.stylesheets),0<$.count||0<$.imgCount?function(X){var O=setTimeout(function(){if($.stylesheets&&SO($,$.stylesheets),$.unsuspend){var E=$.unsuspend;$.unsuspend=null,E()}},mw+j);0<$.imgBytes&&SH===0&&(SH=125*I4()*hw);var A=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&SO($,$.stylesheets),$.unsuspend)){var E=$.unsuspend;$.unsuspend=null,E()}},($.imgBytes>SH?50:uw)+j);return $.unsuspend=X,function(){$.unsuspend=null,clearTimeout(O),clearTimeout(A)}}:null}function NO(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)SO(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function SO($,j){$.stylesheets=null,$.unsuspend!==null&&($.count++,yV=new Map,j.forEach(i3,$),yV=null,NO.call($))}function i3($,j){if(!(j.state.loading&nI)){var X=yV.get($);if(X)var O=X.get(wH);else{X=new Map,yV.set($,X);for(var A=$.querySelectorAll("link[data-precedence],style[data-precedence]"),E=0;E<A.length;E++){var f=A[E];if(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")X.set(f.dataset.precedence,f),O=f}O&&X.set(wH,O)}A=j.instance,f=A.getAttribute("data-precedence"),E=X.get(f)||O,E===O&&X.set(wH,A),X.set(f,A),this.count++,O=NO.bind(this),A.addEventListener("load",O),A.addEventListener("error",O),E?E.parentNode.insertBefore(A,E.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(A,$.firstChild)),j.state.loading|=nI}}function r3($,j,X,O,A,E,f,l,$0){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=yZ,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=s0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=s0(0),this.hiddenUpdates=s0(null),this.identifierPrefix=O,this.onUncaughtError=A,this.onCaughtError=E,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=$0,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(j=0;31>j;j++)$.push(new Set);this._debugRootType=X?"hydrateRoot()":"createRoot()"}function GP($,j,X,O,A,E,f,l,$0,Q0,m0,u0){return $=new r3($,j,X,f,$0,Q0,m0,u0,l),j=Kw,E===!0&&(j|=V1|xX),j|=Pj,E=T(3,null,null,j),$.current=E,E.stateNode=$,j=WX(),qI(j),$.pooledCache=j,qI(j),E.memoizedState={element:O,isDehydrated:X,cache:j},zJ(E),$}function ZP($){if(!$)return eY;return $=eY,$}function jF($,j,X,O,A,E){if(O1&&typeof O1.onScheduleFiberRoot==="function")try{O1.onScheduleFiberRoot(yz,O,X)}catch(f){xJ||(xJ=!0,console.error("React instrumentation encountered an error: %o",f))}A=ZP(A),O.context===null?O.context=A:O.pendingContext=A,cJ&&ov!==null&&!tR&&(tR=!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.`,X0(ov)||"Unknown")),O=Iv(j),O.payload={element:X},E=E===void 0?null:E,E!==null&&(typeof E!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",E),O.callback=E),X=Xv($,O,j),X!==null&&(_U(j,"root.render()",null),s$(X,$,j),$6(X,$,j))}function zP($,j){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var X=$.retryLane;$.retryLane=X!==0&&X<j?X:j}}function UF($,j){zP($,j),($=$.alternate)&&zP($,j)}function WP($){if($.tag===13||$.tag===31){var j=A4($,67108864);j!==null&&s$(j,$,67108864),UF($,67108864)}}function KP($){if($.tag===13||$.tag===31){var j=W$($);j=M$(j);var X=A4($,j);X!==null&&s$(X,$,j),UF($,j)}}function o3(){return ov}function t3($,j,X,O){var A=Q$.T;Q$.T=null;var E=b2.p;try{b2.p=tv,vF($,j,X,O)}finally{b2.p=E,Q$.T=A}}function s3($,j,X,O){var A=Q$.T;Q$.T=null;var E=b2.p;try{b2.p=cX,vF($,j,X,O)}finally{b2.p=E,Q$.T=A}}function vF($,j,X,O){if(bV){var A=IF(O);if(A===null)NX($,j,O,mV,X),VP($,O);else if(a3(A,$,j,X,O))O.stopPropagation();else if(VP($,O),j&4&&-1<lw.indexOf($)){for(;A!==null;){var E=n$(A);if(E!==null)switch(E.tag){case 3:if(E=E.stateNode,E.current.memoizedState.isDehydrated){var f=P0(E.pendingLanes);if(f!==0){var l=E;l.pendingLanes|=2;for(l.entangledLanes|=2;f;){var $0=1<<31-S1(f);l.entanglements[1]|=$0,f&=~$0}l2(E),(X2&(Z6|$I))===T6&&(AV=C6()+PR,U4(0,!1))}}break;case 31:case 13:l=A4(E,2),l!==null&&s$(l,E,2),zj(),UF(E,2)}if(E=IF(O),E===null&&NX($,j,O,mV,X),E===A)break;A=E}A!==null&&O.stopPropagation()}else NX($,j,O,null,X)}}function IF($){return $=rX($),XF($)}function XF($){if(mV=null,$=d0($),$!==null){var j=i($);if(j===null)$=null;else{var X=j.tag;if(X===13){if($=m(j),$!==null)return $;$=null}else if(X===31){if($=n(j),$!==null)return $;$=null}else if(X===3){if(j.stateNode.current.memoizedState.isDehydrated)return j.tag===3?j.stateNode.containerInfo:null;$=null}else j!==$&&($=null)}}return mV=$,null}function OP($){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 tv;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 cX;case"message":switch(QS()){case HF:return tv;case _F:return cX;case xz:case YS:return fJ;case MF:return hO;default:return fJ}default:return fJ}}function VP($,j){switch($){case"focusin":case"focusout":DG=null;break;case"dragenter":case"dragleave":FG=null;break;case"mouseover":case"mouseout":HG=null;break;case"pointerover":case"pointerout":_K.delete(j.pointerId);break;case"gotpointercapture":case"lostpointercapture":MK.delete(j.pointerId)}}function CW($,j,X,O,A,E){if($===null||$.nativeEvent!==E)return $={blockedOn:j,domEventName:X,eventSystemFlags:O,nativeEvent:E,targetContainers:[A]},j!==null&&(j=n$(j),j!==null&&WP(j)),$;return $.eventSystemFlags|=O,j=$.targetContainers,A!==null&&j.indexOf(A)===-1&&j.push(A),$}function a3($,j,X,O,A){switch(j){case"focusin":return DG=CW(DG,$,j,X,O,A),!0;case"dragenter":return FG=CW(FG,$,j,X,O,A),!0;case"mouseover":return HG=CW(HG,$,j,X,O,A),!0;case"pointerover":var E=A.pointerId;return _K.set(E,CW(_K.get(E)||null,$,j,X,O,A)),!0;case"gotpointercapture":return E=A.pointerId,MK.set(E,CW(MK.get(E)||null,$,j,X,O,A)),!0}return!1}function DP($){var j=d0($.target);if(j!==null){var X=i(j);if(X!==null){if(j=X.tag,j===13){if(j=m(X),j!==null){$.blockedOn=j,P$($.priority,function(){KP(X)});return}}else if(j===31){if(j=n(X),j!==null){$.blockedOn=j,P$($.priority,function(){KP(X)});return}}else if(j===3&&X.stateNode.current.memoizedState.isDehydrated){$.blockedOn=X.tag===3?X.stateNode.containerInfo:null;return}}}$.blockedOn=null}function wO($){if($.blockedOn!==null)return!1;for(var j=$.targetContainers;0<j.length;){var X=IF($.nativeEvent);if(X===null){X=$.nativeEvent;var O=new X.constructor(X.type,X),A=O;gW!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),gW=A,X.target.dispatchEvent(O),gW===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."),gW=null}else return j=n$(X),j!==null&&WP(j),$.blockedOn=X,!1;j.shift()}return!0}function FP($,j,X){wO($)&&X.delete(j)}function e3(){kH=!1,DG!==null&&wO(DG)&&(DG=null),FG!==null&&wO(FG)&&(FG=null),HG!==null&&wO(HG)&&(HG=null),_K.forEach(FP),MK.forEach(FP)}function kO($,j){$.blockedOn===j&&($.blockedOn=null,kH||(kH=!0,z2.unstable_scheduleCallback(z2.unstable_NormalPriority,e3)))}function HP($){uV!==$&&(uV=$,z2.unstable_scheduleCallback(z2.unstable_NormalPriority,function(){uV===$&&(uV=null);for(var j=0;j<$.length;j+=3){var X=$[j],O=$[j+1],A=$[j+2];if(typeof O!=="function")if(XF(O||X)===null)continue;else break;var E=n$(X);E!==null&&($.splice(j,3),j-=3,X={pending:!0,data:A,method:X.method,action:O},Object.freeze(X),gY(E,X,O,A))}}))}function wz($){function j($0){return kO($0,$)}DG!==null&&kO(DG,$),FG!==null&&kO(FG,$),HG!==null&&kO(HG,$),_K.forEach(j),MK.forEach(j);for(var X=0;X<_G.length;X++){var O=_G[X];O.blockedOn===$&&(O.blockedOn=null)}for(;0<_G.length&&(X=_G[0],X.blockedOn===null);)DP(X),X.blockedOn===null&&_G.shift();if(X=($.ownerDocument||$).$$reactFormReplay,X!=null)for(O=0;O<X.length;O+=3){var A=X[O],E=X[O+1],f=A[w1]||null;if(typeof E==="function")f||HP(X);else if(f){var l=null;if(E&&E.hasAttribute("formAction")){if(A=E,f=E[w1]||null)l=f.formAction;else if(XF(A)!==null)continue}else l=f.action;typeof l==="function"?X[O+1]=l:(X.splice(O,3),O-=3),HP(X)}}}function _P(){function $(E){E.canIntercept&&E.info==="react-transition"&&E.intercept({handler:function(){return new Promise(function(f){return A=f})},focusReset:"manual",scroll:"manual"})}function j(){A!==null&&(A(),A=null),O||setTimeout(X,20)}function X(){if(!O&&!navigation.transition){var E=navigation.currentEntry;E&&E.url!=null&&navigation.navigate(E.url,{state:E.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var O=!1,A=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",j),navigation.addEventListener("navigateerror",j),setTimeout(X,100),function(){O=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",j),navigation.removeEventListener("navigateerror",j),A!==null&&(A(),A=null)}}}function JF($){this._internalRoot=$}function cO($){this._internalRoot=$}function MP($){$[oY]&&($._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 wj=Object.assign,$S=Symbol.for("react.element"),wJ=Symbol.for("react.transitional.element"),kz=Symbol.for("react.portal"),cz=Symbol.for("react.fragment"),xO=Symbol.for("react.strict_mode"),QF=Symbol.for("react.profiler"),YF=Symbol.for("react.consumer"),kJ=Symbol.for("react.context"),RW=Symbol.for("react.forward_ref"),GF=Symbol.for("react.suspense"),ZF=Symbol.for("react.suspense_list"),yO=Symbol.for("react.memo"),rv=Symbol.for("react.lazy"),zF=Symbol.for("react.activity"),jS=Symbol.for("react.memo_cache_sentinel"),LP=Symbol.iterator,US=Symbol.for("react.client.reference"),Y6=Array.isArray,Q$=H8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b2=xH.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vS=Object.freeze({pending:!1,data:null,method:null,action:null}),WF=[],KF=[],xQ=-1,nY=x0(null),EW=x0(null),iY=x0(null),fO=x0(null),TW=0,AP,qP,PP,CP,RP,EP,TP;G.__reactDisabledLog=!0;var OF,BP,VF=!1,DF=new(typeof WeakMap==="function"?WeakMap:Map),ov=null,cJ=!1,kX=Object.prototype.hasOwnProperty,FF=z2.unstable_scheduleCallback,IS=z2.unstable_cancelCallback,XS=z2.unstable_shouldYield,JS=z2.unstable_requestPaint,C6=z2.unstable_now,QS=z2.unstable_getCurrentPriorityLevel,HF=z2.unstable_ImmediatePriority,_F=z2.unstable_UserBlockingPriority,xz=z2.unstable_NormalPriority,YS=z2.unstable_LowPriority,MF=z2.unstable_IdlePriority,GS=z2.log,ZS=z2.unstable_setDisableYieldValue,yz=null,O1=null,xJ=!1,yJ=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",S1=Math.clz32?Math.clz32:O0,zS=Math.log,WS=Math.LN2,bO=256,mO=262144,uO=4194304,tv=2,cX=8,fJ=32,hO=268435456,rY=Math.random().toString(36).slice(2),t6="__reactFiber$"+rY,w1="__reactProps$"+rY,oY="__reactContainer$"+rY,LF="__reactEvents$"+rY,KS="__reactListeners$"+rY,OS="__reactHandles$"+rY,gP="__reactResources$"+rY,BW="__reactMarker$"+rY,NP=new Set,FZ={},AF={},VS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},DS=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]*$"),SP={},wP={},FS=/[\n"\\]/g,kP=!1,cP=!1,xP=!1,yP=!1,fP=!1,bP=!1,mP=["value","defaultValue"],uP=!1,hP=/["'&<>\n\t]|^\s|\s$/,HS="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(" "),pP="applet caption html table td th marquee object template foreignObject desc title".split(" "),_S=pP.concat(["button"]),MS="dd dt li option optgroup p rp rt".split(" "),lP={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pO={},qF={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"]},dP=/([A-Z])/g,nP=/^ms-/,LS=/^(?:webkit|moz|o)[A-Z]/,AS=/^-ms-/,qS=/-(.)/g,iP=/;\s*$/,fz={},PF={},rP=!1,oP=!1,tP=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(" ")),lO="http://www.w3.org/1998/Math/MathML",bz="http://www.w3.org/2000/svg",PS=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"]]),dO={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"},sP={"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},mz={},CS=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]*$"),RS=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]*$"),aP=!1,k1={},eP=/^on./,ES=/^on[^A-Z]/,TS=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]*$"),BS=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]*$"),gS=/^[\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,gW=null,uz=null,hz=null,CF=!1,bJ=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),RF=!1;if(bJ)try{var NW={};Object.defineProperty(NW,"passive",{get:function(){RF=!0}}),window.addEventListener("test",NW,NW),window.removeEventListener("test",NW,NW)}catch($){RF=!1}var tY=null,EF=null,nO=null,HZ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iO=SU(HZ),SW=wj({},HZ,{view:0,detail:0}),NS=SU(SW),TF,BF,wW,rO=wj({},SW,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wU,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==wW&&(wW&&$.type==="mousemove"?(TF=$.screenX-wW.screenX,BF=$.screenY-wW.screenY):BF=TF=0,wW=$),TF},movementY:function($){return"movementY"in $?$.movementY:BF}}),$C=SU(rO),SS=wj({},rO,{dataTransfer:0}),wS=SU(SS),kS=wj({},SW,{relatedTarget:0}),gF=SU(kS),cS=wj({},HZ,{animationName:0,elapsedTime:0,pseudoElement:0}),xS=SU(cS),yS=wj({},HZ,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),fS=SU(yS),bS=wj({},HZ,{data:0}),jC=SU(bS),mS=jC,uS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hS={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"},pS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},lS=wj({},SW,{key:function($){if($.key){var j=uS[$.key]||$.key;if(j!=="Unidentified")return j}return $.type==="keypress"?($=oX($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?hS[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wU,charCode:function($){return $.type==="keypress"?oX($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?oX($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),dS=SU(lS),nS=wj({},rO,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),UC=SU(nS),iS=wj({},SW,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wU}),rS=SU(iS),oS=wj({},HZ,{propertyName:0,elapsedTime:0,pseudoElement:0}),tS=SU(oS),sS=wj({},rO,{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}),aS=SU(sS),eS=wj({},HZ,{newState:0,oldState:0}),$w=SU(eS),jw=[9,13,27,32],vC=229,NF=bJ&&"CompositionEvent"in window,kW=null;bJ&&"documentMode"in document&&(kW=document.documentMode);var Uw=bJ&&"TextEvent"in window&&!kW,IC=bJ&&(!NF||kW&&8<kW&&11>=kW),XC=32,JC=String.fromCharCode(XC),QC=!1,pz=!1,vw={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},cW=null,xW=null,YC=!1;bJ&&(YC=UQ("input")&&(!document.documentMode||9<document.documentMode));var c1=typeof Object.is==="function"?Object.is:H1,Iw=bJ&&"documentMode"in document&&11>=document.documentMode,lz=null,SF=null,yW=null,wF=!1,dz={animationend:DI("Animation","AnimationEnd"),animationiteration:DI("Animation","AnimationIteration"),animationstart:DI("Animation","AnimationStart"),transitionrun:DI("Transition","TransitionRun"),transitionstart:DI("Transition","TransitionStart"),transitioncancel:DI("Transition","TransitionCancel"),transitionend:DI("Transition","TransitionEnd")},kF={},GC={};bJ&&(GC=document.createElement("div").style,("AnimationEvent"in window)||(delete dz.animationend.animation,delete dz.animationiteration.animation,delete dz.animationstart.animation),("TransitionEvent"in window)||delete dz.transitionend.transition);var ZC=$1("animationend"),zC=$1("animationiteration"),WC=$1("animationstart"),Xw=$1("transitionrun"),Jw=$1("transitionstart"),Qw=$1("transitioncancel"),KC=$1("transitionend"),OC=new Map,cF="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(" ");cF.push("scrollEnd");var VC=0;if(typeof performance==="object"&&typeof performance.now==="function")var Yw=performance,DC=function(){return Yw.now()};else{var Gw=Date;DC=function(){return Gw.now()}}var xF=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(j))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},Zw="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.",oO=0,yF=1,fF=2,bF=3,tO="– ",sO="+ ",FC=" ",BU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",xI="Components ⚛",kj="Scheduler ⚛",fj="Blocking",sY=!1,yQ={color:"primary",properties:null,tooltipText:"",track:xI},aY={start:-0,end:-0,detail:{devtools:yQ}},zw=["Changed Props",""],HC="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",Ww=["Changed Props",HC],fW=1,fQ=2,yI=[],nz=0,mF=0,eY={};Object.freeze(eY);var fI=null,iz=null,Xj=0,Kw=1,Pj=2,V1=8,xX=16,Ow=32,_C=!1;try{var MC=Object.preventExtensions({})}catch($){_C=!0}var uF=new WeakMap,rz=[],oz=0,aO=null,bW=0,bI=[],mI=0,_Z=null,bQ=1,mQ="",s6=null,gU=null,lj=!1,mJ=!1,sv=null,$G=null,uI=!1,hF=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."),pF=x0(null),lF=x0(null),LC={},eO=null,tz=null,sz=!1,Vw=typeof AbortController<"u"?AbortController:function(){var $=[],j=this.signal={aborted:!1,addEventListener:function(X,O){$.push(O)}};this.abort=function(){j.aborted=!0,$.forEach(function(X){return X()})}},Dw=z2.unstable_scheduleCallback,Fw=z2.unstable_NormalPriority,p4={$$typeof:kJ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},l4=z2.unstable_now,$V=console.createTask?console.createTask:function(){return null},mW=1,jV=2,R6=-0,jG=-0,uQ=-0,hQ=null,x1=-1.1,MZ=-0,oU=-0,Uj=-1.1,Ij=-1.1,yU=null,X4=!1,UG=-0,uJ=-1.1,uW=null,vG=0,dF=null,nF=null,LZ=-1.1,hW=null,az=-1.1,UV=-1.1,hJ=-0,pQ=-1.1,hI=-1.1,iF=0,pW=null,AC=null,qC=null,IG=-1.1,AZ=null,XG=-1.1,vV=-1.1,PC=-0,CC=-0,IV=0,lQ=null,RC=0,lW=-1.1,XV=!1,JV=!1,dW=null,rF=0,qZ=0,ez=null,EC=Q$.S;Q$.S=function($,j){if(AR=C6(),typeof j==="object"&&j!==null&&typeof j.then==="function"){if(0>pQ&&0>hI){pQ=l4();var X=BJ(),O=N1();if(X!==XG||O!==AZ)XG=-1.1;IG=X,AZ=O}c4($,j)}EC!==null&&EC($,j)};var PZ=x0(null),yX={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},nW=[],iW=[],rW=[],oW=[],tW=[],sW=[],CZ=new Set;yX.recordUnsafeLifecycleWarnings=function($,j){CZ.has($.type)||(typeof j.componentWillMount==="function"&&j.componentWillMount.__suppressDeprecationWarning!==!0&&nW.push($),$.mode&V1&&typeof j.UNSAFE_componentWillMount==="function"&&iW.push($),typeof j.componentWillReceiveProps==="function"&&j.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&rW.push($),$.mode&V1&&typeof j.UNSAFE_componentWillReceiveProps==="function"&&oW.push($),typeof j.componentWillUpdate==="function"&&j.componentWillUpdate.__suppressDeprecationWarning!==!0&&tW.push($),$.mode&V1&&typeof j.UNSAFE_componentWillUpdate==="function"&&sW.push($))},yX.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<nW.length&&(nW.forEach(function(l){$.add(X0(l)||"Component"),CZ.add(l.type)}),nW=[]);var j=new Set;0<iW.length&&(iW.forEach(function(l){j.add(X0(l)||"Component"),CZ.add(l.type)}),iW=[]);var X=new Set;0<rW.length&&(rW.forEach(function(l){X.add(X0(l)||"Component"),CZ.add(l.type)}),rW=[]);var O=new Set;0<oW.length&&(oW.forEach(function(l){O.add(X0(l)||"Component"),CZ.add(l.type)}),oW=[]);var A=new Set;0<tW.length&&(tW.forEach(function(l){A.add(X0(l)||"Component"),CZ.add(l.type)}),tW=[]);var E=new Set;if(0<sW.length&&(sW.forEach(function(l){E.add(X0(l)||"Component"),CZ.add(l.type)}),sW=[]),0<j.size){var f=H(j);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`,f)}0<O.size&&(f=H(O),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`,f)),0<E.size&&(f=H(E),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`,f)),0<$.size&&(f=H($),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`,f)),0<X.size&&(f=H(X),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`,f)),0<A.size&&(f=H(A),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`,f))};var QV=new Map,TC=new Set;yX.recordLegacyContextWarning=function($,j){var X=null;for(var O=$;O!==null;)O.mode&V1&&(X=O),O=O.return;X===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."):!TC.has($.type)&&(O=QV.get(X),$.type.contextTypes!=null||$.type.childContextTypes!=null||j!==null&&typeof j.getChildContext==="function")&&(O===void 0&&(O=[],QV.set(X,O)),O.push($))},yX.flushLegacyContextWarning=function(){QV.forEach(function($){if($.length!==0){var j=$[0],X=new Set;$.forEach(function(A){X.add(X0(A)||"Component"),TC.add(A.type)});var O=H(X);D0(j,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`,O)})}})},yX.discardPendingWarnings=function(){nW=[],iW=[],rW=[],oW=[],tW=[],sW=[],QV=new Map};var BC={react_stack_bottom_frame:function($,j,X){var O=cJ;cJ=!0;try{return $(j,X)}finally{cJ=O}}},oF=BC.react_stack_bottom_frame.bind(BC),gC={react_stack_bottom_frame:function($){var j=cJ;cJ=!0;try{return $.render()}finally{cJ=j}}},NC=gC.react_stack_bottom_frame.bind(gC),SC={react_stack_bottom_frame:function($,j){try{j.componentDidMount()}catch(X){_j($,$.return,X)}}},tF=SC.react_stack_bottom_frame.bind(SC),wC={react_stack_bottom_frame:function($,j,X,O,A){try{j.componentDidUpdate(X,O,A)}catch(E){_j($,$.return,E)}}},kC=wC.react_stack_bottom_frame.bind(wC),cC={react_stack_bottom_frame:function($,j){var X=j.stack;$.componentDidCatch(j.value,{componentStack:X!==null?X:""})}},Hw=cC.react_stack_bottom_frame.bind(cC),xC={react_stack_bottom_frame:function($,j,X){try{X.componentWillUnmount()}catch(O){_j($,j,O)}}},yC=xC.react_stack_bottom_frame.bind(xC),fC={react_stack_bottom_frame:function($){var j=$.create;return $=$.inst,j=j(),$.destroy=j}},_w=fC.react_stack_bottom_frame.bind(fC),bC={react_stack_bottom_frame:function($,j,X){try{X()}catch(O){_j($,j,O)}}},Mw=bC.react_stack_bottom_frame.bind(bC),mC={react_stack_bottom_frame:function($){var j=$._init;return j($._payload)}},Lw=mC.react_stack_bottom_frame.bind(mC),$8=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`."),sF=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."),YV=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."),GV={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.')}},RZ=null,aW=!1,j8=null,eW=0,Cj=null,aF,uC=aF=!1,hC={},pC={},lC={};g=function($,j,X){if(X!==null&&typeof X==="object"&&X._store&&(!X._store.validated&&X.key==null||X._store.validated===2)){if(typeof X._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.");X._store.validated=1;var O=X0($),A=O||"null";if(!hC[A]){hC[A]=!0,X=X._owner,$=$._debugOwner;var E="";$&&typeof $.tag==="number"&&(A=X0($))&&(E=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+A+"`."),E||O&&(E=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+O+">.");var f="";X!=null&&$!==X&&(O=null,typeof X.tag==="number"?O=X0(X):typeof X.name==="string"&&(O=X.name),O&&(f=" It was passed a child from "+O+".")),D0(j,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.',E,f)})}}};var EZ=v1(!0),dC=v1(!1),nC=0,iC=1,rC=2,eF=3,JG=!1,oC=!1,$H=null,jH=!1,U8=x0(null),ZV=x0(0),av=x0(null),pI=null,v8=1,$K=2,g4=x0(0),zV=0,lI=1,y1=2,ev=4,f1=8,I8,tC=new Set,sC=new Set,UH=new Set,aC=new Set,dQ=0,Gj=null,JU=null,d4=null,WV=!1,X8=!1,TZ=!1,KV=0,jK=0,nQ=null,Aw=0,qw=25,I$=null,dI=null,iQ=-1,UK=!1,vK={readContext:Kj,use:BI,useCallback:e2,useContext:e2,useEffect:e2,useImperativeHandle:e2,useLayoutEffect:e2,useInsertionEffect:e2,useMemo:e2,useReducer:e2,useRef:e2,useState:e2,useDebugValue:e2,useDeferredValue:e2,useTransition:e2,useSyncExternalStore:e2,useId:e2,useHostTransitionStatus:e2,useFormState:e2,useActionState:e2,useOptimistic:e2,useMemoCache:e2,useCacheRefresh:e2};vK.useEffectEvent=e2;var vH=null,eC=null,IH=null,$R=null,pJ=null,fX=null,OV=null;vH={readContext:function($){return Kj($)},use:BI,useCallback:function($,j){return I$="useCallback",Fj(),VX(j),L1($,j)},useContext:function($){return I$="useContext",Fj(),Kj($)},useEffect:function($,j){return I$="useEffect",Fj(),VX(j),HJ($,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",Fj(),VX(X),UZ($,j,X)},useInsertionEffect:function($,j){I$="useInsertionEffect",Fj(),VX(j),fv(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",Fj(),VX(j),jZ($,j)},useMemo:function($,j){I$="useMemo",Fj(),VX(j);var X=Q$.H;Q$.H=pJ;try{return Qv($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",Fj();var O=Q$.H;Q$.H=pJ;try{return LY($,j,X)}finally{Q$.H=O}},useRef:function($){return I$="useRef",Fj(),PQ($)},useState:function($){I$="useState",Fj();var j=Q$.H;Q$.H=pJ;try{return FJ($)}finally{Q$.H=j}},useDebugValue:function(){I$="useDebugValue",Fj()},useDeferredValue:function($,j){return I$="useDeferredValue",Fj(),TY($,j)},useTransition:function(){return I$="useTransition",Fj(),MX()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",Fj(),aG($,j,X)},useId:function(){return I$="useId",Fj(),GZ()},useFormState:function($,j){return I$="useFormState",Fj(),HQ(),FX($,j)},useActionState:function($,j){return I$="useActionState",Fj(),FX($,j)},useOptimistic:function($){return I$="useOptimistic",Fj(),eG($)},useHostTransitionStatus:LX,useMemoCache:gI,useCacheRefresh:function(){return I$="useCacheRefresh",Fj(),v6()},useEffectEvent:function($){return I$="useEffectEvent",Fj(),CY($)}},eC={readContext:function($){return Kj($)},use:BI,useCallback:function($,j){return I$="useCallback",N$(),L1($,j)},useContext:function($){return I$="useContext",N$(),Kj($)},useEffect:function($,j){return I$="useEffect",N$(),HJ($,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",N$(),UZ($,j,X)},useInsertionEffect:function($,j){I$="useInsertionEffect",N$(),fv(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",N$(),jZ($,j)},useMemo:function($,j){I$="useMemo",N$();var X=Q$.H;Q$.H=pJ;try{return Qv($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",N$();var O=Q$.H;Q$.H=pJ;try{return LY($,j,X)}finally{Q$.H=O}},useRef:function($){return I$="useRef",N$(),PQ($)},useState:function($){I$="useState",N$();var j=Q$.H;Q$.H=pJ;try{return FJ($)}finally{Q$.H=j}},useDebugValue:function(){I$="useDebugValue",N$()},useDeferredValue:function($,j){return I$="useDeferredValue",N$(),TY($,j)},useTransition:function(){return I$="useTransition",N$(),MX()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",N$(),aG($,j,X)},useId:function(){return I$="useId",N$(),GZ()},useActionState:function($,j){return I$="useActionState",N$(),FX($,j)},useFormState:function($,j){return I$="useFormState",N$(),HQ(),FX($,j)},useOptimistic:function($){return I$="useOptimistic",N$(),eG($)},useHostTransitionStatus:LX,useMemoCache:gI,useCacheRefresh:function(){return I$="useCacheRefresh",N$(),v6()},useEffectEvent:function($){return I$="useEffectEvent",N$(),CY($)}},IH={readContext:function($){return Kj($)},use:BI,useCallback:function($,j){return I$="useCallback",N$(),_X($,j)},useContext:function($){return I$="useContext",N$(),Kj($)},useEffect:function($,j){I$="useEffect",N$(),x4(2048,f1,$,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",N$(),EY($,j,X)},useInsertionEffect:function($,j){return I$="useInsertionEffect",N$(),x4(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",N$(),x4(4,ev,$,j)},useMemo:function($,j){I$="useMemo",N$();var X=Q$.H;Q$.H=fX;try{return CQ($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",N$();var O=Q$.H;Q$.H=fX;try{return VJ($,j,X)}finally{Q$.H=O}},useRef:function(){return I$="useRef",N$(),Y2().memoizedState},useState:function(){I$="useState",N$();var $=Q$.H;Q$.H=fX;try{return VJ(I1)}finally{Q$.H=$}},useDebugValue:function(){I$="useDebugValue",N$()},useDeferredValue:function($,j){return I$="useDeferredValue",N$(),vZ($,j)},useTransition:function(){return I$="useTransition",N$(),Pz()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",N$(),AY($,j,X)},useId:function(){return I$="useId",N$(),Y2().memoizedState},useFormState:function($){return I$="useFormState",N$(),HQ(),PY($)},useActionState:function($){return I$="useActionState",N$(),PY($)},useOptimistic:function($,j){return I$="useOptimistic",N$(),Vz($,j)},useHostTransitionStatus:LX,useMemoCache:gI,useCacheRefresh:function(){return I$="useCacheRefresh",N$(),Y2().memoizedState},useEffectEvent:function($){return I$="useEffectEvent",N$(),RY($)}},$R={readContext:function($){return Kj($)},use:BI,useCallback:function($,j){return I$="useCallback",N$(),_X($,j)},useContext:function($){return I$="useContext",N$(),Kj($)},useEffect:function($,j){I$="useEffect",N$(),x4(2048,f1,$,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",N$(),EY($,j,X)},useInsertionEffect:function($,j){return I$="useInsertionEffect",N$(),x4(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",N$(),x4(4,ev,$,j)},useMemo:function($,j){I$="useMemo",N$();var X=Q$.H;Q$.H=OV;try{return CQ($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",N$();var O=Q$.H;Q$.H=OV;try{return LQ($,j,X)}finally{Q$.H=O}},useRef:function(){return I$="useRef",N$(),Y2().memoizedState},useState:function(){I$="useState",N$();var $=Q$.H;Q$.H=OV;try{return LQ(I1)}finally{Q$.H=$}},useDebugValue:function(){I$="useDebugValue",N$()},useDeferredValue:function($,j){return I$="useDeferredValue",N$(),IZ($,j)},useTransition:function(){return I$="useTransition",N$(),EQ()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",N$(),AY($,j,X)},useId:function(){return I$="useId",N$(),Y2().memoizedState},useFormState:function($){return I$="useFormState",N$(),HQ(),qQ($)},useActionState:function($){return I$="useActionState",N$(),qQ($)},useOptimistic:function($,j){return I$="useOptimistic",N$(),Fz($,j)},useHostTransitionStatus:LX,useMemoCache:gI,useCacheRefresh:function(){return I$="useCacheRefresh",N$(),Y2().memoizedState},useEffectEvent:function($){return I$="useEffectEvent",N$(),RY($)}},pJ={readContext:function($){return S(),Kj($)},use:function($){return L(),BI($)},useCallback:function($,j){return I$="useCallback",L(),Fj(),L1($,j)},useContext:function($){return I$="useContext",L(),Fj(),Kj($)},useEffect:function($,j){return I$="useEffect",L(),Fj(),HJ($,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",L(),Fj(),UZ($,j,X)},useInsertionEffect:function($,j){I$="useInsertionEffect",L(),Fj(),fv(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",L(),Fj(),jZ($,j)},useMemo:function($,j){I$="useMemo",L(),Fj();var X=Q$.H;Q$.H=pJ;try{return Qv($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",L(),Fj();var O=Q$.H;Q$.H=pJ;try{return LY($,j,X)}finally{Q$.H=O}},useRef:function($){return I$="useRef",L(),Fj(),PQ($)},useState:function($){I$="useState",L(),Fj();var j=Q$.H;Q$.H=pJ;try{return FJ($)}finally{Q$.H=j}},useDebugValue:function(){I$="useDebugValue",L(),Fj()},useDeferredValue:function($,j){return I$="useDeferredValue",L(),Fj(),TY($,j)},useTransition:function(){return I$="useTransition",L(),Fj(),MX()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",L(),Fj(),aG($,j,X)},useId:function(){return I$="useId",L(),Fj(),GZ()},useFormState:function($,j){return I$="useFormState",L(),Fj(),FX($,j)},useActionState:function($,j){return I$="useActionState",L(),Fj(),FX($,j)},useOptimistic:function($){return I$="useOptimistic",L(),Fj(),eG($)},useMemoCache:function($){return L(),gI($)},useHostTransitionStatus:LX,useCacheRefresh:function(){return I$="useCacheRefresh",Fj(),v6()},useEffectEvent:function($){return I$="useEffectEvent",L(),Fj(),CY($)}},fX={readContext:function($){return S(),Kj($)},use:function($){return L(),BI($)},useCallback:function($,j){return I$="useCallback",L(),N$(),_X($,j)},useContext:function($){return I$="useContext",L(),N$(),Kj($)},useEffect:function($,j){I$="useEffect",L(),N$(),x4(2048,f1,$,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",L(),N$(),EY($,j,X)},useInsertionEffect:function($,j){return I$="useInsertionEffect",L(),N$(),x4(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",L(),N$(),x4(4,ev,$,j)},useMemo:function($,j){I$="useMemo",L(),N$();var X=Q$.H;Q$.H=fX;try{return CQ($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",L(),N$();var O=Q$.H;Q$.H=fX;try{return VJ($,j,X)}finally{Q$.H=O}},useRef:function(){return I$="useRef",L(),N$(),Y2().memoizedState},useState:function(){I$="useState",L(),N$();var $=Q$.H;Q$.H=fX;try{return VJ(I1)}finally{Q$.H=$}},useDebugValue:function(){I$="useDebugValue",L(),N$()},useDeferredValue:function($,j){return I$="useDeferredValue",L(),N$(),vZ($,j)},useTransition:function(){return I$="useTransition",L(),N$(),Pz()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",L(),N$(),AY($,j,X)},useId:function(){return I$="useId",L(),N$(),Y2().memoizedState},useFormState:function($){return I$="useFormState",L(),N$(),PY($)},useActionState:function($){return I$="useActionState",L(),N$(),PY($)},useOptimistic:function($,j){return I$="useOptimistic",L(),N$(),Vz($,j)},useMemoCache:function($){return L(),gI($)},useHostTransitionStatus:LX,useCacheRefresh:function(){return I$="useCacheRefresh",N$(),Y2().memoizedState},useEffectEvent:function($){return I$="useEffectEvent",L(),N$(),RY($)}},OV={readContext:function($){return S(),Kj($)},use:function($){return L(),BI($)},useCallback:function($,j){return I$="useCallback",L(),N$(),_X($,j)},useContext:function($){return I$="useContext",L(),N$(),Kj($)},useEffect:function($,j){I$="useEffect",L(),N$(),x4(2048,f1,$,j)},useImperativeHandle:function($,j,X){return I$="useImperativeHandle",L(),N$(),EY($,j,X)},useInsertionEffect:function($,j){return I$="useInsertionEffect",L(),N$(),x4(4,y1,$,j)},useLayoutEffect:function($,j){return I$="useLayoutEffect",L(),N$(),x4(4,ev,$,j)},useMemo:function($,j){I$="useMemo",L(),N$();var X=Q$.H;Q$.H=fX;try{return CQ($,j)}finally{Q$.H=X}},useReducer:function($,j,X){I$="useReducer",L(),N$();var O=Q$.H;Q$.H=fX;try{return LQ($,j,X)}finally{Q$.H=O}},useRef:function(){return I$="useRef",L(),N$(),Y2().memoizedState},useState:function(){I$="useState",L(),N$();var $=Q$.H;Q$.H=fX;try{return LQ(I1)}finally{Q$.H=$}},useDebugValue:function(){I$="useDebugValue",L(),N$()},useDeferredValue:function($,j){return I$="useDeferredValue",L(),N$(),IZ($,j)},useTransition:function(){return I$="useTransition",L(),N$(),EQ()},useSyncExternalStore:function($,j,X){return I$="useSyncExternalStore",L(),N$(),AY($,j,X)},useId:function(){return I$="useId",L(),N$(),Y2().memoizedState},useFormState:function($){return I$="useFormState",L(),N$(),qQ($)},useActionState:function($){return I$="useActionState",L(),N$(),qQ($)},useOptimistic:function($,j){return I$="useOptimistic",L(),N$(),Fz($,j)},useMemoCache:function($){return L(),gI($)},useHostTransitionStatus:LX,useCacheRefresh:function(){return I$="useCacheRefresh",N$(),Y2().memoizedState},useEffectEvent:function($){return I$="useEffectEvent",L(),N$(),RY($)}};var jR={},UR=new Set,vR=new Set,IR=new Set,XR=new Set,JR=new Set,QR=new Set,YR=new Set,GR=new Set,ZR=new Set,zR=new Set;Object.freeze(jR);var XH={enqueueSetState:function($,j,X){$=$._reactInternals;var O=W$($),A=Iv(O);A.payload=j,X!==void 0&&X!==null&&(AX(X),A.callback=X),j=Xv($,A,O),j!==null&&(_U(O,"this.setState()",$),s$(j,$,O),$6(j,$,O))},enqueueReplaceState:function($,j,X){$=$._reactInternals;var O=W$($),A=Iv(O);A.tag=iC,A.payload=j,X!==void 0&&X!==null&&(AX(X),A.callback=X),j=Xv($,A,O),j!==null&&(_U(O,"this.replaceState()",$),s$(j,$,O),$6(j,$,O))},enqueueForceUpdate:function($,j){$=$._reactInternals;var X=W$($),O=Iv(X);O.tag=rC,j!==void 0&&j!==null&&(AX(j),O.callback=j),j=Xv($,O,X),j!==null&&(_U(X,"this.forceUpdate()",$),s$(j,$,X),$6(j,$,X))}},J8=null,JH=null,QH=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."),n4=!1,WR={},KR={},OR={},VR={},Q8=!1,DR={},VV={},YH={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},FR=!1,HR=null;HR=new Set;var rQ=!1,i4=!1,GH=!1,_R=typeof WeakSet==="function"?WeakSet:Set,E6=null,Y8=null,G8=null,r4=null,Dv=!1,bX=null,G6=!1,IK=8192,Pw={getCacheForType:function($){var j=Kj(p4),X=j.data.get($);return X===void 0&&(X=$(),j.data.set($,X)),X},cacheSignal:function(){return Kj(p4).controller.signal},getOwner:function(){return ov}};if(typeof Symbol==="function"&&Symbol.for){var XK=Symbol.for;XK("selector.component"),XK("selector.has_pseudo_class"),XK("selector.role"),XK("selector.test_id"),XK("selector.text")}var Cw=[],Rw=typeof WeakMap==="function"?WeakMap:Map,T6=0,Z6=2,$I=4,oQ=0,JK=1,BZ=2,DV=3,QG=4,FV=6,MR=5,X2=T6,QU=null,Bj=null,Rj=0,Fv=0,HV=1,gZ=2,QK=3,LR=4,ZH=5,YK=6,_V=7,zH=8,NZ=9,i2=Fv,jI=null,YG=!1,Z8=!1,WH=!1,lJ=0,tU=oQ,GG=0,ZG=0,KH=0,Hv=0,SZ=0,GK=null,b1=null,MV=!1,LV=0,AR=0,qR=300,AV=1/0,PR=500,ZK=null,V4=null,zG=null,qV=0,OH=1,VH=2,CR=3,WG=0,RR=1,ER=2,TR=3,BR=4,PV=5,o4=0,KG=null,z8=null,mX=0,DH=0,FH=-0,HH=null,gR=null,NR=null,uX=qV,SR=null,Ew=50,zK=0,_H=null,MH=!1,CV=!1,Tw=50,wZ=0,WK=null,W8=!1,RV=null,wR=!1,kR=new Set,Bw={},EV=null,K8=null,LH=!1,AH=!1,TV=!1,qH=!1,OG=0,PH={};(function(){for(var $=0;$<cF.length;$++){var j=cF[$],X=j.toLowerCase();j=j[0].toUpperCase()+j.slice(1),w4(X,"on"+j)}w4(ZC,"onAnimationEnd"),w4(zC,"onAnimationIteration"),w4(WC,"onAnimationStart"),w4("dblclick","onDoubleClick"),w4("focusin","onFocus"),w4("focusout","onBlur"),w4(Xw,"onTransitionRun"),w4(Jw,"onTransitionStart"),w4(Qw,"onTransitionCancel"),w4(KC,"onTransitionEnd")})(),_$("onMouseEnter",["mouseout","mouseover"]),_$("onMouseLeave",["mouseout","mouseover"]),_$("onPointerEnter",["pointerout","pointerover"]),_$("onPointerLeave",["pointerout","pointerover"]),z$("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),z$("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),z$("onBeforeInput",["compositionend","keypress","textInput","paste"]),z$("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),z$("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),z$("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var KK="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(" "),CH=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(KK)),BV="_reactListening"+Math.random().toString(36).slice(2),cR=!1,xR=!1,gV=!1,yR=!1,NV=!1,SV=!1,fR=!1,wV={},gw=/\r\n?/g,Nw=/\u0000|\uFFFD/g,kZ="http://www.w3.org/1999/xlink",RH="http://www.w3.org/XML/1998/namespace",Sw="javascript:throw new Error('React form unexpectedly submitted.')",ww="suppressHydrationWarning",cZ="&",kV="/&",OK="$",VK="/$",VG="$?",xZ="$~",O8="$!",kw="html",cw="body",xw="head",EH="F!",bR="F",mR="loading",yw="style",tQ=0,V8=1,cV=2,TH=null,BH=null,uR={dialog:!0,webview:!0},gH=null,DK=void 0,hR=typeof setTimeout==="function"?setTimeout:void 0,fw=typeof clearTimeout==="function"?clearTimeout:void 0,yZ=-1,pR=typeof Promise==="function"?Promise:void 0,bw=typeof queueMicrotask==="function"?queueMicrotask:typeof pR<"u"?function($){return pR.resolve(null).then($).catch(kQ)}:hR,NH=null,fZ=0,FK=1,lR=2,dR=3,nI=4,iI=new Map,nR=new Set,sQ=b2.d;b2.d={f:function(){var $=sQ.f(),j=zj();return $||j},r:function($){var j=n$($);j!==null&&j.tag===5&&j.type==="form"?YZ(j):sQ.r($)},D:function($){sQ.D($),UP("dns-prefetch",$,null)},C:function($,j){sQ.C($,j),UP("preconnect",$,j)},L:function($,j,X){sQ.L($,j,X);var O=D8;if(O&&$&&j){var A='link[rel="preload"][as="'+j2(j)+'"]';j==="image"?X&&X.imageSrcSet?(A+='[imagesrcset="'+j2(X.imageSrcSet)+'"]',typeof X.imageSizes==="string"&&(A+='[imagesizes="'+j2(X.imageSizes)+'"]')):A+='[href="'+j2($)+'"]':A+='[href="'+j2($)+'"]';var E=A;switch(j){case"style":E=Nz($);break;case"script":E=Sz($)}iI.has(E)||($=wj({rel:"preload",href:j==="image"&&X&&X.imageSrcSet?void 0:$,as:j},X),iI.set(E,$),O.querySelector(A)!==null||j==="style"&&O.querySelector(qW(E))||j==="script"&&O.querySelector(PW(E))||(j=O.createElement("link"),n2(j,"link",$),u$(j),O.head.appendChild(j)))}},m:function($,j){sQ.m($,j);var X=D8;if(X&&$){var O=j&&typeof j.as==="string"?j.as:"script",A='link[rel="modulepreload"][as="'+j2(O)+'"][href="'+j2($)+'"]',E=A;switch(O){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":E=Sz($)}if(!iI.has(E)&&($=wj({rel:"modulepreload",href:$},j),iI.set(E,$),X.querySelector(A)===null)){switch(O){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(X.querySelector(PW(E)))return}O=X.createElement("link"),n2(O,"link",$),u$(O),X.head.appendChild(O)}}},X:function($,j){sQ.X($,j);var X=D8;if(X&&$){var O=X$(X).hoistableScripts,A=Sz($),E=O.get(A);E||(E=X.querySelector(PW(A)),E||($=wj({src:$,async:!0},j),(j=iI.get(A))&&$F($,j),E=X.createElement("script"),u$(E),n2(E,"link",$),X.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},O.set(A,E))}},S:function($,j,X){sQ.S($,j,X);var O=D8;if(O&&$){var A=X$(O).hoistableStyles,E=Nz($);j=j||"default";var f=A.get(E);if(!f){var l={loading:fZ,preload:null};if(f=O.querySelector(qW(E)))l.loading=FK|nI;else{$=wj({rel:"stylesheet",href:$,"data-precedence":j},X),(X=iI.get(E))&&eD($,X);var $0=f=O.createElement("link");u$($0),n2($0,"link",$),$0._p=new Promise(function(Q0,m0){$0.onload=Q0,$0.onerror=m0}),$0.addEventListener("load",function(){l.loading|=FK}),$0.addEventListener("error",function(){l.loading|=lR}),l.loading|=nI,gO(f,j,O)}f={type:"stylesheet",instance:f,count:1,state:l},A.set(E,f)}}},M:function($,j){sQ.M($,j);var X=D8;if(X&&$){var O=X$(X).hoistableScripts,A=Sz($),E=O.get(A);E||(E=X.querySelector(PW(A)),E||($=wj({src:$,async:!0,type:"module"},j),(j=iI.get(A))&&$F($,j),E=X.createElement("script"),u$(E),n2(E,"link",$),X.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},O.set(A,E))}}};var D8=typeof document>"u"?null:document,xV=null,mw=60000,uw=800,hw=500,SH=0,wH=null,yV=null,bZ=vS,HK={$$typeof:kJ,Provider:null,Consumer:null,_currentValue:bZ,_currentValue2:bZ,_threadCount:0},iR="%c%s%c",rR="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",oR="",fV=" ",pw=Function.prototype.bind,tR=!1,sR=null,aR=null,eR=null,$E=null,jE=null,UE=null,vE=null,IE=null,XE=null,JE=null;sR=function($,j,X,O){j=U($,j),j!==null&&(X=I(j.memoizedState,X,0,O),j.memoizedState=X,j.baseState=X,$.memoizedProps=wj({},$.memoizedProps),X=A4($,2),X!==null&&s$(X,$,2))},aR=function($,j,X){j=U($,j),j!==null&&(X=v(j.memoizedState,X,0),j.memoizedState=X,j.baseState=X,$.memoizedProps=wj({},$.memoizedProps),X=A4($,2),X!==null&&s$(X,$,2))},eR=function($,j,X,O){j=U($,j),j!==null&&(X=J(j.memoizedState,X,O),j.memoizedState=X,j.baseState=X,$.memoizedProps=wj({},$.memoizedProps),X=A4($,2),X!==null&&s$(X,$,2))},$E=function($,j,X){$.pendingProps=I($.memoizedProps,j,0,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),j=A4($,2),j!==null&&s$(j,$,2)},jE=function($,j){$.pendingProps=v($.memoizedProps,j,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),j=A4($,2),j!==null&&s$(j,$,2)},UE=function($,j,X){$.pendingProps=J($.memoizedProps,j,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),j=A4($,2),j!==null&&s$(j,$,2)},vE=function($){var j=A4($,2);j!==null&&s$(j,$,2)},IE=function($){var j=i$(),X=A4($,j);X!==null&&s$(X,$,j)},XE=function($){Y=$},JE=function($){Z=$};var bV=!0,mV=null,kH=!1,DG=null,FG=null,HG=null,_K=new Map,MK=new Map,_G=[],lw="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(" "),uV=null;if(cO.prototype.render=JF.prototype.render=function($){var j=this._internalRoot;if(j===null)throw Error("Cannot update an unmounted root.");var X=arguments;typeof X[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()."):h(X[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 X[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),X=$;var O=j.current,A=W$(O);jF(O,A,X,j,null,null)},cO.prototype.unmount=JF.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 j=$.containerInfo;(X2&(Z6|$I))!==T6&&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."),jF($.current,2,null,$,null,null),zj(),j[oY]=null}},cO.prototype.unstable_scheduleHydration=function($){if($){var j=V0();$={blockedOn:null,target:$,priority:j};for(var X=0;X<_G.length&&j!==0&&j<_G[X].priority;X++);_G.splice(X,0,$),X===0&&DP($)}},function(){var $=H8.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"),b2.findDOMNode=function($){var j=$._reactInternals;if(j===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 $=j0(j),$=$!==null?Y0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:Q$,reconcilerVersion:"19.2.7"};return $.overrideHookState=sR,$.overrideHookStateDeletePath=aR,$.overrideHookStateRenamePath=eR,$.overrideProps=$E,$.overridePropsDeletePath=jE,$.overridePropsRenamePath=UE,$.scheduleUpdate=vE,$.scheduleRetry=IE,$.setErrorHandler=XE,$.setSuspenseHandler=JE,$.scheduleRefresh=x,$.scheduleRoot=c,$.setRefreshHandler=u,$.getCurrentFiber=o3,R0($)}()&&bJ&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var QE=window.location.protocol;/^(https?|file):$/.test(QE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(QE==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Ik.createRoot=function($,j){if(!h($))throw Error("Target container is not a DOM element.");MP($);var X=!1,O="",A=CX,E=mv,f=A1;return j!==null&&j!==void 0&&(j.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof j==="object"&&j!==null&&j.$$typeof===wJ&&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 />);`),j.unstable_strictMode===!0&&(X=!0),j.identifierPrefix!==void 0&&(O=j.identifierPrefix),j.onUncaughtError!==void 0&&(A=j.onUncaughtError),j.onCaughtError!==void 0&&(E=j.onCaughtError),j.onRecoverableError!==void 0&&(f=j.onRecoverableError)),j=GP($,1,!1,null,null,X,O,null,A,E,f,_P),$[oY]=j.current,A6($),new JF(j)},Ik.hydrateRoot=function($,j,X){if(!h($))throw Error("Target container is not a DOM element.");MP($),j===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var O=!1,A="",E=CX,f=mv,l=A1,$0=null;return X!==null&&X!==void 0&&(X.unstable_strictMode===!0&&(O=!0),X.identifierPrefix!==void 0&&(A=X.identifierPrefix),X.onUncaughtError!==void 0&&(E=X.onUncaughtError),X.onCaughtError!==void 0&&(f=X.onCaughtError),X.onRecoverableError!==void 0&&(l=X.onRecoverableError),X.formState!==void 0&&($0=X.formState)),j=GP($,1,!0,j,X!=null?X:null,O,A,$0,E,f,l,_P),j.context=ZP(null),X=j.current,O=W$(X),O=M$(O),A=Iv(O),A.callback=null,Xv(X,A,O),_U(O,"hydrateRoot()",null),X=O,j.current.lanes=X,Z$(j,X),l2(j),$[oY]=j.current,A6($),new cO(j)},Ik.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var FE=hX((fd,DE)=>{var Xk=Z2(VE());DE.exports=Xk});var D4={};m1(D4,{transcode:()=>lk,resolveObjectURL:()=>uk,kStringMaxLength:()=>RE,kMaxLength:()=>AK,isUtf8:()=>hk,isAscii:()=>pk,default:()=>dk,constants:()=>Vk,btoa:()=>zk,atob:()=>Wk,INSPECT_MAX_BYTES:()=>CE,File:()=>Kk,Buffer:()=>H$,Blob:()=>Ok});function Jk(U){var I=U.length;if(I%4>0)throw Error("Invalid string. Length must be a multiple of 4");var J=U.indexOf("=");if(J===-1)J=I;var z=J===I?0:4-J%4;return[J,z]}function Qk(U,I){return(U+I)*3/4-I}function Yk(U){var I,J=Jk(U),z=J[0],v=J[1],Z=new Uint8Array(Qk(z,v)),Y=0,L=v>0?z-4:z,S;for(S=0;S<L;S+=4)I=rI[U.charCodeAt(S)]<<18|rI[U.charCodeAt(S+1)]<<12|rI[U.charCodeAt(S+2)]<<6|rI[U.charCodeAt(S+3)],Z[Y++]=I>>16&255,Z[Y++]=I>>8&255,Z[Y++]=I&255;if(v===2)I=rI[U.charCodeAt(S)]<<2|rI[U.charCodeAt(S+1)]>>4,Z[Y++]=I&255;if(v===1)I=rI[U.charCodeAt(S)]<<10|rI[U.charCodeAt(S+1)]<<4|rI[U.charCodeAt(S+2)]>>2,Z[Y++]=I>>8&255,Z[Y++]=I&255;return Z}function Gk(U){return dJ[U>>18&63]+dJ[U>>12&63]+dJ[U>>6&63]+dJ[U&63]}function Zk(U,I,J){var z,v=[];for(var Z=I;Z<J;Z+=3)z=(U[Z]<<16&16711680)+(U[Z+1]<<8&65280)+(U[Z+2]&255),v.push(Gk(z));return v.join("")}function _E(U){var I,J=U.length,z=J%3,v=[],Z=16383;for(var Y=0,L=J-z;Y<L;Y+=Z)v.push(Zk(U,Y,Y+Z>L?L:Y+Z));if(z===1)I=U[J-1],v.push(dJ[I>>2]+dJ[I<<4&63]+"==");else if(z===2)I=(U[J-2]<<8)+U[J-1],v.push(dJ[I>>10]+dJ[I>>4&63]+dJ[I<<2&63]+"=");return v.join("")}function lV(U,I,J,z,v){var Z,Y,L=v*8-z-1,S=(1<<L)-1,B=S>>1,g=-7,H=J?v-1:0,T=J?-1:1,c=U[I+H];H+=T,Z=c&(1<<-g)-1,c>>=-g,g+=L;for(;g>0;Z=Z*256+U[I+H],H+=T,g-=8);Y=Z&(1<<-g)-1,Z>>=-g,g+=z;for(;g>0;Y=Y*256+U[I+H],H+=T,g-=8);if(Z===0)Z=1-B;else if(Z===S)return Y?NaN:(c?-1:1)*(1/0);else Y=Y+Math.pow(2,z),Z=Z-B;return(c?-1:1)*Y*Math.pow(2,Z-z)}function PE(U,I,J,z,v,Z){var Y,L,S,B=Z*8-v-1,g=(1<<B)-1,H=g>>1,T=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=z?0:Z-1,x=z?1:-1,u=I<0||I===0&&1/I<0?1:0;if(I=Math.abs(I),isNaN(I)||I===1/0)L=isNaN(I)?1:0,Y=g;else{if(Y=Math.floor(Math.log(I)/Math.LN2),I*(S=Math.pow(2,-Y))<1)Y--,S*=2;if(Y+H>=1)I+=T/S;else I+=T*Math.pow(2,1-H);if(I*S>=2)Y++,S/=2;if(Y+H>=g)L=0,Y=g;else if(Y+H>=1)L=(I*S-1)*Math.pow(2,v),Y=Y+H;else L=I*Math.pow(2,H-1)*Math.pow(2,v),Y=0}for(;v>=8;U[J+c]=L&255,c+=x,L/=256,v-=8);Y=Y<<v|L,B+=v;for(;B>0;U[J+c]=Y&255,c+=x,Y/=256,B-=8);U[J+c-x]|=u*128}function eQ(U){if(U>AK)throw RangeError('The value "'+U+'" is invalid for option "size"');let I=new Uint8Array(U);return Object.setPrototypeOf(I,H$.prototype),I}function hH(U,I,J){return class extends J{constructor(){super();Object.defineProperty(this,"message",{value:I.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${U}]`,this.stack,delete this.name}get code(){return U}set code(z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:z,writable:!0})}toString(){return`${this.name} [${U}]: ${this.message}`}}}function H$(U,I,J){if(typeof U==="number"){if(typeof I==="string")throw TypeError('The "string" argument must be of type string. Received type number');return pH(U)}return EE(U,I,J)}function EE(U,I,J){if(typeof U==="string")return _k(U,I);if(ArrayBuffer.isView(U))return Mk(U);if(U==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(nJ(U,ArrayBuffer)||U&&nJ(U.buffer,ArrayBuffer))return mH(U,I,J);if(typeof SharedArrayBuffer<"u"&&(nJ(U,SharedArrayBuffer)||U&&nJ(U.buffer,SharedArrayBuffer)))return mH(U,I,J);if(typeof U==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let z=U.valueOf&&U.valueOf();if(z!=null&&z!==U)return H$.from(z,I,J);let v=Lk(U);if(v)return v;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]==="function")return H$.from(U[Symbol.toPrimitive]("string"),I,J);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}function TE(U){if(typeof U!=="number")throw TypeError('"size" argument must be of type number');else if(U<0)throw RangeError('The value "'+U+'" is invalid for option "size"')}function Hk(U,I,J){if(TE(U),U<=0)return eQ(U);if(I!==void 0)return typeof J==="string"?eQ(U).fill(I,J):eQ(U).fill(I);return eQ(U)}function pH(U){return TE(U),eQ(U<0?0:lH(U)|0)}function _k(U,I){if(typeof I!=="string"||I==="")I="utf8";if(!H$.isEncoding(I))throw TypeError("Unknown encoding: "+I);let J=BE(U,I)|0,z=eQ(J),v=z.write(U,I);if(v!==J)z=z.slice(0,v);return z}function bH(U){let I=U.length<0?0:lH(U.length)|0,J=eQ(I);for(let z=0;z<I;z+=1)J[z]=U[z]&255;return J}function Mk(U){if(nJ(U,Uint8Array)){let I=new Uint8Array(U);return mH(I.buffer,I.byteOffset,I.byteLength)}return bH(U)}function mH(U,I,J){if(I<0||U.byteLength<I)throw RangeError('"offset" is outside of buffer bounds');if(U.byteLength<I+(J||0))throw RangeError('"length" is outside of buffer bounds');let z;if(I===void 0&&J===void 0)z=new Uint8Array(U);else if(J===void 0)z=new Uint8Array(U,I);else z=new Uint8Array(U,I,J);return Object.setPrototypeOf(z,H$.prototype),z}function Lk(U){if(H$.isBuffer(U)){let I=lH(U.length)|0,J=eQ(I);if(J.length===0)return J;return U.copy(J,0,0,I),J}if(U.length!==void 0){if(typeof U.length!=="number"||Number.isNaN(U.length))return eQ(0);return bH(U)}if(U.type==="Buffer"&&Array.isArray(U.data))return bH(U.data)}function lH(U){if(U>=AK)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+AK.toString(16)+" bytes");return U|0}function BE(U,I){if(H$.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||nJ(U,ArrayBuffer))return U.byteLength;if(typeof U!=="string")throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);let J=U.length,z=arguments.length>2&&arguments[2]===!0;if(!z&&J===0)return 0;let v=!1;for(;;)switch(I){case"ascii":case"latin1":case"binary":return J;case"utf8":case"utf-8":return uH(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J*2;case"hex":return J>>>1;case"base64":return fE(U).length;default:if(v)return z?-1:uH(U).length;I=(""+I).toLowerCase(),v=!0}}function Ak(U,I,J){let z=!1;if(I===void 0||I<0)I=0;if(I>this.length)return"";if(J===void 0||J>this.length)J=this.length;if(J<=0)return"";if(J>>>=0,I>>>=0,J<=I)return"";if(!U)U="utf8";while(!0)switch(U){case"hex":return Sk(this,I,J);case"utf8":case"utf-8":return NE(this,I,J);case"ascii":return gk(this,I,J);case"latin1":case"binary":return Nk(this,I,J);case"base64":return Tk(this,I,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wk(this,I,J);default:if(z)throw TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),z=!0}}function pZ(U,I,J){let z=U[I];U[I]=U[J],U[J]=z}function gE(U,I,J,z,v){if(U.length===0)return-1;if(typeof J==="string")z=J,J=0;else if(J>2147483647)J=2147483647;else if(J<-2147483648)J=-2147483648;if(J=+J,Number.isNaN(J))J=v?0:U.length-1;if(J<0)J=U.length+J;if(J>=U.length)if(v)return-1;else J=U.length-1;else if(J<0)if(v)J=0;else return-1;if(typeof I==="string")I=H$.from(I,z);if(H$.isBuffer(I)){if(I.length===0)return-1;return LE(U,I,J,z,v)}else if(typeof I==="number"){if(I=I&255,typeof Uint8Array.prototype.indexOf==="function")if(v)return Uint8Array.prototype.indexOf.call(U,I,J);else return Uint8Array.prototype.lastIndexOf.call(U,I,J);return LE(U,[I],J,z,v)}throw TypeError("val must be string, number or Buffer")}function LE(U,I,J,z,v){let Z=1,Y=U.length,L=I.length;if(z!==void 0){if(z=String(z).toLowerCase(),z==="ucs2"||z==="ucs-2"||z==="utf16le"||z==="utf-16le"){if(U.length<2||I.length<2)return-1;Z=2,Y/=2,L/=2,J/=2}}function S(g,H){if(Z===1)return g[H];else return g.readUInt16BE(H*Z)}let B;if(v){let g=-1;for(B=J;B<Y;B++)if(S(U,B)===S(I,g===-1?0:B-g)){if(g===-1)g=B;if(B-g+1===L)return g*Z}else{if(g!==-1)B-=B-g;g=-1}}else{if(J+L>Y)J=Y-L;for(B=J;B>=0;B--){let g=!0;for(let H=0;H<L;H++)if(S(U,B+H)!==S(I,H)){g=!1;break}if(g)return B}}return-1}function qk(U,I,J,z){J=Number(J)||0;let v=U.length-J;if(!z)z=v;else if(z=Number(z),z>v)z=v;let Z=I.length;if(z>Z/2)z=Z/2;let Y;for(Y=0;Y<z;++Y){let L=parseInt(I.substr(Y*2,2),16);if(Number.isNaN(L))return Y;U[J+Y]=L}return Y}function Pk(U,I,J,z){return dV(uH(I,U.length-J),U,J,z)}function Ck(U,I,J,z){return dV(yk(I),U,J,z)}function Rk(U,I,J,z){return dV(fE(I),U,J,z)}function Ek(U,I,J,z){return dV(fk(I,U.length-J),U,J,z)}function Tk(U,I,J){if(I===0&&J===U.length)return _E(U);else return _E(U.slice(I,J))}function NE(U,I,J){J=Math.min(U.length,J);let z=[],v=I;while(v<J){let Z=U[v],Y=null,L=Z>239?4:Z>223?3:Z>191?2:1;if(v+L<=J){let S,B,g,H;switch(L){case 1:if(Z<128)Y=Z;break;case 2:if(S=U[v+1],(S&192)===128){if(H=(Z&31)<<6|S&63,H>127)Y=H}break;case 3:if(S=U[v+1],B=U[v+2],(S&192)===128&&(B&192)===128){if(H=(Z&15)<<12|(S&63)<<6|B&63,H>2047&&(H<55296||H>57343))Y=H}break;case 4:if(S=U[v+1],B=U[v+2],g=U[v+3],(S&192)===128&&(B&192)===128&&(g&192)===128){if(H=(Z&15)<<18|(S&63)<<12|(B&63)<<6|g&63,H>65535&&H<1114112)Y=H}}}if(Y===null)Y=65533,L=1;else if(Y>65535)Y-=65536,z.push(Y>>>10&1023|55296),Y=56320|Y&1023;z.push(Y),v+=L}return Bk(z)}function Bk(U){let I=U.length;if(I<=AE)return String.fromCharCode.apply(String,U);let J="",z=0;while(z<I)J+=String.fromCharCode.apply(String,U.slice(z,z+=AE));return J}function gk(U,I,J){let z="";J=Math.min(U.length,J);for(let v=I;v<J;++v)z+=String.fromCharCode(U[v]&127);return z}function Nk(U,I,J){let z="";J=Math.min(U.length,J);for(let v=I;v<J;++v)z+=String.fromCharCode(U[v]);return z}function Sk(U,I,J){let z=U.length;if(!I||I<0)I=0;if(!J||J<0||J>z)J=z;let v="";for(let Z=I;Z<J;++Z)v+=bk[U[Z]];return v}function wk(U,I,J){let z=U.slice(I,J),v="";for(let Z=0;Z<z.length-1;Z+=2)v+=String.fromCharCode(z[Z]+z[Z+1]*256);return v}function B6(U,I,J){if(U%1!==0||U<0)throw RangeError("offset is not uint");if(U+I>J)throw RangeError("Trying to access beyond buffer length")}function _v(U,I,J,z,v,Z){if(!H$.isBuffer(U))throw TypeError('"buffer" argument must be a Buffer instance');if(I>v||I<Z)throw RangeError('"value" argument is out of bounds');if(J+z>U.length)throw RangeError("Index out of range")}function SE(U,I,J,z,v){yE(I,z,v,U,J,7);let Z=Number(I&BigInt(4294967295));U[J++]=Z,Z=Z>>8,U[J++]=Z,Z=Z>>8,U[J++]=Z,Z=Z>>8,U[J++]=Z;let Y=Number(I>>BigInt(32)&BigInt(4294967295));return U[J++]=Y,Y=Y>>8,U[J++]=Y,Y=Y>>8,U[J++]=Y,Y=Y>>8,U[J++]=Y,J}function wE(U,I,J,z,v){yE(I,z,v,U,J,7);let Z=Number(I&BigInt(4294967295));U[J+7]=Z,Z=Z>>8,U[J+6]=Z,Z=Z>>8,U[J+5]=Z,Z=Z>>8,U[J+4]=Z;let Y=Number(I>>BigInt(32)&BigInt(4294967295));return U[J+3]=Y,Y=Y>>8,U[J+2]=Y,Y=Y>>8,U[J+1]=Y,Y=Y>>8,U[J]=Y,J+8}function kE(U,I,J,z,v,Z){if(J+z>U.length)throw RangeError("Index out of range");if(J<0)throw RangeError("Index out of range")}function cE(U,I,J,z,v){if(I=+I,J=J>>>0,!v)kE(U,I,J,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return PE(U,I,J,z,23,4),J+4}function xE(U,I,J,z,v){if(I=+I,J=J>>>0,!v)kE(U,I,J,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return PE(U,I,J,z,52,8),J+8}function qE(U){let I="",J=U.length,z=U[0]==="-"?1:0;for(;J>=z+4;J-=3)I=`_${U.slice(J-3,J)}${I}`;return`${U.slice(0,J)}${I}`}function kk(U,I,J){if(_8(I,"offset"),U[I]===void 0||U[I+J]===void 0)qK(I,U.length-(J+1))}function yE(U,I,J,z,v,Z){if(U>J||U<I){let Y=typeof I==="bigint"?"n":"",L;if(Z>3)if(I===0||I===BigInt(0))L=`>= 0${Y} and < 2${Y} ** ${(Z+1)*8}${Y}`;else L=`>= -(2${Y} ** ${(Z+1)*8-1}${Y}) and < 2 ** ${(Z+1)*8-1}${Y}`;else L=`>= ${I}${Y} and <= ${J}${Y}`;throw new fH("value",L,U)}kk(z,v,Z)}function _8(U,I){if(typeof U!=="number")throw new Fk(I,"number",U)}function qK(U,I,J){if(Math.floor(U)!==U)throw _8(U,J),new fH(J||"offset","an integer",U);if(I<0)throw new Dk;throw new fH(J||"offset",`>= ${J?1:0} and <= ${I}`,U)}function xk(U){if(U=U.split("=")[0],U=U.trim().replace(ck,""),U.length<2)return"";while(U.length%4!==0)U=U+"=";return U}function uH(U,I){I=I||1/0;let J,z=U.length,v=null,Z=[];for(let Y=0;Y<z;++Y){if(J=U.charCodeAt(Y),J>55295&&J<57344){if(!v){if(J>56319){if((I-=3)>-1)Z.push(239,191,189);continue}else if(Y+1===z){if((I-=3)>-1)Z.push(239,191,189);continue}v=J;continue}if(J<56320){if((I-=3)>-1)Z.push(239,191,189);v=J;continue}J=(v-55296<<10|J-56320)+65536}else if(v){if((I-=3)>-1)Z.push(239,191,189)}if(v=null,J<128){if((I-=1)<0)break;Z.push(J)}else if(J<2048){if((I-=2)<0)break;Z.push(J>>6|192,J&63|128)}else if(J<65536){if((I-=3)<0)break;Z.push(J>>12|224,J>>6&63|128,J&63|128)}else if(J<1114112){if((I-=4)<0)break;Z.push(J>>18|240,J>>12&63|128,J>>6&63|128,J&63|128)}else throw Error("Invalid code point")}return Z}function yk(U){let I=[];for(let J=0;J<U.length;++J)I.push(U.charCodeAt(J)&255);return I}function fk(U,I){let J,z,v,Z=[];for(let Y=0;Y<U.length;++Y){if((I-=2)<0)break;J=U.charCodeAt(Y),z=J>>8,v=J%256,Z.push(v),Z.push(z)}return Z}function fE(U){return Yk(xk(U))}function dV(U,I,J,z){let v;for(v=0;v<z;++v){if(v+J>=I.length||v>=U.length)break;I[v+J]=U[v]}return v}function nJ(U,I){return U instanceof I||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===I.name}function MG(U){return typeof BigInt>"u"?mk:U}function mk(){throw Error("BigInt not supported")}function dH(U){return()=>{throw Error(U+" is not implemented for node:buffer browser polyfill")}}var dJ,rI,yH="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hZ,HE,ME,CE=50,AK=2147483647,RE=536870888,zk,Wk,Kk,Ok,Vk,Dk,Fk,fH,AE=4096,ck,bk,uk,hk,pk=(U)=>{for(let I of U)if(I.charCodeAt(0)>127)return!1;return!0},lk,dk;var F4=F8(()=>{dJ=[],rI=[];for(hZ=0,HE=yH.length;hZ<HE;++hZ)dJ[hZ]=yH[hZ],rI[yH.charCodeAt(hZ)]=hZ;rI[45]=62;rI[95]=63;ME=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,zk=globalThis.btoa,Wk=globalThis.atob,Kk=globalThis.File,Ok=globalThis.Blob,Vk={MAX_LENGTH:AK,MAX_STRING_LENGTH:RE};Dk=hH("ERR_BUFFER_OUT_OF_BOUNDS",function(U){if(U)return`${U} is outside of buffer bounds`;return"Attempt to access memory outside buffer bounds"},RangeError),Fk=hH("ERR_INVALID_ARG_TYPE",function(U,I){return`The "${U}" argument must be of type number. Received type ${typeof I}`},TypeError),fH=hH("ERR_OUT_OF_RANGE",function(U,I,J){let z=`The value of "${U}" is out of range.`,v=J;if(Number.isInteger(J)&&Math.abs(J)>4294967296)v=qE(String(J));else if(typeof J==="bigint"){if(v=String(J),J>BigInt(2)**BigInt(32)||J<-(BigInt(2)**BigInt(32)))v=qE(v);v+="n"}return z+=` It must be ${I}. Received ${v}`,z},RangeError);Object.defineProperty(H$.prototype,"parent",{enumerable:!0,get:function(){if(!H$.isBuffer(this))return;return this.buffer}});Object.defineProperty(H$.prototype,"offset",{enumerable:!0,get:function(){if(!H$.isBuffer(this))return;return this.byteOffset}});H$.poolSize=8192;H$.from=function(U,I,J){return EE(U,I,J)};Object.setPrototypeOf(H$.prototype,Uint8Array.prototype);Object.setPrototypeOf(H$,Uint8Array);H$.alloc=function(U,I,J){return Hk(U,I,J)};H$.allocUnsafe=function(U){return pH(U)};H$.allocUnsafeSlow=function(U){return pH(U)};H$.isBuffer=function(U){return U!=null&&U._isBuffer===!0&&U!==H$.prototype};H$.compare=function(U,I){if(nJ(U,Uint8Array))U=H$.from(U,U.offset,U.byteLength);if(nJ(I,Uint8Array))I=H$.from(I,I.offset,I.byteLength);if(!H$.isBuffer(U)||!H$.isBuffer(I))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(U===I)return 0;let J=U.length,z=I.length;for(let v=0,Z=Math.min(J,z);v<Z;++v)if(U[v]!==I[v]){J=U[v],z=I[v];break}if(J<z)return-1;if(z<J)return 1;return 0};H$.isEncoding=function(U){switch(String(U).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}};H$.concat=function(U,I){if(!Array.isArray(U))throw TypeError('"list" argument must be an Array of Buffers');if(U.length===0)return H$.alloc(0);let J;if(I===void 0){I=0;for(J=0;J<U.length;++J)I+=U[J].length}let z=H$.allocUnsafe(I),v=0;for(J=0;J<U.length;++J){let Z=U[J];if(nJ(Z,Uint8Array))if(v+Z.length>z.length){if(!H$.isBuffer(Z))Z=H$.from(Z);Z.copy(z,v)}else Uint8Array.prototype.set.call(z,Z,v);else if(!H$.isBuffer(Z))throw TypeError('"list" argument must be an Array of Buffers');else Z.copy(z,v);v+=Z.length}return z};H$.byteLength=BE;H$.prototype._isBuffer=!0;H$.prototype.swap16=function(){let U=this.length;if(U%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let I=0;I<U;I+=2)pZ(this,I,I+1);return this};H$.prototype.swap32=function(){let U=this.length;if(U%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let I=0;I<U;I+=4)pZ(this,I,I+3),pZ(this,I+1,I+2);return this};H$.prototype.swap64=function(){let U=this.length;if(U%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let I=0;I<U;I+=8)pZ(this,I,I+7),pZ(this,I+1,I+6),pZ(this,I+2,I+5),pZ(this,I+3,I+4);return this};H$.prototype.toString=function(){let U=this.length;if(U===0)return"";if(arguments.length===0)return NE(this,0,U);return Ak.apply(this,arguments)};H$.prototype.toLocaleString=H$.prototype.toString;H$.prototype.equals=function(U){if(!H$.isBuffer(U))throw TypeError("Argument must be a Buffer");if(this===U)return!0;return H$.compare(this,U)===0};H$.prototype.inspect=function(){let U="",I=CE;if(U=this.toString("hex",0,I).replace(/(.{2})/g,"$1 ").trim(),this.length>I)U+=" ... ";return"<Buffer "+U+">"};if(ME)H$.prototype[ME]=H$.prototype.inspect;H$.prototype.compare=function(U,I,J,z,v){if(nJ(U,Uint8Array))U=H$.from(U,U.offset,U.byteLength);if(!H$.isBuffer(U))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof U);if(I===void 0)I=0;if(J===void 0)J=U?U.length:0;if(z===void 0)z=0;if(v===void 0)v=this.length;if(I<0||J>U.length||z<0||v>this.length)throw RangeError("out of range index");if(z>=v&&I>=J)return 0;if(z>=v)return-1;if(I>=J)return 1;if(I>>>=0,J>>>=0,z>>>=0,v>>>=0,this===U)return 0;let Z=v-z,Y=J-I,L=Math.min(Z,Y),S=this.slice(z,v),B=U.slice(I,J);for(let g=0;g<L;++g)if(S[g]!==B[g]){Z=S[g],Y=B[g];break}if(Z<Y)return-1;if(Y<Z)return 1;return 0};H$.prototype.includes=function(U,I,J){return this.indexOf(U,I,J)!==-1};H$.prototype.indexOf=function(U,I,J){return gE(this,U,I,J,!0)};H$.prototype.lastIndexOf=function(U,I,J){return gE(this,U,I,J,!1)};H$.prototype.write=function(U,I,J,z){if(I===void 0)z="utf8",J=this.length,I=0;else if(J===void 0&&typeof I==="string")z=I,J=this.length,I=0;else if(isFinite(I))if(I=I>>>0,isFinite(J)){if(J=J>>>0,z===void 0)z="utf8"}else z=J,J=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let v=this.length-I;if(J===void 0||J>v)J=v;if(U.length>0&&(J<0||I<0)||I>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!z)z="utf8";let Z=!1;for(;;)switch(z){case"hex":return qk(this,U,I,J);case"utf8":case"utf-8":return Pk(this,U,I,J);case"ascii":case"latin1":case"binary":return Ck(this,U,I,J);case"base64":return Rk(this,U,I,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ek(this,U,I,J);default:if(Z)throw TypeError("Unknown encoding: "+z);z=(""+z).toLowerCase(),Z=!0}};H$.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};H$.prototype.slice=function(U,I){let J=this.length;if(U=~~U,I=I===void 0?J:~~I,U<0){if(U+=J,U<0)U=0}else if(U>J)U=J;if(I<0){if(I+=J,I<0)I=0}else if(I>J)I=J;if(I<U)I=U;let z=this.subarray(U,I);return Object.setPrototypeOf(z,H$.prototype),z};H$.prototype.readUintLE=H$.prototype.readUIntLE=function(U,I,J){if(U=U>>>0,I=I>>>0,!J)B6(U,I,this.length);let z=this[U],v=1,Z=0;while(++Z<I&&(v*=256))z+=this[U+Z]*v;return z};H$.prototype.readUintBE=H$.prototype.readUIntBE=function(U,I,J){if(U=U>>>0,I=I>>>0,!J)B6(U,I,this.length);let z=this[U+--I],v=1;while(I>0&&(v*=256))z+=this[U+--I]*v;return z};H$.prototype.readUint8=H$.prototype.readUInt8=function(U,I){if(U=U>>>0,!I)B6(U,1,this.length);return this[U]};H$.prototype.readUint16LE=H$.prototype.readUInt16LE=function(U,I){if(U=U>>>0,!I)B6(U,2,this.length);return this[U]|this[U+1]<<8};H$.prototype.readUint16BE=H$.prototype.readUInt16BE=function(U,I){if(U=U>>>0,!I)B6(U,2,this.length);return this[U]<<8|this[U+1]};H$.prototype.readUint32LE=H$.prototype.readUInt32LE=function(U,I){if(U=U>>>0,!I)B6(U,4,this.length);return(this[U]|this[U+1]<<8|this[U+2]<<16)+this[U+3]*16777216};H$.prototype.readUint32BE=H$.prototype.readUInt32BE=function(U,I){if(U=U>>>0,!I)B6(U,4,this.length);return this[U]*16777216+(this[U+1]<<16|this[U+2]<<8|this[U+3])};H$.prototype.readBigUInt64LE=MG(function(U){U=U>>>0,_8(U,"offset");let I=this[U],J=this[U+7];if(I===void 0||J===void 0)qK(U,this.length-8);let z=I+this[++U]*256+this[++U]*65536+this[++U]*16777216,v=this[++U]+this[++U]*256+this[++U]*65536+J*16777216;return BigInt(z)+(BigInt(v)<<BigInt(32))});H$.prototype.readBigUInt64BE=MG(function(U){U=U>>>0,_8(U,"offset");let I=this[U],J=this[U+7];if(I===void 0||J===void 0)qK(U,this.length-8);let z=I*16777216+this[++U]*65536+this[++U]*256+this[++U],v=this[++U]*16777216+this[++U]*65536+this[++U]*256+J;return(BigInt(z)<<BigInt(32))+BigInt(v)});H$.prototype.readIntLE=function(U,I,J){if(U=U>>>0,I=I>>>0,!J)B6(U,I,this.length);let z=this[U],v=1,Z=0;while(++Z<I&&(v*=256))z+=this[U+Z]*v;if(v*=128,z>=v)z-=Math.pow(2,8*I);return z};H$.prototype.readIntBE=function(U,I,J){if(U=U>>>0,I=I>>>0,!J)B6(U,I,this.length);let z=I,v=1,Z=this[U+--z];while(z>0&&(v*=256))Z+=this[U+--z]*v;if(v*=128,Z>=v)Z-=Math.pow(2,8*I);return Z};H$.prototype.readInt8=function(U,I){if(U=U>>>0,!I)B6(U,1,this.length);if(!(this[U]&128))return this[U];return(255-this[U]+1)*-1};H$.prototype.readInt16LE=function(U,I){if(U=U>>>0,!I)B6(U,2,this.length);let J=this[U]|this[U+1]<<8;return J&32768?J|4294901760:J};H$.prototype.readInt16BE=function(U,I){if(U=U>>>0,!I)B6(U,2,this.length);let J=this[U+1]|this[U]<<8;return J&32768?J|4294901760:J};H$.prototype.readInt32LE=function(U,I){if(U=U>>>0,!I)B6(U,4,this.length);return this[U]|this[U+1]<<8|this[U+2]<<16|this[U+3]<<24};H$.prototype.readInt32BE=function(U,I){if(U=U>>>0,!I)B6(U,4,this.length);return this[U]<<24|this[U+1]<<16|this[U+2]<<8|this[U+3]};H$.prototype.readBigInt64LE=MG(function(U){U=U>>>0,_8(U,"offset");let I=this[U],J=this[U+7];if(I===void 0||J===void 0)qK(U,this.length-8);let z=this[U+4]+this[U+5]*256+this[U+6]*65536+(J<<24);return(BigInt(z)<<BigInt(32))+BigInt(I+this[++U]*256+this[++U]*65536+this[++U]*16777216)});H$.prototype.readBigInt64BE=MG(function(U){U=U>>>0,_8(U,"offset");let I=this[U],J=this[U+7];if(I===void 0||J===void 0)qK(U,this.length-8);let z=(I<<24)+this[++U]*65536+this[++U]*256+this[++U];return(BigInt(z)<<BigInt(32))+BigInt(this[++U]*16777216+this[++U]*65536+this[++U]*256+J)});H$.prototype.readFloatLE=function(U,I){if(U=U>>>0,!I)B6(U,4,this.length);return lV(this,U,!0,23,4)};H$.prototype.readFloatBE=function(U,I){if(U=U>>>0,!I)B6(U,4,this.length);return lV(this,U,!1,23,4)};H$.prototype.readDoubleLE=function(U,I){if(U=U>>>0,!I)B6(U,8,this.length);return lV(this,U,!0,52,8)};H$.prototype.readDoubleBE=function(U,I){if(U=U>>>0,!I)B6(U,8,this.length);return lV(this,U,!1,52,8)};H$.prototype.writeUintLE=H$.prototype.writeUIntLE=function(U,I,J,z){if(U=+U,I=I>>>0,J=J>>>0,!z){let Y=Math.pow(2,8*J)-1;_v(this,U,I,J,Y,0)}let v=1,Z=0;this[I]=U&255;while(++Z<J&&(v*=256))this[I+Z]=U/v&255;return I+J};H$.prototype.writeUintBE=H$.prototype.writeUIntBE=function(U,I,J,z){if(U=+U,I=I>>>0,J=J>>>0,!z){let Y=Math.pow(2,8*J)-1;_v(this,U,I,J,Y,0)}let v=J-1,Z=1;this[I+v]=U&255;while(--v>=0&&(Z*=256))this[I+v]=U/Z&255;return I+J};H$.prototype.writeUint8=H$.prototype.writeUInt8=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,1,255,0);return this[I]=U&255,I+1};H$.prototype.writeUint16LE=H$.prototype.writeUInt16LE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,2,65535,0);return this[I]=U&255,this[I+1]=U>>>8,I+2};H$.prototype.writeUint16BE=H$.prototype.writeUInt16BE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,2,65535,0);return this[I]=U>>>8,this[I+1]=U&255,I+2};H$.prototype.writeUint32LE=H$.prototype.writeUInt32LE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,4,4294967295,0);return this[I+3]=U>>>24,this[I+2]=U>>>16,this[I+1]=U>>>8,this[I]=U&255,I+4};H$.prototype.writeUint32BE=H$.prototype.writeUInt32BE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,4,4294967295,0);return this[I]=U>>>24,this[I+1]=U>>>16,this[I+2]=U>>>8,this[I+3]=U&255,I+4};H$.prototype.writeBigUInt64LE=MG(function(U,I=0){return SE(this,U,I,BigInt(0),BigInt("0xffffffffffffffff"))});H$.prototype.writeBigUInt64BE=MG(function(U,I=0){return wE(this,U,I,BigInt(0),BigInt("0xffffffffffffffff"))});H$.prototype.writeIntLE=function(U,I,J,z){if(U=+U,I=I>>>0,!z){let L=Math.pow(2,8*J-1);_v(this,U,I,J,L-1,-L)}let v=0,Z=1,Y=0;this[I]=U&255;while(++v<J&&(Z*=256)){if(U<0&&Y===0&&this[I+v-1]!==0)Y=1;this[I+v]=(U/Z>>0)-Y&255}return I+J};H$.prototype.writeIntBE=function(U,I,J,z){if(U=+U,I=I>>>0,!z){let L=Math.pow(2,8*J-1);_v(this,U,I,J,L-1,-L)}let v=J-1,Z=1,Y=0;this[I+v]=U&255;while(--v>=0&&(Z*=256)){if(U<0&&Y===0&&this[I+v+1]!==0)Y=1;this[I+v]=(U/Z>>0)-Y&255}return I+J};H$.prototype.writeInt8=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,1,127,-128);if(U<0)U=255+U+1;return this[I]=U&255,I+1};H$.prototype.writeInt16LE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,2,32767,-32768);return this[I]=U&255,this[I+1]=U>>>8,I+2};H$.prototype.writeInt16BE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,2,32767,-32768);return this[I]=U>>>8,this[I+1]=U&255,I+2};H$.prototype.writeInt32LE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,4,2147483647,-2147483648);return this[I]=U&255,this[I+1]=U>>>8,this[I+2]=U>>>16,this[I+3]=U>>>24,I+4};H$.prototype.writeInt32BE=function(U,I,J){if(U=+U,I=I>>>0,!J)_v(this,U,I,4,2147483647,-2147483648);if(U<0)U=4294967295+U+1;return this[I]=U>>>24,this[I+1]=U>>>16,this[I+2]=U>>>8,this[I+3]=U&255,I+4};H$.prototype.writeBigInt64LE=MG(function(U,I=0){return SE(this,U,I,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});H$.prototype.writeBigInt64BE=MG(function(U,I=0){return wE(this,U,I,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});H$.prototype.writeFloatLE=function(U,I,J){return cE(this,U,I,!0,J)};H$.prototype.writeFloatBE=function(U,I,J){return cE(this,U,I,!1,J)};H$.prototype.writeDoubleLE=function(U,I,J){return xE(this,U,I,!0,J)};H$.prototype.writeDoubleBE=function(U,I,J){return xE(this,U,I,!1,J)};H$.prototype.copy=function(U,I,J,z){if(!H$.isBuffer(U))throw TypeError("argument should be a Buffer");if(!J)J=0;if(!z&&z!==0)z=this.length;if(I>=U.length)I=U.length;if(!I)I=0;if(z>0&&z<J)z=J;if(z===J)return 0;if(U.length===0||this.length===0)return 0;if(I<0)throw RangeError("targetStart out of bounds");if(J<0||J>=this.length)throw RangeError("Index out of range");if(z<0)throw RangeError("sourceEnd out of bounds");if(z>this.length)z=this.length;if(U.length-I<z-J)z=U.length-I+J;let v=z-J;if(this===U&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(I,J,z);else Uint8Array.prototype.set.call(U,this.subarray(J,z),I);return v};H$.prototype.fill=function(U,I,J,z){if(typeof U==="string"){if(typeof I==="string")z=I,I=0,J=this.length;else if(typeof J==="string")z=J,J=this.length;if(z!==void 0&&typeof z!=="string")throw TypeError("encoding must be a string");if(typeof z==="string"&&!H$.isEncoding(z))throw TypeError("Unknown encoding: "+z);if(U.length===1){let Z=U.charCodeAt(0);if(z==="utf8"&&Z<128||z==="latin1")U=Z}}else if(typeof U==="number")U=U&255;else if(typeof U==="boolean")U=Number(U);if(I<0||this.length<I||this.length<J)throw RangeError("Out of range index");if(J<=I)return this;if(I=I>>>0,J=J===void 0?this.length:J>>>0,!U)U=0;let v;if(typeof U==="number")for(v=I;v<J;++v)this[v]=U;else{let Z=H$.isBuffer(U)?U:H$.from(U,z),Y=Z.length;if(Y===0)throw TypeError('The value "'+U+'" is invalid for argument "value"');for(v=0;v<J-I;++v)this[v+I]=Z[v%Y]}return this};ck=/[^+/0-9A-Za-z-_]/g;bk=function(){let U=Array(256);for(let I=0;I<16;++I){let J=I*16;for(let z=0;z<16;++z)U[J+z]="0123456789abcdef"[I]+"0123456789abcdef"[z]}return U}();uk=dH("resolveObjectURL"),hk=dH("isUtf8"),lk=dH("transcode"),dk=H$});var A8={};m1(A8,{types:()=>jc,promisify:()=>lE,log:()=>uE,isUndefined:()=>M8,isSymbol:()=>vc,isString:()=>sV,isRegExp:()=>nV,isPrimitive:()=>Ic,isObject:()=>L8,isNumber:()=>mE,isNullOrUndefined:()=>Uc,isNull:()=>tV,isFunction:()=>rV,isError:()=>iV,isDate:()=>oH,isBuffer:()=>Xc,isBoolean:()=>sH,isArray:()=>bE,inspect:()=>lZ,inherits:()=>hE,format:()=>tH,deprecate:()=>ik,default:()=>Yc,debuglog:()=>rk,callbackifyOnRejected:()=>$5,callbackify:()=>dE,_extend:()=>eH,TextEncoder:()=>nE,TextDecoder:()=>iE});function tH(U,...I){if(!sV(U)){var J=[U];for(var z=0;z<I.length;z++)J.push(lZ(I[z]));return J.join(" ")}var z=0,v=I.length,Z=String(U).replace(nk,function(L){if(L==="%%")return"%";if(z>=v)return L;switch(L){case"%s":return String(I[z++]);case"%d":return Number(I[z++]);case"%j":try{return JSON.stringify(I[z++])}catch(S){return"[Circular]"}default:return L}});for(var Y=I[z];z<v;Y=I[++z])if(tV(Y)||!L8(Y))Z+=" "+Y;else Z+=" "+lZ(Y);return Z}function ik(U,I){if(typeof process>"u"||process?.noDeprecation===!0)return U;var J=!1;function z(...v){if(!J){if(process.throwDeprecation)throw Error(I);else if(process.traceDeprecation)console.trace(I);else console.error(I);J=!0}return U.apply(this,...v)}return z}function ok(U,I){var J=lZ.styles[I];if(J)return"\x1B["+lZ.colors[J][0]+"m"+U+"\x1B["+lZ.colors[J][1]+"m";else return U}function tk(U,I){return U}function sk(U){var I={};return U.forEach(function(J,z){I[J]=!0}),I}function oV(U,I,J){if(U.customInspect&&I&&rV(I.inspect)&&I.inspect!==lZ&&!(I.constructor&&I.constructor.prototype===I)){var z=I.inspect(J,U);if(!sV(z))z=oV(U,z,J);return z}var v=ak(U,I);if(v)return v;var Z=Object.keys(I),Y=sk(Z);if(U.showHidden)Z=Object.getOwnPropertyNames(I);if(iV(I)&&(Z.indexOf("message")>=0||Z.indexOf("description")>=0))return nH(I);if(Z.length===0){if(rV(I)){var L=I.name?": "+I.name:"";return U.stylize("[Function"+L+"]","special")}if(nV(I))return U.stylize(RegExp.prototype.toString.call(I),"regexp");if(oH(I))return U.stylize(Date.prototype.toString.call(I),"date");if(iV(I))return nH(I)}var S="",B=!1,g=["{","}"];if(bE(I))B=!0,g=["[","]"];if(rV(I)){var H=I.name?": "+I.name:"";S=" [Function"+H+"]"}if(nV(I))S=" "+RegExp.prototype.toString.call(I);if(oH(I))S=" "+Date.prototype.toUTCString.call(I);if(iV(I))S=" "+nH(I);if(Z.length===0&&(!B||I.length==0))return g[0]+S+g[1];if(J<0)if(nV(I))return U.stylize(RegExp.prototype.toString.call(I),"regexp");else return U.stylize("[Object]","special");U.seen.push(I);var T;if(B)T=ek(U,I,J,Y,Z);else T=Z.map(function(c){return rH(U,I,J,Y,c,B)});return U.seen.pop(),$c(T,S,g)}function ak(U,I){if(M8(I))return U.stylize("undefined","undefined");if(sV(I)){var J="'"+JSON.stringify(I).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(J,"string")}if(mE(I))return U.stylize(""+I,"number");if(sH(I))return U.stylize(""+I,"boolean");if(tV(I))return U.stylize("null","null")}function nH(U){return"["+Error.prototype.toString.call(U)+"]"}function ek(U,I,J,z,v){var Z=[];for(var Y=0,L=I.length;Y<L;++Y)if(pE(I,String(Y)))Z.push(rH(U,I,J,z,String(Y),!0));else Z.push("");return v.forEach(function(S){if(!S.match(/^\d+$/))Z.push(rH(U,I,J,z,S,!0))}),Z}function rH(U,I,J,z,v,Z){var Y,L,S;if(S=Object.getOwnPropertyDescriptor(I,v)||{value:I[v]},S.get)if(S.set)L=U.stylize("[Getter/Setter]","special");else L=U.stylize("[Getter]","special");else if(S.set)L=U.stylize("[Setter]","special");if(!pE(z,v))Y="["+v+"]";if(!L)if(U.seen.indexOf(S.value)<0){if(tV(J))L=oV(U,S.value,null);else L=oV(U,S.value,J-1);if(L.indexOf(`
|
|
231
|
+
`)>-1)if(Z)L=L.split(`
|
|
232
|
+
`).map(function(B){return" "+B}).join(`
|
|
233
|
+
`).slice(2);else L=`
|
|
234
|
+
`+L.split(`
|
|
235
|
+
`).map(function(B){return" "+B}).join(`
|
|
236
|
+
`)}else L=U.stylize("[Circular]","special");if(M8(Y)){if(Z&&v.match(/^\d+$/))return L;if(Y=JSON.stringify(""+v),Y.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))Y=Y.slice(1,-1),Y=U.stylize(Y,"name");else Y=Y.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Y=U.stylize(Y,"string")}return Y+": "+L}function $c(U,I,J){var z=0,v=U.reduce(function(Z,Y){if(z++,Y.indexOf(`
|
|
237
|
+
`)>=0)z++;return Z+Y.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(v>60)return J[0]+(I===""?"":I+`
|
|
238
|
+
`)+" "+U.join(`,
|
|
239
|
+
`)+" "+J[1];return J[0]+I+" "+U.join(", ")+" "+J[1]}function bE(U){return Array.isArray(U)}function sH(U){return typeof U==="boolean"}function tV(U){return U===null}function Uc(U){return U==null}function mE(U){return typeof U==="number"}function sV(U){return typeof U==="string"}function vc(U){return typeof U==="symbol"}function M8(U){return U===void 0}function nV(U){return L8(U)&&aH(U)==="[object RegExp]"}function L8(U){return typeof U==="object"&&U!==null}function oH(U){return L8(U)&&aH(U)==="[object Date]"}function iV(U){return L8(U)&&(aH(U)==="[object Error]"||U instanceof Error)}function rV(U){return typeof U==="function"}function Ic(U){return U===null||typeof U==="boolean"||typeof U==="number"||typeof U==="string"||typeof U==="symbol"||typeof U>"u"}function Xc(U){return U instanceof Buffer}function aH(U){return Object.prototype.toString.call(U)}function iH(U){return U<10?"0"+U.toString(10):U.toString(10)}function Qc(){var U=new Date,I=[iH(U.getHours()),iH(U.getMinutes()),iH(U.getSeconds())].join(":");return[U.getDate(),Jc[U.getMonth()],I].join(" ")}function uE(...U){console.log("%s - %s",Qc(),tH.apply(null,U))}function hE(U,I){if(I)U.super_=I,U.prototype=Object.create(I.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}})}function eH(U,I){if(!I||!L8(I))return U;var J=Object.keys(I),z=J.length;while(z--)U[J[z]]=I[J[z]];return U}function pE(U,I){return Object.prototype.hasOwnProperty.call(U,I)}function $5(U,I){if(!U){var J=Error("Promise was rejected with a falsy value");J.reason=U,U=J}return I(U)}function dE(U){if(typeof U!=="function")throw TypeError('The "original" argument must be of type Function');function I(...J){var z=J.pop();if(typeof z!=="function")throw TypeError("The last argument must be of type Function");var v=this,Z=function(...Y){return z.apply(v,...Y)};U.apply(this,J).then(function(Y){process.nextTick(Z.bind(null,null,Y))},function(Y){process.nextTick($5.bind(null,Y,Z))})}return Object.setPrototypeOf(I,Object.getPrototypeOf(U)),Object.defineProperties(I,Object.getOwnPropertyDescriptors(U)),I}var nk,rk,lZ,jc=()=>{},Jc,lE,nE,iE,Yc;var q8=F8(()=>{nk=/%[sdj%]/g;rk=((U={},I={},J)=>((J=typeof process<"u"&&!1)&&(J=J.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),I=new RegExp("^"+J+"$","i"),(z)=>{if(z=z.toUpperCase(),!U[z])if(I.test(z))U[z]=function(...v){console.error("%s: %s",z,pid,tH.apply(null,...v))};else U[z]=function(){};return U[z]}))(),lZ=((U)=>(U.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]},U.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},U.custom=Symbol.for("nodejs.util.inspect.custom"),U))(function(U,I,...J){var z={seen:[],stylize:tk};if(J.length>=1)z.depth=J[0];if(J.length>=2)z.colors=J[1];if(sH(I))z.showHidden=I;else if(I)eH(z,I);if(M8(z.showHidden))z.showHidden=!1;if(M8(z.depth))z.depth=2;if(M8(z.colors))z.colors=!1;if(z.colors)z.stylize=ok;return oV(z,U,z.depth)});Jc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];lE=((U)=>(U.custom=Symbol.for("nodejs.util.promisify.custom"),U))(function(U){if(typeof U!=="function")throw TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&U[kCustomPromisifiedSymbol]){var I=U[kCustomPromisifiedSymbol];if(typeof I!=="function")throw TypeError('The "nodejs.util.promisify.custom" argument must be of type Function');return Object.defineProperty(I,kCustomPromisifiedSymbol,{value:I,enumerable:!1,writable:!1,configurable:!0}),I}function I(...J){var z,v,Z=new Promise(function(Y,L){z=Y,v=L});J.push(function(Y,L){if(Y)v(Y);else z(L)});try{U.apply(this,J)}catch(Y){v(Y)}return Z}if(Object.setPrototypeOf(I,Object.getPrototypeOf(U)),kCustomPromisifiedSymbol)Object.defineProperty(I,kCustomPromisifiedSymbol,{value:I,enumerable:!1,writable:!1,configurable:!0});return Object.defineProperties(I,Object.getOwnPropertyDescriptors(U))});({TextEncoder:nE,TextDecoder:iE}=globalThis),Yc={TextEncoder:nE,TextDecoder:iE,promisify:lE,log:uE,inherits:hE,_extend:eH,callbackifyOnRejected:$5,callbackify:dE}});var C8={};m1(C8,{setMaxListeners:()=>IT,once:()=>UT,listenerCount:()=>XT,init:()=>LG,getMaxListeners:()=>QT,getEventListeners:()=>vT,default:()=>Fc,captureRejectionSymbol:()=>aE,addAbortListener:()=>YT,EventEmitter:()=>LG});function eE(U,I){var{_events:J}=U;if(I[0]??=Error("Unhandled error."),!J)throw I[0];var z=J[sE];if(z)for(var v of oE.call(z))v.apply(U,I);var Z=J.error;if(!Z)throw I[0];for(var v of oE.call(Z))v.apply(U,I);return!0}function zc(U,I,J,z){I.then(void 0,function(v){queueMicrotask(()=>Wc(U,v,J,z))})}function Wc(U,I,J,z){if(typeof U[rE]==="function")U[rE](I,J,...z);else try{U[dZ]=!1,U.emit("error",I)}finally{U[dZ]=!0}}function $T(U,I,J){J.warned=!0;let z=Error(`Possible EventEmitter memory leak detected. ${J.length} ${String(I)} listeners added to [${U.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);z.name="MaxListenersExceededWarning",z.emitter=U,z.type=I,z.count=J.length,console.warn(z)}function jT(U,I,...J){this.removeListener(U,I),I.apply(this,J)}function UT(U,I,J){var z=J?.signal;if(JT(z,"options.signal"),z?.aborted)throw new j5(void 0,{cause:z?.reason});let{resolve:v,reject:Z,promise:Y}=$newPromiseCapability(Promise),L=(g)=>{if(U.removeListener(I,S),z!=null)aV(z,"abort",B);Z(g)},S=(...g)=>{if(typeof U.removeListener==="function")U.removeListener("error",L);if(z!=null)aV(z,"abort",B);v(g)};if(tE(U,I,S,{once:!0}),I!=="error"&&typeof U.once==="function")U.once("error",L);function B(){aV(U,I,S),aV(U,"error",L),Z(new j5(void 0,{cause:z?.reason}))}if(z!=null)tE(z,"abort",B,{once:!0});return Y}function vT(U,I){return U.listeners(I)}function IT(U,...I){v5(U,"setMaxListeners",0);var J;if(I&&(J=I.length))for(let z=0;z<J;z++)I[z].setMaxListeners(U);else nZ=U}function XT(U,I){return U.listenerCount(I)}function aV(U,I,J,z){if(typeof U.removeListener==="function")U.removeListener(I,J);else U.removeEventListener(I,J,z)}function tE(U,I,J,z){if(typeof U.on==="function")if(z.once)U.once(I,J);else U.on(I,J);else U.addEventListener(I,J,z)}function P8(U,I,J){let z=TypeError(`The "${U}" argument must be of type ${I}. Received ${J}`);return z.code="ERR_INVALID_ARG_TYPE",z}function Vc(U,I,J){let z=RangeError(`The "${U}" argument is out of range. It must be ${I}. Received ${J}`);return z.code="ERR_OUT_OF_RANGE",z}function JT(U,I){if(U!==void 0&&(U===null||typeof U!=="object"||!("aborted"in U)))throw P8(I,"AbortSignal",U)}function v5(U,I,J,z){if(typeof U!=="number")throw P8(I,"number",U);if(J!=null&&U<J||z!=null&&U>z||(J!=null||z!=null)&&Number.isNaN(U))throw Vc(I,`${J!=null?`>= ${J}`:""}${J!=null&&z!=null?" && ":""}${z!=null?`<= ${z}`:""}`,U)}function PK(U){if(typeof U!=="function")throw TypeError("The listener must be a function")}function Dc(U,I){if(typeof U!=="boolean")throw P8(I,"boolean",U)}function QT(U){return U?._maxListeners??nZ}function YT(U,I){if(U===void 0)throw P8("signal","AbortSignal",U);if(JT(U,"signal"),typeof I!=="function")throw P8("listener","function",I);let J;if(U.aborted)queueMicrotask(()=>I());else U.addEventListener("abort",I,{__proto__:null,once:!0}),J=()=>{U.removeEventListener("abort",I)};return{__proto__:null,[Symbol.dispose](){J?.()}}}var U5,dZ,sE,Gc,Zc,rE,aE,oE,nZ=10,LG=function(U){if(this._events===void 0||this._events===this.__proto__._events)this._events={__proto__:null},this._eventsCount=0;if(this._maxListeners??=void 0,this[dZ]=U?.captureRejections?Boolean(U?.captureRejections):fU[dZ])this.emit=Oc},fU,Kc=function(U,...I){if(U==="error")return eE(this,I);var{_events:J}=this;if(J===void 0)return!1;var z=J[U];if(z===void 0)return!1;let v=z.length>1?z.slice():z;for(let Z=0,{length:Y}=v;Z<Y;Z++){let L=v[Z];switch(I.length){case 0:L.call(this);break;case 1:L.call(this,I[0]);break;case 2:L.call(this,I[0],I[1]);break;case 3:L.call(this,I[0],I[1],I[2]);break;default:L.apply(this,I);break}}return!0},Oc=function(U,...I){if(U==="error")return eE(this,I);var{_events:J}=this;if(J===void 0)return!1;var z=J[U];if(z===void 0)return!1;let v=z.length>1?z.slice():z;for(let Z=0,{length:Y}=v;Z<Y;Z++){let L=v[Z],S;switch(I.length){case 0:S=L.call(this);break;case 1:S=L.call(this,I[0]);break;case 2:S=L.call(this,I[0],I[1]);break;case 3:S=L.call(this,I[0],I[1],I[2]);break;default:S=L.apply(this,I);break}if(S!==void 0&&typeof S?.then==="function"&&S.then===Promise.prototype.then)zc(this,S,U,I)}return!0},j5,Fc;var R8=F8(()=>{U5=Symbol.for,dZ=Symbol("kCapture"),sE=U5("events.errorMonitor"),Gc=Symbol("events.maxEventTargetListeners"),Zc=Symbol("events.maxEventTargetListenersWarned"),rE=U5("nodejs.rejection"),aE=U5("nodejs.rejection"),oE=Array.prototype.slice,fU=LG.prototype={};fU._events=void 0;fU._eventsCount=0;fU._maxListeners=void 0;fU.setMaxListeners=function(U){return v5(U,"setMaxListeners",0),this._maxListeners=U,this};fU.constructor=LG;fU.getMaxListeners=function(){return this?._maxListeners??nZ};fU.emit=Kc;fU.addListener=function(U,I){PK(I);var J=this._events;if(!J)J=this._events={__proto__:null},this._eventsCount=0;else if(J.newListener)this.emit("newListener",U,I.listener??I);var z=J[U];if(!z)J[U]=[I],this._eventsCount++;else{z.push(I);var v=this._maxListeners??nZ;if(v>0&&z.length>v&&!z.warned)$T(this,U,z)}return this};fU.on=fU.addListener;fU.prependListener=function(U,I){PK(I);var J=this._events;if(!J)J=this._events={__proto__:null},this._eventsCount=0;else if(J.newListener)this.emit("newListener",U,I.listener??I);var z=J[U];if(!z)J[U]=[I],this._eventsCount++;else{z.unshift(I);var v=this._maxListeners??nZ;if(v>0&&z.length>v&&!z.warned)$T(this,U,z)}return this};fU.once=function(U,I){PK(I);let J=jT.bind(this,U,I);return J.listener=I,this.addListener(U,J),this};fU.prependOnceListener=function(U,I){PK(I);let J=jT.bind(this,U,I);return J.listener=I,this.prependListener(U,J),this};fU.removeListener=function(U,I){PK(I);var{_events:J}=this;if(!J)return this;var z=J[U];if(!z)return this;var v=z.length;let Z=-1;for(let Y=v-1;Y>=0;Y--)if(z[Y]===I||z[Y].listener===I){Z=Y;break}if(Z<0)return this;if(Z===0)z.shift();else z.splice(Z,1);if(z.length===0)delete J[U],this._eventsCount--;return this};fU.off=fU.removeListener;fU.removeAllListeners=function(U){var{_events:I}=this;if(U&&I){if(I[U])delete I[U],this._eventsCount--}else this._events={__proto__:null};return this};fU.listeners=function(U){var{_events:I}=this;if(!I)return[];var J=I[U];if(!J)return[];return J.map((z)=>z.listener??z)};fU.rawListeners=function(U){var{_events:I}=this;if(!I)return[];var J=I[U];if(!J)return[];return J.slice()};fU.listenerCount=function(U){var{_events:I}=this;if(!I)return 0;return I[U]?.length??0};fU.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};fU[dZ]=!1;j5=class j5 extends Error{constructor(U="The operation was aborted",I=void 0){if(I!==void 0&&typeof I!=="object")throw P8("options","Object",I);super(U,I);this.code="ABORT_ERR",this.name="AbortError"}};Object.defineProperties(LG,{captureRejections:{get(){return fU[dZ]},set(U){Dc(U,"EventEmitter.captureRejections"),fU[dZ]=U},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return nZ},set:(U)=>{v5(U,"defaultMaxListeners",0),nZ=U}},kMaxEventTargetListeners:{value:Gc,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:Zc,enumerable:!1,configurable:!1,writable:!1}});Object.assign(LG,{once:UT,getEventListeners:vT,getMaxListeners:QT,setMaxListeners:IT,EventEmitter:LG,usingDomains:!1,captureRejectionSymbol:aE,errorMonitor:sE,addAbortListener:YT,init:LG,listenerCount:XT});Fc=LG});var T8=hX((md,DT)=>{var r2=(U,I)=>()=>(I||U((I={exports:{}}).exports,I),I.exports),J4=r2((U,I)=>{class J extends Error{constructor(z){if(!Array.isArray(z))throw TypeError(`Expected input to be an Array, got ${typeof z}`);let v="";for(let Z=0;Z<z.length;Z++)v+=` ${z[Z].stack}
|
|
240
|
+
`;super(v);this.name="AggregateError",this.errors=z}}I.exports={AggregateError:J,ArrayIsArray(z){return Array.isArray(z)},ArrayPrototypeIncludes(z,v){return z.includes(v)},ArrayPrototypeIndexOf(z,v){return z.indexOf(v)},ArrayPrototypeJoin(z,v){return z.join(v)},ArrayPrototypeMap(z,v){return z.map(v)},ArrayPrototypePop(z,v){return z.pop(v)},ArrayPrototypePush(z,v){return z.push(v)},ArrayPrototypeSlice(z,v,Z){return z.slice(v,Z)},Error,FunctionPrototypeCall(z,v,...Z){return z.call(v,...Z)},FunctionPrototypeSymbolHasInstance(z,v){return Function.prototype[Symbol.hasInstance].call(z,v)},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(z,v){return Object.defineProperties(z,v)},ObjectDefineProperty(z,v,Z){return Object.defineProperty(z,v,Z)},ObjectGetOwnPropertyDescriptor(z,v){return Object.getOwnPropertyDescriptor(z,v)},ObjectKeys(z){return Object.keys(z)},ObjectSetPrototypeOf(z,v){return Object.setPrototypeOf(z,v)},Promise,PromisePrototypeCatch(z,v){return z.catch(v)},PromisePrototypeThen(z,v,Z){return z.then(v,Z)},PromiseReject(z){return Promise.reject(z)},PromiseResolve(z){return Promise.resolve(z)},ReflectApply:Reflect.apply,RegExpPrototypeTest(z,v){return z.test(v)},SafeSet:Set,String,StringPrototypeSlice(z,v,Z){return z.slice(v,Z)},StringPrototypeToLowerCase(z){return z.toLowerCase()},StringPrototypeToUpperCase(z){return z.toUpperCase()},StringPrototypeTrim(z){return z.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(z,v,Z){return z.set(v,Z)},Boolean,Uint8Array}}),GT=r2((U,I)=>{I.exports={format(J,...z){return J.replace(/%([sdifj])/g,function(...[v,Z]){let Y=z.shift();if(Z==="f")return Y.toFixed(6);else if(Z==="j")return JSON.stringify(Y);else if(Z==="s"&&typeof Y==="object")return`${Y.constructor!==Object?Y.constructor.name:""} {}`.trim();else return Y.toString()})},inspect(J){switch(typeof J){case"string":if(J.includes("'")){if(!J.includes('"'))return`"${J}"`;else if(!J.includes("`")&&!J.includes("${"))return`\`${J}\``}return`'${J}'`;case"number":if(isNaN(J))return"NaN";else if(Object.is(J,-0))return String(J);return J;case"bigint":return`${String(J)}n`;case"boolean":case"undefined":return String(J);case"object":return"{}"}}}}),u1=r2((U,I)=>{var{format:J,inspect:z}=GT(),{AggregateError:v}=J4(),Z=globalThis.AggregateError||v,Y=Symbol("kIsNodeError"),L=["string","function","number","object","Function","Object","boolean","bigint","symbol"],S=/^([A-Z][a-z0-9]*)+$/,B={};function g(i,m){if(!i)throw new B.ERR_INTERNAL_ASSERTION(m)}function H(i){let m="",n=i.length,a=i[0]==="-"?1:0;for(;n>=a+4;n-=3)m=`_${i.slice(n-3,n)}${m}`;return`${i.slice(0,n)}${m}`}function T(i,m,n){if(typeof m==="function")return g(m.length<=n.length,`Code: ${i}; The provided arguments length (${n.length}) does not match the required ones (${m.length}).`),m(...n);let a=(m.match(/%[dfijoOs]/g)||[]).length;if(g(a===n.length,`Code: ${i}; The provided arguments length (${n.length}) does not match the required ones (${a}).`),n.length===0)return m;return J(m,...n)}function c(i,m,n){if(!n)n=Error;class a extends n{constructor(...j0){super(T(i,m,j0))}toString(){return`${this.name} [${i}]: ${this.message}`}}Object.defineProperties(a.prototype,{name:{value:n.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${i}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),a.prototype.code=i,a.prototype[Y]=!0,B[i]=a}function x(i){let m="__node_internal_"+i.name;return Object.defineProperty(i,"name",{value:m}),i}function u(i,m){if(i&&m&&i!==m){if(Array.isArray(m.errors))return m.errors.push(i),m;let n=new Z([m,i],m.message);return n.code=m.code,n}return i||m}class h extends Error{constructor(i="The operation was aborted",m=void 0){if(m!==void 0&&typeof m!=="object")throw new B.ERR_INVALID_ARG_TYPE("options","Object",m);super(i,m);this.code="ABORT_ERR",this.name="AbortError"}}c("ERR_ASSERTION","%s",Error),c("ERR_INVALID_ARG_TYPE",(i,m,n)=>{if(g(typeof i==="string","'name' must be a string"),!Array.isArray(m))m=[m];let a="The ";if(i.endsWith(" argument"))a+=`${i} `;else a+=`"${i}" ${i.includes(".")?"property":"argument"} `;a+="must be ";let j0=[],Y0=[],C0=[];for(let h0 of m)if(g(typeof h0==="string","All expected entries have to be of type string"),L.includes(h0))j0.push(h0.toLowerCase());else if(S.test(h0))Y0.push(h0);else g(h0!=="object",'The value "object" should be written as "Object"'),C0.push(h0);if(Y0.length>0){let h0=j0.indexOf("object");if(h0!==-1)j0.splice(j0,h0,1),Y0.push("Object")}if(j0.length>0){switch(j0.length){case 1:a+=`of type ${j0[0]}`;break;case 2:a+=`one of type ${j0[0]} or ${j0[1]}`;break;default:{let h0=j0.pop();a+=`one of type ${j0.join(", ")}, or ${h0}`}}if(Y0.length>0||C0.length>0)a+=" or "}if(Y0.length>0){switch(Y0.length){case 1:a+=`an instance of ${Y0[0]}`;break;case 2:a+=`an instance of ${Y0[0]} or ${Y0[1]}`;break;default:{let h0=Y0.pop();a+=`an instance of ${Y0.join(", ")}, or ${h0}`}}if(C0.length>0)a+=" or "}switch(C0.length){case 0:break;case 1:if(C0[0].toLowerCase()!==C0[0])a+="an ";a+=`${C0[0]}`;break;case 2:a+=`one of ${C0[0]} or ${C0[1]}`;break;default:{let h0=C0.pop();a+=`one of ${C0.join(", ")}, or ${h0}`}}if(n==null)a+=`. Received ${n}`;else if(typeof n==="function"&&n.name)a+=`. Received function ${n.name}`;else if(typeof n==="object"){var S0;if((S0=n.constructor)!==null&&S0!==void 0&&S0.name)a+=`. Received an instance of ${n.constructor.name}`;else{let h0=z(n,{depth:-1});a+=`. Received ${h0}`}}else{let h0=z(n,{colors:!1});if(h0.length>25)h0=`${h0.slice(0,25)}...`;a+=`. Received type ${typeof n} (${h0})`}return a},TypeError),c("ERR_INVALID_ARG_VALUE",(i,m,n="is invalid")=>{let a=z(m);if(a.length>128)a=a.slice(0,128)+"...";return`The ${i.includes(".")?"property":"argument"} '${i}' ${n}. Received ${a}`},TypeError),c("ERR_INVALID_RETURN_VALUE",(i,m,n)=>{var a;let j0=n!==null&&n!==void 0&&(a=n.constructor)!==null&&a!==void 0&&a.name?`instance of ${n.constructor.name}`:`type ${typeof n}`;return`Expected ${i} to be returned from the "${m}" function but got ${j0}.`},TypeError),c("ERR_MISSING_ARGS",(...i)=>{g(i.length>0,"At least one arg needs to be specified");let m,n=i.length;switch(i=(Array.isArray(i)?i:[i]).map((a)=>`"${a}"`).join(" or "),n){case 1:m+=`The ${i[0]} argument`;break;case 2:m+=`The ${i[0]} and ${i[1]} arguments`;break;default:{let a=i.pop();m+=`The ${i.join(", ")}, and ${a} arguments`}break}return`${m} must be specified`},TypeError),c("ERR_OUT_OF_RANGE",(i,m,n)=>{g(m,'Missing "range" argument');let a;if(Number.isInteger(n)&&Math.abs(n)>4294967296)a=H(String(n));else if(typeof n==="bigint"){a=String(n);let j0=BigInt(2)**BigInt(32);if(n>j0||n<-j0)a=H(a);a+="n"}else a=z(n);return`The value of "${i}" is out of range. It must be ${m}. Received ${a}`},RangeError),c("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),c("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),c("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),c("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),c("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),c("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),c("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),c("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),c("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),c("ERR_STREAM_WRITE_AFTER_END","write after end",Error),c("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),I.exports={AbortError:h,aggregateTwoErrors:x(u),hideStackFrames:x,codes:B}}),Hc=r2((U,I)=>{Object.defineProperty(U,"__esModule",{value:!0});var J=new WeakMap,z=new WeakMap;function v(X0){let x0=J.get(X0);return console.assert(x0!=null,"'this' is expected an Event object, but got",X0),x0}function Z(X0){if(X0.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",X0.passiveListener);return}if(!X0.event.cancelable)return;if(X0.canceled=!0,typeof X0.event.preventDefault==="function")X0.event.preventDefault()}function Y(X0,x0){J.set(this,{eventTarget:X0,event:x0,eventPhase:2,currentTarget:X0,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:x0.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let Q=Object.keys(x0);for(let K=0;K<Q.length;++K){let D=Q[K];if(!(D in this))Object.defineProperty(this,D,L(D))}}if(Y.prototype={get type(){return v(this).event.type},get target(){return v(this).eventTarget},get currentTarget(){return v(this).currentTarget},composedPath(){let X0=v(this).currentTarget;if(X0==null)return[];return[X0]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return v(this).eventPhase},stopPropagation(){let X0=v(this);if(X0.stopped=!0,typeof X0.event.stopPropagation==="function")X0.event.stopPropagation()},stopImmediatePropagation(){let X0=v(this);if(X0.stopped=!0,X0.immediateStopped=!0,typeof X0.event.stopImmediatePropagation==="function")X0.event.stopImmediatePropagation()},get bubbles(){return Boolean(v(this).event.bubbles)},get cancelable(){return Boolean(v(this).event.cancelable)},preventDefault(){Z(v(this))},get defaultPrevented(){return v(this).canceled},get composed(){return Boolean(v(this).event.composed)},get timeStamp(){return v(this).timeStamp},get srcElement(){return v(this).eventTarget},get cancelBubble(){return v(this).stopped},set cancelBubble(X0){if(!X0)return;let x0=v(this);if(x0.stopped=!0,typeof x0.event.cancelBubble==="boolean")x0.event.cancelBubble=!0},get returnValue(){return!v(this).canceled},set returnValue(X0){if(!X0)Z(v(this))},initEvent(){}},Object.defineProperty(Y.prototype,"constructor",{value:Y,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(Y.prototype,window.Event.prototype),z.set(window.Event.prototype,Y);function L(X0){return{get(){return v(this).event[X0]},set(x0){v(this).event[X0]=x0},configurable:!0,enumerable:!0}}function S(X0){return{value(){let x0=v(this).event;return x0[X0].apply(x0,arguments)},configurable:!0,enumerable:!0}}function B(X0,x0){let Q=Object.keys(x0);if(Q.length===0)return X0;function K(D,W){X0.call(this,D,W)}K.prototype=Object.create(X0.prototype,{constructor:{value:K,configurable:!0,writable:!0}});for(let D=0;D<Q.length;++D){let W=Q[D];if(!(W in X0.prototype)){let V=typeof Object.getOwnPropertyDescriptor(x0,W).value==="function";Object.defineProperty(K.prototype,W,V?S(W):L(W))}}return K}function g(X0){if(X0==null||X0===Object.prototype)return Y;let x0=z.get(X0);if(x0==null)x0=B(g(Object.getPrototypeOf(X0)),X0),z.set(X0,x0);return x0}function H(X0,x0){return new(g(Object.getPrototypeOf(x0)))(X0,x0)}function T(X0){return v(X0).immediateStopped}function c(X0,x0){v(X0).eventPhase=x0}function x(X0,x0){v(X0).currentTarget=x0}function u(X0,x0){v(X0).passiveListener=x0}var h=new WeakMap,i=1,m=2,n=3;function a(X0){return X0!==null&&typeof X0==="object"}function j0(X0){let x0=h.get(X0);if(x0==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return x0}function Y0(X0){return{get(){let x0=j0(this).get(X0);while(x0!=null){if(x0.listenerType===n)return x0.listener;x0=x0.next}return null},set(x0){if(typeof x0!=="function"&&!a(x0))x0=null;let Q=j0(this),K=null,D=Q.get(X0);while(D!=null){if(D.listenerType===n)if(K!==null)K.next=D.next;else if(D.next!==null)Q.set(X0,D.next);else Q.delete(X0);else K=D;D=D.next}if(x0!==null){let W={listener:x0,listenerType:n,passive:!1,once:!1,next:null};if(K===null)Q.set(X0,W);else K.next=W}},configurable:!0,enumerable:!0}}function C0(X0,x0){Object.defineProperty(X0,`on${x0}`,Y0(x0))}function S0(X0){function x0(){h0.call(this)}x0.prototype=Object.create(h0.prototype,{constructor:{value:x0,configurable:!0,writable:!0}});for(let Q=0;Q<X0.length;++Q)C0(x0.prototype,X0[Q]);return x0}function h0(){if(this instanceof h0){h.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return S0(arguments[0]);if(arguments.length>0){let X0=Array(arguments.length);for(let x0=0;x0<arguments.length;++x0)X0[x0]=arguments[x0];return S0(X0)}throw TypeError("Cannot call a class as a function")}if(h0.prototype={addEventListener(X0,x0,Q){if(x0==null)return;if(typeof x0!=="function"&&!a(x0))throw TypeError("'listener' should be a function or an object.");let K=j0(this),D=a(Q),W=(D?Boolean(Q.capture):Boolean(Q))?i:m,V={listener:x0,listenerType:W,passive:D&&Boolean(Q.passive),once:D&&Boolean(Q.once),next:null},R=K.get(X0);if(R===void 0){K.set(X0,V);return}let N=null;while(R!=null){if(R.listener===x0&&R.listenerType===W)return;N=R,R=R.next}N.next=V},removeEventListener(X0,x0,Q){if(x0==null)return;let K=j0(this),D=(a(Q)?Boolean(Q.capture):Boolean(Q))?i:m,W=null,V=K.get(X0);while(V!=null){if(V.listener===x0&&V.listenerType===D){if(W!==null)W.next=V.next;else if(V.next!==null)K.set(X0,V.next);else K.delete(X0);return}W=V,V=V.next}},dispatchEvent(X0){if(X0==null||typeof X0.type!=="string")throw TypeError('"event.type" should be a string.');let x0=j0(this),Q=X0.type,K=x0.get(Q);if(K==null)return!0;let D=H(this,X0),W=null;while(K!=null){if(K.once)if(W!==null)W.next=K.next;else if(K.next!==null)x0.set(Q,K.next);else x0.delete(Q);else W=K;if(u(D,K.passive?K.listener:null),typeof K.listener==="function")try{K.listener.call(this,D)}catch(V){if(typeof console<"u"&&typeof console.error==="function")console.error(V)}else if(K.listenerType!==n&&typeof K.listener.handleEvent==="function")K.listener.handleEvent(D);if(T(D))break;K=K.next}return u(D,null),c(D,0),x(D,null),!D.defaultPrevented}},Object.defineProperty(h0.prototype,"constructor",{value:h0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(h0.prototype,window.EventTarget.prototype);U.defineEventAttribute=C0,U.EventTarget=h0,U.default=h0,I.exports=h0,I.exports.EventTarget=I.exports.default=h0,I.exports.defineEventAttribute=C0}),CK=r2((U,I)=>{Object.defineProperty(U,"__esModule",{value:!0});var J=Hc();class z extends J.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let g=Y.get(this);if(typeof g!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return g}}J.defineEventAttribute(z.prototype,"abort");function v(){let g=Object.create(z.prototype);return J.EventTarget.call(g),Y.set(g,!1),g}function Z(g){if(Y.get(g)!==!1)return;Y.set(g,!0),g.dispatchEvent({type:"abort"})}var Y=new WeakMap;if(Object.defineProperties(z.prototype,{aborted:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(z.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class L{constructor(){S.set(this,v())}get signal(){return B(this)}abort(){Z(B(this))}}var S=new WeakMap;function B(g){let H=S.get(g);if(H==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${g===null?"null":typeof g}`);return H}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"});U.AbortController=L,U.AbortSignal=z,U.default=L,I.exports=L,I.exports.AbortController=I.exports.default=L,I.exports.AbortSignal=z}),Mv=r2((U,I)=>{var J=(F4(),Mj(D4)),{format:z,inspect:v}=GT(),{codes:{ERR_INVALID_ARG_TYPE:Z}}=u1(),{kResistStopPropagation:Y,AggregateError:L,SymbolDispose:S}=J4(),B=globalThis.AbortSignal||CK().AbortSignal,g=globalThis.AbortController||CK().AbortController,H=Object.getPrototypeOf(async function(){}).constructor,T=globalThis.Blob||J.Blob,c=typeof T<"u"?function(h){return h instanceof T}:function(h){return!1},x=(h,i)=>{if(h!==void 0&&(h===null||typeof h!=="object"||!("aborted"in h)))throw new Z(i,"AbortSignal",h)},u=(h,i)=>{if(typeof h!=="function")throw new Z(i,"Function",h)};I.exports={AggregateError:L,kEmptyObject:Object.freeze({}),once(h){let i=!1;return function(...m){if(i)return;i=!0,h.apply(this,m)}},createDeferredPromise:function(){let h,i;return{promise:new Promise((m,n)=>{h=m,i=n}),resolve:h,reject:i}},promisify(h){return new Promise((i,m)=>{h((n,...a)=>{if(n)return m(n);return i(...a)})})},debuglog(){return function(){}},format:z,inspect:v,types:{isAsyncFunction(h){return h instanceof H},isArrayBufferView(h){return ArrayBuffer.isView(h)}},isBlob:c,deprecate(h,i){return h},addAbortListener:(R8(),Mj(C8)).addAbortListener||function(h,i){if(h===void 0)throw new Z("signal","AbortSignal",h);x(h,"signal"),u(i,"listener");let m;if(h.aborted)queueMicrotask(()=>i());else h.addEventListener("abort",i,{__proto__:null,once:!0,[Y]:!0}),m=()=>{h.removeEventListener("abort",i)};return{__proto__:null,[S](){var n;(n=m)===null||n===void 0||n()}}},AbortSignalAny:B.any||function(h){if(h.length===1)return h[0];let i=new g,m=()=>i.abort();return h.forEach((n)=>{x(n,"signals"),n.addEventListener("abort",m,{once:!0})}),i.signal.addEventListener("abort",()=>{h.forEach((n)=>n.removeEventListener("abort",m))},{once:!0}),i.signal}},I.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),RK=r2((U,I)=>{var{ArrayIsArray:J,ArrayPrototypeIncludes:z,ArrayPrototypeJoin:v,ArrayPrototypeMap:Z,NumberIsInteger:Y,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:S,NumberMIN_SAFE_INTEGER:B,NumberParseInt:g,ObjectPrototypeHasOwnProperty:H,RegExpPrototypeExec:T,String:c,StringPrototypeToUpperCase:x,StringPrototypeTrim:u}=J4(),{hideStackFrames:h,codes:{ERR_SOCKET_BAD_PORT:i,ERR_INVALID_ARG_TYPE:m,ERR_INVALID_ARG_VALUE:n,ERR_OUT_OF_RANGE:a,ERR_UNKNOWN_SIGNAL:j0}}=u1(),{normalizeEncoding:Y0}=Mv(),{isAsyncFunction:C0,isArrayBufferView:S0}=Mv().types,h0={};function X0(O0){return O0===(O0|0)}function x0(O0){return O0===O0>>>0}var Q=/^[0-7]+$/,K="must be a 32-bit unsigned integer or an octal string";function D(O0,P0,q$){if(typeof O0>"u")O0=q$;if(typeof O0==="string"){if(T(Q,O0)===null)throw new n(P0,O0,K);O0=g(O0,8)}return R(O0,P0),O0}var W=h((O0,P0,q$=B,w0=S)=>{if(typeof O0!=="number")throw new m(P0,"number",O0);if(!Y(O0))throw new a(P0,"an integer",O0);if(O0<q$||O0>w0)throw new a(P0,`>= ${q$} && <= ${w0}`,O0)}),V=h((O0,P0,q$=-2147483648,w0=2147483647)=>{if(typeof O0!=="number")throw new m(P0,"number",O0);if(!Y(O0))throw new a(P0,"an integer",O0);if(O0<q$||O0>w0)throw new a(P0,`>= ${q$} && <= ${w0}`,O0)}),R=h((O0,P0,q$=!1)=>{if(typeof O0!=="number")throw new m(P0,"number",O0);if(!Y(O0))throw new a(P0,"an integer",O0);let w0=q$?1:0,n0=4294967295;if(O0<w0||O0>n0)throw new a(P0,`>= ${w0} && <= ${n0}`,O0)});function N(O0,P0){if(typeof O0!=="string")throw new m(P0,"string",O0)}function q(O0,P0,q$=void 0,w0){if(typeof O0!=="number")throw new m(P0,"number",O0);if(q$!=null&&O0<q$||w0!=null&&O0>w0||(q$!=null||w0!=null)&&L(O0))throw new a(P0,`${q$!=null?`>= ${q$}`:""}${q$!=null&&w0!=null?" && ":""}${w0!=null?`<= ${w0}`:""}`,O0)}var G=h((O0,P0,q$)=>{if(!z(q$,O0)){let w0="must be one of: "+v(Z(q$,(n0)=>typeof n0==="string"?`'${n0}'`:c(n0)),", ");throw new n(P0,O0,w0)}});function C(O0,P0){if(typeof O0!=="boolean")throw new m(P0,"boolean",O0)}function b(O0,P0,q$){return O0==null||!H(O0,P0)?q$:O0[P0]}var y=h((O0,P0,q$=null)=>{let w0=b(q$,"allowArray",!1),n0=b(q$,"allowFunction",!1);if(!b(q$,"nullable",!1)&&O0===null||!w0&&J(O0)||typeof O0!=="object"&&(!n0||typeof O0!=="function"))throw new m(P0,"Object",O0)}),o=h((O0,P0)=>{if(O0!=null&&typeof O0!=="object"&&typeof O0!=="function")throw new m(P0,"a dictionary",O0)}),J0=h((O0,P0,q$=0)=>{if(!J(O0))throw new m(P0,"Array",O0);if(O0.length<q$){let w0=`must be longer than ${q$}`;throw new n(P0,O0,w0)}});function K0(O0,P0){J0(O0,P0);for(let q$=0;q$<O0.length;q$++)N(O0[q$],`${P0}[${q$}]`)}function A0(O0,P0){J0(O0,P0);for(let q$=0;q$<O0.length;q$++)C(O0[q$],`${P0}[${q$}]`)}function H0(O0,P0){J0(O0,P0);for(let q$=0;q$<O0.length;q$++){let w0=O0[q$],n0=`${P0}[${q$}]`;if(w0==null)throw new m(n0,"AbortSignal",w0);k0(w0,n0)}}function W0(O0,P0="signal"){if(N(O0,P0),h0[O0]===void 0){if(h0[x(O0)]!==void 0)throw new j0(O0+" (signals must use all capital letters)");throw new j0(O0)}}var z0=h((O0,P0="buffer")=>{if(!S0(O0))throw new m(P0,["Buffer","TypedArray","DataView"],O0)});function D0(O0,P0){let q$=Y0(P0),w0=O0.length;if(q$==="hex"&&w0%2!==0)throw new n("encoding",P0,`is invalid for data of length ${w0}`)}function L0(O0,P0="Port",q$=!0){if(typeof O0!=="number"&&typeof O0!=="string"||typeof O0==="string"&&u(O0).length===0||+O0!==+O0>>>0||O0>65535||O0===0&&!q$)throw new i(P0,O0,q$);return O0|0}var k0=h((O0,P0)=>{if(O0!==void 0&&(O0===null||typeof O0!=="object"||!("aborted"in O0)))throw new m(P0,"AbortSignal",O0)}),Z0=h((O0,P0)=>{if(typeof O0!=="function")throw new m(P0,"Function",O0)}),r=h((O0,P0)=>{if(typeof O0!=="function"||C0(O0))throw new m(P0,"Function",O0)}),U0=h((O0,P0)=>{if(O0!==void 0)throw new m(P0,"undefined",O0)});function g0(O0,P0,q$){if(!z(q$,O0))throw new m(P0,`('${v(q$,"|")}')`,O0)}var M0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function R0(O0,P0){if(typeof O0>"u"||!T(M0,O0))throw new n(P0,O0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function o0(O0){if(typeof O0==="string")return R0(O0,"hints"),O0;else if(J(O0)){let P0=O0.length,q$="";if(P0===0)return q$;for(let w0=0;w0<P0;w0++){let n0=O0[w0];if(R0(n0,"hints"),q$+=n0,w0!==P0-1)q$+=", "}return q$}throw new n("hints",O0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}I.exports={isInt32:X0,isUint32:x0,parseFileMode:D,validateArray:J0,validateStringArray:K0,validateBooleanArray:A0,validateAbortSignalArray:H0,validateBoolean:C,validateBuffer:z0,validateDictionary:o,validateEncoding:D0,validateFunction:Z0,validateInt32:V,validateInteger:W,validateNumber:q,validateObject:y,validateOneOf:G,validatePlainFunction:r,validatePort:L0,validateSignalName:W0,validateString:N,validateUint32:R,validateUndefined:U0,validateUnion:g0,validateAbortSignal:k0,validateLinkHeaderValue:o0}}),iZ=r2((U,I)=>{I.exports=globalThis.process}),jY=r2((U,I)=>{var{SymbolAsyncIterator:J,SymbolIterator:z,SymbolFor:v}=J4(),Z=v("nodejs.stream.destroyed"),Y=v("nodejs.stream.errored"),L=v("nodejs.stream.readable"),S=v("nodejs.stream.writable"),B=v("nodejs.stream.disturbed"),g=v("nodejs.webstream.isClosedPromise"),H=v("nodejs.webstream.controllerErrorFunction");function T(b,y=!1){var o;return!!(b&&typeof b.pipe==="function"&&typeof b.on==="function"&&(!y||typeof b.pause==="function"&&typeof b.resume==="function")&&(!b._writableState||((o=b._readableState)===null||o===void 0?void 0:o.readable)!==!1)&&(!b._writableState||b._readableState))}function c(b){var y;return!!(b&&typeof b.write==="function"&&typeof b.on==="function"&&(!b._readableState||((y=b._writableState)===null||y===void 0?void 0:y.writable)!==!1))}function x(b){return!!(b&&typeof b.pipe==="function"&&b._readableState&&typeof b.on==="function"&&typeof b.write==="function")}function u(b){return b&&(b._readableState||b._writableState||typeof b.write==="function"&&typeof b.on==="function"||typeof b.pipe==="function"&&typeof b.on==="function")}function h(b){return!!(b&&!u(b)&&typeof b.pipeThrough==="function"&&typeof b.getReader==="function"&&typeof b.cancel==="function")}function i(b){return!!(b&&!u(b)&&typeof b.getWriter==="function"&&typeof b.abort==="function")}function m(b){return!!(b&&!u(b)&&typeof b.readable==="object"&&typeof b.writable==="object")}function n(b){return h(b)||i(b)||m(b)}function a(b,y){if(b==null)return!1;if(y===!0)return typeof b[J]==="function";if(y===!1)return typeof b[z]==="function";return typeof b[J]==="function"||typeof b[z]==="function"}function j0(b){if(!u(b))return null;let{_writableState:y,_readableState:o}=b,J0=y||o;return!!(b.destroyed||b[Z]||J0!==null&&J0!==void 0&&J0.destroyed)}function Y0(b){if(!c(b))return null;if(b.writableEnded===!0)return!0;let y=b._writableState;if(y!==null&&y!==void 0&&y.errored)return!1;if(typeof(y===null||y===void 0?void 0:y.ended)!=="boolean")return null;return y.ended}function C0(b,y){if(!c(b))return null;if(b.writableFinished===!0)return!0;let o=b._writableState;if(o!==null&&o!==void 0&&o.errored)return!1;if(typeof(o===null||o===void 0?void 0:o.finished)!=="boolean")return null;return!!(o.finished||y===!1&&o.ended===!0&&o.length===0)}function S0(b){if(!T(b))return null;if(b.readableEnded===!0)return!0;let y=b._readableState;if(!y||y.errored)return!1;if(typeof(y===null||y===void 0?void 0:y.ended)!=="boolean")return null;return y.ended}function h0(b,y){if(!T(b))return null;let o=b._readableState;if(o!==null&&o!==void 0&&o.errored)return!1;if(typeof(o===null||o===void 0?void 0:o.endEmitted)!=="boolean")return null;return!!(o.endEmitted||y===!1&&o.ended===!0&&o.length===0)}function X0(b){if(b&&b[L]!=null)return b[L];if(typeof(b===null||b===void 0?void 0:b.readable)!=="boolean")return null;if(j0(b))return!1;return T(b)&&b.readable&&!h0(b)}function x0(b){if(b&&b[S]!=null)return b[S];if(typeof(b===null||b===void 0?void 0:b.writable)!=="boolean")return null;if(j0(b))return!1;return c(b)&&b.writable&&!Y0(b)}function Q(b,y){if(!u(b))return null;if(j0(b))return!0;if((y===null||y===void 0?void 0:y.readable)!==!1&&X0(b))return!1;if((y===null||y===void 0?void 0:y.writable)!==!1&&x0(b))return!1;return!0}function K(b){var y,o;if(!u(b))return null;if(b.writableErrored)return b.writableErrored;return(y=(o=b._writableState)===null||o===void 0?void 0:o.errored)!==null&&y!==void 0?y:null}function D(b){var y,o;if(!u(b))return null;if(b.readableErrored)return b.readableErrored;return(y=(o=b._readableState)===null||o===void 0?void 0:o.errored)!==null&&y!==void 0?y:null}function W(b){if(!u(b))return null;if(typeof b.closed==="boolean")return b.closed;let{_writableState:y,_readableState:o}=b;if(typeof(y===null||y===void 0?void 0:y.closed)==="boolean"||typeof(o===null||o===void 0?void 0:o.closed)==="boolean")return(y===null||y===void 0?void 0:y.closed)||(o===null||o===void 0?void 0:o.closed);if(typeof b._closed==="boolean"&&V(b))return b._closed;return null}function V(b){return typeof b._closed==="boolean"&&typeof b._defaultKeepAlive==="boolean"&&typeof b._removedConnection==="boolean"&&typeof b._removedContLen==="boolean"}function R(b){return typeof b._sent100==="boolean"&&V(b)}function N(b){var y;return typeof b._consuming==="boolean"&&typeof b._dumped==="boolean"&&((y=b.req)===null||y===void 0?void 0:y.upgradeOrConnect)===void 0}function q(b){if(!u(b))return null;let{_writableState:y,_readableState:o}=b,J0=y||o;return!J0&&R(b)||!!(J0&&J0.autoDestroy&&J0.emitClose&&J0.closed===!1)}function G(b){var y;return!!(b&&((y=b[B])!==null&&y!==void 0?y:b.readableDidRead||b.readableAborted))}function C(b){var y,o,J0,K0,A0,H0,W0,z0,D0,L0;return!!(b&&((y=(o=(J0=(K0=(A0=(H0=b[Y])!==null&&H0!==void 0?H0:b.readableErrored)!==null&&A0!==void 0?A0:b.writableErrored)!==null&&K0!==void 0?K0:(W0=b._readableState)===null||W0===void 0?void 0:W0.errorEmitted)!==null&&J0!==void 0?J0:(z0=b._writableState)===null||z0===void 0?void 0:z0.errorEmitted)!==null&&o!==void 0?o:(D0=b._readableState)===null||D0===void 0?void 0:D0.errored)!==null&&y!==void 0?y:(L0=b._writableState)===null||L0===void 0?void 0:L0.errored))}I.exports={isDestroyed:j0,kIsDestroyed:Z,isDisturbed:G,kIsDisturbed:B,isErrored:C,kIsErrored:Y,isReadable:X0,kIsReadable:L,kIsClosedPromise:g,kControllerErrorFunction:H,kIsWritable:S,isClosed:W,isDuplexNodeStream:x,isFinished:Q,isIterable:a,isReadableNodeStream:T,isReadableStream:h,isReadableEnded:S0,isReadableFinished:h0,isReadableErrored:D,isNodeStream:u,isWebStream:n,isWritable:x0,isWritableNodeStream:c,isWritableStream:i,isWritableEnded:Y0,isWritableFinished:C0,isWritableErrored:K,isServerRequest:N,isServerResponse:R,willEmitClose:q,isTransformStream:m}}),AG=r2((U,I)=>{var J=iZ(),{AbortError:z,codes:v}=u1(),{ERR_INVALID_ARG_TYPE:Z,ERR_STREAM_PREMATURE_CLOSE:Y}=v,{kEmptyObject:L,once:S}=Mv(),{validateAbortSignal:B,validateFunction:g,validateObject:H,validateBoolean:T}=RK(),{Promise:c,PromisePrototypeThen:x,SymbolDispose:u}=J4(),{isClosed:h,isReadable:i,isReadableNodeStream:m,isReadableStream:n,isReadableFinished:a,isReadableErrored:j0,isWritable:Y0,isWritableNodeStream:C0,isWritableStream:S0,isWritableFinished:h0,isWritableErrored:X0,isNodeStream:x0,willEmitClose:Q,kIsClosedPromise:K}=jY(),D;function W(G){return G.setHeader&&typeof G.abort==="function"}var V=()=>{};function R(G,C,b){var y,o;if(arguments.length===2)b=C,C=L;else if(C==null)C=L;else H(C,"options");if(g(b,"callback"),B(C.signal,"options.signal"),b=S(b),n(G)||S0(G))return N(G,C,b);if(!x0(G))throw new Z("stream",["ReadableStream","WritableStream","Stream"],G);let J0=(y=C.readable)!==null&&y!==void 0?y:m(G),K0=(o=C.writable)!==null&&o!==void 0?o:C0(G),A0=G._writableState,H0=G._readableState,W0=()=>{if(!G.writable)L0()},z0=Q(G)&&m(G)===J0&&C0(G)===K0,D0=h0(G,!1),L0=()=>{if(D0=!0,G.destroyed)z0=!1;if(z0&&(!G.readable||J0))return;if(!J0||k0)b.call(G)},k0=a(G,!1),Z0=()=>{if(k0=!0,G.destroyed)z0=!1;if(z0&&(!G.writable||K0))return;if(!K0||D0)b.call(G)},r=(O0)=>{b.call(G,O0)},U0=h(G),g0=()=>{U0=!0;let O0=X0(G)||j0(G);if(O0&&typeof O0!=="boolean")return b.call(G,O0);if(J0&&!k0&&m(G,!0)){if(!a(G,!1))return b.call(G,new Y)}if(K0&&!D0){if(!h0(G,!1))return b.call(G,new Y)}b.call(G)},M0=()=>{U0=!0;let O0=X0(G)||j0(G);if(O0&&typeof O0!=="boolean")return b.call(G,O0);b.call(G)},R0=()=>{G.req.on("finish",L0)};if(W(G)){if(G.on("complete",L0),!z0)G.on("abort",g0);if(G.req)R0();else G.on("request",R0)}else if(K0&&!A0)G.on("end",W0),G.on("close",W0);if(!z0&&typeof G.aborted==="boolean")G.on("aborted",g0);if(G.on("end",Z0),G.on("finish",L0),C.error!==!1)G.on("error",r);if(G.on("close",g0),U0)J.nextTick(g0);else if(A0!==null&&A0!==void 0&&A0.errorEmitted||H0!==null&&H0!==void 0&&H0.errorEmitted){if(!z0)J.nextTick(M0)}else if(!J0&&(!z0||i(G))&&(D0||Y0(G)===!1))J.nextTick(M0);else if(!K0&&(!z0||Y0(G))&&(k0||i(G)===!1))J.nextTick(M0);else if(H0&&G.req&&G.aborted)J.nextTick(M0);let o0=()=>{if(b=V,G.removeListener("aborted",g0),G.removeListener("complete",L0),G.removeListener("abort",g0),G.removeListener("request",R0),G.req)G.req.removeListener("finish",L0);G.removeListener("end",W0),G.removeListener("close",W0),G.removeListener("finish",L0),G.removeListener("end",Z0),G.removeListener("error",r),G.removeListener("close",g0)};if(C.signal&&!U0){let O0=()=>{let P0=b;o0(),P0.call(G,new z(void 0,{cause:C.signal.reason}))};if(C.signal.aborted)J.nextTick(O0);else{D=D||Mv().addAbortListener;let P0=D(C.signal,O0),q$=b;b=S((...w0)=>{P0[u](),q$.apply(G,w0)})}}return o0}function N(G,C,b){let y=!1,o=V;if(C.signal)if(o=()=>{y=!0,b.call(G,new z(void 0,{cause:C.signal.reason}))},C.signal.aborted)J.nextTick(o);else{D=D||Mv().addAbortListener;let K0=D(C.signal,o),A0=b;b=S((...H0)=>{K0[u](),A0.apply(G,H0)})}let J0=(...K0)=>{if(!y)J.nextTick(()=>b.apply(G,K0))};return x(G[K].promise,J0,J0),V}function q(G,C){var b;let y=!1;if(C===null)C=L;if((b=C)!==null&&b!==void 0&&b.cleanup)T(C.cleanup,"cleanup"),y=C.cleanup;return new c((o,J0)=>{let K0=R(G,C,(A0)=>{if(y)K0();if(A0)J0(A0);else o()})})}I.exports=R,I.exports.finished=q}),E8=r2((U,I)=>{var J=iZ(),{aggregateTwoErrors:z,codes:{ERR_MULTIPLE_CALLBACK:v},AbortError:Z}=u1(),{Symbol:Y}=J4(),{kIsDestroyed:L,isDestroyed:S,isFinished:B,isServerRequest:g}=jY(),H=Y("kDestroy"),T=Y("kConstruct");function c(Q,K,D){if(Q){if(Q.stack,K&&!K.errored)K.errored=Q;if(D&&!D.errored)D.errored=Q}}function x(Q,K){let D=this._readableState,W=this._writableState,V=W||D;if(W!==null&&W!==void 0&&W.destroyed||D!==null&&D!==void 0&&D.destroyed){if(typeof K==="function")K();return this}if(c(Q,W,D),W)W.destroyed=!0;if(D)D.destroyed=!0;if(!V.constructed)this.once(H,function(R){u(this,z(R,Q),K)});else u(this,Q,K);return this}function u(Q,K,D){let W=!1;function V(R){if(W)return;W=!0;let{_readableState:N,_writableState:q}=Q;if(c(R,q,N),q)q.closed=!0;if(N)N.closed=!0;if(typeof D==="function")D(R);if(R)J.nextTick(h,Q,R);else J.nextTick(i,Q)}try{Q._destroy(K||null,V)}catch(R){V(R)}}function h(Q,K){m(Q,K),i(Q)}function i(Q){let{_readableState:K,_writableState:D}=Q;if(D)D.closeEmitted=!0;if(K)K.closeEmitted=!0;if(D!==null&&D!==void 0&&D.emitClose||K!==null&&K!==void 0&&K.emitClose)Q.emit("close")}function m(Q,K){let{_readableState:D,_writableState:W}=Q;if(W!==null&&W!==void 0&&W.errorEmitted||D!==null&&D!==void 0&&D.errorEmitted)return;if(W)W.errorEmitted=!0;if(D)D.errorEmitted=!0;Q.emit("error",K)}function n(){let Q=this._readableState,K=this._writableState;if(Q)Q.constructed=!0,Q.closed=!1,Q.closeEmitted=!1,Q.destroyed=!1,Q.errored=null,Q.errorEmitted=!1,Q.reading=!1,Q.ended=Q.readable===!1,Q.endEmitted=Q.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 a(Q,K,D){let{_readableState:W,_writableState:V}=Q;if(V!==null&&V!==void 0&&V.destroyed||W!==null&&W!==void 0&&W.destroyed)return this;if(W!==null&&W!==void 0&&W.autoDestroy||V!==null&&V!==void 0&&V.autoDestroy)Q.destroy(K);else if(K){if(K.stack,V&&!V.errored)V.errored=K;if(W&&!W.errored)W.errored=K;if(D)J.nextTick(m,Q,K);else m(Q,K)}}function j0(Q,K){if(typeof Q._construct!=="function")return;let{_readableState:D,_writableState:W}=Q;if(D)D.constructed=!1;if(W)W.constructed=!1;if(Q.once(T,K),Q.listenerCount(T)>1)return;J.nextTick(Y0,Q)}function Y0(Q){let K=!1;function D(W){if(K){a(Q,W!==null&&W!==void 0?W:new v);return}K=!0;let{_readableState:V,_writableState:R}=Q,N=R||V;if(V)V.constructed=!0;if(R)R.constructed=!0;if(N.destroyed)Q.emit(H,W);else if(W)a(Q,W,!0);else J.nextTick(C0,Q)}try{Q._construct((W)=>{J.nextTick(D,W)})}catch(W){J.nextTick(D,W)}}function C0(Q){Q.emit(T)}function S0(Q){return(Q===null||Q===void 0?void 0:Q.setHeader)&&typeof Q.abort==="function"}function h0(Q){Q.emit("close")}function X0(Q,K){Q.emit("error",K),J.nextTick(h0,Q)}function x0(Q,K){if(!Q||S(Q))return;if(!K&&!B(Q))K=new Z;if(g(Q))Q.socket=null,Q.destroy(K);else if(S0(Q))Q.abort();else if(S0(Q.req))Q.req.abort();else if(typeof Q.destroy==="function")Q.destroy(K);else if(typeof Q.close==="function")Q.close();else if(K)J.nextTick(X0,Q,K);else J.nextTick(h0,Q);if(!Q.destroyed)Q[L]=!0}I.exports={construct:j0,destroyer:x0,destroy:x,undestroy:n,errorOrDestroy:a}}),I5=r2((U,I)=>{var{ArrayIsArray:J,ObjectSetPrototypeOf:z}=J4(),{EventEmitter:v}=(R8(),Mj(C8));function Z(L){v.call(this,L)}z(Z.prototype,v.prototype),z(Z,v),Z.prototype.pipe=function(L,S){let B=this;function g(i){if(L.writable&&L.write(i)===!1&&B.pause)B.pause()}B.on("data",g);function H(){if(B.readable&&B.resume)B.resume()}if(L.on("drain",H),!L._isStdio&&(!S||S.end!==!1))B.on("end",c),B.on("close",x);let T=!1;function c(){if(T)return;T=!0,L.end()}function x(){if(T)return;if(T=!0,typeof L.destroy==="function")L.destroy()}function u(i){if(h(),v.listenerCount(this,"error")===0)this.emit("error",i)}Y(B,"error",u),Y(L,"error",u);function h(){B.removeListener("data",g),L.removeListener("drain",H),B.removeListener("end",c),B.removeListener("close",x),B.removeListener("error",u),L.removeListener("error",u),B.removeListener("end",h),B.removeListener("close",h),L.removeListener("close",h)}return B.on("end",h),B.on("close",h),L.on("close",h),L.emit("pipe",B),L};function Y(L,S,B){if(typeof L.prependListener==="function")return L.prependListener(S,B);if(!L._events||!L._events[S])L.on(S,B);else if(J(L._events[S]))L._events[S].unshift(B);else L._events[S]=[B,L._events[S]]}I.exports={Stream:Z,prependListener:Y}}),eV=r2((U,I)=>{var{SymbolDispose:J}=J4(),{AbortError:z,codes:v}=u1(),{isNodeStream:Z,isWebStream:Y,kControllerErrorFunction:L}=jY(),S=AG(),{ERR_INVALID_ARG_TYPE:B}=v,g,H=(T,c)=>{if(typeof T!=="object"||!("aborted"in T))throw new B(c,"AbortSignal",T)};I.exports.addAbortSignal=function(T,c){if(H(T,"signal"),!Z(c)&&!Y(c))throw new B("stream",["ReadableStream","WritableStream","Stream"],c);return I.exports.addAbortSignalNoValidate(T,c)},I.exports.addAbortSignalNoValidate=function(T,c){if(typeof T!=="object"||!("aborted"in T))return c;let x=Z(c)?()=>{c.destroy(new z(void 0,{cause:T.reason}))}:()=>{c[L](new z(void 0,{cause:T.reason}))};if(T.aborted)x();else{g=g||Mv().addAbortListener;let u=g(T,x);S(c,u[J])}return c}}),_c=r2((U,I)=>{var{StringPrototypeSlice:J,SymbolIterator:z,TypedArrayPrototypeSet:v,Uint8Array:Z}=J4(),{Buffer:Y}=(F4(),Mj(D4)),{inspect:L}=Mv();I.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(S){let B={data:S,next:null};if(this.length>0)this.tail.next=B;else this.head=B;this.tail=B,++this.length}unshift(S){let B={data:S,next:this.head};if(this.length===0)this.tail=B;this.head=B,++this.length}shift(){if(this.length===0)return;let S=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,S}clear(){this.head=this.tail=null,this.length=0}join(S){if(this.length===0)return"";let B=this.head,g=""+B.data;while((B=B.next)!==null)g+=S+B.data;return g}concat(S){if(this.length===0)return Y.alloc(0);let B=Y.allocUnsafe(S>>>0),g=this.head,H=0;while(g)v(B,g.data,H),H+=g.data.length,g=g.next;return B}consume(S,B){let g=this.head.data;if(S<g.length){let H=g.slice(0,S);return this.head.data=g.slice(S),H}if(S===g.length)return this.shift();return B?this._getString(S):this._getBuffer(S)}first(){return this.head.data}*[z](){for(let S=this.head;S;S=S.next)yield S.data}_getString(S){let B="",g=this.head,H=0;do{let T=g.data;if(S>T.length)B+=T,S-=T.length;else{if(S===T.length)if(B+=T,++H,g.next)this.head=g.next;else this.head=this.tail=null;else B+=J(T,0,S),this.head=g,g.data=J(T,S);break}++H}while((g=g.next)!==null);return this.length-=H,B}_getBuffer(S){let B=Y.allocUnsafe(S),g=S,H=this.head,T=0;do{let c=H.data;if(S>c.length)v(B,c,g-S),S-=c.length;else{if(S===c.length)if(v(B,c,g-S),++T,H.next)this.head=H.next;else this.head=this.tail=null;else v(B,new Z(c.buffer,c.byteOffset,S),g-S),this.head=H,H.data=c.slice(S);break}++T}while((H=H.next)!==null);return this.length-=T,B}[Symbol.for("nodejs.util.inspect.custom")](S,B){return L(this,{...B,depth:0,customInspect:!1})}}}),$9=r2((U,I)=>{var{MathFloor:J,NumberIsInteger:z}=J4(),{validateInteger:v}=RK(),{ERR_INVALID_ARG_VALUE:Z}=u1().codes,Y=16384,L=16;function S(T,c,x){return T.highWaterMark!=null?T.highWaterMark:c?T[x]:null}function B(T){return T?L:Y}function g(T,c){if(v(c,"value",0),T)L=c;else Y=c}function H(T,c,x,u){let h=S(c,u,x);if(h!=null){if(!z(h)||h<0){let i=u?`options.${x}`:"options.highWaterMark";throw new Z(i,h)}return J(h)}return B(T.objectMode)}I.exports={getHighWaterMark:H,getDefaultHighWaterMark:B,setDefaultHighWaterMark:g}}),Mc=r2((U,I)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var J=(F4(),Mj(D4)),z=J.Buffer;function v(Y,L){for(var S in Y)L[S]=Y[S]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)I.exports=J;else v(J,U),U.Buffer=Z;function Z(Y,L,S){return z(Y,L,S)}Z.prototype=Object.create(z.prototype),v(z,Z),Z.from=function(Y,L,S){if(typeof Y==="number")throw TypeError("Argument must not be a number");return z(Y,L,S)},Z.alloc=function(Y,L,S){if(typeof Y!=="number")throw TypeError("Argument must be a number");var B=z(Y);if(L!==void 0)if(typeof S==="string")B.fill(L,S);else B.fill(L);else B.fill(0);return B},Z.allocUnsafe=function(Y){if(typeof Y!=="number")throw TypeError("Argument must be a number");return z(Y)},Z.allocUnsafeSlow=function(Y){if(typeof Y!=="number")throw TypeError("Argument must be a number");return J.SlowBuffer(Y)}}),Lc=r2((U)=>{var I=Mc().Buffer,J=I.isEncoding||function(m){switch(m=""+m,m&&m.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 z(m){if(!m)return"utf8";var n;while(!0)switch(m){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 m;default:if(n)return;m=(""+m).toLowerCase(),n=!0}}function v(m){var n=z(m);if(typeof n!=="string"&&(I.isEncoding===J||!J(m)))throw Error("Unknown encoding: "+m);return n||m}U.StringDecoder=Z;function Z(m){this.encoding=v(m);var n;switch(this.encoding){case"utf16le":this.text=T,this.end=c,n=4;break;case"utf8":this.fillLast=B,n=4;break;case"base64":this.text=x,this.end=u,n=3;break;default:this.write=h,this.end=i;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=I.allocUnsafe(n)}Z.prototype.write=function(m){if(m.length===0)return"";var n,a;if(this.lastNeed){if(n=this.fillLast(m),n===void 0)return"";a=this.lastNeed,this.lastNeed=0}else a=0;if(a<m.length)return n?n+this.text(m,a):this.text(m,a);return n||""},Z.prototype.end=H,Z.prototype.text=g,Z.prototype.fillLast=function(m){if(this.lastNeed<=m.length)return m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,m.length),this.lastNeed-=m.length};function Y(m){if(m<=127)return 0;else if(m>>5===6)return 2;else if(m>>4===14)return 3;else if(m>>3===30)return 4;return m>>6===2?-1:-2}function L(m,n,a){var j0=n.length-1;if(j0<a)return 0;var Y0=Y(n[j0]);if(Y0>=0){if(Y0>0)m.lastNeed=Y0-1;return Y0}if(--j0<a||Y0===-2)return 0;if(Y0=Y(n[j0]),Y0>=0){if(Y0>0)m.lastNeed=Y0-2;return Y0}if(--j0<a||Y0===-2)return 0;if(Y0=Y(n[j0]),Y0>=0){if(Y0>0)if(Y0===2)Y0=0;else m.lastNeed=Y0-3;return Y0}return 0}function S(m,n,a){if((n[0]&192)!==128)return m.lastNeed=0,"�";if(m.lastNeed>1&&n.length>1){if((n[1]&192)!==128)return m.lastNeed=1,"�";if(m.lastNeed>2&&n.length>2){if((n[2]&192)!==128)return m.lastNeed=2,"�"}}}function B(m){var n=this.lastTotal-this.lastNeed,a=S(this,m,n);if(a!==void 0)return a;if(this.lastNeed<=m.length)return m.copy(this.lastChar,n,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,n,0,m.length),this.lastNeed-=m.length}function g(m,n){var a=L(this,m,n);if(!this.lastNeed)return m.toString("utf8",n);this.lastTotal=a;var j0=m.length-(a-this.lastNeed);return m.copy(this.lastChar,0,j0),m.toString("utf8",n,j0)}function H(m){var n=m&&m.length?this.write(m):"";if(this.lastNeed)return n+"�";return n}function T(m,n){if((m.length-n)%2===0){var a=m.toString("utf16le",n);if(a){var j0=a.charCodeAt(a.length-1);if(j0>=55296&&j0<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=m[m.length-1],m.toString("utf16le",n,m.length-1)}function c(m){var n=m&&m.length?this.write(m):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return n+this.lastChar.toString("utf16le",0,a)}return n}function x(m,n){var a=(m.length-n)%3;if(a===0)return m.toString("base64",n);if(this.lastNeed=3-a,this.lastTotal=3,a===1)this.lastChar[0]=m[m.length-1];else this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1];return m.toString("base64",n,m.length-a)}function u(m){var n=m&&m.length?this.write(m):"";if(this.lastNeed)return n+this.lastChar.toString("base64",0,3-this.lastNeed);return n}function h(m){return m.toString(this.encoding)}function i(m){return m&&m.length?this.write(m):""}}),ZT=r2((U,I)=>{var J=iZ(),{PromisePrototypeThen:z,SymbolAsyncIterator:v,SymbolIterator:Z}=J4(),{Buffer:Y}=(F4(),Mj(D4)),{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:S}=u1().codes;function B(g,H,T){let c;if(typeof H==="string"||H instanceof Y)return new g({objectMode:!0,...T,read(){this.push(H),this.push(null)}});let x;if(H&&H[v])x=!0,c=H[v]();else if(H&&H[Z])x=!1,c=H[Z]();else throw new L("iterable",["Iterable"],H);let u=new g({objectMode:!0,highWaterMark:1,...T}),h=!1;u._read=function(){if(!h)h=!0,m()},u._destroy=function(n,a){z(i(n),()=>J.nextTick(a,n),(j0)=>J.nextTick(a,j0||n))};async function i(n){let a=n!==void 0&&n!==null,j0=typeof c.throw==="function";if(a&&j0){let{value:Y0,done:C0}=await c.throw(n);if(await Y0,C0)return}if(typeof c.return==="function"){let{value:Y0}=await c.return();await Y0}}async function m(){for(;;){try{let{value:n,done:a}=x?await c.next():c.next();if(a)u.push(null);else{let j0=n&&typeof n.then==="function"?await n:n;if(j0===null)throw h=!1,new S;else if(u.push(j0))continue;else h=!1}}catch(n){u.destroy(n)}break}}return u}I.exports=B}),j9=r2((U,I)=>{var J=iZ(),{ArrayPrototypeIndexOf:z,NumberIsInteger:v,NumberIsNaN:Z,NumberParseInt:Y,ObjectDefineProperties:L,ObjectKeys:S,ObjectSetPrototypeOf:B,Promise:g,SafeSet:H,SymbolAsyncDispose:T,SymbolAsyncIterator:c,Symbol:x}=J4();I.exports=w0,w0.ReadableState=q$;var{EventEmitter:u}=(R8(),Mj(C8)),{Stream:h,prependListener:i}=I5(),{Buffer:m}=(F4(),Mj(D4)),{addAbortSignal:n}=eV(),a=AG(),j0=Mv().debuglog("stream",(I0)=>{j0=I0}),Y0=_c(),C0=E8(),{getHighWaterMark:S0,getDefaultHighWaterMark:h0}=$9(),{aggregateTwoErrors:X0,codes:{ERR_INVALID_ARG_TYPE:x0,ERR_METHOD_NOT_IMPLEMENTED:Q,ERR_OUT_OF_RANGE:K,ERR_STREAM_PUSH_AFTER_EOF:D,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:W},AbortError:V}=u1(),{validateObject:R}=RK(),N=x("kPaused"),{StringDecoder:q}=Lc(),G=ZT();B(w0.prototype,h.prototype),B(w0,h);var C=()=>{},{errorOrDestroy:b}=C0,y=1,o=2,J0=4,K0=8,A0=16,H0=32,W0=64,z0=128,D0=256,L0=512,k0=1024,Z0=2048,r=4096,U0=8192,g0=16384,M0=32768,R0=65536,o0=131072,O0=262144;function P0(I0){return{enumerable:!1,get(){return(this.state&I0)!==0},set(_0){if(_0)this.state|=I0;else this.state&=~I0}}}L(q$.prototype,{objectMode:P0(y),ended:P0(o),endEmitted:P0(J0),reading:P0(K0),constructed:P0(A0),sync:P0(H0),needReadable:P0(W0),emittedReadable:P0(z0),readableListening:P0(D0),resumeScheduled:P0(L0),errorEmitted:P0(k0),emitClose:P0(Z0),autoDestroy:P0(r),destroyed:P0(U0),closed:P0(g0),closeEmitted:P0(M0),multiAwaitDrain:P0(R0),readingMore:P0(o0),dataEmitted:P0(O0)});function q$(I0,_0,b0){if(typeof b0!=="boolean")b0=_0 instanceof $Y();if(this.state=Z0|r|A0|H0,I0&&I0.objectMode)this.state|=y;if(b0&&I0&&I0.readableObjectMode)this.state|=y;if(this.highWaterMark=I0?S0(this,I0,"readableHighWaterMark",b0):h0(!1),this.buffer=new Y0,this.length=0,this.pipes=[],this.flowing=null,this[N]=null,I0&&I0.emitClose===!1)this.state&=~Z0;if(I0&&I0.autoDestroy===!1)this.state&=~r;if(this.errored=null,this.defaultEncoding=I0&&I0.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,I0&&I0.encoding)this.decoder=new q(I0.encoding),this.encoding=I0.encoding}function w0(I0){if(!(this instanceof w0))return new w0(I0);let _0=this instanceof $Y();if(this._readableState=new q$(I0,this,_0),I0){if(typeof I0.read==="function")this._read=I0.read;if(typeof I0.destroy==="function")this._destroy=I0.destroy;if(typeof I0.construct==="function")this._construct=I0.construct;if(I0.signal&&!_0)n(I0.signal,this)}h.call(this,I0),C0.construct(this,()=>{if(this._readableState.needReadable)M$(this,this._readableState)})}w0.prototype.destroy=C0.destroy,w0.prototype._undestroy=C0.undestroy,w0.prototype._destroy=function(I0,_0){_0(I0)},w0.prototype[u.captureRejectionSymbol]=function(I0){this.destroy(I0)},w0.prototype[T]=function(){let I0;if(!this.destroyed)I0=this.readableEnded?null:new V,this.destroy(I0);return new g((_0,b0)=>a(this,(p0)=>p0&&p0!==I0?b0(p0):_0(null)))},w0.prototype.push=function(I0,_0){return n0(this,I0,_0,!1)},w0.prototype.unshift=function(I0,_0){return n0(this,I0,_0,!0)};function n0(I0,_0,b0,p0){j0("readableAddChunk",_0);let c$=I0._readableState,K$;if((c$.state&y)===0){if(typeof _0==="string"){if(b0=b0||c$.defaultEncoding,c$.encoding!==b0)if(p0&&c$.encoding)_0=m.from(_0,b0).toString(c$.encoding);else _0=m.from(_0,b0),b0=""}else if(_0 instanceof m)b0="";else if(h._isUint8Array(_0))_0=h._uint8ArrayToBuffer(_0),b0="";else if(_0!=null)K$=new x0("chunk",["string","Buffer","Uint8Array"],_0)}if(K$)b(I0,K$);else if(_0===null)c$.state&=~K0,J$(I0,c$);else if((c$.state&y)!==0||_0&&_0.length>0)if(p0)if((c$.state&J0)!==0)b(I0,new W);else if(c$.destroyed||c$.errored)return!1;else i$(I0,c$,_0,!0);else if(c$.ended)b(I0,new D);else if(c$.destroyed||c$.errored)return!1;else if(c$.state&=~K0,c$.decoder&&!b0)if(_0=c$.decoder.write(_0),c$.objectMode||_0.length!==0)i$(I0,c$,_0,!1);else M$(I0,c$);else i$(I0,c$,_0,!1);else if(!p0)c$.state&=~K0,M$(I0,c$);return!c$.ended&&(c$.length<c$.highWaterMark||c$.length===0)}function i$(I0,_0,b0,p0){if(_0.flowing&&_0.length===0&&!_0.sync&&I0.listenerCount("data")>0){if((_0.state&R0)!==0)_0.awaitDrainWriters.clear();else _0.awaitDrainWriters=null;_0.dataEmitted=!0,I0.emit("data",b0)}else{if(_0.length+=_0.objectMode?1:b0.length,p0)_0.buffer.unshift(b0);else _0.buffer.push(b0);if((_0.state&W0)!==0)Y$(I0)}M$(I0,_0)}w0.prototype.isPaused=function(){let I0=this._readableState;return I0[N]===!0||I0.flowing===!1},w0.prototype.setEncoding=function(I0){let _0=new q(I0);this._readableState.decoder=_0,this._readableState.encoding=this._readableState.decoder.encoding;let b0=this._readableState.buffer,p0="";for(let c$ of b0)p0+=_0.write(c$);if(b0.clear(),p0!=="")b0.push(p0);return this._readableState.length=p0.length,this};var s0=1073741824;function Z$(I0){if(I0>s0)throw new K("size","<= 1GiB",I0);else I0--,I0|=I0>>>1,I0|=I0>>>2,I0|=I0>>>4,I0|=I0>>>8,I0|=I0>>>16,I0++;return I0}function Lj(I0,_0){if(I0<=0||_0.length===0&&_0.ended)return 0;if((_0.state&y)!==0)return 1;if(Z(I0)){if(_0.flowing&&_0.length)return _0.buffer.first().length;return _0.length}if(I0<=_0.length)return I0;return _0.ended?_0.length:0}w0.prototype.read=function(I0){if(j0("read",I0),I0===void 0)I0=NaN;else if(!v(I0))I0=Y(I0,10);let _0=this._readableState,b0=I0;if(I0>_0.highWaterMark)_0.highWaterMark=Z$(I0);if(I0!==0)_0.state&=~z0;if(I0===0&&_0.needReadable&&((_0.highWaterMark!==0?_0.length>=_0.highWaterMark:_0.length>0)||_0.ended)){if(j0("read: emitReadable",_0.length,_0.ended),_0.length===0&&_0.ended)u$(this);else Y$(this);return null}if(I0=Lj(I0,_0),I0===0&&_0.ended){if(_0.length===0)u$(this);return null}let p0=(_0.state&W0)!==0;if(j0("need readable",p0),_0.length===0||_0.length-I0<_0.highWaterMark)p0=!0,j0("length less than watermark",p0);if(_0.ended||_0.reading||_0.destroyed||_0.errored||!_0.constructed)p0=!1,j0("reading, ended or constructing",p0);else if(p0){if(j0("do read"),_0.state|=K0|H0,_0.length===0)_0.state|=W0;try{this._read(_0.highWaterMark)}catch(K$){b(this,K$)}if(_0.state&=~H0,!_0.reading)I0=Lj(b0,_0)}let c$;if(I0>0)c$=X$(I0,_0);else c$=null;if(c$===null)_0.needReadable=_0.length<=_0.highWaterMark,I0=0;else if(_0.length-=I0,_0.multiAwaitDrain)_0.awaitDrainWriters.clear();else _0.awaitDrainWriters=null;if(_0.length===0){if(!_0.ended)_0.needReadable=!0;if(b0!==I0&&_0.ended)u$(this)}if(c$!==null&&!_0.errorEmitted&&!_0.closeEmitted)_0.dataEmitted=!0,this.emit("data",c$);return c$};function J$(I0,_0){if(j0("onEofChunk"),_0.ended)return;if(_0.decoder){let b0=_0.decoder.end();if(b0&&b0.length)_0.buffer.push(b0),_0.length+=_0.objectMode?1:b0.length}if(_0.ended=!0,_0.sync)Y$(I0);else _0.needReadable=!1,_0.emittedReadable=!0,dj(I0)}function Y$(I0){let _0=I0._readableState;if(j0("emitReadable",_0.needReadable,_0.emittedReadable),_0.needReadable=!1,!_0.emittedReadable)j0("emitReadable",_0.flowing),_0.emittedReadable=!0,J.nextTick(dj,I0)}function dj(I0){let _0=I0._readableState;if(j0("emitReadable_",_0.destroyed,_0.length,_0.ended),!_0.destroyed&&!_0.errored&&(_0.length||_0.ended))I0.emit("readable"),_0.emittedReadable=!1;_0.needReadable=!_0.flowing&&!_0.ended&&_0.length<=_0.highWaterMark,d0(I0)}function M$(I0,_0){if(!_0.readingMore&&_0.constructed)_0.readingMore=!0,J.nextTick(F$,I0,_0)}function F$(I0,_0){while(!_0.reading&&!_0.ended&&(_0.length<_0.highWaterMark||_0.flowing&&_0.length===0)){let b0=_0.length;if(j0("maybeReadMore read 0"),I0.read(0),b0===_0.length)break}_0.readingMore=!1}w0.prototype._read=function(I0){throw new Q("_read()")},w0.prototype.pipe=function(I0,_0){let b0=this,p0=this._readableState;if(p0.pipes.length===1){if(!p0.multiAwaitDrain)p0.multiAwaitDrain=!0,p0.awaitDrainWriters=new H(p0.awaitDrainWriters?[p0.awaitDrainWriters]:[])}p0.pipes.push(I0),j0("pipe count=%d opts=%j",p0.pipes.length,_0);let c$=(!_0||_0.end!==!1)&&I0!==J.stdout&&I0!==J.stderr?O$:e$;if(p0.endEmitted)J.nextTick(c$);else b0.once("end",c$);I0.on("unpipe",K$);function K$(tj,Qj){if(j0("onunpipe"),tj===b0){if(Qj&&Qj.hasUnpiped===!1)Qj.hasUnpiped=!0,D$()}}function O$(){j0("onend"),I0.end()}let q2,E$=!1;function D$(){if(j0("cleanup"),I0.removeListener("close",W2),I0.removeListener("finish",Jj),q2)I0.removeListener("drain",q2);if(I0.removeListener("error",C$),I0.removeListener("unpipe",K$),b0.removeListener("end",O$),b0.removeListener("end",e$),b0.removeListener("data",U$),E$=!0,q2&&p0.awaitDrainWriters&&(!I0._writableState||I0._writableState.needDrain))q2()}function j2(){if(!E$){if(p0.pipes.length===1&&p0.pipes[0]===I0)j0("false write response, pause",0),p0.awaitDrainWriters=I0,p0.multiAwaitDrain=!1;else if(p0.pipes.length>1&&p0.pipes.includes(I0))j0("false write response, pause",p0.awaitDrainWriters.size),p0.awaitDrainWriters.add(I0);b0.pause()}if(!q2)q2=J2(b0,I0),I0.on("drain",q2)}b0.on("data",U$);function U$(tj){j0("ondata");let Qj=I0.write(tj);if(j0("dest.write",Qj),Qj===!1)j2()}function C$(tj){if(j0("onerror",tj),e$(),I0.removeListener("error",C$),I0.listenerCount("error")===0){let Qj=I0._writableState||I0._readableState;if(Qj&&!Qj.errorEmitted)b(I0,tj);else I0.emit("error",tj)}}i(I0,"error",C$);function W2(){I0.removeListener("finish",Jj),e$()}I0.once("close",W2);function Jj(){j0("onfinish"),I0.removeListener("close",W2),e$()}I0.once("finish",Jj);function e$(){j0("unpipe"),b0.unpipe(I0)}if(I0.emit("pipe",b0),I0.writableNeedDrain===!0)j2();else if(!p0.flowing)j0("pipe resume"),b0.resume();return I0};function J2(I0,_0){return function(){let b0=I0._readableState;if(b0.awaitDrainWriters===_0)j0("pipeOnDrain",1),b0.awaitDrainWriters=null;else if(b0.multiAwaitDrain)j0("pipeOnDrain",b0.awaitDrainWriters.size),b0.awaitDrainWriters.delete(_0);if((!b0.awaitDrainWriters||b0.awaitDrainWriters.size===0)&&I0.listenerCount("data"))I0.resume()}}w0.prototype.unpipe=function(I0){let _0=this._readableState,b0={hasUnpiped:!1};if(_0.pipes.length===0)return this;if(!I0){let c$=_0.pipes;_0.pipes=[],this.pause();for(let K$=0;K$<c$.length;K$++)c$[K$].emit("unpipe",this,{hasUnpiped:!1});return this}let p0=z(_0.pipes,I0);if(p0===-1)return this;if(_0.pipes.splice(p0,1),_0.pipes.length===0)this.pause();return I0.emit("unpipe",this,b0),this},w0.prototype.on=function(I0,_0){let b0=h.prototype.on.call(this,I0,_0),p0=this._readableState;if(I0==="data"){if(p0.readableListening=this.listenerCount("readable")>0,p0.flowing!==!1)this.resume()}else if(I0==="readable"){if(!p0.endEmitted&&!p0.readableListening){if(p0.readableListening=p0.needReadable=!0,p0.flowing=!1,p0.emittedReadable=!1,j0("on readable",p0.length,p0.reading),p0.length)Y$(this);else if(!p0.reading)J.nextTick(V0,this)}}return b0},w0.prototype.addListener=w0.prototype.on,w0.prototype.removeListener=function(I0,_0){let b0=h.prototype.removeListener.call(this,I0,_0);if(I0==="readable")J.nextTick(e,this);return b0},w0.prototype.off=w0.prototype.removeListener,w0.prototype.removeAllListeners=function(I0){let _0=h.prototype.removeAllListeners.apply(this,arguments);if(I0==="readable"||I0===void 0)J.nextTick(e,this);return _0};function e(I0){let _0=I0._readableState;if(_0.readableListening=I0.listenerCount("readable")>0,_0.resumeScheduled&&_0[N]===!1)_0.flowing=!0;else if(I0.listenerCount("data")>0)I0.resume();else if(!_0.readableListening)_0.flowing=null}function V0(I0){j0("readable nexttick read 0"),I0.read(0)}w0.prototype.resume=function(){let I0=this._readableState;if(!I0.flowing)j0("resume"),I0.flowing=!I0.readableListening,P$(this,I0);return I0[N]=!1,this};function P$(I0,_0){if(!_0.resumeScheduled)_0.resumeScheduled=!0,J.nextTick(l0,I0,_0)}function l0(I0,_0){if(j0("resume",_0.reading),!_0.reading)I0.read(0);if(_0.resumeScheduled=!1,I0.emit("resume"),d0(I0),_0.flowing&&!_0.reading)I0.read(0)}w0.prototype.pause=function(){if(j0("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)j0("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[N]=!0,this};function d0(I0){let _0=I0._readableState;j0("flow",_0.flowing);while(_0.flowing&&I0.read()!==null);}w0.prototype.wrap=function(I0){let _0=!1;I0.on("data",(p0)=>{if(!this.push(p0)&&I0.pause)_0=!0,I0.pause()}),I0.on("end",()=>{this.push(null)}),I0.on("error",(p0)=>{b(this,p0)}),I0.on("close",()=>{this.destroy()}),I0.on("destroy",()=>{this.destroy()}),this._read=()=>{if(_0&&I0.resume)_0=!1,I0.resume()};let b0=S(I0);for(let p0=1;p0<b0.length;p0++){let c$=b0[p0];if(this[c$]===void 0&&typeof I0[c$]==="function")this[c$]=I0[c$].bind(I0)}return this},w0.prototype[c]=function(){return n$(this)},w0.prototype.iterator=function(I0){if(I0!==void 0)R(I0,"options");return n$(this,I0)};function n$(I0,_0){if(typeof I0.read!=="function")I0=w0.wrap(I0,{objectMode:!0});let b0=a0(I0,_0);return b0.stream=I0,b0}async function*a0(I0,_0){let b0=C;function p0(O$){if(this===I0)b0(),b0=C;else b0=O$}I0.on("readable",p0);let c$,K$=a(I0,{writable:!1},(O$)=>{c$=O$?X0(c$,O$):null,b0(),b0=C});try{while(!0){let O$=I0.destroyed?null:I0.read();if(O$!==null)yield O$;else if(c$)throw c$;else if(c$===null)return;else await new g(p0)}}catch(O$){throw c$=X0(c$,O$),c$}finally{if((c$||(_0===null||_0===void 0?void 0:_0.destroyOnReturn)!==!1)&&(c$===void 0||I0._readableState.autoDestroy))C0.destroyer(I0,null);else I0.off("readable",p0),K$()}}L(w0.prototype,{readable:{__proto__:null,get(){let I0=this._readableState;return!!I0&&I0.readable!==!1&&!I0.destroyed&&!I0.errorEmitted&&!I0.endEmitted},set(I0){if(this._readableState)this._readableState.readable=!!I0}},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(I0){if(this._readableState)this._readableState.flowing=I0}},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(I0){if(!this._readableState)return;this._readableState.destroyed=I0}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),L(q$.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[N]!==!1},set(I0){this[N]=!!I0}}}),w0._fromList=X$;function X$(I0,_0){if(_0.length===0)return null;let b0;if(_0.objectMode)b0=_0.buffer.shift();else if(!I0||I0>=_0.length){if(_0.decoder)b0=_0.buffer.join("");else if(_0.buffer.length===1)b0=_0.buffer.first();else b0=_0.buffer.concat(_0.length);_0.buffer.clear()}else b0=_0.buffer.consume(I0,_0.decoder);return b0}function u$(I0){let _0=I0._readableState;if(j0("endReadable",_0.endEmitted),!_0.endEmitted)_0.ended=!0,J.nextTick(z$,_0,I0)}function z$(I0,_0){if(j0("endReadableNT",I0.endEmitted,I0.length),!I0.errored&&!I0.closeEmitted&&!I0.endEmitted&&I0.length===0){if(I0.endEmitted=!0,_0.emit("end"),_0.writable&&_0.allowHalfOpen===!1)J.nextTick(_$,_0);else if(I0.autoDestroy){let b0=_0._writableState;if(!b0||b0.autoDestroy&&(b0.finished||b0.writable===!1))_0.destroy()}}}function _$(I0){if(I0.writable&&!I0.writableEnded&&!I0.destroyed)I0.end()}w0.from=function(I0,_0){return G(w0,I0,_0)};var A2;function L$(){if(A2===void 0)A2={};return A2}w0.fromWeb=function(I0,_0){return L$().newStreamReadableFromReadableStream(I0,_0)},w0.toWeb=function(I0,_0){return L$().newReadableStreamFromStreamReadable(I0,_0)},w0.wrap=function(I0,_0){var b0,p0;return new w0({objectMode:(b0=(p0=I0.readableObjectMode)!==null&&p0!==void 0?p0:I0.objectMode)!==null&&b0!==void 0?b0:!0,..._0,destroy(c$,K$){C0.destroyer(I0,c$),K$(c$)}}).wrap(I0)}}),X5=r2((U,I)=>{var J=iZ(),{ArrayPrototypeSlice:z,Error:v,FunctionPrototypeSymbolHasInstance:Z,ObjectDefineProperty:Y,ObjectDefineProperties:L,ObjectSetPrototypeOf:S,StringPrototypeToLowerCase:B,Symbol:g,SymbolHasInstance:H}=J4();I.exports=R,R.WritableState=W;var{EventEmitter:T}=(R8(),Mj(C8)),c=I5().Stream,{Buffer:x}=(F4(),Mj(D4)),u=E8(),{addAbortSignal:h}=eV(),{getHighWaterMark:i,getDefaultHighWaterMark:m}=$9(),{ERR_INVALID_ARG_TYPE:n,ERR_METHOD_NOT_IMPLEMENTED:a,ERR_MULTIPLE_CALLBACK:j0,ERR_STREAM_CANNOT_PIPE:Y0,ERR_STREAM_DESTROYED:C0,ERR_STREAM_ALREADY_FINISHED:S0,ERR_STREAM_NULL_VALUES:h0,ERR_STREAM_WRITE_AFTER_END:X0,ERR_UNKNOWN_ENCODING:x0}=u1().codes,{errorOrDestroy:Q}=u;S(R.prototype,c.prototype),S(R,c);function K(){}var D=g("kOnFinished");function W(r,U0,g0){if(typeof g0!=="boolean")g0=U0 instanceof $Y();if(this.objectMode=!!(r&&r.objectMode),g0)this.objectMode=this.objectMode||!!(r&&r.writableObjectMode);this.highWaterMark=r?i(this,r,"writableHighWaterMark",g0):m(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let M0=!!(r&&r.decodeStrings===!1);this.decodeStrings=!M0,this.defaultEncoding=r&&r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=b.bind(void 0,U0),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,V(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!r||r.emitClose!==!1,this.autoDestroy=!r||r.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[D]=[]}function V(r){r.buffered=[],r.bufferedIndex=0,r.allBuffers=!0,r.allNoop=!0}W.prototype.getBuffer=function(){return z(this.buffered,this.bufferedIndex)},Y(W.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function R(r){let U0=this instanceof $Y();if(!U0&&!Z(R,this))return new R(r);if(this._writableState=new W(r,this,U0),r){if(typeof r.write==="function")this._write=r.write;if(typeof r.writev==="function")this._writev=r.writev;if(typeof r.destroy==="function")this._destroy=r.destroy;if(typeof r.final==="function")this._final=r.final;if(typeof r.construct==="function")this._construct=r.construct;if(r.signal)h(r.signal,this)}c.call(this,r),u.construct(this,()=>{let g0=this._writableState;if(!g0.writing)K0(this,g0);z0(this,g0)})}Y(R,H,{__proto__:null,value:function(r){if(Z(this,r))return!0;if(this!==R)return!1;return r&&r._writableState instanceof W}}),R.prototype.pipe=function(){Q(this,new Y0)};function N(r,U0,g0,M0){let R0=r._writableState;if(typeof g0==="function")M0=g0,g0=R0.defaultEncoding;else{if(!g0)g0=R0.defaultEncoding;else if(g0!=="buffer"&&!x.isEncoding(g0))throw new x0(g0);if(typeof M0!=="function")M0=K}if(U0===null)throw new h0;else if(!R0.objectMode)if(typeof U0==="string"){if(R0.decodeStrings!==!1)U0=x.from(U0,g0),g0="buffer"}else if(U0 instanceof x)g0="buffer";else if(c._isUint8Array(U0))U0=c._uint8ArrayToBuffer(U0),g0="buffer";else throw new n("chunk",["string","Buffer","Uint8Array"],U0);let o0;if(R0.ending)o0=new X0;else if(R0.destroyed)o0=new C0("write");if(o0)return J.nextTick(M0,o0),Q(r,o0,!0),o0;return R0.pendingcb++,q(r,R0,U0,g0,M0)}R.prototype.write=function(r,U0,g0){return N(this,r,U0,g0)===!0},R.prototype.cork=function(){this._writableState.corked++},R.prototype.uncork=function(){let r=this._writableState;if(r.corked){if(r.corked--,!r.writing)K0(this,r)}},R.prototype.setDefaultEncoding=function(r){if(typeof r==="string")r=B(r);if(!x.isEncoding(r))throw new x0(r);return this._writableState.defaultEncoding=r,this};function q(r,U0,g0,M0,R0){let o0=U0.objectMode?1:g0.length;U0.length+=o0;let O0=U0.length<U0.highWaterMark;if(!O0)U0.needDrain=!0;if(U0.writing||U0.corked||U0.errored||!U0.constructed){if(U0.buffered.push({chunk:g0,encoding:M0,callback:R0}),U0.allBuffers&&M0!=="buffer")U0.allBuffers=!1;if(U0.allNoop&&R0!==K)U0.allNoop=!1}else U0.writelen=o0,U0.writecb=R0,U0.writing=!0,U0.sync=!0,r._write(g0,M0,U0.onwrite),U0.sync=!1;return O0&&!U0.errored&&!U0.destroyed}function G(r,U0,g0,M0,R0,o0,O0){if(U0.writelen=M0,U0.writecb=O0,U0.writing=!0,U0.sync=!0,U0.destroyed)U0.onwrite(new C0("write"));else if(g0)r._writev(R0,U0.onwrite);else r._write(R0,o0,U0.onwrite);U0.sync=!1}function C(r,U0,g0,M0){--U0.pendingcb,M0(g0),J0(U0),Q(r,g0)}function b(r,U0){let g0=r._writableState,M0=g0.sync,R0=g0.writecb;if(typeof R0!=="function"){Q(r,new j0);return}if(g0.writing=!1,g0.writecb=null,g0.length-=g0.writelen,g0.writelen=0,U0){if(U0.stack,!g0.errored)g0.errored=U0;if(r._readableState&&!r._readableState.errored)r._readableState.errored=U0;if(M0)J.nextTick(C,r,g0,U0,R0);else C(r,g0,U0,R0)}else{if(g0.buffered.length>g0.bufferedIndex)K0(r,g0);if(M0)if(g0.afterWriteTickInfo!==null&&g0.afterWriteTickInfo.cb===R0)g0.afterWriteTickInfo.count++;else g0.afterWriteTickInfo={count:1,cb:R0,stream:r,state:g0},J.nextTick(y,g0.afterWriteTickInfo);else o(r,g0,1,R0)}}function y({stream:r,state:U0,count:g0,cb:M0}){return U0.afterWriteTickInfo=null,o(r,U0,g0,M0)}function o(r,U0,g0,M0){if(!U0.ending&&!r.destroyed&&U0.length===0&&U0.needDrain)U0.needDrain=!1,r.emit("drain");while(g0-- >0)U0.pendingcb--,M0();if(U0.destroyed)J0(U0);z0(r,U0)}function J0(r){if(r.writing)return;for(let R0=r.bufferedIndex;R0<r.buffered.length;++R0){var U0;let{chunk:o0,callback:O0}=r.buffered[R0],P0=r.objectMode?1:o0.length;r.length-=P0,O0((U0=r.errored)!==null&&U0!==void 0?U0:new C0("write"))}let g0=r[D].splice(0);for(let R0=0;R0<g0.length;R0++){var M0;g0[R0]((M0=r.errored)!==null&&M0!==void 0?M0:new C0("end"))}V(r)}function K0(r,U0){if(U0.corked||U0.bufferProcessing||U0.destroyed||!U0.constructed)return;let{buffered:g0,bufferedIndex:M0,objectMode:R0}=U0,o0=g0.length-M0;if(!o0)return;let O0=M0;if(U0.bufferProcessing=!0,o0>1&&r._writev){U0.pendingcb-=o0-1;let P0=U0.allNoop?K:(w0)=>{for(let n0=O0;n0<g0.length;++n0)g0[n0].callback(w0)},q$=U0.allNoop&&O0===0?g0:z(g0,O0);q$.allBuffers=U0.allBuffers,G(r,U0,!0,U0.length,q$,"",P0),V(U0)}else{do{let{chunk:P0,encoding:q$,callback:w0}=g0[O0];g0[O0++]=null;let n0=R0?1:P0.length;G(r,U0,!1,n0,P0,q$,w0)}while(O0<g0.length&&!U0.writing);if(O0===g0.length)V(U0);else if(O0>256)g0.splice(0,O0),U0.bufferedIndex=0;else U0.bufferedIndex=O0}U0.bufferProcessing=!1}R.prototype._write=function(r,U0,g0){if(this._writev)this._writev([{chunk:r,encoding:U0}],g0);else throw new a("_write()")},R.prototype._writev=null,R.prototype.end=function(r,U0,g0){let M0=this._writableState;if(typeof r==="function")g0=r,r=null,U0=null;else if(typeof U0==="function")g0=U0,U0=null;let R0;if(r!==null&&r!==void 0){let o0=N(this,r,U0);if(o0 instanceof v)R0=o0}if(M0.corked)M0.corked=1,this.uncork();if(R0);else if(!M0.errored&&!M0.ending)M0.ending=!0,z0(this,M0,!0),M0.ended=!0;else if(M0.finished)R0=new S0("end");else if(M0.destroyed)R0=new C0("end");if(typeof g0==="function")if(R0||M0.finished)J.nextTick(g0,R0);else M0[D].push(g0);return this};function A0(r){return r.ending&&!r.destroyed&&r.constructed&&r.length===0&&!r.errored&&r.buffered.length===0&&!r.finished&&!r.writing&&!r.errorEmitted&&!r.closeEmitted}function H0(r,U0){let g0=!1;function M0(R0){if(g0){Q(r,R0!==null&&R0!==void 0?R0:j0());return}if(g0=!0,U0.pendingcb--,R0){let o0=U0[D].splice(0);for(let O0=0;O0<o0.length;O0++)o0[O0](R0);Q(r,R0,U0.sync)}else if(A0(U0))U0.prefinished=!0,r.emit("prefinish"),U0.pendingcb++,J.nextTick(D0,r,U0)}U0.sync=!0,U0.pendingcb++;try{r._final(M0)}catch(R0){M0(R0)}U0.sync=!1}function W0(r,U0){if(!U0.prefinished&&!U0.finalCalled)if(typeof r._final==="function"&&!U0.destroyed)U0.finalCalled=!0,H0(r,U0);else U0.prefinished=!0,r.emit("prefinish")}function z0(r,U0,g0){if(A0(U0)){if(W0(r,U0),U0.pendingcb===0){if(g0)U0.pendingcb++,J.nextTick((M0,R0)=>{if(A0(R0))D0(M0,R0);else R0.pendingcb--},r,U0);else if(A0(U0))U0.pendingcb++,D0(r,U0)}}}function D0(r,U0){U0.pendingcb--,U0.finished=!0;let g0=U0[D].splice(0);for(let M0=0;M0<g0.length;M0++)g0[M0]();if(r.emit("finish"),U0.autoDestroy){let M0=r._readableState;if(!M0||M0.autoDestroy&&(M0.endEmitted||M0.readable===!1))r.destroy()}}L(R.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(r){if(this._writableState)this._writableState.destroyed=r}},writable:{__proto__:null,get(){let r=this._writableState;return!!r&&r.writable!==!1&&!r.destroyed&&!r.errored&&!r.ending&&!r.ended},set(r){if(this._writableState)this._writableState.writable=!!r}},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 r=this._writableState;if(!r)return!1;return!r.destroyed&&!r.ending&&r.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 L0=u.destroy;R.prototype.destroy=function(r,U0){let g0=this._writableState;if(!g0.destroyed&&(g0.bufferedIndex<g0.buffered.length||g0[D].length))J.nextTick(J0,g0);return L0.call(this,r,U0),this},R.prototype._undestroy=u.undestroy,R.prototype._destroy=function(r,U0){U0(r)},R.prototype[T.captureRejectionSymbol]=function(r){this.destroy(r)};var k0;function Z0(){if(k0===void 0)k0={};return k0}R.fromWeb=function(r,U0){return Z0().newStreamWritableFromWritableStream(r,U0)},R.toWeb=function(r){return Z0().newWritableStreamFromStreamWritable(r)}}),Ac=r2((U,I)=>{var J=iZ(),z=(F4(),Mj(D4)),{isReadable:v,isWritable:Z,isIterable:Y,isNodeStream:L,isReadableNodeStream:S,isWritableNodeStream:B,isDuplexNodeStream:g,isReadableStream:H,isWritableStream:T}=jY(),c=AG(),{AbortError:x,codes:{ERR_INVALID_ARG_TYPE:u,ERR_INVALID_RETURN_VALUE:h}}=u1(),{destroyer:i}=E8(),m=$Y(),n=j9(),a=X5(),{createDeferredPromise:j0}=Mv(),Y0=ZT(),C0=globalThis.Blob||z.Blob,S0=typeof C0<"u"?function(D){return D instanceof C0}:function(D){return!1},h0=globalThis.AbortController||CK().AbortController,{FunctionPrototypeCall:X0}=J4();class x0 extends m{constructor(D){super(D);if((D===null||D===void 0?void 0:D.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((D===null||D===void 0?void 0:D.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}I.exports=function D(W,V){if(g(W))return W;if(S(W))return K({readable:W});if(B(W))return K({writable:W});if(L(W))return K({writable:!1,readable:!1});if(H(W))return K({readable:n.fromWeb(W)});if(T(W))return K({writable:a.fromWeb(W)});if(typeof W==="function"){let{value:N,write:q,final:G,destroy:C}=Q(W);if(Y(N))return Y0(x0,N,{objectMode:!0,write:q,final:G,destroy:C});let b=N===null||N===void 0?void 0:N.then;if(typeof b==="function"){let y,o=X0(b,N,(J0)=>{if(J0!=null)throw new h("nully","body",J0)},(J0)=>{i(y,J0)});return y=new x0({objectMode:!0,readable:!1,write:q,final(J0){G(async()=>{try{await o,J.nextTick(J0,null)}catch(K0){J.nextTick(J0,K0)}})},destroy:C})}throw new h("Iterable, AsyncIterable or AsyncFunction",V,N)}if(S0(W))return D(W.arrayBuffer());if(Y(W))return Y0(x0,W,{objectMode:!0,writable:!1});if(H(W===null||W===void 0?void 0:W.readable)&&T(W===null||W===void 0?void 0:W.writable))return x0.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 N=W!==null&&W!==void 0&&W.readable?S(W===null||W===void 0?void 0:W.readable)?W===null||W===void 0?void 0:W.readable:D(W.readable):void 0,q=W!==null&&W!==void 0&&W.writable?B(W===null||W===void 0?void 0:W.writable)?W===null||W===void 0?void 0:W.writable:D(W.writable):void 0;return K({readable:N,writable:q})}let R=W===null||W===void 0?void 0:W.then;if(typeof R==="function"){let N;return X0(R,W,(q)=>{if(q!=null)N.push(q);N.push(null)},(q)=>{i(N,q)}),N=new x0({objectMode:!0,writable:!1,read(){}})}throw new u(V,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],W)};function Q(D){let{promise:W,resolve:V}=j0(),R=new h0,N=R.signal;return{value:D(async function*(){while(!0){let q=W;W=null;let{chunk:G,done:C,cb:b}=await q;if(J.nextTick(b),C)return;if(N.aborted)throw new x(void 0,{cause:N.reason});({promise:W,resolve:V}=j0()),yield G}}(),{signal:N}),write(q,G,C){let b=V;V=null,b({chunk:q,done:!1,cb:C})},final(q){let G=V;V=null,G({done:!0,cb:q})},destroy(q,G){R.abort(),G(q)}}}function K(D){let W=D.readable&&typeof D.readable.read!=="function"?n.wrap(D.readable):D.readable,V=D.writable,R=!!v(W),N=!!Z(V),q,G,C,b,y;function o(J0){let K0=b;if(b=null,K0)K0(J0);else if(J0)y.destroy(J0)}if(y=new x0({readableObjectMode:!!(W!==null&&W!==void 0&&W.readableObjectMode),writableObjectMode:!!(V!==null&&V!==void 0&&V.writableObjectMode),readable:R,writable:N}),N)c(V,(J0)=>{if(N=!1,J0)i(W,J0);o(J0)}),y._write=function(J0,K0,A0){if(V.write(J0,K0))A0();else q=A0},y._final=function(J0){V.end(),G=J0},V.on("drain",function(){if(q){let J0=q;q=null,J0()}}),V.on("finish",function(){if(G){let J0=G;G=null,J0()}});if(R)c(W,(J0)=>{if(R=!1,J0)i(W,J0);o(J0)}),W.on("readable",function(){if(C){let J0=C;C=null,J0()}}),W.on("end",function(){y.push(null)}),y._read=function(){while(!0){let J0=W.read();if(J0===null){C=y._read;return}if(!y.push(J0))return}};return y._destroy=function(J0,K0){if(!J0&&b!==null)J0=new x;if(C=null,q=null,G=null,b===null)K0(J0);else b=K0,i(V,J0),i(W,J0)},y}}),$Y=r2((U,I)=>{var{ObjectDefineProperties:J,ObjectGetOwnPropertyDescriptor:z,ObjectKeys:v,ObjectSetPrototypeOf:Z}=J4();I.exports=S;var Y=j9(),L=X5();Z(S.prototype,Y.prototype),Z(S,Y);{let T=v(L.prototype);for(let c=0;c<T.length;c++){let x=T[c];if(!S.prototype[x])S.prototype[x]=L.prototype[x]}}function S(T){if(!(this instanceof S))return new S(T);if(Y.call(this,T),L.call(this,T),T){if(this.allowHalfOpen=T.allowHalfOpen!==!1,T.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(T.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}J(S.prototype,{writable:{__proto__:null,...z(L.prototype,"writable")},writableHighWaterMark:{__proto__:null,...z(L.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...z(L.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...z(L.prototype,"writableBuffer")},writableLength:{__proto__:null,...z(L.prototype,"writableLength")},writableFinished:{__proto__:null,...z(L.prototype,"writableFinished")},writableCorked:{__proto__:null,...z(L.prototype,"writableCorked")},writableEnded:{__proto__:null,...z(L.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...z(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(T){if(this._readableState&&this._writableState)this._readableState.destroyed=T,this._writableState.destroyed=T}}});var B;function g(){if(B===void 0)B={};return B}S.fromWeb=function(T,c){return g().newStreamDuplexFromReadableWritablePair(T,c)},S.toWeb=function(T){return g().newReadableWritablePairFromDuplex(T)};var H;S.from=function(T){if(!H)H=Ac();return H(T,"body")}}),zT=r2((U,I)=>{var{ObjectSetPrototypeOf:J,Symbol:z}=J4();I.exports=S;var{ERR_METHOD_NOT_IMPLEMENTED:v}=u1().codes,Z=$Y(),{getHighWaterMark:Y}=$9();J(S.prototype,Z.prototype),J(S,Z);var L=z("kCallback");function S(H){if(!(this instanceof S))return new S(H);let T=H?Y(this,H,"readableHighWaterMark",!0):null;if(T===0)H={...H,highWaterMark:null,readableHighWaterMark:T,writableHighWaterMark:H.writableHighWaterMark||0};if(Z.call(this,H),this._readableState.sync=!1,this[L]=null,H){if(typeof H.transform==="function")this._transform=H.transform;if(typeof H.flush==="function")this._flush=H.flush}this.on("prefinish",g)}function B(H){if(typeof this._flush==="function"&&!this.destroyed)this._flush((T,c)=>{if(T){if(H)H(T);else this.destroy(T);return}if(c!=null)this.push(c);if(this.push(null),H)H()});else if(this.push(null),H)H()}function g(){if(this._final!==B)B.call(this)}S.prototype._final=B,S.prototype._transform=function(H,T,c){throw new v("_transform()")},S.prototype._write=function(H,T,c){let x=this._readableState,u=this._writableState,h=x.length;this._transform(H,T,(i,m)=>{if(i){c(i);return}if(m!=null)this.push(m);if(u.ended||h===x.length||x.length<x.highWaterMark)c();else this[L]=c})},S.prototype._read=function(){if(this[L]){let H=this[L];this[L]=null,H()}}}),WT=r2((U,I)=>{var{ObjectSetPrototypeOf:J}=J4();I.exports=v;var z=zT();J(v.prototype,z.prototype),J(v,z);function v(Z){if(!(this instanceof v))return new v(Z);z.call(this,Z)}v.prototype._transform=function(Z,Y,L){L(null,Z)}}),J5=r2((U,I)=>{var J=iZ(),{ArrayIsArray:z,Promise:v,SymbolAsyncIterator:Z,SymbolDispose:Y}=J4(),L=AG(),{once:S}=Mv(),B=E8(),g=$Y(),{aggregateTwoErrors:H,codes:{ERR_INVALID_ARG_TYPE:T,ERR_INVALID_RETURN_VALUE:c,ERR_MISSING_ARGS:x,ERR_STREAM_DESTROYED:u,ERR_STREAM_PREMATURE_CLOSE:h},AbortError:i}=u1(),{validateFunction:m,validateAbortSignal:n}=RK(),{isIterable:a,isReadable:j0,isReadableNodeStream:Y0,isNodeStream:C0,isTransformStream:S0,isWebStream:h0,isReadableStream:X0,isReadableFinished:x0}=jY(),Q=globalThis.AbortController||CK().AbortController,K,D,W;function V(J0,K0,A0){let H0=!1;J0.on("close",()=>{H0=!0});let W0=L(J0,{readable:K0,writable:A0},(z0)=>{H0=!z0});return{destroy:(z0)=>{if(H0)return;H0=!0,B.destroyer(J0,z0||new u("pipe"))},cleanup:W0}}function R(J0){return m(J0[J0.length-1],"streams[stream.length - 1]"),J0.pop()}function N(J0){if(a(J0))return J0;else if(Y0(J0))return q(J0);throw new T("val",["Readable","Iterable","AsyncIterable"],J0)}async function*q(J0){if(!D)D=j9();yield*D.prototype[Z].call(J0)}async function G(J0,K0,A0,{end:H0}){let W0,z0=null,D0=(Z0)=>{if(Z0)W0=Z0;if(z0){let r=z0;z0=null,r()}},L0=()=>new v((Z0,r)=>{if(W0)r(W0);else z0=()=>{if(W0)r(W0);else Z0()}});K0.on("drain",D0);let k0=L(K0,{readable:!1},D0);try{if(K0.writableNeedDrain)await L0();for await(let Z0 of J0)if(!K0.write(Z0))await L0();if(H0)K0.end(),await L0();A0()}catch(Z0){A0(W0!==Z0?H(W0,Z0):Z0)}finally{k0(),K0.off("drain",D0)}}async function C(J0,K0,A0,{end:H0}){if(S0(K0))K0=K0.writable;let W0=K0.getWriter();try{for await(let z0 of J0)await W0.ready,W0.write(z0).catch(()=>{});if(await W0.ready,H0)await W0.close();A0()}catch(z0){try{await W0.abort(z0),A0(z0)}catch(D0){A0(D0)}}}function b(...J0){return y(J0,S(R(J0)))}function y(J0,K0,A0){if(J0.length===1&&z(J0[0]))J0=J0[0];if(J0.length<2)throw new x("streams");let H0=new Q,W0=H0.signal,z0=A0===null||A0===void 0?void 0:A0.signal,D0=[];n(z0,"options.signal");function L0(){R0(new i)}W=W||Mv().addAbortListener;let k0;if(z0)k0=W(z0,L0);let Z0,r,U0=[],g0=0;function M0(w0){R0(w0,--g0===0)}function R0(w0,n0){var i$;if(w0&&(!Z0||Z0.code==="ERR_STREAM_PREMATURE_CLOSE"))Z0=w0;if(!Z0&&!n0)return;while(U0.length)U0.shift()(Z0);if((i$=k0)===null||i$===void 0||i$[Y](),H0.abort(),n0){if(!Z0)D0.forEach((s0)=>s0());J.nextTick(K0,Z0,r)}}let o0;for(let w0=0;w0<J0.length;w0++){let n0=J0[w0],i$=w0<J0.length-1,s0=w0>0,Z$=i$||(A0===null||A0===void 0?void 0:A0.end)!==!1,Lj=w0===J0.length-1;if(C0(n0)){let J$=function(Y$){if(Y$&&Y$.name!=="AbortError"&&Y$.code!=="ERR_STREAM_PREMATURE_CLOSE")M0(Y$)};var O0=J$;if(Z$){let{destroy:Y$,cleanup:dj}=V(n0,i$,s0);if(U0.push(Y$),j0(n0)&&Lj)D0.push(dj)}if(n0.on("error",J$),j0(n0)&&Lj)D0.push(()=>{n0.removeListener("error",J$)})}if(w0===0)if(typeof n0==="function"){if(o0=n0({signal:W0}),!a(o0))throw new c("Iterable, AsyncIterable or Stream","source",o0)}else if(a(n0)||Y0(n0)||S0(n0))o0=n0;else o0=g.from(n0);else if(typeof n0==="function"){if(S0(o0)){var P0;o0=N((P0=o0)===null||P0===void 0?void 0:P0.readable)}else o0=N(o0);if(o0=n0(o0,{signal:W0}),i$){if(!a(o0,!0))throw new c("AsyncIterable",`transform[${w0-1}]`,o0)}else{var q$;if(!K)K=WT();let J$=new K({objectMode:!0}),Y$=(q$=o0)===null||q$===void 0?void 0:q$.then;if(typeof Y$==="function")g0++,Y$.call(o0,(F$)=>{if(r=F$,F$!=null)J$.write(F$);if(Z$)J$.end();J.nextTick(M0)},(F$)=>{J$.destroy(F$),J.nextTick(M0,F$)});else if(a(o0,!0))g0++,G(o0,J$,M0,{end:Z$});else if(X0(o0)||S0(o0)){let F$=o0.readable||o0;g0++,G(F$,J$,M0,{end:Z$})}else throw new c("AsyncIterable or Promise","destination",o0);o0=J$;let{destroy:dj,cleanup:M$}=V(o0,!1,!0);if(U0.push(dj),Lj)D0.push(M$)}}else if(C0(n0)){if(Y0(o0)){g0+=2;let J$=o(o0,n0,M0,{end:Z$});if(j0(n0)&&Lj)D0.push(J$)}else if(S0(o0)||X0(o0)){let J$=o0.readable||o0;g0++,G(J$,n0,M0,{end:Z$})}else if(a(o0))g0++,G(o0,n0,M0,{end:Z$});else throw new T("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],o0);o0=n0}else if(h0(n0)){if(Y0(o0))g0++,C(N(o0),n0,M0,{end:Z$});else if(X0(o0)||a(o0))g0++,C(o0,n0,M0,{end:Z$});else if(S0(o0))g0++,C(o0.readable,n0,M0,{end:Z$});else throw new T("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],o0);o0=n0}else o0=g.from(n0)}if(W0!==null&&W0!==void 0&&W0.aborted||z0!==null&&z0!==void 0&&z0.aborted)J.nextTick(L0);return o0}function o(J0,K0,A0,{end:H0}){let W0=!1;if(K0.on("close",()=>{if(!W0)A0(new h)}),J0.pipe(K0,{end:!1}),H0){let D0=function(){W0=!0,K0.end()};var z0=D0;if(x0(J0))J.nextTick(D0);else J0.once("end",D0)}else A0();return L(J0,{readable:!0,writable:!1},(D0)=>{let L0=J0._readableState;if(D0&&D0.code==="ERR_STREAM_PREMATURE_CLOSE"&&L0&&L0.ended&&!L0.errored&&!L0.errorEmitted)J0.once("end",A0).once("error",A0);else A0(D0)}),L(K0,{readable:!1,writable:!0},A0)}I.exports={pipelineImpl:y,pipeline:b}}),KT=r2((U,I)=>{var{pipeline:J}=J5(),z=$Y(),{destroyer:v}=E8(),{isNodeStream:Z,isReadable:Y,isWritable:L,isWebStream:S,isTransformStream:B,isWritableStream:g,isReadableStream:H}=jY(),{AbortError:T,codes:{ERR_INVALID_ARG_VALUE:c,ERR_MISSING_ARGS:x}}=u1(),u=AG();I.exports=function(...h){if(h.length===0)throw new x("streams");if(h.length===1)return z.from(h[0]);let i=[...h];if(typeof h[0]==="function")h[0]=z.from(h[0]);if(typeof h[h.length-1]==="function"){let Q=h.length-1;h[Q]=z.from(h[Q])}for(let Q=0;Q<h.length;++Q){if(!Z(h[Q])&&!S(h[Q]))continue;if(Q<h.length-1&&!(Y(h[Q])||H(h[Q])||B(h[Q])))throw new c(`streams[${Q}]`,i[Q],"must be readable");if(Q>0&&!(L(h[Q])||g(h[Q])||B(h[Q])))throw new c(`streams[${Q}]`,i[Q],"must be writable")}let m,n,a,j0,Y0;function C0(Q){let K=j0;if(j0=null,K)K(Q);else if(Q)Y0.destroy(Q);else if(!x0&&!X0)Y0.destroy()}let S0=h[0],h0=J(h,C0),X0=!!(L(S0)||g(S0)||B(S0)),x0=!!(Y(h0)||H(h0)||B(h0));if(Y0=new z({writableObjectMode:!!(S0!==null&&S0!==void 0&&S0.writableObjectMode),readableObjectMode:!!(h0!==null&&h0!==void 0&&h0.readableObjectMode),writable:X0,readable:x0}),X0){if(Z(S0))Y0._write=function(K,D,W){if(S0.write(K,D))W();else m=W},Y0._final=function(K){S0.end(),n=K},S0.on("drain",function(){if(m){let K=m;m=null,K()}});else if(S(S0)){let K=(B(S0)?S0.writable:S0).getWriter();Y0._write=async function(D,W,V){try{await K.ready,K.write(D).catch(()=>{}),V()}catch(R){V(R)}},Y0._final=async function(D){try{await K.ready,K.close().catch(()=>{}),n=D}catch(W){D(W)}}}let Q=B(h0)?h0.readable:h0;u(Q,()=>{if(n){let K=n;n=null,K()}})}if(x0){if(Z(h0))h0.on("readable",function(){if(a){let Q=a;a=null,Q()}}),h0.on("end",function(){Y0.push(null)}),Y0._read=function(){while(!0){let Q=h0.read();if(Q===null){a=Y0._read;return}if(!Y0.push(Q))return}};else if(S(h0)){let Q=(B(h0)?h0.readable:h0).getReader();Y0._read=async function(){while(!0)try{let{value:K,done:D}=await Q.read();if(!Y0.push(K))return;if(D){Y0.push(null);return}}catch{return}}}}return Y0._destroy=function(Q,K){if(!Q&&j0!==null)Q=new T;if(a=null,m=null,n=null,j0===null)K(Q);else if(j0=K,Z(h0))v(h0,Q)},Y0}}),qc=r2((U,I)=>{var J=globalThis.AbortController||CK().AbortController,{codes:{ERR_INVALID_ARG_VALUE:z,ERR_INVALID_ARG_TYPE:v,ERR_MISSING_ARGS:Z,ERR_OUT_OF_RANGE:Y},AbortError:L}=u1(),{validateAbortSignal:S,validateInteger:B,validateObject:g}=RK(),H=J4().Symbol("kWeak"),T=J4().Symbol("kResistStopPropagation"),{finished:c}=AG(),x=KT(),{addAbortSignalNoValidate:u}=eV(),{isWritable:h,isNodeStream:i}=jY(),{deprecate:m}=Mv(),{ArrayPrototypePush:n,Boolean:a,MathFloor:j0,Number:Y0,NumberIsNaN:C0,Promise:S0,PromiseReject:h0,PromiseResolve:X0,PromisePrototypeThen:x0,Symbol:Q}=J4(),K=Q("kEmpty"),D=Q("kEof");function W(z0,D0){if(D0!=null)g(D0,"options");if((D0===null||D0===void 0?void 0:D0.signal)!=null)S(D0.signal,"options.signal");if(i(z0)&&!h(z0))throw new z("stream",z0,"must be writable");let L0=x(this,z0);if(D0!==null&&D0!==void 0&&D0.signal)u(D0.signal,L0);return L0}function V(z0,D0){if(typeof z0!=="function")throw new v("fn",["Function","AsyncFunction"],z0);if(D0!=null)g(D0,"options");if((D0===null||D0===void 0?void 0:D0.signal)!=null)S(D0.signal,"options.signal");let L0=1;if((D0===null||D0===void 0?void 0:D0.concurrency)!=null)L0=j0(D0.concurrency);let k0=L0-1;if((D0===null||D0===void 0?void 0:D0.highWaterMark)!=null)k0=j0(D0.highWaterMark);return B(L0,"options.concurrency",1),B(k0,"options.highWaterMark",0),k0+=L0,async function*(){let Z0=Mv().AbortSignalAny([D0===null||D0===void 0?void 0:D0.signal].filter(a)),r=this,U0=[],g0={signal:Z0},M0,R0,o0=!1,O0=0;function P0(){o0=!0,q$()}function q$(){O0-=1,w0()}function w0(){if(R0&&!o0&&O0<L0&&U0.length<k0)R0(),R0=null}async function n0(){try{for await(let i$ of r){if(o0)return;if(Z0.aborted)throw new L;try{if(i$=z0(i$,g0),i$===K)continue;i$=X0(i$)}catch(s0){i$=h0(s0)}if(O0+=1,x0(i$,q$,P0),U0.push(i$),M0)M0(),M0=null;if(!o0&&(U0.length>=k0||O0>=L0))await new S0((s0)=>{R0=s0})}U0.push(D)}catch(i$){let s0=h0(i$);x0(s0,q$,P0),U0.push(s0)}finally{if(o0=!0,M0)M0(),M0=null}}n0();try{while(!0){while(U0.length>0){let i$=await U0[0];if(i$===D)return;if(Z0.aborted)throw new L;if(i$!==K)yield i$;U0.shift(),w0()}await new S0((i$)=>{M0=i$})}}finally{if(o0=!0,R0)R0(),R0=null}}.call(this)}function R(z0=void 0){if(z0!=null)g(z0,"options");if((z0===null||z0===void 0?void 0:z0.signal)!=null)S(z0.signal,"options.signal");return async function*(){let D0=0;for await(let k0 of this){var L0;if(z0!==null&&z0!==void 0&&(L0=z0.signal)!==null&&L0!==void 0&&L0.aborted)throw new L({cause:z0.signal.reason});yield[D0++,k0]}}.call(this)}async function N(z0,D0=void 0){for await(let L0 of b.call(this,z0,D0))return!0;return!1}async function q(z0,D0=void 0){if(typeof z0!=="function")throw new v("fn",["Function","AsyncFunction"],z0);return!await N.call(this,async(...L0)=>{return!await z0(...L0)},D0)}async function G(z0,D0){for await(let L0 of b.call(this,z0,D0))return L0;return}async function C(z0,D0){if(typeof z0!=="function")throw new v("fn",["Function","AsyncFunction"],z0);async function L0(k0,Z0){return await z0(k0,Z0),K}for await(let k0 of V.call(this,L0,D0));}function b(z0,D0){if(typeof z0!=="function")throw new v("fn",["Function","AsyncFunction"],z0);async function L0(k0,Z0){if(await z0(k0,Z0))return k0;return K}return V.call(this,L0,D0)}class y extends Z{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function o(z0,D0,L0){var k0;if(typeof z0!=="function")throw new v("reducer",["Function","AsyncFunction"],z0);if(L0!=null)g(L0,"options");if((L0===null||L0===void 0?void 0:L0.signal)!=null)S(L0.signal,"options.signal");let Z0=arguments.length>1;if(L0!==null&&L0!==void 0&&(k0=L0.signal)!==null&&k0!==void 0&&k0.aborted){let R0=new L(void 0,{cause:L0.signal.reason});throw this.once("error",()=>{}),await c(this.destroy(R0)),R0}let r=new J,U0=r.signal;if(L0!==null&&L0!==void 0&&L0.signal){let R0={once:!0,[H]:this,[T]:!0};L0.signal.addEventListener("abort",()=>r.abort(),R0)}let g0=!1;try{for await(let R0 of this){var M0;if(g0=!0,L0!==null&&L0!==void 0&&(M0=L0.signal)!==null&&M0!==void 0&&M0.aborted)throw new L;if(!Z0)D0=R0,Z0=!0;else D0=await z0(D0,R0,{signal:U0})}if(!g0&&!Z0)throw new y}finally{r.abort()}return D0}async function J0(z0){if(z0!=null)g(z0,"options");if((z0===null||z0===void 0?void 0:z0.signal)!=null)S(z0.signal,"options.signal");let D0=[];for await(let k0 of this){var L0;if(z0!==null&&z0!==void 0&&(L0=z0.signal)!==null&&L0!==void 0&&L0.aborted)throw new L(void 0,{cause:z0.signal.reason});n(D0,k0)}return D0}function K0(z0,D0){let L0=V.call(this,z0,D0);return async function*(){for await(let k0 of L0)yield*k0}.call(this)}function A0(z0){if(z0=Y0(z0),C0(z0))return 0;if(z0<0)throw new Y("number",">= 0",z0);return z0}function H0(z0,D0=void 0){if(D0!=null)g(D0,"options");if((D0===null||D0===void 0?void 0:D0.signal)!=null)S(D0.signal,"options.signal");return z0=A0(z0),async function*(){var L0;if(D0!==null&&D0!==void 0&&(L0=D0.signal)!==null&&L0!==void 0&&L0.aborted)throw new L;for await(let Z0 of this){var k0;if(D0!==null&&D0!==void 0&&(k0=D0.signal)!==null&&k0!==void 0&&k0.aborted)throw new L;if(z0--<=0)yield Z0}}.call(this)}function W0(z0,D0=void 0){if(D0!=null)g(D0,"options");if((D0===null||D0===void 0?void 0:D0.signal)!=null)S(D0.signal,"options.signal");return z0=A0(z0),async function*(){var L0;if(D0!==null&&D0!==void 0&&(L0=D0.signal)!==null&&L0!==void 0&&L0.aborted)throw new L;for await(let Z0 of this){var k0;if(D0!==null&&D0!==void 0&&(k0=D0.signal)!==null&&k0!==void 0&&k0.aborted)throw new L;if(z0-- >0)yield Z0;if(z0<=0)return}}.call(this)}I.exports.streamReturningOperators={asIndexedPairs:m(R,"readable.asIndexedPairs will be removed in a future version."),drop:H0,filter:b,flatMap:K0,map:V,take:W0,compose:W},I.exports.promiseReturningOperators={every:q,forEach:C,reduce:o,toArray:J0,some:N,find:G}}),OT=r2((U,I)=>{var{ArrayPrototypePop:J,Promise:z}=J4(),{isIterable:v,isNodeStream:Z,isWebStream:Y}=jY(),{pipelineImpl:L}=J5(),{finished:S}=AG();VT();function B(...g){return new z((H,T)=>{let c,x,u=g[g.length-1];if(u&&typeof u==="object"&&!Z(u)&&!v(u)&&!Y(u)){let h=J(g);c=h.signal,x=h.end}L(g,(h,i)=>{if(h)T(h);else H(i)},{signal:c,end:x})})}I.exports={finished:S,pipeline:B}}),VT=r2((U,I)=>{var{Buffer:J}=(F4(),Mj(D4)),{ObjectDefineProperty:z,ObjectKeys:v,ReflectApply:Z}=J4(),{promisify:{custom:Y}}=Mv(),{streamReturningOperators:L,promiseReturningOperators:S}=qc(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:B}}=u1(),g=KT(),{setDefaultHighWaterMark:H,getDefaultHighWaterMark:T}=$9(),{pipeline:c}=J5(),{destroyer:x}=E8(),u=AG(),h=OT(),i=jY(),m=I.exports=I5().Stream;m.isDestroyed=i.isDestroyed,m.isDisturbed=i.isDisturbed,m.isErrored=i.isErrored,m.isReadable=i.isReadable,m.isWritable=i.isWritable,m.Readable=j9();for(let a of v(L)){let j0=function(...C0){if(new.target)throw B();return m.Readable.from(Z(Y0,this,C0))},Y0=L[a];z(j0,"name",{__proto__:null,value:Y0.name}),z(j0,"length",{__proto__:null,value:Y0.length}),z(m.Readable.prototype,a,{__proto__:null,value:j0,enumerable:!1,configurable:!0,writable:!0})}for(let a of v(S)){let j0=function(...C0){if(new.target)throw B();return Z(Y0,this,C0)},Y0=S[a];z(j0,"name",{__proto__:null,value:Y0.name}),z(j0,"length",{__proto__:null,value:Y0.length}),z(m.Readable.prototype,a,{__proto__:null,value:j0,enumerable:!1,configurable:!0,writable:!0})}m.Writable=X5(),m.Duplex=$Y(),m.Transform=zT(),m.PassThrough=WT(),m.pipeline=c;var{addAbortSignal:n}=eV();m.addAbortSignal=n,m.finished=u,m.destroy=x,m.compose=g,m.setDefaultHighWaterMark=H,m.getDefaultHighWaterMark=T,z(m,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return h}}),z(c,Y,{__proto__:null,enumerable:!0,get(){return h.pipeline}}),z(u,Y,{__proto__:null,enumerable:!0,get(){return h.finished}}),m.Stream=m,m._isUint8Array=function(a){return a instanceof Uint8Array},m._uint8ArrayToBuffer=function(a){return J.from(a.buffer,a.byteOffset,a.byteLength)}}),Pc=r2((U,I)=>{var J=T8();{let z=VT(),v=OT(),Z=z.Readable.destroy;I.exports=z.Readable,I.exports._uint8ArrayToBuffer=z._uint8ArrayToBuffer,I.exports._isUint8Array=z._isUint8Array,I.exports.isDisturbed=z.isDisturbed,I.exports.isErrored=z.isErrored,I.exports.isReadable=z.isReadable,I.exports.Readable=z.Readable,I.exports.Writable=z.Writable,I.exports.Duplex=z.Duplex,I.exports.Transform=z.Transform,I.exports.PassThrough=z.PassThrough,I.exports.addAbortSignal=z.addAbortSignal,I.exports.finished=z.finished,I.exports.destroy=z.destroy,I.exports.destroy=Z,I.exports.pipeline=z.pipeline,I.exports.compose=z.compose,Object.defineProperty(z,"promises",{configurable:!0,enumerable:!0,get(){return v}}),I.exports.Stream=z.Stream}I.exports.default=I.exports});DT.exports=Pc()});var vI={};m1(vI,{webcrypto:()=>ry,rng:()=>Gy,randomUUID:()=>B8,randomFillSync:()=>uy,randomFill:()=>my,randomBytes:()=>Zy,publicEncrypt:()=>xy,publicDecrypt:()=>fy,pseudoRandomBytes:()=>Yy,prng:()=>Qy,privateEncrypt:()=>yy,privateDecrypt:()=>by,pbkdf2Sync:()=>Vy,pbkdf2:()=>Oy,listCiphers:()=>Cy,getRandomValues:()=>dy,getHashes:()=>Ky,getDiffieHellman:()=>Ty,getCurves:()=>iy,getCiphers:()=>Py,default:()=>oy,createVerify:()=>wy,createSign:()=>Ny,createHmac:()=>nT,createHash:()=>a6,createECDH:()=>cy,createDiffieHellmanGroup:()=>Ey,createDiffieHellman:()=>By,createDecipheriv:()=>qy,createDecipher:()=>Ly,createCredentials:()=>hy,createCipheriv:()=>_y,createCipher:()=>Fy,constants:()=>py,Verify:()=>ky,Sign:()=>Sy,Hmac:()=>Wy,Hash:()=>zy,DiffieHellmanGroup:()=>Ry,DiffieHellman:()=>gy,Decipheriv:()=>Ay,Decipher:()=>My,DEFAULT_ENCODING:()=>ly,Cipheriv:()=>Hy,Cipher:()=>Dy});function iy(){return ny}var Cc,Rc,FT,Ec,Tc,Bc=(U,I,J)=>{J=U!=null?Cc(Rc(U)):{};let z=I||!U||!U.__esModule?FT(J,"default",{value:U,enumerable:!0}):J;for(let v of Ec(U))if(!Tc.call(z,v))FT(z,v,{get:()=>U[v],enumerable:!0});return z},G$=(U,I)=>()=>(I||U((I={exports:{}}).exports,I),I.exports),U9,v9,_T,gc,Y5,G5,h1,Nc,TK,MT,Sc,wc,kc,cc,LT,xc,yc,fc,bc,mc,uc,hc,pc,lc,dc,BK,I9,AT,nc,qT,PT,ic,gK,Z5,z5,rc,CT,W5,oc,RT,tc,ET,TT,sc,ac,ec,$x,jx,Ux,vx,Ix,Xx,Jx,Qx,Yx,Gx,Zx,K5,BT,zx,gT,Wx,Kx,Ox,Vx,UY,qG,NT,oI,ST,X9,Dx,UI,Fx,Hx,_x,wT,iJ,NK,kT,Mx,cT,Lx,xT,Ax,qx,Px,Cx,O5,Rx,V5,Ex,Tx,Bx,gx,Nx,Sx,wx,kx,cx,xx,yx,fx,bx,mx,HT,ux,EK,hx,yT,fT,px,lx,bT,dx,nx,SK,ix,rx,ox,tx,sx,ax,mT,ex,uT,hT,pT,D5,lT,$y,dT,jy,Uy,Q5,vy,Iy,Xy,Jy,bj,Qy,Yy,Gy,Zy,zy,a6,Wy,nT,Ky,Oy,Vy,Dy,Fy,Hy,_y,My,Ly,Ay,qy,Py,Cy,Ry,Ey,Ty,By,gy,Ny,Sy,wy,ky,cy,xy,yy,fy,by,my,uy,hy,py,ly="buffer",dy=(U)=>{return crypto.getRandomValues(U)},B8=()=>{return crypto.randomUUID()},ny,ry,oy;var VU=F8(()=>{Cc=Object.create,{getPrototypeOf:Rc,defineProperty:FT,getOwnPropertyNames:Ec}=Object,Tc=Object.prototype.hasOwnProperty,U9=G$((U,I)=>{I.exports=(VU(),Mj(vI)).randomBytes}),v9=G$((U,I)=>{I.exports=(VU(),Mj(vI)).createHash}),_T=G$((U,I)=>{I.exports=(VU(),Mj(vI)).createHmac}),gc=G$((U,I)=>{I.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"}}}),Y5=G$((U,I)=>{var J=isFinite,z=Math.pow(2,30)-1;I.exports=function(v,Z){if(typeof v!=="number")throw TypeError("Iterations not a number");if(v<0||!J(v))throw TypeError("Bad iterations");if(typeof Z!=="number")throw TypeError("Key length not a number");if(Z<0||Z>z||Z!==Z)throw TypeError("Bad key length")}}),G5=G$((U,I)=>{var J;if(globalThis.process&&globalThis.process.browser)J="utf-8";else if(globalThis.process&&globalThis.process.version)z=parseInt(process.version.split(".")[0].slice(1),10),J=z>=6?"utf-8":"binary";else J="utf-8";var z;I.exports=J}),h1=G$((U,I)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var J=(F4(),Mj(D4)),z=J.Buffer;function v(Y,L){for(var S in Y)L[S]=Y[S]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)I.exports=J;else v(J,U),U.Buffer=Z;function Z(Y,L,S){return z(Y,L,S)}Z.prototype=Object.create(z.prototype),v(z,Z),Z.from=function(Y,L,S){if(typeof Y==="number")throw TypeError("Argument must not be a number");return z(Y,L,S)},Z.alloc=function(Y,L,S){if(typeof Y!=="number")throw TypeError("Argument must be a number");var B=z(Y);if(L!==void 0)if(typeof S==="string")B.fill(L,S);else B.fill(L);else B.fill(0);return B},Z.allocUnsafe=function(Y){if(typeof Y!=="number")throw TypeError("Argument must be a number");return z(Y)},Z.allocUnsafeSlow=function(Y){if(typeof Y!=="number")throw TypeError("Argument must be a number");return J.SlowBuffer(Y)}}),Nc=G$((U,I)=>{var J={}.toString;I.exports=Array.isArray||function(z){return J.call(z)=="[object Array]"}}),TK=G$((U,I)=>{I.exports=TypeError}),MT=G$((U,I)=>{I.exports=Object}),Sc=G$((U,I)=>{I.exports=Error}),wc=G$((U,I)=>{I.exports=EvalError}),kc=G$((U,I)=>{I.exports=RangeError}),cc=G$((U,I)=>{I.exports=ReferenceError}),LT=G$((U,I)=>{I.exports=SyntaxError}),xc=G$((U,I)=>{I.exports=URIError}),yc=G$((U,I)=>{I.exports=Math.abs}),fc=G$((U,I)=>{I.exports=Math.floor}),bc=G$((U,I)=>{I.exports=Math.max}),mc=G$((U,I)=>{I.exports=Math.min}),uc=G$((U,I)=>{I.exports=Math.pow}),hc=G$((U,I)=>{I.exports=Math.round}),pc=G$((U,I)=>{I.exports=Number.isNaN||function(J){return J!==J}}),lc=G$((U,I)=>{var J=pc();I.exports=function(z){if(J(z)||z===0)return z;return z<0?-1:1}}),dc=G$((U,I)=>{I.exports=Object.getOwnPropertyDescriptor}),BK=G$((U,I)=>{var J=dc();if(J)try{J([],"length")}catch(z){J=null}I.exports=J}),I9=G$((U,I)=>{var J=Object.defineProperty||!1;if(J)try{J({},"a",{value:1})}catch(z){J=!1}I.exports=J}),AT=G$((U,I)=>{I.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var J={},z=Symbol("test"),v=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(v)!=="[object Symbol]")return!1;var Z=42;J[z]=Z;for(var Y in J)return!1;if(typeof Object.keys==="function"&&Object.keys(J).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(J).length!==0)return!1;var L=Object.getOwnPropertySymbols(J);if(L.length!==1||L[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(J,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var S=Object.getOwnPropertyDescriptor(J,z);if(S.value!==Z||S.enumerable!==!0)return!1}return!0}}),nc=G$((U,I)=>{var J=typeof Symbol<"u"&&Symbol,z=AT();I.exports=function(){if(typeof J!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof J("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return z()}}),qT=G$((U,I)=>{I.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),PT=G$((U,I)=>{var J=MT();I.exports=J.getPrototypeOf||null}),ic=G$((U,I)=>{var J="Function.prototype.bind called on incompatible ",z=Object.prototype.toString,v=Math.max,Z="[object Function]",Y=function(B,g){var H=[];for(var T=0;T<B.length;T+=1)H[T]=B[T];for(var c=0;c<g.length;c+=1)H[c+B.length]=g[c];return H},L=function(B,g){var H=[];for(var T=g||0,c=0;T<B.length;T+=1,c+=1)H[c]=B[T];return H},S=function(B,g){var H="";for(var T=0;T<B.length;T+=1)if(H+=B[T],T+1<B.length)H+=g;return H};I.exports=function(B){var g=this;if(typeof g!=="function"||z.apply(g)!==Z)throw TypeError(J+g);var H=L(arguments,1),T,c=function(){if(this instanceof T){var m=g.apply(this,Y(H,arguments));if(Object(m)===m)return m;return this}return g.apply(B,Y(H,arguments))},x=v(0,g.length-H.length),u=[];for(var h=0;h<x;h++)u[h]="$"+h;if(T=Function("binder","return function ("+S(u,",")+"){ return binder.apply(this,arguments); }")(c),g.prototype){var i=function(){};i.prototype=g.prototype,T.prototype=new i,i.prototype=null}return T}}),gK=G$((U,I)=>{var J=ic();I.exports=Function.prototype.bind||J}),Z5=G$((U,I)=>{I.exports=Function.prototype.call}),z5=G$((U,I)=>{I.exports=Function.prototype.apply}),rc=G$((U,I)=>{I.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),CT=G$((U,I)=>{var J=gK(),z=z5(),v=Z5(),Z=rc();I.exports=Z||J.call(v,z)}),W5=G$((U,I)=>{var J=gK(),z=TK(),v=Z5(),Z=CT();I.exports=function(Y){if(Y.length<1||typeof Y[0]!=="function")throw new z("a function is required");return Z(J,v,Y)}}),oc=G$((U,I)=>{var J=W5(),z=BK(),v;try{v=[].__proto__===Array.prototype}catch(S){if(!S||typeof S!=="object"||!("code"in S)||S.code!=="ERR_PROTO_ACCESS")throw S}var Z=!!v&&z&&z(Object.prototype,"__proto__"),Y=Object,L=Y.getPrototypeOf;I.exports=Z&&typeof Z.get==="function"?J([Z.get]):typeof L==="function"?function(S){return L(S==null?S:Y(S))}:!1}),RT=G$((U,I)=>{var J=qT(),z=PT(),v=oc();I.exports=J?function(Z){return J(Z)}:z?function(Z){if(!Z||typeof Z!=="object"&&typeof Z!=="function")throw TypeError("getProto: not an object");return z(Z)}:v?function(Z){return v(Z)}:null}),tc=G$((U,I)=>{var J=Function.prototype.call,z=Object.prototype.hasOwnProperty,v=gK();I.exports=v.call(J,z)}),ET=G$((U,I)=>{var J,z=MT(),v=Sc(),Z=wc(),Y=kc(),L=cc(),S=LT(),B=TK(),g=xc(),H=yc(),T=fc(),c=bc(),x=mc(),u=uc(),h=hc(),i=lc(),m=Function,n=function(D0){try{return m('"use strict"; return ('+D0+").constructor;")()}catch(L0){}},a=BK(),j0=I9(),Y0=function(){throw new B},C0=a?function(){try{return arguments.callee,Y0}catch(D0){try{return a(arguments,"callee").get}catch(L0){return Y0}}}():Y0,S0=nc()(),h0=RT(),X0=PT(),x0=qT(),Q=z5(),K=Z5(),D={},W=typeof Uint8Array>"u"||!h0?J:h0(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?J:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?J:ArrayBuffer,"%ArrayIteratorPrototype%":S0&&h0?h0([][Symbol.iterator]()):J,"%AsyncFromSyncIteratorPrototype%":J,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":typeof Atomics>"u"?J:Atomics,"%BigInt%":typeof BigInt>"u"?J:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?J:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?J:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?J:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":v,"%eval%":eval,"%EvalError%":Z,"%Float16Array%":typeof Float16Array>"u"?J:Float16Array,"%Float32Array%":typeof Float32Array>"u"?J:Float32Array,"%Float64Array%":typeof Float64Array>"u"?J:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?J:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":D,"%Int8Array%":typeof Int8Array>"u"?J:Int8Array,"%Int16Array%":typeof Int16Array>"u"?J:Int16Array,"%Int32Array%":typeof Int32Array>"u"?J:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S0&&h0?h0(h0([][Symbol.iterator]())):J,"%JSON%":typeof JSON==="object"?JSON:J,"%Map%":typeof Map>"u"?J:Map,"%MapIteratorPrototype%":typeof Map>"u"||!S0||!h0?J:h0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":z,"%Object.getOwnPropertyDescriptor%":a,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?J:Promise,"%Proxy%":typeof Proxy>"u"?J:Proxy,"%RangeError%":Y,"%ReferenceError%":L,"%Reflect%":typeof Reflect>"u"?J:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?J:Set,"%SetIteratorPrototype%":typeof Set>"u"||!S0||!h0?J:h0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?J:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S0&&h0?h0(""[Symbol.iterator]()):J,"%Symbol%":S0?Symbol:J,"%SyntaxError%":S,"%ThrowTypeError%":C0,"%TypedArray%":W,"%TypeError%":B,"%Uint8Array%":typeof Uint8Array>"u"?J:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?J:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?J:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?J:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?J:WeakMap,"%WeakRef%":typeof WeakRef>"u"?J:WeakRef,"%WeakSet%":typeof WeakSet>"u"?J:WeakSet,"%Function.prototype.call%":K,"%Function.prototype.apply%":Q,"%Object.defineProperty%":j0,"%Object.getPrototypeOf%":X0,"%Math.abs%":H,"%Math.floor%":T,"%Math.max%":c,"%Math.min%":x,"%Math.pow%":u,"%Math.round%":h,"%Math.sign%":i,"%Reflect.getPrototypeOf%":x0};if(h0)try{null.error}catch(D0){R=h0(h0(D0)),V["%Error.prototype%"]=R}var R,N=function D0(L0){var k0;if(L0==="%AsyncFunction%")k0=n("async function () {}");else if(L0==="%GeneratorFunction%")k0=n("function* () {}");else if(L0==="%AsyncGeneratorFunction%")k0=n("async function* () {}");else if(L0==="%AsyncGenerator%"){var Z0=D0("%AsyncGeneratorFunction%");if(Z0)k0=Z0.prototype}else if(L0==="%AsyncIteratorPrototype%"){var r=D0("%AsyncGenerator%");if(r&&h0)k0=h0(r.prototype)}return V[L0]=k0,k0},q={__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"]},G=gK(),C=tc(),b=G.call(K,Array.prototype.concat),y=G.call(Q,Array.prototype.splice),o=G.call(K,String.prototype.replace),J0=G.call(K,String.prototype.slice),K0=G.call(K,RegExp.prototype.exec),A0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H0=/\\(\\)?/g,W0=function(D0){var L0=J0(D0,0,1),k0=J0(D0,-1);if(L0==="%"&&k0!=="%")throw new S("invalid intrinsic syntax, expected closing `%`");else if(k0==="%"&&L0!=="%")throw new S("invalid intrinsic syntax, expected opening `%`");var Z0=[];return o(D0,A0,function(r,U0,g0,M0){Z0[Z0.length]=g0?o(M0,H0,"$1"):U0||r}),Z0},z0=function(D0,L0){var k0=D0,Z0;if(C(q,k0))Z0=q[k0],k0="%"+Z0[0]+"%";if(C(V,k0)){var r=V[k0];if(r===D)r=N(k0);if(typeof r>"u"&&!L0)throw new B("intrinsic "+D0+" exists, but is not available. Please file an issue!");return{alias:Z0,name:k0,value:r}}throw new S("intrinsic "+D0+" does not exist!")};I.exports=function(D0,L0){if(typeof D0!=="string"||D0.length===0)throw new B("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L0!=="boolean")throw new B('"allowMissing" argument must be a boolean');if(K0(/^%?[^%]*%?$/,D0)===null)throw new S("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var k0=W0(D0),Z0=k0.length>0?k0[0]:"",r=z0("%"+Z0+"%",L0),U0=r.name,g0=r.value,M0=!1,R0=r.alias;if(R0)Z0=R0[0],y(k0,b([0,1],R0));for(var o0=1,O0=!0;o0<k0.length;o0+=1){var P0=k0[o0],q$=J0(P0,0,1),w0=J0(P0,-1);if((q$==='"'||q$==="'"||q$==="`"||(w0==='"'||w0==="'"||w0==="`"))&&q$!==w0)throw new S("property names with quotes must have matching quotes");if(P0==="constructor"||!O0)M0=!0;if(Z0+="."+P0,U0="%"+Z0+"%",C(V,U0))g0=V[U0];else if(g0!=null){if(!(P0 in g0)){if(!L0)throw new B("base intrinsic for "+D0+" exists, but the property is not available.");return}if(a&&o0+1>=k0.length){var n0=a(g0,P0);if(O0=!!n0,O0&&"get"in n0&&!("originalValue"in n0.get))g0=n0.get;else g0=g0[P0]}else O0=C(g0,P0),g0=g0[P0];if(O0&&!M0)V[U0]=g0}}return g0}}),TT=G$((U,I)=>{var J=ET(),z=W5(),v=z([J("%String.prototype.indexOf%")]);I.exports=function(Z,Y){var L=J(Z,!!Y);if(typeof L==="function"&&v(Z,".prototype.")>-1)return z([L]);return L}}),sc=G$((U,I)=>{var J=Function.prototype.toString,z=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,v,Z;if(typeof z==="function"&&typeof Object.defineProperty==="function")try{v=Object.defineProperty({},"length",{get:function(){throw Z}}),Z={},z(function(){throw 42},null,v)}catch(a){if(a!==Z)z=null}else z=null;var Y=/^\s*class\b/,L=function(a){try{var j0=J.call(a);return Y.test(j0)}catch(Y0){return!1}},S=function(a){try{if(L(a))return!1;return J.call(a),!0}catch(j0){return!1}},B=Object.prototype.toString,g="[object Object]",H="[object Function]",T="[object GeneratorFunction]",c="[object HTMLAllCollection]",x="[object HTML document.all class]",u="[object HTMLCollection]",h=typeof Symbol==="function"&&!!Symbol.toStringTag,i=!(0 in[,]),m=function(){return!1};if(typeof document==="object"){if(n=document.all,B.call(n)===B.call(document.all))m=function(a){if((i||!a)&&(typeof a>"u"||typeof a==="object"))try{var j0=B.call(a);return(j0===c||j0===x||j0===u||j0===g)&&a("")==null}catch(Y0){}return!1}}var n;I.exports=z?function(a){if(m(a))return!0;if(!a)return!1;if(typeof a!=="function"&&typeof a!=="object")return!1;try{z(a,null,v)}catch(j0){if(j0!==Z)return!1}return!L(a)&&S(a)}:function(a){if(m(a))return!0;if(!a)return!1;if(typeof a!=="function"&&typeof a!=="object")return!1;if(h)return S(a);if(L(a))return!1;var j0=B.call(a);if(j0!==H&&j0!==T&&!/^\[object HTML/.test(j0))return!1;return S(a)}}),ac=G$((U,I)=>{var J=sc(),z=Object.prototype.toString,v=Object.prototype.hasOwnProperty,Z=function(B,g,H){for(var T=0,c=B.length;T<c;T++)if(v.call(B,T))if(H==null)g(B[T],T,B);else g.call(H,B[T],T,B)},Y=function(B,g,H){for(var T=0,c=B.length;T<c;T++)if(H==null)g(B.charAt(T),T,B);else g.call(H,B.charAt(T),T,B)},L=function(B,g,H){for(var T in B)if(v.call(B,T))if(H==null)g(B[T],T,B);else g.call(H,B[T],T,B)};function S(B){return z.call(B)==="[object Array]"}I.exports=function(B,g,H){if(!J(g))throw TypeError("iterator must be a function");var T;if(arguments.length>=3)T=H;if(S(B))Z(B,g,T);else if(typeof B==="string")Y(B,g,T);else L(B,g,T)}}),ec=G$((U,I)=>{I.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),$x=G$((U,I)=>{var J=ec(),z=typeof globalThis>"u"?globalThis:globalThis;I.exports=function(){var v=[];for(var Z=0;Z<J.length;Z++)if(typeof z[J[Z]]==="function")v[v.length]=J[Z];return v}}),jx=G$((U,I)=>{var J=I9(),z=LT(),v=TK(),Z=BK();I.exports=function(Y,L,S){if(!Y||typeof Y!=="object"&&typeof Y!=="function")throw new v("`obj` must be an object or a function`");if(typeof L!=="string"&&typeof L!=="symbol")throw new v("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null)throw new v("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null)throw new v("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null)throw new v("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=="boolean")throw new v("`loose`, if provided, must be a boolean");var B=arguments.length>3?arguments[3]:null,g=arguments.length>4?arguments[4]:null,H=arguments.length>5?arguments[5]:null,T=arguments.length>6?arguments[6]:!1,c=!!Z&&Z(Y,L);if(J)J(Y,L,{configurable:H===null&&c?c.configurable:!H,enumerable:B===null&&c?c.enumerable:!B,value:S,writable:g===null&&c?c.writable:!g});else if(T||!B&&!g&&!H)Y[L]=S;else throw new z("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),Ux=G$((U,I)=>{var J=I9(),z=function(){return!!J};z.hasArrayLengthDefineBug=function(){if(!J)return null;try{return J([],"length",{value:1}).length!==1}catch(v){return!0}},I.exports=z}),vx=G$((U,I)=>{var J=ET(),z=jx(),v=Ux()(),Z=BK(),Y=TK(),L=J("%Math.floor%");I.exports=function(S,B){if(typeof S!=="function")throw new Y("`fn` is not a function");if(typeof B!=="number"||B<0||B>4294967295||L(B)!==B)throw new Y("`length` must be a positive 32-bit integer");var g=arguments.length>2&&!!arguments[2],H=!0,T=!0;if("length"in S&&Z){var c=Z(S,"length");if(c&&!c.configurable)H=!1;if(c&&!c.writable)T=!1}if(H||T||!g)if(v)z(S,"length",B,!0,!0);else z(S,"length",B);return S}}),Ix=G$((U,I)=>{var J=gK(),z=z5(),v=CT();I.exports=function(){return v(J,z,arguments)}}),Xx=G$((U,I)=>{var J=vx(),z=I9(),v=W5(),Z=Ix();if(I.exports=function(Y){var L=v(arguments),S=Y.length-(arguments.length-1);return J(L,1+(S>0?S:0),!0)},z)z(I.exports,"apply",{value:Z});else I.exports.apply=Z}),Jx=G$((U,I)=>{var J=AT();I.exports=function(){return J()&&!!Symbol.toStringTag}}),Qx=G$((U,I)=>{var J=ac(),z=$x(),v=Xx(),Z=TT(),Y=BK(),L=RT(),S=Z("Object.prototype.toString"),B=Jx()(),g=typeof globalThis>"u"?globalThis:globalThis,H=z(),T=Z("String.prototype.slice"),c=Z("Array.prototype.indexOf",!0)||function(i,m){for(var n=0;n<i.length;n+=1)if(i[n]===m)return n;return-1},x={__proto__:null};if(B&&Y&&L)J(H,function(i){var m=new g[i];if(Symbol.toStringTag in m&&L){var n=L(m),a=Y(n,Symbol.toStringTag);if(!a&&n){var j0=L(n);a=Y(j0,Symbol.toStringTag)}x["$"+i]=v(a.get)}});else J(H,function(i){var m=new g[i],n=m.slice||m.set;if(n)x["$"+i]=v(n)});var u=function(i){var m=!1;return J(x,function(n,a){if(!m)try{if("$"+n(i)===a)m=T(a,1)}catch(j0){}}),m},h=function(i){var m=!1;return J(x,function(n,a){if(!m)try{n(i),m=T(a,1)}catch(j0){}}),m};I.exports=function(i){if(!i||typeof i!=="object")return!1;if(!B){var m=T(S(i),8,-1);if(c(H,m)>-1)return m;if(m!=="Object")return!1;return h(i)}if(!Y)return null;return u(i)}}),Yx=G$((U,I)=>{var J=Qx();I.exports=function(z){return!!J(z)}}),Gx=G$((U,I)=>{var J=TK(),z=TT(),v=z("TypedArray.prototype.buffer",!0),Z=Yx();I.exports=v||function(Y){if(!Z(Y))throw new J("Not a Typed Array");return Y.buffer}}),Zx=G$((U,I)=>{var J=h1().Buffer,z=Nc(),v=Gx(),Z=ArrayBuffer.isView||function(B){try{return v(B),!0}catch(g){return!1}},Y=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",S=L&&(J.prototype instanceof Uint8Array||J.TYPED_ARRAY_SUPPORT);I.exports=function(B,g){if(J.isBuffer(B)){if(B.constructor&&!("isBuffer"in B))return J.from(B);return B}if(typeof B==="string")return J.from(B,g);if(L&&Z(B)){if(B.byteLength===0)return J.alloc(0);if(S){var H=J.from(B.buffer,B.byteOffset,B.byteLength);if(H.byteLength===B.byteLength)return H}var T=B instanceof Uint8Array?B:new Uint8Array(B.buffer,B.byteOffset,B.byteLength),c=J.from(T);if(c.length===B.byteLength)return c}if(Y&&B instanceof Uint8Array)return J.from(B);var x=z(B);if(x)for(var u=0;u<B.length;u+=1){var h=B[u];if(typeof h!=="number"||h<0||h>255||~~h!==h)throw RangeError("Array items must be numbers in the range 0-255.")}if(x||J.isBuffer(B)&&B.constructor&&typeof B.constructor.isBuffer==="function"&&B.constructor.isBuffer(B))return J.from(B);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),K5=G$((U,I)=>{var J=h1().Buffer,z=Zx(),v=typeof Uint8Array<"u",Z=v&&typeof ArrayBuffer<"u",Y=Z&&ArrayBuffer.isView;I.exports=function(L,S,B){if(typeof L==="string"||J.isBuffer(L)||v&&L instanceof Uint8Array||Y&&Y(L))return z(L,S);throw TypeError(B+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),BT=G$((U,I)=>{var J={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,rmd160:20,ripemd160:20},z={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"},v=_T(),Z=h1().Buffer,Y=Y5(),L=G5(),S=K5();function B(g,H,T,c,x){Y(T,c),g=S(g,L,"Password"),H=S(H,L,"Salt");var u=(x||"sha1").toLowerCase(),h=z[u]||u,i=J[h];if(typeof i!=="number"||!i)throw TypeError("Digest algorithm not supported: "+x);var m=Z.allocUnsafe(c),n=Z.allocUnsafe(H.length+4);H.copy(n,0,0,H.length);var a=0,j0=i,Y0=Math.ceil(c/j0);for(var C0=1;C0<=Y0;C0++){n.writeUInt32BE(C0,H.length);var S0=v(h,g).update(n).digest(),h0=S0;for(var X0=1;X0<T;X0++){h0=v(h,g).update(h0).digest();for(var x0=0;x0<j0;x0++)S0[x0]^=h0[x0]}S0.copy(m,a),a+=j0}return m}I.exports=B}),zx=G$((U,I)=>{var J=h1().Buffer,z=Y5(),v=G5(),Z=BT(),Y=K5(),L,S=globalThis.crypto&&globalThis.crypto.subtle,B={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"},g=[],H;function T(){if(H)return H;if(globalThis.process&&globalThis.process.nextTick)H=globalThis.process.nextTick;else if(globalThis.queueMicrotask)H=globalThis.queueMicrotask;else if(globalThis.setImmediate)H=globalThis.setImmediate;else H=globalThis.setTimeout;return H}function c(h,i,m,n,a){return S.importKey("raw",h,{name:"PBKDF2"},!1,["deriveBits"]).then(function(j0){return S.deriveBits({name:"PBKDF2",salt:i,iterations:m,hash:{name:a}},j0,n<<3)}).then(function(j0){return J.from(j0)})}function x(h){if(globalThis.process&&!globalThis.process.browser)return Promise.resolve(!1);if(!S||!S.importKey||!S.deriveBits)return Promise.resolve(!1);if(g[h]!==void 0)return g[h];L=L||J.alloc(8);var i=c(L,L,10,128,h).then(function(){return!0},function(){return!1});return g[h]=i,i}function u(h,i){h.then(function(m){T()(function(){i(null,m)})},function(m){T()(function(){i(m)})})}I.exports=function(h,i,m,n,a,j0){if(typeof a==="function")j0=a,a=void 0;if(z(m,n),h=Y(h,v,"Password"),i=Y(i,v,"Salt"),typeof j0!=="function")throw Error("No callback provided to pbkdf2");a=a||"sha1";var Y0=B[a.toLowerCase()];if(!Y0||typeof globalThis.Promise!=="function"){T()(function(){var C0;try{C0=Z(h,i,m,n,a)}catch(S0){j0(S0);return}j0(null,C0)});return}u(x(Y0).then(function(C0){if(C0)return c(h,i,m,n,Y0);return Z(h,i,m,n,a)}),j0)}}),gT=G$((U)=>{var I=(VU(),Mj(vI)),J=Y5(),z=G5(),v=K5();function Z(L,S,B,g,H,T){if(J(B,g),L=v(L,z,"Password"),S=v(S,z,"Salt"),typeof H==="function")T=H,H="sha1";if(typeof T!=="function")throw Error("No callback provided to pbkdf2");return I.pbkdf2(L,S,B,g,H,T)}function Y(L,S,B,g,H){return J(B,g),L=v(L,z,"Password"),S=v(S,z,"Salt"),H=H||"sha1",I.pbkdf2Sync(L,S,B,g,H)}if(!I.pbkdf2Sync||I.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)U.pbkdf2Sync=BT(),U.pbkdf2=zx();else U.pbkdf2Sync=Y,U.pbkdf2=Z}),Wx=G$((U)=>{var I=(VU(),Mj(vI));U.createCipher=U.Cipher=I.createCipher,U.createCipheriv=U.Cipheriv=I.createCipheriv,U.createDecipher=U.Decipher=I.createDecipher,U.createDecipheriv=U.Decipheriv=I.createDecipheriv,U.listCiphers=U.getCiphers=I.getCiphers}),Kx=G$((U)=>{var I=(VU(),Mj(vI));U.DiffieHellmanGroup=I.DiffieHellmanGroup,U.createDiffieHellmanGroup=I.createDiffieHellmanGroup,U.getDiffieHellman=I.getDiffieHellman,U.createDiffieHellman=I.createDiffieHellman,U.DiffieHellman=I.DiffieHellman}),Ox=G$((U)=>{var I=(VU(),Mj(vI));U.createSign=I.createSign,U.Sign=I.Sign,U.createVerify=I.createVerify,U.Verify=I.Verify}),Vx=G$((U,I)=>{I.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"}}}),UY=G$((U,I)=>{(function(J,z){function v(Q,K){if(!Q)throw Error(K||"Assertion failed")}function Z(Q,K){Q.super_=K;var D=function(){};D.prototype=K.prototype,Q.prototype=new D,Q.prototype.constructor=Q}function Y(Q,K,D){if(Y.isBN(Q))return Q;if(this.negative=0,this.words=null,this.length=0,this.red=null,Q!==null){if(K==="le"||K==="be")D=K,K=10;this._init(Q||0,K||10,D||"be")}}if(typeof J==="object")J.exports=Y;else z.BN=Y;Y.BN=Y,Y.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(F4(),Mj(D4)).Buffer}catch(Q){}Y.isBN=function(Q){if(Q instanceof Y)return!0;return Q!==null&&typeof Q==="object"&&Q.constructor.wordSize===Y.wordSize&&Array.isArray(Q.words)},Y.max=function(Q,K){if(Q.cmp(K)>0)return Q;return K},Y.min=function(Q,K){if(Q.cmp(K)<0)return Q;return K},Y.prototype._init=function(Q,K,D){if(typeof Q==="number")return this._initNumber(Q,K,D);if(typeof Q==="object")return this._initArray(Q,K,D);if(K==="hex")K=16;v(K===(K|0)&&K>=2&&K<=36),Q=Q.toString().replace(/\s+/g,"");var W=0;if(Q[0]==="-")W++,this.negative=1;if(W<Q.length){if(K===16)this._parseHex(Q,W,D);else if(this._parseBase(Q,K,W),D==="le")this._initArray(this.toArray(),K,D)}},Y.prototype._initNumber=function(Q,K,D){if(Q<0)this.negative=1,Q=-Q;if(Q<67108864)this.words=[Q&67108863],this.length=1;else if(Q<4503599627370496)this.words=[Q&67108863,Q/67108864&67108863],this.length=2;else v(Q<9007199254740992),this.words=[Q&67108863,Q/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),K,D)},Y.prototype._initArray=function(Q,K,D){if(v(typeof Q.length==="number"),Q.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Q.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V,R,N=0;if(D==="be"){for(W=Q.length-1,V=0;W>=0;W-=3)if(R=Q[W]|Q[W-1]<<8|Q[W-2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}else if(D==="le"){for(W=0,V=0;W<Q.length;W+=3)if(R=Q[W]|Q[W+1]<<8|Q[W+2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}return this.strip()};function S(Q,K){var D=Q.charCodeAt(K);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function B(Q,K,D){var W=S(Q,D);if(D-1>=K)W|=S(Q,D-1)<<4;return W}Y.prototype._parseHex=function(Q,K,D){this.length=Math.ceil((Q.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V=0,R=0,N;if(D==="be")for(W=Q.length-1;W>=K;W-=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8;else{var q=Q.length-K;for(W=q%2===0?K+1:K;W<Q.length;W+=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8}this.strip()};function g(Q,K,D,W){var V=0,R=Math.min(Q.length,D);for(var N=K;N<R;N++){var q=Q.charCodeAt(N)-48;if(V*=W,q>=49)V+=q-49+10;else if(q>=17)V+=q-17+10;else V+=q}return V}Y.prototype._parseBase=function(Q,K,D){this.words=[0],this.length=1;for(var W=0,V=1;V<=67108863;V*=K)W++;W--,V=V/K|0;var R=Q.length-D,N=R%W,q=Math.min(R,R-N)+D,G=0;for(var C=D;C<q;C+=W)if(G=g(Q,C,C+W,K),this.imuln(V),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G);if(N!==0){var b=1;G=g(Q,C,Q.length,K);for(C=0;C<N;C++)b*=K;if(this.imuln(b),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G)}this.strip()},Y.prototype.copy=function(Q){Q.words=Array(this.length);for(var K=0;K<this.length;K++)Q.words[K]=this.words[K];Q.length=this.length,Q.negative=this.negative,Q.red=this.red},Y.prototype.clone=function(){var Q=new Y(null);return this.copy(Q),Q},Y.prototype._expand=function(Q){while(this.length<Q)this.words[this.length++]=0;return this},Y.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Y.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Y.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var H=["","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"],T=[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],c=[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(Y.prototype.toString=function(Q,K){Q=Q||10,K=K|0||1;var D;if(Q===16||Q==="hex"){D="";var W=0,V=0;for(var R=0;R<this.length;R++){var N=this.words[R],q=((N<<W|V)&16777215).toString(16);if(V=N>>>24-W&16777215,W+=2,W>=26)W-=26,R--;if(V!==0||R!==this.length-1)D=H[6-q.length]+q+D;else D=q+D}if(V!==0)D=V.toString(16)+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(Q===(Q|0)&&Q>=2&&Q<=36){var G=T[Q],C=c[Q];D="";var b=this.clone();b.negative=0;while(!b.isZero()){var y=b.modn(C).toString(Q);if(b=b.idivn(C),!b.isZero())D=H[G-y.length]+y+D;else D=y+D}if(this.isZero())D="0"+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}v(!1,"Base should be between 2 and 36")},Y.prototype.toNumber=function(){var Q=this.words[0];if(this.length===2)Q+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Q+=4503599627370496+this.words[1]*67108864;else if(this.length>2)v(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Q:Q},Y.prototype.toJSON=function(){return this.toString(16)},Y.prototype.toBuffer=function(Q,K){return v(typeof L<"u"),this.toArrayLike(L,Q,K)},Y.prototype.toArray=function(Q,K){return this.toArrayLike(Array,Q,K)},Y.prototype.toArrayLike=function(Q,K,D){var W=this.byteLength(),V=D||Math.max(1,W);v(W<=V,"byte array longer than desired length"),v(V>0,"Requested array length <= 0"),this.strip();var R=K==="le",N=new Q(V),q,G,C=this.clone();if(!R){for(G=0;G<V-W;G++)N[G]=0;for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[V-G-1]=q}else{for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[G]=q;for(;G<V;G++)N[G]=0}return N},Math.clz32)Y.prototype._countBits=function(Q){return 32-Math.clz32(Q)};else Y.prototype._countBits=function(Q){var K=Q,D=0;if(K>=4096)D+=13,K>>>=13;if(K>=64)D+=7,K>>>=7;if(K>=8)D+=4,K>>>=4;if(K>=2)D+=2,K>>>=2;return D+K};Y.prototype._zeroBits=function(Q){if(Q===0)return 26;var K=Q,D=0;if((K&8191)===0)D+=13,K>>>=13;if((K&127)===0)D+=7,K>>>=7;if((K&15)===0)D+=4,K>>>=4;if((K&3)===0)D+=2,K>>>=2;if((K&1)===0)D++;return D},Y.prototype.bitLength=function(){var Q=this.words[this.length-1],K=this._countBits(Q);return(this.length-1)*26+K};function x(Q){var K=Array(Q.bitLength());for(var D=0;D<K.length;D++){var W=D/26|0,V=D%26;K[D]=(Q.words[W]&1<<V)>>>V}return K}Y.prototype.zeroBits=function(){if(this.isZero())return 0;var Q=0;for(var K=0;K<this.length;K++){var D=this._zeroBits(this.words[K]);if(Q+=D,D!==26)break}return Q},Y.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Y.prototype.toTwos=function(Q){if(this.negative!==0)return this.abs().inotn(Q).iaddn(1);return this.clone()},Y.prototype.fromTwos=function(Q){if(this.testn(Q-1))return this.notn(Q).iaddn(1).ineg();return this.clone()},Y.prototype.isNeg=function(){return this.negative!==0},Y.prototype.neg=function(){return this.clone().ineg()},Y.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Y.prototype.iuor=function(Q){while(this.length<Q.length)this.words[this.length++]=0;for(var K=0;K<Q.length;K++)this.words[K]=this.words[K]|Q.words[K];return this.strip()},Y.prototype.ior=function(Q){return v((this.negative|Q.negative)===0),this.iuor(Q)},Y.prototype.or=function(Q){if(this.length>Q.length)return this.clone().ior(Q);return Q.clone().ior(this)},Y.prototype.uor=function(Q){if(this.length>Q.length)return this.clone().iuor(Q);return Q.clone().iuor(this)},Y.prototype.iuand=function(Q){var K;if(this.length>Q.length)K=Q;else K=this;for(var D=0;D<K.length;D++)this.words[D]=this.words[D]&Q.words[D];return this.length=K.length,this.strip()},Y.prototype.iand=function(Q){return v((this.negative|Q.negative)===0),this.iuand(Q)},Y.prototype.and=function(Q){if(this.length>Q.length)return this.clone().iand(Q);return Q.clone().iand(this)},Y.prototype.uand=function(Q){if(this.length>Q.length)return this.clone().iuand(Q);return Q.clone().iuand(this)},Y.prototype.iuxor=function(Q){var K,D;if(this.length>Q.length)K=this,D=Q;else K=Q,D=this;for(var W=0;W<D.length;W++)this.words[W]=K.words[W]^D.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Y.prototype.ixor=function(Q){return v((this.negative|Q.negative)===0),this.iuxor(Q)},Y.prototype.xor=function(Q){if(this.length>Q.length)return this.clone().ixor(Q);return Q.clone().ixor(this)},Y.prototype.uxor=function(Q){if(this.length>Q.length)return this.clone().iuxor(Q);return Q.clone().iuxor(this)},Y.prototype.inotn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Math.ceil(Q/26)|0,D=Q%26;if(this._expand(K),D>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(D>0)this.words[W]=~this.words[W]&67108863>>26-D;return this.strip()},Y.prototype.notn=function(Q){return this.clone().inotn(Q)},Y.prototype.setn=function(Q,K){v(typeof Q==="number"&&Q>=0);var D=Q/26|0,W=Q%26;if(this._expand(D+1),K)this.words[D]=this.words[D]|1<<W;else this.words[D]=this.words[D]&~(1<<W);return this.strip()},Y.prototype.iadd=function(Q){var K;if(this.negative!==0&&Q.negative===0)return this.negative=0,K=this.isub(Q),this.negative^=1,this._normSign();else if(this.negative===0&&Q.negative!==0)return Q.negative=0,K=this.isub(Q),Q.negative=1,K._normSign();var D,W;if(this.length>Q.length)D=this,W=Q;else D=Q,W=this;var V=0;for(var R=0;R<W.length;R++)K=(D.words[R]|0)+(W.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;for(;V!==0&&R<D.length;R++)K=(D.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;if(this.length=D.length,V!==0)this.words[this.length]=V,this.length++;else if(D!==this)for(;R<D.length;R++)this.words[R]=D.words[R];return this},Y.prototype.add=function(Q){var K;if(Q.negative!==0&&this.negative===0)return Q.negative=0,K=this.sub(Q),Q.negative^=1,K;else if(Q.negative===0&&this.negative!==0)return this.negative=0,K=Q.sub(this),this.negative=1,K;if(this.length>Q.length)return this.clone().iadd(Q);return Q.clone().iadd(this)},Y.prototype.isub=function(Q){if(Q.negative!==0){Q.negative=0;var K=this.iadd(Q);return Q.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Q),this.negative=1,this._normSign();var D=this.cmp(Q);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,V;if(D>0)W=this,V=Q;else W=Q,V=this;var R=0;for(var N=0;N<V.length;N++)K=(W.words[N]|0)-(V.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;for(;R!==0&&N<W.length;N++)K=(W.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;if(R===0&&N<W.length&&W!==this)for(;N<W.length;N++)this.words[N]=W.words[N];if(this.length=Math.max(this.length,N),W!==this)this.negative=1;return this.strip()},Y.prototype.sub=function(Q){return this.clone().isub(Q)};function u(Q,K,D){D.negative=K.negative^Q.negative;var W=Q.length+K.length|0;D.length=W,W=W-1|0;var V=Q.words[0]|0,R=K.words[0]|0,N=V*R,q=N&67108863,G=N/67108864|0;D.words[0]=q;for(var C=1;C<W;C++){var b=G>>>26,y=G&67108863,o=Math.min(C,K.length-1);for(var J0=Math.max(0,C-Q.length+1);J0<=o;J0++){var K0=C-J0|0;V=Q.words[K0]|0,R=K.words[J0]|0,N=V*R+y,b+=N/67108864|0,y=N&67108863}D.words[C]=y|0,G=b|0}if(G!==0)D.words[C]=G|0;else D.length--;return D.strip()}var h=function(Q,K,D){var W=Q.words,V=K.words,R=D.words,N=0,q,G,C,b=W[0]|0,y=b&8191,o=b>>>13,J0=W[1]|0,K0=J0&8191,A0=J0>>>13,H0=W[2]|0,W0=H0&8191,z0=H0>>>13,D0=W[3]|0,L0=D0&8191,k0=D0>>>13,Z0=W[4]|0,r=Z0&8191,U0=Z0>>>13,g0=W[5]|0,M0=g0&8191,R0=g0>>>13,o0=W[6]|0,O0=o0&8191,P0=o0>>>13,q$=W[7]|0,w0=q$&8191,n0=q$>>>13,i$=W[8]|0,s0=i$&8191,Z$=i$>>>13,Lj=W[9]|0,J$=Lj&8191,Y$=Lj>>>13,dj=V[0]|0,M$=dj&8191,F$=dj>>>13,J2=V[1]|0,e=J2&8191,V0=J2>>>13,P$=V[2]|0,l0=P$&8191,d0=P$>>>13,n$=V[3]|0,a0=n$&8191,X$=n$>>>13,u$=V[4]|0,z$=u$&8191,_$=u$>>>13,A2=V[5]|0,L$=A2&8191,I0=A2>>>13,_0=V[6]|0,b0=_0&8191,p0=_0>>>13,c$=V[7]|0,K$=c$&8191,O$=c$>>>13,q2=V[8]|0,E$=q2&8191,D$=q2>>>13,j2=V[9]|0,U$=j2&8191,C$=j2>>>13;D.negative=Q.negative^K.negative,D.length=19,q=Math.imul(y,M$),G=Math.imul(y,F$),G=G+Math.imul(o,M$)|0,C=Math.imul(o,F$);var W2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(W2>>>26)|0,W2&=67108863,q=Math.imul(K0,M$),G=Math.imul(K0,F$),G=G+Math.imul(A0,M$)|0,C=Math.imul(A0,F$),q=q+Math.imul(y,e)|0,G=G+Math.imul(y,V0)|0,G=G+Math.imul(o,e)|0,C=C+Math.imul(o,V0)|0;var Jj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Jj>>>26)|0,Jj&=67108863,q=Math.imul(W0,M$),G=Math.imul(W0,F$),G=G+Math.imul(z0,M$)|0,C=Math.imul(z0,F$),q=q+Math.imul(K0,e)|0,G=G+Math.imul(K0,V0)|0,G=G+Math.imul(A0,e)|0,C=C+Math.imul(A0,V0)|0,q=q+Math.imul(y,l0)|0,G=G+Math.imul(y,d0)|0,G=G+Math.imul(o,l0)|0,C=C+Math.imul(o,d0)|0;var e$=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(e$>>>26)|0,e$&=67108863,q=Math.imul(L0,M$),G=Math.imul(L0,F$),G=G+Math.imul(k0,M$)|0,C=Math.imul(k0,F$),q=q+Math.imul(W0,e)|0,G=G+Math.imul(W0,V0)|0,G=G+Math.imul(z0,e)|0,C=C+Math.imul(z0,V0)|0,q=q+Math.imul(K0,l0)|0,G=G+Math.imul(K0,d0)|0,G=G+Math.imul(A0,l0)|0,C=C+Math.imul(A0,d0)|0,q=q+Math.imul(y,a0)|0,G=G+Math.imul(y,X$)|0,G=G+Math.imul(o,a0)|0,C=C+Math.imul(o,X$)|0;var tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(tj>>>26)|0,tj&=67108863,q=Math.imul(r,M$),G=Math.imul(r,F$),G=G+Math.imul(U0,M$)|0,C=Math.imul(U0,F$),q=q+Math.imul(L0,e)|0,G=G+Math.imul(L0,V0)|0,G=G+Math.imul(k0,e)|0,C=C+Math.imul(k0,V0)|0,q=q+Math.imul(W0,l0)|0,G=G+Math.imul(W0,d0)|0,G=G+Math.imul(z0,l0)|0,C=C+Math.imul(z0,d0)|0,q=q+Math.imul(K0,a0)|0,G=G+Math.imul(K0,X$)|0,G=G+Math.imul(A0,a0)|0,C=C+Math.imul(A0,X$)|0,q=q+Math.imul(y,z$)|0,G=G+Math.imul(y,_$)|0,G=G+Math.imul(o,z$)|0,C=C+Math.imul(o,_$)|0;var Qj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Qj>>>26)|0,Qj&=67108863,q=Math.imul(M0,M$),G=Math.imul(M0,F$),G=G+Math.imul(R0,M$)|0,C=Math.imul(R0,F$),q=q+Math.imul(r,e)|0,G=G+Math.imul(r,V0)|0,G=G+Math.imul(U0,e)|0,C=C+Math.imul(U0,V0)|0,q=q+Math.imul(L0,l0)|0,G=G+Math.imul(L0,d0)|0,G=G+Math.imul(k0,l0)|0,C=C+Math.imul(k0,d0)|0,q=q+Math.imul(W0,a0)|0,G=G+Math.imul(W0,X$)|0,G=G+Math.imul(z0,a0)|0,C=C+Math.imul(z0,X$)|0,q=q+Math.imul(K0,z$)|0,G=G+Math.imul(K0,_$)|0,G=G+Math.imul(A0,z$)|0,C=C+Math.imul(A0,_$)|0,q=q+Math.imul(y,L$)|0,G=G+Math.imul(y,I0)|0,G=G+Math.imul(o,L$)|0,C=C+Math.imul(o,I0)|0;var K2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(K2>>>26)|0,K2&=67108863,q=Math.imul(O0,M$),G=Math.imul(O0,F$),G=G+Math.imul(P0,M$)|0,C=Math.imul(P0,F$),q=q+Math.imul(M0,e)|0,G=G+Math.imul(M0,V0)|0,G=G+Math.imul(R0,e)|0,C=C+Math.imul(R0,V0)|0,q=q+Math.imul(r,l0)|0,G=G+Math.imul(r,d0)|0,G=G+Math.imul(U0,l0)|0,C=C+Math.imul(U0,d0)|0,q=q+Math.imul(L0,a0)|0,G=G+Math.imul(L0,X$)|0,G=G+Math.imul(k0,a0)|0,C=C+Math.imul(k0,X$)|0,q=q+Math.imul(W0,z$)|0,G=G+Math.imul(W0,_$)|0,G=G+Math.imul(z0,z$)|0,C=C+Math.imul(z0,_$)|0,q=q+Math.imul(K0,L$)|0,G=G+Math.imul(K0,I0)|0,G=G+Math.imul(A0,L$)|0,C=C+Math.imul(A0,I0)|0,q=q+Math.imul(y,b0)|0,G=G+Math.imul(y,p0)|0,G=G+Math.imul(o,b0)|0,C=C+Math.imul(o,p0)|0;var N2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(N2>>>26)|0,N2&=67108863,q=Math.imul(w0,M$),G=Math.imul(w0,F$),G=G+Math.imul(n0,M$)|0,C=Math.imul(n0,F$),q=q+Math.imul(O0,e)|0,G=G+Math.imul(O0,V0)|0,G=G+Math.imul(P0,e)|0,C=C+Math.imul(P0,V0)|0,q=q+Math.imul(M0,l0)|0,G=G+Math.imul(M0,d0)|0,G=G+Math.imul(R0,l0)|0,C=C+Math.imul(R0,d0)|0,q=q+Math.imul(r,a0)|0,G=G+Math.imul(r,X$)|0,G=G+Math.imul(U0,a0)|0,C=C+Math.imul(U0,X$)|0,q=q+Math.imul(L0,z$)|0,G=G+Math.imul(L0,_$)|0,G=G+Math.imul(k0,z$)|0,C=C+Math.imul(k0,_$)|0,q=q+Math.imul(W0,L$)|0,G=G+Math.imul(W0,I0)|0,G=G+Math.imul(z0,L$)|0,C=C+Math.imul(z0,I0)|0,q=q+Math.imul(K0,b0)|0,G=G+Math.imul(K0,p0)|0,G=G+Math.imul(A0,b0)|0,C=C+Math.imul(A0,p0)|0,q=q+Math.imul(y,K$)|0,G=G+Math.imul(y,O$)|0,G=G+Math.imul(o,K$)|0,C=C+Math.imul(o,O$)|0;var O2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(O2>>>26)|0,O2&=67108863,q=Math.imul(s0,M$),G=Math.imul(s0,F$),G=G+Math.imul(Z$,M$)|0,C=Math.imul(Z$,F$),q=q+Math.imul(w0,e)|0,G=G+Math.imul(w0,V0)|0,G=G+Math.imul(n0,e)|0,C=C+Math.imul(n0,V0)|0,q=q+Math.imul(O0,l0)|0,G=G+Math.imul(O0,d0)|0,G=G+Math.imul(P0,l0)|0,C=C+Math.imul(P0,d0)|0,q=q+Math.imul(M0,a0)|0,G=G+Math.imul(M0,X$)|0,G=G+Math.imul(R0,a0)|0,C=C+Math.imul(R0,X$)|0,q=q+Math.imul(r,z$)|0,G=G+Math.imul(r,_$)|0,G=G+Math.imul(U0,z$)|0,C=C+Math.imul(U0,_$)|0,q=q+Math.imul(L0,L$)|0,G=G+Math.imul(L0,I0)|0,G=G+Math.imul(k0,L$)|0,C=C+Math.imul(k0,I0)|0,q=q+Math.imul(W0,b0)|0,G=G+Math.imul(W0,p0)|0,G=G+Math.imul(z0,b0)|0,C=C+Math.imul(z0,p0)|0,q=q+Math.imul(K0,K$)|0,G=G+Math.imul(K0,O$)|0,G=G+Math.imul(A0,K$)|0,C=C+Math.imul(A0,O$)|0,q=q+Math.imul(y,E$)|0,G=G+Math.imul(y,D$)|0,G=G+Math.imul(o,E$)|0,C=C+Math.imul(o,D$)|0;var $U=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+($U>>>26)|0,$U&=67108863,q=Math.imul(J$,M$),G=Math.imul(J$,F$),G=G+Math.imul(Y$,M$)|0,C=Math.imul(Y$,F$),q=q+Math.imul(s0,e)|0,G=G+Math.imul(s0,V0)|0,G=G+Math.imul(Z$,e)|0,C=C+Math.imul(Z$,V0)|0,q=q+Math.imul(w0,l0)|0,G=G+Math.imul(w0,d0)|0,G=G+Math.imul(n0,l0)|0,C=C+Math.imul(n0,d0)|0,q=q+Math.imul(O0,a0)|0,G=G+Math.imul(O0,X$)|0,G=G+Math.imul(P0,a0)|0,C=C+Math.imul(P0,X$)|0,q=q+Math.imul(M0,z$)|0,G=G+Math.imul(M0,_$)|0,G=G+Math.imul(R0,z$)|0,C=C+Math.imul(R0,_$)|0,q=q+Math.imul(r,L$)|0,G=G+Math.imul(r,I0)|0,G=G+Math.imul(U0,L$)|0,C=C+Math.imul(U0,I0)|0,q=q+Math.imul(L0,b0)|0,G=G+Math.imul(L0,p0)|0,G=G+Math.imul(k0,b0)|0,C=C+Math.imul(k0,p0)|0,q=q+Math.imul(W0,K$)|0,G=G+Math.imul(W0,O$)|0,G=G+Math.imul(z0,K$)|0,C=C+Math.imul(z0,O$)|0,q=q+Math.imul(K0,E$)|0,G=G+Math.imul(K0,D$)|0,G=G+Math.imul(A0,E$)|0,C=C+Math.imul(A0,D$)|0,q=q+Math.imul(y,U$)|0,G=G+Math.imul(y,C$)|0,G=G+Math.imul(o,U$)|0,C=C+Math.imul(o,C$)|0;var Tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Tj>>>26)|0,Tj&=67108863,q=Math.imul(J$,e),G=Math.imul(J$,V0),G=G+Math.imul(Y$,e)|0,C=Math.imul(Y$,V0),q=q+Math.imul(s0,l0)|0,G=G+Math.imul(s0,d0)|0,G=G+Math.imul(Z$,l0)|0,C=C+Math.imul(Z$,d0)|0,q=q+Math.imul(w0,a0)|0,G=G+Math.imul(w0,X$)|0,G=G+Math.imul(n0,a0)|0,C=C+Math.imul(n0,X$)|0,q=q+Math.imul(O0,z$)|0,G=G+Math.imul(O0,_$)|0,G=G+Math.imul(P0,z$)|0,C=C+Math.imul(P0,_$)|0,q=q+Math.imul(M0,L$)|0,G=G+Math.imul(M0,I0)|0,G=G+Math.imul(R0,L$)|0,C=C+Math.imul(R0,I0)|0,q=q+Math.imul(r,b0)|0,G=G+Math.imul(r,p0)|0,G=G+Math.imul(U0,b0)|0,C=C+Math.imul(U0,p0)|0,q=q+Math.imul(L0,K$)|0,G=G+Math.imul(L0,O$)|0,G=G+Math.imul(k0,K$)|0,C=C+Math.imul(k0,O$)|0,q=q+Math.imul(W0,E$)|0,G=G+Math.imul(W0,D$)|0,G=G+Math.imul(z0,E$)|0,C=C+Math.imul(z0,D$)|0,q=q+Math.imul(K0,U$)|0,G=G+Math.imul(K0,C$)|0,G=G+Math.imul(A0,U$)|0,C=C+Math.imul(A0,C$)|0;var uj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(uj>>>26)|0,uj&=67108863,q=Math.imul(J$,l0),G=Math.imul(J$,d0),G=G+Math.imul(Y$,l0)|0,C=Math.imul(Y$,d0),q=q+Math.imul(s0,a0)|0,G=G+Math.imul(s0,X$)|0,G=G+Math.imul(Z$,a0)|0,C=C+Math.imul(Z$,X$)|0,q=q+Math.imul(w0,z$)|0,G=G+Math.imul(w0,_$)|0,G=G+Math.imul(n0,z$)|0,C=C+Math.imul(n0,_$)|0,q=q+Math.imul(O0,L$)|0,G=G+Math.imul(O0,I0)|0,G=G+Math.imul(P0,L$)|0,C=C+Math.imul(P0,I0)|0,q=q+Math.imul(M0,b0)|0,G=G+Math.imul(M0,p0)|0,G=G+Math.imul(R0,b0)|0,C=C+Math.imul(R0,p0)|0,q=q+Math.imul(r,K$)|0,G=G+Math.imul(r,O$)|0,G=G+Math.imul(U0,K$)|0,C=C+Math.imul(U0,O$)|0,q=q+Math.imul(L0,E$)|0,G=G+Math.imul(L0,D$)|0,G=G+Math.imul(k0,E$)|0,C=C+Math.imul(k0,D$)|0,q=q+Math.imul(W0,U$)|0,G=G+Math.imul(W0,C$)|0,G=G+Math.imul(z0,U$)|0,C=C+Math.imul(z0,C$)|0;var V2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(V2>>>26)|0,V2&=67108863,q=Math.imul(J$,a0),G=Math.imul(J$,X$),G=G+Math.imul(Y$,a0)|0,C=Math.imul(Y$,X$),q=q+Math.imul(s0,z$)|0,G=G+Math.imul(s0,_$)|0,G=G+Math.imul(Z$,z$)|0,C=C+Math.imul(Z$,_$)|0,q=q+Math.imul(w0,L$)|0,G=G+Math.imul(w0,I0)|0,G=G+Math.imul(n0,L$)|0,C=C+Math.imul(n0,I0)|0,q=q+Math.imul(O0,b0)|0,G=G+Math.imul(O0,p0)|0,G=G+Math.imul(P0,b0)|0,C=C+Math.imul(P0,p0)|0,q=q+Math.imul(M0,K$)|0,G=G+Math.imul(M0,O$)|0,G=G+Math.imul(R0,K$)|0,C=C+Math.imul(R0,O$)|0,q=q+Math.imul(r,E$)|0,G=G+Math.imul(r,D$)|0,G=G+Math.imul(U0,E$)|0,C=C+Math.imul(U0,D$)|0,q=q+Math.imul(L0,U$)|0,G=G+Math.imul(L0,C$)|0,G=G+Math.imul(k0,U$)|0,C=C+Math.imul(k0,C$)|0;var S2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(S2>>>26)|0,S2&=67108863,q=Math.imul(J$,z$),G=Math.imul(J$,_$),G=G+Math.imul(Y$,z$)|0,C=Math.imul(Y$,_$),q=q+Math.imul(s0,L$)|0,G=G+Math.imul(s0,I0)|0,G=G+Math.imul(Z$,L$)|0,C=C+Math.imul(Z$,I0)|0,q=q+Math.imul(w0,b0)|0,G=G+Math.imul(w0,p0)|0,G=G+Math.imul(n0,b0)|0,C=C+Math.imul(n0,p0)|0,q=q+Math.imul(O0,K$)|0,G=G+Math.imul(O0,O$)|0,G=G+Math.imul(P0,K$)|0,C=C+Math.imul(P0,O$)|0,q=q+Math.imul(M0,E$)|0,G=G+Math.imul(M0,D$)|0,G=G+Math.imul(R0,E$)|0,C=C+Math.imul(R0,D$)|0,q=q+Math.imul(r,U$)|0,G=G+Math.imul(r,C$)|0,G=G+Math.imul(U0,U$)|0,C=C+Math.imul(U0,C$)|0;var Q2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Q2>>>26)|0,Q2&=67108863,q=Math.imul(J$,L$),G=Math.imul(J$,I0),G=G+Math.imul(Y$,L$)|0,C=Math.imul(Y$,I0),q=q+Math.imul(s0,b0)|0,G=G+Math.imul(s0,p0)|0,G=G+Math.imul(Z$,b0)|0,C=C+Math.imul(Z$,p0)|0,q=q+Math.imul(w0,K$)|0,G=G+Math.imul(w0,O$)|0,G=G+Math.imul(n0,K$)|0,C=C+Math.imul(n0,O$)|0,q=q+Math.imul(O0,E$)|0,G=G+Math.imul(O0,D$)|0,G=G+Math.imul(P0,E$)|0,C=C+Math.imul(P0,D$)|0,q=q+Math.imul(M0,U$)|0,G=G+Math.imul(M0,C$)|0,G=G+Math.imul(R0,U$)|0,C=C+Math.imul(R0,C$)|0;var m2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(m2>>>26)|0,m2&=67108863,q=Math.imul(J$,b0),G=Math.imul(J$,p0),G=G+Math.imul(Y$,b0)|0,C=Math.imul(Y$,p0),q=q+Math.imul(s0,K$)|0,G=G+Math.imul(s0,O$)|0,G=G+Math.imul(Z$,K$)|0,C=C+Math.imul(Z$,O$)|0,q=q+Math.imul(w0,E$)|0,G=G+Math.imul(w0,D$)|0,G=G+Math.imul(n0,E$)|0,C=C+Math.imul(n0,D$)|0,q=q+Math.imul(O0,U$)|0,G=G+Math.imul(O0,C$)|0,G=G+Math.imul(P0,U$)|0,C=C+Math.imul(P0,C$)|0;var w2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(w2>>>26)|0,w2&=67108863,q=Math.imul(J$,K$),G=Math.imul(J$,O$),G=G+Math.imul(Y$,K$)|0,C=Math.imul(Y$,O$),q=q+Math.imul(s0,E$)|0,G=G+Math.imul(s0,D$)|0,G=G+Math.imul(Z$,E$)|0,C=C+Math.imul(Z$,D$)|0,q=q+Math.imul(w0,U$)|0,G=G+Math.imul(w0,C$)|0,G=G+Math.imul(n0,U$)|0,C=C+Math.imul(n0,C$)|0;var D2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(D2>>>26)|0,D2&=67108863,q=Math.imul(J$,E$),G=Math.imul(J$,D$),G=G+Math.imul(Y$,E$)|0,C=Math.imul(Y$,D$),q=q+Math.imul(s0,U$)|0,G=G+Math.imul(s0,C$)|0,G=G+Math.imul(Z$,U$)|0,C=C+Math.imul(Z$,C$)|0;var F2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(F2>>>26)|0,F2&=67108863,q=Math.imul(J$,U$),G=Math.imul(J$,C$),G=G+Math.imul(Y$,U$)|0,C=Math.imul(Y$,C$);var P2=(N+q|0)+((G&8191)<<13)|0;if(N=(C+(G>>>13)|0)+(P2>>>26)|0,P2&=67108863,R[0]=W2,R[1]=Jj,R[2]=e$,R[3]=tj,R[4]=Qj,R[5]=K2,R[6]=N2,R[7]=O2,R[8]=$U,R[9]=Tj,R[10]=uj,R[11]=V2,R[12]=S2,R[13]=Q2,R[14]=m2,R[15]=w2,R[16]=D2,R[17]=F2,R[18]=P2,N!==0)R[19]=N,D.length++;return D};if(!Math.imul)h=u;function i(Q,K,D){D.negative=K.negative^Q.negative,D.length=Q.length+K.length;var W=0,V=0;for(var R=0;R<D.length-1;R++){var N=V;V=0;var q=W&67108863,G=Math.min(R,K.length-1);for(var C=Math.max(0,R-Q.length+1);C<=G;C++){var b=R-C,y=Q.words[b]|0,o=K.words[C]|0,J0=y*o,K0=J0&67108863;N=N+(J0/67108864|0)|0,K0=K0+q|0,q=K0&67108863,N=N+(K0>>>26)|0,V+=N>>>26,N&=67108863}D.words[R]=q,W=N,N=V}if(W!==0)D.words[R]=W;else D.length--;return D.strip()}function m(Q,K,D){var W=new n;return W.mulp(Q,K,D)}Y.prototype.mulTo=function(Q,K){var D,W=this.length+Q.length;if(this.length===10&&Q.length===10)D=h(this,Q,K);else if(W<63)D=u(this,Q,K);else if(W<1024)D=i(this,Q,K);else D=m(this,Q,K);return D};function n(Q,K){this.x=Q,this.y=K}n.prototype.makeRBT=function(Q){var K=Array(Q),D=Y.prototype._countBits(Q)-1;for(var W=0;W<Q;W++)K[W]=this.revBin(W,D,Q);return K},n.prototype.revBin=function(Q,K,D){if(Q===0||Q===D-1)return Q;var W=0;for(var V=0;V<K;V++)W|=(Q&1)<<K-V-1,Q>>=1;return W},n.prototype.permute=function(Q,K,D,W,V,R){for(var N=0;N<R;N++)W[N]=K[Q[N]],V[N]=D[Q[N]]},n.prototype.transform=function(Q,K,D,W,V,R){this.permute(R,Q,K,D,W,V);for(var N=1;N<V;N<<=1){var q=N<<1,G=Math.cos(2*Math.PI/q),C=Math.sin(2*Math.PI/q);for(var b=0;b<V;b+=q){var y=G,o=C;for(var J0=0;J0<N;J0++){var K0=D[b+J0],A0=W[b+J0],H0=D[b+J0+N],W0=W[b+J0+N],z0=y*H0-o*W0;if(W0=y*W0+o*H0,H0=z0,D[b+J0]=K0+H0,W[b+J0]=A0+W0,D[b+J0+N]=K0-H0,W[b+J0+N]=A0-W0,J0!==q)z0=G*y-C*o,o=G*o+C*y,y=z0}}}},n.prototype.guessLen13b=function(Q,K){var D=Math.max(K,Q)|1,W=D&1,V=0;for(D=D/2|0;D;D=D>>>1)V++;return 1<<V+1+W},n.prototype.conjugate=function(Q,K,D){if(D<=1)return;for(var W=0;W<D/2;W++){var V=Q[W];Q[W]=Q[D-W-1],Q[D-W-1]=V,V=K[W],K[W]=-K[D-W-1],K[D-W-1]=-V}},n.prototype.normalize13b=function(Q,K){var D=0;for(var W=0;W<K/2;W++){var V=Math.round(Q[2*W+1]/K)*8192+Math.round(Q[2*W]/K)+D;if(Q[W]=V&67108863,V<67108864)D=0;else D=V/67108864|0}return Q},n.prototype.convert13b=function(Q,K,D,W){var V=0;for(var R=0;R<K;R++)V=V+(Q[R]|0),D[2*R]=V&8191,V=V>>>13,D[2*R+1]=V&8191,V=V>>>13;for(R=2*K;R<W;++R)D[R]=0;v(V===0),v((V&-8192)===0)},n.prototype.stub=function(Q){var K=Array(Q);for(var D=0;D<Q;D++)K[D]=0;return K},n.prototype.mulp=function(Q,K,D){var W=2*this.guessLen13b(Q.length,K.length),V=this.makeRBT(W),R=this.stub(W),N=Array(W),q=Array(W),G=Array(W),C=Array(W),b=Array(W),y=Array(W),o=D.words;o.length=W,this.convert13b(Q.words,Q.length,N,W),this.convert13b(K.words,K.length,C,W),this.transform(N,R,q,G,W,V),this.transform(C,R,b,y,W,V);for(var J0=0;J0<W;J0++){var K0=q[J0]*b[J0]-G[J0]*y[J0];G[J0]=q[J0]*y[J0]+G[J0]*b[J0],q[J0]=K0}return this.conjugate(q,G,W),this.transform(q,G,o,R,W,V),this.conjugate(o,R,W),this.normalize13b(o,W),D.negative=Q.negative^K.negative,D.length=Q.length+K.length,D.strip()},Y.prototype.mul=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),this.mulTo(Q,K)},Y.prototype.mulf=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),m(this,Q,K)},Y.prototype.imul=function(Q){return this.clone().mulTo(Q,this)},Y.prototype.imuln=function(Q){v(typeof Q==="number"),v(Q<67108864);var K=0;for(var D=0;D<this.length;D++){var W=(this.words[D]|0)*Q,V=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=V>>>26,this.words[D]=V&67108863}if(K!==0)this.words[D]=K,this.length++;return this.length=Q===0?1:this.length,this},Y.prototype.muln=function(Q){return this.clone().imuln(Q)},Y.prototype.sqr=function(){return this.mul(this)},Y.prototype.isqr=function(){return this.imul(this.clone())},Y.prototype.pow=function(Q){var K=x(Q);if(K.length===0)return new Y(1);var D=this;for(var W=0;W<K.length;W++,D=D.sqr())if(K[W]!==0)break;if(++W<K.length)for(var V=D.sqr();W<K.length;W++,V=V.sqr()){if(K[W]===0)continue;D=D.mul(V)}return D},Y.prototype.iushln=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=67108863>>>26-K<<26-K,V;if(K!==0){var R=0;for(V=0;V<this.length;V++){var N=this.words[V]&W,q=(this.words[V]|0)-N<<K;this.words[V]=q|R,R=N>>>26-K}if(R)this.words[V]=R,this.length++}if(D!==0){for(V=this.length-1;V>=0;V--)this.words[V+D]=this.words[V];for(V=0;V<D;V++)this.words[V]=0;this.length+=D}return this.strip()},Y.prototype.ishln=function(Q){return v(this.negative===0),this.iushln(Q)},Y.prototype.iushrn=function(Q,K,D){v(typeof Q==="number"&&Q>=0);var W;if(K)W=(K-K%26)/26;else W=0;var V=Q%26,R=Math.min((Q-V)/26,this.length),N=67108863^67108863>>>V<<V,q=D;if(W-=R,W=Math.max(0,W),q){for(var G=0;G<R;G++)q.words[G]=this.words[G];q.length=R}if(R===0);else if(this.length>R){this.length-=R;for(G=0;G<this.length;G++)this.words[G]=this.words[G+R]}else this.words[0]=0,this.length=1;var C=0;for(G=this.length-1;G>=0&&(C!==0||G>=W);G--){var b=this.words[G]|0;this.words[G]=C<<26-V|b>>>V,C=b&N}if(q&&C!==0)q.words[q.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Y.prototype.ishrn=function(Q,K,D){return v(this.negative===0),this.iushrn(Q,K,D)},Y.prototype.shln=function(Q){return this.clone().ishln(Q)},Y.prototype.ushln=function(Q){return this.clone().iushln(Q)},Y.prototype.shrn=function(Q){return this.clone().ishrn(Q)},Y.prototype.ushrn=function(Q){return this.clone().iushrn(Q)},Y.prototype.testn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return!1;var V=this.words[D];return!!(V&W)},Y.prototype.imaskn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26;if(v(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(K!==0)D++;if(this.length=Math.min(D,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Y.prototype.maskn=function(Q){return this.clone().imaskn(Q)},Y.prototype.iaddn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.isubn(-Q);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Q)return this.words[0]=Q-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Q),this.negative=1,this}return this._iaddn(Q)},Y.prototype._iaddn=function(Q){this.words[0]+=Q;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},Y.prototype.isubn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.iaddn(-Q);if(this.negative!==0)return this.negative=0,this.iaddn(Q),this.negative=1,this;if(this.words[0]-=Q,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()},Y.prototype.addn=function(Q){return this.clone().iaddn(Q)},Y.prototype.subn=function(Q){return this.clone().isubn(Q)},Y.prototype.iabs=function(){return this.negative=0,this},Y.prototype.abs=function(){return this.clone().iabs()},Y.prototype._ishlnsubmul=function(Q,K,D){var W=Q.length+D,V;this._expand(W);var R,N=0;for(V=0;V<Q.length;V++){R=(this.words[V+D]|0)+N;var q=(Q.words[V]|0)*K;R-=q&67108863,N=(R>>26)-(q/67108864|0),this.words[V+D]=R&67108863}for(;V<this.length-D;V++)R=(this.words[V+D]|0)+N,N=R>>26,this.words[V+D]=R&67108863;if(N===0)return this.strip();v(N===-1),N=0;for(V=0;V<this.length;V++)R=-(this.words[V]|0)+N,N=R>>26,this.words[V]=R&67108863;return this.negative=1,this.strip()},Y.prototype._wordDiv=function(Q,K){var D=this.length-Q.length,W=this.clone(),V=Q,R=V.words[V.length-1]|0,N=this._countBits(R);if(D=26-N,D!==0)V=V.ushln(D),W.iushln(D),R=V.words[V.length-1]|0;var q=W.length-V.length,G;if(K!=="mod"){G=new Y(null),G.length=q+1,G.words=Array(G.length);for(var C=0;C<G.length;C++)G.words[C]=0}var b=W.clone()._ishlnsubmul(V,1,q);if(b.negative===0){if(W=b,G)G.words[q]=1}for(var y=q-1;y>=0;y--){var o=(W.words[V.length+y]|0)*67108864+(W.words[V.length+y-1]|0);o=Math.min(o/R|0,67108863),W._ishlnsubmul(V,o,y);while(W.negative!==0)if(o--,W.negative=0,W._ishlnsubmul(V,1,y),!W.isZero())W.negative^=1;if(G)G.words[y]=o}if(G)G.strip();if(W.strip(),K!=="div"&&D!==0)W.iushrn(D);return{div:G||null,mod:W}},Y.prototype.divmod=function(Q,K,D){if(v(!Q.isZero()),this.isZero())return{div:new Y(0),mod:new Y(0)};var W,V,R;if(this.negative!==0&&Q.negative===0){if(R=this.neg().divmod(Q,K),K!=="mod")W=R.div.neg();if(K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.iadd(Q)}return{div:W,mod:V}}if(this.negative===0&&Q.negative!==0){if(R=this.divmod(Q.neg(),K),K!=="mod")W=R.div.neg();return{div:W,mod:R.mod}}if((this.negative&Q.negative)!==0){if(R=this.neg().divmod(Q.neg(),K),K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.isub(Q)}return{div:R.div,mod:V}}if(Q.length>this.length||this.cmp(Q)<0)return{div:new Y(0),mod:this};if(Q.length===1){if(K==="div")return{div:this.divn(Q.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Y(this.modn(Q.words[0]))};return{div:this.divn(Q.words[0]),mod:new Y(this.modn(Q.words[0]))}}return this._wordDiv(Q,K)},Y.prototype.div=function(Q){return this.divmod(Q,"div",!1).div},Y.prototype.mod=function(Q){return this.divmod(Q,"mod",!1).mod},Y.prototype.umod=function(Q){return this.divmod(Q,"mod",!0).mod},Y.prototype.divRound=function(Q){var K=this.divmod(Q);if(K.mod.isZero())return K.div;var D=K.div.negative!==0?K.mod.isub(Q):K.mod,W=Q.ushrn(1),V=Q.andln(1),R=D.cmp(W);if(R<0||V===1&&R===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Y.prototype.modn=function(Q){v(Q<=67108863);var K=67108864%Q,D=0;for(var W=this.length-1;W>=0;W--)D=(K*D+(this.words[W]|0))%Q;return D},Y.prototype.idivn=function(Q){v(Q<=67108863);var K=0;for(var D=this.length-1;D>=0;D--){var W=(this.words[D]|0)+K*67108864;this.words[D]=W/Q|0,K=W%Q}return this.strip()},Y.prototype.divn=function(Q){return this.clone().idivn(Q)},Y.prototype.egcd=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=new Y(0),N=new Y(1),q=0;while(K.isEven()&&D.isEven())K.iushrn(1),D.iushrn(1),++q;var G=D.clone(),C=K.clone();while(!K.isZero()){for(var b=0,y=1;(K.words[0]&y)===0&&b<26;++b,y<<=1);if(b>0){K.iushrn(b);while(b-- >0){if(W.isOdd()||V.isOdd())W.iadd(G),V.isub(C);W.iushrn(1),V.iushrn(1)}}for(var o=0,J0=1;(D.words[0]&J0)===0&&o<26;++o,J0<<=1);if(o>0){D.iushrn(o);while(o-- >0){if(R.isOdd()||N.isOdd())R.iadd(G),N.isub(C);R.iushrn(1),N.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(R),V.isub(N);else D.isub(K),R.isub(W),N.isub(V)}return{a:R,b:N,gcd:D.iushln(q)}},Y.prototype._invmp=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=D.clone();while(K.cmpn(1)>0&&D.cmpn(1)>0){for(var N=0,q=1;(K.words[0]&q)===0&&N<26;++N,q<<=1);if(N>0){K.iushrn(N);while(N-- >0){if(W.isOdd())W.iadd(R);W.iushrn(1)}}for(var G=0,C=1;(D.words[0]&C)===0&&G<26;++G,C<<=1);if(G>0){D.iushrn(G);while(G-- >0){if(V.isOdd())V.iadd(R);V.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(V);else D.isub(K),V.isub(W)}var b;if(K.cmpn(1)===0)b=W;else b=V;if(b.cmpn(0)<0)b.iadd(Q);return b},Y.prototype.gcd=function(Q){if(this.isZero())return Q.abs();if(Q.isZero())return this.abs();var K=this.clone(),D=Q.clone();K.negative=0,D.negative=0;for(var W=0;K.isEven()&&D.isEven();W++)K.iushrn(1),D.iushrn(1);do{while(K.isEven())K.iushrn(1);while(D.isEven())D.iushrn(1);var V=K.cmp(D);if(V<0){var R=K;K=D,D=R}else if(V===0||D.cmpn(1)===0)break;K.isub(D)}while(!0);return D.iushln(W)},Y.prototype.invm=function(Q){return this.egcd(Q).a.umod(Q)},Y.prototype.isEven=function(){return(this.words[0]&1)===0},Y.prototype.isOdd=function(){return(this.words[0]&1)===1},Y.prototype.andln=function(Q){return this.words[0]&Q},Y.prototype.bincn=function(Q){v(typeof Q==="number");var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return this._expand(D+1),this.words[D]|=W,this;var V=W;for(var R=D;V!==0&&R<this.length;R++){var N=this.words[R]|0;N+=V,V=N>>>26,N&=67108863,this.words[R]=N}if(V!==0)this.words[R]=V,this.length++;return this},Y.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Y.prototype.cmpn=function(Q){var K=Q<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var D;if(this.length>1)D=1;else{if(K)Q=-Q;v(Q<=67108863,"Number is too big");var W=this.words[0]|0;D=W===Q?0:W<Q?-1:1}if(this.negative!==0)return-D|0;return D},Y.prototype.cmp=function(Q){if(this.negative!==0&&Q.negative===0)return-1;if(this.negative===0&&Q.negative!==0)return 1;var K=this.ucmp(Q);if(this.negative!==0)return-K|0;return K},Y.prototype.ucmp=function(Q){if(this.length>Q.length)return 1;if(this.length<Q.length)return-1;var K=0;for(var D=this.length-1;D>=0;D--){var W=this.words[D]|0,V=Q.words[D]|0;if(W===V)continue;if(W<V)K=-1;else if(W>V)K=1;break}return K},Y.prototype.gtn=function(Q){return this.cmpn(Q)===1},Y.prototype.gt=function(Q){return this.cmp(Q)===1},Y.prototype.gten=function(Q){return this.cmpn(Q)>=0},Y.prototype.gte=function(Q){return this.cmp(Q)>=0},Y.prototype.ltn=function(Q){return this.cmpn(Q)===-1},Y.prototype.lt=function(Q){return this.cmp(Q)===-1},Y.prototype.lten=function(Q){return this.cmpn(Q)<=0},Y.prototype.lte=function(Q){return this.cmp(Q)<=0},Y.prototype.eqn=function(Q){return this.cmpn(Q)===0},Y.prototype.eq=function(Q){return this.cmp(Q)===0},Y.red=function(Q){return new X0(Q)},Y.prototype.toRed=function(Q){return v(!this.red,"Already a number in reduction context"),v(this.negative===0,"red works only with positives"),Q.convertTo(this)._forceRed(Q)},Y.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Y.prototype._forceRed=function(Q){return this.red=Q,this},Y.prototype.forceRed=function(Q){return v(!this.red,"Already a number in reduction context"),this._forceRed(Q)},Y.prototype.redAdd=function(Q){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,Q)},Y.prototype.redIAdd=function(Q){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Q)},Y.prototype.redSub=function(Q){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,Q)},Y.prototype.redISub=function(Q){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,Q)},Y.prototype.redShl=function(Q){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,Q)},Y.prototype.redMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.mul(this,Q)},Y.prototype.redIMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.imul(this,Q)},Y.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Y.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Y.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Y.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Y.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Y.prototype.redPow=function(Q){return v(this.red&&!Q.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Q)};var a={k256:null,p224:null,p192:null,p25519:null};function j0(Q,K){this.name=Q,this.p=new Y(K,16),this.n=this.p.bitLength(),this.k=new Y(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j0.prototype._tmp=function(){var Q=new Y(null);return Q.words=Array(Math.ceil(this.n/13)),Q},j0.prototype.ireduce=function(Q){var K=Q,D;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),D=K.bitLength();while(D>this.n);var W=D<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},j0.prototype.split=function(Q,K){Q.iushrn(this.n,0,K)},j0.prototype.imulK=function(Q){return Q.imul(this.k)};function Y0(){j0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Z(Y0,j0),Y0.prototype.split=function(Q,K){var D=4194303,W=Math.min(Q.length,9);for(var V=0;V<W;V++)K.words[V]=Q.words[V];if(K.length=W,Q.length<=9){Q.words[0]=0,Q.length=1;return}var R=Q.words[9];K.words[K.length++]=R&D;for(V=10;V<Q.length;V++){var N=Q.words[V]|0;Q.words[V-10]=(N&D)<<4|R>>>22,R=N}if(R>>>=22,Q.words[V-10]=R,R===0&&Q.length>10)Q.length-=10;else Q.length-=9},Y0.prototype.imulK=function(Q){Q.words[Q.length]=0,Q.words[Q.length+1]=0,Q.length+=2;var K=0;for(var D=0;D<Q.length;D++){var W=Q.words[D]|0;K+=W*977,Q.words[D]=K&67108863,K=W*64+(K/67108864|0)}if(Q.words[Q.length-1]===0){if(Q.length--,Q.words[Q.length-1]===0)Q.length--}return Q};function C0(){j0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Z(C0,j0);function S0(){j0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Z(S0,j0);function h0(){j0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Z(h0,j0),h0.prototype.imulK=function(Q){var K=0;for(var D=0;D<Q.length;D++){var W=(Q.words[D]|0)*19+K,V=W&67108863;W>>>=26,Q.words[D]=V,K=W}if(K!==0)Q.words[Q.length++]=K;return Q},Y._prime=function(Q){if(a[Q])return a[Q];var K;if(Q==="k256")K=new Y0;else if(Q==="p224")K=new C0;else if(Q==="p192")K=new S0;else if(Q==="p25519")K=new h0;else throw Error("Unknown prime "+Q);return a[Q]=K,K};function X0(Q){if(typeof Q==="string"){var K=Y._prime(Q);this.m=K.p,this.prime=K}else v(Q.gtn(1),"modulus must be greater than 1"),this.m=Q,this.prime=null}X0.prototype._verify1=function(Q){v(Q.negative===0,"red works only with positives"),v(Q.red,"red works only with red numbers")},X0.prototype._verify2=function(Q,K){v((Q.negative|K.negative)===0,"red works only with positives"),v(Q.red&&Q.red===K.red,"red works only with red numbers")},X0.prototype.imod=function(Q){if(this.prime)return this.prime.ireduce(Q)._forceRed(this);return Q.umod(this.m)._forceRed(this)},X0.prototype.neg=function(Q){if(Q.isZero())return Q.clone();return this.m.sub(Q)._forceRed(this)},X0.prototype.add=function(Q,K){this._verify2(Q,K);var D=Q.add(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},X0.prototype.iadd=function(Q,K){this._verify2(Q,K);var D=Q.iadd(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D},X0.prototype.sub=function(Q,K){this._verify2(Q,K);var D=Q.sub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},X0.prototype.isub=function(Q,K){this._verify2(Q,K);var D=Q.isub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D},X0.prototype.shl=function(Q,K){return this._verify1(Q),this.imod(Q.ushln(K))},X0.prototype.imul=function(Q,K){return this._verify2(Q,K),this.imod(Q.imul(K))},X0.prototype.mul=function(Q,K){return this._verify2(Q,K),this.imod(Q.mul(K))},X0.prototype.isqr=function(Q){return this.imul(Q,Q.clone())},X0.prototype.sqr=function(Q){return this.mul(Q,Q)},X0.prototype.sqrt=function(Q){if(Q.isZero())return Q.clone();var K=this.m.andln(3);if(v(K%2===1),K===3){var D=this.m.add(new Y(1)).iushrn(2);return this.pow(Q,D)}var W=this.m.subn(1),V=0;while(!W.isZero()&&W.andln(1)===0)V++,W.iushrn(1);v(!W.isZero());var R=new Y(1).toRed(this),N=R.redNeg(),q=this.m.subn(1).iushrn(1),G=this.m.bitLength();G=new Y(2*G*G).toRed(this);while(this.pow(G,q).cmp(N)!==0)G.redIAdd(N);var C=this.pow(G,W),b=this.pow(Q,W.addn(1).iushrn(1)),y=this.pow(Q,W),o=V;while(y.cmp(R)!==0){var J0=y;for(var K0=0;J0.cmp(R)!==0;K0++)J0=J0.redSqr();v(K0<o);var A0=this.pow(C,new Y(1).iushln(o-K0-1));b=b.redMul(A0),C=A0.redSqr(),y=y.redMul(C),o=K0}return b},X0.prototype.invm=function(Q){var K=Q._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},X0.prototype.pow=function(Q,K){if(K.isZero())return new Y(1).toRed(this);if(K.cmpn(1)===0)return Q.clone();var D=4,W=Array(1<<D);W[0]=new Y(1).toRed(this),W[1]=Q;for(var V=2;V<W.length;V++)W[V]=this.mul(W[V-1],Q);var R=W[0],N=0,q=0,G=K.bitLength()%26;if(G===0)G=26;for(V=K.length-1;V>=0;V--){var C=K.words[V];for(var b=G-1;b>=0;b--){var y=C>>b&1;if(R!==W[0])R=this.sqr(R);if(y===0&&N===0){q=0;continue}if(N<<=1,N|=y,q++,q!==D&&(V!==0||b!==0))continue;R=this.mul(R,W[N]),q=0,N=0}G=26}return R},X0.prototype.convertTo=function(Q){var K=Q.umod(this.m);return K===Q?K.clone():K},X0.prototype.convertFrom=function(Q){var K=Q.clone();return K.red=null,K},Y.mont=function(Q){return new x0(Q)};function x0(Q){if(X0.call(this,Q),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Y(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(x0,X0),x0.prototype.convertTo=function(Q){return this.imod(Q.ushln(this.shift))},x0.prototype.convertFrom=function(Q){var K=this.imod(Q.mul(this.rinv));return K.red=null,K},x0.prototype.imul=function(Q,K){if(Q.isZero()||K.isZero())return Q.words[0]=0,Q.length=1,Q;var D=Q.imul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.mul=function(Q,K){if(Q.isZero()||K.isZero())return new Y(0)._forceRed(this);var D=Q.mul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.invm=function(Q){var K=this.imod(Q._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof I>"u"||I,U)}),qG=G$((U,I)=>{I.exports=J;function J(z,v){if(!z)throw Error(v||"Assertion failed")}J.equal=function(z,v,Z){if(z!=v)throw Error(Z||"Assertion failed: "+z+" != "+v)}}),NT=G$((U)=>{var I=U;function J(Z,Y){if(Array.isArray(Z))return Z.slice();if(!Z)return[];var L=[];if(typeof Z!=="string"){for(var S=0;S<Z.length;S++)L[S]=Z[S]|0;return L}if(Y==="hex"){if(Z=Z.replace(/[^a-z0-9]+/ig,""),Z.length%2!==0)Z="0"+Z;for(var S=0;S<Z.length;S+=2)L.push(parseInt(Z[S]+Z[S+1],16))}else for(var S=0;S<Z.length;S++){var B=Z.charCodeAt(S),g=B>>8,H=B&255;if(g)L.push(g,H);else L.push(H)}return L}I.toArray=J;function z(Z){if(Z.length===1)return"0"+Z;else return Z}I.zero2=z;function v(Z){var Y="";for(var L=0;L<Z.length;L++)Y+=z(Z[L].toString(16));return Y}I.toHex=v,I.encode=function(Z,Y){if(Y==="hex")return v(Z);else return Z}}),oI=G$((U)=>{var I=U,J=UY(),z=qG(),v=NT();I.assert=z,I.toArray=v.toArray,I.zero2=v.zero2,I.toHex=v.toHex,I.encode=v.encode;function Z(g,H,T){var c=Array(Math.max(g.bitLength(),T)+1),x;for(x=0;x<c.length;x+=1)c[x]=0;var u=1<<H+1,h=g.clone();for(x=0;x<c.length;x++){var i,m=h.andln(u-1);if(h.isOdd()){if(m>(u>>1)-1)i=(u>>1)-m;else i=m;h.isubn(i)}else i=0;c[x]=i,h.iushrn(1)}return c}I.getNAF=Z;function Y(g,H){var T=[[],[]];g=g.clone(),H=H.clone();var c=0,x=0,u;while(g.cmpn(-c)>0||H.cmpn(-x)>0){var h=g.andln(3)+c&3,i=H.andln(3)+x&3;if(h===3)h=-1;if(i===3)i=-1;var m;if((h&1)===0)m=0;else if(u=g.andln(7)+c&7,(u===3||u===5)&&i===2)m=-h;else m=h;T[0].push(m);var n;if((i&1)===0)n=0;else if(u=H.andln(7)+x&7,(u===3||u===5)&&h===2)n=-i;else n=i;if(T[1].push(n),2*c===m+1)c=1-c;if(2*x===n+1)x=1-x;g.iushrn(1),H.iushrn(1)}return T}I.getJSF=Y;function L(g,H,T){var c="_"+H;g.prototype[H]=function(){return this[c]!==void 0?this[c]:this[c]=T.call(this)}}I.cachedProperty=L;function S(g){return typeof g==="string"?I.toArray(g,"hex"):g}I.parseBytes=S;function B(g){return new J(g,"hex","le")}I.intFromLE=B}),ST=G$((U,I)=>{var J;I.exports=function(Z){if(!J)J=new z(null);return J.generate(Z)};function z(Z){this.rand=Z}if(I.exports.Rand=z,z.prototype.generate=function(Z){return this._rand(Z)},z.prototype._rand=function(Z){if(this.rand.getBytes)return this.rand.getBytes(Z);var Y=new Uint8Array(Z);for(var L=0;L<Y.length;L++)Y[L]=this.rand.getByte();return Y},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)z.prototype._rand=function(Z){var Y=new Uint8Array(Z);return self.crypto.getRandomValues(Y),Y};else if(self.msCrypto&&self.msCrypto.getRandomValues)z.prototype._rand=function(Z){var Y=new Uint8Array(Z);return self.msCrypto.getRandomValues(Y),Y};else if(typeof window==="object")z.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(v=(VU(),Mj(vI)),typeof v.randomBytes!=="function")throw Error("Not supported");z.prototype._rand=function(Z){return v.randomBytes(Z)}}catch(Z){}var v}),X9=G$((U,I)=>{var J=UY(),z=oI(),v=z.getNAF,Z=z.getJSF,Y=z.assert;function L(B,g){this.type=B,this.p=new J(g.p,16),this.red=g.prime?J.red(g.prime):J.mont(this.p),this.zero=new J(0).toRed(this.red),this.one=new J(1).toRed(this.red),this.two=new J(2).toRed(this.red),this.n=g.n&&new J(g.n,16),this.g=g.g&&this.pointFromJSON(g.g,g.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var H=this.n&&this.p.div(this.n);if(!H||H.cmpn(100)>0)this.redN=null;else this._maxwellTrick=!0,this.redN=this.n.toRed(this.red)}I.exports=L,L.prototype.point=function(){throw Error("Not implemented")},L.prototype.validate=function(){throw Error("Not implemented")},L.prototype._fixedNafMul=function(B,g){Y(B.precomputed);var H=B._getDoubles(),T=v(g,1,this._bitLength),c=(1<<H.step+1)-(H.step%2===0?2:1);c/=3;var x=[],u,h;for(u=0;u<T.length;u+=H.step){h=0;for(var i=u+H.step-1;i>=u;i--)h=(h<<1)+T[i];x.push(h)}var m=this.jpoint(null,null,null),n=this.jpoint(null,null,null);for(var a=c;a>0;a--){for(u=0;u<x.length;u++)if(h=x[u],h===a)n=n.mixedAdd(H.points[u]);else if(h===-a)n=n.mixedAdd(H.points[u].neg());m=m.add(n)}return m.toP()},L.prototype._wnafMul=function(B,g){var H=4,T=B._getNAFPoints(H);H=T.wnd;var c=T.points,x=v(g,H,this._bitLength),u=this.jpoint(null,null,null);for(var h=x.length-1;h>=0;h--){for(var i=0;h>=0&&x[h]===0;h--)i++;if(h>=0)i++;if(u=u.dblp(i),h<0)break;var m=x[h];if(Y(m!==0),B.type==="affine")if(m>0)u=u.mixedAdd(c[m-1>>1]);else u=u.mixedAdd(c[-m-1>>1].neg());else if(m>0)u=u.add(c[m-1>>1]);else u=u.add(c[-m-1>>1].neg())}return B.type==="affine"?u.toP():u},L.prototype._wnafMulAdd=function(B,g,H,T,c){var x=this._wnafT1,u=this._wnafT2,h=this._wnafT3,i=0,m,n,a;for(m=0;m<T;m++){a=g[m];var j0=a._getNAFPoints(B);x[m]=j0.wnd,u[m]=j0.points}for(m=T-1;m>=1;m-=2){var Y0=m-1,C0=m;if(x[Y0]!==1||x[C0]!==1){h[Y0]=v(H[Y0],x[Y0],this._bitLength),h[C0]=v(H[C0],x[C0],this._bitLength),i=Math.max(h[Y0].length,i),i=Math.max(h[C0].length,i);continue}var S0=[g[Y0],null,null,g[C0]];if(g[Y0].y.cmp(g[C0].y)===0)S0[1]=g[Y0].add(g[C0]),S0[2]=g[Y0].toJ().mixedAdd(g[C0].neg());else if(g[Y0].y.cmp(g[C0].y.redNeg())===0)S0[1]=g[Y0].toJ().mixedAdd(g[C0]),S0[2]=g[Y0].add(g[C0].neg());else S0[1]=g[Y0].toJ().mixedAdd(g[C0]),S0[2]=g[Y0].toJ().mixedAdd(g[C0].neg());var h0=[-3,-1,-5,-7,0,7,5,1,3],X0=Z(H[Y0],H[C0]);i=Math.max(X0[0].length,i),h[Y0]=Array(i),h[C0]=Array(i);for(n=0;n<i;n++){var x0=X0[0][n]|0,Q=X0[1][n]|0;h[Y0][n]=h0[(x0+1)*3+(Q+1)],h[C0][n]=0,u[Y0]=S0}}var K=this.jpoint(null,null,null),D=this._wnafT4;for(m=i;m>=0;m--){var W=0;while(m>=0){var V=!0;for(n=0;n<T;n++)if(D[n]=h[n][m]|0,D[n]!==0)V=!1;if(!V)break;W++,m--}if(m>=0)W++;if(K=K.dblp(W),m<0)break;for(n=0;n<T;n++){var R=D[n];if(R===0)continue;else if(R>0)a=u[n][R-1>>1];else if(R<0)a=u[n][-R-1>>1].neg();if(a.type==="affine")K=K.mixedAdd(a);else K=K.add(a)}}for(m=0;m<T;m++)u[m]=null;if(c)return K;else return K.toP()};function S(B,g){this.curve=B,this.type=g,this.precomputed=null}L.BasePoint=S,S.prototype.eq=function(){throw Error("Not implemented")},S.prototype.validate=function(){return this.curve.validate(this)},L.prototype.decodePoint=function(B,g){B=z.toArray(B,g);var H=this.p.byteLength();if((B[0]===4||B[0]===6||B[0]===7)&&B.length-1===2*H){if(B[0]===6)Y(B[B.length-1]%2===0);else if(B[0]===7)Y(B[B.length-1]%2===1);var T=this.point(B.slice(1,1+H),B.slice(1+H,1+2*H));return T}else if((B[0]===2||B[0]===3)&&B.length-1===H)return this.pointFromX(B.slice(1,1+H),B[0]===3);throw Error("Unknown point format")},S.prototype.encodeCompressed=function(B){return this.encode(B,!0)},S.prototype._encode=function(B){var g=this.curve.p.byteLength(),H=this.getX().toArray("be",g);if(B)return[this.getY().isEven()?2:3].concat(H);return[4].concat(H,this.getY().toArray("be",g))},S.prototype.encode=function(B,g){return z.encode(this._encode(g),B)},S.prototype.precompute=function(B){if(this.precomputed)return this;var g={doubles:null,naf:null,beta:null};return g.naf=this._getNAFPoints(8),g.doubles=this._getDoubles(4,B),g.beta=this._getBeta(),this.precomputed=g,this},S.prototype._hasDoubles=function(B){if(!this.precomputed)return!1;var g=this.precomputed.doubles;if(!g)return!1;return g.points.length>=Math.ceil((B.bitLength()+1)/g.step)},S.prototype._getDoubles=function(B,g){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var H=[this],T=this;for(var c=0;c<g;c+=B){for(var x=0;x<B;x++)T=T.dbl();H.push(T)}return{step:B,points:H}},S.prototype._getNAFPoints=function(B){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var g=[this],H=(1<<B)-1,T=H===1?null:this.dbl();for(var c=1;c<H;c++)g[c]=g[c-1].add(T);return{wnd:B,points:g}},S.prototype._getBeta=function(){return null},S.prototype.dblp=function(B){var g=this;for(var H=0;H<B;H++)g=g.dbl();return g}}),Dx=G$((U,I)=>{if(typeof Object.create==="function")I.exports=function(J,z){if(z)J.super_=z,J.prototype=Object.create(z.prototype,{constructor:{value:J,enumerable:!1,writable:!0,configurable:!0}})};else I.exports=function(J,z){if(z){J.super_=z;var v=function(){};v.prototype=z.prototype,J.prototype=new v,J.prototype.constructor=J}}}),UI=G$((U,I)=>{try{if(J=(q8(),Mj(A8)),typeof J.inherits!=="function")throw"";I.exports=J.inherits}catch(z){I.exports=Dx()}var J}),Fx=G$((U,I)=>{var J=oI(),z=UY(),v=UI(),Z=X9(),Y=J.assert;function L(g){Z.call(this,"short",g),this.a=new z(g.a,16).toRed(this.red),this.b=new z(g.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(g),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}v(L,Z),I.exports=L,L.prototype._getEndomorphism=function(g){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var H,T;if(g.beta)H=new z(g.beta,16).toRed(this.red);else{var c=this._getEndoRoots(this.p);H=c[0].cmp(c[1])<0?c[0]:c[1],H=H.toRed(this.red)}if(g.lambda)T=new z(g.lambda,16);else{var x=this._getEndoRoots(this.n);if(this.g.mul(x[0]).x.cmp(this.g.x.redMul(H))===0)T=x[0];else T=x[1],Y(this.g.mul(T).x.cmp(this.g.x.redMul(H))===0)}var u;if(g.basis)u=g.basis.map(function(h){return{a:new z(h.a,16),b:new z(h.b,16)}});else u=this._getEndoBasis(T);return{beta:H,lambda:T,basis:u}},L.prototype._getEndoRoots=function(g){var H=g===this.p?this.red:z.mont(g),T=new z(2).toRed(H).redInvm(),c=T.redNeg(),x=new z(3).toRed(H).redNeg().redSqrt().redMul(T),u=c.redAdd(x).fromRed(),h=c.redSub(x).fromRed();return[u,h]},L.prototype._getEndoBasis=function(g){var H=this.n.ushrn(Math.floor(this.n.bitLength()/2)),T=g,c=this.n.clone(),x=new z(1),u=new z(0),h=new z(0),i=new z(1),m,n,a,j0,Y0,C0,S0,h0=0,X0,x0;while(T.cmpn(0)!==0){var Q=c.div(T);X0=c.sub(Q.mul(T)),x0=h.sub(Q.mul(x));var K=i.sub(Q.mul(u));if(!a&&X0.cmp(H)<0)m=S0.neg(),n=x,a=X0.neg(),j0=x0;else if(a&&++h0===2)break;S0=X0,c=T,T=X0,h=x,x=x0,i=u,u=K}Y0=X0.neg(),C0=x0;var D=a.sqr().add(j0.sqr()),W=Y0.sqr().add(C0.sqr());if(W.cmp(D)>=0)Y0=m,C0=n;if(a.negative)a=a.neg(),j0=j0.neg();if(Y0.negative)Y0=Y0.neg(),C0=C0.neg();return[{a,b:j0},{a:Y0,b:C0}]},L.prototype._endoSplit=function(g){var H=this.endo.basis,T=H[0],c=H[1],x=c.b.mul(g).divRound(this.n),u=T.b.neg().mul(g).divRound(this.n),h=x.mul(T.a),i=u.mul(c.a),m=x.mul(T.b),n=u.mul(c.b),a=g.sub(h).sub(i),j0=m.add(n).neg();return{k1:a,k2:j0}},L.prototype.pointFromX=function(g,H){if(g=new z(g,16),!g.red)g=g.toRed(this.red);var T=g.redSqr().redMul(g).redIAdd(g.redMul(this.a)).redIAdd(this.b),c=T.redSqrt();if(c.redSqr().redSub(T).cmp(this.zero)!==0)throw Error("invalid point");var x=c.fromRed().isOdd();if(H&&!x||!H&&x)c=c.redNeg();return this.point(g,c)},L.prototype.validate=function(g){if(g.inf)return!0;var{x:H,y:T}=g,c=this.a.redMul(H),x=H.redSqr().redMul(H).redIAdd(c).redIAdd(this.b);return T.redSqr().redISub(x).cmpn(0)===0},L.prototype._endoWnafMulAdd=function(g,H,T){var c=this._endoWnafT1,x=this._endoWnafT2;for(var u=0;u<g.length;u++){var h=this._endoSplit(H[u]),i=g[u],m=i._getBeta();if(h.k1.negative)h.k1.ineg(),i=i.neg(!0);if(h.k2.negative)h.k2.ineg(),m=m.neg(!0);c[u*2]=i,c[u*2+1]=m,x[u*2]=h.k1,x[u*2+1]=h.k2}var n=this._wnafMulAdd(1,c,x,u*2,T);for(var a=0;a<u*2;a++)c[a]=null,x[a]=null;return n};function S(g,H,T,c){if(Z.BasePoint.call(this,g,"affine"),H===null&&T===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new z(H,16),this.y=new z(T,16),c)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}}v(S,Z.BasePoint),L.prototype.point=function(g,H,T){return new S(this,g,H,T)},L.prototype.pointFromJSON=function(g,H){return S.fromJSON(this,g,H)},S.prototype._getBeta=function(){if(!this.curve.endo)return;var g=this.precomputed;if(g&&g.beta)return g.beta;var H=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(g){var T=this.curve,c=function(x){return T.point(x.x.redMul(T.endo.beta),x.y)};g.beta=H,H.precomputed={beta:null,naf:g.naf&&{wnd:g.naf.wnd,points:g.naf.points.map(c)},doubles:g.doubles&&{step:g.doubles.step,points:g.doubles.points.map(c)}}}return H},S.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)}}]},S.fromJSON=function(g,H,T){if(typeof H==="string")H=JSON.parse(H);var c=g.point(H[0],H[1],T);if(!H[2])return c;function x(h){return g.point(h[0],h[1],T)}var u=H[2];return c.precomputed={beta:null,doubles:u.doubles&&{step:u.doubles.step,points:[c].concat(u.doubles.points.map(x))},naf:u.naf&&{wnd:u.naf.wnd,points:[c].concat(u.naf.points.map(x))}},c},S.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)+">"},S.prototype.isInfinity=function(){return this.inf},S.prototype.add=function(g){if(this.inf)return g;if(g.inf)return this;if(this.eq(g))return this.dbl();if(this.neg().eq(g))return this.curve.point(null,null);if(this.x.cmp(g.x)===0)return this.curve.point(null,null);var H=this.y.redSub(g.y);if(H.cmpn(0)!==0)H=H.redMul(this.x.redSub(g.x).redInvm());var T=H.redSqr().redISub(this.x).redISub(g.x),c=H.redMul(this.x.redSub(T)).redISub(this.y);return this.curve.point(T,c)},S.prototype.dbl=function(){if(this.inf)return this;var g=this.y.redAdd(this.y);if(g.cmpn(0)===0)return this.curve.point(null,null);var H=this.curve.a,T=this.x.redSqr(),c=g.redInvm(),x=T.redAdd(T).redIAdd(T).redIAdd(H).redMul(c),u=x.redSqr().redISub(this.x.redAdd(this.x)),h=x.redMul(this.x.redSub(u)).redISub(this.y);return this.curve.point(u,h)},S.prototype.getX=function(){return this.x.fromRed()},S.prototype.getY=function(){return this.y.fromRed()},S.prototype.mul=function(g){if(g=new z(g,16),this.isInfinity())return this;else if(this._hasDoubles(g))return this.curve._fixedNafMul(this,g);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[g]);else return this.curve._wnafMul(this,g)},S.prototype.mulAdd=function(g,H,T){var c=[this,H],x=[g,T];if(this.curve.endo)return this.curve._endoWnafMulAdd(c,x);else return this.curve._wnafMulAdd(1,c,x,2)},S.prototype.jmulAdd=function(g,H,T){var c=[this,H],x=[g,T];if(this.curve.endo)return this.curve._endoWnafMulAdd(c,x,!0);else return this.curve._wnafMulAdd(1,c,x,2,!0)},S.prototype.eq=function(g){return this===g||this.inf===g.inf&&(this.inf||this.x.cmp(g.x)===0&&this.y.cmp(g.y)===0)},S.prototype.neg=function(g){if(this.inf)return this;var H=this.curve.point(this.x,this.y.redNeg());if(g&&this.precomputed){var T=this.precomputed,c=function(x){return x.neg()};H.precomputed={naf:T.naf&&{wnd:T.naf.wnd,points:T.naf.points.map(c)},doubles:T.doubles&&{step:T.doubles.step,points:T.doubles.points.map(c)}}}return H},S.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var g=this.curve.jpoint(this.x,this.y,this.curve.one);return g};function B(g,H,T,c){if(Z.BasePoint.call(this,g,"jacobian"),H===null&&T===null&&c===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new z(0);else this.x=new z(H,16),this.y=new z(T,16),this.z=new z(c,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}v(B,Z.BasePoint),L.prototype.jpoint=function(g,H,T){return new B(this,g,H,T)},B.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var g=this.z.redInvm(),H=g.redSqr(),T=this.x.redMul(H),c=this.y.redMul(H).redMul(g);return this.curve.point(T,c)},B.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},B.prototype.add=function(g){if(this.isInfinity())return g;if(g.isInfinity())return this;var H=g.z.redSqr(),T=this.z.redSqr(),c=this.x.redMul(H),x=g.x.redMul(T),u=this.y.redMul(H.redMul(g.z)),h=g.y.redMul(T.redMul(this.z)),i=c.redSub(x),m=u.redSub(h);if(i.cmpn(0)===0)if(m.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var n=i.redSqr(),a=n.redMul(i),j0=c.redMul(n),Y0=m.redSqr().redIAdd(a).redISub(j0).redISub(j0),C0=m.redMul(j0.redISub(Y0)).redISub(u.redMul(a)),S0=this.z.redMul(g.z).redMul(i);return this.curve.jpoint(Y0,C0,S0)},B.prototype.mixedAdd=function(g){if(this.isInfinity())return g.toJ();if(g.isInfinity())return this;var H=this.z.redSqr(),T=this.x,c=g.x.redMul(H),x=this.y,u=g.y.redMul(H).redMul(this.z),h=T.redSub(c),i=x.redSub(u);if(h.cmpn(0)===0)if(i.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var m=h.redSqr(),n=m.redMul(h),a=T.redMul(m),j0=i.redSqr().redIAdd(n).redISub(a).redISub(a),Y0=i.redMul(a.redISub(j0)).redISub(x.redMul(n)),C0=this.z.redMul(h);return this.curve.jpoint(j0,Y0,C0)},B.prototype.dblp=function(g){if(g===0)return this;if(this.isInfinity())return this;if(!g)return this.dbl();var H;if(this.curve.zeroA||this.curve.threeA){var T=this;for(H=0;H<g;H++)T=T.dbl();return T}var c=this.curve.a,x=this.curve.tinv,u=this.x,h=this.y,i=this.z,m=i.redSqr().redSqr(),n=h.redAdd(h);for(H=0;H<g;H++){var a=u.redSqr(),j0=n.redSqr(),Y0=j0.redSqr(),C0=a.redAdd(a).redIAdd(a).redIAdd(c.redMul(m)),S0=u.redMul(j0),h0=C0.redSqr().redISub(S0.redAdd(S0)),X0=S0.redISub(h0),x0=C0.redMul(X0);x0=x0.redIAdd(x0).redISub(Y0);var Q=n.redMul(i);if(H+1<g)m=m.redMul(Y0);u=h0,i=Q,n=x0}return this.curve.jpoint(u,n.redMul(x),i)},B.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()},B.prototype._zeroDbl=function(){var g,H,T;if(this.zOne){var c=this.x.redSqr(),x=this.y.redSqr(),u=x.redSqr(),h=this.x.redAdd(x).redSqr().redISub(c).redISub(u);h=h.redIAdd(h);var i=c.redAdd(c).redIAdd(c),m=i.redSqr().redISub(h).redISub(h),n=u.redIAdd(u);n=n.redIAdd(n),n=n.redIAdd(n),g=m,H=i.redMul(h.redISub(m)).redISub(n),T=this.y.redAdd(this.y)}else{var a=this.x.redSqr(),j0=this.y.redSqr(),Y0=j0.redSqr(),C0=this.x.redAdd(j0).redSqr().redISub(a).redISub(Y0);C0=C0.redIAdd(C0);var S0=a.redAdd(a).redIAdd(a),h0=S0.redSqr(),X0=Y0.redIAdd(Y0);X0=X0.redIAdd(X0),X0=X0.redIAdd(X0),g=h0.redISub(C0).redISub(C0),H=S0.redMul(C0.redISub(g)).redISub(X0),T=this.y.redMul(this.z),T=T.redIAdd(T)}return this.curve.jpoint(g,H,T)},B.prototype._threeDbl=function(){var g,H,T;if(this.zOne){var c=this.x.redSqr(),x=this.y.redSqr(),u=x.redSqr(),h=this.x.redAdd(x).redSqr().redISub(c).redISub(u);h=h.redIAdd(h);var i=c.redAdd(c).redIAdd(c).redIAdd(this.curve.a),m=i.redSqr().redISub(h).redISub(h);g=m;var n=u.redIAdd(u);n=n.redIAdd(n),n=n.redIAdd(n),H=i.redMul(h.redISub(m)).redISub(n),T=this.y.redAdd(this.y)}else{var a=this.z.redSqr(),j0=this.y.redSqr(),Y0=this.x.redMul(j0),C0=this.x.redSub(a).redMul(this.x.redAdd(a));C0=C0.redAdd(C0).redIAdd(C0);var S0=Y0.redIAdd(Y0);S0=S0.redIAdd(S0);var h0=S0.redAdd(S0);g=C0.redSqr().redISub(h0),T=this.y.redAdd(this.z).redSqr().redISub(j0).redISub(a);var X0=j0.redSqr();X0=X0.redIAdd(X0),X0=X0.redIAdd(X0),X0=X0.redIAdd(X0),H=C0.redMul(S0.redISub(g)).redISub(X0)}return this.curve.jpoint(g,H,T)},B.prototype._dbl=function(){var g=this.curve.a,H=this.x,T=this.y,c=this.z,x=c.redSqr().redSqr(),u=H.redSqr(),h=T.redSqr(),i=u.redAdd(u).redIAdd(u).redIAdd(g.redMul(x)),m=H.redAdd(H);m=m.redIAdd(m);var n=m.redMul(h),a=i.redSqr().redISub(n.redAdd(n)),j0=n.redISub(a),Y0=h.redSqr();Y0=Y0.redIAdd(Y0),Y0=Y0.redIAdd(Y0),Y0=Y0.redIAdd(Y0);var C0=i.redMul(j0).redISub(Y0),S0=T.redAdd(T).redMul(c);return this.curve.jpoint(a,C0,S0)},B.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var g=this.x.redSqr(),H=this.y.redSqr(),T=this.z.redSqr(),c=H.redSqr(),x=g.redAdd(g).redIAdd(g),u=x.redSqr(),h=this.x.redAdd(H).redSqr().redISub(g).redISub(c);h=h.redIAdd(h),h=h.redAdd(h).redIAdd(h),h=h.redISub(u);var i=h.redSqr(),m=c.redIAdd(c);m=m.redIAdd(m),m=m.redIAdd(m),m=m.redIAdd(m);var n=x.redIAdd(h).redSqr().redISub(u).redISub(i).redISub(m),a=H.redMul(n);a=a.redIAdd(a),a=a.redIAdd(a);var j0=this.x.redMul(i).redISub(a);j0=j0.redIAdd(j0),j0=j0.redIAdd(j0);var Y0=this.y.redMul(n.redMul(m.redISub(n)).redISub(h.redMul(i)));Y0=Y0.redIAdd(Y0),Y0=Y0.redIAdd(Y0),Y0=Y0.redIAdd(Y0);var C0=this.z.redAdd(h).redSqr().redISub(T).redISub(i);return this.curve.jpoint(j0,Y0,C0)},B.prototype.mul=function(g,H){return g=new z(g,H),this.curve._wnafMul(this,g)},B.prototype.eq=function(g){if(g.type==="affine")return this.eq(g.toJ());if(this===g)return!0;var H=this.z.redSqr(),T=g.z.redSqr();if(this.x.redMul(T).redISub(g.x.redMul(H)).cmpn(0)!==0)return!1;var c=H.redMul(this.z),x=T.redMul(g.z);return this.y.redMul(x).redISub(g.y.redMul(c)).cmpn(0)===0},B.prototype.eqXToP=function(g){var H=this.z.redSqr(),T=g.toRed(this.curve.red).redMul(H);if(this.x.cmp(T)===0)return!0;var c=g.clone(),x=this.curve.redN.redMul(H);for(;;){if(c.iadd(this.curve.n),c.cmp(this.curve.p)>=0)return!1;if(T.redIAdd(x),this.x.cmp(T)===0)return!0}},B.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)+">"},B.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),Hx=G$((U,I)=>{var J=UY(),z=UI(),v=X9(),Z=oI();function Y(S){v.call(this,"mont",S),this.a=new J(S.a,16).toRed(this.red),this.b=new J(S.b,16).toRed(this.red),this.i4=new J(4).toRed(this.red).redInvm(),this.two=new J(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}z(Y,v),I.exports=Y,Y.prototype.validate=function(S){var B=S.normalize().x,g=B.redSqr(),H=g.redMul(B).redAdd(g.redMul(this.a)).redAdd(B),T=H.redSqrt();return T.redSqr().cmp(H)===0};function L(S,B,g){if(v.BasePoint.call(this,S,"projective"),B===null&&g===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new J(B,16),this.z=new J(g,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}z(L,v.BasePoint),Y.prototype.decodePoint=function(S,B){return this.point(Z.toArray(S,B),1)},Y.prototype.point=function(S,B){return new L(this,S,B)},Y.prototype.pointFromJSON=function(S){return L.fromJSON(this,S)},L.prototype.precompute=function(){},L.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},L.fromJSON=function(S,B){return new L(S,B[0],B[1]||S.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 S=this.x.redAdd(this.z),B=S.redSqr(),g=this.x.redSub(this.z),H=g.redSqr(),T=B.redSub(H),c=B.redMul(H),x=T.redMul(H.redAdd(this.curve.a24.redMul(T)));return this.curve.point(c,x)},L.prototype.add=function(){throw Error("Not supported on Montgomery curve")},L.prototype.diffAdd=function(S,B){var g=this.x.redAdd(this.z),H=this.x.redSub(this.z),T=S.x.redAdd(S.z),c=S.x.redSub(S.z),x=c.redMul(g),u=T.redMul(H),h=B.z.redMul(x.redAdd(u).redSqr()),i=B.x.redMul(x.redISub(u).redSqr());return this.curve.point(h,i)},L.prototype.mul=function(S){var B=S.clone(),g=this,H=this.curve.point(null,null),T=this;for(var c=[];B.cmpn(0)!==0;B.iushrn(1))c.push(B.andln(1));for(var x=c.length-1;x>=0;x--)if(c[x]===0)g=g.diffAdd(H,T),H=H.dbl();else H=g.diffAdd(H,T),g=g.dbl();return H},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(S){return this.getX().cmp(S.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()}}),_x=G$((U,I)=>{var J=oI(),z=UY(),v=UI(),Z=X9(),Y=J.assert;function L(B){this.twisted=(B.a|0)!==1,this.mOneA=this.twisted&&(B.a|0)===-1,this.extended=this.mOneA,Z.call(this,"edwards",B),this.a=new z(B.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new z(B.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new z(B.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Y(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(B.c|0)===1}v(L,Z),I.exports=L,L.prototype._mulA=function(B){if(this.mOneA)return B.redNeg();else return this.a.redMul(B)},L.prototype._mulC=function(B){if(this.oneC)return B;else return this.c.redMul(B)},L.prototype.jpoint=function(B,g,H,T){return this.point(B,g,H,T)},L.prototype.pointFromX=function(B,g){if(B=new z(B,16),!B.red)B=B.toRed(this.red);var H=B.redSqr(),T=this.c2.redSub(this.a.redMul(H)),c=this.one.redSub(this.c2.redMul(this.d).redMul(H)),x=T.redMul(c.redInvm()),u=x.redSqrt();if(u.redSqr().redSub(x).cmp(this.zero)!==0)throw Error("invalid point");var h=u.fromRed().isOdd();if(g&&!h||!g&&h)u=u.redNeg();return this.point(B,u)},L.prototype.pointFromY=function(B,g){if(B=new z(B,16),!B.red)B=B.toRed(this.red);var H=B.redSqr(),T=H.redSub(this.c2),c=H.redMul(this.d).redMul(this.c2).redSub(this.a),x=T.redMul(c.redInvm());if(x.cmp(this.zero)===0)if(g)throw Error("invalid point");else return this.point(this.zero,B);var u=x.redSqrt();if(u.redSqr().redSub(x).cmp(this.zero)!==0)throw Error("invalid point");if(u.fromRed().isOdd()!==g)u=u.redNeg();return this.point(u,B)},L.prototype.validate=function(B){if(B.isInfinity())return!0;B.normalize();var g=B.x.redSqr(),H=B.y.redSqr(),T=g.redMul(this.a).redAdd(H),c=this.c2.redMul(this.one.redAdd(this.d.redMul(g).redMul(H)));return T.cmp(c)===0};function S(B,g,H,T,c){if(Z.BasePoint.call(this,B,"projective"),g===null&&H===null&&T===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 z(g,16),this.y=new z(H,16),this.z=T?new z(T,16):this.curve.one,this.t=c&&new z(c,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())}}}v(S,Z.BasePoint),L.prototype.pointFromJSON=function(B){return S.fromJSON(this,B)},L.prototype.point=function(B,g,H,T){return new S(this,B,g,H,T)},S.fromJSON=function(B,g){return new S(B,g[0],g[1],g[2])},S.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)+">"},S.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},S.prototype._extDbl=function(){var B=this.x.redSqr(),g=this.y.redSqr(),H=this.z.redSqr();H=H.redIAdd(H);var T=this.curve._mulA(B),c=this.x.redAdd(this.y).redSqr().redISub(B).redISub(g),x=T.redAdd(g),u=x.redSub(H),h=T.redSub(g),i=c.redMul(u),m=x.redMul(h),n=c.redMul(h),a=u.redMul(x);return this.curve.point(i,m,a,n)},S.prototype._projDbl=function(){var B=this.x.redAdd(this.y).redSqr(),g=this.x.redSqr(),H=this.y.redSqr(),T,c,x,u,h,i;if(this.curve.twisted){u=this.curve._mulA(g);var m=u.redAdd(H);if(this.zOne)T=B.redSub(g).redSub(H).redMul(m.redSub(this.curve.two)),c=m.redMul(u.redSub(H)),x=m.redSqr().redSub(m).redSub(m);else h=this.z.redSqr(),i=m.redSub(h).redISub(h),T=B.redSub(g).redISub(H).redMul(i),c=m.redMul(u.redSub(H)),x=m.redMul(i)}else u=g.redAdd(H),h=this.curve._mulC(this.z).redSqr(),i=u.redSub(h).redSub(h),T=this.curve._mulC(B.redISub(u)).redMul(i),c=this.curve._mulC(u).redMul(g.redISub(H)),x=u.redMul(i);return this.curve.point(T,c,x)},S.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},S.prototype._extAdd=function(B){var g=this.y.redSub(this.x).redMul(B.y.redSub(B.x)),H=this.y.redAdd(this.x).redMul(B.y.redAdd(B.x)),T=this.t.redMul(this.curve.dd).redMul(B.t),c=this.z.redMul(B.z.redAdd(B.z)),x=H.redSub(g),u=c.redSub(T),h=c.redAdd(T),i=H.redAdd(g),m=x.redMul(u),n=h.redMul(i),a=x.redMul(i),j0=u.redMul(h);return this.curve.point(m,n,j0,a)},S.prototype._projAdd=function(B){var g=this.z.redMul(B.z),H=g.redSqr(),T=this.x.redMul(B.x),c=this.y.redMul(B.y),x=this.curve.d.redMul(T).redMul(c),u=H.redSub(x),h=H.redAdd(x),i=this.x.redAdd(this.y).redMul(B.x.redAdd(B.y)).redISub(T).redISub(c),m=g.redMul(u).redMul(i),n,a;if(this.curve.twisted)n=g.redMul(h).redMul(c.redSub(this.curve._mulA(T))),a=u.redMul(h);else n=g.redMul(h).redMul(c.redSub(T)),a=this.curve._mulC(u).redMul(h);return this.curve.point(m,n,a)},S.prototype.add=function(B){if(this.isInfinity())return B;if(B.isInfinity())return this;if(this.curve.extended)return this._extAdd(B);else return this._projAdd(B)},S.prototype.mul=function(B){if(this._hasDoubles(B))return this.curve._fixedNafMul(this,B);else return this.curve._wnafMul(this,B)},S.prototype.mulAdd=function(B,g,H){return this.curve._wnafMulAdd(1,[this,g],[B,H],2,!1)},S.prototype.jmulAdd=function(B,g,H){return this.curve._wnafMulAdd(1,[this,g],[B,H],2,!0)},S.prototype.normalize=function(){if(this.zOne)return this;var B=this.z.redInvm();if(this.x=this.x.redMul(B),this.y=this.y.redMul(B),this.t)this.t=this.t.redMul(B);return this.z=this.curve.one,this.zOne=!0,this},S.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},S.prototype.getX=function(){return this.normalize(),this.x.fromRed()},S.prototype.getY=function(){return this.normalize(),this.y.fromRed()},S.prototype.eq=function(B){return this===B||this.getX().cmp(B.getX())===0&&this.getY().cmp(B.getY())===0},S.prototype.eqXToP=function(B){var g=B.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(g)===0)return!0;var H=B.clone(),T=this.curve.redN.redMul(this.z);for(;;){if(H.iadd(this.curve.n),H.cmp(this.curve.p)>=0)return!1;if(g.redIAdd(T),this.x.cmp(g)===0)return!0}},S.prototype.toP=S.prototype.normalize,S.prototype.mixedAdd=S.prototype.add}),wT=G$((U)=>{var I=U;I.base=X9(),I.short=Fx(),I.mont=Hx(),I.edwards=_x()}),iJ=G$((U)=>{var I=qG(),J=UI();U.inherits=J;function z(K,D){if((K.charCodeAt(D)&64512)!==55296)return!1;if(D<0||D+1>=K.length)return!1;return(K.charCodeAt(D+1)&64512)===56320}function v(K,D){if(Array.isArray(K))return K.slice();if(!K)return[];var W=[];if(typeof K==="string"){if(!D){var V=0;for(var R=0;R<K.length;R++){var N=K.charCodeAt(R);if(N<128)W[V++]=N;else if(N<2048)W[V++]=N>>6|192,W[V++]=N&63|128;else if(z(K,R))N=65536+((N&1023)<<10)+(K.charCodeAt(++R)&1023),W[V++]=N>>18|240,W[V++]=N>>12&63|128,W[V++]=N>>6&63|128,W[V++]=N&63|128;else W[V++]=N>>12|224,W[V++]=N>>6&63|128,W[V++]=N&63|128}}else if(D==="hex"){if(K=K.replace(/[^a-z0-9]+/ig,""),K.length%2!==0)K="0"+K;for(R=0;R<K.length;R+=2)W.push(parseInt(K[R]+K[R+1],16))}}else for(R=0;R<K.length;R++)W[R]=K[R]|0;return W}U.toArray=v;function Z(K){var D="";for(var W=0;W<K.length;W++)D+=S(K[W].toString(16));return D}U.toHex=Z;function Y(K){var D=K>>>24|K>>>8&65280|K<<8&16711680|(K&255)<<24;return D>>>0}U.htonl=Y;function L(K,D){var W="";for(var V=0;V<K.length;V++){var R=K[V];if(D==="little")R=Y(R);W+=B(R.toString(16))}return W}U.toHex32=L;function S(K){if(K.length===1)return"0"+K;else return K}U.zero2=S;function B(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}U.zero8=B;function g(K,D,W,V){var R=W-D;I(R%4===0);var N=Array(R/4);for(var q=0,G=D;q<N.length;q++,G+=4){var C;if(V==="big")C=K[G]<<24|K[G+1]<<16|K[G+2]<<8|K[G+3];else C=K[G+3]<<24|K[G+2]<<16|K[G+1]<<8|K[G];N[q]=C>>>0}return N}U.join32=g;function H(K,D){var W=Array(K.length*4);for(var V=0,R=0;V<K.length;V++,R+=4){var N=K[V];if(D==="big")W[R]=N>>>24,W[R+1]=N>>>16&255,W[R+2]=N>>>8&255,W[R+3]=N&255;else W[R+3]=N>>>24,W[R+2]=N>>>16&255,W[R+1]=N>>>8&255,W[R]=N&255}return W}U.split32=H;function T(K,D){return K>>>D|K<<32-D}U.rotr32=T;function c(K,D){return K<<D|K>>>32-D}U.rotl32=c;function x(K,D){return K+D>>>0}U.sum32=x;function u(K,D,W){return K+D+W>>>0}U.sum32_3=u;function h(K,D,W,V){return K+D+W+V>>>0}U.sum32_4=h;function i(K,D,W,V,R){return K+D+W+V+R>>>0}U.sum32_5=i;function m(K,D,W,V){var R=K[D],N=K[D+1],q=V+N>>>0,G=(q<V?1:0)+W+R;K[D]=G>>>0,K[D+1]=q}U.sum64=m;function n(K,D,W,V){var R=D+V>>>0,N=(R<D?1:0)+K+W;return N>>>0}U.sum64_hi=n;function a(K,D,W,V){var R=D+V;return R>>>0}U.sum64_lo=a;function j0(K,D,W,V,R,N,q,G){var C=0,b=D;b=b+V>>>0,C+=b<D?1:0,b=b+N>>>0,C+=b<N?1:0,b=b+G>>>0,C+=b<G?1:0;var y=K+W+R+q+C;return y>>>0}U.sum64_4_hi=j0;function Y0(K,D,W,V,R,N,q,G){var C=D+V+N+G;return C>>>0}U.sum64_4_lo=Y0;function C0(K,D,W,V,R,N,q,G,C,b){var y=0,o=D;o=o+V>>>0,y+=o<D?1:0,o=o+N>>>0,y+=o<N?1:0,o=o+G>>>0,y+=o<G?1:0,o=o+b>>>0,y+=o<b?1:0;var J0=K+W+R+q+C+y;return J0>>>0}U.sum64_5_hi=C0;function S0(K,D,W,V,R,N,q,G,C,b){var y=D+V+N+G+b;return y>>>0}U.sum64_5_lo=S0;function h0(K,D,W){var V=D<<32-W|K>>>W;return V>>>0}U.rotr64_hi=h0;function X0(K,D,W){var V=K<<32-W|D>>>W;return V>>>0}U.rotr64_lo=X0;function x0(K,D,W){return K>>>W}U.shr64_hi=x0;function Q(K,D,W){var V=K<<32-W|D>>>W;return V>>>0}U.shr64_lo=Q}),NK=G$((U)=>{var I=iJ(),J=qG();function z(){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}U.BlockHash=z,z.prototype.update=function(v,Z){if(v=I.toArray(v,Z),!this.pending)this.pending=v;else this.pending=this.pending.concat(v);if(this.pendingTotal+=v.length,this.pending.length>=this._delta8){v=this.pending;var Y=v.length%this._delta8;if(this.pending=v.slice(v.length-Y,v.length),this.pending.length===0)this.pending=null;v=I.join32(v,0,v.length-Y,this.endian);for(var L=0;L<v.length;L+=this._delta32)this._update(v,L,L+this._delta32)}return this},z.prototype.digest=function(v){return this.update(this._pad()),J(this.pending===null),this._digest(v)},z.prototype._pad=function(){var v=this.pendingTotal,Z=this._delta8,Y=Z-(v+this.padLength)%Z,L=Array(Y+this.padLength);L[0]=128;for(var S=1;S<Y;S++)L[S]=0;if(v<<=3,this.endian==="big"){for(var B=8;B<this.padLength;B++)L[S++]=0;L[S++]=0,L[S++]=0,L[S++]=0,L[S++]=0,L[S++]=v>>>24&255,L[S++]=v>>>16&255,L[S++]=v>>>8&255,L[S++]=v&255}else{L[S++]=v&255,L[S++]=v>>>8&255,L[S++]=v>>>16&255,L[S++]=v>>>24&255,L[S++]=0,L[S++]=0,L[S++]=0,L[S++]=0;for(B=8;B<this.padLength;B++)L[S++]=0}return L}}),kT=G$((U)=>{var I=iJ(),J=I.rotr32;function z(H,T,c,x){if(H===0)return v(T,c,x);if(H===1||H===3)return Y(T,c,x);if(H===2)return Z(T,c,x)}U.ft_1=z;function v(H,T,c){return H&T^~H&c}U.ch32=v;function Z(H,T,c){return H&T^H&c^T&c}U.maj32=Z;function Y(H,T,c){return H^T^c}U.p32=Y;function L(H){return J(H,2)^J(H,13)^J(H,22)}U.s0_256=L;function S(H){return J(H,6)^J(H,11)^J(H,25)}U.s1_256=S;function B(H){return J(H,7)^J(H,18)^H>>>3}U.g0_256=B;function g(H){return J(H,17)^J(H,19)^H>>>10}U.g1_256=g}),Mx=G$((U,I)=>{var J=iJ(),z=NK(),v=kT(),Z=J.rotl32,Y=J.sum32,L=J.sum32_5,S=v.ft_1,B=z.BlockHash,g=[1518500249,1859775393,2400959708,3395469782];function H(){if(!(this instanceof H))return new H;B.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}J.inherits(H,B),I.exports=H,H.blockSize=512,H.outSize=160,H.hmacStrength=80,H.padLength=64,H.prototype._update=function(T,c){var x=this.W;for(var u=0;u<16;u++)x[u]=T[c+u];for(;u<x.length;u++)x[u]=Z(x[u-3]^x[u-8]^x[u-14]^x[u-16],1);var h=this.h[0],i=this.h[1],m=this.h[2],n=this.h[3],a=this.h[4];for(u=0;u<x.length;u++){var j0=~~(u/20),Y0=L(Z(h,5),S(j0,i,m,n),a,x[u],g[j0]);a=n,n=m,m=Z(i,30),i=h,h=Y0}this.h[0]=Y(this.h[0],h),this.h[1]=Y(this.h[1],i),this.h[2]=Y(this.h[2],m),this.h[3]=Y(this.h[3],n),this.h[4]=Y(this.h[4],a)},H.prototype._digest=function(T){if(T==="hex")return J.toHex32(this.h,"big");else return J.split32(this.h,"big")}}),cT=G$((U,I)=>{var J=iJ(),z=NK(),v=kT(),Z=qG(),Y=J.sum32,L=J.sum32_4,S=J.sum32_5,B=v.ch32,g=v.maj32,H=v.s0_256,T=v.s1_256,c=v.g0_256,x=v.g1_256,u=z.BlockHash,h=[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 i(){if(!(this instanceof i))return new i;u.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=h,this.W=Array(64)}J.inherits(i,u),I.exports=i,i.blockSize=512,i.outSize=256,i.hmacStrength=192,i.padLength=64,i.prototype._update=function(m,n){var a=this.W;for(var j0=0;j0<16;j0++)a[j0]=m[n+j0];for(;j0<a.length;j0++)a[j0]=L(x(a[j0-2]),a[j0-7],c(a[j0-15]),a[j0-16]);var Y0=this.h[0],C0=this.h[1],S0=this.h[2],h0=this.h[3],X0=this.h[4],x0=this.h[5],Q=this.h[6],K=this.h[7];Z(this.k.length===a.length);for(j0=0;j0<a.length;j0++){var D=S(K,T(X0),B(X0,x0,Q),this.k[j0],a[j0]),W=Y(H(Y0),g(Y0,C0,S0));K=Q,Q=x0,x0=X0,X0=Y(h0,D),h0=S0,S0=C0,C0=Y0,Y0=Y(D,W)}this.h[0]=Y(this.h[0],Y0),this.h[1]=Y(this.h[1],C0),this.h[2]=Y(this.h[2],S0),this.h[3]=Y(this.h[3],h0),this.h[4]=Y(this.h[4],X0),this.h[5]=Y(this.h[5],x0),this.h[6]=Y(this.h[6],Q),this.h[7]=Y(this.h[7],K)},i.prototype._digest=function(m){if(m==="hex")return J.toHex32(this.h,"big");else return J.split32(this.h,"big")}}),Lx=G$((U,I)=>{var J=iJ(),z=cT();function v(){if(!(this instanceof v))return new v;z.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}J.inherits(v,z),I.exports=v,v.blockSize=512,v.outSize=224,v.hmacStrength=192,v.padLength=64,v.prototype._digest=function(Z){if(Z==="hex")return J.toHex32(this.h.slice(0,7),"big");else return J.split32(this.h.slice(0,7),"big")}}),xT=G$((U,I)=>{var J=iJ(),z=NK(),v=qG(),Z=J.rotr64_hi,Y=J.rotr64_lo,L=J.shr64_hi,S=J.shr64_lo,B=J.sum64,g=J.sum64_hi,H=J.sum64_lo,T=J.sum64_4_hi,c=J.sum64_4_lo,x=J.sum64_5_hi,u=J.sum64_5_lo,h=z.BlockHash,i=[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 m(){if(!(this instanceof m))return new m;h.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=i,this.W=Array(160)}J.inherits(m,h),I.exports=m,m.blockSize=1024,m.outSize=512,m.hmacStrength=192,m.padLength=128,m.prototype._prepareBlock=function(W,V){var R=this.W;for(var N=0;N<32;N++)R[N]=W[V+N];for(;N<R.length;N+=2){var q=K(R[N-4],R[N-3]),G=D(R[N-4],R[N-3]),C=R[N-14],b=R[N-13],y=x0(R[N-30],R[N-29]),o=Q(R[N-30],R[N-29]),J0=R[N-32],K0=R[N-31];R[N]=T(q,G,C,b,y,o,J0,K0),R[N+1]=c(q,G,C,b,y,o,J0,K0)}},m.prototype._update=function(W,V){this._prepareBlock(W,V);var R=this.W,N=this.h[0],q=this.h[1],G=this.h[2],C=this.h[3],b=this.h[4],y=this.h[5],o=this.h[6],J0=this.h[7],K0=this.h[8],A0=this.h[9],H0=this.h[10],W0=this.h[11],z0=this.h[12],D0=this.h[13],L0=this.h[14],k0=this.h[15];v(this.k.length===R.length);for(var Z0=0;Z0<R.length;Z0+=2){var r=L0,U0=k0,g0=h0(K0,A0),M0=X0(K0,A0),R0=n(K0,A0,H0,W0,z0,D0),o0=a(K0,A0,H0,W0,z0,D0),O0=this.k[Z0],P0=this.k[Z0+1],q$=R[Z0],w0=R[Z0+1],n0=x(r,U0,g0,M0,R0,o0,O0,P0,q$,w0),i$=u(r,U0,g0,M0,R0,o0,O0,P0,q$,w0);r=C0(N,q),U0=S0(N,q),g0=j0(N,q,G,C,b,y),M0=Y0(N,q,G,C,b,y);var s0=g(r,U0,g0,M0),Z$=H(r,U0,g0,M0);L0=z0,k0=D0,z0=H0,D0=W0,H0=K0,W0=A0,K0=g(o,J0,n0,i$),A0=H(J0,J0,n0,i$),o=b,J0=y,b=G,y=C,G=N,C=q,N=g(n0,i$,s0,Z$),q=H(n0,i$,s0,Z$)}B(this.h,0,N,q),B(this.h,2,G,C),B(this.h,4,b,y),B(this.h,6,o,J0),B(this.h,8,K0,A0),B(this.h,10,H0,W0),B(this.h,12,z0,D0),B(this.h,14,L0,k0)},m.prototype._digest=function(W){if(W==="hex")return J.toHex32(this.h,"big");else return J.split32(this.h,"big")};function n(W,V,R,N,q){var G=W&R^~W&q;if(G<0)G+=4294967296;return G}function a(W,V,R,N,q,G){var C=V&N^~V&G;if(C<0)C+=4294967296;return C}function j0(W,V,R,N,q){var G=W&R^W&q^R&q;if(G<0)G+=4294967296;return G}function Y0(W,V,R,N,q,G){var C=V&N^V&G^N&G;if(C<0)C+=4294967296;return C}function C0(W,V){var R=Z(W,V,28),N=Z(V,W,2),q=Z(V,W,7),G=R^N^q;if(G<0)G+=4294967296;return G}function S0(W,V){var R=Y(W,V,28),N=Y(V,W,2),q=Y(V,W,7),G=R^N^q;if(G<0)G+=4294967296;return G}function h0(W,V){var R=Z(W,V,14),N=Z(W,V,18),q=Z(V,W,9),G=R^N^q;if(G<0)G+=4294967296;return G}function X0(W,V){var R=Y(W,V,14),N=Y(W,V,18),q=Y(V,W,9),G=R^N^q;if(G<0)G+=4294967296;return G}function x0(W,V){var R=Z(W,V,1),N=Z(W,V,8),q=L(W,V,7),G=R^N^q;if(G<0)G+=4294967296;return G}function Q(W,V){var R=Y(W,V,1),N=Y(W,V,8),q=S(W,V,7),G=R^N^q;if(G<0)G+=4294967296;return G}function K(W,V){var R=Z(W,V,19),N=Z(V,W,29),q=L(W,V,6),G=R^N^q;if(G<0)G+=4294967296;return G}function D(W,V){var R=Y(W,V,19),N=Y(V,W,29),q=S(W,V,6),G=R^N^q;if(G<0)G+=4294967296;return G}}),Ax=G$((U,I)=>{var J=iJ(),z=xT();function v(){if(!(this instanceof v))return new v;z.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}J.inherits(v,z),I.exports=v,v.blockSize=1024,v.outSize=384,v.hmacStrength=192,v.padLength=128,v.prototype._digest=function(Z){if(Z==="hex")return J.toHex32(this.h.slice(0,12),"big");else return J.split32(this.h.slice(0,12),"big")}}),qx=G$((U)=>{U.sha1=Mx(),U.sha224=Lx(),U.sha256=cT(),U.sha384=Ax(),U.sha512=xT()}),Px=G$((U)=>{var I=iJ(),J=NK(),z=I.rotl32,v=I.sum32,Z=I.sum32_3,Y=I.sum32_4,L=J.BlockHash;function S(){if(!(this instanceof S))return new S;L.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}I.inherits(S,L),U.ripemd160=S,S.blockSize=512,S.outSize=160,S.hmacStrength=192,S.padLength=64,S.prototype._update=function(h,i){var m=this.h[0],n=this.h[1],a=this.h[2],j0=this.h[3],Y0=this.h[4],C0=m,S0=n,h0=a,X0=j0,x0=Y0;for(var Q=0;Q<80;Q++){var K=v(z(Y(m,B(Q,n,a,j0),h[T[Q]+i],g(Q)),x[Q]),Y0);m=Y0,Y0=j0,j0=z(a,10),a=n,n=K,K=v(z(Y(C0,B(79-Q,S0,h0,X0),h[c[Q]+i],H(Q)),u[Q]),x0),C0=x0,x0=X0,X0=z(h0,10),h0=S0,S0=K}K=Z(this.h[1],a,X0),this.h[1]=Z(this.h[2],j0,x0),this.h[2]=Z(this.h[3],Y0,C0),this.h[3]=Z(this.h[4],m,S0),this.h[4]=Z(this.h[0],n,h0),this.h[0]=K},S.prototype._digest=function(h){if(h==="hex")return I.toHex32(this.h,"little");else return I.split32(this.h,"little")};function B(h,i,m,n){if(h<=15)return i^m^n;else if(h<=31)return i&m|~i&n;else if(h<=47)return(i|~m)^n;else if(h<=63)return i&n|m&~n;else return i^(m|~n)}function g(h){if(h<=15)return 0;else if(h<=31)return 1518500249;else if(h<=47)return 1859775393;else if(h<=63)return 2400959708;else return 2840853838}function H(h){if(h<=15)return 1352829926;else if(h<=31)return 1548603684;else if(h<=47)return 1836072691;else if(h<=63)return 2053994217;else return 0}var T=[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],c=[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],x=[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],u=[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]}),Cx=G$((U,I)=>{var J=iJ(),z=qG();function v(Z,Y,L){if(!(this instanceof v))return new v(Z,Y,L);this.Hash=Z,this.blockSize=Z.blockSize/8,this.outSize=Z.outSize/8,this.inner=null,this.outer=null,this._init(J.toArray(Y,L))}I.exports=v,v.prototype._init=function(Z){if(Z.length>this.blockSize)Z=new this.Hash().update(Z).digest();z(Z.length<=this.blockSize);for(var Y=Z.length;Y<this.blockSize;Y++)Z.push(0);for(Y=0;Y<Z.length;Y++)Z[Y]^=54;this.inner=new this.Hash().update(Z);for(Y=0;Y<Z.length;Y++)Z[Y]^=106;this.outer=new this.Hash().update(Z)},v.prototype.update=function(Z,Y){return this.inner.update(Z,Y),this},v.prototype.digest=function(Z){return this.outer.update(this.inner.digest()),this.outer.digest(Z)}}),O5=G$((U)=>{var I=U;I.utils=iJ(),I.common=NK(),I.sha=qx(),I.ripemd=Px(),I.hmac=Cx(),I.sha1=I.sha.sha1,I.sha256=I.sha.sha256,I.sha224=I.sha.sha224,I.sha384=I.sha.sha384,I.sha512=I.sha.sha512,I.ripemd160=I.ripemd.ripemd160}),Rx=G$((U,I)=>{I.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"]]}}}),V5=G$((U)=>{var I=U,J=O5(),z=wT(),v=oI(),Z=v.assert;function Y(B){if(B.type==="short")this.curve=new z.short(B);else if(B.type==="edwards")this.curve=new z.edwards(B);else this.curve=new z.mont(B);this.g=this.curve.g,this.n=this.curve.n,this.hash=B.hash,Z(this.g.validate(),"Invalid curve"),Z(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}I.PresetCurve=Y;function L(B,g){Object.defineProperty(I,B,{configurable:!0,enumerable:!0,get:function(){var H=new Y(g);return Object.defineProperty(I,B,{configurable:!0,enumerable:!0,value:H}),H}})}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:J.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:J.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:J.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:J.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:J.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:J.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:J.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var S;try{S=Rx()}catch(B){S=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:J.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",S]})}),Ex=G$((U,I)=>{var J=O5(),z=NT(),v=qG();function Z(Y){if(!(this instanceof Z))return new Z(Y);this.hash=Y.hash,this.predResist=!!Y.predResist,this.outLen=this.hash.outSize,this.minEntropy=Y.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var L=z.toArray(Y.entropy,Y.entropyEnc||"hex"),S=z.toArray(Y.nonce,Y.nonceEnc||"hex"),B=z.toArray(Y.pers,Y.persEnc||"hex");v(L.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(L,S,B)}I.exports=Z,Z.prototype._init=function(Y,L,S){var B=Y.concat(L).concat(S);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var g=0;g<this.V.length;g++)this.K[g]=0,this.V[g]=1;this._update(B),this._reseed=1,this.reseedInterval=281474976710656},Z.prototype._hmac=function(){return new J.hmac(this.hash,this.K)},Z.prototype._update=function(Y){var L=this._hmac().update(this.V).update([0]);if(Y)L=L.update(Y);if(this.K=L.digest(),this.V=this._hmac().update(this.V).digest(),!Y)return;this.K=this._hmac().update(this.V).update([1]).update(Y).digest(),this.V=this._hmac().update(this.V).digest()},Z.prototype.reseed=function(Y,L,S,B){if(typeof L!=="string")B=S,S=L,L=null;Y=z.toArray(Y,L),S=z.toArray(S,B),v(Y.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(Y.concat(S||[])),this._reseed=1},Z.prototype.generate=function(Y,L,S,B){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof L!=="string")B=S,S=L,L=null;if(S)S=z.toArray(S,B||"hex"),this._update(S);var g=[];while(g.length<Y)this.V=this._hmac().update(this.V).digest(),g=g.concat(this.V);var H=g.slice(0,Y);return this._update(S),this._reseed++,z.encode(H,L)}}),Tx=G$((U,I)=>{var J=UY(),z=oI(),v=z.assert;function Z(Y,L){if(this.ec=Y,this.priv=null,this.pub=null,L.priv)this._importPrivate(L.priv,L.privEnc);if(L.pub)this._importPublic(L.pub,L.pubEnc)}I.exports=Z,Z.fromPublic=function(Y,L,S){if(L instanceof Z)return L;return new Z(Y,{pub:L,pubEnc:S})},Z.fromPrivate=function(Y,L,S){if(L instanceof Z)return L;return new Z(Y,{priv:L,privEnc:S})},Z.prototype.validate=function(){var Y=this.getPublic();if(Y.isInfinity())return{result:!1,reason:"Invalid public key"};if(!Y.validate())return{result:!1,reason:"Public key is not a point"};if(!Y.mul(this.ec.curve.n).isInfinity())return{result:!1,reason:"Public key * N != O"};return{result:!0,reason:null}},Z.prototype.getPublic=function(Y,L){if(typeof Y==="string")L=Y,Y=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!L)return this.pub;return this.pub.encode(L,Y)},Z.prototype.getPrivate=function(Y){if(Y==="hex")return this.priv.toString(16,2);else return this.priv},Z.prototype._importPrivate=function(Y,L){this.priv=new J(Y,L||16),this.priv=this.priv.umod(this.ec.curve.n)},Z.prototype._importPublic=function(Y,L){if(Y.x||Y.y){if(this.ec.curve.type==="mont")v(Y.x,"Need x coordinate");else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")v(Y.x&&Y.y,"Need both x and y coordinate");this.pub=this.ec.curve.point(Y.x,Y.y);return}this.pub=this.ec.curve.decodePoint(Y,L)},Z.prototype.derive=function(Y){if(!Y.validate())v(Y.validate(),"public point not validated");return Y.mul(this.priv).getX()},Z.prototype.sign=function(Y,L,S){return this.ec.sign(Y,this,L,S)},Z.prototype.verify=function(Y,L,S){return this.ec.verify(Y,L,this,void 0,S)},Z.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),Bx=G$((U,I)=>{var J=UY(),z=oI(),v=z.assert;function Z(g,H){if(g instanceof Z)return g;if(this._importDER(g,H))return;if(v(g.r&&g.s,"Signature without r or s"),this.r=new J(g.r,16),this.s=new J(g.s,16),g.recoveryParam===void 0)this.recoveryParam=null;else this.recoveryParam=g.recoveryParam}I.exports=Z;function Y(){this.place=0}function L(g,H){var T=g[H.place++];if(!(T&128))return T;var c=T&15;if(c===0||c>4)return!1;if(g[H.place]===0)return!1;var x=0;for(var u=0,h=H.place;u<c;u++,h++)x<<=8,x|=g[h],x>>>=0;if(x<=127)return!1;return H.place=h,x}function S(g){var H=0,T=g.length-1;while(!g[H]&&!(g[H+1]&128)&&H<T)H++;if(H===0)return g;return g.slice(H)}Z.prototype._importDER=function(g,H){g=z.toArray(g,H);var T=new Y;if(g[T.place++]!==48)return!1;var c=L(g,T);if(c===!1)return!1;if(c+T.place!==g.length)return!1;if(g[T.place++]!==2)return!1;var x=L(g,T);if(x===!1)return!1;if((g[T.place]&128)!==0)return!1;var u=g.slice(T.place,x+T.place);if(T.place+=x,g[T.place++]!==2)return!1;var h=L(g,T);if(h===!1)return!1;if(g.length!==h+T.place)return!1;if((g[T.place]&128)!==0)return!1;var i=g.slice(T.place,h+T.place);if(u[0]===0)if(u[1]&128)u=u.slice(1);else return!1;if(i[0]===0)if(i[1]&128)i=i.slice(1);else return!1;return this.r=new J(u),this.s=new J(i),this.recoveryParam=null,!0};function B(g,H){if(H<128){g.push(H);return}var T=1+(Math.log(H)/Math.LN2>>>3);g.push(T|128);while(--T)g.push(H>>>(T<<3)&255);g.push(H)}Z.prototype.toDER=function(g){var H=this.r.toArray(),T=this.s.toArray();if(H[0]&128)H=[0].concat(H);if(T[0]&128)T=[0].concat(T);H=S(H),T=S(T);while(!T[0]&&!(T[1]&128))T=T.slice(1);var c=[2];B(c,H.length),c=c.concat(H),c.push(2),B(c,T.length);var x=c.concat(T),u=[48];return B(u,x.length),u=u.concat(x),z.encode(u,g)}}),gx=G$((U,I)=>{var J=UY(),z=Ex(),v=oI(),Z=V5(),Y=ST(),L=v.assert,S=Tx(),B=Bx();function g(H){if(!(this instanceof g))return new g(H);if(typeof H==="string")L(Object.prototype.hasOwnProperty.call(Z,H),"Unknown curve "+H),H=Z[H];if(H instanceof Z.PresetCurve)H={curve:H};this.curve=H.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=H.curve.g,this.g.precompute(H.curve.n.bitLength()+1),this.hash=H.hash||H.curve.hash}I.exports=g,g.prototype.keyPair=function(H){return new S(this,H)},g.prototype.keyFromPrivate=function(H,T){return S.fromPrivate(this,H,T)},g.prototype.keyFromPublic=function(H,T){return S.fromPublic(this,H,T)},g.prototype.genKeyPair=function(H){if(!H)H={};var T=new z({hash:this.hash,pers:H.pers,persEnc:H.persEnc||"utf8",entropy:H.entropy||Y(this.hash.hmacStrength),entropyEnc:H.entropy&&H.entropyEnc||"utf8",nonce:this.n.toArray()}),c=this.n.byteLength(),x=this.n.sub(new J(2));for(;;){var u=new J(T.generate(c));if(u.cmp(x)>0)continue;return u.iaddn(1),this.keyFromPrivate(u)}},g.prototype._truncateToN=function(H,T,c){var x;if(J.isBN(H)||typeof H==="number")H=new J(H,16),x=H.byteLength();else if(typeof H==="object")x=H.length,H=new J(H,16);else{var u=H.toString();x=u.length+1>>>1,H=new J(u,16)}if(typeof c!=="number")c=x*8;var h=c-this.n.bitLength();if(h>0)H=H.ushrn(h);if(!T&&H.cmp(this.n)>=0)return H.sub(this.n);else return H},g.prototype.sign=function(H,T,c,x){if(typeof c==="object")x=c,c=null;if(!x)x={};if(typeof H!=="string"&&typeof H!=="number"&&!J.isBN(H)){L(typeof H==="object"&&H&&typeof H.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),L(H.length>>>0===H.length);for(var u=0;u<H.length;u++)L((H[u]&255)===H[u])}T=this.keyFromPrivate(T,c),H=this._truncateToN(H,!1,x.msgBitLength),L(!H.isNeg(),"Can not sign a negative message");var h=this.n.byteLength(),i=T.getPrivate().toArray("be",h),m=H.toArray("be",h);L(new J(m).eq(H),"Can not sign message");var n=new z({hash:this.hash,entropy:i,nonce:m,pers:x.pers,persEnc:x.persEnc||"utf8"}),a=this.n.sub(new J(1));for(var j0=0;;j0++){var Y0=x.k?x.k(j0):new J(n.generate(this.n.byteLength()));if(Y0=this._truncateToN(Y0,!0),Y0.cmpn(1)<=0||Y0.cmp(a)>=0)continue;var C0=this.g.mul(Y0);if(C0.isInfinity())continue;var S0=C0.getX(),h0=S0.umod(this.n);if(h0.cmpn(0)===0)continue;var X0=Y0.invm(this.n).mul(h0.mul(T.getPrivate()).iadd(H));if(X0=X0.umod(this.n),X0.cmpn(0)===0)continue;var x0=(C0.getY().isOdd()?1:0)|(S0.cmp(h0)!==0?2:0);if(x.canonical&&X0.cmp(this.nh)>0)X0=this.n.sub(X0),x0^=1;return new B({r:h0,s:X0,recoveryParam:x0})}},g.prototype.verify=function(H,T,c,x,u){if(!u)u={};H=this._truncateToN(H,!1,u.msgBitLength),c=this.keyFromPublic(c,x),T=new B(T,"hex");var{r:h,s:i}=T;if(h.cmpn(1)<0||h.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var m=i.invm(this.n),n=m.mul(H).umod(this.n),a=m.mul(h).umod(this.n),j0;if(!this.curve._maxwellTrick){if(j0=this.g.mulAdd(n,c.getPublic(),a),j0.isInfinity())return!1;return j0.getX().umod(this.n).cmp(h)===0}if(j0=this.g.jmulAdd(n,c.getPublic(),a),j0.isInfinity())return!1;return j0.eqXToP(h)},g.prototype.recoverPubKey=function(H,T,c,x){L((3&c)===c,"The recovery param is more than two bits"),T=new B(T,x);var u=this.n,h=new J(H),i=T.r,m=T.s,n=c&1,a=c>>1;if(i.cmp(this.curve.p.umod(this.curve.n))>=0&&a)throw Error("Unable to find sencond key candinate");if(a)i=this.curve.pointFromX(i.add(this.curve.n),n);else i=this.curve.pointFromX(i,n);var j0=T.r.invm(u),Y0=u.sub(h).mul(j0).umod(u),C0=m.mul(j0).umod(u);return this.g.mulAdd(Y0,i,C0)},g.prototype.getKeyRecoveryParam=function(H,T,c,x){if(T=new B(T,x),T.recoveryParam!==null)return T.recoveryParam;for(var u=0;u<4;u++){var h;try{h=this.recoverPubKey(H,T,u)}catch(i){continue}if(h.eq(c))return u}throw Error("Unable to find valid recovery factor")}}),Nx=G$((U,I)=>{var J=oI(),z=J.assert,v=J.parseBytes,Z=J.cachedProperty;function Y(L,S){if(this.eddsa=L,this._secret=v(S.secret),L.isPoint(S.pub))this._pub=S.pub;else this._pubBytes=v(S.pub)}Y.fromPublic=function(L,S){if(S instanceof Y)return S;return new Y(L,{pub:S})},Y.fromSecret=function(L,S){if(S instanceof Y)return S;return new Y(L,{secret:S})},Y.prototype.secret=function(){return this._secret},Z(Y,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),Z(Y,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),Z(Y,"privBytes",function(){var L=this.eddsa,S=this.hash(),B=L.encodingLength-1,g=S.slice(0,L.encodingLength);return g[0]&=248,g[B]&=127,g[B]|=64,g}),Z(Y,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),Z(Y,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),Z(Y,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),Y.prototype.sign=function(L){return z(this._secret,"KeyPair can only verify"),this.eddsa.sign(L,this)},Y.prototype.verify=function(L,S){return this.eddsa.verify(L,S,this)},Y.prototype.getSecret=function(L){return z(this._secret,"KeyPair is public only"),J.encode(this.secret(),L)},Y.prototype.getPublic=function(L){return J.encode(this.pubBytes(),L)},I.exports=Y}),Sx=G$((U,I)=>{var J=UY(),z=oI(),v=z.assert,Z=z.cachedProperty,Y=z.parseBytes;function L(S,B){if(this.eddsa=S,typeof B!=="object")B=Y(B);if(Array.isArray(B))v(B.length===S.encodingLength*2,"Signature has invalid size"),B={R:B.slice(0,S.encodingLength),S:B.slice(S.encodingLength)};if(v(B.R&&B.S,"Signature without R or S"),S.isPoint(B.R))this._R=B.R;if(B.S instanceof J)this._S=B.S;this._Rencoded=Array.isArray(B.R)?B.R:B.Rencoded,this._Sencoded=Array.isArray(B.S)?B.S:B.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 z.encode(this.toBytes(),"hex").toUpperCase()},I.exports=L}),wx=G$((U,I)=>{var J=O5(),z=V5(),v=oI(),Z=v.assert,Y=v.parseBytes,L=Nx(),S=Sx();function B(g){if(Z(g==="ed25519","only tested with ed25519 so far"),!(this instanceof B))return new B(g);g=z[g].curve,this.curve=g,this.g=g.g,this.g.precompute(g.n.bitLength()+1),this.pointClass=g.point().constructor,this.encodingLength=Math.ceil(g.n.bitLength()/8),this.hash=J.sha512}I.exports=B,B.prototype.sign=function(g,H){g=Y(g);var T=this.keyFromSecret(H),c=this.hashInt(T.messagePrefix(),g),x=this.g.mul(c),u=this.encodePoint(x),h=this.hashInt(u,T.pubBytes(),g).mul(T.priv()),i=c.add(h).umod(this.curve.n);return this.makeSignature({R:x,S:i,Rencoded:u})},B.prototype.verify=function(g,H,T){if(g=Y(g),H=this.makeSignature(H),H.S().gte(H.eddsa.curve.n)||H.S().isNeg())return!1;var c=this.keyFromPublic(T),x=this.hashInt(H.Rencoded(),c.pubBytes(),g),u=this.g.mul(H.S()),h=H.R().add(c.pub().mul(x));return h.eq(u)},B.prototype.hashInt=function(){var g=this.hash();for(var H=0;H<arguments.length;H++)g.update(arguments[H]);return v.intFromLE(g.digest()).umod(this.curve.n)},B.prototype.keyFromPublic=function(g){return L.fromPublic(this,g)},B.prototype.keyFromSecret=function(g){return L.fromSecret(this,g)},B.prototype.makeSignature=function(g){if(g instanceof S)return g;return new S(this,g)},B.prototype.encodePoint=function(g){var H=g.getY().toArray("le",this.encodingLength);return H[this.encodingLength-1]|=g.getX().isOdd()?128:0,H},B.prototype.decodePoint=function(g){g=v.parseBytes(g);var H=g.length-1,T=g.slice(0,H).concat(g[H]&-129),c=(g[H]&128)!==0,x=v.intFromLE(T);return this.curve.pointFromY(x,c)},B.prototype.encodeInt=function(g){return g.toArray("le",this.encodingLength)},B.prototype.decodeInt=function(g){return v.intFromLE(g)},B.prototype.isPoint=function(g){return g instanceof this.pointClass}}),kx=G$((U)=>{var I=U;I.version=Vx().version,I.utils=oI(),I.rand=ST(),I.curve=wT(),I.curves=V5(),I.ec=gx(),I.eddsa=wx()}),cx=G$((U,I)=>{(function(J,z){function v(Q,K){if(!Q)throw Error(K||"Assertion failed")}function Z(Q,K){Q.super_=K;var D=function(){};D.prototype=K.prototype,Q.prototype=new D,Q.prototype.constructor=Q}function Y(Q,K,D){if(Y.isBN(Q))return Q;if(this.negative=0,this.words=null,this.length=0,this.red=null,Q!==null){if(K==="le"||K==="be")D=K,K=10;this._init(Q||0,K||10,D||"be")}}if(typeof J==="object")J.exports=Y;else z.BN=Y;Y.BN=Y,Y.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(F4(),Mj(D4)).Buffer}catch(Q){}Y.isBN=function(Q){if(Q instanceof Y)return!0;return Q!==null&&typeof Q==="object"&&Q.constructor.wordSize===Y.wordSize&&Array.isArray(Q.words)},Y.max=function(Q,K){if(Q.cmp(K)>0)return Q;return K},Y.min=function(Q,K){if(Q.cmp(K)<0)return Q;return K},Y.prototype._init=function(Q,K,D){if(typeof Q==="number")return this._initNumber(Q,K,D);if(typeof Q==="object")return this._initArray(Q,K,D);if(K==="hex")K=16;v(K===(K|0)&&K>=2&&K<=36),Q=Q.toString().replace(/\s+/g,"");var W=0;if(Q[0]==="-")W++,this.negative=1;if(W<Q.length){if(K===16)this._parseHex(Q,W,D);else if(this._parseBase(Q,K,W),D==="le")this._initArray(this.toArray(),K,D)}},Y.prototype._initNumber=function(Q,K,D){if(Q<0)this.negative=1,Q=-Q;if(Q<67108864)this.words=[Q&67108863],this.length=1;else if(Q<4503599627370496)this.words=[Q&67108863,Q/67108864&67108863],this.length=2;else v(Q<9007199254740992),this.words=[Q&67108863,Q/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),K,D)},Y.prototype._initArray=function(Q,K,D){if(v(typeof Q.length==="number"),Q.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Q.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V,R,N=0;if(D==="be"){for(W=Q.length-1,V=0;W>=0;W-=3)if(R=Q[W]|Q[W-1]<<8|Q[W-2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}else if(D==="le"){for(W=0,V=0;W<Q.length;W+=3)if(R=Q[W]|Q[W+1]<<8|Q[W+2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}return this.strip()};function S(Q,K){var D=Q.charCodeAt(K);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function B(Q,K,D){var W=S(Q,D);if(D-1>=K)W|=S(Q,D-1)<<4;return W}Y.prototype._parseHex=function(Q,K,D){this.length=Math.ceil((Q.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V=0,R=0,N;if(D==="be")for(W=Q.length-1;W>=K;W-=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8;else{var q=Q.length-K;for(W=q%2===0?K+1:K;W<Q.length;W+=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8}this.strip()};function g(Q,K,D,W){var V=0,R=Math.min(Q.length,D);for(var N=K;N<R;N++){var q=Q.charCodeAt(N)-48;if(V*=W,q>=49)V+=q-49+10;else if(q>=17)V+=q-17+10;else V+=q}return V}Y.prototype._parseBase=function(Q,K,D){this.words=[0],this.length=1;for(var W=0,V=1;V<=67108863;V*=K)W++;W--,V=V/K|0;var R=Q.length-D,N=R%W,q=Math.min(R,R-N)+D,G=0;for(var C=D;C<q;C+=W)if(G=g(Q,C,C+W,K),this.imuln(V),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G);if(N!==0){var b=1;G=g(Q,C,Q.length,K);for(C=0;C<N;C++)b*=K;if(this.imuln(b),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G)}this.strip()},Y.prototype.copy=function(Q){Q.words=Array(this.length);for(var K=0;K<this.length;K++)Q.words[K]=this.words[K];Q.length=this.length,Q.negative=this.negative,Q.red=this.red},Y.prototype.clone=function(){var Q=new Y(null);return this.copy(Q),Q},Y.prototype._expand=function(Q){while(this.length<Q)this.words[this.length++]=0;return this},Y.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Y.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Y.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var H=["","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"],T=[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],c=[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(Y.prototype.toString=function(Q,K){Q=Q||10,K=K|0||1;var D;if(Q===16||Q==="hex"){D="";var W=0,V=0;for(var R=0;R<this.length;R++){var N=this.words[R],q=((N<<W|V)&16777215).toString(16);if(V=N>>>24-W&16777215,W+=2,W>=26)W-=26,R--;if(V!==0||R!==this.length-1)D=H[6-q.length]+q+D;else D=q+D}if(V!==0)D=V.toString(16)+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(Q===(Q|0)&&Q>=2&&Q<=36){var G=T[Q],C=c[Q];D="";var b=this.clone();b.negative=0;while(!b.isZero()){var y=b.modn(C).toString(Q);if(b=b.idivn(C),!b.isZero())D=H[G-y.length]+y+D;else D=y+D}if(this.isZero())D="0"+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}v(!1,"Base should be between 2 and 36")},Y.prototype.toNumber=function(){var Q=this.words[0];if(this.length===2)Q+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Q+=4503599627370496+this.words[1]*67108864;else if(this.length>2)v(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Q:Q},Y.prototype.toJSON=function(){return this.toString(16)},Y.prototype.toBuffer=function(Q,K){return v(typeof L<"u"),this.toArrayLike(L,Q,K)},Y.prototype.toArray=function(Q,K){return this.toArrayLike(Array,Q,K)},Y.prototype.toArrayLike=function(Q,K,D){var W=this.byteLength(),V=D||Math.max(1,W);v(W<=V,"byte array longer than desired length"),v(V>0,"Requested array length <= 0"),this.strip();var R=K==="le",N=new Q(V),q,G,C=this.clone();if(!R){for(G=0;G<V-W;G++)N[G]=0;for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[V-G-1]=q}else{for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[G]=q;for(;G<V;G++)N[G]=0}return N},Math.clz32)Y.prototype._countBits=function(Q){return 32-Math.clz32(Q)};else Y.prototype._countBits=function(Q){var K=Q,D=0;if(K>=4096)D+=13,K>>>=13;if(K>=64)D+=7,K>>>=7;if(K>=8)D+=4,K>>>=4;if(K>=2)D+=2,K>>>=2;return D+K};Y.prototype._zeroBits=function(Q){if(Q===0)return 26;var K=Q,D=0;if((K&8191)===0)D+=13,K>>>=13;if((K&127)===0)D+=7,K>>>=7;if((K&15)===0)D+=4,K>>>=4;if((K&3)===0)D+=2,K>>>=2;if((K&1)===0)D++;return D},Y.prototype.bitLength=function(){var Q=this.words[this.length-1],K=this._countBits(Q);return(this.length-1)*26+K};function x(Q){var K=Array(Q.bitLength());for(var D=0;D<K.length;D++){var W=D/26|0,V=D%26;K[D]=(Q.words[W]&1<<V)>>>V}return K}Y.prototype.zeroBits=function(){if(this.isZero())return 0;var Q=0;for(var K=0;K<this.length;K++){var D=this._zeroBits(this.words[K]);if(Q+=D,D!==26)break}return Q},Y.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Y.prototype.toTwos=function(Q){if(this.negative!==0)return this.abs().inotn(Q).iaddn(1);return this.clone()},Y.prototype.fromTwos=function(Q){if(this.testn(Q-1))return this.notn(Q).iaddn(1).ineg();return this.clone()},Y.prototype.isNeg=function(){return this.negative!==0},Y.prototype.neg=function(){return this.clone().ineg()},Y.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Y.prototype.iuor=function(Q){while(this.length<Q.length)this.words[this.length++]=0;for(var K=0;K<Q.length;K++)this.words[K]=this.words[K]|Q.words[K];return this.strip()},Y.prototype.ior=function(Q){return v((this.negative|Q.negative)===0),this.iuor(Q)},Y.prototype.or=function(Q){if(this.length>Q.length)return this.clone().ior(Q);return Q.clone().ior(this)},Y.prototype.uor=function(Q){if(this.length>Q.length)return this.clone().iuor(Q);return Q.clone().iuor(this)},Y.prototype.iuand=function(Q){var K;if(this.length>Q.length)K=Q;else K=this;for(var D=0;D<K.length;D++)this.words[D]=this.words[D]&Q.words[D];return this.length=K.length,this.strip()},Y.prototype.iand=function(Q){return v((this.negative|Q.negative)===0),this.iuand(Q)},Y.prototype.and=function(Q){if(this.length>Q.length)return this.clone().iand(Q);return Q.clone().iand(this)},Y.prototype.uand=function(Q){if(this.length>Q.length)return this.clone().iuand(Q);return Q.clone().iuand(this)},Y.prototype.iuxor=function(Q){var K,D;if(this.length>Q.length)K=this,D=Q;else K=Q,D=this;for(var W=0;W<D.length;W++)this.words[W]=K.words[W]^D.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Y.prototype.ixor=function(Q){return v((this.negative|Q.negative)===0),this.iuxor(Q)},Y.prototype.xor=function(Q){if(this.length>Q.length)return this.clone().ixor(Q);return Q.clone().ixor(this)},Y.prototype.uxor=function(Q){if(this.length>Q.length)return this.clone().iuxor(Q);return Q.clone().iuxor(this)},Y.prototype.inotn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Math.ceil(Q/26)|0,D=Q%26;if(this._expand(K),D>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(D>0)this.words[W]=~this.words[W]&67108863>>26-D;return this.strip()},Y.prototype.notn=function(Q){return this.clone().inotn(Q)},Y.prototype.setn=function(Q,K){v(typeof Q==="number"&&Q>=0);var D=Q/26|0,W=Q%26;if(this._expand(D+1),K)this.words[D]=this.words[D]|1<<W;else this.words[D]=this.words[D]&~(1<<W);return this.strip()},Y.prototype.iadd=function(Q){var K;if(this.negative!==0&&Q.negative===0)return this.negative=0,K=this.isub(Q),this.negative^=1,this._normSign();else if(this.negative===0&&Q.negative!==0)return Q.negative=0,K=this.isub(Q),Q.negative=1,K._normSign();var D,W;if(this.length>Q.length)D=this,W=Q;else D=Q,W=this;var V=0;for(var R=0;R<W.length;R++)K=(D.words[R]|0)+(W.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;for(;V!==0&&R<D.length;R++)K=(D.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;if(this.length=D.length,V!==0)this.words[this.length]=V,this.length++;else if(D!==this)for(;R<D.length;R++)this.words[R]=D.words[R];return this},Y.prototype.add=function(Q){var K;if(Q.negative!==0&&this.negative===0)return Q.negative=0,K=this.sub(Q),Q.negative^=1,K;else if(Q.negative===0&&this.negative!==0)return this.negative=0,K=Q.sub(this),this.negative=1,K;if(this.length>Q.length)return this.clone().iadd(Q);return Q.clone().iadd(this)},Y.prototype.isub=function(Q){if(Q.negative!==0){Q.negative=0;var K=this.iadd(Q);return Q.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Q),this.negative=1,this._normSign();var D=this.cmp(Q);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,V;if(D>0)W=this,V=Q;else W=Q,V=this;var R=0;for(var N=0;N<V.length;N++)K=(W.words[N]|0)-(V.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;for(;R!==0&&N<W.length;N++)K=(W.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;if(R===0&&N<W.length&&W!==this)for(;N<W.length;N++)this.words[N]=W.words[N];if(this.length=Math.max(this.length,N),W!==this)this.negative=1;return this.strip()},Y.prototype.sub=function(Q){return this.clone().isub(Q)};function u(Q,K,D){D.negative=K.negative^Q.negative;var W=Q.length+K.length|0;D.length=W,W=W-1|0;var V=Q.words[0]|0,R=K.words[0]|0,N=V*R,q=N&67108863,G=N/67108864|0;D.words[0]=q;for(var C=1;C<W;C++){var b=G>>>26,y=G&67108863,o=Math.min(C,K.length-1);for(var J0=Math.max(0,C-Q.length+1);J0<=o;J0++){var K0=C-J0|0;V=Q.words[K0]|0,R=K.words[J0]|0,N=V*R+y,b+=N/67108864|0,y=N&67108863}D.words[C]=y|0,G=b|0}if(G!==0)D.words[C]=G|0;else D.length--;return D.strip()}var h=function(Q,K,D){var W=Q.words,V=K.words,R=D.words,N=0,q,G,C,b=W[0]|0,y=b&8191,o=b>>>13,J0=W[1]|0,K0=J0&8191,A0=J0>>>13,H0=W[2]|0,W0=H0&8191,z0=H0>>>13,D0=W[3]|0,L0=D0&8191,k0=D0>>>13,Z0=W[4]|0,r=Z0&8191,U0=Z0>>>13,g0=W[5]|0,M0=g0&8191,R0=g0>>>13,o0=W[6]|0,O0=o0&8191,P0=o0>>>13,q$=W[7]|0,w0=q$&8191,n0=q$>>>13,i$=W[8]|0,s0=i$&8191,Z$=i$>>>13,Lj=W[9]|0,J$=Lj&8191,Y$=Lj>>>13,dj=V[0]|0,M$=dj&8191,F$=dj>>>13,J2=V[1]|0,e=J2&8191,V0=J2>>>13,P$=V[2]|0,l0=P$&8191,d0=P$>>>13,n$=V[3]|0,a0=n$&8191,X$=n$>>>13,u$=V[4]|0,z$=u$&8191,_$=u$>>>13,A2=V[5]|0,L$=A2&8191,I0=A2>>>13,_0=V[6]|0,b0=_0&8191,p0=_0>>>13,c$=V[7]|0,K$=c$&8191,O$=c$>>>13,q2=V[8]|0,E$=q2&8191,D$=q2>>>13,j2=V[9]|0,U$=j2&8191,C$=j2>>>13;D.negative=Q.negative^K.negative,D.length=19,q=Math.imul(y,M$),G=Math.imul(y,F$),G=G+Math.imul(o,M$)|0,C=Math.imul(o,F$);var W2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(W2>>>26)|0,W2&=67108863,q=Math.imul(K0,M$),G=Math.imul(K0,F$),G=G+Math.imul(A0,M$)|0,C=Math.imul(A0,F$),q=q+Math.imul(y,e)|0,G=G+Math.imul(y,V0)|0,G=G+Math.imul(o,e)|0,C=C+Math.imul(o,V0)|0;var Jj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Jj>>>26)|0,Jj&=67108863,q=Math.imul(W0,M$),G=Math.imul(W0,F$),G=G+Math.imul(z0,M$)|0,C=Math.imul(z0,F$),q=q+Math.imul(K0,e)|0,G=G+Math.imul(K0,V0)|0,G=G+Math.imul(A0,e)|0,C=C+Math.imul(A0,V0)|0,q=q+Math.imul(y,l0)|0,G=G+Math.imul(y,d0)|0,G=G+Math.imul(o,l0)|0,C=C+Math.imul(o,d0)|0;var e$=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(e$>>>26)|0,e$&=67108863,q=Math.imul(L0,M$),G=Math.imul(L0,F$),G=G+Math.imul(k0,M$)|0,C=Math.imul(k0,F$),q=q+Math.imul(W0,e)|0,G=G+Math.imul(W0,V0)|0,G=G+Math.imul(z0,e)|0,C=C+Math.imul(z0,V0)|0,q=q+Math.imul(K0,l0)|0,G=G+Math.imul(K0,d0)|0,G=G+Math.imul(A0,l0)|0,C=C+Math.imul(A0,d0)|0,q=q+Math.imul(y,a0)|0,G=G+Math.imul(y,X$)|0,G=G+Math.imul(o,a0)|0,C=C+Math.imul(o,X$)|0;var tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(tj>>>26)|0,tj&=67108863,q=Math.imul(r,M$),G=Math.imul(r,F$),G=G+Math.imul(U0,M$)|0,C=Math.imul(U0,F$),q=q+Math.imul(L0,e)|0,G=G+Math.imul(L0,V0)|0,G=G+Math.imul(k0,e)|0,C=C+Math.imul(k0,V0)|0,q=q+Math.imul(W0,l0)|0,G=G+Math.imul(W0,d0)|0,G=G+Math.imul(z0,l0)|0,C=C+Math.imul(z0,d0)|0,q=q+Math.imul(K0,a0)|0,G=G+Math.imul(K0,X$)|0,G=G+Math.imul(A0,a0)|0,C=C+Math.imul(A0,X$)|0,q=q+Math.imul(y,z$)|0,G=G+Math.imul(y,_$)|0,G=G+Math.imul(o,z$)|0,C=C+Math.imul(o,_$)|0;var Qj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Qj>>>26)|0,Qj&=67108863,q=Math.imul(M0,M$),G=Math.imul(M0,F$),G=G+Math.imul(R0,M$)|0,C=Math.imul(R0,F$),q=q+Math.imul(r,e)|0,G=G+Math.imul(r,V0)|0,G=G+Math.imul(U0,e)|0,C=C+Math.imul(U0,V0)|0,q=q+Math.imul(L0,l0)|0,G=G+Math.imul(L0,d0)|0,G=G+Math.imul(k0,l0)|0,C=C+Math.imul(k0,d0)|0,q=q+Math.imul(W0,a0)|0,G=G+Math.imul(W0,X$)|0,G=G+Math.imul(z0,a0)|0,C=C+Math.imul(z0,X$)|0,q=q+Math.imul(K0,z$)|0,G=G+Math.imul(K0,_$)|0,G=G+Math.imul(A0,z$)|0,C=C+Math.imul(A0,_$)|0,q=q+Math.imul(y,L$)|0,G=G+Math.imul(y,I0)|0,G=G+Math.imul(o,L$)|0,C=C+Math.imul(o,I0)|0;var K2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(K2>>>26)|0,K2&=67108863,q=Math.imul(O0,M$),G=Math.imul(O0,F$),G=G+Math.imul(P0,M$)|0,C=Math.imul(P0,F$),q=q+Math.imul(M0,e)|0,G=G+Math.imul(M0,V0)|0,G=G+Math.imul(R0,e)|0,C=C+Math.imul(R0,V0)|0,q=q+Math.imul(r,l0)|0,G=G+Math.imul(r,d0)|0,G=G+Math.imul(U0,l0)|0,C=C+Math.imul(U0,d0)|0,q=q+Math.imul(L0,a0)|0,G=G+Math.imul(L0,X$)|0,G=G+Math.imul(k0,a0)|0,C=C+Math.imul(k0,X$)|0,q=q+Math.imul(W0,z$)|0,G=G+Math.imul(W0,_$)|0,G=G+Math.imul(z0,z$)|0,C=C+Math.imul(z0,_$)|0,q=q+Math.imul(K0,L$)|0,G=G+Math.imul(K0,I0)|0,G=G+Math.imul(A0,L$)|0,C=C+Math.imul(A0,I0)|0,q=q+Math.imul(y,b0)|0,G=G+Math.imul(y,p0)|0,G=G+Math.imul(o,b0)|0,C=C+Math.imul(o,p0)|0;var N2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(N2>>>26)|0,N2&=67108863,q=Math.imul(w0,M$),G=Math.imul(w0,F$),G=G+Math.imul(n0,M$)|0,C=Math.imul(n0,F$),q=q+Math.imul(O0,e)|0,G=G+Math.imul(O0,V0)|0,G=G+Math.imul(P0,e)|0,C=C+Math.imul(P0,V0)|0,q=q+Math.imul(M0,l0)|0,G=G+Math.imul(M0,d0)|0,G=G+Math.imul(R0,l0)|0,C=C+Math.imul(R0,d0)|0,q=q+Math.imul(r,a0)|0,G=G+Math.imul(r,X$)|0,G=G+Math.imul(U0,a0)|0,C=C+Math.imul(U0,X$)|0,q=q+Math.imul(L0,z$)|0,G=G+Math.imul(L0,_$)|0,G=G+Math.imul(k0,z$)|0,C=C+Math.imul(k0,_$)|0,q=q+Math.imul(W0,L$)|0,G=G+Math.imul(W0,I0)|0,G=G+Math.imul(z0,L$)|0,C=C+Math.imul(z0,I0)|0,q=q+Math.imul(K0,b0)|0,G=G+Math.imul(K0,p0)|0,G=G+Math.imul(A0,b0)|0,C=C+Math.imul(A0,p0)|0,q=q+Math.imul(y,K$)|0,G=G+Math.imul(y,O$)|0,G=G+Math.imul(o,K$)|0,C=C+Math.imul(o,O$)|0;var O2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(O2>>>26)|0,O2&=67108863,q=Math.imul(s0,M$),G=Math.imul(s0,F$),G=G+Math.imul(Z$,M$)|0,C=Math.imul(Z$,F$),q=q+Math.imul(w0,e)|0,G=G+Math.imul(w0,V0)|0,G=G+Math.imul(n0,e)|0,C=C+Math.imul(n0,V0)|0,q=q+Math.imul(O0,l0)|0,G=G+Math.imul(O0,d0)|0,G=G+Math.imul(P0,l0)|0,C=C+Math.imul(P0,d0)|0,q=q+Math.imul(M0,a0)|0,G=G+Math.imul(M0,X$)|0,G=G+Math.imul(R0,a0)|0,C=C+Math.imul(R0,X$)|0,q=q+Math.imul(r,z$)|0,G=G+Math.imul(r,_$)|0,G=G+Math.imul(U0,z$)|0,C=C+Math.imul(U0,_$)|0,q=q+Math.imul(L0,L$)|0,G=G+Math.imul(L0,I0)|0,G=G+Math.imul(k0,L$)|0,C=C+Math.imul(k0,I0)|0,q=q+Math.imul(W0,b0)|0,G=G+Math.imul(W0,p0)|0,G=G+Math.imul(z0,b0)|0,C=C+Math.imul(z0,p0)|0,q=q+Math.imul(K0,K$)|0,G=G+Math.imul(K0,O$)|0,G=G+Math.imul(A0,K$)|0,C=C+Math.imul(A0,O$)|0,q=q+Math.imul(y,E$)|0,G=G+Math.imul(y,D$)|0,G=G+Math.imul(o,E$)|0,C=C+Math.imul(o,D$)|0;var $U=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+($U>>>26)|0,$U&=67108863,q=Math.imul(J$,M$),G=Math.imul(J$,F$),G=G+Math.imul(Y$,M$)|0,C=Math.imul(Y$,F$),q=q+Math.imul(s0,e)|0,G=G+Math.imul(s0,V0)|0,G=G+Math.imul(Z$,e)|0,C=C+Math.imul(Z$,V0)|0,q=q+Math.imul(w0,l0)|0,G=G+Math.imul(w0,d0)|0,G=G+Math.imul(n0,l0)|0,C=C+Math.imul(n0,d0)|0,q=q+Math.imul(O0,a0)|0,G=G+Math.imul(O0,X$)|0,G=G+Math.imul(P0,a0)|0,C=C+Math.imul(P0,X$)|0,q=q+Math.imul(M0,z$)|0,G=G+Math.imul(M0,_$)|0,G=G+Math.imul(R0,z$)|0,C=C+Math.imul(R0,_$)|0,q=q+Math.imul(r,L$)|0,G=G+Math.imul(r,I0)|0,G=G+Math.imul(U0,L$)|0,C=C+Math.imul(U0,I0)|0,q=q+Math.imul(L0,b0)|0,G=G+Math.imul(L0,p0)|0,G=G+Math.imul(k0,b0)|0,C=C+Math.imul(k0,p0)|0,q=q+Math.imul(W0,K$)|0,G=G+Math.imul(W0,O$)|0,G=G+Math.imul(z0,K$)|0,C=C+Math.imul(z0,O$)|0,q=q+Math.imul(K0,E$)|0,G=G+Math.imul(K0,D$)|0,G=G+Math.imul(A0,E$)|0,C=C+Math.imul(A0,D$)|0,q=q+Math.imul(y,U$)|0,G=G+Math.imul(y,C$)|0,G=G+Math.imul(o,U$)|0,C=C+Math.imul(o,C$)|0;var Tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Tj>>>26)|0,Tj&=67108863,q=Math.imul(J$,e),G=Math.imul(J$,V0),G=G+Math.imul(Y$,e)|0,C=Math.imul(Y$,V0),q=q+Math.imul(s0,l0)|0,G=G+Math.imul(s0,d0)|0,G=G+Math.imul(Z$,l0)|0,C=C+Math.imul(Z$,d0)|0,q=q+Math.imul(w0,a0)|0,G=G+Math.imul(w0,X$)|0,G=G+Math.imul(n0,a0)|0,C=C+Math.imul(n0,X$)|0,q=q+Math.imul(O0,z$)|0,G=G+Math.imul(O0,_$)|0,G=G+Math.imul(P0,z$)|0,C=C+Math.imul(P0,_$)|0,q=q+Math.imul(M0,L$)|0,G=G+Math.imul(M0,I0)|0,G=G+Math.imul(R0,L$)|0,C=C+Math.imul(R0,I0)|0,q=q+Math.imul(r,b0)|0,G=G+Math.imul(r,p0)|0,G=G+Math.imul(U0,b0)|0,C=C+Math.imul(U0,p0)|0,q=q+Math.imul(L0,K$)|0,G=G+Math.imul(L0,O$)|0,G=G+Math.imul(k0,K$)|0,C=C+Math.imul(k0,O$)|0,q=q+Math.imul(W0,E$)|0,G=G+Math.imul(W0,D$)|0,G=G+Math.imul(z0,E$)|0,C=C+Math.imul(z0,D$)|0,q=q+Math.imul(K0,U$)|0,G=G+Math.imul(K0,C$)|0,G=G+Math.imul(A0,U$)|0,C=C+Math.imul(A0,C$)|0;var uj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(uj>>>26)|0,uj&=67108863,q=Math.imul(J$,l0),G=Math.imul(J$,d0),G=G+Math.imul(Y$,l0)|0,C=Math.imul(Y$,d0),q=q+Math.imul(s0,a0)|0,G=G+Math.imul(s0,X$)|0,G=G+Math.imul(Z$,a0)|0,C=C+Math.imul(Z$,X$)|0,q=q+Math.imul(w0,z$)|0,G=G+Math.imul(w0,_$)|0,G=G+Math.imul(n0,z$)|0,C=C+Math.imul(n0,_$)|0,q=q+Math.imul(O0,L$)|0,G=G+Math.imul(O0,I0)|0,G=G+Math.imul(P0,L$)|0,C=C+Math.imul(P0,I0)|0,q=q+Math.imul(M0,b0)|0,G=G+Math.imul(M0,p0)|0,G=G+Math.imul(R0,b0)|0,C=C+Math.imul(R0,p0)|0,q=q+Math.imul(r,K$)|0,G=G+Math.imul(r,O$)|0,G=G+Math.imul(U0,K$)|0,C=C+Math.imul(U0,O$)|0,q=q+Math.imul(L0,E$)|0,G=G+Math.imul(L0,D$)|0,G=G+Math.imul(k0,E$)|0,C=C+Math.imul(k0,D$)|0,q=q+Math.imul(W0,U$)|0,G=G+Math.imul(W0,C$)|0,G=G+Math.imul(z0,U$)|0,C=C+Math.imul(z0,C$)|0;var V2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(V2>>>26)|0,V2&=67108863,q=Math.imul(J$,a0),G=Math.imul(J$,X$),G=G+Math.imul(Y$,a0)|0,C=Math.imul(Y$,X$),q=q+Math.imul(s0,z$)|0,G=G+Math.imul(s0,_$)|0,G=G+Math.imul(Z$,z$)|0,C=C+Math.imul(Z$,_$)|0,q=q+Math.imul(w0,L$)|0,G=G+Math.imul(w0,I0)|0,G=G+Math.imul(n0,L$)|0,C=C+Math.imul(n0,I0)|0,q=q+Math.imul(O0,b0)|0,G=G+Math.imul(O0,p0)|0,G=G+Math.imul(P0,b0)|0,C=C+Math.imul(P0,p0)|0,q=q+Math.imul(M0,K$)|0,G=G+Math.imul(M0,O$)|0,G=G+Math.imul(R0,K$)|0,C=C+Math.imul(R0,O$)|0,q=q+Math.imul(r,E$)|0,G=G+Math.imul(r,D$)|0,G=G+Math.imul(U0,E$)|0,C=C+Math.imul(U0,D$)|0,q=q+Math.imul(L0,U$)|0,G=G+Math.imul(L0,C$)|0,G=G+Math.imul(k0,U$)|0,C=C+Math.imul(k0,C$)|0;var S2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(S2>>>26)|0,S2&=67108863,q=Math.imul(J$,z$),G=Math.imul(J$,_$),G=G+Math.imul(Y$,z$)|0,C=Math.imul(Y$,_$),q=q+Math.imul(s0,L$)|0,G=G+Math.imul(s0,I0)|0,G=G+Math.imul(Z$,L$)|0,C=C+Math.imul(Z$,I0)|0,q=q+Math.imul(w0,b0)|0,G=G+Math.imul(w0,p0)|0,G=G+Math.imul(n0,b0)|0,C=C+Math.imul(n0,p0)|0,q=q+Math.imul(O0,K$)|0,G=G+Math.imul(O0,O$)|0,G=G+Math.imul(P0,K$)|0,C=C+Math.imul(P0,O$)|0,q=q+Math.imul(M0,E$)|0,G=G+Math.imul(M0,D$)|0,G=G+Math.imul(R0,E$)|0,C=C+Math.imul(R0,D$)|0,q=q+Math.imul(r,U$)|0,G=G+Math.imul(r,C$)|0,G=G+Math.imul(U0,U$)|0,C=C+Math.imul(U0,C$)|0;var Q2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Q2>>>26)|0,Q2&=67108863,q=Math.imul(J$,L$),G=Math.imul(J$,I0),G=G+Math.imul(Y$,L$)|0,C=Math.imul(Y$,I0),q=q+Math.imul(s0,b0)|0,G=G+Math.imul(s0,p0)|0,G=G+Math.imul(Z$,b0)|0,C=C+Math.imul(Z$,p0)|0,q=q+Math.imul(w0,K$)|0,G=G+Math.imul(w0,O$)|0,G=G+Math.imul(n0,K$)|0,C=C+Math.imul(n0,O$)|0,q=q+Math.imul(O0,E$)|0,G=G+Math.imul(O0,D$)|0,G=G+Math.imul(P0,E$)|0,C=C+Math.imul(P0,D$)|0,q=q+Math.imul(M0,U$)|0,G=G+Math.imul(M0,C$)|0,G=G+Math.imul(R0,U$)|0,C=C+Math.imul(R0,C$)|0;var m2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(m2>>>26)|0,m2&=67108863,q=Math.imul(J$,b0),G=Math.imul(J$,p0),G=G+Math.imul(Y$,b0)|0,C=Math.imul(Y$,p0),q=q+Math.imul(s0,K$)|0,G=G+Math.imul(s0,O$)|0,G=G+Math.imul(Z$,K$)|0,C=C+Math.imul(Z$,O$)|0,q=q+Math.imul(w0,E$)|0,G=G+Math.imul(w0,D$)|0,G=G+Math.imul(n0,E$)|0,C=C+Math.imul(n0,D$)|0,q=q+Math.imul(O0,U$)|0,G=G+Math.imul(O0,C$)|0,G=G+Math.imul(P0,U$)|0,C=C+Math.imul(P0,C$)|0;var w2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(w2>>>26)|0,w2&=67108863,q=Math.imul(J$,K$),G=Math.imul(J$,O$),G=G+Math.imul(Y$,K$)|0,C=Math.imul(Y$,O$),q=q+Math.imul(s0,E$)|0,G=G+Math.imul(s0,D$)|0,G=G+Math.imul(Z$,E$)|0,C=C+Math.imul(Z$,D$)|0,q=q+Math.imul(w0,U$)|0,G=G+Math.imul(w0,C$)|0,G=G+Math.imul(n0,U$)|0,C=C+Math.imul(n0,C$)|0;var D2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(D2>>>26)|0,D2&=67108863,q=Math.imul(J$,E$),G=Math.imul(J$,D$),G=G+Math.imul(Y$,E$)|0,C=Math.imul(Y$,D$),q=q+Math.imul(s0,U$)|0,G=G+Math.imul(s0,C$)|0,G=G+Math.imul(Z$,U$)|0,C=C+Math.imul(Z$,C$)|0;var F2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(F2>>>26)|0,F2&=67108863,q=Math.imul(J$,U$),G=Math.imul(J$,C$),G=G+Math.imul(Y$,U$)|0,C=Math.imul(Y$,C$);var P2=(N+q|0)+((G&8191)<<13)|0;if(N=(C+(G>>>13)|0)+(P2>>>26)|0,P2&=67108863,R[0]=W2,R[1]=Jj,R[2]=e$,R[3]=tj,R[4]=Qj,R[5]=K2,R[6]=N2,R[7]=O2,R[8]=$U,R[9]=Tj,R[10]=uj,R[11]=V2,R[12]=S2,R[13]=Q2,R[14]=m2,R[15]=w2,R[16]=D2,R[17]=F2,R[18]=P2,N!==0)R[19]=N,D.length++;return D};if(!Math.imul)h=u;function i(Q,K,D){D.negative=K.negative^Q.negative,D.length=Q.length+K.length;var W=0,V=0;for(var R=0;R<D.length-1;R++){var N=V;V=0;var q=W&67108863,G=Math.min(R,K.length-1);for(var C=Math.max(0,R-Q.length+1);C<=G;C++){var b=R-C,y=Q.words[b]|0,o=K.words[C]|0,J0=y*o,K0=J0&67108863;N=N+(J0/67108864|0)|0,K0=K0+q|0,q=K0&67108863,N=N+(K0>>>26)|0,V+=N>>>26,N&=67108863}D.words[R]=q,W=N,N=V}if(W!==0)D.words[R]=W;else D.length--;return D.strip()}function m(Q,K,D){var W=new n;return W.mulp(Q,K,D)}Y.prototype.mulTo=function(Q,K){var D,W=this.length+Q.length;if(this.length===10&&Q.length===10)D=h(this,Q,K);else if(W<63)D=u(this,Q,K);else if(W<1024)D=i(this,Q,K);else D=m(this,Q,K);return D};function n(Q,K){this.x=Q,this.y=K}n.prototype.makeRBT=function(Q){var K=Array(Q),D=Y.prototype._countBits(Q)-1;for(var W=0;W<Q;W++)K[W]=this.revBin(W,D,Q);return K},n.prototype.revBin=function(Q,K,D){if(Q===0||Q===D-1)return Q;var W=0;for(var V=0;V<K;V++)W|=(Q&1)<<K-V-1,Q>>=1;return W},n.prototype.permute=function(Q,K,D,W,V,R){for(var N=0;N<R;N++)W[N]=K[Q[N]],V[N]=D[Q[N]]},n.prototype.transform=function(Q,K,D,W,V,R){this.permute(R,Q,K,D,W,V);for(var N=1;N<V;N<<=1){var q=N<<1,G=Math.cos(2*Math.PI/q),C=Math.sin(2*Math.PI/q);for(var b=0;b<V;b+=q){var y=G,o=C;for(var J0=0;J0<N;J0++){var K0=D[b+J0],A0=W[b+J0],H0=D[b+J0+N],W0=W[b+J0+N],z0=y*H0-o*W0;if(W0=y*W0+o*H0,H0=z0,D[b+J0]=K0+H0,W[b+J0]=A0+W0,D[b+J0+N]=K0-H0,W[b+J0+N]=A0-W0,J0!==q)z0=G*y-C*o,o=G*o+C*y,y=z0}}}},n.prototype.guessLen13b=function(Q,K){var D=Math.max(K,Q)|1,W=D&1,V=0;for(D=D/2|0;D;D=D>>>1)V++;return 1<<V+1+W},n.prototype.conjugate=function(Q,K,D){if(D<=1)return;for(var W=0;W<D/2;W++){var V=Q[W];Q[W]=Q[D-W-1],Q[D-W-1]=V,V=K[W],K[W]=-K[D-W-1],K[D-W-1]=-V}},n.prototype.normalize13b=function(Q,K){var D=0;for(var W=0;W<K/2;W++){var V=Math.round(Q[2*W+1]/K)*8192+Math.round(Q[2*W]/K)+D;if(Q[W]=V&67108863,V<67108864)D=0;else D=V/67108864|0}return Q},n.prototype.convert13b=function(Q,K,D,W){var V=0;for(var R=0;R<K;R++)V=V+(Q[R]|0),D[2*R]=V&8191,V=V>>>13,D[2*R+1]=V&8191,V=V>>>13;for(R=2*K;R<W;++R)D[R]=0;v(V===0),v((V&-8192)===0)},n.prototype.stub=function(Q){var K=Array(Q);for(var D=0;D<Q;D++)K[D]=0;return K},n.prototype.mulp=function(Q,K,D){var W=2*this.guessLen13b(Q.length,K.length),V=this.makeRBT(W),R=this.stub(W),N=Array(W),q=Array(W),G=Array(W),C=Array(W),b=Array(W),y=Array(W),o=D.words;o.length=W,this.convert13b(Q.words,Q.length,N,W),this.convert13b(K.words,K.length,C,W),this.transform(N,R,q,G,W,V),this.transform(C,R,b,y,W,V);for(var J0=0;J0<W;J0++){var K0=q[J0]*b[J0]-G[J0]*y[J0];G[J0]=q[J0]*y[J0]+G[J0]*b[J0],q[J0]=K0}return this.conjugate(q,G,W),this.transform(q,G,o,R,W,V),this.conjugate(o,R,W),this.normalize13b(o,W),D.negative=Q.negative^K.negative,D.length=Q.length+K.length,D.strip()},Y.prototype.mul=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),this.mulTo(Q,K)},Y.prototype.mulf=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),m(this,Q,K)},Y.prototype.imul=function(Q){return this.clone().mulTo(Q,this)},Y.prototype.imuln=function(Q){v(typeof Q==="number"),v(Q<67108864);var K=0;for(var D=0;D<this.length;D++){var W=(this.words[D]|0)*Q,V=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=V>>>26,this.words[D]=V&67108863}if(K!==0)this.words[D]=K,this.length++;return this.length=Q===0?1:this.length,this},Y.prototype.muln=function(Q){return this.clone().imuln(Q)},Y.prototype.sqr=function(){return this.mul(this)},Y.prototype.isqr=function(){return this.imul(this.clone())},Y.prototype.pow=function(Q){var K=x(Q);if(K.length===0)return new Y(1);var D=this;for(var W=0;W<K.length;W++,D=D.sqr())if(K[W]!==0)break;if(++W<K.length)for(var V=D.sqr();W<K.length;W++,V=V.sqr()){if(K[W]===0)continue;D=D.mul(V)}return D},Y.prototype.iushln=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=67108863>>>26-K<<26-K,V;if(K!==0){var R=0;for(V=0;V<this.length;V++){var N=this.words[V]&W,q=(this.words[V]|0)-N<<K;this.words[V]=q|R,R=N>>>26-K}if(R)this.words[V]=R,this.length++}if(D!==0){for(V=this.length-1;V>=0;V--)this.words[V+D]=this.words[V];for(V=0;V<D;V++)this.words[V]=0;this.length+=D}return this.strip()},Y.prototype.ishln=function(Q){return v(this.negative===0),this.iushln(Q)},Y.prototype.iushrn=function(Q,K,D){v(typeof Q==="number"&&Q>=0);var W;if(K)W=(K-K%26)/26;else W=0;var V=Q%26,R=Math.min((Q-V)/26,this.length),N=67108863^67108863>>>V<<V,q=D;if(W-=R,W=Math.max(0,W),q){for(var G=0;G<R;G++)q.words[G]=this.words[G];q.length=R}if(R===0);else if(this.length>R){this.length-=R;for(G=0;G<this.length;G++)this.words[G]=this.words[G+R]}else this.words[0]=0,this.length=1;var C=0;for(G=this.length-1;G>=0&&(C!==0||G>=W);G--){var b=this.words[G]|0;this.words[G]=C<<26-V|b>>>V,C=b&N}if(q&&C!==0)q.words[q.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Y.prototype.ishrn=function(Q,K,D){return v(this.negative===0),this.iushrn(Q,K,D)},Y.prototype.shln=function(Q){return this.clone().ishln(Q)},Y.prototype.ushln=function(Q){return this.clone().iushln(Q)},Y.prototype.shrn=function(Q){return this.clone().ishrn(Q)},Y.prototype.ushrn=function(Q){return this.clone().iushrn(Q)},Y.prototype.testn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return!1;var V=this.words[D];return!!(V&W)},Y.prototype.imaskn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26;if(v(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(K!==0)D++;if(this.length=Math.min(D,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Y.prototype.maskn=function(Q){return this.clone().imaskn(Q)},Y.prototype.iaddn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.isubn(-Q);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Q)return this.words[0]=Q-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Q),this.negative=1,this}return this._iaddn(Q)},Y.prototype._iaddn=function(Q){this.words[0]+=Q;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},Y.prototype.isubn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.iaddn(-Q);if(this.negative!==0)return this.negative=0,this.iaddn(Q),this.negative=1,this;if(this.words[0]-=Q,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()},Y.prototype.addn=function(Q){return this.clone().iaddn(Q)},Y.prototype.subn=function(Q){return this.clone().isubn(Q)},Y.prototype.iabs=function(){return this.negative=0,this},Y.prototype.abs=function(){return this.clone().iabs()},Y.prototype._ishlnsubmul=function(Q,K,D){var W=Q.length+D,V;this._expand(W);var R,N=0;for(V=0;V<Q.length;V++){R=(this.words[V+D]|0)+N;var q=(Q.words[V]|0)*K;R-=q&67108863,N=(R>>26)-(q/67108864|0),this.words[V+D]=R&67108863}for(;V<this.length-D;V++)R=(this.words[V+D]|0)+N,N=R>>26,this.words[V+D]=R&67108863;if(N===0)return this.strip();v(N===-1),N=0;for(V=0;V<this.length;V++)R=-(this.words[V]|0)+N,N=R>>26,this.words[V]=R&67108863;return this.negative=1,this.strip()},Y.prototype._wordDiv=function(Q,K){var D=this.length-Q.length,W=this.clone(),V=Q,R=V.words[V.length-1]|0,N=this._countBits(R);if(D=26-N,D!==0)V=V.ushln(D),W.iushln(D),R=V.words[V.length-1]|0;var q=W.length-V.length,G;if(K!=="mod"){G=new Y(null),G.length=q+1,G.words=Array(G.length);for(var C=0;C<G.length;C++)G.words[C]=0}var b=W.clone()._ishlnsubmul(V,1,q);if(b.negative===0){if(W=b,G)G.words[q]=1}for(var y=q-1;y>=0;y--){var o=(W.words[V.length+y]|0)*67108864+(W.words[V.length+y-1]|0);o=Math.min(o/R|0,67108863),W._ishlnsubmul(V,o,y);while(W.negative!==0)if(o--,W.negative=0,W._ishlnsubmul(V,1,y),!W.isZero())W.negative^=1;if(G)G.words[y]=o}if(G)G.strip();if(W.strip(),K!=="div"&&D!==0)W.iushrn(D);return{div:G||null,mod:W}},Y.prototype.divmod=function(Q,K,D){if(v(!Q.isZero()),this.isZero())return{div:new Y(0),mod:new Y(0)};var W,V,R;if(this.negative!==0&&Q.negative===0){if(R=this.neg().divmod(Q,K),K!=="mod")W=R.div.neg();if(K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.iadd(Q)}return{div:W,mod:V}}if(this.negative===0&&Q.negative!==0){if(R=this.divmod(Q.neg(),K),K!=="mod")W=R.div.neg();return{div:W,mod:R.mod}}if((this.negative&Q.negative)!==0){if(R=this.neg().divmod(Q.neg(),K),K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.isub(Q)}return{div:R.div,mod:V}}if(Q.length>this.length||this.cmp(Q)<0)return{div:new Y(0),mod:this};if(Q.length===1){if(K==="div")return{div:this.divn(Q.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Y(this.modn(Q.words[0]))};return{div:this.divn(Q.words[0]),mod:new Y(this.modn(Q.words[0]))}}return this._wordDiv(Q,K)},Y.prototype.div=function(Q){return this.divmod(Q,"div",!1).div},Y.prototype.mod=function(Q){return this.divmod(Q,"mod",!1).mod},Y.prototype.umod=function(Q){return this.divmod(Q,"mod",!0).mod},Y.prototype.divRound=function(Q){var K=this.divmod(Q);if(K.mod.isZero())return K.div;var D=K.div.negative!==0?K.mod.isub(Q):K.mod,W=Q.ushrn(1),V=Q.andln(1),R=D.cmp(W);if(R<0||V===1&&R===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Y.prototype.modn=function(Q){v(Q<=67108863);var K=67108864%Q,D=0;for(var W=this.length-1;W>=0;W--)D=(K*D+(this.words[W]|0))%Q;return D},Y.prototype.idivn=function(Q){v(Q<=67108863);var K=0;for(var D=this.length-1;D>=0;D--){var W=(this.words[D]|0)+K*67108864;this.words[D]=W/Q|0,K=W%Q}return this.strip()},Y.prototype.divn=function(Q){return this.clone().idivn(Q)},Y.prototype.egcd=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=new Y(0),N=new Y(1),q=0;while(K.isEven()&&D.isEven())K.iushrn(1),D.iushrn(1),++q;var G=D.clone(),C=K.clone();while(!K.isZero()){for(var b=0,y=1;(K.words[0]&y)===0&&b<26;++b,y<<=1);if(b>0){K.iushrn(b);while(b-- >0){if(W.isOdd()||V.isOdd())W.iadd(G),V.isub(C);W.iushrn(1),V.iushrn(1)}}for(var o=0,J0=1;(D.words[0]&J0)===0&&o<26;++o,J0<<=1);if(o>0){D.iushrn(o);while(o-- >0){if(R.isOdd()||N.isOdd())R.iadd(G),N.isub(C);R.iushrn(1),N.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(R),V.isub(N);else D.isub(K),R.isub(W),N.isub(V)}return{a:R,b:N,gcd:D.iushln(q)}},Y.prototype._invmp=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=D.clone();while(K.cmpn(1)>0&&D.cmpn(1)>0){for(var N=0,q=1;(K.words[0]&q)===0&&N<26;++N,q<<=1);if(N>0){K.iushrn(N);while(N-- >0){if(W.isOdd())W.iadd(R);W.iushrn(1)}}for(var G=0,C=1;(D.words[0]&C)===0&&G<26;++G,C<<=1);if(G>0){D.iushrn(G);while(G-- >0){if(V.isOdd())V.iadd(R);V.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(V);else D.isub(K),V.isub(W)}var b;if(K.cmpn(1)===0)b=W;else b=V;if(b.cmpn(0)<0)b.iadd(Q);return b},Y.prototype.gcd=function(Q){if(this.isZero())return Q.abs();if(Q.isZero())return this.abs();var K=this.clone(),D=Q.clone();K.negative=0,D.negative=0;for(var W=0;K.isEven()&&D.isEven();W++)K.iushrn(1),D.iushrn(1);do{while(K.isEven())K.iushrn(1);while(D.isEven())D.iushrn(1);var V=K.cmp(D);if(V<0){var R=K;K=D,D=R}else if(V===0||D.cmpn(1)===0)break;K.isub(D)}while(!0);return D.iushln(W)},Y.prototype.invm=function(Q){return this.egcd(Q).a.umod(Q)},Y.prototype.isEven=function(){return(this.words[0]&1)===0},Y.prototype.isOdd=function(){return(this.words[0]&1)===1},Y.prototype.andln=function(Q){return this.words[0]&Q},Y.prototype.bincn=function(Q){v(typeof Q==="number");var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return this._expand(D+1),this.words[D]|=W,this;var V=W;for(var R=D;V!==0&&R<this.length;R++){var N=this.words[R]|0;N+=V,V=N>>>26,N&=67108863,this.words[R]=N}if(V!==0)this.words[R]=V,this.length++;return this},Y.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Y.prototype.cmpn=function(Q){var K=Q<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var D;if(this.length>1)D=1;else{if(K)Q=-Q;v(Q<=67108863,"Number is too big");var W=this.words[0]|0;D=W===Q?0:W<Q?-1:1}if(this.negative!==0)return-D|0;return D},Y.prototype.cmp=function(Q){if(this.negative!==0&&Q.negative===0)return-1;if(this.negative===0&&Q.negative!==0)return 1;var K=this.ucmp(Q);if(this.negative!==0)return-K|0;return K},Y.prototype.ucmp=function(Q){if(this.length>Q.length)return 1;if(this.length<Q.length)return-1;var K=0;for(var D=this.length-1;D>=0;D--){var W=this.words[D]|0,V=Q.words[D]|0;if(W===V)continue;if(W<V)K=-1;else if(W>V)K=1;break}return K},Y.prototype.gtn=function(Q){return this.cmpn(Q)===1},Y.prototype.gt=function(Q){return this.cmp(Q)===1},Y.prototype.gten=function(Q){return this.cmpn(Q)>=0},Y.prototype.gte=function(Q){return this.cmp(Q)>=0},Y.prototype.ltn=function(Q){return this.cmpn(Q)===-1},Y.prototype.lt=function(Q){return this.cmp(Q)===-1},Y.prototype.lten=function(Q){return this.cmpn(Q)<=0},Y.prototype.lte=function(Q){return this.cmp(Q)<=0},Y.prototype.eqn=function(Q){return this.cmpn(Q)===0},Y.prototype.eq=function(Q){return this.cmp(Q)===0},Y.red=function(Q){return new X0(Q)},Y.prototype.toRed=function(Q){return v(!this.red,"Already a number in reduction context"),v(this.negative===0,"red works only with positives"),Q.convertTo(this)._forceRed(Q)},Y.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Y.prototype._forceRed=function(Q){return this.red=Q,this},Y.prototype.forceRed=function(Q){return v(!this.red,"Already a number in reduction context"),this._forceRed(Q)},Y.prototype.redAdd=function(Q){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,Q)},Y.prototype.redIAdd=function(Q){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Q)},Y.prototype.redSub=function(Q){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,Q)},Y.prototype.redISub=function(Q){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,Q)},Y.prototype.redShl=function(Q){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,Q)},Y.prototype.redMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.mul(this,Q)},Y.prototype.redIMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.imul(this,Q)},Y.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Y.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Y.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Y.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Y.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Y.prototype.redPow=function(Q){return v(this.red&&!Q.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Q)};var a={k256:null,p224:null,p192:null,p25519:null};function j0(Q,K){this.name=Q,this.p=new Y(K,16),this.n=this.p.bitLength(),this.k=new Y(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j0.prototype._tmp=function(){var Q=new Y(null);return Q.words=Array(Math.ceil(this.n/13)),Q},j0.prototype.ireduce=function(Q){var K=Q,D;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),D=K.bitLength();while(D>this.n);var W=D<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},j0.prototype.split=function(Q,K){Q.iushrn(this.n,0,K)},j0.prototype.imulK=function(Q){return Q.imul(this.k)};function Y0(){j0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Z(Y0,j0),Y0.prototype.split=function(Q,K){var D=4194303,W=Math.min(Q.length,9);for(var V=0;V<W;V++)K.words[V]=Q.words[V];if(K.length=W,Q.length<=9){Q.words[0]=0,Q.length=1;return}var R=Q.words[9];K.words[K.length++]=R&D;for(V=10;V<Q.length;V++){var N=Q.words[V]|0;Q.words[V-10]=(N&D)<<4|R>>>22,R=N}if(R>>>=22,Q.words[V-10]=R,R===0&&Q.length>10)Q.length-=10;else Q.length-=9},Y0.prototype.imulK=function(Q){Q.words[Q.length]=0,Q.words[Q.length+1]=0,Q.length+=2;var K=0;for(var D=0;D<Q.length;D++){var W=Q.words[D]|0;K+=W*977,Q.words[D]=K&67108863,K=W*64+(K/67108864|0)}if(Q.words[Q.length-1]===0){if(Q.length--,Q.words[Q.length-1]===0)Q.length--}return Q};function C0(){j0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Z(C0,j0);function S0(){j0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Z(S0,j0);function h0(){j0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Z(h0,j0),h0.prototype.imulK=function(Q){var K=0;for(var D=0;D<Q.length;D++){var W=(Q.words[D]|0)*19+K,V=W&67108863;W>>>=26,Q.words[D]=V,K=W}if(K!==0)Q.words[Q.length++]=K;return Q},Y._prime=function(Q){if(a[Q])return a[Q];var K;if(Q==="k256")K=new Y0;else if(Q==="p224")K=new C0;else if(Q==="p192")K=new S0;else if(Q==="p25519")K=new h0;else throw Error("Unknown prime "+Q);return a[Q]=K,K};function X0(Q){if(typeof Q==="string"){var K=Y._prime(Q);this.m=K.p,this.prime=K}else v(Q.gtn(1),"modulus must be greater than 1"),this.m=Q,this.prime=null}X0.prototype._verify1=function(Q){v(Q.negative===0,"red works only with positives"),v(Q.red,"red works only with red numbers")},X0.prototype._verify2=function(Q,K){v((Q.negative|K.negative)===0,"red works only with positives"),v(Q.red&&Q.red===K.red,"red works only with red numbers")},X0.prototype.imod=function(Q){if(this.prime)return this.prime.ireduce(Q)._forceRed(this);return Q.umod(this.m)._forceRed(this)},X0.prototype.neg=function(Q){if(Q.isZero())return Q.clone();return this.m.sub(Q)._forceRed(this)},X0.prototype.add=function(Q,K){this._verify2(Q,K);var D=Q.add(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},X0.prototype.iadd=function(Q,K){this._verify2(Q,K);var D=Q.iadd(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D},X0.prototype.sub=function(Q,K){this._verify2(Q,K);var D=Q.sub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},X0.prototype.isub=function(Q,K){this._verify2(Q,K);var D=Q.isub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D},X0.prototype.shl=function(Q,K){return this._verify1(Q),this.imod(Q.ushln(K))},X0.prototype.imul=function(Q,K){return this._verify2(Q,K),this.imod(Q.imul(K))},X0.prototype.mul=function(Q,K){return this._verify2(Q,K),this.imod(Q.mul(K))},X0.prototype.isqr=function(Q){return this.imul(Q,Q.clone())},X0.prototype.sqr=function(Q){return this.mul(Q,Q)},X0.prototype.sqrt=function(Q){if(Q.isZero())return Q.clone();var K=this.m.andln(3);if(v(K%2===1),K===3){var D=this.m.add(new Y(1)).iushrn(2);return this.pow(Q,D)}var W=this.m.subn(1),V=0;while(!W.isZero()&&W.andln(1)===0)V++,W.iushrn(1);v(!W.isZero());var R=new Y(1).toRed(this),N=R.redNeg(),q=this.m.subn(1).iushrn(1),G=this.m.bitLength();G=new Y(2*G*G).toRed(this);while(this.pow(G,q).cmp(N)!==0)G.redIAdd(N);var C=this.pow(G,W),b=this.pow(Q,W.addn(1).iushrn(1)),y=this.pow(Q,W),o=V;while(y.cmp(R)!==0){var J0=y;for(var K0=0;J0.cmp(R)!==0;K0++)J0=J0.redSqr();v(K0<o);var A0=this.pow(C,new Y(1).iushln(o-K0-1));b=b.redMul(A0),C=A0.redSqr(),y=y.redMul(C),o=K0}return b},X0.prototype.invm=function(Q){var K=Q._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},X0.prototype.pow=function(Q,K){if(K.isZero())return new Y(1).toRed(this);if(K.cmpn(1)===0)return Q.clone();var D=4,W=Array(1<<D);W[0]=new Y(1).toRed(this),W[1]=Q;for(var V=2;V<W.length;V++)W[V]=this.mul(W[V-1],Q);var R=W[0],N=0,q=0,G=K.bitLength()%26;if(G===0)G=26;for(V=K.length-1;V>=0;V--){var C=K.words[V];for(var b=G-1;b>=0;b--){var y=C>>b&1;if(R!==W[0])R=this.sqr(R);if(y===0&&N===0){q=0;continue}if(N<<=1,N|=y,q++,q!==D&&(V!==0||b!==0))continue;R=this.mul(R,W[N]),q=0,N=0}G=26}return R},X0.prototype.convertTo=function(Q){var K=Q.umod(this.m);return K===Q?K.clone():K},X0.prototype.convertFrom=function(Q){var K=Q.clone();return K.red=null,K},Y.mont=function(Q){return new x0(Q)};function x0(Q){if(X0.call(this,Q),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Y(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(x0,X0),x0.prototype.convertTo=function(Q){return this.imod(Q.ushln(this.shift))},x0.prototype.convertFrom=function(Q){var K=this.imod(Q.mul(this.rinv));return K.red=null,K},x0.prototype.imul=function(Q,K){if(Q.isZero()||K.isZero())return Q.words[0]=0,Q.length=1,Q;var D=Q.imul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.mul=function(Q,K){if(Q.isZero()||K.isZero())return new Y(0)._forceRed(this);var D=Q.mul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.invm=function(Q){var K=this.imod(Q._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof I>"u"||I,U)}),xx=G$((U,I)=>{var J=kx(),z=cx();I.exports=function(L){return new Z(L)};var v={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}};v.p224=v.secp224r1,v.p256=v.secp256r1=v.prime256v1,v.p192=v.secp192r1=v.prime192v1,v.p384=v.secp384r1,v.p521=v.secp521r1;function Z(L){if(this.curveType=v[L],!this.curveType)this.curveType={name:L};this.curve=new J.ec(this.curveType.name),this.keys=void 0}Z.prototype.generateKeys=function(L,S){return this.keys=this.curve.genKeyPair(),this.getPublicKey(L,S)},Z.prototype.computeSecret=function(L,S,B){if(S=S||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,S);var g=this.curve.keyFromPublic(L).getPublic(),H=g.mul(this.keys.getPrivate()).getX();return Y(H,B,this.curveType.byteLength)},Z.prototype.getPublicKey=function(L,S){var B=this.keys.getPublic(S==="compressed",!0);if(S==="hybrid")if(B[B.length-1]%2)B[0]=7;else B[0]=6;return Y(B,L)},Z.prototype.getPrivateKey=function(L){return Y(this.keys.getPrivate(),L)},Z.prototype.setPublicKey=function(L,S){if(S=S||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,S);return this.keys._importPublic(L),this},Z.prototype.setPrivateKey=function(L,S){if(S=S||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,S);var B=new z(L);return B=B.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(B),this};function Y(L,S,B){if(!Array.isArray(L))L=L.toArray();var g=new Buffer(L);if(B&&g.length<B){var H=new Buffer(B-g.length);H.fill(0),g=Buffer.concat([H,g])}if(!S)return g;else return g.toString(S)}}),yx=G$((U,I)=>{var J=(VU(),Mj(vI)).createECDH;I.exports=J||xx()}),fx=G$((U,I)=>{(function(J,z){function v(Q,K){if(!Q)throw Error(K||"Assertion failed")}function Z(Q,K){Q.super_=K;var D=function(){};D.prototype=K.prototype,Q.prototype=new D,Q.prototype.constructor=Q}function Y(Q,K,D){if(Y.isBN(Q))return Q;if(this.negative=0,this.words=null,this.length=0,this.red=null,Q!==null){if(K==="le"||K==="be")D=K,K=10;this._init(Q||0,K||10,D||"be")}}if(typeof J==="object")J.exports=Y;else z.BN=Y;Y.BN=Y,Y.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(F4(),Mj(D4)).Buffer}catch(Q){}Y.isBN=function(Q){if(Q instanceof Y)return!0;return Q!==null&&typeof Q==="object"&&Q.constructor.wordSize===Y.wordSize&&Array.isArray(Q.words)},Y.max=function(Q,K){if(Q.cmp(K)>0)return Q;return K},Y.min=function(Q,K){if(Q.cmp(K)<0)return Q;return K},Y.prototype._init=function(Q,K,D){if(typeof Q==="number")return this._initNumber(Q,K,D);if(typeof Q==="object")return this._initArray(Q,K,D);if(K==="hex")K=16;v(K===(K|0)&&K>=2&&K<=36),Q=Q.toString().replace(/\s+/g,"");var W=0;if(Q[0]==="-")W++,this.negative=1;if(W<Q.length){if(K===16)this._parseHex(Q,W,D);else if(this._parseBase(Q,K,W),D==="le")this._initArray(this.toArray(),K,D)}},Y.prototype._initNumber=function(Q,K,D){if(Q<0)this.negative=1,Q=-Q;if(Q<67108864)this.words=[Q&67108863],this.length=1;else if(Q<4503599627370496)this.words=[Q&67108863,Q/67108864&67108863],this.length=2;else v(Q<9007199254740992),this.words=[Q&67108863,Q/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),K,D)},Y.prototype._initArray=function(Q,K,D){if(v(typeof Q.length==="number"),Q.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Q.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V,R,N=0;if(D==="be"){for(W=Q.length-1,V=0;W>=0;W-=3)if(R=Q[W]|Q[W-1]<<8|Q[W-2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}else if(D==="le"){for(W=0,V=0;W<Q.length;W+=3)if(R=Q[W]|Q[W+1]<<8|Q[W+2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}return this.strip()};function S(Q,K){var D=Q.charCodeAt(K);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function B(Q,K,D){var W=S(Q,D);if(D-1>=K)W|=S(Q,D-1)<<4;return W}Y.prototype._parseHex=function(Q,K,D){this.length=Math.ceil((Q.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V=0,R=0,N;if(D==="be")for(W=Q.length-1;W>=K;W-=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8;else{var q=Q.length-K;for(W=q%2===0?K+1:K;W<Q.length;W+=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8}this.strip()};function g(Q,K,D,W){var V=0,R=Math.min(Q.length,D);for(var N=K;N<R;N++){var q=Q.charCodeAt(N)-48;if(V*=W,q>=49)V+=q-49+10;else if(q>=17)V+=q-17+10;else V+=q}return V}Y.prototype._parseBase=function(Q,K,D){this.words=[0],this.length=1;for(var W=0,V=1;V<=67108863;V*=K)W++;W--,V=V/K|0;var R=Q.length-D,N=R%W,q=Math.min(R,R-N)+D,G=0;for(var C=D;C<q;C+=W)if(G=g(Q,C,C+W,K),this.imuln(V),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G);if(N!==0){var b=1;G=g(Q,C,Q.length,K);for(C=0;C<N;C++)b*=K;if(this.imuln(b),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G)}this.strip()},Y.prototype.copy=function(Q){Q.words=Array(this.length);for(var K=0;K<this.length;K++)Q.words[K]=this.words[K];Q.length=this.length,Q.negative=this.negative,Q.red=this.red},Y.prototype.clone=function(){var Q=new Y(null);return this.copy(Q),Q},Y.prototype._expand=function(Q){while(this.length<Q)this.words[this.length++]=0;return this},Y.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Y.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Y.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var H=["","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"],T=[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],c=[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(Y.prototype.toString=function(Q,K){Q=Q||10,K=K|0||1;var D;if(Q===16||Q==="hex"){D="";var W=0,V=0;for(var R=0;R<this.length;R++){var N=this.words[R],q=((N<<W|V)&16777215).toString(16);if(V=N>>>24-W&16777215,W+=2,W>=26)W-=26,R--;if(V!==0||R!==this.length-1)D=H[6-q.length]+q+D;else D=q+D}if(V!==0)D=V.toString(16)+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(Q===(Q|0)&&Q>=2&&Q<=36){var G=T[Q],C=c[Q];D="";var b=this.clone();b.negative=0;while(!b.isZero()){var y=b.modn(C).toString(Q);if(b=b.idivn(C),!b.isZero())D=H[G-y.length]+y+D;else D=y+D}if(this.isZero())D="0"+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}v(!1,"Base should be between 2 and 36")},Y.prototype.toNumber=function(){var Q=this.words[0];if(this.length===2)Q+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Q+=4503599627370496+this.words[1]*67108864;else if(this.length>2)v(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Q:Q},Y.prototype.toJSON=function(){return this.toString(16)},Y.prototype.toBuffer=function(Q,K){return v(typeof L<"u"),this.toArrayLike(L,Q,K)},Y.prototype.toArray=function(Q,K){return this.toArrayLike(Array,Q,K)},Y.prototype.toArrayLike=function(Q,K,D){var W=this.byteLength(),V=D||Math.max(1,W);v(W<=V,"byte array longer than desired length"),v(V>0,"Requested array length <= 0"),this.strip();var R=K==="le",N=new Q(V),q,G,C=this.clone();if(!R){for(G=0;G<V-W;G++)N[G]=0;for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[V-G-1]=q}else{for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[G]=q;for(;G<V;G++)N[G]=0}return N},Math.clz32)Y.prototype._countBits=function(Q){return 32-Math.clz32(Q)};else Y.prototype._countBits=function(Q){var K=Q,D=0;if(K>=4096)D+=13,K>>>=13;if(K>=64)D+=7,K>>>=7;if(K>=8)D+=4,K>>>=4;if(K>=2)D+=2,K>>>=2;return D+K};Y.prototype._zeroBits=function(Q){if(Q===0)return 26;var K=Q,D=0;if((K&8191)===0)D+=13,K>>>=13;if((K&127)===0)D+=7,K>>>=7;if((K&15)===0)D+=4,K>>>=4;if((K&3)===0)D+=2,K>>>=2;if((K&1)===0)D++;return D},Y.prototype.bitLength=function(){var Q=this.words[this.length-1],K=this._countBits(Q);return(this.length-1)*26+K};function x(Q){var K=Array(Q.bitLength());for(var D=0;D<K.length;D++){var W=D/26|0,V=D%26;K[D]=(Q.words[W]&1<<V)>>>V}return K}Y.prototype.zeroBits=function(){if(this.isZero())return 0;var Q=0;for(var K=0;K<this.length;K++){var D=this._zeroBits(this.words[K]);if(Q+=D,D!==26)break}return Q},Y.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Y.prototype.toTwos=function(Q){if(this.negative!==0)return this.abs().inotn(Q).iaddn(1);return this.clone()},Y.prototype.fromTwos=function(Q){if(this.testn(Q-1))return this.notn(Q).iaddn(1).ineg();return this.clone()},Y.prototype.isNeg=function(){return this.negative!==0},Y.prototype.neg=function(){return this.clone().ineg()},Y.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Y.prototype.iuor=function(Q){while(this.length<Q.length)this.words[this.length++]=0;for(var K=0;K<Q.length;K++)this.words[K]=this.words[K]|Q.words[K];return this.strip()},Y.prototype.ior=function(Q){return v((this.negative|Q.negative)===0),this.iuor(Q)},Y.prototype.or=function(Q){if(this.length>Q.length)return this.clone().ior(Q);return Q.clone().ior(this)},Y.prototype.uor=function(Q){if(this.length>Q.length)return this.clone().iuor(Q);return Q.clone().iuor(this)},Y.prototype.iuand=function(Q){var K;if(this.length>Q.length)K=Q;else K=this;for(var D=0;D<K.length;D++)this.words[D]=this.words[D]&Q.words[D];return this.length=K.length,this.strip()},Y.prototype.iand=function(Q){return v((this.negative|Q.negative)===0),this.iuand(Q)},Y.prototype.and=function(Q){if(this.length>Q.length)return this.clone().iand(Q);return Q.clone().iand(this)},Y.prototype.uand=function(Q){if(this.length>Q.length)return this.clone().iuand(Q);return Q.clone().iuand(this)},Y.prototype.iuxor=function(Q){var K,D;if(this.length>Q.length)K=this,D=Q;else K=Q,D=this;for(var W=0;W<D.length;W++)this.words[W]=K.words[W]^D.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Y.prototype.ixor=function(Q){return v((this.negative|Q.negative)===0),this.iuxor(Q)},Y.prototype.xor=function(Q){if(this.length>Q.length)return this.clone().ixor(Q);return Q.clone().ixor(this)},Y.prototype.uxor=function(Q){if(this.length>Q.length)return this.clone().iuxor(Q);return Q.clone().iuxor(this)},Y.prototype.inotn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Math.ceil(Q/26)|0,D=Q%26;if(this._expand(K),D>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(D>0)this.words[W]=~this.words[W]&67108863>>26-D;return this.strip()},Y.prototype.notn=function(Q){return this.clone().inotn(Q)},Y.prototype.setn=function(Q,K){v(typeof Q==="number"&&Q>=0);var D=Q/26|0,W=Q%26;if(this._expand(D+1),K)this.words[D]=this.words[D]|1<<W;else this.words[D]=this.words[D]&~(1<<W);return this.strip()},Y.prototype.iadd=function(Q){var K;if(this.negative!==0&&Q.negative===0)return this.negative=0,K=this.isub(Q),this.negative^=1,this._normSign();else if(this.negative===0&&Q.negative!==0)return Q.negative=0,K=this.isub(Q),Q.negative=1,K._normSign();var D,W;if(this.length>Q.length)D=this,W=Q;else D=Q,W=this;var V=0;for(var R=0;R<W.length;R++)K=(D.words[R]|0)+(W.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;for(;V!==0&&R<D.length;R++)K=(D.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;if(this.length=D.length,V!==0)this.words[this.length]=V,this.length++;else if(D!==this)for(;R<D.length;R++)this.words[R]=D.words[R];return this},Y.prototype.add=function(Q){var K;if(Q.negative!==0&&this.negative===0)return Q.negative=0,K=this.sub(Q),Q.negative^=1,K;else if(Q.negative===0&&this.negative!==0)return this.negative=0,K=Q.sub(this),this.negative=1,K;if(this.length>Q.length)return this.clone().iadd(Q);return Q.clone().iadd(this)},Y.prototype.isub=function(Q){if(Q.negative!==0){Q.negative=0;var K=this.iadd(Q);return Q.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Q),this.negative=1,this._normSign();var D=this.cmp(Q);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,V;if(D>0)W=this,V=Q;else W=Q,V=this;var R=0;for(var N=0;N<V.length;N++)K=(W.words[N]|0)-(V.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;for(;R!==0&&N<W.length;N++)K=(W.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;if(R===0&&N<W.length&&W!==this)for(;N<W.length;N++)this.words[N]=W.words[N];if(this.length=Math.max(this.length,N),W!==this)this.negative=1;return this.strip()},Y.prototype.sub=function(Q){return this.clone().isub(Q)};function u(Q,K,D){D.negative=K.negative^Q.negative;var W=Q.length+K.length|0;D.length=W,W=W-1|0;var V=Q.words[0]|0,R=K.words[0]|0,N=V*R,q=N&67108863,G=N/67108864|0;D.words[0]=q;for(var C=1;C<W;C++){var b=G>>>26,y=G&67108863,o=Math.min(C,K.length-1);for(var J0=Math.max(0,C-Q.length+1);J0<=o;J0++){var K0=C-J0|0;V=Q.words[K0]|0,R=K.words[J0]|0,N=V*R+y,b+=N/67108864|0,y=N&67108863}D.words[C]=y|0,G=b|0}if(G!==0)D.words[C]=G|0;else D.length--;return D.strip()}var h=function(Q,K,D){var W=Q.words,V=K.words,R=D.words,N=0,q,G,C,b=W[0]|0,y=b&8191,o=b>>>13,J0=W[1]|0,K0=J0&8191,A0=J0>>>13,H0=W[2]|0,W0=H0&8191,z0=H0>>>13,D0=W[3]|0,L0=D0&8191,k0=D0>>>13,Z0=W[4]|0,r=Z0&8191,U0=Z0>>>13,g0=W[5]|0,M0=g0&8191,R0=g0>>>13,o0=W[6]|0,O0=o0&8191,P0=o0>>>13,q$=W[7]|0,w0=q$&8191,n0=q$>>>13,i$=W[8]|0,s0=i$&8191,Z$=i$>>>13,Lj=W[9]|0,J$=Lj&8191,Y$=Lj>>>13,dj=V[0]|0,M$=dj&8191,F$=dj>>>13,J2=V[1]|0,e=J2&8191,V0=J2>>>13,P$=V[2]|0,l0=P$&8191,d0=P$>>>13,n$=V[3]|0,a0=n$&8191,X$=n$>>>13,u$=V[4]|0,z$=u$&8191,_$=u$>>>13,A2=V[5]|0,L$=A2&8191,I0=A2>>>13,_0=V[6]|0,b0=_0&8191,p0=_0>>>13,c$=V[7]|0,K$=c$&8191,O$=c$>>>13,q2=V[8]|0,E$=q2&8191,D$=q2>>>13,j2=V[9]|0,U$=j2&8191,C$=j2>>>13;D.negative=Q.negative^K.negative,D.length=19,q=Math.imul(y,M$),G=Math.imul(y,F$),G=G+Math.imul(o,M$)|0,C=Math.imul(o,F$);var W2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(W2>>>26)|0,W2&=67108863,q=Math.imul(K0,M$),G=Math.imul(K0,F$),G=G+Math.imul(A0,M$)|0,C=Math.imul(A0,F$),q=q+Math.imul(y,e)|0,G=G+Math.imul(y,V0)|0,G=G+Math.imul(o,e)|0,C=C+Math.imul(o,V0)|0;var Jj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Jj>>>26)|0,Jj&=67108863,q=Math.imul(W0,M$),G=Math.imul(W0,F$),G=G+Math.imul(z0,M$)|0,C=Math.imul(z0,F$),q=q+Math.imul(K0,e)|0,G=G+Math.imul(K0,V0)|0,G=G+Math.imul(A0,e)|0,C=C+Math.imul(A0,V0)|0,q=q+Math.imul(y,l0)|0,G=G+Math.imul(y,d0)|0,G=G+Math.imul(o,l0)|0,C=C+Math.imul(o,d0)|0;var e$=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(e$>>>26)|0,e$&=67108863,q=Math.imul(L0,M$),G=Math.imul(L0,F$),G=G+Math.imul(k0,M$)|0,C=Math.imul(k0,F$),q=q+Math.imul(W0,e)|0,G=G+Math.imul(W0,V0)|0,G=G+Math.imul(z0,e)|0,C=C+Math.imul(z0,V0)|0,q=q+Math.imul(K0,l0)|0,G=G+Math.imul(K0,d0)|0,G=G+Math.imul(A0,l0)|0,C=C+Math.imul(A0,d0)|0,q=q+Math.imul(y,a0)|0,G=G+Math.imul(y,X$)|0,G=G+Math.imul(o,a0)|0,C=C+Math.imul(o,X$)|0;var tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(tj>>>26)|0,tj&=67108863,q=Math.imul(r,M$),G=Math.imul(r,F$),G=G+Math.imul(U0,M$)|0,C=Math.imul(U0,F$),q=q+Math.imul(L0,e)|0,G=G+Math.imul(L0,V0)|0,G=G+Math.imul(k0,e)|0,C=C+Math.imul(k0,V0)|0,q=q+Math.imul(W0,l0)|0,G=G+Math.imul(W0,d0)|0,G=G+Math.imul(z0,l0)|0,C=C+Math.imul(z0,d0)|0,q=q+Math.imul(K0,a0)|0,G=G+Math.imul(K0,X$)|0,G=G+Math.imul(A0,a0)|0,C=C+Math.imul(A0,X$)|0,q=q+Math.imul(y,z$)|0,G=G+Math.imul(y,_$)|0,G=G+Math.imul(o,z$)|0,C=C+Math.imul(o,_$)|0;var Qj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Qj>>>26)|0,Qj&=67108863,q=Math.imul(M0,M$),G=Math.imul(M0,F$),G=G+Math.imul(R0,M$)|0,C=Math.imul(R0,F$),q=q+Math.imul(r,e)|0,G=G+Math.imul(r,V0)|0,G=G+Math.imul(U0,e)|0,C=C+Math.imul(U0,V0)|0,q=q+Math.imul(L0,l0)|0,G=G+Math.imul(L0,d0)|0,G=G+Math.imul(k0,l0)|0,C=C+Math.imul(k0,d0)|0,q=q+Math.imul(W0,a0)|0,G=G+Math.imul(W0,X$)|0,G=G+Math.imul(z0,a0)|0,C=C+Math.imul(z0,X$)|0,q=q+Math.imul(K0,z$)|0,G=G+Math.imul(K0,_$)|0,G=G+Math.imul(A0,z$)|0,C=C+Math.imul(A0,_$)|0,q=q+Math.imul(y,L$)|0,G=G+Math.imul(y,I0)|0,G=G+Math.imul(o,L$)|0,C=C+Math.imul(o,I0)|0;var K2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(K2>>>26)|0,K2&=67108863,q=Math.imul(O0,M$),G=Math.imul(O0,F$),G=G+Math.imul(P0,M$)|0,C=Math.imul(P0,F$),q=q+Math.imul(M0,e)|0,G=G+Math.imul(M0,V0)|0,G=G+Math.imul(R0,e)|0,C=C+Math.imul(R0,V0)|0,q=q+Math.imul(r,l0)|0,G=G+Math.imul(r,d0)|0,G=G+Math.imul(U0,l0)|0,C=C+Math.imul(U0,d0)|0,q=q+Math.imul(L0,a0)|0,G=G+Math.imul(L0,X$)|0,G=G+Math.imul(k0,a0)|0,C=C+Math.imul(k0,X$)|0,q=q+Math.imul(W0,z$)|0,G=G+Math.imul(W0,_$)|0,G=G+Math.imul(z0,z$)|0,C=C+Math.imul(z0,_$)|0,q=q+Math.imul(K0,L$)|0,G=G+Math.imul(K0,I0)|0,G=G+Math.imul(A0,L$)|0,C=C+Math.imul(A0,I0)|0,q=q+Math.imul(y,b0)|0,G=G+Math.imul(y,p0)|0,G=G+Math.imul(o,b0)|0,C=C+Math.imul(o,p0)|0;var N2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(N2>>>26)|0,N2&=67108863,q=Math.imul(w0,M$),G=Math.imul(w0,F$),G=G+Math.imul(n0,M$)|0,C=Math.imul(n0,F$),q=q+Math.imul(O0,e)|0,G=G+Math.imul(O0,V0)|0,G=G+Math.imul(P0,e)|0,C=C+Math.imul(P0,V0)|0,q=q+Math.imul(M0,l0)|0,G=G+Math.imul(M0,d0)|0,G=G+Math.imul(R0,l0)|0,C=C+Math.imul(R0,d0)|0,q=q+Math.imul(r,a0)|0,G=G+Math.imul(r,X$)|0,G=G+Math.imul(U0,a0)|0,C=C+Math.imul(U0,X$)|0,q=q+Math.imul(L0,z$)|0,G=G+Math.imul(L0,_$)|0,G=G+Math.imul(k0,z$)|0,C=C+Math.imul(k0,_$)|0,q=q+Math.imul(W0,L$)|0,G=G+Math.imul(W0,I0)|0,G=G+Math.imul(z0,L$)|0,C=C+Math.imul(z0,I0)|0,q=q+Math.imul(K0,b0)|0,G=G+Math.imul(K0,p0)|0,G=G+Math.imul(A0,b0)|0,C=C+Math.imul(A0,p0)|0,q=q+Math.imul(y,K$)|0,G=G+Math.imul(y,O$)|0,G=G+Math.imul(o,K$)|0,C=C+Math.imul(o,O$)|0;var O2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(O2>>>26)|0,O2&=67108863,q=Math.imul(s0,M$),G=Math.imul(s0,F$),G=G+Math.imul(Z$,M$)|0,C=Math.imul(Z$,F$),q=q+Math.imul(w0,e)|0,G=G+Math.imul(w0,V0)|0,G=G+Math.imul(n0,e)|0,C=C+Math.imul(n0,V0)|0,q=q+Math.imul(O0,l0)|0,G=G+Math.imul(O0,d0)|0,G=G+Math.imul(P0,l0)|0,C=C+Math.imul(P0,d0)|0,q=q+Math.imul(M0,a0)|0,G=G+Math.imul(M0,X$)|0,G=G+Math.imul(R0,a0)|0,C=C+Math.imul(R0,X$)|0,q=q+Math.imul(r,z$)|0,G=G+Math.imul(r,_$)|0,G=G+Math.imul(U0,z$)|0,C=C+Math.imul(U0,_$)|0,q=q+Math.imul(L0,L$)|0,G=G+Math.imul(L0,I0)|0,G=G+Math.imul(k0,L$)|0,C=C+Math.imul(k0,I0)|0,q=q+Math.imul(W0,b0)|0,G=G+Math.imul(W0,p0)|0,G=G+Math.imul(z0,b0)|0,C=C+Math.imul(z0,p0)|0,q=q+Math.imul(K0,K$)|0,G=G+Math.imul(K0,O$)|0,G=G+Math.imul(A0,K$)|0,C=C+Math.imul(A0,O$)|0,q=q+Math.imul(y,E$)|0,G=G+Math.imul(y,D$)|0,G=G+Math.imul(o,E$)|0,C=C+Math.imul(o,D$)|0;var $U=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+($U>>>26)|0,$U&=67108863,q=Math.imul(J$,M$),G=Math.imul(J$,F$),G=G+Math.imul(Y$,M$)|0,C=Math.imul(Y$,F$),q=q+Math.imul(s0,e)|0,G=G+Math.imul(s0,V0)|0,G=G+Math.imul(Z$,e)|0,C=C+Math.imul(Z$,V0)|0,q=q+Math.imul(w0,l0)|0,G=G+Math.imul(w0,d0)|0,G=G+Math.imul(n0,l0)|0,C=C+Math.imul(n0,d0)|0,q=q+Math.imul(O0,a0)|0,G=G+Math.imul(O0,X$)|0,G=G+Math.imul(P0,a0)|0,C=C+Math.imul(P0,X$)|0,q=q+Math.imul(M0,z$)|0,G=G+Math.imul(M0,_$)|0,G=G+Math.imul(R0,z$)|0,C=C+Math.imul(R0,_$)|0,q=q+Math.imul(r,L$)|0,G=G+Math.imul(r,I0)|0,G=G+Math.imul(U0,L$)|0,C=C+Math.imul(U0,I0)|0,q=q+Math.imul(L0,b0)|0,G=G+Math.imul(L0,p0)|0,G=G+Math.imul(k0,b0)|0,C=C+Math.imul(k0,p0)|0,q=q+Math.imul(W0,K$)|0,G=G+Math.imul(W0,O$)|0,G=G+Math.imul(z0,K$)|0,C=C+Math.imul(z0,O$)|0,q=q+Math.imul(K0,E$)|0,G=G+Math.imul(K0,D$)|0,G=G+Math.imul(A0,E$)|0,C=C+Math.imul(A0,D$)|0,q=q+Math.imul(y,U$)|0,G=G+Math.imul(y,C$)|0,G=G+Math.imul(o,U$)|0,C=C+Math.imul(o,C$)|0;var Tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Tj>>>26)|0,Tj&=67108863,q=Math.imul(J$,e),G=Math.imul(J$,V0),G=G+Math.imul(Y$,e)|0,C=Math.imul(Y$,V0),q=q+Math.imul(s0,l0)|0,G=G+Math.imul(s0,d0)|0,G=G+Math.imul(Z$,l0)|0,C=C+Math.imul(Z$,d0)|0,q=q+Math.imul(w0,a0)|0,G=G+Math.imul(w0,X$)|0,G=G+Math.imul(n0,a0)|0,C=C+Math.imul(n0,X$)|0,q=q+Math.imul(O0,z$)|0,G=G+Math.imul(O0,_$)|0,G=G+Math.imul(P0,z$)|0,C=C+Math.imul(P0,_$)|0,q=q+Math.imul(M0,L$)|0,G=G+Math.imul(M0,I0)|0,G=G+Math.imul(R0,L$)|0,C=C+Math.imul(R0,I0)|0,q=q+Math.imul(r,b0)|0,G=G+Math.imul(r,p0)|0,G=G+Math.imul(U0,b0)|0,C=C+Math.imul(U0,p0)|0,q=q+Math.imul(L0,K$)|0,G=G+Math.imul(L0,O$)|0,G=G+Math.imul(k0,K$)|0,C=C+Math.imul(k0,O$)|0,q=q+Math.imul(W0,E$)|0,G=G+Math.imul(W0,D$)|0,G=G+Math.imul(z0,E$)|0,C=C+Math.imul(z0,D$)|0,q=q+Math.imul(K0,U$)|0,G=G+Math.imul(K0,C$)|0,G=G+Math.imul(A0,U$)|0,C=C+Math.imul(A0,C$)|0;var uj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(uj>>>26)|0,uj&=67108863,q=Math.imul(J$,l0),G=Math.imul(J$,d0),G=G+Math.imul(Y$,l0)|0,C=Math.imul(Y$,d0),q=q+Math.imul(s0,a0)|0,G=G+Math.imul(s0,X$)|0,G=G+Math.imul(Z$,a0)|0,C=C+Math.imul(Z$,X$)|0,q=q+Math.imul(w0,z$)|0,G=G+Math.imul(w0,_$)|0,G=G+Math.imul(n0,z$)|0,C=C+Math.imul(n0,_$)|0,q=q+Math.imul(O0,L$)|0,G=G+Math.imul(O0,I0)|0,G=G+Math.imul(P0,L$)|0,C=C+Math.imul(P0,I0)|0,q=q+Math.imul(M0,b0)|0,G=G+Math.imul(M0,p0)|0,G=G+Math.imul(R0,b0)|0,C=C+Math.imul(R0,p0)|0,q=q+Math.imul(r,K$)|0,G=G+Math.imul(r,O$)|0,G=G+Math.imul(U0,K$)|0,C=C+Math.imul(U0,O$)|0,q=q+Math.imul(L0,E$)|0,G=G+Math.imul(L0,D$)|0,G=G+Math.imul(k0,E$)|0,C=C+Math.imul(k0,D$)|0,q=q+Math.imul(W0,U$)|0,G=G+Math.imul(W0,C$)|0,G=G+Math.imul(z0,U$)|0,C=C+Math.imul(z0,C$)|0;var V2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(V2>>>26)|0,V2&=67108863,q=Math.imul(J$,a0),G=Math.imul(J$,X$),G=G+Math.imul(Y$,a0)|0,C=Math.imul(Y$,X$),q=q+Math.imul(s0,z$)|0,G=G+Math.imul(s0,_$)|0,G=G+Math.imul(Z$,z$)|0,C=C+Math.imul(Z$,_$)|0,q=q+Math.imul(w0,L$)|0,G=G+Math.imul(w0,I0)|0,G=G+Math.imul(n0,L$)|0,C=C+Math.imul(n0,I0)|0,q=q+Math.imul(O0,b0)|0,G=G+Math.imul(O0,p0)|0,G=G+Math.imul(P0,b0)|0,C=C+Math.imul(P0,p0)|0,q=q+Math.imul(M0,K$)|0,G=G+Math.imul(M0,O$)|0,G=G+Math.imul(R0,K$)|0,C=C+Math.imul(R0,O$)|0,q=q+Math.imul(r,E$)|0,G=G+Math.imul(r,D$)|0,G=G+Math.imul(U0,E$)|0,C=C+Math.imul(U0,D$)|0,q=q+Math.imul(L0,U$)|0,G=G+Math.imul(L0,C$)|0,G=G+Math.imul(k0,U$)|0,C=C+Math.imul(k0,C$)|0;var S2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(S2>>>26)|0,S2&=67108863,q=Math.imul(J$,z$),G=Math.imul(J$,_$),G=G+Math.imul(Y$,z$)|0,C=Math.imul(Y$,_$),q=q+Math.imul(s0,L$)|0,G=G+Math.imul(s0,I0)|0,G=G+Math.imul(Z$,L$)|0,C=C+Math.imul(Z$,I0)|0,q=q+Math.imul(w0,b0)|0,G=G+Math.imul(w0,p0)|0,G=G+Math.imul(n0,b0)|0,C=C+Math.imul(n0,p0)|0,q=q+Math.imul(O0,K$)|0,G=G+Math.imul(O0,O$)|0,G=G+Math.imul(P0,K$)|0,C=C+Math.imul(P0,O$)|0,q=q+Math.imul(M0,E$)|0,G=G+Math.imul(M0,D$)|0,G=G+Math.imul(R0,E$)|0,C=C+Math.imul(R0,D$)|0,q=q+Math.imul(r,U$)|0,G=G+Math.imul(r,C$)|0,G=G+Math.imul(U0,U$)|0,C=C+Math.imul(U0,C$)|0;var Q2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Q2>>>26)|0,Q2&=67108863,q=Math.imul(J$,L$),G=Math.imul(J$,I0),G=G+Math.imul(Y$,L$)|0,C=Math.imul(Y$,I0),q=q+Math.imul(s0,b0)|0,G=G+Math.imul(s0,p0)|0,G=G+Math.imul(Z$,b0)|0,C=C+Math.imul(Z$,p0)|0,q=q+Math.imul(w0,K$)|0,G=G+Math.imul(w0,O$)|0,G=G+Math.imul(n0,K$)|0,C=C+Math.imul(n0,O$)|0,q=q+Math.imul(O0,E$)|0,G=G+Math.imul(O0,D$)|0,G=G+Math.imul(P0,E$)|0,C=C+Math.imul(P0,D$)|0,q=q+Math.imul(M0,U$)|0,G=G+Math.imul(M0,C$)|0,G=G+Math.imul(R0,U$)|0,C=C+Math.imul(R0,C$)|0;var m2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(m2>>>26)|0,m2&=67108863,q=Math.imul(J$,b0),G=Math.imul(J$,p0),G=G+Math.imul(Y$,b0)|0,C=Math.imul(Y$,p0),q=q+Math.imul(s0,K$)|0,G=G+Math.imul(s0,O$)|0,G=G+Math.imul(Z$,K$)|0,C=C+Math.imul(Z$,O$)|0,q=q+Math.imul(w0,E$)|0,G=G+Math.imul(w0,D$)|0,G=G+Math.imul(n0,E$)|0,C=C+Math.imul(n0,D$)|0,q=q+Math.imul(O0,U$)|0,G=G+Math.imul(O0,C$)|0,G=G+Math.imul(P0,U$)|0,C=C+Math.imul(P0,C$)|0;var w2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(w2>>>26)|0,w2&=67108863,q=Math.imul(J$,K$),G=Math.imul(J$,O$),G=G+Math.imul(Y$,K$)|0,C=Math.imul(Y$,O$),q=q+Math.imul(s0,E$)|0,G=G+Math.imul(s0,D$)|0,G=G+Math.imul(Z$,E$)|0,C=C+Math.imul(Z$,D$)|0,q=q+Math.imul(w0,U$)|0,G=G+Math.imul(w0,C$)|0,G=G+Math.imul(n0,U$)|0,C=C+Math.imul(n0,C$)|0;var D2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(D2>>>26)|0,D2&=67108863,q=Math.imul(J$,E$),G=Math.imul(J$,D$),G=G+Math.imul(Y$,E$)|0,C=Math.imul(Y$,D$),q=q+Math.imul(s0,U$)|0,G=G+Math.imul(s0,C$)|0,G=G+Math.imul(Z$,U$)|0,C=C+Math.imul(Z$,C$)|0;var F2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(F2>>>26)|0,F2&=67108863,q=Math.imul(J$,U$),G=Math.imul(J$,C$),G=G+Math.imul(Y$,U$)|0,C=Math.imul(Y$,C$);var P2=(N+q|0)+((G&8191)<<13)|0;if(N=(C+(G>>>13)|0)+(P2>>>26)|0,P2&=67108863,R[0]=W2,R[1]=Jj,R[2]=e$,R[3]=tj,R[4]=Qj,R[5]=K2,R[6]=N2,R[7]=O2,R[8]=$U,R[9]=Tj,R[10]=uj,R[11]=V2,R[12]=S2,R[13]=Q2,R[14]=m2,R[15]=w2,R[16]=D2,R[17]=F2,R[18]=P2,N!==0)R[19]=N,D.length++;return D};if(!Math.imul)h=u;function i(Q,K,D){D.negative=K.negative^Q.negative,D.length=Q.length+K.length;var W=0,V=0;for(var R=0;R<D.length-1;R++){var N=V;V=0;var q=W&67108863,G=Math.min(R,K.length-1);for(var C=Math.max(0,R-Q.length+1);C<=G;C++){var b=R-C,y=Q.words[b]|0,o=K.words[C]|0,J0=y*o,K0=J0&67108863;N=N+(J0/67108864|0)|0,K0=K0+q|0,q=K0&67108863,N=N+(K0>>>26)|0,V+=N>>>26,N&=67108863}D.words[R]=q,W=N,N=V}if(W!==0)D.words[R]=W;else D.length--;return D.strip()}function m(Q,K,D){var W=new n;return W.mulp(Q,K,D)}Y.prototype.mulTo=function(Q,K){var D,W=this.length+Q.length;if(this.length===10&&Q.length===10)D=h(this,Q,K);else if(W<63)D=u(this,Q,K);else if(W<1024)D=i(this,Q,K);else D=m(this,Q,K);return D};function n(Q,K){this.x=Q,this.y=K}n.prototype.makeRBT=function(Q){var K=Array(Q),D=Y.prototype._countBits(Q)-1;for(var W=0;W<Q;W++)K[W]=this.revBin(W,D,Q);return K},n.prototype.revBin=function(Q,K,D){if(Q===0||Q===D-1)return Q;var W=0;for(var V=0;V<K;V++)W|=(Q&1)<<K-V-1,Q>>=1;return W},n.prototype.permute=function(Q,K,D,W,V,R){for(var N=0;N<R;N++)W[N]=K[Q[N]],V[N]=D[Q[N]]},n.prototype.transform=function(Q,K,D,W,V,R){this.permute(R,Q,K,D,W,V);for(var N=1;N<V;N<<=1){var q=N<<1,G=Math.cos(2*Math.PI/q),C=Math.sin(2*Math.PI/q);for(var b=0;b<V;b+=q){var y=G,o=C;for(var J0=0;J0<N;J0++){var K0=D[b+J0],A0=W[b+J0],H0=D[b+J0+N],W0=W[b+J0+N],z0=y*H0-o*W0;if(W0=y*W0+o*H0,H0=z0,D[b+J0]=K0+H0,W[b+J0]=A0+W0,D[b+J0+N]=K0-H0,W[b+J0+N]=A0-W0,J0!==q)z0=G*y-C*o,o=G*o+C*y,y=z0}}}},n.prototype.guessLen13b=function(Q,K){var D=Math.max(K,Q)|1,W=D&1,V=0;for(D=D/2|0;D;D=D>>>1)V++;return 1<<V+1+W},n.prototype.conjugate=function(Q,K,D){if(D<=1)return;for(var W=0;W<D/2;W++){var V=Q[W];Q[W]=Q[D-W-1],Q[D-W-1]=V,V=K[W],K[W]=-K[D-W-1],K[D-W-1]=-V}},n.prototype.normalize13b=function(Q,K){var D=0;for(var W=0;W<K/2;W++){var V=Math.round(Q[2*W+1]/K)*8192+Math.round(Q[2*W]/K)+D;if(Q[W]=V&67108863,V<67108864)D=0;else D=V/67108864|0}return Q},n.prototype.convert13b=function(Q,K,D,W){var V=0;for(var R=0;R<K;R++)V=V+(Q[R]|0),D[2*R]=V&8191,V=V>>>13,D[2*R+1]=V&8191,V=V>>>13;for(R=2*K;R<W;++R)D[R]=0;v(V===0),v((V&-8192)===0)},n.prototype.stub=function(Q){var K=Array(Q);for(var D=0;D<Q;D++)K[D]=0;return K},n.prototype.mulp=function(Q,K,D){var W=2*this.guessLen13b(Q.length,K.length),V=this.makeRBT(W),R=this.stub(W),N=Array(W),q=Array(W),G=Array(W),C=Array(W),b=Array(W),y=Array(W),o=D.words;o.length=W,this.convert13b(Q.words,Q.length,N,W),this.convert13b(K.words,K.length,C,W),this.transform(N,R,q,G,W,V),this.transform(C,R,b,y,W,V);for(var J0=0;J0<W;J0++){var K0=q[J0]*b[J0]-G[J0]*y[J0];G[J0]=q[J0]*y[J0]+G[J0]*b[J0],q[J0]=K0}return this.conjugate(q,G,W),this.transform(q,G,o,R,W,V),this.conjugate(o,R,W),this.normalize13b(o,W),D.negative=Q.negative^K.negative,D.length=Q.length+K.length,D.strip()},Y.prototype.mul=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),this.mulTo(Q,K)},Y.prototype.mulf=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),m(this,Q,K)},Y.prototype.imul=function(Q){return this.clone().mulTo(Q,this)},Y.prototype.imuln=function(Q){v(typeof Q==="number"),v(Q<67108864);var K=0;for(var D=0;D<this.length;D++){var W=(this.words[D]|0)*Q,V=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=V>>>26,this.words[D]=V&67108863}if(K!==0)this.words[D]=K,this.length++;return this.length=Q===0?1:this.length,this},Y.prototype.muln=function(Q){return this.clone().imuln(Q)},Y.prototype.sqr=function(){return this.mul(this)},Y.prototype.isqr=function(){return this.imul(this.clone())},Y.prototype.pow=function(Q){var K=x(Q);if(K.length===0)return new Y(1);var D=this;for(var W=0;W<K.length;W++,D=D.sqr())if(K[W]!==0)break;if(++W<K.length)for(var V=D.sqr();W<K.length;W++,V=V.sqr()){if(K[W]===0)continue;D=D.mul(V)}return D},Y.prototype.iushln=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=67108863>>>26-K<<26-K,V;if(K!==0){var R=0;for(V=0;V<this.length;V++){var N=this.words[V]&W,q=(this.words[V]|0)-N<<K;this.words[V]=q|R,R=N>>>26-K}if(R)this.words[V]=R,this.length++}if(D!==0){for(V=this.length-1;V>=0;V--)this.words[V+D]=this.words[V];for(V=0;V<D;V++)this.words[V]=0;this.length+=D}return this.strip()},Y.prototype.ishln=function(Q){return v(this.negative===0),this.iushln(Q)},Y.prototype.iushrn=function(Q,K,D){v(typeof Q==="number"&&Q>=0);var W;if(K)W=(K-K%26)/26;else W=0;var V=Q%26,R=Math.min((Q-V)/26,this.length),N=67108863^67108863>>>V<<V,q=D;if(W-=R,W=Math.max(0,W),q){for(var G=0;G<R;G++)q.words[G]=this.words[G];q.length=R}if(R===0);else if(this.length>R){this.length-=R;for(G=0;G<this.length;G++)this.words[G]=this.words[G+R]}else this.words[0]=0,this.length=1;var C=0;for(G=this.length-1;G>=0&&(C!==0||G>=W);G--){var b=this.words[G]|0;this.words[G]=C<<26-V|b>>>V,C=b&N}if(q&&C!==0)q.words[q.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Y.prototype.ishrn=function(Q,K,D){return v(this.negative===0),this.iushrn(Q,K,D)},Y.prototype.shln=function(Q){return this.clone().ishln(Q)},Y.prototype.ushln=function(Q){return this.clone().iushln(Q)},Y.prototype.shrn=function(Q){return this.clone().ishrn(Q)},Y.prototype.ushrn=function(Q){return this.clone().iushrn(Q)},Y.prototype.testn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return!1;var V=this.words[D];return!!(V&W)},Y.prototype.imaskn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26;if(v(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(K!==0)D++;if(this.length=Math.min(D,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Y.prototype.maskn=function(Q){return this.clone().imaskn(Q)},Y.prototype.iaddn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.isubn(-Q);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Q)return this.words[0]=Q-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Q),this.negative=1,this}return this._iaddn(Q)},Y.prototype._iaddn=function(Q){this.words[0]+=Q;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},Y.prototype.isubn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.iaddn(-Q);if(this.negative!==0)return this.negative=0,this.iaddn(Q),this.negative=1,this;if(this.words[0]-=Q,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()},Y.prototype.addn=function(Q){return this.clone().iaddn(Q)},Y.prototype.subn=function(Q){return this.clone().isubn(Q)},Y.prototype.iabs=function(){return this.negative=0,this},Y.prototype.abs=function(){return this.clone().iabs()},Y.prototype._ishlnsubmul=function(Q,K,D){var W=Q.length+D,V;this._expand(W);var R,N=0;for(V=0;V<Q.length;V++){R=(this.words[V+D]|0)+N;var q=(Q.words[V]|0)*K;R-=q&67108863,N=(R>>26)-(q/67108864|0),this.words[V+D]=R&67108863}for(;V<this.length-D;V++)R=(this.words[V+D]|0)+N,N=R>>26,this.words[V+D]=R&67108863;if(N===0)return this.strip();v(N===-1),N=0;for(V=0;V<this.length;V++)R=-(this.words[V]|0)+N,N=R>>26,this.words[V]=R&67108863;return this.negative=1,this.strip()},Y.prototype._wordDiv=function(Q,K){var D=this.length-Q.length,W=this.clone(),V=Q,R=V.words[V.length-1]|0,N=this._countBits(R);if(D=26-N,D!==0)V=V.ushln(D),W.iushln(D),R=V.words[V.length-1]|0;var q=W.length-V.length,G;if(K!=="mod"){G=new Y(null),G.length=q+1,G.words=Array(G.length);for(var C=0;C<G.length;C++)G.words[C]=0}var b=W.clone()._ishlnsubmul(V,1,q);if(b.negative===0){if(W=b,G)G.words[q]=1}for(var y=q-1;y>=0;y--){var o=(W.words[V.length+y]|0)*67108864+(W.words[V.length+y-1]|0);o=Math.min(o/R|0,67108863),W._ishlnsubmul(V,o,y);while(W.negative!==0)if(o--,W.negative=0,W._ishlnsubmul(V,1,y),!W.isZero())W.negative^=1;if(G)G.words[y]=o}if(G)G.strip();if(W.strip(),K!=="div"&&D!==0)W.iushrn(D);return{div:G||null,mod:W}},Y.prototype.divmod=function(Q,K,D){if(v(!Q.isZero()),this.isZero())return{div:new Y(0),mod:new Y(0)};var W,V,R;if(this.negative!==0&&Q.negative===0){if(R=this.neg().divmod(Q,K),K!=="mod")W=R.div.neg();if(K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.iadd(Q)}return{div:W,mod:V}}if(this.negative===0&&Q.negative!==0){if(R=this.divmod(Q.neg(),K),K!=="mod")W=R.div.neg();return{div:W,mod:R.mod}}if((this.negative&Q.negative)!==0){if(R=this.neg().divmod(Q.neg(),K),K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.isub(Q)}return{div:R.div,mod:V}}if(Q.length>this.length||this.cmp(Q)<0)return{div:new Y(0),mod:this};if(Q.length===1){if(K==="div")return{div:this.divn(Q.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Y(this.modn(Q.words[0]))};return{div:this.divn(Q.words[0]),mod:new Y(this.modn(Q.words[0]))}}return this._wordDiv(Q,K)},Y.prototype.div=function(Q){return this.divmod(Q,"div",!1).div},Y.prototype.mod=function(Q){return this.divmod(Q,"mod",!1).mod},Y.prototype.umod=function(Q){return this.divmod(Q,"mod",!0).mod},Y.prototype.divRound=function(Q){var K=this.divmod(Q);if(K.mod.isZero())return K.div;var D=K.div.negative!==0?K.mod.isub(Q):K.mod,W=Q.ushrn(1),V=Q.andln(1),R=D.cmp(W);if(R<0||V===1&&R===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Y.prototype.modn=function(Q){v(Q<=67108863);var K=67108864%Q,D=0;for(var W=this.length-1;W>=0;W--)D=(K*D+(this.words[W]|0))%Q;return D},Y.prototype.idivn=function(Q){v(Q<=67108863);var K=0;for(var D=this.length-1;D>=0;D--){var W=(this.words[D]|0)+K*67108864;this.words[D]=W/Q|0,K=W%Q}return this.strip()},Y.prototype.divn=function(Q){return this.clone().idivn(Q)},Y.prototype.egcd=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=new Y(0),N=new Y(1),q=0;while(K.isEven()&&D.isEven())K.iushrn(1),D.iushrn(1),++q;var G=D.clone(),C=K.clone();while(!K.isZero()){for(var b=0,y=1;(K.words[0]&y)===0&&b<26;++b,y<<=1);if(b>0){K.iushrn(b);while(b-- >0){if(W.isOdd()||V.isOdd())W.iadd(G),V.isub(C);W.iushrn(1),V.iushrn(1)}}for(var o=0,J0=1;(D.words[0]&J0)===0&&o<26;++o,J0<<=1);if(o>0){D.iushrn(o);while(o-- >0){if(R.isOdd()||N.isOdd())R.iadd(G),N.isub(C);R.iushrn(1),N.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(R),V.isub(N);else D.isub(K),R.isub(W),N.isub(V)}return{a:R,b:N,gcd:D.iushln(q)}},Y.prototype._invmp=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=D.clone();while(K.cmpn(1)>0&&D.cmpn(1)>0){for(var N=0,q=1;(K.words[0]&q)===0&&N<26;++N,q<<=1);if(N>0){K.iushrn(N);while(N-- >0){if(W.isOdd())W.iadd(R);W.iushrn(1)}}for(var G=0,C=1;(D.words[0]&C)===0&&G<26;++G,C<<=1);if(G>0){D.iushrn(G);while(G-- >0){if(V.isOdd())V.iadd(R);V.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(V);else D.isub(K),V.isub(W)}var b;if(K.cmpn(1)===0)b=W;else b=V;if(b.cmpn(0)<0)b.iadd(Q);return b},Y.prototype.gcd=function(Q){if(this.isZero())return Q.abs();if(Q.isZero())return this.abs();var K=this.clone(),D=Q.clone();K.negative=0,D.negative=0;for(var W=0;K.isEven()&&D.isEven();W++)K.iushrn(1),D.iushrn(1);do{while(K.isEven())K.iushrn(1);while(D.isEven())D.iushrn(1);var V=K.cmp(D);if(V<0){var R=K;K=D,D=R}else if(V===0||D.cmpn(1)===0)break;K.isub(D)}while(!0);return D.iushln(W)},Y.prototype.invm=function(Q){return this.egcd(Q).a.umod(Q)},Y.prototype.isEven=function(){return(this.words[0]&1)===0},Y.prototype.isOdd=function(){return(this.words[0]&1)===1},Y.prototype.andln=function(Q){return this.words[0]&Q},Y.prototype.bincn=function(Q){v(typeof Q==="number");var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return this._expand(D+1),this.words[D]|=W,this;var V=W;for(var R=D;V!==0&&R<this.length;R++){var N=this.words[R]|0;N+=V,V=N>>>26,N&=67108863,this.words[R]=N}if(V!==0)this.words[R]=V,this.length++;return this},Y.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Y.prototype.cmpn=function(Q){var K=Q<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var D;if(this.length>1)D=1;else{if(K)Q=-Q;v(Q<=67108863,"Number is too big");var W=this.words[0]|0;D=W===Q?0:W<Q?-1:1}if(this.negative!==0)return-D|0;return D},Y.prototype.cmp=function(Q){if(this.negative!==0&&Q.negative===0)return-1;if(this.negative===0&&Q.negative!==0)return 1;var K=this.ucmp(Q);if(this.negative!==0)return-K|0;return K},Y.prototype.ucmp=function(Q){if(this.length>Q.length)return 1;if(this.length<Q.length)return-1;var K=0;for(var D=this.length-1;D>=0;D--){var W=this.words[D]|0,V=Q.words[D]|0;if(W===V)continue;if(W<V)K=-1;else if(W>V)K=1;break}return K},Y.prototype.gtn=function(Q){return this.cmpn(Q)===1},Y.prototype.gt=function(Q){return this.cmp(Q)===1},Y.prototype.gten=function(Q){return this.cmpn(Q)>=0},Y.prototype.gte=function(Q){return this.cmp(Q)>=0},Y.prototype.ltn=function(Q){return this.cmpn(Q)===-1},Y.prototype.lt=function(Q){return this.cmp(Q)===-1},Y.prototype.lten=function(Q){return this.cmpn(Q)<=0},Y.prototype.lte=function(Q){return this.cmp(Q)<=0},Y.prototype.eqn=function(Q){return this.cmpn(Q)===0},Y.prototype.eq=function(Q){return this.cmp(Q)===0},Y.red=function(Q){return new X0(Q)},Y.prototype.toRed=function(Q){return v(!this.red,"Already a number in reduction context"),v(this.negative===0,"red works only with positives"),Q.convertTo(this)._forceRed(Q)},Y.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Y.prototype._forceRed=function(Q){return this.red=Q,this},Y.prototype.forceRed=function(Q){return v(!this.red,"Already a number in reduction context"),this._forceRed(Q)},Y.prototype.redAdd=function(Q){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,Q)},Y.prototype.redIAdd=function(Q){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Q)},Y.prototype.redSub=function(Q){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,Q)},Y.prototype.redISub=function(Q){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,Q)},Y.prototype.redShl=function(Q){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,Q)},Y.prototype.redMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.mul(this,Q)},Y.prototype.redIMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.imul(this,Q)},Y.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Y.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Y.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Y.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Y.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Y.prototype.redPow=function(Q){return v(this.red&&!Q.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Q)};var a={k256:null,p224:null,p192:null,p25519:null};function j0(Q,K){this.name=Q,this.p=new Y(K,16),this.n=this.p.bitLength(),this.k=new Y(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j0.prototype._tmp=function(){var Q=new Y(null);return Q.words=Array(Math.ceil(this.n/13)),Q},j0.prototype.ireduce=function(Q){var K=Q,D;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),D=K.bitLength();while(D>this.n);var W=D<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},j0.prototype.split=function(Q,K){Q.iushrn(this.n,0,K)},j0.prototype.imulK=function(Q){return Q.imul(this.k)};function Y0(){j0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Z(Y0,j0),Y0.prototype.split=function(Q,K){var D=4194303,W=Math.min(Q.length,9);for(var V=0;V<W;V++)K.words[V]=Q.words[V];if(K.length=W,Q.length<=9){Q.words[0]=0,Q.length=1;return}var R=Q.words[9];K.words[K.length++]=R&D;for(V=10;V<Q.length;V++){var N=Q.words[V]|0;Q.words[V-10]=(N&D)<<4|R>>>22,R=N}if(R>>>=22,Q.words[V-10]=R,R===0&&Q.length>10)Q.length-=10;else Q.length-=9},Y0.prototype.imulK=function(Q){Q.words[Q.length]=0,Q.words[Q.length+1]=0,Q.length+=2;var K=0;for(var D=0;D<Q.length;D++){var W=Q.words[D]|0;K+=W*977,Q.words[D]=K&67108863,K=W*64+(K/67108864|0)}if(Q.words[Q.length-1]===0){if(Q.length--,Q.words[Q.length-1]===0)Q.length--}return Q};function C0(){j0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Z(C0,j0);function S0(){j0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Z(S0,j0);function h0(){j0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Z(h0,j0),h0.prototype.imulK=function(Q){var K=0;for(var D=0;D<Q.length;D++){var W=(Q.words[D]|0)*19+K,V=W&67108863;W>>>=26,Q.words[D]=V,K=W}if(K!==0)Q.words[Q.length++]=K;return Q},Y._prime=function(Q){if(a[Q])return a[Q];var K;if(Q==="k256")K=new Y0;else if(Q==="p224")K=new C0;else if(Q==="p192")K=new S0;else if(Q==="p25519")K=new h0;else throw Error("Unknown prime "+Q);return a[Q]=K,K};function X0(Q){if(typeof Q==="string"){var K=Y._prime(Q);this.m=K.p,this.prime=K}else v(Q.gtn(1),"modulus must be greater than 1"),this.m=Q,this.prime=null}X0.prototype._verify1=function(Q){v(Q.negative===0,"red works only with positives"),v(Q.red,"red works only with red numbers")},X0.prototype._verify2=function(Q,K){v((Q.negative|K.negative)===0,"red works only with positives"),v(Q.red&&Q.red===K.red,"red works only with red numbers")},X0.prototype.imod=function(Q){if(this.prime)return this.prime.ireduce(Q)._forceRed(this);return Q.umod(this.m)._forceRed(this)},X0.prototype.neg=function(Q){if(Q.isZero())return Q.clone();return this.m.sub(Q)._forceRed(this)},X0.prototype.add=function(Q,K){this._verify2(Q,K);var D=Q.add(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},X0.prototype.iadd=function(Q,K){this._verify2(Q,K);var D=Q.iadd(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D},X0.prototype.sub=function(Q,K){this._verify2(Q,K);var D=Q.sub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},X0.prototype.isub=function(Q,K){this._verify2(Q,K);var D=Q.isub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D},X0.prototype.shl=function(Q,K){return this._verify1(Q),this.imod(Q.ushln(K))},X0.prototype.imul=function(Q,K){return this._verify2(Q,K),this.imod(Q.imul(K))},X0.prototype.mul=function(Q,K){return this._verify2(Q,K),this.imod(Q.mul(K))},X0.prototype.isqr=function(Q){return this.imul(Q,Q.clone())},X0.prototype.sqr=function(Q){return this.mul(Q,Q)},X0.prototype.sqrt=function(Q){if(Q.isZero())return Q.clone();var K=this.m.andln(3);if(v(K%2===1),K===3){var D=this.m.add(new Y(1)).iushrn(2);return this.pow(Q,D)}var W=this.m.subn(1),V=0;while(!W.isZero()&&W.andln(1)===0)V++,W.iushrn(1);v(!W.isZero());var R=new Y(1).toRed(this),N=R.redNeg(),q=this.m.subn(1).iushrn(1),G=this.m.bitLength();G=new Y(2*G*G).toRed(this);while(this.pow(G,q).cmp(N)!==0)G.redIAdd(N);var C=this.pow(G,W),b=this.pow(Q,W.addn(1).iushrn(1)),y=this.pow(Q,W),o=V;while(y.cmp(R)!==0){var J0=y;for(var K0=0;J0.cmp(R)!==0;K0++)J0=J0.redSqr();v(K0<o);var A0=this.pow(C,new Y(1).iushln(o-K0-1));b=b.redMul(A0),C=A0.redSqr(),y=y.redMul(C),o=K0}return b},X0.prototype.invm=function(Q){var K=Q._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},X0.prototype.pow=function(Q,K){if(K.isZero())return new Y(1).toRed(this);if(K.cmpn(1)===0)return Q.clone();var D=4,W=Array(1<<D);W[0]=new Y(1).toRed(this),W[1]=Q;for(var V=2;V<W.length;V++)W[V]=this.mul(W[V-1],Q);var R=W[0],N=0,q=0,G=K.bitLength()%26;if(G===0)G=26;for(V=K.length-1;V>=0;V--){var C=K.words[V];for(var b=G-1;b>=0;b--){var y=C>>b&1;if(R!==W[0])R=this.sqr(R);if(y===0&&N===0){q=0;continue}if(N<<=1,N|=y,q++,q!==D&&(V!==0||b!==0))continue;R=this.mul(R,W[N]),q=0,N=0}G=26}return R},X0.prototype.convertTo=function(Q){var K=Q.umod(this.m);return K===Q?K.clone():K},X0.prototype.convertFrom=function(Q){var K=Q.clone();return K.red=null,K},Y.mont=function(Q){return new x0(Q)};function x0(Q){if(X0.call(this,Q),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Y(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(x0,X0),x0.prototype.convertTo=function(Q){return this.imod(Q.ushln(this.shift))},x0.prototype.convertFrom=function(Q){var K=this.imod(Q.mul(this.rinv));return K.red=null,K},x0.prototype.imul=function(Q,K){if(Q.isZero()||K.isZero())return Q.words[0]=0,Q.length=1,Q;var D=Q.imul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.mul=function(Q,K){if(Q.isZero()||K.isZero())return new Y(0)._forceRed(this);var D=Q.mul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.invm=function(Q){var K=this.imod(Q._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof I>"u"||I,U)}),bx=G$((U)=>{var I=SK(),J=UI(),z=U;z.define=function(Z,Y){return new v(Z,Y)};function v(Z,Y){this.name=Z,this.body=Y,this.decoders={},this.encoders={}}v.prototype._createNamed=function(Z){var Y;try{Y=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
|
|
241
|
+
this._initNamed(entity);
|
|
242
|
+
})`)}catch(L){Y=function(S){this._initNamed(S)}}return J(Y,Z),Y.prototype._initNamed=function(L){Z.call(this,L)},new Y(this)},v.prototype._getDecoder=function(Z){if(Z=Z||"der",!this.decoders.hasOwnProperty(Z))this.decoders[Z]=this._createNamed(I.decoders[Z]);return this.decoders[Z]},v.prototype.decode=function(Z,Y,L){return this._getDecoder(Y).decode(Z,L)},v.prototype._getEncoder=function(Z){if(Z=Z||"der",!this.encoders.hasOwnProperty(Z))this.encoders[Z]=this._createNamed(I.encoders[Z]);return this.encoders[Z]},v.prototype.encode=function(Z,Y,L){return this._getEncoder(Y).encode(Z,L)}}),mx=G$((U)=>{var I=UI();function J(v){this._reporterState={obj:null,path:[],options:v||{},errors:[]}}U.Reporter=J,J.prototype.isError=function(v){return v instanceof z},J.prototype.save=function(){var v=this._reporterState;return{obj:v.obj,pathLen:v.path.length}},J.prototype.restore=function(v){var Z=this._reporterState;Z.obj=v.obj,Z.path=Z.path.slice(0,v.pathLen)},J.prototype.enterKey=function(v){return this._reporterState.path.push(v)},J.prototype.exitKey=function(v){var Z=this._reporterState;Z.path=Z.path.slice(0,v-1)},J.prototype.leaveKey=function(v,Z,Y){var L=this._reporterState;if(this.exitKey(v),L.obj!==null)L.obj[Z]=Y},J.prototype.path=function(){return this._reporterState.path.join("/")},J.prototype.enterObject=function(){var v=this._reporterState,Z=v.obj;return v.obj={},Z},J.prototype.leaveObject=function(v){var Z=this._reporterState,Y=Z.obj;return Z.obj=v,Y},J.prototype.error=function(v){var Z,Y=this._reporterState,L=v instanceof z;if(L)Z=v;else Z=new z(Y.path.map(function(S){return"["+JSON.stringify(S)+"]"}).join(""),v.message||v,v.stack);if(!Y.options.partial)throw Z;if(!L)Y.errors.push(Z);return Z},J.prototype.wrapResult=function(v){var Z=this._reporterState;if(!Z.options.partial)return v;return{result:this.isError(v)?null:v,errors:Z.errors}};function z(v,Z){this.path=v,this.rethrow(Z)}I(z,Error),z.prototype.rethrow=function(v){if(this.message=v+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,z);if(!this.stack)try{throw Error(this.message)}catch(Z){this.stack=Z.stack}return this}}),HT=G$((U)=>{var I=UI(),J=EK().Reporter,z=(F4(),Mj(D4)).Buffer;function v(Y,L){if(J.call(this,L),!z.isBuffer(Y)){this.error("Input not Buffer");return}this.base=Y,this.offset=0,this.length=Y.length}I(v,J),U.DecoderBuffer=v,v.prototype.save=function(){return{offset:this.offset,reporter:J.prototype.save.call(this)}},v.prototype.restore=function(Y){var L=new v(this.base);return L.offset=Y.offset,L.length=this.offset,this.offset=Y.offset,J.prototype.restore.call(this,Y.reporter),L},v.prototype.isEmpty=function(){return this.offset===this.length},v.prototype.readUInt8=function(Y){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,!0);else return this.error(Y||"DecoderBuffer overrun")},v.prototype.skip=function(Y,L){if(!(this.offset+Y<=this.length))return this.error(L||"DecoderBuffer overrun");var S=new v(this.base);return S._reporterState=this._reporterState,S.offset=this.offset,S.length=this.offset+Y,this.offset+=Y,S},v.prototype.raw=function(Y){return this.base.slice(Y?Y.offset:this.offset,this.length)};function Z(Y,L){if(Array.isArray(Y))this.length=0,this.value=Y.map(function(S){if(!(S instanceof Z))S=new Z(S,L);return this.length+=S.length,S},this);else if(typeof Y==="number"){if(!(0<=Y&&Y<=255))return L.error("non-byte EncoderBuffer value");this.value=Y,this.length=1}else if(typeof Y==="string")this.value=Y,this.length=z.byteLength(Y);else if(z.isBuffer(Y))this.value=Y,this.length=Y.length;else return L.error("Unsupported type: "+typeof Y)}U.EncoderBuffer=Z,Z.prototype.join=function(Y,L){if(!Y)Y=new z(this.length);if(!L)L=0;if(this.length===0)return Y;if(Array.isArray(this.value))this.value.forEach(function(S){S.join(Y,L),L+=S.length});else{if(typeof this.value==="number")Y[L]=this.value;else if(typeof this.value==="string")Y.write(this.value,L);else if(z.isBuffer(this.value))this.value.copy(Y,L);L+=this.length}return Y}}),ux=G$((U,I)=>{var J=EK().Reporter,z=EK().EncoderBuffer,v=EK().DecoderBuffer,Z=qG(),Y=["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(Y),S=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function B(H,T){var c={};if(this._baseState=c,c.enc=H,c.parent=T||null,c.children=null,c.tag=null,c.args=null,c.reverseArgs=null,c.choice=null,c.optional=!1,c.any=!1,c.obj=!1,c.use=null,c.useDecoder=null,c.key=null,c.default=null,c.explicit=null,c.implicit=null,c.contains=null,!c.parent)c.children=[],this._wrap()}I.exports=B;var g=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];B.prototype.clone=function(){var H=this._baseState,T={};g.forEach(function(x){T[x]=H[x]});var c=new this.constructor(T.parent);return c._baseState=T,c},B.prototype._wrap=function(){var H=this._baseState;L.forEach(function(T){this[T]=function(){var c=new this.constructor(this);return H.children.push(c),c[T].apply(c,arguments)}},this)},B.prototype._init=function(H){var T=this._baseState;Z(T.parent===null),H.call(this),T.children=T.children.filter(function(c){return c._baseState.parent===this},this),Z.equal(T.children.length,1,"Root node can have only one child")},B.prototype._useArgs=function(H){var T=this._baseState,c=H.filter(function(x){return x instanceof this.constructor},this);if(H=H.filter(function(x){return!(x instanceof this.constructor)},this),c.length!==0)Z(T.children===null),T.children=c,c.forEach(function(x){x._baseState.parent=this},this);if(H.length!==0)Z(T.args===null),T.args=H,T.reverseArgs=H.map(function(x){if(typeof x!=="object"||x.constructor!==Object)return x;var u={};return Object.keys(x).forEach(function(h){if(h==(h|0))h|=0;var i=x[h];u[i]=h}),u})},S.forEach(function(H){B.prototype[H]=function(){var T=this._baseState;throw Error(H+" not implemented for encoding: "+T.enc)}}),Y.forEach(function(H){B.prototype[H]=function(){var T=this._baseState,c=Array.prototype.slice.call(arguments);return Z(T.tag===null),T.tag=H,this._useArgs(c),this}}),B.prototype.use=function(H){Z(H);var T=this._baseState;return Z(T.use===null),T.use=H,this},B.prototype.optional=function(){var H=this._baseState;return H.optional=!0,this},B.prototype.def=function(H){var T=this._baseState;return Z(T.default===null),T.default=H,T.optional=!0,this},B.prototype.explicit=function(H){var T=this._baseState;return Z(T.explicit===null&&T.implicit===null),T.explicit=H,this},B.prototype.implicit=function(H){var T=this._baseState;return Z(T.explicit===null&&T.implicit===null),T.implicit=H,this},B.prototype.obj=function(){var H=this._baseState,T=Array.prototype.slice.call(arguments);if(H.obj=!0,T.length!==0)this._useArgs(T);return this},B.prototype.key=function(H){var T=this._baseState;return Z(T.key===null),T.key=H,this},B.prototype.any=function(){var H=this._baseState;return H.any=!0,this},B.prototype.choice=function(H){var T=this._baseState;return Z(T.choice===null),T.choice=H,this._useArgs(Object.keys(H).map(function(c){return H[c]})),this},B.prototype.contains=function(H){var T=this._baseState;return Z(T.use===null),T.contains=H,this},B.prototype._decode=function(H,T){var c=this._baseState;if(c.parent===null)return H.wrapResult(c.children[0]._decode(H,T));var x=c.default,u=!0,h=null;if(c.key!==null)h=H.enterKey(c.key);if(c.optional){var i=null;if(c.explicit!==null)i=c.explicit;else if(c.implicit!==null)i=c.implicit;else if(c.tag!==null)i=c.tag;if(i===null&&!c.any){var m=H.save();try{if(c.choice===null)this._decodeGeneric(c.tag,H,T);else this._decodeChoice(H,T);u=!0}catch(S0){u=!1}H.restore(m)}else if(u=this._peekTag(H,i,c.any),H.isError(u))return u}var n;if(c.obj&&u)n=H.enterObject();if(u){if(c.explicit!==null){var a=this._decodeTag(H,c.explicit);if(H.isError(a))return a;H=a}var j0=H.offset;if(c.use===null&&c.choice===null){if(c.any)var m=H.save();var Y0=this._decodeTag(H,c.implicit!==null?c.implicit:c.tag,c.any);if(H.isError(Y0))return Y0;if(c.any)x=H.raw(m);else H=Y0}if(T&&T.track&&c.tag!==null)T.track(H.path(),j0,H.length,"tagged");if(T&&T.track&&c.tag!==null)T.track(H.path(),H.offset,H.length,"content");if(c.any)x=x;else if(c.choice===null)x=this._decodeGeneric(c.tag,H,T);else x=this._decodeChoice(H,T);if(H.isError(x))return x;if(!c.any&&c.choice===null&&c.children!==null)c.children.forEach(function(S0){S0._decode(H,T)});if(c.contains&&(c.tag==="octstr"||c.tag==="bitstr")){var C0=new v(x);x=this._getUse(c.contains,H._reporterState.obj)._decode(C0,T)}}if(c.obj&&u)x=H.leaveObject(n);if(c.key!==null&&(x!==null||u===!0))H.leaveKey(h,c.key,x);else if(h!==null)H.exitKey(h);return x},B.prototype._decodeGeneric=function(H,T,c){var x=this._baseState;if(H==="seq"||H==="set")return null;if(H==="seqof"||H==="setof")return this._decodeList(T,H,x.args[0],c);else if(/str$/.test(H))return this._decodeStr(T,H,c);else if(H==="objid"&&x.args)return this._decodeObjid(T,x.args[0],x.args[1],c);else if(H==="objid")return this._decodeObjid(T,null,null,c);else if(H==="gentime"||H==="utctime")return this._decodeTime(T,H,c);else if(H==="null_")return this._decodeNull(T,c);else if(H==="bool")return this._decodeBool(T,c);else if(H==="objDesc")return this._decodeStr(T,H,c);else if(H==="int"||H==="enum")return this._decodeInt(T,x.args&&x.args[0],c);if(x.use!==null)return this._getUse(x.use,T._reporterState.obj)._decode(T,c);else return T.error("unknown tag: "+H)},B.prototype._getUse=function(H,T){var c=this._baseState;if(c.useDecoder=this._use(H,T),Z(c.useDecoder._baseState.parent===null),c.useDecoder=c.useDecoder._baseState.children[0],c.implicit!==c.useDecoder._baseState.implicit)c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit;return c.useDecoder},B.prototype._decodeChoice=function(H,T){var c=this._baseState,x=null,u=!1;if(Object.keys(c.choice).some(function(h){var i=H.save(),m=c.choice[h];try{var n=m._decode(H,T);if(H.isError(n))return!1;x={type:h,value:n},u=!0}catch(a){return H.restore(i),!1}return!0},this),!u)return H.error("Choice not matched");return x},B.prototype._createEncoderBuffer=function(H){return new z(H,this.reporter)},B.prototype._encode=function(H,T,c){var x=this._baseState;if(x.default!==null&&x.default===H)return;var u=this._encodeValue(H,T,c);if(u===void 0)return;if(this._skipDefault(u,T,c))return;return u},B.prototype._encodeValue=function(H,T,c){var x=this._baseState;if(x.parent===null)return x.children[0]._encode(H,T||new J);var m=null;if(this.reporter=T,x.optional&&H===void 0)if(x.default!==null)H=x.default;else return;var u=null,h=!1;if(x.any)m=this._createEncoderBuffer(H);else if(x.choice)m=this._encodeChoice(H,T);else if(x.contains)u=this._getUse(x.contains,c)._encode(H,T),h=!0;else if(x.children)u=x.children.map(function(j0){if(j0._baseState.tag==="null_")return j0._encode(null,T,H);if(j0._baseState.key===null)return T.error("Child should have a key");var Y0=T.enterKey(j0._baseState.key);if(typeof H!=="object")return T.error("Child expected, but input is not object");var C0=j0._encode(H[j0._baseState.key],T,H);return T.leaveKey(Y0),C0},this).filter(function(j0){return j0}),u=this._createEncoderBuffer(u);else if(x.tag==="seqof"||x.tag==="setof"){if(!(x.args&&x.args.length===1))return T.error("Too many args for : "+x.tag);if(!Array.isArray(H))return T.error("seqof/setof, but data is not Array");var i=this.clone();i._baseState.implicit=null,u=this._createEncoderBuffer(H.map(function(j0){var Y0=this._baseState;return this._getUse(Y0.args[0],H)._encode(j0,T)},i))}else if(x.use!==null)m=this._getUse(x.use,c)._encode(H,T);else u=this._encodePrimitive(x.tag,H),h=!0;var m;if(!x.any&&x.choice===null){var n=x.implicit!==null?x.implicit:x.tag,a=x.implicit===null?"universal":"context";if(n===null){if(x.use===null)T.error("Tag could be omitted only for .use()")}else if(x.use===null)m=this._encodeComposite(n,h,a,u)}if(x.explicit!==null)m=this._encodeComposite(x.explicit,!1,"context",m);return m},B.prototype._encodeChoice=function(H,T){var c=this._baseState,x=c.choice[H.type];if(!x)Z(!1,H.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return x._encode(H.value,T)},B.prototype._encodePrimitive=function(H,T){var c=this._baseState;if(/str$/.test(H))return this._encodeStr(T,H);else if(H==="objid"&&c.args)return this._encodeObjid(T,c.reverseArgs[0],c.args[1]);else if(H==="objid")return this._encodeObjid(T,null,null);else if(H==="gentime"||H==="utctime")return this._encodeTime(T,H);else if(H==="null_")return this._encodeNull();else if(H==="int"||H==="enum")return this._encodeInt(T,c.args&&c.reverseArgs[0]);else if(H==="bool")return this._encodeBool(T);else if(H==="objDesc")return this._encodeStr(T,H);else throw Error("Unsupported tag: "+H)},B.prototype._isNumstr=function(H){return/^[0-9 ]*$/.test(H)},B.prototype._isPrintstr=function(H){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(H)}}),EK=G$((U)=>{var I=U;I.Reporter=mx().Reporter,I.DecoderBuffer=HT().DecoderBuffer,I.EncoderBuffer=HT().EncoderBuffer,I.Node=ux()}),hx=G$((U)=>{var I=yT();U.tagClass={0:"universal",1:"application",2:"context",3:"private"},U.tagClassByName=I._reverse(U.tagClass),U.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"},U.tagByName=I._reverse(U.tag)}),yT=G$((U)=>{var I=U;I._reverse=function(J){var z={};return Object.keys(J).forEach(function(v){if((v|0)==v)v=v|0;var Z=J[v];z[Z]=v}),z},I.der=hx()}),fT=G$((U,I)=>{var J=UI(),z=SK(),v=z.base,Z=z.bignum,Y=z.constants.der;function L(H){this.enc="der",this.name=H.name,this.entity=H,this.tree=new S,this.tree._init(H.body)}I.exports=L,L.prototype.decode=function(H,T){if(!(H instanceof v.DecoderBuffer))H=new v.DecoderBuffer(H,T);return this.tree._decode(H,T)};function S(H){v.Node.call(this,"der",H)}J(S,v.Node),S.prototype._peekTag=function(H,T,c){if(H.isEmpty())return!1;var x=H.save(),u=B(H,'Failed to peek tag: "'+T+'"');if(H.isError(u))return u;return H.restore(x),u.tag===T||u.tagStr===T||u.tagStr+"of"===T||c},S.prototype._decodeTag=function(H,T,c){var x=B(H,'Failed to decode tag of "'+T+'"');if(H.isError(x))return x;var u=g(H,x.primitive,'Failed to get length of "'+T+'"');if(H.isError(u))return u;if(!c&&x.tag!==T&&x.tagStr!==T&&x.tagStr+"of"!==T)return H.error('Failed to match tag: "'+T+'"');if(x.primitive||u!==null)return H.skip(u,'Failed to match body of: "'+T+'"');var h=H.save(),i=this._skipUntilEnd(H,'Failed to skip indefinite length body: "'+this.tag+'"');if(H.isError(i))return i;return u=H.offset-h.offset,H.restore(h),H.skip(u,'Failed to match body of: "'+T+'"')},S.prototype._skipUntilEnd=function(H,T){while(!0){var c=B(H,T);if(H.isError(c))return c;var x=g(H,c.primitive,T);if(H.isError(x))return x;var u;if(c.primitive||x!==null)u=H.skip(x);else u=this._skipUntilEnd(H,T);if(H.isError(u))return u;if(c.tagStr==="end")break}},S.prototype._decodeList=function(H,T,c,x){var u=[];while(!H.isEmpty()){var h=this._peekTag(H,"end");if(H.isError(h))return h;var i=c.decode(H,"der",x);if(H.isError(i)&&h)break;u.push(i)}return u},S.prototype._decodeStr=function(H,T){if(T==="bitstr"){var c=H.readUInt8();if(H.isError(c))return c;return{unused:c,data:H.raw()}}else if(T==="bmpstr"){var x=H.raw();if(x.length%2===1)return H.error("Decoding of string type: bmpstr length mismatch");var u="";for(var h=0;h<x.length/2;h++)u+=String.fromCharCode(x.readUInt16BE(h*2));return u}else if(T==="numstr"){var i=H.raw().toString("ascii");if(!this._isNumstr(i))return H.error("Decoding of string type: numstr unsupported characters");return i}else if(T==="octstr")return H.raw();else if(T==="objDesc")return H.raw();else if(T==="printstr"){var m=H.raw().toString("ascii");if(!this._isPrintstr(m))return H.error("Decoding of string type: printstr unsupported characters");return m}else if(/str$/.test(T))return H.raw().toString();else return H.error("Decoding of string type: "+T+" unsupported")},S.prototype._decodeObjid=function(H,T,c){var x,u=[],h=0;while(!H.isEmpty()){var i=H.readUInt8();if(h<<=7,h|=i&127,(i&128)===0)u.push(h),h=0}if(i&128)u.push(h);var m=u[0]/40|0,n=u[0]%40;if(c)x=u;else x=[m,n].concat(u.slice(1));if(T){var a=T[x.join(" ")];if(a===void 0)a=T[x.join(".")];if(a!==void 0)x=a}return x},S.prototype._decodeTime=function(H,T){var c=H.raw().toString();if(T==="gentime")var x=c.slice(0,4)|0,u=c.slice(4,6)|0,h=c.slice(6,8)|0,i=c.slice(8,10)|0,m=c.slice(10,12)|0,n=c.slice(12,14)|0;else if(T==="utctime"){var x=c.slice(0,2)|0,u=c.slice(2,4)|0,h=c.slice(4,6)|0,i=c.slice(6,8)|0,m=c.slice(8,10)|0,n=c.slice(10,12)|0;if(x<70)x=2000+x;else x=1900+x}else return H.error("Decoding "+T+" time is not supported yet");return Date.UTC(x,u-1,h,i,m,n,0)},S.prototype._decodeNull=function(H){return null},S.prototype._decodeBool=function(H){var T=H.readUInt8();if(H.isError(T))return T;else return T!==0},S.prototype._decodeInt=function(H,T){var c=H.raw(),x=new Z(c);if(T)x=T[x.toString(10)]||x;return x},S.prototype._use=function(H,T){if(typeof H==="function")H=H(T);return H._getDecoder("der").tree};function B(H,T){var c=H.readUInt8(T);if(H.isError(c))return c;var x=Y.tagClass[c>>6],u=(c&32)===0;if((c&31)===31){var h=c;c=0;while((h&128)===128){if(h=H.readUInt8(T),H.isError(h))return h;c<<=7,c|=h&127}}else c&=31;var i=Y.tag[c];return{cls:x,primitive:u,tag:c,tagStr:i}}function g(H,T,c){var x=H.readUInt8(c);if(H.isError(x))return x;if(!T&&x===128)return null;if((x&128)===0)return x;var u=x&127;if(u>4)return H.error("length octect is too long");x=0;for(var h=0;h<u;h++){x<<=8;var i=H.readUInt8(c);if(H.isError(i))return i;x|=i}return x}}),px=G$((U,I)=>{var J=UI(),z=(F4(),Mj(D4)).Buffer,v=fT();function Z(Y){v.call(this,Y),this.enc="pem"}J(Z,v),I.exports=Z,Z.prototype.decode=function(Y,L){var S=Y.toString().split(/[\r\n]+/g),B=L.label.toUpperCase(),g=/^-----(BEGIN|END) ([^-]+)-----$/,H=-1,T=-1;for(var c=0;c<S.length;c++){var x=S[c].match(g);if(x===null)continue;if(x[2]!==B)continue;if(H===-1){if(x[1]!=="BEGIN")break;H=c}else{if(x[1]!=="END")break;T=c;break}}if(H===-1||T===-1)throw Error("PEM section not found for: "+B);var u=S.slice(H+1,T).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new z(u,"base64");return v.prototype.decode.call(this,h,L)}}),lx=G$((U)=>{var I=U;I.der=fT(),I.pem=px()}),bT=G$((U,I)=>{var J=UI(),z=(F4(),Mj(D4)).Buffer,v=SK(),Z=v.base,Y=v.constants.der;function L(H){this.enc="der",this.name=H.name,this.entity=H,this.tree=new S,this.tree._init(H.body)}I.exports=L,L.prototype.encode=function(H,T){return this.tree._encode(H,T).join()};function S(H){Z.Node.call(this,"der",H)}J(S,Z.Node),S.prototype._encodeComposite=function(H,T,c,x){var u=g(H,T,c,this.reporter);if(x.length<128){var m=new z(2);return m[0]=u,m[1]=x.length,this._createEncoderBuffer([m,x])}var h=1;for(var i=x.length;i>=256;i>>=8)h++;var m=new z(2+h);m[0]=u,m[1]=128|h;for(var i=1+h,n=x.length;n>0;i--,n>>=8)m[i]=n&255;return this._createEncoderBuffer([m,x])},S.prototype._encodeStr=function(H,T){if(T==="bitstr")return this._createEncoderBuffer([H.unused|0,H.data]);else if(T==="bmpstr"){var c=new z(H.length*2);for(var x=0;x<H.length;x++)c.writeUInt16BE(H.charCodeAt(x),x*2);return this._createEncoderBuffer(c)}else if(T==="numstr"){if(!this._isNumstr(H))return this.reporter.error("Encoding of string type: numstr supports only digits and space");return this._createEncoderBuffer(H)}else if(T==="printstr"){if(!this._isPrintstr(H))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(H)}else if(/str$/.test(T))return this._createEncoderBuffer(H);else if(T==="objDesc")return this._createEncoderBuffer(H);else return this.reporter.error("Encoding of string type: "+T+" unsupported")},S.prototype._encodeObjid=function(H,T,c){if(typeof H==="string"){if(!T)return this.reporter.error("string objid given, but no values map found");if(!T.hasOwnProperty(H))return this.reporter.error("objid not found in values map");H=T[H].split(/[\s\.]+/g);for(var x=0;x<H.length;x++)H[x]|=0}else if(Array.isArray(H)){H=H.slice();for(var x=0;x<H.length;x++)H[x]|=0}if(!Array.isArray(H))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(H));if(!c){if(H[1]>=40)return this.reporter.error("Second objid identifier OOB");H.splice(0,2,H[0]*40+H[1])}var u=0;for(var x=0;x<H.length;x++){var h=H[x];for(u++;h>=128;h>>=7)u++}var i=new z(u),m=i.length-1;for(var x=H.length-1;x>=0;x--){var h=H[x];i[m--]=h&127;while((h>>=7)>0)i[m--]=128|h&127}return this._createEncoderBuffer(i)};function B(H){if(H<10)return"0"+H;else return H}S.prototype._encodeTime=function(H,T){var c,x=new Date(H);if(T==="gentime")c=[B(x.getFullYear()),B(x.getUTCMonth()+1),B(x.getUTCDate()),B(x.getUTCHours()),B(x.getUTCMinutes()),B(x.getUTCSeconds()),"Z"].join("");else if(T==="utctime")c=[B(x.getFullYear()%100),B(x.getUTCMonth()+1),B(x.getUTCDate()),B(x.getUTCHours()),B(x.getUTCMinutes()),B(x.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+T+" time is not supported yet");return this._encodeStr(c,"octstr")},S.prototype._encodeNull=function(){return this._createEncoderBuffer("")},S.prototype._encodeInt=function(H,T){if(typeof H==="string"){if(!T)return this.reporter.error("String int or enum given, but no values map");if(!T.hasOwnProperty(H))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(H));H=T[H]}if(typeof H!=="number"&&!z.isBuffer(H)){var c=H.toArray();if(!H.sign&&c[0]&128)c.unshift(0);H=new z(c)}if(z.isBuffer(H)){var x=H.length;if(H.length===0)x++;var h=new z(x);if(H.copy(h),H.length===0)h[0]=0;return this._createEncoderBuffer(h)}if(H<128)return this._createEncoderBuffer(H);if(H<256)return this._createEncoderBuffer([0,H]);var x=1;for(var u=H;u>=256;u>>=8)x++;var h=Array(x);for(var u=h.length-1;u>=0;u--)h[u]=H&255,H>>=8;if(h[0]&128)h.unshift(0);return this._createEncoderBuffer(new z(h))},S.prototype._encodeBool=function(H){return this._createEncoderBuffer(H?255:0)},S.prototype._use=function(H,T){if(typeof H==="function")H=H(T);return H._getEncoder("der").tree},S.prototype._skipDefault=function(H,T,c){var x=this._baseState,u;if(x.default===null)return!1;var h=H.join();if(x.defaultBuffer===void 0)x.defaultBuffer=this._encodeValue(x.default,T,c).join();if(h.length!==x.defaultBuffer.length)return!1;for(u=0;u<h.length;u++)if(h[u]!==x.defaultBuffer[u])return!1;return!0};function g(H,T,c,x){var u;if(H==="seqof")H="seq";else if(H==="setof")H="set";if(Y.tagByName.hasOwnProperty(H))u=Y.tagByName[H];else if(typeof H==="number"&&(H|0)===H)u=H;else return x.error("Unknown tag: "+H);if(u>=31)return x.error("Multi-octet tag encoding unsupported");if(!T)u|=32;return u|=Y.tagClassByName[c||"universal"]<<6,u}}),dx=G$((U,I)=>{var J=UI(),z=bT();function v(Z){z.call(this,Z),this.enc="pem"}J(v,z),I.exports=v,v.prototype.encode=function(Z,Y){var L=z.prototype.encode.call(this,Z),S=L.toString("base64"),B=["-----BEGIN "+Y.label+"-----"];for(var g=0;g<S.length;g+=64)B.push(S.slice(g,g+64));return B.push("-----END "+Y.label+"-----"),B.join(`
|
|
243
|
+
`)}}),nx=G$((U)=>{var I=U;I.der=bT(),I.pem=dx()}),SK=G$((U)=>{var I=U;I.bignum=fx(),I.define=bx().define,I.base=EK(),I.constants=yT(),I.decoders=lx(),I.encoders=nx()}),ix=G$((U,I)=>{var J=SK(),z=J.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),v=J.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),Z=J.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Y=J.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(Z),this.key("subjectPublicKey").bitstr())}),L=J.define("RelativeDistinguishedName",function(){this.setof(v)}),S=J.define("RDNSequence",function(){this.seqof(L)}),B=J.define("Name",function(){this.choice({rdnSequence:this.use(S)})}),g=J.define("Validity",function(){this.seq().obj(this.key("notBefore").use(z),this.key("notAfter").use(z))}),H=J.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),T=J.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(B),this.key("validity").use(g),this.key("subject").use(B),this.key("subjectPublicKeyInfo").use(Y),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(H).optional())}),c=J.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(T),this.key("signatureAlgorithm").use(Z),this.key("signatureValue").bitstr())});I.exports=c}),rx=G$((U)=>{var I=SK();U.certificate=ix();var J=I.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())});U.RSAPrivateKey=J;var z=I.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});U.RSAPublicKey=z;var v=I.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=I.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(v),this.key("subjectPublicKey").bitstr())});U.PublicKey=Z;var Y=I.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(v),this.key("subjectPrivateKey").octstr())});U.PrivateKey=Y;var L=I.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())});U.EncryptedPrivateKey=L;var S=I.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())});U.DSAPrivateKey=S,U.DSAparam=I.define("DSAparam",function(){this.int()});var B=I.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),g=I.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(B),this.key("publicKey").optional().explicit(1).bitstr())});U.ECPrivateKey=g,U.signature=I.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),ox=G$((U,I)=>{I.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"}}),tx=G$((U,I)=>{var J=h1().Buffer,z=T8().Transform,v=UI();function Z(B){z.call(this),this._block=J.allocUnsafe(B),this._blockSize=B,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}v(Z,z),Z.prototype._transform=function(B,g,H){var T=null;try{this.update(B,g)}catch(c){T=c}H(T)},Z.prototype._flush=function(B){var g=null;try{this.push(this.digest())}catch(H){g=H}B(g)};var Y=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(J.prototype instanceof Uint8Array||J.TYPED_ARRAY_SUPPORT);function S(B,g){if(B instanceof J)return B;if(typeof B==="string")return J.from(B,g);if(L&&ArrayBuffer.isView(B)){if(B.byteLength===0)return J.alloc(0);var H=J.from(B.buffer,B.byteOffset,B.byteLength);if(H.byteLength===B.byteLength)return H}if(Y&&B instanceof Uint8Array)return J.from(B);if(J.isBuffer(B)&&B.constructor&&typeof B.constructor.isBuffer==="function"&&B.constructor.isBuffer(B))return J.from(B);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}Z.prototype.update=function(B,g){if(this._finalized)throw Error("Digest already called");B=S(B,g);var H=this._block,T=0;while(this._blockOffset+B.length-T>=this._blockSize){for(var c=this._blockOffset;c<this._blockSize;)H[c++]=B[T++];this._update(),this._blockOffset=0}while(T<B.length)H[this._blockOffset++]=B[T++];for(var x=0,u=B.length*8;u>0;++x)if(this._length[x]+=u,u=this._length[x]/4294967296|0,u>0)this._length[x]-=4294967296*u;return this},Z.prototype._update=function(){throw Error("_update is not implemented")},Z.prototype.digest=function(B){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var g=this._digest();if(B!==void 0)g=g.toString(B);this._block.fill(0),this._blockOffset=0;for(var H=0;H<4;++H)this._length[H]=0;return g},Z.prototype._digest=function(){throw Error("_digest is not implemented")},I.exports=Z}),sx=G$((U,I)=>{var J=UI(),z=tx(),v=h1().Buffer,Z=Array(16);function Y(){z.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}J(Y,z),Y.prototype._update=function(){var T=Z;for(var c=0;c<16;++c)T[c]=this._block.readInt32LE(c*4);var x=this._a,u=this._b,h=this._c,i=this._d;x=S(x,u,h,i,T[0],3614090360,7),i=S(i,x,u,h,T[1],3905402710,12),h=S(h,i,x,u,T[2],606105819,17),u=S(u,h,i,x,T[3],3250441966,22),x=S(x,u,h,i,T[4],4118548399,7),i=S(i,x,u,h,T[5],1200080426,12),h=S(h,i,x,u,T[6],2821735955,17),u=S(u,h,i,x,T[7],4249261313,22),x=S(x,u,h,i,T[8],1770035416,7),i=S(i,x,u,h,T[9],2336552879,12),h=S(h,i,x,u,T[10],4294925233,17),u=S(u,h,i,x,T[11],2304563134,22),x=S(x,u,h,i,T[12],1804603682,7),i=S(i,x,u,h,T[13],4254626195,12),h=S(h,i,x,u,T[14],2792965006,17),u=S(u,h,i,x,T[15],1236535329,22),x=B(x,u,h,i,T[1],4129170786,5),i=B(i,x,u,h,T[6],3225465664,9),h=B(h,i,x,u,T[11],643717713,14),u=B(u,h,i,x,T[0],3921069994,20),x=B(x,u,h,i,T[5],3593408605,5),i=B(i,x,u,h,T[10],38016083,9),h=B(h,i,x,u,T[15],3634488961,14),u=B(u,h,i,x,T[4],3889429448,20),x=B(x,u,h,i,T[9],568446438,5),i=B(i,x,u,h,T[14],3275163606,9),h=B(h,i,x,u,T[3],4107603335,14),u=B(u,h,i,x,T[8],1163531501,20),x=B(x,u,h,i,T[13],2850285829,5),i=B(i,x,u,h,T[2],4243563512,9),h=B(h,i,x,u,T[7],1735328473,14),u=B(u,h,i,x,T[12],2368359562,20),x=g(x,u,h,i,T[5],4294588738,4),i=g(i,x,u,h,T[8],2272392833,11),h=g(h,i,x,u,T[11],1839030562,16),u=g(u,h,i,x,T[14],4259657740,23),x=g(x,u,h,i,T[1],2763975236,4),i=g(i,x,u,h,T[4],1272893353,11),h=g(h,i,x,u,T[7],4139469664,16),u=g(u,h,i,x,T[10],3200236656,23),x=g(x,u,h,i,T[13],681279174,4),i=g(i,x,u,h,T[0],3936430074,11),h=g(h,i,x,u,T[3],3572445317,16),u=g(u,h,i,x,T[6],76029189,23),x=g(x,u,h,i,T[9],3654602809,4),i=g(i,x,u,h,T[12],3873151461,11),h=g(h,i,x,u,T[15],530742520,16),u=g(u,h,i,x,T[2],3299628645,23),x=H(x,u,h,i,T[0],4096336452,6),i=H(i,x,u,h,T[7],1126891415,10),h=H(h,i,x,u,T[14],2878612391,15),u=H(u,h,i,x,T[5],4237533241,21),x=H(x,u,h,i,T[12],1700485571,6),i=H(i,x,u,h,T[3],2399980690,10),h=H(h,i,x,u,T[10],4293915773,15),u=H(u,h,i,x,T[1],2240044497,21),x=H(x,u,h,i,T[8],1873313359,6),i=H(i,x,u,h,T[15],4264355552,10),h=H(h,i,x,u,T[6],2734768916,15),u=H(u,h,i,x,T[13],1309151649,21),x=H(x,u,h,i,T[4],4149444226,6),i=H(i,x,u,h,T[11],3174756917,10),h=H(h,i,x,u,T[2],718787259,15),u=H(u,h,i,x,T[9],3951481745,21),this._a=this._a+x|0,this._b=this._b+u|0,this._c=this._c+h|0,this._d=this._d+i|0},Y.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 T=v.allocUnsafe(16);return T.writeInt32LE(this._a,0),T.writeInt32LE(this._b,4),T.writeInt32LE(this._c,8),T.writeInt32LE(this._d,12),T};function L(T,c){return T<<c|T>>>32-c}function S(T,c,x,u,h,i,m){return L(T+(c&x|~c&u)+h+i|0,m)+c|0}function B(T,c,x,u,h,i,m){return L(T+(c&u|x&~u)+h+i|0,m)+c|0}function g(T,c,x,u,h,i,m){return L(T+(c^x^u)+h+i|0,m)+c|0}function H(T,c,x,u,h,i,m){return L(T+(x^(c|~u))+h+i|0,m)+c|0}I.exports=Y}),ax=G$((U,I)=>{var J=h1().Buffer,z=sx();function v(Z,Y,L,S){if(!J.isBuffer(Z))Z=J.from(Z,"binary");if(Y){if(!J.isBuffer(Y))Y=J.from(Y,"binary");if(Y.length!==8)throw RangeError("salt should be Buffer with 8 byte length")}var B=L/8,g=J.alloc(B),H=J.alloc(S||0),T=J.alloc(0);while(B>0||S>0){var c=new z;if(c.update(T),c.update(Z),Y)c.update(Y);T=c.digest();var x=0;if(B>0){var u=g.length-B;x=Math.min(B,T.length),T.copy(g,u,0,x),B-=x}if(x<T.length&&S>0){var h=H.length-S,i=Math.min(S,T.length-x);T.copy(H,h,x,x+i),S-=i}}return T.fill(0),{key:g,iv:H}}I.exports=v}),mT=G$((U)=>{var I=(VU(),Mj(vI));U.createCipher=U.Cipher=I.createCipher,U.createCipheriv=U.Cipheriv=I.createCipheriv,U.createDecipher=U.Decipher=I.createDecipher,U.createDecipheriv=U.Decipheriv=I.createDecipheriv,U.listCiphers=U.getCiphers=I.getCiphers}),ex=G$((U,I)=>{var J=/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,z=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,v=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,Z=ax(),Y=mT(),L=h1().Buffer;I.exports=function(S,B){var g=S.toString(),H=g.match(J),T;if(!H){var c=g.match(v);T=L.from(c[2].replace(/[\r\n]/g,""),"base64")}else{var x="aes"+H[1],u=L.from(H[2],"hex"),h=L.from(H[3].replace(/[\r\n]/g,""),"base64"),i=Z(B,u.slice(0,8),parseInt(H[1],10)).key,m=[],n=Y.createDecipheriv(x,i,u);m.push(n.update(h)),m.push(n.final()),T=L.concat(m)}var a=g.match(z)[1];return{tag:a,data:T}}}),uT=G$((U,I)=>{var J=rx(),z=ox(),v=ex(),Z=mT(),Y=gT().pbkdf2Sync,L=h1().Buffer;function S(g,H){var T=g.algorithm.decrypt.kde.kdeparams.salt,c=parseInt(g.algorithm.decrypt.kde.kdeparams.iters.toString(),10),x=z[g.algorithm.decrypt.cipher.algo.join(".")],u=g.algorithm.decrypt.cipher.iv,h=g.subjectPrivateKey,i=parseInt(x.split("-")[1],10)/8,m=Y(H,T,c,i,"sha1"),n=Z.createDecipheriv(x,m,u),a=[];return a.push(n.update(h)),a.push(n.final()),L.concat(a)}function B(g){var H;if(typeof g==="object"&&!L.isBuffer(g))H=g.passphrase,g=g.key;if(typeof g==="string")g=L.from(g);var T=v(g,H),c=T.tag,x=T.data,u,h;switch(c){case"CERTIFICATE":h=J.certificate.decode(x,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!h)h=J.PublicKey.decode(x,"der");switch(u=h.algorithm.algorithm.join("."),u){case"1.2.840.113549.1.1.1":return J.RSAPublicKey.decode(h.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return h.subjectPrivateKey=h.subjectPublicKey,{type:"ec",data:h};case"1.2.840.10040.4.1":return h.algorithm.params.pub_key=J.DSAparam.decode(h.subjectPublicKey.data,"der"),{type:"dsa",data:h.algorithm.params};default:throw Error("unknown key id "+u)}case"ENCRYPTED PRIVATE KEY":x=J.EncryptedPrivateKey.decode(x,"der"),x=S(x,H);case"PRIVATE KEY":switch(h=J.PrivateKey.decode(x,"der"),u=h.algorithm.algorithm.join("."),u){case"1.2.840.113549.1.1.1":return J.RSAPrivateKey.decode(h.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:h.algorithm.curve,privateKey:J.ECPrivateKey.decode(h.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return h.algorithm.params.priv_key=J.DSAparam.decode(h.subjectPrivateKey,"der"),{type:"dsa",params:h.algorithm.params};default:throw Error("unknown key id "+u)}case"RSA PUBLIC KEY":return J.RSAPublicKey.decode(x,"der");case"RSA PRIVATE KEY":return J.RSAPrivateKey.decode(x,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:J.DSAPrivateKey.decode(x,"der")};case"EC PRIVATE KEY":return x=J.ECPrivateKey.decode(x,"der"),{curve:x.parameters.value,privateKey:x.privateKey};default:throw Error("unknown key type "+c)}}B.signature=J.signature,I.exports=B}),hT=G$((U,I)=>{var J=v9(),z=h1().Buffer;I.exports=function(Z,Y){var L=z.alloc(0),S=0,B;while(L.length<Y)B=v(S++),L=z.concat([L,J("sha1").update(Z).update(B).digest()]);return L.slice(0,Y)};function v(Z){var Y=z.allocUnsafe(4);return Y.writeUInt32BE(Z,0),Y}}),pT=G$((U,I)=>{I.exports=function(J,z){var v=J.length,Z=-1;while(++Z<v)J[Z]^=z[Z];return J}}),D5=G$((U,I)=>{(function(J,z){function v(Q,K){if(!Q)throw Error(K||"Assertion failed")}function Z(Q,K){Q.super_=K;var D=function(){};D.prototype=K.prototype,Q.prototype=new D,Q.prototype.constructor=Q}function Y(Q,K,D){if(Y.isBN(Q))return Q;if(this.negative=0,this.words=null,this.length=0,this.red=null,Q!==null){if(K==="le"||K==="be")D=K,K=10;this._init(Q||0,K||10,D||"be")}}if(typeof J==="object")J.exports=Y;else z.BN=Y;Y.BN=Y,Y.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(F4(),Mj(D4)).Buffer}catch(Q){}Y.isBN=function(Q){if(Q instanceof Y)return!0;return Q!==null&&typeof Q==="object"&&Q.constructor.wordSize===Y.wordSize&&Array.isArray(Q.words)},Y.max=function(Q,K){if(Q.cmp(K)>0)return Q;return K},Y.min=function(Q,K){if(Q.cmp(K)<0)return Q;return K},Y.prototype._init=function(Q,K,D){if(typeof Q==="number")return this._initNumber(Q,K,D);if(typeof Q==="object")return this._initArray(Q,K,D);if(K==="hex")K=16;v(K===(K|0)&&K>=2&&K<=36),Q=Q.toString().replace(/\s+/g,"");var W=0;if(Q[0]==="-")W++,this.negative=1;if(W<Q.length){if(K===16)this._parseHex(Q,W,D);else if(this._parseBase(Q,K,W),D==="le")this._initArray(this.toArray(),K,D)}},Y.prototype._initNumber=function(Q,K,D){if(Q<0)this.negative=1,Q=-Q;if(Q<67108864)this.words=[Q&67108863],this.length=1;else if(Q<4503599627370496)this.words=[Q&67108863,Q/67108864&67108863],this.length=2;else v(Q<9007199254740992),this.words=[Q&67108863,Q/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),K,D)},Y.prototype._initArray=function(Q,K,D){if(v(typeof Q.length==="number"),Q.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Q.length/3),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V,R,N=0;if(D==="be"){for(W=Q.length-1,V=0;W>=0;W-=3)if(R=Q[W]|Q[W-1]<<8|Q[W-2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}else if(D==="le"){for(W=0,V=0;W<Q.length;W+=3)if(R=Q[W]|Q[W+1]<<8|Q[W+2]<<16,this.words[V]|=R<<N&67108863,this.words[V+1]=R>>>26-N&67108863,N+=24,N>=26)N-=26,V++}return this.strip()};function S(Q,K){var D=Q.charCodeAt(K);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function B(Q,K,D){var W=S(Q,D);if(D-1>=K)W|=S(Q,D-1)<<4;return W}Y.prototype._parseHex=function(Q,K,D){this.length=Math.ceil((Q.length-K)/6),this.words=Array(this.length);for(var W=0;W<this.length;W++)this.words[W]=0;var V=0,R=0,N;if(D==="be")for(W=Q.length-1;W>=K;W-=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8;else{var q=Q.length-K;for(W=q%2===0?K+1:K;W<Q.length;W+=2)if(N=B(Q,K,W)<<V,this.words[R]|=N&67108863,V>=18)V-=18,R+=1,this.words[R]|=N>>>26;else V+=8}this.strip()};function g(Q,K,D,W){var V=0,R=Math.min(Q.length,D);for(var N=K;N<R;N++){var q=Q.charCodeAt(N)-48;if(V*=W,q>=49)V+=q-49+10;else if(q>=17)V+=q-17+10;else V+=q}return V}Y.prototype._parseBase=function(Q,K,D){this.words=[0],this.length=1;for(var W=0,V=1;V<=67108863;V*=K)W++;W--,V=V/K|0;var R=Q.length-D,N=R%W,q=Math.min(R,R-N)+D,G=0;for(var C=D;C<q;C+=W)if(G=g(Q,C,C+W,K),this.imuln(V),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G);if(N!==0){var b=1;G=g(Q,C,Q.length,K);for(C=0;C<N;C++)b*=K;if(this.imuln(b),this.words[0]+G<67108864)this.words[0]+=G;else this._iaddn(G)}this.strip()},Y.prototype.copy=function(Q){Q.words=Array(this.length);for(var K=0;K<this.length;K++)Q.words[K]=this.words[K];Q.length=this.length,Q.negative=this.negative,Q.red=this.red},Y.prototype.clone=function(){var Q=new Y(null);return this.copy(Q),Q},Y.prototype._expand=function(Q){while(this.length<Q)this.words[this.length++]=0;return this},Y.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Y.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Y.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var H=["","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"],T=[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],c=[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(Y.prototype.toString=function(Q,K){Q=Q||10,K=K|0||1;var D;if(Q===16||Q==="hex"){D="";var W=0,V=0;for(var R=0;R<this.length;R++){var N=this.words[R],q=((N<<W|V)&16777215).toString(16);if(V=N>>>24-W&16777215,W+=2,W>=26)W-=26,R--;if(V!==0||R!==this.length-1)D=H[6-q.length]+q+D;else D=q+D}if(V!==0)D=V.toString(16)+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(Q===(Q|0)&&Q>=2&&Q<=36){var G=T[Q],C=c[Q];D="";var b=this.clone();b.negative=0;while(!b.isZero()){var y=b.modn(C).toString(Q);if(b=b.idivn(C),!b.isZero())D=H[G-y.length]+y+D;else D=y+D}if(this.isZero())D="0"+D;while(D.length%K!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}v(!1,"Base should be between 2 and 36")},Y.prototype.toNumber=function(){var Q=this.words[0];if(this.length===2)Q+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)Q+=4503599627370496+this.words[1]*67108864;else if(this.length>2)v(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-Q:Q},Y.prototype.toJSON=function(){return this.toString(16)},Y.prototype.toBuffer=function(Q,K){return v(typeof L<"u"),this.toArrayLike(L,Q,K)},Y.prototype.toArray=function(Q,K){return this.toArrayLike(Array,Q,K)},Y.prototype.toArrayLike=function(Q,K,D){var W=this.byteLength(),V=D||Math.max(1,W);v(W<=V,"byte array longer than desired length"),v(V>0,"Requested array length <= 0"),this.strip();var R=K==="le",N=new Q(V),q,G,C=this.clone();if(!R){for(G=0;G<V-W;G++)N[G]=0;for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[V-G-1]=q}else{for(G=0;!C.isZero();G++)q=C.andln(255),C.iushrn(8),N[G]=q;for(;G<V;G++)N[G]=0}return N},Math.clz32)Y.prototype._countBits=function(Q){return 32-Math.clz32(Q)};else Y.prototype._countBits=function(Q){var K=Q,D=0;if(K>=4096)D+=13,K>>>=13;if(K>=64)D+=7,K>>>=7;if(K>=8)D+=4,K>>>=4;if(K>=2)D+=2,K>>>=2;return D+K};Y.prototype._zeroBits=function(Q){if(Q===0)return 26;var K=Q,D=0;if((K&8191)===0)D+=13,K>>>=13;if((K&127)===0)D+=7,K>>>=7;if((K&15)===0)D+=4,K>>>=4;if((K&3)===0)D+=2,K>>>=2;if((K&1)===0)D++;return D},Y.prototype.bitLength=function(){var Q=this.words[this.length-1],K=this._countBits(Q);return(this.length-1)*26+K};function x(Q){var K=Array(Q.bitLength());for(var D=0;D<K.length;D++){var W=D/26|0,V=D%26;K[D]=(Q.words[W]&1<<V)>>>V}return K}Y.prototype.zeroBits=function(){if(this.isZero())return 0;var Q=0;for(var K=0;K<this.length;K++){var D=this._zeroBits(this.words[K]);if(Q+=D,D!==26)break}return Q},Y.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Y.prototype.toTwos=function(Q){if(this.negative!==0)return this.abs().inotn(Q).iaddn(1);return this.clone()},Y.prototype.fromTwos=function(Q){if(this.testn(Q-1))return this.notn(Q).iaddn(1).ineg();return this.clone()},Y.prototype.isNeg=function(){return this.negative!==0},Y.prototype.neg=function(){return this.clone().ineg()},Y.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Y.prototype.iuor=function(Q){while(this.length<Q.length)this.words[this.length++]=0;for(var K=0;K<Q.length;K++)this.words[K]=this.words[K]|Q.words[K];return this.strip()},Y.prototype.ior=function(Q){return v((this.negative|Q.negative)===0),this.iuor(Q)},Y.prototype.or=function(Q){if(this.length>Q.length)return this.clone().ior(Q);return Q.clone().ior(this)},Y.prototype.uor=function(Q){if(this.length>Q.length)return this.clone().iuor(Q);return Q.clone().iuor(this)},Y.prototype.iuand=function(Q){var K;if(this.length>Q.length)K=Q;else K=this;for(var D=0;D<K.length;D++)this.words[D]=this.words[D]&Q.words[D];return this.length=K.length,this.strip()},Y.prototype.iand=function(Q){return v((this.negative|Q.negative)===0),this.iuand(Q)},Y.prototype.and=function(Q){if(this.length>Q.length)return this.clone().iand(Q);return Q.clone().iand(this)},Y.prototype.uand=function(Q){if(this.length>Q.length)return this.clone().iuand(Q);return Q.clone().iuand(this)},Y.prototype.iuxor=function(Q){var K,D;if(this.length>Q.length)K=this,D=Q;else K=Q,D=this;for(var W=0;W<D.length;W++)this.words[W]=K.words[W]^D.words[W];if(this!==K)for(;W<K.length;W++)this.words[W]=K.words[W];return this.length=K.length,this.strip()},Y.prototype.ixor=function(Q){return v((this.negative|Q.negative)===0),this.iuxor(Q)},Y.prototype.xor=function(Q){if(this.length>Q.length)return this.clone().ixor(Q);return Q.clone().ixor(this)},Y.prototype.uxor=function(Q){if(this.length>Q.length)return this.clone().iuxor(Q);return Q.clone().iuxor(this)},Y.prototype.inotn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Math.ceil(Q/26)|0,D=Q%26;if(this._expand(K),D>0)K--;for(var W=0;W<K;W++)this.words[W]=~this.words[W]&67108863;if(D>0)this.words[W]=~this.words[W]&67108863>>26-D;return this.strip()},Y.prototype.notn=function(Q){return this.clone().inotn(Q)},Y.prototype.setn=function(Q,K){v(typeof Q==="number"&&Q>=0);var D=Q/26|0,W=Q%26;if(this._expand(D+1),K)this.words[D]=this.words[D]|1<<W;else this.words[D]=this.words[D]&~(1<<W);return this.strip()},Y.prototype.iadd=function(Q){var K;if(this.negative!==0&&Q.negative===0)return this.negative=0,K=this.isub(Q),this.negative^=1,this._normSign();else if(this.negative===0&&Q.negative!==0)return Q.negative=0,K=this.isub(Q),Q.negative=1,K._normSign();var D,W;if(this.length>Q.length)D=this,W=Q;else D=Q,W=this;var V=0;for(var R=0;R<W.length;R++)K=(D.words[R]|0)+(W.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;for(;V!==0&&R<D.length;R++)K=(D.words[R]|0)+V,this.words[R]=K&67108863,V=K>>>26;if(this.length=D.length,V!==0)this.words[this.length]=V,this.length++;else if(D!==this)for(;R<D.length;R++)this.words[R]=D.words[R];return this},Y.prototype.add=function(Q){var K;if(Q.negative!==0&&this.negative===0)return Q.negative=0,K=this.sub(Q),Q.negative^=1,K;else if(Q.negative===0&&this.negative!==0)return this.negative=0,K=Q.sub(this),this.negative=1,K;if(this.length>Q.length)return this.clone().iadd(Q);return Q.clone().iadd(this)},Y.prototype.isub=function(Q){if(Q.negative!==0){Q.negative=0;var K=this.iadd(Q);return Q.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Q),this.negative=1,this._normSign();var D=this.cmp(Q);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var W,V;if(D>0)W=this,V=Q;else W=Q,V=this;var R=0;for(var N=0;N<V.length;N++)K=(W.words[N]|0)-(V.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;for(;R!==0&&N<W.length;N++)K=(W.words[N]|0)+R,R=K>>26,this.words[N]=K&67108863;if(R===0&&N<W.length&&W!==this)for(;N<W.length;N++)this.words[N]=W.words[N];if(this.length=Math.max(this.length,N),W!==this)this.negative=1;return this.strip()},Y.prototype.sub=function(Q){return this.clone().isub(Q)};function u(Q,K,D){D.negative=K.negative^Q.negative;var W=Q.length+K.length|0;D.length=W,W=W-1|0;var V=Q.words[0]|0,R=K.words[0]|0,N=V*R,q=N&67108863,G=N/67108864|0;D.words[0]=q;for(var C=1;C<W;C++){var b=G>>>26,y=G&67108863,o=Math.min(C,K.length-1);for(var J0=Math.max(0,C-Q.length+1);J0<=o;J0++){var K0=C-J0|0;V=Q.words[K0]|0,R=K.words[J0]|0,N=V*R+y,b+=N/67108864|0,y=N&67108863}D.words[C]=y|0,G=b|0}if(G!==0)D.words[C]=G|0;else D.length--;return D.strip()}var h=function(Q,K,D){var W=Q.words,V=K.words,R=D.words,N=0,q,G,C,b=W[0]|0,y=b&8191,o=b>>>13,J0=W[1]|0,K0=J0&8191,A0=J0>>>13,H0=W[2]|0,W0=H0&8191,z0=H0>>>13,D0=W[3]|0,L0=D0&8191,k0=D0>>>13,Z0=W[4]|0,r=Z0&8191,U0=Z0>>>13,g0=W[5]|0,M0=g0&8191,R0=g0>>>13,o0=W[6]|0,O0=o0&8191,P0=o0>>>13,q$=W[7]|0,w0=q$&8191,n0=q$>>>13,i$=W[8]|0,s0=i$&8191,Z$=i$>>>13,Lj=W[9]|0,J$=Lj&8191,Y$=Lj>>>13,dj=V[0]|0,M$=dj&8191,F$=dj>>>13,J2=V[1]|0,e=J2&8191,V0=J2>>>13,P$=V[2]|0,l0=P$&8191,d0=P$>>>13,n$=V[3]|0,a0=n$&8191,X$=n$>>>13,u$=V[4]|0,z$=u$&8191,_$=u$>>>13,A2=V[5]|0,L$=A2&8191,I0=A2>>>13,_0=V[6]|0,b0=_0&8191,p0=_0>>>13,c$=V[7]|0,K$=c$&8191,O$=c$>>>13,q2=V[8]|0,E$=q2&8191,D$=q2>>>13,j2=V[9]|0,U$=j2&8191,C$=j2>>>13;D.negative=Q.negative^K.negative,D.length=19,q=Math.imul(y,M$),G=Math.imul(y,F$),G=G+Math.imul(o,M$)|0,C=Math.imul(o,F$);var W2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(W2>>>26)|0,W2&=67108863,q=Math.imul(K0,M$),G=Math.imul(K0,F$),G=G+Math.imul(A0,M$)|0,C=Math.imul(A0,F$),q=q+Math.imul(y,e)|0,G=G+Math.imul(y,V0)|0,G=G+Math.imul(o,e)|0,C=C+Math.imul(o,V0)|0;var Jj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Jj>>>26)|0,Jj&=67108863,q=Math.imul(W0,M$),G=Math.imul(W0,F$),G=G+Math.imul(z0,M$)|0,C=Math.imul(z0,F$),q=q+Math.imul(K0,e)|0,G=G+Math.imul(K0,V0)|0,G=G+Math.imul(A0,e)|0,C=C+Math.imul(A0,V0)|0,q=q+Math.imul(y,l0)|0,G=G+Math.imul(y,d0)|0,G=G+Math.imul(o,l0)|0,C=C+Math.imul(o,d0)|0;var e$=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(e$>>>26)|0,e$&=67108863,q=Math.imul(L0,M$),G=Math.imul(L0,F$),G=G+Math.imul(k0,M$)|0,C=Math.imul(k0,F$),q=q+Math.imul(W0,e)|0,G=G+Math.imul(W0,V0)|0,G=G+Math.imul(z0,e)|0,C=C+Math.imul(z0,V0)|0,q=q+Math.imul(K0,l0)|0,G=G+Math.imul(K0,d0)|0,G=G+Math.imul(A0,l0)|0,C=C+Math.imul(A0,d0)|0,q=q+Math.imul(y,a0)|0,G=G+Math.imul(y,X$)|0,G=G+Math.imul(o,a0)|0,C=C+Math.imul(o,X$)|0;var tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(tj>>>26)|0,tj&=67108863,q=Math.imul(r,M$),G=Math.imul(r,F$),G=G+Math.imul(U0,M$)|0,C=Math.imul(U0,F$),q=q+Math.imul(L0,e)|0,G=G+Math.imul(L0,V0)|0,G=G+Math.imul(k0,e)|0,C=C+Math.imul(k0,V0)|0,q=q+Math.imul(W0,l0)|0,G=G+Math.imul(W0,d0)|0,G=G+Math.imul(z0,l0)|0,C=C+Math.imul(z0,d0)|0,q=q+Math.imul(K0,a0)|0,G=G+Math.imul(K0,X$)|0,G=G+Math.imul(A0,a0)|0,C=C+Math.imul(A0,X$)|0,q=q+Math.imul(y,z$)|0,G=G+Math.imul(y,_$)|0,G=G+Math.imul(o,z$)|0,C=C+Math.imul(o,_$)|0;var Qj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Qj>>>26)|0,Qj&=67108863,q=Math.imul(M0,M$),G=Math.imul(M0,F$),G=G+Math.imul(R0,M$)|0,C=Math.imul(R0,F$),q=q+Math.imul(r,e)|0,G=G+Math.imul(r,V0)|0,G=G+Math.imul(U0,e)|0,C=C+Math.imul(U0,V0)|0,q=q+Math.imul(L0,l0)|0,G=G+Math.imul(L0,d0)|0,G=G+Math.imul(k0,l0)|0,C=C+Math.imul(k0,d0)|0,q=q+Math.imul(W0,a0)|0,G=G+Math.imul(W0,X$)|0,G=G+Math.imul(z0,a0)|0,C=C+Math.imul(z0,X$)|0,q=q+Math.imul(K0,z$)|0,G=G+Math.imul(K0,_$)|0,G=G+Math.imul(A0,z$)|0,C=C+Math.imul(A0,_$)|0,q=q+Math.imul(y,L$)|0,G=G+Math.imul(y,I0)|0,G=G+Math.imul(o,L$)|0,C=C+Math.imul(o,I0)|0;var K2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(K2>>>26)|0,K2&=67108863,q=Math.imul(O0,M$),G=Math.imul(O0,F$),G=G+Math.imul(P0,M$)|0,C=Math.imul(P0,F$),q=q+Math.imul(M0,e)|0,G=G+Math.imul(M0,V0)|0,G=G+Math.imul(R0,e)|0,C=C+Math.imul(R0,V0)|0,q=q+Math.imul(r,l0)|0,G=G+Math.imul(r,d0)|0,G=G+Math.imul(U0,l0)|0,C=C+Math.imul(U0,d0)|0,q=q+Math.imul(L0,a0)|0,G=G+Math.imul(L0,X$)|0,G=G+Math.imul(k0,a0)|0,C=C+Math.imul(k0,X$)|0,q=q+Math.imul(W0,z$)|0,G=G+Math.imul(W0,_$)|0,G=G+Math.imul(z0,z$)|0,C=C+Math.imul(z0,_$)|0,q=q+Math.imul(K0,L$)|0,G=G+Math.imul(K0,I0)|0,G=G+Math.imul(A0,L$)|0,C=C+Math.imul(A0,I0)|0,q=q+Math.imul(y,b0)|0,G=G+Math.imul(y,p0)|0,G=G+Math.imul(o,b0)|0,C=C+Math.imul(o,p0)|0;var N2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(N2>>>26)|0,N2&=67108863,q=Math.imul(w0,M$),G=Math.imul(w0,F$),G=G+Math.imul(n0,M$)|0,C=Math.imul(n0,F$),q=q+Math.imul(O0,e)|0,G=G+Math.imul(O0,V0)|0,G=G+Math.imul(P0,e)|0,C=C+Math.imul(P0,V0)|0,q=q+Math.imul(M0,l0)|0,G=G+Math.imul(M0,d0)|0,G=G+Math.imul(R0,l0)|0,C=C+Math.imul(R0,d0)|0,q=q+Math.imul(r,a0)|0,G=G+Math.imul(r,X$)|0,G=G+Math.imul(U0,a0)|0,C=C+Math.imul(U0,X$)|0,q=q+Math.imul(L0,z$)|0,G=G+Math.imul(L0,_$)|0,G=G+Math.imul(k0,z$)|0,C=C+Math.imul(k0,_$)|0,q=q+Math.imul(W0,L$)|0,G=G+Math.imul(W0,I0)|0,G=G+Math.imul(z0,L$)|0,C=C+Math.imul(z0,I0)|0,q=q+Math.imul(K0,b0)|0,G=G+Math.imul(K0,p0)|0,G=G+Math.imul(A0,b0)|0,C=C+Math.imul(A0,p0)|0,q=q+Math.imul(y,K$)|0,G=G+Math.imul(y,O$)|0,G=G+Math.imul(o,K$)|0,C=C+Math.imul(o,O$)|0;var O2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(O2>>>26)|0,O2&=67108863,q=Math.imul(s0,M$),G=Math.imul(s0,F$),G=G+Math.imul(Z$,M$)|0,C=Math.imul(Z$,F$),q=q+Math.imul(w0,e)|0,G=G+Math.imul(w0,V0)|0,G=G+Math.imul(n0,e)|0,C=C+Math.imul(n0,V0)|0,q=q+Math.imul(O0,l0)|0,G=G+Math.imul(O0,d0)|0,G=G+Math.imul(P0,l0)|0,C=C+Math.imul(P0,d0)|0,q=q+Math.imul(M0,a0)|0,G=G+Math.imul(M0,X$)|0,G=G+Math.imul(R0,a0)|0,C=C+Math.imul(R0,X$)|0,q=q+Math.imul(r,z$)|0,G=G+Math.imul(r,_$)|0,G=G+Math.imul(U0,z$)|0,C=C+Math.imul(U0,_$)|0,q=q+Math.imul(L0,L$)|0,G=G+Math.imul(L0,I0)|0,G=G+Math.imul(k0,L$)|0,C=C+Math.imul(k0,I0)|0,q=q+Math.imul(W0,b0)|0,G=G+Math.imul(W0,p0)|0,G=G+Math.imul(z0,b0)|0,C=C+Math.imul(z0,p0)|0,q=q+Math.imul(K0,K$)|0,G=G+Math.imul(K0,O$)|0,G=G+Math.imul(A0,K$)|0,C=C+Math.imul(A0,O$)|0,q=q+Math.imul(y,E$)|0,G=G+Math.imul(y,D$)|0,G=G+Math.imul(o,E$)|0,C=C+Math.imul(o,D$)|0;var $U=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+($U>>>26)|0,$U&=67108863,q=Math.imul(J$,M$),G=Math.imul(J$,F$),G=G+Math.imul(Y$,M$)|0,C=Math.imul(Y$,F$),q=q+Math.imul(s0,e)|0,G=G+Math.imul(s0,V0)|0,G=G+Math.imul(Z$,e)|0,C=C+Math.imul(Z$,V0)|0,q=q+Math.imul(w0,l0)|0,G=G+Math.imul(w0,d0)|0,G=G+Math.imul(n0,l0)|0,C=C+Math.imul(n0,d0)|0,q=q+Math.imul(O0,a0)|0,G=G+Math.imul(O0,X$)|0,G=G+Math.imul(P0,a0)|0,C=C+Math.imul(P0,X$)|0,q=q+Math.imul(M0,z$)|0,G=G+Math.imul(M0,_$)|0,G=G+Math.imul(R0,z$)|0,C=C+Math.imul(R0,_$)|0,q=q+Math.imul(r,L$)|0,G=G+Math.imul(r,I0)|0,G=G+Math.imul(U0,L$)|0,C=C+Math.imul(U0,I0)|0,q=q+Math.imul(L0,b0)|0,G=G+Math.imul(L0,p0)|0,G=G+Math.imul(k0,b0)|0,C=C+Math.imul(k0,p0)|0,q=q+Math.imul(W0,K$)|0,G=G+Math.imul(W0,O$)|0,G=G+Math.imul(z0,K$)|0,C=C+Math.imul(z0,O$)|0,q=q+Math.imul(K0,E$)|0,G=G+Math.imul(K0,D$)|0,G=G+Math.imul(A0,E$)|0,C=C+Math.imul(A0,D$)|0,q=q+Math.imul(y,U$)|0,G=G+Math.imul(y,C$)|0,G=G+Math.imul(o,U$)|0,C=C+Math.imul(o,C$)|0;var Tj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Tj>>>26)|0,Tj&=67108863,q=Math.imul(J$,e),G=Math.imul(J$,V0),G=G+Math.imul(Y$,e)|0,C=Math.imul(Y$,V0),q=q+Math.imul(s0,l0)|0,G=G+Math.imul(s0,d0)|0,G=G+Math.imul(Z$,l0)|0,C=C+Math.imul(Z$,d0)|0,q=q+Math.imul(w0,a0)|0,G=G+Math.imul(w0,X$)|0,G=G+Math.imul(n0,a0)|0,C=C+Math.imul(n0,X$)|0,q=q+Math.imul(O0,z$)|0,G=G+Math.imul(O0,_$)|0,G=G+Math.imul(P0,z$)|0,C=C+Math.imul(P0,_$)|0,q=q+Math.imul(M0,L$)|0,G=G+Math.imul(M0,I0)|0,G=G+Math.imul(R0,L$)|0,C=C+Math.imul(R0,I0)|0,q=q+Math.imul(r,b0)|0,G=G+Math.imul(r,p0)|0,G=G+Math.imul(U0,b0)|0,C=C+Math.imul(U0,p0)|0,q=q+Math.imul(L0,K$)|0,G=G+Math.imul(L0,O$)|0,G=G+Math.imul(k0,K$)|0,C=C+Math.imul(k0,O$)|0,q=q+Math.imul(W0,E$)|0,G=G+Math.imul(W0,D$)|0,G=G+Math.imul(z0,E$)|0,C=C+Math.imul(z0,D$)|0,q=q+Math.imul(K0,U$)|0,G=G+Math.imul(K0,C$)|0,G=G+Math.imul(A0,U$)|0,C=C+Math.imul(A0,C$)|0;var uj=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(uj>>>26)|0,uj&=67108863,q=Math.imul(J$,l0),G=Math.imul(J$,d0),G=G+Math.imul(Y$,l0)|0,C=Math.imul(Y$,d0),q=q+Math.imul(s0,a0)|0,G=G+Math.imul(s0,X$)|0,G=G+Math.imul(Z$,a0)|0,C=C+Math.imul(Z$,X$)|0,q=q+Math.imul(w0,z$)|0,G=G+Math.imul(w0,_$)|0,G=G+Math.imul(n0,z$)|0,C=C+Math.imul(n0,_$)|0,q=q+Math.imul(O0,L$)|0,G=G+Math.imul(O0,I0)|0,G=G+Math.imul(P0,L$)|0,C=C+Math.imul(P0,I0)|0,q=q+Math.imul(M0,b0)|0,G=G+Math.imul(M0,p0)|0,G=G+Math.imul(R0,b0)|0,C=C+Math.imul(R0,p0)|0,q=q+Math.imul(r,K$)|0,G=G+Math.imul(r,O$)|0,G=G+Math.imul(U0,K$)|0,C=C+Math.imul(U0,O$)|0,q=q+Math.imul(L0,E$)|0,G=G+Math.imul(L0,D$)|0,G=G+Math.imul(k0,E$)|0,C=C+Math.imul(k0,D$)|0,q=q+Math.imul(W0,U$)|0,G=G+Math.imul(W0,C$)|0,G=G+Math.imul(z0,U$)|0,C=C+Math.imul(z0,C$)|0;var V2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(V2>>>26)|0,V2&=67108863,q=Math.imul(J$,a0),G=Math.imul(J$,X$),G=G+Math.imul(Y$,a0)|0,C=Math.imul(Y$,X$),q=q+Math.imul(s0,z$)|0,G=G+Math.imul(s0,_$)|0,G=G+Math.imul(Z$,z$)|0,C=C+Math.imul(Z$,_$)|0,q=q+Math.imul(w0,L$)|0,G=G+Math.imul(w0,I0)|0,G=G+Math.imul(n0,L$)|0,C=C+Math.imul(n0,I0)|0,q=q+Math.imul(O0,b0)|0,G=G+Math.imul(O0,p0)|0,G=G+Math.imul(P0,b0)|0,C=C+Math.imul(P0,p0)|0,q=q+Math.imul(M0,K$)|0,G=G+Math.imul(M0,O$)|0,G=G+Math.imul(R0,K$)|0,C=C+Math.imul(R0,O$)|0,q=q+Math.imul(r,E$)|0,G=G+Math.imul(r,D$)|0,G=G+Math.imul(U0,E$)|0,C=C+Math.imul(U0,D$)|0,q=q+Math.imul(L0,U$)|0,G=G+Math.imul(L0,C$)|0,G=G+Math.imul(k0,U$)|0,C=C+Math.imul(k0,C$)|0;var S2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(S2>>>26)|0,S2&=67108863,q=Math.imul(J$,z$),G=Math.imul(J$,_$),G=G+Math.imul(Y$,z$)|0,C=Math.imul(Y$,_$),q=q+Math.imul(s0,L$)|0,G=G+Math.imul(s0,I0)|0,G=G+Math.imul(Z$,L$)|0,C=C+Math.imul(Z$,I0)|0,q=q+Math.imul(w0,b0)|0,G=G+Math.imul(w0,p0)|0,G=G+Math.imul(n0,b0)|0,C=C+Math.imul(n0,p0)|0,q=q+Math.imul(O0,K$)|0,G=G+Math.imul(O0,O$)|0,G=G+Math.imul(P0,K$)|0,C=C+Math.imul(P0,O$)|0,q=q+Math.imul(M0,E$)|0,G=G+Math.imul(M0,D$)|0,G=G+Math.imul(R0,E$)|0,C=C+Math.imul(R0,D$)|0,q=q+Math.imul(r,U$)|0,G=G+Math.imul(r,C$)|0,G=G+Math.imul(U0,U$)|0,C=C+Math.imul(U0,C$)|0;var Q2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(Q2>>>26)|0,Q2&=67108863,q=Math.imul(J$,L$),G=Math.imul(J$,I0),G=G+Math.imul(Y$,L$)|0,C=Math.imul(Y$,I0),q=q+Math.imul(s0,b0)|0,G=G+Math.imul(s0,p0)|0,G=G+Math.imul(Z$,b0)|0,C=C+Math.imul(Z$,p0)|0,q=q+Math.imul(w0,K$)|0,G=G+Math.imul(w0,O$)|0,G=G+Math.imul(n0,K$)|0,C=C+Math.imul(n0,O$)|0,q=q+Math.imul(O0,E$)|0,G=G+Math.imul(O0,D$)|0,G=G+Math.imul(P0,E$)|0,C=C+Math.imul(P0,D$)|0,q=q+Math.imul(M0,U$)|0,G=G+Math.imul(M0,C$)|0,G=G+Math.imul(R0,U$)|0,C=C+Math.imul(R0,C$)|0;var m2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(m2>>>26)|0,m2&=67108863,q=Math.imul(J$,b0),G=Math.imul(J$,p0),G=G+Math.imul(Y$,b0)|0,C=Math.imul(Y$,p0),q=q+Math.imul(s0,K$)|0,G=G+Math.imul(s0,O$)|0,G=G+Math.imul(Z$,K$)|0,C=C+Math.imul(Z$,O$)|0,q=q+Math.imul(w0,E$)|0,G=G+Math.imul(w0,D$)|0,G=G+Math.imul(n0,E$)|0,C=C+Math.imul(n0,D$)|0,q=q+Math.imul(O0,U$)|0,G=G+Math.imul(O0,C$)|0,G=G+Math.imul(P0,U$)|0,C=C+Math.imul(P0,C$)|0;var w2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(w2>>>26)|0,w2&=67108863,q=Math.imul(J$,K$),G=Math.imul(J$,O$),G=G+Math.imul(Y$,K$)|0,C=Math.imul(Y$,O$),q=q+Math.imul(s0,E$)|0,G=G+Math.imul(s0,D$)|0,G=G+Math.imul(Z$,E$)|0,C=C+Math.imul(Z$,D$)|0,q=q+Math.imul(w0,U$)|0,G=G+Math.imul(w0,C$)|0,G=G+Math.imul(n0,U$)|0,C=C+Math.imul(n0,C$)|0;var D2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(D2>>>26)|0,D2&=67108863,q=Math.imul(J$,E$),G=Math.imul(J$,D$),G=G+Math.imul(Y$,E$)|0,C=Math.imul(Y$,D$),q=q+Math.imul(s0,U$)|0,G=G+Math.imul(s0,C$)|0,G=G+Math.imul(Z$,U$)|0,C=C+Math.imul(Z$,C$)|0;var F2=(N+q|0)+((G&8191)<<13)|0;N=(C+(G>>>13)|0)+(F2>>>26)|0,F2&=67108863,q=Math.imul(J$,U$),G=Math.imul(J$,C$),G=G+Math.imul(Y$,U$)|0,C=Math.imul(Y$,C$);var P2=(N+q|0)+((G&8191)<<13)|0;if(N=(C+(G>>>13)|0)+(P2>>>26)|0,P2&=67108863,R[0]=W2,R[1]=Jj,R[2]=e$,R[3]=tj,R[4]=Qj,R[5]=K2,R[6]=N2,R[7]=O2,R[8]=$U,R[9]=Tj,R[10]=uj,R[11]=V2,R[12]=S2,R[13]=Q2,R[14]=m2,R[15]=w2,R[16]=D2,R[17]=F2,R[18]=P2,N!==0)R[19]=N,D.length++;return D};if(!Math.imul)h=u;function i(Q,K,D){D.negative=K.negative^Q.negative,D.length=Q.length+K.length;var W=0,V=0;for(var R=0;R<D.length-1;R++){var N=V;V=0;var q=W&67108863,G=Math.min(R,K.length-1);for(var C=Math.max(0,R-Q.length+1);C<=G;C++){var b=R-C,y=Q.words[b]|0,o=K.words[C]|0,J0=y*o,K0=J0&67108863;N=N+(J0/67108864|0)|0,K0=K0+q|0,q=K0&67108863,N=N+(K0>>>26)|0,V+=N>>>26,N&=67108863}D.words[R]=q,W=N,N=V}if(W!==0)D.words[R]=W;else D.length--;return D.strip()}function m(Q,K,D){var W=new n;return W.mulp(Q,K,D)}Y.prototype.mulTo=function(Q,K){var D,W=this.length+Q.length;if(this.length===10&&Q.length===10)D=h(this,Q,K);else if(W<63)D=u(this,Q,K);else if(W<1024)D=i(this,Q,K);else D=m(this,Q,K);return D};function n(Q,K){this.x=Q,this.y=K}n.prototype.makeRBT=function(Q){var K=Array(Q),D=Y.prototype._countBits(Q)-1;for(var W=0;W<Q;W++)K[W]=this.revBin(W,D,Q);return K},n.prototype.revBin=function(Q,K,D){if(Q===0||Q===D-1)return Q;var W=0;for(var V=0;V<K;V++)W|=(Q&1)<<K-V-1,Q>>=1;return W},n.prototype.permute=function(Q,K,D,W,V,R){for(var N=0;N<R;N++)W[N]=K[Q[N]],V[N]=D[Q[N]]},n.prototype.transform=function(Q,K,D,W,V,R){this.permute(R,Q,K,D,W,V);for(var N=1;N<V;N<<=1){var q=N<<1,G=Math.cos(2*Math.PI/q),C=Math.sin(2*Math.PI/q);for(var b=0;b<V;b+=q){var y=G,o=C;for(var J0=0;J0<N;J0++){var K0=D[b+J0],A0=W[b+J0],H0=D[b+J0+N],W0=W[b+J0+N],z0=y*H0-o*W0;if(W0=y*W0+o*H0,H0=z0,D[b+J0]=K0+H0,W[b+J0]=A0+W0,D[b+J0+N]=K0-H0,W[b+J0+N]=A0-W0,J0!==q)z0=G*y-C*o,o=G*o+C*y,y=z0}}}},n.prototype.guessLen13b=function(Q,K){var D=Math.max(K,Q)|1,W=D&1,V=0;for(D=D/2|0;D;D=D>>>1)V++;return 1<<V+1+W},n.prototype.conjugate=function(Q,K,D){if(D<=1)return;for(var W=0;W<D/2;W++){var V=Q[W];Q[W]=Q[D-W-1],Q[D-W-1]=V,V=K[W],K[W]=-K[D-W-1],K[D-W-1]=-V}},n.prototype.normalize13b=function(Q,K){var D=0;for(var W=0;W<K/2;W++){var V=Math.round(Q[2*W+1]/K)*8192+Math.round(Q[2*W]/K)+D;if(Q[W]=V&67108863,V<67108864)D=0;else D=V/67108864|0}return Q},n.prototype.convert13b=function(Q,K,D,W){var V=0;for(var R=0;R<K;R++)V=V+(Q[R]|0),D[2*R]=V&8191,V=V>>>13,D[2*R+1]=V&8191,V=V>>>13;for(R=2*K;R<W;++R)D[R]=0;v(V===0),v((V&-8192)===0)},n.prototype.stub=function(Q){var K=Array(Q);for(var D=0;D<Q;D++)K[D]=0;return K},n.prototype.mulp=function(Q,K,D){var W=2*this.guessLen13b(Q.length,K.length),V=this.makeRBT(W),R=this.stub(W),N=Array(W),q=Array(W),G=Array(W),C=Array(W),b=Array(W),y=Array(W),o=D.words;o.length=W,this.convert13b(Q.words,Q.length,N,W),this.convert13b(K.words,K.length,C,W),this.transform(N,R,q,G,W,V),this.transform(C,R,b,y,W,V);for(var J0=0;J0<W;J0++){var K0=q[J0]*b[J0]-G[J0]*y[J0];G[J0]=q[J0]*y[J0]+G[J0]*b[J0],q[J0]=K0}return this.conjugate(q,G,W),this.transform(q,G,o,R,W,V),this.conjugate(o,R,W),this.normalize13b(o,W),D.negative=Q.negative^K.negative,D.length=Q.length+K.length,D.strip()},Y.prototype.mul=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),this.mulTo(Q,K)},Y.prototype.mulf=function(Q){var K=new Y(null);return K.words=Array(this.length+Q.length),m(this,Q,K)},Y.prototype.imul=function(Q){return this.clone().mulTo(Q,this)},Y.prototype.imuln=function(Q){v(typeof Q==="number"),v(Q<67108864);var K=0;for(var D=0;D<this.length;D++){var W=(this.words[D]|0)*Q,V=(W&67108863)+(K&67108863);K>>=26,K+=W/67108864|0,K+=V>>>26,this.words[D]=V&67108863}if(K!==0)this.words[D]=K,this.length++;return this.length=Q===0?1:this.length,this},Y.prototype.muln=function(Q){return this.clone().imuln(Q)},Y.prototype.sqr=function(){return this.mul(this)},Y.prototype.isqr=function(){return this.imul(this.clone())},Y.prototype.pow=function(Q){var K=x(Q);if(K.length===0)return new Y(1);var D=this;for(var W=0;W<K.length;W++,D=D.sqr())if(K[W]!==0)break;if(++W<K.length)for(var V=D.sqr();W<K.length;W++,V=V.sqr()){if(K[W]===0)continue;D=D.mul(V)}return D},Y.prototype.iushln=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=67108863>>>26-K<<26-K,V;if(K!==0){var R=0;for(V=0;V<this.length;V++){var N=this.words[V]&W,q=(this.words[V]|0)-N<<K;this.words[V]=q|R,R=N>>>26-K}if(R)this.words[V]=R,this.length++}if(D!==0){for(V=this.length-1;V>=0;V--)this.words[V+D]=this.words[V];for(V=0;V<D;V++)this.words[V]=0;this.length+=D}return this.strip()},Y.prototype.ishln=function(Q){return v(this.negative===0),this.iushln(Q)},Y.prototype.iushrn=function(Q,K,D){v(typeof Q==="number"&&Q>=0);var W;if(K)W=(K-K%26)/26;else W=0;var V=Q%26,R=Math.min((Q-V)/26,this.length),N=67108863^67108863>>>V<<V,q=D;if(W-=R,W=Math.max(0,W),q){for(var G=0;G<R;G++)q.words[G]=this.words[G];q.length=R}if(R===0);else if(this.length>R){this.length-=R;for(G=0;G<this.length;G++)this.words[G]=this.words[G+R]}else this.words[0]=0,this.length=1;var C=0;for(G=this.length-1;G>=0&&(C!==0||G>=W);G--){var b=this.words[G]|0;this.words[G]=C<<26-V|b>>>V,C=b&N}if(q&&C!==0)q.words[q.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Y.prototype.ishrn=function(Q,K,D){return v(this.negative===0),this.iushrn(Q,K,D)},Y.prototype.shln=function(Q){return this.clone().ishln(Q)},Y.prototype.ushln=function(Q){return this.clone().iushln(Q)},Y.prototype.shrn=function(Q){return this.clone().ishrn(Q)},Y.prototype.ushrn=function(Q){return this.clone().iushrn(Q)},Y.prototype.testn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return!1;var V=this.words[D];return!!(V&W)},Y.prototype.imaskn=function(Q){v(typeof Q==="number"&&Q>=0);var K=Q%26,D=(Q-K)/26;if(v(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(K!==0)D++;if(this.length=Math.min(D,this.length),K!==0){var W=67108863^67108863>>>K<<K;this.words[this.length-1]&=W}return this.strip()},Y.prototype.maskn=function(Q){return this.clone().imaskn(Q)},Y.prototype.iaddn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.isubn(-Q);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<Q)return this.words[0]=Q-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(Q),this.negative=1,this}return this._iaddn(Q)},Y.prototype._iaddn=function(Q){this.words[0]+=Q;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},Y.prototype.isubn=function(Q){if(v(typeof Q==="number"),v(Q<67108864),Q<0)return this.iaddn(-Q);if(this.negative!==0)return this.negative=0,this.iaddn(Q),this.negative=1,this;if(this.words[0]-=Q,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()},Y.prototype.addn=function(Q){return this.clone().iaddn(Q)},Y.prototype.subn=function(Q){return this.clone().isubn(Q)},Y.prototype.iabs=function(){return this.negative=0,this},Y.prototype.abs=function(){return this.clone().iabs()},Y.prototype._ishlnsubmul=function(Q,K,D){var W=Q.length+D,V;this._expand(W);var R,N=0;for(V=0;V<Q.length;V++){R=(this.words[V+D]|0)+N;var q=(Q.words[V]|0)*K;R-=q&67108863,N=(R>>26)-(q/67108864|0),this.words[V+D]=R&67108863}for(;V<this.length-D;V++)R=(this.words[V+D]|0)+N,N=R>>26,this.words[V+D]=R&67108863;if(N===0)return this.strip();v(N===-1),N=0;for(V=0;V<this.length;V++)R=-(this.words[V]|0)+N,N=R>>26,this.words[V]=R&67108863;return this.negative=1,this.strip()},Y.prototype._wordDiv=function(Q,K){var D=this.length-Q.length,W=this.clone(),V=Q,R=V.words[V.length-1]|0,N=this._countBits(R);if(D=26-N,D!==0)V=V.ushln(D),W.iushln(D),R=V.words[V.length-1]|0;var q=W.length-V.length,G;if(K!=="mod"){G=new Y(null),G.length=q+1,G.words=Array(G.length);for(var C=0;C<G.length;C++)G.words[C]=0}var b=W.clone()._ishlnsubmul(V,1,q);if(b.negative===0){if(W=b,G)G.words[q]=1}for(var y=q-1;y>=0;y--){var o=(W.words[V.length+y]|0)*67108864+(W.words[V.length+y-1]|0);o=Math.min(o/R|0,67108863),W._ishlnsubmul(V,o,y);while(W.negative!==0)if(o--,W.negative=0,W._ishlnsubmul(V,1,y),!W.isZero())W.negative^=1;if(G)G.words[y]=o}if(G)G.strip();if(W.strip(),K!=="div"&&D!==0)W.iushrn(D);return{div:G||null,mod:W}},Y.prototype.divmod=function(Q,K,D){if(v(!Q.isZero()),this.isZero())return{div:new Y(0),mod:new Y(0)};var W,V,R;if(this.negative!==0&&Q.negative===0){if(R=this.neg().divmod(Q,K),K!=="mod")W=R.div.neg();if(K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.iadd(Q)}return{div:W,mod:V}}if(this.negative===0&&Q.negative!==0){if(R=this.divmod(Q.neg(),K),K!=="mod")W=R.div.neg();return{div:W,mod:R.mod}}if((this.negative&Q.negative)!==0){if(R=this.neg().divmod(Q.neg(),K),K!=="div"){if(V=R.mod.neg(),D&&V.negative!==0)V.isub(Q)}return{div:R.div,mod:V}}if(Q.length>this.length||this.cmp(Q)<0)return{div:new Y(0),mod:this};if(Q.length===1){if(K==="div")return{div:this.divn(Q.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Y(this.modn(Q.words[0]))};return{div:this.divn(Q.words[0]),mod:new Y(this.modn(Q.words[0]))}}return this._wordDiv(Q,K)},Y.prototype.div=function(Q){return this.divmod(Q,"div",!1).div},Y.prototype.mod=function(Q){return this.divmod(Q,"mod",!1).mod},Y.prototype.umod=function(Q){return this.divmod(Q,"mod",!0).mod},Y.prototype.divRound=function(Q){var K=this.divmod(Q);if(K.mod.isZero())return K.div;var D=K.div.negative!==0?K.mod.isub(Q):K.mod,W=Q.ushrn(1),V=Q.andln(1),R=D.cmp(W);if(R<0||V===1&&R===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Y.prototype.modn=function(Q){v(Q<=67108863);var K=67108864%Q,D=0;for(var W=this.length-1;W>=0;W--)D=(K*D+(this.words[W]|0))%Q;return D},Y.prototype.idivn=function(Q){v(Q<=67108863);var K=0;for(var D=this.length-1;D>=0;D--){var W=(this.words[D]|0)+K*67108864;this.words[D]=W/Q|0,K=W%Q}return this.strip()},Y.prototype.divn=function(Q){return this.clone().idivn(Q)},Y.prototype.egcd=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=new Y(0),N=new Y(1),q=0;while(K.isEven()&&D.isEven())K.iushrn(1),D.iushrn(1),++q;var G=D.clone(),C=K.clone();while(!K.isZero()){for(var b=0,y=1;(K.words[0]&y)===0&&b<26;++b,y<<=1);if(b>0){K.iushrn(b);while(b-- >0){if(W.isOdd()||V.isOdd())W.iadd(G),V.isub(C);W.iushrn(1),V.iushrn(1)}}for(var o=0,J0=1;(D.words[0]&J0)===0&&o<26;++o,J0<<=1);if(o>0){D.iushrn(o);while(o-- >0){if(R.isOdd()||N.isOdd())R.iadd(G),N.isub(C);R.iushrn(1),N.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(R),V.isub(N);else D.isub(K),R.isub(W),N.isub(V)}return{a:R,b:N,gcd:D.iushln(q)}},Y.prototype._invmp=function(Q){v(Q.negative===0),v(!Q.isZero());var K=this,D=Q.clone();if(K.negative!==0)K=K.umod(Q);else K=K.clone();var W=new Y(1),V=new Y(0),R=D.clone();while(K.cmpn(1)>0&&D.cmpn(1)>0){for(var N=0,q=1;(K.words[0]&q)===0&&N<26;++N,q<<=1);if(N>0){K.iushrn(N);while(N-- >0){if(W.isOdd())W.iadd(R);W.iushrn(1)}}for(var G=0,C=1;(D.words[0]&C)===0&&G<26;++G,C<<=1);if(G>0){D.iushrn(G);while(G-- >0){if(V.isOdd())V.iadd(R);V.iushrn(1)}}if(K.cmp(D)>=0)K.isub(D),W.isub(V);else D.isub(K),V.isub(W)}var b;if(K.cmpn(1)===0)b=W;else b=V;if(b.cmpn(0)<0)b.iadd(Q);return b},Y.prototype.gcd=function(Q){if(this.isZero())return Q.abs();if(Q.isZero())return this.abs();var K=this.clone(),D=Q.clone();K.negative=0,D.negative=0;for(var W=0;K.isEven()&&D.isEven();W++)K.iushrn(1),D.iushrn(1);do{while(K.isEven())K.iushrn(1);while(D.isEven())D.iushrn(1);var V=K.cmp(D);if(V<0){var R=K;K=D,D=R}else if(V===0||D.cmpn(1)===0)break;K.isub(D)}while(!0);return D.iushln(W)},Y.prototype.invm=function(Q){return this.egcd(Q).a.umod(Q)},Y.prototype.isEven=function(){return(this.words[0]&1)===0},Y.prototype.isOdd=function(){return(this.words[0]&1)===1},Y.prototype.andln=function(Q){return this.words[0]&Q},Y.prototype.bincn=function(Q){v(typeof Q==="number");var K=Q%26,D=(Q-K)/26,W=1<<K;if(this.length<=D)return this._expand(D+1),this.words[D]|=W,this;var V=W;for(var R=D;V!==0&&R<this.length;R++){var N=this.words[R]|0;N+=V,V=N>>>26,N&=67108863,this.words[R]=N}if(V!==0)this.words[R]=V,this.length++;return this},Y.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Y.prototype.cmpn=function(Q){var K=Q<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var D;if(this.length>1)D=1;else{if(K)Q=-Q;v(Q<=67108863,"Number is too big");var W=this.words[0]|0;D=W===Q?0:W<Q?-1:1}if(this.negative!==0)return-D|0;return D},Y.prototype.cmp=function(Q){if(this.negative!==0&&Q.negative===0)return-1;if(this.negative===0&&Q.negative!==0)return 1;var K=this.ucmp(Q);if(this.negative!==0)return-K|0;return K},Y.prototype.ucmp=function(Q){if(this.length>Q.length)return 1;if(this.length<Q.length)return-1;var K=0;for(var D=this.length-1;D>=0;D--){var W=this.words[D]|0,V=Q.words[D]|0;if(W===V)continue;if(W<V)K=-1;else if(W>V)K=1;break}return K},Y.prototype.gtn=function(Q){return this.cmpn(Q)===1},Y.prototype.gt=function(Q){return this.cmp(Q)===1},Y.prototype.gten=function(Q){return this.cmpn(Q)>=0},Y.prototype.gte=function(Q){return this.cmp(Q)>=0},Y.prototype.ltn=function(Q){return this.cmpn(Q)===-1},Y.prototype.lt=function(Q){return this.cmp(Q)===-1},Y.prototype.lten=function(Q){return this.cmpn(Q)<=0},Y.prototype.lte=function(Q){return this.cmp(Q)<=0},Y.prototype.eqn=function(Q){return this.cmpn(Q)===0},Y.prototype.eq=function(Q){return this.cmp(Q)===0},Y.red=function(Q){return new X0(Q)},Y.prototype.toRed=function(Q){return v(!this.red,"Already a number in reduction context"),v(this.negative===0,"red works only with positives"),Q.convertTo(this)._forceRed(Q)},Y.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Y.prototype._forceRed=function(Q){return this.red=Q,this},Y.prototype.forceRed=function(Q){return v(!this.red,"Already a number in reduction context"),this._forceRed(Q)},Y.prototype.redAdd=function(Q){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,Q)},Y.prototype.redIAdd=function(Q){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Q)},Y.prototype.redSub=function(Q){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,Q)},Y.prototype.redISub=function(Q){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,Q)},Y.prototype.redShl=function(Q){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,Q)},Y.prototype.redMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.mul(this,Q)},Y.prototype.redIMul=function(Q){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,Q),this.red.imul(this,Q)},Y.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Y.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Y.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Y.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Y.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Y.prototype.redPow=function(Q){return v(this.red&&!Q.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Q)};var a={k256:null,p224:null,p192:null,p25519:null};function j0(Q,K){this.name=Q,this.p=new Y(K,16),this.n=this.p.bitLength(),this.k=new Y(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j0.prototype._tmp=function(){var Q=new Y(null);return Q.words=Array(Math.ceil(this.n/13)),Q},j0.prototype.ireduce=function(Q){var K=Q,D;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),D=K.bitLength();while(D>this.n);var W=D<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},j0.prototype.split=function(Q,K){Q.iushrn(this.n,0,K)},j0.prototype.imulK=function(Q){return Q.imul(this.k)};function Y0(){j0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Z(Y0,j0),Y0.prototype.split=function(Q,K){var D=4194303,W=Math.min(Q.length,9);for(var V=0;V<W;V++)K.words[V]=Q.words[V];if(K.length=W,Q.length<=9){Q.words[0]=0,Q.length=1;return}var R=Q.words[9];K.words[K.length++]=R&D;for(V=10;V<Q.length;V++){var N=Q.words[V]|0;Q.words[V-10]=(N&D)<<4|R>>>22,R=N}if(R>>>=22,Q.words[V-10]=R,R===0&&Q.length>10)Q.length-=10;else Q.length-=9},Y0.prototype.imulK=function(Q){Q.words[Q.length]=0,Q.words[Q.length+1]=0,Q.length+=2;var K=0;for(var D=0;D<Q.length;D++){var W=Q.words[D]|0;K+=W*977,Q.words[D]=K&67108863,K=W*64+(K/67108864|0)}if(Q.words[Q.length-1]===0){if(Q.length--,Q.words[Q.length-1]===0)Q.length--}return Q};function C0(){j0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Z(C0,j0);function S0(){j0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Z(S0,j0);function h0(){j0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Z(h0,j0),h0.prototype.imulK=function(Q){var K=0;for(var D=0;D<Q.length;D++){var W=(Q.words[D]|0)*19+K,V=W&67108863;W>>>=26,Q.words[D]=V,K=W}if(K!==0)Q.words[Q.length++]=K;return Q},Y._prime=function(Q){if(a[Q])return a[Q];var K;if(Q==="k256")K=new Y0;else if(Q==="p224")K=new C0;else if(Q==="p192")K=new S0;else if(Q==="p25519")K=new h0;else throw Error("Unknown prime "+Q);return a[Q]=K,K};function X0(Q){if(typeof Q==="string"){var K=Y._prime(Q);this.m=K.p,this.prime=K}else v(Q.gtn(1),"modulus must be greater than 1"),this.m=Q,this.prime=null}X0.prototype._verify1=function(Q){v(Q.negative===0,"red works only with positives"),v(Q.red,"red works only with red numbers")},X0.prototype._verify2=function(Q,K){v((Q.negative|K.negative)===0,"red works only with positives"),v(Q.red&&Q.red===K.red,"red works only with red numbers")},X0.prototype.imod=function(Q){if(this.prime)return this.prime.ireduce(Q)._forceRed(this);return Q.umod(this.m)._forceRed(this)},X0.prototype.neg=function(Q){if(Q.isZero())return Q.clone();return this.m.sub(Q)._forceRed(this)},X0.prototype.add=function(Q,K){this._verify2(Q,K);var D=Q.add(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},X0.prototype.iadd=function(Q,K){this._verify2(Q,K);var D=Q.iadd(K);if(D.cmp(this.m)>=0)D.isub(this.m);return D},X0.prototype.sub=function(Q,K){this._verify2(Q,K);var D=Q.sub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},X0.prototype.isub=function(Q,K){this._verify2(Q,K);var D=Q.isub(K);if(D.cmpn(0)<0)D.iadd(this.m);return D},X0.prototype.shl=function(Q,K){return this._verify1(Q),this.imod(Q.ushln(K))},X0.prototype.imul=function(Q,K){return this._verify2(Q,K),this.imod(Q.imul(K))},X0.prototype.mul=function(Q,K){return this._verify2(Q,K),this.imod(Q.mul(K))},X0.prototype.isqr=function(Q){return this.imul(Q,Q.clone())},X0.prototype.sqr=function(Q){return this.mul(Q,Q)},X0.prototype.sqrt=function(Q){if(Q.isZero())return Q.clone();var K=this.m.andln(3);if(v(K%2===1),K===3){var D=this.m.add(new Y(1)).iushrn(2);return this.pow(Q,D)}var W=this.m.subn(1),V=0;while(!W.isZero()&&W.andln(1)===0)V++,W.iushrn(1);v(!W.isZero());var R=new Y(1).toRed(this),N=R.redNeg(),q=this.m.subn(1).iushrn(1),G=this.m.bitLength();G=new Y(2*G*G).toRed(this);while(this.pow(G,q).cmp(N)!==0)G.redIAdd(N);var C=this.pow(G,W),b=this.pow(Q,W.addn(1).iushrn(1)),y=this.pow(Q,W),o=V;while(y.cmp(R)!==0){var J0=y;for(var K0=0;J0.cmp(R)!==0;K0++)J0=J0.redSqr();v(K0<o);var A0=this.pow(C,new Y(1).iushln(o-K0-1));b=b.redMul(A0),C=A0.redSqr(),y=y.redMul(C),o=K0}return b},X0.prototype.invm=function(Q){var K=Q._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},X0.prototype.pow=function(Q,K){if(K.isZero())return new Y(1).toRed(this);if(K.cmpn(1)===0)return Q.clone();var D=4,W=Array(1<<D);W[0]=new Y(1).toRed(this),W[1]=Q;for(var V=2;V<W.length;V++)W[V]=this.mul(W[V-1],Q);var R=W[0],N=0,q=0,G=K.bitLength()%26;if(G===0)G=26;for(V=K.length-1;V>=0;V--){var C=K.words[V];for(var b=G-1;b>=0;b--){var y=C>>b&1;if(R!==W[0])R=this.sqr(R);if(y===0&&N===0){q=0;continue}if(N<<=1,N|=y,q++,q!==D&&(V!==0||b!==0))continue;R=this.mul(R,W[N]),q=0,N=0}G=26}return R},X0.prototype.convertTo=function(Q){var K=Q.umod(this.m);return K===Q?K.clone():K},X0.prototype.convertFrom=function(Q){var K=Q.clone();return K.red=null,K},Y.mont=function(Q){return new x0(Q)};function x0(Q){if(X0.call(this,Q),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Y(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(x0,X0),x0.prototype.convertTo=function(Q){return this.imod(Q.ushln(this.shift))},x0.prototype.convertFrom=function(Q){var K=this.imod(Q.mul(this.rinv));return K.red=null,K},x0.prototype.imul=function(Q,K){if(Q.isZero()||K.isZero())return Q.words[0]=0,Q.length=1,Q;var D=Q.imul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.mul=function(Q,K){if(Q.isZero()||K.isZero())return new Y(0)._forceRed(this);var D=Q.mul(K),W=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=D.isub(W).iushrn(this.shift),R=V;if(V.cmp(this.m)>=0)R=V.isub(this.m);else if(V.cmpn(0)<0)R=V.iadd(this.m);return R._forceRed(this)},x0.prototype.invm=function(Q){var K=this.imod(Q._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof I>"u"||I,U)}),lT=G$((U,I)=>{var J=D5(),z=h1().Buffer;function v(Z,Y){return z.from(Z.toRed(J.mont(Y.modulus)).redPow(new J(Y.publicExponent)).fromRed().toArray())}I.exports=v}),$y=G$((U,I)=>{(function(J,z){function v(W,V){if(!W)throw Error(V||"Assertion failed")}function Z(W,V){W.super_=V;var R=function(){};R.prototype=V.prototype,W.prototype=new R,W.prototype.constructor=W}function Y(W,V,R){if(Y.isBN(W))return W;if(this.negative=0,this.words=null,this.length=0,this.red=null,W!==null){if(V==="le"||V==="be")R=V,V=10;this._init(W||0,V||10,R||"be")}}if(typeof J==="object")J.exports=Y;else z.BN=Y;Y.BN=Y,Y.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(F4(),Mj(D4)).Buffer}catch(W){}Y.isBN=function(W){if(W instanceof Y)return!0;return W!==null&&typeof W==="object"&&W.constructor.wordSize===Y.wordSize&&Array.isArray(W.words)},Y.max=function(W,V){if(W.cmp(V)>0)return W;return V},Y.min=function(W,V){if(W.cmp(V)<0)return W;return V},Y.prototype._init=function(W,V,R){if(typeof W==="number")return this._initNumber(W,V,R);if(typeof W==="object")return this._initArray(W,V,R);if(V==="hex")V=16;v(V===(V|0)&&V>=2&&V<=36),W=W.toString().replace(/\s+/g,"");var N=0;if(W[0]==="-")N++,this.negative=1;if(N<W.length){if(V===16)this._parseHex(W,N,R);else if(this._parseBase(W,V,N),R==="le")this._initArray(this.toArray(),V,R)}},Y.prototype._initNumber=function(W,V,R){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 v(W<9007199254740992),this.words=[W&67108863,W/67108864&67108863,1],this.length=3;if(R!=="le")return;this._initArray(this.toArray(),V,R)},Y.prototype._initArray=function(W,V,R){if(v(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 N=0;N<this.length;N++)this.words[N]=0;var q,G,C=0;if(R==="be"){for(N=W.length-1,q=0;N>=0;N-=3)if(G=W[N]|W[N-1]<<8|W[N-2]<<16,this.words[q]|=G<<C&67108863,this.words[q+1]=G>>>26-C&67108863,C+=24,C>=26)C-=26,q++}else if(R==="le"){for(N=0,q=0;N<W.length;N+=3)if(G=W[N]|W[N+1]<<8|W[N+2]<<16,this.words[q]|=G<<C&67108863,this.words[q+1]=G>>>26-C&67108863,C+=24,C>=26)C-=26,q++}return this._strip()};function S(W,V){var R=W.charCodeAt(V);if(R>=48&&R<=57)return R-48;else if(R>=65&&R<=70)return R-55;else if(R>=97&&R<=102)return R-87;else v(!1,"Invalid character in "+W)}function B(W,V,R){var N=S(W,R);if(R-1>=V)N|=S(W,R-1)<<4;return N}Y.prototype._parseHex=function(W,V,R){this.length=Math.ceil((W.length-V)/6),this.words=Array(this.length);for(var N=0;N<this.length;N++)this.words[N]=0;var q=0,G=0,C;if(R==="be")for(N=W.length-1;N>=V;N-=2)if(C=B(W,V,N)<<q,this.words[G]|=C&67108863,q>=18)q-=18,G+=1,this.words[G]|=C>>>26;else q+=8;else{var b=W.length-V;for(N=b%2===0?V+1:V;N<W.length;N+=2)if(C=B(W,V,N)<<q,this.words[G]|=C&67108863,q>=18)q-=18,G+=1,this.words[G]|=C>>>26;else q+=8}this._strip()};function g(W,V,R,N){var q=0,G=0,C=Math.min(W.length,R);for(var b=V;b<C;b++){var y=W.charCodeAt(b)-48;if(q*=N,y>=49)G=y-49+10;else if(y>=17)G=y-17+10;else G=y;v(y>=0&&G<N,"Invalid character"),q+=G}return q}Y.prototype._parseBase=function(W,V,R){this.words=[0],this.length=1;for(var N=0,q=1;q<=67108863;q*=V)N++;N--,q=q/V|0;var G=W.length-R,C=G%N,b=Math.min(G,G-C)+R,y=0;for(var o=R;o<b;o+=N)if(y=g(W,o,o+N,V),this.imuln(q),this.words[0]+y<67108864)this.words[0]+=y;else this._iaddn(y);if(C!==0){var J0=1;y=g(W,o,W.length,V);for(o=0;o<C;o++)J0*=V;if(this.imuln(J0),this.words[0]+y<67108864)this.words[0]+=y;else this._iaddn(y)}this._strip()},Y.prototype.copy=function(W){W.words=Array(this.length);for(var V=0;V<this.length;V++)W.words[V]=this.words[V];W.length=this.length,W.negative=this.negative,W.red=this.red};function H(W,V){W.words=V.words,W.length=V.length,W.negative=V.negative,W.red=V.red}if(Y.prototype._move=function(W){H(W,this)},Y.prototype.clone=function(){var W=new Y(null);return this.copy(W),W},Y.prototype._expand=function(W){while(this.length<W)this.words[this.length++]=0;return this},Y.prototype._strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Y.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},typeof Symbol<"u"&&typeof Symbol.for==="function")try{Y.prototype[Symbol.for("nodejs.util.inspect.custom")]=T}catch(W){Y.prototype.inspect=T}else Y.prototype.inspect=T;function T(){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"],x=[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],u=[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(Y.prototype.toString=function(W,V){W=W||10,V=V|0||1;var R;if(W===16||W==="hex"){R="";var N=0,q=0;for(var G=0;G<this.length;G++){var C=this.words[G],b=((C<<N|q)&16777215).toString(16);if(q=C>>>24-N&16777215,N+=2,N>=26)N-=26,G--;if(q!==0||G!==this.length-1)R=c[6-b.length]+b+R;else R=b+R}if(q!==0)R=q.toString(16)+R;while(R.length%V!==0)R="0"+R;if(this.negative!==0)R="-"+R;return R}if(W===(W|0)&&W>=2&&W<=36){var y=x[W],o=u[W];R="";var J0=this.clone();J0.negative=0;while(!J0.isZero()){var K0=J0.modrn(o).toString(W);if(J0=J0.idivn(o),!J0.isZero())R=c[y-K0.length]+K0+R;else R=K0+R}if(this.isZero())R="0"+R;while(R.length%V!==0)R="0"+R;if(this.negative!==0)R="-"+R;return R}v(!1,"Base should be between 2 and 36")},Y.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)v(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-W:W},Y.prototype.toJSON=function(){return this.toString(16,2)},L)Y.prototype.toBuffer=function(W,V){return this.toArrayLike(L,W,V)};Y.prototype.toArray=function(W,V){return this.toArrayLike(Array,W,V)};var h=function(W,V){if(W.allocUnsafe)return W.allocUnsafe(V);return new W(V)};if(Y.prototype.toArrayLike=function(W,V,R){this._strip();var N=this.byteLength(),q=R||Math.max(1,N);v(N<=q,"byte array longer than desired length"),v(q>0,"Requested array length <= 0");var G=h(W,q),C=V==="le"?"LE":"BE";return this["_toArrayLike"+C](G,N),G},Y.prototype._toArrayLikeLE=function(W,V){var R=0,N=0;for(var q=0,G=0;q<this.length;q++){var C=this.words[q]<<G|N;if(W[R++]=C&255,R<W.length)W[R++]=C>>8&255;if(R<W.length)W[R++]=C>>16&255;if(G===6){if(R<W.length)W[R++]=C>>24&255;N=0,G=0}else N=C>>>24,G+=2}if(R<W.length){W[R++]=N;while(R<W.length)W[R++]=0}},Y.prototype._toArrayLikeBE=function(W,V){var R=W.length-1,N=0;for(var q=0,G=0;q<this.length;q++){var C=this.words[q]<<G|N;if(W[R--]=C&255,R>=0)W[R--]=C>>8&255;if(R>=0)W[R--]=C>>16&255;if(G===6){if(R>=0)W[R--]=C>>24&255;N=0,G=0}else N=C>>>24,G+=2}if(R>=0){W[R--]=N;while(R>=0)W[R--]=0}},Math.clz32)Y.prototype._countBits=function(W){return 32-Math.clz32(W)};else Y.prototype._countBits=function(W){var V=W,R=0;if(V>=4096)R+=13,V>>>=13;if(V>=64)R+=7,V>>>=7;if(V>=8)R+=4,V>>>=4;if(V>=2)R+=2,V>>>=2;return R+V};Y.prototype._zeroBits=function(W){if(W===0)return 26;var V=W,R=0;if((V&8191)===0)R+=13,V>>>=13;if((V&127)===0)R+=7,V>>>=7;if((V&15)===0)R+=4,V>>>=4;if((V&3)===0)R+=2,V>>>=2;if((V&1)===0)R++;return R},Y.prototype.bitLength=function(){var W=this.words[this.length-1],V=this._countBits(W);return(this.length-1)*26+V};function i(W){var V=Array(W.bitLength());for(var R=0;R<V.length;R++){var N=R/26|0,q=R%26;V[R]=W.words[N]>>>q&1}return V}Y.prototype.zeroBits=function(){if(this.isZero())return 0;var W=0;for(var V=0;V<this.length;V++){var R=this._zeroBits(this.words[V]);if(W+=R,R!==26)break}return W},Y.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Y.prototype.toTwos=function(W){if(this.negative!==0)return this.abs().inotn(W).iaddn(1);return this.clone()},Y.prototype.fromTwos=function(W){if(this.testn(W-1))return this.notn(W).iaddn(1).ineg();return this.clone()},Y.prototype.isNeg=function(){return this.negative!==0},Y.prototype.neg=function(){return this.clone().ineg()},Y.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Y.prototype.iuor=function(W){while(this.length<W.length)this.words[this.length++]=0;for(var V=0;V<W.length;V++)this.words[V]=this.words[V]|W.words[V];return this._strip()},Y.prototype.ior=function(W){return v((this.negative|W.negative)===0),this.iuor(W)},Y.prototype.or=function(W){if(this.length>W.length)return this.clone().ior(W);return W.clone().ior(this)},Y.prototype.uor=function(W){if(this.length>W.length)return this.clone().iuor(W);return W.clone().iuor(this)},Y.prototype.iuand=function(W){var V;if(this.length>W.length)V=W;else V=this;for(var R=0;R<V.length;R++)this.words[R]=this.words[R]&W.words[R];return this.length=V.length,this._strip()},Y.prototype.iand=function(W){return v((this.negative|W.negative)===0),this.iuand(W)},Y.prototype.and=function(W){if(this.length>W.length)return this.clone().iand(W);return W.clone().iand(this)},Y.prototype.uand=function(W){if(this.length>W.length)return this.clone().iuand(W);return W.clone().iuand(this)},Y.prototype.iuxor=function(W){var V,R;if(this.length>W.length)V=this,R=W;else V=W,R=this;for(var N=0;N<R.length;N++)this.words[N]=V.words[N]^R.words[N];if(this!==V)for(;N<V.length;N++)this.words[N]=V.words[N];return this.length=V.length,this._strip()},Y.prototype.ixor=function(W){return v((this.negative|W.negative)===0),this.iuxor(W)},Y.prototype.xor=function(W){if(this.length>W.length)return this.clone().ixor(W);return W.clone().ixor(this)},Y.prototype.uxor=function(W){if(this.length>W.length)return this.clone().iuxor(W);return W.clone().iuxor(this)},Y.prototype.inotn=function(W){v(typeof W==="number"&&W>=0);var V=Math.ceil(W/26)|0,R=W%26;if(this._expand(V),R>0)V--;for(var N=0;N<V;N++)this.words[N]=~this.words[N]&67108863;if(R>0)this.words[N]=~this.words[N]&67108863>>26-R;return this._strip()},Y.prototype.notn=function(W){return this.clone().inotn(W)},Y.prototype.setn=function(W,V){v(typeof W==="number"&&W>=0);var R=W/26|0,N=W%26;if(this._expand(R+1),V)this.words[R]=this.words[R]|1<<N;else this.words[R]=this.words[R]&~(1<<N);return this._strip()},Y.prototype.iadd=function(W){var V;if(this.negative!==0&&W.negative===0)return this.negative=0,V=this.isub(W),this.negative^=1,this._normSign();else if(this.negative===0&&W.negative!==0)return W.negative=0,V=this.isub(W),W.negative=1,V._normSign();var R,N;if(this.length>W.length)R=this,N=W;else R=W,N=this;var q=0;for(var G=0;G<N.length;G++)V=(R.words[G]|0)+(N.words[G]|0)+q,this.words[G]=V&67108863,q=V>>>26;for(;q!==0&&G<R.length;G++)V=(R.words[G]|0)+q,this.words[G]=V&67108863,q=V>>>26;if(this.length=R.length,q!==0)this.words[this.length]=q,this.length++;else if(R!==this)for(;G<R.length;G++)this.words[G]=R.words[G];return this},Y.prototype.add=function(W){var V;if(W.negative!==0&&this.negative===0)return W.negative=0,V=this.sub(W),W.negative^=1,V;else if(W.negative===0&&this.negative!==0)return this.negative=0,V=W.sub(this),this.negative=1,V;if(this.length>W.length)return this.clone().iadd(W);return W.clone().iadd(this)},Y.prototype.isub=function(W){if(W.negative!==0){W.negative=0;var V=this.iadd(W);return W.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(W),this.negative=1,this._normSign();var R=this.cmp(W);if(R===0)return this.negative=0,this.length=1,this.words[0]=0,this;var N,q;if(R>0)N=this,q=W;else N=W,q=this;var G=0;for(var C=0;C<q.length;C++)V=(N.words[C]|0)-(q.words[C]|0)+G,G=V>>26,this.words[C]=V&67108863;for(;G!==0&&C<N.length;C++)V=(N.words[C]|0)+G,G=V>>26,this.words[C]=V&67108863;if(G===0&&C<N.length&&N!==this)for(;C<N.length;C++)this.words[C]=N.words[C];if(this.length=Math.max(this.length,C),N!==this)this.negative=1;return this._strip()},Y.prototype.sub=function(W){return this.clone().isub(W)};function m(W,V,R){R.negative=V.negative^W.negative;var N=W.length+V.length|0;R.length=N,N=N-1|0;var q=W.words[0]|0,G=V.words[0]|0,C=q*G,b=C&67108863,y=C/67108864|0;R.words[0]=b;for(var o=1;o<N;o++){var J0=y>>>26,K0=y&67108863,A0=Math.min(o,V.length-1);for(var H0=Math.max(0,o-W.length+1);H0<=A0;H0++){var W0=o-H0|0;q=W.words[W0]|0,G=V.words[H0]|0,C=q*G+K0,J0+=C/67108864|0,K0=C&67108863}R.words[o]=K0|0,y=J0|0}if(y!==0)R.words[o]=y|0;else R.length--;return R._strip()}var n=function(W,V,R){var N=W.words,q=V.words,G=R.words,C=0,b,y,o,J0=N[0]|0,K0=J0&8191,A0=J0>>>13,H0=N[1]|0,W0=H0&8191,z0=H0>>>13,D0=N[2]|0,L0=D0&8191,k0=D0>>>13,Z0=N[3]|0,r=Z0&8191,U0=Z0>>>13,g0=N[4]|0,M0=g0&8191,R0=g0>>>13,o0=N[5]|0,O0=o0&8191,P0=o0>>>13,q$=N[6]|0,w0=q$&8191,n0=q$>>>13,i$=N[7]|0,s0=i$&8191,Z$=i$>>>13,Lj=N[8]|0,J$=Lj&8191,Y$=Lj>>>13,dj=N[9]|0,M$=dj&8191,F$=dj>>>13,J2=q[0]|0,e=J2&8191,V0=J2>>>13,P$=q[1]|0,l0=P$&8191,d0=P$>>>13,n$=q[2]|0,a0=n$&8191,X$=n$>>>13,u$=q[3]|0,z$=u$&8191,_$=u$>>>13,A2=q[4]|0,L$=A2&8191,I0=A2>>>13,_0=q[5]|0,b0=_0&8191,p0=_0>>>13,c$=q[6]|0,K$=c$&8191,O$=c$>>>13,q2=q[7]|0,E$=q2&8191,D$=q2>>>13,j2=q[8]|0,U$=j2&8191,C$=j2>>>13,W2=q[9]|0,Jj=W2&8191,e$=W2>>>13;R.negative=W.negative^V.negative,R.length=19,b=Math.imul(K0,e),y=Math.imul(K0,V0),y=y+Math.imul(A0,e)|0,o=Math.imul(A0,V0);var tj=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(tj>>>26)|0,tj&=67108863,b=Math.imul(W0,e),y=Math.imul(W0,V0),y=y+Math.imul(z0,e)|0,o=Math.imul(z0,V0),b=b+Math.imul(K0,l0)|0,y=y+Math.imul(K0,d0)|0,y=y+Math.imul(A0,l0)|0,o=o+Math.imul(A0,d0)|0;var Qj=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(Qj>>>26)|0,Qj&=67108863,b=Math.imul(L0,e),y=Math.imul(L0,V0),y=y+Math.imul(k0,e)|0,o=Math.imul(k0,V0),b=b+Math.imul(W0,l0)|0,y=y+Math.imul(W0,d0)|0,y=y+Math.imul(z0,l0)|0,o=o+Math.imul(z0,d0)|0,b=b+Math.imul(K0,a0)|0,y=y+Math.imul(K0,X$)|0,y=y+Math.imul(A0,a0)|0,o=o+Math.imul(A0,X$)|0;var K2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(K2>>>26)|0,K2&=67108863,b=Math.imul(r,e),y=Math.imul(r,V0),y=y+Math.imul(U0,e)|0,o=Math.imul(U0,V0),b=b+Math.imul(L0,l0)|0,y=y+Math.imul(L0,d0)|0,y=y+Math.imul(k0,l0)|0,o=o+Math.imul(k0,d0)|0,b=b+Math.imul(W0,a0)|0,y=y+Math.imul(W0,X$)|0,y=y+Math.imul(z0,a0)|0,o=o+Math.imul(z0,X$)|0,b=b+Math.imul(K0,z$)|0,y=y+Math.imul(K0,_$)|0,y=y+Math.imul(A0,z$)|0,o=o+Math.imul(A0,_$)|0;var N2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(N2>>>26)|0,N2&=67108863,b=Math.imul(M0,e),y=Math.imul(M0,V0),y=y+Math.imul(R0,e)|0,o=Math.imul(R0,V0),b=b+Math.imul(r,l0)|0,y=y+Math.imul(r,d0)|0,y=y+Math.imul(U0,l0)|0,o=o+Math.imul(U0,d0)|0,b=b+Math.imul(L0,a0)|0,y=y+Math.imul(L0,X$)|0,y=y+Math.imul(k0,a0)|0,o=o+Math.imul(k0,X$)|0,b=b+Math.imul(W0,z$)|0,y=y+Math.imul(W0,_$)|0,y=y+Math.imul(z0,z$)|0,o=o+Math.imul(z0,_$)|0,b=b+Math.imul(K0,L$)|0,y=y+Math.imul(K0,I0)|0,y=y+Math.imul(A0,L$)|0,o=o+Math.imul(A0,I0)|0;var O2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(O2>>>26)|0,O2&=67108863,b=Math.imul(O0,e),y=Math.imul(O0,V0),y=y+Math.imul(P0,e)|0,o=Math.imul(P0,V0),b=b+Math.imul(M0,l0)|0,y=y+Math.imul(M0,d0)|0,y=y+Math.imul(R0,l0)|0,o=o+Math.imul(R0,d0)|0,b=b+Math.imul(r,a0)|0,y=y+Math.imul(r,X$)|0,y=y+Math.imul(U0,a0)|0,o=o+Math.imul(U0,X$)|0,b=b+Math.imul(L0,z$)|0,y=y+Math.imul(L0,_$)|0,y=y+Math.imul(k0,z$)|0,o=o+Math.imul(k0,_$)|0,b=b+Math.imul(W0,L$)|0,y=y+Math.imul(W0,I0)|0,y=y+Math.imul(z0,L$)|0,o=o+Math.imul(z0,I0)|0,b=b+Math.imul(K0,b0)|0,y=y+Math.imul(K0,p0)|0,y=y+Math.imul(A0,b0)|0,o=o+Math.imul(A0,p0)|0;var $U=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+($U>>>26)|0,$U&=67108863,b=Math.imul(w0,e),y=Math.imul(w0,V0),y=y+Math.imul(n0,e)|0,o=Math.imul(n0,V0),b=b+Math.imul(O0,l0)|0,y=y+Math.imul(O0,d0)|0,y=y+Math.imul(P0,l0)|0,o=o+Math.imul(P0,d0)|0,b=b+Math.imul(M0,a0)|0,y=y+Math.imul(M0,X$)|0,y=y+Math.imul(R0,a0)|0,o=o+Math.imul(R0,X$)|0,b=b+Math.imul(r,z$)|0,y=y+Math.imul(r,_$)|0,y=y+Math.imul(U0,z$)|0,o=o+Math.imul(U0,_$)|0,b=b+Math.imul(L0,L$)|0,y=y+Math.imul(L0,I0)|0,y=y+Math.imul(k0,L$)|0,o=o+Math.imul(k0,I0)|0,b=b+Math.imul(W0,b0)|0,y=y+Math.imul(W0,p0)|0,y=y+Math.imul(z0,b0)|0,o=o+Math.imul(z0,p0)|0,b=b+Math.imul(K0,K$)|0,y=y+Math.imul(K0,O$)|0,y=y+Math.imul(A0,K$)|0,o=o+Math.imul(A0,O$)|0;var Tj=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(Tj>>>26)|0,Tj&=67108863,b=Math.imul(s0,e),y=Math.imul(s0,V0),y=y+Math.imul(Z$,e)|0,o=Math.imul(Z$,V0),b=b+Math.imul(w0,l0)|0,y=y+Math.imul(w0,d0)|0,y=y+Math.imul(n0,l0)|0,o=o+Math.imul(n0,d0)|0,b=b+Math.imul(O0,a0)|0,y=y+Math.imul(O0,X$)|0,y=y+Math.imul(P0,a0)|0,o=o+Math.imul(P0,X$)|0,b=b+Math.imul(M0,z$)|0,y=y+Math.imul(M0,_$)|0,y=y+Math.imul(R0,z$)|0,o=o+Math.imul(R0,_$)|0,b=b+Math.imul(r,L$)|0,y=y+Math.imul(r,I0)|0,y=y+Math.imul(U0,L$)|0,o=o+Math.imul(U0,I0)|0,b=b+Math.imul(L0,b0)|0,y=y+Math.imul(L0,p0)|0,y=y+Math.imul(k0,b0)|0,o=o+Math.imul(k0,p0)|0,b=b+Math.imul(W0,K$)|0,y=y+Math.imul(W0,O$)|0,y=y+Math.imul(z0,K$)|0,o=o+Math.imul(z0,O$)|0,b=b+Math.imul(K0,E$)|0,y=y+Math.imul(K0,D$)|0,y=y+Math.imul(A0,E$)|0,o=o+Math.imul(A0,D$)|0;var uj=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(uj>>>26)|0,uj&=67108863,b=Math.imul(J$,e),y=Math.imul(J$,V0),y=y+Math.imul(Y$,e)|0,o=Math.imul(Y$,V0),b=b+Math.imul(s0,l0)|0,y=y+Math.imul(s0,d0)|0,y=y+Math.imul(Z$,l0)|0,o=o+Math.imul(Z$,d0)|0,b=b+Math.imul(w0,a0)|0,y=y+Math.imul(w0,X$)|0,y=y+Math.imul(n0,a0)|0,o=o+Math.imul(n0,X$)|0,b=b+Math.imul(O0,z$)|0,y=y+Math.imul(O0,_$)|0,y=y+Math.imul(P0,z$)|0,o=o+Math.imul(P0,_$)|0,b=b+Math.imul(M0,L$)|0,y=y+Math.imul(M0,I0)|0,y=y+Math.imul(R0,L$)|0,o=o+Math.imul(R0,I0)|0,b=b+Math.imul(r,b0)|0,y=y+Math.imul(r,p0)|0,y=y+Math.imul(U0,b0)|0,o=o+Math.imul(U0,p0)|0,b=b+Math.imul(L0,K$)|0,y=y+Math.imul(L0,O$)|0,y=y+Math.imul(k0,K$)|0,o=o+Math.imul(k0,O$)|0,b=b+Math.imul(W0,E$)|0,y=y+Math.imul(W0,D$)|0,y=y+Math.imul(z0,E$)|0,o=o+Math.imul(z0,D$)|0,b=b+Math.imul(K0,U$)|0,y=y+Math.imul(K0,C$)|0,y=y+Math.imul(A0,U$)|0,o=o+Math.imul(A0,C$)|0;var V2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(V2>>>26)|0,V2&=67108863,b=Math.imul(M$,e),y=Math.imul(M$,V0),y=y+Math.imul(F$,e)|0,o=Math.imul(F$,V0),b=b+Math.imul(J$,l0)|0,y=y+Math.imul(J$,d0)|0,y=y+Math.imul(Y$,l0)|0,o=o+Math.imul(Y$,d0)|0,b=b+Math.imul(s0,a0)|0,y=y+Math.imul(s0,X$)|0,y=y+Math.imul(Z$,a0)|0,o=o+Math.imul(Z$,X$)|0,b=b+Math.imul(w0,z$)|0,y=y+Math.imul(w0,_$)|0,y=y+Math.imul(n0,z$)|0,o=o+Math.imul(n0,_$)|0,b=b+Math.imul(O0,L$)|0,y=y+Math.imul(O0,I0)|0,y=y+Math.imul(P0,L$)|0,o=o+Math.imul(P0,I0)|0,b=b+Math.imul(M0,b0)|0,y=y+Math.imul(M0,p0)|0,y=y+Math.imul(R0,b0)|0,o=o+Math.imul(R0,p0)|0,b=b+Math.imul(r,K$)|0,y=y+Math.imul(r,O$)|0,y=y+Math.imul(U0,K$)|0,o=o+Math.imul(U0,O$)|0,b=b+Math.imul(L0,E$)|0,y=y+Math.imul(L0,D$)|0,y=y+Math.imul(k0,E$)|0,o=o+Math.imul(k0,D$)|0,b=b+Math.imul(W0,U$)|0,y=y+Math.imul(W0,C$)|0,y=y+Math.imul(z0,U$)|0,o=o+Math.imul(z0,C$)|0,b=b+Math.imul(K0,Jj)|0,y=y+Math.imul(K0,e$)|0,y=y+Math.imul(A0,Jj)|0,o=o+Math.imul(A0,e$)|0;var S2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(S2>>>26)|0,S2&=67108863,b=Math.imul(M$,l0),y=Math.imul(M$,d0),y=y+Math.imul(F$,l0)|0,o=Math.imul(F$,d0),b=b+Math.imul(J$,a0)|0,y=y+Math.imul(J$,X$)|0,y=y+Math.imul(Y$,a0)|0,o=o+Math.imul(Y$,X$)|0,b=b+Math.imul(s0,z$)|0,y=y+Math.imul(s0,_$)|0,y=y+Math.imul(Z$,z$)|0,o=o+Math.imul(Z$,_$)|0,b=b+Math.imul(w0,L$)|0,y=y+Math.imul(w0,I0)|0,y=y+Math.imul(n0,L$)|0,o=o+Math.imul(n0,I0)|0,b=b+Math.imul(O0,b0)|0,y=y+Math.imul(O0,p0)|0,y=y+Math.imul(P0,b0)|0,o=o+Math.imul(P0,p0)|0,b=b+Math.imul(M0,K$)|0,y=y+Math.imul(M0,O$)|0,y=y+Math.imul(R0,K$)|0,o=o+Math.imul(R0,O$)|0,b=b+Math.imul(r,E$)|0,y=y+Math.imul(r,D$)|0,y=y+Math.imul(U0,E$)|0,o=o+Math.imul(U0,D$)|0,b=b+Math.imul(L0,U$)|0,y=y+Math.imul(L0,C$)|0,y=y+Math.imul(k0,U$)|0,o=o+Math.imul(k0,C$)|0,b=b+Math.imul(W0,Jj)|0,y=y+Math.imul(W0,e$)|0,y=y+Math.imul(z0,Jj)|0,o=o+Math.imul(z0,e$)|0;var Q2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(Q2>>>26)|0,Q2&=67108863,b=Math.imul(M$,a0),y=Math.imul(M$,X$),y=y+Math.imul(F$,a0)|0,o=Math.imul(F$,X$),b=b+Math.imul(J$,z$)|0,y=y+Math.imul(J$,_$)|0,y=y+Math.imul(Y$,z$)|0,o=o+Math.imul(Y$,_$)|0,b=b+Math.imul(s0,L$)|0,y=y+Math.imul(s0,I0)|0,y=y+Math.imul(Z$,L$)|0,o=o+Math.imul(Z$,I0)|0,b=b+Math.imul(w0,b0)|0,y=y+Math.imul(w0,p0)|0,y=y+Math.imul(n0,b0)|0,o=o+Math.imul(n0,p0)|0,b=b+Math.imul(O0,K$)|0,y=y+Math.imul(O0,O$)|0,y=y+Math.imul(P0,K$)|0,o=o+Math.imul(P0,O$)|0,b=b+Math.imul(M0,E$)|0,y=y+Math.imul(M0,D$)|0,y=y+Math.imul(R0,E$)|0,o=o+Math.imul(R0,D$)|0,b=b+Math.imul(r,U$)|0,y=y+Math.imul(r,C$)|0,y=y+Math.imul(U0,U$)|0,o=o+Math.imul(U0,C$)|0,b=b+Math.imul(L0,Jj)|0,y=y+Math.imul(L0,e$)|0,y=y+Math.imul(k0,Jj)|0,o=o+Math.imul(k0,e$)|0;var m2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(m2>>>26)|0,m2&=67108863,b=Math.imul(M$,z$),y=Math.imul(M$,_$),y=y+Math.imul(F$,z$)|0,o=Math.imul(F$,_$),b=b+Math.imul(J$,L$)|0,y=y+Math.imul(J$,I0)|0,y=y+Math.imul(Y$,L$)|0,o=o+Math.imul(Y$,I0)|0,b=b+Math.imul(s0,b0)|0,y=y+Math.imul(s0,p0)|0,y=y+Math.imul(Z$,b0)|0,o=o+Math.imul(Z$,p0)|0,b=b+Math.imul(w0,K$)|0,y=y+Math.imul(w0,O$)|0,y=y+Math.imul(n0,K$)|0,o=o+Math.imul(n0,O$)|0,b=b+Math.imul(O0,E$)|0,y=y+Math.imul(O0,D$)|0,y=y+Math.imul(P0,E$)|0,o=o+Math.imul(P0,D$)|0,b=b+Math.imul(M0,U$)|0,y=y+Math.imul(M0,C$)|0,y=y+Math.imul(R0,U$)|0,o=o+Math.imul(R0,C$)|0,b=b+Math.imul(r,Jj)|0,y=y+Math.imul(r,e$)|0,y=y+Math.imul(U0,Jj)|0,o=o+Math.imul(U0,e$)|0;var w2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(w2>>>26)|0,w2&=67108863,b=Math.imul(M$,L$),y=Math.imul(M$,I0),y=y+Math.imul(F$,L$)|0,o=Math.imul(F$,I0),b=b+Math.imul(J$,b0)|0,y=y+Math.imul(J$,p0)|0,y=y+Math.imul(Y$,b0)|0,o=o+Math.imul(Y$,p0)|0,b=b+Math.imul(s0,K$)|0,y=y+Math.imul(s0,O$)|0,y=y+Math.imul(Z$,K$)|0,o=o+Math.imul(Z$,O$)|0,b=b+Math.imul(w0,E$)|0,y=y+Math.imul(w0,D$)|0,y=y+Math.imul(n0,E$)|0,o=o+Math.imul(n0,D$)|0,b=b+Math.imul(O0,U$)|0,y=y+Math.imul(O0,C$)|0,y=y+Math.imul(P0,U$)|0,o=o+Math.imul(P0,C$)|0,b=b+Math.imul(M0,Jj)|0,y=y+Math.imul(M0,e$)|0,y=y+Math.imul(R0,Jj)|0,o=o+Math.imul(R0,e$)|0;var D2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(D2>>>26)|0,D2&=67108863,b=Math.imul(M$,b0),y=Math.imul(M$,p0),y=y+Math.imul(F$,b0)|0,o=Math.imul(F$,p0),b=b+Math.imul(J$,K$)|0,y=y+Math.imul(J$,O$)|0,y=y+Math.imul(Y$,K$)|0,o=o+Math.imul(Y$,O$)|0,b=b+Math.imul(s0,E$)|0,y=y+Math.imul(s0,D$)|0,y=y+Math.imul(Z$,E$)|0,o=o+Math.imul(Z$,D$)|0,b=b+Math.imul(w0,U$)|0,y=y+Math.imul(w0,C$)|0,y=y+Math.imul(n0,U$)|0,o=o+Math.imul(n0,C$)|0,b=b+Math.imul(O0,Jj)|0,y=y+Math.imul(O0,e$)|0,y=y+Math.imul(P0,Jj)|0,o=o+Math.imul(P0,e$)|0;var F2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(F2>>>26)|0,F2&=67108863,b=Math.imul(M$,K$),y=Math.imul(M$,O$),y=y+Math.imul(F$,K$)|0,o=Math.imul(F$,O$),b=b+Math.imul(J$,E$)|0,y=y+Math.imul(J$,D$)|0,y=y+Math.imul(Y$,E$)|0,o=o+Math.imul(Y$,D$)|0,b=b+Math.imul(s0,U$)|0,y=y+Math.imul(s0,C$)|0,y=y+Math.imul(Z$,U$)|0,o=o+Math.imul(Z$,C$)|0,b=b+Math.imul(w0,Jj)|0,y=y+Math.imul(w0,e$)|0,y=y+Math.imul(n0,Jj)|0,o=o+Math.imul(n0,e$)|0;var P2=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(P2>>>26)|0,P2&=67108863,b=Math.imul(M$,E$),y=Math.imul(M$,D$),y=y+Math.imul(F$,E$)|0,o=Math.imul(F$,D$),b=b+Math.imul(J$,U$)|0,y=y+Math.imul(J$,C$)|0,y=y+Math.imul(Y$,U$)|0,o=o+Math.imul(Y$,C$)|0,b=b+Math.imul(s0,Jj)|0,y=y+Math.imul(s0,e$)|0,y=y+Math.imul(Z$,Jj)|0,o=o+Math.imul(Z$,e$)|0;var Pv=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(Pv>>>26)|0,Pv&=67108863,b=Math.imul(M$,U$),y=Math.imul(M$,C$),y=y+Math.imul(F$,U$)|0,o=Math.imul(F$,C$),b=b+Math.imul(J$,Jj)|0,y=y+Math.imul(J$,e$)|0,y=y+Math.imul(Y$,Jj)|0,o=o+Math.imul(Y$,e$)|0;var dX=(C+b|0)+((y&8191)<<13)|0;C=(o+(y>>>13)|0)+(dX>>>26)|0,dX&=67108863,b=Math.imul(M$,Jj),y=Math.imul(M$,e$),y=y+Math.imul(F$,Jj)|0,o=Math.imul(F$,e$);var YI=(C+b|0)+((y&8191)<<13)|0;if(C=(o+(y>>>13)|0)+(YI>>>26)|0,YI&=67108863,G[0]=tj,G[1]=Qj,G[2]=K2,G[3]=N2,G[4]=O2,G[5]=$U,G[6]=Tj,G[7]=uj,G[8]=V2,G[9]=S2,G[10]=Q2,G[11]=m2,G[12]=w2,G[13]=D2,G[14]=F2,G[15]=P2,G[16]=Pv,G[17]=dX,G[18]=YI,C!==0)G[19]=C,R.length++;return R};if(!Math.imul)n=m;function a(W,V,R){R.negative=V.negative^W.negative,R.length=W.length+V.length;var N=0,q=0;for(var G=0;G<R.length-1;G++){var C=q;q=0;var b=N&67108863,y=Math.min(G,V.length-1);for(var o=Math.max(0,G-W.length+1);o<=y;o++){var J0=G-o,K0=W.words[J0]|0,A0=V.words[o]|0,H0=K0*A0,W0=H0&67108863;C=C+(H0/67108864|0)|0,W0=W0+b|0,b=W0&67108863,C=C+(W0>>>26)|0,q+=C>>>26,C&=67108863}R.words[G]=b,N=C,C=q}if(N!==0)R.words[G]=N;else R.length--;return R._strip()}function j0(W,V,R){return a(W,V,R)}Y.prototype.mulTo=function(W,V){var R,N=this.length+W.length;if(this.length===10&&W.length===10)R=n(this,W,V);else if(N<63)R=m(this,W,V);else if(N<1024)R=a(this,W,V);else R=j0(this,W,V);return R};function Y0(W,V){this.x=W,this.y=V}Y0.prototype.makeRBT=function(W){var V=Array(W),R=Y.prototype._countBits(W)-1;for(var N=0;N<W;N++)V[N]=this.revBin(N,R,W);return V},Y0.prototype.revBin=function(W,V,R){if(W===0||W===R-1)return W;var N=0;for(var q=0;q<V;q++)N|=(W&1)<<V-q-1,W>>=1;return N},Y0.prototype.permute=function(W,V,R,N,q,G){for(var C=0;C<G;C++)N[C]=V[W[C]],q[C]=R[W[C]]},Y0.prototype.transform=function(W,V,R,N,q,G){this.permute(G,W,V,R,N,q);for(var C=1;C<q;C<<=1){var b=C<<1,y=Math.cos(2*Math.PI/b),o=Math.sin(2*Math.PI/b);for(var J0=0;J0<q;J0+=b){var K0=y,A0=o;for(var H0=0;H0<C;H0++){var W0=R[J0+H0],z0=N[J0+H0],D0=R[J0+H0+C],L0=N[J0+H0+C],k0=K0*D0-A0*L0;if(L0=K0*L0+A0*D0,D0=k0,R[J0+H0]=W0+D0,N[J0+H0]=z0+L0,R[J0+H0+C]=W0-D0,N[J0+H0+C]=z0-L0,H0!==b)k0=y*K0-o*A0,A0=y*A0+o*K0,K0=k0}}}},Y0.prototype.guessLen13b=function(W,V){var R=Math.max(V,W)|1,N=R&1,q=0;for(R=R/2|0;R;R=R>>>1)q++;return 1<<q+1+N},Y0.prototype.conjugate=function(W,V,R){if(R<=1)return;for(var N=0;N<R/2;N++){var q=W[N];W[N]=W[R-N-1],W[R-N-1]=q,q=V[N],V[N]=-V[R-N-1],V[R-N-1]=-q}},Y0.prototype.normalize13b=function(W,V){var R=0;for(var N=0;N<V/2;N++){var q=Math.round(W[2*N+1]/V)*8192+Math.round(W[2*N]/V)+R;if(W[N]=q&67108863,q<67108864)R=0;else R=q/67108864|0}return W},Y0.prototype.convert13b=function(W,V,R,N){var q=0;for(var G=0;G<V;G++)q=q+(W[G]|0),R[2*G]=q&8191,q=q>>>13,R[2*G+1]=q&8191,q=q>>>13;for(G=2*V;G<N;++G)R[G]=0;v(q===0),v((q&-8192)===0)},Y0.prototype.stub=function(W){var V=Array(W);for(var R=0;R<W;R++)V[R]=0;return V},Y0.prototype.mulp=function(W,V,R){var N=2*this.guessLen13b(W.length,V.length),q=this.makeRBT(N),G=this.stub(N),C=Array(N),b=Array(N),y=Array(N),o=Array(N),J0=Array(N),K0=Array(N),A0=R.words;A0.length=N,this.convert13b(W.words,W.length,C,N),this.convert13b(V.words,V.length,o,N),this.transform(C,G,b,y,N,q),this.transform(o,G,J0,K0,N,q);for(var H0=0;H0<N;H0++){var W0=b[H0]*J0[H0]-y[H0]*K0[H0];y[H0]=b[H0]*K0[H0]+y[H0]*J0[H0],b[H0]=W0}return this.conjugate(b,y,N),this.transform(b,y,A0,G,N,q),this.conjugate(A0,G,N),this.normalize13b(A0,N),R.negative=W.negative^V.negative,R.length=W.length+V.length,R._strip()},Y.prototype.mul=function(W){var V=new Y(null);return V.words=Array(this.length+W.length),this.mulTo(W,V)},Y.prototype.mulf=function(W){var V=new Y(null);return V.words=Array(this.length+W.length),j0(this,W,V)},Y.prototype.imul=function(W){return this.clone().mulTo(W,this)},Y.prototype.imuln=function(W){var V=W<0;if(V)W=-W;v(typeof W==="number"),v(W<67108864);var R=0;for(var N=0;N<this.length;N++){var q=(this.words[N]|0)*W,G=(q&67108863)+(R&67108863);R>>=26,R+=q/67108864|0,R+=G>>>26,this.words[N]=G&67108863}if(R!==0)this.words[N]=R,this.length++;return this.length=W===0?1:this.length,V?this.ineg():this},Y.prototype.muln=function(W){return this.clone().imuln(W)},Y.prototype.sqr=function(){return this.mul(this)},Y.prototype.isqr=function(){return this.imul(this.clone())},Y.prototype.pow=function(W){var V=i(W);if(V.length===0)return new Y(1);var R=this;for(var N=0;N<V.length;N++,R=R.sqr())if(V[N]!==0)break;if(++N<V.length)for(var q=R.sqr();N<V.length;N++,q=q.sqr()){if(V[N]===0)continue;R=R.mul(q)}return R},Y.prototype.iushln=function(W){v(typeof W==="number"&&W>=0);var V=W%26,R=(W-V)/26,N=67108863>>>26-V<<26-V,q;if(V!==0){var G=0;for(q=0;q<this.length;q++){var C=this.words[q]&N,b=(this.words[q]|0)-C<<V;this.words[q]=b|G,G=C>>>26-V}if(G)this.words[q]=G,this.length++}if(R!==0){for(q=this.length-1;q>=0;q--)this.words[q+R]=this.words[q];for(q=0;q<R;q++)this.words[q]=0;this.length+=R}return this._strip()},Y.prototype.ishln=function(W){return v(this.negative===0),this.iushln(W)},Y.prototype.iushrn=function(W,V,R){v(typeof W==="number"&&W>=0);var N;if(V)N=(V-V%26)/26;else N=0;var q=W%26,G=Math.min((W-q)/26,this.length),C=67108863^67108863>>>q<<q,b=R;if(N-=G,N=Math.max(0,N),b){for(var y=0;y<G;y++)b.words[y]=this.words[y];b.length=G}if(G===0);else if(this.length>G){this.length-=G;for(y=0;y<this.length;y++)this.words[y]=this.words[y+G]}else this.words[0]=0,this.length=1;var o=0;for(y=this.length-1;y>=0&&(o!==0||y>=N);y--){var J0=this.words[y]|0;this.words[y]=o<<26-q|J0>>>q,o=J0&C}if(b&&o!==0)b.words[b.length++]=o;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},Y.prototype.ishrn=function(W,V,R){return v(this.negative===0),this.iushrn(W,V,R)},Y.prototype.shln=function(W){return this.clone().ishln(W)},Y.prototype.ushln=function(W){return this.clone().iushln(W)},Y.prototype.shrn=function(W){return this.clone().ishrn(W)},Y.prototype.ushrn=function(W){return this.clone().iushrn(W)},Y.prototype.testn=function(W){v(typeof W==="number"&&W>=0);var V=W%26,R=(W-V)/26,N=1<<V;if(this.length<=R)return!1;var q=this.words[R];return!!(q&N)},Y.prototype.imaskn=function(W){v(typeof W==="number"&&W>=0);var V=W%26,R=(W-V)/26;if(v(this.negative===0,"imaskn works only with positive numbers"),this.length<=R)return this;if(V!==0)R++;if(this.length=Math.min(R,this.length),V!==0){var N=67108863^67108863>>>V<<V;this.words[this.length-1]&=N}return this._strip()},Y.prototype.maskn=function(W){return this.clone().imaskn(W)},Y.prototype.iaddn=function(W){if(v(typeof W==="number"),v(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)},Y.prototype._iaddn=function(W){this.words[0]+=W;for(var V=0;V<this.length&&this.words[V]>=67108864;V++)if(this.words[V]-=67108864,V===this.length-1)this.words[V+1]=1;else this.words[V+1]++;return this.length=Math.max(this.length,V+1),this},Y.prototype.isubn=function(W){if(v(typeof W==="number"),v(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 V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this._strip()},Y.prototype.addn=function(W){return this.clone().iaddn(W)},Y.prototype.subn=function(W){return this.clone().isubn(W)},Y.prototype.iabs=function(){return this.negative=0,this},Y.prototype.abs=function(){return this.clone().iabs()},Y.prototype._ishlnsubmul=function(W,V,R){var N=W.length+R,q;this._expand(N);var G,C=0;for(q=0;q<W.length;q++){G=(this.words[q+R]|0)+C;var b=(W.words[q]|0)*V;G-=b&67108863,C=(G>>26)-(b/67108864|0),this.words[q+R]=G&67108863}for(;q<this.length-R;q++)G=(this.words[q+R]|0)+C,C=G>>26,this.words[q+R]=G&67108863;if(C===0)return this._strip();v(C===-1),C=0;for(q=0;q<this.length;q++)G=-(this.words[q]|0)+C,C=G>>26,this.words[q]=G&67108863;return this.negative=1,this._strip()},Y.prototype._wordDiv=function(W,V){var R=this.length-W.length,N=this.clone(),q=W,G=q.words[q.length-1]|0,C=this._countBits(G);if(R=26-C,R!==0)q=q.ushln(R),N.iushln(R),G=q.words[q.length-1]|0;var b=N.length-q.length,y;if(V!=="mod"){y=new Y(null),y.length=b+1,y.words=Array(y.length);for(var o=0;o<y.length;o++)y.words[o]=0}var J0=N.clone()._ishlnsubmul(q,1,b);if(J0.negative===0){if(N=J0,y)y.words[b]=1}for(var K0=b-1;K0>=0;K0--){var A0=(N.words[q.length+K0]|0)*67108864+(N.words[q.length+K0-1]|0);A0=Math.min(A0/G|0,67108863),N._ishlnsubmul(q,A0,K0);while(N.negative!==0)if(A0--,N.negative=0,N._ishlnsubmul(q,1,K0),!N.isZero())N.negative^=1;if(y)y.words[K0]=A0}if(y)y._strip();if(N._strip(),V!=="div"&&R!==0)N.iushrn(R);return{div:y||null,mod:N}},Y.prototype.divmod=function(W,V,R){if(v(!W.isZero()),this.isZero())return{div:new Y(0),mod:new Y(0)};var N,q,G;if(this.negative!==0&&W.negative===0){if(G=this.neg().divmod(W,V),V!=="mod")N=G.div.neg();if(V!=="div"){if(q=G.mod.neg(),R&&q.negative!==0)q.iadd(W)}return{div:N,mod:q}}if(this.negative===0&&W.negative!==0){if(G=this.divmod(W.neg(),V),V!=="mod")N=G.div.neg();return{div:N,mod:G.mod}}if((this.negative&W.negative)!==0){if(G=this.neg().divmod(W.neg(),V),V!=="div"){if(q=G.mod.neg(),R&&q.negative!==0)q.isub(W)}return{div:G.div,mod:q}}if(W.length>this.length||this.cmp(W)<0)return{div:new Y(0),mod:this};if(W.length===1){if(V==="div")return{div:this.divn(W.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Y(this.modrn(W.words[0]))};return{div:this.divn(W.words[0]),mod:new Y(this.modrn(W.words[0]))}}return this._wordDiv(W,V)},Y.prototype.div=function(W){return this.divmod(W,"div",!1).div},Y.prototype.mod=function(W){return this.divmod(W,"mod",!1).mod},Y.prototype.umod=function(W){return this.divmod(W,"mod",!0).mod},Y.prototype.divRound=function(W){var V=this.divmod(W);if(V.mod.isZero())return V.div;var R=V.div.negative!==0?V.mod.isub(W):V.mod,N=W.ushrn(1),q=W.andln(1),G=R.cmp(N);if(G<0||q===1&&G===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Y.prototype.modrn=function(W){var V=W<0;if(V)W=-W;v(W<=67108863);var R=67108864%W,N=0;for(var q=this.length-1;q>=0;q--)N=(R*N+(this.words[q]|0))%W;return V?-N:N},Y.prototype.modn=function(W){return this.modrn(W)},Y.prototype.idivn=function(W){var V=W<0;if(V)W=-W;v(W<=67108863);var R=0;for(var N=this.length-1;N>=0;N--){var q=(this.words[N]|0)+R*67108864;this.words[N]=q/W|0,R=q%W}return this._strip(),V?this.ineg():this},Y.prototype.divn=function(W){return this.clone().idivn(W)},Y.prototype.egcd=function(W){v(W.negative===0),v(!W.isZero());var V=this,R=W.clone();if(V.negative!==0)V=V.umod(W);else V=V.clone();var N=new Y(1),q=new Y(0),G=new Y(0),C=new Y(1),b=0;while(V.isEven()&&R.isEven())V.iushrn(1),R.iushrn(1),++b;var y=R.clone(),o=V.clone();while(!V.isZero()){for(var J0=0,K0=1;(V.words[0]&K0)===0&&J0<26;++J0,K0<<=1);if(J0>0){V.iushrn(J0);while(J0-- >0){if(N.isOdd()||q.isOdd())N.iadd(y),q.isub(o);N.iushrn(1),q.iushrn(1)}}for(var A0=0,H0=1;(R.words[0]&H0)===0&&A0<26;++A0,H0<<=1);if(A0>0){R.iushrn(A0);while(A0-- >0){if(G.isOdd()||C.isOdd())G.iadd(y),C.isub(o);G.iushrn(1),C.iushrn(1)}}if(V.cmp(R)>=0)V.isub(R),N.isub(G),q.isub(C);else R.isub(V),G.isub(N),C.isub(q)}return{a:G,b:C,gcd:R.iushln(b)}},Y.prototype._invmp=function(W){v(W.negative===0),v(!W.isZero());var V=this,R=W.clone();if(V.negative!==0)V=V.umod(W);else V=V.clone();var N=new Y(1),q=new Y(0),G=R.clone();while(V.cmpn(1)>0&&R.cmpn(1)>0){for(var C=0,b=1;(V.words[0]&b)===0&&C<26;++C,b<<=1);if(C>0){V.iushrn(C);while(C-- >0){if(N.isOdd())N.iadd(G);N.iushrn(1)}}for(var y=0,o=1;(R.words[0]&o)===0&&y<26;++y,o<<=1);if(y>0){R.iushrn(y);while(y-- >0){if(q.isOdd())q.iadd(G);q.iushrn(1)}}if(V.cmp(R)>=0)V.isub(R),N.isub(q);else R.isub(V),q.isub(N)}var J0;if(V.cmpn(1)===0)J0=N;else J0=q;if(J0.cmpn(0)<0)J0.iadd(W);return J0},Y.prototype.gcd=function(W){if(this.isZero())return W.abs();if(W.isZero())return this.abs();var V=this.clone(),R=W.clone();V.negative=0,R.negative=0;for(var N=0;V.isEven()&&R.isEven();N++)V.iushrn(1),R.iushrn(1);do{while(V.isEven())V.iushrn(1);while(R.isEven())R.iushrn(1);var q=V.cmp(R);if(q<0){var G=V;V=R,R=G}else if(q===0||R.cmpn(1)===0)break;V.isub(R)}while(!0);return R.iushln(N)},Y.prototype.invm=function(W){return this.egcd(W).a.umod(W)},Y.prototype.isEven=function(){return(this.words[0]&1)===0},Y.prototype.isOdd=function(){return(this.words[0]&1)===1},Y.prototype.andln=function(W){return this.words[0]&W},Y.prototype.bincn=function(W){v(typeof W==="number");var V=W%26,R=(W-V)/26,N=1<<V;if(this.length<=R)return this._expand(R+1),this.words[R]|=N,this;var q=N;for(var G=R;q!==0&&G<this.length;G++){var C=this.words[G]|0;C+=q,q=C>>>26,C&=67108863,this.words[G]=C}if(q!==0)this.words[G]=q,this.length++;return this},Y.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Y.prototype.cmpn=function(W){var V=W<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this._strip();var R;if(this.length>1)R=1;else{if(V)W=-W;v(W<=67108863,"Number is too big");var N=this.words[0]|0;R=N===W?0:N<W?-1:1}if(this.negative!==0)return-R|0;return R},Y.prototype.cmp=function(W){if(this.negative!==0&&W.negative===0)return-1;if(this.negative===0&&W.negative!==0)return 1;var V=this.ucmp(W);if(this.negative!==0)return-V|0;return V},Y.prototype.ucmp=function(W){if(this.length>W.length)return 1;if(this.length<W.length)return-1;var V=0;for(var R=this.length-1;R>=0;R--){var N=this.words[R]|0,q=W.words[R]|0;if(N===q)continue;if(N<q)V=-1;else if(N>q)V=1;break}return V},Y.prototype.gtn=function(W){return this.cmpn(W)===1},Y.prototype.gt=function(W){return this.cmp(W)===1},Y.prototype.gten=function(W){return this.cmpn(W)>=0},Y.prototype.gte=function(W){return this.cmp(W)>=0},Y.prototype.ltn=function(W){return this.cmpn(W)===-1},Y.prototype.lt=function(W){return this.cmp(W)===-1},Y.prototype.lten=function(W){return this.cmpn(W)<=0},Y.prototype.lte=function(W){return this.cmp(W)<=0},Y.prototype.eqn=function(W){return this.cmpn(W)===0},Y.prototype.eq=function(W){return this.cmp(W)===0},Y.red=function(W){return new K(W)},Y.prototype.toRed=function(W){return v(!this.red,"Already a number in reduction context"),v(this.negative===0,"red works only with positives"),W.convertTo(this)._forceRed(W)},Y.prototype.fromRed=function(){return v(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Y.prototype._forceRed=function(W){return this.red=W,this},Y.prototype.forceRed=function(W){return v(!this.red,"Already a number in reduction context"),this._forceRed(W)},Y.prototype.redAdd=function(W){return v(this.red,"redAdd works only with red numbers"),this.red.add(this,W)},Y.prototype.redIAdd=function(W){return v(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,W)},Y.prototype.redSub=function(W){return v(this.red,"redSub works only with red numbers"),this.red.sub(this,W)},Y.prototype.redISub=function(W){return v(this.red,"redISub works only with red numbers"),this.red.isub(this,W)},Y.prototype.redShl=function(W){return v(this.red,"redShl works only with red numbers"),this.red.shl(this,W)},Y.prototype.redMul=function(W){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,W),this.red.mul(this,W)},Y.prototype.redIMul=function(W){return v(this.red,"redMul works only with red numbers"),this.red._verify2(this,W),this.red.imul(this,W)},Y.prototype.redSqr=function(){return v(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Y.prototype.redISqr=function(){return v(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Y.prototype.redSqrt=function(){return v(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Y.prototype.redInvm=function(){return v(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Y.prototype.redNeg=function(){return v(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Y.prototype.redPow=function(W){return v(this.red&&!W.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,W)};var C0={k256:null,p224:null,p192:null,p25519:null};function S0(W,V){this.name=W,this.p=new Y(V,16),this.n=this.p.bitLength(),this.k=new Y(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}S0.prototype._tmp=function(){var W=new Y(null);return W.words=Array(Math.ceil(this.n/13)),W},S0.prototype.ireduce=function(W){var V=W,R;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),R=V.bitLength();while(R>this.n);var N=R<this.n?-1:V.ucmp(this.p);if(N===0)V.words[0]=0,V.length=1;else if(N>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},S0.prototype.split=function(W,V){W.iushrn(this.n,0,V)},S0.prototype.imulK=function(W){return W.imul(this.k)};function h0(){S0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}Z(h0,S0),h0.prototype.split=function(W,V){var R=4194303,N=Math.min(W.length,9);for(var q=0;q<N;q++)V.words[q]=W.words[q];if(V.length=N,W.length<=9){W.words[0]=0,W.length=1;return}var G=W.words[9];V.words[V.length++]=G&R;for(q=10;q<W.length;q++){var C=W.words[q]|0;W.words[q-10]=(C&R)<<4|G>>>22,G=C}if(G>>>=22,W.words[q-10]=G,G===0&&W.length>10)W.length-=10;else W.length-=9},h0.prototype.imulK=function(W){W.words[W.length]=0,W.words[W.length+1]=0,W.length+=2;var V=0;for(var R=0;R<W.length;R++){var N=W.words[R]|0;V+=N*977,W.words[R]=V&67108863,V=N*64+(V/67108864|0)}if(W.words[W.length-1]===0){if(W.length--,W.words[W.length-1]===0)W.length--}return W};function X0(){S0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}Z(X0,S0);function x0(){S0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}Z(x0,S0);function Q(){S0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}Z(Q,S0),Q.prototype.imulK=function(W){var V=0;for(var R=0;R<W.length;R++){var N=(W.words[R]|0)*19+V,q=N&67108863;N>>>=26,W.words[R]=q,V=N}if(V!==0)W.words[W.length++]=V;return W},Y._prime=function(W){if(C0[W])return C0[W];var V;if(W==="k256")V=new h0;else if(W==="p224")V=new X0;else if(W==="p192")V=new x0;else if(W==="p25519")V=new Q;else throw Error("Unknown prime "+W);return C0[W]=V,V};function K(W){if(typeof W==="string"){var V=Y._prime(W);this.m=V.p,this.prime=V}else v(W.gtn(1),"modulus must be greater than 1"),this.m=W,this.prime=null}K.prototype._verify1=function(W){v(W.negative===0,"red works only with positives"),v(W.red,"red works only with red numbers")},K.prototype._verify2=function(W,V){v((W.negative|V.negative)===0,"red works only with positives"),v(W.red&&W.red===V.red,"red works only with red numbers")},K.prototype.imod=function(W){if(this.prime)return this.prime.ireduce(W)._forceRed(this);return H(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,V){this._verify2(W,V);var R=W.add(V);if(R.cmp(this.m)>=0)R.isub(this.m);return R._forceRed(this)},K.prototype.iadd=function(W,V){this._verify2(W,V);var R=W.iadd(V);if(R.cmp(this.m)>=0)R.isub(this.m);return R},K.prototype.sub=function(W,V){this._verify2(W,V);var R=W.sub(V);if(R.cmpn(0)<0)R.iadd(this.m);return R._forceRed(this)},K.prototype.isub=function(W,V){this._verify2(W,V);var R=W.isub(V);if(R.cmpn(0)<0)R.iadd(this.m);return R},K.prototype.shl=function(W,V){return this._verify1(W),this.imod(W.ushln(V))},K.prototype.imul=function(W,V){return this._verify2(W,V),this.imod(W.imul(V))},K.prototype.mul=function(W,V){return this._verify2(W,V),this.imod(W.mul(V))},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 V=this.m.andln(3);if(v(V%2===1),V===3){var R=this.m.add(new Y(1)).iushrn(2);return this.pow(W,R)}var N=this.m.subn(1),q=0;while(!N.isZero()&&N.andln(1)===0)q++,N.iushrn(1);v(!N.isZero());var G=new Y(1).toRed(this),C=G.redNeg(),b=this.m.subn(1).iushrn(1),y=this.m.bitLength();y=new Y(2*y*y).toRed(this);while(this.pow(y,b).cmp(C)!==0)y.redIAdd(C);var o=this.pow(y,N),J0=this.pow(W,N.addn(1).iushrn(1)),K0=this.pow(W,N),A0=q;while(K0.cmp(G)!==0){var H0=K0;for(var W0=0;H0.cmp(G)!==0;W0++)H0=H0.redSqr();v(W0<A0);var z0=this.pow(o,new Y(1).iushln(A0-W0-1));J0=J0.redMul(z0),o=z0.redSqr(),K0=K0.redMul(o),A0=W0}return J0},K.prototype.invm=function(W){var V=W._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},K.prototype.pow=function(W,V){if(V.isZero())return new Y(1).toRed(this);if(V.cmpn(1)===0)return W.clone();var R=4,N=Array(1<<R);N[0]=new Y(1).toRed(this),N[1]=W;for(var q=2;q<N.length;q++)N[q]=this.mul(N[q-1],W);var G=N[0],C=0,b=0,y=V.bitLength()%26;if(y===0)y=26;for(q=V.length-1;q>=0;q--){var o=V.words[q];for(var J0=y-1;J0>=0;J0--){var K0=o>>J0&1;if(G!==N[0])G=this.sqr(G);if(K0===0&&C===0){b=0;continue}if(C<<=1,C|=K0,b++,b!==R&&(q!==0||J0!==0))continue;G=this.mul(G,N[C]),b=0,C=0}y=26}return G},K.prototype.convertTo=function(W){var V=W.umod(this.m);return V===W?V.clone():V},K.prototype.convertFrom=function(W){var V=W.clone();return V.red=null,V},Y.mont=function(W){return new D(W)};function D(W){if(K.call(this,W),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Y(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(D,K),D.prototype.convertTo=function(W){return this.imod(W.ushln(this.shift))},D.prototype.convertFrom=function(W){var V=this.imod(W.mul(this.rinv));return V.red=null,V},D.prototype.imul=function(W,V){if(W.isZero()||V.isZero())return W.words[0]=0,W.length=1,W;var R=W.imul(V),N=R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=R.isub(N).iushrn(this.shift),G=q;if(q.cmp(this.m)>=0)G=q.isub(this.m);else if(q.cmpn(0)<0)G=q.iadd(this.m);return G._forceRed(this)},D.prototype.mul=function(W,V){if(W.isZero()||V.isZero())return new Y(0)._forceRed(this);var R=W.mul(V),N=R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=R.isub(N).iushrn(this.shift),G=q;if(q.cmp(this.m)>=0)G=q.isub(this.m);else if(q.cmpn(0)<0)G=q.iadd(this.m);return G._forceRed(this)},D.prototype.invm=function(W){var V=this.imod(W._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof I>"u"||I,U)}),dT=G$((U,I)=>{var J=$y(),z=U9(),v=h1().Buffer;function Z(S){var B=S.modulus.byteLength(),g;do g=new J(z(B));while(g.cmp(S.modulus)>=0||!g.umod(S.prime1)||!g.umod(S.prime2));return g}function Y(S){var B=Z(S),g=B.toRed(J.mont(S.modulus)).redPow(new J(S.publicExponent)).fromRed();return{blinder:g,unblinder:B.invm(S.modulus)}}function L(S,B){var g=Y(B),H=B.modulus.byteLength(),T=new J(S).mul(g.blinder).umod(B.modulus),c=T.toRed(J.mont(B.prime1)),x=T.toRed(J.mont(B.prime2)),u=B.coefficient,h=B.prime1,i=B.prime2,m=c.redPow(B.exponent1).fromRed(),n=x.redPow(B.exponent2).fromRed(),a=m.isub(n).imul(u).umod(h).imul(i);return n.iadd(a).imul(g.unblinder).umod(B.modulus).toArrayLike(v,"be",H)}L.getr=Z,I.exports=L}),jy=G$((U,I)=>{var J=uT(),z=U9(),v=v9(),Z=hT(),Y=pT(),L=D5(),S=lT(),B=dT(),g=h1().Buffer;I.exports=function(x,u,h){var i;if(x.padding)i=x.padding;else if(h)i=1;else i=4;var m=J(x),n;if(i===4)n=H(m,u);else if(i===1)n=T(m,u,h);else if(i===3){if(n=new L(u),n.cmp(m.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(h)return B(n,m);else return S(n,m)};function H(x,u){var h=x.modulus.byteLength(),i=u.length,m=v("sha1").update(g.alloc(0)).digest(),n=m.length,a=2*n;if(i>h-a-2)throw Error("message too long");var j0=g.alloc(h-i-a-2),Y0=h-n-1,C0=z(n),S0=Y(g.concat([m,j0,g.alloc(1,1),u],Y0),Z(C0,Y0)),h0=Y(C0,Z(S0,n));return new L(g.concat([g.alloc(1),h0,S0],h))}function T(x,u,h){var i=u.length,m=x.modulus.byteLength();if(i>m-11)throw Error("message too long");var n;if(h)n=g.alloc(m-i-3,255);else n=c(m-i-3);return new L(g.concat([g.from([0,h?1:2]),n,g.alloc(1),u],m))}function c(x){var u=g.allocUnsafe(x),h=0,i=z(x*2),m=0,n;while(h<x){if(m===i.length)i=z(x*2),m=0;if(n=i[m++],n)u[h++]=n}return u}}),Uy=G$((U,I)=>{var J=uT(),z=hT(),v=pT(),Z=D5(),Y=dT(),L=v9(),S=lT(),B=h1().Buffer;I.exports=function(c,x,u){var h;if(c.padding)h=c.padding;else if(u)h=1;else h=4;var i=J(c),m=i.modulus.byteLength();if(x.length>m||new Z(x).cmp(i.modulus)>=0)throw Error("decryption error");var n;if(u)n=S(new Z(x),i);else n=Y(x,i);var a=B.alloc(m-n.length);if(n=B.concat([a,n],m),h===4)return g(i,n);else if(h===1)return H(i,n,u);else if(h===3)return n;else throw Error("unknown padding")};function g(c,x){var u=c.modulus.byteLength(),h=L("sha1").update(B.alloc(0)).digest(),i=h.length;if(x[0]!==0)throw Error("decryption error");var m=x.slice(1,i+1),n=x.slice(i+1),a=v(m,z(n,i)),j0=v(n,z(a,u-i-1));if(T(h,j0.slice(0,i)))throw Error("decryption error");var Y0=i;while(j0[Y0]===0)Y0++;if(j0[Y0++]!==1)throw Error("decryption error");return j0.slice(Y0)}function H(c,x,u){var h=x.slice(0,2),i=2,m=0;while(x[i++]!==0)if(i>=x.length){m++;break}var n=x.slice(2,i-1);if(h.toString("hex")!=="0002"&&!u||h.toString("hex")!=="0001"&&u)m++;if(n.length<8)m++;if(m)throw Error("decryption error");return x.slice(i)}function T(c,x){c=B.from(c),x=B.from(x);var u=0,h=c.length;if(c.length!==x.length)u++,h=Math.min(c.length,x.length);var i=-1;while(++i<h)u+=c[i]^x[i];return u}}),Q5=G$((U)=>{U.publicEncrypt=jy(),U.privateDecrypt=Uy(),U.privateEncrypt=function(I,J){return U.publicEncrypt(I,J,!0)},U.publicDecrypt=function(I,J){return U.privateDecrypt(I,J,!0)}}),vy=G$((U)=>{var I=(VU(),Mj(vI));if(typeof I.publicEncrypt!=="function")I=Q5();if(U.publicEncrypt=I.publicEncrypt,U.privateDecrypt=I.privateDecrypt,typeof I.privateEncrypt!=="function")U.privateEncrypt=Q5().privateEncrypt;else U.privateEncrypt=I.privateEncrypt;if(typeof I.publicDecrypt!=="function")U.publicDecrypt=Q5().publicDecrypt;else U.publicDecrypt=I.publicDecrypt}),Iy=G$((U)=>{var I=h1(),J=U9(),z=I.Buffer,v=I.kMaxLength,Z=globalThis.crypto||globalThis.msCrypto,Y=Math.pow(2,32)-1;function L(T,c){if(typeof T!=="number"||T!==T)throw TypeError("offset must be a number");if(T>Y||T<0)throw TypeError("offset must be a uint32");if(T>v||T>c)throw RangeError("offset out of range")}function S(T,c,x){if(typeof T!=="number"||T!==T)throw TypeError("size must be a number");if(T>Y||T<0)throw TypeError("size must be a uint32");if(T+c>x||T>v)throw RangeError("buffer too small")}Z&&Z.getRandomValues,U.randomFill=B,U.randomFillSync=H;function B(T,c,x,u){if(!z.isBuffer(T)&&!(T instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof c==="function")u=c,c=0,x=T.length;else if(typeof x==="function")u=x,x=T.length-c;else if(typeof u!=="function")throw TypeError('"cb" argument must be a function');return L(c,T.length),S(x,c,T.length),g(T,c,x,u)}function g(T,c,x,u){if(!1)var h,i;if(u){J(x,function(n,a){if(n)return u(n);a.copy(T,c),u(null,T)});return}var m=J(x);return m.copy(T,c),T}function H(T,c,x){if(typeof c>"u")c=0;if(!z.isBuffer(T)&&!(T instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(L(c,T.length),x===void 0)x=T.length-c;return S(x,c,T.length),g(T,c,x)}}),Xy=G$((U,I)=>{var J=(VU(),Mj(vI));if(typeof J.randomFill==="function"&&typeof J.randomFillSync==="function")U.randomFill=J.randomFill,U.randomFillSync=J.randomFillSync;else I.exports=Iy()}),Jy=G$((U)=>{U.randomBytes=U.rng=U.pseudoRandomBytes=U.prng=U9(),U.createHash=U.Hash=v9(),U.createHmac=U.Hmac=_T();var I=gc(),J=Object.keys(I),z=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(J);U.getHashes=function(){return z};var v=gT();U.pbkdf2=v.pbkdf2,U.pbkdf2Sync=v.pbkdf2Sync;var Z=Wx();U.Cipher=Z.Cipher,U.createCipher=Z.createCipher,U.Cipheriv=Z.Cipheriv,U.createCipheriv=Z.createCipheriv,U.Decipher=Z.Decipher,U.createDecipher=Z.createDecipher,U.Decipheriv=Z.Decipheriv,U.createDecipheriv=Z.createDecipheriv,U.getCiphers=Z.getCiphers,U.listCiphers=Z.listCiphers;var Y=Kx();U.DiffieHellmanGroup=Y.DiffieHellmanGroup,U.createDiffieHellmanGroup=Y.createDiffieHellmanGroup,U.getDiffieHellman=Y.getDiffieHellman,U.createDiffieHellman=Y.createDiffieHellman,U.DiffieHellman=Y.DiffieHellman;var L=Ox();U.createSign=L.createSign,U.Sign=L.Sign,U.createVerify=L.createVerify,U.Verify=L.Verify,U.createECDH=yx();var S=vy();U.publicEncrypt=S.publicEncrypt,U.privateEncrypt=S.privateEncrypt,U.publicDecrypt=S.publicDecrypt,U.privateDecrypt=S.privateDecrypt;var B=Xy();U.randomFill=B.randomFill,U.randomFillSync=B.randomFillSync,U.createCredentials=function(){throw Error(`sorry, createCredentials is not implemented yet
|
|
244
|
+
we accept pull requests
|
|
245
|
+
https://github.com/browserify/crypto-browserify`)},U.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}}),bj=Bc(Jy(),1),Qy=bj.prng,Yy=bj.pseudoRandomBytes,Gy=bj.rng,Zy=bj.randomBytes,zy=bj.Hash,a6=bj.createHash,Wy=bj.Hmac,nT=bj.createHmac,Ky=bj.getHashes,Oy=bj.pbkdf2,Vy=bj.pbkdf2Sync,Dy=bj.Cipher,Fy=bj.createCipher,Hy=bj.Cipheriv,_y=bj.createCipheriv,My=bj.Decipher,Ly=bj.createDecipher,Ay=bj.Decipheriv,qy=bj.createDecipheriv,Py=bj.getCiphers,Cy=bj.listCiphers,Ry=bj.DiffieHellmanGroup,Ey=bj.createDiffieHellmanGroup,Ty=bj.getDiffieHellman,By=bj.createDiffieHellman,gy=bj.DiffieHellman,Ny=bj.createSign,Sy=bj.Sign,wy=bj.createVerify,ky=bj.Verify,cy=bj.createECDH,xy=bj.publicEncrypt,yy=bj.privateEncrypt,fy=bj.publicDecrypt,by=bj.privateDecrypt,my=bj.randomFill,uy=bj.randomFillSync,hy=bj.createCredentials,py=bj.constants,ny=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];ry=crypto,oy=crypto});var j3={};m1(j3,{resolveObject:()=>$3,resolve:()=>eN,parse:()=>ZW,format:()=>aN,default:()=>wh,Url:()=>QI,URLSearchParams:()=>tN,URL:()=>uq});function hq(U){return typeof U==="string"}function sN(U){return typeof U==="object"&&U!==null}function dD(U){return U===null}function Ph(U){return U==null}function QI(){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 ZW(U,I,J){if(U&&sN(U)&&U instanceof QI)return U;var z=new QI;return z.parse(U,I,J),z}function aN(U){if(hq(U))U=ZW(U);if(!(U instanceof QI))return QI.prototype.format.call(U);return U.format()}function eN(U,I){return ZW(U,!1,!0).resolve(I)}function $3(U,I){if(!U)return I;return ZW(U,!1,!0).resolveObject(I)}var uq,tN,Ch,Rh,Eh,Th,Bh,fq,iN,rN,gh=255,oN,Nh,Sh,bq,GW,mq,wh;var U3=F8(()=>{({URL:uq,URLSearchParams:tN}=globalThis);Ch=/^([a-z0-9.+-]+:)/i,Rh=/:[0-9]*$/,Eh=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Th=["<",">",'"',"`"," ","\r",`
|
|
246
|
+
`,"\t"],Bh=["{","}","|","\\","^","`"].concat(Th),fq=["'"].concat(Bh),iN=["%","/","?",";","#"].concat(fq),rN=["/","?","#"],oN=/^[+a-z0-9A-Z_-]{0,63}$/,Nh=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sh={javascript:!0,"javascript:":!0},bq={javascript:!0,"javascript:":!0},GW={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},mq={parse(U){var I=decodeURIComponent;return(U+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(J,z,v){var Z=z.split("="),Y=I(Z[0]||""),L=I(Z[1]||""),S=J[Y];return J[Y]=S===void 0?L:[].concat(S,L),J},{})},stringify(U){var I=encodeURIComponent;return Object.keys(U||{}).reduce(function(J,z){return[].concat(U[z]).forEach(function(v){J.push(I(z)+"="+I(v))}),J},[]).join("&").replace(/\s/g,"+")}};QI.prototype.parse=function(U,I,J){if(!hq(U))throw TypeError("Parameter 'url' must be a string, not "+typeof U);var z=U.indexOf("?"),v=z!==-1&&z<U.indexOf("#")?"?":"#",Z=U.split(v),Y=/\\/g;Z[0]=Z[0].replace(Y,"/"),U=Z.join(v);var L=U;if(L=L.trim(),!J&&U.split("#").length===1){var S=Eh.exec(L);if(S){if(this.path=L,this.href=L,this.pathname=S[1],S[2])if(this.search=S[2],I)this.query=mq.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(I)this.search="",this.query={};return this}}var B=Ch.exec(L);if(B){B=B[0];var g=B.toLowerCase();this.protocol=g,L=L.substr(B.length)}if(J||B||L.match(/^\/\/[^@\/]+@[^@\/]+/)){var H=L.substr(0,2)==="//";if(H&&!(B&&bq[B]))L=L.substr(2),this.slashes=!0}if(!bq[B]&&(H||B&&!GW[B])){var T=-1;for(var c=0;c<rN.length;c++){var x=L.indexOf(rN[c]);if(x!==-1&&(T===-1||x<T))T=x}var u,h;if(T===-1)h=L.lastIndexOf("@");else h=L.lastIndexOf("@",T);if(h!==-1)u=L.slice(0,h),L=L.slice(h+1),this.auth=decodeURIComponent(u);T=-1;for(var c=0;c<iN.length;c++){var x=L.indexOf(iN[c]);if(x!==-1&&(T===-1||x<T))T=x}if(T===-1)T=L.length;this.host=L.slice(0,T),L=L.slice(T),this.parseHost(),this.hostname=this.hostname||"";var i=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!i){var m=this.hostname.split(/\./);for(var c=0,n=m.length;c<n;c++){var a=m[c];if(!a)continue;if(!a.match(oN)){var j0="";for(var Y0=0,C0=a.length;Y0<C0;Y0++)if(a.charCodeAt(Y0)>127)j0+="x";else j0+=a[Y0];if(!j0.match(oN)){var S0=m.slice(0,c),h0=m.slice(c+1),X0=a.match(Nh);if(X0)S0.push(X0[1]),h0.unshift(X0[2]);if(h0.length)L="/"+h0.join(".")+L;this.hostname=S0.join(".");break}}}}if(this.hostname.length>gh)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!i)this.hostname=new uq(`https://${this.hostname}`).hostname;var x0=this.port?":"+this.port:"",Q=this.hostname||"";if(this.host=Q+x0,this.href+=this.host,i){if(this.hostname=this.hostname.substr(1,this.hostname.length-2),L[0]!=="/")L="/"+L}}if(!Sh[g])for(var c=0,n=fq.length;c<n;c++){var K=fq[c];if(L.indexOf(K)===-1)continue;var D=encodeURIComponent(K);if(D===K)D=escape(K);L=L.split(K).join(D)}var W=L.indexOf("#");if(W!==-1)this.hash=L.substr(W),L=L.slice(0,W);var V=L.indexOf("?");if(V!==-1){if(this.search=L.substr(V),this.query=L.substr(V+1),I)this.query=mq.parse(this.query);L=L.slice(0,V)}else if(I)this.search="",this.query={};if(L)this.pathname=L;if(GW[g]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var x0=this.pathname||"",R=this.search||"";this.path=x0+R}return this.href=this.format(),this};QI.prototype.format=function(){var U=this.auth||"";if(U)U=encodeURIComponent(U),U=U.replace(/%3A/i,":"),U+="@";var I=this.protocol||"",J=this.pathname||"",z=this.hash||"",v=!1,Z="";if(this.host)v=U+this.host;else if(this.hostname){if(v=U+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port)v+=":"+this.port}if(this.query&&sN(this.query)&&Object.keys(this.query).length)Z=mq.stringify(this.query);var Y=this.search||Z&&"?"+Z||"";if(I&&I.substr(-1)!==":")I+=":";if(this.slashes||(!I||GW[I])&&v!==!1){if(v="//"+(v||""),J&&J.charAt(0)!=="/")J="/"+J}else if(!v)v="";if(z&&z.charAt(0)!=="#")z="#"+z;if(Y&&Y.charAt(0)!=="?")Y="?"+Y;return J=J.replace(/[?#]/g,function(L){return encodeURIComponent(L)}),Y=Y.replace("#","%23"),I+v+J+Y+z};QI.prototype.resolve=function(U){return this.resolveObject(ZW(U,!1,!0)).format()};QI.prototype.resolveObject=function(U){if(hq(U)){var I=new QI;I.parse(U,!1,!0),U=I}var J=new QI,z=Object.keys(this);for(var v=0;v<z.length;v++){var Z=z[v];J[Z]=this[Z]}if(J.hash=U.hash,U.href==="")return J.href=J.format(),J;if(U.slashes&&!U.protocol){var Y=Object.keys(U);for(var L=0;L<Y.length;L++){var S=Y[L];if(S!=="protocol")J[S]=U[S]}if(GW[J.protocol]&&J.hostname&&!J.pathname)J.path=J.pathname="/";return J.href=J.format(),J}if(U.protocol&&U.protocol!==J.protocol){if(!GW[U.protocol]){var B=Object.keys(U);for(var g=0;g<B.length;g++){var H=B[g];J[H]=U[H]}return J.href=J.format(),J}if(J.protocol=U.protocol,!U.host&&!bq[U.protocol]){var n=(U.pathname||"").split("/");while(n.length&&!(U.host=n.shift()));if(!U.host)U.host="";if(!U.hostname)U.hostname="";if(n[0]!=="")n.unshift("");if(n.length<2)n.unshift("");J.pathname=n.join("/")}else J.pathname=U.pathname;if(J.search=U.search,J.query=U.query,J.host=U.host||"",J.auth=U.auth,J.hostname=U.hostname||U.host,J.port=U.port,J.pathname||J.search){var T=J.pathname||"",c=J.search||"";J.path=T+c}return J.slashes=J.slashes||U.slashes,J.href=J.format(),J}var x=J.pathname&&J.pathname.charAt(0)==="/",u=U.host||U.pathname&&U.pathname.charAt(0)==="/",h=u||x||J.host&&U.pathname,i=h,m=J.pathname&&J.pathname.split("/")||[],n=U.pathname&&U.pathname.split("/")||[],a=J.protocol&&!GW[J.protocol];if(a){if(J.hostname="",J.port=null,J.host)if(m[0]==="")m[0]=J.host;else m.unshift(J.host);if(J.host="",U.protocol){if(U.hostname=null,U.port=null,U.host)if(n[0]==="")n[0]=U.host;else n.unshift(U.host);U.host=null}h=h&&(n[0]===""||m[0]==="")}if(u)J.host=U.host||U.host===""?U.host:J.host,J.hostname=U.hostname||U.hostname===""?U.hostname:J.hostname,J.search=U.search,J.query=U.query,m=n;else if(n.length){if(!m)m=[];m.pop(),m=m.concat(n),J.search=U.search,J.query=U.query}else if(!Ph(U.search)){if(a){J.hostname=J.host=m.shift();var j0=J.host&&J.host.indexOf("@")>0?J.host.split("@"):!1;if(j0)J.auth=j0.shift(),J.host=J.hostname=j0.shift()}if(J.search=U.search,J.query=U.query,!dD(J.pathname)||!dD(J.search))J.path=(J.pathname?J.pathname:"")+(J.search?J.search:"");return J.href=J.format(),J}if(!m.length){if(J.pathname=null,J.search)J.path="/"+J.search;else J.path=null;return J.href=J.format(),J}var Y0=m.slice(-1)[0],C0=(J.host||U.host||m.length>1)&&(Y0==="."||Y0==="..")||Y0==="",S0=0;for(var h0=m.length;h0>=0;h0--)if(Y0=m[h0],Y0===".")m.splice(h0,1);else if(Y0==="..")m.splice(h0,1),S0++;else if(S0)m.splice(h0,1),S0--;if(!h&&!i)for(;S0--;S0)m.unshift("..");if(h&&m[0]!==""&&(!m[0]||m[0].charAt(0)!=="/"))m.unshift("");if(C0&&m.join("/").substr(-1)!=="/")m.push("");var X0=m[0]===""||m[0]&&m[0].charAt(0)==="/";if(a){J.hostname=J.host=X0?"":m.length?m.shift():"";var j0=J.host&&J.host.indexOf("@")>0?J.host.split("@"):!1;if(j0)J.auth=j0.shift(),J.host=J.hostname=j0.shift()}if(h=h||J.host&&m.length,h&&!X0)m.unshift("");if(!m.length)J.pathname=null,J.path=null;else J.pathname=m.join("/");if(!dD(J.pathname)||!dD(J.search))J.path=(J.pathname?J.pathname:"")+(J.search?J.search:"");return J.auth=U.auth||J.auth,J.slashes=J.slashes||U.slashes,J.href=J.format(),J};QI.prototype.parseHost=function(){var U=this.host,I=Rh.exec(U);if(I){if(I=I[0],I!==":")this.port=I.substr(1);U=U.substr(0,U.length-I.length)}if(U)this.hostname=U};wh={parse:ZW,resolve:eN,resolveObject:$3,format:aN,Url:QI,URL:uq,URLSearchParams:tN}});var V3={};m1(V3,{request:()=>sh,globalAgent:()=>Up,get:()=>ah,default:()=>O3,STATUS_CODES:()=>vp,METHODS:()=>Ip,IncomingMessage:()=>$p,ClientRequest:()=>eh,Agent:()=>jp});var kh,ch,v3,xh,yh,fh=(U,I,J)=>{J=U!=null?kh(ch(U)):{};let z=I||!U||!U.__esModule?v3(J,"default",{value:U,enumerable:!0}):J;for(let v of xh(U))if(!yh.call(z,v))v3(z,v,{get:()=>U[v],enumerable:!0});return z},bU=(U,I)=>()=>(I||U((I={exports:{}}).exports,I),I.exports),X3,bh,Jz,mh,J3,Qz,Q3,uh,Y3,zW,hh,I3,pq,ph,lh,G3,Z3,dh,nh,z3,W3,ih,rh,oh,th,K3,sh,ah,eh,$p,jp,Up,vp,Ip,O3;var lq=F8(()=>{kh=Object.create,{getPrototypeOf:ch,defineProperty:v3,getOwnPropertyNames:xh}=Object,yh=Object.prototype.hasOwnProperty,X3=bU((U)=>{U.fetch=v(globalThis.fetch)&&v(globalThis.ReadableStream),U.writableStream=v(globalThis.WritableStream),U.abortController=v(globalThis.AbortController);var I;function J(){if(I!==void 0)return I;if(globalThis.XMLHttpRequest){I=new globalThis.XMLHttpRequest;try{I.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(Z){I=null}}else I=null;return I}function z(Z){var Y=J();if(!Y)return!1;try{return Y.responseType=Z,Y.responseType===Z}catch(L){}return!1}U.arraybuffer=U.fetch||z("arraybuffer"),U.msstream=!U.fetch&&z("ms-stream"),U.mozchunkedarraybuffer=!U.fetch&&z("moz-chunked-arraybuffer"),U.overrideMimeType=U.fetch||(J()?v(J().overrideMimeType):!1);function v(Z){return typeof Z==="function"}I=null}),bh=bU((U,I)=>{if(typeof Object.create==="function")I.exports=function(J,z){if(z)J.super_=z,J.prototype=Object.create(z.prototype,{constructor:{value:J,enumerable:!1,writable:!0,configurable:!0}})};else I.exports=function(J,z){if(z){J.super_=z;var v=function(){};v.prototype=z.prototype,J.prototype=new v,J.prototype.constructor=J}}}),Jz=bU((U,I)=>{try{if(J=(q8(),Mj(A8)),typeof J.inherits!=="function")throw"";I.exports=J.inherits}catch(z){I.exports=bh()}var J}),mh=bU((U,I)=>{function J(h,i){var m=Object.keys(h);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(h);i&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(h,a).enumerable})),m.push.apply(m,n)}return m}function z(h){for(var i=1;i<arguments.length;i++){var m=arguments[i]!=null?arguments[i]:{};i%2?J(Object(m),!0).forEach(function(n){v(h,n,m[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(m)):J(Object(m)).forEach(function(n){Object.defineProperty(h,n,Object.getOwnPropertyDescriptor(m,n))})}return h}function v(h,i,m){if(i=S(i),i in h)Object.defineProperty(h,i,{value:m,enumerable:!0,configurable:!0,writable:!0});else h[i]=m;return h}function Z(h,i){if(!(h instanceof i))throw TypeError("Cannot call a class as a function")}function Y(h,i){for(var m=0;m<i.length;m++){var n=i[m];if(n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n)n.writable=!0;Object.defineProperty(h,S(n.key),n)}}function L(h,i,m){if(i)Y(h.prototype,i);if(m)Y(h,m);return Object.defineProperty(h,"prototype",{writable:!1}),h}function S(h){var i=B(h,"string");return typeof i==="symbol"?i:String(i)}function B(h,i){if(typeof h!=="object"||h===null)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var n=m.call(h,i||"default");if(typeof n!=="object")return n;throw TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(h)}var g=(F4(),Mj(D4)),H=g.Buffer,T=(q8(),Mj(A8)),c=T.inspect,x=c&&c.custom||"inspect";function u(h,i,m){H.prototype.copy.call(h,i,m)}I.exports=function(){function h(){Z(this,h),this.head=null,this.tail=null,this.length=0}return L(h,[{key:"push",value:function(i){var m={data:i,next:null};if(this.length>0)this.tail.next=m;else this.head=m;this.tail=m,++this.length}},{key:"unshift",value:function(i){var m={data:i,next:this.head};if(this.length===0)this.tail=m;this.head=m,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,i}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(i){if(this.length===0)return"";var m=this.head,n=""+m.data;while(m=m.next)n+=i+m.data;return n}},{key:"concat",value:function(i){if(this.length===0)return H.alloc(0);var m=H.allocUnsafe(i>>>0),n=this.head,a=0;while(n)u(n.data,m,a),a+=n.data.length,n=n.next;return m}},{key:"consume",value:function(i,m){var n;if(i<this.head.data.length)n=this.head.data.slice(0,i),this.head.data=this.head.data.slice(i);else if(i===this.head.data.length)n=this.shift();else n=m?this._getString(i):this._getBuffer(i);return n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(i){var m=this.head,n=1,a=m.data;i-=a.length;while(m=m.next){var j0=m.data,Y0=i>j0.length?j0.length:i;if(Y0===j0.length)a+=j0;else a+=j0.slice(0,i);if(i-=Y0,i===0){if(Y0===j0.length)if(++n,m.next)this.head=m.next;else this.head=this.tail=null;else this.head=m,m.data=j0.slice(Y0);break}++n}return this.length-=n,a}},{key:"_getBuffer",value:function(i){var m=H.allocUnsafe(i),n=this.head,a=1;n.data.copy(m),i-=n.data.length;while(n=n.next){var j0=n.data,Y0=i>j0.length?j0.length:i;if(j0.copy(m,m.length-i,0,Y0),i-=Y0,i===0){if(Y0===j0.length)if(++a,n.next)this.head=n.next;else this.head=this.tail=null;else this.head=n,n.data=j0.slice(Y0);break}++a}return this.length-=a,m}},{key:x,value:function(i,m){return c(this,z(z({},m),{},{depth:0,customInspect:!1}))}}]),h}()}),J3=bU((U,I)=>{function J(S,B){var g=this,H=this._readableState&&this._readableState.destroyed,T=this._writableState&&this._writableState.destroyed;if(H||T){if(B)B(S);else if(S){if(!this._writableState)process.nextTick(Y,this,S);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Y,this,S)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(S||null,function(c){if(!B&&c)if(!g._writableState)process.nextTick(z,g,c);else if(!g._writableState.errorEmitted)g._writableState.errorEmitted=!0,process.nextTick(z,g,c);else process.nextTick(v,g);else if(B)process.nextTick(v,g),B(c);else process.nextTick(v,g)}),this}function z(S,B){Y(S,B),v(S)}function v(S){if(S._writableState&&!S._writableState.emitClose)return;if(S._readableState&&!S._readableState.emitClose)return;S.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 Y(S,B){S.emit("error",B)}function L(S,B){var{_readableState:g,_writableState:H}=S;if(g&&g.autoDestroy||H&&H.autoDestroy)S.destroy(B);else S.emit("error",B)}I.exports={destroy:J,undestroy:Z,errorOrDestroy:L}}),Qz=bU((U,I)=>{var J={};function z(S,B,g){if(!g)g=Error;function H(c,x,u){if(typeof B==="string")return B;else return B(c,x,u)}class T extends g{constructor(c,x,u){super(H(c,x,u))}}T.prototype.name=g.name,T.prototype.code=S,J[S]=T}function v(S,B){if(Array.isArray(S)){let g=S.length;if(S=S.map((H)=>String(H)),g>2)return`one of ${B} ${S.slice(0,g-1).join(", ")}, or `+S[g-1];else if(g===2)return`one of ${B} ${S[0]} or ${S[1]}`;else return`of ${B} ${S[0]}`}else return`of ${B} ${String(S)}`}function Z(S,B,g){return S.substr(!g||g<0?0:+g,B.length)===B}function Y(S,B,g){if(g===void 0||g>S.length)g=S.length;return S.substring(g-B.length,g)===B}function L(S,B,g){if(typeof g!=="number")g=0;if(g+B.length>S.length)return!1;else return S.indexOf(B,g)!==-1}z("ERR_INVALID_OPT_VALUE",function(S,B){return'The value "'+B+'" is invalid for option "'+S+'"'},TypeError),z("ERR_INVALID_ARG_TYPE",function(S,B,g){let H;if(typeof B==="string"&&Z(B,"not "))H="must not be",B=B.replace(/^not /,"");else H="must be";let T;if(Y(S," argument"))T=`The ${S} ${H} ${v(B,"type")}`;else{let c=L(S,".")?"property":"argument";T=`The "${S}" ${c} ${H} ${v(B,"type")}`}return T+=`. Received type ${typeof g}`,T},TypeError),z("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),z("ERR_METHOD_NOT_IMPLEMENTED",function(S){return"The "+S+" method is not implemented"}),z("ERR_STREAM_PREMATURE_CLOSE","Premature close"),z("ERR_STREAM_DESTROYED",function(S){return"Cannot call "+S+" after a stream was destroyed"}),z("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),z("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),z("ERR_STREAM_WRITE_AFTER_END","write after end"),z("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),z("ERR_UNKNOWN_ENCODING",function(S){return"Unknown encoding: "+S},TypeError),z("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),U.codes=J}),Q3=bU((U,I)=>{var J=Qz().codes.ERR_INVALID_OPT_VALUE;function z(Z,Y,L){return Z.highWaterMark!=null?Z.highWaterMark:Y?Z[L]:null}function v(Z,Y,L,S){var B=z(Y,S,L);if(B!=null){if(!(isFinite(B)&&Math.floor(B)===B)||B<0){var g=S?L:"highWaterMark";throw new J(g,B)}return Math.floor(B)}return Z.objectMode?16:16384}I.exports={getHighWaterMark:v}}),uh=bU((U,I)=>{I.exports=(q8(),Mj(A8)).deprecate}),Y3=bU((U,I)=>{I.exports=X0;function J(H0){var W0=this;this.next=null,this.entry=null,this.finish=function(){A0(W0,H0)}}var z;X0.WritableState=S0;var v={deprecate:uh()},Z=T8(),Y=(F4(),Mj(D4)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function S(H0){return Y.from(H0)}function B(H0){return Y.isBuffer(H0)||H0 instanceof L}var g=J3(),H=Q3(),T=H.getHighWaterMark,c=Qz().codes,x=c.ERR_INVALID_ARG_TYPE,u=c.ERR_METHOD_NOT_IMPLEMENTED,h=c.ERR_MULTIPLE_CALLBACK,i=c.ERR_STREAM_CANNOT_PIPE,m=c.ERR_STREAM_DESTROYED,n=c.ERR_STREAM_NULL_VALUES,a=c.ERR_STREAM_WRITE_AFTER_END,j0=c.ERR_UNKNOWN_ENCODING,Y0=g.errorOrDestroy;Jz()(X0,Z);function C0(){}function S0(H0,W0,z0){if(z=z||zW(),H0=H0||{},typeof z0!=="boolean")z0=W0 instanceof z;if(this.objectMode=!!H0.objectMode,z0)this.objectMode=this.objectMode||!!H0.writableObjectMode;this.highWaterMark=T(this,H0,"writableHighWaterMark",z0),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var D0=H0.decodeStrings===!1;this.decodeStrings=!D0,this.defaultEncoding=H0.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(L0){N(W0,L0)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=H0.emitClose!==!1,this.autoDestroy=!!H0.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new J(this)}S0.prototype.getBuffer=function(){var H0=this.bufferedRequest,W0=[];while(H0)W0.push(H0),H0=H0.next;return W0},function(){try{Object.defineProperty(S0.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(H0){}}();var h0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")h0=Function.prototype[Symbol.hasInstance],Object.defineProperty(X0,Symbol.hasInstance,{value:function(H0){if(h0.call(this,H0))return!0;if(this!==X0)return!1;return H0&&H0._writableState instanceof S0}});else h0=function(H0){return H0 instanceof this};function X0(H0){z=z||zW();var W0=this instanceof z;if(!W0&&!h0.call(X0,this))return new X0(H0);if(this._writableState=new S0(H0,this,W0),this.writable=!0,H0){if(typeof H0.write==="function")this._write=H0.write;if(typeof H0.writev==="function")this._writev=H0.writev;if(typeof H0.destroy==="function")this._destroy=H0.destroy;if(typeof H0.final==="function")this._final=H0.final}Z.call(this)}X0.prototype.pipe=function(){Y0(this,new i)};function x0(H0,W0){var z0=new a;Y0(H0,z0),process.nextTick(W0,z0)}function Q(H0,W0,z0,D0){var L0;if(z0===null)L0=new n;else if(typeof z0!=="string"&&!W0.objectMode)L0=new x("chunk",["string","Buffer"],z0);if(L0)return Y0(H0,L0),process.nextTick(D0,L0),!1;return!0}X0.prototype.write=function(H0,W0,z0){var D0=this._writableState,L0=!1,k0=!D0.objectMode&&B(H0);if(k0&&!Y.isBuffer(H0))H0=S(H0);if(typeof W0==="function")z0=W0,W0=null;if(k0)W0="buffer";else if(!W0)W0=D0.defaultEncoding;if(typeof z0!=="function")z0=C0;if(D0.ending)x0(this,z0);else if(k0||Q(this,D0,H0,z0))D0.pendingcb++,L0=D(this,D0,k0,H0,W0,z0);return L0},X0.prototype.cork=function(){this._writableState.corked++},X0.prototype.uncork=function(){var H0=this._writableState;if(H0.corked){if(H0.corked--,!H0.writing&&!H0.corked&&!H0.bufferProcessing&&H0.bufferedRequest)C(this,H0)}},X0.prototype.setDefaultEncoding=function(H0){if(typeof H0==="string")H0=H0.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((H0+"").toLowerCase())>-1))throw new j0(H0);return this._writableState.defaultEncoding=H0,this},Object.defineProperty(X0.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function K(H0,W0,z0){if(!H0.objectMode&&H0.decodeStrings!==!1&&typeof W0==="string")W0=Y.from(W0,z0);return W0}Object.defineProperty(X0.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function D(H0,W0,z0,D0,L0,k0){if(!z0){var Z0=K(W0,D0,L0);if(D0!==Z0)z0=!0,L0="buffer",D0=Z0}var r=W0.objectMode?1:D0.length;W0.length+=r;var U0=W0.length<W0.highWaterMark;if(!U0)W0.needDrain=!0;if(W0.writing||W0.corked){var g0=W0.lastBufferedRequest;if(W0.lastBufferedRequest={chunk:D0,encoding:L0,isBuf:z0,callback:k0,next:null},g0)g0.next=W0.lastBufferedRequest;else W0.bufferedRequest=W0.lastBufferedRequest;W0.bufferedRequestCount+=1}else W(H0,W0,!1,r,D0,L0,k0);return U0}function W(H0,W0,z0,D0,L0,k0,Z0){if(W0.writelen=D0,W0.writecb=Z0,W0.writing=!0,W0.sync=!0,W0.destroyed)W0.onwrite(new m("write"));else if(z0)H0._writev(L0,W0.onwrite);else H0._write(L0,k0,W0.onwrite);W0.sync=!1}function V(H0,W0,z0,D0,L0){if(--W0.pendingcb,z0)process.nextTick(L0,D0),process.nextTick(J0,H0,W0),H0._writableState.errorEmitted=!0,Y0(H0,D0);else L0(D0),H0._writableState.errorEmitted=!0,Y0(H0,D0),J0(H0,W0)}function R(H0){H0.writing=!1,H0.writecb=null,H0.length-=H0.writelen,H0.writelen=0}function N(H0,W0){var z0=H0._writableState,D0=z0.sync,L0=z0.writecb;if(typeof L0!=="function")throw new h;if(R(z0),W0)V(H0,z0,D0,W0,L0);else{var k0=b(z0)||H0.destroyed;if(!k0&&!z0.corked&&!z0.bufferProcessing&&z0.bufferedRequest)C(H0,z0);if(D0)process.nextTick(q,H0,z0,k0,L0);else q(H0,z0,k0,L0)}}function q(H0,W0,z0,D0){if(!z0)G(H0,W0);W0.pendingcb--,D0(),J0(H0,W0)}function G(H0,W0){if(W0.length===0&&W0.needDrain)W0.needDrain=!1,H0.emit("drain")}function C(H0,W0){W0.bufferProcessing=!0;var z0=W0.bufferedRequest;if(H0._writev&&z0&&z0.next){var D0=W0.bufferedRequestCount,L0=Array(D0),k0=W0.corkedRequestsFree;k0.entry=z0;var Z0=0,r=!0;while(z0){if(L0[Z0]=z0,!z0.isBuf)r=!1;z0=z0.next,Z0+=1}if(L0.allBuffers=r,W(H0,W0,!0,W0.length,L0,"",k0.finish),W0.pendingcb++,W0.lastBufferedRequest=null,k0.next)W0.corkedRequestsFree=k0.next,k0.next=null;else W0.corkedRequestsFree=new J(W0);W0.bufferedRequestCount=0}else{while(z0){var{chunk:U0,encoding:g0,callback:M0}=z0,R0=W0.objectMode?1:U0.length;if(W(H0,W0,!1,R0,U0,g0,M0),z0=z0.next,W0.bufferedRequestCount--,W0.writing)break}if(z0===null)W0.lastBufferedRequest=null}W0.bufferedRequest=z0,W0.bufferProcessing=!1}X0.prototype._write=function(H0,W0,z0){z0(new u("_write()"))},X0.prototype._writev=null,X0.prototype.end=function(H0,W0,z0){var D0=this._writableState;if(typeof H0==="function")z0=H0,H0=null,W0=null;else if(typeof W0==="function")z0=W0,W0=null;if(H0!==null&&H0!==void 0)this.write(H0,W0);if(D0.corked)D0.corked=1,this.uncork();if(!D0.ending)K0(this,D0,z0);return this},Object.defineProperty(X0.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function b(H0){return H0.ending&&H0.length===0&&H0.bufferedRequest===null&&!H0.finished&&!H0.writing}function y(H0,W0){H0._final(function(z0){if(W0.pendingcb--,z0)Y0(H0,z0);W0.prefinished=!0,H0.emit("prefinish"),J0(H0,W0)})}function o(H0,W0){if(!W0.prefinished&&!W0.finalCalled)if(typeof H0._final==="function"&&!W0.destroyed)W0.pendingcb++,W0.finalCalled=!0,process.nextTick(y,H0,W0);else W0.prefinished=!0,H0.emit("prefinish")}function J0(H0,W0){var z0=b(W0);if(z0){if(o(H0,W0),W0.pendingcb===0){if(W0.finished=!0,H0.emit("finish"),W0.autoDestroy){var D0=H0._readableState;if(!D0||D0.autoDestroy&&D0.endEmitted)H0.destroy()}}}return z0}function K0(H0,W0,z0){if(W0.ending=!0,J0(H0,W0),z0)if(W0.finished)process.nextTick(z0);else H0.once("finish",z0);W0.ended=!0,H0.writable=!1}function A0(H0,W0,z0){var D0=H0.entry;H0.entry=null;while(D0){var L0=D0.callback;W0.pendingcb--,L0(z0),D0=D0.next}W0.corkedRequestsFree.next=H0}Object.defineProperty(X0.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(H0){if(!this._writableState)return;this._writableState.destroyed=H0}}),X0.prototype.destroy=g.destroy,X0.prototype._undestroy=g.undestroy,X0.prototype._destroy=function(H0,W0){W0(H0)}}),zW=bU((U,I)=>{var J=Object.keys||function(H){var T=[];for(var c in H)T.push(c);return T};I.exports=S;var z=G3(),v=Y3();Jz()(S,z);{Z=J(v.prototype);for(L=0;L<Z.length;L++)if(Y=Z[L],!S.prototype[Y])S.prototype[Y]=v.prototype[Y]}var Z,Y,L;function S(H){if(!(this instanceof S))return new S(H);if(z.call(this,H),v.call(this,H),this.allowHalfOpen=!0,H){if(H.readable===!1)this.readable=!1;if(H.writable===!1)this.writable=!1;if(H.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",B)}}Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function B(){if(this._writableState.ended)return;process.nextTick(g,this)}function g(H){H.end()}Object.defineProperty(S.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(H){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=H,this._writableState.destroyed=H}})}),hh=bU((U,I)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var J=(F4(),Mj(D4)),z=J.Buffer;function v(Y,L){for(var S in Y)L[S]=Y[S]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)I.exports=J;else v(J,U),U.Buffer=Z;function Z(Y,L,S){return z(Y,L,S)}Z.prototype=Object.create(z.prototype),v(z,Z),Z.from=function(Y,L,S){if(typeof Y==="number")throw TypeError("Argument must not be a number");return z(Y,L,S)},Z.alloc=function(Y,L,S){if(typeof Y!=="number")throw TypeError("Argument must be a number");var B=z(Y);if(L!==void 0)if(typeof S==="string")B.fill(L,S);else B.fill(L);else B.fill(0);return B},Z.allocUnsafe=function(Y){if(typeof Y!=="number")throw TypeError("Argument must be a number");return z(Y)},Z.allocUnsafeSlow=function(Y){if(typeof Y!=="number")throw TypeError("Argument must be a number");return J.SlowBuffer(Y)}}),I3=bU((U)=>{var I=hh().Buffer,J=I.isEncoding||function(m){switch(m=""+m,m&&m.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 z(m){if(!m)return"utf8";var n;while(!0)switch(m){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 m;default:if(n)return;m=(""+m).toLowerCase(),n=!0}}function v(m){var n=z(m);if(typeof n!=="string"&&(I.isEncoding===J||!J(m)))throw Error("Unknown encoding: "+m);return n||m}U.StringDecoder=Z;function Z(m){this.encoding=v(m);var n;switch(this.encoding){case"utf16le":this.text=T,this.end=c,n=4;break;case"utf8":this.fillLast=B,n=4;break;case"base64":this.text=x,this.end=u,n=3;break;default:this.write=h,this.end=i;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=I.allocUnsafe(n)}Z.prototype.write=function(m){if(m.length===0)return"";var n,a;if(this.lastNeed){if(n=this.fillLast(m),n===void 0)return"";a=this.lastNeed,this.lastNeed=0}else a=0;if(a<m.length)return n?n+this.text(m,a):this.text(m,a);return n||""},Z.prototype.end=H,Z.prototype.text=g,Z.prototype.fillLast=function(m){if(this.lastNeed<=m.length)return m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,this.lastTotal-this.lastNeed,0,m.length),this.lastNeed-=m.length};function Y(m){if(m<=127)return 0;else if(m>>5===6)return 2;else if(m>>4===14)return 3;else if(m>>3===30)return 4;return m>>6===2?-1:-2}function L(m,n,a){var j0=n.length-1;if(j0<a)return 0;var Y0=Y(n[j0]);if(Y0>=0){if(Y0>0)m.lastNeed=Y0-1;return Y0}if(--j0<a||Y0===-2)return 0;if(Y0=Y(n[j0]),Y0>=0){if(Y0>0)m.lastNeed=Y0-2;return Y0}if(--j0<a||Y0===-2)return 0;if(Y0=Y(n[j0]),Y0>=0){if(Y0>0)if(Y0===2)Y0=0;else m.lastNeed=Y0-3;return Y0}return 0}function S(m,n,a){if((n[0]&192)!==128)return m.lastNeed=0,"�";if(m.lastNeed>1&&n.length>1){if((n[1]&192)!==128)return m.lastNeed=1,"�";if(m.lastNeed>2&&n.length>2){if((n[2]&192)!==128)return m.lastNeed=2,"�"}}}function B(m){var n=this.lastTotal-this.lastNeed,a=S(this,m,n);if(a!==void 0)return a;if(this.lastNeed<=m.length)return m.copy(this.lastChar,n,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);m.copy(this.lastChar,n,0,m.length),this.lastNeed-=m.length}function g(m,n){var a=L(this,m,n);if(!this.lastNeed)return m.toString("utf8",n);this.lastTotal=a;var j0=m.length-(a-this.lastNeed);return m.copy(this.lastChar,0,j0),m.toString("utf8",n,j0)}function H(m){var n=m&&m.length?this.write(m):"";if(this.lastNeed)return n+"�";return n}function T(m,n){if((m.length-n)%2===0){var a=m.toString("utf16le",n);if(a){var j0=a.charCodeAt(a.length-1);if(j0>=55296&&j0<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=m[m.length-1],m.toString("utf16le",n,m.length-1)}function c(m){var n=m&&m.length?this.write(m):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return n+this.lastChar.toString("utf16le",0,a)}return n}function x(m,n){var a=(m.length-n)%3;if(a===0)return m.toString("base64",n);if(this.lastNeed=3-a,this.lastTotal=3,a===1)this.lastChar[0]=m[m.length-1];else this.lastChar[0]=m[m.length-2],this.lastChar[1]=m[m.length-1];return m.toString("base64",n,m.length-a)}function u(m){var n=m&&m.length?this.write(m):"";if(this.lastNeed)return n+this.lastChar.toString("base64",0,3-this.lastNeed);return n}function h(m){return m.toString(this.encoding)}function i(m){return m&&m.length?this.write(m):""}}),pq=bU((U,I)=>{var J=Qz().codes.ERR_STREAM_PREMATURE_CLOSE;function z(L){var S=!1;return function(){if(S)return;S=!0;for(var B=arguments.length,g=Array(B),H=0;H<B;H++)g[H]=arguments[H];L.apply(this,g)}}function v(){}function Z(L){return L.setHeader&&typeof L.abort==="function"}function Y(L,S,B){if(typeof S==="function")return Y(L,null,S);if(!S)S={};B=z(B||v);var g=S.readable||S.readable!==!1&&L.readable,H=S.writable||S.writable!==!1&&L.writable,T=function(){if(!L.writable)x()},c=L._writableState&&L._writableState.finished,x=function(){if(H=!1,c=!0,!g)B.call(L)},u=L._readableState&&L._readableState.endEmitted,h=function(){if(g=!1,u=!0,!H)B.call(L)},i=function(a){B.call(L,a)},m=function(){var a;if(g&&!u){if(!L._readableState||!L._readableState.ended)a=new J;return B.call(L,a)}if(H&&!c){if(!L._writableState||!L._writableState.ended)a=new J;return B.call(L,a)}},n=function(){L.req.on("finish",x)};if(Z(L))if(L.on("complete",x),L.on("abort",m),L.req)n();else L.on("request",n);else if(H&&!L._writableState)L.on("end",T),L.on("close",T);if(L.on("end",h),L.on("finish",x),S.error!==!1)L.on("error",i);return L.on("close",m),function(){if(L.removeListener("complete",x),L.removeListener("abort",m),L.removeListener("request",n),L.req)L.req.removeListener("finish",x);L.removeListener("end",T),L.removeListener("close",T),L.removeListener("finish",x),L.removeListener("end",h),L.removeListener("error",i),L.removeListener("close",m)}}I.exports=Y}),ph=bU((U,I)=>{var J;function z(j0,Y0,C0){if(Y0=v(Y0),Y0 in j0)Object.defineProperty(j0,Y0,{value:C0,enumerable:!0,configurable:!0,writable:!0});else j0[Y0]=C0;return j0}function v(j0){var Y0=Z(j0,"string");return typeof Y0==="symbol"?Y0:String(Y0)}function Z(j0,Y0){if(typeof j0!=="object"||j0===null)return j0;var C0=j0[Symbol.toPrimitive];if(C0!==void 0){var S0=C0.call(j0,Y0||"default");if(typeof S0!=="object")return S0;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y0==="string"?String:Number)(j0)}var Y=pq(),L=Symbol("lastResolve"),S=Symbol("lastReject"),B=Symbol("error"),g=Symbol("ended"),H=Symbol("lastPromise"),T=Symbol("handlePromise"),c=Symbol("stream");function x(j0,Y0){return{value:j0,done:Y0}}function u(j0){var Y0=j0[L];if(Y0!==null){var C0=j0[c].read();if(C0!==null)j0[H]=null,j0[L]=null,j0[S]=null,Y0(x(C0,!1))}}function h(j0){process.nextTick(u,j0)}function i(j0,Y0){return function(C0,S0){j0.then(function(){if(Y0[g]){C0(x(void 0,!0));return}Y0[T](C0,S0)},S0)}}var m=Object.getPrototypeOf(function(){}),n=Object.setPrototypeOf((J={get stream(){return this[c]},next:function(){var j0=this,Y0=this[B];if(Y0!==null)return Promise.reject(Y0);if(this[g])return Promise.resolve(x(void 0,!0));if(this[c].destroyed)return new Promise(function(X0,x0){process.nextTick(function(){if(j0[B])x0(j0[B]);else X0(x(void 0,!0))})});var C0=this[H],S0;if(C0)S0=new Promise(i(C0,this));else{var h0=this[c].read();if(h0!==null)return Promise.resolve(x(h0,!1));S0=new Promise(this[T])}return this[H]=S0,S0}},z(J,Symbol.asyncIterator,function(){return this}),z(J,"return",function(){var j0=this;return new Promise(function(Y0,C0){j0[c].destroy(null,function(S0){if(S0){C0(S0);return}Y0(x(void 0,!0))})})}),J),m),a=function(j0){var Y0,C0=Object.create(n,(Y0={},z(Y0,c,{value:j0,writable:!0}),z(Y0,L,{value:null,writable:!0}),z(Y0,S,{value:null,writable:!0}),z(Y0,B,{value:null,writable:!0}),z(Y0,g,{value:j0._readableState.endEmitted,writable:!0}),z(Y0,T,{value:function(S0,h0){var X0=C0[c].read();if(X0)C0[H]=null,C0[L]=null,C0[S]=null,S0(x(X0,!1));else C0[L]=S0,C0[S]=h0},writable:!0}),Y0));return C0[H]=null,Y(j0,function(S0){if(S0&&S0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var h0=C0[S];if(h0!==null)C0[H]=null,C0[L]=null,C0[S]=null,h0(S0);C0[B]=S0;return}var X0=C0[L];if(X0!==null)C0[H]=null,C0[L]=null,C0[S]=null,X0(x(void 0,!0));C0[g]=!0}),j0.on("readable",h.bind(null,C0)),C0};I.exports=a}),lh=bU((U,I)=>{function J(H,T,c,x,u,h,i){try{var m=H[h](i),n=m.value}catch(a){c(a);return}if(m.done)T(n);else Promise.resolve(n).then(x,u)}function z(H){return function(){var T=this,c=arguments;return new Promise(function(x,u){var h=H.apply(T,c);function i(n){J(h,x,u,i,m,"next",n)}function m(n){J(h,x,u,i,m,"throw",n)}i(void 0)})}}function v(H,T){var c=Object.keys(H);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(H);T&&(x=x.filter(function(u){return Object.getOwnPropertyDescriptor(H,u).enumerable})),c.push.apply(c,x)}return c}function Z(H){for(var T=1;T<arguments.length;T++){var c=arguments[T]!=null?arguments[T]:{};T%2?v(Object(c),!0).forEach(function(x){Y(H,x,c[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(c)):v(Object(c)).forEach(function(x){Object.defineProperty(H,x,Object.getOwnPropertyDescriptor(c,x))})}return H}function Y(H,T,c){if(T=L(T),T in H)Object.defineProperty(H,T,{value:c,enumerable:!0,configurable:!0,writable:!0});else H[T]=c;return H}function L(H){var T=S(H,"string");return typeof T==="symbol"?T:String(T)}function S(H,T){if(typeof H!=="object"||H===null)return H;var c=H[Symbol.toPrimitive];if(c!==void 0){var x=c.call(H,T||"default");if(typeof x!=="object")return x;throw TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(H)}var B=Qz().codes.ERR_INVALID_ARG_TYPE;function g(H,T,c){var x;if(T&&typeof T.next==="function")x=T;else if(T&&T[Symbol.asyncIterator])x=T[Symbol.asyncIterator]();else if(T&&T[Symbol.iterator])x=T[Symbol.iterator]();else throw new B("iterable",["Iterable"],T);var u=new H(Z({objectMode:!0},c)),h=!1;u._read=function(){if(!h)h=!0,i()};function i(){return m.apply(this,arguments)}function m(){return m=z(function*(){try{var n=yield x.next(),a=n.value,j0=n.done;if(j0)u.push(null);else if(u.push(yield a))i();else h=!1}catch(Y0){u.destroy(Y0)}}),m.apply(this,arguments)}return u}I.exports=g}),G3=bU((U,I)=>{I.exports=Q;var J;Q.ReadableState=x0;var z=(R8(),Mj(C8)).EventEmitter,v=function(Z0,r){return Z0.listeners(r).length},Z=T8(),Y=(F4(),Mj(D4)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function S(Z0){return Y.from(Z0)}function B(Z0){return Y.isBuffer(Z0)||Z0 instanceof L}var g=(q8(),Mj(A8)),H;if(g&&g.debuglog)H=g.debuglog("stream");else H=function(){};var T=mh(),c=J3(),x=Q3(),u=x.getHighWaterMark,h=Qz().codes,i=h.ERR_INVALID_ARG_TYPE,m=h.ERR_STREAM_PUSH_AFTER_EOF,n=h.ERR_METHOD_NOT_IMPLEMENTED,a=h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,j0,Y0,C0;Jz()(Q,Z);var S0=c.errorOrDestroy,h0=["error","close","destroy","pause","resume"];function X0(Z0,r,U0){if(typeof Z0.prependListener==="function")return Z0.prependListener(r,U0);if(!Z0._events||!Z0._events[r])Z0.on(r,U0);else if(Array.isArray(Z0._events[r]))Z0._events[r].unshift(U0);else Z0._events[r]=[U0,Z0._events[r]]}function x0(Z0,r,U0){if(J=J||zW(),Z0=Z0||{},typeof U0!=="boolean")U0=r instanceof J;if(this.objectMode=!!Z0.objectMode,U0)this.objectMode=this.objectMode||!!Z0.readableObjectMode;if(this.highWaterMark=u(this,Z0,"readableHighWaterMark",U0),this.buffer=new T,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=Z0.emitClose!==!1,this.autoDestroy=!!Z0.autoDestroy,this.destroyed=!1,this.defaultEncoding=Z0.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Z0.encoding){if(!j0)j0=I3().StringDecoder;this.decoder=new j0(Z0.encoding),this.encoding=Z0.encoding}}function Q(Z0){if(J=J||zW(),!(this instanceof Q))return new Q(Z0);var r=this instanceof J;if(this._readableState=new x0(Z0,this,r),this.readable=!0,Z0){if(typeof Z0.read==="function")this._read=Z0.read;if(typeof Z0.destroy==="function")this._destroy=Z0.destroy}Z.call(this)}Object.defineProperty(Q.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Z0){if(!this._readableState)return;this._readableState.destroyed=Z0}}),Q.prototype.destroy=c.destroy,Q.prototype._undestroy=c.undestroy,Q.prototype._destroy=function(Z0,r){r(Z0)},Q.prototype.push=function(Z0,r){var U0=this._readableState,g0;if(!U0.objectMode){if(typeof Z0==="string"){if(r=r||U0.defaultEncoding,r!==U0.encoding)Z0=Y.from(Z0,r),r="";g0=!0}}else g0=!0;return K(this,Z0,r,!1,g0)},Q.prototype.unshift=function(Z0){return K(this,Z0,null,!0,!1)};function K(Z0,r,U0,g0,M0){H("readableAddChunk",r);var R0=Z0._readableState;if(r===null)R0.reading=!1,q(Z0,R0);else{var o0;if(!M0)o0=W(R0,r);if(o0)S0(Z0,o0);else if(R0.objectMode||r&&r.length>0){if(typeof r!=="string"&&!R0.objectMode&&Object.getPrototypeOf(r)!==Y.prototype)r=S(r);if(g0)if(R0.endEmitted)S0(Z0,new a);else D(Z0,R0,r,!0);else if(R0.ended)S0(Z0,new m);else if(R0.destroyed)return!1;else if(R0.reading=!1,R0.decoder&&!U0)if(r=R0.decoder.write(r),R0.objectMode||r.length!==0)D(Z0,R0,r,!1);else b(Z0,R0);else D(Z0,R0,r,!1)}else if(!g0)R0.reading=!1,b(Z0,R0)}return!R0.ended&&(R0.length<R0.highWaterMark||R0.length===0)}function D(Z0,r,U0,g0){if(r.flowing&&r.length===0&&!r.sync)r.awaitDrain=0,Z0.emit("data",U0);else{if(r.length+=r.objectMode?1:U0.length,g0)r.buffer.unshift(U0);else r.buffer.push(U0);if(r.needReadable)G(Z0)}b(Z0,r)}function W(Z0,r){var U0;if(!B(r)&&typeof r!=="string"&&r!==void 0&&!Z0.objectMode)U0=new i("chunk",["string","Buffer","Uint8Array"],r);return U0}Q.prototype.isPaused=function(){return this._readableState.flowing===!1},Q.prototype.setEncoding=function(Z0){if(!j0)j0=I3().StringDecoder;var r=new j0(Z0);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;var U0=this._readableState.buffer.head,g0="";while(U0!==null)g0+=r.write(U0.data),U0=U0.next;if(this._readableState.buffer.clear(),g0!=="")this._readableState.buffer.push(g0);return this._readableState.length=g0.length,this};var V=1073741824;function R(Z0){if(Z0>=V)Z0=V;else Z0--,Z0|=Z0>>>1,Z0|=Z0>>>2,Z0|=Z0>>>4,Z0|=Z0>>>8,Z0|=Z0>>>16,Z0++;return Z0}function N(Z0,r){if(Z0<=0||r.length===0&&r.ended)return 0;if(r.objectMode)return 1;if(Z0!==Z0)if(r.flowing&&r.length)return r.buffer.head.data.length;else return r.length;if(Z0>r.highWaterMark)r.highWaterMark=R(Z0);if(Z0<=r.length)return Z0;if(!r.ended)return r.needReadable=!0,0;return r.length}Q.prototype.read=function(Z0){H("read",Z0),Z0=parseInt(Z0,10);var r=this._readableState,U0=Z0;if(Z0!==0)r.emittedReadable=!1;if(Z0===0&&r.needReadable&&((r.highWaterMark!==0?r.length>=r.highWaterMark:r.length>0)||r.ended)){if(H("read: emitReadable",r.length,r.ended),r.length===0&&r.ended)D0(this);else G(this);return null}if(Z0=N(Z0,r),Z0===0&&r.ended){if(r.length===0)D0(this);return null}var g0=r.needReadable;if(H("need readable",g0),r.length===0||r.length-Z0<r.highWaterMark)g0=!0,H("length less than watermark",g0);if(r.ended||r.reading)g0=!1,H("reading or ended",g0);else if(g0){if(H("do read"),r.reading=!0,r.sync=!0,r.length===0)r.needReadable=!0;if(this._read(r.highWaterMark),r.sync=!1,!r.reading)Z0=N(U0,r)}var M0;if(Z0>0)M0=z0(Z0,r);else M0=null;if(M0===null)r.needReadable=r.length<=r.highWaterMark,Z0=0;else r.length-=Z0,r.awaitDrain=0;if(r.length===0){if(!r.ended)r.needReadable=!0;if(U0!==Z0&&r.ended)D0(this)}if(M0!==null)this.emit("data",M0);return M0};function q(Z0,r){if(H("onEofChunk"),r.ended)return;if(r.decoder){var U0=r.decoder.end();if(U0&&U0.length)r.buffer.push(U0),r.length+=r.objectMode?1:U0.length}if(r.ended=!0,r.sync)G(Z0);else if(r.needReadable=!1,!r.emittedReadable)r.emittedReadable=!0,C(Z0)}function G(Z0){var r=Z0._readableState;if(H("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,!r.emittedReadable)H("emitReadable",r.flowing),r.emittedReadable=!0,process.nextTick(C,Z0)}function C(Z0){var r=Z0._readableState;if(H("emitReadable_",r.destroyed,r.length,r.ended),!r.destroyed&&(r.length||r.ended))Z0.emit("readable"),r.emittedReadable=!1;r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,W0(Z0)}function b(Z0,r){if(!r.readingMore)r.readingMore=!0,process.nextTick(y,Z0,r)}function y(Z0,r){while(!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&r.length===0)){var U0=r.length;if(H("maybeReadMore read 0"),Z0.read(0),U0===r.length)break}r.readingMore=!1}Q.prototype._read=function(Z0){S0(this,new n("_read()"))},Q.prototype.pipe=function(Z0,r){var U0=this,g0=this._readableState;switch(g0.pipesCount){case 0:g0.pipes=Z0;break;case 1:g0.pipes=[g0.pipes,Z0];break;default:g0.pipes.push(Z0);break}g0.pipesCount+=1,H("pipe count=%d opts=%j",g0.pipesCount,r);var M0=(!r||r.end!==!1)&&Z0!==process.stdout&&Z0!==process.stderr,R0=M0?O0:Lj;if(g0.endEmitted)process.nextTick(R0);else U0.once("end",R0);Z0.on("unpipe",o0);function o0(J$,Y$){if(H("onunpipe"),J$===U0){if(Y$&&Y$.hasUnpiped===!1)Y$.hasUnpiped=!0,w0()}}function O0(){H("onend"),Z0.end()}var P0=o(U0);Z0.on("drain",P0);var q$=!1;function w0(){if(H("cleanup"),Z0.removeListener("close",s0),Z0.removeListener("finish",Z$),Z0.removeListener("drain",P0),Z0.removeListener("error",i$),Z0.removeListener("unpipe",o0),U0.removeListener("end",O0),U0.removeListener("end",Lj),U0.removeListener("data",n0),q$=!0,g0.awaitDrain&&(!Z0._writableState||Z0._writableState.needDrain))P0()}U0.on("data",n0);function n0(J$){H("ondata");var Y$=Z0.write(J$);if(H("dest.write",Y$),Y$===!1){if((g0.pipesCount===1&&g0.pipes===Z0||g0.pipesCount>1&&k0(g0.pipes,Z0)!==-1)&&!q$)H("false write response, pause",g0.awaitDrain),g0.awaitDrain++;U0.pause()}}function i$(J$){if(H("onerror",J$),Lj(),Z0.removeListener("error",i$),v(Z0,"error")===0)S0(Z0,J$)}X0(Z0,"error",i$);function s0(){Z0.removeListener("finish",Z$),Lj()}Z0.once("close",s0);function Z$(){H("onfinish"),Z0.removeListener("close",s0),Lj()}Z0.once("finish",Z$);function Lj(){H("unpipe"),U0.unpipe(Z0)}if(Z0.emit("pipe",U0),!g0.flowing)H("pipe resume"),U0.resume();return Z0};function o(Z0){return function(){var r=Z0._readableState;if(H("pipeOnDrain",r.awaitDrain),r.awaitDrain)r.awaitDrain--;if(r.awaitDrain===0&&v(Z0,"data"))r.flowing=!0,W0(Z0)}}Q.prototype.unpipe=function(Z0){var r=this._readableState,U0={hasUnpiped:!1};if(r.pipesCount===0)return this;if(r.pipesCount===1){if(Z0&&Z0!==r.pipes)return this;if(!Z0)Z0=r.pipes;if(r.pipes=null,r.pipesCount=0,r.flowing=!1,Z0)Z0.emit("unpipe",this,U0);return this}if(!Z0){var{pipes:g0,pipesCount:M0}=r;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var R0=0;R0<M0;R0++)g0[R0].emit("unpipe",this,{hasUnpiped:!1});return this}var o0=k0(r.pipes,Z0);if(o0===-1)return this;if(r.pipes.splice(o0,1),r.pipesCount-=1,r.pipesCount===1)r.pipes=r.pipes[0];return Z0.emit("unpipe",this,U0),this},Q.prototype.on=function(Z0,r){var U0=Z.prototype.on.call(this,Z0,r),g0=this._readableState;if(Z0==="data"){if(g0.readableListening=this.listenerCount("readable")>0,g0.flowing!==!1)this.resume()}else if(Z0==="readable"){if(!g0.endEmitted&&!g0.readableListening){if(g0.readableListening=g0.needReadable=!0,g0.flowing=!1,g0.emittedReadable=!1,H("on readable",g0.length,g0.reading),g0.length)G(this);else if(!g0.reading)process.nextTick(K0,this)}}return U0},Q.prototype.addListener=Q.prototype.on,Q.prototype.removeListener=function(Z0,r){var U0=Z.prototype.removeListener.call(this,Z0,r);if(Z0==="readable")process.nextTick(J0,this);return U0},Q.prototype.removeAllListeners=function(Z0){var r=Z.prototype.removeAllListeners.apply(this,arguments);if(Z0==="readable"||Z0===void 0)process.nextTick(J0,this);return r};function J0(Z0){var r=Z0._readableState;if(r.readableListening=Z0.listenerCount("readable")>0,r.resumeScheduled&&!r.paused)r.flowing=!0;else if(Z0.listenerCount("data")>0)Z0.resume()}function K0(Z0){H("readable nexttick read 0"),Z0.read(0)}Q.prototype.resume=function(){var Z0=this._readableState;if(!Z0.flowing)H("resume"),Z0.flowing=!Z0.readableListening,A0(this,Z0);return Z0.paused=!1,this};function A0(Z0,r){if(!r.resumeScheduled)r.resumeScheduled=!0,process.nextTick(H0,Z0,r)}function H0(Z0,r){if(H("resume",r.reading),!r.reading)Z0.read(0);if(r.resumeScheduled=!1,Z0.emit("resume"),W0(Z0),r.flowing&&!r.reading)Z0.read(0)}Q.prototype.pause=function(){if(H("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)H("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function W0(Z0){var r=Z0._readableState;H("flow",r.flowing);while(r.flowing&&Z0.read()!==null);}if(Q.prototype.wrap=function(Z0){var r=this,U0=this._readableState,g0=!1;Z0.on("end",function(){if(H("wrapped end"),U0.decoder&&!U0.ended){var o0=U0.decoder.end();if(o0&&o0.length)r.push(o0)}r.push(null)}),Z0.on("data",function(o0){if(H("wrapped data"),U0.decoder)o0=U0.decoder.write(o0);if(U0.objectMode&&(o0===null||o0===void 0))return;else if(!U0.objectMode&&(!o0||!o0.length))return;var O0=r.push(o0);if(!O0)g0=!0,Z0.pause()});for(var M0 in Z0)if(this[M0]===void 0&&typeof Z0[M0]==="function")this[M0]=function(o0){return function(){return Z0[o0].apply(Z0,arguments)}}(M0);for(var R0=0;R0<h0.length;R0++)Z0.on(h0[R0],this.emit.bind(this,h0[R0]));return this._read=function(o0){if(H("wrapped _read",o0),g0)g0=!1,Z0.resume()},this},typeof Symbol==="function")Q.prototype[Symbol.asyncIterator]=function(){if(Y0===void 0)Y0=ph();return Y0(this)};Object.defineProperty(Q.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Q.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Q.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Z0){if(this._readableState)this._readableState.flowing=Z0}}),Q._fromList=z0,Object.defineProperty(Q.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function z0(Z0,r){if(r.length===0)return null;var U0;if(r.objectMode)U0=r.buffer.shift();else if(!Z0||Z0>=r.length){if(r.decoder)U0=r.buffer.join("");else if(r.buffer.length===1)U0=r.buffer.first();else U0=r.buffer.concat(r.length);r.buffer.clear()}else U0=r.buffer.consume(Z0,r.decoder);return U0}function D0(Z0){var r=Z0._readableState;if(H("endReadable",r.endEmitted),!r.endEmitted)r.ended=!0,process.nextTick(L0,r,Z0)}function L0(Z0,r){if(H("endReadableNT",Z0.endEmitted,Z0.length),!Z0.endEmitted&&Z0.length===0){if(Z0.endEmitted=!0,r.readable=!1,r.emit("end"),Z0.autoDestroy){var U0=r._writableState;if(!U0||U0.autoDestroy&&U0.finished)r.destroy()}}}if(typeof Symbol==="function")Q.from=function(Z0,r){if(C0===void 0)C0=lh();return C0(Q,Z0,r)};function k0(Z0,r){for(var U0=0,g0=Z0.length;U0<g0;U0++)if(Z0[U0]===r)return U0;return-1}}),Z3=bU((U,I)=>{I.exports=B;var J=Qz().codes,z=J.ERR_METHOD_NOT_IMPLEMENTED,v=J.ERR_MULTIPLE_CALLBACK,Z=J.ERR_TRANSFORM_ALREADY_TRANSFORMING,Y=J.ERR_TRANSFORM_WITH_LENGTH_0,L=zW();Jz()(B,L);function S(T,c){var x=this._transformState;x.transforming=!1;var u=x.writecb;if(u===null)return this.emit("error",new v);if(x.writechunk=null,x.writecb=null,c!=null)this.push(c);u(T);var h=this._readableState;if(h.reading=!1,h.needReadable||h.length<h.highWaterMark)this._read(h.highWaterMark)}function B(T){if(!(this instanceof B))return new B(T);if(L.call(this,T),this._transformState={afterTransform:S.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,T){if(typeof T.transform==="function")this._transform=T.transform;if(typeof T.flush==="function")this._flush=T.flush}this.on("prefinish",g)}function g(){var T=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(c,x){H(T,c,x)});else H(this,null,null)}B.prototype.push=function(T,c){return this._transformState.needTransform=!1,L.prototype.push.call(this,T,c)},B.prototype._transform=function(T,c,x){x(new z("_transform()"))},B.prototype._write=function(T,c,x){var u=this._transformState;if(u.writecb=x,u.writechunk=T,u.writeencoding=c,!u.transforming){var h=this._readableState;if(u.needTransform||h.needReadable||h.length<h.highWaterMark)this._read(h.highWaterMark)}},B.prototype._read=function(T){var c=this._transformState;if(c.writechunk!==null&&!c.transforming)c.transforming=!0,this._transform(c.writechunk,c.writeencoding,c.afterTransform);else c.needTransform=!0},B.prototype._destroy=function(T,c){L.prototype._destroy.call(this,T,function(x){c(x)})};function H(T,c,x){if(c)return T.emit("error",c);if(x!=null)T.push(x);if(T._writableState.length)throw new Y;if(T._transformState.transforming)throw new Z;return T.push(null)}}),dh=bU((U,I)=>{I.exports=z;var J=Z3();Jz()(z,J);function z(v){if(!(this instanceof z))return new z(v);J.call(this,v)}z.prototype._transform=function(v,Z,Y){Y(null,v)}}),nh=bU((U,I)=>{var J;function z(x){var u=!1;return function(){if(u)return;u=!0,x.apply(void 0,arguments)}}var v=Qz().codes,Z=v.ERR_MISSING_ARGS,Y=v.ERR_STREAM_DESTROYED;function L(x){if(x)throw x}function S(x){return x.setHeader&&typeof x.abort==="function"}function B(x,u,h,i){i=z(i);var m=!1;if(x.on("close",function(){m=!0}),J===void 0)J=pq();J(x,{readable:u,writable:h},function(a){if(a)return i(a);m=!0,i()});var n=!1;return function(a){if(m)return;if(n)return;if(n=!0,S(x))return x.abort();if(typeof x.destroy==="function")return x.destroy();i(a||new Y("pipe"))}}function g(x){x()}function H(x,u){return x.pipe(u)}function T(x){if(!x.length)return L;if(typeof x[x.length-1]!=="function")return L;return x.pop()}function c(){for(var x=arguments.length,u=Array(x),h=0;h<x;h++)u[h]=arguments[h];var i=T(u);if(Array.isArray(u[0]))u=u[0];if(u.length<2)throw new Z("streams");var m,n=u.map(function(a,j0){var Y0=j0<u.length-1,C0=j0>0;return B(a,Y0,C0,function(S0){if(!m)m=S0;if(S0)n.forEach(g);if(Y0)return;n.forEach(g),i(m)})});return u.reduce(H)}I.exports=c}),z3=bU((U,I)=>{var J=T8();U=I.exports=G3(),U.Stream=J||U,U.Readable=U,U.Writable=Y3(),U.Duplex=zW(),U.Transform=Z3(),U.PassThrough=dh(),U.finished=pq(),U.pipeline=nh()}),W3=bU((U)=>{var I=X3(),J=Jz(),z=z3(),v=U.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},Z=U.IncomingMessage=function(Y,L,S,B){var g=this;if(z.Readable.call(g),g._mode=S,g.headers={},g.rawHeaders=[],g.trailers={},g.rawTrailers=[],g.on("end",function(){process.nextTick(function(){g.emit("close")})}),S==="fetch"){let i=function(){c.read().then(function(m){if(g._destroyed)return;if(B(m.done),m.done){g.push(null);return}g.push(Buffer.from(m.value)),i()}).catch(function(m){if(B(!0),!g._destroyed)g.emit("error",m)})};var H=i;if(g._fetchResponse=L,g.url=L.url,g.statusCode=L.status,g.statusMessage=L.statusText,L.headers.forEach(function(m,n){g.headers[n.toLowerCase()]=m,g.rawHeaders.push(n,m)}),I.writableStream){var T=new WritableStream({write:function(m){return B(!1),new Promise(function(n,a){if(g._destroyed)a();else if(g.push(Buffer.from(m)))n();else g._resumeFetch=n})},close:function(){if(B(!0),!g._destroyed)g.push(null)},abort:function(m){if(B(!0),!g._destroyed)g.emit("error",m)}});try{L.body.pipeTo(T).catch(function(m){if(B(!0),!g._destroyed)g.emit("error",m)});return}catch(m){}}var c=L.body.getReader();i()}else{g._xhr=Y,g._pos=0,g.url=Y.responseURL,g.statusCode=Y.status,g.statusMessage=Y.statusText;var x=Y.getAllResponseHeaders().split(/\r?\n/);if(x.forEach(function(i){var m=i.match(/^([^:]+):\s*(.*)/);if(m){var n=m[1].toLowerCase();if(n==="set-cookie"){if(g.headers[n]===void 0)g.headers[n]=[];g.headers[n].push(m[2])}else if(g.headers[n]!==void 0)g.headers[n]+=", "+m[2];else g.headers[n]=m[2];g.rawHeaders.push(m[1],m[2])}}),g._charset="x-user-defined",!I.overrideMimeType){var u=g.rawHeaders["mime-type"];if(u){var h=u.match(/;\s*charset=([^;])(;|$)/);if(h)g._charset=h[1].toLowerCase()}if(!g._charset)g._charset="utf-8"}}};J(Z,z.Readable),Z.prototype._read=function(){var Y=this,L=Y._resumeFetch;if(L)Y._resumeFetch=null,L()},Z.prototype._onXHRProgress=function(Y){var L=this,S=L._xhr,B=null;switch(L._mode){case"text":if(B=S.responseText,B.length>L._pos){var g=B.substr(L._pos);if(L._charset==="x-user-defined"){var H=Buffer.alloc(g.length);for(var T=0;T<g.length;T++)H[T]=g.charCodeAt(T)&255;L.push(H)}else L.push(g,L._charset);L._pos=B.length}break;case"arraybuffer":if(S.readyState!==v.DONE||!S.response)break;B=S.response,L.push(Buffer.from(new Uint8Array(B)));break;case"moz-chunked-arraybuffer":if(B=S.response,S.readyState!==v.LOADING||!B)break;L.push(Buffer.from(new Uint8Array(B)));break;case"ms-stream":if(B=S.response,S.readyState!==v.LOADING)break;var c=new globalThis.MSStreamReader;c.onprogress=function(){if(c.result.byteLength>L._pos)L.push(Buffer.from(new Uint8Array(c.result.slice(L._pos)))),L._pos=c.result.byteLength},c.onload=function(){Y(!0),L.push(null)},c.readAsArrayBuffer(B);break}if(L._xhr.readyState===v.DONE&&L._mode!=="ms-stream")Y(!0),L.push(null)}}),ih=bU((U,I)=>{var J=X3(),z=Jz(),v=W3(),Z=z3(),Y=v.IncomingMessage,L=v.readyStates;function S(T,c){if(J.fetch&&c)return"fetch";else if(J.mozchunkedarraybuffer)return"moz-chunked-arraybuffer";else if(J.msstream)return"ms-stream";else if(J.arraybuffer&&T)return"arraybuffer";else return"text"}var B=I.exports=function(T){var c=this;if(Z.Writable.call(c),c._opts=T,c._body=[],c._headers={},T.auth)c.setHeader("Authorization","Basic "+Buffer.from(T.auth).toString("base64"));Object.keys(T.headers).forEach(function(h){c.setHeader(h,T.headers[h])});var x,u=!0;if(T.mode==="disable-fetch"||"requestTimeout"in T&&!J.abortController)u=!1,x=!0;else if(T.mode==="prefer-streaming")x=!1;else if(T.mode==="allow-wrong-content-type")x=!J.overrideMimeType;else if(!T.mode||T.mode==="default"||T.mode==="prefer-fast")x=!0;else throw Error("Invalid value for opts.mode");c._mode=S(x,u),c._fetchTimer=null,c._socketTimeout=null,c._socketTimer=null,c.on("finish",function(){c._onFinish()})};z(B,Z.Writable),B.prototype.setHeader=function(T,c){var x=this,u=T.toLowerCase();if(H.indexOf(u)!==-1)return;x._headers[u]={name:T,value:c}},B.prototype.getHeader=function(T){var c=this._headers[T.toLowerCase()];if(c)return c.value;return null},B.prototype.removeHeader=function(T){var c=this;delete c._headers[T.toLowerCase()]},B.prototype._onFinish=function(){var T=this;if(T._destroyed)return;var c=T._opts;if("timeout"in c&&c.timeout!==0)T.setTimeout(c.timeout);var x=T._headers,u=null;if(c.method!=="GET"&&c.method!=="HEAD")u=new Blob(T._body,{type:(x["content-type"]||{}).value||""});var h=[];if(Object.keys(x).forEach(function(a){var j0=x[a].name,Y0=x[a].value;if(Array.isArray(Y0))Y0.forEach(function(C0){h.push([j0,C0])});else h.push([j0,Y0])}),T._mode==="fetch"){var i=null;if(J.abortController){var m=new AbortController;if(i=m.signal,T._fetchAbortController=m,"requestTimeout"in c&&c.requestTimeout!==0)T._fetchTimer=globalThis.setTimeout(function(){if(T.emit("requestTimeout"),T._fetchAbortController)T._fetchAbortController.abort()},c.requestTimeout)}globalThis.fetch(T._opts.url,{method:T._opts.method,headers:h,body:u||void 0,mode:"cors",credentials:c.withCredentials?"include":"same-origin",signal:i}).then(function(a){T._fetchResponse=a,T._resetTimers(!1),T._connect()},function(a){if(T._resetTimers(!0),!T._destroyed)T.emit("error",a)})}else{var n=T._xhr=new globalThis.XMLHttpRequest;try{n.open(T._opts.method,T._opts.url,!0)}catch(a){process.nextTick(function(){T.emit("error",a)});return}if("responseType"in n)n.responseType=T._mode;if("withCredentials"in n)n.withCredentials=!!c.withCredentials;if(T._mode==="text"&&"overrideMimeType"in n)n.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in c)n.timeout=c.requestTimeout,n.ontimeout=function(){T.emit("requestTimeout")};if(h.forEach(function(a){n.setRequestHeader(a[0],a[1])}),T._response=null,n.onreadystatechange=function(){switch(n.readyState){case L.LOADING:case L.DONE:T._onXHRProgress();break}},T._mode==="moz-chunked-arraybuffer")n.onprogress=function(){T._onXHRProgress()};n.onerror=function(){if(T._destroyed)return;T._resetTimers(!0),T.emit("error",Error("XHR error"))};try{n.send(u)}catch(a){process.nextTick(function(){T.emit("error",a)});return}}};function g(T){try{var c=T.status;return c!==null&&c!==0}catch(x){return!1}}B.prototype._onXHRProgress=function(){var T=this;if(T._resetTimers(!1),!g(T._xhr)||T._destroyed)return;if(!T._response)T._connect();T._response._onXHRProgress(T._resetTimers.bind(T))},B.prototype._connect=function(){var T=this;if(T._destroyed)return;T._response=new Y(T._xhr,T._fetchResponse,T._mode,T._resetTimers.bind(T)),T._response.on("error",function(c){T.emit("error",c)}),T.emit("response",T._response)},B.prototype._write=function(T,c,x){var u=this;u._body.push(T),x()},B.prototype._resetTimers=function(T){var c=this;if(globalThis.clearTimeout(c._socketTimer),c._socketTimer=null,T)globalThis.clearTimeout(c._fetchTimer),c._fetchTimer=null;else if(c._socketTimeout)c._socketTimer=globalThis.setTimeout(function(){c.emit("timeout")},c._socketTimeout)},B.prototype.abort=B.prototype.destroy=function(T){var c=this;if(c._destroyed=!0,c._resetTimers(!0),c._response)c._response._destroyed=!0;if(c._xhr)c._xhr.abort();else if(c._fetchAbortController)c._fetchAbortController.abort();if(T)c.emit("error",T)},B.prototype.end=function(T,c,x){var u=this;if(typeof T==="function")x=T,T=void 0;Z.Writable.prototype.end.call(u,T,c,x)},B.prototype.setTimeout=function(T,c){var x=this;if(c)x.once("timeout",c);x._socketTimeout=T,x._resetTimers(!1)},B.prototype.flushHeaders=function(){},B.prototype.setNoDelay=function(){},B.prototype.setSocketKeepAlive=function(){};var H=["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"]}),rh=bU((U,I)=>{I.exports=z;var J=Object.prototype.hasOwnProperty;function z(){var v={};for(var Z=0;Z<arguments.length;Z++){var Y=arguments[Z];for(var L in Y)if(J.call(Y,L))v[L]=Y[L]}return v}}),oh=bU((U,I)=>{I.exports=(lq(),Mj(V3)).STATUS_CODES}),th=bU((U)=>{var I=ih(),J=W3(),z=rh(),v=oh(),Z=(U3(),Mj(j3)),Y=U;Y.request=function(L,S){if(typeof L==="string")L=Z.parse(L);else L=z(L);var B=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",g=L.protocol||B,H=L.hostname||L.host,T=L.port,c=L.path||"/";if(H&&H.indexOf(":")!==-1)H="["+H+"]";L.url=(H?g+"//"+H:"")+(T?":"+T:"")+c,L.method=(L.method||"GET").toUpperCase(),L.headers=L.headers||{};var x=new I(L);if(S)x.on("response",S);return x},Y.get=function(L,S){var B=Y.request(L,S);return B.end(),B},Y.ClientRequest=I,Y.IncomingMessage=J.IncomingMessage,Y.Agent=function(){},Y.Agent.defaultMaxSockets=4,Y.globalAgent=new Y.Agent,Y.STATUS_CODES=v,Y.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"]}),K3=fh(th(),1),{request:sh,get:ah,ClientRequest:eh,IncomingMessage:$p,Agent:jp,globalAgent:Up,STATUS_CODES:vp,METHODS:Ip}=K3.default,O3=K3.default});var C3=hX((OU0,P3)=>{function F3(U,I,J){if(!U||typeof U!=="object"||Array.isArray(U)||Object.keys(U).some((z)=>!I.includes(z)))throw Error(`${J} has an invalid shape`);return U}function qp(U){if(!Array.isArray(U)||U.length>256)throw Error("World network egress must be an array of at most 256 exact HTTPS origins");let I=U.map((J)=>{if(typeof J!=="string"||J.length>2048)throw Error("World network egress origins must be strings");let z;try{z=new URL(J)}catch{throw Error(`Invalid World network origin: ${J}`)}if(z.protocol!=="https:"||z.origin!==J||z.username||z.password||!/^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/.test(z.hostname)||z.hostname.split(".").some((v)=>!v||v.length>63||v.startsWith("-")||v.endsWith("-"))||/^[\d.]+$/.test(z.hostname)||z.hostname==="localhost"||z.hostname.endsWith(".localhost"))throw Error(`World network requires an exact canonical HTTPS origin: ${J}`);return J});return Object.freeze([...new Set(I)].sort())}function H3(U){let I=F3(U,["egress"],"World network");return Object.freeze({egress:qp(I.egress)})}function _3(U,I){if(typeof U!=="string"||!U||U.length>256)throw Error("World network policy requires its World identity");return Object.freeze({version:1,world:U,egress:H3(I).egress})}function M3(U){let I=F3(U,["version","world","egress"],"World network policy");if(I.version!==1)throw Error("Unsupported World network policy version");return _3(I.world,{egress:I.egress})}function L3(U){let I=U.VOLTER_WORLD_NETWORK_POLICY;if(I===void 0)return;if(typeof I!=="string"||I.length>65536)throw Error("Invalid published World network policy");let J=M3(JSON.parse(I));if(!U.VOLTER_WORLD||J.world!==U.VOLTER_WORLD)throw Error("World network policy does not belong to the attached World");return J}function A3(U,I){let J;try{J=new URL(String(I))}catch{return!1}return J.protocol==="https:"&&!J.username&&!J.password&&U.egress.includes(J.origin)}function q3(U){let I=String(U||"").toLowerCase().replace(/^\[|\]$/g,"");if(!I)return!0;if(I==="localhost"||I.endsWith(".localhost")||I.endsWith(".test")||I==="0.0.0.0"||I==="::1")return!0;let J=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/.exec(I);if(J){let z=Number(J[1]),v=Number(J[2]);return z===127||z===10||z===172&&v>=16&&v<=31||z===192&&v===168||z===169&&v===254}return I.includes(":")&&(I.startsWith("fc")||I.startsWith("fd")||I.startsWith("fe80:"))}function Pp(U,I=process.env){let J;try{J=new URL(String(U))}catch{return`unparseable destination ${String(U)}`}if(q3(J.hostname))return null;if(I.VOLTER_TWIN_STRICT_EGRESS==="1"||I.VOLTER_TWIN_STRICT_EGRESS==="true")return`sealed World refuses untwinned host ${J.hostname}`;let z;try{z=L3(I)}catch(v){return`World network policy unreadable (${v.message}); refusing ${J.hostname}`}if(z!==void 0&&!A3(z,J))return`World network policy does not allow ${J.origin}`;return null}P3.exports={isWorldInternalHost:q3,worldEgressRefusal:Pp,WORLD_NETWORK_POLICY_ENV:"VOLTER_WORLD_NETWORK_POLICY",normalizeWorldNetwork:H3,createWorldNetworkPolicy:_3,parseWorldNetworkPolicy:M3,worldNetworkPolicyFromEnv:L3,allowsWorldNetworkEgress:A3}});var R3=hX((Np)=>{var iD=Z2(uZ()),nq=Z2(pV());(function(){function U(M,P,k,d){return""+P+(k==="s"?"\\73 ":"\\53 ")+d}function I(M,P,k,d){return""+P+(k==="s"?"\\u0073":"\\u0053")+d}function J(M){if(M===null||typeof M!=="object")return null;return M=e1&&M[e1]||M["@@iterator"],typeof M==="function"?M:null}function z(M){return M=Object.prototype.toString.call(M),M.slice(8,M.length-1)}function v(M){var P=JSON.stringify(M);return'"'+M+'"'===P?M:P}function Z(M){switch(typeof M){case"string":return JSON.stringify(10>=M.length?M:M.slice(0,10)+"...");case"object":if(M1(M))return"[...]";if(M!==null&&M.$$typeof===UJ)return"client";return M=z(M),M==="Object"?"{...}":M;case"function":return M.$$typeof===UJ?"client":(M=M.displayName||M.name)?"function "+M:"function";default:return String(M)}}function Y(M){if(typeof M==="string")return M;switch(M){case FI:return"Suspense";case HI:return"SuspenseList"}if(typeof M==="object")switch(M.$$typeof){case JX:return Y(M.render);case K6:return Y(M.type);case j1:var P=M._payload;M=M._init;try{return Y(M(P))}catch(k){}}return""}function L(M,P){var k=z(M);if(k!=="Object"&&k!=="Array")return k;var d=-1,s=0;if(M1(M))if(WY.has(M)){var G0=WY.get(M);k="<"+Y(G0)+">";for(var q0=0;q0<M.length;q0++){var c0=M[q0];c0=typeof c0==="string"?c0:typeof c0==="object"&&c0!==null?"{"+L(c0)+"}":"{"+Z(c0)+"}",""+q0===P?(d=k.length,s=c0.length,k+=c0):k=15>c0.length&&40>k.length+c0.length?k+c0:k+"{...}"}k+="</"+Y(G0)+">"}else{k="[";for(G0=0;G0<M.length;G0++)0<G0&&(k+=", "),q0=M[G0],q0=typeof q0==="object"&&q0!==null?L(q0):Z(q0),""+G0===P?(d=k.length,s=q0.length,k+=q0):k=10>q0.length&&40>k.length+q0.length?k+q0:k+"...";k+="]"}else if(M.$$typeof===Bv)k="<"+Y(M.type)+"/>";else{if(M.$$typeof===UJ)return"client";if(zY.has(M)){k=zY.get(M),k="<"+(Y(k)||"..."),G0=Object.keys(M);for(q0=0;q0<G0.length;q0++){k+=" ",c0=G0[q0],k+=v(c0)+"=";var A$=M[c0],i0=c0===P&&typeof A$==="object"&&A$!==null?L(A$):Z(A$);typeof A$!=="string"&&(i0="{"+i0+"}"),c0===P?(d=k.length,s=i0.length,k+=i0):k=10>i0.length&&40>k.length+i0.length?k+i0:k+"..."}k+=">"}else{k="{",G0=Object.keys(M);for(q0=0;q0<G0.length;q0++)0<q0&&(k+=", "),c0=G0[q0],k+=v(c0)+": ",A$=M[c0],A$=typeof A$==="object"&&A$!==null?L(A$):Z(A$),c0===P?(d=k.length,s=A$.length,k+=A$):k=10>A$.length&&40>k.length+A$.length?k+A$:k+"...";k+="}"}}return P===void 0?k:-1<d&&0<s?(M=" ".repeat(d)+"^".repeat(s),`
|
|
247
|
+
`+k+`
|
|
248
|
+
`+M):`
|
|
249
|
+
`+k}function S(M,P){var k=M.length&3,d=M.length-k,s=P;for(P=0;P<d;){var G0=M.charCodeAt(P)&255|(M.charCodeAt(++P)&255)<<8|(M.charCodeAt(++P)&255)<<16|(M.charCodeAt(++P)&255)<<24;++P,G0=3432918353*(G0&65535)+((3432918353*(G0>>>16)&65535)<<16)&4294967295,G0=G0<<15|G0>>>17,G0=461845907*(G0&65535)+((461845907*(G0>>>16)&65535)<<16)&4294967295,s^=G0,s=s<<13|s>>>19,s=5*(s&65535)+((5*(s>>>16)&65535)<<16)&4294967295,s=(s&65535)+27492+(((s>>>16)+58964&65535)<<16)}switch(G0=0,k){case 3:G0^=(M.charCodeAt(P+2)&255)<<16;case 2:G0^=(M.charCodeAt(P+1)&255)<<8;case 1:G0^=M.charCodeAt(P)&255,G0=3432918353*(G0&65535)+((3432918353*(G0>>>16)&65535)<<16)&4294967295,G0=G0<<15|G0>>>17,s^=461845907*(G0&65535)+((461845907*(G0>>>16)&65535)<<16)&4294967295}return s^=M.length,s^=s>>>16,s=2246822507*(s&65535)+((2246822507*(s>>>16)&65535)<<16)&4294967295,s^=s>>>13,s=3266489909*(s&65535)+((3266489909*(s>>>16)&65535)<<16)&4294967295,(s^s>>>16)>>>0}function B(M){return typeof Symbol==="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object"}function g(M){try{return H(M),!1}catch(P){return!0}}function H(M){return""+M}function T(M,P){if(g(M))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",P,B(M)),H(M)}function c(M,P){if(g(M))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.",P,B(M)),H(M)}function x(M){if(g(M))return 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.",B(M)),H(M)}function u(M){if(nj.call(GX,M))return!0;if(nj.call(vJ,M))return!1;if(N6.test(M))return GX[M]=!0;return vJ[M]=!0,console.error("Invalid attribute name: `%s`",M),!1}function h(M,P){KY[P.type]||P.onChange||P.onInput||P.readOnly||P.disabled||P.value==null||(M==="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`.")),P.onChange||P.readOnly||P.disabled||P.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 i(M,P){if(nj.call(_I,P)&&_I[P])return!0;if($v.test(P)){if(M="aria-"+P.slice(4).toLowerCase(),M=mG.hasOwnProperty(M)?M:null,M==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",P),_I[P]=!0;if(P!==M)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",P,M),_I[P]=!0}if(S6.test(P)){if(M=P.toLowerCase(),M=mG.hasOwnProperty(M)?M:null,M==null)return _I[P]=!0,!1;P!==M&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",P,M),_I[P]=!0)}return!0}function m(M,P){var k=[],d;for(d in P)i(M,d)||k.push(d);P=k.map(function(s){return"`"+s+"`"}).join(", "),k.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",P,M):1<k.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",P,M)}function n(M,P,k,d){if(nj.call(Q4,P)&&Q4[P])return!0;var s=P.toLowerCase();if(s==="onfocusin"||s==="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."),Q4[P]=!0;if(typeof k==="function"&&(M==="form"&&P==="action"||M==="input"&&P==="formAction"||M==="button"&&P==="formAction"))return!0;if(d!=null){if(M=d.possibleRegistrationNames,d.registrationNameDependencies.hasOwnProperty(P))return!0;if(d=M.hasOwnProperty(s)?M[s]:null,d!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",P,d),Q4[P]=!0;if(QQ.test(P))return console.error("Unknown event handler property `%s`. It will be ignored.",P),Q4[P]=!0}else if(QQ.test(P))return uG.test(P)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",P),Q4[P]=!0;if(Nv.test(P)||zX.test(P))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Q4[P]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Q4[P]=!0;if(s==="is"&&k!==null&&k!==void 0&&typeof k!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof k),Q4[P]=!0;if(typeof k==="number"&&isNaN(k))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",P),Q4[P]=!0;if(JQ.hasOwnProperty(s)){if(s=JQ[s],s!==P)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",P,s),Q4[P]=!0}else if(P!==s)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.",P,s),Q4[P]=!0;switch(P){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 k){case"boolean":switch(P){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(s=P.toLowerCase().slice(0,5),s==="data-"||s==="aria-")return!0;return k?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()}.',k,P,P,k,P):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.',k,P,P,k,P,P,P),Q4[P]=!0}case"function":case"symbol":return Q4[P]=!0,!1;case"string":if(k==="false"||k==="true"){switch(P){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}?",k,P,k==="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".',P,k),Q4[P]=!0}}return!0}function a(M,P,k){var d=[],s;for(s in P)n(M,s,P[s],k)||d.push(s);P=d.map(function(G0){return"`"+G0+"`"}).join(", "),d.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 ",P,M):1<d.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 ",P,M)}function j0(M){return M.replace(uU,function(P,k){return k.toUpperCase()})}function Y0(M){if(typeof M==="boolean"||typeof M==="number"||typeof M==="bigint")return""+M;x(M),M=""+M;var P=IJ.exec(M);if(P){var k="",d,s=0;for(d=P.index;d<M.length;d++){switch(M.charCodeAt(d)){case 34:P=""";break;case 38:P="&";break;case 39:P="'";break;case 60:P="<";break;case 62:P=">";break;default:continue}s!==d&&(k+=M.slice(s,d)),s=d+1,k+=P}M=s!==d?k+M.slice(s,d):k}return M}function C0(M){return LI.test(""+M)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":M}function S0(M){return x(M),(""+M).replace(kv,I)}function h0(M,P,k,d,s){return{idPrefix:M===void 0?"":M,nextFormID:0,streamingFormat:0,bootstrapScriptContent:k,bootstrapScripts:d,bootstrapModules:s,instructions:e4,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function X0(M,P,k,d){return{insertionMode:M,selectedValue:P,tagScope:k,viewTransition:d}}function x0(M,P,k){var d=M.tagScope&-25;switch(P){case"noscript":return X0(ZU,null,d|1,null);case"select":return X0(ZU,k.value!=null?k.value:k.defaultValue,d,null);case"svg":return X0(G4,null,d,null);case"picture":return X0(ZU,null,d|2,null);case"math":return X0(c6,null,d,null);case"foreignObject":return X0(ZU,null,d,null);case"table":return X0(C2,null,d,null);case"thead":case"tbody":case"tfoot":return X0(JJ,null,d,null);case"colgroup":return X0(U1,null,d,null);case"tr":return X0(GQ,null,d,null);case"head":if(M.insertionMode<ZU)return X0(k6,null,d,null);break;case"html":if(M.insertionMode===Uv)return X0(Y4,null,d,null)}return M.insertionMode>=C2||M.insertionMode<ZU?X0(ZU,null,d,null):M.tagScope!==d?X0(M.insertionMode,M.selectedValue,d,null):M}function Q(M){return M===null?null:{update:M.update,enter:"none",exit:"none",share:M.update,name:M.autoName,autoName:M.autoName,nameIdx:0}}function K(M,P){return P.tagScope&32&&(M.instructions|=128),X0(P.insertionMode,P.selectedValue,P.tagScope|12,Q(P.viewTransition))}function D(M,P){M=Q(P.viewTransition);var k=P.tagScope|16;return M!==null&&M.share!=="none"&&(k|=64),X0(P.insertionMode,P.selectedValue,k,M)}function W(M,P){if(typeof P!=="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.");var k=!0,d;for(d in P)if(nj.call(P,d)){var s=P[d];if(s!=null&&typeof s!=="boolean"&&s!==""){if(d.indexOf("--")===0){var G0=Y0(d);c(s,d),s=Y0((""+s).trim())}else{G0=d;var q0=s;if(-1<G0.indexOf("-")){var c0=G0;k2.hasOwnProperty(c0)&&k2[c0]||(k2[c0]=!0,console.error("Unsupported style property %s. Did you mean %s?",c0,j0(c0.replace(k4,"ms-"))))}else if(hG.test(G0))c0=G0,k2.hasOwnProperty(c0)&&k2[c0]||(k2[c0]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",c0,c0.charAt(0).toUpperCase()+c0.slice(1)));else if(OY.test(q0)){c0=G0;var A$=q0;cj.hasOwnProperty(A$)&&cj[A$]||(cj[A$]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,c0,A$.replace(OY,"")))}typeof q0==="number"&&(isNaN(q0)?MI||(MI=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",G0)):isFinite(q0)||YQ||(YQ=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",G0))),G0=d,q0=MU.get(G0),q0!==void 0?G0=q0:(q0=Y0(G0.replace(pG,"-$1").toLowerCase().replace(VY,"-ms-")),MU.set(G0,q0),G0=q0),typeof s==="number"?s=s===0||gv.has(d)?""+s:s+"px":(c(s,d),s=Y0((""+s).trim()))}k?(k=!1,M.push(nG,G0,V6,s)):M.push(CI,G0,V6,s)}}k||M.push(LU)}function V(M,P,k){k&&typeof k!=="function"&&typeof k!=="symbol"&&M.push(c4,P,AU)}function R(M,P,k){typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&M.push(c4,P,q4,Y0(k),LU)}function N(M,P){this.push('<input type="hidden"'),q(M),R(this,"name",P),R(this,"value",M),this.push(QJ)}function q(M){if(typeof M!=="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function G(M,P){if(typeof P.$$FORM_ACTION==="function"){var k=M.nextFormID++;M=M.idPrefix+k;try{var d=P.$$FORM_ACTION(M);if(d){var s=d.data;s!=null&&s.forEach(q)}return d}catch(G0){if(typeof G0==="object"&&G0!==null&&typeof G0.then==="function")throw G0;console.error(`Failed to serialize an action for progressive enhancement:
|
|
250
|
+
%s`,G0)}}return null}function C(M,P,k,d,s,G0,q0,c0){var A$=null;if(typeof d==="function"){c0===null||zQ||(zQ=!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.')),s===null&&G0===null||WQ||(WQ=!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.")),q0===null||RI||(RI=!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."));var i0=G(P,d);i0!==null?(c0=i0.name,d=i0.action||"",s=i0.encType,G0=i0.method,q0=i0.target,A$=i0.data):(M.push(c4,"formAction",q4,P4,LU),q0=G0=s=d=c0=null,K0(P,k))}return c0!=null&&b(M,"name",c0),d!=null&&b(M,"formAction",d),s!=null&&b(M,"formEncType",s),G0!=null&&b(M,"formMethod",G0),q0!=null&&b(M,"formTarget",q0),A$}function b(M,P,k){switch(P){case"className":R(M,"class",k);break;case"tabIndex":R(M,"tabindex",k);break;case"dir":case"role":case"viewBox":case"width":case"height":R(M,P,k);break;case"style":W(M,k);break;case"src":case"href":if(k===""){P==="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.',P,P):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.',P,P);break}case"action":case"formAction":if(k==null||typeof k==="function"||typeof k==="symbol"||typeof k==="boolean")break;T(k,P),k=C0(""+k),M.push(c4,P,q4,Y0(k),LU);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":V(M,P.toLowerCase(),k);break;case"xlinkHref":if(typeof k==="function"||typeof k==="symbol"||typeof k==="boolean")break;T(k,P),k=C0(""+k),M.push(c4,"xlink:href",q4,Y0(k),LU);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof k!=="function"&&typeof k!=="symbol"&&M.push(c4,P,q4,Y0(k),LU);break;case"inert":k!==""||PI[P]||(PI[P]=!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.",P));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":k&&typeof k!=="function"&&typeof k!=="symbol"&&M.push(c4,P,AU);break;case"capture":case"download":k===!0?M.push(c4,P,AU):k!==!1&&typeof k!=="function"&&typeof k!=="symbol"&&M.push(c4,P,q4,Y0(k),LU);break;case"cols":case"rows":case"size":case"span":typeof k!=="function"&&typeof k!=="symbol"&&!isNaN(k)&&1<=k&&M.push(c4,P,q4,Y0(k),LU);break;case"rowSpan":case"start":typeof k==="function"||typeof k==="symbol"||isNaN(k)||M.push(c4,P,q4,Y0(k),LU);break;case"xlinkActuate":R(M,"xlink:actuate",k);break;case"xlinkArcrole":R(M,"xlink:arcrole",k);break;case"xlinkRole":R(M,"xlink:role",k);break;case"xlinkShow":R(M,"xlink:show",k);break;case"xlinkTitle":R(M,"xlink:title",k);break;case"xlinkType":R(M,"xlink:type",k);break;case"xmlBase":R(M,"xml:base",k);break;case"xmlLang":R(M,"xml:lang",k);break;case"xmlSpace":R(M,"xml:space",k);break;default:if(!(2<P.length)||P[0]!=="o"&&P[0]!=="O"||P[1]!=="n"&&P[1]!=="N"){if(P=ZX.get(P)||P,u(P)){switch(typeof k){case"function":case"symbol":return;case"boolean":var d=P.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-")return}M.push(c4,P,q4,Y0(k),LU)}}}}function y(M,P,k){if(P!=null){if(k!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof P!=="object"||!("__html"in P))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");P=P.__html,P!==null&&P!==void 0&&(x(P),M.push(""+P))}}function o(M,P){var k=M[P];k!=null&&(k=M1(k),M.multiple&&!k?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",P):!M.multiple&&k&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",P))}function J0(M){var P="";return iD.Children.forEach(M,function(k){k!=null&&(P+=k,FY||typeof k==="string"||typeof k==="number"||typeof k==="bigint"||(FY=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),P}function K0(M,P){if((M.instructions&16)===e4){M.instructions|=16;var{preamble:k,bootstrapChunks:d}=P;(k.htmlChunks||k.headChunks)&&d.length===0?(d.push(P.startInlineScript),dj(d,M),d.push(H2,GJ,w6)):d.unshift(P.startInlineScript,H2,GJ,w6)}}function A0(M,P){M.push(Z0("link"));for(var k in P)if(nj.call(P,k)){var d=P[k];if(d!=null)switch(k){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:b(M,k,d)}}return M.push(QJ),null}function H0(M){return x(M),(""+M).replace(OX,U)}function W0(M,P,k){M.push(Z0(k));for(var d in P)if(nj.call(P,d)){var s=P[d];if(s!=null)switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(k+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:b(M,d,s)}}return M.push(QJ),null}function z0(M,P){M.push(Z0("title"));var k=null,d=null,s;for(s in P)if(nj.call(P,s)){var G0=P[s];if(G0!=null)switch(s){case"children":k=G0;break;case"dangerouslySetInnerHTML":d=G0;break;default:b(M,s,G0)}}return M.push(H2),P=Array.isArray(k)?2>k.length?k[0]:null:k,typeof P!=="function"&&typeof P!=="symbol"&&P!==null&&P!==void 0&&M.push(Y0(""+P)),y(M,d,k),M.push(U0("title")),null}function D0(M,P){M.push(Z0("script"));var k=null,d=null,s;for(s in P)if(nj.call(P,s)){var G0=P[s];if(G0!=null)switch(s){case"children":k=G0;break;case"dangerouslySetInnerHTML":d=G0;break;default:b(M,s,G0)}}return M.push(H2),k!=null&&typeof k!=="string"&&(P=typeof k==="number"?"a number for children":Array.isArray(k)?"an array for children":"something unexpected for children",console.error("A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.",P)),y(M,d,k),typeof k==="string"&&M.push(S0(k)),M.push(U0("script")),null}function L0(M,P,k){M.push(Z0(k));var d=k=null,s;for(s in P)if(nj.call(P,s)){var G0=P[s];if(G0!=null)switch(s){case"children":k=G0;break;case"dangerouslySetInnerHTML":d=G0;break;default:b(M,s,G0)}}return M.push(H2),y(M,d,k),k}function k0(M,P,k){M.push(Z0(k));var d=k=null,s;for(s in P)if(nj.call(P,s)){var G0=P[s];if(G0!=null)switch(s){case"children":k=G0;break;case"dangerouslySetInnerHTML":d=G0;break;default:b(M,s,G0)}}return M.push(H2),y(M,d,k),typeof k==="string"?(M.push(Y0(k)),null):k}function Z0(M){var P=EI.get(M);if(P===void 0){if(!D6.test(M))throw Error("Invalid tag: "+M);P="<"+M,EI.set(M,P)}return P}function r(M,P,k,d,s,G0,q0,c0,A$){m(P,k),P!=="input"&&P!=="textarea"&&P!=="select"||k==null||k.value!==null||jv||(jv=!0,P==="select"&&k.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.",P):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",P));$:if(P.indexOf("-")===-1)var i0=!1;else switch(P){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":i0=!1;break $;default:i0=!0}switch(i0||typeof k.is==="string"||a(P,k,null),!k.suppressContentEditableWarning&&k.contentEditable&&k.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."),c0.insertionMode!==G4&&c0.insertionMode!==c6&&P.indexOf("-")===-1&&P.toLowerCase()!==P&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",P),P){case"div":case"span":case"svg":case"path":break;case"a":M.push(Z0("a"));var $$=null,x$=null,b$;for(b$ in k)if(nj.call(k,b$)){var f$=k[b$];if(f$!=null)switch(b$){case"children":$$=f$;break;case"dangerouslySetInnerHTML":x$=f$;break;case"href":f$===""?R(M,"href",""):b(M,b$,f$);break;default:b(M,b$,f$)}}if(M.push(H2),y(M,x$,$$),typeof $$==="string"){M.push(Y0($$));var R$=null}else R$=$$;return R$;case"g":case"p":case"li":break;case"select":h("select",k),o(k,"value"),o(k,"defaultValue"),k.value===void 0||k.defaultValue===void 0||cv||(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"),cv=!0),M.push(Z0("select"));var Oj=null,E2=null,jj;for(jj in k)if(nj.call(k,jj)){var Nj=k[jj];if(Nj!=null)switch(jj){case"children":Oj=Nj;break;case"dangerouslySetInnerHTML":E2=Nj;break;case"defaultValue":case"value":break;default:b(M,jj,Nj)}}return M.push(H2),y(M,E2,Oj),Oj;case"option":var Z4=c0.selectedValue;M.push(Z0("option"));var R4=null,Sj=null,PU=null,m6=null,I6;for(I6 in k)if(nj.call(k,I6)){var d$=k[I6];if(d$!=null)switch(I6){case"children":R4=d$;break;case"selected":PU=d$,ZQ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ZQ=!0);break;case"dangerouslySetInnerHTML":m6=d$;break;case"value":Sj=d$;default:b(M,I6,d$)}}if(Z4!=null){if(Sj!==null){T(Sj,"value");var G2=""+Sj}else m6===null||sU||(sU=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),G2=J0(R4);if(M1(Z4)){for(var v2=0;v2<Z4.length;v2++)if(T(Z4[v2],"value"),""+Z4[v2]===G2){M.push(' selected=""');break}}else T(Z4,"select.value"),""+Z4===G2&&M.push(' selected=""')}else PU&&M.push(' selected=""');return M.push(H2),y(M,m6,R4),R4;case"textarea":h("textarea",k),k.value===void 0||k.defaultValue===void 0||DY||(console.error("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"),DY=!0),M.push(Z0("textarea"));var x2=null,T2=null,u2=null,Vj;for(Vj in k)if(nj.call(k,Vj)){var aU=k[Vj];if(aU!=null)switch(Vj){case"children":u2=aU;break;case"value":x2=aU;break;case"defaultValue":T2=aU;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:b(M,Vj,aU)}}if(x2===null&&T2!==null&&(x2=T2),M.push(H2),u2!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),x2!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(M1(u2)){if(1<u2.length)throw Error("<textarea> can only have at most one child.");x(u2[0]),x2=""+u2[0]}x(u2),x2=""+u2}return typeof x2==="string"&&x2[0]===`
|
|
251
|
+
`&&M.push(vv),x2!==null&&(T(x2,"value"),M.push(Y0(""+x2))),null;case"input":h("input",k),M.push(Z0("input"));var Hj=null,eU=null,aj=null,b4=null,_6=null,Y1=null,lU=null,u6=null,M6=null,_2;for(_2 in k)if(nj.call(k,_2)){var F=k[_2];if(F!=null)switch(_2){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":Hj=F;break;case"formAction":eU=F;break;case"formEncType":aj=F;break;case"formMethod":b4=F;break;case"formTarget":_6=F;break;case"defaultChecked":M6=F;break;case"defaultValue":lU=F;break;case"checked":u6=F;break;case"value":Y1=F;break;default:b(M,_2,F)}}eU===null||k.type==="image"||k.type==="submit"||KX||(KX=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var _=C(M,d,s,eU,aj,b4,_6,Hj);return u6===null||M6===null||iG||(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","A component",k.type),iG=!0),Y1===null||lU===null||YJ||(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","A component",k.type),YJ=!0),u6!==null?V(M,"checked",u6):M6!==null&&V(M,"checked",M6),Y1!==null?b(M,"value",Y1):lU!==null&&b(M,"value",lU),M.push(QJ),_!=null&&_.forEach(N,M),null;case"button":M.push(Z0("button"));var w=null,p=null,t=null,v0=null,F0=null,E0=null,j$=null,f0;for(f0 in k)if(nj.call(k,f0)){var t0=k[f0];if(t0!=null)switch(f0){case"children":w=t0;break;case"dangerouslySetInnerHTML":p=t0;break;case"name":t=t0;break;case"formAction":v0=t0;break;case"formEncType":F0=t0;break;case"formMethod":E0=t0;break;case"formTarget":j$=t0;break;default:b(M,f0,t0)}}v0===null||k.type==null||k.type==="submit"||KX||(KX=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var T$=C(M,d,s,v0,F0,E0,j$,t);if(M.push(H2),T$!=null&&T$.forEach(N,M),y(M,p,w),typeof w==="string"){M.push(Y0(w));var g$=null}else g$=w;return g$;case"form":M.push(Z0("form"));var B$=null,W$=null,a$=null,s$=null,t$=null,Yj=null,B2;for(B2 in k)if(nj.call(k,B2)){var ij=k[B2];if(ij!=null)switch(B2){case"children":B$=ij;break;case"dangerouslySetInnerHTML":W$=ij;break;case"action":a$=ij;break;case"encType":s$=ij;break;case"method":t$=ij;break;case"target":Yj=ij;break;default:b(M,B2,ij)}}var zj=null,r$=null;if(typeof a$==="function"){s$===null&&t$===null||WQ||(WQ=!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.")),Yj===null||RI||(RI=!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."));var ej=G(d,a$);ej!==null?(a$=ej.action||"",s$=ej.encType,t$=ej.method,Yj=ej.target,zj=ej.data,r$=ej.name):(M.push(c4,"action",q4,P4,LU),Yj=t$=s$=a$=null,K0(d,s))}if(a$!=null&&b(M,"action",a$),s$!=null&&b(M,"encType",s$),t$!=null&&b(M,"method",t$),Yj!=null&&b(M,"target",Yj),M.push(H2),r$!==null&&(M.push('<input type="hidden"'),R(M,"name",r$),M.push(QJ),zj!=null&&zj.forEach(N,M)),y(M,W$,B$),typeof B$==="string"){M.push(Y0(B$));var h2=null}else h2=B$;return h2;case"menuitem":M.push(Z0("menuitem"));for(var xj in k)if(nj.call(k,xj)){var $2=k[xj];if($2!=null)switch(xj){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:b(M,xj,$2)}}return M.push(H2),null;case"object":M.push(Z0("object"));var dU=null,WU=null,y2;for(y2 in k)if(nj.call(k,y2)){var hj=k[y2];if(hj!=null)switch(y2){case"children":dU=hj;break;case"dangerouslySetInnerHTML":WU=hj;break;case"data":T(hj,"data");var f2=C0(""+hj);if(f2===""){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.',y2,y2);break}M.push(c4,"data",q4,Y0(f2),LU);break;default:b(M,y2,hj)}}if(M.push(H2),y(M,WU,dU),typeof dU==="string"){M.push(Y0(dU));var nU=null}else nU=dU;return nU;case"title":var z4=c0.tagScope&1,vU=c0.tagScope&4;if(nj.call(k,"children")){var I2=k.children,CU=Array.isArray(I2)?2>I2.length?I2[0]:null:I2;Array.isArray(I2)&&1<I2.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",I2.length):typeof CU==="function"||typeof CU==="symbol"?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof CU==="function"?"a Function":"a Sybmol"):CU&&CU.toString==={}.toString&&(CU.$$typeof!=null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."))}if(c0.insertionMode===G4||z4||k.itemProp!=null)var $4=z0(M,k);else vU?$4=null:(z0(s.hoistableChunks,k),$4=void 0);return $4;case"link":var p2=c0.tagScope&1,E4=c0.tagScope&4,iU=k.rel,g2=k.href,W4=k.precedence;if(c0.insertionMode===G4||p2||k.itemProp!=null||typeof iU!=="string"||typeof g2!=="string"||g2===""){iU==="stylesheet"&&typeof k.precedence==="string"&&(typeof g2==="string"&&g2||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',g2===null?"`null`":g2===void 0?"`undefined`":g2===""?"an empty string":'something with type "'+typeof g2+'"')),A0(M,k);var IU=null}else if(k.rel==="stylesheet")if(typeof W4!=="string"||k.disabled!=null||k.onLoad||k.onError){if(typeof W4==="string"){if(k.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active 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 `disabled` prop, otherwise remove the `precedence` prop.');else if(k.onLoad||k.onError){var dv=k.onLoad&&k.onError?"`onLoad` and `onError` props":k.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %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.',dv,dv)}}IU=A0(M,k)}else{var X6=s.styles.get(W4),M2=d.styleResources.hasOwnProperty(g2)?d.styleResources[g2]:void 0;if(M2!==HU){d.styleResources[g2]=HU,X6||(X6={precedence:Y0(W4),rules:[],hrefs:[],sheets:new Map},s.styles.set(W4,X6));var xU={state:x4,props:t2({},k,{"data-precedence":k.precedence,precedence:null})};if(M2){M2.length===2&&V0(xU.props,M2);var RU=s.preloads.stylesheets.get(g2);RU&&0<RU.length?RU.length=0:xU.state=HJ}X6.sheets.set(g2,xU),q0&&q0.stylesheets.add(xU)}else if(X6){var P1=X6.sheets.get(g2);P1&&q0&&q0.stylesheets.add(P1)}A$&&M.push("<!-- -->"),IU=null}else k.onLoad||k.onError?IU=A0(M,k):(A$&&M.push("<!-- -->"),IU=E4?null:A0(s.hoistableChunks,k));return IU;case"script":var _j=c0.tagScope&1,K4=k.async;if(typeof k.src!=="string"||!k.src||!K4||typeof K4==="function"||typeof K4==="symbol"||k.onLoad||k.onError||c0.insertionMode===G4||_j||k.itemProp!=null)var C1=D0(M,k);else{var rU=k.src;if(k.type==="module")var Zv=d.moduleScriptResources,SI=s.preloads.moduleScripts;else Zv=d.scriptResources,SI=s.preloads.scripts;var j4=Zv.hasOwnProperty(rU)?Zv[rU]:void 0;if(j4!==HU){Zv[rU]=HU;var R1=k;if(j4){j4.length===2&&(R1=t2({},k),V0(R1,j4));var EU=SI.get(rU);EU&&(EU.length=0)}var G1=[];s.scripts.add(G1),D0(G1,R1)}A$&&M.push("<!-- -->"),C1=null}return C1;case"style":var m4=c0.tagScope&1;if(nj.call(k,"children")){var h6=k.children,T4=Array.isArray(h6)?2>h6.length?h6[0]:null:h6;(typeof T4==="function"||typeof T4==="symbol"||Array.isArray(T4))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof T4==="function"?"a Function":typeof T4==="symbol"?"a Sybmol":"an Array")}var{precedence:l2,href:U4,nonce:v4}=k;if(c0.insertionMode===G4||m4||k.itemProp!=null||typeof l2!=="string"||typeof U4!=="string"||U4===""){M.push(Z0("style"));var XU=null,L6=null,u4;for(u4 in k)if(nj.call(k,u4)){var p6=k[u4];if(p6!=null)switch(u4){case"children":XU=p6;break;case"dangerouslySetInnerHTML":L6=p6;break;default:b(M,u4,p6)}}M.push(H2);var h4=Array.isArray(XU)?2>XU.length?XU[0]:null:XU;typeof h4!=="function"&&typeof h4!=="symbol"&&h4!==null&&h4!==void 0&&M.push(H0(h4)),y(M,L6,XU),M.push(U0("style"));var wI=null}else{U4.includes(" ")&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',U4);var TU=s.styles.get(l2),B4=d.styleResources.hasOwnProperty(U4)?d.styleResources[U4]:void 0;if(B4!==HU){d.styleResources[U4]=HU,B4&&console.error('React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.',U4),TU||(TU={precedence:Y0(l2),rules:[],hrefs:[],sheets:new Map},s.styles.set(l2,TU));var E1=s.nonce.style;if(E1&&E1!==v4)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',l2,v4,E1);else{!E1&&v4&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',l2,v4),TU.hrefs.push(Y0(U4));var nv=TU.rules,Z1=null,SQ=null,vj;for(vj in k)if(nj.call(k,vj)){var l6=k[vj];if(l6!=null)switch(vj){case"children":Z1=l6;break;case"dangerouslySetInnerHTML":SQ=l6}}var A6=Array.isArray(Z1)?2>Z1.length?Z1[0]:null:Z1;typeof A6!=="function"&&typeof A6!=="symbol"&&A6!==null&&A6!==void 0&&nv.push(H0(A6)),y(nv,SQ,Z1)}}TU&&q0&&q0.styles.add(TU),A$&&M.push("<!-- -->"),wI=void 0}return wI;case"meta":var zv=c0.tagScope&1,NX=c0.tagScope&4;if(c0.insertionMode===G4||zv||k.itemProp!=null)var Wv=W0(M,k,"meta");else A$&&M.push("<!-- -->"),Wv=NX?null:typeof k.charSet==="string"?W0(s.charsetChunks,k,"meta"):k.name==="viewport"?W0(s.viewportChunks,k,"meta"):W0(s.hoistableChunks,k,"meta");return Wv;case"listing":case"pre":M.push(Z0(P));var KU=null,J6=null,d6;for(d6 in k)if(nj.call(k,d6)){var Kv=k[d6];if(Kv!=null)switch(d6){case"children":KU=Kv;break;case"dangerouslySetInnerHTML":J6=Kv;break;default:b(M,d6,Kv)}}if(M.push(H2),J6!=null){if(KU!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof J6!=="object"||!("__html"in J6))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var pj=J6.__html;pj!==null&&pj!==void 0&&(typeof pj==="string"&&0<pj.length&&pj[0]===`
|
|
252
|
+
`?M.push(vv,pj):(x(pj),M.push(""+pj)))}return typeof KU==="string"&&KU[0]===`
|
|
253
|
+
`&&M.push(vv),KU;case"img":var d2=c0.tagScope&3,Aj=k.src,rj=k.srcSet;if(!(k.loading==="lazy"||!Aj&&!rj||typeof Aj!=="string"&&Aj!=null||typeof rj!=="string"&&rj!=null||k.fetchPriority==="low"||d2)&&(typeof Aj!=="string"||Aj[4]!==":"||Aj[0]!=="d"&&Aj[0]!=="D"||Aj[1]!=="a"&&Aj[1]!=="A"||Aj[2]!=="t"&&Aj[2]!=="T"||Aj[3]!=="a"&&Aj[3]!=="A")&&(typeof rj!=="string"||rj[4]!==":"||rj[0]!=="d"&&rj[0]!=="D"||rj[1]!=="a"&&rj[1]!=="A"||rj[2]!=="t"&&rj[2]!=="T"||rj[3]!=="a"&&rj[3]!=="A")){q0!==null&&c0.tagScope&64&&(q0.suspenseyImages=!0);var n6=typeof k.sizes==="string"?k.sizes:void 0,z1=rj?rj+`
|
|
254
|
+
`+(n6||""):Aj,yj=s.preloads.images,i6=yj.get(z1);if(i6){if(k.fetchPriority==="high"||10>s.highImagePreloads.size)yj.delete(z1),s.highImagePreloads.add(i6)}else if(!d.imageResources.hasOwnProperty(z1)){d.imageResources[z1]=_U;var n2=k.crossOrigin,kI=typeof n2==="string"?n2==="use-credentials"?n2:"":void 0,T1=s.headers,B1;T1&&0<T1.remainingCapacity&&typeof k.srcSet!=="string"&&(k.fetchPriority==="high"||500>T1.highImagePreloads.length)&&(B1=P$(Aj,"image",{imageSrcSet:k.srcSet,imageSizes:k.sizes,crossOrigin:kI,integrity:k.integrity,nonce:k.nonce,type:k.type,fetchPriority:k.fetchPriority,referrerPolicy:k.refererPolicy}),0<=(T1.remainingCapacity-=B1.length+2))?(s.resets.image[z1]=_U,T1.highImagePreloads&&(T1.highImagePreloads+=", "),T1.highImagePreloads+=B1):(i6=[],A0(i6,{rel:"preload",as:"image",href:rj?void 0:Aj,imageSrcSet:rj,imageSizes:n6,crossOrigin:kI,integrity:k.integrity,type:k.type,fetchPriority:k.fetchPriority,referrerPolicy:k.referrerPolicy}),k.fetchPriority==="high"||10>s.highImagePreloads.size?s.highImagePreloads.add(i6):(s.bulkPreloads.add(i6),yj.set(z1,i6)))}}return W0(M,k,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return W0(M,k,P);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":break;case"head":if(c0.insertionMode<ZU){var Ov=G0||s.preamble;if(Ov.headChunks)throw Error("The `<head>` tag may only be rendered once.");G0!==null&&M.push("<!--head-->"),Ov.headChunks=[];var O4=L0(Ov.headChunks,k,"head")}else O4=k0(M,k,"head");return O4;case"body":if(c0.insertionMode<ZU){var SX=G0||s.preamble;if(SX.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");G0!==null&&M.push("<!--body-->"),SX.bodyChunks=[];var wX=L0(SX.bodyChunks,k,"body")}else wX=k0(M,k,"body");return wX;case"html":if(c0.insertionMode===Uv){var iv=G0||s.preamble;if(iv.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");G0!==null&&M.push("<!--html-->"),iv.htmlChunks=[qz];var Vv=L0(iv.htmlChunks,k,"html")}else Vv=k0(M,k,"html");return Vv;default:if(P.indexOf("-")!==-1){M.push(Z0(P));var g1=null,W1=null,q6;for(q6 in k)if(nj.call(k,q6)){var I4=k[q6];if(I4!=null){var K1=q6;switch(q6){case"children":g1=I4;break;case"dangerouslySetInnerHTML":W1=I4;break;case"style":W(M,I4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":K1="class";default:if(u(q6)&&typeof I4!=="function"&&typeof I4!=="symbol"&&I4!==!1){if(I4===!0)I4="";else if(typeof I4==="object")continue;M.push(c4,K1,q4,Y0(I4),LU)}}}}return M.push(H2),y(M,W1,g1),g1}}return k0(M,k,P)}function U0(M){var P=v1.get(M);return P===void 0&&(P="</"+M+">",v1.set(M,P)),P}function g0(M,P){M=M.preamble,M.htmlChunks===null&&P.htmlChunks&&(M.htmlChunks=P.htmlChunks),M.headChunks===null&&P.headChunks&&(M.headChunks=P.headChunks),M.bodyChunks===null&&P.bodyChunks&&(M.bodyChunks=P.bodyChunks)}function M0(M,P){P=P.bootstrapChunks;for(var k=0;k<P.length-1;k++)M.push(P[k]);return k<P.length?(k=P[k],P.length=0,M.push(k)):!0}function R0(M,P,k){if(M.push(Xv),k===null)throw Error("An ID must have been assigned before we can complete the boundary.");return M.push(P.boundaryPrefix),P=k.toString(16),M.push(P),M.push($6)}function o0(M,P,k,d){switch(k.insertionMode){case Uv:case Y4:case k6:case ZU:return M.push(xv),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(a2);case G4:return M.push(yv),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(F6);case c6:return M.push(Fj),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(N$);case C2:return M.push(HQ),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(e2);case JJ:return M.push(OJ),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(_Q);case GQ:return M.push(Gz),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(rG);case U1:return M.push(tG),M.push(P.segmentPrefix),P=d.toString(16),M.push(P),M.push(U6);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function O0(M,P){switch(P.insertionMode){case Uv:case Y4:case k6:case ZU:return M.push(KJ);case G4:return M.push(FQ);case c6:return M.push(VX);case C2:return M.push(_Y);case JJ:return M.push(MQ);case GQ:return M.push(oG);case U1:return M.push(Y2);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function P0(M){return JSON.stringify(M).replace(eG,function(P){switch(P){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function q$(M){return JSON.stringify(M).replace(Vz,function(P){switch(P){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function w0(M){var{rules:P,hrefs:k}=M;0<P.length&&k.length===0&&console.error("React expected to have at least one href for an a hoistable style but found none. This is a bug in React.");var d=0;if(k.length){this.push(XJ.startInlineStyle),this.push(Dz),this.push(M.precedence);for(this.push(Fz);d<k.length-1;d++)this.push(k[d]),this.push(FX);this.push(k[d]),this.push(OW);for(d=0;d<P.length;d++)this.push(P[d]);qY=this.push(Hz),AQ=!0,P.length=0,k.length=0}}function n0(M){return M.state!==$Z?AQ=!0:!1}function i$(M,P,k){return AQ=!1,qY=!0,XJ=k,P.styles.forEach(w0,M),XJ=null,P.stylesheets.forEach(n0),AQ&&(k.stylesToHoist=!0),qY}function s0(M){for(var P=0;P<M.length;P++)this.push(M[P]);M.length=0}function Z$(M){A0(Jv,M.props);for(var P=0;P<Jv.length;P++)this.push(Jv[P]);Jv.length=0,M.state=$Z}function Lj(M){var P=0<M.sheets.size;M.sheets.forEach(Z$,this),M.sheets.clear();var{rules:k,hrefs:d}=M;if(!P||d.length){if(this.push(XJ.startInlineStyle),this.push(_z),this.push(M.precedence),M=0,d.length){for(this.push(Mz);M<d.length-1;M++)this.push(d[M]),this.push(FX);this.push(d[M])}this.push(PY);for(M=0;M<k.length;M++)this.push(k[M]);this.push(Lz),k.length=0,d.length=0}}function J$(M){if(M.state===x4){M.state=HJ;var P=M.props;A0(Jv,{rel:"preload",as:"style",href:M.props.href,crossOrigin:P.crossOrigin,fetchPriority:P.fetchPriority,integrity:P.integrity,media:P.media,hrefLang:P.hrefLang,referrerPolicy:P.referrerPolicy});for(M=0;M<Jv.length;M++)this.push(Jv[M]);Jv.length=0}}function Y$(M){M.sheets.forEach(J$,this),M.sheets.clear()}function dj(M,P){(P.instructions&WX)===e4&&(P.instructions|=WX,M.push(Az,Y0("_"+P.idPrefix+"R_"),LU))}function M$(M,P){M.push(qQ);var k=qQ;P.stylesheets.forEach(function(d){if(d.state!==$Z)if(d.state===CY)M.push(k),d=d.props.href,T(d,"href"),d=q$(""+d),M.push(d),M.push(fv),k=HX;else{M.push(k);var s=d.props["data-precedence"],G0=d.props,q0=C0(""+d.props.href);q0=q$(q0),M.push(q0),T(s,"precedence"),s=""+s,M.push(PQ),s=q$(s),M.push(s);for(var c0 in G0)if(nj.call(G0,c0)&&(s=G0[c0],s!=null))switch(c0){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:F$(M,c0,s)}M.push(fv),k=HX,d.state=CY}}),M.push(fv)}function F$(M,P,k){var d=P.toLowerCase();switch(typeof k){case"function":case"symbol":return}switch(P){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":d="class",T(k,d),P=""+k;break;case"hidden":if(k===!1)return;P="";break;case"src":case"href":k=C0(k),T(k,d),P=""+k;break;default:if(2<P.length&&(P[0]==="o"||P[0]==="O")&&(P[1]==="n"||P[1]==="N")||!u(P))return;T(k,d),P=""+k}M.push(PQ),d=q$(d),M.push(d),M.push(PQ),d=q$(P),M.push(d)}function J2(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function e(M,P,k,d){(M.scriptResources.hasOwnProperty(k)||M.moduleScriptResources.hasOwnProperty(k))&&console.error('Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',k),M.scriptResources[k]=HU,M.moduleScriptResources[k]=HU,M=[],A0(M,d),P.bootstrapScripts.add(M)}function V0(M,P){M.crossOrigin==null&&(M.crossOrigin=P[0]),M.integrity==null&&(M.integrity=P[1])}function P$(M,P,k){M=l0(M),P=n$(P,"as"),P="<"+M+'>; rel=preload; as="'+P+'"';for(var d in k)nj.call(k,d)&&(M=k[d],typeof M==="string"&&(P+="; "+d.toLowerCase()+'="'+n$(M,d)+'"'));return P}function l0(M){return T(M,"href"),(""+M).replace(RY,d0)}function d0(M){switch(M){case"<":return"%3C";case">":return"%3E";case`
|
|
255
|
+
`:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function n$(M,P){return g(M)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",P,B(M)),H(M)),(""+M).replace(jZ,a0)}function a0(M){switch(M){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
|
|
256
|
+
`:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function X$(M){this.styles.add(M)}function u$(M){this.stylesheets.add(M)}function z$(M,P){P.styles.forEach(X$,M),P.stylesheets.forEach(u$,M),P.suspenseyImages&&(M.suspenseyImages=!0)}function _$(M,P){var k=M.idPrefix,d=[],s=M.bootstrapScriptContent,G0=M.bootstrapScripts,q0=M.bootstrapModules;if(s!==void 0&&(d.push("<script"),dj(d,M),d.push(H2,S0(s),w6)),k={placeholderPrefix:k+"P:",segmentPrefix:k+"S:",boundaryPrefix:k+"B:",startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:d,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:void 0,style:void 0},hoistableState:null,stylesToHoist:!1},G0!==void 0)for(s=0;s<G0.length;s++){var c0=G0[s],A$,i0=void 0,$$=void 0,x$={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof c0==="string"?x$.href=A$=c0:(x$.href=A$=c0.src,x$.integrity=$$=typeof c0.integrity==="string"?c0.integrity:void 0,x$.crossOrigin=i0=typeof c0==="string"||c0.crossOrigin==null?void 0:c0.crossOrigin==="use-credentials"?"use-credentials":""),e(M,k,A$,x$),d.push('<script src="',Y0(A$),LU),typeof $$==="string"&&d.push(' integrity="',Y0($$),LU),typeof i0==="string"&&d.push(' crossorigin="',Y0(i0),LU),dj(d,M),d.push(' async=""></script>')}if(q0!==void 0)for(G0=0;G0<q0.length;G0++)s=q0[G0],i0=A$=void 0,$$={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof s==="string"?$$.href=c0=s:($$.href=c0=s.src,$$.integrity=i0=typeof s.integrity==="string"?s.integrity:void 0,$$.crossOrigin=A$=typeof s==="string"||s.crossOrigin==null?void 0:s.crossOrigin==="use-credentials"?"use-credentials":""),e(M,k,c0,$$),d.push('<script type="module" src="',Y0(c0),LU),typeof i0==="string"&&d.push(' integrity="',Y0(i0),LU),typeof A$==="string"&&d.push(' crossorigin="',Y0(A$),LU),dj(d,M),d.push(' async=""></script>');return{placeholderPrefix:k.placeholderPrefix,segmentPrefix:k.segmentPrefix,boundaryPrefix:k.boundaryPrefix,startInlineScript:k.startInlineScript,startInlineStyle:k.startInlineStyle,preamble:k.preamble,externalRuntimeScript:k.externalRuntimeScript,bootstrapChunks:k.bootstrapChunks,importMapChunks:k.importMapChunks,onHeaders:k.onHeaders,headers:k.headers,resets:k.resets,charsetChunks:k.charsetChunks,viewportChunks:k.viewportChunks,hoistableChunks:k.hoistableChunks,preconnects:k.preconnects,fontPreloads:k.fontPreloads,highImagePreloads:k.highImagePreloads,styles:k.styles,bootstrapScripts:k.bootstrapScripts,scripts:k.scripts,bulkPreloads:k.bulkPreloads,preloads:k.preloads,nonce:k.nonce,stylesToHoist:k.stylesToHoist,generateStaticMarkup:P}}function A2(M,P,k,d){if(k.generateStaticMarkup)return M.push(Y0(P)),!1;return P===""?M=d:(d&&M.push("<!-- -->"),M.push(Y0(P)),M=!0),M}function L$(M,P,k,d){P.generateStaticMarkup||k&&d&&M.push("<!-- -->")}function I0(M){if(M==null)return null;if(typeof M==="function")return M.$$typeof===EY?null:M.displayName||M.name||null;if(typeof M==="string")return M;switch(M){case s4:return"Fragment";case XX:return"Profiler";case XQ:return"StrictMode";case FI:return"Suspense";case HI:return"SuspenseList";case QX:return"Activity"}if(typeof M==="object")switch(typeof M.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case eX:return"Portal";case jJ:return M.displayName||"Context";case $J:return(M._context.displayName||"Context")+".Consumer";case JX:var P=M.render;return M=M.displayName,M||(M=P.displayName||P.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case K6:return P=M.displayName||null,P!==null?P:I0(M.type)||"Memo";case j1:P=M._payload,M=M._init;try{return I0(M(P))}catch(k){}}return null}function _0(M,P){if(M!==P){M.context._currentValue2=M.parentValue,M=M.parent;var k=P.parent;if(M===null){if(k!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(k===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");_0(M,k)}P.context._currentValue2=P.value}}function b0(M){M.context._currentValue2=M.parentValue,M=M.parent,M!==null&&b0(M)}function p0(M){var P=M.parent;P!==null&&p0(P),M.context._currentValue2=M.value}function c$(M,P){if(M.context._currentValue2=M.parentValue,M=M.parent,M===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");M.depth===P.depth?_0(M,P):c$(M,P)}function K$(M,P){var k=P.parent;if(k===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");M.depth===k.depth?_0(M,k):K$(M,k),P.context._currentValue2=P.value}function O$(M){var P=Qv;P!==M&&(P===null?p0(M):M===null?b0(P):P.depth===M.depth?_0(P,M):P.depth>M.depth?c$(P,M):K$(P,M),Qv=M)}function q2(M){if(M!==null&&typeof M!=="function"){var P=String(M);YZ.has(P)||(YZ.add(P),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",M))}}function E$(M,P){M=(M=M.constructor)&&I0(M)||"ReactClass";var k=M+"."+P;CQ[k]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
257
|
+
|
|
258
|
+
Please check the code for the %s component.`,P,M),CQ[k]=!0)}function D$(M,P,k){var d=M.id;M=M.overflow;var s=32-EQ(d)-1;d&=~(1<<s),k+=1;var G0=32-EQ(P)+s;if(30<G0){var q0=s-s%5;return G0=(d&(1<<q0)-1).toString(32),d>>=q0,s-=q0,{id:1<<32-EQ(P)+s|k<<s|d,overflow:G0+M}}return{id:1<<G0|k<<s|d,overflow:M}}function j2(M){return M>>>=0,M===0?32:31-(LX(M)/GZ|0)|0}function U$(){}function C$(M,P,k){switch(k=M[k],k===void 0?M.push(P):k!==P&&(P.then(U$,U$),P=k),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status==="string"?P.then(U$,U$):(M=P,M.status="pending",M.then(function(d){if(P.status==="pending"){var s=P;s.status="fulfilled",s.value=d}},function(d){if(P.status==="pending"){var s=P;s.status="rejected",s.reason=d}})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}throw NY=P,v6}}function W2(){if(NY===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var M=NY;return NY=null,M}function Jj(M,P){return M===P&&(M!==0||1/M===1/P)||M!==M&&P!==P}function e$(){if(y6===null)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:
|
|
259
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
260
|
+
2. You might be breaking the Rules of Hooks
|
|
261
|
+
3. You might have more than one copy of React in the same app
|
|
262
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return f6&&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"),y6}function tj(){if(0<uv)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Qj(){return R2===null?TQ===null?(AX=!1,TQ=R2=tj()):(AX=!0,R2=TQ):R2.next===null?(AX=!1,R2=R2.next=tj()):(AX=!0,R2=R2.next),R2}function K2(){var M=mv;return mv=null,M}function N2(){f6=!1,_J=X1=bv=y6=null,MJ=!1,TQ=null,uv=0,R2=A1=null}function O2(M){return f6&&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()."),M._currentValue2}function $U(M,P){return typeof P==="function"?P(M):P}function Tj(M,P,k){if(M!==$U&&(NI="useReducer"),y6=e$(),R2=Qj(),AX){if(k=R2.queue,P=k.dispatch,A1!==null){var d=A1.get(k);if(d!==void 0){A1.delete(k),k=R2.memoizedState;do{var s=d.action;f6=!0,k=M(k,s),f6=!1,d=d.next}while(d!==null);return R2.memoizedState=k,[k,P]}}return[R2.memoizedState,P]}return f6=!0,M=M===$U?typeof P==="function"?P():P:k!==void 0?k(P):P,f6=!1,R2.memoizedState=M,M=R2.queue={last:null,dispatch:null},M=M.dispatch=V2.bind(null,y6,M),[R2.memoizedState,M]}function uj(M,P){if(y6=e$(),R2=Qj(),P=P===void 0?null:P,R2!==null){var k=R2.memoizedState;if(k!==null&&P!==null){$:{var d=k[1];if(d===null)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.",NI),d=!1;else{P.length!==d.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
263
|
+
|
|
264
|
+
Previous: %s
|
|
265
|
+
Incoming: %s`,NI,"["+P.join(", ")+"]","["+d.join(", ")+"]");for(var s=0;s<d.length&&s<P.length;s++)if(!VW(P[s],d[s])){d=!1;break $}d=!0}}if(d)return k[0]}}return f6=!0,M=M(),f6=!1,R2.memoizedState=[M,P],M}function V2(M,P,k){if(25<=uv)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(M===y6)if(MJ=!0,M={action:k,next:null},A1===null&&(A1=new Map),k=A1.get(P),k===void 0)A1.set(P,M);else{for(P=k;P.next!==null;)P=P.next;P.next=M}}function S2(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function Q2(){throw Error("startTransition cannot be called during server rendering.")}function m2(){throw Error("Cannot update optimistic state while rendering.")}function w2(M,P,k){e$();var d=PX++,s=X1;if(typeof M.$$FORM_ACTION==="function"){var G0=null,q0=_J;s=s.formState;var c0=M.$$IS_SIGNATURE_EQUAL;if(s!==null&&typeof c0==="function"){var A$=s[1];c0.call(M,s[2],s[3])&&(G0=k!==void 0?"p"+k:"k"+S(JSON.stringify([q0,null,d]),0),A$===G0&&(J1=d,P=s[0]))}var i0=M.bind(null,P);return M=function(x$){i0(x$)},typeof i0.$$FORM_ACTION==="function"&&(M.$$FORM_ACTION=function(x$){x$=i0.$$FORM_ACTION(x$),k!==void 0&&(T(k,"target"),k+="",x$.action=k);var b$=x$.data;return b$&&(G0===null&&(G0=k!==void 0?"p"+k:"k"+S(JSON.stringify([q0,null,d]),0)),b$.append("$ACTION_KEY",G0)),x$}),[P,M,!1]}var $$=M.bind(null,P);return[P,function(x$){$$(x$)},!1]}function D2(M){var P=CX;return CX+=1,mv===null&&(mv=[]),C$(mv,M,P)}function F2(){throw Error("Cache cannot be refreshed during server rendering.")}function P2(){}function Pv(){if(y4===0){AJ=console.log,hv=console.info,wY=console.warn,RX=console.error,kY=console.group,qJ=console.groupCollapsed,cY=console.groupEnd;var M={configurable:!0,enumerable:!0,value:P2,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}y4++}function dX(){if(y4--,y4===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t2({},M,{value:AJ}),info:t2({},M,{value:hv}),warn:t2({},M,{value:wY}),error:t2({},M,{value:RX}),group:t2({},M,{value:kY}),groupCollapsed:t2({},M,{value:qJ}),groupEnd:t2({},M,{value:cY})})}0>y4&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function YI(M){var P=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,M=M.stack,Error.prepareStackTrace=P,M.startsWith(`Error: react-stack-top-frame
|
|
266
|
+
`)&&(M=M.slice(29)),P=M.indexOf(`
|
|
267
|
+
`),P!==-1&&(M=M.slice(P+1)),P=M.indexOf("react_stack_bottom_frame"),P!==-1&&(P=M.lastIndexOf(`
|
|
268
|
+
`,P)),P!==-1)M=M.slice(0,P);else return"";return M}function Cv(M){if(xY===void 0)try{throw Error()}catch(k){var P=k.stack.trim().match(/\n( *(at )?)/);xY=P&&P[1]||"",PJ=-1<k.stack.indexOf(`
|
|
269
|
+
at`)?" (<anonymous>)":-1<k.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
270
|
+
`+xY+M+PJ}function nX(M,P){if(!M||CJ)return"";var k=BQ.get(M);if(k!==void 0)return k;CJ=!0,k=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var d=null;d=s2.H,s2.H=null,Pv();try{var s={DetermineComponentFrameRoot:function(){try{if(P){var b$=function(){throw Error()};if(Object.defineProperty(b$.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(b$,[])}catch(R$){var f$=R$}Reflect.construct(M,[],b$)}else{try{b$.call()}catch(R$){f$=R$}M.call(b$.prototype)}}else{try{throw Error()}catch(R$){f$=R$}(b$=M())&&typeof b$.catch==="function"&&b$.catch(function(){})}}catch(R$){if(R$&&f$&&typeof R$.stack==="string")return[R$.stack,f$.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var G0=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");G0&&G0.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var q0=s.DetermineComponentFrameRoot(),c0=q0[0],A$=q0[1];if(c0&&A$){var i0=c0.split(`
|
|
271
|
+
`),$$=A$.split(`
|
|
272
|
+
`);for(q0=G0=0;G0<i0.length&&!i0[G0].includes("DetermineComponentFrameRoot");)G0++;for(;q0<$$.length&&!$$[q0].includes("DetermineComponentFrameRoot");)q0++;if(G0===i0.length||q0===$$.length)for(G0=i0.length-1,q0=$$.length-1;1<=G0&&0<=q0&&i0[G0]!==$$[q0];)q0--;for(;1<=G0&&0<=q0;G0--,q0--)if(i0[G0]!==$$[q0]){if(G0!==1||q0!==1)do if(G0--,q0--,0>q0||i0[G0]!==$$[q0]){var x$=`
|
|
273
|
+
`+i0[G0].replace(" at new "," at ");return M.displayName&&x$.includes("<anonymous>")&&(x$=x$.replace("<anonymous>",M.displayName)),typeof M==="function"&&BQ.set(M,x$),x$}while(1<=G0&&0<=q0);break}}}finally{CJ=!1,s2.H=d,dX(),Error.prepareStackTrace=k}return i0=(i0=M?M.displayName||M.name:"")?Cv(i0):"",typeof M==="function"&&BQ.set(M,i0),i0}function $Q(M){if(typeof M==="string")return Cv(M);if(typeof M==="function")return M.prototype&&M.prototype.isReactComponent?nX(M,!0):nX(M,!1);if(typeof M==="object"&&M!==null){switch(M.$$typeof){case JX:return nX(M.render,!1);case K6:return nX(M.type,!1);case j1:var P=M,k=P._payload;P=P._init;try{M=P(k)}catch(s){return Cv("Lazy")}return $Q(M)}if(typeof M.name==="string"){$:{if(k=M.name,P=M.env,M=M.debugLocation,M!=null){M=YI(M);var d=M.lastIndexOf(`
|
|
274
|
+
`);if(M=d===-1?M:M.slice(d+1),M.indexOf(k)!==-1){k=`
|
|
275
|
+
`+M;break $}}k=Cv(k+(P?" ["+P+"]":""))}return k}}switch(M){case HI:return Cv("SuspenseList");case FI:return Cv("Suspense")}return""}function sI(M,P){return(500<P.byteSize||!1)&&P.contentPreamble===null}function wG(M){if(typeof M==="object"&&M!==null&&typeof M.environmentName==="string"){var P=M.environmentName;M=[M].slice(0),typeof M[0]==="string"?M.splice(0,1,"[%s] "+M[0]," "+P+" "):M.splice(0,0,"[%s]"," "+P+" "),M.unshift(console),P=UZ.apply(console.error,M),P()}else console.error(M);return null}function kG(M,P,k,d,s,G0,q0,c0,A$,i0,$$){var x$=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=M,this.renderState=P,this.rootFormatContext=k,this.progressiveChunkSize=d===void 0?12800:d,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=x$,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=s===void 0?wG:s,this.onPostpone=i0===void 0?U$:i0,this.onAllReady=G0===void 0?U$:G0,this.onShellReady=q0===void 0?U$:q0,this.onShellError=c0===void 0?U$:c0,this.onFatalError=A$===void 0?U$:A$,this.formState=$$===void 0?null:$$,this.didWarnForKey=null}function KW(M,P,k,d,s,G0,q0,c0,A$,i0,$$,x$){var b$=TX();return 1000<b$-fY&&(s2.recentlyCreatedOwnerStacks=0,fY=b$),P=new kG(P,k,d,s,G0,q0,c0,A$,i0,$$,x$),k=W6(P,0,null,d,!1,!1),k.parentFlushed=!0,M=aI(P,null,M,-1,null,k,null,null,P.abortableTasks,null,d,null,Pz,null,null,L1,null),F1(M),P.pingedTasks.push(M),P}function JY(M,P){M.pingedTasks.push(P),M.pingedTasks.length===1&&(M.flushScheduled=M.destination!==null,KI(M))}function jQ(M,P,k,d,s){return k={status:b6,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:P,completedSegments:[],byteSize:0,fallbackAbortableTasks:k,errorDigest:null,contentState:J2(),fallbackState:J2(),contentPreamble:d,fallbackPreamble:s,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},P!==null&&(P.pendingTasks++,d=P.boundaries,d!==null&&(M.allPendingTasks++,k.pendingTasks++,d.push(k)),M=P.inheritedHoistables,M!==null&&z$(k.contentState,M)),k}function aI(M,P,k,d,s,G0,q0,c0,A$,i0,$$,x$,b$,f$,R$,Oj,E2){M.allPendingTasks++,s===null?M.pendingRootTasks++:s.pendingTasks++,f$!==null&&f$.pendingTasks++;var jj={replay:null,node:k,childIndex:d,ping:function(){return JY(M,jj)},blockedBoundary:s,blockedSegment:G0,blockedPreamble:q0,hoistableState:c0,abortSet:A$,keyPath:i0,formatContext:$$,context:x$,treeContext:b$,row:f$,componentStack:R$,thenableState:P};return jj.debugTask=E2,A$.add(jj),jj}function GI(M,P,k,d,s,G0,q0,c0,A$,i0,$$,x$,b$,f$,R$,Oj){M.allPendingTasks++,G0===null?M.pendingRootTasks++:G0.pendingTasks++,b$!==null&&b$.pendingTasks++,k.pendingTasks++;var E2={replay:k,node:d,childIndex:s,ping:function(){return JY(M,E2)},blockedBoundary:G0,blockedSegment:null,blockedPreamble:null,hoistableState:q0,abortSet:c0,keyPath:A$,formatContext:i0,context:$$,treeContext:x$,row:b$,componentStack:f$,thenableState:P};return E2.debugTask=Oj,c0.add(E2),E2}function W6(M,P,k,d,s,G0){return{status:b6,parentFlushed:!1,id:-1,index:P,chunks:[],children:[],preambleChildren:[],parentFormatContext:d,boundary:k,lastPushedText:s,textEmbedded:G0}}function iX(){if(H6===null||H6.componentStack===null)return"";var M=H6.componentStack;try{var P="";if(typeof M.type==="string")P+=Cv(M.type);else if(typeof M.type==="function"){if(!M.owner){var k=P,d=M.type,s=d?d.displayName||d.name:"",G0=s?Cv(s):"";P=k+G0}}else M.owner||(P+=$Q(M.type));for(;M;)k=null,M.debugStack!=null?k=YI(M.debugStack):(G0=M,G0.stack!=null&&(k=typeof G0.stack!=="string"?G0.stack=YI(G0.stack):G0.stack)),(M=M.owner)&&k&&(P+=`
|
|
276
|
+
`+k);var q0=P}catch(c0){q0=`
|
|
277
|
+
Error generating stack: `+c0.message+`
|
|
278
|
+
`+c0.stack}return q0}function QY(M,P){if(P!=null)for(var k=P.length-1;0<=k;k--){var d=P[k];if(typeof d.name==="string")break;if(typeof d.time==="number")break;if(d.awaited!=null){var s=d.debugStack==null?d.awaited:d;if(s.debugStack!==void 0){M.componentStack={parent:M.componentStack,type:d,owner:s.owner,stack:s.debugStack},M.debugTask=s.debugTask;break}}}}function r1(M,P){if(P!=null)for(var k=0;k<P.length;k++){var d=P[k];typeof d.name==="string"&&d.debugStack!==void 0&&(M.componentStack={parent:M.componentStack,type:d,owner:d.owner,stack:d.debugStack},M.debugTask=d.debugTask)}}function F1(M){var P=M.node;if(typeof P==="object"&&P!==null)switch(P.$$typeof){case Bv:var{type:k,_owner:d,_debugStack:s}=P;r1(M,P._debugInfo),M.debugTask=P._debugTask,M.componentStack={parent:M.componentStack,type:k,owner:d,stack:s};break;case j1:r1(M,P._debugInfo);break;default:typeof P.then==="function"&&r1(M,P._debugInfo)}}function cG(M){return M===null?null:{parent:M.parent,type:"Suspense Fallback",owner:M.owner,stack:M.stack}}function Rv(M){var P={};return M&&Object.defineProperty(P,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var k="",d=M;do k+=$Q(d.type),d=d.parent;while(d);var s=k}catch(G0){s=`
|
|
279
|
+
Error generating stack: `+G0.message+`
|
|
280
|
+
`+G0.stack}return Object.defineProperty(P,"componentStack",{value:s}),s}}),P}function eI(M,P,k,d,s){M.errorDigest=P,k instanceof Error?(P=String(k.message),k=String(k.stack)):(P=typeof k==="object"&&k!==null?L(k):String(k),k=null),s=s?`Switched to client rendering because the server rendering aborted due to:
|
|
281
|
+
|
|
282
|
+
`:`Switched to client rendering because the server rendering errored:
|
|
283
|
+
|
|
284
|
+
`,M.errorMessage=s+P,M.errorStack=k!==null?s+k:null,M.errorComponentStack=d.componentStack}function S4(M,P,k,d){if(M=M.onError,P=d?d.run(M.bind(null,P,k)):M(P,k),P!=null&&typeof P!=="string")console.error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead',typeof P);else return P}function o1(M,P,k,d){k=M.onShellError;var s=M.onFatalError;d?(d.run(k.bind(null,P)),d.run(s.bind(null,P))):(k(P),s(P)),M.destination!==null?(M.status=q1,M.destination.destroy(P)):(M.status=13,M.fatalError=P)}function jU(M,P){rX(M,P.next,P.hoistables)}function rX(M,P,k){for(;P!==null;){k!==null&&(z$(P.hoistables,k),P.inheritedHoistables=k);var d=P.boundaries;if(d!==null){P.boundaries=null;for(var s=0;s<d.length;s++){var G0=d[s];k!==null&&z$(G0.contentState,k),H1(M,G0,null,null)}}if(P.pendingTasks--,0<P.pendingTasks)break;k=P.hoistables,P=P.next}}function ZI(M,P){var k=P.boundaries;if(k!==null&&P.pendingTasks===k.length){for(var d=!0,s=0;s<k.length;s++){var G0=k[s];if(G0.pendingTasks!==1||G0.parentFlushed||sI(M,G0)){d=!1;break}}d&&rX(M,P,P.hoistables)}}function t1(M){var P={pendingTasks:1,boundaries:null,hoistables:J2(),inheritedHoistables:null,together:!1,next:null};return M!==null&&0<M.pendingTasks&&(P.pendingTasks++,P.boundaries=[],M.next=P),P}function zI(M,P,k,d,s){var{keyPath:G0,treeContext:q0,row:c0,componentStack:A$,debugTask:i0}=P;r1(P,P.node.props.children._debugInfo),P.keyPath=k,k=d.length;var $$=null;if(P.replay!==null){var x$=P.replay.slots;if(x$!==null&&typeof x$==="object")for(var b$=0;b$<k;b$++){var f$=s!=="backwards"&&s!=="unstable_legacy-backwards"?b$:k-1-b$,R$=d[f$];P.row=$$=t1($$),P.treeContext=D$(q0,k,f$);var Oj=x$[f$];typeof Oj==="number"?(Ev(M,P,Oj,R$,f$),delete x$[f$]):FU(M,P,R$,f$),--$$.pendingTasks===0&&jU(M,$$)}else for(x$=0;x$<k;x$++)b$=s!=="backwards"&&s!=="unstable_legacy-backwards"?x$:k-1-x$,f$=d[b$],mU(M,P,f$),P.row=$$=t1($$),P.treeContext=D$(q0,k,b$),FU(M,P,f$,b$),--$$.pendingTasks===0&&jU(M,$$)}else if(s!=="backwards"&&s!=="unstable_legacy-backwards")for(s=0;s<k;s++)x$=d[s],mU(M,P,x$),P.row=$$=t1($$),P.treeContext=D$(q0,k,s),FU(M,P,x$,s),--$$.pendingTasks===0&&jU(M,$$);else{s=P.blockedSegment,x$=s.children.length,b$=s.chunks.length;for(f$=k-1;0<=f$;f$--){R$=d[f$],P.row=$$=t1($$),P.treeContext=D$(q0,k,f$),Oj=W6(M,b$,null,P.formatContext,f$===0?s.lastPushedText:!0,!0),s.children.splice(x$,0,Oj),P.blockedSegment=Oj,mU(M,P,R$);try{FU(M,P,R$,f$),L$(Oj.chunks,M.renderState,Oj.lastPushedText,Oj.textEmbedded),Oj.status=c2,--$$.pendingTasks===0&&jU(M,$$)}catch(E2){throw Oj.status=M.status===12?Q1:sj,E2}}P.blockedSegment=s,s.lastPushedText=!1}c0!==null&&$$!==null&&0<$$.pendingTasks&&(c0.pendingTasks++,$$.next=c0),P.treeContext=q0,P.row=c0,P.keyPath=G0,P.componentStack=A$,P.debugTask=i0}function s1(M,P,k,d,s,G0){var q0=P.thenableState;P.thenableState=null,y6={},bv=P,X1=M,_J=k,f6=!1,PX=qX=0,J1=-1,CX=0,mv=q0;for(M=ZZ(d,s,G0);MJ;)MJ=!1,PX=qX=0,J1=-1,CX=0,uv+=1,R2=null,M=d(s,G0);return N2(),M}function oX(M,P,k,d,s,G0,q0){var c0=!1;if(G0!==0&&M.formState!==null){var A$=P.blockedSegment;if(A$!==null){c0=!0,A$=A$.chunks;for(var i0=0;i0<G0;i0++)i0===q0?A$.push("<!--F!-->"):A$.push("<!--F-->")}}G0=P.keyPath,P.keyPath=k,s?(k=P.treeContext,P.treeContext=D$(k,1,0),FU(M,P,d,-1),P.treeContext=k):c0?FU(M,P,d,-1):wU(M,P,d,-1),P.keyPath=G0}function WI(M,P,k,d,s,G0){if(typeof d==="function")if(d.prototype&&d.prototype.isReactComponent){var q0=s;if("ref"in s){q0={};for(var c0 in s)c0!=="ref"&&(q0[c0]=s[c0])}var A$=d.defaultProps;if(A$){q0===s&&(q0=t2({},q0,s));for(var i0 in A$)q0[i0]===void 0&&(q0[i0]=A$[i0])}var $$=q0,x$=L1,b$=d.contextType;if("contextType"in d&&b$!==null&&(b$===void 0||b$.$$typeof!==jJ)&&!QZ.has(d)){QZ.add(d);var f$=b$===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 b$!=="object"?" However, it is set to a "+typeof b$+".":b$.$$typeof===$J?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(b$).join(", ")+"}.";console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",I0(d)||"Component",f$)}typeof b$==="object"&&b$!==null&&(x$=b$._currentValue2);var R$=new d($$,x$);if(typeof d.getDerivedStateFromProps==="function"&&(R$.state===null||R$.state===void 0)){var Oj=I0(d)||"Component";vZ.has(Oj)||(vZ.add(Oj),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.",Oj,R$.state===null?"null":"undefined",Oj))}if(typeof d.getDerivedStateFromProps==="function"||typeof R$.getSnapshotBeforeUpdate==="function"){var E2=null,jj=null,Nj=null;if(typeof R$.componentWillMount==="function"&&R$.componentWillMount.__suppressDeprecationWarning!==!0?E2="componentWillMount":typeof R$.UNSAFE_componentWillMount==="function"&&(E2="UNSAFE_componentWillMount"),typeof R$.componentWillReceiveProps==="function"&&R$.componentWillReceiveProps.__suppressDeprecationWarning!==!0?jj="componentWillReceiveProps":typeof R$.UNSAFE_componentWillReceiveProps==="function"&&(jj="UNSAFE_componentWillReceiveProps"),typeof R$.componentWillUpdate==="function"&&R$.componentWillUpdate.__suppressDeprecationWarning!==!0?Nj="componentWillUpdate":typeof R$.UNSAFE_componentWillUpdate==="function"&&(Nj="UNSAFE_componentWillUpdate"),E2!==null||jj!==null||Nj!==null){var Z4=I0(d)||"Component",R4=typeof d.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";BY.has(Z4)||(BY.add(Z4),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
285
|
+
|
|
286
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
287
|
+
|
|
288
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
289
|
+
https://react.dev/link/unsafe-component-lifecycles`,Z4,R4,E2!==null?`
|
|
290
|
+
`+E2:"",jj!==null?`
|
|
291
|
+
`+jj:"",Nj!==null?`
|
|
292
|
+
`+Nj:""))}}var Sj=I0(d)||"Component";R$.render||(d.prototype&&typeof d.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",Sj):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",Sj)),!R$.getInitialState||R$.getInitialState.isReactClassApproved||R$.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",Sj),R$.getDefaultProps&&!R$.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",Sj),R$.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",Sj),d.childContextTypes&&!gY.has(d)&&(gY.add(d),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",Sj)),d.contextTypes&&!JZ.has(d)&&(JZ.add(d),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",Sj)),typeof R$.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",Sj),d.prototype&&d.prototype.isPureReactComponent&&typeof R$.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",I0(d)||"A pure component"),typeof R$.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",Sj),typeof R$.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",Sj),typeof R$.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",Sj),typeof R$.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",Sj);var PU=R$.props!==$$;R$.props!==void 0&&PU&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",Sj),R$.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",Sj,Sj),typeof R$.getSnapshotBeforeUpdate!=="function"||typeof R$.componentDidUpdate==="function"||IZ.has(d)||(IZ.add(d),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",I0(d))),typeof R$.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Sj),typeof R$.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Sj),typeof d.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",Sj);var m6=R$.state;m6&&(typeof m6!=="object"||M1(m6))&&console.error("%s.state: must be set to an object or null",Sj),typeof R$.getChildContext==="function"&&typeof d.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",Sj);var I6=R$.state!==void 0?R$.state:null;R$.updater=MX,R$.props=$$,R$.state=I6;var d$={queue:[],replace:!1};R$._reactInternals=d$;var G2=d.contextType;if(R$.context=typeof G2==="object"&&G2!==null?G2._currentValue2:L1,R$.state===$$){var v2=I0(d)||"Component";XZ.has(v2)||(XZ.add(v2),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.",v2))}var x2=d.getDerivedStateFromProps;if(typeof x2==="function"){var T2=x2($$,I6);if(T2===void 0){var u2=I0(d)||"Component";RQ.has(u2)||(RQ.add(u2),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",u2))}var Vj=T2===null||T2===void 0?I6:t2({},I6,T2);R$.state=Vj}if(typeof d.getDerivedStateFromProps!=="function"&&typeof R$.getSnapshotBeforeUpdate!=="function"&&(typeof R$.UNSAFE_componentWillMount==="function"||typeof R$.componentWillMount==="function")){var aU=R$.state;if(typeof R$.componentWillMount==="function"){if(R$.componentWillMount.__suppressDeprecationWarning!==!0){var Hj=I0(d)||"Unknown";TY[Hj]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
293
|
+
|
|
294
|
+
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
295
|
+
|
|
296
|
+
Please update the following components: %s`,Hj),TY[Hj]=!0)}R$.componentWillMount()}if(typeof R$.UNSAFE_componentWillMount==="function"&&R$.UNSAFE_componentWillMount(),aU!==R$.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",I0(d)||"Component"),MX.enqueueReplaceState(R$,R$.state,null)),d$.queue!==null&&0<d$.queue.length){var{queue:eU,replace:aj}=d$;if(d$.queue=null,d$.replace=!1,aj&&eU.length===1)R$.state=eU[0];else{for(var b4=aj?eU[0]:R$.state,_6=!0,Y1=aj?1:0;Y1<eU.length;Y1++){var lU=eU[Y1],u6=typeof lU==="function"?lU.call(R$,b4,$$,void 0):lU;u6!=null&&(_6?(_6=!1,b4=t2({},b4,u6)):t2(b4,u6))}R$.state=b4}}else d$.queue=null}var M6=NQ(R$);if(M.status===12)throw null;R$.props!==$$&&(lv||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",I0(d)||"a component"),lv=!0);var _2=P.keyPath;P.keyPath=k,wU(M,P,M6,-1),P.keyPath=_2}else{if(d.prototype&&typeof d.prototype.render==="function"){var F=I0(d)||"Unknown";pv[F]||(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.",F,F),pv[F]=!0)}var _=s1(M,P,k,d,s,void 0);if(M.status===12)throw null;var w=qX!==0,p=PX,t=J1;if(d.contextTypes){var v0=I0(d)||"Unknown";Yv[v0]||(Yv[v0]=!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)",v0))}if(d&&d.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
297
|
+
%s.childContextTypes = ...`,d.displayName||d.name||"Component"),typeof d.getDerivedStateFromProps==="function"){var F0=I0(d)||"Unknown";BX[F0]||(console.error("%s: Function components do not support getDerivedStateFromProps.",F0),BX[F0]=!0)}if(typeof d.contextType==="object"&&d.contextType!==null){var E0=I0(d)||"Unknown";U2[E0]||(console.error("%s: Function components do not support contextType.",E0),U2[E0]=!0)}oX(M,P,k,_,w,p,t)}else if(typeof d==="string"){var j$=P.blockedSegment;if(j$===null){var f0=s.children,t0=P.formatContext,T$=P.keyPath;P.formatContext=x0(t0,d,s),P.keyPath=k,FU(M,P,f0,-1),P.formatContext=t0,P.keyPath=T$}else{var g$=r(j$.chunks,d,s,M.resumableState,M.renderState,P.blockedPreamble,P.hoistableState,P.formatContext,j$.lastPushedText);j$.lastPushedText=!1;var{formatContext:B$,keyPath:W$}=P;if(P.keyPath=k,(P.formatContext=x0(B$,d,s)).insertionMode===k6){var a$=W6(M,0,null,P.formatContext,!1,!1);j$.preambleChildren.push(a$),P.blockedSegment=a$;try{a$.status=6,FU(M,P,g$,-1),L$(a$.chunks,M.renderState,a$.lastPushedText,a$.textEmbedded),a$.status=c2}finally{P.blockedSegment=j$}}else FU(M,P,g$,-1);P.formatContext=B$,P.keyPath=W$;$:{var s$=j$.chunks,t$=M.resumableState;switch(d){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break $;case"body":if(B$.insertionMode<=Y4){t$.hasBody=!0;break $}break;case"html":if(B$.insertionMode===Uv){t$.hasHtml=!0;break $}break;case"head":if(B$.insertionMode<=Y4)break $}s$.push(U0(d))}j$.lastPushedText=!1}}else{switch(d){case A4:case XQ:case XX:case s4:var Yj=P.keyPath;P.keyPath=k,wU(M,P,s.children,-1),P.keyPath=Yj;return;case QX:var B2=P.blockedSegment;if(B2===null){if(s.mode!=="hidden"){var ij=P.keyPath;P.keyPath=k,FU(M,P,s.children,-1),P.keyPath=ij}}else if(s.mode!=="hidden"){M.renderState.generateStaticMarkup||B2.chunks.push("<!--&-->"),B2.lastPushedText=!1;var zj=P.keyPath;P.keyPath=k,FU(M,P,s.children,-1),P.keyPath=zj,M.renderState.generateStaticMarkup||B2.chunks.push("<!--/&-->"),B2.lastPushedText=!1}return;case HI:$:{var{children:r$,revealOrder:ej}=s;if(ej==="forwards"||ej==="backwards"||ej==="unstable_legacy-backwards"){if(M1(r$)){zI(M,P,k,r$,ej);break $}var h2=J(r$);if(h2){var xj=h2.call(r$);if(xj){YY(P,r$,-1,xj,h2);var $2=xj.next();if(!$2.done){var dU=[];do dU.push($2.value),$2=xj.next();while(!$2.done);zI(M,P,k,r$,ej)}break $}}}if(ej==="together"){var{keyPath:WU,row:y2}=P,hj=P.row=t1(null);hj.boundaries=[],hj.together=!0,P.keyPath=k,wU(M,P,r$,-1),--hj.pendingTasks===0&&jU(M,hj),P.keyPath=WU,P.row=y2,y2!==null&&0<hj.pendingTasks&&(y2.pendingTasks++,hj.next=y2)}else{var f2=P.keyPath;P.keyPath=k,wU(M,P,r$,-1),P.keyPath=f2}}return;case YX:case a4:throw Error("ReactDOMServer does not yet support scope components.");case FI:$:if(P.replay!==null){var{keyPath:nU,formatContext:z4,row:vU}=P;P.keyPath=k,P.formatContext=D(M.resumableState,z4),P.row=null;var I2=s.children;try{FU(M,P,I2,-1)}finally{P.keyPath=nU,P.formatContext=z4,P.row=vU}}else{var{keyPath:CU,formatContext:$4,row:p2,blockedBoundary:E4,blockedPreamble:iU,hoistableState:g2,blockedSegment:W4}=P,IU=s.fallback,dv=s.children,X6=new Set,M2=jQ(M,P.row,X6,null,null);M.trackedPostpones!==null&&(M2.trackedContentKeyPath=k);var xU=W6(M,W4.chunks.length,M2,P.formatContext,!1,!1);W4.children.push(xU),W4.lastPushedText=!1;var RU=W6(M,0,null,P.formatContext,!1,!1);if(RU.parentFlushed=!0,M.trackedPostpones!==null){var P1=P.componentStack,_j=[k[0],"Suspense Fallback",k[2]],K4=[_j[1],_j[2],[],null];M.trackedPostpones.workingMap.set(_j,K4),M2.trackedFallbackNode=K4,P.blockedSegment=xU,P.blockedPreamble=M2.fallbackPreamble,P.keyPath=_j,P.formatContext=K(M.resumableState,$4),P.componentStack=cG(P1),xU.status=6;try{FU(M,P,IU,-1),L$(xU.chunks,M.renderState,xU.lastPushedText,xU.textEmbedded),xU.status=c2}catch(nv){throw xU.status=M.status===12?Q1:sj,nv}finally{P.blockedSegment=W4,P.blockedPreamble=iU,P.keyPath=CU,P.formatContext=$4}var C1=aI(M,null,dv,-1,M2,RU,M2.contentPreamble,M2.contentState,P.abortSet,k,D(M.resumableState,P.formatContext),P.context,P.treeContext,null,P1,L1,P.debugTask);F1(C1),M.pingedTasks.push(C1)}else{P.blockedBoundary=M2,P.blockedPreamble=M2.contentPreamble,P.hoistableState=M2.contentState,P.blockedSegment=RU,P.keyPath=k,P.formatContext=D(M.resumableState,$4),P.row=null,RU.status=6;try{if(FU(M,P,dv,-1),L$(RU.chunks,M.renderState,RU.lastPushedText,RU.textEmbedded),RU.status=c2,vX(M2,RU),M2.pendingTasks===0&&M2.status===b6){if(M2.status=c2,!sI(M,M2)){p2!==null&&--p2.pendingTasks===0&&jU(M,p2),M.pendingRootTasks===0&&P.blockedPreamble&&OI(M);break $}}else p2!==null&&p2.together&&ZI(M,p2)}catch(nv){if(M2.status=zU,M.status===12){RU.status=Q1;var rU=M.fatalError}else RU.status=sj,rU=nv;var Zv=Rv(P.componentStack),SI=S4(M,rU,Zv,P.debugTask);eI(M2,SI,rU,Zv,!1),UQ(M,M2)}finally{P.blockedBoundary=E4,P.blockedPreamble=iU,P.hoistableState=g2,P.blockedSegment=W4,P.keyPath=CU,P.formatContext=$4,P.row=p2}var j4=aI(M,null,IU,-1,E4,xU,M2.fallbackPreamble,M2.fallbackState,X6,[k[0],"Suspense Fallback",k[2]],K(M.resumableState,P.formatContext),P.context,P.treeContext,P.row,cG(P.componentStack),L1,P.debugTask);F1(j4),M.pingedTasks.push(j4)}}return}if(typeof d==="object"&&d!==null)switch(d.$$typeof){case JX:if("ref"in s){var R1={};for(var EU in s)EU!=="ref"&&(R1[EU]=s[EU])}else R1=s;var G1=s1(M,P,k,d.render,R1,G0);oX(M,P,k,G1,qX!==0,PX,J1);return;case K6:WI(M,P,k,d.type,s,G0);return;case jJ:var{value:m4,children:h6}=s,T4=P.context,l2=P.keyPath,U4=d._currentValue2;d._currentValue2=m4,d._currentRenderer2!==void 0&&d._currentRenderer2!==null&&d._currentRenderer2!==_X&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),d._currentRenderer2=_X;var v4=Qv,XU={parent:v4,depth:v4===null?0:v4.depth+1,context:d,parentValue:U4,value:m4};Qv=XU,P.context=XU,P.keyPath=k,wU(M,P,h6,-1);var L6=Qv;if(L6===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");L6.context!==d&&console.error("The parent context is not the expected context. This is probably a bug in React."),L6.context._currentValue2=L6.parentValue,d._currentRenderer2!==void 0&&d._currentRenderer2!==null&&d._currentRenderer2!==_X&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),d._currentRenderer2=_X;var u4=Qv=L6.parent;P.context=u4,P.keyPath=l2,T4!==P.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case $J:var p6=d._context,h4=s.children;typeof h4!=="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.");var wI=h4(p6._currentValue2),TU=P.keyPath;P.keyPath=k,wU(M,P,wI,-1),P.keyPath=TU;return;case j1:var B4=zZ(d);if(M.status===12)throw null;WI(M,P,k,B4,s,G0);return}var E1="";if(d===void 0||typeof d==="object"&&d!==null&&Object.keys(d).length===0)E1+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((d==null?d:typeof d)+"."+E1))}}function Ev(M,P,k,d,s){var{replay:G0,blockedBoundary:q0}=P,c0=W6(M,0,null,P.formatContext,!1,!1);c0.id=k,c0.parentFlushed=!0;try{P.replay=null,P.blockedSegment=c0,FU(M,P,d,s),c0.status=c2,q0===null?M.completedRootSegment=c0:(vX(q0,c0),q0.parentFlushed&&M.partialBoundaries.push(q0))}finally{P.replay=G0,P.blockedSegment=null}}function SU(M,P,k,d,s,G0,q0,c0,A$,i0){G0=i0.nodes;for(var $$=0;$$<G0.length;$$++){var x$=G0[$$];if(s===x$[1]){if(x$.length===4){if(d!==null&&d!==x$[0])throw Error("Expected the resume to render <"+x$[0]+"> in this slot but instead it rendered <"+d+">. The tree doesn't match so React will fallback to client rendering.");var b$=x$[2];d=x$[3],s=P.node,P.replay={nodes:b$,slots:d,pendingTasks:1};try{if(WI(M,P,k,q0,c0,A$),P.replay.pendingTasks===1&&0<P.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");P.replay.pendingTasks--}catch(PU){if(typeof PU==="object"&&PU!==null&&(PU===v6||typeof PU.then==="function"))throw P.node===s?P.replay=i0:G0.splice($$,1),PU;P.replay.pendingTasks--,q0=Rv(P.componentStack),c0=M,M=P.blockedBoundary,k=PU,A$=d,d=S4(c0,k,q0,P.debugTask),a1(c0,M,b$,A$,k,d,q0,!1)}P.replay=i0}else{if(q0!==FI)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(I0(q0)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");$:{i0=void 0,d=x$[5],q0=x$[2],A$=x$[3],s=x$[4]===null?[]:x$[4][2],x$=x$[4]===null?null:x$[4][3];var{keyPath:f$,formatContext:R$,row:Oj,replay:E2,blockedBoundary:jj,hoistableState:Nj}=P,Z4=c0.children,R4=c0.fallback,Sj=new Set;c0=jQ(M,P.row,Sj,null,null),c0.parentFlushed=!0,c0.rootSegmentID=d,P.blockedBoundary=c0,P.hoistableState=c0.contentState,P.keyPath=k,P.formatContext=D(M.resumableState,R$),P.row=null,P.replay={nodes:q0,slots:A$,pendingTasks:1};try{if(FU(M,P,Z4,-1),P.replay.pendingTasks===1&&0<P.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(P.replay.pendingTasks--,c0.pendingTasks===0&&c0.status===b6){c0.status=c2,M.completedBoundaries.push(c0);break $}}catch(PU){c0.status=zU,b$=Rv(P.componentStack),i0=S4(M,PU,b$,P.debugTask),eI(c0,i0,PU,b$,!1),P.replay.pendingTasks--,M.clientRenderedBoundaries.push(c0)}finally{P.blockedBoundary=jj,P.hoistableState=Nj,P.replay=E2,P.keyPath=f$,P.formatContext=R$,P.row=Oj}c0=GI(M,null,{nodes:s,slots:x$,pendingTasks:0},R4,-1,jj,c0.fallbackState,Sj,[k[0],"Suspense Fallback",k[2]],K(M.resumableState,P.formatContext),P.context,P.treeContext,P.row,cG(P.componentStack),L1,P.debugTask),F1(c0),M.pingedTasks.push(c0)}}G0.splice($$,1);break}}}function YY(M,P,k,d,s){if(d===P){if(k!==-1||M.componentStack===null||typeof M.componentStack.type!=="function"||Object.prototype.toString.call(M.componentStack.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(d)!=="[object Generator]")EJ||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."),EJ=!0}else P.entries!==s||pU||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),pU=!0)}function wU(M,P,k,d){P.replay!==null&&typeof P.replay.slots==="number"?Ev(M,P,P.replay.slots,k,d):(P.node=k,P.childIndex=d,k=P.componentStack,d=P.debugTask,F1(P),Tv(M,P),P.componentStack=k,P.debugTask=d)}function Tv(M,P){var{node:k,childIndex:d}=P;if(k!==null){if(typeof k==="object"){switch(k.$$typeof){case Bv:var{type:s,key:G0}=k;k=k.props;var q0=k.ref;q0=q0!==void 0?q0:null;var c0=P.debugTask,A$=I0(s);G0=G0==null?d===-1?0:d:G0;var i0=[P.keyPath,A$,G0];P.replay!==null?c0?c0.run(SU.bind(null,M,P,i0,A$,G0,d,s,k,q0,P.replay)):SU(M,P,i0,A$,G0,d,s,k,q0,P.replay):c0?c0.run(WI.bind(null,M,P,i0,s,k,q0)):WI(M,P,i0,s,k,q0);return;case eX:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case j1:if(s=zZ(k),M.status===12)throw null;wU(M,P,s,d);return}if(M1(k)){$X(M,P,k,d);return}if(G0=J(k)){if(s=G0.call(k)){if(YY(P,k,d,s,G0),k=s.next(),!k.done){G0=[];do G0.push(k.value),k=s.next();while(!k.done);$X(M,P,G0,d)}return}}if(typeof k.then==="function")return P.thenableState=null,wU(M,P,D2(k),d);if(k.$$typeof===jJ)return wU(M,P,k._currentValue2,d);throw M=Object.prototype.toString.call(k),Error("Objects are not valid as a React child (found: "+(M==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":M)+"). If you meant to render a collection of children, use an array instead.")}typeof k==="string"?(P=P.blockedSegment,P!==null&&(P.lastPushedText=A2(P.chunks,k,M.renderState,P.lastPushedText))):typeof k==="number"||typeof k==="bigint"?(P=P.blockedSegment,P!==null&&(P.lastPushedText=A2(P.chunks,""+k,M.renderState,P.lastPushedText))):(typeof k==="function"&&(M=k.displayName||k.name||"Component",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.",M,M)),typeof k==="symbol"&&console.error(`Symbols are not valid as a React child.
|
|
298
|
+
%s`,String(k)))}}function mU(M,P,k){if(k!==null&&typeof k==="object"&&(k.$$typeof===Bv||k.$$typeof===eX)&&k._store&&(!k._store.validated&&k.key==null||k._store.validated===2)){if(typeof k._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.");k._store.validated=1;var d=M.didWarnForKey;if(d==null&&(d=M.didWarnForKey=new WeakSet),M=P.componentStack,M!==null&&!d.has(M)){d.add(M);var s=I0(k.type);d=k._owner;var G0=M.owner;if(M="",G0&&typeof G0.type<"u"){var q0=I0(G0.type);q0&&(M=`
|
|
299
|
+
|
|
300
|
+
Check the render method of \``+q0+"`.")}M||s&&(M=`
|
|
301
|
+
|
|
302
|
+
Check the top-level render call using <`+s+">."),s="",d!=null&&G0!==d&&(G0=null,typeof d.type<"u"?G0=I0(d.type):typeof d.name==="string"&&(G0=d.name),G0&&(s=" It was passed a child from "+G0+".")),d=P.componentStack,P.componentStack={parent:P.componentStack,type:k.type,owner:k._owner,stack:k._debugStack},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.',M,s),P.componentStack=d}}}function $X(M,P,k,d){var{keyPath:s,componentStack:G0,debugTask:q0}=P;if(r1(P,P.node._debugInfo),d!==-1&&(P.keyPath=[P.keyPath,"Fragment",d],P.replay!==null)){for(var c0=P.replay,A$=c0.nodes,i0=0;i0<A$.length;i0++){var $$=A$[i0];if($$[1]===d){d=$$[2],$$=$$[3],P.replay={nodes:d,slots:$$,pendingTasks:1};try{if($X(M,P,k,-1),P.replay.pendingTasks===1&&0<P.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");P.replay.pendingTasks--}catch(R$){if(typeof R$==="object"&&R$!==null&&(R$===v6||typeof R$.then==="function"))throw R$;P.replay.pendingTasks--;var x$=Rv(P.componentStack);k=P.blockedBoundary;var b$=R$,f$=$$;$$=S4(M,b$,x$,P.debugTask),a1(M,k,d,f$,b$,$$,x$,!1)}P.replay=c0,A$.splice(i0,1);break}}P.keyPath=s,P.componentStack=G0,P.debugTask=q0;return}if(c0=P.treeContext,A$=k.length,P.replay!==null&&(i0=P.replay.slots,i0!==null&&typeof i0==="object")){for(d=0;d<A$;d++)$$=k[d],P.treeContext=D$(c0,A$,d),b$=i0[d],typeof b$==="number"?(Ev(M,P,b$,$$,d),delete i0[d]):FU(M,P,$$,d);P.treeContext=c0,P.keyPath=s,P.componentStack=G0,P.debugTask=q0;return}for(i0=0;i0<A$;i0++)d=k[i0],mU(M,P,d),P.treeContext=D$(c0,A$,i0),FU(M,P,d,i0);P.treeContext=c0,P.keyPath=s,P.componentStack=G0,P.debugTask=q0}function M4(M,P,k){if(k.status=hU,k.rootSegmentID=M.nextSegmentId++,M=k.trackedContentKeyPath,M===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var d=k.trackedFallbackNode,s=[],G0=P.workingMap.get(M);if(G0===void 0)return k=[M[1],M[2],s,null,d,k.rootSegmentID],P.workingMap.set(M,k),cU(k,M[0],P),k;return G0[4]=d,G0[5]=k.rootSegmentID,G0}function tX(M,P,k,d){d.status=hU;var{keyPath:s,blockedBoundary:G0}=k;if(G0===null)d.id=M.nextSegmentId++,P.rootSlots=d.id,M.completedRootSegment!==null&&(M.completedRootSegment.status=hU);else{if(G0!==null&&G0.status===b6){var q0=M4(M,P,G0);if(G0.trackedContentKeyPath===s&&k.childIndex===-1){d.id===-1&&(d.id=d.parentFlushed?G0.rootSegmentID:M.nextSegmentId++),q0[3]=d.id;return}}if(d.id===-1&&(d.id=d.parentFlushed&&G0!==null?G0.rootSegmentID:M.nextSegmentId++),k.childIndex===-1)s===null?P.rootSlots=d.id:(k=P.workingMap.get(s),k===void 0?(k=[s[1],s[2],[],d.id],cU(k,s[0],P)):k[3]=d.id);else{if(s===null){if(M=P.rootSlots,M===null)M=P.rootSlots={};else if(typeof M==="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(G0=P.workingMap,q0=G0.get(s),q0===void 0)M={},q0=[s[1],s[2],[],M],G0.set(s,q0),cU(q0,s[0],P);else if(M=q0[3],M===null)M=q0[3]={};else if(typeof M==="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");M[k.childIndex]=d.id}}}function UQ(M,P){M=M.trackedPostpones,M!==null&&(P=P.trackedContentKeyPath,P!==null&&(P=M.workingMap.get(P),P!==void 0&&(P.length=4,P[2]=[],P[3]=null)))}function jX(M,P,k){return GI(M,k,P.replay,P.node,P.childIndex,P.blockedBoundary,P.hoistableState,P.abortSet,P.keyPath,P.formatContext,P.context,P.treeContext,P.row,P.componentStack,L1,P.debugTask)}function xG(M,P,k){var d=P.blockedSegment,s=W6(M,d.chunks.length,null,P.formatContext,d.lastPushedText,!0);return d.children.push(s),d.lastPushedText=!1,aI(M,k,P.node,P.childIndex,P.blockedBoundary,s,P.blockedPreamble,P.hoistableState,P.abortSet,P.keyPath,P.formatContext,P.context,P.treeContext,P.row,P.componentStack,L1,P.debugTask)}function FU(M,P,k,d){var{formatContext:s,context:G0,keyPath:q0,treeContext:c0,componentStack:A$,debugTask:i0,blockedSegment:$$}=P;if($$===null){$$=P.replay;try{return wU(M,P,k,d)}catch(f$){if(N2(),k=f$===v6?W2():f$,M.status!==12&&typeof k==="object"&&k!==null){if(typeof k.then==="function"){d=f$===v6?K2():null,M=jX(M,P,d).ping,k.then(M,M),P.formatContext=s,P.context=G0,P.keyPath=q0,P.treeContext=c0,P.componentStack=A$,P.replay=$$,P.debugTask=i0,O$(G0);return}if(k.message==="Maximum call stack size exceeded"){k=f$===v6?K2():null,k=jX(M,P,k),M.pingedTasks.push(k),P.formatContext=s,P.context=G0,P.keyPath=q0,P.treeContext=c0,P.componentStack=A$,P.replay=$$,P.debugTask=i0,O$(G0);return}}}}else{var x$=$$.children.length,b$=$$.chunks.length;try{return wU(M,P,k,d)}catch(f$){if(N2(),$$.children.length=x$,$$.chunks.length=b$,k=f$===v6?W2():f$,M.status!==12&&typeof k==="object"&&k!==null){if(typeof k.then==="function"){$$=k,k=f$===v6?K2():null,M=xG(M,P,k).ping,$$.then(M,M),P.formatContext=s,P.context=G0,P.keyPath=q0,P.treeContext=c0,P.componentStack=A$,P.debugTask=i0,O$(G0);return}if(k.message==="Maximum call stack size exceeded"){$$=f$===v6?K2():null,$$=xG(M,P,$$),M.pingedTasks.push($$),P.formatContext=s,P.context=G0,P.keyPath=q0,P.treeContext=c0,P.componentStack=A$,P.debugTask=i0,O$(G0);return}}}}throw P.formatContext=s,P.context=G0,P.keyPath=q0,P.treeContext=c0,O$(G0),k}function yG(M){var{blockedBoundary:P,blockedSegment:k}=M;k!==null&&(k.status=Q1,H1(this,P,M.row,k))}function a1(M,P,k,d,s,G0,q0,c0){for(var A$=0;A$<k.length;A$++){var i0=k[A$];if(i0.length===4)a1(M,P,i0[2],i0[3],s,G0,q0,c0);else{var $$=M;i0=i0[5];var x$=s,b$=G0,f$=q0,R$=c0,Oj=jQ($$,null,new Set,null,null);Oj.parentFlushed=!0,Oj.rootSegmentID=i0,Oj.status=zU,eI(Oj,b$,x$,f$,R$),Oj.parentFlushed&&$$.clientRenderedBoundaries.push(Oj)}}if(k.length=0,d!==null){if(P===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(P.status!==zU&&(P.status=zU,eI(P,G0,s,q0,c0),P.parentFlushed&&M.clientRenderedBoundaries.push(P)),typeof d==="object")for(var E2 in d)delete d[E2]}}function UX(M,P,k){var{blockedBoundary:d,blockedSegment:s}=M;if(s!==null){if(s.status===6)return;s.status=Q1}var G0=Rv(M.componentStack),q0=M.node;if(q0!==null&&typeof q0==="object"&&QY(M,q0._debugInfo),d===null){if(P.status!==13&&P.status!==q1){if(d=M.replay,d===null){P.trackedPostpones!==null&&s!==null?(d=P.trackedPostpones,S4(P,k,G0,M.debugTask),tX(P,d,M,s),H1(P,null,M.row,s)):(S4(P,k,G0,M.debugTask),o1(P,k,G0,M.debugTask));return}d.pendingTasks--,d.pendingTasks===0&&0<d.nodes.length&&(s=S4(P,k,G0,null),a1(P,null,d.nodes,d.slots,k,s,G0,!0)),P.pendingRootTasks--,P.pendingRootTasks===0&&ZY(P)}}else{if(q0=P.trackedPostpones,d.status!==zU){if(q0!==null&&s!==null)return S4(P,k,G0,M.debugTask),tX(P,q0,M,s),d.fallbackAbortableTasks.forEach(function(c0){return UX(c0,P,k)}),d.fallbackAbortableTasks.clear(),H1(P,d,M.row,s);d.status=zU,s=S4(P,k,G0,M.debugTask),d.status=zU,eI(d,s,k,G0,!0),UQ(P,d),d.parentFlushed&&P.clientRenderedBoundaries.push(d)}d.pendingTasks--,G0=d.row,G0!==null&&--G0.pendingTasks===0&&jU(P,G0),d.fallbackAbortableTasks.forEach(function(c0){return UX(c0,P,k)}),d.fallbackAbortableTasks.clear()}M=M.row,M!==null&&--M.pendingTasks===0&&jU(P,M),P.allPendingTasks--,P.allPendingTasks===0&&t4(P)}function GY(M,P){try{var k=M.renderState,d=k.onHeaders;if(d){var s=k.headers;if(s){k.headers=null;var G0=s.preconnects;if(s.fontPreloads&&(G0&&(G0+=", "),G0+=s.fontPreloads),s.highImagePreloads&&(G0&&(G0+=", "),G0+=s.highImagePreloads),!P){var q0=k.styles.values(),c0=q0.next();$:for(;0<s.remainingCapacity&&!c0.done;c0=q0.next())for(var A$=c0.value.sheets.values(),i0=A$.next();0<s.remainingCapacity&&!i0.done;i0=A$.next()){var $$=i0.value,x$=$$.props,b$=x$.href,f$=$$.props,R$=P$(f$.href,"style",{crossOrigin:f$.crossOrigin,integrity:f$.integrity,nonce:f$.nonce,type:f$.type,fetchPriority:f$.fetchPriority,referrerPolicy:f$.referrerPolicy,media:f$.media});if(0<=(s.remainingCapacity-=R$.length+2))k.resets.style[b$]=_U,G0&&(G0+=", "),G0+=R$,k.resets.style[b$]=typeof x$.crossOrigin==="string"||typeof x$.integrity==="string"?[x$.crossOrigin,x$.integrity]:_U;else break $}}G0?d({Link:G0}):d({})}}}catch(Oj){S4(M,Oj,{},null)}}function ZY(M){M.trackedPostpones===null&&GY(M,!0),M.trackedPostpones===null&&OI(M),M.onShellError=U$,M=M.onShellReady,M()}function t4(M){GY(M,M.trackedPostpones===null?!0:M.completedRootSegment===null||M.completedRootSegment.status!==hU),OI(M),M=M.onAllReady,M()}function vX(M,P){if(P.chunks.length===0&&P.children.length===1&&P.children[0].boundary===null&&P.children[0].id===-1){var k=P.children[0];k.id=P.id,k.parentFlushed=!0,k.status!==c2&&k.status!==Q1&&k.status!==sj||vX(M,k)}else M.completedSegments.push(P)}function H1(M,P,k,d){if(k!==null&&(--k.pendingTasks===0?jU(M,k):k.together&&ZI(M,k)),M.allPendingTasks--,P===null){if(d!==null&&d.parentFlushed){if(M.completedRootSegment!==null)throw Error("There can only be one root segment. This is a bug in React.");M.completedRootSegment=d}M.pendingRootTasks--,M.pendingRootTasks===0&&ZY(M)}else if(P.pendingTasks--,P.status!==zU)if(P.pendingTasks===0){if(P.status===b6&&(P.status=c2),d!==null&&d.parentFlushed&&(d.status===c2||d.status===Q1)&&vX(P,d),P.parentFlushed&&M.completedBoundaries.push(P),P.status===c2)k=P.row,k!==null&&z$(k.hoistables,P.contentState),sI(M,P)||(P.fallbackAbortableTasks.forEach(yG,M),P.fallbackAbortableTasks.clear(),k!==null&&--k.pendingTasks===0&&jU(M,k)),M.pendingRootTasks===0&&M.trackedPostpones===null&&P.contentPreamble!==null&&OI(M);else if(P.status===hU&&(P=P.row,P!==null)){if(M.trackedPostpones!==null){k=M.trackedPostpones;var s=P.next;if(s!==null&&(d=s.boundaries,d!==null))for(s.boundaries=null,s=0;s<d.length;s++){var G0=d[s];M4(M,k,G0),H1(M,G0,null,null)}}--P.pendingTasks===0&&jU(M,P)}}else d===null||!d.parentFlushed||d.status!==c2&&d.status!==Q1||(vX(P,d),P.completedSegments.length===1&&P.parentFlushed&&M.partialBoundaries.push(P)),P=P.row,P!==null&&P.together&&ZI(M,P);M.allPendingTasks===0&&t4(M)}function KI(M){if(M.status!==q1&&M.status!==13){var P=Qv,k=s2.H;s2.H=SY;var d=s2.A;s2.A=C4;var s=qU;qU=M;var G0=s2.getCurrentStack;s2.getCurrentStack=iX;var q0=LJ;LJ=M.resumableState;try{var c0=M.pingedTasks,A$;for(A$=0;A$<c0.length;A$++){var i0=M,$$=c0[A$],x$=$$.blockedSegment;if(x$===null){var b$=void 0,f$=i0;if(i0=$$,i0.replay.pendingTasks!==0){O$(i0.context),b$=H6,H6=i0;try{if(typeof i0.replay.slots==="number"?Ev(f$,i0,i0.replay.slots,i0.node,i0.childIndex):Tv(f$,i0),i0.replay.pendingTasks===1&&0<i0.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");i0.replay.pendingTasks--,i0.abortSet.delete(i0),H1(f$,i0.blockedBoundary,i0.row,null)}catch(aj){N2();var R$=aj===v6?W2():aj;if(typeof R$==="object"&&R$!==null&&typeof R$.then==="function"){var Oj=i0.ping;R$.then(Oj,Oj),i0.thenableState=aj===v6?K2():null}else{i0.replay.pendingTasks--,i0.abortSet.delete(i0);var E2=Rv(i0.componentStack),jj=void 0,Nj=f$,Z4=i0.blockedBoundary,R4=f$.status===12?f$.fatalError:R$,Sj=E2,PU=i0.replay.nodes,m6=i0.replay.slots;jj=S4(Nj,R4,Sj,i0.debugTask),a1(Nj,Z4,PU,m6,R4,jj,Sj,!1),f$.pendingRootTasks--,f$.pendingRootTasks===0&&ZY(f$),f$.allPendingTasks--,f$.allPendingTasks===0&&t4(f$)}}finally{H6=b$}}}else if(f$=b$=void 0,jj=$$,Nj=x$,Nj.status===b6){Nj.status=6,O$(jj.context),f$=H6,H6=jj;var I6=Nj.children.length,d$=Nj.chunks.length;try{Tv(i0,jj),L$(Nj.chunks,i0.renderState,Nj.lastPushedText,Nj.textEmbedded),jj.abortSet.delete(jj),Nj.status=c2,H1(i0,jj.blockedBoundary,jj.row,Nj)}catch(aj){N2(),Nj.children.length=I6,Nj.chunks.length=d$;var G2=aj===v6?W2():i0.status===12?i0.fatalError:aj;if(i0.status===12&&i0.trackedPostpones!==null){var v2=i0.trackedPostpones,x2=Rv(jj.componentStack);jj.abortSet.delete(jj),S4(i0,G2,x2,jj.debugTask),tX(i0,v2,jj,Nj),H1(i0,jj.blockedBoundary,jj.row,Nj)}else if(typeof G2==="object"&&G2!==null&&typeof G2.then==="function"){Nj.status=b6,jj.thenableState=aj===v6?K2():null;var T2=jj.ping;G2.then(T2,T2)}else{var u2=Rv(jj.componentStack);jj.abortSet.delete(jj),Nj.status=sj;var{blockedBoundary:Vj,row:aU,debugTask:Hj}=jj;if(aU!==null&&--aU.pendingTasks===0&&jU(i0,aU),i0.allPendingTasks--,b$=S4(i0,G2,u2,Hj),Vj===null)o1(i0,G2,u2,Hj);else if(Vj.pendingTasks--,Vj.status!==zU){Vj.status=zU,eI(Vj,b$,G2,u2,!1),UQ(i0,Vj);var eU=Vj.row;eU!==null&&--eU.pendingTasks===0&&jU(i0,eU),Vj.parentFlushed&&i0.clientRenderedBoundaries.push(Vj),i0.pendingRootTasks===0&&i0.trackedPostpones===null&&Vj.contentPreamble!==null&&OI(i0)}i0.allPendingTasks===0&&t4(i0)}}finally{H6=f$}}}c0.splice(0,A$),M.destination!==null&&w4(M,M.destination)}catch(aj){c0={},S4(M,aj,c0,null),o1(M,aj,c0,null)}finally{LJ=q0,s2.H=k,s2.A=d,s2.getCurrentStack=G0,k===SY&&O$(P),qU=s}}}function vQ(M,P,k){P.preambleChildren.length&&k.push(P.preambleChildren);for(var d=!1,s=0;s<P.children.length;s++)d=IQ(M,P.children[s],k)||d;return d}function IQ(M,P,k){var d=P.boundary;if(d===null)return vQ(M,P,k);var{contentPreamble:s,fallbackPreamble:G0}=d;if(s===null||G0===null)return!1;switch(d.status){case c2:if(g0(M.renderState,s),M.byteSize+=d.byteSize,P=d.completedSegments[0],!P)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return vQ(M,P,k);case hU:if(M.trackedPostpones!==null)return!0;case zU:if(P.status===c2)return g0(M.renderState,G0),vQ(M,P,k);default:return!0}}function OI(M){if(M.completedRootSegment&&M.completedPreambleSegments===null){var P=[],k=M.byteSize,d=IQ(M,M.completedRootSegment,P),s=M.renderState.preamble;d===!1||s.headChunks&&s.bodyChunks?M.completedPreambleSegments=P:M.byteSize=k}}function sX(M,P,k,d){switch(k.parentFlushed=!0,k.status){case b6:k.id=M.nextSegmentId++;case hU:return d=k.id,k.lastPushedText=!1,k.textEmbedded=!1,M=M.renderState,P.push(zJ),P.push(M.placeholderPrefix),M=d.toString(16),P.push(M),P.push(KQ);case c2:k.status=RJ;var s=!0,G0=k.chunks,q0=0;k=k.children;for(var c0=0;c0<k.length;c0++){for(s=k[c0];q0<s.index;q0++)P.push(G0[q0]);s=VI(M,P,s,d)}for(;q0<G0.length-1;q0++)P.push(G0[q0]);return q0<G0.length&&(s=P.push(G0[q0])),s;case Q1:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function VI(M,P,k,d){var s=k.boundary;if(s===null)return sX(M,P,k,d);if(s.parentFlushed=!0,s.status===zU){var G0=s.row;if(G0!==null&&--G0.pendingTasks===0&&jU(M,G0),!M.renderState.generateStaticMarkup){var{errorDigest:q0,errorMessage:c0}=s;G0=s.errorStack,s=s.errorComponentStack,P.push(OQ),P.push(WJ),q0&&(P.push(j6),q0=Y0(q0),P.push(q0),P.push(VQ)),c0&&(P.push(x6),c0=Y0(c0),P.push(c0),P.push(VQ)),G0&&(P.push(UU),G0=Y0(G0),P.push(G0),P.push(VQ)),s&&(P.push(DQ),G0=Y0(s),P.push(G0),P.push(VQ)),P.push(HY)}return sX(M,P,k,d),M=M.renderState.generateStaticMarkup?!0:P.push(TI),M}if(s.status!==c2)return s.status===b6&&(s.rootSegmentID=M.nextSegmentId++),0<s.completedSegments.length&&M.partialBoundaries.push(s),R0(P,M.renderState,s.rootSegmentID),d&&z$(d,s.fallbackState),sX(M,P,k,d),P.push(TI);if(!gX&&sI(M,s)&&Gv+s.byteSize>M.progressiveChunkSize)return s.rootSegmentID=M.nextSegmentId++,M.completedBoundaries.push(s),R0(P,M.renderState,s.rootSegmentID),sX(M,P,k,d),P.push(TI);if(Gv+=s.byteSize,d&&z$(d,s.contentState),k=s.row,k!==null&&sI(M,s)&&--k.pendingTasks===0&&jU(M,k),M.renderState.generateStaticMarkup||P.push(Iv),k=s.completedSegments,k.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return VI(M,P,k[0],d),M=M.renderState.generateStaticMarkup?!0:P.push(TI),M}function kU(M,P,k,d){return o0(P,M.renderState,k.parentFormatContext,k.id),VI(M,P,k,d),O0(P,k.parentFormatContext)}function DI(M,P,k){Gv=k.byteSize;for(var d=k.completedSegments,s=0;s<d.length;s++)$1(M,P,k,d[s]);d.length=0,d=k.row,d!==null&&sI(M,k)&&--d.pendingTasks===0&&jU(M,d),i$(P,k.contentState,M.renderState),d=M.resumableState,M=M.renderState,s=k.rootSegmentID,k=k.contentState;var G0=M.stylesToHoist;return M.stylesToHoist=!1,P.push(M.startInlineScript),P.push(H2),G0?((d.instructions&AI)===e4&&(d.instructions|=AI,P.push(zz)),(d.instructions&Kj)===e4&&(d.instructions|=Kj,P.push(I1)),(d.instructions&dG)===e4?(d.instructions|=dG,P.push(VJ)):P.push(sG)):((d.instructions&Kj)===e4&&(d.instructions|=Kj,P.push(I1)),P.push(LY)),d=s.toString(16),P.push(M.boundaryPrefix),P.push(d),P.push(LQ),P.push(M.segmentPrefix),P.push(d),G0?(P.push(aG),M$(P,k)):P.push(AY),k=P.push(Zz),M0(P,M)&&k}function $1(M,P,k,d){if(d.status===RJ)return!0;var s=k.contentState,G0=d.id;if(G0===-1){if((d.id=k.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return kU(M,P,d,s)}if(G0===k.rootSegmentID)return kU(M,P,d,s);return kU(M,P,d,s),k=M.resumableState,M=M.renderState,P.push(M.startInlineScript),P.push(H2),(k.instructions&wv)===e4?(k.instructions|=wv,P.push(MY)):P.push(DX),P.push(M.segmentPrefix),G0=G0.toString(16),P.push(G0),P.push(BI),P.push(M.placeholderPrefix),P.push(G0),P=P.push(gI),P}function w4(M,P){try{if(!(0<M.pendingRootTasks)){var k,d=M.completedRootSegment;if(d!==null){if(d.status===hU)return;var s=M.completedPreambleSegments;if(s===null)return;Gv=M.byteSize;var{resumableState:G0,renderState:q0}=M,c0=q0.preamble,A$=c0.htmlChunks,i0=c0.headChunks,$$;if(A$){for($$=0;$$<A$.length;$$++)P.push(A$[$$]);if(i0)for($$=0;$$<i0.length;$$++)P.push(i0[$$]);else{var x$=Z0("head");P.push(x$),P.push(H2)}}else if(i0)for($$=0;$$<i0.length;$$++)P.push(i0[$$]);var b$=q0.charsetChunks;for($$=0;$$<b$.length;$$++)P.push(b$[$$]);b$.length=0,q0.preconnects.forEach(s0,P),q0.preconnects.clear();var f$=q0.viewportChunks;for($$=0;$$<f$.length;$$++)P.push(f$[$$]);f$.length=0,q0.fontPreloads.forEach(s0,P),q0.fontPreloads.clear(),q0.highImagePreloads.forEach(s0,P),q0.highImagePreloads.clear(),XJ=q0,q0.styles.forEach(Lj,P),XJ=null;var R$=q0.importMapChunks;for($$=0;$$<R$.length;$$++)P.push(R$[$$]);R$.length=0,q0.bootstrapScripts.forEach(s0,P),q0.scripts.forEach(s0,P),q0.scripts.clear(),q0.bulkPreloads.forEach(s0,P),q0.bulkPreloads.clear(),G0.instructions|=WX;var Oj=q0.hoistableChunks;for($$=0;$$<Oj.length;$$++)P.push(Oj[$$]);for(G0=Oj.length=0;G0<s.length;G0++){var E2=s[G0];for(q0=0;q0<E2.length;q0++)VI(M,P,E2[q0],null)}var jj=M.renderState.preamble,Nj=jj.headChunks;if(jj.htmlChunks||Nj){var Z4=U0("head");P.push(Z4)}var R4=jj.bodyChunks;if(R4)for(s=0;s<R4.length;s++)P.push(R4[s]);VI(M,P,d,null),M.completedRootSegment=null;var Sj=M.renderState;if(M.allPendingTasks!==0||M.clientRenderedBoundaries.length!==0||M.completedBoundaries.length!==0||M.trackedPostpones!==null&&(M.trackedPostpones.rootNodes.length!==0||M.trackedPostpones.rootSlots!==null)){var PU=M.resumableState;if((PU.instructions&qI)===e4){if(PU.instructions|=qI,P.push(Sj.startInlineScript),(PU.instructions&WX)===e4){PU.instructions|=WX;var m6="_"+PU.idPrefix+"R_";P.push(Az);var I6=Y0(m6);P.push(I6),P.push(LU)}P.push(H2),P.push(ZJ),P.push(w6)}}M0(P,Sj)}var d$=M.renderState;d=0;var G2=d$.viewportChunks;for(d=0;d<G2.length;d++)P.push(G2[d]);G2.length=0,d$.preconnects.forEach(s0,P),d$.preconnects.clear(),d$.fontPreloads.forEach(s0,P),d$.fontPreloads.clear(),d$.highImagePreloads.forEach(s0,P),d$.highImagePreloads.clear(),d$.styles.forEach(Y$,P),d$.scripts.forEach(s0,P),d$.scripts.clear(),d$.bulkPreloads.forEach(s0,P),d$.bulkPreloads.clear();var v2=d$.hoistableChunks;for(d=0;d<v2.length;d++)P.push(v2[d]);v2.length=0;var x2=M.clientRenderedBoundaries;for(k=0;k<x2.length;k++){var T2=x2[k];d$=P;var{resumableState:u2,renderState:Vj}=M,aU=T2.rootSegmentID,Hj=T2.errorDigest,eU=T2.errorMessage,aj=T2.errorStack,b4=T2.errorComponentStack;d$.push(Vj.startInlineScript),d$.push(H2),(u2.instructions&AI)===e4?(u2.instructions|=AI,d$.push(Wz)):d$.push(Kz),d$.push(Vj.boundaryPrefix);var _6=aU.toString(16);if(d$.push(_6),d$.push(Oz),Hj||eU||aj||b4){d$.push(DJ);var Y1=P0(Hj||"");d$.push(Y1)}if(eU||aj||b4){d$.push(DJ);var lU=P0(eU||"");d$.push(lU)}if(aj||b4){d$.push(DJ);var u6=P0(aj||"");d$.push(u6)}if(b4){d$.push(DJ);var M6=P0(b4);d$.push(M6)}var _2=d$.push(FJ);if(!_2){M.destination=null,k++,x2.splice(0,k);return}}x2.splice(0,k);var F=M.completedBoundaries;for(k=0;k<F.length;k++)if(!DI(M,P,F[k])){M.destination=null,k++,F.splice(0,k);return}F.splice(0,k),gX=!0;var _=M.partialBoundaries;for(k=0;k<_.length;k++){$:{x2=M,T2=P;var w=_[k];Gv=w.byteSize;var p=w.completedSegments;for(_2=0;_2<p.length;_2++)if(!$1(x2,T2,w,p[_2])){_2++,p.splice(0,_2);var t=!1;break $}p.splice(0,_2);var v0=w.row;v0!==null&&v0.together&&w.pendingTasks===1&&(v0.pendingTasks===1?rX(x2,v0,v0.hoistables):v0.pendingTasks--),t=i$(T2,w.contentState,x2.renderState)}if(!t){M.destination=null,k++,_.splice(0,k);return}}_.splice(0,k),gX=!1;var F0=M.completedBoundaries;for(k=0;k<F0.length;k++)if(!DI(M,P,F0[k])){M.destination=null,k++,F0.splice(0,k);return}F0.splice(0,k)}}finally{gX=!1,M.allPendingTasks===0&&M.clientRenderedBoundaries.length===0&&M.completedBoundaries.length===0&&(M.flushScheduled=!1,k=M.resumableState,k.hasBody&&(_=U0("body"),P.push(_)),k.hasHtml&&(k=U0("html"),P.push(k)),M.abortableTasks.size!==0&&console.error("There was still abortable task at the root when we closed. This is a bug in React."),M.status=q1,P.push(null),M.destination=null)}}function fG(M){M.flushScheduled=M.destination!==null,KI(M),M.status===10&&(M.status=11),M.trackedPostpones===null&&GY(M,M.pendingRootTasks===0)}function _1(M){if(M.flushScheduled===!1&&M.pingedTasks.length===0&&M.destination!==null){M.flushScheduled=!0;var P=M.destination;P?w4(M,P):M.flushScheduled=!1}}function g6(M,P){if(M.status===13)M.status=q1,P.destroy(M.fatalError);else if(M.status!==q1&&M.destination===null){M.destination=P;try{w4(M,P)}catch(k){P={},S4(M,k,P,null),o1(M,k,P,null)}}}function aX(M,P){if(M.status===11||M.status===10)M.status=12;try{var k=M.abortableTasks;if(0<k.size){var d=P===void 0?Error("The render was aborted by the server without a reason."):typeof P==="object"&&P!==null&&typeof P.then==="function"?Error("The render was aborted by the server with a promise."):P;M.fatalError=d,k.forEach(function(s){var G0=H6,q0=s2.getCurrentStack;H6=s,s2.getCurrentStack=iX;try{UX(s,M,d)}finally{H6=G0,s2.getCurrentStack=q0}}),k.clear()}M.destination!==null&&w4(M,M.destination)}catch(s){P={},S4(M,s,P,null),o1(M,s,P,null)}}function cU(M,P,k){if(P===null)k.rootNodes.push(M);else{var d=k.workingMap,s=d.get(P);s===void 0&&(s=[P[1],P[2],[],null],d.set(P,s),cU(s,P[0],k)),s[2].push(M)}}function L4(){}function IX(M,P,k,d){var s=!1,G0=null,q0="",c0=!1;if(P=h0(P?P.identifierPrefix:void 0),M=KW(M,P,_$(P,k),X0(Uv,null,0,null),1/0,L4,void 0,function(){c0=!0},void 0,void 0,void 0),fG(M),aX(M,d),g6(M,{push:function(A$){return A$!==null&&(q0+=A$),!0},destroy:function(A$){s=!0,G0=A$}}),s&&G0!==d)throw G0;if(!c0)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return q0}var Bv=Symbol.for("react.transitional.element"),eX=Symbol.for("react.portal"),s4=Symbol.for("react.fragment"),XQ=Symbol.for("react.strict_mode"),XX=Symbol.for("react.profiler"),$J=Symbol.for("react.consumer"),jJ=Symbol.for("react.context"),JX=Symbol.for("react.forward_ref"),FI=Symbol.for("react.suspense"),HI=Symbol.for("react.suspense_list"),K6=Symbol.for("react.memo"),j1=Symbol.for("react.lazy"),a4=Symbol.for("react.scope"),QX=Symbol.for("react.activity"),A4=Symbol.for("react.legacy_hidden"),bG=Symbol.for("react.memo_cache_sentinel"),YX=Symbol.for("react.view_transition"),e1=Symbol.iterator,M1=Array.isArray,zY=new WeakMap,WY=new WeakMap,UJ=Symbol.for("react.client.reference"),t2=Object.assign,nj=Object.prototype.hasOwnProperty,N6=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]*$"),vJ={},GX={},gv=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(" ")),ZX=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"]]),KY={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mG={"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},_I={},S6=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]*$"),$v=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]*$"),jv=!1,JQ={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"},Q4={},QQ=/^on./,uG=/^on[^A-Z]/,Nv=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]*$"),zX=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]*$"),hG=/^(?:webkit|moz|o)[A-Z]/,k4=/^-ms-/,uU=/-(.)/g,OY=/;\s*$/,k2={},cj={},MI=!1,YQ=!1,IJ=/["'&<>]/,pG=/([A-Z])/g,VY=/^ms-/,LI=/^[\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,s2=iD.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Sv=nq.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,lG=Object.freeze({pending:!1,data:null,method:null,action:null}),O6=Sv.d;Sv.d={f:O6.f,r:O6.r,D:function(M){var P=qU?qU:null;if(P){var{resumableState:k,renderState:d}=P;if(typeof M==="string"&&M){if(!k.dnsResources.hasOwnProperty(M)){k.dnsResources[M]=HU,k=d.headers;var s,G0;if(G0=k&&0<k.remainingCapacity)G0=(s="<"+l0(M)+">; rel=dns-prefetch",0<=(k.remainingCapacity-=s.length+2));G0?(d.resets.dns[M]=HU,k.preconnects&&(k.preconnects+=", "),k.preconnects+=s):(s=[],A0(s,{href:M,rel:"dns-prefetch"}),d.preconnects.add(s))}_1(P)}}else O6.D(M)},C:function(M,P){var k=qU?qU:null;if(k){var{resumableState:d,renderState:s}=k;if(typeof M==="string"&&M){var G0=P==="use-credentials"?"credentials":typeof P==="string"?"anonymous":"default";if(!d.connectResources[G0].hasOwnProperty(M)){d.connectResources[G0][M]=HU,d=s.headers;var q0,c0;if(c0=d&&0<d.remainingCapacity){if(c0="<"+l0(M)+">; rel=preconnect",typeof P==="string"){var A$=n$(P,"crossOrigin");c0+='; crossorigin="'+A$+'"'}c0=(q0=c0,0<=(d.remainingCapacity-=q0.length+2))}c0?(s.resets.connect[G0][M]=HU,d.preconnects&&(d.preconnects+=", "),d.preconnects+=q0):(G0=[],A0(G0,{rel:"preconnect",href:M,crossOrigin:P}),s.preconnects.add(G0))}_1(k)}}else O6.C(M,P)},L:function(M,P,k){var d=qU?qU:null;if(d){var{resumableState:s,renderState:G0}=d;if(P&&M){switch(P){case"image":if(k)var{imageSrcSet:q0,imageSizes:c0,fetchPriority:A$}=k;var i0=q0?q0+`
|
|
303
|
+
`+(c0||""):M;if(s.imageResources.hasOwnProperty(i0))return;s.imageResources[i0]=_U,s=G0.headers;var $$;s&&0<s.remainingCapacity&&typeof q0!=="string"&&A$==="high"&&($$=P$(M,P,k),0<=(s.remainingCapacity-=$$.length+2))?(G0.resets.image[i0]=_U,s.highImagePreloads&&(s.highImagePreloads+=", "),s.highImagePreloads+=$$):(s=[],A0(s,t2({rel:"preload",href:q0?void 0:M,as:P},k)),A$==="high"?G0.highImagePreloads.add(s):(G0.bulkPreloads.add(s),G0.preloads.images.set(i0,s)));break;case"style":if(s.styleResources.hasOwnProperty(M))return;q0=[],A0(q0,t2({rel:"preload",href:M,as:P},k)),s.styleResources[M]=!k||typeof k.crossOrigin!=="string"&&typeof k.integrity!=="string"?_U:[k.crossOrigin,k.integrity],G0.preloads.stylesheets.set(M,q0),G0.bulkPreloads.add(q0);break;case"script":if(s.scriptResources.hasOwnProperty(M))return;q0=[],G0.preloads.scripts.set(M,q0),G0.bulkPreloads.add(q0),A0(q0,t2({rel:"preload",href:M,as:P},k)),s.scriptResources[M]=!k||typeof k.crossOrigin!=="string"&&typeof k.integrity!=="string"?_U:[k.crossOrigin,k.integrity];break;default:if(s.unknownResources.hasOwnProperty(P)){if(q0=s.unknownResources[P],q0.hasOwnProperty(M))return}else q0={},s.unknownResources[P]=q0;if(q0[M]=_U,(s=G0.headers)&&0<s.remainingCapacity&&P==="font"&&(i0=P$(M,P,k),0<=(s.remainingCapacity-=i0.length+2)))G0.resets.font[M]=_U,s.fontPreloads&&(s.fontPreloads+=", "),s.fontPreloads+=i0;else switch(s=[],M=t2({rel:"preload",href:M,as:P},k),A0(s,M),P){case"font":G0.fontPreloads.add(s);break;default:G0.bulkPreloads.add(s)}}_1(d)}}else O6.L(M,P,k)},m:function(M,P){var k=qU?qU:null;if(k){var{resumableState:d,renderState:s}=k;if(M){var G0=P&&typeof P.as==="string"?P.as:"script";switch(G0){case"script":if(d.moduleScriptResources.hasOwnProperty(M))return;G0=[],d.moduleScriptResources[M]=!P||typeof P.crossOrigin!=="string"&&typeof P.integrity!=="string"?_U:[P.crossOrigin,P.integrity],s.preloads.moduleScripts.set(M,G0);break;default:if(d.moduleUnknownResources.hasOwnProperty(G0)){var q0=d.unknownResources[G0];if(q0.hasOwnProperty(M))return}else q0={},d.moduleUnknownResources[G0]=q0;G0=[],q0[M]=_U}A0(G0,t2({rel:"modulepreload",href:M},P)),s.bulkPreloads.add(G0),_1(k)}}else O6.m(M,P)},X:function(M,P){var k=qU?qU:null;if(k){var{resumableState:d,renderState:s}=k;if(M){var G0=d.scriptResources.hasOwnProperty(M)?d.scriptResources[M]:void 0;G0!==HU&&(d.scriptResources[M]=HU,P=t2({src:M,async:!0},P),G0&&(G0.length===2&&V0(P,G0),M=s.preloads.scripts.get(M))&&(M.length=0),M=[],s.scripts.add(M),D0(M,P),_1(k))}}else O6.X(M,P)},S:function(M,P,k){var d=qU?qU:null;if(d){var{resumableState:s,renderState:G0}=d;if(M){P=P||"default";var q0=G0.styles.get(P),c0=s.styleResources.hasOwnProperty(M)?s.styleResources[M]:void 0;c0!==HU&&(s.styleResources[M]=HU,q0||(q0={precedence:Y0(P),rules:[],hrefs:[],sheets:new Map},G0.styles.set(P,q0)),P={state:x4,props:t2({rel:"stylesheet",href:M,"data-precedence":P},k)},c0&&(c0.length===2&&V0(P.props,c0),(G0=G0.preloads.stylesheets.get(M))&&0<G0.length?G0.length=0:P.state=HJ),q0.sheets.set(M,P),_1(d))}}else O6.S(M,P,k)},M:function(M,P){var k=qU?qU:null;if(k){var{resumableState:d,renderState:s}=k;if(M){var G0=d.moduleScriptResources.hasOwnProperty(M)?d.moduleScriptResources[M]:void 0;G0!==HU&&(d.moduleScriptResources[M]=HU,P=t2({src:M,type:"module",async:!0},P),G0&&(G0.length===2&&V0(P,G0),M=s.preloads.moduleScripts.get(M))&&(M.length=0),M=[],s.scripts.add(M),D0(M,P),_1(k))}}else O6.M(M,P)}};var e4=0,wv=1,Kj=2,AI=4,dG=8,WX=32,qI=64,HU=null,_U=[];Object.freeze(_U);var XJ=null,w6="</script>",kv=/(<\/|<)(s)(cript)/gi,PI={},Uv=0,Y4=1,ZU=2,k6=3,G4=4,c6=5,C2=6,JJ=7,GQ=8,U1=9,MU=new Map,nG=' style="',V6=":",CI=";",c4=" ",q4='="',LU='"',AU='=""',P4=Y0("javascript:throw new Error('React form unexpectedly submitted.')"),H2=">",QJ="/>",YJ=!1,iG=!1,cv=!1,DY=!1,FY=!1,sU=!1,ZQ=!1,KX=!1,zQ=!1,RI=!1,WQ=!1,GJ=`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,OX=/(<\/|<)(s)(tyle)/gi,vv=`
|
|
304
|
+
`,D6=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,EI=new Map,v1=new Map,ZJ="requestAnimationFrame(function(){$RT=performance.now()});",zJ='<template id="',KQ='"></template>',Iv="<!--$-->",Xv='<!--$?--><template id="',$6='"></template>',OQ="<!--$!-->",TI="<!--/$-->",WJ="<template",VQ='"',j6=' data-dgst="',x6=' data-msg="',UU=' data-stck="',DQ=' data-cstck="',HY="></template>",xv='<div hidden id="',a2='">',KJ="</div>",yv='<svg aria-hidden="true" style="display:none" id="',F6='">',FQ="</svg>",Fj='<math aria-hidden="true" style="display:none" id="',N$='">',VX="</math>",HQ='<table hidden id="',e2='">',_Y="</table>",OJ='<table hidden><tbody id="',_Q='">',MQ="</tbody></table>",Gz='<table hidden><tr id="',rG='">',oG="</tr></table>",tG='<table hidden><colgroup id="',U6='">',Y2="</colgroup></table>",MY='$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("',DX='$RS("',BI='","',gI='")</script>',I1=`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
|
|
305
|
+
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`,LY='$RC("',VJ=`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
|
|
306
|
+
"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
|
|
307
|
+
"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`,sG='$RR("',LQ='","',aG='",',AY='"',Zz=")</script>",zz='$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};',Wz='$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("',Kz='$RX("',Oz='"',DJ=",",FJ=")</script>",eG=/[<\u2028\u2029]/g,Vz=/[&><\u2028\u2029]/g,Dz=' media="not all" data-precedence="',Fz='" data-href="',OW='">',Hz="</style>",AQ=!1,qY=!0,Jv=[],_z=' data-precedence="',Mz='" data-href="',FX=" ",PY='">',Lz="</style>",Az=' id="',qQ="[",HX=",[",PQ=",",fv="]",x4=0,HJ=1,$Z=2,CY=3,RY=/[<>\r\n]/g,jZ=/["';,\r\n]/g,qz="",UZ=Function.prototype.bind,EY=Symbol.for("react.client.reference"),L1={};Object.freeze(L1);var _X={},Qv=null,CQ={},TY={},vZ=new Set,IZ=new Set,BY=new Set,XZ=new Set,RQ=new Set,JZ=new Set,gY=new Set,QZ=new Set,YZ=new Set,MX={enqueueSetState:function(M,P,k){var d=M._reactInternals;d.queue===null?E$(M,"setState"):(d.queue.push(P),k!==void 0&&k!==null&&q2(k))},enqueueReplaceState:function(M,P,k){M=M._reactInternals,M.replace=!0,M.queue=[P],k!==void 0&&k!==null&&q2(k)},enqueueForceUpdate:function(M,P){M._reactInternals.queue===null?E$(M,"forceUpdate"):P!==void 0&&P!==null&&q2(P)}},Pz={id:1,overflow:""},EQ=Math.clz32?Math.clz32:j2,LX=Math.log,GZ=Math.LN2,v6=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`."),NY=null,VW=typeof Object.is==="function"?Object.is:Jj,y6=null,bv=null,X1=null,_J=null,TQ=null,R2=null,AX=!1,MJ=!1,qX=0,PX=0,J1=-1,CX=0,mv=null,A1=null,uv=0,f6=!1,NI,SY={readContext:O2,use:function(M){if(M!==null&&typeof M==="object"){if(typeof M.then==="function")return D2(M);if(M.$$typeof===jJ)return O2(M)}throw Error("An unsupported type was passed to use(): "+String(M))},useContext:function(M){return NI="useContext",e$(),M._currentValue2},useMemo:uj,useReducer:Tj,useRef:function(M){y6=e$(),R2=Qj();var P=R2.memoizedState;return P===null?(M={current:M},Object.seal(M),R2.memoizedState=M):P},useState:function(M){return NI="useState",Tj($U,M)},useInsertionEffect:U$,useLayoutEffect:U$,useCallback:function(M,P){return uj(function(){return M},P)},useImperativeHandle:U$,useEffect:U$,useDebugValue:U$,useDeferredValue:function(M,P){return e$(),P!==void 0?P:M},useTransition:function(){return e$(),[!1,Q2]},useId:function(){var M=bv.treeContext,P=M.overflow;M=M.id,M=(M&~(1<<32-EQ(M)-1)).toString(32)+P;var k=LJ;if(k===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return P=qX++,M="_"+k.idPrefix+"R_"+M,0<P&&(M+="H"+P.toString(32)),M+"_"},useSyncExternalStore:function(M,P,k){if(k===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return k()},useOptimistic:function(M){return e$(),[M,m2]},useActionState:w2,useFormState:w2,useHostTransitionStatus:function(){return e$(),lG},useMemoCache:function(M){for(var P=Array(M),k=0;k<M;k++)P[k]=bG;return P},useCacheRefresh:function(){return F2},useEffectEvent:function(){return S2}},LJ=null,H6=null,C4={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")},getOwner:function(){return H6===null?null:H6.componentStack}},y4=0,AJ,hv,wY,RX,kY,qJ,cY;P2.__reactDisabledLog=!0;var xY,PJ,CJ=!1,BQ=new(typeof WeakMap==="function"?WeakMap:Map),yY={react_stack_bottom_frame:function(M,P,k){return M(P,k)}},ZZ=yY.react_stack_bottom_frame.bind(yY),gQ={react_stack_bottom_frame:function(M){return M.render()}},NQ=gQ.react_stack_bottom_frame.bind(gQ),EX={react_stack_bottom_frame:function(M){var P=M._init;return P(M._payload)}},zZ=EX.react_stack_bottom_frame.bind(EX),fY=0;if(typeof performance==="object"&&typeof performance.now==="function")var f4=performance,TX=function(){return f4.now()};else{var Cz=Date;TX=function(){return Cz.now()}}var zU=4,b6=0,c2=1,RJ=2,Q1=3,sj=4,hU=5,q1=14,qU=null,pv={},Yv={},U2={},BX={},lv=!1,EJ=!1,pU=!1,Gv=0,gX=!1;Np.renderToStaticMarkup=function(M,P){return IX(M,P,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Np.renderToString=function(M,P){return IX(M,P,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Np.version="19.2.7"})()});var E3=hX((Sp)=>{var CO=Z2(uZ()),iq=Z2(pV());(function(){function U(F,_,w,p){return""+_+(w==="s"?"\\73 ":"\\53 ")+p}function I(F,_,w,p){return""+_+(w==="s"?"\\u0073":"\\u0053")+p}function J(F){if(F===null||typeof F!=="object")return null;return F=$v&&F[$v]||F["@@iterator"],typeof F==="function"?F:null}function z(F){return F=Object.prototype.toString.call(F),F.slice(8,F.length-1)}function v(F){var _=JSON.stringify(F);return'"'+F+'"'===_?F:_}function Z(F){switch(typeof F){case"string":return JSON.stringify(10>=F.length?F:F.slice(0,10)+"...");case"object":if(jv(F))return"[...]";if(F!==null&&F.$$typeof===QQ)return"client";return F=z(F),F==="Object"?"{...}":F;case"function":return F.$$typeof===QQ?"client":(F=F.displayName||F.name)?"function "+F:"function";default:return String(F)}}function Y(F){if(typeof F==="string")return F;switch(F){case N6:return"Suspense";case vJ:return"SuspenseList"}if(typeof F==="object")switch(F.$$typeof){case nj:return Y(F.render);case GX:return Y(F.type);case gv:var _=F._payload;F=F._init;try{return Y(F(_))}catch(w){}}return""}function L(F,_){var w=z(F);if(w!=="Object"&&w!=="Array")return w;var p=-1,t=0;if(jv(F))if(Q4.has(F)){var v0=Q4.get(F);w="<"+Y(v0)+">";for(var F0=0;F0<F.length;F0++){var E0=F[F0];E0=typeof E0==="string"?E0:typeof E0==="object"&&E0!==null?"{"+L(E0)+"}":"{"+Z(E0)+"}",""+F0===_?(p=w.length,t=E0.length,w+=E0):w=15>E0.length&&40>w.length+E0.length?w+E0:w+"{...}"}w+="</"+Y(v0)+">"}else{w="[";for(v0=0;v0<F.length;v0++)0<v0&&(w+=", "),F0=F[v0],F0=typeof F0==="object"&&F0!==null?L(F0):Z(F0),""+v0===_?(p=w.length,t=F0.length,w+=F0):w=10>F0.length&&40>w.length+F0.length?w+F0:w+"...";w+="]"}else if(F.$$typeof===YX)w="<"+Y(F.type)+"/>";else{if(F.$$typeof===QQ)return"client";if(JQ.has(F)){w=JQ.get(F),w="<"+(Y(w)||"..."),v0=Object.keys(F);for(F0=0;F0<v0.length;F0++){w+=" ",E0=v0[F0],w+=v(E0)+"=";var j$=F[E0],f0=E0===_&&typeof j$==="object"&&j$!==null?L(j$):Z(j$);typeof j$!=="string"&&(f0="{"+f0+"}"),E0===_?(p=w.length,t=f0.length,w+=f0):w=10>f0.length&&40>w.length+f0.length?w+f0:w+"..."}w+=">"}else{w="{",v0=Object.keys(F);for(F0=0;F0<v0.length;F0++)0<F0&&(w+=", "),E0=v0[F0],w+=v(E0)+": ",j$=F[E0],j$=typeof j$==="object"&&j$!==null?L(j$):Z(j$),E0===_?(p=w.length,t=j$.length,w+=j$):w=10>j$.length&&40>w.length+j$.length?w+j$:w+"...";w+="}"}}return _===void 0?w:-1<p&&0<t?(F=" ".repeat(p)+"^".repeat(t),`
|
|
308
|
+
`+w+`
|
|
309
|
+
`+F):`
|
|
310
|
+
`+w}function S(F,_){var w=F.length&3,p=F.length-w,t=_;for(_=0;_<p;){var v0=F.charCodeAt(_)&255|(F.charCodeAt(++_)&255)<<8|(F.charCodeAt(++_)&255)<<16|(F.charCodeAt(++_)&255)<<24;++_,v0=3432918353*(v0&65535)+((3432918353*(v0>>>16)&65535)<<16)&4294967295,v0=v0<<15|v0>>>17,v0=461845907*(v0&65535)+((461845907*(v0>>>16)&65535)<<16)&4294967295,t^=v0,t=t<<13|t>>>19,t=5*(t&65535)+((5*(t>>>16)&65535)<<16)&4294967295,t=(t&65535)+27492+(((t>>>16)+58964&65535)<<16)}switch(v0=0,w){case 3:v0^=(F.charCodeAt(_+2)&255)<<16;case 2:v0^=(F.charCodeAt(_+1)&255)<<8;case 1:v0^=F.charCodeAt(_)&255,v0=3432918353*(v0&65535)+((3432918353*(v0>>>16)&65535)<<16)&4294967295,v0=v0<<15|v0>>>17,t^=461845907*(v0&65535)+((461845907*(v0>>>16)&65535)<<16)&4294967295}return t^=F.length,t^=t>>>16,t=2246822507*(t&65535)+((2246822507*(t>>>16)&65535)<<16)&4294967295,t^=t>>>13,t=3266489909*(t&65535)+((3266489909*(t>>>16)&65535)<<16)&4294967295,(t^t>>>16)>>>0}function B(F){Nv.push(F),uG.port2.postMessage(null)}function g(F){setTimeout(function(){throw F})}function H(F,_){if(_.byteLength!==0)if(2048<_.byteLength)0<uU&&(F.enqueue(new Uint8Array(k4.buffer,0,uU)),k4=new Uint8Array(2048),uU=0),F.enqueue(_);else{var w=k4.length-uU;w<_.byteLength&&(w===0?F.enqueue(k4):(k4.set(_.subarray(0,w),uU),F.enqueue(k4),_=_.subarray(w)),k4=new Uint8Array(2048),uU=0),k4.set(_,uU),uU+=_.byteLength}}function T(F,_){return H(F,_),!0}function c(F){k4&&0<uU&&(F.enqueue(new Uint8Array(k4.buffer,0,uU)),k4=null,uU=0)}function x(F){return OY.encode(F)}function u(F){return F=OY.encode(F),2048<F.byteLength&&console.error("precomputed chunks must be smaller than the view size configured for this host. This is a bug in React."),F}function h(F){return F.byteLength}function i(F,_){typeof F.error==="function"?F.error(_):F.close()}function m(F){return typeof Symbol==="function"&&Symbol.toStringTag&&F[Symbol.toStringTag]||F.constructor.name||"Object"}function n(F){try{return a(F),!1}catch(_){return!0}}function a(F){return""+F}function j0(F,_){if(n(F))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",_,m(F)),a(F)}function Y0(F,_){if(n(F))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.",_,m(F)),a(F)}function C0(F){if(n(F))return 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.",m(F)),a(F)}function S0(F){if(cj.call(IJ,F))return!0;if(cj.call(YQ,F))return!1;if(MI.test(F))return IJ[F]=!0;return YQ[F]=!0,console.error("Invalid attribute name: `%s`",F),!1}function h0(F,_){LI[_.type]||_.onChange||_.onInput||_.readOnly||_.disabled||_.value==null||(F==="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`.")),_.onChange||_.readOnly||_.disabled||_.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 X0(F,_){if(cj.call(Sv,_)&&Sv[_])return!0;if(O6.test(_)){if(F="aria-"+_.slice(4).toLowerCase(),F=s2.hasOwnProperty(F)?F:null,F==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",_),Sv[_]=!0;if(_!==F)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",_,F),Sv[_]=!0}if(lG.test(_)){if(F=_.toLowerCase(),F=s2.hasOwnProperty(F)?F:null,F==null)return Sv[_]=!0,!1;_!==F&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",_,F),Sv[_]=!0)}return!0}function x0(F,_){var w=[],p;for(p in _)X0(F,p)||w.push(p);_=w.map(function(t){return"`"+t+"`"}).join(", "),w.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",_,F):1<w.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",_,F)}function Q(F,_,w,p){if(cj.call(Kj,_)&&Kj[_])return!0;var t=_.toLowerCase();if(t==="onfocusin"||t==="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."),Kj[_]=!0;if(typeof w==="function"&&(F==="form"&&_==="action"||F==="input"&&_==="formAction"||F==="button"&&_==="formAction"))return!0;if(p!=null){if(F=p.possibleRegistrationNames,p.registrationNameDependencies.hasOwnProperty(_))return!0;if(p=F.hasOwnProperty(t)?F[t]:null,p!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",_,p),Kj[_]=!0;if(AI.test(_))return console.error("Unknown event handler property `%s`. It will be ignored.",_),Kj[_]=!0}else if(AI.test(_))return dG.test(_)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",_),Kj[_]=!0;if(WX.test(_)||qI.test(_))return!0;if(t==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Kj[_]=!0;if(t==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Kj[_]=!0;if(t==="is"&&w!==null&&w!==void 0&&typeof w!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof w),Kj[_]=!0;if(typeof w==="number"&&isNaN(w))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",_),Kj[_]=!0;if(wv.hasOwnProperty(t)){if(t=wv[t],t!==_)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",_,t),Kj[_]=!0}else if(_!==t)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.",_,t),Kj[_]=!0;switch(_){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 w){case"boolean":switch(_){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(t=_.toLowerCase().slice(0,5),t==="data-"||t==="aria-")return!0;return w?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()}.',w,_,_,w,_):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.',w,_,_,w,_,_,_),Kj[_]=!0}case"function":case"symbol":return Kj[_]=!0,!1;case"string":if(w==="false"||w==="true"){switch(_){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}?",w,_,w==="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".',_,w),Kj[_]=!0}}return!0}function K(F,_,w){var p=[],t;for(t in _)Q(F,t,_[t],w)||p.push(t);_=p.map(function(v0){return"`"+v0+"`"}).join(", "),p.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 ",_,F):1<p.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 ",_,F)}function D(F){return F.replace(XJ,function(_,w){return w.toUpperCase()})}function W(F){if(typeof F==="boolean"||typeof F==="number"||typeof F==="bigint")return""+F;C0(F),F=""+F;var _=ZU.exec(F);if(_){var w="",p,t=0;for(p=_.index;p<F.length;p++){switch(F.charCodeAt(p)){case 34:_=""";break;case 38:_="&";break;case 39:_="'";break;case 60:_="<";break;case 62:_=">";break;default:continue}t!==p&&(w+=F.slice(t,p)),t=p+1,w+=_}F=t!==p?w+F.slice(t,p):w}return F}function V(F){return c6.test(""+F)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":F}function R(F){return C0(F),(""+F).replace(zQ,I)}function N(F,_,w,p,t,v0){w=typeof _==="string"?_:_&&_.script;var F0=w===void 0?QJ:u('<script nonce="'+W(w)+'"'),E0=typeof _==="string"?void 0:_&&_.style,j$=E0===void 0?KX:u('<style nonce="'+W(E0)+'"'),f0=F.idPrefix,t0=[],T$=F.bootstrapScriptContent,g$=F.bootstrapScripts,B$=F.bootstrapModules;if(T$!==void 0&&(t0.push(F0),z$(t0,F),t0.push(a2,x(R(T$)),YJ)),T$=[],p!==void 0&&(T$.push(RI),T$.push(x(R(JSON.stringify(p)))),T$.push(WQ)),t&&typeof v0==="number"&&0>=v0&&console.error("React expected a positive non-zero `maxHeadersLength` option but found %s instead. When using the `onHeaders` option you may supply an optional `maxHeadersLength` option as well however, when setting this value to zero or less no headers will be captured.",v0===0?"zero":v0),p=t?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+(typeof v0==="number"?v0:2000)}:null,t={placeholderPrefix:u(f0+"P:"),segmentPrefix:u(f0+"S:"),boundaryPrefix:u(f0+"B:"),startInlineScript:F0,startInlineStyle:j$,preamble:G(),externalRuntimeScript:null,bootstrapChunks:t0,importMapChunks:T$,onHeaders:t,headers:p,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:w,style:E0},hoistableState:null,stylesToHoist:!1},g$!==void 0)for(p=0;p<g$.length;p++)v0=g$[p],j$=E0=void 0,f0={rel:"preload",as:"script",fetchPriority:"low",nonce:_},typeof v0==="string"?f0.href=F0=v0:(f0.href=F0=v0.src,f0.integrity=j$=typeof v0.integrity==="string"?v0.integrity:void 0,f0.crossOrigin=E0=typeof v0==="string"||v0.crossOrigin==null?void 0:v0.crossOrigin==="use-credentials"?"use-credentials":""),I0(F,t,F0,f0),t0.push(iG,x(W(F0)),UU),w&&t0.push(DY,x(W(w)),UU),typeof j$==="string"&&t0.push(FY,x(W(j$)),UU),typeof E0==="string"&&t0.push(sU,x(W(E0)),UU),z$(t0,F),t0.push(ZQ);if(B$!==void 0)for(_=0;_<B$.length;_++)g$=B$[_],F0=v0=void 0,E0={rel:"modulepreload",fetchPriority:"low",nonce:w},typeof g$==="string"?E0.href=p=g$:(E0.href=p=g$.src,E0.integrity=F0=typeof g$.integrity==="string"?g$.integrity:void 0,E0.crossOrigin=v0=typeof g$==="string"||g$.crossOrigin==null?void 0:g$.crossOrigin==="use-credentials"?"use-credentials":""),I0(F,t,p,E0),t0.push(cv,x(W(p)),UU),w&&t0.push(DY,x(W(w)),UU),typeof F0==="string"&&t0.push(FY,x(W(F0)),UU),typeof v0==="string"&&t0.push(sU,x(W(v0)),UU),z$(t0,F),t0.push(ZQ);return t}function q(F,_,w,p,t){return{idPrefix:F===void 0?"":F,nextFormID:0,streamingFormat:0,bootstrapScriptContent:w,bootstrapScripts:p,bootstrapModules:t,instructions:MU,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function G(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function C(F,_,w,p){return{insertionMode:F,selectedValue:_,tagScope:w,viewTransition:p}}function b(F){return C(F==="http://www.w3.org/2000/svg"?v1:F==="http://www.w3.org/1998/Math/MathML"?ZJ:OX,null,0,null)}function y(F,_,w){var p=F.tagScope&-25;switch(_){case"noscript":return C(D6,null,p|1,null);case"select":return C(D6,w.value!=null?w.value:w.defaultValue,p,null);case"svg":return C(v1,null,p,null);case"picture":return C(D6,null,p|2,null);case"math":return C(ZJ,null,p,null);case"foreignObject":return C(D6,null,p,null);case"table":return C(zJ,null,p,null);case"thead":case"tbody":case"tfoot":return C(KQ,null,p,null);case"colgroup":return C(Xv,null,p,null);case"tr":return C(Iv,null,p,null);case"head":if(F.insertionMode<D6)return C(EI,null,p,null);break;case"html":if(F.insertionMode===OX)return C(vv,null,p,null)}return F.insertionMode>=zJ||F.insertionMode<D6?C(D6,null,p,null):F.tagScope!==p?C(F.insertionMode,F.selectedValue,p,null):F}function o(F){return F===null?null:{update:F.update,enter:"none",exit:"none",share:F.update,name:F.autoName,autoName:F.autoName,nameIdx:0}}function J0(F,_){return _.tagScope&32&&(F.instructions|=128),C(_.insertionMode,_.selectedValue,_.tagScope|12,o(_.viewTransition))}function K0(F,_){F=o(_.viewTransition);var w=_.tagScope|16;return F!==null&&F.share!=="none"&&(w|=64),C(_.insertionMode,_.selectedValue,w,F)}function A0(F,_,w,p){if(_==="")return p;return p&&F.push($6),F.push(x(W(_))),!0}function H0(F,_){if(typeof _!=="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.");var w=!0,p;for(p in _)if(cj.call(_,p)){var t=_[p];if(t!=null&&typeof t!=="boolean"&&t!==""){if(p.indexOf("--")===0){var v0=x(W(p));Y0(t,p),t=x(W((""+t).trim()))}else{v0=p;var F0=t;if(-1<v0.indexOf("-")){var E0=v0;kv.hasOwnProperty(E0)&&kv[E0]||(kv[E0]=!0,console.error("Unsupported style property %s. Did you mean %s?",E0,D(E0.replace(_U,"ms-"))))}else if(HU.test(v0))E0=v0,kv.hasOwnProperty(E0)&&kv[E0]||(kv[E0]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",E0,E0.charAt(0).toUpperCase()+E0.slice(1)));else if(w6.test(F0)){E0=v0;var j$=F0;PI.hasOwnProperty(j$)&&PI[j$]||(PI[j$]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,E0,j$.replace(w6,"")))}typeof F0==="number"&&(isNaN(F0)?Uv||(Uv=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",v0)):isFinite(F0)||Y4||(Y4=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",v0))),v0=p,F0=OQ.get(v0),F0!==void 0?v0=F0:(F0=u(W(v0.replace(k6,"-$1").toLowerCase().replace(G4,"-ms-"))),OQ.set(v0,F0),v0=F0),typeof t==="number"?t=t===0||pG.has(p)?x(""+t):x(t+"px"):(Y0(t,p),t=x(W((""+t).trim())))}w?(w=!1,F.push(TI,v0,WJ,t)):F.push(VQ,v0,WJ,t)}}w||F.push(UU)}function W0(F,_,w){w&&typeof w!=="function"&&typeof w!=="symbol"&&F.push(j6,x(_),DQ)}function z0(F,_,w){typeof w!=="function"&&typeof w!=="symbol"&&typeof w!=="boolean"&&F.push(j6,x(_),x6,x(W(w)),UU)}function D0(F,_){this.push(xv),L0(F),z0(this,"name",_),z0(this,"value",F),this.push(KJ)}function L0(F){if(typeof F!=="string")throw Error("File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.")}function k0(F,_){if(typeof _.$$FORM_ACTION==="function"){var w=F.nextFormID++;F=F.idPrefix+w;try{var p=_.$$FORM_ACTION(F);if(p){var t=p.data;t!=null&&t.forEach(L0)}return p}catch(v0){if(typeof v0==="object"&&v0!==null&&typeof v0.then==="function")throw v0;console.error(`Failed to serialize an action for progressive enhancement:
|
|
311
|
+
%s`,v0)}}return null}function Z0(F,_,w,p,t,v0,F0,E0){var j$=null;if(typeof p==="function"){E0===null||_Y||(_Y=!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.')),t===null&&v0===null||_Q||(_Q=!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.")),F0===null||OJ||(OJ=!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."));var f0=k0(_,p);f0!==null?(E0=f0.name,p=f0.action||"",t=f0.encType,v0=f0.method,F0=f0.target,j$=f0.data):(F.push(j6,x("formAction"),x6,HY,UU),F0=v0=t=p=E0=null,R0(_,w))}return E0!=null&&r(F,"name",E0),p!=null&&r(F,"formAction",p),t!=null&&r(F,"formEncType",t),v0!=null&&r(F,"formMethod",v0),F0!=null&&r(F,"formTarget",F0),j$}function r(F,_,w){switch(_){case"className":z0(F,"class",w);break;case"tabIndex":z0(F,"tabindex",w);break;case"dir":case"role":case"viewBox":case"width":case"height":z0(F,_,w);break;case"style":H0(F,w);break;case"src":case"href":if(w===""){_==="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.',_,_):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.',_,_);break}case"action":case"formAction":if(w==null||typeof w==="function"||typeof w==="symbol"||typeof w==="boolean")break;j0(w,_),w=V(""+w),F.push(j6,x(_),x6,x(W(w)),UU);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":W0(F,_.toLowerCase(),w);break;case"xlinkHref":if(typeof w==="function"||typeof w==="symbol"||typeof w==="boolean")break;j0(w,_),w=V(""+w),F.push(j6,x("xlink:href"),x6,x(W(w)),UU);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof w!=="function"&&typeof w!=="symbol"&&F.push(j6,x(_),x6,x(W(w)),UU);break;case"inert":w!==""||GJ[_]||(GJ[_]=!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.",_));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":w&&typeof w!=="function"&&typeof w!=="symbol"&&F.push(j6,x(_),DQ);break;case"capture":case"download":w===!0?F.push(j6,x(_),DQ):w!==!1&&typeof w!=="function"&&typeof w!=="symbol"&&F.push(j6,x(_),x6,x(W(w)),UU);break;case"cols":case"rows":case"size":case"span":typeof w!=="function"&&typeof w!=="symbol"&&!isNaN(w)&&1<=w&&F.push(j6,x(_),x6,x(W(w)),UU);break;case"rowSpan":case"start":typeof w==="function"||typeof w==="symbol"||isNaN(w)||F.push(j6,x(_),x6,x(W(w)),UU);break;case"xlinkActuate":z0(F,"xlink:actuate",w);break;case"xlinkArcrole":z0(F,"xlink:arcrole",w);break;case"xlinkRole":z0(F,"xlink:role",w);break;case"xlinkShow":z0(F,"xlink:show",w);break;case"xlinkTitle":z0(F,"xlink:title",w);break;case"xlinkType":z0(F,"xlink:type",w);break;case"xmlBase":z0(F,"xml:base",w);break;case"xmlLang":z0(F,"xml:lang",w);break;case"xmlSpace":z0(F,"xml:space",w);break;default:if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){if(_=VY.get(_)||_,S0(_)){switch(typeof w){case"function":case"symbol":return;case"boolean":var p=_.toLowerCase().slice(0,5);if(p!=="data-"&&p!=="aria-")return}F.push(j6,x(_),x6,x(W(w)),UU)}}}}function U0(F,_,w){if(_!=null){if(w!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof _!=="object"||!("__html"in _))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");_=_.__html,_!==null&&_!==void 0&&(C0(_),F.push(x(""+_)))}}function g0(F,_){var w=F[_];w!=null&&(w=jv(w),F.multiple&&!w?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",_):!F.multiple&&w&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",_))}function M0(F){var _="";return CO.Children.forEach(F,function(w){w!=null&&(_+=w,N$||typeof w==="string"||typeof w==="number"||typeof w==="bigint"||(N$=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),_}function R0(F,_){if((F.instructions&16)===MU){F.instructions|=16;var{preamble:w,bootstrapChunks:p}=_;(w.htmlChunks||w.headChunks)&&p.length===0?(p.push(_.startInlineScript),z$(p,F),p.push(a2,Gz,YJ)):p.unshift(_.startInlineScript,a2,Gz,YJ)}}function o0(F,_){F.push(s0("link"));for(var w in _)if(cj.call(_,w)){var p=_[w];if(p!=null)switch(w){case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:r(F,w,p)}}return F.push(KJ),null}function O0(F){return C0(F),(""+F).replace(tG,U)}function P0(F,_,w){F.push(s0(w));for(var p in _)if(cj.call(_,p)){var t=_[p];if(t!=null)switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(w+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:r(F,p,t)}}return F.push(KJ),null}function q$(F,_){F.push(s0("title"));var w=null,p=null,t;for(t in _)if(cj.call(_,t)){var v0=_[t];if(v0!=null)switch(t){case"children":w=v0;break;case"dangerouslySetInnerHTML":p=v0;break;default:r(F,t,v0)}}return F.push(a2),_=Array.isArray(w)?2>w.length?w[0]:null:w,typeof _!=="function"&&typeof _!=="symbol"&&_!==null&&_!==void 0&&F.push(x(W(""+_))),U0(F,p,w),F.push(Lj("title")),null}function w0(F,_){F.push(s0("script"));var w=null,p=null,t;for(t in _)if(cj.call(_,t)){var v0=_[t];if(v0!=null)switch(t){case"children":w=v0;break;case"dangerouslySetInnerHTML":p=v0;break;default:r(F,t,v0)}}return F.push(a2),w!=null&&typeof w!=="string"&&(_=typeof w==="number"?"a number for children":Array.isArray(w)?"an array for children":"something unexpected for children",console.error("A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.",_)),U0(F,p,w),typeof w==="string"&&F.push(x(R(w))),F.push(Lj("script")),null}function n0(F,_,w){F.push(s0(w));var p=w=null,t;for(t in _)if(cj.call(_,t)){var v0=_[t];if(v0!=null)switch(t){case"children":w=v0;break;case"dangerouslySetInnerHTML":p=v0;break;default:r(F,t,v0)}}return F.push(a2),U0(F,p,w),w}function i$(F,_,w){F.push(s0(w));var p=w=null,t;for(t in _)if(cj.call(_,t)){var v0=_[t];if(v0!=null)switch(t){case"children":w=v0;break;case"dangerouslySetInnerHTML":p=v0;break;default:r(F,t,v0)}}return F.push(a2),U0(F,p,w),typeof w==="string"?(F.push(x(W(w))),null):w}function s0(F){var _=gI.get(F);if(_===void 0){if(!BI.test(F))throw Error("Invalid tag: "+F);_=u("<"+F),gI.set(F,_)}return _}function Z$(F,_,w,p,t,v0,F0,E0,j$){x0(_,w),_!=="input"&&_!=="textarea"&&_!=="select"||w==null||w.value!==null||e4||(e4=!0,_==="select"&&w.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.",_));$:if(_.indexOf("-")===-1)var f0=!1;else 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":f0=!1;break $;default:f0=!0}switch(f0||typeof w.is==="string"||K(_,w,null),!w.suppressContentEditableWarning&&w.contentEditable&&w.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."),E0.insertionMode!==v1&&E0.insertionMode!==ZJ&&_.indexOf("-")===-1&&_.toLowerCase()!==_&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",_),_){case"div":case"span":case"svg":case"path":break;case"a":F.push(s0("a"));var t0=null,T$=null,g$;for(g$ in w)if(cj.call(w,g$)){var B$=w[g$];if(B$!=null)switch(g$){case"children":t0=B$;break;case"dangerouslySetInnerHTML":T$=B$;break;case"href":B$===""?z0(F,"href",""):r(F,g$,B$);break;default:r(F,g$,B$)}}if(F.push(a2),U0(F,T$,t0),typeof t0==="string"){F.push(x(W(t0)));var W$=null}else W$=t0;return W$;case"g":case"p":case"li":break;case"select":h0("select",w),g0(w,"value"),g0(w,"defaultValue"),w.value===void 0||w.defaultValue===void 0||FQ||(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"),FQ=!0),F.push(s0("select"));var a$=null,s$=null,t$;for(t$ in w)if(cj.call(w,t$)){var Yj=w[t$];if(Yj!=null)switch(t$){case"children":a$=Yj;break;case"dangerouslySetInnerHTML":s$=Yj;break;case"defaultValue":case"value":break;default:r(F,t$,Yj)}}return F.push(a2),U0(F,s$,a$),a$;case"option":var B2=E0.selectedValue;F.push(s0("option"));var ij=null,zj=null,r$=null,ej=null,h2;for(h2 in w)if(cj.call(w,h2)){var xj=w[h2];if(xj!=null)switch(h2){case"children":ij=xj;break;case"selected":r$=xj,HQ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),HQ=!0);break;case"dangerouslySetInnerHTML":ej=xj;break;case"value":zj=xj;default:r(F,h2,xj)}}if(B2!=null){if(zj!==null){j0(zj,"value");var $2=""+zj}else ej===null||VX||(VX=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),$2=M0(ij);if(jv(B2)){for(var dU=0;dU<B2.length;dU++)if(j0(B2[dU],"value"),""+B2[dU]===$2){F.push(MQ);break}}else j0(B2,"select.value"),""+B2===$2&&F.push(MQ)}else r$&&F.push(MQ);return F.push(a2),U0(F,ej,ij),ij;case"textarea":h0("textarea",w),w.value===void 0||w.defaultValue===void 0||Fj||(console.error("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"),Fj=!0),F.push(s0("textarea"));var WU=null,y2=null,hj=null,f2;for(f2 in w)if(cj.call(w,f2)){var nU=w[f2];if(nU!=null)switch(f2){case"children":hj=nU;break;case"value":WU=nU;break;case"defaultValue":y2=nU;break;case"dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:r(F,f2,nU)}}if(WU===null&&y2!==null&&(WU=y2),F.push(a2),hj!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),WU!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jv(hj)){if(1<hj.length)throw Error("<textarea> can only have at most one child.");C0(hj[0]),WU=""+hj[0]}C0(hj),WU=""+hj}return typeof WU==="string"&&WU[0]===`
|
|
312
|
+
`&&F.push(DX),WU!==null&&(j0(WU,"value"),F.push(x(W(""+WU)))),null;case"input":h0("input",w),F.push(s0("input"));var z4=null,vU=null,I2=null,CU=null,$4=null,p2=null,E4=null,iU=null,g2=null,W4;for(W4 in w)if(cj.call(w,W4)){var IU=w[W4];if(IU!=null)switch(W4){case"children":case"dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"name":z4=IU;break;case"formAction":vU=IU;break;case"formEncType":I2=IU;break;case"formMethod":CU=IU;break;case"formTarget":$4=IU;break;case"defaultChecked":g2=IU;break;case"defaultValue":E4=IU;break;case"checked":iU=IU;break;case"value":p2=IU;break;default:r(F,W4,IU)}}vU===null||w.type==="image"||w.type==="submit"||e2||(e2=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".'));var dv=Z0(F,p,t,vU,I2,CU,$4,z4);return iU===null||g2===null||F6||(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","A component",w.type),F6=!0),p2===null||E4===null||yv||(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","A component",w.type),yv=!0),iU!==null?W0(F,"checked",iU):g2!==null&&W0(F,"checked",g2),p2!==null?r(F,"value",p2):E4!==null&&r(F,"value",E4),F.push(KJ),dv!=null&&dv.forEach(D0,F),null;case"button":F.push(s0("button"));var X6=null,M2=null,xU=null,RU=null,P1=null,_j=null,K4=null,C1;for(C1 in w)if(cj.call(w,C1)){var rU=w[C1];if(rU!=null)switch(C1){case"children":X6=rU;break;case"dangerouslySetInnerHTML":M2=rU;break;case"name":xU=rU;break;case"formAction":RU=rU;break;case"formEncType":P1=rU;break;case"formMethod":_j=rU;break;case"formTarget":K4=rU;break;default:r(F,C1,rU)}}RU===null||w.type==null||w.type==="submit"||e2||(e2=!0,console.error('A button can only specify a formAction along with type="submit" or no type.'));var Zv=Z0(F,p,t,RU,P1,_j,K4,xU);if(F.push(a2),Zv!=null&&Zv.forEach(D0,F),U0(F,M2,X6),typeof X6==="string"){F.push(x(W(X6)));var SI=null}else SI=X6;return SI;case"form":F.push(s0("form"));var j4=null,R1=null,EU=null,G1=null,m4=null,h6=null,T4;for(T4 in w)if(cj.call(w,T4)){var l2=w[T4];if(l2!=null)switch(T4){case"children":j4=l2;break;case"dangerouslySetInnerHTML":R1=l2;break;case"action":EU=l2;break;case"encType":G1=l2;break;case"method":m4=l2;break;case"target":h6=l2;break;default:r(F,T4,l2)}}var U4=null,v4=null;if(typeof EU==="function"){G1===null&&m4===null||_Q||(_Q=!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.")),h6===null||OJ||(OJ=!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."));var XU=k0(p,EU);XU!==null?(EU=XU.action||"",G1=XU.encType,m4=XU.method,h6=XU.target,U4=XU.data,v4=XU.name):(F.push(j6,x("action"),x6,HY,UU),h6=m4=G1=EU=null,R0(p,t))}if(EU!=null&&r(F,"action",EU),G1!=null&&r(F,"encType",G1),m4!=null&&r(F,"method",m4),h6!=null&&r(F,"target",h6),F.push(a2),v4!==null&&(F.push(xv),z0(F,"name",v4),F.push(KJ),U4!=null&&U4.forEach(D0,F)),U0(F,R1,j4),typeof j4==="string"){F.push(x(W(j4)));var L6=null}else L6=j4;return L6;case"menuitem":F.push(s0("menuitem"));for(var u4 in w)if(cj.call(w,u4)){var p6=w[u4];if(p6!=null)switch(u4){case"children":case"dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:r(F,u4,p6)}}return F.push(a2),null;case"object":F.push(s0("object"));var h4=null,wI=null,TU;for(TU in w)if(cj.call(w,TU)){var B4=w[TU];if(B4!=null)switch(TU){case"children":h4=B4;break;case"dangerouslySetInnerHTML":wI=B4;break;case"data":j0(B4,"data");var E1=V(""+B4);if(E1===""){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.',TU,TU);break}F.push(j6,x("data"),x6,x(W(E1)),UU);break;default:r(F,TU,B4)}}if(F.push(a2),U0(F,wI,h4),typeof h4==="string"){F.push(x(W(h4)));var nv=null}else nv=h4;return nv;case"title":var Z1=E0.tagScope&1,SQ=E0.tagScope&4;if(cj.call(w,"children")){var vj=w.children,l6=Array.isArray(vj)?2>vj.length?vj[0]:null:vj;Array.isArray(vj)&&1<vj.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",vj.length):typeof l6==="function"||typeof l6==="symbol"?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof l6==="function"?"a Function":"a Sybmol"):l6&&l6.toString==={}.toString&&(l6.$$typeof!=null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."))}if(E0.insertionMode===v1||Z1||w.itemProp!=null)var A6=q$(F,w);else SQ?A6=null:(q$(t.hoistableChunks,w),A6=void 0);return A6;case"link":var zv=E0.tagScope&1,NX=E0.tagScope&4,Wv=w.rel,KU=w.href,J6=w.precedence;if(E0.insertionMode===v1||zv||w.itemProp!=null||typeof Wv!=="string"||typeof KU!=="string"||KU===""){Wv==="stylesheet"&&typeof w.precedence==="string"&&(typeof KU==="string"&&KU||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',KU===null?"`null`":KU===void 0?"`undefined`":KU===""?"an empty string":'something with type "'+typeof KU+'"')),o0(F,w);var d6=null}else if(w.rel==="stylesheet")if(typeof J6!=="string"||w.disabled!=null||w.onLoad||w.onError){if(typeof J6==="string"){if(w.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active 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 `disabled` prop, otherwise remove the `precedence` prop.');else if(w.onLoad||w.onError){var Kv=w.onLoad&&w.onError?"`onLoad` and `onError` props":w.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %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.',Kv,Kv)}}d6=o0(F,w)}else{var pj=t.styles.get(J6),d2=p.styleResources.hasOwnProperty(KU)?p.styleResources[KU]:void 0;if(d2!==AU){p.styleResources[KU]=AU,pj||(pj={precedence:x(W(J6)),rules:[],hrefs:[],sheets:new Map},t.styles.set(J6,pj));var Aj={state:A1,props:k2({},w,{"data-precedence":w.precedence,precedence:null})};if(d2){d2.length===2&&_0(Aj.props,d2);var rj=t.preloads.stylesheets.get(KU);rj&&0<rj.length?rj.length=0:Aj.state=uv}pj.sheets.set(KU,Aj),F0&&F0.stylesheets.add(Aj)}else if(pj){var n6=pj.sheets.get(KU);n6&&F0&&F0.stylesheets.add(n6)}j$&&F.push($6),d6=null}else w.onLoad||w.onError?d6=o0(F,w):(j$&&F.push($6),d6=NX?null:o0(t.hoistableChunks,w));return d6;case"script":var z1=E0.tagScope&1,yj=w.async;if(typeof w.src!=="string"||!w.src||!yj||typeof yj==="function"||typeof yj==="symbol"||w.onLoad||w.onError||E0.insertionMode===v1||z1||w.itemProp!=null)var i6=w0(F,w);else{var n2=w.src;if(w.type==="module")var kI=p.moduleScriptResources,T1=t.preloads.moduleScripts;else kI=p.scriptResources,T1=t.preloads.scripts;var B1=kI.hasOwnProperty(n2)?kI[n2]:void 0;if(B1!==AU){kI[n2]=AU;var Ov=w;if(B1){B1.length===2&&(Ov=k2({},w),_0(Ov,B1));var O4=T1.get(n2);O4&&(O4.length=0)}var SX=[];t.scripts.add(SX),w0(SX,Ov)}j$&&F.push($6),i6=null}return i6;case"style":var wX=E0.tagScope&1;if(cj.call(w,"children")){var iv=w.children,Vv=Array.isArray(iv)?2>iv.length?iv[0]:null:iv;(typeof Vv==="function"||typeof Vv==="symbol"||Array.isArray(Vv))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof Vv==="function"?"a Function":typeof Vv==="symbol"?"a Sybmol":"an Array")}var{precedence:g1,href:W1,nonce:q6}=w;if(E0.insertionMode===v1||wX||w.itemProp!=null||typeof g1!=="string"||typeof W1!=="string"||W1===""){F.push(s0("style"));var I4=null,K1=null,TJ;for(TJ in w)if(cj.call(w,TJ)){var wQ=w[TJ];if(wQ!=null)switch(TJ){case"children":I4=wQ;break;case"dangerouslySetInnerHTML":K1=wQ;break;default:r(F,TJ,wQ)}}F.push(a2);var cI=Array.isArray(I4)?2>I4.length?I4[0]:null:I4;typeof cI!=="function"&&typeof cI!=="symbol"&&cI!==null&&cI!==void 0&&F.push(x(O0(cI))),U0(F,K1,I4),F.push(Lj("style"));var Rz=null}else{W1.includes(" ")&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',W1);var N1=t.styles.get(g1),BJ=p.styleResources.hasOwnProperty(W1)?p.styleResources[W1]:void 0;if(BJ!==AU){p.styleResources[W1]=AU,BJ&&console.error('React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.',W1),N1||(N1={precedence:x(W(g1)),rules:[],hrefs:[],sheets:new Map},t.styles.set(g1,N1));var kQ=t.nonce.style;if(kQ&&kQ!==q6)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',g1,q6,kQ);else{!kQ&&q6&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',g1,q6),N1.hrefs.push(x(W(W1)));var bY=N1.rules,mY=null,RO=null,WZ;for(WZ in w)if(cj.call(w,WZ)){var DW=w[WZ];if(DW!=null)switch(WZ){case"children":mY=DW;break;case"dangerouslySetInnerHTML":RO=DW}}var uY=Array.isArray(mY)?2>mY.length?mY[0]:null:mY;typeof uY!=="function"&&typeof uY!=="symbol"&&uY!==null&&uY!==void 0&&bY.push(x(O0(uY))),U0(bY,RO,mY)}}N1&&F0&&F0.styles.add(N1),j$&&F.push($6),Rz=void 0}return Rz;case"meta":var gJ=E0.tagScope&1,sD=E0.tagScope&4;if(E0.insertionMode===v1||gJ||w.itemProp!=null)var EO=P0(F,w,"meta");else j$&&F.push($6),EO=sD?null:typeof w.charSet==="string"?P0(t.charsetChunks,w,"meta"):w.name==="viewport"?P0(t.viewportChunks,w,"meta"):P0(t.hoistableChunks,w,"meta");return EO;case"listing":case"pre":F.push(s0(_));var hY=null,pY=null,KZ;for(KZ in w)if(cj.call(w,KZ)){var Ez=w[KZ];if(Ez!=null)switch(KZ){case"children":hY=Ez;break;case"dangerouslySetInnerHTML":pY=Ez;break;default:r(F,KZ,Ez)}}if(F.push(a2),pY!=null){if(hY!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof pY!=="object"||!("__html"in pY))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var NJ=pY.__html;NJ!==null&&NJ!==void 0&&(typeof NJ==="string"&&0<NJ.length&&NJ[0]===`
|
|
313
|
+
`?F.push(DX,x(NJ)):(C0(NJ),F.push(x(""+NJ))))}return typeof hY==="string"&&hY[0]===`
|
|
314
|
+
`&&F.push(DX),hY;case"img":var aD=E0.tagScope&3,P6=w.src,Q6=w.srcSet;if(!(w.loading==="lazy"||!P6&&!Q6||typeof P6!=="string"&&P6!=null||typeof Q6!=="string"&&Q6!=null||w.fetchPriority==="low"||aD)&&(typeof P6!=="string"||P6[4]!==":"||P6[0]!=="d"&&P6[0]!=="D"||P6[1]!=="a"&&P6[1]!=="A"||P6[2]!=="t"&&P6[2]!=="T"||P6[3]!=="a"&&P6[3]!=="A")&&(typeof Q6!=="string"||Q6[4]!==":"||Q6[0]!=="d"&&Q6[0]!=="D"||Q6[1]!=="a"&&Q6[1]!=="A"||Q6[2]!=="t"&&Q6[2]!=="T"||Q6[3]!=="a"&&Q6[3]!=="A")){F0!==null&&E0.tagScope&64&&(F0.suspenseyImages=!0);var Tz=typeof w.sizes==="string"?w.sizes:void 0,lY=Q6?Q6+`
|
|
315
|
+
`+(Tz||""):P6,FW=t.preloads.images,SJ=FW.get(lY);if(SJ){if(w.fetchPriority==="high"||10>t.highImagePreloads.size)FW.delete(lY),t.highImagePreloads.add(SJ)}else if(!p.imageResources.hasOwnProperty(lY)){p.imageResources[lY]=P4;var OZ=w.crossOrigin,Bz=typeof OZ==="string"?OZ==="use-credentials"?OZ:"":void 0,cQ=t.headers,r6;cQ&&0<cQ.remainingCapacity&&typeof w.srcSet!=="string"&&(w.fetchPriority==="high"||500>cQ.highImagePreloads.length)&&(r6=b0(P6,"image",{imageSrcSet:w.srcSet,imageSizes:w.sizes,crossOrigin:Bz,integrity:w.integrity,nonce:w.nonce,type:w.type,fetchPriority:w.fetchPriority,referrerPolicy:w.refererPolicy}),0<=(cQ.remainingCapacity-=r6.length+2))?(t.resets.image[lY]=P4,cQ.highImagePreloads&&(cQ.highImagePreloads+=", "),cQ.highImagePreloads+=r6):(SJ=[],o0(SJ,{rel:"preload",as:"image",href:Q6?void 0:P6,imageSrcSet:Q6,imageSizes:Tz,crossOrigin:Bz,integrity:w.integrity,type:w.type,fetchPriority:w.fetchPriority,referrerPolicy:w.referrerPolicy}),w.fetchPriority==="high"||10>t.highImagePreloads.size?t.highImagePreloads.add(SJ):(t.bulkPreloads.add(SJ),FW.set(lY,SJ)))}}return P0(F,w,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return P0(F,w,_);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":break;case"head":if(E0.insertionMode<D6){var gz=v0||t.preamble;if(gz.headChunks)throw Error("The `<head>` tag may only be rendered once.");v0!==null&&F.push(U6),gz.headChunks=[];var HW=n0(gz.headChunks,w,"head")}else HW=i$(F,w,"head");return HW;case"body":if(E0.insertionMode<D6){var VZ=v0||t.preamble;if(VZ.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");v0!==null&&F.push(Y2),VZ.bodyChunks=[];var _W=n0(VZ.bodyChunks,w,"body")}else _W=i$(F,w,"body");return _W;case"html":if(E0.insertionMode===OX){var MW=v0||t.preamble;if(MW.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");v0!==null&&F.push(MY),MW.htmlChunks=[I1];var TO=n0(MW.htmlChunks,w,"html")}else TO=i$(F,w,"html");return TO;default:if(_.indexOf("-")!==-1){F.push(s0(_));var LW=null,AW=null,dY;for(dY in w)if(cj.call(w,dY)){var o6=w[dY];if(o6!=null){var DZ=dY;switch(dY){case"children":LW=o6;break;case"dangerouslySetInnerHTML":AW=o6;break;case"style":H0(F,o6);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":DZ="class";default:if(S0(dY)&&typeof o6!=="function"&&typeof o6!=="symbol"&&o6!==!1){if(o6===!0)o6="";else if(typeof o6==="object")continue;F.push(j6,x(DZ),x6,x(W(o6)),UU)}}}}return F.push(a2),U0(F,AW,LW),LW}}return i$(F,w,_)}function Lj(F){var _=LY.get(F);return _===void 0&&(_=u("</"+F+">"),LY.set(F,_)),_}function J$(F,_){F=F.preamble,F.htmlChunks===null&&_.htmlChunks&&(F.htmlChunks=_.htmlChunks),F.headChunks===null&&_.headChunks&&(F.headChunks=_.headChunks),F.bodyChunks===null&&_.bodyChunks&&(F.bodyChunks=_.bodyChunks)}function Y$(F,_){_=_.bootstrapChunks;for(var w=0;w<_.length-1;w++)H(F,_[w]);return w<_.length?(w=_[w],_.length=0,T(F,w)):!0}function dj(F,_,w){if(H(F,zz),w===null)throw Error("An ID must have been assigned before we can complete the boundary.");return H(F,_.boundaryPrefix),H(F,x(w.toString(16))),T(F,Wz)}function M$(F,_,w,p){switch(w.insertionMode){case OX:case vv:case EI:case D6:return H(F,Hz),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,AQ);case v1:return H(F,Jv),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,_z);case ZJ:return H(F,FX),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,PY);case zJ:return H(F,Az),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,qQ);case KQ:return H(F,PQ),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,fv);case Iv:return H(F,HJ),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,$Z);case Xv:return H(F,RY),H(F,_.segmentPrefix),H(F,x(p.toString(16))),T(F,jZ);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function F$(F,_){switch(_.insertionMode){case OX:case vv:case EI:case D6:return T(F,qY);case v1:return T(F,Mz);case ZJ:return T(F,Lz);case zJ:return T(F,HX);case KQ:return T(F,x4);case Iv:return T(F,CY);case Xv:return T(F,qz);default:throw Error("Unknown insertion mode. This is a bug in React.")}}function J2(F){return JSON.stringify(F).replace(EQ,function(_){switch(_){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function e(F){return JSON.stringify(F).replace(LX,function(_){switch(_){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function V0(F){var{rules:_,hrefs:w}=F;0<_.length&&w.length===0&&console.error("React expected to have at least one href for an a hoistable style but found none. This is a bug in React.");var p=0;if(w.length){H(this,H2.startInlineStyle),H(this,GZ),H(this,F.precedence);for(H(this,v6);p<w.length-1;p++)H(this,w[p]),H(this,R2);H(this,w[p]),H(this,NY);for(p=0;p<_.length;p++)H(this,_[p]);bv=T(this,VW),y6=!0,_.length=0,w.length=0}}function P$(F){return F.state!==f6?y6=!0:!1}function l0(F,_,w){return y6=!1,bv=!0,H2=w,_.styles.forEach(V0,F),H2=null,_.stylesheets.forEach(P$),y6&&(w.stylesToHoist=!0),bv}function d0(F){for(var _=0;_<F.length;_++)H(this,F[_]);F.length=0}function n$(F){o0(X1,F.props);for(var _=0;_<X1.length;_++)H(this,X1[_]);X1.length=0,F.state=f6}function a0(F){var _=0<F.sheets.size;F.sheets.forEach(n$,this),F.sheets.clear();var{rules:w,hrefs:p}=F;if(!_||p.length){if(H(this,H2.startInlineStyle),H(this,_J),H(this,F.precedence),F=0,p.length){for(H(this,TQ);F<p.length-1;F++)H(this,p[F]),H(this,R2);H(this,p[F])}H(this,AX);for(F=0;F<w.length;F++)H(this,w[F]);H(this,MJ),w.length=0,p.length=0}}function X$(F){if(F.state===A1){F.state=uv;var _=F.props;o0(X1,{rel:"preload",as:"style",href:F.props.href,crossOrigin:_.crossOrigin,fetchPriority:_.fetchPriority,integrity:_.integrity,media:_.media,hrefLang:_.hrefLang,referrerPolicy:_.referrerPolicy});for(F=0;F<X1.length;F++)H(this,X1[F]);X1.length=0}}function u$(F){F.sheets.forEach(X$,this),F.sheets.clear()}function z$(F,_){(_.instructions&q4)===MU&&(_.instructions|=q4,F.push(qX,x(W("_"+_.idPrefix+"R_")),UU))}function _$(F,_){H(F,PX);var w=PX;_.stylesheets.forEach(function(p){if(p.state!==f6)if(p.state===NI)H(F,w),p=p.props.href,j0(p,"href"),H(F,x(e(""+p))),H(F,mv),w=J1;else{H(F,w);var t=p.props["data-precedence"],v0=p.props,F0=V(""+p.props.href);H(F,x(e(F0))),j0(t,"precedence"),t=""+t,H(F,CX),H(F,x(e(t)));for(var E0 in v0)if(cj.call(v0,E0)&&(t=v0[E0],t!=null))switch(E0){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:A2(F,E0,t)}H(F,mv),w=J1,p.state=NI}}),H(F,mv)}function A2(F,_,w){var p=_.toLowerCase();switch(typeof w){case"function":case"symbol":return}switch(_){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":p="class",j0(w,p),_=""+w;break;case"hidden":if(w===!1)return;_="";break;case"src":case"href":w=V(w),j0(w,p),_=""+w;break;default:if(2<_.length&&(_[0]==="o"||_[0]==="O")&&(_[1]==="n"||_[1]==="N")||!S0(_))return;j0(w,p),_=""+w}H(F,CX),H(F,x(e(p))),H(F,CX),H(F,x(e(_)))}function L$(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function I0(F,_,w,p){(F.scriptResources.hasOwnProperty(w)||F.moduleScriptResources.hasOwnProperty(w))&&console.error('Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue',w),F.scriptResources[w]=AU,F.moduleScriptResources[w]=AU,F=[],o0(F,p),_.bootstrapScripts.add(F)}function _0(F,_){F.crossOrigin==null&&(F.crossOrigin=_[0]),F.integrity==null&&(F.integrity=_[1])}function b0(F,_,w){F=p0(F),_=K$(_,"as"),_="<"+F+'>; rel=preload; as="'+_+'"';for(var p in w)cj.call(w,p)&&(F=w[p],typeof F==="string"&&(_+="; "+p.toLowerCase()+'="'+K$(F,p)+'"'));return _}function p0(F){return j0(F,"href"),(""+F).replace(SY,c$)}function c$(F){switch(F){case"<":return"%3C";case">":return"%3E";case`
|
|
316
|
+
`:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function K$(F,_){return n(F)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",_,m(F)),a(F)),(""+F).replace(LJ,O$)}function O$(F){switch(F){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
|
|
317
|
+
`:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function q2(F){this.styles.add(F)}function E$(F){this.stylesheets.add(F)}function D$(F,_){_.styles.forEach(q2,F),_.stylesheets.forEach(E$,F),_.suspenseyImages&&(F.suspenseyImages=!0)}function j2(F){return 0<F.stylesheets.size||F.suspenseyImages}function U$(F){if(F==null)return null;if(typeof F==="function")return F.$$typeof===C4?null:F.displayName||F.name||null;if(typeof F==="string")return F;switch(F){case M1:return"Fragment";case WY:return"Profiler";case zY:return"StrictMode";case N6:return"Suspense";case vJ:return"SuspenseList";case KY:return"Activity"}if(typeof F==="object")switch(typeof F.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),F.$$typeof){case e1:return"Portal";case t2:return F.displayName||"Context";case UJ:return(F._context.displayName||"Context")+".Consumer";case nj:var _=F.render;return F=F.displayName,F||(F=_.displayName||_.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case GX:return _=F.displayName||null,_!==null?_:U$(F.type)||"Memo";case gv:_=F._payload,F=F._init;try{return U$(F(_))}catch(w){}}return null}function C$(F,_){if(F!==_){F.context._currentValue=F.parentValue,F=F.parent;var w=_.parent;if(F===null){if(w!==null)throw Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(w===null)throw Error("The stacks must reach the root at the same time. This is a bug in React.");C$(F,w)}_.context._currentValue=_.value}}function W2(F){F.context._currentValue=F.parentValue,F=F.parent,F!==null&&W2(F)}function Jj(F){var _=F.parent;_!==null&&Jj(_),F.context._currentValue=F.value}function e$(F,_){if(F.context._currentValue=F.parentValue,F=F.parent,F===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");F.depth===_.depth?C$(F,_):e$(F,_)}function tj(F,_){var w=_.parent;if(w===null)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");F.depth===w.depth?C$(F,w):tj(F,w),_.context._currentValue=_.value}function Qj(F){var _=hv;_!==F&&(_===null?Jj(F):F===null?W2(_):_.depth===F.depth?C$(_,F):_.depth>F.depth?e$(_,F):tj(_,F),hv=F)}function K2(F){if(F!==null&&typeof F!=="function"){var _=String(F);ZZ.has(_)||(ZZ.add(_),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",F))}}function N2(F,_){F=(F=F.constructor)&&U$(F)||"ReactClass";var w=F+"."+_;wY[w]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
318
|
+
|
|
319
|
+
Please check the code for the %s component.`,_,F),wY[w]=!0)}function O2(F,_,w){var p=F.id;F=F.overflow;var t=32-EX(p)-1;p&=~(1<<t),w+=1;var v0=32-EX(_)+t;if(30<v0){var F0=t-t%5;return v0=(p&(1<<F0)-1).toString(32),p>>=F0,t-=F0,{id:1<<32-EX(_)+t|w<<t|p,overflow:v0+F}}return{id:1<<v0|w<<t|p,overflow:F}}function $U(F){return F>>>=0,F===0?32:31-(zZ(F)/fY|0)|0}function Tj(){}function uj(F,_,w){switch(w=F[w],w===void 0?F.push(_):w!==_&&(_.then(Tj,Tj),_=w),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status==="string"?_.then(Tj,Tj):(F=_,F.status="pending",F.then(function(p){if(_.status==="pending"){var t=_;t.status="fulfilled",t.value=p}},function(p){if(_.status==="pending"){var t=_;t.status="rejected",t.reason=p}})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}throw TX=_,f4}}function V2(){if(TX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var F=TX;return TX=null,F}function S2(F,_){return F===_&&(F!==0||1/F===1/_)||F!==F&&_!==_}function Q2(){if(zU===null)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:
|
|
320
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
321
|
+
2. You might be breaking the Rules of Hooks
|
|
322
|
+
3. You might have more than one copy of React in the same app
|
|
323
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return pU&&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"),zU}function m2(){if(0<EJ)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function w2(){return sj===null?Q1===null?(hU=!1,Q1=sj=m2()):(hU=!0,sj=Q1):sj.next===null?(hU=!1,sj=sj.next=m2()):(hU=!0,sj=sj.next),sj}function D2(){var F=BX;return BX=null,F}function F2(){pU=!1,RJ=c2=b6=zU=null,q1=!1,Q1=null,EJ=0,sj=lv=null}function P2(F){return pU&&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()."),F._currentValue}function Pv(F,_){return typeof _==="function"?_(F):_}function dX(F,_,w){if(F!==Pv&&(Gv="useReducer"),zU=Q2(),sj=w2(),hU){if(w=sj.queue,_=w.dispatch,lv!==null){var p=lv.get(w);if(p!==void 0){lv.delete(w),w=sj.memoizedState;do{var t=p.action;pU=!0,w=F(w,t),pU=!1,p=p.next}while(p!==null);return sj.memoizedState=w,[w,_]}}return[sj.memoizedState,_]}return pU=!0,F=F===Pv?typeof _==="function"?_():_:w!==void 0?w(_):_,pU=!1,sj.memoizedState=F,F=sj.queue={last:null,dispatch:null},F=F.dispatch=Cv.bind(null,zU,F),[sj.memoizedState,F]}function YI(F,_){if(zU=Q2(),sj=w2(),_=_===void 0?null:_,sj!==null){var w=sj.memoizedState;if(w!==null&&_!==null){$:{var p=w[1];if(p===null)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.",Gv),p=!1;else{_.length!==p.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
324
|
+
|
|
325
|
+
Previous: %s
|
|
326
|
+
Incoming: %s`,Gv,"["+_.join(", ")+"]","["+p.join(", ")+"]");for(var t=0;t<p.length&&t<_.length;t++)if(!Cz(_[t],p[t])){p=!1;break $}p=!0}}if(p)return w[0]}}return pU=!0,F=F(),pU=!1,sj.memoizedState=[F,_],F}function Cv(F,_,w){if(25<=EJ)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(F===zU)if(q1=!0,F={action:w,next:null},lv===null&&(lv=new Map),w=lv.get(_),w===void 0)lv.set(_,F);else{for(_=w;_.next!==null;)_=_.next;_.next=F}}function nX(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function $Q(){throw Error("startTransition cannot be called during server rendering.")}function sI(){throw Error("Cannot update optimistic state while rendering.")}function wG(F,_,w){Q2();var p=pv++,t=c2;if(typeof F.$$FORM_ACTION==="function"){var v0=null,F0=RJ;t=t.formState;var E0=F.$$IS_SIGNATURE_EQUAL;if(t!==null&&typeof E0==="function"){var j$=t[1];E0.call(F,t[2],t[3])&&(v0=w!==void 0?"p"+w:"k"+S(JSON.stringify([F0,null,p]),0),j$===v0&&(Yv=p,_=t[0]))}var f0=F.bind(null,_);return F=function(T$){f0(T$)},typeof f0.$$FORM_ACTION==="function"&&(F.$$FORM_ACTION=function(T$){T$=f0.$$FORM_ACTION(T$),w!==void 0&&(j0(w,"target"),w+="",T$.action=w);var g$=T$.data;return g$&&(v0===null&&(v0=w!==void 0?"p"+w:"k"+S(JSON.stringify([F0,null,p]),0)),g$.append("$ACTION_KEY",v0)),T$}),[_,F,!1]}var t0=F.bind(null,_);return[_,function(T$){t0(T$)},!1]}function kG(F){var _=U2;return U2+=1,BX===null&&(BX=[]),uj(BX,F,_)}function KW(){throw Error("Cache cannot be refreshed during server rendering.")}function JY(){}function jQ(){if(d===0){s=console.log,G0=console.info,q0=console.warn,c0=console.error,A$=console.group,i0=console.groupCollapsed,$$=console.groupEnd;var F={configurable:!0,enumerable:!0,value:JY,writable:!0};Object.defineProperties(console,{info:F,log:F,warn:F,error:F,group:F,groupCollapsed:F,groupEnd:F})}d++}function aI(){if(d--,d===0){var F={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k2({},F,{value:s}),info:k2({},F,{value:G0}),warn:k2({},F,{value:q0}),error:k2({},F,{value:c0}),group:k2({},F,{value:A$}),groupCollapsed:k2({},F,{value:i0}),groupEnd:k2({},F,{value:$$})})}0>d&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function GI(F){var _=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,F=F.stack,Error.prepareStackTrace=_,F.startsWith(`Error: react-stack-top-frame
|
|
327
|
+
`)&&(F=F.slice(29)),_=F.indexOf(`
|
|
328
|
+
`),_!==-1&&(F=F.slice(_+1)),_=F.indexOf("react_stack_bottom_frame"),_!==-1&&(_=F.lastIndexOf(`
|
|
329
|
+
`,_)),_!==-1)F=F.slice(0,_);else return"";return F}function W6(F){if(x$===void 0)try{throw Error()}catch(w){var _=w.stack.trim().match(/\n( *(at )?)/);x$=_&&_[1]||"",b$=-1<w.stack.indexOf(`
|
|
330
|
+
at`)?" (<anonymous>)":-1<w.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
331
|
+
`+x$+F+b$}function iX(F,_){if(!F||f$)return"";var w=R$.get(F);if(w!==void 0)return w;f$=!0,w=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var p=null;p=C2.H,C2.H=null,jQ();try{var t={DetermineComponentFrameRoot:function(){try{if(_){var g$=function(){throw Error()};if(Object.defineProperty(g$.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(g$,[])}catch(W$){var B$=W$}Reflect.construct(F,[],g$)}else{try{g$.call()}catch(W$){B$=W$}F.call(g$.prototype)}}else{try{throw Error()}catch(W$){B$=W$}(g$=F())&&typeof g$.catch==="function"&&g$.catch(function(){})}}catch(W$){if(W$&&B$&&typeof W$.stack==="string")return[W$.stack,B$.stack]}return[null,null]}};t.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v0=Object.getOwnPropertyDescriptor(t.DetermineComponentFrameRoot,"name");v0&&v0.configurable&&Object.defineProperty(t.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var F0=t.DetermineComponentFrameRoot(),E0=F0[0],j$=F0[1];if(E0&&j$){var f0=E0.split(`
|
|
332
|
+
`),t0=j$.split(`
|
|
333
|
+
`);for(F0=v0=0;v0<f0.length&&!f0[v0].includes("DetermineComponentFrameRoot");)v0++;for(;F0<t0.length&&!t0[F0].includes("DetermineComponentFrameRoot");)F0++;if(v0===f0.length||F0===t0.length)for(v0=f0.length-1,F0=t0.length-1;1<=v0&&0<=F0&&f0[v0]!==t0[F0];)F0--;for(;1<=v0&&0<=F0;v0--,F0--)if(f0[v0]!==t0[F0]){if(v0!==1||F0!==1)do if(v0--,F0--,0>F0||f0[v0]!==t0[F0]){var T$=`
|
|
334
|
+
`+f0[v0].replace(" at new "," at ");return F.displayName&&T$.includes("<anonymous>")&&(T$=T$.replace("<anonymous>",F.displayName)),typeof F==="function"&&R$.set(F,T$),T$}while(1<=v0&&0<=F0);break}}}finally{f$=!1,C2.H=p,aI(),Error.prepareStackTrace=w}return f0=(f0=F?F.displayName||F.name:"")?W6(f0):"",typeof F==="function"&&R$.set(F,f0),f0}function QY(F){if(typeof F==="string")return W6(F);if(typeof F==="function")return F.prototype&&F.prototype.isReactComponent?iX(F,!0):iX(F,!1);if(typeof F==="object"&&F!==null){switch(F.$$typeof){case nj:return iX(F.render,!1);case GX:return iX(F.type,!1);case gv:var _=F,w=_._payload;_=_._init;try{F=_(w)}catch(t){return W6("Lazy")}return QY(F)}if(typeof F.name==="string"){$:{if(w=F.name,_=F.env,F=F.debugLocation,F!=null){F=GI(F);var p=F.lastIndexOf(`
|
|
335
|
+
`);if(F=p===-1?F:F.slice(p+1),F.indexOf(w)!==-1){w=`
|
|
336
|
+
`+F;break $}}w=W6(w+(_?" ["+_+"]":""))}return w}}switch(F){case vJ:return W6("SuspenseList");case N6:return W6("Suspense")}return""}function r1(){var F=m6();1000<F-Sj&&(C2.recentlyCreatedOwnerStacks=0,Sj=F)}function F1(F,_){return(500<_.byteSize||j2(_.contentState))&&_.contentPreamble===null}function cG(F){if(typeof F==="object"&&F!==null&&typeof F.environmentName==="string"){var _=F.environmentName;F=[F].slice(0),typeof F[0]==="string"?F.splice(0,1,"%c%s%c "+F[0],"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"," "+_+" ",""):F.splice(0,0,"%c%s%c","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"," "+_+" ",""),F.unshift(console),_=H6.apply(console.error,F),_()}else console.error(F);return null}function Rv(F,_,w,p,t,v0,F0,E0,j$,f0,t0){var T$=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=F,this.renderState=_,this.rootFormatContext=w,this.progressiveChunkSize=p===void 0?12800:p,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=T$,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=t===void 0?cG:t,this.onPostpone=f0===void 0?Tj:f0,this.onAllReady=v0===void 0?Tj:v0,this.onShellReady=F0===void 0?Tj:F0,this.onShellError=E0===void 0?Tj:E0,this.onFatalError=j$===void 0?Tj:j$,this.formState=t0===void 0?null:t0,this.didWarnForKey=null}function eI(F,_,w,p,t,v0,F0,E0,j$,f0,t0,T$){return r1(),_=new Rv(_,w,p,t,v0,F0,E0,j$,f0,t0,T$),w=s1(_,0,null,p,!1,!1),w.parentFlushed=!0,F=t1(_,null,F,-1,null,w,null,null,_.abortableTasks,null,p,null,NQ,null,null,y4,null),SU(F),_.pingedTasks.push(F),_}function S4(F,_,w,p,t,v0,F0,E0,j$,f0,t0){return F=eI(F,_,w,p,t,v0,F0,E0,j$,f0,t0,void 0),F.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},F}function o1(F,_,w,p,t,v0,F0,E0,j$){if(r1(),w=new Rv(_.resumableState,w,_.rootFormatContext,_.progressiveChunkSize,p,t,v0,F0,E0,j$,null),w.nextSegmentId=_.nextSegmentId,typeof _.replaySlots==="number")return p=s1(w,0,null,_.rootFormatContext,!1,!1),p.parentFlushed=!0,F=t1(w,null,F,-1,null,p,null,null,w.abortableTasks,null,_.rootFormatContext,null,NQ,null,null,y4,null),SU(F),w.pingedTasks.push(F),w;return F=zI(w,null,{nodes:_.replayNodes,slots:_.replaySlots,pendingTasks:0},F,-1,null,null,w.abortableTasks,null,_.rootFormatContext,null,NQ,null,null,y4,null),SU(F),w.pingedTasks.push(F),w}function jU(F,_,w,p,t,v0,F0,E0,j$){return F=o1(F,_,w,p,t,v0,F0,E0,j$),F.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},F}function rX(F,_){F.pingedTasks.push(_),F.pingedTasks.length===1&&(F.flushScheduled=F.destination!==null,F.trackedPostpones!==null||F.status===10?hG(function(){return IX(F)}):B(function(){return IX(F)}))}function ZI(F,_,w,p,t){return w={status:G2,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:_,completedSegments:[],byteSize:0,fallbackAbortableTasks:w,errorDigest:null,contentState:L$(),fallbackState:L$(),contentPreamble:p,fallbackPreamble:t,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},_!==null&&(_.pendingTasks++,p=_.boundaries,p!==null&&(F.allPendingTasks++,w.pendingTasks++,p.push(w)),F=_.inheritedHoistables,F!==null&&D$(w.contentState,F)),w}function t1(F,_,w,p,t,v0,F0,E0,j$,f0,t0,T$,g$,B$,W$,a$,s$){F.allPendingTasks++,t===null?F.pendingRootTasks++:t.pendingTasks++,B$!==null&&B$.pendingTasks++;var t$={replay:null,node:w,childIndex:p,ping:function(){return rX(F,t$)},blockedBoundary:t,blockedSegment:v0,blockedPreamble:F0,hoistableState:E0,abortSet:j$,keyPath:f0,formatContext:t0,context:T$,treeContext:g$,row:B$,componentStack:W$,thenableState:_};return t$.debugTask=s$,j$.add(t$),t$}function zI(F,_,w,p,t,v0,F0,E0,j$,f0,t0,T$,g$,B$,W$,a$){F.allPendingTasks++,v0===null?F.pendingRootTasks++:v0.pendingTasks++,g$!==null&&g$.pendingTasks++,w.pendingTasks++;var s$={replay:w,node:p,childIndex:t,ping:function(){return rX(F,s$)},blockedBoundary:v0,blockedSegment:null,blockedPreamble:null,hoistableState:F0,abortSet:E0,keyPath:j$,formatContext:f0,context:t0,treeContext:T$,row:g$,componentStack:B$,thenableState:_};return s$.debugTask=a$,E0.add(s$),s$}function s1(F,_,w,p,t,v0){return{status:G2,parentFlushed:!1,id:-1,index:_,chunks:[],children:[],preambleChildren:[],parentFormatContext:p,boundary:w,lastPushedText:t,textEmbedded:v0}}function oX(){if(P===null||P.componentStack===null)return"";var F=P.componentStack;try{var _="";if(typeof F.type==="string")_+=W6(F.type);else if(typeof F.type==="function"){if(!F.owner){var w=_,p=F.type,t=p?p.displayName||p.name:"",v0=t?W6(t):"";_=w+v0}}else F.owner||(_+=QY(F.type));for(;F;)w=null,F.debugStack!=null?w=GI(F.debugStack):(v0=F,v0.stack!=null&&(w=typeof v0.stack!=="string"?v0.stack=GI(v0.stack):v0.stack)),(F=F.owner)&&w&&(_+=`
|
|
337
|
+
`+w);var F0=_}catch(E0){F0=`
|
|
338
|
+
Error generating stack: `+E0.message+`
|
|
339
|
+
`+E0.stack}return F0}function WI(F,_){if(_!=null)for(var w=_.length-1;0<=w;w--){var p=_[w];if(typeof p.name==="string")break;if(typeof p.time==="number")break;if(p.awaited!=null){var t=p.debugStack==null?p.awaited:p;if(t.debugStack!==void 0){F.componentStack={parent:F.componentStack,type:p,owner:t.owner,stack:t.debugStack},F.debugTask=t.debugTask;break}}}}function Ev(F,_){if(_!=null)for(var w=0;w<_.length;w++){var p=_[w];typeof p.name==="string"&&p.debugStack!==void 0&&(F.componentStack={parent:F.componentStack,type:p,owner:p.owner,stack:p.debugStack},F.debugTask=p.debugTask)}}function SU(F){var _=F.node;if(typeof _==="object"&&_!==null)switch(_.$$typeof){case YX:var{type:w,_owner:p,_debugStack:t}=_;Ev(F,_._debugInfo),F.debugTask=_._debugTask,F.componentStack={parent:F.componentStack,type:w,owner:p,stack:t};break;case gv:Ev(F,_._debugInfo);break;default:typeof _.then==="function"&&Ev(F,_._debugInfo)}}function YY(F){return F===null?null:{parent:F.parent,type:"Suspense Fallback",owner:F.owner,stack:F.stack}}function wU(F){var _={};return F&&Object.defineProperty(_,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var w="",p=F;do w+=QY(p.type),p=p.parent;while(p);var t=w}catch(v0){t=`
|
|
340
|
+
Error generating stack: `+v0.message+`
|
|
341
|
+
`+v0.stack}return Object.defineProperty(_,"componentStack",{value:t}),t}}),_}function Tv(F,_,w,p,t){F.errorDigest=_,w instanceof Error?(_=String(w.message),w=String(w.stack)):(_=typeof w==="object"&&w!==null?L(w):String(w),w=null),t=t?`Switched to client rendering because the server rendering aborted due to:
|
|
342
|
+
|
|
343
|
+
`:`Switched to client rendering because the server rendering errored:
|
|
344
|
+
|
|
345
|
+
`,F.errorMessage=t+_,F.errorStack=w!==null?t+w:null,F.errorComponentStack=p.componentStack}function mU(F,_,w,p){if(F=F.onError,_=p?p.run(F.bind(null,_,w)):F(_,w),_!=null&&typeof _!=="string")console.error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead',typeof _);else return _}function $X(F,_,w,p){w=F.onShellError;var t=F.onFatalError;p?(p.run(w.bind(null,_)),p.run(t.bind(null,_))):(w(_),t(_)),F.destination!==null?(F.status=aU,i(F.destination,_)):(F.status=13,F.fatalError=_)}function M4(F,_){tX(F,_.next,_.hoistables)}function tX(F,_,w){for(;_!==null;){w!==null&&(D$(_.hoistables,w),_.inheritedHoistables=w);var p=_.boundaries;if(p!==null){_.boundaries=null;for(var t=0;t<p.length;t++){var v0=p[t];w!==null&&D$(v0.contentState,w),L4(F,v0,null,null)}}if(_.pendingTasks--,0<_.pendingTasks)break;w=_.hoistables,_=_.next}}function UQ(F,_){var w=_.boundaries;if(w!==null&&_.pendingTasks===w.length){for(var p=!0,t=0;t<w.length;t++){var v0=w[t];if(v0.pendingTasks!==1||v0.parentFlushed||F1(F,v0)){p=!1;break}}p&&tX(F,_,_.hoistables)}}function jX(F){var _={pendingTasks:1,boundaries:null,hoistables:L$(),inheritedHoistables:null,together:!1,next:null};return F!==null&&0<F.pendingTasks&&(_.pendingTasks++,_.boundaries=[],F.next=_),_}function xG(F,_,w,p,t){var{keyPath:v0,treeContext:F0,row:E0,componentStack:j$,debugTask:f0}=_;Ev(_,_.node.props.children._debugInfo),_.keyPath=w,w=p.length;var t0=null;if(_.replay!==null){var T$=_.replay.slots;if(T$!==null&&typeof T$==="object")for(var g$=0;g$<w;g$++){var B$=t!=="backwards"&&t!=="unstable_legacy-backwards"?g$:w-1-g$,W$=p[B$];_.row=t0=jX(t0),_.treeContext=O2(F0,w,B$);var a$=T$[B$];typeof a$==="number"?(UX(F,_,a$,W$,B$),delete T$[B$]):kU(F,_,W$,B$),--t0.pendingTasks===0&&M4(F,t0)}else for(T$=0;T$<w;T$++)g$=t!=="backwards"&&t!=="unstable_legacy-backwards"?T$:w-1-T$,B$=p[g$],H1(F,_,B$),_.row=t0=jX(t0),_.treeContext=O2(F0,w,g$),kU(F,_,B$,g$),--t0.pendingTasks===0&&M4(F,t0)}else if(t!=="backwards"&&t!=="unstable_legacy-backwards")for(t=0;t<w;t++)T$=p[t],H1(F,_,T$),_.row=t0=jX(t0),_.treeContext=O2(F0,w,t),kU(F,_,T$,t),--t0.pendingTasks===0&&M4(F,t0);else{t=_.blockedSegment,T$=t.children.length,g$=t.chunks.length;for(B$=w-1;0<=B$;B$--){W$=p[B$],_.row=t0=jX(t0),_.treeContext=O2(F0,w,B$),a$=s1(F,g$,null,_.formatContext,B$===0?t.lastPushedText:!0,!0),t.children.splice(T$,0,a$),_.blockedSegment=a$,H1(F,_,W$);try{kU(F,_,W$,B$),a$.lastPushedText&&a$.textEmbedded&&a$.chunks.push($6),a$.status=v2,cU(F,_.blockedBoundary,a$),--t0.pendingTasks===0&&M4(F,t0)}catch(s$){throw a$.status=F.status===12?T2:u2,s$}}_.blockedSegment=t,t.lastPushedText=!1}E0!==null&&t0!==null&&0<t0.pendingTasks&&(E0.pendingTasks++,t0.next=E0),_.treeContext=F0,_.row=E0,_.keyPath=v0,_.componentStack=j$,_.debugTask=f0}function FU(F,_,w,p,t,v0){var F0=_.thenableState;_.thenableState=null,zU={},b6=_,c2=F,RJ=w,pU=!1,pv=qU=0,Yv=-1,U2=0,BX=F0;for(F=E2(p,t,v0);q1;)q1=!1,pv=qU=0,Yv=-1,U2=0,EJ+=1,sj=null,F=p(t,v0);return F2(),F}function yG(F,_,w,p,t,v0,F0){var E0=!1;if(v0!==0&&F.formState!==null){var j$=_.blockedSegment;if(j$!==null){E0=!0,j$=j$.chunks;for(var f0=0;f0<v0;f0++)f0===F0?j$.push(rG):j$.push(oG)}}v0=_.keyPath,_.keyPath=w,t?(w=_.treeContext,_.treeContext=O2(w,1,0),kU(F,_,p,-1),_.treeContext=w):E0?kU(F,_,p,-1):t4(F,_,p,-1),_.keyPath=v0}function a1(F,_,w,p,t,v0){if(typeof p==="function")if(p.prototype&&p.prototype.isReactComponent){var F0=t;if("ref"in t){F0={};for(var E0 in t)E0!=="ref"&&(F0[E0]=t[E0])}var j$=p.defaultProps;if(j$){F0===t&&(F0=k2({},F0,t));for(var f0 in j$)F0[f0]===void 0&&(F0[f0]=j$[f0])}var t0=F0,T$=y4,g$=p.contextType;if("contextType"in p&&g$!==null&&(g$===void 0||g$.$$typeof!==t2)&&!yY.has(p)){yY.add(p);var B$=g$===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 g$!=="object"?" However, it is set to a "+typeof g$+".":g$.$$typeof===UJ?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(g$).join(", ")+"}.";console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",U$(p)||"Component",B$)}typeof g$==="object"&&g$!==null&&(T$=g$._currentValue);var W$=new p(t0,T$);if(typeof p.getDerivedStateFromProps==="function"&&(W$.state===null||W$.state===void 0)){var a$=U$(p)||"Component";kY.has(a$)||(kY.add(a$),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.",a$,W$.state===null?"null":"undefined",a$))}if(typeof p.getDerivedStateFromProps==="function"||typeof W$.getSnapshotBeforeUpdate==="function"){var s$=null,t$=null,Yj=null;if(typeof W$.componentWillMount==="function"&&W$.componentWillMount.__suppressDeprecationWarning!==!0?s$="componentWillMount":typeof W$.UNSAFE_componentWillMount==="function"&&(s$="UNSAFE_componentWillMount"),typeof W$.componentWillReceiveProps==="function"&&W$.componentWillReceiveProps.__suppressDeprecationWarning!==!0?t$="componentWillReceiveProps":typeof W$.UNSAFE_componentWillReceiveProps==="function"&&(t$="UNSAFE_componentWillReceiveProps"),typeof W$.componentWillUpdate==="function"&&W$.componentWillUpdate.__suppressDeprecationWarning!==!0?Yj="componentWillUpdate":typeof W$.UNSAFE_componentWillUpdate==="function"&&(Yj="UNSAFE_componentWillUpdate"),s$!==null||t$!==null||Yj!==null){var B2=U$(p)||"Component",ij=typeof p.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";cY.has(B2)||(cY.add(B2),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
346
|
+
|
|
347
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
348
|
+
|
|
349
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
350
|
+
https://react.dev/link/unsafe-component-lifecycles`,B2,ij,s$!==null?`
|
|
351
|
+
`+s$:"",t$!==null?`
|
|
352
|
+
`+t$:"",Yj!==null?`
|
|
353
|
+
`+Yj:""))}}var zj=U$(p)||"Component";W$.render||(p.prototype&&typeof p.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",zj):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",zj)),!W$.getInitialState||W$.getInitialState.isReactClassApproved||W$.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?",zj),W$.getDefaultProps&&!W$.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.",zj),W$.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",zj),p.childContextTypes&&!BQ.has(p)&&(BQ.add(p),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",zj)),p.contextTypes&&!CJ.has(p)&&(CJ.add(p),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)",zj)),typeof W$.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.",zj),p.prototype&&p.prototype.isPureReactComponent&&typeof W$.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.",U$(p)||"A pure component"),typeof W$.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",zj),typeof W$.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().",zj),typeof W$.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",zj),typeof W$.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",zj);var r$=W$.props!==t0;W$.props!==void 0&&r$&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",zj),W$.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.",zj,zj),typeof W$.getSnapshotBeforeUpdate!=="function"||typeof W$.componentDidUpdate==="function"||qJ.has(p)||(qJ.add(p),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",U$(p))),typeof W$.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",zj),typeof W$.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",zj),typeof p.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",zj);var ej=W$.state;ej&&(typeof ej!=="object"||jv(ej))&&console.error("%s.state: must be set to an object or null",zj),typeof W$.getChildContext==="function"&&typeof p.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",zj);var h2=W$.state!==void 0?W$.state:null;W$.updater=gQ,W$.props=t0,W$.state=h2;var xj={queue:[],replace:!1};W$._reactInternals=xj;var $2=p.contextType;if(W$.context=typeof $2==="object"&&$2!==null?$2._currentValue:y4,W$.state===t0){var dU=U$(p)||"Component";xY.has(dU)||(xY.add(dU),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.",dU))}var WU=p.getDerivedStateFromProps;if(typeof WU==="function"){var y2=WU(t0,h2);if(y2===void 0){var hj=U$(p)||"Component";PJ.has(hj)||(PJ.add(hj),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",hj))}var f2=y2===null||y2===void 0?h2:k2({},h2,y2);W$.state=f2}if(typeof p.getDerivedStateFromProps!=="function"&&typeof W$.getSnapshotBeforeUpdate!=="function"&&(typeof W$.UNSAFE_componentWillMount==="function"||typeof W$.componentWillMount==="function")){var nU=W$.state;if(typeof W$.componentWillMount==="function"){if(W$.componentWillMount.__suppressDeprecationWarning!==!0){var z4=U$(p)||"Unknown";RX[z4]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
354
|
+
|
|
355
|
+
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
356
|
+
|
|
357
|
+
Please update the following components: %s`,z4),RX[z4]=!0)}W$.componentWillMount()}if(typeof W$.UNSAFE_componentWillMount==="function"&&W$.UNSAFE_componentWillMount(),nU!==W$.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",U$(p)||"Component"),gQ.enqueueReplaceState(W$,W$.state,null)),xj.queue!==null&&0<xj.queue.length){var{queue:vU,replace:I2}=xj;if(xj.queue=null,xj.replace=!1,I2&&vU.length===1)W$.state=vU[0];else{for(var CU=I2?vU[0]:W$.state,$4=!0,p2=I2?1:0;p2<vU.length;p2++){var E4=vU[p2],iU=typeof E4==="function"?E4.call(W$,CU,t0,void 0):E4;iU!=null&&($4?($4=!1,CU=k2({},CU,iU)):k2(CU,iU))}W$.state=CU}}else xj.queue=null}var g2=Nj(W$);if(F.status===12)throw null;W$.props!==t0&&(Y1||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",U$(p)||"a component"),Y1=!0);var W4=_.keyPath;_.keyPath=w,t4(F,_,g2,-1),_.keyPath=W4}else{if(p.prototype&&typeof p.prototype.render==="function"){var IU=U$(p)||"Unknown";eU[IU]||(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.",IU,IU),eU[IU]=!0)}var dv=FU(F,_,w,p,t,void 0);if(F.status===12)throw null;var X6=qU!==0,M2=pv,xU=Yv;if(p.contextTypes){var RU=U$(p)||"Unknown";aj[RU]||(aj[RU]=!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)",RU))}if(p&&p.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
358
|
+
%s.childContextTypes = ...`,p.displayName||p.name||"Component"),typeof p.getDerivedStateFromProps==="function"){var P1=U$(p)||"Unknown";_6[P1]||(console.error("%s: Function components do not support getDerivedStateFromProps.",P1),_6[P1]=!0)}if(typeof p.contextType==="object"&&p.contextType!==null){var _j=U$(p)||"Unknown";b4[_j]||(console.error("%s: Function components do not support contextType.",_j),b4[_j]=!0)}yG(F,_,w,dv,X6,M2,xU)}else if(typeof p==="string"){var K4=_.blockedSegment;if(K4===null){var C1=t.children,rU=_.formatContext,Zv=_.keyPath;_.formatContext=y(rU,p,t),_.keyPath=w,kU(F,_,C1,-1),_.formatContext=rU,_.keyPath=Zv}else{var SI=Z$(K4.chunks,p,t,F.resumableState,F.renderState,_.blockedPreamble,_.hoistableState,_.formatContext,K4.lastPushedText);K4.lastPushedText=!1;var{formatContext:j4,keyPath:R1}=_;if(_.keyPath=w,(_.formatContext=y(j4,p,t)).insertionMode===EI){var EU=s1(F,0,null,_.formatContext,!1,!1);K4.preambleChildren.push(EU),_.blockedSegment=EU;try{EU.status=6,kU(F,_,SI,-1),EU.lastPushedText&&EU.textEmbedded&&EU.chunks.push($6),EU.status=v2,cU(F,_.blockedBoundary,EU)}finally{_.blockedSegment=K4}}else kU(F,_,SI,-1);_.formatContext=j4,_.keyPath=R1;$:{var G1=K4.chunks,m4=F.resumableState;switch(p){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break $;case"body":if(j4.insertionMode<=vv){m4.hasBody=!0;break $}break;case"html":if(j4.insertionMode===OX){m4.hasHtml=!0;break $}break;case"head":if(j4.insertionMode<=vv)break $}G1.push(Lj(p))}K4.lastPushedText=!1}}else{switch(p){case mG:case zY:case WY:case M1:var h6=_.keyPath;_.keyPath=w,t4(F,_,t.children,-1),_.keyPath=h6;return;case KY:var T4=_.blockedSegment;if(T4===null){if(t.mode!=="hidden"){var l2=_.keyPath;_.keyPath=w,kU(F,_,t.children,-1),_.keyPath=l2}}else if(t.mode!=="hidden"){T4.chunks.push(aG),T4.lastPushedText=!1;var U4=_.keyPath;_.keyPath=w,kU(F,_,t.children,-1),_.keyPath=U4,T4.chunks.push(AY),T4.lastPushedText=!1}return;case vJ:$:{var{children:v4,revealOrder:XU}=t;if(XU==="forwards"||XU==="backwards"||XU==="unstable_legacy-backwards"){if(jv(v4)){xG(F,_,w,v4,XU);break $}var L6=J(v4);if(L6){var u4=L6.call(v4);if(u4){ZY(_,v4,-1,u4,L6);var p6=u4.next();if(!p6.done){var h4=[];do h4.push(p6.value),p6=u4.next();while(!p6.done);xG(F,_,w,v4,XU)}break $}}}if(XU==="together"){var{keyPath:wI,row:TU}=_,B4=_.row=jX(null);B4.boundaries=[],B4.together=!0,_.keyPath=w,t4(F,_,v4,-1),--B4.pendingTasks===0&&M4(F,B4),_.keyPath=wI,_.row=TU,TU!==null&&0<B4.pendingTasks&&(TU.pendingTasks++,B4.next=TU)}else{var E1=_.keyPath;_.keyPath=w,t4(F,_,v4,-1),_.keyPath=E1}}return;case S6:case ZX:throw Error("ReactDOMServer does not yet support scope components.");case N6:$:if(_.replay!==null){var{keyPath:nv,formatContext:Z1,row:SQ}=_;_.keyPath=w,_.formatContext=K0(F.resumableState,Z1),_.row=null;var vj=t.children;try{kU(F,_,vj,-1)}finally{_.keyPath=nv,_.formatContext=Z1,_.row=SQ}}else{var{keyPath:l6,formatContext:A6,row:zv,blockedBoundary:NX,blockedPreamble:Wv,hoistableState:KU,blockedSegment:J6}=_,d6=t.fallback,Kv=t.children,pj=new Set,d2=_.formatContext.insertionMode<D6?ZI(F,_.row,pj,G(),G()):ZI(F,_.row,pj,null,null);F.trackedPostpones!==null&&(d2.trackedContentKeyPath=w);var Aj=s1(F,J6.chunks.length,d2,_.formatContext,!1,!1);J6.children.push(Aj),J6.lastPushedText=!1;var rj=s1(F,0,null,_.formatContext,!1,!1);if(rj.parentFlushed=!0,F.trackedPostpones!==null){var n6=_.componentStack,z1=[w[0],"Suspense Fallback",w[2]],yj=[z1[1],z1[2],[],null];F.trackedPostpones.workingMap.set(z1,yj),d2.trackedFallbackNode=yj,_.blockedSegment=Aj,_.blockedPreamble=d2.fallbackPreamble,_.keyPath=z1,_.formatContext=J0(F.resumableState,A6),_.componentStack=YY(n6),Aj.status=6;try{kU(F,_,d6,-1),Aj.lastPushedText&&Aj.textEmbedded&&Aj.chunks.push($6),Aj.status=v2,cU(F,NX,Aj)}catch(bY){throw Aj.status=F.status===12?T2:u2,bY}finally{_.blockedSegment=J6,_.blockedPreamble=Wv,_.keyPath=l6,_.formatContext=A6}var i6=t1(F,null,Kv,-1,d2,rj,d2.contentPreamble,d2.contentState,_.abortSet,w,K0(F.resumableState,_.formatContext),_.context,_.treeContext,null,n6,y4,_.debugTask);SU(i6),F.pingedTasks.push(i6)}else{_.blockedBoundary=d2,_.blockedPreamble=d2.contentPreamble,_.hoistableState=d2.contentState,_.blockedSegment=rj,_.keyPath=w,_.formatContext=K0(F.resumableState,A6),_.row=null,rj.status=6;try{if(kU(F,_,Kv,-1),rj.lastPushedText&&rj.textEmbedded&&rj.chunks.push($6),rj.status=v2,cU(F,d2,rj),aX(d2,rj),d2.pendingTasks===0&&d2.status===G2){if(d2.status=v2,!F1(F,d2)){zv!==null&&--zv.pendingTasks===0&&M4(F,zv),F.pendingRootTasks===0&&_.blockedPreamble&&s4(F);break $}}else zv!==null&&zv.together&&UQ(F,zv)}catch(bY){if(d2.status=d$,F.status===12){rj.status=T2;var n2=F.fatalError}else rj.status=u2,n2=bY;var kI=wU(_.componentStack),T1=mU(F,n2,kI,_.debugTask);Tv(d2,T1,n2,kI,!1),OI(F,d2)}finally{_.blockedBoundary=NX,_.blockedPreamble=Wv,_.hoistableState=KU,_.blockedSegment=J6,_.keyPath=l6,_.formatContext=A6,_.row=zv}var B1=t1(F,null,d6,-1,NX,Aj,d2.fallbackPreamble,d2.fallbackState,pj,[w[0],"Suspense Fallback",w[2]],J0(F.resumableState,_.formatContext),_.context,_.treeContext,_.row,YY(_.componentStack),y4,_.debugTask);SU(B1),F.pingedTasks.push(B1)}}return}if(typeof p==="object"&&p!==null)switch(p.$$typeof){case nj:if("ref"in t){var Ov={};for(var O4 in t)O4!=="ref"&&(Ov[O4]=t[O4])}else Ov=t;var SX=FU(F,_,w,p.render,Ov,v0);yG(F,_,w,SX,qU!==0,pv,Yv);return;case GX:a1(F,_,w,p.type,t,v0);return;case t2:var{value:wX,children:iv}=t,Vv=_.context,g1=_.keyPath,W1=p._currentValue;p._currentValue=wX,p._currentRenderer!==void 0&&p._currentRenderer!==null&&p._currentRenderer!==AJ&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),p._currentRenderer=AJ;var q6=hv,I4={parent:q6,depth:q6===null?0:q6.depth+1,context:p,parentValue:W1,value:wX};hv=I4,_.context=I4,_.keyPath=w,t4(F,_,iv,-1);var K1=hv;if(K1===null)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");K1.context!==p&&console.error("The parent context is not the expected context. This is probably a bug in React."),K1.context._currentValue=K1.parentValue,p._currentRenderer!==void 0&&p._currentRenderer!==null&&p._currentRenderer!==AJ&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),p._currentRenderer=AJ;var TJ=hv=K1.parent;_.context=TJ,_.keyPath=g1,Vv!==_.context&&console.error("Popping the context provider did not return back to the original snapshot. This is a bug in React.");return;case UJ:var wQ=p._context,cI=t.children;typeof cI!=="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.");var Rz=cI(wQ._currentValue),N1=_.keyPath;_.keyPath=w,t4(F,_,Rz,-1),_.keyPath=N1;return;case gv:var BJ=R4(p);if(F.status===12)throw null;a1(F,_,w,BJ,t,v0);return}var kQ="";if(p===void 0||typeof p==="object"&&p!==null&&Object.keys(p).length===0)kQ+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((p==null?p:typeof p)+"."+kQ))}}function UX(F,_,w,p,t){var{replay:v0,blockedBoundary:F0}=_,E0=s1(F,0,null,_.formatContext,!1,!1);E0.id=w,E0.parentFlushed=!0;try{_.replay=null,_.blockedSegment=E0,kU(F,_,p,t),E0.status=v2,cU(F,F0,E0),F0===null?F.completedRootSegment=E0:(aX(F0,E0),F0.parentFlushed&&F.partialBoundaries.push(F0))}finally{_.replay=v0,_.blockedSegment=null}}function GY(F,_,w,p,t,v0,F0,E0,j$,f0){v0=f0.nodes;for(var t0=0;t0<v0.length;t0++){var T$=v0[t0];if(t===T$[1]){if(T$.length===4){if(p!==null&&p!==T$[0])throw Error("Expected the resume to render <"+T$[0]+"> in this slot but instead it rendered <"+p+">. The tree doesn't match so React will fallback to client rendering.");var g$=T$[2];p=T$[3],t=_.node,_.replay={nodes:g$,slots:p,pendingTasks:1};try{if(a1(F,_,w,F0,E0,j$),_.replay.pendingTasks===1&&0<_.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");_.replay.pendingTasks--}catch(r$){if(typeof r$==="object"&&r$!==null&&(r$===f4||typeof r$.then==="function"))throw _.node===t?_.replay=f0:v0.splice(t0,1),r$;_.replay.pendingTasks--,F0=wU(_.componentStack),E0=F,F=_.blockedBoundary,w=r$,j$=p,p=mU(E0,w,F0,_.debugTask),$1(E0,F,g$,j$,w,p,F0,!1)}_.replay=f0}else{if(F0!==N6)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(U$(F0)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");$:{f0=void 0,p=T$[5],F0=T$[2],j$=T$[3],t=T$[4]===null?[]:T$[4][2],T$=T$[4]===null?null:T$[4][3];var{keyPath:B$,formatContext:W$,row:a$,replay:s$,blockedBoundary:t$,hoistableState:Yj}=_,B2=E0.children,ij=E0.fallback,zj=new Set;E0=_.formatContext.insertionMode<D6?ZI(F,_.row,zj,G(),G()):ZI(F,_.row,zj,null,null),E0.parentFlushed=!0,E0.rootSegmentID=p,_.blockedBoundary=E0,_.hoistableState=E0.contentState,_.keyPath=w,_.formatContext=K0(F.resumableState,W$),_.row=null,_.replay={nodes:F0,slots:j$,pendingTasks:1};try{if(kU(F,_,B2,-1),_.replay.pendingTasks===1&&0<_.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");if(_.replay.pendingTasks--,E0.pendingTasks===0&&E0.status===G2){E0.status=v2,F.completedBoundaries.push(E0);break $}}catch(r$){E0.status=d$,g$=wU(_.componentStack),f0=mU(F,r$,g$,_.debugTask),Tv(E0,f0,r$,g$,!1),_.replay.pendingTasks--,F.clientRenderedBoundaries.push(E0)}finally{_.blockedBoundary=t$,_.hoistableState=Yj,_.replay=s$,_.keyPath=B$,_.formatContext=W$,_.row=a$}E0=zI(F,null,{nodes:t,slots:T$,pendingTasks:0},ij,-1,t$,E0.fallbackState,zj,[w[0],"Suspense Fallback",w[2]],J0(F.resumableState,_.formatContext),_.context,_.treeContext,_.row,YY(_.componentStack),y4,_.debugTask),SU(E0),F.pingedTasks.push(E0)}}v0.splice(t0,1);break}}}function ZY(F,_,w,p,t){if(p===_){if(w!==-1||F.componentStack===null||typeof F.componentStack.type!=="function"||Object.prototype.toString.call(F.componentStack.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(p)!=="[object Generator]")lU||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."),lU=!0}else _.entries!==t||u6||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),u6=!0)}function t4(F,_,w,p){_.replay!==null&&typeof _.replay.slots==="number"?UX(F,_,_.replay.slots,w,p):(_.node=w,_.childIndex=p,w=_.componentStack,p=_.debugTask,SU(_),vX(F,_),_.componentStack=w,_.debugTask=p)}function vX(F,_){var{node:w,childIndex:p}=_;if(w!==null){if(typeof w==="object"){switch(w.$$typeof){case YX:var{type:t,key:v0}=w;w=w.props;var F0=w.ref;F0=F0!==void 0?F0:null;var E0=_.debugTask,j$=U$(t);v0=v0==null?p===-1?0:p:v0;var f0=[_.keyPath,j$,v0];_.replay!==null?E0?E0.run(GY.bind(null,F,_,f0,j$,v0,p,t,w,F0,_.replay)):GY(F,_,f0,j$,v0,p,t,w,F0,_.replay):E0?E0.run(a1.bind(null,F,_,f0,t,w,F0)):a1(F,_,f0,t,w,F0);return;case e1:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case gv:if(t=R4(w),F.status===12)throw null;t4(F,_,t,p);return}if(jv(w)){KI(F,_,w,p);return}if(v0=J(w)){if(t=v0.call(w)){if(ZY(_,w,p,t,v0),w=t.next(),!w.done){v0=[];do v0.push(w.value),w=t.next();while(!w.done);KI(F,_,v0,p)}return}}if(typeof w.then==="function")return _.thenableState=null,t4(F,_,kG(w),p);if(w.$$typeof===t2)return t4(F,_,w._currentValue,p);throw F=Object.prototype.toString.call(w),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}typeof w==="string"?(_=_.blockedSegment,_!==null&&(_.lastPushedText=A0(_.chunks,w,F.renderState,_.lastPushedText))):typeof w==="number"||typeof w==="bigint"?(_=_.blockedSegment,_!==null&&(_.lastPushedText=A0(_.chunks,""+w,F.renderState,_.lastPushedText))):(typeof w==="function"&&(F=w.displayName||w.name||"Component",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.",F,F)),typeof w==="symbol"&&console.error(`Symbols are not valid as a React child.
|
|
359
|
+
%s`,String(w)))}}function H1(F,_,w){if(w!==null&&typeof w==="object"&&(w.$$typeof===YX||w.$$typeof===e1)&&w._store&&(!w._store.validated&&w.key==null||w._store.validated===2)){if(typeof w._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.");w._store.validated=1;var p=F.didWarnForKey;if(p==null&&(p=F.didWarnForKey=new WeakSet),F=_.componentStack,F!==null&&!p.has(F)){p.add(F);var t=U$(w.type);p=w._owner;var v0=F.owner;if(F="",v0&&typeof v0.type<"u"){var F0=U$(v0.type);F0&&(F=`
|
|
360
|
+
|
|
361
|
+
Check the render method of \``+F0+"`.")}F||t&&(F=`
|
|
362
|
+
|
|
363
|
+
Check the top-level render call using <`+t+">."),t="",p!=null&&v0!==p&&(v0=null,typeof p.type<"u"?v0=U$(p.type):typeof p.name==="string"&&(v0=p.name),v0&&(t=" It was passed a child from "+v0+".")),p=_.componentStack,_.componentStack={parent:_.componentStack,type:w.type,owner:w._owner,stack:w._debugStack},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.',F,t),_.componentStack=p}}}function KI(F,_,w,p){var{keyPath:t,componentStack:v0,debugTask:F0}=_;if(Ev(_,_.node._debugInfo),p!==-1&&(_.keyPath=[_.keyPath,"Fragment",p],_.replay!==null)){for(var E0=_.replay,j$=E0.nodes,f0=0;f0<j$.length;f0++){var t0=j$[f0];if(t0[1]===p){p=t0[2],t0=t0[3],_.replay={nodes:p,slots:t0,pendingTasks:1};try{if(KI(F,_,w,-1),_.replay.pendingTasks===1&&0<_.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");_.replay.pendingTasks--}catch(W$){if(typeof W$==="object"&&W$!==null&&(W$===f4||typeof W$.then==="function"))throw W$;_.replay.pendingTasks--;var T$=wU(_.componentStack);w=_.blockedBoundary;var g$=W$,B$=t0;t0=mU(F,g$,T$,_.debugTask),$1(F,w,p,B$,g$,t0,T$,!1)}_.replay=E0,j$.splice(f0,1);break}}_.keyPath=t,_.componentStack=v0,_.debugTask=F0;return}if(E0=_.treeContext,j$=w.length,_.replay!==null&&(f0=_.replay.slots,f0!==null&&typeof f0==="object")){for(p=0;p<j$;p++)t0=w[p],_.treeContext=O2(E0,j$,p),g$=f0[p],typeof g$==="number"?(UX(F,_,g$,t0,p),delete f0[p]):kU(F,_,t0,p);_.treeContext=E0,_.keyPath=t,_.componentStack=v0,_.debugTask=F0;return}for(f0=0;f0<j$;f0++)p=w[f0],H1(F,_,p),_.treeContext=O2(E0,j$,f0),kU(F,_,p,f0);_.treeContext=E0,_.keyPath=t,_.componentStack=v0,_.debugTask=F0}function vQ(F,_,w){if(w.status=Vj,w.rootSegmentID=F.nextSegmentId++,F=w.trackedContentKeyPath,F===null)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var p=w.trackedFallbackNode,t=[],v0=_.workingMap.get(F);if(v0===void 0)return w=[F[1],F[2],t,null,p,w.rootSegmentID],_.workingMap.set(F,w),QX(w,F[0],_),w;return v0[4]=p,v0[5]=w.rootSegmentID,v0}function IQ(F,_,w,p){p.status=Vj;var{keyPath:t,blockedBoundary:v0}=w;if(v0===null)p.id=F.nextSegmentId++,_.rootSlots=p.id,F.completedRootSegment!==null&&(F.completedRootSegment.status=Vj);else{if(v0!==null&&v0.status===G2){var F0=vQ(F,_,v0);if(v0.trackedContentKeyPath===t&&w.childIndex===-1){p.id===-1&&(p.id=p.parentFlushed?v0.rootSegmentID:F.nextSegmentId++),F0[3]=p.id;return}}if(p.id===-1&&(p.id=p.parentFlushed&&v0!==null?v0.rootSegmentID:F.nextSegmentId++),w.childIndex===-1)t===null?_.rootSlots=p.id:(w=_.workingMap.get(t),w===void 0?(w=[t[1],t[2],[],p.id],QX(w,t[0],_)):w[3]=p.id);else{if(t===null){if(F=_.rootSlots,F===null)F=_.rootSlots={};else if(typeof F==="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.")}else if(v0=_.workingMap,F0=v0.get(t),F0===void 0)F={},F0=[t[1],t[2],[],F],v0.set(t,F0),QX(F0,t[0],_);else if(F=F0[3],F===null)F=F0[3]={};else if(typeof F==="number")throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");F[w.childIndex]=p.id}}}function OI(F,_){F=F.trackedPostpones,F!==null&&(_=_.trackedContentKeyPath,_!==null&&(_=F.workingMap.get(_),_!==void 0&&(_.length=4,_[2]=[],_[3]=null)))}function sX(F,_,w){return zI(F,w,_.replay,_.node,_.childIndex,_.blockedBoundary,_.hoistableState,_.abortSet,_.keyPath,_.formatContext,_.context,_.treeContext,_.row,_.componentStack,y4,_.debugTask)}function VI(F,_,w){var p=_.blockedSegment,t=s1(F,p.chunks.length,null,_.formatContext,p.lastPushedText,!0);return p.children.push(t),p.lastPushedText=!1,t1(F,w,_.node,_.childIndex,_.blockedBoundary,t,_.blockedPreamble,_.hoistableState,_.abortSet,_.keyPath,_.formatContext,_.context,_.treeContext,_.row,_.componentStack,y4,_.debugTask)}function kU(F,_,w,p){var{formatContext:t,context:v0,keyPath:F0,treeContext:E0,componentStack:j$,debugTask:f0,blockedSegment:t0}=_;if(t0===null){t0=_.replay;try{return t4(F,_,w,p)}catch(B$){if(F2(),w=B$===f4?V2():B$,F.status!==12&&typeof w==="object"&&w!==null){if(typeof w.then==="function"){p=B$===f4?D2():null,F=sX(F,_,p).ping,w.then(F,F),_.formatContext=t,_.context=v0,_.keyPath=F0,_.treeContext=E0,_.componentStack=j$,_.replay=t0,_.debugTask=f0,Qj(v0);return}if(w.message==="Maximum call stack size exceeded"){w=B$===f4?D2():null,w=sX(F,_,w),F.pingedTasks.push(w),_.formatContext=t,_.context=v0,_.keyPath=F0,_.treeContext=E0,_.componentStack=j$,_.replay=t0,_.debugTask=f0,Qj(v0);return}}}}else{var T$=t0.children.length,g$=t0.chunks.length;try{return t4(F,_,w,p)}catch(B$){if(F2(),t0.children.length=T$,t0.chunks.length=g$,w=B$===f4?V2():B$,F.status!==12&&typeof w==="object"&&w!==null){if(typeof w.then==="function"){t0=w,w=B$===f4?D2():null,F=VI(F,_,w).ping,t0.then(F,F),_.formatContext=t,_.context=v0,_.keyPath=F0,_.treeContext=E0,_.componentStack=j$,_.debugTask=f0,Qj(v0);return}if(w.message==="Maximum call stack size exceeded"){t0=B$===f4?D2():null,t0=VI(F,_,t0),F.pingedTasks.push(t0),_.formatContext=t,_.context=v0,_.keyPath=F0,_.treeContext=E0,_.componentStack=j$,_.debugTask=f0,Qj(v0);return}}}}throw _.formatContext=t,_.context=v0,_.keyPath=F0,_.treeContext=E0,Qj(v0),w}function DI(F){var{blockedBoundary:_,blockedSegment:w}=F;w!==null&&(w.status=T2,L4(this,_,F.row,w))}function $1(F,_,w,p,t,v0,F0,E0){for(var j$=0;j$<w.length;j$++){var f0=w[j$];if(f0.length===4)$1(F,_,f0[2],f0[3],t,v0,F0,E0);else{var t0=F;f0=f0[5];var T$=t,g$=v0,B$=F0,W$=E0,a$=ZI(t0,null,new Set,null,null);a$.parentFlushed=!0,a$.rootSegmentID=f0,a$.status=d$,Tv(a$,g$,T$,B$,W$),a$.parentFlushed&&t0.clientRenderedBoundaries.push(a$)}}if(w.length=0,p!==null){if(_===null)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");if(_.status!==d$&&(_.status=d$,Tv(_,v0,t,F0,E0),_.parentFlushed&&F.clientRenderedBoundaries.push(_)),typeof p==="object")for(var s$ in p)delete p[s$]}}function w4(F,_,w){var{blockedBoundary:p,blockedSegment:t}=F;if(t!==null){if(t.status===6)return;t.status=T2}var v0=wU(F.componentStack),F0=F.node;if(F0!==null&&typeof F0==="object"&&WI(F,F0._debugInfo),p===null){if(_.status!==13&&_.status!==aU){if(p=F.replay,p===null){_.trackedPostpones!==null&&t!==null?(p=_.trackedPostpones,mU(_,w,v0,F.debugTask),IQ(_,p,F,t),L4(_,null,F.row,t)):(mU(_,w,v0,F.debugTask),$X(_,w,v0,F.debugTask));return}p.pendingTasks--,p.pendingTasks===0&&0<p.nodes.length&&(t=mU(_,w,v0,null),$1(_,null,p.nodes,p.slots,w,t,v0,!0)),_.pendingRootTasks--,_.pendingRootTasks===0&&_1(_)}}else{if(F0=_.trackedPostpones,p.status!==d$){if(F0!==null&&t!==null)return mU(_,w,v0,F.debugTask),IQ(_,F0,F,t),p.fallbackAbortableTasks.forEach(function(E0){return w4(E0,_,w)}),p.fallbackAbortableTasks.clear(),L4(_,p,F.row,t);p.status=d$,t=mU(_,w,v0,F.debugTask),p.status=d$,Tv(p,t,w,v0,!0),OI(_,p),p.parentFlushed&&_.clientRenderedBoundaries.push(p)}p.pendingTasks--,v0=p.row,v0!==null&&--v0.pendingTasks===0&&M4(_,v0),p.fallbackAbortableTasks.forEach(function(E0){return w4(E0,_,w)}),p.fallbackAbortableTasks.clear()}F=F.row,F!==null&&--F.pendingTasks===0&&M4(_,F),_.allPendingTasks--,_.allPendingTasks===0&&g6(_)}function fG(F,_){try{var w=F.renderState,p=w.onHeaders;if(p){var t=w.headers;if(t){w.headers=null;var v0=t.preconnects;if(t.fontPreloads&&(v0&&(v0+=", "),v0+=t.fontPreloads),t.highImagePreloads&&(v0&&(v0+=", "),v0+=t.highImagePreloads),!_){var F0=w.styles.values(),E0=F0.next();$:for(;0<t.remainingCapacity&&!E0.done;E0=F0.next())for(var j$=E0.value.sheets.values(),f0=j$.next();0<t.remainingCapacity&&!f0.done;f0=j$.next()){var t0=f0.value,T$=t0.props,g$=T$.href,B$=t0.props,W$=b0(B$.href,"style",{crossOrigin:B$.crossOrigin,integrity:B$.integrity,nonce:B$.nonce,type:B$.type,fetchPriority:B$.fetchPriority,referrerPolicy:B$.referrerPolicy,media:B$.media});if(0<=(t.remainingCapacity-=W$.length+2))w.resets.style[g$]=P4,v0&&(v0+=", "),v0+=W$,w.resets.style[g$]=typeof T$.crossOrigin==="string"||typeof T$.integrity==="string"?[T$.crossOrigin,T$.integrity]:P4;else break $}}v0?p({Link:v0}):p({})}}}catch(a$){mU(F,a$,{},null)}}function _1(F){F.trackedPostpones===null&&fG(F,!0),F.trackedPostpones===null&&s4(F),F.onShellError=Tj,F=F.onShellReady,F()}function g6(F){fG(F,F.trackedPostpones===null?!0:F.completedRootSegment===null||F.completedRootSegment.status!==Vj),s4(F),F=F.onAllReady,F()}function aX(F,_){if(_.chunks.length===0&&_.children.length===1&&_.children[0].boundary===null&&_.children[0].id===-1){var w=_.children[0];w.id=_.id,w.parentFlushed=!0,w.status!==v2&&w.status!==T2&&w.status!==u2||aX(F,w)}else F.completedSegments.push(_)}function cU(F,_,w){if(h!==null){w=w.chunks;for(var p=0,t=0;t<w.length;t++)p+=w[t].byteLength;_===null?F.byteSize+=p:_.byteSize+=p}}function L4(F,_,w,p){if(w!==null&&(--w.pendingTasks===0?M4(F,w):w.together&&UQ(F,w)),F.allPendingTasks--,_===null){if(p!==null&&p.parentFlushed){if(F.completedRootSegment!==null)throw Error("There can only be one root segment. This is a bug in React.");F.completedRootSegment=p}F.pendingRootTasks--,F.pendingRootTasks===0&&_1(F)}else if(_.pendingTasks--,_.status!==d$)if(_.pendingTasks===0){if(_.status===G2&&(_.status=v2),p!==null&&p.parentFlushed&&(p.status===v2||p.status===T2)&&aX(_,p),_.parentFlushed&&F.completedBoundaries.push(_),_.status===v2)w=_.row,w!==null&&D$(w.hoistables,_.contentState),F1(F,_)||(_.fallbackAbortableTasks.forEach(DI,F),_.fallbackAbortableTasks.clear(),w!==null&&--w.pendingTasks===0&&M4(F,w)),F.pendingRootTasks===0&&F.trackedPostpones===null&&_.contentPreamble!==null&&s4(F);else if(_.status===Vj&&(_=_.row,_!==null)){if(F.trackedPostpones!==null){w=F.trackedPostpones;var t=_.next;if(t!==null&&(p=t.boundaries,p!==null))for(t.boundaries=null,t=0;t<p.length;t++){var v0=p[t];vQ(F,w,v0),L4(F,v0,null,null)}}--_.pendingTasks===0&&M4(F,_)}}else p===null||!p.parentFlushed||p.status!==v2&&p.status!==T2||(aX(_,p),_.completedSegments.length===1&&_.parentFlushed&&F.partialBoundaries.push(_)),_=_.row,_!==null&&_.together&&UQ(F,_);F.allPendingTasks===0&&g6(F)}function IX(F){if(F.status!==aU&&F.status!==13){var _=hv,w=C2.H;C2.H=gX;var p=C2.A;C2.A=k;var t=Hj;Hj=F;var v0=C2.getCurrentStack;C2.getCurrentStack=oX;var F0=M;M=F.resumableState;try{var E0=F.pingedTasks,j$;for(j$=0;j$<E0.length;j$++){var f0=F,t0=E0[j$],T$=t0.blockedSegment;if(T$===null){var g$=void 0,B$=f0;if(f0=t0,f0.replay.pendingTasks!==0){Qj(f0.context),g$=P,P=f0;try{if(typeof f0.replay.slots==="number"?UX(B$,f0,f0.replay.slots,f0.node,f0.childIndex):vX(B$,f0),f0.replay.pendingTasks===1&&0<f0.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");f0.replay.pendingTasks--,f0.abortSet.delete(f0),L4(B$,f0.blockedBoundary,f0.row,null)}catch(I2){F2();var W$=I2===f4?V2():I2;if(typeof W$==="object"&&W$!==null&&typeof W$.then==="function"){var a$=f0.ping;W$.then(a$,a$),f0.thenableState=I2===f4?D2():null}else{f0.replay.pendingTasks--,f0.abortSet.delete(f0);var s$=wU(f0.componentStack),t$=void 0,Yj=B$,B2=f0.blockedBoundary,ij=B$.status===12?B$.fatalError:W$,zj=s$,r$=f0.replay.nodes,ej=f0.replay.slots;t$=mU(Yj,ij,zj,f0.debugTask),$1(Yj,B2,r$,ej,ij,t$,zj,!1),B$.pendingRootTasks--,B$.pendingRootTasks===0&&_1(B$),B$.allPendingTasks--,B$.allPendingTasks===0&&g6(B$)}}finally{P=g$}}}else if(B$=g$=void 0,t$=t0,Yj=T$,Yj.status===G2){Yj.status=6,Qj(t$.context),B$=P,P=t$;var h2=Yj.children.length,xj=Yj.chunks.length;try{vX(f0,t$),Yj.lastPushedText&&Yj.textEmbedded&&Yj.chunks.push($6),t$.abortSet.delete(t$),Yj.status=v2,cU(f0,t$.blockedBoundary,Yj),L4(f0,t$.blockedBoundary,t$.row,Yj)}catch(I2){F2(),Yj.children.length=h2,Yj.chunks.length=xj;var $2=I2===f4?V2():f0.status===12?f0.fatalError:I2;if(f0.status===12&&f0.trackedPostpones!==null){var dU=f0.trackedPostpones,WU=wU(t$.componentStack);t$.abortSet.delete(t$),mU(f0,$2,WU,t$.debugTask),IQ(f0,dU,t$,Yj),L4(f0,t$.blockedBoundary,t$.row,Yj)}else if(typeof $2==="object"&&$2!==null&&typeof $2.then==="function"){Yj.status=G2,t$.thenableState=I2===f4?D2():null;var y2=t$.ping;$2.then(y2,y2)}else{var hj=wU(t$.componentStack);t$.abortSet.delete(t$),Yj.status=u2;var{blockedBoundary:f2,row:nU,debugTask:z4}=t$;if(nU!==null&&--nU.pendingTasks===0&&M4(f0,nU),f0.allPendingTasks--,g$=mU(f0,$2,hj,z4),f2===null)$X(f0,$2,hj,z4);else if(f2.pendingTasks--,f2.status!==d$){f2.status=d$,Tv(f2,g$,$2,hj,!1),OI(f0,f2);var vU=f2.row;vU!==null&&--vU.pendingTasks===0&&M4(f0,vU),f2.parentFlushed&&f0.clientRenderedBoundaries.push(f2),f0.pendingRootTasks===0&&f0.trackedPostpones===null&&f2.contentPreamble!==null&&s4(f0)}f0.allPendingTasks===0&&g6(f0)}}finally{P=B$}}}E0.splice(0,j$),F.destination!==null&&FI(F,F.destination)}catch(I2){E0={},mU(F,I2,E0,null),$X(F,I2,E0,null)}finally{M=F0,C2.H=w,C2.A=p,C2.getCurrentStack=v0,w===gX&&Qj(_),Hj=t}}}function Bv(F,_,w){_.preambleChildren.length&&w.push(_.preambleChildren);for(var p=!1,t=0;t<_.children.length;t++)p=eX(F,_.children[t],w)||p;return p}function eX(F,_,w){var p=_.boundary;if(p===null)return Bv(F,_,w);var{contentPreamble:t,fallbackPreamble:v0}=p;if(t===null||v0===null)return!1;switch(p.status){case v2:if(J$(F.renderState,t),F.byteSize+=p.byteSize,_=p.completedSegments[0],!_)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");return Bv(F,_,w);case Vj:if(F.trackedPostpones!==null)return!0;case d$:if(_.status===v2)return J$(F.renderState,v0),Bv(F,_,w);default:return!0}}function s4(F){if(F.completedRootSegment&&F.completedPreambleSegments===null){var _=[],w=F.byteSize,p=eX(F,F.completedRootSegment,_),t=F.renderState.preamble;p===!1||t.headChunks&&t.bodyChunks?F.completedPreambleSegments=_:F.byteSize=w}}function XQ(F,_,w,p){switch(w.parentFlushed=!0,w.status){case G2:w.id=F.nextSegmentId++;case Vj:return p=w.id,w.lastPushedText=!1,w.textEmbedded=!1,F=F.renderState,H(_,sG),H(_,F.placeholderPrefix),F=x(p.toString(16)),H(_,F),T(_,LQ);case v2:w.status=x2;var t=!0,v0=w.chunks,F0=0;w=w.children;for(var E0=0;E0<w.length;E0++){for(t=w[E0];F0<t.index;F0++)H(_,v0[F0]);t=XX(F,_,t,p)}for(;F0<v0.length-1;F0++)H(_,v0[F0]);return F0<v0.length&&(t=T(_,v0[F0])),t;case T2:return!0;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function XX(F,_,w,p){var t=w.boundary;if(t===null)return XQ(F,_,w,p);if(t.parentFlushed=!0,t.status===d$){var v0=t.row;v0!==null&&--v0.pendingTasks===0&&M4(F,v0),v0=t.errorDigest;var{errorMessage:F0,errorStack:E0}=t;t=t.errorComponentStack,T(_,Kz),H(_,DJ),v0&&(H(_,eG),H(_,x(W(v0))),H(_,FJ)),F0&&(H(_,Vz),H(_,x(W(F0))),H(_,FJ)),E0&&(H(_,Dz),H(_,x(W(E0))),H(_,FJ)),t&&(H(_,Fz),H(_,x(W(t))),H(_,FJ)),T(_,OW),XQ(F,_,w,p)}else if(t.status!==v2)t.status===G2&&(t.rootSegmentID=F.nextSegmentId++),0<t.completedSegments.length&&F.partialBoundaries.push(t),dj(_,F.renderState,t.rootSegmentID),p&&D$(p,t.fallbackState),XQ(F,_,w,p);else if(!_2&&F1(F,t)&&(M6+t.byteSize>F.progressiveChunkSize||j2(t.contentState)))t.rootSegmentID=F.nextSegmentId++,F.completedBoundaries.push(t),dj(_,F.renderState,t.rootSegmentID),XQ(F,_,w,p);else{if(M6+=t.byteSize,p&&D$(p,t.contentState),w=t.row,w!==null&&F1(F,t)&&--w.pendingTasks===0&&M4(F,w),T(_,Zz),w=t.completedSegments,w.length!==1)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");XX(F,_,w[0],p)}return T(_,Oz)}function $J(F,_,w,p){return M$(_,F.renderState,w.parentFormatContext,w.id),XX(F,_,w,p),F$(_,w.parentFormatContext)}function jJ(F,_,w){M6=w.byteSize;for(var p=w.completedSegments,t=0;t<p.length;t++)JX(F,_,w,p[t]);p.length=0,p=w.row,p!==null&&F1(F,w)&&--p.pendingTasks===0&&M4(F,p),l0(_,w.contentState,F.renderState),p=F.resumableState,F=F.renderState,t=w.rootSegmentID,w=w.contentState;var v0=F.stylesToHoist;return F.stylesToHoist=!1,H(_,F.startInlineScript),H(_,a2),v0?((p.instructions&CI)===MU&&(p.instructions|=CI,H(_,JZ)),(p.instructions&V6)===MU&&(p.instructions|=V6,H(_,Qv)),(p.instructions&c4)===MU?(p.instructions|=c4,H(_,TY)):H(_,vZ)):((p.instructions&V6)===MU&&(p.instructions|=V6,H(_,Qv)),H(_,CQ)),p=x(t.toString(16)),H(_,F.boundaryPrefix),H(_,p),H(_,IZ),H(_,F.segmentPrefix),H(_,p),v0?(H(_,BY),_$(_,w)):H(_,XZ),w=T(_,RQ),Y$(_,F)&&w}function JX(F,_,w,p){if(p.status===x2)return!0;var t=w.contentState,v0=p.id;if(v0===-1){if((p.id=w.rootSegmentID)===-1)throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return $J(F,_,p,t)}if(v0===w.rootSegmentID)return $J(F,_,p,t);return $J(F,_,p,t),w=F.resumableState,F=F.renderState,H(_,F.startInlineScript),H(_,a2),(w.instructions&nG)===MU?(w.instructions|=nG,H(_,UZ)):H(_,EY),H(_,F.segmentPrefix),v0=x(v0.toString(16)),H(_,v0),H(_,L1),H(_,F.placeholderPrefix),H(_,v0),_=T(_,_X),_}function FI(F,_){k4=new Uint8Array(2048),uU=0;try{if(!(0<F.pendingRootTasks)){var w,p=F.completedRootSegment;if(p!==null){if(p.status===Vj)return;var t=F.completedPreambleSegments;if(t===null)return;M6=F.byteSize;var{resumableState:v0,renderState:F0}=F,E0=F0.preamble,j$=E0.htmlChunks,f0=E0.headChunks,t0;if(j$){for(t0=0;t0<j$.length;t0++)H(_,j$[t0]);if(f0)for(t0=0;t0<f0.length;t0++)H(_,f0[t0]);else H(_,s0("head")),H(_,a2)}else if(f0)for(t0=0;t0<f0.length;t0++)H(_,f0[t0]);var T$=F0.charsetChunks;for(t0=0;t0<T$.length;t0++)H(_,T$[t0]);T$.length=0,F0.preconnects.forEach(d0,_),F0.preconnects.clear();var g$=F0.viewportChunks;for(t0=0;t0<g$.length;t0++)H(_,g$[t0]);g$.length=0,F0.fontPreloads.forEach(d0,_),F0.fontPreloads.clear(),F0.highImagePreloads.forEach(d0,_),F0.highImagePreloads.clear(),H2=F0,F0.styles.forEach(a0,_),H2=null;var B$=F0.importMapChunks;for(t0=0;t0<B$.length;t0++)H(_,B$[t0]);B$.length=0,F0.bootstrapScripts.forEach(d0,_),F0.scripts.forEach(d0,_),F0.scripts.clear(),F0.bulkPreloads.forEach(d0,_),F0.bulkPreloads.clear(),j$||f0||(v0.instructions|=q4);var W$=F0.hoistableChunks;for(t0=0;t0<W$.length;t0++)H(_,W$[t0]);for(v0=W$.length=0;v0<t.length;v0++){var a$=t[v0];for(F0=0;F0<a$.length;F0++)XX(F,_,a$[F0],null)}var s$=F.renderState.preamble,t$=s$.headChunks;(s$.htmlChunks||t$)&&H(_,Lj("head"));var Yj=s$.bodyChunks;if(Yj)for(t=0;t<Yj.length;t++)H(_,Yj[t]);XX(F,_,p,null),F.completedRootSegment=null;var B2=F.renderState;if(F.allPendingTasks!==0||F.clientRenderedBoundaries.length!==0||F.completedBoundaries.length!==0||F.trackedPostpones!==null&&(F.trackedPostpones.rootNodes.length!==0||F.trackedPostpones.rootSlots!==null)){var ij=F.resumableState;if((ij.instructions&LU)===MU){if(ij.instructions|=LU,H(_,B2.startInlineScript),(ij.instructions&q4)===MU){ij.instructions|=q4;var zj="_"+ij.idPrefix+"R_";H(_,qX),H(_,x(W(zj))),H(_,UU)}H(_,a2),H(_,VJ),T(_,YJ)}}Y$(_,B2)}var r$=F.renderState;p=0;var ej=r$.viewportChunks;for(p=0;p<ej.length;p++)H(_,ej[p]);ej.length=0,r$.preconnects.forEach(d0,_),r$.preconnects.clear(),r$.fontPreloads.forEach(d0,_),r$.fontPreloads.clear(),r$.highImagePreloads.forEach(d0,_),r$.highImagePreloads.clear(),r$.styles.forEach(u$,_),r$.scripts.forEach(d0,_),r$.scripts.clear(),r$.bulkPreloads.forEach(d0,_),r$.bulkPreloads.clear();var h2=r$.hoistableChunks;for(p=0;p<h2.length;p++)H(_,h2[p]);h2.length=0;var xj=F.clientRenderedBoundaries;for(w=0;w<xj.length;w++){var $2=xj[w];r$=_;var{resumableState:dU,renderState:WU}=F,y2=$2.rootSegmentID,hj=$2.errorDigest,f2=$2.errorMessage,nU=$2.errorStack,z4=$2.errorComponentStack;if(H(r$,WU.startInlineScript),H(r$,a2),(dU.instructions&CI)===MU?(dU.instructions|=CI,H(r$,gY)):H(r$,QZ),H(r$,WU.boundaryPrefix),H(r$,x(y2.toString(16))),H(r$,YZ),hj||f2||nU||z4)H(r$,MX),H(r$,x(J2(hj||"")));if(f2||nU||z4)H(r$,MX),H(r$,x(J2(f2||"")));if(nU||z4)H(r$,MX),H(r$,x(J2(nU||"")));z4&&(H(r$,MX),H(r$,x(J2(z4))));var vU=T(r$,Pz);if(!vU){F.destination=null,w++,xj.splice(0,w);return}}xj.splice(0,w);var I2=F.completedBoundaries;for(w=0;w<I2.length;w++)if(!jJ(F,_,I2[w])){F.destination=null,w++,I2.splice(0,w);return}I2.splice(0,w),c(_),k4=new Uint8Array(2048),uU=0,_2=!0;var CU=F.partialBoundaries;for(w=0;w<CU.length;w++){$:{xj=F,$2=_;var $4=CU[w];M6=$4.byteSize;var p2=$4.completedSegments;for(vU=0;vU<p2.length;vU++)if(!JX(xj,$2,$4,p2[vU])){vU++,p2.splice(0,vU);var E4=!1;break $}p2.splice(0,vU);var iU=$4.row;iU!==null&&iU.together&&$4.pendingTasks===1&&(iU.pendingTasks===1?tX(xj,iU,iU.hoistables):iU.pendingTasks--),E4=l0($2,$4.contentState,xj.renderState)}if(!E4){F.destination=null,w++,CU.splice(0,w);return}}CU.splice(0,w),_2=!1;var g2=F.completedBoundaries;for(w=0;w<g2.length;w++)if(!jJ(F,_,g2[w])){F.destination=null,w++,g2.splice(0,w);return}g2.splice(0,w)}}finally{_2=!1,F.allPendingTasks===0&&F.clientRenderedBoundaries.length===0&&F.completedBoundaries.length===0?(F.flushScheduled=!1,w=F.resumableState,w.hasBody&&H(_,Lj("body")),w.hasHtml&&H(_,Lj("html")),c(_),F.abortableTasks.size!==0&&console.error("There was still abortable task at the root when we closed. This is a bug in React."),F.status=aU,_.close(),F.destination=null):c(_)}}function HI(F){F.flushScheduled=F.destination!==null,hG(function(){return IX(F)}),B(function(){F.status===10&&(F.status=11),F.trackedPostpones===null&&fG(F,F.pendingRootTasks===0)})}function K6(F){F.flushScheduled===!1&&F.pingedTasks.length===0&&F.destination!==null&&(F.flushScheduled=!0,B(function(){var _=F.destination;_?FI(F,_):F.flushScheduled=!1}))}function j1(F,_){if(F.status===13)F.status=aU,i(_,F.fatalError);else if(F.status!==aU&&F.destination===null){F.destination=_;try{FI(F,_)}catch(w){_={},mU(F,w,_,null),$X(F,w,_,null)}}}function a4(F,_){if(F.status===11||F.status===10)F.status=12;try{var w=F.abortableTasks;if(0<w.size){var p=_===void 0?Error("The render was aborted by the server without a reason."):typeof _==="object"&&_!==null&&typeof _.then==="function"?Error("The render was aborted by the server with a promise."):_;F.fatalError=p,w.forEach(function(t){var v0=P,F0=C2.getCurrentStack;P=t,C2.getCurrentStack=oX;try{w4(t,F,p)}finally{P=v0,C2.getCurrentStack=F0}}),w.clear()}F.destination!==null&&FI(F,F.destination)}catch(t){_={},mU(F,t,_,null),$X(F,t,_,null)}}function QX(F,_,w){if(_===null)w.rootNodes.push(F);else{var p=w.workingMap,t=p.get(_);t===void 0&&(t=[_[1],_[2],[],null],p.set(_,t),QX(t,_[0],w)),t[2].push(F)}}function A4(F){var _=F.trackedPostpones;if(_===null||_.rootNodes.length===0&&_.rootSlots===null)return F.trackedPostpones=null;if(F.completedRootSegment===null||F.completedRootSegment.status!==Vj&&F.completedPreambleSegments!==null){var w=F.nextSegmentId,p=_.rootSlots,t=F.resumableState;t.bootstrapScriptContent=void 0,t.bootstrapScripts=void 0,t.bootstrapModules=void 0}else{w=0,p=-1,t=F.resumableState;var v0=F.renderState;t.nextFormID=0,t.hasBody=!1,t.hasHtml=!1,t.unknownResources={font:v0.resets.font},t.dnsResources=v0.resets.dns,t.connectResources=v0.resets.connect,t.imageResources=v0.resets.image,t.styleResources=v0.resets.style,t.scriptResources={},t.moduleUnknownResources={},t.moduleScriptResources={},t.instructions=MU}return{nextSegmentId:w,rootFormatContext:F.rootFormatContext,progressiveChunkSize:F.progressiveChunkSize,resumableState:F.resumableState,replayNodes:_.rootNodes,replaySlots:p}}function bG(){var F=CO.version;if(F!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
364
|
+
- react: `+(F+`
|
|
365
|
+
- react-dom: 19.2.7
|
|
366
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}var YX=Symbol.for("react.transitional.element"),e1=Symbol.for("react.portal"),M1=Symbol.for("react.fragment"),zY=Symbol.for("react.strict_mode"),WY=Symbol.for("react.profiler"),UJ=Symbol.for("react.consumer"),t2=Symbol.for("react.context"),nj=Symbol.for("react.forward_ref"),N6=Symbol.for("react.suspense"),vJ=Symbol.for("react.suspense_list"),GX=Symbol.for("react.memo"),gv=Symbol.for("react.lazy"),ZX=Symbol.for("react.scope"),KY=Symbol.for("react.activity"),mG=Symbol.for("react.legacy_hidden"),_I=Symbol.for("react.memo_cache_sentinel"),S6=Symbol.for("react.view_transition"),$v=Symbol.iterator,jv=Array.isArray,JQ=new WeakMap,Q4=new WeakMap,QQ=Symbol.for("react.client.reference"),uG=new MessageChannel,Nv=[];uG.port1.onmessage=function(){var F=Nv.shift();F&&F()};var zX=Promise,hG=typeof queueMicrotask==="function"?queueMicrotask:function(F){zX.resolve(null).then(F).catch(g)},k4=null,uU=0,OY=new TextEncoder,k2=Object.assign,cj=Object.prototype.hasOwnProperty,MI=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]*$"),YQ={},IJ={},pG=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(" ")),VY=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"]]),LI={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},s2={"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},Sv={},lG=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]*$"),O6=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]*$"),e4=!1,wv={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"},Kj={},AI=/^on./,dG=/^on[^A-Z]/,WX=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]*$"),qI=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]*$"),HU=/^(?:webkit|moz|o)[A-Z]/,_U=/^-ms-/,XJ=/-(.)/g,w6=/;\s*$/,kv={},PI={},Uv=!1,Y4=!1,ZU=/["'&<>]/,k6=/([A-Z])/g,G4=/^ms-/,c6=/^[\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,C2=CO.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,JJ=iq.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,GQ=Object.freeze({pending:!1,data:null,method:null,action:null}),U1=JJ.d;JJ.d={f:U1.f,r:U1.r,D:function(F){var _=Hj?Hj:null;if(_){var{resumableState:w,renderState:p}=_;if(typeof F==="string"&&F){if(!w.dnsResources.hasOwnProperty(F)){w.dnsResources[F]=AU,w=p.headers;var t,v0;if(v0=w&&0<w.remainingCapacity)v0=(t="<"+p0(F)+">; rel=dns-prefetch",0<=(w.remainingCapacity-=t.length+2));v0?(p.resets.dns[F]=AU,w.preconnects&&(w.preconnects+=", "),w.preconnects+=t):(t=[],o0(t,{href:F,rel:"dns-prefetch"}),p.preconnects.add(t))}K6(_)}}else U1.D(F)},C:function(F,_){var w=Hj?Hj:null;if(w){var{resumableState:p,renderState:t}=w;if(typeof F==="string"&&F){var v0=_==="use-credentials"?"credentials":typeof _==="string"?"anonymous":"default";if(!p.connectResources[v0].hasOwnProperty(F)){p.connectResources[v0][F]=AU,p=t.headers;var F0,E0;if(E0=p&&0<p.remainingCapacity){if(E0="<"+p0(F)+">; rel=preconnect",typeof _==="string"){var j$=K$(_,"crossOrigin");E0+='; crossorigin="'+j$+'"'}E0=(F0=E0,0<=(p.remainingCapacity-=F0.length+2))}E0?(t.resets.connect[v0][F]=AU,p.preconnects&&(p.preconnects+=", "),p.preconnects+=F0):(v0=[],o0(v0,{rel:"preconnect",href:F,crossOrigin:_}),t.preconnects.add(v0))}K6(w)}}else U1.C(F,_)},L:function(F,_,w){var p=Hj?Hj:null;if(p){var{resumableState:t,renderState:v0}=p;if(_&&F){switch(_){case"image":if(w)var{imageSrcSet:F0,imageSizes:E0,fetchPriority:j$}=w;var f0=F0?F0+`
|
|
367
|
+
`+(E0||""):F;if(t.imageResources.hasOwnProperty(f0))return;t.imageResources[f0]=P4,t=v0.headers;var t0;t&&0<t.remainingCapacity&&typeof F0!=="string"&&j$==="high"&&(t0=b0(F,_,w),0<=(t.remainingCapacity-=t0.length+2))?(v0.resets.image[f0]=P4,t.highImagePreloads&&(t.highImagePreloads+=", "),t.highImagePreloads+=t0):(t=[],o0(t,k2({rel:"preload",href:F0?void 0:F,as:_},w)),j$==="high"?v0.highImagePreloads.add(t):(v0.bulkPreloads.add(t),v0.preloads.images.set(f0,t)));break;case"style":if(t.styleResources.hasOwnProperty(F))return;F0=[],o0(F0,k2({rel:"preload",href:F,as:_},w)),t.styleResources[F]=!w||typeof w.crossOrigin!=="string"&&typeof w.integrity!=="string"?P4:[w.crossOrigin,w.integrity],v0.preloads.stylesheets.set(F,F0),v0.bulkPreloads.add(F0);break;case"script":if(t.scriptResources.hasOwnProperty(F))return;F0=[],v0.preloads.scripts.set(F,F0),v0.bulkPreloads.add(F0),o0(F0,k2({rel:"preload",href:F,as:_},w)),t.scriptResources[F]=!w||typeof w.crossOrigin!=="string"&&typeof w.integrity!=="string"?P4:[w.crossOrigin,w.integrity];break;default:if(t.unknownResources.hasOwnProperty(_)){if(F0=t.unknownResources[_],F0.hasOwnProperty(F))return}else F0={},t.unknownResources[_]=F0;if(F0[F]=P4,(t=v0.headers)&&0<t.remainingCapacity&&_==="font"&&(f0=b0(F,_,w),0<=(t.remainingCapacity-=f0.length+2)))v0.resets.font[F]=P4,t.fontPreloads&&(t.fontPreloads+=", "),t.fontPreloads+=f0;else switch(t=[],F=k2({rel:"preload",href:F,as:_},w),o0(t,F),_){case"font":v0.fontPreloads.add(t);break;default:v0.bulkPreloads.add(t)}}K6(p)}}else U1.L(F,_,w)},m:function(F,_){var w=Hj?Hj:null;if(w){var{resumableState:p,renderState:t}=w;if(F){var v0=_&&typeof _.as==="string"?_.as:"script";switch(v0){case"script":if(p.moduleScriptResources.hasOwnProperty(F))return;v0=[],p.moduleScriptResources[F]=!_||typeof _.crossOrigin!=="string"&&typeof _.integrity!=="string"?P4:[_.crossOrigin,_.integrity],t.preloads.moduleScripts.set(F,v0);break;default:if(p.moduleUnknownResources.hasOwnProperty(v0)){var F0=p.unknownResources[v0];if(F0.hasOwnProperty(F))return}else F0={},p.moduleUnknownResources[v0]=F0;v0=[],F0[F]=P4}o0(v0,k2({rel:"modulepreload",href:F},_)),t.bulkPreloads.add(v0),K6(w)}}else U1.m(F,_)},X:function(F,_){var w=Hj?Hj:null;if(w){var{resumableState:p,renderState:t}=w;if(F){var v0=p.scriptResources.hasOwnProperty(F)?p.scriptResources[F]:void 0;v0!==AU&&(p.scriptResources[F]=AU,_=k2({src:F,async:!0},_),v0&&(v0.length===2&&_0(_,v0),F=t.preloads.scripts.get(F))&&(F.length=0),F=[],t.scripts.add(F),w0(F,_),K6(w))}}else U1.X(F,_)},S:function(F,_,w){var p=Hj?Hj:null;if(p){var{resumableState:t,renderState:v0}=p;if(F){_=_||"default";var F0=v0.styles.get(_),E0=t.styleResources.hasOwnProperty(F)?t.styleResources[F]:void 0;E0!==AU&&(t.styleResources[F]=AU,F0||(F0={precedence:x(W(_)),rules:[],hrefs:[],sheets:new Map},v0.styles.set(_,F0)),_={state:A1,props:k2({rel:"stylesheet",href:F,"data-precedence":_},w)},E0&&(E0.length===2&&_0(_.props,E0),(v0=v0.preloads.stylesheets.get(F))&&0<v0.length?v0.length=0:_.state=uv),F0.sheets.set(F,_),K6(p))}}else U1.S(F,_,w)},M:function(F,_){var w=Hj?Hj:null;if(w){var{resumableState:p,renderState:t}=w;if(F){var v0=p.moduleScriptResources.hasOwnProperty(F)?p.moduleScriptResources[F]:void 0;v0!==AU&&(p.moduleScriptResources[F]=AU,_=k2({src:F,type:"module",async:!0},_),v0&&(v0.length===2&&_0(_,v0),F=t.preloads.moduleScripts.get(F))&&(F.length=0),F=[],t.scripts.add(F),w0(F,_),K6(w))}}else U1.M(F,_)}};var MU=0,nG=1,V6=2,CI=4,c4=8,q4=32,LU=64,AU=null,P4=[];Object.freeze(P4);var H2=null;u('"></template>');var QJ=u("<script"),YJ=u("</script>"),iG=u('<script src="'),cv=u('<script type="module" src="'),DY=u(' nonce="'),FY=u(' integrity="'),sU=u(' crossorigin="'),ZQ=u(' async=""></script>'),KX=u("<style"),zQ=/(<\/|<)(s)(cript)/gi,RI=u('<script type="importmap">'),WQ=u("</script>"),GJ={},OX=0,vv=1,D6=2,EI=3,v1=4,ZJ=5,zJ=6,KQ=7,Iv=8,Xv=9,$6=u("<!-- -->"),OQ=new Map,TI=u(' style="'),WJ=u(":"),VQ=u(";"),j6=u(" "),x6=u('="'),UU=u('"'),DQ=u('=""'),HY=u(W("javascript:throw new Error('React form unexpectedly submitted.')")),xv=u('<input type="hidden"'),a2=u(">"),KJ=u("/>"),yv=!1,F6=!1,FQ=!1,Fj=!1,N$=!1,VX=!1,HQ=!1,e2=!1,_Y=!1,OJ=!1,_Q=!1,MQ=u(' selected=""'),Gz=u(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`),rG=u("<!--F!-->"),oG=u("<!--F-->"),tG=/(<\/|<)(s)(tyle)/gi,U6=u("<!--head-->"),Y2=u("<!--body-->"),MY=u("<!--html-->"),DX=u(`
|
|
368
|
+
`),BI=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,gI=new Map,I1=u("<!DOCTYPE html>"),LY=new Map,VJ=u("requestAnimationFrame(function(){$RT=performance.now()});"),sG=u('<template id="'),LQ=u('"></template>'),aG=u("<!--&-->"),AY=u("<!--/&-->"),Zz=u("<!--$-->"),zz=u('<!--$?--><template id="'),Wz=u('"></template>'),Kz=u("<!--$!-->"),Oz=u("<!--/$-->"),DJ=u("<template"),FJ=u('"'),eG=u(' data-dgst="'),Vz=u(' data-msg="'),Dz=u(' data-stck="'),Fz=u(' data-cstck="'),OW=u("></template>"),Hz=u('<div hidden id="'),AQ=u('">'),qY=u("</div>"),Jv=u('<svg aria-hidden="true" style="display:none" id="'),_z=u('">'),Mz=u("</svg>"),FX=u('<math aria-hidden="true" style="display:none" id="'),PY=u('">'),Lz=u("</math>"),Az=u('<table hidden id="'),qQ=u('">'),HX=u("</table>"),PQ=u('<table hidden><tbody id="'),fv=u('">'),x4=u("</tbody></table>"),HJ=u('<table hidden><tr id="'),$Z=u('">'),CY=u("</tr></table>"),RY=u('<table hidden><colgroup id="'),jZ=u('">'),qz=u("</colgroup></table>"),UZ=u('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),EY=u('$RS("'),L1=u('","'),_X=u('")</script>');u('<template data-rsi="" data-sid="'),u('" data-pid="');var Qv=u(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
|
|
369
|
+
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`);x(`$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),
|
|
370
|
+
H=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll('img[src]:not([loading="lazy"])'))}}}if(B){var z=
|
|
371
|
+
document.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=
|
|
372
|
+
performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);`);var CQ=u('$RC("'),TY=u(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
|
|
373
|
+
"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
|
|
374
|
+
"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),vZ=u('$RR("'),IZ=u('","'),BY=u('",'),XZ=u('"'),RQ=u(")</script>");u('<template data-rci="" data-bid="'),u('<template data-rri="" data-bid="'),u('" data-sid="'),u('" data-sty="');var JZ=u('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),gY=u('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),QZ=u('$RX("'),YZ=u('"'),MX=u(","),Pz=u(")</script>");u('<template data-rxi="" data-bid="'),u('" data-dgst="'),u('" data-msg="'),u('" data-stck="'),u('" data-cstck="');var EQ=/[<\u2028\u2029]/g,LX=/[&><\u2028\u2029]/g,GZ=u(' media="not all" data-precedence="'),v6=u('" data-href="'),NY=u('">'),VW=u("</style>"),y6=!1,bv=!0,X1=[],_J=u(' data-precedence="'),TQ=u('" data-href="'),R2=u(" "),AX=u('">'),MJ=u("</style>");u('<link rel="expect" href="#'),u('" blocking="render"/>');var qX=u(' id="'),PX=u("["),J1=u(",["),CX=u(","),mv=u("]"),A1=0,uv=1,f6=2,NI=3,SY=/[<>\r\n]/g,LJ=/["';,\r\n]/g,H6=Function.prototype.bind,C4=Symbol.for("react.client.reference"),y4={};Object.freeze(y4);var AJ={},hv=null,wY={},RX={},kY=new Set,qJ=new Set,cY=new Set,xY=new Set,PJ=new Set,CJ=new Set,BQ=new Set,yY=new Set,ZZ=new Set,gQ={enqueueSetState:function(F,_,w){var p=F._reactInternals;p.queue===null?N2(F,"setState"):(p.queue.push(_),w!==void 0&&w!==null&&K2(w))},enqueueReplaceState:function(F,_,w){F=F._reactInternals,F.replace=!0,F.queue=[_],w!==void 0&&w!==null&&K2(w)},enqueueForceUpdate:function(F,_){F._reactInternals.queue===null?N2(F,"forceUpdate"):_!==void 0&&_!==null&&K2(_)}},NQ={id:1,overflow:""},EX=Math.clz32?Math.clz32:$U,zZ=Math.log,fY=Math.LN2,f4=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`."),TX=null,Cz=typeof Object.is==="function"?Object.is:S2,zU=null,b6=null,c2=null,RJ=null,Q1=null,sj=null,hU=!1,q1=!1,qU=0,pv=0,Yv=-1,U2=0,BX=null,lv=null,EJ=0,pU=!1,Gv,gX={readContext:P2,use:function(F){if(F!==null&&typeof F==="object"){if(typeof F.then==="function")return kG(F);if(F.$$typeof===t2)return P2(F)}throw Error("An unsupported type was passed to use(): "+String(F))},useContext:function(F){return Gv="useContext",Q2(),F._currentValue},useMemo:YI,useReducer:dX,useRef:function(F){zU=Q2(),sj=w2();var _=sj.memoizedState;return _===null?(F={current:F},Object.seal(F),sj.memoizedState=F):_},useState:function(F){return Gv="useState",dX(Pv,F)},useInsertionEffect:Tj,useLayoutEffect:Tj,useCallback:function(F,_){return YI(function(){return F},_)},useImperativeHandle:Tj,useEffect:Tj,useDebugValue:Tj,useDeferredValue:function(F,_){return Q2(),_!==void 0?_:F},useTransition:function(){return Q2(),[!1,$Q]},useId:function(){var F=b6.treeContext,_=F.overflow;F=F.id,F=(F&~(1<<32-EX(F)-1)).toString(32)+_;var w=M;if(w===null)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");return _=qU++,F="_"+w.idPrefix+"R_"+F,0<_&&(F+="H"+_.toString(32)),F+"_"},useSyncExternalStore:function(F,_,w){if(w===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return w()},useOptimistic:function(F){return Q2(),[F,sI]},useActionState:wG,useFormState:wG,useHostTransitionStatus:function(){return Q2(),GQ},useMemoCache:function(F){for(var _=Array(F),w=0;w<F;w++)_[w]=_I;return _},useCacheRefresh:function(){return KW},useEffectEvent:function(){return nX}},M=null,P=null,k={getCacheForType:function(){throw Error("Not implemented.")},cacheSignal:function(){throw Error("Not implemented.")},getOwner:function(){return P===null?null:P.componentStack}},d=0,s,G0,q0,c0,A$,i0,$$;JY.__reactDisabledLog=!0;var x$,b$,f$=!1,R$=new(typeof WeakMap==="function"?WeakMap:Map),Oj={react_stack_bottom_frame:function(F,_,w){return F(_,w)}},E2=Oj.react_stack_bottom_frame.bind(Oj),jj={react_stack_bottom_frame:function(F){return F.render()}},Nj=jj.react_stack_bottom_frame.bind(jj),Z4={react_stack_bottom_frame:function(F){var _=F._init;return _(F._payload)}},R4=Z4.react_stack_bottom_frame.bind(Z4),Sj=0;if(typeof performance==="object"&&typeof performance.now==="function")var PU=performance,m6=function(){return PU.now()};else{var I6=Date;m6=function(){return I6.now()}}var d$=4,G2=0,v2=1,x2=2,T2=3,u2=4,Vj=5,aU=14,Hj=null,eU={},aj={},b4={},_6={},Y1=!1,lU=!1,u6=!1,M6=0,_2=!1;bG(),bG(),Sp.prerender=function(F,_){return new Promise(function(w,p){var t=_?_.onHeaders:void 0,v0;t&&(v0=function(t0){t(new Headers(t0))});var F0=q(_?_.identifierPrefix:void 0,_?_.unstable_externalRuntimeSrc:void 0,_?_.bootstrapScriptContent:void 0,_?_.bootstrapScripts:void 0,_?_.bootstrapModules:void 0),E0=S4(F,F0,N(F0,void 0,_?_.unstable_externalRuntimeSrc:void 0,_?_.importMap:void 0,v0,_?_.maxHeadersLength:void 0),b(_?_.namespaceURI:void 0),_?_.progressiveChunkSize:void 0,_?_.onError:void 0,function(){var t0=new ReadableStream({type:"bytes",pull:function(T$){j1(E0,T$)},cancel:function(T$){E0.destination=null,a4(E0,T$)}},{highWaterMark:0});t0={postponed:A4(E0),prelude:t0},w(t0)},void 0,void 0,p,_?_.onPostpone:void 0);if(_&&_.signal){var j$=_.signal;if(j$.aborted)a4(E0,j$.reason);else{var f0=function(){a4(E0,j$.reason),j$.removeEventListener("abort",f0)};j$.addEventListener("abort",f0)}}HI(E0)})},Sp.renderToReadableStream=function(F,_){return new Promise(function(w,p){var t,v0,F0=new Promise(function(B$,W$){v0=B$,t=W$}),E0=_?_.onHeaders:void 0,j$;E0&&(j$=function(B$){E0(new Headers(B$))});var f0=q(_?_.identifierPrefix:void 0,_?_.unstable_externalRuntimeSrc:void 0,_?_.bootstrapScriptContent:void 0,_?_.bootstrapScripts:void 0,_?_.bootstrapModules:void 0),t0=eI(F,f0,N(f0,_?_.nonce:void 0,_?_.unstable_externalRuntimeSrc:void 0,_?_.importMap:void 0,j$,_?_.maxHeadersLength:void 0),b(_?_.namespaceURI:void 0),_?_.progressiveChunkSize:void 0,_?_.onError:void 0,v0,function(){var B$=new ReadableStream({type:"bytes",pull:function(W$){j1(t0,W$)},cancel:function(W$){t0.destination=null,a4(t0,W$)}},{highWaterMark:0});B$.allReady=F0,w(B$)},function(B$){F0.catch(function(){}),p(B$)},t,_?_.onPostpone:void 0,_?_.formState:void 0);if(_&&_.signal){var T$=_.signal;if(T$.aborted)a4(t0,T$.reason);else{var g$=function(){a4(t0,T$.reason),T$.removeEventListener("abort",g$)};T$.addEventListener("abort",g$)}}HI(t0)})},Sp.resume=function(F,_,w){return new Promise(function(p,t){var v0,F0,E0=new Promise(function(T$,g$){F0=T$,v0=g$}),j$=o1(F,_,N(_.resumableState,w?w.nonce:void 0,void 0,void 0,void 0,void 0),w?w.onError:void 0,F0,function(){var T$=new ReadableStream({type:"bytes",pull:function(g$){j1(j$,g$)},cancel:function(g$){j$.destination=null,a4(j$,g$)}},{highWaterMark:0});T$.allReady=E0,p(T$)},function(T$){E0.catch(function(){}),t(T$)},v0,w?w.onPostpone:void 0);if(w&&w.signal){var f0=w.signal;if(f0.aborted)a4(j$,f0.reason);else{var t0=function(){a4(j$,f0.reason),f0.removeEventListener("abort",t0)};f0.addEventListener("abort",t0)}}HI(j$)})},Sp.resumeAndPrerender=function(F,_,w){return new Promise(function(p,t){var v0=jU(F,_,N(_.resumableState,void 0,void 0,void 0,void 0,void 0),w?w.onError:void 0,function(){var j$=new ReadableStream({type:"bytes",pull:function(f0){j1(v0,f0)},cancel:function(f0){v0.destination=null,a4(v0,f0)}},{highWaterMark:0});j$={postponed:A4(v0),prelude:j$},p(j$)},void 0,void 0,t,w?w.onPostpone:void 0);if(w&&w.signal){var F0=w.signal;if(F0.aborted)a4(v0,F0.reason);else{var E0=function(){a4(v0,F0.reason),F0.removeEventListener("abort",E0)};F0.addEventListener("abort",E0)}}HI(v0)})},Sp.version="19.2.7"})()});var z6=hX((bp)=>{var Yz=Z2(uZ());(function(){function U(G){if(G==null)return null;if(typeof G==="function")return G.$$typeof===X0?null:G.displayName||G.name||null;if(typeof G==="string")return G;switch(G){case u:return"Fragment";case i:return"Profiler";case h:return"StrictMode";case j0:return"Suspense";case Y0:return"SuspenseList";case h0:return"Activity"}if(typeof G==="object")switch(typeof G.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),G.$$typeof){case x:return"Portal";case n:return G.displayName||"Context";case m:return(G._context.displayName||"Context")+".Consumer";case a:var C=G.render;return G=G.displayName,G||(G=C.displayName||C.name||"",G=G!==""?"ForwardRef("+G+")":"ForwardRef"),G;case C0:return C=G.displayName||null,C!==null?C:U(G.type)||"Memo";case S0:C=G._payload,G=G._init;try{return U(G(C))}catch(b){}}return null}function I(G){return""+G}function J(G){try{I(G);var C=!1}catch(o){C=!0}if(C){C=console;var b=C.error,y=typeof Symbol==="function"&&Symbol.toStringTag&&G[Symbol.toStringTag]||G.constructor.name||"Object";return b.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",y),I(G)}}function z(G){if(G===u)return"<>";if(typeof G==="object"&&G!==null&&G.$$typeof===S0)return"<...>";try{var C=U(G);return C?"<"+C+">":"<...>"}catch(b){return"<...>"}}function v(){var G=x0.A;return G===null?null:G.getOwner()}function Z(){return Error("react-stack-top-frame")}function Y(G){if(Q.call(G,"key")){var C=Object.getOwnPropertyDescriptor(G,"key").get;if(C&&C.isReactWarning)return!1}return G.key!==void 0}function L(G,C){function b(){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)",C))}b.isReactWarning=!0,Object.defineProperty(G,"key",{get:b,configurable:!0})}function S(){var G=U(this.type);return V[G]||(V[G]=!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.")),G=this.props.ref,G!==void 0?G:null}function B(G,C,b,y,o,J0){var K0=b.ref;return G={$$typeof:c,type:G,key:C,props:b,_owner:y},(K0!==void 0?K0:null)!==null?Object.defineProperty(G,"ref",{enumerable:!1,get:S}):Object.defineProperty(G,"ref",{enumerable:!1,value:null}),G._store={},Object.defineProperty(G._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(G,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(G,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(G,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:J0}),Object.freeze&&(Object.freeze(G.props),Object.freeze(G)),G}function g(G,C,b,y,o,J0){var K0=C.children;if(K0!==void 0)if(y)if(K(K0)){for(y=0;y<K0.length;y++)H(K0[y]);Object.freeze&&Object.freeze(K0)}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 H(K0);if(Q.call(C,"key")){K0=U(G);var A0=Object.keys(C).filter(function(W0){return W0!=="key"});y=0<A0.length?"{key: someKey, "+A0.join(": ..., ")+": ...}":"{key: someKey}",q[K0+y]||(A0=0<A0.length?"{"+A0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
375
|
+
let props = %s;
|
|
376
|
+
<%s {...props} />
|
|
377
|
+
React keys must be passed directly to JSX without using spread:
|
|
378
|
+
let props = %s;
|
|
379
|
+
<%s key={someKey} {...props} />`,y,K0,A0,K0),q[K0+y]=!0)}if(K0=null,b!==void 0&&(J(b),K0=""+b),Y(C)&&(J(C.key),K0=""+C.key),"key"in C){b={};for(var H0 in C)H0!=="key"&&(b[H0]=C[H0])}else b=C;return K0&&L(b,typeof G==="function"?G.displayName||G.name||"Unknown":G),B(G,K0,b,v(),o,J0)}function H(G){T(G)?G._store&&(G._store.validated=1):typeof G==="object"&&G!==null&&G.$$typeof===S0&&(G._payload.status==="fulfilled"?T(G._payload.value)&&G._payload.value._store&&(G._payload.value._store.validated=1):G._store&&(G._store.validated=1))}function T(G){return typeof G==="object"&&G!==null&&G.$$typeof===c}var c=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),n=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),j0=Symbol.for("react.suspense"),Y0=Symbol.for("react.suspense_list"),C0=Symbol.for("react.memo"),S0=Symbol.for("react.lazy"),h0=Symbol.for("react.activity"),X0=Symbol.for("react.client.reference"),x0=Yz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,K=Array.isArray,D=console.createTask?console.createTask:function(){return null};Yz={react_stack_bottom_frame:function(G){return G()}};var W,V={},R=Yz.react_stack_bottom_frame.bind(Yz,Z)(),N=D(z(Z)),q={};bp.Fragment=u,bp.jsxDEV=function(G,C,b,y){var o=1e4>x0.recentlyCreatedOwnerStacks++;return g(G,C,b,y,o?Error("react-stack-top-frame"):R,o?D(z(G)):N)}})()});var u3=Z2(FE(),1),WW=Z2(uZ(),1);var{readFile:P60}=(()=>({}));VU();var{closeSync:yo,existsSync:fo,fstatSync:bo,mkdirSync:mo,openSync:uo,readFileSync:ho,renameSync:po,rmSync:lo,statSync:no,writeFileSync:io,writeSync:ro}=(()=>({}));var J9=function(){if(typeof location<"u")return location.hostname;else return""};var F5=function(){return"/"};function rJ(U){if(typeof U!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(U))}function iT(U,I){var J="",z=0,v=-1,Z=0,Y;for(var L=0;L<=U.length;++L){if(L<U.length)Y=U.charCodeAt(L);else if(Y===47)break;else Y=47;if(Y===47){if(v===L-1||Z===1);else if(v!==L-1&&Z===2){if(J.length<2||z!==2||J.charCodeAt(J.length-1)!==46||J.charCodeAt(J.length-2)!==46){if(J.length>2){var S=J.lastIndexOf("/");if(S!==J.length-1){if(S===-1)J="",z=0;else J=J.slice(0,S),z=J.length-1-J.lastIndexOf("/");v=L,Z=0;continue}}else if(J.length===2||J.length===1){J="",z=0,v=L,Z=0;continue}}if(I){if(J.length>0)J+="/..";else J="..";z=2}}else{if(J.length>0)J+="/"+U.slice(v+1,L);else J=U.slice(v+1,L);z=L-v-1}v=L,Z=0}else if(Y===46&&Z!==-1)++Z;else Z=-1}return J}function ty(U,I){var J=I.dir||I.root,z=I.base||(I.name||"")+(I.ext||"");if(!J)return z;if(J===I.root)return J+z;return J+U+z}function pX(){var U="",I=!1,J;for(var z=arguments.length-1;z>=-1&&!I;z--){var v;if(z>=0)v=arguments[z];else{if(J===void 0)J=process.cwd();v=J}if(rJ(v),v.length===0)continue;U=v+"/"+U,I=v.charCodeAt(0)===47}if(U=iT(U,!I),I)if(U.length>0)return"/"+U;else return"/";else if(U.length>0)return U;else return"."}function rT(U){if(rJ(U),U.length===0)return".";var I=U.charCodeAt(0)===47,J=U.charCodeAt(U.length-1)===47;if(U=iT(U,!I),U.length===0&&!I)U=".";if(U.length>0&&J)U+="/";if(I)return"/"+U;return U}function g8(U){return rJ(U),U.length>0&&U.charCodeAt(0)===47}function L2(){if(arguments.length===0)return".";var U;for(var I=0;I<arguments.length;++I){var J=arguments[I];if(rJ(J),J.length>0)if(U===void 0)U=J;else U+="/"+J}if(U===void 0)return".";return rT(U)}function oT(U,I){if(rJ(U),rJ(I),U===I)return"";if(U=pX(U),I=pX(I),U===I)return"";var J=1;for(;J<U.length;++J)if(U.charCodeAt(J)!==47)break;var z=U.length,v=z-J,Z=1;for(;Z<I.length;++Z)if(I.charCodeAt(Z)!==47)break;var Y=I.length,L=Y-Z,S=v<L?v:L,B=-1,g=0;for(;g<=S;++g){if(g===S){if(L>S){if(I.charCodeAt(Z+g)===47)return I.slice(Z+g+1);else if(g===0)return I.slice(Z+g)}else if(v>S){if(U.charCodeAt(J+g)===47)B=g;else if(g===0)B=0}break}var H=U.charCodeAt(J+g),T=I.charCodeAt(Z+g);if(H!==T)break;else if(H===47)B=g}var c="";for(g=J+B+1;g<=z;++g)if(g===z||U.charCodeAt(g)===47)if(c.length===0)c+="..";else c+="/..";if(c.length>0)return c+I.slice(Z+B);else{if(Z+=B,I.charCodeAt(Z)===47)++Z;return I.slice(Z)}}function sy(U){return U}function H4(U){if(rJ(U),U.length===0)return".";var I=U.charCodeAt(0),J=I===47,z=-1,v=!0;for(var Z=U.length-1;Z>=1;--Z)if(I=U.charCodeAt(Z),I===47){if(!v){z=Z;break}}else v=!1;if(z===-1)return J?"/":".";if(J&&z===1)return"//";return U.slice(0,z)}function wK(U,I){if(I!==void 0&&typeof I!=="string")throw TypeError('"ext" argument must be a string');rJ(U);var J=0,z=-1,v=!0,Z;if(I!==void 0&&I.length>0&&I.length<=U.length){if(I.length===U.length&&I===U)return"";var Y=I.length-1,L=-1;for(Z=U.length-1;Z>=0;--Z){var S=U.charCodeAt(Z);if(S===47){if(!v){J=Z+1;break}}else{if(L===-1)v=!1,L=Z+1;if(Y>=0)if(S===I.charCodeAt(Y)){if(--Y===-1)z=Z}else Y=-1,z=L}}if(J===z)z=L;else if(z===-1)z=U.length;return U.slice(J,z)}else{for(Z=U.length-1;Z>=0;--Z)if(U.charCodeAt(Z)===47){if(!v){J=Z+1;break}}else if(z===-1)v=!1,z=Z+1;if(z===-1)return"";return U.slice(J,z)}}function ay(U){rJ(U);var I=-1,J=0,z=-1,v=!0,Z=0;for(var Y=U.length-1;Y>=0;--Y){var L=U.charCodeAt(Y);if(L===47){if(!v){J=Y+1;break}continue}if(z===-1)v=!1,z=Y+1;if(L===46){if(I===-1)I=Y;else if(Z!==1)Z=1}else if(I!==-1)Z=-1}if(I===-1||z===-1||Z===0||Z===1&&I===z-1&&I===J+1)return"";return U.slice(I,z)}function ey(U){if(U===null||typeof U!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof U);return ty("/",U)}function $f(U){rJ(U);var I={root:"",dir:"",base:"",ext:"",name:""};if(U.length===0)return I;var J=U.charCodeAt(0),z=J===47,v;if(z)I.root="/",v=1;else v=0;var Z=-1,Y=0,L=-1,S=!0,B=U.length-1,g=0;for(;B>=v;--B){if(J=U.charCodeAt(B),J===47){if(!S){Y=B+1;break}continue}if(L===-1)S=!1,L=B+1;if(J===46){if(Z===-1)Z=B;else if(g!==1)g=1}else if(Z!==-1)g=-1}if(Z===-1||L===-1||g===0||g===1&&Z===L-1&&Z===Y+1){if(L!==-1)if(Y===0&&z)I.base=I.name=U.slice(1,L);else I.base=I.name=U.slice(Y,L)}else{if(Y===0&&z)I.name=U.slice(1,Z),I.base=U.slice(1,L);else I.name=U.slice(Y,Z),I.base=U.slice(Y,L);I.ext=U.slice(Z,L)}if(Y>0)I.dir=U.slice(0,Y-1);else if(z)I.dir="/";return I}var tT="/",jf=":",pd=((U)=>(U.posix=U,U))({resolve:pX,normalize:rT,isAbsolute:g8,join:L2,relative:oT,_makeLong:sy,dirname:H4,basename:wK,extname:ay,format:ey,parse:$f,sep:tT,delimiter:jf,win32:null,posix:null});function kK(){let U=process.env.VOLTER_HOME;return U!==void 0&&U!==""?U:L2(F5(),".volter")}VU();VU();var{appendFileSync:Uf,chmodSync:sT,closeSync:Q9,existsSync:cK,fsyncSync:vf,fstatSync:aT,lstatSync:eT,mkdirSync:xK,openSync:Y9,readdirSync:If,readSync:Xf,realpathSync:Jf,readFileSync:_5,renameSync:$B,rmSync:jB,statSync:IB,unlinkSync:H5,writeFileSync:yK}=(()=>({}));var Qf=0,Yf=60000;function M5(U){try{return JSON.parse(_5(U,"utf8"))}catch{return null}}function Gf(U){try{return process.kill(U,0),!0}catch(I){return I.code==="EPERM"}}function UB(U,I=!1){let J=M5(U);if(J&&J.hostname===J9()&&Number.isInteger(J.pid)&&!Gf(J.pid))return!0;if(I)return!1;let v=J&&typeof J.at==="string"?Date.parse(J.at):NaN;if(!Number.isFinite(v))try{v=IB(U).mtimeMs}catch{return!1}return Date.now()-v>Yf}function vB(U){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,U)}class L5{read(U){if(!cK(U))return null;return _5(U,"utf8")}readLines(U){if(!cK(U))return[];return _5(U,"utf8").split(`
|
|
380
|
+
`)}readRange(U,I){let J;try{J=Y9(U,"r")}catch(z){if(z.code==="ENOENT")return null;throw z}try{let z=aT(J).size;if(I>=z)return"";let v=Buffer.allocUnsafe(z-I),Z=0;while(Z<v.length){let Y=Xf(J,v,Z,v.length-Z,I+Z);if(Y===0)break;Z+=Y}return v.toString("utf8",0,Z)}finally{Q9(J)}}append(U,I){let J=Y9(U,"a");try{if(Uf(J,I),process.env.VOLTER_DURABLE==="1")vf(J)}finally{Q9(J)}}write(U,I,J={}){if(!J.secret){xK(H4(U),{recursive:!0}),yK(U,I);return}xK(H4(U),{recursive:!0,mode:448}),yK(U,I,{mode:384}),sT(U,384)}writeAtomic(U,I,J={}){xK(H4(U),{recursive:!0});let z=`${U}.${process.pid}.${Date.now()}.${Qf++}.tmp`;try{if(yK(z,I,J.secret?{mode:384}:void 0),$B(z,U),J.secret)sT(U,384)}finally{jB(z,{force:!0})}}exists(U){return cK(U)}remove(U){jB(U,{recursive:!0,force:!0})}mkdir(U){xK(U,{recursive:!0})}list(U){if(!cK(U))return[];return If(U)}canonicalPath(U){let I=pX(U);try{return Jf(I)}catch(J){if(J.code!=="ENOENT"||H4(I)===I)throw J;return L2(this.canonicalPath(H4(I)),wK(I))}}stat(U){if(!cK(U))return null;let I=IB(U);return{size:I.size,mtimeMs:I.mtimeMs,isDirectory:I.isDirectory(),...eT(U).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(U,I,J={}){xK(H4(U),{recursive:!0});let z=Date.now(),v=null;while(v===null)try{v=Y9(U,"wx")}catch(Y){if(Y.code!=="EEXIST")throw Y;if(UB(U,J.retainLiveOwner)){let S=`${U}.recovery`,B;try{B=Y9(S,"wx")}catch(g){if(g.code!=="EEXIST")throw g;if(Date.now()-z>1e4)throw Error(`Lock recovery is active or interrupted: ${S}. Inspect its owner before removing the recovery record.`);vB(25);continue}try{if(yK(B,JSON.stringify({pid:process.pid,hostname:J9()})),UB(U,J.retainLiveOwner)){let g=M5(U),H=`${U}.stale.${process.pid}.${Date.now()}`;try{$B(U,H),console.warn(`[world] reclaiming stale storage lock ${U} (held by pid ${g?.pid??"?"} on ${g?.hostname??"?"})`),H5(H)}catch(T){if(T.code!=="ENOENT")throw T}}}finally{Q9(B),H5(S)}continue}if(Date.now()-z>1e4){let S=M5(U),B=S&&typeof S.at==="string"?Date.parse(S.at):NaN;throw Error(`Timed out waiting for world storage lock: ${U}${S?` (held by pid ${S.pid} on ${S.hostname}${Number.isFinite(B)?` for ${Date.now()-B}ms`:""})`:""}`)}vB(25)}try{yK(v,`${JSON.stringify({pid:process.pid,hostname:J9(),at:new Date().toISOString()})}
|
|
381
|
+
`)}catch{}let Z=Date.now();try{return I()}finally{let Y=Date.now()-Z;if(Y>2000)console.warn(`[world] held storage lock ${U} for ${Y}ms (pid ${process.pid})
|
|
382
|
+
${Error().stack?.split(`
|
|
383
|
+
`).slice(2,8).join(`
|
|
384
|
+
`)??""}`);let L=aT(v);Q9(v);try{let S=eT(U);if(L.dev===S.dev&&L.ino===S.ino)H5(U)}catch{}}}}var Zf=new L5,zf=(()=>{try{let U=globalThis.process?.getBuiltinModule?.("node:async_hooks");return U?.AsyncLocalStorage?new U.AsyncLocalStorage:null}catch{return null}})();function p1(){return zf?.getStore()??Zf}VU();var Wj={};m1(Wj,{xor:()=>ug,xid:()=>Zg,void:()=>cg,uuidv7:()=>Ug,uuidv6:()=>jg,uuidv4:()=>$g,uuid:()=>eB,util:()=>k$,url:()=>vg,uppercase:()=>p8,unknown:()=>vz,union:()=>fD,undefined:()=>wg,ulid:()=>Gg,uint64:()=>Ng,uint32:()=>Tg,tuple:()=>tA,trim:()=>o8,treeifyError:()=>u5,transform:()=>mD,toUpperCase:()=>s8,toLowerCase:()=>t8,toJSONSchema:()=>zD,templateLiteral:()=>jN,symbol:()=>Sg,superRefine:()=>Pq,success:()=>sg,stringbool:()=>GN,stringFormat:()=>Lg,string:()=>QO,strictObject:()=>bg,startsWith:()=>d8,slugify:()=>a8,size:()=>$z,setErrorMap:()=>$u,set:()=>ng,safeParseAsync:()=>PA,safeParse:()=>qA,safeEncodeAsync:()=>NA,safeEncode:()=>BA,safeDecodeAsync:()=>SA,safeDecode:()=>gA,registry:()=>x9,regexes:()=>XI,regex:()=>u8,refine:()=>qq,record:()=>sA,readonly:()=>Fq,property:()=>QD,promise:()=>UN,prettifyError:()=>h5,preprocess:()=>zN,prefault:()=>Gq,positive:()=>vD,pipe:()=>HD,partialRecord:()=>pg,parseAsync:()=>AA,parse:()=>LA,overwrite:()=>lX,optional:()=>GO,object:()=>fg,number:()=>kA,nullish:()=>tg,nullable:()=>ZO,null:()=>bA,normalize:()=>r8,nonpositive:()=>XD,nonoptional:()=>Zq,nonnegative:()=>JD,never:()=>yD,negative:()=>ID,nativeEnum:()=>ig,nanoid:()=>Jg,nan:()=>ag,multipleOf:()=>TG,minSize:()=>aJ,minLength:()=>IY,mime:()=>i8,meta:()=>QN,maxSize:()=>BG,maxLength:()=>jz,map:()=>dg,mac:()=>Kg,lte:()=>JI,lt:()=>tJ,lowercase:()=>h8,looseRecord:()=>lg,looseObject:()=>mg,locales:()=>vO,literal:()=>rg,length:()=>Uz,lazy:()=>Mq,ksuid:()=>zg,keyof:()=>yg,jwt:()=>Mg,json:()=>ZN,iso:()=>jW,ipv6:()=>Og,ipv4:()=>Wg,invertCodec:()=>$N,intersection:()=>rA,int64:()=>gg,int32:()=>Eg,int:()=>FD,instanceof:()=>YN,includes:()=>l8,httpUrl:()=>Ig,hostname:()=>Ag,hex:()=>qg,hash:()=>Pg,guid:()=>aB,gte:()=>n1,gt:()=>sJ,globalRegistry:()=>e6,getErrorMap:()=>ju,function:()=>vN,fromJSONSchema:()=>KN,formatError:()=>nK,float64:()=>Rg,float32:()=>Cg,flattenError:()=>dK,file:()=>og,exactOptional:()=>Iq,enum:()=>bD,endsWith:()=>n8,encodeAsync:()=>EA,encode:()=>CA,emoji:()=>Xg,email:()=>sB,e164:()=>_g,discriminatedUnion:()=>hg,describe:()=>JN,decodeAsync:()=>TA,decode:()=>RA,date:()=>xg,custom:()=>XN,cuid2:()=>Yg,cuid:()=>Qg,core:()=>XY,config:()=>_4,coerce:()=>Rq,codec:()=>eg,clone:()=>l1,cidrv6:()=>Dg,cidrv4:()=>Vg,check:()=>IN,catch:()=>Kq,boolean:()=>cA,bigint:()=>Bg,base64url:()=>Hg,base64:()=>Fg,array:()=>OO,any:()=>kg,_function:()=>vN,_default:()=>Qq,_ZodString:()=>_D,ZodXor:()=>dA,ZodXID:()=>RD,ZodVoid:()=>pA,ZodUnknown:()=>uA,ZodUnion:()=>DO,ZodUndefined:()=>yA,ZodUUID:()=>eJ,ZodURL:()=>WO,ZodULID:()=>CD,ZodType:()=>Ej,ZodTuple:()=>oA,ZodTransform:()=>Uq,ZodTemplateLiteral:()=>Hq,ZodSymbol:()=>xA,ZodSuccess:()=>zq,ZodStringFormat:()=>GU,ZodString:()=>IW,ZodSet:()=>eA,ZodRecord:()=>UW,ZodRealError:()=>qv,ZodReadonly:()=>Dq,ZodPromise:()=>Lq,ZodPreprocess:()=>Vq,ZodPrefault:()=>Yq,ZodPipe:()=>FO,ZodOptional:()=>uD,ZodObject:()=>VO,ZodNumberFormat:()=>Iz,ZodNumber:()=>JW,ZodNullable:()=>Xq,ZodNull:()=>fA,ZodNonOptional:()=>hD,ZodNever:()=>hA,ZodNanoID:()=>AD,ZodNaN:()=>Oq,ZodMap:()=>aA,ZodMAC:()=>wA,ZodLiteral:()=>$q,ZodLazy:()=>_q,ZodKSUID:()=>ED,ZodJWT:()=>cD,ZodIssueCode:()=>em,ZodIntersection:()=>iA,ZodISOTime:()=>VD,ZodISODuration:()=>DD,ZodISODateTime:()=>KD,ZodISODate:()=>OD,ZodIPv6:()=>BD,ZodIPv4:()=>TD,ZodGUID:()=>YO,ZodFunction:()=>Aq,ZodFirstPartyTypeKind:()=>Cq,ZodFile:()=>jq,ZodExactOptional:()=>vq,ZodError:()=>sm,ZodEnum:()=>vW,ZodEmoji:()=>LD,ZodEmail:()=>MD,ZodE164:()=>kD,ZodDiscriminatedUnion:()=>nA,ZodDefault:()=>Jq,ZodDate:()=>KO,ZodCustomStringFormat:()=>XW,ZodCustom:()=>_O,ZodCodec:()=>HO,ZodCatch:()=>Wq,ZodCUID2:()=>PD,ZodCUID:()=>qD,ZodCIDRv6:()=>ND,ZodCIDRv4:()=>gD,ZodBoolean:()=>QW,ZodBigIntFormat:()=>xD,ZodBigInt:()=>YW,ZodBase64URL:()=>wD,ZodBase64:()=>SD,ZodArray:()=>lA,ZodAny:()=>mA,TimePrecision:()=>tL,NEVER:()=>B5,$output:()=>lL,$input:()=>dL,$brand:()=>g5});var XY={};m1(XY,{version:()=>f_,util:()=>k$,treeifyError:()=>u5,toJSONSchema:()=>zD,toDotPath:()=>DB,safeParseAsync:()=>l5,safeParse:()=>p5,safeEncodeAsync:()=>ef,safeEncode:()=>sf,safeDecodeAsync:()=>$b,safeDecode:()=>af,registry:()=>x9,regexes:()=>XI,process:()=>o2,prettifyError:()=>h5,parseAsync:()=>O9,parse:()=>K9,meta:()=>g7,locales:()=>vO,isValidJWT:()=>fB,isValidBase64URL:()=>yB,isValidBase64:()=>JM,initializeContext:()=>gG,globalRegistry:()=>e6,globalConfig:()=>oZ,formatError:()=>nK,flattenError:()=>dK,finalize:()=>SG,extractDefs:()=>NG,encodeAsync:()=>of,encode:()=>nf,describe:()=>B7,decodeAsync:()=>tf,decode:()=>rf,createToJSONSchemaMethod:()=>S7,createStandardJSONSchemaMethod:()=>$W,config:()=>_4,clone:()=>l1,_xor:()=>Em,_xid:()=>i9,_void:()=>M7,_uuidv7:()=>u9,_uuidv6:()=>m9,_uuidv4:()=>b9,_uuid:()=>f9,_url:()=>XO,_uppercase:()=>p8,_unknown:()=>H7,_union:()=>Rm,_undefined:()=>V7,_ulid:()=>n9,_uint64:()=>K7,_uint32:()=>Q7,_tuple:()=>gm,_trim:()=>o8,_transform:()=>ym,_toUpperCase:()=>s8,_toLowerCase:()=>t8,_templateLiteral:()=>nm,_symbol:()=>O7,_superRefine:()=>T7,_success:()=>hm,_stringbool:()=>N7,_stringFormat:()=>e8,_string:()=>iL,_startsWith:()=>d8,_slugify:()=>a8,_size:()=>$z,_set:()=>wm,_safeParseAsync:()=>f8,_safeParse:()=>y8,_safeEncodeAsync:()=>L9,_safeEncode:()=>_9,_safeDecodeAsync:()=>A9,_safeDecode:()=>M9,_regex:()=>u8,_refine:()=>E7,_record:()=>Nm,_readonly:()=>dm,_property:()=>QD,_promise:()=>rm,_positive:()=>vD,_pipe:()=>lm,_parseAsync:()=>x8,_parse:()=>c8,_overwrite:()=>lX,_optional:()=>fm,_number:()=>j7,_nullable:()=>bm,_null:()=>D7,_normalize:()=>r8,_nonpositive:()=>XD,_nonoptional:()=>um,_nonnegative:()=>JD,_never:()=>_7,_negative:()=>ID,_nativeEnum:()=>cm,_nanoid:()=>p9,_nan:()=>q7,_multipleOf:()=>TG,_minSize:()=>aJ,_minLength:()=>IY,_min:()=>n1,_mime:()=>i8,_maxSize:()=>BG,_maxLength:()=>jz,_max:()=>JI,_map:()=>Sm,_mac:()=>oL,_lte:()=>JI,_lt:()=>tJ,_lowercase:()=>h8,_literal:()=>xm,_length:()=>Uz,_lazy:()=>im,_ksuid:()=>r9,_jwt:()=>UD,_isoTime:()=>eL,_isoDuration:()=>$7,_isoDateTime:()=>sL,_isoDate:()=>aL,_ipv6:()=>t9,_ipv4:()=>o9,_intersection:()=>Bm,_int64:()=>W7,_int32:()=>J7,_int:()=>v7,_includes:()=>l8,_guid:()=>IO,_gte:()=>n1,_gt:()=>sJ,_float64:()=>X7,_float32:()=>I7,_file:()=>C7,_enum:()=>km,_endsWith:()=>n8,_encodeAsync:()=>F9,_encode:()=>V9,_emoji:()=>h9,_email:()=>y9,_e164:()=>jD,_discriminatedUnion:()=>Tm,_default:()=>mm,_decodeAsync:()=>H9,_decode:()=>D9,_date:()=>L7,_custom:()=>R7,_cuid2:()=>d9,_cuid:()=>l9,_coercedString:()=>rL,_coercedNumber:()=>U7,_coercedDate:()=>A7,_coercedBoolean:()=>G7,_coercedBigint:()=>z7,_cidrv6:()=>a9,_cidrv4:()=>s9,_check:()=>iB,_catch:()=>pm,_boolean:()=>Y7,_bigint:()=>Z7,_base64url:()=>$D,_base64:()=>e9,_array:()=>P7,_any:()=>F7,TimePrecision:()=>tL,NEVER:()=>B5,JSONSchemaGenerator:()=>DA,JSONSchema:()=>rB,Doc:()=>R9,$output:()=>lL,$input:()=>dL,$constructor:()=>r0,$brand:()=>g5,$ZodXor:()=>PM,$ZodXID:()=>o_,$ZodVoid:()=>MM,$ZodUnknown:()=>HM,$ZodUnion:()=>sK,$ZodUndefined:()=>VM,$ZodUUID:()=>u_,$ZodURL:()=>p_,$ZodULID:()=>r_,$ZodType:()=>Dj,$ZodTuple:()=>w9,$ZodTransform:()=>wM,$ZodTemplateLiteral:()=>lM,$ZodSymbol:()=>OM,$ZodSuccess:()=>bM,$ZodStringFormat:()=>YU,$ZodString:()=>eZ,$ZodSet:()=>BM,$ZodRegistry:()=>nL,$ZodRecord:()=>EM,$ZodRealError:()=>Av,$ZodReadonly:()=>pM,$ZodPromise:()=>nM,$ZodPreprocess:()=>hM,$ZodPrefault:()=>yM,$ZodPipe:()=>c9,$ZodOptional:()=>k9,$ZodObjectJIT:()=>qM,$ZodObject:()=>uB,$ZodNumberFormat:()=>WM,$ZodNumber:()=>N9,$ZodNullable:()=>cM,$ZodNull:()=>DM,$ZodNonOptional:()=>fM,$ZodNever:()=>_M,$ZodNanoID:()=>d_,$ZodNaN:()=>uM,$ZodMap:()=>TM,$ZodMAC:()=>vM,$ZodLiteral:()=>NM,$ZodLazy:()=>iM,$ZodKSUID:()=>t_,$ZodJWT:()=>ZM,$ZodIntersection:()=>RM,$ZodISOTime:()=>e_,$ZodISODuration:()=>$M,$ZodISODateTime:()=>s_,$ZodISODate:()=>a_,$ZodIPv6:()=>UM,$ZodIPv4:()=>jM,$ZodGUID:()=>m_,$ZodFunction:()=>dM,$ZodFile:()=>SM,$ZodExactOptional:()=>kM,$ZodError:()=>lK,$ZodEnum:()=>gM,$ZodEncodeError:()=>tZ,$ZodEmoji:()=>l_,$ZodEmail:()=>h_,$ZodE164:()=>GM,$ZodDiscriminatedUnion:()=>CM,$ZodDefault:()=>xM,$ZodDate:()=>LM,$ZodCustomStringFormat:()=>zM,$ZodCustom:()=>rM,$ZodCodec:()=>aK,$ZodCheckUpperCase:()=>N_,$ZodCheckStringFormat:()=>b8,$ZodCheckStartsWith:()=>w_,$ZodCheckSizeEquals:()=>C_,$ZodCheckRegex:()=>B_,$ZodCheckProperty:()=>c_,$ZodCheckOverwrite:()=>y_,$ZodCheckNumberFormat:()=>L_,$ZodCheckMultipleOf:()=>M_,$ZodCheckMinSize:()=>P_,$ZodCheckMinLength:()=>E_,$ZodCheckMimeType:()=>x_,$ZodCheckMaxSize:()=>q_,$ZodCheckMaxLength:()=>R_,$ZodCheckLowerCase:()=>g_,$ZodCheckLessThan:()=>P9,$ZodCheckLengthEquals:()=>T_,$ZodCheckIncludes:()=>S_,$ZodCheckGreaterThan:()=>C9,$ZodCheckEndsWith:()=>k_,$ZodCheckBigIntFormat:()=>A_,$ZodCheck:()=>DU,$ZodCatch:()=>mM,$ZodCUID2:()=>i_,$ZodCUID:()=>n_,$ZodCIDRv6:()=>XM,$ZodCIDRv4:()=>IM,$ZodBoolean:()=>tK,$ZodBigIntFormat:()=>KM,$ZodBigInt:()=>S9,$ZodBase64URL:()=>YM,$ZodBase64:()=>QM,$ZodAsyncError:()=>oJ,$ZodArray:()=>AM,$ZodAny:()=>FM});var ZB,B5=Object.freeze({status:"aborted"});function r0(U,I,J){function z(L,S){if(!L._zod)Object.defineProperty(L,"_zod",{value:{def:S,constr:Y,traits:new Set},enumerable:!1});if(L._zod.traits.has(U))return;L._zod.traits.add(U),I(L,S);let B=Y.prototype,g=Object.keys(B);for(let H=0;H<g.length;H++){let T=g[H];if(!(T in L))L[T]=B[T].bind(L)}}let v=J?.Parent??Object;class Z extends v{}Object.defineProperty(Z,"name",{value:U});function Y(L){var S;let B=J?.Parent?new Z:this;z(B,L),(S=B._zod).deferred??(S.deferred=[]);for(let g of B._zod.deferred)g();return B}return Object.defineProperty(Y,"init",{value:z}),Object.defineProperty(Y,Symbol.hasInstance,{value:(L)=>{if(J?.Parent&&L instanceof J.Parent)return!0;return L?._zod?.traits?.has(U)}}),Object.defineProperty(Y,"name",{value:U}),Y}var g5=Symbol("zod_brand");class oJ extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class tZ extends Error{constructor(U){super(`Encountered unidirectional transform during encode: ${U}`);this.name="ZodEncodeError"}}(ZB=globalThis).__zod_globalConfig??(ZB.__zod_globalConfig={});var oZ=globalThis.__zod_globalConfig;function _4(U){if(U)Object.assign(oZ,U);return oZ}var k$={};m1(k$,{unwrapMessage:()=>fK,uint8ArrayToHex:()=>lf,uint8ArrayToBase64url:()=>hf,uint8ArrayToBase64:()=>KB,stringifyPrimitive:()=>S$,slugify:()=>w5,shallowClone:()=>c5,safeExtend:()=>xf,required:()=>bf,randomString:()=>Bf,propertyKeyTypes:()=>uK,promiseAllObject:()=>Tf,primitiveTypes:()=>x5,prefixIssues:()=>Lv,pick:()=>wf,partial:()=>ff,parsedType:()=>w$,optionalKeys:()=>y5,omit:()=>kf,objectClone:()=>Cf,numKeys:()=>gf,nullish:()=>PG,normalizeParams:()=>y$,mergeDefs:()=>vY,merge:()=>yf,jsonStringifyReplacer:()=>S8,joinValues:()=>v$,issue:()=>k8,isPlainObject:()=>RG,isObject:()=>sZ,hexToUint8Array:()=>pf,getSizableOrigin:()=>hK,getParsedType:()=>Nf,getLengthableOrigin:()=>pK,getEnumValues:()=>bK,getElementAtPath:()=>Ef,floatSafeRemainder:()=>S5,finalizeIssue:()=>d1,extend:()=>cf,explicitlyAborted:()=>m5,escapeRegex:()=>tI,esc:()=>z9,defineLazy:()=>mj,createTransparentProxy:()=>Sf,cloneDef:()=>Rf,clone:()=>l1,cleanRegex:()=>mK,cleanEnum:()=>mf,captureStackTrace:()=>W9,cached:()=>w8,base64urlToUint8Array:()=>uf,base64ToUint8Array:()=>WB,assignProp:()=>CG,assertNotEqual:()=>Lf,assertNever:()=>qf,assertIs:()=>Af,assertEqual:()=>Mf,assert:()=>Pf,allowsEval:()=>k5,aborted:()=>EG,NUMBER_FORMAT_RANGES:()=>f5,Class:()=>OB,BIGINT_FORMAT_RANGES:()=>b5});function Mf(U){return U}function Lf(U){return U}function Af(U){}function qf(U){throw Error("Unexpected value in exhaustive check")}function Pf(U){}function bK(U){let I=Object.values(U).filter((z)=>typeof z==="number");return Object.entries(U).filter(([z,v])=>I.indexOf(+z)===-1).map(([z,v])=>v)}function v$(U,I="|"){return U.map((J)=>S$(J)).join(I)}function S8(U,I){if(typeof I==="bigint")return I.toString();return I}function w8(U){return{get value(){{let J=U();return Object.defineProperty(this,"value",{value:J}),J}throw Error("cached value already set")}}}function PG(U){return U===null||U===void 0}function mK(U){let I=U.startsWith("^")?1:0,J=U.endsWith("$")?U.length-1:U.length;return U.slice(I,J)}function S5(U,I){let J=U/I,z=Math.round(J),v=Number.EPSILON*Math.max(Math.abs(J),1);if(Math.abs(J-z)<v)return 0;return J-z}var zB=Symbol("evaluating");function mj(U,I,J){let z=void 0;Object.defineProperty(U,I,{get(){if(z===zB)return;if(z===void 0)z=zB,z=J();return z},set(v){Object.defineProperty(U,I,{value:v})},configurable:!0})}function Cf(U){return Object.create(Object.getPrototypeOf(U),Object.getOwnPropertyDescriptors(U))}function CG(U,I,J){Object.defineProperty(U,I,{value:J,writable:!0,enumerable:!0,configurable:!0})}function vY(...U){let I={};for(let J of U){let z=Object.getOwnPropertyDescriptors(J);Object.assign(I,z)}return Object.defineProperties({},I)}function Rf(U){return vY(U._zod.def)}function Ef(U,I){if(!I)return U;return I.reduce((J,z)=>J?.[z],U)}function Tf(U){let I=Object.keys(U),J=I.map((z)=>U[z]);return Promise.all(J).then((z)=>{let v={};for(let Z=0;Z<I.length;Z++)v[I[Z]]=z[Z];return v})}function Bf(U=10){let J="";for(let z=0;z<U;z++)J+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return J}function z9(U){return JSON.stringify(U)}function w5(U){return U.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var W9="captureStackTrace"in Error?Error.captureStackTrace:(...U)=>{};function sZ(U){return typeof U==="object"&&U!==null&&!Array.isArray(U)}var k5=w8(()=>{if(oZ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(U){return!1}});function RG(U){if(sZ(U)===!1)return!1;let I=U.constructor;if(I===void 0)return!0;if(typeof I!=="function")return!0;let J=I.prototype;if(sZ(J)===!1)return!1;if(Object.prototype.hasOwnProperty.call(J,"isPrototypeOf")===!1)return!1;return!0}function c5(U){if(RG(U))return{...U};if(Array.isArray(U))return[...U];if(U instanceof Map)return new Map(U);if(U instanceof Set)return new Set(U);return U}function gf(U){let I=0;for(let J in U)if(Object.prototype.hasOwnProperty.call(U,J))I++;return I}var Nf=(U)=>{let I=typeof U;switch(I){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(U)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(U))return"array";if(U===null)return"null";if(U.then&&typeof U.then==="function"&&U.catch&&typeof U.catch==="function")return"promise";if(typeof Map<"u"&&U instanceof Map)return"map";if(typeof Set<"u"&&U instanceof Set)return"set";if(typeof Date<"u"&&U instanceof Date)return"date";if(typeof File<"u"&&U instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${I}`)}},uK=new Set(["string","number","symbol"]),x5=new Set(["string","number","bigint","boolean","symbol","undefined"]);function tI(U){return U.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function l1(U,I,J){let z=new U._zod.constr(I??U._zod.def);if(!I||J?.parent)z._zod.parent=U;return z}function y$(U){let I=U;if(!I)return{};if(typeof I==="string")return{error:()=>I};if(I?.message!==void 0){if(I?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");I.error=I.message}if(delete I.message,typeof I.error==="string")return{...I,error:()=>I.error};return I}function Sf(U){let I;return new Proxy({},{get(J,z,v){return I??(I=U()),Reflect.get(I,z,v)},set(J,z,v,Z){return I??(I=U()),Reflect.set(I,z,v,Z)},has(J,z){return I??(I=U()),Reflect.has(I,z)},deleteProperty(J,z){return I??(I=U()),Reflect.deleteProperty(I,z)},ownKeys(J){return I??(I=U()),Reflect.ownKeys(I)},getOwnPropertyDescriptor(J,z){return I??(I=U()),Reflect.getOwnPropertyDescriptor(I,z)},defineProperty(J,z,v){return I??(I=U()),Reflect.defineProperty(I,z,v)}})}function S$(U){if(typeof U==="bigint")return U.toString()+"n";if(typeof U==="string")return`"${U}"`;return`${U}`}function y5(U){return Object.keys(U).filter((I)=>{return U[I]._zod.optin==="optional"&&U[I]._zod.optout==="optional"})}var f5={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]},b5={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function wf(U,I){let J=U._zod.def,z=J.checks;if(z&&z.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let Z=vY(U._zod.def,{get shape(){let Y={};for(let L in I){if(!(L in J.shape))throw Error(`Unrecognized key: "${L}"`);if(!I[L])continue;Y[L]=J.shape[L]}return CG(this,"shape",Y),Y},checks:[]});return l1(U,Z)}function kf(U,I){let J=U._zod.def,z=J.checks;if(z&&z.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let Z=vY(U._zod.def,{get shape(){let Y={...U._zod.def.shape};for(let L in I){if(!(L in J.shape))throw Error(`Unrecognized key: "${L}"`);if(!I[L])continue;delete Y[L]}return CG(this,"shape",Y),Y},checks:[]});return l1(U,Z)}function cf(U,I){if(!RG(I))throw Error("Invalid input to extend: expected a plain object");let J=U._zod.def.checks;if(J&&J.length>0){let Z=U._zod.def.shape;for(let Y in I)if(Object.getOwnPropertyDescriptor(Z,Y)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let v=vY(U._zod.def,{get shape(){let Z={...U._zod.def.shape,...I};return CG(this,"shape",Z),Z}});return l1(U,v)}function xf(U,I){if(!RG(I))throw Error("Invalid input to safeExtend: expected a plain object");let J=vY(U._zod.def,{get shape(){let z={...U._zod.def.shape,...I};return CG(this,"shape",z),z}});return l1(U,J)}function yf(U,I){if(U._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let J=vY(U._zod.def,{get shape(){let z={...U._zod.def.shape,...I._zod.def.shape};return CG(this,"shape",z),z},get catchall(){return I._zod.def.catchall},checks:I._zod.def.checks??[]});return l1(U,J)}function ff(U,I,J){let v=I._zod.def.checks;if(v&&v.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let Y=vY(I._zod.def,{get shape(){let L=I._zod.def.shape,S={...L};if(J)for(let B in J){if(!(B in L))throw Error(`Unrecognized key: "${B}"`);if(!J[B])continue;S[B]=U?new U({type:"optional",innerType:L[B]}):L[B]}else for(let B in L)S[B]=U?new U({type:"optional",innerType:L[B]}):L[B];return CG(this,"shape",S),S},checks:[]});return l1(I,Y)}function bf(U,I,J){let z=vY(I._zod.def,{get shape(){let v=I._zod.def.shape,Z={...v};if(J)for(let Y in J){if(!(Y in Z))throw Error(`Unrecognized key: "${Y}"`);if(!J[Y])continue;Z[Y]=new U({type:"nonoptional",innerType:v[Y]})}else for(let Y in v)Z[Y]=new U({type:"nonoptional",innerType:v[Y]});return CG(this,"shape",Z),Z}});return l1(I,z)}function EG(U,I=0){if(U.aborted===!0)return!0;for(let J=I;J<U.issues.length;J++)if(U.issues[J]?.continue!==!0)return!0;return!1}function m5(U,I=0){if(U.aborted===!0)return!0;for(let J=I;J<U.issues.length;J++)if(U.issues[J]?.continue===!1)return!0;return!1}function Lv(U,I){return I.map((J)=>{var z;return(z=J).path??(z.path=[]),J.path.unshift(U),J})}function fK(U){return typeof U==="string"?U:U?.message}function d1(U,I,J){let z=U.message?U.message:fK(U.inst?._zod.def?.error?.(U))??fK(I?.error?.(U))??fK(J.customError?.(U))??fK(J.localeError?.(U))??"Invalid input",{inst:v,continue:Z,input:Y,...L}=U;if(L.path??(L.path=[]),L.message=z,I?.reportInput)L.input=Y;return L}function hK(U){if(U instanceof Set)return"set";if(U instanceof Map)return"map";if(U instanceof File)return"file";return"unknown"}function pK(U){if(Array.isArray(U))return"array";if(typeof U==="string")return"string";return"unknown"}function w$(U){let I=typeof U;switch(I){case"number":return Number.isNaN(U)?"nan":"number";case"object":{if(U===null)return"null";if(Array.isArray(U))return"array";let J=U;if(J&&Object.getPrototypeOf(J)!==Object.prototype&&"constructor"in J&&J.constructor)return J.constructor.name}}return I}function k8(...U){let[I,J,z]=U;if(typeof I==="string")return{message:I,code:"custom",input:J,inst:z};return{...I}}function mf(U){return Object.entries(U).filter(([I,J])=>{return Number.isNaN(Number.parseInt(I,10))}).map((I)=>I[1])}function WB(U){let I=atob(U),J=new Uint8Array(I.length);for(let z=0;z<I.length;z++)J[z]=I.charCodeAt(z);return J}function KB(U){let I="";for(let J=0;J<U.length;J++)I+=String.fromCharCode(U[J]);return btoa(I)}function uf(U){let I=U.replace(/-/g,"+").replace(/_/g,"/"),J="=".repeat((4-I.length%4)%4);return WB(I+J)}function hf(U){return KB(U).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function pf(U){let I=U.replace(/^0x/,"");if(I.length%2!==0)throw Error("Invalid hex string length");let J=new Uint8Array(I.length/2);for(let z=0;z<I.length;z+=2)J[z/2]=Number.parseInt(I.slice(z,z+2),16);return J}function lf(U){return Array.from(U).map((I)=>I.toString(16).padStart(2,"0")).join("")}class OB{constructor(...U){}}var VB=(U,I)=>{U.name="$ZodError",Object.defineProperty(U,"_zod",{value:U._zod,enumerable:!1}),Object.defineProperty(U,"issues",{value:I,enumerable:!1}),U.message=JSON.stringify(I,S8,2),Object.defineProperty(U,"toString",{value:()=>U.message,enumerable:!1})},lK=r0("$ZodError",VB),Av=r0("$ZodError",VB,{Parent:Error});function dK(U,I=(J)=>J.message){let J={},z=[];for(let v of U.issues)if(v.path.length>0)J[v.path[0]]=J[v.path[0]]||[],J[v.path[0]].push(I(v));else z.push(I(v));return{formErrors:z,fieldErrors:J}}function nK(U,I=(J)=>J.message){let J={_errors:[]},z=(v,Z=[])=>{for(let Y of v.issues)if(Y.code==="invalid_union"&&Y.errors.length)Y.errors.map((L)=>z({issues:L},[...Z,...Y.path]));else if(Y.code==="invalid_key")z({issues:Y.issues},[...Z,...Y.path]);else if(Y.code==="invalid_element")z({issues:Y.issues},[...Z,...Y.path]);else{let L=[...Z,...Y.path];if(L.length===0)J._errors.push(I(Y));else{let S=J,B=0;while(B<L.length){let g=L[B];if(B!==L.length-1)S[g]=S[g]||{_errors:[]};else S[g]=S[g]||{_errors:[]},S[g]._errors.push(I(Y));S=S[g],B++}}}};return z(U),J}function u5(U,I=(J)=>J.message){let J={errors:[]},z=(v,Z=[])=>{var Y,L;for(let S of v.issues)if(S.code==="invalid_union"&&S.errors.length)S.errors.map((B)=>z({issues:B},[...Z,...S.path]));else if(S.code==="invalid_key")z({issues:S.issues},[...Z,...S.path]);else if(S.code==="invalid_element")z({issues:S.issues},[...Z,...S.path]);else{let B=[...Z,...S.path];if(B.length===0){J.errors.push(I(S));continue}let g=J,H=0;while(H<B.length){let T=B[H],c=H===B.length-1;if(typeof T==="string")g.properties??(g.properties={}),(Y=g.properties)[T]??(Y[T]={errors:[]}),g=g.properties[T];else g.items??(g.items=[]),(L=g.items)[T]??(L[T]={errors:[]}),g=g.items[T];if(c)g.errors.push(I(S));H++}}};return z(U),J}function DB(U){let I=[],J=U.map((z)=>typeof z==="object"?z.key:z);for(let z of J)if(typeof z==="number")I.push(`[${z}]`);else if(typeof z==="symbol")I.push(`[${JSON.stringify(String(z))}]`);else if(/[^\w$]/.test(z))I.push(`[${JSON.stringify(z)}]`);else{if(I.length)I.push(".");I.push(z)}return I.join("")}function h5(U){let I=[],J=[...U.issues].sort((z,v)=>(z.path??[]).length-(v.path??[]).length);for(let z of J)if(I.push(`✖ ${z.message}`),z.path?.length)I.push(` → at ${DB(z.path)}`);return I.join(`
|
|
385
|
+
`)}var c8=(U)=>(I,J,z,v)=>{let Z=z?{...z,async:!1}:{async:!1},Y=I._zod.run({value:J,issues:[]},Z);if(Y instanceof Promise)throw new oJ;if(Y.issues.length){let L=new(v?.Err??U)(Y.issues.map((S)=>d1(S,Z,_4())));throw W9(L,v?.callee),L}return Y.value},K9=c8(Av),x8=(U)=>async(I,J,z,v)=>{let Z=z?{...z,async:!0}:{async:!0},Y=I._zod.run({value:J,issues:[]},Z);if(Y instanceof Promise)Y=await Y;if(Y.issues.length){let L=new(v?.Err??U)(Y.issues.map((S)=>d1(S,Z,_4())));throw W9(L,v?.callee),L}return Y.value},O9=x8(Av),y8=(U)=>(I,J,z)=>{let v=z?{...z,async:!1}:{async:!1},Z=I._zod.run({value:J,issues:[]},v);if(Z instanceof Promise)throw new oJ;return Z.issues.length?{success:!1,error:new(U??lK)(Z.issues.map((Y)=>d1(Y,v,_4())))}:{success:!0,data:Z.value}},p5=y8(Av),f8=(U)=>async(I,J,z)=>{let v=z?{...z,async:!0}:{async:!0},Z=I._zod.run({value:J,issues:[]},v);if(Z instanceof Promise)Z=await Z;return Z.issues.length?{success:!1,error:new U(Z.issues.map((Y)=>d1(Y,v,_4())))}:{success:!0,data:Z.value}},l5=f8(Av),V9=(U)=>(I,J,z)=>{let v=z?{...z,direction:"backward"}:{direction:"backward"};return c8(U)(I,J,v)},nf=V9(Av),D9=(U)=>(I,J,z)=>{return c8(U)(I,J,z)},rf=D9(Av),F9=(U)=>async(I,J,z)=>{let v=z?{...z,direction:"backward"}:{direction:"backward"};return x8(U)(I,J,v)},of=F9(Av),H9=(U)=>async(I,J,z)=>{return x8(U)(I,J,z)},tf=H9(Av),_9=(U)=>(I,J,z)=>{let v=z?{...z,direction:"backward"}:{direction:"backward"};return y8(U)(I,J,v)},sf=_9(Av),M9=(U)=>(I,J,z)=>{return y8(U)(I,J,z)},af=M9(Av),L9=(U)=>async(I,J,z)=>{let v=z?{...z,direction:"backward"}:{direction:"backward"};return f8(U)(I,J,v)},ef=L9(Av),A9=(U)=>async(I,J,z)=>{return f8(U)(I,J,z)},$b=A9(Av);var XI={};m1(XI,{xid:()=>r5,uuid7:()=>Ib,uuid6:()=>vb,uuid4:()=>Ub,uuid:()=>aZ,uppercase:()=>__,unicodeEmail:()=>FB,undefined:()=>F_,ulid:()=>i5,time:()=>Z_,string:()=>W_,sha512_hex:()=>Cb,sha512_base64url:()=>Eb,sha512_base64:()=>Rb,sha384_hex:()=>Ab,sha384_base64url:()=>Pb,sha384_base64:()=>qb,sha256_hex:()=>_b,sha256_base64url:()=>Lb,sha256_base64:()=>Mb,sha1_hex:()=>Db,sha1_base64url:()=>Hb,sha1_base64:()=>Fb,rfc5322Email:()=>Jb,number:()=>iK,null:()=>D_,nanoid:()=>t5,md5_hex:()=>Kb,md5_base64url:()=>Vb,md5_base64:()=>Ob,mac:()=>v_,lowercase:()=>H_,ksuid:()=>o5,ipv6:()=>U_,ipv4:()=>j_,integer:()=>O_,idnEmail:()=>Qb,httpProtocol:()=>Q_,html5Email:()=>Xb,hostname:()=>Zb,hex:()=>Wb,guid:()=>a5,extendedDuration:()=>jb,emoji:()=>$_,email:()=>e5,e164:()=>Y_,duration:()=>s5,domain:()=>zb,datetime:()=>z_,date:()=>G_,cuid2:()=>n5,cuid:()=>d5,cidrv6:()=>X_,cidrv4:()=>I_,browserEmail:()=>Yb,boolean:()=>V_,bigint:()=>K_,base64url:()=>q9,base64:()=>J_});var d5=/^[cC][0-9a-z]{6,}$/,n5=/^[0-9a-z]+$/,i5=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,r5=/^[0-9a-vA-V]{20}$/,o5=/^[A-Za-z0-9]{27}$/,t5=/^[a-zA-Z0-9_-]{21}$/,s5=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,jb=/^[-+]?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)?)??$/,a5=/^([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})$/,aZ=(U)=>{if(!U)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}-${U}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},Ub=aZ(4),vb=aZ(6),Ib=aZ(7),e5=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Xb=/^[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])?)*$/,Jb=/^(([^<>()\[\]\\.,;:\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,}))$/,FB=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Qb=FB,Yb=/^[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])?)*$/,Gb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function $_(){return new RegExp(Gb,"u")}var j_=/^(?:(?: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])$/,U_=/^(([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}|:))$/,v_=(U)=>{let I=tI(U??":");return new RegExp(`^(?:[0-9A-F]{2}${I}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${I}){5}[0-9a-f]{2}$`)},I_=/^((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])$/,X_=/^(([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])$/,J_=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,q9=/^[A-Za-z0-9_-]*$/,Zb=/^(?=.{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])?)*\.?$/,zb=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Q_=/^https?$/,Y_=/^\+[1-9]\d{6,14}$/,HB="(?:(?:\\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])))",G_=new RegExp(`^${HB}$`);function _B(U){return typeof U.precision==="number"?U.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":U.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{${U.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Z_(U){return new RegExp(`^${_B(U)}$`)}function z_(U){let I=_B({precision:U.precision}),J=["Z"];if(U.local)J.push("");if(U.offset)J.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let z=`${I}(?:${J.join("|")})`;return new RegExp(`^${HB}T(?:${z})$`)}var W_=(U)=>{let I=U?`[\\s\\S]{${U?.minimum??0},${U?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${I}$`)},K_=/^-?\d+n?$/,O_=/^-?\d+$/,iK=/^-?\d+(?:\.\d+)?$/,V_=/^(?:true|false)$/i,D_=/^null$/i;var F_=/^undefined$/i;var H_=/^[^A-Z]*$/,__=/^[^a-z]*$/,Wb=/^[0-9a-fA-F]*$/;function rK(U,I){return new RegExp(`^[A-Za-z0-9+/]{${U}}${I}$`)}function oK(U){return new RegExp(`^[A-Za-z0-9_-]{${U}}$`)}var Kb=/^[0-9a-fA-F]{32}$/,Ob=rK(22,"=="),Vb=oK(22),Db=/^[0-9a-fA-F]{40}$/,Fb=rK(27,"="),Hb=oK(27),_b=/^[0-9a-fA-F]{64}$/,Mb=rK(43,"="),Lb=oK(43),Ab=/^[0-9a-fA-F]{96}$/,qb=rK(64,""),Pb=oK(64),Cb=/^[0-9a-fA-F]{128}$/,Rb=rK(86,"=="),Eb=oK(86);var DU=r0("$ZodCheck",(U,I)=>{var J;U._zod??(U._zod={}),U._zod.def=I,(J=U._zod).onattach??(J.onattach=[])}),LB={number:"number",bigint:"bigint",object:"date"},P9=r0("$ZodCheckLessThan",(U,I)=>{DU.init(U,I);let J=LB[typeof I.value];U._zod.onattach.push((z)=>{let v=z._zod.bag,Z=(I.inclusive?v.maximum:v.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(I.value<Z)if(I.inclusive)v.maximum=I.value;else v.exclusiveMaximum=I.value}),U._zod.check=(z)=>{if(I.inclusive?z.value<=I.value:z.value<I.value)return;z.issues.push({origin:J,code:"too_big",maximum:typeof I.value==="object"?I.value.getTime():I.value,input:z.value,inclusive:I.inclusive,inst:U,continue:!I.abort})}}),C9=r0("$ZodCheckGreaterThan",(U,I)=>{DU.init(U,I);let J=LB[typeof I.value];U._zod.onattach.push((z)=>{let v=z._zod.bag,Z=(I.inclusive?v.minimum:v.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(I.value>Z)if(I.inclusive)v.minimum=I.value;else v.exclusiveMinimum=I.value}),U._zod.check=(z)=>{if(I.inclusive?z.value>=I.value:z.value>I.value)return;z.issues.push({origin:J,code:"too_small",minimum:typeof I.value==="object"?I.value.getTime():I.value,input:z.value,inclusive:I.inclusive,inst:U,continue:!I.abort})}}),M_=r0("$ZodCheckMultipleOf",(U,I)=>{DU.init(U,I),U._zod.onattach.push((J)=>{var z;(z=J._zod.bag).multipleOf??(z.multipleOf=I.value)}),U._zod.check=(J)=>{if(typeof J.value!==typeof I.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof J.value==="bigint"?J.value%I.value===BigInt(0):S5(J.value,I.value)===0)return;J.issues.push({origin:typeof J.value,code:"not_multiple_of",divisor:I.value,input:J.value,inst:U,continue:!I.abort})}}),L_=r0("$ZodCheckNumberFormat",(U,I)=>{DU.init(U,I),I.format=I.format||"float64";let J=I.format?.includes("int"),z=J?"int":"number",[v,Z]=f5[I.format];U._zod.onattach.push((Y)=>{let L=Y._zod.bag;if(L.format=I.format,L.minimum=v,L.maximum=Z,J)L.pattern=O_}),U._zod.check=(Y)=>{let L=Y.value;if(J){if(!Number.isInteger(L)){Y.issues.push({expected:z,format:I.format,code:"invalid_type",continue:!1,input:L,inst:U});return}if(!Number.isSafeInteger(L)){if(L>0)Y.issues.push({input:L,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:U,origin:z,inclusive:!0,continue:!I.abort});else Y.issues.push({input:L,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:U,origin:z,inclusive:!0,continue:!I.abort});return}}if(L<v)Y.issues.push({origin:"number",input:L,code:"too_small",minimum:v,inclusive:!0,inst:U,continue:!I.abort});if(L>Z)Y.issues.push({origin:"number",input:L,code:"too_big",maximum:Z,inclusive:!0,inst:U,continue:!I.abort})}}),A_=r0("$ZodCheckBigIntFormat",(U,I)=>{DU.init(U,I);let[J,z]=b5[I.format];U._zod.onattach.push((v)=>{let Z=v._zod.bag;Z.format=I.format,Z.minimum=J,Z.maximum=z}),U._zod.check=(v)=>{let Z=v.value;if(Z<J)v.issues.push({origin:"bigint",input:Z,code:"too_small",minimum:J,inclusive:!0,inst:U,continue:!I.abort});if(Z>z)v.issues.push({origin:"bigint",input:Z,code:"too_big",maximum:z,inclusive:!0,inst:U,continue:!I.abort})}}),q_=r0("$ZodCheckMaxSize",(U,I)=>{var J;DU.init(U,I),(J=U._zod.def).when??(J.when=(z)=>{let v=z.value;return!PG(v)&&v.size!==void 0}),U._zod.onattach.push((z)=>{let v=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum<v)z._zod.bag.maximum=I.maximum}),U._zod.check=(z)=>{let v=z.value;if(v.size<=I.maximum)return;z.issues.push({origin:hK(v),code:"too_big",maximum:I.maximum,inclusive:!0,input:v,inst:U,continue:!I.abort})}}),P_=r0("$ZodCheckMinSize",(U,I)=>{var J;DU.init(U,I),(J=U._zod.def).when??(J.when=(z)=>{let v=z.value;return!PG(v)&&v.size!==void 0}),U._zod.onattach.push((z)=>{let v=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>v)z._zod.bag.minimum=I.minimum}),U._zod.check=(z)=>{let v=z.value;if(v.size>=I.minimum)return;z.issues.push({origin:hK(v),code:"too_small",minimum:I.minimum,inclusive:!0,input:v,inst:U,continue:!I.abort})}}),C_=r0("$ZodCheckSizeEquals",(U,I)=>{var J;DU.init(U,I),(J=U._zod.def).when??(J.when=(z)=>{let v=z.value;return!PG(v)&&v.size!==void 0}),U._zod.onattach.push((z)=>{let v=z._zod.bag;v.minimum=I.size,v.maximum=I.size,v.size=I.size}),U._zod.check=(z)=>{let v=z.value,Z=v.size;if(Z===I.size)return;let Y=Z>I.size;z.issues.push({origin:hK(v),...Y?{code:"too_big",maximum:I.size}:{code:"too_small",minimum:I.size},inclusive:!0,exact:!0,input:z.value,inst:U,continue:!I.abort})}}),R_=r0("$ZodCheckMaxLength",(U,I)=>{var J;DU.init(U,I),(J=U._zod.def).when??(J.when=(z)=>{let v=z.value;return!PG(v)&&v.length!==void 0}),U._zod.onattach.push((z)=>{let v=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum<v)z._zod.bag.maximum=I.maximum}),U._zod.check=(z)=>{let v=z.value;if(v.length<=I.maximum)return;let Y=pK(v);z.issues.push({origin:Y,code:"too_big",maximum:I.maximum,inclusive:!0,input:v,inst:U,continue:!I.abort})}}),E_=r0("$ZodCheckMinLength",(U,I)=>{var J;DU.init(U,I),(J=U._zod.def).when??(J.when=(z)=>{let v=z.value;return!PG(v)&&v.length!==void 0}),U._zod.onattach.push((z)=>{let v=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>v)z._zod.bag.minimum=I.minimum}),U._zod.check=(z)=>{let v=z.value;if(v.length>=I.minimum)return;let Y=pK(v);z.issues.push({origin:Y,code:"too_small",minimum:I.minimum,inclusive:!0,input:v,inst:U,continue:!I.abort})}}),T_=r0("$ZodCheckLengthEquals",(U,I)=>{var J;DU.init(U,I),(J=U._zod.def).when??(J.when=(z)=>{let v=z.value;return!PG(v)&&v.length!==void 0}),U._zod.onattach.push((z)=>{let v=z._zod.bag;v.minimum=I.length,v.maximum=I.length,v.length=I.length}),U._zod.check=(z)=>{let v=z.value,Z=v.length;if(Z===I.length)return;let Y=pK(v),L=Z>I.length;z.issues.push({origin:Y,...L?{code:"too_big",maximum:I.length}:{code:"too_small",minimum:I.length},inclusive:!0,exact:!0,input:z.value,inst:U,continue:!I.abort})}}),b8=r0("$ZodCheckStringFormat",(U,I)=>{var J,z;if(DU.init(U,I),U._zod.onattach.push((v)=>{let Z=v._zod.bag;if(Z.format=I.format,I.pattern)Z.patterns??(Z.patterns=new Set),Z.patterns.add(I.pattern)}),I.pattern)(J=U._zod).check??(J.check=(v)=>{if(I.pattern.lastIndex=0,I.pattern.test(v.value))return;v.issues.push({origin:"string",code:"invalid_format",format:I.format,input:v.value,...I.pattern?{pattern:I.pattern.toString()}:{},inst:U,continue:!I.abort})});else(z=U._zod).check??(z.check=()=>{})}),B_=r0("$ZodCheckRegex",(U,I)=>{b8.init(U,I),U._zod.check=(J)=>{if(I.pattern.lastIndex=0,I.pattern.test(J.value))return;J.issues.push({origin:"string",code:"invalid_format",format:"regex",input:J.value,pattern:I.pattern.toString(),inst:U,continue:!I.abort})}}),g_=r0("$ZodCheckLowerCase",(U,I)=>{I.pattern??(I.pattern=H_),b8.init(U,I)}),N_=r0("$ZodCheckUpperCase",(U,I)=>{I.pattern??(I.pattern=__),b8.init(U,I)}),S_=r0("$ZodCheckIncludes",(U,I)=>{DU.init(U,I);let J=tI(I.includes),z=new RegExp(typeof I.position==="number"?`^.{${I.position}}${J}`:J);I.pattern=z,U._zod.onattach.push((v)=>{let Z=v._zod.bag;Z.patterns??(Z.patterns=new Set),Z.patterns.add(z)}),U._zod.check=(v)=>{if(v.value.includes(I.includes,I.position))return;v.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:I.includes,input:v.value,inst:U,continue:!I.abort})}}),w_=r0("$ZodCheckStartsWith",(U,I)=>{DU.init(U,I);let J=new RegExp(`^${tI(I.prefix)}.*`);I.pattern??(I.pattern=J),U._zod.onattach.push((z)=>{let v=z._zod.bag;v.patterns??(v.patterns=new Set),v.patterns.add(J)}),U._zod.check=(z)=>{if(z.value.startsWith(I.prefix))return;z.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:I.prefix,input:z.value,inst:U,continue:!I.abort})}}),k_=r0("$ZodCheckEndsWith",(U,I)=>{DU.init(U,I);let J=new RegExp(`.*${tI(I.suffix)}$`);I.pattern??(I.pattern=J),U._zod.onattach.push((z)=>{let v=z._zod.bag;v.patterns??(v.patterns=new Set),v.patterns.add(J)}),U._zod.check=(z)=>{if(z.value.endsWith(I.suffix))return;z.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:I.suffix,input:z.value,inst:U,continue:!I.abort})}});function MB(U,I,J){if(U.issues.length)I.issues.push(...Lv(J,U.issues))}var c_=r0("$ZodCheckProperty",(U,I)=>{DU.init(U,I),U._zod.check=(J)=>{let z=I.schema._zod.run({value:J.value[I.property],issues:[]},{});if(z instanceof Promise)return z.then((v)=>MB(v,J,I.property));MB(z,J,I.property);return}}),x_=r0("$ZodCheckMimeType",(U,I)=>{DU.init(U,I);let J=new Set(I.mime);U._zod.onattach.push((z)=>{z._zod.bag.mime=I.mime}),U._zod.check=(z)=>{if(J.has(z.value.type))return;z.issues.push({code:"invalid_value",values:I.mime,input:z.value.type,inst:U,continue:!I.abort})}}),y_=r0("$ZodCheckOverwrite",(U,I)=>{DU.init(U,I),U._zod.check=(J)=>{J.value=I.tx(J.value)}});class R9{constructor(U=[]){if(this.content=[],this.indent=0,this)this.args=U}indented(U){this.indent+=1,U(this),this.indent-=1}write(U){if(typeof U==="function"){U(this,{execution:"sync"}),U(this,{execution:"async"});return}let J=U.split(`
|
|
386
|
+
`).filter((Z)=>Z),z=Math.min(...J.map((Z)=>Z.length-Z.trimStart().length)),v=J.map((Z)=>Z.slice(z)).map((Z)=>" ".repeat(this.indent*2)+Z);for(let Z of v)this.content.push(Z)}compile(){let U=Function,I=this?.args,z=[...(this?.content??[""]).map((v)=>` ${v}`)];return new U(...I,z.join(`
|
|
387
|
+
`))}}var f_={major:4,minor:4,patch:3};var Dj=r0("$ZodType",(U,I)=>{var J;U??(U={}),U._zod.def=I,U._zod.bag=U._zod.bag||{},U._zod.version=f_;let z=[...U._zod.def.checks??[]];if(U._zod.traits.has("$ZodCheck"))z.unshift(U);for(let v of z)for(let Z of v._zod.onattach)Z(U);if(z.length===0)(J=U._zod).deferred??(J.deferred=[]),U._zod.deferred?.push(()=>{U._zod.run=U._zod.parse});else{let v=(Y,L,S)=>{let B=EG(Y),g;for(let H of L){if(H._zod.def.when){if(m5(Y))continue;if(!H._zod.def.when(Y))continue}else if(B)continue;let T=Y.issues.length,c=H._zod.check(Y);if(c instanceof Promise&&S?.async===!1)throw new oJ;if(g||c instanceof Promise)g=(g??Promise.resolve()).then(async()=>{if(await c,Y.issues.length===T)return;if(!B)B=EG(Y,T)});else{if(Y.issues.length===T)continue;if(!B)B=EG(Y,T)}}if(g)return g.then(()=>{return Y});return Y},Z=(Y,L,S)=>{if(EG(Y))return Y.aborted=!0,Y;let B=v(L,z,S);if(B instanceof Promise){if(S.async===!1)throw new oJ;return B.then((g)=>U._zod.parse(g,S))}return U._zod.parse(B,S)};U._zod.run=(Y,L)=>{if(L.skipChecks)return U._zod.parse(Y,L);if(L.direction==="backward"){let B=U._zod.parse({value:Y.value,issues:[]},{...L,skipChecks:!0});if(B instanceof Promise)return B.then((g)=>{return Z(g,Y,L)});return Z(B,Y,L)}let S=U._zod.parse(Y,L);if(S instanceof Promise){if(L.async===!1)throw new oJ;return S.then((B)=>v(B,z,L))}return v(S,z,L)}}mj(U,"~standard",()=>({validate:(v)=>{try{let Z=p5(U,v);return Z.success?{value:Z.data}:{issues:Z.error?.issues}}catch(Z){return l5(U,v).then((Y)=>Y.success?{value:Y.data}:{issues:Y.error?.issues})}},vendor:"zod",version:1}))}),eZ=r0("$ZodString",(U,I)=>{Dj.init(U,I),U._zod.pattern=[...U?._zod.bag?.patterns??[]].pop()??W_(U._zod.bag),U._zod.parse=(J,z)=>{if(I.coerce)try{J.value=String(J.value)}catch(v){}if(typeof J.value==="string")return J;return J.issues.push({expected:"string",code:"invalid_type",input:J.value,inst:U}),J}}),YU=r0("$ZodStringFormat",(U,I)=>{b8.init(U,I),eZ.init(U,I)}),m_=r0("$ZodGUID",(U,I)=>{I.pattern??(I.pattern=a5),YU.init(U,I)}),u_=r0("$ZodUUID",(U,I)=>{if(I.version){let z={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[I.version];if(z===void 0)throw Error(`Invalid UUID version: "${I.version}"`);I.pattern??(I.pattern=aZ(z))}else I.pattern??(I.pattern=aZ());YU.init(U,I)}),h_=r0("$ZodEmail",(U,I)=>{I.pattern??(I.pattern=e5),YU.init(U,I)}),p_=r0("$ZodURL",(U,I)=>{YU.init(U,I),U._zod.check=(J)=>{try{let z=J.value.trim();if(!I.normalize&&I.protocol?.source===Q_.source){if(!/^https?:\/\//i.test(z)){J.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:J.value,inst:U,continue:!I.abort});return}}let v=new URL(z);if(I.hostname){if(I.hostname.lastIndex=0,!I.hostname.test(v.hostname))J.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:I.hostname.source,input:J.value,inst:U,continue:!I.abort})}if(I.protocol){if(I.protocol.lastIndex=0,!I.protocol.test(v.protocol.endsWith(":")?v.protocol.slice(0,-1):v.protocol))J.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:I.protocol.source,input:J.value,inst:U,continue:!I.abort})}if(I.normalize)J.value=v.href;else J.value=z;return}catch(z){J.issues.push({code:"invalid_format",format:"url",input:J.value,inst:U,continue:!I.abort})}}}),l_=r0("$ZodEmoji",(U,I)=>{I.pattern??(I.pattern=$_()),YU.init(U,I)}),d_=r0("$ZodNanoID",(U,I)=>{I.pattern??(I.pattern=t5),YU.init(U,I)}),n_=r0("$ZodCUID",(U,I)=>{I.pattern??(I.pattern=d5),YU.init(U,I)}),i_=r0("$ZodCUID2",(U,I)=>{I.pattern??(I.pattern=n5),YU.init(U,I)}),r_=r0("$ZodULID",(U,I)=>{I.pattern??(I.pattern=i5),YU.init(U,I)}),o_=r0("$ZodXID",(U,I)=>{I.pattern??(I.pattern=r5),YU.init(U,I)}),t_=r0("$ZodKSUID",(U,I)=>{I.pattern??(I.pattern=o5),YU.init(U,I)}),s_=r0("$ZodISODateTime",(U,I)=>{I.pattern??(I.pattern=z_(I)),YU.init(U,I)}),a_=r0("$ZodISODate",(U,I)=>{I.pattern??(I.pattern=G_),YU.init(U,I)}),e_=r0("$ZodISOTime",(U,I)=>{I.pattern??(I.pattern=Z_(I)),YU.init(U,I)}),$M=r0("$ZodISODuration",(U,I)=>{I.pattern??(I.pattern=s5),YU.init(U,I)}),jM=r0("$ZodIPv4",(U,I)=>{I.pattern??(I.pattern=j_),YU.init(U,I),U._zod.bag.format="ipv4"}),UM=r0("$ZodIPv6",(U,I)=>{I.pattern??(I.pattern=U_),YU.init(U,I),U._zod.bag.format="ipv6",U._zod.check=(J)=>{try{new URL(`http://[${J.value}]`)}catch{J.issues.push({code:"invalid_format",format:"ipv6",input:J.value,inst:U,continue:!I.abort})}}}),vM=r0("$ZodMAC",(U,I)=>{I.pattern??(I.pattern=v_(I.delimiter)),YU.init(U,I),U._zod.bag.format="mac"}),IM=r0("$ZodCIDRv4",(U,I)=>{I.pattern??(I.pattern=I_),YU.init(U,I)}),XM=r0("$ZodCIDRv6",(U,I)=>{I.pattern??(I.pattern=X_),YU.init(U,I),U._zod.check=(J)=>{let z=J.value.split("/");try{if(z.length!==2)throw Error();let[v,Z]=z;if(!Z)throw Error();let Y=Number(Z);if(`${Y}`!==Z)throw Error();if(Y<0||Y>128)throw Error();new URL(`http://[${v}]`)}catch{J.issues.push({code:"invalid_format",format:"cidrv6",input:J.value,inst:U,continue:!I.abort})}}});function JM(U){if(U==="")return!0;if(/\s/.test(U))return!1;if(U.length%4!==0)return!1;try{return atob(U),!0}catch{return!1}}var QM=r0("$ZodBase64",(U,I)=>{I.pattern??(I.pattern=J_),YU.init(U,I),U._zod.bag.contentEncoding="base64",U._zod.check=(J)=>{if(JM(J.value))return;J.issues.push({code:"invalid_format",format:"base64",input:J.value,inst:U,continue:!I.abort})}});function yB(U){if(!q9.test(U))return!1;let I=U.replace(/[-_]/g,(z)=>z==="-"?"+":"/"),J=I.padEnd(Math.ceil(I.length/4)*4,"=");return JM(J)}var YM=r0("$ZodBase64URL",(U,I)=>{I.pattern??(I.pattern=q9),YU.init(U,I),U._zod.bag.contentEncoding="base64url",U._zod.check=(J)=>{if(yB(J.value))return;J.issues.push({code:"invalid_format",format:"base64url",input:J.value,inst:U,continue:!I.abort})}}),GM=r0("$ZodE164",(U,I)=>{I.pattern??(I.pattern=Y_),YU.init(U,I)});function fB(U,I=null){try{let J=U.split(".");if(J.length!==3)return!1;let[z]=J;if(!z)return!1;let v=JSON.parse(atob(z));if("typ"in v&&v?.typ!=="JWT")return!1;if(!v.alg)return!1;if(I&&(!("alg"in v)||v.alg!==I))return!1;return!0}catch{return!1}}var ZM=r0("$ZodJWT",(U,I)=>{YU.init(U,I),U._zod.check=(J)=>{if(fB(J.value,I.alg))return;J.issues.push({code:"invalid_format",format:"jwt",input:J.value,inst:U,continue:!I.abort})}}),zM=r0("$ZodCustomStringFormat",(U,I)=>{YU.init(U,I),U._zod.check=(J)=>{if(I.fn(J.value))return;J.issues.push({code:"invalid_format",format:I.format,input:J.value,inst:U,continue:!I.abort})}}),N9=r0("$ZodNumber",(U,I)=>{Dj.init(U,I),U._zod.pattern=U._zod.bag.pattern??iK,U._zod.parse=(J,z)=>{if(I.coerce)try{J.value=Number(J.value)}catch(Y){}let v=J.value;if(typeof v==="number"&&!Number.isNaN(v)&&Number.isFinite(v))return J;let Z=typeof v==="number"?Number.isNaN(v)?"NaN":!Number.isFinite(v)?"Infinity":void 0:void 0;return J.issues.push({expected:"number",code:"invalid_type",input:v,inst:U,...Z?{received:Z}:{}}),J}}),WM=r0("$ZodNumberFormat",(U,I)=>{L_.init(U,I),N9.init(U,I)}),tK=r0("$ZodBoolean",(U,I)=>{Dj.init(U,I),U._zod.pattern=V_,U._zod.parse=(J,z)=>{if(I.coerce)try{J.value=Boolean(J.value)}catch(Z){}let v=J.value;if(typeof v==="boolean")return J;return J.issues.push({expected:"boolean",code:"invalid_type",input:v,inst:U}),J}}),S9=r0("$ZodBigInt",(U,I)=>{Dj.init(U,I),U._zod.pattern=K_,U._zod.parse=(J,z)=>{if(I.coerce)try{J.value=BigInt(J.value)}catch(v){}if(typeof J.value==="bigint")return J;return J.issues.push({expected:"bigint",code:"invalid_type",input:J.value,inst:U}),J}}),KM=r0("$ZodBigIntFormat",(U,I)=>{A_.init(U,I),S9.init(U,I)}),OM=r0("$ZodSymbol",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(typeof v==="symbol")return J;return J.issues.push({expected:"symbol",code:"invalid_type",input:v,inst:U}),J}}),VM=r0("$ZodUndefined",(U,I)=>{Dj.init(U,I),U._zod.pattern=F_,U._zod.values=new Set([void 0]),U._zod.parse=(J,z)=>{let v=J.value;if(typeof v>"u")return J;return J.issues.push({expected:"undefined",code:"invalid_type",input:v,inst:U}),J}}),DM=r0("$ZodNull",(U,I)=>{Dj.init(U,I),U._zod.pattern=D_,U._zod.values=new Set([null]),U._zod.parse=(J,z)=>{let v=J.value;if(v===null)return J;return J.issues.push({expected:"null",code:"invalid_type",input:v,inst:U}),J}}),FM=r0("$ZodAny",(U,I)=>{Dj.init(U,I),U._zod.parse=(J)=>J}),HM=r0("$ZodUnknown",(U,I)=>{Dj.init(U,I),U._zod.parse=(J)=>J}),_M=r0("$ZodNever",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{return J.issues.push({expected:"never",code:"invalid_type",input:J.value,inst:U}),J}}),MM=r0("$ZodVoid",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(typeof v>"u")return J;return J.issues.push({expected:"void",code:"invalid_type",input:v,inst:U}),J}}),LM=r0("$ZodDate",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{if(I.coerce)try{J.value=new Date(J.value)}catch(L){}let v=J.value,Z=v instanceof Date;if(Z&&!Number.isNaN(v.getTime()))return J;return J.issues.push({expected:"date",code:"invalid_type",input:v,...Z?{received:"Invalid Date"}:{},inst:U}),J}});function qB(U,I,J){if(U.issues.length)I.issues.push(...Lv(J,U.issues));I.value[J]=U.value}var AM=r0("$ZodArray",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(!Array.isArray(v))return J.issues.push({expected:"array",code:"invalid_type",input:v,inst:U}),J;J.value=Array(v.length);let Z=[];for(let Y=0;Y<v.length;Y++){let L=v[Y],S=I.element._zod.run({value:L,issues:[]},z);if(S instanceof Promise)Z.push(S.then((B)=>qB(B,J,Y)));else qB(S,J,Y)}if(Z.length)return Promise.all(Z).then(()=>J);return J}});function g9(U,I,J,z,v,Z){let Y=J in z;if(U.issues.length){if(v&&Z&&!Y)return;I.issues.push(...Lv(J,U.issues))}if(!Y&&!v){if(!U.issues.length)I.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[J]});return}if(U.value===void 0){if(Y)I.value[J]=void 0}else I.value[J]=U.value}function bB(U){let I=Object.keys(U.shape);for(let z of I)if(!U.shape?.[z]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${z}": expected a Zod schema`);let J=y5(U.shape);return{...U,keys:I,keySet:new Set(I),numKeys:I.length,optionalKeys:new Set(J)}}function mB(U,I,J,z,v,Z){let Y=[],L=v.keySet,S=v.catchall._zod,B=S.def.type,g=S.optin==="optional",H=S.optout==="optional";for(let T in I){if(T==="__proto__")continue;if(L.has(T))continue;if(B==="never"){Y.push(T);continue}let c=S.run({value:I[T],issues:[]},z);if(c instanceof Promise)U.push(c.then((x)=>g9(x,J,T,I,g,H)));else g9(c,J,T,I,g,H)}if(Y.length)J.issues.push({code:"unrecognized_keys",keys:Y,input:I,inst:Z});if(!U.length)return J;return Promise.all(U).then(()=>{return J})}var uB=r0("$ZodObject",(U,I)=>{if(Dj.init(U,I),!Object.getOwnPropertyDescriptor(I,"shape")?.get){let L=I.shape;Object.defineProperty(I,"shape",{get:()=>{let S={...L};return Object.defineProperty(I,"shape",{value:S}),S}})}let z=w8(()=>bB(I));mj(U._zod,"propValues",()=>{let L=I.shape,S={};for(let B in L){let g=L[B]._zod;if(g.values){S[B]??(S[B]=new Set);for(let H of g.values)S[B].add(H)}}return S});let v=sZ,Z=I.catchall,Y;U._zod.parse=(L,S)=>{Y??(Y=z.value);let B=L.value;if(!v(B))return L.issues.push({expected:"object",code:"invalid_type",input:B,inst:U}),L;L.value={};let g=[],H=Y.shape;for(let T of Y.keys){let c=H[T],x=c._zod.optin==="optional",u=c._zod.optout==="optional",h=c._zod.run({value:B[T],issues:[]},S);if(h instanceof Promise)g.push(h.then((i)=>g9(i,L,T,B,x,u)));else g9(h,L,T,B,x,u)}if(!Z)return g.length?Promise.all(g).then(()=>L):L;return mB(g,B,L,S,z.value,U)}}),qM=r0("$ZodObjectJIT",(U,I)=>{uB.init(U,I);let J=U._zod.parse,z=w8(()=>bB(I)),v=(T)=>{let c=new R9(["shape","payload","ctx"]),x=z.value,u=(n)=>{let a=z9(n);return`shape[${a}]._zod.run({ value: input[${a}], issues: [] }, ctx)`};c.write("const input = payload.value;");let h=Object.create(null),i=0;for(let n of x.keys)h[n]=`key_${i++}`;c.write("const newResult = {};");for(let n of x.keys){let a=h[n],j0=z9(n),Y0=T[n],C0=Y0?._zod?.optin==="optional",S0=Y0?._zod?.optout==="optional";if(c.write(`const ${a} = ${u(n)};`),C0&&S0)c.write(`
|
|
388
|
+
if (${a}.issues.length) {
|
|
389
|
+
if (${j0} in input) {
|
|
390
|
+
payload.issues = payload.issues.concat(${a}.issues.map(iss => ({
|
|
391
|
+
...iss,
|
|
392
|
+
path: iss.path ? [${j0}, ...iss.path] : [${j0}]
|
|
393
|
+
})));
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
if (${a}.value === undefined) {
|
|
398
|
+
if (${j0} in input) {
|
|
399
|
+
newResult[${j0}] = undefined;
|
|
400
|
+
}
|
|
401
|
+
} else {
|
|
402
|
+
newResult[${j0}] = ${a}.value;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
`);else if(!C0)c.write(`
|
|
406
|
+
const ${a}_present = ${j0} in input;
|
|
407
|
+
if (${a}.issues.length) {
|
|
408
|
+
payload.issues = payload.issues.concat(${a}.issues.map(iss => ({
|
|
409
|
+
...iss,
|
|
410
|
+
path: iss.path ? [${j0}, ...iss.path] : [${j0}]
|
|
411
|
+
})));
|
|
412
|
+
}
|
|
413
|
+
if (!${a}_present && !${a}.issues.length) {
|
|
414
|
+
payload.issues.push({
|
|
415
|
+
code: "invalid_type",
|
|
416
|
+
expected: "nonoptional",
|
|
417
|
+
input: undefined,
|
|
418
|
+
path: [${j0}]
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
if (${a}_present) {
|
|
423
|
+
if (${a}.value === undefined) {
|
|
424
|
+
newResult[${j0}] = undefined;
|
|
425
|
+
} else {
|
|
426
|
+
newResult[${j0}] = ${a}.value;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
`);else c.write(`
|
|
431
|
+
if (${a}.issues.length) {
|
|
432
|
+
payload.issues = payload.issues.concat(${a}.issues.map(iss => ({
|
|
433
|
+
...iss,
|
|
434
|
+
path: iss.path ? [${j0}, ...iss.path] : [${j0}]
|
|
435
|
+
})));
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
if (${a}.value === undefined) {
|
|
439
|
+
if (${j0} in input) {
|
|
440
|
+
newResult[${j0}] = undefined;
|
|
441
|
+
}
|
|
442
|
+
} else {
|
|
443
|
+
newResult[${j0}] = ${a}.value;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
`)}c.write("payload.value = newResult;"),c.write("return payload;");let m=c.compile();return(n,a)=>m(T,n,a)},Z,Y=sZ,L=!oZ.jitless,B=L&&k5.value,g=I.catchall,H;U._zod.parse=(T,c)=>{H??(H=z.value);let x=T.value;if(!Y(x))return T.issues.push({expected:"object",code:"invalid_type",input:x,inst:U}),T;if(L&&B&&c?.async===!1&&c.jitless!==!0){if(!Z)Z=v(I.shape);if(T=Z(T,c),!g)return T;return mB([],x,T,c,H,U)}return J(T,c)}});function PB(U,I,J,z){for(let Z of U)if(Z.issues.length===0)return I.value=Z.value,I;let v=U.filter((Z)=>!EG(Z));if(v.length===1)return I.value=v[0].value,v[0];return I.issues.push({code:"invalid_union",input:I.value,inst:J,errors:U.map((Z)=>Z.issues.map((Y)=>d1(Y,z,_4())))}),I}var sK=r0("$ZodUnion",(U,I)=>{Dj.init(U,I),mj(U._zod,"optin",()=>I.options.some((z)=>z._zod.optin==="optional")?"optional":void 0),mj(U._zod,"optout",()=>I.options.some((z)=>z._zod.optout==="optional")?"optional":void 0),mj(U._zod,"values",()=>{if(I.options.every((z)=>z._zod.values))return new Set(I.options.flatMap((z)=>Array.from(z._zod.values)));return}),mj(U._zod,"pattern",()=>{if(I.options.every((z)=>z._zod.pattern)){let z=I.options.map((v)=>v._zod.pattern);return new RegExp(`^(${z.map((v)=>mK(v.source)).join("|")})$`)}return});let J=I.options.length===1?I.options[0]._zod.run:null;U._zod.parse=(z,v)=>{if(J)return J(z,v);let Z=!1,Y=[];for(let L of I.options){let S=L._zod.run({value:z.value,issues:[]},v);if(S instanceof Promise)Y.push(S),Z=!0;else{if(S.issues.length===0)return S;Y.push(S)}}if(!Z)return PB(Y,z,U,v);return Promise.all(Y).then((L)=>{return PB(L,z,U,v)})}});function CB(U,I,J,z){let v=U.filter((Z)=>Z.issues.length===0);if(v.length===1)return I.value=v[0].value,I;if(v.length===0)I.issues.push({code:"invalid_union",input:I.value,inst:J,errors:U.map((Z)=>Z.issues.map((Y)=>d1(Y,z,_4())))});else I.issues.push({code:"invalid_union",input:I.value,inst:J,errors:[],inclusive:!1});return I}var PM=r0("$ZodXor",(U,I)=>{sK.init(U,I),I.inclusive=!1;let J=I.options.length===1?I.options[0]._zod.run:null;U._zod.parse=(z,v)=>{if(J)return J(z,v);let Z=!1,Y=[];for(let L of I.options){let S=L._zod.run({value:z.value,issues:[]},v);if(S instanceof Promise)Y.push(S),Z=!0;else Y.push(S)}if(!Z)return CB(Y,z,U,v);return Promise.all(Y).then((L)=>{return CB(L,z,U,v)})}}),CM=r0("$ZodDiscriminatedUnion",(U,I)=>{I.inclusive=!1,sK.init(U,I);let J=U._zod.parse;mj(U._zod,"propValues",()=>{let v={};for(let Z of I.options){let Y=Z._zod.propValues;if(!Y||Object.keys(Y).length===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(Z)}"`);for(let[L,S]of Object.entries(Y)){if(!v[L])v[L]=new Set;for(let B of S)v[L].add(B)}}return v});let z=w8(()=>{let v=I.options,Z=new Map;for(let Y of v){let L=Y._zod.propValues?.[I.discriminator];if(!L||L.size===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(Y)}"`);for(let S of L){if(Z.has(S))throw Error(`Duplicate discriminator value "${String(S)}"`);Z.set(S,Y)}}return Z});U._zod.parse=(v,Z)=>{let Y=v.value;if(!sZ(Y))return v.issues.push({code:"invalid_type",expected:"object",input:Y,inst:U}),v;let L=z.value.get(Y?.[I.discriminator]);if(L)return L._zod.run(v,Z);if(I.unionFallback||Z.direction==="backward")return J(v,Z);return v.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:I.discriminator,options:Array.from(z.value.keys()),input:Y,path:[I.discriminator],inst:U}),v}}),RM=r0("$ZodIntersection",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value,Z=I.left._zod.run({value:v,issues:[]},z),Y=I.right._zod.run({value:v,issues:[]},z);if(Z instanceof Promise||Y instanceof Promise)return Promise.all([Z,Y]).then(([S,B])=>{return RB(J,S,B)});return RB(J,Z,Y)}});function b_(U,I){if(U===I)return{valid:!0,data:U};if(U instanceof Date&&I instanceof Date&&+U===+I)return{valid:!0,data:U};if(RG(U)&&RG(I)){let J=Object.keys(I),z=Object.keys(U).filter((Z)=>J.indexOf(Z)!==-1),v={...U,...I};for(let Z of z){let Y=b_(U[Z],I[Z]);if(!Y.valid)return{valid:!1,mergeErrorPath:[Z,...Y.mergeErrorPath]};v[Z]=Y.data}return{valid:!0,data:v}}if(Array.isArray(U)&&Array.isArray(I)){if(U.length!==I.length)return{valid:!1,mergeErrorPath:[]};let J=[];for(let z=0;z<U.length;z++){let v=U[z],Z=I[z],Y=b_(v,Z);if(!Y.valid)return{valid:!1,mergeErrorPath:[z,...Y.mergeErrorPath]};J.push(Y.data)}return{valid:!0,data:J}}return{valid:!1,mergeErrorPath:[]}}function RB(U,I,J){let z=new Map,v;for(let L of I.issues)if(L.code==="unrecognized_keys"){v??(v=L);for(let S of L.keys){if(!z.has(S))z.set(S,{});z.get(S).l=!0}}else U.issues.push(L);for(let L of J.issues)if(L.code==="unrecognized_keys")for(let S of L.keys){if(!z.has(S))z.set(S,{});z.get(S).r=!0}else U.issues.push(L);let Z=[...z].filter(([,L])=>L.l&&L.r).map(([L])=>L);if(Z.length&&v)U.issues.push({...v,keys:Z});if(EG(U))return U;let Y=b_(I.value,J.value);if(!Y.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(Y.mergeErrorPath)}`);return U.value=Y.data,U}var w9=r0("$ZodTuple",(U,I)=>{Dj.init(U,I);let J=I.items;U._zod.parse=(z,v)=>{let Z=z.value;if(!Array.isArray(Z))return z.issues.push({input:Z,inst:U,expected:"tuple",code:"invalid_type"}),z;z.value=[];let Y=[],L=EB(J,"optin"),S=EB(J,"optout");if(!I.rest){if(Z.length<L)return z.issues.push({code:"too_small",minimum:L,inclusive:!0,input:Z,inst:U,origin:"array"}),z;if(Z.length>J.length)z.issues.push({code:"too_big",maximum:J.length,inclusive:!0,input:Z,inst:U,origin:"array"})}let B=Array(J.length);for(let g=0;g<J.length;g++){let H=J[g]._zod.run({value:Z[g],issues:[]},v);if(H instanceof Promise)Y.push(H.then((T)=>{B[g]=T}));else B[g]=H}if(I.rest){let g=J.length-1,H=Z.slice(J.length);for(let T of H){g++;let c=I.rest._zod.run({value:T,issues:[]},v);if(c instanceof Promise)Y.push(c.then((x)=>TB(x,z,g)));else TB(c,z,g)}}if(Y.length)return Promise.all(Y).then(()=>BB(B,z,J,Z,S));return BB(B,z,J,Z,S)}});function EB(U,I){for(let J=U.length-1;J>=0;J--)if(U[J]._zod[I]!=="optional")return J+1;return 0}function TB(U,I,J){if(U.issues.length)I.issues.push(...Lv(J,U.issues));I.value[J]=U.value}function BB(U,I,J,z,v){for(let Z=0;Z<J.length;Z++){let Y=U[Z],L=Z<z.length;if(Y.issues.length){if(!L&&Z>=v){I.value.length=Z;break}I.issues.push(...Lv(Z,Y.issues))}I.value[Z]=Y.value}for(let Z=I.value.length-1;Z>=z.length;Z--)if(J[Z]._zod.optout==="optional"&&I.value[Z]===void 0)I.value.length=Z;else break;return I}var EM=r0("$ZodRecord",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(!RG(v))return J.issues.push({expected:"record",code:"invalid_type",input:v,inst:U}),J;let Z=[],Y=I.keyType._zod.values;if(Y){J.value={};let L=new Set;for(let B of Y)if(typeof B==="string"||typeof B==="number"||typeof B==="symbol"){L.add(typeof B==="number"?B.toString():B);let g=I.keyType._zod.run({value:B,issues:[]},z);if(g instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(g.issues.length){J.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map((c)=>d1(c,z,_4())),input:B,path:[B],inst:U});continue}let H=g.value,T=I.valueType._zod.run({value:v[B],issues:[]},z);if(T instanceof Promise)Z.push(T.then((c)=>{if(c.issues.length)J.issues.push(...Lv(B,c.issues));J.value[H]=c.value}));else{if(T.issues.length)J.issues.push(...Lv(B,T.issues));J.value[H]=T.value}}let S;for(let B in v)if(!L.has(B))S=S??[],S.push(B);if(S&&S.length>0)J.issues.push({code:"unrecognized_keys",input:v,inst:U,keys:S})}else{J.value={};for(let L of Reflect.ownKeys(v)){if(L==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(v,L))continue;let S=I.keyType._zod.run({value:L,issues:[]},z);if(S instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof L==="string"&&iK.test(L)&&S.issues.length){let H=I.keyType._zod.run({value:Number(L),issues:[]},z);if(H instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(H.issues.length===0)S=H}if(S.issues.length){if(I.mode==="loose")J.value[L]=v[L];else J.issues.push({code:"invalid_key",origin:"record",issues:S.issues.map((H)=>d1(H,z,_4())),input:L,path:[L],inst:U});continue}let g=I.valueType._zod.run({value:v[L],issues:[]},z);if(g instanceof Promise)Z.push(g.then((H)=>{if(H.issues.length)J.issues.push(...Lv(L,H.issues));J.value[S.value]=H.value}));else{if(g.issues.length)J.issues.push(...Lv(L,g.issues));J.value[S.value]=g.value}}}if(Z.length)return Promise.all(Z).then(()=>J);return J}}),TM=r0("$ZodMap",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(!(v instanceof Map))return J.issues.push({expected:"map",code:"invalid_type",input:v,inst:U}),J;let Z=[];J.value=new Map;for(let[Y,L]of v){let S=I.keyType._zod.run({value:Y,issues:[]},z),B=I.valueType._zod.run({value:L,issues:[]},z);if(S instanceof Promise||B instanceof Promise)Z.push(Promise.all([S,B]).then(([g,H])=>{gB(g,H,J,Y,v,U,z)}));else gB(S,B,J,Y,v,U,z)}if(Z.length)return Promise.all(Z).then(()=>J);return J}});function gB(U,I,J,z,v,Z,Y){if(U.issues.length)if(uK.has(typeof z))J.issues.push(...Lv(z,U.issues));else J.issues.push({code:"invalid_key",origin:"map",input:v,inst:Z,issues:U.issues.map((L)=>d1(L,Y,_4()))});if(I.issues.length)if(uK.has(typeof z))J.issues.push(...Lv(z,I.issues));else J.issues.push({origin:"map",code:"invalid_element",input:v,inst:Z,key:z,issues:I.issues.map((L)=>d1(L,Y,_4()))});J.value.set(U.value,I.value)}var BM=r0("$ZodSet",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(!(v instanceof Set))return J.issues.push({input:v,inst:U,expected:"set",code:"invalid_type"}),J;let Z=[];J.value=new Set;for(let Y of v){let L=I.valueType._zod.run({value:Y,issues:[]},z);if(L instanceof Promise)Z.push(L.then((S)=>NB(S,J)));else NB(L,J)}if(Z.length)return Promise.all(Z).then(()=>J);return J}});function NB(U,I){if(U.issues.length)I.issues.push(...U.issues);I.value.add(U.value)}var gM=r0("$ZodEnum",(U,I)=>{Dj.init(U,I);let J=bK(I.entries),z=new Set(J);U._zod.values=z,U._zod.pattern=new RegExp(`^(${J.filter((v)=>uK.has(typeof v)).map((v)=>typeof v==="string"?tI(v):v.toString()).join("|")})$`),U._zod.parse=(v,Z)=>{let Y=v.value;if(z.has(Y))return v;return v.issues.push({code:"invalid_value",values:J,input:Y,inst:U}),v}}),NM=r0("$ZodLiteral",(U,I)=>{if(Dj.init(U,I),I.values.length===0)throw Error("Cannot create literal schema with no valid values");let J=new Set(I.values);U._zod.values=J,U._zod.pattern=new RegExp(`^(${I.values.map((z)=>typeof z==="string"?tI(z):z?tI(z.toString()):String(z)).join("|")})$`),U._zod.parse=(z,v)=>{let Z=z.value;if(J.has(Z))return z;return z.issues.push({code:"invalid_value",values:I.values,input:Z,inst:U}),z}}),SM=r0("$ZodFile",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{let v=J.value;if(v instanceof File)return J;return J.issues.push({expected:"file",code:"invalid_type",input:v,inst:U}),J}}),wM=r0("$ZodTransform",(U,I)=>{Dj.init(U,I),U._zod.optin="optional",U._zod.parse=(J,z)=>{if(z.direction==="backward")throw new tZ(U.constructor.name);let v=I.transform(J.value,J);if(z.async)return(v instanceof Promise?v:Promise.resolve(v)).then((Y)=>{return J.value=Y,J.fallback=!0,J});if(v instanceof Promise)throw new oJ;return J.value=v,J.fallback=!0,J}});function SB(U,I){if(I===void 0&&(U.issues.length||U.fallback))return{issues:[],value:void 0};return U}var k9=r0("$ZodOptional",(U,I)=>{Dj.init(U,I),U._zod.optin="optional",U._zod.optout="optional",mj(U._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,void 0]):void 0}),mj(U._zod,"pattern",()=>{let J=I.innerType._zod.pattern;return J?new RegExp(`^(${mK(J.source)})?$`):void 0}),U._zod.parse=(J,z)=>{if(I.innerType._zod.optin==="optional"){let v=J.value,Z=I.innerType._zod.run(J,z);if(Z instanceof Promise)return Z.then((Y)=>SB(Y,v));return SB(Z,v)}if(J.value===void 0)return J;return I.innerType._zod.run(J,z)}}),kM=r0("$ZodExactOptional",(U,I)=>{k9.init(U,I),mj(U._zod,"values",()=>I.innerType._zod.values),mj(U._zod,"pattern",()=>I.innerType._zod.pattern),U._zod.parse=(J,z)=>{return I.innerType._zod.run(J,z)}}),cM=r0("$ZodNullable",(U,I)=>{Dj.init(U,I),mj(U._zod,"optin",()=>I.innerType._zod.optin),mj(U._zod,"optout",()=>I.innerType._zod.optout),mj(U._zod,"pattern",()=>{let J=I.innerType._zod.pattern;return J?new RegExp(`^(${mK(J.source)}|null)$`):void 0}),mj(U._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,null]):void 0}),U._zod.parse=(J,z)=>{if(J.value===null)return J;return I.innerType._zod.run(J,z)}}),xM=r0("$ZodDefault",(U,I)=>{Dj.init(U,I),U._zod.optin="optional",mj(U._zod,"values",()=>I.innerType._zod.values),U._zod.parse=(J,z)=>{if(z.direction==="backward")return I.innerType._zod.run(J,z);if(J.value===void 0)return J.value=I.defaultValue,J;let v=I.innerType._zod.run(J,z);if(v instanceof Promise)return v.then((Z)=>wB(Z,I));return wB(v,I)}});function wB(U,I){if(U.value===void 0)U.value=I.defaultValue;return U}var yM=r0("$ZodPrefault",(U,I)=>{Dj.init(U,I),U._zod.optin="optional",mj(U._zod,"values",()=>I.innerType._zod.values),U._zod.parse=(J,z)=>{if(z.direction==="backward")return I.innerType._zod.run(J,z);if(J.value===void 0)J.value=I.defaultValue;return I.innerType._zod.run(J,z)}}),fM=r0("$ZodNonOptional",(U,I)=>{Dj.init(U,I),mj(U._zod,"values",()=>{let J=I.innerType._zod.values;return J?new Set([...J].filter((z)=>z!==void 0)):void 0}),U._zod.parse=(J,z)=>{let v=I.innerType._zod.run(J,z);if(v instanceof Promise)return v.then((Z)=>kB(Z,U));return kB(v,U)}});function kB(U,I){if(!U.issues.length&&U.value===void 0)U.issues.push({code:"invalid_type",expected:"nonoptional",input:U.value,inst:I});return U}var bM=r0("$ZodSuccess",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{if(z.direction==="backward")throw new tZ("ZodSuccess");let v=I.innerType._zod.run(J,z);if(v instanceof Promise)return v.then((Z)=>{return J.value=Z.issues.length===0,J});return J.value=v.issues.length===0,J}}),mM=r0("$ZodCatch",(U,I)=>{Dj.init(U,I),U._zod.optin="optional",mj(U._zod,"optout",()=>I.innerType._zod.optout),mj(U._zod,"values",()=>I.innerType._zod.values),U._zod.parse=(J,z)=>{if(z.direction==="backward")return I.innerType._zod.run(J,z);let v=I.innerType._zod.run(J,z);if(v instanceof Promise)return v.then((Z)=>{if(J.value=Z.value,Z.issues.length)J.value=I.catchValue({...J,error:{issues:Z.issues.map((Y)=>d1(Y,z,_4()))},input:J.value}),J.issues=[],J.fallback=!0;return J});if(J.value=v.value,v.issues.length)J.value=I.catchValue({...J,error:{issues:v.issues.map((Z)=>d1(Z,z,_4()))},input:J.value}),J.issues=[],J.fallback=!0;return J}}),uM=r0("$ZodNaN",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{if(typeof J.value!=="number"||!Number.isNaN(J.value))return J.issues.push({input:J.value,inst:U,expected:"nan",code:"invalid_type"}),J;return J}}),c9=r0("$ZodPipe",(U,I)=>{Dj.init(U,I),mj(U._zod,"values",()=>I.in._zod.values),mj(U._zod,"optin",()=>I.in._zod.optin),mj(U._zod,"optout",()=>I.out._zod.optout),mj(U._zod,"propValues",()=>I.in._zod.propValues),U._zod.parse=(J,z)=>{if(z.direction==="backward"){let Z=I.out._zod.run(J,z);if(Z instanceof Promise)return Z.then((Y)=>E9(Y,I.in,z));return E9(Z,I.in,z)}let v=I.in._zod.run(J,z);if(v instanceof Promise)return v.then((Z)=>E9(Z,I.out,z));return E9(v,I.out,z)}});function E9(U,I,J){if(U.issues.length)return U.aborted=!0,U;return I._zod.run({value:U.value,issues:U.issues,fallback:U.fallback},J)}var aK=r0("$ZodCodec",(U,I)=>{Dj.init(U,I),mj(U._zod,"values",()=>I.in._zod.values),mj(U._zod,"optin",()=>I.in._zod.optin),mj(U._zod,"optout",()=>I.out._zod.optout),mj(U._zod,"propValues",()=>I.in._zod.propValues),U._zod.parse=(J,z)=>{if((z.direction||"forward")==="forward"){let Z=I.in._zod.run(J,z);if(Z instanceof Promise)return Z.then((Y)=>T9(Y,I,z));return T9(Z,I,z)}else{let Z=I.out._zod.run(J,z);if(Z instanceof Promise)return Z.then((Y)=>T9(Y,I,z));return T9(Z,I,z)}}});function T9(U,I,J){if(U.issues.length)return U.aborted=!0,U;if((J.direction||"forward")==="forward"){let v=I.transform(U.value,U);if(v instanceof Promise)return v.then((Z)=>B9(U,Z,I.out,J));return B9(U,v,I.out,J)}else{let v=I.reverseTransform(U.value,U);if(v instanceof Promise)return v.then((Z)=>B9(U,Z,I.in,J));return B9(U,v,I.in,J)}}function B9(U,I,J,z){if(U.issues.length)return U.aborted=!0,U;return J._zod.run({value:I,issues:U.issues},z)}var hM=r0("$ZodPreprocess",(U,I)=>{c9.init(U,I)}),pM=r0("$ZodReadonly",(U,I)=>{Dj.init(U,I),mj(U._zod,"propValues",()=>I.innerType._zod.propValues),mj(U._zod,"values",()=>I.innerType._zod.values),mj(U._zod,"optin",()=>I.innerType?._zod?.optin),mj(U._zod,"optout",()=>I.innerType?._zod?.optout),U._zod.parse=(J,z)=>{if(z.direction==="backward")return I.innerType._zod.run(J,z);let v=I.innerType._zod.run(J,z);if(v instanceof Promise)return v.then(cB);return cB(v)}});function cB(U){return U.value=Object.freeze(U.value),U}var lM=r0("$ZodTemplateLiteral",(U,I)=>{Dj.init(U,I);let J=[];for(let z of I.parts)if(typeof z==="object"&&z!==null){if(!z._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...z._zod.traits].shift()}`);let v=z._zod.pattern instanceof RegExp?z._zod.pattern.source:z._zod.pattern;if(!v)throw Error(`Invalid template literal part: ${z._zod.traits}`);let Z=v.startsWith("^")?1:0,Y=v.endsWith("$")?v.length-1:v.length;J.push(v.slice(Z,Y))}else if(z===null||x5.has(typeof z))J.push(tI(`${z}`));else throw Error(`Invalid template literal part: ${z}`);U._zod.pattern=new RegExp(`^${J.join("")}$`),U._zod.parse=(z,v)=>{if(typeof z.value!=="string")return z.issues.push({input:z.value,inst:U,expected:"string",code:"invalid_type"}),z;if(U._zod.pattern.lastIndex=0,!U._zod.pattern.test(z.value))return z.issues.push({input:z.value,inst:U,code:"invalid_format",format:I.format??"template_literal",pattern:U._zod.pattern.source}),z;return z}}),dM=r0("$ZodFunction",(U,I)=>{return Dj.init(U,I),U._def=I,U._zod.def=I,U.implement=(J)=>{if(typeof J!=="function")throw Error("implement() must be called with a function");return function(...z){let v=U._def.input?K9(U._def.input,z):z,Z=Reflect.apply(J,this,v);if(U._def.output)return K9(U._def.output,Z);return Z}},U.implementAsync=(J)=>{if(typeof J!=="function")throw Error("implementAsync() must be called with a function");return async function(...z){let v=U._def.input?await O9(U._def.input,z):z,Z=await Reflect.apply(J,this,v);if(U._def.output)return await O9(U._def.output,Z);return Z}},U._zod.parse=(J,z)=>{if(typeof J.value!=="function")return J.issues.push({code:"invalid_type",expected:"function",input:J.value,inst:U}),J;if(U._def.output&&U._def.output._zod.def.type==="promise")J.value=U.implementAsync(J.value);else J.value=U.implement(J.value);return J},U.input=(...J)=>{let z=U.constructor;if(Array.isArray(J[0]))return new z({type:"function",input:new w9({type:"tuple",items:J[0],rest:J[1]}),output:U._def.output});return new z({type:"function",input:J[0],output:U._def.output})},U.output=(J)=>{return new U.constructor({type:"function",input:U._def.input,output:J})},U}),nM=r0("$ZodPromise",(U,I)=>{Dj.init(U,I),U._zod.parse=(J,z)=>{return Promise.resolve(J.value).then((v)=>I.innerType._zod.run({value:v,issues:[]},z))}}),iM=r0("$ZodLazy",(U,I)=>{Dj.init(U,I),mj(U._zod,"innerType",()=>{let J=I;if(!J._cachedInner)J._cachedInner=I.getter();return J._cachedInner}),mj(U._zod,"pattern",()=>U._zod.innerType?._zod?.pattern),mj(U._zod,"propValues",()=>U._zod.innerType?._zod?.propValues),mj(U._zod,"optin",()=>U._zod.innerType?._zod?.optin??void 0),mj(U._zod,"optout",()=>U._zod.innerType?._zod?.optout??void 0),U._zod.parse=(J,z)=>{return U._zod.innerType._zod.run(J,z)}}),rM=r0("$ZodCustom",(U,I)=>{DU.init(U,I),Dj.init(U,I),U._zod.parse=(J,z)=>{return J},U._zod.check=(J)=>{let z=J.value,v=I.fn(z);if(v instanceof Promise)return v.then((Z)=>xB(Z,J,z,U));xB(v,J,z,U);return}});function xB(U,I,J,z){if(!U){let v={code:"custom",input:J,inst:z,path:[...z._zod.def.path??[]],continue:!z._zod.def.abort};if(z._zod.def.params)v.params=z._zod.def.params;I.issues.push(k8(v))}}var vO={};m1(vO,{zhTW:()=>hL,zhCN:()=>uL,yo:()=>pL,vi:()=>mL,uz:()=>bL,ur:()=>fL,uk:()=>UO,ua:()=>yL,tr:()=>xL,th:()=>cL,ta:()=>kL,sv:()=>wL,sl:()=>SL,ru:()=>NL,ro:()=>gL,pt:()=>BL,ps:()=>EL,pl:()=>TL,ota:()=>RL,no:()=>CL,nl:()=>PL,ms:()=>qL,mk:()=>AL,lt:()=>LL,ko:()=>ML,km:()=>$O,kh:()=>_L,ka:()=>HL,ja:()=>FL,it:()=>DL,is:()=>VL,id:()=>OL,hy:()=>KL,hu:()=>WL,hr:()=>zL,he:()=>ZL,frCA:()=>GL,fr:()=>YL,fi:()=>QL,fa:()=>JL,es:()=>XL,eo:()=>IL,en:()=>eK,el:()=>vL,de:()=>UL,da:()=>jL,cs:()=>$L,ca:()=>eM,bg:()=>aM,be:()=>sM,az:()=>tM,ar:()=>oM});var Bb=()=>{let U={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function I(v){return U[v]??null}let J={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:"مدخل"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${v.expected}، ولكن تم إدخال ${L}`;return`مدخلات غير مقبولة: يفترض إدخال ${Z}، ولكن تم إدخال ${L}`}case"invalid_value":if(v.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${S$(v.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return` أكبر من اللازم: يفترض أن تكون ${v.origin??"القيمة"} ${Z} ${v.maximum.toString()} ${Y.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${v.origin??"القيمة"} ${Z} ${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`أصغر من اللازم: يفترض لـ ${v.origin} أن يكون ${Z} ${v.minimum.toString()} ${Y.unit}`;return`أصغر من اللازم: يفترض لـ ${v.origin} أن يكون ${Z} ${v.minimum.toString()}`}case"invalid_format":{let Z=v;if(Z.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${v.prefix}"`;if(Z.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${Z.suffix}"`;if(Z.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${Z.includes}"`;if(Z.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${Z.pattern}`;return`${J[Z.format]??v.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${v.divisor}`;case"unrecognized_keys":return`معرف${v.keys.length>1?"ات":""} غريب${v.keys.length>1?"ة":""}: ${v$(v.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${v.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${v.origin}`;default:return"مدخل غير مقبول"}}};function oM(){return{localeError:Bb()}}var gb=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Yanlış dəyər: gözlənilən instanceof ${v.expected}, daxil olan ${L}`;return`Yanlış dəyər: gözlənilən ${Z}, daxil olan ${L}`}case"invalid_value":if(v.values.length===1)return`Yanlış dəyər: gözlənilən ${S$(v.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Çox böyük: gözlənilən ${v.origin??"dəyər"} ${Z}${v.maximum.toString()} ${Y.unit??"element"}`;return`Çox böyük: gözlənilən ${v.origin??"dəyər"} ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Çox kiçik: gözlənilən ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Çox kiçik: gözlənilən ${v.origin} ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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ış ${J[Z.format]??v.format}`}case"not_multiple_of":return`Yanlış ədəd: ${v.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${v.keys.length>1?"lar":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`${v.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${v.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function tM(){return{localeError:gb()}}function hB(U,I,J,z){let v=Math.abs(U),Z=v%10,Y=v%100;if(Y>=11&&Y<=19)return z;if(Z===1)return I;if(Z>=2&&Z<=4)return J;return z}var Nb=()=>{let U={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 I(v){return U[v]??null}let J={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:"увод"},z={nan:"NaN",number:"лік",array:"масіў"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Няправільны ўвод: чакаўся instanceof ${v.expected}, атрымана ${L}`;return`Няправільны ўвод: чакаўся ${Z}, атрымана ${L}`}case"invalid_value":if(v.values.length===1)return`Няправільны ўвод: чакалася ${S$(v.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y){let L=Number(v.maximum),S=hB(L,Y.unit.one,Y.unit.few,Y.unit.many);return`Занадта вялікі: чакалася, што ${v.origin??"значэнне"} павінна ${Y.verb} ${Z}${v.maximum.toString()} ${S}`}return`Занадта вялікі: чакалася, што ${v.origin??"значэнне"} павінна быць ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y){let L=Number(v.minimum),S=hB(L,Y.unit.one,Y.unit.few,Y.unit.many);return`Занадта малы: чакалася, што ${v.origin} павінна ${Y.verb} ${Z}${v.minimum.toString()} ${S}`}return`Занадта малы: чакалася, што ${v.origin} павінна быць ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`Няправільны ${J[Z.format]??v.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${v.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${v.keys.length>1?"ключы":"ключ"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${v.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${v.origin}`;default:return"Няправільны ўвод"}}};function sM(){return{localeError:Nb()}}var Sb=()=>{let U={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function I(v){return U[v]??null}let J={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:"вход"},z={nan:"NaN",number:"число",array:"масив"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Невалиден вход: очакван instanceof ${v.expected}, получен ${L}`;return`Невалиден вход: очакван ${Z}, получен ${L}`}case"invalid_value":if(v.values.length===1)return`Невалиден вход: очакван ${S$(v.values[0])}`;return`Невалидна опция: очаквано едно от ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Твърде голямо: очаква се ${v.origin??"стойност"} да съдържа ${Z}${v.maximum.toString()} ${Y.unit??"елемента"}`;return`Твърде голямо: очаква се ${v.origin??"стойност"} да бъде ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Твърде малко: очаква се ${v.origin} да съдържа ${Z}${v.minimum.toString()} ${Y.unit}`;return`Твърде малко: очаква се ${v.origin} да бъде ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 Y="Невалиден";if(Z.format==="emoji")Y="Невалидно";if(Z.format==="datetime")Y="Невалидно";if(Z.format==="date")Y="Невалидна";if(Z.format==="time")Y="Невалидно";if(Z.format==="duration")Y="Невалидна";return`${Y} ${J[Z.format]??v.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${v.divisor}`;case"unrecognized_keys":return`Неразпознат${v.keys.length>1?"и":""} ключ${v.keys.length>1?"ове":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${v.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${v.origin}`;default:return"Невалиден вход"}}};function aM(){return{localeError:Sb()}}var wb=()=>{let U={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Tipus invàlid: s'esperava instanceof ${v.expected}, s'ha rebut ${L}`;return`Tipus invàlid: s'esperava ${Z}, s'ha rebut ${L}`}case"invalid_value":if(v.values.length===1)return`Valor invàlid: s'esperava ${S$(v.values[0])}`;return`Opció invàlida: s'esperava una de ${v$(v.values," o ")}`;case"too_big":{let Z=v.inclusive?"com a màxim":"menys de",Y=I(v.origin);if(Y)return`Massa gran: s'esperava que ${v.origin??"el valor"} contingués ${Z} ${v.maximum.toString()} ${Y.unit??"elements"}`;return`Massa gran: s'esperava que ${v.origin??"el valor"} fos ${Z} ${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?"com a mínim":"més de",Y=I(v.origin);if(Y)return`Massa petit: s'esperava que ${v.origin} contingués ${Z} ${v.minimum.toString()} ${Y.unit}`;return`Massa petit: s'esperava que ${v.origin} fos ${Z} ${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${v.divisor}`;case"unrecognized_keys":return`Clau${v.keys.length>1?"s":""} no reconeguda${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${v.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${v.origin}`;default:return"Entrada invàlida"}}};function eM(){return{localeError:wb()}}var kb=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Neplatný vstup: očekáváno instanceof ${v.expected}, obdrženo ${L}`;return`Neplatný vstup: očekáváno ${Z}, obdrženo ${L}`}case"invalid_value":if(v.values.length===1)return`Neplatný vstup: očekáváno ${S$(v.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Hodnota je příliš velká: ${v.origin??"hodnota"} musí mít ${Z}${v.maximum.toString()} ${Y.unit??"prvků"}`;return`Hodnota je příliš velká: ${v.origin??"hodnota"} musí být ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Hodnota je příliš malá: ${v.origin??"hodnota"} musí mít ${Z}${v.minimum.toString()} ${Y.unit??"prvků"}`;return`Hodnota je příliš malá: ${v.origin??"hodnota"} musí být ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${v.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${v$(v.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${v.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${v.origin}`;default:return"Neplatný vstup"}}};function $L(){return{localeError:kb()}}var cb=()=>{let U={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Ugyldigt input: forventede instanceof ${v.expected}, fik ${L}`;return`Ugyldigt input: forventede ${Z}, fik ${L}`}case"invalid_value":if(v.values.length===1)return`Ugyldig værdi: forventede ${S$(v.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin),L=z[v.origin]??v.origin;if(Y)return`For stor: forventede ${L??"value"} ${Y.verb} ${Z} ${v.maximum.toString()} ${Y.unit??"elementer"}`;return`For stor: forventede ${L??"value"} havde ${Z} ${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin),L=z[v.origin]??v.origin;if(Y)return`For lille: forventede ${L} ${Y.verb} ${Z} ${v.minimum.toString()} ${Y.unit}`;return`For lille: forventede ${L} havde ${Z} ${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${v.divisor}`;case"unrecognized_keys":return`${v.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${v.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${v.origin}`;default:return"Ugyldigt input"}}};function jL(){return{localeError:cb()}}var xb=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"Zahl",array:"Array"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Ungültige Eingabe: erwartet instanceof ${v.expected}, erhalten ${L}`;return`Ungültige Eingabe: erwartet ${Z}, erhalten ${L}`}case"invalid_value":if(v.values.length===1)return`Ungültige Eingabe: erwartet ${S$(v.values[0])}`;return`Ungültige Option: erwartet eine von ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Zu groß: erwartet, dass ${v.origin??"Wert"} ${Z}${v.maximum.toString()} ${Y.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${v.origin??"Wert"} ${Z}${v.maximum.toString()} ist`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Zu klein: erwartet, dass ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit} hat`;return`Zu klein: erwartet, dass ${v.origin} ${Z}${v.minimum.toString()} ist`}case"invalid_format":{let Z=v;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: ${J[Z.format]??v.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${v.divisor} sein`;case"unrecognized_keys":return`${v.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${v.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${v.origin}`;default:return"Ungültige Eingabe"}}};function UL(){return{localeError:xb()}}var yb=()=>{let U={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function I(v){return U[v]??null}let J={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:"είσοδος"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(typeof v.expected==="string"&&/^[A-Z]/.test(v.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${v.expected}, λήφθηκε ${L}`;return`Μη έγκυρη είσοδος: αναμενόταν ${Z}, λήφθηκε ${L}`}case"invalid_value":if(v.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${S$(v.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Πολύ μεγάλο: αναμενόταν ${v.origin??"τιμή"} να έχει ${Z}${v.maximum.toString()} ${Y.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${v.origin??"τιμή"} να είναι ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Πολύ μικρό: αναμενόταν ${v.origin} να έχει ${Z}${v.minimum.toString()} ${Y.unit}`;return`Πολύ μικρό: αναμενόταν ${v.origin} να είναι ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`Μη έγκυρο: ${J[Z.format]??v.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${v.divisor}`;case"unrecognized_keys":return`Άγνωστ${v.keys.length>1?"α":"ο"} κλειδ${v.keys.length>1?"ιά":"ί"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${v.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${v.origin}`;default:return"Μη έγκυρη είσοδος"}}};function vL(){return{localeError:yb()}}var fb=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;return`Invalid input: expected ${Z}, received ${L}`}case"invalid_value":if(v.values.length===1)return`Invalid input: expected ${S$(v.values[0])}`;return`Invalid option: expected one of ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Too big: expected ${v.origin??"value"} to have ${Z}${v.maximum.toString()} ${Y.unit??"elements"}`;return`Too big: expected ${v.origin??"value"} to be ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Too small: expected ${v.origin} to have ${Z}${v.minimum.toString()} ${Y.unit}`;return`Too small: expected ${v.origin} to be ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${v.divisor}`;case"unrecognized_keys":return`Unrecognized key${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Invalid key in ${v.origin}`;case"invalid_union":if(v.options&&Array.isArray(v.options)&&v.options.length>0)return`Invalid discriminator value. Expected ${v.options.map((Y)=>`'${Y}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${v.origin}`;default:return"Invalid input"}}};function eK(){return{localeError:fb()}}var bb=()=>{let U={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Nevalida enigo: atendiĝis instanceof ${v.expected}, riceviĝis ${L}`;return`Nevalida enigo: atendiĝis ${Z}, riceviĝis ${L}`}case"invalid_value":if(v.values.length===1)return`Nevalida enigo: atendiĝis ${S$(v.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Tro granda: atendiĝis ke ${v.origin??"valoro"} havu ${Z}${v.maximum.toString()} ${Y.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${v.origin??"valoro"} havu ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Tro malgranda: atendiĝis ke ${v.origin} havu ${Z}${v.minimum.toString()} ${Y.unit}`;return`Tro malgranda: atendiĝis ke ${v.origin} estu ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${v.divisor}`;case"unrecognized_keys":return`Nekonata${v.keys.length>1?"j":""} ŝlosilo${v.keys.length>1?"j":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${v.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${v.origin}`;default:return"Nevalida enigo"}}};function IL(){return{localeError:bb()}}var mb=()=>{let U={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function I(v){return U[v]??null}let J={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"},z={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(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Entrada inválida: se esperaba instanceof ${v.expected}, recibido ${L}`;return`Entrada inválida: se esperaba ${Z}, recibido ${L}`}case"invalid_value":if(v.values.length===1)return`Entrada inválida: se esperaba ${S$(v.values[0])}`;return`Opción inválida: se esperaba una de ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin),L=z[v.origin]??v.origin;if(Y)return`Demasiado grande: se esperaba que ${L??"valor"} tuviera ${Z}${v.maximum.toString()} ${Y.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${L??"valor"} fuera ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin),L=z[v.origin]??v.origin;if(Y)return`Demasiado pequeño: se esperaba que ${L} tuviera ${Z}${v.minimum.toString()} ${Y.unit}`;return`Demasiado pequeño: se esperaba que ${L} fuera ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${v.divisor}`;case"unrecognized_keys":return`Llave${v.keys.length>1?"s":""} desconocida${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Llave inválida en ${z[v.origin]??v.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${z[v.origin]??v.origin}`;default:return"Entrada inválida"}}};function XL(){return{localeError:mb()}}var ub=()=>{let U={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function I(v){return U[v]??null}let J={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:"ورودی"},z={nan:"NaN",number:"عدد",array:"آرایه"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`ورودی نامعتبر: میبایست instanceof ${v.expected} میبود، ${L} دریافت شد`;return`ورودی نامعتبر: میبایست ${Z} میبود، ${L} دریافت شد`}case"invalid_value":if(v.values.length===1)return`ورودی نامعتبر: میبایست ${S$(v.values[0])} میبود`;return`گزینه نامعتبر: میبایست یکی از ${v$(v.values,"|")} میبود`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`خیلی بزرگ: ${v.origin??"مقدار"} باید ${Z}${v.maximum.toString()} ${Y.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${v.origin??"مقدار"} باید ${Z}${v.maximum.toString()} باشد`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`خیلی کوچک: ${v.origin} باید ${Z}${v.minimum.toString()} ${Y.unit} باشد`;return`خیلی کوچک: ${v.origin} باید ${Z}${v.minimum.toString()} باشد`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${v.divisor} باشد`;case"unrecognized_keys":return`کلید${v.keys.length>1?"های":""} ناشناس: ${v$(v.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${v.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${v.origin}`;default:return"ورودی نامعتبر"}}};function JL(){return{localeError:ub()}}var hb=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Virheellinen tyyppi: odotettiin instanceof ${v.expected}, oli ${L}`;return`Virheellinen tyyppi: odotettiin ${Z}, oli ${L}`}case"invalid_value":if(v.values.length===1)return`Virheellinen syöte: täytyy olla ${S$(v.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Liian suuri: ${Y.subject} täytyy olla ${Z}${v.maximum.toString()} ${Y.unit}`.trim();return`Liian suuri: arvon täytyy olla ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Liian pieni: ${Y.subject} täytyy olla ${Z}${v.minimum.toString()} ${Y.unit}`.trim();return`Liian pieni: arvon täytyy olla ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${v.divisor} monikerta`;case"unrecognized_keys":return`${v.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${v$(v.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 QL(){return{localeError:hb()}}var pb=()=>{let U={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function I(v){return U[v]??null}let J={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"},z={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(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Entrée invalide : instanceof ${v.expected} attendu, ${L} reçu`;return`Entrée invalide : ${Z} attendu, ${L} reçu`}case"invalid_value":if(v.values.length===1)return`Entrée invalide : ${S$(v.values[0])} attendu`;return`Option invalide : une valeur parmi ${v$(v.values,"|")} attendue`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Trop grand : ${z[v.origin]??"valeur"} doit ${Y.verb} ${Z}${v.maximum.toString()} ${Y.unit??"élément(s)"}`;return`Trop grand : ${z[v.origin]??"valeur"} doit être ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Trop petit : ${z[v.origin]??"valeur"} doit ${Y.verb} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Trop petit : ${z[v.origin]??"valeur"} doit être ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${v.divisor}`;case"unrecognized_keys":return`Clé${v.keys.length>1?"s":""} non reconnue${v.keys.length>1?"s":""} : ${v$(v.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${v.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${v.origin}`;default:return"Entrée invalide"}}};function YL(){return{localeError:pb()}}var lb=()=>{let U={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Entrée invalide : attendu instanceof ${v.expected}, reçu ${L}`;return`Entrée invalide : attendu ${Z}, reçu ${L}`}case"invalid_value":if(v.values.length===1)return`Entrée invalide : attendu ${S$(v.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"≤":"<",Y=I(v.origin);if(Y)return`Trop grand : attendu que ${v.origin??"la valeur"} ait ${Z}${v.maximum.toString()} ${Y.unit}`;return`Trop grand : attendu que ${v.origin??"la valeur"} soit ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?"≥":">",Y=I(v.origin);if(Y)return`Trop petit : attendu que ${v.origin} ait ${Z}${v.minimum.toString()} ${Y.unit}`;return`Trop petit : attendu que ${v.origin} soit ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${v.divisor}`;case"unrecognized_keys":return`Clé${v.keys.length>1?"s":""} non reconnue${v.keys.length>1?"s":""} : ${v$(v.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${v.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${v.origin}`;default:return"Entrée invalide"}}};function GL(){return{localeError:lb()}}var db=()=>{let U={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"}},I={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},J=(B)=>B?U[B]:void 0,z=(B)=>{let g=J(B);if(g)return g.label;return B??U.unknown.label},v=(B)=>`ה${z(B)}`,Z=(B)=>{return(J(B)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},Y=(B)=>{if(!B)return null;return I[B]??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"}},S={nan:"NaN"};return(B)=>{switch(B.code){case"invalid_type":{let g=B.expected,H=S[g??""]??z(g),T=w$(B.input),c=S[T]??U[T]?.label??T;if(/^[A-Z]/.test(B.expected))return`קלט לא תקין: צריך להיות instanceof ${B.expected}, התקבל ${c}`;return`קלט לא תקין: צריך להיות ${H}, התקבל ${c}`}case"invalid_value":{if(B.values.length===1)return`ערך לא תקין: הערך חייב להיות ${S$(B.values[0])}`;let g=B.values.map((c)=>S$(c));if(B.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${g[0]} או ${g[1]}`;let H=g[g.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${g.slice(0,-1).join(", ")} או ${H}`}case"too_big":{let g=Y(B.origin),H=v(B.origin??"value");if(B.origin==="string")return`${g?.longLabel??"ארוך"} מדי: ${H} צריכה להכיל ${B.maximum.toString()} ${g?.unit??""} ${B.inclusive?"או פחות":"לכל היותר"}`.trim();if(B.origin==="number"){let x=B.inclusive?`קטן או שווה ל-${B.maximum}`:`קטן מ-${B.maximum}`;return`גדול מדי: ${H} צריך להיות ${x}`}if(B.origin==="array"||B.origin==="set"){let x=B.origin==="set"?"צריכה":"צריך",u=B.inclusive?`${B.maximum} ${g?.unit??""} או פחות`:`פחות מ-${B.maximum} ${g?.unit??""}`;return`גדול מדי: ${H} ${x} להכיל ${u}`.trim()}let T=B.inclusive?"<=":"<",c=Z(B.origin??"value");if(g?.unit)return`${g.longLabel} מדי: ${H} ${c} ${T}${B.maximum.toString()} ${g.unit}`;return`${g?.longLabel??"גדול"} מדי: ${H} ${c} ${T}${B.maximum.toString()}`}case"too_small":{let g=Y(B.origin),H=v(B.origin??"value");if(B.origin==="string")return`${g?.shortLabel??"קצר"} מדי: ${H} צריכה להכיל ${B.minimum.toString()} ${g?.unit??""} ${B.inclusive?"או יותר":"לפחות"}`.trim();if(B.origin==="number"){let x=B.inclusive?`גדול או שווה ל-${B.minimum}`:`גדול מ-${B.minimum}`;return`קטן מדי: ${H} צריך להיות ${x}`}if(B.origin==="array"||B.origin==="set"){let x=B.origin==="set"?"צריכה":"צריך";if(B.minimum===1&&B.inclusive){let h=B.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${H} ${x} להכיל ${h}`}let u=B.inclusive?`${B.minimum} ${g?.unit??""} או יותר`:`יותר מ-${B.minimum} ${g?.unit??""}`;return`קטן מדי: ${H} ${x} להכיל ${u}`.trim()}let T=B.inclusive?">=":">",c=Z(B.origin??"value");if(g?.unit)return`${g.shortLabel} מדי: ${H} ${c} ${T}${B.minimum.toString()} ${g.unit}`;return`${g?.shortLabel??"קטן"} מדי: ${H} ${c} ${T}${B.minimum.toString()}`}case"invalid_format":{let g=B;if(g.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${g.prefix}"`;if(g.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${g.suffix}"`;if(g.format==="includes")return`המחרוזת חייבת לכלול "${g.includes}"`;if(g.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${g.pattern}`;let H=L[g.format],T=H?.label??g.format,x=(H?.gender??"m")==="f"?"תקינה":"תקין";return`${T} לא ${x}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${B.divisor}`;case"unrecognized_keys":return`מפתח${B.keys.length>1?"ות":""} לא מזוה${B.keys.length>1?"ים":"ה"}: ${v$(B.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${v(B.origin??"array")}`;default:return"קלט לא תקין"}}};function ZL(){return{localeError:db()}}var nb=()=>{let U={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function I(v){return U[v]??null}let J={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"},z={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(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Neispravan unos: očekuje se instanceof ${v.expected}, a primljeno je ${L}`;return`Neispravan unos: očekuje se ${Z}, a primljeno je ${L}`}case"invalid_value":if(v.values.length===1)return`Neispravna vrijednost: očekivano ${S$(v.values[0])}`;return`Neispravna opcija: očekivano jedno od ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin),L=z[v.origin]??v.origin;if(Y)return`Preveliko: očekivano da ${L??"vrijednost"} ima ${Z}${v.maximum.toString()} ${Y.unit??"elemenata"}`;return`Preveliko: očekivano da ${L??"vrijednost"} bude ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin),L=z[v.origin]??v.origin;if(Y)return`Premalo: očekivano da ${L} ima ${Z}${v.minimum.toString()} ${Y.unit}`;return`Premalo: očekivano da ${L} bude ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${v.divisor}`;case"unrecognized_keys":return`Neprepoznat${v.keys.length>1?"i ključevi":" ključ"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${z[v.origin]??v.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${z[v.origin]??v.origin}`;default:return"Neispravan unos"}}};function zL(){return{localeError:nb()}}var ib=()=>{let U={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"szám",array:"tömb"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Érvénytelen bemenet: a várt érték instanceof ${v.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(v.values.length===1)return`Érvénytelen bemenet: a várt érték ${S$(v.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Túl nagy: ${v.origin??"érték"} mérete túl nagy ${Z}${v.maximum.toString()} ${Y.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${v.origin??"érték"} túl nagy: ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Túl kicsi: a bemeneti érték ${v.origin} mérete túl kicsi ${Z}${v.minimum.toString()} ${Y.unit}`;return`Túl kicsi: a bemeneti érték ${v.origin} túl kicsi ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Érvénytelen szám: ${v.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${v.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${v.origin}`;default:return"Érvénytelen bemenet"}}};function WL(){return{localeError:ib()}}function pB(U,I,J){return Math.abs(U)===1?I:J}function m8(U){if(!U)return"";let I=["ա","ե","ը","ի","ո","ու","օ"],J=U[U.length-1];return U+(I.includes(J)?"ն":"ը")}var rb=()=>{let U={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function I(v){return U[v]??null}let J={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:"մուտք"},z={nan:"NaN",number:"թիվ",array:"զանգված"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${v.expected}, ստացվել է ${L}`;return`Սխալ մուտքագրում․ սպասվում էր ${Z}, ստացվել է ${L}`}case"invalid_value":if(v.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${S$(v.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y){let L=Number(v.maximum),S=pB(L,Y.unit.one,Y.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${m8(v.origin??"արժեք")} կունենա ${Z}${v.maximum.toString()} ${S}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${m8(v.origin??"արժեք")} լինի ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y){let L=Number(v.minimum),S=pB(L,Y.unit.one,Y.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${m8(v.origin)} կունենա ${Z}${v.minimum.toString()} ${S}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${m8(v.origin)} լինի ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`Սխալ ${J[Z.format]??v.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${v.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${v.keys.length>1?"ներ":""}. ${v$(v.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${m8(v.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${m8(v.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function KL(){return{localeError:rb()}}var ob=()=>{let U={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Input tidak valid: diharapkan instanceof ${v.expected}, diterima ${L}`;return`Input tidak valid: diharapkan ${Z}, diterima ${L}`}case"invalid_value":if(v.values.length===1)return`Input tidak valid: diharapkan ${S$(v.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Terlalu besar: diharapkan ${v.origin??"value"} memiliki ${Z}${v.maximum.toString()} ${Y.unit??"elemen"}`;return`Terlalu besar: diharapkan ${v.origin??"value"} menjadi ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Terlalu kecil: diharapkan ${v.origin} memiliki ${Z}${v.minimum.toString()} ${Y.unit}`;return`Terlalu kecil: diharapkan ${v.origin} menjadi ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${v.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${v.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${v.origin}`;default:return"Input tidak valid"}}};function OL(){return{localeError:ob()}}var tb=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"númer",array:"fylki"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera instanceof ${v.expected}`;return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera ${Z}`}case"invalid_value":if(v.values.length===1)return`Rangt gildi: gert ráð fyrir ${S$(v.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Of stórt: gert er ráð fyrir að ${v.origin??"gildi"} hafi ${Z}${v.maximum.toString()} ${Y.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${v.origin??"gildi"} sé ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Of lítið: gert er ráð fyrir að ${v.origin} hafi ${Z}${v.minimum.toString()} ${Y.unit}`;return`Of lítið: gert er ráð fyrir að ${v.origin} sé ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${v.divisor}`;case"unrecognized_keys":return`Óþekkt ${v.keys.length>1?"ir lyklar":"ur lykill"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${v.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${v.origin}`;default:return"Rangt gildi"}}};function VL(){return{localeError:tb()}}var sb=()=>{let U={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"numero",array:"vettore"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Input non valido: atteso instanceof ${v.expected}, ricevuto ${L}`;return`Input non valido: atteso ${Z}, ricevuto ${L}`}case"invalid_value":if(v.values.length===1)return`Input non valido: atteso ${S$(v.values[0])}`;return`Opzione non valida: atteso uno tra ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Troppo grande: ${v.origin??"valore"} deve avere ${Z}${v.maximum.toString()} ${Y.unit??"elementi"}`;return`Troppo grande: ${v.origin??"valore"} deve essere ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Troppo piccolo: ${v.origin} deve avere ${Z}${v.minimum.toString()} ${Y.unit}`;return`Troppo piccolo: ${v.origin} deve essere ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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: ${J[Z.format]??v.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${v.divisor}`;case"unrecognized_keys":return`Chiav${v.keys.length>1?"i":"e"} non riconosciut${v.keys.length>1?"e":"a"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${v.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${v.origin}`;default:return"Input non valido"}}};function DL(){return{localeError:sb()}}var ab=()=>{let U={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function I(v){return U[v]??null}let J={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:"入力値"},z={nan:"NaN",number:"数値",array:"配列"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`無効な入力: instanceof ${v.expected}が期待されましたが、${L}が入力されました`;return`無効な入力: ${Z}が期待されましたが、${L}が入力されました`}case"invalid_value":if(v.values.length===1)return`無効な入力: ${S$(v.values[0])}が期待されました`;return`無効な選択: ${v$(v.values,"、")}のいずれかである必要があります`;case"too_big":{let Z=v.inclusive?"以下である":"より小さい",Y=I(v.origin);if(Y)return`大きすぎる値: ${v.origin??"値"}は${v.maximum.toString()}${Y.unit??"要素"}${Z}必要があります`;return`大きすぎる値: ${v.origin??"値"}は${v.maximum.toString()}${Z}必要があります`}case"too_small":{let Z=v.inclusive?"以上である":"より大きい",Y=I(v.origin);if(Y)return`小さすぎる値: ${v.origin}は${v.minimum.toString()}${Y.unit}${Z}必要があります`;return`小さすぎる値: ${v.origin}は${v.minimum.toString()}${Z}必要があります`}case"invalid_format":{let Z=v;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`無効な${J[Z.format]??v.format}`}case"not_multiple_of":return`無効な数値: ${v.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${v.keys.length>1?"群":""}: ${v$(v.keys,"、")}`;case"invalid_key":return`${v.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${v.origin}内の無効な値`;default:return"無効な入力"}}};function FL(){return{localeError:ab()}}var eb=()=>{let U={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function I(v){return U[v]??null}let J={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:"შეყვანა"},z={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${v.expected}, მიღებული ${L}`;return`არასწორი შეყვანა: მოსალოდნელი ${Z}, მიღებული ${L}`}case"invalid_value":if(v.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${S$(v.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${v$(v.values,"|")}-დან`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`ზედმეტად დიდი: მოსალოდნელი ${v.origin??"მნიშვნელობა"} ${Y.verb} ${Z}${v.maximum.toString()} ${Y.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${v.origin??"მნიშვნელობა"} იყოს ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`ზედმეტად პატარა: მოსალოდნელი ${v.origin} ${Y.verb} ${Z}${v.minimum.toString()} ${Y.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${v.origin} იყოს ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`არასწორი ${J[Z.format]??v.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${v.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${v.keys.length>1?"ები":"ი"}: ${v$(v.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${v.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${v.origin}-ში`;default:return"არასწორი შეყვანა"}}};function HL(){return{localeError:eb()}}var $m=()=>{let U={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function I(v){return U[v]??null}let J={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:"ទិន្នន័យបញ្ចូល"},z={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${v.expected} ប៉ុន្តែទទួលបាន ${L}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Z} ប៉ុន្តែទទួលបាន ${L}`}case"invalid_value":if(v.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${S$(v.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`ធំពេក៖ ត្រូវការ ${v.origin??"តម្លៃ"} ${Z} ${v.maximum.toString()} ${Y.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${v.origin??"តម្លៃ"} ${Z} ${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`តូចពេក៖ ត្រូវការ ${v.origin} ${Z} ${v.minimum.toString()} ${Y.unit}`;return`តូចពេក៖ ត្រូវការ ${v.origin} ${Z} ${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`មិនត្រឹមត្រូវ៖ ${J[Z.format]??v.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${v.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${v$(v.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${v.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${v.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function $O(){return{localeError:$m()}}function _L(){return $O()}var jm=()=>{let U={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function I(v){return U[v]??null}let J={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:"입력"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`잘못된 입력: 예상 타입은 instanceof ${v.expected}, 받은 타입은 ${L}입니다`;return`잘못된 입력: 예상 타입은 ${Z}, 받은 타입은 ${L}입니다`}case"invalid_value":if(v.values.length===1)return`잘못된 입력: 값은 ${S$(v.values[0])} 이어야 합니다`;return`잘못된 옵션: ${v$(v.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let Z=v.inclusive?"이하":"미만",Y=Z==="미만"?"이어야 합니다":"여야 합니다",L=I(v.origin),S=L?.unit??"요소";if(L)return`${v.origin??"값"}이 너무 큽니다: ${v.maximum.toString()}${S} ${Z}${Y}`;return`${v.origin??"값"}이 너무 큽니다: ${v.maximum.toString()} ${Z}${Y}`}case"too_small":{let Z=v.inclusive?"이상":"초과",Y=Z==="이상"?"이어야 합니다":"여야 합니다",L=I(v.origin),S=L?.unit??"요소";if(L)return`${v.origin??"값"}이 너무 작습니다: ${v.minimum.toString()}${S} ${Z}${Y}`;return`${v.origin??"값"}이 너무 작습니다: ${v.minimum.toString()} ${Z}${Y}`}case"invalid_format":{let Z=v;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`잘못된 ${J[Z.format]??v.format}`}case"not_multiple_of":return`잘못된 숫자: ${v.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${v$(v.keys,", ")}`;case"invalid_key":return`잘못된 키: ${v.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${v.origin}`;default:return"잘못된 입력"}}};function ML(){return{localeError:jm()}}var jO=(U)=>{return U.charAt(0).toUpperCase()+U.slice(1)};function lB(U){let I=Math.abs(U),J=I%10,z=I%100;if(z>=11&&z<=19||J===0)return"many";if(J===1)return"one";return"few"}var Um=()=>{let U={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 I(v,Z,Y,L){let S=U[v]??null;if(S===null)return S;return{unit:S.unit[Z],verb:S.verb[L][Y?"inclusive":"notInclusive"]}}let J={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"},z={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(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Gautas tipas ${L}, o tikėtasi - instanceof ${v.expected}`;return`Gautas tipas ${L}, o tikėtasi - ${Z}`}case"invalid_value":if(v.values.length===1)return`Privalo būti ${S$(v.values[0])}`;return`Privalo būti vienas iš ${v$(v.values,"|")} pasirinkimų`;case"too_big":{let Z=z[v.origin]??v.origin,Y=I(v.origin,lB(Number(v.maximum)),v.inclusive??!1,"smaller");if(Y?.verb)return`${jO(Z??v.origin??"reikšmė")} ${Y.verb} ${v.maximum.toString()} ${Y.unit??"elementų"}`;let L=v.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${jO(Z??v.origin??"reikšmė")} turi būti ${L} ${v.maximum.toString()} ${Y?.unit}`}case"too_small":{let Z=z[v.origin]??v.origin,Y=I(v.origin,lB(Number(v.minimum)),v.inclusive??!1,"bigger");if(Y?.verb)return`${jO(Z??v.origin??"reikšmė")} ${Y.verb} ${v.minimum.toString()} ${Y.unit??"elementų"}`;let L=v.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${jO(Z??v.origin??"reikšmė")} turi būti ${L} ${v.minimum.toString()} ${Y?.unit}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Skaičius privalo būti ${v.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${v.keys.length>1?"i":"as"} rakt${v.keys.length>1?"ai":"as"}: ${v$(v.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let Z=z[v.origin]??v.origin;return`${jO(Z??v.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function LL(){return{localeError:Um()}}var vm=()=>{let U={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function I(v){return U[v]??null}let J={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:"внес"},z={nan:"NaN",number:"број",array:"низа"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Грешен внес: се очекува instanceof ${v.expected}, примено ${L}`;return`Грешен внес: се очекува ${Z}, примено ${L}`}case"invalid_value":if(v.values.length===1)return`Invalid input: expected ${S$(v.values[0])}`;return`Грешана опција: се очекува една ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Премногу голем: се очекува ${v.origin??"вредноста"} да има ${Z}${v.maximum.toString()} ${Y.unit??"елементи"}`;return`Премногу голем: се очекува ${v.origin??"вредноста"} да биде ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Премногу мал: се очекува ${v.origin} да има ${Z}${v.minimum.toString()} ${Y.unit}`;return`Премногу мал: се очекува ${v.origin} да биде ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${v.divisor}`;case"unrecognized_keys":return`${v.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${v.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${v.origin}`;default:return"Грешен внес"}}};function AL(){return{localeError:vm()}}var Im=()=>{let U={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"nombor"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Input tidak sah: dijangka instanceof ${v.expected}, diterima ${L}`;return`Input tidak sah: dijangka ${Z}, diterima ${L}`}case"invalid_value":if(v.values.length===1)return`Input tidak sah: dijangka ${S$(v.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Terlalu besar: dijangka ${v.origin??"nilai"} ${Y.verb} ${Z}${v.maximum.toString()} ${Y.unit??"elemen"}`;return`Terlalu besar: dijangka ${v.origin??"nilai"} adalah ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Terlalu kecil: dijangka ${v.origin} ${Y.verb} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Terlalu kecil: dijangka ${v.origin} adalah ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${v.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${v$(v.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${v.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${v.origin}`;default:return"Input tidak sah"}}};function qL(){return{localeError:Im()}}var Xm=()=>{let U={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"getal"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Ongeldige invoer: verwacht instanceof ${v.expected}, ontving ${L}`;return`Ongeldige invoer: verwacht ${Z}, ontving ${L}`}case"invalid_value":if(v.values.length===1)return`Ongeldige invoer: verwacht ${S$(v.values[0])}`;return`Ongeldige optie: verwacht één van ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin),L=v.origin==="date"?"laat":v.origin==="string"?"lang":"groot";if(Y)return`Te ${L}: verwacht dat ${v.origin??"waarde"} ${Z}${v.maximum.toString()} ${Y.unit??"elementen"} ${Y.verb}`;return`Te ${L}: verwacht dat ${v.origin??"waarde"} ${Z}${v.maximum.toString()} is`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin),L=v.origin==="date"?"vroeg":v.origin==="string"?"kort":"klein";if(Y)return`Te ${L}: verwacht dat ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit} ${Y.verb}`;return`Te ${L}: verwacht dat ${v.origin} ${Z}${v.minimum.toString()} is`}case"invalid_format":{let Z=v;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: ${J[Z.format]??v.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${v.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${v.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${v.origin}`;default:return"Ongeldige invoer"}}};function PL(){return{localeError:Xm()}}var Jm=()=>{let U={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"tall",array:"liste"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Ugyldig input: forventet instanceof ${v.expected}, fikk ${L}`;return`Ugyldig input: forventet ${Z}, fikk ${L}`}case"invalid_value":if(v.values.length===1)return`Ugyldig verdi: forventet ${S$(v.values[0])}`;return`Ugyldig valg: forventet en av ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`For stor(t): forventet ${v.origin??"value"} til å ha ${Z}${v.maximum.toString()} ${Y.unit??"elementer"}`;return`For stor(t): forventet ${v.origin??"value"} til å ha ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`For lite(n): forventet ${v.origin} til å ha ${Z}${v.minimum.toString()} ${Y.unit}`;return`For lite(n): forventet ${v.origin} til å ha ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${v.divisor}`;case"unrecognized_keys":return`${v.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${v.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${v.origin}`;default:return"Ugyldig input"}}};function CL(){return{localeError:Jm()}}var Qm=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Fâsit giren: umulan instanceof ${v.expected}, alınan ${L}`;return`Fâsit giren: umulan ${Z}, alınan ${L}`}case"invalid_value":if(v.values.length===1)return`Fâsit giren: umulan ${S$(v.values[0])}`;return`Fâsit tercih: mûteberler ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Fazla büyük: ${v.origin??"value"}, ${Z}${v.maximum.toString()} ${Y.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${v.origin??"value"}, ${Z}${v.maximum.toString()} olmalıydı.`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Fazla küçük: ${v.origin}, ${Z}${v.minimum.toString()} ${Y.unit} sahip olmalıydı.`;return`Fazla küçük: ${v.origin}, ${Z}${v.minimum.toString()} olmalıydı.`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Fâsit sayı: ${v.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`${v.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${v.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function RL(){return{localeError:Qm()}}var Ym=()=>{let U={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function I(v){return U[v]??null}let J={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:"ورودي"},z={nan:"NaN",number:"عدد",array:"ارې"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`ناسم ورودي: باید instanceof ${v.expected} وای, مګر ${L} ترلاسه شو`;return`ناسم ورودي: باید ${Z} وای, مګر ${L} ترلاسه شو`}case"invalid_value":if(v.values.length===1)return`ناسم ورودي: باید ${S$(v.values[0])} وای`;return`ناسم انتخاب: باید یو له ${v$(v.values,"|")} څخه وای`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`ډیر لوی: ${v.origin??"ارزښت"} باید ${Z}${v.maximum.toString()} ${Y.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${v.origin??"ارزښت"} باید ${Z}${v.maximum.toString()} وي`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`ډیر کوچنی: ${v.origin} باید ${Z}${v.minimum.toString()} ${Y.unit} ولري`;return`ډیر کوچنی: ${v.origin} باید ${Z}${v.minimum.toString()} وي`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${v.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${v.keys.length>1?"کلیډونه":"کلیډ"}: ${v$(v.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${v.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${v.origin} کې`;default:return"ناسمه ورودي"}}};function EL(){return{localeError:Ym()}}var Gm=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"liczba",array:"tablica"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${v.expected}, otrzymano ${L}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${Z}, otrzymano ${L}`}case"invalid_value":if(v.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${S$(v.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Za duża wartość: oczekiwano, że ${v.origin??"wartość"} będzie mieć ${Z}${v.maximum.toString()} ${Y.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${v.origin??"wartość"} będzie wynosić ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Za mała wartość: oczekiwano, że ${v.origin??"wartość"} będzie mieć ${Z}${v.minimum.toString()} ${Y.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${v.origin??"wartość"} będzie wynosić ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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) ${J[Z.format]??v.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${v.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${v.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${v.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function TL(){return{localeError:Gm()}}var Zm=()=>{let U={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"número",null:"nulo"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Tipo inválido: esperado instanceof ${v.expected}, recebido ${L}`;return`Tipo inválido: esperado ${Z}, recebido ${L}`}case"invalid_value":if(v.values.length===1)return`Entrada inválida: esperado ${S$(v.values[0])}`;return`Opção inválida: esperada uma das ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Muito grande: esperado que ${v.origin??"valor"} tivesse ${Z}${v.maximum.toString()} ${Y.unit??"elementos"}`;return`Muito grande: esperado que ${v.origin??"valor"} fosse ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Muito pequeno: esperado que ${v.origin} tivesse ${Z}${v.minimum.toString()} ${Y.unit}`;return`Muito pequeno: esperado que ${v.origin} fosse ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${v.divisor}`;case"unrecognized_keys":return`Chave${v.keys.length>1?"s":""} desconhecida${v.keys.length>1?"s":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Chave inválida em ${v.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${v.origin}`;default:return"Campo inválido"}}};function BL(){return{localeError:Zm()}}var zm=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={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(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;return`Intrare invalidă: așteptat ${Z}, primit ${L}`}case"invalid_value":if(v.values.length===1)return`Intrare invalidă: așteptat ${S$(v.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Prea mare: așteptat ca ${v.origin??"valoarea"} ${Y.verb} ${Z}${v.maximum.toString()} ${Y.unit??"elemente"}`;return`Prea mare: așteptat ca ${v.origin??"valoarea"} să fie ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Prea mic: așteptat ca ${v.origin} ${Y.verb} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Prea mic: așteptat ca ${v.origin} să fie ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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: ${J[Z.format]??v.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${v.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${v$(v.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${v.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${v.origin}`;default:return"Intrare invalidă"}}};function gL(){return{localeError:zm()}}function dB(U,I,J,z){let v=Math.abs(U),Z=v%10,Y=v%100;if(Y>=11&&Y<=19)return z;if(Z===1)return I;if(Z>=2&&Z<=4)return J;return z}var Wm=()=>{let U={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 I(v){return U[v]??null}let J={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:"ввод"},z={nan:"NaN",number:"число",array:"массив"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Неверный ввод: ожидалось instanceof ${v.expected}, получено ${L}`;return`Неверный ввод: ожидалось ${Z}, получено ${L}`}case"invalid_value":if(v.values.length===1)return`Неверный ввод: ожидалось ${S$(v.values[0])}`;return`Неверный вариант: ожидалось одно из ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y){let L=Number(v.maximum),S=dB(L,Y.unit.one,Y.unit.few,Y.unit.many);return`Слишком большое значение: ожидалось, что ${v.origin??"значение"} будет иметь ${Z}${v.maximum.toString()} ${S}`}return`Слишком большое значение: ожидалось, что ${v.origin??"значение"} будет ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y){let L=Number(v.minimum),S=dB(L,Y.unit.one,Y.unit.few,Y.unit.many);return`Слишком маленькое значение: ожидалось, что ${v.origin} будет иметь ${Z}${v.minimum.toString()} ${S}`}return`Слишком маленькое значение: ожидалось, что ${v.origin} будет ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`Неверный ${J[Z.format]??v.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${v.divisor}`;case"unrecognized_keys":return`Нераспознанн${v.keys.length>1?"ые":"ый"} ключ${v.keys.length>1?"и":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${v.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${v.origin}`;default:return"Неверные входные данные"}}};function NL(){return{localeError:Wm()}}var Km=()=>{let U={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"število",array:"tabela"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Neveljaven vnos: pričakovano instanceof ${v.expected}, prejeto ${L}`;return`Neveljaven vnos: pričakovano ${Z}, prejeto ${L}`}case"invalid_value":if(v.values.length===1)return`Neveljaven vnos: pričakovano ${S$(v.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Preveliko: pričakovano, da bo ${v.origin??"vrednost"} imelo ${Z}${v.maximum.toString()} ${Y.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${v.origin??"vrednost"} ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Premajhno: pričakovano, da bo ${v.origin} imelo ${Z}${v.minimum.toString()} ${Y.unit}`;return`Premajhno: pričakovano, da bo ${v.origin} ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${v.divisor}`;case"unrecognized_keys":return`Neprepoznan${v.keys.length>1?"i ključi":" ključ"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${v.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${v.origin}`;default:return"Neveljaven vnos"}}};function SL(){return{localeError:Km()}}var Om=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"antal",array:"lista"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Ogiltig inmatning: förväntat instanceof ${v.expected}, fick ${L}`;return`Ogiltig inmatning: förväntat ${Z}, fick ${L}`}case"invalid_value":if(v.values.length===1)return`Ogiltig inmatning: förväntat ${S$(v.values[0])}`;return`Ogiltigt val: förväntade en av ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`För stor(t): förväntade ${v.origin??"värdet"} att ha ${Z}${v.maximum.toString()} ${Y.unit??"element"}`;return`För stor(t): förväntat ${v.origin??"värdet"} att ha ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`För lite(t): förväntade ${v.origin??"värdet"} att ha ${Z}${v.minimum.toString()} ${Y.unit}`;return`För lite(t): förväntade ${v.origin??"värdet"} att ha ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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) ${J[Z.format]??v.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${v.divisor}`;case"unrecognized_keys":return`${v.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${v$(v.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${v.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${v.origin??"värdet"}`;default:return"Ogiltig input"}}};function wL(){return{localeError:Om()}}var Vm=()=>{let U={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${v.expected}, பெறப்பட்டது ${L}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Z}, பெறப்பட்டது ${L}`}case"invalid_value":if(v.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${S$(v.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${v$(v.values,"|")} இல் ஒன்று`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${v.origin??"மதிப்பு"} ${Z}${v.maximum.toString()} ${Y.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${v.origin??"மதிப்பு"} ${Z}${v.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${v.origin} ${Z}${v.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let Z=v;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`தவறான ${J[Z.format]??v.format}`}case"not_multiple_of":return`தவறான எண்: ${v.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${v.keys.length>1?"கள்":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`${v.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${v.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function kL(){return{localeError:Vm()}}var Dm=()=>{let U={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function I(v){return U[v]??null}let J={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:"ข้อมูลที่ป้อน"},z={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${v.expected} แต่ได้รับ ${L}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${Z} แต่ได้รับ ${L}`}case"invalid_value":if(v.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${S$(v.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"ไม่เกิน":"น้อยกว่า",Y=I(v.origin);if(Y)return`เกินกำหนด: ${v.origin??"ค่า"} ควรมี${Z} ${v.maximum.toString()} ${Y.unit??"รายการ"}`;return`เกินกำหนด: ${v.origin??"ค่า"} ควรมี${Z} ${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?"อย่างน้อย":"มากกว่า",Y=I(v.origin);if(Y)return`น้อยกว่ากำหนด: ${v.origin} ควรมี${Z} ${v.minimum.toString()} ${Y.unit}`;return`น้อยกว่ากำหนด: ${v.origin} ควรมี${Z} ${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`รูปแบบไม่ถูกต้อง: ${J[Z.format]??v.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${v.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${v$(v.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${v.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${v.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function cL(){return{localeError:Dm()}}var Fm=()=>{let U={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function I(v){return U[v]??null}let J={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"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Geçersiz değer: beklenen instanceof ${v.expected}, alınan ${L}`;return`Geçersiz değer: beklenen ${Z}, alınan ${L}`}case"invalid_value":if(v.values.length===1)return`Geçersiz değer: beklenen ${S$(v.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Çok büyük: beklenen ${v.origin??"değer"} ${Z}${v.maximum.toString()} ${Y.unit??"öğe"}`;return`Çok büyük: beklenen ${v.origin??"değer"} ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Çok küçük: beklenen ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Çok küçük: beklenen ${v.origin} ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Geçersiz sayı: ${v.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${v.keys.length>1?"lar":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`${v.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${v.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function xL(){return{localeError:Fm()}}var Hm=()=>{let U={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function I(v){return U[v]??null}let J={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:"вхідні дані"},z={nan:"NaN",number:"число",array:"масив"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Неправильні вхідні дані: очікується instanceof ${v.expected}, отримано ${L}`;return`Неправильні вхідні дані: очікується ${Z}, отримано ${L}`}case"invalid_value":if(v.values.length===1)return`Неправильні вхідні дані: очікується ${S$(v.values[0])}`;return`Неправильна опція: очікується одне з ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Занадто велике: очікується, що ${v.origin??"значення"} ${Y.verb} ${Z}${v.maximum.toString()} ${Y.unit??"елементів"}`;return`Занадто велике: очікується, що ${v.origin??"значення"} буде ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Занадто мале: очікується, що ${v.origin} ${Y.verb} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Занадто мале: очікується, що ${v.origin} буде ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`Неправильний ${J[Z.format]??v.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${v.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${v.keys.length>1?"і":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${v.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${v.origin}`;default:return"Неправильні вхідні дані"}}};function UO(){return{localeError:Hm()}}function yL(){return UO()}var _m=()=>{let U={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function I(v){return U[v]??null}let J={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:"ان پٹ"},z={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`غلط ان پٹ: instanceof ${v.expected} متوقع تھا، ${L} موصول ہوا`;return`غلط ان پٹ: ${Z} متوقع تھا، ${L} موصول ہوا`}case"invalid_value":if(v.values.length===1)return`غلط ان پٹ: ${S$(v.values[0])} متوقع تھا`;return`غلط آپشن: ${v$(v.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`بہت بڑا: ${v.origin??"ویلیو"} کے ${Z}${v.maximum.toString()} ${Y.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${v.origin??"ویلیو"} کا ${Z}${v.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`بہت چھوٹا: ${v.origin} کے ${Z}${v.minimum.toString()} ${Y.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${v.origin} کا ${Z}${v.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let Z=v;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`غلط ${J[Z.format]??v.format}`}case"not_multiple_of":return`غلط نمبر: ${v.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${v.keys.length>1?"ز":""}: ${v$(v.keys,"، ")}`;case"invalid_key":return`${v.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${v.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function fL(){return{localeError:_m()}}var Mm=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"raqam",array:"massiv"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${v.expected}, qabul qilingan ${L}`;return`Noto‘g‘ri kirish: kutilgan ${Z}, qabul qilingan ${L}`}case"invalid_value":if(v.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${S$(v.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Juda katta: kutilgan ${v.origin??"qiymat"} ${Z}${v.maximum.toString()} ${Y.unit} ${Y.verb}`;return`Juda katta: kutilgan ${v.origin??"qiymat"} ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Juda kichik: kutilgan ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit} ${Y.verb}`;return`Juda kichik: kutilgan ${v.origin} ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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 ${J[Z.format]??v.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${v.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${v.keys.length>1?"lar":""}: ${v$(v.keys,", ")}`;case"invalid_key":return`${v.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${v.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function bL(){return{localeError:Mm()}}var Lm=()=>{let U={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 I(v){return U[v]??null}let J={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"},z={nan:"NaN",number:"số",array:"mảng"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${v.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(v.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${S$(v.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Quá lớn: mong đợi ${v.origin??"giá trị"} ${Y.verb} ${Z}${v.maximum.toString()} ${Y.unit??"phần tử"}`;return`Quá lớn: mong đợi ${v.origin??"giá trị"} ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Quá nhỏ: mong đợi ${v.origin} ${Y.verb} ${Z}${v.minimum.toString()} ${Y.unit}`;return`Quá nhỏ: mong đợi ${v.origin} ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`${J[Z.format]??v.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 ${v.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${v$(v.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${v.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 ${v.origin}`;default:return"Đầu vào không hợp lệ"}}};function mL(){return{localeError:Lm()}}var Am=()=>{let U={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function I(v){return U[v]??null}let J={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:"输入"},z={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`无效输入:期望 instanceof ${v.expected},实际接收 ${L}`;return`无效输入:期望 ${Z},实际接收 ${L}`}case"invalid_value":if(v.values.length===1)return`无效输入:期望 ${S$(v.values[0])}`;return`无效选项:期望以下之一 ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`数值过大:期望 ${v.origin??"值"} ${Z}${v.maximum.toString()} ${Y.unit??"个元素"}`;return`数值过大:期望 ${v.origin??"值"} ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`数值过小:期望 ${v.origin} ${Z}${v.minimum.toString()} ${Y.unit}`;return`数值过小:期望 ${v.origin} ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`无效${J[Z.format]??v.format}`}case"not_multiple_of":return`无效数字:必须是 ${v.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${v$(v.keys,", ")}`;case"invalid_key":return`${v.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${v.origin} 中包含无效值(value)`;default:return"无效输入"}}};function uL(){return{localeError:Am()}}var qm=()=>{let U={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function I(v){return U[v]??null}let J={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:"輸入"},z={nan:"NaN"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`無效的輸入值:預期為 instanceof ${v.expected},但收到 ${L}`;return`無效的輸入值:預期為 ${Z},但收到 ${L}`}case"invalid_value":if(v.values.length===1)return`無效的輸入值:預期為 ${S$(v.values[0])}`;return`無效的選項:預期為以下其中之一 ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`數值過大:預期 ${v.origin??"值"} 應為 ${Z}${v.maximum.toString()} ${Y.unit??"個元素"}`;return`數值過大:預期 ${v.origin??"值"} 應為 ${Z}${v.maximum.toString()}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`數值過小:預期 ${v.origin} 應為 ${Z}${v.minimum.toString()} ${Y.unit}`;return`數值過小:預期 ${v.origin} 應為 ${Z}${v.minimum.toString()}`}case"invalid_format":{let Z=v;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`無效的 ${J[Z.format]??v.format}`}case"not_multiple_of":return`無效的數字:必須為 ${v.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${v.keys.length>1?"們":""}:${v$(v.keys,"、")}`;case"invalid_key":return`${v.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${v.origin} 中有無效的值`;default:return"無效的輸入值"}}};function hL(){return{localeError:qm()}}var Pm=()=>{let U={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function I(v){return U[v]??null}let J={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é"},z={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(v)=>{switch(v.code){case"invalid_type":{let Z=z[v.expected]??v.expected,Y=w$(v.input),L=z[Y]??Y;if(/^[A-Z]/.test(v.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${v.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(v.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${S$(v.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${v$(v.values,"|")}`;case"too_big":{let Z=v.inclusive?"<=":"<",Y=I(v.origin);if(Y)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${v.origin??"iye"} ${Y.verb} ${Z}${v.maximum} ${Y.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${Z}${v.maximum}`}case"too_small":{let Z=v.inclusive?">=":">",Y=I(v.origin);if(Y)return`Kéré ju: a ní láti jẹ́ pé ${v.origin} ${Y.verb} ${Z}${v.minimum} ${Y.unit}`;return`Kéré ju: a ní láti jẹ́ ${Z}${v.minimum}`}case"invalid_format":{let Z=v;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: ${J[Z.format]??v.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${v.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${v$(v.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${v.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${v.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function pL(){return{localeError:Pm()}}var nB,lL=Symbol("ZodOutput"),dL=Symbol("ZodInput");class nL{constructor(){this._map=new WeakMap,this._idmap=new Map}add(U,...I){let J=I[0];if(this._map.set(U,J),J&&typeof J==="object"&&"id"in J)this._idmap.set(J.id,U);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(U){let I=this._map.get(U);if(I&&typeof I==="object"&&"id"in I)this._idmap.delete(I.id);return this._map.delete(U),this}get(U){let I=U._zod.parent;if(I){let J={...this.get(I)??{}};delete J.id;let z={...J,...this._map.get(U)};return Object.keys(z).length?z:void 0}return this._map.get(U)}has(U){return this._map.has(U)}}function x9(){return new nL}(nB=globalThis).__zod_globalRegistry??(nB.__zod_globalRegistry=x9());var e6=globalThis.__zod_globalRegistry;function iL(U,I){return new U({type:"string",...y$(I)})}function rL(U,I){return new U({type:"string",coerce:!0,...y$(I)})}function y9(U,I){return new U({type:"string",format:"email",check:"string_format",abort:!1,...y$(I)})}function IO(U,I){return new U({type:"string",format:"guid",check:"string_format",abort:!1,...y$(I)})}function f9(U,I){return new U({type:"string",format:"uuid",check:"string_format",abort:!1,...y$(I)})}function b9(U,I){return new U({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...y$(I)})}function m9(U,I){return new U({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...y$(I)})}function u9(U,I){return new U({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...y$(I)})}function XO(U,I){return new U({type:"string",format:"url",check:"string_format",abort:!1,...y$(I)})}function h9(U,I){return new U({type:"string",format:"emoji",check:"string_format",abort:!1,...y$(I)})}function p9(U,I){return new U({type:"string",format:"nanoid",check:"string_format",abort:!1,...y$(I)})}function l9(U,I){return new U({type:"string",format:"cuid",check:"string_format",abort:!1,...y$(I)})}function d9(U,I){return new U({type:"string",format:"cuid2",check:"string_format",abort:!1,...y$(I)})}function n9(U,I){return new U({type:"string",format:"ulid",check:"string_format",abort:!1,...y$(I)})}function i9(U,I){return new U({type:"string",format:"xid",check:"string_format",abort:!1,...y$(I)})}function r9(U,I){return new U({type:"string",format:"ksuid",check:"string_format",abort:!1,...y$(I)})}function o9(U,I){return new U({type:"string",format:"ipv4",check:"string_format",abort:!1,...y$(I)})}function t9(U,I){return new U({type:"string",format:"ipv6",check:"string_format",abort:!1,...y$(I)})}function oL(U,I){return new U({type:"string",format:"mac",check:"string_format",abort:!1,...y$(I)})}function s9(U,I){return new U({type:"string",format:"cidrv4",check:"string_format",abort:!1,...y$(I)})}function a9(U,I){return new U({type:"string",format:"cidrv6",check:"string_format",abort:!1,...y$(I)})}function e9(U,I){return new U({type:"string",format:"base64",check:"string_format",abort:!1,...y$(I)})}function $D(U,I){return new U({type:"string",format:"base64url",check:"string_format",abort:!1,...y$(I)})}function jD(U,I){return new U({type:"string",format:"e164",check:"string_format",abort:!1,...y$(I)})}function UD(U,I){return new U({type:"string",format:"jwt",check:"string_format",abort:!1,...y$(I)})}var tL={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function sL(U,I){return new U({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...y$(I)})}function aL(U,I){return new U({type:"string",format:"date",check:"string_format",...y$(I)})}function eL(U,I){return new U({type:"string",format:"time",check:"string_format",precision:null,...y$(I)})}function $7(U,I){return new U({type:"string",format:"duration",check:"string_format",...y$(I)})}function j7(U,I){return new U({type:"number",checks:[],...y$(I)})}function U7(U,I){return new U({type:"number",coerce:!0,checks:[],...y$(I)})}function v7(U,I){return new U({type:"number",check:"number_format",abort:!1,format:"safeint",...y$(I)})}function I7(U,I){return new U({type:"number",check:"number_format",abort:!1,format:"float32",...y$(I)})}function X7(U,I){return new U({type:"number",check:"number_format",abort:!1,format:"float64",...y$(I)})}function J7(U,I){return new U({type:"number",check:"number_format",abort:!1,format:"int32",...y$(I)})}function Q7(U,I){return new U({type:"number",check:"number_format",abort:!1,format:"uint32",...y$(I)})}function Y7(U,I){return new U({type:"boolean",...y$(I)})}function G7(U,I){return new U({type:"boolean",coerce:!0,...y$(I)})}function Z7(U,I){return new U({type:"bigint",...y$(I)})}function z7(U,I){return new U({type:"bigint",coerce:!0,...y$(I)})}function W7(U,I){return new U({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...y$(I)})}function K7(U,I){return new U({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...y$(I)})}function O7(U,I){return new U({type:"symbol",...y$(I)})}function V7(U,I){return new U({type:"undefined",...y$(I)})}function D7(U,I){return new U({type:"null",...y$(I)})}function F7(U){return new U({type:"any"})}function H7(U){return new U({type:"unknown"})}function _7(U,I){return new U({type:"never",...y$(I)})}function M7(U,I){return new U({type:"void",...y$(I)})}function L7(U,I){return new U({type:"date",...y$(I)})}function A7(U,I){return new U({type:"date",coerce:!0,...y$(I)})}function q7(U,I){return new U({type:"nan",...y$(I)})}function tJ(U,I){return new P9({check:"less_than",...y$(I),value:U,inclusive:!1})}function JI(U,I){return new P9({check:"less_than",...y$(I),value:U,inclusive:!0})}function sJ(U,I){return new C9({check:"greater_than",...y$(I),value:U,inclusive:!1})}function n1(U,I){return new C9({check:"greater_than",...y$(I),value:U,inclusive:!0})}function vD(U){return sJ(0,U)}function ID(U){return tJ(0,U)}function XD(U){return JI(0,U)}function JD(U){return n1(0,U)}function TG(U,I){return new M_({check:"multiple_of",...y$(I),value:U})}function BG(U,I){return new q_({check:"max_size",...y$(I),maximum:U})}function aJ(U,I){return new P_({check:"min_size",...y$(I),minimum:U})}function $z(U,I){return new C_({check:"size_equals",...y$(I),size:U})}function jz(U,I){return new R_({check:"max_length",...y$(I),maximum:U})}function IY(U,I){return new E_({check:"min_length",...y$(I),minimum:U})}function Uz(U,I){return new T_({check:"length_equals",...y$(I),length:U})}function u8(U,I){return new B_({check:"string_format",format:"regex",...y$(I),pattern:U})}function h8(U){return new g_({check:"string_format",format:"lowercase",...y$(U)})}function p8(U){return new N_({check:"string_format",format:"uppercase",...y$(U)})}function l8(U,I){return new S_({check:"string_format",format:"includes",...y$(I),includes:U})}function d8(U,I){return new w_({check:"string_format",format:"starts_with",...y$(I),prefix:U})}function n8(U,I){return new k_({check:"string_format",format:"ends_with",...y$(I),suffix:U})}function QD(U,I,J){return new c_({check:"property",property:U,schema:I,...y$(J)})}function i8(U,I){return new x_({check:"mime_type",mime:U,...y$(I)})}function lX(U){return new y_({check:"overwrite",tx:U})}function r8(U){return lX((I)=>I.normalize(U))}function o8(){return lX((U)=>U.trim())}function t8(){return lX((U)=>U.toLowerCase())}function s8(){return lX((U)=>U.toUpperCase())}function a8(){return lX((U)=>w5(U))}function P7(U,I,J){return new U({type:"array",element:I,...y$(J)})}function Rm(U,I,J){return new U({type:"union",options:I,...y$(J)})}function Em(U,I,J){return new U({type:"union",options:I,inclusive:!1,...y$(J)})}function Tm(U,I,J,z){return new U({type:"union",options:J,discriminator:I,...y$(z)})}function Bm(U,I,J){return new U({type:"intersection",left:I,right:J})}function gm(U,I,J,z){let v=J instanceof Dj;return new U({type:"tuple",items:I,rest:v?J:null,...y$(v?z:J)})}function Nm(U,I,J,z){return new U({type:"record",keyType:I,valueType:J,...y$(z)})}function Sm(U,I,J,z){return new U({type:"map",keyType:I,valueType:J,...y$(z)})}function wm(U,I,J){return new U({type:"set",valueType:I,...y$(J)})}function km(U,I,J){let z=Array.isArray(I)?Object.fromEntries(I.map((v)=>[v,v])):I;return new U({type:"enum",entries:z,...y$(J)})}function cm(U,I,J){return new U({type:"enum",entries:I,...y$(J)})}function xm(U,I,J){return new U({type:"literal",values:Array.isArray(I)?I:[I],...y$(J)})}function C7(U,I){return new U({type:"file",...y$(I)})}function ym(U,I){return new U({type:"transform",transform:I})}function fm(U,I){return new U({type:"optional",innerType:I})}function bm(U,I){return new U({type:"nullable",innerType:I})}function mm(U,I,J){return new U({type:"default",innerType:I,get defaultValue(){return typeof J==="function"?J():c5(J)}})}function um(U,I,J){return new U({type:"nonoptional",innerType:I,...y$(J)})}function hm(U,I){return new U({type:"success",innerType:I})}function pm(U,I,J){return new U({type:"catch",innerType:I,catchValue:typeof J==="function"?J:()=>J})}function lm(U,I,J){return new U({type:"pipe",in:I,out:J})}function dm(U,I){return new U({type:"readonly",innerType:I})}function nm(U,I,J){return new U({type:"template_literal",parts:I,...y$(J)})}function im(U,I){return new U({type:"lazy",getter:I})}function rm(U,I){return new U({type:"promise",innerType:I})}function R7(U,I,J){let z=y$(J);return z.abort??(z.abort=!0),new U({type:"custom",check:"custom",fn:I,...z})}function E7(U,I,J){return new U({type:"custom",check:"custom",fn:I,...y$(J)})}function T7(U,I){let J=iB((z)=>{return z.addIssue=(v)=>{if(typeof v==="string")z.issues.push(k8(v,z.value,J._zod.def));else{let Z=v;if(Z.fatal)Z.continue=!1;Z.code??(Z.code="custom"),Z.input??(Z.input=z.value),Z.inst??(Z.inst=J),Z.continue??(Z.continue=!J._zod.def.abort),z.issues.push(k8(Z))}},U(z.value,z)},I);return J}function iB(U,I){let J=new DU({check:"custom",...y$(I)});return J._zod.check=U,J}function B7(U){let I=new DU({check:"describe"});return I._zod.onattach=[(J)=>{let z=e6.get(J)??{};e6.add(J,{...z,description:U})}],I._zod.check=()=>{},I}function g7(U){let I=new DU({check:"meta"});return I._zod.onattach=[(J)=>{let z=e6.get(J)??{};e6.add(J,{...z,...U})}],I._zod.check=()=>{},I}function N7(U,I){let J=y$(I),z=J.truthy??["true","1","yes","on","y","enabled"],v=J.falsy??["false","0","no","off","n","disabled"];if(J.case!=="sensitive")z=z.map((c)=>typeof c==="string"?c.toLowerCase():c),v=v.map((c)=>typeof c==="string"?c.toLowerCase():c);let Z=new Set(z),Y=new Set(v),L=U.Codec??aK,S=U.Boolean??tK,g=new(U.String??eZ)({type:"string",error:J.error}),H=new S({type:"boolean",error:J.error}),T=new L({type:"pipe",in:g,out:H,transform:(c,x)=>{let u=c;if(J.case!=="sensitive")u=u.toLowerCase();if(Z.has(u))return!0;else if(Y.has(u))return!1;else return x.issues.push({code:"invalid_value",expected:"stringbool",values:[...Z,...Y],input:x.value,inst:T,continue:!1}),{}},reverseTransform:(c,x)=>{if(c===!0)return z[0]||"true";else return v[0]||"false"},error:J.error});return T}function e8(U,I,J,z={}){let v=y$(z),Z={...y$(z),check:"string_format",type:"string",format:I,fn:typeof J==="function"?J:(L)=>J.test(L),...v};if(J instanceof RegExp)Z.pattern=J;return new U(Z)}function gG(U){let I=U?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";return{processors:U.processors??{},metadataRegistry:U?.metadata??e6,target:I,unrepresentable:U?.unrepresentable??"throw",override:U?.override??(()=>{}),io:U?.io??"output",counter:0,seen:new Map,cycles:U?.cycles??"ref",reused:U?.reused??"inline",external:U?.external??void 0}}function o2(U,I,J={path:[],schemaPath:[]}){var z;let v=U._zod.def,Z=I.seen.get(U);if(Z){if(Z.count++,J.schemaPath.includes(U))Z.cycle=J.path;return Z.schema}let Y={schema:{},count:1,cycle:void 0,path:J.path};I.seen.set(U,Y);let L=U._zod.toJSONSchema?.();if(L)Y.schema=L;else{let g={...J,schemaPath:[...J.schemaPath,U],path:J.path};if(U._zod.processJSONSchema)U._zod.processJSONSchema(I,Y.schema,g);else{let T=Y.schema,c=I.processors[v.type];if(!c)throw Error(`[toJSONSchema]: Non-representable type encountered: ${v.type}`);c(U,I,T,g)}let H=U._zod.parent;if(H){if(!Y.ref)Y.ref=H;o2(H,I,g),I.seen.get(H).isParent=!0}}let S=I.metadataRegistry.get(U);if(S)Object.assign(Y.schema,S);if(I.io==="input"&&i1(U))delete Y.schema.examples,delete Y.schema.default;if(I.io==="input"&&"_prefault"in Y.schema)(z=Y.schema).default??(z.default=Y.schema._prefault);return delete Y.schema._prefault,I.seen.get(U).schema}function NG(U,I){let J=U.seen.get(I);if(!J)throw Error("Unprocessed schema. This is a bug in Zod.");let z=new Map;for(let Y of U.seen.entries()){let L=U.metadataRegistry.get(Y[0])?.id;if(L){let S=z.get(L);if(S&&S!==Y[0])throw Error(`Duplicate schema id "${L}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);z.set(L,Y[0])}}let v=(Y)=>{let L=U.target==="draft-2020-12"?"$defs":"definitions";if(U.external){let H=U.external.registry.get(Y[0])?.id,T=U.external.uri??((x)=>x);if(H)return{ref:T(H)};let c=Y[1].defId??Y[1].schema.id??`schema${U.counter++}`;return Y[1].defId=c,{defId:c,ref:`${T("__shared")}#/${L}/${c}`}}if(Y[1]===J)return{ref:"#"};let B=`${"#"}/${L}/`,g=Y[1].schema.id??`__schema${U.counter++}`;return{defId:g,ref:B+g}},Z=(Y)=>{if(Y[1].schema.$ref)return;let L=Y[1],{ref:S,defId:B}=v(Y);if(L.def={...L.schema},B)L.defId=B;let g=L.schema;for(let H in g)delete g[H];g.$ref=S};if(U.cycles==="throw")for(let Y of U.seen.entries()){let L=Y[1];if(L.cycle)throw Error(`Cycle detected: #/${L.cycle?.join("/")}/<root>
|
|
447
|
+
|
|
448
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let Y of U.seen.entries()){let L=Y[1];if(I===Y[0]){Z(Y);continue}if(U.external){let B=U.external.registry.get(Y[0])?.id;if(I!==Y[0]&&B){Z(Y);continue}}if(U.metadataRegistry.get(Y[0])?.id){Z(Y);continue}if(L.cycle){Z(Y);continue}if(L.count>1){if(U.reused==="ref"){Z(Y);continue}}}}function SG(U,I){let J=U.seen.get(I);if(!J)throw Error("Unprocessed schema. This is a bug in Zod.");let z=(L)=>{let S=U.seen.get(L);if(S.ref===null)return;let B=S.def??S.schema,g={...B},H=S.ref;if(S.ref=null,H){z(H);let c=U.seen.get(H),x=c.schema;if(x.$ref&&(U.target==="draft-07"||U.target==="draft-04"||U.target==="openapi-3.0"))B.allOf=B.allOf??[],B.allOf.push(x);else Object.assign(B,x);if(Object.assign(B,g),L._zod.parent===H)for(let h in B){if(h==="$ref"||h==="allOf")continue;if(!(h in g))delete B[h]}if(x.$ref&&c.def)for(let h in B){if(h==="$ref"||h==="allOf")continue;if(h in c.def&&JSON.stringify(B[h])===JSON.stringify(c.def[h]))delete B[h]}}let T=L._zod.parent;if(T&&T!==H){z(T);let c=U.seen.get(T);if(c?.schema.$ref){if(B.$ref=c.schema.$ref,c.def)for(let x in B){if(x==="$ref"||x==="allOf")continue;if(x in c.def&&JSON.stringify(B[x])===JSON.stringify(c.def[x]))delete B[x]}}}U.override({zodSchema:L,jsonSchema:B,path:S.path??[]})};for(let L of[...U.seen.entries()].reverse())z(L[0]);let v={};if(U.target==="draft-2020-12")v.$schema="https://json-schema.org/draft/2020-12/schema";else if(U.target==="draft-07")v.$schema="http://json-schema.org/draft-07/schema#";else if(U.target==="draft-04")v.$schema="http://json-schema.org/draft-04/schema#";else if(U.target==="openapi-3.0");if(U.external?.uri){let L=U.external.registry.get(I)?.id;if(!L)throw Error("Schema is missing an `id` property");v.$id=U.external.uri(L)}Object.assign(v,J.def??J.schema);let Z=U.metadataRegistry.get(I)?.id;if(Z!==void 0&&v.id===Z)delete v.id;let Y=U.external?.defs??{};for(let L of U.seen.entries()){let S=L[1];if(S.def&&S.defId){if(S.def.id===S.defId)delete S.def.id;Y[S.defId]=S.def}}if(U.external);else if(Object.keys(Y).length>0)if(U.target==="draft-2020-12")v.$defs=Y;else v.definitions=Y;try{let L=JSON.parse(JSON.stringify(v));return Object.defineProperty(L,"~standard",{value:{...I["~standard"],jsonSchema:{input:$W(I,"input",U.processors),output:$W(I,"output",U.processors)}},enumerable:!1,writable:!1}),L}catch(L){throw Error("Error converting schema to JSON.")}}function i1(U,I){let J=I??{seen:new Set};if(J.seen.has(U))return!1;J.seen.add(U);let z=U._zod.def;if(z.type==="transform")return!0;if(z.type==="array")return i1(z.element,J);if(z.type==="set")return i1(z.valueType,J);if(z.type==="lazy")return i1(z.getter(),J);if(z.type==="promise"||z.type==="optional"||z.type==="nonoptional"||z.type==="nullable"||z.type==="readonly"||z.type==="default"||z.type==="prefault")return i1(z.innerType,J);if(z.type==="intersection")return i1(z.left,J)||i1(z.right,J);if(z.type==="record"||z.type==="map")return i1(z.keyType,J)||i1(z.valueType,J);if(z.type==="pipe"){if(U._zod.traits.has("$ZodCodec"))return!0;return i1(z.in,J)||i1(z.out,J)}if(z.type==="object"){for(let v in z.shape)if(i1(z.shape[v],J))return!0;return!1}if(z.type==="union"){for(let v of z.options)if(i1(v,J))return!0;return!1}if(z.type==="tuple"){for(let v of z.items)if(i1(v,J))return!0;if(z.rest&&i1(z.rest,J))return!0;return!1}return!1}var S7=(U,I={})=>(J)=>{let z=gG({...J,processors:I});return o2(U,z),NG(z,U),SG(z,U)},$W=(U,I,J={})=>(z)=>{let{libraryOptions:v,target:Z}=z??{},Y=gG({...v??{},target:Z,io:I,processors:J});return o2(U,Y),NG(Y,U),SG(Y,U)};var om={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},w7=(U,I,J,z)=>{let v=J;v.type="string";let{minimum:Z,maximum:Y,format:L,patterns:S,contentEncoding:B}=U._zod.bag;if(typeof Z==="number")v.minLength=Z;if(typeof Y==="number")v.maxLength=Y;if(L){if(v.format=om[L]??L,v.format==="")delete v.format;if(L==="time")delete v.format}if(B)v.contentEncoding=B;if(S&&S.size>0){let g=[...S];if(g.length===1)v.pattern=g[0].source;else if(g.length>1)v.allOf=[...g.map((H)=>({...I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"?{type:"string"}:{},pattern:H.source}))]}},k7=(U,I,J,z)=>{let v=J,{minimum:Z,maximum:Y,format:L,multipleOf:S,exclusiveMaximum:B,exclusiveMinimum:g}=U._zod.bag;if(typeof L==="string"&&L.includes("int"))v.type="integer";else v.type="number";let H=typeof g==="number"&&g>=(Z??Number.NEGATIVE_INFINITY),T=typeof B==="number"&&B<=(Y??Number.POSITIVE_INFINITY),c=I.target==="draft-04"||I.target==="openapi-3.0";if(H)if(c)v.minimum=g,v.exclusiveMinimum=!0;else v.exclusiveMinimum=g;else if(typeof Z==="number")v.minimum=Z;if(T)if(c)v.maximum=B,v.exclusiveMaximum=!0;else v.exclusiveMaximum=B;else if(typeof Y==="number")v.maximum=Y;if(typeof S==="number")v.multipleOf=S},c7=(U,I,J,z)=>{J.type="boolean"},x7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},y7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},f7=(U,I,J,z)=>{if(I.target==="openapi-3.0")J.type="string",J.nullable=!0,J.enum=[null];else J.type="null"},b7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},m7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},u7=(U,I,J,z)=>{J.not={}},h7=(U,I,J,z)=>{},p7=(U,I,J,z)=>{},l7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},d7=(U,I,J,z)=>{let v=U._zod.def,Z=bK(v.entries);if(Z.every((Y)=>typeof Y==="number"))J.type="number";if(Z.every((Y)=>typeof Y==="string"))J.type="string";J.enum=Z},n7=(U,I,J,z)=>{let v=U._zod.def,Z=[];for(let Y of v.values)if(Y===void 0){if(I.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof Y==="bigint")if(I.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else Z.push(Number(Y));else Z.push(Y);if(Z.length===0);else if(Z.length===1){let Y=Z[0];if(J.type=Y===null?"null":typeof Y,I.target==="draft-04"||I.target==="openapi-3.0")J.enum=[Y];else J.const=Y}else{if(Z.every((Y)=>typeof Y==="number"))J.type="number";if(Z.every((Y)=>typeof Y==="string"))J.type="string";if(Z.every((Y)=>typeof Y==="boolean"))J.type="boolean";if(Z.every((Y)=>Y===null))J.type="null";J.enum=Z}},i7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},r7=(U,I,J,z)=>{let v=J,Z=U._zod.pattern;if(!Z)throw Error("Pattern not found in template literal");v.type="string",v.pattern=Z.source},o7=(U,I,J,z)=>{let v=J,Z={type:"string",format:"binary",contentEncoding:"binary"},{minimum:Y,maximum:L,mime:S}=U._zod.bag;if(Y!==void 0)Z.minLength=Y;if(L!==void 0)Z.maxLength=L;if(S)if(S.length===1)Z.contentMediaType=S[0],Object.assign(v,Z);else Object.assign(v,Z),v.anyOf=S.map((B)=>({contentMediaType:B}));else Object.assign(v,Z)},t7=(U,I,J,z)=>{J.type="boolean"},s7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},a7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},e7=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},$A=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},jA=(U,I,J,z)=>{if(I.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},UA=(U,I,J,z)=>{let v=J,Z=U._zod.def,{minimum:Y,maximum:L}=U._zod.bag;if(typeof Y==="number")v.minItems=Y;if(typeof L==="number")v.maxItems=L;v.type="array",v.items=o2(Z.element,I,{...z,path:[...z.path,"items"]})},vA=(U,I,J,z)=>{let v=J,Z=U._zod.def;v.type="object",v.properties={};let Y=Z.shape;for(let B in Y)v.properties[B]=o2(Y[B],I,{...z,path:[...z.path,"properties",B]});let L=new Set(Object.keys(Y)),S=new Set([...L].filter((B)=>{let g=Z.shape[B]._zod;if(I.io==="input")return g.optin===void 0;else return g.optout===void 0}));if(S.size>0)v.required=Array.from(S);if(Z.catchall?._zod.def.type==="never")v.additionalProperties=!1;else if(!Z.catchall){if(I.io==="output")v.additionalProperties=!1}else if(Z.catchall)v.additionalProperties=o2(Z.catchall,I,{...z,path:[...z.path,"additionalProperties"]})},GD=(U,I,J,z)=>{let v=U._zod.def,Z=v.inclusive===!1,Y=v.options.map((L,S)=>o2(L,I,{...z,path:[...z.path,Z?"oneOf":"anyOf",S]}));if(Z)J.oneOf=Y;else J.anyOf=Y},IA=(U,I,J,z)=>{let v=U._zod.def,Z=o2(v.left,I,{...z,path:[...z.path,"allOf",0]}),Y=o2(v.right,I,{...z,path:[...z.path,"allOf",1]}),L=(B)=>("allOf"in B)&&Object.keys(B).length===1,S=[...L(Z)?Z.allOf:[Z],...L(Y)?Y.allOf:[Y]];J.allOf=S},XA=(U,I,J,z)=>{let v=J,Z=U._zod.def;v.type="array";let Y=I.target==="draft-2020-12"?"prefixItems":"items",L=I.target==="draft-2020-12"?"items":I.target==="openapi-3.0"?"items":"additionalItems",S=Z.items.map((T,c)=>o2(T,I,{...z,path:[...z.path,Y,c]})),B=Z.rest?o2(Z.rest,I,{...z,path:[...z.path,L,...I.target==="openapi-3.0"?[Z.items.length]:[]]}):null;if(I.target==="draft-2020-12"){if(v.prefixItems=S,B)v.items=B}else if(I.target==="openapi-3.0"){if(v.items={anyOf:S},B)v.items.anyOf.push(B);if(v.minItems=S.length,!B)v.maxItems=S.length}else if(v.items=S,B)v.additionalItems=B;let{minimum:g,maximum:H}=U._zod.bag;if(typeof g==="number")v.minItems=g;if(typeof H==="number")v.maxItems=H},JA=(U,I,J,z)=>{let v=J,Z=U._zod.def;v.type="object";let Y=Z.keyType,S=Y._zod.bag?.patterns;if(Z.mode==="loose"&&S&&S.size>0){let g=o2(Z.valueType,I,{...z,path:[...z.path,"patternProperties","*"]});v.patternProperties={};for(let H of S)v.patternProperties[H.source]=g}else{if(I.target==="draft-07"||I.target==="draft-2020-12")v.propertyNames=o2(Z.keyType,I,{...z,path:[...z.path,"propertyNames"]});v.additionalProperties=o2(Z.valueType,I,{...z,path:[...z.path,"additionalProperties"]})}let B=Y._zod.values;if(B){let g=[...B].filter((H)=>typeof H==="string"||typeof H==="number");if(g.length>0)v.required=g}},QA=(U,I,J,z)=>{let v=U._zod.def,Z=o2(v.innerType,I,z),Y=I.seen.get(U);if(I.target==="openapi-3.0")Y.ref=v.innerType,J.nullable=!0;else J.anyOf=[Z,{type:"null"}]},YA=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);Z.ref=v.innerType},GA=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);Z.ref=v.innerType,J.default=JSON.parse(JSON.stringify(v.defaultValue))},ZA=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);if(Z.ref=v.innerType,I.io==="input")J._prefault=JSON.parse(JSON.stringify(v.defaultValue))},zA=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);Z.ref=v.innerType;let Y;try{Y=v.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}J.default=Y},WA=(U,I,J,z)=>{let v=U._zod.def,Z=v.in._zod.traits.has("$ZodTransform"),Y=I.io==="input"?Z?v.out:v.in:v.out;o2(Y,I,z);let L=I.seen.get(U);L.ref=Y},KA=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);Z.ref=v.innerType,J.readOnly=!0},OA=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);Z.ref=v.innerType},ZD=(U,I,J,z)=>{let v=U._zod.def;o2(v.innerType,I,z);let Z=I.seen.get(U);Z.ref=v.innerType},VA=(U,I,J,z)=>{let v=U._zod.innerType;o2(v,I,z);let Z=I.seen.get(U);Z.ref=v},YD={string:w7,number:k7,boolean:c7,bigint:x7,symbol:y7,null:f7,undefined:b7,void:m7,never:u7,any:h7,unknown:p7,date:l7,enum:d7,literal:n7,nan:i7,template_literal:r7,file:o7,success:t7,custom:s7,function:a7,transform:e7,map:$A,set:jA,array:UA,object:vA,union:GD,intersection:IA,tuple:XA,record:JA,nullable:QA,nonoptional:YA,default:GA,prefault:ZA,catch:zA,pipe:WA,readonly:KA,promise:OA,optional:ZD,lazy:VA};function zD(U,I){if("_idmap"in U){let z=U,v=gG({...I,processors:YD}),Z={};for(let S of z._idmap.entries()){let[B,g]=S;o2(g,v)}let Y={},L={registry:z,uri:I?.uri,defs:Z};v.external=L;for(let S of z._idmap.entries()){let[B,g]=S;NG(v,g),Y[B]=SG(v,g)}if(Object.keys(Z).length>0){let S=v.target==="draft-2020-12"?"$defs":"definitions";Y.__shared={[S]:Z}}return{schemas:Y}}let J=gG({...I,processors:YD});return o2(U,J),NG(J,U),SG(J,U)}class DA{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(U){this.ctx.counter=U}get seen(){return this.ctx.seen}constructor(U){let I=U?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";this.ctx=gG({processors:YD,target:I,...U?.metadata&&{metadata:U.metadata},...U?.unrepresentable&&{unrepresentable:U.unrepresentable},...U?.override&&{override:U.override},...U?.io&&{io:U.io}})}process(U,I={path:[],schemaPath:[]}){return o2(U,this.ctx,I)}emit(U,I){if(I){if(I.cycles)this.ctx.cycles=I.cycles;if(I.reused)this.ctx.reused=I.reused;if(I.external)this.ctx.external=I.external}NG(this.ctx,U);let J=SG(this.ctx,U),{"~standard":z,...v}=J;return v}}var rB={};var JO={};m1(JO,{xor:()=>ug,xid:()=>Zg,void:()=>cg,uuidv7:()=>Ug,uuidv6:()=>jg,uuidv4:()=>$g,uuid:()=>eB,url:()=>vg,unknown:()=>vz,union:()=>fD,undefined:()=>wg,ulid:()=>Gg,uint64:()=>Ng,uint32:()=>Tg,tuple:()=>tA,transform:()=>mD,templateLiteral:()=>jN,symbol:()=>Sg,superRefine:()=>Pq,success:()=>sg,stringbool:()=>GN,stringFormat:()=>Lg,string:()=>QO,strictObject:()=>bg,set:()=>ng,refine:()=>qq,record:()=>sA,readonly:()=>Fq,promise:()=>UN,preprocess:()=>zN,prefault:()=>Gq,pipe:()=>HD,partialRecord:()=>pg,optional:()=>GO,object:()=>fg,number:()=>kA,nullish:()=>tg,nullable:()=>ZO,null:()=>bA,nonoptional:()=>Zq,never:()=>yD,nativeEnum:()=>ig,nanoid:()=>Jg,nan:()=>ag,meta:()=>QN,map:()=>dg,mac:()=>Kg,looseRecord:()=>lg,looseObject:()=>mg,literal:()=>rg,lazy:()=>Mq,ksuid:()=>zg,keyof:()=>yg,jwt:()=>Mg,json:()=>ZN,ipv6:()=>Og,ipv4:()=>Wg,invertCodec:()=>$N,intersection:()=>rA,int64:()=>gg,int32:()=>Eg,int:()=>FD,instanceof:()=>YN,httpUrl:()=>Ig,hostname:()=>Ag,hex:()=>qg,hash:()=>Pg,guid:()=>aB,function:()=>vN,float64:()=>Rg,float32:()=>Cg,file:()=>og,exactOptional:()=>Iq,enum:()=>bD,emoji:()=>Xg,email:()=>sB,e164:()=>_g,discriminatedUnion:()=>hg,describe:()=>JN,date:()=>xg,custom:()=>XN,cuid2:()=>Yg,cuid:()=>Qg,codec:()=>eg,cidrv6:()=>Dg,cidrv4:()=>Vg,check:()=>IN,catch:()=>Kq,boolean:()=>cA,bigint:()=>Bg,base64url:()=>Hg,base64:()=>Fg,array:()=>OO,any:()=>kg,_function:()=>vN,_default:()=>Qq,_ZodString:()=>_D,ZodXor:()=>dA,ZodXID:()=>RD,ZodVoid:()=>pA,ZodUnknown:()=>uA,ZodUnion:()=>DO,ZodUndefined:()=>yA,ZodUUID:()=>eJ,ZodURL:()=>WO,ZodULID:()=>CD,ZodType:()=>Ej,ZodTuple:()=>oA,ZodTransform:()=>Uq,ZodTemplateLiteral:()=>Hq,ZodSymbol:()=>xA,ZodSuccess:()=>zq,ZodStringFormat:()=>GU,ZodString:()=>IW,ZodSet:()=>eA,ZodRecord:()=>UW,ZodReadonly:()=>Dq,ZodPromise:()=>Lq,ZodPreprocess:()=>Vq,ZodPrefault:()=>Yq,ZodPipe:()=>FO,ZodOptional:()=>uD,ZodObject:()=>VO,ZodNumberFormat:()=>Iz,ZodNumber:()=>JW,ZodNullable:()=>Xq,ZodNull:()=>fA,ZodNonOptional:()=>hD,ZodNever:()=>hA,ZodNanoID:()=>AD,ZodNaN:()=>Oq,ZodMap:()=>aA,ZodMAC:()=>wA,ZodLiteral:()=>$q,ZodLazy:()=>_q,ZodKSUID:()=>ED,ZodJWT:()=>cD,ZodIntersection:()=>iA,ZodIPv6:()=>BD,ZodIPv4:()=>TD,ZodGUID:()=>YO,ZodFunction:()=>Aq,ZodFile:()=>jq,ZodExactOptional:()=>vq,ZodEnum:()=>vW,ZodEmoji:()=>LD,ZodEmail:()=>MD,ZodE164:()=>kD,ZodDiscriminatedUnion:()=>nA,ZodDefault:()=>Jq,ZodDate:()=>KO,ZodCustomStringFormat:()=>XW,ZodCustom:()=>_O,ZodCodec:()=>HO,ZodCatch:()=>Wq,ZodCUID2:()=>PD,ZodCUID:()=>qD,ZodCIDRv6:()=>ND,ZodCIDRv4:()=>gD,ZodBoolean:()=>QW,ZodBigIntFormat:()=>xD,ZodBigInt:()=>YW,ZodBase64URL:()=>wD,ZodBase64:()=>SD,ZodArray:()=>lA,ZodAny:()=>mA});var WD={};m1(WD,{uppercase:()=>p8,trim:()=>o8,toUpperCase:()=>s8,toLowerCase:()=>t8,startsWith:()=>d8,slugify:()=>a8,size:()=>$z,regex:()=>u8,property:()=>QD,positive:()=>vD,overwrite:()=>lX,normalize:()=>r8,nonpositive:()=>XD,nonnegative:()=>JD,negative:()=>ID,multipleOf:()=>TG,minSize:()=>aJ,minLength:()=>IY,mime:()=>i8,maxSize:()=>BG,maxLength:()=>jz,lte:()=>JI,lt:()=>tJ,lowercase:()=>h8,length:()=>Uz,includes:()=>l8,gte:()=>n1,gt:()=>sJ,endsWith:()=>n8});var jW={};m1(jW,{time:()=>_A,duration:()=>MA,datetime:()=>FA,date:()=>HA,ZodISOTime:()=>VD,ZodISODuration:()=>DD,ZodISODateTime:()=>KD,ZodISODate:()=>OD});var KD=r0("ZodISODateTime",(U,I)=>{s_.init(U,I),GU.init(U,I)});function FA(U){return sL(KD,U)}var OD=r0("ZodISODate",(U,I)=>{a_.init(U,I),GU.init(U,I)});function HA(U){return aL(OD,U)}var VD=r0("ZodISOTime",(U,I)=>{e_.init(U,I),GU.init(U,I)});function _A(U){return eL(VD,U)}var DD=r0("ZodISODuration",(U,I)=>{$M.init(U,I),GU.init(U,I)});function MA(U){return $7(DD,U)}var oB=(U,I)=>{lK.init(U,I),U.name="ZodError",Object.defineProperties(U,{format:{value:(J)=>nK(U,J)},flatten:{value:(J)=>dK(U,J)},addIssue:{value:(J)=>{U.issues.push(J),U.message=JSON.stringify(U.issues,S8,2)}},addIssues:{value:(J)=>{U.issues.push(...J),U.message=JSON.stringify(U.issues,S8,2)}},isEmpty:{get(){return U.issues.length===0}}})},sm=r0("ZodError",oB),qv=r0("ZodError",oB,{Parent:Error});var LA=c8(qv),AA=x8(qv),qA=y8(qv),PA=f8(qv),CA=V9(qv),RA=D9(qv),EA=F9(qv),TA=H9(qv),BA=_9(qv),gA=M9(qv),NA=L9(qv),SA=A9(qv);var tB=new WeakMap;function zO(U,I,J){let z=Object.getPrototypeOf(U),v=tB.get(z);if(!v)v=new Set,tB.set(z,v);if(v.has(I))return;v.add(I);for(let Z in J){let Y=J[Z];Object.defineProperty(z,Z,{configurable:!0,enumerable:!1,get(){let L=Y.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 Ej=r0("ZodType",(U,I)=>{return Dj.init(U,I),Object.assign(U["~standard"],{jsonSchema:{input:$W(U,"input"),output:$W(U,"output")}}),U.toJSONSchema=S7(U,{}),U.def=I,U.type=I.type,Object.defineProperty(U,"_def",{value:I}),U.parse=(J,z)=>LA(U,J,z,{callee:U.parse}),U.safeParse=(J,z)=>qA(U,J,z),U.parseAsync=async(J,z)=>AA(U,J,z,{callee:U.parseAsync}),U.safeParseAsync=async(J,z)=>PA(U,J,z),U.spa=U.safeParseAsync,U.encode=(J,z)=>CA(U,J,z),U.decode=(J,z)=>RA(U,J,z),U.encodeAsync=async(J,z)=>EA(U,J,z),U.decodeAsync=async(J,z)=>TA(U,J,z),U.safeEncode=(J,z)=>BA(U,J,z),U.safeDecode=(J,z)=>gA(U,J,z),U.safeEncodeAsync=async(J,z)=>NA(U,J,z),U.safeDecodeAsync=async(J,z)=>SA(U,J,z),zO(U,"ZodType",{check(...J){let z=this.def;return this.clone(k$.mergeDefs(z,{checks:[...z.checks??[],...J.map((v)=>typeof v==="function"?{_zod:{check:v,def:{check:"custom"},onattach:[]}}:v)]}),{parent:!0})},with(...J){return this.check(...J)},clone(J,z){return l1(this,J,z)},brand(){return this},register(J,z){return J.add(this,z),this},refine(J,z){return this.check(qq(J,z))},superRefine(J,z){return this.check(Pq(J,z))},overwrite(J){return this.check(lX(J))},optional(){return GO(this)},exactOptional(){return Iq(this)},nullable(){return ZO(this)},nullish(){return GO(ZO(this))},nonoptional(J){return Zq(this,J)},array(){return OO(this)},or(J){return fD([this,J])},and(J){return rA(this,J)},transform(J){return HD(this,mD(J))},default(J){return Qq(this,J)},prefault(J){return Gq(this,J)},catch(J){return Kq(this,J)},pipe(J){return HD(this,J)},readonly(){return Fq(this)},describe(J){let z=this.clone();return e6.add(z,{description:J}),z},meta(...J){if(J.length===0)return e6.get(this);let z=this.clone();return e6.add(z,J[0]),z},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(J){return J(this)}}),Object.defineProperty(U,"description",{get(){return e6.get(U)?.description},configurable:!0}),U}),_D=r0("_ZodString",(U,I)=>{eZ.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(z,v,Z)=>w7(U,z,v,Z);let J=U._zod.bag;U.format=J.format??null,U.minLength=J.minimum??null,U.maxLength=J.maximum??null,zO(U,"_ZodString",{regex(...z){return this.check(u8(...z))},includes(...z){return this.check(l8(...z))},startsWith(...z){return this.check(d8(...z))},endsWith(...z){return this.check(n8(...z))},min(...z){return this.check(IY(...z))},max(...z){return this.check(jz(...z))},length(...z){return this.check(Uz(...z))},nonempty(...z){return this.check(IY(1,...z))},lowercase(z){return this.check(h8(z))},uppercase(z){return this.check(p8(z))},trim(){return this.check(o8())},normalize(...z){return this.check(r8(...z))},toLowerCase(){return this.check(t8())},toUpperCase(){return this.check(s8())},slugify(){return this.check(a8())}})}),IW=r0("ZodString",(U,I)=>{eZ.init(U,I),_D.init(U,I),U.email=(J)=>U.check(y9(MD,J)),U.url=(J)=>U.check(XO(WO,J)),U.jwt=(J)=>U.check(UD(cD,J)),U.emoji=(J)=>U.check(h9(LD,J)),U.guid=(J)=>U.check(IO(YO,J)),U.uuid=(J)=>U.check(f9(eJ,J)),U.uuidv4=(J)=>U.check(b9(eJ,J)),U.uuidv6=(J)=>U.check(m9(eJ,J)),U.uuidv7=(J)=>U.check(u9(eJ,J)),U.nanoid=(J)=>U.check(p9(AD,J)),U.guid=(J)=>U.check(IO(YO,J)),U.cuid=(J)=>U.check(l9(qD,J)),U.cuid2=(J)=>U.check(d9(PD,J)),U.ulid=(J)=>U.check(n9(CD,J)),U.base64=(J)=>U.check(e9(SD,J)),U.base64url=(J)=>U.check($D(wD,J)),U.xid=(J)=>U.check(i9(RD,J)),U.ksuid=(J)=>U.check(r9(ED,J)),U.ipv4=(J)=>U.check(o9(TD,J)),U.ipv6=(J)=>U.check(t9(BD,J)),U.cidrv4=(J)=>U.check(s9(gD,J)),U.cidrv6=(J)=>U.check(a9(ND,J)),U.e164=(J)=>U.check(jD(kD,J)),U.datetime=(J)=>U.check(FA(J)),U.date=(J)=>U.check(HA(J)),U.time=(J)=>U.check(_A(J)),U.duration=(J)=>U.check(MA(J))});function QO(U){return iL(IW,U)}var GU=r0("ZodStringFormat",(U,I)=>{YU.init(U,I),_D.init(U,I)}),MD=r0("ZodEmail",(U,I)=>{h_.init(U,I),GU.init(U,I)});function sB(U){return y9(MD,U)}var YO=r0("ZodGUID",(U,I)=>{m_.init(U,I),GU.init(U,I)});function aB(U){return IO(YO,U)}var eJ=r0("ZodUUID",(U,I)=>{u_.init(U,I),GU.init(U,I)});function eB(U){return f9(eJ,U)}function $g(U){return b9(eJ,U)}function jg(U){return m9(eJ,U)}function Ug(U){return u9(eJ,U)}var WO=r0("ZodURL",(U,I)=>{p_.init(U,I),GU.init(U,I)});function vg(U){return XO(WO,U)}function Ig(U){return XO(WO,{protocol:XI.httpProtocol,hostname:XI.domain,...k$.normalizeParams(U)})}var LD=r0("ZodEmoji",(U,I)=>{l_.init(U,I),GU.init(U,I)});function Xg(U){return h9(LD,U)}var AD=r0("ZodNanoID",(U,I)=>{d_.init(U,I),GU.init(U,I)});function Jg(U){return p9(AD,U)}var qD=r0("ZodCUID",(U,I)=>{n_.init(U,I),GU.init(U,I)});function Qg(U){return l9(qD,U)}var PD=r0("ZodCUID2",(U,I)=>{i_.init(U,I),GU.init(U,I)});function Yg(U){return d9(PD,U)}var CD=r0("ZodULID",(U,I)=>{r_.init(U,I),GU.init(U,I)});function Gg(U){return n9(CD,U)}var RD=r0("ZodXID",(U,I)=>{o_.init(U,I),GU.init(U,I)});function Zg(U){return i9(RD,U)}var ED=r0("ZodKSUID",(U,I)=>{t_.init(U,I),GU.init(U,I)});function zg(U){return r9(ED,U)}var TD=r0("ZodIPv4",(U,I)=>{jM.init(U,I),GU.init(U,I)});function Wg(U){return o9(TD,U)}var wA=r0("ZodMAC",(U,I)=>{vM.init(U,I),GU.init(U,I)});function Kg(U){return oL(wA,U)}var BD=r0("ZodIPv6",(U,I)=>{UM.init(U,I),GU.init(U,I)});function Og(U){return t9(BD,U)}var gD=r0("ZodCIDRv4",(U,I)=>{IM.init(U,I),GU.init(U,I)});function Vg(U){return s9(gD,U)}var ND=r0("ZodCIDRv6",(U,I)=>{XM.init(U,I),GU.init(U,I)});function Dg(U){return a9(ND,U)}var SD=r0("ZodBase64",(U,I)=>{QM.init(U,I),GU.init(U,I)});function Fg(U){return e9(SD,U)}var wD=r0("ZodBase64URL",(U,I)=>{YM.init(U,I),GU.init(U,I)});function Hg(U){return $D(wD,U)}var kD=r0("ZodE164",(U,I)=>{GM.init(U,I),GU.init(U,I)});function _g(U){return jD(kD,U)}var cD=r0("ZodJWT",(U,I)=>{ZM.init(U,I),GU.init(U,I)});function Mg(U){return UD(cD,U)}var XW=r0("ZodCustomStringFormat",(U,I)=>{zM.init(U,I),GU.init(U,I)});function Lg(U,I,J={}){return e8(XW,U,I,J)}function Ag(U){return e8(XW,"hostname",XI.hostname,U)}function qg(U){return e8(XW,"hex",XI.hex,U)}function Pg(U,I){let J=I?.enc??"hex",z=`${U}_${J}`,v=XI[z];if(!v)throw Error(`Unrecognized hash format: ${z}`);return e8(XW,z,v,I)}var JW=r0("ZodNumber",(U,I)=>{N9.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(z,v,Z)=>k7(U,z,v,Z),zO(U,"ZodNumber",{gt(z,v){return this.check(sJ(z,v))},gte(z,v){return this.check(n1(z,v))},min(z,v){return this.check(n1(z,v))},lt(z,v){return this.check(tJ(z,v))},lte(z,v){return this.check(JI(z,v))},max(z,v){return this.check(JI(z,v))},int(z){return this.check(FD(z))},safe(z){return this.check(FD(z))},positive(z){return this.check(sJ(0,z))},nonnegative(z){return this.check(n1(0,z))},negative(z){return this.check(tJ(0,z))},nonpositive(z){return this.check(JI(0,z))},multipleOf(z,v){return this.check(TG(z,v))},step(z,v){return this.check(TG(z,v))},finite(){return this}});let J=U._zod.bag;U.minValue=Math.max(J.minimum??Number.NEGATIVE_INFINITY,J.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,U.maxValue=Math.min(J.maximum??Number.POSITIVE_INFINITY,J.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,U.isInt=(J.format??"").includes("int")||Number.isSafeInteger(J.multipleOf??0.5),U.isFinite=!0,U.format=J.format??null});function kA(U){return j7(JW,U)}var Iz=r0("ZodNumberFormat",(U,I)=>{WM.init(U,I),JW.init(U,I)});function FD(U){return v7(Iz,U)}function Cg(U){return I7(Iz,U)}function Rg(U){return X7(Iz,U)}function Eg(U){return J7(Iz,U)}function Tg(U){return Q7(Iz,U)}var QW=r0("ZodBoolean",(U,I)=>{tK.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>c7(U,J,z,v)});function cA(U){return Y7(QW,U)}var YW=r0("ZodBigInt",(U,I)=>{S9.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(z,v,Z)=>x7(U,z,v,Z),U.gte=(z,v)=>U.check(n1(z,v)),U.min=(z,v)=>U.check(n1(z,v)),U.gt=(z,v)=>U.check(sJ(z,v)),U.gte=(z,v)=>U.check(n1(z,v)),U.min=(z,v)=>U.check(n1(z,v)),U.lt=(z,v)=>U.check(tJ(z,v)),U.lte=(z,v)=>U.check(JI(z,v)),U.max=(z,v)=>U.check(JI(z,v)),U.positive=(z)=>U.check(sJ(BigInt(0),z)),U.negative=(z)=>U.check(tJ(BigInt(0),z)),U.nonpositive=(z)=>U.check(JI(BigInt(0),z)),U.nonnegative=(z)=>U.check(n1(BigInt(0),z)),U.multipleOf=(z,v)=>U.check(TG(z,v));let J=U._zod.bag;U.minValue=J.minimum??null,U.maxValue=J.maximum??null,U.format=J.format??null});function Bg(U){return Z7(YW,U)}var xD=r0("ZodBigIntFormat",(U,I)=>{KM.init(U,I),YW.init(U,I)});function gg(U){return W7(xD,U)}function Ng(U){return K7(xD,U)}var xA=r0("ZodSymbol",(U,I)=>{OM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>y7(U,J,z,v)});function Sg(U){return O7(xA,U)}var yA=r0("ZodUndefined",(U,I)=>{VM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>b7(U,J,z,v)});function wg(U){return V7(yA,U)}var fA=r0("ZodNull",(U,I)=>{DM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>f7(U,J,z,v)});function bA(U){return D7(fA,U)}var mA=r0("ZodAny",(U,I)=>{FM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>h7(U,J,z,v)});function kg(){return F7(mA)}var uA=r0("ZodUnknown",(U,I)=>{HM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>p7(U,J,z,v)});function vz(){return H7(uA)}var hA=r0("ZodNever",(U,I)=>{_M.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>u7(U,J,z,v)});function yD(U){return _7(hA,U)}var pA=r0("ZodVoid",(U,I)=>{MM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>m7(U,J,z,v)});function cg(U){return M7(pA,U)}var KO=r0("ZodDate",(U,I)=>{LM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(z,v,Z)=>l7(U,z,v,Z),U.min=(z,v)=>U.check(n1(z,v)),U.max=(z,v)=>U.check(JI(z,v));let J=U._zod.bag;U.minDate=J.minimum?new Date(J.minimum):null,U.maxDate=J.maximum?new Date(J.maximum):null});function xg(U){return L7(KO,U)}var lA=r0("ZodArray",(U,I)=>{AM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>UA(U,J,z,v),U.element=I.element,zO(U,"ZodArray",{min(J,z){return this.check(IY(J,z))},nonempty(J){return this.check(IY(1,J))},max(J,z){return this.check(jz(J,z))},length(J,z){return this.check(Uz(J,z))},unwrap(){return this.element}})});function OO(U,I){return P7(lA,U,I)}function yg(U){let I=U._zod.def.shape;return bD(Object.keys(I))}var VO=r0("ZodObject",(U,I)=>{qM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>vA(U,J,z,v),k$.defineLazy(U,"shape",()=>{return I.shape}),zO(U,"ZodObject",{keyof(){return bD(Object.keys(this._zod.def.shape))},catchall(J){return this.clone({...this._zod.def,catchall:J})},passthrough(){return this.clone({...this._zod.def,catchall:vz()})},loose(){return this.clone({...this._zod.def,catchall:vz()})},strict(){return this.clone({...this._zod.def,catchall:yD()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(J){return k$.extend(this,J)},safeExtend(J){return k$.safeExtend(this,J)},merge(J){return k$.merge(this,J)},pick(J){return k$.pick(this,J)},omit(J){return k$.omit(this,J)},partial(...J){return k$.partial(uD,this,J[0])},required(...J){return k$.required(hD,this,J[0])}})});function fg(U,I){let J={type:"object",shape:U??{},...k$.normalizeParams(I)};return new VO(J)}function bg(U,I){return new VO({type:"object",shape:U,catchall:yD(),...k$.normalizeParams(I)})}function mg(U,I){return new VO({type:"object",shape:U,catchall:vz(),...k$.normalizeParams(I)})}var DO=r0("ZodUnion",(U,I)=>{sK.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>GD(U,J,z,v),U.options=I.options});function fD(U,I){return new DO({type:"union",options:U,...k$.normalizeParams(I)})}var dA=r0("ZodXor",(U,I)=>{DO.init(U,I),PM.init(U,I),U._zod.processJSONSchema=(J,z,v)=>GD(U,J,z,v),U.options=I.options});function ug(U,I){return new dA({type:"union",options:U,inclusive:!1,...k$.normalizeParams(I)})}var nA=r0("ZodDiscriminatedUnion",(U,I)=>{DO.init(U,I),CM.init(U,I)});function hg(U,I,J){return new nA({type:"union",options:I,discriminator:U,...k$.normalizeParams(J)})}var iA=r0("ZodIntersection",(U,I)=>{RM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>IA(U,J,z,v)});function rA(U,I){return new iA({type:"intersection",left:U,right:I})}var oA=r0("ZodTuple",(U,I)=>{w9.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>XA(U,J,z,v),U.rest=(J)=>U.clone({...U._zod.def,rest:J})});function tA(U,I,J){let z=I instanceof Dj,v=z?J:I;return new oA({type:"tuple",items:U,rest:z?I:null,...k$.normalizeParams(v)})}var UW=r0("ZodRecord",(U,I)=>{EM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>JA(U,J,z,v),U.keyType=I.keyType,U.valueType=I.valueType});function sA(U,I,J){if(!I||!I._zod)return new UW({type:"record",keyType:QO(),valueType:U,...k$.normalizeParams(I)});return new UW({type:"record",keyType:U,valueType:I,...k$.normalizeParams(J)})}function pg(U,I,J){let z=l1(U);return z._zod.values=void 0,new UW({type:"record",keyType:z,valueType:I,...k$.normalizeParams(J)})}function lg(U,I,J){return new UW({type:"record",keyType:U,valueType:I,mode:"loose",...k$.normalizeParams(J)})}var aA=r0("ZodMap",(U,I)=>{TM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>$A(U,J,z,v),U.keyType=I.keyType,U.valueType=I.valueType,U.min=(...J)=>U.check(aJ(...J)),U.nonempty=(J)=>U.check(aJ(1,J)),U.max=(...J)=>U.check(BG(...J)),U.size=(...J)=>U.check($z(...J))});function dg(U,I,J){return new aA({type:"map",keyType:U,valueType:I,...k$.normalizeParams(J)})}var eA=r0("ZodSet",(U,I)=>{BM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>jA(U,J,z,v),U.min=(...J)=>U.check(aJ(...J)),U.nonempty=(J)=>U.check(aJ(1,J)),U.max=(...J)=>U.check(BG(...J)),U.size=(...J)=>U.check($z(...J))});function ng(U,I){return new eA({type:"set",valueType:U,...k$.normalizeParams(I)})}var vW=r0("ZodEnum",(U,I)=>{gM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(z,v,Z)=>d7(U,z,v,Z),U.enum=I.entries,U.options=Object.values(I.entries);let J=new Set(Object.keys(I.entries));U.extract=(z,v)=>{let Z={};for(let Y of z)if(J.has(Y))Z[Y]=I.entries[Y];else throw Error(`Key ${Y} not found in enum`);return new vW({...I,checks:[],...k$.normalizeParams(v),entries:Z})},U.exclude=(z,v)=>{let Z={...I.entries};for(let Y of z)if(J.has(Y))delete Z[Y];else throw Error(`Key ${Y} not found in enum`);return new vW({...I,checks:[],...k$.normalizeParams(v),entries:Z})}});function bD(U,I){let J=Array.isArray(U)?Object.fromEntries(U.map((z)=>[z,z])):U;return new vW({type:"enum",entries:J,...k$.normalizeParams(I)})}function ig(U,I){return new vW({type:"enum",entries:U,...k$.normalizeParams(I)})}var $q=r0("ZodLiteral",(U,I)=>{NM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>n7(U,J,z,v),U.values=new Set(I.values),Object.defineProperty(U,"value",{get(){if(I.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return I.values[0]}})});function rg(U,I){return new $q({type:"literal",values:Array.isArray(U)?U:[U],...k$.normalizeParams(I)})}var jq=r0("ZodFile",(U,I)=>{SM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>o7(U,J,z,v),U.min=(J,z)=>U.check(aJ(J,z)),U.max=(J,z)=>U.check(BG(J,z)),U.mime=(J,z)=>U.check(i8(Array.isArray(J)?J:[J],z))});function og(U){return C7(jq,U)}var Uq=r0("ZodTransform",(U,I)=>{wM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>e7(U,J,z,v),U._zod.parse=(J,z)=>{if(z.direction==="backward")throw new tZ(U.constructor.name);J.addIssue=(Z)=>{if(typeof Z==="string")J.issues.push(k$.issue(Z,J.value,I));else{let Y=Z;if(Y.fatal)Y.continue=!1;Y.code??(Y.code="custom"),Y.input??(Y.input=J.value),Y.inst??(Y.inst=U),J.issues.push(k$.issue(Y))}};let v=I.transform(J.value,J);if(v instanceof Promise)return v.then((Z)=>{return J.value=Z,J.fallback=!0,J});return J.value=v,J.fallback=!0,J}});function mD(U){return new Uq({type:"transform",transform:U})}var uD=r0("ZodOptional",(U,I)=>{k9.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>ZD(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function GO(U){return new uD({type:"optional",innerType:U})}var vq=r0("ZodExactOptional",(U,I)=>{kM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>ZD(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function Iq(U){return new vq({type:"optional",innerType:U})}var Xq=r0("ZodNullable",(U,I)=>{cM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>QA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function ZO(U){return new Xq({type:"nullable",innerType:U})}function tg(U){return GO(ZO(U))}var Jq=r0("ZodDefault",(U,I)=>{xM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>GA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType,U.removeDefault=U.unwrap});function Qq(U,I){return new Jq({type:"default",innerType:U,get defaultValue(){return typeof I==="function"?I():k$.shallowClone(I)}})}var Yq=r0("ZodPrefault",(U,I)=>{yM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>ZA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function Gq(U,I){return new Yq({type:"prefault",innerType:U,get defaultValue(){return typeof I==="function"?I():k$.shallowClone(I)}})}var hD=r0("ZodNonOptional",(U,I)=>{fM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>YA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function Zq(U,I){return new hD({type:"nonoptional",innerType:U,...k$.normalizeParams(I)})}var zq=r0("ZodSuccess",(U,I)=>{bM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>t7(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function sg(U){return new zq({type:"success",innerType:U})}var Wq=r0("ZodCatch",(U,I)=>{mM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>zA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType,U.removeCatch=U.unwrap});function Kq(U,I){return new Wq({type:"catch",innerType:U,catchValue:typeof I==="function"?I:()=>I})}var Oq=r0("ZodNaN",(U,I)=>{uM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>i7(U,J,z,v)});function ag(U){return q7(Oq,U)}var FO=r0("ZodPipe",(U,I)=>{c9.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>WA(U,J,z,v),U.in=I.in,U.out=I.out});function HD(U,I){return new FO({type:"pipe",in:U,out:I})}var HO=r0("ZodCodec",(U,I)=>{FO.init(U,I),aK.init(U,I)});function eg(U,I,J){return new HO({type:"pipe",in:U,out:I,transform:J.decode,reverseTransform:J.encode})}function $N(U){let I=U._zod.def;return new HO({type:"pipe",in:I.out,out:I.in,transform:I.reverseTransform,reverseTransform:I.transform})}var Vq=r0("ZodPreprocess",(U,I)=>{FO.init(U,I),hM.init(U,I)}),Dq=r0("ZodReadonly",(U,I)=>{pM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>KA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function Fq(U){return new Dq({type:"readonly",innerType:U})}var Hq=r0("ZodTemplateLiteral",(U,I)=>{lM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>r7(U,J,z,v)});function jN(U,I){return new Hq({type:"template_literal",parts:U,...k$.normalizeParams(I)})}var _q=r0("ZodLazy",(U,I)=>{iM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>VA(U,J,z,v),U.unwrap=()=>U._zod.def.getter()});function Mq(U){return new _q({type:"lazy",getter:U})}var Lq=r0("ZodPromise",(U,I)=>{nM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>OA(U,J,z,v),U.unwrap=()=>U._zod.def.innerType});function UN(U){return new Lq({type:"promise",innerType:U})}var Aq=r0("ZodFunction",(U,I)=>{dM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>a7(U,J,z,v)});function vN(U){return new Aq({type:"function",input:Array.isArray(U?.input)?tA(U?.input):U?.input??OO(vz()),output:U?.output??vz()})}var _O=r0("ZodCustom",(U,I)=>{rM.init(U,I),Ej.init(U,I),U._zod.processJSONSchema=(J,z,v)=>s7(U,J,z,v)});function IN(U){let I=new DU({check:"custom"});return I._zod.check=U,I}function XN(U,I){return R7(_O,U??(()=>!0),I)}function qq(U,I={}){return E7(_O,U,I)}function Pq(U,I){return T7(U,I)}var JN=B7,QN=g7;function YN(U,I={}){let J=new _O({type:"custom",check:"custom",fn:(z)=>z instanceof U,abort:!0,...k$.normalizeParams(I)});return J._zod.bag.Class=U,J._zod.check=(z)=>{if(!(z.value instanceof U))z.issues.push({code:"invalid_type",expected:U.name,input:z.value,inst:J,path:[...J._zod.def.path??[]]})},J}var GN=(...U)=>N7({Codec:HO,Boolean:QW,String:IW},...U);function ZN(U){let I=Mq(()=>{return fD([QO(U),kA(),cA(),bA(),OO(I),sA(QO(),I)])});return I}function zN(U,I){return new Vq({type:"pipe",in:mD(U),out:I})}var em={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 $u(U){_4({customError:U})}function ju(){return _4().customError}var Cq;(function(U){})(Cq||(Cq={}));var p$={...JO,...WD,iso:jW},Uu=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 vu(U,I){let J=U.$schema;if(J==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(J==="http://json-schema.org/draft-07/schema#")return"draft-7";if(J==="http://json-schema.org/draft-04/schema#")return"draft-4";return I??"draft-2020-12"}function Iu(U,I){if(!U.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let J=U.slice(1).split("/").filter(Boolean);if(J.length===0)return I.rootSchema;let z=I.version==="draft-2020-12"?"$defs":"definitions";if(J[0]===z){let v=J[1];if(!v||!I.defs[v])throw Error(`Reference not found: ${U}`);return I.defs[v]}throw Error(`Reference not found: ${U}`)}function WN(U,I){if(U.not!==void 0){if(typeof U.not==="object"&&Object.keys(U.not).length===0)return p$.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(U.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if(U.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if(U.if!==void 0||U.then!==void 0||U.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if(U.dependentSchemas!==void 0||U.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if(U.$ref){let v=U.$ref;if(I.refs.has(v))return I.refs.get(v);if(I.processing.has(v))return p$.lazy(()=>{if(!I.refs.has(v))throw Error(`Circular reference not resolved: ${v}`);return I.refs.get(v)});I.processing.add(v);let Z=Iu(v,I),Y=D1(Z,I);return I.refs.set(v,Y),I.processing.delete(v),Y}if(U.enum!==void 0){let v=U.enum;if(I.version==="openapi-3.0"&&U.nullable===!0&&v.length===1&&v[0]===null)return p$.null();if(v.length===0)return p$.never();if(v.length===1)return p$.literal(v[0]);if(v.every((Y)=>typeof Y==="string"))return p$.enum(v);let Z=v.map((Y)=>p$.literal(Y));if(Z.length<2)return Z[0];return p$.union([Z[0],Z[1],...Z.slice(2)])}if(U.const!==void 0)return p$.literal(U.const);let J=U.type;if(Array.isArray(J)){let v=J.map((Z)=>{let Y={...U,type:Z};return WN(Y,I)});if(v.length===0)return p$.never();if(v.length===1)return v[0];return p$.union(v)}if(!J)return p$.any();let z;switch(J){case"string":{let v=p$.string();if(U.format){let Z=U.format;if(Z==="email")v=v.check(p$.email());else if(Z==="uri"||Z==="uri-reference")v=v.check(p$.url());else if(Z==="uuid"||Z==="guid")v=v.check(p$.uuid());else if(Z==="date-time")v=v.check(p$.iso.datetime());else if(Z==="date")v=v.check(p$.iso.date());else if(Z==="time")v=v.check(p$.iso.time());else if(Z==="duration")v=v.check(p$.iso.duration());else if(Z==="ipv4")v=v.check(p$.ipv4());else if(Z==="ipv6")v=v.check(p$.ipv6());else if(Z==="mac")v=v.check(p$.mac());else if(Z==="cidr")v=v.check(p$.cidrv4());else if(Z==="cidr-v6")v=v.check(p$.cidrv6());else if(Z==="base64")v=v.check(p$.base64());else if(Z==="base64url")v=v.check(p$.base64url());else if(Z==="e164")v=v.check(p$.e164());else if(Z==="jwt")v=v.check(p$.jwt());else if(Z==="emoji")v=v.check(p$.emoji());else if(Z==="nanoid")v=v.check(p$.nanoid());else if(Z==="cuid")v=v.check(p$.cuid());else if(Z==="cuid2")v=v.check(p$.cuid2());else if(Z==="ulid")v=v.check(p$.ulid());else if(Z==="xid")v=v.check(p$.xid());else if(Z==="ksuid")v=v.check(p$.ksuid())}if(typeof U.minLength==="number")v=v.min(U.minLength);if(typeof U.maxLength==="number")v=v.max(U.maxLength);if(U.pattern)v=v.regex(new RegExp(U.pattern));z=v;break}case"number":case"integer":{let v=J==="integer"?p$.number().int():p$.number();if(typeof U.minimum==="number")v=v.min(U.minimum);if(typeof U.maximum==="number")v=v.max(U.maximum);if(typeof U.exclusiveMinimum==="number")v=v.gt(U.exclusiveMinimum);else if(U.exclusiveMinimum===!0&&typeof U.minimum==="number")v=v.gt(U.minimum);if(typeof U.exclusiveMaximum==="number")v=v.lt(U.exclusiveMaximum);else if(U.exclusiveMaximum===!0&&typeof U.maximum==="number")v=v.lt(U.maximum);if(typeof U.multipleOf==="number")v=v.multipleOf(U.multipleOf);z=v;break}case"boolean":{z=p$.boolean();break}case"null":{z=p$.null();break}case"object":{let v={},Z=U.properties||{},Y=new Set(U.required||[]);for(let[S,B]of Object.entries(Z)){let g=D1(B,I);v[S]=Y.has(S)?g:g.optional()}if(U.propertyNames){let S=D1(U.propertyNames,I),B=U.additionalProperties&&typeof U.additionalProperties==="object"?D1(U.additionalProperties,I):p$.any();if(Object.keys(v).length===0){z=p$.record(S,B);break}let g=p$.object(v).passthrough(),H=p$.looseRecord(S,B);z=p$.intersection(g,H);break}if(U.patternProperties){let S=U.patternProperties,B=Object.keys(S),g=[];for(let T of B){let c=D1(S[T],I),x=p$.string().regex(new RegExp(T));g.push(p$.looseRecord(x,c))}let H=[];if(Object.keys(v).length>0)H.push(p$.object(v).passthrough());if(H.push(...g),H.length===0)z=p$.object({}).passthrough();else if(H.length===1)z=H[0];else{let T=p$.intersection(H[0],H[1]);for(let c=2;c<H.length;c++)T=p$.intersection(T,H[c]);z=T}break}let L=p$.object(v);if(U.additionalProperties===!1)z=L.strict();else if(typeof U.additionalProperties==="object")z=L.catchall(D1(U.additionalProperties,I));else z=L.passthrough();break}case"array":{let{prefixItems:v,items:Z}=U;if(v&&Array.isArray(v)){let Y=v.map((S)=>D1(S,I)),L=Z&&typeof Z==="object"&&!Array.isArray(Z)?D1(Z,I):void 0;if(L)z=p$.tuple(Y).rest(L);else z=p$.tuple(Y);if(typeof U.minItems==="number")z=z.check(p$.minLength(U.minItems));if(typeof U.maxItems==="number")z=z.check(p$.maxLength(U.maxItems))}else if(Array.isArray(Z)){let Y=Z.map((S)=>D1(S,I)),L=U.additionalItems&&typeof U.additionalItems==="object"?D1(U.additionalItems,I):void 0;if(L)z=p$.tuple(Y).rest(L);else z=p$.tuple(Y);if(typeof U.minItems==="number")z=z.check(p$.minLength(U.minItems));if(typeof U.maxItems==="number")z=z.check(p$.maxLength(U.maxItems))}else if(Z!==void 0){let Y=D1(Z,I),L=p$.array(Y);if(typeof U.minItems==="number")L=L.min(U.minItems);if(typeof U.maxItems==="number")L=L.max(U.maxItems);z=L}else z=p$.array(p$.any());break}default:throw Error(`Unsupported type: ${J}`)}return z}function D1(U,I){if(typeof U==="boolean")return U?p$.any():p$.never();let J=WN(U,I),z=U.type||U.enum!==void 0||U.const!==void 0;if(U.anyOf&&Array.isArray(U.anyOf)){let L=U.anyOf.map((B)=>D1(B,I)),S=p$.union(L);J=z?p$.intersection(J,S):S}if(U.oneOf&&Array.isArray(U.oneOf)){let L=U.oneOf.map((B)=>D1(B,I)),S=p$.xor(L);J=z?p$.intersection(J,S):S}if(U.allOf&&Array.isArray(U.allOf))if(U.allOf.length===0)J=z?J:p$.any();else{let L=z?J:D1(U.allOf[0],I),S=z?0:1;for(let B=S;B<U.allOf.length;B++)L=p$.intersection(L,D1(U.allOf[B],I));J=L}if(U.nullable===!0&&I.version==="openapi-3.0")J=p$.nullable(J);if(U.readOnly===!0)J=p$.readonly(J);if(U.default!==void 0)J=J.default(U.default);let v={},Z=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let L of Z)if(L in U)v[L]=U[L];let Y=["contentEncoding","contentMediaType","contentSchema"];for(let L of Y)if(L in U)v[L]=U[L];for(let L of Object.keys(U))if(!Uu.has(L))v[L]=U[L];if(Object.keys(v).length>0)I.registry.add(J,v);if(U.description)J=J.describe(U.description);return J}function KN(U,I){if(typeof U==="boolean")return U?p$.any():p$.never();let J;try{J=JSON.parse(JSON.stringify(U))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let z=vu(J,I?.defaultTarget),v=J.$defs||J.definitions||{},Z={version:z,defs:v,refs:new Map,processing:new Set,rootSchema:J,registry:I?.registry??e6};return D1(J,Z)}var Rq={};m1(Rq,{string:()=>Xu,number:()=>Ju,date:()=>Gu,boolean:()=>Qu,bigint:()=>Yu});function Xu(U){return rL(IW,U)}function Ju(U){return U7(JW,U)}function Qu(U){return G7(QW,U)}function Yu(U){return z7(YW,U)}function Gu(U){return A7(KO,U)}_4(eK());var ON=Wj.object({id:Wj.string().min(1).optional(),name:Wj.string().min(1).optional(),kind:Wj.enum(["human","agent","bot","system"])}),VN=Wj.object({type:Wj.string().min(1),id:Wj.string().min(1)}),DN=Wj.object({provider:Wj.string().min(1),id:Wj.string().min(1).optional(),url:Wj.string().min(1).optional(),cursor:Wj.string().min(1).optional(),rawRef:Wj.string().min(1).optional()}),Eq=Wj.object({id:Wj.string().min(1),service:Wj.string().min(1),type:Wj.string().min(1),schemaVersion:Wj.number().int().positive(),idempotencyKey:Wj.string().min(1),occurredAt:Wj.string().min(1),observedAt:Wj.string().min(1),origin:Wj.enum(["virtual","external","agent","connector","replay","migration"]),actor:ON.optional(),subject:VN,causationId:Wj.string().min(1).optional(),correlationId:Wj.string().min(1).optional(),external:DN.optional(),data:Wj.record(Wj.string(),Wj.unknown()),raw:Wj.record(Wj.string(),Wj.unknown()).optional()}),FN=Wj.object({version:Wj.literal(1),service:Wj.string().min(1),rebuiltAt:Wj.string().min(1),eventCount:Wj.number().int().nonnegative(),latestEventId:Wj.string().min(1).optional(),subjects:Wj.record(Wj.string(),Wj.object({type:Wj.string().min(1),id:Wj.string().min(1),latestEventId:Wj.string().min(1),latestType:Wj.string().min(1),updatedAt:Wj.string().min(1)}))});function HN(U){return pX(U||process.env.PROJECT_ROOT||process.cwd())}function G9(){let U=process.env.VOLTER_STATE_DIR||".volter";if(g8(U)||U.split(/[\\/]/).includes(".."))throw Error("VOLTER_STATE_DIR must be a relative directory without .. segments");return U}function pD(U){return L2(HN(U),G9(),"world")}function Wu(U){if(!/^[A-Za-z0-9_-]+$/.test(U))throw Error(`Invalid world service name: ${U}`);return U}var _N;function MN(U){_N=U}function II(U,I){let J=Wu(U);_N?.(J,I);let z=HN(I),v=L2(pD(I),J);return{root:z,service:J,dir:v,events:L2(v,"events.jsonl"),state:L2(v,"state.json"),resources:L2(v,"resources"),cursors:L2(v,"cursors"),ingests:L2(v,"ingests"),eventQueue:L2(v,"event-queue.jsonl")}}var Ku={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 LN="2.0",Hu=Number(LN.split(".")[0]);VU();var{AsyncLocalStorage:qt}=(()=>({}));var{AsyncLocalStorage:lu}=(()=>({}));var Bu;function qN(U){Bu=U}var gq="/__volter/world-boot";var{chmodSync:ut,existsSync:ht,mkdirSync:pt,readFileSync:lt,writeFileSync:dt}=(()=>({}));VU();var du=1e6,nu=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,iu=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function RN(U){return`sha256:${a6("sha256").update(U,"utf8").digest("hex").slice(0,16)}`}function ru(U,I,J){let z=iu.exec(I);if(!z&&!nu.test(U))return;let v=U.toLowerCase();if(I==="")return{name:v,in:J,empty:!0};if(z)return{name:v,in:J,scheme:z[1],fp:RN(z[2])};return{name:v,in:J,fp:RN(I)}}function NN(U,I){let J=[],z=new Set,v=(Z,Y,L)=>{let S=ru(Z,Y,L);if(!S)return;let B=`${S.in}:${S.name}`;if(z.has(B))return;z.add(B),J.push(S)};try{if(typeof U.forEach==="function")U.forEach((Z,Y)=>v(Y,Z,"header"));else for(let[Z,Y]of Object.entries(U))v(Z,String(Y),"header")}catch{}try{if(I!==void 0){let Z=typeof I==="string"?new URL(I,"http://twin.invalid").search:I.search;for(let[Y,L]of new URLSearchParams(Z))v(Y,L,"query")}}catch{}return J.sort((Z,Y)=>Z.in===Y.in?Z.name.localeCompare(Y.name):Z.in.localeCompare(Y.in))}function Sq(U=process.env){return U.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function SN(U,I){return L2(H4(II(U,I).events),"requests.jsonl")}function wN(U,I,J){if(!Sq())return;try{let z=p1(),v=SN(U,J);if(z.mkdir(H4(v)),(z.stat(v)?.size??0)>=du)z.writeAtomic(`${v}.1`,z.read(v)??""),z.write(v,"");let Y=JSON.stringify({at:I.at??new Date().toISOString(),method:I.method.toUpperCase(),path:I.path.split("?")[0],status:I.status,...typeof I.ms==="number"?{ms:I.ms}:{},...I.credentials?.length?{credentials:I.credentials}:{}});z.append(v,`${Y}
|
|
449
|
+
`)}catch{}}var kN=Symbol.for("volter.twin.requestJournal.identity"),EN=Symbol.for("volter.twin.requestJournal.installed"),Nq;function ou(){return Nq??=new lu,Nq}function tu(){MN((U,I)=>{let J=Nq?.getStore();if(!J||J.identity!==void 0)return;J.identity=I===void 0?{service:U}:{service:U,root:I}})}function su(U=process.argv){let I=U.indexOf("--root"),J=I>=0?U[I+1]:void 0;return J&&!J.startsWith("--")?J:void 0}var au=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function TN(U){if(!U)return;let I=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let J of U.matchAll(I)){let z=J[1];if(!au.has(z))return z}return}function eu(){if(typeof window<"u"||typeof document<"u")return!1;let U=globalThis.Bun,I=U&&typeof U.serve==="function"?U.serve:void 0;if(I&&I[EN])return!0;if(tu(),qN((z)=>BN(z,TN(Error().stack))),!I)return!1;let J=function(v,...Z){let Y=v;if(!Y||typeof Y.fetch!=="function")return I.apply(this,[v,...Z]);let L=Y[kN]?void 0:TN(Error().stack);return I.apply(this,[{...Y,fetch:BN(Y,L)},...Z])};return Object.defineProperty(J,EN,{value:!0}),U.serve=J,!0}function BN(U,I){if(U.twinRequestJournal===!1)return U.fetch;{let z=U[kN],v=U.fetch;return async function(Y,L){if(!Sq()||new URL(Y.url).pathname===gq)return v.call(this,Y,L);let S={},B=500,g=Date.now();try{let H=await ou().run(S,()=>v.call(this,Y,L));if(H instanceof Response)B=H.status;else if(H===void 0)return H;return H}finally{z??=S.identity;let H=z??$h(I);if(H){let T=new URL(Y.url);wN(H.service,{method:Y.method,path:T.pathname,status:B,ms:Date.now()-g,credentials:NN(Y.headers,T)},H.root)}}}}}function $h(U){let I=process.env.VOLTER_TWIN_JOURNAL_SERVICE||U;if(!I||!/^[A-Za-z0-9_-]+$/.test(I))return;let J=su();return J===void 0?{service:I}:{service:I,root:J}}eu();VU();var Es=Symbol("absent");VU();var{closeSync:Dh,existsSync:qO,mkdirSync:Fh,openSync:Hh,readdirSync:_h,readFileSync:Mh,readSync:Lh,renameSync:Ah,rmSync:dN,statSync:xq,writeFileSync:qh}=(()=>({}));VU();var{closeSync:kq,constants:Xz,fstatSync:bN,ftruncateSync:Gh,linkSync:Zh,lstatSync:wq,mkdirSync:zh,openSync:cq,readFileSync:Wh,readSync:xN,rmSync:Kh,writeFileSync:Oh}=(()=>({}));var mN=131072,uN=32,hN=4;function pN(U){return U.isFile()&&U.nlink===1&&(!process.getuid||U.uid===process.getuid())&&(U.mode&63)===0}function yN(U){try{let I=wq(U);return I.isDirectory()&&(I.mode&63)===0&&(!process.getuid||I.uid===process.getuid())}catch{return!1}}function fN(U){let I;try{I=cq(U,Xz.O_RDONLY|Xz.O_NONBLOCK|(Xz.O_NOFOLLOW??0));let J=bN(I);if(!pN(J)||J.size>mN)return{};let z=JSON.parse(Wh(I,"utf8"));if(!z||typeof z!=="object"||Array.isArray(z))return{};let v={};for(let[Z,Y]of Object.entries(z).slice(-uN)){if(!/^\d+:[a-f0-9]{64}$/.test(Z)||!Array.isArray(Y))continue;v[Z]=Y.filter((L)=>typeof L==="string"&&L.length<=4096&&g8(L)).slice(0,hN)}return v}catch{return{}}finally{if(I!==void 0)kq(I)}}function Vh(U,I){let J=cq(U,"r");try{let z=a6("sha256"),v=Buffer.allocUnsafe(65536),Z=I;while(Z>0){let Y=xN(J,v,0,Math.min(v.length,Z),null);if(!Y)return null;z.update(v.subarray(0,Y)),Z-=Y}if(xN(J,v,0,1,null))return null;return z.digest("hex")}finally{kq(J)}}function lN(U,I,J){let z=L2(U,`${J.slice(0,2)}.json`),v=`${I}:${J}`;return{reuse(Z,Y){if(!yN(U))return!1;for(let L of fN(z)[v]??[]){try{let S=wq(L);if(!S.isFile()||S.dev!==I||S.size!==Y||process.getuid&&S.uid!==process.getuid())continue;Zh(L,Z);let B=wq(Z);if(B.isFile()&&B.dev===I&&B.size===Y&&(!process.getuid||B.uid===process.getuid())&&Vh(Z,Y)===J)return!0}catch{}Kh(Z,{force:!0})}return!1},record(Z){try{let Y=pX(Z);if(Y.length>4096)return;let L=fN(z),S=[Y,...(L[v]??[]).filter((H)=>H!==Y)].slice(0,hN);delete L[v],L[v]=S;let B=JSON.stringify(L);while(Object.keys(L).length>uN||Buffer.byteLength(B)>mN)delete L[Object.keys(L)[0]],B=JSON.stringify(L);if(zh(U,{recursive:!0,mode:448}),!yN(U))return;let g=cq(z,Xz.O_WRONLY|Xz.O_CREAT|Xz.O_NONBLOCK|(Xz.O_NOFOLLOW??0),384);try{if(!pN(bN(g)))return;Gh(g,0),Oh(g,B)}finally{kq(g)}}catch{}}}}class yq{options;constructor(U={}){this.options=U}async get(U){if(!qO(U))return null;return new Uint8Array(Mh(U))}async put(U,I){Fh(H4(U),{recursive:!0});let J=`${U}.tmp.${B8()}`,z;try{if(this.options.sharedIndexRoot!==!1)try{z=lN(this.options.sharedIndexRoot??L2(kK(),"blob-index-v1"),xq(H4(U)).dev,nN(I))}catch{}if(!z?.reuse(J,I.byteLength))qh(J,I,{flag:"wx"});Ah(J,U),z?.record(U)}finally{dN(J,{force:!0})}}async exists(U){return qO(U)}async remove(U){dN(U,{force:!0,recursive:U.endsWith("/")})}async list(U){let I=[],J=(z)=>{if(!qO(z))return;for(let v of _h(z,{withFileTypes:!0})){let Z=L2(z,v.name);if(v.isDirectory())J(Z);else if(!v.name.includes(".tmp."))I.push(Z)}};return J(U.replace(/\/$/,"")),I.sort()}async size(U){if(!qO(U))return null;return xq(U).size}async getRange(U,I,J){if(!qO(U))return null;let z=xq(U).size,v=Math.max(0,I),Z=Math.min(J,z-1);if(Z<v)return new Uint8Array(0);let Y=new Uint8Array(Z-v+1),L=Hh(U,"r"),S=0;try{while(S<Y.length){let B=Lh(L,Y,S,Y.length-S,v+S);if(B===0)break;S+=B}}finally{Dh(L)}return S===Y.length?Y:Y.subarray(0,S)}}function nN(U){return a6("sha256").update(U).digest("hex")}var ls=new yq;lq();var ns=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])$"),is=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,})?$");VU();var{existsSync:qa,readFileSync:Pa,statSync:Ca}=(()=>({}));class Zp{buf=new Uint8Array(65536);len=0;push(U){if(this.len===this.buf.length){let I=new Uint8Array(this.buf.length*2);I.set(this.buf),this.buf=I}this.buf[this.len++]=U}copy(U,I){if(U>this.len)throw Error("inflate: distance too far back");for(let J=0;J<I;J++)this.push(this.buf[this.len-U])}bytes(){return this.buf.slice(0,this.len)}}var da="0".repeat(40),na=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:Xe}=(()=>({}));var{AsyncLocalStorage:ze}=(()=>({}));var{existsSync:Oe,readFileSync:Ve,statSync:De}=(()=>({}));var{existsSync:_e,readFileSync:Me}=(()=>({}));var{existsSync:qe}=(()=>({}));var{AsyncLocalStorage:Ap}=(()=>({}));var GU0=new Ap;VU();VU();var Tp=Z2(C3(),1);VU();var TU0=Object.freeze({"x-hubspot-ratelimit-max":"190","x-hubspot-ratelimit-interval-milliseconds":"10000","x-hubspot-ratelimit-daily":"625000"});var gp=["EQ","NEQ","LT","LTE","GT","GTE","BETWEEN","IN","NOT_IN","HAS_PROPERTY","NOT_HAS_PROPERTY","CONTAINS_TOKEN","NOT_CONTAINS_TOKEN"],BU0=new Set(gp);VU();var wp=Z2(R3(),1),kp=Z2(E3(),1),rD,rq;rD=wp,rq=kp;var{version:cp,renderToString:xp,renderToStaticMarkup:T3}=rD,yp=rq.renderToReadableStream,fp=rq.resume;var B3=Z2(z6(),1);var mp=Z2(z6(),1);var up=Z2(z6(),1);var hp=Z2(z6(),1);var rp=Z2(z6(),1);var op=Z2(z6(),1);var ep=Z2(z6(),1);var $l=Z2(z6(),1);var eq=[{key:"contacts",label:"Contacts",path:"/crm/v3/objects/contacts?limit=100&properties=email,firstname,lastname,phone,lifecyclestage"},{key:"companies",label:"Companies",path:"/crm/v3/objects/companies?limit=100&properties=name,domain,city,industry"},{key:"deals",label:"Deals",path:"/crm/v3/objects/deals?limit=100&properties=dealname,amount,dealstage,pipeline,closedate"},{key:"tickets",label:"Tickets",path:"/crm/v3/objects/tickets?limit=100&properties=subject,content,hs_pipeline_stage,hs_ticket_priority"}],f3={contacts:[{prop:"firstname",label:"First name"},{prop:"lastname",label:"Last name"},{prop:"email",label:"Email"},{prop:"phone",label:"Phone"},{prop:"lifecyclestage",label:"Lifecycle stage"}],companies:[{prop:"name",label:"Name"},{prop:"domain",label:"Domain"},{prop:"city",label:"City"},{prop:"industry",label:"Industry"}],deals:[{prop:"dealname",label:"Deal name"},{prop:"amount",label:"Amount"},{prop:"dealstage",label:"Stage"},{prop:"closedate",label:"Close date"}],tickets:[{prop:"subject",label:"Ticket name"},{prop:"hs_ticket_priority",label:"Priority"},{prop:"hs_pipeline_stage",label:"Status"}]},jl={contacts:["firstname","lastname","email"],companies:["name","domain"],deals:["dealname"],tickets:["subject"]};function tD(U,I){let J=I??{},z=jl[U].map((v)=>J[v]).filter((v)=>typeof v==="string"&&v!=="");return z.length?z.join(" "):"(no name)"}function $P(U){let I=String(U??"").toLowerCase();if(I==="")return"";if(I==="closedwon")return"ok";if(I==="closedlost")return"bad";return"warn"}function jP(U){let I=Number(U);if(U===null||U===void 0||U===""||!Number.isFinite(I))return"—";return`$${I.toLocaleString("en-US",{maximumFractionDigits:2})}`}function b3(U){let I=new Map;for(let J of U){let z=String(J.properties?.dealstage??"")||"unstaged",v=I.get(z);if(v)v.push(J);else I.set(z,[J])}return[...I.entries()].sort((J,z)=>J[0].localeCompare(z[0])).map(([J,z])=>({stage:J,rows:z}))}var gj=Z2(z6(),1),Ul=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),h3={ok:"pill pill-ok",warn:"pill pill-warn",bad:"pill pill-bad","":"pill"};async function vl(U){let J=await(await fetch(`${Ul}${U}`)).json();return Array.isArray(J.results)?J.results:[]}function Il({section:U,rows:I}){if(I.length===0)return gj.jsxDEV("div",{className:"empty",children:["No ",U," yet."]},void 0,!0,void 0,this);let J=f3[U];return gj.jsxDEV("table",{className:"records-table",children:[gj.jsxDEV("thead",{children:gj.jsxDEV("tr",{children:[gj.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),J.map((z)=>gj.jsxDEV("th",{children:z.label},z.prop,!1,void 0,this)),gj.jsxDEV("th",{children:"Record ID"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),gj.jsxDEV("tbody",{children:I.map((z)=>gj.jsxDEV("tr",{className:"list-row","data-record-id":z.id,children:[gj.jsxDEV("td",{className:"cell-title",children:tD(U,z.properties)},void 0,!1,void 0,this),J.map((v)=>gj.jsxDEV("td",{className:"cell-prop",children:v.prop==="amount"?jP(z.properties?.amount):v.prop==="dealstage"?gj.jsxDEV("span",{className:h3[$P(z.properties?.dealstage)],children:z.properties?.dealstage??"—"},void 0,!1,void 0,this):z.properties?.[v.prop]??"—"},v.prop,!1,void 0,this)),gj.jsxDEV("td",{className:"cell-id",children:z.id},void 0,!1,void 0,this)]},z.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Xl({rows:U}){let I=b3(U);if(I.length===0)return gj.jsxDEV("div",{className:"empty",children:"No deals yet."},void 0,!1,void 0,this);return gj.jsxDEV("div",{className:"deal-board",children:I.map((J)=>gj.jsxDEV("section",{className:"board-column","data-stage":J.stage,children:[gj.jsxDEV("header",{className:"board-column-head",children:[gj.jsxDEV("span",{className:h3[$P(J.stage)],children:J.stage},void 0,!1,void 0,this),gj.jsxDEV("span",{className:"board-count",children:J.rows.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this),J.rows.map((z)=>gj.jsxDEV("article",{className:"deal-card list-row","data-record-id":z.id,children:[gj.jsxDEV("div",{className:"cell-title",children:tD("deals",z.properties)},void 0,!1,void 0,this),gj.jsxDEV("div",{className:"deal-amount",children:jP(z.properties?.amount)},void 0,!1,void 0,this)]},z.id,!0,void 0,this))]},J.stage,!0,void 0,this))},void 0,!1,void 0,this)}function g60({section:U,rows:I}){let J=I[0];if(!J)return gj.jsxDEV("div",{className:"empty",children:"No record."},void 0,!1,void 0,this);let z=Object.entries(J.properties??{});return gj.jsxDEV("section",{className:"record-detail","data-record-id":J.id,children:[gj.jsxDEV("h2",{className:"detail-title",children:tD(U,J.properties)},void 0,!1,void 0,this),gj.jsxDEV("table",{className:"property-table",children:gj.jsxDEV("tbody",{children:z.map(([v,Z])=>gj.jsxDEV("tr",{className:"list-row","data-prop":v,children:[gj.jsxDEV("td",{className:"cell-prop-name",children:v},void 0,!1,void 0,this),gj.jsxDEV("td",{className:"cell-prop-value",children:Z??"—"},void 0,!1,void 0,this)]},v,!0,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Jl(){let[U,I]=WW.useState("contacts"),[J,z]=WW.useState(!1),[v,Z]=WW.useState([]);return WW.useEffect(()=>{let Y=eq.find((L)=>L.key===U);vl(Y.path).then(Z).catch(()=>Z([]))},[U]),gj.jsxDEV("div",{className:"app",children:[gj.jsxDEV("header",{className:"topbar",children:[gj.jsxDEV("span",{className:"brand",children:"HubSpot twin"},void 0,!1,void 0,this),U==="deals"?gj.jsxDEV("button",{className:"view-toggle",onClick:()=>z((Y)=>!Y),children:J?"Table":"Board"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),gj.jsxDEV("nav",{className:"sidebar",children:eq.map((Y)=>gj.jsxDEV("button",{className:`nav-item${Y.key===U?" active":""}`,onClick:()=>{I(Y.key),z(!1)},children:Y.label},Y.key,!1,void 0,this))},void 0,!1,void 0,this),gj.jsxDEV("main",{className:"content",children:U==="deals"&&J?gj.jsxDEV(Xl,{rows:v},void 0,!1,void 0,this):gj.jsxDEV(Il,{section:U,rows:v},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var m3=typeof document<"u"?document.getElementById("root"):null;if(m3)u3.createRoot(m3).render(gj.jsxDEV(Jl,{},void 0,!1,void 0,this));export{Il as RecordsTable,g60 as RecordDetail,Xl as DealBoard};
|