@volter/twin-instagram 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.
Files changed (39) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +56 -0
  3. package/dist/client/instagram-mirror.bundle.js +321 -0
  4. package/dist/client/instagram-mirror.d.ts +58 -0
  5. package/dist/client/instagram-mirror.js +257 -0
  6. package/dist/src/cli.d.ts +2 -0
  7. package/dist/src/cli.js +30 -0
  8. package/dist/src/index.d.ts +10 -0
  9. package/dist/src/index.js +71 -0
  10. package/dist/src/instagram-budget.d.ts +44 -0
  11. package/dist/src/instagram-budget.js +112 -0
  12. package/dist/src/instagram-capabilities.d.ts +4 -0
  13. package/dist/src/instagram-capabilities.js +1249 -0
  14. package/dist/src/instagram-conformance.d.ts +8 -0
  15. package/dist/src/instagram-conformance.js +44 -0
  16. package/dist/src/instagram-connector.d.ts +79 -0
  17. package/dist/src/instagram-connector.js +437 -0
  18. package/dist/src/instagram-errors.d.ts +33 -0
  19. package/dist/src/instagram-errors.js +73 -0
  20. package/dist/src/instagram-media.d.ts +134 -0
  21. package/dist/src/instagram-media.js +388 -0
  22. package/dist/src/instagram-mirror-ui.d.ts +57 -0
  23. package/dist/src/instagram-mirror-ui.js +158 -0
  24. package/dist/src/instagram-server.d.ts +14 -0
  25. package/dist/src/instagram-server.js +146 -0
  26. package/dist/src/instagram-twin.d.ts +52 -0
  27. package/dist/src/instagram-twin.js +884 -0
  28. package/package.json +57 -0
  29. package/src/cli.ts +28 -0
  30. package/src/index.ts +117 -0
  31. package/src/instagram-budget.ts +130 -0
  32. package/src/instagram-capabilities.ts +1191 -0
  33. package/src/instagram-conformance.ts +58 -0
  34. package/src/instagram-connector.ts +400 -0
  35. package/src/instagram-errors.ts +89 -0
  36. package/src/instagram-media.ts +403 -0
  37. package/src/instagram-mirror-ui.ts +173 -0
  38. package/src/instagram-server.ts +146 -0
  39. package/src/instagram-twin.ts +859 -0
@@ -0,0 +1,321 @@
1
+ var fg=Object.create;var{getPrototypeOf:yg,defineProperty:dG,getOwnPropertyNames:g_,getOwnPropertyDescriptor:bg}=Object,x_=Object.prototype.hasOwnProperty;function w_(I){return this[I]}var ug,hg,a4=(I,J,Q)=>{var z=I!=null&&typeof I==="object";if(z){var X=J?ug??=new WeakMap:hg??=new WeakMap,W=X.get(I);if(W)return W}Q=I!=null?fg(yg(I)):{};let Z=J||!I||!I.__esModule?dG(Q,"default",{value:I,enumerable:!0}):Q;for(let L of g_(I))if(!x_.call(Z,L))dG(Z,L,{get:w_.bind(I,L),enumerable:!0});if(z)X.set(I,Z);return Z},j$=(I)=>{var J=(k_??=new WeakMap).get(I),Q;if(J)return J;if(J=dG({},"__esModule",{value:!0}),I&&typeof I==="object"||typeof I==="function"){for(var z of g_(I))if(!x_.call(J,z))dG(J,z,{get:w_.bind(I,z),enumerable:!(Q=bg(I,z))||Q.enumerable})}return k_.set(I,J),J},k_,UX=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports);var cg=(I)=>I;function pg(I,J){this[I]=cg.bind(null,J)}var f1=(I,J)=>{for(var Q in J)dG(I,Q,{get:J[Q],enumerable:!0,configurable:!0,set:pg.bind(J,Q)})};var TY=(I,J)=>()=>(I&&(J=I(I=0)),J);var mg=((I)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(I,{get:(J,Q)=>(typeof require<"u"?require:J)[Q]}):I)(function(I){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+I+'" is not supported')});var f_=UX((lg)=>{(function(){function I(){if(p=!1,L0){var O=lg.unstable_now();q0=O;var H=!0;try{$:{g=!1,b&&(b=!1,a(S0),S0=-1),u=!0;var q=w;try{U:{W(O);for(y=Q(_);y!==null&&!(y.expirationTime>O&&L());){var E=y.callback;if(typeof E==="function"){y.callback=null,w=y.priorityLevel;var A=E(y.expirationTime<=O);if(O=lg.unstable_now(),typeof A==="function"){y.callback=A,W(O),H=!0;break U}y===Q(_)&&z(_),W(O)}else z(_);y=Q(_)}if(y!==null)H=!0;else{var K=Q(B);K!==null&&j(Z,K.startTime-O),H=!1}}break $}finally{y=null,w=q,u=!1}H=void 0}}finally{H?G():L0=!1}}}function J(O,H){var q=O.length;O.push(H);$:for(;0<q;){var E=q-1>>>1,A=O[E];if(0<X(A,H))O[E]=H,O[q]=A,q=E;else break $}}function Q(O){return O.length===0?null:O[0]}function z(O){if(O.length===0)return null;var H=O[0],q=O.pop();if(q!==H){O[0]=q;$:for(var E=0,A=O.length,K=A>>>1;E<K;){var C=2*(E+1)-1,x=O[C],v=C+1,h=O[v];if(0>X(x,q))v<A&&0>X(h,x)?(O[E]=h,O[v]=q,E=v):(O[E]=x,O[C]=q,E=C);else if(v<A&&0>X(h,q))O[E]=h,O[v]=q,E=v;else break $}}return H}function X(O,H){var q=O.sortIndex-H.sortIndex;return q!==0?q:O.id-H.id}function W(O){for(var H=Q(B);H!==null;){if(H.callback===null)z(B);else if(H.startTime<=O)z(B),H.sortIndex=H.expirationTime,J(_,H);else break;H=Q(B)}}function Z(O){if(b=!1,W(O),!g)if(Q(_)!==null)g=!0,L0||(L0=!0,G());else{var H=Q(B);H!==null&&j(Z,H.startTime-O)}}function L(){return p?!0:lg.unstable_now()-q0<t?!1:!0}function j(O,H){S0=d(function(){O(lg.unstable_now())},H)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),lg.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var P=performance;lg.unstable_now=function(){return P.now()}}else{var S=Date,T=S.now();lg.unstable_now=function(){return S.now()-T}}var _=[],B=[],N=1,y=null,w=3,u=!1,g=!1,b=!1,p=!1,d=typeof setTimeout==="function"?setTimeout:null,a=typeof clearTimeout==="function"?clearTimeout:null,H0=typeof setImmediate<"u"?setImmediate:null,L0=!1,S0=-1,t=5,q0=-1;if(typeof H0==="function")var G=function(){H0(I)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,D=V.port2;V.port1.onmessage=I,G=function(){D.postMessage(null)}}else G=function(){d(I,0)};lg.unstable_IdlePriority=5,lg.unstable_ImmediatePriority=1,lg.unstable_LowPriority=4,lg.unstable_NormalPriority=3,lg.unstable_Profiling=null,lg.unstable_UserBlockingPriority=2,lg.unstable_cancelCallback=function(O){O.callback=null},lg.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):t=0<O?Math.floor(1000/O):5},lg.unstable_getCurrentPriorityLevel=function(){return w},lg.unstable_next=function(O){switch(w){case 1:case 2:case 3:var H=3;break;default:H=w}var q=w;w=H;try{return O()}finally{w=q}},lg.unstable_requestPaint=function(){p=!0},lg.unstable_runWithPriority=function(O,H){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var q=w;w=O;try{return H()}finally{w=q}},lg.unstable_scheduleCallback=function(O,H,q){var E=lg.unstable_now();switch(typeof q==="object"&&q!==null?(q=q.delay,q=typeof q==="number"&&0<q?E+q:E):q=E,O){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5000}return A=q+A,O={id:N++,callback:H,priorityLevel:O,startTime:q,expirationTime:A,sortIndex:-1},q>E?(O.sortIndex=q,J(B,O),Q(_)===null&&O===Q(B)&&(b?(a(S0),S0=-1):b=!0,j(Z,q-E))):(O.sortIndex=A,J(_,O),g||u||(g=!0,L0||(L0=!0,G()))),O},lg.unstable_shouldYield=L,lg.unstable_wrapCallback=function(O){var H=w;return function(){var q=w;w=H;try{return O.apply(this,arguments)}finally{w=q}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var nG=UX((dg,J8)=>{(function(){function I(m,X0){Object.defineProperty(z.prototype,m,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",X0[0],X0[1])}})}function J(m){if(m===null||typeof m!=="object")return null;return m=e&&m[e]||m["@@iterator"],typeof m==="function"?m:null}function Q(m,X0){m=(m=m.constructor)&&(m.displayName||m.name)||"ReactClass";var e0=m+"."+X0;J0[e0]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",X0,m),J0[e0]=!0)}function z(m,X0,e0){this.props=m,this.context=X0,this.refs=$0,this.updater=e0||Z0}function X(){}function W(m,X0,e0){this.props=m,this.context=X0,this.refs=$0,this.updater=e0||Z0}function Z(){}function L(m){return""+m}function j(m){try{L(m);var X0=!1}catch(N0){X0=!0}if(X0){X0=console;var e0=X0.error,j0=typeof Symbol==="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return e0.call(X0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",j0),L(m)}}function P(m){if(m==null)return null;if(typeof m==="function")return m.$$typeof===D0?null:m.displayName||m.name||null;if(typeof m==="string")return m;switch(m){case A:return"Fragment";case C:return"Profiler";case K:return"StrictMode";case r:return"Suspense";case U0:return"SuspenseList";case s:return"Activity"}if(typeof m==="object")switch(typeof m.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case E:return"Portal";case v:return m.displayName||"Context";case x:return(m._context.displayName||"Context")+".Consumer";case h:var X0=m.render;return m=m.displayName,m||(m=X0.displayName||X0.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case W0:return X0=m.displayName||null,X0!==null?X0:P(m.type)||"Memo";case Y0:X0=m._payload,m=m._init;try{return P(m(X0))}catch(e0){}}return null}function S(m){if(m===A)return"<>";if(typeof m==="object"&&m!==null&&m.$$typeof===Y0)return"<...>";try{var X0=P(m);return X0?"<"+X0+">":"<...>"}catch(e0){return"<...>"}}function T(){var m=Q0.A;return m===null?null:m.getOwner()}function _(){return Error("react-stack-top-frame")}function B(m){if(O0.call(m,"key")){var X0=Object.getOwnPropertyDescriptor(m,"key").get;if(X0&&X0.isReactWarning)return!1}return m.key!==void 0}function N(m,X0){function e0(){I0||(I0=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",X0))}e0.isReactWarning=!0,Object.defineProperty(m,"key",{get:e0,configurable:!0})}function y(){var m=P(this.type);return I$[m]||(I$[m]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),m=this.props.ref,m!==void 0?m:null}function w(m,X0,e0,j0,N0,D$){var x0=e0.ref;return m={$$typeof:q,type:m,key:X0,props:e0,_owner:j0},(x0!==void 0?x0:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:y}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(m,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:N0}),Object.defineProperty(m,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:D$}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function u(m,X0){return X0=w(m.type,X0,m.props,m._owner,m._debugStack,m._debugTask),m._store&&(X0._store.validated=m._store.validated),X0}function g(m){b(m)?m._store&&(m._store.validated=1):typeof m==="object"&&m!==null&&m.$$typeof===Y0&&(m._payload.status==="fulfilled"?b(m._payload.value)&&m._payload.value._store&&(m._payload.value._store.validated=1):m._store&&(m._store.validated=1))}function b(m){return typeof m==="object"&&m!==null&&m.$$typeof===q}function p(m){var X0={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(e0){return X0[e0]})}function d(m,X0){return typeof m==="object"&&m!==null&&m.key!=null?(j(m.key),p(""+m.key)):X0.toString(36)}function a(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status==="string"?m.then(Z,Z):(m.status="pending",m.then(function(X0){m.status==="pending"&&(m.status="fulfilled",m.value=X0)},function(X0){m.status==="pending"&&(m.status="rejected",m.reason=X0)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function H0(m,X0,e0,j0,N0){var D$=typeof m;if(D$==="undefined"||D$==="boolean")m=null;var x0=!1;if(m===null)x0=!0;else switch(D$){case"bigint":case"string":case"number":x0=!0;break;case"object":switch(m.$$typeof){case q:case E:x0=!0;break;case Y0:return x0=m._init,H0(x0(m._payload),X0,e0,j0,N0)}}if(x0){x0=m,N0=N0(x0);var y0=j0===""?"."+d(x0,0):j0;return n(N0)?(e0="",y0!=null&&(e0=y0.replace(m0,"$&/")+"/"),H0(N0,X0,e0,"",function(o0){return o0})):N0!=null&&(b(N0)&&(N0.key!=null&&(x0&&x0.key===N0.key||j(N0.key)),e0=u(N0,e0+(N0.key==null||x0&&x0.key===N0.key?"":(""+N0.key).replace(m0,"$&/")+"/")+y0),j0!==""&&x0!=null&&b(x0)&&x0.key==null&&x0._store&&!x0._store.validated&&(e0._store.validated=2),N0=e0),X0.push(N0)),1}if(x0=0,y0=j0===""?".":j0+":",n(m))for(var V$=0;V$<m.length;V$++)j0=m[V$],D$=y0+d(j0,V$),x0+=H0(j0,X0,e0,D$,N0);else if(V$=J(m),typeof V$==="function")for(V$===m.entries&&(M$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M$=!0),m=V$.call(m),V$=0;!(j0=m.next()).done;)j0=j0.value,D$=y0+d(j0,V$++),x0+=H0(j0,X0,e0,D$,N0);else if(D$==="object"){if(typeof m.then==="function")return H0(a(m),X0,e0,j0,N0);throw X0=String(m),Error("Objects are not valid as a React child (found: "+(X0==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":X0)+"). If you meant to render a collection of children, use an array instead.")}return x0}function L0(m,X0,e0){if(m==null)return m;var j0=[],N0=0;return H0(m,j0,"","",function(D$){return X0.call(e0,D$,N0++)}),j0}function S0(m){if(m._status===-1){var X0=m._ioInfo;X0!=null&&(X0.start=X0.end=performance.now()),X0=m._result;var e0=X0();if(e0.then(function(N0){if(m._status===0||m._status===-1){m._status=1,m._result=N0;var D$=m._ioInfo;D$!=null&&(D$.end=performance.now()),e0.status===void 0&&(e0.status="fulfilled",e0.value=N0)}},function(N0){if(m._status===0||m._status===-1){m._status=2,m._result=N0;var D$=m._ioInfo;D$!=null&&(D$.end=performance.now()),e0.status===void 0&&(e0.status="rejected",e0.reason=N0)}}),X0=m._ioInfo,X0!=null){X0.value=e0;var j0=e0.displayName;typeof j0==="string"&&(X0.name=j0)}m._status===-1&&(m._status=0,m._result=e0)}if(m._status===1)return X0=m._result,X0===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,X0),"default"in X0||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,X0),X0.default;throw m._result}function t(){var m=Q0.H;return m===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}function q0(){Q0.asyncTransitions--}function G(m){if(h0===null)try{var X0=("require"+Math.random()).slice(0,7);h0=(J8&&J8[X0]).call(J8,"timers").setImmediate}catch(e0){h0=function(j0){r$===!1&&(r$=!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 N0=new MessageChannel;N0.port1.onmessage=j0,N0.port2.postMessage(void 0)}}return h0(m)}function V(m){return 1<m.length&&typeof AggregateError==="function"?AggregateError(m):m[0]}function D(m,X0){X0!==c0-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. "),c0=X0}function O(m,X0,e0){var j0=Q0.actQueue;if(j0!==null)if(j0.length!==0)try{H(j0),G(function(){return O(m,X0,e0)});return}catch(N0){Q0.thrownErrors.push(N0)}else Q0.actQueue=null;0<Q0.thrownErrors.length?(j0=V(Q0.thrownErrors),Q0.thrownErrors.length=0,e0(j0)):X0(m)}function H(m){if(!t0){t0=!0;var X0=0;try{for(;X0<m.length;X0++){var e0=m[X0];do{Q0.didUsePromise=!1;var j0=e0(!1);if(j0!==null){if(Q0.didUsePromise){m[X0]=e0,m.splice(0,X0);return}e0=j0}else break}while(1)}m.length=0}catch(N0){m.splice(0,X0+1),Q0.thrownErrors.push(N0)}finally{t0=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var q=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),v=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),U0=Symbol.for("react.suspense_list"),W0=Symbol.for("react.memo"),Y0=Symbol.for("react.lazy"),s=Symbol.for("react.activity"),e=Symbol.iterator,J0={},Z0={isMounted:function(){return!1},enqueueForceUpdate:function(m){Q(m,"forceUpdate")},enqueueReplaceState:function(m){Q(m,"replaceState")},enqueueSetState:function(m){Q(m,"setState")}},A0=Object.assign,$0={};Object.freeze($0),z.prototype.isReactComponent={},z.prototype.setState=function(m,X0){if(typeof m!=="object"&&typeof m!=="function"&&m!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,m,X0,"setState")},z.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};var c={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(qU in c)c.hasOwnProperty(qU)&&I(qU,c[qU]);X.prototype=z.prototype,c=W.prototype=new X,c.constructor=W,A0(c,z.prototype),c.isPureReactComponent=!0;var n=Array.isArray,D0=Symbol.for("react.client.reference"),Q0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},O0=Object.prototype.hasOwnProperty,k0=console.createTask?console.createTask:function(){return null};c={react_stack_bottom_frame:function(m){return m()}};var I0,z0,I$={},M0=c.react_stack_bottom_frame.bind(c,_)(),v0=k0(S(_)),M$=!1,m0=/\/+/g,p0=typeof reportError==="function"?reportError:function(m){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var X0=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(X0))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",m);return}console.error(m)},r$=!1,h0=null,c0=0,YU=!1,t0=!1,i0=typeof queueMicrotask==="function"?function(m){queueMicrotask(function(){return queueMicrotask(m)})}:G;c=Object.freeze({__proto__:null,c:function(m){return t().useMemoCache(m)}});var qU={map:L0,forEach:function(m,X0,e0){L0(m,function(){X0.apply(this,arguments)},e0)},count:function(m){var X0=0;return L0(m,function(){X0++}),X0},toArray:function(m){return L0(m,function(X0){return X0})||[]},only:function(m){if(!b(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};dg.Activity=s,dg.Children=qU,dg.Component=z,dg.Fragment=A,dg.Profiler=C,dg.PureComponent=W,dg.StrictMode=K,dg.Suspense=r,dg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q0,dg.__COMPILER_RUNTIME=c,dg.act=function(m){var X0=Q0.actQueue,e0=c0;c0++;var j0=Q0.actQueue=X0!==null?X0:[],N0=!1;try{var D$=m()}catch(V$){Q0.thrownErrors.push(V$)}if(0<Q0.thrownErrors.length)throw D(X0,e0),m=V(Q0.thrownErrors),Q0.thrownErrors.length=0,m;if(D$!==null&&typeof D$==="object"&&typeof D$.then==="function"){var x0=D$;return i0(function(){N0||YU||(YU=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(V$,o0){N0=!0,x0.then(function(r0){if(D(X0,e0),e0===0){try{H(j0),G(function(){return O(r0,V$,o0)})}catch(s0){Q0.thrownErrors.push(s0)}if(0<Q0.thrownErrors.length){var zU=V(Q0.thrownErrors);Q0.thrownErrors.length=0,o0(zU)}}else V$(r0)},function(r0){D(X0,e0),0<Q0.thrownErrors.length?(r0=V(Q0.thrownErrors),Q0.thrownErrors.length=0,o0(r0)):o0(r0)})}}}var y0=D$;if(D(X0,e0),e0===0&&(H(j0),j0.length!==0&&i0(function(){N0||YU||(YU=!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(() => ...)"))}),Q0.actQueue=null),0<Q0.thrownErrors.length)throw m=V(Q0.thrownErrors),Q0.thrownErrors.length=0,m;return{then:function(V$,o0){N0=!0,e0===0?(Q0.actQueue=j0,G(function(){return O(y0,V$,o0)})):V$(y0)}}},dg.cache=function(m){return function(){return m.apply(null,arguments)}},dg.cacheSignal=function(){return null},dg.captureOwnerStack=function(){var m=Q0.getCurrentStack;return m===null?null:m()},dg.cloneElement=function(m,X0,e0){if(m===null||m===void 0)throw Error("The argument must be a React element, but you passed "+m+".");var j0=A0({},m.props),N0=m.key,D$=m._owner;if(X0!=null){var x0;$:{if(O0.call(X0,"ref")&&(x0=Object.getOwnPropertyDescriptor(X0,"ref").get)&&x0.isReactWarning){x0=!1;break $}x0=X0.ref!==void 0}x0&&(D$=T()),B(X0)&&(j(X0.key),N0=""+X0.key);for(y0 in X0)!O0.call(X0,y0)||y0==="key"||y0==="__self"||y0==="__source"||y0==="ref"&&X0.ref===void 0||(j0[y0]=X0[y0])}var y0=arguments.length-2;if(y0===1)j0.children=e0;else if(1<y0){x0=Array(y0);for(var V$=0;V$<y0;V$++)x0[V$]=arguments[V$+2];j0.children=x0}j0=w(m.type,N0,j0,D$,m._debugStack,m._debugTask);for(N0=2;N0<arguments.length;N0++)g(arguments[N0]);return j0},dg.createContext=function(m){return m={$$typeof:v,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:x,_context:m},m._currentRenderer=null,m._currentRenderer2=null,m},dg.createElement=function(m,X0,e0){for(var j0=2;j0<arguments.length;j0++)g(arguments[j0]);j0={};var N0=null;if(X0!=null)for(V$ in z0||!("__self"in X0)||"key"in X0||(z0=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),B(X0)&&(j(X0.key),N0=""+X0.key),X0)O0.call(X0,V$)&&V$!=="key"&&V$!=="__self"&&V$!=="__source"&&(j0[V$]=X0[V$]);var D$=arguments.length-2;if(D$===1)j0.children=e0;else if(1<D$){for(var x0=Array(D$),y0=0;y0<D$;y0++)x0[y0]=arguments[y0+2];Object.freeze&&Object.freeze(x0),j0.children=x0}if(m&&m.defaultProps)for(V$ in D$=m.defaultProps,D$)j0[V$]===void 0&&(j0[V$]=D$[V$]);N0&&N(j0,typeof m==="function"?m.displayName||m.name||"Unknown":m);var V$=1e4>Q0.recentlyCreatedOwnerStacks++;return w(m,N0,j0,T(),V$?Error("react-stack-top-frame"):M0,V$?k0(S(m)):v0)},dg.createRef=function(){var m={current:null};return Object.seal(m),m},dg.forwardRef=function(m){m!=null&&m.$$typeof===W0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!=="function"?console.error("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",m.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),m!=null&&m.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var X0={$$typeof:h,render:m},e0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return e0},set:function(j0){e0=j0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:j0}),m.displayName=j0)}}),X0},dg.isValidElement=b,dg.lazy=function(m){m={_status:-1,_result:m};var X0={$$typeof:Y0,_payload:m,_init:S0},e0={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return m._ioInfo=e0,X0._debugInfo=[{awaited:e0}],X0},dg.memo=function(m,X0){m==null&&console.error("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m),X0={$$typeof:W0,type:m,compare:X0===void 0?null:X0};var e0;return Object.defineProperty(X0,"displayName",{enumerable:!1,configurable:!0,get:function(){return e0},set:function(j0){e0=j0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:j0}),m.displayName=j0)}}),X0},dg.startTransition=function(m){var X0=Q0.T,e0={};e0._updatedFibers=new Set,Q0.T=e0;try{var j0=m(),N0=Q0.S;N0!==null&&N0(e0,j0),typeof j0==="object"&&j0!==null&&typeof j0.then==="function"&&(Q0.asyncTransitions++,j0.then(q0,q0),j0.then(Z,p0))}catch(D$){p0(D$)}finally{X0===null&&e0._updatedFibers&&(m=e0._updatedFibers.size,e0._updatedFibers.clear(),10<m&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),X0!==null&&e0.types!==null&&(X0.types!==null&&X0.types!==e0.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),X0.types=e0.types),Q0.T=X0}},dg.unstable_useCacheRefresh=function(){return t().useCacheRefresh()},dg.use=function(m){return t().use(m)},dg.useActionState=function(m,X0,e0){return t().useActionState(m,X0,e0)},dg.useCallback=function(m,X0){return t().useCallback(m,X0)},dg.useContext=function(m){var X0=t();return m.$$typeof===x&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),X0.useContext(m)},dg.useDebugValue=function(m,X0){return t().useDebugValue(m,X0)},dg.useDeferredValue=function(m,X0){return t().useDeferredValue(m,X0)},dg.useEffect=function(m,X0){return m==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useEffect(m,X0)},dg.useEffectEvent=function(m){return t().useEffectEvent(m)},dg.useId=function(){return t().useId()},dg.useImperativeHandle=function(m,X0,e0){return t().useImperativeHandle(m,X0,e0)},dg.useInsertionEffect=function(m,X0){return m==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useInsertionEffect(m,X0)},dg.useLayoutEffect=function(m,X0){return m==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useLayoutEffect(m,X0)},dg.useMemo=function(m,X0){return t().useMemo(m,X0)},dg.useOptimistic=function(m,X0){return t().useOptimistic(m,X0)},dg.useReducer=function(m,X0,e0){return t().useReducer(m,X0,e0)},dg.useRef=function(m){return t().useRef(m)},dg.useState=function(m){return t().useState(m)},dg.useSyncExternalStore=function(m,X0,e0){return t().useSyncExternalStore(m,X0,e0)},dg.useTransition=function(){return t().useTransition()},dg.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var y_=UX((ng)=>{var hV=a4(nG());(function(){function I(){}function J(S){return""+S}function Q(S,T,_){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(B);var N=!1}catch(y){N=!0}return N&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&B[Symbol.toStringTag]||B.constructor.name||"Object"),J(B)),{$$typeof:j,key:B==null?null:""+B,children:S,containerInfo:T,implementation:_}}function z(S,T){if(S==="font")return"";if(typeof T==="string")return T==="use-credentials"?T:""}function X(S){return S===null?"`null`":S===void 0?"`undefined`":S===""?"an empty string":'something with type "'+typeof S+'"'}function W(S){return S===null?"`null`":S===void 0?"`undefined`":S===""?"an empty string":typeof S==="string"?JSON.stringify(S):typeof S==="number"?"`"+S+"`":'something with type "'+typeof S+'"'}function Z(){var S=P.H;return S===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.`),S}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:I,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:I,C:I,L:I,m:I,X:I,S:I,M:I},p:0,findDOMNode:null},j=Symbol.for("react.portal"),P=hV.__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"),ng.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,ng.createPortal=function(S,T){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!T||T.nodeType!==1&&T.nodeType!==9&&T.nodeType!==11)throw Error("Target container is not a DOM element.");return Q(S,T,null,_)},ng.flushSync=function(S){var T=P.T,_=L.p;try{if(P.T=null,L.p=2,S)return S()}finally{P.T=T,L.p=_,L.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ng.preconnect=function(S,T){typeof S==="string"&&S?T!=null&&typeof T!=="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.",W(T)):T!=null&&typeof T.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",X(T.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(S)),typeof S==="string"&&(T?(T=T.crossOrigin,T=typeof T==="string"?T==="use-credentials"?T:"":void 0):T=null,L.d.C(S,T))},ng.prefetchDNS=function(S){if(typeof S!=="string"||!S)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(S));else if(1<arguments.length){var T=arguments[1];typeof T==="object"&&T.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`.",W(T)):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`.",W(T))}typeof S==="string"&&L.d.D(S)},ng.preinit=function(S,T){if(typeof S==="string"&&S?T==null||typeof T!=="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.",W(T)):T.as!=="style"&&T.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".',W(T.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",X(S)),typeof S==="string"&&T&&typeof T.as==="string"){var _=T.as,B=z(_,T.crossOrigin),N=typeof T.integrity==="string"?T.integrity:void 0,y=typeof T.fetchPriority==="string"?T.fetchPriority:void 0;_==="style"?L.d.S(S,typeof T.precedence==="string"?T.precedence:void 0,{crossOrigin:B,integrity:N,fetchPriority:y}):_==="script"&&L.d.X(S,{crossOrigin:B,integrity:N,fetchPriority:y,nonce:typeof T.nonce==="string"?T.nonce:void 0})}},ng.preinitModule=function(S,T){var _="";if(typeof S==="string"&&S||(_+=" The `href` argument encountered was "+X(S)+"."),T!==void 0&&typeof T!=="object"?_+=" The `options` argument encountered was "+X(T)+".":T&&("as"in T)&&T.as!=="script"&&(_+=" The `as` option encountered was "+W(T.as)+"."),_)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",_);else switch(_=T&&typeof T.as==="string"?T.as:"script",_){case"script":break;default:_=W(_),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)',_,S)}if(typeof S==="string")if(typeof T==="object"&&T!==null){if(T.as==null||T.as==="script")_=z(T.as,T.crossOrigin),L.d.M(S,{crossOrigin:_,integrity:typeof T.integrity==="string"?T.integrity:void 0,nonce:typeof T.nonce==="string"?T.nonce:void 0})}else T==null&&L.d.M(S)},ng.preload=function(S,T){var _="";if(typeof S==="string"&&S||(_+=" The `href` argument encountered was "+X(S)+"."),T==null||typeof T!=="object"?_+=" The `options` argument encountered was "+X(T)+".":typeof T.as==="string"&&T.as||(_+=" The `as` option encountered was "+X(T.as)+"."),_&&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',_),typeof S==="string"&&typeof T==="object"&&T!==null&&typeof T.as==="string"){_=T.as;var B=z(_,T.crossOrigin);L.d.L(S,_,{crossOrigin:B,integrity:typeof T.integrity==="string"?T.integrity:void 0,nonce:typeof T.nonce==="string"?T.nonce:void 0,type:typeof T.type==="string"?T.type:void 0,fetchPriority:typeof T.fetchPriority==="string"?T.fetchPriority:void 0,referrerPolicy:typeof T.referrerPolicy==="string"?T.referrerPolicy:void 0,imageSrcSet:typeof T.imageSrcSet==="string"?T.imageSrcSet:void 0,imageSizes:typeof T.imageSizes==="string"?T.imageSizes:void 0,media:typeof T.media==="string"?T.media:void 0})}},ng.preloadModule=function(S,T){var _="";typeof S==="string"&&S||(_+=" The `href` argument encountered was "+X(S)+"."),T!==void 0&&typeof T!=="object"?_+=" The `options` argument encountered was "+X(T)+".":T&&("as"in T)&&typeof T.as!=="string"&&(_+=" The `as` option encountered was "+X(T.as)+"."),_&&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',_),typeof S==="string"&&(T?(_=z(T.as,T.crossOrigin),L.d.m(S,{as:typeof T.as==="string"&&T.as!=="script"?T.as:void 0,crossOrigin:_,integrity:typeof T.integrity==="string"?T.integrity:void 0})):L.d.m(S))},ng.requestFormReset=function(S){L.d.r(S)},ng.unstable_batchedUpdates=function(S,T){return S(T)},ng.useFormState=function(S,T,_){return Z().useFormState(S,T,_)},ng.useFormStatus=function(){return Z().useHostTransitionStatus()},ng.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var u_=UX((zd,b_)=>{var og=a4(y_());b_.exports=og});var h_=UX((ig)=>{var o$=a4(f_()),CY=a4(nG()),cV=a4(u_());(function(){function I($,U){for($=$.memoizedState;$!==null&&0<U;)$=$.next,U--;return $}function J($,U,Y,F){if(Y>=U.length)return F;var M=U[Y],R=G1($)?$.slice():y$({},$);return R[M]=J($[M],U,Y+1,F),R}function Q($,U,Y){if(U.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var F=0;F<Y.length-1;F++)if(U[F]!==Y[F]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return z($,U,Y,0)}}function z($,U,Y,F){var M=U[F],R=G1($)?$.slice():y$({},$);return F+1===U.length?(R[Y[F]]=R[M],G1(R)?R.splice(M,1):delete R[M]):R[M]=z($[M],U,Y,F+1),R}function X($,U,Y){var F=U[Y],M=G1($)?$.slice():y$({},$);if(Y+1===U.length)return G1(M)?M.splice(F,1):delete M[F],M;return M[F]=X($[F],U,Y+1),M}function W(){return!1}function Z(){return null}function L(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function j(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function P(){}function S(){}function T($){var U=[];return $.forEach(function(Y){U.push(Y)}),U.sort().join(", ")}function _($,U,Y,F){return new _N($,U,Y,F)}function B($,U){$.context===xI&&(Q9($.current,2,U,$,null,null),NJ())}function N($,U){if(E4!==null){var Y=U.staleFamilies;U=U.updatedFamilies,hQ(),bA($.current,U,Y),NJ()}}function y($){E4=$}function w($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function u($){var U=$,Y=$;if($.alternate)for(;U.return;)U=U.return;else{$=U;do U=$,(U.flags&4098)!==0&&(Y=U.return),$=U.return;while($)}return U.tag===3?Y:null}function g($){if($.tag===13){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function b($){if($.tag===31){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function p($){if(u($)!==$)throw Error("Unable to find node on an unmounted component.")}function d($){var U=$.alternate;if(!U){if(U=u($),U===null)throw Error("Unable to find node on an unmounted component.");return U!==$?null:$}for(var Y=$,F=U;;){var M=Y.return;if(M===null)break;var R=M.alternate;if(R===null){if(F=M.return,F!==null){Y=F;continue}break}if(M.child===R.child){for(R=M.child;R;){if(R===Y)return p(M),$;if(R===F)return p(M),U;R=R.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==F.return)Y=M,F=R;else{for(var k=!1,f=M.child;f;){if(f===Y){k=!0,Y=M,F=R;break}if(f===F){k=!0,F=M,Y=R;break}f=f.sibling}if(!k){for(f=R.child;f;){if(f===Y){k=!0,Y=R,F=M;break}if(f===F){k=!0,F=R,Y=M;break}f=f.sibling}if(!k)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(Y.alternate!==F)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?$:U}function a($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $;for($=$.child;$!==null;){if(U=a($),U!==null)return U;$=$.sibling}return null}function H0($){if($===null||typeof $!=="object")return null;return $=dq&&$[dq]||$["@@iterator"],typeof $==="function"?$:null}function L0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===n3?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case bJ:return"Fragment";case O9:return"Profiler";case sZ:return"StrictMode";case F9:return"Suspense";case H9:return"SuspenseList";case D9: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 yJ:return"Portal";case L6:return $.displayName||"Context";case V9:return($._context.displayName||"Context")+".Consumer";case tQ:var U=$.render;return $=$.displayName,$||($=U.displayName||U.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case eZ:return U=$.displayName||null,U!==null?U:L0($.type)||"Memo";case W4:U=$._payload,$=$._init;try{return L0($(U))}catch(Y){}}return null}function S0($){return typeof $.tag==="number"?t($):typeof $.name==="string"?$.name:null}function t($){var U=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(U._context.displayName||"Context")+".Consumer";case 10:return U.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=U.render,$=$.displayName||$.name||"",U.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return U;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return L0(U);case 8:return U===sZ?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof U==="function")return U.displayName||U.name||null;if(typeof U==="string")return U;break;case 29:if(U=$._debugInfo,U!=null){for(var Y=U.length-1;0<=Y;Y--)if(typeof U[Y].name==="string")return U[Y].name}if($.return!==null)return t($.return)}return null}function q0($){return{current:$}}function G($,U){0>d6?console.error("Unexpected pop."):(U!==M9[d6]&&console.error("Unexpected Fiber popped."),$.current=L9[d6],L9[d6]=null,M9[d6]=null,d6--)}function V($,U,Y){d6++,L9[d6]=$.current,M9[d6]=Y,$.current=U}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 O($,U){V(jI,U,$),V(aQ,$,$),V(EI,null,$);var Y=U.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",U=(U=U.documentElement)?(U=U.namespaceURI)?Hq(U):YI:YI;break;default:if(Y=U.tagName,U=U.namespaceURI)U=Hq(U),U=Dq(U,Y);else switch(Y){case"svg":U=MY;break;case"math":U=aK;break;default:U=YI}}Y=Y.toLowerCase(),Y=KA(null,Y),Y={context:U,ancestorInfo:Y},G(EI,$),V(EI,Y,$)}function H($){G(EI,$),G(aQ,$),G(jI,$)}function q(){return D(EI.current)}function E($){$.memoizedState!==null&&V($K,$,$);var U=D(EI.current),Y=$.type,F=Dq(U.context,Y);Y=KA(U.ancestorInfo,Y),F={context:F,ancestorInfo:Y},U!==F&&(V(aQ,$,$),V(EI,F,$))}function A($){aQ.current===$&&(G(EI,$),G(aQ,$)),$K.current===$&&(G($K,$),pG._currentValue=eX)}function K(){}function C(){if(sQ===0){nq=console.log,oq=console.info,iq=console.warn,rq=console.error,tq=console.group,aq=console.groupCollapsed,sq=console.groupEnd;var $={configurable:!0,enumerable:!0,value:K,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}sQ++}function x(){if(sQ--,sQ===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y$({},$,{value:nq}),info:y$({},$,{value:oq}),warn:y$({},$,{value:iq}),error:y$({},$,{value:rq}),group:y$({},$,{value:tq}),groupCollapsed:y$({},$,{value:aq}),groupEnd:y$({},$,{value:sq})})}0>sQ&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function v($){var U=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=U,$.startsWith(`Error: react-stack-top-frame
18
+ `)&&($=$.slice(29)),U=$.indexOf(`
19
+ `),U!==-1&&($=$.slice(U+1)),U=$.indexOf("react_stack_bottom_frame"),U!==-1&&(U=$.lastIndexOf(`
20
+ `,U)),U!==-1)$=$.slice(0,U);else return"";return $}function h($){if(A9===void 0)try{throw Error()}catch(Y){var U=Y.stack.trim().match(/\n( *(at )?)/);A9=U&&U[1]||"",eq=-1<Y.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+A9+$+eq}function r($,U){if(!$||T9)return"";var Y=C9.get($);if(Y!==void 0)return Y;T9=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var F=null;F=b0.H,b0.H=null,C();try{var M={DetermineComponentFrameRoot:function(){try{if(U){var V0=function(){throw Error()};if(Object.defineProperty(V0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(V0,[])}catch(z$){var g0=z$}Reflect.construct($,[],V0)}else{try{V0.call()}catch(z$){g0=z$}$.call(V0.prototype)}}else{try{throw Error()}catch(z$){g0=z$}(V0=$())&&typeof V0.catch==="function"&&V0.catch(function(){})}}catch(z$){if(z$&&g0&&typeof z$.stack==="string")return[z$.stack,g0.stack]}return[null,null]}};M.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var R=Object.getOwnPropertyDescriptor(M.DetermineComponentFrameRoot,"name");R&&R.configurable&&Object.defineProperty(M.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=M.DetermineComponentFrameRoot(),f=k[0],l=k[1];if(f&&l){var o=f.split(`
23
+ `),R0=l.split(`
24
+ `);for(k=R=0;R<o.length&&!o[R].includes("DetermineComponentFrameRoot");)R++;for(;k<R0.length&&!R0[k].includes("DetermineComponentFrameRoot");)k++;if(R===o.length||k===R0.length)for(R=o.length-1,k=R0.length-1;1<=R&&0<=k&&o[R]!==R0[k];)k--;for(;1<=R&&0<=k;R--,k--)if(o[R]!==R0[k]){if(R!==1||k!==1)do if(R--,k--,0>k||o[R]!==R0[k]){var P0=`
25
+ `+o[R].replace(" at new "," at ");return $.displayName&&P0.includes("<anonymous>")&&(P0=P0.replace("<anonymous>",$.displayName)),typeof $==="function"&&C9.set($,P0),P0}while(1<=R&&0<=k);break}}}finally{T9=!1,b0.H=F,x(),Error.prepareStackTrace=Y}return o=(o=$?$.displayName||$.name:"")?h(o):"",typeof $==="function"&&C9.set($,o),o}function U0($,U){switch($.tag){case 26:case 27:case 5:return h($.type);case 16:return h("Lazy");case 13:return $.child!==U&&U!==null?h("Suspense Fallback"):h("Suspense");case 19:return h("SuspenseList");case 0:case 15:return r($.type,!1);case 11:return r($.type.render,!1);case 1:return r($.type,!0);case 31:return h("Activity");default:return""}}function W0($){try{var U="",Y=null;do{U+=U0($,Y);var F=$._debugInfo;if(F)for(var M=F.length-1;0<=M;M--){var R=F[M];if(typeof R.name==="string"){var k=U;$:{var{name:f,env:l,debugLocation:o}=R;if(o!=null){var R0=v(o),P0=R0.lastIndexOf(`
26
+ `),V0=P0===-1?R0:R0.slice(P0+1);if(V0.indexOf(f)!==-1){var g0=`
27
+ `+V0;break $}}g0=h(f+(l?" ["+l+"]":""))}U=k+g0}}Y=$,$=$.return}while($);return U}catch(z$){return`
28
+ Error generating stack: `+z$.message+`
29
+ `+z$.stack}}function Y0($){return($=$?$.displayName||$.name:"")?h($):""}function s(){if(z4===null)return null;var $=z4._debugOwner;return $!=null?S0($):null}function e(){if(z4===null)return"";var $=z4;try{var U="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:U+=h($.type);break;case 13:U+=h("Suspense");break;case 19:U+=h("SuspenseList");break;case 31:U+=h("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||U!==""||(U+=Y0($.type));break;case 11:$._debugOwner||U!==""||(U+=Y0($.type.render))}for(;$;)if(typeof $.tag==="number"){var Y=$;$=Y._debugOwner;var F=Y._debugStack;if($&&F){var M=v(F);M!==""&&(U+=`
30
+ `+M)}}else if($.debugStack!=null){var R=$.debugStack;($=$.owner)&&R&&(U+=`
31
+ `+v(R))}else break;var k=U}catch(f){k=`
32
+ Error generating stack: `+f.message+`
33
+ `+f.stack}return k}function J0($,U,Y,F,M,R,k){var f=z4;Z0($);try{return $!==null&&$._debugTask?$._debugTask.run(U.bind(null,Y,F,M,R,k)):U(Y,F,M,R,k)}finally{Z0(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Z0($){b0.getCurrentStack=$===null?null:e,M6=!1,z4=$}function A0($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function $0($){try{return c($),!1}catch(U){return!0}}function c($){return""+$}function n($,U){if($0($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),c($)}function D0($,U){if($0($))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),c($)}function Q0($){if($0($))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",A0($)),c($)}function O0($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var U=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(U.isDisabled)return!0;if(!U.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{hJ=U.inject($),R1=U}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return U.checkDCE?!0:!1}function k0($){if(typeof e3==="function"&&$k($),R1&&typeof R1.setStrictMode==="function")try{R1.setStrictMode(hJ,$)}catch(U){A6||(A6=!0,console.error("React instrumentation encountered an error: %o",U))}}function I0($){return $>>>=0,$===0?32:31-(Uk($)/Ik|0)|0}function z0($){var U=$&42;if(U!==0)return U;switch($&-$){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),$}}function I$($,U,Y){var F=$.pendingLanes;if(F===0)return 0;var M=0,R=$.suspendedLanes,k=$.pingedLanes;$=$.warmLanes;var f=F&134217727;return f!==0?(F=f&~R,F!==0?M=z0(F):(k&=f,k!==0?M=z0(k):Y||(Y=f&~$,Y!==0&&(M=z0(Y))))):(f=F&~R,f!==0?M=z0(f):k!==0?M=z0(k):Y||(Y=F&~$,Y!==0&&(M=z0(Y)))),M===0?0:U!==0&&U!==M&&(U&R)===0&&(R=M&-M,Y=U&-U,R>=Y||R===32&&(Y&4194048)!==0)?U:M}function M0($,U){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&U)===0}function v0($,U){switch($){case 1:case 2:case 4:case 8:case 64:return U+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return U+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function M$(){var $=XK;return XK<<=1,(XK&62914560)===0&&(XK=4194304),$}function m0($){for(var U=[],Y=0;31>Y;Y++)U.push($);return U}function p0($,U){$.pendingLanes|=U,U!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function r$($,U,Y,F,M,R){var k=$.pendingLanes;$.pendingLanes=Y,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=Y,$.entangledLanes&=Y,$.errorRecoveryDisabledLanes&=Y,$.shellSuspendCounter=0;var{entanglements:f,expirationTimes:l,hiddenUpdates:o}=$;for(Y=k&~Y;0<Y;){var R0=31-j1(Y),P0=1<<R0;f[R0]=0,l[R0]=-1;var V0=o[R0];if(V0!==null)for(o[R0]=null,R0=0;R0<V0.length;R0++){var g0=V0[R0];g0!==null&&(g0.lane&=-536870913)}Y&=~P0}F!==0&&h0($,F,0),R!==0&&M===0&&$.tag!==0&&($.suspendedLanes|=R&~(k&~U))}function h0($,U,Y){$.pendingLanes|=U,$.suspendedLanes&=~U;var F=31-j1(U);$.entangledLanes|=U,$.entanglements[F]=$.entanglements[F]|1073741824|Y&261930}function c0($,U){var Y=$.entangledLanes|=U;for($=$.entanglements;Y;){var F=31-j1(Y),M=1<<F;M&U|$[F]&U&&($[F]|=U),Y&=~M}}function YU($,U){var Y=U&-U;return Y=(Y&42)!==0?1:t0(Y),(Y&($.suspendedLanes|U))!==0?0:Y}function t0($){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 i0($,U,Y){if(T6)for($=$.pendingUpdatersLaneMap;0<Y;){var F=31-j1(Y),M=1<<F;$[F].add(U),Y&=~M}}function qU($,U){if(T6)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:F}=$;0<U;){var M=31-j1(U);$=1<<M,M=Y[M],0<M.size&&(M.forEach(function(R){var k=R.alternate;k!==null&&F.has(k)||F.add(R)}),M.clear()),U&=~$}}function m($){return $&=-$,O4!==0&&O4<$?l4!==0&&l4<$?($&134217727)!==0?C6:JK:l4:O4}function X0(){var $=s$.p;if($!==0)return $;return $=window.event,$===void 0?C6:bq($.type)}function e0($,U){var Y=s$.p;try{return s$.p=$,U()}finally{s$.p=Y}}function j0($){delete $[A1],delete $[B1],delete $[S9],delete $[Xk],delete $[Jk]}function N0($){var U=$[A1];if(U)return U;for(var Y=$.parentNode;Y;){if(U=Y[vI]||Y[A1]){if(Y=U.alternate,U.child!==null||Y!==null&&Y.child!==null)for($=Pq($);$!==null;){if(Y=$[A1])return Y;$=Pq($)}return U}$=Y,Y=$.parentNode}return null}function D$($){if($=$[A1]||$[vI]){var U=$.tag;if(U===5||U===6||U===13||U===31||U===26||U===27||U===3)return $}return null}function x0($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function y0($){var U=$[$R];return U||(U=$[$R]={hoistableStyles:new Map,hoistableScripts:new Map}),U}function V$($){$[eQ]=!0}function o0($,U){r0($,U),r0($+"Capture",U)}function r0($,U){NX[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),NX[$]=U;var Y=$.toLowerCase();E9[Y]=$,$==="onDoubleClick"&&(E9.ondblclick=$);for($=0;$<U.length;$++)UR.add(U[$])}function zU($,U){Yk[U.type]||U.onChange||U.onInput||U.readOnly||U.disabled||U.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),U.onChange||U.readOnly||U.disabled||U.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function s0($){if(m4.call(XR,$))return!0;if(m4.call(IR,$))return!1;if(Qk.test($))return XR[$]=!0;return IR[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function i($,U,Y){if(s0(U)){if(!$.hasAttribute(U)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if($=$.getAttribute(U),$===""&&Y===!0)return!0;return n(Y,U),$===""+Y?Y:$}}function G0($,U,Y){if(s0(U))if(Y===null)$.removeAttribute(U);else{switch(typeof Y){case"undefined":case"function":case"symbol":$.removeAttribute(U);return;case"boolean":var F=U.toLowerCase().slice(0,5);if(F!=="data-"&&F!=="aria-"){$.removeAttribute(U);return}}n(Y,U),$.setAttribute(U,""+Y)}}function _0($,U,Y){if(Y===null)$.removeAttribute(U);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(U);return}n(Y,U),$.setAttribute(U,""+Y)}}function E0($,U,Y,F){if(F===null)$.removeAttribute(Y);else{switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Y);return}n(F,Y),$.setAttributeNS(U,Y,""+F)}}function W$($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return Q0($),$;default:return""}}function n0($){var U=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(U==="checkbox"||U==="radio")}function a0($,U,Y){var F=Object.getOwnPropertyDescriptor($.constructor.prototype,U);if(!$.hasOwnProperty(U)&&typeof F<"u"&&typeof F.get==="function"&&typeof F.set==="function"){var{get:M,set:R}=F;return Object.defineProperty($,U,{configurable:!0,get:function(){return M.call(this)},set:function(k){Q0(k),Y=""+k,R.call(this,k)}}),Object.defineProperty($,U,{enumerable:F.enumerable}),{getValue:function(){return Y},setValue:function(k){Q0(k),Y=""+k},stopTracking:function(){$._valueTracker=null,delete $[U]}}}}function DU($){if(!$._valueTracker){var U=n0($)?"checked":"value";$._valueTracker=a0($,U,""+$[U])}}function X$($){if(!$)return!1;var U=$._valueTracker;if(!U)return!0;var Y=U.getValue(),F="";return $&&(F=n0($)?$.checked?"true":"false":$.value),$=F,$!==Y?(U.setValue($),!0):!1}function U$($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(U){return $.body}}function e$($){return $.replace(Gk,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function J$($,U){U.checked===void 0||U.defaultChecked===void 0||YR||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),YR=!0),U.value===void 0||U.defaultValue===void 0||JR||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),JR=!0)}function $$($,U,Y,F,M,R,k,f){if($.name="",k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"?(n(k,"type"),$.type=k):$.removeAttribute("type"),U!=null)if(k==="number"){if(U===0&&$.value===""||$.value!=U)$.value=""+W$(U)}else $.value!==""+W$(U)&&($.value=""+W$(U));else k!=="submit"&&k!=="reset"||$.removeAttribute("value");U!=null?B$($,k,W$(U)):Y!=null?B$($,k,W$(Y)):F!=null&&$.removeAttribute("value"),M==null&&R!=null&&($.defaultChecked=!!R),M!=null&&($.checked=M&&typeof M!=="function"&&typeof M!=="symbol"),f!=null&&typeof f!=="function"&&typeof f!=="symbol"&&typeof f!=="boolean"?(n(f,"name"),$.name=""+W$(f)):$.removeAttribute("name")}function RU($,U,Y,F,M,R,k,f){if(R!=null&&typeof R!=="function"&&typeof R!=="symbol"&&typeof R!=="boolean"&&(n(R,"type"),$.type=R),U!=null||Y!=null){if(!(R!=="submit"&&R!=="reset"||U!==void 0&&U!==null)){DU($);return}Y=Y!=null?""+W$(Y):"",U=U!=null?""+W$(U):Y,f||U===$.value||($.value=U),$.defaultValue=U}F=F!=null?F:M,F=typeof F!=="function"&&typeof F!=="symbol"&&!!F,$.checked=f?$.checked:!!F,$.defaultChecked=!!F,k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&(n(k,"name"),$.name=k),DU($)}function B$($,U,Y){U==="number"&&U$($.ownerDocument)===$||$.defaultValue===""+Y||($.defaultValue=""+Y)}function E$($,U){U.value==null&&(typeof U.children==="object"&&U.children!==null?CY.Children.forEach(U.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||GR||(GR=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):U.dangerouslySetInnerHTML==null||ZR||(ZR=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),U.selected==null||QR||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),QR=!0)}function $U(){var $=s();return $?`
34
+
35
+ Check the render method of \``+$+"`.":""}function d$($,U,Y,F){if($=$.options,U){U={};for(var M=0;M<Y.length;M++)U["$"+Y[M]]=!0;for(Y=0;Y<$.length;Y++)M=U.hasOwnProperty("$"+$[Y].value),$[Y].selected!==M&&($[Y].selected=M),M&&F&&($[Y].defaultSelected=!0)}else{Y=""+W$(Y),U=null;for(M=0;M<$.length;M++){if($[M].value===Y){$[M].selected=!0,F&&($[M].defaultSelected=!0);return}U!==null||$[M].disabled||(U=$[M])}U!==null&&(U.selected=!0)}}function bU($,U){for($=0;$<WR.length;$++){var Y=WR[$];if(U[Y]!=null){var F=G1(U[Y]);U.multiple&&!F?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,$U()):!U.multiple&&F&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,$U())}}U.value===void 0||U.defaultValue===void 0||KR||(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"),KR=!0)}function uU($,U){U.value===void 0||U.defaultValue===void 0||zR||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component"),zR=!0),U.children!=null&&U.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function hU($,U,Y){if(U!=null&&(U=""+W$(U),U!==$.value&&($.value=U),Y==null)){$.defaultValue!==U&&($.defaultValue=U);return}$.defaultValue=Y!=null?""+W$(Y):""}function cU($,U,Y,F){if(U==null){if(F!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(G1(F)){if(1<F.length)throw Error("<textarea> can only have at most one child.");F=F[0]}Y=F}Y==null&&(Y=""),U=Y}Y=W$(U),$.defaultValue=Y,F=$.textContent,F===Y&&F!==""&&F!==null&&($.value=F),DU($)}function pU($,U){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-U?pU($.children[0],U):$}function t$($){return" "+" ".repeat($)}function LU($){return"+ "+" ".repeat($)}function OU($){return"- "+" ".repeat($)}function mU($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function PU($,U){return OR.test($)?($=JSON.stringify($),$.length>U-2?8>U?'{"..."}':"{"+$.slice(0,U-7)+'..."}':"{"+$+"}"):$.length>U?5>U?'{"..."}':$.slice(0,U-3)+"...":$}function vU($,U,Y){var F=120-2*Y;if(U===null)return LU(Y)+PU($,F)+`
36
+ `;if(typeof U==="string"){for(var M=0;M<U.length&&M<$.length&&U.charCodeAt(M)===$.charCodeAt(M);M++);return M>F-8&&10<M&&($="..."+$.slice(M-8),U="..."+U.slice(M-8)),LU(Y)+PU($,F)+`
37
+ `+OU(Y)+PU(U,F)+`
38
+ `}return t$(Y)+PU($,F)+`
39
+ `}function gU($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(U,Y){return Y})}function _U($,U){switch(typeof $){case"string":return $=JSON.stringify($),$.length>U?5>U?'"..."':$.slice(0,U-4)+'..."':$;case"object":if($===null)return"null";if(G1($))return"[...]";if($.$$typeof===D6)return(U=L0($.type))?"<"+U+">":"<...>";var Y=gU($);if(Y==="Object"){Y="",U-=2;for(var F in $)if($.hasOwnProperty(F)){var M=JSON.stringify(F);if(M!=='"'+F+'"'&&(F=M),U-=F.length-2,M=_U($[F],15>U?U:15),U-=M.length,0>U){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+F+":"+M}return"{"+Y+"}"}return Y;case"function":return(U=$.displayName||$.name)?"function "+U:"function";default:return String($)}}function MU($,U){return typeof $!=="string"||OR.test($)?"{"+_U($,U-2)+"}":$.length>U-2?5>U?'"..."':'"'+$.slice(0,U-5)+'..."':'"'+$+'"'}function DX($,U,Y){var F=120-Y.length-$.length,M=[],R;for(R in U)if(U.hasOwnProperty(R)&&R!=="children"){var k=MU(U[R],120-Y.length-R.length-1);F-=R.length+k.length+2,M.push(R+"="+k)}return M.length===0?Y+"<"+$+`>
40
+ `:0<F?Y+"<"+$+" "+M.join(" ")+`>
41
+ `:Y+"<"+$+`
42
+ `+Y+" "+M.join(`
43
+ `+Y+" ")+`
44
+ `+Y+`>
45
+ `}function HQ($,U,Y){var F="",M=y$({},U),R;for(R in $)if($.hasOwnProperty(R)){delete M[R];var k=120-2*Y-R.length-2,f=_U($[R],k);U.hasOwnProperty(R)?(k=_U(U[R],k),F+=LU(Y)+R+": "+f+`
46
+ `,F+=OU(Y)+R+": "+k+`
47
+ `):F+=LU(Y)+R+": "+f+`
48
+ `}for(var l in M)M.hasOwnProperty(l)&&($=_U(M[l],120-2*Y-l.length-2),F+=OU(Y)+l+": "+$+`
49
+ `);return F}function DQ($,U,Y,F){var M="",R=new Map;for(o in Y)Y.hasOwnProperty(o)&&R.set(o.toLowerCase(),o);if(R.size===1&&R.has("children"))M+=DX($,U,t$(F));else{for(var k in U)if(U.hasOwnProperty(k)&&k!=="children"){var f=120-2*(F+1)-k.length-1,l=R.get(k.toLowerCase());if(l!==void 0){R.delete(k.toLowerCase());var o=U[k];l=Y[l];var R0=MU(o,f);f=MU(l,f),typeof o==="object"&&o!==null&&typeof l==="object"&&l!==null&&gU(o)==="Object"&&gU(l)==="Object"&&(2<Object.keys(o).length||2<Object.keys(l).length||-1<R0.indexOf("...")||-1<f.indexOf("..."))?M+=t$(F+1)+k+`={{
50
+ `+HQ(o,l,F+2)+t$(F+1)+`}}
51
+ `:(M+=LU(F+1)+k+"="+R0+`
52
+ `,M+=OU(F+1)+k+"="+f+`
53
+ `)}else M+=t$(F+1)+k+"="+MU(U[k],f)+`
54
+ `}R.forEach(function(P0){if(P0!=="children"){var V0=120-2*(F+1)-P0.length-1;M+=OU(F+1)+P0+"="+MU(Y[P0],V0)+`
55
+ `}}),M=M===""?t$(F)+"<"+$+`>
56
+ `:t$(F)+"<"+$+`
57
+ `+M+t$(F)+`>
58
+ `}if($=Y.children,U=U.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(R="",typeof U==="string"||typeof U==="number"||typeof U==="bigint")R=""+U;M+=vU(R,""+$,F+1)}else if(typeof U==="string"||typeof U==="number"||typeof U==="bigint")M=$==null?M+vU(""+U,null,F+1):M+vU(""+U,void 0,F+1);return M}function GA($,U){var Y=mU($);if(Y===null){Y="";for($=$.child;$;)Y+=GA($,U),$=$.sibling;return Y}return t$(U)+"<"+Y+`>
59
+ `}function Oz($,U){var Y=pU($,U);if(Y!==$&&($.children.length!==1||$.children[0]!==Y))return t$(U)+`...
60
+ `+Oz(Y,U+1);Y="";var F=$.fiber._debugInfo;if(F)for(var M=0;M<F.length;M++){var R=F[M].name;typeof R==="string"&&(Y+=t$(U)+"<"+R+`>
61
+ `,U++)}if(F="",M=$.fiber.pendingProps,$.fiber.tag===6)F=vU(M,$.serverProps,U),U++;else if(R=mU($.fiber),R!==null)if($.serverProps===void 0){F=U;var k=120-2*F-R.length-2,f="";for(o in M)if(M.hasOwnProperty(o)&&o!=="children"){var l=MU(M[o],15);if(k-=o.length+l.length+2,0>k){f+=" ...";break}f+=" "+o+"="+l}F=t$(F)+"<"+R+f+`>
62
+ `,U++}else $.serverProps===null?(F=DX(R,M,LU(U)),U++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(F=DQ(R,M,$.serverProps,U),U++);var o="";M=$.fiber.child;for(R=0;M&&R<$.children.length;)k=$.children[R],k.fiber===M?(o+=Oz(k,U),R++):o+=GA(M,U),M=M.sibling;M&&0<$.children.length&&(o+=t$(U)+`...
63
+ `),M=$.serverTail,$.serverProps===null&&U--;for($=0;$<M.length;$++)R=M[$],o=typeof R==="string"?o+(OU(U)+PU(R,120-2*U)+`
64
+ `):o+DX(R.type,R.props,OU(U));return Y+F+o}function Vz($){try{return`
65
+
66
+ `+Oz($,0)}catch(U){return""}}function ZA($,U,Y){for(var F=U,M=null,R=0;F;)F===$&&(R=0),M={fiber:F,children:M!==null?[M]:[],serverProps:F===U?Y:F===$?null:void 0,serverTail:[],distanceFromLeaf:R},R++,F=F.return;return M!==null?Vz(M).replaceAll(/^[+-]/gm,">"):""}function KA($,U){var Y=y$({},$||FR),F={tag:U};if(VR.indexOf(U)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),Kk.indexOf(U)!==-1&&(Y.pTagInButtonScope=null),Zk.indexOf(U)!==-1&&U!=="address"&&U!=="div"&&U!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=F,U==="form"&&(Y.formTag=F),U==="a"&&(Y.aTagInScope=F),U==="button"&&(Y.buttonTagInScope=F),U==="nobr"&&(Y.nobrTagInScope=F),U==="p"&&(Y.pTagInButtonScope=F),U==="li"&&(Y.listItemTagAutoclosing=F),U==="dd"||U==="dt")Y.dlItemTagAutoclosing=F;return U==="#document"||U==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=F),$!==null||U!=="#document"&&U!=="html"&&U!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function WA($,U,Y){switch(U){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(Y)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!Y)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U!=="h1"&&U!=="h2"&&U!=="h3"&&U!=="h4"&&U!=="h5"&&U!=="h6";case"rp":case"rt":return Wk.indexOf(U)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return U==null;case"head":return Y||U===null;case"html":return Y&&U==="#document"||U===null;case"body":return Y&&(U==="#document"||U==="html")||U===null}return!0}function YN($,U){switch($){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U.pTagInButtonScope;case"form":return U.formTag||U.pTagInButtonScope;case"li":return U.listItemTagAutoclosing;case"dd":case"dt":return U.dlItemTagAutoclosing;case"button":return U.buttonTagInScope;case"a":return U.aTagInScope;case"nobr":return U.nobrTagInScope}return null}function zA($,U){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===U)return $}$=$.return}return null}function Fz($,U){U=U||FR;var Y=U.current;if(U=(Y=WA($,Y&&Y.tag,U.implicitRootScope)?null:Y)?null:YN($,U),U=Y||U,!U)return!0;var F=U.tag;if(U=String(!!Y)+"|"+$+"|"+F,YK[U])return!1;YK[U]=!0;var M=(U=z4)?zA(U.return,F):null,R=U!==null&&M!==null?ZA(M,U,null):"",k="<"+$+">";return Y?(Y="",F==="table"&&$==="tr"&&(Y+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
67
+ This will cause a hydration error.%s`,k,F,Y,R)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,k,F,R),U&&($=U.return,M===null||$===null||M===$&&$._debugOwner===U._debugOwner||J0(M,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,F,k)})),!1}function i2($,U,Y){if(Y||WA("#text",U,!1))return!0;if(Y="#text|"+U,YK[Y])return!1;YK[Y]=!0;var F=(Y=z4)?zA(Y,U):null;return Y=Y!==null&&F!==null?ZA(F,Y,Y.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
+ This will cause a hydration error.%s`,U,Y):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
71
+ This will cause a hydration error.%s`,U,Y),!1}function LQ($,U){if(U){var Y=$.firstChild;if(Y&&Y===$.lastChild&&Y.nodeType===3){Y.nodeValue=U;return}}$.textContent=U}function QN($){return $.replace(Vk,function(U,Y){return Y.toUpperCase()})}function OA($,U,Y){var F=U.indexOf("--")===0;F||(-1<U.indexOf("-")?cJ.hasOwnProperty(U)&&cJ[U]||(cJ[U]=!0,console.error("Unsupported style property %s. Did you mean %s?",U,QN(U.replace(Ok,"ms-")))):zk.test(U)?cJ.hasOwnProperty(U)&&cJ[U]||(cJ[U]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",U,U.charAt(0).toUpperCase()+U.slice(1))):!LR.test(Y)||B9.hasOwnProperty(Y)&&B9[Y]||(B9[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,U,Y.replace(LR,""))),typeof Y==="number"&&(isNaN(Y)?MR||(MR=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",U)):isFinite(Y)||AR||(AR=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",U)))),Y==null||typeof Y==="boolean"||Y===""?F?$.setProperty(U,""):U==="float"?$.cssFloat="":$[U]="":F?$.setProperty(U,Y):typeof Y!=="number"||Y===0||TR.has(U)?U==="float"?$.cssFloat=Y:(D0(Y,U),$[U]=(""+Y).trim()):$[U]=Y+"px"}function VA($,U,Y){if(U!=null&&typeof U!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(U&&Object.freeze(U),$=$.style,Y!=null){if(U){var F={};if(Y){for(var M in Y)if(Y.hasOwnProperty(M)&&!U.hasOwnProperty(M))for(var R=j9[M]||[M],k=0;k<R.length;k++)F[R[k]]=M}for(var f in U)if(U.hasOwnProperty(f)&&(!Y||Y[f]!==U[f]))for(M=j9[f]||[f],R=0;R<M.length;R++)F[M[R]]=f;f={};for(var l in U)for(M=j9[l]||[l],R=0;R<M.length;R++)f[M[R]]=l;l={};for(var o in F)if(M=F[o],(R=f[o])&&M!==R&&(k=M+","+R,!l[k])){l[k]=!0,k=console;var R0=U[M];k.error.call(k,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",R0==null||typeof R0==="boolean"||R0===""?"Removing":"Updating",M,R)}}for(var P0 in Y)!Y.hasOwnProperty(P0)||U!=null&&U.hasOwnProperty(P0)||(P0.indexOf("--")===0?$.setProperty(P0,""):P0==="float"?$.cssFloat="":$[P0]="");for(var V0 in U)o=U[V0],U.hasOwnProperty(V0)&&Y[V0]!==o&&OA($,V0,o)}else for(F in U)U.hasOwnProperty(F)&&OA($,F,U[F])}function MQ($){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 FA($){return Fk.get($)||$}function GN($,U){if(m4.call(mJ,U)&&mJ[U])return!0;if(Dk.test(U)){if($="aria-"+U.slice(4).toLowerCase(),$=CR.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",U),mJ[U]=!0;if(U!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",U,$),mJ[U]=!0}if(Hk.test(U)){if($=U.toLowerCase(),$=CR.hasOwnProperty($)?$:null,$==null)return mJ[U]=!0,!1;U!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",U,$),mJ[U]=!0)}return!0}function ZN($,U){var Y=[],F;for(F in U)GN($,F)||Y.push(F);U=Y.map(function(M){return"`"+M+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$)}function KN($,U,Y,F){if(m4.call(v1,U)&&v1[U])return!0;var M=U.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),v1[U]=!0;if(typeof Y==="function"&&($==="form"&&U==="action"||$==="input"&&U==="formAction"||$==="button"&&U==="formAction"))return!0;if(F!=null){if($=F.possibleRegistrationNames,F.registrationNameDependencies.hasOwnProperty(U))return!0;if(F=$.hasOwnProperty(M)?$[M]:null,F!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",U,F),v1[U]=!0;if(RR.test(U))return console.error("Unknown event handler property `%s`. It will be ignored.",U),v1[U]=!0}else if(RR.test(U))return Lk.test(U)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",U),v1[U]=!0;if(Mk.test(U)||Ak.test(U))return!0;if(M==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),v1[U]=!0;if(M==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),v1[U]=!0;if(M==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),v1[U]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",U),v1[U]=!0;if(GK.hasOwnProperty(M)){if(M=GK[M],M!==U)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",U,M),v1[U]=!0}else if(U!==M)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",U,M),v1[U]=!0;switch(U){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof Y){case"boolean":switch(U){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(M=U.toLowerCase().slice(0,5),M==="data-"||M==="aria-")return!0;return Y?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()}.',Y,U,U,Y,U):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Y,U,U,Y,U,U,U),v1[U]=!0}case"function":case"symbol":return v1[U]=!0,!1;case"string":if(Y==="false"||Y==="true"){switch(U){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Y,U,Y==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',U,Y),v1[U]=!0}}return!0}function WN($,U,Y){var F=[],M;for(M in U)KN($,M,U[M],Y)||F.push(M);U=F.map(function(R){return"`"+R+"`"}).join(", "),F.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$):1<F.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$)}function AQ($){return Tk.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function y6(){}function Hz($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function HA($){var U=D$($);if(U&&($=U.stateNode)){var Y=$[B1]||null;$:switch($=U.stateNode,U.type){case"input":if($$($,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),U=Y.name,Y.type==="radio"&&U!=null){for(Y=$;Y.parentNode;)Y=Y.parentNode;n(U,"name"),Y=Y.querySelectorAll('input[name="'+e$(""+U)+'"][type="radio"]');for(U=0;U<Y.length;U++){var F=Y[U];if(F!==$&&F.form===$.form){var M=F[B1]||null;if(!M)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");$$(F,M.value,M.defaultValue,M.defaultValue,M.checked,M.defaultChecked,M.type,M.name)}}for(U=0;U<Y.length;U++)F=Y[U],F.form===$.form&&X$(F)}break $;case"textarea":hU($,Y.value,Y.defaultValue);break $;case"select":U=Y.value,U!=null&&d$($,!!Y.multiple,U,!1)}}}function DA($,U,Y){if(v9)return $(U,Y);v9=!0;try{var F=$(U);return F}finally{if(v9=!1,lJ!==null||dJ!==null){if(NJ(),lJ&&(U=lJ,$=dJ,dJ=lJ=null,HA(U),$))for(U=0;U<$.length;U++)HA($[U])}}}function TQ($,U){var Y=$.stateNode;if(Y===null)return null;var F=Y[B1]||null;if(F===null)return null;Y=F[U];$:switch(U){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(F=!F.disabled)||($=$.type,F=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!F;break $;default:$=!1}if($)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+U+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function LA(){if(ZK)return ZK;var $,U=k9,Y=U.length,F,M="value"in NI?NI.value:NI.textContent,R=M.length;for($=0;$<Y&&U[$]===M[$];$++);var k=Y-$;for(F=1;F<=k&&U[Y-F]===M[R-F];F++);return ZK=M.slice($,1<F?1-F:void 0)}function r2($){var U=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&U===13&&($=13)):$=U,$===10&&($=13),32<=$||$===13?$:0}function t2(){return!0}function MA(){return!1}function l1($){function U(Y,F,M,R,k){this._reactName=Y,this._targetInst=M,this.type=F,this.nativeEvent=R,this.target=k,this.currentTarget=null;for(var f in $)$.hasOwnProperty(f)&&(Y=$[f],this[f]=Y?Y(R):R[f]);return this.isDefaultPrevented=(R.defaultPrevented!=null?R.defaultPrevented:R.returnValue===!1)?t2:MA,this.isPropagationStopped=MA,this}return y$(U.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=t2)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=t2)},persist:function(){},isPersistent:t2}),U}function zN($){var U=this.nativeEvent;return U.getModifierState?U.getModifierState($):($=gk[$])?!!U[$]:!1}function Dz(){return zN}function AA($,U){switch($){case"keyup":return dk.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==ER;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function TA($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function ON($,U){switch($){case"compositionend":return TA(U);case"keypress":if(U.which!==BR)return null;return NR=!0,vR;case"textInput":return $=U.data,$===vR&&NR?null:$;default:return null}}function VN($,U){if(nJ)return $==="compositionend"||!f9&&AA($,U)?($=LA(),ZK=k9=NI=null,nJ=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(U.ctrlKey||U.altKey||U.metaKey)||U.ctrlKey&&U.altKey){if(U.char&&1<U.char.length)return U.char;if(U.which)return String.fromCharCode(U.which)}return null;case"compositionend":return jR&&U.locale!=="ko"?null:U.data;default:return null}}function CA($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U==="input"?!!ok[$.type]:U==="textarea"?!0:!1}function FN($){if(!q6)return!1;$="on"+$;var U=$ in document;return U||(U=document.createElement("div"),U.setAttribute($,"return;"),U=typeof U[$]==="function"),U}function qA($,U,Y,F){lJ?dJ?dJ.push(F):dJ=[F]:lJ=F,U=pZ(U,"onChange"),0<U.length&&(Y=new KK("onChange","change",null,Y,F),$.push({event:Y,listeners:U}))}function HN($){Jq($,0)}function a2($){var U=x0($);if(X$(U))return $}function RA($,U){if($==="change")return U}function PA(){YG&&(YG.detachEvent("onpropertychange",_A),QG=YG=null)}function _A($){if($.propertyName==="value"&&a2(QG)){var U=[];qA(U,QG,$,Hz($)),DA(HN,U)}}function DN($,U,Y){$==="focusin"?(PA(),YG=U,QG=Y,YG.attachEvent("onpropertychange",_A)):$==="focusout"&&PA()}function LN($){if($==="selectionchange"||$==="keyup"||$==="keydown")return a2(QG)}function MN($,U){if($==="click")return a2(U)}function AN($,U){if($==="input"||$==="change")return a2(U)}function TN($,U){return $===U&&($!==0||1/$===1/U)||$!==$&&U!==U}function CQ($,U){if(N1($,U))return!0;if(typeof $!=="object"||$===null||typeof U!=="object"||U===null)return!1;var Y=Object.keys($),F=Object.keys(U);if(Y.length!==F.length)return!1;for(F=0;F<Y.length;F++){var M=Y[F];if(!m4.call(U,M)||!N1($[M],U[M]))return!1}return!0}function SA($){for(;$&&$.firstChild;)$=$.firstChild;return $}function EA($,U){var Y=SA($);$=0;for(var F;Y;){if(Y.nodeType===3){if(F=$+Y.textContent.length,$<=U&&F>=U)return{node:Y,offset:U-$};$=F}$:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break $}Y=Y.parentNode}Y=void 0}Y=SA(Y)}}function jA($,U){return $&&U?$===U?!0:$&&$.nodeType===3?!1:U&&U.nodeType===3?jA($,U.parentNode):("contains"in $)?$.contains(U):$.compareDocumentPosition?!!($.compareDocumentPosition(U)&16):!1:!1}function BA($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var U=U$($.document);U instanceof $.HTMLIFrameElement;){try{var Y=typeof U.contentWindow.location.href==="string"}catch(F){Y=!1}if(Y)$=U.contentWindow;else break;U=U$($.document)}return U}function Lz($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U&&(U==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||U==="textarea"||$.contentEditable==="true")}function vA($,U,Y){var F=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;b9||oJ==null||oJ!==U$(F)||(F=oJ,("selectionStart"in F)&&Lz(F)?F={start:F.selectionStart,end:F.selectionEnd}:(F=(F.ownerDocument&&F.ownerDocument.defaultView||window).getSelection(),F={anchorNode:F.anchorNode,anchorOffset:F.anchorOffset,focusNode:F.focusNode,focusOffset:F.focusOffset}),GG&&CQ(GG,F)||(GG=F,F=pZ(y9,"onSelect"),0<F.length&&(U=new KK("onSelect","select",null,U,Y),$.push({event:U,listeners:F}),U.target=oJ)))}function LX($,U){var Y={};return Y[$.toLowerCase()]=U.toLowerCase(),Y["Webkit"+$]="webkit"+U,Y["Moz"+$]="moz"+U,Y}function MX($){if(u9[$])return u9[$];if(!iJ[$])return $;var U=iJ[$],Y;for(Y in U)if(U.hasOwnProperty(Y)&&Y in gR)return u9[$]=U[Y];return $}function h4($,U){bR.set($,U),o0(U,[$])}function CN($){for(var U=zK,Y=0;Y<$.length;Y++){var F=$[Y];if(typeof F==="object"&&F!==null)if(G1(F)&&F.length===2&&typeof F[0]==="string"){if(U!==zK&&U!==l9)return p9;U=l9}else return p9;else{if(typeof F==="function"||typeof F==="string"&&50<F.length||U!==zK&&U!==m9)return p9;U=m9}}return U}function Mz($,U,Y,F){for(var M in $)m4.call($,M)&&M[0]!=="_"&&$6(M,$[M],U,Y,F)}function $6($,U,Y,F,M){switch(typeof U){case"object":if(U===null){U="null";break}else{if(U.$$typeof===D6){var R=L0(U.type)||"…",k=U.key;U=U.props;var f=Object.keys(U),l=f.length;if(k==null&&l===0){U="<"+R+" />";break}if(3>F||l===1&&f[0]==="children"&&k==null){U="<"+R+" … />";break}Y.push([M+"  ".repeat(F)+$,"<"+R]),k!==null&&$6("key",k,Y,F+1,M),$=!1;for(var o in U)o==="children"?U.children!=null&&(!G1(U.children)||0<U.children.length)&&($=!0):m4.call(U,o)&&o[0]!=="_"&&$6(o,U[o],Y,F+1,M);Y.push(["",$?">…</"+R+">":"/>"]);return}if(R=Object.prototype.toString.call(U),R=R.slice(8,R.length-1),R==="Array"){if(o=CN(U),o===m9||o===zK){U=JSON.stringify(U);break}else if(o===l9){Y.push([M+"  ".repeat(F)+$,""]);for($=0;$<U.length;$++)R=U[$],$6(R[0],R[1],Y,F+1,M);return}}if(R==="Promise"){if(U.status==="fulfilled"){if(R=Y.length,$6($,U.value,Y,F,M),Y.length>R){Y=Y[R],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if(U.status==="rejected"&&(R=Y.length,$6($,U.reason,Y,F,M),Y.length>R)){Y=Y[R],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push(["  ".repeat(F)+$,"Promise"]);return}R==="Object"&&(o=Object.getPrototypeOf(U))&&typeof o.constructor==="function"&&(R=o.constructor.name),Y.push([M+"  ".repeat(F)+$,R==="Object"?3>F?"":"…":R]),3>F&&Mz(U,Y,F+1,M);return}case"function":U=U.name===""?"() => {}":U.name+"() {}";break;case"string":U=U===$g?"…":JSON.stringify(U);break;case"undefined":U="undefined";break;case"boolean":U=U?"true":"false";break;default:U=String(U)}Y.push([M+"  ".repeat(F)+$,U])}function NA($,U,Y,F){var M=!0;for(k in $)k in U||(Y.push([OK+"  ".repeat(F)+k,"…"]),M=!1);for(var R in U)if(R in $){var k=$[R],f=U[R];if(k!==f){if(F===0&&R==="children")M="  ".repeat(F)+R,Y.push([OK+M,"…"],[VK+M,"…"]);else{if(!(3<=F)){if(typeof k==="object"&&typeof f==="object"&&k!==null&&f!==null&&k.$$typeof===f.$$typeof)if(f.$$typeof===D6){if(k.type===f.type&&k.key===f.key){k=L0(f.type)||"…",M="  ".repeat(F)+R,k="<"+k+" … />",Y.push([OK+M,k],[VK+M,k]),M=!1;continue}}else{var l=Object.prototype.toString.call(k),o=Object.prototype.toString.call(f);if(l===o&&(o==="[object Object]"||o==="[object Array]")){l=[cR+"  ".repeat(F)+R,o==="[object Array]"?"Array":""],Y.push(l),o=Y.length,NA(k,f,Y,F+1)?o===Y.length&&(l[1]="Referentially unequal but deeply equal objects. Consider memoization."):M=!1;continue}}else if(typeof k==="function"&&typeof f==="function"&&k.name===f.name&&k.length===f.length&&(l=Function.prototype.toString.call(k),o=Function.prototype.toString.call(f),l===o)){k=f.name===""?"() => {}":f.name+"() {}",Y.push([cR+"  ".repeat(F)+R,k+" Referentially unequal function closure. Consider memoization."]);continue}}$6(R,k,Y,F,OK),$6(R,f,Y,F,VK)}M=!1}}else Y.push([VK+"  ".repeat(F)+R,"…"]),M=!1;return M}function X4($){u$=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function U6($,U,Y,F){AU&&(gI.start=U,gI.end=Y,n6.color="warning",n6.tooltipText=F,n6.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,F,gI)):performance.measure(F,gI))}function s2($,U,Y){U6($,U,Y,"Reconnect")}function e2($,U,Y,F,M){var R=t($);if(R!==null&&AU){var{alternate:k,actualDuration:f}=$;if(k===null||k.child!==$.child)for(var l=$.child;l!==null;l=l.sibling)f-=l.actualDuration;F=0.5>f?F?"tertiary-light":"primary-light":10>f?F?"tertiary":"primary":100>f?F?"tertiary-dark":"primary-dark":"error";var o=$.memoizedProps;f=$._debugTask,o!==null&&k!==null&&k.memoizedProps!==o?(l=[Ug],o=NA(k.memoizedProps,o,l,0),1<l.length&&(o&&!kI&&(k.lanes&M)===0&&100<$.actualDuration?(kI=!0,l[0]=Ig,n6.color="warning",n6.tooltipText=pR):(n6.color=F,n6.tooltipText=R),n6.properties=l,gI.start=U,gI.end=Y,f!=null?f.run(performance.measure.bind(performance,"​"+R,gI)):performance.measure("​"+R,gI))):f!=null?f.run(console.timeStamp.bind(console,R,U,Y,_4,void 0,F)):console.timeStamp(R,U,Y,_4,void 0,F)}}function Az($,U,Y,F){if(AU){var M=t($);if(M!==null){for(var R=null,k=[],f=0;f<F.length;f++){var l=F[f];R==null&&l.source!==null&&(R=l.source._debugTask),l=l.value,k.push(["Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$.key!==null&&$6("key",$.key,k,0,""),$.memoizedProps!==null&&Mz($.memoizedProps,k,0,""),R==null&&(R=$._debugTask),$={start:U,end:Y,detail:{devtools:{color:"error",track:_4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:k}}},R?R.run(performance.measure.bind(performance,"​"+M,$)):performance.measure("​"+M,$)}}}function I6($,U,Y,F,M){if(M!==null){if(AU){var R=t($);if(R!==null){F=[];for(var k=0;k<M.length;k++){var f=M[k].value;F.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$.key!==null&&$6("key",$.key,F,0,""),$.memoizedProps!==null&&Mz($.memoizedProps,F,0,""),U={start:U,end:Y,detail:{devtools:{color:"error",track:_4,tooltipText:"A lifecycle or effect errored",properties:F}}},($=$._debugTask)?$.run(performance.measure.bind(performance,"​"+R,U)):performance.measure("​"+R,U)}}}else R=t($),R!==null&&AU&&(M=1>F?"secondary-light":100>F?"secondary":500>F?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,R,U,Y,_4,void 0,M)):console.timeStamp(R,U,Y,_4,void 0,M))}function qN($,U,Y,F){if(AU&&!(U<=$)){var M=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",F?F.run(console.timeStamp.bind(console,Y,$,U,u$,b$,M)):console.timeStamp(Y,$,U,u$,b$,M)}}function kA($,U,Y,F){!AU||U<=$||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",F?F.run(console.timeStamp.bind(console,"Prewarm",$,U,u$,b$,Y)):console.timeStamp("Prewarm",$,U,u$,b$,Y))}function gA($,U,Y,F){!AU||U<=$||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",F?F.run(console.timeStamp.bind(console,"Suspended",$,U,u$,b$,Y)):console.timeStamp("Suspended",$,U,u$,b$,Y))}function RN($,U,Y,F,M,R){if(AU&&!(U<=$)){Y=[];for(var k=0;k<F.length;k++){var f=F[k].value;Y.push(["Recoverable Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"primary-dark",track:u$,trackGroup:b$,tooltipText:M?"Hydration Failed":"Recovered after Error",properties:Y}}},R?R.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function Tz($,U,Y,F){!AU||U<=$||(F?F.run(console.timeStamp.bind(console,"Errored",$,U,u$,b$,"error")):console.timeStamp("Errored",$,U,u$,b$,"error"))}function PN($,U,Y,F){!AU||U<=$||(F?F.run(console.timeStamp.bind(console,Y,$,U,u$,b$,"secondary-light")):console.timeStamp(Y,$,U,u$,b$,"secondary-light"))}function xA($,U,Y,F,M){if(AU&&!(U<=$)){for(var R=[],k=0;k<Y.length;k++){var f=Y[k].value;R.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"error",track:u$,trackGroup:b$,tooltipText:F?"Remaining Effects Errored":"Commit Errored",properties:R}}},M?M.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function qQ($,U,Y){!AU||U<=$||(Y?Y.run(console.timeStamp.bind(console,"Animating",$,U,u$,b$,"secondary-dark")):console.timeStamp("Animating",$,U,u$,b$,"secondary-dark"))}function $Z(){for(var $=rJ,U=d9=rJ=0;U<$;){var Y=S4[U];S4[U++]=null;var F=S4[U];S4[U++]=null;var M=S4[U];S4[U++]=null;var R=S4[U];if(S4[U++]=null,F!==null&&M!==null){var k=F.pending;k===null?M.next=M:(M.next=k.next,k.next=M),F.pending=M}R!==0&&wA(Y,M,R)}}function UZ($,U,Y,F){S4[rJ++]=$,S4[rJ++]=U,S4[rJ++]=Y,S4[rJ++]=F,d9|=F,$.lanes|=F,$=$.alternate,$!==null&&($.lanes|=F)}function Cz($,U,Y,F){return UZ($,U,Y,F),IZ($)}function q1($,U){return UZ($,null,null,U),IZ($)}function wA($,U,Y){$.lanes|=Y;var F=$.alternate;F!==null&&(F.lanes|=Y);for(var M=!1,R=$.return;R!==null;)R.childLanes|=Y,F=R.alternate,F!==null&&(F.childLanes|=Y),R.tag===22&&($=R.stateNode,$===null||$._visibility&ZG||(M=!0)),$=R,R=R.return;return $.tag===3?(R=$.stateNode,M&&U!==null&&(M=31-j1(Y),$=R.hiddenUpdates,F=$[M],F===null?$[M]=[U]:F.push(U),U.lane=Y|536870912),R):null}function IZ($){if(wG>Lg)throw oX=wG=0,fG=PV=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.");oX>Mg&&(oX=0,fG=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&&aC($);for(var U=$,Y=U.return;Y!==null;)U.alternate===null&&(U.flags&4098)!==0&&aC($),U=Y,Y=U.return;return U.tag===3?U.stateNode:null}function AX($){if(E4===null)return $;var U=E4($);return U===void 0?$:U.current}function qz($){if(E4===null)return $;var U=E4($);return U===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(U=AX($.render),$.render!==U)?(U={$$typeof:tQ,render:U},$.displayName!==void 0&&(U.displayName=$.displayName),U):$:U.current}function fA($,U){if(E4===null)return!1;var Y=$.elementType;U=U.type;var F=!1,M=typeof U==="object"&&U!==null?U.$$typeof:null;switch($.tag){case 1:typeof U==="function"&&(F=!0);break;case 0:typeof U==="function"?F=!0:M===W4&&(F=!0);break;case 11:M===tQ?F=!0:M===W4&&(F=!0);break;case 14:case 15:M===eZ?F=!0:M===W4&&(F=!0);break;default:return!1}return F&&($=E4(Y),$!==void 0&&$===E4(U))?!0:!1}function yA($){E4!==null&&typeof WeakSet==="function"&&(tJ===null&&(tJ=new WeakSet),tJ.add($))}function bA($,U,Y){do{var F=$,M=F.alternate,R=F.child,k=F.sibling,f=F.tag;F=F.type;var l=null;switch(f){case 0:case 15:case 1:l=F;break;case 11:l=F.render}if(E4===null)throw Error("Expected resolveFamily to be set during hot reload.");var o=!1;if(F=!1,l!==null&&(l=E4(l),l!==void 0&&(Y.has(l)?F=!0:U.has(l)&&(f===1?F=!0:o=!0))),tJ!==null&&(tJ.has($)||M!==null&&tJ.has(M))&&(F=!0),F&&($._debugNeedsRemount=!0),F||o)M=q1($,2),M!==null&&xU(M,$,2);if(R===null||F||bA(R,U,Y),k===null)break;$=k}while(1)}function _N($,U,Y,F){this.tag=$,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=U,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=F,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,mR||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function Rz($){return $=$.prototype,!(!$||!$.isReactComponent)}function b6($,U){var Y=$.alternate;switch(Y===null?(Y=_($.tag,U,$.key,$.mode),Y.elementType=$.elementType,Y.type=$.type,Y.stateNode=$.stateNode,Y._debugOwner=$._debugOwner,Y._debugStack=$._debugStack,Y._debugTask=$._debugTask,Y._debugHookTypes=$._debugHookTypes,Y.alternate=$,$.alternate=Y):(Y.pendingProps=U,Y.type=$.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=$.flags&65011712,Y.childLanes=$.childLanes,Y.lanes=$.lanes,Y.child=$.child,Y.memoizedProps=$.memoizedProps,Y.memoizedState=$.memoizedState,Y.updateQueue=$.updateQueue,U=$.dependencies,Y.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},Y.sibling=$.sibling,Y.index=$.index,Y.ref=$.ref,Y.refCleanup=$.refCleanup,Y.selfBaseDuration=$.selfBaseDuration,Y.treeBaseDuration=$.treeBaseDuration,Y._debugInfo=$._debugInfo,Y._debugNeedsRemount=$._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=AX($.type);break;case 1:Y.type=AX($.type);break;case 11:Y.type=qz($.type)}return Y}function uA($,U){$.flags&=65011714;var Y=$.alternate;return Y===null?($.childLanes=0,$.lanes=U,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=Y.childLanes,$.lanes=Y.lanes,$.child=Y.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=Y.memoizedProps,$.memoizedState=Y.memoizedState,$.updateQueue=Y.updateQueue,$.type=Y.type,U=Y.dependencies,$.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},$.selfBaseDuration=Y.selfBaseDuration,$.treeBaseDuration=Y.treeBaseDuration),$}function Pz($,U,Y,F,M,R){var k=0,f=$;if(typeof $==="function")Rz($)&&(k=1),f=AX(f);else if(typeof $==="string")k=q(),k=x3($,Y,k)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case D9:return U=_(31,Y,U,M),U.elementType=D9,U.lanes=R,U;case bJ:return TX(Y.children,M,R,U);case sZ:k=8,M|=P1,M|=d4;break;case O9:return $=Y,F=M,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),U=_(12,$,U,F|N$),U.elementType=O9,U.lanes=R,U.stateNode={effectDuration:0,passiveEffectDuration:0},U;case F9:return U=_(13,Y,U,M),U.elementType=F9,U.lanes=R,U;case H9:return U=_(19,Y,U,M),U.elementType=H9,U.lanes=R,U;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case L6:k=10;break $;case V9:k=9;break $;case tQ:k=11,f=qz(f);break $;case eZ:k=14;break $;case W4:k=16,f=null;break $}if(f="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?Y="null":G1($)?Y="array":$!==void 0&&$.$$typeof===D6?(Y="<"+(L0($.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof $,(k=F?S0(F):null)&&(f+=`
72
+
73
+ Check the render method of \``+k+"`."),k=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+f)),f=null}return U=_(k,Y,U,M),U.elementType=$,U.type=f,U.lanes=R,U._debugOwner=F,U}function XZ($,U,Y){return U=Pz($.type,$.key,$.props,$._owner,U,Y),U._debugOwner=$._owner,U._debugStack=$._debugStack,U._debugTask=$._debugTask,U}function TX($,U,Y,F){return $=_(7,$,F,U),$.lanes=Y,$}function _z($,U,Y){return $=_(6,$,null,U),$.lanes=Y,$}function hA($){var U=_(18,null,null,q$);return U.stateNode=$,U}function Sz($,U,Y){return U=_(4,$.children!==null?$.children:[],$.key,U),U.lanes=Y,U.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},U}function J4($,U){if(typeof $==="object"&&$!==null){var Y=n9.get($);if(Y!==void 0)return Y;return U={value:$,source:U,stack:W0(U)},n9.set($,U),U}return{value:$,source:U,stack:W0(U)}}function u6($,U){HI(),aJ[sJ++]=KG,aJ[sJ++]=FK,FK=$,KG=U}function cA($,U,Y){HI(),j4[B4++]=i6,j4[B4++]=r6,j4[B4++]=gX,gX=$;var F=i6;$=r6;var M=32-j1(F)-1;F&=~(1<<M),Y+=1;var R=32-j1(U)+M;if(30<R){var k=M-M%5;R=(F&(1<<k)-1).toString(32),F>>=k,M-=k,i6=1<<32-j1(U)+M|Y<<M|F,r6=R+$}else i6=1<<R|Y<<M|F,r6=$}function Ez($){HI(),$.return!==null&&(u6($,1),cA($,1,0))}function jz($){for(;$===FK;)FK=aJ[--sJ],aJ[sJ]=null,KG=aJ[--sJ],aJ[sJ]=null;for(;$===gX;)gX=j4[--B4],j4[B4]=null,r6=j4[--B4],j4[B4]=null,i6=j4[--B4],j4[B4]=null}function pA(){return HI(),gX!==null?{id:i6,overflow:r6}:null}function mA($,U){HI(),j4[B4++]=i6,j4[B4++]=r6,j4[B4++]=gX,i6=U.id,r6=U.overflow,gX=$}function HI(){p$||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function CX($,U){if($.return===null){if(V4===null)V4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U};else{if(V4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");V4.distanceFromLeaf>U&&(V4.distanceFromLeaf=U)}return V4}var Y=CX($.return,U+1).children;if(0<Y.length&&Y[Y.length-1].fiber===$)return Y=Y[Y.length-1],Y.distanceFromLeaf>U&&(Y.distanceFromLeaf=U),Y;return U={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U},Y.push(U),U}function lA(){p$&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function JZ($,U){R6||($=CX($,0),$.serverProps=null,U!==null&&(U=qq(U),$.serverTail.push(U)))}function DI($){var U=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",F=V4;throw F!==null&&(V4=null,Y=Vz(F)),RQ(J4(Error("Hydration failed because the server rendered "+(U?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
74
+
75
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
76
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
77
+ - Date formatting in a user's locale which doesn't match the server.
78
+ - External changing data without sending a snapshot of it along with the HTML.
79
+ - Invalid HTML tag nesting.
80
+
81
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
82
+
83
+ https://react.dev/link/hydration-mismatch`+Y),$)),o9}function dA($){var{stateNode:U,type:Y,memoizedProps:F}=$;switch(U[A1]=$,U[B1]=F,iO(Y,F),Y){case"dialog":m$("cancel",U),m$("close",U);break;case"iframe":case"object":case"embed":m$("load",U);break;case"video":case"audio":for(Y=0;Y<yG.length;Y++)m$(yG[Y],U);break;case"source":m$("error",U);break;case"img":case"image":case"link":m$("error",U),m$("load",U);break;case"details":m$("toggle",U);break;case"input":zU("input",F),m$("invalid",U),J$(U,F),RU(U,F.value,F.defaultValue,F.checked,F.defaultChecked,F.type,F.name,!0);break;case"option":E$(U,F);break;case"select":zU("select",F),m$("invalid",U),bU(U,F);break;case"textarea":zU("textarea",F),m$("invalid",U),uU(U,F),cU(U,F.value,F.defaultValue,F.children)}Y=F.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||U.textContent===""+Y||F.suppressHydrationWarning===!0||Zq(U.textContent,Y)?(F.popover!=null&&(m$("beforetoggle",U),m$("toggle",U)),F.onScroll!=null&&m$("scroll",U),F.onScrollEnd!=null&&m$("scrollend",U),F.onClick!=null&&(U.onclick=y6),U=!0):U=!1,U||DI($,!0)}function nA($){for(T1=$.return;T1;)switch(T1.tag){case 5:case 31:case 13:v4=!1;return;case 27:case 3:v4=!0;return;default:T1=T1.return}}function qJ($){if($!==T1)return!1;if(!p$)return nA($),p$=!0,!1;var U=$.tag,Y;if(Y=U!==3&&U!==27){if(Y=U===5)Y=$.type,Y=!(Y!=="form"&&Y!=="button")||eO($.type,$.memoizedProps);Y=!Y}if(Y&&TU){for(Y=TU;Y;){var F=CX($,0),M=qq(Y);F.serverTail.push(M),Y=M.type==="Suspense"?X9(Y):K4(Y.nextSibling)}DI($)}if(nA($),U===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");TU=X9($)}else if(U===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");TU=X9($)}else U===27?(U=TU,SI($.type)?($=fV,fV=null,TU=$):TU=U):TU=T1?K4($.stateNode.nextSibling):null;return!0}function qX(){TU=T1=null,R6=p$=!1}function Bz(){var $=wI;return $!==null&&(w1===null?w1=$:w1.push.apply(w1,$),wI=null),$}function RQ($){wI===null?wI=[$]:wI.push($)}function vz(){var $=V4;if($!==null){V4=null;for(var U=Vz($);0<$.children.length;)$=$.children[0];J0($.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
84
+
85
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
86
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
87
+ - Date formatting in a user's locale which doesn't match the server.
88
+ - External changing data without sending a snapshot of it along with the HTML.
89
+ - Invalid HTML tag nesting.
90
+
91
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
92
+
93
+ %s%s`,"https://react.dev/link/hydration-mismatch",U)})}}function YZ(){eJ=HK=null,$Y=!1}function LI($,U,Y){V(i9,U._currentValue,$),U._currentValue=Y,V(r9,U._currentRenderer,$),U._currentRenderer!==void 0&&U._currentRenderer!==null&&U._currentRenderer!==dR&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),U._currentRenderer=dR}function h6($,U){$._currentValue=i9.current;var Y=r9.current;G(r9,U),$._currentRenderer=Y,G(i9,U)}function Nz($,U,Y){for(;$!==null;){var F=$.alternate;if(($.childLanes&U)!==U?($.childLanes|=U,F!==null&&(F.childLanes|=U)):F!==null&&(F.childLanes&U)!==U&&(F.childLanes|=U),$===Y)break;$=$.return}$!==Y&&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 kz($,U,Y,F){var M=$.child;M!==null&&(M.return=$);for(;M!==null;){var R=M.dependencies;if(R!==null){var k=M.child;R=R.firstContext;$:for(;R!==null;){var f=R;R=M;for(var l=0;l<U.length;l++)if(f.context===U[l]){R.lanes|=Y,f=R.alternate,f!==null&&(f.lanes|=Y),Nz(R.return,Y,$),F||(k=null);break $}R=f.next}}else if(M.tag===18){if(k=M.return,k===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");k.lanes|=Y,R=k.alternate,R!==null&&(R.lanes|=Y),Nz(k,Y,$),k=null}else k=M.child;if(k!==null)k.return=M;else for(k=M;k!==null;){if(k===$){k=null;break}if(M=k.sibling,M!==null){M.return=k.return,k=M;break}k=k.return}M=k}}function RJ($,U,Y,F){$=null;for(var M=U,R=!1;M!==null;){if(!R){if((M.flags&524288)!==0)R=!0;else if((M.flags&262144)!==0)break}if(M.tag===10){var k=M.alternate;if(k===null)throw Error("Should have a current fiber. This is a bug in React.");if(k=k.memoizedProps,k!==null){var f=M.type;N1(M.pendingProps.value,k.value)||($!==null?$.push(f):$=[f])}}else if(M===$K.current){if(k=M.alternate,k===null)throw Error("Should have a current fiber. This is a bug in React.");k.memoizedState.memoizedState!==M.memoizedState.memoizedState&&($!==null?$.push(pG):$=[pG])}M=M.return}$!==null&&kz(U,$,Y,F),U.flags|=262144}function QZ($){for($=$.firstContext;$!==null;){if(!N1($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function RX($){HK=$,eJ=null,$=$.dependencies,$!==null&&($.firstContext=null)}function SU($){return $Y&&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()."),oA(HK,$)}function GZ($,U){return HK===null&&RX($),oA($,U)}function oA($,U){var Y=U._currentValue;if(U={context:U,memoizedValue:Y,next:null},eJ===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().");eJ=U,$.dependencies={lanes:0,firstContext:U,_debugThenableState:null},$.flags|=524288}else eJ=eJ.next=U;return Y}function gz(){return{controller:new Yg,data:new Map,refCount:0}}function PX($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function PQ($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&Qg(Gg,function(){$.controller.abort()})}function X6($,U,Y){if(($&127)!==0)0>P6&&(P6=U1(),zG=DK(U),t9=U,Y!=null&&(a9=t(Y)),(n$&(K1|D4))!==F1&&(wU=!0,bI=WG),$=dQ(),U=lQ(),$!==UY||U!==OG?UY=-1.1:U!==null&&(bI=WG),wX=$,OG=U);else if(($&4194048)!==0&&0>N4&&(N4=U1(),VG=DK(U),nR=U,Y!=null&&(oR=t(Y)),0>s6)){if($=dQ(),U=lQ(),$!==hI||U!==fX)hI=-1.1;uI=$,fX=U}}function SN($){if(0>P6){P6=U1(),zG=$._debugTask!=null?$._debugTask:null,(n$&(K1|D4))!==F1&&(bI=WG);var U=dQ(),Y=lQ();U!==UY||Y!==OG?UY=-1.1:Y!==null&&(bI=WG),wX=U,OG=Y}if(0>N4&&(N4=U1(),VG=$._debugTask!=null?$._debugTask:null,0>s6)){if($=dQ(),U=lQ(),$!==hI||U!==fX)hI=-1.1;uI=$,fX=U}}function c6(){var $=xX;return xX=0,$}function ZZ($){var U=xX;return xX=$,U}function _Q($){var U=xX;return xX+=$,U}function KZ(){C$=T$=-1.1}function Y4(){var $=T$;return T$=-1.1,$}function Q4($){0<=$&&(T$=$)}function J6(){var $=NU;return NU=-0,$}function Y6($){0<=$&&(NU=$)}function Q6(){var $=EU;return EU=null,$}function G6(){var $=wU;return wU=!1,$}function xz($){k1=U1(),0>$.actualStartTime&&($.actualStartTime=k1)}function wz($){if(0<=k1){var U=U1()-k1;$.actualDuration+=U,$.selfBaseDuration=U,k1=-1}}function iA($){if(0<=k1){var U=U1()-k1;$.actualDuration+=U,k1=-1}}function Z6(){if(0<=k1){var $=U1(),U=$-k1;k1=-1,xX+=U,NU+=U,C$=$}}function rA($){EU===null&&(EU=[]),EU.push($),a6===null&&(a6=[]),a6.push($)}function K6(){k1=U1(),0>T$&&(T$=k1)}function SQ($){for(var U=$.child;U;)$.actualDuration+=U.actualDuration,U=U.sibling}function EN($,U){if(HG===null){var Y=HG=[];e9=0,yX=lO(),IY={status:"pending",value:void 0,then:function(F){Y.push(F)}}}return e9++,U.then(tA,tA),U}function tA(){if(--e9===0&&(-1<N4||(s6=-1.1),HG!==null)){IY!==null&&(IY.status="fulfilled");var $=HG;HG=null,yX=0,IY=null;for(var U=0;U<$.length;U++)(0,$[U])()}}function jN($,U){var Y=[],F={status:"pending",value:null,reason:null,then:function(M){Y.push(M)}};return $.then(function(){F.status="fulfilled",F.value=U;for(var M=0;M<Y.length;M++)(0,Y[M])(U)},function(M){F.status="rejected",F.reason=M;for(M=0;M<Y.length;M++)(0,Y[M])(void 0)}),F}function fz(){var $=bX.current;return $!==null?$:ZU.pooledCache}function WZ($,U){U===null?V(bX,bX.current,$):V(bX,U.pool,$)}function aA(){var $=fz();return $===null?null:{parent:$1._currentValue,pool:$}}function sA(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function eA($){return $=$.status,$==="fulfilled"||$==="rejected"}function $T($,U,Y){b0.actQueue!==null&&(b0.didUsePromise=!0);var F=$.thenables;if(Y=F[Y],Y===void 0?F.push(U):Y!==U&&($.didWarnAboutUncachedPromise||($.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),U.then(y6,y6),U=Y),U._debugInfo===void 0){$=performance.now(),F=U.displayName;var M={name:typeof F==="string"?F:"Promise",start:$,end:$,value:U};U._debugInfo=[{awaited:M}],U.status!=="fulfilled"&&U.status!=="rejected"&&($=function(){M.end=performance.now()},U.then($,$))}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,IT($),$;default:if(typeof U.status==="string")U.then(y6,y6);else{if($=ZU,$!==null&&100<$.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");$=U,$.status="pending",$.then(function(R){if(U.status==="pending"){var k=U;k.status="fulfilled",k.value=R}},function(R){if(U.status==="pending"){var k=U;k.status="rejected",k.reason=R}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,IT($),$}throw hX=U,qG=!0,XY}}function MI($){try{return zg($)}catch(U){if(U!==null&&typeof U==="object"&&typeof U.then==="function")throw hX=U,qG=!0,XY;throw U}}function UT(){if(hX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=hX;return hX=null,qG=!1,$}function IT($){if($===XY||$===PK)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 D1($){var U=k$;return $!=null&&(k$=U===null?$:U.concat($)),U}function yz(){var $=k$;if($!=null){for(var U=$.length-1;0<=U;U--)if($[U].name!=null){var Y=$[U].debugTask;if(Y!=null)return Y}}return null}function zZ($,U,Y){for(var F=Object.keys($.props),M=0;M<F.length;M++){var R=F[M];if(R!=="children"&&R!=="key"){U===null&&(U=XZ($,Y.mode,0),U._debugInfo=k$,U.return=Y),J0(U,function(k){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k)},R);break}}}function OZ($){var U=RG;return RG+=1,JY===null&&(JY=sA()),$T(JY,$,U)}function EQ($,U){U=U.props.ref,$.ref=U!==void 0?U:null}function XT($,U){if(U.$$typeof===l3)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
+ - Multiple copies of the "react" package is used.
95
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
96
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(U),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function VZ($,U){var Y=yz();Y!==null?Y.run(XT.bind(null,$,U)):XT($,U)}function JT($,U){var Y=t($)||"Component";VP[Y]||(VP[Y]=!0,U=U.displayName||U.name||"Component",$.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
97
+ root.render(%s)`,U,U,U):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
98
+ <%s>{%s}</%s>`,U,U,Y,U,Y))}function FZ($,U){var Y=yz();Y!==null?Y.run(JT.bind(null,$,U)):JT($,U)}function YT($,U){var Y=t($)||"Component";FP[Y]||(FP[Y]=!0,U=String(U),$.tag===3?console.error(`Symbols are not valid as a React child.
99
+ root.render(%s)`,U):console.error(`Symbols are not valid as a React child.
100
+ <%s>%s</%s>`,Y,U,Y))}function HZ($,U){var Y=yz();Y!==null?Y.run(YT.bind(null,$,U)):YT($,U)}function QT($){function U(K0,F0){if($){var C0=K0.deletions;C0===null?(K0.deletions=[F0],K0.flags|=16):C0.push(F0)}}function Y(K0,F0){if(!$)return null;for(;F0!==null;)U(K0,F0),F0=F0.sibling;return null}function F(K0){for(var F0=new Map;K0!==null;)K0.key!==null?F0.set(K0.key,K0):F0.set(K0.index,K0),K0=K0.sibling;return F0}function M(K0,F0){return K0=b6(K0,F0),K0.index=0,K0.sibling=null,K0}function R(K0,F0,C0){if(K0.index=C0,!$)return K0.flags|=1048576,F0;if(C0=K0.alternate,C0!==null)return C0=C0.index,C0<F0?(K0.flags|=67108866,F0):C0;return K0.flags|=67108866,F0}function k(K0){return $&&K0.alternate===null&&(K0.flags|=67108866),K0}function f(K0,F0,C0,l0){if(F0===null||F0.tag!==6)return F0=_z(C0,K0.mode,l0),F0.return=K0,F0._debugOwner=K0,F0._debugTask=K0._debugTask,F0._debugInfo=k$,F0;return F0=M(F0,C0),F0.return=K0,F0._debugInfo=k$,F0}function l(K0,F0,C0,l0){var O$=C0.type;if(O$===bJ)return F0=R0(K0,F0,C0.props.children,l0,C0.key),zZ(C0,F0,K0),F0;if(F0!==null&&(F0.elementType===O$||fA(F0,C0)||typeof O$==="object"&&O$!==null&&O$.$$typeof===W4&&MI(O$)===F0.type))return F0=M(F0,C0.props),EQ(F0,C0),F0.return=K0,F0._debugOwner=C0._owner,F0._debugInfo=k$,F0;return F0=XZ(C0,K0.mode,l0),EQ(F0,C0),F0.return=K0,F0._debugInfo=k$,F0}function o(K0,F0,C0,l0){if(F0===null||F0.tag!==4||F0.stateNode.containerInfo!==C0.containerInfo||F0.stateNode.implementation!==C0.implementation)return F0=Sz(C0,K0.mode,l0),F0.return=K0,F0._debugInfo=k$,F0;return F0=M(F0,C0.children||[]),F0.return=K0,F0._debugInfo=k$,F0}function R0(K0,F0,C0,l0,O$){if(F0===null||F0.tag!==7)return F0=TX(C0,K0.mode,l0,O$),F0.return=K0,F0._debugOwner=K0,F0._debugTask=K0._debugTask,F0._debugInfo=k$,F0;return F0=M(F0,C0),F0.return=K0,F0._debugInfo=k$,F0}function P0(K0,F0,C0){if(typeof F0==="string"&&F0!==""||typeof F0==="number"||typeof F0==="bigint")return F0=_z(""+F0,K0.mode,C0),F0.return=K0,F0._debugOwner=K0,F0._debugTask=K0._debugTask,F0._debugInfo=k$,F0;if(typeof F0==="object"&&F0!==null){switch(F0.$$typeof){case D6:return C0=XZ(F0,K0.mode,C0),EQ(C0,F0),C0.return=K0,K0=D1(F0._debugInfo),C0._debugInfo=k$,k$=K0,C0;case yJ:return F0=Sz(F0,K0.mode,C0),F0.return=K0,F0._debugInfo=k$,F0;case W4:var l0=D1(F0._debugInfo);return F0=MI(F0),K0=P0(K0,F0,C0),k$=l0,K0}if(G1(F0)||H0(F0))return C0=TX(F0,K0.mode,C0,null),C0.return=K0,C0._debugOwner=K0,C0._debugTask=K0._debugTask,K0=D1(F0._debugInfo),C0._debugInfo=k$,k$=K0,C0;if(typeof F0.then==="function")return l0=D1(F0._debugInfo),K0=P0(K0,OZ(F0),C0),k$=l0,K0;if(F0.$$typeof===L6)return P0(K0,GZ(K0,F0),C0);VZ(K0,F0)}return typeof F0==="function"&&FZ(K0,F0),typeof F0==="symbol"&&HZ(K0,F0),null}function V0(K0,F0,C0,l0){var O$=F0!==null?F0.key:null;if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return O$!==null?null:f(K0,F0,""+C0,l0);if(typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case D6:return C0.key===O$?(O$=D1(C0._debugInfo),K0=l(K0,F0,C0,l0),k$=O$,K0):null;case yJ:return C0.key===O$?o(K0,F0,C0,l0):null;case W4:return O$=D1(C0._debugInfo),C0=MI(C0),K0=V0(K0,F0,C0,l0),k$=O$,K0}if(G1(C0)||H0(C0)){if(O$!==null)return null;return O$=D1(C0._debugInfo),K0=R0(K0,F0,C0,l0,null),k$=O$,K0}if(typeof C0.then==="function")return O$=D1(C0._debugInfo),K0=V0(K0,F0,OZ(C0),l0),k$=O$,K0;if(C0.$$typeof===L6)return V0(K0,F0,GZ(K0,C0),l0);VZ(K0,C0)}return typeof C0==="function"&&FZ(K0,C0),typeof C0==="symbol"&&HZ(K0,C0),null}function g0(K0,F0,C0,l0,O$){if(typeof l0==="string"&&l0!==""||typeof l0==="number"||typeof l0==="bigint")return K0=K0.get(C0)||null,f(F0,K0,""+l0,O$);if(typeof l0==="object"&&l0!==null){switch(l0.$$typeof){case D6:return C0=K0.get(l0.key===null?C0:l0.key)||null,K0=D1(l0._debugInfo),F0=l(F0,C0,l0,O$),k$=K0,F0;case yJ:return K0=K0.get(l0.key===null?C0:l0.key)||null,o(F0,K0,l0,O$);case W4:var P$=D1(l0._debugInfo);return l0=MI(l0),F0=g0(K0,F0,C0,l0,O$),k$=P$,F0}if(G1(l0)||H0(l0))return C0=K0.get(C0)||null,K0=D1(l0._debugInfo),F0=R0(F0,C0,l0,O$,null),k$=K0,F0;if(typeof l0.then==="function")return P$=D1(l0._debugInfo),F0=g0(K0,F0,C0,OZ(l0),O$),k$=P$,F0;if(l0.$$typeof===L6)return g0(K0,F0,C0,GZ(F0,l0),O$);VZ(F0,l0)}return typeof l0==="function"&&FZ(F0,l0),typeof l0==="symbol"&&HZ(F0,l0),null}function z$(K0,F0,C0,l0){if(typeof C0!=="object"||C0===null)return l0;switch(C0.$$typeof){case D6:case yJ:S(K0,F0,C0);var O$=C0.key;if(typeof O$!=="string")break;if(l0===null){l0=new Set,l0.add(O$);break}if(!l0.has(O$)){l0.add(O$);break}J0(F0,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",O$)});break;case W4:C0=MI(C0),z$(K0,F0,C0,l0)}return l0}function H$(K0,F0,C0,l0){for(var O$=null,P$=null,A$=null,L$=F0,v$=F0=0,CU=null;L$!==null&&v$<C0.length;v$++){L$.index>v$?(CU=L$,L$=null):CU=L$.sibling;var sU=V0(K0,L$,C0[v$],l0);if(sU===null){L$===null&&(L$=CU);break}O$=z$(K0,sU,C0[v$],O$),$&&L$&&sU.alternate===null&&U(K0,L$),F0=R(sU,F0,v$),A$===null?P$=sU:A$.sibling=sU,A$=sU,L$=CU}if(v$===C0.length)return Y(K0,L$),p$&&u6(K0,v$),P$;if(L$===null){for(;v$<C0.length;v$++)L$=P0(K0,C0[v$],l0),L$!==null&&(O$=z$(K0,L$,C0[v$],O$),F0=R(L$,F0,v$),A$===null?P$=L$:A$.sibling=L$,A$=L$);return p$&&u6(K0,v$),P$}for(L$=F(L$);v$<C0.length;v$++)CU=g0(L$,K0,v$,C0[v$],l0),CU!==null&&(O$=z$(K0,CU,C0[v$],O$),$&&CU.alternate!==null&&L$.delete(CU.key===null?v$:CU.key),F0=R(CU,F0,v$),A$===null?P$=CU:A$.sibling=CU,A$=CU);return $&&L$.forEach(function(GI){return U(K0,GI)}),p$&&u6(K0,v$),P$}function FU(K0,F0,C0,l0){if(C0==null)throw Error("An iterable object provided no iterator.");for(var O$=null,P$=null,A$=F0,L$=F0=0,v$=null,CU=null,sU=C0.next();A$!==null&&!sU.done;L$++,sU=C0.next()){A$.index>L$?(v$=A$,A$=null):v$=A$.sibling;var GI=V0(K0,A$,sU.value,l0);if(GI===null){A$===null&&(A$=v$);break}CU=z$(K0,GI,sU.value,CU),$&&A$&&GI.alternate===null&&U(K0,A$),F0=R(GI,F0,L$),P$===null?O$=GI:P$.sibling=GI,P$=GI,A$=v$}if(sU.done)return Y(K0,A$),p$&&u6(K0,L$),O$;if(A$===null){for(;!sU.done;L$++,sU=C0.next())A$=P0(K0,sU.value,l0),A$!==null&&(CU=z$(K0,A$,sU.value,CU),F0=R(A$,F0,L$),P$===null?O$=A$:P$.sibling=A$,P$=A$);return p$&&u6(K0,L$),O$}for(A$=F(A$);!sU.done;L$++,sU=C0.next())v$=g0(A$,K0,L$,sU.value,l0),v$!==null&&(CU=z$(K0,v$,sU.value,CU),$&&v$.alternate!==null&&A$.delete(v$.key===null?L$:v$.key),F0=R(v$,F0,L$),P$===null?O$=v$:P$.sibling=v$,P$=v$);return $&&A$.forEach(function(wg){return U(K0,wg)}),p$&&u6(K0,L$),O$}function l$(K0,F0,C0,l0){if(typeof C0==="object"&&C0!==null&&C0.type===bJ&&C0.key===null&&(zZ(C0,null,K0),C0=C0.props.children),typeof C0==="object"&&C0!==null){switch(C0.$$typeof){case D6:var O$=D1(C0._debugInfo);$:{for(var P$=C0.key;F0!==null;){if(F0.key===P$){if(P$=C0.type,P$===bJ){if(F0.tag===7){Y(K0,F0.sibling),l0=M(F0,C0.props.children),l0.return=K0,l0._debugOwner=C0._owner,l0._debugInfo=k$,zZ(C0,l0,K0),K0=l0;break $}}else if(F0.elementType===P$||fA(F0,C0)||typeof P$==="object"&&P$!==null&&P$.$$typeof===W4&&MI(P$)===F0.type){Y(K0,F0.sibling),l0=M(F0,C0.props),EQ(l0,C0),l0.return=K0,l0._debugOwner=C0._owner,l0._debugInfo=k$,K0=l0;break $}Y(K0,F0);break}else U(K0,F0);F0=F0.sibling}C0.type===bJ?(l0=TX(C0.props.children,K0.mode,l0,C0.key),l0.return=K0,l0._debugOwner=K0,l0._debugTask=K0._debugTask,l0._debugInfo=k$,zZ(C0,l0,K0),K0=l0):(l0=XZ(C0,K0.mode,l0),EQ(l0,C0),l0.return=K0,l0._debugInfo=k$,K0=l0)}return K0=k(K0),k$=O$,K0;case yJ:$:{O$=C0;for(C0=O$.key;F0!==null;){if(F0.key===C0)if(F0.tag===4&&F0.stateNode.containerInfo===O$.containerInfo&&F0.stateNode.implementation===O$.implementation){Y(K0,F0.sibling),l0=M(F0,O$.children||[]),l0.return=K0,K0=l0;break $}else{Y(K0,F0);break}else U(K0,F0);F0=F0.sibling}l0=Sz(O$,K0.mode,l0),l0.return=K0,K0=l0}return k(K0);case W4:return O$=D1(C0._debugInfo),C0=MI(C0),K0=l$(K0,F0,C0,l0),k$=O$,K0}if(G1(C0))return O$=D1(C0._debugInfo),K0=H$(K0,F0,C0,l0),k$=O$,K0;if(H0(C0)){if(O$=D1(C0._debugInfo),P$=H0(C0),typeof P$!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var A$=P$.call(C0);if(A$===C0){if(K0.tag!==0||Object.prototype.toString.call(K0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(A$)!=="[object Generator]")zP||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."),zP=!0}else C0.entries!==P$||XV||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),XV=!0);return K0=FU(K0,F0,A$,l0),k$=O$,K0}if(typeof C0.then==="function")return O$=D1(C0._debugInfo),K0=l$(K0,F0,OZ(C0),l0),k$=O$,K0;if(C0.$$typeof===L6)return l$(K0,F0,GZ(K0,C0),l0);VZ(K0,C0)}if(typeof C0==="string"&&C0!==""||typeof C0==="number"||typeof C0==="bigint")return O$=""+C0,F0!==null&&F0.tag===6?(Y(K0,F0.sibling),l0=M(F0,O$),l0.return=K0,K0=l0):(Y(K0,F0),l0=_z(O$,K0.mode,l0),l0.return=K0,l0._debugOwner=K0,l0._debugTask=K0._debugTask,l0._debugInfo=k$,K0=l0),k(K0);return typeof C0==="function"&&FZ(K0,C0),typeof C0==="symbol"&&HZ(K0,C0),Y(K0,F0)}return function(K0,F0,C0,l0){var O$=k$;k$=null;try{RG=0;var P$=l$(K0,F0,C0,l0);return JY=null,P$}catch(CU){if(CU===XY||CU===PK)throw CU;var A$=_(29,CU,null,K0.mode);A$.lanes=l0,A$.return=K0;var L$=A$._debugInfo=k$;if(A$._debugOwner=K0._debugOwner,A$._debugTask=K0._debugTask,L$!=null){for(var v$=L$.length-1;0<=v$;v$--)if(typeof L$[v$].stack==="string"){A$._debugOwner=L$[v$],A$._debugTask=L$[v$].debugTask;break}}return A$}finally{k$=O$}}}function GT($,U){var Y=G1($);return $=!Y&&typeof H0($)==="function",Y||$?(Y=Y?"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>",Y,U,Y),!1):!0}function bz($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uz($,U){$=$.updateQueue,U.updateQueue===$&&(U.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function AI($){return{lane:$,tag:DP,payload:null,callback:null,next:null}}function TI($,U,Y){var F=$.updateQueue;if(F===null)return null;if(F=F.shared,YV===F&&!AP){var M=t($);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
101
+
102
+ Please update the following component: %s`,M),AP=!0}if((n$&K1)!==F1)return M=F.pending,M===null?U.next=U:(U.next=M.next,M.next=U),F.pending=U,U=IZ($),wA($,null,Y),U;return UZ($,F,U,Y),IZ($)}function jQ($,U,Y){if(U=U.updateQueue,U!==null&&(U=U.shared,(Y&4194048)!==0)){var F=U.lanes;F&=$.pendingLanes,Y|=F,U.lanes=Y,c0($,Y)}}function DZ($,U){var{updateQueue:Y,alternate:F}=$;if(F!==null&&(F=F.updateQueue,Y===F)){var M=null,R=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var k={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};R===null?M=R=k:R=R.next=k,Y=Y.next}while(Y!==null);R===null?M=R=U:R=R.next=U}else M=R=U;Y={baseState:F.baseState,firstBaseUpdate:M,lastBaseUpdate:R,shared:F.shared,callbacks:F.callbacks},$.updateQueue=Y;return}$=Y.lastBaseUpdate,$===null?Y.firstBaseUpdate=U:$.next=U,Y.lastBaseUpdate=U}function BQ(){if(QV){var $=IY;if($!==null)throw $}}function vQ($,U,Y,F){QV=!1;var M=$.updateQueue;cI=!1,YV=M.shared;var{firstBaseUpdate:R,lastBaseUpdate:k}=M,f=M.shared.pending;if(f!==null){M.shared.pending=null;var l=f,o=l.next;l.next=null,k===null?R=o:k.next=o,k=l;var R0=$.alternate;R0!==null&&(R0=R0.updateQueue,f=R0.lastBaseUpdate,f!==k&&(f===null?R0.firstBaseUpdate=o:f.next=o,R0.lastBaseUpdate=l))}if(R!==null){var P0=M.baseState;k=0,R0=o=l=null,f=R;do{var V0=f.lane&-536870913,g0=V0!==f.lane;if(g0?(g$&V0)===V0:(F&V0)===V0){V0!==0&&V0===yX&&(QV=!0),R0!==null&&(R0=R0.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});$:{V0=$;var z$=f,H$=U,FU=Y;switch(z$.tag){case LP:if(z$=z$.payload,typeof z$==="function"){$Y=!0;var l$=z$.call(FU,P0,H$);if(V0.mode&P1){k0(!0);try{z$.call(FU,P0,H$)}finally{k0(!1)}}$Y=!1,P0=l$;break $}P0=z$;break $;case JV:V0.flags=V0.flags&-65537|128;case DP:if(l$=z$.payload,typeof l$==="function"){if($Y=!0,z$=l$.call(FU,P0,H$),V0.mode&P1){k0(!0);try{l$.call(FU,P0,H$)}finally{k0(!1)}}$Y=!1}else z$=l$;if(z$===null||z$===void 0)break $;P0=y$({},P0,z$);break $;case MP:cI=!0}}V0=f.callback,V0!==null&&($.flags|=64,g0&&($.flags|=8192),g0=M.callbacks,g0===null?M.callbacks=[V0]:g0.push(V0))}else g0={lane:V0,tag:f.tag,payload:f.payload,callback:f.callback,next:null},R0===null?(o=R0=g0,l=P0):R0=R0.next=g0,k|=V0;if(f=f.next,f===null)if(f=M.shared.pending,f===null)break;else g0=f,f=g0.next,g0.next=null,M.lastBaseUpdate=g0,M.shared.pending=null}while(1);R0===null&&(l=P0),M.baseState=l,M.firstBaseUpdate=o,M.lastBaseUpdate=R0,R===null&&(M.shared.lanes=0),lI|=k,$.lanes=k,$.memoizedState=P0}YV=null}function ZT($,U){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(U)}function BN($,U){var Y=$.shared.hiddenCallbacks;if(Y!==null)for($.shared.hiddenCallbacks=null,$=0;$<Y.length;$++)ZT(Y[$],U)}function KT($,U){var Y=$.callbacks;if(Y!==null)for($.callbacks=null,$=0;$<Y.length;$++)ZT(Y[$],U)}function WT($,U){var Y=E6;V(SK,Y,$),V(YY,U,$),E6=Y|U.baseLanes}function hz($){V(SK,E6,$),V(YY,YY.current,$)}function cz($){E6=SK.current,G(YY,$),G(SK,$)}function CI($){var U=$.alternate;V(aU,aU.current&QY,$),V(F4,$,$),k4===null&&(U===null||YY.current!==null?k4=$:U.memoizedState!==null&&(k4=$))}function pz($){V(aU,aU.current,$),V(F4,$,$),k4===null&&(k4=$)}function zT($){$.tag===22?(V(aU,aU.current,$),V(F4,$,$),k4===null&&(k4=$)):qI($)}function qI($){V(aU,aU.current,$),V(F4,F4.current,$)}function G4($){G(F4,$),k4===$&&(k4=null),G(aU,$)}function LZ($){for(var U=$;U!==null;){if(U.tag===13){var Y=U.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||U9(Y)||I9(Y)))return U}else if(U.tag===19&&(U.memoizedProps.revealOrder==="forwards"||U.memoizedProps.revealOrder==="backwards"||U.memoizedProps.revealOrder==="unstable_legacy-backwards"||U.memoizedProps.revealOrder==="together")){if((U.flags&128)!==0)return U}else if(U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return null;U=U.return}U.sibling.return=U.return,U=U.sibling}return null}function f$(){var $=f0;x4===null?x4=[$]:x4.push($)}function G$(){var $=f0;if(x4!==null&&(II++,x4[II]!==$)){var U=t(R$);if(!TP.has(U)&&(TP.add(U),x4!==null)){for(var Y="",F=0;F<=II;F++){var M=x4[F],R=F===II?$:M;for(M=F+1+". "+M;30>M.length;)M+=" ";M+=R+`
103
+ `,Y+=M}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
104
+
105
+ Previous render Next render
106
+ ------------------------------------------------------
107
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ `,U,Y)}}}function PJ($){$===void 0||$===null||G1($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",f0,typeof $)}function MZ(){var $=t(R$);qP.has($)||(qP.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function lU(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
109
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
110
+ 2. You might be breaking the Rules of Hooks
111
+ 3. You might have more than one copy of React in the same app
112
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function mz($,U){if(SG)return!1;if(U===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",f0),!1;$.length!==U.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
+
114
+ Previous: %s
115
+ Incoming: %s`,f0,"["+U.join(", ")+"]","["+$.join(", ")+"]");for(var Y=0;Y<U.length&&Y<$.length;Y++)if(!N1($[Y],U[Y]))return!1;return!0}function lz($,U,Y,F,M,R){if($I=R,R$=U,x4=$!==null?$._debugHookTypes:null,II=-1,SG=$!==null&&$.type!==U.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")R=t(R$),GV.has(R)||(GV.add(R),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",R===null?"An unknown Component":"<"+R+">"));U.memoizedState=null,U.updateQueue=null,U.lanes=0,b0.H=$!==null&&$.memoizedState!==null?KV:x4!==null?RP:ZV,pX=R=(U.mode&P1)!==q$;var k=$V(Y,F,M);if(pX=!1,ZY&&(k=dz(U,Y,F,M)),R){k0(!0);try{k=dz(U,Y,F,M)}finally{k0(!1)}}return OT($,U),k}function OT($,U){U._debugHookTypes=x4,U.dependencies===null?UI!==null&&(U.dependencies={lanes:0,firstContext:null,_debugThenableState:UI}):U.dependencies._debugThenableState=UI,b0.H=EG;var Y=GU!==null&&GU.next!==null;if($I=0,x4=f0=I1=GU=R$=null,II=-1,$!==null&&($.flags&65011712)!==(U.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),jK=!1,_G=0,UI=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||X1||($=$.dependencies,$!==null&&QZ($)&&(X1=!0)),qG?(qG=!1,$=!0):$=!1,$&&(U=t(U)||"Unknown",CP.has(U)||GV.has(U)||(CP.add(U),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function dz($,U,Y,F){R$=$;var M=0;do{if(ZY&&(UI=null),_G=0,ZY=!1,M>=Vg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(M+=1,SG=!1,I1=GU=null,$.updateQueue!=null){var R=$.updateQueue;R.lastEffect=null,R.events=null,R.stores=null,R.memoCache!=null&&(R.memoCache.index=0)}II=-1,b0.H=PP,R=$V(U,Y,F)}while(ZY);return R}function vN(){var $=b0.H,U=$.useState()[0];return U=typeof U.then==="function"?NQ(U):U,$=$.useState()[0],(GU!==null?GU.memoizedState:null)!==$&&(R$.flags|=1024),U}function nz(){var $=BK!==0;return BK=0,$}function oz($,U,Y){U.updateQueue=$.updateQueue,U.flags=(U.mode&d4)!==q$?U.flags&-402655237:U.flags&-2053,$.lanes&=~Y}function iz($){if(jK){for($=$.memoizedState;$!==null;){var U=$.queue;U!==null&&(U.pending=null),$=$.next}jK=!1}$I=0,x4=I1=GU=R$=null,II=-1,f0=null,ZY=!1,_G=BK=0,UI=null}function E1(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return I1===null?R$.memoizedState=I1=$:I1=I1.next=$,I1}function UU(){if(GU===null){var $=R$.alternate;$=$!==null?$.memoizedState:null}else $=GU.next;var U=I1===null?R$.memoizedState:I1.next;if(U!==null)I1=U,GU=$;else{if($===null){if(R$.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}GU=$,$={memoizedState:GU.memoizedState,baseState:GU.baseState,baseQueue:GU.baseQueue,queue:GU.queue,next:null},I1===null?R$.memoizedState=I1=$:I1=I1.next=$}return I1}function AZ(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function NQ($){var U=_G;return _G+=1,UI===null&&(UI=sA()),$=$T(UI,$,U),U=R$,(I1===null?U.memoizedState:I1.next)===null&&(U=U.alternate,b0.H=U!==null&&U.memoizedState!==null?KV:ZV),$}function RI($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return NQ($);if($.$$typeof===L6)return SU($)}throw Error("An unsupported type was passed to use(): "+String($))}function _X($){var U=null,Y=R$.updateQueue;if(Y!==null&&(U=Y.memoCache),U==null){var F=R$.alternate;F!==null&&(F=F.updateQueue,F!==null&&(F=F.memoCache,F!=null&&(U={data:F.data.map(function(M){return M.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),Y===null&&(Y=AZ(),R$.updateQueue=Y),Y.memoCache=U,Y=U.data[U.index],Y===void 0||SG)for(Y=U.data[U.index]=Array($),F=0;F<$;F++)Y[F]=d3;else Y.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.",Y.length,$);return U.index++,Y}function c4($,U){return typeof U==="function"?U($):U}function rz($,U,Y){var F=E1();if(Y!==void 0){var M=Y(U);if(pX){k0(!0);try{Y(U)}finally{k0(!1)}}}else M=U;return F.memoizedState=F.baseState=M,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:M},F.queue=$,$=$.dispatch=wN.bind(null,R$,$),[F.memoizedState,$]}function _J($){var U=UU();return tz(U,GU,$)}function tz($,U,Y){var F=$.queue;if(F===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");F.lastRenderedReducer=Y;var M=$.baseQueue,R=F.pending;if(R!==null){if(M!==null){var k=M.next;M.next=R.next,R.next=k}U.baseQueue!==M&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),U.baseQueue=M=R,F.pending=null}if(R=$.baseState,M===null)$.memoizedState=R;else{U=M.next;var f=k=null,l=null,o=U,R0=!1;do{var P0=o.lane&-536870913;if(P0!==o.lane?(g$&P0)===P0:($I&P0)===P0){var V0=o.revertLane;if(V0===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),P0===yX&&(R0=!0);else if(($I&V0)===V0){o=o.next,V0===yX&&(R0=!0);continue}else P0={lane:0,revertLane:o.revertLane,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=P0,k=R):l=l.next=P0,R$.lanes|=V0,lI|=V0;P0=o.action,pX&&Y(R,P0),R=o.hasEagerState?o.eagerState:Y(R,P0)}else V0={lane:P0,revertLane:o.revertLane,gesture:o.gesture,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=V0,k=R):l=l.next=V0,R$.lanes|=P0,lI|=P0;o=o.next}while(o!==null&&o!==U);if(l===null?k=R:l.next=f,!N1(R,$.memoizedState)&&(X1=!0,R0&&(Y=IY,Y!==null)))throw Y;$.memoizedState=R,$.baseState=k,$.baseQueue=l,F.lastRenderedState=R}return M===null&&(F.lanes=0),[$.memoizedState,F.dispatch]}function kQ($){var U=UU(),Y=U.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=$;var{dispatch:F,pending:M}=Y,R=U.memoizedState;if(M!==null){Y.pending=null;var k=M=M.next;do R=$(R,k.action),k=k.next;while(k!==M);N1(R,U.memoizedState)||(X1=!0),U.memoizedState=R,U.baseQueue===null&&(U.baseState=R),Y.lastRenderedState=R}return[R,F]}function az($,U,Y){var F=R$,M=E1();if(p$){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var R=Y();GY||R===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),GY=!0)}else{if(R=U(),GY||(Y=U(),N1(R,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),GY=!0)),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(g$&127)!==0||VT(F,U,R)}return M.memoizedState=R,Y={value:R,getSnapshot:U},M.queue=Y,RZ(HT.bind(null,F,Y,$),[$]),F.flags|=2048,EJ(g4|x1,{destroy:void 0},FT.bind(null,F,Y,R,U),null),R}function TZ($,U,Y){var F=R$,M=UU(),R=p$;if(R){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=U(),!GY){var k=U();N1(Y,k)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),GY=!0)}if(k=!N1((GU||M).memoizedState,Y))M.memoizedState=Y,X1=!0;M=M.queue;var f=HT.bind(null,F,M,$);if(d1(2048,x1,f,[$]),M.getSnapshot!==U||k||I1!==null&&I1.memoizedState.tag&g4){if(F.flags|=2048,EJ(g4|x1,{destroy:void 0},FT.bind(null,F,M,Y,U),null),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");R||($I&127)!==0||VT(F,U,Y)}return Y}function VT($,U,Y){$.flags|=16384,$={getSnapshot:U,value:Y},U=R$.updateQueue,U===null?(U=AZ(),R$.updateQueue=U,U.stores=[$]):(Y=U.stores,Y===null?U.stores=[$]:Y.push($))}function FT($,U,Y,F){U.value=Y,U.getSnapshot=F,DT(U)&&LT($)}function HT($,U,Y){return Y(function(){DT(U)&&(X6(2,"updateSyncExternalStore()",$),LT($))})}function DT($){var U=$.getSnapshot;$=$.value;try{var Y=U();return!N1($,Y)}catch(F){return!0}}function LT($){var U=q1($,2);U!==null&&xU(U,$,2)}function sz($){var U=E1();if(typeof $==="function"){var Y=$;if($=Y(),pX){k0(!0);try{Y()}finally{k0(!1)}}}return U.memoizedState=U.baseState=$,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:c4,lastRenderedState:$},U}function ez($){$=sz($);var U=$.queue,Y=fT.bind(null,R$,U);return U.dispatch=Y,[$.memoizedState,Y]}function $O($){var U=E1();U.memoizedState=U.baseState=$;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=Y,U=FO.bind(null,R$,!0,Y),Y.dispatch=U,[$,U]}function MT($,U){var Y=UU();return AT(Y,GU,$,U)}function AT($,U,Y,F){return $.baseState=Y,tz($,GU,typeof F==="function"?F:c4)}function TT($,U){var Y=UU();if(GU!==null)return AT(Y,GU,$,U);return Y.baseState=$,[$,Y.queue.dispatch]}function NN($,U,Y,F,M){if(BZ($))throw Error("Cannot update form state while rendering.");if($=U.action,$!==null){var R={payload:M,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){R.listeners.push(k)}};b0.T!==null?Y(!0):R.isTransition=!1,F(R),Y=U.pending,Y===null?(R.next=U.pending=R,CT(U,R)):(R.next=Y.next,U.pending=Y.next=R)}}function CT($,U){var{action:Y,payload:F}=U,M=$.state;if(U.isTransition){var R=b0.T,k={};k._updatedFibers=new Set,b0.T=k;try{var f=Y(M,F),l=b0.S;l!==null&&l(k,f),qT($,U,f)}catch(o){UO($,U,o)}finally{R!==null&&k.types!==null&&(R.types!==null&&R.types!==k.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),R.types=k.types),b0.T=R,R===null&&k._updatedFibers&&($=k._updatedFibers.size,k._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{k=Y(M,F),qT($,U,k)}catch(o){UO($,U,o)}}function qT($,U,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(b0.asyncTransitions++,Y.then(jZ,jZ),Y.then(function(F){RT($,U,F)},function(F){return UO($,U,F)}),U.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):RT($,U,Y)}function RT($,U,Y){U.status="fulfilled",U.value=Y,PT(U),$.state=Y,U=$.pending,U!==null&&(Y=U.next,Y===U?$.pending=null:(Y=Y.next,U.next=Y,CT($,Y)))}function UO($,U,Y){var F=$.pending;if($.pending=null,F!==null){F=F.next;do U.status="rejected",U.reason=Y,PT(U),U=U.next;while(U!==F)}$.action=null}function PT($){$=$.listeners;for(var U=0;U<$.length;U++)(0,$[U])()}function _T($,U){return U}function SJ($,U){if(p$){var Y=ZU.formState;if(Y!==null){$:{var F=R$;if(p$){if(TU){U:{var M=TU;for(var R=v4;M.nodeType!==8;){if(!R){M=null;break U}if(M=K4(M.nextSibling),M===null){M=null;break U}}R=M.data,M=R===kV||R===K_?M:null}if(M){TU=K4(M.nextSibling),F=M.data===kV;break $}}DI(F)}F=!1}F&&(U=Y[0])}}return Y=E1(),Y.memoizedState=Y.baseState=U,F={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_T,lastRenderedState:U},Y.queue=F,Y=fT.bind(null,R$,F),F.dispatch=Y,F=sz(!1),R=FO.bind(null,R$,!1,F.queue),F=E1(),M={state:U,dispatch:null,action:$,pending:null},F.queue=M,Y=NN.bind(null,R$,M,R,Y),M.dispatch=Y,F.memoizedState=$,[U,Y,!1]}function CZ($){var U=UU();return ST(U,GU,$)}function ST($,U,Y){if(U=tz($,U,_T)[0],$=_J(c4)[0],typeof U==="object"&&U!==null&&typeof U.then==="function")try{var F=NQ(U)}catch(k){if(k===XY)throw PK;throw k}else F=U;U=UU();var M=U.queue,R=M.dispatch;return Y!==U.memoizedState&&(R$.flags|=2048,EJ(g4|x1,{destroy:void 0},kN.bind(null,M,Y),null)),[F,R,$]}function kN($,U){$.action=U}function qZ($){var U=UU(),Y=GU;if(Y!==null)return ST(U,Y,$);UU(),U=U.memoizedState,Y=UU();var F=Y.queue.dispatch;return Y.memoizedState=$,[U,F,!1]}function EJ($,U,Y,F){return $={tag:$,create:Y,deps:F,inst:U,next:null},U=R$.updateQueue,U===null&&(U=AZ(),R$.updateQueue=U),Y=U.lastEffect,Y===null?U.lastEffect=$.next=$:(F=Y.next,Y.next=$,$.next=F,U.lastEffect=$),$}function IO($){var U=E1();return $={current:$},U.memoizedState=$}function SX($,U,Y,F){var M=E1();R$.flags|=$,M.memoizedState=EJ(g4|U,{destroy:void 0},Y,F===void 0?null:F)}function d1($,U,Y,F){var M=UU();F=F===void 0?null:F;var R=M.memoizedState.inst;GU!==null&&F!==null&&mz(F,GU.memoizedState.deps)?M.memoizedState=EJ(U,R,Y,F):(R$.flags|=$,M.memoizedState=EJ(g4|U,R,Y,F))}function RZ($,U){(R$.mode&d4)!==q$?SX(276826112,x1,$,U):SX(8390656,x1,$,U)}function gN($){R$.flags|=4;var U=R$.updateQueue;if(U===null)U=AZ(),R$.updateQueue=U,U.events=[$];else{var Y=U.events;Y===null?U.events=[$]:Y.push($)}}function XO($){var U=E1(),Y={impl:$};return U.memoizedState=Y,function(){if((n$&K1)!==F1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function PZ($){var U=UU().memoizedState;return gN({ref:U,nextImpl:$}),function(){if((n$&K1)!==F1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return U.impl.apply(void 0,arguments)}}function JO($,U){var Y=4194308;return(R$.mode&d4)!==q$&&(Y|=134217728),SX(Y,H4,$,U)}function ET($,U){if(typeof U==="function"){$=$();var Y=U($);return function(){typeof Y==="function"?Y():U(null)}}if(U!==null&&U!==void 0)return U.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(U).join(", ")+"}"),$=$(),U.current=$,function(){U.current=null}}function YO($,U,Y){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Y=Y!==null&&Y!==void 0?Y.concat([$]):null;var F=4194308;(R$.mode&d4)!==q$&&(F|=134217728),SX(F,H4,ET.bind(null,U,$),Y)}function _Z($,U,Y){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Y=Y!==null&&Y!==void 0?Y.concat([$]):null,d1(4,H4,ET.bind(null,U,$),Y)}function QO($,U){return E1().memoizedState=[$,U===void 0?null:U],$}function SZ($,U){var Y=UU();U=U===void 0?null:U;var F=Y.memoizedState;if(U!==null&&mz(U,F[1]))return F[0];return Y.memoizedState=[$,U],$}function GO($,U){var Y=E1();U=U===void 0?null:U;var F=$();if(pX){k0(!0);try{$()}finally{k0(!1)}}return Y.memoizedState=[F,U],F}function EZ($,U){var Y=UU();U=U===void 0?null:U;var F=Y.memoizedState;if(U!==null&&mz(U,F[1]))return F[0];if(F=$(),pX){k0(!0);try{$()}finally{k0(!1)}}return Y.memoizedState=[F,U],F}function ZO($,U){var Y=E1();return KO(Y,$,U)}function jT($,U){var Y=UU();return vT(Y,GU.memoizedState,$,U)}function BT($,U){var Y=UU();return GU===null?KO(Y,$,U):vT(Y,GU.memoizedState,$,U)}function KO($,U,Y){if(Y===void 0||($I&1073741824)!==0&&(g$&261930)===0)return $.memoizedState=U;return $.memoizedState=Y,$=NC(),R$.lanes|=$,lI|=$,Y}function vT($,U,Y,F){if(N1(Y,U))return Y;if(YY.current!==null)return $=KO($,Y,F),N1($,U)||(X1=!0),$;if(($I&42)===0||($I&1073741824)!==0&&(g$&261930)===0)return X1=!0,$.memoizedState=Y;return $=NC(),R$.lanes|=$,lI|=$,U}function jZ(){b0.asyncTransitions--}function NT($,U,Y,F,M){var R=s$.p;s$.p=R!==0&&R<l4?R:l4;var k=b0.T,f={};f._updatedFibers=new Set,b0.T=f,FO($,!1,U,Y);try{var l=M(),o=b0.S;if(o!==null&&o(f,l),l!==null&&typeof l==="object"&&typeof l.then==="function"){b0.asyncTransitions++,l.then(jZ,jZ);var R0=jN(l,F);gQ($,U,R0,Z4($))}else gQ($,U,F,Z4($))}catch(P0){gQ($,U,{then:function(){},status:"rejected",reason:P0},Z4($))}finally{s$.p=R,k!==null&&f.types!==null&&(k.types!==null&&k.types!==f.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),k.types=f.types),b0.T=k,k===null&&f._updatedFibers&&($=f._updatedFibers.size,f._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function WO($,U,Y,F){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var M=kT($).queue;SN($),NT($,M,U,eX,Y===null?P:function(){return gT($),Y(F)})}function kT($){var U=$.memoizedState;if(U!==null)return U;U={memoizedState:eX,baseState:eX,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:c4,lastRenderedState:eX},next:null};var Y={};return U.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:c4,lastRenderedState:Y},next:null},$.memoizedState=U,$=$.alternate,$!==null&&($.memoizedState=U),U}function gT($){b0.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var U=kT($);U.next===null&&(U=$.alternate.memoizedState),gQ($,U.next.queue,{},Z4($))}function zO(){var $=sz(!1);return $=NT.bind(null,R$,$.queue,!0,!1),E1().memoizedState=$,[!1,$]}function xT(){var $=_J(c4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:NQ($),U]}function wT(){var $=kQ(c4)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:NQ($),U]}function EX(){return SU(pG)}function OO(){var $=E1(),U=ZU.identifierPrefix;if(p$){var Y=r6,F=i6;Y=(F&~(1<<32-j1(F)-1)).toString(32)+Y,U="_"+U+"R_"+Y,Y=BK++,0<Y&&(U+="H"+Y.toString(32)),U+="_"}else Y=Og++,U="_"+U+"r_"+Y.toString(32)+"_";return $.memoizedState=U}function VO(){return E1().memoizedState=xN.bind(null,R$)}function xN($,U){for(var Y=$.return;Y!==null;){switch(Y.tag){case 24:case 3:var F=Z4(Y),M=AI(F),R=TI(Y,M,F);R!==null&&(X6(F,"refresh()",$),xU(R,Y,F),jQ(R,Y,F)),$=gz(),U!==null&&U!==void 0&&R!==null&&console.error("The seed argument is not enabled outside experimental channels."),M.payload={cache:$};return}Y=Y.return}}function wN($,U,Y){var F=arguments;typeof F[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),F=Z4($);var M={lane:F,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};BZ($)?yT(U,M):(M=Cz($,U,M,F),M!==null&&(X6(F,"dispatch()",$),xU(M,$,F),bT(M,U,F)))}function fT($,U,Y){var F=arguments;typeof F[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),F=Z4($),gQ($,U,Y,F)&&X6(F,"setState()",$)}function gQ($,U,Y,F){var M={lane:F,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(BZ($))yT(U,M);else{var R=$.alternate;if($.lanes===0&&(R===null||R.lanes===0)&&(R=U.lastRenderedReducer,R!==null)){var k=b0.H;b0.H=o4;try{var f=U.lastRenderedState,l=R(f,Y);if(M.hasEagerState=!0,M.eagerState=l,N1(l,f))return UZ($,U,M,0),ZU===null&&$Z(),!1}catch(o){}finally{b0.H=k}}if(Y=Cz($,U,M,F),Y!==null)return xU(Y,$,F),bT(Y,U,F),!0}return!1}function FO($,U,Y,F){if(b0.T===null&&yX===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),F={lane:2,revertLane:lO(),gesture:null,action:F,hasEagerState:!1,eagerState:null,next:null},BZ($)){if(U)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else U=Cz($,Y,F,2),U!==null&&(X6(2,"setOptimistic()",$),xU(U,$,2))}function BZ($){var U=$.alternate;return $===R$||U!==null&&U===R$}function yT($,U){ZY=jK=!0;var Y=$.pending;Y===null?U.next=U:(U.next=Y.next,Y.next=U),$.pending=U}function bT($,U,Y){if((Y&4194048)!==0){var F=U.lanes;F&=$.pendingLanes,Y|=F,U.lanes=Y,c0($,Y)}}function HO($){if($!==null&&typeof $!=="function"){var U=String($);wP.has(U)||(wP.add(U),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function DO($,U,Y,F){var M=$.memoizedState,R=Y(F,M);if($.mode&P1){k0(!0);try{R=Y(F,M)}finally{k0(!1)}}R===void 0&&(U=L0(U)||"Component",NP.has(U)||(NP.add(U),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",U))),M=R===null||R===void 0?M:y$({},M,R),$.memoizedState=M,$.lanes===0&&($.updateQueue.baseState=M)}function uT($,U,Y,F,M,R,k){var f=$.stateNode;if(typeof f.shouldComponentUpdate==="function"){if(Y=f.shouldComponentUpdate(F,R,k),$.mode&P1){k0(!0);try{Y=f.shouldComponentUpdate(F,R,k)}finally{k0(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",L0(U)||"Component"),Y}return U.prototype&&U.prototype.isPureReactComponent?!CQ(Y,F)||!CQ(M,R):!0}function hT($,U,Y,F){var M=U.state;typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps(Y,F),typeof U.UNSAFE_componentWillReceiveProps==="function"&&U.UNSAFE_componentWillReceiveProps(Y,F),U.state!==M&&($=t($)||"Component",SP.has($)||(SP.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),WV.enqueueReplaceState(U,U.state,null))}function jX($,U){var Y=U;if("ref"in U){Y={};for(var F in U)F!=="ref"&&(Y[F]=U[F])}if($=$.defaultProps){Y===U&&(Y=y$({},Y));for(var M in $)Y[M]===void 0&&(Y[M]=$[M])}return Y}function cT($){c9($),console.warn(`%s
116
+
117
+ %s
118
+ `,KY?"An error occurred in the <"+KY+"> 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 pT($){var U=KY?"The above error occurred in the <"+KY+"> component.":"The above error occurred in one of your React components.",Y="React will try to recreate this component tree from scratch using the error boundary you provided, "+((zV||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var F=$.environmentName;$=[`%o
120
+
121
+ %s
122
+
123
+ %s
124
+ `,$,U,Y].slice(0),typeof $[0]==="string"?$.splice(0,1,L_+" "+$[0],M_,$8+F+$8,A_):$.splice(0,0,L_,M_,$8+F+$8,A_),$.unshift(console),F=gg.apply(console.error,$),F()}else console.error(`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,$,U,Y)}function mT($){c9($)}function vZ($,U){try{KY=U.source?t(U.source):null,zV=null;var Y=U.value;if(b0.actQueue!==null)b0.thrownErrors.push(Y);else{var F=$.onUncaughtError;F(Y,{componentStack:U.stack})}}catch(M){setTimeout(function(){throw M})}}function lT($,U,Y){try{KY=Y.source?t(Y.source):null,zV=t(U);var F=$.onCaughtError;F(Y.value,{componentStack:Y.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(M){setTimeout(function(){throw M})}}function LO($,U,Y){return Y=AI(Y),Y.tag=JV,Y.payload={element:null},Y.callback=function(){J0(U.source,vZ,$,U)},Y}function MO($){return $=AI($),$.tag=JV,$}function AO($,U,Y,F){var M=Y.type.getDerivedStateFromError;if(typeof M==="function"){var R=F.value;$.payload=function(){return M(R)},$.callback=function(){yA(Y),J0(F.source,lT,U,Y,F)}}var k=Y.stateNode;k!==null&&typeof k.componentDidCatch==="function"&&($.callback=function(){yA(Y),J0(F.source,lT,U,Y,F),typeof M!=="function"&&(nI===null?nI=new Set([this]):nI.add(this)),Zg(this,F),typeof M==="function"||(Y.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",t(Y)||"Unknown")})}function fN($,U,Y,F,M){if(Y.flags|=32768,T6&&cQ($,M),F!==null&&typeof F==="object"&&typeof F.then==="function"){if(U=Y.alternate,U!==null&&RJ(U,Y,M,!0),p$&&(R6=!0),Y=F4.current,Y!==null){switch(Y.tag){case 31:case 13:return k4===null?uZ():Y.alternate===null&&kU===JI&&(kU=kK),Y.flags&=-257,Y.flags|=65536,Y.lanes=M,F===_K?Y.flags|=16384:(U=Y.updateQueue,U===null?Y.updateQueue=new Set([F]):U.add(F),hO($,F,M)),!1;case 22:return Y.flags|=65536,F===_K?Y.flags|=16384:(U=Y.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([F])},Y.updateQueue=U):(Y=U.retryQueue,Y===null?U.retryQueue=new Set([F]):Y.add(F)),hO($,F,M)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return hO($,F,M),uZ(),!1}if(p$)return R6=!0,U=F4.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=M,F!==o9&&RQ(J4(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:F}),Y))):(F!==o9&&RQ(J4(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:F}),Y)),$=$.current.alternate,$.flags|=65536,M&=-M,$.lanes|=M,F=J4(F,Y),M=LO($.stateNode,F,M),DZ($,M),kU!==pI&&(kU=mX)),!1;var R=J4(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:F}),Y);if(gG===null?gG=[R]:gG.push(R),kU!==pI&&(kU=mX),U===null)return!0;F=J4(F,Y),Y=U;do{switch(Y.tag){case 3:return Y.flags|=65536,$=M&-M,Y.lanes|=$,$=LO(Y.stateNode,F,$),DZ(Y,$),!1;case 1:if(U=Y.type,R=Y.stateNode,(Y.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||R!==null&&typeof R.componentDidCatch==="function"&&(nI===null||!nI.has(R))))return Y.flags|=65536,M&=-M,Y.lanes|=M,M=MO(M),AO(M,$,Y,F),DZ(Y,M),!1}Y=Y.return}while(Y!==null);return!1}function L1($,U,Y,F){U.child=$===null?HP(U,null,Y,F):cX(U,$.child,Y,F)}function dT($,U,Y,F,M){Y=Y.render;var R=U.ref;if("ref"in F){var k={};for(var f in F)f!=="ref"&&(k[f]=F[f])}else k=F;if(RX(U),F=lz($,U,Y,k,R,M),f=nz(),$!==null&&!X1)return oz($,U,M),p6($,U,M);return p$&&f&&Ez(U),U.flags|=1,L1($,U,F,M),U.child}function nT($,U,Y,F,M){if($===null){var R=Y.type;if(typeof R==="function"&&!Rz(R)&&R.defaultProps===void 0&&Y.compare===null)return Y=AX(R),U.tag=15,U.type=Y,CO(U,R),oT($,U,Y,F,M);return $=Pz(Y.type,null,F,U,U.mode,M),$.ref=U.ref,$.return=U,U.child=$}if(R=$.child,!EO($,M)){var k=R.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:CQ,Y(k,F)&&$.ref===U.ref)return p6($,U,M)}return U.flags|=1,$=b6(R,F),$.ref=U.ref,$.return=U,U.child=$}function oT($,U,Y,F,M){if($!==null){var R=$.memoizedProps;if(CQ(R,F)&&$.ref===U.ref&&U.type===$.type)if(X1=!1,U.pendingProps=F=R,EO($,M))($.flags&131072)!==0&&(X1=!0);else return U.lanes=$.lanes,p6($,U,M)}return TO($,U,Y,F,M)}function iT($,U,Y,F){var M=F.children,R=$!==null?$.memoizedState:null;if($===null&&U.stateNode===null&&(U.stateNode={_visibility:ZG,_pendingMarkers:null,_retryCache:null,_transitions:null}),F.mode==="hidden"){if((U.flags&128)!==0){if(R=R!==null?R.baseLanes|Y:Y,$!==null){F=U.child=$.child;for(M=0;F!==null;)M=M|F.lanes|F.childLanes,F=F.sibling;F=M&~R}else F=0,U.child=null;return rT($,U,R,Y,F)}if((Y&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},$!==null&&WZ(U,R!==null?R.cachePool:null),R!==null?WT(U,R):hz(U),zT(U);else return F=U.lanes=536870912,rT($,U,R!==null?R.baseLanes|Y:Y,Y,F)}else R!==null?(WZ(U,R.cachePool),WT(U,R),qI(U),U.memoizedState=null):($!==null&&WZ(U,null),hz(U),qI(U));return L1($,U,M,Y),U.child}function xQ($,U){return $!==null&&$.tag===22||U.stateNode!==null||(U.stateNode={_visibility:ZG,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function rT($,U,Y,F,M){var R=fz();return R=R===null?null:{parent:$1._currentValue,pool:R},U.memoizedState={baseLanes:Y,cachePool:R},$!==null&&WZ(U,null),hz(U),zT(U),$!==null&&RJ($,U,F,!0),U.childLanes=M,null}function NZ($,U){var Y=U.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
+ - <Activity %s>
131
+ + <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),U=gZ({mode:U.mode,children:U.children},$.mode),U.ref=$.ref,$.child=U,U.return=$,U}function tT($,U,Y){return cX(U,$.child,null,Y),$=NZ(U,U.pendingProps),$.flags|=2,G4(U),U.memoizedState=null,$}function yN($,U,Y){var F=U.pendingProps,M=(U.flags&128)!==0;if(U.flags&=-129,$===null){if(p$){if(F.mode==="hidden")return $=NZ(U,F),U.lanes=536870912,xQ(null,$);if(pz(U),($=TU)?(Y=Cq($,v4),Y=Y!==null&&Y.data===rX?Y:null,Y!==null&&(F={dehydrated:Y,treeContext:pA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=F,F=hA(Y),F.return=U,U.child=F,T1=U,TU=null)):Y=null,Y===null)throw JZ(U,$),DI(U);return U.lanes=536870912,null}return NZ(U,F)}var R=$.memoizedState;if(R!==null){var k=R.dehydrated;if(pz(U),M)if(U.flags&256)U.flags&=-257,U=tT($,U,Y);else if(U.memoizedState!==null)U.child=$.child,U.flags|=128,U=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(lA(),(Y&536870912)!==0&&bZ(U),X1||RJ($,U,Y,!1),M=(Y&$.childLanes)!==0,X1||M){if(F=ZU,F!==null&&(k=YU(F,Y),k!==0&&k!==R.retryLane))throw R.retryLane=k,q1($,k),xU(F,$,k),OV;uZ(),U=tT($,U,Y)}else $=R.treeContext,TU=K4(k.nextSibling),T1=U,p$=!0,wI=null,R6=!1,V4=null,v4=!1,$!==null&&mA(U,$),U=NZ(U,F),U.flags|=4096;return U}return R=$.child,F={mode:F.mode,children:F.children},(Y&536870912)!==0&&(Y&$.lanes)!==0&&bZ(U),$=b6(R,F),$.ref=U.ref,U.child=$,$.return=U,$}function kZ($,U){var Y=U.ref;if(Y===null)$!==null&&$.ref!==null&&(U.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==Y)U.flags|=4194816}}function TO($,U,Y,F,M){if(Y.prototype&&typeof Y.prototype.render==="function"){var R=L0(Y)||"Unknown";fP[R]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",R,R),fP[R]=!0)}if(U.mode&P1&&n4.recordLegacyContextWarning(U,null),$===null&&(CO(U,U.type),Y.contextTypes&&(R=L0(Y)||"Unknown",bP[R]||(bP[R]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",R)))),RX(U),Y=lz($,U,Y,F,void 0,M),F=nz(),$!==null&&!X1)return oz($,U,M),p6($,U,M);return p$&&F&&Ez(U),U.flags|=1,L1($,U,Y,M),U.child}function aT($,U,Y,F,M,R){if(RX(U),II=-1,SG=$!==null&&$.type!==U.type,U.updateQueue=null,Y=dz(U,F,Y,M),OT($,U),F=nz(),$!==null&&!X1)return oz($,U,R),p6($,U,R);return p$&&F&&Ez(U),U.flags|=1,L1($,U,Y,R),U.child}function sT($,U,Y,F,M){switch(Z(U)){case!1:var R=U.stateNode,k=new U.type(U.memoizedProps,R.context).state;R.updater.enqueueSetState(R,k,null);break;case!0:U.flags|=128,U.flags|=65536,R=Error("Simulated error coming from DevTools");var f=M&-M;if(U.lanes|=f,k=ZU,k===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=MO(f),AO(f,k,U,J4(R,U)),DZ(U,f)}if(RX(U),U.stateNode===null){if(k=xI,R=Y.contextType,"contextType"in Y&&R!==null&&(R===void 0||R.$$typeof!==L6)&&!xP.has(Y)&&(xP.add(Y),f=R===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof R!=="object"?" However, it is set to a "+typeof R+".":R.$$typeof===V9?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(R).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",L0(Y)||"Component",f)),typeof R==="object"&&R!==null&&(k=SU(R)),R=new Y(F,k),U.mode&P1){k0(!0);try{R=new Y(F,k)}finally{k0(!1)}}if(k=U.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,R.updater=WV,U.stateNode=R,R._reactInternals=U,R._reactInternalInstance=_P,typeof Y.getDerivedStateFromProps==="function"&&k===null&&(k=L0(Y)||"Component",EP.has(k)||(EP.add(k),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",k,R.state===null?"null":"undefined",k))),typeof Y.getDerivedStateFromProps==="function"||typeof R.getSnapshotBeforeUpdate==="function"){var l=f=k=null;if(typeof R.componentWillMount==="function"&&R.componentWillMount.__suppressDeprecationWarning!==!0?k="componentWillMount":typeof R.UNSAFE_componentWillMount==="function"&&(k="UNSAFE_componentWillMount"),typeof R.componentWillReceiveProps==="function"&&R.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof R.UNSAFE_componentWillReceiveProps==="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof R.componentWillUpdate==="function"&&R.componentWillUpdate.__suppressDeprecationWarning!==!0?l="componentWillUpdate":typeof R.UNSAFE_componentWillUpdate==="function"&&(l="UNSAFE_componentWillUpdate"),k!==null||f!==null||l!==null){R=L0(Y)||"Component";var o=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";BP.has(R)||(BP.add(R),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
+
133
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
134
+
135
+ The above lifecycles should be removed. Learn more about this warning here:
136
+ https://react.dev/link/unsafe-component-lifecycles`,R,o,k!==null?`
137
+ `+k:"",f!==null?`
138
+ `+f:"",l!==null?`
139
+ `+l:""))}}R=U.stateNode,k=L0(Y)||"Component",R.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",k):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",k)),!R.getInitialState||R.getInitialState.isReactClassApproved||R.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",k),R.getDefaultProps&&!R.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",k),R.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),Y.childContextTypes&&!gP.has(Y)&&(gP.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",k)),Y.contextTypes&&!kP.has(Y)&&(kP.add(Y),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",k)),typeof R.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",k),Y.prototype&&Y.prototype.isPureReactComponent&&typeof R.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",L0(Y)||"A pure component"),typeof R.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof R.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",k),typeof R.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof R.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k),f=R.props!==F,R.props!==void 0&&f&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",k),R.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",k,k),typeof R.getSnapshotBeforeUpdate!=="function"||typeof R.componentDidUpdate==="function"||jP.has(Y)||(jP.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",L0(Y))),typeof R.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof R.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",k),(f=R.state)&&(typeof f!=="object"||G1(f))&&console.error("%s.state: must be set to an object or null",k),typeof R.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k),R=U.stateNode,R.props=F,R.state=U.memoizedState,R.refs={},bz(U),k=Y.contextType,R.context=typeof k==="object"&&k!==null?SU(k):xI,R.state===F&&(k=L0(Y)||"Component",vP.has(k)||(vP.add(k),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))),U.mode&P1&&n4.recordLegacyContextWarning(U,R),n4.recordUnsafeLifecycleWarnings(U,R),R.state=U.memoizedState,k=Y.getDerivedStateFromProps,typeof k==="function"&&(DO(U,Y,k,F),R.state=U.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof R.getSnapshotBeforeUpdate==="function"||typeof R.UNSAFE_componentWillMount!=="function"&&typeof R.componentWillMount!=="function"||(k=R.state,typeof R.componentWillMount==="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount==="function"&&R.UNSAFE_componentWillMount(),k!==R.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t(U)||"Component"),WV.enqueueReplaceState(R,R.state,null)),vQ(U,F,R,M),BQ(),R.state=U.memoizedState),typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&d4)!==q$&&(U.flags|=134217728),R=!0}else if($===null){R=U.stateNode;var R0=U.memoizedProps;f=jX(Y,R0),R.props=f;var P0=R.context;l=Y.contextType,k=xI,typeof l==="object"&&l!==null&&(k=SU(l)),o=Y.getDerivedStateFromProps,l=typeof o==="function"||typeof R.getSnapshotBeforeUpdate==="function",R0=U.pendingProps!==R0,l||typeof R.UNSAFE_componentWillReceiveProps!=="function"&&typeof R.componentWillReceiveProps!=="function"||(R0||P0!==k)&&hT(U,R,F,k),cI=!1;var V0=U.memoizedState;R.state=V0,vQ(U,F,R,M),BQ(),P0=U.memoizedState,R0||V0!==P0||cI?(typeof o==="function"&&(DO(U,Y,o,F),P0=U.memoizedState),(f=cI||uT(U,Y,f,F,V0,P0,k))?(l||typeof R.UNSAFE_componentWillMount!=="function"&&typeof R.componentWillMount!=="function"||(typeof R.componentWillMount==="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount==="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&d4)!==q$&&(U.flags|=134217728)):(typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&d4)!==q$&&(U.flags|=134217728),U.memoizedProps=F,U.memoizedState=P0),R.props=F,R.state=P0,R.context=k,R=f):(typeof R.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&d4)!==q$&&(U.flags|=134217728),R=!1)}else{R=U.stateNode,uz($,U),k=U.memoizedProps,l=jX(Y,k),R.props=l,o=U.pendingProps,V0=R.context,P0=Y.contextType,f=xI,typeof P0==="object"&&P0!==null&&(f=SU(P0)),R0=Y.getDerivedStateFromProps,(P0=typeof R0==="function"||typeof R.getSnapshotBeforeUpdate==="function")||typeof R.UNSAFE_componentWillReceiveProps!=="function"&&typeof R.componentWillReceiveProps!=="function"||(k!==o||V0!==f)&&hT(U,R,F,f),cI=!1,V0=U.memoizedState,R.state=V0,vQ(U,F,R,M),BQ();var g0=U.memoizedState;k!==o||V0!==g0||cI||$!==null&&$.dependencies!==null&&QZ($.dependencies)?(typeof R0==="function"&&(DO(U,Y,R0,F),g0=U.memoizedState),(l=cI||uT(U,Y,l,F,V0,g0,f)||$!==null&&$.dependencies!==null&&QZ($.dependencies))?(P0||typeof R.UNSAFE_componentWillUpdate!=="function"&&typeof R.componentWillUpdate!=="function"||(typeof R.componentWillUpdate==="function"&&R.componentWillUpdate(F,g0,f),typeof R.UNSAFE_componentWillUpdate==="function"&&R.UNSAFE_componentWillUpdate(F,g0,f)),typeof R.componentDidUpdate==="function"&&(U.flags|=4),typeof R.getSnapshotBeforeUpdate==="function"&&(U.flags|=1024)):(typeof R.componentDidUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=4),typeof R.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=1024),U.memoizedProps=F,U.memoizedState=g0),R.props=F,R.state=g0,R.context=f,R=l):(typeof R.componentDidUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=4),typeof R.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&V0===$.memoizedState||(U.flags|=1024),R=!1)}if(f=R,kZ($,U),k=(U.flags&128)!==0,f||k){if(f=U.stateNode,Z0(U),k&&typeof Y.getDerivedStateFromError!=="function")Y=null,k1=-1;else if(Y=UP(f),U.mode&P1){k0(!0);try{UP(f)}finally{k0(!1)}}U.flags|=1,$!==null&&k?(U.child=cX(U,$.child,null,M),U.child=cX(U,null,Y,M)):L1($,U,Y,M),U.memoizedState=f.state,$=U.child}else $=p6($,U,M);return M=U.stateNode,R&&M.props!==F&&(WY||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",t(U)||"a component"),WY=!0),$}function eT($,U,Y,F){return qX(),U.flags|=256,L1($,U,Y,F),U.child}function CO($,U){U&&U.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
+ %s.childContextTypes = ...`,U.displayName||U.name||"Component"),typeof U.getDerivedStateFromProps==="function"&&($=L0(U)||"Unknown",uP[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),uP[$]=!0)),typeof U.contextType==="object"&&U.contextType!==null&&(U=L0(U)||"Unknown",yP[U]||(console.error("%s: Function components do not support contextType.",U),yP[U]=!0))}function qO($){return{baseLanes:$,cachePool:aA()}}function RO($,U,Y){return $=$!==null?$.childLanes&~Y:0,U&&($|=t1),$}function $C($,U,Y){var F,M=U.pendingProps;W(U)&&(U.flags|=128);var R=!1,k=(U.flags&128)!==0;if((F=k)||(F=$!==null&&$.memoizedState===null?!1:(aU.current&PG)!==0),F&&(R=!0,U.flags&=-129),F=(U.flags&32)!==0,U.flags&=-33,$===null){if(p$){if(R?CI(U):qI(U),($=TU)?(Y=Cq($,v4),Y=Y!==null&&Y.data!==rX?Y:null,Y!==null&&(F={dehydrated:Y,treeContext:pA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=F,F=hA(Y),F.return=U,U.child=F,T1=U,TU=null)):Y=null,Y===null)throw JZ(U,$),DI(U);return I9(Y)?U.lanes=32:U.lanes=536870912,null}var f=M.children;if(M=M.fallback,R){qI(U);var l=U.mode;return f=gZ({mode:"hidden",children:f},l),M=TX(M,l,Y,null),f.return=U,M.return=U,f.sibling=M,U.child=f,M=U.child,M.memoizedState=qO(Y),M.childLanes=RO($,F,Y),U.memoizedState=VV,xQ(null,M)}return CI(U),PO(U,f)}var o=$.memoizedState;if(o!==null){var R0=o.dehydrated;if(R0!==null){if(k)U.flags&256?(CI(U),U.flags&=-257,U=_O($,U,Y)):U.memoizedState!==null?(qI(U),U.child=$.child,U.flags|=128,U=null):(qI(U),f=M.fallback,l=U.mode,M=gZ({mode:"visible",children:M.children},l),f=TX(f,l,Y,null),f.flags|=2,M.return=U,f.return=U,M.sibling=f,U.child=M,cX(U,$.child,null,Y),M=U.child,M.memoizedState=qO(Y),M.childLanes=RO($,F,Y),U.memoizedState=VV,U=xQ(null,M));else if(CI(U),lA(),(Y&536870912)!==0&&bZ(U),I9(R0)){if(F=R0.nextSibling&&R0.nextSibling.dataset,F){f=F.dgst;var P0=F.msg;l=F.stck;var V0=F.cstck}R=P0,F=f,M=l,R0=V0,f=R,l=R0,f=f?Error(f):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),f.stack=M||"",f.digest=F,F=l===void 0?null:l,M={value:f,source:null,stack:F},typeof F==="string"&&n9.set(f,M),RQ(M),U=_O($,U,Y)}else if(X1||RJ($,U,Y,!1),F=(Y&$.childLanes)!==0,X1||F){if(F=ZU,F!==null&&(M=YU(F,Y),M!==0&&M!==o.retryLane))throw o.retryLane=M,q1($,M),xU(F,$,M),OV;U9(R0)||uZ(),U=_O($,U,Y)}else U9(R0)?(U.flags|=192,U.child=$.child,U=null):($=o.treeContext,TU=K4(R0.nextSibling),T1=U,p$=!0,wI=null,R6=!1,V4=null,v4=!1,$!==null&&mA(U,$),U=PO(U,M.children),U.flags|=4096);return U}}if(R)return qI(U),f=M.fallback,l=U.mode,V0=$.child,R0=V0.sibling,M=b6(V0,{mode:"hidden",children:M.children}),M.subtreeFlags=V0.subtreeFlags&65011712,R0!==null?f=b6(R0,f):(f=TX(f,l,Y,null),f.flags|=2),f.return=U,M.return=U,M.sibling=f,U.child=M,xQ(null,M),M=U.child,f=$.child.memoizedState,f===null?f=qO(Y):(l=f.cachePool,l!==null?(V0=$1._currentValue,l=l.parent!==V0?{parent:V0,pool:V0}:l):l=aA(),f={baseLanes:f.baseLanes|Y,cachePool:l}),M.memoizedState=f,M.childLanes=RO($,F,Y),U.memoizedState=VV,xQ($.child,M);return o!==null&&(Y&62914560)===Y&&(Y&$.lanes)!==0&&bZ(U),CI(U),Y=$.child,$=Y.sibling,Y=b6(Y,{mode:"visible",children:M.children}),Y.return=U,Y.sibling=null,$!==null&&(F=U.deletions,F===null?(U.deletions=[$],U.flags|=16):F.push($)),U.child=Y,U.memoizedState=null,Y}function PO($,U){return U=gZ({mode:"visible",children:U},$.mode),U.return=$,$.child=U}function gZ($,U){return $=_(22,$,null,U),$.lanes=0,$}function _O($,U,Y){return cX(U,$.child,null,Y),$=PO(U,U.pendingProps.children),$.flags|=2,U.memoizedState=null,$}function UC($,U,Y){$.lanes|=U;var F=$.alternate;F!==null&&(F.lanes|=U),Nz($.return,U,Y)}function SO($,U,Y,F,M,R){var k=$.memoizedState;k===null?$.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:F,tail:Y,tailMode:M,treeForkCount:R}:(k.isBackwards=U,k.rendering=null,k.renderingStartTime=0,k.last=F,k.tail=Y,k.tailMode=M,k.treeForkCount=R)}function IC($,U,Y){var F=U.pendingProps,M=F.revealOrder,R=F.tail,k=F.children,f=aU.current;if((F=(f&PG)!==0)?(f=f&QY|PG,U.flags|=128):f&=QY,V(aU,f,U),f=M==null?"null":M,M!=="forwards"&&M!=="unstable_legacy-backwards"&&M!=="together"&&M!=="independent"&&!hP[f])if(hP[f]=!0,M==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(M==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof M==="string")switch(M.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',M,M.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',M,M.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M);if(f=R==null?"null":R,!NK[f])if(R==null){if(M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")NK[f]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else R!=="visible"&&R!=="collapsed"&&R!=="hidden"?(NK[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',R)):M!=="forwards"&&M!=="backwards"&&M!=="unstable_legacy-backwards"&&(NK[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',R));$:if((M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")&&k!==void 0&&k!==null&&k!==!1)if(G1(k)){for(f=0;f<k.length;f++)if(!GT(k[f],f))break $}else if(f=H0(k),typeof f==="function"){if(f=f.call(k))for(var l=f.next(),o=0;!l.done;l=f.next()){if(!GT(l.value,o))break $;o++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',M);if(L1($,U,k,Y),p$?(HI(),k=KG):k=0,!F&&$!==null&&($.flags&128)!==0)$:for($=U.child;$!==null;){if($.tag===13)$.memoizedState!==null&&UC($,Y,U);else if($.tag===19)UC($,Y,U);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===U)break $;for(;$.sibling===null;){if($.return===null||$.return===U)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(M){case"forwards":Y=U.child;for(M=null;Y!==null;)$=Y.alternate,$!==null&&LZ($)===null&&(M=Y),Y=Y.sibling;Y=M,Y===null?(M=U.child,U.child=null):(M=Y.sibling,Y.sibling=null),SO(U,!1,M,Y,R,k);break;case"backwards":case"unstable_legacy-backwards":Y=null,M=U.child;for(U.child=null;M!==null;){if($=M.alternate,$!==null&&LZ($)===null){U.child=M;break}$=M.sibling,M.sibling=Y,Y=M,M=$}SO(U,!0,Y,null,R,k);break;case"together":SO(U,!1,null,null,void 0,k);break;default:U.memoizedState=null}return U.child}function p6($,U,Y){if($!==null&&(U.dependencies=$.dependencies),k1=-1,lI|=U.lanes,(Y&U.childLanes)===0)if($!==null){if(RJ($,U,Y,!1),(Y&U.childLanes)===0)return null}else return null;if($!==null&&U.child!==$.child)throw Error("Resuming work not yet implemented.");if(U.child!==null){$=U.child,Y=b6($,$.pendingProps),U.child=Y;for(Y.return=U;$.sibling!==null;)$=$.sibling,Y=Y.sibling=b6($,$.pendingProps),Y.return=U;Y.sibling=null}return U.child}function EO($,U){if(($.lanes&U)!==0)return!0;return $=$.dependencies,$!==null&&QZ($)?!0:!1}function bN($,U,Y){switch(U.tag){case 3:O(U,U.stateNode.containerInfo),LI(U,$1,$.memoizedState.cache),qX();break;case 27:case 5:E(U);break;case 4:O(U,U.stateNode.containerInfo);break;case 10:LI(U,U.type,U.memoizedProps.value);break;case 12:(Y&U.childLanes)!==0&&(U.flags|=4),U.flags|=2048;var F=U.stateNode;F.effectDuration=-0,F.passiveEffectDuration=-0;break;case 31:if(U.memoizedState!==null)return U.flags|=128,pz(U),null;break;case 13:if(F=U.memoizedState,F!==null){if(F.dehydrated!==null)return CI(U),U.flags|=128,null;if((Y&U.child.childLanes)!==0)return $C($,U,Y);return CI(U),$=p6($,U,Y),$!==null?$.sibling:null}CI(U);break;case 19:var M=($.flags&128)!==0;if(F=(Y&U.childLanes)!==0,F||(RJ($,U,Y,!1),F=(Y&U.childLanes)!==0),M){if(F)return IC($,U,Y);U.flags|=128}if(M=U.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),V(aU,aU.current,U),F)break;else return null;case 22:return U.lanes=0,iT($,U,Y,U.pendingProps);case 24:LI(U,$1,$.memoizedState.cache)}return p6($,U,Y)}function jO($,U,Y){if(U._debugNeedsRemount&&$!==null){Y=Pz(U.type,U.key,U.pendingProps,U._debugOwner||null,U.mode,U.lanes),Y._debugStack=U._debugStack,Y._debugTask=U._debugTask;var F=U.return;if(F===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,U.alternate=null,Y.index=U.index,Y.sibling=U.sibling,Y.return=U.return,Y.ref=U.ref,Y._debugInfo=U._debugInfo,U===F.child)F.child=Y;else{var M=F.child;if(M===null)throw Error("Expected parent to have a child.");for(;M.sibling!==U;)if(M=M.sibling,M===null)throw Error("Expected to find the previous sibling.");M.sibling=Y}return U=F.deletions,U===null?(F.deletions=[$],F.flags|=16):U.push($),Y.flags|=2,Y}if($!==null)if($.memoizedProps!==U.pendingProps||U.type!==$.type)X1=!0;else{if(!EO($,Y)&&(U.flags&128)===0)return X1=!1,bN($,U,Y);X1=($.flags&131072)!==0?!0:!1}else{if(X1=!1,F=p$)HI(),F=(U.flags&1048576)!==0;F&&(F=U.index,HI(),cA(U,KG,F))}switch(U.lanes=0,U.tag){case 16:$:if(F=U.pendingProps,$=MI(U.elementType),U.type=$,typeof $==="function")Rz($)?(F=jX($,F),U.tag=1,U.type=$=AX($),U=sT(null,U,$,F,Y)):(U.tag=0,CO(U,$),U.type=$=AX($),U=TO(null,U,$,F,Y));else{if($!==void 0&&$!==null){if(M=$.$$typeof,M===tQ){U.tag=11,U.type=$=qz($),U=dT(null,U,$,F,Y);break $}else if(M===eZ){U.tag=14,U=nT(null,U,$,F,Y);break $}}throw U="",$!==null&&typeof $==="object"&&$.$$typeof===W4&&(U=" Did you wrap a component in React.lazy() more than once?"),Y=L0($)||$,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+U)}return U;case 0:return TO($,U,U.type,U.pendingProps,Y);case 1:return F=U.type,M=jX(F,U.pendingProps),sT($,U,F,M,Y);case 3:$:{if(O(U,U.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");F=U.pendingProps;var R=U.memoizedState;M=R.element,uz($,U),vQ(U,F,null,Y);var k=U.memoizedState;if(F=k.cache,LI(U,$1,F),F!==R.cache&&kz(U,[$1],Y,!0),BQ(),F=k.element,R.isDehydrated)if(R={element:F,isDehydrated:!1,cache:k.cache},U.updateQueue.baseState=R,U.memoizedState=R,U.flags&256){U=eT($,U,F,Y);break $}else if(F!==M){M=J4(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),U),RQ(M),U=eT($,U,F,Y);break $}else{switch($=U.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}TU=K4($.firstChild),T1=U,p$=!0,wI=null,R6=!1,V4=null,v4=!0,Y=HP(U,null,F,Y);for(U.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(qX(),F===M){U=p6($,U,Y);break $}L1($,U,F,Y)}U=U.child}return U;case 26:return kZ($,U),$===null?(Y=Eq(U.type,null,U.pendingProps,null))?U.memoizedState=Y:p$||(Y=U.type,$=U.pendingProps,F=D(jI.current),F=mZ(F).createElement(Y),F[A1]=U,F[B1]=$,M1(F,Y,$),V$(F),U.stateNode=F):U.memoizedState=Eq(U.type,$.memoizedProps,U.pendingProps,$.memoizedState),null;case 27:return E(U),$===null&&p$&&(F=D(jI.current),M=q(),F=U.stateNode=_q(U.type,U.pendingProps,F,M,!1),R6||(M=Vq(F,U.type,U.pendingProps,M),M!==null&&(CX(U,0).serverProps=M)),T1=U,v4=!0,M=TU,SI(U.type)?(fV=M,TU=K4(F.firstChild)):TU=M),L1($,U,U.pendingProps.children,Y),kZ($,U),$===null&&(U.flags|=4194304),U.child;case 5:return $===null&&p$&&(R=q(),F=Fz(U.type,R.ancestorInfo),M=TU,(k=!M)||(k=S3(M,U.type,U.pendingProps,v4),k!==null?(U.stateNode=k,R6||(R=Vq(k,U.type,U.pendingProps,R),R!==null&&(CX(U,0).serverProps=R)),T1=U,TU=K4(k.firstChild),v4=!1,R=!0):R=!1,k=!R),k&&(F&&JZ(U,M),DI(U))),E(U),M=U.type,R=U.pendingProps,k=$!==null?$.memoizedProps:null,F=R.children,eO(M,R)?F=null:k!==null&&eO(M,k)&&(U.flags|=32),U.memoizedState!==null&&(M=lz($,U,vN,null,null,Y),pG._currentValue=M),kZ($,U),L1($,U,F,Y),U.child;case 6:return $===null&&p$&&(Y=U.pendingProps,$=q(),F=$.ancestorInfo.current,Y=F!=null?i2(Y,F.tag,$.ancestorInfo.implicitRootScope):!0,$=TU,(F=!$)||(F=E3($,U.pendingProps,v4),F!==null?(U.stateNode=F,T1=U,TU=null,F=!0):F=!1,F=!F),F&&(Y&&JZ(U,$),DI(U))),null;case 13:return $C($,U,Y);case 4:return O(U,U.stateNode.containerInfo),F=U.pendingProps,$===null?U.child=cX(U,null,F,Y):L1($,U,F,Y),U.child;case 11:return dT($,U,U.type,U.pendingProps,Y);case 7:return L1($,U,U.pendingProps,Y),U.child;case 8:return L1($,U,U.pendingProps.children,Y),U.child;case 12:return U.flags|=4,U.flags|=2048,F=U.stateNode,F.effectDuration=-0,F.passiveEffectDuration=-0,L1($,U,U.pendingProps.children,Y),U.child;case 10:return F=U.type,M=U.pendingProps,R=M.value,"value"in M||cP||(cP=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),LI(U,F,R),L1($,U,M.children,Y),U.child;case 9:return M=U.type._context,F=U.pendingProps.children,typeof F!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),RX(U),M=SU(M),F=$V(F,M,void 0),U.flags|=1,L1($,U,F,Y),U.child;case 14:return nT($,U,U.type,U.pendingProps,Y);case 15:return oT($,U,U.type,U.pendingProps,Y);case 19:return IC($,U,Y);case 31:return yN($,U,Y);case 22:return iT($,U,Y,U.pendingProps);case 24:return RX(U),F=SU($1),$===null?(M=fz(),M===null&&(M=ZU,R=gz(),M.pooledCache=R,PX(R),R!==null&&(M.pooledCacheLanes|=Y),M=R),U.memoizedState={parent:F,cache:M},bz(U),LI(U,$1,M)):(($.lanes&Y)!==0&&(uz($,U),vQ(U,null,null,Y),BQ()),M=$.memoizedState,R=U.memoizedState,M.parent!==F?(M={parent:F,cache:F},U.memoizedState=M,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=M),LI(U,$1,F)):(F=R.cache,LI(U,$1,F),F!==M.cache&&kz(U,[$1],Y,!0))),L1($,U,U.pendingProps.children,Y),U.child;case 29:throw U.pendingProps}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function m6($){$.flags|=4}function BO($,U,Y,F,M){if(U=($.mode&Jg)!==q$)U=!1;if(U){if($.flags|=16777216,(M&335544128)===M)if($.stateNode.complete)$.flags|=8192;else if(wC())$.flags|=8192;else throw hX=_K,IV}else $.flags&=-16777217}function XC($,U){if(U.type!=="stylesheet"||(U.state.loading&w4)!==sX)$.flags&=-16777217;else if($.flags|=16777216,!kq(U))if(wC())$.flags|=8192;else throw hX=_K,IV}function xZ($,U){U!==null&&($.flags|=4),$.flags&16384&&(U=$.tag!==22?M$():536870912,$.lanes|=U,nX|=U)}function wQ($,U){if(!p$)switch($.tailMode){case"hidden":U=$.tail;for(var Y=null;U!==null;)U.alternate!==null&&(Y=U),U=U.sibling;Y===null?$.tail=null:Y.sibling=null;break;case"collapsed":Y=$.tail;for(var F=null;Y!==null;)Y.alternate!==null&&(F=Y),Y=Y.sibling;F===null?U||$.tail===null?$.tail=null:$.tail.sibling=null:F.sibling=null}}function VU($){var U=$.alternate!==null&&$.alternate.child===$.child,Y=0,F=0;if(U)if(($.mode&N$)!==q$){for(var{selfBaseDuration:M,child:R}=$;R!==null;)Y|=R.lanes|R.childLanes,F|=R.subtreeFlags&65011712,F|=R.flags&65011712,M+=R.treeBaseDuration,R=R.sibling;$.treeBaseDuration=M}else for(M=$.child;M!==null;)Y|=M.lanes|M.childLanes,F|=M.subtreeFlags&65011712,F|=M.flags&65011712,M.return=$,M=M.sibling;else if(($.mode&N$)!==q$){M=$.actualDuration,R=$.selfBaseDuration;for(var k=$.child;k!==null;)Y|=k.lanes|k.childLanes,F|=k.subtreeFlags,F|=k.flags,M+=k.actualDuration,R+=k.treeBaseDuration,k=k.sibling;$.actualDuration=M,$.treeBaseDuration=R}else for(M=$.child;M!==null;)Y|=M.lanes|M.childLanes,F|=M.subtreeFlags,F|=M.flags,M.return=$,M=M.sibling;return $.subtreeFlags|=F,$.childLanes=Y,U}function uN($,U,Y){var F=U.pendingProps;switch(jz(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return VU(U),null;case 1:return VU(U),null;case 3:if(Y=U.stateNode,F=null,$!==null&&(F=$.memoizedState.cache),U.memoizedState.cache!==F&&(U.flags|=2048),h6($1,U),H(U),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),$===null||$.child===null)qJ(U)?(vz(),m6(U)):$===null||$.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,Bz());return VU(U),null;case 26:var{type:M,memoizedState:R}=U;return $===null?(m6(U),R!==null?(VU(U),XC(U,R)):(VU(U),BO(U,M,null,F,Y))):R?R!==$.memoizedState?(m6(U),VU(U),XC(U,R)):(VU(U),U.flags&=-16777217):($=$.memoizedProps,$!==F&&m6(U),VU(U),BO(U,M,$,F,Y)),null;case 27:if(A(U),Y=D(jI.current),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==F&&m6(U);else{if(!F){if(U.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return VU(U),null}$=q(),qJ(U)?dA(U,$):($=_q(M,F,Y,$,!0),U.stateNode=$,m6(U))}return VU(U),null;case 5:if(A(U),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==F&&m6(U);else{if(!F){if(U.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return VU(U),null}var k=q();if(qJ(U))dA(U,k);else{switch(R=D(jI.current),Fz(M,k.ancestorInfo),k=k.context,R=mZ(R),k){case MY:R=R.createElementNS(pJ,M);break;case aK:R=R.createElementNS(QK,M);break;default:switch(M){case"svg":R=R.createElementNS(pJ,M);break;case"math":R=R.createElementNS(QK,M);break;case"script":R=R.createElement("div"),R.innerHTML="<script></script>",R=R.removeChild(R.firstChild);break;case"select":R=typeof F.is==="string"?R.createElement("select",{is:F.is}):R.createElement("select"),F.multiple?R.multiple=!0:F.size&&(R.size=F.size);break;default:R=typeof F.is==="string"?R.createElement(M,{is:F.is}):R.createElement(M),M.indexOf("-")===-1&&(M!==M.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",M),Object.prototype.toString.call(R)!=="[object HTMLUnknownElement]"||m4.call(z_,M)||(z_[M]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",M)))}}R[A1]=U,R[B1]=F;$:for(k=U.child;k!==null;){if(k.tag===5||k.tag===6)R.appendChild(k.stateNode);else if(k.tag!==4&&k.tag!==27&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===U)break $;for(;k.sibling===null;){if(k.return===null||k.return===U)break $;k=k.return}k.sibling.return=k.return,k=k.sibling}U.stateNode=R;$:switch(M1(R,M,F),M){case"button":case"input":case"select":case"textarea":F=!!F.autoFocus;break $;case"img":F=!0;break $;default:F=!1}F&&m6(U)}}return VU(U),BO(U,U.type,$===null?null:$.memoizedProps,U.pendingProps,Y),null;case 6:if($&&U.stateNode!=null)$.memoizedProps!==F&&m6(U);else{if(typeof F!=="string"&&U.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if($=D(jI.current),Y=q(),qJ(U)){if($=U.stateNode,Y=U.memoizedProps,M=!R6,F=null,R=T1,R!==null)switch(R.tag){case 3:M&&(M=Rq($,Y,F),M!==null&&(CX(U,0).serverProps=M));break;case 27:case 5:F=R.memoizedProps,M&&(M=Rq($,Y,F),M!==null&&(CX(U,0).serverProps=M))}$[A1]=U,$=$.nodeValue===Y||F!==null&&F.suppressHydrationWarning===!0||Zq($.nodeValue,Y)?!0:!1,$||DI(U,!0)}else M=Y.ancestorInfo.current,M!=null&&i2(F,M.tag,Y.ancestorInfo.implicitRootScope),$=mZ($).createTextNode(F),$[A1]=U,U.stateNode=$}return VU(U),null;case 31:if(Y=U.memoizedState,$===null||$.memoizedState!==null){if(F=qJ(U),Y!==null){if($===null){if(!F)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=U.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[A1]=U,VU(U),(U.mode&N$)!==q$&&Y!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration))}else vz(),qX(),(U.flags&128)===0&&(Y=U.memoizedState=null),U.flags|=4,VU(U),(U.mode&N$)!==q$&&Y!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration));$=!1}else Y=Bz(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Y),$=!0;if(!$){if(U.flags&256)return G4(U),U;return G4(U),null}if((U.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return VU(U),null;case 13:if(F=U.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(M=F,R=qJ(U),M!==null&&M.dehydrated!==null){if($===null){if(!R)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(R=U.memoizedState,R=R!==null?R.dehydrated:null,!R)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R[A1]=U,VU(U),(U.mode&N$)!==q$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration))}else vz(),qX(),(U.flags&128)===0&&(M=U.memoizedState=null),U.flags|=4,VU(U),(U.mode&N$)!==q$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration));M=!1}else M=Bz(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=M),M=!0;if(!M){if(U.flags&256)return G4(U),U;return G4(U),null}}if(G4(U),(U.flags&128)!==0)return U.lanes=Y,(U.mode&N$)!==q$&&SQ(U),U;return Y=F!==null,$=$!==null&&$.memoizedState!==null,Y&&(F=U.child,M=null,F.alternate!==null&&F.alternate.memoizedState!==null&&F.alternate.memoizedState.cachePool!==null&&(M=F.alternate.memoizedState.cachePool.pool),R=null,F.memoizedState!==null&&F.memoizedState.cachePool!==null&&(R=F.memoizedState.cachePool.pool),R!==M&&(F.flags|=2048)),Y!==$&&Y&&(U.child.flags|=8192),xZ(U,U.updateQueue),VU(U),(U.mode&N$)!==q$&&Y&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return H(U),$===null&&nO(U.stateNode.containerInfo),VU(U),null;case 10:return h6(U.type,U),VU(U),null;case 19:if(G(aU,U),F=U.memoizedState,F===null)return VU(U),null;if(M=(U.flags&128)!==0,R=F.rendering,R===null)if(M)wQ(F,!1);else{if(kU!==JI||$!==null&&($.flags&128)!==0)for($=U.child;$!==null;){if(R=LZ($),R!==null){U.flags|=128,wQ(F,!1),$=R.updateQueue,U.updateQueue=$,xZ(U,$),U.subtreeFlags=0,$=Y;for(Y=U.child;Y!==null;)uA(Y,$),Y=Y.sibling;return V(aU,aU.current&QY|PG,U),p$&&u6(U,F.treeForkCount),U.child}$=$.sibling}F.tail!==null&&z1()>bK&&(U.flags|=128,M=!0,wQ(F,!1),U.lanes=4194304)}else{if(!M)if($=LZ(R),$!==null){if(U.flags|=128,M=!0,$=$.updateQueue,U.updateQueue=$,xZ(U,$),wQ(F,!0),F.tail===null&&F.tailMode==="hidden"&&!R.alternate&&!p$)return VU(U),null}else 2*z1()-F.renderingStartTime>bK&&Y!==536870912&&(U.flags|=128,M=!0,wQ(F,!1),U.lanes=4194304);F.isBackwards?(R.sibling=U.child,U.child=R):($=F.last,$!==null?$.sibling=R:U.child=R,F.last=R)}if(F.tail!==null)return $=F.tail,F.rendering=$,F.tail=$.sibling,F.renderingStartTime=z1(),$.sibling=null,Y=aU.current,Y=M?Y&QY|PG:Y&QY,V(aU,Y,U),p$&&u6(U,F.treeForkCount),$;return VU(U),null;case 22:case 23:return G4(U),cz(U),F=U.memoizedState!==null,$!==null?$.memoizedState!==null!==F&&(U.flags|=8192):F&&(U.flags|=8192),F?(Y&536870912)!==0&&(U.flags&128)===0&&(VU(U),U.subtreeFlags&6&&(U.flags|=8192)):VU(U),Y=U.updateQueue,Y!==null&&xZ(U,Y.retryQueue),Y=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Y=$.memoizedState.cachePool.pool),F=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(F=U.memoizedState.cachePool.pool),F!==Y&&(U.flags|=2048),$!==null&&G(bX,U),null;case 24:return Y=null,$!==null&&(Y=$.memoizedState.cache),U.memoizedState.cache!==Y&&(U.flags|=2048),h6($1,U),VU(U),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function hN($,U){switch(jz(U),U.tag){case 1:return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==q$&&SQ(U),U):null;case 3:return h6($1,U),H(U),$=U.flags,($&65536)!==0&&($&128)===0?(U.flags=$&-65537|128,U):null;case 26:case 27:case 5:return A(U),null;case 31:if(U.memoizedState!==null){if(G4(U),U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");qX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==q$&&SQ(U),U):null;case 13:if(G4(U),$=U.memoizedState,$!==null&&$.dehydrated!==null){if(U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");qX()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==q$&&SQ(U),U):null;case 19:return G(aU,U),null;case 4:return H(U),null;case 10:return h6(U.type,U),null;case 22:case 23:return G4(U),cz(U),$!==null&&G(bX,U),$=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==q$&&SQ(U),U):null;case 24:return h6($1,U),null;case 25:return null;default:return null}}function JC($,U){switch(jz(U),U.tag){case 3:h6($1,U),H(U);break;case 26:case 27:case 5:A(U);break;case 4:H(U);break;case 31:U.memoizedState!==null&&G4(U);break;case 13:G4(U);break;case 19:G(aU,U);break;case 10:h6(U.type,U);break;case 22:case 23:G4(U),cz(U),$!==null&&G(bX,U);break;case 24:h6($1,U)}}function W6($){return($.mode&N$)!==q$}function YC($,U){W6($)?(K6(),fQ(U,$),Z6()):fQ(U,$)}function vO($,U,Y){W6($)?(K6(),jJ(Y,$,U),Z6()):jJ(Y,$,U)}function fQ($,U){try{var Y=U.updateQueue,F=Y!==null?Y.lastEffect:null;if(F!==null){var M=F.next;Y=M;do{if((Y.tag&$)===$&&(F=void 0,($&g1)!==EK&&(HY=!0),F=J0(U,Kg,Y),($&g1)!==EK&&(HY=!1),F!==void 0&&typeof F!=="function")){var R=void 0;R=(Y.tag&H4)!==0?"useLayoutEffect":(Y.tag&g1)!==0?"useInsertionEffect":"useEffect";var k=void 0;k=F===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof F.then==="function"?`
141
+
142
+ It looks like you wrote `+R+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+
144
+ `+R+`(() => {
145
+ async function fetchData() {
146
+ // You can await here
147
+ const response = await MyAPI.getData(someId);
148
+ // ...
149
+ }
150
+ fetchData();
151
+ }, [someId]); // Or [] if effect doesn't need props or state
152
+
153
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+F,J0(U,function(f,l){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,l)},R,k)}Y=Y.next}while(Y!==M)}}catch(f){a$(U,U.return,f)}}function jJ($,U,Y){try{var F=U.updateQueue,M=F!==null?F.lastEffect:null;if(M!==null){var R=M.next;F=R;do{if((F.tag&$)===$){var k=F.inst,f=k.destroy;f!==void 0&&(k.destroy=void 0,($&g1)!==EK&&(HY=!0),M=U,J0(M,Wg,M,Y,f),($&g1)!==EK&&(HY=!1))}F=F.next}while(F!==R)}}catch(l){a$(U,U.return,l)}}function QC($,U){W6($)?(K6(),fQ(U,$),Z6()):fQ(U,$)}function NO($,U,Y){W6($)?(K6(),jJ(Y,$,U),Z6()):jJ(Y,$,U)}function GC($){var U=$.updateQueue;if(U!==null){var Y=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||WY||(Y.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t($)||"instance"),Y.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t($)||"instance"));try{J0($,KT,U,Y)}catch(F){a$($,$.return,F)}}}function cN($,U,Y){return $.getSnapshotBeforeUpdate(U,Y)}function pN($,U){var{memoizedProps:Y,memoizedState:F}=U;U=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||WY||(U.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t($)||"instance"),U.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t($)||"instance"));try{var M=jX($.type,Y),R=J0($,cN,U,M,F);Y=pP,R!==void 0||Y.has($.type)||(Y.add($.type),J0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",t($))})),U.__reactInternalSnapshotBeforeUpdate=R}catch(k){a$($,$.return,k)}}function ZC($,U,Y){Y.props=jX($.type,$.memoizedProps),Y.state=$.memoizedState,W6($)?(K6(),J0($,GP,$,U,Y),Z6()):J0($,GP,$,U,Y)}function mN($){var U=$.ref;if(U!==null){switch($.tag){case 26:case 27:case 5:var Y=$.stateNode;break;case 30:Y=$.stateNode;break;default:Y=$.stateNode}if(typeof U==="function")if(W6($))try{K6(),$.refCleanup=U(Y)}finally{Z6()}else $.refCleanup=U(Y);else typeof U==="string"?console.error("String refs are no longer supported."):U.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",t($)),U.current=Y}}function yQ($,U){try{J0($,mN,$)}catch(Y){a$($,U,Y)}}function z6($,U){var{ref:Y,refCleanup:F}=$;if(Y!==null)if(typeof F==="function")try{if(W6($))try{K6(),J0($,F)}finally{Z6($)}else J0($,F)}catch(M){a$($,U,M)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof Y==="function")try{if(W6($))try{K6(),J0($,Y,null)}finally{Z6($)}else J0($,Y,null)}catch(M){a$($,U,M)}else Y.current=null}function KC($,U,Y,F){var M=$.memoizedProps,R=M.id,k=M.onCommit;M=M.onRender,U=U===null?"mount":"update",CK&&(U="nested-update"),typeof M==="function"&&M(R,U,$.actualDuration,$.treeBaseDuration,$.actualStartTime,Y),typeof k==="function"&&k(R,U,F,Y)}function lN($,U,Y,F){var M=$.memoizedProps;$=M.id,M=M.onPostCommit,U=U===null?"mount":"update",CK&&(U="nested-update"),typeof M==="function"&&M($,U,F,Y)}function WC($){var{type:U,memoizedProps:Y,stateNode:F}=$;try{J0($,F3,F,U,Y,$)}catch(M){a$($,$.return,M)}}function kO($,U,Y){try{J0($,D3,$.stateNode,$.type,Y,U,$)}catch(F){a$($,$.return,F)}}function zC($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&SI($.type)||$.tag===4}function gO($){$:for(;;){for(;$.sibling===null;){if($.return===null||zC($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&SI($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function xO($,U,Y){var F=$.tag;if(F===5||F===6)$=$.stateNode,U?(Mq(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore($,U)):(Mq(Y),U=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,U.appendChild($),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||U.onclick!==null||(U.onclick=y6));else if(F!==4&&(F===27&&SI($.type)&&(Y=$.stateNode,U=null),$=$.child,$!==null))for(xO($,U,Y),$=$.sibling;$!==null;)xO($,U,Y),$=$.sibling}function wZ($,U,Y){var F=$.tag;if(F===5||F===6)$=$.stateNode,U?Y.insertBefore($,U):Y.appendChild($);else if(F!==4&&(F===27&&SI($.type)&&(Y=$.stateNode),$=$.child,$!==null))for(wZ($,U,Y),$=$.sibling;$!==null;)wZ($,U,Y),$=$.sibling}function dN($){for(var U,Y=$.return;Y!==null;){if(zC(Y)){U=Y;break}Y=Y.return}if(U==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(U.tag){case 27:U=U.stateNode,Y=gO($),wZ($,Y,U);break;case 5:Y=U.stateNode,U.flags&32&&(Lq(Y),U.flags&=-33),U=gO($),wZ($,U,Y);break;case 3:case 4:U=U.stateNode.containerInfo,Y=gO($),xO($,Y,U);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function OC($){var{stateNode:U,memoizedProps:Y}=$;try{J0($,k3,$.type,Y,U,$)}catch(F){a$($,$.return,F)}}function VC($,U){return U.tag===31?(U=U.memoizedState,$.memoizedState!==null&&U===null):U.tag===13?($=$.memoizedState,U=U.memoizedState,$!==null&&$.dehydrated!==null&&(U===null||U.dehydrated===null)):U.tag===3?$.memoizedState.isDehydrated&&(U.flags&256)===0:!1}function nN($,U){if($=$.containerInfo,gV=U8,$=BA($),Lz($)){if("selectionStart"in $)var Y={start:$.selectionStart,end:$.selectionEnd};else $:{Y=(Y=$.ownerDocument)&&Y.defaultView||window;var F=Y.getSelection&&Y.getSelection();if(F&&F.rangeCount!==0){Y=F.anchorNode;var{anchorOffset:M,focusNode:R}=F;F=F.focusOffset;try{Y.nodeType,R.nodeType}catch(z$){Y=null;break $}var k=0,f=-1,l=-1,o=0,R0=0,P0=$,V0=null;U:for(;;){for(var g0;;){if(P0!==Y||M!==0&&P0.nodeType!==3||(f=k+M),P0!==R||F!==0&&P0.nodeType!==3||(l=k+F),P0.nodeType===3&&(k+=P0.nodeValue.length),(g0=P0.firstChild)===null)break;V0=P0,P0=g0}for(;;){if(P0===$)break U;if(V0===Y&&++o===M&&(f=k),V0===R&&++R0===F&&(l=k),(g0=P0.nextSibling)!==null)break;P0=V0,V0=P0.parentNode}P0=g0}Y=f===-1||l===-1?null:{start:f,end:l}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;xV={focusedElem:$,selectionRange:Y},U8=!1;for(V1=U;V1!==null;)if(U=V1,$=U.child,(U.subtreeFlags&1028)!==0&&$!==null)$.return=U,V1=$;else for(;V1!==null;){switch($=U=V1,Y=$.alternate,M=$.flags,$.tag){case 0:if((M&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(Y=0;Y<$.length;Y++)M=$[Y],M.ref.impl=M.nextImpl;break;case 11:case 15:break;case 1:(M&1024)!==0&&Y!==null&&pN($,Y);break;case 3:if((M&1024)!==0){if($=$.stateNode.containerInfo,Y=$.nodeType,Y===9)$9($);else if(Y===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":$9($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((M&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if($=U.sibling,$!==null){$.return=U.return,V1=$;break}V1=U.return}}function FC($,U,Y){var F=Y4(),M=J6(),R=Q6(),k=G6(),f=Y.flags;switch(Y.tag){case 0:case 11:case 15:O6($,Y),f&4&&YC(Y,H4|g4);break;case 1:if(O6($,Y),f&4)if($=Y.stateNode,U===null)Y.type.defaultProps||"ref"in Y.memoizedProps||WY||($.props!==Y.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t(Y)||"instance"),$.state!==Y.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t(Y)||"instance")),W6(Y)?(K6(),J0(Y,UV,Y,$),Z6()):J0(Y,UV,Y,$);else{var l=jX(Y.type,U.memoizedProps);U=U.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||WY||($.props!==Y.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t(Y)||"instance"),$.state!==Y.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t(Y)||"instance")),W6(Y)?(K6(),J0(Y,JP,Y,$,l,U,$.__reactInternalSnapshotBeforeUpdate),Z6()):J0(Y,JP,Y,$,l,U,$.__reactInternalSnapshotBeforeUpdate)}f&64&&GC(Y),f&512&&yQ(Y,Y.return);break;case 3:if(U=c6(),O6($,Y),f&64&&(f=Y.updateQueue,f!==null)){if(l=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:l=Y.child.stateNode;break;case 1:l=Y.child.stateNode}try{J0(Y,KT,f,l)}catch(R0){a$(Y,Y.return,R0)}}$.effectDuration+=ZZ(U);break;case 27:U===null&&f&4&&OC(Y);case 26:case 5:if(O6($,Y),U===null){if(f&4)WC(Y);else if(f&64){$=Y.type,U=Y.memoizedProps,l=Y.stateNode;try{J0(Y,H3,l,$,U,Y)}catch(R0){a$(Y,Y.return,R0)}}}f&512&&yQ(Y,Y.return);break;case 12:if(f&4){f=c6(),O6($,Y),$=Y.stateNode,$.effectDuration+=_Q(f);try{J0(Y,KC,Y,U,fI,$.effectDuration)}catch(R0){a$(Y,Y.return,R0)}}else O6($,Y);break;case 31:O6($,Y),f&4&&LC($,Y);break;case 13:O6($,Y),f&4&&MC($,Y),f&64&&($=Y.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(f=U3.bind(null,Y),j3($,f))));break;case 22:if(f=Y.memoizedState!==null||XI,!f){U=U!==null&&U.memoizedState!==null||J1,l=XI;var o=J1;XI=f,(J1=U)&&!o?(V6($,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&s2(Y,T$,C$)):O6($,Y),XI=l,J1=o}break;case 30:break;default:O6($,Y)}(Y.mode&N$)!==q$&&0<=T$&&0<=C$&&((wU||0.05<NU)&&I6(Y,T$,C$,NU,EU),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<C$-T$&&(VC(Y.return.alternate,Y.return)||U6(Y,T$,C$,"Mount"))),Q4(F),Y6(M),EU=R,wU=k}function HC($){var U=$.alternate;U!==null&&($.alternate=null,HC(U)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(U=$.stateNode,U!==null&&j0(U)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function l6($,U,Y){for(Y=Y.child;Y!==null;)DC($,U,Y),Y=Y.sibling}function DC($,U,Y){if(R1&&typeof R1.onCommitFiberUnmount==="function")try{R1.onCommitFiberUnmount(hJ,Y)}catch(o){A6||(A6=!0,console.error("React instrumentation encountered an error: %o",o))}var F=Y4(),M=J6(),R=Q6(),k=G6();switch(Y.tag){case 26:J1||z6(Y,U),l6($,U,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&($=Y.stateNode,$.parentNode.removeChild($));break;case 27:J1||z6(Y,U);var f=Y1,l=i1;SI(Y.type)&&(Y1=Y.stateNode,i1=!1),l6($,U,Y),J0(Y,nQ,Y.stateNode),Y1=f,i1=l;break;case 5:J1||z6(Y,U);case 6:if(f=Y1,l=i1,Y1=null,l6($,U,Y),Y1=f,i1=l,Y1!==null)if(i1)try{J0(Y,A3,Y1,Y.stateNode)}catch(o){a$(Y,U,o)}else try{J0(Y,M3,Y1,Y.stateNode)}catch(o){a$(Y,U,o)}break;case 18:Y1!==null&&(i1?($=Y1,Aq($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,Y.stateNode),fJ($)):Aq(Y1,Y.stateNode));break;case 4:f=Y1,l=i1,Y1=Y.stateNode.containerInfo,i1=!0,l6($,U,Y),Y1=f,i1=l;break;case 0:case 11:case 14:case 15:jJ(g1,Y,U),J1||vO(Y,U,H4),l6($,U,Y);break;case 1:J1||(z6(Y,U),f=Y.stateNode,typeof f.componentWillUnmount==="function"&&ZC(Y,U,f)),l6($,U,Y);break;case 21:l6($,U,Y);break;case 22:J1=(f=J1)||Y.memoizedState!==null,l6($,U,Y),J1=f;break;default:l6($,U,Y)}(Y.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6(Y,T$,C$,NU,EU),Q4(F),Y6(M),EU=R,wU=k}function LC($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{J0(U,v3,$)}catch(Y){a$(U,U.return,Y)}}}function MC($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{J0(U,N3,$)}catch(Y){a$(U,U.return,Y)}}function oN($){switch($.tag){case 31:case 13:case 19:var U=$.stateNode;return U===null&&(U=$.stateNode=new mP),U;case 22:return $=$.stateNode,U=$._retryCache,U===null&&(U=$._retryCache=new mP),U;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function fZ($,U){var Y=oN($);U.forEach(function(F){if(!Y.has(F)){if(Y.add(F),T6)if(zY!==null&&OY!==null)cQ(OY,zY);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var M=I3.bind(null,$,F);F.then(M,M)}})}function n1($,U){var Y=U.deletions;if(Y!==null)for(var F=0;F<Y.length;F++){var M=$,R=U,k=Y[F],f=Y4(),l=R;$:for(;l!==null;){switch(l.tag){case 27:if(SI(l.type)){Y1=l.stateNode,i1=!1;break $}break;case 5:Y1=l.stateNode,i1=!1;break $;case 3:case 4:Y1=l.stateNode.containerInfo,i1=!0;break $}l=l.return}if(Y1===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");DC(M,R,k),Y1=null,i1=!1,(k.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&U6(k,T$,C$,"Unmount"),Q4(f),M=k,R=M.alternate,R!==null&&(R.return=null),M.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)AC(U,$),U=U.sibling}function AC($,U){var Y=Y4(),F=J6(),M=Q6(),R=G6(),k=$.alternate,f=$.flags;switch($.tag){case 0:case 11:case 14:case 15:n1(U,$),o1($),f&4&&(jJ(g1|g4,$,$.return),fQ(g1|g4,$),vO($,$.return,H4|g4));break;case 1:if(n1(U,$),o1($),f&512&&(J1||k===null||z6(k,k.return)),f&64&&XI&&(f=$.updateQueue,f!==null&&(k=f.callbacks,k!==null))){var l=f.shared.hiddenCallbacks;f.shared.hiddenCallbacks=l===null?k:l.concat(k)}break;case 26:if(l=i4,n1(U,$),o1($),f&512&&(J1||k===null||z6(k,k.return)),f&4){var o=k!==null?k.memoizedState:null;if(f=$.memoizedState,k===null)if(f===null)if($.stateNode===null){$:{f=$.type,k=$.memoizedProps,l=l.ownerDocument||l;U:switch(f){case"title":if(o=l.getElementsByTagName("title")[0],!o||o[eQ]||o[A1]||o.namespaceURI===pJ||o.hasAttribute("itemprop"))o=l.createElement(f),l.head.insertBefore(o,l.querySelector("head > title"));M1(o,f,k),o[A1]=$,V$(o),f=o;break $;case"link":var R0=vq("link","href",l).get(f+(k.href||""));if(R0){for(var P0=0;P0<R0.length;P0++)if(o=R0[P0],o.getAttribute("href")===(k.href==null||k.href===""?null:k.href)&&o.getAttribute("rel")===(k.rel==null?null:k.rel)&&o.getAttribute("title")===(k.title==null?null:k.title)&&o.getAttribute("crossorigin")===(k.crossOrigin==null?null:k.crossOrigin)){R0.splice(P0,1);break U}}o=l.createElement(f),M1(o,f,k),l.head.appendChild(o);break;case"meta":if(R0=vq("meta","content",l).get(f+(k.content||""))){for(P0=0;P0<R0.length;P0++)if(o=R0[P0],n(k.content,"content"),o.getAttribute("content")===(k.content==null?null:""+k.content)&&o.getAttribute("name")===(k.name==null?null:k.name)&&o.getAttribute("property")===(k.property==null?null:k.property)&&o.getAttribute("http-equiv")===(k.httpEquiv==null?null:k.httpEquiv)&&o.getAttribute("charset")===(k.charSet==null?null:k.charSet)){R0.splice(P0,1);break U}}o=l.createElement(f),M1(o,f,k),l.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}o[A1]=$,V$(o),f=o}$.stateNode=f}else Nq(l,$.type,$.stateNode);else $.stateNode=Bq(l,f,$.memoizedProps);else o!==f?(o===null?k.stateNode!==null&&(k=k.stateNode,k.parentNode.removeChild(k)):o.count--,f===null?Nq(l,$.type,$.stateNode):Bq(l,f,$.memoizedProps)):f===null&&$.stateNode!==null&&kO($,$.memoizedProps,k.memoizedProps)}break;case 27:n1(U,$),o1($),f&512&&(J1||k===null||z6(k,k.return)),k!==null&&f&4&&kO($,$.memoizedProps,k.memoizedProps);break;case 5:if(n1(U,$),o1($),f&512&&(J1||k===null||z6(k,k.return)),$.flags&32){l=$.stateNode;try{J0($,Lq,l)}catch(H$){a$($,$.return,H$)}}f&4&&$.stateNode!=null&&(l=$.memoizedProps,kO($,l,k!==null?k.memoizedProps:l)),f&1024&&(FV=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(n1(U,$),o1($),f&4){if($.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");f=$.memoizedProps,k=k!==null?k.memoizedProps:f,l=$.stateNode;try{J0($,L3,l,k,f)}catch(H$){a$($,$.return,H$)}}break;case 3:if(l=c6(),sK=null,o=i4,i4=lZ(U.containerInfo),n1(U,$),i4=o,o1($),f&4&&k!==null&&k.memoizedState.isDehydrated)try{J0($,B3,U.containerInfo)}catch(H$){a$($,$.return,H$)}FV&&(FV=!1,TC($)),U.effectDuration+=ZZ(l);break;case 4:f=i4,i4=lZ($.stateNode.containerInfo),n1(U,$),o1($),i4=f;break;case 12:f=c6(),n1(U,$),o1($),$.stateNode.effectDuration+=_Q(f);break;case 31:n1(U,$),o1($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,fZ($,f)));break;case 13:n1(U,$),o1($),$.child.flags&8192&&$.memoizedState!==null!==(k!==null&&k.memoizedState!==null)&&(yK=z1()),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,fZ($,f)));break;case 22:l=$.memoizedState!==null;var V0=k!==null&&k.memoizedState!==null,g0=XI,z$=J1;if(XI=g0||l,J1=z$||V0,n1(U,$),J1=z$,XI=g0,V0&&!l&&!g0&&!z$&&($.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&s2($,T$,C$),o1($),f&8192)$:for(U=$.stateNode,U._visibility=l?U._visibility&~ZG:U._visibility|ZG,!l||k===null||V0||XI||J1||(BX($),($.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&U6($,T$,C$,"Disconnect")),k=null,U=$;;){if(U.tag===5||U.tag===26){if(k===null){V0=k=U;try{o=V0.stateNode,l?J0(V0,C3,o):J0(V0,P3,V0.stateNode,V0.memoizedProps)}catch(H$){a$(V0,V0.return,H$)}}}else if(U.tag===6){if(k===null){V0=U;try{R0=V0.stateNode,l?J0(V0,q3,R0):J0(V0,_3,R0,V0.memoizedProps)}catch(H$){a$(V0,V0.return,H$)}}}else if(U.tag===18){if(k===null){V0=U;try{P0=V0.stateNode,l?J0(V0,T3,P0):J0(V0,R3,V0.stateNode)}catch(H$){a$(V0,V0.return,H$)}}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===$)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break $;for(;U.sibling===null;){if(U.return===null||U.return===$)break $;k===U&&(k=null),U=U.return}k===U&&(k=null),U.sibling.return=U.return,U=U.sibling}f&4&&(f=$.updateQueue,f!==null&&(k=f.retryQueue,k!==null&&(f.retryQueue=null,fZ($,k))));break;case 19:n1(U,$),o1($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,fZ($,f)));break;case 30:break;case 21:break;default:n1(U,$),o1($)}($.mode&N$)!==q$&&0<=T$&&0<=C$&&((wU||0.05<NU)&&I6($,T$,C$,NU,EU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<C$-T$&&(VC($.return.alternate,$.return)||U6($,T$,C$,"Mount"))),Q4(Y),Y6(F),EU=M,wU=R}function o1($){var U=$.flags;if(U&2){try{J0($,dN,$)}catch(Y){a$($,$.return,Y)}$.flags&=-3}U&4096&&($.flags&=-4097)}function TC($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var U=$;TC(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),$=$.sibling}}function O6($,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)FC($,U.alternate,U),U=U.sibling}function CC($){var U=Y4(),Y=J6(),F=Q6(),M=G6();switch($.tag){case 0:case 11:case 14:case 15:vO($,$.return,H4),BX($);break;case 1:z6($,$.return);var R=$.stateNode;typeof R.componentWillUnmount==="function"&&ZC($,$.return,R),BX($);break;case 27:J0($,nQ,$.stateNode);case 26:case 5:z6($,$.return),BX($);break;case 22:$.memoizedState===null&&BX($);break;case 30:BX($);break;default:BX($)}($.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6($,T$,C$,NU,EU),Q4(U),Y6(Y),EU=F,wU=M}function BX($){for($=$.child;$!==null;)CC($),$=$.sibling}function qC($,U,Y,F){var M=Y4(),R=J6(),k=Q6(),f=G6(),l=Y.flags;switch(Y.tag){case 0:case 11:case 15:V6($,Y,F),YC(Y,H4);break;case 1:if(V6($,Y,F),U=Y.stateNode,typeof U.componentDidMount==="function"&&J0(Y,UV,Y,U),U=Y.updateQueue,U!==null){$=Y.stateNode;try{J0(Y,BN,U,$)}catch(o){a$(Y,Y.return,o)}}F&&l&64&&GC(Y),yQ(Y,Y.return);break;case 27:OC(Y);case 26:case 5:V6($,Y,F),F&&U===null&&l&4&&WC(Y),yQ(Y,Y.return);break;case 12:if(F&&l&4){l=c6(),V6($,Y,F),F=Y.stateNode,F.effectDuration+=_Q(l);try{J0(Y,KC,Y,U,fI,F.effectDuration)}catch(o){a$(Y,Y.return,o)}}else V6($,Y,F);break;case 31:V6($,Y,F),F&&l&4&&LC($,Y);break;case 13:V6($,Y,F),F&&l&4&&MC($,Y);break;case 22:Y.memoizedState===null&&V6($,Y,F),yQ(Y,Y.return);break;case 30:break;default:V6($,Y,F)}(Y.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6(Y,T$,C$,NU,EU),Q4(M),Y6(R),EU=k,wU=f}function V6($,U,Y){Y=Y&&(U.subtreeFlags&8772)!==0;for(U=U.child;U!==null;)qC($,U.alternate,U,Y),U=U.sibling}function wO($,U){var Y=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Y=$.memoizedState.cachePool.pool),$=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&($=U.memoizedState.cachePool.pool),$!==Y&&($!=null&&PX($),Y!=null&&PQ(Y))}function fO($,U){$=null,U.alternate!==null&&($=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==$&&(PX(U),$!=null&&PQ($))}function p4($,U,Y,F,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(U=U.child;U!==null;){var R=U.sibling;RC($,U,Y,F,R!==null?R.actualStartTime:M),U=R}}function RC($,U,Y,F,M){var R=Y4(),k=J6(),f=Q6(),l=G6(),o=kI,R0=U.flags;switch(U.tag){case 0:case 11:case 15:(U.mode&N$)!==q$&&0<U.actualStartTime&&(U.flags&1)!==0&&e2(U,U.actualStartTime,M,Z1,Y),p4($,U,Y,F,M),R0&2048&&QC(U,x1|g4);break;case 1:(U.mode&N$)!==q$&&0<U.actualStartTime&&((U.flags&128)!==0?Az(U,U.actualStartTime,M,[]):(U.flags&1)!==0&&e2(U,U.actualStartTime,M,Z1,Y)),p4($,U,Y,F,M);break;case 3:var P0=c6(),V0=Z1;Z1=U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)===0,p4($,U,Y,F,M),Z1=V0,R0&2048&&(Y=null,U.alternate!==null&&(Y=U.alternate.memoizedState.cache),F=U.memoizedState.cache,F!==Y&&(PX(F),Y!=null&&PQ(Y))),$.passiveEffectDuration+=ZZ(P0);break;case 12:if(R0&2048){R0=c6(),p4($,U,Y,F,M),$=U.stateNode,$.passiveEffectDuration+=_Q(R0);try{J0(U,lN,U,U.alternate,fI,$.passiveEffectDuration)}catch(g0){a$(U,U.return,g0)}}else p4($,U,Y,F,M);break;case 31:R0=Z1,P0=U.alternate!==null?U.alternate.memoizedState:null,V0=U.memoizedState,P0!==null&&V0===null?(V0=U.deletions,V0!==null&&0<V0.length&&V0[0].tag===18?(Z1=!1,P0=P0.hydrationErrors,P0!==null&&Az(U,U.actualStartTime,M,P0)):Z1=!0):Z1=!1,p4($,U,Y,F,M),Z1=R0;break;case 13:R0=Z1,P0=U.alternate!==null?U.alternate.memoizedState:null,V0=U.memoizedState,P0===null||P0.dehydrated===null||V0!==null&&V0.dehydrated!==null?Z1=!1:(V0=U.deletions,V0!==null&&0<V0.length&&V0[0].tag===18?(Z1=!1,P0=P0.hydrationErrors,P0!==null&&Az(U,U.actualStartTime,M,P0)):Z1=!0),p4($,U,Y,F,M),Z1=R0;break;case 23:break;case 22:V0=U.stateNode,P0=U.alternate,U.memoizedState!==null?V0._visibility&o6?p4($,U,Y,F,M):bQ($,U,Y,F,M):V0._visibility&o6?p4($,U,Y,F,M):(V0._visibility|=o6,BJ($,U,Y,F,(U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child),M),(U.mode&N$)===q$||Z1||($=U.actualStartTime,0<=$&&0.05<M-$&&s2(U,$,M),0<=T$&&0<=C$&&0.05<C$-T$&&s2(U,T$,C$))),R0&2048&&wO(P0,U);break;case 24:p4($,U,Y,F,M),R0&2048&&fO(U.alternate,U);break;default:p4($,U,Y,F,M)}if((U.mode&N$)!==q$){if($=!Z1&&U.alternate===null&&U.return!==null&&U.return.alternate!==null)Y=U.actualStartTime,0<=Y&&0.05<M-Y&&U6(U,Y,M,"Mount");0<=T$&&0<=C$&&((wU||0.05<NU)&&I6(U,T$,C$,NU,EU),$&&0.05<C$-T$&&U6(U,T$,C$,"Mount"))}Q4(R),Y6(k),EU=f,wU=l,kI=o}function BJ($,U,Y,F,M,R){M=M&&((U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child));for(U=U.child;U!==null;){var k=U.sibling;PC($,U,Y,F,M,k!==null?k.actualStartTime:R),U=k}}function PC($,U,Y,F,M,R){var k=Y4(),f=J6(),l=Q6(),o=G6(),R0=kI;M&&(U.mode&N$)!==q$&&0<U.actualStartTime&&(U.flags&1)!==0&&e2(U,U.actualStartTime,R,Z1,Y);var P0=U.flags;switch(U.tag){case 0:case 11:case 15:BJ($,U,Y,F,M,R),QC(U,x1);break;case 23:break;case 22:var V0=U.stateNode;U.memoizedState!==null?V0._visibility&o6?BJ($,U,Y,F,M,R):bQ($,U,Y,F,R):(V0._visibility|=o6,BJ($,U,Y,F,M,R)),M&&P0&2048&&wO(U.alternate,U);break;case 24:BJ($,U,Y,F,M,R),M&&P0&2048&&fO(U.alternate,U);break;default:BJ($,U,Y,F,M,R)}(U.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6(U,T$,C$,NU,EU),Q4(k),Y6(f),EU=l,wU=o,kI=R0}function bQ($,U,Y,F,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(var R=U.child;R!==null;){U=R.sibling;var k=$,f=Y,l=F,o=U!==null?U.actualStartTime:M,R0=kI;(R.mode&N$)!==q$&&0<R.actualStartTime&&(R.flags&1)!==0&&e2(R,R.actualStartTime,o,Z1,f);var P0=R.flags;switch(R.tag){case 22:bQ(k,R,f,l,o),P0&2048&&wO(R.alternate,R);break;case 24:bQ(k,R,f,l,o),P0&2048&&fO(R.alternate,R);break;default:bQ(k,R,f,l,o)}kI=R0,R=U}}function vJ($,U,Y){if($.subtreeFlags&jG)for($=$.child;$!==null;)_C($,U,Y),$=$.sibling}function _C($,U,Y){switch($.tag){case 26:vJ($,U,Y),$.flags&jG&&$.memoizedState!==null&&w3(Y,i4,$.memoizedState,$.memoizedProps);break;case 5:vJ($,U,Y);break;case 3:case 4:var F=i4;i4=lZ($.stateNode.containerInfo),vJ($,U,Y),i4=F;break;case 22:$.memoizedState===null&&(F=$.alternate,F!==null&&F.memoizedState!==null?(F=jG,jG=16777216,vJ($,U,Y),jG=F):vJ($,U,Y));break;default:vJ($,U,Y)}}function SC($){var U=$.alternate;if(U!==null&&($=U.child,$!==null)){U.child=null;do U=$.sibling,$.sibling=null,$=U;while($!==null)}}function uQ($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Y=0;Y<U.length;Y++){var F=U[Y],M=Y4();V1=F,BC(F,$),(F.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&U6(F,T$,C$,"Unmount"),Q4(M)}SC($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)EC($),$=$.sibling}function EC($){var U=Y4(),Y=J6(),F=Q6(),M=G6();switch($.tag){case 0:case 11:case 15:uQ($),$.flags&2048&&NO($,$.return,x1|g4);break;case 3:var R=c6();uQ($),$.stateNode.passiveEffectDuration+=ZZ(R);break;case 12:R=c6(),uQ($),$.stateNode.passiveEffectDuration+=_Q(R);break;case 22:R=$.stateNode,$.memoizedState!==null&&R._visibility&o6&&($.return===null||$.return.tag!==13)?(R._visibility&=~o6,yZ($),($.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&U6($,T$,C$,"Disconnect")):uQ($);break;default:uQ($)}($.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6($,T$,C$,NU,EU),Q4(U),Y6(Y),wU=M,EU=F}function yZ($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Y=0;Y<U.length;Y++){var F=U[Y],M=Y4();V1=F,BC(F,$),(F.mode&N$)!==q$&&0<=T$&&0<=C$&&0.05<C$-T$&&U6(F,T$,C$,"Unmount"),Q4(M)}SC($)}for($=$.child;$!==null;)jC($),$=$.sibling}function jC($){var U=Y4(),Y=J6(),F=Q6(),M=G6();switch($.tag){case 0:case 11:case 15:NO($,$.return,x1),yZ($);break;case 22:var R=$.stateNode;R._visibility&o6&&(R._visibility&=~o6,yZ($));break;default:yZ($)}($.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6($,T$,C$,NU,EU),Q4(U),Y6(Y),wU=M,EU=F}function BC($,U){for(;V1!==null;){var Y=V1,F=Y,M=U,R=Y4(),k=J6(),f=Q6(),l=G6();switch(F.tag){case 0:case 11:case 15:NO(F,M,x1);break;case 23:case 22:F.memoizedState!==null&&F.memoizedState.cachePool!==null&&(M=F.memoizedState.cachePool.pool,M!=null&&PX(M));break;case 24:PQ(F.memoizedState.cache)}if((F.mode&N$)!==q$&&0<=T$&&0<=C$&&(wU||0.05<NU)&&I6(F,T$,C$,NU,EU),Q4(R),Y6(k),wU=l,EU=f,F=Y.child,F!==null)F.return=Y,V1=F;else $:for(Y=$;V1!==null;){if(F=V1,R=F.sibling,k=F.return,HC(F),F===Y){V1=null;break $}if(R!==null){R.return=k,V1=R;break $}V1=k}}}function iN(){Hg.forEach(function($){return $()})}function vC(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||b0.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function Z4($){if((n$&K1)!==F1&&g$!==0)return g$&-g$;var U=b0.T;return U!==null?(U._updatedFibers||(U._updatedFibers=new Set),U._updatedFibers.add($),lO()):X0()}function NC(){if(t1===0)if((g$&536870912)===0||p$){var $=IK;IK<<=1,(IK&3932160)===0&&(IK=262144),t1=$}else t1=536870912;return $=F4.current,$!==null&&($.flags|=32),t1}function xU($,U,Y){if(HY&&console.error("useInsertionEffect must not schedule updates."),_V&&(cK=!0),$===ZU&&(IU===lX||IU===dX)||$.cancelPendingCommit!==null)kJ($,0),PI($,g$,t1,!1);if(p0($,Y),(n$&K1)!==F1&&$===ZU){if(M6)switch(U.tag){case 0:case 11:case 15:$=w$&&t(w$)||"Unknown",J_.has($)||(J_.add($),U=t(U)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",U,$,$));break;case 1:X_||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),X_=!0)}}else T6&&i0($,U,Y),J3(U),$===ZU&&((n$&K1)===F1&&(dI|=Y),kU===pI&&PI($,g$,t1,!1)),F6($)}function kC($,U,Y){if((n$&(K1|D4))!==F1)throw Error("Should not already be working.");if(g$!==0&&w$!==null){var F=w$,M=z1();switch(tR){case NG:case lX:var R=FG;AU&&((F=F._debugTask)?F.run(console.timeStamp.bind(console,"Suspended",R,M,_4,void 0,"primary-light")):console.timeStamp("Suspended",R,M,_4,void 0,"primary-light"));break;case dX:R=FG,AU&&((F=F._debugTask)?F.run(console.timeStamp.bind(console,"Action",R,M,_4,void 0,"primary-light")):console.timeStamp("Action",R,M,_4,void 0,"primary-light"));break;default:AU&&(F=M-FG,3>F||console.timeStamp("Blocked",FG,M,_4,void 0,5>F?"primary-light":10>F?"primary":100>F?"primary-dark":"error"))}}R=(Y=!Y&&(U&127)===0&&(U&$.expiredLanes)===0||M0($,U))?tN($,U):bO($,U,!0);var k=Y;do{if(R===JI){VY&&!Y&&PI($,U,0,!1),U=IU,FG=U1(),tR=U;break}else{if(F=z1(),M=$.current.alternate,k&&!rN(M)){X4(U),M=O1,R=F,!AU||R<=M||(dU?dU.run(console.timeStamp.bind(console,"Teared Render",M,R,u$,b$,"error")):console.timeStamp("Teared Render",M,R,u$,b$,"error")),vX(U,F),R=bO($,U,!1),k=!1;continue}if(R===mX){if(k=U,$.errorRecoveryDisabledLanes&k)var f=0;else f=$.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){X4(U),Tz(O1,F,U,dU),vX(U,F),U=f;$:{F=$,R=k,k=gG;var l=F.current.memoizedState.isDehydrated;if(l&&(kJ(F,f).flags|=256),f=bO(F,f,!1),f!==mX){if(LV&&!l){F.errorRecoveryDisabledLanes|=R,dI|=R,R=pI;break $}F=w1,w1=k,F!==null&&(w1===null?w1=F:w1.push.apply(w1,F))}R=f}if(k=!1,R!==mX)continue;else F=z1()}}if(R===vG){X4(U),Tz(O1,F,U,dU),vX(U,F),kJ($,0),PI($,U,0,!0);break}$:{switch(Y=$,R){case JI:case vG:throw Error("Root did not complete. This is a bug in React.");case pI:if((U&4194048)!==U)break;case gK:X4(U),kA(O1,F,U,dU),vX(U,F),M=U,(M&127)!==0?MK=F:(M&4194048)!==0&&(AK=F),PI(Y,U,t1,!mI);break $;case mX:w1=null;break;case kK:case lP:break;default:throw Error("Unknown root exit status.")}if(b0.actQueue!==null)uO(Y,M,U,w1,xG,fK,t1,dI,nX,R,null,null,O1,F);else{if((U&62914560)===U&&(k=yK+oP-z1(),10<k)){if(PI(Y,U,t1,!mI),I$(Y,0,!0)!==0)break $;r4=U,Y.timeoutHandle=O_(gC.bind(null,Y,M,w1,xG,fK,U,t1,dI,nX,mI,R,"Throttled",O1,F),k);break $}gC(Y,M,w1,xG,fK,U,t1,dI,nX,mI,R,null,O1,F)}}}break}while(1);F6($)}function gC($,U,Y,F,M,R,k,f,l,o,R0,P0,V0,g0){$.timeoutHandle=aX;var z$=U.subtreeFlags,H$=null;if(z$&8192||(z$&16785408)===16785408){if(H$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:y6},_C(U,R,H$),z$=(R&62914560)===R?yK-z1():(R&4194048)===R?nP-z1():0,z$=f3(H$,z$),z$!==null){r4=R,$.cancelPendingCommit=z$(uO.bind(null,$,U,R,Y,F,M,k,f,l,R0,H$,H$.waitingForViewTransition?"Waiting for the previous Animation":0<H$.count?0<H$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":H$.imgCount===1?"Suspended on an Image":0<H$.imgCount?"Suspended on Images":null,V0,g0)),PI($,R,k,!o);return}}uO($,U,R,Y,F,M,k,f,l,R0,H$,P0,V0,g0)}function rN($){for(var U=$;;){var Y=U.tag;if((Y===0||Y===11||Y===15)&&U.flags&16384&&(Y=U.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var F=0;F<Y.length;F++){var M=Y[F],R=M.getSnapshot;M=M.value;try{if(!N1(R(),M))return!1}catch(k){return!1}}if(Y=U.child,U.subtreeFlags&16384&&Y!==null)Y.return=U,U=Y;else{if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return!0;U=U.return}U.sibling.return=U.return,U=U.sibling}}return!0}function PI($,U,Y,F){U&=~MV,U&=~dI,$.suspendedLanes|=U,$.pingedLanes&=~U,F&&($.warmLanes|=U),F=$.expirationTimes;for(var M=U;0<M;){var R=31-j1(M),k=1<<R;F[R]=-1,M&=~k}Y!==0&&h0($,Y,U)}function NJ(){return(n$&(K1|D4))===F1?(pQ(0,!1),!1):!0}function yO(){if(w$!==null){if(IU===r1)var $=w$.return;else $=w$,YZ(),iz($),JY=null,RG=0,$=w$;for(;$!==null;)JC($.alternate,$),$=$.return;w$=null}}function vX($,U){($&127)!==0&&(yI=U),($&4194048)!==0&&(_6=U),($&62914560)!==0&&(iR=U),($&2080374784)!==0&&(rR=U)}function kJ($,U){AU&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",b$,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",b$,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",b$,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",b$,"primary-light"));var Y=O1;if(O1=U1(),g$!==0&&0<Y){if(X4(g$),kU===kK||kU===pI)kA(Y,O1,U,dU);else{var F=O1,M=dU;if(AU&&!(F<=Y)){var R=(U&738197653)===U?"tertiary-dark":"primary-dark",k=(U&536870912)===U?"Prewarm":(U&201326741)===U?"Interrupted Hydration":"Interrupted Render";M?M.run(console.timeStamp.bind(console,k,Y,F,u$,b$,R)):console.timeStamp(k,Y,F,u$,b$,R)}}vX(g$,O1)}if(Y=dU,dU=null,(U&127)!==0){dU=zG,M=0<=P6&&P6<yI?yI:P6,F=0<=wX&&wX<yI?yI:wX,R=0<=F?F:0<=M?M:O1,0<=MK?(X4(2),gA(MK,R,U,Y)):(TK&127)!==0&&(X4(2),qQ(yI,R,e6)),Y=M;var f=F,l=OG,o=0<UY,R0=bI===WG,P0=bI===LK;if(M=O1,F=zG,R=t9,k=a9,AU){if(u$="Blocking",0<Y?Y>M&&(Y=M):Y=M,0<f?f>Y&&(f=Y):f=Y,l!==null&&Y>f){var V0=o?"secondary-light":"warning";F?F.run(console.timeStamp.bind(console,o?"Consecutive":"Event: "+l,f,Y,u$,b$,V0)):console.timeStamp(o?"Consecutive":"Event: "+l,f,Y,u$,b$,V0)}M>Y&&(f=R0?"error":(U&738197653)===U?"tertiary-light":"primary-light",R0=P0?"Promise Resolved":R0?"Cascading Update":5<M-Y?"Update Blocked":"Update",P0=[],k!=null&&P0.push(["Component name",k]),R!=null&&P0.push(["Method name",R]),Y={start:Y,end:M,detail:{devtools:{properties:P0,track:u$,trackGroup:b$,color:f}}},F?F.run(performance.measure.bind(performance,R0,Y)):performance.measure(R0,Y))}P6=-1.1,bI=0,a9=t9=null,MK=-1.1,UY=wX,wX=-1.1,yI=U1()}if((U&4194048)!==0&&(dU=VG,M=0<=s6&&s6<_6?_6:s6,Y=0<=N4&&N4<_6?_6:N4,F=0<=uI&&uI<_6?_6:uI,R=0<=F?F:0<=Y?Y:O1,0<=AK?(X4(256),gA(AK,R,U,dU)):(TK&4194048)!==0&&(X4(256),qQ(_6,R,e6)),P0=F,f=fX,l=0<hI,o=s9===LK,R=O1,F=VG,k=nR,R0=oR,AU&&(u$="Transition",0<Y?Y>R&&(Y=R):Y=R,0<M?M>Y&&(M=Y):M=Y,0<P0?P0>M&&(P0=M):P0=M,M>P0&&f!==null&&(V0=l?"secondary-light":"warning",F?F.run(console.timeStamp.bind(console,l?"Consecutive":"Event: "+f,P0,M,u$,b$,V0)):console.timeStamp(l?"Consecutive":"Event: "+f,P0,M,u$,b$,V0)),Y>M&&(F?F.run(console.timeStamp.bind(console,"Action",M,Y,u$,b$,"primary-dark")):console.timeStamp("Action",M,Y,u$,b$,"primary-dark")),R>Y&&(M=o?"Promise Resolved":5<R-Y?"Update Blocked":"Update",P0=[],R0!=null&&P0.push(["Component name",R0]),k!=null&&P0.push(["Method name",k]),Y={start:Y,end:R,detail:{devtools:{properties:P0,track:u$,trackGroup:b$,color:"primary-light"}}},F?F.run(performance.measure.bind(performance,M,Y)):performance.measure(M,Y))),N4=s6=-1.1,s9=0,AK=-1.1,hI=uI,uI=-1.1,_6=U1()),(U&62914560)!==0&&(TK&62914560)!==0&&(X4(4194304),qQ(iR,O1,e6)),(U&2080374784)!==0&&(TK&2080374784)!==0&&(X4(268435456),qQ(rR,O1,e6)),Y=$.timeoutHandle,Y!==aX&&($.timeoutHandle=aX,jg(Y)),Y=$.cancelPendingCommit,Y!==null&&($.cancelPendingCommit=null,Y()),r4=0,yO(),ZU=$,w$=Y=b6($.current,null),g$=U,IU=r1,L4=null,mI=!1,VY=M0($,U),LV=!1,kU=JI,nX=t1=MV=dI=lI=0,w1=gG=null,fK=!1,(U&8)!==0&&(U|=U&32),F=$.entangledLanes,F!==0)for($=$.entanglements,F&=U;0<F;)M=31-j1(F),R=1<<M,U|=$[M],F&=~R;return E6=U,$Z(),$=hR(),1000<$-uR&&(b0.recentlyCreatedOwnerStacks=0,uR=$),n4.discardPendingWarnings(),Y}function xC($,U){R$=null,b0.H=EG,b0.getCurrentStack=null,M6=!1,z4=null,U===XY||U===PK?(U=UT(),IU=NG):U===IV?(U=UT(),IU=dP):IU=U===OV?DV:U!==null&&typeof U==="object"&&typeof U.then==="function"?kG:xK,L4=U;var Y=w$;Y===null?(kU=vG,vZ($,J4(U,$.current))):Y.mode&N$&&wz(Y)}function wC(){var $=F4.current;return $===null?!0:(g$&4194048)===g$?k4===null?!0:!1:(g$&62914560)===g$||(g$&536870912)!==0?$===k4:!1}function fC(){var $=b0.H;return b0.H=EG,$===null?EG:$}function yC(){var $=b0.A;return b0.A=Fg,$}function bZ($){dU===null&&(dU=$._debugTask==null?null:$._debugTask)}function uZ(){kU=pI,mI||(g$&4194048)!==g$&&F4.current!==null||(VY=!0),(lI&134217727)===0&&(dI&134217727)===0||ZU===null||PI(ZU,g$,t1,!1)}function bO($,U,Y){var F=n$;n$|=K1;var M=fC(),R=yC();if(ZU!==$||g$!==U){if(T6){var k=$.memoizedUpdaters;0<k.size&&(cQ($,g$),k.clear()),qU($,U)}xG=null,kJ($,U)}U=!1,k=kU;$:do try{if(IU!==r1&&w$!==null){var f=w$,l=L4;switch(IU){case DV:yO(),k=gK;break $;case NG:case lX:case dX:case kG:F4.current===null&&(U=!0);var o=IU;if(IU=r1,L4=null,gJ($,f,l,o),Y&&VY){k=JI;break $}break;default:o=IU,IU=r1,L4=null,gJ($,f,l,o)}}bC(),k=kU;break}catch(R0){xC($,R0)}while(1);return U&&$.shellSuspendCounter++,YZ(),n$=F,b0.H=M,b0.A=R,w$===null&&(ZU=null,g$=0,$Z()),k}function bC(){for(;w$!==null;)uC(w$)}function tN($,U){var Y=n$;n$|=K1;var F=fC(),M=yC();if(ZU!==$||g$!==U){if(T6){var R=$.memoizedUpdaters;0<R.size&&(cQ($,g$),R.clear()),qU($,U)}xG=null,bK=z1()+iP,kJ($,U)}else VY=M0($,U);$:do try{if(IU!==r1&&w$!==null)U:switch(U=w$,R=L4,IU){case xK:IU=r1,L4=null,gJ($,U,R,xK);break;case lX:case dX:if(eA(R)){IU=r1,L4=null,hC(U);break}U=function(){IU!==lX&&IU!==dX||ZU!==$||(IU=wK),F6($)},R.then(U,U);break $;case NG:IU=wK;break $;case dP:IU=HV;break $;case wK:eA(R)?(IU=r1,L4=null,hC(U)):(IU=r1,L4=null,gJ($,U,R,wK));break;case HV:var k=null;switch(w$.tag){case 26:k=w$.memoizedState;case 5:case 27:var f=w$;if(k?kq(k):f.stateNode.complete){IU=r1,L4=null;var l=f.sibling;if(l!==null)w$=l;else{var o=f.return;o!==null?(w$=o,hZ(o)):w$=null}break U}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}IU=r1,L4=null,gJ($,U,R,HV);break;case kG:IU=r1,L4=null,gJ($,U,R,kG);break;case DV:yO(),kU=gK;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}b0.actQueue!==null?bC():aN();break}catch(R0){xC($,R0)}while(1);if(YZ(),b0.H=F,b0.A=M,n$=Y,w$!==null)return JI;return ZU=null,g$=0,$Z(),kU}function aN(){for(;w$!==null&&!r3();)uC(w$)}function uC($){var U=$.alternate;($.mode&N$)!==q$?(xz($),U=J0($,jO,U,$,E6),wz($)):U=J0($,jO,U,$,E6),$.memoizedProps=$.pendingProps,U===null?hZ($):w$=U}function hC($){var U=J0($,sN,$);$.memoizedProps=$.pendingProps,U===null?hZ($):w$=U}function sN($){var U=$.alternate,Y=($.mode&N$)!==q$;switch(Y&&xz($),$.tag){case 15:case 0:U=aT(U,$,$.pendingProps,$.type,void 0,g$);break;case 11:U=aT(U,$,$.pendingProps,$.type.render,$.ref,g$);break;case 5:iz($);default:JC(U,$),$=w$=uA($,E6),U=jO(U,$,E6)}return Y&&wz($),U}function gJ($,U,Y,F){YZ(),iz(U),JY=null,RG=0;var M=U.return;try{if(fN($,M,U,Y,g$)){kU=vG,vZ($,J4(Y,$.current)),w$=null;return}}catch(R){if(M!==null)throw w$=M,R;kU=vG,vZ($,J4(Y,$.current)),w$=null;return}if(U.flags&32768){if(p$||F===xK)$=!0;else if(VY||(g$&536870912)!==0)$=!1;else if(mI=$=!0,F===lX||F===dX||F===NG||F===kG)F=F4.current,F!==null&&F.tag===13&&(F.flags|=16384);cC(U,$)}else hZ(U)}function hZ($){var U=$;do{if((U.flags&32768)!==0){cC(U,mI);return}var Y=U.alternate;if($=U.return,xz(U),Y=J0(U,uN,Y,U,E6),(U.mode&N$)!==q$&&iA(U),Y!==null){w$=Y;return}if(U=U.sibling,U!==null){w$=U;return}w$=U=$}while(U!==null);kU===JI&&(kU=lP)}function cC($,U){do{var Y=hN($.alternate,$);if(Y!==null){Y.flags&=32767,w$=Y;return}if(($.mode&N$)!==q$){iA($),Y=$.actualDuration;for(var F=$.child;F!==null;)Y+=F.actualDuration,F=F.sibling;$.actualDuration=Y}if(Y=$.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!U&&($=$.sibling,$!==null)){w$=$;return}w$=$=Y}while($!==null);kU=gK,w$=null}function uO($,U,Y,F,M,R,k,f,l,o,R0,P0,V0,g0){$.cancelPendingCommit=null;do hQ();while(Q1!==oI);if(n4.flushLegacyContextWarning(),n4.flushPendingUnsafeLifecycleWarnings(),(n$&(K1|D4))!==F1)throw Error("Should not already be working.");if(X4(Y),o===mX?Tz(V0,g0,Y,dU):F!==null?RN(V0,g0,Y,F,U!==null&&U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)!==0,dU):qN(V0,g0,Y,dU),U!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),U===$.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(R=U.lanes|U.childLanes,R|=d9,r$($,Y,R,k,f,l),$===ZU&&(w$=ZU=null,g$=0),FY=U,iI=$,r4=Y,CV=R,RV=M,$_=F,qV=g0,U_=P0,t4=uK,I_=null,U.actualDuration!==0||(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,X3(uJ,function(){return hG=window.event,t4===uK&&(t4=TV),nC(),null})):($.callbackNode=null,$.callbackPriority=0),a6=null,fI=U1(),P0!==null&&PN(g0,fI,P0,dU),F=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||F){F=b0.T,b0.T=null,M=s$.p,s$.p=O4,k=n$,n$|=D4;try{nN($,U,Y)}finally{n$=k,s$.p=M,b0.T=F}}Q1=tP,pC(),mC(),lC()}}function pC(){if(Q1===tP){Q1=oI;var $=iI,U=FY,Y=r4,F=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||F){F=b0.T,b0.T=null;var M=s$.p;s$.p=O4;var R=n$;n$|=D4;try{zY=Y,OY=$,KZ(),AC(U,$),OY=zY=null,Y=xV;var k=BA($.containerInfo),f=Y.focusedElem,l=Y.selectionRange;if(k!==f&&f&&f.ownerDocument&&jA(f.ownerDocument.documentElement,f)){if(l!==null&&Lz(f)){var{start:o,end:R0}=l;if(R0===void 0&&(R0=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(R0,f.value.length);else{var P0=f.ownerDocument||document,V0=P0&&P0.defaultView||window;if(V0.getSelection){var g0=V0.getSelection(),z$=f.textContent.length,H$=Math.min(l.start,z$),FU=l.end===void 0?H$:Math.min(l.end,z$);!g0.extend&&H$>FU&&(k=FU,FU=H$,H$=k);var l$=EA(f,H$),K0=EA(f,FU);if(l$&&K0&&(g0.rangeCount!==1||g0.anchorNode!==l$.node||g0.anchorOffset!==l$.offset||g0.focusNode!==K0.node||g0.focusOffset!==K0.offset)){var F0=P0.createRange();F0.setStart(l$.node,l$.offset),g0.removeAllRanges(),H$>FU?(g0.addRange(F0),g0.extend(K0.node,K0.offset)):(F0.setEnd(K0.node,K0.offset),g0.addRange(F0))}}}}P0=[];for(g0=f;g0=g0.parentNode;)g0.nodeType===1&&P0.push({element:g0,left:g0.scrollLeft,top:g0.scrollTop});typeof f.focus==="function"&&f.focus();for(f=0;f<P0.length;f++){var C0=P0[f];C0.element.scrollLeft=C0.left,C0.element.scrollTop=C0.top}}U8=!!gV,xV=gV=null}finally{n$=R,s$.p=M,b0.T=F}}$.current=U,Q1=aP}}function mC(){if(Q1===aP){Q1=oI;var $=I_;if($!==null){fI=U1();var U=t6,Y=fI;!AU||Y<=U||(e6?e6.run(console.timeStamp.bind(console,$,U,Y,u$,b$,"secondary-light")):console.timeStamp($,U,Y,u$,b$,"secondary-light"))}$=iI,U=FY,Y=r4;var F=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||F){F=b0.T,b0.T=null;var M=s$.p;s$.p=O4;var R=n$;n$|=D4;try{zY=Y,OY=$,KZ(),FC($,U.alternate,U),OY=zY=null}finally{n$=R,s$.p=M,b0.T=F}}$=qV,U=U_,t6=U1(),$=U===null?$:fI,U=t6,Y=t4===AV,F=dU,a6!==null?xA($,U,a6,!1,F):!AU||U<=$||(F?F.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",$,U,u$,b$,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",$,U,u$,b$,Y?"error":"secondary-dark")),Q1=sP}}function lC(){if(Q1===eP||Q1===sP){if(Q1===eP){var $=t6;t6=U1();var U=t6,Y=t4===AV;!AU||U<=$||(e6?e6.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",$,U,u$,b$,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",$,U,u$,b$,Y?" error":"secondary-light")),t4!==AV&&(t4=rP)}Q1=oI,t3(),$=iI;var F=FY;U=r4,Y=$_;var M=F.actualDuration!==0||(F.subtreeFlags&10256)!==0||(F.flags&10256)!==0;M?Q1=hK:(Q1=oI,FY=iI=null,dC($,$.pendingLanes),oX=0,fG=null);var R=$.pendingLanes;if(R===0&&(nI=null),M||tC($),R=m(U),F=F.stateNode,R1&&typeof R1.onCommitFiberRoot==="function")try{var k=(F.current.flags&128)===128;switch(R){case O4:var f=R9;break;case l4:f=P9;break;case C6:f=uJ;break;case JK:f=_9;break;default:f=uJ}R1.onCommitFiberRoot(hJ,F,f,k)}catch(P0){A6||(A6=!0,console.error("React instrumentation encountered an error: %o",P0))}if(T6&&$.memoizedUpdaters.clear(),iN(),Y!==null){k=b0.T,f=s$.p,s$.p=O4,b0.T=null;try{var l=$.onRecoverableError;for(F=0;F<Y.length;F++){var o=Y[F],R0=eN(o.stack);J0(o.source,l,o.value,R0)}}finally{b0.T=k,s$.p=f}}(r4&3)!==0&&hQ(),F6($),R=$.pendingLanes,(U&261930)!==0&&(R&42)!==0?(qK=!0,$===PV?wG++:(wG=0,PV=$)):wG=0,M||vX(U,t6),pQ(0,!1)}}function eN($){return $={componentStack:$},Object.defineProperty($,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),$}function dC($,U){($.pooledCacheLanes&=U)===0&&(U=$.pooledCache,U!=null&&($.pooledCache=null,PQ(U)))}function hQ(){return pC(),mC(),lC(),nC()}function nC(){if(Q1!==hK)return!1;var $=iI,U=CV;CV=0;var Y=m(r4),F=C6===0||C6>Y?C6:Y;Y=b0.T;var M=s$.p;try{s$.p=F,b0.T=null;var R=RV;RV=null,F=iI;var k=r4;if(Q1=oI,FY=iI=null,r4=0,(n$&(K1|D4))!==F1)throw Error("Cannot flush passive effects while already rendering.");X4(k),_V=!0,cK=!1;var f=0;if(a6=null,f=z1(),t4===rP)qQ(t6,f,e6);else{var l=t6,o=f,R0=t4===TV;!AU||o<=l||(dU?dU.run(console.timeStamp.bind(console,R0?"Waiting for Paint":"Waiting",l,o,u$,b$,"secondary-light")):console.timeStamp(R0?"Waiting for Paint":"Waiting",l,o,u$,b$,"secondary-light"))}l=n$,n$|=D4;var P0=F.current;KZ(),EC(P0);var V0=F.current;P0=qV,KZ(),RC(F,V0,k,R,P0),tC(F),n$=l;var g0=z1();if(V0=f,P0=dU,a6!==null?xA(V0,g0,a6,!0,P0):!AU||g0<=V0||(P0?P0.run(console.timeStamp.bind(console,"Remaining Effects",V0,g0,u$,b$,"secondary-dark")):console.timeStamp("Remaining Effects",V0,g0,u$,b$,"secondary-dark")),vX(k,g0),pQ(0,!1),cK?F===fG?oX++:(oX=0,fG=F):oX=0,cK=_V=!1,R1&&typeof R1.onPostCommitFiberRoot==="function")try{R1.onPostCommitFiberRoot(hJ,F)}catch(H$){A6||(A6=!0,console.error("React instrumentation encountered an error: %o",H$))}var z$=F.current.stateNode;return z$.effectDuration=0,z$.passiveEffectDuration=0,!0}finally{s$.p=M,b0.T=Y,dC($,U)}}function oC($,U,Y){U=J4(Y,U),rA(U),U=LO($.stateNode,U,2),$=TI($,U,2),$!==null&&(p0($,2),F6($))}function a$($,U,Y){if(HY=!1,$.tag===3)oC($,$,Y);else{for(;U!==null;){if(U.tag===3){oC(U,$,Y);return}if(U.tag===1){var F=U.stateNode;if(typeof U.type.getDerivedStateFromError==="function"||typeof F.componentDidCatch==="function"&&(nI===null||!nI.has(F))){$=J4(Y,$),rA($),Y=MO(2),F=TI(U,Y,2),F!==null&&(AO(Y,F,U,$),p0(F,2),F6(F));return}}U=U.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
154
+
155
+ Error message:
156
+
157
+ %s`,Y)}}function hO($,U,Y){var F=$.pingCache;if(F===null){F=$.pingCache=new Dg;var M=new Set;F.set(U,M)}else M=F.get(U),M===void 0&&(M=new Set,F.set(U,M));M.has(Y)||(LV=!0,M.add(Y),F=$3.bind(null,$,U,Y),T6&&cQ($,Y),U.then(F,F))}function $3($,U,Y){var F=$.pingCache;F!==null&&F.delete(U),$.pingedLanes|=$.suspendedLanes&Y,$.warmLanes&=~Y,(Y&127)!==0?0>P6&&(yI=P6=U1(),zG=DK("Promise Resolved"),bI=LK):(Y&4194048)!==0&&0>N4&&(_6=N4=U1(),VG=DK("Promise Resolved"),s9=LK),vC()&&b0.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
+
159
+ When testing, code that resolves suspended data should be wrapped into act(...):
160
+
161
+ act(() => {
162
+ /* finish loading suspended data */
163
+ });
164
+ /* assert on the output */
165
+
166
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ZU===$&&(g$&Y)===Y&&(kU===pI||kU===kK&&(g$&62914560)===g$&&z1()-yK<oP?(n$&K1)===F1&&kJ($,0):MV|=Y,nX===g$&&(nX=0)),F6($)}function iC($,U){U===0&&(U=M$()),$=q1($,U),$!==null&&(p0($,U),F6($))}function U3($){var U=$.memoizedState,Y=0;U!==null&&(Y=U.retryLane),iC($,Y)}function I3($,U){var Y=0;switch($.tag){case 31:case 13:var{stateNode:F,memoizedState:M}=$;M!==null&&(Y=M.retryLane);break;case 19:F=$.stateNode;break;case 22:F=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}F!==null&&F.delete(U),iC($,Y)}function cO($,U,Y){if((U.subtreeFlags&67117056)!==0)for(U=U.child;U!==null;){var F=$,M=U,R=M.type===sZ;R=Y||R,M.tag!==22?M.flags&67108864?R&&J0(M,rC,F,M):cO(F,M,R):M.memoizedState===null&&(R&&M.flags&8192?J0(M,rC,F,M):M.subtreeFlags&67108864&&J0(M,cO,F,M,R)),U=U.sibling}}function rC($,U){k0(!0);try{CC(U),jC(U),qC($,U.alternate,U,!1),PC($,U,0,null,!1,0)}finally{k0(!1)}}function tC($){var U=!0;$.current.mode&(P1|d4)||(U=!1),cO($,$.current,U)}function aC($){if((n$&K1)===F1){var U=$.tag;if(U===3||U===1||U===0||U===11||U===14||U===15){if(U=t($)||"ReactComponent",pK!==null){if(pK.has(U))return;pK.add(U)}else pK=new Set([U]);J0($,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function cQ($,U){T6&&$.memoizedUpdaters.forEach(function(Y){i0($,Y,U)})}function X3($,U){var Y=b0.actQueue;return Y!==null?(Y.push(U),Ag):q9($,U)}function J3($){vC()&&b0.actQueue===null&&J0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
+
168
+ When testing, code that causes React state updates should be wrapped into act(...):
169
+
170
+ act(() => {
171
+ /* fire events that update state */
172
+ });
173
+ /* assert on the output */
174
+
175
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,t($))})}function F6($){$!==DY&&$.next===null&&(DY===null?mK=DY=$:DY=DY.next=$),lK=!0,b0.actQueue!==null?EV||(EV=!0,Uq()):SV||(SV=!0,Uq())}function pQ($,U){if(!jV&&lK){jV=!0;do{var Y=!1;for(var F=mK;F!==null;){if(!U)if($!==0){var M=F.pendingLanes;if(M===0)var R=0;else{var{suspendedLanes:k,pingedLanes:f}=F;R=(1<<31-j1(42|$)+1)-1,R&=M&~(k&~f),R=R&201326741?R&201326741|1:R?R|2:0}R!==0&&(Y=!0,$q(F,R))}else R=g$,R=I$(F,F===ZU?R:0,F.cancelPendingCommit!==null||F.timeoutHandle!==aX),(R&3)===0||M0(F,R)||(Y=!0,$q(F,R));F=F.next}}while(Y);jV=!1}}function Y3(){hG=window.event,pO()}function pO(){lK=EV=SV=!1;var $=0;rI!==0&&O3()&&($=rI);for(var U=z1(),Y=null,F=mK;F!==null;){var M=F.next,R=sC(F,U);if(R===0)F.next=null,Y===null?mK=M:Y.next=M,M===null&&(DY=Y);else if(Y=F,$!==0||(R&3)!==0)lK=!0;F=M}Q1!==oI&&Q1!==hK||pQ($,!1),rI!==0&&(rI=0)}function sC($,U){for(var{suspendedLanes:Y,pingedLanes:F,expirationTimes:M}=$,R=$.pendingLanes&-62914561;0<R;){var k=31-j1(R),f=1<<k,l=M[k];if(l===-1){if((f&Y)===0||(f&F)!==0)M[k]=v0(f,U)}else l<=U&&($.expiredLanes|=f);R&=~f}if(U=ZU,Y=g$,Y=I$($,$===U?Y:0,$.cancelPendingCommit!==null||$.timeoutHandle!==aX),F=$.callbackNode,Y===0||$===U&&(IU===lX||IU===dX)||$.cancelPendingCommit!==null)return F!==null&&mO(F),$.callbackNode=null,$.callbackPriority=0;if((Y&3)===0||M0($,Y)){if(U=Y&-Y,U!==$.callbackPriority||b0.actQueue!==null&&F!==BV)mO(F);else return U;switch(m(Y)){case O4:case l4:Y=P9;break;case C6:Y=uJ;break;case JK:Y=_9;break;default:Y=uJ}return F=eC.bind(null,$),b0.actQueue!==null?(b0.actQueue.push(F),Y=BV):Y=q9(Y,F),$.callbackPriority=U,$.callbackNode=Y,U}return F!==null&&mO(F),$.callbackPriority=2,$.callbackNode=null,2}function eC($,U){if(qK=CK=!1,hG=window.event,Q1!==oI&&Q1!==hK)return $.callbackNode=null,$.callbackPriority=0,null;var Y=$.callbackNode;if(t4===uK&&(t4=TV),hQ()&&$.callbackNode!==Y)return null;var F=g$;if(F=I$($,$===ZU?F:0,$.cancelPendingCommit!==null||$.timeoutHandle!==aX),F===0)return null;return kC($,F,U),sC($,z1()),$.callbackNode!=null&&$.callbackNode===Y?eC.bind(null,$):null}function $q($,U){if(hQ())return null;CK=qK,qK=!1,kC($,U,!0)}function mO($){$!==BV&&$!==null&&i3($)}function Uq(){b0.actQueue!==null&&b0.actQueue.push(function(){return pO(),null}),Bg(function(){(n$&(K1|D4))!==F1?q9(R9,Y3):pO()})}function lO(){if(rI===0){var $=yX;$===0&&($=UK,UK<<=1,(UK&261888)===0&&(UK=256)),rI=$}return rI}function Iq($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return n($,"action"),AQ(""+$)}function Xq($,U){var Y=U.ownerDocument.createElement("input");return Y.name=U.name,Y.value=U.value,$.id&&Y.setAttribute("form",$.id),U.parentNode.insertBefore(Y,U),$=new FormData($),Y.parentNode.removeChild(Y),$}function Q3($,U,Y,F,M){if(U==="submit"&&Y&&Y.stateNode===M){var R=Iq((M[B1]||null).action),k=F.submitter;k&&(U=(U=k[B1]||null)?Iq(U.formAction):k.getAttribute("formAction"),U!==null&&(R=U,k=null));var f=new KK("action","action",null,F,M);$.push({event:f,listeners:[{instance:null,listener:function(){if(F.defaultPrevented){if(rI!==0){var l=k?Xq(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:R};Object.freeze(o),WO(Y,o,null,l)}}else typeof R==="function"&&(f.preventDefault(),l=k?Xq(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:R},Object.freeze(o),WO(Y,o,R,l))},currentTarget:M}]})}}function cZ($,U,Y){$.currentTarget=Y;try{U($)}catch(F){c9(F)}$.currentTarget=null}function Jq($,U){U=(U&4)!==0;for(var Y=0;Y<$.length;Y++){var F=$[Y];$:{var M=void 0,R=F.event;if(F=F.listeners,U)for(var k=F.length-1;0<=k;k--){var f=F[k],l=f.instance,o=f.currentTarget;if(f=f.listener,l!==M&&R.isPropagationStopped())break $;l!==null?J0(l,cZ,R,f,o):cZ(R,f,o),M=l}else for(k=0;k<F.length;k++){if(f=F[k],l=f.instance,o=f.currentTarget,f=f.listener,l!==M&&R.isPropagationStopped())break $;l!==null?J0(l,cZ,R,f,o):cZ(R,f,o),M=l}}}}function m$($,U){vV.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var Y=U[S9];Y===void 0&&(Y=U[S9]=new Set);var F=$+"__bubble";Y.has(F)||(Yq(U,$,2,!1),Y.add(F))}function dO($,U,Y){vV.has($)&&!U&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var F=0;U&&(F|=4),Yq(Y,$,F,U)}function nO($){if(!$[dK]){$[dK]=!0,UR.forEach(function(Y){Y!=="selectionchange"&&(vV.has(Y)||dO(Y,!1,$),dO(Y,!0,$))});var U=$.nodeType===9?$:$.ownerDocument;U===null||U[dK]||(U[dK]=!0,dO("selectionchange",!1,U))}}function Yq($,U,Y,F){switch(bq(U)){case O4:var M=h3;break;case l4:M=c3;break;default:M=Z9}Y=M.bind(null,U,Y,$),M=void 0,!N9||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(M=!0),F?M!==void 0?$.addEventListener(U,Y,{capture:!0,passive:M}):$.addEventListener(U,Y,!0):M!==void 0?$.addEventListener(U,Y,{passive:M}):$.addEventListener(U,Y,!1)}function oO($,U,Y,F,M){var R=F;if((U&1)===0&&(U&2)===0&&F!==null)$:for(;;){if(F===null)return;var k=F.tag;if(k===3||k===4){var f=F.stateNode.containerInfo;if(f===M)break;if(k===4)for(k=F.return;k!==null;){var l=k.tag;if((l===3||l===4)&&k.stateNode.containerInfo===M)return;k=k.return}for(;f!==null;){if(k=N0(f),k===null)return;if(l=k.tag,l===5||l===6||l===26||l===27){F=R=k;continue $}f=f.parentNode}}F=F.return}DA(function(){var o=R,R0=Hz(Y),P0=[];$:{var V0=bR.get($);if(V0!==void 0){var g0=KK,z$=$;switch($){case"keypress":if(r2(Y)===0)break $;case"keydown":case"keyup":g0=wk;break;case"focusin":z$="focus",g0=w9;break;case"focusout":z$="blur",g0=w9;break;case"beforeblur":case"afterblur":g0=w9;break;case"click":if(Y.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g0=PR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g0=Rk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g0=bk;break;case xR:case wR:case fR:g0=Sk;break;case yR:g0=hk;break;case"scroll":case"scrollend":g0=Ck;break;case"wheel":g0=pk;break;case"copy":case"cut":case"paste":g0=jk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g0=SR;break;case"toggle":case"beforetoggle":g0=lk}var H$=(U&4)!==0,FU=!H$&&($==="scroll"||$==="scrollend"),l$=H$?V0!==null?V0+"Capture":null:V0;H$=[];for(var K0=o,F0;K0!==null;){var C0=K0;if(F0=C0.stateNode,C0=C0.tag,C0!==5&&C0!==26&&C0!==27||F0===null||l$===null||(C0=TQ(K0,l$),C0!=null&&H$.push(mQ(K0,C0,F0))),FU)break;K0=K0.return}0<H$.length&&(V0=new g0(V0,z$,null,Y,R0),P0.push({event:V0,listeners:H$}))}}if((U&7)===0){$:{if(V0=$==="mouseover"||$==="pointerover",g0=$==="mouseout"||$==="pointerout",V0&&Y!==$G&&(z$=Y.relatedTarget||Y.fromElement)&&(N0(z$)||z$[vI]))break $;if(g0||V0){if(V0=R0.window===R0?R0:(V0=R0.ownerDocument)?V0.defaultView||V0.parentWindow:window,g0){if(z$=Y.relatedTarget||Y.toElement,g0=o,z$=z$?N0(z$):null,z$!==null&&(FU=u(z$),H$=z$.tag,z$!==FU||H$!==5&&H$!==27&&H$!==6))z$=null}else g0=null,z$=o;if(g0!==z$){if(H$=PR,C0="onMouseLeave",l$="onMouseEnter",K0="mouse",$==="pointerout"||$==="pointerover")H$=SR,C0="onPointerLeave",l$="onPointerEnter",K0="pointer";if(FU=g0==null?V0:x0(g0),F0=z$==null?V0:x0(z$),V0=new H$(C0,K0+"leave",g0,Y,R0),V0.target=FU,V0.relatedTarget=F0,C0=null,N0(R0)===o&&(H$=new H$(l$,K0+"enter",z$,Y,R0),H$.target=F0,H$.relatedTarget=FU,C0=H$),FU=C0,g0&&z$)U:{H$=G3,l$=g0,K0=z$,F0=0;for(C0=l$;C0;C0=H$(C0))F0++;C0=0;for(var l0=K0;l0;l0=H$(l0))C0++;for(;0<F0-C0;)l$=H$(l$),F0--;for(;0<C0-F0;)K0=H$(K0),C0--;for(;F0--;){if(l$===K0||K0!==null&&l$===K0.alternate){H$=l$;break U}l$=H$(l$),K0=H$(K0)}H$=null}else H$=null;g0!==null&&Qq(P0,V0,g0,H$,!1),z$!==null&&FU!==null&&Qq(P0,FU,z$,H$,!0)}}}$:{if(V0=o?x0(o):window,g0=V0.nodeName&&V0.nodeName.toLowerCase(),g0==="select"||g0==="input"&&V0.type==="file")var O$=RA;else if(CA(V0))if(kR)O$=AN;else{O$=LN;var P$=DN}else g0=V0.nodeName,!g0||g0.toLowerCase()!=="input"||V0.type!=="checkbox"&&V0.type!=="radio"?o&&MQ(o.elementType)&&(O$=RA):O$=MN;if(O$&&(O$=O$($,o))){qA(P0,O$,Y,R0);break $}P$&&P$($,V0,o),$==="focusout"&&o&&V0.type==="number"&&o.memoizedProps.value!=null&&B$(V0,"number",V0.value)}switch(P$=o?x0(o):window,$){case"focusin":if(CA(P$)||P$.contentEditable==="true")oJ=P$,y9=o,GG=null;break;case"focusout":GG=y9=oJ=null;break;case"mousedown":b9=!0;break;case"contextmenu":case"mouseup":case"dragend":b9=!1,vA(P0,Y,R0);break;case"selectionchange":if(ik)break;case"keydown":case"keyup":vA(P0,Y,R0)}var A$;if(f9)$:{switch($){case"compositionstart":var L$="onCompositionStart";break $;case"compositionend":L$="onCompositionEnd";break $;case"compositionupdate":L$="onCompositionUpdate";break $}L$=void 0}else nJ?AA($,Y)&&(L$="onCompositionEnd"):$==="keydown"&&Y.keyCode===ER&&(L$="onCompositionStart");if(L$&&(jR&&Y.locale!=="ko"&&(nJ||L$!=="onCompositionStart"?L$==="onCompositionEnd"&&nJ&&(A$=LA()):(NI=R0,k9=("value"in NI)?NI.value:NI.textContent,nJ=!0)),P$=pZ(o,L$),0<P$.length&&(L$=new _R(L$,$,null,Y,R0),P0.push({event:L$,listeners:P$}),A$?L$.data=A$:(A$=TA(Y),A$!==null&&(L$.data=A$)))),A$=nk?ON($,Y):VN($,Y))L$=pZ(o,"onBeforeInput"),0<L$.length&&(P$=new vk("onBeforeInput","beforeinput",null,Y,R0),P0.push({event:P$,listeners:L$}),P$.data=A$);Q3(P0,$,o,Y,R0)}Jq(P0,U)})}function mQ($,U,Y){return{instance:$,listener:U,currentTarget:Y}}function pZ($,U){for(var Y=U+"Capture",F=[];$!==null;){var M=$,R=M.stateNode;if(M=M.tag,M!==5&&M!==26&&M!==27||R===null||(M=TQ($,Y),M!=null&&F.unshift(mQ($,M,R)),M=TQ($,U),M!=null&&F.push(mQ($,M,R))),$.tag===3)return F;$=$.return}return[]}function G3($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function Qq($,U,Y,F,M){for(var R=U._reactName,k=[];Y!==null&&Y!==F;){var f=Y,l=f.alternate,o=f.stateNode;if(f=f.tag,l!==null&&l===F)break;f!==5&&f!==26&&f!==27||o===null||(l=o,M?(o=TQ(Y,R),o!=null&&k.unshift(mQ(Y,o,l))):M||(o=TQ(Y,R),o!=null&&k.push(mQ(Y,o,l)))),Y=Y.return}k.length!==0&&$.push({event:U,listeners:k})}function iO($,U){ZN($,U),$!=="input"&&$!=="textarea"&&$!=="select"||U==null||U.value!==null||qR||(qR=!0,$==="select"&&U.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var Y={registrationNameDependencies:NX,possibleRegistrationNames:E9};MQ($)||typeof U.is==="string"||WN($,U,Y),U.contentEditable&&!U.suppressContentEditableWarning&&U.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function W1($,U,Y,F){U!==Y&&(Y=_I(Y),_I(U)!==Y&&(F[$]=U))}function Z3($,U,Y){U.forEach(function(F){Y[Kq(F)]=F==="style"?tO($):$.getAttribute(F)})}function H6($,U){U===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof U)}function Gq($,U){return $=$.namespaceURI===QK||$.namespaceURI===pJ?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=U,$.innerHTML}function _I($){return $0($)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",A0($)),c($)),(typeof $==="string"?$:""+$).replace(Tg,`
176
+ `).replace(Cg,"")}function Zq($,U){return U=_I(U),_I($)===U?!0:!1}function QU($,U,Y,F,M,R){switch(Y){case"children":if(typeof F==="string")i2(F,U,!1),U==="body"||U==="textarea"&&F===""||LQ($,F);else if(typeof F==="number"||typeof F==="bigint")i2(""+F,U,!1),U!=="body"&&LQ($,""+F);break;case"className":_0($,"class",F);break;case"tabIndex":_0($,"tabindex",F);break;case"dir":case"role":case"viewBox":case"width":case"height":_0($,Y,F);break;case"style":VA($,F,R);break;case"data":if(U!=="object"){_0($,"data",F);break}case"src":case"href":if(F===""&&(U!=="a"||Y!=="href")){Y==="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.',Y,Y):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.',Y,Y),$.removeAttribute(Y);break}if(F==null||typeof F==="function"||typeof F==="symbol"||typeof F==="boolean"){$.removeAttribute(Y);break}n(F,Y),F=AQ(""+F),$.setAttribute(Y,F);break;case"action":case"formAction":if(F!=null&&(U==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof F==="function"&&(M.encType==null&&M.method==null||iK||(iK=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),M.target==null||oK||(oK=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):U==="input"||U==="button"?Y==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):U!=="input"||M.type==="submit"||M.type==="image"||nK?U!=="button"||M.type==null||M.type==="submit"||nK?typeof F==="function"&&(M.name==null||G_||(G_=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),M.formEncType==null&&M.formMethod==null||iK||(iK=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),M.formTarget==null||oK||(oK=!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."))):(nK=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(nK=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof F==="function"){$.setAttribute(Y,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof R==="function"&&(Y==="formAction"?(U!=="input"&&QU($,U,"name",M.name,M,null),QU($,U,"formEncType",M.formEncType,M,null),QU($,U,"formMethod",M.formMethod,M,null),QU($,U,"formTarget",M.formTarget,M,null)):(QU($,U,"encType",M.encType,M,null),QU($,U,"method",M.method,M,null),QU($,U,"target",M.target,M,null)));if(F==null||typeof F==="symbol"||typeof F==="boolean"){$.removeAttribute(Y);break}n(F,Y),F=AQ(""+F),$.setAttribute(Y,F);break;case"onClick":F!=null&&(typeof F!=="function"&&H6(Y,F),$.onclick=y6);break;case"onScroll":F!=null&&(typeof F!=="function"&&H6(Y,F),m$("scroll",$));break;case"onScrollEnd":F!=null&&(typeof F!=="function"&&H6(Y,F),m$("scrollend",$));break;case"dangerouslySetInnerHTML":if(F!=null){if(typeof F!=="object"||!("__html"in F))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=F.__html,Y!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Y}}break;case"multiple":$.multiple=F&&typeof F!=="function"&&typeof F!=="symbol";break;case"muted":$.muted=F&&typeof F!=="function"&&typeof F!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(F==null||typeof F==="function"||typeof F==="boolean"||typeof F==="symbol"){$.removeAttribute("xlink:href");break}n(F,Y),Y=AQ(""+F),$.setAttributeNS(iX,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":F!=null&&typeof F!=="function"&&typeof F!=="symbol"?(n(F,Y),$.setAttribute(Y,""+F)):$.removeAttribute(Y);break;case"inert":F!==""||rK[Y]||(rK[Y]=!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.",Y));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":F&&typeof F!=="function"&&typeof F!=="symbol"?$.setAttribute(Y,""):$.removeAttribute(Y);break;case"capture":case"download":F===!0?$.setAttribute(Y,""):F!==!1&&F!=null&&typeof F!=="function"&&typeof F!=="symbol"?(n(F,Y),$.setAttribute(Y,F)):$.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":F!=null&&typeof F!=="function"&&typeof F!=="symbol"&&!isNaN(F)&&1<=F?(n(F,Y),$.setAttribute(Y,F)):$.removeAttribute(Y);break;case"rowSpan":case"start":F==null||typeof F==="function"||typeof F==="symbol"||isNaN(F)?$.removeAttribute(Y):(n(F,Y),$.setAttribute(Y,F));break;case"popover":m$("beforetoggle",$),m$("toggle",$),G0($,"popover",F);break;case"xlinkActuate":E0($,iX,"xlink:actuate",F);break;case"xlinkArcrole":E0($,iX,"xlink:arcrole",F);break;case"xlinkRole":E0($,iX,"xlink:role",F);break;case"xlinkShow":E0($,iX,"xlink:show",F);break;case"xlinkTitle":E0($,iX,"xlink:title",F);break;case"xlinkType":E0($,iX,"xlink:type",F);break;case"xmlBase":E0($,NV,"xml:base",F);break;case"xmlLang":E0($,NV,"xml:lang",F);break;case"xmlSpace":E0($,NV,"xml:space",F);break;case"is":R!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),G0($,"is",F);break;case"innerText":case"textContent":break;case"popoverTarget":Z_||F==null||typeof F!=="object"||(Z_=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",F));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=FA(Y),G0($,Y,F)):NX.hasOwnProperty(Y)&&F!=null&&typeof F!=="function"&&H6(Y,F)}}function rO($,U,Y,F,M,R){switch(Y){case"style":VA($,F,R);break;case"dangerouslySetInnerHTML":if(F!=null){if(typeof F!=="object"||!("__html"in F))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=F.__html,Y!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Y}}break;case"children":typeof F==="string"?LQ($,F):(typeof F==="number"||typeof F==="bigint")&&LQ($,""+F);break;case"onScroll":F!=null&&(typeof F!=="function"&&H6(Y,F),m$("scroll",$));break;case"onScrollEnd":F!=null&&(typeof F!=="function"&&H6(Y,F),m$("scrollend",$));break;case"onClick":F!=null&&(typeof F!=="function"&&H6(Y,F),$.onclick=y6);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(NX.hasOwnProperty(Y))F!=null&&typeof F!=="function"&&H6(Y,F);else $:{if(Y[0]==="o"&&Y[1]==="n"&&(M=Y.endsWith("Capture"),U=Y.slice(2,M?Y.length-7:void 0),R=$[B1]||null,R=R!=null?R[Y]:null,typeof R==="function"&&$.removeEventListener(U,R,M),typeof F==="function")){typeof R!=="function"&&R!==null&&(Y in $?$[Y]=null:$.hasAttribute(Y)&&$.removeAttribute(Y)),$.addEventListener(U,F,M);break $}Y in $?$[Y]=F:F===!0?$.setAttribute(Y,""):G0($,Y,F)}}}function M1($,U,Y){switch(iO(U,Y),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":m$("error",$),m$("load",$);var F=!1,M=!1,R;for(R in Y)if(Y.hasOwnProperty(R)){var k=Y[R];if(k!=null)switch(R){case"src":F=!0;break;case"srcSet":M=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:QU($,U,R,k,Y,null)}}M&&QU($,U,"srcSet",Y.srcSet,Y,null),F&&QU($,U,"src",Y.src,Y,null);return;case"input":zU("input",Y),m$("invalid",$);var f=R=k=M=null,l=null,o=null;for(F in Y)if(Y.hasOwnProperty(F)){var R0=Y[F];if(R0!=null)switch(F){case"name":M=R0;break;case"type":k=R0;break;case"checked":l=R0;break;case"defaultChecked":o=R0;break;case"value":R=R0;break;case"defaultValue":f=R0;break;case"children":case"dangerouslySetInnerHTML":if(R0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:QU($,U,F,R0,Y,null)}}J$($,Y),RU($,R,f,l,o,k,M,!1);return;case"select":zU("select",Y),m$("invalid",$),F=k=R=null;for(M in Y)if(Y.hasOwnProperty(M)&&(f=Y[M],f!=null))switch(M){case"value":R=f;break;case"defaultValue":k=f;break;case"multiple":F=f;default:QU($,U,M,f,Y,null)}bU($,Y),U=R,Y=k,$.multiple=!!F,U!=null?d$($,!!F,U,!1):Y!=null&&d$($,!!F,Y,!0);return;case"textarea":zU("textarea",Y),m$("invalid",$),R=M=F=null;for(k in Y)if(Y.hasOwnProperty(k)&&(f=Y[k],f!=null))switch(k){case"value":F=f;break;case"defaultValue":M=f;break;case"children":R=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:QU($,U,k,f,Y,null)}uU($,Y),cU($,F,M,R);return;case"option":E$($,Y);for(l in Y)if(Y.hasOwnProperty(l)&&(F=Y[l],F!=null))switch(l){case"selected":$.selected=F&&typeof F!=="function"&&typeof F!=="symbol";break;default:QU($,U,l,F,Y,null)}return;case"dialog":m$("beforetoggle",$),m$("toggle",$),m$("cancel",$),m$("close",$);break;case"iframe":case"object":m$("load",$);break;case"video":case"audio":for(F=0;F<yG.length;F++)m$(yG[F],$);break;case"image":m$("error",$),m$("load",$);break;case"details":m$("toggle",$);break;case"embed":case"source":case"link":m$("error",$),m$("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(o in Y)if(Y.hasOwnProperty(o)&&(F=Y[o],F!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:QU($,U,o,F,Y,null)}return;default:if(MQ(U)){for(R0 in Y)Y.hasOwnProperty(R0)&&(F=Y[R0],F!==void 0&&rO($,U,R0,F,Y,void 0));return}}for(f in Y)Y.hasOwnProperty(f)&&(F=Y[f],F!=null&&QU($,U,f,F,Y,null))}function K3($,U,Y,F){switch(iO(U,F),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var M=null,R=null,k=null,f=null,l=null,o=null,R0=null;for(g0 in Y){var P0=Y[g0];if(Y.hasOwnProperty(g0)&&P0!=null)switch(g0){case"checked":break;case"value":break;case"defaultValue":l=P0;default:F.hasOwnProperty(g0)||QU($,U,g0,null,F,P0)}}for(var V0 in F){var g0=F[V0];if(P0=Y[V0],F.hasOwnProperty(V0)&&(g0!=null||P0!=null))switch(V0){case"type":R=g0;break;case"name":M=g0;break;case"checked":o=g0;break;case"defaultChecked":R0=g0;break;case"value":k=g0;break;case"defaultValue":f=g0;break;case"children":case"dangerouslySetInnerHTML":if(g0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:g0!==P0&&QU($,U,V0,g0,F,P0)}}U=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,F=F.type==="checkbox"||F.type==="radio"?F.checked!=null:F.value!=null,U||!F||Q_||(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"),Q_=!0),!U||F||Y_||(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"),Y_=!0),$$($,k,f,l,o,R0,R,M);return;case"select":g0=k=f=V0=null;for(R in Y)if(l=Y[R],Y.hasOwnProperty(R)&&l!=null)switch(R){case"value":break;case"multiple":g0=l;default:F.hasOwnProperty(R)||QU($,U,R,null,F,l)}for(M in F)if(R=F[M],l=Y[M],F.hasOwnProperty(M)&&(R!=null||l!=null))switch(M){case"value":V0=R;break;case"defaultValue":f=R;break;case"multiple":k=R;default:R!==l&&QU($,U,M,R,F,l)}F=f,U=k,Y=g0,V0!=null?d$($,!!U,V0,!1):!!Y!==!!U&&(F!=null?d$($,!!U,F,!0):d$($,!!U,U?[]:"",!1));return;case"textarea":g0=V0=null;for(f in Y)if(M=Y[f],Y.hasOwnProperty(f)&&M!=null&&!F.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:QU($,U,f,null,F,M)}for(k in F)if(M=F[k],R=Y[k],F.hasOwnProperty(k)&&(M!=null||R!=null))switch(k){case"value":V0=M;break;case"defaultValue":g0=M;break;case"children":break;case"dangerouslySetInnerHTML":if(M!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:M!==R&&QU($,U,k,M,F,R)}hU($,V0,g0);return;case"option":for(var z$ in Y)if(V0=Y[z$],Y.hasOwnProperty(z$)&&V0!=null&&!F.hasOwnProperty(z$))switch(z$){case"selected":$.selected=!1;break;default:QU($,U,z$,null,F,V0)}for(l in F)if(V0=F[l],g0=Y[l],F.hasOwnProperty(l)&&V0!==g0&&(V0!=null||g0!=null))switch(l){case"selected":$.selected=V0&&typeof V0!=="function"&&typeof V0!=="symbol";break;default:QU($,U,l,V0,F,g0)}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 H$ in Y)V0=Y[H$],Y.hasOwnProperty(H$)&&V0!=null&&!F.hasOwnProperty(H$)&&QU($,U,H$,null,F,V0);for(o in F)if(V0=F[o],g0=Y[o],F.hasOwnProperty(o)&&V0!==g0&&(V0!=null||g0!=null))switch(o){case"children":case"dangerouslySetInnerHTML":if(V0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:QU($,U,o,V0,F,g0)}return;default:if(MQ(U)){for(var FU in Y)V0=Y[FU],Y.hasOwnProperty(FU)&&V0!==void 0&&!F.hasOwnProperty(FU)&&rO($,U,FU,void 0,F,V0);for(R0 in F)V0=F[R0],g0=Y[R0],!F.hasOwnProperty(R0)||V0===g0||V0===void 0&&g0===void 0||rO($,U,R0,V0,F,g0);return}}for(var l$ in Y)V0=Y[l$],Y.hasOwnProperty(l$)&&V0!=null&&!F.hasOwnProperty(l$)&&QU($,U,l$,null,F,V0);for(P0 in F)V0=F[P0],g0=Y[P0],!F.hasOwnProperty(P0)||V0===g0||V0==null&&g0==null||QU($,U,P0,V0,F,g0)}function Kq($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function tO($){var U={};$=$.style;for(var Y=0;Y<$.length;Y++){var F=$[Y];U[F]=$.getPropertyValue(F)}return U}function Wq($,U,Y){if(U!=null&&typeof U!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var F,M=F="",R;for(R in U)if(U.hasOwnProperty(R)){var k=U[R];k!=null&&typeof k!=="boolean"&&k!==""&&(R.indexOf("--")===0?(D0(k,R),F+=M+R+":"+(""+k).trim()):typeof k!=="number"||k===0||TR.has(R)?(D0(k,R),F+=M+R.replace(HR,"-$1").toLowerCase().replace(DR,"-ms-")+":"+(""+k).trim()):F+=M+R.replace(HR,"-$1").toLowerCase().replace(DR,"-ms-")+":"+k+"px",M=";")}F=F||null,U=$.getAttribute("style"),U!==F&&(F=_I(F),_I(U)!==F&&(Y.style=tO($)))}}function P4($,U,Y,F,M,R){if(M.delete(Y),$=$.getAttribute(Y),$===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":return}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(n(F,U),$===""+F)return}W1(U,$,F,R)}function zq($,U,Y,F,M,R){if(M.delete(Y),$=$.getAttribute(Y),$===null){switch(typeof F){case"function":case"symbol":return}if(!F)return}else switch(typeof F){case"function":case"symbol":break;default:if(F)return}W1(U,$,F,R)}function aO($,U,Y,F,M,R){if(M.delete(Y),$=$.getAttribute(Y),$===null)switch(typeof F){case"undefined":case"function":case"symbol":return}else if(F!=null)switch(typeof F){case"function":case"symbol":break;default:if(n(F,Y),$===""+F)return}W1(U,$,F,R)}function Oq($,U,Y,F,M,R){if(M.delete(Y),$=$.getAttribute(Y),$===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(F))return}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(!isNaN(F)&&(n(F,U),$===""+F))return}W1(U,$,F,R)}function sO($,U,Y,F,M,R){if(M.delete(Y),$=$.getAttribute(Y),$===null)switch(typeof F){case"undefined":case"function":case"symbol":case"boolean":return}else if(F!=null)switch(typeof F){case"function":case"symbol":case"boolean":break;default:if(n(F,U),Y=AQ(""+F),$===Y)return}W1(U,$,F,R)}function Vq($,U,Y,F){for(var M={},R=new Set,k=$.attributes,f=0;f<k.length;f++)switch(k[f].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:R.add(k[f].name)}if(MQ(U)){for(var l in Y)if(Y.hasOwnProperty(l)){var o=Y[l];if(o!=null){if(NX.hasOwnProperty(l))typeof o!=="function"&&H6(l,o);else if(Y.suppressHydrationWarning!==!0)switch(l){case"children":typeof o!=="string"&&typeof o!=="number"||W1("children",$.textContent,o,M);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,o=o?o.__html:void 0,o!=null&&(o=Gq($,o),W1(l,k,o,M));continue;case"style":R.delete(l),Wq($,o,M);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":R.delete(l.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",l);continue;case"className":R.delete("class"),k=i($,"class",o),W1("className",k,o,M);continue;default:F.context===YI&&U!=="svg"&&U!=="math"?R.delete(l.toLowerCase()):R.delete(l),k=i($,l,o),W1(l,k,o,M)}}}}else for(o in Y)if(Y.hasOwnProperty(o)&&(l=Y[o],l!=null)){if(NX.hasOwnProperty(o))typeof l!=="function"&&H6(o,l);else if(Y.suppressHydrationWarning!==!0)switch(o){case"children":typeof l!=="string"&&typeof l!=="number"||W1("children",$.textContent,l,M);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,l=l?l.__html:void 0,l!=null&&(l=Gq($,l),k!==l&&(M[o]={__html:k}));continue;case"className":P4($,o,"class",l,R,M);continue;case"tabIndex":P4($,o,"tabindex",l,R,M);continue;case"style":R.delete(o),Wq($,l,M);continue;case"multiple":R.delete(o),W1(o,$.multiple,l,M);continue;case"muted":R.delete(o),W1(o,$.muted,l,M);continue;case"autoFocus":R.delete("autofocus"),W1(o,$.autofocus,l,M);continue;case"data":if(U!=="object"){R.delete(o),k=$.getAttribute("data"),W1(o,k,l,M);continue}case"src":case"href":if(!(l!==""||U==="a"&&o==="href"||U==="object"&&o==="data")){o==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o);continue}sO($,o,o,l,R,M);continue;case"action":case"formAction":if(k=$.getAttribute(o),typeof l==="function"){R.delete(o.toLowerCase()),o==="formAction"?(R.delete("name"),R.delete("formenctype"),R.delete("formmethod"),R.delete("formtarget")):(R.delete("enctype"),R.delete("method"),R.delete("target"));continue}else if(k===qg){R.delete(o.toLowerCase()),W1(o,"function",l,M);continue}sO($,o,o.toLowerCase(),l,R,M);continue;case"xlinkHref":sO($,o,"xlink:href",l,R,M);continue;case"contentEditable":aO($,o,"contenteditable",l,R,M);continue;case"spellCheck":aO($,o,"spellcheck",l,R,M);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":aO($,o,o,l,R,M);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":zq($,o,o.toLowerCase(),l,R,M);continue;case"capture":case"download":$:{f=$;var R0=k=o,P0=M;if(R.delete(R0),f=f.getAttribute(R0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":break $;default:if(l===!1)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":break;case"boolean":if(l===!0&&f==="")break $;break;default:if(n(l,k),f===""+l)break $}W1(k,f,l,P0)}continue;case"cols":case"rows":case"size":case"span":$:{if(f=$,R0=k=o,P0=M,R.delete(R0),f=f.getAttribute(R0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(l)||1>l)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(l)||1>l)&&(n(l,k),f===""+l))break $}W1(k,f,l,P0)}continue;case"rowSpan":Oq($,o,"rowspan",l,R,M);continue;case"start":Oq($,o,o,l,R,M);continue;case"xHeight":P4($,o,"x-height",l,R,M);continue;case"xlinkActuate":P4($,o,"xlink:actuate",l,R,M);continue;case"xlinkArcrole":P4($,o,"xlink:arcrole",l,R,M);continue;case"xlinkRole":P4($,o,"xlink:role",l,R,M);continue;case"xlinkShow":P4($,o,"xlink:show",l,R,M);continue;case"xlinkTitle":P4($,o,"xlink:title",l,R,M);continue;case"xlinkType":P4($,o,"xlink:type",l,R,M);continue;case"xmlBase":P4($,o,"xml:base",l,R,M);continue;case"xmlLang":P4($,o,"xml:lang",l,R,M);continue;case"xmlSpace":P4($,o,"xml:space",l,R,M);continue;case"inert":l!==""||rK[o]||(rK[o]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",o)),zq($,o,o,l,R,M);continue;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){f=FA(o),k=!1,F.context===YI&&U!=="svg"&&U!=="math"?R.delete(f.toLowerCase()):(R0=o.toLowerCase(),R0=GK.hasOwnProperty(R0)?GK[R0]||null:null,R0!==null&&R0!==o&&(k=!0,R.delete(R0)),R.delete(f));$:if(R0=$,P0=f,f=l,s0(P0))if(R0.hasAttribute(P0))R0=R0.getAttribute(P0),n(f,P0),f=R0===""+f?f:R0;else{switch(typeof f){case"function":case"symbol":break $;case"boolean":if(R0=P0.toLowerCase().slice(0,5),R0!=="data-"&&R0!=="aria-")break $}f=f===void 0?void 0:null}else f=void 0;k||W1(o,f,l,M)}}}return 0<R.size&&Y.suppressHydrationWarning!==!0&&Z3($,R,M),Object.keys(M).length===0?null:M}function W3($,U){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+U+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+U+" "+$[$.length-1]}}function Fq($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function z3(){if(typeof performance.getEntriesByType==="function"){for(var $=0,U=0,Y=performance.getEntriesByType("resource"),F=0;F<Y.length;F++){var M=Y[F],R=M.transferSize,k=M.initiatorType,f=M.duration;if(R&&f&&Fq(k)){k=0,f=M.responseEnd;for(F+=1;F<Y.length;F++){var l=Y[F],o=l.startTime;if(o>f)break;var{transferSize:R0,initiatorType:P0}=l;R0&&Fq(P0)&&(l=l.responseEnd,k+=R0*(l<f?1:(f-o)/(l-o)))}if(--F,U+=8*(R+k)/(M.duration/1000),$++,10<$)break}}if(0<$)return U/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function mZ($){return $.nodeType===9?$:$.ownerDocument}function Hq($){switch($){case pJ:return MY;case QK:return aK;default:return YI}}function Dq($,U){if($===YI)switch(U){case"svg":return MY;case"math":return aK;default:return YI}return $===MY&&U==="foreignObject"?YI:$}function eO($,U){return $==="textarea"||$==="noscript"||typeof U.children==="string"||typeof U.children==="number"||typeof U.children==="bigint"||typeof U.dangerouslySetInnerHTML==="object"&&U.dangerouslySetInnerHTML!==null&&U.dangerouslySetInnerHTML.__html!=null}function O3(){var $=window.event;if($&&$.type==="popstate"){if($===wV)return!1;return wV=$,!0}return wV=null,!1}function lQ(){var $=window.event;return $&&$!==hG?$.type:null}function dQ(){var $=window.event;return $&&$!==hG?$.timeStamp:-1.1}function V3($){setTimeout(function(){throw $})}function F3($,U,Y){switch(U){case"button":case"input":case"select":case"textarea":Y.autoFocus&&$.focus();break;case"img":Y.src?$.src=Y.src:Y.srcSet&&($.srcset=Y.srcSet)}}function H3(){}function D3($,U,Y,F){K3($,U,Y,F),$[B1]=F}function Lq($){LQ($,"")}function L3($,U,Y){$.nodeValue=Y}function Mq($){if(!$.__reactWarnedAboutChildrenConflict){var U=$[B1]||null;if(U!==null){var Y=D$($);Y!==null&&(typeof U.children==="string"||typeof U.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,J0(Y,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):U.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,J0(Y,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 SI($){return $==="head"}function M3($,U){$.removeChild(U)}function A3($,U){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(U)}function Aq($,U){var Y=U,F=0;do{var M=Y.nextSibling;if($.removeChild(Y),M&&M.nodeType===8)if(Y=M.data,Y===uG||Y===tK){if(F===0){$.removeChild(M),fJ(U);return}F--}else if(Y===bG||Y===tI||Y===tX||Y===LY||Y===rX)F++;else if(Y===Pg)nQ($.ownerDocument.documentElement);else if(Y===Sg){Y=$.ownerDocument.head,nQ(Y);for(var R=Y.firstChild;R;){var{nextSibling:k,nodeName:f}=R;R[eQ]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&R.rel.toLowerCase()==="stylesheet"||Y.removeChild(R),R=k}}else Y===_g&&nQ($.ownerDocument.body);Y=M}while(Y);fJ(U)}function Tq($,U){var Y=$;$=0;do{var F=Y.nextSibling;if(Y.nodeType===1?U?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&(U?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),F&&F.nodeType===8)if(Y=F.data,Y===uG)if($===0)break;else $--;else Y!==bG&&Y!==tI&&Y!==tX&&Y!==LY||$++;Y=F}while(Y)}function T3($){Tq($,!0)}function C3($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function q3($){$.nodeValue=""}function R3($){Tq($,!1)}function P3($,U){U=U[Eg],U=U!==void 0&&U!==null&&U.hasOwnProperty("display")?U.display:null,$.style.display=U==null||typeof U==="boolean"?"":(""+U).trim()}function _3($,U){$.nodeValue=U}function $9($){var U=$.firstChild;U&&U.nodeType===10&&(U=U.nextSibling);for(;U;){var Y=U;switch(U=U.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":$9(Y),j0(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}$.removeChild(Y)}}function S3($,U,Y,F){for(;$.nodeType===1;){var M=Y;if($.nodeName.toLowerCase()!==U.toLowerCase()){if(!F&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!F)if(U==="input"&&$.type==="hidden"){n(M.name,"name");var R=M.name==null?null:""+M.name;if(M.type==="hidden"&&$.getAttribute("name")===R)return $}else return $;else if(!$[eQ])switch(U){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(R=$.getAttribute("rel"),R==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(R!==M.rel||$.getAttribute("href")!==(M.href==null||M.href===""?null:M.href)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin)||$.getAttribute("title")!==(M.title==null?null:M.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(R=$.getAttribute("src"),(R!==(M.src==null?null:M.src)||$.getAttribute("type")!==(M.type==null?null:M.type)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin))&&R&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=K4($.nextSibling),$===null)break}return null}function E3($,U,Y){if(U==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Y)return null;if($=K4($.nextSibling),$===null)return null}return $}function Cq($,U){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!U)return null;if($=K4($.nextSibling),$===null)return null}return $}function U9($){return $.data===tI||$.data===tX}function I9($){return $.data===LY||$.data===tI&&$.ownerDocument.readyState!==W_}function j3($,U){var Y=$.ownerDocument;if($.data===tX)$._reactRetry=U;else if($.data!==tI||Y.readyState!==W_)U();else{var F=function(){U(),Y.removeEventListener("DOMContentLoaded",F)};Y.addEventListener("DOMContentLoaded",F),$._reactRetry=F}}function K4($){for(;$!=null;$=$.nextSibling){var U=$.nodeType;if(U===1||U===3)break;if(U===8){if(U=$.data,U===bG||U===LY||U===tI||U===tX||U===rX||U===kV||U===K_)break;if(U===uG||U===tK)return null}}return $}function qq($){if($.nodeType===1){for(var U=$.nodeName.toLowerCase(),Y={},F=$.attributes,M=0;M<F.length;M++){var R=F[M];Y[Kq(R.name)]=R.name.toLowerCase()==="style"?tO($):R.value}return{type:U,props:Y}}return $.nodeType===8?$.data===rX?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function Rq($,U,Y){return Y===null||Y[Rg]!==!0?($.nodeValue===U?$=null:(U=_I(U),$=_I($.nodeValue)===U?null:$.nodeValue),$):null}function X9($){$=$.nextSibling;for(var U=0;$;){if($.nodeType===8){var Y=$.data;if(Y===uG||Y===tK){if(U===0)return K4($.nextSibling);U--}else Y!==bG&&Y!==LY&&Y!==tI&&Y!==tX&&Y!==rX||U++}$=$.nextSibling}return null}function Pq($){$=$.previousSibling;for(var U=0;$;){if($.nodeType===8){var Y=$.data;if(Y===bG||Y===LY||Y===tI||Y===tX||Y===rX){if(U===0)return $;U--}else Y!==uG&&Y!==tK||U++}$=$.previousSibling}return null}function B3($){fJ($)}function v3($){fJ($)}function N3($){fJ($)}function _q($,U,Y,F,M){switch(M&&Fz($,F.ancestorInfo),U=mZ(Y),$){case"html":if($=U.documentElement,!$)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"head":if($=U.head,!$)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"body":if($=U.body,!$)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function k3($,U,Y,F){if(!Y[vI]&&D$(Y)){var M=Y.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",M,M,M)}switch($){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(M=Y.attributes;M.length;)Y.removeAttributeNode(M[0]);M1(Y,$,U),Y[A1]=F,Y[B1]=U}function nQ($){for(var U=$.attributes;U.length;)$.removeAttributeNode(U[0]);j0($)}function lZ($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function Sq($,U,Y){var F=AY;if(F&&typeof U==="string"&&U){var M=e$(U);M='link[rel="'+$+'"][href="'+M+'"]',typeof Y==="string"&&(M+='[crossorigin="'+Y+'"]'),D_.has(M)||(D_.add(M),$={rel:$,crossOrigin:Y,href:U},F.querySelector(M)===null&&(U=F.createElement("link"),M1(U,"link",$),V$(U),F.head.appendChild(U)))}}function Eq($,U,Y,F){var M=(M=jI.current)?lZ(M):null;if(!M)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof Y.precedence==="string"&&typeof Y.href==="string"?(Y=xJ(Y.href),U=y0(M).hoistableStyles,F=U.get(Y),F||(F={type:"style",instance:null,count:0,state:null},U.set(Y,F)),F):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){$=xJ(Y.href);var R=y0(M).hoistableStyles,k=R.get($);if(!k&&(M=M.ownerDocument||M,k={type:"stylesheet",instance:null,count:0,state:{loading:sX,preload:null}},R.set($,k),(R=M.querySelector(oQ($)))&&!R._p&&(k.instance=R,k.state.loading=cG|w4),!f4.has($))){var f={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};f4.set($,f),R||g3(M,$,f,k.state)}if(U&&F===null)throw Y=`
177
+
178
+ - `+dZ(U)+`
179
+ + `+dZ(Y),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."+Y);return k}if(U&&F!==null)throw Y=`
180
+
181
+ - `+dZ(U)+`
182
+ + `+dZ(Y),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."+Y);return null;case"script":return U=Y.async,Y=Y.src,typeof Y==="string"&&U&&typeof U!=="function"&&typeof U!=="symbol"?(Y=wJ(Y),U=y0(M).hoistableScripts,F=U.get(Y),F||(F={type:"script",instance:null,count:0,state:null},U.set(Y,F)),F):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function dZ($){var U=0,Y="<link";return typeof $.rel==="string"?(U++,Y+=' rel="'+$.rel+'"'):m4.call($,"rel")&&(U++,Y+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(U++,Y+=' href="'+$.href+'"'):m4.call($,"href")&&(U++,Y+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(U++,Y+=' precedence="'+$.precedence+'"'):m4.call($,"precedence")&&(U++,Y+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>U&&(Y+=" ..."),Y+" />"}function xJ($){return'href="'+e$($)+'"'}function oQ($){return'link[rel="stylesheet"]['+$+"]"}function jq($){return y$({},$,{"data-precedence":$.precedence,precedence:null})}function g3($,U,Y,F){$.querySelector('link[rel="preload"][as="style"]['+U+"]")?F.loading=cG:(U=$.createElement("link"),F.preload=U,U.addEventListener("load",function(){return F.loading|=cG}),U.addEventListener("error",function(){return F.loading|=F_}),M1(U,"link",Y),V$(U),$.head.appendChild(U))}function wJ($){return'[src="'+e$($)+'"]'}function iQ($){return"script[async]"+$}function Bq($,U,Y){if(U.count++,U.instance===null)switch(U.type){case"style":var F=$.querySelector('style[data-href~="'+e$(Y.href)+'"]');if(F)return U.instance=F,V$(F),F;var M=y$({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return F=($.ownerDocument||$).createElement("style"),V$(F),M1(F,"style",M),nZ(F,Y.precedence,$),U.instance=F;case"stylesheet":M=xJ(Y.href);var R=$.querySelector(oQ(M));if(R)return U.state.loading|=w4,U.instance=R,V$(R),R;F=jq(Y),(M=f4.get(M))&&J9(F,M),R=($.ownerDocument||$).createElement("link"),V$(R);var k=R;return k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),M1(R,"link",F),U.state.loading|=w4,nZ(R,Y.precedence,$),U.instance=R;case"script":if(R=wJ(Y.src),M=$.querySelector(iQ(R)))return U.instance=M,V$(M),M;if(F=Y,M=f4.get(R))F=y$({},Y),Y9(F,M);return $=$.ownerDocument||$,M=$.createElement("script"),V$(M),M1(M,"link",F),$.head.appendChild(M),U.instance=M;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+U.type+'". this is a bug in React.')}else U.type==="stylesheet"&&(U.state.loading&w4)===sX&&(F=U.instance,U.state.loading|=w4,nZ(F,Y.precedence,$));return U.instance}function nZ($,U,Y){for(var F=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),M=F.length?F[F.length-1]:null,R=M,k=0;k<F.length;k++){var f=F[k];if(f.dataset.precedence===U)R=f;else if(R!==M)break}R?R.parentNode.insertBefore($,R.nextSibling):(U=Y.nodeType===9?Y.head:Y,U.insertBefore($,U.firstChild))}function J9($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.title==null&&($.title=U.title)}function Y9($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.integrity==null&&($.integrity=U.integrity)}function vq($,U,Y){if(sK===null){var F=new Map,M=sK=new Map;M.set(Y,F)}else M=sK,F=M.get(Y),F||(F=new Map,M.set(Y,F));if(F.has($))return F;F.set($,null),Y=Y.getElementsByTagName($);for(M=0;M<Y.length;M++){var R=Y[M];if(!(R[eQ]||R[A1]||$==="link"&&R.getAttribute("rel")==="stylesheet")&&R.namespaceURI!==pJ){var k=R.getAttribute(U)||"";k=$+k;var f=F.get(k);f?f.push(R):F.set(k,[R])}}return F}function Nq($,U,Y){$=$.ownerDocument||$,$.head.insertBefore(Y,U==="title"?$.querySelector("head > title"):null)}function x3($,U,Y){var F=!Y.ancestorInfo.containerTagInScope;if(Y.context===MY||U.itemProp!=null)return!F||U.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof U.precedence!=="string"||typeof U.href!=="string"||U.href===""){F&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""||U.onLoad||U.onError){if(U.rel==="stylesheet"&&typeof U.precedence==="string"){$=U.href;var{onError:M,disabled:R}=U;Y=[],U.onLoad&&Y.push("`onLoad`"),M&&Y.push("`onError`"),R!=null&&Y.push("`disabled`"),M=W3(Y,"and"),M+=Y.length===1?" prop":" props",R=Y.length===1?"an "+M:"the "+M,Y.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',$,R,M)}F&&(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(U.onError||U.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(U.rel){case"stylesheet":return $=U.precedence,U=U.disabled,typeof $!=="string"&&F&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof $==="string"&&U==null;default:return!0}case"script":if($=U.async&&typeof U.async!=="function"&&typeof U.async!=="symbol",!$||U.onLoad||U.onError||!U.src||typeof U.src!=="string"){F&&($?U.onLoad||U.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":F&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function kq($){return $.type==="stylesheet"&&($.state.loading&H_)===sX?!1:!0}function w3($,U,Y,F){if(Y.type==="stylesheet"&&(typeof F.media!=="string"||matchMedia(F.media).matches!==!1)&&(Y.state.loading&w4)===sX){if(Y.instance===null){var M=xJ(F.href),R=U.querySelector(oQ(M));if(R){U=R._p,U!==null&&typeof U==="object"&&typeof U.then==="function"&&($.count++,$=oZ.bind($),U.then($,$)),Y.state.loading|=w4,Y.instance=R,V$(R);return}R=U.ownerDocument||U,F=jq(F),(M=f4.get(M))&&J9(F,M),R=R.createElement("link"),V$(R);var k=R;k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),M1(R,"link",F),Y.instance=R}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(Y,U),(U=Y.state.preload)&&(Y.state.loading&H_)===sX&&($.count++,Y=oZ.bind($),U.addEventListener("load",Y),U.addEventListener("error",Y))}}function f3($,U){return $.stylesheets&&$.count===0&&iZ($,$.stylesheets),0<$.count||0<$.imgCount?function(Y){var F=setTimeout(function(){if($.stylesheets&&iZ($,$.stylesheets),$.unsuspend){var R=$.unsuspend;$.unsuspend=null,R()}},vg+U);0<$.imgBytes&&yV===0&&(yV=125*z3()*kg);var M=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&iZ($,$.stylesheets),$.unsuspend)){var R=$.unsuspend;$.unsuspend=null,R()}},($.imgBytes>yV?50:Ng)+U);return $.unsuspend=Y,function(){$.unsuspend=null,clearTimeout(F),clearTimeout(M)}}:null}function oZ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)iZ(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function iZ($,U){$.stylesheets=null,$.unsuspend!==null&&($.count++,eK=new Map,U.forEach(y3,$),eK=null,oZ.call($))}function y3($,U){if(!(U.state.loading&w4)){var Y=eK.get($);if(Y)var F=Y.get(bV);else{Y=new Map,eK.set($,Y);for(var M=$.querySelectorAll("link[data-precedence],style[data-precedence]"),R=0;R<M.length;R++){var k=M[R];if(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")Y.set(k.dataset.precedence,k),F=k}F&&Y.set(bV,F)}M=U.instance,k=M.getAttribute("data-precedence"),R=Y.get(k)||F,R===F&&Y.set(bV,M),Y.set(k,M),this.count++,F=oZ.bind(this),M.addEventListener("load",F),M.addEventListener("error",F),R?R.parentNode.insertBefore(M,R.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(M,$.firstChild)),U.state.loading|=w4}}function b3($,U,Y,F,M,R,k,f,l){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=aX,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=m0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=m0(0),this.hiddenUpdates=m0(null),this.identifierPrefix=F,this.onUncaughtError=M,this.onCaughtError=R,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(U=0;31>U;U++)$.push(new Set);this._debugRootType=Y?"hydrateRoot()":"createRoot()"}function gq($,U,Y,F,M,R,k,f,l,o,R0,P0){return $=new b3($,U,Y,k,l,o,R0,P0,f),U=Xg,R===!0&&(U|=P1|d4),U|=N$,R=_(3,null,null,U),$.current=R,R.stateNode=$,U=gz(),PX(U),$.pooledCache=U,PX(U),R.memoizedState={element:F,isDehydrated:Y,cache:U},bz(R),$}function xq($){if(!$)return xI;return $=xI,$}function Q9($,U,Y,F,M,R){if(R1&&typeof R1.onScheduleFiberRoot==="function")try{R1.onScheduleFiberRoot(hJ,F,Y)}catch(k){A6||(A6=!0,console.error("React instrumentation encountered an error: %o",k))}M=xq(M),F.context===null?F.context=M:F.pendingContext=M,M6&&z4!==null&&!T_&&(T_=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
183
+
184
+ Check the render method of %s.`,t(z4)||"Unknown")),F=AI(U),F.payload={element:Y},R=R===void 0?null:R,R!==null&&(typeof R!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",R),F.callback=R),Y=TI($,F,U),Y!==null&&(X6(U,"root.render()",null),xU(Y,$,U),jQ(Y,$,U))}function wq($,U){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var Y=$.retryLane;$.retryLane=Y!==0&&Y<U?Y:U}}function G9($,U){wq($,U),($=$.alternate)&&wq($,U)}function fq($){if($.tag===13||$.tag===31){var U=q1($,67108864);U!==null&&xU(U,$,67108864),G9($,67108864)}}function yq($){if($.tag===13||$.tag===31){var U=Z4($);U=t0(U);var Y=q1($,U);Y!==null&&xU(Y,$,U),G9($,U)}}function u3(){return z4}function h3($,U,Y,F){var M=b0.T;b0.T=null;var R=s$.p;try{s$.p=O4,Z9($,U,Y,F)}finally{s$.p=R,b0.T=M}}function c3($,U,Y,F){var M=b0.T;b0.T=null;var R=s$.p;try{s$.p=l4,Z9($,U,Y,F)}finally{s$.p=R,b0.T=M}}function Z9($,U,Y,F){if(U8){var M=K9(F);if(M===null)oO($,U,F,I8,Y),uq($,F);else if(p3(M,$,U,Y,F))F.stopPropagation();else if(uq($,F),U&4&&-1<xg.indexOf($)){for(;M!==null;){var R=D$(M);if(R!==null)switch(R.tag){case 3:if(R=R.stateNode,R.current.memoizedState.isDehydrated){var k=z0(R.pendingLanes);if(k!==0){var f=R;f.pendingLanes|=2;for(f.entangledLanes|=2;k;){var l=1<<31-j1(k);f.entanglements[1]|=l,k&=~l}F6(R),(n$&(K1|D4))===F1&&(bK=z1()+iP,pQ(0,!1))}}break;case 31:case 13:f=q1(R,2),f!==null&&xU(f,R,2),NJ(),G9(R,2)}if(R=K9(F),R===null&&oO($,U,F,I8,Y),R===M)break;M=R}M!==null&&F.stopPropagation()}else oO($,U,F,null,Y)}}function K9($){return $=Hz($),W9($)}function W9($){if(I8=null,$=N0($),$!==null){var U=u($);if(U===null)$=null;else{var Y=U.tag;if(Y===13){if($=g(U),$!==null)return $;$=null}else if(Y===31){if($=b(U),$!==null)return $;$=null}else if(Y===3){if(U.stateNode.current.memoizedState.isDehydrated)return U.tag===3?U.stateNode.containerInfo:null;$=null}else U!==$&&($=null)}}return I8=$,null}function bq($){switch($){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return O4;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return l4;case"message":switch(a3()){case R9:return O4;case P9:return l4;case uJ:case s3:return C6;case _9:return JK;default:return C6}default:return C6}}function uq($,U){switch($){case"focusin":case"focusout":aI=null;break;case"dragenter":case"dragleave":sI=null;break;case"mouseover":case"mouseout":eI=null;break;case"pointerover":case"pointerout":mG.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":lG.delete(U.pointerId)}}function rQ($,U,Y,F,M,R){if($===null||$.nativeEvent!==R)return $={blockedOn:U,domEventName:Y,eventSystemFlags:F,nativeEvent:R,targetContainers:[M]},U!==null&&(U=D$(U),U!==null&&fq(U)),$;return $.eventSystemFlags|=F,U=$.targetContainers,M!==null&&U.indexOf(M)===-1&&U.push(M),$}function p3($,U,Y,F,M){switch(U){case"focusin":return aI=rQ(aI,$,U,Y,F,M),!0;case"dragenter":return sI=rQ(sI,$,U,Y,F,M),!0;case"mouseover":return eI=rQ(eI,$,U,Y,F,M),!0;case"pointerover":var R=M.pointerId;return mG.set(R,rQ(mG.get(R)||null,$,U,Y,F,M)),!0;case"gotpointercapture":return R=M.pointerId,lG.set(R,rQ(lG.get(R)||null,$,U,Y,F,M)),!0}return!1}function hq($){var U=N0($.target);if(U!==null){var Y=u(U);if(Y!==null){if(U=Y.tag,U===13){if(U=g(Y),U!==null){$.blockedOn=U,e0($.priority,function(){yq(Y)});return}}else if(U===31){if(U=b(Y),U!==null){$.blockedOn=U,e0($.priority,function(){yq(Y)});return}}else if(U===3&&Y.stateNode.current.memoizedState.isDehydrated){$.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}$.blockedOn=null}function rZ($){if($.blockedOn!==null)return!1;for(var U=$.targetContainers;0<U.length;){var Y=K9($.nativeEvent);if(Y===null){Y=$.nativeEvent;var F=new Y.constructor(Y.type,Y),M=F;$G!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),$G=M,Y.target.dispatchEvent(F),$G===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."),$G=null}else return U=D$(Y),U!==null&&fq(U),$.blockedOn=Y,!1;U.shift()}return!0}function cq($,U,Y){rZ($)&&Y.delete(U)}function m3(){uV=!1,aI!==null&&rZ(aI)&&(aI=null),sI!==null&&rZ(sI)&&(sI=null),eI!==null&&rZ(eI)&&(eI=null),mG.forEach(cq),lG.forEach(cq)}function tZ($,U){$.blockedOn===U&&($.blockedOn=null,uV||(uV=!0,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,m3)))}function pq($){X8!==$&&(X8=$,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,function(){X8===$&&(X8=null);for(var U=0;U<$.length;U+=3){var Y=$[U],F=$[U+1],M=$[U+2];if(typeof F!=="function")if(W9(F||Y)===null)continue;else break;var R=D$(Y);R!==null&&($.splice(U,3),U-=3,Y={pending:!0,data:M,method:Y.method,action:F},Object.freeze(Y),WO(R,Y,F,M))}}))}function fJ($){function U(l){return tZ(l,$)}aI!==null&&tZ(aI,$),sI!==null&&tZ(sI,$),eI!==null&&tZ(eI,$),mG.forEach(U),lG.forEach(U);for(var Y=0;Y<$X.length;Y++){var F=$X[Y];F.blockedOn===$&&(F.blockedOn=null)}for(;0<$X.length&&(Y=$X[0],Y.blockedOn===null);)hq(Y),Y.blockedOn===null&&$X.shift();if(Y=($.ownerDocument||$).$$reactFormReplay,Y!=null)for(F=0;F<Y.length;F+=3){var M=Y[F],R=Y[F+1],k=M[B1]||null;if(typeof R==="function")k||pq(Y);else if(k){var f=null;if(R&&R.hasAttribute("formAction")){if(M=R,k=R[B1]||null)f=k.formAction;else if(W9(M)!==null)continue}else f=k.action;typeof f==="function"?Y[F+1]=f:(Y.splice(F,3),F-=3),pq(Y)}}}function mq(){function $(R){R.canIntercept&&R.info==="react-transition"&&R.intercept({handler:function(){return new Promise(function(k){return M=k})},focusReset:"manual",scroll:"manual"})}function U(){M!==null&&(M(),M=null),F||setTimeout(Y,20)}function Y(){if(!F&&!navigation.transition){var R=navigation.currentEntry;R&&R.url!=null&&navigation.navigate(R.url,{state:R.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var F=!1,M=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(Y,100),function(){F=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),M!==null&&(M(),M=null)}}}function z9($){this._internalRoot=$}function aZ($){this._internalRoot=$}function lq($){$[vI]&&($._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var y$=Object.assign,l3=Symbol.for("react.element"),D6=Symbol.for("react.transitional.element"),yJ=Symbol.for("react.portal"),bJ=Symbol.for("react.fragment"),sZ=Symbol.for("react.strict_mode"),O9=Symbol.for("react.profiler"),V9=Symbol.for("react.consumer"),L6=Symbol.for("react.context"),tQ=Symbol.for("react.forward_ref"),F9=Symbol.for("react.suspense"),H9=Symbol.for("react.suspense_list"),eZ=Symbol.for("react.memo"),W4=Symbol.for("react.lazy"),D9=Symbol.for("react.activity"),d3=Symbol.for("react.memo_cache_sentinel"),dq=Symbol.iterator,n3=Symbol.for("react.client.reference"),G1=Array.isArray,b0=CY.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s$=cV.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,o3=Object.freeze({pending:!1,data:null,method:null,action:null}),L9=[],M9=[],d6=-1,EI=q0(null),aQ=q0(null),jI=q0(null),$K=q0(null),sQ=0,nq,oq,iq,rq,tq,aq,sq;K.__reactDisabledLog=!0;var A9,eq,T9=!1,C9=new(typeof WeakMap==="function"?WeakMap:Map),z4=null,M6=!1,m4=Object.prototype.hasOwnProperty,q9=o$.unstable_scheduleCallback,i3=o$.unstable_cancelCallback,r3=o$.unstable_shouldYield,t3=o$.unstable_requestPaint,z1=o$.unstable_now,a3=o$.unstable_getCurrentPriorityLevel,R9=o$.unstable_ImmediatePriority,P9=o$.unstable_UserBlockingPriority,uJ=o$.unstable_NormalPriority,s3=o$.unstable_LowPriority,_9=o$.unstable_IdlePriority,e3=o$.log,$k=o$.unstable_setDisableYieldValue,hJ=null,R1=null,A6=!1,T6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",j1=Math.clz32?Math.clz32:I0,Uk=Math.log,Ik=Math.LN2,UK=256,IK=262144,XK=4194304,O4=2,l4=8,C6=32,JK=268435456,BI=Math.random().toString(36).slice(2),A1="__reactFiber$"+BI,B1="__reactProps$"+BI,vI="__reactContainer$"+BI,S9="__reactEvents$"+BI,Xk="__reactListeners$"+BI,Jk="__reactHandles$"+BI,$R="__reactResources$"+BI,eQ="__reactMarker$"+BI,UR=new Set,NX={},E9={},Yk={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Qk=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]*$"),IR={},XR={},Gk=/[\n"\\]/g,JR=!1,YR=!1,QR=!1,GR=!1,ZR=!1,KR=!1,WR=["value","defaultValue"],zR=!1,OR=/["'&<>\n\t]|^\s|\s$/,Zk="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(" "),VR="applet caption html table td th marquee object template foreignObject desc title".split(" "),Kk=VR.concat(["button"]),Wk="dd dt li option optgroup p rp rt".split(" "),FR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},YK={},j9={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"]},HR=/([A-Z])/g,DR=/^ms-/,zk=/^(?:webkit|moz|o)[A-Z]/,Ok=/^-ms-/,Vk=/-(.)/g,LR=/;\s*$/,cJ={},B9={},MR=!1,AR=!1,TR=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(" ")),QK="http://www.w3.org/1998/Math/MathML",pJ="http://www.w3.org/2000/svg",Fk=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"]]),GK={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"},CR={"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},mJ={},Hk=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]*$"),Dk=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]*$"),qR=!1,v1={},RR=/^on./,Lk=/^on[^A-Z]/,Mk=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]*$"),Ak=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]*$"),Tk=/^[\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,$G=null,lJ=null,dJ=null,v9=!1,q6=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),N9=!1;if(q6)try{var UG={};Object.defineProperty(UG,"passive",{get:function(){N9=!0}}),window.addEventListener("test",UG,UG),window.removeEventListener("test",UG,UG)}catch($){N9=!1}var NI=null,k9=null,ZK=null,kX={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},KK=l1(kX),IG=y$({},kX,{view:0,detail:0}),Ck=l1(IG),g9,x9,XG,WK=y$({},IG,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dz,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==XG&&(XG&&$.type==="mousemove"?(g9=$.screenX-XG.screenX,x9=$.screenY-XG.screenY):x9=g9=0,XG=$),g9},movementY:function($){return"movementY"in $?$.movementY:x9}}),PR=l1(WK),qk=y$({},WK,{dataTransfer:0}),Rk=l1(qk),Pk=y$({},IG,{relatedTarget:0}),w9=l1(Pk),_k=y$({},kX,{animationName:0,elapsedTime:0,pseudoElement:0}),Sk=l1(_k),Ek=y$({},kX,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),jk=l1(Ek),Bk=y$({},kX,{data:0}),_R=l1(Bk),vk=_R,Nk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kk={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"},gk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},xk=y$({},IG,{key:function($){if($.key){var U=Nk[$.key]||$.key;if(U!=="Unidentified")return U}return $.type==="keypress"?($=r2($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?kk[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dz,charCode:function($){return $.type==="keypress"?r2($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?r2($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),wk=l1(xk),fk=y$({},WK,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),SR=l1(fk),yk=y$({},IG,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dz}),bk=l1(yk),uk=y$({},kX,{propertyName:0,elapsedTime:0,pseudoElement:0}),hk=l1(uk),ck=y$({},WK,{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}),pk=l1(ck),mk=y$({},kX,{newState:0,oldState:0}),lk=l1(mk),dk=[9,13,27,32],ER=229,f9=q6&&"CompositionEvent"in window,JG=null;q6&&"documentMode"in document&&(JG=document.documentMode);var nk=q6&&"TextEvent"in window&&!JG,jR=q6&&(!f9||JG&&8<JG&&11>=JG),BR=32,vR=String.fromCharCode(BR),NR=!1,nJ=!1,ok={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},YG=null,QG=null,kR=!1;q6&&(kR=FN("input")&&(!document.documentMode||9<document.documentMode));var N1=typeof Object.is==="function"?Object.is:TN,ik=q6&&"documentMode"in document&&11>=document.documentMode,oJ=null,y9=null,GG=null,b9=!1,iJ={animationend:LX("Animation","AnimationEnd"),animationiteration:LX("Animation","AnimationIteration"),animationstart:LX("Animation","AnimationStart"),transitionrun:LX("Transition","TransitionRun"),transitionstart:LX("Transition","TransitionStart"),transitioncancel:LX("Transition","TransitionCancel"),transitionend:LX("Transition","TransitionEnd")},u9={},gR={};q6&&(gR=document.createElement("div").style,("AnimationEvent"in window)||(delete iJ.animationend.animation,delete iJ.animationiteration.animation,delete iJ.animationstart.animation),("TransitionEvent"in window)||delete iJ.transitionend.transition);var xR=MX("animationend"),wR=MX("animationiteration"),fR=MX("animationstart"),rk=MX("transitionrun"),tk=MX("transitionstart"),ak=MX("transitioncancel"),yR=MX("transitionend"),bR=new Map,h9="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(" ");h9.push("scrollEnd");var uR=0;if(typeof performance==="object"&&typeof performance.now==="function")var sk=performance,hR=function(){return sk.now()};else{var ek=Date;hR=function(){return ek.now()}}var c9=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(U))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},$g="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.",zK=0,p9=1,m9=2,l9=3,OK="– ",VK="+ ",cR="  ",AU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",_4="Components ⚛",b$="Scheduler ⚛",u$="Blocking",kI=!1,n6={color:"primary",properties:null,tooltipText:"",track:_4},gI={start:-0,end:-0,detail:{devtools:n6}},Ug=["Changed Props",""],pR="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",Ig=["Changed Props",pR],ZG=1,o6=2,S4=[],rJ=0,d9=0,xI={};Object.freeze(xI);var E4=null,tJ=null,q$=0,Xg=1,N$=2,P1=8,d4=16,Jg=32,mR=!1;try{var lR=Object.preventExtensions({})}catch($){mR=!0}var n9=new WeakMap,aJ=[],sJ=0,FK=null,KG=0,j4=[],B4=0,gX=null,i6=1,r6="",T1=null,TU=null,p$=!1,R6=!1,V4=null,wI=null,v4=!1,o9=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."),i9=q0(null),r9=q0(null),dR={},HK=null,eJ=null,$Y=!1,Yg=typeof AbortController<"u"?AbortController:function(){var $=[],U=this.signal={aborted:!1,addEventListener:function(Y,F){$.push(F)}};this.abort=function(){U.aborted=!0,$.forEach(function(Y){return Y()})}},Qg=o$.unstable_scheduleCallback,Gg=o$.unstable_NormalPriority,$1={$$typeof:L6,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},U1=o$.unstable_now,DK=console.createTask?console.createTask:function(){return null},WG=1,LK=2,O1=-0,fI=-0,t6=-0,a6=null,k1=-1.1,xX=-0,NU=-0,T$=-1.1,C$=-1.1,EU=null,wU=!1,yI=-0,P6=-1.1,zG=null,bI=0,t9=null,a9=null,wX=-1.1,OG=null,UY=-1.1,MK=-1.1,_6=-0,s6=-1.1,N4=-1.1,s9=0,VG=null,nR=null,oR=null,uI=-1.1,fX=null,hI=-1.1,AK=-1.1,iR=-0,rR=-0,TK=0,e6=null,tR=0,FG=-1.1,CK=!1,qK=!1,HG=null,e9=0,yX=0,IY=null,aR=b0.S;b0.S=function($,U){if(nP=z1(),typeof U==="object"&&U!==null&&typeof U.then==="function"){if(0>s6&&0>N4){s6=U1();var Y=dQ(),F=lQ();if(Y!==hI||F!==fX)hI=-1.1;uI=Y,fX=F}EN($,U)}aR!==null&&aR($,U)};var bX=q0(null),n4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},DG=[],LG=[],MG=[],AG=[],TG=[],CG=[],uX=new Set;n4.recordUnsafeLifecycleWarnings=function($,U){uX.has($.type)||(typeof U.componentWillMount==="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0&&DG.push($),$.mode&P1&&typeof U.UNSAFE_componentWillMount==="function"&&LG.push($),typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&MG.push($),$.mode&P1&&typeof U.UNSAFE_componentWillReceiveProps==="function"&&AG.push($),typeof U.componentWillUpdate==="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0&&TG.push($),$.mode&P1&&typeof U.UNSAFE_componentWillUpdate==="function"&&CG.push($))},n4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<DG.length&&(DG.forEach(function(f){$.add(t(f)||"Component"),uX.add(f.type)}),DG=[]);var U=new Set;0<LG.length&&(LG.forEach(function(f){U.add(t(f)||"Component"),uX.add(f.type)}),LG=[]);var Y=new Set;0<MG.length&&(MG.forEach(function(f){Y.add(t(f)||"Component"),uX.add(f.type)}),MG=[]);var F=new Set;0<AG.length&&(AG.forEach(function(f){F.add(t(f)||"Component"),uX.add(f.type)}),AG=[]);var M=new Set;0<TG.length&&(TG.forEach(function(f){M.add(t(f)||"Component"),uX.add(f.type)}),TG=[]);var R=new Set;if(0<CG.length&&(CG.forEach(function(f){R.add(t(f)||"Component"),uX.add(f.type)}),CG=[]),0<U.size){var k=T(U);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
185
+
186
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
187
+
188
+ Please update the following components: %s`,k)}0<F.size&&(k=T(F),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
189
+
190
+ * Move data fetching code or side effects to componentDidUpdate.
191
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
192
+
193
+ Please update the following components: %s`,k)),0<R.size&&(k=T(R),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
194
+
195
+ * Move data fetching code or side effects to componentDidUpdate.
196
+
197
+ Please update the following components: %s`,k)),0<$.size&&(k=T($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
+
199
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
201
+
202
+ Please update the following components: %s`,k)),0<Y.size&&(k=T(Y),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+
204
+ * Move data fetching code or side effects to componentDidUpdate.
205
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
206
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
207
+
208
+ Please update the following components: %s`,k)),0<M.size&&(k=T(M),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
+
210
+ * Move data fetching code or side effects to componentDidUpdate.
211
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
212
+
213
+ Please update the following components: %s`,k))};var RK=new Map,sR=new Set;n4.recordLegacyContextWarning=function($,U){var Y=null;for(var F=$;F!==null;)F.mode&P1&&(Y=F),F=F.return;Y===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."):!sR.has($.type)&&(F=RK.get(Y),$.type.contextTypes!=null||$.type.childContextTypes!=null||U!==null&&typeof U.getChildContext==="function")&&(F===void 0&&(F=[],RK.set(Y,F)),F.push($))},n4.flushLegacyContextWarning=function(){RK.forEach(function($){if($.length!==0){var U=$[0],Y=new Set;$.forEach(function(M){Y.add(t(M)||"Component"),sR.add(M.type)});var F=T(Y);J0(U,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
+
215
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
216
+
217
+ Please update the following components: %s
218
+
219
+ Learn more about this warning here: https://react.dev/link/legacy-context`,F)})}})},n4.discardPendingWarnings=function(){DG=[],LG=[],MG=[],AG=[],TG=[],CG=[],RK=new Map};var eR={react_stack_bottom_frame:function($,U,Y){var F=M6;M6=!0;try{return $(U,Y)}finally{M6=F}}},$V=eR.react_stack_bottom_frame.bind(eR),$P={react_stack_bottom_frame:function($){var U=M6;M6=!0;try{return $.render()}finally{M6=U}}},UP=$P.react_stack_bottom_frame.bind($P),IP={react_stack_bottom_frame:function($,U){try{U.componentDidMount()}catch(Y){a$($,$.return,Y)}}},UV=IP.react_stack_bottom_frame.bind(IP),XP={react_stack_bottom_frame:function($,U,Y,F,M){try{U.componentDidUpdate(Y,F,M)}catch(R){a$($,$.return,R)}}},JP=XP.react_stack_bottom_frame.bind(XP),YP={react_stack_bottom_frame:function($,U){var Y=U.stack;$.componentDidCatch(U.value,{componentStack:Y!==null?Y:""})}},Zg=YP.react_stack_bottom_frame.bind(YP),QP={react_stack_bottom_frame:function($,U,Y){try{Y.componentWillUnmount()}catch(F){a$($,U,F)}}},GP=QP.react_stack_bottom_frame.bind(QP),ZP={react_stack_bottom_frame:function($){var U=$.create;return $=$.inst,U=U(),$.destroy=U}},Kg=ZP.react_stack_bottom_frame.bind(ZP),KP={react_stack_bottom_frame:function($,U,Y){try{Y()}catch(F){a$($,U,F)}}},Wg=KP.react_stack_bottom_frame.bind(KP),WP={react_stack_bottom_frame:function($){var U=$._init;return U($._payload)}},zg=WP.react_stack_bottom_frame.bind(WP),XY=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`."),IV=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."),PK=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."),_K={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.')}},hX=null,qG=!1,JY=null,RG=0,k$=null,XV,zP=XV=!1,OP={},VP={},FP={};S=function($,U,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._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.");Y._store.validated=1;var F=t($),M=F||"null";if(!OP[M]){OP[M]=!0,Y=Y._owner,$=$._debugOwner;var R="";$&&typeof $.tag==="number"&&(M=t($))&&(R=`
220
+
221
+ Check the render method of \``+M+"`."),R||F&&(R=`
222
+
223
+ Check the top-level render call using <`+F+">.");var k="";Y!=null&&$!==Y&&(F=null,typeof Y.tag==="number"?F=t(Y):typeof Y.name==="string"&&(F=Y.name),F&&(k=" It was passed a child from "+F+".")),J0(U,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',R,k)})}}};var cX=QT(!0),HP=QT(!1),DP=0,LP=1,MP=2,JV=3,cI=!1,AP=!1,YV=null,QV=!1,YY=q0(null),SK=q0(0),F4=q0(null),k4=null,QY=1,PG=2,aU=q0(0),EK=0,g4=1,g1=2,H4=4,x1=8,GY,TP=new Set,CP=new Set,GV=new Set,qP=new Set,$I=0,R$=null,GU=null,I1=null,jK=!1,ZY=!1,pX=!1,BK=0,_G=0,UI=null,Og=0,Vg=25,f0=null,x4=null,II=-1,SG=!1,EG={readContext:SU,use:RI,useCallback:lU,useContext:lU,useEffect:lU,useImperativeHandle:lU,useLayoutEffect:lU,useInsertionEffect:lU,useMemo:lU,useReducer:lU,useRef:lU,useState:lU,useDebugValue:lU,useDeferredValue:lU,useTransition:lU,useSyncExternalStore:lU,useId:lU,useHostTransitionStatus:lU,useFormState:lU,useActionState:lU,useOptimistic:lU,useMemoCache:lU,useCacheRefresh:lU};EG.useEffectEvent=lU;var ZV=null,RP=null,KV=null,PP=null,S6=null,o4=null,vK=null;ZV={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",f$(),PJ(U),QO($,U)},useContext:function($){return f0="useContext",f$(),SU($)},useEffect:function($,U){return f0="useEffect",f$(),PJ(U),RZ($,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",f$(),PJ(Y),YO($,U,Y)},useInsertionEffect:function($,U){f0="useInsertionEffect",f$(),PJ(U),SX(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",f$(),PJ(U),JO($,U)},useMemo:function($,U){f0="useMemo",f$(),PJ(U);var Y=b0.H;b0.H=S6;try{return GO($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",f$();var F=b0.H;b0.H=S6;try{return rz($,U,Y)}finally{b0.H=F}},useRef:function($){return f0="useRef",f$(),IO($)},useState:function($){f0="useState",f$();var U=b0.H;b0.H=S6;try{return ez($)}finally{b0.H=U}},useDebugValue:function(){f0="useDebugValue",f$()},useDeferredValue:function($,U){return f0="useDeferredValue",f$(),ZO($,U)},useTransition:function(){return f0="useTransition",f$(),zO()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",f$(),az($,U,Y)},useId:function(){return f0="useId",f$(),OO()},useFormState:function($,U){return f0="useFormState",f$(),MZ(),SJ($,U)},useActionState:function($,U){return f0="useActionState",f$(),SJ($,U)},useOptimistic:function($){return f0="useOptimistic",f$(),$O($)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",f$(),VO()},useEffectEvent:function($){return f0="useEffectEvent",f$(),XO($)}},RP={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",G$(),QO($,U)},useContext:function($){return f0="useContext",G$(),SU($)},useEffect:function($,U){return f0="useEffect",G$(),RZ($,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",G$(),YO($,U,Y)},useInsertionEffect:function($,U){f0="useInsertionEffect",G$(),SX(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",G$(),JO($,U)},useMemo:function($,U){f0="useMemo",G$();var Y=b0.H;b0.H=S6;try{return GO($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",G$();var F=b0.H;b0.H=S6;try{return rz($,U,Y)}finally{b0.H=F}},useRef:function($){return f0="useRef",G$(),IO($)},useState:function($){f0="useState",G$();var U=b0.H;b0.H=S6;try{return ez($)}finally{b0.H=U}},useDebugValue:function(){f0="useDebugValue",G$()},useDeferredValue:function($,U){return f0="useDeferredValue",G$(),ZO($,U)},useTransition:function(){return f0="useTransition",G$(),zO()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",G$(),az($,U,Y)},useId:function(){return f0="useId",G$(),OO()},useActionState:function($,U){return f0="useActionState",G$(),SJ($,U)},useFormState:function($,U){return f0="useFormState",G$(),MZ(),SJ($,U)},useOptimistic:function($){return f0="useOptimistic",G$(),$O($)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),VO()},useEffectEvent:function($){return f0="useEffectEvent",G$(),XO($)}},KV={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",G$(),SZ($,U)},useContext:function($){return f0="useContext",G$(),SU($)},useEffect:function($,U){f0="useEffect",G$(),d1(2048,x1,$,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",G$(),_Z($,U,Y)},useInsertionEffect:function($,U){return f0="useInsertionEffect",G$(),d1(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",G$(),d1(4,H4,$,U)},useMemo:function($,U){f0="useMemo",G$();var Y=b0.H;b0.H=o4;try{return EZ($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",G$();var F=b0.H;b0.H=o4;try{return _J($,U,Y)}finally{b0.H=F}},useRef:function(){return f0="useRef",G$(),UU().memoizedState},useState:function(){f0="useState",G$();var $=b0.H;b0.H=o4;try{return _J(c4)}finally{b0.H=$}},useDebugValue:function(){f0="useDebugValue",G$()},useDeferredValue:function($,U){return f0="useDeferredValue",G$(),jT($,U)},useTransition:function(){return f0="useTransition",G$(),xT()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",G$(),TZ($,U,Y)},useId:function(){return f0="useId",G$(),UU().memoizedState},useFormState:function($){return f0="useFormState",G$(),MZ(),CZ($)},useActionState:function($){return f0="useActionState",G$(),CZ($)},useOptimistic:function($,U){return f0="useOptimistic",G$(),MT($,U)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",G$(),PZ($)}},PP={readContext:function($){return SU($)},use:RI,useCallback:function($,U){return f0="useCallback",G$(),SZ($,U)},useContext:function($){return f0="useContext",G$(),SU($)},useEffect:function($,U){f0="useEffect",G$(),d1(2048,x1,$,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",G$(),_Z($,U,Y)},useInsertionEffect:function($,U){return f0="useInsertionEffect",G$(),d1(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",G$(),d1(4,H4,$,U)},useMemo:function($,U){f0="useMemo",G$();var Y=b0.H;b0.H=vK;try{return EZ($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",G$();var F=b0.H;b0.H=vK;try{return kQ($,U,Y)}finally{b0.H=F}},useRef:function(){return f0="useRef",G$(),UU().memoizedState},useState:function(){f0="useState",G$();var $=b0.H;b0.H=vK;try{return kQ(c4)}finally{b0.H=$}},useDebugValue:function(){f0="useDebugValue",G$()},useDeferredValue:function($,U){return f0="useDeferredValue",G$(),BT($,U)},useTransition:function(){return f0="useTransition",G$(),wT()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",G$(),TZ($,U,Y)},useId:function(){return f0="useId",G$(),UU().memoizedState},useFormState:function($){return f0="useFormState",G$(),MZ(),qZ($)},useActionState:function($){return f0="useActionState",G$(),qZ($)},useOptimistic:function($,U){return f0="useOptimistic",G$(),TT($,U)},useHostTransitionStatus:EX,useMemoCache:_X,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",G$(),PZ($)}},S6={readContext:function($){return j(),SU($)},use:function($){return L(),RI($)},useCallback:function($,U){return f0="useCallback",L(),f$(),QO($,U)},useContext:function($){return f0="useContext",L(),f$(),SU($)},useEffect:function($,U){return f0="useEffect",L(),f$(),RZ($,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",L(),f$(),YO($,U,Y)},useInsertionEffect:function($,U){f0="useInsertionEffect",L(),f$(),SX(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",L(),f$(),JO($,U)},useMemo:function($,U){f0="useMemo",L(),f$();var Y=b0.H;b0.H=S6;try{return GO($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",L(),f$();var F=b0.H;b0.H=S6;try{return rz($,U,Y)}finally{b0.H=F}},useRef:function($){return f0="useRef",L(),f$(),IO($)},useState:function($){f0="useState",L(),f$();var U=b0.H;b0.H=S6;try{return ez($)}finally{b0.H=U}},useDebugValue:function(){f0="useDebugValue",L(),f$()},useDeferredValue:function($,U){return f0="useDeferredValue",L(),f$(),ZO($,U)},useTransition:function(){return f0="useTransition",L(),f$(),zO()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",L(),f$(),az($,U,Y)},useId:function(){return f0="useId",L(),f$(),OO()},useFormState:function($,U){return f0="useFormState",L(),f$(),SJ($,U)},useActionState:function($,U){return f0="useActionState",L(),f$(),SJ($,U)},useOptimistic:function($){return f0="useOptimistic",L(),f$(),$O($)},useMemoCache:function($){return L(),_X($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return f0="useCacheRefresh",f$(),VO()},useEffectEvent:function($){return f0="useEffectEvent",L(),f$(),XO($)}},o4={readContext:function($){return j(),SU($)},use:function($){return L(),RI($)},useCallback:function($,U){return f0="useCallback",L(),G$(),SZ($,U)},useContext:function($){return f0="useContext",L(),G$(),SU($)},useEffect:function($,U){f0="useEffect",L(),G$(),d1(2048,x1,$,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",L(),G$(),_Z($,U,Y)},useInsertionEffect:function($,U){return f0="useInsertionEffect",L(),G$(),d1(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",L(),G$(),d1(4,H4,$,U)},useMemo:function($,U){f0="useMemo",L(),G$();var Y=b0.H;b0.H=o4;try{return EZ($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",L(),G$();var F=b0.H;b0.H=o4;try{return _J($,U,Y)}finally{b0.H=F}},useRef:function(){return f0="useRef",L(),G$(),UU().memoizedState},useState:function(){f0="useState",L(),G$();var $=b0.H;b0.H=o4;try{return _J(c4)}finally{b0.H=$}},useDebugValue:function(){f0="useDebugValue",L(),G$()},useDeferredValue:function($,U){return f0="useDeferredValue",L(),G$(),jT($,U)},useTransition:function(){return f0="useTransition",L(),G$(),xT()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",L(),G$(),TZ($,U,Y)},useId:function(){return f0="useId",L(),G$(),UU().memoizedState},useFormState:function($){return f0="useFormState",L(),G$(),CZ($)},useActionState:function($){return f0="useActionState",L(),G$(),CZ($)},useOptimistic:function($,U){return f0="useOptimistic",L(),G$(),MT($,U)},useMemoCache:function($){return L(),_X($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",L(),G$(),PZ($)}},vK={readContext:function($){return j(),SU($)},use:function($){return L(),RI($)},useCallback:function($,U){return f0="useCallback",L(),G$(),SZ($,U)},useContext:function($){return f0="useContext",L(),G$(),SU($)},useEffect:function($,U){f0="useEffect",L(),G$(),d1(2048,x1,$,U)},useImperativeHandle:function($,U,Y){return f0="useImperativeHandle",L(),G$(),_Z($,U,Y)},useInsertionEffect:function($,U){return f0="useInsertionEffect",L(),G$(),d1(4,g1,$,U)},useLayoutEffect:function($,U){return f0="useLayoutEffect",L(),G$(),d1(4,H4,$,U)},useMemo:function($,U){f0="useMemo",L(),G$();var Y=b0.H;b0.H=o4;try{return EZ($,U)}finally{b0.H=Y}},useReducer:function($,U,Y){f0="useReducer",L(),G$();var F=b0.H;b0.H=o4;try{return kQ($,U,Y)}finally{b0.H=F}},useRef:function(){return f0="useRef",L(),G$(),UU().memoizedState},useState:function(){f0="useState",L(),G$();var $=b0.H;b0.H=o4;try{return kQ(c4)}finally{b0.H=$}},useDebugValue:function(){f0="useDebugValue",L(),G$()},useDeferredValue:function($,U){return f0="useDeferredValue",L(),G$(),BT($,U)},useTransition:function(){return f0="useTransition",L(),G$(),wT()},useSyncExternalStore:function($,U,Y){return f0="useSyncExternalStore",L(),G$(),TZ($,U,Y)},useId:function(){return f0="useId",L(),G$(),UU().memoizedState},useFormState:function($){return f0="useFormState",L(),G$(),qZ($)},useActionState:function($){return f0="useActionState",L(),G$(),qZ($)},useOptimistic:function($,U){return f0="useOptimistic",L(),G$(),TT($,U)},useMemoCache:function($){return L(),_X($)},useHostTransitionStatus:EX,useCacheRefresh:function(){return f0="useCacheRefresh",G$(),UU().memoizedState},useEffectEvent:function($){return f0="useEffectEvent",L(),G$(),PZ($)}};var _P={},SP=new Set,EP=new Set,jP=new Set,BP=new Set,vP=new Set,NP=new Set,kP=new Set,gP=new Set,xP=new Set,wP=new Set;Object.freeze(_P);var WV={enqueueSetState:function($,U,Y){$=$._reactInternals;var F=Z4($),M=AI(F);M.payload=U,Y!==void 0&&Y!==null&&(HO(Y),M.callback=Y),U=TI($,M,F),U!==null&&(X6(F,"this.setState()",$),xU(U,$,F),jQ(U,$,F))},enqueueReplaceState:function($,U,Y){$=$._reactInternals;var F=Z4($),M=AI(F);M.tag=LP,M.payload=U,Y!==void 0&&Y!==null&&(HO(Y),M.callback=Y),U=TI($,M,F),U!==null&&(X6(F,"this.replaceState()",$),xU(U,$,F),jQ(U,$,F))},enqueueForceUpdate:function($,U){$=$._reactInternals;var Y=Z4($),F=AI(Y);F.tag=MP,U!==void 0&&U!==null&&(HO(U),F.callback=U),U=TI($,F,Y),U!==null&&(X6(Y,"this.forceUpdate()",$),xU(U,$,Y),jQ(U,$,Y))}},KY=null,zV=null,OV=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."),X1=!1,fP={},yP={},bP={},uP={},WY=!1,hP={},NK={},VV={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},cP=!1,pP=null;pP=new Set;var XI=!1,J1=!1,FV=!1,mP=typeof WeakSet==="function"?WeakSet:Set,V1=null,zY=null,OY=null,Y1=null,i1=!1,i4=null,Z1=!1,jG=8192,Fg={getCacheForType:function($){var U=SU($1),Y=U.data.get($);return Y===void 0&&(Y=$(),U.data.set($,Y)),Y},cacheSignal:function(){return SU($1).controller.signal},getOwner:function(){return z4}};if(typeof Symbol==="function"&&Symbol.for){var BG=Symbol.for;BG("selector.component"),BG("selector.has_pseudo_class"),BG("selector.role"),BG("selector.test_id"),BG("selector.text")}var Hg=[],Dg=typeof WeakMap==="function"?WeakMap:Map,F1=0,K1=2,D4=4,JI=0,vG=1,mX=2,kK=3,pI=4,gK=6,lP=5,n$=F1,ZU=null,w$=null,g$=0,r1=0,xK=1,lX=2,NG=3,dP=4,HV=5,kG=6,wK=7,DV=8,dX=9,IU=r1,L4=null,mI=!1,VY=!1,LV=!1,E6=0,kU=JI,lI=0,dI=0,MV=0,t1=0,nX=0,gG=null,w1=null,fK=!1,yK=0,nP=0,oP=300,bK=1/0,iP=500,xG=null,dU=null,nI=null,uK=0,AV=1,TV=2,rP=3,oI=0,tP=1,aP=2,sP=3,eP=4,hK=5,Q1=0,iI=null,FY=null,r4=0,CV=0,qV=-0,RV=null,$_=null,U_=null,t4=uK,I_=null,Lg=50,wG=0,PV=null,_V=!1,cK=!1,Mg=50,oX=0,fG=null,HY=!1,pK=null,X_=!1,J_=new Set,Ag={},mK=null,DY=null,SV=!1,EV=!1,lK=!1,jV=!1,rI=0,BV={};(function(){for(var $=0;$<h9.length;$++){var U=h9[$],Y=U.toLowerCase();U=U[0].toUpperCase()+U.slice(1),h4(Y,"on"+U)}h4(xR,"onAnimationEnd"),h4(wR,"onAnimationIteration"),h4(fR,"onAnimationStart"),h4("dblclick","onDoubleClick"),h4("focusin","onFocus"),h4("focusout","onBlur"),h4(rk,"onTransitionRun"),h4(tk,"onTransitionStart"),h4(ak,"onTransitionCancel"),h4(yR,"onTransitionEnd")})(),r0("onMouseEnter",["mouseout","mouseover"]),r0("onMouseLeave",["mouseout","mouseover"]),r0("onPointerEnter",["pointerout","pointerover"]),r0("onPointerLeave",["pointerout","pointerover"]),o0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o0("onBeforeInput",["compositionend","keypress","textInput","paste"]),o0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yG="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(" "),vV=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yG)),dK="_reactListening"+Math.random().toString(36).slice(2),Y_=!1,Q_=!1,nK=!1,G_=!1,oK=!1,iK=!1,Z_=!1,rK={},Tg=/\r\n?/g,Cg=/\u0000|\uFFFD/g,iX="http://www.w3.org/1999/xlink",NV="http://www.w3.org/XML/1998/namespace",qg="javascript:throw new Error('React form unexpectedly submitted.')",Rg="suppressHydrationWarning",rX="&",tK="/&",bG="$",uG="/$",tI="$?",tX="$~",LY="$!",Pg="html",_g="body",Sg="head",kV="F!",K_="F",W_="loading",Eg="style",YI=0,MY=1,aK=2,gV=null,xV=null,z_={dialog:!0,webview:!0},wV=null,hG=void 0,O_=typeof setTimeout==="function"?setTimeout:void 0,jg=typeof clearTimeout==="function"?clearTimeout:void 0,aX=-1,V_=typeof Promise==="function"?Promise:void 0,Bg=typeof queueMicrotask==="function"?queueMicrotask:typeof V_<"u"?function($){return V_.resolve(null).then($).catch(V3)}:O_,fV=null,sX=0,cG=1,F_=2,H_=3,w4=4,f4=new Map,D_=new Set,QI=s$.d;s$.d={f:function(){var $=QI.f(),U=NJ();return $||U},r:function($){var U=D$($);U!==null&&U.tag===5&&U.type==="form"?gT(U):QI.r($)},D:function($){QI.D($),Sq("dns-prefetch",$,null)},C:function($,U){QI.C($,U),Sq("preconnect",$,U)},L:function($,U,Y){QI.L($,U,Y);var F=AY;if(F&&$&&U){var M='link[rel="preload"][as="'+e$(U)+'"]';U==="image"?Y&&Y.imageSrcSet?(M+='[imagesrcset="'+e$(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(M+='[imagesizes="'+e$(Y.imageSizes)+'"]')):M+='[href="'+e$($)+'"]':M+='[href="'+e$($)+'"]';var R=M;switch(U){case"style":R=xJ($);break;case"script":R=wJ($)}f4.has(R)||($=y$({rel:"preload",href:U==="image"&&Y&&Y.imageSrcSet?void 0:$,as:U},Y),f4.set(R,$),F.querySelector(M)!==null||U==="style"&&F.querySelector(oQ(R))||U==="script"&&F.querySelector(iQ(R))||(U=F.createElement("link"),M1(U,"link",$),V$(U),F.head.appendChild(U)))}},m:function($,U){QI.m($,U);var Y=AY;if(Y&&$){var F=U&&typeof U.as==="string"?U.as:"script",M='link[rel="modulepreload"][as="'+e$(F)+'"][href="'+e$($)+'"]',R=M;switch(F){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":R=wJ($)}if(!f4.has(R)&&($=y$({rel:"modulepreload",href:$},U),f4.set(R,$),Y.querySelector(M)===null)){switch(F){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(iQ(R)))return}F=Y.createElement("link"),M1(F,"link",$),V$(F),Y.head.appendChild(F)}}},X:function($,U){QI.X($,U);var Y=AY;if(Y&&$){var F=y0(Y).hoistableScripts,M=wJ($),R=F.get(M);R||(R=Y.querySelector(iQ(M)),R||($=y$({src:$,async:!0},U),(U=f4.get(M))&&Y9($,U),R=Y.createElement("script"),V$(R),M1(R,"link",$),Y.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},F.set(M,R))}},S:function($,U,Y){QI.S($,U,Y);var F=AY;if(F&&$){var M=y0(F).hoistableStyles,R=xJ($);U=U||"default";var k=M.get(R);if(!k){var f={loading:sX,preload:null};if(k=F.querySelector(oQ(R)))f.loading=cG|w4;else{$=y$({rel:"stylesheet",href:$,"data-precedence":U},Y),(Y=f4.get(R))&&J9($,Y);var l=k=F.createElement("link");V$(l),M1(l,"link",$),l._p=new Promise(function(o,R0){l.onload=o,l.onerror=R0}),l.addEventListener("load",function(){f.loading|=cG}),l.addEventListener("error",function(){f.loading|=F_}),f.loading|=w4,nZ(k,U,F)}k={type:"stylesheet",instance:k,count:1,state:f},M.set(R,k)}}},M:function($,U){QI.M($,U);var Y=AY;if(Y&&$){var F=y0(Y).hoistableScripts,M=wJ($),R=F.get(M);R||(R=Y.querySelector(iQ(M)),R||($=y$({src:$,async:!0,type:"module"},U),(U=f4.get(M))&&Y9($,U),R=Y.createElement("script"),V$(R),M1(R,"link",$),Y.head.appendChild(R)),R={type:"script",instance:R,count:1,state:null},F.set(M,R))}}};var AY=typeof document>"u"?null:document,sK=null,vg=60000,Ng=800,kg=500,yV=0,bV=null,eK=null,eX=o3,pG={$$typeof:L6,Provider:null,Consumer:null,_currentValue:eX,_currentValue2:eX,_threadCount:0},L_="%c%s%c",M_="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",A_="",$8=" ",gg=Function.prototype.bind,T_=!1,C_=null,q_=null,R_=null,P_=null,__=null,S_=null,E_=null,j_=null,B_=null,v_=null;C_=function($,U,Y,F){U=I($,U),U!==null&&(Y=J(U.memoizedState,Y,0,F),U.memoizedState=Y,U.baseState=Y,$.memoizedProps=y$({},$.memoizedProps),Y=q1($,2),Y!==null&&xU(Y,$,2))},q_=function($,U,Y){U=I($,U),U!==null&&(Y=X(U.memoizedState,Y,0),U.memoizedState=Y,U.baseState=Y,$.memoizedProps=y$({},$.memoizedProps),Y=q1($,2),Y!==null&&xU(Y,$,2))},R_=function($,U,Y,F){U=I($,U),U!==null&&(Y=Q(U.memoizedState,Y,F),U.memoizedState=Y,U.baseState=Y,$.memoizedProps=y$({},$.memoizedProps),Y=q1($,2),Y!==null&&xU(Y,$,2))},P_=function($,U,Y){$.pendingProps=J($.memoizedProps,U,0,Y),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=q1($,2),U!==null&&xU(U,$,2)},__=function($,U){$.pendingProps=X($.memoizedProps,U,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=q1($,2),U!==null&&xU(U,$,2)},S_=function($,U,Y){$.pendingProps=Q($.memoizedProps,U,Y),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=q1($,2),U!==null&&xU(U,$,2)},E_=function($){var U=q1($,2);U!==null&&xU(U,$,2)},j_=function($){var U=M$(),Y=q1($,U);Y!==null&&xU(Y,$,U)},B_=function($){Z=$},v_=function($){W=$};var U8=!0,I8=null,uV=!1,aI=null,sI=null,eI=null,mG=new Map,lG=new Map,$X=[],xg="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(" "),X8=null;if(aZ.prototype.render=z9.prototype.render=function($){var U=this._internalRoot;if(U===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):w(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=$;var F=U.current,M=Z4(F);Q9(F,M,Y,U,null,null)},aZ.prototype.unmount=z9.prototype.unmount=function(){var $=arguments;if(typeof $[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),$=this._internalRoot,$!==null){this._internalRoot=null;var U=$.containerInfo;(n$&(K1|D4))!==F1&&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."),Q9($.current,2,null,$,null,null),NJ(),U[vI]=null}},aZ.prototype.unstable_scheduleHydration=function($){if($){var U=X0();$={blockedOn:null,target:$,priority:U};for(var Y=0;Y<$X.length&&U!==0&&U<$X[Y].priority;Y++);$X.splice(Y,0,$),Y===0&&hq($)}},function(){var $=CY.version;if($!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
+ - react: `+($+`
225
+ - react-dom: 19.2.7
226
+ Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),s$.findDOMNode=function($){var U=$._reactInternals;if(U===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=d(U),$=$!==null?a($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:b0,reconcilerVersion:"19.2.7"};return $.overrideHookState=C_,$.overrideHookStateDeletePath=q_,$.overrideHookStateRenamePath=R_,$.overrideProps=P_,$.overridePropsDeletePath=__,$.overridePropsRenamePath=S_,$.scheduleUpdate=E_,$.scheduleRetry=j_,$.setErrorHandler=B_,$.setSuspenseHandler=v_,$.scheduleRefresh=N,$.scheduleRoot=B,$.setRefreshHandler=y,$.getCurrentFiber=u3,O0($)}()&&q6&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var N_=window.location.protocol;/^(https?|file):$/.test(N_)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(N_==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}ig.createRoot=function($,U){if(!w($))throw Error("Target container is not a DOM element.");lq($);var Y=!1,F="",M=cT,R=pT,k=mT;return U!==null&&U!==void 0&&(U.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof U==="object"&&U!==null&&U.$$typeof===D6&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
228
+
229
+ let root = createRoot(domContainer);
230
+ root.render(<App />);`),U.unstable_strictMode===!0&&(Y=!0),U.identifierPrefix!==void 0&&(F=U.identifierPrefix),U.onUncaughtError!==void 0&&(M=U.onUncaughtError),U.onCaughtError!==void 0&&(R=U.onCaughtError),U.onRecoverableError!==void 0&&(k=U.onRecoverableError)),U=gq($,1,!1,null,null,Y,F,null,M,R,k,mq),$[vI]=U.current,nO($),new z9(U)},ig.hydrateRoot=function($,U,Y){if(!w($))throw Error("Target container is not a DOM element.");lq($),U===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var F=!1,M="",R=cT,k=pT,f=mT,l=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(F=!0),Y.identifierPrefix!==void 0&&(M=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(R=Y.onUncaughtError),Y.onCaughtError!==void 0&&(k=Y.onCaughtError),Y.onRecoverableError!==void 0&&(f=Y.onRecoverableError),Y.formState!==void 0&&(l=Y.formState)),U=gq($,1,!0,U,Y!=null?Y:null,F,M,l,R,k,f,mq),U.context=xq(null),Y=U.current,F=Z4(Y),F=t0(F),M=AI(F),M.callback=null,TI(Y,M,F),X6(F,"hydrateRoot()",null),Y=F,U.current.lanes=Y,p0(U,Y),F6(U),$[vI]=U.current,nO($),new aZ(U)},ig.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var p_=UX((Ad,c_)=>{var rg=a4(h_());c_.exports=rg});var nU={};f1(nU,{transcode:()=>xx,resolveObjectURL:()=>Nx,kStringMaxLength:()=>a_,kMaxLength:()=>oG,isUtf8:()=>kx,isAscii:()=>gx,default:()=>wx,constants:()=>Yx,btoa:()=>Ux,atob:()=>Ix,INSPECT_MAX_BYTES:()=>t_,File:()=>Xx,Buffer:()=>d0,Blob:()=>Jx});function tg(I){var J=I.length;if(J%4>0)throw Error("Invalid string. Length must be a multiple of 4");var Q=I.indexOf("=");if(Q===-1)Q=J;var z=Q===J?0:4-Q%4;return[Q,z]}function ag(I,J){return(I+J)*3/4-J}function sg(I){var J,Q=tg(I),z=Q[0],X=Q[1],W=new Uint8Array(ag(z,X)),Z=0,L=X>0?z-4:z,j;for(j=0;j<L;j+=4)J=y4[I.charCodeAt(j)]<<18|y4[I.charCodeAt(j+1)]<<12|y4[I.charCodeAt(j+2)]<<6|y4[I.charCodeAt(j+3)],W[Z++]=J>>16&255,W[Z++]=J>>8&255,W[Z++]=J&255;if(X===2)J=y4[I.charCodeAt(j)]<<2|y4[I.charCodeAt(j+1)]>>4,W[Z++]=J&255;if(X===1)J=y4[I.charCodeAt(j)]<<10|y4[I.charCodeAt(j+1)]<<4|y4[I.charCodeAt(j+2)]>>2,W[Z++]=J>>8&255,W[Z++]=J&255;return W}function eg(I){return j6[I>>18&63]+j6[I>>12&63]+j6[I>>6&63]+j6[I&63]}function $x(I,J,Q){var z,X=[];for(var W=J;W<Q;W+=3)z=(I[W]<<16&16711680)+(I[W+1]<<8&65280)+(I[W+2]&255),X.push(eg(z));return X.join("")}function l_(I){var J,Q=I.length,z=Q%3,X=[],W=16383;for(var Z=0,L=Q-z;Z<L;Z+=W)X.push($x(I,Z,Z+W>L?L:Z+W));if(z===1)J=I[Q-1],X.push(j6[J>>2]+j6[J<<4&63]+"==");else if(z===2)J=(I[Q-2]<<8)+I[Q-1],X.push(j6[J>>10]+j6[J>>4&63]+j6[J<<2&63]+"=");return X.join("")}function Y8(I,J,Q,z,X){var W,Z,L=X*8-z-1,j=(1<<L)-1,P=j>>1,S=-7,T=Q?X-1:0,_=Q?-1:1,B=I[J+T];T+=_,W=B&(1<<-S)-1,B>>=-S,S+=L;for(;S>0;W=W*256+I[J+T],T+=_,S-=8);Z=W&(1<<-S)-1,W>>=-S,S+=z;for(;S>0;Z=Z*256+I[J+T],T+=_,S-=8);if(W===0)W=1-P;else if(W===j)return Z?NaN:(B?-1:1)*(1/0);else Z=Z+Math.pow(2,z),W=W-P;return(B?-1:1)*Z*Math.pow(2,W-z)}function r_(I,J,Q,z,X,W){var Z,L,j,P=W*8-X-1,S=(1<<P)-1,T=S>>1,_=X===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=z?0:W-1,N=z?1:-1,y=J<0||J===0&&1/J<0?1:0;if(J=Math.abs(J),isNaN(J)||J===1/0)L=isNaN(J)?1:0,Z=S;else{if(Z=Math.floor(Math.log(J)/Math.LN2),J*(j=Math.pow(2,-Z))<1)Z--,j*=2;if(Z+T>=1)J+=_/j;else J+=_*Math.pow(2,1-T);if(J*j>=2)Z++,j/=2;if(Z+T>=S)L=0,Z=S;else if(Z+T>=1)L=(J*j-1)*Math.pow(2,X),Z=Z+T;else L=J*Math.pow(2,T-1)*Math.pow(2,X),Z=0}for(;X>=8;I[Q+B]=L&255,B+=N,L/=256,X-=8);Z=Z<<X|L,P+=X;for(;P>0;I[Q+B]=Z&255,B+=N,Z/=256,P-=8);I[Q+B-N]|=y*128}function ZI(I){if(I>oG)throw RangeError('The value "'+I+'" is invalid for option "size"');let J=new Uint8Array(I);return Object.setPrototypeOf(J,d0.prototype),J}function oV(I,J,Q){return class extends Q{constructor(){super();Object.defineProperty(this,"message",{value:J.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${I}]`,this.stack,delete this.name}get code(){return I}set code(z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:z,writable:!0})}toString(){return`${this.name} [${I}]: ${this.message}`}}}function d0(I,J,Q){if(typeof I==="number"){if(typeof J==="string")throw TypeError('The "string" argument must be of type string. Received type number');return iV(I)}return s_(I,J,Q)}function s_(I,J,Q){if(typeof I==="string")return Kx(I,J);if(ArrayBuffer.isView(I))return Wx(I);if(I==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I);if(B6(I,ArrayBuffer)||I&&B6(I.buffer,ArrayBuffer))return dV(I,J,Q);if(typeof SharedArrayBuffer<"u"&&(B6(I,SharedArrayBuffer)||I&&B6(I.buffer,SharedArrayBuffer)))return dV(I,J,Q);if(typeof I==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let z=I.valueOf&&I.valueOf();if(z!=null&&z!==I)return d0.from(z,J,Q);let X=zx(I);if(X)return X;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof I[Symbol.toPrimitive]==="function")return d0.from(I[Symbol.toPrimitive]("string"),J,Q);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof I)}function e_(I){if(typeof I!=="number")throw TypeError('"size" argument must be of type number');else if(I<0)throw RangeError('The value "'+I+'" is invalid for option "size"')}function Zx(I,J,Q){if(e_(I),I<=0)return ZI(I);if(J!==void 0)return typeof Q==="string"?ZI(I).fill(J,Q):ZI(I).fill(J);return ZI(I)}function iV(I){return e_(I),ZI(I<0?0:rV(I)|0)}function Kx(I,J){if(typeof J!=="string"||J==="")J="utf8";if(!d0.isEncoding(J))throw TypeError("Unknown encoding: "+J);let Q=$S(I,J)|0,z=ZI(Q),X=z.write(I,J);if(X!==Q)z=z.slice(0,X);return z}function lV(I){let J=I.length<0?0:rV(I.length)|0,Q=ZI(J);for(let z=0;z<J;z+=1)Q[z]=I[z]&255;return Q}function Wx(I){if(B6(I,Uint8Array)){let J=new Uint8Array(I);return dV(J.buffer,J.byteOffset,J.byteLength)}return lV(I)}function dV(I,J,Q){if(J<0||I.byteLength<J)throw RangeError('"offset" is outside of buffer bounds');if(I.byteLength<J+(Q||0))throw RangeError('"length" is outside of buffer bounds');let z;if(J===void 0&&Q===void 0)z=new Uint8Array(I);else if(Q===void 0)z=new Uint8Array(I,J);else z=new Uint8Array(I,J,Q);return Object.setPrototypeOf(z,d0.prototype),z}function zx(I){if(d0.isBuffer(I)){let J=rV(I.length)|0,Q=ZI(J);if(Q.length===0)return Q;return I.copy(Q,0,0,J),Q}if(I.length!==void 0){if(typeof I.length!=="number"||Number.isNaN(I.length))return ZI(0);return lV(I)}if(I.type==="Buffer"&&Array.isArray(I.data))return lV(I.data)}function rV(I){if(I>=oG)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oG.toString(16)+" bytes");return I|0}function $S(I,J){if(d0.isBuffer(I))return I.length;if(ArrayBuffer.isView(I)||B6(I,ArrayBuffer))return I.byteLength;if(typeof I!=="string")throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof I);let Q=I.length,z=arguments.length>2&&arguments[2]===!0;if(!z&&Q===0)return 0;let X=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return Q;case"utf8":case"utf-8":return nV(I).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q*2;case"hex":return Q>>>1;case"base64":return KS(I).length;default:if(X)return z?-1:nV(I).length;J=(""+J).toLowerCase(),X=!0}}function Ox(I,J,Q){let z=!1;if(J===void 0||J<0)J=0;if(J>this.length)return"";if(Q===void 0||Q>this.length)Q=this.length;if(Q<=0)return"";if(Q>>>=0,J>>>=0,Q<=J)return"";if(!I)I="utf8";while(!0)switch(I){case"hex":return qx(this,J,Q);case"utf8":case"utf-8":return IS(this,J,Q);case"ascii":return Tx(this,J,Q);case"latin1":case"binary":return Cx(this,J,Q);case"base64":return Mx(this,J,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rx(this,J,Q);default:if(z)throw TypeError("Unknown encoding: "+I);I=(I+"").toLowerCase(),z=!0}}function IJ(I,J,Q){let z=I[J];I[J]=I[Q],I[Q]=z}function US(I,J,Q,z,X){if(I.length===0)return-1;if(typeof Q==="string")z=Q,Q=0;else if(Q>2147483647)Q=2147483647;else if(Q<-2147483648)Q=-2147483648;if(Q=+Q,Number.isNaN(Q))Q=X?0:I.length-1;if(Q<0)Q=I.length+Q;if(Q>=I.length)if(X)return-1;else Q=I.length-1;else if(Q<0)if(X)Q=0;else return-1;if(typeof J==="string")J=d0.from(J,z);if(d0.isBuffer(J)){if(J.length===0)return-1;return n_(I,J,Q,z,X)}else if(typeof J==="number"){if(J=J&255,typeof Uint8Array.prototype.indexOf==="function")if(X)return Uint8Array.prototype.indexOf.call(I,J,Q);else return Uint8Array.prototype.lastIndexOf.call(I,J,Q);return n_(I,[J],Q,z,X)}throw TypeError("val must be string, number or Buffer")}function n_(I,J,Q,z,X){let W=1,Z=I.length,L=J.length;if(z!==void 0){if(z=String(z).toLowerCase(),z==="ucs2"||z==="ucs-2"||z==="utf16le"||z==="utf-16le"){if(I.length<2||J.length<2)return-1;W=2,Z/=2,L/=2,Q/=2}}function j(S,T){if(W===1)return S[T];else return S.readUInt16BE(T*W)}let P;if(X){let S=-1;for(P=Q;P<Z;P++)if(j(I,P)===j(J,S===-1?0:P-S)){if(S===-1)S=P;if(P-S+1===L)return S*W}else{if(S!==-1)P-=P-S;S=-1}}else{if(Q+L>Z)Q=Z-L;for(P=Q;P>=0;P--){let S=!0;for(let T=0;T<L;T++)if(j(I,P+T)!==j(J,T)){S=!1;break}if(S)return P}}return-1}function Vx(I,J,Q,z){Q=Number(Q)||0;let X=I.length-Q;if(!z)z=X;else if(z=Number(z),z>X)z=X;let W=J.length;if(z>W/2)z=W/2;let Z;for(Z=0;Z<z;++Z){let L=parseInt(J.substr(Z*2,2),16);if(Number.isNaN(L))return Z;I[Q+Z]=L}return Z}function Fx(I,J,Q,z){return Q8(nV(J,I.length-Q),I,Q,z)}function Hx(I,J,Q,z){return Q8(Ex(J),I,Q,z)}function Dx(I,J,Q,z){return Q8(KS(J),I,Q,z)}function Lx(I,J,Q,z){return Q8(jx(J,I.length-Q),I,Q,z)}function Mx(I,J,Q){if(J===0&&Q===I.length)return l_(I);else return l_(I.slice(J,Q))}function IS(I,J,Q){Q=Math.min(I.length,Q);let z=[],X=J;while(X<Q){let W=I[X],Z=null,L=W>239?4:W>223?3:W>191?2:1;if(X+L<=Q){let j,P,S,T;switch(L){case 1:if(W<128)Z=W;break;case 2:if(j=I[X+1],(j&192)===128){if(T=(W&31)<<6|j&63,T>127)Z=T}break;case 3:if(j=I[X+1],P=I[X+2],(j&192)===128&&(P&192)===128){if(T=(W&15)<<12|(j&63)<<6|P&63,T>2047&&(T<55296||T>57343))Z=T}break;case 4:if(j=I[X+1],P=I[X+2],S=I[X+3],(j&192)===128&&(P&192)===128&&(S&192)===128){if(T=(W&15)<<18|(j&63)<<12|(P&63)<<6|S&63,T>65535&&T<1114112)Z=T}}}if(Z===null)Z=65533,L=1;else if(Z>65535)Z-=65536,z.push(Z>>>10&1023|55296),Z=56320|Z&1023;z.push(Z),X+=L}return Ax(z)}function Ax(I){let J=I.length;if(J<=o_)return String.fromCharCode.apply(String,I);let Q="",z=0;while(z<J)Q+=String.fromCharCode.apply(String,I.slice(z,z+=o_));return Q}function Tx(I,J,Q){let z="";Q=Math.min(I.length,Q);for(let X=J;X<Q;++X)z+=String.fromCharCode(I[X]&127);return z}function Cx(I,J,Q){let z="";Q=Math.min(I.length,Q);for(let X=J;X<Q;++X)z+=String.fromCharCode(I[X]);return z}function qx(I,J,Q){let z=I.length;if(!J||J<0)J=0;if(!Q||Q<0||Q>z)Q=z;let X="";for(let W=J;W<Q;++W)X+=Bx[I[W]];return X}function Rx(I,J,Q){let z=I.slice(J,Q),X="";for(let W=0;W<z.length-1;W+=2)X+=String.fromCharCode(z[W]+z[W+1]*256);return X}function H1(I,J,Q){if(I%1!==0||I<0)throw RangeError("offset is not uint");if(I+J>Q)throw RangeError("Trying to access beyond buffer length")}function a1(I,J,Q,z,X,W){if(!d0.isBuffer(I))throw TypeError('"buffer" argument must be a Buffer instance');if(J>X||J<W)throw RangeError('"value" argument is out of bounds');if(Q+z>I.length)throw RangeError("Index out of range")}function XS(I,J,Q,z,X){ZS(J,z,X,I,Q,7);let W=Number(J&BigInt(4294967295));I[Q++]=W,W=W>>8,I[Q++]=W,W=W>>8,I[Q++]=W,W=W>>8,I[Q++]=W;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return I[Q++]=Z,Z=Z>>8,I[Q++]=Z,Z=Z>>8,I[Q++]=Z,Z=Z>>8,I[Q++]=Z,Q}function JS(I,J,Q,z,X){ZS(J,z,X,I,Q,7);let W=Number(J&BigInt(4294967295));I[Q+7]=W,W=W>>8,I[Q+6]=W,W=W>>8,I[Q+5]=W,W=W>>8,I[Q+4]=W;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return I[Q+3]=Z,Z=Z>>8,I[Q+2]=Z,Z=Z>>8,I[Q+1]=Z,Z=Z>>8,I[Q]=Z,Q+8}function YS(I,J,Q,z,X,W){if(Q+z>I.length)throw RangeError("Index out of range");if(Q<0)throw RangeError("Index out of range")}function QS(I,J,Q,z,X){if(J=+J,Q=Q>>>0,!X)YS(I,J,Q,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return r_(I,J,Q,z,23,4),Q+4}function GS(I,J,Q,z,X){if(J=+J,Q=Q>>>0,!X)YS(I,J,Q,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return r_(I,J,Q,z,52,8),Q+8}function i_(I){let J="",Q=I.length,z=I[0]==="-"?1:0;for(;Q>=z+4;Q-=3)J=`_${I.slice(Q-3,Q)}${J}`;return`${I.slice(0,Q)}${J}`}function Px(I,J,Q){if(qY(J,"offset"),I[J]===void 0||I[J+Q]===void 0)iG(J,I.length-(Q+1))}function ZS(I,J,Q,z,X,W){if(I>Q||I<J){let Z=typeof J==="bigint"?"n":"",L;if(W>3)if(J===0||J===BigInt(0))L=`>= 0${Z} and < 2${Z} ** ${(W+1)*8}${Z}`;else L=`>= -(2${Z} ** ${(W+1)*8-1}${Z}) and < 2 ** ${(W+1)*8-1}${Z}`;else L=`>= ${J}${Z} and <= ${Q}${Z}`;throw new mV("value",L,I)}Px(z,X,W)}function qY(I,J){if(typeof I!=="number")throw new Gx(J,"number",I)}function iG(I,J,Q){if(Math.floor(I)!==I)throw qY(I,Q),new mV(Q||"offset","an integer",I);if(J<0)throw new Qx;throw new mV(Q||"offset",`>= ${Q?1:0} and <= ${J}`,I)}function Sx(I){if(I=I.split("=")[0],I=I.trim().replace(_x,""),I.length<2)return"";while(I.length%4!==0)I=I+"=";return I}function nV(I,J){J=J||1/0;let Q,z=I.length,X=null,W=[];for(let Z=0;Z<z;++Z){if(Q=I.charCodeAt(Z),Q>55295&&Q<57344){if(!X){if(Q>56319){if((J-=3)>-1)W.push(239,191,189);continue}else if(Z+1===z){if((J-=3)>-1)W.push(239,191,189);continue}X=Q;continue}if(Q<56320){if((J-=3)>-1)W.push(239,191,189);X=Q;continue}Q=(X-55296<<10|Q-56320)+65536}else if(X){if((J-=3)>-1)W.push(239,191,189)}if(X=null,Q<128){if((J-=1)<0)break;W.push(Q)}else if(Q<2048){if((J-=2)<0)break;W.push(Q>>6|192,Q&63|128)}else if(Q<65536){if((J-=3)<0)break;W.push(Q>>12|224,Q>>6&63|128,Q&63|128)}else if(Q<1114112){if((J-=4)<0)break;W.push(Q>>18|240,Q>>12&63|128,Q>>6&63|128,Q&63|128)}else throw Error("Invalid code point")}return W}function Ex(I){let J=[];for(let Q=0;Q<I.length;++Q)J.push(I.charCodeAt(Q)&255);return J}function jx(I,J){let Q,z,X,W=[];for(let Z=0;Z<I.length;++Z){if((J-=2)<0)break;Q=I.charCodeAt(Z),z=Q>>8,X=Q%256,W.push(X),W.push(z)}return W}function KS(I){return sg(Sx(I))}function Q8(I,J,Q,z){let X;for(X=0;X<z;++X){if(X+Q>=J.length||X>=I.length)break;J[X+Q]=I[X]}return X}function B6(I,J){return I instanceof J||I!=null&&I.constructor!=null&&I.constructor.name!=null&&I.constructor.name===J.name}function IX(I){return typeof BigInt>"u"?vx:I}function vx(){throw Error("BigInt not supported")}function tV(I){return()=>{throw Error(I+" is not implemented for node:buffer browser polyfill")}}var j6,y4,pV="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",UJ,m_,d_,t_=50,oG=2147483647,a_=536870888,Ux,Ix,Xx,Jx,Yx,Qx,Gx,mV,o_=4096,_x,Bx,Nx,kx,gx=(I)=>{for(let J of I)if(J.charCodeAt(0)>127)return!1;return!0},xx,wx;var oU=TY(()=>{j6=[],y4=[];for(UJ=0,m_=pV.length;UJ<m_;++UJ)j6[UJ]=pV[UJ],y4[pV.charCodeAt(UJ)]=UJ;y4[45]=62;y4[95]=63;d_=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,Ux=globalThis.btoa,Ix=globalThis.atob,Xx=globalThis.File,Jx=globalThis.Blob,Yx={MAX_LENGTH:oG,MAX_STRING_LENGTH:a_};Qx=oV("ERR_BUFFER_OUT_OF_BOUNDS",function(I){if(I)return`${I} is outside of buffer bounds`;return"Attempt to access memory outside buffer bounds"},RangeError),Gx=oV("ERR_INVALID_ARG_TYPE",function(I,J){return`The "${I}" argument must be of type number. Received type ${typeof J}`},TypeError),mV=oV("ERR_OUT_OF_RANGE",function(I,J,Q){let z=`The value of "${I}" is out of range.`,X=Q;if(Number.isInteger(Q)&&Math.abs(Q)>4294967296)X=i_(String(Q));else if(typeof Q==="bigint"){if(X=String(Q),Q>BigInt(2)**BigInt(32)||Q<-(BigInt(2)**BigInt(32)))X=i_(X);X+="n"}return z+=` It must be ${J}. Received ${X}`,z},RangeError);Object.defineProperty(d0.prototype,"parent",{enumerable:!0,get:function(){if(!d0.isBuffer(this))return;return this.buffer}});Object.defineProperty(d0.prototype,"offset",{enumerable:!0,get:function(){if(!d0.isBuffer(this))return;return this.byteOffset}});d0.poolSize=8192;d0.from=function(I,J,Q){return s_(I,J,Q)};Object.setPrototypeOf(d0.prototype,Uint8Array.prototype);Object.setPrototypeOf(d0,Uint8Array);d0.alloc=function(I,J,Q){return Zx(I,J,Q)};d0.allocUnsafe=function(I){return iV(I)};d0.allocUnsafeSlow=function(I){return iV(I)};d0.isBuffer=function(I){return I!=null&&I._isBuffer===!0&&I!==d0.prototype};d0.compare=function(I,J){if(B6(I,Uint8Array))I=d0.from(I,I.offset,I.byteLength);if(B6(J,Uint8Array))J=d0.from(J,J.offset,J.byteLength);if(!d0.isBuffer(I)||!d0.isBuffer(J))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(I===J)return 0;let Q=I.length,z=J.length;for(let X=0,W=Math.min(Q,z);X<W;++X)if(I[X]!==J[X]){Q=I[X],z=J[X];break}if(Q<z)return-1;if(z<Q)return 1;return 0};d0.isEncoding=function(I){switch(String(I).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};d0.concat=function(I,J){if(!Array.isArray(I))throw TypeError('"list" argument must be an Array of Buffers');if(I.length===0)return d0.alloc(0);let Q;if(J===void 0){J=0;for(Q=0;Q<I.length;++Q)J+=I[Q].length}let z=d0.allocUnsafe(J),X=0;for(Q=0;Q<I.length;++Q){let W=I[Q];if(B6(W,Uint8Array))if(X+W.length>z.length){if(!d0.isBuffer(W))W=d0.from(W);W.copy(z,X)}else Uint8Array.prototype.set.call(z,W,X);else if(!d0.isBuffer(W))throw TypeError('"list" argument must be an Array of Buffers');else W.copy(z,X);X+=W.length}return z};d0.byteLength=$S;d0.prototype._isBuffer=!0;d0.prototype.swap16=function(){let I=this.length;if(I%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;J<I;J+=2)IJ(this,J,J+1);return this};d0.prototype.swap32=function(){let I=this.length;if(I%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let J=0;J<I;J+=4)IJ(this,J,J+3),IJ(this,J+1,J+2);return this};d0.prototype.swap64=function(){let I=this.length;if(I%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let J=0;J<I;J+=8)IJ(this,J,J+7),IJ(this,J+1,J+6),IJ(this,J+2,J+5),IJ(this,J+3,J+4);return this};d0.prototype.toString=function(){let I=this.length;if(I===0)return"";if(arguments.length===0)return IS(this,0,I);return Ox.apply(this,arguments)};d0.prototype.toLocaleString=d0.prototype.toString;d0.prototype.equals=function(I){if(!d0.isBuffer(I))throw TypeError("Argument must be a Buffer");if(this===I)return!0;return d0.compare(this,I)===0};d0.prototype.inspect=function(){let I="",J=t_;if(I=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J)I+=" ... ";return"<Buffer "+I+">"};if(d_)d0.prototype[d_]=d0.prototype.inspect;d0.prototype.compare=function(I,J,Q,z,X){if(B6(I,Uint8Array))I=d0.from(I,I.offset,I.byteLength);if(!d0.isBuffer(I))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof I);if(J===void 0)J=0;if(Q===void 0)Q=I?I.length:0;if(z===void 0)z=0;if(X===void 0)X=this.length;if(J<0||Q>I.length||z<0||X>this.length)throw RangeError("out of range index");if(z>=X&&J>=Q)return 0;if(z>=X)return-1;if(J>=Q)return 1;if(J>>>=0,Q>>>=0,z>>>=0,X>>>=0,this===I)return 0;let W=X-z,Z=Q-J,L=Math.min(W,Z),j=this.slice(z,X),P=I.slice(J,Q);for(let S=0;S<L;++S)if(j[S]!==P[S]){W=j[S],Z=P[S];break}if(W<Z)return-1;if(Z<W)return 1;return 0};d0.prototype.includes=function(I,J,Q){return this.indexOf(I,J,Q)!==-1};d0.prototype.indexOf=function(I,J,Q){return US(this,I,J,Q,!0)};d0.prototype.lastIndexOf=function(I,J,Q){return US(this,I,J,Q,!1)};d0.prototype.write=function(I,J,Q,z){if(J===void 0)z="utf8",Q=this.length,J=0;else if(Q===void 0&&typeof J==="string")z=J,Q=this.length,J=0;else if(isFinite(J))if(J=J>>>0,isFinite(Q)){if(Q=Q>>>0,z===void 0)z="utf8"}else z=Q,Q=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let X=this.length-J;if(Q===void 0||Q>X)Q=X;if(I.length>0&&(Q<0||J<0)||J>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!z)z="utf8";let W=!1;for(;;)switch(z){case"hex":return Vx(this,I,J,Q);case"utf8":case"utf-8":return Fx(this,I,J,Q);case"ascii":case"latin1":case"binary":return Hx(this,I,J,Q);case"base64":return Dx(this,I,J,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lx(this,I,J,Q);default:if(W)throw TypeError("Unknown encoding: "+z);z=(""+z).toLowerCase(),W=!0}};d0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};d0.prototype.slice=function(I,J){let Q=this.length;if(I=~~I,J=J===void 0?Q:~~J,I<0){if(I+=Q,I<0)I=0}else if(I>Q)I=Q;if(J<0){if(J+=Q,J<0)J=0}else if(J>Q)J=Q;if(J<I)J=I;let z=this.subarray(I,J);return Object.setPrototypeOf(z,d0.prototype),z};d0.prototype.readUintLE=d0.prototype.readUIntLE=function(I,J,Q){if(I=I>>>0,J=J>>>0,!Q)H1(I,J,this.length);let z=this[I],X=1,W=0;while(++W<J&&(X*=256))z+=this[I+W]*X;return z};d0.prototype.readUintBE=d0.prototype.readUIntBE=function(I,J,Q){if(I=I>>>0,J=J>>>0,!Q)H1(I,J,this.length);let z=this[I+--J],X=1;while(J>0&&(X*=256))z+=this[I+--J]*X;return z};d0.prototype.readUint8=d0.prototype.readUInt8=function(I,J){if(I=I>>>0,!J)H1(I,1,this.length);return this[I]};d0.prototype.readUint16LE=d0.prototype.readUInt16LE=function(I,J){if(I=I>>>0,!J)H1(I,2,this.length);return this[I]|this[I+1]<<8};d0.prototype.readUint16BE=d0.prototype.readUInt16BE=function(I,J){if(I=I>>>0,!J)H1(I,2,this.length);return this[I]<<8|this[I+1]};d0.prototype.readUint32LE=d0.prototype.readUInt32LE=function(I,J){if(I=I>>>0,!J)H1(I,4,this.length);return(this[I]|this[I+1]<<8|this[I+2]<<16)+this[I+3]*16777216};d0.prototype.readUint32BE=d0.prototype.readUInt32BE=function(I,J){if(I=I>>>0,!J)H1(I,4,this.length);return this[I]*16777216+(this[I+1]<<16|this[I+2]<<8|this[I+3])};d0.prototype.readBigUInt64LE=IX(function(I){I=I>>>0,qY(I,"offset");let J=this[I],Q=this[I+7];if(J===void 0||Q===void 0)iG(I,this.length-8);let z=J+this[++I]*256+this[++I]*65536+this[++I]*16777216,X=this[++I]+this[++I]*256+this[++I]*65536+Q*16777216;return BigInt(z)+(BigInt(X)<<BigInt(32))});d0.prototype.readBigUInt64BE=IX(function(I){I=I>>>0,qY(I,"offset");let J=this[I],Q=this[I+7];if(J===void 0||Q===void 0)iG(I,this.length-8);let z=J*16777216+this[++I]*65536+this[++I]*256+this[++I],X=this[++I]*16777216+this[++I]*65536+this[++I]*256+Q;return(BigInt(z)<<BigInt(32))+BigInt(X)});d0.prototype.readIntLE=function(I,J,Q){if(I=I>>>0,J=J>>>0,!Q)H1(I,J,this.length);let z=this[I],X=1,W=0;while(++W<J&&(X*=256))z+=this[I+W]*X;if(X*=128,z>=X)z-=Math.pow(2,8*J);return z};d0.prototype.readIntBE=function(I,J,Q){if(I=I>>>0,J=J>>>0,!Q)H1(I,J,this.length);let z=J,X=1,W=this[I+--z];while(z>0&&(X*=256))W+=this[I+--z]*X;if(X*=128,W>=X)W-=Math.pow(2,8*J);return W};d0.prototype.readInt8=function(I,J){if(I=I>>>0,!J)H1(I,1,this.length);if(!(this[I]&128))return this[I];return(255-this[I]+1)*-1};d0.prototype.readInt16LE=function(I,J){if(I=I>>>0,!J)H1(I,2,this.length);let Q=this[I]|this[I+1]<<8;return Q&32768?Q|4294901760:Q};d0.prototype.readInt16BE=function(I,J){if(I=I>>>0,!J)H1(I,2,this.length);let Q=this[I+1]|this[I]<<8;return Q&32768?Q|4294901760:Q};d0.prototype.readInt32LE=function(I,J){if(I=I>>>0,!J)H1(I,4,this.length);return this[I]|this[I+1]<<8|this[I+2]<<16|this[I+3]<<24};d0.prototype.readInt32BE=function(I,J){if(I=I>>>0,!J)H1(I,4,this.length);return this[I]<<24|this[I+1]<<16|this[I+2]<<8|this[I+3]};d0.prototype.readBigInt64LE=IX(function(I){I=I>>>0,qY(I,"offset");let J=this[I],Q=this[I+7];if(J===void 0||Q===void 0)iG(I,this.length-8);let z=this[I+4]+this[I+5]*256+this[I+6]*65536+(Q<<24);return(BigInt(z)<<BigInt(32))+BigInt(J+this[++I]*256+this[++I]*65536+this[++I]*16777216)});d0.prototype.readBigInt64BE=IX(function(I){I=I>>>0,qY(I,"offset");let J=this[I],Q=this[I+7];if(J===void 0||Q===void 0)iG(I,this.length-8);let z=(J<<24)+this[++I]*65536+this[++I]*256+this[++I];return(BigInt(z)<<BigInt(32))+BigInt(this[++I]*16777216+this[++I]*65536+this[++I]*256+Q)});d0.prototype.readFloatLE=function(I,J){if(I=I>>>0,!J)H1(I,4,this.length);return Y8(this,I,!0,23,4)};d0.prototype.readFloatBE=function(I,J){if(I=I>>>0,!J)H1(I,4,this.length);return Y8(this,I,!1,23,4)};d0.prototype.readDoubleLE=function(I,J){if(I=I>>>0,!J)H1(I,8,this.length);return Y8(this,I,!0,52,8)};d0.prototype.readDoubleBE=function(I,J){if(I=I>>>0,!J)H1(I,8,this.length);return Y8(this,I,!1,52,8)};d0.prototype.writeUintLE=d0.prototype.writeUIntLE=function(I,J,Q,z){if(I=+I,J=J>>>0,Q=Q>>>0,!z){let Z=Math.pow(2,8*Q)-1;a1(this,I,J,Q,Z,0)}let X=1,W=0;this[J]=I&255;while(++W<Q&&(X*=256))this[J+W]=I/X&255;return J+Q};d0.prototype.writeUintBE=d0.prototype.writeUIntBE=function(I,J,Q,z){if(I=+I,J=J>>>0,Q=Q>>>0,!z){let Z=Math.pow(2,8*Q)-1;a1(this,I,J,Q,Z,0)}let X=Q-1,W=1;this[J+X]=I&255;while(--X>=0&&(W*=256))this[J+X]=I/W&255;return J+Q};d0.prototype.writeUint8=d0.prototype.writeUInt8=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,1,255,0);return this[J]=I&255,J+1};d0.prototype.writeUint16LE=d0.prototype.writeUInt16LE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,2,65535,0);return this[J]=I&255,this[J+1]=I>>>8,J+2};d0.prototype.writeUint16BE=d0.prototype.writeUInt16BE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,2,65535,0);return this[J]=I>>>8,this[J+1]=I&255,J+2};d0.prototype.writeUint32LE=d0.prototype.writeUInt32LE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,4,4294967295,0);return this[J+3]=I>>>24,this[J+2]=I>>>16,this[J+1]=I>>>8,this[J]=I&255,J+4};d0.prototype.writeUint32BE=d0.prototype.writeUInt32BE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,4,4294967295,0);return this[J]=I>>>24,this[J+1]=I>>>16,this[J+2]=I>>>8,this[J+3]=I&255,J+4};d0.prototype.writeBigUInt64LE=IX(function(I,J=0){return XS(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});d0.prototype.writeBigUInt64BE=IX(function(I,J=0){return JS(this,I,J,BigInt(0),BigInt("0xffffffffffffffff"))});d0.prototype.writeIntLE=function(I,J,Q,z){if(I=+I,J=J>>>0,!z){let L=Math.pow(2,8*Q-1);a1(this,I,J,Q,L-1,-L)}let X=0,W=1,Z=0;this[J]=I&255;while(++X<Q&&(W*=256)){if(I<0&&Z===0&&this[J+X-1]!==0)Z=1;this[J+X]=(I/W>>0)-Z&255}return J+Q};d0.prototype.writeIntBE=function(I,J,Q,z){if(I=+I,J=J>>>0,!z){let L=Math.pow(2,8*Q-1);a1(this,I,J,Q,L-1,-L)}let X=Q-1,W=1,Z=0;this[J+X]=I&255;while(--X>=0&&(W*=256)){if(I<0&&Z===0&&this[J+X+1]!==0)Z=1;this[J+X]=(I/W>>0)-Z&255}return J+Q};d0.prototype.writeInt8=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,1,127,-128);if(I<0)I=255+I+1;return this[J]=I&255,J+1};d0.prototype.writeInt16LE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,2,32767,-32768);return this[J]=I&255,this[J+1]=I>>>8,J+2};d0.prototype.writeInt16BE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,2,32767,-32768);return this[J]=I>>>8,this[J+1]=I&255,J+2};d0.prototype.writeInt32LE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,4,2147483647,-2147483648);return this[J]=I&255,this[J+1]=I>>>8,this[J+2]=I>>>16,this[J+3]=I>>>24,J+4};d0.prototype.writeInt32BE=function(I,J,Q){if(I=+I,J=J>>>0,!Q)a1(this,I,J,4,2147483647,-2147483648);if(I<0)I=4294967295+I+1;return this[J]=I>>>24,this[J+1]=I>>>16,this[J+2]=I>>>8,this[J+3]=I&255,J+4};d0.prototype.writeBigInt64LE=IX(function(I,J=0){return XS(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d0.prototype.writeBigInt64BE=IX(function(I,J=0){return JS(this,I,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});d0.prototype.writeFloatLE=function(I,J,Q){return QS(this,I,J,!0,Q)};d0.prototype.writeFloatBE=function(I,J,Q){return QS(this,I,J,!1,Q)};d0.prototype.writeDoubleLE=function(I,J,Q){return GS(this,I,J,!0,Q)};d0.prototype.writeDoubleBE=function(I,J,Q){return GS(this,I,J,!1,Q)};d0.prototype.copy=function(I,J,Q,z){if(!d0.isBuffer(I))throw TypeError("argument should be a Buffer");if(!Q)Q=0;if(!z&&z!==0)z=this.length;if(J>=I.length)J=I.length;if(!J)J=0;if(z>0&&z<Q)z=Q;if(z===Q)return 0;if(I.length===0||this.length===0)return 0;if(J<0)throw RangeError("targetStart out of bounds");if(Q<0||Q>=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(I.length-J<z-Q)z=I.length-J+Q;let X=z-Q;if(this===I&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(J,Q,z);else Uint8Array.prototype.set.call(I,this.subarray(Q,z),J);return X};d0.prototype.fill=function(I,J,Q,z){if(typeof I==="string"){if(typeof J==="string")z=J,J=0,Q=this.length;else if(typeof Q==="string")z=Q,Q=this.length;if(z!==void 0&&typeof z!=="string")throw TypeError("encoding must be a string");if(typeof z==="string"&&!d0.isEncoding(z))throw TypeError("Unknown encoding: "+z);if(I.length===1){let W=I.charCodeAt(0);if(z==="utf8"&&W<128||z==="latin1")I=W}}else if(typeof I==="number")I=I&255;else if(typeof I==="boolean")I=Number(I);if(J<0||this.length<J||this.length<Q)throw RangeError("Out of range index");if(Q<=J)return this;if(J=J>>>0,Q=Q===void 0?this.length:Q>>>0,!I)I=0;let X;if(typeof I==="number")for(X=J;X<Q;++X)this[X]=I;else{let W=d0.isBuffer(I)?I:d0.from(I,z),Z=W.length;if(Z===0)throw TypeError('The value "'+I+'" is invalid for argument "value"');for(X=0;X<Q-J;++X)this[X+J]=W[X%Z]}return this};_x=/[^+/0-9A-Za-z-_]/g;Bx=function(){let I=Array(256);for(let J=0;J<16;++J){let Q=J*16;for(let z=0;z<16;++z)I[Q+z]="0123456789abcdef"[J]+"0123456789abcdef"[z]}return I}();Nx=tV("resolveObjectURL"),kx=tV("isUtf8"),xx=tV("transcode"),wx=d0});var _Y={};f1(_Y,{types:()=>dx,promisify:()=>HS,log:()=>OS,isUndefined:()=>RY,isSymbol:()=>ox,isString:()=>O8,isRegExp:()=>G8,isPrimitive:()=>ix,isObject:()=>PY,isNumber:()=>zS,isNullOrUndefined:()=>nx,isNull:()=>z8,isFunction:()=>K8,isError:()=>Z8,isDate:()=>$F,isBuffer:()=>rx,isBoolean:()=>IF,isArray:()=>WS,inspect:()=>XJ,inherits:()=>VS,format:()=>UF,deprecate:()=>yx,default:()=>sx,debuglog:()=>bx,callbackifyOnRejected:()=>YF,callbackify:()=>DS,_extend:()=>JF,TextEncoder:()=>LS,TextDecoder:()=>MS});function UF(I,...J){if(!O8(I)){var Q=[I];for(var z=0;z<J.length;z++)Q.push(XJ(J[z]));return Q.join(" ")}var z=0,X=J.length,W=String(I).replace(fx,function(L){if(L==="%%")return"%";if(z>=X)return L;switch(L){case"%s":return String(J[z++]);case"%d":return Number(J[z++]);case"%j":try{return JSON.stringify(J[z++])}catch(j){return"[Circular]"}default:return L}});for(var Z=J[z];z<X;Z=J[++z])if(z8(Z)||!PY(Z))W+=" "+Z;else W+=" "+XJ(Z);return W}function yx(I,J){if(typeof process>"u"||process?.noDeprecation===!0)return I;var Q=!1;function z(...X){if(!Q){if(process.throwDeprecation)throw Error(J);else if(process.traceDeprecation)console.trace(J);else console.error(J);Q=!0}return I.apply(this,...X)}return z}function ux(I,J){var Q=XJ.styles[J];if(Q)return"\x1B["+XJ.colors[Q][0]+"m"+I+"\x1B["+XJ.colors[Q][1]+"m";else return I}function hx(I,J){return I}function cx(I){var J={};return I.forEach(function(Q,z){J[Q]=!0}),J}function W8(I,J,Q){if(I.customInspect&&J&&K8(J.inspect)&&J.inspect!==XJ&&!(J.constructor&&J.constructor.prototype===J)){var z=J.inspect(Q,I);if(!O8(z))z=W8(I,z,Q);return z}var X=px(I,J);if(X)return X;var W=Object.keys(J),Z=cx(W);if(I.showHidden)W=Object.getOwnPropertyNames(J);if(Z8(J)&&(W.indexOf("message")>=0||W.indexOf("description")>=0))return aV(J);if(W.length===0){if(K8(J)){var L=J.name?": "+J.name:"";return I.stylize("[Function"+L+"]","special")}if(G8(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");if($F(J))return I.stylize(Date.prototype.toString.call(J),"date");if(Z8(J))return aV(J)}var j="",P=!1,S=["{","}"];if(WS(J))P=!0,S=["[","]"];if(K8(J)){var T=J.name?": "+J.name:"";j=" [Function"+T+"]"}if(G8(J))j=" "+RegExp.prototype.toString.call(J);if($F(J))j=" "+Date.prototype.toUTCString.call(J);if(Z8(J))j=" "+aV(J);if(W.length===0&&(!P||J.length==0))return S[0]+j+S[1];if(Q<0)if(G8(J))return I.stylize(RegExp.prototype.toString.call(J),"regexp");else return I.stylize("[Object]","special");I.seen.push(J);var _;if(P)_=mx(I,J,Q,Z,W);else _=W.map(function(B){return eV(I,J,Q,Z,B,P)});return I.seen.pop(),lx(_,j,S)}function px(I,J){if(RY(J))return I.stylize("undefined","undefined");if(O8(J)){var Q="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(Q,"string")}if(zS(J))return I.stylize(""+J,"number");if(IF(J))return I.stylize(""+J,"boolean");if(z8(J))return I.stylize("null","null")}function aV(I){return"["+Error.prototype.toString.call(I)+"]"}function mx(I,J,Q,z,X){var W=[];for(var Z=0,L=J.length;Z<L;++Z)if(FS(J,String(Z)))W.push(eV(I,J,Q,z,String(Z),!0));else W.push("");return X.forEach(function(j){if(!j.match(/^\d+$/))W.push(eV(I,J,Q,z,j,!0))}),W}function eV(I,J,Q,z,X,W){var Z,L,j;if(j=Object.getOwnPropertyDescriptor(J,X)||{value:J[X]},j.get)if(j.set)L=I.stylize("[Getter/Setter]","special");else L=I.stylize("[Getter]","special");else if(j.set)L=I.stylize("[Setter]","special");if(!FS(z,X))Z="["+X+"]";if(!L)if(I.seen.indexOf(j.value)<0){if(z8(Q))L=W8(I,j.value,null);else L=W8(I,j.value,Q-1);if(L.indexOf(`
231
+ `)>-1)if(W)L=L.split(`
232
+ `).map(function(P){return" "+P}).join(`
233
+ `).slice(2);else L=`
234
+ `+L.split(`
235
+ `).map(function(P){return" "+P}).join(`
236
+ `)}else L=I.stylize("[Circular]","special");if(RY(Z)){if(W&&X.match(/^\d+$/))return L;if(Z=JSON.stringify(""+X),Z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))Z=Z.slice(1,-1),Z=I.stylize(Z,"name");else Z=Z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Z=I.stylize(Z,"string")}return Z+": "+L}function lx(I,J,Q){var z=0,X=I.reduce(function(W,Z){if(z++,Z.indexOf(`
237
+ `)>=0)z++;return W+Z.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(X>60)return Q[0]+(J===""?"":J+`
238
+ `)+" "+I.join(`,
239
+ `)+" "+Q[1];return Q[0]+J+" "+I.join(", ")+" "+Q[1]}function WS(I){return Array.isArray(I)}function IF(I){return typeof I==="boolean"}function z8(I){return I===null}function nx(I){return I==null}function zS(I){return typeof I==="number"}function O8(I){return typeof I==="string"}function ox(I){return typeof I==="symbol"}function RY(I){return I===void 0}function G8(I){return PY(I)&&XF(I)==="[object RegExp]"}function PY(I){return typeof I==="object"&&I!==null}function $F(I){return PY(I)&&XF(I)==="[object Date]"}function Z8(I){return PY(I)&&(XF(I)==="[object Error]"||I instanceof Error)}function K8(I){return typeof I==="function"}function ix(I){return I===null||typeof I==="boolean"||typeof I==="number"||typeof I==="string"||typeof I==="symbol"||typeof I>"u"}function rx(I){return I instanceof Buffer}function XF(I){return Object.prototype.toString.call(I)}function sV(I){return I<10?"0"+I.toString(10):I.toString(10)}function ax(){var I=new Date,J=[sV(I.getHours()),sV(I.getMinutes()),sV(I.getSeconds())].join(":");return[I.getDate(),tx[I.getMonth()],J].join(" ")}function OS(...I){console.log("%s - %s",ax(),UF.apply(null,I))}function VS(I,J){if(J)I.super_=J,I.prototype=Object.create(J.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})}function JF(I,J){if(!J||!PY(J))return I;var Q=Object.keys(J),z=Q.length;while(z--)I[Q[z]]=J[Q[z]];return I}function FS(I,J){return Object.prototype.hasOwnProperty.call(I,J)}function YF(I,J){if(!I){var Q=Error("Promise was rejected with a falsy value");Q.reason=I,I=Q}return J(I)}function DS(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');function J(...Q){var z=Q.pop();if(typeof z!=="function")throw TypeError("The last argument must be of type Function");var X=this,W=function(...Z){return z.apply(X,...Z)};I.apply(this,Q).then(function(Z){process.nextTick(W.bind(null,null,Z))},function(Z){process.nextTick(YF.bind(null,Z,W))})}return Object.setPrototypeOf(J,Object.getPrototypeOf(I)),Object.defineProperties(J,Object.getOwnPropertyDescriptors(I)),J}var fx,bx,XJ,dx=()=>{},tx,HS,LS,MS,sx;var SY=TY(()=>{fx=/%[sdj%]/g;bx=((I={},J={},Q)=>((Q=typeof process<"u"&&!1)&&(Q=Q.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),J=new RegExp("^"+Q+"$","i"),(z)=>{if(z=z.toUpperCase(),!I[z])if(J.test(z))I[z]=function(...X){console.error("%s: %s",z,pid,UF.apply(null,...X))};else I[z]=function(){};return I[z]}))(),XJ=((I)=>(I.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},I.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},I.custom=Symbol.for("nodejs.util.inspect.custom"),I))(function(I,J,...Q){var z={seen:[],stylize:hx};if(Q.length>=1)z.depth=Q[0];if(Q.length>=2)z.colors=Q[1];if(IF(J))z.showHidden=J;else if(J)JF(z,J);if(RY(z.showHidden))z.showHidden=!1;if(RY(z.depth))z.depth=2;if(RY(z.colors))z.colors=!1;if(z.colors)z.stylize=ux;return W8(z,I,z.depth)});tx=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];HS=((I)=>(I.custom=Symbol.for("nodejs.util.promisify.custom"),I))(function(I){if(typeof I!=="function")throw TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&I[kCustomPromisifiedSymbol]){var J=I[kCustomPromisifiedSymbol];if(typeof J!=="function")throw TypeError('The "nodejs.util.promisify.custom" argument must be of type Function');return Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0}),J}function J(...Q){var z,X,W=new Promise(function(Z,L){z=Z,X=L});Q.push(function(Z,L){if(Z)X(Z);else z(L)});try{I.apply(this,Q)}catch(Z){X(Z)}return W}if(Object.setPrototypeOf(J,Object.getPrototypeOf(I)),kCustomPromisifiedSymbol)Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0});return Object.defineProperties(J,Object.getOwnPropertyDescriptors(I))});({TextEncoder:LS,TextDecoder:MS}=globalThis),sx={TextEncoder:LS,TextDecoder:MS,promisify:HS,log:OS,inherits:VS,_extend:JF,callbackifyOnRejected:YF,callbackify:DS}});var jY={};f1(jY,{setMaxListeners:()=>BS,once:()=>ES,listenerCount:()=>vS,init:()=>XX,getMaxListeners:()=>kS,getEventListeners:()=>jS,default:()=>Gw,captureRejectionSymbol:()=>RS,addAbortListener:()=>gS,EventEmitter:()=>XX});function PS(I,J){var{_events:Q}=I;if(J[0]??=Error("Unhandled error."),!Q)throw J[0];var z=Q[qS];if(z)for(var X of TS.call(z))X.apply(I,J);var W=Q.error;if(!W)throw J[0];for(var X of TS.call(W))X.apply(I,J);return!0}function Uw(I,J,Q,z){J.then(void 0,function(X){queueMicrotask(()=>Iw(I,X,Q,z))})}function Iw(I,J,Q,z){if(typeof I[AS]==="function")I[AS](J,Q,...z);else try{I[JJ]=!1,I.emit("error",J)}finally{I[JJ]=!0}}function _S(I,J,Q){Q.warned=!0;let z=Error(`Possible EventEmitter memory leak detected. ${Q.length} ${String(J)} listeners added to [${I.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);z.name="MaxListenersExceededWarning",z.emitter=I,z.type=J,z.count=Q.length,console.warn(z)}function SS(I,J,...Q){this.removeListener(I,J),J.apply(this,Q)}function ES(I,J,Q){var z=Q?.signal;if(NS(z,"options.signal"),z?.aborted)throw new QF(void 0,{cause:z?.reason});let{resolve:X,reject:W,promise:Z}=$newPromiseCapability(Promise),L=(S)=>{if(I.removeListener(J,j),z!=null)V8(z,"abort",P);W(S)},j=(...S)=>{if(typeof I.removeListener==="function")I.removeListener("error",L);if(z!=null)V8(z,"abort",P);X(S)};if(CS(I,J,j,{once:!0}),J!=="error"&&typeof I.once==="function")I.once("error",L);function P(){V8(I,J,j),V8(I,"error",L),W(new QF(void 0,{cause:z?.reason}))}if(z!=null)CS(z,"abort",P,{once:!0});return Z}function jS(I,J){return I.listeners(J)}function BS(I,...J){ZF(I,"setMaxListeners",0);var Q;if(J&&(Q=J.length))for(let z=0;z<Q;z++)J[z].setMaxListeners(I);else YJ=I}function vS(I,J){return I.listenerCount(J)}function V8(I,J,Q,z){if(typeof I.removeListener==="function")I.removeListener(J,Q);else I.removeEventListener(J,Q,z)}function CS(I,J,Q,z){if(typeof I.on==="function")if(z.once)I.once(J,Q);else I.on(J,Q);else I.addEventListener(J,Q,z)}function EY(I,J,Q){let z=TypeError(`The "${I}" argument must be of type ${J}. Received ${Q}`);return z.code="ERR_INVALID_ARG_TYPE",z}function Yw(I,J,Q){let z=RangeError(`The "${I}" argument is out of range. It must be ${J}. Received ${Q}`);return z.code="ERR_OUT_OF_RANGE",z}function NS(I,J){if(I!==void 0&&(I===null||typeof I!=="object"||!("aborted"in I)))throw EY(J,"AbortSignal",I)}function ZF(I,J,Q,z){if(typeof I!=="number")throw EY(J,"number",I);if(Q!=null&&I<Q||z!=null&&I>z||(Q!=null||z!=null)&&Number.isNaN(I))throw Yw(J,`${Q!=null?`>= ${Q}`:""}${Q!=null&&z!=null?" && ":""}${z!=null?`<= ${z}`:""}`,I)}function rG(I){if(typeof I!=="function")throw TypeError("The listener must be a function")}function Qw(I,J){if(typeof I!=="boolean")throw EY(J,"boolean",I)}function kS(I){return I?._maxListeners??YJ}function gS(I,J){if(I===void 0)throw EY("signal","AbortSignal",I);if(NS(I,"signal"),typeof J!=="function")throw EY("listener","function",J);let Q;if(I.aborted)queueMicrotask(()=>J());else I.addEventListener("abort",J,{__proto__:null,once:!0}),Q=()=>{I.removeEventListener("abort",J)};return{__proto__:null,[Symbol.dispose](){Q?.()}}}var GF,JJ,qS,ex,$w,AS,RS,TS,YJ=10,XX=function(I){if(this._events===void 0||this._events===this.__proto__._events)this._events={__proto__:null},this._eventsCount=0;if(this._maxListeners??=void 0,this[JJ]=I?.captureRejections?Boolean(I?.captureRejections):jU[JJ])this.emit=Jw},jU,Xw=function(I,...J){if(I==="error")return PS(this,J);var{_events:Q}=this;if(Q===void 0)return!1;var z=Q[I];if(z===void 0)return!1;let X=z.length>1?z.slice():z;for(let W=0,{length:Z}=X;W<Z;W++){let L=X[W];switch(J.length){case 0:L.call(this);break;case 1:L.call(this,J[0]);break;case 2:L.call(this,J[0],J[1]);break;case 3:L.call(this,J[0],J[1],J[2]);break;default:L.apply(this,J);break}}return!0},Jw=function(I,...J){if(I==="error")return PS(this,J);var{_events:Q}=this;if(Q===void 0)return!1;var z=Q[I];if(z===void 0)return!1;let X=z.length>1?z.slice():z;for(let W=0,{length:Z}=X;W<Z;W++){let L=X[W],j;switch(J.length){case 0:j=L.call(this);break;case 1:j=L.call(this,J[0]);break;case 2:j=L.call(this,J[0],J[1]);break;case 3:j=L.call(this,J[0],J[1],J[2]);break;default:j=L.apply(this,J);break}if(j!==void 0&&typeof j?.then==="function"&&j.then===Promise.prototype.then)Uw(this,j,I,J)}return!0},QF,Gw;var BY=TY(()=>{GF=Symbol.for,JJ=Symbol("kCapture"),qS=GF("events.errorMonitor"),ex=Symbol("events.maxEventTargetListeners"),$w=Symbol("events.maxEventTargetListenersWarned"),AS=GF("nodejs.rejection"),RS=GF("nodejs.rejection"),TS=Array.prototype.slice,jU=XX.prototype={};jU._events=void 0;jU._eventsCount=0;jU._maxListeners=void 0;jU.setMaxListeners=function(I){return ZF(I,"setMaxListeners",0),this._maxListeners=I,this};jU.constructor=XX;jU.getMaxListeners=function(){return this?._maxListeners??YJ};jU.emit=Xw;jU.addListener=function(I,J){rG(J);var Q=this._events;if(!Q)Q=this._events={__proto__:null},this._eventsCount=0;else if(Q.newListener)this.emit("newListener",I,J.listener??J);var z=Q[I];if(!z)Q[I]=[J],this._eventsCount++;else{z.push(J);var X=this._maxListeners??YJ;if(X>0&&z.length>X&&!z.warned)_S(this,I,z)}return this};jU.on=jU.addListener;jU.prependListener=function(I,J){rG(J);var Q=this._events;if(!Q)Q=this._events={__proto__:null},this._eventsCount=0;else if(Q.newListener)this.emit("newListener",I,J.listener??J);var z=Q[I];if(!z)Q[I]=[J],this._eventsCount++;else{z.unshift(J);var X=this._maxListeners??YJ;if(X>0&&z.length>X&&!z.warned)_S(this,I,z)}return this};jU.once=function(I,J){rG(J);let Q=SS.bind(this,I,J);return Q.listener=J,this.addListener(I,Q),this};jU.prependOnceListener=function(I,J){rG(J);let Q=SS.bind(this,I,J);return Q.listener=J,this.prependListener(I,Q),this};jU.removeListener=function(I,J){rG(J);var{_events:Q}=this;if(!Q)return this;var z=Q[I];if(!z)return this;var X=z.length;let W=-1;for(let Z=X-1;Z>=0;Z--)if(z[Z]===J||z[Z].listener===J){W=Z;break}if(W<0)return this;if(W===0)z.shift();else z.splice(W,1);if(z.length===0)delete Q[I],this._eventsCount--;return this};jU.off=jU.removeListener;jU.removeAllListeners=function(I){var{_events:J}=this;if(I&&J){if(J[I])delete J[I],this._eventsCount--}else this._events={__proto__:null};return this};jU.listeners=function(I){var{_events:J}=this;if(!J)return[];var Q=J[I];if(!Q)return[];return Q.map((z)=>z.listener??z)};jU.rawListeners=function(I){var{_events:J}=this;if(!J)return[];var Q=J[I];if(!Q)return[];return Q.slice()};jU.listenerCount=function(I){var{_events:J}=this;if(!J)return 0;return J[I]?.length??0};jU.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};jU[JJ]=!1;QF=class QF extends Error{constructor(I="The operation was aborted",J=void 0){if(J!==void 0&&typeof J!=="object")throw EY("options","Object",J);super(I,J);this.code="ABORT_ERR",this.name="AbortError"}};Object.defineProperties(XX,{captureRejections:{get(){return jU[JJ]},set(I){Qw(I,"EventEmitter.captureRejections"),jU[JJ]=I},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return YJ},set:(I)=>{ZF(I,"defaultMaxListeners",0),YJ=I}},kMaxEventTargetListeners:{value:ex,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:$w,enumerable:!1,configurable:!1,writable:!1}});Object.assign(XX,{once:ES,getEventListeners:jS,getMaxListeners:kS,setMaxListeners:BS,EventEmitter:XX,usingDomains:!1,captureRejectionSymbol:RS,errorMonitor:qS,addAbortListener:gS,init:XX,listenerCount:vS});Gw=XX});var NY=UX((Cd,cS)=>{var XU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),fU=XU((I,J)=>{class Q extends Error{constructor(z){if(!Array.isArray(z))throw TypeError(`Expected input to be an Array, got ${typeof z}`);let X="";for(let W=0;W<z.length;W++)X+=` ${z[W].stack}
240
+ `;super(X);this.name="AggregateError",this.errors=z}}J.exports={AggregateError:Q,ArrayIsArray(z){return Array.isArray(z)},ArrayPrototypeIncludes(z,X){return z.includes(X)},ArrayPrototypeIndexOf(z,X){return z.indexOf(X)},ArrayPrototypeJoin(z,X){return z.join(X)},ArrayPrototypeMap(z,X){return z.map(X)},ArrayPrototypePop(z,X){return z.pop(X)},ArrayPrototypePush(z,X){return z.push(X)},ArrayPrototypeSlice(z,X,W){return z.slice(X,W)},Error,FunctionPrototypeCall(z,X,...W){return z.call(X,...W)},FunctionPrototypeSymbolHasInstance(z,X){return Function.prototype[Symbol.hasInstance].call(z,X)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(z,X){return Object.defineProperties(z,X)},ObjectDefineProperty(z,X,W){return Object.defineProperty(z,X,W)},ObjectGetOwnPropertyDescriptor(z,X){return Object.getOwnPropertyDescriptor(z,X)},ObjectKeys(z){return Object.keys(z)},ObjectSetPrototypeOf(z,X){return Object.setPrototypeOf(z,X)},Promise,PromisePrototypeCatch(z,X){return z.catch(X)},PromisePrototypeThen(z,X,W){return z.then(X,W)},PromiseReject(z){return Promise.reject(z)},PromiseResolve(z){return Promise.resolve(z)},ReflectApply:Reflect.apply,RegExpPrototypeTest(z,X){return z.test(X)},SafeSet:Set,String,StringPrototypeSlice(z,X,W){return z.slice(X,W)},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,X,W){return z.set(X,W)},Boolean,Uint8Array}}),xS=XU((I,J)=>{J.exports={format(Q,...z){return Q.replace(/%([sdifj])/g,function(...[X,W]){let Z=z.shift();if(W==="f")return Z.toFixed(6);else if(W==="j")return JSON.stringify(Z);else if(W==="s"&&typeof Z==="object")return`${Z.constructor!==Object?Z.constructor.name:""} {}`.trim();else return Z.toString()})},inspect(Q){switch(typeof Q){case"string":if(Q.includes("'")){if(!Q.includes('"'))return`"${Q}"`;else if(!Q.includes("`")&&!Q.includes("${"))return`\`${Q}\``}return`'${Q}'`;case"number":if(isNaN(Q))return"NaN";else if(Object.is(Q,-0))return String(Q);return Q;case"bigint":return`${String(Q)}n`;case"boolean":case"undefined":return String(Q);case"object":return"{}"}}}}),y1=XU((I,J)=>{var{format:Q,inspect:z}=xS(),{AggregateError:X}=fU(),W=globalThis.AggregateError||X,Z=Symbol("kIsNodeError"),L=["string","function","number","object","Function","Object","boolean","bigint","symbol"],j=/^([A-Z][a-z0-9]*)+$/,P={};function S(u,g){if(!u)throw new P.ERR_INTERNAL_ASSERTION(g)}function T(u){let g="",b=u.length,p=u[0]==="-"?1:0;for(;b>=p+4;b-=3)g=`_${u.slice(b-3,b)}${g}`;return`${u.slice(0,b)}${g}`}function _(u,g,b){if(typeof g==="function")return S(g.length<=b.length,`Code: ${u}; The provided arguments length (${b.length}) does not match the required ones (${g.length}).`),g(...b);let p=(g.match(/%[dfijoOs]/g)||[]).length;if(S(p===b.length,`Code: ${u}; The provided arguments length (${b.length}) does not match the required ones (${p}).`),b.length===0)return g;return Q(g,...b)}function B(u,g,b){if(!b)b=Error;class p extends b{constructor(...d){super(_(u,g,d))}toString(){return`${this.name} [${u}]: ${this.message}`}}Object.defineProperties(p.prototype,{name:{value:b.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${u}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),p.prototype.code=u,p.prototype[Z]=!0,P[u]=p}function N(u){let g="__node_internal_"+u.name;return Object.defineProperty(u,"name",{value:g}),u}function y(u,g){if(u&&g&&u!==g){if(Array.isArray(g.errors))return g.errors.push(u),g;let b=new W([g,u],g.message);return b.code=g.code,b}return u||g}class w extends Error{constructor(u="The operation was aborted",g=void 0){if(g!==void 0&&typeof g!=="object")throw new P.ERR_INVALID_ARG_TYPE("options","Object",g);super(u,g);this.code="ABORT_ERR",this.name="AbortError"}}B("ERR_ASSERTION","%s",Error),B("ERR_INVALID_ARG_TYPE",(u,g,b)=>{if(S(typeof u==="string","'name' must be a string"),!Array.isArray(g))g=[g];let p="The ";if(u.endsWith(" argument"))p+=`${u} `;else p+=`"${u}" ${u.includes(".")?"property":"argument"} `;p+="must be ";let d=[],a=[],H0=[];for(let S0 of g)if(S(typeof S0==="string","All expected entries have to be of type string"),L.includes(S0))d.push(S0.toLowerCase());else if(j.test(S0))a.push(S0);else S(S0!=="object",'The value "object" should be written as "Object"'),H0.push(S0);if(a.length>0){let S0=d.indexOf("object");if(S0!==-1)d.splice(d,S0,1),a.push("Object")}if(d.length>0){switch(d.length){case 1:p+=`of type ${d[0]}`;break;case 2:p+=`one of type ${d[0]} or ${d[1]}`;break;default:{let S0=d.pop();p+=`one of type ${d.join(", ")}, or ${S0}`}}if(a.length>0||H0.length>0)p+=" or "}if(a.length>0){switch(a.length){case 1:p+=`an instance of ${a[0]}`;break;case 2:p+=`an instance of ${a[0]} or ${a[1]}`;break;default:{let S0=a.pop();p+=`an instance of ${a.join(", ")}, or ${S0}`}}if(H0.length>0)p+=" or "}switch(H0.length){case 0:break;case 1:if(H0[0].toLowerCase()!==H0[0])p+="an ";p+=`${H0[0]}`;break;case 2:p+=`one of ${H0[0]} or ${H0[1]}`;break;default:{let S0=H0.pop();p+=`one of ${H0.join(", ")}, or ${S0}`}}if(b==null)p+=`. Received ${b}`;else if(typeof b==="function"&&b.name)p+=`. Received function ${b.name}`;else if(typeof b==="object"){var L0;if((L0=b.constructor)!==null&&L0!==void 0&&L0.name)p+=`. Received an instance of ${b.constructor.name}`;else{let S0=z(b,{depth:-1});p+=`. Received ${S0}`}}else{let S0=z(b,{colors:!1});if(S0.length>25)S0=`${S0.slice(0,25)}...`;p+=`. Received type ${typeof b} (${S0})`}return p},TypeError),B("ERR_INVALID_ARG_VALUE",(u,g,b="is invalid")=>{let p=z(g);if(p.length>128)p=p.slice(0,128)+"...";return`The ${u.includes(".")?"property":"argument"} '${u}' ${b}. Received ${p}`},TypeError),B("ERR_INVALID_RETURN_VALUE",(u,g,b)=>{var p;let d=b!==null&&b!==void 0&&(p=b.constructor)!==null&&p!==void 0&&p.name?`instance of ${b.constructor.name}`:`type ${typeof b}`;return`Expected ${u} to be returned from the "${g}" function but got ${d}.`},TypeError),B("ERR_MISSING_ARGS",(...u)=>{S(u.length>0,"At least one arg needs to be specified");let g,b=u.length;switch(u=(Array.isArray(u)?u:[u]).map((p)=>`"${p}"`).join(" or "),b){case 1:g+=`The ${u[0]} argument`;break;case 2:g+=`The ${u[0]} and ${u[1]} arguments`;break;default:{let p=u.pop();g+=`The ${u.join(", ")}, and ${p} arguments`}break}return`${g} must be specified`},TypeError),B("ERR_OUT_OF_RANGE",(u,g,b)=>{S(g,'Missing "range" argument');let p;if(Number.isInteger(b)&&Math.abs(b)>4294967296)p=T(String(b));else if(typeof b==="bigint"){p=String(b);let d=BigInt(2)**BigInt(32);if(b>d||b<-d)p=T(p);p+="n"}else p=z(b);return`The value of "${u}" is out of range. It must be ${g}. Received ${p}`},RangeError),B("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),B("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),B("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),B("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),B("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),B("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),B("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),B("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),B("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),B("ERR_STREAM_WRITE_AFTER_END","write after end",Error),B("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),J.exports={AbortError:w,aggregateTwoErrors:N(y),hideStackFrames:N,codes:P}}),Zw=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Q=new WeakMap,z=new WeakMap;function X(t){let q0=Q.get(t);return console.assert(q0!=null,"'this' is expected an Event object, but got",t),q0}function W(t){if(t.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}if(!t.event.cancelable)return;if(t.canceled=!0,typeof t.event.preventDefault==="function")t.event.preventDefault()}function Z(t,q0){Q.set(this,{eventTarget:t,event:q0,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:q0.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let G=Object.keys(q0);for(let V=0;V<G.length;++V){let D=G[V];if(!(D in this))Object.defineProperty(this,D,L(D))}}if(Z.prototype={get type(){return X(this).event.type},get target(){return X(this).eventTarget},get currentTarget(){return X(this).currentTarget},composedPath(){let t=X(this).currentTarget;if(t==null)return[];return[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return X(this).eventPhase},stopPropagation(){let t=X(this);if(t.stopped=!0,typeof t.event.stopPropagation==="function")t.event.stopPropagation()},stopImmediatePropagation(){let t=X(this);if(t.stopped=!0,t.immediateStopped=!0,typeof t.event.stopImmediatePropagation==="function")t.event.stopImmediatePropagation()},get bubbles(){return Boolean(X(this).event.bubbles)},get cancelable(){return Boolean(X(this).event.cancelable)},preventDefault(){W(X(this))},get defaultPrevented(){return X(this).canceled},get composed(){return Boolean(X(this).event.composed)},get timeStamp(){return X(this).timeStamp},get srcElement(){return X(this).eventTarget},get cancelBubble(){return X(this).stopped},set cancelBubble(t){if(!t)return;let q0=X(this);if(q0.stopped=!0,typeof q0.event.cancelBubble==="boolean")q0.event.cancelBubble=!0},get returnValue(){return!X(this).canceled},set returnValue(t){if(!t)W(X(this))},initEvent(){}},Object.defineProperty(Z.prototype,"constructor",{value:Z,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(Z.prototype,window.Event.prototype),z.set(window.Event.prototype,Z);function L(t){return{get(){return X(this).event[t]},set(q0){X(this).event[t]=q0},configurable:!0,enumerable:!0}}function j(t){return{value(){let q0=X(this).event;return q0[t].apply(q0,arguments)},configurable:!0,enumerable:!0}}function P(t,q0){let G=Object.keys(q0);if(G.length===0)return t;function V(D,O){t.call(this,D,O)}V.prototype=Object.create(t.prototype,{constructor:{value:V,configurable:!0,writable:!0}});for(let D=0;D<G.length;++D){let O=G[D];if(!(O in t.prototype)){let H=typeof Object.getOwnPropertyDescriptor(q0,O).value==="function";Object.defineProperty(V.prototype,O,H?j(O):L(O))}}return V}function S(t){if(t==null||t===Object.prototype)return Z;let q0=z.get(t);if(q0==null)q0=P(S(Object.getPrototypeOf(t)),t),z.set(t,q0);return q0}function T(t,q0){return new(S(Object.getPrototypeOf(q0)))(t,q0)}function _(t){return X(t).immediateStopped}function B(t,q0){X(t).eventPhase=q0}function N(t,q0){X(t).currentTarget=q0}function y(t,q0){X(t).passiveListener=q0}var w=new WeakMap,u=1,g=2,b=3;function p(t){return t!==null&&typeof t==="object"}function d(t){let q0=w.get(t);if(q0==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return q0}function a(t){return{get(){let q0=d(this).get(t);while(q0!=null){if(q0.listenerType===b)return q0.listener;q0=q0.next}return null},set(q0){if(typeof q0!=="function"&&!p(q0))q0=null;let G=d(this),V=null,D=G.get(t);while(D!=null){if(D.listenerType===b)if(V!==null)V.next=D.next;else if(D.next!==null)G.set(t,D.next);else G.delete(t);else V=D;D=D.next}if(q0!==null){let O={listener:q0,listenerType:b,passive:!1,once:!1,next:null};if(V===null)G.set(t,O);else V.next=O}},configurable:!0,enumerable:!0}}function H0(t,q0){Object.defineProperty(t,`on${q0}`,a(q0))}function L0(t){function q0(){S0.call(this)}q0.prototype=Object.create(S0.prototype,{constructor:{value:q0,configurable:!0,writable:!0}});for(let G=0;G<t.length;++G)H0(q0.prototype,t[G]);return q0}function S0(){if(this instanceof S0){w.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return L0(arguments[0]);if(arguments.length>0){let t=Array(arguments.length);for(let q0=0;q0<arguments.length;++q0)t[q0]=arguments[q0];return L0(t)}throw TypeError("Cannot call a class as a function")}if(S0.prototype={addEventListener(t,q0,G){if(q0==null)return;if(typeof q0!=="function"&&!p(q0))throw TypeError("'listener' should be a function or an object.");let V=d(this),D=p(G),O=(D?Boolean(G.capture):Boolean(G))?u:g,H={listener:q0,listenerType:O,passive:D&&Boolean(G.passive),once:D&&Boolean(G.once),next:null},q=V.get(t);if(q===void 0){V.set(t,H);return}let E=null;while(q!=null){if(q.listener===q0&&q.listenerType===O)return;E=q,q=q.next}E.next=H},removeEventListener(t,q0,G){if(q0==null)return;let V=d(this),D=(p(G)?Boolean(G.capture):Boolean(G))?u:g,O=null,H=V.get(t);while(H!=null){if(H.listener===q0&&H.listenerType===D){if(O!==null)O.next=H.next;else if(H.next!==null)V.set(t,H.next);else V.delete(t);return}O=H,H=H.next}},dispatchEvent(t){if(t==null||typeof t.type!=="string")throw TypeError('"event.type" should be a string.');let q0=d(this),G=t.type,V=q0.get(G);if(V==null)return!0;let D=T(this,t),O=null;while(V!=null){if(V.once)if(O!==null)O.next=V.next;else if(V.next!==null)q0.set(G,V.next);else q0.delete(G);else O=V;if(y(D,V.passive?V.listener:null),typeof V.listener==="function")try{V.listener.call(this,D)}catch(H){if(typeof console<"u"&&typeof console.error==="function")console.error(H)}else if(V.listenerType!==b&&typeof V.listener.handleEvent==="function")V.listener.handleEvent(D);if(_(D))break;V=V.next}return y(D,null),B(D,0),N(D,null),!D.defaultPrevented}},Object.defineProperty(S0.prototype,"constructor",{value:S0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(S0.prototype,window.EventTarget.prototype);I.defineEventAttribute=H0,I.EventTarget=S0,I.default=S0,J.exports=S0,J.exports.EventTarget=J.exports.default=S0,J.exports.defineEventAttribute=H0}),tG=XU((I,J)=>{Object.defineProperty(I,"__esModule",{value:!0});var Q=Zw();class z extends Q.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let S=Z.get(this);if(typeof S!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return S}}Q.defineEventAttribute(z.prototype,"abort");function X(){let S=Object.create(z.prototype);return Q.EventTarget.call(S),Z.set(S,!1),S}function W(S){if(Z.get(S)!==!1)return;Z.set(S,!0),S.dispatchEvent({type:"abort"})}var Z=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(){j.set(this,X())}get signal(){return P(this)}abort(){W(P(this))}}var j=new WeakMap;function P(S){let T=j.get(S);if(T==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${S===null?"null":typeof S}`);return T}if(Object.defineProperties(L.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(L.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});I.AbortController=L,I.AbortSignal=z,I.default=L,J.exports=L,J.exports.AbortController=J.exports.default=L,J.exports.AbortSignal=z}),s1=XU((I,J)=>{var Q=(oU(),j$(nU)),{format:z,inspect:X}=xS(),{codes:{ERR_INVALID_ARG_TYPE:W}}=y1(),{kResistStopPropagation:Z,AggregateError:L,SymbolDispose:j}=fU(),P=globalThis.AbortSignal||tG().AbortSignal,S=globalThis.AbortController||tG().AbortController,T=Object.getPrototypeOf(async function(){}).constructor,_=globalThis.Blob||Q.Blob,B=typeof _<"u"?function(w){return w instanceof _}:function(w){return!1},N=(w,u)=>{if(w!==void 0&&(w===null||typeof w!=="object"||!("aborted"in w)))throw new W(u,"AbortSignal",w)},y=(w,u)=>{if(typeof w!=="function")throw new W(u,"Function",w)};J.exports={AggregateError:L,kEmptyObject:Object.freeze({}),once(w){let u=!1;return function(...g){if(u)return;u=!0,w.apply(this,g)}},createDeferredPromise:function(){let w,u;return{promise:new Promise((g,b)=>{w=g,u=b}),resolve:w,reject:u}},promisify(w){return new Promise((u,g)=>{w((b,...p)=>{if(b)return g(b);return u(...p)})})},debuglog(){return function(){}},format:z,inspect:X,types:{isAsyncFunction(w){return w instanceof T},isArrayBufferView(w){return ArrayBuffer.isView(w)}},isBlob:B,deprecate(w,u){return w},addAbortListener:(BY(),j$(jY)).addAbortListener||function(w,u){if(w===void 0)throw new W("signal","AbortSignal",w);N(w,"signal"),y(u,"listener");let g;if(w.aborted)queueMicrotask(()=>u());else w.addEventListener("abort",u,{__proto__:null,once:!0,[Z]:!0}),g=()=>{w.removeEventListener("abort",u)};return{__proto__:null,[j](){var b;(b=g)===null||b===void 0||b()}}},AbortSignalAny:P.any||function(w){if(w.length===1)return w[0];let u=new S,g=()=>u.abort();return w.forEach((b)=>{N(b,"signals"),b.addEventListener("abort",g,{once:!0})}),u.signal.addEventListener("abort",()=>{w.forEach((b)=>b.removeEventListener("abort",g))},{once:!0}),u.signal}},J.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),aG=XU((I,J)=>{var{ArrayIsArray:Q,ArrayPrototypeIncludes:z,ArrayPrototypeJoin:X,ArrayPrototypeMap:W,NumberIsInteger:Z,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:j,NumberMIN_SAFE_INTEGER:P,NumberParseInt:S,ObjectPrototypeHasOwnProperty:T,RegExpPrototypeExec:_,String:B,StringPrototypeToUpperCase:N,StringPrototypeTrim:y}=fU(),{hideStackFrames:w,codes:{ERR_SOCKET_BAD_PORT:u,ERR_INVALID_ARG_TYPE:g,ERR_INVALID_ARG_VALUE:b,ERR_OUT_OF_RANGE:p,ERR_UNKNOWN_SIGNAL:d}}=y1(),{normalizeEncoding:a}=s1(),{isAsyncFunction:H0,isArrayBufferView:L0}=s1().types,S0={};function t(I0){return I0===(I0|0)}function q0(I0){return I0===I0>>>0}var G=/^[0-7]+$/,V="must be a 32-bit unsigned integer or an octal string";function D(I0,z0,I$){if(typeof I0>"u")I0=I$;if(typeof I0==="string"){if(_(G,I0)===null)throw new b(z0,I0,V);I0=S(I0,8)}return q(I0,z0),I0}var O=w((I0,z0,I$=P,M0=j)=>{if(typeof I0!=="number")throw new g(z0,"number",I0);if(!Z(I0))throw new p(z0,"an integer",I0);if(I0<I$||I0>M0)throw new p(z0,`>= ${I$} && <= ${M0}`,I0)}),H=w((I0,z0,I$=-2147483648,M0=2147483647)=>{if(typeof I0!=="number")throw new g(z0,"number",I0);if(!Z(I0))throw new p(z0,"an integer",I0);if(I0<I$||I0>M0)throw new p(z0,`>= ${I$} && <= ${M0}`,I0)}),q=w((I0,z0,I$=!1)=>{if(typeof I0!=="number")throw new g(z0,"number",I0);if(!Z(I0))throw new p(z0,"an integer",I0);let M0=I$?1:0,v0=4294967295;if(I0<M0||I0>v0)throw new p(z0,`>= ${M0} && <= ${v0}`,I0)});function E(I0,z0){if(typeof I0!=="string")throw new g(z0,"string",I0)}function A(I0,z0,I$=void 0,M0){if(typeof I0!=="number")throw new g(z0,"number",I0);if(I$!=null&&I0<I$||M0!=null&&I0>M0||(I$!=null||M0!=null)&&L(I0))throw new p(z0,`${I$!=null?`>= ${I$}`:""}${I$!=null&&M0!=null?" && ":""}${M0!=null?`<= ${M0}`:""}`,I0)}var K=w((I0,z0,I$)=>{if(!z(I$,I0)){let M0="must be one of: "+X(W(I$,(v0)=>typeof v0==="string"?`'${v0}'`:B(v0)),", ");throw new b(z0,I0,M0)}});function C(I0,z0){if(typeof I0!=="boolean")throw new g(z0,"boolean",I0)}function x(I0,z0,I$){return I0==null||!T(I0,z0)?I$:I0[z0]}var v=w((I0,z0,I$=null)=>{let M0=x(I$,"allowArray",!1),v0=x(I$,"allowFunction",!1);if(!x(I$,"nullable",!1)&&I0===null||!M0&&Q(I0)||typeof I0!=="object"&&(!v0||typeof I0!=="function"))throw new g(z0,"Object",I0)}),h=w((I0,z0)=>{if(I0!=null&&typeof I0!=="object"&&typeof I0!=="function")throw new g(z0,"a dictionary",I0)}),r=w((I0,z0,I$=0)=>{if(!Q(I0))throw new g(z0,"Array",I0);if(I0.length<I$){let M0=`must be longer than ${I$}`;throw new b(z0,I0,M0)}});function U0(I0,z0){r(I0,z0);for(let I$=0;I$<I0.length;I$++)E(I0[I$],`${z0}[${I$}]`)}function W0(I0,z0){r(I0,z0);for(let I$=0;I$<I0.length;I$++)C(I0[I$],`${z0}[${I$}]`)}function Y0(I0,z0){r(I0,z0);for(let I$=0;I$<I0.length;I$++){let M0=I0[I$],v0=`${z0}[${I$}]`;if(M0==null)throw new g(v0,"AbortSignal",M0);A0(M0,v0)}}function s(I0,z0="signal"){if(E(I0,z0),S0[I0]===void 0){if(S0[N(I0)]!==void 0)throw new d(I0+" (signals must use all capital letters)");throw new d(I0)}}var e=w((I0,z0="buffer")=>{if(!L0(I0))throw new g(z0,["Buffer","TypedArray","DataView"],I0)});function J0(I0,z0){let I$=a(z0),M0=I0.length;if(I$==="hex"&&M0%2!==0)throw new b("encoding",z0,`is invalid for data of length ${M0}`)}function Z0(I0,z0="Port",I$=!0){if(typeof I0!=="number"&&typeof I0!=="string"||typeof I0==="string"&&y(I0).length===0||+I0!==+I0>>>0||I0>65535||I0===0&&!I$)throw new u(z0,I0,I$);return I0|0}var A0=w((I0,z0)=>{if(I0!==void 0&&(I0===null||typeof I0!=="object"||!("aborted"in I0)))throw new g(z0,"AbortSignal",I0)}),$0=w((I0,z0)=>{if(typeof I0!=="function")throw new g(z0,"Function",I0)}),c=w((I0,z0)=>{if(typeof I0!=="function"||H0(I0))throw new g(z0,"Function",I0)}),n=w((I0,z0)=>{if(I0!==void 0)throw new g(z0,"undefined",I0)});function D0(I0,z0,I$){if(!z(I$,I0))throw new g(z0,`('${X(I$,"|")}')`,I0)}var Q0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function O0(I0,z0){if(typeof I0>"u"||!_(Q0,I0))throw new b(z0,I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function k0(I0){if(typeof I0==="string")return O0(I0,"hints"),I0;else if(Q(I0)){let z0=I0.length,I$="";if(z0===0)return I$;for(let M0=0;M0<z0;M0++){let v0=I0[M0];if(O0(v0,"hints"),I$+=v0,M0!==z0-1)I$+=", "}return I$}throw new b("hints",I0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}J.exports={isInt32:t,isUint32:q0,parseFileMode:D,validateArray:r,validateStringArray:U0,validateBooleanArray:W0,validateAbortSignalArray:Y0,validateBoolean:C,validateBuffer:e,validateDictionary:h,validateEncoding:J0,validateFunction:$0,validateInt32:H,validateInteger:O,validateNumber:A,validateObject:v,validateOneOf:K,validatePlainFunction:c,validatePort:Z0,validateSignalName:s,validateString:E,validateUint32:q,validateUndefined:n,validateUnion:D0,validateAbortSignal:A0,validateLinkHeaderValue:k0}}),QJ=XU((I,J)=>{J.exports=globalThis.process}),WI=XU((I,J)=>{var{SymbolAsyncIterator:Q,SymbolIterator:z,SymbolFor:X}=fU(),W=X("nodejs.stream.destroyed"),Z=X("nodejs.stream.errored"),L=X("nodejs.stream.readable"),j=X("nodejs.stream.writable"),P=X("nodejs.stream.disturbed"),S=X("nodejs.webstream.isClosedPromise"),T=X("nodejs.webstream.controllerErrorFunction");function _(x,v=!1){var h;return!!(x&&typeof x.pipe==="function"&&typeof x.on==="function"&&(!v||typeof x.pause==="function"&&typeof x.resume==="function")&&(!x._writableState||((h=x._readableState)===null||h===void 0?void 0:h.readable)!==!1)&&(!x._writableState||x._readableState))}function B(x){var v;return!!(x&&typeof x.write==="function"&&typeof x.on==="function"&&(!x._readableState||((v=x._writableState)===null||v===void 0?void 0:v.writable)!==!1))}function N(x){return!!(x&&typeof x.pipe==="function"&&x._readableState&&typeof x.on==="function"&&typeof x.write==="function")}function y(x){return x&&(x._readableState||x._writableState||typeof x.write==="function"&&typeof x.on==="function"||typeof x.pipe==="function"&&typeof x.on==="function")}function w(x){return!!(x&&!y(x)&&typeof x.pipeThrough==="function"&&typeof x.getReader==="function"&&typeof x.cancel==="function")}function u(x){return!!(x&&!y(x)&&typeof x.getWriter==="function"&&typeof x.abort==="function")}function g(x){return!!(x&&!y(x)&&typeof x.readable==="object"&&typeof x.writable==="object")}function b(x){return w(x)||u(x)||g(x)}function p(x,v){if(x==null)return!1;if(v===!0)return typeof x[Q]==="function";if(v===!1)return typeof x[z]==="function";return typeof x[Q]==="function"||typeof x[z]==="function"}function d(x){if(!y(x))return null;let{_writableState:v,_readableState:h}=x,r=v||h;return!!(x.destroyed||x[W]||r!==null&&r!==void 0&&r.destroyed)}function a(x){if(!B(x))return null;if(x.writableEnded===!0)return!0;let v=x._writableState;if(v!==null&&v!==void 0&&v.errored)return!1;if(typeof(v===null||v===void 0?void 0:v.ended)!=="boolean")return null;return v.ended}function H0(x,v){if(!B(x))return null;if(x.writableFinished===!0)return!0;let h=x._writableState;if(h!==null&&h!==void 0&&h.errored)return!1;if(typeof(h===null||h===void 0?void 0:h.finished)!=="boolean")return null;return!!(h.finished||v===!1&&h.ended===!0&&h.length===0)}function L0(x){if(!_(x))return null;if(x.readableEnded===!0)return!0;let v=x._readableState;if(!v||v.errored)return!1;if(typeof(v===null||v===void 0?void 0:v.ended)!=="boolean")return null;return v.ended}function S0(x,v){if(!_(x))return null;let h=x._readableState;if(h!==null&&h!==void 0&&h.errored)return!1;if(typeof(h===null||h===void 0?void 0:h.endEmitted)!=="boolean")return null;return!!(h.endEmitted||v===!1&&h.ended===!0&&h.length===0)}function t(x){if(x&&x[L]!=null)return x[L];if(typeof(x===null||x===void 0?void 0:x.readable)!=="boolean")return null;if(d(x))return!1;return _(x)&&x.readable&&!S0(x)}function q0(x){if(x&&x[j]!=null)return x[j];if(typeof(x===null||x===void 0?void 0:x.writable)!=="boolean")return null;if(d(x))return!1;return B(x)&&x.writable&&!a(x)}function G(x,v){if(!y(x))return null;if(d(x))return!0;if((v===null||v===void 0?void 0:v.readable)!==!1&&t(x))return!1;if((v===null||v===void 0?void 0:v.writable)!==!1&&q0(x))return!1;return!0}function V(x){var v,h;if(!y(x))return null;if(x.writableErrored)return x.writableErrored;return(v=(h=x._writableState)===null||h===void 0?void 0:h.errored)!==null&&v!==void 0?v:null}function D(x){var v,h;if(!y(x))return null;if(x.readableErrored)return x.readableErrored;return(v=(h=x._readableState)===null||h===void 0?void 0:h.errored)!==null&&v!==void 0?v:null}function O(x){if(!y(x))return null;if(typeof x.closed==="boolean")return x.closed;let{_writableState:v,_readableState:h}=x;if(typeof(v===null||v===void 0?void 0:v.closed)==="boolean"||typeof(h===null||h===void 0?void 0:h.closed)==="boolean")return(v===null||v===void 0?void 0:v.closed)||(h===null||h===void 0?void 0:h.closed);if(typeof x._closed==="boolean"&&H(x))return x._closed;return null}function H(x){return typeof x._closed==="boolean"&&typeof x._defaultKeepAlive==="boolean"&&typeof x._removedConnection==="boolean"&&typeof x._removedContLen==="boolean"}function q(x){return typeof x._sent100==="boolean"&&H(x)}function E(x){var v;return typeof x._consuming==="boolean"&&typeof x._dumped==="boolean"&&((v=x.req)===null||v===void 0?void 0:v.upgradeOrConnect)===void 0}function A(x){if(!y(x))return null;let{_writableState:v,_readableState:h}=x,r=v||h;return!r&&q(x)||!!(r&&r.autoDestroy&&r.emitClose&&r.closed===!1)}function K(x){var v;return!!(x&&((v=x[P])!==null&&v!==void 0?v:x.readableDidRead||x.readableAborted))}function C(x){var v,h,r,U0,W0,Y0,s,e,J0,Z0;return!!(x&&((v=(h=(r=(U0=(W0=(Y0=x[Z])!==null&&Y0!==void 0?Y0:x.readableErrored)!==null&&W0!==void 0?W0:x.writableErrored)!==null&&U0!==void 0?U0:(s=x._readableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&r!==void 0?r:(e=x._writableState)===null||e===void 0?void 0:e.errorEmitted)!==null&&h!==void 0?h:(J0=x._readableState)===null||J0===void 0?void 0:J0.errored)!==null&&v!==void 0?v:(Z0=x._writableState)===null||Z0===void 0?void 0:Z0.errored))}J.exports={isDestroyed:d,kIsDestroyed:W,isDisturbed:K,kIsDisturbed:P,isErrored:C,kIsErrored:Z,isReadable:t,kIsReadable:L,kIsClosedPromise:S,kControllerErrorFunction:T,kIsWritable:j,isClosed:O,isDuplexNodeStream:N,isFinished:G,isIterable:p,isReadableNodeStream:_,isReadableStream:w,isReadableEnded:L0,isReadableFinished:S0,isReadableErrored:D,isNodeStream:y,isWebStream:b,isWritable:q0,isWritableNodeStream:B,isWritableStream:u,isWritableEnded:a,isWritableFinished:H0,isWritableErrored:V,isServerRequest:E,isServerResponse:q,willEmitClose:A,isTransformStream:g}}),JX=XU((I,J)=>{var Q=QJ(),{AbortError:z,codes:X}=y1(),{ERR_INVALID_ARG_TYPE:W,ERR_STREAM_PREMATURE_CLOSE:Z}=X,{kEmptyObject:L,once:j}=s1(),{validateAbortSignal:P,validateFunction:S,validateObject:T,validateBoolean:_}=aG(),{Promise:B,PromisePrototypeThen:N,SymbolDispose:y}=fU(),{isClosed:w,isReadable:u,isReadableNodeStream:g,isReadableStream:b,isReadableFinished:p,isReadableErrored:d,isWritable:a,isWritableNodeStream:H0,isWritableStream:L0,isWritableFinished:S0,isWritableErrored:t,isNodeStream:q0,willEmitClose:G,kIsClosedPromise:V}=WI(),D;function O(K){return K.setHeader&&typeof K.abort==="function"}var H=()=>{};function q(K,C,x){var v,h;if(arguments.length===2)x=C,C=L;else if(C==null)C=L;else T(C,"options");if(S(x,"callback"),P(C.signal,"options.signal"),x=j(x),b(K)||L0(K))return E(K,C,x);if(!q0(K))throw new W("stream",["ReadableStream","WritableStream","Stream"],K);let r=(v=C.readable)!==null&&v!==void 0?v:g(K),U0=(h=C.writable)!==null&&h!==void 0?h:H0(K),W0=K._writableState,Y0=K._readableState,s=()=>{if(!K.writable)Z0()},e=G(K)&&g(K)===r&&H0(K)===U0,J0=S0(K,!1),Z0=()=>{if(J0=!0,K.destroyed)e=!1;if(e&&(!K.readable||r))return;if(!r||A0)x.call(K)},A0=p(K,!1),$0=()=>{if(A0=!0,K.destroyed)e=!1;if(e&&(!K.writable||U0))return;if(!U0||J0)x.call(K)},c=(I0)=>{x.call(K,I0)},n=w(K),D0=()=>{n=!0;let I0=t(K)||d(K);if(I0&&typeof I0!=="boolean")return x.call(K,I0);if(r&&!A0&&g(K,!0)){if(!p(K,!1))return x.call(K,new Z)}if(U0&&!J0){if(!S0(K,!1))return x.call(K,new Z)}x.call(K)},Q0=()=>{n=!0;let I0=t(K)||d(K);if(I0&&typeof I0!=="boolean")return x.call(K,I0);x.call(K)},O0=()=>{K.req.on("finish",Z0)};if(O(K)){if(K.on("complete",Z0),!e)K.on("abort",D0);if(K.req)O0();else K.on("request",O0)}else if(U0&&!W0)K.on("end",s),K.on("close",s);if(!e&&typeof K.aborted==="boolean")K.on("aborted",D0);if(K.on("end",$0),K.on("finish",Z0),C.error!==!1)K.on("error",c);if(K.on("close",D0),n)Q.nextTick(D0);else if(W0!==null&&W0!==void 0&&W0.errorEmitted||Y0!==null&&Y0!==void 0&&Y0.errorEmitted){if(!e)Q.nextTick(Q0)}else if(!r&&(!e||u(K))&&(J0||a(K)===!1))Q.nextTick(Q0);else if(!U0&&(!e||a(K))&&(A0||u(K)===!1))Q.nextTick(Q0);else if(Y0&&K.req&&K.aborted)Q.nextTick(Q0);let k0=()=>{if(x=H,K.removeListener("aborted",D0),K.removeListener("complete",Z0),K.removeListener("abort",D0),K.removeListener("request",O0),K.req)K.req.removeListener("finish",Z0);K.removeListener("end",s),K.removeListener("close",s),K.removeListener("finish",Z0),K.removeListener("end",$0),K.removeListener("error",c),K.removeListener("close",D0)};if(C.signal&&!n){let I0=()=>{let z0=x;k0(),z0.call(K,new z(void 0,{cause:C.signal.reason}))};if(C.signal.aborted)Q.nextTick(I0);else{D=D||s1().addAbortListener;let z0=D(C.signal,I0),I$=x;x=j((...M0)=>{z0[y](),I$.apply(K,M0)})}}return k0}function E(K,C,x){let v=!1,h=H;if(C.signal)if(h=()=>{v=!0,x.call(K,new z(void 0,{cause:C.signal.reason}))},C.signal.aborted)Q.nextTick(h);else{D=D||s1().addAbortListener;let U0=D(C.signal,h),W0=x;x=j((...Y0)=>{U0[y](),W0.apply(K,Y0)})}let r=(...U0)=>{if(!v)Q.nextTick(()=>x.apply(K,U0))};return N(K[V].promise,r,r),H}function A(K,C){var x;let v=!1;if(C===null)C=L;if((x=C)!==null&&x!==void 0&&x.cleanup)_(C.cleanup,"cleanup"),v=C.cleanup;return new B((h,r)=>{let U0=q(K,C,(W0)=>{if(v)U0();if(W0)r(W0);else h()})})}J.exports=q,J.exports.finished=A}),vY=XU((I,J)=>{var Q=QJ(),{aggregateTwoErrors:z,codes:{ERR_MULTIPLE_CALLBACK:X},AbortError:W}=y1(),{Symbol:Z}=fU(),{kIsDestroyed:L,isDestroyed:j,isFinished:P,isServerRequest:S}=WI(),T=Z("kDestroy"),_=Z("kConstruct");function B(G,V,D){if(G){if(G.stack,V&&!V.errored)V.errored=G;if(D&&!D.errored)D.errored=G}}function N(G,V){let D=this._readableState,O=this._writableState,H=O||D;if(O!==null&&O!==void 0&&O.destroyed||D!==null&&D!==void 0&&D.destroyed){if(typeof V==="function")V();return this}if(B(G,O,D),O)O.destroyed=!0;if(D)D.destroyed=!0;if(!H.constructed)this.once(T,function(q){y(this,z(q,G),V)});else y(this,G,V);return this}function y(G,V,D){let O=!1;function H(q){if(O)return;O=!0;let{_readableState:E,_writableState:A}=G;if(B(q,A,E),A)A.closed=!0;if(E)E.closed=!0;if(typeof D==="function")D(q);if(q)Q.nextTick(w,G,q);else Q.nextTick(u,G)}try{G._destroy(V||null,H)}catch(q){H(q)}}function w(G,V){g(G,V),u(G)}function u(G){let{_readableState:V,_writableState:D}=G;if(D)D.closeEmitted=!0;if(V)V.closeEmitted=!0;if(D!==null&&D!==void 0&&D.emitClose||V!==null&&V!==void 0&&V.emitClose)G.emit("close")}function g(G,V){let{_readableState:D,_writableState:O}=G;if(O!==null&&O!==void 0&&O.errorEmitted||D!==null&&D!==void 0&&D.errorEmitted)return;if(O)O.errorEmitted=!0;if(D)D.errorEmitted=!0;G.emit("error",V)}function b(){let G=this._readableState,V=this._writableState;if(G)G.constructed=!0,G.closed=!1,G.closeEmitted=!1,G.destroyed=!1,G.errored=null,G.errorEmitted=!1,G.reading=!1,G.ended=G.readable===!1,G.endEmitted=G.readable===!1;if(V)V.constructed=!0,V.destroyed=!1,V.closed=!1,V.closeEmitted=!1,V.errored=null,V.errorEmitted=!1,V.finalCalled=!1,V.prefinished=!1,V.ended=V.writable===!1,V.ending=V.writable===!1,V.finished=V.writable===!1}function p(G,V,D){let{_readableState:O,_writableState:H}=G;if(H!==null&&H!==void 0&&H.destroyed||O!==null&&O!==void 0&&O.destroyed)return this;if(O!==null&&O!==void 0&&O.autoDestroy||H!==null&&H!==void 0&&H.autoDestroy)G.destroy(V);else if(V){if(V.stack,H&&!H.errored)H.errored=V;if(O&&!O.errored)O.errored=V;if(D)Q.nextTick(g,G,V);else g(G,V)}}function d(G,V){if(typeof G._construct!=="function")return;let{_readableState:D,_writableState:O}=G;if(D)D.constructed=!1;if(O)O.constructed=!1;if(G.once(_,V),G.listenerCount(_)>1)return;Q.nextTick(a,G)}function a(G){let V=!1;function D(O){if(V){p(G,O!==null&&O!==void 0?O:new X);return}V=!0;let{_readableState:H,_writableState:q}=G,E=q||H;if(H)H.constructed=!0;if(q)q.constructed=!0;if(E.destroyed)G.emit(T,O);else if(O)p(G,O,!0);else Q.nextTick(H0,G)}try{G._construct((O)=>{Q.nextTick(D,O)})}catch(O){Q.nextTick(D,O)}}function H0(G){G.emit(_)}function L0(G){return(G===null||G===void 0?void 0:G.setHeader)&&typeof G.abort==="function"}function S0(G){G.emit("close")}function t(G,V){G.emit("error",V),Q.nextTick(S0,G)}function q0(G,V){if(!G||j(G))return;if(!V&&!P(G))V=new W;if(S(G))G.socket=null,G.destroy(V);else if(L0(G))G.abort();else if(L0(G.req))G.req.abort();else if(typeof G.destroy==="function")G.destroy(V);else if(typeof G.close==="function")G.close();else if(V)Q.nextTick(t,G,V);else Q.nextTick(S0,G);if(!G.destroyed)G[L]=!0}J.exports={construct:d,destroyer:q0,destroy:N,undestroy:b,errorOrDestroy:p}}),KF=XU((I,J)=>{var{ArrayIsArray:Q,ObjectSetPrototypeOf:z}=fU(),{EventEmitter:X}=(BY(),j$(jY));function W(L){X.call(this,L)}z(W.prototype,X.prototype),z(W,X),W.prototype.pipe=function(L,j){let P=this;function S(u){if(L.writable&&L.write(u)===!1&&P.pause)P.pause()}P.on("data",S);function T(){if(P.readable&&P.resume)P.resume()}if(L.on("drain",T),!L._isStdio&&(!j||j.end!==!1))P.on("end",B),P.on("close",N);let _=!1;function B(){if(_)return;_=!0,L.end()}function N(){if(_)return;if(_=!0,typeof L.destroy==="function")L.destroy()}function y(u){if(w(),X.listenerCount(this,"error")===0)this.emit("error",u)}Z(P,"error",y),Z(L,"error",y);function w(){P.removeListener("data",S),L.removeListener("drain",T),P.removeListener("end",B),P.removeListener("close",N),P.removeListener("error",y),L.removeListener("error",y),P.removeListener("end",w),P.removeListener("close",w),L.removeListener("close",w)}return P.on("end",w),P.on("close",w),L.on("close",w),L.emit("pipe",P),L};function Z(L,j,P){if(typeof L.prependListener==="function")return L.prependListener(j,P);if(!L._events||!L._events[j])L.on(j,P);else if(Q(L._events[j]))L._events[j].unshift(P);else L._events[j]=[P,L._events[j]]}J.exports={Stream:W,prependListener:Z}}),F8=XU((I,J)=>{var{SymbolDispose:Q}=fU(),{AbortError:z,codes:X}=y1(),{isNodeStream:W,isWebStream:Z,kControllerErrorFunction:L}=WI(),j=JX(),{ERR_INVALID_ARG_TYPE:P}=X,S,T=(_,B)=>{if(typeof _!=="object"||!("aborted"in _))throw new P(B,"AbortSignal",_)};J.exports.addAbortSignal=function(_,B){if(T(_,"signal"),!W(B)&&!Z(B))throw new P("stream",["ReadableStream","WritableStream","Stream"],B);return J.exports.addAbortSignalNoValidate(_,B)},J.exports.addAbortSignalNoValidate=function(_,B){if(typeof _!=="object"||!("aborted"in _))return B;let N=W(B)?()=>{B.destroy(new z(void 0,{cause:_.reason}))}:()=>{B[L](new z(void 0,{cause:_.reason}))};if(_.aborted)N();else{S=S||s1().addAbortListener;let y=S(_,N);j(B,y[Q])}return B}}),Kw=XU((I,J)=>{var{StringPrototypeSlice:Q,SymbolIterator:z,TypedArrayPrototypeSet:X,Uint8Array:W}=fU(),{Buffer:Z}=(oU(),j$(nU)),{inspect:L}=s1();J.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(j){let P={data:j,next:null};if(this.length>0)this.tail.next=P;else this.head=P;this.tail=P,++this.length}unshift(j){let P={data:j,next:this.head};if(this.length===0)this.tail=P;this.head=P,++this.length}shift(){if(this.length===0)return;let j=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,j}clear(){this.head=this.tail=null,this.length=0}join(j){if(this.length===0)return"";let P=this.head,S=""+P.data;while((P=P.next)!==null)S+=j+P.data;return S}concat(j){if(this.length===0)return Z.alloc(0);let P=Z.allocUnsafe(j>>>0),S=this.head,T=0;while(S)X(P,S.data,T),T+=S.data.length,S=S.next;return P}consume(j,P){let S=this.head.data;if(j<S.length){let T=S.slice(0,j);return this.head.data=S.slice(j),T}if(j===S.length)return this.shift();return P?this._getString(j):this._getBuffer(j)}first(){return this.head.data}*[z](){for(let j=this.head;j;j=j.next)yield j.data}_getString(j){let P="",S=this.head,T=0;do{let _=S.data;if(j>_.length)P+=_,j-=_.length;else{if(j===_.length)if(P+=_,++T,S.next)this.head=S.next;else this.head=this.tail=null;else P+=Q(_,0,j),this.head=S,S.data=Q(_,j);break}++T}while((S=S.next)!==null);return this.length-=T,P}_getBuffer(j){let P=Z.allocUnsafe(j),S=j,T=this.head,_=0;do{let B=T.data;if(j>B.length)X(P,B,S-j),j-=B.length;else{if(j===B.length)if(X(P,B,S-j),++_,T.next)this.head=T.next;else this.head=this.tail=null;else X(P,new W(B.buffer,B.byteOffset,j),S-j),this.head=T,T.data=B.slice(j);break}++_}while((T=T.next)!==null);return this.length-=_,P}[Symbol.for("nodejs.util.inspect.custom")](j,P){return L(this,{...P,depth:0,customInspect:!1})}}}),H8=XU((I,J)=>{var{MathFloor:Q,NumberIsInteger:z}=fU(),{validateInteger:X}=aG(),{ERR_INVALID_ARG_VALUE:W}=y1().codes,Z=16384,L=16;function j(_,B,N){return _.highWaterMark!=null?_.highWaterMark:B?_[N]:null}function P(_){return _?L:Z}function S(_,B){if(X(B,"value",0),_)L=B;else Z=B}function T(_,B,N,y){let w=j(B,y,N);if(w!=null){if(!z(w)||w<0){let u=y?`options.${N}`:"options.highWaterMark";throw new W(u,w)}return Q(w)}return P(_.objectMode)}J.exports={getHighWaterMark:T,getDefaultHighWaterMark:P,setDefaultHighWaterMark:S}}),Ww=XU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Q=(oU(),j$(nU)),z=Q.Buffer;function X(Z,L){for(var j in Z)L[j]=Z[j]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)J.exports=Q;else X(Q,I),I.Buffer=W;function W(Z,L,j){return z(Z,L,j)}W.prototype=Object.create(z.prototype),X(z,W),W.from=function(Z,L,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return z(Z,L,j)},W.alloc=function(Z,L,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var P=z(Z);if(L!==void 0)if(typeof j==="string")P.fill(L,j);else P.fill(L);else P.fill(0);return P},W.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return z(Z)},W.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Q.SlowBuffer(Z)}}),zw=XU((I)=>{var J=Ww().Buffer,Q=J.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function z(g){if(!g)return"utf8";var b;while(!0)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(b)return;g=(""+g).toLowerCase(),b=!0}}function X(g){var b=z(g);if(typeof b!=="string"&&(J.isEncoding===Q||!Q(g)))throw Error("Unknown encoding: "+g);return b||g}I.StringDecoder=W;function W(g){this.encoding=X(g);var b;switch(this.encoding){case"utf16le":this.text=_,this.end=B,b=4;break;case"utf8":this.fillLast=P,b=4;break;case"base64":this.text=N,this.end=y,b=3;break;default:this.write=w,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(b)}W.prototype.write=function(g){if(g.length===0)return"";var b,p;if(this.lastNeed){if(b=this.fillLast(g),b===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<g.length)return b?b+this.text(g,p):this.text(g,p);return b||""},W.prototype.end=T,W.prototype.text=S,W.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function Z(g){if(g<=127)return 0;else if(g>>5===6)return 2;else if(g>>4===14)return 3;else if(g>>3===30)return 4;return g>>6===2?-1:-2}function L(g,b,p){var d=b.length-1;if(d<p)return 0;var a=Z(b[d]);if(a>=0){if(a>0)g.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)g.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)if(a===2)a=0;else g.lastNeed=a-3;return a}return 0}function j(g,b,p){if((b[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&b.length>2){if((b[2]&192)!==128)return g.lastNeed=2,"�"}}}function P(g){var b=this.lastTotal-this.lastNeed,p=j(this,g,b);if(p!==void 0)return p;if(this.lastNeed<=g.length)return g.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,b,0,g.length),this.lastNeed-=g.length}function S(g,b){var p=L(this,g,b);if(!this.lastNeed)return g.toString("utf8",b);this.lastTotal=p;var d=g.length-(p-this.lastNeed);return g.copy(this.lastChar,0,d),g.toString("utf8",b,d)}function T(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed)return b+"�";return b}function _(g,b){if((g.length-b)%2===0){var p=g.toString("utf16le",b);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",b,g.length-1)}function B(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,p)}return b}function N(g,b){var p=(g.length-b)%3;if(p===0)return g.toString("base64",b);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=g[g.length-1];else this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1];return g.toString("base64",b,g.length-p)}function y(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed)return b+this.lastChar.toString("base64",0,3-this.lastNeed);return b}function w(g){return g.toString(this.encoding)}function u(g){return g&&g.length?this.write(g):""}}),wS=XU((I,J)=>{var Q=QJ(),{PromisePrototypeThen:z,SymbolAsyncIterator:X,SymbolIterator:W}=fU(),{Buffer:Z}=(oU(),j$(nU)),{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:j}=y1().codes;function P(S,T,_){let B;if(typeof T==="string"||T instanceof Z)return new S({objectMode:!0,..._,read(){this.push(T),this.push(null)}});let N;if(T&&T[X])N=!0,B=T[X]();else if(T&&T[W])N=!1,B=T[W]();else throw new L("iterable",["Iterable"],T);let y=new S({objectMode:!0,highWaterMark:1,..._}),w=!1;y._read=function(){if(!w)w=!0,g()},y._destroy=function(b,p){z(u(b),()=>Q.nextTick(p,b),(d)=>Q.nextTick(p,d||b))};async function u(b){let p=b!==void 0&&b!==null,d=typeof B.throw==="function";if(p&&d){let{value:a,done:H0}=await B.throw(b);if(await a,H0)return}if(typeof B.return==="function"){let{value:a}=await B.return();await a}}async function g(){for(;;){try{let{value:b,done:p}=N?await B.next():B.next();if(p)y.push(null);else{let d=b&&typeof b.then==="function"?await b:b;if(d===null)throw w=!1,new j;else if(y.push(d))continue;else w=!1}}catch(b){y.destroy(b)}break}}return y}J.exports=P}),D8=XU((I,J)=>{var Q=QJ(),{ArrayPrototypeIndexOf:z,NumberIsInteger:X,NumberIsNaN:W,NumberParseInt:Z,ObjectDefineProperties:L,ObjectKeys:j,ObjectSetPrototypeOf:P,Promise:S,SafeSet:T,SymbolAsyncDispose:_,SymbolAsyncIterator:B,Symbol:N}=fU();J.exports=M0,M0.ReadableState=I$;var{EventEmitter:y}=(BY(),j$(jY)),{Stream:w,prependListener:u}=KF(),{Buffer:g}=(oU(),j$(nU)),{addAbortSignal:b}=F8(),p=JX(),d=s1().debuglog("stream",(i)=>{d=i}),a=Kw(),H0=vY(),{getHighWaterMark:L0,getDefaultHighWaterMark:S0}=H8(),{aggregateTwoErrors:t,codes:{ERR_INVALID_ARG_TYPE:q0,ERR_METHOD_NOT_IMPLEMENTED:G,ERR_OUT_OF_RANGE:V,ERR_STREAM_PUSH_AFTER_EOF:D,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:O},AbortError:H}=y1(),{validateObject:q}=aG(),E=N("kPaused"),{StringDecoder:A}=zw(),K=wS();P(M0.prototype,w.prototype),P(M0,w);var C=()=>{},{errorOrDestroy:x}=H0,v=1,h=2,r=4,U0=8,W0=16,Y0=32,s=64,e=128,J0=256,Z0=512,A0=1024,$0=2048,c=4096,n=8192,D0=16384,Q0=32768,O0=65536,k0=131072,I0=262144;function z0(i){return{enumerable:!1,get(){return(this.state&i)!==0},set(G0){if(G0)this.state|=i;else this.state&=~i}}}L(I$.prototype,{objectMode:z0(v),ended:z0(h),endEmitted:z0(r),reading:z0(U0),constructed:z0(W0),sync:z0(Y0),needReadable:z0(s),emittedReadable:z0(e),readableListening:z0(J0),resumeScheduled:z0(Z0),errorEmitted:z0(A0),emitClose:z0($0),autoDestroy:z0(c),destroyed:z0(n),closed:z0(D0),closeEmitted:z0(Q0),multiAwaitDrain:z0(O0),readingMore:z0(k0),dataEmitted:z0(I0)});function I$(i,G0,_0){if(typeof _0!=="boolean")_0=G0 instanceof KI();if(this.state=$0|c|W0|Y0,i&&i.objectMode)this.state|=v;if(_0&&i&&i.readableObjectMode)this.state|=v;if(this.highWaterMark=i?L0(this,i,"readableHighWaterMark",_0):S0(!1),this.buffer=new a,this.length=0,this.pipes=[],this.flowing=null,this[E]=null,i&&i.emitClose===!1)this.state&=~$0;if(i&&i.autoDestroy===!1)this.state&=~c;if(this.errored=null,this.defaultEncoding=i&&i.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,i&&i.encoding)this.decoder=new A(i.encoding),this.encoding=i.encoding}function M0(i){if(!(this instanceof M0))return new M0(i);let G0=this instanceof KI();if(this._readableState=new I$(i,this,G0),i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!G0)b(i.signal,this)}w.call(this,i),H0.construct(this,()=>{if(this._readableState.needReadable)t0(this,this._readableState)})}M0.prototype.destroy=H0.destroy,M0.prototype._undestroy=H0.undestroy,M0.prototype._destroy=function(i,G0){G0(i)},M0.prototype[y.captureRejectionSymbol]=function(i){this.destroy(i)},M0.prototype[_]=function(){let i;if(!this.destroyed)i=this.readableEnded?null:new H,this.destroy(i);return new S((G0,_0)=>p(this,(E0)=>E0&&E0!==i?_0(E0):G0(null)))},M0.prototype.push=function(i,G0){return v0(this,i,G0,!1)},M0.prototype.unshift=function(i,G0){return v0(this,i,G0,!0)};function v0(i,G0,_0,E0){d("readableAddChunk",G0);let W$=i._readableState,n0;if((W$.state&v)===0){if(typeof G0==="string"){if(_0=_0||W$.defaultEncoding,W$.encoding!==_0)if(E0&&W$.encoding)G0=g.from(G0,_0).toString(W$.encoding);else G0=g.from(G0,_0),_0=""}else if(G0 instanceof g)_0="";else if(w._isUint8Array(G0))G0=w._uint8ArrayToBuffer(G0),_0="";else if(G0!=null)n0=new q0("chunk",["string","Buffer","Uint8Array"],G0)}if(n0)x(i,n0);else if(G0===null)W$.state&=~U0,h0(i,W$);else if((W$.state&v)!==0||G0&&G0.length>0)if(E0)if((W$.state&r)!==0)x(i,new O);else if(W$.destroyed||W$.errored)return!1;else M$(i,W$,G0,!0);else if(W$.ended)x(i,new D);else if(W$.destroyed||W$.errored)return!1;else if(W$.state&=~U0,W$.decoder&&!_0)if(G0=W$.decoder.write(G0),W$.objectMode||G0.length!==0)M$(i,W$,G0,!1);else t0(i,W$);else M$(i,W$,G0,!1);else if(!E0)W$.state&=~U0,t0(i,W$);return!W$.ended&&(W$.length<W$.highWaterMark||W$.length===0)}function M$(i,G0,_0,E0){if(G0.flowing&&G0.length===0&&!G0.sync&&i.listenerCount("data")>0){if((G0.state&O0)!==0)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;G0.dataEmitted=!0,i.emit("data",_0)}else{if(G0.length+=G0.objectMode?1:_0.length,E0)G0.buffer.unshift(_0);else G0.buffer.push(_0);if((G0.state&s)!==0)c0(i)}t0(i,G0)}M0.prototype.isPaused=function(){let i=this._readableState;return i[E]===!0||i.flowing===!1},M0.prototype.setEncoding=function(i){let G0=new A(i);this._readableState.decoder=G0,this._readableState.encoding=this._readableState.decoder.encoding;let _0=this._readableState.buffer,E0="";for(let W$ of _0)E0+=G0.write(W$);if(_0.clear(),E0!=="")_0.push(E0);return this._readableState.length=E0.length,this};var m0=1073741824;function p0(i){if(i>m0)throw new V("size","<= 1GiB",i);else i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++;return i}function r$(i,G0){if(i<=0||G0.length===0&&G0.ended)return 0;if((G0.state&v)!==0)return 1;if(W(i)){if(G0.flowing&&G0.length)return G0.buffer.first().length;return G0.length}if(i<=G0.length)return i;return G0.ended?G0.length:0}M0.prototype.read=function(i){if(d("read",i),i===void 0)i=NaN;else if(!X(i))i=Z(i,10);let G0=this._readableState,_0=i;if(i>G0.highWaterMark)G0.highWaterMark=p0(i);if(i!==0)G0.state&=~e;if(i===0&&G0.needReadable&&((G0.highWaterMark!==0?G0.length>=G0.highWaterMark:G0.length>0)||G0.ended)){if(d("read: emitReadable",G0.length,G0.ended),G0.length===0&&G0.ended)V$(this);else c0(this);return null}if(i=r$(i,G0),i===0&&G0.ended){if(G0.length===0)V$(this);return null}let E0=(G0.state&s)!==0;if(d("need readable",E0),G0.length===0||G0.length-i<G0.highWaterMark)E0=!0,d("length less than watermark",E0);if(G0.ended||G0.reading||G0.destroyed||G0.errored||!G0.constructed)E0=!1,d("reading, ended or constructing",E0);else if(E0){if(d("do read"),G0.state|=U0|Y0,G0.length===0)G0.state|=s;try{this._read(G0.highWaterMark)}catch(n0){x(this,n0)}if(G0.state&=~Y0,!G0.reading)i=r$(_0,G0)}let W$;if(i>0)W$=y0(i,G0);else W$=null;if(W$===null)G0.needReadable=G0.length<=G0.highWaterMark,i=0;else if(G0.length-=i,G0.multiAwaitDrain)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;if(G0.length===0){if(!G0.ended)G0.needReadable=!0;if(_0!==i&&G0.ended)V$(this)}if(W$!==null&&!G0.errorEmitted&&!G0.closeEmitted)G0.dataEmitted=!0,this.emit("data",W$);return W$};function h0(i,G0){if(d("onEofChunk"),G0.ended)return;if(G0.decoder){let _0=G0.decoder.end();if(_0&&_0.length)G0.buffer.push(_0),G0.length+=G0.objectMode?1:_0.length}if(G0.ended=!0,G0.sync)c0(i);else G0.needReadable=!1,G0.emittedReadable=!0,YU(i)}function c0(i){let G0=i._readableState;if(d("emitReadable",G0.needReadable,G0.emittedReadable),G0.needReadable=!1,!G0.emittedReadable)d("emitReadable",G0.flowing),G0.emittedReadable=!0,Q.nextTick(YU,i)}function YU(i){let G0=i._readableState;if(d("emitReadable_",G0.destroyed,G0.length,G0.ended),!G0.destroyed&&!G0.errored&&(G0.length||G0.ended))i.emit("readable"),G0.emittedReadable=!1;G0.needReadable=!G0.flowing&&!G0.ended&&G0.length<=G0.highWaterMark,N0(i)}function t0(i,G0){if(!G0.readingMore&&G0.constructed)G0.readingMore=!0,Q.nextTick(i0,i,G0)}function i0(i,G0){while(!G0.reading&&!G0.ended&&(G0.length<G0.highWaterMark||G0.flowing&&G0.length===0)){let _0=G0.length;if(d("maybeReadMore read 0"),i.read(0),_0===G0.length)break}G0.readingMore=!1}M0.prototype._read=function(i){throw new G("_read()")},M0.prototype.pipe=function(i,G0){let _0=this,E0=this._readableState;if(E0.pipes.length===1){if(!E0.multiAwaitDrain)E0.multiAwaitDrain=!0,E0.awaitDrainWriters=new T(E0.awaitDrainWriters?[E0.awaitDrainWriters]:[])}E0.pipes.push(i),d("pipe count=%d opts=%j",E0.pipes.length,G0);let W$=(!G0||G0.end!==!1)&&i!==Q.stdout&&i!==Q.stderr?a0:E$;if(E0.endEmitted)Q.nextTick(W$);else _0.once("end",W$);i.on("unpipe",n0);function n0($U,d$){if(d("onunpipe"),$U===_0){if(d$&&d$.hasUnpiped===!1)d$.hasUnpiped=!0,U$()}}function a0(){d("onend"),i.end()}let DU,X$=!1;function U$(){if(d("cleanup"),i.removeListener("close",RU),i.removeListener("finish",B$),DU)i.removeListener("drain",DU);if(i.removeListener("error",$$),i.removeListener("unpipe",n0),_0.removeListener("end",a0),_0.removeListener("end",E$),_0.removeListener("data",J$),X$=!0,DU&&E0.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))DU()}function e$(){if(!X$){if(E0.pipes.length===1&&E0.pipes[0]===i)d("false write response, pause",0),E0.awaitDrainWriters=i,E0.multiAwaitDrain=!1;else if(E0.pipes.length>1&&E0.pipes.includes(i))d("false write response, pause",E0.awaitDrainWriters.size),E0.awaitDrainWriters.add(i);_0.pause()}if(!DU)DU=qU(_0,i),i.on("drain",DU)}_0.on("data",J$);function J$($U){d("ondata");let d$=i.write($U);if(d("dest.write",d$),d$===!1)e$()}function $$($U){if(d("onerror",$U),E$(),i.removeListener("error",$$),i.listenerCount("error")===0){let d$=i._writableState||i._readableState;if(d$&&!d$.errorEmitted)x(i,$U);else i.emit("error",$U)}}u(i,"error",$$);function RU(){i.removeListener("finish",B$),E$()}i.once("close",RU);function B$(){d("onfinish"),i.removeListener("close",RU),E$()}i.once("finish",B$);function E$(){d("unpipe"),_0.unpipe(i)}if(i.emit("pipe",_0),i.writableNeedDrain===!0)e$();else if(!E0.flowing)d("pipe resume"),_0.resume();return i};function qU(i,G0){return function(){let _0=i._readableState;if(_0.awaitDrainWriters===G0)d("pipeOnDrain",1),_0.awaitDrainWriters=null;else if(_0.multiAwaitDrain)d("pipeOnDrain",_0.awaitDrainWriters.size),_0.awaitDrainWriters.delete(G0);if((!_0.awaitDrainWriters||_0.awaitDrainWriters.size===0)&&i.listenerCount("data"))i.resume()}}M0.prototype.unpipe=function(i){let G0=this._readableState,_0={hasUnpiped:!1};if(G0.pipes.length===0)return this;if(!i){let W$=G0.pipes;G0.pipes=[],this.pause();for(let n0=0;n0<W$.length;n0++)W$[n0].emit("unpipe",this,{hasUnpiped:!1});return this}let E0=z(G0.pipes,i);if(E0===-1)return this;if(G0.pipes.splice(E0,1),G0.pipes.length===0)this.pause();return i.emit("unpipe",this,_0),this},M0.prototype.on=function(i,G0){let _0=w.prototype.on.call(this,i,G0),E0=this._readableState;if(i==="data"){if(E0.readableListening=this.listenerCount("readable")>0,E0.flowing!==!1)this.resume()}else if(i==="readable"){if(!E0.endEmitted&&!E0.readableListening){if(E0.readableListening=E0.needReadable=!0,E0.flowing=!1,E0.emittedReadable=!1,d("on readable",E0.length,E0.reading),E0.length)c0(this);else if(!E0.reading)Q.nextTick(X0,this)}}return _0},M0.prototype.addListener=M0.prototype.on,M0.prototype.removeListener=function(i,G0){let _0=w.prototype.removeListener.call(this,i,G0);if(i==="readable")Q.nextTick(m,this);return _0},M0.prototype.off=M0.prototype.removeListener,M0.prototype.removeAllListeners=function(i){let G0=w.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===void 0)Q.nextTick(m,this);return G0};function m(i){let G0=i._readableState;if(G0.readableListening=i.listenerCount("readable")>0,G0.resumeScheduled&&G0[E]===!1)G0.flowing=!0;else if(i.listenerCount("data")>0)i.resume();else if(!G0.readableListening)G0.flowing=null}function X0(i){d("readable nexttick read 0"),i.read(0)}M0.prototype.resume=function(){let i=this._readableState;if(!i.flowing)d("resume"),i.flowing=!i.readableListening,e0(this,i);return i[E]=!1,this};function e0(i,G0){if(!G0.resumeScheduled)G0.resumeScheduled=!0,Q.nextTick(j0,i,G0)}function j0(i,G0){if(d("resume",G0.reading),!G0.reading)i.read(0);if(G0.resumeScheduled=!1,i.emit("resume"),N0(i),G0.flowing&&!G0.reading)i.read(0)}M0.prototype.pause=function(){if(d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)d("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[E]=!0,this};function N0(i){let G0=i._readableState;d("flow",G0.flowing);while(G0.flowing&&i.read()!==null);}M0.prototype.wrap=function(i){let G0=!1;i.on("data",(E0)=>{if(!this.push(E0)&&i.pause)G0=!0,i.pause()}),i.on("end",()=>{this.push(null)}),i.on("error",(E0)=>{x(this,E0)}),i.on("close",()=>{this.destroy()}),i.on("destroy",()=>{this.destroy()}),this._read=()=>{if(G0&&i.resume)G0=!1,i.resume()};let _0=j(i);for(let E0=1;E0<_0.length;E0++){let W$=_0[E0];if(this[W$]===void 0&&typeof i[W$]==="function")this[W$]=i[W$].bind(i)}return this},M0.prototype[B]=function(){return D$(this)},M0.prototype.iterator=function(i){if(i!==void 0)q(i,"options");return D$(this,i)};function D$(i,G0){if(typeof i.read!=="function")i=M0.wrap(i,{objectMode:!0});let _0=x0(i,G0);return _0.stream=i,_0}async function*x0(i,G0){let _0=C;function E0(a0){if(this===i)_0(),_0=C;else _0=a0}i.on("readable",E0);let W$,n0=p(i,{writable:!1},(a0)=>{W$=a0?t(W$,a0):null,_0(),_0=C});try{while(!0){let a0=i.destroyed?null:i.read();if(a0!==null)yield a0;else if(W$)throw W$;else if(W$===null)return;else await new S(E0)}}catch(a0){throw W$=t(W$,a0),W$}finally{if((W$||(G0===null||G0===void 0?void 0:G0.destroyOnReturn)!==!1)&&(W$===void 0||i._readableState.autoDestroy))H0.destroyer(i,null);else i.off("readable",E0),n0()}}L(M0.prototype,{readable:{__proto__:null,get(){let i=this._readableState;return!!i&&i.readable!==!1&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState)this._readableState.readable=!!i}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState)this._readableState.flowing=i}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(i){if(!this._readableState)return;this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),L(I$.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[E]!==!1},set(i){this[E]=!!i}}}),M0._fromList=y0;function y0(i,G0){if(G0.length===0)return null;let _0;if(G0.objectMode)_0=G0.buffer.shift();else if(!i||i>=G0.length){if(G0.decoder)_0=G0.buffer.join("");else if(G0.buffer.length===1)_0=G0.buffer.first();else _0=G0.buffer.concat(G0.length);G0.buffer.clear()}else _0=G0.buffer.consume(i,G0.decoder);return _0}function V$(i){let G0=i._readableState;if(d("endReadable",G0.endEmitted),!G0.endEmitted)G0.ended=!0,Q.nextTick(o0,G0,i)}function o0(i,G0){if(d("endReadableNT",i.endEmitted,i.length),!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){if(i.endEmitted=!0,G0.emit("end"),G0.writable&&G0.allowHalfOpen===!1)Q.nextTick(r0,G0);else if(i.autoDestroy){let _0=G0._writableState;if(!_0||_0.autoDestroy&&(_0.finished||_0.writable===!1))G0.destroy()}}}function r0(i){if(i.writable&&!i.writableEnded&&!i.destroyed)i.end()}M0.from=function(i,G0){return K(M0,i,G0)};var zU;function s0(){if(zU===void 0)zU={};return zU}M0.fromWeb=function(i,G0){return s0().newStreamReadableFromReadableStream(i,G0)},M0.toWeb=function(i,G0){return s0().newReadableStreamFromStreamReadable(i,G0)},M0.wrap=function(i,G0){var _0,E0;return new M0({objectMode:(_0=(E0=i.readableObjectMode)!==null&&E0!==void 0?E0:i.objectMode)!==null&&_0!==void 0?_0:!0,...G0,destroy(W$,n0){H0.destroyer(i,W$),n0(W$)}}).wrap(i)}}),WF=XU((I,J)=>{var Q=QJ(),{ArrayPrototypeSlice:z,Error:X,FunctionPrototypeSymbolHasInstance:W,ObjectDefineProperty:Z,ObjectDefineProperties:L,ObjectSetPrototypeOf:j,StringPrototypeToLowerCase:P,Symbol:S,SymbolHasInstance:T}=fU();J.exports=q,q.WritableState=O;var{EventEmitter:_}=(BY(),j$(jY)),B=KF().Stream,{Buffer:N}=(oU(),j$(nU)),y=vY(),{addAbortSignal:w}=F8(),{getHighWaterMark:u,getDefaultHighWaterMark:g}=H8(),{ERR_INVALID_ARG_TYPE:b,ERR_METHOD_NOT_IMPLEMENTED:p,ERR_MULTIPLE_CALLBACK:d,ERR_STREAM_CANNOT_PIPE:a,ERR_STREAM_DESTROYED:H0,ERR_STREAM_ALREADY_FINISHED:L0,ERR_STREAM_NULL_VALUES:S0,ERR_STREAM_WRITE_AFTER_END:t,ERR_UNKNOWN_ENCODING:q0}=y1().codes,{errorOrDestroy:G}=y;j(q.prototype,B.prototype),j(q,B);function V(){}var D=S("kOnFinished");function O(c,n,D0){if(typeof D0!=="boolean")D0=n instanceof KI();if(this.objectMode=!!(c&&c.objectMode),D0)this.objectMode=this.objectMode||!!(c&&c.writableObjectMode);this.highWaterMark=c?u(this,c,"writableHighWaterMark",D0):g(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let Q0=!!(c&&c.decodeStrings===!1);this.decodeStrings=!Q0,this.defaultEncoding=c&&c.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=x.bind(void 0,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,H(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!c||c.emitClose!==!1,this.autoDestroy=!c||c.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[D]=[]}function H(c){c.buffered=[],c.bufferedIndex=0,c.allBuffers=!0,c.allNoop=!0}O.prototype.getBuffer=function(){return z(this.buffered,this.bufferedIndex)},Z(O.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function q(c){let n=this instanceof KI();if(!n&&!W(q,this))return new q(c);if(this._writableState=new O(c,this,n),c){if(typeof c.write==="function")this._write=c.write;if(typeof c.writev==="function")this._writev=c.writev;if(typeof c.destroy==="function")this._destroy=c.destroy;if(typeof c.final==="function")this._final=c.final;if(typeof c.construct==="function")this._construct=c.construct;if(c.signal)w(c.signal,this)}B.call(this,c),y.construct(this,()=>{let D0=this._writableState;if(!D0.writing)U0(this,D0);e(this,D0)})}Z(q,T,{__proto__:null,value:function(c){if(W(this,c))return!0;if(this!==q)return!1;return c&&c._writableState instanceof O}}),q.prototype.pipe=function(){G(this,new a)};function E(c,n,D0,Q0){let O0=c._writableState;if(typeof D0==="function")Q0=D0,D0=O0.defaultEncoding;else{if(!D0)D0=O0.defaultEncoding;else if(D0!=="buffer"&&!N.isEncoding(D0))throw new q0(D0);if(typeof Q0!=="function")Q0=V}if(n===null)throw new S0;else if(!O0.objectMode)if(typeof n==="string"){if(O0.decodeStrings!==!1)n=N.from(n,D0),D0="buffer"}else if(n instanceof N)D0="buffer";else if(B._isUint8Array(n))n=B._uint8ArrayToBuffer(n),D0="buffer";else throw new b("chunk",["string","Buffer","Uint8Array"],n);let k0;if(O0.ending)k0=new t;else if(O0.destroyed)k0=new H0("write");if(k0)return Q.nextTick(Q0,k0),G(c,k0,!0),k0;return O0.pendingcb++,A(c,O0,n,D0,Q0)}q.prototype.write=function(c,n,D0){return E(this,c,n,D0)===!0},q.prototype.cork=function(){this._writableState.corked++},q.prototype.uncork=function(){let c=this._writableState;if(c.corked){if(c.corked--,!c.writing)U0(this,c)}},q.prototype.setDefaultEncoding=function(c){if(typeof c==="string")c=P(c);if(!N.isEncoding(c))throw new q0(c);return this._writableState.defaultEncoding=c,this};function A(c,n,D0,Q0,O0){let k0=n.objectMode?1:D0.length;n.length+=k0;let I0=n.length<n.highWaterMark;if(!I0)n.needDrain=!0;if(n.writing||n.corked||n.errored||!n.constructed){if(n.buffered.push({chunk:D0,encoding:Q0,callback:O0}),n.allBuffers&&Q0!=="buffer")n.allBuffers=!1;if(n.allNoop&&O0!==V)n.allNoop=!1}else n.writelen=k0,n.writecb=O0,n.writing=!0,n.sync=!0,c._write(D0,Q0,n.onwrite),n.sync=!1;return I0&&!n.errored&&!n.destroyed}function K(c,n,D0,Q0,O0,k0,I0){if(n.writelen=Q0,n.writecb=I0,n.writing=!0,n.sync=!0,n.destroyed)n.onwrite(new H0("write"));else if(D0)c._writev(O0,n.onwrite);else c._write(O0,k0,n.onwrite);n.sync=!1}function C(c,n,D0,Q0){--n.pendingcb,Q0(D0),r(n),G(c,D0)}function x(c,n){let D0=c._writableState,Q0=D0.sync,O0=D0.writecb;if(typeof O0!=="function"){G(c,new d);return}if(D0.writing=!1,D0.writecb=null,D0.length-=D0.writelen,D0.writelen=0,n){if(n.stack,!D0.errored)D0.errored=n;if(c._readableState&&!c._readableState.errored)c._readableState.errored=n;if(Q0)Q.nextTick(C,c,D0,n,O0);else C(c,D0,n,O0)}else{if(D0.buffered.length>D0.bufferedIndex)U0(c,D0);if(Q0)if(D0.afterWriteTickInfo!==null&&D0.afterWriteTickInfo.cb===O0)D0.afterWriteTickInfo.count++;else D0.afterWriteTickInfo={count:1,cb:O0,stream:c,state:D0},Q.nextTick(v,D0.afterWriteTickInfo);else h(c,D0,1,O0)}}function v({stream:c,state:n,count:D0,cb:Q0}){return n.afterWriteTickInfo=null,h(c,n,D0,Q0)}function h(c,n,D0,Q0){if(!n.ending&&!c.destroyed&&n.length===0&&n.needDrain)n.needDrain=!1,c.emit("drain");while(D0-- >0)n.pendingcb--,Q0();if(n.destroyed)r(n);e(c,n)}function r(c){if(c.writing)return;for(let O0=c.bufferedIndex;O0<c.buffered.length;++O0){var n;let{chunk:k0,callback:I0}=c.buffered[O0],z0=c.objectMode?1:k0.length;c.length-=z0,I0((n=c.errored)!==null&&n!==void 0?n:new H0("write"))}let D0=c[D].splice(0);for(let O0=0;O0<D0.length;O0++){var Q0;D0[O0]((Q0=c.errored)!==null&&Q0!==void 0?Q0:new H0("end"))}H(c)}function U0(c,n){if(n.corked||n.bufferProcessing||n.destroyed||!n.constructed)return;let{buffered:D0,bufferedIndex:Q0,objectMode:O0}=n,k0=D0.length-Q0;if(!k0)return;let I0=Q0;if(n.bufferProcessing=!0,k0>1&&c._writev){n.pendingcb-=k0-1;let z0=n.allNoop?V:(M0)=>{for(let v0=I0;v0<D0.length;++v0)D0[v0].callback(M0)},I$=n.allNoop&&I0===0?D0:z(D0,I0);I$.allBuffers=n.allBuffers,K(c,n,!0,n.length,I$,"",z0),H(n)}else{do{let{chunk:z0,encoding:I$,callback:M0}=D0[I0];D0[I0++]=null;let v0=O0?1:z0.length;K(c,n,!1,v0,z0,I$,M0)}while(I0<D0.length&&!n.writing);if(I0===D0.length)H(n);else if(I0>256)D0.splice(0,I0),n.bufferedIndex=0;else n.bufferedIndex=I0}n.bufferProcessing=!1}q.prototype._write=function(c,n,D0){if(this._writev)this._writev([{chunk:c,encoding:n}],D0);else throw new p("_write()")},q.prototype._writev=null,q.prototype.end=function(c,n,D0){let Q0=this._writableState;if(typeof c==="function")D0=c,c=null,n=null;else if(typeof n==="function")D0=n,n=null;let O0;if(c!==null&&c!==void 0){let k0=E(this,c,n);if(k0 instanceof X)O0=k0}if(Q0.corked)Q0.corked=1,this.uncork();if(O0);else if(!Q0.errored&&!Q0.ending)Q0.ending=!0,e(this,Q0,!0),Q0.ended=!0;else if(Q0.finished)O0=new L0("end");else if(Q0.destroyed)O0=new H0("end");if(typeof D0==="function")if(O0||Q0.finished)Q.nextTick(D0,O0);else Q0[D].push(D0);return this};function W0(c){return c.ending&&!c.destroyed&&c.constructed&&c.length===0&&!c.errored&&c.buffered.length===0&&!c.finished&&!c.writing&&!c.errorEmitted&&!c.closeEmitted}function Y0(c,n){let D0=!1;function Q0(O0){if(D0){G(c,O0!==null&&O0!==void 0?O0:d());return}if(D0=!0,n.pendingcb--,O0){let k0=n[D].splice(0);for(let I0=0;I0<k0.length;I0++)k0[I0](O0);G(c,O0,n.sync)}else if(W0(n))n.prefinished=!0,c.emit("prefinish"),n.pendingcb++,Q.nextTick(J0,c,n)}n.sync=!0,n.pendingcb++;try{c._final(Q0)}catch(O0){Q0(O0)}n.sync=!1}function s(c,n){if(!n.prefinished&&!n.finalCalled)if(typeof c._final==="function"&&!n.destroyed)n.finalCalled=!0,Y0(c,n);else n.prefinished=!0,c.emit("prefinish")}function e(c,n,D0){if(W0(n)){if(s(c,n),n.pendingcb===0){if(D0)n.pendingcb++,Q.nextTick((Q0,O0)=>{if(W0(O0))J0(Q0,O0);else O0.pendingcb--},c,n);else if(W0(n))n.pendingcb++,J0(c,n)}}}function J0(c,n){n.pendingcb--,n.finished=!0;let D0=n[D].splice(0);for(let Q0=0;Q0<D0.length;Q0++)D0[Q0]();if(c.emit("finish"),n.autoDestroy){let Q0=c._readableState;if(!Q0||Q0.autoDestroy&&(Q0.endEmitted||Q0.readable===!1))c.destroy()}}L(q.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(c){if(this._writableState)this._writableState.destroyed=c}},writable:{__proto__:null,get(){let c=this._writableState;return!!c&&c.writable!==!1&&!c.destroyed&&!c.errored&&!c.ending&&!c.ended},set(c){if(this._writableState)this._writableState.writable=!!c}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let c=this._writableState;if(!c)return!1;return!c.destroyed&&!c.ending&&c.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Z0=y.destroy;q.prototype.destroy=function(c,n){let D0=this._writableState;if(!D0.destroyed&&(D0.bufferedIndex<D0.buffered.length||D0[D].length))Q.nextTick(r,D0);return Z0.call(this,c,n),this},q.prototype._undestroy=y.undestroy,q.prototype._destroy=function(c,n){n(c)},q.prototype[_.captureRejectionSymbol]=function(c){this.destroy(c)};var A0;function $0(){if(A0===void 0)A0={};return A0}q.fromWeb=function(c,n){return $0().newStreamWritableFromWritableStream(c,n)},q.toWeb=function(c){return $0().newWritableStreamFromStreamWritable(c)}}),Ow=XU((I,J)=>{var Q=QJ(),z=(oU(),j$(nU)),{isReadable:X,isWritable:W,isIterable:Z,isNodeStream:L,isReadableNodeStream:j,isWritableNodeStream:P,isDuplexNodeStream:S,isReadableStream:T,isWritableStream:_}=WI(),B=JX(),{AbortError:N,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:w}}=y1(),{destroyer:u}=vY(),g=KI(),b=D8(),p=WF(),{createDeferredPromise:d}=s1(),a=wS(),H0=globalThis.Blob||z.Blob,L0=typeof H0<"u"?function(D){return D instanceof H0}:function(D){return!1},S0=globalThis.AbortController||tG().AbortController,{FunctionPrototypeCall:t}=fU();class q0 extends g{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}}J.exports=function D(O,H){if(S(O))return O;if(j(O))return V({readable:O});if(P(O))return V({writable:O});if(L(O))return V({writable:!1,readable:!1});if(T(O))return V({readable:b.fromWeb(O)});if(_(O))return V({writable:p.fromWeb(O)});if(typeof O==="function"){let{value:E,write:A,final:K,destroy:C}=G(O);if(Z(E))return a(q0,E,{objectMode:!0,write:A,final:K,destroy:C});let x=E===null||E===void 0?void 0:E.then;if(typeof x==="function"){let v,h=t(x,E,(r)=>{if(r!=null)throw new w("nully","body",r)},(r)=>{u(v,r)});return v=new q0({objectMode:!0,readable:!1,write:A,final(r){K(async()=>{try{await h,Q.nextTick(r,null)}catch(U0){Q.nextTick(r,U0)}})},destroy:C})}throw new w("Iterable, AsyncIterable or AsyncFunction",H,E)}if(L0(O))return D(O.arrayBuffer());if(Z(O))return a(q0,O,{objectMode:!0,writable:!1});if(T(O===null||O===void 0?void 0:O.readable)&&_(O===null||O===void 0?void 0:O.writable))return q0.fromWeb(O);if(typeof(O===null||O===void 0?void 0:O.writable)==="object"||typeof(O===null||O===void 0?void 0:O.readable)==="object"){let E=O!==null&&O!==void 0&&O.readable?j(O===null||O===void 0?void 0:O.readable)?O===null||O===void 0?void 0:O.readable:D(O.readable):void 0,A=O!==null&&O!==void 0&&O.writable?P(O===null||O===void 0?void 0:O.writable)?O===null||O===void 0?void 0:O.writable:D(O.writable):void 0;return V({readable:E,writable:A})}let q=O===null||O===void 0?void 0:O.then;if(typeof q==="function"){let E;return t(q,O,(A)=>{if(A!=null)E.push(A);E.push(null)},(A)=>{u(E,A)}),E=new q0({objectMode:!0,writable:!1,read(){}})}throw new y(H,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],O)};function G(D){let{promise:O,resolve:H}=d(),q=new S0,E=q.signal;return{value:D(async function*(){while(!0){let A=O;O=null;let{chunk:K,done:C,cb:x}=await A;if(Q.nextTick(x),C)return;if(E.aborted)throw new N(void 0,{cause:E.reason});({promise:O,resolve:H}=d()),yield K}}(),{signal:E}),write(A,K,C){let x=H;H=null,x({chunk:A,done:!1,cb:C})},final(A){let K=H;H=null,K({done:!0,cb:A})},destroy(A,K){q.abort(),K(A)}}}function V(D){let O=D.readable&&typeof D.readable.read!=="function"?b.wrap(D.readable):D.readable,H=D.writable,q=!!X(O),E=!!W(H),A,K,C,x,v;function h(r){let U0=x;if(x=null,U0)U0(r);else if(r)v.destroy(r)}if(v=new q0({readableObjectMode:!!(O!==null&&O!==void 0&&O.readableObjectMode),writableObjectMode:!!(H!==null&&H!==void 0&&H.writableObjectMode),readable:q,writable:E}),E)B(H,(r)=>{if(E=!1,r)u(O,r);h(r)}),v._write=function(r,U0,W0){if(H.write(r,U0))W0();else A=W0},v._final=function(r){H.end(),K=r},H.on("drain",function(){if(A){let r=A;A=null,r()}}),H.on("finish",function(){if(K){let r=K;K=null,r()}});if(q)B(O,(r)=>{if(q=!1,r)u(O,r);h(r)}),O.on("readable",function(){if(C){let r=C;C=null,r()}}),O.on("end",function(){v.push(null)}),v._read=function(){while(!0){let r=O.read();if(r===null){C=v._read;return}if(!v.push(r))return}};return v._destroy=function(r,U0){if(!r&&x!==null)r=new N;if(C=null,A=null,K=null,x===null)U0(r);else x=U0,u(H,r),u(O,r)},v}}),KI=XU((I,J)=>{var{ObjectDefineProperties:Q,ObjectGetOwnPropertyDescriptor:z,ObjectKeys:X,ObjectSetPrototypeOf:W}=fU();J.exports=j;var Z=D8(),L=WF();W(j.prototype,Z.prototype),W(j,Z);{let _=X(L.prototype);for(let B=0;B<_.length;B++){let N=_[B];if(!j.prototype[N])j.prototype[N]=L.prototype[N]}}function j(_){if(!(this instanceof j))return new j(_);if(Z.call(this,_),L.call(this,_),_){if(this.allowHalfOpen=_.allowHalfOpen!==!1,_.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(_.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}Q(j.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(_){if(this._readableState&&this._writableState)this._readableState.destroyed=_,this._writableState.destroyed=_}}});var P;function S(){if(P===void 0)P={};return P}j.fromWeb=function(_,B){return S().newStreamDuplexFromReadableWritablePair(_,B)},j.toWeb=function(_){return S().newReadableWritablePairFromDuplex(_)};var T;j.from=function(_){if(!T)T=Ow();return T(_,"body")}}),fS=XU((I,J)=>{var{ObjectSetPrototypeOf:Q,Symbol:z}=fU();J.exports=j;var{ERR_METHOD_NOT_IMPLEMENTED:X}=y1().codes,W=KI(),{getHighWaterMark:Z}=H8();Q(j.prototype,W.prototype),Q(j,W);var L=z("kCallback");function j(T){if(!(this instanceof j))return new j(T);let _=T?Z(this,T,"readableHighWaterMark",!0):null;if(_===0)T={...T,highWaterMark:null,readableHighWaterMark:_,writableHighWaterMark:T.writableHighWaterMark||0};if(W.call(this,T),this._readableState.sync=!1,this[L]=null,T){if(typeof T.transform==="function")this._transform=T.transform;if(typeof T.flush==="function")this._flush=T.flush}this.on("prefinish",S)}function P(T){if(typeof this._flush==="function"&&!this.destroyed)this._flush((_,B)=>{if(_){if(T)T(_);else this.destroy(_);return}if(B!=null)this.push(B);if(this.push(null),T)T()});else if(this.push(null),T)T()}function S(){if(this._final!==P)P.call(this)}j.prototype._final=P,j.prototype._transform=function(T,_,B){throw new X("_transform()")},j.prototype._write=function(T,_,B){let N=this._readableState,y=this._writableState,w=N.length;this._transform(T,_,(u,g)=>{if(u){B(u);return}if(g!=null)this.push(g);if(y.ended||w===N.length||N.length<N.highWaterMark)B();else this[L]=B})},j.prototype._read=function(){if(this[L]){let T=this[L];this[L]=null,T()}}}),yS=XU((I,J)=>{var{ObjectSetPrototypeOf:Q}=fU();J.exports=X;var z=fS();Q(X.prototype,z.prototype),Q(X,z);function X(W){if(!(this instanceof X))return new X(W);z.call(this,W)}X.prototype._transform=function(W,Z,L){L(null,W)}}),zF=XU((I,J)=>{var Q=QJ(),{ArrayIsArray:z,Promise:X,SymbolAsyncIterator:W,SymbolDispose:Z}=fU(),L=JX(),{once:j}=s1(),P=vY(),S=KI(),{aggregateTwoErrors:T,codes:{ERR_INVALID_ARG_TYPE:_,ERR_INVALID_RETURN_VALUE:B,ERR_MISSING_ARGS:N,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:w},AbortError:u}=y1(),{validateFunction:g,validateAbortSignal:b}=aG(),{isIterable:p,isReadable:d,isReadableNodeStream:a,isNodeStream:H0,isTransformStream:L0,isWebStream:S0,isReadableStream:t,isReadableFinished:q0}=WI(),G=globalThis.AbortController||tG().AbortController,V,D,O;function H(r,U0,W0){let Y0=!1;r.on("close",()=>{Y0=!0});let s=L(r,{readable:U0,writable:W0},(e)=>{Y0=!e});return{destroy:(e)=>{if(Y0)return;Y0=!0,P.destroyer(r,e||new y("pipe"))},cleanup:s}}function q(r){return g(r[r.length-1],"streams[stream.length - 1]"),r.pop()}function E(r){if(p(r))return r;else if(a(r))return A(r);throw new _("val",["Readable","Iterable","AsyncIterable"],r)}async function*A(r){if(!D)D=D8();yield*D.prototype[W].call(r)}async function K(r,U0,W0,{end:Y0}){let s,e=null,J0=($0)=>{if($0)s=$0;if(e){let c=e;e=null,c()}},Z0=()=>new X(($0,c)=>{if(s)c(s);else e=()=>{if(s)c(s);else $0()}});U0.on("drain",J0);let A0=L(U0,{readable:!1},J0);try{if(U0.writableNeedDrain)await Z0();for await(let $0 of r)if(!U0.write($0))await Z0();if(Y0)U0.end(),await Z0();W0()}catch($0){W0(s!==$0?T(s,$0):$0)}finally{A0(),U0.off("drain",J0)}}async function C(r,U0,W0,{end:Y0}){if(L0(U0))U0=U0.writable;let s=U0.getWriter();try{for await(let e of r)await s.ready,s.write(e).catch(()=>{});if(await s.ready,Y0)await s.close();W0()}catch(e){try{await s.abort(e),W0(e)}catch(J0){W0(J0)}}}function x(...r){return v(r,j(q(r)))}function v(r,U0,W0){if(r.length===1&&z(r[0]))r=r[0];if(r.length<2)throw new N("streams");let Y0=new G,s=Y0.signal,e=W0===null||W0===void 0?void 0:W0.signal,J0=[];b(e,"options.signal");function Z0(){O0(new u)}O=O||s1().addAbortListener;let A0;if(e)A0=O(e,Z0);let $0,c,n=[],D0=0;function Q0(M0){O0(M0,--D0===0)}function O0(M0,v0){var M$;if(M0&&(!$0||$0.code==="ERR_STREAM_PREMATURE_CLOSE"))$0=M0;if(!$0&&!v0)return;while(n.length)n.shift()($0);if((M$=A0)===null||M$===void 0||M$[Z](),Y0.abort(),v0){if(!$0)J0.forEach((m0)=>m0());Q.nextTick(U0,$0,c)}}let k0;for(let M0=0;M0<r.length;M0++){let v0=r[M0],M$=M0<r.length-1,m0=M0>0,p0=M$||(W0===null||W0===void 0?void 0:W0.end)!==!1,r$=M0===r.length-1;if(H0(v0)){let h0=function(c0){if(c0&&c0.name!=="AbortError"&&c0.code!=="ERR_STREAM_PREMATURE_CLOSE")Q0(c0)};var I0=h0;if(p0){let{destroy:c0,cleanup:YU}=H(v0,M$,m0);if(n.push(c0),d(v0)&&r$)J0.push(YU)}if(v0.on("error",h0),d(v0)&&r$)J0.push(()=>{v0.removeListener("error",h0)})}if(M0===0)if(typeof v0==="function"){if(k0=v0({signal:s}),!p(k0))throw new B("Iterable, AsyncIterable or Stream","source",k0)}else if(p(v0)||a(v0)||L0(v0))k0=v0;else k0=S.from(v0);else if(typeof v0==="function"){if(L0(k0)){var z0;k0=E((z0=k0)===null||z0===void 0?void 0:z0.readable)}else k0=E(k0);if(k0=v0(k0,{signal:s}),M$){if(!p(k0,!0))throw new B("AsyncIterable",`transform[${M0-1}]`,k0)}else{var I$;if(!V)V=yS();let h0=new V({objectMode:!0}),c0=(I$=k0)===null||I$===void 0?void 0:I$.then;if(typeof c0==="function")D0++,c0.call(k0,(i0)=>{if(c=i0,i0!=null)h0.write(i0);if(p0)h0.end();Q.nextTick(Q0)},(i0)=>{h0.destroy(i0),Q.nextTick(Q0,i0)});else if(p(k0,!0))D0++,K(k0,h0,Q0,{end:p0});else if(t(k0)||L0(k0)){let i0=k0.readable||k0;D0++,K(i0,h0,Q0,{end:p0})}else throw new B("AsyncIterable or Promise","destination",k0);k0=h0;let{destroy:YU,cleanup:t0}=H(k0,!1,!0);if(n.push(YU),r$)J0.push(t0)}}else if(H0(v0)){if(a(k0)){D0+=2;let h0=h(k0,v0,Q0,{end:p0});if(d(v0)&&r$)J0.push(h0)}else if(L0(k0)||t(k0)){let h0=k0.readable||k0;D0++,K(h0,v0,Q0,{end:p0})}else if(p(k0))D0++,K(k0,v0,Q0,{end:p0});else throw new _("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],k0);k0=v0}else if(S0(v0)){if(a(k0))D0++,C(E(k0),v0,Q0,{end:p0});else if(t(k0)||p(k0))D0++,C(k0,v0,Q0,{end:p0});else if(L0(k0))D0++,C(k0.readable,v0,Q0,{end:p0});else throw new _("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],k0);k0=v0}else k0=S.from(v0)}if(s!==null&&s!==void 0&&s.aborted||e!==null&&e!==void 0&&e.aborted)Q.nextTick(Z0);return k0}function h(r,U0,W0,{end:Y0}){let s=!1;if(U0.on("close",()=>{if(!s)W0(new w)}),r.pipe(U0,{end:!1}),Y0){let J0=function(){s=!0,U0.end()};var e=J0;if(q0(r))Q.nextTick(J0);else r.once("end",J0)}else W0();return L(r,{readable:!0,writable:!1},(J0)=>{let Z0=r._readableState;if(J0&&J0.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z0&&Z0.ended&&!Z0.errored&&!Z0.errorEmitted)r.once("end",W0).once("error",W0);else W0(J0)}),L(U0,{readable:!1,writable:!0},W0)}J.exports={pipelineImpl:v,pipeline:x}}),bS=XU((I,J)=>{var{pipeline:Q}=zF(),z=KI(),{destroyer:X}=vY(),{isNodeStream:W,isReadable:Z,isWritable:L,isWebStream:j,isTransformStream:P,isWritableStream:S,isReadableStream:T}=WI(),{AbortError:_,codes:{ERR_INVALID_ARG_VALUE:B,ERR_MISSING_ARGS:N}}=y1(),y=JX();J.exports=function(...w){if(w.length===0)throw new N("streams");if(w.length===1)return z.from(w[0]);let u=[...w];if(typeof w[0]==="function")w[0]=z.from(w[0]);if(typeof w[w.length-1]==="function"){let G=w.length-1;w[G]=z.from(w[G])}for(let G=0;G<w.length;++G){if(!W(w[G])&&!j(w[G]))continue;if(G<w.length-1&&!(Z(w[G])||T(w[G])||P(w[G])))throw new B(`streams[${G}]`,u[G],"must be readable");if(G>0&&!(L(w[G])||S(w[G])||P(w[G])))throw new B(`streams[${G}]`,u[G],"must be writable")}let g,b,p,d,a;function H0(G){let V=d;if(d=null,V)V(G);else if(G)a.destroy(G);else if(!q0&&!t)a.destroy()}let L0=w[0],S0=Q(w,H0),t=!!(L(L0)||S(L0)||P(L0)),q0=!!(Z(S0)||T(S0)||P(S0));if(a=new z({writableObjectMode:!!(L0!==null&&L0!==void 0&&L0.writableObjectMode),readableObjectMode:!!(S0!==null&&S0!==void 0&&S0.readableObjectMode),writable:t,readable:q0}),t){if(W(L0))a._write=function(V,D,O){if(L0.write(V,D))O();else g=O},a._final=function(V){L0.end(),b=V},L0.on("drain",function(){if(g){let V=g;g=null,V()}});else if(j(L0)){let V=(P(L0)?L0.writable:L0).getWriter();a._write=async function(D,O,H){try{await V.ready,V.write(D).catch(()=>{}),H()}catch(q){H(q)}},a._final=async function(D){try{await V.ready,V.close().catch(()=>{}),b=D}catch(O){D(O)}}}let G=P(S0)?S0.readable:S0;y(G,()=>{if(b){let V=b;b=null,V()}})}if(q0){if(W(S0))S0.on("readable",function(){if(p){let G=p;p=null,G()}}),S0.on("end",function(){a.push(null)}),a._read=function(){while(!0){let G=S0.read();if(G===null){p=a._read;return}if(!a.push(G))return}};else if(j(S0)){let G=(P(S0)?S0.readable:S0).getReader();a._read=async function(){while(!0)try{let{value:V,done:D}=await G.read();if(!a.push(V))return;if(D){a.push(null);return}}catch{return}}}}return a._destroy=function(G,V){if(!G&&d!==null)G=new _;if(p=null,g=null,b=null,d===null)V(G);else if(d=V,W(S0))X(S0,G)},a}}),Vw=XU((I,J)=>{var Q=globalThis.AbortController||tG().AbortController,{codes:{ERR_INVALID_ARG_VALUE:z,ERR_INVALID_ARG_TYPE:X,ERR_MISSING_ARGS:W,ERR_OUT_OF_RANGE:Z},AbortError:L}=y1(),{validateAbortSignal:j,validateInteger:P,validateObject:S}=aG(),T=fU().Symbol("kWeak"),_=fU().Symbol("kResistStopPropagation"),{finished:B}=JX(),N=bS(),{addAbortSignalNoValidate:y}=F8(),{isWritable:w,isNodeStream:u}=WI(),{deprecate:g}=s1(),{ArrayPrototypePush:b,Boolean:p,MathFloor:d,Number:a,NumberIsNaN:H0,Promise:L0,PromiseReject:S0,PromiseResolve:t,PromisePrototypeThen:q0,Symbol:G}=fU(),V=G("kEmpty"),D=G("kEof");function O(e,J0){if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");if(u(e)&&!w(e))throw new z("stream",e,"must be writable");let Z0=N(this,e);if(J0!==null&&J0!==void 0&&J0.signal)y(J0.signal,Z0);return Z0}function H(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");let Z0=1;if((J0===null||J0===void 0?void 0:J0.concurrency)!=null)Z0=d(J0.concurrency);let A0=Z0-1;if((J0===null||J0===void 0?void 0:J0.highWaterMark)!=null)A0=d(J0.highWaterMark);return P(Z0,"options.concurrency",1),P(A0,"options.highWaterMark",0),A0+=Z0,async function*(){let $0=s1().AbortSignalAny([J0===null||J0===void 0?void 0:J0.signal].filter(p)),c=this,n=[],D0={signal:$0},Q0,O0,k0=!1,I0=0;function z0(){k0=!0,I$()}function I$(){I0-=1,M0()}function M0(){if(O0&&!k0&&I0<Z0&&n.length<A0)O0(),O0=null}async function v0(){try{for await(let M$ of c){if(k0)return;if($0.aborted)throw new L;try{if(M$=e(M$,D0),M$===V)continue;M$=t(M$)}catch(m0){M$=S0(m0)}if(I0+=1,q0(M$,I$,z0),n.push(M$),Q0)Q0(),Q0=null;if(!k0&&(n.length>=A0||I0>=Z0))await new L0((m0)=>{O0=m0})}n.push(D)}catch(M$){let m0=S0(M$);q0(m0,I$,z0),n.push(m0)}finally{if(k0=!0,Q0)Q0(),Q0=null}}v0();try{while(!0){while(n.length>0){let M$=await n[0];if(M$===D)return;if($0.aborted)throw new L;if(M$!==V)yield M$;n.shift(),M0()}await new L0((M$)=>{Q0=M$})}}finally{if(k0=!0,O0)O0(),O0=null}}.call(this)}function q(e=void 0){if(e!=null)S(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)j(e.signal,"options.signal");return async function*(){let J0=0;for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L({cause:e.signal.reason});yield[J0++,A0]}}.call(this)}async function E(e,J0=void 0){for await(let Z0 of x.call(this,e,J0))return!0;return!1}async function A(e,J0=void 0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);return!await E.call(this,async(...Z0)=>{return!await e(...Z0)},J0)}async function K(e,J0){for await(let Z0 of x.call(this,e,J0))return Z0;return}async function C(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){return await e(A0,$0),V}for await(let A0 of H.call(this,Z0,J0));}function x(e,J0){if(typeof e!=="function")throw new X("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){if(await e(A0,$0))return A0;return V}return H.call(this,Z0,J0)}class v extends W{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function h(e,J0,Z0){var A0;if(typeof e!=="function")throw new X("reducer",["Function","AsyncFunction"],e);if(Z0!=null)S(Z0,"options");if((Z0===null||Z0===void 0?void 0:Z0.signal)!=null)j(Z0.signal,"options.signal");let $0=arguments.length>1;if(Z0!==null&&Z0!==void 0&&(A0=Z0.signal)!==null&&A0!==void 0&&A0.aborted){let O0=new L(void 0,{cause:Z0.signal.reason});throw this.once("error",()=>{}),await B(this.destroy(O0)),O0}let c=new Q,n=c.signal;if(Z0!==null&&Z0!==void 0&&Z0.signal){let O0={once:!0,[T]:this,[_]:!0};Z0.signal.addEventListener("abort",()=>c.abort(),O0)}let D0=!1;try{for await(let O0 of this){var Q0;if(D0=!0,Z0!==null&&Z0!==void 0&&(Q0=Z0.signal)!==null&&Q0!==void 0&&Q0.aborted)throw new L;if(!$0)J0=O0,$0=!0;else J0=await e(J0,O0,{signal:n})}if(!D0&&!$0)throw new v}finally{c.abort()}return J0}async function r(e){if(e!=null)S(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)j(e.signal,"options.signal");let J0=[];for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L(void 0,{cause:e.signal.reason});b(J0,A0)}return J0}function U0(e,J0){let Z0=H.call(this,e,J0);return async function*(){for await(let A0 of Z0)yield*A0}.call(this)}function W0(e){if(e=a(e),H0(e))return 0;if(e<0)throw new Z("number",">= 0",e);return e}function Y0(e,J0=void 0){if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");return e=W0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new L;if(e--<=0)yield $0}}.call(this)}function s(e,J0=void 0){if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)j(J0.signal,"options.signal");return e=W0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new L;if(e-- >0)yield $0;if(e<=0)return}}.call(this)}J.exports.streamReturningOperators={asIndexedPairs:g(q,"readable.asIndexedPairs will be removed in a future version."),drop:Y0,filter:x,flatMap:U0,map:H,take:s,compose:O},J.exports.promiseReturningOperators={every:A,forEach:C,reduce:h,toArray:r,some:E,find:K}}),uS=XU((I,J)=>{var{ArrayPrototypePop:Q,Promise:z}=fU(),{isIterable:X,isNodeStream:W,isWebStream:Z}=WI(),{pipelineImpl:L}=zF(),{finished:j}=JX();hS();function P(...S){return new z((T,_)=>{let B,N,y=S[S.length-1];if(y&&typeof y==="object"&&!W(y)&&!X(y)&&!Z(y)){let w=Q(S);B=w.signal,N=w.end}L(S,(w,u)=>{if(w)_(w);else T(u)},{signal:B,end:N})})}J.exports={finished:j,pipeline:P}}),hS=XU((I,J)=>{var{Buffer:Q}=(oU(),j$(nU)),{ObjectDefineProperty:z,ObjectKeys:X,ReflectApply:W}=fU(),{promisify:{custom:Z}}=s1(),{streamReturningOperators:L,promiseReturningOperators:j}=Vw(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:P}}=y1(),S=bS(),{setDefaultHighWaterMark:T,getDefaultHighWaterMark:_}=H8(),{pipeline:B}=zF(),{destroyer:N}=vY(),y=JX(),w=uS(),u=WI(),g=J.exports=KF().Stream;g.isDestroyed=u.isDestroyed,g.isDisturbed=u.isDisturbed,g.isErrored=u.isErrored,g.isReadable=u.isReadable,g.isWritable=u.isWritable,g.Readable=D8();for(let p of X(L)){let d=function(...H0){if(new.target)throw P();return g.Readable.from(W(a,this,H0))},a=L[p];z(d,"name",{__proto__:null,value:a.name}),z(d,"length",{__proto__:null,value:a.length}),z(g.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}for(let p of X(j)){let d=function(...H0){if(new.target)throw P();return W(a,this,H0)},a=j[p];z(d,"name",{__proto__:null,value:a.name}),z(d,"length",{__proto__:null,value:a.length}),z(g.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}g.Writable=WF(),g.Duplex=KI(),g.Transform=fS(),g.PassThrough=yS(),g.pipeline=B;var{addAbortSignal:b}=F8();g.addAbortSignal=b,g.finished=y,g.destroy=N,g.compose=S,g.setDefaultHighWaterMark=T,g.getDefaultHighWaterMark=_,z(g,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return w}}),z(B,Z,{__proto__:null,enumerable:!0,get(){return w.pipeline}}),z(y,Z,{__proto__:null,enumerable:!0,get(){return w.finished}}),g.Stream=g,g._isUint8Array=function(p){return p instanceof Uint8Array},g._uint8ArrayToBuffer=function(p){return Q.from(p.buffer,p.byteOffset,p.byteLength)}}),Fw=XU((I,J)=>{var Q=NY();{let z=hS(),X=uS(),W=z.Readable.destroy;J.exports=z.Readable,J.exports._uint8ArrayToBuffer=z._uint8ArrayToBuffer,J.exports._isUint8Array=z._isUint8Array,J.exports.isDisturbed=z.isDisturbed,J.exports.isErrored=z.isErrored,J.exports.isReadable=z.isReadable,J.exports.Readable=z.Readable,J.exports.Writable=z.Writable,J.exports.Duplex=z.Duplex,J.exports.Transform=z.Transform,J.exports.PassThrough=z.PassThrough,J.exports.addAbortSignal=z.addAbortSignal,J.exports.finished=z.finished,J.exports.destroy=z.destroy,J.exports.destroy=W,J.exports.pipeline=z.pipeline,J.exports.compose=z.compose,Object.defineProperty(z,"promises",{configurable:!0,enumerable:!0,get(){return X}}),J.exports.Stream=z.Stream}J.exports.default=J.exports});cS.exports=Fw()});var T4={};f1(T4,{webcrypto:()=>hy,rng:()=>$y,randomUUID:()=>kY,randomFillSync:()=>gy,randomFill:()=>ky,randomBytes:()=>Uy,publicEncrypt:()=>jy,publicDecrypt:()=>vy,pseudoRandomBytes:()=>ef,prng:()=>sf,privateEncrypt:()=>By,privateDecrypt:()=>Ny,pbkdf2Sync:()=>Gy,pbkdf2:()=>Qy,listCiphers:()=>Ly,getRandomValues:()=>yy,getHashes:()=>Yy,getDiffieHellman:()=>Ty,getCurves:()=>uy,getCiphers:()=>Dy,default:()=>cy,createVerify:()=>_y,createSign:()=>Ry,createHmac:()=>Jy,createHash:()=>A4,createECDH:()=>Ey,createDiffieHellmanGroup:()=>Ay,createDiffieHellman:()=>Cy,createDecipheriv:()=>Hy,createDecipher:()=>Vy,createCredentials:()=>xy,createCipheriv:()=>zy,createCipher:()=>Ky,constants:()=>wy,Verify:()=>Sy,Sign:()=>Py,Hmac:()=>Xy,Hash:()=>Iy,DiffieHellmanGroup:()=>My,DiffieHellman:()=>qy,Decipheriv:()=>Fy,Decipher:()=>Oy,DEFAULT_ENCODING:()=>fy,Cipheriv:()=>Wy,Cipher:()=>Zy});function uy(){return by}var Hw,Dw,pS,Lw,Mw,Aw=(I,J,Q)=>{Q=I!=null?Hw(Dw(I)):{};let z=J||!I||!I.__esModule?pS(Q,"default",{value:I,enumerable:!0}):Q;for(let X of Lw(I))if(!Mw.call(z,X))pS(z,X,{get:()=>I[X],enumerable:!0});return z},u0=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),L8,M8,lS,Tw,VF,FF,b1,Cw,eG,dS,qw,Rw,Pw,_w,nS,Sw,Ew,jw,Bw,vw,Nw,kw,gw,xw,ww,$2,A8,oS,fw,iS,rS,yw,U2,HF,DF,bw,tS,LF,uw,aS,hw,sS,eS,cw,pw,mw,lw,dw,nw,ow,iw,rw,tw,aw,sw,ew,$f,MF,$E,Uf,UE,If,Xf,Jf,Yf,zI,YX,IE,b4,XE,T8,Qf,M4,Gf,Zf,Kf,JE,v6,I2,YE,Wf,QE,zf,GE,Of,Vf,Ff,Hf,AF,Df,TF,Lf,Mf,Af,Tf,Cf,qf,Rf,Pf,_f,Sf,Ef,jf,Bf,vf,mS,Nf,sG,kf,ZE,KE,gf,xf,WE,wf,ff,X2,yf,bf,uf,hf,cf,pf,zE,mf,OE,VE,FE,CF,HE,lf,DE,df,nf,OF,of,rf,tf,af,h$,sf,ef,$y,Uy,Iy,A4,Xy,Jy,Yy,Qy,Gy,Zy,Ky,Wy,zy,Oy,Vy,Fy,Hy,Dy,Ly,My,Ay,Ty,Cy,qy,Ry,Py,_y,Sy,Ey,jy,By,vy,Ny,ky,gy,xy,wy,fy="buffer",yy=(I)=>{return crypto.getRandomValues(I)},kY=()=>{return crypto.randomUUID()},by,hy,cy;var yU=TY(()=>{Hw=Object.create,{getPrototypeOf:Dw,defineProperty:pS,getOwnPropertyNames:Lw}=Object,Mw=Object.prototype.hasOwnProperty,L8=u0((I,J)=>{J.exports=(yU(),j$(T4)).randomBytes}),M8=u0((I,J)=>{J.exports=(yU(),j$(T4)).createHash}),lS=u0((I,J)=>{J.exports=(yU(),j$(T4)).createHmac}),Tw=u0((I,J)=>{J.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}),VF=u0((I,J)=>{var Q=isFinite,z=Math.pow(2,30)-1;J.exports=function(X,W){if(typeof X!=="number")throw TypeError("Iterations not a number");if(X<0||!Q(X))throw TypeError("Bad iterations");if(typeof W!=="number")throw TypeError("Key length not a number");if(W<0||W>z||W!==W)throw TypeError("Bad key length")}}),FF=u0((I,J)=>{var Q;if(globalThis.process&&globalThis.process.browser)Q="utf-8";else if(globalThis.process&&globalThis.process.version)z=parseInt(process.version.split(".")[0].slice(1),10),Q=z>=6?"utf-8":"binary";else Q="utf-8";var z;J.exports=Q}),b1=u0((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Q=(oU(),j$(nU)),z=Q.Buffer;function X(Z,L){for(var j in Z)L[j]=Z[j]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)J.exports=Q;else X(Q,I),I.Buffer=W;function W(Z,L,j){return z(Z,L,j)}W.prototype=Object.create(z.prototype),X(z,W),W.from=function(Z,L,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return z(Z,L,j)},W.alloc=function(Z,L,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var P=z(Z);if(L!==void 0)if(typeof j==="string")P.fill(L,j);else P.fill(L);else P.fill(0);return P},W.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return z(Z)},W.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Q.SlowBuffer(Z)}}),Cw=u0((I,J)=>{var Q={}.toString;J.exports=Array.isArray||function(z){return Q.call(z)=="[object Array]"}}),eG=u0((I,J)=>{J.exports=TypeError}),dS=u0((I,J)=>{J.exports=Object}),qw=u0((I,J)=>{J.exports=Error}),Rw=u0((I,J)=>{J.exports=EvalError}),Pw=u0((I,J)=>{J.exports=RangeError}),_w=u0((I,J)=>{J.exports=ReferenceError}),nS=u0((I,J)=>{J.exports=SyntaxError}),Sw=u0((I,J)=>{J.exports=URIError}),Ew=u0((I,J)=>{J.exports=Math.abs}),jw=u0((I,J)=>{J.exports=Math.floor}),Bw=u0((I,J)=>{J.exports=Math.max}),vw=u0((I,J)=>{J.exports=Math.min}),Nw=u0((I,J)=>{J.exports=Math.pow}),kw=u0((I,J)=>{J.exports=Math.round}),gw=u0((I,J)=>{J.exports=Number.isNaN||function(Q){return Q!==Q}}),xw=u0((I,J)=>{var Q=gw();J.exports=function(z){if(Q(z)||z===0)return z;return z<0?-1:1}}),ww=u0((I,J)=>{J.exports=Object.getOwnPropertyDescriptor}),$2=u0((I,J)=>{var Q=ww();if(Q)try{Q([],"length")}catch(z){Q=null}J.exports=Q}),A8=u0((I,J)=>{var Q=Object.defineProperty||!1;if(Q)try{Q({},"a",{value:1})}catch(z){Q=!1}J.exports=Q}),oS=u0((I,J)=>{J.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var Q={},z=Symbol("test"),X=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(X)!=="[object Symbol]")return!1;var W=42;Q[z]=W;for(var Z in Q)return!1;if(typeof Object.keys==="function"&&Object.keys(Q).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(Q).length!==0)return!1;var L=Object.getOwnPropertySymbols(Q);if(L.length!==1||L[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(Q,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var j=Object.getOwnPropertyDescriptor(Q,z);if(j.value!==W||j.enumerable!==!0)return!1}return!0}}),fw=u0((I,J)=>{var Q=typeof Symbol<"u"&&Symbol,z=oS();J.exports=function(){if(typeof Q!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof Q("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return z()}}),iS=u0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),rS=u0((I,J)=>{var Q=dS();J.exports=Q.getPrototypeOf||null}),yw=u0((I,J)=>{var Q="Function.prototype.bind called on incompatible ",z=Object.prototype.toString,X=Math.max,W="[object Function]",Z=function(P,S){var T=[];for(var _=0;_<P.length;_+=1)T[_]=P[_];for(var B=0;B<S.length;B+=1)T[B+P.length]=S[B];return T},L=function(P,S){var T=[];for(var _=S||0,B=0;_<P.length;_+=1,B+=1)T[B]=P[_];return T},j=function(P,S){var T="";for(var _=0;_<P.length;_+=1)if(T+=P[_],_+1<P.length)T+=S;return T};J.exports=function(P){var S=this;if(typeof S!=="function"||z.apply(S)!==W)throw TypeError(Q+S);var T=L(arguments,1),_,B=function(){if(this instanceof _){var g=S.apply(this,Z(T,arguments));if(Object(g)===g)return g;return this}return S.apply(P,Z(T,arguments))},N=X(0,S.length-T.length),y=[];for(var w=0;w<N;w++)y[w]="$"+w;if(_=Function("binder","return function ("+j(y,",")+"){ return binder.apply(this,arguments); }")(B),S.prototype){var u=function(){};u.prototype=S.prototype,_.prototype=new u,u.prototype=null}return _}}),U2=u0((I,J)=>{var Q=yw();J.exports=Function.prototype.bind||Q}),HF=u0((I,J)=>{J.exports=Function.prototype.call}),DF=u0((I,J)=>{J.exports=Function.prototype.apply}),bw=u0((I,J)=>{J.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),tS=u0((I,J)=>{var Q=U2(),z=DF(),X=HF(),W=bw();J.exports=W||Q.call(X,z)}),LF=u0((I,J)=>{var Q=U2(),z=eG(),X=HF(),W=tS();J.exports=function(Z){if(Z.length<1||typeof Z[0]!=="function")throw new z("a function is required");return W(Q,X,Z)}}),uw=u0((I,J)=>{var Q=LF(),z=$2(),X;try{X=[].__proto__===Array.prototype}catch(j){if(!j||typeof j!=="object"||!("code"in j)||j.code!=="ERR_PROTO_ACCESS")throw j}var W=!!X&&z&&z(Object.prototype,"__proto__"),Z=Object,L=Z.getPrototypeOf;J.exports=W&&typeof W.get==="function"?Q([W.get]):typeof L==="function"?function(j){return L(j==null?j:Z(j))}:!1}),aS=u0((I,J)=>{var Q=iS(),z=rS(),X=uw();J.exports=Q?function(W){return Q(W)}:z?function(W){if(!W||typeof W!=="object"&&typeof W!=="function")throw TypeError("getProto: not an object");return z(W)}:X?function(W){return X(W)}:null}),hw=u0((I,J)=>{var Q=Function.prototype.call,z=Object.prototype.hasOwnProperty,X=U2();J.exports=X.call(Q,z)}),sS=u0((I,J)=>{var Q,z=dS(),X=qw(),W=Rw(),Z=Pw(),L=_w(),j=nS(),P=eG(),S=Sw(),T=Ew(),_=jw(),B=Bw(),N=vw(),y=Nw(),w=kw(),u=xw(),g=Function,b=function(J0){try{return g('"use strict"; return ('+J0+").constructor;")()}catch(Z0){}},p=$2(),d=A8(),a=function(){throw new P},H0=p?function(){try{return arguments.callee,a}catch(J0){try{return p(arguments,"callee").get}catch(Z0){return a}}}():a,L0=fw()(),S0=aS(),t=rS(),q0=iS(),G=DF(),V=HF(),D={},O=typeof Uint8Array>"u"||!S0?Q:S0(Uint8Array),H={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Q:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Q:ArrayBuffer,"%ArrayIteratorPrototype%":L0&&S0?S0([][Symbol.iterator]()):Q,"%AsyncFromSyncIteratorPrototype%":Q,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":typeof Atomics>"u"?Q:Atomics,"%BigInt%":typeof BigInt>"u"?Q:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Q:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Q:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Q:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":X,"%eval%":eval,"%EvalError%":W,"%Float16Array%":typeof Float16Array>"u"?Q:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Q:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Q:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Q:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":D,"%Int8Array%":typeof Int8Array>"u"?Q:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Q:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Q:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L0&&S0?S0(S0([][Symbol.iterator]())):Q,"%JSON%":typeof JSON==="object"?JSON:Q,"%Map%":typeof Map>"u"?Q:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L0||!S0?Q:S0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":z,"%Object.getOwnPropertyDescriptor%":p,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Q:Promise,"%Proxy%":typeof Proxy>"u"?Q:Proxy,"%RangeError%":Z,"%ReferenceError%":L,"%Reflect%":typeof Reflect>"u"?Q:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Q:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L0||!S0?Q:S0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Q:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L0&&S0?S0(""[Symbol.iterator]()):Q,"%Symbol%":L0?Symbol:Q,"%SyntaxError%":j,"%ThrowTypeError%":H0,"%TypedArray%":O,"%TypeError%":P,"%Uint8Array%":typeof Uint8Array>"u"?Q:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Q:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Q:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Q:Uint32Array,"%URIError%":S,"%WeakMap%":typeof WeakMap>"u"?Q:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Q:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Q:WeakSet,"%Function.prototype.call%":V,"%Function.prototype.apply%":G,"%Object.defineProperty%":d,"%Object.getPrototypeOf%":t,"%Math.abs%":T,"%Math.floor%":_,"%Math.max%":B,"%Math.min%":N,"%Math.pow%":y,"%Math.round%":w,"%Math.sign%":u,"%Reflect.getPrototypeOf%":q0};if(S0)try{null.error}catch(J0){q=S0(S0(J0)),H["%Error.prototype%"]=q}var q,E=function J0(Z0){var A0;if(Z0==="%AsyncFunction%")A0=b("async function () {}");else if(Z0==="%GeneratorFunction%")A0=b("function* () {}");else if(Z0==="%AsyncGeneratorFunction%")A0=b("async function* () {}");else if(Z0==="%AsyncGenerator%"){var $0=J0("%AsyncGeneratorFunction%");if($0)A0=$0.prototype}else if(Z0==="%AsyncIteratorPrototype%"){var c=J0("%AsyncGenerator%");if(c&&S0)A0=S0(c.prototype)}return H[Z0]=A0,A0},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},K=U2(),C=hw(),x=K.call(V,Array.prototype.concat),v=K.call(G,Array.prototype.splice),h=K.call(V,String.prototype.replace),r=K.call(V,String.prototype.slice),U0=K.call(V,RegExp.prototype.exec),W0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Y0=/\\(\\)?/g,s=function(J0){var Z0=r(J0,0,1),A0=r(J0,-1);if(Z0==="%"&&A0!=="%")throw new j("invalid intrinsic syntax, expected closing `%`");else if(A0==="%"&&Z0!=="%")throw new j("invalid intrinsic syntax, expected opening `%`");var $0=[];return h(J0,W0,function(c,n,D0,Q0){$0[$0.length]=D0?h(Q0,Y0,"$1"):n||c}),$0},e=function(J0,Z0){var A0=J0,$0;if(C(A,A0))$0=A[A0],A0="%"+$0[0]+"%";if(C(H,A0)){var c=H[A0];if(c===D)c=E(A0);if(typeof c>"u"&&!Z0)throw new P("intrinsic "+J0+" exists, but is not available. Please file an issue!");return{alias:$0,name:A0,value:c}}throw new j("intrinsic "+J0+" does not exist!")};J.exports=function(J0,Z0){if(typeof J0!=="string"||J0.length===0)throw new P("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Z0!=="boolean")throw new P('"allowMissing" argument must be a boolean');if(U0(/^%?[^%]*%?$/,J0)===null)throw new j("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A0=s(J0),$0=A0.length>0?A0[0]:"",c=e("%"+$0+"%",Z0),n=c.name,D0=c.value,Q0=!1,O0=c.alias;if(O0)$0=O0[0],v(A0,x([0,1],O0));for(var k0=1,I0=!0;k0<A0.length;k0+=1){var z0=A0[k0],I$=r(z0,0,1),M0=r(z0,-1);if((I$==='"'||I$==="'"||I$==="`"||(M0==='"'||M0==="'"||M0==="`"))&&I$!==M0)throw new j("property names with quotes must have matching quotes");if(z0==="constructor"||!I0)Q0=!0;if($0+="."+z0,n="%"+$0+"%",C(H,n))D0=H[n];else if(D0!=null){if(!(z0 in D0)){if(!Z0)throw new P("base intrinsic for "+J0+" exists, but the property is not available.");return}if(p&&k0+1>=A0.length){var v0=p(D0,z0);if(I0=!!v0,I0&&"get"in v0&&!("originalValue"in v0.get))D0=v0.get;else D0=D0[z0]}else I0=C(D0,z0),D0=D0[z0];if(I0&&!Q0)H[n]=D0}}return D0}}),eS=u0((I,J)=>{var Q=sS(),z=LF(),X=z([Q("%String.prototype.indexOf%")]);J.exports=function(W,Z){var L=Q(W,!!Z);if(typeof L==="function"&&X(W,".prototype.")>-1)return z([L]);return L}}),cw=u0((I,J)=>{var Q=Function.prototype.toString,z=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,X,W;if(typeof z==="function"&&typeof Object.defineProperty==="function")try{X=Object.defineProperty({},"length",{get:function(){throw W}}),W={},z(function(){throw 42},null,X)}catch(p){if(p!==W)z=null}else z=null;var Z=/^\s*class\b/,L=function(p){try{var d=Q.call(p);return Z.test(d)}catch(a){return!1}},j=function(p){try{if(L(p))return!1;return Q.call(p),!0}catch(d){return!1}},P=Object.prototype.toString,S="[object Object]",T="[object Function]",_="[object GeneratorFunction]",B="[object HTMLAllCollection]",N="[object HTML document.all class]",y="[object HTMLCollection]",w=typeof Symbol==="function"&&!!Symbol.toStringTag,u=!(0 in[,]),g=function(){return!1};if(typeof document==="object"){if(b=document.all,P.call(b)===P.call(document.all))g=function(p){if((u||!p)&&(typeof p>"u"||typeof p==="object"))try{var d=P.call(p);return(d===B||d===N||d===y||d===S)&&p("")==null}catch(a){}return!1}}var b;J.exports=z?function(p){if(g(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;try{z(p,null,X)}catch(d){if(d!==W)return!1}return!L(p)&&j(p)}:function(p){if(g(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;if(w)return j(p);if(L(p))return!1;var d=P.call(p);if(d!==T&&d!==_&&!/^\[object HTML/.test(d))return!1;return j(p)}}),pw=u0((I,J)=>{var Q=cw(),z=Object.prototype.toString,X=Object.prototype.hasOwnProperty,W=function(P,S,T){for(var _=0,B=P.length;_<B;_++)if(X.call(P,_))if(T==null)S(P[_],_,P);else S.call(T,P[_],_,P)},Z=function(P,S,T){for(var _=0,B=P.length;_<B;_++)if(T==null)S(P.charAt(_),_,P);else S.call(T,P.charAt(_),_,P)},L=function(P,S,T){for(var _ in P)if(X.call(P,_))if(T==null)S(P[_],_,P);else S.call(T,P[_],_,P)};function j(P){return z.call(P)==="[object Array]"}J.exports=function(P,S,T){if(!Q(S))throw TypeError("iterator must be a function");var _;if(arguments.length>=3)_=T;if(j(P))W(P,S,_);else if(typeof P==="string")Z(P,S,_);else L(P,S,_)}}),mw=u0((I,J)=>{J.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),lw=u0((I,J)=>{var Q=mw(),z=typeof globalThis>"u"?globalThis:globalThis;J.exports=function(){var X=[];for(var W=0;W<Q.length;W++)if(typeof z[Q[W]]==="function")X[X.length]=Q[W];return X}}),dw=u0((I,J)=>{var Q=A8(),z=nS(),X=eG(),W=$2();J.exports=function(Z,L,j){if(!Z||typeof Z!=="object"&&typeof Z!=="function")throw new X("`obj` must be an object or a function`");if(typeof L!=="string"&&typeof L!=="symbol")throw new X("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null)throw new X("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null)throw new X("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null)throw new X("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=="boolean")throw new X("`loose`, if provided, must be a boolean");var P=arguments.length>3?arguments[3]:null,S=arguments.length>4?arguments[4]:null,T=arguments.length>5?arguments[5]:null,_=arguments.length>6?arguments[6]:!1,B=!!W&&W(Z,L);if(Q)Q(Z,L,{configurable:T===null&&B?B.configurable:!T,enumerable:P===null&&B?B.enumerable:!P,value:j,writable:S===null&&B?B.writable:!S});else if(_||!P&&!S&&!T)Z[L]=j;else throw new z("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),nw=u0((I,J)=>{var Q=A8(),z=function(){return!!Q};z.hasArrayLengthDefineBug=function(){if(!Q)return null;try{return Q([],"length",{value:1}).length!==1}catch(X){return!0}},J.exports=z}),ow=u0((I,J)=>{var Q=sS(),z=dw(),X=nw()(),W=$2(),Z=eG(),L=Q("%Math.floor%");J.exports=function(j,P){if(typeof j!=="function")throw new Z("`fn` is not a function");if(typeof P!=="number"||P<0||P>4294967295||L(P)!==P)throw new Z("`length` must be a positive 32-bit integer");var S=arguments.length>2&&!!arguments[2],T=!0,_=!0;if("length"in j&&W){var B=W(j,"length");if(B&&!B.configurable)T=!1;if(B&&!B.writable)_=!1}if(T||_||!S)if(X)z(j,"length",P,!0,!0);else z(j,"length",P);return j}}),iw=u0((I,J)=>{var Q=U2(),z=DF(),X=tS();J.exports=function(){return X(Q,z,arguments)}}),rw=u0((I,J)=>{var Q=ow(),z=A8(),X=LF(),W=iw();if(J.exports=function(Z){var L=X(arguments),j=Z.length-(arguments.length-1);return Q(L,1+(j>0?j:0),!0)},z)z(J.exports,"apply",{value:W});else J.exports.apply=W}),tw=u0((I,J)=>{var Q=oS();J.exports=function(){return Q()&&!!Symbol.toStringTag}}),aw=u0((I,J)=>{var Q=pw(),z=lw(),X=rw(),W=eS(),Z=$2(),L=aS(),j=W("Object.prototype.toString"),P=tw()(),S=typeof globalThis>"u"?globalThis:globalThis,T=z(),_=W("String.prototype.slice"),B=W("Array.prototype.indexOf",!0)||function(u,g){for(var b=0;b<u.length;b+=1)if(u[b]===g)return b;return-1},N={__proto__:null};if(P&&Z&&L)Q(T,function(u){var g=new S[u];if(Symbol.toStringTag in g&&L){var b=L(g),p=Z(b,Symbol.toStringTag);if(!p&&b){var d=L(b);p=Z(d,Symbol.toStringTag)}N["$"+u]=X(p.get)}});else Q(T,function(u){var g=new S[u],b=g.slice||g.set;if(b)N["$"+u]=X(b)});var y=function(u){var g=!1;return Q(N,function(b,p){if(!g)try{if("$"+b(u)===p)g=_(p,1)}catch(d){}}),g},w=function(u){var g=!1;return Q(N,function(b,p){if(!g)try{b(u),g=_(p,1)}catch(d){}}),g};J.exports=function(u){if(!u||typeof u!=="object")return!1;if(!P){var g=_(j(u),8,-1);if(B(T,g)>-1)return g;if(g!=="Object")return!1;return w(u)}if(!Z)return null;return y(u)}}),sw=u0((I,J)=>{var Q=aw();J.exports=function(z){return!!Q(z)}}),ew=u0((I,J)=>{var Q=eG(),z=eS(),X=z("TypedArray.prototype.buffer",!0),W=sw();J.exports=X||function(Z){if(!W(Z))throw new Q("Not a Typed Array");return Z.buffer}}),$f=u0((I,J)=>{var Q=b1().Buffer,z=Cw(),X=ew(),W=ArrayBuffer.isView||function(P){try{return X(P),!0}catch(S){return!1}},Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",j=L&&(Q.prototype instanceof Uint8Array||Q.TYPED_ARRAY_SUPPORT);J.exports=function(P,S){if(Q.isBuffer(P)){if(P.constructor&&!("isBuffer"in P))return Q.from(P);return P}if(typeof P==="string")return Q.from(P,S);if(L&&W(P)){if(P.byteLength===0)return Q.alloc(0);if(j){var T=Q.from(P.buffer,P.byteOffset,P.byteLength);if(T.byteLength===P.byteLength)return T}var _=P instanceof Uint8Array?P:new Uint8Array(P.buffer,P.byteOffset,P.byteLength),B=Q.from(_);if(B.length===P.byteLength)return B}if(Z&&P instanceof Uint8Array)return Q.from(P);var N=z(P);if(N)for(var y=0;y<P.length;y+=1){var w=P[y];if(typeof w!=="number"||w<0||w>255||~~w!==w)throw RangeError("Array items must be numbers in the range 0-255.")}if(N||Q.isBuffer(P)&&P.constructor&&typeof P.constructor.isBuffer==="function"&&P.constructor.isBuffer(P))return Q.from(P);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),MF=u0((I,J)=>{var Q=b1().Buffer,z=$f(),X=typeof Uint8Array<"u",W=X&&typeof ArrayBuffer<"u",Z=W&&ArrayBuffer.isView;J.exports=function(L,j,P){if(typeof L==="string"||Q.isBuffer(L)||X&&L instanceof Uint8Array||Z&&Z(L))return z(L,j);throw TypeError(P+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),$E=u0((I,J)=>{var Q={__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"},X=lS(),W=b1().Buffer,Z=VF(),L=FF(),j=MF();function P(S,T,_,B,N){Z(_,B),S=j(S,L,"Password"),T=j(T,L,"Salt");var y=(N||"sha1").toLowerCase(),w=z[y]||y,u=Q[w];if(typeof u!=="number"||!u)throw TypeError("Digest algorithm not supported: "+N);var g=W.allocUnsafe(B),b=W.allocUnsafe(T.length+4);T.copy(b,0,0,T.length);var p=0,d=u,a=Math.ceil(B/d);for(var H0=1;H0<=a;H0++){b.writeUInt32BE(H0,T.length);var L0=X(w,S).update(b).digest(),S0=L0;for(var t=1;t<_;t++){S0=X(w,S).update(S0).digest();for(var q0=0;q0<d;q0++)L0[q0]^=S0[q0]}L0.copy(g,p),p+=d}return g}J.exports=P}),Uf=u0((I,J)=>{var Q=b1().Buffer,z=VF(),X=FF(),W=$E(),Z=MF(),L,j=globalThis.crypto&&globalThis.crypto.subtle,P={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"},S=[],T;function _(){if(T)return T;if(globalThis.process&&globalThis.process.nextTick)T=globalThis.process.nextTick;else if(globalThis.queueMicrotask)T=globalThis.queueMicrotask;else if(globalThis.setImmediate)T=globalThis.setImmediate;else T=globalThis.setTimeout;return T}function B(w,u,g,b,p){return j.importKey("raw",w,{name:"PBKDF2"},!1,["deriveBits"]).then(function(d){return j.deriveBits({name:"PBKDF2",salt:u,iterations:g,hash:{name:p}},d,b<<3)}).then(function(d){return Q.from(d)})}function N(w){if(globalThis.process&&!globalThis.process.browser)return Promise.resolve(!1);if(!j||!j.importKey||!j.deriveBits)return Promise.resolve(!1);if(S[w]!==void 0)return S[w];L=L||Q.alloc(8);var u=B(L,L,10,128,w).then(function(){return!0},function(){return!1});return S[w]=u,u}function y(w,u){w.then(function(g){_()(function(){u(null,g)})},function(g){_()(function(){u(g)})})}J.exports=function(w,u,g,b,p,d){if(typeof p==="function")d=p,p=void 0;if(z(g,b),w=Z(w,X,"Password"),u=Z(u,X,"Salt"),typeof d!=="function")throw Error("No callback provided to pbkdf2");p=p||"sha1";var a=P[p.toLowerCase()];if(!a||typeof globalThis.Promise!=="function"){_()(function(){var H0;try{H0=W(w,u,g,b,p)}catch(L0){d(L0);return}d(null,H0)});return}y(N(a).then(function(H0){if(H0)return B(w,u,g,b,a);return W(w,u,g,b,p)}),d)}}),UE=u0((I)=>{var J=(yU(),j$(T4)),Q=VF(),z=FF(),X=MF();function W(L,j,P,S,T,_){if(Q(P,S),L=X(L,z,"Password"),j=X(j,z,"Salt"),typeof T==="function")_=T,T="sha1";if(typeof _!=="function")throw Error("No callback provided to pbkdf2");return J.pbkdf2(L,j,P,S,T,_)}function Z(L,j,P,S,T){return Q(P,S),L=X(L,z,"Password"),j=X(j,z,"Salt"),T=T||"sha1",J.pbkdf2Sync(L,j,P,S,T)}if(!J.pbkdf2Sync||J.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)I.pbkdf2Sync=$E(),I.pbkdf2=Uf();else I.pbkdf2Sync=Z,I.pbkdf2=W}),If=u0((I)=>{var J=(yU(),j$(T4));I.createCipher=I.Cipher=J.createCipher,I.createCipheriv=I.Cipheriv=J.createCipheriv,I.createDecipher=I.Decipher=J.createDecipher,I.createDecipheriv=I.Decipheriv=J.createDecipheriv,I.listCiphers=I.getCiphers=J.getCiphers}),Xf=u0((I)=>{var J=(yU(),j$(T4));I.DiffieHellmanGroup=J.DiffieHellmanGroup,I.createDiffieHellmanGroup=J.createDiffieHellmanGroup,I.getDiffieHellman=J.getDiffieHellman,I.createDiffieHellman=J.createDiffieHellman,I.DiffieHellman=J.DiffieHellman}),Jf=u0((I)=>{var J=(yU(),j$(T4));I.createSign=J.createSign,I.Sign=J.Sign,I.createVerify=J.createVerify,I.Verify=J.Verify}),Yf=u0((I,J)=>{J.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}),zI=u0((I,J)=>{(function(Q,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(G,V){G.super_=V;var D=function(){};D.prototype=V.prototype,G.prototype=new D,G.prototype.constructor=G}function Z(G,V,D){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")D=V,V=10;this._init(G||0,V||10,D||"be")}}if(typeof Q==="object")Q.exports=Z;else z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,D){if(typeof G==="number")return this._initNumber(G,V,D);if(typeof G==="object")return this._initArray(G,V,D);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,D);else if(this._parseBase(G,V,O),D==="le")this._initArray(this.toArray(),V,D)}},Z.prototype._initNumber=function(G,V,D){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),V,D)},Z.prototype._initArray=function(G,V,D){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H,q,E=0;if(D==="be"){for(O=G.length-1,H=0;O>=0;O-=3)if(q=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}else if(D==="le"){for(O=0,H=0;O<G.length;O+=3)if(q=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}return this.strip()};function j(G,V){var D=G.charCodeAt(V);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function P(G,V,D){var O=j(G,D);if(D-1>=V)O|=j(G,D-1)<<4;return O}Z.prototype._parseHex=function(G,V,D){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H=0,q=0,E;if(D==="be")for(O=G.length-1;O>=V;O-=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8}this.strip()};function S(G,V,D,O){var H=0,q=Math.min(G.length,D);for(var E=V;E<q;E++){var A=G.charCodeAt(E)-48;if(H*=O,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,D){this.words=[0],this.length=1;for(var O=0,H=1;H<=67108863;H*=V)O++;O--,H=H/V|0;var q=G.length-D,E=q%O,A=Math.min(q,q-E)+D,K=0;for(var C=D;C<A;C+=O)if(K=S(G,C,C+O,V),this.imuln(H),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(E!==0){var x=1;K=S(G,C,G.length,V);for(C=0;C<E;C++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var D;if(G===16||G==="hex"){D="";var O=0,H=0;for(var q=0;q<this.length;q++){var E=this.words[q],A=((E<<O|H)&16777215).toString(16);if(H=E>>>24-O&16777215,O+=2,O>=26)O-=26,q--;if(H!==0||q!==this.length-1)D=T[6-A.length]+A+D;else D=A+D}if(H!==0)D=H.toString(16)+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(G===(G|0)&&G>=2&&G<=36){var K=_[G],C=B[G];D="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(C).toString(G);if(x=x.idivn(C),!x.isZero())D=T[K-v.length]+v+D;else D=v+D}if(this.isZero())D="0"+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,D){var O=this.byteLength(),H=D||Math.max(1,O);X(O<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var q=V==="le",E=new G(H),A,K,C=this.clone();if(!q){for(K=0;K<H-O;K++)E[K]=0;for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[H-K-1]=A}else{for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[K]=A;for(;K<H;K++)E[K]=0}return E},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,D=0;if(V>=4096)D+=13,V>>>=13;if(V>=64)D+=7,V>>>=7;if(V>=8)D+=4,V>>>=4;if(V>=2)D+=2,V>>>=2;return D+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,D=0;if((V&8191)===0)D+=13,V>>>=13;if((V&127)===0)D+=7,V>>>=7;if((V&15)===0)D+=4,V>>>=4;if((V&3)===0)D+=2,V>>>=2;if((V&1)===0)D++;return D},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function N(G){var V=Array(G.bitLength());for(var D=0;D<V.length;D++){var O=D/26|0,H=D%26;V[D]=(G.words[O]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var D=this._zeroBits(this.words[V]);if(G+=D,D!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var D=0;D<V.length;D++)this.words[D]=this.words[D]&G.words[D];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,D;if(this.length>G.length)V=this,D=G;else V=G,D=this;for(var O=0;O<D.length;O++)this.words[O]=V.words[O]^D.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,D=G%26;if(this._expand(V),D>0)V--;for(var O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(D>0)this.words[O]=~this.words[O]&67108863>>26-D;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var D=G/26|0,O=G%26;if(this._expand(D+1),V)this.words[D]=this.words[D]|1<<O;else this.words[D]=this.words[D]&~(1<<O);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var D,O;if(this.length>G.length)D=this,O=G;else D=G,O=this;var H=0;for(var q=0;q<O.length;q++)V=(D.words[q]|0)+(O.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;for(;H!==0&&q<D.length;q++)V=(D.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;if(this.length=D.length,H!==0)this.words[this.length]=H,this.length++;else if(D!==this)for(;q<D.length;q++)this.words[q]=D.words[q];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var D=this.cmp(G);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var O,H;if(D>0)O=this,H=G;else O=G,H=this;var q=0;for(var E=0;E<H.length;E++)V=(O.words[E]|0)-(H.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;for(;q!==0&&E<O.length;E++)V=(O.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;if(q===0&&E<O.length&&O!==this)for(;E<O.length;E++)this.words[E]=O.words[E];if(this.length=Math.max(this.length,E),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,D){D.negative=V.negative^G.negative;var O=G.length+V.length|0;D.length=O,O=O-1|0;var H=G.words[0]|0,q=V.words[0]|0,E=H*q,A=E&67108863,K=E/67108864|0;D.words[0]=A;for(var C=1;C<O;C++){var x=K>>>26,v=K&67108863,h=Math.min(C,V.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;H=G.words[U0]|0,q=V.words[r]|0,E=H*q+v,x+=E/67108864|0,v=E&67108863}D.words[C]=v|0,K=x|0}if(K!==0)D.words[C]=K|0;else D.length--;return D.strip()}var w=function(G,V,D){var O=G.words,H=V.words,q=D.words,E=0,A,K,C,x=O[0]|0,v=x&8191,h=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Y0=O[2]|0,s=Y0&8191,e=Y0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,c=$0&8191,n=$0>>>13,D0=O[5]|0,Q0=D0&8191,O0=D0>>>13,k0=O[6]|0,I0=k0&8191,z0=k0>>>13,I$=O[7]|0,M0=I$&8191,v0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,h0=r$&8191,c0=r$>>>13,YU=H[0]|0,t0=YU&8191,i0=YU>>>13,qU=H[1]|0,m=qU&8191,X0=qU>>>13,e0=H[2]|0,j0=e0&8191,N0=e0>>>13,D$=H[3]|0,x0=D$&8191,y0=D$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,zU=H[5]|0,s0=zU&8191,i=zU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,W$=H[7]|0,n0=W$&8191,a0=W$>>>13,DU=H[8]|0,X$=DU&8191,U$=DU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;D.negative=G.negative^V.negative,D.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(h,t0)|0,C=Math.imul(h,i0);var RU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,C=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var B$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,C=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,C=C+Math.imul(W0,X0)|0,A=A+Math.imul(v,j0)|0,K=K+Math.imul(v,N0)|0,K=K+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var E$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(E$>>>26)|0,E$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,C=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,j0)|0,K=K+Math.imul(U0,N0)|0,K=K+Math.imul(W0,j0)|0,C=C+Math.imul(W0,N0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(h,x0)|0,C=C+Math.imul(h,y0)|0;var $U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,t0),K=Math.imul(c,i0),K=K+Math.imul(n,t0)|0,C=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,j0)|0,K=K+Math.imul(s,N0)|0,K=K+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,C=C+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(h,o0)|0,C=C+Math.imul(h,r0)|0;var d$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Q0,t0),K=Math.imul(Q0,i0),K=K+Math.imul(O0,t0)|0,C=Math.imul(O0,i0),A=A+Math.imul(c,m)|0,K=K+Math.imul(c,X0)|0,K=K+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(Z0,j0)|0,K=K+Math.imul(Z0,N0)|0,K=K+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,C=C+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,C=C+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(h,s0)|0,C=C+Math.imul(h,i)|0;var bU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,C=Math.imul(z0,i0),A=A+Math.imul(Q0,m)|0,K=K+Math.imul(Q0,X0)|0,K=K+Math.imul(O0,m)|0,C=C+Math.imul(O0,X0)|0,A=A+Math.imul(c,j0)|0,K=K+Math.imul(c,N0)|0,K=K+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,C=C+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,C=C+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,C=C+Math.imul(W0,i)|0,A=A+Math.imul(v,_0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(h,_0)|0,C=C+Math.imul(h,E0)|0;var uU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(v0,t0)|0,C=Math.imul(v0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(Q0,j0)|0,K=K+Math.imul(Q0,N0)|0,K=K+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(c,x0)|0,K=K+Math.imul(c,y0)|0,K=K+Math.imul(n,x0)|0,C=C+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,C=C+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,_0)|0,C=C+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(h,n0)|0,C=C+Math.imul(h,a0)|0;var hU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,C=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,j0)|0,K=K+Math.imul(I0,N0)|0,K=K+Math.imul(z0,j0)|0,C=C+Math.imul(z0,N0)|0,A=A+Math.imul(Q0,x0)|0,K=K+Math.imul(Q0,y0)|0,K=K+Math.imul(O0,x0)|0,C=C+Math.imul(O0,y0)|0,A=A+Math.imul(c,o0)|0,K=K+Math.imul(c,r0)|0,K=K+Math.imul(n,o0)|0,C=C+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,_0)|0,C=C+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,C=C+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(h,X$)|0,C=C+Math.imul(h,U$)|0;var cU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(h0,t0),K=Math.imul(h0,i0),K=K+Math.imul(c0,t0)|0,C=Math.imul(c0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,C=C+Math.imul(p0,X0)|0,A=A+Math.imul(M0,j0)|0,K=K+Math.imul(M0,N0)|0,K=K+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,C=C+Math.imul(z0,y0)|0,A=A+Math.imul(Q0,o0)|0,K=K+Math.imul(Q0,r0)|0,K=K+Math.imul(O0,o0)|0,C=C+Math.imul(O0,r0)|0,A=A+Math.imul(c,s0)|0,K=K+Math.imul(c,i)|0,K=K+Math.imul(n,s0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,_0)|0,C=C+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,C=C+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,C=C+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(h,J$)|0,C=C+Math.imul(h,$$)|0;var pU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(h0,m),K=Math.imul(h0,X0),K=K+Math.imul(c0,m)|0,C=Math.imul(c0,X0),A=A+Math.imul(m0,j0)|0,K=K+Math.imul(m0,N0)|0,K=K+Math.imul(p0,j0)|0,C=C+Math.imul(p0,N0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(v0,x0)|0,C=C+Math.imul(v0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,C=C+Math.imul(z0,r0)|0,A=A+Math.imul(Q0,s0)|0,K=K+Math.imul(Q0,i)|0,K=K+Math.imul(O0,s0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(c,_0)|0,K=K+Math.imul(c,E0)|0,K=K+Math.imul(n,_0)|0,C=C+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,C=C+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,C=C+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,C=C+Math.imul(W0,$$)|0;var t$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(h0,j0),K=Math.imul(h0,N0),K=K+Math.imul(c0,j0)|0,C=Math.imul(c0,N0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,C=C+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(v0,o0)|0,C=C+Math.imul(v0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(Q0,_0)|0,K=K+Math.imul(Q0,E0)|0,K=K+Math.imul(O0,_0)|0,C=C+Math.imul(O0,E0)|0,A=A+Math.imul(c,n0)|0,K=K+Math.imul(c,a0)|0,K=K+Math.imul(n,n0)|0,C=C+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,C=C+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,C=C+Math.imul(e,$$)|0;var LU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(h0,x0),K=Math.imul(h0,y0),K=K+Math.imul(c0,x0)|0,C=Math.imul(c0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,C=C+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(v0,s0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,_0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,_0)|0,C=C+Math.imul(z0,E0)|0,A=A+Math.imul(Q0,n0)|0,K=K+Math.imul(Q0,a0)|0,K=K+Math.imul(O0,n0)|0,C=C+Math.imul(O0,a0)|0,A=A+Math.imul(c,X$)|0,K=K+Math.imul(c,U$)|0,K=K+Math.imul(n,X$)|0,C=C+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,C=C+Math.imul(A0,$$)|0;var OU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(OU>>>26)|0,OU&=67108863,A=Math.imul(h0,o0),K=Math.imul(h0,r0),K=K+Math.imul(c0,o0)|0,C=Math.imul(c0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,C=C+Math.imul(p0,i)|0,A=A+Math.imul(M0,_0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(v0,_0)|0,C=C+Math.imul(v0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,C=C+Math.imul(z0,a0)|0,A=A+Math.imul(Q0,X$)|0,K=K+Math.imul(Q0,U$)|0,K=K+Math.imul(O0,X$)|0,C=C+Math.imul(O0,U$)|0,A=A+Math.imul(c,J$)|0,K=K+Math.imul(c,$$)|0,K=K+Math.imul(n,J$)|0,C=C+Math.imul(n,$$)|0;var mU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(h0,s0),K=Math.imul(h0,i),K=K+Math.imul(c0,s0)|0,C=Math.imul(c0,i),A=A+Math.imul(m0,_0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,_0)|0,C=C+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(v0,n0)|0,C=C+Math.imul(v0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,C=C+Math.imul(z0,U$)|0,A=A+Math.imul(Q0,J$)|0,K=K+Math.imul(Q0,$$)|0,K=K+Math.imul(O0,J$)|0,C=C+Math.imul(O0,$$)|0;var PU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(h0,_0),K=Math.imul(h0,E0),K=K+Math.imul(c0,_0)|0,C=Math.imul(c0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,C=C+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(v0,X$)|0,C=C+Math.imul(v0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,C=C+Math.imul(z0,$$)|0;var vU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(h0,n0),K=Math.imul(h0,a0),K=K+Math.imul(c0,n0)|0,C=Math.imul(c0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,C=C+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(v0,J$)|0,C=C+Math.imul(v0,$$)|0;var gU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(h0,X$),K=Math.imul(h0,U$),K=K+Math.imul(c0,X$)|0,C=Math.imul(c0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,C=C+Math.imul(p0,$$)|0;var _U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(h0,J$),K=Math.imul(h0,$$),K=K+Math.imul(c0,J$)|0,C=Math.imul(c0,$$);var MU=(E+A|0)+((K&8191)<<13)|0;if(E=(C+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,q[0]=RU,q[1]=B$,q[2]=E$,q[3]=$U,q[4]=d$,q[5]=bU,q[6]=uU,q[7]=hU,q[8]=cU,q[9]=pU,q[10]=t$,q[11]=LU,q[12]=OU,q[13]=mU,q[14]=PU,q[15]=vU,q[16]=gU,q[17]=_U,q[18]=MU,E!==0)q[19]=E,D.length++;return D};if(!Math.imul)w=y;function u(G,V,D){D.negative=V.negative^G.negative,D.length=G.length+V.length;var O=0,H=0;for(var q=0;q<D.length-1;q++){var E=H;H=0;var A=O&67108863,K=Math.min(q,V.length-1);for(var C=Math.max(0,q-G.length+1);C<=K;C++){var x=q-C,v=G.words[x]|0,h=V.words[C]|0,r=v*h,U0=r&67108863;E=E+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,E=E+(U0>>>26)|0,H+=E>>>26,E&=67108863}D.words[q]=A,O=E,E=H}if(O!==0)D.words[q]=O;else D.length--;return D.strip()}function g(G,V,D){var O=new b;return O.mulp(G,V,D)}Z.prototype.mulTo=function(G,V){var D,O=this.length+G.length;if(this.length===10&&G.length===10)D=w(this,G,V);else if(O<63)D=y(this,G,V);else if(O<1024)D=u(this,G,V);else D=g(this,G,V);return D};function b(G,V){this.x=G,this.y=V}b.prototype.makeRBT=function(G){var V=Array(G),D=Z.prototype._countBits(G)-1;for(var O=0;O<G;O++)V[O]=this.revBin(O,D,G);return V},b.prototype.revBin=function(G,V,D){if(G===0||G===D-1)return G;var O=0;for(var H=0;H<V;H++)O|=(G&1)<<V-H-1,G>>=1;return O},b.prototype.permute=function(G,V,D,O,H,q){for(var E=0;E<q;E++)O[E]=V[G[E]],H[E]=D[G[E]]},b.prototype.transform=function(G,V,D,O,H,q){this.permute(q,G,V,D,O,H);for(var E=1;E<H;E<<=1){var A=E<<1,K=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<H;x+=A){var v=K,h=C;for(var r=0;r<E;r++){var U0=D[x+r],W0=O[x+r],Y0=D[x+r+E],s=O[x+r+E],e=v*Y0-h*s;if(s=v*s+h*Y0,Y0=e,D[x+r]=U0+Y0,O[x+r]=W0+s,D[x+r+E]=U0-Y0,O[x+r+E]=W0-s,r!==A)e=K*v-C*h,h=K*h+C*v,v=e}}}},b.prototype.guessLen13b=function(G,V){var D=Math.max(V,G)|1,O=D&1,H=0;for(D=D/2|0;D;D=D>>>1)H++;return 1<<H+1+O},b.prototype.conjugate=function(G,V,D){if(D<=1)return;for(var O=0;O<D/2;O++){var H=G[O];G[O]=G[D-O-1],G[D-O-1]=H,H=V[O],V[O]=-V[D-O-1],V[D-O-1]=-H}},b.prototype.normalize13b=function(G,V){var D=0;for(var O=0;O<V/2;O++){var H=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+D;if(G[O]=H&67108863,H<67108864)D=0;else D=H/67108864|0}return G},b.prototype.convert13b=function(G,V,D,O){var H=0;for(var q=0;q<V;q++)H=H+(G[q]|0),D[2*q]=H&8191,H=H>>>13,D[2*q+1]=H&8191,H=H>>>13;for(q=2*V;q<O;++q)D[q]=0;X(H===0),X((H&-8192)===0)},b.prototype.stub=function(G){var V=Array(G);for(var D=0;D<G;D++)V[D]=0;return V},b.prototype.mulp=function(G,V,D){var O=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(O),q=this.stub(O),E=Array(O),A=Array(O),K=Array(O),C=Array(O),x=Array(O),v=Array(O),h=D.words;h.length=O,this.convert13b(G.words,G.length,E,O),this.convert13b(V.words,V.length,C,O),this.transform(E,q,A,K,O,H),this.transform(C,q,x,v,O,H);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,h,q,O,H),this.conjugate(h,q,O),this.normalize13b(h,O),D.negative=G.negative^V.negative,D.length=G.length+V.length,D.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),g(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var D=0;D<this.length;D++){var O=(this.words[D]|0)*G,H=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=H>>>26,this.words[D]=H&67108863}if(V!==0)this.words[D]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=N(G);if(V.length===0)return new Z(1);var D=this;for(var O=0;O<V.length;O++,D=D.sqr())if(V[O]!==0)break;if(++O<V.length)for(var H=D.sqr();O<V.length;O++,H=H.sqr()){if(V[O]===0)continue;D=D.mul(H)}return D},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=67108863>>>26-V<<26-V,H;if(V!==0){var q=0;for(H=0;H<this.length;H++){var E=this.words[H]&O,A=(this.words[H]|0)-E<<V;this.words[H]=A|q,q=E>>>26-V}if(q)this.words[H]=q,this.length++}if(D!==0){for(H=this.length-1;H>=0;H--)this.words[H+D]=this.words[H];for(H=0;H<D;H++)this.words[H]=0;this.length+=D}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,D){X(typeof G==="number"&&G>=0);var O;if(V)O=(V-V%26)/26;else O=0;var H=G%26,q=Math.min((G-H)/26,this.length),E=67108863^67108863>>>H<<H,A=D;if(O-=q,O=Math.max(0,O),A){for(var K=0;K<q;K++)A.words[K]=this.words[K];A.length=q}if(q===0);else if(this.length>q){this.length-=q;for(K=0;K<this.length;K++)this.words[K]=this.words[K+q]}else this.words[0]=0,this.length=1;var C=0;for(K=this.length-1;K>=0&&(C!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=C<<26-H|x>>>H,C=x&E}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,D){return X(this.negative===0),this.iushrn(G,V,D)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return!1;var H=this.words[D];return!!(H&O)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(V!==0)D++;if(this.length=Math.min(D,this.length),V!==0){var O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var 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},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,D){var O=G.length+D,H;this._expand(O);var q,E=0;for(H=0;H<G.length;H++){q=(this.words[H+D]|0)+E;var A=(G.words[H]|0)*V;q-=A&67108863,E=(q>>26)-(A/67108864|0),this.words[H+D]=q&67108863}for(;H<this.length-D;H++)q=(this.words[H+D]|0)+E,E=q>>26,this.words[H+D]=q&67108863;if(E===0)return this.strip();X(E===-1),E=0;for(H=0;H<this.length;H++)q=-(this.words[H]|0)+E,E=q>>26,this.words[H]=q&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var D=this.length-G.length,O=this.clone(),H=G,q=H.words[H.length-1]|0,E=this._countBits(q);if(D=26-E,D!==0)H=H.ushln(D),O.iushln(D),q=H.words[H.length-1]|0;var A=O.length-H.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var C=0;C<K.length;C++)K.words[C]=0}var x=O.clone()._ishlnsubmul(H,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var h=(O.words[H.length+v]|0)*67108864+(O.words[H.length+v-1]|0);h=Math.min(h/q|0,67108863),O._ishlnsubmul(H,h,v);while(O.negative!==0)if(h--,O.negative=0,O._ishlnsubmul(H,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=h}if(K)K.strip();if(O.strip(),V!=="div"&&D!==0)O.iushrn(D);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,D){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,H,q;if(this.negative!==0&&G.negative===0){if(q=this.neg().divmod(G,V),V!=="mod")O=q.div.neg();if(V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.iadd(G)}return{div:O,mod:H}}if(this.negative===0&&G.negative!==0){if(q=this.divmod(G.neg(),V),V!=="mod")O=q.div.neg();return{div:O,mod:q.mod}}if((this.negative&G.negative)!==0){if(q=this.neg().divmod(G.neg(),V),V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.isub(G)}return{div:q.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var D=V.div.negative!==0?V.mod.isub(G):V.mod,O=G.ushrn(1),H=G.andln(1),q=D.cmp(O);if(q<0||H===1&&q===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,D=0;for(var O=this.length-1;O>=0;O--)D=(V*D+(this.words[O]|0))%G;return D},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var D=this.length-1;D>=0;D--){var O=(this.words[D]|0)+V*67108864;this.words[D]=O/G|0,V=O%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=new Z(0),E=new Z(1),A=0;while(V.isEven()&&D.isEven())V.iushrn(1),D.iushrn(1),++A;var K=D.clone(),C=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||H.isOdd())O.iadd(K),H.isub(C);O.iushrn(1),H.iushrn(1)}}for(var h=0,r=1;(D.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){D.iushrn(h);while(h-- >0){if(q.isOdd()||E.isOdd())q.iadd(K),E.isub(C);q.iushrn(1),E.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(q),H.isub(E);else D.isub(V),q.isub(O),E.isub(H)}return{a:q,b:E,gcd:D.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=D.clone();while(V.cmpn(1)>0&&D.cmpn(1)>0){for(var E=0,A=1;(V.words[0]&A)===0&&E<26;++E,A<<=1);if(E>0){V.iushrn(E);while(E-- >0){if(O.isOdd())O.iadd(q);O.iushrn(1)}}for(var K=0,C=1;(D.words[0]&C)===0&&K<26;++K,C<<=1);if(K>0){D.iushrn(K);while(K-- >0){if(H.isOdd())H.iadd(q);H.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(H);else D.isub(V),H.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=H;if(x.cmpn(0)<0)x.iadd(G);return x},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),D=G.clone();V.negative=0,D.negative=0;for(var O=0;V.isEven()&&D.isEven();O++)V.iushrn(1),D.iushrn(1);do{while(V.isEven())V.iushrn(1);while(D.isEven())D.iushrn(1);var H=V.cmp(D);if(H<0){var q=V;V=D,D=q}else if(H===0||D.cmpn(1)===0)break;V.isub(D)}while(!0);return D.iushln(O)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return this._expand(D+1),this.words[D]|=O,this;var H=O;for(var q=D;H!==0&&q<this.length;q++){var E=this.words[q]|0;E+=H,H=E>>>26,E&=67108863,this.words[q]=E}if(H!==0)this.words[q]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var D;if(this.length>1)D=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var O=this.words[0]|0;D=O===G?0:O<G?-1:1}if(this.negative!==0)return-D|0;return D},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var D=this.length-1;D>=0;D--){var O=this.words[D]|0,H=G.words[D]|0;if(O===H)continue;if(O<H)V=-1;else if(O>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,D;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),D=V.bitLength();while(D>this.n);var O=D<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}W(a,d),a.prototype.split=function(G,V){var D=4194303,O=Math.min(G.length,9);for(var H=0;H<O;H++)V.words[H]=G.words[H];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var q=G.words[9];V.words[V.length++]=q&D;for(H=10;H<G.length;H++){var E=G.words[H]|0;G.words[H-10]=(E&D)<<4|q>>>22,q=E}if(q>>>=22,G.words[H-10]=q,q===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var D=0;D<G.length;D++){var O=G.words[D]|0;V+=O*977,G.words[D]=V&67108863,V=O*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(H0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function S0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(S0,d),S0.prototype.imulK=function(G){var V=0;for(var D=0;D<G.length;D++){var O=(G.words[D]|0)*19+V,H=O&67108863;O>>>=26,G.words[D]=H,V=O}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new S0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var D=G.add(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var D=G.iadd(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D},t.prototype.sub=function(G,V){this._verify2(G,V);var D=G.sub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var D=G.isub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var D=this.m.add(new Z(1)).iushrn(2);return this.pow(G,D)}var O=this.m.subn(1),H=0;while(!O.isZero()&&O.andln(1)===0)H++,O.iushrn(1);X(!O.isZero());var q=new Z(1).toRed(this),E=q.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(E)!==0)K.redIAdd(E);var C=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),h=H;while(v.cmp(q)!==0){var r=v;for(var U0=0;r.cmp(q)!==0;U0++)r=r.redSqr();X(U0<h);var W0=this.pow(C,new Z(1).iushln(h-U0-1));x=x.redMul(W0),C=W0.redSqr(),v=v.redMul(C),h=U0}return x},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var D=4,O=Array(1<<D);O[0]=new Z(1).toRed(this),O[1]=G;for(var H=2;H<O.length;H++)O[H]=this.mul(O[H-1],G);var q=O[0],E=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(H=V.length-1;H>=0;H--){var C=V.words[H];for(var x=K-1;x>=0;x--){var v=C>>x&1;if(q!==O[0])q=this.sqr(q);if(v===0&&E===0){A=0;continue}if(E<<=1,E|=v,A++,A!==D&&(H!==0||x!==0))continue;q=this.mul(q,O[E]),A=0,E=0}K=26}return q},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new q0(G)};function q0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W(q0,t),q0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},q0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},q0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var D=G.imul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var D=G.mul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),YX=u0((I,J)=>{J.exports=Q;function Q(z,X){if(!z)throw Error(X||"Assertion failed")}Q.equal=function(z,X,W){if(z!=X)throw Error(W||"Assertion failed: "+z+" != "+X)}}),IE=u0((I)=>{var J=I;function Q(W,Z){if(Array.isArray(W))return W.slice();if(!W)return[];var L=[];if(typeof W!=="string"){for(var j=0;j<W.length;j++)L[j]=W[j]|0;return L}if(Z==="hex"){if(W=W.replace(/[^a-z0-9]+/ig,""),W.length%2!==0)W="0"+W;for(var j=0;j<W.length;j+=2)L.push(parseInt(W[j]+W[j+1],16))}else for(var j=0;j<W.length;j++){var P=W.charCodeAt(j),S=P>>8,T=P&255;if(S)L.push(S,T);else L.push(T)}return L}J.toArray=Q;function z(W){if(W.length===1)return"0"+W;else return W}J.zero2=z;function X(W){var Z="";for(var L=0;L<W.length;L++)Z+=z(W[L].toString(16));return Z}J.toHex=X,J.encode=function(W,Z){if(Z==="hex")return X(W);else return W}}),b4=u0((I)=>{var J=I,Q=zI(),z=YX(),X=IE();J.assert=z,J.toArray=X.toArray,J.zero2=X.zero2,J.toHex=X.toHex,J.encode=X.encode;function W(S,T,_){var B=Array(Math.max(S.bitLength(),_)+1),N;for(N=0;N<B.length;N+=1)B[N]=0;var y=1<<T+1,w=S.clone();for(N=0;N<B.length;N++){var u,g=w.andln(y-1);if(w.isOdd()){if(g>(y>>1)-1)u=(y>>1)-g;else u=g;w.isubn(u)}else u=0;B[N]=u,w.iushrn(1)}return B}J.getNAF=W;function Z(S,T){var _=[[],[]];S=S.clone(),T=T.clone();var B=0,N=0,y;while(S.cmpn(-B)>0||T.cmpn(-N)>0){var w=S.andln(3)+B&3,u=T.andln(3)+N&3;if(w===3)w=-1;if(u===3)u=-1;var g;if((w&1)===0)g=0;else if(y=S.andln(7)+B&7,(y===3||y===5)&&u===2)g=-w;else g=w;_[0].push(g);var b;if((u&1)===0)b=0;else if(y=T.andln(7)+N&7,(y===3||y===5)&&w===2)b=-u;else b=u;if(_[1].push(b),2*B===g+1)B=1-B;if(2*N===b+1)N=1-N;S.iushrn(1),T.iushrn(1)}return _}J.getJSF=Z;function L(S,T,_){var B="_"+T;S.prototype[T]=function(){return this[B]!==void 0?this[B]:this[B]=_.call(this)}}J.cachedProperty=L;function j(S){return typeof S==="string"?J.toArray(S,"hex"):S}J.parseBytes=j;function P(S){return new Q(S,"hex","le")}J.intFromLE=P}),XE=u0((I,J)=>{var Q;J.exports=function(W){if(!Q)Q=new z(null);return Q.generate(W)};function z(W){this.rand=W}if(J.exports.Rand=z,z.prototype.generate=function(W){return this._rand(W)},z.prototype._rand=function(W){if(this.rand.getBytes)return this.rand.getBytes(W);var Z=new Uint8Array(W);for(var L=0;L<Z.length;L++)Z[L]=this.rand.getByte();return Z},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)z.prototype._rand=function(W){var Z=new Uint8Array(W);return self.crypto.getRandomValues(Z),Z};else if(self.msCrypto&&self.msCrypto.getRandomValues)z.prototype._rand=function(W){var Z=new Uint8Array(W);return self.msCrypto.getRandomValues(Z),Z};else if(typeof window==="object")z.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(X=(yU(),j$(T4)),typeof X.randomBytes!=="function")throw Error("Not supported");z.prototype._rand=function(W){return X.randomBytes(W)}}catch(W){}var X}),T8=u0((I,J)=>{var Q=zI(),z=b4(),X=z.getNAF,W=z.getJSF,Z=z.assert;function L(P,S){this.type=P,this.p=new Q(S.p,16),this.red=S.prime?Q.red(S.prime):Q.mont(this.p),this.zero=new Q(0).toRed(this.red),this.one=new Q(1).toRed(this.red),this.two=new Q(2).toRed(this.red),this.n=S.n&&new Q(S.n,16),this.g=S.g&&this.pointFromJSON(S.g,S.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var T=this.n&&this.p.div(this.n);if(!T||T.cmpn(100)>0)this.redN=null;else this._maxwellTrick=!0,this.redN=this.n.toRed(this.red)}J.exports=L,L.prototype.point=function(){throw Error("Not implemented")},L.prototype.validate=function(){throw Error("Not implemented")},L.prototype._fixedNafMul=function(P,S){Z(P.precomputed);var T=P._getDoubles(),_=X(S,1,this._bitLength),B=(1<<T.step+1)-(T.step%2===0?2:1);B/=3;var N=[],y,w;for(y=0;y<_.length;y+=T.step){w=0;for(var u=y+T.step-1;u>=y;u--)w=(w<<1)+_[u];N.push(w)}var g=this.jpoint(null,null,null),b=this.jpoint(null,null,null);for(var p=B;p>0;p--){for(y=0;y<N.length;y++)if(w=N[y],w===p)b=b.mixedAdd(T.points[y]);else if(w===-p)b=b.mixedAdd(T.points[y].neg());g=g.add(b)}return g.toP()},L.prototype._wnafMul=function(P,S){var T=4,_=P._getNAFPoints(T);T=_.wnd;var B=_.points,N=X(S,T,this._bitLength),y=this.jpoint(null,null,null);for(var w=N.length-1;w>=0;w--){for(var u=0;w>=0&&N[w]===0;w--)u++;if(w>=0)u++;if(y=y.dblp(u),w<0)break;var g=N[w];if(Z(g!==0),P.type==="affine")if(g>0)y=y.mixedAdd(B[g-1>>1]);else y=y.mixedAdd(B[-g-1>>1].neg());else if(g>0)y=y.add(B[g-1>>1]);else y=y.add(B[-g-1>>1].neg())}return P.type==="affine"?y.toP():y},L.prototype._wnafMulAdd=function(P,S,T,_,B){var N=this._wnafT1,y=this._wnafT2,w=this._wnafT3,u=0,g,b,p;for(g=0;g<_;g++){p=S[g];var d=p._getNAFPoints(P);N[g]=d.wnd,y[g]=d.points}for(g=_-1;g>=1;g-=2){var a=g-1,H0=g;if(N[a]!==1||N[H0]!==1){w[a]=X(T[a],N[a],this._bitLength),w[H0]=X(T[H0],N[H0],this._bitLength),u=Math.max(w[a].length,u),u=Math.max(w[H0].length,u);continue}var L0=[S[a],null,null,S[H0]];if(S[a].y.cmp(S[H0].y)===0)L0[1]=S[a].add(S[H0]),L0[2]=S[a].toJ().mixedAdd(S[H0].neg());else if(S[a].y.cmp(S[H0].y.redNeg())===0)L0[1]=S[a].toJ().mixedAdd(S[H0]),L0[2]=S[a].add(S[H0].neg());else L0[1]=S[a].toJ().mixedAdd(S[H0]),L0[2]=S[a].toJ().mixedAdd(S[H0].neg());var S0=[-3,-1,-5,-7,0,7,5,1,3],t=W(T[a],T[H0]);u=Math.max(t[0].length,u),w[a]=Array(u),w[H0]=Array(u);for(b=0;b<u;b++){var q0=t[0][b]|0,G=t[1][b]|0;w[a][b]=S0[(q0+1)*3+(G+1)],w[H0][b]=0,y[a]=L0}}var V=this.jpoint(null,null,null),D=this._wnafT4;for(g=u;g>=0;g--){var O=0;while(g>=0){var H=!0;for(b=0;b<_;b++)if(D[b]=w[b][g]|0,D[b]!==0)H=!1;if(!H)break;O++,g--}if(g>=0)O++;if(V=V.dblp(O),g<0)break;for(b=0;b<_;b++){var q=D[b];if(q===0)continue;else if(q>0)p=y[b][q-1>>1];else if(q<0)p=y[b][-q-1>>1].neg();if(p.type==="affine")V=V.mixedAdd(p);else V=V.add(p)}}for(g=0;g<_;g++)y[g]=null;if(B)return V;else return V.toP()};function j(P,S){this.curve=P,this.type=S,this.precomputed=null}L.BasePoint=j,j.prototype.eq=function(){throw Error("Not implemented")},j.prototype.validate=function(){return this.curve.validate(this)},L.prototype.decodePoint=function(P,S){P=z.toArray(P,S);var T=this.p.byteLength();if((P[0]===4||P[0]===6||P[0]===7)&&P.length-1===2*T){if(P[0]===6)Z(P[P.length-1]%2===0);else if(P[0]===7)Z(P[P.length-1]%2===1);var _=this.point(P.slice(1,1+T),P.slice(1+T,1+2*T));return _}else if((P[0]===2||P[0]===3)&&P.length-1===T)return this.pointFromX(P.slice(1,1+T),P[0]===3);throw Error("Unknown point format")},j.prototype.encodeCompressed=function(P){return this.encode(P,!0)},j.prototype._encode=function(P){var S=this.curve.p.byteLength(),T=this.getX().toArray("be",S);if(P)return[this.getY().isEven()?2:3].concat(T);return[4].concat(T,this.getY().toArray("be",S))},j.prototype.encode=function(P,S){return z.encode(this._encode(S),P)},j.prototype.precompute=function(P){if(this.precomputed)return this;var S={doubles:null,naf:null,beta:null};return S.naf=this._getNAFPoints(8),S.doubles=this._getDoubles(4,P),S.beta=this._getBeta(),this.precomputed=S,this},j.prototype._hasDoubles=function(P){if(!this.precomputed)return!1;var S=this.precomputed.doubles;if(!S)return!1;return S.points.length>=Math.ceil((P.bitLength()+1)/S.step)},j.prototype._getDoubles=function(P,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var T=[this],_=this;for(var B=0;B<S;B+=P){for(var N=0;N<P;N++)_=_.dbl();T.push(_)}return{step:P,points:T}},j.prototype._getNAFPoints=function(P){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var S=[this],T=(1<<P)-1,_=T===1?null:this.dbl();for(var B=1;B<T;B++)S[B]=S[B-1].add(_);return{wnd:P,points:S}},j.prototype._getBeta=function(){return null},j.prototype.dblp=function(P){var S=this;for(var T=0;T<P;T++)S=S.dbl();return S}}),Qf=u0((I,J)=>{if(typeof Object.create==="function")J.exports=function(Q,z){if(z)Q.super_=z,Q.prototype=Object.create(z.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Q,z){if(z){Q.super_=z;var X=function(){};X.prototype=z.prototype,Q.prototype=new X,Q.prototype.constructor=Q}}}),M4=u0((I,J)=>{try{if(Q=(SY(),j$(_Y)),typeof Q.inherits!=="function")throw"";J.exports=Q.inherits}catch(z){J.exports=Qf()}var Q}),Gf=u0((I,J)=>{var Q=b4(),z=zI(),X=M4(),W=T8(),Z=Q.assert;function L(S){W.call(this,"short",S),this.a=new z(S.a,16).toRed(this.red),this.b=new z(S.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(S),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}X(L,W),J.exports=L,L.prototype._getEndomorphism=function(S){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var T,_;if(S.beta)T=new z(S.beta,16).toRed(this.red);else{var B=this._getEndoRoots(this.p);T=B[0].cmp(B[1])<0?B[0]:B[1],T=T.toRed(this.red)}if(S.lambda)_=new z(S.lambda,16);else{var N=this._getEndoRoots(this.n);if(this.g.mul(N[0]).x.cmp(this.g.x.redMul(T))===0)_=N[0];else _=N[1],Z(this.g.mul(_).x.cmp(this.g.x.redMul(T))===0)}var y;if(S.basis)y=S.basis.map(function(w){return{a:new z(w.a,16),b:new z(w.b,16)}});else y=this._getEndoBasis(_);return{beta:T,lambda:_,basis:y}},L.prototype._getEndoRoots=function(S){var T=S===this.p?this.red:z.mont(S),_=new z(2).toRed(T).redInvm(),B=_.redNeg(),N=new z(3).toRed(T).redNeg().redSqrt().redMul(_),y=B.redAdd(N).fromRed(),w=B.redSub(N).fromRed();return[y,w]},L.prototype._getEndoBasis=function(S){var T=this.n.ushrn(Math.floor(this.n.bitLength()/2)),_=S,B=this.n.clone(),N=new z(1),y=new z(0),w=new z(0),u=new z(1),g,b,p,d,a,H0,L0,S0=0,t,q0;while(_.cmpn(0)!==0){var G=B.div(_);t=B.sub(G.mul(_)),q0=w.sub(G.mul(N));var V=u.sub(G.mul(y));if(!p&&t.cmp(T)<0)g=L0.neg(),b=N,p=t.neg(),d=q0;else if(p&&++S0===2)break;L0=t,B=_,_=t,w=N,N=q0,u=y,y=V}a=t.neg(),H0=q0;var D=p.sqr().add(d.sqr()),O=a.sqr().add(H0.sqr());if(O.cmp(D)>=0)a=g,H0=b;if(p.negative)p=p.neg(),d=d.neg();if(a.negative)a=a.neg(),H0=H0.neg();return[{a:p,b:d},{a,b:H0}]},L.prototype._endoSplit=function(S){var T=this.endo.basis,_=T[0],B=T[1],N=B.b.mul(S).divRound(this.n),y=_.b.neg().mul(S).divRound(this.n),w=N.mul(_.a),u=y.mul(B.a),g=N.mul(_.b),b=y.mul(B.b),p=S.sub(w).sub(u),d=g.add(b).neg();return{k1:p,k2:d}},L.prototype.pointFromX=function(S,T){if(S=new z(S,16),!S.red)S=S.toRed(this.red);var _=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),B=_.redSqrt();if(B.redSqr().redSub(_).cmp(this.zero)!==0)throw Error("invalid point");var N=B.fromRed().isOdd();if(T&&!N||!T&&N)B=B.redNeg();return this.point(S,B)},L.prototype.validate=function(S){if(S.inf)return!0;var{x:T,y:_}=S,B=this.a.redMul(T),N=T.redSqr().redMul(T).redIAdd(B).redIAdd(this.b);return _.redSqr().redISub(N).cmpn(0)===0},L.prototype._endoWnafMulAdd=function(S,T,_){var B=this._endoWnafT1,N=this._endoWnafT2;for(var y=0;y<S.length;y++){var w=this._endoSplit(T[y]),u=S[y],g=u._getBeta();if(w.k1.negative)w.k1.ineg(),u=u.neg(!0);if(w.k2.negative)w.k2.ineg(),g=g.neg(!0);B[y*2]=u,B[y*2+1]=g,N[y*2]=w.k1,N[y*2+1]=w.k2}var b=this._wnafMulAdd(1,B,N,y*2,_);for(var p=0;p<y*2;p++)B[p]=null,N[p]=null;return b};function j(S,T,_,B){if(W.BasePoint.call(this,S,"affine"),T===null&&_===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new z(T,16),this.y=new z(_,16),B)this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);this.inf=!1}}X(j,W.BasePoint),L.prototype.point=function(S,T,_){return new j(this,S,T,_)},L.prototype.pointFromJSON=function(S,T){return j.fromJSON(this,S,T)},j.prototype._getBeta=function(){if(!this.curve.endo)return;var S=this.precomputed;if(S&&S.beta)return S.beta;var T=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(S){var _=this.curve,B=function(N){return _.point(N.x.redMul(_.endo.beta),N.y)};S.beta=T,T.precomputed={beta:null,naf:S.naf&&{wnd:S.naf.wnd,points:S.naf.points.map(B)},doubles:S.doubles&&{step:S.doubles.step,points:S.doubles.points.map(B)}}}return T},j.prototype.toJSON=function(){if(!this.precomputed)return[this.x,this.y];return[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]},j.fromJSON=function(S,T,_){if(typeof T==="string")T=JSON.parse(T);var B=S.point(T[0],T[1],_);if(!T[2])return B;function N(w){return S.point(w[0],w[1],_)}var y=T[2];return B.precomputed={beta:null,doubles:y.doubles&&{step:y.doubles.step,points:[B].concat(y.doubles.points.map(N))},naf:y.naf&&{wnd:y.naf.wnd,points:[B].concat(y.naf.points.map(N))}},B},j.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.inf},j.prototype.add=function(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(this.x.cmp(S.x)===0)return this.curve.point(null,null);var T=this.y.redSub(S.y);if(T.cmpn(0)!==0)T=T.redMul(this.x.redSub(S.x).redInvm());var _=T.redSqr().redISub(this.x).redISub(S.x),B=T.redMul(this.x.redSub(_)).redISub(this.y);return this.curve.point(_,B)},j.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(S.cmpn(0)===0)return this.curve.point(null,null);var T=this.curve.a,_=this.x.redSqr(),B=S.redInvm(),N=_.redAdd(_).redIAdd(_).redIAdd(T).redMul(B),y=N.redSqr().redISub(this.x.redAdd(this.x)),w=N.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,w)},j.prototype.getX=function(){return this.x.fromRed()},j.prototype.getY=function(){return this.y.fromRed()},j.prototype.mul=function(S){if(S=new z(S,16),this.isInfinity())return this;else if(this._hasDoubles(S))return this.curve._fixedNafMul(this,S);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[S]);else return this.curve._wnafMul(this,S)},j.prototype.mulAdd=function(S,T,_){var B=[this,T],N=[S,_];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,N);else return this.curve._wnafMulAdd(1,B,N,2)},j.prototype.jmulAdd=function(S,T,_){var B=[this,T],N=[S,_];if(this.curve.endo)return this.curve._endoWnafMulAdd(B,N,!0);else return this.curve._wnafMulAdd(1,B,N,2,!0)},j.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||this.x.cmp(S.x)===0&&this.y.cmp(S.y)===0)},j.prototype.neg=function(S){if(this.inf)return this;var T=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var _=this.precomputed,B=function(N){return N.neg()};T.precomputed={naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(B)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(B)}}}return T},j.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var S=this.curve.jpoint(this.x,this.y,this.curve.one);return S};function P(S,T,_,B){if(W.BasePoint.call(this,S,"jacobian"),T===null&&_===null&&B===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new z(0);else this.x=new z(T,16),this.y=new z(_,16),this.z=new z(B,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);this.zOne=this.z===this.curve.one}X(P,W.BasePoint),L.prototype.jpoint=function(S,T,_){return new P(this,S,T,_)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),T=S.redSqr(),_=this.x.redMul(T),B=this.y.redMul(T).redMul(S);return this.curve.point(_,B)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var T=S.z.redSqr(),_=this.z.redSqr(),B=this.x.redMul(T),N=S.x.redMul(_),y=this.y.redMul(T.redMul(S.z)),w=S.y.redMul(_.redMul(this.z)),u=B.redSub(N),g=y.redSub(w);if(u.cmpn(0)===0)if(g.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var b=u.redSqr(),p=b.redMul(u),d=B.redMul(b),a=g.redSqr().redIAdd(p).redISub(d).redISub(d),H0=g.redMul(d.redISub(a)).redISub(y.redMul(p)),L0=this.z.redMul(S.z).redMul(u);return this.curve.jpoint(a,H0,L0)},P.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var T=this.z.redSqr(),_=this.x,B=S.x.redMul(T),N=this.y,y=S.y.redMul(T).redMul(this.z),w=_.redSub(B),u=N.redSub(y);if(w.cmpn(0)===0)if(u.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var g=w.redSqr(),b=g.redMul(w),p=_.redMul(g),d=u.redSqr().redIAdd(b).redISub(p).redISub(p),a=u.redMul(p.redISub(d)).redISub(N.redMul(b)),H0=this.z.redMul(w);return this.curve.jpoint(d,a,H0)},P.prototype.dblp=function(S){if(S===0)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var T;if(this.curve.zeroA||this.curve.threeA){var _=this;for(T=0;T<S;T++)_=_.dbl();return _}var B=this.curve.a,N=this.curve.tinv,y=this.x,w=this.y,u=this.z,g=u.redSqr().redSqr(),b=w.redAdd(w);for(T=0;T<S;T++){var p=y.redSqr(),d=b.redSqr(),a=d.redSqr(),H0=p.redAdd(p).redIAdd(p).redIAdd(B.redMul(g)),L0=y.redMul(d),S0=H0.redSqr().redISub(L0.redAdd(L0)),t=L0.redISub(S0),q0=H0.redMul(t);q0=q0.redIAdd(q0).redISub(a);var G=b.redMul(u);if(T+1<S)g=g.redMul(a);y=S0,u=G,b=q0}return this.curve.jpoint(y,b.redMul(N),u)},P.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()},P.prototype._zeroDbl=function(){var S,T,_;if(this.zOne){var B=this.x.redSqr(),N=this.y.redSqr(),y=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(B).redISub(y);w=w.redIAdd(w);var u=B.redAdd(B).redIAdd(B),g=u.redSqr().redISub(w).redISub(w),b=y.redIAdd(y);b=b.redIAdd(b),b=b.redIAdd(b),S=g,T=u.redMul(w.redISub(g)).redISub(b),_=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),d=this.y.redSqr(),a=d.redSqr(),H0=this.x.redAdd(d).redSqr().redISub(p).redISub(a);H0=H0.redIAdd(H0);var L0=p.redAdd(p).redIAdd(p),S0=L0.redSqr(),t=a.redIAdd(a);t=t.redIAdd(t),t=t.redIAdd(t),S=S0.redISub(H0).redISub(H0),T=L0.redMul(H0.redISub(S)).redISub(t),_=this.y.redMul(this.z),_=_.redIAdd(_)}return this.curve.jpoint(S,T,_)},P.prototype._threeDbl=function(){var S,T,_;if(this.zOne){var B=this.x.redSqr(),N=this.y.redSqr(),y=N.redSqr(),w=this.x.redAdd(N).redSqr().redISub(B).redISub(y);w=w.redIAdd(w);var u=B.redAdd(B).redIAdd(B).redIAdd(this.curve.a),g=u.redSqr().redISub(w).redISub(w);S=g;var b=y.redIAdd(y);b=b.redIAdd(b),b=b.redIAdd(b),T=u.redMul(w.redISub(g)).redISub(b),_=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),d=this.y.redSqr(),a=this.x.redMul(d),H0=this.x.redSub(p).redMul(this.x.redAdd(p));H0=H0.redAdd(H0).redIAdd(H0);var L0=a.redIAdd(a);L0=L0.redIAdd(L0);var S0=L0.redAdd(L0);S=H0.redSqr().redISub(S0),_=this.y.redAdd(this.z).redSqr().redISub(d).redISub(p);var t=d.redSqr();t=t.redIAdd(t),t=t.redIAdd(t),t=t.redIAdd(t),T=H0.redMul(L0.redISub(S)).redISub(t)}return this.curve.jpoint(S,T,_)},P.prototype._dbl=function(){var S=this.curve.a,T=this.x,_=this.y,B=this.z,N=B.redSqr().redSqr(),y=T.redSqr(),w=_.redSqr(),u=y.redAdd(y).redIAdd(y).redIAdd(S.redMul(N)),g=T.redAdd(T);g=g.redIAdd(g);var b=g.redMul(w),p=u.redSqr().redISub(b.redAdd(b)),d=b.redISub(p),a=w.redSqr();a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var H0=u.redMul(d).redISub(a),L0=_.redAdd(_).redMul(B);return this.curve.jpoint(p,H0,L0)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var S=this.x.redSqr(),T=this.y.redSqr(),_=this.z.redSqr(),B=T.redSqr(),N=S.redAdd(S).redIAdd(S),y=N.redSqr(),w=this.x.redAdd(T).redSqr().redISub(S).redISub(B);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(y);var u=w.redSqr(),g=B.redIAdd(B);g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g);var b=N.redIAdd(w).redSqr().redISub(y).redISub(u).redISub(g),p=T.redMul(b);p=p.redIAdd(p),p=p.redIAdd(p);var d=this.x.redMul(u).redISub(p);d=d.redIAdd(d),d=d.redIAdd(d);var a=this.y.redMul(b.redMul(g.redISub(b)).redISub(w.redMul(u)));a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var H0=this.z.redAdd(w).redSqr().redISub(_).redISub(u);return this.curve.jpoint(d,a,H0)},P.prototype.mul=function(S,T){return S=new z(S,T),this.curve._wnafMul(this,S)},P.prototype.eq=function(S){if(S.type==="affine")return this.eq(S.toJ());if(this===S)return!0;var T=this.z.redSqr(),_=S.z.redSqr();if(this.x.redMul(_).redISub(S.x.redMul(T)).cmpn(0)!==0)return!1;var B=T.redMul(this.z),N=_.redMul(S.z);return this.y.redMul(N).redISub(S.y.redMul(B)).cmpn(0)===0},P.prototype.eqXToP=function(S){var T=this.z.redSqr(),_=S.toRed(this.curve.red).redMul(T);if(this.x.cmp(_)===0)return!0;var B=S.clone(),N=this.curve.redN.redMul(T);for(;;){if(B.iadd(this.curve.n),B.cmp(this.curve.p)>=0)return!1;if(_.redIAdd(N),this.x.cmp(_)===0)return!0}},P.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)+">"},P.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),Zf=u0((I,J)=>{var Q=zI(),z=M4(),X=T8(),W=b4();function Z(j){X.call(this,"mont",j),this.a=new Q(j.a,16).toRed(this.red),this.b=new Q(j.b,16).toRed(this.red),this.i4=new Q(4).toRed(this.red).redInvm(),this.two=new Q(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}z(Z,X),J.exports=Z,Z.prototype.validate=function(j){var P=j.normalize().x,S=P.redSqr(),T=S.redMul(P).redAdd(S.redMul(this.a)).redAdd(P),_=T.redSqrt();return _.redSqr().cmp(T)===0};function L(j,P,S){if(X.BasePoint.call(this,j,"projective"),P===null&&S===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new Q(P,16),this.z=new Q(S,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,X.BasePoint),Z.prototype.decodePoint=function(j,P){return this.point(W.toArray(j,P),1)},Z.prototype.point=function(j,P){return new L(this,j,P)},Z.prototype.pointFromJSON=function(j){return L.fromJSON(this,j)},L.prototype.precompute=function(){},L.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},L.fromJSON=function(j,P){return new L(j,P[0],P[1]||j.one)},L.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},L.prototype.isInfinity=function(){return this.z.cmpn(0)===0},L.prototype.dbl=function(){var j=this.x.redAdd(this.z),P=j.redSqr(),S=this.x.redSub(this.z),T=S.redSqr(),_=P.redSub(T),B=P.redMul(T),N=_.redMul(T.redAdd(this.curve.a24.redMul(_)));return this.curve.point(B,N)},L.prototype.add=function(){throw Error("Not supported on Montgomery curve")},L.prototype.diffAdd=function(j,P){var S=this.x.redAdd(this.z),T=this.x.redSub(this.z),_=j.x.redAdd(j.z),B=j.x.redSub(j.z),N=B.redMul(S),y=_.redMul(T),w=P.z.redMul(N.redAdd(y).redSqr()),u=P.x.redMul(N.redISub(y).redSqr());return this.curve.point(w,u)},L.prototype.mul=function(j){var P=j.clone(),S=this,T=this.curve.point(null,null),_=this;for(var B=[];P.cmpn(0)!==0;P.iushrn(1))B.push(P.andln(1));for(var N=B.length-1;N>=0;N--)if(B[N]===0)S=S.diffAdd(T,_),T=T.dbl();else T=S.diffAdd(T,_),S=S.dbl();return T},L.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.eq=function(j){return this.getX().cmp(j.getX())===0},L.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},L.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}),Kf=u0((I,J)=>{var Q=b4(),z=zI(),X=M4(),W=T8(),Z=Q.assert;function L(P){this.twisted=(P.a|0)!==1,this.mOneA=this.twisted&&(P.a|0)===-1,this.extended=this.mOneA,W.call(this,"edwards",P),this.a=new z(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new z(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new z(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Z(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(P.c|0)===1}X(L,W),J.exports=L,L.prototype._mulA=function(P){if(this.mOneA)return P.redNeg();else return this.a.redMul(P)},L.prototype._mulC=function(P){if(this.oneC)return P;else return this.c.redMul(P)},L.prototype.jpoint=function(P,S,T,_){return this.point(P,S,T,_)},L.prototype.pointFromX=function(P,S){if(P=new z(P,16),!P.red)P=P.toRed(this.red);var T=P.redSqr(),_=this.c2.redSub(this.a.redMul(T)),B=this.one.redSub(this.c2.redMul(this.d).redMul(T)),N=_.redMul(B.redInvm()),y=N.redSqrt();if(y.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");var w=y.fromRed().isOdd();if(S&&!w||!S&&w)y=y.redNeg();return this.point(P,y)},L.prototype.pointFromY=function(P,S){if(P=new z(P,16),!P.red)P=P.toRed(this.red);var T=P.redSqr(),_=T.redSub(this.c2),B=T.redMul(this.d).redMul(this.c2).redSub(this.a),N=_.redMul(B.redInvm());if(N.cmp(this.zero)===0)if(S)throw Error("invalid point");else return this.point(this.zero,P);var y=N.redSqrt();if(y.redSqr().redSub(N).cmp(this.zero)!==0)throw Error("invalid point");if(y.fromRed().isOdd()!==S)y=y.redNeg();return this.point(y,P)},L.prototype.validate=function(P){if(P.isInfinity())return!0;P.normalize();var S=P.x.redSqr(),T=P.y.redSqr(),_=S.redMul(this.a).redAdd(T),B=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(T)));return _.cmp(B)===0};function j(P,S,T,_,B){if(W.BasePoint.call(this,P,"projective"),S===null&&T===null&&_===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(S,16),this.y=new z(T,16),this.z=_?new z(_,16):this.curve.one,this.t=B&&new z(B,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);if(this.t&&!this.t.red)this.t=this.t.toRed(this.curve.red);if(this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t){if(this.t=this.x.redMul(this.y),!this.zOne)this.t=this.t.redMul(this.z.redInvm())}}}X(j,W.BasePoint),L.prototype.pointFromJSON=function(P){return j.fromJSON(this,P)},L.prototype.point=function(P,S,T,_){return new j(this,P,S,T,_)},j.fromJSON=function(P,S){return new j(P,S[0],S[1],S[2])},j.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},j.prototype._extDbl=function(){var P=this.x.redSqr(),S=this.y.redSqr(),T=this.z.redSqr();T=T.redIAdd(T);var _=this.curve._mulA(P),B=this.x.redAdd(this.y).redSqr().redISub(P).redISub(S),N=_.redAdd(S),y=N.redSub(T),w=_.redSub(S),u=B.redMul(y),g=N.redMul(w),b=B.redMul(w),p=y.redMul(N);return this.curve.point(u,g,p,b)},j.prototype._projDbl=function(){var P=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),T=this.y.redSqr(),_,B,N,y,w,u;if(this.curve.twisted){y=this.curve._mulA(S);var g=y.redAdd(T);if(this.zOne)_=P.redSub(S).redSub(T).redMul(g.redSub(this.curve.two)),B=g.redMul(y.redSub(T)),N=g.redSqr().redSub(g).redSub(g);else w=this.z.redSqr(),u=g.redSub(w).redISub(w),_=P.redSub(S).redISub(T).redMul(u),B=g.redMul(y.redSub(T)),N=g.redMul(u)}else y=S.redAdd(T),w=this.curve._mulC(this.z).redSqr(),u=y.redSub(w).redSub(w),_=this.curve._mulC(P.redISub(y)).redMul(u),B=this.curve._mulC(y).redMul(S.redISub(T)),N=y.redMul(u);return this.curve.point(_,B,N)},j.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},j.prototype._extAdd=function(P){var S=this.y.redSub(this.x).redMul(P.y.redSub(P.x)),T=this.y.redAdd(this.x).redMul(P.y.redAdd(P.x)),_=this.t.redMul(this.curve.dd).redMul(P.t),B=this.z.redMul(P.z.redAdd(P.z)),N=T.redSub(S),y=B.redSub(_),w=B.redAdd(_),u=T.redAdd(S),g=N.redMul(y),b=w.redMul(u),p=N.redMul(u),d=y.redMul(w);return this.curve.point(g,b,d,p)},j.prototype._projAdd=function(P){var S=this.z.redMul(P.z),T=S.redSqr(),_=this.x.redMul(P.x),B=this.y.redMul(P.y),N=this.curve.d.redMul(_).redMul(B),y=T.redSub(N),w=T.redAdd(N),u=this.x.redAdd(this.y).redMul(P.x.redAdd(P.y)).redISub(_).redISub(B),g=S.redMul(y).redMul(u),b,p;if(this.curve.twisted)b=S.redMul(w).redMul(B.redSub(this.curve._mulA(_))),p=y.redMul(w);else b=S.redMul(w).redMul(B.redSub(_)),p=this.curve._mulC(y).redMul(w);return this.curve.point(g,b,p)},j.prototype.add=function(P){if(this.isInfinity())return P;if(P.isInfinity())return this;if(this.curve.extended)return this._extAdd(P);else return this._projAdd(P)},j.prototype.mul=function(P){if(this._hasDoubles(P))return this.curve._fixedNafMul(this,P);else return this.curve._wnafMul(this,P)},j.prototype.mulAdd=function(P,S,T){return this.curve._wnafMulAdd(1,[this,S],[P,T],2,!1)},j.prototype.jmulAdd=function(P,S,T){return this.curve._wnafMulAdd(1,[this,S],[P,T],2,!0)},j.prototype.normalize=function(){if(this.zOne)return this;var P=this.z.redInvm();if(this.x=this.x.redMul(P),this.y=this.y.redMul(P),this.t)this.t=this.t.redMul(P);return this.z=this.curve.one,this.zOne=!0,this},j.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},j.prototype.getX=function(){return this.normalize(),this.x.fromRed()},j.prototype.getY=function(){return this.normalize(),this.y.fromRed()},j.prototype.eq=function(P){return this===P||this.getX().cmp(P.getX())===0&&this.getY().cmp(P.getY())===0},j.prototype.eqXToP=function(P){var S=P.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(S)===0)return!0;var T=P.clone(),_=this.curve.redN.redMul(this.z);for(;;){if(T.iadd(this.curve.n),T.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(_),this.x.cmp(S)===0)return!0}},j.prototype.toP=j.prototype.normalize,j.prototype.mixedAdd=j.prototype.add}),JE=u0((I)=>{var J=I;J.base=T8(),J.short=Gf(),J.mont=Zf(),J.edwards=Kf()}),v6=u0((I)=>{var J=YX(),Q=M4();I.inherits=Q;function z(V,D){if((V.charCodeAt(D)&64512)!==55296)return!1;if(D<0||D+1>=V.length)return!1;return(V.charCodeAt(D+1)&64512)===56320}function X(V,D){if(Array.isArray(V))return V.slice();if(!V)return[];var O=[];if(typeof V==="string"){if(!D){var H=0;for(var q=0;q<V.length;q++){var E=V.charCodeAt(q);if(E<128)O[H++]=E;else if(E<2048)O[H++]=E>>6|192,O[H++]=E&63|128;else if(z(V,q))E=65536+((E&1023)<<10)+(V.charCodeAt(++q)&1023),O[H++]=E>>18|240,O[H++]=E>>12&63|128,O[H++]=E>>6&63|128,O[H++]=E&63|128;else O[H++]=E>>12|224,O[H++]=E>>6&63|128,O[H++]=E&63|128}}else if(D==="hex"){if(V=V.replace(/[^a-z0-9]+/ig,""),V.length%2!==0)V="0"+V;for(q=0;q<V.length;q+=2)O.push(parseInt(V[q]+V[q+1],16))}}else for(q=0;q<V.length;q++)O[q]=V[q]|0;return O}I.toArray=X;function W(V){var D="";for(var O=0;O<V.length;O++)D+=j(V[O].toString(16));return D}I.toHex=W;function Z(V){var D=V>>>24|V>>>8&65280|V<<8&16711680|(V&255)<<24;return D>>>0}I.htonl=Z;function L(V,D){var O="";for(var H=0;H<V.length;H++){var q=V[H];if(D==="little")q=Z(q);O+=P(q.toString(16))}return O}I.toHex32=L;function j(V){if(V.length===1)return"0"+V;else return V}I.zero2=j;function P(V){if(V.length===7)return"0"+V;else if(V.length===6)return"00"+V;else if(V.length===5)return"000"+V;else if(V.length===4)return"0000"+V;else if(V.length===3)return"00000"+V;else if(V.length===2)return"000000"+V;else if(V.length===1)return"0000000"+V;else return V}I.zero8=P;function S(V,D,O,H){var q=O-D;J(q%4===0);var E=Array(q/4);for(var A=0,K=D;A<E.length;A++,K+=4){var C;if(H==="big")C=V[K]<<24|V[K+1]<<16|V[K+2]<<8|V[K+3];else C=V[K+3]<<24|V[K+2]<<16|V[K+1]<<8|V[K];E[A]=C>>>0}return E}I.join32=S;function T(V,D){var O=Array(V.length*4);for(var H=0,q=0;H<V.length;H++,q+=4){var E=V[H];if(D==="big")O[q]=E>>>24,O[q+1]=E>>>16&255,O[q+2]=E>>>8&255,O[q+3]=E&255;else O[q+3]=E>>>24,O[q+2]=E>>>16&255,O[q+1]=E>>>8&255,O[q]=E&255}return O}I.split32=T;function _(V,D){return V>>>D|V<<32-D}I.rotr32=_;function B(V,D){return V<<D|V>>>32-D}I.rotl32=B;function N(V,D){return V+D>>>0}I.sum32=N;function y(V,D,O){return V+D+O>>>0}I.sum32_3=y;function w(V,D,O,H){return V+D+O+H>>>0}I.sum32_4=w;function u(V,D,O,H,q){return V+D+O+H+q>>>0}I.sum32_5=u;function g(V,D,O,H){var q=V[D],E=V[D+1],A=H+E>>>0,K=(A<H?1:0)+O+q;V[D]=K>>>0,V[D+1]=A}I.sum64=g;function b(V,D,O,H){var q=D+H>>>0,E=(q<D?1:0)+V+O;return E>>>0}I.sum64_hi=b;function p(V,D,O,H){var q=D+H;return q>>>0}I.sum64_lo=p;function d(V,D,O,H,q,E,A,K){var C=0,x=D;x=x+H>>>0,C+=x<D?1:0,x=x+E>>>0,C+=x<E?1:0,x=x+K>>>0,C+=x<K?1:0;var v=V+O+q+A+C;return v>>>0}I.sum64_4_hi=d;function a(V,D,O,H,q,E,A,K){var C=D+H+E+K;return C>>>0}I.sum64_4_lo=a;function H0(V,D,O,H,q,E,A,K,C,x){var v=0,h=D;h=h+H>>>0,v+=h<D?1:0,h=h+E>>>0,v+=h<E?1:0,h=h+K>>>0,v+=h<K?1:0,h=h+x>>>0,v+=h<x?1:0;var r=V+O+q+A+C+v;return r>>>0}I.sum64_5_hi=H0;function L0(V,D,O,H,q,E,A,K,C,x){var v=D+H+E+K+x;return v>>>0}I.sum64_5_lo=L0;function S0(V,D,O){var H=D<<32-O|V>>>O;return H>>>0}I.rotr64_hi=S0;function t(V,D,O){var H=V<<32-O|D>>>O;return H>>>0}I.rotr64_lo=t;function q0(V,D,O){return V>>>O}I.shr64_hi=q0;function G(V,D,O){var H=V<<32-O|D>>>O;return H>>>0}I.shr64_lo=G}),I2=u0((I)=>{var J=v6(),Q=YX();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}I.BlockHash=z,z.prototype.update=function(X,W){if(X=J.toArray(X,W),!this.pending)this.pending=X;else this.pending=this.pending.concat(X);if(this.pendingTotal+=X.length,this.pending.length>=this._delta8){X=this.pending;var Z=X.length%this._delta8;if(this.pending=X.slice(X.length-Z,X.length),this.pending.length===0)this.pending=null;X=J.join32(X,0,X.length-Z,this.endian);for(var L=0;L<X.length;L+=this._delta32)this._update(X,L,L+this._delta32)}return this},z.prototype.digest=function(X){return this.update(this._pad()),Q(this.pending===null),this._digest(X)},z.prototype._pad=function(){var X=this.pendingTotal,W=this._delta8,Z=W-(X+this.padLength)%W,L=Array(Z+this.padLength);L[0]=128;for(var j=1;j<Z;j++)L[j]=0;if(X<<=3,this.endian==="big"){for(var P=8;P<this.padLength;P++)L[j++]=0;L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=X>>>24&255,L[j++]=X>>>16&255,L[j++]=X>>>8&255,L[j++]=X&255}else{L[j++]=X&255,L[j++]=X>>>8&255,L[j++]=X>>>16&255,L[j++]=X>>>24&255,L[j++]=0,L[j++]=0,L[j++]=0,L[j++]=0;for(P=8;P<this.padLength;P++)L[j++]=0}return L}}),YE=u0((I)=>{var J=v6(),Q=J.rotr32;function z(T,_,B,N){if(T===0)return X(_,B,N);if(T===1||T===3)return Z(_,B,N);if(T===2)return W(_,B,N)}I.ft_1=z;function X(T,_,B){return T&_^~T&B}I.ch32=X;function W(T,_,B){return T&_^T&B^_&B}I.maj32=W;function Z(T,_,B){return T^_^B}I.p32=Z;function L(T){return Q(T,2)^Q(T,13)^Q(T,22)}I.s0_256=L;function j(T){return Q(T,6)^Q(T,11)^Q(T,25)}I.s1_256=j;function P(T){return Q(T,7)^Q(T,18)^T>>>3}I.g0_256=P;function S(T){return Q(T,17)^Q(T,19)^T>>>10}I.g1_256=S}),Wf=u0((I,J)=>{var Q=v6(),z=I2(),X=YE(),W=Q.rotl32,Z=Q.sum32,L=Q.sum32_5,j=X.ft_1,P=z.BlockHash,S=[1518500249,1859775393,2400959708,3395469782];function T(){if(!(this instanceof T))return new T;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}Q.inherits(T,P),J.exports=T,T.blockSize=512,T.outSize=160,T.hmacStrength=80,T.padLength=64,T.prototype._update=function(_,B){var N=this.W;for(var y=0;y<16;y++)N[y]=_[B+y];for(;y<N.length;y++)N[y]=W(N[y-3]^N[y-8]^N[y-14]^N[y-16],1);var w=this.h[0],u=this.h[1],g=this.h[2],b=this.h[3],p=this.h[4];for(y=0;y<N.length;y++){var d=~~(y/20),a=L(W(w,5),j(d,u,g,b),p,N[y],S[d]);p=b,b=g,g=W(u,30),u=w,w=a}this.h[0]=Z(this.h[0],w),this.h[1]=Z(this.h[1],u),this.h[2]=Z(this.h[2],g),this.h[3]=Z(this.h[3],b),this.h[4]=Z(this.h[4],p)},T.prototype._digest=function(_){if(_==="hex")return Q.toHex32(this.h,"big");else return Q.split32(this.h,"big")}}),QE=u0((I,J)=>{var Q=v6(),z=I2(),X=YE(),W=YX(),Z=Q.sum32,L=Q.sum32_4,j=Q.sum32_5,P=X.ch32,S=X.maj32,T=X.s0_256,_=X.s1_256,B=X.g0_256,N=X.g1_256,y=z.BlockHash,w=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function u(){if(!(this instanceof u))return new u;y.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=w,this.W=Array(64)}Q.inherits(u,y),J.exports=u,u.blockSize=512,u.outSize=256,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(g,b){var p=this.W;for(var d=0;d<16;d++)p[d]=g[b+d];for(;d<p.length;d++)p[d]=L(N(p[d-2]),p[d-7],B(p[d-15]),p[d-16]);var a=this.h[0],H0=this.h[1],L0=this.h[2],S0=this.h[3],t=this.h[4],q0=this.h[5],G=this.h[6],V=this.h[7];W(this.k.length===p.length);for(d=0;d<p.length;d++){var D=j(V,_(t),P(t,q0,G),this.k[d],p[d]),O=Z(T(a),S(a,H0,L0));V=G,G=q0,q0=t,t=Z(S0,D),S0=L0,L0=H0,H0=a,a=Z(D,O)}this.h[0]=Z(this.h[0],a),this.h[1]=Z(this.h[1],H0),this.h[2]=Z(this.h[2],L0),this.h[3]=Z(this.h[3],S0),this.h[4]=Z(this.h[4],t),this.h[5]=Z(this.h[5],q0),this.h[6]=Z(this.h[6],G),this.h[7]=Z(this.h[7],V)},u.prototype._digest=function(g){if(g==="hex")return Q.toHex32(this.h,"big");else return Q.split32(this.h,"big")}}),zf=u0((I,J)=>{var Q=v6(),z=QE();function X(){if(!(this instanceof X))return new X;z.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Q.inherits(X,z),J.exports=X,X.blockSize=512,X.outSize=224,X.hmacStrength=192,X.padLength=64,X.prototype._digest=function(W){if(W==="hex")return Q.toHex32(this.h.slice(0,7),"big");else return Q.split32(this.h.slice(0,7),"big")}}),GE=u0((I,J)=>{var Q=v6(),z=I2(),X=YX(),W=Q.rotr64_hi,Z=Q.rotr64_lo,L=Q.shr64_hi,j=Q.shr64_lo,P=Q.sum64,S=Q.sum64_hi,T=Q.sum64_lo,_=Q.sum64_4_hi,B=Q.sum64_4_lo,N=Q.sum64_5_hi,y=Q.sum64_5_lo,w=z.BlockHash,u=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function g(){if(!(this instanceof g))return new g;w.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=u,this.W=Array(160)}Q.inherits(g,w),J.exports=g,g.blockSize=1024,g.outSize=512,g.hmacStrength=192,g.padLength=128,g.prototype._prepareBlock=function(O,H){var q=this.W;for(var E=0;E<32;E++)q[E]=O[H+E];for(;E<q.length;E+=2){var A=V(q[E-4],q[E-3]),K=D(q[E-4],q[E-3]),C=q[E-14],x=q[E-13],v=q0(q[E-30],q[E-29]),h=G(q[E-30],q[E-29]),r=q[E-32],U0=q[E-31];q[E]=_(A,K,C,x,v,h,r,U0),q[E+1]=B(A,K,C,x,v,h,r,U0)}},g.prototype._update=function(O,H){this._prepareBlock(O,H);var q=this.W,E=this.h[0],A=this.h[1],K=this.h[2],C=this.h[3],x=this.h[4],v=this.h[5],h=this.h[6],r=this.h[7],U0=this.h[8],W0=this.h[9],Y0=this.h[10],s=this.h[11],e=this.h[12],J0=this.h[13],Z0=this.h[14],A0=this.h[15];X(this.k.length===q.length);for(var $0=0;$0<q.length;$0+=2){var c=Z0,n=A0,D0=S0(U0,W0),Q0=t(U0,W0),O0=b(U0,W0,Y0,s,e,J0),k0=p(U0,W0,Y0,s,e,J0),I0=this.k[$0],z0=this.k[$0+1],I$=q[$0],M0=q[$0+1],v0=N(c,n,D0,Q0,O0,k0,I0,z0,I$,M0),M$=y(c,n,D0,Q0,O0,k0,I0,z0,I$,M0);c=H0(E,A),n=L0(E,A),D0=d(E,A,K,C,x,v),Q0=a(E,A,K,C,x,v);var m0=S(c,n,D0,Q0),p0=T(c,n,D0,Q0);Z0=e,A0=J0,e=Y0,J0=s,Y0=U0,s=W0,U0=S(h,r,v0,M$),W0=T(r,r,v0,M$),h=x,r=v,x=K,v=C,K=E,C=A,E=S(v0,M$,m0,p0),A=T(v0,M$,m0,p0)}P(this.h,0,E,A),P(this.h,2,K,C),P(this.h,4,x,v),P(this.h,6,h,r),P(this.h,8,U0,W0),P(this.h,10,Y0,s),P(this.h,12,e,J0),P(this.h,14,Z0,A0)},g.prototype._digest=function(O){if(O==="hex")return Q.toHex32(this.h,"big");else return Q.split32(this.h,"big")};function b(O,H,q,E,A){var K=O&q^~O&A;if(K<0)K+=4294967296;return K}function p(O,H,q,E,A,K){var C=H&E^~H&K;if(C<0)C+=4294967296;return C}function d(O,H,q,E,A){var K=O&q^O&A^q&A;if(K<0)K+=4294967296;return K}function a(O,H,q,E,A,K){var C=H&E^H&K^E&K;if(C<0)C+=4294967296;return C}function H0(O,H){var q=W(O,H,28),E=W(H,O,2),A=W(H,O,7),K=q^E^A;if(K<0)K+=4294967296;return K}function L0(O,H){var q=Z(O,H,28),E=Z(H,O,2),A=Z(H,O,7),K=q^E^A;if(K<0)K+=4294967296;return K}function S0(O,H){var q=W(O,H,14),E=W(O,H,18),A=W(H,O,9),K=q^E^A;if(K<0)K+=4294967296;return K}function t(O,H){var q=Z(O,H,14),E=Z(O,H,18),A=Z(H,O,9),K=q^E^A;if(K<0)K+=4294967296;return K}function q0(O,H){var q=W(O,H,1),E=W(O,H,8),A=L(O,H,7),K=q^E^A;if(K<0)K+=4294967296;return K}function G(O,H){var q=Z(O,H,1),E=Z(O,H,8),A=j(O,H,7),K=q^E^A;if(K<0)K+=4294967296;return K}function V(O,H){var q=W(O,H,19),E=W(H,O,29),A=L(O,H,6),K=q^E^A;if(K<0)K+=4294967296;return K}function D(O,H){var q=Z(O,H,19),E=Z(H,O,29),A=j(O,H,6),K=q^E^A;if(K<0)K+=4294967296;return K}}),Of=u0((I,J)=>{var Q=v6(),z=GE();function X(){if(!(this instanceof X))return new X;z.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Q.inherits(X,z),J.exports=X,X.blockSize=1024,X.outSize=384,X.hmacStrength=192,X.padLength=128,X.prototype._digest=function(W){if(W==="hex")return Q.toHex32(this.h.slice(0,12),"big");else return Q.split32(this.h.slice(0,12),"big")}}),Vf=u0((I)=>{I.sha1=Wf(),I.sha224=zf(),I.sha256=QE(),I.sha384=Of(),I.sha512=GE()}),Ff=u0((I)=>{var J=v6(),Q=I2(),z=J.rotl32,X=J.sum32,W=J.sum32_3,Z=J.sum32_4,L=Q.BlockHash;function j(){if(!(this instanceof j))return new j;L.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}J.inherits(j,L),I.ripemd160=j,j.blockSize=512,j.outSize=160,j.hmacStrength=192,j.padLength=64,j.prototype._update=function(w,u){var g=this.h[0],b=this.h[1],p=this.h[2],d=this.h[3],a=this.h[4],H0=g,L0=b,S0=p,t=d,q0=a;for(var G=0;G<80;G++){var V=X(z(Z(g,P(G,b,p,d),w[_[G]+u],S(G)),N[G]),a);g=a,a=d,d=z(p,10),p=b,b=V,V=X(z(Z(H0,P(79-G,L0,S0,t),w[B[G]+u],T(G)),y[G]),q0),H0=q0,q0=t,t=z(S0,10),S0=L0,L0=V}V=W(this.h[1],p,t),this.h[1]=W(this.h[2],d,q0),this.h[2]=W(this.h[3],a,H0),this.h[3]=W(this.h[4],g,L0),this.h[4]=W(this.h[0],b,S0),this.h[0]=V},j.prototype._digest=function(w){if(w==="hex")return J.toHex32(this.h,"little");else return J.split32(this.h,"little")};function P(w,u,g,b){if(w<=15)return u^g^b;else if(w<=31)return u&g|~u&b;else if(w<=47)return(u|~g)^b;else if(w<=63)return u&b|g&~b;else return u^(g|~b)}function S(w){if(w<=15)return 0;else if(w<=31)return 1518500249;else if(w<=47)return 1859775393;else if(w<=63)return 2400959708;else return 2840853838}function T(w){if(w<=15)return 1352829926;else if(w<=31)return 1548603684;else if(w<=47)return 1836072691;else if(w<=63)return 2053994217;else return 0}var _=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],B=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],N=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),Hf=u0((I,J)=>{var Q=v6(),z=YX();function X(W,Z,L){if(!(this instanceof X))return new X(W,Z,L);this.Hash=W,this.blockSize=W.blockSize/8,this.outSize=W.outSize/8,this.inner=null,this.outer=null,this._init(Q.toArray(Z,L))}J.exports=X,X.prototype._init=function(W){if(W.length>this.blockSize)W=new this.Hash().update(W).digest();z(W.length<=this.blockSize);for(var Z=W.length;Z<this.blockSize;Z++)W.push(0);for(Z=0;Z<W.length;Z++)W[Z]^=54;this.inner=new this.Hash().update(W);for(Z=0;Z<W.length;Z++)W[Z]^=106;this.outer=new this.Hash().update(W)},X.prototype.update=function(W,Z){return this.inner.update(W,Z),this},X.prototype.digest=function(W){return this.outer.update(this.inner.digest()),this.outer.digest(W)}}),AF=u0((I)=>{var J=I;J.utils=v6(),J.common=I2(),J.sha=Vf(),J.ripemd=Ff(),J.hmac=Hf(),J.sha1=J.sha.sha1,J.sha256=J.sha.sha256,J.sha224=J.sha.sha224,J.sha384=J.sha.sha384,J.sha512=J.sha.sha512,J.ripemd160=J.ripemd.ripemd160}),Df=u0((I,J)=>{J.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}),TF=u0((I)=>{var J=I,Q=AF(),z=JE(),X=b4(),W=X.assert;function Z(P){if(P.type==="short")this.curve=new z.short(P);else if(P.type==="edwards")this.curve=new z.edwards(P);else this.curve=new z.mont(P);this.g=this.curve.g,this.n=this.curve.n,this.hash=P.hash,W(this.g.validate(),"Invalid curve"),W(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}J.PresetCurve=Z;function L(P,S){Object.defineProperty(J,P,{configurable:!0,enumerable:!0,get:function(){var T=new Z(S);return Object.defineProperty(J,P,{configurable:!0,enumerable:!0,value:T}),T}})}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:Q.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:Q.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:Q.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:Q.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:Q.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:Q.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:Q.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var j;try{j=Df()}catch(P){j=void 0}L("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Q.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",j]})}),Lf=u0((I,J)=>{var Q=AF(),z=IE(),X=YX();function W(Z){if(!(this instanceof W))return new W(Z);this.hash=Z.hash,this.predResist=!!Z.predResist,this.outLen=this.hash.outSize,this.minEntropy=Z.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var L=z.toArray(Z.entropy,Z.entropyEnc||"hex"),j=z.toArray(Z.nonce,Z.nonceEnc||"hex"),P=z.toArray(Z.pers,Z.persEnc||"hex");X(L.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(L,j,P)}J.exports=W,W.prototype._init=function(Z,L,j){var P=Z.concat(L).concat(j);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var S=0;S<this.V.length;S++)this.K[S]=0,this.V[S]=1;this._update(P),this._reseed=1,this.reseedInterval=281474976710656},W.prototype._hmac=function(){return new Q.hmac(this.hash,this.K)},W.prototype._update=function(Z){var L=this._hmac().update(this.V).update([0]);if(Z)L=L.update(Z);if(this.K=L.digest(),this.V=this._hmac().update(this.V).digest(),!Z)return;this.K=this._hmac().update(this.V).update([1]).update(Z).digest(),this.V=this._hmac().update(this.V).digest()},W.prototype.reseed=function(Z,L,j,P){if(typeof L!=="string")P=j,j=L,L=null;Z=z.toArray(Z,L),j=z.toArray(j,P),X(Z.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(Z.concat(j||[])),this._reseed=1},W.prototype.generate=function(Z,L,j,P){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof L!=="string")P=j,j=L,L=null;if(j)j=z.toArray(j,P||"hex"),this._update(j);var S=[];while(S.length<Z)this.V=this._hmac().update(this.V).digest(),S=S.concat(this.V);var T=S.slice(0,Z);return this._update(j),this._reseed++,z.encode(T,L)}}),Mf=u0((I,J)=>{var Q=zI(),z=b4(),X=z.assert;function W(Z,L){if(this.ec=Z,this.priv=null,this.pub=null,L.priv)this._importPrivate(L.priv,L.privEnc);if(L.pub)this._importPublic(L.pub,L.pubEnc)}J.exports=W,W.fromPublic=function(Z,L,j){if(L instanceof W)return L;return new W(Z,{pub:L,pubEnc:j})},W.fromPrivate=function(Z,L,j){if(L instanceof W)return L;return new W(Z,{priv:L,privEnc:j})},W.prototype.validate=function(){var Z=this.getPublic();if(Z.isInfinity())return{result:!1,reason:"Invalid public key"};if(!Z.validate())return{result:!1,reason:"Public key is not a point"};if(!Z.mul(this.ec.curve.n).isInfinity())return{result:!1,reason:"Public key * N != O"};return{result:!0,reason:null}},W.prototype.getPublic=function(Z,L){if(typeof Z==="string")L=Z,Z=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!L)return this.pub;return this.pub.encode(L,Z)},W.prototype.getPrivate=function(Z){if(Z==="hex")return this.priv.toString(16,2);else return this.priv},W.prototype._importPrivate=function(Z,L){this.priv=new Q(Z,L||16),this.priv=this.priv.umod(this.ec.curve.n)},W.prototype._importPublic=function(Z,L){if(Z.x||Z.y){if(this.ec.curve.type==="mont")X(Z.x,"Need x coordinate");else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")X(Z.x&&Z.y,"Need both x and y coordinate");this.pub=this.ec.curve.point(Z.x,Z.y);return}this.pub=this.ec.curve.decodePoint(Z,L)},W.prototype.derive=function(Z){if(!Z.validate())X(Z.validate(),"public point not validated");return Z.mul(this.priv).getX()},W.prototype.sign=function(Z,L,j){return this.ec.sign(Z,this,L,j)},W.prototype.verify=function(Z,L,j){return this.ec.verify(Z,L,this,void 0,j)},W.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),Af=u0((I,J)=>{var Q=zI(),z=b4(),X=z.assert;function W(S,T){if(S instanceof W)return S;if(this._importDER(S,T))return;if(X(S.r&&S.s,"Signature without r or s"),this.r=new Q(S.r,16),this.s=new Q(S.s,16),S.recoveryParam===void 0)this.recoveryParam=null;else this.recoveryParam=S.recoveryParam}J.exports=W;function Z(){this.place=0}function L(S,T){var _=S[T.place++];if(!(_&128))return _;var B=_&15;if(B===0||B>4)return!1;if(S[T.place]===0)return!1;var N=0;for(var y=0,w=T.place;y<B;y++,w++)N<<=8,N|=S[w],N>>>=0;if(N<=127)return!1;return T.place=w,N}function j(S){var T=0,_=S.length-1;while(!S[T]&&!(S[T+1]&128)&&T<_)T++;if(T===0)return S;return S.slice(T)}W.prototype._importDER=function(S,T){S=z.toArray(S,T);var _=new Z;if(S[_.place++]!==48)return!1;var B=L(S,_);if(B===!1)return!1;if(B+_.place!==S.length)return!1;if(S[_.place++]!==2)return!1;var N=L(S,_);if(N===!1)return!1;if((S[_.place]&128)!==0)return!1;var y=S.slice(_.place,N+_.place);if(_.place+=N,S[_.place++]!==2)return!1;var w=L(S,_);if(w===!1)return!1;if(S.length!==w+_.place)return!1;if((S[_.place]&128)!==0)return!1;var u=S.slice(_.place,w+_.place);if(y[0]===0)if(y[1]&128)y=y.slice(1);else return!1;if(u[0]===0)if(u[1]&128)u=u.slice(1);else return!1;return this.r=new Q(y),this.s=new Q(u),this.recoveryParam=null,!0};function P(S,T){if(T<128){S.push(T);return}var _=1+(Math.log(T)/Math.LN2>>>3);S.push(_|128);while(--_)S.push(T>>>(_<<3)&255);S.push(T)}W.prototype.toDER=function(S){var T=this.r.toArray(),_=this.s.toArray();if(T[0]&128)T=[0].concat(T);if(_[0]&128)_=[0].concat(_);T=j(T),_=j(_);while(!_[0]&&!(_[1]&128))_=_.slice(1);var B=[2];P(B,T.length),B=B.concat(T),B.push(2),P(B,_.length);var N=B.concat(_),y=[48];return P(y,N.length),y=y.concat(N),z.encode(y,S)}}),Tf=u0((I,J)=>{var Q=zI(),z=Lf(),X=b4(),W=TF(),Z=XE(),L=X.assert,j=Mf(),P=Af();function S(T){if(!(this instanceof S))return new S(T);if(typeof T==="string")L(Object.prototype.hasOwnProperty.call(W,T),"Unknown curve "+T),T=W[T];if(T instanceof W.PresetCurve)T={curve:T};this.curve=T.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=T.curve.g,this.g.precompute(T.curve.n.bitLength()+1),this.hash=T.hash||T.curve.hash}J.exports=S,S.prototype.keyPair=function(T){return new j(this,T)},S.prototype.keyFromPrivate=function(T,_){return j.fromPrivate(this,T,_)},S.prototype.keyFromPublic=function(T,_){return j.fromPublic(this,T,_)},S.prototype.genKeyPair=function(T){if(!T)T={};var _=new z({hash:this.hash,pers:T.pers,persEnc:T.persEnc||"utf8",entropy:T.entropy||Z(this.hash.hmacStrength),entropyEnc:T.entropy&&T.entropyEnc||"utf8",nonce:this.n.toArray()}),B=this.n.byteLength(),N=this.n.sub(new Q(2));for(;;){var y=new Q(_.generate(B));if(y.cmp(N)>0)continue;return y.iaddn(1),this.keyFromPrivate(y)}},S.prototype._truncateToN=function(T,_,B){var N;if(Q.isBN(T)||typeof T==="number")T=new Q(T,16),N=T.byteLength();else if(typeof T==="object")N=T.length,T=new Q(T,16);else{var y=T.toString();N=y.length+1>>>1,T=new Q(y,16)}if(typeof B!=="number")B=N*8;var w=B-this.n.bitLength();if(w>0)T=T.ushrn(w);if(!_&&T.cmp(this.n)>=0)return T.sub(this.n);else return T},S.prototype.sign=function(T,_,B,N){if(typeof B==="object")N=B,B=null;if(!N)N={};if(typeof T!=="string"&&typeof T!=="number"&&!Q.isBN(T)){L(typeof T==="object"&&T&&typeof T.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),L(T.length>>>0===T.length);for(var y=0;y<T.length;y++)L((T[y]&255)===T[y])}_=this.keyFromPrivate(_,B),T=this._truncateToN(T,!1,N.msgBitLength),L(!T.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),u=_.getPrivate().toArray("be",w),g=T.toArray("be",w);L(new Q(g).eq(T),"Can not sign message");var b=new z({hash:this.hash,entropy:u,nonce:g,pers:N.pers,persEnc:N.persEnc||"utf8"}),p=this.n.sub(new Q(1));for(var d=0;;d++){var a=N.k?N.k(d):new Q(b.generate(this.n.byteLength()));if(a=this._truncateToN(a,!0),a.cmpn(1)<=0||a.cmp(p)>=0)continue;var H0=this.g.mul(a);if(H0.isInfinity())continue;var L0=H0.getX(),S0=L0.umod(this.n);if(S0.cmpn(0)===0)continue;var t=a.invm(this.n).mul(S0.mul(_.getPrivate()).iadd(T));if(t=t.umod(this.n),t.cmpn(0)===0)continue;var q0=(H0.getY().isOdd()?1:0)|(L0.cmp(S0)!==0?2:0);if(N.canonical&&t.cmp(this.nh)>0)t=this.n.sub(t),q0^=1;return new P({r:S0,s:t,recoveryParam:q0})}},S.prototype.verify=function(T,_,B,N,y){if(!y)y={};T=this._truncateToN(T,!1,y.msgBitLength),B=this.keyFromPublic(B,N),_=new P(_,"hex");var{r:w,s:u}=_;if(w.cmpn(1)<0||w.cmp(this.n)>=0)return!1;if(u.cmpn(1)<0||u.cmp(this.n)>=0)return!1;var g=u.invm(this.n),b=g.mul(T).umod(this.n),p=g.mul(w).umod(this.n),d;if(!this.curve._maxwellTrick){if(d=this.g.mulAdd(b,B.getPublic(),p),d.isInfinity())return!1;return d.getX().umod(this.n).cmp(w)===0}if(d=this.g.jmulAdd(b,B.getPublic(),p),d.isInfinity())return!1;return d.eqXToP(w)},S.prototype.recoverPubKey=function(T,_,B,N){L((3&B)===B,"The recovery param is more than two bits"),_=new P(_,N);var y=this.n,w=new Q(T),u=_.r,g=_.s,b=B&1,p=B>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw Error("Unable to find sencond key candinate");if(p)u=this.curve.pointFromX(u.add(this.curve.n),b);else u=this.curve.pointFromX(u,b);var d=_.r.invm(y),a=y.sub(w).mul(d).umod(y),H0=g.mul(d).umod(y);return this.g.mulAdd(a,u,H0)},S.prototype.getKeyRecoveryParam=function(T,_,B,N){if(_=new P(_,N),_.recoveryParam!==null)return _.recoveryParam;for(var y=0;y<4;y++){var w;try{w=this.recoverPubKey(T,_,y)}catch(u){continue}if(w.eq(B))return y}throw Error("Unable to find valid recovery factor")}}),Cf=u0((I,J)=>{var Q=b4(),z=Q.assert,X=Q.parseBytes,W=Q.cachedProperty;function Z(L,j){if(this.eddsa=L,this._secret=X(j.secret),L.isPoint(j.pub))this._pub=j.pub;else this._pubBytes=X(j.pub)}Z.fromPublic=function(L,j){if(j instanceof Z)return j;return new Z(L,{pub:j})},Z.fromSecret=function(L,j){if(j instanceof Z)return j;return new Z(L,{secret:j})},Z.prototype.secret=function(){return this._secret},W(Z,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),W(Z,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),W(Z,"privBytes",function(){var L=this.eddsa,j=this.hash(),P=L.encodingLength-1,S=j.slice(0,L.encodingLength);return S[0]&=248,S[P]&=127,S[P]|=64,S}),W(Z,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),W(Z,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),W(Z,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),Z.prototype.sign=function(L){return z(this._secret,"KeyPair can only verify"),this.eddsa.sign(L,this)},Z.prototype.verify=function(L,j){return this.eddsa.verify(L,j,this)},Z.prototype.getSecret=function(L){return z(this._secret,"KeyPair is public only"),Q.encode(this.secret(),L)},Z.prototype.getPublic=function(L){return Q.encode(this.pubBytes(),L)},J.exports=Z}),qf=u0((I,J)=>{var Q=zI(),z=b4(),X=z.assert,W=z.cachedProperty,Z=z.parseBytes;function L(j,P){if(this.eddsa=j,typeof P!=="object")P=Z(P);if(Array.isArray(P))X(P.length===j.encodingLength*2,"Signature has invalid size"),P={R:P.slice(0,j.encodingLength),S:P.slice(j.encodingLength)};if(X(P.R&&P.S,"Signature without R or S"),j.isPoint(P.R))this._R=P.R;if(P.S instanceof Q)this._S=P.S;this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.Sencoded}W(L,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),W(L,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),W(L,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),W(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()},J.exports=L}),Rf=u0((I,J)=>{var Q=AF(),z=TF(),X=b4(),W=X.assert,Z=X.parseBytes,L=Cf(),j=qf();function P(S){if(W(S==="ed25519","only tested with ed25519 so far"),!(this instanceof P))return new P(S);S=z[S].curve,this.curve=S,this.g=S.g,this.g.precompute(S.n.bitLength()+1),this.pointClass=S.point().constructor,this.encodingLength=Math.ceil(S.n.bitLength()/8),this.hash=Q.sha512}J.exports=P,P.prototype.sign=function(S,T){S=Z(S);var _=this.keyFromSecret(T),B=this.hashInt(_.messagePrefix(),S),N=this.g.mul(B),y=this.encodePoint(N),w=this.hashInt(y,_.pubBytes(),S).mul(_.priv()),u=B.add(w).umod(this.curve.n);return this.makeSignature({R:N,S:u,Rencoded:y})},P.prototype.verify=function(S,T,_){if(S=Z(S),T=this.makeSignature(T),T.S().gte(T.eddsa.curve.n)||T.S().isNeg())return!1;var B=this.keyFromPublic(_),N=this.hashInt(T.Rencoded(),B.pubBytes(),S),y=this.g.mul(T.S()),w=T.R().add(B.pub().mul(N));return w.eq(y)},P.prototype.hashInt=function(){var S=this.hash();for(var T=0;T<arguments.length;T++)S.update(arguments[T]);return X.intFromLE(S.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(S){return L.fromPublic(this,S)},P.prototype.keyFromSecret=function(S){return L.fromSecret(this,S)},P.prototype.makeSignature=function(S){if(S instanceof j)return S;return new j(this,S)},P.prototype.encodePoint=function(S){var T=S.getY().toArray("le",this.encodingLength);return T[this.encodingLength-1]|=S.getX().isOdd()?128:0,T},P.prototype.decodePoint=function(S){S=X.parseBytes(S);var T=S.length-1,_=S.slice(0,T).concat(S[T]&-129),B=(S[T]&128)!==0,N=X.intFromLE(_);return this.curve.pointFromY(N,B)},P.prototype.encodeInt=function(S){return S.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(S){return X.intFromLE(S)},P.prototype.isPoint=function(S){return S instanceof this.pointClass}}),Pf=u0((I)=>{var J=I;J.version=Yf().version,J.utils=b4(),J.rand=XE(),J.curve=JE(),J.curves=TF(),J.ec=Tf(),J.eddsa=Rf()}),_f=u0((I,J)=>{(function(Q,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(G,V){G.super_=V;var D=function(){};D.prototype=V.prototype,G.prototype=new D,G.prototype.constructor=G}function Z(G,V,D){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")D=V,V=10;this._init(G||0,V||10,D||"be")}}if(typeof Q==="object")Q.exports=Z;else z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,D){if(typeof G==="number")return this._initNumber(G,V,D);if(typeof G==="object")return this._initArray(G,V,D);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,D);else if(this._parseBase(G,V,O),D==="le")this._initArray(this.toArray(),V,D)}},Z.prototype._initNumber=function(G,V,D){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),V,D)},Z.prototype._initArray=function(G,V,D){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H,q,E=0;if(D==="be"){for(O=G.length-1,H=0;O>=0;O-=3)if(q=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}else if(D==="le"){for(O=0,H=0;O<G.length;O+=3)if(q=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}return this.strip()};function j(G,V){var D=G.charCodeAt(V);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function P(G,V,D){var O=j(G,D);if(D-1>=V)O|=j(G,D-1)<<4;return O}Z.prototype._parseHex=function(G,V,D){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H=0,q=0,E;if(D==="be")for(O=G.length-1;O>=V;O-=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8}this.strip()};function S(G,V,D,O){var H=0,q=Math.min(G.length,D);for(var E=V;E<q;E++){var A=G.charCodeAt(E)-48;if(H*=O,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,D){this.words=[0],this.length=1;for(var O=0,H=1;H<=67108863;H*=V)O++;O--,H=H/V|0;var q=G.length-D,E=q%O,A=Math.min(q,q-E)+D,K=0;for(var C=D;C<A;C+=O)if(K=S(G,C,C+O,V),this.imuln(H),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(E!==0){var x=1;K=S(G,C,G.length,V);for(C=0;C<E;C++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var D;if(G===16||G==="hex"){D="";var O=0,H=0;for(var q=0;q<this.length;q++){var E=this.words[q],A=((E<<O|H)&16777215).toString(16);if(H=E>>>24-O&16777215,O+=2,O>=26)O-=26,q--;if(H!==0||q!==this.length-1)D=T[6-A.length]+A+D;else D=A+D}if(H!==0)D=H.toString(16)+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(G===(G|0)&&G>=2&&G<=36){var K=_[G],C=B[G];D="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(C).toString(G);if(x=x.idivn(C),!x.isZero())D=T[K-v.length]+v+D;else D=v+D}if(this.isZero())D="0"+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,D){var O=this.byteLength(),H=D||Math.max(1,O);X(O<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var q=V==="le",E=new G(H),A,K,C=this.clone();if(!q){for(K=0;K<H-O;K++)E[K]=0;for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[H-K-1]=A}else{for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[K]=A;for(;K<H;K++)E[K]=0}return E},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,D=0;if(V>=4096)D+=13,V>>>=13;if(V>=64)D+=7,V>>>=7;if(V>=8)D+=4,V>>>=4;if(V>=2)D+=2,V>>>=2;return D+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,D=0;if((V&8191)===0)D+=13,V>>>=13;if((V&127)===0)D+=7,V>>>=7;if((V&15)===0)D+=4,V>>>=4;if((V&3)===0)D+=2,V>>>=2;if((V&1)===0)D++;return D},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function N(G){var V=Array(G.bitLength());for(var D=0;D<V.length;D++){var O=D/26|0,H=D%26;V[D]=(G.words[O]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var D=this._zeroBits(this.words[V]);if(G+=D,D!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var D=0;D<V.length;D++)this.words[D]=this.words[D]&G.words[D];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,D;if(this.length>G.length)V=this,D=G;else V=G,D=this;for(var O=0;O<D.length;O++)this.words[O]=V.words[O]^D.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,D=G%26;if(this._expand(V),D>0)V--;for(var O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(D>0)this.words[O]=~this.words[O]&67108863>>26-D;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var D=G/26|0,O=G%26;if(this._expand(D+1),V)this.words[D]=this.words[D]|1<<O;else this.words[D]=this.words[D]&~(1<<O);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var D,O;if(this.length>G.length)D=this,O=G;else D=G,O=this;var H=0;for(var q=0;q<O.length;q++)V=(D.words[q]|0)+(O.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;for(;H!==0&&q<D.length;q++)V=(D.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;if(this.length=D.length,H!==0)this.words[this.length]=H,this.length++;else if(D!==this)for(;q<D.length;q++)this.words[q]=D.words[q];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var D=this.cmp(G);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var O,H;if(D>0)O=this,H=G;else O=G,H=this;var q=0;for(var E=0;E<H.length;E++)V=(O.words[E]|0)-(H.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;for(;q!==0&&E<O.length;E++)V=(O.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;if(q===0&&E<O.length&&O!==this)for(;E<O.length;E++)this.words[E]=O.words[E];if(this.length=Math.max(this.length,E),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,D){D.negative=V.negative^G.negative;var O=G.length+V.length|0;D.length=O,O=O-1|0;var H=G.words[0]|0,q=V.words[0]|0,E=H*q,A=E&67108863,K=E/67108864|0;D.words[0]=A;for(var C=1;C<O;C++){var x=K>>>26,v=K&67108863,h=Math.min(C,V.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;H=G.words[U0]|0,q=V.words[r]|0,E=H*q+v,x+=E/67108864|0,v=E&67108863}D.words[C]=v|0,K=x|0}if(K!==0)D.words[C]=K|0;else D.length--;return D.strip()}var w=function(G,V,D){var O=G.words,H=V.words,q=D.words,E=0,A,K,C,x=O[0]|0,v=x&8191,h=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Y0=O[2]|0,s=Y0&8191,e=Y0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,c=$0&8191,n=$0>>>13,D0=O[5]|0,Q0=D0&8191,O0=D0>>>13,k0=O[6]|0,I0=k0&8191,z0=k0>>>13,I$=O[7]|0,M0=I$&8191,v0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,h0=r$&8191,c0=r$>>>13,YU=H[0]|0,t0=YU&8191,i0=YU>>>13,qU=H[1]|0,m=qU&8191,X0=qU>>>13,e0=H[2]|0,j0=e0&8191,N0=e0>>>13,D$=H[3]|0,x0=D$&8191,y0=D$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,zU=H[5]|0,s0=zU&8191,i=zU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,W$=H[7]|0,n0=W$&8191,a0=W$>>>13,DU=H[8]|0,X$=DU&8191,U$=DU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;D.negative=G.negative^V.negative,D.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(h,t0)|0,C=Math.imul(h,i0);var RU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,C=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var B$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,C=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,C=C+Math.imul(W0,X0)|0,A=A+Math.imul(v,j0)|0,K=K+Math.imul(v,N0)|0,K=K+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var E$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(E$>>>26)|0,E$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,C=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,j0)|0,K=K+Math.imul(U0,N0)|0,K=K+Math.imul(W0,j0)|0,C=C+Math.imul(W0,N0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(h,x0)|0,C=C+Math.imul(h,y0)|0;var $U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,t0),K=Math.imul(c,i0),K=K+Math.imul(n,t0)|0,C=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,j0)|0,K=K+Math.imul(s,N0)|0,K=K+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,C=C+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(h,o0)|0,C=C+Math.imul(h,r0)|0;var d$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Q0,t0),K=Math.imul(Q0,i0),K=K+Math.imul(O0,t0)|0,C=Math.imul(O0,i0),A=A+Math.imul(c,m)|0,K=K+Math.imul(c,X0)|0,K=K+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(Z0,j0)|0,K=K+Math.imul(Z0,N0)|0,K=K+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,C=C+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,C=C+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(h,s0)|0,C=C+Math.imul(h,i)|0;var bU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,C=Math.imul(z0,i0),A=A+Math.imul(Q0,m)|0,K=K+Math.imul(Q0,X0)|0,K=K+Math.imul(O0,m)|0,C=C+Math.imul(O0,X0)|0,A=A+Math.imul(c,j0)|0,K=K+Math.imul(c,N0)|0,K=K+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,C=C+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,C=C+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,C=C+Math.imul(W0,i)|0,A=A+Math.imul(v,_0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(h,_0)|0,C=C+Math.imul(h,E0)|0;var uU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(v0,t0)|0,C=Math.imul(v0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(Q0,j0)|0,K=K+Math.imul(Q0,N0)|0,K=K+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(c,x0)|0,K=K+Math.imul(c,y0)|0,K=K+Math.imul(n,x0)|0,C=C+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,C=C+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,_0)|0,C=C+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(h,n0)|0,C=C+Math.imul(h,a0)|0;var hU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,C=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,j0)|0,K=K+Math.imul(I0,N0)|0,K=K+Math.imul(z0,j0)|0,C=C+Math.imul(z0,N0)|0,A=A+Math.imul(Q0,x0)|0,K=K+Math.imul(Q0,y0)|0,K=K+Math.imul(O0,x0)|0,C=C+Math.imul(O0,y0)|0,A=A+Math.imul(c,o0)|0,K=K+Math.imul(c,r0)|0,K=K+Math.imul(n,o0)|0,C=C+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,_0)|0,C=C+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,C=C+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(h,X$)|0,C=C+Math.imul(h,U$)|0;var cU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(h0,t0),K=Math.imul(h0,i0),K=K+Math.imul(c0,t0)|0,C=Math.imul(c0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,C=C+Math.imul(p0,X0)|0,A=A+Math.imul(M0,j0)|0,K=K+Math.imul(M0,N0)|0,K=K+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,C=C+Math.imul(z0,y0)|0,A=A+Math.imul(Q0,o0)|0,K=K+Math.imul(Q0,r0)|0,K=K+Math.imul(O0,o0)|0,C=C+Math.imul(O0,r0)|0,A=A+Math.imul(c,s0)|0,K=K+Math.imul(c,i)|0,K=K+Math.imul(n,s0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,_0)|0,C=C+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,C=C+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,C=C+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(h,J$)|0,C=C+Math.imul(h,$$)|0;var pU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(h0,m),K=Math.imul(h0,X0),K=K+Math.imul(c0,m)|0,C=Math.imul(c0,X0),A=A+Math.imul(m0,j0)|0,K=K+Math.imul(m0,N0)|0,K=K+Math.imul(p0,j0)|0,C=C+Math.imul(p0,N0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(v0,x0)|0,C=C+Math.imul(v0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,C=C+Math.imul(z0,r0)|0,A=A+Math.imul(Q0,s0)|0,K=K+Math.imul(Q0,i)|0,K=K+Math.imul(O0,s0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(c,_0)|0,K=K+Math.imul(c,E0)|0,K=K+Math.imul(n,_0)|0,C=C+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,C=C+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,C=C+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,C=C+Math.imul(W0,$$)|0;var t$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(h0,j0),K=Math.imul(h0,N0),K=K+Math.imul(c0,j0)|0,C=Math.imul(c0,N0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,C=C+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(v0,o0)|0,C=C+Math.imul(v0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(Q0,_0)|0,K=K+Math.imul(Q0,E0)|0,K=K+Math.imul(O0,_0)|0,C=C+Math.imul(O0,E0)|0,A=A+Math.imul(c,n0)|0,K=K+Math.imul(c,a0)|0,K=K+Math.imul(n,n0)|0,C=C+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,C=C+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,C=C+Math.imul(e,$$)|0;var LU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(h0,x0),K=Math.imul(h0,y0),K=K+Math.imul(c0,x0)|0,C=Math.imul(c0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,C=C+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(v0,s0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,_0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,_0)|0,C=C+Math.imul(z0,E0)|0,A=A+Math.imul(Q0,n0)|0,K=K+Math.imul(Q0,a0)|0,K=K+Math.imul(O0,n0)|0,C=C+Math.imul(O0,a0)|0,A=A+Math.imul(c,X$)|0,K=K+Math.imul(c,U$)|0,K=K+Math.imul(n,X$)|0,C=C+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,C=C+Math.imul(A0,$$)|0;var OU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(OU>>>26)|0,OU&=67108863,A=Math.imul(h0,o0),K=Math.imul(h0,r0),K=K+Math.imul(c0,o0)|0,C=Math.imul(c0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,C=C+Math.imul(p0,i)|0,A=A+Math.imul(M0,_0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(v0,_0)|0,C=C+Math.imul(v0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,C=C+Math.imul(z0,a0)|0,A=A+Math.imul(Q0,X$)|0,K=K+Math.imul(Q0,U$)|0,K=K+Math.imul(O0,X$)|0,C=C+Math.imul(O0,U$)|0,A=A+Math.imul(c,J$)|0,K=K+Math.imul(c,$$)|0,K=K+Math.imul(n,J$)|0,C=C+Math.imul(n,$$)|0;var mU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(h0,s0),K=Math.imul(h0,i),K=K+Math.imul(c0,s0)|0,C=Math.imul(c0,i),A=A+Math.imul(m0,_0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,_0)|0,C=C+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(v0,n0)|0,C=C+Math.imul(v0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,C=C+Math.imul(z0,U$)|0,A=A+Math.imul(Q0,J$)|0,K=K+Math.imul(Q0,$$)|0,K=K+Math.imul(O0,J$)|0,C=C+Math.imul(O0,$$)|0;var PU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(h0,_0),K=Math.imul(h0,E0),K=K+Math.imul(c0,_0)|0,C=Math.imul(c0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,C=C+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(v0,X$)|0,C=C+Math.imul(v0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,C=C+Math.imul(z0,$$)|0;var vU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(h0,n0),K=Math.imul(h0,a0),K=K+Math.imul(c0,n0)|0,C=Math.imul(c0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,C=C+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(v0,J$)|0,C=C+Math.imul(v0,$$)|0;var gU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(h0,X$),K=Math.imul(h0,U$),K=K+Math.imul(c0,X$)|0,C=Math.imul(c0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,C=C+Math.imul(p0,$$)|0;var _U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(h0,J$),K=Math.imul(h0,$$),K=K+Math.imul(c0,J$)|0,C=Math.imul(c0,$$);var MU=(E+A|0)+((K&8191)<<13)|0;if(E=(C+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,q[0]=RU,q[1]=B$,q[2]=E$,q[3]=$U,q[4]=d$,q[5]=bU,q[6]=uU,q[7]=hU,q[8]=cU,q[9]=pU,q[10]=t$,q[11]=LU,q[12]=OU,q[13]=mU,q[14]=PU,q[15]=vU,q[16]=gU,q[17]=_U,q[18]=MU,E!==0)q[19]=E,D.length++;return D};if(!Math.imul)w=y;function u(G,V,D){D.negative=V.negative^G.negative,D.length=G.length+V.length;var O=0,H=0;for(var q=0;q<D.length-1;q++){var E=H;H=0;var A=O&67108863,K=Math.min(q,V.length-1);for(var C=Math.max(0,q-G.length+1);C<=K;C++){var x=q-C,v=G.words[x]|0,h=V.words[C]|0,r=v*h,U0=r&67108863;E=E+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,E=E+(U0>>>26)|0,H+=E>>>26,E&=67108863}D.words[q]=A,O=E,E=H}if(O!==0)D.words[q]=O;else D.length--;return D.strip()}function g(G,V,D){var O=new b;return O.mulp(G,V,D)}Z.prototype.mulTo=function(G,V){var D,O=this.length+G.length;if(this.length===10&&G.length===10)D=w(this,G,V);else if(O<63)D=y(this,G,V);else if(O<1024)D=u(this,G,V);else D=g(this,G,V);return D};function b(G,V){this.x=G,this.y=V}b.prototype.makeRBT=function(G){var V=Array(G),D=Z.prototype._countBits(G)-1;for(var O=0;O<G;O++)V[O]=this.revBin(O,D,G);return V},b.prototype.revBin=function(G,V,D){if(G===0||G===D-1)return G;var O=0;for(var H=0;H<V;H++)O|=(G&1)<<V-H-1,G>>=1;return O},b.prototype.permute=function(G,V,D,O,H,q){for(var E=0;E<q;E++)O[E]=V[G[E]],H[E]=D[G[E]]},b.prototype.transform=function(G,V,D,O,H,q){this.permute(q,G,V,D,O,H);for(var E=1;E<H;E<<=1){var A=E<<1,K=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<H;x+=A){var v=K,h=C;for(var r=0;r<E;r++){var U0=D[x+r],W0=O[x+r],Y0=D[x+r+E],s=O[x+r+E],e=v*Y0-h*s;if(s=v*s+h*Y0,Y0=e,D[x+r]=U0+Y0,O[x+r]=W0+s,D[x+r+E]=U0-Y0,O[x+r+E]=W0-s,r!==A)e=K*v-C*h,h=K*h+C*v,v=e}}}},b.prototype.guessLen13b=function(G,V){var D=Math.max(V,G)|1,O=D&1,H=0;for(D=D/2|0;D;D=D>>>1)H++;return 1<<H+1+O},b.prototype.conjugate=function(G,V,D){if(D<=1)return;for(var O=0;O<D/2;O++){var H=G[O];G[O]=G[D-O-1],G[D-O-1]=H,H=V[O],V[O]=-V[D-O-1],V[D-O-1]=-H}},b.prototype.normalize13b=function(G,V){var D=0;for(var O=0;O<V/2;O++){var H=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+D;if(G[O]=H&67108863,H<67108864)D=0;else D=H/67108864|0}return G},b.prototype.convert13b=function(G,V,D,O){var H=0;for(var q=0;q<V;q++)H=H+(G[q]|0),D[2*q]=H&8191,H=H>>>13,D[2*q+1]=H&8191,H=H>>>13;for(q=2*V;q<O;++q)D[q]=0;X(H===0),X((H&-8192)===0)},b.prototype.stub=function(G){var V=Array(G);for(var D=0;D<G;D++)V[D]=0;return V},b.prototype.mulp=function(G,V,D){var O=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(O),q=this.stub(O),E=Array(O),A=Array(O),K=Array(O),C=Array(O),x=Array(O),v=Array(O),h=D.words;h.length=O,this.convert13b(G.words,G.length,E,O),this.convert13b(V.words,V.length,C,O),this.transform(E,q,A,K,O,H),this.transform(C,q,x,v,O,H);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,h,q,O,H),this.conjugate(h,q,O),this.normalize13b(h,O),D.negative=G.negative^V.negative,D.length=G.length+V.length,D.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),g(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var D=0;D<this.length;D++){var O=(this.words[D]|0)*G,H=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=H>>>26,this.words[D]=H&67108863}if(V!==0)this.words[D]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=N(G);if(V.length===0)return new Z(1);var D=this;for(var O=0;O<V.length;O++,D=D.sqr())if(V[O]!==0)break;if(++O<V.length)for(var H=D.sqr();O<V.length;O++,H=H.sqr()){if(V[O]===0)continue;D=D.mul(H)}return D},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=67108863>>>26-V<<26-V,H;if(V!==0){var q=0;for(H=0;H<this.length;H++){var E=this.words[H]&O,A=(this.words[H]|0)-E<<V;this.words[H]=A|q,q=E>>>26-V}if(q)this.words[H]=q,this.length++}if(D!==0){for(H=this.length-1;H>=0;H--)this.words[H+D]=this.words[H];for(H=0;H<D;H++)this.words[H]=0;this.length+=D}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,D){X(typeof G==="number"&&G>=0);var O;if(V)O=(V-V%26)/26;else O=0;var H=G%26,q=Math.min((G-H)/26,this.length),E=67108863^67108863>>>H<<H,A=D;if(O-=q,O=Math.max(0,O),A){for(var K=0;K<q;K++)A.words[K]=this.words[K];A.length=q}if(q===0);else if(this.length>q){this.length-=q;for(K=0;K<this.length;K++)this.words[K]=this.words[K+q]}else this.words[0]=0,this.length=1;var C=0;for(K=this.length-1;K>=0&&(C!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=C<<26-H|x>>>H,C=x&E}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,D){return X(this.negative===0),this.iushrn(G,V,D)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return!1;var H=this.words[D];return!!(H&O)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(V!==0)D++;if(this.length=Math.min(D,this.length),V!==0){var O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var 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},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,D){var O=G.length+D,H;this._expand(O);var q,E=0;for(H=0;H<G.length;H++){q=(this.words[H+D]|0)+E;var A=(G.words[H]|0)*V;q-=A&67108863,E=(q>>26)-(A/67108864|0),this.words[H+D]=q&67108863}for(;H<this.length-D;H++)q=(this.words[H+D]|0)+E,E=q>>26,this.words[H+D]=q&67108863;if(E===0)return this.strip();X(E===-1),E=0;for(H=0;H<this.length;H++)q=-(this.words[H]|0)+E,E=q>>26,this.words[H]=q&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var D=this.length-G.length,O=this.clone(),H=G,q=H.words[H.length-1]|0,E=this._countBits(q);if(D=26-E,D!==0)H=H.ushln(D),O.iushln(D),q=H.words[H.length-1]|0;var A=O.length-H.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var C=0;C<K.length;C++)K.words[C]=0}var x=O.clone()._ishlnsubmul(H,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var h=(O.words[H.length+v]|0)*67108864+(O.words[H.length+v-1]|0);h=Math.min(h/q|0,67108863),O._ishlnsubmul(H,h,v);while(O.negative!==0)if(h--,O.negative=0,O._ishlnsubmul(H,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=h}if(K)K.strip();if(O.strip(),V!=="div"&&D!==0)O.iushrn(D);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,D){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,H,q;if(this.negative!==0&&G.negative===0){if(q=this.neg().divmod(G,V),V!=="mod")O=q.div.neg();if(V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.iadd(G)}return{div:O,mod:H}}if(this.negative===0&&G.negative!==0){if(q=this.divmod(G.neg(),V),V!=="mod")O=q.div.neg();return{div:O,mod:q.mod}}if((this.negative&G.negative)!==0){if(q=this.neg().divmod(G.neg(),V),V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.isub(G)}return{div:q.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var D=V.div.negative!==0?V.mod.isub(G):V.mod,O=G.ushrn(1),H=G.andln(1),q=D.cmp(O);if(q<0||H===1&&q===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,D=0;for(var O=this.length-1;O>=0;O--)D=(V*D+(this.words[O]|0))%G;return D},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var D=this.length-1;D>=0;D--){var O=(this.words[D]|0)+V*67108864;this.words[D]=O/G|0,V=O%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=new Z(0),E=new Z(1),A=0;while(V.isEven()&&D.isEven())V.iushrn(1),D.iushrn(1),++A;var K=D.clone(),C=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||H.isOdd())O.iadd(K),H.isub(C);O.iushrn(1),H.iushrn(1)}}for(var h=0,r=1;(D.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){D.iushrn(h);while(h-- >0){if(q.isOdd()||E.isOdd())q.iadd(K),E.isub(C);q.iushrn(1),E.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(q),H.isub(E);else D.isub(V),q.isub(O),E.isub(H)}return{a:q,b:E,gcd:D.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=D.clone();while(V.cmpn(1)>0&&D.cmpn(1)>0){for(var E=0,A=1;(V.words[0]&A)===0&&E<26;++E,A<<=1);if(E>0){V.iushrn(E);while(E-- >0){if(O.isOdd())O.iadd(q);O.iushrn(1)}}for(var K=0,C=1;(D.words[0]&C)===0&&K<26;++K,C<<=1);if(K>0){D.iushrn(K);while(K-- >0){if(H.isOdd())H.iadd(q);H.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(H);else D.isub(V),H.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=H;if(x.cmpn(0)<0)x.iadd(G);return x},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),D=G.clone();V.negative=0,D.negative=0;for(var O=0;V.isEven()&&D.isEven();O++)V.iushrn(1),D.iushrn(1);do{while(V.isEven())V.iushrn(1);while(D.isEven())D.iushrn(1);var H=V.cmp(D);if(H<0){var q=V;V=D,D=q}else if(H===0||D.cmpn(1)===0)break;V.isub(D)}while(!0);return D.iushln(O)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return this._expand(D+1),this.words[D]|=O,this;var H=O;for(var q=D;H!==0&&q<this.length;q++){var E=this.words[q]|0;E+=H,H=E>>>26,E&=67108863,this.words[q]=E}if(H!==0)this.words[q]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var D;if(this.length>1)D=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var O=this.words[0]|0;D=O===G?0:O<G?-1:1}if(this.negative!==0)return-D|0;return D},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var D=this.length-1;D>=0;D--){var O=this.words[D]|0,H=G.words[D]|0;if(O===H)continue;if(O<H)V=-1;else if(O>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,D;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),D=V.bitLength();while(D>this.n);var O=D<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}W(a,d),a.prototype.split=function(G,V){var D=4194303,O=Math.min(G.length,9);for(var H=0;H<O;H++)V.words[H]=G.words[H];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var q=G.words[9];V.words[V.length++]=q&D;for(H=10;H<G.length;H++){var E=G.words[H]|0;G.words[H-10]=(E&D)<<4|q>>>22,q=E}if(q>>>=22,G.words[H-10]=q,q===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var D=0;D<G.length;D++){var O=G.words[D]|0;V+=O*977,G.words[D]=V&67108863,V=O*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(H0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function S0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(S0,d),S0.prototype.imulK=function(G){var V=0;for(var D=0;D<G.length;D++){var O=(G.words[D]|0)*19+V,H=O&67108863;O>>>=26,G.words[D]=H,V=O}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new S0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var D=G.add(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var D=G.iadd(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D},t.prototype.sub=function(G,V){this._verify2(G,V);var D=G.sub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var D=G.isub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var D=this.m.add(new Z(1)).iushrn(2);return this.pow(G,D)}var O=this.m.subn(1),H=0;while(!O.isZero()&&O.andln(1)===0)H++,O.iushrn(1);X(!O.isZero());var q=new Z(1).toRed(this),E=q.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(E)!==0)K.redIAdd(E);var C=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),h=H;while(v.cmp(q)!==0){var r=v;for(var U0=0;r.cmp(q)!==0;U0++)r=r.redSqr();X(U0<h);var W0=this.pow(C,new Z(1).iushln(h-U0-1));x=x.redMul(W0),C=W0.redSqr(),v=v.redMul(C),h=U0}return x},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var D=4,O=Array(1<<D);O[0]=new Z(1).toRed(this),O[1]=G;for(var H=2;H<O.length;H++)O[H]=this.mul(O[H-1],G);var q=O[0],E=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(H=V.length-1;H>=0;H--){var C=V.words[H];for(var x=K-1;x>=0;x--){var v=C>>x&1;if(q!==O[0])q=this.sqr(q);if(v===0&&E===0){A=0;continue}if(E<<=1,E|=v,A++,A!==D&&(H!==0||x!==0))continue;q=this.mul(q,O[E]),A=0,E=0}K=26}return q},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new q0(G)};function q0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W(q0,t),q0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},q0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},q0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var D=G.imul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var D=G.mul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),Sf=u0((I,J)=>{var Q=Pf(),z=_f();J.exports=function(L){return new W(L)};var X={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};X.p224=X.secp224r1,X.p256=X.secp256r1=X.prime256v1,X.p192=X.secp192r1=X.prime192v1,X.p384=X.secp384r1,X.p521=X.secp521r1;function W(L){if(this.curveType=X[L],!this.curveType)this.curveType={name:L};this.curve=new Q.ec(this.curveType.name),this.keys=void 0}W.prototype.generateKeys=function(L,j){return this.keys=this.curve.genKeyPair(),this.getPublicKey(L,j)},W.prototype.computeSecret=function(L,j,P){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);var S=this.curve.keyFromPublic(L).getPublic(),T=S.mul(this.keys.getPrivate()).getX();return Z(T,P,this.curveType.byteLength)},W.prototype.getPublicKey=function(L,j){var P=this.keys.getPublic(j==="compressed",!0);if(j==="hybrid")if(P[P.length-1]%2)P[0]=7;else P[0]=6;return Z(P,L)},W.prototype.getPrivateKey=function(L){return Z(this.keys.getPrivate(),L)},W.prototype.setPublicKey=function(L,j){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);return this.keys._importPublic(L),this},W.prototype.setPrivateKey=function(L,j){if(j=j||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,j);var P=new z(L);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this};function Z(L,j,P){if(!Array.isArray(L))L=L.toArray();var S=new Buffer(L);if(P&&S.length<P){var T=new Buffer(P-S.length);T.fill(0),S=Buffer.concat([T,S])}if(!j)return S;else return S.toString(j)}}),Ef=u0((I,J)=>{var Q=(yU(),j$(T4)).createECDH;J.exports=Q||Sf()}),jf=u0((I,J)=>{(function(Q,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(G,V){G.super_=V;var D=function(){};D.prototype=V.prototype,G.prototype=new D,G.prototype.constructor=G}function Z(G,V,D){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")D=V,V=10;this._init(G||0,V||10,D||"be")}}if(typeof Q==="object")Q.exports=Z;else z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,D){if(typeof G==="number")return this._initNumber(G,V,D);if(typeof G==="object")return this._initArray(G,V,D);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,D);else if(this._parseBase(G,V,O),D==="le")this._initArray(this.toArray(),V,D)}},Z.prototype._initNumber=function(G,V,D){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),V,D)},Z.prototype._initArray=function(G,V,D){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H,q,E=0;if(D==="be"){for(O=G.length-1,H=0;O>=0;O-=3)if(q=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}else if(D==="le"){for(O=0,H=0;O<G.length;O+=3)if(q=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}return this.strip()};function j(G,V){var D=G.charCodeAt(V);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function P(G,V,D){var O=j(G,D);if(D-1>=V)O|=j(G,D-1)<<4;return O}Z.prototype._parseHex=function(G,V,D){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H=0,q=0,E;if(D==="be")for(O=G.length-1;O>=V;O-=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8}this.strip()};function S(G,V,D,O){var H=0,q=Math.min(G.length,D);for(var E=V;E<q;E++){var A=G.charCodeAt(E)-48;if(H*=O,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,D){this.words=[0],this.length=1;for(var O=0,H=1;H<=67108863;H*=V)O++;O--,H=H/V|0;var q=G.length-D,E=q%O,A=Math.min(q,q-E)+D,K=0;for(var C=D;C<A;C+=O)if(K=S(G,C,C+O,V),this.imuln(H),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(E!==0){var x=1;K=S(G,C,G.length,V);for(C=0;C<E;C++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var D;if(G===16||G==="hex"){D="";var O=0,H=0;for(var q=0;q<this.length;q++){var E=this.words[q],A=((E<<O|H)&16777215).toString(16);if(H=E>>>24-O&16777215,O+=2,O>=26)O-=26,q--;if(H!==0||q!==this.length-1)D=T[6-A.length]+A+D;else D=A+D}if(H!==0)D=H.toString(16)+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(G===(G|0)&&G>=2&&G<=36){var K=_[G],C=B[G];D="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(C).toString(G);if(x=x.idivn(C),!x.isZero())D=T[K-v.length]+v+D;else D=v+D}if(this.isZero())D="0"+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,D){var O=this.byteLength(),H=D||Math.max(1,O);X(O<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var q=V==="le",E=new G(H),A,K,C=this.clone();if(!q){for(K=0;K<H-O;K++)E[K]=0;for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[H-K-1]=A}else{for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[K]=A;for(;K<H;K++)E[K]=0}return E},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,D=0;if(V>=4096)D+=13,V>>>=13;if(V>=64)D+=7,V>>>=7;if(V>=8)D+=4,V>>>=4;if(V>=2)D+=2,V>>>=2;return D+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,D=0;if((V&8191)===0)D+=13,V>>>=13;if((V&127)===0)D+=7,V>>>=7;if((V&15)===0)D+=4,V>>>=4;if((V&3)===0)D+=2,V>>>=2;if((V&1)===0)D++;return D},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function N(G){var V=Array(G.bitLength());for(var D=0;D<V.length;D++){var O=D/26|0,H=D%26;V[D]=(G.words[O]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var D=this._zeroBits(this.words[V]);if(G+=D,D!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var D=0;D<V.length;D++)this.words[D]=this.words[D]&G.words[D];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,D;if(this.length>G.length)V=this,D=G;else V=G,D=this;for(var O=0;O<D.length;O++)this.words[O]=V.words[O]^D.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,D=G%26;if(this._expand(V),D>0)V--;for(var O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(D>0)this.words[O]=~this.words[O]&67108863>>26-D;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var D=G/26|0,O=G%26;if(this._expand(D+1),V)this.words[D]=this.words[D]|1<<O;else this.words[D]=this.words[D]&~(1<<O);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var D,O;if(this.length>G.length)D=this,O=G;else D=G,O=this;var H=0;for(var q=0;q<O.length;q++)V=(D.words[q]|0)+(O.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;for(;H!==0&&q<D.length;q++)V=(D.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;if(this.length=D.length,H!==0)this.words[this.length]=H,this.length++;else if(D!==this)for(;q<D.length;q++)this.words[q]=D.words[q];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var D=this.cmp(G);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var O,H;if(D>0)O=this,H=G;else O=G,H=this;var q=0;for(var E=0;E<H.length;E++)V=(O.words[E]|0)-(H.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;for(;q!==0&&E<O.length;E++)V=(O.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;if(q===0&&E<O.length&&O!==this)for(;E<O.length;E++)this.words[E]=O.words[E];if(this.length=Math.max(this.length,E),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,D){D.negative=V.negative^G.negative;var O=G.length+V.length|0;D.length=O,O=O-1|0;var H=G.words[0]|0,q=V.words[0]|0,E=H*q,A=E&67108863,K=E/67108864|0;D.words[0]=A;for(var C=1;C<O;C++){var x=K>>>26,v=K&67108863,h=Math.min(C,V.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;H=G.words[U0]|0,q=V.words[r]|0,E=H*q+v,x+=E/67108864|0,v=E&67108863}D.words[C]=v|0,K=x|0}if(K!==0)D.words[C]=K|0;else D.length--;return D.strip()}var w=function(G,V,D){var O=G.words,H=V.words,q=D.words,E=0,A,K,C,x=O[0]|0,v=x&8191,h=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Y0=O[2]|0,s=Y0&8191,e=Y0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,c=$0&8191,n=$0>>>13,D0=O[5]|0,Q0=D0&8191,O0=D0>>>13,k0=O[6]|0,I0=k0&8191,z0=k0>>>13,I$=O[7]|0,M0=I$&8191,v0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,h0=r$&8191,c0=r$>>>13,YU=H[0]|0,t0=YU&8191,i0=YU>>>13,qU=H[1]|0,m=qU&8191,X0=qU>>>13,e0=H[2]|0,j0=e0&8191,N0=e0>>>13,D$=H[3]|0,x0=D$&8191,y0=D$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,zU=H[5]|0,s0=zU&8191,i=zU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,W$=H[7]|0,n0=W$&8191,a0=W$>>>13,DU=H[8]|0,X$=DU&8191,U$=DU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;D.negative=G.negative^V.negative,D.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(h,t0)|0,C=Math.imul(h,i0);var RU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,C=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var B$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,C=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,C=C+Math.imul(W0,X0)|0,A=A+Math.imul(v,j0)|0,K=K+Math.imul(v,N0)|0,K=K+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var E$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(E$>>>26)|0,E$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,C=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,j0)|0,K=K+Math.imul(U0,N0)|0,K=K+Math.imul(W0,j0)|0,C=C+Math.imul(W0,N0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(h,x0)|0,C=C+Math.imul(h,y0)|0;var $U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,t0),K=Math.imul(c,i0),K=K+Math.imul(n,t0)|0,C=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,j0)|0,K=K+Math.imul(s,N0)|0,K=K+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,C=C+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(h,o0)|0,C=C+Math.imul(h,r0)|0;var d$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Q0,t0),K=Math.imul(Q0,i0),K=K+Math.imul(O0,t0)|0,C=Math.imul(O0,i0),A=A+Math.imul(c,m)|0,K=K+Math.imul(c,X0)|0,K=K+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(Z0,j0)|0,K=K+Math.imul(Z0,N0)|0,K=K+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,C=C+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,C=C+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(h,s0)|0,C=C+Math.imul(h,i)|0;var bU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,C=Math.imul(z0,i0),A=A+Math.imul(Q0,m)|0,K=K+Math.imul(Q0,X0)|0,K=K+Math.imul(O0,m)|0,C=C+Math.imul(O0,X0)|0,A=A+Math.imul(c,j0)|0,K=K+Math.imul(c,N0)|0,K=K+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,C=C+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,C=C+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,C=C+Math.imul(W0,i)|0,A=A+Math.imul(v,_0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(h,_0)|0,C=C+Math.imul(h,E0)|0;var uU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(v0,t0)|0,C=Math.imul(v0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(Q0,j0)|0,K=K+Math.imul(Q0,N0)|0,K=K+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(c,x0)|0,K=K+Math.imul(c,y0)|0,K=K+Math.imul(n,x0)|0,C=C+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,C=C+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,_0)|0,C=C+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(h,n0)|0,C=C+Math.imul(h,a0)|0;var hU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,C=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,j0)|0,K=K+Math.imul(I0,N0)|0,K=K+Math.imul(z0,j0)|0,C=C+Math.imul(z0,N0)|0,A=A+Math.imul(Q0,x0)|0,K=K+Math.imul(Q0,y0)|0,K=K+Math.imul(O0,x0)|0,C=C+Math.imul(O0,y0)|0,A=A+Math.imul(c,o0)|0,K=K+Math.imul(c,r0)|0,K=K+Math.imul(n,o0)|0,C=C+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,_0)|0,C=C+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,C=C+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(h,X$)|0,C=C+Math.imul(h,U$)|0;var cU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(h0,t0),K=Math.imul(h0,i0),K=K+Math.imul(c0,t0)|0,C=Math.imul(c0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,C=C+Math.imul(p0,X0)|0,A=A+Math.imul(M0,j0)|0,K=K+Math.imul(M0,N0)|0,K=K+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,C=C+Math.imul(z0,y0)|0,A=A+Math.imul(Q0,o0)|0,K=K+Math.imul(Q0,r0)|0,K=K+Math.imul(O0,o0)|0,C=C+Math.imul(O0,r0)|0,A=A+Math.imul(c,s0)|0,K=K+Math.imul(c,i)|0,K=K+Math.imul(n,s0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,_0)|0,C=C+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,C=C+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,C=C+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(h,J$)|0,C=C+Math.imul(h,$$)|0;var pU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(h0,m),K=Math.imul(h0,X0),K=K+Math.imul(c0,m)|0,C=Math.imul(c0,X0),A=A+Math.imul(m0,j0)|0,K=K+Math.imul(m0,N0)|0,K=K+Math.imul(p0,j0)|0,C=C+Math.imul(p0,N0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(v0,x0)|0,C=C+Math.imul(v0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,C=C+Math.imul(z0,r0)|0,A=A+Math.imul(Q0,s0)|0,K=K+Math.imul(Q0,i)|0,K=K+Math.imul(O0,s0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(c,_0)|0,K=K+Math.imul(c,E0)|0,K=K+Math.imul(n,_0)|0,C=C+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,C=C+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,C=C+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,C=C+Math.imul(W0,$$)|0;var t$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(h0,j0),K=Math.imul(h0,N0),K=K+Math.imul(c0,j0)|0,C=Math.imul(c0,N0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,C=C+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(v0,o0)|0,C=C+Math.imul(v0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(Q0,_0)|0,K=K+Math.imul(Q0,E0)|0,K=K+Math.imul(O0,_0)|0,C=C+Math.imul(O0,E0)|0,A=A+Math.imul(c,n0)|0,K=K+Math.imul(c,a0)|0,K=K+Math.imul(n,n0)|0,C=C+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,C=C+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,C=C+Math.imul(e,$$)|0;var LU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(h0,x0),K=Math.imul(h0,y0),K=K+Math.imul(c0,x0)|0,C=Math.imul(c0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,C=C+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(v0,s0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,_0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,_0)|0,C=C+Math.imul(z0,E0)|0,A=A+Math.imul(Q0,n0)|0,K=K+Math.imul(Q0,a0)|0,K=K+Math.imul(O0,n0)|0,C=C+Math.imul(O0,a0)|0,A=A+Math.imul(c,X$)|0,K=K+Math.imul(c,U$)|0,K=K+Math.imul(n,X$)|0,C=C+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,C=C+Math.imul(A0,$$)|0;var OU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(OU>>>26)|0,OU&=67108863,A=Math.imul(h0,o0),K=Math.imul(h0,r0),K=K+Math.imul(c0,o0)|0,C=Math.imul(c0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,C=C+Math.imul(p0,i)|0,A=A+Math.imul(M0,_0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(v0,_0)|0,C=C+Math.imul(v0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,C=C+Math.imul(z0,a0)|0,A=A+Math.imul(Q0,X$)|0,K=K+Math.imul(Q0,U$)|0,K=K+Math.imul(O0,X$)|0,C=C+Math.imul(O0,U$)|0,A=A+Math.imul(c,J$)|0,K=K+Math.imul(c,$$)|0,K=K+Math.imul(n,J$)|0,C=C+Math.imul(n,$$)|0;var mU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(h0,s0),K=Math.imul(h0,i),K=K+Math.imul(c0,s0)|0,C=Math.imul(c0,i),A=A+Math.imul(m0,_0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,_0)|0,C=C+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(v0,n0)|0,C=C+Math.imul(v0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,C=C+Math.imul(z0,U$)|0,A=A+Math.imul(Q0,J$)|0,K=K+Math.imul(Q0,$$)|0,K=K+Math.imul(O0,J$)|0,C=C+Math.imul(O0,$$)|0;var PU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(h0,_0),K=Math.imul(h0,E0),K=K+Math.imul(c0,_0)|0,C=Math.imul(c0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,C=C+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(v0,X$)|0,C=C+Math.imul(v0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,C=C+Math.imul(z0,$$)|0;var vU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(h0,n0),K=Math.imul(h0,a0),K=K+Math.imul(c0,n0)|0,C=Math.imul(c0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,C=C+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(v0,J$)|0,C=C+Math.imul(v0,$$)|0;var gU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(h0,X$),K=Math.imul(h0,U$),K=K+Math.imul(c0,X$)|0,C=Math.imul(c0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,C=C+Math.imul(p0,$$)|0;var _U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(h0,J$),K=Math.imul(h0,$$),K=K+Math.imul(c0,J$)|0,C=Math.imul(c0,$$);var MU=(E+A|0)+((K&8191)<<13)|0;if(E=(C+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,q[0]=RU,q[1]=B$,q[2]=E$,q[3]=$U,q[4]=d$,q[5]=bU,q[6]=uU,q[7]=hU,q[8]=cU,q[9]=pU,q[10]=t$,q[11]=LU,q[12]=OU,q[13]=mU,q[14]=PU,q[15]=vU,q[16]=gU,q[17]=_U,q[18]=MU,E!==0)q[19]=E,D.length++;return D};if(!Math.imul)w=y;function u(G,V,D){D.negative=V.negative^G.negative,D.length=G.length+V.length;var O=0,H=0;for(var q=0;q<D.length-1;q++){var E=H;H=0;var A=O&67108863,K=Math.min(q,V.length-1);for(var C=Math.max(0,q-G.length+1);C<=K;C++){var x=q-C,v=G.words[x]|0,h=V.words[C]|0,r=v*h,U0=r&67108863;E=E+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,E=E+(U0>>>26)|0,H+=E>>>26,E&=67108863}D.words[q]=A,O=E,E=H}if(O!==0)D.words[q]=O;else D.length--;return D.strip()}function g(G,V,D){var O=new b;return O.mulp(G,V,D)}Z.prototype.mulTo=function(G,V){var D,O=this.length+G.length;if(this.length===10&&G.length===10)D=w(this,G,V);else if(O<63)D=y(this,G,V);else if(O<1024)D=u(this,G,V);else D=g(this,G,V);return D};function b(G,V){this.x=G,this.y=V}b.prototype.makeRBT=function(G){var V=Array(G),D=Z.prototype._countBits(G)-1;for(var O=0;O<G;O++)V[O]=this.revBin(O,D,G);return V},b.prototype.revBin=function(G,V,D){if(G===0||G===D-1)return G;var O=0;for(var H=0;H<V;H++)O|=(G&1)<<V-H-1,G>>=1;return O},b.prototype.permute=function(G,V,D,O,H,q){for(var E=0;E<q;E++)O[E]=V[G[E]],H[E]=D[G[E]]},b.prototype.transform=function(G,V,D,O,H,q){this.permute(q,G,V,D,O,H);for(var E=1;E<H;E<<=1){var A=E<<1,K=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<H;x+=A){var v=K,h=C;for(var r=0;r<E;r++){var U0=D[x+r],W0=O[x+r],Y0=D[x+r+E],s=O[x+r+E],e=v*Y0-h*s;if(s=v*s+h*Y0,Y0=e,D[x+r]=U0+Y0,O[x+r]=W0+s,D[x+r+E]=U0-Y0,O[x+r+E]=W0-s,r!==A)e=K*v-C*h,h=K*h+C*v,v=e}}}},b.prototype.guessLen13b=function(G,V){var D=Math.max(V,G)|1,O=D&1,H=0;for(D=D/2|0;D;D=D>>>1)H++;return 1<<H+1+O},b.prototype.conjugate=function(G,V,D){if(D<=1)return;for(var O=0;O<D/2;O++){var H=G[O];G[O]=G[D-O-1],G[D-O-1]=H,H=V[O],V[O]=-V[D-O-1],V[D-O-1]=-H}},b.prototype.normalize13b=function(G,V){var D=0;for(var O=0;O<V/2;O++){var H=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+D;if(G[O]=H&67108863,H<67108864)D=0;else D=H/67108864|0}return G},b.prototype.convert13b=function(G,V,D,O){var H=0;for(var q=0;q<V;q++)H=H+(G[q]|0),D[2*q]=H&8191,H=H>>>13,D[2*q+1]=H&8191,H=H>>>13;for(q=2*V;q<O;++q)D[q]=0;X(H===0),X((H&-8192)===0)},b.prototype.stub=function(G){var V=Array(G);for(var D=0;D<G;D++)V[D]=0;return V},b.prototype.mulp=function(G,V,D){var O=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(O),q=this.stub(O),E=Array(O),A=Array(O),K=Array(O),C=Array(O),x=Array(O),v=Array(O),h=D.words;h.length=O,this.convert13b(G.words,G.length,E,O),this.convert13b(V.words,V.length,C,O),this.transform(E,q,A,K,O,H),this.transform(C,q,x,v,O,H);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,h,q,O,H),this.conjugate(h,q,O),this.normalize13b(h,O),D.negative=G.negative^V.negative,D.length=G.length+V.length,D.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),g(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var D=0;D<this.length;D++){var O=(this.words[D]|0)*G,H=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=H>>>26,this.words[D]=H&67108863}if(V!==0)this.words[D]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=N(G);if(V.length===0)return new Z(1);var D=this;for(var O=0;O<V.length;O++,D=D.sqr())if(V[O]!==0)break;if(++O<V.length)for(var H=D.sqr();O<V.length;O++,H=H.sqr()){if(V[O]===0)continue;D=D.mul(H)}return D},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=67108863>>>26-V<<26-V,H;if(V!==0){var q=0;for(H=0;H<this.length;H++){var E=this.words[H]&O,A=(this.words[H]|0)-E<<V;this.words[H]=A|q,q=E>>>26-V}if(q)this.words[H]=q,this.length++}if(D!==0){for(H=this.length-1;H>=0;H--)this.words[H+D]=this.words[H];for(H=0;H<D;H++)this.words[H]=0;this.length+=D}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,D){X(typeof G==="number"&&G>=0);var O;if(V)O=(V-V%26)/26;else O=0;var H=G%26,q=Math.min((G-H)/26,this.length),E=67108863^67108863>>>H<<H,A=D;if(O-=q,O=Math.max(0,O),A){for(var K=0;K<q;K++)A.words[K]=this.words[K];A.length=q}if(q===0);else if(this.length>q){this.length-=q;for(K=0;K<this.length;K++)this.words[K]=this.words[K+q]}else this.words[0]=0,this.length=1;var C=0;for(K=this.length-1;K>=0&&(C!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=C<<26-H|x>>>H,C=x&E}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,D){return X(this.negative===0),this.iushrn(G,V,D)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return!1;var H=this.words[D];return!!(H&O)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(V!==0)D++;if(this.length=Math.min(D,this.length),V!==0){var O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var 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},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,D){var O=G.length+D,H;this._expand(O);var q,E=0;for(H=0;H<G.length;H++){q=(this.words[H+D]|0)+E;var A=(G.words[H]|0)*V;q-=A&67108863,E=(q>>26)-(A/67108864|0),this.words[H+D]=q&67108863}for(;H<this.length-D;H++)q=(this.words[H+D]|0)+E,E=q>>26,this.words[H+D]=q&67108863;if(E===0)return this.strip();X(E===-1),E=0;for(H=0;H<this.length;H++)q=-(this.words[H]|0)+E,E=q>>26,this.words[H]=q&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var D=this.length-G.length,O=this.clone(),H=G,q=H.words[H.length-1]|0,E=this._countBits(q);if(D=26-E,D!==0)H=H.ushln(D),O.iushln(D),q=H.words[H.length-1]|0;var A=O.length-H.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var C=0;C<K.length;C++)K.words[C]=0}var x=O.clone()._ishlnsubmul(H,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var h=(O.words[H.length+v]|0)*67108864+(O.words[H.length+v-1]|0);h=Math.min(h/q|0,67108863),O._ishlnsubmul(H,h,v);while(O.negative!==0)if(h--,O.negative=0,O._ishlnsubmul(H,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=h}if(K)K.strip();if(O.strip(),V!=="div"&&D!==0)O.iushrn(D);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,D){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,H,q;if(this.negative!==0&&G.negative===0){if(q=this.neg().divmod(G,V),V!=="mod")O=q.div.neg();if(V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.iadd(G)}return{div:O,mod:H}}if(this.negative===0&&G.negative!==0){if(q=this.divmod(G.neg(),V),V!=="mod")O=q.div.neg();return{div:O,mod:q.mod}}if((this.negative&G.negative)!==0){if(q=this.neg().divmod(G.neg(),V),V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.isub(G)}return{div:q.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var D=V.div.negative!==0?V.mod.isub(G):V.mod,O=G.ushrn(1),H=G.andln(1),q=D.cmp(O);if(q<0||H===1&&q===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,D=0;for(var O=this.length-1;O>=0;O--)D=(V*D+(this.words[O]|0))%G;return D},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var D=this.length-1;D>=0;D--){var O=(this.words[D]|0)+V*67108864;this.words[D]=O/G|0,V=O%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=new Z(0),E=new Z(1),A=0;while(V.isEven()&&D.isEven())V.iushrn(1),D.iushrn(1),++A;var K=D.clone(),C=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||H.isOdd())O.iadd(K),H.isub(C);O.iushrn(1),H.iushrn(1)}}for(var h=0,r=1;(D.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){D.iushrn(h);while(h-- >0){if(q.isOdd()||E.isOdd())q.iadd(K),E.isub(C);q.iushrn(1),E.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(q),H.isub(E);else D.isub(V),q.isub(O),E.isub(H)}return{a:q,b:E,gcd:D.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=D.clone();while(V.cmpn(1)>0&&D.cmpn(1)>0){for(var E=0,A=1;(V.words[0]&A)===0&&E<26;++E,A<<=1);if(E>0){V.iushrn(E);while(E-- >0){if(O.isOdd())O.iadd(q);O.iushrn(1)}}for(var K=0,C=1;(D.words[0]&C)===0&&K<26;++K,C<<=1);if(K>0){D.iushrn(K);while(K-- >0){if(H.isOdd())H.iadd(q);H.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(H);else D.isub(V),H.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=H;if(x.cmpn(0)<0)x.iadd(G);return x},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),D=G.clone();V.negative=0,D.negative=0;for(var O=0;V.isEven()&&D.isEven();O++)V.iushrn(1),D.iushrn(1);do{while(V.isEven())V.iushrn(1);while(D.isEven())D.iushrn(1);var H=V.cmp(D);if(H<0){var q=V;V=D,D=q}else if(H===0||D.cmpn(1)===0)break;V.isub(D)}while(!0);return D.iushln(O)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return this._expand(D+1),this.words[D]|=O,this;var H=O;for(var q=D;H!==0&&q<this.length;q++){var E=this.words[q]|0;E+=H,H=E>>>26,E&=67108863,this.words[q]=E}if(H!==0)this.words[q]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var D;if(this.length>1)D=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var O=this.words[0]|0;D=O===G?0:O<G?-1:1}if(this.negative!==0)return-D|0;return D},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var D=this.length-1;D>=0;D--){var O=this.words[D]|0,H=G.words[D]|0;if(O===H)continue;if(O<H)V=-1;else if(O>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,D;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),D=V.bitLength();while(D>this.n);var O=D<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}W(a,d),a.prototype.split=function(G,V){var D=4194303,O=Math.min(G.length,9);for(var H=0;H<O;H++)V.words[H]=G.words[H];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var q=G.words[9];V.words[V.length++]=q&D;for(H=10;H<G.length;H++){var E=G.words[H]|0;G.words[H-10]=(E&D)<<4|q>>>22,q=E}if(q>>>=22,G.words[H-10]=q,q===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var D=0;D<G.length;D++){var O=G.words[D]|0;V+=O*977,G.words[D]=V&67108863,V=O*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(H0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function S0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(S0,d),S0.prototype.imulK=function(G){var V=0;for(var D=0;D<G.length;D++){var O=(G.words[D]|0)*19+V,H=O&67108863;O>>>=26,G.words[D]=H,V=O}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new S0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var D=G.add(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var D=G.iadd(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D},t.prototype.sub=function(G,V){this._verify2(G,V);var D=G.sub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var D=G.isub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var D=this.m.add(new Z(1)).iushrn(2);return this.pow(G,D)}var O=this.m.subn(1),H=0;while(!O.isZero()&&O.andln(1)===0)H++,O.iushrn(1);X(!O.isZero());var q=new Z(1).toRed(this),E=q.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(E)!==0)K.redIAdd(E);var C=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),h=H;while(v.cmp(q)!==0){var r=v;for(var U0=0;r.cmp(q)!==0;U0++)r=r.redSqr();X(U0<h);var W0=this.pow(C,new Z(1).iushln(h-U0-1));x=x.redMul(W0),C=W0.redSqr(),v=v.redMul(C),h=U0}return x},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var D=4,O=Array(1<<D);O[0]=new Z(1).toRed(this),O[1]=G;for(var H=2;H<O.length;H++)O[H]=this.mul(O[H-1],G);var q=O[0],E=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(H=V.length-1;H>=0;H--){var C=V.words[H];for(var x=K-1;x>=0;x--){var v=C>>x&1;if(q!==O[0])q=this.sqr(q);if(v===0&&E===0){A=0;continue}if(E<<=1,E|=v,A++,A!==D&&(H!==0||x!==0))continue;q=this.mul(q,O[E]),A=0,E=0}K=26}return q},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new q0(G)};function q0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W(q0,t),q0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},q0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},q0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var D=G.imul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var D=G.mul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),Bf=u0((I)=>{var J=X2(),Q=M4(),z=I;z.define=function(W,Z){return new X(W,Z)};function X(W,Z){this.name=W,this.body=Z,this.decoders={},this.encoders={}}X.prototype._createNamed=function(W){var Z;try{Z=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
241
+ this._initNamed(entity);
242
+ })`)}catch(L){Z=function(j){this._initNamed(j)}}return Q(Z,W),Z.prototype._initNamed=function(L){W.call(this,L)},new Z(this)},X.prototype._getDecoder=function(W){if(W=W||"der",!this.decoders.hasOwnProperty(W))this.decoders[W]=this._createNamed(J.decoders[W]);return this.decoders[W]},X.prototype.decode=function(W,Z,L){return this._getDecoder(Z).decode(W,L)},X.prototype._getEncoder=function(W){if(W=W||"der",!this.encoders.hasOwnProperty(W))this.encoders[W]=this._createNamed(J.encoders[W]);return this.encoders[W]},X.prototype.encode=function(W,Z,L){return this._getEncoder(Z).encode(W,L)}}),vf=u0((I)=>{var J=M4();function Q(X){this._reporterState={obj:null,path:[],options:X||{},errors:[]}}I.Reporter=Q,Q.prototype.isError=function(X){return X instanceof z},Q.prototype.save=function(){var X=this._reporterState;return{obj:X.obj,pathLen:X.path.length}},Q.prototype.restore=function(X){var W=this._reporterState;W.obj=X.obj,W.path=W.path.slice(0,X.pathLen)},Q.prototype.enterKey=function(X){return this._reporterState.path.push(X)},Q.prototype.exitKey=function(X){var W=this._reporterState;W.path=W.path.slice(0,X-1)},Q.prototype.leaveKey=function(X,W,Z){var L=this._reporterState;if(this.exitKey(X),L.obj!==null)L.obj[W]=Z},Q.prototype.path=function(){return this._reporterState.path.join("/")},Q.prototype.enterObject=function(){var X=this._reporterState,W=X.obj;return X.obj={},W},Q.prototype.leaveObject=function(X){var W=this._reporterState,Z=W.obj;return W.obj=X,Z},Q.prototype.error=function(X){var W,Z=this._reporterState,L=X instanceof z;if(L)W=X;else W=new z(Z.path.map(function(j){return"["+JSON.stringify(j)+"]"}).join(""),X.message||X,X.stack);if(!Z.options.partial)throw W;if(!L)Z.errors.push(W);return W},Q.prototype.wrapResult=function(X){var W=this._reporterState;if(!W.options.partial)return X;return{result:this.isError(X)?null:X,errors:W.errors}};function z(X,W){this.path=X,this.rethrow(W)}J(z,Error),z.prototype.rethrow=function(X){if(this.message=X+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,z);if(!this.stack)try{throw Error(this.message)}catch(W){this.stack=W.stack}return this}}),mS=u0((I)=>{var J=M4(),Q=sG().Reporter,z=(oU(),j$(nU)).Buffer;function X(Z,L){if(Q.call(this,L),!z.isBuffer(Z)){this.error("Input not Buffer");return}this.base=Z,this.offset=0,this.length=Z.length}J(X,Q),I.DecoderBuffer=X,X.prototype.save=function(){return{offset:this.offset,reporter:Q.prototype.save.call(this)}},X.prototype.restore=function(Z){var L=new X(this.base);return L.offset=Z.offset,L.length=this.offset,this.offset=Z.offset,Q.prototype.restore.call(this,Z.reporter),L},X.prototype.isEmpty=function(){return this.offset===this.length},X.prototype.readUInt8=function(Z){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,!0);else return this.error(Z||"DecoderBuffer overrun")},X.prototype.skip=function(Z,L){if(!(this.offset+Z<=this.length))return this.error(L||"DecoderBuffer overrun");var j=new X(this.base);return j._reporterState=this._reporterState,j.offset=this.offset,j.length=this.offset+Z,this.offset+=Z,j},X.prototype.raw=function(Z){return this.base.slice(Z?Z.offset:this.offset,this.length)};function W(Z,L){if(Array.isArray(Z))this.length=0,this.value=Z.map(function(j){if(!(j instanceof W))j=new W(j,L);return this.length+=j.length,j},this);else if(typeof Z==="number"){if(!(0<=Z&&Z<=255))return L.error("non-byte EncoderBuffer value");this.value=Z,this.length=1}else if(typeof Z==="string")this.value=Z,this.length=z.byteLength(Z);else if(z.isBuffer(Z))this.value=Z,this.length=Z.length;else return L.error("Unsupported type: "+typeof Z)}I.EncoderBuffer=W,W.prototype.join=function(Z,L){if(!Z)Z=new z(this.length);if(!L)L=0;if(this.length===0)return Z;if(Array.isArray(this.value))this.value.forEach(function(j){j.join(Z,L),L+=j.length});else{if(typeof this.value==="number")Z[L]=this.value;else if(typeof this.value==="string")Z.write(this.value,L);else if(z.isBuffer(this.value))this.value.copy(Z,L);L+=this.length}return Z}}),Nf=u0((I,J)=>{var Q=sG().Reporter,z=sG().EncoderBuffer,X=sG().DecoderBuffer,W=YX(),Z=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],L=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(Z),j=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function P(T,_){var B={};if(this._baseState=B,B.enc=T,B.parent=_||null,B.children=null,B.tag=null,B.args=null,B.reverseArgs=null,B.choice=null,B.optional=!1,B.any=!1,B.obj=!1,B.use=null,B.useDecoder=null,B.key=null,B.default=null,B.explicit=null,B.implicit=null,B.contains=null,!B.parent)B.children=[],this._wrap()}J.exports=P;var S=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){var T=this._baseState,_={};S.forEach(function(N){_[N]=T[N]});var B=new this.constructor(_.parent);return B._baseState=_,B},P.prototype._wrap=function(){var T=this._baseState;L.forEach(function(_){this[_]=function(){var B=new this.constructor(this);return T.children.push(B),B[_].apply(B,arguments)}},this)},P.prototype._init=function(T){var _=this._baseState;W(_.parent===null),T.call(this),_.children=_.children.filter(function(B){return B._baseState.parent===this},this),W.equal(_.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(T){var _=this._baseState,B=T.filter(function(N){return N instanceof this.constructor},this);if(T=T.filter(function(N){return!(N instanceof this.constructor)},this),B.length!==0)W(_.children===null),_.children=B,B.forEach(function(N){N._baseState.parent=this},this);if(T.length!==0)W(_.args===null),_.args=T,_.reverseArgs=T.map(function(N){if(typeof N!=="object"||N.constructor!==Object)return N;var y={};return Object.keys(N).forEach(function(w){if(w==(w|0))w|=0;var u=N[w];y[u]=w}),y})},j.forEach(function(T){P.prototype[T]=function(){var _=this._baseState;throw Error(T+" not implemented for encoding: "+_.enc)}}),Z.forEach(function(T){P.prototype[T]=function(){var _=this._baseState,B=Array.prototype.slice.call(arguments);return W(_.tag===null),_.tag=T,this._useArgs(B),this}}),P.prototype.use=function(T){W(T);var _=this._baseState;return W(_.use===null),_.use=T,this},P.prototype.optional=function(){var T=this._baseState;return T.optional=!0,this},P.prototype.def=function(T){var _=this._baseState;return W(_.default===null),_.default=T,_.optional=!0,this},P.prototype.explicit=function(T){var _=this._baseState;return W(_.explicit===null&&_.implicit===null),_.explicit=T,this},P.prototype.implicit=function(T){var _=this._baseState;return W(_.explicit===null&&_.implicit===null),_.implicit=T,this},P.prototype.obj=function(){var T=this._baseState,_=Array.prototype.slice.call(arguments);if(T.obj=!0,_.length!==0)this._useArgs(_);return this},P.prototype.key=function(T){var _=this._baseState;return W(_.key===null),_.key=T,this},P.prototype.any=function(){var T=this._baseState;return T.any=!0,this},P.prototype.choice=function(T){var _=this._baseState;return W(_.choice===null),_.choice=T,this._useArgs(Object.keys(T).map(function(B){return T[B]})),this},P.prototype.contains=function(T){var _=this._baseState;return W(_.use===null),_.contains=T,this},P.prototype._decode=function(T,_){var B=this._baseState;if(B.parent===null)return T.wrapResult(B.children[0]._decode(T,_));var N=B.default,y=!0,w=null;if(B.key!==null)w=T.enterKey(B.key);if(B.optional){var u=null;if(B.explicit!==null)u=B.explicit;else if(B.implicit!==null)u=B.implicit;else if(B.tag!==null)u=B.tag;if(u===null&&!B.any){var g=T.save();try{if(B.choice===null)this._decodeGeneric(B.tag,T,_);else this._decodeChoice(T,_);y=!0}catch(L0){y=!1}T.restore(g)}else if(y=this._peekTag(T,u,B.any),T.isError(y))return y}var b;if(B.obj&&y)b=T.enterObject();if(y){if(B.explicit!==null){var p=this._decodeTag(T,B.explicit);if(T.isError(p))return p;T=p}var d=T.offset;if(B.use===null&&B.choice===null){if(B.any)var g=T.save();var a=this._decodeTag(T,B.implicit!==null?B.implicit:B.tag,B.any);if(T.isError(a))return a;if(B.any)N=T.raw(g);else T=a}if(_&&_.track&&B.tag!==null)_.track(T.path(),d,T.length,"tagged");if(_&&_.track&&B.tag!==null)_.track(T.path(),T.offset,T.length,"content");if(B.any)N=N;else if(B.choice===null)N=this._decodeGeneric(B.tag,T,_);else N=this._decodeChoice(T,_);if(T.isError(N))return N;if(!B.any&&B.choice===null&&B.children!==null)B.children.forEach(function(L0){L0._decode(T,_)});if(B.contains&&(B.tag==="octstr"||B.tag==="bitstr")){var H0=new X(N);N=this._getUse(B.contains,T._reporterState.obj)._decode(H0,_)}}if(B.obj&&y)N=T.leaveObject(b);if(B.key!==null&&(N!==null||y===!0))T.leaveKey(w,B.key,N);else if(w!==null)T.exitKey(w);return N},P.prototype._decodeGeneric=function(T,_,B){var N=this._baseState;if(T==="seq"||T==="set")return null;if(T==="seqof"||T==="setof")return this._decodeList(_,T,N.args[0],B);else if(/str$/.test(T))return this._decodeStr(_,T,B);else if(T==="objid"&&N.args)return this._decodeObjid(_,N.args[0],N.args[1],B);else if(T==="objid")return this._decodeObjid(_,null,null,B);else if(T==="gentime"||T==="utctime")return this._decodeTime(_,T,B);else if(T==="null_")return this._decodeNull(_,B);else if(T==="bool")return this._decodeBool(_,B);else if(T==="objDesc")return this._decodeStr(_,T,B);else if(T==="int"||T==="enum")return this._decodeInt(_,N.args&&N.args[0],B);if(N.use!==null)return this._getUse(N.use,_._reporterState.obj)._decode(_,B);else return _.error("unknown tag: "+T)},P.prototype._getUse=function(T,_){var B=this._baseState;if(B.useDecoder=this._use(T,_),W(B.useDecoder._baseState.parent===null),B.useDecoder=B.useDecoder._baseState.children[0],B.implicit!==B.useDecoder._baseState.implicit)B.useDecoder=B.useDecoder.clone(),B.useDecoder._baseState.implicit=B.implicit;return B.useDecoder},P.prototype._decodeChoice=function(T,_){var B=this._baseState,N=null,y=!1;if(Object.keys(B.choice).some(function(w){var u=T.save(),g=B.choice[w];try{var b=g._decode(T,_);if(T.isError(b))return!1;N={type:w,value:b},y=!0}catch(p){return T.restore(u),!1}return!0},this),!y)return T.error("Choice not matched");return N},P.prototype._createEncoderBuffer=function(T){return new z(T,this.reporter)},P.prototype._encode=function(T,_,B){var N=this._baseState;if(N.default!==null&&N.default===T)return;var y=this._encodeValue(T,_,B);if(y===void 0)return;if(this._skipDefault(y,_,B))return;return y},P.prototype._encodeValue=function(T,_,B){var N=this._baseState;if(N.parent===null)return N.children[0]._encode(T,_||new Q);var g=null;if(this.reporter=_,N.optional&&T===void 0)if(N.default!==null)T=N.default;else return;var y=null,w=!1;if(N.any)g=this._createEncoderBuffer(T);else if(N.choice)g=this._encodeChoice(T,_);else if(N.contains)y=this._getUse(N.contains,B)._encode(T,_),w=!0;else if(N.children)y=N.children.map(function(d){if(d._baseState.tag==="null_")return d._encode(null,_,T);if(d._baseState.key===null)return _.error("Child should have a key");var a=_.enterKey(d._baseState.key);if(typeof T!=="object")return _.error("Child expected, but input is not object");var H0=d._encode(T[d._baseState.key],_,T);return _.leaveKey(a),H0},this).filter(function(d){return d}),y=this._createEncoderBuffer(y);else if(N.tag==="seqof"||N.tag==="setof"){if(!(N.args&&N.args.length===1))return _.error("Too many args for : "+N.tag);if(!Array.isArray(T))return _.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,y=this._createEncoderBuffer(T.map(function(d){var a=this._baseState;return this._getUse(a.args[0],T)._encode(d,_)},u))}else if(N.use!==null)g=this._getUse(N.use,B)._encode(T,_);else y=this._encodePrimitive(N.tag,T),w=!0;var g;if(!N.any&&N.choice===null){var b=N.implicit!==null?N.implicit:N.tag,p=N.implicit===null?"universal":"context";if(b===null){if(N.use===null)_.error("Tag could be omitted only for .use()")}else if(N.use===null)g=this._encodeComposite(b,w,p,y)}if(N.explicit!==null)g=this._encodeComposite(N.explicit,!1,"context",g);return g},P.prototype._encodeChoice=function(T,_){var B=this._baseState,N=B.choice[T.type];if(!N)W(!1,T.type+" not found in "+JSON.stringify(Object.keys(B.choice)));return N._encode(T.value,_)},P.prototype._encodePrimitive=function(T,_){var B=this._baseState;if(/str$/.test(T))return this._encodeStr(_,T);else if(T==="objid"&&B.args)return this._encodeObjid(_,B.reverseArgs[0],B.args[1]);else if(T==="objid")return this._encodeObjid(_,null,null);else if(T==="gentime"||T==="utctime")return this._encodeTime(_,T);else if(T==="null_")return this._encodeNull();else if(T==="int"||T==="enum")return this._encodeInt(_,B.args&&B.reverseArgs[0]);else if(T==="bool")return this._encodeBool(_);else if(T==="objDesc")return this._encodeStr(_,T);else throw Error("Unsupported tag: "+T)},P.prototype._isNumstr=function(T){return/^[0-9 ]*$/.test(T)},P.prototype._isPrintstr=function(T){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(T)}}),sG=u0((I)=>{var J=I;J.Reporter=vf().Reporter,J.DecoderBuffer=mS().DecoderBuffer,J.EncoderBuffer=mS().EncoderBuffer,J.Node=Nf()}),kf=u0((I)=>{var J=ZE();I.tagClass={0:"universal",1:"application",2:"context",3:"private"},I.tagClassByName=J._reverse(I.tagClass),I.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},I.tagByName=J._reverse(I.tag)}),ZE=u0((I)=>{var J=I;J._reverse=function(Q){var z={};return Object.keys(Q).forEach(function(X){if((X|0)==X)X=X|0;var W=Q[X];z[W]=X}),z},J.der=kf()}),KE=u0((I,J)=>{var Q=M4(),z=X2(),X=z.base,W=z.bignum,Z=z.constants.der;function L(T){this.enc="der",this.name=T.name,this.entity=T,this.tree=new j,this.tree._init(T.body)}J.exports=L,L.prototype.decode=function(T,_){if(!(T instanceof X.DecoderBuffer))T=new X.DecoderBuffer(T,_);return this.tree._decode(T,_)};function j(T){X.Node.call(this,"der",T)}Q(j,X.Node),j.prototype._peekTag=function(T,_,B){if(T.isEmpty())return!1;var N=T.save(),y=P(T,'Failed to peek tag: "'+_+'"');if(T.isError(y))return y;return T.restore(N),y.tag===_||y.tagStr===_||y.tagStr+"of"===_||B},j.prototype._decodeTag=function(T,_,B){var N=P(T,'Failed to decode tag of "'+_+'"');if(T.isError(N))return N;var y=S(T,N.primitive,'Failed to get length of "'+_+'"');if(T.isError(y))return y;if(!B&&N.tag!==_&&N.tagStr!==_&&N.tagStr+"of"!==_)return T.error('Failed to match tag: "'+_+'"');if(N.primitive||y!==null)return T.skip(y,'Failed to match body of: "'+_+'"');var w=T.save(),u=this._skipUntilEnd(T,'Failed to skip indefinite length body: "'+this.tag+'"');if(T.isError(u))return u;return y=T.offset-w.offset,T.restore(w),T.skip(y,'Failed to match body of: "'+_+'"')},j.prototype._skipUntilEnd=function(T,_){while(!0){var B=P(T,_);if(T.isError(B))return B;var N=S(T,B.primitive,_);if(T.isError(N))return N;var y;if(B.primitive||N!==null)y=T.skip(N);else y=this._skipUntilEnd(T,_);if(T.isError(y))return y;if(B.tagStr==="end")break}},j.prototype._decodeList=function(T,_,B,N){var y=[];while(!T.isEmpty()){var w=this._peekTag(T,"end");if(T.isError(w))return w;var u=B.decode(T,"der",N);if(T.isError(u)&&w)break;y.push(u)}return y},j.prototype._decodeStr=function(T,_){if(_==="bitstr"){var B=T.readUInt8();if(T.isError(B))return B;return{unused:B,data:T.raw()}}else if(_==="bmpstr"){var N=T.raw();if(N.length%2===1)return T.error("Decoding of string type: bmpstr length mismatch");var y="";for(var w=0;w<N.length/2;w++)y+=String.fromCharCode(N.readUInt16BE(w*2));return y}else if(_==="numstr"){var u=T.raw().toString("ascii");if(!this._isNumstr(u))return T.error("Decoding of string type: numstr unsupported characters");return u}else if(_==="octstr")return T.raw();else if(_==="objDesc")return T.raw();else if(_==="printstr"){var g=T.raw().toString("ascii");if(!this._isPrintstr(g))return T.error("Decoding of string type: printstr unsupported characters");return g}else if(/str$/.test(_))return T.raw().toString();else return T.error("Decoding of string type: "+_+" unsupported")},j.prototype._decodeObjid=function(T,_,B){var N,y=[],w=0;while(!T.isEmpty()){var u=T.readUInt8();if(w<<=7,w|=u&127,(u&128)===0)y.push(w),w=0}if(u&128)y.push(w);var g=y[0]/40|0,b=y[0]%40;if(B)N=y;else N=[g,b].concat(y.slice(1));if(_){var p=_[N.join(" ")];if(p===void 0)p=_[N.join(".")];if(p!==void 0)N=p}return N},j.prototype._decodeTime=function(T,_){var B=T.raw().toString();if(_==="gentime")var N=B.slice(0,4)|0,y=B.slice(4,6)|0,w=B.slice(6,8)|0,u=B.slice(8,10)|0,g=B.slice(10,12)|0,b=B.slice(12,14)|0;else if(_==="utctime"){var N=B.slice(0,2)|0,y=B.slice(2,4)|0,w=B.slice(4,6)|0,u=B.slice(6,8)|0,g=B.slice(8,10)|0,b=B.slice(10,12)|0;if(N<70)N=2000+N;else N=1900+N}else return T.error("Decoding "+_+" time is not supported yet");return Date.UTC(N,y-1,w,u,g,b,0)},j.prototype._decodeNull=function(T){return null},j.prototype._decodeBool=function(T){var _=T.readUInt8();if(T.isError(_))return _;else return _!==0},j.prototype._decodeInt=function(T,_){var B=T.raw(),N=new W(B);if(_)N=_[N.toString(10)]||N;return N},j.prototype._use=function(T,_){if(typeof T==="function")T=T(_);return T._getDecoder("der").tree};function P(T,_){var B=T.readUInt8(_);if(T.isError(B))return B;var N=Z.tagClass[B>>6],y=(B&32)===0;if((B&31)===31){var w=B;B=0;while((w&128)===128){if(w=T.readUInt8(_),T.isError(w))return w;B<<=7,B|=w&127}}else B&=31;var u=Z.tag[B];return{cls:N,primitive:y,tag:B,tagStr:u}}function S(T,_,B){var N=T.readUInt8(B);if(T.isError(N))return N;if(!_&&N===128)return null;if((N&128)===0)return N;var y=N&127;if(y>4)return T.error("length octect is too long");N=0;for(var w=0;w<y;w++){N<<=8;var u=T.readUInt8(B);if(T.isError(u))return u;N|=u}return N}}),gf=u0((I,J)=>{var Q=M4(),z=(oU(),j$(nU)).Buffer,X=KE();function W(Z){X.call(this,Z),this.enc="pem"}Q(W,X),J.exports=W,W.prototype.decode=function(Z,L){var j=Z.toString().split(/[\r\n]+/g),P=L.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/,T=-1,_=-1;for(var B=0;B<j.length;B++){var N=j[B].match(S);if(N===null)continue;if(N[2]!==P)continue;if(T===-1){if(N[1]!=="BEGIN")break;T=B}else{if(N[1]!=="END")break;_=B;break}}if(T===-1||_===-1)throw Error("PEM section not found for: "+P);var y=j.slice(T+1,_).join("");y.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new z(y,"base64");return X.prototype.decode.call(this,w,L)}}),xf=u0((I)=>{var J=I;J.der=KE(),J.pem=gf()}),WE=u0((I,J)=>{var Q=M4(),z=(oU(),j$(nU)).Buffer,X=X2(),W=X.base,Z=X.constants.der;function L(T){this.enc="der",this.name=T.name,this.entity=T,this.tree=new j,this.tree._init(T.body)}J.exports=L,L.prototype.encode=function(T,_){return this.tree._encode(T,_).join()};function j(T){W.Node.call(this,"der",T)}Q(j,W.Node),j.prototype._encodeComposite=function(T,_,B,N){var y=S(T,_,B,this.reporter);if(N.length<128){var g=new z(2);return g[0]=y,g[1]=N.length,this._createEncoderBuffer([g,N])}var w=1;for(var u=N.length;u>=256;u>>=8)w++;var g=new z(2+w);g[0]=y,g[1]=128|w;for(var u=1+w,b=N.length;b>0;u--,b>>=8)g[u]=b&255;return this._createEncoderBuffer([g,N])},j.prototype._encodeStr=function(T,_){if(_==="bitstr")return this._createEncoderBuffer([T.unused|0,T.data]);else if(_==="bmpstr"){var B=new z(T.length*2);for(var N=0;N<T.length;N++)B.writeUInt16BE(T.charCodeAt(N),N*2);return this._createEncoderBuffer(B)}else if(_==="numstr"){if(!this._isNumstr(T))return this.reporter.error("Encoding of string type: numstr supports only digits and space");return this._createEncoderBuffer(T)}else if(_==="printstr"){if(!this._isPrintstr(T))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(T)}else if(/str$/.test(_))return this._createEncoderBuffer(T);else if(_==="objDesc")return this._createEncoderBuffer(T);else return this.reporter.error("Encoding of string type: "+_+" unsupported")},j.prototype._encodeObjid=function(T,_,B){if(typeof T==="string"){if(!_)return this.reporter.error("string objid given, but no values map found");if(!_.hasOwnProperty(T))return this.reporter.error("objid not found in values map");T=_[T].split(/[\s\.]+/g);for(var N=0;N<T.length;N++)T[N]|=0}else if(Array.isArray(T)){T=T.slice();for(var N=0;N<T.length;N++)T[N]|=0}if(!Array.isArray(T))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(T));if(!B){if(T[1]>=40)return this.reporter.error("Second objid identifier OOB");T.splice(0,2,T[0]*40+T[1])}var y=0;for(var N=0;N<T.length;N++){var w=T[N];for(y++;w>=128;w>>=7)y++}var u=new z(y),g=u.length-1;for(var N=T.length-1;N>=0;N--){var w=T[N];u[g--]=w&127;while((w>>=7)>0)u[g--]=128|w&127}return this._createEncoderBuffer(u)};function P(T){if(T<10)return"0"+T;else return T}j.prototype._encodeTime=function(T,_){var B,N=new Date(T);if(_==="gentime")B=[P(N.getFullYear()),P(N.getUTCMonth()+1),P(N.getUTCDate()),P(N.getUTCHours()),P(N.getUTCMinutes()),P(N.getUTCSeconds()),"Z"].join("");else if(_==="utctime")B=[P(N.getFullYear()%100),P(N.getUTCMonth()+1),P(N.getUTCDate()),P(N.getUTCHours()),P(N.getUTCMinutes()),P(N.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+_+" time is not supported yet");return this._encodeStr(B,"octstr")},j.prototype._encodeNull=function(){return this._createEncoderBuffer("")},j.prototype._encodeInt=function(T,_){if(typeof T==="string"){if(!_)return this.reporter.error("String int or enum given, but no values map");if(!_.hasOwnProperty(T))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(T));T=_[T]}if(typeof T!=="number"&&!z.isBuffer(T)){var B=T.toArray();if(!T.sign&&B[0]&128)B.unshift(0);T=new z(B)}if(z.isBuffer(T)){var N=T.length;if(T.length===0)N++;var w=new z(N);if(T.copy(w),T.length===0)w[0]=0;return this._createEncoderBuffer(w)}if(T<128)return this._createEncoderBuffer(T);if(T<256)return this._createEncoderBuffer([0,T]);var N=1;for(var y=T;y>=256;y>>=8)N++;var w=Array(N);for(var y=w.length-1;y>=0;y--)w[y]=T&255,T>>=8;if(w[0]&128)w.unshift(0);return this._createEncoderBuffer(new z(w))},j.prototype._encodeBool=function(T){return this._createEncoderBuffer(T?255:0)},j.prototype._use=function(T,_){if(typeof T==="function")T=T(_);return T._getEncoder("der").tree},j.prototype._skipDefault=function(T,_,B){var N=this._baseState,y;if(N.default===null)return!1;var w=T.join();if(N.defaultBuffer===void 0)N.defaultBuffer=this._encodeValue(N.default,_,B).join();if(w.length!==N.defaultBuffer.length)return!1;for(y=0;y<w.length;y++)if(w[y]!==N.defaultBuffer[y])return!1;return!0};function S(T,_,B,N){var y;if(T==="seqof")T="seq";else if(T==="setof")T="set";if(Z.tagByName.hasOwnProperty(T))y=Z.tagByName[T];else if(typeof T==="number"&&(T|0)===T)y=T;else return N.error("Unknown tag: "+T);if(y>=31)return N.error("Multi-octet tag encoding unsupported");if(!_)y|=32;return y|=Z.tagClassByName[B||"universal"]<<6,y}}),wf=u0((I,J)=>{var Q=M4(),z=WE();function X(W){z.call(this,W),this.enc="pem"}Q(X,z),J.exports=X,X.prototype.encode=function(W,Z){var L=z.prototype.encode.call(this,W),j=L.toString("base64"),P=["-----BEGIN "+Z.label+"-----"];for(var S=0;S<j.length;S+=64)P.push(j.slice(S,S+64));return P.push("-----END "+Z.label+"-----"),P.join(`
243
+ `)}}),ff=u0((I)=>{var J=I;J.der=WE(),J.pem=wf()}),X2=u0((I)=>{var J=I;J.bignum=jf(),J.define=Bf().define,J.base=sG(),J.constants=ZE(),J.decoders=xf(),J.encoders=ff()}),yf=u0((I,J)=>{var Q=X2(),z=Q.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),X=Q.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),W=Q.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Z=Q.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(W),this.key("subjectPublicKey").bitstr())}),L=Q.define("RelativeDistinguishedName",function(){this.setof(X)}),j=Q.define("RDNSequence",function(){this.seqof(L)}),P=Q.define("Name",function(){this.choice({rdnSequence:this.use(j)})}),S=Q.define("Validity",function(){this.seq().obj(this.key("notBefore").use(z),this.key("notAfter").use(z))}),T=Q.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),_=Q.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(W),this.key("issuer").use(P),this.key("validity").use(S),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(Z),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(T).optional())}),B=Q.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(_),this.key("signatureAlgorithm").use(W),this.key("signatureValue").bitstr())});J.exports=B}),bf=u0((I)=>{var J=X2();I.certificate=yf();var Q=J.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});I.RSAPrivateKey=Q;var z=J.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});I.RSAPublicKey=z;var X=J.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),W=J.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(X),this.key("subjectPublicKey").bitstr())});I.PublicKey=W;var Z=J.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(X),this.key("subjectPrivateKey").octstr())});I.PrivateKey=Z;var L=J.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});I.EncryptedPrivateKey=L;var j=J.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});I.DSAPrivateKey=j,I.DSAparam=J.define("DSAparam",function(){this.int()});var P=J.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),S=J.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(P),this.key("publicKey").optional().explicit(1).bitstr())});I.ECPrivateKey=S,I.signature=J.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),uf=u0((I,J)=>{J.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}),hf=u0((I,J)=>{var Q=b1().Buffer,z=NY().Transform,X=M4();function W(P){z.call(this),this._block=Q.allocUnsafe(P),this._blockSize=P,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}X(W,z),W.prototype._transform=function(P,S,T){var _=null;try{this.update(P,S)}catch(B){_=B}T(_)},W.prototype._flush=function(P){var S=null;try{this.push(this.digest())}catch(T){S=T}P(S)};var Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(Q.prototype instanceof Uint8Array||Q.TYPED_ARRAY_SUPPORT);function j(P,S){if(P instanceof Q)return P;if(typeof P==="string")return Q.from(P,S);if(L&&ArrayBuffer.isView(P)){if(P.byteLength===0)return Q.alloc(0);var T=Q.from(P.buffer,P.byteOffset,P.byteLength);if(T.byteLength===P.byteLength)return T}if(Z&&P instanceof Uint8Array)return Q.from(P);if(Q.isBuffer(P)&&P.constructor&&typeof P.constructor.isBuffer==="function"&&P.constructor.isBuffer(P))return Q.from(P);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}W.prototype.update=function(P,S){if(this._finalized)throw Error("Digest already called");P=j(P,S);var T=this._block,_=0;while(this._blockOffset+P.length-_>=this._blockSize){for(var B=this._blockOffset;B<this._blockSize;)T[B++]=P[_++];this._update(),this._blockOffset=0}while(_<P.length)T[this._blockOffset++]=P[_++];for(var N=0,y=P.length*8;y>0;++N)if(this._length[N]+=y,y=this._length[N]/4294967296|0,y>0)this._length[N]-=4294967296*y;return this},W.prototype._update=function(){throw Error("_update is not implemented")},W.prototype.digest=function(P){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var S=this._digest();if(P!==void 0)S=S.toString(P);this._block.fill(0),this._blockOffset=0;for(var T=0;T<4;++T)this._length[T]=0;return S},W.prototype._digest=function(){throw Error("_digest is not implemented")},J.exports=W}),cf=u0((I,J)=>{var Q=M4(),z=hf(),X=b1().Buffer,W=Array(16);function Z(){z.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}Q(Z,z),Z.prototype._update=function(){var _=W;for(var B=0;B<16;++B)_[B]=this._block.readInt32LE(B*4);var N=this._a,y=this._b,w=this._c,u=this._d;N=j(N,y,w,u,_[0],3614090360,7),u=j(u,N,y,w,_[1],3905402710,12),w=j(w,u,N,y,_[2],606105819,17),y=j(y,w,u,N,_[3],3250441966,22),N=j(N,y,w,u,_[4],4118548399,7),u=j(u,N,y,w,_[5],1200080426,12),w=j(w,u,N,y,_[6],2821735955,17),y=j(y,w,u,N,_[7],4249261313,22),N=j(N,y,w,u,_[8],1770035416,7),u=j(u,N,y,w,_[9],2336552879,12),w=j(w,u,N,y,_[10],4294925233,17),y=j(y,w,u,N,_[11],2304563134,22),N=j(N,y,w,u,_[12],1804603682,7),u=j(u,N,y,w,_[13],4254626195,12),w=j(w,u,N,y,_[14],2792965006,17),y=j(y,w,u,N,_[15],1236535329,22),N=P(N,y,w,u,_[1],4129170786,5),u=P(u,N,y,w,_[6],3225465664,9),w=P(w,u,N,y,_[11],643717713,14),y=P(y,w,u,N,_[0],3921069994,20),N=P(N,y,w,u,_[5],3593408605,5),u=P(u,N,y,w,_[10],38016083,9),w=P(w,u,N,y,_[15],3634488961,14),y=P(y,w,u,N,_[4],3889429448,20),N=P(N,y,w,u,_[9],568446438,5),u=P(u,N,y,w,_[14],3275163606,9),w=P(w,u,N,y,_[3],4107603335,14),y=P(y,w,u,N,_[8],1163531501,20),N=P(N,y,w,u,_[13],2850285829,5),u=P(u,N,y,w,_[2],4243563512,9),w=P(w,u,N,y,_[7],1735328473,14),y=P(y,w,u,N,_[12],2368359562,20),N=S(N,y,w,u,_[5],4294588738,4),u=S(u,N,y,w,_[8],2272392833,11),w=S(w,u,N,y,_[11],1839030562,16),y=S(y,w,u,N,_[14],4259657740,23),N=S(N,y,w,u,_[1],2763975236,4),u=S(u,N,y,w,_[4],1272893353,11),w=S(w,u,N,y,_[7],4139469664,16),y=S(y,w,u,N,_[10],3200236656,23),N=S(N,y,w,u,_[13],681279174,4),u=S(u,N,y,w,_[0],3936430074,11),w=S(w,u,N,y,_[3],3572445317,16),y=S(y,w,u,N,_[6],76029189,23),N=S(N,y,w,u,_[9],3654602809,4),u=S(u,N,y,w,_[12],3873151461,11),w=S(w,u,N,y,_[15],530742520,16),y=S(y,w,u,N,_[2],3299628645,23),N=T(N,y,w,u,_[0],4096336452,6),u=T(u,N,y,w,_[7],1126891415,10),w=T(w,u,N,y,_[14],2878612391,15),y=T(y,w,u,N,_[5],4237533241,21),N=T(N,y,w,u,_[12],1700485571,6),u=T(u,N,y,w,_[3],2399980690,10),w=T(w,u,N,y,_[10],4293915773,15),y=T(y,w,u,N,_[1],2240044497,21),N=T(N,y,w,u,_[8],1873313359,6),u=T(u,N,y,w,_[15],4264355552,10),w=T(w,u,N,y,_[6],2734768916,15),y=T(y,w,u,N,_[13],1309151649,21),N=T(N,y,w,u,_[4],4149444226,6),u=T(u,N,y,w,_[11],3174756917,10),w=T(w,u,N,y,_[2],718787259,15),y=T(y,w,u,N,_[9],3951481745,21),this._a=this._a+N|0,this._b=this._b+y|0,this._c=this._c+w|0,this._d=this._d+u|0},Z.prototype._digest=function(){if(this._block[this._blockOffset++]=128,this._blockOffset>56)this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0;this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var _=X.allocUnsafe(16);return _.writeInt32LE(this._a,0),_.writeInt32LE(this._b,4),_.writeInt32LE(this._c,8),_.writeInt32LE(this._d,12),_};function L(_,B){return _<<B|_>>>32-B}function j(_,B,N,y,w,u,g){return L(_+(B&N|~B&y)+w+u|0,g)+B|0}function P(_,B,N,y,w,u,g){return L(_+(B&y|N&~y)+w+u|0,g)+B|0}function S(_,B,N,y,w,u,g){return L(_+(B^N^y)+w+u|0,g)+B|0}function T(_,B,N,y,w,u,g){return L(_+(N^(B|~y))+w+u|0,g)+B|0}J.exports=Z}),pf=u0((I,J)=>{var Q=b1().Buffer,z=cf();function X(W,Z,L,j){if(!Q.isBuffer(W))W=Q.from(W,"binary");if(Z){if(!Q.isBuffer(Z))Z=Q.from(Z,"binary");if(Z.length!==8)throw RangeError("salt should be Buffer with 8 byte length")}var P=L/8,S=Q.alloc(P),T=Q.alloc(j||0),_=Q.alloc(0);while(P>0||j>0){var B=new z;if(B.update(_),B.update(W),Z)B.update(Z);_=B.digest();var N=0;if(P>0){var y=S.length-P;N=Math.min(P,_.length),_.copy(S,y,0,N),P-=N}if(N<_.length&&j>0){var w=T.length-j,u=Math.min(j,_.length-N);_.copy(T,w,N,N+u),j-=u}}return _.fill(0),{key:S,iv:T}}J.exports=X}),zE=u0((I)=>{var J=(yU(),j$(T4));I.createCipher=I.Cipher=J.createCipher,I.createCipheriv=I.Cipheriv=J.createCipheriv,I.createDecipher=I.Decipher=J.createDecipher,I.createDecipheriv=I.Decipheriv=J.createDecipheriv,I.listCiphers=I.getCiphers=J.getCiphers}),mf=u0((I,J)=>{var Q=/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,X=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,W=pf(),Z=zE(),L=b1().Buffer;J.exports=function(j,P){var S=j.toString(),T=S.match(Q),_;if(!T){var B=S.match(X);_=L.from(B[2].replace(/[\r\n]/g,""),"base64")}else{var N="aes"+T[1],y=L.from(T[2],"hex"),w=L.from(T[3].replace(/[\r\n]/g,""),"base64"),u=W(P,y.slice(0,8),parseInt(T[1],10)).key,g=[],b=Z.createDecipheriv(N,u,y);g.push(b.update(w)),g.push(b.final()),_=L.concat(g)}var p=S.match(z)[1];return{tag:p,data:_}}}),OE=u0((I,J)=>{var Q=bf(),z=uf(),X=mf(),W=zE(),Z=UE().pbkdf2Sync,L=b1().Buffer;function j(S,T){var _=S.algorithm.decrypt.kde.kdeparams.salt,B=parseInt(S.algorithm.decrypt.kde.kdeparams.iters.toString(),10),N=z[S.algorithm.decrypt.cipher.algo.join(".")],y=S.algorithm.decrypt.cipher.iv,w=S.subjectPrivateKey,u=parseInt(N.split("-")[1],10)/8,g=Z(T,_,B,u,"sha1"),b=W.createDecipheriv(N,g,y),p=[];return p.push(b.update(w)),p.push(b.final()),L.concat(p)}function P(S){var T;if(typeof S==="object"&&!L.isBuffer(S))T=S.passphrase,S=S.key;if(typeof S==="string")S=L.from(S);var _=X(S,T),B=_.tag,N=_.data,y,w;switch(B){case"CERTIFICATE":w=Q.certificate.decode(N,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!w)w=Q.PublicKey.decode(N,"der");switch(y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Q.RSAPublicKey.decode(w.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return w.subjectPrivateKey=w.subjectPublicKey,{type:"ec",data:w};case"1.2.840.10040.4.1":return w.algorithm.params.pub_key=Q.DSAparam.decode(w.subjectPublicKey.data,"der"),{type:"dsa",data:w.algorithm.params};default:throw Error("unknown key id "+y)}case"ENCRYPTED PRIVATE KEY":N=Q.EncryptedPrivateKey.decode(N,"der"),N=j(N,T);case"PRIVATE KEY":switch(w=Q.PrivateKey.decode(N,"der"),y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Q.RSAPrivateKey.decode(w.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:w.algorithm.curve,privateKey:Q.ECPrivateKey.decode(w.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return w.algorithm.params.priv_key=Q.DSAparam.decode(w.subjectPrivateKey,"der"),{type:"dsa",params:w.algorithm.params};default:throw Error("unknown key id "+y)}case"RSA PUBLIC KEY":return Q.RSAPublicKey.decode(N,"der");case"RSA PRIVATE KEY":return Q.RSAPrivateKey.decode(N,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Q.DSAPrivateKey.decode(N,"der")};case"EC PRIVATE KEY":return N=Q.ECPrivateKey.decode(N,"der"),{curve:N.parameters.value,privateKey:N.privateKey};default:throw Error("unknown key type "+B)}}P.signature=Q.signature,J.exports=P}),VE=u0((I,J)=>{var Q=M8(),z=b1().Buffer;J.exports=function(W,Z){var L=z.alloc(0),j=0,P;while(L.length<Z)P=X(j++),L=z.concat([L,Q("sha1").update(W).update(P).digest()]);return L.slice(0,Z)};function X(W){var Z=z.allocUnsafe(4);return Z.writeUInt32BE(W,0),Z}}),FE=u0((I,J)=>{J.exports=function(Q,z){var X=Q.length,W=-1;while(++W<X)Q[W]^=z[W];return Q}}),CF=u0((I,J)=>{(function(Q,z){function X(G,V){if(!G)throw Error(V||"Assertion failed")}function W(G,V){G.super_=V;var D=function(){};D.prototype=V.prototype,G.prototype=new D,G.prototype.constructor=G}function Z(G,V,D){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(V==="le"||V==="be")D=V,V=10;this._init(G||0,V||10,D||"be")}}if(typeof Q==="object")Q.exports=Z;else z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,V){if(G.cmp(V)>0)return G;return V},Z.min=function(G,V){if(G.cmp(V)<0)return G;return V},Z.prototype._init=function(G,V,D){if(typeof G==="number")return this._initNumber(G,V,D);if(typeof G==="object")return this._initArray(G,V,D);if(V==="hex")V=16;X(V===(V|0)&&V>=2&&V<=36),G=G.toString().replace(/\s+/g,"");var O=0;if(G[0]==="-")O++,this.negative=1;if(O<G.length){if(V===16)this._parseHex(G,O,D);else if(this._parseBase(G,V,O),D==="le")this._initArray(this.toArray(),V,D)}},Z.prototype._initNumber=function(G,V,D){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else X(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(D!=="le")return;this._initArray(this.toArray(),V,D)},Z.prototype._initArray=function(G,V,D){if(X(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H,q,E=0;if(D==="be"){for(O=G.length-1,H=0;O>=0;O-=3)if(q=G[O]|G[O-1]<<8|G[O-2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}else if(D==="le"){for(O=0,H=0;O<G.length;O+=3)if(q=G[O]|G[O+1]<<8|G[O+2]<<16,this.words[H]|=q<<E&67108863,this.words[H+1]=q>>>26-E&67108863,E+=24,E>=26)E-=26,H++}return this.strip()};function j(G,V){var D=G.charCodeAt(V);if(D>=65&&D<=70)return D-55;else if(D>=97&&D<=102)return D-87;else return D-48&15}function P(G,V,D){var O=j(G,D);if(D-1>=V)O|=j(G,D-1)<<4;return O}Z.prototype._parseHex=function(G,V,D){this.length=Math.ceil((G.length-V)/6),this.words=Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var H=0,q=0,E;if(D==="be")for(O=G.length-1;O>=V;O-=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8;else{var A=G.length-V;for(O=A%2===0?V+1:V;O<G.length;O+=2)if(E=P(G,V,O)<<H,this.words[q]|=E&67108863,H>=18)H-=18,q+=1,this.words[q]|=E>>>26;else H+=8}this.strip()};function S(G,V,D,O){var H=0,q=Math.min(G.length,D);for(var E=V;E<q;E++){var A=G.charCodeAt(E)-48;if(H*=O,A>=49)H+=A-49+10;else if(A>=17)H+=A-17+10;else H+=A}return H}Z.prototype._parseBase=function(G,V,D){this.words=[0],this.length=1;for(var O=0,H=1;H<=67108863;H*=V)O++;O--,H=H/V|0;var q=G.length-D,E=q%O,A=Math.min(q,q-E)+D,K=0;for(var C=D;C<A;C+=O)if(K=S(G,C,C+O,V),this.imuln(H),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K);if(E!==0){var x=1;K=S(G,C,G.length,V);for(C=0;C<E;C++)x*=V;if(this.imuln(x),this.words[0]+K<67108864)this.words[0]+=K;else this._iaddn(K)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var V=0;V<this.length;V++)G.words[V]=this.words[V];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","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"],_=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],B=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,V){G=G||10,V=V|0||1;var D;if(G===16||G==="hex"){D="";var O=0,H=0;for(var q=0;q<this.length;q++){var E=this.words[q],A=((E<<O|H)&16777215).toString(16);if(H=E>>>24-O&16777215,O+=2,O>=26)O-=26,q--;if(H!==0||q!==this.length-1)D=T[6-A.length]+A+D;else D=A+D}if(H!==0)D=H.toString(16)+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}if(G===(G|0)&&G>=2&&G<=36){var K=_[G],C=B[G];D="";var x=this.clone();x.negative=0;while(!x.isZero()){var v=x.modn(C).toString(G);if(x=x.idivn(C),!x.isZero())D=T[K-v.length]+v+D;else D=v+D}if(this.isZero())D="0"+D;while(D.length%V!==0)D="0"+D;if(this.negative!==0)D="-"+D;return D}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,V){return X(typeof L<"u"),this.toArrayLike(L,G,V)},Z.prototype.toArray=function(G,V){return this.toArrayLike(Array,G,V)},Z.prototype.toArrayLike=function(G,V,D){var O=this.byteLength(),H=D||Math.max(1,O);X(O<=H,"byte array longer than desired length"),X(H>0,"Requested array length <= 0"),this.strip();var q=V==="le",E=new G(H),A,K,C=this.clone();if(!q){for(K=0;K<H-O;K++)E[K]=0;for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[H-K-1]=A}else{for(K=0;!C.isZero();K++)A=C.andln(255),C.iushrn(8),E[K]=A;for(;K<H;K++)E[K]=0}return E},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var V=G,D=0;if(V>=4096)D+=13,V>>>=13;if(V>=64)D+=7,V>>>=7;if(V>=8)D+=4,V>>>=4;if(V>=2)D+=2,V>>>=2;return D+V};Z.prototype._zeroBits=function(G){if(G===0)return 26;var V=G,D=0;if((V&8191)===0)D+=13,V>>>=13;if((V&127)===0)D+=7,V>>>=7;if((V&15)===0)D+=4,V>>>=4;if((V&3)===0)D+=2,V>>>=2;if((V&1)===0)D++;return D},Z.prototype.bitLength=function(){var G=this.words[this.length-1],V=this._countBits(G);return(this.length-1)*26+V};function N(G){var V=Array(G.bitLength());for(var D=0;D<V.length;D++){var O=D/26|0,H=D%26;V[D]=(G.words[O]&1<<H)>>>H}return V}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var V=0;V<this.length;V++){var D=this._zeroBits(this.words[V]);if(G+=D,D!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var V=0;V<G.length;V++)this.words[V]=this.words[V]|G.words[V];return this.strip()},Z.prototype.ior=function(G){return X((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var V;if(this.length>G.length)V=G;else V=this;for(var D=0;D<V.length;D++)this.words[D]=this.words[D]&G.words[D];return this.length=V.length,this.strip()},Z.prototype.iand=function(G){return X((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var V,D;if(this.length>G.length)V=this,D=G;else V=G,D=this;for(var O=0;O<D.length;O++)this.words[O]=V.words[O]^D.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];return this.length=V.length,this.strip()},Z.prototype.ixor=function(G){return X((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){X(typeof G==="number"&&G>=0);var V=Math.ceil(G/26)|0,D=G%26;if(this._expand(V),D>0)V--;for(var O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;if(D>0)this.words[O]=~this.words[O]&67108863>>26-D;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,V){X(typeof G==="number"&&G>=0);var D=G/26|0,O=G%26;if(this._expand(D+1),V)this.words[D]=this.words[D]|1<<O;else this.words[D]=this.words[D]&~(1<<O);return this.strip()},Z.prototype.iadd=function(G){var V;if(this.negative!==0&&G.negative===0)return this.negative=0,V=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,V=this.isub(G),G.negative=1,V._normSign();var D,O;if(this.length>G.length)D=this,O=G;else D=G,O=this;var H=0;for(var q=0;q<O.length;q++)V=(D.words[q]|0)+(O.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;for(;H!==0&&q<D.length;q++)V=(D.words[q]|0)+H,this.words[q]=V&67108863,H=V>>>26;if(this.length=D.length,H!==0)this.words[this.length]=H,this.length++;else if(D!==this)for(;q<D.length;q++)this.words[q]=D.words[q];return this},Z.prototype.add=function(G){var V;if(G.negative!==0&&this.negative===0)return G.negative=0,V=this.sub(G),G.negative^=1,V;else if(G.negative===0&&this.negative!==0)return this.negative=0,V=G.sub(this),this.negative=1,V;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var V=this.iadd(G);return G.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var D=this.cmp(G);if(D===0)return this.negative=0,this.length=1,this.words[0]=0,this;var O,H;if(D>0)O=this,H=G;else O=G,H=this;var q=0;for(var E=0;E<H.length;E++)V=(O.words[E]|0)-(H.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;for(;q!==0&&E<O.length;E++)V=(O.words[E]|0)+q,q=V>>26,this.words[E]=V&67108863;if(q===0&&E<O.length&&O!==this)for(;E<O.length;E++)this.words[E]=O.words[E];if(this.length=Math.max(this.length,E),O!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,V,D){D.negative=V.negative^G.negative;var O=G.length+V.length|0;D.length=O,O=O-1|0;var H=G.words[0]|0,q=V.words[0]|0,E=H*q,A=E&67108863,K=E/67108864|0;D.words[0]=A;for(var C=1;C<O;C++){var x=K>>>26,v=K&67108863,h=Math.min(C,V.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;H=G.words[U0]|0,q=V.words[r]|0,E=H*q+v,x+=E/67108864|0,v=E&67108863}D.words[C]=v|0,K=x|0}if(K!==0)D.words[C]=K|0;else D.length--;return D.strip()}var w=function(G,V,D){var O=G.words,H=V.words,q=D.words,E=0,A,K,C,x=O[0]|0,v=x&8191,h=x>>>13,r=O[1]|0,U0=r&8191,W0=r>>>13,Y0=O[2]|0,s=Y0&8191,e=Y0>>>13,J0=O[3]|0,Z0=J0&8191,A0=J0>>>13,$0=O[4]|0,c=$0&8191,n=$0>>>13,D0=O[5]|0,Q0=D0&8191,O0=D0>>>13,k0=O[6]|0,I0=k0&8191,z0=k0>>>13,I$=O[7]|0,M0=I$&8191,v0=I$>>>13,M$=O[8]|0,m0=M$&8191,p0=M$>>>13,r$=O[9]|0,h0=r$&8191,c0=r$>>>13,YU=H[0]|0,t0=YU&8191,i0=YU>>>13,qU=H[1]|0,m=qU&8191,X0=qU>>>13,e0=H[2]|0,j0=e0&8191,N0=e0>>>13,D$=H[3]|0,x0=D$&8191,y0=D$>>>13,V$=H[4]|0,o0=V$&8191,r0=V$>>>13,zU=H[5]|0,s0=zU&8191,i=zU>>>13,G0=H[6]|0,_0=G0&8191,E0=G0>>>13,W$=H[7]|0,n0=W$&8191,a0=W$>>>13,DU=H[8]|0,X$=DU&8191,U$=DU>>>13,e$=H[9]|0,J$=e$&8191,$$=e$>>>13;D.negative=G.negative^V.negative,D.length=19,A=Math.imul(v,t0),K=Math.imul(v,i0),K=K+Math.imul(h,t0)|0,C=Math.imul(h,i0);var RU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(U0,t0),K=Math.imul(U0,i0),K=K+Math.imul(W0,t0)|0,C=Math.imul(W0,i0),A=A+Math.imul(v,m)|0,K=K+Math.imul(v,X0)|0,K=K+Math.imul(h,m)|0,C=C+Math.imul(h,X0)|0;var B$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,t0),K=Math.imul(s,i0),K=K+Math.imul(e,t0)|0,C=Math.imul(e,i0),A=A+Math.imul(U0,m)|0,K=K+Math.imul(U0,X0)|0,K=K+Math.imul(W0,m)|0,C=C+Math.imul(W0,X0)|0,A=A+Math.imul(v,j0)|0,K=K+Math.imul(v,N0)|0,K=K+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var E$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(E$>>>26)|0,E$&=67108863,A=Math.imul(Z0,t0),K=Math.imul(Z0,i0),K=K+Math.imul(A0,t0)|0,C=Math.imul(A0,i0),A=A+Math.imul(s,m)|0,K=K+Math.imul(s,X0)|0,K=K+Math.imul(e,m)|0,C=C+Math.imul(e,X0)|0,A=A+Math.imul(U0,j0)|0,K=K+Math.imul(U0,N0)|0,K=K+Math.imul(W0,j0)|0,C=C+Math.imul(W0,N0)|0,A=A+Math.imul(v,x0)|0,K=K+Math.imul(v,y0)|0,K=K+Math.imul(h,x0)|0,C=C+Math.imul(h,y0)|0;var $U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,t0),K=Math.imul(c,i0),K=K+Math.imul(n,t0)|0,C=Math.imul(n,i0),A=A+Math.imul(Z0,m)|0,K=K+Math.imul(Z0,X0)|0,K=K+Math.imul(A0,m)|0,C=C+Math.imul(A0,X0)|0,A=A+Math.imul(s,j0)|0,K=K+Math.imul(s,N0)|0,K=K+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,K=K+Math.imul(U0,y0)|0,K=K+Math.imul(W0,x0)|0,C=C+Math.imul(W0,y0)|0,A=A+Math.imul(v,o0)|0,K=K+Math.imul(v,r0)|0,K=K+Math.imul(h,o0)|0,C=C+Math.imul(h,r0)|0;var d$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Q0,t0),K=Math.imul(Q0,i0),K=K+Math.imul(O0,t0)|0,C=Math.imul(O0,i0),A=A+Math.imul(c,m)|0,K=K+Math.imul(c,X0)|0,K=K+Math.imul(n,m)|0,C=C+Math.imul(n,X0)|0,A=A+Math.imul(Z0,j0)|0,K=K+Math.imul(Z0,N0)|0,K=K+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,K=K+Math.imul(s,y0)|0,K=K+Math.imul(e,x0)|0,C=C+Math.imul(e,y0)|0,A=A+Math.imul(U0,o0)|0,K=K+Math.imul(U0,r0)|0,K=K+Math.imul(W0,o0)|0,C=C+Math.imul(W0,r0)|0,A=A+Math.imul(v,s0)|0,K=K+Math.imul(v,i)|0,K=K+Math.imul(h,s0)|0,C=C+Math.imul(h,i)|0;var bU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(I0,t0),K=Math.imul(I0,i0),K=K+Math.imul(z0,t0)|0,C=Math.imul(z0,i0),A=A+Math.imul(Q0,m)|0,K=K+Math.imul(Q0,X0)|0,K=K+Math.imul(O0,m)|0,C=C+Math.imul(O0,X0)|0,A=A+Math.imul(c,j0)|0,K=K+Math.imul(c,N0)|0,K=K+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,K=K+Math.imul(Z0,y0)|0,K=K+Math.imul(A0,x0)|0,C=C+Math.imul(A0,y0)|0,A=A+Math.imul(s,o0)|0,K=K+Math.imul(s,r0)|0,K=K+Math.imul(e,o0)|0,C=C+Math.imul(e,r0)|0,A=A+Math.imul(U0,s0)|0,K=K+Math.imul(U0,i)|0,K=K+Math.imul(W0,s0)|0,C=C+Math.imul(W0,i)|0,A=A+Math.imul(v,_0)|0,K=K+Math.imul(v,E0)|0,K=K+Math.imul(h,_0)|0,C=C+Math.imul(h,E0)|0;var uU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,t0),K=Math.imul(M0,i0),K=K+Math.imul(v0,t0)|0,C=Math.imul(v0,i0),A=A+Math.imul(I0,m)|0,K=K+Math.imul(I0,X0)|0,K=K+Math.imul(z0,m)|0,C=C+Math.imul(z0,X0)|0,A=A+Math.imul(Q0,j0)|0,K=K+Math.imul(Q0,N0)|0,K=K+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(c,x0)|0,K=K+Math.imul(c,y0)|0,K=K+Math.imul(n,x0)|0,C=C+Math.imul(n,y0)|0,A=A+Math.imul(Z0,o0)|0,K=K+Math.imul(Z0,r0)|0,K=K+Math.imul(A0,o0)|0,C=C+Math.imul(A0,r0)|0,A=A+Math.imul(s,s0)|0,K=K+Math.imul(s,i)|0,K=K+Math.imul(e,s0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,_0)|0,K=K+Math.imul(U0,E0)|0,K=K+Math.imul(W0,_0)|0,C=C+Math.imul(W0,E0)|0,A=A+Math.imul(v,n0)|0,K=K+Math.imul(v,a0)|0,K=K+Math.imul(h,n0)|0,C=C+Math.imul(h,a0)|0;var hU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(m0,t0),K=Math.imul(m0,i0),K=K+Math.imul(p0,t0)|0,C=Math.imul(p0,i0),A=A+Math.imul(M0,m)|0,K=K+Math.imul(M0,X0)|0,K=K+Math.imul(v0,m)|0,C=C+Math.imul(v0,X0)|0,A=A+Math.imul(I0,j0)|0,K=K+Math.imul(I0,N0)|0,K=K+Math.imul(z0,j0)|0,C=C+Math.imul(z0,N0)|0,A=A+Math.imul(Q0,x0)|0,K=K+Math.imul(Q0,y0)|0,K=K+Math.imul(O0,x0)|0,C=C+Math.imul(O0,y0)|0,A=A+Math.imul(c,o0)|0,K=K+Math.imul(c,r0)|0,K=K+Math.imul(n,o0)|0,C=C+Math.imul(n,r0)|0,A=A+Math.imul(Z0,s0)|0,K=K+Math.imul(Z0,i)|0,K=K+Math.imul(A0,s0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,_0)|0,K=K+Math.imul(s,E0)|0,K=K+Math.imul(e,_0)|0,C=C+Math.imul(e,E0)|0,A=A+Math.imul(U0,n0)|0,K=K+Math.imul(U0,a0)|0,K=K+Math.imul(W0,n0)|0,C=C+Math.imul(W0,a0)|0,A=A+Math.imul(v,X$)|0,K=K+Math.imul(v,U$)|0,K=K+Math.imul(h,X$)|0,C=C+Math.imul(h,U$)|0;var cU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(h0,t0),K=Math.imul(h0,i0),K=K+Math.imul(c0,t0)|0,C=Math.imul(c0,i0),A=A+Math.imul(m0,m)|0,K=K+Math.imul(m0,X0)|0,K=K+Math.imul(p0,m)|0,C=C+Math.imul(p0,X0)|0,A=A+Math.imul(M0,j0)|0,K=K+Math.imul(M0,N0)|0,K=K+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(I0,x0)|0,K=K+Math.imul(I0,y0)|0,K=K+Math.imul(z0,x0)|0,C=C+Math.imul(z0,y0)|0,A=A+Math.imul(Q0,o0)|0,K=K+Math.imul(Q0,r0)|0,K=K+Math.imul(O0,o0)|0,C=C+Math.imul(O0,r0)|0,A=A+Math.imul(c,s0)|0,K=K+Math.imul(c,i)|0,K=K+Math.imul(n,s0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,_0)|0,K=K+Math.imul(Z0,E0)|0,K=K+Math.imul(A0,_0)|0,C=C+Math.imul(A0,E0)|0,A=A+Math.imul(s,n0)|0,K=K+Math.imul(s,a0)|0,K=K+Math.imul(e,n0)|0,C=C+Math.imul(e,a0)|0,A=A+Math.imul(U0,X$)|0,K=K+Math.imul(U0,U$)|0,K=K+Math.imul(W0,X$)|0,C=C+Math.imul(W0,U$)|0,A=A+Math.imul(v,J$)|0,K=K+Math.imul(v,$$)|0,K=K+Math.imul(h,J$)|0,C=C+Math.imul(h,$$)|0;var pU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(h0,m),K=Math.imul(h0,X0),K=K+Math.imul(c0,m)|0,C=Math.imul(c0,X0),A=A+Math.imul(m0,j0)|0,K=K+Math.imul(m0,N0)|0,K=K+Math.imul(p0,j0)|0,C=C+Math.imul(p0,N0)|0,A=A+Math.imul(M0,x0)|0,K=K+Math.imul(M0,y0)|0,K=K+Math.imul(v0,x0)|0,C=C+Math.imul(v0,y0)|0,A=A+Math.imul(I0,o0)|0,K=K+Math.imul(I0,r0)|0,K=K+Math.imul(z0,o0)|0,C=C+Math.imul(z0,r0)|0,A=A+Math.imul(Q0,s0)|0,K=K+Math.imul(Q0,i)|0,K=K+Math.imul(O0,s0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(c,_0)|0,K=K+Math.imul(c,E0)|0,K=K+Math.imul(n,_0)|0,C=C+Math.imul(n,E0)|0,A=A+Math.imul(Z0,n0)|0,K=K+Math.imul(Z0,a0)|0,K=K+Math.imul(A0,n0)|0,C=C+Math.imul(A0,a0)|0,A=A+Math.imul(s,X$)|0,K=K+Math.imul(s,U$)|0,K=K+Math.imul(e,X$)|0,C=C+Math.imul(e,U$)|0,A=A+Math.imul(U0,J$)|0,K=K+Math.imul(U0,$$)|0,K=K+Math.imul(W0,J$)|0,C=C+Math.imul(W0,$$)|0;var t$=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(t$>>>26)|0,t$&=67108863,A=Math.imul(h0,j0),K=Math.imul(h0,N0),K=K+Math.imul(c0,j0)|0,C=Math.imul(c0,N0),A=A+Math.imul(m0,x0)|0,K=K+Math.imul(m0,y0)|0,K=K+Math.imul(p0,x0)|0,C=C+Math.imul(p0,y0)|0,A=A+Math.imul(M0,o0)|0,K=K+Math.imul(M0,r0)|0,K=K+Math.imul(v0,o0)|0,C=C+Math.imul(v0,r0)|0,A=A+Math.imul(I0,s0)|0,K=K+Math.imul(I0,i)|0,K=K+Math.imul(z0,s0)|0,C=C+Math.imul(z0,i)|0,A=A+Math.imul(Q0,_0)|0,K=K+Math.imul(Q0,E0)|0,K=K+Math.imul(O0,_0)|0,C=C+Math.imul(O0,E0)|0,A=A+Math.imul(c,n0)|0,K=K+Math.imul(c,a0)|0,K=K+Math.imul(n,n0)|0,C=C+Math.imul(n,a0)|0,A=A+Math.imul(Z0,X$)|0,K=K+Math.imul(Z0,U$)|0,K=K+Math.imul(A0,X$)|0,C=C+Math.imul(A0,U$)|0,A=A+Math.imul(s,J$)|0,K=K+Math.imul(s,$$)|0,K=K+Math.imul(e,J$)|0,C=C+Math.imul(e,$$)|0;var LU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(h0,x0),K=Math.imul(h0,y0),K=K+Math.imul(c0,x0)|0,C=Math.imul(c0,y0),A=A+Math.imul(m0,o0)|0,K=K+Math.imul(m0,r0)|0,K=K+Math.imul(p0,o0)|0,C=C+Math.imul(p0,r0)|0,A=A+Math.imul(M0,s0)|0,K=K+Math.imul(M0,i)|0,K=K+Math.imul(v0,s0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(I0,_0)|0,K=K+Math.imul(I0,E0)|0,K=K+Math.imul(z0,_0)|0,C=C+Math.imul(z0,E0)|0,A=A+Math.imul(Q0,n0)|0,K=K+Math.imul(Q0,a0)|0,K=K+Math.imul(O0,n0)|0,C=C+Math.imul(O0,a0)|0,A=A+Math.imul(c,X$)|0,K=K+Math.imul(c,U$)|0,K=K+Math.imul(n,X$)|0,C=C+Math.imul(n,U$)|0,A=A+Math.imul(Z0,J$)|0,K=K+Math.imul(Z0,$$)|0,K=K+Math.imul(A0,J$)|0,C=C+Math.imul(A0,$$)|0;var OU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(OU>>>26)|0,OU&=67108863,A=Math.imul(h0,o0),K=Math.imul(h0,r0),K=K+Math.imul(c0,o0)|0,C=Math.imul(c0,r0),A=A+Math.imul(m0,s0)|0,K=K+Math.imul(m0,i)|0,K=K+Math.imul(p0,s0)|0,C=C+Math.imul(p0,i)|0,A=A+Math.imul(M0,_0)|0,K=K+Math.imul(M0,E0)|0,K=K+Math.imul(v0,_0)|0,C=C+Math.imul(v0,E0)|0,A=A+Math.imul(I0,n0)|0,K=K+Math.imul(I0,a0)|0,K=K+Math.imul(z0,n0)|0,C=C+Math.imul(z0,a0)|0,A=A+Math.imul(Q0,X$)|0,K=K+Math.imul(Q0,U$)|0,K=K+Math.imul(O0,X$)|0,C=C+Math.imul(O0,U$)|0,A=A+Math.imul(c,J$)|0,K=K+Math.imul(c,$$)|0,K=K+Math.imul(n,J$)|0,C=C+Math.imul(n,$$)|0;var mU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(h0,s0),K=Math.imul(h0,i),K=K+Math.imul(c0,s0)|0,C=Math.imul(c0,i),A=A+Math.imul(m0,_0)|0,K=K+Math.imul(m0,E0)|0,K=K+Math.imul(p0,_0)|0,C=C+Math.imul(p0,E0)|0,A=A+Math.imul(M0,n0)|0,K=K+Math.imul(M0,a0)|0,K=K+Math.imul(v0,n0)|0,C=C+Math.imul(v0,a0)|0,A=A+Math.imul(I0,X$)|0,K=K+Math.imul(I0,U$)|0,K=K+Math.imul(z0,X$)|0,C=C+Math.imul(z0,U$)|0,A=A+Math.imul(Q0,J$)|0,K=K+Math.imul(Q0,$$)|0,K=K+Math.imul(O0,J$)|0,C=C+Math.imul(O0,$$)|0;var PU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(PU>>>26)|0,PU&=67108863,A=Math.imul(h0,_0),K=Math.imul(h0,E0),K=K+Math.imul(c0,_0)|0,C=Math.imul(c0,E0),A=A+Math.imul(m0,n0)|0,K=K+Math.imul(m0,a0)|0,K=K+Math.imul(p0,n0)|0,C=C+Math.imul(p0,a0)|0,A=A+Math.imul(M0,X$)|0,K=K+Math.imul(M0,U$)|0,K=K+Math.imul(v0,X$)|0,C=C+Math.imul(v0,U$)|0,A=A+Math.imul(I0,J$)|0,K=K+Math.imul(I0,$$)|0,K=K+Math.imul(z0,J$)|0,C=C+Math.imul(z0,$$)|0;var vU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(vU>>>26)|0,vU&=67108863,A=Math.imul(h0,n0),K=Math.imul(h0,a0),K=K+Math.imul(c0,n0)|0,C=Math.imul(c0,a0),A=A+Math.imul(m0,X$)|0,K=K+Math.imul(m0,U$)|0,K=K+Math.imul(p0,X$)|0,C=C+Math.imul(p0,U$)|0,A=A+Math.imul(M0,J$)|0,K=K+Math.imul(M0,$$)|0,K=K+Math.imul(v0,J$)|0,C=C+Math.imul(v0,$$)|0;var gU=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(gU>>>26)|0,gU&=67108863,A=Math.imul(h0,X$),K=Math.imul(h0,U$),K=K+Math.imul(c0,X$)|0,C=Math.imul(c0,U$),A=A+Math.imul(m0,J$)|0,K=K+Math.imul(m0,$$)|0,K=K+Math.imul(p0,J$)|0,C=C+Math.imul(p0,$$)|0;var _U=(E+A|0)+((K&8191)<<13)|0;E=(C+(K>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(h0,J$),K=Math.imul(h0,$$),K=K+Math.imul(c0,J$)|0,C=Math.imul(c0,$$);var MU=(E+A|0)+((K&8191)<<13)|0;if(E=(C+(K>>>13)|0)+(MU>>>26)|0,MU&=67108863,q[0]=RU,q[1]=B$,q[2]=E$,q[3]=$U,q[4]=d$,q[5]=bU,q[6]=uU,q[7]=hU,q[8]=cU,q[9]=pU,q[10]=t$,q[11]=LU,q[12]=OU,q[13]=mU,q[14]=PU,q[15]=vU,q[16]=gU,q[17]=_U,q[18]=MU,E!==0)q[19]=E,D.length++;return D};if(!Math.imul)w=y;function u(G,V,D){D.negative=V.negative^G.negative,D.length=G.length+V.length;var O=0,H=0;for(var q=0;q<D.length-1;q++){var E=H;H=0;var A=O&67108863,K=Math.min(q,V.length-1);for(var C=Math.max(0,q-G.length+1);C<=K;C++){var x=q-C,v=G.words[x]|0,h=V.words[C]|0,r=v*h,U0=r&67108863;E=E+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,E=E+(U0>>>26)|0,H+=E>>>26,E&=67108863}D.words[q]=A,O=E,E=H}if(O!==0)D.words[q]=O;else D.length--;return D.strip()}function g(G,V,D){var O=new b;return O.mulp(G,V,D)}Z.prototype.mulTo=function(G,V){var D,O=this.length+G.length;if(this.length===10&&G.length===10)D=w(this,G,V);else if(O<63)D=y(this,G,V);else if(O<1024)D=u(this,G,V);else D=g(this,G,V);return D};function b(G,V){this.x=G,this.y=V}b.prototype.makeRBT=function(G){var V=Array(G),D=Z.prototype._countBits(G)-1;for(var O=0;O<G;O++)V[O]=this.revBin(O,D,G);return V},b.prototype.revBin=function(G,V,D){if(G===0||G===D-1)return G;var O=0;for(var H=0;H<V;H++)O|=(G&1)<<V-H-1,G>>=1;return O},b.prototype.permute=function(G,V,D,O,H,q){for(var E=0;E<q;E++)O[E]=V[G[E]],H[E]=D[G[E]]},b.prototype.transform=function(G,V,D,O,H,q){this.permute(q,G,V,D,O,H);for(var E=1;E<H;E<<=1){var A=E<<1,K=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var x=0;x<H;x+=A){var v=K,h=C;for(var r=0;r<E;r++){var U0=D[x+r],W0=O[x+r],Y0=D[x+r+E],s=O[x+r+E],e=v*Y0-h*s;if(s=v*s+h*Y0,Y0=e,D[x+r]=U0+Y0,O[x+r]=W0+s,D[x+r+E]=U0-Y0,O[x+r+E]=W0-s,r!==A)e=K*v-C*h,h=K*h+C*v,v=e}}}},b.prototype.guessLen13b=function(G,V){var D=Math.max(V,G)|1,O=D&1,H=0;for(D=D/2|0;D;D=D>>>1)H++;return 1<<H+1+O},b.prototype.conjugate=function(G,V,D){if(D<=1)return;for(var O=0;O<D/2;O++){var H=G[O];G[O]=G[D-O-1],G[D-O-1]=H,H=V[O],V[O]=-V[D-O-1],V[D-O-1]=-H}},b.prototype.normalize13b=function(G,V){var D=0;for(var O=0;O<V/2;O++){var H=Math.round(G[2*O+1]/V)*8192+Math.round(G[2*O]/V)+D;if(G[O]=H&67108863,H<67108864)D=0;else D=H/67108864|0}return G},b.prototype.convert13b=function(G,V,D,O){var H=0;for(var q=0;q<V;q++)H=H+(G[q]|0),D[2*q]=H&8191,H=H>>>13,D[2*q+1]=H&8191,H=H>>>13;for(q=2*V;q<O;++q)D[q]=0;X(H===0),X((H&-8192)===0)},b.prototype.stub=function(G){var V=Array(G);for(var D=0;D<G;D++)V[D]=0;return V},b.prototype.mulp=function(G,V,D){var O=2*this.guessLen13b(G.length,V.length),H=this.makeRBT(O),q=this.stub(O),E=Array(O),A=Array(O),K=Array(O),C=Array(O),x=Array(O),v=Array(O),h=D.words;h.length=O,this.convert13b(G.words,G.length,E,O),this.convert13b(V.words,V.length,C,O),this.transform(E,q,A,K,O,H),this.transform(C,q,x,v,O,H);for(var r=0;r<O;r++){var U0=A[r]*x[r]-K[r]*v[r];K[r]=A[r]*v[r]+K[r]*x[r],A[r]=U0}return this.conjugate(A,K,O),this.transform(A,K,h,q,O,H),this.conjugate(h,q,O),this.normalize13b(h,O),D.negative=G.negative^V.negative,D.length=G.length+V.length,D.strip()},Z.prototype.mul=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),this.mulTo(G,V)},Z.prototype.mulf=function(G){var V=new Z(null);return V.words=Array(this.length+G.length),g(this,G,V)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){X(typeof G==="number"),X(G<67108864);var V=0;for(var D=0;D<this.length;D++){var O=(this.words[D]|0)*G,H=(O&67108863)+(V&67108863);V>>=26,V+=O/67108864|0,V+=H>>>26,this.words[D]=H&67108863}if(V!==0)this.words[D]=V,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var V=N(G);if(V.length===0)return new Z(1);var D=this;for(var O=0;O<V.length;O++,D=D.sqr())if(V[O]!==0)break;if(++O<V.length)for(var H=D.sqr();O<V.length;O++,H=H.sqr()){if(V[O]===0)continue;D=D.mul(H)}return D},Z.prototype.iushln=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=67108863>>>26-V<<26-V,H;if(V!==0){var q=0;for(H=0;H<this.length;H++){var E=this.words[H]&O,A=(this.words[H]|0)-E<<V;this.words[H]=A|q,q=E>>>26-V}if(q)this.words[H]=q,this.length++}if(D!==0){for(H=this.length-1;H>=0;H--)this.words[H+D]=this.words[H];for(H=0;H<D;H++)this.words[H]=0;this.length+=D}return this.strip()},Z.prototype.ishln=function(G){return X(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,V,D){X(typeof G==="number"&&G>=0);var O;if(V)O=(V-V%26)/26;else O=0;var H=G%26,q=Math.min((G-H)/26,this.length),E=67108863^67108863>>>H<<H,A=D;if(O-=q,O=Math.max(0,O),A){for(var K=0;K<q;K++)A.words[K]=this.words[K];A.length=q}if(q===0);else if(this.length>q){this.length-=q;for(K=0;K<this.length;K++)this.words[K]=this.words[K+q]}else this.words[0]=0,this.length=1;var C=0;for(K=this.length-1;K>=0&&(C!==0||K>=O);K--){var x=this.words[K]|0;this.words[K]=C<<26-H|x>>>H,C=x&E}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,V,D){return X(this.negative===0),this.iushrn(G,V,D)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return!1;var H=this.words[D];return!!(H&O)},Z.prototype.imaskn=function(G){X(typeof G==="number"&&G>=0);var V=G%26,D=(G-V)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=D)return this;if(V!==0)D++;if(this.length=Math.min(D,this.length),V!==0){var O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var 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},Z.prototype.isubn=function(G){if(X(typeof G==="number"),X(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,V,D){var O=G.length+D,H;this._expand(O);var q,E=0;for(H=0;H<G.length;H++){q=(this.words[H+D]|0)+E;var A=(G.words[H]|0)*V;q-=A&67108863,E=(q>>26)-(A/67108864|0),this.words[H+D]=q&67108863}for(;H<this.length-D;H++)q=(this.words[H+D]|0)+E,E=q>>26,this.words[H+D]=q&67108863;if(E===0)return this.strip();X(E===-1),E=0;for(H=0;H<this.length;H++)q=-(this.words[H]|0)+E,E=q>>26,this.words[H]=q&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,V){var D=this.length-G.length,O=this.clone(),H=G,q=H.words[H.length-1]|0,E=this._countBits(q);if(D=26-E,D!==0)H=H.ushln(D),O.iushln(D),q=H.words[H.length-1]|0;var A=O.length-H.length,K;if(V!=="mod"){K=new Z(null),K.length=A+1,K.words=Array(K.length);for(var C=0;C<K.length;C++)K.words[C]=0}var x=O.clone()._ishlnsubmul(H,1,A);if(x.negative===0){if(O=x,K)K.words[A]=1}for(var v=A-1;v>=0;v--){var h=(O.words[H.length+v]|0)*67108864+(O.words[H.length+v-1]|0);h=Math.min(h/q|0,67108863),O._ishlnsubmul(H,h,v);while(O.negative!==0)if(h--,O.negative=0,O._ishlnsubmul(H,1,v),!O.isZero())O.negative^=1;if(K)K.words[v]=h}if(K)K.strip();if(O.strip(),V!=="div"&&D!==0)O.iushrn(D);return{div:K||null,mod:O}},Z.prototype.divmod=function(G,V,D){if(X(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var O,H,q;if(this.negative!==0&&G.negative===0){if(q=this.neg().divmod(G,V),V!=="mod")O=q.div.neg();if(V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.iadd(G)}return{div:O,mod:H}}if(this.negative===0&&G.negative!==0){if(q=this.divmod(G.neg(),V),V!=="mod")O=q.div.neg();return{div:O,mod:q.mod}}if((this.negative&G.negative)!==0){if(q=this.neg().divmod(G.neg(),V),V!=="div"){if(H=q.mod.neg(),D&&H.negative!==0)H.isub(G)}return{div:q.div,mod:H}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(V==="div")return{div:this.divn(G.words[0]),mod:null};if(V==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,V)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var V=this.divmod(G);if(V.mod.isZero())return V.div;var D=V.div.negative!==0?V.mod.isub(G):V.mod,O=G.ushrn(1),H=G.andln(1),q=D.cmp(O);if(q<0||H===1&&q===0)return V.div;return V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},Z.prototype.modn=function(G){X(G<=67108863);var V=67108864%G,D=0;for(var O=this.length-1;O>=0;O--)D=(V*D+(this.words[O]|0))%G;return D},Z.prototype.idivn=function(G){X(G<=67108863);var V=0;for(var D=this.length-1;D>=0;D--){var O=(this.words[D]|0)+V*67108864;this.words[D]=O/G|0,V=O%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=new Z(0),E=new Z(1),A=0;while(V.isEven()&&D.isEven())V.iushrn(1),D.iushrn(1),++A;var K=D.clone(),C=V.clone();while(!V.isZero()){for(var x=0,v=1;(V.words[0]&v)===0&&x<26;++x,v<<=1);if(x>0){V.iushrn(x);while(x-- >0){if(O.isOdd()||H.isOdd())O.iadd(K),H.isub(C);O.iushrn(1),H.iushrn(1)}}for(var h=0,r=1;(D.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){D.iushrn(h);while(h-- >0){if(q.isOdd()||E.isOdd())q.iadd(K),E.isub(C);q.iushrn(1),E.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(q),H.isub(E);else D.isub(V),q.isub(O),E.isub(H)}return{a:q,b:E,gcd:D.iushln(A)}},Z.prototype._invmp=function(G){X(G.negative===0),X(!G.isZero());var V=this,D=G.clone();if(V.negative!==0)V=V.umod(G);else V=V.clone();var O=new Z(1),H=new Z(0),q=D.clone();while(V.cmpn(1)>0&&D.cmpn(1)>0){for(var E=0,A=1;(V.words[0]&A)===0&&E<26;++E,A<<=1);if(E>0){V.iushrn(E);while(E-- >0){if(O.isOdd())O.iadd(q);O.iushrn(1)}}for(var K=0,C=1;(D.words[0]&C)===0&&K<26;++K,C<<=1);if(K>0){D.iushrn(K);while(K-- >0){if(H.isOdd())H.iadd(q);H.iushrn(1)}}if(V.cmp(D)>=0)V.isub(D),O.isub(H);else D.isub(V),H.isub(O)}var x;if(V.cmpn(1)===0)x=O;else x=H;if(x.cmpn(0)<0)x.iadd(G);return x},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var V=this.clone(),D=G.clone();V.negative=0,D.negative=0;for(var O=0;V.isEven()&&D.isEven();O++)V.iushrn(1),D.iushrn(1);do{while(V.isEven())V.iushrn(1);while(D.isEven())D.iushrn(1);var H=V.cmp(D);if(H<0){var q=V;V=D,D=q}else if(H===0||D.cmpn(1)===0)break;V.isub(D)}while(!0);return D.iushln(O)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){X(typeof G==="number");var V=G%26,D=(G-V)/26,O=1<<V;if(this.length<=D)return this._expand(D+1),this.words[D]|=O,this;var H=O;for(var q=D;H!==0&&q<this.length;q++){var E=this.words[q]|0;E+=H,H=E>>>26,E&=67108863,this.words[q]=E}if(H!==0)this.words[q]=H,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var V=G<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this.strip();var D;if(this.length>1)D=1;else{if(V)G=-G;X(G<=67108863,"Number is too big");var O=this.words[0]|0;D=O===G?0:O<G?-1:1}if(this.negative!==0)return-D|0;return D},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var V=this.ucmp(G);if(this.negative!==0)return-V|0;return V},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var V=0;for(var D=this.length-1;D>=0;D--){var O=this.words[D]|0,H=G.words[D]|0;if(O===H)continue;if(O<H)V=-1;else if(O>H)V=1;break}return V},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return X(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return X(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,V){this.name=G,this.p=new Z(V,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var V=G,D;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),D=V.bitLength();while(D>this.n);var O=D<this.n?-1:V.ucmp(this.p);if(O===0)V.words[0]=0,V.length=1;else if(O>0)V.isub(this.p);else if(V.strip!==void 0)V.strip();else V._strip();return V},d.prototype.split=function(G,V){G.iushrn(this.n,0,V)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}W(a,d),a.prototype.split=function(G,V){var D=4194303,O=Math.min(G.length,9);for(var H=0;H<O;H++)V.words[H]=G.words[H];if(V.length=O,G.length<=9){G.words[0]=0,G.length=1;return}var q=G.words[9];V.words[V.length++]=q&D;for(H=10;H<G.length;H++){var E=G.words[H]|0;G.words[H-10]=(E&D)<<4|q>>>22,q=E}if(q>>>=22,G.words[H-10]=q,q===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var V=0;for(var D=0;D<G.length;D++){var O=G.words[D]|0;V+=O*977,G.words[D]=V&67108863,V=O*64+(V/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function H0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(H0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(L0,d);function S0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(S0,d),S0.prototype.imulK=function(G){var V=0;for(var D=0;D<G.length;D++){var O=(G.words[D]|0)*19+V,H=O&67108863;O>>>=26,G.words[D]=H,V=O}if(V!==0)G.words[G.length++]=V;return G},Z._prime=function(G){if(p[G])return p[G];var V;if(G==="k256")V=new a;else if(G==="p224")V=new H0;else if(G==="p192")V=new L0;else if(G==="p25519")V=new S0;else throw Error("Unknown prime "+G);return p[G]=V,V};function t(G){if(typeof G==="string"){var V=Z._prime(G);this.m=V.p,this.prime=V}else X(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){X(G.negative===0,"red works only with positives"),X(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,V){X((G.negative|V.negative)===0,"red works only with positives"),X(G.red&&G.red===V.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,V){this._verify2(G,V);var D=G.add(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D._forceRed(this)},t.prototype.iadd=function(G,V){this._verify2(G,V);var D=G.iadd(V);if(D.cmp(this.m)>=0)D.isub(this.m);return D},t.prototype.sub=function(G,V){this._verify2(G,V);var D=G.sub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D._forceRed(this)},t.prototype.isub=function(G,V){this._verify2(G,V);var D=G.isub(V);if(D.cmpn(0)<0)D.iadd(this.m);return D},t.prototype.shl=function(G,V){return this._verify1(G),this.imod(G.ushln(V))},t.prototype.imul=function(G,V){return this._verify2(G,V),this.imod(G.imul(V))},t.prototype.mul=function(G,V){return this._verify2(G,V),this.imod(G.mul(V))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var V=this.m.andln(3);if(X(V%2===1),V===3){var D=this.m.add(new Z(1)).iushrn(2);return this.pow(G,D)}var O=this.m.subn(1),H=0;while(!O.isZero()&&O.andln(1)===0)H++,O.iushrn(1);X(!O.isZero());var q=new Z(1).toRed(this),E=q.redNeg(),A=this.m.subn(1).iushrn(1),K=this.m.bitLength();K=new Z(2*K*K).toRed(this);while(this.pow(K,A).cmp(E)!==0)K.redIAdd(E);var C=this.pow(K,O),x=this.pow(G,O.addn(1).iushrn(1)),v=this.pow(G,O),h=H;while(v.cmp(q)!==0){var r=v;for(var U0=0;r.cmp(q)!==0;U0++)r=r.redSqr();X(U0<h);var W0=this.pow(C,new Z(1).iushln(h-U0-1));x=x.redMul(W0),C=W0.redSqr(),v=v.redMul(C),h=U0}return x},t.prototype.invm=function(G){var V=G._invmp(this.m);if(V.negative!==0)return V.negative=0,this.imod(V).redNeg();else return this.imod(V)},t.prototype.pow=function(G,V){if(V.isZero())return new Z(1).toRed(this);if(V.cmpn(1)===0)return G.clone();var D=4,O=Array(1<<D);O[0]=new Z(1).toRed(this),O[1]=G;for(var H=2;H<O.length;H++)O[H]=this.mul(O[H-1],G);var q=O[0],E=0,A=0,K=V.bitLength()%26;if(K===0)K=26;for(H=V.length-1;H>=0;H--){var C=V.words[H];for(var x=K-1;x>=0;x--){var v=C>>x&1;if(q!==O[0])q=this.sqr(q);if(v===0&&E===0){A=0;continue}if(E<<=1,E|=v,A++,A!==D&&(H!==0||x!==0))continue;q=this.mul(q,O[E]),A=0,E=0}K=26}return q},t.prototype.convertTo=function(G){var V=G.umod(this.m);return V===G?V.clone():V},t.prototype.convertFrom=function(G){var V=G.clone();return V.red=null,V},Z.mont=function(G){return new q0(G)};function q0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W(q0,t),q0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},q0.prototype.convertFrom=function(G){var V=this.imod(G.mul(this.rinv));return V.red=null,V},q0.prototype.imul=function(G,V){if(G.isZero()||V.isZero())return G.words[0]=0,G.length=1,G;var D=G.imul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.mul=function(G,V){if(G.isZero()||V.isZero())return new Z(0)._forceRed(this);var D=G.mul(V),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),H=D.isub(O).iushrn(this.shift),q=H;if(H.cmp(this.m)>=0)q=H.isub(this.m);else if(H.cmpn(0)<0)q=H.iadd(this.m);return q._forceRed(this)},q0.prototype.invm=function(G){var V=this.imod(G._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof J>"u"||J,I)}),HE=u0((I,J)=>{var Q=CF(),z=b1().Buffer;function X(W,Z){return z.from(W.toRed(Q.mont(Z.modulus)).redPow(new Q(Z.publicExponent)).fromRed().toArray())}J.exports=X}),lf=u0((I,J)=>{(function(Q,z){function X(O,H){if(!O)throw Error(H||"Assertion failed")}function W(O,H){O.super_=H;var q=function(){};q.prototype=H.prototype,O.prototype=new q,O.prototype.constructor=O}function Z(O,H,q){if(Z.isBN(O))return O;if(this.negative=0,this.words=null,this.length=0,this.red=null,O!==null){if(H==="le"||H==="be")q=H,H=10;this._init(O||0,H||10,q||"be")}}if(typeof Q==="object")Q.exports=Z;else z.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(O){}Z.isBN=function(O){if(O instanceof Z)return!0;return O!==null&&typeof O==="object"&&O.constructor.wordSize===Z.wordSize&&Array.isArray(O.words)},Z.max=function(O,H){if(O.cmp(H)>0)return O;return H},Z.min=function(O,H){if(O.cmp(H)<0)return O;return H},Z.prototype._init=function(O,H,q){if(typeof O==="number")return this._initNumber(O,H,q);if(typeof O==="object")return this._initArray(O,H,q);if(H==="hex")H=16;X(H===(H|0)&&H>=2&&H<=36),O=O.toString().replace(/\s+/g,"");var E=0;if(O[0]==="-")E++,this.negative=1;if(E<O.length){if(H===16)this._parseHex(O,E,q);else if(this._parseBase(O,H,E),q==="le")this._initArray(this.toArray(),H,q)}},Z.prototype._initNumber=function(O,H,q){if(O<0)this.negative=1,O=-O;if(O<67108864)this.words=[O&67108863],this.length=1;else if(O<4503599627370496)this.words=[O&67108863,O/67108864&67108863],this.length=2;else X(O<9007199254740992),this.words=[O&67108863,O/67108864&67108863,1],this.length=3;if(q!=="le")return;this._initArray(this.toArray(),H,q)},Z.prototype._initArray=function(O,H,q){if(X(typeof O.length==="number"),O.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(O.length/3),this.words=Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var A,K,C=0;if(q==="be"){for(E=O.length-1,A=0;E>=0;E-=3)if(K=O[E]|O[E-1]<<8|O[E-2]<<16,this.words[A]|=K<<C&67108863,this.words[A+1]=K>>>26-C&67108863,C+=24,C>=26)C-=26,A++}else if(q==="le"){for(E=0,A=0;E<O.length;E+=3)if(K=O[E]|O[E+1]<<8|O[E+2]<<16,this.words[A]|=K<<C&67108863,this.words[A+1]=K>>>26-C&67108863,C+=24,C>=26)C-=26,A++}return this._strip()};function j(O,H){var q=O.charCodeAt(H);if(q>=48&&q<=57)return q-48;else if(q>=65&&q<=70)return q-55;else if(q>=97&&q<=102)return q-87;else X(!1,"Invalid character in "+O)}function P(O,H,q){var E=j(O,q);if(q-1>=H)E|=j(O,q-1)<<4;return E}Z.prototype._parseHex=function(O,H,q){this.length=Math.ceil((O.length-H)/6),this.words=Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var A=0,K=0,C;if(q==="be")for(E=O.length-1;E>=H;E-=2)if(C=P(O,H,E)<<A,this.words[K]|=C&67108863,A>=18)A-=18,K+=1,this.words[K]|=C>>>26;else A+=8;else{var x=O.length-H;for(E=x%2===0?H+1:H;E<O.length;E+=2)if(C=P(O,H,E)<<A,this.words[K]|=C&67108863,A>=18)A-=18,K+=1,this.words[K]|=C>>>26;else A+=8}this._strip()};function S(O,H,q,E){var A=0,K=0,C=Math.min(O.length,q);for(var x=H;x<C;x++){var v=O.charCodeAt(x)-48;if(A*=E,v>=49)K=v-49+10;else if(v>=17)K=v-17+10;else K=v;X(v>=0&&K<E,"Invalid character"),A+=K}return A}Z.prototype._parseBase=function(O,H,q){this.words=[0],this.length=1;for(var E=0,A=1;A<=67108863;A*=H)E++;E--,A=A/H|0;var K=O.length-q,C=K%E,x=Math.min(K,K-C)+q,v=0;for(var h=q;h<x;h+=E)if(v=S(O,h,h+E,H),this.imuln(A),this.words[0]+v<67108864)this.words[0]+=v;else this._iaddn(v);if(C!==0){var r=1;v=S(O,h,O.length,H);for(h=0;h<C;h++)r*=H;if(this.imuln(r),this.words[0]+v<67108864)this.words[0]+=v;else this._iaddn(v)}this._strip()},Z.prototype.copy=function(O){O.words=Array(this.length);for(var H=0;H<this.length;H++)O.words[H]=this.words[H];O.length=this.length,O.negative=this.negative,O.red=this.red};function T(O,H){O.words=H.words,O.length=H.length,O.negative=H.negative,O.red=H.red}if(Z.prototype._move=function(O){T(O,this)},Z.prototype.clone=function(){var O=new Z(null);return this.copy(O),O},Z.prototype._expand=function(O){while(this.length<O)this.words[this.length++]=0;return this},Z.prototype._strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},typeof Symbol<"u"&&typeof Symbol.for==="function")try{Z.prototype[Symbol.for("nodejs.util.inspect.custom")]=_}catch(O){Z.prototype.inspect=_}else Z.prototype.inspect=_;function _(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var B=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],N=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(O,H){O=O||10,H=H|0||1;var q;if(O===16||O==="hex"){q="";var E=0,A=0;for(var K=0;K<this.length;K++){var C=this.words[K],x=((C<<E|A)&16777215).toString(16);if(A=C>>>24-E&16777215,E+=2,E>=26)E-=26,K--;if(A!==0||K!==this.length-1)q=B[6-x.length]+x+q;else q=x+q}if(A!==0)q=A.toString(16)+q;while(q.length%H!==0)q="0"+q;if(this.negative!==0)q="-"+q;return q}if(O===(O|0)&&O>=2&&O<=36){var v=N[O],h=y[O];q="";var r=this.clone();r.negative=0;while(!r.isZero()){var U0=r.modrn(h).toString(O);if(r=r.idivn(h),!r.isZero())q=B[v-U0.length]+U0+q;else q=U0+q}if(this.isZero())q="0"+q;while(q.length%H!==0)q="0"+q;if(this.negative!==0)q="-"+q;return q}X(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var O=this.words[0];if(this.length===2)O+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)O+=4503599627370496+this.words[1]*67108864;else if(this.length>2)X(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-O:O},Z.prototype.toJSON=function(){return this.toString(16,2)},L)Z.prototype.toBuffer=function(O,H){return this.toArrayLike(L,O,H)};Z.prototype.toArray=function(O,H){return this.toArrayLike(Array,O,H)};var w=function(O,H){if(O.allocUnsafe)return O.allocUnsafe(H);return new O(H)};if(Z.prototype.toArrayLike=function(O,H,q){this._strip();var E=this.byteLength(),A=q||Math.max(1,E);X(E<=A,"byte array longer than desired length"),X(A>0,"Requested array length <= 0");var K=w(O,A),C=H==="le"?"LE":"BE";return this["_toArrayLike"+C](K,E),K},Z.prototype._toArrayLikeLE=function(O,H){var q=0,E=0;for(var A=0,K=0;A<this.length;A++){var C=this.words[A]<<K|E;if(O[q++]=C&255,q<O.length)O[q++]=C>>8&255;if(q<O.length)O[q++]=C>>16&255;if(K===6){if(q<O.length)O[q++]=C>>24&255;E=0,K=0}else E=C>>>24,K+=2}if(q<O.length){O[q++]=E;while(q<O.length)O[q++]=0}},Z.prototype._toArrayLikeBE=function(O,H){var q=O.length-1,E=0;for(var A=0,K=0;A<this.length;A++){var C=this.words[A]<<K|E;if(O[q--]=C&255,q>=0)O[q--]=C>>8&255;if(q>=0)O[q--]=C>>16&255;if(K===6){if(q>=0)O[q--]=C>>24&255;E=0,K=0}else E=C>>>24,K+=2}if(q>=0){O[q--]=E;while(q>=0)O[q--]=0}},Math.clz32)Z.prototype._countBits=function(O){return 32-Math.clz32(O)};else Z.prototype._countBits=function(O){var H=O,q=0;if(H>=4096)q+=13,H>>>=13;if(H>=64)q+=7,H>>>=7;if(H>=8)q+=4,H>>>=4;if(H>=2)q+=2,H>>>=2;return q+H};Z.prototype._zeroBits=function(O){if(O===0)return 26;var H=O,q=0;if((H&8191)===0)q+=13,H>>>=13;if((H&127)===0)q+=7,H>>>=7;if((H&15)===0)q+=4,H>>>=4;if((H&3)===0)q+=2,H>>>=2;if((H&1)===0)q++;return q},Z.prototype.bitLength=function(){var O=this.words[this.length-1],H=this._countBits(O);return(this.length-1)*26+H};function u(O){var H=Array(O.bitLength());for(var q=0;q<H.length;q++){var E=q/26|0,A=q%26;H[q]=O.words[E]>>>A&1}return H}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var O=0;for(var H=0;H<this.length;H++){var q=this._zeroBits(this.words[H]);if(O+=q,q!==26)break}return O},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(O){if(this.negative!==0)return this.abs().inotn(O).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(O){if(this.testn(O-1))return this.notn(O).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(O){while(this.length<O.length)this.words[this.length++]=0;for(var H=0;H<O.length;H++)this.words[H]=this.words[H]|O.words[H];return this._strip()},Z.prototype.ior=function(O){return X((this.negative|O.negative)===0),this.iuor(O)},Z.prototype.or=function(O){if(this.length>O.length)return this.clone().ior(O);return O.clone().ior(this)},Z.prototype.uor=function(O){if(this.length>O.length)return this.clone().iuor(O);return O.clone().iuor(this)},Z.prototype.iuand=function(O){var H;if(this.length>O.length)H=O;else H=this;for(var q=0;q<H.length;q++)this.words[q]=this.words[q]&O.words[q];return this.length=H.length,this._strip()},Z.prototype.iand=function(O){return X((this.negative|O.negative)===0),this.iuand(O)},Z.prototype.and=function(O){if(this.length>O.length)return this.clone().iand(O);return O.clone().iand(this)},Z.prototype.uand=function(O){if(this.length>O.length)return this.clone().iuand(O);return O.clone().iuand(this)},Z.prototype.iuxor=function(O){var H,q;if(this.length>O.length)H=this,q=O;else H=O,q=this;for(var E=0;E<q.length;E++)this.words[E]=H.words[E]^q.words[E];if(this!==H)for(;E<H.length;E++)this.words[E]=H.words[E];return this.length=H.length,this._strip()},Z.prototype.ixor=function(O){return X((this.negative|O.negative)===0),this.iuxor(O)},Z.prototype.xor=function(O){if(this.length>O.length)return this.clone().ixor(O);return O.clone().ixor(this)},Z.prototype.uxor=function(O){if(this.length>O.length)return this.clone().iuxor(O);return O.clone().iuxor(this)},Z.prototype.inotn=function(O){X(typeof O==="number"&&O>=0);var H=Math.ceil(O/26)|0,q=O%26;if(this._expand(H),q>0)H--;for(var E=0;E<H;E++)this.words[E]=~this.words[E]&67108863;if(q>0)this.words[E]=~this.words[E]&67108863>>26-q;return this._strip()},Z.prototype.notn=function(O){return this.clone().inotn(O)},Z.prototype.setn=function(O,H){X(typeof O==="number"&&O>=0);var q=O/26|0,E=O%26;if(this._expand(q+1),H)this.words[q]=this.words[q]|1<<E;else this.words[q]=this.words[q]&~(1<<E);return this._strip()},Z.prototype.iadd=function(O){var H;if(this.negative!==0&&O.negative===0)return this.negative=0,H=this.isub(O),this.negative^=1,this._normSign();else if(this.negative===0&&O.negative!==0)return O.negative=0,H=this.isub(O),O.negative=1,H._normSign();var q,E;if(this.length>O.length)q=this,E=O;else q=O,E=this;var A=0;for(var K=0;K<E.length;K++)H=(q.words[K]|0)+(E.words[K]|0)+A,this.words[K]=H&67108863,A=H>>>26;for(;A!==0&&K<q.length;K++)H=(q.words[K]|0)+A,this.words[K]=H&67108863,A=H>>>26;if(this.length=q.length,A!==0)this.words[this.length]=A,this.length++;else if(q!==this)for(;K<q.length;K++)this.words[K]=q.words[K];return this},Z.prototype.add=function(O){var H;if(O.negative!==0&&this.negative===0)return O.negative=0,H=this.sub(O),O.negative^=1,H;else if(O.negative===0&&this.negative!==0)return this.negative=0,H=O.sub(this),this.negative=1,H;if(this.length>O.length)return this.clone().iadd(O);return O.clone().iadd(this)},Z.prototype.isub=function(O){if(O.negative!==0){O.negative=0;var H=this.iadd(O);return O.negative=1,H._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(O),this.negative=1,this._normSign();var q=this.cmp(O);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;var E,A;if(q>0)E=this,A=O;else E=O,A=this;var K=0;for(var C=0;C<A.length;C++)H=(E.words[C]|0)-(A.words[C]|0)+K,K=H>>26,this.words[C]=H&67108863;for(;K!==0&&C<E.length;C++)H=(E.words[C]|0)+K,K=H>>26,this.words[C]=H&67108863;if(K===0&&C<E.length&&E!==this)for(;C<E.length;C++)this.words[C]=E.words[C];if(this.length=Math.max(this.length,C),E!==this)this.negative=1;return this._strip()},Z.prototype.sub=function(O){return this.clone().isub(O)};function g(O,H,q){q.negative=H.negative^O.negative;var E=O.length+H.length|0;q.length=E,E=E-1|0;var A=O.words[0]|0,K=H.words[0]|0,C=A*K,x=C&67108863,v=C/67108864|0;q.words[0]=x;for(var h=1;h<E;h++){var r=v>>>26,U0=v&67108863,W0=Math.min(h,H.length-1);for(var Y0=Math.max(0,h-O.length+1);Y0<=W0;Y0++){var s=h-Y0|0;A=O.words[s]|0,K=H.words[Y0]|0,C=A*K+U0,r+=C/67108864|0,U0=C&67108863}q.words[h]=U0|0,v=r|0}if(v!==0)q.words[h]=v|0;else q.length--;return q._strip()}var b=function(O,H,q){var E=O.words,A=H.words,K=q.words,C=0,x,v,h,r=E[0]|0,U0=r&8191,W0=r>>>13,Y0=E[1]|0,s=Y0&8191,e=Y0>>>13,J0=E[2]|0,Z0=J0&8191,A0=J0>>>13,$0=E[3]|0,c=$0&8191,n=$0>>>13,D0=E[4]|0,Q0=D0&8191,O0=D0>>>13,k0=E[5]|0,I0=k0&8191,z0=k0>>>13,I$=E[6]|0,M0=I$&8191,v0=I$>>>13,M$=E[7]|0,m0=M$&8191,p0=M$>>>13,r$=E[8]|0,h0=r$&8191,c0=r$>>>13,YU=E[9]|0,t0=YU&8191,i0=YU>>>13,qU=A[0]|0,m=qU&8191,X0=qU>>>13,e0=A[1]|0,j0=e0&8191,N0=e0>>>13,D$=A[2]|0,x0=D$&8191,y0=D$>>>13,V$=A[3]|0,o0=V$&8191,r0=V$>>>13,zU=A[4]|0,s0=zU&8191,i=zU>>>13,G0=A[5]|0,_0=G0&8191,E0=G0>>>13,W$=A[6]|0,n0=W$&8191,a0=W$>>>13,DU=A[7]|0,X$=DU&8191,U$=DU>>>13,e$=A[8]|0,J$=e$&8191,$$=e$>>>13,RU=A[9]|0,B$=RU&8191,E$=RU>>>13;q.negative=O.negative^H.negative,q.length=19,x=Math.imul(U0,m),v=Math.imul(U0,X0),v=v+Math.imul(W0,m)|0,h=Math.imul(W0,X0);var $U=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+($U>>>26)|0,$U&=67108863,x=Math.imul(s,m),v=Math.imul(s,X0),v=v+Math.imul(e,m)|0,h=Math.imul(e,X0),x=x+Math.imul(U0,j0)|0,v=v+Math.imul(U0,N0)|0,v=v+Math.imul(W0,j0)|0,h=h+Math.imul(W0,N0)|0;var d$=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(d$>>>26)|0,d$&=67108863,x=Math.imul(Z0,m),v=Math.imul(Z0,X0),v=v+Math.imul(A0,m)|0,h=Math.imul(A0,X0),x=x+Math.imul(s,j0)|0,v=v+Math.imul(s,N0)|0,v=v+Math.imul(e,j0)|0,h=h+Math.imul(e,N0)|0,x=x+Math.imul(U0,x0)|0,v=v+Math.imul(U0,y0)|0,v=v+Math.imul(W0,x0)|0,h=h+Math.imul(W0,y0)|0;var bU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(bU>>>26)|0,bU&=67108863,x=Math.imul(c,m),v=Math.imul(c,X0),v=v+Math.imul(n,m)|0,h=Math.imul(n,X0),x=x+Math.imul(Z0,j0)|0,v=v+Math.imul(Z0,N0)|0,v=v+Math.imul(A0,j0)|0,h=h+Math.imul(A0,N0)|0,x=x+Math.imul(s,x0)|0,v=v+Math.imul(s,y0)|0,v=v+Math.imul(e,x0)|0,h=h+Math.imul(e,y0)|0,x=x+Math.imul(U0,o0)|0,v=v+Math.imul(U0,r0)|0,v=v+Math.imul(W0,o0)|0,h=h+Math.imul(W0,r0)|0;var uU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(uU>>>26)|0,uU&=67108863,x=Math.imul(Q0,m),v=Math.imul(Q0,X0),v=v+Math.imul(O0,m)|0,h=Math.imul(O0,X0),x=x+Math.imul(c,j0)|0,v=v+Math.imul(c,N0)|0,v=v+Math.imul(n,j0)|0,h=h+Math.imul(n,N0)|0,x=x+Math.imul(Z0,x0)|0,v=v+Math.imul(Z0,y0)|0,v=v+Math.imul(A0,x0)|0,h=h+Math.imul(A0,y0)|0,x=x+Math.imul(s,o0)|0,v=v+Math.imul(s,r0)|0,v=v+Math.imul(e,o0)|0,h=h+Math.imul(e,r0)|0,x=x+Math.imul(U0,s0)|0,v=v+Math.imul(U0,i)|0,v=v+Math.imul(W0,s0)|0,h=h+Math.imul(W0,i)|0;var hU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(hU>>>26)|0,hU&=67108863,x=Math.imul(I0,m),v=Math.imul(I0,X0),v=v+Math.imul(z0,m)|0,h=Math.imul(z0,X0),x=x+Math.imul(Q0,j0)|0,v=v+Math.imul(Q0,N0)|0,v=v+Math.imul(O0,j0)|0,h=h+Math.imul(O0,N0)|0,x=x+Math.imul(c,x0)|0,v=v+Math.imul(c,y0)|0,v=v+Math.imul(n,x0)|0,h=h+Math.imul(n,y0)|0,x=x+Math.imul(Z0,o0)|0,v=v+Math.imul(Z0,r0)|0,v=v+Math.imul(A0,o0)|0,h=h+Math.imul(A0,r0)|0,x=x+Math.imul(s,s0)|0,v=v+Math.imul(s,i)|0,v=v+Math.imul(e,s0)|0,h=h+Math.imul(e,i)|0,x=x+Math.imul(U0,_0)|0,v=v+Math.imul(U0,E0)|0,v=v+Math.imul(W0,_0)|0,h=h+Math.imul(W0,E0)|0;var cU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(cU>>>26)|0,cU&=67108863,x=Math.imul(M0,m),v=Math.imul(M0,X0),v=v+Math.imul(v0,m)|0,h=Math.imul(v0,X0),x=x+Math.imul(I0,j0)|0,v=v+Math.imul(I0,N0)|0,v=v+Math.imul(z0,j0)|0,h=h+Math.imul(z0,N0)|0,x=x+Math.imul(Q0,x0)|0,v=v+Math.imul(Q0,y0)|0,v=v+Math.imul(O0,x0)|0,h=h+Math.imul(O0,y0)|0,x=x+Math.imul(c,o0)|0,v=v+Math.imul(c,r0)|0,v=v+Math.imul(n,o0)|0,h=h+Math.imul(n,r0)|0,x=x+Math.imul(Z0,s0)|0,v=v+Math.imul(Z0,i)|0,v=v+Math.imul(A0,s0)|0,h=h+Math.imul(A0,i)|0,x=x+Math.imul(s,_0)|0,v=v+Math.imul(s,E0)|0,v=v+Math.imul(e,_0)|0,h=h+Math.imul(e,E0)|0,x=x+Math.imul(U0,n0)|0,v=v+Math.imul(U0,a0)|0,v=v+Math.imul(W0,n0)|0,h=h+Math.imul(W0,a0)|0;var pU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(pU>>>26)|0,pU&=67108863,x=Math.imul(m0,m),v=Math.imul(m0,X0),v=v+Math.imul(p0,m)|0,h=Math.imul(p0,X0),x=x+Math.imul(M0,j0)|0,v=v+Math.imul(M0,N0)|0,v=v+Math.imul(v0,j0)|0,h=h+Math.imul(v0,N0)|0,x=x+Math.imul(I0,x0)|0,v=v+Math.imul(I0,y0)|0,v=v+Math.imul(z0,x0)|0,h=h+Math.imul(z0,y0)|0,x=x+Math.imul(Q0,o0)|0,v=v+Math.imul(Q0,r0)|0,v=v+Math.imul(O0,o0)|0,h=h+Math.imul(O0,r0)|0,x=x+Math.imul(c,s0)|0,v=v+Math.imul(c,i)|0,v=v+Math.imul(n,s0)|0,h=h+Math.imul(n,i)|0,x=x+Math.imul(Z0,_0)|0,v=v+Math.imul(Z0,E0)|0,v=v+Math.imul(A0,_0)|0,h=h+Math.imul(A0,E0)|0,x=x+Math.imul(s,n0)|0,v=v+Math.imul(s,a0)|0,v=v+Math.imul(e,n0)|0,h=h+Math.imul(e,a0)|0,x=x+Math.imul(U0,X$)|0,v=v+Math.imul(U0,U$)|0,v=v+Math.imul(W0,X$)|0,h=h+Math.imul(W0,U$)|0;var t$=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(t$>>>26)|0,t$&=67108863,x=Math.imul(h0,m),v=Math.imul(h0,X0),v=v+Math.imul(c0,m)|0,h=Math.imul(c0,X0),x=x+Math.imul(m0,j0)|0,v=v+Math.imul(m0,N0)|0,v=v+Math.imul(p0,j0)|0,h=h+Math.imul(p0,N0)|0,x=x+Math.imul(M0,x0)|0,v=v+Math.imul(M0,y0)|0,v=v+Math.imul(v0,x0)|0,h=h+Math.imul(v0,y0)|0,x=x+Math.imul(I0,o0)|0,v=v+Math.imul(I0,r0)|0,v=v+Math.imul(z0,o0)|0,h=h+Math.imul(z0,r0)|0,x=x+Math.imul(Q0,s0)|0,v=v+Math.imul(Q0,i)|0,v=v+Math.imul(O0,s0)|0,h=h+Math.imul(O0,i)|0,x=x+Math.imul(c,_0)|0,v=v+Math.imul(c,E0)|0,v=v+Math.imul(n,_0)|0,h=h+Math.imul(n,E0)|0,x=x+Math.imul(Z0,n0)|0,v=v+Math.imul(Z0,a0)|0,v=v+Math.imul(A0,n0)|0,h=h+Math.imul(A0,a0)|0,x=x+Math.imul(s,X$)|0,v=v+Math.imul(s,U$)|0,v=v+Math.imul(e,X$)|0,h=h+Math.imul(e,U$)|0,x=x+Math.imul(U0,J$)|0,v=v+Math.imul(U0,$$)|0,v=v+Math.imul(W0,J$)|0,h=h+Math.imul(W0,$$)|0;var LU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(LU>>>26)|0,LU&=67108863,x=Math.imul(t0,m),v=Math.imul(t0,X0),v=v+Math.imul(i0,m)|0,h=Math.imul(i0,X0),x=x+Math.imul(h0,j0)|0,v=v+Math.imul(h0,N0)|0,v=v+Math.imul(c0,j0)|0,h=h+Math.imul(c0,N0)|0,x=x+Math.imul(m0,x0)|0,v=v+Math.imul(m0,y0)|0,v=v+Math.imul(p0,x0)|0,h=h+Math.imul(p0,y0)|0,x=x+Math.imul(M0,o0)|0,v=v+Math.imul(M0,r0)|0,v=v+Math.imul(v0,o0)|0,h=h+Math.imul(v0,r0)|0,x=x+Math.imul(I0,s0)|0,v=v+Math.imul(I0,i)|0,v=v+Math.imul(z0,s0)|0,h=h+Math.imul(z0,i)|0,x=x+Math.imul(Q0,_0)|0,v=v+Math.imul(Q0,E0)|0,v=v+Math.imul(O0,_0)|0,h=h+Math.imul(O0,E0)|0,x=x+Math.imul(c,n0)|0,v=v+Math.imul(c,a0)|0,v=v+Math.imul(n,n0)|0,h=h+Math.imul(n,a0)|0,x=x+Math.imul(Z0,X$)|0,v=v+Math.imul(Z0,U$)|0,v=v+Math.imul(A0,X$)|0,h=h+Math.imul(A0,U$)|0,x=x+Math.imul(s,J$)|0,v=v+Math.imul(s,$$)|0,v=v+Math.imul(e,J$)|0,h=h+Math.imul(e,$$)|0,x=x+Math.imul(U0,B$)|0,v=v+Math.imul(U0,E$)|0,v=v+Math.imul(W0,B$)|0,h=h+Math.imul(W0,E$)|0;var OU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(OU>>>26)|0,OU&=67108863,x=Math.imul(t0,j0),v=Math.imul(t0,N0),v=v+Math.imul(i0,j0)|0,h=Math.imul(i0,N0),x=x+Math.imul(h0,x0)|0,v=v+Math.imul(h0,y0)|0,v=v+Math.imul(c0,x0)|0,h=h+Math.imul(c0,y0)|0,x=x+Math.imul(m0,o0)|0,v=v+Math.imul(m0,r0)|0,v=v+Math.imul(p0,o0)|0,h=h+Math.imul(p0,r0)|0,x=x+Math.imul(M0,s0)|0,v=v+Math.imul(M0,i)|0,v=v+Math.imul(v0,s0)|0,h=h+Math.imul(v0,i)|0,x=x+Math.imul(I0,_0)|0,v=v+Math.imul(I0,E0)|0,v=v+Math.imul(z0,_0)|0,h=h+Math.imul(z0,E0)|0,x=x+Math.imul(Q0,n0)|0,v=v+Math.imul(Q0,a0)|0,v=v+Math.imul(O0,n0)|0,h=h+Math.imul(O0,a0)|0,x=x+Math.imul(c,X$)|0,v=v+Math.imul(c,U$)|0,v=v+Math.imul(n,X$)|0,h=h+Math.imul(n,U$)|0,x=x+Math.imul(Z0,J$)|0,v=v+Math.imul(Z0,$$)|0,v=v+Math.imul(A0,J$)|0,h=h+Math.imul(A0,$$)|0,x=x+Math.imul(s,B$)|0,v=v+Math.imul(s,E$)|0,v=v+Math.imul(e,B$)|0,h=h+Math.imul(e,E$)|0;var mU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(mU>>>26)|0,mU&=67108863,x=Math.imul(t0,x0),v=Math.imul(t0,y0),v=v+Math.imul(i0,x0)|0,h=Math.imul(i0,y0),x=x+Math.imul(h0,o0)|0,v=v+Math.imul(h0,r0)|0,v=v+Math.imul(c0,o0)|0,h=h+Math.imul(c0,r0)|0,x=x+Math.imul(m0,s0)|0,v=v+Math.imul(m0,i)|0,v=v+Math.imul(p0,s0)|0,h=h+Math.imul(p0,i)|0,x=x+Math.imul(M0,_0)|0,v=v+Math.imul(M0,E0)|0,v=v+Math.imul(v0,_0)|0,h=h+Math.imul(v0,E0)|0,x=x+Math.imul(I0,n0)|0,v=v+Math.imul(I0,a0)|0,v=v+Math.imul(z0,n0)|0,h=h+Math.imul(z0,a0)|0,x=x+Math.imul(Q0,X$)|0,v=v+Math.imul(Q0,U$)|0,v=v+Math.imul(O0,X$)|0,h=h+Math.imul(O0,U$)|0,x=x+Math.imul(c,J$)|0,v=v+Math.imul(c,$$)|0,v=v+Math.imul(n,J$)|0,h=h+Math.imul(n,$$)|0,x=x+Math.imul(Z0,B$)|0,v=v+Math.imul(Z0,E$)|0,v=v+Math.imul(A0,B$)|0,h=h+Math.imul(A0,E$)|0;var PU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(PU>>>26)|0,PU&=67108863,x=Math.imul(t0,o0),v=Math.imul(t0,r0),v=v+Math.imul(i0,o0)|0,h=Math.imul(i0,r0),x=x+Math.imul(h0,s0)|0,v=v+Math.imul(h0,i)|0,v=v+Math.imul(c0,s0)|0,h=h+Math.imul(c0,i)|0,x=x+Math.imul(m0,_0)|0,v=v+Math.imul(m0,E0)|0,v=v+Math.imul(p0,_0)|0,h=h+Math.imul(p0,E0)|0,x=x+Math.imul(M0,n0)|0,v=v+Math.imul(M0,a0)|0,v=v+Math.imul(v0,n0)|0,h=h+Math.imul(v0,a0)|0,x=x+Math.imul(I0,X$)|0,v=v+Math.imul(I0,U$)|0,v=v+Math.imul(z0,X$)|0,h=h+Math.imul(z0,U$)|0,x=x+Math.imul(Q0,J$)|0,v=v+Math.imul(Q0,$$)|0,v=v+Math.imul(O0,J$)|0,h=h+Math.imul(O0,$$)|0,x=x+Math.imul(c,B$)|0,v=v+Math.imul(c,E$)|0,v=v+Math.imul(n,B$)|0,h=h+Math.imul(n,E$)|0;var vU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(vU>>>26)|0,vU&=67108863,x=Math.imul(t0,s0),v=Math.imul(t0,i),v=v+Math.imul(i0,s0)|0,h=Math.imul(i0,i),x=x+Math.imul(h0,_0)|0,v=v+Math.imul(h0,E0)|0,v=v+Math.imul(c0,_0)|0,h=h+Math.imul(c0,E0)|0,x=x+Math.imul(m0,n0)|0,v=v+Math.imul(m0,a0)|0,v=v+Math.imul(p0,n0)|0,h=h+Math.imul(p0,a0)|0,x=x+Math.imul(M0,X$)|0,v=v+Math.imul(M0,U$)|0,v=v+Math.imul(v0,X$)|0,h=h+Math.imul(v0,U$)|0,x=x+Math.imul(I0,J$)|0,v=v+Math.imul(I0,$$)|0,v=v+Math.imul(z0,J$)|0,h=h+Math.imul(z0,$$)|0,x=x+Math.imul(Q0,B$)|0,v=v+Math.imul(Q0,E$)|0,v=v+Math.imul(O0,B$)|0,h=h+Math.imul(O0,E$)|0;var gU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(gU>>>26)|0,gU&=67108863,x=Math.imul(t0,_0),v=Math.imul(t0,E0),v=v+Math.imul(i0,_0)|0,h=Math.imul(i0,E0),x=x+Math.imul(h0,n0)|0,v=v+Math.imul(h0,a0)|0,v=v+Math.imul(c0,n0)|0,h=h+Math.imul(c0,a0)|0,x=x+Math.imul(m0,X$)|0,v=v+Math.imul(m0,U$)|0,v=v+Math.imul(p0,X$)|0,h=h+Math.imul(p0,U$)|0,x=x+Math.imul(M0,J$)|0,v=v+Math.imul(M0,$$)|0,v=v+Math.imul(v0,J$)|0,h=h+Math.imul(v0,$$)|0,x=x+Math.imul(I0,B$)|0,v=v+Math.imul(I0,E$)|0,v=v+Math.imul(z0,B$)|0,h=h+Math.imul(z0,E$)|0;var _U=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(_U>>>26)|0,_U&=67108863,x=Math.imul(t0,n0),v=Math.imul(t0,a0),v=v+Math.imul(i0,n0)|0,h=Math.imul(i0,a0),x=x+Math.imul(h0,X$)|0,v=v+Math.imul(h0,U$)|0,v=v+Math.imul(c0,X$)|0,h=h+Math.imul(c0,U$)|0,x=x+Math.imul(m0,J$)|0,v=v+Math.imul(m0,$$)|0,v=v+Math.imul(p0,J$)|0,h=h+Math.imul(p0,$$)|0,x=x+Math.imul(M0,B$)|0,v=v+Math.imul(M0,E$)|0,v=v+Math.imul(v0,B$)|0,h=h+Math.imul(v0,E$)|0;var MU=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(MU>>>26)|0,MU&=67108863,x=Math.imul(t0,X$),v=Math.imul(t0,U$),v=v+Math.imul(i0,X$)|0,h=Math.imul(i0,U$),x=x+Math.imul(h0,J$)|0,v=v+Math.imul(h0,$$)|0,v=v+Math.imul(c0,J$)|0,h=h+Math.imul(c0,$$)|0,x=x+Math.imul(m0,B$)|0,v=v+Math.imul(m0,E$)|0,v=v+Math.imul(p0,B$)|0,h=h+Math.imul(p0,E$)|0;var DX=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(DX>>>26)|0,DX&=67108863,x=Math.imul(t0,J$),v=Math.imul(t0,$$),v=v+Math.imul(i0,J$)|0,h=Math.imul(i0,$$),x=x+Math.imul(h0,B$)|0,v=v+Math.imul(h0,E$)|0,v=v+Math.imul(c0,B$)|0,h=h+Math.imul(c0,E$)|0;var HQ=(C+x|0)+((v&8191)<<13)|0;C=(h+(v>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,x=Math.imul(t0,B$),v=Math.imul(t0,E$),v=v+Math.imul(i0,B$)|0,h=Math.imul(i0,E$);var DQ=(C+x|0)+((v&8191)<<13)|0;if(C=(h+(v>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,K[0]=$U,K[1]=d$,K[2]=bU,K[3]=uU,K[4]=hU,K[5]=cU,K[6]=pU,K[7]=t$,K[8]=LU,K[9]=OU,K[10]=mU,K[11]=PU,K[12]=vU,K[13]=gU,K[14]=_U,K[15]=MU,K[16]=DX,K[17]=HQ,K[18]=DQ,C!==0)K[19]=C,q.length++;return q};if(!Math.imul)b=g;function p(O,H,q){q.negative=H.negative^O.negative,q.length=O.length+H.length;var E=0,A=0;for(var K=0;K<q.length-1;K++){var C=A;A=0;var x=E&67108863,v=Math.min(K,H.length-1);for(var h=Math.max(0,K-O.length+1);h<=v;h++){var r=K-h,U0=O.words[r]|0,W0=H.words[h]|0,Y0=U0*W0,s=Y0&67108863;C=C+(Y0/67108864|0)|0,s=s+x|0,x=s&67108863,C=C+(s>>>26)|0,A+=C>>>26,C&=67108863}q.words[K]=x,E=C,C=A}if(E!==0)q.words[K]=E;else q.length--;return q._strip()}function d(O,H,q){return p(O,H,q)}Z.prototype.mulTo=function(O,H){var q,E=this.length+O.length;if(this.length===10&&O.length===10)q=b(this,O,H);else if(E<63)q=g(this,O,H);else if(E<1024)q=p(this,O,H);else q=d(this,O,H);return q};function a(O,H){this.x=O,this.y=H}a.prototype.makeRBT=function(O){var H=Array(O),q=Z.prototype._countBits(O)-1;for(var E=0;E<O;E++)H[E]=this.revBin(E,q,O);return H},a.prototype.revBin=function(O,H,q){if(O===0||O===q-1)return O;var E=0;for(var A=0;A<H;A++)E|=(O&1)<<H-A-1,O>>=1;return E},a.prototype.permute=function(O,H,q,E,A,K){for(var C=0;C<K;C++)E[C]=H[O[C]],A[C]=q[O[C]]},a.prototype.transform=function(O,H,q,E,A,K){this.permute(K,O,H,q,E,A);for(var C=1;C<A;C<<=1){var x=C<<1,v=Math.cos(2*Math.PI/x),h=Math.sin(2*Math.PI/x);for(var r=0;r<A;r+=x){var U0=v,W0=h;for(var Y0=0;Y0<C;Y0++){var s=q[r+Y0],e=E[r+Y0],J0=q[r+Y0+C],Z0=E[r+Y0+C],A0=U0*J0-W0*Z0;if(Z0=U0*Z0+W0*J0,J0=A0,q[r+Y0]=s+J0,E[r+Y0]=e+Z0,q[r+Y0+C]=s-J0,E[r+Y0+C]=e-Z0,Y0!==x)A0=v*U0-h*W0,W0=v*W0+h*U0,U0=A0}}}},a.prototype.guessLen13b=function(O,H){var q=Math.max(H,O)|1,E=q&1,A=0;for(q=q/2|0;q;q=q>>>1)A++;return 1<<A+1+E},a.prototype.conjugate=function(O,H,q){if(q<=1)return;for(var E=0;E<q/2;E++){var A=O[E];O[E]=O[q-E-1],O[q-E-1]=A,A=H[E],H[E]=-H[q-E-1],H[q-E-1]=-A}},a.prototype.normalize13b=function(O,H){var q=0;for(var E=0;E<H/2;E++){var A=Math.round(O[2*E+1]/H)*8192+Math.round(O[2*E]/H)+q;if(O[E]=A&67108863,A<67108864)q=0;else q=A/67108864|0}return O},a.prototype.convert13b=function(O,H,q,E){var A=0;for(var K=0;K<H;K++)A=A+(O[K]|0),q[2*K]=A&8191,A=A>>>13,q[2*K+1]=A&8191,A=A>>>13;for(K=2*H;K<E;++K)q[K]=0;X(A===0),X((A&-8192)===0)},a.prototype.stub=function(O){var H=Array(O);for(var q=0;q<O;q++)H[q]=0;return H},a.prototype.mulp=function(O,H,q){var E=2*this.guessLen13b(O.length,H.length),A=this.makeRBT(E),K=this.stub(E),C=Array(E),x=Array(E),v=Array(E),h=Array(E),r=Array(E),U0=Array(E),W0=q.words;W0.length=E,this.convert13b(O.words,O.length,C,E),this.convert13b(H.words,H.length,h,E),this.transform(C,K,x,v,E,A),this.transform(h,K,r,U0,E,A);for(var Y0=0;Y0<E;Y0++){var s=x[Y0]*r[Y0]-v[Y0]*U0[Y0];v[Y0]=x[Y0]*U0[Y0]+v[Y0]*r[Y0],x[Y0]=s}return this.conjugate(x,v,E),this.transform(x,v,W0,K,E,A),this.conjugate(W0,K,E),this.normalize13b(W0,E),q.negative=O.negative^H.negative,q.length=O.length+H.length,q._strip()},Z.prototype.mul=function(O){var H=new Z(null);return H.words=Array(this.length+O.length),this.mulTo(O,H)},Z.prototype.mulf=function(O){var H=new Z(null);return H.words=Array(this.length+O.length),d(this,O,H)},Z.prototype.imul=function(O){return this.clone().mulTo(O,this)},Z.prototype.imuln=function(O){var H=O<0;if(H)O=-O;X(typeof O==="number"),X(O<67108864);var q=0;for(var E=0;E<this.length;E++){var A=(this.words[E]|0)*O,K=(A&67108863)+(q&67108863);q>>=26,q+=A/67108864|0,q+=K>>>26,this.words[E]=K&67108863}if(q!==0)this.words[E]=q,this.length++;return this.length=O===0?1:this.length,H?this.ineg():this},Z.prototype.muln=function(O){return this.clone().imuln(O)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(O){var H=u(O);if(H.length===0)return new Z(1);var q=this;for(var E=0;E<H.length;E++,q=q.sqr())if(H[E]!==0)break;if(++E<H.length)for(var A=q.sqr();E<H.length;E++,A=A.sqr()){if(H[E]===0)continue;q=q.mul(A)}return q},Z.prototype.iushln=function(O){X(typeof O==="number"&&O>=0);var H=O%26,q=(O-H)/26,E=67108863>>>26-H<<26-H,A;if(H!==0){var K=0;for(A=0;A<this.length;A++){var C=this.words[A]&E,x=(this.words[A]|0)-C<<H;this.words[A]=x|K,K=C>>>26-H}if(K)this.words[A]=K,this.length++}if(q!==0){for(A=this.length-1;A>=0;A--)this.words[A+q]=this.words[A];for(A=0;A<q;A++)this.words[A]=0;this.length+=q}return this._strip()},Z.prototype.ishln=function(O){return X(this.negative===0),this.iushln(O)},Z.prototype.iushrn=function(O,H,q){X(typeof O==="number"&&O>=0);var E;if(H)E=(H-H%26)/26;else E=0;var A=O%26,K=Math.min((O-A)/26,this.length),C=67108863^67108863>>>A<<A,x=q;if(E-=K,E=Math.max(0,E),x){for(var v=0;v<K;v++)x.words[v]=this.words[v];x.length=K}if(K===0);else if(this.length>K){this.length-=K;for(v=0;v<this.length;v++)this.words[v]=this.words[v+K]}else this.words[0]=0,this.length=1;var h=0;for(v=this.length-1;v>=0&&(h!==0||v>=E);v--){var r=this.words[v]|0;this.words[v]=h<<26-A|r>>>A,h=r&C}if(x&&h!==0)x.words[x.length++]=h;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},Z.prototype.ishrn=function(O,H,q){return X(this.negative===0),this.iushrn(O,H,q)},Z.prototype.shln=function(O){return this.clone().ishln(O)},Z.prototype.ushln=function(O){return this.clone().iushln(O)},Z.prototype.shrn=function(O){return this.clone().ishrn(O)},Z.prototype.ushrn=function(O){return this.clone().iushrn(O)},Z.prototype.testn=function(O){X(typeof O==="number"&&O>=0);var H=O%26,q=(O-H)/26,E=1<<H;if(this.length<=q)return!1;var A=this.words[q];return!!(A&E)},Z.prototype.imaskn=function(O){X(typeof O==="number"&&O>=0);var H=O%26,q=(O-H)/26;if(X(this.negative===0,"imaskn works only with positive numbers"),this.length<=q)return this;if(H!==0)q++;if(this.length=Math.min(q,this.length),H!==0){var E=67108863^67108863>>>H<<H;this.words[this.length-1]&=E}return this._strip()},Z.prototype.maskn=function(O){return this.clone().imaskn(O)},Z.prototype.iaddn=function(O){if(X(typeof O==="number"),X(O<67108864),O<0)return this.isubn(-O);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=O)return this.words[0]=O-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(O),this.negative=1,this}return this._iaddn(O)},Z.prototype._iaddn=function(O){this.words[0]+=O;for(var H=0;H<this.length&&this.words[H]>=67108864;H++)if(this.words[H]-=67108864,H===this.length-1)this.words[H+1]=1;else this.words[H+1]++;return this.length=Math.max(this.length,H+1),this},Z.prototype.isubn=function(O){if(X(typeof O==="number"),X(O<67108864),O<0)return this.iaddn(-O);if(this.negative!==0)return this.negative=0,this.iaddn(O),this.negative=1,this;if(this.words[0]-=O,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var H=0;H<this.length&&this.words[H]<0;H++)this.words[H]+=67108864,this.words[H+1]-=1;return this._strip()},Z.prototype.addn=function(O){return this.clone().iaddn(O)},Z.prototype.subn=function(O){return this.clone().isubn(O)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(O,H,q){var E=O.length+q,A;this._expand(E);var K,C=0;for(A=0;A<O.length;A++){K=(this.words[A+q]|0)+C;var x=(O.words[A]|0)*H;K-=x&67108863,C=(K>>26)-(x/67108864|0),this.words[A+q]=K&67108863}for(;A<this.length-q;A++)K=(this.words[A+q]|0)+C,C=K>>26,this.words[A+q]=K&67108863;if(C===0)return this._strip();X(C===-1),C=0;for(A=0;A<this.length;A++)K=-(this.words[A]|0)+C,C=K>>26,this.words[A]=K&67108863;return this.negative=1,this._strip()},Z.prototype._wordDiv=function(O,H){var q=this.length-O.length,E=this.clone(),A=O,K=A.words[A.length-1]|0,C=this._countBits(K);if(q=26-C,q!==0)A=A.ushln(q),E.iushln(q),K=A.words[A.length-1]|0;var x=E.length-A.length,v;if(H!=="mod"){v=new Z(null),v.length=x+1,v.words=Array(v.length);for(var h=0;h<v.length;h++)v.words[h]=0}var r=E.clone()._ishlnsubmul(A,1,x);if(r.negative===0){if(E=r,v)v.words[x]=1}for(var U0=x-1;U0>=0;U0--){var W0=(E.words[A.length+U0]|0)*67108864+(E.words[A.length+U0-1]|0);W0=Math.min(W0/K|0,67108863),E._ishlnsubmul(A,W0,U0);while(E.negative!==0)if(W0--,E.negative=0,E._ishlnsubmul(A,1,U0),!E.isZero())E.negative^=1;if(v)v.words[U0]=W0}if(v)v._strip();if(E._strip(),H!=="div"&&q!==0)E.iushrn(q);return{div:v||null,mod:E}},Z.prototype.divmod=function(O,H,q){if(X(!O.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var E,A,K;if(this.negative!==0&&O.negative===0){if(K=this.neg().divmod(O,H),H!=="mod")E=K.div.neg();if(H!=="div"){if(A=K.mod.neg(),q&&A.negative!==0)A.iadd(O)}return{div:E,mod:A}}if(this.negative===0&&O.negative!==0){if(K=this.divmod(O.neg(),H),H!=="mod")E=K.div.neg();return{div:E,mod:K.mod}}if((this.negative&O.negative)!==0){if(K=this.neg().divmod(O.neg(),H),H!=="div"){if(A=K.mod.neg(),q&&A.negative!==0)A.isub(O)}return{div:K.div,mod:A}}if(O.length>this.length||this.cmp(O)<0)return{div:new Z(0),mod:this};if(O.length===1){if(H==="div")return{div:this.divn(O.words[0]),mod:null};if(H==="mod")return{div:null,mod:new Z(this.modrn(O.words[0]))};return{div:this.divn(O.words[0]),mod:new Z(this.modrn(O.words[0]))}}return this._wordDiv(O,H)},Z.prototype.div=function(O){return this.divmod(O,"div",!1).div},Z.prototype.mod=function(O){return this.divmod(O,"mod",!1).mod},Z.prototype.umod=function(O){return this.divmod(O,"mod",!0).mod},Z.prototype.divRound=function(O){var H=this.divmod(O);if(H.mod.isZero())return H.div;var q=H.div.negative!==0?H.mod.isub(O):H.mod,E=O.ushrn(1),A=O.andln(1),K=q.cmp(E);if(K<0||A===1&&K===0)return H.div;return H.div.negative!==0?H.div.isubn(1):H.div.iaddn(1)},Z.prototype.modrn=function(O){var H=O<0;if(H)O=-O;X(O<=67108863);var q=67108864%O,E=0;for(var A=this.length-1;A>=0;A--)E=(q*E+(this.words[A]|0))%O;return H?-E:E},Z.prototype.modn=function(O){return this.modrn(O)},Z.prototype.idivn=function(O){var H=O<0;if(H)O=-O;X(O<=67108863);var q=0;for(var E=this.length-1;E>=0;E--){var A=(this.words[E]|0)+q*67108864;this.words[E]=A/O|0,q=A%O}return this._strip(),H?this.ineg():this},Z.prototype.divn=function(O){return this.clone().idivn(O)},Z.prototype.egcd=function(O){X(O.negative===0),X(!O.isZero());var H=this,q=O.clone();if(H.negative!==0)H=H.umod(O);else H=H.clone();var E=new Z(1),A=new Z(0),K=new Z(0),C=new Z(1),x=0;while(H.isEven()&&q.isEven())H.iushrn(1),q.iushrn(1),++x;var v=q.clone(),h=H.clone();while(!H.isZero()){for(var r=0,U0=1;(H.words[0]&U0)===0&&r<26;++r,U0<<=1);if(r>0){H.iushrn(r);while(r-- >0){if(E.isOdd()||A.isOdd())E.iadd(v),A.isub(h);E.iushrn(1),A.iushrn(1)}}for(var W0=0,Y0=1;(q.words[0]&Y0)===0&&W0<26;++W0,Y0<<=1);if(W0>0){q.iushrn(W0);while(W0-- >0){if(K.isOdd()||C.isOdd())K.iadd(v),C.isub(h);K.iushrn(1),C.iushrn(1)}}if(H.cmp(q)>=0)H.isub(q),E.isub(K),A.isub(C);else q.isub(H),K.isub(E),C.isub(A)}return{a:K,b:C,gcd:q.iushln(x)}},Z.prototype._invmp=function(O){X(O.negative===0),X(!O.isZero());var H=this,q=O.clone();if(H.negative!==0)H=H.umod(O);else H=H.clone();var E=new Z(1),A=new Z(0),K=q.clone();while(H.cmpn(1)>0&&q.cmpn(1)>0){for(var C=0,x=1;(H.words[0]&x)===0&&C<26;++C,x<<=1);if(C>0){H.iushrn(C);while(C-- >0){if(E.isOdd())E.iadd(K);E.iushrn(1)}}for(var v=0,h=1;(q.words[0]&h)===0&&v<26;++v,h<<=1);if(v>0){q.iushrn(v);while(v-- >0){if(A.isOdd())A.iadd(K);A.iushrn(1)}}if(H.cmp(q)>=0)H.isub(q),E.isub(A);else q.isub(H),A.isub(E)}var r;if(H.cmpn(1)===0)r=E;else r=A;if(r.cmpn(0)<0)r.iadd(O);return r},Z.prototype.gcd=function(O){if(this.isZero())return O.abs();if(O.isZero())return this.abs();var H=this.clone(),q=O.clone();H.negative=0,q.negative=0;for(var E=0;H.isEven()&&q.isEven();E++)H.iushrn(1),q.iushrn(1);do{while(H.isEven())H.iushrn(1);while(q.isEven())q.iushrn(1);var A=H.cmp(q);if(A<0){var K=H;H=q,q=K}else if(A===0||q.cmpn(1)===0)break;H.isub(q)}while(!0);return q.iushln(E)},Z.prototype.invm=function(O){return this.egcd(O).a.umod(O)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(O){return this.words[0]&O},Z.prototype.bincn=function(O){X(typeof O==="number");var H=O%26,q=(O-H)/26,E=1<<H;if(this.length<=q)return this._expand(q+1),this.words[q]|=E,this;var A=E;for(var K=q;A!==0&&K<this.length;K++){var C=this.words[K]|0;C+=A,A=C>>>26,C&=67108863,this.words[K]=C}if(A!==0)this.words[K]=A,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(O){var H=O<0;if(this.negative!==0&&!H)return-1;if(this.negative===0&&H)return 1;this._strip();var q;if(this.length>1)q=1;else{if(H)O=-O;X(O<=67108863,"Number is too big");var E=this.words[0]|0;q=E===O?0:E<O?-1:1}if(this.negative!==0)return-q|0;return q},Z.prototype.cmp=function(O){if(this.negative!==0&&O.negative===0)return-1;if(this.negative===0&&O.negative!==0)return 1;var H=this.ucmp(O);if(this.negative!==0)return-H|0;return H},Z.prototype.ucmp=function(O){if(this.length>O.length)return 1;if(this.length<O.length)return-1;var H=0;for(var q=this.length-1;q>=0;q--){var E=this.words[q]|0,A=O.words[q]|0;if(E===A)continue;if(E<A)H=-1;else if(E>A)H=1;break}return H},Z.prototype.gtn=function(O){return this.cmpn(O)===1},Z.prototype.gt=function(O){return this.cmp(O)===1},Z.prototype.gten=function(O){return this.cmpn(O)>=0},Z.prototype.gte=function(O){return this.cmp(O)>=0},Z.prototype.ltn=function(O){return this.cmpn(O)===-1},Z.prototype.lt=function(O){return this.cmp(O)===-1},Z.prototype.lten=function(O){return this.cmpn(O)<=0},Z.prototype.lte=function(O){return this.cmp(O)<=0},Z.prototype.eqn=function(O){return this.cmpn(O)===0},Z.prototype.eq=function(O){return this.cmp(O)===0},Z.red=function(O){return new V(O)},Z.prototype.toRed=function(O){return X(!this.red,"Already a number in reduction context"),X(this.negative===0,"red works only with positives"),O.convertTo(this)._forceRed(O)},Z.prototype.fromRed=function(){return X(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(O){return this.red=O,this},Z.prototype.forceRed=function(O){return X(!this.red,"Already a number in reduction context"),this._forceRed(O)},Z.prototype.redAdd=function(O){return X(this.red,"redAdd works only with red numbers"),this.red.add(this,O)},Z.prototype.redIAdd=function(O){return X(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,O)},Z.prototype.redSub=function(O){return X(this.red,"redSub works only with red numbers"),this.red.sub(this,O)},Z.prototype.redISub=function(O){return X(this.red,"redISub works only with red numbers"),this.red.isub(this,O)},Z.prototype.redShl=function(O){return X(this.red,"redShl works only with red numbers"),this.red.shl(this,O)},Z.prototype.redMul=function(O){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,O),this.red.mul(this,O)},Z.prototype.redIMul=function(O){return X(this.red,"redMul works only with red numbers"),this.red._verify2(this,O),this.red.imul(this,O)},Z.prototype.redSqr=function(){return X(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return X(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return X(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return X(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return X(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(O){return X(this.red&&!O.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,O)};var H0={k256:null,p224:null,p192:null,p25519:null};function L0(O,H){this.name=O,this.p=new Z(H,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}L0.prototype._tmp=function(){var O=new Z(null);return O.words=Array(Math.ceil(this.n/13)),O},L0.prototype.ireduce=function(O){var H=O,q;do this.split(H,this.tmp),H=this.imulK(H),H=H.iadd(this.tmp),q=H.bitLength();while(q>this.n);var E=q<this.n?-1:H.ucmp(this.p);if(E===0)H.words[0]=0,H.length=1;else if(E>0)H.isub(this.p);else if(H.strip!==void 0)H.strip();else H._strip();return H},L0.prototype.split=function(O,H){O.iushrn(this.n,0,H)},L0.prototype.imulK=function(O){return O.imul(this.k)};function S0(){L0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}W(S0,L0),S0.prototype.split=function(O,H){var q=4194303,E=Math.min(O.length,9);for(var A=0;A<E;A++)H.words[A]=O.words[A];if(H.length=E,O.length<=9){O.words[0]=0,O.length=1;return}var K=O.words[9];H.words[H.length++]=K&q;for(A=10;A<O.length;A++){var C=O.words[A]|0;O.words[A-10]=(C&q)<<4|K>>>22,K=C}if(K>>>=22,O.words[A-10]=K,K===0&&O.length>10)O.length-=10;else O.length-=9},S0.prototype.imulK=function(O){O.words[O.length]=0,O.words[O.length+1]=0,O.length+=2;var H=0;for(var q=0;q<O.length;q++){var E=O.words[q]|0;H+=E*977,O.words[q]=H&67108863,H=E*64+(H/67108864|0)}if(O.words[O.length-1]===0){if(O.length--,O.words[O.length-1]===0)O.length--}return O};function t(){L0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}W(t,L0);function q0(){L0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}W(q0,L0);function G(){L0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}W(G,L0),G.prototype.imulK=function(O){var H=0;for(var q=0;q<O.length;q++){var E=(O.words[q]|0)*19+H,A=E&67108863;E>>>=26,O.words[q]=A,H=E}if(H!==0)O.words[O.length++]=H;return O},Z._prime=function(O){if(H0[O])return H0[O];var H;if(O==="k256")H=new S0;else if(O==="p224")H=new t;else if(O==="p192")H=new q0;else if(O==="p25519")H=new G;else throw Error("Unknown prime "+O);return H0[O]=H,H};function V(O){if(typeof O==="string"){var H=Z._prime(O);this.m=H.p,this.prime=H}else X(O.gtn(1),"modulus must be greater than 1"),this.m=O,this.prime=null}V.prototype._verify1=function(O){X(O.negative===0,"red works only with positives"),X(O.red,"red works only with red numbers")},V.prototype._verify2=function(O,H){X((O.negative|H.negative)===0,"red works only with positives"),X(O.red&&O.red===H.red,"red works only with red numbers")},V.prototype.imod=function(O){if(this.prime)return this.prime.ireduce(O)._forceRed(this);return T(O,O.umod(this.m)._forceRed(this)),O},V.prototype.neg=function(O){if(O.isZero())return O.clone();return this.m.sub(O)._forceRed(this)},V.prototype.add=function(O,H){this._verify2(O,H);var q=O.add(H);if(q.cmp(this.m)>=0)q.isub(this.m);return q._forceRed(this)},V.prototype.iadd=function(O,H){this._verify2(O,H);var q=O.iadd(H);if(q.cmp(this.m)>=0)q.isub(this.m);return q},V.prototype.sub=function(O,H){this._verify2(O,H);var q=O.sub(H);if(q.cmpn(0)<0)q.iadd(this.m);return q._forceRed(this)},V.prototype.isub=function(O,H){this._verify2(O,H);var q=O.isub(H);if(q.cmpn(0)<0)q.iadd(this.m);return q},V.prototype.shl=function(O,H){return this._verify1(O),this.imod(O.ushln(H))},V.prototype.imul=function(O,H){return this._verify2(O,H),this.imod(O.imul(H))},V.prototype.mul=function(O,H){return this._verify2(O,H),this.imod(O.mul(H))},V.prototype.isqr=function(O){return this.imul(O,O.clone())},V.prototype.sqr=function(O){return this.mul(O,O)},V.prototype.sqrt=function(O){if(O.isZero())return O.clone();var H=this.m.andln(3);if(X(H%2===1),H===3){var q=this.m.add(new Z(1)).iushrn(2);return this.pow(O,q)}var E=this.m.subn(1),A=0;while(!E.isZero()&&E.andln(1)===0)A++,E.iushrn(1);X(!E.isZero());var K=new Z(1).toRed(this),C=K.redNeg(),x=this.m.subn(1).iushrn(1),v=this.m.bitLength();v=new Z(2*v*v).toRed(this);while(this.pow(v,x).cmp(C)!==0)v.redIAdd(C);var h=this.pow(v,E),r=this.pow(O,E.addn(1).iushrn(1)),U0=this.pow(O,E),W0=A;while(U0.cmp(K)!==0){var Y0=U0;for(var s=0;Y0.cmp(K)!==0;s++)Y0=Y0.redSqr();X(s<W0);var e=this.pow(h,new Z(1).iushln(W0-s-1));r=r.redMul(e),h=e.redSqr(),U0=U0.redMul(h),W0=s}return r},V.prototype.invm=function(O){var H=O._invmp(this.m);if(H.negative!==0)return H.negative=0,this.imod(H).redNeg();else return this.imod(H)},V.prototype.pow=function(O,H){if(H.isZero())return new Z(1).toRed(this);if(H.cmpn(1)===0)return O.clone();var q=4,E=Array(1<<q);E[0]=new Z(1).toRed(this),E[1]=O;for(var A=2;A<E.length;A++)E[A]=this.mul(E[A-1],O);var K=E[0],C=0,x=0,v=H.bitLength()%26;if(v===0)v=26;for(A=H.length-1;A>=0;A--){var h=H.words[A];for(var r=v-1;r>=0;r--){var U0=h>>r&1;if(K!==E[0])K=this.sqr(K);if(U0===0&&C===0){x=0;continue}if(C<<=1,C|=U0,x++,x!==q&&(A!==0||r!==0))continue;K=this.mul(K,E[C]),x=0,C=0}v=26}return K},V.prototype.convertTo=function(O){var H=O.umod(this.m);return H===O?H.clone():H},V.prototype.convertFrom=function(O){var H=O.clone();return H.red=null,H},Z.mont=function(O){return new D(O)};function D(O){if(V.call(this,O),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W(D,V),D.prototype.convertTo=function(O){return this.imod(O.ushln(this.shift))},D.prototype.convertFrom=function(O){var H=this.imod(O.mul(this.rinv));return H.red=null,H},D.prototype.imul=function(O,H){if(O.isZero()||H.isZero())return O.words[0]=0,O.length=1,O;var q=O.imul(H),E=q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=q.isub(E).iushrn(this.shift),K=A;if(A.cmp(this.m)>=0)K=A.isub(this.m);else if(A.cmpn(0)<0)K=A.iadd(this.m);return K._forceRed(this)},D.prototype.mul=function(O,H){if(O.isZero()||H.isZero())return new Z(0)._forceRed(this);var q=O.mul(H),E=q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=q.isub(E).iushrn(this.shift),K=A;if(A.cmp(this.m)>=0)K=A.isub(this.m);else if(A.cmpn(0)<0)K=A.iadd(this.m);return K._forceRed(this)},D.prototype.invm=function(O){var H=this.imod(O._invmp(this.m).mul(this.r2));return H._forceRed(this)}})(typeof J>"u"||J,I)}),DE=u0((I,J)=>{var Q=lf(),z=L8(),X=b1().Buffer;function W(j){var P=j.modulus.byteLength(),S;do S=new Q(z(P));while(S.cmp(j.modulus)>=0||!S.umod(j.prime1)||!S.umod(j.prime2));return S}function Z(j){var P=W(j),S=P.toRed(Q.mont(j.modulus)).redPow(new Q(j.publicExponent)).fromRed();return{blinder:S,unblinder:P.invm(j.modulus)}}function L(j,P){var S=Z(P),T=P.modulus.byteLength(),_=new Q(j).mul(S.blinder).umod(P.modulus),B=_.toRed(Q.mont(P.prime1)),N=_.toRed(Q.mont(P.prime2)),y=P.coefficient,w=P.prime1,u=P.prime2,g=B.redPow(P.exponent1).fromRed(),b=N.redPow(P.exponent2).fromRed(),p=g.isub(b).imul(y).umod(w).imul(u);return b.iadd(p).imul(S.unblinder).umod(P.modulus).toArrayLike(X,"be",T)}L.getr=W,J.exports=L}),df=u0((I,J)=>{var Q=OE(),z=L8(),X=M8(),W=VE(),Z=FE(),L=CF(),j=HE(),P=DE(),S=b1().Buffer;J.exports=function(N,y,w){var u;if(N.padding)u=N.padding;else if(w)u=1;else u=4;var g=Q(N),b;if(u===4)b=T(g,y);else if(u===1)b=_(g,y,w);else if(u===3){if(b=new L(y),b.cmp(g.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(w)return P(b,g);else return j(b,g)};function T(N,y){var w=N.modulus.byteLength(),u=y.length,g=X("sha1").update(S.alloc(0)).digest(),b=g.length,p=2*b;if(u>w-p-2)throw Error("message too long");var d=S.alloc(w-u-p-2),a=w-b-1,H0=z(b),L0=Z(S.concat([g,d,S.alloc(1,1),y],a),W(H0,a)),S0=Z(H0,W(L0,b));return new L(S.concat([S.alloc(1),S0,L0],w))}function _(N,y,w){var u=y.length,g=N.modulus.byteLength();if(u>g-11)throw Error("message too long");var b;if(w)b=S.alloc(g-u-3,255);else b=B(g-u-3);return new L(S.concat([S.from([0,w?1:2]),b,S.alloc(1),y],g))}function B(N){var y=S.allocUnsafe(N),w=0,u=z(N*2),g=0,b;while(w<N){if(g===u.length)u=z(N*2),g=0;if(b=u[g++],b)y[w++]=b}return y}}),nf=u0((I,J)=>{var Q=OE(),z=VE(),X=FE(),W=CF(),Z=DE(),L=M8(),j=HE(),P=b1().Buffer;J.exports=function(B,N,y){var w;if(B.padding)w=B.padding;else if(y)w=1;else w=4;var u=Q(B),g=u.modulus.byteLength();if(N.length>g||new W(N).cmp(u.modulus)>=0)throw Error("decryption error");var b;if(y)b=j(new W(N),u);else b=Z(N,u);var p=P.alloc(g-b.length);if(b=P.concat([p,b],g),w===4)return S(u,b);else if(w===1)return T(u,b,y);else if(w===3)return b;else throw Error("unknown padding")};function S(B,N){var y=B.modulus.byteLength(),w=L("sha1").update(P.alloc(0)).digest(),u=w.length;if(N[0]!==0)throw Error("decryption error");var g=N.slice(1,u+1),b=N.slice(u+1),p=X(g,z(b,u)),d=X(b,z(p,y-u-1));if(_(w,d.slice(0,u)))throw Error("decryption error");var a=u;while(d[a]===0)a++;if(d[a++]!==1)throw Error("decryption error");return d.slice(a)}function T(B,N,y){var w=N.slice(0,2),u=2,g=0;while(N[u++]!==0)if(u>=N.length){g++;break}var b=N.slice(2,u-1);if(w.toString("hex")!=="0002"&&!y||w.toString("hex")!=="0001"&&y)g++;if(b.length<8)g++;if(g)throw Error("decryption error");return N.slice(u)}function _(B,N){B=P.from(B),N=P.from(N);var y=0,w=B.length;if(B.length!==N.length)y++,w=Math.min(B.length,N.length);var u=-1;while(++u<w)y+=B[u]^N[u];return y}}),OF=u0((I)=>{I.publicEncrypt=df(),I.privateDecrypt=nf(),I.privateEncrypt=function(J,Q){return I.publicEncrypt(J,Q,!0)},I.publicDecrypt=function(J,Q){return I.privateDecrypt(J,Q,!0)}}),of=u0((I)=>{var J=(yU(),j$(T4));if(typeof J.publicEncrypt!=="function")J=OF();if(I.publicEncrypt=J.publicEncrypt,I.privateDecrypt=J.privateDecrypt,typeof J.privateEncrypt!=="function")I.privateEncrypt=OF().privateEncrypt;else I.privateEncrypt=J.privateEncrypt;if(typeof J.publicDecrypt!=="function")I.publicDecrypt=OF().publicDecrypt;else I.publicDecrypt=J.publicDecrypt}),rf=u0((I)=>{var J=b1(),Q=L8(),z=J.Buffer,X=J.kMaxLength,W=globalThis.crypto||globalThis.msCrypto,Z=Math.pow(2,32)-1;function L(_,B){if(typeof _!=="number"||_!==_)throw TypeError("offset must be a number");if(_>Z||_<0)throw TypeError("offset must be a uint32");if(_>X||_>B)throw RangeError("offset out of range")}function j(_,B,N){if(typeof _!=="number"||_!==_)throw TypeError("size must be a number");if(_>Z||_<0)throw TypeError("size must be a uint32");if(_+B>N||_>X)throw RangeError("buffer too small")}W&&W.getRandomValues,I.randomFill=P,I.randomFillSync=T;function P(_,B,N,y){if(!z.isBuffer(_)&&!(_ instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof B==="function")y=B,B=0,N=_.length;else if(typeof N==="function")y=N,N=_.length-B;else if(typeof y!=="function")throw TypeError('"cb" argument must be a function');return L(B,_.length),j(N,B,_.length),S(_,B,N,y)}function S(_,B,N,y){if(!1)var w,u;if(y){Q(N,function(b,p){if(b)return y(b);p.copy(_,B),y(null,_)});return}var g=Q(N);return g.copy(_,B),_}function T(_,B,N){if(typeof B>"u")B=0;if(!z.isBuffer(_)&&!(_ instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(L(B,_.length),N===void 0)N=_.length-B;return j(N,B,_.length),S(_,B,N)}}),tf=u0((I,J)=>{var Q=(yU(),j$(T4));if(typeof Q.randomFill==="function"&&typeof Q.randomFillSync==="function")I.randomFill=Q.randomFill,I.randomFillSync=Q.randomFillSync;else J.exports=rf()}),af=u0((I)=>{I.randomBytes=I.rng=I.pseudoRandomBytes=I.prng=L8(),I.createHash=I.Hash=M8(),I.createHmac=I.Hmac=lS();var J=Tw(),Q=Object.keys(J),z=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Q);I.getHashes=function(){return z};var X=UE();I.pbkdf2=X.pbkdf2,I.pbkdf2Sync=X.pbkdf2Sync;var W=If();I.Cipher=W.Cipher,I.createCipher=W.createCipher,I.Cipheriv=W.Cipheriv,I.createCipheriv=W.createCipheriv,I.Decipher=W.Decipher,I.createDecipher=W.createDecipher,I.Decipheriv=W.Decipheriv,I.createDecipheriv=W.createDecipheriv,I.getCiphers=W.getCiphers,I.listCiphers=W.listCiphers;var Z=Xf();I.DiffieHellmanGroup=Z.DiffieHellmanGroup,I.createDiffieHellmanGroup=Z.createDiffieHellmanGroup,I.getDiffieHellman=Z.getDiffieHellman,I.createDiffieHellman=Z.createDiffieHellman,I.DiffieHellman=Z.DiffieHellman;var L=Jf();I.createSign=L.createSign,I.Sign=L.Sign,I.createVerify=L.createVerify,I.Verify=L.Verify,I.createECDH=Ef();var j=of();I.publicEncrypt=j.publicEncrypt,I.privateEncrypt=j.privateEncrypt,I.publicDecrypt=j.publicDecrypt,I.privateDecrypt=j.privateDecrypt;var P=tf();I.randomFill=P.randomFill,I.randomFillSync=P.randomFillSync,I.createCredentials=function(){throw Error(`sorry, createCredentials is not implemented yet
244
+ we accept pull requests
245
+ https://github.com/browserify/crypto-browserify`)},I.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}),h$=Aw(af(),1),sf=h$.prng,ef=h$.pseudoRandomBytes,$y=h$.rng,Uy=h$.randomBytes,Iy=h$.Hash,A4=h$.createHash,Xy=h$.Hmac,Jy=h$.createHmac,Yy=h$.getHashes,Qy=h$.pbkdf2,Gy=h$.pbkdf2Sync,Zy=h$.Cipher,Ky=h$.createCipher,Wy=h$.Cipheriv,zy=h$.createCipheriv,Oy=h$.Decipher,Vy=h$.createDecipher,Fy=h$.Decipheriv,Hy=h$.createDecipheriv,Dy=h$.getCiphers,Ly=h$.listCiphers,My=h$.DiffieHellmanGroup,Ay=h$.createDiffieHellmanGroup,Ty=h$.getDiffieHellman,Cy=h$.createDiffieHellman,qy=h$.DiffieHellman,Ry=h$.createSign,Py=h$.Sign,_y=h$.createVerify,Sy=h$.Verify,Ey=h$.createECDH,jy=h$.publicEncrypt,By=h$.privateEncrypt,vy=h$.publicDecrypt,Ny=h$.privateDecrypt,ky=h$.randomFill,gy=h$.randomFillSync,xy=h$.createCredentials,wy=h$.constants,by=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];hy=crypto,cy=crypto});var Sv={};f1(Sv,{resolveObject:()=>_v,resolve:()=>Pv,parse:()=>VQ,format:()=>Rv,default:()=>Ap,Url:()=>R4,URLSearchParams:()=>Cv,URL:()=>aM});function sM(I){return typeof I==="string"}function qv(I){return typeof I==="object"&&I!==null}function Qz(I){return I===null}function Wp(I){return I==null}function R4(){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 VQ(I,J,Q){if(I&&qv(I)&&I instanceof R4)return I;var z=new R4;return z.parse(I,J,Q),z}function Rv(I){if(sM(I))I=VQ(I);if(!(I instanceof R4))return R4.prototype.format.call(I);return I.format()}function Pv(I,J){return VQ(I,!1,!0).resolve(J)}function _v(I,J){if(!I)return J;return VQ(I,!1,!0).resolveObject(J)}var aM,Cv,zp,Op,Vp,Fp,Hp,iM,Mv,Av,Dp=255,Tv,Lp,Mp,rM,OQ,tM,Ap;var Ev=TY(()=>{({URL:aM,URLSearchParams:Cv}=globalThis);zp=/^([a-z0-9.+-]+:)/i,Op=/:[0-9]*$/,Vp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Fp=["<",">",'"',"`"," ","\r",`
246
+ `,"\t"],Hp=["{","}","|","\\","^","`"].concat(Fp),iM=["'"].concat(Hp),Mv=["%","/","?",";","#"].concat(iM),Av=["/","?","#"],Tv=/^[+a-z0-9A-Z_-]{0,63}$/,Lp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Mp={javascript:!0,"javascript:":!0},rM={javascript:!0,"javascript:":!0},OQ={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},tM={parse(I){var J=decodeURIComponent;return(I+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(Q,z,X){var W=z.split("="),Z=J(W[0]||""),L=J(W[1]||""),j=Q[Z];return Q[Z]=j===void 0?L:[].concat(j,L),Q},{})},stringify(I){var J=encodeURIComponent;return Object.keys(I||{}).reduce(function(Q,z){return[].concat(I[z]).forEach(function(X){Q.push(J(z)+"="+J(X))}),Q},[]).join("&").replace(/\s/g,"+")}};R4.prototype.parse=function(I,J,Q){if(!sM(I))throw TypeError("Parameter 'url' must be a string, not "+typeof I);var z=I.indexOf("?"),X=z!==-1&&z<I.indexOf("#")?"?":"#",W=I.split(X),Z=/\\/g;W[0]=W[0].replace(Z,"/"),I=W.join(X);var L=I;if(L=L.trim(),!Q&&I.split("#").length===1){var j=Vp.exec(L);if(j){if(this.path=L,this.href=L,this.pathname=j[1],j[2])if(this.search=j[2],J)this.query=tM.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(J)this.search="",this.query={};return this}}var P=zp.exec(L);if(P){P=P[0];var S=P.toLowerCase();this.protocol=S,L=L.substr(P.length)}if(Q||P||L.match(/^\/\/[^@\/]+@[^@\/]+/)){var T=L.substr(0,2)==="//";if(T&&!(P&&rM[P]))L=L.substr(2),this.slashes=!0}if(!rM[P]&&(T||P&&!OQ[P])){var _=-1;for(var B=0;B<Av.length;B++){var N=L.indexOf(Av[B]);if(N!==-1&&(_===-1||N<_))_=N}var y,w;if(_===-1)w=L.lastIndexOf("@");else w=L.lastIndexOf("@",_);if(w!==-1)y=L.slice(0,w),L=L.slice(w+1),this.auth=decodeURIComponent(y);_=-1;for(var B=0;B<Mv.length;B++){var N=L.indexOf(Mv[B]);if(N!==-1&&(_===-1||N<_))_=N}if(_===-1)_=L.length;this.host=L.slice(0,_),L=L.slice(_),this.parseHost(),this.hostname=this.hostname||"";var u=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!u){var g=this.hostname.split(/\./);for(var B=0,b=g.length;B<b;B++){var p=g[B];if(!p)continue;if(!p.match(Tv)){var d="";for(var a=0,H0=p.length;a<H0;a++)if(p.charCodeAt(a)>127)d+="x";else d+=p[a];if(!d.match(Tv)){var L0=g.slice(0,B),S0=g.slice(B+1),t=p.match(Lp);if(t)L0.push(t[1]),S0.unshift(t[2]);if(S0.length)L="/"+S0.join(".")+L;this.hostname=L0.join(".");break}}}}if(this.hostname.length>Dp)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!u)this.hostname=new aM(`https://${this.hostname}`).hostname;var q0=this.port?":"+this.port:"",G=this.hostname||"";if(this.host=G+q0,this.href+=this.host,u){if(this.hostname=this.hostname.substr(1,this.hostname.length-2),L[0]!=="/")L="/"+L}}if(!Mp[S])for(var B=0,b=iM.length;B<b;B++){var V=iM[B];if(L.indexOf(V)===-1)continue;var D=encodeURIComponent(V);if(D===V)D=escape(V);L=L.split(V).join(D)}var O=L.indexOf("#");if(O!==-1)this.hash=L.substr(O),L=L.slice(0,O);var H=L.indexOf("?");if(H!==-1){if(this.search=L.substr(H),this.query=L.substr(H+1),J)this.query=tM.parse(this.query);L=L.slice(0,H)}else if(J)this.search="",this.query={};if(L)this.pathname=L;if(OQ[S]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var q0=this.pathname||"",q=this.search||"";this.path=q0+q}return this.href=this.format(),this};R4.prototype.format=function(){var I=this.auth||"";if(I)I=encodeURIComponent(I),I=I.replace(/%3A/i,":"),I+="@";var J=this.protocol||"",Q=this.pathname||"",z=this.hash||"",X=!1,W="";if(this.host)X=I+this.host;else if(this.hostname){if(X=I+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port)X+=":"+this.port}if(this.query&&qv(this.query)&&Object.keys(this.query).length)W=tM.stringify(this.query);var Z=this.search||W&&"?"+W||"";if(J&&J.substr(-1)!==":")J+=":";if(this.slashes||(!J||OQ[J])&&X!==!1){if(X="//"+(X||""),Q&&Q.charAt(0)!=="/")Q="/"+Q}else if(!X)X="";if(z&&z.charAt(0)!=="#")z="#"+z;if(Z&&Z.charAt(0)!=="?")Z="?"+Z;return Q=Q.replace(/[?#]/g,function(L){return encodeURIComponent(L)}),Z=Z.replace("#","%23"),J+X+Q+Z+z};R4.prototype.resolve=function(I){return this.resolveObject(VQ(I,!1,!0)).format()};R4.prototype.resolveObject=function(I){if(sM(I)){var J=new R4;J.parse(I,!1,!0),I=J}var Q=new R4,z=Object.keys(this);for(var X=0;X<z.length;X++){var W=z[X];Q[W]=this[W]}if(Q.hash=I.hash,I.href==="")return Q.href=Q.format(),Q;if(I.slashes&&!I.protocol){var Z=Object.keys(I);for(var L=0;L<Z.length;L++){var j=Z[L];if(j!=="protocol")Q[j]=I[j]}if(OQ[Q.protocol]&&Q.hostname&&!Q.pathname)Q.path=Q.pathname="/";return Q.href=Q.format(),Q}if(I.protocol&&I.protocol!==Q.protocol){if(!OQ[I.protocol]){var P=Object.keys(I);for(var S=0;S<P.length;S++){var T=P[S];Q[T]=I[T]}return Q.href=Q.format(),Q}if(Q.protocol=I.protocol,!I.host&&!rM[I.protocol]){var b=(I.pathname||"").split("/");while(b.length&&!(I.host=b.shift()));if(!I.host)I.host="";if(!I.hostname)I.hostname="";if(b[0]!=="")b.unshift("");if(b.length<2)b.unshift("");Q.pathname=b.join("/")}else Q.pathname=I.pathname;if(Q.search=I.search,Q.query=I.query,Q.host=I.host||"",Q.auth=I.auth,Q.hostname=I.hostname||I.host,Q.port=I.port,Q.pathname||Q.search){var _=Q.pathname||"",B=Q.search||"";Q.path=_+B}return Q.slashes=Q.slashes||I.slashes,Q.href=Q.format(),Q}var N=Q.pathname&&Q.pathname.charAt(0)==="/",y=I.host||I.pathname&&I.pathname.charAt(0)==="/",w=y||N||Q.host&&I.pathname,u=w,g=Q.pathname&&Q.pathname.split("/")||[],b=I.pathname&&I.pathname.split("/")||[],p=Q.protocol&&!OQ[Q.protocol];if(p){if(Q.hostname="",Q.port=null,Q.host)if(g[0]==="")g[0]=Q.host;else g.unshift(Q.host);if(Q.host="",I.protocol){if(I.hostname=null,I.port=null,I.host)if(b[0]==="")b[0]=I.host;else b.unshift(I.host);I.host=null}w=w&&(b[0]===""||g[0]==="")}if(y)Q.host=I.host||I.host===""?I.host:Q.host,Q.hostname=I.hostname||I.hostname===""?I.hostname:Q.hostname,Q.search=I.search,Q.query=I.query,g=b;else if(b.length){if(!g)g=[];g.pop(),g=g.concat(b),Q.search=I.search,Q.query=I.query}else if(!Wp(I.search)){if(p){Q.hostname=Q.host=g.shift();var d=Q.host&&Q.host.indexOf("@")>0?Q.host.split("@"):!1;if(d)Q.auth=d.shift(),Q.host=Q.hostname=d.shift()}if(Q.search=I.search,Q.query=I.query,!Qz(Q.pathname)||!Qz(Q.search))Q.path=(Q.pathname?Q.pathname:"")+(Q.search?Q.search:"");return Q.href=Q.format(),Q}if(!g.length){if(Q.pathname=null,Q.search)Q.path="/"+Q.search;else Q.path=null;return Q.href=Q.format(),Q}var a=g.slice(-1)[0],H0=(Q.host||I.host||g.length>1)&&(a==="."||a==="..")||a==="",L0=0;for(var S0=g.length;S0>=0;S0--)if(a=g[S0],a===".")g.splice(S0,1);else if(a==="..")g.splice(S0,1),L0++;else if(L0)g.splice(S0,1),L0--;if(!w&&!u)for(;L0--;L0)g.unshift("..");if(w&&g[0]!==""&&(!g[0]||g[0].charAt(0)!=="/"))g.unshift("");if(H0&&g.join("/").substr(-1)!=="/")g.push("");var t=g[0]===""||g[0]&&g[0].charAt(0)==="/";if(p){Q.hostname=Q.host=t?"":g.length?g.shift():"";var d=Q.host&&Q.host.indexOf("@")>0?Q.host.split("@"):!1;if(d)Q.auth=d.shift(),Q.host=Q.hostname=d.shift()}if(w=w||Q.host&&g.length,w&&!t)g.unshift("");if(!g.length)Q.pathname=null,Q.path=null;else Q.pathname=g.join("/");if(!Qz(Q.pathname)||!Qz(Q.search))Q.path=(Q.pathname?Q.pathname:"")+(Q.search?Q.search:"");return Q.auth=I.auth||Q.auth,Q.slashes=Q.slashes||I.slashes,Q.href=Q.format(),Q};R4.prototype.parseHost=function(){var I=this.host,J=Op.exec(I);if(J){if(J=J[0],J!==":")this.port=J.substr(1);I=I.substr(0,I.length-J.length)}if(I)this.hostname=I};Ap={parse:VQ,resolve:Pv,resolveObject:_v,format:Rv,Url:R4,URL:aM,URLSearchParams:Cv}});var hv={};f1(hv,{request:()=>yp,globalAgent:()=>pp,get:()=>bp,default:()=>uv,STATUS_CODES:()=>mp,METHODS:()=>lp,IncomingMessage:()=>hp,ClientRequest:()=>up,Agent:()=>cp});var Tp,Cp,jv,qp,Rp,Pp=(I,J,Q)=>{Q=I!=null?Tp(Cp(I)):{};let z=J||!I||!I.__esModule?jv(Q,"default",{value:I,enumerable:!0}):Q;for(let X of qp(I))if(!Rp.call(z,X))jv(z,X,{get:()=>I[X],enumerable:!0});return z},BU=(I,J)=>()=>(J||I((J={exports:{}}).exports,J),J.exports),vv,_p,AJ,Sp,Nv,TJ,kv,Ep,gv,FQ,jp,Bv,eM,Bp,vp,xv,wv,Np,kp,fv,yv,gp,xp,wp,fp,bv,yp,bp,up,hp,cp,pp,mp,lp,uv;var $A=TY(()=>{Tp=Object.create,{getPrototypeOf:Cp,defineProperty:jv,getOwnPropertyNames:qp}=Object,Rp=Object.prototype.hasOwnProperty,vv=BU((I)=>{I.fetch=X(globalThis.fetch)&&X(globalThis.ReadableStream),I.writableStream=X(globalThis.WritableStream),I.abortController=X(globalThis.AbortController);var J;function Q(){if(J!==void 0)return J;if(globalThis.XMLHttpRequest){J=new globalThis.XMLHttpRequest;try{J.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(W){J=null}}else J=null;return J}function z(W){var Z=Q();if(!Z)return!1;try{return Z.responseType=W,Z.responseType===W}catch(L){}return!1}I.arraybuffer=I.fetch||z("arraybuffer"),I.msstream=!I.fetch&&z("ms-stream"),I.mozchunkedarraybuffer=!I.fetch&&z("moz-chunked-arraybuffer"),I.overrideMimeType=I.fetch||(Q()?X(Q().overrideMimeType):!1);function X(W){return typeof W==="function"}J=null}),_p=BU((I,J)=>{if(typeof Object.create==="function")J.exports=function(Q,z){if(z)Q.super_=z,Q.prototype=Object.create(z.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Q,z){if(z){Q.super_=z;var X=function(){};X.prototype=z.prototype,Q.prototype=new X,Q.prototype.constructor=Q}}}),AJ=BU((I,J)=>{try{if(Q=(SY(),j$(_Y)),typeof Q.inherits!=="function")throw"";J.exports=Q.inherits}catch(z){J.exports=_p()}var Q}),Sp=BU((I,J)=>{function Q(w,u){var g=Object.keys(w);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(w);u&&(b=b.filter(function(p){return Object.getOwnPropertyDescriptor(w,p).enumerable})),g.push.apply(g,b)}return g}function z(w){for(var u=1;u<arguments.length;u++){var g=arguments[u]!=null?arguments[u]:{};u%2?Q(Object(g),!0).forEach(function(b){X(w,b,g[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(g)):Q(Object(g)).forEach(function(b){Object.defineProperty(w,b,Object.getOwnPropertyDescriptor(g,b))})}return w}function X(w,u,g){if(u=j(u),u in w)Object.defineProperty(w,u,{value:g,enumerable:!0,configurable:!0,writable:!0});else w[u]=g;return w}function W(w,u){if(!(w instanceof u))throw TypeError("Cannot call a class as a function")}function Z(w,u){for(var g=0;g<u.length;g++){var b=u[g];if(b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b)b.writable=!0;Object.defineProperty(w,j(b.key),b)}}function L(w,u,g){if(u)Z(w.prototype,u);if(g)Z(w,g);return Object.defineProperty(w,"prototype",{writable:!1}),w}function j(w){var u=P(w,"string");return typeof u==="symbol"?u:String(u)}function P(w,u){if(typeof w!=="object"||w===null)return w;var g=w[Symbol.toPrimitive];if(g!==void 0){var b=g.call(w,u||"default");if(typeof b!=="object")return b;throw TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(w)}var S=(oU(),j$(nU)),T=S.Buffer,_=(SY(),j$(_Y)),B=_.inspect,N=B&&B.custom||"inspect";function y(w,u,g){T.prototype.copy.call(w,u,g)}J.exports=function(){function w(){W(this,w),this.head=null,this.tail=null,this.length=0}return L(w,[{key:"push",value:function(u){var g={data:u,next:null};if(this.length>0)this.tail.next=g;else this.head=g;this.tail=g,++this.length}},{key:"unshift",value:function(u){var g={data:u,next:this.head};if(this.length===0)this.tail=g;this.head=g,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var u=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,u}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(u){if(this.length===0)return"";var g=this.head,b=""+g.data;while(g=g.next)b+=u+g.data;return b}},{key:"concat",value:function(u){if(this.length===0)return T.alloc(0);var g=T.allocUnsafe(u>>>0),b=this.head,p=0;while(b)y(b.data,g,p),p+=b.data.length,b=b.next;return g}},{key:"consume",value:function(u,g){var b;if(u<this.head.data.length)b=this.head.data.slice(0,u),this.head.data=this.head.data.slice(u);else if(u===this.head.data.length)b=this.shift();else b=g?this._getString(u):this._getBuffer(u);return b}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(u){var g=this.head,b=1,p=g.data;u-=p.length;while(g=g.next){var d=g.data,a=u>d.length?d.length:u;if(a===d.length)p+=d;else p+=d.slice(0,u);if(u-=a,u===0){if(a===d.length)if(++b,g.next)this.head=g.next;else this.head=this.tail=null;else this.head=g,g.data=d.slice(a);break}++b}return this.length-=b,p}},{key:"_getBuffer",value:function(u){var g=T.allocUnsafe(u),b=this.head,p=1;b.data.copy(g),u-=b.data.length;while(b=b.next){var d=b.data,a=u>d.length?d.length:u;if(d.copy(g,g.length-u,0,a),u-=a,u===0){if(a===d.length)if(++p,b.next)this.head=b.next;else this.head=this.tail=null;else this.head=b,b.data=d.slice(a);break}++p}return this.length-=p,g}},{key:N,value:function(u,g){return B(this,z(z({},g),{},{depth:0,customInspect:!1}))}}]),w}()}),Nv=BU((I,J)=>{function Q(j,P){var S=this,T=this._readableState&&this._readableState.destroyed,_=this._writableState&&this._writableState.destroyed;if(T||_){if(P)P(j);else if(j){if(!this._writableState)process.nextTick(Z,this,j);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Z,this,j)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(j||null,function(B){if(!P&&B)if(!S._writableState)process.nextTick(z,S,B);else if(!S._writableState.errorEmitted)S._writableState.errorEmitted=!0,process.nextTick(z,S,B);else process.nextTick(X,S);else if(P)process.nextTick(X,S),P(B);else process.nextTick(X,S)}),this}function z(j,P){Z(j,P),X(j)}function X(j){if(j._writableState&&!j._writableState.emitClose)return;if(j._readableState&&!j._readableState.emitClose)return;j.emit("close")}function W(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Z(j,P){j.emit("error",P)}function L(j,P){var{_readableState:S,_writableState:T}=j;if(S&&S.autoDestroy||T&&T.autoDestroy)j.destroy(P);else j.emit("error",P)}J.exports={destroy:Q,undestroy:W,errorOrDestroy:L}}),TJ=BU((I,J)=>{var Q={};function z(j,P,S){if(!S)S=Error;function T(B,N,y){if(typeof P==="string")return P;else return P(B,N,y)}class _ extends S{constructor(B,N,y){super(T(B,N,y))}}_.prototype.name=S.name,_.prototype.code=j,Q[j]=_}function X(j,P){if(Array.isArray(j)){let S=j.length;if(j=j.map((T)=>String(T)),S>2)return`one of ${P} ${j.slice(0,S-1).join(", ")}, or `+j[S-1];else if(S===2)return`one of ${P} ${j[0]} or ${j[1]}`;else return`of ${P} ${j[0]}`}else return`of ${P} ${String(j)}`}function W(j,P,S){return j.substr(!S||S<0?0:+S,P.length)===P}function Z(j,P,S){if(S===void 0||S>j.length)S=j.length;return j.substring(S-P.length,S)===P}function L(j,P,S){if(typeof S!=="number")S=0;if(S+P.length>j.length)return!1;else return j.indexOf(P,S)!==-1}z("ERR_INVALID_OPT_VALUE",function(j,P){return'The value "'+P+'" is invalid for option "'+j+'"'},TypeError),z("ERR_INVALID_ARG_TYPE",function(j,P,S){let T;if(typeof P==="string"&&W(P,"not "))T="must not be",P=P.replace(/^not /,"");else T="must be";let _;if(Z(j," argument"))_=`The ${j} ${T} ${X(P,"type")}`;else{let B=L(j,".")?"property":"argument";_=`The "${j}" ${B} ${T} ${X(P,"type")}`}return _+=`. Received type ${typeof S}`,_},TypeError),z("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),z("ERR_METHOD_NOT_IMPLEMENTED",function(j){return"The "+j+" method is not implemented"}),z("ERR_STREAM_PREMATURE_CLOSE","Premature close"),z("ERR_STREAM_DESTROYED",function(j){return"Cannot call "+j+" 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(j){return"Unknown encoding: "+j},TypeError),z("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),I.codes=Q}),kv=BU((I,J)=>{var Q=TJ().codes.ERR_INVALID_OPT_VALUE;function z(W,Z,L){return W.highWaterMark!=null?W.highWaterMark:Z?W[L]:null}function X(W,Z,L,j){var P=z(Z,j,L);if(P!=null){if(!(isFinite(P)&&Math.floor(P)===P)||P<0){var S=j?L:"highWaterMark";throw new Q(S,P)}return Math.floor(P)}return W.objectMode?16:16384}J.exports={getHighWaterMark:X}}),Ep=BU((I,J)=>{J.exports=(SY(),j$(_Y)).deprecate}),gv=BU((I,J)=>{J.exports=t;function Q(Y0){var s=this;this.next=null,this.entry=null,this.finish=function(){W0(s,Y0)}}var z;t.WritableState=L0;var X={deprecate:Ep()},W=NY(),Z=(oU(),j$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j(Y0){return Z.from(Y0)}function P(Y0){return Z.isBuffer(Y0)||Y0 instanceof L}var S=Nv(),T=kv(),_=T.getHighWaterMark,B=TJ().codes,N=B.ERR_INVALID_ARG_TYPE,y=B.ERR_METHOD_NOT_IMPLEMENTED,w=B.ERR_MULTIPLE_CALLBACK,u=B.ERR_STREAM_CANNOT_PIPE,g=B.ERR_STREAM_DESTROYED,b=B.ERR_STREAM_NULL_VALUES,p=B.ERR_STREAM_WRITE_AFTER_END,d=B.ERR_UNKNOWN_ENCODING,a=S.errorOrDestroy;AJ()(t,W);function H0(){}function L0(Y0,s,e){if(z=z||FQ(),Y0=Y0||{},typeof e!=="boolean")e=s instanceof z;if(this.objectMode=!!Y0.objectMode,e)this.objectMode=this.objectMode||!!Y0.writableObjectMode;this.highWaterMark=_(this,Y0,"writableHighWaterMark",e),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var J0=Y0.decodeStrings===!1;this.decodeStrings=!J0,this.defaultEncoding=Y0.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Z0){E(s,Z0)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Y0.emitClose!==!1,this.autoDestroy=!!Y0.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Q(this)}L0.prototype.getBuffer=function(){var Y0=this.bufferedRequest,s=[];while(Y0)s.push(Y0),Y0=Y0.next;return s},function(){try{Object.defineProperty(L0.prototype,"buffer",{get:X.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Y0){}}();var S0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")S0=Function.prototype[Symbol.hasInstance],Object.defineProperty(t,Symbol.hasInstance,{value:function(Y0){if(S0.call(this,Y0))return!0;if(this!==t)return!1;return Y0&&Y0._writableState instanceof L0}});else S0=function(Y0){return Y0 instanceof this};function t(Y0){z=z||FQ();var s=this instanceof z;if(!s&&!S0.call(t,this))return new t(Y0);if(this._writableState=new L0(Y0,this,s),this.writable=!0,Y0){if(typeof Y0.write==="function")this._write=Y0.write;if(typeof Y0.writev==="function")this._writev=Y0.writev;if(typeof Y0.destroy==="function")this._destroy=Y0.destroy;if(typeof Y0.final==="function")this._final=Y0.final}W.call(this)}t.prototype.pipe=function(){a(this,new u)};function q0(Y0,s){var e=new p;a(Y0,e),process.nextTick(s,e)}function G(Y0,s,e,J0){var Z0;if(e===null)Z0=new b;else if(typeof e!=="string"&&!s.objectMode)Z0=new N("chunk",["string","Buffer"],e);if(Z0)return a(Y0,Z0),process.nextTick(J0,Z0),!1;return!0}t.prototype.write=function(Y0,s,e){var J0=this._writableState,Z0=!1,A0=!J0.objectMode&&P(Y0);if(A0&&!Z.isBuffer(Y0))Y0=j(Y0);if(typeof s==="function")e=s,s=null;if(A0)s="buffer";else if(!s)s=J0.defaultEncoding;if(typeof e!=="function")e=H0;if(J0.ending)q0(this,e);else if(A0||G(this,J0,Y0,e))J0.pendingcb++,Z0=D(this,J0,A0,Y0,s,e);return Z0},t.prototype.cork=function(){this._writableState.corked++},t.prototype.uncork=function(){var Y0=this._writableState;if(Y0.corked){if(Y0.corked--,!Y0.writing&&!Y0.corked&&!Y0.bufferProcessing&&Y0.bufferedRequest)C(this,Y0)}},t.prototype.setDefaultEncoding=function(Y0){if(typeof Y0==="string")Y0=Y0.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y0+"").toLowerCase())>-1))throw new d(Y0);return this._writableState.defaultEncoding=Y0,this},Object.defineProperty(t.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function V(Y0,s,e){if(!Y0.objectMode&&Y0.decodeStrings!==!1&&typeof s==="string")s=Z.from(s,e);return s}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function D(Y0,s,e,J0,Z0,A0){if(!e){var $0=V(s,J0,Z0);if(J0!==$0)e=!0,Z0="buffer",J0=$0}var c=s.objectMode?1:J0.length;s.length+=c;var n=s.length<s.highWaterMark;if(!n)s.needDrain=!0;if(s.writing||s.corked){var D0=s.lastBufferedRequest;if(s.lastBufferedRequest={chunk:J0,encoding:Z0,isBuf:e,callback:A0,next:null},D0)D0.next=s.lastBufferedRequest;else s.bufferedRequest=s.lastBufferedRequest;s.bufferedRequestCount+=1}else O(Y0,s,!1,c,J0,Z0,A0);return n}function O(Y0,s,e,J0,Z0,A0,$0){if(s.writelen=J0,s.writecb=$0,s.writing=!0,s.sync=!0,s.destroyed)s.onwrite(new g("write"));else if(e)Y0._writev(Z0,s.onwrite);else Y0._write(Z0,A0,s.onwrite);s.sync=!1}function H(Y0,s,e,J0,Z0){if(--s.pendingcb,e)process.nextTick(Z0,J0),process.nextTick(r,Y0,s),Y0._writableState.errorEmitted=!0,a(Y0,J0);else Z0(J0),Y0._writableState.errorEmitted=!0,a(Y0,J0),r(Y0,s)}function q(Y0){Y0.writing=!1,Y0.writecb=null,Y0.length-=Y0.writelen,Y0.writelen=0}function E(Y0,s){var e=Y0._writableState,J0=e.sync,Z0=e.writecb;if(typeof Z0!=="function")throw new w;if(q(e),s)H(Y0,e,J0,s,Z0);else{var A0=x(e)||Y0.destroyed;if(!A0&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)C(Y0,e);if(J0)process.nextTick(A,Y0,e,A0,Z0);else A(Y0,e,A0,Z0)}}function A(Y0,s,e,J0){if(!e)K(Y0,s);s.pendingcb--,J0(),r(Y0,s)}function K(Y0,s){if(s.length===0&&s.needDrain)s.needDrain=!1,Y0.emit("drain")}function C(Y0,s){s.bufferProcessing=!0;var e=s.bufferedRequest;if(Y0._writev&&e&&e.next){var J0=s.bufferedRequestCount,Z0=Array(J0),A0=s.corkedRequestsFree;A0.entry=e;var $0=0,c=!0;while(e){if(Z0[$0]=e,!e.isBuf)c=!1;e=e.next,$0+=1}if(Z0.allBuffers=c,O(Y0,s,!0,s.length,Z0,"",A0.finish),s.pendingcb++,s.lastBufferedRequest=null,A0.next)s.corkedRequestsFree=A0.next,A0.next=null;else s.corkedRequestsFree=new Q(s);s.bufferedRequestCount=0}else{while(e){var{chunk:n,encoding:D0,callback:Q0}=e,O0=s.objectMode?1:n.length;if(O(Y0,s,!1,O0,n,D0,Q0),e=e.next,s.bufferedRequestCount--,s.writing)break}if(e===null)s.lastBufferedRequest=null}s.bufferedRequest=e,s.bufferProcessing=!1}t.prototype._write=function(Y0,s,e){e(new y("_write()"))},t.prototype._writev=null,t.prototype.end=function(Y0,s,e){var J0=this._writableState;if(typeof Y0==="function")e=Y0,Y0=null,s=null;else if(typeof s==="function")e=s,s=null;if(Y0!==null&&Y0!==void 0)this.write(Y0,s);if(J0.corked)J0.corked=1,this.uncork();if(!J0.ending)U0(this,J0,e);return this},Object.defineProperty(t.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function x(Y0){return Y0.ending&&Y0.length===0&&Y0.bufferedRequest===null&&!Y0.finished&&!Y0.writing}function v(Y0,s){Y0._final(function(e){if(s.pendingcb--,e)a(Y0,e);s.prefinished=!0,Y0.emit("prefinish"),r(Y0,s)})}function h(Y0,s){if(!s.prefinished&&!s.finalCalled)if(typeof Y0._final==="function"&&!s.destroyed)s.pendingcb++,s.finalCalled=!0,process.nextTick(v,Y0,s);else s.prefinished=!0,Y0.emit("prefinish")}function r(Y0,s){var e=x(s);if(e){if(h(Y0,s),s.pendingcb===0){if(s.finished=!0,Y0.emit("finish"),s.autoDestroy){var J0=Y0._readableState;if(!J0||J0.autoDestroy&&J0.endEmitted)Y0.destroy()}}}return e}function U0(Y0,s,e){if(s.ending=!0,r(Y0,s),e)if(s.finished)process.nextTick(e);else Y0.once("finish",e);s.ended=!0,Y0.writable=!1}function W0(Y0,s,e){var J0=Y0.entry;Y0.entry=null;while(J0){var Z0=J0.callback;s.pendingcb--,Z0(e),J0=J0.next}s.corkedRequestsFree.next=Y0}Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(Y0){if(!this._writableState)return;this._writableState.destroyed=Y0}}),t.prototype.destroy=S.destroy,t.prototype._undestroy=S.undestroy,t.prototype._destroy=function(Y0,s){s(Y0)}}),FQ=BU((I,J)=>{var Q=Object.keys||function(T){var _=[];for(var B in T)_.push(B);return _};J.exports=j;var z=xv(),X=gv();AJ()(j,z);{W=Q(X.prototype);for(L=0;L<W.length;L++)if(Z=W[L],!j.prototype[Z])j.prototype[Z]=X.prototype[Z]}var W,Z,L;function j(T){if(!(this instanceof j))return new j(T);if(z.call(this,T),X.call(this,T),this.allowHalfOpen=!0,T){if(T.readable===!1)this.readable=!1;if(T.writable===!1)this.writable=!1;if(T.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",P)}}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function P(){if(this._writableState.ended)return;process.nextTick(S,this)}function S(T){T.end()}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(T){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=T,this._writableState.destroyed=T}})}),jp=BU((I,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Q=(oU(),j$(nU)),z=Q.Buffer;function X(Z,L){for(var j in Z)L[j]=Z[j]}if(z.from&&z.alloc&&z.allocUnsafe&&z.allocUnsafeSlow)J.exports=Q;else X(Q,I),I.Buffer=W;function W(Z,L,j){return z(Z,L,j)}W.prototype=Object.create(z.prototype),X(z,W),W.from=function(Z,L,j){if(typeof Z==="number")throw TypeError("Argument must not be a number");return z(Z,L,j)},W.alloc=function(Z,L,j){if(typeof Z!=="number")throw TypeError("Argument must be a number");var P=z(Z);if(L!==void 0)if(typeof j==="string")P.fill(L,j);else P.fill(L);else P.fill(0);return P},W.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return z(Z)},W.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Q.SlowBuffer(Z)}}),Bv=BU((I)=>{var J=jp().Buffer,Q=J.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function z(g){if(!g)return"utf8";var b;while(!0)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(b)return;g=(""+g).toLowerCase(),b=!0}}function X(g){var b=z(g);if(typeof b!=="string"&&(J.isEncoding===Q||!Q(g)))throw Error("Unknown encoding: "+g);return b||g}I.StringDecoder=W;function W(g){this.encoding=X(g);var b;switch(this.encoding){case"utf16le":this.text=_,this.end=B,b=4;break;case"utf8":this.fillLast=P,b=4;break;case"base64":this.text=N,this.end=y,b=3;break;default:this.write=w,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(b)}W.prototype.write=function(g){if(g.length===0)return"";var b,p;if(this.lastNeed){if(b=this.fillLast(g),b===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<g.length)return b?b+this.text(g,p):this.text(g,p);return b||""},W.prototype.end=T,W.prototype.text=S,W.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function Z(g){if(g<=127)return 0;else if(g>>5===6)return 2;else if(g>>4===14)return 3;else if(g>>3===30)return 4;return g>>6===2?-1:-2}function L(g,b,p){var d=b.length-1;if(d<p)return 0;var a=Z(b[d]);if(a>=0){if(a>0)g.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)g.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)if(a===2)a=0;else g.lastNeed=a-3;return a}return 0}function j(g,b,p){if((b[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&b.length>2){if((b[2]&192)!==128)return g.lastNeed=2,"�"}}}function P(g){var b=this.lastTotal-this.lastNeed,p=j(this,g,b);if(p!==void 0)return p;if(this.lastNeed<=g.length)return g.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,b,0,g.length),this.lastNeed-=g.length}function S(g,b){var p=L(this,g,b);if(!this.lastNeed)return g.toString("utf8",b);this.lastTotal=p;var d=g.length-(p-this.lastNeed);return g.copy(this.lastChar,0,d),g.toString("utf8",b,d)}function T(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed)return b+"�";return b}function _(g,b){if((g.length-b)%2===0){var p=g.toString("utf16le",b);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",b,g.length-1)}function B(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,p)}return b}function N(g,b){var p=(g.length-b)%3;if(p===0)return g.toString("base64",b);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=g[g.length-1];else this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1];return g.toString("base64",b,g.length-p)}function y(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed)return b+this.lastChar.toString("base64",0,3-this.lastNeed);return b}function w(g){return g.toString(this.encoding)}function u(g){return g&&g.length?this.write(g):""}}),eM=BU((I,J)=>{var Q=TJ().codes.ERR_STREAM_PREMATURE_CLOSE;function z(L){var j=!1;return function(){if(j)return;j=!0;for(var P=arguments.length,S=Array(P),T=0;T<P;T++)S[T]=arguments[T];L.apply(this,S)}}function X(){}function W(L){return L.setHeader&&typeof L.abort==="function"}function Z(L,j,P){if(typeof j==="function")return Z(L,null,j);if(!j)j={};P=z(P||X);var S=j.readable||j.readable!==!1&&L.readable,T=j.writable||j.writable!==!1&&L.writable,_=function(){if(!L.writable)N()},B=L._writableState&&L._writableState.finished,N=function(){if(T=!1,B=!0,!S)P.call(L)},y=L._readableState&&L._readableState.endEmitted,w=function(){if(S=!1,y=!0,!T)P.call(L)},u=function(p){P.call(L,p)},g=function(){var p;if(S&&!y){if(!L._readableState||!L._readableState.ended)p=new Q;return P.call(L,p)}if(T&&!B){if(!L._writableState||!L._writableState.ended)p=new Q;return P.call(L,p)}},b=function(){L.req.on("finish",N)};if(W(L))if(L.on("complete",N),L.on("abort",g),L.req)b();else L.on("request",b);else if(T&&!L._writableState)L.on("end",_),L.on("close",_);if(L.on("end",w),L.on("finish",N),j.error!==!1)L.on("error",u);return L.on("close",g),function(){if(L.removeListener("complete",N),L.removeListener("abort",g),L.removeListener("request",b),L.req)L.req.removeListener("finish",N);L.removeListener("end",_),L.removeListener("close",_),L.removeListener("finish",N),L.removeListener("end",w),L.removeListener("error",u),L.removeListener("close",g)}}J.exports=Z}),Bp=BU((I,J)=>{var Q;function z(d,a,H0){if(a=X(a),a in d)Object.defineProperty(d,a,{value:H0,enumerable:!0,configurable:!0,writable:!0});else d[a]=H0;return d}function X(d){var a=W(d,"string");return typeof a==="symbol"?a:String(a)}function W(d,a){if(typeof d!=="object"||d===null)return d;var H0=d[Symbol.toPrimitive];if(H0!==void 0){var L0=H0.call(d,a||"default");if(typeof L0!=="object")return L0;throw TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(d)}var Z=eM(),L=Symbol("lastResolve"),j=Symbol("lastReject"),P=Symbol("error"),S=Symbol("ended"),T=Symbol("lastPromise"),_=Symbol("handlePromise"),B=Symbol("stream");function N(d,a){return{value:d,done:a}}function y(d){var a=d[L];if(a!==null){var H0=d[B].read();if(H0!==null)d[T]=null,d[L]=null,d[j]=null,a(N(H0,!1))}}function w(d){process.nextTick(y,d)}function u(d,a){return function(H0,L0){d.then(function(){if(a[S]){H0(N(void 0,!0));return}a[_](H0,L0)},L0)}}var g=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((Q={get stream(){return this[B]},next:function(){var d=this,a=this[P];if(a!==null)return Promise.reject(a);if(this[S])return Promise.resolve(N(void 0,!0));if(this[B].destroyed)return new Promise(function(t,q0){process.nextTick(function(){if(d[P])q0(d[P]);else t(N(void 0,!0))})});var H0=this[T],L0;if(H0)L0=new Promise(u(H0,this));else{var S0=this[B].read();if(S0!==null)return Promise.resolve(N(S0,!1));L0=new Promise(this[_])}return this[T]=L0,L0}},z(Q,Symbol.asyncIterator,function(){return this}),z(Q,"return",function(){var d=this;return new Promise(function(a,H0){d[B].destroy(null,function(L0){if(L0){H0(L0);return}a(N(void 0,!0))})})}),Q),g),p=function(d){var a,H0=Object.create(b,(a={},z(a,B,{value:d,writable:!0}),z(a,L,{value:null,writable:!0}),z(a,j,{value:null,writable:!0}),z(a,P,{value:null,writable:!0}),z(a,S,{value:d._readableState.endEmitted,writable:!0}),z(a,_,{value:function(L0,S0){var t=H0[B].read();if(t)H0[T]=null,H0[L]=null,H0[j]=null,L0(N(t,!1));else H0[L]=L0,H0[j]=S0},writable:!0}),a));return H0[T]=null,Z(d,function(L0){if(L0&&L0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var S0=H0[j];if(S0!==null)H0[T]=null,H0[L]=null,H0[j]=null,S0(L0);H0[P]=L0;return}var t=H0[L];if(t!==null)H0[T]=null,H0[L]=null,H0[j]=null,t(N(void 0,!0));H0[S]=!0}),d.on("readable",w.bind(null,H0)),H0};J.exports=p}),vp=BU((I,J)=>{function Q(T,_,B,N,y,w,u){try{var g=T[w](u),b=g.value}catch(p){B(p);return}if(g.done)_(b);else Promise.resolve(b).then(N,y)}function z(T){return function(){var _=this,B=arguments;return new Promise(function(N,y){var w=T.apply(_,B);function u(b){Q(w,N,y,u,g,"next",b)}function g(b){Q(w,N,y,u,g,"throw",b)}u(void 0)})}}function X(T,_){var B=Object.keys(T);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(T);_&&(N=N.filter(function(y){return Object.getOwnPropertyDescriptor(T,y).enumerable})),B.push.apply(B,N)}return B}function W(T){for(var _=1;_<arguments.length;_++){var B=arguments[_]!=null?arguments[_]:{};_%2?X(Object(B),!0).forEach(function(N){Z(T,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(B)):X(Object(B)).forEach(function(N){Object.defineProperty(T,N,Object.getOwnPropertyDescriptor(B,N))})}return T}function Z(T,_,B){if(_=L(_),_ in T)Object.defineProperty(T,_,{value:B,enumerable:!0,configurable:!0,writable:!0});else T[_]=B;return T}function L(T){var _=j(T,"string");return typeof _==="symbol"?_:String(_)}function j(T,_){if(typeof T!=="object"||T===null)return T;var B=T[Symbol.toPrimitive];if(B!==void 0){var N=B.call(T,_||"default");if(typeof N!=="object")return N;throw TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(T)}var P=TJ().codes.ERR_INVALID_ARG_TYPE;function S(T,_,B){var N;if(_&&typeof _.next==="function")N=_;else if(_&&_[Symbol.asyncIterator])N=_[Symbol.asyncIterator]();else if(_&&_[Symbol.iterator])N=_[Symbol.iterator]();else throw new P("iterable",["Iterable"],_);var y=new T(W({objectMode:!0},B)),w=!1;y._read=function(){if(!w)w=!0,u()};function u(){return g.apply(this,arguments)}function g(){return g=z(function*(){try{var b=yield N.next(),p=b.value,d=b.done;if(d)y.push(null);else if(y.push(yield p))u();else w=!1}catch(a){y.destroy(a)}}),g.apply(this,arguments)}return y}J.exports=S}),xv=BU((I,J)=>{J.exports=G;var Q;G.ReadableState=q0;var z=(BY(),j$(jY)).EventEmitter,X=function($0,c){return $0.listeners(c).length},W=NY(),Z=(oU(),j$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function j($0){return Z.from($0)}function P($0){return Z.isBuffer($0)||$0 instanceof L}var S=(SY(),j$(_Y)),T;if(S&&S.debuglog)T=S.debuglog("stream");else T=function(){};var _=Sp(),B=Nv(),N=kv(),y=N.getHighWaterMark,w=TJ().codes,u=w.ERR_INVALID_ARG_TYPE,g=w.ERR_STREAM_PUSH_AFTER_EOF,b=w.ERR_METHOD_NOT_IMPLEMENTED,p=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,d,a,H0;AJ()(G,W);var L0=B.errorOrDestroy,S0=["error","close","destroy","pause","resume"];function t($0,c,n){if(typeof $0.prependListener==="function")return $0.prependListener(c,n);if(!$0._events||!$0._events[c])$0.on(c,n);else if(Array.isArray($0._events[c]))$0._events[c].unshift(n);else $0._events[c]=[n,$0._events[c]]}function q0($0,c,n){if(Q=Q||FQ(),$0=$0||{},typeof n!=="boolean")n=c instanceof Q;if(this.objectMode=!!$0.objectMode,n)this.objectMode=this.objectMode||!!$0.readableObjectMode;if(this.highWaterMark=y(this,$0,"readableHighWaterMark",n),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$0.emitClose!==!1,this.autoDestroy=!!$0.autoDestroy,this.destroyed=!1,this.defaultEncoding=$0.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$0.encoding){if(!d)d=Bv().StringDecoder;this.decoder=new d($0.encoding),this.encoding=$0.encoding}}function G($0){if(Q=Q||FQ(),!(this instanceof G))return new G($0);var c=this instanceof Q;if(this._readableState=new q0($0,this,c),this.readable=!0,$0){if(typeof $0.read==="function")this._read=$0.read;if(typeof $0.destroy==="function")this._destroy=$0.destroy}W.call(this)}Object.defineProperty(G.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($0){if(!this._readableState)return;this._readableState.destroyed=$0}}),G.prototype.destroy=B.destroy,G.prototype._undestroy=B.undestroy,G.prototype._destroy=function($0,c){c($0)},G.prototype.push=function($0,c){var n=this._readableState,D0;if(!n.objectMode){if(typeof $0==="string"){if(c=c||n.defaultEncoding,c!==n.encoding)$0=Z.from($0,c),c="";D0=!0}}else D0=!0;return V(this,$0,c,!1,D0)},G.prototype.unshift=function($0){return V(this,$0,null,!0,!1)};function V($0,c,n,D0,Q0){T("readableAddChunk",c);var O0=$0._readableState;if(c===null)O0.reading=!1,A($0,O0);else{var k0;if(!Q0)k0=O(O0,c);if(k0)L0($0,k0);else if(O0.objectMode||c&&c.length>0){if(typeof c!=="string"&&!O0.objectMode&&Object.getPrototypeOf(c)!==Z.prototype)c=j(c);if(D0)if(O0.endEmitted)L0($0,new p);else D($0,O0,c,!0);else if(O0.ended)L0($0,new g);else if(O0.destroyed)return!1;else if(O0.reading=!1,O0.decoder&&!n)if(c=O0.decoder.write(c),O0.objectMode||c.length!==0)D($0,O0,c,!1);else x($0,O0);else D($0,O0,c,!1)}else if(!D0)O0.reading=!1,x($0,O0)}return!O0.ended&&(O0.length<O0.highWaterMark||O0.length===0)}function D($0,c,n,D0){if(c.flowing&&c.length===0&&!c.sync)c.awaitDrain=0,$0.emit("data",n);else{if(c.length+=c.objectMode?1:n.length,D0)c.buffer.unshift(n);else c.buffer.push(n);if(c.needReadable)K($0)}x($0,c)}function O($0,c){var n;if(!P(c)&&typeof c!=="string"&&c!==void 0&&!$0.objectMode)n=new u("chunk",["string","Buffer","Uint8Array"],c);return n}G.prototype.isPaused=function(){return this._readableState.flowing===!1},G.prototype.setEncoding=function($0){if(!d)d=Bv().StringDecoder;var c=new d($0);this._readableState.decoder=c,this._readableState.encoding=this._readableState.decoder.encoding;var n=this._readableState.buffer.head,D0="";while(n!==null)D0+=c.write(n.data),n=n.next;if(this._readableState.buffer.clear(),D0!=="")this._readableState.buffer.push(D0);return this._readableState.length=D0.length,this};var H=1073741824;function q($0){if($0>=H)$0=H;else $0--,$0|=$0>>>1,$0|=$0>>>2,$0|=$0>>>4,$0|=$0>>>8,$0|=$0>>>16,$0++;return $0}function E($0,c){if($0<=0||c.length===0&&c.ended)return 0;if(c.objectMode)return 1;if($0!==$0)if(c.flowing&&c.length)return c.buffer.head.data.length;else return c.length;if($0>c.highWaterMark)c.highWaterMark=q($0);if($0<=c.length)return $0;if(!c.ended)return c.needReadable=!0,0;return c.length}G.prototype.read=function($0){T("read",$0),$0=parseInt($0,10);var c=this._readableState,n=$0;if($0!==0)c.emittedReadable=!1;if($0===0&&c.needReadable&&((c.highWaterMark!==0?c.length>=c.highWaterMark:c.length>0)||c.ended)){if(T("read: emitReadable",c.length,c.ended),c.length===0&&c.ended)J0(this);else K(this);return null}if($0=E($0,c),$0===0&&c.ended){if(c.length===0)J0(this);return null}var D0=c.needReadable;if(T("need readable",D0),c.length===0||c.length-$0<c.highWaterMark)D0=!0,T("length less than watermark",D0);if(c.ended||c.reading)D0=!1,T("reading or ended",D0);else if(D0){if(T("do read"),c.reading=!0,c.sync=!0,c.length===0)c.needReadable=!0;if(this._read(c.highWaterMark),c.sync=!1,!c.reading)$0=E(n,c)}var Q0;if($0>0)Q0=e($0,c);else Q0=null;if(Q0===null)c.needReadable=c.length<=c.highWaterMark,$0=0;else c.length-=$0,c.awaitDrain=0;if(c.length===0){if(!c.ended)c.needReadable=!0;if(n!==$0&&c.ended)J0(this)}if(Q0!==null)this.emit("data",Q0);return Q0};function A($0,c){if(T("onEofChunk"),c.ended)return;if(c.decoder){var n=c.decoder.end();if(n&&n.length)c.buffer.push(n),c.length+=c.objectMode?1:n.length}if(c.ended=!0,c.sync)K($0);else if(c.needReadable=!1,!c.emittedReadable)c.emittedReadable=!0,C($0)}function K($0){var c=$0._readableState;if(T("emitReadable",c.needReadable,c.emittedReadable),c.needReadable=!1,!c.emittedReadable)T("emitReadable",c.flowing),c.emittedReadable=!0,process.nextTick(C,$0)}function C($0){var c=$0._readableState;if(T("emitReadable_",c.destroyed,c.length,c.ended),!c.destroyed&&(c.length||c.ended))$0.emit("readable"),c.emittedReadable=!1;c.needReadable=!c.flowing&&!c.ended&&c.length<=c.highWaterMark,s($0)}function x($0,c){if(!c.readingMore)c.readingMore=!0,process.nextTick(v,$0,c)}function v($0,c){while(!c.reading&&!c.ended&&(c.length<c.highWaterMark||c.flowing&&c.length===0)){var n=c.length;if(T("maybeReadMore read 0"),$0.read(0),n===c.length)break}c.readingMore=!1}G.prototype._read=function($0){L0(this,new b("_read()"))},G.prototype.pipe=function($0,c){var n=this,D0=this._readableState;switch(D0.pipesCount){case 0:D0.pipes=$0;break;case 1:D0.pipes=[D0.pipes,$0];break;default:D0.pipes.push($0);break}D0.pipesCount+=1,T("pipe count=%d opts=%j",D0.pipesCount,c);var Q0=(!c||c.end!==!1)&&$0!==process.stdout&&$0!==process.stderr,O0=Q0?I0:r$;if(D0.endEmitted)process.nextTick(O0);else n.once("end",O0);$0.on("unpipe",k0);function k0(h0,c0){if(T("onunpipe"),h0===n){if(c0&&c0.hasUnpiped===!1)c0.hasUnpiped=!0,M0()}}function I0(){T("onend"),$0.end()}var z0=h(n);$0.on("drain",z0);var I$=!1;function M0(){if(T("cleanup"),$0.removeListener("close",m0),$0.removeListener("finish",p0),$0.removeListener("drain",z0),$0.removeListener("error",M$),$0.removeListener("unpipe",k0),n.removeListener("end",I0),n.removeListener("end",r$),n.removeListener("data",v0),I$=!0,D0.awaitDrain&&(!$0._writableState||$0._writableState.needDrain))z0()}n.on("data",v0);function v0(h0){T("ondata");var c0=$0.write(h0);if(T("dest.write",c0),c0===!1){if((D0.pipesCount===1&&D0.pipes===$0||D0.pipesCount>1&&A0(D0.pipes,$0)!==-1)&&!I$)T("false write response, pause",D0.awaitDrain),D0.awaitDrain++;n.pause()}}function M$(h0){if(T("onerror",h0),r$(),$0.removeListener("error",M$),X($0,"error")===0)L0($0,h0)}t($0,"error",M$);function m0(){$0.removeListener("finish",p0),r$()}$0.once("close",m0);function p0(){T("onfinish"),$0.removeListener("close",m0),r$()}$0.once("finish",p0);function r$(){T("unpipe"),n.unpipe($0)}if($0.emit("pipe",n),!D0.flowing)T("pipe resume"),n.resume();return $0};function h($0){return function(){var c=$0._readableState;if(T("pipeOnDrain",c.awaitDrain),c.awaitDrain)c.awaitDrain--;if(c.awaitDrain===0&&X($0,"data"))c.flowing=!0,s($0)}}G.prototype.unpipe=function($0){var c=this._readableState,n={hasUnpiped:!1};if(c.pipesCount===0)return this;if(c.pipesCount===1){if($0&&$0!==c.pipes)return this;if(!$0)$0=c.pipes;if(c.pipes=null,c.pipesCount=0,c.flowing=!1,$0)$0.emit("unpipe",this,n);return this}if(!$0){var{pipes:D0,pipesCount:Q0}=c;c.pipes=null,c.pipesCount=0,c.flowing=!1;for(var O0=0;O0<Q0;O0++)D0[O0].emit("unpipe",this,{hasUnpiped:!1});return this}var k0=A0(c.pipes,$0);if(k0===-1)return this;if(c.pipes.splice(k0,1),c.pipesCount-=1,c.pipesCount===1)c.pipes=c.pipes[0];return $0.emit("unpipe",this,n),this},G.prototype.on=function($0,c){var n=W.prototype.on.call(this,$0,c),D0=this._readableState;if($0==="data"){if(D0.readableListening=this.listenerCount("readable")>0,D0.flowing!==!1)this.resume()}else if($0==="readable"){if(!D0.endEmitted&&!D0.readableListening){if(D0.readableListening=D0.needReadable=!0,D0.flowing=!1,D0.emittedReadable=!1,T("on readable",D0.length,D0.reading),D0.length)K(this);else if(!D0.reading)process.nextTick(U0,this)}}return n},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function($0,c){var n=W.prototype.removeListener.call(this,$0,c);if($0==="readable")process.nextTick(r,this);return n},G.prototype.removeAllListeners=function($0){var c=W.prototype.removeAllListeners.apply(this,arguments);if($0==="readable"||$0===void 0)process.nextTick(r,this);return c};function r($0){var c=$0._readableState;if(c.readableListening=$0.listenerCount("readable")>0,c.resumeScheduled&&!c.paused)c.flowing=!0;else if($0.listenerCount("data")>0)$0.resume()}function U0($0){T("readable nexttick read 0"),$0.read(0)}G.prototype.resume=function(){var $0=this._readableState;if(!$0.flowing)T("resume"),$0.flowing=!$0.readableListening,W0(this,$0);return $0.paused=!1,this};function W0($0,c){if(!c.resumeScheduled)c.resumeScheduled=!0,process.nextTick(Y0,$0,c)}function Y0($0,c){if(T("resume",c.reading),!c.reading)$0.read(0);if(c.resumeScheduled=!1,$0.emit("resume"),s($0),c.flowing&&!c.reading)$0.read(0)}G.prototype.pause=function(){if(T("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)T("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function s($0){var c=$0._readableState;T("flow",c.flowing);while(c.flowing&&$0.read()!==null);}if(G.prototype.wrap=function($0){var c=this,n=this._readableState,D0=!1;$0.on("end",function(){if(T("wrapped end"),n.decoder&&!n.ended){var k0=n.decoder.end();if(k0&&k0.length)c.push(k0)}c.push(null)}),$0.on("data",function(k0){if(T("wrapped data"),n.decoder)k0=n.decoder.write(k0);if(n.objectMode&&(k0===null||k0===void 0))return;else if(!n.objectMode&&(!k0||!k0.length))return;var I0=c.push(k0);if(!I0)D0=!0,$0.pause()});for(var Q0 in $0)if(this[Q0]===void 0&&typeof $0[Q0]==="function")this[Q0]=function(k0){return function(){return $0[k0].apply($0,arguments)}}(Q0);for(var O0=0;O0<S0.length;O0++)$0.on(S0[O0],this.emit.bind(this,S0[O0]));return this._read=function(k0){if(T("wrapped _read",k0),D0)D0=!1,$0.resume()},this},typeof Symbol==="function")G.prototype[Symbol.asyncIterator]=function(){if(a===void 0)a=Bp();return a(this)};Object.defineProperty(G.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(G.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(G.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function($0){if(this._readableState)this._readableState.flowing=$0}}),G._fromList=e,Object.defineProperty(G.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function e($0,c){if(c.length===0)return null;var n;if(c.objectMode)n=c.buffer.shift();else if(!$0||$0>=c.length){if(c.decoder)n=c.buffer.join("");else if(c.buffer.length===1)n=c.buffer.first();else n=c.buffer.concat(c.length);c.buffer.clear()}else n=c.buffer.consume($0,c.decoder);return n}function J0($0){var c=$0._readableState;if(T("endReadable",c.endEmitted),!c.endEmitted)c.ended=!0,process.nextTick(Z0,c,$0)}function Z0($0,c){if(T("endReadableNT",$0.endEmitted,$0.length),!$0.endEmitted&&$0.length===0){if($0.endEmitted=!0,c.readable=!1,c.emit("end"),$0.autoDestroy){var n=c._writableState;if(!n||n.autoDestroy&&n.finished)c.destroy()}}}if(typeof Symbol==="function")G.from=function($0,c){if(H0===void 0)H0=vp();return H0(G,$0,c)};function A0($0,c){for(var n=0,D0=$0.length;n<D0;n++)if($0[n]===c)return n;return-1}}),wv=BU((I,J)=>{J.exports=P;var Q=TJ().codes,z=Q.ERR_METHOD_NOT_IMPLEMENTED,X=Q.ERR_MULTIPLE_CALLBACK,W=Q.ERR_TRANSFORM_ALREADY_TRANSFORMING,Z=Q.ERR_TRANSFORM_WITH_LENGTH_0,L=FQ();AJ()(P,L);function j(_,B){var N=this._transformState;N.transforming=!1;var y=N.writecb;if(y===null)return this.emit("error",new X);if(N.writechunk=null,N.writecb=null,B!=null)this.push(B);y(_);var w=this._readableState;if(w.reading=!1,w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}function P(_){if(!(this instanceof P))return new P(_);if(L.call(this,_),this._transformState={afterTransform:j.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,_){if(typeof _.transform==="function")this._transform=_.transform;if(typeof _.flush==="function")this._flush=_.flush}this.on("prefinish",S)}function S(){var _=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(B,N){T(_,B,N)});else T(this,null,null)}P.prototype.push=function(_,B){return this._transformState.needTransform=!1,L.prototype.push.call(this,_,B)},P.prototype._transform=function(_,B,N){N(new z("_transform()"))},P.prototype._write=function(_,B,N){var y=this._transformState;if(y.writecb=N,y.writechunk=_,y.writeencoding=B,!y.transforming){var w=this._readableState;if(y.needTransform||w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}},P.prototype._read=function(_){var B=this._transformState;if(B.writechunk!==null&&!B.transforming)B.transforming=!0,this._transform(B.writechunk,B.writeencoding,B.afterTransform);else B.needTransform=!0},P.prototype._destroy=function(_,B){L.prototype._destroy.call(this,_,function(N){B(N)})};function T(_,B,N){if(B)return _.emit("error",B);if(N!=null)_.push(N);if(_._writableState.length)throw new Z;if(_._transformState.transforming)throw new W;return _.push(null)}}),Np=BU((I,J)=>{J.exports=z;var Q=wv();AJ()(z,Q);function z(X){if(!(this instanceof z))return new z(X);Q.call(this,X)}z.prototype._transform=function(X,W,Z){Z(null,X)}}),kp=BU((I,J)=>{var Q;function z(N){var y=!1;return function(){if(y)return;y=!0,N.apply(void 0,arguments)}}var X=TJ().codes,W=X.ERR_MISSING_ARGS,Z=X.ERR_STREAM_DESTROYED;function L(N){if(N)throw N}function j(N){return N.setHeader&&typeof N.abort==="function"}function P(N,y,w,u){u=z(u);var g=!1;if(N.on("close",function(){g=!0}),Q===void 0)Q=eM();Q(N,{readable:y,writable:w},function(p){if(p)return u(p);g=!0,u()});var b=!1;return function(p){if(g)return;if(b)return;if(b=!0,j(N))return N.abort();if(typeof N.destroy==="function")return N.destroy();u(p||new Z("pipe"))}}function S(N){N()}function T(N,y){return N.pipe(y)}function _(N){if(!N.length)return L;if(typeof N[N.length-1]!=="function")return L;return N.pop()}function B(){for(var N=arguments.length,y=Array(N),w=0;w<N;w++)y[w]=arguments[w];var u=_(y);if(Array.isArray(y[0]))y=y[0];if(y.length<2)throw new W("streams");var g,b=y.map(function(p,d){var a=d<y.length-1,H0=d>0;return P(p,a,H0,function(L0){if(!g)g=L0;if(L0)b.forEach(S);if(a)return;b.forEach(S),u(g)})});return y.reduce(T)}J.exports=B}),fv=BU((I,J)=>{var Q=NY();I=J.exports=xv(),I.Stream=Q||I,I.Readable=I,I.Writable=gv(),I.Duplex=FQ(),I.Transform=wv(),I.PassThrough=Np(),I.finished=eM(),I.pipeline=kp()}),yv=BU((I)=>{var J=vv(),Q=AJ(),z=fv(),X=I.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},W=I.IncomingMessage=function(Z,L,j,P){var S=this;if(z.Readable.call(S),S._mode=j,S.headers={},S.rawHeaders=[],S.trailers={},S.rawTrailers=[],S.on("end",function(){process.nextTick(function(){S.emit("close")})}),j==="fetch"){let u=function(){B.read().then(function(g){if(S._destroyed)return;if(P(g.done),g.done){S.push(null);return}S.push(Buffer.from(g.value)),u()}).catch(function(g){if(P(!0),!S._destroyed)S.emit("error",g)})};var T=u;if(S._fetchResponse=L,S.url=L.url,S.statusCode=L.status,S.statusMessage=L.statusText,L.headers.forEach(function(g,b){S.headers[b.toLowerCase()]=g,S.rawHeaders.push(b,g)}),J.writableStream){var _=new WritableStream({write:function(g){return P(!1),new Promise(function(b,p){if(S._destroyed)p();else if(S.push(Buffer.from(g)))b();else S._resumeFetch=b})},close:function(){if(P(!0),!S._destroyed)S.push(null)},abort:function(g){if(P(!0),!S._destroyed)S.emit("error",g)}});try{L.body.pipeTo(_).catch(function(g){if(P(!0),!S._destroyed)S.emit("error",g)});return}catch(g){}}var B=L.body.getReader();u()}else{S._xhr=Z,S._pos=0,S.url=Z.responseURL,S.statusCode=Z.status,S.statusMessage=Z.statusText;var N=Z.getAllResponseHeaders().split(/\r?\n/);if(N.forEach(function(u){var g=u.match(/^([^:]+):\s*(.*)/);if(g){var b=g[1].toLowerCase();if(b==="set-cookie"){if(S.headers[b]===void 0)S.headers[b]=[];S.headers[b].push(g[2])}else if(S.headers[b]!==void 0)S.headers[b]+=", "+g[2];else S.headers[b]=g[2];S.rawHeaders.push(g[1],g[2])}}),S._charset="x-user-defined",!J.overrideMimeType){var y=S.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);if(w)S._charset=w[1].toLowerCase()}if(!S._charset)S._charset="utf-8"}}};Q(W,z.Readable),W.prototype._read=function(){var Z=this,L=Z._resumeFetch;if(L)Z._resumeFetch=null,L()},W.prototype._onXHRProgress=function(Z){var L=this,j=L._xhr,P=null;switch(L._mode){case"text":if(P=j.responseText,P.length>L._pos){var S=P.substr(L._pos);if(L._charset==="x-user-defined"){var T=Buffer.alloc(S.length);for(var _=0;_<S.length;_++)T[_]=S.charCodeAt(_)&255;L.push(T)}else L.push(S,L._charset);L._pos=P.length}break;case"arraybuffer":if(j.readyState!==X.DONE||!j.response)break;P=j.response,L.push(Buffer.from(new Uint8Array(P)));break;case"moz-chunked-arraybuffer":if(P=j.response,j.readyState!==X.LOADING||!P)break;L.push(Buffer.from(new Uint8Array(P)));break;case"ms-stream":if(P=j.response,j.readyState!==X.LOADING)break;var B=new globalThis.MSStreamReader;B.onprogress=function(){if(B.result.byteLength>L._pos)L.push(Buffer.from(new Uint8Array(B.result.slice(L._pos)))),L._pos=B.result.byteLength},B.onload=function(){Z(!0),L.push(null)},B.readAsArrayBuffer(P);break}if(L._xhr.readyState===X.DONE&&L._mode!=="ms-stream")Z(!0),L.push(null)}}),gp=BU((I,J)=>{var Q=vv(),z=AJ(),X=yv(),W=fv(),Z=X.IncomingMessage,L=X.readyStates;function j(_,B){if(Q.fetch&&B)return"fetch";else if(Q.mozchunkedarraybuffer)return"moz-chunked-arraybuffer";else if(Q.msstream)return"ms-stream";else if(Q.arraybuffer&&_)return"arraybuffer";else return"text"}var P=J.exports=function(_){var B=this;if(W.Writable.call(B),B._opts=_,B._body=[],B._headers={},_.auth)B.setHeader("Authorization","Basic "+Buffer.from(_.auth).toString("base64"));Object.keys(_.headers).forEach(function(w){B.setHeader(w,_.headers[w])});var N,y=!0;if(_.mode==="disable-fetch"||"requestTimeout"in _&&!Q.abortController)y=!1,N=!0;else if(_.mode==="prefer-streaming")N=!1;else if(_.mode==="allow-wrong-content-type")N=!Q.overrideMimeType;else if(!_.mode||_.mode==="default"||_.mode==="prefer-fast")N=!0;else throw Error("Invalid value for opts.mode");B._mode=j(N,y),B._fetchTimer=null,B._socketTimeout=null,B._socketTimer=null,B.on("finish",function(){B._onFinish()})};z(P,W.Writable),P.prototype.setHeader=function(_,B){var N=this,y=_.toLowerCase();if(T.indexOf(y)!==-1)return;N._headers[y]={name:_,value:B}},P.prototype.getHeader=function(_){var B=this._headers[_.toLowerCase()];if(B)return B.value;return null},P.prototype.removeHeader=function(_){var B=this;delete B._headers[_.toLowerCase()]},P.prototype._onFinish=function(){var _=this;if(_._destroyed)return;var B=_._opts;if("timeout"in B&&B.timeout!==0)_.setTimeout(B.timeout);var N=_._headers,y=null;if(B.method!=="GET"&&B.method!=="HEAD")y=new Blob(_._body,{type:(N["content-type"]||{}).value||""});var w=[];if(Object.keys(N).forEach(function(p){var d=N[p].name,a=N[p].value;if(Array.isArray(a))a.forEach(function(H0){w.push([d,H0])});else w.push([d,a])}),_._mode==="fetch"){var u=null;if(Q.abortController){var g=new AbortController;if(u=g.signal,_._fetchAbortController=g,"requestTimeout"in B&&B.requestTimeout!==0)_._fetchTimer=globalThis.setTimeout(function(){if(_.emit("requestTimeout"),_._fetchAbortController)_._fetchAbortController.abort()},B.requestTimeout)}globalThis.fetch(_._opts.url,{method:_._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:B.withCredentials?"include":"same-origin",signal:u}).then(function(p){_._fetchResponse=p,_._resetTimers(!1),_._connect()},function(p){if(_._resetTimers(!0),!_._destroyed)_.emit("error",p)})}else{var b=_._xhr=new globalThis.XMLHttpRequest;try{b.open(_._opts.method,_._opts.url,!0)}catch(p){process.nextTick(function(){_.emit("error",p)});return}if("responseType"in b)b.responseType=_._mode;if("withCredentials"in b)b.withCredentials=!!B.withCredentials;if(_._mode==="text"&&"overrideMimeType"in b)b.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in B)b.timeout=B.requestTimeout,b.ontimeout=function(){_.emit("requestTimeout")};if(w.forEach(function(p){b.setRequestHeader(p[0],p[1])}),_._response=null,b.onreadystatechange=function(){switch(b.readyState){case L.LOADING:case L.DONE:_._onXHRProgress();break}},_._mode==="moz-chunked-arraybuffer")b.onprogress=function(){_._onXHRProgress()};b.onerror=function(){if(_._destroyed)return;_._resetTimers(!0),_.emit("error",Error("XHR error"))};try{b.send(y)}catch(p){process.nextTick(function(){_.emit("error",p)});return}}};function S(_){try{var B=_.status;return B!==null&&B!==0}catch(N){return!1}}P.prototype._onXHRProgress=function(){var _=this;if(_._resetTimers(!1),!S(_._xhr)||_._destroyed)return;if(!_._response)_._connect();_._response._onXHRProgress(_._resetTimers.bind(_))},P.prototype._connect=function(){var _=this;if(_._destroyed)return;_._response=new Z(_._xhr,_._fetchResponse,_._mode,_._resetTimers.bind(_)),_._response.on("error",function(B){_.emit("error",B)}),_.emit("response",_._response)},P.prototype._write=function(_,B,N){var y=this;y._body.push(_),N()},P.prototype._resetTimers=function(_){var B=this;if(globalThis.clearTimeout(B._socketTimer),B._socketTimer=null,_)globalThis.clearTimeout(B._fetchTimer),B._fetchTimer=null;else if(B._socketTimeout)B._socketTimer=globalThis.setTimeout(function(){B.emit("timeout")},B._socketTimeout)},P.prototype.abort=P.prototype.destroy=function(_){var B=this;if(B._destroyed=!0,B._resetTimers(!0),B._response)B._response._destroyed=!0;if(B._xhr)B._xhr.abort();else if(B._fetchAbortController)B._fetchAbortController.abort();if(_)B.emit("error",_)},P.prototype.end=function(_,B,N){var y=this;if(typeof _==="function")N=_,_=void 0;W.Writable.prototype.end.call(y,_,B,N)},P.prototype.setTimeout=function(_,B){var N=this;if(B)N.once("timeout",B);N._socketTimeout=_,N._resetTimers(!1)},P.prototype.flushHeaders=function(){},P.prototype.setNoDelay=function(){},P.prototype.setSocketKeepAlive=function(){};var T=["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"]}),xp=BU((I,J)=>{J.exports=z;var Q=Object.prototype.hasOwnProperty;function z(){var X={};for(var W=0;W<arguments.length;W++){var Z=arguments[W];for(var L in Z)if(Q.call(Z,L))X[L]=Z[L]}return X}}),wp=BU((I,J)=>{J.exports=($A(),j$(hv)).STATUS_CODES}),fp=BU((I)=>{var J=gp(),Q=yv(),z=xp(),X=wp(),W=(Ev(),j$(Sv)),Z=I;Z.request=function(L,j){if(typeof L==="string")L=W.parse(L);else L=z(L);var P=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",S=L.protocol||P,T=L.hostname||L.host,_=L.port,B=L.path||"/";if(T&&T.indexOf(":")!==-1)T="["+T+"]";L.url=(T?S+"//"+T:"")+(_?":"+_:"")+B,L.method=(L.method||"GET").toUpperCase(),L.headers=L.headers||{};var N=new J(L);if(j)N.on("response",j);return N},Z.get=function(L,j){var P=Z.request(L,j);return P.end(),P},Z.ClientRequest=J,Z.IncomingMessage=Q.IncomingMessage,Z.Agent=function(){},Z.Agent.defaultMaxSockets=4,Z.globalAgent=new Z.Agent,Z.STATUS_CODES=X,Z.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}),bv=Pp(fp(),1),{request:yp,get:bp,ClientRequest:up,IncomingMessage:hp,Agent:cp,globalAgent:pp,STATUS_CODES:mp,METHODS:lp}=bv.default,uv=bv.default});var UA=UX((Zm)=>{var CJ=a4(nG());(function(){function I(K){if(K==null)return null;if(typeof K==="function")return K.$$typeof===t?null:K.displayName||K.name||null;if(typeof K==="string")return K;switch(K){case y:return"Fragment";case u:return"Profiler";case w:return"StrictMode";case d:return"Suspense";case a:return"SuspenseList";case S0:return"Activity"}if(typeof K==="object")switch(typeof K.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),K.$$typeof){case N:return"Portal";case b:return K.displayName||"Context";case g:return(K._context.displayName||"Context")+".Consumer";case p:var C=K.render;return K=K.displayName,K||(K=C.displayName||C.name||"",K=K!==""?"ForwardRef("+K+")":"ForwardRef"),K;case H0:return C=K.displayName||null,C!==null?C:I(K.type)||"Memo";case L0:C=K._payload,K=K._init;try{return I(K(C))}catch(x){}}return null}function J(K){return""+K}function Q(K){try{J(K);var C=!1}catch(h){C=!0}if(C){C=console;var x=C.error,v=typeof Symbol==="function"&&Symbol.toStringTag&&K[Symbol.toStringTag]||K.constructor.name||"Object";return x.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",v),J(K)}}function z(K){if(K===y)return"<>";if(typeof K==="object"&&K!==null&&K.$$typeof===L0)return"<...>";try{var C=I(K);return C?"<"+C+">":"<...>"}catch(x){return"<...>"}}function X(){var K=q0.A;return K===null?null:K.getOwner()}function W(){return Error("react-stack-top-frame")}function Z(K){if(G.call(K,"key")){var C=Object.getOwnPropertyDescriptor(K,"key").get;if(C&&C.isReactWarning)return!1}return K.key!==void 0}function L(K,C){function x(){O||(O=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",C))}x.isReactWarning=!0,Object.defineProperty(K,"key",{get:x,configurable:!0})}function j(){var K=I(this.type);return H[K]||(H[K]=!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.")),K=this.props.ref,K!==void 0?K:null}function P(K,C,x,v,h,r){var U0=x.ref;return K={$$typeof:B,type:K,key:C,props:x,_owner:v},(U0!==void 0?U0:null)!==null?Object.defineProperty(K,"ref",{enumerable:!1,get:j}):Object.defineProperty(K,"ref",{enumerable:!1,value:null}),K._store={},Object.defineProperty(K._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(K,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(K,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h}),Object.defineProperty(K,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(K.props),Object.freeze(K)),K}function S(K,C,x,v,h,r){var U0=C.children;if(U0!==void 0)if(v)if(V(U0)){for(v=0;v<U0.length;v++)T(U0[v]);Object.freeze&&Object.freeze(U0)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(U0);if(G.call(C,"key")){U0=I(K);var W0=Object.keys(C).filter(function(s){return s!=="key"});v=0<W0.length?"{key: someKey, "+W0.join(": ..., ")+": ...}":"{key: someKey}",A[U0+v]||(W0=0<W0.length?"{"+W0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
247
+ let props = %s;
248
+ <%s {...props} />
249
+ React keys must be passed directly to JSX without using spread:
250
+ let props = %s;
251
+ <%s key={someKey} {...props} />`,v,U0,W0,U0),A[U0+v]=!0)}if(U0=null,x!==void 0&&(Q(x),U0=""+x),Z(C)&&(Q(C.key),U0=""+C.key),"key"in C){x={};for(var Y0 in C)Y0!=="key"&&(x[Y0]=C[Y0])}else x=C;return U0&&L(x,typeof K==="function"?K.displayName||K.name||"Unknown":K),P(K,U0,x,X(),h,r)}function T(K){_(K)?K._store&&(K._store.validated=1):typeof K==="object"&&K!==null&&K.$$typeof===L0&&(K._payload.status==="fulfilled"?_(K._payload.value)&&K._payload.value._store&&(K._payload.value._store.validated=1):K._store&&(K._store.validated=1))}function _(K){return typeof K==="object"&&K!==null&&K.$$typeof===B}var B=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),b=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),a=Symbol.for("react.suspense_list"),H0=Symbol.for("react.memo"),L0=Symbol.for("react.lazy"),S0=Symbol.for("react.activity"),t=Symbol.for("react.client.reference"),q0=CJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Object.prototype.hasOwnProperty,V=Array.isArray,D=console.createTask?console.createTask:function(){return null};CJ={react_stack_bottom_frame:function(K){return K()}};var O,H={},q=CJ.react_stack_bottom_frame.bind(CJ,W)(),E=D(z(W)),A={};Zm.Fragment=y,Zm.jsxDEV=function(K,C,x,v){var h=1e4>q0.recentlyCreatedOwnerStacks++;return S(K,C,x,v,h?Error("react-stack-top-frame"):q,h?D(z(K)):E)}})()});var $N=a4(p_(),1),S1=a4(nG(),1);var{readFile:N40}=(()=>({}));yU();var{closeSync:Ar,existsSync:Tr,fstatSync:Cr,mkdirSync:qr,openSync:Rr,readFileSync:Pr,renameSync:_r,rmSync:Sr,statSync:Er,writeFileSync:jr,writeSync:Br}=(()=>({}));var C8=function(){if(typeof location<"u")return location.hostname;else return""};var qF=function(){return"/"};function N6(I){if(typeof I!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(I))}function LE(I,J){var Q="",z=0,X=-1,W=0,Z;for(var L=0;L<=I.length;++L){if(L<I.length)Z=I.charCodeAt(L);else if(Z===47)break;else Z=47;if(Z===47){if(X===L-1||W===1);else if(X!==L-1&&W===2){if(Q.length<2||z!==2||Q.charCodeAt(Q.length-1)!==46||Q.charCodeAt(Q.length-2)!==46){if(Q.length>2){var j=Q.lastIndexOf("/");if(j!==Q.length-1){if(j===-1)Q="",z=0;else Q=Q.slice(0,j),z=Q.length-1-Q.lastIndexOf("/");X=L,W=0;continue}}else if(Q.length===2||Q.length===1){Q="",z=0,X=L,W=0;continue}}if(J){if(Q.length>0)Q+="/..";else Q="..";z=2}}else{if(Q.length>0)Q+="/"+I.slice(X+1,L);else Q=I.slice(X+1,L);z=L-X-1}X=L,W=0}else if(Z===46&&W!==-1)++W;else W=-1}return Q}function py(I,J){var Q=J.dir||J.root,z=J.base||(J.name||"")+(J.ext||"");if(!Q)return z;if(Q===J.root)return Q+z;return Q+I+z}function s4(){var I="",J=!1,Q;for(var z=arguments.length-1;z>=-1&&!J;z--){var X;if(z>=0)X=arguments[z];else{if(Q===void 0)Q=process.cwd();X=Q}if(N6(X),X.length===0)continue;I=X+"/"+I,J=X.charCodeAt(0)===47}if(I=LE(I,!J),J)if(I.length>0)return"/"+I;else return"/";else if(I.length>0)return I;else return"."}function ME(I){if(N6(I),I.length===0)return".";var J=I.charCodeAt(0)===47,Q=I.charCodeAt(I.length-1)===47;if(I=LE(I,!J),I.length===0&&!J)I=".";if(I.length>0&&Q)I+="/";if(J)return"/"+I;return I}function gY(I){return N6(I),I.length>0&&I.charCodeAt(0)===47}function i$(){if(arguments.length===0)return".";var I;for(var J=0;J<arguments.length;++J){var Q=arguments[J];if(N6(Q),Q.length>0)if(I===void 0)I=Q;else I+="/"+Q}if(I===void 0)return".";return ME(I)}function AE(I,J){if(N6(I),N6(J),I===J)return"";if(I=s4(I),J=s4(J),I===J)return"";var Q=1;for(;Q<I.length;++Q)if(I.charCodeAt(Q)!==47)break;var z=I.length,X=z-Q,W=1;for(;W<J.length;++W)if(J.charCodeAt(W)!==47)break;var Z=J.length,L=Z-W,j=X<L?X:L,P=-1,S=0;for(;S<=j;++S){if(S===j){if(L>j){if(J.charCodeAt(W+S)===47)return J.slice(W+S+1);else if(S===0)return J.slice(W+S)}else if(X>j){if(I.charCodeAt(Q+S)===47)P=S;else if(S===0)P=0}break}var T=I.charCodeAt(Q+S),_=J.charCodeAt(W+S);if(T!==_)break;else if(T===47)P=S}var B="";for(S=Q+P+1;S<=z;++S)if(S===z||I.charCodeAt(S)===47)if(B.length===0)B+="..";else B+="/..";if(B.length>0)return B+J.slice(W+P);else{if(W+=P,J.charCodeAt(W)===47)++W;return J.slice(W)}}function my(I){return I}function iU(I){if(N6(I),I.length===0)return".";var J=I.charCodeAt(0),Q=J===47,z=-1,X=!0;for(var W=I.length-1;W>=1;--W)if(J=I.charCodeAt(W),J===47){if(!X){z=W;break}}else X=!1;if(z===-1)return Q?"/":".";if(Q&&z===1)return"//";return I.slice(0,z)}function J2(I,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');N6(I);var Q=0,z=-1,X=!0,W;if(J!==void 0&&J.length>0&&J.length<=I.length){if(J.length===I.length&&J===I)return"";var Z=J.length-1,L=-1;for(W=I.length-1;W>=0;--W){var j=I.charCodeAt(W);if(j===47){if(!X){Q=W+1;break}}else{if(L===-1)X=!1,L=W+1;if(Z>=0)if(j===J.charCodeAt(Z)){if(--Z===-1)z=W}else Z=-1,z=L}}if(Q===z)z=L;else if(z===-1)z=I.length;return I.slice(Q,z)}else{for(W=I.length-1;W>=0;--W)if(I.charCodeAt(W)===47){if(!X){Q=W+1;break}}else if(z===-1)X=!1,z=W+1;if(z===-1)return"";return I.slice(Q,z)}}function ly(I){N6(I);var J=-1,Q=0,z=-1,X=!0,W=0;for(var Z=I.length-1;Z>=0;--Z){var L=I.charCodeAt(Z);if(L===47){if(!X){Q=Z+1;break}continue}if(z===-1)X=!1,z=Z+1;if(L===46){if(J===-1)J=Z;else if(W!==1)W=1}else if(J!==-1)W=-1}if(J===-1||z===-1||W===0||W===1&&J===z-1&&J===Q+1)return"";return I.slice(J,z)}function dy(I){if(I===null||typeof I!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof I);return py("/",I)}function ny(I){N6(I);var J={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return J;var Q=I.charCodeAt(0),z=Q===47,X;if(z)J.root="/",X=1;else X=0;var W=-1,Z=0,L=-1,j=!0,P=I.length-1,S=0;for(;P>=X;--P){if(Q=I.charCodeAt(P),Q===47){if(!j){Z=P+1;break}continue}if(L===-1)j=!1,L=P+1;if(Q===46){if(W===-1)W=P;else if(S!==1)S=1}else if(W!==-1)S=-1}if(W===-1||L===-1||S===0||S===1&&W===L-1&&W===Z+1){if(L!==-1)if(Z===0&&z)J.base=J.name=I.slice(1,L);else J.base=J.name=I.slice(Z,L)}else{if(Z===0&&z)J.name=I.slice(1,W),J.base=I.slice(1,L);else J.name=I.slice(Z,W),J.base=I.slice(Z,L);J.ext=I.slice(W,L)}if(Z>0)J.dir=I.slice(0,Z-1);else if(z)J.dir="/";return J}var TE="/",oy=":",Pd=((I)=>(I.posix=I,I))({resolve:s4,normalize:ME,isAbsolute:gY,join:i$,relative:AE,_makeLong:my,dirname:iU,basename:J2,extname:ly,format:dy,parse:ny,sep:TE,delimiter:oy,win32:null,posix:null});function Y2(){let I=process.env.VOLTER_HOME;return I!==void 0&&I!==""?I:i$(qF(),".volter")}yU();yU();var{appendFileSync:iy,chmodSync:CE,closeSync:q8,existsSync:Q2,fsyncSync:ry,fstatSync:qE,lstatSync:RE,mkdirSync:G2,openSync:R8,readdirSync:ty,readSync:ay,realpathSync:sy,readFileSync:PF,renameSync:PE,rmSync:_E,statSync:jE,unlinkSync:RF,writeFileSync:Z2}=(()=>({}));var ey=0,$b=60000;function _F(I){try{return JSON.parse(PF(I,"utf8"))}catch{return null}}function Ub(I){try{return process.kill(I,0),!0}catch(J){return J.code==="EPERM"}}function SE(I,J=!1){let Q=_F(I);if(Q&&Q.hostname===C8()&&Number.isInteger(Q.pid)&&!Ub(Q.pid))return!0;if(J)return!1;let X=Q&&typeof Q.at==="string"?Date.parse(Q.at):NaN;if(!Number.isFinite(X))try{X=jE(I).mtimeMs}catch{return!1}return Date.now()-X>$b}function EE(I){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,I)}class SF{read(I){if(!Q2(I))return null;return PF(I,"utf8")}readLines(I){if(!Q2(I))return[];return PF(I,"utf8").split(`
252
+ `)}readRange(I,J){let Q;try{Q=R8(I,"r")}catch(z){if(z.code==="ENOENT")return null;throw z}try{let z=qE(Q).size;if(J>=z)return"";let X=Buffer.allocUnsafe(z-J),W=0;while(W<X.length){let Z=ay(Q,X,W,X.length-W,J+W);if(Z===0)break;W+=Z}return X.toString("utf8",0,W)}finally{q8(Q)}}append(I,J){let Q=R8(I,"a");try{if(iy(Q,J),process.env.VOLTER_DURABLE==="1")ry(Q)}finally{q8(Q)}}write(I,J,Q={}){if(!Q.secret){G2(iU(I),{recursive:!0}),Z2(I,J);return}G2(iU(I),{recursive:!0,mode:448}),Z2(I,J,{mode:384}),CE(I,384)}writeAtomic(I,J,Q={}){G2(iU(I),{recursive:!0});let z=`${I}.${process.pid}.${Date.now()}.${ey++}.tmp`;try{if(Z2(z,J,Q.secret?{mode:384}:void 0),PE(z,I),Q.secret)CE(I,384)}finally{_E(z,{force:!0})}}exists(I){return Q2(I)}remove(I){_E(I,{recursive:!0,force:!0})}mkdir(I){G2(I,{recursive:!0})}list(I){if(!Q2(I))return[];return ty(I)}canonicalPath(I){let J=s4(I);try{return sy(J)}catch(Q){if(Q.code!=="ENOENT"||iU(J)===J)throw Q;return i$(this.canonicalPath(iU(J)),J2(J))}}stat(I){if(!Q2(I))return null;let J=jE(I);return{size:J.size,mtimeMs:J.mtimeMs,isDirectory:J.isDirectory(),...RE(I).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(I,J,Q={}){G2(iU(I),{recursive:!0});let z=Date.now(),X=null;while(X===null)try{X=R8(I,"wx")}catch(Z){if(Z.code!=="EEXIST")throw Z;if(SE(I,Q.retainLiveOwner)){let j=`${I}.recovery`,P;try{P=R8(j,"wx")}catch(S){if(S.code!=="EEXIST")throw S;if(Date.now()-z>1e4)throw Error(`Lock recovery is active or interrupted: ${j}. Inspect its owner before removing the recovery record.`);EE(25);continue}try{if(Z2(P,JSON.stringify({pid:process.pid,hostname:C8()})),SE(I,Q.retainLiveOwner)){let S=_F(I),T=`${I}.stale.${process.pid}.${Date.now()}`;try{PE(I,T),console.warn(`[world] reclaiming stale storage lock ${I} (held by pid ${S?.pid??"?"} on ${S?.hostname??"?"})`),RF(T)}catch(_){if(_.code!=="ENOENT")throw _}}}finally{q8(P),RF(j)}continue}if(Date.now()-z>1e4){let j=_F(I),P=j&&typeof j.at==="string"?Date.parse(j.at):NaN;throw Error(`Timed out waiting for world storage lock: ${I}${j?` (held by pid ${j.pid} on ${j.hostname}${Number.isFinite(P)?` for ${Date.now()-P}ms`:""})`:""}`)}EE(25)}try{Z2(X,`${JSON.stringify({pid:process.pid,hostname:C8(),at:new Date().toISOString()})}
253
+ `)}catch{}let W=Date.now();try{return J()}finally{let Z=Date.now()-W;if(Z>2000)console.warn(`[world] held storage lock ${I} for ${Z}ms (pid ${process.pid})
254
+ ${Error().stack?.split(`
255
+ `).slice(2,8).join(`
256
+ `)??""}`);let L=qE(X);q8(X);try{let j=RE(I);if(L.dev===j.dev&&L.ino===j.ino)RF(I)}catch{}}}}var Ib=new SF,Xb=(()=>{try{let I=globalThis.process?.getBuiltinModule?.("node:async_hooks");return I?.AsyncLocalStorage?new I.AsyncLocalStorage:null}catch{return null}})();function u1(){return Xb?.getStore()??Ib}yU();var _$={};f1(_$,{xor:()=>WB,xid:()=>gj,void:()=>JB,uuidv7:()=>_j,uuidv6:()=>Pj,uuidv4:()=>Rj,uuid:()=>qj,util:()=>Z$,url:()=>Sj,uppercase:()=>nY,unknown:()=>DJ,union:()=>eW,undefined:()=>IB,ulid:()=>kj,uint64:()=>$B,uint32:()=>aj,tuple:()=>IM,trim:()=>sY,treeifyError:()=>oF,transform:()=>Uz,toUpperCase:()=>$Q,toLowerCase:()=>eY,toJSONSchema:()=>SW,templateLiteral:()=>PB,symbol:()=>UB,superRefine:()=>vM,success:()=>TB,stringbool:()=>kB,stringFormat:()=>lj,string:()=>k2,strictObject:()=>ZB,startsWith:()=>iY,slugify:()=>UQ,size:()=>VJ,setErrorMap:()=>dh,set:()=>HB,safeParseAsync:()=>v7,safeParse:()=>B7,safeEncodeAsync:()=>y7,safeEncode:()=>w7,safeDecodeAsync:()=>b7,safeDecode:()=>f7,registry:()=>a8,regexes:()=>C4,regex:()=>lY,refine:()=>BM,record:()=>XM,readonly:()=>RM,property:()=>qW,promise:()=>_B,prettifyError:()=>iF,preprocess:()=>xB,prefault:()=>HM,positive:()=>MW,pipe:()=>gW,partialRecord:()=>OB,parseAsync:()=>j7,parse:()=>E7,overwrite:()=>e4,optional:()=>x2,object:()=>GB,number:()=>h7,nullish:()=>AB,nullable:()=>w2,null:()=>d7,normalize:()=>aY,nonpositive:()=>TW,nonoptional:()=>DM,nonnegative:()=>CW,never:()=>sW,negative:()=>AW,nativeEnum:()=>DB,nanoid:()=>Bj,nan:()=>CB,multipleOf:()=>WX,minSize:()=>w6,minLength:()=>VI,mime:()=>tY,meta:()=>vB,maxSize:()=>zX,maxLength:()=>FJ,map:()=>FB,mac:()=>fj,lte:()=>q4,lt:()=>g6,lowercase:()=>dY,looseRecord:()=>VB,looseObject:()=>KB,locales:()=>j2,literal:()=>LB,length:()=>HJ,lazy:()=>SM,ksuid:()=>xj,keyof:()=>QB,jwt:()=>mj,json:()=>gB,iso:()=>JQ,ipv6:()=>yj,ipv4:()=>wj,invertCodec:()=>RB,intersection:()=>$M,int64:()=>ej,int32:()=>tj,int:()=>kW,instanceof:()=>NB,includes:()=>oY,httpUrl:()=>Ej,hostname:()=>dj,hex:()=>nj,hash:()=>oj,guid:()=>Cj,gte:()=>p1,gt:()=>x6,globalRegistry:()=>C1,getErrorMap:()=>nh,function:()=>SB,fromJSONSchema:()=>fB,formatError:()=>L2,float64:()=>rj,float32:()=>ij,flattenError:()=>D2,file:()=>MB,exactOptional:()=>WM,enum:()=>$z,endsWith:()=>rY,encodeAsync:()=>g7,encode:()=>N7,emoji:()=>jj,email:()=>Tj,e164:()=>pj,discriminatedUnion:()=>zB,describe:()=>BB,decodeAsync:()=>x7,decode:()=>k7,date:()=>YB,custom:()=>jB,cuid2:()=>Nj,cuid:()=>vj,core:()=>FI,config:()=>rU,coerce:()=>kM,codec:()=>qB,clone:()=>h1,cidrv6:()=>uj,cidrv4:()=>bj,check:()=>EB,catch:()=>AM,boolean:()=>c7,bigint:()=>sj,base64url:()=>cj,base64:()=>hj,array:()=>u2,any:()=>XB,_function:()=>SB,_default:()=>VM,_ZodString:()=>xW,ZodXor:()=>a7,ZodXID:()=>cW,ZodVoid:()=>r7,ZodUnknown:()=>o7,ZodUnion:()=>c2,ZodUndefined:()=>m7,ZodUUID:()=>f6,ZodURL:()=>y2,ZodULID:()=>hW,ZodType:()=>x$,ZodTuple:()=>UM,ZodTransform:()=>ZM,ZodTemplateLiteral:()=>PM,ZodSymbol:()=>p7,ZodSuccess:()=>LM,ZodStringFormat:()=>WU,ZodString:()=>GQ,ZodSet:()=>YM,ZodRecord:()=>YQ,ZodRealError:()=>I4,ZodReadonly:()=>qM,ZodPromise:()=>EM,ZodPreprocess:()=>CM,ZodPrefault:()=>FM,ZodPipe:()=>p2,ZodOptional:()=>Iz,ZodObject:()=>h2,ZodNumberFormat:()=>LJ,ZodNumber:()=>KQ,ZodNullable:()=>zM,ZodNull:()=>l7,ZodNonOptional:()=>Xz,ZodNever:()=>i7,ZodNanoID:()=>yW,ZodNaN:()=>TM,ZodMap:()=>JM,ZodMAC:()=>u7,ZodLiteral:()=>QM,ZodLazy:()=>_M,ZodKSUID:()=>pW,ZodJWT:()=>tW,ZodIssueCode:()=>lh,ZodIntersection:()=>e7,ZodISOTime:()=>vW,ZodISODuration:()=>NW,ZodISODateTime:()=>jW,ZodISODate:()=>BW,ZodIPv6:()=>lW,ZodIPv4:()=>mW,ZodGUID:()=>g2,ZodFunction:()=>jM,ZodFirstPartyTypeKind:()=>NM,ZodFile:()=>GM,ZodExactOptional:()=>KM,ZodError:()=>ph,ZodEnum:()=>QQ,ZodEmoji:()=>fW,ZodEmail:()=>wW,ZodE164:()=>rW,ZodDiscriminatedUnion:()=>s7,ZodDefault:()=>OM,ZodDate:()=>b2,ZodCustomStringFormat:()=>ZQ,ZodCustom:()=>l2,ZodCodec:()=>m2,ZodCatch:()=>MM,ZodCUID2:()=>uW,ZodCUID:()=>bW,ZodCIDRv6:()=>nW,ZodCIDRv4:()=>dW,ZodBoolean:()=>WQ,ZodBigIntFormat:()=>aW,ZodBigInt:()=>zQ,ZodBase64URL:()=>iW,ZodBase64:()=>oW,ZodArray:()=>t7,ZodAny:()=>n7,TimePrecision:()=>IL,NEVER:()=>wF,$output:()=>t5,$input:()=>a5,$brand:()=>fF});var FI={};f1(FI,{version:()=>lH,util:()=>Z$,treeifyError:()=>oF,toJSONSchema:()=>SW,toDotPath:()=>uE,safeParseAsync:()=>tF,safeParse:()=>rF,safeEncodeAsync:()=>lb,safeEncode:()=>pb,safeDecodeAsync:()=>db,safeDecode:()=>mb,registry:()=>a8,regexes:()=>C4,process:()=>JU,prettifyError:()=>iF,parseAsync:()=>B8,parse:()=>j8,meta:()=>fL,locales:()=>j2,isValidJWT:()=>Gj,isValidBase64URL:()=>Qj,isValidBase64:()=>OD,initializeContext:()=>OX,globalRegistry:()=>C1,globalConfig:()=>ZJ,formatError:()=>L2,flattenError:()=>D2,finalize:()=>FX,extractDefs:()=>VX,encodeAsync:()=>hb,encode:()=>bb,describe:()=>wL,decodeAsync:()=>cb,decode:()=>ub,createToJSONSchemaMethod:()=>bL,createStandardJSONSchemaMethod:()=>XQ,config:()=>rU,clone:()=>h1,_xor:()=>Mh,_xid:()=>ZW,_void:()=>SL,_uuidv7:()=>IW,_uuidv6:()=>UW,_uuidv4:()=>$W,_uuid:()=>e8,_url:()=>v2,_uppercase:()=>nY,_unknown:()=>PL,_union:()=>Lh,_undefined:()=>CL,_ulid:()=>GW,_uint64:()=>AL,_uint32:()=>VL,_tuple:()=>Ch,_trim:()=>sY,_transform:()=>jh,_toUpperCase:()=>$Q,_toLowerCase:()=>eY,_templateLiteral:()=>yh,_symbol:()=>TL,_superRefine:()=>xL,_success:()=>gh,_stringbool:()=>yL,_stringFormat:()=>IQ,_string:()=>e5,_startsWith:()=>iY,_slugify:()=>UQ,_size:()=>VJ,_set:()=>Ph,_safeParseAsync:()=>cY,_safeParse:()=>hY,_safeEncodeAsync:()=>f8,_safeEncode:()=>x8,_safeDecodeAsync:()=>y8,_safeDecode:()=>w8,_regex:()=>lY,_refine:()=>gL,_record:()=>qh,_readonly:()=>fh,_property:()=>qW,_promise:()=>uh,_positive:()=>MW,_pipe:()=>wh,_parseAsync:()=>uY,_parse:()=>bY,_overwrite:()=>e4,_optional:()=>Bh,_number:()=>GL,_nullable:()=>vh,_null:()=>qL,_normalize:()=>aY,_nonpositive:()=>TW,_nonoptional:()=>kh,_nonnegative:()=>CW,_never:()=>_L,_negative:()=>AW,_nativeEnum:()=>Sh,_nanoid:()=>JW,_nan:()=>BL,_multipleOf:()=>WX,_minSize:()=>w6,_minLength:()=>VI,_min:()=>p1,_mime:()=>tY,_maxSize:()=>zX,_maxLength:()=>FJ,_max:()=>q4,_map:()=>Rh,_mac:()=>UL,_lte:()=>q4,_lt:()=>g6,_lowercase:()=>dY,_literal:()=>Eh,_length:()=>HJ,_lazy:()=>bh,_ksuid:()=>KW,_jwt:()=>LW,_isoTime:()=>YL,_isoDuration:()=>QL,_isoDateTime:()=>XL,_isoDate:()=>JL,_ipv6:()=>zW,_ipv4:()=>WW,_intersection:()=>Th,_int64:()=>ML,_int32:()=>OL,_int:()=>KL,_includes:()=>oY,_guid:()=>B2,_gte:()=>p1,_gt:()=>x6,_float64:()=>zL,_float32:()=>WL,_file:()=>NL,_enum:()=>_h,_endsWith:()=>rY,_encodeAsync:()=>k8,_encode:()=>v8,_emoji:()=>XW,_email:()=>s8,_e164:()=>DW,_discriminatedUnion:()=>Ah,_default:()=>Nh,_decodeAsync:()=>g8,_decode:()=>N8,_date:()=>EL,_custom:()=>kL,_cuid2:()=>QW,_cuid:()=>YW,_coercedString:()=>$L,_coercedNumber:()=>ZL,_coercedDate:()=>jL,_coercedBoolean:()=>HL,_coercedBigint:()=>LL,_cidrv6:()=>VW,_cidrv4:()=>OW,_check:()=>Dj,_catch:()=>xh,_boolean:()=>FL,_bigint:()=>DL,_base64url:()=>HW,_base64:()=>FW,_array:()=>vL,_any:()=>RL,TimePrecision:()=>IL,NEVER:()=>wF,JSONSchemaGenerator:()=>q7,JSONSchema:()=>Lj,Doc:()=>c8,$output:()=>t5,$input:()=>a5,$constructor:()=>B0,$brand:()=>fF,$ZodXor:()=>vD,$ZodXID:()=>UD,$ZodVoid:()=>SD,$ZodUnknown:()=>PD,$ZodUnion:()=>q2,$ZodUndefined:()=>CD,$ZodUUID:()=>oH,$ZodURL:()=>rH,$ZodULID:()=>$D,$ZodType:()=>S$,$ZodTuple:()=>i8,$ZodTransform:()=>uD,$ZodTemplateLiteral:()=>tD,$ZodSymbol:()=>TD,$ZodSuccess:()=>dD,$ZodStringFormat:()=>KU,$ZodString:()=>OJ,$ZodSet:()=>wD,$ZodRegistry:()=>s5,$ZodRecord:()=>gD,$ZodRealError:()=>U4,$ZodReadonly:()=>rD,$ZodPromise:()=>sD,$ZodPreprocess:()=>iD,$ZodPrefault:()=>mD,$ZodPipe:()=>t8,$ZodOptional:()=>r8,$ZodObjectJIT:()=>BD,$ZodObject:()=>Wj,$ZodNumberFormat:()=>MD,$ZodNumber:()=>n8,$ZodNullable:()=>cD,$ZodNull:()=>qD,$ZodNonOptional:()=>lD,$ZodNever:()=>_D,$ZodNanoID:()=>aH,$ZodNaN:()=>oD,$ZodMap:()=>xD,$ZodMAC:()=>KD,$ZodLiteral:()=>yD,$ZodLazy:()=>eD,$ZodKSUID:()=>ID,$ZodJWT:()=>DD,$ZodIntersection:()=>kD,$ZodISOTime:()=>YD,$ZodISODuration:()=>QD,$ZodISODateTime:()=>XD,$ZodISODate:()=>JD,$ZodIPv6:()=>ZD,$ZodIPv4:()=>GD,$ZodGUID:()=>nH,$ZodFunction:()=>aD,$ZodFile:()=>bD,$ZodExactOptional:()=>hD,$ZodError:()=>H2,$ZodEnum:()=>fD,$ZodEncodeError:()=>KJ,$ZodEmoji:()=>tH,$ZodEmail:()=>iH,$ZodE164:()=>HD,$ZodDiscriminatedUnion:()=>ND,$ZodDefault:()=>pD,$ZodDate:()=>ED,$ZodCustomStringFormat:()=>LD,$ZodCustom:()=>$5,$ZodCodec:()=>R2,$ZodCheckUpperCase:()=>yH,$ZodCheckStringFormat:()=>pY,$ZodCheckStartsWith:()=>uH,$ZodCheckSizeEquals:()=>NH,$ZodCheckRegex:()=>wH,$ZodCheckProperty:()=>cH,$ZodCheckOverwrite:()=>mH,$ZodCheckNumberFormat:()=>EH,$ZodCheckMultipleOf:()=>SH,$ZodCheckMinSize:()=>vH,$ZodCheckMinLength:()=>gH,$ZodCheckMimeType:()=>pH,$ZodCheckMaxSize:()=>BH,$ZodCheckMaxLength:()=>kH,$ZodCheckLowerCase:()=>fH,$ZodCheckLessThan:()=>u8,$ZodCheckLengthEquals:()=>xH,$ZodCheckIncludes:()=>bH,$ZodCheckGreaterThan:()=>h8,$ZodCheckEndsWith:()=>hH,$ZodCheckBigIntFormat:()=>jH,$ZodCheck:()=>HU,$ZodCatch:()=>nD,$ZodCUID2:()=>eH,$ZodCUID:()=>sH,$ZodCIDRv6:()=>zD,$ZodCIDRv4:()=>WD,$ZodBoolean:()=>C2,$ZodBigIntFormat:()=>AD,$ZodBigInt:()=>o8,$ZodBase64URL:()=>FD,$ZodBase64:()=>VD,$ZodAsyncError:()=>k6,$ZodArray:()=>jD,$ZodAny:()=>RD});var gE,wF=Object.freeze({status:"aborted"});function B0(I,J,Q){function z(L,j){if(!L._zod)Object.defineProperty(L,"_zod",{value:{def:j,constr:Z,traits:new Set},enumerable:!1});if(L._zod.traits.has(I))return;L._zod.traits.add(I),J(L,j);let P=Z.prototype,S=Object.keys(P);for(let T=0;T<S.length;T++){let _=S[T];if(!(_ in L))L[_]=P[_].bind(L)}}let X=Q?.Parent??Object;class W extends X{}Object.defineProperty(W,"name",{value:I});function Z(L){var j;let P=Q?.Parent?new W:this;z(P,L),(j=P._zod).deferred??(j.deferred=[]);for(let S of P._zod.deferred)S();return P}return Object.defineProperty(Z,"init",{value:z}),Object.defineProperty(Z,Symbol.hasInstance,{value:(L)=>{if(Q?.Parent&&L instanceof Q.Parent)return!0;return L?._zod?.traits?.has(I)}}),Object.defineProperty(Z,"name",{value:I}),Z}var fF=Symbol("zod_brand");class k6 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class KJ extends Error{constructor(I){super(`Encountered unidirectional transform during encode: ${I}`);this.name="ZodEncodeError"}}(gE=globalThis).__zod_globalConfig??(gE.__zod_globalConfig={});var ZJ=globalThis.__zod_globalConfig;function rU(I){if(I)Object.assign(ZJ,I);return ZJ}var Z$={};f1(Z$,{unwrapMessage:()=>K2,uint8ArrayToHex:()=>fb,uint8ArrayToBase64url:()=>xb,uint8ArrayToBase64:()=>fE,stringifyPrimitive:()=>Y$,slugify:()=>uF,shallowClone:()=>cF,safeExtend:()=>jb,required:()=>Nb,randomString:()=>Cb,propertyKeyTypes:()=>O2,promiseAllObject:()=>Tb,primitiveTypes:()=>pF,prefixIssues:()=>$4,pick:()=>_b,partial:()=>vb,parsedType:()=>Q$,optionalKeys:()=>mF,omit:()=>Sb,objectClone:()=>Lb,numKeys:()=>qb,nullish:()=>QX,normalizeParams:()=>K$,mergeDefs:()=>OI,merge:()=>Bb,jsonStringifyReplacer:()=>wY,joinValues:()=>w0,issue:()=>yY,isPlainObject:()=>ZX,isObject:()=>WJ,hexToUint8Array:()=>wb,getSizableOrigin:()=>V2,getParsedType:()=>Rb,getLengthableOrigin:()=>F2,getEnumValues:()=>W2,getElementAtPath:()=>Ab,floatSafeRemainder:()=>bF,finalizeIssue:()=>c1,extend:()=>Eb,explicitlyAborted:()=>nF,escapeRegex:()=>u4,esc:()=>S8,defineLazy:()=>c$,createTransparentProxy:()=>Pb,cloneDef:()=>Mb,clone:()=>h1,cleanRegex:()=>z2,cleanEnum:()=>kb,captureStackTrace:()=>E8,cached:()=>fY,base64urlToUint8Array:()=>gb,base64ToUint8Array:()=>wE,assignProp:()=>GX,assertNotEqual:()=>Vb,assertNever:()=>Hb,assertIs:()=>Fb,assertEqual:()=>Ob,assert:()=>Db,allowsEval:()=>hF,aborted:()=>KX,NUMBER_FORMAT_RANGES:()=>lF,Class:()=>yE,BIGINT_FORMAT_RANGES:()=>dF});function Ob(I){return I}function Vb(I){return I}function Fb(I){}function Hb(I){throw Error("Unexpected value in exhaustive check")}function Db(I){}function W2(I){let J=Object.values(I).filter((z)=>typeof z==="number");return Object.entries(I).filter(([z,X])=>J.indexOf(+z)===-1).map(([z,X])=>X)}function w0(I,J="|"){return I.map((Q)=>Y$(Q)).join(J)}function wY(I,J){if(typeof J==="bigint")return J.toString();return J}function fY(I){return{get value(){{let Q=I();return Object.defineProperty(this,"value",{value:Q}),Q}throw Error("cached value already set")}}}function QX(I){return I===null||I===void 0}function z2(I){let J=I.startsWith("^")?1:0,Q=I.endsWith("$")?I.length-1:I.length;return I.slice(J,Q)}function bF(I,J){let Q=I/J,z=Math.round(Q),X=Number.EPSILON*Math.max(Math.abs(Q),1);if(Math.abs(Q-z)<X)return 0;return Q-z}var xE=Symbol("evaluating");function c$(I,J,Q){let z=void 0;Object.defineProperty(I,J,{get(){if(z===xE)return;if(z===void 0)z=xE,z=Q();return z},set(X){Object.defineProperty(I,J,{value:X})},configurable:!0})}function Lb(I){return Object.create(Object.getPrototypeOf(I),Object.getOwnPropertyDescriptors(I))}function GX(I,J,Q){Object.defineProperty(I,J,{value:Q,writable:!0,enumerable:!0,configurable:!0})}function OI(...I){let J={};for(let Q of I){let z=Object.getOwnPropertyDescriptors(Q);Object.assign(J,z)}return Object.defineProperties({},J)}function Mb(I){return OI(I._zod.def)}function Ab(I,J){if(!J)return I;return J.reduce((Q,z)=>Q?.[z],I)}function Tb(I){let J=Object.keys(I),Q=J.map((z)=>I[z]);return Promise.all(Q).then((z)=>{let X={};for(let W=0;W<J.length;W++)X[J[W]]=z[W];return X})}function Cb(I=10){let Q="";for(let z=0;z<I;z++)Q+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return Q}function S8(I){return JSON.stringify(I)}function uF(I){return I.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var E8="captureStackTrace"in Error?Error.captureStackTrace:(...I)=>{};function WJ(I){return typeof I==="object"&&I!==null&&!Array.isArray(I)}var hF=fY(()=>{if(ZJ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(I){return!1}});function ZX(I){if(WJ(I)===!1)return!1;let J=I.constructor;if(J===void 0)return!0;if(typeof J!=="function")return!0;let Q=J.prototype;if(WJ(Q)===!1)return!1;if(Object.prototype.hasOwnProperty.call(Q,"isPrototypeOf")===!1)return!1;return!0}function cF(I){if(ZX(I))return{...I};if(Array.isArray(I))return[...I];if(I instanceof Map)return new Map(I);if(I instanceof Set)return new Set(I);return I}function qb(I){let J=0;for(let Q in I)if(Object.prototype.hasOwnProperty.call(I,Q))J++;return J}var Rb=(I)=>{let J=typeof I;switch(J){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(I)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(I))return"array";if(I===null)return"null";if(I.then&&typeof I.then==="function"&&I.catch&&typeof I.catch==="function")return"promise";if(typeof Map<"u"&&I instanceof Map)return"map";if(typeof Set<"u"&&I instanceof Set)return"set";if(typeof Date<"u"&&I instanceof Date)return"date";if(typeof File<"u"&&I instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${J}`)}},O2=new Set(["string","number","symbol"]),pF=new Set(["string","number","bigint","boolean","symbol","undefined"]);function u4(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function h1(I,J,Q){let z=new I._zod.constr(J??I._zod.def);if(!J||Q?.parent)z._zod.parent=I;return z}function K$(I){let J=I;if(!J)return{};if(typeof J==="string")return{error:()=>J};if(J?.message!==void 0){if(J?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");J.error=J.message}if(delete J.message,typeof J.error==="string")return{...J,error:()=>J.error};return J}function Pb(I){let J;return new Proxy({},{get(Q,z,X){return J??(J=I()),Reflect.get(J,z,X)},set(Q,z,X,W){return J??(J=I()),Reflect.set(J,z,X,W)},has(Q,z){return J??(J=I()),Reflect.has(J,z)},deleteProperty(Q,z){return J??(J=I()),Reflect.deleteProperty(J,z)},ownKeys(Q){return J??(J=I()),Reflect.ownKeys(J)},getOwnPropertyDescriptor(Q,z){return J??(J=I()),Reflect.getOwnPropertyDescriptor(J,z)},defineProperty(Q,z,X){return J??(J=I()),Reflect.defineProperty(J,z,X)}})}function Y$(I){if(typeof I==="bigint")return I.toString()+"n";if(typeof I==="string")return`"${I}"`;return`${I}`}function mF(I){return Object.keys(I).filter((J)=>{return I[J]._zod.optin==="optional"&&I[J]._zod.optout==="optional"})}var lF={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]},dF={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function _b(I,J){let Q=I._zod.def,z=Q.checks;if(z&&z.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let W=OI(I._zod.def,{get shape(){let Z={};for(let L in J){if(!(L in Q.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;Z[L]=Q.shape[L]}return GX(this,"shape",Z),Z},checks:[]});return h1(I,W)}function Sb(I,J){let Q=I._zod.def,z=Q.checks;if(z&&z.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let W=OI(I._zod.def,{get shape(){let Z={...I._zod.def.shape};for(let L in J){if(!(L in Q.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;delete Z[L]}return GX(this,"shape",Z),Z},checks:[]});return h1(I,W)}function Eb(I,J){if(!ZX(J))throw Error("Invalid input to extend: expected a plain object");let Q=I._zod.def.checks;if(Q&&Q.length>0){let W=I._zod.def.shape;for(let Z in J)if(Object.getOwnPropertyDescriptor(W,Z)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let X=OI(I._zod.def,{get shape(){let W={...I._zod.def.shape,...J};return GX(this,"shape",W),W}});return h1(I,X)}function jb(I,J){if(!ZX(J))throw Error("Invalid input to safeExtend: expected a plain object");let Q=OI(I._zod.def,{get shape(){let z={...I._zod.def.shape,...J};return GX(this,"shape",z),z}});return h1(I,Q)}function Bb(I,J){if(I._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let Q=OI(I._zod.def,{get shape(){let z={...I._zod.def.shape,...J._zod.def.shape};return GX(this,"shape",z),z},get catchall(){return J._zod.def.catchall},checks:J._zod.def.checks??[]});return h1(I,Q)}function vb(I,J,Q){let X=J._zod.def.checks;if(X&&X.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let Z=OI(J._zod.def,{get shape(){let L=J._zod.def.shape,j={...L};if(Q)for(let P in Q){if(!(P in L))throw Error(`Unrecognized key: "${P}"`);if(!Q[P])continue;j[P]=I?new I({type:"optional",innerType:L[P]}):L[P]}else for(let P in L)j[P]=I?new I({type:"optional",innerType:L[P]}):L[P];return GX(this,"shape",j),j},checks:[]});return h1(J,Z)}function Nb(I,J,Q){let z=OI(J._zod.def,{get shape(){let X=J._zod.def.shape,W={...X};if(Q)for(let Z in Q){if(!(Z in W))throw Error(`Unrecognized key: "${Z}"`);if(!Q[Z])continue;W[Z]=new I({type:"nonoptional",innerType:X[Z]})}else for(let Z in X)W[Z]=new I({type:"nonoptional",innerType:X[Z]});return GX(this,"shape",W),W}});return h1(J,z)}function KX(I,J=0){if(I.aborted===!0)return!0;for(let Q=J;Q<I.issues.length;Q++)if(I.issues[Q]?.continue!==!0)return!0;return!1}function nF(I,J=0){if(I.aborted===!0)return!0;for(let Q=J;Q<I.issues.length;Q++)if(I.issues[Q]?.continue===!1)return!0;return!1}function $4(I,J){return J.map((Q)=>{var z;return(z=Q).path??(z.path=[]),Q.path.unshift(I),Q})}function K2(I){return typeof I==="string"?I:I?.message}function c1(I,J,Q){let z=I.message?I.message:K2(I.inst?._zod.def?.error?.(I))??K2(J?.error?.(I))??K2(Q.customError?.(I))??K2(Q.localeError?.(I))??"Invalid input",{inst:X,continue:W,input:Z,...L}=I;if(L.path??(L.path=[]),L.message=z,J?.reportInput)L.input=Z;return L}function V2(I){if(I instanceof Set)return"set";if(I instanceof Map)return"map";if(I instanceof File)return"file";return"unknown"}function F2(I){if(Array.isArray(I))return"array";if(typeof I==="string")return"string";return"unknown"}function Q$(I){let J=typeof I;switch(J){case"number":return Number.isNaN(I)?"nan":"number";case"object":{if(I===null)return"null";if(Array.isArray(I))return"array";let Q=I;if(Q&&Object.getPrototypeOf(Q)!==Object.prototype&&"constructor"in Q&&Q.constructor)return Q.constructor.name}}return J}function yY(...I){let[J,Q,z]=I;if(typeof J==="string")return{message:J,code:"custom",input:Q,inst:z};return{...J}}function kb(I){return Object.entries(I).filter(([J,Q])=>{return Number.isNaN(Number.parseInt(J,10))}).map((J)=>J[1])}function wE(I){let J=atob(I),Q=new Uint8Array(J.length);for(let z=0;z<J.length;z++)Q[z]=J.charCodeAt(z);return Q}function fE(I){let J="";for(let Q=0;Q<I.length;Q++)J+=String.fromCharCode(I[Q]);return btoa(J)}function gb(I){let J=I.replace(/-/g,"+").replace(/_/g,"/"),Q="=".repeat((4-J.length%4)%4);return wE(J+Q)}function xb(I){return fE(I).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function wb(I){let J=I.replace(/^0x/,"");if(J.length%2!==0)throw Error("Invalid hex string length");let Q=new Uint8Array(J.length/2);for(let z=0;z<J.length;z+=2)Q[z/2]=Number.parseInt(J.slice(z,z+2),16);return Q}function fb(I){return Array.from(I).map((J)=>J.toString(16).padStart(2,"0")).join("")}class yE{constructor(...I){}}var bE=(I,J)=>{I.name="$ZodError",Object.defineProperty(I,"_zod",{value:I._zod,enumerable:!1}),Object.defineProperty(I,"issues",{value:J,enumerable:!1}),I.message=JSON.stringify(J,wY,2),Object.defineProperty(I,"toString",{value:()=>I.message,enumerable:!1})},H2=B0("$ZodError",bE),U4=B0("$ZodError",bE,{Parent:Error});function D2(I,J=(Q)=>Q.message){let Q={},z=[];for(let X of I.issues)if(X.path.length>0)Q[X.path[0]]=Q[X.path[0]]||[],Q[X.path[0]].push(J(X));else z.push(J(X));return{formErrors:z,fieldErrors:Q}}function L2(I,J=(Q)=>Q.message){let Q={_errors:[]},z=(X,W=[])=>{for(let Z of X.issues)if(Z.code==="invalid_union"&&Z.errors.length)Z.errors.map((L)=>z({issues:L},[...W,...Z.path]));else if(Z.code==="invalid_key")z({issues:Z.issues},[...W,...Z.path]);else if(Z.code==="invalid_element")z({issues:Z.issues},[...W,...Z.path]);else{let L=[...W,...Z.path];if(L.length===0)Q._errors.push(J(Z));else{let j=Q,P=0;while(P<L.length){let S=L[P];if(P!==L.length-1)j[S]=j[S]||{_errors:[]};else j[S]=j[S]||{_errors:[]},j[S]._errors.push(J(Z));j=j[S],P++}}}};return z(I),Q}function oF(I,J=(Q)=>Q.message){let Q={errors:[]},z=(X,W=[])=>{var Z,L;for(let j of X.issues)if(j.code==="invalid_union"&&j.errors.length)j.errors.map((P)=>z({issues:P},[...W,...j.path]));else if(j.code==="invalid_key")z({issues:j.issues},[...W,...j.path]);else if(j.code==="invalid_element")z({issues:j.issues},[...W,...j.path]);else{let P=[...W,...j.path];if(P.length===0){Q.errors.push(J(j));continue}let S=Q,T=0;while(T<P.length){let _=P[T],B=T===P.length-1;if(typeof _==="string")S.properties??(S.properties={}),(Z=S.properties)[_]??(Z[_]={errors:[]}),S=S.properties[_];else S.items??(S.items=[]),(L=S.items)[_]??(L[_]={errors:[]}),S=S.items[_];if(B)S.errors.push(J(j));T++}}};return z(I),Q}function uE(I){let J=[],Q=I.map((z)=>typeof z==="object"?z.key:z);for(let z of Q)if(typeof z==="number")J.push(`[${z}]`);else if(typeof z==="symbol")J.push(`[${JSON.stringify(String(z))}]`);else if(/[^\w$]/.test(z))J.push(`[${JSON.stringify(z)}]`);else{if(J.length)J.push(".");J.push(z)}return J.join("")}function iF(I){let J=[],Q=[...I.issues].sort((z,X)=>(z.path??[]).length-(X.path??[]).length);for(let z of Q)if(J.push(`✖ ${z.message}`),z.path?.length)J.push(` → at ${uE(z.path)}`);return J.join(`
257
+ `)}var bY=(I)=>(J,Q,z,X)=>{let W=z?{...z,async:!1}:{async:!1},Z=J._zod.run({value:Q,issues:[]},W);if(Z instanceof Promise)throw new k6;if(Z.issues.length){let L=new(X?.Err??I)(Z.issues.map((j)=>c1(j,W,rU())));throw E8(L,X?.callee),L}return Z.value},j8=bY(U4),uY=(I)=>async(J,Q,z,X)=>{let W=z?{...z,async:!0}:{async:!0},Z=J._zod.run({value:Q,issues:[]},W);if(Z instanceof Promise)Z=await Z;if(Z.issues.length){let L=new(X?.Err??I)(Z.issues.map((j)=>c1(j,W,rU())));throw E8(L,X?.callee),L}return Z.value},B8=uY(U4),hY=(I)=>(J,Q,z)=>{let X=z?{...z,async:!1}:{async:!1},W=J._zod.run({value:Q,issues:[]},X);if(W instanceof Promise)throw new k6;return W.issues.length?{success:!1,error:new(I??H2)(W.issues.map((Z)=>c1(Z,X,rU())))}:{success:!0,data:W.value}},rF=hY(U4),cY=(I)=>async(J,Q,z)=>{let X=z?{...z,async:!0}:{async:!0},W=J._zod.run({value:Q,issues:[]},X);if(W instanceof Promise)W=await W;return W.issues.length?{success:!1,error:new I(W.issues.map((Z)=>c1(Z,X,rU())))}:{success:!0,data:W.value}},tF=cY(U4),v8=(I)=>(J,Q,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return bY(I)(J,Q,X)},bb=v8(U4),N8=(I)=>(J,Q,z)=>{return bY(I)(J,Q,z)},ub=N8(U4),k8=(I)=>async(J,Q,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return uY(I)(J,Q,X)},hb=k8(U4),g8=(I)=>async(J,Q,z)=>{return uY(I)(J,Q,z)},cb=g8(U4),x8=(I)=>(J,Q,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return hY(I)(J,Q,X)},pb=x8(U4),w8=(I)=>(J,Q,z)=>{return hY(I)(J,Q,z)},mb=w8(U4),f8=(I)=>async(J,Q,z)=>{let X=z?{...z,direction:"backward"}:{direction:"backward"};return cY(I)(J,Q,X)},lb=f8(U4),y8=(I)=>async(J,Q,z)=>{return cY(I)(J,Q,z)},db=y8(U4);var C4={};f1(C4,{xid:()=>$H,uuid7:()=>rb,uuid6:()=>ib,uuid4:()=>ob,uuid:()=>zJ,uppercase:()=>_H,unicodeEmail:()=>hE,undefined:()=>RH,ulid:()=>eF,time:()=>DH,string:()=>MH,sha512_hex:()=>Du,sha512_base64url:()=>Mu,sha512_base64:()=>Lu,sha384_hex:()=>Vu,sha384_base64url:()=>Hu,sha384_base64:()=>Fu,sha256_hex:()=>Wu,sha256_base64url:()=>Ou,sha256_base64:()=>zu,sha1_hex:()=>Gu,sha1_base64url:()=>Ku,sha1_base64:()=>Zu,rfc5322Email:()=>ab,number:()=>M2,null:()=>qH,nanoid:()=>IH,md5_hex:()=>Ju,md5_base64url:()=>Qu,md5_base64:()=>Yu,mac:()=>KH,lowercase:()=>PH,ksuid:()=>UH,ipv6:()=>ZH,ipv4:()=>GH,integer:()=>TH,idnEmail:()=>sb,httpProtocol:()=>VH,html5Email:()=>tb,hostname:()=>Uu,hex:()=>Xu,guid:()=>JH,extendedDuration:()=>nb,emoji:()=>QH,email:()=>YH,e164:()=>FH,duration:()=>XH,domain:()=>Iu,datetime:()=>LH,date:()=>HH,cuid2:()=>sF,cuid:()=>aF,cidrv6:()=>zH,cidrv4:()=>WH,browserEmail:()=>eb,boolean:()=>CH,bigint:()=>AH,base64url:()=>b8,base64:()=>OH});var aF=/^[cC][0-9a-z]{6,}$/,sF=/^[0-9a-z]+$/,eF=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$H=/^[0-9a-vA-V]{20}$/,UH=/^[A-Za-z0-9]{27}$/,IH=/^[a-zA-Z0-9_-]{21}$/,XH=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,nb=/^[-+]?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)?)??$/,JH=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,zJ=(I)=>{if(!I)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${I}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},ob=zJ(4),ib=zJ(6),rb=zJ(7),YH=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tb=/^[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])?)*$/,ab=/^(([^<>()\[\]\\.,;:\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,}))$/,hE=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,sb=hE,eb=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,$u="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function QH(){return new RegExp($u,"u")}var GH=/^(?:(?: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])$/,ZH=/^(([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}|:))$/,KH=(I)=>{let J=u4(I??":");return new RegExp(`^(?:[0-9A-F]{2}${J}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${J}){5}[0-9a-f]{2}$`)},WH=/^((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])$/,zH=/^(([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])$/,OH=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,b8=/^[A-Za-z0-9_-]*$/,Uu=/^(?=.{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])?)*\.?$/,Iu=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,VH=/^https?$/,FH=/^\+[1-9]\d{6,14}$/,cE="(?:(?:\\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])))",HH=new RegExp(`^${cE}$`);function pE(I){return typeof I.precision==="number"?I.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":I.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${I.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function DH(I){return new RegExp(`^${pE(I)}$`)}function LH(I){let J=pE({precision:I.precision}),Q=["Z"];if(I.local)Q.push("");if(I.offset)Q.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let z=`${J}(?:${Q.join("|")})`;return new RegExp(`^${cE}T(?:${z})$`)}var MH=(I)=>{let J=I?`[\\s\\S]{${I?.minimum??0},${I?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${J}$`)},AH=/^-?\d+n?$/,TH=/^-?\d+$/,M2=/^-?\d+(?:\.\d+)?$/,CH=/^(?:true|false)$/i,qH=/^null$/i;var RH=/^undefined$/i;var PH=/^[^A-Z]*$/,_H=/^[^a-z]*$/,Xu=/^[0-9a-fA-F]*$/;function A2(I,J){return new RegExp(`^[A-Za-z0-9+/]{${I}}${J}$`)}function T2(I){return new RegExp(`^[A-Za-z0-9_-]{${I}}$`)}var Ju=/^[0-9a-fA-F]{32}$/,Yu=A2(22,"=="),Qu=T2(22),Gu=/^[0-9a-fA-F]{40}$/,Zu=A2(27,"="),Ku=T2(27),Wu=/^[0-9a-fA-F]{64}$/,zu=A2(43,"="),Ou=T2(43),Vu=/^[0-9a-fA-F]{96}$/,Fu=A2(64,""),Hu=T2(64),Du=/^[0-9a-fA-F]{128}$/,Lu=A2(86,"=="),Mu=T2(86);var HU=B0("$ZodCheck",(I,J)=>{var Q;I._zod??(I._zod={}),I._zod.def=J,(Q=I._zod).onattach??(Q.onattach=[])}),lE={number:"number",bigint:"bigint",object:"date"},u8=B0("$ZodCheckLessThan",(I,J)=>{HU.init(I,J);let Q=lE[typeof J.value];I._zod.onattach.push((z)=>{let X=z._zod.bag,W=(J.inclusive?X.maximum:X.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(J.value<W)if(J.inclusive)X.maximum=J.value;else X.exclusiveMaximum=J.value}),I._zod.check=(z)=>{if(J.inclusive?z.value<=J.value:z.value<J.value)return;z.issues.push({origin:Q,code:"too_big",maximum:typeof J.value==="object"?J.value.getTime():J.value,input:z.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),h8=B0("$ZodCheckGreaterThan",(I,J)=>{HU.init(I,J);let Q=lE[typeof J.value];I._zod.onattach.push((z)=>{let X=z._zod.bag,W=(J.inclusive?X.minimum:X.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(J.value>W)if(J.inclusive)X.minimum=J.value;else X.exclusiveMinimum=J.value}),I._zod.check=(z)=>{if(J.inclusive?z.value>=J.value:z.value>J.value)return;z.issues.push({origin:Q,code:"too_small",minimum:typeof J.value==="object"?J.value.getTime():J.value,input:z.value,inclusive:J.inclusive,inst:I,continue:!J.abort})}}),SH=B0("$ZodCheckMultipleOf",(I,J)=>{HU.init(I,J),I._zod.onattach.push((Q)=>{var z;(z=Q._zod.bag).multipleOf??(z.multipleOf=J.value)}),I._zod.check=(Q)=>{if(typeof Q.value!==typeof J.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof Q.value==="bigint"?Q.value%J.value===BigInt(0):bF(Q.value,J.value)===0)return;Q.issues.push({origin:typeof Q.value,code:"not_multiple_of",divisor:J.value,input:Q.value,inst:I,continue:!J.abort})}}),EH=B0("$ZodCheckNumberFormat",(I,J)=>{HU.init(I,J),J.format=J.format||"float64";let Q=J.format?.includes("int"),z=Q?"int":"number",[X,W]=lF[J.format];I._zod.onattach.push((Z)=>{let L=Z._zod.bag;if(L.format=J.format,L.minimum=X,L.maximum=W,Q)L.pattern=TH}),I._zod.check=(Z)=>{let L=Z.value;if(Q){if(!Number.isInteger(L)){Z.issues.push({expected:z,format:J.format,code:"invalid_type",continue:!1,input:L,inst:I});return}if(!Number.isSafeInteger(L)){if(L>0)Z.issues.push({input:L,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:z,inclusive:!0,continue:!J.abort});else Z.issues.push({input:L,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:I,origin:z,inclusive:!0,continue:!J.abort});return}}if(L<X)Z.issues.push({origin:"number",input:L,code:"too_small",minimum:X,inclusive:!0,inst:I,continue:!J.abort});if(L>W)Z.issues.push({origin:"number",input:L,code:"too_big",maximum:W,inclusive:!0,inst:I,continue:!J.abort})}}),jH=B0("$ZodCheckBigIntFormat",(I,J)=>{HU.init(I,J);let[Q,z]=dF[J.format];I._zod.onattach.push((X)=>{let W=X._zod.bag;W.format=J.format,W.minimum=Q,W.maximum=z}),I._zod.check=(X)=>{let W=X.value;if(W<Q)X.issues.push({origin:"bigint",input:W,code:"too_small",minimum:Q,inclusive:!0,inst:I,continue:!J.abort});if(W>z)X.issues.push({origin:"bigint",input:W,code:"too_big",maximum:z,inclusive:!0,inst:I,continue:!J.abort})}}),BH=B0("$ZodCheckMaxSize",(I,J)=>{var Q;HU.init(I,J),(Q=I._zod.def).when??(Q.when=(z)=>{let X=z.value;return!QX(X)&&X.size!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)z._zod.bag.maximum=J.maximum}),I._zod.check=(z)=>{let X=z.value;if(X.size<=J.maximum)return;z.issues.push({origin:V2(X),code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),vH=B0("$ZodCheckMinSize",(I,J)=>{var Q;HU.init(I,J),(Q=I._zod.def).when??(Q.when=(z)=>{let X=z.value;return!QX(X)&&X.size!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)z._zod.bag.minimum=J.minimum}),I._zod.check=(z)=>{let X=z.value;if(X.size>=J.minimum)return;z.issues.push({origin:V2(X),code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),NH=B0("$ZodCheckSizeEquals",(I,J)=>{var Q;HU.init(I,J),(Q=I._zod.def).when??(Q.when=(z)=>{let X=z.value;return!QX(X)&&X.size!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.minimum=J.size,X.maximum=J.size,X.size=J.size}),I._zod.check=(z)=>{let X=z.value,W=X.size;if(W===J.size)return;let Z=W>J.size;z.issues.push({origin:V2(X),...Z?{code:"too_big",maximum:J.size}:{code:"too_small",minimum:J.size},inclusive:!0,exact:!0,input:z.value,inst:I,continue:!J.abort})}}),kH=B0("$ZodCheckMaxLength",(I,J)=>{var Q;HU.init(I,J),(Q=I._zod.def).when??(Q.when=(z)=>{let X=z.value;return!QX(X)&&X.length!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<X)z._zod.bag.maximum=J.maximum}),I._zod.check=(z)=>{let X=z.value;if(X.length<=J.maximum)return;let Z=F2(X);z.issues.push({origin:Z,code:"too_big",maximum:J.maximum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),gH=B0("$ZodCheckMinLength",(I,J)=>{var Q;HU.init(I,J),(Q=I._zod.def).when??(Q.when=(z)=>{let X=z.value;return!QX(X)&&X.length!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>X)z._zod.bag.minimum=J.minimum}),I._zod.check=(z)=>{let X=z.value;if(X.length>=J.minimum)return;let Z=F2(X);z.issues.push({origin:Z,code:"too_small",minimum:J.minimum,inclusive:!0,input:X,inst:I,continue:!J.abort})}}),xH=B0("$ZodCheckLengthEquals",(I,J)=>{var Q;HU.init(I,J),(Q=I._zod.def).when??(Q.when=(z)=>{let X=z.value;return!QX(X)&&X.length!==void 0}),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.minimum=J.length,X.maximum=J.length,X.length=J.length}),I._zod.check=(z)=>{let X=z.value,W=X.length;if(W===J.length)return;let Z=F2(X),L=W>J.length;z.issues.push({origin:Z,...L?{code:"too_big",maximum:J.length}:{code:"too_small",minimum:J.length},inclusive:!0,exact:!0,input:z.value,inst:I,continue:!J.abort})}}),pY=B0("$ZodCheckStringFormat",(I,J)=>{var Q,z;if(HU.init(I,J),I._zod.onattach.push((X)=>{let W=X._zod.bag;if(W.format=J.format,J.pattern)W.patterns??(W.patterns=new Set),W.patterns.add(J.pattern)}),J.pattern)(Q=I._zod).check??(Q.check=(X)=>{if(J.pattern.lastIndex=0,J.pattern.test(X.value))return;X.issues.push({origin:"string",code:"invalid_format",format:J.format,input:X.value,...J.pattern?{pattern:J.pattern.toString()}:{},inst:I,continue:!J.abort})});else(z=I._zod).check??(z.check=()=>{})}),wH=B0("$ZodCheckRegex",(I,J)=>{pY.init(I,J),I._zod.check=(Q)=>{if(J.pattern.lastIndex=0,J.pattern.test(Q.value))return;Q.issues.push({origin:"string",code:"invalid_format",format:"regex",input:Q.value,pattern:J.pattern.toString(),inst:I,continue:!J.abort})}}),fH=B0("$ZodCheckLowerCase",(I,J)=>{J.pattern??(J.pattern=PH),pY.init(I,J)}),yH=B0("$ZodCheckUpperCase",(I,J)=>{J.pattern??(J.pattern=_H),pY.init(I,J)}),bH=B0("$ZodCheckIncludes",(I,J)=>{HU.init(I,J);let Q=u4(J.includes),z=new RegExp(typeof J.position==="number"?`^.{${J.position}}${Q}`:Q);J.pattern=z,I._zod.onattach.push((X)=>{let W=X._zod.bag;W.patterns??(W.patterns=new Set),W.patterns.add(z)}),I._zod.check=(X)=>{if(X.value.includes(J.includes,J.position))return;X.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:J.includes,input:X.value,inst:I,continue:!J.abort})}}),uH=B0("$ZodCheckStartsWith",(I,J)=>{HU.init(I,J);let Q=new RegExp(`^${u4(J.prefix)}.*`);J.pattern??(J.pattern=Q),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Q)}),I._zod.check=(z)=>{if(z.value.startsWith(J.prefix))return;z.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:J.prefix,input:z.value,inst:I,continue:!J.abort})}}),hH=B0("$ZodCheckEndsWith",(I,J)=>{HU.init(I,J);let Q=new RegExp(`.*${u4(J.suffix)}$`);J.pattern??(J.pattern=Q),I._zod.onattach.push((z)=>{let X=z._zod.bag;X.patterns??(X.patterns=new Set),X.patterns.add(Q)}),I._zod.check=(z)=>{if(z.value.endsWith(J.suffix))return;z.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:J.suffix,input:z.value,inst:I,continue:!J.abort})}});function mE(I,J,Q){if(I.issues.length)J.issues.push(...$4(Q,I.issues))}var cH=B0("$ZodCheckProperty",(I,J)=>{HU.init(I,J),I._zod.check=(Q)=>{let z=J.schema._zod.run({value:Q.value[J.property],issues:[]},{});if(z instanceof Promise)return z.then((X)=>mE(X,Q,J.property));mE(z,Q,J.property);return}}),pH=B0("$ZodCheckMimeType",(I,J)=>{HU.init(I,J);let Q=new Set(J.mime);I._zod.onattach.push((z)=>{z._zod.bag.mime=J.mime}),I._zod.check=(z)=>{if(Q.has(z.value.type))return;z.issues.push({code:"invalid_value",values:J.mime,input:z.value.type,inst:I,continue:!J.abort})}}),mH=B0("$ZodCheckOverwrite",(I,J)=>{HU.init(I,J),I._zod.check=(Q)=>{Q.value=J.tx(Q.value)}});class c8{constructor(I=[]){if(this.content=[],this.indent=0,this)this.args=I}indented(I){this.indent+=1,I(this),this.indent-=1}write(I){if(typeof I==="function"){I(this,{execution:"sync"}),I(this,{execution:"async"});return}let Q=I.split(`
258
+ `).filter((W)=>W),z=Math.min(...Q.map((W)=>W.length-W.trimStart().length)),X=Q.map((W)=>W.slice(z)).map((W)=>" ".repeat(this.indent*2)+W);for(let W of X)this.content.push(W)}compile(){let I=Function,J=this?.args,z=[...(this?.content??[""]).map((X)=>` ${X}`)];return new I(...J,z.join(`
259
+ `))}}var lH={major:4,minor:4,patch:3};var S$=B0("$ZodType",(I,J)=>{var Q;I??(I={}),I._zod.def=J,I._zod.bag=I._zod.bag||{},I._zod.version=lH;let z=[...I._zod.def.checks??[]];if(I._zod.traits.has("$ZodCheck"))z.unshift(I);for(let X of z)for(let W of X._zod.onattach)W(I);if(z.length===0)(Q=I._zod).deferred??(Q.deferred=[]),I._zod.deferred?.push(()=>{I._zod.run=I._zod.parse});else{let X=(Z,L,j)=>{let P=KX(Z),S;for(let T of L){if(T._zod.def.when){if(nF(Z))continue;if(!T._zod.def.when(Z))continue}else if(P)continue;let _=Z.issues.length,B=T._zod.check(Z);if(B instanceof Promise&&j?.async===!1)throw new k6;if(S||B instanceof Promise)S=(S??Promise.resolve()).then(async()=>{if(await B,Z.issues.length===_)return;if(!P)P=KX(Z,_)});else{if(Z.issues.length===_)continue;if(!P)P=KX(Z,_)}}if(S)return S.then(()=>{return Z});return Z},W=(Z,L,j)=>{if(KX(Z))return Z.aborted=!0,Z;let P=X(L,z,j);if(P instanceof Promise){if(j.async===!1)throw new k6;return P.then((S)=>I._zod.parse(S,j))}return I._zod.parse(P,j)};I._zod.run=(Z,L)=>{if(L.skipChecks)return I._zod.parse(Z,L);if(L.direction==="backward"){let P=I._zod.parse({value:Z.value,issues:[]},{...L,skipChecks:!0});if(P instanceof Promise)return P.then((S)=>{return W(S,Z,L)});return W(P,Z,L)}let j=I._zod.parse(Z,L);if(j instanceof Promise){if(L.async===!1)throw new k6;return j.then((P)=>X(P,z,L))}return X(j,z,L)}}c$(I,"~standard",()=>({validate:(X)=>{try{let W=rF(I,X);return W.success?{value:W.data}:{issues:W.error?.issues}}catch(W){return tF(I,X).then((Z)=>Z.success?{value:Z.data}:{issues:Z.error?.issues})}},vendor:"zod",version:1}))}),OJ=B0("$ZodString",(I,J)=>{S$.init(I,J),I._zod.pattern=[...I?._zod.bag?.patterns??[]].pop()??MH(I._zod.bag),I._zod.parse=(Q,z)=>{if(J.coerce)try{Q.value=String(Q.value)}catch(X){}if(typeof Q.value==="string")return Q;return Q.issues.push({expected:"string",code:"invalid_type",input:Q.value,inst:I}),Q}}),KU=B0("$ZodStringFormat",(I,J)=>{pY.init(I,J),OJ.init(I,J)}),nH=B0("$ZodGUID",(I,J)=>{J.pattern??(J.pattern=JH),KU.init(I,J)}),oH=B0("$ZodUUID",(I,J)=>{if(J.version){let z={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[J.version];if(z===void 0)throw Error(`Invalid UUID version: "${J.version}"`);J.pattern??(J.pattern=zJ(z))}else J.pattern??(J.pattern=zJ());KU.init(I,J)}),iH=B0("$ZodEmail",(I,J)=>{J.pattern??(J.pattern=YH),KU.init(I,J)}),rH=B0("$ZodURL",(I,J)=>{KU.init(I,J),I._zod.check=(Q)=>{try{let z=Q.value.trim();if(!J.normalize&&J.protocol?.source===VH.source){if(!/^https?:\/\//i.test(z)){Q.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:Q.value,inst:I,continue:!J.abort});return}}let X=new URL(z);if(J.hostname){if(J.hostname.lastIndex=0,!J.hostname.test(X.hostname))Q.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:J.hostname.source,input:Q.value,inst:I,continue:!J.abort})}if(J.protocol){if(J.protocol.lastIndex=0,!J.protocol.test(X.protocol.endsWith(":")?X.protocol.slice(0,-1):X.protocol))Q.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:J.protocol.source,input:Q.value,inst:I,continue:!J.abort})}if(J.normalize)Q.value=X.href;else Q.value=z;return}catch(z){Q.issues.push({code:"invalid_format",format:"url",input:Q.value,inst:I,continue:!J.abort})}}}),tH=B0("$ZodEmoji",(I,J)=>{J.pattern??(J.pattern=QH()),KU.init(I,J)}),aH=B0("$ZodNanoID",(I,J)=>{J.pattern??(J.pattern=IH),KU.init(I,J)}),sH=B0("$ZodCUID",(I,J)=>{J.pattern??(J.pattern=aF),KU.init(I,J)}),eH=B0("$ZodCUID2",(I,J)=>{J.pattern??(J.pattern=sF),KU.init(I,J)}),$D=B0("$ZodULID",(I,J)=>{J.pattern??(J.pattern=eF),KU.init(I,J)}),UD=B0("$ZodXID",(I,J)=>{J.pattern??(J.pattern=$H),KU.init(I,J)}),ID=B0("$ZodKSUID",(I,J)=>{J.pattern??(J.pattern=UH),KU.init(I,J)}),XD=B0("$ZodISODateTime",(I,J)=>{J.pattern??(J.pattern=LH(J)),KU.init(I,J)}),JD=B0("$ZodISODate",(I,J)=>{J.pattern??(J.pattern=HH),KU.init(I,J)}),YD=B0("$ZodISOTime",(I,J)=>{J.pattern??(J.pattern=DH(J)),KU.init(I,J)}),QD=B0("$ZodISODuration",(I,J)=>{J.pattern??(J.pattern=XH),KU.init(I,J)}),GD=B0("$ZodIPv4",(I,J)=>{J.pattern??(J.pattern=GH),KU.init(I,J),I._zod.bag.format="ipv4"}),ZD=B0("$ZodIPv6",(I,J)=>{J.pattern??(J.pattern=ZH),KU.init(I,J),I._zod.bag.format="ipv6",I._zod.check=(Q)=>{try{new URL(`http://[${Q.value}]`)}catch{Q.issues.push({code:"invalid_format",format:"ipv6",input:Q.value,inst:I,continue:!J.abort})}}}),KD=B0("$ZodMAC",(I,J)=>{J.pattern??(J.pattern=KH(J.delimiter)),KU.init(I,J),I._zod.bag.format="mac"}),WD=B0("$ZodCIDRv4",(I,J)=>{J.pattern??(J.pattern=WH),KU.init(I,J)}),zD=B0("$ZodCIDRv6",(I,J)=>{J.pattern??(J.pattern=zH),KU.init(I,J),I._zod.check=(Q)=>{let z=Q.value.split("/");try{if(z.length!==2)throw Error();let[X,W]=z;if(!W)throw Error();let Z=Number(W);if(`${Z}`!==W)throw Error();if(Z<0||Z>128)throw Error();new URL(`http://[${X}]`)}catch{Q.issues.push({code:"invalid_format",format:"cidrv6",input:Q.value,inst:I,continue:!J.abort})}}});function OD(I){if(I==="")return!0;if(/\s/.test(I))return!1;if(I.length%4!==0)return!1;try{return atob(I),!0}catch{return!1}}var VD=B0("$ZodBase64",(I,J)=>{J.pattern??(J.pattern=OH),KU.init(I,J),I._zod.bag.contentEncoding="base64",I._zod.check=(Q)=>{if(OD(Q.value))return;Q.issues.push({code:"invalid_format",format:"base64",input:Q.value,inst:I,continue:!J.abort})}});function Qj(I){if(!b8.test(I))return!1;let J=I.replace(/[-_]/g,(z)=>z==="-"?"+":"/"),Q=J.padEnd(Math.ceil(J.length/4)*4,"=");return OD(Q)}var FD=B0("$ZodBase64URL",(I,J)=>{J.pattern??(J.pattern=b8),KU.init(I,J),I._zod.bag.contentEncoding="base64url",I._zod.check=(Q)=>{if(Qj(Q.value))return;Q.issues.push({code:"invalid_format",format:"base64url",input:Q.value,inst:I,continue:!J.abort})}}),HD=B0("$ZodE164",(I,J)=>{J.pattern??(J.pattern=FH),KU.init(I,J)});function Gj(I,J=null){try{let Q=I.split(".");if(Q.length!==3)return!1;let[z]=Q;if(!z)return!1;let X=JSON.parse(atob(z));if("typ"in X&&X?.typ!=="JWT")return!1;if(!X.alg)return!1;if(J&&(!("alg"in X)||X.alg!==J))return!1;return!0}catch{return!1}}var DD=B0("$ZodJWT",(I,J)=>{KU.init(I,J),I._zod.check=(Q)=>{if(Gj(Q.value,J.alg))return;Q.issues.push({code:"invalid_format",format:"jwt",input:Q.value,inst:I,continue:!J.abort})}}),LD=B0("$ZodCustomStringFormat",(I,J)=>{KU.init(I,J),I._zod.check=(Q)=>{if(J.fn(Q.value))return;Q.issues.push({code:"invalid_format",format:J.format,input:Q.value,inst:I,continue:!J.abort})}}),n8=B0("$ZodNumber",(I,J)=>{S$.init(I,J),I._zod.pattern=I._zod.bag.pattern??M2,I._zod.parse=(Q,z)=>{if(J.coerce)try{Q.value=Number(Q.value)}catch(Z){}let X=Q.value;if(typeof X==="number"&&!Number.isNaN(X)&&Number.isFinite(X))return Q;let W=typeof X==="number"?Number.isNaN(X)?"NaN":!Number.isFinite(X)?"Infinity":void 0:void 0;return Q.issues.push({expected:"number",code:"invalid_type",input:X,inst:I,...W?{received:W}:{}}),Q}}),MD=B0("$ZodNumberFormat",(I,J)=>{EH.init(I,J),n8.init(I,J)}),C2=B0("$ZodBoolean",(I,J)=>{S$.init(I,J),I._zod.pattern=CH,I._zod.parse=(Q,z)=>{if(J.coerce)try{Q.value=Boolean(Q.value)}catch(W){}let X=Q.value;if(typeof X==="boolean")return Q;return Q.issues.push({expected:"boolean",code:"invalid_type",input:X,inst:I}),Q}}),o8=B0("$ZodBigInt",(I,J)=>{S$.init(I,J),I._zod.pattern=AH,I._zod.parse=(Q,z)=>{if(J.coerce)try{Q.value=BigInt(Q.value)}catch(X){}if(typeof Q.value==="bigint")return Q;return Q.issues.push({expected:"bigint",code:"invalid_type",input:Q.value,inst:I}),Q}}),AD=B0("$ZodBigIntFormat",(I,J)=>{jH.init(I,J),o8.init(I,J)}),TD=B0("$ZodSymbol",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(typeof X==="symbol")return Q;return Q.issues.push({expected:"symbol",code:"invalid_type",input:X,inst:I}),Q}}),CD=B0("$ZodUndefined",(I,J)=>{S$.init(I,J),I._zod.pattern=RH,I._zod.values=new Set([void 0]),I._zod.parse=(Q,z)=>{let X=Q.value;if(typeof X>"u")return Q;return Q.issues.push({expected:"undefined",code:"invalid_type",input:X,inst:I}),Q}}),qD=B0("$ZodNull",(I,J)=>{S$.init(I,J),I._zod.pattern=qH,I._zod.values=new Set([null]),I._zod.parse=(Q,z)=>{let X=Q.value;if(X===null)return Q;return Q.issues.push({expected:"null",code:"invalid_type",input:X,inst:I}),Q}}),RD=B0("$ZodAny",(I,J)=>{S$.init(I,J),I._zod.parse=(Q)=>Q}),PD=B0("$ZodUnknown",(I,J)=>{S$.init(I,J),I._zod.parse=(Q)=>Q}),_D=B0("$ZodNever",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{return Q.issues.push({expected:"never",code:"invalid_type",input:Q.value,inst:I}),Q}}),SD=B0("$ZodVoid",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(typeof X>"u")return Q;return Q.issues.push({expected:"void",code:"invalid_type",input:X,inst:I}),Q}}),ED=B0("$ZodDate",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{if(J.coerce)try{Q.value=new Date(Q.value)}catch(L){}let X=Q.value,W=X instanceof Date;if(W&&!Number.isNaN(X.getTime()))return Q;return Q.issues.push({expected:"date",code:"invalid_type",input:X,...W?{received:"Invalid Date"}:{},inst:I}),Q}});function nE(I,J,Q){if(I.issues.length)J.issues.push(...$4(Q,I.issues));J.value[Q]=I.value}var jD=B0("$ZodArray",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(!Array.isArray(X))return Q.issues.push({expected:"array",code:"invalid_type",input:X,inst:I}),Q;Q.value=Array(X.length);let W=[];for(let Z=0;Z<X.length;Z++){let L=X[Z],j=J.element._zod.run({value:L,issues:[]},z);if(j instanceof Promise)W.push(j.then((P)=>nE(P,Q,Z)));else nE(j,Q,Z)}if(W.length)return Promise.all(W).then(()=>Q);return Q}});function d8(I,J,Q,z,X,W){let Z=Q in z;if(I.issues.length){if(X&&W&&!Z)return;J.issues.push(...$4(Q,I.issues))}if(!Z&&!X){if(!I.issues.length)J.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[Q]});return}if(I.value===void 0){if(Z)J.value[Q]=void 0}else J.value[Q]=I.value}function Zj(I){let J=Object.keys(I.shape);for(let z of J)if(!I.shape?.[z]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${z}": expected a Zod schema`);let Q=mF(I.shape);return{...I,keys:J,keySet:new Set(J),numKeys:J.length,optionalKeys:new Set(Q)}}function Kj(I,J,Q,z,X,W){let Z=[],L=X.keySet,j=X.catchall._zod,P=j.def.type,S=j.optin==="optional",T=j.optout==="optional";for(let _ in J){if(_==="__proto__")continue;if(L.has(_))continue;if(P==="never"){Z.push(_);continue}let B=j.run({value:J[_],issues:[]},z);if(B instanceof Promise)I.push(B.then((N)=>d8(N,Q,_,J,S,T)));else d8(B,Q,_,J,S,T)}if(Z.length)Q.issues.push({code:"unrecognized_keys",keys:Z,input:J,inst:W});if(!I.length)return Q;return Promise.all(I).then(()=>{return Q})}var Wj=B0("$ZodObject",(I,J)=>{if(S$.init(I,J),!Object.getOwnPropertyDescriptor(J,"shape")?.get){let L=J.shape;Object.defineProperty(J,"shape",{get:()=>{let j={...L};return Object.defineProperty(J,"shape",{value:j}),j}})}let z=fY(()=>Zj(J));c$(I._zod,"propValues",()=>{let L=J.shape,j={};for(let P in L){let S=L[P]._zod;if(S.values){j[P]??(j[P]=new Set);for(let T of S.values)j[P].add(T)}}return j});let X=WJ,W=J.catchall,Z;I._zod.parse=(L,j)=>{Z??(Z=z.value);let P=L.value;if(!X(P))return L.issues.push({expected:"object",code:"invalid_type",input:P,inst:I}),L;L.value={};let S=[],T=Z.shape;for(let _ of Z.keys){let B=T[_],N=B._zod.optin==="optional",y=B._zod.optout==="optional",w=B._zod.run({value:P[_],issues:[]},j);if(w instanceof Promise)S.push(w.then((u)=>d8(u,L,_,P,N,y)));else d8(w,L,_,P,N,y)}if(!W)return S.length?Promise.all(S).then(()=>L):L;return Kj(S,P,L,j,z.value,I)}}),BD=B0("$ZodObjectJIT",(I,J)=>{Wj.init(I,J);let Q=I._zod.parse,z=fY(()=>Zj(J)),X=(_)=>{let B=new c8(["shape","payload","ctx"]),N=z.value,y=(b)=>{let p=S8(b);return`shape[${p}]._zod.run({ value: input[${p}], issues: [] }, ctx)`};B.write("const input = payload.value;");let w=Object.create(null),u=0;for(let b of N.keys)w[b]=`key_${u++}`;B.write("const newResult = {};");for(let b of N.keys){let p=w[b],d=S8(b),a=_[b],H0=a?._zod?.optin==="optional",L0=a?._zod?.optout==="optional";if(B.write(`const ${p} = ${y(b)};`),H0&&L0)B.write(`
260
+ if (${p}.issues.length) {
261
+ if (${d} in input) {
262
+ payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
263
+ ...iss,
264
+ path: iss.path ? [${d}, ...iss.path] : [${d}]
265
+ })));
266
+ }
267
+ }
268
+
269
+ if (${p}.value === undefined) {
270
+ if (${d} in input) {
271
+ newResult[${d}] = undefined;
272
+ }
273
+ } else {
274
+ newResult[${d}] = ${p}.value;
275
+ }
276
+
277
+ `);else if(!H0)B.write(`
278
+ const ${p}_present = ${d} in input;
279
+ if (${p}.issues.length) {
280
+ payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
281
+ ...iss,
282
+ path: iss.path ? [${d}, ...iss.path] : [${d}]
283
+ })));
284
+ }
285
+ if (!${p}_present && !${p}.issues.length) {
286
+ payload.issues.push({
287
+ code: "invalid_type",
288
+ expected: "nonoptional",
289
+ input: undefined,
290
+ path: [${d}]
291
+ });
292
+ }
293
+
294
+ if (${p}_present) {
295
+ if (${p}.value === undefined) {
296
+ newResult[${d}] = undefined;
297
+ } else {
298
+ newResult[${d}] = ${p}.value;
299
+ }
300
+ }
301
+
302
+ `);else B.write(`
303
+ if (${p}.issues.length) {
304
+ payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
305
+ ...iss,
306
+ path: iss.path ? [${d}, ...iss.path] : [${d}]
307
+ })));
308
+ }
309
+
310
+ if (${p}.value === undefined) {
311
+ if (${d} in input) {
312
+ newResult[${d}] = undefined;
313
+ }
314
+ } else {
315
+ newResult[${d}] = ${p}.value;
316
+ }
317
+
318
+ `)}B.write("payload.value = newResult;"),B.write("return payload;");let g=B.compile();return(b,p)=>g(_,b,p)},W,Z=WJ,L=!ZJ.jitless,P=L&&hF.value,S=J.catchall,T;I._zod.parse=(_,B)=>{T??(T=z.value);let N=_.value;if(!Z(N))return _.issues.push({expected:"object",code:"invalid_type",input:N,inst:I}),_;if(L&&P&&B?.async===!1&&B.jitless!==!0){if(!W)W=X(J.shape);if(_=W(_,B),!S)return _;return Kj([],N,_,B,T,I)}return Q(_,B)}});function oE(I,J,Q,z){for(let W of I)if(W.issues.length===0)return J.value=W.value,J;let X=I.filter((W)=>!KX(W));if(X.length===1)return J.value=X[0].value,X[0];return J.issues.push({code:"invalid_union",input:J.value,inst:Q,errors:I.map((W)=>W.issues.map((Z)=>c1(Z,z,rU())))}),J}var q2=B0("$ZodUnion",(I,J)=>{S$.init(I,J),c$(I._zod,"optin",()=>J.options.some((z)=>z._zod.optin==="optional")?"optional":void 0),c$(I._zod,"optout",()=>J.options.some((z)=>z._zod.optout==="optional")?"optional":void 0),c$(I._zod,"values",()=>{if(J.options.every((z)=>z._zod.values))return new Set(J.options.flatMap((z)=>Array.from(z._zod.values)));return}),c$(I._zod,"pattern",()=>{if(J.options.every((z)=>z._zod.pattern)){let z=J.options.map((X)=>X._zod.pattern);return new RegExp(`^(${z.map((X)=>z2(X.source)).join("|")})$`)}return});let Q=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(z,X)=>{if(Q)return Q(z,X);let W=!1,Z=[];for(let L of J.options){let j=L._zod.run({value:z.value,issues:[]},X);if(j instanceof Promise)Z.push(j),W=!0;else{if(j.issues.length===0)return j;Z.push(j)}}if(!W)return oE(Z,z,I,X);return Promise.all(Z).then((L)=>{return oE(L,z,I,X)})}});function iE(I,J,Q,z){let X=I.filter((W)=>W.issues.length===0);if(X.length===1)return J.value=X[0].value,J;if(X.length===0)J.issues.push({code:"invalid_union",input:J.value,inst:Q,errors:I.map((W)=>W.issues.map((Z)=>c1(Z,z,rU())))});else J.issues.push({code:"invalid_union",input:J.value,inst:Q,errors:[],inclusive:!1});return J}var vD=B0("$ZodXor",(I,J)=>{q2.init(I,J),J.inclusive=!1;let Q=J.options.length===1?J.options[0]._zod.run:null;I._zod.parse=(z,X)=>{if(Q)return Q(z,X);let W=!1,Z=[];for(let L of J.options){let j=L._zod.run({value:z.value,issues:[]},X);if(j instanceof Promise)Z.push(j),W=!0;else Z.push(j)}if(!W)return iE(Z,z,I,X);return Promise.all(Z).then((L)=>{return iE(L,z,I,X)})}}),ND=B0("$ZodDiscriminatedUnion",(I,J)=>{J.inclusive=!1,q2.init(I,J);let Q=I._zod.parse;c$(I._zod,"propValues",()=>{let X={};for(let W of J.options){let Z=W._zod.propValues;if(!Z||Object.keys(Z).length===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(W)}"`);for(let[L,j]of Object.entries(Z)){if(!X[L])X[L]=new Set;for(let P of j)X[L].add(P)}}return X});let z=fY(()=>{let X=J.options,W=new Map;for(let Z of X){let L=Z._zod.propValues?.[J.discriminator];if(!L||L.size===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(Z)}"`);for(let j of L){if(W.has(j))throw Error(`Duplicate discriminator value "${String(j)}"`);W.set(j,Z)}}return W});I._zod.parse=(X,W)=>{let Z=X.value;if(!WJ(Z))return X.issues.push({code:"invalid_type",expected:"object",input:Z,inst:I}),X;let L=z.value.get(Z?.[J.discriminator]);if(L)return L._zod.run(X,W);if(J.unionFallback||W.direction==="backward")return Q(X,W);return X.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:J.discriminator,options:Array.from(z.value.keys()),input:Z,path:[J.discriminator],inst:I}),X}}),kD=B0("$ZodIntersection",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value,W=J.left._zod.run({value:X,issues:[]},z),Z=J.right._zod.run({value:X,issues:[]},z);if(W instanceof Promise||Z instanceof Promise)return Promise.all([W,Z]).then(([j,P])=>{return rE(Q,j,P)});return rE(Q,W,Z)}});function dH(I,J){if(I===J)return{valid:!0,data:I};if(I instanceof Date&&J instanceof Date&&+I===+J)return{valid:!0,data:I};if(ZX(I)&&ZX(J)){let Q=Object.keys(J),z=Object.keys(I).filter((W)=>Q.indexOf(W)!==-1),X={...I,...J};for(let W of z){let Z=dH(I[W],J[W]);if(!Z.valid)return{valid:!1,mergeErrorPath:[W,...Z.mergeErrorPath]};X[W]=Z.data}return{valid:!0,data:X}}if(Array.isArray(I)&&Array.isArray(J)){if(I.length!==J.length)return{valid:!1,mergeErrorPath:[]};let Q=[];for(let z=0;z<I.length;z++){let X=I[z],W=J[z],Z=dH(X,W);if(!Z.valid)return{valid:!1,mergeErrorPath:[z,...Z.mergeErrorPath]};Q.push(Z.data)}return{valid:!0,data:Q}}return{valid:!1,mergeErrorPath:[]}}function rE(I,J,Q){let z=new Map,X;for(let L of J.issues)if(L.code==="unrecognized_keys"){X??(X=L);for(let j of L.keys){if(!z.has(j))z.set(j,{});z.get(j).l=!0}}else I.issues.push(L);for(let L of Q.issues)if(L.code==="unrecognized_keys")for(let j of L.keys){if(!z.has(j))z.set(j,{});z.get(j).r=!0}else I.issues.push(L);let W=[...z].filter(([,L])=>L.l&&L.r).map(([L])=>L);if(W.length&&X)I.issues.push({...X,keys:W});if(KX(I))return I;let Z=dH(J.value,Q.value);if(!Z.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(Z.mergeErrorPath)}`);return I.value=Z.data,I}var i8=B0("$ZodTuple",(I,J)=>{S$.init(I,J);let Q=J.items;I._zod.parse=(z,X)=>{let W=z.value;if(!Array.isArray(W))return z.issues.push({input:W,inst:I,expected:"tuple",code:"invalid_type"}),z;z.value=[];let Z=[],L=tE(Q,"optin"),j=tE(Q,"optout");if(!J.rest){if(W.length<L)return z.issues.push({code:"too_small",minimum:L,inclusive:!0,input:W,inst:I,origin:"array"}),z;if(W.length>Q.length)z.issues.push({code:"too_big",maximum:Q.length,inclusive:!0,input:W,inst:I,origin:"array"})}let P=Array(Q.length);for(let S=0;S<Q.length;S++){let T=Q[S]._zod.run({value:W[S],issues:[]},X);if(T instanceof Promise)Z.push(T.then((_)=>{P[S]=_}));else P[S]=T}if(J.rest){let S=Q.length-1,T=W.slice(Q.length);for(let _ of T){S++;let B=J.rest._zod.run({value:_,issues:[]},X);if(B instanceof Promise)Z.push(B.then((N)=>aE(N,z,S)));else aE(B,z,S)}}if(Z.length)return Promise.all(Z).then(()=>sE(P,z,Q,W,j));return sE(P,z,Q,W,j)}});function tE(I,J){for(let Q=I.length-1;Q>=0;Q--)if(I[Q]._zod[J]!=="optional")return Q+1;return 0}function aE(I,J,Q){if(I.issues.length)J.issues.push(...$4(Q,I.issues));J.value[Q]=I.value}function sE(I,J,Q,z,X){for(let W=0;W<Q.length;W++){let Z=I[W],L=W<z.length;if(Z.issues.length){if(!L&&W>=X){J.value.length=W;break}J.issues.push(...$4(W,Z.issues))}J.value[W]=Z.value}for(let W=J.value.length-1;W>=z.length;W--)if(Q[W]._zod.optout==="optional"&&J.value[W]===void 0)J.value.length=W;else break;return J}var gD=B0("$ZodRecord",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(!ZX(X))return Q.issues.push({expected:"record",code:"invalid_type",input:X,inst:I}),Q;let W=[],Z=J.keyType._zod.values;if(Z){Q.value={};let L=new Set;for(let P of Z)if(typeof P==="string"||typeof P==="number"||typeof P==="symbol"){L.add(typeof P==="number"?P.toString():P);let S=J.keyType._zod.run({value:P,issues:[]},z);if(S instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(S.issues.length){Q.issues.push({code:"invalid_key",origin:"record",issues:S.issues.map((B)=>c1(B,z,rU())),input:P,path:[P],inst:I});continue}let T=S.value,_=J.valueType._zod.run({value:X[P],issues:[]},z);if(_ instanceof Promise)W.push(_.then((B)=>{if(B.issues.length)Q.issues.push(...$4(P,B.issues));Q.value[T]=B.value}));else{if(_.issues.length)Q.issues.push(...$4(P,_.issues));Q.value[T]=_.value}}let j;for(let P in X)if(!L.has(P))j=j??[],j.push(P);if(j&&j.length>0)Q.issues.push({code:"unrecognized_keys",input:X,inst:I,keys:j})}else{Q.value={};for(let L of Reflect.ownKeys(X)){if(L==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(X,L))continue;let j=J.keyType._zod.run({value:L,issues:[]},z);if(j instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof L==="string"&&M2.test(L)&&j.issues.length){let T=J.keyType._zod.run({value:Number(L),issues:[]},z);if(T instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(T.issues.length===0)j=T}if(j.issues.length){if(J.mode==="loose")Q.value[L]=X[L];else Q.issues.push({code:"invalid_key",origin:"record",issues:j.issues.map((T)=>c1(T,z,rU())),input:L,path:[L],inst:I});continue}let S=J.valueType._zod.run({value:X[L],issues:[]},z);if(S instanceof Promise)W.push(S.then((T)=>{if(T.issues.length)Q.issues.push(...$4(L,T.issues));Q.value[j.value]=T.value}));else{if(S.issues.length)Q.issues.push(...$4(L,S.issues));Q.value[j.value]=S.value}}}if(W.length)return Promise.all(W).then(()=>Q);return Q}}),xD=B0("$ZodMap",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(!(X instanceof Map))return Q.issues.push({expected:"map",code:"invalid_type",input:X,inst:I}),Q;let W=[];Q.value=new Map;for(let[Z,L]of X){let j=J.keyType._zod.run({value:Z,issues:[]},z),P=J.valueType._zod.run({value:L,issues:[]},z);if(j instanceof Promise||P instanceof Promise)W.push(Promise.all([j,P]).then(([S,T])=>{eE(S,T,Q,Z,X,I,z)}));else eE(j,P,Q,Z,X,I,z)}if(W.length)return Promise.all(W).then(()=>Q);return Q}});function eE(I,J,Q,z,X,W,Z){if(I.issues.length)if(O2.has(typeof z))Q.issues.push(...$4(z,I.issues));else Q.issues.push({code:"invalid_key",origin:"map",input:X,inst:W,issues:I.issues.map((L)=>c1(L,Z,rU()))});if(J.issues.length)if(O2.has(typeof z))Q.issues.push(...$4(z,J.issues));else Q.issues.push({origin:"map",code:"invalid_element",input:X,inst:W,key:z,issues:J.issues.map((L)=>c1(L,Z,rU()))});Q.value.set(I.value,J.value)}var wD=B0("$ZodSet",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(!(X instanceof Set))return Q.issues.push({input:X,inst:I,expected:"set",code:"invalid_type"}),Q;let W=[];Q.value=new Set;for(let Z of X){let L=J.valueType._zod.run({value:Z,issues:[]},z);if(L instanceof Promise)W.push(L.then((j)=>$j(j,Q)));else $j(L,Q)}if(W.length)return Promise.all(W).then(()=>Q);return Q}});function $j(I,J){if(I.issues.length)J.issues.push(...I.issues);J.value.add(I.value)}var fD=B0("$ZodEnum",(I,J)=>{S$.init(I,J);let Q=W2(J.entries),z=new Set(Q);I._zod.values=z,I._zod.pattern=new RegExp(`^(${Q.filter((X)=>O2.has(typeof X)).map((X)=>typeof X==="string"?u4(X):X.toString()).join("|")})$`),I._zod.parse=(X,W)=>{let Z=X.value;if(z.has(Z))return X;return X.issues.push({code:"invalid_value",values:Q,input:Z,inst:I}),X}}),yD=B0("$ZodLiteral",(I,J)=>{if(S$.init(I,J),J.values.length===0)throw Error("Cannot create literal schema with no valid values");let Q=new Set(J.values);I._zod.values=Q,I._zod.pattern=new RegExp(`^(${J.values.map((z)=>typeof z==="string"?u4(z):z?u4(z.toString()):String(z)).join("|")})$`),I._zod.parse=(z,X)=>{let W=z.value;if(Q.has(W))return z;return z.issues.push({code:"invalid_value",values:J.values,input:W,inst:I}),z}}),bD=B0("$ZodFile",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{let X=Q.value;if(X instanceof File)return Q;return Q.issues.push({expected:"file",code:"invalid_type",input:X,inst:I}),Q}}),uD=B0("$ZodTransform",(I,J)=>{S$.init(I,J),I._zod.optin="optional",I._zod.parse=(Q,z)=>{if(z.direction==="backward")throw new KJ(I.constructor.name);let X=J.transform(Q.value,Q);if(z.async)return(X instanceof Promise?X:Promise.resolve(X)).then((Z)=>{return Q.value=Z,Q.fallback=!0,Q});if(X instanceof Promise)throw new k6;return Q.value=X,Q.fallback=!0,Q}});function Uj(I,J){if(J===void 0&&(I.issues.length||I.fallback))return{issues:[],value:void 0};return I}var r8=B0("$ZodOptional",(I,J)=>{S$.init(I,J),I._zod.optin="optional",I._zod.optout="optional",c$(I._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,void 0]):void 0}),c$(I._zod,"pattern",()=>{let Q=J.innerType._zod.pattern;return Q?new RegExp(`^(${z2(Q.source)})?$`):void 0}),I._zod.parse=(Q,z)=>{if(J.innerType._zod.optin==="optional"){let X=Q.value,W=J.innerType._zod.run(Q,z);if(W instanceof Promise)return W.then((Z)=>Uj(Z,X));return Uj(W,X)}if(Q.value===void 0)return Q;return J.innerType._zod.run(Q,z)}}),hD=B0("$ZodExactOptional",(I,J)=>{r8.init(I,J),c$(I._zod,"values",()=>J.innerType._zod.values),c$(I._zod,"pattern",()=>J.innerType._zod.pattern),I._zod.parse=(Q,z)=>{return J.innerType._zod.run(Q,z)}}),cD=B0("$ZodNullable",(I,J)=>{S$.init(I,J),c$(I._zod,"optin",()=>J.innerType._zod.optin),c$(I._zod,"optout",()=>J.innerType._zod.optout),c$(I._zod,"pattern",()=>{let Q=J.innerType._zod.pattern;return Q?new RegExp(`^(${z2(Q.source)}|null)$`):void 0}),c$(I._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,null]):void 0}),I._zod.parse=(Q,z)=>{if(Q.value===null)return Q;return J.innerType._zod.run(Q,z)}}),pD=B0("$ZodDefault",(I,J)=>{S$.init(I,J),I._zod.optin="optional",c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Q,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Q,z);if(Q.value===void 0)return Q.value=J.defaultValue,Q;let X=J.innerType._zod.run(Q,z);if(X instanceof Promise)return X.then((W)=>Ij(W,J));return Ij(X,J)}});function Ij(I,J){if(I.value===void 0)I.value=J.defaultValue;return I}var mD=B0("$ZodPrefault",(I,J)=>{S$.init(I,J),I._zod.optin="optional",c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Q,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Q,z);if(Q.value===void 0)Q.value=J.defaultValue;return J.innerType._zod.run(Q,z)}}),lD=B0("$ZodNonOptional",(I,J)=>{S$.init(I,J),c$(I._zod,"values",()=>{let Q=J.innerType._zod.values;return Q?new Set([...Q].filter((z)=>z!==void 0)):void 0}),I._zod.parse=(Q,z)=>{let X=J.innerType._zod.run(Q,z);if(X instanceof Promise)return X.then((W)=>Xj(W,I));return Xj(X,I)}});function Xj(I,J){if(!I.issues.length&&I.value===void 0)I.issues.push({code:"invalid_type",expected:"nonoptional",input:I.value,inst:J});return I}var dD=B0("$ZodSuccess",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{if(z.direction==="backward")throw new KJ("ZodSuccess");let X=J.innerType._zod.run(Q,z);if(X instanceof Promise)return X.then((W)=>{return Q.value=W.issues.length===0,Q});return Q.value=X.issues.length===0,Q}}),nD=B0("$ZodCatch",(I,J)=>{S$.init(I,J),I._zod.optin="optional",c$(I._zod,"optout",()=>J.innerType._zod.optout),c$(I._zod,"values",()=>J.innerType._zod.values),I._zod.parse=(Q,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Q,z);let X=J.innerType._zod.run(Q,z);if(X instanceof Promise)return X.then((W)=>{if(Q.value=W.value,W.issues.length)Q.value=J.catchValue({...Q,error:{issues:W.issues.map((Z)=>c1(Z,z,rU()))},input:Q.value}),Q.issues=[],Q.fallback=!0;return Q});if(Q.value=X.value,X.issues.length)Q.value=J.catchValue({...Q,error:{issues:X.issues.map((W)=>c1(W,z,rU()))},input:Q.value}),Q.issues=[],Q.fallback=!0;return Q}}),oD=B0("$ZodNaN",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{if(typeof Q.value!=="number"||!Number.isNaN(Q.value))return Q.issues.push({input:Q.value,inst:I,expected:"nan",code:"invalid_type"}),Q;return Q}}),t8=B0("$ZodPipe",(I,J)=>{S$.init(I,J),c$(I._zod,"values",()=>J.in._zod.values),c$(I._zod,"optin",()=>J.in._zod.optin),c$(I._zod,"optout",()=>J.out._zod.optout),c$(I._zod,"propValues",()=>J.in._zod.propValues),I._zod.parse=(Q,z)=>{if(z.direction==="backward"){let W=J.out._zod.run(Q,z);if(W instanceof Promise)return W.then((Z)=>p8(Z,J.in,z));return p8(W,J.in,z)}let X=J.in._zod.run(Q,z);if(X instanceof Promise)return X.then((W)=>p8(W,J.out,z));return p8(X,J.out,z)}});function p8(I,J,Q){if(I.issues.length)return I.aborted=!0,I;return J._zod.run({value:I.value,issues:I.issues,fallback:I.fallback},Q)}var R2=B0("$ZodCodec",(I,J)=>{S$.init(I,J),c$(I._zod,"values",()=>J.in._zod.values),c$(I._zod,"optin",()=>J.in._zod.optin),c$(I._zod,"optout",()=>J.out._zod.optout),c$(I._zod,"propValues",()=>J.in._zod.propValues),I._zod.parse=(Q,z)=>{if((z.direction||"forward")==="forward"){let W=J.in._zod.run(Q,z);if(W instanceof Promise)return W.then((Z)=>m8(Z,J,z));return m8(W,J,z)}else{let W=J.out._zod.run(Q,z);if(W instanceof Promise)return W.then((Z)=>m8(Z,J,z));return m8(W,J,z)}}});function m8(I,J,Q){if(I.issues.length)return I.aborted=!0,I;if((Q.direction||"forward")==="forward"){let X=J.transform(I.value,I);if(X instanceof Promise)return X.then((W)=>l8(I,W,J.out,Q));return l8(I,X,J.out,Q)}else{let X=J.reverseTransform(I.value,I);if(X instanceof Promise)return X.then((W)=>l8(I,W,J.in,Q));return l8(I,X,J.in,Q)}}function l8(I,J,Q,z){if(I.issues.length)return I.aborted=!0,I;return Q._zod.run({value:J,issues:I.issues},z)}var iD=B0("$ZodPreprocess",(I,J)=>{t8.init(I,J)}),rD=B0("$ZodReadonly",(I,J)=>{S$.init(I,J),c$(I._zod,"propValues",()=>J.innerType._zod.propValues),c$(I._zod,"values",()=>J.innerType._zod.values),c$(I._zod,"optin",()=>J.innerType?._zod?.optin),c$(I._zod,"optout",()=>J.innerType?._zod?.optout),I._zod.parse=(Q,z)=>{if(z.direction==="backward")return J.innerType._zod.run(Q,z);let X=J.innerType._zod.run(Q,z);if(X instanceof Promise)return X.then(Jj);return Jj(X)}});function Jj(I){return I.value=Object.freeze(I.value),I}var tD=B0("$ZodTemplateLiteral",(I,J)=>{S$.init(I,J);let Q=[];for(let z of J.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 X=z._zod.pattern instanceof RegExp?z._zod.pattern.source:z._zod.pattern;if(!X)throw Error(`Invalid template literal part: ${z._zod.traits}`);let W=X.startsWith("^")?1:0,Z=X.endsWith("$")?X.length-1:X.length;Q.push(X.slice(W,Z))}else if(z===null||pF.has(typeof z))Q.push(u4(`${z}`));else throw Error(`Invalid template literal part: ${z}`);I._zod.pattern=new RegExp(`^${Q.join("")}$`),I._zod.parse=(z,X)=>{if(typeof z.value!=="string")return z.issues.push({input:z.value,inst:I,expected:"string",code:"invalid_type"}),z;if(I._zod.pattern.lastIndex=0,!I._zod.pattern.test(z.value))return z.issues.push({input:z.value,inst:I,code:"invalid_format",format:J.format??"template_literal",pattern:I._zod.pattern.source}),z;return z}}),aD=B0("$ZodFunction",(I,J)=>{return S$.init(I,J),I._def=J,I._zod.def=J,I.implement=(Q)=>{if(typeof Q!=="function")throw Error("implement() must be called with a function");return function(...z){let X=I._def.input?j8(I._def.input,z):z,W=Reflect.apply(Q,this,X);if(I._def.output)return j8(I._def.output,W);return W}},I.implementAsync=(Q)=>{if(typeof Q!=="function")throw Error("implementAsync() must be called with a function");return async function(...z){let X=I._def.input?await B8(I._def.input,z):z,W=await Reflect.apply(Q,this,X);if(I._def.output)return await B8(I._def.output,W);return W}},I._zod.parse=(Q,z)=>{if(typeof Q.value!=="function")return Q.issues.push({code:"invalid_type",expected:"function",input:Q.value,inst:I}),Q;if(I._def.output&&I._def.output._zod.def.type==="promise")Q.value=I.implementAsync(Q.value);else Q.value=I.implement(Q.value);return Q},I.input=(...Q)=>{let z=I.constructor;if(Array.isArray(Q[0]))return new z({type:"function",input:new i8({type:"tuple",items:Q[0],rest:Q[1]}),output:I._def.output});return new z({type:"function",input:Q[0],output:I._def.output})},I.output=(Q)=>{return new I.constructor({type:"function",input:I._def.input,output:Q})},I}),sD=B0("$ZodPromise",(I,J)=>{S$.init(I,J),I._zod.parse=(Q,z)=>{return Promise.resolve(Q.value).then((X)=>J.innerType._zod.run({value:X,issues:[]},z))}}),eD=B0("$ZodLazy",(I,J)=>{S$.init(I,J),c$(I._zod,"innerType",()=>{let Q=J;if(!Q._cachedInner)Q._cachedInner=J.getter();return Q._cachedInner}),c$(I._zod,"pattern",()=>I._zod.innerType?._zod?.pattern),c$(I._zod,"propValues",()=>I._zod.innerType?._zod?.propValues),c$(I._zod,"optin",()=>I._zod.innerType?._zod?.optin??void 0),c$(I._zod,"optout",()=>I._zod.innerType?._zod?.optout??void 0),I._zod.parse=(Q,z)=>{return I._zod.innerType._zod.run(Q,z)}}),$5=B0("$ZodCustom",(I,J)=>{HU.init(I,J),S$.init(I,J),I._zod.parse=(Q,z)=>{return Q},I._zod.check=(Q)=>{let z=Q.value,X=J.fn(z);if(X instanceof Promise)return X.then((W)=>Yj(W,Q,z,I));Yj(X,Q,z,I);return}});function Yj(I,J,Q,z){if(!I){let X={code:"custom",input:Q,inst:z,path:[...z._zod.def.path??[]],continue:!z._zod.def.abort};if(z._zod.def.params)X.params=z._zod.def.params;J.issues.push(yY(X))}}var j2={};f1(j2,{zhTW:()=>i5,zhCN:()=>o5,yo:()=>r5,vi:()=>n5,uz:()=>d5,ur:()=>l5,uk:()=>E2,ua:()=>m5,tr:()=>p5,th:()=>c5,ta:()=>h5,sv:()=>u5,sl:()=>b5,ru:()=>y5,ro:()=>f5,pt:()=>w5,ps:()=>g5,pl:()=>x5,ota:()=>k5,no:()=>N5,nl:()=>v5,ms:()=>B5,mk:()=>j5,lt:()=>E5,ko:()=>S5,km:()=>_2,kh:()=>_5,ka:()=>P5,ja:()=>R5,it:()=>q5,is:()=>C5,id:()=>T5,hy:()=>A5,hu:()=>M5,hr:()=>L5,he:()=>D5,frCA:()=>H5,fr:()=>F5,fi:()=>V5,fa:()=>O5,es:()=>z5,eo:()=>W5,en:()=>P2,el:()=>K5,de:()=>Z5,da:()=>G5,cs:()=>Q5,ca:()=>Y5,bg:()=>J5,be:()=>X5,az:()=>I5,ar:()=>U5});var Tu=()=>{let I={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${X.expected}، ولكن تم إدخال ${L}`;return`مدخلات غير مقبولة: يفترض إدخال ${W}، ولكن تم إدخال ${L}`}case"invalid_value":if(X.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${Y$(X.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return` أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${W} ${X.maximum.toString()} ${Z.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${X.origin??"القيمة"} ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${W} ${X.minimum.toString()} ${Z.unit}`;return`أصغر من اللازم: يفترض لـ ${X.origin} أن يكون ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${X.prefix}"`;if(W.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${W.suffix}"`;if(W.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${W.includes}"`;if(W.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${W.pattern}`;return`${Q[W.format]??X.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${X.divisor}`;case"unrecognized_keys":return`معرف${X.keys.length>1?"ات":""} غريب${X.keys.length>1?"ة":""}: ${w0(X.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${X.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${X.origin}`;default:return"مدخل غير مقبول"}}};function U5(){return{localeError:Tu()}}var Cu=()=>{let I={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Yanlış dəyər: gözlənilən instanceof ${X.expected}, daxil olan ${L}`;return`Yanlış dəyər: gözlənilən ${W}, daxil olan ${L}`}case"invalid_value":if(X.values.length===1)return`Yanlış dəyər: gözlənilən ${Y$(X.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${W}${X.maximum.toString()} ${Z.unit??"element"}`;return`Çox böyük: gözlənilən ${X.origin??"dəyər"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çox kiçik: gözlənilən ${X.origin} ${W}${X.minimum.toString()} ${Z.unit}`;return`Çox kiçik: gözlənilən ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Yanlış mətn: "${W.prefix}" ilə başlamalıdır`;if(W.format==="ends_with")return`Yanlış mətn: "${W.suffix}" ilə bitməlidir`;if(W.format==="includes")return`Yanlış mətn: "${W.includes}" daxil olmalıdır`;if(W.format==="regex")return`Yanlış mətn: ${W.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${Q[W.format]??X.format}`}case"not_multiple_of":return`Yanlış ədəd: ${X.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${X.keys.length>1?"lar":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${X.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function I5(){return{localeError:Cu()}}function zj(I,J,Q,z){let X=Math.abs(I),W=X%10,Z=X%100;if(Z>=11&&Z<=19)return z;if(W===1)return J;if(W>=2&&W<=4)return Q;return z}var qu=()=>{let I={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Няправільны ўвод: чакаўся instanceof ${X.expected}, атрымана ${L}`;return`Няправільны ўвод: чакаўся ${W}, атрымана ${L}`}case"invalid_value":if(X.values.length===1)return`Няправільны ўвод: чакалася ${Y$(X.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),j=zj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна ${Z.verb} ${W}${X.maximum.toString()} ${j}`}return`Занадта вялікі: чакалася, што ${X.origin??"значэнне"} павінна быць ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),j=zj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта малы: чакалася, што ${X.origin} павінна ${Z.verb} ${W}${X.minimum.toString()} ${j}`}return`Занадта малы: чакалася, што ${X.origin} павінна быць ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${W.prefix}"`;if(W.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${W.suffix}"`;if(W.format==="includes")return`Няправільны радок: павінен змяшчаць "${W.includes}"`;if(W.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${W.pattern}`;return`Няправільны ${Q[W.format]??X.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${X.keys.length>1?"ключы":"ключ"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${X.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${X.origin}`;default:return"Няправільны ўвод"}}};function X5(){return{localeError:qu()}}var Ru=()=>{let I={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Невалиден вход: очакван instanceof ${X.expected}, получен ${L}`;return`Невалиден вход: очакван ${W}, получен ${L}`}case"invalid_value":if(X.values.length===1)return`Невалиден вход: очакван ${Y$(X.values[0])}`;return`Невалидна опция: очаквано едно от ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Твърде голямо: очаква се ${X.origin??"стойност"} да съдържа ${W}${X.maximum.toString()} ${Z.unit??"елемента"}`;return`Твърде голямо: очаква се ${X.origin??"стойност"} да бъде ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Твърде малко: очаква се ${X.origin} да съдържа ${W}${X.minimum.toString()} ${Z.unit}`;return`Твърде малко: очаква се ${X.origin} да бъде ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Невалиден низ: трябва да започва с "${W.prefix}"`;if(W.format==="ends_with")return`Невалиден низ: трябва да завършва с "${W.suffix}"`;if(W.format==="includes")return`Невалиден низ: трябва да включва "${W.includes}"`;if(W.format==="regex")return`Невалиден низ: трябва да съвпада с ${W.pattern}`;let Z="Невалиден";if(W.format==="emoji")Z="Невалидно";if(W.format==="datetime")Z="Невалидно";if(W.format==="date")Z="Невалидна";if(W.format==="time")Z="Невалидно";if(W.format==="duration")Z="Невалидна";return`${Z} ${Q[W.format]??X.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${X.divisor}`;case"unrecognized_keys":return`Неразпознат${X.keys.length>1?"и":""} ключ${X.keys.length>1?"ове":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${X.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${X.origin}`;default:return"Невалиден вход"}}};function J5(){return{localeError:Ru()}}var Pu=()=>{let I={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Tipus invàlid: s'esperava instanceof ${X.expected}, s'ha rebut ${L}`;return`Tipus invàlid: s'esperava ${W}, s'ha rebut ${L}`}case"invalid_value":if(X.values.length===1)return`Valor invàlid: s'esperava ${Y$(X.values[0])}`;return`Opció invàlida: s'esperava una de ${w0(X.values," o ")}`;case"too_big":{let W=X.inclusive?"com a màxim":"menys de",Z=J(X.origin);if(Z)return`Massa gran: s'esperava que ${X.origin??"el valor"} contingués ${W} ${X.maximum.toString()} ${Z.unit??"elements"}`;return`Massa gran: s'esperava que ${X.origin??"el valor"} fos ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?"com a mínim":"més de",Z=J(X.origin);if(Z)return`Massa petit: s'esperava que ${X.origin} contingués ${W} ${X.minimum.toString()} ${Z.unit}`;return`Massa petit: s'esperava que ${X.origin} fos ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Format invàlid: ha de començar amb "${W.prefix}"`;if(W.format==="ends_with")return`Format invàlid: ha d'acabar amb "${W.suffix}"`;if(W.format==="includes")return`Format invàlid: ha d'incloure "${W.includes}"`;if(W.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${W.pattern}`;return`Format invàlid per a ${Q[W.format]??X.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${X.divisor}`;case"unrecognized_keys":return`Clau${X.keys.length>1?"s":""} no reconeguda${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${X.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${X.origin}`;default:return"Entrada invàlida"}}};function Y5(){return{localeError:Pu()}}var _u=()=>{let I={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neplatný vstup: očekáváno instanceof ${X.expected}, obdrženo ${L}`;return`Neplatný vstup: očekáváno ${W}, obdrženo ${L}`}case"invalid_value":if(X.values.length===1)return`Neplatný vstup: očekáváno ${Y$(X.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí mít ${W}${X.maximum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš velká: ${X.origin??"hodnota"} musí být ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí mít ${W}${X.minimum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš malá: ${X.origin??"hodnota"} musí být ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Neplatný řetězec: musí začínat na "${W.prefix}"`;if(W.format==="ends_with")return`Neplatný řetězec: musí končit na "${W.suffix}"`;if(W.format==="includes")return`Neplatný řetězec: musí obsahovat "${W.includes}"`;if(W.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${W.pattern}`;return`Neplatný formát ${Q[W.format]??X.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${X.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${w0(X.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${X.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${X.origin}`;default:return"Neplatný vstup"}}};function Q5(){return{localeError:_u()}}var Su=()=>{let I={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ugyldigt input: forventede instanceof ${X.expected}, fik ${L}`;return`Ugyldigt input: forventede ${W}, fik ${L}`}case"invalid_value":if(X.values.length===1)return`Ugyldig værdi: forventede ${Y$(X.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`For stor: forventede ${L??"value"} ${Z.verb} ${W} ${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor: forventede ${L??"value"} havde ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`For lille: forventede ${L} ${Z.verb} ${W} ${X.minimum.toString()} ${Z.unit}`;return`For lille: forventede ${L} havde ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ugyldig streng: skal starte med "${W.prefix}"`;if(W.format==="ends_with")return`Ugyldig streng: skal ende med "${W.suffix}"`;if(W.format==="includes")return`Ugyldig streng: skal indeholde "${W.includes}"`;if(W.format==="regex")return`Ugyldig streng: skal matche mønsteret ${W.pattern}`;return`Ugyldig ${Q[W.format]??X.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${X.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${X.origin}`;default:return"Ugyldigt input"}}};function G5(){return{localeError:Su()}}var Eu=()=>{let I={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ungültige Eingabe: erwartet instanceof ${X.expected}, erhalten ${L}`;return`Ungültige Eingabe: erwartet ${W}, erhalten ${L}`}case"invalid_value":if(X.values.length===1)return`Ungültige Eingabe: erwartet ${Y$(X.values[0])}`;return`Ungültige Option: erwartet eine von ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${W}${X.maximum.toString()} ${Z.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${X.origin??"Wert"} ${W}${X.maximum.toString()} ist`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Zu klein: erwartet, dass ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} hat`;return`Zu klein: erwartet, dass ${X.origin} ${W}${X.minimum.toString()} ist`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ungültiger String: muss mit "${W.prefix}" beginnen`;if(W.format==="ends_with")return`Ungültiger String: muss mit "${W.suffix}" enden`;if(W.format==="includes")return`Ungültiger String: muss "${W.includes}" enthalten`;if(W.format==="regex")return`Ungültiger String: muss dem Muster ${W.pattern} entsprechen`;return`Ungültig: ${Q[W.format]??X.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${X.divisor} sein`;case"unrecognized_keys":return`${X.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${X.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${X.origin}`;default:return"Ungültige Eingabe"}}};function Z5(){return{localeError:Eu()}}var ju=()=>{let I={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(typeof X.expected==="string"&&/^[A-Z]/.test(X.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${X.expected}, λήφθηκε ${L}`;return`Μη έγκυρη είσοδος: αναμενόταν ${W}, λήφθηκε ${L}`}case"invalid_value":if(X.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${Y$(X.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να έχει ${W}${X.maximum.toString()} ${Z.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${X.origin??"τιμή"} να είναι ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Πολύ μικρό: αναμενόταν ${X.origin} να έχει ${W}${X.minimum.toString()} ${Z.unit}`;return`Πολύ μικρό: αναμενόταν ${X.origin} να είναι ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${W.prefix}"`;if(W.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${W.suffix}"`;if(W.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${W.includes}"`;if(W.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${W.pattern}`;return`Μη έγκυρο: ${Q[W.format]??X.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${X.divisor}`;case"unrecognized_keys":return`Άγνωστ${X.keys.length>1?"α":"ο"} κλειδ${X.keys.length>1?"ιά":"ί"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${X.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${X.origin}`;default:return"Μη έγκυρη είσοδος"}}};function K5(){return{localeError:ju()}}var Bu=()=>{let I={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;return`Invalid input: expected ${W}, received ${L}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${Y$(X.values[0])}`;return`Invalid option: expected one of ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Too big: expected ${X.origin??"value"} to have ${W}${X.maximum.toString()} ${Z.unit??"elements"}`;return`Too big: expected ${X.origin??"value"} to be ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Too small: expected ${X.origin} to have ${W}${X.minimum.toString()} ${Z.unit}`;return`Too small: expected ${X.origin} to be ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Invalid string: must start with "${W.prefix}"`;if(W.format==="ends_with")return`Invalid string: must end with "${W.suffix}"`;if(W.format==="includes")return`Invalid string: must include "${W.includes}"`;if(W.format==="regex")return`Invalid string: must match pattern ${W.pattern}`;return`Invalid ${Q[W.format]??X.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${X.divisor}`;case"unrecognized_keys":return`Unrecognized key${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Invalid key in ${X.origin}`;case"invalid_union":if(X.options&&Array.isArray(X.options)&&X.options.length>0)return`Invalid discriminator value. Expected ${X.options.map((Z)=>`'${Z}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${X.origin}`;default:return"Invalid input"}}};function P2(){return{localeError:Bu()}}var vu=()=>{let I={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Nevalida enigo: atendiĝis instanceof ${X.expected}, riceviĝis ${L}`;return`Nevalida enigo: atendiĝis ${W}, riceviĝis ${L}`}case"invalid_value":if(X.values.length===1)return`Nevalida enigo: atendiĝis ${Y$(X.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${W}${X.maximum.toString()} ${Z.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${X.origin??"valoro"} havu ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Tro malgranda: atendiĝis ke ${X.origin} havu ${W}${X.minimum.toString()} ${Z.unit}`;return`Tro malgranda: atendiĝis ke ${X.origin} estu ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${W.prefix}"`;if(W.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${W.suffix}"`;if(W.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${W.includes}"`;if(W.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${W.pattern}`;return`Nevalida ${Q[W.format]??X.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${X.divisor}`;case"unrecognized_keys":return`Nekonata${X.keys.length>1?"j":""} ŝlosilo${X.keys.length>1?"j":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${X.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${X.origin}`;default:return"Nevalida enigo"}}};function W5(){return{localeError:vu()}}var Nu=()=>{let I={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrada inválida: se esperaba instanceof ${X.expected}, recibido ${L}`;return`Entrada inválida: se esperaba ${W}, recibido ${L}`}case"invalid_value":if(X.values.length===1)return`Entrada inválida: se esperaba ${Y$(X.values[0])}`;return`Opción inválida: se esperaba una de ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Demasiado grande: se esperaba que ${L??"valor"} tuviera ${W}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${L??"valor"} fuera ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Demasiado pequeño: se esperaba que ${L} tuviera ${W}${X.minimum.toString()} ${Z.unit}`;return`Demasiado pequeño: se esperaba que ${L} fuera ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Cadena inválida: debe comenzar con "${W.prefix}"`;if(W.format==="ends_with")return`Cadena inválida: debe terminar en "${W.suffix}"`;if(W.format==="includes")return`Cadena inválida: debe incluir "${W.includes}"`;if(W.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${W.pattern}`;return`Inválido ${Q[W.format]??X.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${X.divisor}`;case"unrecognized_keys":return`Llave${X.keys.length>1?"s":""} desconocida${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Llave inválida en ${z[X.origin]??X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${z[X.origin]??X.origin}`;default:return"Entrada inválida"}}};function z5(){return{localeError:Nu()}}var ku=()=>{let I={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ورودی نامعتبر: می‌بایست instanceof ${X.expected} می‌بود، ${L} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${W} می‌بود، ${L} دریافت شد`}case"invalid_value":if(X.values.length===1)return`ورودی نامعتبر: می‌بایست ${Y$(X.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${w0(X.values,"|")} می‌بود`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${W}${X.maximum.toString()} ${Z.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${X.origin??"مقدار"} باید ${W}${X.maximum.toString()} باشد`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`خیلی کوچک: ${X.origin} باید ${W}${X.minimum.toString()} ${Z.unit} باشد`;return`خیلی کوچک: ${X.origin} باید ${W}${X.minimum.toString()} باشد`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`رشته نامعتبر: باید با "${W.prefix}" شروع شود`;if(W.format==="ends_with")return`رشته نامعتبر: باید با "${W.suffix}" تمام شود`;if(W.format==="includes")return`رشته نامعتبر: باید شامل "${W.includes}" باشد`;if(W.format==="regex")return`رشته نامعتبر: باید با الگوی ${W.pattern} مطابقت داشته باشد`;return`${Q[W.format]??X.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${X.divisor} باشد`;case"unrecognized_keys":return`کلید${X.keys.length>1?"های":""} ناشناس: ${w0(X.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${X.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${X.origin}`;default:return"ورودی نامعتبر"}}};function O5(){return{localeError:ku()}}var gu=()=>{let I={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Virheellinen tyyppi: odotettiin instanceof ${X.expected}, oli ${L}`;return`Virheellinen tyyppi: odotettiin ${W}, oli ${L}`}case"invalid_value":if(X.values.length===1)return`Virheellinen syöte: täytyy olla ${Y$(X.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Liian suuri: ${Z.subject} täytyy olla ${W}${X.maximum.toString()} ${Z.unit}`.trim();return`Liian suuri: arvon täytyy olla ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Liian pieni: ${Z.subject} täytyy olla ${W}${X.minimum.toString()} ${Z.unit}`.trim();return`Liian pieni: arvon täytyy olla ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${W.prefix}"`;if(W.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${W.suffix}"`;if(W.format==="includes")return`Virheellinen syöte: täytyy sisältää "${W.includes}"`;if(W.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${W.pattern}`;return`Virheellinen ${Q[W.format]??X.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${X.divisor} monikerta`;case"unrecognized_keys":return`${X.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${w0(X.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function V5(){return{localeError:gu()}}var xu=()=>{let I={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : instanceof ${X.expected} attendu, ${L} reçu`;return`Entrée invalide : ${W} attendu, ${L} reçu`}case"invalid_value":if(X.values.length===1)return`Entrée invalide : ${Y$(X.values[0])} attendu`;return`Option invalide : une valeur parmi ${w0(X.values,"|")} attendue`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Trop grand : ${z[X.origin]??"valeur"} doit ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"élément(s)"}`;return`Trop grand : ${z[X.origin]??"valeur"} doit être ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Trop petit : ${z[X.origin]??"valeur"} doit ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : ${z[X.origin]??"valeur"} doit être ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Chaîne invalide : doit commencer par "${W.prefix}"`;if(W.format==="ends_with")return`Chaîne invalide : doit se terminer par "${W.suffix}"`;if(W.format==="includes")return`Chaîne invalide : doit inclure "${W.includes}"`;if(W.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${W.pattern}`;return`${Q[W.format]??X.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${X.divisor}`;case"unrecognized_keys":return`Clé${X.keys.length>1?"s":""} non reconnue${X.keys.length>1?"s":""} : ${w0(X.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${X.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${X.origin}`;default:return"Entrée invalide"}}};function F5(){return{localeError:xu()}}var wu=()=>{let I={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Entrée invalide : attendu instanceof ${X.expected}, reçu ${L}`;return`Entrée invalide : attendu ${W}, reçu ${L}`}case"invalid_value":if(X.values.length===1)return`Entrée invalide : attendu ${Y$(X.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"≤":"<",Z=J(X.origin);if(Z)return`Trop grand : attendu que ${X.origin??"la valeur"} ait ${W}${X.maximum.toString()} ${Z.unit}`;return`Trop grand : attendu que ${X.origin??"la valeur"} soit ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?"≥":">",Z=J(X.origin);if(Z)return`Trop petit : attendu que ${X.origin} ait ${W}${X.minimum.toString()} ${Z.unit}`;return`Trop petit : attendu que ${X.origin} soit ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Chaîne invalide : doit commencer par "${W.prefix}"`;if(W.format==="ends_with")return`Chaîne invalide : doit se terminer par "${W.suffix}"`;if(W.format==="includes")return`Chaîne invalide : doit inclure "${W.includes}"`;if(W.format==="regex")return`Chaîne invalide : doit correspondre au motif ${W.pattern}`;return`${Q[W.format]??X.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${X.divisor}`;case"unrecognized_keys":return`Clé${X.keys.length>1?"s":""} non reconnue${X.keys.length>1?"s":""} : ${w0(X.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${X.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${X.origin}`;default:return"Entrée invalide"}}};function H5(){return{localeError:wu()}}var fu=()=>{let I={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},J={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},Q=(P)=>P?I[P]:void 0,z=(P)=>{let S=Q(P);if(S)return S.label;return P??I.unknown.label},X=(P)=>`ה${z(P)}`,W=(P)=>{return(Q(P)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},Z=(P)=>{if(!P)return null;return J[P]??null},L={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},j={nan:"NaN"};return(P)=>{switch(P.code){case"invalid_type":{let S=P.expected,T=j[S??""]??z(S),_=Q$(P.input),B=j[_]??I[_]?.label??_;if(/^[A-Z]/.test(P.expected))return`קלט לא תקין: צריך להיות instanceof ${P.expected}, התקבל ${B}`;return`קלט לא תקין: צריך להיות ${T}, התקבל ${B}`}case"invalid_value":{if(P.values.length===1)return`ערך לא תקין: הערך חייב להיות ${Y$(P.values[0])}`;let S=P.values.map((B)=>Y$(B));if(P.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${S[0]} או ${S[1]}`;let T=S[S.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${S.slice(0,-1).join(", ")} או ${T}`}case"too_big":{let S=Z(P.origin),T=X(P.origin??"value");if(P.origin==="string")return`${S?.longLabel??"ארוך"} מדי: ${T} צריכה להכיל ${P.maximum.toString()} ${S?.unit??""} ${P.inclusive?"או פחות":"לכל היותר"}`.trim();if(P.origin==="number"){let N=P.inclusive?`קטן או שווה ל-${P.maximum}`:`קטן מ-${P.maximum}`;return`גדול מדי: ${T} צריך להיות ${N}`}if(P.origin==="array"||P.origin==="set"){let N=P.origin==="set"?"צריכה":"צריך",y=P.inclusive?`${P.maximum} ${S?.unit??""} או פחות`:`פחות מ-${P.maximum} ${S?.unit??""}`;return`גדול מדי: ${T} ${N} להכיל ${y}`.trim()}let _=P.inclusive?"<=":"<",B=W(P.origin??"value");if(S?.unit)return`${S.longLabel} מדי: ${T} ${B} ${_}${P.maximum.toString()} ${S.unit}`;return`${S?.longLabel??"גדול"} מדי: ${T} ${B} ${_}${P.maximum.toString()}`}case"too_small":{let S=Z(P.origin),T=X(P.origin??"value");if(P.origin==="string")return`${S?.shortLabel??"קצר"} מדי: ${T} צריכה להכיל ${P.minimum.toString()} ${S?.unit??""} ${P.inclusive?"או יותר":"לפחות"}`.trim();if(P.origin==="number"){let N=P.inclusive?`גדול או שווה ל-${P.minimum}`:`גדול מ-${P.minimum}`;return`קטן מדי: ${T} צריך להיות ${N}`}if(P.origin==="array"||P.origin==="set"){let N=P.origin==="set"?"צריכה":"צריך";if(P.minimum===1&&P.inclusive){let w=P.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${T} ${N} להכיל ${w}`}let y=P.inclusive?`${P.minimum} ${S?.unit??""} או יותר`:`יותר מ-${P.minimum} ${S?.unit??""}`;return`קטן מדי: ${T} ${N} להכיל ${y}`.trim()}let _=P.inclusive?">=":">",B=W(P.origin??"value");if(S?.unit)return`${S.shortLabel} מדי: ${T} ${B} ${_}${P.minimum.toString()} ${S.unit}`;return`${S?.shortLabel??"קטן"} מדי: ${T} ${B} ${_}${P.minimum.toString()}`}case"invalid_format":{let S=P;if(S.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${S.prefix}"`;if(S.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${S.suffix}"`;if(S.format==="includes")return`המחרוזת חייבת לכלול "${S.includes}"`;if(S.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${S.pattern}`;let T=L[S.format],_=T?.label??S.format,N=(T?.gender??"m")==="f"?"תקינה":"תקין";return`${_} לא ${N}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${P.divisor}`;case"unrecognized_keys":return`מפתח${P.keys.length>1?"ות":""} לא מזוה${P.keys.length>1?"ים":"ה"}: ${w0(P.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${X(P.origin??"array")}`;default:return"קלט לא תקין"}}};function D5(){return{localeError:fu()}}var yu=()=>{let I={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neispravan unos: očekuje se instanceof ${X.expected}, a primljeno je ${L}`;return`Neispravan unos: očekuje se ${W}, a primljeno je ${L}`}case"invalid_value":if(X.values.length===1)return`Neispravna vrijednost: očekivano ${Y$(X.values[0])}`;return`Neispravna opcija: očekivano jedno od ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Preveliko: očekivano da ${L??"vrijednost"} ima ${W}${X.maximum.toString()} ${Z.unit??"elemenata"}`;return`Preveliko: očekivano da ${L??"vrijednost"} bude ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=z[X.origin]??X.origin;if(Z)return`Premalo: očekivano da ${L} ima ${W}${X.minimum.toString()} ${Z.unit}`;return`Premalo: očekivano da ${L} bude ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Neispravan tekst: mora započinjati s "${W.prefix}"`;if(W.format==="ends_with")return`Neispravan tekst: mora završavati s "${W.suffix}"`;if(W.format==="includes")return`Neispravan tekst: mora sadržavati "${W.includes}"`;if(W.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${W.pattern}`;return`Neispravna ${Q[W.format]??X.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${X.divisor}`;case"unrecognized_keys":return`Neprepoznat${X.keys.length>1?"i ključevi":" ključ"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${z[X.origin]??X.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${z[X.origin]??X.origin}`;default:return"Neispravan unos"}}};function L5(){return{localeError:yu()}}var bu=()=>{let I={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Érvénytelen bemenet: a várt érték instanceof ${X.expected}, a kapott érték ${L}`;return`Érvénytelen bemenet: a várt érték ${W}, a kapott érték ${L}`}case"invalid_value":if(X.values.length===1)return`Érvénytelen bemenet: a várt érték ${Y$(X.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Túl nagy: ${X.origin??"érték"} mérete túl nagy ${W}${X.maximum.toString()} ${Z.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${X.origin??"érték"} túl nagy: ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Túl kicsi: a bemeneti érték ${X.origin} mérete túl kicsi ${W}${X.minimum.toString()} ${Z.unit}`;return`Túl kicsi: a bemeneti érték ${X.origin} túl kicsi ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Érvénytelen string: "${W.prefix}" értékkel kell kezdődnie`;if(W.format==="ends_with")return`Érvénytelen string: "${W.suffix}" értékkel kell végződnie`;if(W.format==="includes")return`Érvénytelen string: "${W.includes}" értéket kell tartalmaznia`;if(W.format==="regex")return`Érvénytelen string: ${W.pattern} mintának kell megfelelnie`;return`Érvénytelen ${Q[W.format]??X.format}`}case"not_multiple_of":return`Érvénytelen szám: ${X.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${X.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${X.origin}`;default:return"Érvénytelen bemenet"}}};function M5(){return{localeError:bu()}}function Oj(I,J,Q){return Math.abs(I)===1?J:Q}function mY(I){if(!I)return"";let J=["ա","ե","ը","ի","ո","ու","օ"],Q=I[I.length-1];return I+(J.includes(Q)?"ն":"ը")}var uu=()=>{let I={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${X.expected}, ստացվել է ${L}`;return`Սխալ մուտքագրում․ սպասվում էր ${W}, ստացվել է ${L}`}case"invalid_value":if(X.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${Y$(X.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),j=Oj(L,Z.unit.one,Z.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mY(X.origin??"արժեք")} կունենա ${W}${X.maximum.toString()} ${j}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${mY(X.origin??"արժեք")} լինի ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),j=Oj(L,Z.unit.one,Z.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mY(X.origin)} կունենա ${W}${X.minimum.toString()} ${j}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${mY(X.origin)} լինի ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${W.prefix}"-ով`;if(W.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${W.suffix}"-ով`;if(W.format==="includes")return`Սխալ տող․ պետք է պարունակի "${W.includes}"`;if(W.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${W.pattern} ձևաչափին`;return`Սխալ ${Q[W.format]??X.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${X.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${X.keys.length>1?"ներ":""}. ${w0(X.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${mY(X.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${mY(X.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function A5(){return{localeError:uu()}}var hu=()=>{let I={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input tidak valid: diharapkan instanceof ${X.expected}, diterima ${L}`;return`Input tidak valid: diharapkan ${W}, diterima ${L}`}case"invalid_value":if(X.values.length===1)return`Input tidak valid: diharapkan ${Y$(X.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: diharapkan ${X.origin??"value"} memiliki ${W}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: diharapkan ${X.origin??"value"} menjadi ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: diharapkan ${X.origin} memiliki ${W}${X.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: diharapkan ${X.origin} menjadi ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`String tidak valid: harus dimulai dengan "${W.prefix}"`;if(W.format==="ends_with")return`String tidak valid: harus berakhir dengan "${W.suffix}"`;if(W.format==="includes")return`String tidak valid: harus menyertakan "${W.includes}"`;if(W.format==="regex")return`String tidak valid: harus sesuai pola ${W.pattern}`;return`${Q[W.format]??X.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${X.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${X.origin}`;default:return"Input tidak valid"}}};function T5(){return{localeError:hu()}}var cu=()=>{let I={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera instanceof ${X.expected}`;return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera ${W}`}case"invalid_value":if(X.values.length===1)return`Rangt gildi: gert ráð fyrir ${Y$(X.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} hafi ${W}${X.maximum.toString()} ${Z.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${X.origin??"gildi"} sé ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Of lítið: gert er ráð fyrir að ${X.origin} hafi ${W}${X.minimum.toString()} ${Z.unit}`;return`Of lítið: gert er ráð fyrir að ${X.origin} sé ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ógildur strengur: verður að byrja á "${W.prefix}"`;if(W.format==="ends_with")return`Ógildur strengur: verður að enda á "${W.suffix}"`;if(W.format==="includes")return`Ógildur strengur: verður að innihalda "${W.includes}"`;if(W.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${W.pattern}`;return`Rangt ${Q[W.format]??X.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${X.divisor}`;case"unrecognized_keys":return`Óþekkt ${X.keys.length>1?"ir lyklar":"ur lykill"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${X.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${X.origin}`;default:return"Rangt gildi"}}};function C5(){return{localeError:cu()}}var pu=()=>{let I={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input non valido: atteso instanceof ${X.expected}, ricevuto ${L}`;return`Input non valido: atteso ${W}, ricevuto ${L}`}case"invalid_value":if(X.values.length===1)return`Input non valido: atteso ${Y$(X.values[0])}`;return`Opzione non valida: atteso uno tra ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Troppo grande: ${X.origin??"valore"} deve avere ${W}${X.maximum.toString()} ${Z.unit??"elementi"}`;return`Troppo grande: ${X.origin??"valore"} deve essere ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Troppo piccolo: ${X.origin} deve avere ${W}${X.minimum.toString()} ${Z.unit}`;return`Troppo piccolo: ${X.origin} deve essere ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Stringa non valida: deve iniziare con "${W.prefix}"`;if(W.format==="ends_with")return`Stringa non valida: deve terminare con "${W.suffix}"`;if(W.format==="includes")return`Stringa non valida: deve includere "${W.includes}"`;if(W.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${W.pattern}`;return`Input non valido: ${Q[W.format]??X.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${X.divisor}`;case"unrecognized_keys":return`Chiav${X.keys.length>1?"i":"e"} non riconosciut${X.keys.length>1?"e":"a"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${X.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${X.origin}`;default:return"Input non valido"}}};function q5(){return{localeError:pu()}}var mu=()=>{let I={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`無効な入力: instanceof ${X.expected}が期待されましたが、${L}が入力されました`;return`無効な入力: ${W}が期待されましたが、${L}が入力されました`}case"invalid_value":if(X.values.length===1)return`無効な入力: ${Y$(X.values[0])}が期待されました`;return`無効な選択: ${w0(X.values,"、")}のいずれかである必要があります`;case"too_big":{let W=X.inclusive?"以下である":"より小さい",Z=J(X.origin);if(Z)return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${Z.unit??"要素"}${W}必要があります`;return`大きすぎる値: ${X.origin??"値"}は${X.maximum.toString()}${W}必要があります`}case"too_small":{let W=X.inclusive?"以上である":"より大きい",Z=J(X.origin);if(Z)return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${Z.unit}${W}必要があります`;return`小さすぎる値: ${X.origin}は${X.minimum.toString()}${W}必要があります`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`無効な文字列: "${W.prefix}"で始まる必要があります`;if(W.format==="ends_with")return`無効な文字列: "${W.suffix}"で終わる必要があります`;if(W.format==="includes")return`無効な文字列: "${W.includes}"を含む必要があります`;if(W.format==="regex")return`無効な文字列: パターン${W.pattern}に一致する必要があります`;return`無効な${Q[W.format]??X.format}`}case"not_multiple_of":return`無効な数値: ${X.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${X.keys.length>1?"群":""}: ${w0(X.keys,"、")}`;case"invalid_key":return`${X.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${X.origin}内の無効な値`;default:return"無効な入力"}}};function R5(){return{localeError:mu()}}var lu=()=>{let I={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${X.expected}, მიღებული ${L}`;return`არასწორი შეყვანა: მოსალოდნელი ${W}, მიღებული ${L}`}case"invalid_value":if(X.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${Y$(X.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${w0(X.values,"|")}-დან`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${X.origin??"მნიშვნელობა"} იყოს ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${X.origin} იყოს ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${W.prefix}"-ით`;if(W.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${W.suffix}"-ით`;if(W.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${W.includes}"-ს`;if(W.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${W.pattern}`;return`არასწორი ${Q[W.format]??X.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${X.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${X.keys.length>1?"ები":"ი"}: ${w0(X.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${X.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${X.origin}-ში`;default:return"არასწორი შეყვანა"}}};function P5(){return{localeError:lu()}}var du=()=>{let I={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${X.expected} ប៉ុន្តែទទួលបាន ${L}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${W} ប៉ុន្តែទទួលបាន ${L}`}case"invalid_value":if(X.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Y$(X.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${W} ${X.maximum.toString()} ${Z.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${X.origin??"តម្លៃ"} ${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`តូចពេក៖ ត្រូវការ ${X.origin} ${W} ${X.minimum.toString()} ${Z.unit}`;return`តូចពេក៖ ត្រូវការ ${X.origin} ${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${W.prefix}"`;if(W.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${W.suffix}"`;if(W.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${W.includes}"`;if(W.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${W.pattern}`;return`មិនត្រឹមត្រូវ៖ ${Q[W.format]??X.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${X.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${w0(X.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${X.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function _2(){return{localeError:du()}}function _5(){return _2()}var nu=()=>{let I={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`잘못된 입력: 예상 타입은 instanceof ${X.expected}, 받은 타입은 ${L}입니다`;return`잘못된 입력: 예상 타입은 ${W}, 받은 타입은 ${L}입니다`}case"invalid_value":if(X.values.length===1)return`잘못된 입력: 값은 ${Y$(X.values[0])} 이어야 합니다`;return`잘못된 옵션: ${w0(X.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let W=X.inclusive?"이하":"미만",Z=W==="미만"?"이어야 합니다":"여야 합니다",L=J(X.origin),j=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()}${j} ${W}${Z}`;return`${X.origin??"값"}이 너무 큽니다: ${X.maximum.toString()} ${W}${Z}`}case"too_small":{let W=X.inclusive?"이상":"초과",Z=W==="이상"?"이어야 합니다":"여야 합니다",L=J(X.origin),j=L?.unit??"요소";if(L)return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()}${j} ${W}${Z}`;return`${X.origin??"값"}이 너무 작습니다: ${X.minimum.toString()} ${W}${Z}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`잘못된 문자열: "${W.prefix}"(으)로 시작해야 합니다`;if(W.format==="ends_with")return`잘못된 문자열: "${W.suffix}"(으)로 끝나야 합니다`;if(W.format==="includes")return`잘못된 문자열: "${W.includes}"을(를) 포함해야 합니다`;if(W.format==="regex")return`잘못된 문자열: 정규식 ${W.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${Q[W.format]??X.format}`}case"not_multiple_of":return`잘못된 숫자: ${X.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${w0(X.keys,", ")}`;case"invalid_key":return`잘못된 키: ${X.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${X.origin}`;default:return"잘못된 입력"}}};function S5(){return{localeError:nu()}}var S2=(I)=>{return I.charAt(0).toUpperCase()+I.slice(1)};function Vj(I){let J=Math.abs(I),Q=J%10,z=J%100;if(z>=11&&z<=19||Q===0)return"many";if(Q===1)return"one";return"few"}var ou=()=>{let I={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function J(X,W,Z,L){let j=I[X]??null;if(j===null)return j;return{unit:j.unit[W],verb:j.verb[L][Z?"inclusive":"notInclusive"]}}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Gautas tipas ${L}, o tikėtasi - instanceof ${X.expected}`;return`Gautas tipas ${L}, o tikėtasi - ${W}`}case"invalid_value":if(X.values.length===1)return`Privalo būti ${Y$(X.values[0])}`;return`Privalo būti vienas iš ${w0(X.values,"|")} pasirinkimų`;case"too_big":{let W=z[X.origin]??X.origin,Z=J(X.origin,Vj(Number(X.maximum)),X.inclusive??!1,"smaller");if(Z?.verb)return`${S2(W??X.origin??"reikšmė")} ${Z.verb} ${X.maximum.toString()} ${Z.unit??"elementų"}`;let L=X.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${S2(W??X.origin??"reikšmė")} turi būti ${L} ${X.maximum.toString()} ${Z?.unit}`}case"too_small":{let W=z[X.origin]??X.origin,Z=J(X.origin,Vj(Number(X.minimum)),X.inclusive??!1,"bigger");if(Z?.verb)return`${S2(W??X.origin??"reikšmė")} ${Z.verb} ${X.minimum.toString()} ${Z.unit??"elementų"}`;let L=X.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${S2(W??X.origin??"reikšmė")} turi būti ${L} ${X.minimum.toString()} ${Z?.unit}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Eilutė privalo prasidėti "${W.prefix}"`;if(W.format==="ends_with")return`Eilutė privalo pasibaigti "${W.suffix}"`;if(W.format==="includes")return`Eilutė privalo įtraukti "${W.includes}"`;if(W.format==="regex")return`Eilutė privalo atitikti ${W.pattern}`;return`Neteisingas ${Q[W.format]??X.format}`}case"not_multiple_of":return`Skaičius privalo būti ${X.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${X.keys.length>1?"i":"as"} rakt${X.keys.length>1?"ai":"as"}: ${w0(X.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let W=z[X.origin]??X.origin;return`${S2(W??X.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function E5(){return{localeError:ou()}}var iu=()=>{let I={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Грешен внес: се очекува instanceof ${X.expected}, примено ${L}`;return`Грешен внес: се очекува ${W}, примено ${L}`}case"invalid_value":if(X.values.length===1)return`Invalid input: expected ${Y$(X.values[0])}`;return`Грешана опција: се очекува една ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Премногу голем: се очекува ${X.origin??"вредноста"} да има ${W}${X.maximum.toString()} ${Z.unit??"елементи"}`;return`Премногу голем: се очекува ${X.origin??"вредноста"} да биде ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Премногу мал: се очекува ${X.origin} да има ${W}${X.minimum.toString()} ${Z.unit}`;return`Премногу мал: се очекува ${X.origin} да биде ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Неважечка низа: мора да започнува со "${W.prefix}"`;if(W.format==="ends_with")return`Неважечка низа: мора да завршува со "${W.suffix}"`;if(W.format==="includes")return`Неважечка низа: мора да вклучува "${W.includes}"`;if(W.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${W.pattern}`;return`Invalid ${Q[W.format]??X.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${X.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${X.origin}`;default:return"Грешен внес"}}};function j5(){return{localeError:iu()}}var ru=()=>{let I={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Input tidak sah: dijangka instanceof ${X.expected}, diterima ${L}`;return`Input tidak sah: dijangka ${W}, diterima ${L}`}case"invalid_value":if(X.values.length===1)return`Input tidak sah: dijangka ${Y$(X.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Terlalu besar: dijangka ${X.origin??"nilai"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: dijangka ${X.origin??"nilai"} adalah ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Terlalu kecil: dijangka ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: dijangka ${X.origin} adalah ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`String tidak sah: mesti bermula dengan "${W.prefix}"`;if(W.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${W.suffix}"`;if(W.format==="includes")return`String tidak sah: mesti mengandungi "${W.includes}"`;if(W.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${W.pattern}`;return`${Q[W.format]??X.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${X.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${w0(X.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${X.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${X.origin}`;default:return"Input tidak sah"}}};function B5(){return{localeError:ru()}}var tu=()=>{let I={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ongeldige invoer: verwacht instanceof ${X.expected}, ontving ${L}`;return`Ongeldige invoer: verwacht ${W}, ontving ${L}`}case"invalid_value":if(X.values.length===1)return`Ongeldige invoer: verwacht ${Y$(X.values[0])}`;return`Ongeldige optie: verwacht één van ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin),L=X.origin==="date"?"laat":X.origin==="string"?"lang":"groot";if(Z)return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${W}${X.maximum.toString()} ${Z.unit??"elementen"} ${Z.verb}`;return`Te ${L}: verwacht dat ${X.origin??"waarde"} ${W}${X.maximum.toString()} is`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin),L=X.origin==="date"?"vroeg":X.origin==="string"?"kort":"klein";if(Z)return`Te ${L}: verwacht dat ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Te ${L}: verwacht dat ${X.origin} ${W}${X.minimum.toString()} is`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ongeldige tekst: moet met "${W.prefix}" beginnen`;if(W.format==="ends_with")return`Ongeldige tekst: moet op "${W.suffix}" eindigen`;if(W.format==="includes")return`Ongeldige tekst: moet "${W.includes}" bevatten`;if(W.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${W.pattern}`;return`Ongeldig: ${Q[W.format]??X.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${X.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${X.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${X.origin}`;default:return"Ongeldige invoer"}}};function v5(){return{localeError:tu()}}var au=()=>{let I={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ugyldig input: forventet instanceof ${X.expected}, fikk ${L}`;return`Ugyldig input: forventet ${W}, fikk ${L}`}case"invalid_value":if(X.values.length===1)return`Ugyldig verdi: forventet ${Y$(X.values[0])}`;return`Ugyldig valg: forventet en av ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`For stor(t): forventet ${X.origin??"value"} til å ha ${W}${X.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor(t): forventet ${X.origin??"value"} til å ha ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`For lite(n): forventet ${X.origin} til å ha ${W}${X.minimum.toString()} ${Z.unit}`;return`For lite(n): forventet ${X.origin} til å ha ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ugyldig streng: må starte med "${W.prefix}"`;if(W.format==="ends_with")return`Ugyldig streng: må ende med "${W.suffix}"`;if(W.format==="includes")return`Ugyldig streng: må inneholde "${W.includes}"`;if(W.format==="regex")return`Ugyldig streng: må matche mønsteret ${W.pattern}`;return`Ugyldig ${Q[W.format]??X.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${X.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${X.origin}`;default:return"Ugyldig input"}}};function N5(){return{localeError:au()}}var su=()=>{let I={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Fâsit giren: umulan instanceof ${X.expected}, alınan ${L}`;return`Fâsit giren: umulan ${W}, alınan ${L}`}case"invalid_value":if(X.values.length===1)return`Fâsit giren: umulan ${Y$(X.values[0])}`;return`Fâsit tercih: mûteberler ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Fazla büyük: ${X.origin??"value"}, ${W}${X.maximum.toString()} ${Z.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${X.origin??"value"}, ${W}${X.maximum.toString()} olmalıydı.`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Fazla küçük: ${X.origin}, ${W}${X.minimum.toString()} ${Z.unit} sahip olmalıydı.`;return`Fazla küçük: ${X.origin}, ${W}${X.minimum.toString()} olmalıydı.`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Fâsit metin: "${W.prefix}" ile başlamalı.`;if(W.format==="ends_with")return`Fâsit metin: "${W.suffix}" ile bitmeli.`;if(W.format==="includes")return`Fâsit metin: "${W.includes}" ihtivâ etmeli.`;if(W.format==="regex")return`Fâsit metin: ${W.pattern} nakşına uymalı.`;return`Fâsit ${Q[W.format]??X.format}`}case"not_multiple_of":return`Fâsit sayı: ${X.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${X.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function k5(){return{localeError:su()}}var eu=()=>{let I={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ناسم ورودي: باید instanceof ${X.expected} وای, مګر ${L} ترلاسه شو`;return`ناسم ورودي: باید ${W} وای, مګر ${L} ترلاسه شو`}case"invalid_value":if(X.values.length===1)return`ناسم ورودي: باید ${Y$(X.values[0])} وای`;return`ناسم انتخاب: باید یو له ${w0(X.values,"|")} څخه وای`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`ډیر لوی: ${X.origin??"ارزښت"} باید ${W}${X.maximum.toString()} ${Z.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${X.origin??"ارزښت"} باید ${W}${X.maximum.toString()} وي`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`ډیر کوچنی: ${X.origin} باید ${W}${X.minimum.toString()} ${Z.unit} ولري`;return`ډیر کوچنی: ${X.origin} باید ${W}${X.minimum.toString()} وي`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`ناسم متن: باید د "${W.prefix}" سره پیل شي`;if(W.format==="ends_with")return`ناسم متن: باید د "${W.suffix}" سره پای ته ورسيږي`;if(W.format==="includes")return`ناسم متن: باید "${W.includes}" ولري`;if(W.format==="regex")return`ناسم متن: باید د ${W.pattern} سره مطابقت ولري`;return`${Q[W.format]??X.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${X.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${X.keys.length>1?"کلیډونه":"کلیډ"}: ${w0(X.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${X.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${X.origin} کې`;default:return"ناسمه ورودي"}}};function g5(){return{localeError:eu()}}var $h=()=>{let I={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${X.expected}, otrzymano ${L}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${W}, otrzymano ${L}`}case"invalid_value":if(X.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${Y$(X.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Za duża wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${W}${X.maximum.toString()} ${Z.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Za mała wartość: oczekiwano, że ${X.origin??"wartość"} będzie mieć ${W}${X.minimum.toString()} ${Z.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${X.origin??"wartość"} będzie wynosić ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${W.prefix}"`;if(W.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${W.suffix}"`;if(W.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${W.includes}"`;if(W.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${W.pattern}`;return`Nieprawidłow(y/a/e) ${Q[W.format]??X.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${X.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${X.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${X.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function x5(){return{localeError:$h()}}var Uh=()=>{let I={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Tipo inválido: esperado instanceof ${X.expected}, recebido ${L}`;return`Tipo inválido: esperado ${W}, recebido ${L}`}case"invalid_value":if(X.values.length===1)return`Entrada inválida: esperado ${Y$(X.values[0])}`;return`Opção inválida: esperada uma das ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Muito grande: esperado que ${X.origin??"valor"} tivesse ${W}${X.maximum.toString()} ${Z.unit??"elementos"}`;return`Muito grande: esperado que ${X.origin??"valor"} fosse ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Muito pequeno: esperado que ${X.origin} tivesse ${W}${X.minimum.toString()} ${Z.unit}`;return`Muito pequeno: esperado que ${X.origin} fosse ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Texto inválido: deve começar com "${W.prefix}"`;if(W.format==="ends_with")return`Texto inválido: deve terminar com "${W.suffix}"`;if(W.format==="includes")return`Texto inválido: deve incluir "${W.includes}"`;if(W.format==="regex")return`Texto inválido: deve corresponder ao padrão ${W.pattern}`;return`${Q[W.format]??X.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${X.divisor}`;case"unrecognized_keys":return`Chave${X.keys.length>1?"s":""} desconhecida${X.keys.length>1?"s":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Chave inválida em ${X.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${X.origin}`;default:return"Campo inválido"}}};function w5(){return{localeError:Uh()}}var Ih=()=>{let I={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;return`Intrare invalidă: așteptat ${W}, primit ${L}`}case"invalid_value":if(X.values.length===1)return`Intrare invalidă: așteptat ${Y$(X.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Prea mare: așteptat ca ${X.origin??"valoarea"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"elemente"}`;return`Prea mare: așteptat ca ${X.origin??"valoarea"} să fie ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Prea mic: așteptat ca ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Prea mic: așteptat ca ${X.origin} să fie ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${W.prefix}"`;if(W.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${W.suffix}"`;if(W.format==="includes")return`Șir invalid: trebuie să includă "${W.includes}"`;if(W.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${W.pattern}`;return`Format invalid: ${Q[W.format]??X.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${X.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${w0(X.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${X.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${X.origin}`;default:return"Intrare invalidă"}}};function f5(){return{localeError:Ih()}}function Fj(I,J,Q,z){let X=Math.abs(I),W=X%10,Z=X%100;if(Z>=11&&Z<=19)return z;if(W===1)return J;if(W>=2&&W<=4)return Q;return z}var Xh=()=>{let I={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Неверный ввод: ожидалось instanceof ${X.expected}, получено ${L}`;return`Неверный ввод: ожидалось ${W}, получено ${L}`}case"invalid_value":if(X.values.length===1)return`Неверный ввод: ожидалось ${Y$(X.values[0])}`;return`Неверный вариант: ожидалось одно из ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z){let L=Number(X.maximum),j=Fj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет иметь ${W}${X.maximum.toString()} ${j}`}return`Слишком большое значение: ожидалось, что ${X.origin??"значение"} будет ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z){let L=Number(X.minimum),j=Fj(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком маленькое значение: ожидалось, что ${X.origin} будет иметь ${W}${X.minimum.toString()} ${j}`}return`Слишком маленькое значение: ожидалось, что ${X.origin} будет ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Неверная строка: должна начинаться с "${W.prefix}"`;if(W.format==="ends_with")return`Неверная строка: должна заканчиваться на "${W.suffix}"`;if(W.format==="includes")return`Неверная строка: должна содержать "${W.includes}"`;if(W.format==="regex")return`Неверная строка: должна соответствовать шаблону ${W.pattern}`;return`Неверный ${Q[W.format]??X.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${X.divisor}`;case"unrecognized_keys":return`Нераспознанн${X.keys.length>1?"ые":"ый"} ключ${X.keys.length>1?"и":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${X.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${X.origin}`;default:return"Неверные входные данные"}}};function y5(){return{localeError:Xh()}}var Jh=()=>{let I={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Neveljaven vnos: pričakovano instanceof ${X.expected}, prejeto ${L}`;return`Neveljaven vnos: pričakovano ${W}, prejeto ${L}`}case"invalid_value":if(X.values.length===1)return`Neveljaven vnos: pričakovano ${Y$(X.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} imelo ${W}${X.maximum.toString()} ${Z.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${X.origin??"vrednost"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Premajhno: pričakovano, da bo ${X.origin} imelo ${W}${X.minimum.toString()} ${Z.unit}`;return`Premajhno: pričakovano, da bo ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Neveljaven niz: mora se začeti z "${W.prefix}"`;if(W.format==="ends_with")return`Neveljaven niz: mora se končati z "${W.suffix}"`;if(W.format==="includes")return`Neveljaven niz: mora vsebovati "${W.includes}"`;if(W.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${W.pattern}`;return`Neveljaven ${Q[W.format]??X.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${X.divisor}`;case"unrecognized_keys":return`Neprepoznan${X.keys.length>1?"i ključi":" ključ"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${X.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${X.origin}`;default:return"Neveljaven vnos"}}};function b5(){return{localeError:Jh()}}var Yh=()=>{let I={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ogiltig inmatning: förväntat instanceof ${X.expected}, fick ${L}`;return`Ogiltig inmatning: förväntat ${W}, fick ${L}`}case"invalid_value":if(X.values.length===1)return`Ogiltig inmatning: förväntat ${Y$(X.values[0])}`;return`Ogiltigt val: förväntade en av ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`För stor(t): förväntade ${X.origin??"värdet"} att ha ${W}${X.maximum.toString()} ${Z.unit??"element"}`;return`För stor(t): förväntat ${X.origin??"värdet"} att ha ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${W}${X.minimum.toString()} ${Z.unit}`;return`För lite(t): förväntade ${X.origin??"värdet"} att ha ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ogiltig sträng: måste börja med "${W.prefix}"`;if(W.format==="ends_with")return`Ogiltig sträng: måste sluta med "${W.suffix}"`;if(W.format==="includes")return`Ogiltig sträng: måste innehålla "${W.includes}"`;if(W.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${W.pattern}"`;return`Ogiltig(t) ${Q[W.format]??X.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${X.divisor}`;case"unrecognized_keys":return`${X.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${w0(X.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${X.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${X.origin??"värdet"}`;default:return"Ogiltig input"}}};function u5(){return{localeError:Yh()}}var Qh=()=>{let I={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${X.expected}, பெறப்பட்டது ${L}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${W}, பெறப்பட்டது ${L}`}case"invalid_value":if(X.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Y$(X.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${w0(X.values,"|")} இல் ஒன்று`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${W}${X.maximum.toString()} ${Z.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${X.origin??"மதிப்பு"} ${W}${X.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${X.origin} ${W}${X.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`தவறான சரம்: "${W.prefix}" இல் தொடங்க வேண்டும்`;if(W.format==="ends_with")return`தவறான சரம்: "${W.suffix}" இல் முடிவடைய வேண்டும்`;if(W.format==="includes")return`தவறான சரம்: "${W.includes}" ஐ உள்ளடக்க வேண்டும்`;if(W.format==="regex")return`தவறான சரம்: ${W.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${Q[W.format]??X.format}`}case"not_multiple_of":return`தவறான எண்: ${X.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${X.keys.length>1?"கள்":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${X.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function h5(){return{localeError:Qh()}}var Gh=()=>{let I={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${X.expected} แต่ได้รับ ${L}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${W} แต่ได้รับ ${L}`}case"invalid_value":if(X.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${Y$(X.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"ไม่เกิน":"น้อยกว่า",Z=J(X.origin);if(Z)return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${W} ${X.maximum.toString()} ${Z.unit??"รายการ"}`;return`เกินกำหนด: ${X.origin??"ค่า"} ควรมี${W} ${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?"อย่างน้อย":"มากกว่า",Z=J(X.origin);if(Z)return`น้อยกว่ากำหนด: ${X.origin} ควรมี${W} ${X.minimum.toString()} ${Z.unit}`;return`น้อยกว่ากำหนด: ${X.origin} ควรมี${W} ${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${W.prefix}"`;if(W.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${W.suffix}"`;if(W.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${W.includes}" อยู่ในข้อความ`;if(W.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${W.pattern}`;return`รูปแบบไม่ถูกต้อง: ${Q[W.format]??X.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${X.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${w0(X.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${X.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${X.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function c5(){return{localeError:Gh()}}var Zh=()=>{let I={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Geçersiz değer: beklenen instanceof ${X.expected}, alınan ${L}`;return`Geçersiz değer: beklenen ${W}, alınan ${L}`}case"invalid_value":if(X.values.length===1)return`Geçersiz değer: beklenen ${Y$(X.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Çok büyük: beklenen ${X.origin??"değer"} ${W}${X.maximum.toString()} ${Z.unit??"öğe"}`;return`Çok büyük: beklenen ${X.origin??"değer"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Çok küçük: beklenen ${X.origin} ${W}${X.minimum.toString()} ${Z.unit}`;return`Çok küçük: beklenen ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Geçersiz metin: "${W.prefix}" ile başlamalı`;if(W.format==="ends_with")return`Geçersiz metin: "${W.suffix}" ile bitmeli`;if(W.format==="includes")return`Geçersiz metin: "${W.includes}" içermeli`;if(W.format==="regex")return`Geçersiz metin: ${W.pattern} desenine uymalı`;return`Geçersiz ${Q[W.format]??X.format}`}case"not_multiple_of":return`Geçersiz sayı: ${X.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${X.keys.length>1?"lar":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${X.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function p5(){return{localeError:Zh()}}var Kh=()=>{let I={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Неправильні вхідні дані: очікується instanceof ${X.expected}, отримано ${L}`;return`Неправильні вхідні дані: очікується ${W}, отримано ${L}`}case"invalid_value":if(X.values.length===1)return`Неправильні вхідні дані: очікується ${Y$(X.values[0])}`;return`Неправильна опція: очікується одне з ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Занадто велике: очікується, що ${X.origin??"значення"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"елементів"}`;return`Занадто велике: очікується, що ${X.origin??"значення"} буде ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Занадто мале: очікується, що ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Занадто мале: очікується, що ${X.origin} буде ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Неправильний рядок: повинен починатися з "${W.prefix}"`;if(W.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${W.suffix}"`;if(W.format==="includes")return`Неправильний рядок: повинен містити "${W.includes}"`;if(W.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${W.pattern}`;return`Неправильний ${Q[W.format]??X.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${X.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${X.keys.length>1?"і":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${X.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${X.origin}`;default:return"Неправильні вхідні дані"}}};function E2(){return{localeError:Kh()}}function m5(){return E2()}var Wh=()=>{let I={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`غلط ان پٹ: instanceof ${X.expected} متوقع تھا، ${L} موصول ہوا`;return`غلط ان پٹ: ${W} متوقع تھا، ${L} موصول ہوا`}case"invalid_value":if(X.values.length===1)return`غلط ان پٹ: ${Y$(X.values[0])} متوقع تھا`;return`غلط آپشن: ${w0(X.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`بہت بڑا: ${X.origin??"ویلیو"} کے ${W}${X.maximum.toString()} ${Z.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${X.origin??"ویلیو"} کا ${W}${X.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`بہت چھوٹا: ${X.origin} کے ${W}${X.minimum.toString()} ${Z.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${X.origin} کا ${W}${X.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`غلط سٹرنگ: "${W.prefix}" سے شروع ہونا چاہیے`;if(W.format==="ends_with")return`غلط سٹرنگ: "${W.suffix}" پر ختم ہونا چاہیے`;if(W.format==="includes")return`غلط سٹرنگ: "${W.includes}" شامل ہونا چاہیے`;if(W.format==="regex")return`غلط سٹرنگ: پیٹرن ${W.pattern} سے میچ ہونا چاہیے`;return`غلط ${Q[W.format]??X.format}`}case"not_multiple_of":return`غلط نمبر: ${X.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${X.keys.length>1?"ز":""}: ${w0(X.keys,"، ")}`;case"invalid_key":return`${X.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${X.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function l5(){return{localeError:Wh()}}var zh=()=>{let I={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${X.expected}, qabul qilingan ${L}`;return`Noto‘g‘ri kirish: kutilgan ${W}, qabul qilingan ${L}`}case"invalid_value":if(X.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${Y$(X.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Juda katta: kutilgan ${X.origin??"qiymat"} ${W}${X.maximum.toString()} ${Z.unit} ${Z.verb}`;return`Juda katta: kutilgan ${X.origin??"qiymat"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Juda kichik: kutilgan ${X.origin} ${W}${X.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Juda kichik: kutilgan ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Noto‘g‘ri satr: "${W.prefix}" bilan boshlanishi kerak`;if(W.format==="ends_with")return`Noto‘g‘ri satr: "${W.suffix}" bilan tugashi kerak`;if(W.format==="includes")return`Noto‘g‘ri satr: "${W.includes}" ni o‘z ichiga olishi kerak`;if(W.format==="regex")return`Noto‘g‘ri satr: ${W.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${Q[W.format]??X.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${X.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${X.keys.length>1?"lar":""}: ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${X.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function d5(){return{localeError:zh()}}var Oh=()=>{let I={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${X.expected}, nhận được ${L}`;return`Đầu vào không hợp lệ: mong đợi ${W}, nhận được ${L}`}case"invalid_value":if(X.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${Y$(X.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${Z.verb} ${W}${X.maximum.toString()} ${Z.unit??"phần tử"}`;return`Quá lớn: mong đợi ${X.origin??"giá trị"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Quá nhỏ: mong đợi ${X.origin} ${Z.verb} ${W}${X.minimum.toString()} ${Z.unit}`;return`Quá nhỏ: mong đợi ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${W.prefix}"`;if(W.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${W.suffix}"`;if(W.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${W.includes}"`;if(W.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${W.pattern}`;return`${Q[W.format]??X.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${X.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${w0(X.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${X.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${X.origin}`;default:return"Đầu vào không hợp lệ"}}};function n5(){return{localeError:Oh()}}var Vh=()=>{let I={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`无效输入:期望 instanceof ${X.expected},实际接收 ${L}`;return`无效输入:期望 ${W},实际接收 ${L}`}case"invalid_value":if(X.values.length===1)return`无效输入:期望 ${Y$(X.values[0])}`;return`无效选项:期望以下之一 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`数值过大:期望 ${X.origin??"值"} ${W}${X.maximum.toString()} ${Z.unit??"个元素"}`;return`数值过大:期望 ${X.origin??"值"} ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`数值过小:期望 ${X.origin} ${W}${X.minimum.toString()} ${Z.unit}`;return`数值过小:期望 ${X.origin} ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`无效字符串:必须以 "${W.prefix}" 开头`;if(W.format==="ends_with")return`无效字符串:必须以 "${W.suffix}" 结尾`;if(W.format==="includes")return`无效字符串:必须包含 "${W.includes}"`;if(W.format==="regex")return`无效字符串:必须满足正则表达式 ${W.pattern}`;return`无效${Q[W.format]??X.format}`}case"not_multiple_of":return`无效数字:必须是 ${X.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${w0(X.keys,", ")}`;case"invalid_key":return`${X.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${X.origin} 中包含无效值(value)`;default:return"无效输入"}}};function o5(){return{localeError:Vh()}}var Fh=()=>{let I={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`無效的輸入值:預期為 instanceof ${X.expected},但收到 ${L}`;return`無效的輸入值:預期為 ${W},但收到 ${L}`}case"invalid_value":if(X.values.length===1)return`無效的輸入值:預期為 ${Y$(X.values[0])}`;return`無效的選項:預期為以下其中之一 ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`數值過大:預期 ${X.origin??"值"} 應為 ${W}${X.maximum.toString()} ${Z.unit??"個元素"}`;return`數值過大:預期 ${X.origin??"值"} 應為 ${W}${X.maximum.toString()}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`數值過小:預期 ${X.origin} 應為 ${W}${X.minimum.toString()} ${Z.unit}`;return`數值過小:預期 ${X.origin} 應為 ${W}${X.minimum.toString()}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`無效的字串:必須以 "${W.prefix}" 開頭`;if(W.format==="ends_with")return`無效的字串:必須以 "${W.suffix}" 結尾`;if(W.format==="includes")return`無效的字串:必須包含 "${W.includes}"`;if(W.format==="regex")return`無效的字串:必須符合格式 ${W.pattern}`;return`無效的 ${Q[W.format]??X.format}`}case"not_multiple_of":return`無效的數字:必須為 ${X.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${X.keys.length>1?"們":""}:${w0(X.keys,"、")}`;case"invalid_key":return`${X.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${X.origin} 中有無效的值`;default:return"無效的輸入值"}}};function i5(){return{localeError:Fh()}}var Hh=()=>{let I={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function J(X){return I[X]??null}let Q={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(X)=>{switch(X.code){case"invalid_type":{let W=z[X.expected]??X.expected,Z=Q$(X.input),L=z[Z]??Z;if(/^[A-Z]/.test(X.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${X.expected}, àmọ̀ a rí ${L}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${W}, àmọ̀ a rí ${L}`}case"invalid_value":if(X.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${Y$(X.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${w0(X.values,"|")}`;case"too_big":{let W=X.inclusive?"<=":"<",Z=J(X.origin);if(Z)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${X.origin??"iye"} ${Z.verb} ${W}${X.maximum} ${Z.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${W}${X.maximum}`}case"too_small":{let W=X.inclusive?">=":">",Z=J(X.origin);if(Z)return`Kéré ju: a ní láti jẹ́ pé ${X.origin} ${Z.verb} ${W}${X.minimum} ${Z.unit}`;return`Kéré ju: a ní láti jẹ́ ${W}${X.minimum}`}case"invalid_format":{let W=X;if(W.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${W.prefix}"`;if(W.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${W.suffix}"`;if(W.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${W.includes}"`;if(W.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${W.pattern}`;return`Aṣìṣe: ${Q[W.format]??X.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${X.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${w0(X.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${X.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${X.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function r5(){return{localeError:Hh()}}var Hj,t5=Symbol("ZodOutput"),a5=Symbol("ZodInput");class s5{constructor(){this._map=new WeakMap,this._idmap=new Map}add(I,...J){let Q=J[0];if(this._map.set(I,Q),Q&&typeof Q==="object"&&"id"in Q)this._idmap.set(Q.id,I);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(I){let J=this._map.get(I);if(J&&typeof J==="object"&&"id"in J)this._idmap.delete(J.id);return this._map.delete(I),this}get(I){let J=I._zod.parent;if(J){let Q={...this.get(J)??{}};delete Q.id;let z={...Q,...this._map.get(I)};return Object.keys(z).length?z:void 0}return this._map.get(I)}has(I){return this._map.has(I)}}function a8(){return new s5}(Hj=globalThis).__zod_globalRegistry??(Hj.__zod_globalRegistry=a8());var C1=globalThis.__zod_globalRegistry;function e5(I,J){return new I({type:"string",...K$(J)})}function $L(I,J){return new I({type:"string",coerce:!0,...K$(J)})}function s8(I,J){return new I({type:"string",format:"email",check:"string_format",abort:!1,...K$(J)})}function B2(I,J){return new I({type:"string",format:"guid",check:"string_format",abort:!1,...K$(J)})}function e8(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,...K$(J)})}function $W(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...K$(J)})}function UW(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...K$(J)})}function IW(I,J){return new I({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...K$(J)})}function v2(I,J){return new I({type:"string",format:"url",check:"string_format",abort:!1,...K$(J)})}function XW(I,J){return new I({type:"string",format:"emoji",check:"string_format",abort:!1,...K$(J)})}function JW(I,J){return new I({type:"string",format:"nanoid",check:"string_format",abort:!1,...K$(J)})}function YW(I,J){return new I({type:"string",format:"cuid",check:"string_format",abort:!1,...K$(J)})}function QW(I,J){return new I({type:"string",format:"cuid2",check:"string_format",abort:!1,...K$(J)})}function GW(I,J){return new I({type:"string",format:"ulid",check:"string_format",abort:!1,...K$(J)})}function ZW(I,J){return new I({type:"string",format:"xid",check:"string_format",abort:!1,...K$(J)})}function KW(I,J){return new I({type:"string",format:"ksuid",check:"string_format",abort:!1,...K$(J)})}function WW(I,J){return new I({type:"string",format:"ipv4",check:"string_format",abort:!1,...K$(J)})}function zW(I,J){return new I({type:"string",format:"ipv6",check:"string_format",abort:!1,...K$(J)})}function UL(I,J){return new I({type:"string",format:"mac",check:"string_format",abort:!1,...K$(J)})}function OW(I,J){return new I({type:"string",format:"cidrv4",check:"string_format",abort:!1,...K$(J)})}function VW(I,J){return new I({type:"string",format:"cidrv6",check:"string_format",abort:!1,...K$(J)})}function FW(I,J){return new I({type:"string",format:"base64",check:"string_format",abort:!1,...K$(J)})}function HW(I,J){return new I({type:"string",format:"base64url",check:"string_format",abort:!1,...K$(J)})}function DW(I,J){return new I({type:"string",format:"e164",check:"string_format",abort:!1,...K$(J)})}function LW(I,J){return new I({type:"string",format:"jwt",check:"string_format",abort:!1,...K$(J)})}var IL={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function XL(I,J){return new I({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...K$(J)})}function JL(I,J){return new I({type:"string",format:"date",check:"string_format",...K$(J)})}function YL(I,J){return new I({type:"string",format:"time",check:"string_format",precision:null,...K$(J)})}function QL(I,J){return new I({type:"string",format:"duration",check:"string_format",...K$(J)})}function GL(I,J){return new I({type:"number",checks:[],...K$(J)})}function ZL(I,J){return new I({type:"number",coerce:!0,checks:[],...K$(J)})}function KL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"safeint",...K$(J)})}function WL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float32",...K$(J)})}function zL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"float64",...K$(J)})}function OL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"int32",...K$(J)})}function VL(I,J){return new I({type:"number",check:"number_format",abort:!1,format:"uint32",...K$(J)})}function FL(I,J){return new I({type:"boolean",...K$(J)})}function HL(I,J){return new I({type:"boolean",coerce:!0,...K$(J)})}function DL(I,J){return new I({type:"bigint",...K$(J)})}function LL(I,J){return new I({type:"bigint",coerce:!0,...K$(J)})}function ML(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...K$(J)})}function AL(I,J){return new I({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...K$(J)})}function TL(I,J){return new I({type:"symbol",...K$(J)})}function CL(I,J){return new I({type:"undefined",...K$(J)})}function qL(I,J){return new I({type:"null",...K$(J)})}function RL(I){return new I({type:"any"})}function PL(I){return new I({type:"unknown"})}function _L(I,J){return new I({type:"never",...K$(J)})}function SL(I,J){return new I({type:"void",...K$(J)})}function EL(I,J){return new I({type:"date",...K$(J)})}function jL(I,J){return new I({type:"date",coerce:!0,...K$(J)})}function BL(I,J){return new I({type:"nan",...K$(J)})}function g6(I,J){return new u8({check:"less_than",...K$(J),value:I,inclusive:!1})}function q4(I,J){return new u8({check:"less_than",...K$(J),value:I,inclusive:!0})}function x6(I,J){return new h8({check:"greater_than",...K$(J),value:I,inclusive:!1})}function p1(I,J){return new h8({check:"greater_than",...K$(J),value:I,inclusive:!0})}function MW(I){return x6(0,I)}function AW(I){return g6(0,I)}function TW(I){return q4(0,I)}function CW(I){return p1(0,I)}function WX(I,J){return new SH({check:"multiple_of",...K$(J),value:I})}function zX(I,J){return new BH({check:"max_size",...K$(J),maximum:I})}function w6(I,J){return new vH({check:"min_size",...K$(J),minimum:I})}function VJ(I,J){return new NH({check:"size_equals",...K$(J),size:I})}function FJ(I,J){return new kH({check:"max_length",...K$(J),maximum:I})}function VI(I,J){return new gH({check:"min_length",...K$(J),minimum:I})}function HJ(I,J){return new xH({check:"length_equals",...K$(J),length:I})}function lY(I,J){return new wH({check:"string_format",format:"regex",...K$(J),pattern:I})}function dY(I){return new fH({check:"string_format",format:"lowercase",...K$(I)})}function nY(I){return new yH({check:"string_format",format:"uppercase",...K$(I)})}function oY(I,J){return new bH({check:"string_format",format:"includes",...K$(J),includes:I})}function iY(I,J){return new uH({check:"string_format",format:"starts_with",...K$(J),prefix:I})}function rY(I,J){return new hH({check:"string_format",format:"ends_with",...K$(J),suffix:I})}function qW(I,J,Q){return new cH({check:"property",property:I,schema:J,...K$(Q)})}function tY(I,J){return new pH({check:"mime_type",mime:I,...K$(J)})}function e4(I){return new mH({check:"overwrite",tx:I})}function aY(I){return e4((J)=>J.normalize(I))}function sY(){return e4((I)=>I.trim())}function eY(){return e4((I)=>I.toLowerCase())}function $Q(){return e4((I)=>I.toUpperCase())}function UQ(){return e4((I)=>uF(I))}function vL(I,J,Q){return new I({type:"array",element:J,...K$(Q)})}function Lh(I,J,Q){return new I({type:"union",options:J,...K$(Q)})}function Mh(I,J,Q){return new I({type:"union",options:J,inclusive:!1,...K$(Q)})}function Ah(I,J,Q,z){return new I({type:"union",options:Q,discriminator:J,...K$(z)})}function Th(I,J,Q){return new I({type:"intersection",left:J,right:Q})}function Ch(I,J,Q,z){let X=Q instanceof S$;return new I({type:"tuple",items:J,rest:X?Q:null,...K$(X?z:Q)})}function qh(I,J,Q,z){return new I({type:"record",keyType:J,valueType:Q,...K$(z)})}function Rh(I,J,Q,z){return new I({type:"map",keyType:J,valueType:Q,...K$(z)})}function Ph(I,J,Q){return new I({type:"set",valueType:J,...K$(Q)})}function _h(I,J,Q){let z=Array.isArray(J)?Object.fromEntries(J.map((X)=>[X,X])):J;return new I({type:"enum",entries:z,...K$(Q)})}function Sh(I,J,Q){return new I({type:"enum",entries:J,...K$(Q)})}function Eh(I,J,Q){return new I({type:"literal",values:Array.isArray(J)?J:[J],...K$(Q)})}function NL(I,J){return new I({type:"file",...K$(J)})}function jh(I,J){return new I({type:"transform",transform:J})}function Bh(I,J){return new I({type:"optional",innerType:J})}function vh(I,J){return new I({type:"nullable",innerType:J})}function Nh(I,J,Q){return new I({type:"default",innerType:J,get defaultValue(){return typeof Q==="function"?Q():cF(Q)}})}function kh(I,J,Q){return new I({type:"nonoptional",innerType:J,...K$(Q)})}function gh(I,J){return new I({type:"success",innerType:J})}function xh(I,J,Q){return new I({type:"catch",innerType:J,catchValue:typeof Q==="function"?Q:()=>Q})}function wh(I,J,Q){return new I({type:"pipe",in:J,out:Q})}function fh(I,J){return new I({type:"readonly",innerType:J})}function yh(I,J,Q){return new I({type:"template_literal",parts:J,...K$(Q)})}function bh(I,J){return new I({type:"lazy",getter:J})}function uh(I,J){return new I({type:"promise",innerType:J})}function kL(I,J,Q){let z=K$(Q);return z.abort??(z.abort=!0),new I({type:"custom",check:"custom",fn:J,...z})}function gL(I,J,Q){return new I({type:"custom",check:"custom",fn:J,...K$(Q)})}function xL(I,J){let Q=Dj((z)=>{return z.addIssue=(X)=>{if(typeof X==="string")z.issues.push(yY(X,z.value,Q._zod.def));else{let W=X;if(W.fatal)W.continue=!1;W.code??(W.code="custom"),W.input??(W.input=z.value),W.inst??(W.inst=Q),W.continue??(W.continue=!Q._zod.def.abort),z.issues.push(yY(W))}},I(z.value,z)},J);return Q}function Dj(I,J){let Q=new HU({check:"custom",...K$(J)});return Q._zod.check=I,Q}function wL(I){let J=new HU({check:"describe"});return J._zod.onattach=[(Q)=>{let z=C1.get(Q)??{};C1.add(Q,{...z,description:I})}],J._zod.check=()=>{},J}function fL(I){let J=new HU({check:"meta"});return J._zod.onattach=[(Q)=>{let z=C1.get(Q)??{};C1.add(Q,{...z,...I})}],J._zod.check=()=>{},J}function yL(I,J){let Q=K$(J),z=Q.truthy??["true","1","yes","on","y","enabled"],X=Q.falsy??["false","0","no","off","n","disabled"];if(Q.case!=="sensitive")z=z.map((B)=>typeof B==="string"?B.toLowerCase():B),X=X.map((B)=>typeof B==="string"?B.toLowerCase():B);let W=new Set(z),Z=new Set(X),L=I.Codec??R2,j=I.Boolean??C2,S=new(I.String??OJ)({type:"string",error:Q.error}),T=new j({type:"boolean",error:Q.error}),_=new L({type:"pipe",in:S,out:T,transform:(B,N)=>{let y=B;if(Q.case!=="sensitive")y=y.toLowerCase();if(W.has(y))return!0;else if(Z.has(y))return!1;else return N.issues.push({code:"invalid_value",expected:"stringbool",values:[...W,...Z],input:N.value,inst:_,continue:!1}),{}},reverseTransform:(B,N)=>{if(B===!0)return z[0]||"true";else return X[0]||"false"},error:Q.error});return _}function IQ(I,J,Q,z={}){let X=K$(z),W={...K$(z),check:"string_format",type:"string",format:J,fn:typeof Q==="function"?Q:(L)=>Q.test(L),...X};if(Q instanceof RegExp)W.pattern=Q;return new I(W)}function OX(I){let J=I?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";return{processors:I.processors??{},metadataRegistry:I?.metadata??C1,target:J,unrepresentable:I?.unrepresentable??"throw",override:I?.override??(()=>{}),io:I?.io??"output",counter:0,seen:new Map,cycles:I?.cycles??"ref",reused:I?.reused??"inline",external:I?.external??void 0}}function JU(I,J,Q={path:[],schemaPath:[]}){var z;let X=I._zod.def,W=J.seen.get(I);if(W){if(W.count++,Q.schemaPath.includes(I))W.cycle=Q.path;return W.schema}let Z={schema:{},count:1,cycle:void 0,path:Q.path};J.seen.set(I,Z);let L=I._zod.toJSONSchema?.();if(L)Z.schema=L;else{let S={...Q,schemaPath:[...Q.schemaPath,I],path:Q.path};if(I._zod.processJSONSchema)I._zod.processJSONSchema(J,Z.schema,S);else{let _=Z.schema,B=J.processors[X.type];if(!B)throw Error(`[toJSONSchema]: Non-representable type encountered: ${X.type}`);B(I,J,_,S)}let T=I._zod.parent;if(T){if(!Z.ref)Z.ref=T;JU(T,J,S),J.seen.get(T).isParent=!0}}let j=J.metadataRegistry.get(I);if(j)Object.assign(Z.schema,j);if(J.io==="input"&&m1(I))delete Z.schema.examples,delete Z.schema.default;if(J.io==="input"&&"_prefault"in Z.schema)(z=Z.schema).default??(z.default=Z.schema._prefault);return delete Z.schema._prefault,J.seen.get(I).schema}function VX(I,J){let Q=I.seen.get(J);if(!Q)throw Error("Unprocessed schema. This is a bug in Zod.");let z=new Map;for(let Z of I.seen.entries()){let L=I.metadataRegistry.get(Z[0])?.id;if(L){let j=z.get(L);if(j&&j!==Z[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,Z[0])}}let X=(Z)=>{let L=I.target==="draft-2020-12"?"$defs":"definitions";if(I.external){let T=I.external.registry.get(Z[0])?.id,_=I.external.uri??((N)=>N);if(T)return{ref:_(T)};let B=Z[1].defId??Z[1].schema.id??`schema${I.counter++}`;return Z[1].defId=B,{defId:B,ref:`${_("__shared")}#/${L}/${B}`}}if(Z[1]===Q)return{ref:"#"};let P=`${"#"}/${L}/`,S=Z[1].schema.id??`__schema${I.counter++}`;return{defId:S,ref:P+S}},W=(Z)=>{if(Z[1].schema.$ref)return;let L=Z[1],{ref:j,defId:P}=X(Z);if(L.def={...L.schema},P)L.defId=P;let S=L.schema;for(let T in S)delete S[T];S.$ref=j};if(I.cycles==="throw")for(let Z of I.seen.entries()){let L=Z[1];if(L.cycle)throw Error(`Cycle detected: #/${L.cycle?.join("/")}/<root>
319
+
320
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let Z of I.seen.entries()){let L=Z[1];if(J===Z[0]){W(Z);continue}if(I.external){let P=I.external.registry.get(Z[0])?.id;if(J!==Z[0]&&P){W(Z);continue}}if(I.metadataRegistry.get(Z[0])?.id){W(Z);continue}if(L.cycle){W(Z);continue}if(L.count>1){if(I.reused==="ref"){W(Z);continue}}}}function FX(I,J){let Q=I.seen.get(J);if(!Q)throw Error("Unprocessed schema. This is a bug in Zod.");let z=(L)=>{let j=I.seen.get(L);if(j.ref===null)return;let P=j.def??j.schema,S={...P},T=j.ref;if(j.ref=null,T){z(T);let B=I.seen.get(T),N=B.schema;if(N.$ref&&(I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"))P.allOf=P.allOf??[],P.allOf.push(N);else Object.assign(P,N);if(Object.assign(P,S),L._zod.parent===T)for(let w in P){if(w==="$ref"||w==="allOf")continue;if(!(w in S))delete P[w]}if(N.$ref&&B.def)for(let w in P){if(w==="$ref"||w==="allOf")continue;if(w in B.def&&JSON.stringify(P[w])===JSON.stringify(B.def[w]))delete P[w]}}let _=L._zod.parent;if(_&&_!==T){z(_);let B=I.seen.get(_);if(B?.schema.$ref){if(P.$ref=B.schema.$ref,B.def)for(let N in P){if(N==="$ref"||N==="allOf")continue;if(N in B.def&&JSON.stringify(P[N])===JSON.stringify(B.def[N]))delete P[N]}}}I.override({zodSchema:L,jsonSchema:P,path:j.path??[]})};for(let L of[...I.seen.entries()].reverse())z(L[0]);let X={};if(I.target==="draft-2020-12")X.$schema="https://json-schema.org/draft/2020-12/schema";else if(I.target==="draft-07")X.$schema="http://json-schema.org/draft-07/schema#";else if(I.target==="draft-04")X.$schema="http://json-schema.org/draft-04/schema#";else if(I.target==="openapi-3.0");if(I.external?.uri){let L=I.external.registry.get(J)?.id;if(!L)throw Error("Schema is missing an `id` property");X.$id=I.external.uri(L)}Object.assign(X,Q.def??Q.schema);let W=I.metadataRegistry.get(J)?.id;if(W!==void 0&&X.id===W)delete X.id;let Z=I.external?.defs??{};for(let L of I.seen.entries()){let j=L[1];if(j.def&&j.defId){if(j.def.id===j.defId)delete j.def.id;Z[j.defId]=j.def}}if(I.external);else if(Object.keys(Z).length>0)if(I.target==="draft-2020-12")X.$defs=Z;else X.definitions=Z;try{let L=JSON.parse(JSON.stringify(X));return Object.defineProperty(L,"~standard",{value:{...J["~standard"],jsonSchema:{input:XQ(J,"input",I.processors),output:XQ(J,"output",I.processors)}},enumerable:!1,writable:!1}),L}catch(L){throw Error("Error converting schema to JSON.")}}function m1(I,J){let Q=J??{seen:new Set};if(Q.seen.has(I))return!1;Q.seen.add(I);let z=I._zod.def;if(z.type==="transform")return!0;if(z.type==="array")return m1(z.element,Q);if(z.type==="set")return m1(z.valueType,Q);if(z.type==="lazy")return m1(z.getter(),Q);if(z.type==="promise"||z.type==="optional"||z.type==="nonoptional"||z.type==="nullable"||z.type==="readonly"||z.type==="default"||z.type==="prefault")return m1(z.innerType,Q);if(z.type==="intersection")return m1(z.left,Q)||m1(z.right,Q);if(z.type==="record"||z.type==="map")return m1(z.keyType,Q)||m1(z.valueType,Q);if(z.type==="pipe"){if(I._zod.traits.has("$ZodCodec"))return!0;return m1(z.in,Q)||m1(z.out,Q)}if(z.type==="object"){for(let X in z.shape)if(m1(z.shape[X],Q))return!0;return!1}if(z.type==="union"){for(let X of z.options)if(m1(X,Q))return!0;return!1}if(z.type==="tuple"){for(let X of z.items)if(m1(X,Q))return!0;if(z.rest&&m1(z.rest,Q))return!0;return!1}return!1}var bL=(I,J={})=>(Q)=>{let z=OX({...Q,processors:J});return JU(I,z),VX(z,I),FX(z,I)},XQ=(I,J,Q={})=>(z)=>{let{libraryOptions:X,target:W}=z??{},Z=OX({...X??{},target:W,io:J,processors:Q});return JU(I,Z),VX(Z,I),FX(Z,I)};var hh={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},uL=(I,J,Q,z)=>{let X=Q;X.type="string";let{minimum:W,maximum:Z,format:L,patterns:j,contentEncoding:P}=I._zod.bag;if(typeof W==="number")X.minLength=W;if(typeof Z==="number")X.maxLength=Z;if(L){if(X.format=hh[L]??L,X.format==="")delete X.format;if(L==="time")delete X.format}if(P)X.contentEncoding=P;if(j&&j.size>0){let S=[...j];if(S.length===1)X.pattern=S[0].source;else if(S.length>1)X.allOf=[...S.map((T)=>({...J.target==="draft-07"||J.target==="draft-04"||J.target==="openapi-3.0"?{type:"string"}:{},pattern:T.source}))]}},hL=(I,J,Q,z)=>{let X=Q,{minimum:W,maximum:Z,format:L,multipleOf:j,exclusiveMaximum:P,exclusiveMinimum:S}=I._zod.bag;if(typeof L==="string"&&L.includes("int"))X.type="integer";else X.type="number";let T=typeof S==="number"&&S>=(W??Number.NEGATIVE_INFINITY),_=typeof P==="number"&&P<=(Z??Number.POSITIVE_INFINITY),B=J.target==="draft-04"||J.target==="openapi-3.0";if(T)if(B)X.minimum=S,X.exclusiveMinimum=!0;else X.exclusiveMinimum=S;else if(typeof W==="number")X.minimum=W;if(_)if(B)X.maximum=P,X.exclusiveMaximum=!0;else X.exclusiveMaximum=P;else if(typeof Z==="number")X.maximum=Z;if(typeof j==="number")X.multipleOf=j},cL=(I,J,Q,z)=>{Q.type="boolean"},pL=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},mL=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},lL=(I,J,Q,z)=>{if(J.target==="openapi-3.0")Q.type="string",Q.nullable=!0,Q.enum=[null];else Q.type="null"},dL=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},nL=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},oL=(I,J,Q,z)=>{Q.not={}},iL=(I,J,Q,z)=>{},rL=(I,J,Q,z)=>{},tL=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},aL=(I,J,Q,z)=>{let X=I._zod.def,W=W2(X.entries);if(W.every((Z)=>typeof Z==="number"))Q.type="number";if(W.every((Z)=>typeof Z==="string"))Q.type="string";Q.enum=W},sL=(I,J,Q,z)=>{let X=I._zod.def,W=[];for(let Z of X.values)if(Z===void 0){if(J.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof Z==="bigint")if(J.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else W.push(Number(Z));else W.push(Z);if(W.length===0);else if(W.length===1){let Z=W[0];if(Q.type=Z===null?"null":typeof Z,J.target==="draft-04"||J.target==="openapi-3.0")Q.enum=[Z];else Q.const=Z}else{if(W.every((Z)=>typeof Z==="number"))Q.type="number";if(W.every((Z)=>typeof Z==="string"))Q.type="string";if(W.every((Z)=>typeof Z==="boolean"))Q.type="boolean";if(W.every((Z)=>Z===null))Q.type="null";Q.enum=W}},eL=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},$7=(I,J,Q,z)=>{let X=Q,W=I._zod.pattern;if(!W)throw Error("Pattern not found in template literal");X.type="string",X.pattern=W.source},U7=(I,J,Q,z)=>{let X=Q,W={type:"string",format:"binary",contentEncoding:"binary"},{minimum:Z,maximum:L,mime:j}=I._zod.bag;if(Z!==void 0)W.minLength=Z;if(L!==void 0)W.maxLength=L;if(j)if(j.length===1)W.contentMediaType=j[0],Object.assign(X,W);else Object.assign(X,W),X.anyOf=j.map((P)=>({contentMediaType:P}));else Object.assign(X,W)},I7=(I,J,Q,z)=>{Q.type="boolean"},X7=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},J7=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},Y7=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},Q7=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},G7=(I,J,Q,z)=>{if(J.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},Z7=(I,J,Q,z)=>{let X=Q,W=I._zod.def,{minimum:Z,maximum:L}=I._zod.bag;if(typeof Z==="number")X.minItems=Z;if(typeof L==="number")X.maxItems=L;X.type="array",X.items=JU(W.element,J,{...z,path:[...z.path,"items"]})},K7=(I,J,Q,z)=>{let X=Q,W=I._zod.def;X.type="object",X.properties={};let Z=W.shape;for(let P in Z)X.properties[P]=JU(Z[P],J,{...z,path:[...z.path,"properties",P]});let L=new Set(Object.keys(Z)),j=new Set([...L].filter((P)=>{let S=W.shape[P]._zod;if(J.io==="input")return S.optin===void 0;else return S.optout===void 0}));if(j.size>0)X.required=Array.from(j);if(W.catchall?._zod.def.type==="never")X.additionalProperties=!1;else if(!W.catchall){if(J.io==="output")X.additionalProperties=!1}else if(W.catchall)X.additionalProperties=JU(W.catchall,J,{...z,path:[...z.path,"additionalProperties"]})},PW=(I,J,Q,z)=>{let X=I._zod.def,W=X.inclusive===!1,Z=X.options.map((L,j)=>JU(L,J,{...z,path:[...z.path,W?"oneOf":"anyOf",j]}));if(W)Q.oneOf=Z;else Q.anyOf=Z},W7=(I,J,Q,z)=>{let X=I._zod.def,W=JU(X.left,J,{...z,path:[...z.path,"allOf",0]}),Z=JU(X.right,J,{...z,path:[...z.path,"allOf",1]}),L=(P)=>("allOf"in P)&&Object.keys(P).length===1,j=[...L(W)?W.allOf:[W],...L(Z)?Z.allOf:[Z]];Q.allOf=j},z7=(I,J,Q,z)=>{let X=Q,W=I._zod.def;X.type="array";let Z=J.target==="draft-2020-12"?"prefixItems":"items",L=J.target==="draft-2020-12"?"items":J.target==="openapi-3.0"?"items":"additionalItems",j=W.items.map((_,B)=>JU(_,J,{...z,path:[...z.path,Z,B]})),P=W.rest?JU(W.rest,J,{...z,path:[...z.path,L,...J.target==="openapi-3.0"?[W.items.length]:[]]}):null;if(J.target==="draft-2020-12"){if(X.prefixItems=j,P)X.items=P}else if(J.target==="openapi-3.0"){if(X.items={anyOf:j},P)X.items.anyOf.push(P);if(X.minItems=j.length,!P)X.maxItems=j.length}else if(X.items=j,P)X.additionalItems=P;let{minimum:S,maximum:T}=I._zod.bag;if(typeof S==="number")X.minItems=S;if(typeof T==="number")X.maxItems=T},O7=(I,J,Q,z)=>{let X=Q,W=I._zod.def;X.type="object";let Z=W.keyType,j=Z._zod.bag?.patterns;if(W.mode==="loose"&&j&&j.size>0){let S=JU(W.valueType,J,{...z,path:[...z.path,"patternProperties","*"]});X.patternProperties={};for(let T of j)X.patternProperties[T.source]=S}else{if(J.target==="draft-07"||J.target==="draft-2020-12")X.propertyNames=JU(W.keyType,J,{...z,path:[...z.path,"propertyNames"]});X.additionalProperties=JU(W.valueType,J,{...z,path:[...z.path,"additionalProperties"]})}let P=Z._zod.values;if(P){let S=[...P].filter((T)=>typeof T==="string"||typeof T==="number");if(S.length>0)X.required=S}},V7=(I,J,Q,z)=>{let X=I._zod.def,W=JU(X.innerType,J,z),Z=J.seen.get(I);if(J.target==="openapi-3.0")Z.ref=X.innerType,Q.nullable=!0;else Q.anyOf=[W,{type:"null"}]},F7=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType},H7=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType,Q.default=JSON.parse(JSON.stringify(X.defaultValue))},D7=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);if(W.ref=X.innerType,J.io==="input")Q._prefault=JSON.parse(JSON.stringify(X.defaultValue))},L7=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType;let Z;try{Z=X.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}Q.default=Z},M7=(I,J,Q,z)=>{let X=I._zod.def,W=X.in._zod.traits.has("$ZodTransform"),Z=J.io==="input"?W?X.out:X.in:X.out;JU(Z,J,z);let L=J.seen.get(I);L.ref=Z},A7=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType,Q.readOnly=!0},T7=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType},_W=(I,J,Q,z)=>{let X=I._zod.def;JU(X.innerType,J,z);let W=J.seen.get(I);W.ref=X.innerType},C7=(I,J,Q,z)=>{let X=I._zod.innerType;JU(X,J,z);let W=J.seen.get(I);W.ref=X},RW={string:uL,number:hL,boolean:cL,bigint:pL,symbol:mL,null:lL,undefined:dL,void:nL,never:oL,any:iL,unknown:rL,date:tL,enum:aL,literal:sL,nan:eL,template_literal:$7,file:U7,success:I7,custom:X7,function:J7,transform:Y7,map:Q7,set:G7,array:Z7,object:K7,union:PW,intersection:W7,tuple:z7,record:O7,nullable:V7,nonoptional:F7,default:H7,prefault:D7,catch:L7,pipe:M7,readonly:A7,promise:T7,optional:_W,lazy:C7};function SW(I,J){if("_idmap"in I){let z=I,X=OX({...J,processors:RW}),W={};for(let j of z._idmap.entries()){let[P,S]=j;JU(S,X)}let Z={},L={registry:z,uri:J?.uri,defs:W};X.external=L;for(let j of z._idmap.entries()){let[P,S]=j;VX(X,S),Z[P]=FX(X,S)}if(Object.keys(W).length>0){let j=X.target==="draft-2020-12"?"$defs":"definitions";Z.__shared={[j]:W}}return{schemas:Z}}let Q=OX({...J,processors:RW});return JU(I,Q),VX(Q,I),FX(Q,I)}class q7{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(I){this.ctx.counter=I}get seen(){return this.ctx.seen}constructor(I){let J=I?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";this.ctx=OX({processors:RW,target:J,...I?.metadata&&{metadata:I.metadata},...I?.unrepresentable&&{unrepresentable:I.unrepresentable},...I?.override&&{override:I.override},...I?.io&&{io:I.io}})}process(I,J={path:[],schemaPath:[]}){return JU(I,this.ctx,J)}emit(I,J){if(J){if(J.cycles)this.ctx.cycles=J.cycles;if(J.reused)this.ctx.reused=J.reused;if(J.external)this.ctx.external=J.external}VX(this.ctx,I);let Q=FX(this.ctx,I),{"~standard":z,...X}=Q;return X}}var Lj={};var N2={};f1(N2,{xor:()=>WB,xid:()=>gj,void:()=>JB,uuidv7:()=>_j,uuidv6:()=>Pj,uuidv4:()=>Rj,uuid:()=>qj,url:()=>Sj,unknown:()=>DJ,union:()=>eW,undefined:()=>IB,ulid:()=>kj,uint64:()=>$B,uint32:()=>aj,tuple:()=>IM,transform:()=>Uz,templateLiteral:()=>PB,symbol:()=>UB,superRefine:()=>vM,success:()=>TB,stringbool:()=>kB,stringFormat:()=>lj,string:()=>k2,strictObject:()=>ZB,set:()=>HB,refine:()=>BM,record:()=>XM,readonly:()=>RM,promise:()=>_B,preprocess:()=>xB,prefault:()=>HM,pipe:()=>gW,partialRecord:()=>OB,optional:()=>x2,object:()=>GB,number:()=>h7,nullish:()=>AB,nullable:()=>w2,null:()=>d7,nonoptional:()=>DM,never:()=>sW,nativeEnum:()=>DB,nanoid:()=>Bj,nan:()=>CB,meta:()=>vB,map:()=>FB,mac:()=>fj,looseRecord:()=>VB,looseObject:()=>KB,literal:()=>LB,lazy:()=>SM,ksuid:()=>xj,keyof:()=>QB,jwt:()=>mj,json:()=>gB,ipv6:()=>yj,ipv4:()=>wj,invertCodec:()=>RB,intersection:()=>$M,int64:()=>ej,int32:()=>tj,int:()=>kW,instanceof:()=>NB,httpUrl:()=>Ej,hostname:()=>dj,hex:()=>nj,hash:()=>oj,guid:()=>Cj,function:()=>SB,float64:()=>rj,float32:()=>ij,file:()=>MB,exactOptional:()=>WM,enum:()=>$z,emoji:()=>jj,email:()=>Tj,e164:()=>pj,discriminatedUnion:()=>zB,describe:()=>BB,date:()=>YB,custom:()=>jB,cuid2:()=>Nj,cuid:()=>vj,codec:()=>qB,cidrv6:()=>uj,cidrv4:()=>bj,check:()=>EB,catch:()=>AM,boolean:()=>c7,bigint:()=>sj,base64url:()=>cj,base64:()=>hj,array:()=>u2,any:()=>XB,_function:()=>SB,_default:()=>VM,_ZodString:()=>xW,ZodXor:()=>a7,ZodXID:()=>cW,ZodVoid:()=>r7,ZodUnknown:()=>o7,ZodUnion:()=>c2,ZodUndefined:()=>m7,ZodUUID:()=>f6,ZodURL:()=>y2,ZodULID:()=>hW,ZodType:()=>x$,ZodTuple:()=>UM,ZodTransform:()=>ZM,ZodTemplateLiteral:()=>PM,ZodSymbol:()=>p7,ZodSuccess:()=>LM,ZodStringFormat:()=>WU,ZodString:()=>GQ,ZodSet:()=>YM,ZodRecord:()=>YQ,ZodReadonly:()=>qM,ZodPromise:()=>EM,ZodPreprocess:()=>CM,ZodPrefault:()=>FM,ZodPipe:()=>p2,ZodOptional:()=>Iz,ZodObject:()=>h2,ZodNumberFormat:()=>LJ,ZodNumber:()=>KQ,ZodNullable:()=>zM,ZodNull:()=>l7,ZodNonOptional:()=>Xz,ZodNever:()=>i7,ZodNanoID:()=>yW,ZodNaN:()=>TM,ZodMap:()=>JM,ZodMAC:()=>u7,ZodLiteral:()=>QM,ZodLazy:()=>_M,ZodKSUID:()=>pW,ZodJWT:()=>tW,ZodIntersection:()=>e7,ZodIPv6:()=>lW,ZodIPv4:()=>mW,ZodGUID:()=>g2,ZodFunction:()=>jM,ZodFile:()=>GM,ZodExactOptional:()=>KM,ZodEnum:()=>QQ,ZodEmoji:()=>fW,ZodEmail:()=>wW,ZodE164:()=>rW,ZodDiscriminatedUnion:()=>s7,ZodDefault:()=>OM,ZodDate:()=>b2,ZodCustomStringFormat:()=>ZQ,ZodCustom:()=>l2,ZodCodec:()=>m2,ZodCatch:()=>MM,ZodCUID2:()=>uW,ZodCUID:()=>bW,ZodCIDRv6:()=>nW,ZodCIDRv4:()=>dW,ZodBoolean:()=>WQ,ZodBigIntFormat:()=>aW,ZodBigInt:()=>zQ,ZodBase64URL:()=>iW,ZodBase64:()=>oW,ZodArray:()=>t7,ZodAny:()=>n7});var EW={};f1(EW,{uppercase:()=>nY,trim:()=>sY,toUpperCase:()=>$Q,toLowerCase:()=>eY,startsWith:()=>iY,slugify:()=>UQ,size:()=>VJ,regex:()=>lY,property:()=>qW,positive:()=>MW,overwrite:()=>e4,normalize:()=>aY,nonpositive:()=>TW,nonnegative:()=>CW,negative:()=>AW,multipleOf:()=>WX,minSize:()=>w6,minLength:()=>VI,mime:()=>tY,maxSize:()=>zX,maxLength:()=>FJ,lte:()=>q4,lt:()=>g6,lowercase:()=>dY,length:()=>HJ,includes:()=>oY,gte:()=>p1,gt:()=>x6,endsWith:()=>rY});var JQ={};f1(JQ,{time:()=>_7,duration:()=>S7,datetime:()=>R7,date:()=>P7,ZodISOTime:()=>vW,ZodISODuration:()=>NW,ZodISODateTime:()=>jW,ZodISODate:()=>BW});var jW=B0("ZodISODateTime",(I,J)=>{XD.init(I,J),WU.init(I,J)});function R7(I){return XL(jW,I)}var BW=B0("ZodISODate",(I,J)=>{JD.init(I,J),WU.init(I,J)});function P7(I){return JL(BW,I)}var vW=B0("ZodISOTime",(I,J)=>{YD.init(I,J),WU.init(I,J)});function _7(I){return YL(vW,I)}var NW=B0("ZodISODuration",(I,J)=>{QD.init(I,J),WU.init(I,J)});function S7(I){return QL(NW,I)}var Mj=(I,J)=>{H2.init(I,J),I.name="ZodError",Object.defineProperties(I,{format:{value:(Q)=>L2(I,Q)},flatten:{value:(Q)=>D2(I,Q)},addIssue:{value:(Q)=>{I.issues.push(Q),I.message=JSON.stringify(I.issues,wY,2)}},addIssues:{value:(Q)=>{I.issues.push(...Q),I.message=JSON.stringify(I.issues,wY,2)}},isEmpty:{get(){return I.issues.length===0}}})},ph=B0("ZodError",Mj),I4=B0("ZodError",Mj,{Parent:Error});var E7=bY(I4),j7=uY(I4),B7=hY(I4),v7=cY(I4),N7=v8(I4),k7=N8(I4),g7=k8(I4),x7=g8(I4),w7=x8(I4),f7=w8(I4),y7=f8(I4),b7=y8(I4);var Aj=new WeakMap;function f2(I,J,Q){let z=Object.getPrototypeOf(I),X=Aj.get(z);if(!X)X=new Set,Aj.set(z,X);if(X.has(J))return;X.add(J);for(let W in Q){let Z=Q[W];Object.defineProperty(z,W,{configurable:!0,enumerable:!1,get(){let L=Z.bind(this);return Object.defineProperty(this,W,{configurable:!0,writable:!0,enumerable:!0,value:L}),L},set(L){Object.defineProperty(this,W,{configurable:!0,writable:!0,enumerable:!0,value:L})}})}}var x$=B0("ZodType",(I,J)=>{return S$.init(I,J),Object.assign(I["~standard"],{jsonSchema:{input:XQ(I,"input"),output:XQ(I,"output")}}),I.toJSONSchema=bL(I,{}),I.def=J,I.type=J.type,Object.defineProperty(I,"_def",{value:J}),I.parse=(Q,z)=>E7(I,Q,z,{callee:I.parse}),I.safeParse=(Q,z)=>B7(I,Q,z),I.parseAsync=async(Q,z)=>j7(I,Q,z,{callee:I.parseAsync}),I.safeParseAsync=async(Q,z)=>v7(I,Q,z),I.spa=I.safeParseAsync,I.encode=(Q,z)=>N7(I,Q,z),I.decode=(Q,z)=>k7(I,Q,z),I.encodeAsync=async(Q,z)=>g7(I,Q,z),I.decodeAsync=async(Q,z)=>x7(I,Q,z),I.safeEncode=(Q,z)=>w7(I,Q,z),I.safeDecode=(Q,z)=>f7(I,Q,z),I.safeEncodeAsync=async(Q,z)=>y7(I,Q,z),I.safeDecodeAsync=async(Q,z)=>b7(I,Q,z),f2(I,"ZodType",{check(...Q){let z=this.def;return this.clone(Z$.mergeDefs(z,{checks:[...z.checks??[],...Q.map((X)=>typeof X==="function"?{_zod:{check:X,def:{check:"custom"},onattach:[]}}:X)]}),{parent:!0})},with(...Q){return this.check(...Q)},clone(Q,z){return h1(this,Q,z)},brand(){return this},register(Q,z){return Q.add(this,z),this},refine(Q,z){return this.check(BM(Q,z))},superRefine(Q,z){return this.check(vM(Q,z))},overwrite(Q){return this.check(e4(Q))},optional(){return x2(this)},exactOptional(){return WM(this)},nullable(){return w2(this)},nullish(){return x2(w2(this))},nonoptional(Q){return DM(this,Q)},array(){return u2(this)},or(Q){return eW([this,Q])},and(Q){return $M(this,Q)},transform(Q){return gW(this,Uz(Q))},default(Q){return VM(this,Q)},prefault(Q){return HM(this,Q)},catch(Q){return AM(this,Q)},pipe(Q){return gW(this,Q)},readonly(){return RM(this)},describe(Q){let z=this.clone();return C1.add(z,{description:Q}),z},meta(...Q){if(Q.length===0)return C1.get(this);let z=this.clone();return C1.add(z,Q[0]),z},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(Q){return Q(this)}}),Object.defineProperty(I,"description",{get(){return C1.get(I)?.description},configurable:!0}),I}),xW=B0("_ZodString",(I,J)=>{OJ.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>uL(I,z,X,W);let Q=I._zod.bag;I.format=Q.format??null,I.minLength=Q.minimum??null,I.maxLength=Q.maximum??null,f2(I,"_ZodString",{regex(...z){return this.check(lY(...z))},includes(...z){return this.check(oY(...z))},startsWith(...z){return this.check(iY(...z))},endsWith(...z){return this.check(rY(...z))},min(...z){return this.check(VI(...z))},max(...z){return this.check(FJ(...z))},length(...z){return this.check(HJ(...z))},nonempty(...z){return this.check(VI(1,...z))},lowercase(z){return this.check(dY(z))},uppercase(z){return this.check(nY(z))},trim(){return this.check(sY())},normalize(...z){return this.check(aY(...z))},toLowerCase(){return this.check(eY())},toUpperCase(){return this.check($Q())},slugify(){return this.check(UQ())}})}),GQ=B0("ZodString",(I,J)=>{OJ.init(I,J),xW.init(I,J),I.email=(Q)=>I.check(s8(wW,Q)),I.url=(Q)=>I.check(v2(y2,Q)),I.jwt=(Q)=>I.check(LW(tW,Q)),I.emoji=(Q)=>I.check(XW(fW,Q)),I.guid=(Q)=>I.check(B2(g2,Q)),I.uuid=(Q)=>I.check(e8(f6,Q)),I.uuidv4=(Q)=>I.check($W(f6,Q)),I.uuidv6=(Q)=>I.check(UW(f6,Q)),I.uuidv7=(Q)=>I.check(IW(f6,Q)),I.nanoid=(Q)=>I.check(JW(yW,Q)),I.guid=(Q)=>I.check(B2(g2,Q)),I.cuid=(Q)=>I.check(YW(bW,Q)),I.cuid2=(Q)=>I.check(QW(uW,Q)),I.ulid=(Q)=>I.check(GW(hW,Q)),I.base64=(Q)=>I.check(FW(oW,Q)),I.base64url=(Q)=>I.check(HW(iW,Q)),I.xid=(Q)=>I.check(ZW(cW,Q)),I.ksuid=(Q)=>I.check(KW(pW,Q)),I.ipv4=(Q)=>I.check(WW(mW,Q)),I.ipv6=(Q)=>I.check(zW(lW,Q)),I.cidrv4=(Q)=>I.check(OW(dW,Q)),I.cidrv6=(Q)=>I.check(VW(nW,Q)),I.e164=(Q)=>I.check(DW(rW,Q)),I.datetime=(Q)=>I.check(R7(Q)),I.date=(Q)=>I.check(P7(Q)),I.time=(Q)=>I.check(_7(Q)),I.duration=(Q)=>I.check(S7(Q))});function k2(I){return e5(GQ,I)}var WU=B0("ZodStringFormat",(I,J)=>{KU.init(I,J),xW.init(I,J)}),wW=B0("ZodEmail",(I,J)=>{iH.init(I,J),WU.init(I,J)});function Tj(I){return s8(wW,I)}var g2=B0("ZodGUID",(I,J)=>{nH.init(I,J),WU.init(I,J)});function Cj(I){return B2(g2,I)}var f6=B0("ZodUUID",(I,J)=>{oH.init(I,J),WU.init(I,J)});function qj(I){return e8(f6,I)}function Rj(I){return $W(f6,I)}function Pj(I){return UW(f6,I)}function _j(I){return IW(f6,I)}var y2=B0("ZodURL",(I,J)=>{rH.init(I,J),WU.init(I,J)});function Sj(I){return v2(y2,I)}function Ej(I){return v2(y2,{protocol:C4.httpProtocol,hostname:C4.domain,...Z$.normalizeParams(I)})}var fW=B0("ZodEmoji",(I,J)=>{tH.init(I,J),WU.init(I,J)});function jj(I){return XW(fW,I)}var yW=B0("ZodNanoID",(I,J)=>{aH.init(I,J),WU.init(I,J)});function Bj(I){return JW(yW,I)}var bW=B0("ZodCUID",(I,J)=>{sH.init(I,J),WU.init(I,J)});function vj(I){return YW(bW,I)}var uW=B0("ZodCUID2",(I,J)=>{eH.init(I,J),WU.init(I,J)});function Nj(I){return QW(uW,I)}var hW=B0("ZodULID",(I,J)=>{$D.init(I,J),WU.init(I,J)});function kj(I){return GW(hW,I)}var cW=B0("ZodXID",(I,J)=>{UD.init(I,J),WU.init(I,J)});function gj(I){return ZW(cW,I)}var pW=B0("ZodKSUID",(I,J)=>{ID.init(I,J),WU.init(I,J)});function xj(I){return KW(pW,I)}var mW=B0("ZodIPv4",(I,J)=>{GD.init(I,J),WU.init(I,J)});function wj(I){return WW(mW,I)}var u7=B0("ZodMAC",(I,J)=>{KD.init(I,J),WU.init(I,J)});function fj(I){return UL(u7,I)}var lW=B0("ZodIPv6",(I,J)=>{ZD.init(I,J),WU.init(I,J)});function yj(I){return zW(lW,I)}var dW=B0("ZodCIDRv4",(I,J)=>{WD.init(I,J),WU.init(I,J)});function bj(I){return OW(dW,I)}var nW=B0("ZodCIDRv6",(I,J)=>{zD.init(I,J),WU.init(I,J)});function uj(I){return VW(nW,I)}var oW=B0("ZodBase64",(I,J)=>{VD.init(I,J),WU.init(I,J)});function hj(I){return FW(oW,I)}var iW=B0("ZodBase64URL",(I,J)=>{FD.init(I,J),WU.init(I,J)});function cj(I){return HW(iW,I)}var rW=B0("ZodE164",(I,J)=>{HD.init(I,J),WU.init(I,J)});function pj(I){return DW(rW,I)}var tW=B0("ZodJWT",(I,J)=>{DD.init(I,J),WU.init(I,J)});function mj(I){return LW(tW,I)}var ZQ=B0("ZodCustomStringFormat",(I,J)=>{LD.init(I,J),WU.init(I,J)});function lj(I,J,Q={}){return IQ(ZQ,I,J,Q)}function dj(I){return IQ(ZQ,"hostname",C4.hostname,I)}function nj(I){return IQ(ZQ,"hex",C4.hex,I)}function oj(I,J){let Q=J?.enc??"hex",z=`${I}_${Q}`,X=C4[z];if(!X)throw Error(`Unrecognized hash format: ${z}`);return IQ(ZQ,z,X,J)}var KQ=B0("ZodNumber",(I,J)=>{n8.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>hL(I,z,X,W),f2(I,"ZodNumber",{gt(z,X){return this.check(x6(z,X))},gte(z,X){return this.check(p1(z,X))},min(z,X){return this.check(p1(z,X))},lt(z,X){return this.check(g6(z,X))},lte(z,X){return this.check(q4(z,X))},max(z,X){return this.check(q4(z,X))},int(z){return this.check(kW(z))},safe(z){return this.check(kW(z))},positive(z){return this.check(x6(0,z))},nonnegative(z){return this.check(p1(0,z))},negative(z){return this.check(g6(0,z))},nonpositive(z){return this.check(q4(0,z))},multipleOf(z,X){return this.check(WX(z,X))},step(z,X){return this.check(WX(z,X))},finite(){return this}});let Q=I._zod.bag;I.minValue=Math.max(Q.minimum??Number.NEGATIVE_INFINITY,Q.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,I.maxValue=Math.min(Q.maximum??Number.POSITIVE_INFINITY,Q.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,I.isInt=(Q.format??"").includes("int")||Number.isSafeInteger(Q.multipleOf??0.5),I.isFinite=!0,I.format=Q.format??null});function h7(I){return GL(KQ,I)}var LJ=B0("ZodNumberFormat",(I,J)=>{MD.init(I,J),KQ.init(I,J)});function kW(I){return KL(LJ,I)}function ij(I){return WL(LJ,I)}function rj(I){return zL(LJ,I)}function tj(I){return OL(LJ,I)}function aj(I){return VL(LJ,I)}var WQ=B0("ZodBoolean",(I,J)=>{C2.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>cL(I,Q,z,X)});function c7(I){return FL(WQ,I)}var zQ=B0("ZodBigInt",(I,J)=>{o8.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>pL(I,z,X,W),I.gte=(z,X)=>I.check(p1(z,X)),I.min=(z,X)=>I.check(p1(z,X)),I.gt=(z,X)=>I.check(x6(z,X)),I.gte=(z,X)=>I.check(p1(z,X)),I.min=(z,X)=>I.check(p1(z,X)),I.lt=(z,X)=>I.check(g6(z,X)),I.lte=(z,X)=>I.check(q4(z,X)),I.max=(z,X)=>I.check(q4(z,X)),I.positive=(z)=>I.check(x6(BigInt(0),z)),I.negative=(z)=>I.check(g6(BigInt(0),z)),I.nonpositive=(z)=>I.check(q4(BigInt(0),z)),I.nonnegative=(z)=>I.check(p1(BigInt(0),z)),I.multipleOf=(z,X)=>I.check(WX(z,X));let Q=I._zod.bag;I.minValue=Q.minimum??null,I.maxValue=Q.maximum??null,I.format=Q.format??null});function sj(I){return DL(zQ,I)}var aW=B0("ZodBigIntFormat",(I,J)=>{AD.init(I,J),zQ.init(I,J)});function ej(I){return ML(aW,I)}function $B(I){return AL(aW,I)}var p7=B0("ZodSymbol",(I,J)=>{TD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>mL(I,Q,z,X)});function UB(I){return TL(p7,I)}var m7=B0("ZodUndefined",(I,J)=>{CD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>dL(I,Q,z,X)});function IB(I){return CL(m7,I)}var l7=B0("ZodNull",(I,J)=>{qD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>lL(I,Q,z,X)});function d7(I){return qL(l7,I)}var n7=B0("ZodAny",(I,J)=>{RD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>iL(I,Q,z,X)});function XB(){return RL(n7)}var o7=B0("ZodUnknown",(I,J)=>{PD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>rL(I,Q,z,X)});function DJ(){return PL(o7)}var i7=B0("ZodNever",(I,J)=>{_D.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>oL(I,Q,z,X)});function sW(I){return _L(i7,I)}var r7=B0("ZodVoid",(I,J)=>{SD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>nL(I,Q,z,X)});function JB(I){return SL(r7,I)}var b2=B0("ZodDate",(I,J)=>{ED.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>tL(I,z,X,W),I.min=(z,X)=>I.check(p1(z,X)),I.max=(z,X)=>I.check(q4(z,X));let Q=I._zod.bag;I.minDate=Q.minimum?new Date(Q.minimum):null,I.maxDate=Q.maximum?new Date(Q.maximum):null});function YB(I){return EL(b2,I)}var t7=B0("ZodArray",(I,J)=>{jD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>Z7(I,Q,z,X),I.element=J.element,f2(I,"ZodArray",{min(Q,z){return this.check(VI(Q,z))},nonempty(Q){return this.check(VI(1,Q))},max(Q,z){return this.check(FJ(Q,z))},length(Q,z){return this.check(HJ(Q,z))},unwrap(){return this.element}})});function u2(I,J){return vL(t7,I,J)}function QB(I){let J=I._zod.def.shape;return $z(Object.keys(J))}var h2=B0("ZodObject",(I,J)=>{BD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>K7(I,Q,z,X),Z$.defineLazy(I,"shape",()=>{return J.shape}),f2(I,"ZodObject",{keyof(){return $z(Object.keys(this._zod.def.shape))},catchall(Q){return this.clone({...this._zod.def,catchall:Q})},passthrough(){return this.clone({...this._zod.def,catchall:DJ()})},loose(){return this.clone({...this._zod.def,catchall:DJ()})},strict(){return this.clone({...this._zod.def,catchall:sW()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(Q){return Z$.extend(this,Q)},safeExtend(Q){return Z$.safeExtend(this,Q)},merge(Q){return Z$.merge(this,Q)},pick(Q){return Z$.pick(this,Q)},omit(Q){return Z$.omit(this,Q)},partial(...Q){return Z$.partial(Iz,this,Q[0])},required(...Q){return Z$.required(Xz,this,Q[0])}})});function GB(I,J){let Q={type:"object",shape:I??{},...Z$.normalizeParams(J)};return new h2(Q)}function ZB(I,J){return new h2({type:"object",shape:I,catchall:sW(),...Z$.normalizeParams(J)})}function KB(I,J){return new h2({type:"object",shape:I,catchall:DJ(),...Z$.normalizeParams(J)})}var c2=B0("ZodUnion",(I,J)=>{q2.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>PW(I,Q,z,X),I.options=J.options});function eW(I,J){return new c2({type:"union",options:I,...Z$.normalizeParams(J)})}var a7=B0("ZodXor",(I,J)=>{c2.init(I,J),vD.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>PW(I,Q,z,X),I.options=J.options});function WB(I,J){return new a7({type:"union",options:I,inclusive:!1,...Z$.normalizeParams(J)})}var s7=B0("ZodDiscriminatedUnion",(I,J)=>{c2.init(I,J),ND.init(I,J)});function zB(I,J,Q){return new s7({type:"union",options:J,discriminator:I,...Z$.normalizeParams(Q)})}var e7=B0("ZodIntersection",(I,J)=>{kD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>W7(I,Q,z,X)});function $M(I,J){return new e7({type:"intersection",left:I,right:J})}var UM=B0("ZodTuple",(I,J)=>{i8.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>z7(I,Q,z,X),I.rest=(Q)=>I.clone({...I._zod.def,rest:Q})});function IM(I,J,Q){let z=J instanceof S$,X=z?Q:J;return new UM({type:"tuple",items:I,rest:z?J:null,...Z$.normalizeParams(X)})}var YQ=B0("ZodRecord",(I,J)=>{gD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>O7(I,Q,z,X),I.keyType=J.keyType,I.valueType=J.valueType});function XM(I,J,Q){if(!J||!J._zod)return new YQ({type:"record",keyType:k2(),valueType:I,...Z$.normalizeParams(J)});return new YQ({type:"record",keyType:I,valueType:J,...Z$.normalizeParams(Q)})}function OB(I,J,Q){let z=h1(I);return z._zod.values=void 0,new YQ({type:"record",keyType:z,valueType:J,...Z$.normalizeParams(Q)})}function VB(I,J,Q){return new YQ({type:"record",keyType:I,valueType:J,mode:"loose",...Z$.normalizeParams(Q)})}var JM=B0("ZodMap",(I,J)=>{xD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>Q7(I,Q,z,X),I.keyType=J.keyType,I.valueType=J.valueType,I.min=(...Q)=>I.check(w6(...Q)),I.nonempty=(Q)=>I.check(w6(1,Q)),I.max=(...Q)=>I.check(zX(...Q)),I.size=(...Q)=>I.check(VJ(...Q))});function FB(I,J,Q){return new JM({type:"map",keyType:I,valueType:J,...Z$.normalizeParams(Q)})}var YM=B0("ZodSet",(I,J)=>{wD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>G7(I,Q,z,X),I.min=(...Q)=>I.check(w6(...Q)),I.nonempty=(Q)=>I.check(w6(1,Q)),I.max=(...Q)=>I.check(zX(...Q)),I.size=(...Q)=>I.check(VJ(...Q))});function HB(I,J){return new YM({type:"set",valueType:I,...Z$.normalizeParams(J)})}var QQ=B0("ZodEnum",(I,J)=>{fD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(z,X,W)=>aL(I,z,X,W),I.enum=J.entries,I.options=Object.values(J.entries);let Q=new Set(Object.keys(J.entries));I.extract=(z,X)=>{let W={};for(let Z of z)if(Q.has(Z))W[Z]=J.entries[Z];else throw Error(`Key ${Z} not found in enum`);return new QQ({...J,checks:[],...Z$.normalizeParams(X),entries:W})},I.exclude=(z,X)=>{let W={...J.entries};for(let Z of z)if(Q.has(Z))delete W[Z];else throw Error(`Key ${Z} not found in enum`);return new QQ({...J,checks:[],...Z$.normalizeParams(X),entries:W})}});function $z(I,J){let Q=Array.isArray(I)?Object.fromEntries(I.map((z)=>[z,z])):I;return new QQ({type:"enum",entries:Q,...Z$.normalizeParams(J)})}function DB(I,J){return new QQ({type:"enum",entries:I,...Z$.normalizeParams(J)})}var QM=B0("ZodLiteral",(I,J)=>{yD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>sL(I,Q,z,X),I.values=new Set(J.values),Object.defineProperty(I,"value",{get(){if(J.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return J.values[0]}})});function LB(I,J){return new QM({type:"literal",values:Array.isArray(I)?I:[I],...Z$.normalizeParams(J)})}var GM=B0("ZodFile",(I,J)=>{bD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>U7(I,Q,z,X),I.min=(Q,z)=>I.check(w6(Q,z)),I.max=(Q,z)=>I.check(zX(Q,z)),I.mime=(Q,z)=>I.check(tY(Array.isArray(Q)?Q:[Q],z))});function MB(I){return NL(GM,I)}var ZM=B0("ZodTransform",(I,J)=>{uD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>Y7(I,Q,z,X),I._zod.parse=(Q,z)=>{if(z.direction==="backward")throw new KJ(I.constructor.name);Q.addIssue=(W)=>{if(typeof W==="string")Q.issues.push(Z$.issue(W,Q.value,J));else{let Z=W;if(Z.fatal)Z.continue=!1;Z.code??(Z.code="custom"),Z.input??(Z.input=Q.value),Z.inst??(Z.inst=I),Q.issues.push(Z$.issue(Z))}};let X=J.transform(Q.value,Q);if(X instanceof Promise)return X.then((W)=>{return Q.value=W,Q.fallback=!0,Q});return Q.value=X,Q.fallback=!0,Q}});function Uz(I){return new ZM({type:"transform",transform:I})}var Iz=B0("ZodOptional",(I,J)=>{r8.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>_W(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function x2(I){return new Iz({type:"optional",innerType:I})}var KM=B0("ZodExactOptional",(I,J)=>{hD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>_W(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function WM(I){return new KM({type:"optional",innerType:I})}var zM=B0("ZodNullable",(I,J)=>{cD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>V7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function w2(I){return new zM({type:"nullable",innerType:I})}function AB(I){return x2(w2(I))}var OM=B0("ZodDefault",(I,J)=>{pD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>H7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType,I.removeDefault=I.unwrap});function VM(I,J){return new OM({type:"default",innerType:I,get defaultValue(){return typeof J==="function"?J():Z$.shallowClone(J)}})}var FM=B0("ZodPrefault",(I,J)=>{mD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>D7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function HM(I,J){return new FM({type:"prefault",innerType:I,get defaultValue(){return typeof J==="function"?J():Z$.shallowClone(J)}})}var Xz=B0("ZodNonOptional",(I,J)=>{lD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>F7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function DM(I,J){return new Xz({type:"nonoptional",innerType:I,...Z$.normalizeParams(J)})}var LM=B0("ZodSuccess",(I,J)=>{dD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>I7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function TB(I){return new LM({type:"success",innerType:I})}var MM=B0("ZodCatch",(I,J)=>{nD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>L7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType,I.removeCatch=I.unwrap});function AM(I,J){return new MM({type:"catch",innerType:I,catchValue:typeof J==="function"?J:()=>J})}var TM=B0("ZodNaN",(I,J)=>{oD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>eL(I,Q,z,X)});function CB(I){return BL(TM,I)}var p2=B0("ZodPipe",(I,J)=>{t8.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>M7(I,Q,z,X),I.in=J.in,I.out=J.out});function gW(I,J){return new p2({type:"pipe",in:I,out:J})}var m2=B0("ZodCodec",(I,J)=>{p2.init(I,J),R2.init(I,J)});function qB(I,J,Q){return new m2({type:"pipe",in:I,out:J,transform:Q.decode,reverseTransform:Q.encode})}function RB(I){let J=I._zod.def;return new m2({type:"pipe",in:J.out,out:J.in,transform:J.reverseTransform,reverseTransform:J.transform})}var CM=B0("ZodPreprocess",(I,J)=>{p2.init(I,J),iD.init(I,J)}),qM=B0("ZodReadonly",(I,J)=>{rD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>A7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function RM(I){return new qM({type:"readonly",innerType:I})}var PM=B0("ZodTemplateLiteral",(I,J)=>{tD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>$7(I,Q,z,X)});function PB(I,J){return new PM({type:"template_literal",parts:I,...Z$.normalizeParams(J)})}var _M=B0("ZodLazy",(I,J)=>{eD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>C7(I,Q,z,X),I.unwrap=()=>I._zod.def.getter()});function SM(I){return new _M({type:"lazy",getter:I})}var EM=B0("ZodPromise",(I,J)=>{sD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>T7(I,Q,z,X),I.unwrap=()=>I._zod.def.innerType});function _B(I){return new EM({type:"promise",innerType:I})}var jM=B0("ZodFunction",(I,J)=>{aD.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>J7(I,Q,z,X)});function SB(I){return new jM({type:"function",input:Array.isArray(I?.input)?IM(I?.input):I?.input??u2(DJ()),output:I?.output??DJ()})}var l2=B0("ZodCustom",(I,J)=>{$5.init(I,J),x$.init(I,J),I._zod.processJSONSchema=(Q,z,X)=>X7(I,Q,z,X)});function EB(I){let J=new HU({check:"custom"});return J._zod.check=I,J}function jB(I,J){return kL(l2,I??(()=>!0),J)}function BM(I,J={}){return gL(l2,I,J)}function vM(I,J){return xL(I,J)}var BB=wL,vB=fL;function NB(I,J={}){let Q=new l2({type:"custom",check:"custom",fn:(z)=>z instanceof I,abort:!0,...Z$.normalizeParams(J)});return Q._zod.bag.Class=I,Q._zod.check=(z)=>{if(!(z.value instanceof I))z.issues.push({code:"invalid_type",expected:I.name,input:z.value,inst:Q,path:[...Q._zod.def.path??[]]})},Q}var kB=(...I)=>yL({Codec:m2,Boolean:WQ,String:GQ},...I);function gB(I){let J=SM(()=>{return eW([k2(I),h7(),c7(),d7(),u2(J),XM(k2(),J)])});return J}function xB(I,J){return new CM({type:"pipe",in:Uz(I),out:J})}var lh={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 dh(I){rU({customError:I})}function nh(){return rU().customError}var NM;(function(I){})(NM||(NM={}));var F$={...N2,...EW,iso:JQ},oh=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 ih(I,J){let Q=I.$schema;if(Q==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(Q==="http://json-schema.org/draft-07/schema#")return"draft-7";if(Q==="http://json-schema.org/draft-04/schema#")return"draft-4";return J??"draft-2020-12"}function rh(I,J){if(!I.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let Q=I.slice(1).split("/").filter(Boolean);if(Q.length===0)return J.rootSchema;let z=J.version==="draft-2020-12"?"$defs":"definitions";if(Q[0]===z){let X=Q[1];if(!X||!J.defs[X])throw Error(`Reference not found: ${I}`);return J.defs[X]}throw Error(`Reference not found: ${I}`)}function wB(I,J){if(I.not!==void 0){if(typeof I.not==="object"&&Object.keys(I.not).length===0)return F$.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(I.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if(I.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if(I.if!==void 0||I.then!==void 0||I.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if(I.dependentSchemas!==void 0||I.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if(I.$ref){let X=I.$ref;if(J.refs.has(X))return J.refs.get(X);if(J.processing.has(X))return F$.lazy(()=>{if(!J.refs.has(X))throw Error(`Circular reference not resolved: ${X}`);return J.refs.get(X)});J.processing.add(X);let W=rh(X,J),Z=_1(W,J);return J.refs.set(X,Z),J.processing.delete(X),Z}if(I.enum!==void 0){let X=I.enum;if(J.version==="openapi-3.0"&&I.nullable===!0&&X.length===1&&X[0]===null)return F$.null();if(X.length===0)return F$.never();if(X.length===1)return F$.literal(X[0]);if(X.every((Z)=>typeof Z==="string"))return F$.enum(X);let W=X.map((Z)=>F$.literal(Z));if(W.length<2)return W[0];return F$.union([W[0],W[1],...W.slice(2)])}if(I.const!==void 0)return F$.literal(I.const);let Q=I.type;if(Array.isArray(Q)){let X=Q.map((W)=>{let Z={...I,type:W};return wB(Z,J)});if(X.length===0)return F$.never();if(X.length===1)return X[0];return F$.union(X)}if(!Q)return F$.any();let z;switch(Q){case"string":{let X=F$.string();if(I.format){let W=I.format;if(W==="email")X=X.check(F$.email());else if(W==="uri"||W==="uri-reference")X=X.check(F$.url());else if(W==="uuid"||W==="guid")X=X.check(F$.uuid());else if(W==="date-time")X=X.check(F$.iso.datetime());else if(W==="date")X=X.check(F$.iso.date());else if(W==="time")X=X.check(F$.iso.time());else if(W==="duration")X=X.check(F$.iso.duration());else if(W==="ipv4")X=X.check(F$.ipv4());else if(W==="ipv6")X=X.check(F$.ipv6());else if(W==="mac")X=X.check(F$.mac());else if(W==="cidr")X=X.check(F$.cidrv4());else if(W==="cidr-v6")X=X.check(F$.cidrv6());else if(W==="base64")X=X.check(F$.base64());else if(W==="base64url")X=X.check(F$.base64url());else if(W==="e164")X=X.check(F$.e164());else if(W==="jwt")X=X.check(F$.jwt());else if(W==="emoji")X=X.check(F$.emoji());else if(W==="nanoid")X=X.check(F$.nanoid());else if(W==="cuid")X=X.check(F$.cuid());else if(W==="cuid2")X=X.check(F$.cuid2());else if(W==="ulid")X=X.check(F$.ulid());else if(W==="xid")X=X.check(F$.xid());else if(W==="ksuid")X=X.check(F$.ksuid())}if(typeof I.minLength==="number")X=X.min(I.minLength);if(typeof I.maxLength==="number")X=X.max(I.maxLength);if(I.pattern)X=X.regex(new RegExp(I.pattern));z=X;break}case"number":case"integer":{let X=Q==="integer"?F$.number().int():F$.number();if(typeof I.minimum==="number")X=X.min(I.minimum);if(typeof I.maximum==="number")X=X.max(I.maximum);if(typeof I.exclusiveMinimum==="number")X=X.gt(I.exclusiveMinimum);else if(I.exclusiveMinimum===!0&&typeof I.minimum==="number")X=X.gt(I.minimum);if(typeof I.exclusiveMaximum==="number")X=X.lt(I.exclusiveMaximum);else if(I.exclusiveMaximum===!0&&typeof I.maximum==="number")X=X.lt(I.maximum);if(typeof I.multipleOf==="number")X=X.multipleOf(I.multipleOf);z=X;break}case"boolean":{z=F$.boolean();break}case"null":{z=F$.null();break}case"object":{let X={},W=I.properties||{},Z=new Set(I.required||[]);for(let[j,P]of Object.entries(W)){let S=_1(P,J);X[j]=Z.has(j)?S:S.optional()}if(I.propertyNames){let j=_1(I.propertyNames,J),P=I.additionalProperties&&typeof I.additionalProperties==="object"?_1(I.additionalProperties,J):F$.any();if(Object.keys(X).length===0){z=F$.record(j,P);break}let S=F$.object(X).passthrough(),T=F$.looseRecord(j,P);z=F$.intersection(S,T);break}if(I.patternProperties){let j=I.patternProperties,P=Object.keys(j),S=[];for(let _ of P){let B=_1(j[_],J),N=F$.string().regex(new RegExp(_));S.push(F$.looseRecord(N,B))}let T=[];if(Object.keys(X).length>0)T.push(F$.object(X).passthrough());if(T.push(...S),T.length===0)z=F$.object({}).passthrough();else if(T.length===1)z=T[0];else{let _=F$.intersection(T[0],T[1]);for(let B=2;B<T.length;B++)_=F$.intersection(_,T[B]);z=_}break}let L=F$.object(X);if(I.additionalProperties===!1)z=L.strict();else if(typeof I.additionalProperties==="object")z=L.catchall(_1(I.additionalProperties,J));else z=L.passthrough();break}case"array":{let{prefixItems:X,items:W}=I;if(X&&Array.isArray(X)){let Z=X.map((j)=>_1(j,J)),L=W&&typeof W==="object"&&!Array.isArray(W)?_1(W,J):void 0;if(L)z=F$.tuple(Z).rest(L);else z=F$.tuple(Z);if(typeof I.minItems==="number")z=z.check(F$.minLength(I.minItems));if(typeof I.maxItems==="number")z=z.check(F$.maxLength(I.maxItems))}else if(Array.isArray(W)){let Z=W.map((j)=>_1(j,J)),L=I.additionalItems&&typeof I.additionalItems==="object"?_1(I.additionalItems,J):void 0;if(L)z=F$.tuple(Z).rest(L);else z=F$.tuple(Z);if(typeof I.minItems==="number")z=z.check(F$.minLength(I.minItems));if(typeof I.maxItems==="number")z=z.check(F$.maxLength(I.maxItems))}else if(W!==void 0){let Z=_1(W,J),L=F$.array(Z);if(typeof I.minItems==="number")L=L.min(I.minItems);if(typeof I.maxItems==="number")L=L.max(I.maxItems);z=L}else z=F$.array(F$.any());break}default:throw Error(`Unsupported type: ${Q}`)}return z}function _1(I,J){if(typeof I==="boolean")return I?F$.any():F$.never();let Q=wB(I,J),z=I.type||I.enum!==void 0||I.const!==void 0;if(I.anyOf&&Array.isArray(I.anyOf)){let L=I.anyOf.map((P)=>_1(P,J)),j=F$.union(L);Q=z?F$.intersection(Q,j):j}if(I.oneOf&&Array.isArray(I.oneOf)){let L=I.oneOf.map((P)=>_1(P,J)),j=F$.xor(L);Q=z?F$.intersection(Q,j):j}if(I.allOf&&Array.isArray(I.allOf))if(I.allOf.length===0)Q=z?Q:F$.any();else{let L=z?Q:_1(I.allOf[0],J),j=z?0:1;for(let P=j;P<I.allOf.length;P++)L=F$.intersection(L,_1(I.allOf[P],J));Q=L}if(I.nullable===!0&&J.version==="openapi-3.0")Q=F$.nullable(Q);if(I.readOnly===!0)Q=F$.readonly(Q);if(I.default!==void 0)Q=Q.default(I.default);let X={},W=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let L of W)if(L in I)X[L]=I[L];let Z=["contentEncoding","contentMediaType","contentSchema"];for(let L of Z)if(L in I)X[L]=I[L];for(let L of Object.keys(I))if(!oh.has(L))X[L]=I[L];if(Object.keys(X).length>0)J.registry.add(Q,X);if(I.description)Q=Q.describe(I.description);return Q}function fB(I,J){if(typeof I==="boolean")return I?F$.any():F$.never();let Q;try{Q=JSON.parse(JSON.stringify(I))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let z=ih(Q,J?.defaultTarget),X=Q.$defs||Q.definitions||{},W={version:z,defs:X,refs:new Map,processing:new Set,rootSchema:Q,registry:J?.registry??C1};return _1(Q,W)}var kM={};f1(kM,{string:()=>th,number:()=>ah,date:()=>$c,boolean:()=>sh,bigint:()=>eh});function th(I){return $L(GQ,I)}function ah(I){return ZL(KQ,I)}function sh(I){return HL(WQ,I)}function eh(I){return LL(zQ,I)}function $c(I){return jL(b2,I)}rU(P2());var yB=_$.object({id:_$.string().min(1).optional(),name:_$.string().min(1).optional(),kind:_$.enum(["human","agent","bot","system"])}),bB=_$.object({type:_$.string().min(1),id:_$.string().min(1)}),uB=_$.object({provider:_$.string().min(1),id:_$.string().min(1).optional(),url:_$.string().min(1).optional(),cursor:_$.string().min(1).optional(),rawRef:_$.string().min(1).optional()}),gM=_$.object({id:_$.string().min(1),service:_$.string().min(1),type:_$.string().min(1),schemaVersion:_$.number().int().positive(),idempotencyKey:_$.string().min(1),occurredAt:_$.string().min(1),observedAt:_$.string().min(1),origin:_$.enum(["virtual","external","agent","connector","replay","migration"]),actor:yB.optional(),subject:bB,causationId:_$.string().min(1).optional(),correlationId:_$.string().min(1).optional(),external:uB.optional(),data:_$.record(_$.string(),_$.unknown()),raw:_$.record(_$.string(),_$.unknown()).optional()}),hB=_$.object({version:_$.literal(1),service:_$.string().min(1),rebuiltAt:_$.string().min(1),eventCount:_$.number().int().nonnegative(),latestEventId:_$.string().min(1).optional(),subjects:_$.record(_$.string(),_$.object({type:_$.string().min(1),id:_$.string().min(1),latestEventId:_$.string().min(1),latestType:_$.string().min(1),updatedAt:_$.string().min(1)}))});function cB(I){return s4(I||process.env.PROJECT_ROOT||process.cwd())}function P8(){let I=process.env.VOLTER_STATE_DIR||".volter";if(gY(I)||I.split(/[\\/]/).includes(".."))throw Error("VOLTER_STATE_DIR must be a relative directory without .. segments");return I}function Jz(I){return i$(cB(I),P8(),"world")}function Xc(I){if(!/^[A-Za-z0-9_-]+$/.test(I))throw Error(`Invalid world service name: ${I}`);return I}var pB;function mB(I){pB=I}function e1(I,J){let Q=Xc(I);pB?.(Q,J);let z=cB(J),X=i$(Jz(J),Q);return{root:z,service:Q,dir:X,events:i$(X,"events.jsonl"),state:i$(X,"state.json"),resources:i$(X,"resources"),cursors:i$(X,"cursors"),ingests:i$(X,"ingests"),eventQueue:i$(X,"event-queue.jsonl")}}var Jc={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 lB="2.0",Kc=Number(lB.split(".")[0]);yU();var{AsyncLocalStorage:Jt}=(()=>({}));var{AsyncLocalStorage:xc}=(()=>({}));var Ac;function oB(I){Ac=I}var fM="/__volter/world-boot";var{chmodSync:qt,existsSync:Rt,mkdirSync:Pt,readFileSync:_t,writeFileSync:St}=(()=>({}));yU();var wc=1e6,fc=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,yc=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function rB(I){return`sha256:${A4("sha256").update(I,"utf8").digest("hex").slice(0,16)}`}function bc(I,J,Q){let z=yc.exec(J);if(!z&&!fc.test(I))return;let X=I.toLowerCase();if(J==="")return{name:X,in:Q,empty:!0};if(z)return{name:X,in:Q,scheme:z[1],fp:rB(z[2])};return{name:X,in:Q,fp:rB(J)}}function $v(I,J){let Q=[],z=new Set,X=(W,Z,L)=>{let j=bc(W,Z,L);if(!j)return;let P=`${j.in}:${j.name}`;if(z.has(P))return;z.add(P),Q.push(j)};try{if(typeof I.forEach==="function")I.forEach((W,Z)=>X(Z,W,"header"));else for(let[W,Z]of Object.entries(I))X(W,String(Z),"header")}catch{}try{if(J!==void 0){let W=typeof J==="string"?new URL(J,"http://twin.invalid").search:J.search;for(let[Z,L]of new URLSearchParams(W))X(Z,L,"query")}}catch{}return Q.sort((W,Z)=>W.in===Z.in?W.name.localeCompare(Z.name):W.in.localeCompare(Z.in))}function hM(I=process.env){return I.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function Uv(I,J){return i$(iU(e1(I,J).events),"requests.jsonl")}function Iv(I,J,Q){if(!hM())return;try{let z=u1(),X=Uv(I,Q);if(z.mkdir(iU(X)),(z.stat(X)?.size??0)>=wc)z.writeAtomic(`${X}.1`,z.read(X)??""),z.write(X,"");let Z=JSON.stringify({at:J.at??new Date().toISOString(),method:J.method.toUpperCase(),path:J.path.split("?")[0],status:J.status,...typeof J.ms==="number"?{ms:J.ms}:{},...J.credentials?.length?{credentials:J.credentials}:{}});z.append(X,`${Z}
321
+ `)}catch{}}var Xv=Symbol.for("volter.twin.requestJournal.identity"),tB=Symbol.for("volter.twin.requestJournal.installed"),bM;function uc(){return bM??=new xc,bM}function hc(){mB((I,J)=>{let Q=bM?.getStore();if(!Q||Q.identity!==void 0)return;Q.identity=J===void 0?{service:I}:{service:I,root:J}})}function cc(I=process.argv){let J=I.indexOf("--root"),Q=J>=0?I[J+1]:void 0;return Q&&!Q.startsWith("--")?Q:void 0}var pc=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function aB(I){if(!I)return;let J=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let Q of I.matchAll(J)){let z=Q[1];if(!pc.has(z))return z}return}function mc(){if(typeof window<"u"||typeof document<"u")return!1;let I=globalThis.Bun,J=I&&typeof I.serve==="function"?I.serve:void 0;if(J&&J[tB])return!0;if(hc(),oB((z)=>sB(z,aB(Error().stack))),!J)return!1;let Q=function(X,...W){let Z=X;if(!Z||typeof Z.fetch!=="function")return J.apply(this,[X,...W]);let L=Z[Xv]?void 0:aB(Error().stack);return J.apply(this,[{...Z,fetch:sB(Z,L)},...W])};return Object.defineProperty(Q,tB,{value:!0}),I.serve=Q,!0}function sB(I,J){if(I.twinRequestJournal===!1)return I.fetch;{let z=I[Xv],X=I.fetch;return async function(Z,L){if(!hM()||new URL(Z.url).pathname===fM)return X.call(this,Z,L);let j={},P=500,S=Date.now();try{let T=await uc().run(j,()=>X.call(this,Z,L));if(T instanceof Response)P=T.status;else if(T===void 0)return T;return T}finally{z??=j.identity;let T=z??lc(J);if(T){let _=new URL(Z.url);Iv(T.service,{method:Z.method,path:_.pathname,status:P,ms:Date.now()-S,credentials:$v(Z.headers,_)},T.root)}}}}}function lc(I){let J=process.env.VOLTER_TWIN_JOURNAL_SERVICE||I;if(!J||!/^[A-Za-z0-9_-]+$/.test(J))return;let Q=cc();return Q===void 0?{service:J}:{service:J,root:Q}}mc();yU();var Za=Symbol("absent");yU();var{closeSync:Ip,existsSync:n2,mkdirSync:Xp,openSync:Jp,readdirSync:Yp,readFileSync:Qp,readSync:Gp,renameSync:Zp,rmSync:Lv,statSync:nM,writeFileSync:Kp}=(()=>({}));yU();var{closeSync:lM,constants:MJ,fstatSync:zv,ftruncateSync:rc,linkSync:tc,lstatSync:mM,mkdirSync:ac,openSync:dM,readFileSync:sc,readSync:Zv,rmSync:ec,writeFileSync:$p}=(()=>({}));var Ov=131072,Vv=32,Fv=4;function Hv(I){return I.isFile()&&I.nlink===1&&(!process.getuid||I.uid===process.getuid())&&(I.mode&63)===0}function Kv(I){try{let J=mM(I);return J.isDirectory()&&(J.mode&63)===0&&(!process.getuid||J.uid===process.getuid())}catch{return!1}}function Wv(I){let J;try{J=dM(I,MJ.O_RDONLY|MJ.O_NONBLOCK|(MJ.O_NOFOLLOW??0));let Q=zv(J);if(!Hv(Q)||Q.size>Ov)return{};let z=JSON.parse(sc(J,"utf8"));if(!z||typeof z!=="object"||Array.isArray(z))return{};let X={};for(let[W,Z]of Object.entries(z).slice(-Vv)){if(!/^\d+:[a-f0-9]{64}$/.test(W)||!Array.isArray(Z))continue;X[W]=Z.filter((L)=>typeof L==="string"&&L.length<=4096&&gY(L)).slice(0,Fv)}return X}catch{return{}}finally{if(J!==void 0)lM(J)}}function Up(I,J){let Q=dM(I,"r");try{let z=A4("sha256"),X=Buffer.allocUnsafe(65536),W=J;while(W>0){let Z=Zv(Q,X,0,Math.min(X.length,W),null);if(!Z)return null;z.update(X.subarray(0,Z)),W-=Z}if(Zv(Q,X,0,1,null))return null;return z.digest("hex")}finally{lM(Q)}}function Dv(I,J,Q){let z=i$(I,`${Q.slice(0,2)}.json`),X=`${J}:${Q}`;return{reuse(W,Z){if(!Kv(I))return!1;for(let L of Wv(z)[X]??[]){try{let j=mM(L);if(!j.isFile()||j.dev!==J||j.size!==Z||process.getuid&&j.uid!==process.getuid())continue;tc(L,W);let P=mM(W);if(P.isFile()&&P.dev===J&&P.size===Z&&(!process.getuid||P.uid===process.getuid())&&Up(W,Z)===Q)return!0}catch{}ec(W,{force:!0})}return!1},record(W){try{let Z=s4(W);if(Z.length>4096)return;let L=Wv(z),j=[Z,...(L[X]??[]).filter((T)=>T!==Z)].slice(0,Fv);delete L[X],L[X]=j;let P=JSON.stringify(L);while(Object.keys(L).length>Vv||Buffer.byteLength(P)>Ov)delete L[Object.keys(L)[0]],P=JSON.stringify(L);if(ac(I,{recursive:!0,mode:448}),!Kv(I))return;let S=dM(z,MJ.O_WRONLY|MJ.O_CREAT|MJ.O_NONBLOCK|(MJ.O_NOFOLLOW??0),384);try{if(!Hv(zv(S)))return;rc(S,0),$p(S,P)}finally{lM(S)}}catch{}}}}class oM{options;constructor(I={}){this.options=I}async get(I){if(!n2(I))return null;return new Uint8Array(Qp(I))}async put(I,J){Xp(iU(I),{recursive:!0});let Q=`${I}.tmp.${kY()}`,z;try{if(this.options.sharedIndexRoot!==!1)try{z=Dv(this.options.sharedIndexRoot??i$(Y2(),"blob-index-v1"),nM(iU(I)).dev,o2(J))}catch{}if(!z?.reuse(Q,J.byteLength))Kp(Q,J,{flag:"wx"});Zp(Q,I),z?.record(I)}finally{Lv(Q,{force:!0})}}async exists(I){return n2(I)}async remove(I){Lv(I,{force:!0,recursive:I.endsWith("/")})}async list(I){let J=[],Q=(z)=>{if(!n2(z))return;for(let X of Yp(z,{withFileTypes:!0})){let W=i$(z,X.name);if(X.isDirectory())Q(W);else if(!X.name.includes(".tmp."))J.push(W)}};return Q(I.replace(/\/$/,"")),J.sort()}async size(I){if(!n2(I))return null;return nM(I).size}async getRange(I,J,Q){if(!n2(I))return null;let z=nM(I).size,X=Math.max(0,J),W=Math.min(Q,z-1);if(W<X)return new Uint8Array(0);let Z=new Uint8Array(W-X+1),L=Jp(I,"r"),j=0;try{while(j<Z.length){let P=Gp(L,Z,j,Z.length-j,X+j);if(P===0)break;j+=P}}finally{Ip(L)}return j===Z.length?Z:Z.subarray(0,j)}}function o2(I){return A4("sha256").update(I).digest("hex")}var _a=new oM;$A();var Ea=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])$"),ja=new RegExp("^(?:(?:(?:[0-9a-fA-F]{1,4}):){7}(?:(?:[0-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){6}(?:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|:(?:[0-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){5}(?::(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,2}|:)|(?:(?:[0-9a-fA-F]{1,4}):){4}(?:(?::(?:[0-9a-fA-F]{1,4})){0,1}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,3}|:)|(?:(?:[0-9a-fA-F]{1,4}):){3}(?:(?::(?:[0-9a-fA-F]{1,4})){0,2}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,4}|:)|(?:(?:[0-9a-fA-F]{1,4}):){2}(?:(?::(?:[0-9a-fA-F]{1,4})){0,3}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,5}|:)|(?:(?:[0-9a-fA-F]{1,4}):){1}(?:(?::(?:[0-9a-fA-F]{1,4})){0,4}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,6}|:)|(?::(?:(?::(?:[0-9a-fA-F]{1,4})){0,5}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,7}|:)))(?:%[0-9a-zA-Z-.:]{1,})?$");yU();var{existsSync:Js,readFileSync:Ys,statSync:Qs}=(()=>({}));class tp{buf=new Uint8Array(65536);len=0;push(I){if(this.len===this.buf.length){let J=new Uint8Array(this.buf.length*2);J.set(this.buf),this.buf=J}this.buf[this.len++]=I}copy(I,J){if(I>this.len)throw Error("inflate: distance too far back");for(let Q=0;Q<J;Q++)this.push(this.buf[this.len-I])}bytes(){return this.buf.slice(0,this.len)}}var Ss="0".repeat(40),Es=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:hs}=(()=>({}));var{AsyncLocalStorage:ns}=(()=>({}));var{existsSync:rs,readFileSync:ts,statSync:as}=(()=>({}));var{existsSync:$e,readFileSync:Ue}=(()=>({}));var{existsSync:Je}=(()=>({}));var Gz="v26.0",dv="id,username,name,biography,website,followers_count,follows_count,media_count,profile_picture_url",Gm="id,media_type,media_product_type,media_url,thumbnail_url,permalink,caption,timestamp,shortcode,username,like_count,comments_count,is_shared_to_feed";function HX(I){let J=typeof I==="number"&&Number.isFinite(I)?I:0,Q=(z,X)=>`${(Math.floor(z*10)/10).toFixed(1).replace(/\.0$/,"")}${X}`;if(J>=1e6)return Q(J/1e6,"M");if(J>=1e4)return Q(J/1000,"K");return J.toLocaleString("en-US")}function nv(I,J){let Q=Date.parse(String(I??"").replace(/([+-]\d\d)(\d\d)$/,"$1:$2"));if(!Number.isFinite(Q))return"";let z=Math.max(0,Math.floor((J-Q)/1000));if(z<60)return"now";if(z<3600)return`${Math.floor(z/60)}m`;if(z<86400)return`${Math.floor(z/3600)}h`;if(z<604800)return`${Math.floor(z/86400)}d`;if(z<2592000)return`${Math.floor(z/604800)}w`;let X=new Date(Q),W=X.toLocaleString("en-US",{month:"long",timeZone:"UTC"});return X.getUTCFullYear()===new Date(J).getUTCFullYear()?`${W} ${X.getUTCDate()}`:`${W} ${X.getUTCDate()}, ${X.getUTCFullYear()}`}function ov(I){let J=typeof I==="string"?I:"",Q=[],z=0;for(let X of J.matchAll(/(^|[^\w&])([#@])([\p{L}\p{N}_.]*[\p{L}\p{N}_])/gu)){let W=(X.index??0)+X[1].length;if(W>z)Q.push({kind:"text",value:J.slice(z,W)});Q.push({kind:X[2]==="#"?"hashtag":"mention",value:`${X[2]}${X[3]}`}),z=W+1+X[3].length}if(z<J.length)Q.push({kind:"text",value:J.slice(z)});return Q}function iv(I){return{id:String(I.id),username:String(I.username),...typeof I.name==="string"&&I.name!==""?{name:I.name}:{},...typeof I.biography==="string"&&I.biography!==""?{biography:I.biography}:{},...typeof I.website==="string"&&I.website!==""?{website:I.website}:{},...typeof I.profile_picture_url==="string"?{avatarUrl:I.profile_picture_url}:{},...typeof I.media_count==="number"?{posts:I.media_count}:{},...typeof I.followers_count==="number"?{followers:I.followers_count}:{},...typeof I.follows_count==="number"?{following:I.follows_count}:{}}}function rv(I){return I.media_product_type==="REELS"}function tv(I,J){return J==="reels"?I:I.filter((Q)=>Q.is_shared_to_feed!==!1)}function Zz(I){return`#/reel/${encodeURIComponent(I)}/`}function av(I,J){return`/${Gz}/${I}/media?fields=${Gm}&limit=24${J?`&after=${encodeURIComponent(J)}`:""}`}var T0=a4(UA(),1),Km=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),IA="instagram-mirror.username",XA="instagram-mirror.token";function Wm(){if(typeof sessionStorage>"u")return null;let I=sessionStorage.getItem(IA),J=sessionStorage.getItem(XA);return I&&J?{username:I,token:J}:null}var UN=null,zm=()=>UN??Date.now();async function JA(I,J){let Q=await fetch(`${Km}${J}`,{headers:{authorization:`Bearer ${I}`}}),z=Date.parse(Q.headers.get("date")??"");if(Number.isFinite(z))UN=z;let X={};try{X=await Q.json()}catch{X={}}return{status:Q.status,body:X}}var YA=(I)=>String(I.body.error?.message??`HTTP ${I.status}`);function sv(I){let J=I.replace(/^#\/?/,"").split("/").filter(Boolean).map(decodeURIComponent);if(J[0]==="reel"&&J[1])return{page:"reel",shortcode:J[1]};if(J[0]==="reels"&&!J[1])return{page:"reel",shortcode:null};if(J[0])return{page:"profile",username:J[0],tab:J[1]==="reels"?"reels":"posts"};return{page:"profile",tab:"reels"}}var tU={fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};function eU({size:I=24,children:J,label:Q}){return T0.jsxDEV("svg",{viewBox:"0 0 24 24",width:I,height:I,"aria-label":Q,"aria-hidden":Q?void 0:!0,role:Q?"img":void 0,children:J},void 0,!1,void 0,this)}var Om=()=>T0.jsxDEV(eU,{children:T0.jsxDEV("path",{...tU,d:"M9.005 16.545a2.997 2.997 0 0 1 2.997-2.997A2.997 2.997 0 0 1 15 16.545V22h7V11.543L12 2 2 11.543V22h7.005Z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Vm=()=>T0.jsxDEV(eU,{children:[T0.jsxDEV("circle",{...tU,cx:"10.5",cy:"10.5",r:"7.5"},void 0,!1,void 0,this),T0.jsxDEV("path",{...tU,d:"m16.5 16.5 5.5 5.5"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Fm=()=>T0.jsxDEV(eU,{children:[T0.jsxDEV("circle",{...tU,cx:"12",cy:"12",r:"10"},void 0,!1,void 0,this),T0.jsxDEV("path",{...tU,d:"m13.94 13.94-5.66 1.82 1.82-5.66 5.66-1.82z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),zz=({size:I=24})=>T0.jsxDEV(eU,{size:I,children:[T0.jsxDEV("rect",{...tU,x:"2",y:"2",width:"20",height:"20",rx:"5"},void 0,!1,void 0,this),T0.jsxDEV("path",{...tU,d:"M2.05 7.5h19.9M13.5 2.05l3.4 5.45M7.36 2.2l3.35 5.3"},void 0,!1,void 0,this),T0.jsxDEV("path",{d:"M9.8 17.2V11.1a.5.5 0 0 1 .76-.43l5.02 3.05a.5.5 0 0 1 0 .86l-5.02 3.05a.5.5 0 0 1-.76-.43Z",fill:"currentColor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Hm=()=>T0.jsxDEV(eU,{children:T0.jsxDEV("path",{...tU,d:"M22 3 9.2 10.1M22 3l-7 19-5.8-11.9L2 7.6z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),QA=({size:I=24})=>T0.jsxDEV(eU,{size:I,children:T0.jsxDEV("path",{...tU,d:"M16.8 3.2a5.4 5.4 0 0 0-4.8 2.9 5.4 5.4 0 0 0-4.8-2.9A5.2 5.2 0 0 0 2 8.6c0 5.3 5.5 8.4 10 12.2 4.5-3.8 10-6.9 10-12.2a5.2 5.2 0 0 0-5.2-5.4Z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Dm=()=>T0.jsxDEV(eU,{children:[T0.jsxDEV("rect",{...tU,x:"2",y:"2",width:"20",height:"20",rx:"5"},void 0,!1,void 0,this),T0.jsxDEV("path",{...tU,d:"M12 7v10M7 12h10"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Lm=()=>T0.jsxDEV(eU,{children:T0.jsxDEV("path",{...tU,d:"M3 5h18M3 12h18M3 19h18"},void 0,!1,void 0,this)},void 0,!1,void 0,this),IN=({size:I=24})=>T0.jsxDEV(eU,{size:I,children:T0.jsxDEV("path",{...tU,d:"M20.66 17A9.9 9.9 0 1 0 17 20.66L22 22Z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Mm=({size:I=24})=>T0.jsxDEV(eU,{size:I,children:T0.jsxDEV("path",{...tU,d:"M22 3 9.2 10.1M22 3l-7 19-5.8-11.9L2 7.6z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Am=({size:I=24})=>T0.jsxDEV(eU,{size:I,children:T0.jsxDEV("path",{...tU,d:"M20 21 12 13.44 4 21V3h16z"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Tm=({size:I=24})=>T0.jsxDEV(eU,{size:I,children:[T0.jsxDEV("circle",{cx:"5",cy:"12",r:"1.6",fill:"currentColor"},void 0,!1,void 0,this),T0.jsxDEV("circle",{cx:"12",cy:"12",r:"1.6",fill:"currentColor"},void 0,!1,void 0,this),T0.jsxDEV("circle",{cx:"19",cy:"12",r:"1.6",fill:"currentColor"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Cm=()=>T0.jsxDEV(eU,{size:12,children:T0.jsxDEV("path",{...tU,d:"M3 3h18v18H3zM9 3v18M15 3v18M3 9h18M3 15h18"},void 0,!1,void 0,this)},void 0,!1,void 0,this),qm=()=>T0.jsxDEV(eU,{size:12,children:T0.jsxDEV("path",{...tU,d:"M10.2 18.1 12 21l1.8-2.9H21V3H3v15.1zM12 11.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM7 15.5c.8-1.7 2.7-2.7 5-2.7s4.2 1 5 2.7"},void 0,!1,void 0,this)},void 0,!1,void 0,this),XN=({size:I=22})=>T0.jsxDEV(eU,{size:I,children:T0.jsxDEV("path",{d:"M5.9 3.4a1 1 0 0 1 1.5-.9l13 8.2a1.5 1.5 0 0 1 0 2.6l-13 8.2a1 1 0 0 1-1.5-.9Z",fill:"currentColor"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Rm=()=>T0.jsxDEV(eU,{size:14,children:T0.jsxDEV("path",{d:"M3 9v6h4l5 5V4L7 9Zm13.6 3 2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4Z",fill:"currentColor"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Pm=()=>T0.jsxDEV(eU,{size:14,children:T0.jsxDEV("path",{d:"M3 9v6h4l5 5V4L7 9Zm13.5 3A4.5 4.5 0 0 0 14 8v8a4.5 4.5 0 0 0 2.5-4Zm-2.5-9v2.1a7 7 0 0 1 0 13.8V21a9 9 0 0 0 0-18Z",fill:"currentColor"},void 0,!1,void 0,this)},void 0,!1,void 0,this),_m=()=>T0.jsxDEV(eU,{children:[T0.jsxDEV("circle",{...tU,cx:"12",cy:"12",r:"3"},void 0,!1,void 0,this),T0.jsxDEV("path",{...tU,d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1Z"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Sm=()=>T0.jsxDEV(eU,{size:20,children:T0.jsxDEV("path",{...tU,d:"M5 5l14 14M19 5 5 19"},void 0,!1,void 0,this)},void 0,!1,void 0,this),Em=()=>T0.jsxDEV(eU,{size:16,children:T0.jsxDEV("path",{...tU,d:"m6 15 6-6 6 6"},void 0,!1,void 0,this)},void 0,!1,void 0,this),jm=()=>T0.jsxDEV(eU,{size:16,children:T0.jsxDEV("path",{...tU,d:"m6 9 6 6 6-6"},void 0,!1,void 0,this)},void 0,!1,void 0,this);function JN({size:I=29}){return T0.jsxDEV("span",{className:"wordmark",style:{fontSize:I},"aria-label":"Instagram",children:"Instagram"},void 0,!1,void 0,this)}function Kz({src:I,size:J,ring:Q=!1}){return T0.jsxDEV("span",{className:`avatar${Q?" avatar-ring":""}${I?" avatar-has-img":""}`,style:{width:J,height:J},children:I?T0.jsxDEV("img",{className:"avatar-img",src:I,width:J,height:J,alt:"Profile picture"},void 0,!1,void 0,this):T0.jsxDEV("svg",{className:"avatar-img avatar-empty",viewBox:"0 0 40 40",width:J,height:J,"aria-label":"Profile picture",role:"img",children:[T0.jsxDEV("rect",{width:"40",height:"40",fill:"#dbdbdb"},void 0,!1,void 0,this),T0.jsxDEV("circle",{cx:"20",cy:"15.5",r:"7",fill:"#fff"},void 0,!1,void 0,this),T0.jsxDEV("path",{d:"M6 38c1.6-7.2 7.3-11 14-11s12.4 3.8 14 11Z",fill:"#fff"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function Bm({text:I}){return T0.jsxDEV(T0.Fragment,{children:ov(I).map((J,Q)=>J.kind==="text"?T0.jsxDEV("span",{children:J.value},Q,!1,void 0,this):T0.jsxDEV("span",{className:"ig-link",children:J.value},Q,!1,void 0,this))},void 0,!1,void 0,this)}function vm({profile:I}){let J=(Q,z,X)=>typeof Q==="number"?T0.jsxDEV("li",{children:[T0.jsxDEV("span",{className:"count",children:HX(Q)},void 0,!1,void 0,this)," ",Q===1?z:X]},void 0,!0,void 0,this):null;return T0.jsxDEV("header",{className:"profile-header",children:[T0.jsxDEV("div",{className:"profile-avatar",children:T0.jsxDEV(Kz,{src:I.avatarUrl,size:150},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("section",{className:"profile-info",children:[T0.jsxDEV("div",{className:"profile-row",children:[T0.jsxDEV("h2",{className:"profile-username",children:I.username},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"btn-secondary",children:"Edit profile"},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"btn-secondary",children:"View archive"},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"profile-gear","aria-label":"Options",children:T0.jsxDEV(_m,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("ul",{className:"profile-counts",children:[J(I.posts,"post","posts"),J(I.followers,"follower","followers"),typeof I.following==="number"?T0.jsxDEV("li",{children:[T0.jsxDEV("span",{className:"count",children:HX(I.following)},void 0,!1,void 0,this)," following"]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),I.name?T0.jsxDEV("div",{className:"profile-name",children:I.name},void 0,!1,void 0,this):null,I.biography?T0.jsxDEV("div",{className:"profile-bio",children:I.biography},void 0,!1,void 0,this):null,I.website?T0.jsxDEV("a",{className:"profile-website",href:I.website,target:"_blank",rel:"noreferrer",children:I.website.replace(/^https?:\/\/(www\.)?/,"").replace(/\/$/,"")},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Nm({username:I,tab:J}){let Q=encodeURIComponent(I);return T0.jsxDEV("nav",{className:"profile-tabs",children:[T0.jsxDEV("a",{className:J==="posts"?"profile-tab active":"profile-tab",href:`#/${Q}/`,children:[T0.jsxDEV(Cm,{},void 0,!1,void 0,this),T0.jsxDEV("span",{children:"POSTS"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("a",{className:J==="reels"?"profile-tab active":"profile-tab",href:`#/${Q}/reels/`,children:[T0.jsxDEV(zz,{size:12},void 0,!1,void 0,this),T0.jsxDEV("span",{children:"REELS"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("span",{className:"profile-tab",children:[T0.jsxDEV(qm,{},void 0,!1,void 0,this),T0.jsxDEV("span",{children:"TAGGED"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function km({reel:I}){let J=typeof I.thumbnail_url==="string"?I.thumbnail_url:"";if(J&&!/\.svg(\?|$)/.test(J))return T0.jsxDEV("img",{className:"tile-media",src:J,alt:String(I.caption??"Reel")},void 0,!1,void 0,this);if(typeof I.media_url!=="string")return T0.jsxDEV("div",{className:"tile-media tile-empty"},void 0,!1,void 0,this);return T0.jsxDEV("video",{className:"tile-media",src:`${I.media_url}#t=0.1`,preload:"metadata",muted:!0,playsInline:!0,"aria-label":String(I.caption??"Reel")},void 0,!1,void 0,this)}function gm({reels:I,shape:J}){return T0.jsxDEV("div",{className:J==="reels"?"grid grid-reels":"grid grid-posts",children:I.map((Q)=>T0.jsxDEV("a",{className:"tile",href:Zz(String(Q.shortcode)),"data-media-id":String(Q.id),children:[T0.jsxDEV(km,{reel:Q},void 0,!1,void 0,this),J==="reels"?T0.jsxDEV("span",{className:"tile-views",children:[T0.jsxDEV(XN,{size:16},void 0,!1,void 0,this),typeof Q.view_count==="number"?T0.jsxDEV("span",{children:HX(Q.view_count)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):T0.jsxDEV("span",{className:"tile-badge",children:T0.jsxDEV(zz,{size:18},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"tile-hover",children:[typeof Q.like_count==="number"?T0.jsxDEV("span",{children:[T0.jsxDEV(QA,{size:19},void 0,!1,void 0,this)," ",HX(Q.like_count)]},void 0,!0,void 0,this):null,typeof Q.comments_count==="number"?T0.jsxDEV("span",{children:[T0.jsxDEV(IN,{size:19},void 0,!1,void 0,this)," ",HX(Q.comments_count)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},String(Q.id),!0,void 0,this))},void 0,!1,void 0,this)}function xm(I){let[J,Q]=S1.useState({profile:null,reels:null,error:null});return S1.useEffect(()=>{let z=!0;return(async()=>{let X=await JA(I.token,`/${Gz}/me?fields=${dv}`);if(!z)return;if(X.status!==200){Q({profile:null,reels:null,error:YA(X)});return}let W=iv(X.body);Q({profile:W,reels:null,error:null});let Z=[],L;for(let j=0;j<10;j+=1){let P=await JA(I.token,av(W.id,L));if(!z)return;if(P.status!==200||!Array.isArray(P.body.data)){Q({profile:W,reels:null,error:YA(P)});return}if(Z.push(...P.body.data),L=typeof P.body.paging?.next==="string"?P.body.paging?.cursors?.after:void 0,!L)break}Q({profile:W,reels:Z.filter(rv),error:null})})(),()=>{z=!1}},[I.token]),J}function Wz({why:I}){return T0.jsxDEV("div",{className:"unavailable",children:[T0.jsxDEV("h2",{children:"Sorry, this page isn't available."},void 0,!1,void 0,this),T0.jsxDEV("p",{children:[I??"The link you followed may be broken, or the page may have been removed."," ",T0.jsxDEV("a",{href:"#/",children:"Go back to Instagram."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function wm({account:I,route:J}){if(I.error)return T0.jsxDEV(Wz,{why:I.error},void 0,!1,void 0,this);if(!I.profile)return T0.jsxDEV("div",{className:"loading"},void 0,!1,void 0,this);let Q=I.profile;if(J.username&&J.username!==Q.username)return T0.jsxDEV(Wz,{},void 0,!1,void 0,this);let z=J.tab,X=tv(I.reels??[],z);return T0.jsxDEV("div",{className:"profile",children:[T0.jsxDEV(vm,{profile:Q},void 0,!1,void 0,this),T0.jsxDEV(Nm,{username:Q.username,tab:z},void 0,!1,void 0,this),I.reels===null?T0.jsxDEV("div",{className:"loading"},void 0,!1,void 0,this):X.length===0?T0.jsxDEV("div",{className:"empty",children:[T0.jsxDEV("div",{className:"empty-icon",children:T0.jsxDEV(zz,{size:40},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("h2",{children:z==="reels"?"Share a moment with the world":"Share Photos"},void 0,!1,void 0,this),T0.jsxDEV("p",{children:["When you share ",z==="reels"?"reels":"photos and videos",", they will appear on your profile."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):T0.jsxDEV(gm,{reels:X,shape:z},void 0,!1,void 0,this),T0.jsxDEV("footer",{className:"footer",children:["Meta · About · Blog · Jobs · Help · API · Privacy · Terms · Locations · Instagram Lite · Threads",T0.jsxDEV("br",{},void 0,!1,void 0,this),"© 2026 Instagram from Meta"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function fm({reel:I,profile:J,nowMs:Q,prev:z,next:X}){let W=S1.useRef(null),[Z,L]=S1.useState(!1),[j,P]=S1.useState(!0),[S,T]=S1.useState(!1),_=()=>{let N=W.current;if(!N)return;if(N.paused)N.play().catch(()=>{return}),L(!1);else N.pause(),L(!0)},B=`#/${encodeURIComponent(J.username)}/reels/`;return T0.jsxDEV("div",{className:"viewer",children:[T0.jsxDEV("a",{className:"viewer-close",href:B,"aria-label":"Close",children:T0.jsxDEV(Sm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("div",{className:"viewer-stage",children:[T0.jsxDEV("div",{className:"player","data-media-id":String(I.id),children:[T0.jsxDEV("video",{ref:W,className:"player-video",src:typeof I.media_url==="string"?I.media_url:void 0,autoPlay:!0,loop:!0,muted:j,playsInline:!0,onClick:_,"aria-label":String(I.caption??"Reel")},void 0,!1,void 0,this),Z?T0.jsxDEV("button",{className:"player-paused",onClick:_,"aria-label":"Play",children:T0.jsxDEV(XN,{size:36},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,T0.jsxDEV("button",{className:"player-mute",onClick:()=>P(!j),"aria-label":j?"Audio is muted":"Audio is playing",children:j?T0.jsxDEV(Rm,{},void 0,!1,void 0,this):T0.jsxDEV(Pm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("div",{className:"player-overlay",children:[T0.jsxDEV("div",{className:"player-who",children:[T0.jsxDEV(Kz,{src:J.avatarUrl,size:32},void 0,!1,void 0,this),T0.jsxDEV("a",{className:"player-username",href:`#/${encodeURIComponent(J.username)}/`,children:J.username},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"player-dot",children:"•"},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"player-age",children:nv(I.timestamp,Q)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),typeof I.caption==="string"&&I.caption!==""?T0.jsxDEV("div",{className:S?"player-caption open":"player-caption",onClick:()=>T(!S),children:T0.jsxDEV(Bm,{text:I.caption},void 0,!1,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("div",{className:"viewer-actions",children:[T0.jsxDEV("span",{className:"action",children:[T0.jsxDEV(QA,{size:26},void 0,!1,void 0,this),typeof I.like_count==="number"?T0.jsxDEV("span",{children:HX(I.like_count)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),T0.jsxDEV("span",{className:"action",children:[T0.jsxDEV(IN,{size:26},void 0,!1,void 0,this),typeof I.comments_count==="number"?T0.jsxDEV("span",{children:HX(I.comments_count)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),T0.jsxDEV("span",{className:"action",children:T0.jsxDEV(Mm,{size:26},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"action",children:T0.jsxDEV(Am,{size:26},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"action",children:T0.jsxDEV(Tm,{size:26},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("span",{className:"action-audio",children:T0.jsxDEV(Kz,{src:J.avatarUrl,size:26},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("div",{className:"viewer-nav",children:[z?T0.jsxDEV("a",{className:"viewer-step",href:Zz(z),"aria-label":"Previous reel",children:T0.jsxDEV(Em,{},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,X?T0.jsxDEV("a",{className:"viewer-step",href:Zz(X),"aria-label":"Next reel",children:T0.jsxDEV(jm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ym({account:I,shortcode:J}){if(I.error)return T0.jsxDEV(Wz,{why:I.error},void 0,!1,void 0,this);if(!I.profile||I.reels===null)return T0.jsxDEV("div",{className:"loading"},void 0,!1,void 0,this);let Q=I.reels,z=J===null?0:Q.findIndex((W)=>W.shortcode===J),X=Q[z];if(!X)return T0.jsxDEV(Wz,{},void 0,!1,void 0,this);return T0.jsxDEV(fm,{reel:X,profile:I.profile,nowMs:zm(),prev:Q[z-1]?.shortcode,next:Q[z+1]?.shortcode},void 0,!1,void 0,this)}function bm({session:I,avatarUrl:J,route:Q,onSignOut:z}){let X=encodeURIComponent(I.username),W=(Z,L,j,P=!1)=>j?T0.jsxDEV("a",{className:P?"nav-item active":"nav-item",href:j,children:[Z,T0.jsxDEV("span",{children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this):T0.jsxDEV("span",{className:"nav-item",children:[Z,T0.jsxDEV("span",{children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return T0.jsxDEV("nav",{className:"sidebar",children:[T0.jsxDEV("a",{className:"sidebar-logo",href:"#/","aria-label":"Instagram",children:T0.jsxDEV(JN,{size:26},void 0,!1,void 0,this)},void 0,!1,void 0,this),W(T0.jsxDEV(Om,{},void 0,!1,void 0,this),"Home","#/"),W(T0.jsxDEV(Vm,{},void 0,!1,void 0,this),"Search"),W(T0.jsxDEV(Fm,{},void 0,!1,void 0,this),"Explore"),W(T0.jsxDEV(zz,{},void 0,!1,void 0,this),"Reels","#/reels/",Q.page==="reel"),W(T0.jsxDEV(Hm,{},void 0,!1,void 0,this),"Messages"),W(T0.jsxDEV(QA,{},void 0,!1,void 0,this),"Notifications"),W(T0.jsxDEV(Dm,{},void 0,!1,void 0,this),"Create"),W(T0.jsxDEV(Kz,{src:J,size:24},void 0,!1,void 0,this),"Profile",`#/${X}/`,Q.page==="profile"),T0.jsxDEV("button",{className:"nav-item nav-more",onClick:z,title:`Log out ${I.username}`,children:[T0.jsxDEV(Lm,{},void 0,!1,void 0,this),T0.jsxDEV("span",{children:"Log out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function um({onSignedIn:I}){let[J,Q]=S1.useState(""),[z,X]=S1.useState(""),[W,Z]=S1.useState(null),[L,j]=S1.useState(!1),P=J.trim().replace(/^@/,""),S=async()=>{j(!0);let T=await JA(z.trim(),`/${Gz}/me?fields=id,username`);if(j(!1),T.status!==200){Z(T.body.error?.code===190||T.body.error?.code===104?"Sorry, your access token was incorrect. Please double-check your token.":YA(T));return}if(String(T.body.username??"")!==P){Z(`That token doesn't log in as ${P}.`);return}I({username:P,token:z.trim()})};return T0.jsxDEV("div",{className:"login-page",children:[T0.jsxDEV("div",{className:"login-card",children:[T0.jsxDEV("div",{className:"login-logo",children:T0.jsxDEV(JN,{size:42},void 0,!1,void 0,this)},void 0,!1,void 0,this),T0.jsxDEV("form",{onSubmit:(T)=>{T.preventDefault(),S()},children:[T0.jsxDEV("label",{className:"field",children:[T0.jsxDEV("input",{name:"username",placeholder:" ",value:J,onChange:(T)=>Q(T.target.value),autoComplete:"username",autoFocus:!0},void 0,!1,void 0,this),T0.jsxDEV("span",{children:"Phone number, username, or email"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("label",{className:"field",children:[T0.jsxDEV("input",{name:"password",type:"password",placeholder:" ",value:z,onChange:(T)=>X(T.target.value),autoComplete:"current-password"},void 0,!1,void 0,this),T0.jsxDEV("span",{children:"Access token"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("button",{className:"btn-login",type:"submit",disabled:P===""||z.trim().length<8||L,children:"Log in"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("div",{className:"login-or",children:T0.jsxDEV("span",{children:"OR"},void 0,!1,void 0,this)},void 0,!1,void 0,this),W?T0.jsxDEV("p",{className:"login-error",role:"alert",children:W},void 0,!1,void 0,this):null,T0.jsxDEV("p",{className:"login-note",children:["This twin logs you in with the access token it issued for your account (",T0.jsxDEV("code",{children:"/_twin/tokens"},void 0,!1,void 0,this),") in place of a password."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),T0.jsxDEV("div",{className:"login-card login-signup",children:["Don't have an account? ",T0.jsxDEV("span",{className:"ig-blue",children:"Sign up"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function hm(){let[I,J]=S1.useState(Wm),[Q,z]=S1.useState(()=>sv(typeof location>"u"?"":location.hash));S1.useEffect(()=>{let Z=()=>{z(sv(location.hash)),window.scrollTo(0,0)};return window.addEventListener("hashchange",Z),()=>window.removeEventListener("hashchange",Z)},[]);let X=(Z)=>{sessionStorage.setItem(IA,Z.username),sessionStorage.setItem(XA,Z.token),J(Z)},W=()=>{sessionStorage.removeItem(IA),sessionStorage.removeItem(XA),J(null)};if(!I)return T0.jsxDEV(um,{onSignedIn:X},void 0,!1,void 0,this);return T0.jsxDEV(cm,{session:I,route:Q,onSignOut:W},void 0,!1,void 0,this)}function cm({session:I,route:J,onSignOut:Q}){let z=xm(I);return T0.jsxDEV("div",{className:J.page==="reel"?"app app-dark":"app",children:[T0.jsxDEV(bm,{session:I,avatarUrl:z.profile?.avatarUrl,route:J,onSignOut:Q},void 0,!1,void 0,this),T0.jsxDEV("main",{className:"main",children:J.page==="reel"?T0.jsxDEV(ym,{account:z,shortcode:J.shortcode},void 0,!1,void 0,this):T0.jsxDEV(wm,{account:z,route:J},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var ev=typeof document<"u"?document.getElementById("root"):null;if(ev)$N.createRoot(ev).render(T0.jsxDEV(hm,{},void 0,!1,void 0,this));export{JN as Wordmark,gm as ReelsGrid,fm as ReelViewer,Nm as ProfileTabs,wm as ProfileScreen,vm as ProfileHeader,um as LoginScreen,Bm as Caption,Kz as Avatar};