zora-agent 0.9.4 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +103 -92
- package/dist/cli/audit-commands.d.ts.map +1 -1
- package/dist/cli/audit-commands.js +3 -1
- package/dist/cli/audit-commands.js.map +1 -1
- package/dist/cli/daemon.js +86 -28
- package/dist/cli/daemon.js.map +1 -1
- package/dist/cli/edit-commands.d.ts.map +1 -1
- package/dist/cli/edit-commands.js +3 -1
- package/dist/cli/edit-commands.js.map +1 -1
- package/dist/cli/hook-commands.d.ts +9 -0
- package/dist/cli/hook-commands.d.ts.map +1 -0
- package/dist/cli/hook-commands.js +106 -0
- package/dist/cli/hook-commands.js.map +1 -0
- package/dist/cli/index.js +87 -35
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init-command.d.ts.map +1 -1
- package/dist/cli/init-command.js +108 -9
- package/dist/cli/init-command.js.map +1 -1
- package/dist/cli/memory-commands.d.ts +1 -1
- package/dist/cli/memory-commands.d.ts.map +1 -1
- package/dist/cli/memory-commands.js +213 -1
- package/dist/cli/memory-commands.js.map +1 -1
- package/dist/cli/presets.d.ts.map +1 -1
- package/dist/cli/presets.js +2 -1
- package/dist/cli/presets.js.map +1 -1
- package/dist/cli/skill-commands.d.ts.map +1 -1
- package/dist/cli/skill-commands.js +4 -2
- package/dist/cli/skill-commands.js.map +1 -1
- package/dist/cli/steer-commands.d.ts.map +1 -1
- package/dist/cli/steer-commands.js +6 -4
- package/dist/cli/steer-commands.js.map +1 -1
- package/dist/cli/team-commands.d.ts.map +1 -1
- package/dist/cli/team-commands.js +3 -1
- package/dist/cli/team-commands.js.map +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +12 -2
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/loader.d.ts +23 -0
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +64 -3
- package/dist/config/loader.js.map +1 -1
- package/dist/config/policy-loader.d.ts +14 -0
- package/dist/config/policy-loader.d.ts.map +1 -1
- package/dist/config/policy-loader.js +33 -0
- package/dist/config/policy-loader.js.map +1 -1
- package/dist/dashboard/frontend/dist/assets/index-BcOGj1EF.css +1 -0
- package/dist/dashboard/frontend/dist/assets/index-BtiFO9YN.js +261 -0
- package/dist/dashboard/frontend/dist/assets/index-Cfjy5acU.css +1 -0
- package/dist/dashboard/frontend/dist/assets/index-D41hcjgc.js +253 -0
- package/dist/dashboard/frontend/dist/assets/index-D83BawFd.css +1 -0
- package/dist/dashboard/frontend/dist/assets/index-DAODjoxu.css +1 -0
- package/dist/dashboard/frontend/dist/assets/index-DB-Eu5oV.js +253 -0
- package/dist/dashboard/frontend/dist/assets/index-W0VVEDu6.js +253 -0
- package/dist/dashboard/frontend/dist/index.html +17 -0
- package/dist/dashboard/server.d.ts +19 -2
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +121 -20
- package/dist/dashboard/server.js.map +1 -1
- package/dist/hooks/hook-runner.d.ts +55 -0
- package/dist/hooks/hook-runner.d.ts.map +1 -0
- package/dist/hooks/hook-runner.js +120 -0
- package/dist/hooks/hook-runner.js.map +1 -0
- package/dist/hooks/hook-types.d.ts +82 -0
- package/dist/hooks/hook-types.d.ts.map +1 -0
- package/dist/hooks/hook-types.js +20 -0
- package/dist/hooks/hook-types.js.map +1 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +6 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/memory/context-compressor.d.ts +108 -0
- package/dist/memory/context-compressor.d.ts.map +1 -0
- package/dist/memory/context-compressor.js +307 -0
- package/dist/memory/context-compressor.js.map +1 -0
- package/dist/memory/index.d.ts +1 -0
- package/dist/memory/index.d.ts.map +1 -1
- package/dist/memory/index.js +1 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/memory/memory-manager.d.ts +88 -4
- package/dist/memory/memory-manager.d.ts.map +1 -1
- package/dist/memory/memory-manager.js +299 -7
- package/dist/memory/memory-manager.js.map +1 -1
- package/dist/memory/observation-store.d.ts +75 -0
- package/dist/memory/observation-store.d.ts.map +1 -0
- package/dist/memory/observation-store.js +162 -0
- package/dist/memory/observation-store.js.map +1 -0
- package/dist/memory/observer-worker.d.ts +34 -0
- package/dist/memory/observer-worker.d.ts.map +1 -0
- package/dist/memory/observer-worker.js +161 -0
- package/dist/memory/observer-worker.js.map +1 -0
- package/dist/memory/reflector-worker.d.ts +40 -0
- package/dist/memory/reflector-worker.d.ts.map +1 -0
- package/dist/memory/reflector-worker.js +185 -0
- package/dist/memory/reflector-worker.js.map +1 -0
- package/dist/memory/salience-scorer.d.ts +16 -6
- package/dist/memory/salience-scorer.d.ts.map +1 -1
- package/dist/memory/salience-scorer.js +42 -22
- package/dist/memory/salience-scorer.js.map +1 -1
- package/dist/memory/structured-memory.d.ts +36 -1
- package/dist/memory/structured-memory.d.ts.map +1 -1
- package/dist/memory/structured-memory.js +207 -8
- package/dist/memory/structured-memory.js.map +1 -1
- package/dist/memory/token-estimator.d.ts +31 -0
- package/dist/memory/token-estimator.d.ts.map +1 -0
- package/dist/memory/token-estimator.js +77 -0
- package/dist/memory/token-estimator.js.map +1 -0
- package/dist/memory/validation-pipeline.d.ts +37 -0
- package/dist/memory/validation-pipeline.d.ts.map +1 -0
- package/dist/memory/validation-pipeline.js +106 -0
- package/dist/memory/validation-pipeline.js.map +1 -0
- package/dist/orchestrator/auth-monitor.d.ts.map +1 -1
- package/dist/orchestrator/auth-monitor.js +3 -1
- package/dist/orchestrator/auth-monitor.js.map +1 -1
- package/dist/orchestrator/execution-loop.d.ts +23 -0
- package/dist/orchestrator/execution-loop.d.ts.map +1 -1
- package/dist/orchestrator/execution-loop.js +60 -19
- package/dist/orchestrator/execution-loop.js.map +1 -1
- package/dist/orchestrator/failover-controller.d.ts +26 -2
- package/dist/orchestrator/failover-controller.d.ts.map +1 -1
- package/dist/orchestrator/failover-controller.js +143 -23
- package/dist/orchestrator/failover-controller.js.map +1 -1
- package/dist/orchestrator/orchestrator.d.ts +70 -7
- package/dist/orchestrator/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator/orchestrator.js +416 -92
- package/dist/orchestrator/orchestrator.js.map +1 -1
- package/dist/orchestrator/retry-queue.d.ts.map +1 -1
- package/dist/orchestrator/retry-queue.js +24 -9
- package/dist/orchestrator/retry-queue.js.map +1 -1
- package/dist/orchestrator/router.d.ts +16 -1
- package/dist/orchestrator/router.d.ts.map +1 -1
- package/dist/orchestrator/router.js +79 -20
- package/dist/orchestrator/router.js.map +1 -1
- package/dist/orchestrator/session-manager.d.ts +26 -1
- package/dist/orchestrator/session-manager.d.ts.map +1 -1
- package/dist/orchestrator/session-manager.js +88 -4
- package/dist/orchestrator/session-manager.js.map +1 -1
- package/dist/providers/circuit-breaker.d.ts +78 -0
- package/dist/providers/circuit-breaker.d.ts.map +1 -0
- package/dist/providers/circuit-breaker.js +129 -0
- package/dist/providers/circuit-breaker.js.map +1 -0
- package/dist/providers/claude-provider.d.ts +27 -11
- package/dist/providers/claude-provider.d.ts.map +1 -1
- package/dist/providers/claude-provider.js +161 -46
- package/dist/providers/claude-provider.js.map +1 -1
- package/dist/providers/gemini-provider.d.ts +9 -1
- package/dist/providers/gemini-provider.d.ts.map +1 -1
- package/dist/providers/gemini-provider.js +97 -48
- package/dist/providers/gemini-provider.js.map +1 -1
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +1 -0
- package/dist/providers/index.js.map +1 -1
- package/dist/providers/ollama-provider.d.ts +7 -0
- package/dist/providers/ollama-provider.d.ts.map +1 -1
- package/dist/providers/ollama-provider.js +89 -18
- package/dist/providers/ollama-provider.js.map +1 -1
- package/dist/routines/heartbeat.d.ts +10 -2
- package/dist/routines/heartbeat.d.ts.map +1 -1
- package/dist/routines/heartbeat.js +42 -5
- package/dist/routines/heartbeat.js.map +1 -1
- package/dist/routines/routine-manager.d.ts.map +1 -1
- package/dist/routines/routine-manager.js +22 -15
- package/dist/routines/routine-manager.js.map +1 -1
- package/dist/security/audit-logger.d.ts.map +1 -1
- package/dist/security/audit-logger.js +5 -7
- package/dist/security/audit-logger.js.map +1 -1
- package/dist/security/policy-engine.d.ts +28 -17
- package/dist/security/policy-engine.d.ts.map +1 -1
- package/dist/security/policy-engine.js +42 -185
- package/dist/security/policy-engine.js.map +1 -1
- package/dist/security/policy-serializer.d.ts +19 -0
- package/dist/security/policy-serializer.d.ts.map +1 -0
- package/dist/security/policy-serializer.js +100 -0
- package/dist/security/policy-serializer.js.map +1 -0
- package/dist/security/shell-validator.d.ts +42 -0
- package/dist/security/shell-validator.d.ts.map +1 -0
- package/dist/security/shell-validator.js +231 -0
- package/dist/security/shell-validator.js.map +1 -0
- package/dist/skills/index.d.ts +1 -0
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +1 -0
- package/dist/skills/index.js.map +1 -1
- package/dist/skills/skill-loader.d.ts +38 -2
- package/dist/skills/skill-loader.d.ts.map +1 -1
- package/dist/skills/skill-loader.js +83 -2
- package/dist/skills/skill-loader.js.map +1 -1
- package/dist/skills/subagent-loader.d.ts +66 -0
- package/dist/skills/subagent-loader.d.ts.map +1 -0
- package/dist/skills/subagent-loader.js +143 -0
- package/dist/skills/subagent-loader.js.map +1 -0
- package/dist/steering/flag-manager.d.ts +20 -0
- package/dist/steering/flag-manager.d.ts.map +1 -1
- package/dist/steering/flag-manager.js +94 -11
- package/dist/steering/flag-manager.js.map +1 -1
- package/dist/steering/steering-manager.d.ts +11 -0
- package/dist/steering/steering-manager.d.ts.map +1 -1
- package/dist/steering/steering-manager.js +23 -0
- package/dist/steering/steering-manager.js.map +1 -1
- package/dist/steering/telegram-gateway.d.ts +4 -1
- package/dist/steering/telegram-gateway.d.ts.map +1 -1
- package/dist/steering/telegram-gateway.js +49 -10
- package/dist/steering/telegram-gateway.js.map +1 -1
- package/dist/teams/bridge-watchdog.d.ts.map +1 -1
- package/dist/teams/bridge-watchdog.js +5 -3
- package/dist/teams/bridge-watchdog.js.map +1 -1
- package/dist/teams/gemini-bridge.d.ts.map +1 -1
- package/dist/teams/gemini-bridge.js +9 -4
- package/dist/teams/gemini-bridge.js.map +1 -1
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +2 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/memory-tools.d.ts +16 -0
- package/dist/tools/memory-tools.d.ts.map +1 -0
- package/dist/tools/memory-tools.js +207 -0
- package/dist/tools/memory-tools.js.map +1 -0
- package/dist/tools/notifications.d.ts.map +1 -1
- package/dist/tools/notifications.js +3 -1
- package/dist/tools/notifications.js.map +1 -1
- package/dist/tools/tool-factory.d.ts +36 -0
- package/dist/tools/tool-factory.d.ts.map +1 -0
- package/dist/tools/tool-factory.js +55 -0
- package/dist/tools/tool-factory.js.map +1 -0
- package/dist/types.d.ts +205 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +47 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/errors.d.ts +21 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +29 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/event-filter.d.ts +25 -0
- package/dist/utils/event-filter.d.ts.map +1 -0
- package/dist/utils/event-filter.js +61 -0
- package/dist/utils/event-filter.js.map +1 -0
- package/dist/utils/logger.d.ts +33 -36
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +60 -130
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/validate-job-id.d.ts +6 -0
- package/dist/utils/validate-job-id.d.ts.map +1 -0
- package/dist/utils/validate-job-id.js +10 -0
- package/dist/utils/validate-job-id.js.map +1 -0
- package/package.json +12 -3
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const h of m.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&u(h)}).observe(document,{childList:!0,subtree:!0});function l(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function u(f){if(f.ep)return;f.ep=!0;const m=l(f);fetch(f.href,m)}})();function iT(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var _y={exports:{}},hd={},zy={exports:{}},Cu={exports:{}};Cu.exports;var lE;function tM(){return lE||(lE=1,(function(o,r){(function(){function l(x,z){Object.defineProperty(m.prototype,x,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",z[0],z[1])}})}function u(x){return x===null||typeof x!="object"?null:(x=Ts&&x[Ts]||x["@@iterator"],typeof x=="function"?x:null)}function f(x,z){x=(x=x.constructor)&&(x.displayName||x.name)||"ReactClass";var Q=x+"."+z;wr[Q]||(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.",z,x),wr[Q]=!0)}function m(x,z,Q){this.props=x,this.context=z,this.refs=Je,this.updater=Q||Rr}function h(){}function p(x,z,Q){this.props=x,this.context=z,this.refs=Je,this.updater=Q||Rr}function v(){}function S(x){return""+x}function b(x){try{S(x);var z=!1}catch{z=!0}if(z){z=console;var Q=z.error,te=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return Q.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",te),S(x)}}function E(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===Id?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case O:return"Fragment";case ge:return"Profiler";case I:return"StrictMode";case Re:return"Suspense";case Vt:return"SuspenseList";case ie:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case Be:return"Portal";case nt:return x.displayName||"Context";case le:return(x._context.displayName||"Context")+".Consumer";case Bn:var z=x.render;return x=x.displayName,x||(x=z.displayName||z.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case Zt:return z=x.displayName||null,z!==null?z:E(x.type)||"Memo";case sa:z=x._payload,x=x._init;try{return E(x(z))}catch{}}return null}function D(x){if(x===O)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===sa)return"<...>";try{var z=E(x);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function C(){var x=de.A;return x===null?null:x.getOwner()}function R(){return Error("react-stack-top-frame")}function L(x){if(ws.call(x,"key")){var z=Object.getOwnPropertyDescriptor(x,"key").get;if(z&&z.isReactWarning)return!1}return x.key!==void 0}function j(x,z){function Q(){Or||(Or=!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)",z))}Q.isReactWarning=!0,Object.defineProperty(x,"key",{get:Q,configurable:!0})}function Y(){var x=E(this.type);return Ju[x]||(Ju[x]=!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.")),x=this.props.ref,x!==void 0?x:null}function F(x,z,Q,te,he,Oe){var ye=Q.ref;return x={$$typeof:we,type:x,key:z,props:Q,_owner:te},(ye!==void 0?ye:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:Y}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:he}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Oe}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function G(x,z){return z=F(x.type,z,x.props,x._owner,x._debugStack,x._debugTask),x._store&&(z._store.validated=x._store.validated),z}function W(x){K(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===sa&&(x._payload.status==="fulfilled"?K(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function K(x){return typeof x=="object"&&x!==null&&x.$$typeof===we}function De(x){var z={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(Q){return z[Q]})}function be(x,z){return typeof x=="object"&&x!==null&&x.key!=null?(b(x.key),De(""+x.key)):z.toString(36)}function ee(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(v,v):(x.status="pending",x.then(function(z){x.status==="pending"&&(x.status="fulfilled",x.value=z)},function(z){x.status==="pending"&&(x.status="rejected",x.reason=z)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function ce(x,z,Q,te,he){var Oe=typeof x;(Oe==="undefined"||Oe==="boolean")&&(x=null);var ye=!1;if(x===null)ye=!0;else switch(Oe){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(x.$$typeof){case we:case Be:ye=!0;break;case sa:return ye=x._init,ce(ye(x._payload),z,Q,te,he)}}if(ye){ye=x,he=he(ye);var Xe=te===""?"."+be(ye,0):te;return Ns(he)?(Q="",Xe!=null&&(Q=Xe.replace(Iu,"$&/")+"/"),ce(he,z,Q,"",function(nn){return nn})):he!=null&&(K(he)&&(he.key!=null&&(ye&&ye.key===he.key||b(he.key)),Q=G(he,Q+(he.key==null||ye&&ye.key===he.key?"":(""+he.key).replace(Iu,"$&/")+"/")+Xe),te!==""&&ye!=null&&K(ye)&&ye.key==null&&ye._store&&!ye._store.validated&&(Q._store.validated=2),he=Q),z.push(he)),1}if(ye=0,Xe=te===""?".":te+":",Ns(x))for(var Ce=0;Ce<x.length;Ce++)te=x[Ce],Oe=Xe+be(te,Ce),ye+=ce(te,z,Q,Oe,he);else if(Ce=u(x),typeof Ce=="function")for(Ce===x.entries&&(Uo||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Uo=!0),x=Ce.call(x),Ce=0;!(te=x.next()).done;)te=te.value,Oe=Xe+be(te,Ce++),ye+=ce(te,z,Q,Oe,he);else if(Oe==="object"){if(typeof x.then=="function")return ce(ee(x),z,Q,te,he);throw z=String(x),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return ye}function q(x,z,Q){if(x==null)return x;var te=[],he=0;return ce(x,te,"","",function(Oe){return z.call(Q,Oe,he++)}),te}function ue(x){if(x._status===-1){var z=x._ioInfo;z!=null&&(z.start=z.end=performance.now()),z=x._result;var Q=z();if(Q.then(function(he){if(x._status===0||x._status===-1){x._status=1,x._result=he;var Oe=x._ioInfo;Oe!=null&&(Oe.end=performance.now()),Q.status===void 0&&(Q.status="fulfilled",Q.value=he)}},function(he){if(x._status===0||x._status===-1){x._status=2,x._result=he;var Oe=x._ioInfo;Oe!=null&&(Oe.end=performance.now()),Q.status===void 0&&(Q.status="rejected",Q.reason=he)}}),z=x._ioInfo,z!=null){z.value=Q;var te=Q.displayName;typeof te=="string"&&(z.name=te)}x._status===-1&&(x._status=0,x._result=Q)}if(x._status===1)return z=x._result,z===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?`,z),"default"in z||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'))`,z),z.default;throw x._result}function Z(){var x=de.H;return x===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.`),x}function pe(){de.asyncTransitions--}function Ve(x){if(Cr===null)try{var z=("require"+Math.random()).slice(0,7);Cr=(o&&o[z]).call(o,"timers").setImmediate}catch{Cr=function(te){Ji===!1&&(Ji=!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 he=new MessageChannel;he.port1.onmessage=te,he.port2.postMessage(void 0)}}return Cr(x)}function qe(x){return 1<x.length&&typeof AggregateError=="function"?new AggregateError(x):x[0]}function $(x,z){z!==_o-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. "),_o=z}function oe(x,z,Q){var te=de.actQueue;if(te!==null)if(te.length!==0)try{se(te),Ve(function(){return oe(x,z,Q)});return}catch(he){de.thrownErrors.push(he)}else de.actQueue=null;0<de.thrownErrors.length?(te=qe(de.thrownErrors),de.thrownErrors.length=0,Q(te)):z(x)}function se(x){if(!Rs){Rs=!0;var z=0;try{for(;z<x.length;z++){var Q=x[z];do{de.didUsePromise=!1;var te=Q(!1);if(te!==null){if(de.didUsePromise){x[z]=Q,x.splice(0,z);return}Q=te}else break}while(!0)}x.length=0}catch(he){x.splice(0,z+1),de.thrownErrors.push(he)}finally{Rs=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var we=Symbol.for("react.transitional.element"),Be=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),le=Symbol.for("react.consumer"),nt=Symbol.for("react.context"),Bn=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),Vt=Symbol.for("react.suspense_list"),Zt=Symbol.for("react.memo"),sa=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),Ts=Symbol.iterator,wr={},Rr={isMounted:function(){return!1},enqueueForceUpdate:function(x){f(x,"forceUpdate")},enqueueReplaceState:function(x){f(x,"replaceState")},enqueueSetState:function(x){f(x,"setState")}},Co=Object.assign,Je={};Object.freeze(Je),m.prototype.isReactComponent={},m.prototype.setState=function(x,z){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,z,"setState")},m.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};var Ft={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(zo in Ft)Ft.hasOwnProperty(zo)&&l(zo,Ft[zo]);h.prototype=m.prototype,Ft=p.prototype=new h,Ft.constructor=p,Co(Ft,m.prototype),Ft.isPureReactComponent=!0;var Ns=Array.isArray,Id=Symbol.for("react.client.reference"),de={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ws=Object.prototype.hasOwnProperty,Da=console.createTask?console.createTask:function(){return null};Ft={react_stack_bottom_frame:function(x){return x()}};var Or,Mo,Ju={},Qi=Ft.react_stack_bottom_frame.bind(Ft,R)(),Zi=Da(D(R)),Uo=!1,Iu=/\/+/g,Fi=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},Ji=!1,Cr=null,_o=0,Mr=!1,Rs=!1,Os=typeof queueMicrotask=="function"?function(x){queueMicrotask(function(){return queueMicrotask(x)})}:Ve;Ft=Object.freeze({__proto__:null,c:function(x){return Z().useMemoCache(x)}});var zo={map:q,forEach:function(x,z,Q){q(x,function(){z.apply(this,arguments)},Q)},count:function(x){var z=0;return q(x,function(){z++}),z},toArray:function(x){return q(x,function(z){return z})||[]},only:function(x){if(!K(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};r.Activity=ie,r.Children=zo,r.Component=m,r.Fragment=O,r.Profiler=ge,r.PureComponent=p,r.StrictMode=I,r.Suspense=Re,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=de,r.__COMPILER_RUNTIME=Ft,r.act=function(x){var z=de.actQueue,Q=_o;_o++;var te=de.actQueue=z!==null?z:[],he=!1;try{var Oe=x()}catch(Ce){de.thrownErrors.push(Ce)}if(0<de.thrownErrors.length)throw $(z,Q),x=qe(de.thrownErrors),de.thrownErrors.length=0,x;if(Oe!==null&&typeof Oe=="object"&&typeof Oe.then=="function"){var ye=Oe;return Os(function(){he||Mr||(Mr=!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(Ce,nn){he=!0,ye.then(function(xa){if($(z,Q),Q===0){try{se(te),Ve(function(){return oe(xa,Ce,nn)})}catch(Cs){de.thrownErrors.push(Cs)}if(0<de.thrownErrors.length){var Ku=qe(de.thrownErrors);de.thrownErrors.length=0,nn(Ku)}}else Ce(xa)},function(xa){$(z,Q),0<de.thrownErrors.length&&(xa=qe(de.thrownErrors),de.thrownErrors.length=0),nn(xa)})}}}var Xe=Oe;if($(z,Q),Q===0&&(se(te),te.length!==0&&Os(function(){he||Mr||(Mr=!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(() => ...)"))}),de.actQueue=null),0<de.thrownErrors.length)throw x=qe(de.thrownErrors),de.thrownErrors.length=0,x;return{then:function(Ce,nn){he=!0,Q===0?(de.actQueue=te,Ve(function(){return oe(Xe,Ce,nn)})):Ce(Xe)}}},r.cache=function(x){return function(){return x.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var x=de.getCurrentStack;return x===null?null:x()},r.cloneElement=function(x,z,Q){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var te=Co({},x.props),he=x.key,Oe=x._owner;if(z!=null){var ye;e:{if(ws.call(z,"ref")&&(ye=Object.getOwnPropertyDescriptor(z,"ref").get)&&ye.isReactWarning){ye=!1;break e}ye=z.ref!==void 0}ye&&(Oe=C()),L(z)&&(b(z.key),he=""+z.key);for(Xe in z)!ws.call(z,Xe)||Xe==="key"||Xe==="__self"||Xe==="__source"||Xe==="ref"&&z.ref===void 0||(te[Xe]=z[Xe])}var Xe=arguments.length-2;if(Xe===1)te.children=Q;else if(1<Xe){ye=Array(Xe);for(var Ce=0;Ce<Xe;Ce++)ye[Ce]=arguments[Ce+2];te.children=ye}for(te=F(x.type,he,te,Oe,x._debugStack,x._debugTask),he=2;he<arguments.length;he++)W(arguments[he]);return te},r.createContext=function(x){return x={$$typeof:nt,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:le,_context:x},x._currentRenderer=null,x._currentRenderer2=null,x},r.createElement=function(x,z,Q){for(var te=2;te<arguments.length;te++)W(arguments[te]);te={};var he=null;if(z!=null)for(Ce in Mo||!("__self"in z)||"key"in z||(Mo=!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")),L(z)&&(b(z.key),he=""+z.key),z)ws.call(z,Ce)&&Ce!=="key"&&Ce!=="__self"&&Ce!=="__source"&&(te[Ce]=z[Ce]);var Oe=arguments.length-2;if(Oe===1)te.children=Q;else if(1<Oe){for(var ye=Array(Oe),Xe=0;Xe<Oe;Xe++)ye[Xe]=arguments[Xe+2];Object.freeze&&Object.freeze(ye),te.children=ye}if(x&&x.defaultProps)for(Ce in Oe=x.defaultProps,Oe)te[Ce]===void 0&&(te[Ce]=Oe[Ce]);he&&j(te,typeof x=="function"?x.displayName||x.name||"Unknown":x);var Ce=1e4>de.recentlyCreatedOwnerStacks++;return F(x,he,te,C(),Ce?Error("react-stack-top-frame"):Qi,Ce?Da(D(x)):Zi)},r.createRef=function(){var x={current:null};return Object.seal(x),x},r.forwardRef=function(x){x!=null&&x.$$typeof===Zt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof x!="function"?console.error("forwardRef requires a render function but was given %s.",x===null?"null":typeof x):x.length!==0&&x.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",x.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),x!=null&&x.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var z={$$typeof:Bn,render:x},Q;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return Q},set:function(te){Q=te,x.name||x.displayName||(Object.defineProperty(x,"name",{value:te}),x.displayName=te)}}),z},r.isValidElement=K,r.lazy=function(x){x={_status:-1,_result:x};var z={$$typeof:sa,_payload:x,_init:ue},Q={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return x._ioInfo=Q,z._debugInfo=[{awaited:Q}],z},r.memo=function(x,z){x==null&&console.error("memo: The first argument must be a component. Instead received: %s",x===null?"null":typeof x),z={$$typeof:Zt,type:x,compare:z===void 0?null:z};var Q;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return Q},set:function(te){Q=te,x.name||x.displayName||(Object.defineProperty(x,"name",{value:te}),x.displayName=te)}}),z},r.startTransition=function(x){var z=de.T,Q={};Q._updatedFibers=new Set,de.T=Q;try{var te=x(),he=de.S;he!==null&&he(Q,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&(de.asyncTransitions++,te.then(pe,pe),te.then(v,Fi))}catch(Oe){Fi(Oe)}finally{z===null&&Q._updatedFibers&&(x=Q._updatedFibers.size,Q._updatedFibers.clear(),10<x&&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.")),z!==null&&Q.types!==null&&(z.types!==null&&z.types!==Q.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."),z.types=Q.types),de.T=z}},r.unstable_useCacheRefresh=function(){return Z().useCacheRefresh()},r.use=function(x){return Z().use(x)},r.useActionState=function(x,z,Q){return Z().useActionState(x,z,Q)},r.useCallback=function(x,z){return Z().useCallback(x,z)},r.useContext=function(x){var z=Z();return x.$$typeof===le&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),z.useContext(x)},r.useDebugValue=function(x,z){return Z().useDebugValue(x,z)},r.useDeferredValue=function(x,z){return Z().useDeferredValue(x,z)},r.useEffect=function(x,z){return x==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Z().useEffect(x,z)},r.useEffectEvent=function(x){return Z().useEffectEvent(x)},r.useId=function(){return Z().useId()},r.useImperativeHandle=function(x,z,Q){return Z().useImperativeHandle(x,z,Q)},r.useInsertionEffect=function(x,z){return x==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Z().useInsertionEffect(x,z)},r.useLayoutEffect=function(x,z){return x==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Z().useLayoutEffect(x,z)},r.useMemo=function(x,z){return Z().useMemo(x,z)},r.useOptimistic=function(x,z){return Z().useOptimistic(x,z)},r.useReducer=function(x,z,Q){return Z().useReducer(x,z,Q)},r.useRef=function(x){return Z().useRef(x)},r.useState=function(x){return Z().useState(x)},r.useSyncExternalStore=function(x,z,Q){return Z().useSyncExternalStore(x,z,Q)},r.useTransition=function(){return Z().useTransition()},r.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Cu,Cu.exports)),Cu.exports}var uE;function Hu(){return uE||(uE=1,zy.exports=tM()),zy.exports}var cE;function nM(){if(cE)return hd;cE=1;return(function(){function o(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ue?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case j:return"Fragment";case F:return"Profiler";case Y:return"StrictMode";case De:return"Suspense";case be:return"SuspenseList";case q:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case L:return"Portal";case W:return O.displayName||"Context";case G:return(O._context.displayName||"Context")+".Consumer";case K:var I=O.render;return O=O.displayName,O||(O=I.displayName||I.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case ee:return I=O.displayName||null,I!==null?I:o(O.type)||"Memo";case ce:I=O._payload,O=O._init;try{return o(O(I))}catch{}}return null}function r(O){return""+O}function l(O){try{r(O);var I=!1}catch{I=!0}if(I){I=console;var ge=I.error,le=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ge.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",le),r(O)}}function u(O){if(O===j)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===ce)return"<...>";try{var I=o(O);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function f(){var O=Z.A;return O===null?null:O.getOwner()}function m(){return Error("react-stack-top-frame")}function h(O){if(pe.call(O,"key")){var I=Object.getOwnPropertyDescriptor(O,"key").get;if(I&&I.isReactWarning)return!1}return O.key!==void 0}function p(O,I){function ge(){$||($=!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)",I))}ge.isReactWarning=!0,Object.defineProperty(O,"key",{get:ge,configurable:!0})}function v(){var O=o(this.type);return oe[O]||(oe[O]=!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.")),O=this.props.ref,O!==void 0?O:null}function S(O,I,ge,le,nt,Bn){var Re=ge.ref;return O={$$typeof:R,type:O,key:I,props:ge,_owner:le},(Re!==void 0?Re:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:v}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Bn}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function b(O,I,ge,le,nt,Bn){var Re=I.children;if(Re!==void 0)if(le)if(Ve(Re)){for(le=0;le<Re.length;le++)E(Re[le]);Object.freeze&&Object.freeze(Re)}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 E(Re);if(pe.call(I,"key")){Re=o(O);var Vt=Object.keys(I).filter(function(sa){return sa!=="key"});le=0<Vt.length?"{key: someKey, "+Vt.join(": ..., ")+": ...}":"{key: someKey}",Be[Re+le]||(Vt=0<Vt.length?"{"+Vt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
|
+
let props = %s;
|
|
15
|
+
<%s {...props} />
|
|
16
|
+
React keys must be passed directly to JSX without using spread:
|
|
17
|
+
let props = %s;
|
|
18
|
+
<%s key={someKey} {...props} />`,le,Re,Vt,Re),Be[Re+le]=!0)}if(Re=null,ge!==void 0&&(l(ge),Re=""+ge),h(I)&&(l(I.key),Re=""+I.key),"key"in I){ge={};for(var Zt in I)Zt!=="key"&&(ge[Zt]=I[Zt])}else ge=I;return Re&&p(ge,typeof O=="function"?O.displayName||O.name||"Unknown":O),S(O,Re,ge,f(),nt,Bn)}function E(O){D(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===ce&&(O._payload.status==="fulfilled"?D(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function D(O){return typeof O=="object"&&O!==null&&O.$$typeof===R}var C=Hu(),R=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),W=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),De=Symbol.for("react.suspense"),be=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),Z=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pe=Object.prototype.hasOwnProperty,Ve=Array.isArray,qe=console.createTask?console.createTask:function(){return null};C={react_stack_bottom_frame:function(O){return O()}};var $,oe={},se=C.react_stack_bottom_frame.bind(C,m)(),we=qe(u(m)),Be={};hd.Fragment=j,hd.jsxDEV=function(O,I,ge,le){var nt=1e4>Z.recentlyCreatedOwnerStacks++;return b(O,I,ge,le,nt?Error("react-stack-top-frame"):se,nt?qe(u(O)):we)}})(),hd}var fE;function aM(){return fE||(fE=1,_y.exports=nM()),_y.exports}var A=aM(),J=Hu();const kg=iT(J);var jy={exports:{}},Nu={},Vy={exports:{}},ky={},dE;function oM(){return dE||(dE=1,(function(o){(function(){function r(){if(K=!1,ce){var $=o.unstable_now();Z=$;var oe=!0;try{e:{G=!1,W&&(W=!1,be(q),q=-1),F=!0;var se=Y;try{t:{for(h($),j=u(C);j!==null&&!(j.expirationTime>$&&v());){var we=j.callback;if(typeof we=="function"){j.callback=null,Y=j.priorityLevel;var Be=we(j.expirationTime<=$);if($=o.unstable_now(),typeof Be=="function"){j.callback=Be,h($),oe=!0;break t}j===u(C)&&f(C),h($)}else f(C);j=u(C)}if(j!==null)oe=!0;else{var O=u(R);O!==null&&S(p,O.startTime-$),oe=!1}}break e}finally{j=null,Y=se,F=!1}oe=void 0}}finally{oe?pe():ce=!1}}}function l($,oe){var se=$.length;$.push(oe);e:for(;0<se;){var we=se-1>>>1,Be=$[we];if(0<m(Be,oe))$[we]=oe,$[se]=Be,se=we;else break e}}function u($){return $.length===0?null:$[0]}function f($){if($.length===0)return null;var oe=$[0],se=$.pop();if(se!==oe){$[0]=se;e:for(var we=0,Be=$.length,O=Be>>>1;we<O;){var I=2*(we+1)-1,ge=$[I],le=I+1,nt=$[le];if(0>m(ge,se))le<Be&&0>m(nt,ge)?($[we]=nt,$[le]=se,we=le):($[we]=ge,$[I]=se,we=I);else if(le<Be&&0>m(nt,se))$[we]=nt,$[le]=se,we=le;else break e}}return oe}function m($,oe){var se=$.sortIndex-oe.sortIndex;return se!==0?se:$.id-oe.id}function h($){for(var oe=u(R);oe!==null;){if(oe.callback===null)f(R);else if(oe.startTime<=$)f(R),oe.sortIndex=oe.expirationTime,l(C,oe);else break;oe=u(R)}}function p($){if(W=!1,h($),!G)if(u(C)!==null)G=!0,ce||(ce=!0,pe());else{var oe=u(R);oe!==null&&S(p,oe.startTime-$)}}function v(){return K?!0:!(o.unstable_now()-Z<ue)}function S($,oe){q=De(function(){$(o.unstable_now())},oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;o.unstable_now=function(){return b.now()}}else{var E=Date,D=E.now();o.unstable_now=function(){return E.now()-D}}var C=[],R=[],L=1,j=null,Y=3,F=!1,G=!1,W=!1,K=!1,De=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null,ce=!1,q=-1,ue=5,Z=-1;if(typeof ee=="function")var pe=function(){ee(r)};else if(typeof MessageChannel<"u"){var Ve=new MessageChannel,qe=Ve.port2;Ve.port1.onmessage=r,pe=function(){qe.postMessage(null)}}else pe=function(){De(r,0)};o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function($){$.callback=null},o.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<$?Math.floor(1e3/$):5},o.unstable_getCurrentPriorityLevel=function(){return Y},o.unstable_next=function($){switch(Y){case 1:case 2:case 3:var oe=3;break;default:oe=Y}var se=Y;Y=oe;try{return $()}finally{Y=se}},o.unstable_requestPaint=function(){K=!0},o.unstable_runWithPriority=function($,oe){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var se=Y;Y=$;try{return oe()}finally{Y=se}},o.unstable_scheduleCallback=function($,oe,se){var we=o.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?we+se:we):se=we,$){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=se+Be,$={id:L++,callback:oe,priorityLevel:$,startTime:se,expirationTime:Be,sortIndex:-1},se>we?($.sortIndex=se,l(R,$),u(C)===null&&$===u(R)&&(W?(be(q),q=-1):W=!0,S(p,se-we))):($.sortIndex=Be,l(C,$),G||F||(G=!0,ce||(ce=!0,pe()))),$},o.unstable_shouldYield=v,o.unstable_wrapCallback=function($){var oe=Y;return function(){var se=Y;Y=oe;try{return $.apply(this,arguments)}finally{Y=se}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(ky)),ky}var hE;function rM(){return hE||(hE=1,Vy.exports=oM()),Vy.exports}var Ly={exports:{}},Wt={},mE;function sM(){if(mE)return Wt;mE=1;return(function(){function o(){}function r(E){return""+E}function l(E,D,C){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(R);var L=!1}catch{L=!0}return L&&(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&&R[Symbol.toStringTag]||R.constructor.name||"Object"),r(R)),{$$typeof:S,key:R==null?null:""+R,children:E,containerInfo:D,implementation:C}}function u(E,D){if(E==="font")return"";if(typeof D=="string")return D==="use-credentials"?D:""}function f(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":'something with type "'+typeof E+'"'}function m(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":typeof E=="string"?JSON.stringify(E):typeof E=="number"?"`"+E+"`":'something with type "'+typeof E+'"'}function h(){var E=b.H;return E===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),E}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var p=Hu(),v={d:{f:o,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},S=Symbol.for("react.portal"),b=p.__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"),Wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=v,Wt.createPortal=function(E,D){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11)throw Error("Target container is not a DOM element.");return l(E,D,null,C)},Wt.flushSync=function(E){var D=b.T,C=v.p;try{if(b.T=null,v.p=2,E)return E()}finally{b.T=D,v.p=C,v.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.")}},Wt.preconnect=function(E,D){typeof E=="string"&&E?D!=null&&typeof D!="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.",m(D)):D!=null&&typeof D.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.",f(D.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(E)),typeof E=="string"&&(D?(D=D.crossOrigin,D=typeof D=="string"?D==="use-credentials"?D:"":void 0):D=null,v.d.C(E,D))},Wt.prefetchDNS=function(E){if(typeof E!="string"||!E)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(E));else if(1<arguments.length){var D=arguments[1];typeof D=="object"&&D.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`.",m(D)):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`.",m(D))}typeof E=="string"&&v.d.D(E)},Wt.preinit=function(E,D){if(typeof E=="string"&&E?D==null||typeof D!="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.",m(D)):D.as!=="style"&&D.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".',m(D.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(E)),typeof E=="string"&&D&&typeof D.as=="string"){var C=D.as,R=u(C,D.crossOrigin),L=typeof D.integrity=="string"?D.integrity:void 0,j=typeof D.fetchPriority=="string"?D.fetchPriority:void 0;C==="style"?v.d.S(E,typeof D.precedence=="string"?D.precedence:void 0,{crossOrigin:R,integrity:L,fetchPriority:j}):C==="script"&&v.d.X(E,{crossOrigin:R,integrity:L,fetchPriority:j,nonce:typeof D.nonce=="string"?D.nonce:void 0})}},Wt.preinitModule=function(E,D){var C="";typeof E=="string"&&E||(C+=" The `href` argument encountered was "+f(E)+"."),D!==void 0&&typeof D!="object"?C+=" The `options` argument encountered was "+f(D)+".":D&&"as"in D&&D.as!=="script"&&(C+=" The `as` option encountered was "+m(D.as)+"."),C?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",C):(C=D&&typeof D.as=="string"?D.as:"script",C)==="script"||(C=m(C),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)',C,E)),typeof E=="string"&&(typeof D=="object"&&D!==null?(D.as==null||D.as==="script")&&(C=u(D.as,D.crossOrigin),v.d.M(E,{crossOrigin:C,integrity:typeof D.integrity=="string"?D.integrity:void 0,nonce:typeof D.nonce=="string"?D.nonce:void 0})):D==null&&v.d.M(E))},Wt.preload=function(E,D){var C="";if(typeof E=="string"&&E||(C+=" The `href` argument encountered was "+f(E)+"."),D==null||typeof D!="object"?C+=" The `options` argument encountered was "+f(D)+".":typeof D.as=="string"&&D.as||(C+=" The `as` option encountered was "+f(D.as)+"."),C&&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',C),typeof E=="string"&&typeof D=="object"&&D!==null&&typeof D.as=="string"){C=D.as;var R=u(C,D.crossOrigin);v.d.L(E,C,{crossOrigin:R,integrity:typeof D.integrity=="string"?D.integrity:void 0,nonce:typeof D.nonce=="string"?D.nonce:void 0,type:typeof D.type=="string"?D.type:void 0,fetchPriority:typeof D.fetchPriority=="string"?D.fetchPriority:void 0,referrerPolicy:typeof D.referrerPolicy=="string"?D.referrerPolicy:void 0,imageSrcSet:typeof D.imageSrcSet=="string"?D.imageSrcSet:void 0,imageSizes:typeof D.imageSizes=="string"?D.imageSizes:void 0,media:typeof D.media=="string"?D.media:void 0})}},Wt.preloadModule=function(E,D){var C="";typeof E=="string"&&E||(C+=" The `href` argument encountered was "+f(E)+"."),D!==void 0&&typeof D!="object"?C+=" The `options` argument encountered was "+f(D)+".":D&&"as"in D&&typeof D.as!="string"&&(C+=" The `as` option encountered was "+f(D.as)+"."),C&&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',C),typeof E=="string"&&(D?(C=u(D.as,D.crossOrigin),v.d.m(E,{as:typeof D.as=="string"&&D.as!=="script"?D.as:void 0,crossOrigin:C,integrity:typeof D.integrity=="string"?D.integrity:void 0})):v.d.m(E))},Wt.requestFormReset=function(E){v.d.r(E)},Wt.unstable_batchedUpdates=function(E,D){return E(D)},Wt.useFormState=function(E,D,C){return h().useFormState(E,D,C)},Wt.useFormStatus=function(){return h().useHostTransitionStatus()},Wt.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Wt}var pE;function iM(){return pE||(pE=1,Ly.exports=sM()),Ly.exports}var yE;function lM(){if(yE)return Nu;yE=1;return(function(){function o(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,n,a){if(n>=t.length)return a;var s=t[n],i=Ut(e)?e.slice():Le({},e);return i[s]=r(e[s],t,n+1,a),i}function l(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return u(e,t,n,0)}}function u(e,t,n,a){var s=t[a],i=Ut(e)?e.slice():Le({},e);return a+1===t.length?(i[n[a]]=i[s],Ut(i)?i.splice(s,1):delete i[s]):i[s]=u(e[s],t,n,a+1),i}function f(e,t,n){var a=t[n],s=Ut(e)?e.slice():Le({},e);return n+1===t.length?(Ut(s)?s.splice(a,1):delete s[a],s):(s[a]=f(e[a],t,n+1),s)}function m(){return!1}function h(){return null}function p(){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 v(){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 S(){}function b(){}function E(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function D(e,t,n,a){return new Yw(e,t,n,a)}function C(e,t){e.context===er&&(Km(e.current,2,t,e,null,null),Ps())}function R(e,t){if(Xn!==null){var n=t.staleFamilies;t=t.updatedFamilies,Dl(),mb(e.current,t,n),Ps()}}function L(e){Xn=e}function j(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Y(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function F(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function G(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function W(e){if(Y(e)!==e)throw Error("Unable to find node on an unmounted component.")}function K(e){var t=e.alternate;if(!t){if(t=Y(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return W(s),e;if(i===a)return W(s),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=s,a=i;else{for(var c=!1,d=s.child;d;){if(d===n){c=!0,n=s,a=i;break}if(d===a){c=!0,a=s,n=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===n){c=!0,n=i,a=s;break}if(d===a){c=!0,a=i,n=s;break}d=d.sibling}if(!c)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(n.alternate!==a)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function De(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=De(e),t!==null)return t;e=e.sibling}return null}function be(e){return e===null||typeof e!="object"?null:(e=DS&&e[DS]||e["@@iterator"],typeof e=="function"?e:null)}function ee(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===cO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Js:return"Fragment";case rp:return"Profiler";case sf:return"StrictMode";case ip:return"Suspense";case lp:return"SuspenseList";case up:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Fs:return"Portal";case Ha:return e.displayName||"Context";case sp:return(e._context.displayName||"Context")+".Consumer";case Ml:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lf:return t=e.displayName||null,t!==null?t:ee(e.type)||"Memo";case Un:t=e._payload,e=e._init;try{return ee(e(t))}catch{}}return null}function ce(e){return typeof e.tag=="number"?q(e):typeof e.name=="string"?e.name:null}function q(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ee(t);case 8:return t===sf?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return q(e.return)}return null}function ue(e){return{current:e}}function Z(e,t){0>lo?console.error("Unexpected pop."):(t!==fp[lo]&&console.error("Unexpected Fiber popped."),e.current=cp[lo],cp[lo]=null,fp[lo]=null,lo--)}function pe(e,t,n){lo++,cp[lo]=e.current,fp[lo]=n,e.current=t}function Ve(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function qe(e,t){pe(Zo,t,e),pe(Ul,e,e),pe(Qo,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?$1(t):Ao;break;default:if(n=t.tagName,t=t.namespaceURI)t=$1(t),t=X1(t,n);else switch(n){case"svg":t=Ci;break;case"math":t=sd;break;default:t=Ao}}n=n.toLowerCase(),n=Bv(null,n),n={context:t,ancestorInfo:n},Z(Qo,e),pe(Qo,n,e)}function $(e){Z(Qo,e),Z(Ul,e),Z(Zo,e)}function oe(){return Ve(Qo.current)}function se(e){e.memoizedState!==null&&pe(uf,e,e);var t=Ve(Qo.current),n=e.type,a=X1(t.context,n);n=Bv(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(pe(Ul,e,e),pe(Qo,a,e))}function we(e){Ul.current===e&&(Z(Qo,e),Z(Ul,e)),uf.current===e&&(Z(uf,e),Eu._currentValue=ys)}function Be(){}function O(){if(_l===0){xS=console.log,ES=console.info,AS=console.warn,TS=console.error,NS=console.group,wS=console.groupCollapsed,RS=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_l++}function I(){if(_l--,_l===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Le({},e,{value:xS}),info:Le({},e,{value:ES}),warn:Le({},e,{value:AS}),error:Le({},e,{value:TS}),group:Le({},e,{value:NS}),groupCollapsed:Le({},e,{value:wS}),groupEnd:Le({},e,{value:RS})})}0>_l&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ge(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
23
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
24
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
25
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function le(e){if(dp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);dp=t&&t[1]||"",OS=-1<n.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+dp+e+OS}function nt(e,t){if(!e||hp)return"";var n=mp.get(e);if(n!==void 0)return n;hp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=B.H,B.H=null,O();try{var s={DetermineComponentFrameRoot:function(){try{if(t){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(ne){var V=ne}Reflect.construct(e,[],N)}else{try{N.call()}catch(ne){V=ne}e.call(N.prototype)}}else{try{throw Error()}catch(ne){V=ne}(N=e())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(ne){if(ne&&V&&typeof ne.stack=="string")return[ne.stack,V.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=s.DetermineComponentFrameRoot(),d=c[0],y=c[1];if(d&&y){var g=d.split(`
|
|
28
|
+
`),U=y.split(`
|
|
29
|
+
`);for(c=i=0;i<g.length&&!g[i].includes("DetermineComponentFrameRoot");)i++;for(;c<U.length&&!U[c].includes("DetermineComponentFrameRoot");)c++;if(i===g.length||c===U.length)for(i=g.length-1,c=U.length-1;1<=i&&0<=c&&g[i]!==U[c];)c--;for(;1<=i&&0<=c;i--,c--)if(g[i]!==U[c]){if(i!==1||c!==1)do if(i--,c--,0>c||g[i]!==U[c]){var _=`
|
|
30
|
+
`+g[i].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&mp.set(e,_),_}while(1<=i&&0<=c);break}}}finally{hp=!1,B.H=a,I(),Error.prepareStackTrace=n}return g=(g=e?e.displayName||e.name:"")?le(g):"",typeof e=="function"&&mp.set(e,g),g}function Bn(e,t){switch(e.tag){case 26:case 27:case 5:return le(e.type);case 16:return le("Lazy");case 13:return e.child!==t&&t!==null?le("Suspense Fallback"):le("Suspense");case 19:return le("SuspenseList");case 0:case 15:return nt(e.type,!1);case 11:return nt(e.type.render,!1);case 1:return nt(e.type,!0);case 31:return le("Activity");default:return""}}function Re(e){try{var t="",n=null;do{t+=Bn(e,n);var a=e._debugInfo;if(a)for(var s=a.length-1;0<=s;s--){var i=a[s];if(typeof i.name=="string"){var c=t;e:{var d=i.name,y=i.env,g=i.debugLocation;if(g!=null){var U=ge(g),_=U.lastIndexOf(`
|
|
31
|
+
`),N=_===-1?U:U.slice(_+1);if(N.indexOf(d)!==-1){var V=`
|
|
32
|
+
`+N;break e}}V=le(d+(y?" ["+y+"]":""))}t=c+V}}n=e,e=e.return}while(e);return t}catch(ne){return`
|
|
33
|
+
Error generating stack: `+ne.message+`
|
|
34
|
+
`+ne.stack}}function Vt(e){return(e=e?e.displayName||e.name:"")?le(e):""}function Zt(){if(_n===null)return null;var e=_n._debugOwner;return e!=null?ce(e):null}function sa(){if(_n===null)return"";var e=_n;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=le(e.type);break;case 13:t+=le("Suspense");break;case 19:t+=le("SuspenseList");break;case 31:t+=le("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Vt(e.type));break;case 11:e._debugOwner||t!==""||(t+=Vt(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var s=ge(a);s!==""&&(t+=`
|
|
35
|
+
`+s)}}else if(e.debugStack!=null){var i=e.debugStack;(e=e.owner)&&i&&(t+=`
|
|
36
|
+
`+ge(i))}else break;var c=t}catch(d){c=`
|
|
37
|
+
Error generating stack: `+d.message+`
|
|
38
|
+
`+d.stack}return c}function ie(e,t,n,a,s,i,c){var d=_n;Ts(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,s,i,c)):t(n,a,s,i,c)}finally{Ts(d)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ts(e){B.getCurrentStack=e===null?null:sa,qa=!1,_n=e}function wr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Rr(e){try{return Co(e),!1}catch{return!0}}function Co(e){return""+e}function Je(e,t){if(Rr(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,wr(e)),Co(e)}function Ft(e,t){if(Rr(e))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.",t,wr(e)),Co(e)}function Ns(e){if(Rr(e))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.",wr(e)),Co(e)}function Id(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.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{Ks=t.inject(e),It=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function de(e){if(typeof gO=="function"&&vO(e),It&&typeof It.setStrictMode=="function")try{It.setStrictMode(Ks,e)}catch(t){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",t))}}function ws(e){return e>>>=0,e===0?32:31-(bO(e)/SO|0)|0}function Da(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&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."),e}}function Or(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var s=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?s=Da(a):(c&=d,c!==0?s=Da(c):n||(n=d&~e,n!==0&&(s=Da(n))))):(d=a&~i,d!==0?s=Da(d):c!==0?s=Da(c):n||(n=a&~e,n!==0&&(s=Da(n)))),s===0?0:t!==0&&t!==s&&(t&i)===0&&(i=s&-s,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:s}function Mo(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ju(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Qi(){var e=df;return df<<=1,(df&62914560)===0&&(df=4194304),e}function Zi(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Uo(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Iu(e,t,n,a,s,i){var c=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var d=e.entanglements,y=e.expirationTimes,g=e.hiddenUpdates;for(n=c&~n;0<n;){var U=31-on(n),_=1<<U;d[U]=0,y[U]=-1;var N=g[U];if(N!==null)for(g[U]=null,U=0;U<N.length;U++){var V=N[U];V!==null&&(V.lane&=-536870913)}n&=~_}a!==0&&Fi(e,a,0),i!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function Fi(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-on(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Ji(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-on(n),s=1<<a;s&t|e[a]&t&&(e[a]|=t),n&=~s}}function Cr(e,t){var n=t&-t;return n=(n&42)!==0?1:_o(n),(n&(e.suspendedLanes|t))!==0?0:n}function _o(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Mr(e,t,n){if(Pa)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-on(n),s=1<<a;e[a].add(t),n&=~s}}function Rs(e,t){if(Pa)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var s=31-on(t);e=1<<s,s=n[s],0<s.size&&(s.forEach(function(i){var c=i.alternate;c!==null&&a.has(c)||a.add(i)}),s.clear()),t&=~e}}function Os(e){return e&=-e,Pn<e?Ga<e?(e&134217727)!==0?uo:hf:Ga:Pn}function zo(){var e=Fe.p;return e!==0?e:(e=window.event,e===void 0?uo:mS(e.type))}function x(e,t){var n=Fe.p;try{return Fe.p=e,t()}finally{Fe.p=n}}function z(e){delete e[$t],delete e[rn],delete e[bp],delete e[DO],delete e[xO]}function Q(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jo]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=eS(e);e!==null;){if(n=e[$t])return n;e=eS(e)}return t}e=n,n=e.parentNode}return null}function te(e){if(e=e[$t]||e[Jo]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function he(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Oe(e){var t=e[CS];return t||(t=e[CS]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ye(e){e[zl]=!0}function Xe(e,t){Ce(e,t),Ce(e+"Capture",t)}function Ce(e,t){Qr[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Qr[e]=t;var n=e.toLowerCase();for(Sp[n]=e,e==="onDoubleClick"&&(Sp.ondblclick=e),e=0;e<t.length;e++)MS.add(t[e])}function nn(e,t){EO[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"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`.":"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`."),t.onChange||t.readOnly||t.disabled||t.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 xa(e){return fa.call(_S,e)?!0:fa.call(US,e)?!1:AO.test(e)?_S[e]=!0:(US[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ku(e,t,n){if(xa(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Je(n,t),e===""+n?n:e)}}function Cs(e,t,n){if(xa(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}Je(n,t),e.setAttribute(t,""+n)}}function Wu(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Je(n,t),e.setAttribute(t,""+n)}}function Wa(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Je(a,n),e.setAttributeNS(t,n,""+a)}}function Hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ns(e),e;default:return""}}function Tv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bw(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(c){Ns(c),n=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(c){Ns(c),n=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Kd(e){if(!e._valueTracker){var t=Tv(e)?"checked":"value";e._valueTracker=bw(e,t,""+e[t])}}function Nv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Tv(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function ec(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function qn(e){return e.replace(TO,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function wv(e,t){t.checked===void 0||t.defaultChecked===void 0||jS||(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",Zt()||"A component",t.type),jS=!0),t.value===void 0||t.defaultValue===void 0||zS||(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",Zt()||"A component",t.type),zS=!0)}function Wd(e,t,n,a,s,i,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?(Je(c,"type"),e.type=c):e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Hn(t)):e.value!==""+Hn(t)&&(e.value=""+Hn(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?eh(e,c,Hn(t)):n!=null?eh(e,c,Hn(n)):a!=null&&e.removeAttribute("value"),s==null&&i!=null&&(e.defaultChecked=!!i),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(Je(d,"name"),e.name=""+Hn(d)):e.removeAttribute("name")}function Rv(e,t,n,a,s,i,c,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(Je(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Kd(e);return}n=n!=null?""+Hn(n):"",t=t!=null?""+Hn(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(Je(c,"name"),e.name=c),Kd(e)}function eh(e,t,n){t==="number"&&ec(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ov(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?op.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||kS||(kS=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||LS||(LS=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||VS||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),VS=!0)}function Cv(){var e=Zt();return e?`
|
|
39
|
+
|
|
40
|
+
Check the render method of \``+e+"`.":""}function Ms(e,t,n,a){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Hn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Mv(e,t){for(e=0;e<HS.length;e++){var n=HS[e];if(t[n]!=null){var a=Ut(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Cv()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Cv())}}t.value===void 0||t.defaultValue===void 0||BS||(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"),BS=!0)}function Uv(e,t){t.value===void 0||t.defaultValue===void 0||qS||(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",Zt()||"A component"),qS=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function _v(e,t,n){if(t!=null&&(t=""+Hn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Hn(n):""}function zv(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ut(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Hn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Kd(e)}function jv(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?jv(e.children[0],t):e}function Tn(e){return" "+" ".repeat(e)}function Us(e){return"+ "+" ".repeat(e)}function Ur(e){return"- "+" ".repeat(e)}function Vv(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ii(e,t){return YS.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function tc(e,t,n){var a=120-2*n;if(t===null)return Us(n)+Ii(e,a)+`
|
|
41
|
+
`;if(typeof t=="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>a-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),Us(n)+Ii(e,a)+`
|
|
42
|
+
`+Ur(n)+Ii(t,a)+`
|
|
43
|
+
`}return Tn(n)+Ii(e,a)+`
|
|
44
|
+
`}function th(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Ki(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Ut(e))return"[...]";if(e.$$typeof===Ba)return(t=ee(e.type))?"<"+t+">":"<...>";var n=th(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var s=JSON.stringify(a);if(s!=='"'+a+'"'&&(a=s),t-=a.length-2,s=Ki(e[a],15>t?t:15),t-=s.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+s}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function _s(e,t){return typeof e!="string"||YS.test(e)?"{"+Ki(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function nh(e,t,n){var a=120-n.length-e.length,s=[],i;for(i in t)if(t.hasOwnProperty(i)&&i!=="children"){var c=_s(t[i],120-n.length-i.length-1);a-=i.length+c.length+2,s.push(i+"="+c)}return s.length===0?n+"<"+e+`>
|
|
45
|
+
`:0<a?n+"<"+e+" "+s.join(" ")+`>
|
|
46
|
+
`:n+"<"+e+`
|
|
47
|
+
`+n+" "+s.join(`
|
|
48
|
+
`+n+" ")+`
|
|
49
|
+
`+n+`>
|
|
50
|
+
`}function Sw(e,t,n){var a="",s=Le({},t),i;for(i in e)if(e.hasOwnProperty(i)){delete s[i];var c=120-2*n-i.length-2,d=Ki(e[i],c);t.hasOwnProperty(i)?(c=Ki(t[i],c),a+=Us(n)+i+": "+d+`
|
|
51
|
+
`,a+=Ur(n)+i+": "+c+`
|
|
52
|
+
`):a+=Us(n)+i+": "+d+`
|
|
53
|
+
`}for(var y in s)s.hasOwnProperty(y)&&(e=Ki(s[y],120-2*n-y.length-2),a+=Ur(n)+y+": "+e+`
|
|
54
|
+
`);return a}function Dw(e,t,n,a){var s="",i=new Map;for(g in n)n.hasOwnProperty(g)&&i.set(g.toLowerCase(),g);if(i.size===1&&i.has("children"))s+=nh(e,t,Tn(a));else{for(var c in t)if(t.hasOwnProperty(c)&&c!=="children"){var d=120-2*(a+1)-c.length-1,y=i.get(c.toLowerCase());if(y!==void 0){i.delete(c.toLowerCase());var g=t[c];y=n[y];var U=_s(g,d);d=_s(y,d),typeof g=="object"&&g!==null&&typeof y=="object"&&y!==null&&th(g)==="Object"&&th(y)==="Object"&&(2<Object.keys(g).length||2<Object.keys(y).length||-1<U.indexOf("...")||-1<d.indexOf("..."))?s+=Tn(a+1)+c+`={{
|
|
55
|
+
`+Sw(g,y,a+2)+Tn(a+1)+`}}
|
|
56
|
+
`:(s+=Us(a+1)+c+"="+U+`
|
|
57
|
+
`,s+=Ur(a+1)+c+"="+d+`
|
|
58
|
+
`)}else s+=Tn(a+1)+c+"="+_s(t[c],d)+`
|
|
59
|
+
`}i.forEach(function(_){if(_!=="children"){var N=120-2*(a+1)-_.length-1;s+=Ur(a+1)+_+"="+_s(n[_],N)+`
|
|
60
|
+
`}}),s=s===""?Tn(a)+"<"+e+`>
|
|
61
|
+
`:Tn(a)+"<"+e+`
|
|
62
|
+
`+s+Tn(a)+`>
|
|
63
|
+
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(i="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(i=""+t),s+=tc(i,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=e==null?s+tc(""+t,null,a+1):s+tc(""+t,void 0,a+1)),s}function kv(e,t){var n=Vv(e);if(n===null){for(n="",e=e.child;e;)n+=kv(e,t),e=e.sibling;return n}return Tn(t)+"<"+n+`>
|
|
64
|
+
`}function ah(e,t){var n=jv(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Tn(t)+`...
|
|
65
|
+
`+ah(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var s=0;s<a.length;s++){var i=a[s].name;typeof i=="string"&&(n+=Tn(t)+"<"+i+`>
|
|
66
|
+
`,t++)}if(a="",s=e.fiber.pendingProps,e.fiber.tag===6)a=tc(s,e.serverProps,t),t++;else if(i=Vv(e.fiber),i!==null)if(e.serverProps===void 0){a=t;var c=120-2*a-i.length-2,d="";for(g in s)if(s.hasOwnProperty(g)&&g!=="children"){var y=_s(s[g],15);if(c-=g.length+y.length+2,0>c){d+=" ...";break}d+=" "+g+"="+y}a=Tn(a)+"<"+i+d+`>
|
|
67
|
+
`,t++}else e.serverProps===null?(a=nh(i,s,Us(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(a=Dw(i,s,e.serverProps,t),t++);var g="";for(s=e.fiber.child,i=0;s&&i<e.children.length;)c=e.children[i],c.fiber===s?(g+=ah(c,t),i++):g+=kv(s,t),s=s.sibling;for(s&&0<e.children.length&&(g+=Tn(t)+`...
|
|
68
|
+
`),s=e.serverTail,e.serverProps===null&&t--,e=0;e<s.length;e++)i=s[e],g=typeof i=="string"?g+(Ur(t)+Ii(i,120-2*t)+`
|
|
69
|
+
`):g+nh(i.type,i.props,Ur(t));return n+a+g}function oh(e){try{return`
|
|
70
|
+
|
|
71
|
+
`+ah(e,0)}catch{return""}}function Lv(e,t,n){for(var a=t,s=null,i=0;a;)a===e&&(i=0),s={fiber:a,children:s!==null?[s]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:i},i++,a=a.return;return s!==null?oh(s).replaceAll(/^[+-]/gm,">"):""}function Bv(e,t){var n=Le({},e||GS),a={tag:t};return PS.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),wO.indexOf(t)!==-1&&(n.pTagInButtonScope=null),NO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=a),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Hv(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return RO.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function xw(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function qv(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function rh(e,t){t=t||GS;var n=t.current;if(t=(n=Hv(e,n&&n.tag,t.implicitRootScope)?null:n)?null:xw(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,mf[t])return!1;mf[t]=!0;var s=(t=_n)?qv(t.return,a):null,i=t!==null&&s!==null?Lv(s,t,null):"",c="<"+e+">";return n?(n="",a==="table"&&e==="tr"&&(n+=" 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
|
|
72
|
+
This will cause a hydration error.%s`,c,a,n,i)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
+
This will cause a hydration error.%s`,c,a,i),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||ie(s,function(){console.error(`<%s> cannot contain a nested %s.
|
|
74
|
+
See this log for the ancestor stack trace.`,a,c)})),!1}function nc(e,t,n){if(n||Hv("#text",t,!1))return!0;if(n="#text|"+t,mf[n])return!1;mf[n]=!0;var a=(n=_n)?qv(n,t):null;return n=n!==null&&a!==null?Lv(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
75
|
+
This will cause a hydration error.%s`,t,n):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.
|
|
76
|
+
This will cause a hydration error.%s`,t,n),!1}function Wi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Ew(e){return e.replace(MO,function(t,n){return n.toUpperCase()})}function Yv(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?Ws.hasOwnProperty(t)&&Ws[t]||(Ws[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Ew(t.replace(CO,"ms-")))):OO.test(t)?Ws.hasOwnProperty(t)&&Ws[t]||(Ws[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!QS.test(n)||xp.hasOwnProperty(n)&&xp[n]||(xp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(QS,""))),typeof n=="number"&&(isNaN(n)?ZS||(ZS=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||FS||(FS=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||JS.has(t)?t==="float"?e.cssFloat=n:(Ft(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Pv(e,t,n){if(t!=null&&typeof t!="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(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var s in n)if(n.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var i=Dp[s]||[s],c=0;c<i.length;c++)a[i[c]]=s}for(var d in t)if(t.hasOwnProperty(d)&&(!n||n[d]!==t[d]))for(s=Dp[d]||[d],i=0;i<s.length;i++)a[s[i]]=d;d={};for(var y in t)for(s=Dp[y]||[y],i=0;i<s.length;i++)d[s[i]]=y;y={};for(var g in a)if(s=a[g],(i=d[g])&&s!==i&&(c=s+","+i,!y[c])){y[c]=!0,c=console;var U=t[s];c.error.call(c,"%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.",U==null||typeof U=="boolean"||U===""?"Removing":"Updating",s,i)}}for(var _ in n)!n.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var N in t)g=t[N],t.hasOwnProperty(N)&&n[N]!==g&&Yv(e,N,g)}else for(a in t)t.hasOwnProperty(a)&&Yv(e,a,t[a])}function el(e){if(e.indexOf("-")===-1)return!1;switch(e){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 Gv(e){return UO.get(e)||e}function Aw(e,t){if(fa.call(ti,t)&&ti[t])return!0;if(zO.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=IS.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ti[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),ti[t]=!0}if(_O.test(t)){if(e=t.toLowerCase(),e=IS.hasOwnProperty(e)?e:null,e==null)return ti[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),ti[t]=!0)}return!0}function Tw(e,t){var n=[],a;for(a in t)Aw(e,a)||n.push(a);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Nw(e,t,n,a){if(fa.call(sn,t)&&sn[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),sn[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(s)?e[s]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),sn[t]=!0;if(WS.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),sn[t]=!0}else if(WS.test(t))return jO.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),sn[t]=!0;if(VO.test(t)||kO.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),sn[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),sn[t]=!0;if(s==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),sn[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),sn[t]=!0;if(yf.hasOwnProperty(s)){if(s=yf[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),sn[t]=!0}else if(t!==s)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),sn[t]=!0;switch(t){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 n){case"boolean":switch(t){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:return s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(n?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,t,t,n,t):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.',n,t,t,n,t,t,t),sn[t]=!0)}case"function":case"symbol":return sn[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){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}?",n,t,n==="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".',t,n),sn[t]=!0}}return!0}function ww(e,t,n){var a=[],s;for(s in t)Nw(e,s,t[s],n)||a.push(s);t=a.map(function(i){return"`"+i+"`"}).join(", "),a.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 ",t,e):1<a.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 ",t,e)}function tl(e){return LO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function eo(){}function sh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function $v(e){var t=te(e);if(t&&(e=t.stateNode)){var n=e[rn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Wd(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Je(t,"name"),n=n.querySelectorAll('input[name="'+qn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var s=a[rn]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Wd(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Nv(a)}break e;case"textarea":_v(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ms(e,!!n.multiple,t,!1)}}}function Xv(e,t,n){if(Ep)return e(t,n);Ep=!0;try{var a=e(t);return a}finally{if(Ep=!1,(ni!==null||ai!==null)&&(Ps(),ni&&(t=ni,e=ai,ai=ni=null,$v(t),e)))for(t=0;t<e.length;t++)$v(e[t])}}function nl(e,t){var n=e.stateNode;if(n===null)return null;var a=n[rn]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Qv(){if(gf)return gf;var e,t=Tp,n=t.length,a,s="value"in Io?Io.value:Io.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var c=n-e;for(a=1;a<=c&&t[n-a]===s[i-a];a++);return gf=s.slice(e,1<a?1-a:void 0)}function ac(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function oc(){return!0}function Zv(){return!1}function yn(e){function t(n,a,s,i,c){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?oc:Zv,this.isPropagationStopped=Zv,this}return Le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=oc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=oc)},persist:function(){},isPersistent:oc}),t}function Rw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=IO[e])?!!t[e]:!1}function ih(){return Rw}function Fv(e,t){switch(e){case"keyup":return uC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==aD;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Ow(e,t){switch(e){case"compositionend":return Jv(t);case"keypress":return t.which!==rD?null:(iD=!0,sD);case"textInput":return e=t.data,e===sD&&iD?null:e;default:return null}}function Cw(e,t){if(oi)return e==="compositionend"||!Op&&Fv(e,t)?(e=Qv(),gf=Tp=Io=null,oi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return oD&&t.locale!=="ko"?null:t.data;default:return null}}function Iv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!fC[e.type]:t==="textarea"}function Mw(e){if(!$a)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Kv(e,t,n,a){ni?ai?ai.push(a):ai=[a]:ni=a,t=Jc(t,"onChange"),0<t.length&&(n=new vf("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function Uw(e){z1(e,0)}function rc(e){var t=he(e);if(Nv(t))return e}function Wv(e,t){if(e==="change")return t}function eb(){Hl&&(Hl.detachEvent("onpropertychange",tb),ql=Hl=null)}function tb(e){if(e.propertyName==="value"&&rc(ql)){var t=[];Kv(t,ql,e,sh(e)),Xv(Uw,t)}}function _w(e,t,n){e==="focusin"?(eb(),Hl=t,ql=n,Hl.attachEvent("onpropertychange",tb)):e==="focusout"&&eb()}function zw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rc(ql)}function jw(e,t){if(e==="click")return rc(t)}function Vw(e,t){if(e==="input"||e==="change")return rc(t)}function kw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function al(e,t){if(ln(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var s=n[a];if(!fa.call(t,s)||!ln(e[s],t[s]))return!1}return!0}function nb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ab(e,t){var n=nb(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=nb(n)}}function ob(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ob(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rb(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ec(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ec(e.document)}return t}function lh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function sb(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mp||ri==null||ri!==ec(a)||(a=ri,"selectionStart"in a&&lh(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Yl&&al(Yl,a)||(Yl=a,a=Jc(Cp,"onSelect"),0<a.length&&(t=new vf("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=ri)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function zr(e){if(Up[e])return Up[e];if(!si[e])return e;var t=si[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in uD)return Up[e]=t[n];return e}function ia(e,t){mD.set(e,t),Xe(t,[e])}function Lw(e){for(var t=Sf,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(Ut(a)&&a.length===2&&typeof a[0]=="string"){if(t!==Sf&&t!==kp)return jp;t=kp}else return jp;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==Sf&&t!==Vp)return jp;t=Vp}}return t}function uh(e,t,n,a){for(var s in e)fa.call(e,s)&&s[0]!=="_"&&Ea(s,e[s],t,n,a)}function Ea(e,t,n,a,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Ba){var i=ee(t.type)||"…",c=t.key;t=t.props;var d=Object.keys(t),y=d.length;if(c==null&&y===0){t="<"+i+" />";break}if(3>a||y===1&&d[0]==="children"&&c==null){t="<"+i+" … />";break}n.push([s+" ".repeat(a)+e,"<"+i]),c!==null&&Ea("key",c,n,a+1,s),e=!1;for(var g in t)g==="children"?t.children!=null&&(!Ut(t.children)||0<t.children.length)&&(e=!0):fa.call(t,g)&&g[0]!=="_"&&Ea(g,t[g],n,a+1,s);n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),i==="Array"){if(g=Lw(t),g===Vp||g===Sf){t=JSON.stringify(t);break}else if(g===kp){for(n.push([s+" ".repeat(a)+e,""]),e=0;e<t.length;e++)i=t[e],Ea(i[0],i[1],n,a+1,s);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,Ea(e,t.value,n,a,s),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,Ea(e,t.reason,n,a,s),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push([" ".repeat(a)+e,"Promise"]);return}i==="Object"&&(g=Object.getPrototypeOf(t))&&typeof g.constructor=="function"&&(i=g.constructor.name),n.push([s+" ".repeat(a)+e,i==="Object"?3>a?"":"…":i]),3>a&&uh(t,n,a+1,s);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===vC?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([s+" ".repeat(a)+e,t])}function ib(e,t,n,a){var s=!0;for(c in e)c in t||(n.push([Df+" ".repeat(a)+c,"…"]),s=!1);for(var i in t)if(i in e){var c=e[i],d=t[i];if(c!==d){if(a===0&&i==="children")s=" ".repeat(a)+i,n.push([Df+s,"…"],[xf+s,"…"]);else{if(!(3<=a)){if(typeof c=="object"&&typeof d=="object"&&c!==null&&d!==null&&c.$$typeof===d.$$typeof)if(d.$$typeof===Ba){if(c.type===d.type&&c.key===d.key){c=ee(d.type)||"…",s=" ".repeat(a)+i,c="<"+c+" … />",n.push([Df+s,c],[xf+s,c]),s=!1;continue}}else{var y=Object.prototype.toString.call(c),g=Object.prototype.toString.call(d);if(y===g&&(g==="[object Object]"||g==="[object Array]")){y=[gD+" ".repeat(a)+i,g==="[object Array]"?"Array":""],n.push(y),g=n.length,ib(c,d,n,a+1)?g===n.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof c=="function"&&typeof d=="function"&&c.name===d.name&&c.length===d.length&&(y=Function.prototype.toString.call(c),g=Function.prototype.toString.call(d),y===g)){c=d.name===""?"() => {}":d.name+"() {}",n.push([gD+" ".repeat(a)+i,c+" Referentially unequal function closure. Consider memoization."]);continue}}Ea(i,c,n,a,Df),Ea(i,d,n,a,xf)}s=!1}}else n.push([xf+" ".repeat(a)+i,"…"]),s=!1;return s}function la(e){$e=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Aa(e,t,n,a){rt&&(Wo.start=t,Wo.end=n,co.color="warning",co.tooltipText=a,co.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,Wo)):performance.measure(a,Wo))}function sc(e,t,n){Aa(e,t,n,"Reconnect")}function ic(e,t,n,a,s){var i=q(e);if(i!==null&&rt){var c=e.alternate,d=e.actualDuration;if(c===null||c.child!==e.child)for(var y=e.child;y!==null;y=y.sibling)d-=y.actualDuration;a=.5>d?a?"tertiary-light":"primary-light":10>d?a?"tertiary":"primary":100>d?a?"tertiary-dark":"primary-dark":"error";var g=e.memoizedProps;d=e._debugTask,g!==null&&c!==null&&c.memoizedProps!==g?(y=[bC],g=ib(c.memoizedProps,g,y,0),1<y.length&&(g&&!Ko&&(c.lanes&s)===0&&100<e.actualDuration?(Ko=!0,y[0]=SC,co.color="warning",co.tooltipText=vD):(co.color=a,co.tooltipText=i),co.properties=y,Wo.start=t,Wo.end=n,d!=null?d.run(performance.measure.bind(performance,""+i,Wo)):performance.measure(""+i,Wo))):d!=null?d.run(console.timeStamp.bind(console,i,t,n,Gn,void 0,a)):console.timeStamp(i,t,n,Gn,void 0,a)}}function ch(e,t,n,a){if(rt){var s=q(e);if(s!==null){for(var i=null,c=[],d=0;d<a.length;d++){var y=a[d];i==null&&y.source!==null&&(i=y.source._debugTask),y=y.value,c.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&Ea("key",e.key,c,0,""),e.memoizedProps!==null&&uh(e.memoizedProps,c,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:Gn,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:c}}},i?i.run(performance.measure.bind(performance,""+s,e)):performance.measure(""+s,e)}}}function Ta(e,t,n,a,s){if(s!==null){if(rt){var i=q(e);if(i!==null){a=[];for(var c=0;c<s.length;c++){var d=s[c].value;a.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e.key!==null&&Ea("key",e.key,a,0,""),e.memoizedProps!==null&&uh(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:Gn,tooltipText:"A lifecycle or effect errored",properties:a}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+i,t)):performance.measure(""+i,t)}}}else i=q(e),i!==null&&rt&&(s=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,Gn,void 0,s)):console.timeStamp(i,t,n,Gn,void 0,s))}function Bw(e,t,n,a){if(rt&&!(t<=e)){var s=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",a?a.run(console.timeStamp.bind(console,n,e,t,$e,Pe,s)):console.timeStamp(n,e,t,$e,Pe,s)}}function lb(e,t,n,a){!rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,$e,Pe,n)):console.timeStamp("Prewarm",e,t,$e,Pe,n))}function ub(e,t,n,a){!rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,$e,Pe,n)):console.timeStamp("Suspended",e,t,$e,Pe,n))}function Hw(e,t,n,a,s,i){if(rt&&!(t<=e)){n=[];for(var c=0;c<a.length;c++){var d=a[c].value;n.push(["Recoverable Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:$e,trackGroup:Pe,tooltipText:s?"Hydration Failed":"Recovered after Error",properties:n}}},i?i.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function fh(e,t,n,a){!rt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,$e,Pe,"error")):console.timeStamp("Errored",e,t,$e,Pe,"error"))}function qw(e,t,n,a){!rt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,$e,Pe,"secondary-light")):console.timeStamp(n,e,t,$e,Pe,"secondary-light"))}function cb(e,t,n,a,s){if(rt&&!(t<=e)){for(var i=[],c=0;c<n.length;c++){var d=n[c].value;i.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"error",track:$e,trackGroup:Pe,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:i}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function dh(e,t,n){!rt||t<=e||console.timeStamp("Animating",e,t,$e,Pe,"secondary-dark")}function lc(){for(var e=ii,t=Lp=ii=0;t<e;){var n=$n[t];$n[t++]=null;var a=$n[t];$n[t++]=null;var s=$n[t];$n[t++]=null;var i=$n[t];if($n[t++]=null,a!==null&&s!==null){var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}i!==0&&fb(n,s,i)}}function uc(e,t,n,a){$n[ii++]=e,$n[ii++]=t,$n[ii++]=n,$n[ii++]=a,Lp|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function hh(e,t,n,a){return uc(e,t,n,a),cc(e)}function Jt(e,t){return uc(e,null,null,t),cc(e)}function fb(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var s=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&Pl||(s=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,s&&t!==null&&(s=31-on(n),e=i.hiddenUpdates,a=e[s],a===null?e[s]=[t]:a.push(t),t.lane=n|536870912),i):null}function cc(e){if(yu>VC)throw cs=yu=0,gu=gy=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.");cs>kC&&(cs=0,gu=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.")),e.alternate===null&&(e.flags&4098)!==0&&w1(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&w1(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function jr(e){if(Xn===null)return e;var t=Xn(e);return t===void 0?e:t.current}function mh(e){if(Xn===null)return e;var t=Xn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=jr(e.render),e.render!==t)?(t={$$typeof:Ml,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function db(e,t){if(Xn===null)return!1;var n=e.elementType;t=t.type;var a=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||s===Un)&&(a=!0);break;case 11:(s===Ml||s===Un)&&(a=!0);break;case 14:case 15:(s===lf||s===Un)&&(a=!0);break;default:return!1}return!!(a&&(e=Xn(n),e!==void 0&&e===Xn(t)))}function hb(e){Xn!==null&&typeof WeakSet=="function"&&(li===null&&(li=new WeakSet),li.add(e))}function mb(e,t,n){do{var a=e,s=a.alternate,i=a.child,c=a.sibling,d=a.tag;a=a.type;var y=null;switch(d){case 0:case 15:case 1:y=a;break;case 11:y=a.render}if(Xn===null)throw Error("Expected resolveFamily to be set during hot reload.");var g=!1;if(a=!1,y!==null&&(y=Xn(y),y!==void 0&&(n.has(y)?a=!0:t.has(y)&&(d===1?a=!0:g=!0))),li!==null&&(li.has(e)||s!==null&&li.has(s))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||g)&&(s=Jt(e,2),s!==null&&pt(s,e,2)),i===null||a||mb(i,t,n),c===null)break;e=c}while(!0)}function Yw(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,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,bD||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ph(e){return e=e.prototype,!(!e||!e.isReactComponent)}function to(e,t){var n=e.alternate;switch(n===null?(n=D(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=jr(e.type);break;case 1:n.type=jr(e.type);break;case 11:n.type=mh(e.type)}return n}function pb(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function yh(e,t,n,a,s,i){var c=0,d=e;if(typeof e=="function")ph(e)&&(c=1),d=jr(d);else if(typeof e=="string")c=oe(),c=IR(e,n,c)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case up:return t=D(31,n,t,s),t.elementType=up,t.lanes=i,t;case Js:return Vr(n.children,s,i,t);case sf:c=8,s|=Kt,s|=da;break;case rp:return e=n,a=s,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=D(12,e,t,a|Ue),t.elementType=rp,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case ip:return t=D(13,n,t,s),t.elementType=ip,t.lanes=i,t;case lp:return t=D(19,n,t,s),t.elementType=lp,t.lanes=i,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ha:c=10;break e;case sp:c=9;break e;case Ml:c=11,d=mh(d);break e;case lf:c=14;break e;case Un:c=16,d=null;break e}d="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Ut(e)?n="array":e!==void 0&&e.$$typeof===Ba?(n="<"+(ee(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(c=a?ce(a):null)&&(d+=`
|
|
77
|
+
|
|
78
|
+
Check the render method of \``+c+"`."),c=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+d)),d=null}return t=D(c,n,t,s),t.elementType=e,t.type=d,t.lanes=i,t._debugOwner=a,t}function fc(e,t,n){return t=yh(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Vr(e,t,n,a){return e=D(7,e,a,t),e.lanes=n,e}function gh(e,t,n){return e=D(6,e,null,t),e.lanes=n,e}function yb(e){var t=D(18,null,null,Ee);return t.stateNode=e,t}function vh(e,t,n){return t=D(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nn(e,t){if(typeof e=="object"&&e!==null){var n=Bp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Re(t)},Bp.set(e,t),t)}return{value:e,source:t,stack:Re(t)}}function no(e,t){jo(),ui[ci++]=Gl,ui[ci++]=Ef,Ef=e,Gl=t}function gb(e,t,n){jo(),Qn[Zn++]=ho,Qn[Zn++]=mo,Qn[Zn++]=Fr,Fr=e;var a=ho;e=mo;var s=32-on(a)-1;a&=~(1<<s),n+=1;var i=32-on(t)+s;if(30<i){var c=s-s%5;i=(a&(1<<c)-1).toString(32),a>>=c,s-=c,ho=1<<32-on(t)+s|n<<s|a,mo=i+e}else ho=1<<i|n<<s|a,mo=e}function bh(e){jo(),e.return!==null&&(no(e,1),gb(e,1,0))}function Sh(e){for(;e===Ef;)Ef=ui[--ci],ui[ci]=null,Gl=ui[--ci],ui[ci]=null;for(;e===Fr;)Fr=Qn[--Zn],Qn[Zn]=null,mo=Qn[--Zn],Qn[Zn]=null,ho=Qn[--Zn],Qn[Zn]=null}function vb(){return jo(),Fr!==null?{id:ho,overflow:mo}:null}function bb(e,t){jo(),Qn[Zn++]=ho,Qn[Zn++]=mo,Qn[Zn++]=Fr,ho=t.id,mo=t.overflow,Fr=e}function jo(){He||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function kr(e,t){if(e.return===null){if(zn===null)zn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(zn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");zn.distanceFromLeaf>t&&(zn.distanceFromLeaf=t)}return zn}var n=kr(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Sb(){He&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function dc(e,t){Xa||(e=kr(e,0),e.serverProps=null,t!==null&&(t=K1(t),e.serverTail.push(t)))}function Vo(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=zn;throw a!==null&&(zn=null,n=oh(a)),ol(Nn(Error("Hydration failed because the server rendered "+(t?"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:
|
|
79
|
+
|
|
80
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
81
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
82
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
83
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
84
|
+
- Invalid HTML tag nesting.
|
|
85
|
+
|
|
86
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
87
|
+
|
|
88
|
+
https://react.dev/link/hydration-mismatch`+n),e)),Hp}function Db(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[$t]=e,t[rn]=a,Hm(n,a),n){case"dialog":Ye("cancel",t),Ye("close",t);break;case"iframe":case"object":case"embed":Ye("load",t);break;case"video":case"audio":for(n=0;n<vu.length;n++)Ye(vu[n],t);break;case"source":Ye("error",t);break;case"img":case"image":case"link":Ye("error",t),Ye("load",t);break;case"details":Ye("toggle",t);break;case"input":nn("input",a),Ye("invalid",t),wv(t,a),Rv(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":Ov(t,a);break;case"select":nn("select",a),Ye("invalid",t),Mv(t,a);break;case"textarea":nn("textarea",a),Ye("invalid",t),Uv(t,a),zv(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||L1(t.textContent,n)?(a.popover!=null&&(Ye("beforetoggle",t),Ye("toggle",t)),a.onScroll!=null&&Ye("scroll",t),a.onScrollEnd!=null&&Ye("scrollend",t),a.onClick!=null&&(t.onclick=eo),t=!0):t=!1,t||Vo(e,!0)}function xb(e){for(Xt=e.return;Xt;)switch(Xt.tag){case 5:case 31:case 13:Fn=!1;return;case 27:case 3:Fn=!0;return;default:Xt=Xt.return}}function zs(e){if(e!==Xt)return!1;if(!He)return xb(e),He=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||$m(e.type,e.memoizedProps)),n=!n),n&&st){for(n=st;n;){var a=kr(e,0),s=K1(n);a.serverTail.push(s),n=s.type==="Suspense"?Fm(n):Mn(n.nextSibling)}Vo(e)}if(xb(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");st=Fm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");st=Fm(e)}else t===27?(t=st,Xo(e.type)?(e=Oy,Oy=null,st=e):st=t):st=Xt?Mn(e.stateNode.nextSibling):null;return!0}function Lr(){st=Xt=null,Xa=He=!1}function Dh(){var e=tr;return e!==null&&(dn===null?dn=e:dn.push.apply(dn,e),tr=null),e}function ol(e){tr===null?tr=[e]:tr.push(e)}function xh(){var e=zn;if(e!==null){zn=null;for(var t=oh(e);0<e.children.length;)e=e.children[0];ie(e.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:
|
|
89
|
+
|
|
90
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
91
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
92
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
93
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
94
|
+
- Invalid HTML tag nesting.
|
|
95
|
+
|
|
96
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
97
|
+
|
|
98
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function hc(){fi=Af=null,di=!1}function ko(e,t,n){pe(qp,t._currentValue,e),t._currentValue=n,pe(Yp,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==DD&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=DD}function ao(e,t){e._currentValue=qp.current;var n=Yp.current;Z(Yp,t),e._currentRenderer=n,Z(qp,t)}function Eh(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&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 Ah(e,t,n,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var i=s.dependencies;if(i!==null){var c=s.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=s;for(var y=0;y<t.length;y++)if(d.context===t[y]){i.lanes|=n,d=i.alternate,d!==null&&(d.lanes|=n),Eh(i.return,n,e),a||(c=null);break e}i=d.next}}else if(s.tag===18){if(c=s.return,c===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");c.lanes|=n,i=c.alternate,i!==null&&(i.lanes|=n),Eh(c,n,e),c=null}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}}function js(e,t,n,a){e=null;for(var s=t,i=!1;s!==null;){if(!i){if((s.flags&524288)!==0)i=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var c=s.alternate;if(c===null)throw Error("Should have a current fiber. This is a bug in React.");if(c=c.memoizedProps,c!==null){var d=s.type;ln(s.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(s===uf.current){if(c=s.alternate,c===null)throw Error("Should have a current fiber. This is a bug in React.");c.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Eu):e=[Eu])}s=s.return}e!==null&&Ah(t,e,n,a),t.flags|=262144}function mc(e){for(e=e.firstContext;e!==null;){if(!ln(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Br(e){Af=e,fi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ut(e){return di&&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()."),Eb(Af,e)}function pc(e,t){return Af===null&&Br(e),Eb(e,t)}function Eb(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},fi===null){if(e===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().");fi=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else fi=fi.next=t;return n}function Th(){return{controller:new EC,data:new Map,refCount:0}}function Hr(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function rl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&AC(TC,function(){e.controller.abort()})}function Na(e,t,n){(e&127)!==0?0>Qa&&(Qa=Tt(),Xl=Tf(t),Pp=t,n!=null&&(Gp=q(n)),(Qe&(zt|kn))!==qt&&(yt=!0,ar=$l),e=Nl(),t=Tl(),e!==hi||t!==Ql?hi=-1.1:t!==null&&(ar=$l),Kr=e,Ql=t):(e&4194048)!==0&&0>Jn&&(Jn=Tt(),Zl=Tf(t),xD=t,n!=null&&(ED=q(n)),0>vo)&&(e=Nl(),t=Tl(),(e!==rr||t!==Wr)&&(rr=-1.1),or=e,Wr=t)}function Pw(e){if(0>Qa){Qa=Tt(),Xl=e._debugTask!=null?e._debugTask:null,(Qe&(zt|kn))!==qt&&(ar=$l);var t=Nl(),n=Tl();t!==hi||n!==Ql?hi=-1.1:n!==null&&(ar=$l),Kr=t,Ql=n}0>Jn&&(Jn=Tt(),Zl=e._debugTask!=null?e._debugTask:null,0>vo)&&(e=Nl(),t=Tl(),(e!==rr||t!==Wr)&&(rr=-1.1),or=e,Wr=t)}function oo(){var e=Jr;return Jr=0,e}function yc(e){var t=Jr;return Jr=e,t}function sl(e){var t=Jr;return Jr+=e,t}function gc(){xe=Se=-1.1}function wn(){var e=Se;return Se=-1.1,e}function Rn(e){0<=e&&(Se=e)}function wa(){var e=dt;return dt=-0,e}function Ra(e){0<=e&&(dt=e)}function Oa(){var e=ct;return ct=null,e}function Ca(){var e=yt;return yt=!1,e}function Nh(e){un=Tt(),0>e.actualStartTime&&(e.actualStartTime=un)}function wh(e){if(0<=un){var t=Tt()-un;e.actualDuration+=t,e.selfBaseDuration=t,un=-1}}function Ab(e){if(0<=un){var t=Tt()-un;e.actualDuration+=t,un=-1}}function Ma(){if(0<=un){var e=Tt(),t=e-un;un=-1,Jr+=t,dt+=t,xe=e}}function Tb(e){ct===null&&(ct=[]),ct.push(e),yo===null&&(yo=[]),yo.push(e)}function Ua(){un=Tt(),0>Se&&(Se=un)}function il(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Gw(e,t){if(Jl===null){var n=Jl=[];Xp=0,es=Vm(),mi={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Xp++,t.then(Nb,Nb),t}function Nb(){if(--Xp===0&&(-1<Jn||(vo=-1.1),Jl!==null)){mi!==null&&(mi.status="fulfilled");var e=Jl;Jl=null,es=0,mi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function $w(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(a.status="rejected",a.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),a}function Rh(){var e=ts.current;return e!==null?e:tt.pooledCache}function vc(e,t){t===null?pe(ts,ts.current,e):pe(ts,t.pool,e)}function wb(){var e=Rh();return e===null?null:{parent:At._currentValue,pool:e}}function Rb(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ob(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Cb(e,t,n){B.actQueue!==null&&(B.didUsePromise=!0);var a=e.thenables;if(n=a[n],n===void 0?a.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.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.")),t.then(eo,eo),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var s={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:s}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){s.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ub(e),e;default:if(typeof t.status=="string")t.then(eo,eo);else{if(e=tt,e!==null&&100<e.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.");e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=i}},function(i){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ub(e),e}throw as=t,au=!0,pi}}function Lo(e){try{return CC(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(as=t,au=!0,pi):t}}function Mb(){if(as===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=as;return as=null,au=!1,e}function Ub(e){if(e===pi||e===_f)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 Yt(e){var t=_e;return e!=null&&(_e=t===null?e:t.concat(e)),t}function Oh(){var e=_e;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function bc(e,t,n){for(var a=Object.keys(e.props),s=0;s<a.length;s++){var i=a[s];if(i!=="children"&&i!=="key"){t===null&&(t=fc(e,n.mode,0),t._debugInfo=_e,t.return=n),ie(t,function(c){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",c)},i);break}}}function Sc(e){var t=ou;return ou+=1,yi===null&&(yi=Rb()),Cb(yi,e,t)}function ll(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function _b(e,t){throw t.$$typeof===lO?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
99
|
+
- Multiple copies of the "react" package is used.
|
|
100
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
101
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Dc(e,t){var n=Oh();n!==null?n.run(_b.bind(null,e,t)):_b(e,t)}function zb(e,t){var n=q(e)||"Component";PD[n]||(PD[n]=!0,t=t.displayName||t.name||"Component",e.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.
|
|
102
|
+
root.render(%s)`,t,t,t):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.
|
|
103
|
+
<%s>{%s}</%s>`,t,t,n,t,n))}function xc(e,t){var n=Oh();n!==null?n.run(zb.bind(null,e,t)):zb(e,t)}function jb(e,t){var n=q(e)||"Component";GD[n]||(GD[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
104
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
105
|
+
<%s>%s</%s>`,n,t,n))}function Ec(e,t){var n=Oh();n!==null?n.run(jb.bind(null,e,t)):jb(e,t)}function Vb(e){function t(T,w){if(e){var M=T.deletions;M===null?(T.deletions=[w],T.flags|=16):M.push(w)}}function n(T,w){if(!e)return null;for(;w!==null;)t(T,w),w=w.sibling;return null}function a(T){for(var w=new Map;T!==null;)T.key!==null?w.set(T.key,T):w.set(T.index,T),T=T.sibling;return w}function s(T,w){return T=to(T,w),T.index=0,T.sibling=null,T}function i(T,w,M){return T.index=M,e?(M=T.alternate,M!==null?(M=M.index,M<w?(T.flags|=67108866,w):M):(T.flags|=67108866,w)):(T.flags|=1048576,w)}function c(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function d(T,w,M,P){return w===null||w.tag!==6?(w=gh(M,T.mode,P),w.return=T,w._debugOwner=T,w._debugTask=T._debugTask,w._debugInfo=_e,w):(w=s(w,M),w.return=T,w._debugInfo=_e,w)}function y(T,w,M,P){var ae=M.type;return ae===Js?(w=U(T,w,M.props.children,P,M.key),bc(M,w,T),w):w!==null&&(w.elementType===ae||db(w,M)||typeof ae=="object"&&ae!==null&&ae.$$typeof===Un&&Lo(ae)===w.type)?(w=s(w,M.props),ll(w,M),w.return=T,w._debugOwner=M._owner,w._debugInfo=_e,w):(w=fc(M,T.mode,P),ll(w,M),w.return=T,w._debugInfo=_e,w)}function g(T,w,M,P){return w===null||w.tag!==4||w.stateNode.containerInfo!==M.containerInfo||w.stateNode.implementation!==M.implementation?(w=vh(M,T.mode,P),w.return=T,w._debugInfo=_e,w):(w=s(w,M.children||[]),w.return=T,w._debugInfo=_e,w)}function U(T,w,M,P,ae){return w===null||w.tag!==7?(w=Vr(M,T.mode,P,ae),w.return=T,w._debugOwner=T,w._debugTask=T._debugTask,w._debugInfo=_e,w):(w=s(w,M),w.return=T,w._debugInfo=_e,w)}function _(T,w,M){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=gh(""+w,T.mode,M),w.return=T,w._debugOwner=T,w._debugTask=T._debugTask,w._debugInfo=_e,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ba:return M=fc(w,T.mode,M),ll(M,w),M.return=T,T=Yt(w._debugInfo),M._debugInfo=_e,_e=T,M;case Fs:return w=vh(w,T.mode,M),w.return=T,w._debugInfo=_e,w;case Un:var P=Yt(w._debugInfo);return w=Lo(w),T=_(T,w,M),_e=P,T}if(Ut(w)||be(w))return M=Vr(w,T.mode,M,null),M.return=T,M._debugOwner=T,M._debugTask=T._debugTask,T=Yt(w._debugInfo),M._debugInfo=_e,_e=T,M;if(typeof w.then=="function")return P=Yt(w._debugInfo),T=_(T,Sc(w),M),_e=P,T;if(w.$$typeof===Ha)return _(T,pc(T,w),M);Dc(T,w)}return typeof w=="function"&&xc(T,w),typeof w=="symbol"&&Ec(T,w),null}function N(T,w,M,P){var ae=w!==null?w.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ae!==null?null:d(T,w,""+M,P);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Ba:return M.key===ae?(ae=Yt(M._debugInfo),T=y(T,w,M,P),_e=ae,T):null;case Fs:return M.key===ae?g(T,w,M,P):null;case Un:return ae=Yt(M._debugInfo),M=Lo(M),T=N(T,w,M,P),_e=ae,T}if(Ut(M)||be(M))return ae!==null?null:(ae=Yt(M._debugInfo),T=U(T,w,M,P,null),_e=ae,T);if(typeof M.then=="function")return ae=Yt(M._debugInfo),T=N(T,w,Sc(M),P),_e=ae,T;if(M.$$typeof===Ha)return N(T,w,pc(T,M),P);Dc(T,M)}return typeof M=="function"&&xc(T,M),typeof M=="symbol"&&Ec(T,M),null}function V(T,w,M,P,ae){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return T=T.get(M)||null,d(w,T,""+P,ae);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case Ba:return M=T.get(P.key===null?M:P.key)||null,T=Yt(P._debugInfo),w=y(w,M,P,ae),_e=T,w;case Fs:return T=T.get(P.key===null?M:P.key)||null,g(w,T,P,ae);case Un:var Te=Yt(P._debugInfo);return P=Lo(P),w=V(T,w,M,P,ae),_e=Te,w}if(Ut(P)||be(P))return M=T.get(M)||null,T=Yt(P._debugInfo),w=U(w,M,P,ae,null),_e=T,w;if(typeof P.then=="function")return Te=Yt(P._debugInfo),w=V(T,w,M,Sc(P),ae),_e=Te,w;if(P.$$typeof===Ha)return V(T,w,M,pc(w,P),ae);Dc(w,P)}return typeof P=="function"&&xc(w,P),typeof P=="symbol"&&Ec(w,P),null}function ne(T,w,M,P){if(typeof M!="object"||M===null)return P;switch(M.$$typeof){case Ba:case Fs:b(T,w,M);var ae=M.key;if(typeof ae!="string")break;if(P===null){P=new Set,P.add(ae);break}if(!P.has(ae)){P.add(ae);break}ie(w,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.",ae)});break;case Un:M=Lo(M),ne(T,w,M,P)}return P}function re(T,w,M,P){for(var ae=null,Te=null,ve=null,me=w,Me=w=0,it=null;me!==null&&Me<M.length;Me++){me.index>Me?(it=me,me=null):it=me.sibling;var xt=N(T,me,M[Me],P);if(xt===null){me===null&&(me=it);break}ae=ne(T,xt,M[Me],ae),e&&me&&xt.alternate===null&&t(T,me),w=i(xt,w,Me),ve===null?Te=xt:ve.sibling=xt,ve=xt,me=it}if(Me===M.length)return n(T,me),He&&no(T,Me),Te;if(me===null){for(;Me<M.length;Me++)me=_(T,M[Me],P),me!==null&&(ae=ne(T,me,M[Me],ae),w=i(me,w,Me),ve===null?Te=me:ve.sibling=me,ve=me);return He&&no(T,Me),Te}for(me=a(me);Me<M.length;Me++)it=V(me,T,Me,M[Me],P),it!==null&&(ae=ne(T,it,M[Me],ae),e&&it.alternate!==null&&me.delete(it.key===null?Me:it.key),w=i(it,w,Me),ve===null?Te=it:ve.sibling=it,ve=it);return e&&me.forEach(function(No){return t(T,No)}),He&&no(T,Me),Te}function ot(T,w,M,P){if(M==null)throw Error("An iterable object provided no iterator.");for(var ae=null,Te=null,ve=w,me=w=0,Me=null,it=null,xt=M.next();ve!==null&&!xt.done;me++,xt=M.next()){ve.index>me?(Me=ve,ve=null):Me=ve.sibling;var No=N(T,ve,xt.value,P);if(No===null){ve===null&&(ve=Me);break}it=ne(T,No,xt.value,it),e&&ve&&No.alternate===null&&t(T,ve),w=i(No,w,me),Te===null?ae=No:Te.sibling=No,Te=No,ve=Me}if(xt.done)return n(T,ve),He&&no(T,me),ae;if(ve===null){for(;!xt.done;me++,xt=M.next())ve=_(T,xt.value,P),ve!==null&&(it=ne(T,ve,xt.value,it),w=i(ve,w,me),Te===null?ae=ve:Te.sibling=ve,Te=ve);return He&&no(T,me),ae}for(ve=a(ve);!xt.done;me++,xt=M.next())Me=V(ve,T,me,xt.value,P),Me!==null&&(it=ne(T,Me,xt.value,it),e&&Me.alternate!==null&&ve.delete(Me.key===null?me:Me.key),w=i(Me,w,me),Te===null?ae=Me:Te.sibling=Me,Te=Me);return e&&ve.forEach(function(eM){return t(T,eM)}),He&&no(T,me),ae}function Ge(T,w,M,P){if(typeof M=="object"&&M!==null&&M.type===Js&&M.key===null&&(bc(M,null,T),M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case Ba:var ae=Yt(M._debugInfo);e:{for(var Te=M.key;w!==null;){if(w.key===Te){if(Te=M.type,Te===Js){if(w.tag===7){n(T,w.sibling),P=s(w,M.props.children),P.return=T,P._debugOwner=M._owner,P._debugInfo=_e,bc(M,P,T),T=P;break e}}else if(w.elementType===Te||db(w,M)||typeof Te=="object"&&Te!==null&&Te.$$typeof===Un&&Lo(Te)===w.type){n(T,w.sibling),P=s(w,M.props),ll(P,M),P.return=T,P._debugOwner=M._owner,P._debugInfo=_e,T=P;break e}n(T,w);break}else t(T,w);w=w.sibling}M.type===Js?(P=Vr(M.props.children,T.mode,P,M.key),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=_e,bc(M,P,T),T=P):(P=fc(M,T.mode,P),ll(P,M),P.return=T,P._debugInfo=_e,T=P)}return T=c(T),_e=ae,T;case Fs:e:{for(ae=M,M=ae.key;w!==null;){if(w.key===M)if(w.tag===4&&w.stateNode.containerInfo===ae.containerInfo&&w.stateNode.implementation===ae.implementation){n(T,w.sibling),P=s(w,ae.children||[]),P.return=T,T=P;break e}else{n(T,w);break}else t(T,w);w=w.sibling}P=vh(ae,T.mode,P),P.return=T,T=P}return c(T);case Un:return ae=Yt(M._debugInfo),M=Lo(M),T=Ge(T,w,M,P),_e=ae,T}if(Ut(M))return ae=Yt(M._debugInfo),T=re(T,w,M,P),_e=ae,T;if(be(M)){if(ae=Yt(M._debugInfo),Te=be(M),typeof Te!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ve=Te.call(M);return ve===M?(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ve)!=="[object Generator]")&&(qD||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."),qD=!0):M.entries!==Te||Jp||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Jp=!0),T=ot(T,w,ve,P),_e=ae,T}if(typeof M.then=="function")return ae=Yt(M._debugInfo),T=Ge(T,w,Sc(M),P),_e=ae,T;if(M.$$typeof===Ha)return Ge(T,w,pc(T,M),P);Dc(T,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(ae=""+M,w!==null&&w.tag===6?(n(T,w.sibling),P=s(w,ae),P.return=T,T=P):(n(T,w),P=gh(ae,T.mode,P),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=_e,T=P),c(T)):(typeof M=="function"&&xc(T,M),typeof M=="symbol"&&Ec(T,M),n(T,w))}return function(T,w,M,P){var ae=_e;_e=null;try{ou=0;var Te=Ge(T,w,M,P);return yi=null,Te}catch(it){if(it===pi||it===_f)throw it;var ve=D(29,it,null,T.mode);ve.lanes=P,ve.return=T;var me=ve._debugInfo=_e;if(ve._debugOwner=T._debugOwner,ve._debugTask=T._debugTask,me!=null){for(var Me=me.length-1;0<=Me;Me--)if(typeof me[Me].stack=="string"){ve._debugOwner=me[Me],ve._debugTask=me[Me].debugTask;break}}return ve}finally{_e=ae}}}function kb(e,t){var n=Ut(e);return e=!n&&typeof be(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function Ch(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Bo(e){return{lane:e,tag:XD,payload:null,callback:null,next:null}}function Ho(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Kp===a&&!FD){var s=q(e);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.
|
|
106
|
+
|
|
107
|
+
Please update the following component: %s`,s),FD=!0}return(Qe&zt)!==qt?(s=a.pending,s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=cc(e),fb(e,null,n),t):(uc(e,a,t,n),cc(e))}function ul(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ji(e,n)}}function Ac(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var c={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?s=i=c:i=i.next=c,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cl(){if(Wp){var e=mi;if(e!==null)throw e}}function fl(e,t,n,a){Wp=!1;var s=e.updateQueue;sr=!1,Kp=s.shared;var i=s.firstBaseUpdate,c=s.lastBaseUpdate,d=s.shared.pending;if(d!==null){s.shared.pending=null;var y=d,g=y.next;y.next=null,c===null?i=g:c.next=g,c=y;var U=e.alternate;U!==null&&(U=U.updateQueue,d=U.lastBaseUpdate,d!==c&&(d===null?U.firstBaseUpdate=g:d.next=g,U.lastBaseUpdate=y))}if(i!==null){var _=s.baseState;c=0,U=g=y=null,d=i;do{var N=d.lane&-536870913,V=N!==d.lane;if(V?(ze&N)===N:(a&N)===N){N!==0&&N===es&&(Wp=!0),U!==null&&(U=U.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{N=e;var ne=d,re=t,ot=n;switch(ne.tag){case QD:if(ne=ne.payload,typeof ne=="function"){di=!0;var Ge=ne.call(ot,_,re);if(N.mode&Kt){de(!0);try{ne.call(ot,_,re)}finally{de(!1)}}di=!1,_=Ge;break e}_=ne;break e;case Ip:N.flags=N.flags&-65537|128;case XD:if(Ge=ne.payload,typeof Ge=="function"){if(di=!0,ne=Ge.call(ot,_,re),N.mode&Kt){de(!0);try{Ge.call(ot,_,re)}finally{de(!1)}}di=!1}else ne=Ge;if(ne==null)break e;_=Le({},_,ne);break e;case ZD:sr=!0}}N=d.callback,N!==null&&(e.flags|=64,V&&(e.flags|=8192),V=s.callbacks,V===null?s.callbacks=[N]:V.push(N))}else V={lane:N,tag:d.tag,payload:d.payload,callback:d.callback,next:null},U===null?(g=U=V,y=_):U=U.next=V,c|=N;if(d=d.next,d===null){if(d=s.shared.pending,d===null)break;V=d,d=V.next,V.next=null,s.lastBaseUpdate=V,s.shared.pending=null}}while(!0);U===null&&(y=_),s.baseState=y,s.firstBaseUpdate=g,s.lastBaseUpdate=U,i===null&&(s.shared.lanes=0),ur|=c,e.lanes=c,e.memoizedState=_}Kp=null}function Lb(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Xw(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Lb(n[e],t)}function Bb(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Lb(n[e],t)}function Hb(e,t){var n=Fa;pe(jf,n,e),pe(gi,t,e),Fa=n|t.baseLanes}function Uh(e){pe(jf,Fa,e),pe(gi,gi.current,e)}function _h(e){Fa=jf.current,Z(gi,e),Z(jf,e)}function qo(e){var t=e.alternate;pe(Dt,Dt.current&vi,e),pe(jn,e,e),In===null&&(t===null||gi.current!==null||t.memoizedState!==null)&&(In=e)}function zh(e){pe(Dt,Dt.current,e),pe(jn,e,e),In===null&&(In=e)}function qb(e){e.tag===22?(pe(Dt,Dt.current,e),pe(jn,e,e),In===null&&(In=e)):Yo(e)}function Yo(e){pe(Dt,Dt.current,e),pe(jn,jn.current,e)}function On(e){Z(jn,e),In===e&&(In=null),Z(Dt,e)}function Tc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Qm(n)||Zm(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ke(){var e=k;Wn===null?Wn=[e]:Wn.push(e)}function X(){var e=k;if(Wn!==null&&(Do++,Wn[Do]!==e)){var t=q(Ae);if(!JD.has(t)&&(JD.add(t),Wn!==null)){for(var n="",a=0;a<=Do;a++){var s=Wn[a],i=a===Do?e:s;for(s=a+1+". "+s;30>s.length;)s+=" ";s+=i+`
|
|
108
|
+
`,n+=s}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
|
|
109
|
+
|
|
110
|
+
Previous render Next render
|
|
111
|
+
------------------------------------------------------
|
|
112
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
113
|
+
`,t,n)}}}function Vs(e){e==null||Ut(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",k,typeof e)}function Nc(){var e=q(Ae);KD.has(e)||(KD.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function bt(){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:
|
|
114
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
115
|
+
2. You might be breaking the Rules of Hooks
|
|
116
|
+
3. You might have more than one copy of React in the same app
|
|
117
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function jh(e,t){if(iu)return!1;if(t===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.",k),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
118
|
+
|
|
119
|
+
Previous: %s
|
|
120
|
+
Incoming: %s`,k,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ln(e[n],t[n]))return!1;return!0}function Vh(e,t,n,a,s,i){bo=i,Ae=t,Wn=e!==null?e._debugHookTypes:null,Do=-1,iu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(i=q(Ae),ey.has(i)||(ey.add(i),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.",i===null?"An unknown Component":"<"+i+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e!==null&&e.memoizedState!==null?ny:Wn!==null?WD:ty,rs=i=(t.mode&Kt)!==Ee;var c=Qp(n,a,s);if(rs=!1,Si&&(c=kh(t,n,a,s)),i){de(!0);try{c=kh(t,n,a,s)}finally{de(!1)}}return Yb(e,t),c}function Yb(e,t){t._debugHookTypes=Wn,t.dependencies===null?So!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:So}):t.dependencies._debugThenableState=So,B.H=lu;var n=et!==null&&et.next!==null;if(bo=0,Wn=k=Nt=et=Ae=null,Do=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),kf=!1,su=0,So=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||wt||(e=e.dependencies,e!==null&&mc(e)&&(wt=!0)),au?(au=!1,e=!0):e=!1,e&&(t=q(t)||"Unknown",ID.has(t)||ey.has(t)||(ID.add(t),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 kh(e,t,n,a){Ae=e;var s=0;do{if(Si&&(So=null),su=0,Si=!1,s>=UC)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,iu=!1,Nt=et=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}Do=-1,B.H=ex,i=Qp(t,n,a)}while(Si);return i}function Qw(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?dl(t):t,e=e.useState()[0],(et!==null?et.memoizedState:null)!==e&&(Ae.flags|=1024),t}function Lh(){var e=Lf!==0;return Lf=0,e}function Bh(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&da)!==Ee?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Hh(e){if(kf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}kf=!1}bo=0,Wn=Nt=et=Ae=null,Do=-1,k=null,Si=!1,su=Lf=0,So=null}function an(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?Ae.memoizedState=Nt=e:Nt=Nt.next=e,Nt}function Ie(){if(et===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=Nt===null?Ae.memoizedState:Nt.next;if(t!==null)Nt=t,et=e;else{if(e===null)throw Ae.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},Nt===null?Ae.memoizedState=Nt=e:Nt=Nt.next=e}return Nt}function wc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function dl(e){var t=su;return su+=1,So===null&&(So=Rb()),e=Cb(So,e,t),t=Ae,(Nt===null?t.memoizedState:Nt.next)===null&&(t=t.alternate,B.H=t!==null&&t.memoizedState!==null?ny:ty),e}function Po(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return dl(e);if(e.$$typeof===Ha)return ut(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function qr(e){var t=null,n=Ae.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Ae.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=wc(),Ae.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||iu)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=uO;else n.length!==e&&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.",n.length,e);return t.index++,n}function ua(e,t){return typeof t=="function"?t(e):t}function qh(e,t,n){var a=an();if(n!==void 0){var s=n(t);if(rs){de(!0);try{n(t)}finally{de(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=Kw.bind(null,Ae,e),[a.memoizedState,e]}function ks(e){var t=Ie();return Yh(t,et,e)}function Yh(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var s=e.baseQueue,i=a.pending;if(i!==null){if(s!==null){var c=s.next;s.next=i.next,i.next=c}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=i,a.pending=null}if(i=e.baseState,s===null)e.memoizedState=i;else{t=s.next;var d=c=null,y=null,g=t,U=!1;do{var _=g.lane&-536870913;if(_!==g.lane?(ze&_)===_:(bo&_)===_){var N=g.revertLane;if(N===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),_===es&&(U=!0);else if((bo&N)===N){g=g.next,N===es&&(U=!0);continue}else _={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},y===null?(d=y=_,c=i):y=y.next=_,Ae.lanes|=N,ur|=N;_=g.action,rs&&n(i,_),i=g.hasEagerState?g.eagerState:n(i,_)}else N={lane:_,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},y===null?(d=y=N,c=i):y=y.next=N,Ae.lanes|=_,ur|=_;g=g.next}while(g!==null&&g!==t);if(y===null?c=i:y.next=d,!ln(i,e.memoizedState)&&(wt=!0,U&&(n=mi,n!==null)))throw n;e.memoizedState=i,e.baseState=c,e.baseQueue=y,a.lastRenderedState=i}return s===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function hl(e){var t=Ie(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var c=s=s.next;do i=e(i,c.action),c=c.next;while(c!==s);ln(i,t.memoizedState)||(wt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function Ph(e,t,n){var a=Ae,s=an();if(He){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();bi||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),bi=!0)}else{if(i=t(),bi||(n=t(),ln(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),bi=!0)),tt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ze&127)!==0||Pb(a,t,i)}return s.memoizedState=i,n={value:i,getSnapshot:t},s.queue=n,Mc($b.bind(null,a,n,e),[e]),a.flags|=2048,Bs(Kn|fn,{destroy:void 0},Gb.bind(null,a,n,i,t),null),i}function Rc(e,t,n){var a=Ae,s=Ie(),i=He;if(i){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!bi){var c=t();ln(n,c)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),bi=!0)}(c=!ln((et||s).memoizedState,n))&&(s.memoizedState=n,wt=!0),s=s.queue;var d=$b.bind(null,a,s,e);if(gn(2048,fn,d,[e]),s.getSnapshot!==t||c||Nt!==null&&Nt.memoizedState.tag&Kn){if(a.flags|=2048,Bs(Kn|fn,{destroy:void 0},Gb.bind(null,a,s,n,t),null),tt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(bo&127)!==0||Pb(a,t,n)}return n}function Pb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t=wc(),Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Gb(e,t,n,a){t.value=n,t.getSnapshot=a,Xb(t)&&Qb(e)}function $b(e,t,n){return n(function(){Xb(t)&&(Na(2,"updateSyncExternalStore()",e),Qb(e))})}function Xb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ln(e,n)}catch{return!0}}function Qb(e){var t=Jt(e,2);t!==null&&pt(t,e,2)}function Gh(e){var t=an();if(typeof e=="function"){var n=e;if(e=n(),rs){de(!0);try{n()}finally{de(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e},t}function $h(e){e=Gh(e);var t=e.queue,n=d0.bind(null,Ae,t);return t.dispatch=n,[e.memoizedState,n]}function Xh(e){var t=an();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=sm.bind(null,Ae,!0,n),n.dispatch=t,[e,t]}function Zb(e,t){var n=Ie();return Fb(n,et,e,t)}function Fb(e,t,n,a){return e.baseState=n,Yh(e,et,typeof a=="function"?a:ua)}function Jb(e,t){var n=Ie();return et!==null?Fb(n,et,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Zw(e,t,n,a,s){if(kc(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var i={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};B.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,Ib(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Ib(e,t){var n=t.action,a=t.payload,s=e.state;if(t.isTransition){var i=B.T,c={};c._updatedFibers=new Set,B.T=c;try{var d=n(s,a),y=B.S;y!==null&&y(c,d),Kb(e,t,d)}catch(g){Qh(e,t,g)}finally{i!==null&&c.types!==null&&(i.types!==null&&i.types!==c.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."),i.types=c.types),B.T=i,i===null&&c._updatedFibers&&(e=c._updatedFibers.size,c._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{c=n(s,a),Kb(e,t,c)}catch(g){Qh(e,t,g)}}function Kb(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(B.asyncTransitions++,n.then(Vc,Vc),n.then(function(a){Wb(e,t,a)},function(a){return Qh(e,t,a)}),t.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.")):Wb(e,t,n)}function Wb(e,t,n){t.status="fulfilled",t.value=n,e0(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Ib(e,n)))}function Qh(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,e0(t),t=t.next;while(t!==a)}e.action=null}function e0(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function t0(e,t){return t}function Ls(e,t){if(He){var n=tt.formState;if(n!==null){e:{var a=Ae;if(He){if(st){t:{for(var s=st,i=Fn;s.nodeType!==8;){if(!i){s=null;break t}if(s=Mn(s.nextSibling),s===null){s=null;break t}}i=s.data,s=i===Ty||i===Bx?s:null}if(s){st=Mn(s.nextSibling),a=s.data===Ty;break e}}Vo(a)}a=!1}a&&(t=n[0])}}return n=an(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t0,lastRenderedState:t},n.queue=a,n=d0.bind(null,Ae,a),a.dispatch=n,a=Gh(!1),i=sm.bind(null,Ae,!1,a.queue),a=an(),s={state:t,dispatch:null,action:e,pending:null},a.queue=s,n=Zw.bind(null,Ae,s,i,n),s.dispatch=n,a.memoizedState=e,[t,n,!1]}function Oc(e){var t=Ie();return n0(t,et,e)}function n0(e,t,n){if(t=Yh(e,t,t0)[0],e=ks(ua)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=dl(t)}catch(c){throw c===pi?_f:c}else a=t;t=Ie();var s=t.queue,i=s.dispatch;return n!==t.memoizedState&&(Ae.flags|=2048,Bs(Kn|fn,{destroy:void 0},Fw.bind(null,s,n),null)),[a,i,e]}function Fw(e,t){e.action=t}function Cc(e){var t=Ie(),n=et;if(n!==null)return n0(t,n,e);Ie(),t=t.memoizedState,n=Ie();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Bs(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Ae.updateQueue,t===null&&(t=wc(),Ae.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Zh(e){var t=an();return e={current:e},t.memoizedState=e}function Yr(e,t,n,a){var s=an();Ae.flags|=e,s.memoizedState=Bs(Kn|t,{destroy:void 0},n,a===void 0?null:a)}function gn(e,t,n,a){var s=Ie();a=a===void 0?null:a;var i=s.memoizedState.inst;et!==null&&a!==null&&jh(a,et.memoizedState.deps)?s.memoizedState=Bs(t,i,n,a):(Ae.flags|=e,s.memoizedState=Bs(Kn|t,i,n,a))}function Mc(e,t){(Ae.mode&da)!==Ee?Yr(276826112,fn,e,t):Yr(8390656,fn,e,t)}function Jw(e){Ae.flags|=4;var t=Ae.updateQueue;if(t===null)t=wc(),Ae.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Fh(e){var t=an(),n={impl:e};return t.memoizedState=n,function(){if((Qe&zt)!==qt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function Uc(e){var t=Ie().memoizedState;return Jw({ref:t,nextImpl:e}),function(){if((Qe&zt)!==qt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Jh(e,t){var n=4194308;return(Ae.mode&da)!==Ee&&(n|=134217728),Yr(n,Vn,e,t)}function a0(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.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(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Ih(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var a=4194308;(Ae.mode&da)!==Ee&&(a|=134217728),Yr(a,Vn,a0.bind(null,t,e),n)}function _c(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,gn(4,Vn,a0.bind(null,t,e),n)}function Kh(e,t){return an().memoizedState=[e,t===void 0?null:t],e}function zc(e,t){var n=Ie();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&jh(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Wh(e,t){var n=an();t=t===void 0?null:t;var a=e();if(rs){de(!0);try{e()}finally{de(!1)}}return n.memoizedState=[a,t],a}function jc(e,t){var n=Ie();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&jh(t,a[1]))return a[0];if(a=e(),rs){de(!0);try{e()}finally{de(!1)}}return n.memoizedState=[a,t],a}function em(e,t){var n=an();return tm(n,e,t)}function o0(e,t){var n=Ie();return s0(n,et.memoizedState,e,t)}function r0(e,t){var n=Ie();return et===null?tm(n,e,t):s0(n,et.memoizedState,e,t)}function tm(e,t,n){return n===void 0||(bo&1073741824)!==0&&(ze&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=i1(),Ae.lanes|=e,ur|=e,n)}function s0(e,t,n,a){return ln(n,t)?n:gi.current!==null?(e=tm(e,n,a),ln(e,t)||(wt=!0),e):(bo&42)===0||(bo&1073741824)!==0&&(ze&261930)===0?(wt=!0,e.memoizedState=n):(e=i1(),Ae.lanes|=e,ur|=e,t)}function Vc(){B.asyncTransitions--}function i0(e,t,n,a,s){var i=Fe.p;Fe.p=i!==0&&i<Ga?i:Ga;var c=B.T,d={};d._updatedFibers=new Set,B.T=d,sm(e,!1,t,n);try{var y=s(),g=B.S;if(g!==null&&g(d,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){B.asyncTransitions++,y.then(Vc,Vc);var U=$w(y,a);ml(e,t,U,Cn(e))}else ml(e,t,a,Cn(e))}catch(_){ml(e,t,{then:function(){},status:"rejected",reason:_},Cn(e))}finally{Fe.p=i,c!==null&&d.types!==null&&(c.types!==null&&c.types!==d.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."),c.types=d.types),B.T=c,c===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function nm(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=l0(e).queue;Pw(e),i0(e,s,t,ys,n===null?S:function(){return u0(e),n(a)})}function l0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ys,baseState:ys,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:ys},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ua,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function u0(e){B.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=l0(e);t.next===null&&(t=e.alternate.memoizedState),ml(e,t.next.queue,{},Cn(e))}function am(){var e=Gh(!1);return e=i0.bind(null,Ae,e.queue,!0,!1),an().memoizedState=e,[!1,e]}function c0(){var e=ks(ua)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:dl(e),t]}function f0(){var e=hl(ua)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:dl(e),t]}function Pr(){return ut(Eu)}function om(){var e=an(),t=tt.identifierPrefix;if(He){var n=mo,a=ho;n=(a&~(1<<32-on(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Lf++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=MC++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function rm(){return an().memoizedState=Iw.bind(null,Ae)}function Iw(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Cn(n),s=Bo(a),i=Ho(n,s,a);i!==null&&(Na(a,"refresh()",e),pt(i,n,a),ul(i,n,a)),e=Th(),t!=null&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}n=n.return}}function Kw(e,t,n){var a=arguments;typeof a[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()."),a=Cn(e);var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};kc(e)?h0(t,s):(s=hh(e,t,s,a),s!==null&&(Na(a,"dispatch()",e),pt(s,e,a),m0(s,t,a)))}function d0(e,t,n){var a=arguments;typeof a[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()."),a=Cn(e),ml(e,t,n,a)&&Na(a,"setState()",e)}function ml(e,t,n,a){var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(kc(e))h0(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var c=B.H;B.H=ma;try{var d=t.lastRenderedState,y=i(d,n);if(s.hasEagerState=!0,s.eagerState=y,ln(y,d))return uc(e,t,s,0),tt===null&&lc(),!1}catch{}finally{B.H=c}}if(n=hh(e,t,s,a),n!==null)return pt(n,e,a),m0(n,t,a),!0}return!1}function sm(e,t,n,a){if(B.T===null&&es===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."),a={lane:2,revertLane:Vm(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},kc(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=hh(e,n,a,2),t!==null&&(Na(2,"setOptimistic()",e),pt(t,e,2))}function kc(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function h0(e,t){Si=kf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function m0(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ji(e,n)}}function im(e){if(e!==null&&typeof e!="function"){var t=String(e);fx.has(t)||(fx.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function lm(e,t,n,a){var s=e.memoizedState,i=n(a,s);if(e.mode&Kt){de(!0);try{i=n(a,s)}finally{de(!1)}}i===void 0&&(t=ee(t)||"Component",ix.has(t)||(ix.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=i==null?s:Le({},s,i),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function p0(e,t,n,a,s,i,c){var d=e.stateNode;if(typeof d.shouldComponentUpdate=="function"){if(n=d.shouldComponentUpdate(a,i,c),e.mode&Kt){de(!0);try{n=d.shouldComponentUpdate(a,i,c)}finally{de(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ee(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!al(n,a)||!al(s,i):!0}function y0(e,t,n,a){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==s&&(e=q(e)||"Component",nx.has(e)||(nx.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),ay.enqueueReplaceState(t,t.state,null))}function Gr(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=Le({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function g0(e){zp(e),console.warn(`%s
|
|
121
|
+
|
|
122
|
+
%s
|
|
123
|
+
`,Di?"An error occurred in the <"+Di+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
124
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function v0(e){var t=Di?"The above error occurred in the <"+Di+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((oy||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Qx+" "+e[0],Zx,ud+a+ud,Fx):e.splice(0,0,Qx,Zx,ud+a+ud,Fx),e.unshift(console),a=KC.apply(console.error,e),a()}else console.error(`%o
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
`,e,t,n)}function b0(e){zp(e)}function Lc(e,t){try{Di=t.source?q(t.source):null,oy=null;var n=t.value;if(B.actQueue!==null)B.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function S0(e,t,n){try{Di=n.source?q(n.source):null,oy=q(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function um(e,t,n){return n=Bo(n),n.tag=Ip,n.payload={element:null},n.callback=function(){ie(t.source,Lc,e,t)},n}function cm(e){return e=Bo(e),e.tag=Ip,e}function fm(e,t,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var i=a.value;e.payload=function(){return s(i)},e.callback=function(){hb(n),ie(a.source,S0,t,n,a)}}var c=n.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){hb(n),ie(a.source,S0,t,n,a),typeof s!="function"&&(fr===null?fr=new Set([this]):fr.add(this)),wC(this,a),typeof s=="function"||(n.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.",q(n)||"Unknown")})}function Ww(e,t,n,a,s){if(n.flags|=32768,Pa&&xl(e,s),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&js(t,n,s,!0),He&&(Xa=!0),n=jn.current,n!==null){switch(n.tag){case 31:case 13:return In===null?Qc():n.alternate===null&&ht===Eo&&(ht=qf),n.flags&=-257,n.flags|=65536,n.lanes=s,a===zf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Um(e,a,s)),!1;case 22:return n.flags|=65536,a===zf?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Um(e,a,s)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Um(e,a,s),Qc(),!1}if(He)return Xa=!0,t=jn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,a!==Hp&&ol(Nn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==Hp&&ol(Nn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,a=Nn(a,n),s=um(e.stateNode,a,s),Ac(e,s),ht!==ir&&(ht=ss)),!1;var i=Nn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(mu===null?mu=[i]:mu.push(i),ht!==ir&&(ht=ss),t===null)return!0;a=Nn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=um(n.stateNode,a,e),Ac(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(fr===null||!fr.has(i))))return n.flags|=65536,s&=-s,n.lanes|=s,s=cm(s),fm(s,e,n,a),Ac(n,s),!1}n=n.return}while(n!==null);return!1}function Pt(e,t,n,a){t.child=e===null?$D(t,null,n,a):os(t,e.child,n,a)}function D0(e,t,n,a,s){n=n.render;var i=t.ref;if("ref"in a){var c={};for(var d in a)d!=="ref"&&(c[d]=a[d])}else c=a;return Br(t),a=Vh(e,t,n,c,i,s),d=Lh(),e!==null&&!wt?(Bh(e,t,s),ro(e,t,s)):(He&&d&&bh(t),t.flags|=1,Pt(e,t,a,s),t.child)}function x0(e,t,n,a,s){if(e===null){var i=n.type;return typeof i=="function"&&!ph(i)&&i.defaultProps===void 0&&n.compare===null?(n=jr(i),t.tag=15,t.type=n,hm(t,i),E0(e,t,n,a,s)):(e=yh(n.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!bm(e,s)){var c=i.memoizedProps;if(n=n.compare,n=n!==null?n:al,n(c,a)&&e.ref===t.ref)return ro(e,t,s)}return t.flags|=1,e=to(i,a),e.ref=t.ref,e.return=t,t.child=e}function E0(e,t,n,a,s){if(e!==null){var i=e.memoizedProps;if(al(i,a)&&e.ref===t.ref&&t.type===e.type)if(wt=!1,t.pendingProps=a=i,bm(e,s))(e.flags&131072)!==0&&(wt=!0);else return t.lanes=e.lanes,ro(e,t,s)}return dm(e,t,n,a,s)}function A0(e,t,n,a){var s=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Pl,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){for(a=t.child=e.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~i}else a=0,t.child=null;return T0(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&vc(t,i!==null?i.cachePool:null),i!==null?Hb(t,i):Uh(t),qb(t);else return a=t.lanes=536870912,T0(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(vc(t,i.cachePool),Hb(t,i),Yo(t),t.memoizedState=null):(e!==null&&vc(t,null),Uh(t),Yo(t));return Pt(e,t,s,n),t.child}function pl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Pl,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function T0(e,t,n,a,s){var i=Rh();return i=i===null?null:{parent:At._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&vc(t,null),Uh(t),qb(t),e!==null&&js(e,t,a,!0),t.childLanes=s,null}function Bc(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
135
|
+
- <Activity %s>
|
|
136
|
+
+ <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=qc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function N0(e,t,n){return os(t,e.child,null,n),e=Bc(t,t.pendingProps),e.flags|=2,On(t),t.memoizedState=null,e}function eR(e,t,n){var a=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(He){if(a.mode==="hidden")return e=Bc(t,a),t.lanes=536870912,pl(null,e);if(zh(t),(e=st)?(n=I1(e,Fn),n=n!==null&&n.data===ds?n:null,n!==null&&(a={dehydrated:n,treeContext:vb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=yb(n),a.return=t,t.child=a,Xt=t,st=null)):n=null,n===null)throw dc(t,e),Vo(t);return t.lanes=536870912,null}return Bc(t,a)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(zh(t),s)if(t.flags&256)t.flags&=-257,t=N0(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Sb(),(n&536870912)!==0&&Xc(t),wt||js(e,t,n,!1),s=(n&e.childLanes)!==0,wt||s){if(a=tt,a!==null&&(c=Cr(a,n),c!==0&&c!==i.retryLane))throw i.retryLane=c,Jt(e,c),pt(a,e,c),ry;Qc(),t=N0(e,t,n)}else e=i.treeContext,st=Mn(c.nextSibling),Xt=t,He=!0,tr=null,Xa=!1,zn=null,Fn=!1,e!==null&&bb(t,e),t=Bc(t,a),t.flags|=4096;return t}return i=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Xc(t),e=to(i,a),e.ref=t.ref,t.child=e,e.return=t,e}function Hc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function dm(e,t,n,a,s){if(n.prototype&&typeof n.prototype.render=="function"){var i=ee(n)||"Unknown";dx[i]||(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.",i,i),dx[i]=!0)}return t.mode&Kt&&ha.recordLegacyContextWarning(t,null),e===null&&(hm(t,t.type),n.contextTypes&&(i=ee(n)||"Unknown",mx[i]||(mx[i]=!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)",i)))),Br(t),n=Vh(e,t,n,a,void 0,s),a=Lh(),e!==null&&!wt?(Bh(e,t,s),ro(e,t,s)):(He&&a&&bh(t),t.flags|=1,Pt(e,t,n,s),t.child)}function w0(e,t,n,a,s,i){return Br(t),Do=-1,iu=e!==null&&e.type!==t.type,t.updateQueue=null,n=kh(t,a,n,s),Yb(e,t),a=Lh(),e!==null&&!wt?(Bh(e,t,i),ro(e,t,i)):(He&&a&&bh(t),t.flags|=1,Pt(e,t,n,i),t.child)}function R0(e,t,n,a,s){switch(h(t)){case!1:var i=t.stateNode,c=new t.type(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,c,null);break;case!0:t.flags|=128,t.flags|=65536,i=Error("Simulated error coming from DevTools");var d=s&-s;if(t.lanes|=d,c=tt,c===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");d=cm(d),fm(d,c,t,Nn(i,t)),Ac(t,d)}if(Br(t),t.stateNode===null){if(c=er,i=n.contextType,"contextType"in n&&i!==null&&(i===void 0||i.$$typeof!==Ha)&&!cx.has(n)&&(cx.add(n),d=i===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 i!="object"?" However, it is set to a "+typeof i+".":i.$$typeof===sp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ee(n)||"Component",d)),typeof i=="object"&&i!==null&&(c=ut(i)),i=new n(a,c),t.mode&Kt){de(!0);try{i=new n(a,c)}finally{de(!1)}}if(c=t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=ay,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=tx,typeof n.getDerivedStateFromProps=="function"&&c===null&&(c=ee(n)||"Component",ax.has(c)||(ax.add(c),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.",c,i.state===null?"null":"undefined",c))),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"){var y=d=c=null;if(typeof i.componentWillMount=="function"&&i.componentWillMount.__suppressDeprecationWarning!==!0?c="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(c="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps.__suppressDeprecationWarning!==!0?d="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(d="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),c!==null||d!==null||y!==null){i=ee(n)||"Component";var g=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";rx.has(i)||(rx.add(i),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
137
|
+
|
|
138
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
139
|
+
|
|
140
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
141
|
+
https://react.dev/link/unsafe-component-lifecycles`,i,g,c!==null?`
|
|
142
|
+
`+c:"",d!==null?`
|
|
143
|
+
`+d:"",y!==null?`
|
|
144
|
+
`+y:""))}}i=t.stateNode,c=ee(n)||"Component",i.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",c):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",c)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.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?",c),i.getDefaultProps&&!i.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.",c),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),n.childContextTypes&&!ux.has(n)&&(ux.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",c)),n.contextTypes&&!lx.has(n)&&(lx.add(n),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)",c)),typeof i.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.",c),n.prototype&&n.prototype.isPureReactComponent&&typeof i.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.",ee(n)||"A pure component"),typeof i.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof i.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().",c),typeof i.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof i.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c),d=i.props!==a,i.props!==void 0&&d&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c),i.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.",c,c),typeof i.getSnapshotBeforeUpdate!="function"||typeof i.componentDidUpdate=="function"||ox.has(n)||(ox.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ee(n))),typeof i.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof i.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c),(d=i.state)&&(typeof d!="object"||Ut(d))&&console.error("%s.state: must be set to an object or null",c),typeof i.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c),i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},Ch(t),c=n.contextType,i.context=typeof c=="object"&&c!==null?ut(c):er,i.state===a&&(c=ee(n)||"Component",sx.has(c)||(sx.add(c),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.",c))),t.mode&Kt&&ha.recordLegacyContextWarning(t,i),ha.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,c=n.getDerivedStateFromProps,typeof c=="function"&&(lm(t,n,c,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",q(t)||"Component"),ay.enqueueReplaceState(i,i.state,null)),fl(t,a,i,s),cl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ee&&(t.flags|=134217728),i=!0}else if(e===null){i=t.stateNode;var U=t.memoizedProps;d=Gr(n,U),i.props=d;var _=i.context;y=n.contextType,c=er,typeof y=="object"&&y!==null&&(c=ut(y)),g=n.getDerivedStateFromProps,y=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function",U=t.pendingProps!==U,y||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(U||_!==c)&&y0(t,i,a,c),sr=!1;var N=t.memoizedState;i.state=N,fl(t,a,i,s),cl(),_=t.memoizedState,U||N!==_||sr?(typeof g=="function"&&(lm(t,n,g,a),_=t.memoizedState),(d=sr||p0(t,n,d,a,N,_,c))?(y||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ee&&(t.flags|=134217728)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ee&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=_),i.props=a,i.state=_,i.context=c,i=d):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&da)!==Ee&&(t.flags|=134217728),i=!1)}else{i=t.stateNode,Mh(e,t),c=t.memoizedProps,y=Gr(n,c),i.props=y,g=t.pendingProps,N=i.context,_=n.contextType,d=er,typeof _=="object"&&_!==null&&(d=ut(_)),U=n.getDerivedStateFromProps,(_=typeof U=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==g||N!==d)&&y0(t,i,a,d),sr=!1,N=t.memoizedState,i.state=N,fl(t,a,i,s),cl();var V=t.memoizedState;c!==g||N!==V||sr||e!==null&&e.dependencies!==null&&mc(e.dependencies)?(typeof U=="function"&&(lm(t,n,U,a),V=t.memoizedState),(y=sr||p0(t,n,y,a,N,V,d)||e!==null&&e.dependencies!==null&&mc(e.dependencies))?(_||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,V,d),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,V,d)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=V),i.props=a,i.state=V,i.context=d,i=y):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&N===e.memoizedState||(t.flags|=1024),i=!1)}if(d=i,Hc(e,t),c=(t.flags&128)!==0,d||c){if(d=t.stateNode,Ts(t),c&&typeof n.getDerivedStateFromError!="function")n=null,un=-1;else if(n=MD(d),t.mode&Kt){de(!0);try{MD(d)}finally{de(!1)}}t.flags|=1,e!==null&&c?(t.child=os(t,e.child,null,s),t.child=os(t,null,n,s)):Pt(e,t,n,s),t.memoizedState=d.state,e=t.child}else e=ro(e,t,s);return s=t.stateNode,i&&s.props!==a&&(xi||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",q(t)||"a component"),xi=!0),e}function O0(e,t,n,a){return Lr(),t.flags|=256,Pt(e,t,n,a),t.child}function hm(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
145
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ee(t)||"Unknown",px[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),px[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ee(t)||"Unknown",hx[t]||(console.error("%s: Function components do not support contextType.",t),hx[t]=!0))}function mm(e){return{baseLanes:e,cachePool:wb()}}function pm(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=xn),e}function C0(e,t,n){var a,s=t.pendingProps;m(t)&&(t.flags|=128);var i=!1,c=(t.flags&128)!==0;if((a=c)||(a=e!==null&&e.memoizedState===null?!1:(Dt.current&ru)!==0),a&&(i=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(He){if(i?qo(t):Yo(t),(e=st)?(n=I1(e,Fn),n=n!==null&&n.data!==ds?n:null,n!==null&&(a={dehydrated:n,treeContext:vb(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=yb(n),a.return=t,t.child=a,Xt=t,st=null)):n=null,n===null)throw dc(t,e),Vo(t);return Zm(n)?t.lanes=32:t.lanes=536870912,null}var d=s.children;if(s=s.fallback,i){Yo(t);var y=t.mode;return d=qc({mode:"hidden",children:d},y),s=Vr(s,y,n,null),d.return=t,s.return=t,d.sibling=s,t.child=d,s=t.child,s.memoizedState=mm(n),s.childLanes=pm(e,a,n),t.memoizedState=sy,pl(null,s)}return qo(t),ym(t,d)}var g=e.memoizedState;if(g!==null){var U=g.dehydrated;if(U!==null){if(c)t.flags&256?(qo(t),t.flags&=-257,t=gm(e,t,n)):t.memoizedState!==null?(Yo(t),t.child=e.child,t.flags|=128,t=null):(Yo(t),d=s.fallback,y=t.mode,s=qc({mode:"visible",children:s.children},y),d=Vr(d,y,n,null),d.flags|=2,s.return=t,d.return=t,s.sibling=d,t.child=s,os(t,e.child,null,n),s=t.child,s.memoizedState=mm(n),s.childLanes=pm(e,a,n),t.memoizedState=sy,t=pl(null,s));else if(qo(t),Sb(),(n&536870912)!==0&&Xc(t),Zm(U)){if(a=U.nextSibling&&U.nextSibling.dataset,a){d=a.dgst;var _=a.msg;y=a.stck;var N=a.cstck}i=_,a=d,s=y,U=N,d=i,y=U,d=Error(d||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),d.stack=s||"",d.digest=a,a=y===void 0?null:y,s={value:d,source:null,stack:a},typeof a=="string"&&Bp.set(d,s),ol(s),t=gm(e,t,n)}else if(wt||js(e,t,n,!1),a=(n&e.childLanes)!==0,wt||a){if(a=tt,a!==null&&(s=Cr(a,n),s!==0&&s!==g.retryLane))throw g.retryLane=s,Jt(e,s),pt(a,e,s),ry;Qm(U)||Qc(),t=gm(e,t,n)}else Qm(U)?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,st=Mn(U.nextSibling),Xt=t,He=!0,tr=null,Xa=!1,zn=null,Fn=!1,e!==null&&bb(t,e),t=ym(t,s.children),t.flags|=4096);return t}}return i?(Yo(t),d=s.fallback,y=t.mode,N=e.child,U=N.sibling,s=to(N,{mode:"hidden",children:s.children}),s.subtreeFlags=N.subtreeFlags&65011712,U!==null?d=to(U,d):(d=Vr(d,y,n,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,pl(null,s),s=t.child,d=e.child.memoizedState,d===null?d=mm(n):(y=d.cachePool,y!==null?(N=At._currentValue,y=y.parent!==N?{parent:N,pool:N}:y):y=wb(),d={baseLanes:d.baseLanes|n,cachePool:y}),s.memoizedState=d,s.childLanes=pm(e,a,n),t.memoizedState=sy,pl(e.child,s)):(g!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Xc(t),qo(t),n=e.child,e=n.sibling,n=to(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function ym(e,t){return t=qc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function qc(e,t){return e=D(22,e,null,t),e.lanes=0,e}function gm(e,t,n){return os(t,e.child,null,n),e=ym(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function M0(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Eh(e.return,t,n)}function vm(e,t,n,a,s,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=n,c.tailMode=s,c.treeForkCount=i)}function U0(e,t,n){var a=t.pendingProps,s=a.revealOrder,i=a.tail,c=a.children,d=Dt.current;if((a=(d&ru)!==0)?(d=d&vi|ru,t.flags|=128):d&=vi,pe(Dt,d,t),d=s??"null",s!=="forwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!yx[d])if(yx[d]=!0,s==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(s==="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 s=="string")switch(s.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.',s,s.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.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);d=i??"null",Hf[d]||(i==null?(s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&(Hf[d]=!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".')):i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(Hf[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(Hf[d]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&c!==void 0&&c!==null&&c!==!1)if(Ut(c)){for(d=0;d<c.length;d++)if(!kb(c[d],d))break e}else if(d=be(c),typeof d=="function"){if(d=d.call(c))for(var y=d.next(),g=0;!y.done;y=d.next()){if(!kb(y.value,g))break e;g++}}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?',s);if(Pt(e,t,c,n),He?(jo(),c=Gl):c=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&M0(e,n,t);else if(e.tag===19)M0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Tc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),vm(t,!1,s,n,i,c);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Tc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}vm(t,!0,n,null,i,c);break;case"together":vm(t,!1,null,null,void 0,c);break;default:t.memoizedState=null}return t.child}function ro(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),un=-1,ur|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(js(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=to(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=to(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function bm(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&mc(e)))}function tR(e,t,n){switch(t.tag){case 3:qe(t,t.stateNode.containerInfo),ko(t,At,e.memoizedState.cache),Lr();break;case 27:case 5:se(t);break;case 4:qe(t,t.stateNode.containerInfo);break;case 10:ko(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,zh(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(qo(t),t.flags|=128,null):(n&t.child.childLanes)!==0?C0(e,t,n):(qo(t),e=ro(e,t,n),e!==null?e.sibling:null);qo(t);break;case 19:var s=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(js(e,t,n,!1),a=(n&t.childLanes)!==0),s){if(a)return U0(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),pe(Dt,Dt.current,t),a)break;return null;case 22:return t.lanes=0,A0(e,t,n,t.pendingProps);case 24:ko(t,At,e.memoizedState.cache)}return ro(e,t,n)}function Sm(e,t,n){if(t._debugNeedsRemount&&e!==null){n=yh(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var s=a.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)wt=!0;else{if(!bm(e,n)&&(t.flags&128)===0)return wt=!1,tR(e,t,n);wt=(e.flags&131072)!==0}else wt=!1,(a=He)&&(jo(),a=(t.flags&1048576)!==0),a&&(a=t.index,jo(),gb(t,Gl,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Lo(t.elementType),t.type=e,typeof e=="function")ph(e)?(a=Gr(e,a),t.tag=1,t.type=e=jr(e),t=R0(null,t,e,a,n)):(t.tag=0,hm(t,e),t.type=e=jr(e),t=dm(null,t,e,a,n));else{if(e!=null){if(s=e.$$typeof,s===Ml){t.tag=11,t.type=e=mh(e),t=D0(null,t,e,a,n);break e}else if(s===lf){t.tag=14,t=x0(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Un&&(t=" Did you wrap a component in React.lazy() more than once?"),n=ee(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return dm(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,s=Gr(a,t.pendingProps),R0(e,t,a,s,n);case 3:e:{if(qe(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var i=t.memoizedState;s=i.element,Mh(e,t),fl(t,a,null,n);var c=t.memoizedState;if(a=c.cache,ko(t,At,a),a!==i.cache&&Ah(t,[At],n,!0),cl(),a=c.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=O0(e,t,a,n);break e}else if(a!==s){s=Nn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),ol(s),t=O0(e,t,a,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,st=Mn(e.firstChild),Xt=t,He=!0,tr=null,Xa=!1,zn=null,Fn=!0,n=$D(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Lr(),a===s){t=ro(e,t,n);break e}Pt(e,t,a,n)}t=t.child}return t;case 26:return Hc(e,t),e===null?(n=aS(t.type,null,t.pendingProps,null))?t.memoizedState=n:He||(n=t.type,e=t.pendingProps,a=Ve(Zo.current),a=Ic(a).createElement(n),a[$t]=t,a[rn]=e,Gt(a,n,e),ye(a),t.stateNode=a):t.memoizedState=aS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&He&&(a=Ve(Zo.current),s=oe(),a=t.stateNode=tS(t.type,t.pendingProps,a,s,!1),Xa||(s=P1(a,t.type,t.pendingProps,s),s!==null&&(kr(t,0).serverProps=s)),Xt=t,Fn=!0,s=st,Xo(t.type)?(Oy=s,st=Mn(a.firstChild)):st=s),Pt(e,t,t.pendingProps.children,n),Hc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&He&&(i=oe(),a=rh(t.type,i.ancestorInfo),s=st,(c=!s)||(c=PR(s,t.type,t.pendingProps,Fn),c!==null?(t.stateNode=c,Xa||(i=P1(c,t.type,t.pendingProps,i),i!==null&&(kr(t,0).serverProps=i)),Xt=t,st=Mn(c.firstChild),Fn=!1,i=!0):i=!1,c=!i),c&&(a&&dc(t,s),Vo(t))),se(t),s=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,a=i.children,$m(s,i)?a=null:c!==null&&$m(s,c)&&(t.flags|=32),t.memoizedState!==null&&(s=Vh(e,t,Qw,null,null,n),Eu._currentValue=s),Hc(e,t),Pt(e,t,a,n),t.child;case 6:return e===null&&He&&(n=t.pendingProps,e=oe(),a=e.ancestorInfo.current,n=a!=null?nc(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=st,(a=!e)||(a=GR(e,t.pendingProps,Fn),a!==null?(t.stateNode=a,Xt=t,st=null,a=!0):a=!1,a=!a),a&&(n&&dc(t,e),Vo(t))),null;case 13:return C0(e,t,n);case 4:return qe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=os(t,null,a,n):Pt(e,t,a,n),t.child;case 11:return D0(e,t,t.type,t.pendingProps,n);case 7:return Pt(e,t,t.pendingProps,n),t.child;case 8:return Pt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,Pt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,s=t.pendingProps,i=s.value,"value"in s||gx||(gx=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),ko(t,a,i),Pt(e,t,s.children,n),t.child;case 9:return s=t.type._context,a=t.pendingProps.children,typeof a!="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."),Br(t),s=ut(s),a=Qp(a,s,void 0),t.flags|=1,Pt(e,t,a,n),t.child;case 14:return x0(e,t,t.type,t.pendingProps,n);case 15:return E0(e,t,t.type,t.pendingProps,n);case 19:return U0(e,t,n);case 31:return eR(e,t,n);case 22:return A0(e,t,n,t.pendingProps);case 24:return Br(t),a=ut(At),e===null?(s=Rh(),s===null&&(s=tt,i=Th(),s.pooledCache=i,Hr(i),i!==null&&(s.pooledCacheLanes|=n),s=i),t.memoizedState={parent:a,cache:s},Ch(t),ko(t,At,s)):((e.lanes&n)!==0&&(Mh(e,t),fl(t,null,null,n),cl()),s=e.memoizedState,i=t.memoizedState,s.parent!==a?(s={parent:a,cache:a},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),ko(t,At,a)):(a=i.cache,ko(t,At,a),a!==s.cache&&Ah(t,[At],n,!0))),Pt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function so(e){e.flags|=4}function Dm(e,t,n,a,s){if((t=(e.mode&xC)!==Ee)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(f1())e.flags|=8192;else throw as=zf,Fp}else e.flags&=-16777217}function _0(e,t){if(t.type!=="stylesheet"||(t.state.loading&ea)!==ps)e.flags&=-16777217;else if(e.flags|=16777216,!lS(t))if(f1())e.flags|=8192;else throw as=zf,Fp}function Yc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Qi():536870912,e.lanes|=t,us|=t)}function yl(e,t){if(!He)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function at(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&Ue)!==Ee){for(var s=e.selfBaseDuration,i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,s+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&Ue)!==Ee){s=e.actualDuration,i=e.selfBaseDuration;for(var c=e.child;c!==null;)n|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,s+=c.actualDuration,i+=c.treeBaseDuration,c=c.sibling;e.actualDuration=s,e.treeBaseDuration=i}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function nR(e,t,n){var a=t.pendingProps;switch(Sh(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return at(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ao(At,t),$(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zs(t)?(xh(),so(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Dh())),at(t),null;case 26:var s=t.type,i=t.memoizedState;return e===null?(so(t),i!==null?(at(t),_0(t,i)):(at(t),Dm(t,s,null,a,n))):i?i!==e.memoizedState?(so(t),at(t),_0(t,i)):(at(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&so(t),at(t),Dm(t,s,e,a,n)),null;case 27:if(we(t),n=Ve(Zo.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&so(t);else{if(!a){if(t.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 at(t),null}e=oe(),zs(t)?Db(t):(e=tS(s,a,n,e,!0),t.stateNode=e,so(t))}return at(t),null;case 5:if(we(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&so(t);else{if(!a){if(t.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 at(t),null}var c=oe();if(zs(t))Db(t);else{switch(i=Ve(Zo.current),rh(s,c.ancestorInfo),c=c.context,i=Ic(i),c){case Ci:i=i.createElementNS(ei,s);break;case sd:i=i.createElementNS(pf,s);break;default:switch(s){case"svg":i=i.createElementNS(ei,s);break;case"math":i=i.createElementNS(pf,s);break;case"script":i=i.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?i.createElement(s,{is:a.is}):i.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||fa.call(qx,s)||(qx[s]=!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.",s)))}}i[$t]=t,i[rn]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(Gt(i,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&so(t)}}return at(t),Dm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&so(t);else{if(typeof a!="string"&&t.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(e=Ve(Zo.current),n=oe(),zs(t)){if(e=t.stateNode,n=t.memoizedProps,s=!Xa,a=null,i=Xt,i!==null)switch(i.tag){case 3:s&&(s=W1(e,n,a),s!==null&&(kr(t,0).serverProps=s));break;case 27:case 5:a=i.memoizedProps,s&&(s=W1(e,n,a),s!==null&&(kr(t,0).serverProps=s))}e[$t]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||L1(e.nodeValue,n)),e||Vo(t,!0)}else s=n.ancestorInfo.current,s!=null&&nc(a,s.tag,n.ancestorInfo.implicitRootScope),e=Ic(e).createTextNode(a),e[$t]=t,t.stateNode=e}return at(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=zs(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[$t]=t,at(t),(t.mode&Ue)!==Ee&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else xh(),Lr(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,at(t),(t.mode&Ue)!==Ee&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Dh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(On(t),t):(On(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return at(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=a,i=zs(t),s!==null&&s.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[$t]=t,at(t),(t.mode&Ue)!==Ee&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else xh(),Lr(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,at(t),(t.mode&Ue)!==Ee&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=Dh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(On(t),t):(On(t),null)}return On(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Ue)!==Ee&&il(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==s&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Yc(t,t.updateQueue),at(t),(t.mode&Ue)!==Ee&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return $(t),e===null&&Lm(t.stateNode.containerInfo),at(t),null;case 10:return ao(t.type,t),at(t),null;case 19:if(Z(Dt,t),a=t.memoizedState,a===null)return at(t),null;if(s=(t.flags&128)!==0,i=a.rendering,i===null)if(s)yl(a,!1);else{if(ht!==Eo||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Tc(e),i!==null){for(t.flags|=128,yl(a,!1),e=i.updateQueue,t.updateQueue=e,Yc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)pb(n,e),n=n.sibling;return pe(Dt,Dt.current&vi|ru,t),He&&no(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Lt()>Qf&&(t.flags|=128,s=!0,yl(a,!1),t.lanes=4194304)}else{if(!s)if(e=Tc(i),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Yc(t,e),yl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!He)return at(t),null}else 2*Lt()-a.renderingStartTime>Qf&&n!==536870912&&(t.flags|=128,s=!0,yl(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Lt(),e.sibling=null,n=Dt.current,n=s?n&vi|ru:n&vi,pe(Dt,n,t),He&&no(t,a.treeForkCount),e):(at(t),null);case 22:case 23:return On(t),_h(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),n=t.updateQueue,n!==null&&Yc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Z(ts,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ao(At,t),at(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function aR(e,t){switch(Sh(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ue)!==Ee&&il(t),t):null;case 3:return ao(At,t),$(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return we(t),null;case 31:if(t.memoizedState!==null){if(On(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Lr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ue)!==Ee&&il(t),t):null;case 13:if(On(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Lr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ue)!==Ee&&il(t),t):null;case 19:return Z(Dt,t),null;case 4:return $(t),null;case 10:return ao(t.type,t),null;case 22:case 23:return On(t),_h(t),e!==null&&Z(ts,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ue)!==Ee&&il(t),t):null;case 24:return ao(At,t),null;case 25:return null;default:return null}}function z0(e,t){switch(Sh(t),t.tag){case 3:ao(At,t),$(t);break;case 26:case 27:case 5:we(t);break;case 4:$(t);break;case 31:t.memoizedState!==null&&On(t);break;case 13:On(t);break;case 19:Z(Dt,t);break;case 10:ao(t.type,t);break;case 22:case 23:On(t),_h(t),e!==null&&Z(ts,t);break;case 24:ao(At,t)}}function _a(e){return(e.mode&Ue)!==Ee}function j0(e,t){_a(e)?(Ua(),gl(t,e),Ma()):gl(t,e)}function xm(e,t,n){_a(e)?(Ua(),Hs(n,e,t),Ma()):Hs(n,e,t)}function gl(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var s=a.next;n=s;do{if((n.tag&e)===e&&(a=void 0,(e&cn)!==Vf&&(wi=!0),a=ie(t,RC,n),(e&cn)!==Vf&&(wi=!1),a!==void 0&&typeof a!="function")){var i=void 0;i=(n.tag&Vn)!==0?"useLayoutEffect":(n.tag&cn)!==0?"useInsertionEffect":"useEffect";var c=void 0;c=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
|
|
146
|
+
|
|
147
|
+
It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
+
|
|
149
|
+
`+i+`(() => {
|
|
150
|
+
async function fetchData() {
|
|
151
|
+
// You can await here
|
|
152
|
+
const response = await MyAPI.getData(someId);
|
|
153
|
+
// ...
|
|
154
|
+
}
|
|
155
|
+
fetchData();
|
|
156
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
157
|
+
|
|
158
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,ie(t,function(d,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",d,y)},i,c)}n=n.next}while(n!==s)}}catch(d){Ze(t,t.return,d)}}function Hs(e,t,n){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var i=s.next;a=i;do{if((a.tag&e)===e){var c=a.inst,d=c.destroy;d!==void 0&&(c.destroy=void 0,(e&cn)!==Vf&&(wi=!0),s=t,ie(s,OC,s,n,d),(e&cn)!==Vf&&(wi=!1))}a=a.next}while(a!==i)}}catch(y){Ze(t,t.return,y)}}function V0(e,t){_a(e)?(Ua(),gl(t,e),Ma()):gl(t,e)}function Em(e,t,n){_a(e)?(Ua(),Hs(n,e,t),Ma()):Hs(n,e,t)}function k0(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||xi||(n.props!==e.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.",q(e)||"instance"),n.state!==e.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.",q(e)||"instance"));try{ie(e,Bb,t,n)}catch(a){Ze(e,e.return,a)}}}function oR(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function rR(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||xi||(t.props!==e.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.",q(e)||"instance"),t.state!==e.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.",q(e)||"instance"));try{var s=Gr(e.type,n),i=ie(e,oR,t,s,a);n=vx,i!==void 0||n.has(e.type)||(n.add(e.type),ie(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",q(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(c){Ze(e,e.return,c)}}function L0(e,t,n){n.props=Gr(e.type,e.memoizedProps),n.state=e.memoizedState,_a(e)?(Ua(),ie(e,kD,e,t,n),Ma()):ie(e,kD,e,t,n)}function sR(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(_a(e))try{Ua(),e.refCleanup=t(n)}finally{Ma()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",q(e)),t.current=n}}function vl(e,t){try{ie(e,sR,e)}catch(n){Ze(e,t,n)}}function za(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(_a(e))try{Ua(),ie(e,a)}finally{Ma(e)}else ie(e,a)}catch(s){Ze(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(_a(e))try{Ua(),ie(e,n,null)}finally{Ma(e)}else ie(e,n,null)}catch(s){Ze(e,t,s)}else n.current=null}function B0(e,t,n,a){var s=e.memoizedProps,i=s.id,c=s.onCommit;s=s.onRender,t=t===null?"mount":"update",Cf&&(t="nested-update"),typeof s=="function"&&s(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof c=="function"&&c(i,t,a,n)}function iR(e,t,n,a){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",Cf&&(t="nested-update"),typeof s=="function"&&s(e,t,a,n)}function H0(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{ie(e,MR,a,t,n,e)}catch(s){Ze(e,e.return,s)}}function Am(e,t,n){try{ie(e,_R,e.stateNode,e.type,n,t,e)}catch(a){Ze(e,e.return,a)}}function q0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Xo(e.type)||e.tag===4}function Tm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||q0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Xo(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Nm(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(Z1(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Z1(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=eo));else if(a!==4&&(a===27&&Xo(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Nm(e,t,n),e=e.sibling;e!==null;)Nm(e,t,n),e=e.sibling}function Pc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Xo(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Pc(e,t,n),e=e.sibling;e!==null;)Pc(e,t,n),e=e.sibling}function lR(e){for(var t,n=e.return;n!==null;){if(q0(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Tm(e),Pc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Q1(n),t.flags&=-33),t=Tm(e),Pc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Tm(e),Nm(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Y0(e){var t=e.stateNode,n=e.memoizedProps;try{ie(e,FR,e.type,n,t,e)}catch(a){Ze(e,e.return,a)}}function P0(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function uR(e,t){if(e=e.containerInfo,Ny=cd,e=rb(e),lh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var s=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var c=0,d=-1,y=-1,g=0,U=0,_=e,N=null;t:for(;;){for(var V;_!==n||s!==0&&_.nodeType!==3||(d=c+s),_!==i||a!==0&&_.nodeType!==3||(y=c+a),_.nodeType===3&&(c+=_.nodeValue.length),(V=_.firstChild)!==null;)N=_,_=V;for(;;){if(_===e)break t;if(N===n&&++g===s&&(d=c),N===i&&++U===a&&(y=c),(V=_.nextSibling)!==null)break;_=N,N=_.parentNode}_=V}n=d===-1||y===-1?null:{start:d,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(wy={focusedElem:e,selectionRange:n},cd=!1,Ht=t;Ht!==null;)if(t=Ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ht=e;else for(;Ht!==null;){switch(e=t=Ht,n=e.alternate,s=e.flags,e.tag){case 0:if((s&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:(s&1024)!==0&&n!==null&&rR(e,n);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Xm(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xm(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&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(e=t.sibling,e!==null){e.return=t.return,Ht=e;break}Ht=t.return}}function G0(e,t,n){var a=wn(),s=wa(),i=Oa(),c=Ca(),d=n.flags;switch(n.tag){case 0:case 11:case 15:ja(e,n),d&4&&j0(n,Vn|Kn);break;case 1:if(ja(e,n),d&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||xi||(e.props!==n.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.",q(n)||"instance"),e.state!==n.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.",q(n)||"instance")),_a(n)?(Ua(),ie(n,Zp,n,e),Ma()):ie(n,Zp,n,e);else{var y=Gr(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||xi||(e.props!==n.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.",q(n)||"instance"),e.state!==n.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.",q(n)||"instance")),_a(n)?(Ua(),ie(n,zD,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate),Ma()):ie(n,zD,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate)}d&64&&k0(n),d&512&&vl(n,n.return);break;case 3:if(t=oo(),ja(e,n),d&64&&(d=n.updateQueue,d!==null)){if(y=null,n.child!==null)switch(n.child.tag){case 27:case 5:y=n.child.stateNode;break;case 1:y=n.child.stateNode}try{ie(n,Bb,d,y)}catch(U){Ze(n,n.return,U)}}e.effectDuration+=yc(t);break;case 27:t===null&&d&4&&Y0(n);case 26:case 5:if(ja(e,n),t===null){if(d&4)H0(n);else if(d&64){e=n.type,t=n.memoizedProps,y=n.stateNode;try{ie(n,UR,y,e,t,n)}catch(U){Ze(n,n.return,U)}}}d&512&&vl(n,n.return);break;case 12:if(d&4){d=oo(),ja(e,n),e=n.stateNode,e.effectDuration+=sl(d);try{ie(n,B0,n,t,nr,e.effectDuration)}catch(U){Ze(n,n.return,U)}}else ja(e,n);break;case 31:ja(e,n),d&4&&Q0(e,n);break;case 13:ja(e,n),d&4&&Z0(e,n),d&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(d=vR.bind(null,n),$R(e,d))));break;case 22:if(d=n.memoizedState!==null||xo,!d){t=t!==null&&t.memoizedState!==null||Rt,y=xo;var g=Rt;xo=d,(Rt=t)&&!g?(Va(e,n,(n.subtreeFlags&8772)!==0),(n.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&sc(n,Se,xe)):ja(e,n),xo=y,Rt=g}break;case 30:break;default:ja(e,n)}(n.mode&Ue)!==Ee&&0<=Se&&0<=xe&&((yt||.05<dt)&&Ta(n,Se,xe,dt,ct),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<xe-Se&&(P0(n.return.alternate,n.return)||Aa(n,Se,xe,"Mount"))),Rn(a),Ra(s),ct=i,yt=c}function $0(e){var t=e.alternate;t!==null&&(e.alternate=null,$0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&z(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function io(e,t,n){for(n=n.child;n!==null;)X0(e,t,n),n=n.sibling}function X0(e,t,n){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(Ks,n)}catch(g){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",g))}var a=wn(),s=wa(),i=Oa(),c=Ca();switch(n.tag){case 26:Rt||za(n,t),io(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Rt||za(n,t);var d=Ot,y=Sn;Xo(n.type)&&(Ot=n.stateNode,Sn=!1),io(e,t,n),ie(n,wl,n.stateNode),Ot=d,Sn=y;break;case 5:Rt||za(n,t);case 6:if(d=Ot,y=Sn,Ot=null,io(e,t,n),Ot=d,Sn=y,Ot!==null)if(Sn)try{ie(n,VR,Ot,n.stateNode)}catch(g){Ze(n,t,g)}else try{ie(n,jR,Ot,n.stateNode)}catch(g){Ze(n,t,g)}break;case 18:Ot!==null&&(Sn?(e=Ot,F1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Zs(e)):F1(Ot,n.stateNode));break;case 4:d=Ot,y=Sn,Ot=n.stateNode.containerInfo,Sn=!0,io(e,t,n),Ot=d,Sn=y;break;case 0:case 11:case 14:case 15:Hs(cn,n,t),Rt||xm(n,t,Vn),io(e,t,n);break;case 1:Rt||(za(n,t),d=n.stateNode,typeof d.componentWillUnmount=="function"&&L0(n,t,d)),io(e,t,n);break;case 21:io(e,t,n);break;case 22:Rt=(d=Rt)||n.memoizedState!==null,io(e,t,n),Rt=d;break;default:io(e,t,n)}(n.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(n,Se,xe,dt,ct),Rn(a),Ra(s),ct=i,yt=c}function Q0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ie(t,QR,e)}catch(n){Ze(t,t.return,n)}}}function Z0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ie(t,ZR,e)}catch(n){Ze(t,t.return,n)}}function cR(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new bx),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new bx),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Gc(e,t){var n=cR(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),Pa)if(Ei!==null&&Ai!==null)xl(Ai,Ei);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=bR.bind(null,e,a);a.then(s,s)}})}function vn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=e,i=t,c=n[a],d=wn(),y=i;e:for(;y!==null;){switch(y.tag){case 27:if(Xo(y.type)){Ot=y.stateNode,Sn=!1;break e}break;case 5:Ot=y.stateNode,Sn=!1;break e;case 3:case 4:Ot=y.stateNode.containerInfo,Sn=!0;break e}y=y.return}if(Ot===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");X0(s,i,c),Ot=null,Sn=!1,(c.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(c,Se,xe,"Unmount"),Rn(d),s=c,i=s.alternate,i!==null&&(i.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)F0(t,e),t=t.sibling}function F0(e,t){var n=wn(),a=wa(),s=Oa(),i=Ca(),c=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vn(t,e),bn(e),d&4&&(Hs(cn|Kn,e,e.return),gl(cn|Kn,e),xm(e,e.return,Vn|Kn));break;case 1:if(vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),d&64&&xo&&(d=e.updateQueue,d!==null&&(c=d.callbacks,c!==null))){var y=d.shared.hiddenCallbacks;d.shared.hiddenCallbacks=y===null?c:y.concat(c)}break;case 26:if(y=pa,vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),d&4){var g=c!==null?c.memoizedState:null;if(d=e.memoizedState,c===null)if(d===null)if(e.stateNode===null){e:{d=e.type,c=e.memoizedProps,y=y.ownerDocument||y;t:switch(d){case"title":g=y.getElementsByTagName("title")[0],(!g||g[zl]||g[$t]||g.namespaceURI===ei||g.hasAttribute("itemprop"))&&(g=y.createElement(d),y.head.insertBefore(g,y.querySelector("head > title"))),Gt(g,d,c),g[$t]=e,ye(g),d=g;break e;case"link":var U=sS("link","href",y).get(d+(c.href||""));if(U){for(var _=0;_<U.length;_++)if(g=U[_],g.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&g.getAttribute("rel")===(c.rel==null?null:c.rel)&&g.getAttribute("title")===(c.title==null?null:c.title)&&g.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){U.splice(_,1);break t}}g=y.createElement(d),Gt(g,d,c),y.head.appendChild(g);break;case"meta":if(U=sS("meta","content",y).get(d+(c.content||""))){for(_=0;_<U.length;_++)if(g=U[_],Je(c.content,"content"),g.getAttribute("content")===(c.content==null?null:""+c.content)&&g.getAttribute("name")===(c.name==null?null:c.name)&&g.getAttribute("property")===(c.property==null?null:c.property)&&g.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&g.getAttribute("charset")===(c.charSet==null?null:c.charSet)){U.splice(_,1);break t}}g=y.createElement(d),Gt(g,d,c),y.head.appendChild(g);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}g[$t]=e,ye(g),d=g}e.stateNode=d}else iS(y,e.type,e.stateNode);else e.stateNode=rS(y,d,e.memoizedProps);else g!==d?(g===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):g.count--,d===null?iS(y,e.type,e.stateNode):rS(y,d,e.memoizedProps)):d===null&&e.stateNode!==null&&Am(e,e.memoizedProps,c.memoizedProps)}break;case 27:vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),c!==null&&d&4&&Am(e,e.memoizedProps,c.memoizedProps);break;case 5:if(vn(t,e),bn(e),d&512&&(Rt||c===null||za(c,c.return)),e.flags&32){y=e.stateNode;try{ie(e,Q1,y)}catch(re){Ze(e,e.return,re)}}d&4&&e.stateNode!=null&&(y=e.memoizedProps,Am(e,y,c!==null?c.memoizedProps:y)),d&1024&&(iy=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(vn(t,e),bn(e),d&4){if(e.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.");d=e.memoizedProps,c=c!==null?c.memoizedProps:d,y=e.stateNode;try{ie(e,zR,y,c,d)}catch(re){Ze(e,e.return,re)}}break;case 3:if(y=oo(),id=null,g=pa,pa=Kc(t.containerInfo),vn(t,e),pa=g,bn(e),d&4&&c!==null&&c.memoizedState.isDehydrated)try{ie(e,XR,t.containerInfo)}catch(re){Ze(e,e.return,re)}iy&&(iy=!1,J0(e)),t.effectDuration+=yc(y);break;case 4:d=pa,pa=Kc(e.stateNode.containerInfo),vn(t,e),bn(e),pa=d;break;case 12:d=oo(),vn(t,e),bn(e),e.stateNode.effectDuration+=sl(d);break;case 31:vn(t,e),bn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Gc(e,d)));break;case 13:vn(t,e),bn(e),e.child.flags&8192&&e.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(Xf=Lt()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Gc(e,d)));break;case 22:y=e.memoizedState!==null;var N=c!==null&&c.memoizedState!==null,V=xo,ne=Rt;if(xo=V||y,Rt=ne||N,vn(t,e),Rt=ne,xo=V,N&&!y&&!V&&!ne&&(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&sc(e,Se,xe),bn(e),d&8192)e:for(t=e.stateNode,t._visibility=y?t._visibility&~Pl:t._visibility|Pl,!y||c===null||N||xo||Rt||($r(e),(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(e,Se,xe,"Disconnect")),c=null,t=e;;){if(t.tag===5||t.tag===26){if(c===null){N=c=t;try{g=N.stateNode,y?ie(N,LR,g):ie(N,qR,N.stateNode,N.memoizedProps)}catch(re){Ze(N,N.return,re)}}}else if(t.tag===6){if(c===null){N=t;try{U=N.stateNode,y?ie(N,BR,U):ie(N,YR,U,N.memoizedProps)}catch(re){Ze(N,N.return,re)}}}else if(t.tag===18){if(c===null){N=t;try{_=N.stateNode,y?ie(N,kR,_):ie(N,HR,N.stateNode)}catch(re){Ze(N,N.return,re)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;c===t&&(c=null),t=t.return}c===t&&(c=null),t.sibling.return=t.return,t=t.sibling}d&4&&(d=e.updateQueue,d!==null&&(c=d.retryQueue,c!==null&&(d.retryQueue=null,Gc(e,c))));break;case 19:vn(t,e),bn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Gc(e,d)));break;case 30:break;case 21:break;default:vn(t,e),bn(e)}(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&((yt||.05<dt)&&Ta(e,Se,xe,dt,ct),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<xe-Se&&(P0(e.return.alternate,e.return)||Aa(e,Se,xe,"Mount"))),Rn(n),Ra(a),ct=s,yt=i}function bn(e){var t=e.flags;if(t&2){try{ie(e,lR,e)}catch(n){Ze(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function J0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;J0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ja(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)G0(e,t.alternate,t),t=t.sibling}function I0(e){var t=wn(),n=wa(),a=Oa(),s=Ca();switch(e.tag){case 0:case 11:case 14:case 15:xm(e,e.return,Vn),$r(e);break;case 1:za(e,e.return);var i=e.stateNode;typeof i.componentWillUnmount=="function"&&L0(e,e.return,i),$r(e);break;case 27:ie(e,wl,e.stateNode);case 26:case 5:za(e,e.return),$r(e);break;case 22:e.memoizedState===null&&$r(e);break;case 30:$r(e);break;default:$r(e)}(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(e,Se,xe,dt,ct),Rn(t),Ra(n),ct=a,yt=s}function $r(e){for(e=e.child;e!==null;)I0(e),e=e.sibling}function K0(e,t,n,a){var s=wn(),i=wa(),c=Oa(),d=Ca(),y=n.flags;switch(n.tag){case 0:case 11:case 15:Va(e,n,a),j0(n,Vn);break;case 1:if(Va(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&ie(n,Zp,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ie(n,Xw,t,e)}catch(g){Ze(n,n.return,g)}}a&&y&64&&k0(n),vl(n,n.return);break;case 27:Y0(n);case 26:case 5:Va(e,n,a),a&&t===null&&y&4&&H0(n),vl(n,n.return);break;case 12:if(a&&y&4){y=oo(),Va(e,n,a),a=n.stateNode,a.effectDuration+=sl(y);try{ie(n,B0,n,t,nr,a.effectDuration)}catch(g){Ze(n,n.return,g)}}else Va(e,n,a);break;case 31:Va(e,n,a),a&&y&4&&Q0(e,n);break;case 13:Va(e,n,a),a&&y&4&&Z0(e,n);break;case 22:n.memoizedState===null&&Va(e,n,a),vl(n,n.return);break;case 30:break;default:Va(e,n,a)}(n.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(n,Se,xe,dt,ct),Rn(s),Ra(i),ct=c,yt=d}function Va(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)K0(e,t.alternate,t,n),t=t.sibling}function wm(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Hr(e),n!=null&&rl(n))}function Rm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Hr(t),e!=null&&rl(e))}function ca(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var i=t.sibling;W0(e,t,n,a,i!==null?i.actualStartTime:s),t=i}}function W0(e,t,n,a,s){var i=wn(),c=wa(),d=Oa(),y=Ca(),g=Ko,U=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ue)!==Ee&&0<t.actualStartTime&&(t.flags&1)!==0&&ic(t,t.actualStartTime,s,_t,n),ca(e,t,n,a,s),U&2048&&V0(t,fn|Kn);break;case 1:(t.mode&Ue)!==Ee&&0<t.actualStartTime&&((t.flags&128)!==0?ch(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&ic(t,t.actualStartTime,s,_t,n)),ca(e,t,n,a,s);break;case 3:var _=oo(),N=_t;_t=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ca(e,t,n,a,s),_t=N,U&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(Hr(a),n!=null&&rl(n))),e.passiveEffectDuration+=yc(_);break;case 12:if(U&2048){U=oo(),ca(e,t,n,a,s),e=t.stateNode,e.passiveEffectDuration+=sl(U);try{ie(t,iR,t,t.alternate,nr,e.passiveEffectDuration)}catch(V){Ze(t,t.return,V)}}else ca(e,t,n,a,s);break;case 31:U=_t,_=t.alternate!==null?t.alternate.memoizedState:null,N=t.memoizedState,_!==null&&N===null?(N=t.deletions,N!==null&&0<N.length&&N[0].tag===18?(_t=!1,_=_.hydrationErrors,_!==null&&ch(t,t.actualStartTime,s,_)):_t=!0):_t=!1,ca(e,t,n,a,s),_t=U;break;case 13:U=_t,_=t.alternate!==null?t.alternate.memoizedState:null,N=t.memoizedState,_===null||_.dehydrated===null||N!==null&&N.dehydrated!==null?_t=!1:(N=t.deletions,N!==null&&0<N.length&&N[0].tag===18?(_t=!1,_=_.hydrationErrors,_!==null&&ch(t,t.actualStartTime,s,_)):_t=!0),ca(e,t,n,a,s),_t=U;break;case 23:break;case 22:N=t.stateNode,_=t.alternate,t.memoizedState!==null?N._visibility&fo?ca(e,t,n,a,s):bl(e,t,n,a,s):N._visibility&fo?ca(e,t,n,a,s):(N._visibility|=fo,qs(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&Ue)===Ee||_t||(e=t.actualStartTime,0<=e&&.05<s-e&&sc(t,e,s),0<=Se&&0<=xe&&.05<xe-Se&&sc(t,Se,xe))),U&2048&&wm(_,t);break;case 24:ca(e,t,n,a,s),U&2048&&Rm(t.alternate,t);break;default:ca(e,t,n,a,s)}(t.mode&Ue)!==Ee&&((e=!_t&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<s-n&&Aa(t,n,s,"Mount")),0<=Se&&0<=xe&&((yt||.05<dt)&&Ta(t,Se,xe,dt,ct),e&&.05<xe-Se&&Aa(t,Se,xe,"Mount"))),Rn(i),Ra(c),ct=d,yt=y,Ko=g}function qs(e,t,n,a,s,i){for(s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var c=t.sibling;e1(e,t,n,a,s,c!==null?c.actualStartTime:i),t=c}}function e1(e,t,n,a,s,i){var c=wn(),d=wa(),y=Oa(),g=Ca(),U=Ko;s&&(t.mode&Ue)!==Ee&&0<t.actualStartTime&&(t.flags&1)!==0&&ic(t,t.actualStartTime,i,_t,n);var _=t.flags;switch(t.tag){case 0:case 11:case 15:qs(e,t,n,a,s,i),V0(t,fn);break;case 23:break;case 22:var N=t.stateNode;t.memoizedState!==null?N._visibility&fo?qs(e,t,n,a,s,i):bl(e,t,n,a,i):(N._visibility|=fo,qs(e,t,n,a,s,i)),s&&_&2048&&wm(t.alternate,t);break;case 24:qs(e,t,n,a,s,i),s&&_&2048&&Rm(t.alternate,t);break;default:qs(e,t,n,a,s,i)}(t.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(t,Se,xe,dt,ct),Rn(c),Ra(d),ct=y,yt=g,Ko=U}function bl(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var i=t.child;i!==null;){t=i.sibling;var c=e,d=n,y=a,g=t!==null?t.actualStartTime:s,U=Ko;(i.mode&Ue)!==Ee&&0<i.actualStartTime&&(i.flags&1)!==0&&ic(i,i.actualStartTime,g,_t,d);var _=i.flags;switch(i.tag){case 22:bl(c,i,d,y,g),_&2048&&wm(i.alternate,i);break;case 24:bl(c,i,d,y,g),_&2048&&Rm(i.alternate,i);break;default:bl(c,i,d,y,g)}Ko=U,i=t}}function Ys(e,t,n){if(e.subtreeFlags&uu)for(e=e.child;e!==null;)t1(e,t,n),e=e.sibling}function t1(e,t,n){switch(e.tag){case 26:Ys(e,t,n),e.flags&uu&&e.memoizedState!==null&&KR(n,pa,e.memoizedState,e.memoizedProps);break;case 5:Ys(e,t,n);break;case 3:case 4:var a=pa;pa=Kc(e.stateNode.containerInfo),Ys(e,t,n),pa=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=uu,uu=16777216,Ys(e,t,n),uu=a):Ys(e,t,n));break;default:Ys(e,t,n)}}function n1(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Sl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=wn();Ht=a,r1(a,e),(a.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(a,Se,xe,"Unmount"),Rn(s)}n1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)a1(e),e=e.sibling}function a1(e){var t=wn(),n=wa(),a=Oa(),s=Ca();switch(e.tag){case 0:case 11:case 15:Sl(e),e.flags&2048&&Em(e,e.return,fn|Kn);break;case 3:var i=oo();Sl(e),e.stateNode.passiveEffectDuration+=yc(i);break;case 12:i=oo(),Sl(e),e.stateNode.passiveEffectDuration+=sl(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&fo&&(e.return===null||e.return.tag!==13)?(i._visibility&=~fo,$c(e),(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(e,Se,xe,"Disconnect")):Sl(e);break;default:Sl(e)}(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(e,Se,xe,dt,ct),Rn(t),Ra(n),yt=s,ct=a}function $c(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=wn();Ht=a,r1(a,e),(a.mode&Ue)!==Ee&&0<=Se&&0<=xe&&.05<xe-Se&&Aa(a,Se,xe,"Unmount"),Rn(s)}n1(e)}for(e=e.child;e!==null;)o1(e),e=e.sibling}function o1(e){var t=wn(),n=wa(),a=Oa(),s=Ca();switch(e.tag){case 0:case 11:case 15:Em(e,e.return,fn),$c(e);break;case 22:var i=e.stateNode;i._visibility&fo&&(i._visibility&=~fo,$c(e));break;default:$c(e)}(e.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(e,Se,xe,dt,ct),Rn(t),Ra(n),yt=s,ct=a}function r1(e,t){for(;Ht!==null;){var n=Ht,a=n,s=t,i=wn(),c=wa(),d=Oa(),y=Ca();switch(a.tag){case 0:case 11:case 15:Em(a,s,fn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool,s!=null&&Hr(s));break;case 24:rl(a.memoizedState.cache)}if((a.mode&Ue)!==Ee&&0<=Se&&0<=xe&&(yt||.05<dt)&&Ta(a,Se,xe,dt,ct),Rn(i),Ra(c),yt=y,ct=d,a=n.child,a!==null)a.return=n,Ht=a;else e:for(n=e;Ht!==null;){if(a=Ht,i=a.sibling,c=a.return,$0(a),a===n){Ht=null;break e}if(i!==null){i.return=c,Ht=i;break e}Ht=c}}}function fR(){zC.forEach(function(e){return e()})}function s1(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||B.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Cn(e){if((Qe&zt)!==qt&&ze!==0)return ze&-ze;var t=B.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Vm()):zo()}function i1(){if(xn===0)if((ze&536870912)===0||He){var e=ff;ff<<=1,(ff&3932160)===0&&(ff=262144),xn=e}else xn=536870912;return e=jn.current,e!==null&&(e.flags|=32),xn}function pt(e,t,n){if(wi&&console.error("useInsertionEffect must not schedule updates."),vy&&(Jf=!0),(e===tt&&(Ke===is||Ke===ls)||e.cancelPendingCommit!==null)&&(Gs(e,0),Go(e,ze,xn,!1)),Uo(e,n),(Qe&zt)!==qt&&e===tt){if(qa)switch(t.tag){case 0:case 11:case 15:e=je&&q(je)||"Unknown",zx.has(e)||(zx.add(e),t=q(t)||"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",t,e,e));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 Pa&&Mr(e,t,n),DR(t),e===tt&&((Qe&zt)===qt&&(cr|=n),ht===ir&&Go(e,ze,xn,!1)),ka(e)}function l1(e,t,n){if((Qe&(zt|kn))!==qt)throw Error("Should not already be working.");if(ze!==0&&je!==null){var a=je,s=Lt();switch(ND){case du:case is:var i=Fl;rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",i,s,Gn,void 0,"primary-light")):console.timeStamp("Suspended",i,s,Gn,void 0,"primary-light"));break;case ls:i=Fl,rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",i,s,Gn,void 0,"primary-light")):console.timeStamp("Action",i,s,Gn,void 0,"primary-light"));break;default:rt&&(a=s-Fl,3>a||console.timeStamp("Blocked",Fl,s,Gn,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Mo(e,t))?hR(e,t):Cm(e,t,!0);var c=n;do{if(i===Eo){Ti&&!n&&Go(e,t,0,!1),t=Ke,Fl=Tt(),ND=t;break}else{if(a=Lt(),s=e.current.alternate,c&&!dR(s)){la(t),s=Bt,i=a,!rt||i<=s||(St?St.run(console.timeStamp.bind(console,"Teared Render",s,i,$e,Pe,"error")):console.timeStamp("Teared Render",s,i,$e,Pe,"error")),Xr(t,a),i=Cm(e,t,!1),c=!1;continue}if(i===ss){if(c=t,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){la(t),fh(Bt,a,t,St),Xr(t,a),t=d;e:{a=e,i=c,c=mu;var y=a.current.memoizedState.isDehydrated;if(y&&(Gs(a,d).flags|=256),d=Cm(a,d,!1),d!==ss){if(cy&&!y){a.errorRecoveryDisabledLanes|=i,cr|=i,i=ir;break e}a=dn,dn=c,a!==null&&(dn===null?dn=a:dn.push.apply(dn,a))}i=d}if(c=!1,i!==ss)continue;a=Lt()}}if(i===fu){la(t),fh(Bt,a,t,St),Xr(t,a),Gs(e,0),Go(e,t,0,!0);break}e:{switch(n=e,i){case Eo:case fu:throw Error("Root did not complete. This is a bug in React.");case ir:if((t&4194048)!==t)break;case Yf:la(t),lb(Bt,a,t,St),Xr(t,a),s=t,(s&127)!==0?wf=a:(s&4194048)!==0&&(Rf=a),Go(n,t,xn,!lr);break e;case ss:dn=null;break;case qf:case Sx:break;default:throw Error("Unknown root exit status.")}if(B.actQueue!==null)Mm(n,s,t,dn,pu,$f,xn,cr,us,i,null,null,Bt,a);else{if((t&62914560)===t&&(c=Xf+Ex-Lt(),10<c)){if(Go(n,t,xn,!lr),Or(n,0,!0)!==0)break e;ya=t,n.timeoutHandle=Yx(u1.bind(null,n,s,dn,pu,$f,t,xn,cr,us,lr,i,"Throttled",Bt,a),c);break e}u1(n,s,dn,pu,$f,t,xn,cr,us,lr,i,null,Bt,a)}}}break}while(!0);ka(e)}function u1(e,t,n,a,s,i,c,d,y,g,U,_,N,V){e.timeoutHandle=ms;var ne=t.subtreeFlags,re=null;if((ne&8192||(ne&16785408)===16785408)&&(re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:eo},t1(t,i,re),ne=(i&62914560)===i?Xf-Lt():(i&4194048)===i?xx-Lt():0,ne=WR(re,ne),ne!==null)){ya=i,e.cancelPendingCommit=ne(Mm.bind(null,e,t,i,n,a,s,c,d,y,U,re,re.waitingForViewTransition?"Waiting for the previous Animation":0<re.count?0<re.imgCount?"Suspended on CSS and Images":"Suspended on CSS":re.imgCount===1?"Suspended on an Image":0<re.imgCount?"Suspended on Images":null,N,V)),Go(e,i,c,!g);return}Mm(e,t,i,n,a,s,c,d,y,U,re,_,N,V)}function dR(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var s=n[a],i=s.getSnapshot;s=s.value;try{if(!ln(i(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Go(e,t,n,a){t&=~fy,t&=~cr,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var s=t;0<s;){var i=31-on(s),c=1<<i;a[i]=-1,s&=~c}n!==0&&Fi(e,n,t)}function Ps(){return(Qe&(zt|kn))===qt?(El(0),!1):!0}function Om(){if(je!==null){if(Ke===Dn)var e=je.return;else e=je,hc(),Hh(e),yi=null,ou=0,e=je;for(;e!==null;)z0(e.alternate,e),e=e.return;je=null}}function Xr(e,t){(e&127)!==0&&(Ir=t),(e&4194048)!==0&&(go=t),(e&62914560)!==0&&(AD=t),(e&2080374784)!==0&&(TD=t)}function Gs(e,t){rt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Pe,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Pe,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Pe,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Pe,"primary-light"));var n=Bt;if(Bt=Tt(),ze!==0&&0<n){if(la(ze),ht===qf||ht===ir)lb(n,Bt,t,St);else{var a=Bt,s=St;if(rt&&!(a<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",c=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,c,n,a,$e,Pe,i)):console.timeStamp(c,n,a,$e,Pe,i)}}Xr(ze,Bt)}if(n=St,St=null,(t&127)!==0){St=Xl,s=0<=Qa&&Qa<Ir?Ir:Qa,a=0<=Kr&&Kr<Ir?Ir:Kr,i=0<=a?a:0<=s?s:Bt,0<=wf?(la(2),ub(wf,i,t,n)):Of&127,n=s;var d=a,y=Ql,g=0<hi,U=ar===$l,_=ar===Nf;if(s=Bt,a=Xl,i=Pp,c=Gp,rt){if($e="Blocking",0<n?n>s&&(n=s):n=s,0<d?d>n&&(d=n):d=n,y!==null&&n>d){var N=g?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+y,d,n,$e,Pe,N)):console.timeStamp(g?"Consecutive":"Event: "+y,d,n,$e,Pe,N)}s>n&&(d=U?"error":(t&738197653)===t?"tertiary-light":"primary-light",U=_?"Promise Resolved":U?"Cascading Update":5<s-n?"Update Blocked":"Update",_=[],c!=null&&_.push(["Component name",c]),i!=null&&_.push(["Method name",i]),n={start:n,end:s,detail:{devtools:{properties:_,track:$e,trackGroup:Pe,color:d}}},a?a.run(performance.measure.bind(performance,U,n)):performance.measure(U,n))}Qa=-1.1,ar=0,Gp=Pp=null,wf=-1.1,hi=Kr,Kr=-1.1,Ir=Tt()}if((t&4194048)!==0&&(St=Zl,s=0<=vo&&vo<go?go:vo,n=0<=Jn&&Jn<go?go:Jn,a=0<=or&&or<go?go:or,i=0<=a?a:0<=n?n:Bt,0<=Rf?(la(256),ub(Rf,i,t,St)):Of&4194048,_=a,d=Wr,y=0<rr,g=$p===Nf,i=Bt,a=Zl,c=xD,U=ED,rt&&($e="Transition",0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,0<_?_>s&&(_=s):_=s,s>_&&d!==null&&(N=y?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+d,_,s,$e,Pe,N)):console.timeStamp(y?"Consecutive":"Event: "+d,_,s,$e,Pe,N)),n>s&&(a?a.run(console.timeStamp.bind(console,"Action",s,n,$e,Pe,"primary-dark")):console.timeStamp("Action",s,n,$e,Pe,"primary-dark")),i>n&&(s=g?"Promise Resolved":5<i-n?"Update Blocked":"Update",_=[],U!=null&&_.push(["Component name",U]),c!=null&&_.push(["Method name",c]),n={start:n,end:i,detail:{devtools:{properties:_,track:$e,trackGroup:Pe,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,s,n)):performance.measure(s,n))),Jn=vo=-1.1,$p=0,Rf=-1.1,rr=or,or=-1.1,go=Tt()),(t&62914560)!==0&&(Of&62914560)!==0&&(la(4194304),dh(AD,Bt)),(t&2080374784)!==0&&(Of&2080374784)!==0&&(la(268435456),dh(TD,Bt)),n=e.timeoutHandle,n!==ms&&(e.timeoutHandle=ms,QC(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ya=0,Om(),tt=e,je=n=to(e.current,null),ze=t,Ke=Dn,Ln=null,lr=!1,Ti=Mo(e,t),cy=!1,ht=Eo,us=xn=fy=cr=ur=0,dn=mu=null,$f=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)s=31-on(a),i=1<<s,t|=e[s],a&=~i;return Fa=t,lc(),e=yD(),1e3<e-pD&&(B.recentlyCreatedOwnerStacks=0,pD=e),ha.discardPendingWarnings(),n}function c1(e,t){Ae=null,B.H=lu,B.getCurrentStack=null,qa=!1,_n=null,t===pi||t===_f?(t=Mb(),Ke=du):t===Fp?(t=Mb(),Ke=Dx):Ke=t===ry?uy:t!==null&&typeof t=="object"&&typeof t.then=="function"?hu:Pf,Ln=t;var n=je;n===null?(ht=fu,Lc(e,Nn(t,e.current))):n.mode&Ue&&wh(n)}function f1(){var e=jn.current;return e===null?!0:(ze&4194048)===ze?In===null:(ze&62914560)===ze||(ze&536870912)!==0?e===In:!1}function d1(){var e=B.H;return B.H=lu,e===null?lu:e}function h1(){var e=B.A;return B.A=_C,e}function Xc(e){St===null&&(St=e._debugTask==null?null:e._debugTask)}function Qc(){ht=ir,lr||(ze&4194048)!==ze&&jn.current!==null||(Ti=!0),(ur&134217727)===0&&(cr&134217727)===0||tt===null||Go(tt,ze,xn,!1)}function Cm(e,t,n){var a=Qe;Qe|=zt;var s=d1(),i=h1();if(tt!==e||ze!==t){if(Pa){var c=e.memoizedUpdaters;0<c.size&&(xl(e,ze),c.clear()),Rs(e,t)}pu=null,Gs(e,t)}t=!1,c=ht;e:do try{if(Ke!==Dn&&je!==null){var d=je,y=Ln;switch(Ke){case uy:Om(),c=Yf;break e;case du:case is:case ls:case hu:jn.current===null&&(t=!0);var g=Ke;if(Ke=Dn,Ln=null,$s(e,d,y,g),n&&Ti){c=Eo;break e}break;default:g=Ke,Ke=Dn,Ln=null,$s(e,d,y,g)}}m1(),c=ht;break}catch(U){c1(e,U)}while(!0);return t&&e.shellSuspendCounter++,hc(),Qe=a,B.H=s,B.A=i,je===null&&(tt=null,ze=0,lc()),c}function m1(){for(;je!==null;)p1(je)}function hR(e,t){var n=Qe;Qe|=zt;var a=d1(),s=h1();if(tt!==e||ze!==t){if(Pa){var i=e.memoizedUpdaters;0<i.size&&(xl(e,ze),i.clear()),Rs(e,t)}pu=null,Qf=Lt()+Ax,Gs(e,t)}else Ti=Mo(e,t);e:do try{if(Ke!==Dn&&je!==null)t:switch(t=je,i=Ln,Ke){case Pf:Ke=Dn,Ln=null,$s(e,t,i,Pf);break;case is:case ls:if(Ob(i)){Ke=Dn,Ln=null,y1(t);break}t=function(){Ke!==is&&Ke!==ls||tt!==e||(Ke=Gf),ka(e)},i.then(t,t);break e;case du:Ke=Gf;break e;case Dx:Ke=ly;break e;case Gf:Ob(i)?(Ke=Dn,Ln=null,y1(t)):(Ke=Dn,Ln=null,$s(e,t,i,Gf));break;case ly:var c=null;switch(je.tag){case 26:c=je.memoizedState;case 5:case 27:var d=je;if(c?lS(c):d.stateNode.complete){Ke=Dn,Ln=null;var y=d.sibling;if(y!==null)je=y;else{var g=d.return;g!==null?(je=g,Zc(g)):je=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ke=Dn,Ln=null,$s(e,t,i,ly);break;case hu:Ke=Dn,Ln=null,$s(e,t,i,hu);break;case uy:Om(),ht=Yf;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}B.actQueue!==null?m1():mR();break}catch(U){c1(e,U)}while(!0);return hc(),B.H=a,B.A=s,Qe=n,je!==null?Eo:(tt=null,ze=0,lc(),ht)}function mR(){for(;je!==null&&!hO();)p1(je)}function p1(e){var t=e.alternate;(e.mode&Ue)!==Ee?(Nh(e),t=ie(e,Sm,t,e,Fa),wh(e)):t=ie(e,Sm,t,e,Fa),e.memoizedProps=e.pendingProps,t===null?Zc(e):je=t}function y1(e){var t=ie(e,pR,e);e.memoizedProps=e.pendingProps,t===null?Zc(e):je=t}function pR(e){var t=e.alternate,n=(e.mode&Ue)!==Ee;switch(n&&Nh(e),e.tag){case 15:case 0:t=w0(t,e,e.pendingProps,e.type,void 0,ze);break;case 11:t=w0(t,e,e.pendingProps,e.type.render,e.ref,ze);break;case 5:Hh(e);default:z0(t,e),e=je=pb(e,Fa),t=Sm(t,e,Fa)}return n&&wh(e),t}function $s(e,t,n,a){hc(),Hh(t),yi=null,ou=0;var s=t.return;try{if(Ww(e,s,t,n,ze)){ht=fu,Lc(e,Nn(n,e.current)),je=null;return}}catch(i){if(s!==null)throw je=s,i;ht=fu,Lc(e,Nn(n,e.current)),je=null;return}t.flags&32768?(He||a===Pf?e=!0:Ti||(ze&536870912)!==0?e=!1:(lr=e=!0,(a===is||a===ls||a===du||a===hu)&&(a=jn.current,a!==null&&a.tag===13&&(a.flags|=16384))),g1(t,e)):Zc(t)}function Zc(e){var t=e;do{if((t.flags&32768)!==0){g1(t,lr);return}var n=t.alternate;if(e=t.return,Nh(t),n=ie(t,nR,n,t,Fa),(t.mode&Ue)!==Ee&&Ab(t),n!==null){je=n;return}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);ht===Eo&&(ht=Sx)}function g1(e,t){do{var n=aR(e.alternate,e);if(n!==null){n.flags&=32767,je=n;return}if((e.mode&Ue)!==Ee){Ab(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){je=e;return}je=e=n}while(e!==null);ht=Yf,je=null}function Mm(e,t,n,a,s,i,c,d,y,g,U,_,N,V){e.cancelPendingCommit=null;do Dl();while(Ct!==dr);if(ha.flushLegacyContextWarning(),ha.flushPendingUnsafeLifecycleWarnings(),(Qe&(zt|kn))!==qt)throw Error("Should not already be working.");if(la(n),g===ss?fh(N,V,n,St):a!==null?Hw(N,V,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,St):Bw(N,V,n,St),t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.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(i=t.lanes|t.childLanes,i|=Lp,Iu(e,n,i,c,d,y),e===tt&&(je=tt=null,ze=0),Ni=t,hr=e,ya=n,my=i,yy=s,Cx=a,py=V,Mx=_,ga=Zf,Ux=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,SR(Is,function(){return Du=window.event,ga===Zf&&(ga=hy),x1(),null})):(e.callbackNode=null,e.callbackPriority=0),yo=null,nr=Tt(),_!==null&&qw(V,nr,_,St),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,s=Fe.p,Fe.p=Pn,c=Qe,Qe|=kn;try{uR(e,t,n)}finally{Qe=c,Fe.p=s,B.T=a}}Ct=Nx,v1(),b1(),S1()}}function v1(){if(Ct===Nx){Ct=dr;var e=hr,t=Ni,n=ya,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var s=Fe.p;Fe.p=Pn;var i=Qe;Qe|=kn;try{Ei=n,Ai=e,gc(),F0(t,e),Ai=Ei=null,n=wy;var c=rb(e.containerInfo),d=n.focusedElem,y=n.selectionRange;if(c!==d&&d&&d.ownerDocument&&ob(d.ownerDocument.documentElement,d)){if(y!==null&&lh(d)){var g=y.start,U=y.end;if(U===void 0&&(U=g),"selectionStart"in d)d.selectionStart=g,d.selectionEnd=Math.min(U,d.value.length);else{var _=d.ownerDocument||document,N=_&&_.defaultView||window;if(N.getSelection){var V=N.getSelection(),ne=d.textContent.length,re=Math.min(y.start,ne),ot=y.end===void 0?re:Math.min(y.end,ne);!V.extend&&re>ot&&(c=ot,ot=re,re=c);var Ge=ab(d,re),T=ab(d,ot);if(Ge&&T&&(V.rangeCount!==1||V.anchorNode!==Ge.node||V.anchorOffset!==Ge.offset||V.focusNode!==T.node||V.focusOffset!==T.offset)){var w=_.createRange();w.setStart(Ge.node,Ge.offset),V.removeAllRanges(),re>ot?(V.addRange(w),V.extend(T.node,T.offset)):(w.setEnd(T.node,T.offset),V.addRange(w))}}}}for(_=[],V=d;V=V.parentNode;)V.nodeType===1&&_.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<_.length;d++){var M=_[d];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}cd=!!Ny,wy=Ny=null}finally{Qe=i,Fe.p=s,B.T=a}}e.current=t,Ct=wx}}function b1(){if(Ct===wx){Ct=dr;var e=Ux;if(e!==null){nr=Tt();var t=po,n=nr;!rt||n<=t||console.timeStamp(e,t,n,$e,Pe,"secondary-light")}e=hr,t=Ni,n=ya;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var s=Fe.p;Fe.p=Pn;var i=Qe;Qe|=kn;try{Ei=n,Ai=e,gc(),G0(e,t.alternate,t),Ai=Ei=null}finally{Qe=i,Fe.p=s,B.T=a}}e=py,t=Mx,po=Tt(),e=t===null?e:nr,t=po,n=ga===dy,a=St,yo!==null?cb(e,t,yo,!1,a):!rt||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,$e,Pe,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,$e,Pe,n?"error":"secondary-dark")),Ct=Rx}}function S1(){if(Ct===Ox||Ct===Rx){if(Ct===Ox){var e=po;po=Tt();var t=po,n=ga===dy;!rt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,$e,Pe,n?" error":"secondary-light"),ga!==dy&&(ga=Tx)}Ct=dr,mO(),e=hr;var a=Ni;t=ya,n=Cx;var s=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;s?Ct=Ff:(Ct=dr,Ni=hr=null,D1(e,e.pendingLanes),cs=0,gu=null);var i=e.pendingLanes;if(i===0&&(fr=null),s||N1(e),i=Os(t),a=a.stateNode,It&&typeof It.onCommitFiberRoot=="function")try{var c=(a.current.flags&128)===128;switch(i){case Pn:var d=yp;break;case Ga:d=gp;break;case uo:d=Is;break;case hf:d=vp;break;default:d=Is}It.onCommitFiberRoot(Ks,a,d,c)}catch(_){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",_))}if(Pa&&e.memoizedUpdaters.clear(),fR(),n!==null){c=B.T,d=Fe.p,Fe.p=Pn,B.T=null;try{var y=e.onRecoverableError;for(a=0;a<n.length;a++){var g=n[a],U=yR(g.stack);ie(g.source,y,g.value,U)}}finally{B.T=c,Fe.p=d}}(ya&3)!==0&&Dl(),ka(e),i=e.pendingLanes,(t&261930)!==0&&(i&42)!==0?(Mf=!0,e===gy?yu++:(yu=0,gy=e)):yu=0,s||Xr(t,po),El(0)}}function yR(e){return e={componentStack:e},Object.defineProperty(e,"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.')}}),e}function D1(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,rl(t)))}function Dl(){return v1(),b1(),S1(),x1()}function x1(){if(Ct!==Ff)return!1;var e=hr,t=my;my=0;var n=Os(ya),a=uo>n?uo:n;n=B.T;var s=Fe.p;try{Fe.p=a,B.T=null;var i=yy;yy=null,a=hr;var c=ya;if(Ct=dr,Ni=hr=null,ya=0,(Qe&(zt|kn))!==qt)throw Error("Cannot flush passive effects while already rendering.");la(c),vy=!0,Jf=!1;var d=0;if(yo=null,d=Lt(),ga===Tx)dh(po,d,NC);else{var y=po,g=d,U=ga===hy;!rt||g<=y||(St?St.run(console.timeStamp.bind(console,U?"Waiting for Paint":"Waiting",y,g,$e,Pe,"secondary-light")):console.timeStamp(U?"Waiting for Paint":"Waiting",y,g,$e,Pe,"secondary-light"))}y=Qe,Qe|=kn;var _=a.current;gc(),a1(_);var N=a.current;_=py,gc(),W0(a,N,c,i,_),N1(a),Qe=y;var V=Lt();if(N=d,_=St,yo!==null?cb(N,V,yo,!0,_):!rt||V<=N||(_?_.run(console.timeStamp.bind(console,"Remaining Effects",N,V,$e,Pe,"secondary-dark")):console.timeStamp("Remaining Effects",N,V,$e,Pe,"secondary-dark")),Xr(c,V),El(0,!1),Jf?a===gu?cs++:(cs=0,gu=a):cs=0,Jf=vy=!1,It&&typeof It.onPostCommitFiberRoot=="function")try{It.onPostCommitFiberRoot(Ks,a)}catch(re){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",re))}var ne=a.current.stateNode;return ne.effectDuration=0,ne.passiveEffectDuration=0,!0}finally{Fe.p=s,B.T=n,D1(e,t)}}function E1(e,t,n){t=Nn(n,t),Tb(t),t=um(e.stateNode,t,2),e=Ho(e,t,2),e!==null&&(Uo(e,2),ka(e))}function Ze(e,t,n){if(wi=!1,e.tag===3)E1(e,e,n);else{for(;t!==null;){if(t.tag===3){E1(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(fr===null||!fr.has(a))){e=Nn(n,e),Tb(e),n=cm(2),a=Ho(t,n,2),a!==null&&(fm(n,a,t,e),Uo(a,2),ka(a));return}}t=t.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.
|
|
159
|
+
|
|
160
|
+
Error message:
|
|
161
|
+
|
|
162
|
+
%s`,n)}}function Um(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new jC;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(n)||(cy=!0,s.add(n),a=gR.bind(null,e,t,n),Pa&&xl(e,n),t.then(a,a))}function gR(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Qa&&(Ir=Qa=Tt(),Xl=Tf("Promise Resolved"),ar=Nf):(n&4194048)!==0&&0>Jn&&(go=Jn=Tt(),Zl=Tf("Promise Resolved"),$p=Nf),s1()&&B.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
163
|
+
|
|
164
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
165
|
+
|
|
166
|
+
act(() => {
|
|
167
|
+
/* finish loading suspended data */
|
|
168
|
+
});
|
|
169
|
+
/* assert on the output */
|
|
170
|
+
|
|
171
|
+
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`),tt===e&&(ze&n)===n&&(ht===ir||ht===qf&&(ze&62914560)===ze&&Lt()-Xf<Ex?(Qe&zt)===qt&&Gs(e,0):fy|=n,us===ze&&(us=0)),ka(e)}function A1(e,t){t===0&&(t=Qi()),e=Jt(e,t),e!==null&&(Uo(e,t),ka(e))}function vR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),A1(e,n)}function bR(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),A1(e,n)}function _m(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,s=t,i=s.type===sf;i=n||i,s.tag!==22?s.flags&67108864?i&&ie(s,T1,a,s):_m(a,s,i):s.memoizedState===null&&(i&&s.flags&8192?ie(s,T1,a,s):s.subtreeFlags&67108864&&ie(s,_m,a,s,i)),t=t.sibling}}function T1(e,t){de(!0);try{I0(t),o1(t),K0(e,t.alternate,t,!1),e1(e,t,0,null,!1,0)}finally{de(!1)}}function N1(e){var t=!0;e.current.mode&(Kt|da)||(t=!1),_m(e,e.current,t)}function w1(e){if((Qe&zt)===qt){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=q(e)||"ReactComponent",If!==null){if(If.has(t))return;If.add(t)}else If=new Set([t]);ie(e,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 xl(e,t){Pa&&e.memoizedUpdaters.forEach(function(n){Mr(e,n,t)})}function SR(e,t){var n=B.actQueue;return n!==null?(n.push(t),LC):pp(e,t)}function DR(e){s1()&&B.actQueue===null&&ie(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
172
|
+
|
|
173
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
174
|
+
|
|
175
|
+
act(() => {
|
|
176
|
+
/* fire events that update state */
|
|
177
|
+
});
|
|
178
|
+
/* assert on the output */
|
|
179
|
+
|
|
180
|
+
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`,q(e))})}function ka(e){e!==Ri&&e.next===null&&(Ri===null?Kf=Ri=e:Ri=Ri.next=e),Wf=!0,B.actQueue!==null?Sy||(Sy=!0,M1()):by||(by=!0,M1())}function El(e,t){if(!Dy&&Wf){Dy=!0;do for(var n=!1,a=Kf;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var i=0;else{var c=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-on(42|e)+1)-1,i&=s&~(c&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,C1(a,i))}else i=ze,i=Or(a,a===tt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==ms),(i&3)===0||Mo(a,i)||(n=!0,C1(a,i));a=a.next}while(n);Dy=!1}}function xR(){Du=window.event,zm()}function zm(){Wf=Sy=by=!1;var e=0;mr!==0&&OR()&&(e=mr);for(var t=Lt(),n=null,a=Kf;a!==null;){var s=a.next,i=R1(a,t);i===0?(a.next=null,n===null?Kf=s:n.next=s,s===null&&(Ri=n)):(n=a,(e!==0||(i&3)!==0)&&(Wf=!0)),a=s}Ct!==dr&&Ct!==Ff||El(e),mr!==0&&(mr=0)}function R1(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-on(i),d=1<<c,y=s[c];y===-1?((d&n)===0||(d&a)!==0)&&(s[c]=Ju(d,t)):y<=t&&(e.expiredLanes|=d),i&=~d}if(t=tt,n=ze,n=Or(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ms),a=e.callbackNode,n===0||e===t&&(Ke===is||Ke===ls)||e.cancelPendingCommit!==null)return a!==null&&jm(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Mo(e,n)){if(t=n&-n,t!==e.callbackPriority||B.actQueue!==null&&a!==xy)jm(a);else return t;switch(Os(n)){case Pn:case Ga:n=gp;break;case uo:n=Is;break;case hf:n=vp;break;default:n=Is}return a=O1.bind(null,e),B.actQueue!==null?(B.actQueue.push(a),n=xy):n=pp(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&jm(a),e.callbackPriority=2,e.callbackNode=null,2}function O1(e,t){if(Mf=Cf=!1,Du=window.event,Ct!==dr&&Ct!==Ff)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ga===Zf&&(ga=hy),Dl()&&e.callbackNode!==n)return null;var a=ze;return a=Or(e,e===tt?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ms),a===0?null:(l1(e,a,t),R1(e,Lt()),e.callbackNode!=null&&e.callbackNode===n?O1.bind(null,e):null)}function C1(e,t){if(Dl())return null;Cf=Mf,Mf=!1,l1(e,t,!0)}function jm(e){e!==xy&&e!==null&&dO(e)}function M1(){B.actQueue!==null&&B.actQueue.push(function(){return zm(),null}),ZC(function(){(Qe&(zt|kn))!==qt?pp(yp,xR):zm()})}function Vm(){if(mr===0){var e=es;e===0&&(e=cf,cf<<=1,(cf&261888)===0&&(cf=256)),mr=e}return mr}function U1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Je(e,"action"),tl(""+e))}function _1(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function ER(e,t,n,a,s){if(t==="submit"&&n&&n.stateNode===s){var i=U1((s[rn]||null).action),c=a.submitter;c&&(t=(t=c[rn]||null)?U1(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var d=new vf("action","action",null,a,s);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(mr!==0){var y=c?_1(s,c):new FormData(s),g={pending:!0,data:y,method:s.method,action:i};Object.freeze(g),nm(n,g,null,y)}}else typeof i=="function"&&(d.preventDefault(),y=c?_1(s,c):new FormData(s),g={pending:!0,data:y,method:s.method,action:i},Object.freeze(g),nm(n,g,i,y))},currentTarget:s}]})}}function Fc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){zp(a)}e.currentTarget=null}function z1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var s=void 0,i=a.event;if(a=a.listeners,t)for(var c=a.length-1;0<=c;c--){var d=a[c],y=d.instance,g=d.currentTarget;if(d=d.listener,y!==s&&i.isPropagationStopped())break e;y!==null?ie(y,Fc,i,d,g):Fc(i,d,g),s=y}else for(c=0;c<a.length;c++){if(d=a[c],y=d.instance,g=d.currentTarget,d=d.listener,y!==s&&i.isPropagationStopped())break e;y!==null?ie(y,Fc,i,d,g):Fc(i,d,g),s=y}}}}function Ye(e,t){Ey.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[bp];n===void 0&&(n=t[bp]=new Set);var a=e+"__bubble";n.has(a)||(j1(t,e,2,!1),n.add(a))}function km(e,t,n){Ey.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),j1(n,e,a,t)}function Lm(e){if(!e[ed]){e[ed]=!0,MS.forEach(function(n){n!=="selectionchange"&&(Ey.has(n)||km(n,!1,e),km(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ed]||(t[ed]=!0,km("selectionchange",!1,t))}}function j1(e,t,n,a){switch(mS(t)){case Pn:var s=aO;break;case Ga:s=oO;break;default:s=ep}n=s.bind(null,t,n,e),s=void 0,!Ap||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Bm(e,t,n,a,s){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var d=a.stateNode.containerInfo;if(d===s)break;if(c===4)for(c=a.return;c!==null;){var y=c.tag;if((y===3||y===4)&&c.stateNode.containerInfo===s)return;c=c.return}for(;d!==null;){if(c=Q(d),c===null)return;if(y=c.tag,y===5||y===6||y===26||y===27){a=i=c;continue e}d=d.parentNode}}a=a.return}Xv(function(){var g=i,U=sh(n),_=[];e:{var N=mD.get(e);if(N!==void 0){var V=vf,ne=e;switch(e){case"keypress":if(ac(n)===0)break e;case"keydown":case"keyup":V=WO;break;case"focusin":ne="focus",V=Rp;break;case"focusout":ne="blur",V=Rp;break;case"beforeblur":case"afterblur":V=Rp;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=eD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=qO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=nC;break;case cD:case fD:case dD:V=GO;break;case hD:V=oC;break;case"scroll":case"scrollend":V=BO;break;case"wheel":V=sC;break;case"copy":case"cut":case"paste":V=XO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=nD;break;case"toggle":case"beforetoggle":V=lC}var re=(t&4)!==0,ot=!re&&(e==="scroll"||e==="scrollend"),Ge=re?N!==null?N+"Capture":null:N;re=[];for(var T=g,w;T!==null;){var M=T;if(w=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||w===null||Ge===null||(M=nl(T,Ge),M!=null&&re.push(Al(T,M,w))),ot)break;T=T.return}0<re.length&&(N=new V(N,ne,null,n,U),_.push({event:N,listeners:re}))}}if((t&7)===0){e:{if(N=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",N&&n!==jl&&(ne=n.relatedTarget||n.fromElement)&&(Q(ne)||ne[Jo]))break e;if((V||N)&&(N=U.window===U?U:(N=U.ownerDocument)?N.defaultView||N.parentWindow:window,V?(ne=n.relatedTarget||n.toElement,V=g,ne=ne?Q(ne):null,ne!==null&&(ot=Y(ne),re=ne.tag,ne!==ot||re!==5&&re!==27&&re!==6)&&(ne=null)):(V=null,ne=g),V!==ne)){if(re=eD,M="onMouseLeave",Ge="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(re=nD,M="onPointerLeave",Ge="onPointerEnter",T="pointer"),ot=V==null?N:he(V),w=ne==null?N:he(ne),N=new re(M,T+"leave",V,n,U),N.target=ot,N.relatedTarget=w,M=null,Q(U)===g&&(re=new re(Ge,T+"enter",ne,n,U),re.target=w,re.relatedTarget=ot,M=re),ot=M,V&&ne)t:{for(re=AR,Ge=V,T=ne,w=0,M=Ge;M;M=re(M))w++;M=0;for(var P=T;P;P=re(P))M++;for(;0<w-M;)Ge=re(Ge),w--;for(;0<M-w;)T=re(T),M--;for(;w--;){if(Ge===T||T!==null&&Ge===T.alternate){re=Ge;break t}Ge=re(Ge),T=re(T)}re=null}else re=null;V!==null&&V1(_,N,V,re,!1),ne!==null&&ot!==null&&V1(_,ot,ne,re,!0)}}e:{if(N=g?he(g):window,V=N.nodeName&&N.nodeName.toLowerCase(),V==="select"||V==="input"&&N.type==="file")var ae=Wv;else if(Iv(N))if(lD)ae=Vw;else{ae=zw;var Te=_w}else V=N.nodeName,!V||V.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?g&&el(g.elementType)&&(ae=Wv):ae=jw;if(ae&&(ae=ae(e,g))){Kv(_,ae,n,U);break e}Te&&Te(e,N,g),e==="focusout"&&g&&N.type==="number"&&g.memoizedProps.value!=null&&eh(N,"number",N.value)}switch(Te=g?he(g):window,e){case"focusin":(Iv(Te)||Te.contentEditable==="true")&&(ri=Te,Cp=g,Yl=null);break;case"focusout":Yl=Cp=ri=null;break;case"mousedown":Mp=!0;break;case"contextmenu":case"mouseup":case"dragend":Mp=!1,sb(_,n,U);break;case"selectionchange":if(dC)break;case"keydown":case"keyup":sb(_,n,U)}var ve;if(Op)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else oi?Fv(e,n)&&(me="onCompositionEnd"):e==="keydown"&&n.keyCode===aD&&(me="onCompositionStart");me&&(oD&&n.locale!=="ko"&&(oi||me!=="onCompositionStart"?me==="onCompositionEnd"&&oi&&(ve=Qv()):(Io=U,Tp="value"in Io?Io.value:Io.textContent,oi=!0)),Te=Jc(g,me),0<Te.length&&(me=new tD(me,e,null,n,U),_.push({event:me,listeners:Te}),ve?me.data=ve:(ve=Jv(n),ve!==null&&(me.data=ve)))),(ve=cC?Ow(e,n):Cw(e,n))&&(me=Jc(g,"onBeforeInput"),0<me.length&&(Te=new ZO("onBeforeInput","beforeinput",null,n,U),_.push({event:Te,listeners:me}),Te.data=ve)),ER(_,e,g,n,U)}z1(_,t)})}function Al(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Jc(e,t){for(var n=t+"Capture",a=[];e!==null;){var s=e,i=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||i===null||(s=nl(e,n),s!=null&&a.unshift(Al(e,s,i)),s=nl(e,t),s!=null&&a.push(Al(e,s,i))),e.tag===3)return a;e=e.return}return[]}function AR(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function V1(e,t,n,a,s){for(var i=t._reactName,c=[];n!==null&&n!==a;){var d=n,y=d.alternate,g=d.stateNode;if(d=d.tag,y!==null&&y===a)break;d!==5&&d!==26&&d!==27||g===null||(y=g,s?(g=nl(n,i),g!=null&&c.unshift(Al(n,g,y))):s||(g=nl(n,i),g!=null&&c.push(Al(n,g,y)))),n=n.return}c.length!==0&&e.push({event:t,listeners:c})}function Hm(e,t){Tw(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||KS||(KS=!0,e==="select"&&t.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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Qr,possibleRegistrationNames:Sp};el(e)||typeof t.is=="string"||ww(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.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 kt(e,t,n,a){t!==n&&(n=$o(n),$o(t)!==n&&(a[e]=t))}function TR(e,t,n){t.forEach(function(a){n[B1(a)]=a==="style"?Ym(e):e.getAttribute(a)})}function La(e,t){t===!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.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function k1(e,t){return e=e.namespaceURI===pf||e.namespaceURI===ei?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function $o(e){return Rr(e)&&(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.",wr(e)),Co(e)),(typeof e=="string"?e:""+e).replace(BC,`
|
|
181
|
+
`).replace(HC,"")}function L1(e,t){return t=$o(t),$o(e)===t}function We(e,t,n,a,s,i){switch(n){case"children":typeof a=="string"?(nc(a,t,!1),t==="body"||t==="textarea"&&a===""||Wi(e,a)):(typeof a=="number"||typeof a=="bigint")&&(nc(""+a,t,!1),t!=="body"&&Wi(e,""+a));break;case"className":Wu(e,"class",a);break;case"tabIndex":Wu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Wu(e,n,a);break;case"style":Pv(e,a,i);break;case"data":if(t!=="object"){Wu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'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.':'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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Je(a,n),a=tl(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(s.encType==null&&s.method==null||ad||(ad=!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.")),s.target==null||nd||(nd=!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."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||td?t!=="button"||s.type==null||s.type==="submit"||td?typeof a=="function"&&(s.name==null||kx||(kx=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),s.formEncType==null&&s.formMethod==null||ad||(ad=!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.")),s.formTarget==null||nd||(nd=!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."))):(td=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(td=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"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 i=="function"&&(n==="formAction"?(t!=="input"&&We(e,t,"name",s.name,s,null),We(e,t,"formEncType",s.formEncType,s,null),We(e,t,"formMethod",s.formMethod,s,null),We(e,t,"formTarget",s.formTarget,s,null)):(We(e,t,"encType",s.encType,s,null),We(e,t,"method",s.method,s,null),We(e,t,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Je(a,n),a=tl(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&La(n,a),e.onclick=eo);break;case"onScroll":a!=null&&(typeof a!="function"&&La(n,a),Ye("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&La(n,a),Ye("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}Je(a,n),n=tl(""+a),e.setAttributeNS(fs,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(Je(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||od[n]||(od[n]=!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.",n));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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(Je(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(Je(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(Je(a,n),e.setAttribute(n,a));break;case"popover":Ye("beforetoggle",e),Ye("toggle",e),Cs(e,"popover",a);break;case"xlinkActuate":Wa(e,fs,"xlink:actuate",a);break;case"xlinkArcrole":Wa(e,fs,"xlink:arcrole",a);break;case"xlinkRole":Wa(e,fs,"xlink:role",a);break;case"xlinkShow":Wa(e,fs,"xlink:show",a);break;case"xlinkTitle":Wa(e,fs,"xlink:title",a);break;case"xlinkType":Wa(e,fs,"xlink:type",a);break;case"xmlBase":Wa(e,Ay,"xml:base",a);break;case"xmlLang":Wa(e,Ay,"xml:lang",a);break;case"xmlSpace":Wa(e,Ay,"xml:space",a);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Cs(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":Lx||a==null||typeof a!="object"||(Lx=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Gv(n),Cs(e,n,a)):Qr.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&La(n,a)}}function qm(e,t,n,a,s,i){switch(n){case"style":Pv(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?Wi(e,a):(typeof a=="number"||typeof a=="bigint")&&Wi(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&La(n,a),Ye("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&La(n,a),Ye("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&La(n,a),e.onclick=eo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Qr.hasOwnProperty(n))a!=null&&typeof a!="function"&&La(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),i=e[rn]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,s),typeof a=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,s);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Cs(e,n,a)}}}function Gt(e,t,n){switch(Hm(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ye("error",e),Ye("load",e);var a=!1,s=!1,i;for(i in n)if(n.hasOwnProperty(i)){var c=n[i];if(c!=null)switch(i){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:We(e,t,i,c,n,null)}}s&&We(e,t,"srcSet",n.srcSet,n,null),a&&We(e,t,"src",n.src,n,null);return;case"input":nn("input",n),Ye("invalid",e);var d=i=c=s=null,y=null,g=null;for(a in n)if(n.hasOwnProperty(a)){var U=n[a];if(U!=null)switch(a){case"name":s=U;break;case"type":c=U;break;case"checked":y=U;break;case"defaultChecked":g=U;break;case"value":i=U;break;case"defaultValue":d=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:We(e,t,a,U,n,null)}}wv(e,n),Rv(e,i,d,y,g,c,s,!1);return;case"select":nn("select",n),Ye("invalid",e),a=c=i=null;for(s in n)if(n.hasOwnProperty(s)&&(d=n[s],d!=null))switch(s){case"value":i=d;break;case"defaultValue":c=d;break;case"multiple":a=d;default:We(e,t,s,d,n,null)}Mv(e,n),t=i,n=c,e.multiple=!!a,t!=null?Ms(e,!!a,t,!1):n!=null&&Ms(e,!!a,n,!0);return;case"textarea":nn("textarea",n),Ye("invalid",e),i=s=a=null;for(c in n)if(n.hasOwnProperty(c)&&(d=n[c],d!=null))switch(c){case"value":a=d;break;case"defaultValue":s=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:We(e,t,c,d,n,null)}Uv(e,n),zv(e,a,s,i);return;case"option":Ov(e,n);for(y in n)n.hasOwnProperty(y)&&(a=n[y],a!=null)&&(y==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":We(e,t,y,a,n,null));return;case"dialog":Ye("beforetoggle",e),Ye("toggle",e),Ye("cancel",e),Ye("close",e);break;case"iframe":case"object":Ye("load",e);break;case"video":case"audio":for(a=0;a<vu.length;a++)Ye(vu[a],e);break;case"image":Ye("error",e),Ye("load",e);break;case"details":Ye("toggle",e);break;case"embed":case"source":case"link":Ye("error",e),Ye("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(g in n)if(n.hasOwnProperty(g)&&(a=n[g],a!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:We(e,t,g,a,n,null)}return;default:if(el(t)){for(U in n)n.hasOwnProperty(U)&&(a=n[U],a!==void 0&&qm(e,t,U,a,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(a=n[d],a!=null&&We(e,t,d,a,n,null))}function NR(e,t,n,a){switch(Hm(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,i=null,c=null,d=null,y=null,g=null,U=null;for(V in n){var _=n[V];if(n.hasOwnProperty(V)&&_!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":y=_;default:a.hasOwnProperty(V)||We(e,t,V,null,a,_)}}for(var N in a){var V=a[N];if(_=n[N],a.hasOwnProperty(N)&&(V!=null||_!=null))switch(N){case"type":i=V;break;case"name":s=V;break;case"checked":g=V;break;case"defaultChecked":U=V;break;case"value":c=V;break;case"defaultValue":d=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:V!==_&&We(e,t,N,V,a,_)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||Vx||(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"),Vx=!0),!t||a||jx||(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"),jx=!0),Wd(e,c,d,y,g,U,i,s);return;case"select":V=c=d=N=null;for(i in n)if(y=n[i],n.hasOwnProperty(i)&&y!=null)switch(i){case"value":break;case"multiple":V=y;default:a.hasOwnProperty(i)||We(e,t,i,null,a,y)}for(s in a)if(i=a[s],y=n[s],a.hasOwnProperty(s)&&(i!=null||y!=null))switch(s){case"value":N=i;break;case"defaultValue":d=i;break;case"multiple":c=i;default:i!==y&&We(e,t,s,i,a,y)}a=d,t=c,n=V,N!=null?Ms(e,!!t,N,!1):!!n!=!!t&&(a!=null?Ms(e,!!t,a,!0):Ms(e,!!t,t?[]:"",!1));return;case"textarea":V=N=null;for(d in n)if(s=n[d],n.hasOwnProperty(d)&&s!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:We(e,t,d,null,a,s)}for(c in a)if(s=a[c],i=n[c],a.hasOwnProperty(c)&&(s!=null||i!=null))switch(c){case"value":N=s;break;case"defaultValue":V=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==i&&We(e,t,c,s,a,i)}_v(e,N,V);return;case"option":for(var ne in n)N=n[ne],n.hasOwnProperty(ne)&&N!=null&&!a.hasOwnProperty(ne)&&(ne==="selected"?e.selected=!1:We(e,t,ne,null,a,N));for(y in a)N=a[y],V=n[y],a.hasOwnProperty(y)&&N!==V&&(N!=null||V!=null)&&(y==="selected"?e.selected=N&&typeof N!="function"&&typeof N!="symbol":We(e,t,y,N,a,V));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 re in n)N=n[re],n.hasOwnProperty(re)&&N!=null&&!a.hasOwnProperty(re)&&We(e,t,re,null,a,N);for(g in a)if(N=a[g],V=n[g],a.hasOwnProperty(g)&&N!==V&&(N!=null||V!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:We(e,t,g,N,a,V)}return;default:if(el(t)){for(var ot in n)N=n[ot],n.hasOwnProperty(ot)&&N!==void 0&&!a.hasOwnProperty(ot)&&qm(e,t,ot,void 0,a,N);for(U in a)N=a[U],V=n[U],!a.hasOwnProperty(U)||N===V||N===void 0&&V===void 0||qm(e,t,U,N,a,V);return}}for(var Ge in n)N=n[Ge],n.hasOwnProperty(Ge)&&N!=null&&!a.hasOwnProperty(Ge)&&We(e,t,Ge,null,a,N);for(_ in a)N=a[_],V=n[_],!a.hasOwnProperty(_)||N===V||N==null&&V==null||We(e,t,_,N,a,V)}function B1(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ym(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function H1(e,t,n){if(t!=null&&typeof t!="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 a,s=a="",i;for(i in t)if(t.hasOwnProperty(i)){var c=t[i];c!=null&&typeof c!="boolean"&&c!==""&&(i.indexOf("--")===0?(Ft(c,i),a+=s+i+":"+(""+c).trim()):typeof c!="number"||c===0||JS.has(i)?(Ft(c,i),a+=s+i.replace($S,"-$1").toLowerCase().replace(XS,"-ms-")+":"+(""+c).trim()):a+=s+i.replace($S,"-$1").toLowerCase().replace(XS,"-ms-")+":"+c+"px",s=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=$o(a),$o(t)!==a&&(n.style=Ym(e)))}}function Yn(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Je(a,t),e===""+a)return}kt(t,e,a,i)}function q1(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}kt(t,e,a,i)}function Pm(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(Je(a,n),e===""+a)return}kt(t,e,a,i)}function Y1(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(Je(a,t),e===""+a))return}kt(t,e,a,i)}function Gm(e,t,n,a,s,i){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Je(a,t),n=tl(""+a),e===n)return}kt(t,e,a,i)}function P1(e,t,n,a){for(var s={},i=new Set,c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:i.add(c[d].name)}if(el(t)){for(var y in n)if(n.hasOwnProperty(y)){var g=n[y];if(g!=null){if(Qr.hasOwnProperty(y))typeof g!="function"&&La(y,g);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof g!="string"&&typeof g!="number"||kt("children",e.textContent,g,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=k1(e,g),kt(y,c,g,s));continue;case"style":i.delete(y),H1(e,g,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":i.delete("class"),c=Ku(e,"class",g),kt("className",c,g,s);continue;default:a.context===Ao&&t!=="svg"&&t!=="math"?i.delete(y.toLowerCase()):i.delete(y),c=Ku(e,y,g),kt(y,c,g,s)}}}}else for(g in n)if(n.hasOwnProperty(g)&&(y=n[g],y!=null)){if(Qr.hasOwnProperty(g))typeof y!="function"&&La(g,y);else if(n.suppressHydrationWarning!==!0)switch(g){case"children":typeof y!="string"&&typeof y!="number"||kt("children",e.textContent,y,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=k1(e,y),c!==y&&(s[g]={__html:c}));continue;case"className":Yn(e,g,"class",y,i,s);continue;case"tabIndex":Yn(e,g,"tabindex",y,i,s);continue;case"style":i.delete(g),H1(e,y,s);continue;case"multiple":i.delete(g),kt(g,e.multiple,y,s);continue;case"muted":i.delete(g),kt(g,e.muted,y,s);continue;case"autoFocus":i.delete("autofocus"),kt(g,e.autofocus,y,s);continue;case"data":if(t!=="object"){i.delete(g),c=e.getAttribute("data"),kt(g,c,y,s);continue}case"src":case"href":if(!(y!==""||t==="a"&&g==="href"||t==="object"&&g==="data")){console.error(g==="src"?'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.':'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.',g,g);continue}Gm(e,g,g,y,i,s);continue;case"action":case"formAction":if(c=e.getAttribute(g),typeof y=="function"){i.delete(g.toLowerCase()),g==="formAction"?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}else if(c===qC){i.delete(g.toLowerCase()),kt(g,"function",y,s);continue}Gm(e,g,g.toLowerCase(),y,i,s);continue;case"xlinkHref":Gm(e,g,"xlink:href",y,i,s);continue;case"contentEditable":Pm(e,g,"contenteditable",y,i,s);continue;case"spellCheck":Pm(e,g,"spellcheck",y,i,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Pm(e,g,g,y,i,s);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":q1(e,g,g.toLowerCase(),y,i,s);continue;case"capture":case"download":e:{d=e;var U=c=g,_=s;if(i.delete(U),d=d.getAttribute(U),d===null)switch(typeof y){case"undefined":case"function":case"symbol":break e;default:if(y===!1)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&d==="")break e;break;default:if(Je(y,c),d===""+y)break e}kt(c,d,y,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(d=e,U=c=g,_=s,i.delete(U),d=d.getAttribute(U),d===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(y)||1>y)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(Je(y,c),d===""+y))break e}kt(c,d,y,_)}continue;case"rowSpan":Y1(e,g,"rowspan",y,i,s);continue;case"start":Y1(e,g,g,y,i,s);continue;case"xHeight":Yn(e,g,"x-height",y,i,s);continue;case"xlinkActuate":Yn(e,g,"xlink:actuate",y,i,s);continue;case"xlinkArcrole":Yn(e,g,"xlink:arcrole",y,i,s);continue;case"xlinkRole":Yn(e,g,"xlink:role",y,i,s);continue;case"xlinkShow":Yn(e,g,"xlink:show",y,i,s);continue;case"xlinkTitle":Yn(e,g,"xlink:title",y,i,s);continue;case"xlinkType":Yn(e,g,"xlink:type",y,i,s);continue;case"xmlBase":Yn(e,g,"xml:base",y,i,s);continue;case"xmlLang":Yn(e,g,"xml:lang",y,i,s);continue;case"xmlSpace":Yn(e,g,"xml:space",y,i,s);continue;case"inert":y!==""||od[g]||(od[g]=!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.",g)),q1(e,g,g,y,i,s);continue;default:if(!(2<g.length)||g[0]!=="o"&&g[0]!=="O"||g[1]!=="n"&&g[1]!=="N"){d=Gv(g),c=!1,a.context===Ao&&t!=="svg"&&t!=="math"?i.delete(d.toLowerCase()):(U=g.toLowerCase(),U=yf.hasOwnProperty(U)&&yf[U]||null,U!==null&&U!==g&&(c=!0,i.delete(U)),i.delete(d));e:if(U=e,_=d,d=y,xa(_))if(U.hasAttribute(_))U=U.getAttribute(_),Je(d,_),d=U===""+d?d:U;else{switch(typeof d){case"function":case"symbol":break e;case"boolean":if(U=_.toLowerCase().slice(0,5),U!=="data-"&&U!=="aria-")break e}d=d===void 0?void 0:null}else d=void 0;c||kt(g,d,y,s)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&TR(e,i,s),Object.keys(s).length===0?null:s}function wR(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function G1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function RR(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var s=n[a],i=s.transferSize,c=s.initiatorType,d=s.duration;if(i&&d&&G1(c)){for(c=0,d=s.responseEnd,a+=1;a<n.length;a++){var y=n[a],g=y.startTime;if(g>d)break;var U=y.transferSize,_=y.initiatorType;U&&G1(_)&&(y=y.responseEnd,c+=U*(y<d?1:(d-g)/(y-g)))}if(--a,t+=8*(i+c)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Ic(e){return e.nodeType===9?e:e.ownerDocument}function $1(e){switch(e){case ei:return Ci;case pf:return sd;default:return Ao}}function X1(e,t){if(e===Ao)switch(t){case"svg":return Ci;case"math":return sd;default:return Ao}return e===Ci&&t==="foreignObject"?Ao:e}function $m(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function OR(){var e=window.event;return e&&e.type==="popstate"?e===Ry?!1:(Ry=e,!0):(Ry=null,!1)}function Tl(){var e=window.event;return e&&e!==Du?e.type:null}function Nl(){var e=window.event;return e&&e!==Du?e.timeStamp:-1.1}function CR(e){setTimeout(function(){throw e})}function MR(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function UR(){}function _R(e,t,n,a){NR(e,t,n,a),e[rn]=a}function Q1(e){Wi(e,"")}function zR(e,t,n){e.nodeValue=n}function Z1(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[rn]||null;if(t!==null){var n=te(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ie(n,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.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,ie(n,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 Xo(e){return e==="head"}function jR(e,t){e.removeChild(t)}function VR(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function F1(e,t){var n=t,a=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===Su||n===rd){if(a===0){e.removeChild(s),Zs(t);return}a--}else if(n===bu||n===pr||n===hs||n===Oi||n===ds)a++;else if(n===PC)wl(e.ownerDocument.documentElement);else if(n===$C){n=e.ownerDocument.head,wl(n);for(var i=n.firstChild;i;){var c=i.nextSibling,d=i.nodeName;i[zl]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=c}}else n===GC&&wl(e.ownerDocument.body);n=s}while(n);Zs(t)}function J1(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===Su){if(e===0)break;e--}else n!==bu&&n!==pr&&n!==hs&&n!==Oi||e++;n=a}while(n)}function kR(e){J1(e,!0)}function LR(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function BR(e){e.nodeValue=""}function HR(e){J1(e,!1)}function qR(e,t){t=t[XC],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function YR(e,t){e.nodeValue=t}function Xm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Xm(n),z(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function PR(e,t,n,a){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[zl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Je(s.name,"name");var i=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Mn(e.nextSibling),e===null)break}return null}function GR(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Mn(e.nextSibling),e===null))return null;return e}function I1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Mn(e.nextSibling),e===null))return null;return e}function Qm(e){return e.data===pr||e.data===hs}function Zm(e){return e.data===Oi||e.data===pr&&e.ownerDocument.readyState!==Hx}function $R(e,t){var n=e.ownerDocument;if(e.data===hs)e._reactRetry=t;else if(e.data!==pr||n.readyState!==Hx)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Mn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===bu||t===Oi||t===pr||t===hs||t===ds||t===Ty||t===Bx)break;if(t===Su||t===rd)return null}}return e}function K1(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,s=0;s<a.length;s++){var i=a[s];n[B1(i.name)]=i.name.toLowerCase()==="style"?Ym(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===ds?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function W1(e,t,n){return n===null||n[YC]!==!0?(e.nodeValue===t?e=null:(t=$o(t),e=$o(e.nodeValue)===t?null:e.nodeValue),e):null}function Fm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Su||n===rd){if(t===0)return Mn(e.nextSibling);t--}else n!==bu&&n!==Oi&&n!==pr&&n!==hs&&n!==ds||t++}e=e.nextSibling}return null}function eS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===bu||n===Oi||n===pr||n===hs||n===ds){if(t===0)return e;t--}else n!==Su&&n!==rd||t++}e=e.previousSibling}return null}function XR(e){Zs(e)}function QR(e){Zs(e)}function ZR(e){Zs(e)}function tS(e,t,n,a,s){switch(s&&rh(e,a.ancestorInfo),t=Ic(n),e){case"html":if(e=t.documentElement,!e)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 e;case"head":if(e=t.head,!e)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 e;case"body":if(e=t.body,!e)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 e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function FR(e,t,n,a){if(!n[Jo]&&te(n)){var s=n.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.",s,s,s)}switch(e){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(s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Gt(n,e,t),n[$t]=a,n[rn]=t}function wl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);z(e)}function Kc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function nS(e,t,n){var a=Mi;if(a&&typeof t=="string"&&t){var s=qn(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Xx.has(s)||(Xx.add(s),e={rel:e,crossOrigin:n,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),Gt(t,"link",e),ye(t),a.head.appendChild(t)))}}function aS(e,t,n,a){var s=(s=Zo.current)?Kc(s):null;if(!s)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=Xs(n.href),t=Oe(s).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Xs(n.href);var i=Oe(s).hoistableStyles,c=i.get(e);if(!c&&(s=s.ownerDocument||s,c={type:"stylesheet",instance:null,count:0,state:{loading:ps,preload:null}},i.set(e,c),(i=s.querySelector(Rl(e)))&&!i._p&&(c.instance=i,c.state.loading=xu|ea),!ta.has(e))){var d={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};ta.set(e,d),i||JR(s,e,d,c.state)}if(t&&a===null)throw n=`
|
|
182
|
+
|
|
183
|
+
- `+Wc(t)+`
|
|
184
|
+
+ `+Wc(n),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."+n);return c}if(t&&a!==null)throw n=`
|
|
185
|
+
|
|
186
|
+
- `+Wc(t)+`
|
|
187
|
+
+ `+Wc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Qs(n),t=Oe(s).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Wc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):fa.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):fa.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):fa.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Xs(e){return'href="'+qn(e)+'"'}function Rl(e){return'link[rel="stylesheet"]['+e+"]"}function oS(e){return Le({},e,{"data-precedence":e.precedence,precedence:null})}function JR(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=xu:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=xu}),t.addEventListener("error",function(){return a.loading|=Gx}),Gt(t,"link",n),ye(t),e.head.appendChild(t))}function Qs(e){return'[src="'+qn(e)+'"]'}function Ol(e){return"script[async]"+e}function rS(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qn(n.href)+'"]');if(a)return t.instance=a,ye(a),a;var s=Le({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),ye(a),Gt(a,"style",s),ef(a,n.precedence,e),t.instance=a;case"stylesheet":s=Xs(n.href);var i=e.querySelector(Rl(s));if(i)return t.state.loading|=ea,t.instance=i,ye(i),i;a=oS(n),(s=ta.get(s))&&Jm(a,s),i=(e.ownerDocument||e).createElement("link"),ye(i);var c=i;return c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),Gt(i,"link",a),t.state.loading|=ea,ef(i,n.precedence,e),t.instance=i;case"script":return i=Qs(n.src),(s=e.querySelector(Ol(i)))?(t.instance=s,ye(s),s):(a=n,(s=ta.get(i))&&(a=Le({},n),Im(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),ye(s),Gt(s,"link",a),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&ea)===ps&&(a=t.instance,t.state.loading|=ea,ef(a,n.precedence,e));return t.instance}function ef(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,i=s,c=0;c<a.length;c++){var d=a[c];if(d.dataset.precedence===t)i=d;else if(i!==s)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Jm(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Im(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function sS(e,t,n){if(id===null){var a=new Map,s=id=new Map;s.set(n,a)}else s=id,a=s.get(n),a||(a=new Map,s.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var i=n[s];if(!(i[zl]||i[$t]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==ei){var c=i.getAttribute(t)||"";c=e+c;var d=a.get(c);d?d.push(i):a.set(c,[i])}}return a}function iS(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function IR(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Ci||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="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.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){a&&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 t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var s=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),s&&n.push("`onError`"),i!=null&&n.push("`disabled`"),s=wR(n,"and"),s+=n.length===1?" prop":" props",i=n.length===1?"an "+s:"the "+s,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,i,s)}a&&(typeof t.rel!="string"||typeof t.href!="string"||t.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"):(t.onError||t.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}return t.rel==="stylesheet"?(e=t.precedence,t=t.disabled,typeof e!="string"&&a&&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 e=="string"&&t==null):!0;case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){a&&(e?t.onLoad||t.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":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function lS(e){return!(e.type==="stylesheet"&&(e.state.loading&$x)===ps)}function KR(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&ea)===ps){if(n.instance===null){var s=Xs(a.href),i=t.querySelector(Rl(s));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=tf.bind(e),t.then(e,e)),n.state.loading|=ea,n.instance=i,ye(i);return}i=t.ownerDocument||t,a=oS(a),(s=ta.get(s))&&Jm(a,s),i=i.createElement("link"),ye(i);var c=i;c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),Gt(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&$x)===ps&&(e.count++,n=tf.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function WR(e,t){return e.stylesheets&&e.count===0&&nf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&nf(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},FC+t);0<e.imgBytes&&Cy===0&&(Cy=125*RR()*IC);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&nf(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Cy?50:JC)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function tf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function nf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ld=new Map,t.forEach(eO,e),ld=null,tf.call(e))}function eO(e,t){if(!(t.state.loading&ea)){var n=ld.get(e);if(n)var a=n.get(My);else{n=new Map,ld.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<s.length;i++){var c=s[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(n.set(c.dataset.precedence,c),a=c)}a&&n.set(My,a)}s=t.instance,c=s.getAttribute("data-precedence"),i=n.get(c)||a,i===a&&n.set(My,s),n.set(c,s),this.count++,a=tf.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),i?i.parentNode.insertBefore(s,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=ea}}function tO(e,t,n,a,s,i,c,d,y){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ms,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Zi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zi(0),this.hiddenUpdates=Zi(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function uS(e,t,n,a,s,i,c,d,y,g,U,_){return e=new tO(e,t,n,c,y,g,U,_,d),t=DC,i===!0&&(t|=Kt|da),t|=Ue,i=D(3,null,null,t),e.current=i,i.stateNode=e,t=Th(),Hr(t),e.pooledCache=t,Hr(t),i.memoizedState={element:a,isDehydrated:n,cache:t},Ch(i),e}function cS(e){return e?(e=er,e):er}function Km(e,t,n,a,s,i){if(It&&typeof It.onScheduleFiberRoot=="function")try{It.onScheduleFiberRoot(Ks,a,n)}catch(c){Ya||(Ya=!0,console.error("React instrumentation encountered an error: %o",c))}s=cS(s),a.context===null?a.context=s:a.pendingContext=s,qa&&_n!==null&&!Jx&&(Jx=!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.
|
|
188
|
+
|
|
189
|
+
Check the render method of %s.`,q(_n)||"Unknown")),a=Bo(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),a.callback=i),n=Ho(e,a,t),n!==null&&(Na(t,"root.render()",null),pt(n,e,t),ul(n,e,t))}function fS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Wm(e,t){fS(e,t),(e=e.alternate)&&fS(e,t)}function dS(e){if(e.tag===13||e.tag===31){var t=Jt(e,67108864);t!==null&&pt(t,e,67108864),Wm(e,67108864)}}function hS(e){if(e.tag===13||e.tag===31){var t=Cn(e);t=_o(t);var n=Jt(e,t);n!==null&&pt(n,e,t),Wm(e,t)}}function nO(){return _n}function aO(e,t,n,a){var s=B.T;B.T=null;var i=Fe.p;try{Fe.p=Pn,ep(e,t,n,a)}finally{Fe.p=i,B.T=s}}function oO(e,t,n,a){var s=B.T;B.T=null;var i=Fe.p;try{Fe.p=Ga,ep(e,t,n,a)}finally{Fe.p=i,B.T=s}}function ep(e,t,n,a){if(cd){var s=tp(a);if(s===null)Bm(e,t,a,fd,n),pS(e,a);else if(rO(s,e,t,n,a))a.stopPropagation();else if(pS(e,a),t&4&&-1<WC.indexOf(e)){for(;s!==null;){var i=te(s);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=Da(i.pendingLanes);if(c!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var y=1<<31-on(c);d.entanglements[1]|=y,c&=~y}ka(i),(Qe&(zt|kn))===qt&&(Qf=Lt()+Ax,El(0))}}break;case 31:case 13:d=Jt(i,2),d!==null&&pt(d,i,2),Ps(),Wm(i,2)}if(i=tp(a),i===null&&Bm(e,t,a,fd,n),i===s)break;s=i}s!==null&&a.stopPropagation()}else Bm(e,t,a,null,n)}}function tp(e){return e=sh(e),np(e)}function np(e){if(fd=null,e=Q(e),e!==null){var t=Y(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=F(t),e!==null)return e;e=null}else if(n===31){if(e=G(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return fd=e,null}function mS(e){switch(e){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 Pn;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 Ga;case"message":switch(pO()){case yp:return Pn;case gp:return Ga;case Is:case yO:return uo;case vp:return hf;default:return uo}default:return uo}}function pS(e,t){switch(e){case"focusin":case"focusout":yr=null;break;case"dragenter":case"dragleave":gr=null;break;case"mouseover":case"mouseout":vr=null;break;case"pointerover":case"pointerout":Au.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tu.delete(t.pointerId)}}function Cl(e,t,n,a,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[s]},t!==null&&(t=te(t),t!==null&&dS(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function rO(e,t,n,a,s){switch(t){case"focusin":return yr=Cl(yr,e,t,n,a,s),!0;case"dragenter":return gr=Cl(gr,e,t,n,a,s),!0;case"mouseover":return vr=Cl(vr,e,t,n,a,s),!0;case"pointerover":var i=s.pointerId;return Au.set(i,Cl(Au.get(i)||null,e,t,n,a,s)),!0;case"gotpointercapture":return i=s.pointerId,Tu.set(i,Cl(Tu.get(i)||null,e,t,n,a,s)),!0}return!1}function yS(e){var t=Q(e.target);if(t!==null){var n=Y(t);if(n!==null){if(t=n.tag,t===13){if(t=F(n),t!==null){e.blockedOn=t,x(e.priority,function(){hS(n)});return}}else if(t===31){if(t=G(n),t!==null){e.blockedOn=t,x(e.priority,function(){hS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function af(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=tp(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),s=a;jl!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),jl=s,n.target.dispatchEvent(a),jl===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."),jl=null}else return t=te(n),t!==null&&dS(t),e.blockedOn=n,!1;t.shift()}return!0}function gS(e,t,n){af(e)&&n.delete(t)}function sO(){Uy=!1,yr!==null&&af(yr)&&(yr=null),gr!==null&&af(gr)&&(gr=null),vr!==null&&af(vr)&&(vr=null),Au.forEach(gS),Tu.forEach(gS)}function of(e,t){e.blockedOn===t&&(e.blockedOn=null,Uy||(Uy=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,sO)))}function vS(e){dd!==e&&(dd=e,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,function(){dd===e&&(dd=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],s=e[t+2];if(typeof a!="function"){if(np(a||n)===null)continue;break}var i=te(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:s,method:n.method,action:a},Object.freeze(n),nm(i,n,a,s))}}))}function Zs(e){function t(y){return of(y,e)}yr!==null&&of(yr,e),gr!==null&&of(gr,e),vr!==null&&of(vr,e),Au.forEach(t),Tu.forEach(t);for(var n=0;n<br.length;n++){var a=br[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<br.length&&(n=br[0],n.blockedOn===null);)yS(n),n.blockedOn===null&&br.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],i=n[a+1],c=s[rn]||null;if(typeof i=="function")c||vS(n);else if(c){var d=null;if(i&&i.hasAttribute("formAction")){if(s=i,c=i[rn]||null)d=c.formAction;else if(np(s)!==null)continue}else d=c.action;typeof d=="function"?n[a+1]=d:(n.splice(a,3),a-=3),vS(n)}}}function bS(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return s=c})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function ap(e){this._internalRoot=e}function rf(e){this._internalRoot=e}function SS(e){e[Jo]&&(e._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 Et=rM(),op=Hu(),iO=iM(),Le=Object.assign,lO=Symbol.for("react.element"),Ba=Symbol.for("react.transitional.element"),Fs=Symbol.for("react.portal"),Js=Symbol.for("react.fragment"),sf=Symbol.for("react.strict_mode"),rp=Symbol.for("react.profiler"),sp=Symbol.for("react.consumer"),Ha=Symbol.for("react.context"),Ml=Symbol.for("react.forward_ref"),ip=Symbol.for("react.suspense"),lp=Symbol.for("react.suspense_list"),lf=Symbol.for("react.memo"),Un=Symbol.for("react.lazy"),up=Symbol.for("react.activity"),uO=Symbol.for("react.memo_cache_sentinel"),DS=Symbol.iterator,cO=Symbol.for("react.client.reference"),Ut=Array.isArray,B=op.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Fe=iO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fO=Object.freeze({pending:!1,data:null,method:null,action:null}),cp=[],fp=[],lo=-1,Qo=ue(null),Ul=ue(null),Zo=ue(null),uf=ue(null),_l=0,xS,ES,AS,TS,NS,wS,RS;Be.__reactDisabledLog=!0;var dp,OS,hp=!1,mp=new(typeof WeakMap=="function"?WeakMap:Map),_n=null,qa=!1,fa=Object.prototype.hasOwnProperty,pp=Et.unstable_scheduleCallback,dO=Et.unstable_cancelCallback,hO=Et.unstable_shouldYield,mO=Et.unstable_requestPaint,Lt=Et.unstable_now,pO=Et.unstable_getCurrentPriorityLevel,yp=Et.unstable_ImmediatePriority,gp=Et.unstable_UserBlockingPriority,Is=Et.unstable_NormalPriority,yO=Et.unstable_LowPriority,vp=Et.unstable_IdlePriority,gO=Et.log,vO=Et.unstable_setDisableYieldValue,Ks=null,It=null,Ya=!1,Pa=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",on=Math.clz32?Math.clz32:ws,bO=Math.log,SO=Math.LN2,cf=256,ff=262144,df=4194304,Pn=2,Ga=8,uo=32,hf=268435456,Fo=Math.random().toString(36).slice(2),$t="__reactFiber$"+Fo,rn="__reactProps$"+Fo,Jo="__reactContainer$"+Fo,bp="__reactEvents$"+Fo,DO="__reactListeners$"+Fo,xO="__reactHandles$"+Fo,CS="__reactResources$"+Fo,zl="__reactMarker$"+Fo,MS=new Set,Qr={},Sp={},EO={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},AO=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]*$"),US={},_S={},TO=/[\n"\\]/g,zS=!1,jS=!1,VS=!1,kS=!1,LS=!1,BS=!1,HS=["value","defaultValue"],qS=!1,YS=/["'&<>\n\t]|^\s|\s$/,NO="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(" "),PS="applet caption html table td th marquee object template foreignObject desc title".split(" "),wO=PS.concat(["button"]),RO="dd dt li option optgroup p rp rt".split(" "),GS={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},mf={},Dp={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"]},$S=/([A-Z])/g,XS=/^ms-/,OO=/^(?:webkit|moz|o)[A-Z]/,CO=/^-ms-/,MO=/-(.)/g,QS=/;\s*$/,Ws={},xp={},ZS=!1,FS=!1,JS=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(" ")),pf="http://www.w3.org/1998/Math/MathML",ei="http://www.w3.org/2000/svg",UO=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"]]),yf={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"},IS={"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},ti={},_O=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]*$"),zO=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]*$"),KS=!1,sn={},WS=/^on./,jO=/^on[^A-Z]/,VO=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]*$"),kO=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]*$"),LO=/^[\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,jl=null,ni=null,ai=null,Ep=!1,$a=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ap=!1;if($a)try{var Vl={};Object.defineProperty(Vl,"passive",{get:function(){Ap=!0}}),window.addEventListener("test",Vl,Vl),window.removeEventListener("test",Vl,Vl)}catch{Ap=!1}var Io=null,Tp=null,gf=null,Zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vf=yn(Zr),kl=Le({},Zr,{view:0,detail:0}),BO=yn(kl),Np,wp,Ll,bf=Le({},kl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ih,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ll&&(Ll&&e.type==="mousemove"?(Np=e.screenX-Ll.screenX,wp=e.screenY-Ll.screenY):wp=Np=0,Ll=e),Np)},movementY:function(e){return"movementY"in e?e.movementY:wp}}),eD=yn(bf),HO=Le({},bf,{dataTransfer:0}),qO=yn(HO),YO=Le({},kl,{relatedTarget:0}),Rp=yn(YO),PO=Le({},Zr,{animationName:0,elapsedTime:0,pseudoElement:0}),GO=yn(PO),$O=Le({},Zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),XO=yn($O),QO=Le({},Zr,{data:0}),tD=yn(QO),ZO=tD,FO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},JO={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"},IO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},KO=Le({},kl,{key:function(e){if(e.key){var t=FO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ac(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?JO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ih,charCode:function(e){return e.type==="keypress"?ac(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ac(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),WO=yn(KO),eC=Le({},bf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nD=yn(eC),tC=Le({},kl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ih}),nC=yn(tC),aC=Le({},Zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),oC=yn(aC),rC=Le({},bf,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),sC=yn(rC),iC=Le({},Zr,{newState:0,oldState:0}),lC=yn(iC),uC=[9,13,27,32],aD=229,Op=$a&&"CompositionEvent"in window,Bl=null;$a&&"documentMode"in document&&(Bl=document.documentMode);var cC=$a&&"TextEvent"in window&&!Bl,oD=$a&&(!Op||Bl&&8<Bl&&11>=Bl),rD=32,sD=String.fromCharCode(rD),iD=!1,oi=!1,fC={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},Hl=null,ql=null,lD=!1;$a&&(lD=Mw("input")&&(!document.documentMode||9<document.documentMode));var ln=typeof Object.is=="function"?Object.is:kw,dC=$a&&"documentMode"in document&&11>=document.documentMode,ri=null,Cp=null,Yl=null,Mp=!1,si={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionrun:_r("Transition","TransitionRun"),transitionstart:_r("Transition","TransitionStart"),transitioncancel:_r("Transition","TransitionCancel"),transitionend:_r("Transition","TransitionEnd")},Up={},uD={};$a&&(uD=document.createElement("div").style,"AnimationEvent"in window||(delete si.animationend.animation,delete si.animationiteration.animation,delete si.animationstart.animation),"TransitionEvent"in window||delete si.transitionend.transition);var cD=zr("animationend"),fD=zr("animationiteration"),dD=zr("animationstart"),hC=zr("transitionrun"),mC=zr("transitionstart"),pC=zr("transitioncancel"),hD=zr("transitionend"),mD=new Map,_p="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(" ");_p.push("scrollEnd");var pD=0;if(typeof performance=="object"&&typeof performance.now=="function")var yC=performance,yD=function(){return yC.now()};else{var gC=Date;yD=function(){return gC.now()}}var zp=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},vC="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.",Sf=0,jp=1,Vp=2,kp=3,Df="– ",xf="+ ",gD=" ",rt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Gn="Components ⚛",Pe="Scheduler ⚛",$e="Blocking",Ko=!1,co={color:"primary",properties:null,tooltipText:"",track:Gn},Wo={start:-0,end:-0,detail:{devtools:co}},bC=["Changed Props",""],vD="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",SC=["Changed Props",vD],Pl=1,fo=2,$n=[],ii=0,Lp=0,er={};Object.freeze(er);var Xn=null,li=null,Ee=0,DC=1,Ue=2,Kt=8,da=16,xC=32,bD=!1;try{var SD=Object.preventExtensions({})}catch{bD=!0}var Bp=new WeakMap,ui=[],ci=0,Ef=null,Gl=0,Qn=[],Zn=0,Fr=null,ho=1,mo="",Xt=null,st=null,He=!1,Xa=!1,zn=null,tr=null,Fn=!1,Hp=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."),qp=ue(null),Yp=ue(null),DD={},Af=null,fi=null,di=!1,EC=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},AC=Et.unstable_scheduleCallback,TC=Et.unstable_NormalPriority,At={$$typeof:Ha,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Tt=Et.unstable_now,Tf=console.createTask?console.createTask:function(){return null},$l=1,Nf=2,Bt=-0,nr=-0,po=-0,yo=null,un=-1.1,Jr=-0,dt=-0,Se=-1.1,xe=-1.1,ct=null,yt=!1,Ir=-0,Qa=-1.1,Xl=null,ar=0,Pp=null,Gp=null,Kr=-1.1,Ql=null,hi=-1.1,wf=-1.1,go=-0,vo=-1.1,Jn=-1.1,$p=0,Zl=null,xD=null,ED=null,or=-1.1,Wr=null,rr=-1.1,Rf=-1.1,AD=-0,TD=-0,Of=0,NC=null,ND=0,Fl=-1.1,Cf=!1,Mf=!1,Jl=null,Xp=0,es=0,mi=null,wD=B.S;B.S=function(e,t){if(xx=Lt(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>vo&&0>Jn){vo=Tt();var n=Nl(),a=Tl();(n!==rr||a!==Wr)&&(rr=-1.1),or=n,Wr=a}Gw(e,t)}wD!==null&&wD(e,t)};var ts=ue(null),ha={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Il=[],Kl=[],Wl=[],eu=[],tu=[],nu=[],ns=new Set;ha.recordUnsafeLifecycleWarnings=function(e,t){ns.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Il.push(e),e.mode&Kt&&typeof t.UNSAFE_componentWillMount=="function"&&Kl.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Wl.push(e),e.mode&Kt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&eu.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&tu.push(e),e.mode&Kt&&typeof t.UNSAFE_componentWillUpdate=="function"&&nu.push(e))},ha.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Il.length&&(Il.forEach(function(d){e.add(q(d)||"Component"),ns.add(d.type)}),Il=[]);var t=new Set;0<Kl.length&&(Kl.forEach(function(d){t.add(q(d)||"Component"),ns.add(d.type)}),Kl=[]);var n=new Set;0<Wl.length&&(Wl.forEach(function(d){n.add(q(d)||"Component"),ns.add(d.type)}),Wl=[]);var a=new Set;0<eu.length&&(eu.forEach(function(d){a.add(q(d)||"Component"),ns.add(d.type)}),eu=[]);var s=new Set;0<tu.length&&(tu.forEach(function(d){s.add(q(d)||"Component"),ns.add(d.type)}),tu=[]);var i=new Set;if(0<nu.length&&(nu.forEach(function(d){i.add(q(d)||"Component"),ns.add(d.type)}),nu=[]),0<t.size){var c=E(t);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.
|
|
190
|
+
|
|
191
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,c)}0<a.size&&(c=E(a),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.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
* 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
|
|
197
|
+
|
|
198
|
+
Please update the following components: %s`,c)),0<i.size&&(c=E(i),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.
|
|
199
|
+
|
|
200
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,c)),0<e.size&&(c=E(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
205
|
+
* 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.
|
|
206
|
+
|
|
207
|
+
Please update the following components: %s`,c)),0<n.size&&(c=E(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
208
|
+
|
|
209
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
210
|
+
* 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
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,c)),0<s.size&&(c=E(s),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
214
|
+
|
|
215
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
216
|
+
* 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.
|
|
217
|
+
|
|
218
|
+
Please update the following components: %s`,c))};var Uf=new Map,RD=new Set;ha.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&Kt&&(n=a),a=a.return;n===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."):!RD.has(e.type)&&(a=Uf.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Uf.set(n,a)),a.push(e))},ha.flushLegacyContextWarning=function(){Uf.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(s){n.add(q(s)||"Component"),RD.add(s.type)});var a=E(n);ie(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
219
|
+
|
|
220
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
221
|
+
|
|
222
|
+
Please update the following components: %s
|
|
223
|
+
|
|
224
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},ha.discardPendingWarnings=function(){Il=[],Kl=[],Wl=[],eu=[],tu=[],nu=[],Uf=new Map};var OD={react_stack_bottom_frame:function(e,t,n){var a=qa;qa=!0;try{return e(t,n)}finally{qa=a}}},Qp=OD.react_stack_bottom_frame.bind(OD),CD={react_stack_bottom_frame:function(e){var t=qa;qa=!0;try{return e.render()}finally{qa=t}}},MD=CD.react_stack_bottom_frame.bind(CD),UD={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Ze(e,e.return,n)}}},Zp=UD.react_stack_bottom_frame.bind(UD),_D={react_stack_bottom_frame:function(e,t,n,a,s){try{t.componentDidUpdate(n,a,s)}catch(i){Ze(e,e.return,i)}}},zD=_D.react_stack_bottom_frame.bind(_D),jD={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},wC=jD.react_stack_bottom_frame.bind(jD),VD={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){Ze(e,t,a)}}},kD=VD.react_stack_bottom_frame.bind(VD),LD={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},RC=LD.react_stack_bottom_frame.bind(LD),BD={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){Ze(e,t,a)}}},OC=BD.react_stack_bottom_frame.bind(BD),HD={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},CC=HD.react_stack_bottom_frame.bind(HD),pi=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`."),Fp=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."),_f=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."),zf={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.')}},as=null,au=!1,yi=null,ou=0,_e=null,Jp,qD=Jp=!1,YD={},PD={},GD={};b=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var a=q(e),s=a||"null";if(!YD[s]){YD[s]=!0,n=n._owner,e=e._debugOwner;var i="";e&&typeof e.tag=="number"&&(s=q(e))&&(i=`
|
|
225
|
+
|
|
226
|
+
Check the render method of \``+s+"`."),i||a&&(i=`
|
|
227
|
+
|
|
228
|
+
Check the top-level render call using <`+a+">.");var c="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=q(n):typeof n.name=="string"&&(a=n.name),a&&(c=" It was passed a child from "+a+".")),ie(t,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.',i,c)})}}};var os=Vb(!0),$D=Vb(!1),XD=0,QD=1,ZD=2,Ip=3,sr=!1,FD=!1,Kp=null,Wp=!1,gi=ue(null),jf=ue(0),jn=ue(null),In=null,vi=1,ru=2,Dt=ue(0),Vf=0,Kn=1,cn=2,Vn=4,fn=8,bi,JD=new Set,ID=new Set,ey=new Set,KD=new Set,bo=0,Ae=null,et=null,Nt=null,kf=!1,Si=!1,rs=!1,Lf=0,su=0,So=null,MC=0,UC=25,k=null,Wn=null,Do=-1,iu=!1,lu={readContext:ut,use:Po,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};lu.useEffectEvent=bt;var ty=null,WD=null,ny=null,ex=null,Za=null,ma=null,Bf=null;ty={readContext:function(e){return ut(e)},use:Po,useCallback:function(e,t){return k="useCallback",ke(),Vs(t),Kh(e,t)},useContext:function(e){return k="useContext",ke(),ut(e)},useEffect:function(e,t){return k="useEffect",ke(),Vs(t),Mc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",ke(),Vs(n),Ih(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",ke(),Vs(t),Yr(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",ke(),Vs(t),Jh(e,t)},useMemo:function(e,t){k="useMemo",ke(),Vs(t);var n=B.H;B.H=Za;try{return Wh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",ke();var a=B.H;B.H=Za;try{return qh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",ke(),Zh(e)},useState:function(e){k="useState",ke();var t=B.H;B.H=Za;try{return $h(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",ke()},useDeferredValue:function(e,t){return k="useDeferredValue",ke(),em(e,t)},useTransition:function(){return k="useTransition",ke(),am()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",ke(),Ph(e,t,n)},useId:function(){return k="useId",ke(),om()},useFormState:function(e,t){return k="useFormState",ke(),Nc(),Ls(e,t)},useActionState:function(e,t){return k="useActionState",ke(),Ls(e,t)},useOptimistic:function(e){return k="useOptimistic",ke(),Xh(e)},useHostTransitionStatus:Pr,useMemoCache:qr,useCacheRefresh:function(){return k="useCacheRefresh",ke(),rm()},useEffectEvent:function(e){return k="useEffectEvent",ke(),Fh(e)}},WD={readContext:function(e){return ut(e)},use:Po,useCallback:function(e,t){return k="useCallback",X(),Kh(e,t)},useContext:function(e){return k="useContext",X(),ut(e)},useEffect:function(e,t){return k="useEffect",X(),Mc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",X(),Ih(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",X(),Yr(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",X(),Jh(e,t)},useMemo:function(e,t){k="useMemo",X();var n=B.H;B.H=Za;try{return Wh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",X();var a=B.H;B.H=Za;try{return qh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",X(),Zh(e)},useState:function(e){k="useState",X();var t=B.H;B.H=Za;try{return $h(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",X()},useDeferredValue:function(e,t){return k="useDeferredValue",X(),em(e,t)},useTransition:function(){return k="useTransition",X(),am()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",X(),Ph(e,t,n)},useId:function(){return k="useId",X(),om()},useActionState:function(e,t){return k="useActionState",X(),Ls(e,t)},useFormState:function(e,t){return k="useFormState",X(),Nc(),Ls(e,t)},useOptimistic:function(e){return k="useOptimistic",X(),Xh(e)},useHostTransitionStatus:Pr,useMemoCache:qr,useCacheRefresh:function(){return k="useCacheRefresh",X(),rm()},useEffectEvent:function(e){return k="useEffectEvent",X(),Fh(e)}},ny={readContext:function(e){return ut(e)},use:Po,useCallback:function(e,t){return k="useCallback",X(),zc(e,t)},useContext:function(e){return k="useContext",X(),ut(e)},useEffect:function(e,t){k="useEffect",X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",X(),_c(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",X();var n=B.H;B.H=ma;try{return jc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",X();var a=B.H;B.H=ma;try{return ks(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",X(),Ie().memoizedState},useState:function(){k="useState",X();var e=B.H;B.H=ma;try{return ks(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",X()},useDeferredValue:function(e,t){return k="useDeferredValue",X(),o0(e,t)},useTransition:function(){return k="useTransition",X(),c0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",X(),Rc(e,t,n)},useId:function(){return k="useId",X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",X(),Nc(),Oc(e)},useActionState:function(e){return k="useActionState",X(),Oc(e)},useOptimistic:function(e,t){return k="useOptimistic",X(),Zb(e,t)},useHostTransitionStatus:Pr,useMemoCache:qr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",X(),Uc(e)}},ex={readContext:function(e){return ut(e)},use:Po,useCallback:function(e,t){return k="useCallback",X(),zc(e,t)},useContext:function(e){return k="useContext",X(),ut(e)},useEffect:function(e,t){k="useEffect",X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",X(),_c(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",X();var n=B.H;B.H=Bf;try{return jc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",X();var a=B.H;B.H=Bf;try{return hl(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",X(),Ie().memoizedState},useState:function(){k="useState",X();var e=B.H;B.H=Bf;try{return hl(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",X()},useDeferredValue:function(e,t){return k="useDeferredValue",X(),r0(e,t)},useTransition:function(){return k="useTransition",X(),f0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",X(),Rc(e,t,n)},useId:function(){return k="useId",X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",X(),Nc(),Cc(e)},useActionState:function(e){return k="useActionState",X(),Cc(e)},useOptimistic:function(e,t){return k="useOptimistic",X(),Jb(e,t)},useHostTransitionStatus:Pr,useMemoCache:qr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",X(),Uc(e)}},Za={readContext:function(e){return v(),ut(e)},use:function(e){return p(),Po(e)},useCallback:function(e,t){return k="useCallback",p(),ke(),Kh(e,t)},useContext:function(e){return k="useContext",p(),ke(),ut(e)},useEffect:function(e,t){return k="useEffect",p(),ke(),Mc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",p(),ke(),Ih(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",p(),ke(),Yr(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",p(),ke(),Jh(e,t)},useMemo:function(e,t){k="useMemo",p(),ke();var n=B.H;B.H=Za;try{return Wh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",p(),ke();var a=B.H;B.H=Za;try{return qh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",p(),ke(),Zh(e)},useState:function(e){k="useState",p(),ke();var t=B.H;B.H=Za;try{return $h(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",p(),ke()},useDeferredValue:function(e,t){return k="useDeferredValue",p(),ke(),em(e,t)},useTransition:function(){return k="useTransition",p(),ke(),am()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",p(),ke(),Ph(e,t,n)},useId:function(){return k="useId",p(),ke(),om()},useFormState:function(e,t){return k="useFormState",p(),ke(),Ls(e,t)},useActionState:function(e,t){return k="useActionState",p(),ke(),Ls(e,t)},useOptimistic:function(e){return k="useOptimistic",p(),ke(),Xh(e)},useMemoCache:function(e){return p(),qr(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return k="useCacheRefresh",ke(),rm()},useEffectEvent:function(e){return k="useEffectEvent",p(),ke(),Fh(e)}},ma={readContext:function(e){return v(),ut(e)},use:function(e){return p(),Po(e)},useCallback:function(e,t){return k="useCallback",p(),X(),zc(e,t)},useContext:function(e){return k="useContext",p(),X(),ut(e)},useEffect:function(e,t){k="useEffect",p(),X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",p(),X(),_c(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",p(),X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",p(),X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",p(),X();var n=B.H;B.H=ma;try{return jc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",p(),X();var a=B.H;B.H=ma;try{return ks(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",p(),X(),Ie().memoizedState},useState:function(){k="useState",p(),X();var e=B.H;B.H=ma;try{return ks(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",p(),X()},useDeferredValue:function(e,t){return k="useDeferredValue",p(),X(),o0(e,t)},useTransition:function(){return k="useTransition",p(),X(),c0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",p(),X(),Rc(e,t,n)},useId:function(){return k="useId",p(),X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",p(),X(),Oc(e)},useActionState:function(e){return k="useActionState",p(),X(),Oc(e)},useOptimistic:function(e,t){return k="useOptimistic",p(),X(),Zb(e,t)},useMemoCache:function(e){return p(),qr(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",p(),X(),Uc(e)}},Bf={readContext:function(e){return v(),ut(e)},use:function(e){return p(),Po(e)},useCallback:function(e,t){return k="useCallback",p(),X(),zc(e,t)},useContext:function(e){return k="useContext",p(),X(),ut(e)},useEffect:function(e,t){k="useEffect",p(),X(),gn(2048,fn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",p(),X(),_c(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",p(),X(),gn(4,cn,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",p(),X(),gn(4,Vn,e,t)},useMemo:function(e,t){k="useMemo",p(),X();var n=B.H;B.H=ma;try{return jc(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",p(),X();var a=B.H;B.H=ma;try{return hl(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",p(),X(),Ie().memoizedState},useState:function(){k="useState",p(),X();var e=B.H;B.H=ma;try{return hl(ua)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",p(),X()},useDeferredValue:function(e,t){return k="useDeferredValue",p(),X(),r0(e,t)},useTransition:function(){return k="useTransition",p(),X(),f0()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",p(),X(),Rc(e,t,n)},useId:function(){return k="useId",p(),X(),Ie().memoizedState},useFormState:function(e){return k="useFormState",p(),X(),Cc(e)},useActionState:function(e){return k="useActionState",p(),X(),Cc(e)},useOptimistic:function(e,t){return k="useOptimistic",p(),X(),Jb(e,t)},useMemoCache:function(e){return p(),qr(e)},useHostTransitionStatus:Pr,useCacheRefresh:function(){return k="useCacheRefresh",X(),Ie().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",p(),X(),Uc(e)}};var tx={},nx=new Set,ax=new Set,ox=new Set,rx=new Set,sx=new Set,ix=new Set,lx=new Set,ux=new Set,cx=new Set,fx=new Set;Object.freeze(tx);var ay={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Cn(e),s=Bo(a);s.payload=t,n!=null&&(im(n),s.callback=n),t=Ho(e,s,a),t!==null&&(Na(a,"this.setState()",e),pt(t,e,a),ul(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Cn(e),s=Bo(a);s.tag=QD,s.payload=t,n!=null&&(im(n),s.callback=n),t=Ho(e,s,a),t!==null&&(Na(a,"this.replaceState()",e),pt(t,e,a),ul(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Cn(e),a=Bo(n);a.tag=ZD,t!=null&&(im(t),a.callback=t),t=Ho(e,a,n),t!==null&&(Na(n,"this.forceUpdate()",e),pt(t,e,n),ul(t,e,n))}},Di=null,oy=null,ry=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."),wt=!1,dx={},hx={},mx={},px={},xi=!1,yx={},Hf={},sy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},gx=!1,vx=null;vx=new Set;var xo=!1,Rt=!1,iy=!1,bx=typeof WeakSet=="function"?WeakSet:Set,Ht=null,Ei=null,Ai=null,Ot=null,Sn=!1,pa=null,_t=!1,uu=8192,_C={getCacheForType:function(e){var t=ut(At),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ut(At).controller.signal},getOwner:function(){return _n}};if(typeof Symbol=="function"&&Symbol.for){var cu=Symbol.for;cu("selector.component"),cu("selector.has_pseudo_class"),cu("selector.role"),cu("selector.test_id"),cu("selector.text")}var zC=[],jC=typeof WeakMap=="function"?WeakMap:Map,qt=0,zt=2,kn=4,Eo=0,fu=1,ss=2,qf=3,ir=4,Yf=6,Sx=5,Qe=qt,tt=null,je=null,ze=0,Dn=0,Pf=1,is=2,du=3,Dx=4,ly=5,hu=6,Gf=7,uy=8,ls=9,Ke=Dn,Ln=null,lr=!1,Ti=!1,cy=!1,Fa=0,ht=Eo,ur=0,cr=0,fy=0,xn=0,us=0,mu=null,dn=null,$f=!1,Xf=0,xx=0,Ex=300,Qf=1/0,Ax=500,pu=null,St=null,fr=null,Zf=0,dy=1,hy=2,Tx=3,dr=0,Nx=1,wx=2,Rx=3,Ox=4,Ff=5,Ct=0,hr=null,Ni=null,ya=0,my=0,py=-0,yy=null,Cx=null,Mx=null,ga=Zf,Ux=null,VC=50,yu=0,gy=null,vy=!1,Jf=!1,kC=50,cs=0,gu=null,wi=!1,If=null,_x=!1,zx=new Set,LC={},Kf=null,Ri=null,by=!1,Sy=!1,Wf=!1,Dy=!1,mr=0,xy={};(function(){for(var e=0;e<_p.length;e++){var t=_p[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ia(n,"on"+t)}ia(cD,"onAnimationEnd"),ia(fD,"onAnimationIteration"),ia(dD,"onAnimationStart"),ia("dblclick","onDoubleClick"),ia("focusin","onFocus"),ia("focusout","onBlur"),ia(hC,"onTransitionRun"),ia(mC,"onTransitionStart"),ia(pC,"onTransitionCancel"),ia(hD,"onTransitionEnd")})(),Ce("onMouseEnter",["mouseout","mouseover"]),Ce("onMouseLeave",["mouseout","mouseover"]),Ce("onPointerEnter",["pointerout","pointerover"]),Ce("onPointerLeave",["pointerout","pointerover"]),Xe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vu="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(" "),Ey=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vu)),ed="_reactListening"+Math.random().toString(36).slice(2),jx=!1,Vx=!1,td=!1,kx=!1,nd=!1,ad=!1,Lx=!1,od={},BC=/\r\n?/g,HC=/\u0000|\uFFFD/g,fs="http://www.w3.org/1999/xlink",Ay="http://www.w3.org/XML/1998/namespace",qC="javascript:throw new Error('React form unexpectedly submitted.')",YC="suppressHydrationWarning",ds="&",rd="/&",bu="$",Su="/$",pr="$?",hs="$~",Oi="$!",PC="html",GC="body",$C="head",Ty="F!",Bx="F",Hx="loading",XC="style",Ao=0,Ci=1,sd=2,Ny=null,wy=null,qx={dialog:!0,webview:!0},Ry=null,Du=void 0,Yx=typeof setTimeout=="function"?setTimeout:void 0,QC=typeof clearTimeout=="function"?clearTimeout:void 0,ms=-1,Px=typeof Promise=="function"?Promise:void 0,ZC=typeof queueMicrotask=="function"?queueMicrotask:typeof Px<"u"?function(e){return Px.resolve(null).then(e).catch(CR)}:Yx,Oy=null,ps=0,xu=1,Gx=2,$x=3,ea=4,ta=new Map,Xx=new Set,To=Fe.d;Fe.d={f:function(){var e=To.f(),t=Ps();return e||t},r:function(e){var t=te(e);t!==null&&t.tag===5&&t.type==="form"?u0(t):To.r(e)},D:function(e){To.D(e),nS("dns-prefetch",e,null)},C:function(e,t){To.C(e,t),nS("preconnect",e,t)},L:function(e,t,n){To.L(e,t,n);var a=Mi;if(a&&e&&t){var s='link[rel="preload"][as="'+qn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+qn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+qn(n.imageSizes)+'"]')):s+='[href="'+qn(e)+'"]';var i=s;switch(t){case"style":i=Xs(e);break;case"script":i=Qs(e)}ta.has(i)||(e=Le({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),ta.set(i,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(Rl(i))||t==="script"&&a.querySelector(Ol(i))||(t=a.createElement("link"),Gt(t,"link",e),ye(t),a.head.appendChild(t)))}},m:function(e,t){To.m(e,t);var n=Mi;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+qn(a)+'"][href="'+qn(e)+'"]',i=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Qs(e)}if(!ta.has(i)&&(e=Le({rel:"modulepreload",href:e},t),ta.set(i,e),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ol(i)))return}a=n.createElement("link"),Gt(a,"link",e),ye(a),n.head.appendChild(a)}}},X:function(e,t){To.X(e,t);var n=Mi;if(n&&e){var a=Oe(n).hoistableScripts,s=Qs(e),i=a.get(s);i||(i=n.querySelector(Ol(s)),i||(e=Le({src:e,async:!0},t),(t=ta.get(s))&&Im(e,t),i=n.createElement("script"),ye(i),Gt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(s,i))}},S:function(e,t,n){To.S(e,t,n);var a=Mi;if(a&&e){var s=Oe(a).hoistableStyles,i=Xs(e);t=t||"default";var c=s.get(i);if(!c){var d={loading:ps,preload:null};if(c=a.querySelector(Rl(i)))d.loading=xu|ea;else{e=Le({rel:"stylesheet",href:e,"data-precedence":t},n),(n=ta.get(i))&&Jm(e,n);var y=c=a.createElement("link");ye(y),Gt(y,"link",e),y._p=new Promise(function(g,U){y.onload=g,y.onerror=U}),y.addEventListener("load",function(){d.loading|=xu}),y.addEventListener("error",function(){d.loading|=Gx}),d.loading|=ea,ef(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:d},s.set(i,c)}}},M:function(e,t){To.M(e,t);var n=Mi;if(n&&e){var a=Oe(n).hoistableScripts,s=Qs(e),i=a.get(s);i||(i=n.querySelector(Ol(s)),i||(e=Le({src:e,async:!0,type:"module"},t),(t=ta.get(s))&&Im(e,t),i=n.createElement("script"),ye(i),Gt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(s,i))}}};var Mi=typeof document>"u"?null:document,id=null,FC=6e4,JC=800,IC=500,Cy=0,My=null,ld=null,ys=fO,Eu={$$typeof:Ha,Provider:null,Consumer:null,_currentValue:ys,_currentValue2:ys,_threadCount:0},Qx="%c%s%c",Zx="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",Fx="",ud=" ",KC=Function.prototype.bind,Jx=!1,Ix=null,Kx=null,Wx=null,eE=null,tE=null,nE=null,aE=null,oE=null,rE=null,sE=null;Ix=function(e,t,n,a){t=o(e,t),t!==null&&(n=r(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Le({},e.memoizedProps),n=Jt(e,2),n!==null&&pt(n,e,2))},Kx=function(e,t,n){t=o(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Le({},e.memoizedProps),n=Jt(e,2),n!==null&&pt(n,e,2))},Wx=function(e,t,n,a){t=o(e,t),t!==null&&(n=l(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Le({},e.memoizedProps),n=Jt(e,2),n!==null&&pt(n,e,2))},eE=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Jt(e,2),t!==null&&pt(t,e,2)},tE=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Jt(e,2),t!==null&&pt(t,e,2)},nE=function(e,t,n){e.pendingProps=l(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Jt(e,2),t!==null&&pt(t,e,2)},aE=function(e){var t=Jt(e,2);t!==null&&pt(t,e,2)},oE=function(e){var t=Qi(),n=Jt(e,t);n!==null&&pt(n,e,t)},rE=function(e){h=e},sE=function(e){m=e};var cd=!0,fd=null,Uy=!1,yr=null,gr=null,vr=null,Au=new Map,Tu=new Map,br=[],WC="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(" "),dd=null;if(rf.prototype.render=ap.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):j(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,s=Cn(a);Km(a,s,n,t,null,null)},rf.prototype.unmount=ap.prototype.unmount=function(){var e=arguments;if(typeof e[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()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Qe&(zt|kn))!==qt&&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."),Km(e.current,2,null,e,null,null),Ps(),t[Jo]=null}},rf.prototype.unstable_scheduleHydration=function(e){if(e){var t=zo();e={blockedOn:null,target:e,priority:t};for(var n=0;n<br.length&&t!==0&&t<br[n].priority;n++);br.splice(n,0,e),n===0&&yS(e)}},(function(){var e=op.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
229
|
+
- react: `+(e+`
|
|
230
|
+
- react-dom: 19.2.4
|
|
231
|
+
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"),Fe.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=K(t),e=e!==null?De(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.4"};return e.overrideHookState=Ix,e.overrideHookStateDeletePath=Kx,e.overrideHookStateRenamePath=Wx,e.overrideProps=eE,e.overridePropsDeletePath=tE,e.overridePropsRenamePath=nE,e.scheduleUpdate=aE,e.scheduleRetry=oE,e.setErrorHandler=rE,e.setSuspenseHandler=sE,e.scheduleRefresh=R,e.scheduleRoot=C,e.setRefreshHandler=L,e.getCurrentFiber=nO,Id(e)})()&&$a&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var iE=window.location.protocol;/^(https?|file):$/.test(iE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(iE==="file:"?`
|
|
232
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Nu.createRoot=function(e,t){if(!j(e))throw Error("Target container is not a DOM element.");SS(e);var n=!1,a="",s=g0,i=v0,c=b0;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ba&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
233
|
+
|
|
234
|
+
let root = createRoot(domContainer);
|
|
235
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=uS(e,1,!1,null,null,n,a,null,s,i,c,bS),e[Jo]=t.current,Lm(e),new ap(t)},Nu.hydrateRoot=function(e,t,n){if(!j(e))throw Error("Target container is not a DOM element.");SS(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,s="",i=g0,c=v0,d=b0,y=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(y=n.formState)),t=uS(e,1,!0,t,n??null,a,s,y,i,c,d,bS),t.context=cS(null),n=t.current,a=Cn(n),a=_o(a),s=Bo(a),s.callback=null,Ho(n,s,a),Na(a,"hydrateRoot()",null),n=a,t.current.lanes=n,Uo(t,n),ka(t),e[Jo]=t.current,Lm(e),new rf(t)},Nu.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Nu}var gE;function uM(){return gE||(gE=1,jy.exports=lM()),jy.exports}var cM=uM();const fM=iT(cM);const lT=(...o)=>o.filter((r,l,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===l).join(" ").trim();const dM=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const hM=o=>o.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,u)=>u?u.toUpperCase():l.toLowerCase());const vE=o=>{const r=hM(o);return r.charAt(0).toUpperCase()+r.slice(1)};var mM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const pM=o=>{for(const r in o)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const yM=J.forwardRef(({color:o="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:f="",children:m,iconNode:h,...p},v)=>J.createElement("svg",{ref:v,...mM,width:r,height:r,stroke:o,strokeWidth:u?Number(l)*24/Number(r):l,className:lT("lucide",f),...!m&&!pM(p)&&{"aria-hidden":"true"},...p},[...h.map(([S,b])=>J.createElement(S,b)),...Array.isArray(m)?m:[m]]));const ft=(o,r)=>{const l=J.forwardRef(({className:u,...f},m)=>J.createElement(yM,{ref:m,iconNode:r,className:lT(`lucide-${dM(vE(o))}`,`lucide-${o}`,u),...f}));return l.displayName=vE(o),l};const gM=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],bE=ft("arrow-right",gM);const vM=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],bM=ft("ban",vM);const SM=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],uT=ft("brain",SM);const DM=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],xM=ft("check",DM);const EM=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Sd=ft("chevron-down",EM);const AM=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Dd=ft("chevron-up",AM);const TM=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],lg=ft("circle-check-big",TM);const NM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],wM=ft("circle-x",NM);const RM=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Lg=ft("clock",RM);const OM=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Bg=ft("eye",OM);const CM=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Hg=ft("file-text",CM);const MM=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],UM=ft("folder-lock",MM);const _M=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],cT=ft("folder-open",_M);const zM=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],SE=ft("gauge",zM);const jM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],VM=ft("info",jM);const kM=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],LM=ft("layout-grid",kM);const BM=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],HM=ft("pen-line",BM);const qM=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],YM=ft("search",qM);const PM=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],GM=ft("send",PM);const $M=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Ud=ft("shield",$M);const XM=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],fT=ft("sparkles",XM);const QM=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],qg=ft("terminal",QM);const ZM=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],dT=ft("triangle-alert",ZM);const FM=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],JM=ft("wrench",FM);const IM=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],KM=ft("zap",IM);var By={exports:{}},wu={},DE;function WM(){if(DE)return wu;DE=1;return(function(){function o(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ue?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case j:return"Fragment";case F:return"Profiler";case Y:return"StrictMode";case De:return"Suspense";case be:return"SuspenseList";case q:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case L:return"Portal";case W:return O.displayName||"Context";case G:return(O._context.displayName||"Context")+".Consumer";case K:var I=O.render;return O=O.displayName,O||(O=I.displayName||I.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case ee:return I=O.displayName||null,I!==null?I:o(O.type)||"Memo";case ce:I=O._payload,O=O._init;try{return o(O(I))}catch{}}return null}function r(O){return""+O}function l(O){try{r(O);var I=!1}catch{I=!0}if(I){I=console;var ge=I.error,le=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return ge.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",le),r(O)}}function u(O){if(O===j)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===ce)return"<...>";try{var I=o(O);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function f(){var O=Z.A;return O===null?null:O.getOwner()}function m(){return Error("react-stack-top-frame")}function h(O){if(pe.call(O,"key")){var I=Object.getOwnPropertyDescriptor(O,"key").get;if(I&&I.isReactWarning)return!1}return O.key!==void 0}function p(O,I){function ge(){$||($=!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)",I))}ge.isReactWarning=!0,Object.defineProperty(O,"key",{get:ge,configurable:!0})}function v(){var O=o(this.type);return oe[O]||(oe[O]=!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.")),O=this.props.ref,O!==void 0?O:null}function S(O,I,ge,le,nt,Bn){var Re=ge.ref;return O={$$typeof:R,type:O,key:I,props:ge,_owner:le},(Re!==void 0?Re:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:v}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Bn}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function b(O,I,ge,le,nt,Bn){var Re=I.children;if(Re!==void 0)if(le)if(Ve(Re)){for(le=0;le<Re.length;le++)E(Re[le]);Object.freeze&&Object.freeze(Re)}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 E(Re);if(pe.call(I,"key")){Re=o(O);var Vt=Object.keys(I).filter(function(sa){return sa!=="key"});le=0<Vt.length?"{key: someKey, "+Vt.join(": ..., ")+": ...}":"{key: someKey}",Be[Re+le]||(Vt=0<Vt.length?"{"+Vt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
236
|
+
let props = %s;
|
|
237
|
+
<%s {...props} />
|
|
238
|
+
React keys must be passed directly to JSX without using spread:
|
|
239
|
+
let props = %s;
|
|
240
|
+
<%s key={someKey} {...props} />`,le,Re,Vt,Re),Be[Re+le]=!0)}if(Re=null,ge!==void 0&&(l(ge),Re=""+ge),h(I)&&(l(I.key),Re=""+I.key),"key"in I){ge={};for(var Zt in I)Zt!=="key"&&(ge[Zt]=I[Zt])}else ge=I;return Re&&p(ge,typeof O=="function"?O.displayName||O.name||"Unknown":O),S(O,Re,ge,f(),nt,Bn)}function E(O){D(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===ce&&(O._payload.status==="fulfilled"?D(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function D(O){return typeof O=="object"&&O!==null&&O.$$typeof===R}var C=Hu(),R=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),W=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),De=Symbol.for("react.suspense"),be=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),Z=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pe=Object.prototype.hasOwnProperty,Ve=Array.isArray,qe=console.createTask?console.createTask:function(){return null};C={react_stack_bottom_frame:function(O){return O()}};var $,oe={},se=C.react_stack_bottom_frame.bind(C,m)(),we=qe(u(m)),Be={};wu.Fragment=j,wu.jsx=function(O,I,ge){var le=1e4>Z.recentlyCreatedOwnerStacks++;return b(O,I,ge,!1,le?Error("react-stack-top-frame"):se,le?qe(u(O)):we)},wu.jsxs=function(O,I,ge){var le=1e4>Z.recentlyCreatedOwnerStacks++;return b(O,I,ge,!0,le?Error("react-stack-top-frame"):se,le?qe(u(O)):we)}})(),wu}var xE;function eU(){return xE||(xE=1,By.exports=WM()),By.exports}var wo=eU();const Yg=J.createContext({});function Pg(o){const r=J.useRef(null);return r.current===null&&(r.current=o()),r.current}const hT=typeof window<"u",mT=hT?J.useLayoutEffect:J.useEffect,Yd=J.createContext(null);function Gg(o,r){o.indexOf(r)===-1&&o.push(r)}function _d(o,r){const l=o.indexOf(r);l>-1&&o.splice(l,1)}const Ka=(o,r,l)=>l>r?r:l<o?o:l;function ug(o,r){return r?`${o}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:o}let Yi=()=>{},Ro=()=>{};typeof process<"u"&&(Yi=(o,r,l)=>{!o&&typeof console<"u"&&console.warn(ug(r,l))},Ro=(o,r,l)=>{if(!o)throw new Error(ug(r,l))});const Oo={},pT=o=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(o);function yT(o){return typeof o=="object"&&o!==null}const gT=o=>/^0[^.\s]+$/u.test(o);function $g(o){let r;return()=>(r===void 0&&(r=o()),r)}const oa=o=>o,tU=(o,r)=>l=>r(o(l)),qu=(...o)=>o.reduce(tU),ju=(o,r,l)=>{const u=r-o;return u===0?1:(l-o)/u};class Xg{constructor(){this.subscriptions=[]}add(r){return Gg(this.subscriptions,r),()=>_d(this.subscriptions,r)}notify(r,l,u){const f=this.subscriptions.length;if(f)if(f===1)this.subscriptions[0](r,l,u);else for(let m=0;m<f;m++){const h=this.subscriptions[m];h&&h(r,l,u)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ra=o=>o*1e3,aa=o=>o/1e3;function vT(o,r){return r?o*(1e3/r):0}const EE=new Set;function Qg(o,r,l){o||EE.has(r)||(console.warn(ug(r,l)),EE.add(r))}const bT=(o,r,l)=>(((1-3*l+3*r)*o+(3*l-6*r))*o+3*r)*o,nU=1e-7,aU=12;function oU(o,r,l,u,f){let m,h,p=0;do h=r+(l-r)/2,m=bT(h,u,f)-o,m>0?l=h:r=h;while(Math.abs(m)>nU&&++p<aU);return h}function Yu(o,r,l,u){if(o===r&&l===u)return oa;const f=m=>oU(m,0,1,o,l);return m=>m===0||m===1?m:bT(f(m),r,u)}const ST=o=>r=>r<=.5?o(2*r)/2:(2-o(2*(1-r)))/2,DT=o=>r=>1-o(1-r),xT=Yu(.33,1.53,.69,.99),Zg=DT(xT),ET=ST(Zg),AT=o=>(o*=2)<1?.5*Zg(o):.5*(2-Math.pow(2,-10*(o-1))),Fg=o=>1-Math.sin(Math.acos(o)),TT=DT(Fg),NT=ST(Fg),rU=Yu(.42,0,1,1),sU=Yu(0,0,.58,1),wT=Yu(.42,0,.58,1),iU=o=>Array.isArray(o)&&typeof o[0]!="number",RT=o=>Array.isArray(o)&&typeof o[0]=="number",AE={linear:oa,easeIn:rU,easeInOut:wT,easeOut:sU,circIn:Fg,circInOut:NT,circOut:TT,backIn:Zg,backInOut:ET,backOut:xT,anticipate:AT},lU=o=>typeof o=="string",TE=o=>{if(RT(o)){Ro(o.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,l,u,f]=o;return Yu(r,l,u,f)}else if(lU(o))return Ro(AE[o]!==void 0,`Invalid easing type '${o}'`,"invalid-easing-type"),AE[o];return o},md=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function uU(o,r){let l=new Set,u=new Set,f=!1,m=!1;const h=new WeakSet;let p={delta:0,timestamp:0,isProcessing:!1};function v(b){h.has(b)&&(S.schedule(b),o()),b(p)}const S={schedule:(b,E=!1,D=!1)=>{const R=D&&f?l:u;return E&&h.add(b),R.has(b)||R.add(b),b},cancel:b=>{u.delete(b),h.delete(b)},process:b=>{if(p=b,f){m=!0;return}f=!0,[l,u]=[u,l],l.forEach(v),l.clear(),f=!1,m&&(m=!1,S.process(b))}};return S}const cU=40;function OT(o,r){let l=!1,u=!0;const f={delta:0,timestamp:0,isProcessing:!1},m=()=>l=!0,h=md.reduce((G,W)=>(G[W]=uU(m),G),{}),{setup:p,read:v,resolveKeyframes:S,preUpdate:b,update:E,preRender:D,render:C,postRender:R}=h,L=()=>{const G=Oo.useManualTiming?f.timestamp:performance.now();l=!1,Oo.useManualTiming||(f.delta=u?1e3/60:Math.max(Math.min(G-f.timestamp,cU),1)),f.timestamp=G,f.isProcessing=!0,p.process(f),v.process(f),S.process(f),b.process(f),E.process(f),D.process(f),C.process(f),R.process(f),f.isProcessing=!1,l&&r&&(u=!1,o(L))},j=()=>{l=!0,u=!0,f.isProcessing||o(L)};return{schedule:md.reduce((G,W)=>{const K=h[W];return G[W]=(De,be=!1,ee=!1)=>(l||j(),K.schedule(De,be,ee)),G},{}),cancel:G=>{for(let W=0;W<md.length;W++)h[md[W]].cancel(G)},state:f,steps:h}}const{schedule:lt,cancel:Ar,state:Qt,steps:Hy}=OT(typeof requestAnimationFrame<"u"?requestAnimationFrame:oa,!0);let xd;function fU(){xd=void 0}const hn={now:()=>(xd===void 0&&hn.set(Qt.isProcessing||Oo.useManualTiming?Qt.timestamp:performance.now()),xd),set:o=>{xd=o,queueMicrotask(fU)}},CT=o=>r=>typeof r=="string"&&r.startsWith(o),MT=CT("--"),dU=CT("var(--"),Jg=o=>dU(o)?hU.test(o.split("/*")[0].trim()):!1,hU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function NE(o){return typeof o!="string"?!1:o.split("/*")[0].includes("var(--")}const Pi={test:o=>typeof o=="number",parse:parseFloat,transform:o=>o},Vu={...Pi,transform:o=>Ka(0,1,o)},pd={...Pi,default:1},Uu=o=>Math.round(o*1e5)/1e5,Ig=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mU(o){return o==null}const pU=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Kg=(o,r)=>l=>!!(typeof l=="string"&&pU.test(l)&&l.startsWith(o)||r&&!mU(l)&&Object.prototype.hasOwnProperty.call(l,r)),UT=(o,r,l)=>u=>{if(typeof u!="string")return u;const[f,m,h,p]=u.match(Ig);return{[o]:parseFloat(f),[r]:parseFloat(m),[l]:parseFloat(h),alpha:p!==void 0?parseFloat(p):1}},yU=o=>Ka(0,255,o),qy={...Pi,transform:o=>Math.round(yU(o))},bs={test:Kg("rgb","red"),parse:UT("red","green","blue"),transform:({red:o,green:r,blue:l,alpha:u=1})=>"rgba("+qy.transform(o)+", "+qy.transform(r)+", "+qy.transform(l)+", "+Uu(Vu.transform(u))+")"};function gU(o){let r="",l="",u="",f="";return o.length>5?(r=o.substring(1,3),l=o.substring(3,5),u=o.substring(5,7),f=o.substring(7,9)):(r=o.substring(1,2),l=o.substring(2,3),u=o.substring(3,4),f=o.substring(4,5),r+=r,l+=l,u+=u,f+=f),{red:parseInt(r,16),green:parseInt(l,16),blue:parseInt(u,16),alpha:f?parseInt(f,16)/255:1}}const cg={test:Kg("#"),parse:gU,transform:bs.transform},Pu=o=>({test:r=>typeof r=="string"&&r.endsWith(o)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${o}`}),Dr=Pu("deg"),Ia=Pu("%"),fe=Pu("px"),vU=Pu("vh"),bU=Pu("vw"),wE={...Ia,parse:o=>Ia.parse(o)/100,transform:o=>Ia.transform(o*100)},_i={test:Kg("hsl","hue"),parse:UT("hue","saturation","lightness"),transform:({hue:o,saturation:r,lightness:l,alpha:u=1})=>"hsla("+Math.round(o)+", "+Ia.transform(Uu(r))+", "+Ia.transform(Uu(l))+", "+Uu(Vu.transform(u))+")"},Mt={test:o=>bs.test(o)||cg.test(o)||_i.test(o),parse:o=>bs.test(o)?bs.parse(o):_i.test(o)?_i.parse(o):cg.parse(o),transform:o=>typeof o=="string"?o:o.hasOwnProperty("red")?bs.transform(o):_i.transform(o),getAnimatableNone:o=>{const r=Mt.parse(o);return r.alpha=0,Mt.transform(r)}},SU=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function DU(o){return isNaN(o)&&typeof o=="string"&&(o.match(Ig)?.length||0)+(o.match(SU)?.length||0)>0}const _T="number",zT="color",xU="var",EU="var(",RE="${}",AU=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ku(o){const r=o.toString(),l=[],u={color:[],number:[],var:[]},f=[];let m=0;const p=r.replace(AU,v=>(Mt.test(v)?(u.color.push(m),f.push(zT),l.push(Mt.parse(v))):v.startsWith(EU)?(u.var.push(m),f.push(xU),l.push(v)):(u.number.push(m),f.push(_T),l.push(parseFloat(v))),++m,RE)).split(RE);return{values:l,split:p,indexes:u,types:f}}function jT(o){return ku(o).values}function VT(o){const{split:r,types:l}=ku(o),u=r.length;return f=>{let m="";for(let h=0;h<u;h++)if(m+=r[h],f[h]!==void 0){const p=l[h];p===_T?m+=Uu(f[h]):p===zT?m+=Mt.transform(f[h]):m+=f[h]}return m}}const TU=o=>typeof o=="number"?0:Mt.test(o)?Mt.getAnimatableNone(o):o;function NU(o){const r=jT(o);return VT(o)(r.map(TU))}const Tr={test:DU,parse:jT,createTransformer:VT,getAnimatableNone:NU};function Yy(o,r,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?o+(r-o)*6*l:l<1/2?r:l<2/3?o+(r-o)*(2/3-l)*6:o}function wU({hue:o,saturation:r,lightness:l,alpha:u}){o/=360,r/=100,l/=100;let f=0,m=0,h=0;if(!r)f=m=h=l;else{const p=l<.5?l*(1+r):l+r-l*r,v=2*l-p;f=Yy(v,p,o+1/3),m=Yy(v,p,o),h=Yy(v,p,o-1/3)}return{red:Math.round(f*255),green:Math.round(m*255),blue:Math.round(h*255),alpha:u}}function zd(o,r){return l=>l>0?r:o}const vt=(o,r,l)=>o+(r-o)*l,Py=(o,r,l)=>{const u=o*o,f=l*(r*r-u)+u;return f<0?0:Math.sqrt(f)},RU=[cg,bs,_i],OU=o=>RU.find(r=>r.test(o));function OE(o){const r=OU(o);if(Yi(!!r,`'${o}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let l=r.parse(o);return r===_i&&(l=wU(l)),l}const CE=(o,r)=>{const l=OE(o),u=OE(r);if(!l||!u)return zd(o,r);const f={...l};return m=>(f.red=Py(l.red,u.red,m),f.green=Py(l.green,u.green,m),f.blue=Py(l.blue,u.blue,m),f.alpha=vt(l.alpha,u.alpha,m),bs.transform(f))},fg=new Set(["none","hidden"]);function CU(o,r){return fg.has(o)?l=>l<=0?o:r:l=>l>=1?r:o}function MU(o,r){return l=>vt(o,r,l)}function Wg(o){return typeof o=="number"?MU:typeof o=="string"?Jg(o)?zd:Mt.test(o)?CE:zU:Array.isArray(o)?kT:typeof o=="object"?Mt.test(o)?CE:UU:zd}function kT(o,r){const l=[...o],u=l.length,f=o.map((m,h)=>Wg(m)(m,r[h]));return m=>{for(let h=0;h<u;h++)l[h]=f[h](m);return l}}function UU(o,r){const l={...o,...r},u={};for(const f in l)o[f]!==void 0&&r[f]!==void 0&&(u[f]=Wg(o[f])(o[f],r[f]));return f=>{for(const m in u)l[m]=u[m](f);return l}}function _U(o,r){const l=[],u={color:0,var:0,number:0};for(let f=0;f<r.values.length;f++){const m=r.types[f],h=o.indexes[m][u[m]],p=o.values[h]??0;l[f]=p,u[m]++}return l}const zU=(o,r)=>{const l=Tr.createTransformer(r),u=ku(o),f=ku(r);return u.indexes.var.length===f.indexes.var.length&&u.indexes.color.length===f.indexes.color.length&&u.indexes.number.length>=f.indexes.number.length?fg.has(o)&&!f.values.length||fg.has(r)&&!u.values.length?CU(o,r):qu(kT(_U(u,f),f.values),l):(Yi(!0,`Complex values '${o}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),zd(o,r))};function LT(o,r,l){return typeof o=="number"&&typeof r=="number"&&typeof l=="number"?vt(o,r,l):Wg(o)(o,r)}const jU=o=>{const r=({timestamp:l})=>o(l);return{start:(l=!0)=>lt.update(r,l),stop:()=>Ar(r),now:()=>Qt.isProcessing?Qt.timestamp:hn.now()}},BT=(o,r,l=10)=>{let u="";const f=Math.max(Math.round(r/l),2);for(let m=0;m<f;m++)u+=Math.round(o(m/(f-1))*1e4)/1e4+", ";return`linear(${u.substring(0,u.length-2)})`},jd=2e4;function ev(o){let r=0;const l=50;let u=o.next(r);for(;!u.done&&r<jd;)r+=l,u=o.next(r);return r>=jd?1/0:r}function VU(o,r=100,l){const u=l({...o,keyframes:[0,r]}),f=Math.min(ev(u),jd);return{type:"keyframes",ease:m=>u.next(f*m).value/r,duration:aa(f)}}const kU=5;function HT(o,r,l){const u=Math.max(r-kU,0);return vT(l-o(u),r-u)}const gt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Gy=.001;function LU({duration:o=gt.duration,bounce:r=gt.bounce,velocity:l=gt.velocity,mass:u=gt.mass}){let f,m;Yi(o<=ra(gt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-r;h=Ka(gt.minDamping,gt.maxDamping,h),o=Ka(gt.minDuration,gt.maxDuration,aa(o)),h<1?(f=S=>{const b=S*h,E=b*o,D=b-l,C=dg(S,h),R=Math.exp(-E);return Gy-D/C*R},m=S=>{const E=S*h*o,D=E*l+l,C=Math.pow(h,2)*Math.pow(S,2)*o,R=Math.exp(-E),L=dg(Math.pow(S,2),h);return(-f(S)+Gy>0?-1:1)*((D-C)*R)/L}):(f=S=>{const b=Math.exp(-S*o),E=(S-l)*o+1;return-Gy+b*E},m=S=>{const b=Math.exp(-S*o),E=(l-S)*(o*o);return b*E});const p=5/o,v=HU(f,m,p);if(o=ra(o),isNaN(v))return{stiffness:gt.stiffness,damping:gt.damping,duration:o};{const S=Math.pow(v,2)*u;return{stiffness:S,damping:h*2*Math.sqrt(u*S),duration:o}}}const BU=12;function HU(o,r,l){let u=l;for(let f=1;f<BU;f++)u=u-o(u)/r(u);return u}function dg(o,r){return o*Math.sqrt(1-r*r)}const qU=["duration","bounce"],YU=["stiffness","damping","mass"];function ME(o,r){return r.some(l=>o[l]!==void 0)}function PU(o){let r={velocity:gt.velocity,stiffness:gt.stiffness,damping:gt.damping,mass:gt.mass,isResolvedFromDuration:!1,...o};if(!ME(o,YU)&&ME(o,qU))if(o.visualDuration){const l=o.visualDuration,u=2*Math.PI/(l*1.2),f=u*u,m=2*Ka(.05,1,1-(o.bounce||0))*Math.sqrt(f);r={...r,mass:gt.mass,stiffness:f,damping:m}}else{const l=LU(o);r={...r,...l,mass:gt.mass},r.isResolvedFromDuration=!0}return r}function Vd(o=gt.visualDuration,r=gt.bounce){const l=typeof o!="object"?{visualDuration:o,keyframes:[0,1],bounce:r}:o;let{restSpeed:u,restDelta:f}=l;const m=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],p={done:!1,value:m},{stiffness:v,damping:S,mass:b,duration:E,velocity:D,isResolvedFromDuration:C}=PU({...l,velocity:-aa(l.velocity||0)}),R=D||0,L=S/(2*Math.sqrt(v*b)),j=h-m,Y=aa(Math.sqrt(v/b)),F=Math.abs(j)<5;u||(u=F?gt.restSpeed.granular:gt.restSpeed.default),f||(f=F?gt.restDelta.granular:gt.restDelta.default);let G;if(L<1){const K=dg(Y,L);G=De=>{const be=Math.exp(-L*Y*De);return h-be*((R+L*Y*j)/K*Math.sin(K*De)+j*Math.cos(K*De))}}else if(L===1)G=K=>h-Math.exp(-Y*K)*(j+(R+Y*j)*K);else{const K=Y*Math.sqrt(L*L-1);G=De=>{const be=Math.exp(-L*Y*De),ee=Math.min(K*De,300);return h-be*((R+L*Y*j)*Math.sinh(ee)+K*j*Math.cosh(ee))/K}}const W={calculatedDuration:C&&E||null,next:K=>{const De=G(K);if(C)p.done=K>=E;else{let be=K===0?R:0;L<1&&(be=K===0?ra(R):HT(G,K,De));const ee=Math.abs(be)<=u,ce=Math.abs(h-De)<=f;p.done=ee&&ce}return p.value=p.done?h:De,p},toString:()=>{const K=Math.min(ev(W),jd),De=BT(be=>W.next(K*be).value,K,30);return K+"ms "+De},toTransition:()=>{}};return W}Vd.applyToOptions=o=>{const r=VU(o,100,Vd);return o.ease=r.ease,o.duration=ra(r.duration),o.type="keyframes",o};function hg({keyframes:o,velocity:r=0,power:l=.8,timeConstant:u=325,bounceDamping:f=10,bounceStiffness:m=500,modifyTarget:h,min:p,max:v,restDelta:S=.5,restSpeed:b}){const E=o[0],D={done:!1,value:E},C=ee=>p!==void 0&&ee<p||v!==void 0&&ee>v,R=ee=>p===void 0?v:v===void 0||Math.abs(p-ee)<Math.abs(v-ee)?p:v;let L=l*r;const j=E+L,Y=h===void 0?j:h(j);Y!==j&&(L=Y-E);const F=ee=>-L*Math.exp(-ee/u),G=ee=>Y+F(ee),W=ee=>{const ce=F(ee),q=G(ee);D.done=Math.abs(ce)<=S,D.value=D.done?Y:q};let K,De;const be=ee=>{C(D.value)&&(K=ee,De=Vd({keyframes:[D.value,R(D.value)],velocity:HT(G,ee,D.value),damping:f,stiffness:m,restDelta:S,restSpeed:b}))};return be(0),{calculatedDuration:null,next:ee=>{let ce=!1;return!De&&K===void 0&&(ce=!0,W(ee),be(ee)),K!==void 0&&ee>=K?De.next(ee-K):(!ce&&W(ee),D)}}}function GU(o,r,l){const u=[],f=l||Oo.mix||LT,m=o.length-1;for(let h=0;h<m;h++){let p=f(o[h],o[h+1]);if(r){const v=Array.isArray(r)?r[h]||oa:r;p=qu(v,p)}u.push(p)}return u}function $U(o,r,{clamp:l=!0,ease:u,mixer:f}={}){const m=o.length;if(Ro(m===r.length,"Both input and output ranges must be the same length","range-length"),m===1)return()=>r[0];if(m===2&&r[0]===r[1])return()=>r[1];const h=o[0]===o[1];o[0]>o[m-1]&&(o=[...o].reverse(),r=[...r].reverse());const p=GU(r,u,f),v=p.length,S=b=>{if(h&&b<o[0])return r[0];let E=0;if(v>1)for(;E<o.length-2&&!(b<o[E+1]);E++);const D=ju(o[E],o[E+1],b);return p[E](D)};return l?b=>S(Ka(o[0],o[m-1],b)):S}function XU(o,r){const l=o[o.length-1];for(let u=1;u<=r;u++){const f=ju(0,r,u);o.push(vt(l,1,f))}}function QU(o){const r=[0];return XU(r,o.length-1),r}function ZU(o,r){return o.map(l=>l*r)}function FU(o,r){return o.map(()=>r||wT).splice(0,o.length-1)}function zi({duration:o=300,keyframes:r,times:l,ease:u="easeInOut"}){const f=iU(u)?u.map(TE):TE(u),m={done:!1,value:r[0]},h=ZU(l&&l.length===r.length?l:QU(r),o),p=$U(h,r,{ease:Array.isArray(f)?f:FU(r,f)});return{calculatedDuration:o,next:v=>(m.value=p(v),m.done=v>=o,m)}}const JU=o=>o!==null;function tv(o,{repeat:r,repeatType:l="loop"},u,f=1){const m=o.filter(JU),p=f<0||r&&l!=="loop"&&r%2===1?0:m.length-1;return!p||u===void 0?m[p]:u}const IU={decay:hg,inertia:hg,tween:zi,keyframes:zi,spring:Vd};function qT(o){typeof o.type=="string"&&(o.type=IU[o.type])}class nv{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,l){return this.finished.then(r,l)}}const KU=o=>o/100;class av extends nv{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:l}=this.options;l&&l.updatedAt!==hn.now()&&this.tick(hn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;qT(r);const{type:l=zi,repeat:u=0,repeatDelay:f=0,repeatType:m,velocity:h=0}=r;let{keyframes:p}=r;const v=l||zi;v!==zi&&Ro(p.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${p}`,"spring-two-frames"),v!==zi&&typeof p[0]!="number"&&(this.mixKeyframes=qu(KU,LT(p[0],p[1])),p=[0,100]);const S=v({...r,keyframes:p});m==="mirror"&&(this.mirroredGenerator=v({...r,keyframes:[...p].reverse(),velocity:-h})),S.calculatedDuration===null&&(S.calculatedDuration=ev(S));const{calculatedDuration:b}=S;this.calculatedDuration=b,this.resolvedDuration=b+f,this.totalDuration=this.resolvedDuration*(u+1)-f,this.generator=S}updateTime(r){const l=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(r,l=!1){const{generator:u,totalDuration:f,mixKeyframes:m,mirroredGenerator:h,resolvedDuration:p,calculatedDuration:v}=this;if(this.startTime===null)return u.next(0);const{delay:S=0,keyframes:b,repeat:E,repeatType:D,repeatDelay:C,type:R,onUpdate:L,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-f/this.speed,this.startTime)),l?this.currentTime=r:this.updateTime(r);const Y=this.currentTime-S*(this.playbackSpeed>=0?1:-1),F=this.playbackSpeed>=0?Y<0:Y>f;this.currentTime=Math.max(Y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let G=this.currentTime,W=u;if(E){const ee=Math.min(this.currentTime,f)/p;let ce=Math.floor(ee),q=ee%1;!q&&ee>=1&&(q=1),q===1&&ce--,ce=Math.min(ce,E+1),ce%2&&(D==="reverse"?(q=1-q,C&&(q-=C/p)):D==="mirror"&&(W=h)),G=Ka(0,1,q)*p}const K=F?{done:!1,value:b[0]}:W.next(G);m&&(K.value=m(K.value));let{done:De}=K;!F&&v!==null&&(De=this.playbackSpeed>=0?this.currentTime>=f:this.currentTime<=0);const be=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&De);return be&&R!==hg&&(K.value=tv(b,this.options,j,this.speed)),L&&L(K.value),be&&this.finish(),K}then(r,l){return this.finished.then(r,l)}get duration(){return aa(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+aa(r)}get time(){return aa(this.currentTime)}set time(r){r=ra(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(hn.now());const l=this.playbackSpeed!==r;this.playbackSpeed=r,l&&(this.time=aa(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=jU,startTime:l}=this.options;this.driver||(this.driver=r(f=>this.tick(f))),this.options.onPlay?.();const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=l??u),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(hn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function WU(o){for(let r=1;r<o.length;r++)o[r]??(o[r]=o[r-1])}const Ss=o=>o*180/Math.PI,mg=o=>{const r=Ss(Math.atan2(o[1],o[0]));return pg(r)},e_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:o=>(Math.abs(o[0])+Math.abs(o[3]))/2,rotate:mg,rotateZ:mg,skewX:o=>Ss(Math.atan(o[1])),skewY:o=>Ss(Math.atan(o[2])),skew:o=>(Math.abs(o[1])+Math.abs(o[2]))/2},pg=o=>(o=o%360,o<0&&(o+=360),o),UE=mg,_E=o=>Math.sqrt(o[0]*o[0]+o[1]*o[1]),zE=o=>Math.sqrt(o[4]*o[4]+o[5]*o[5]),t_={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_E,scaleY:zE,scale:o=>(_E(o)+zE(o))/2,rotateX:o=>pg(Ss(Math.atan2(o[6],o[5]))),rotateY:o=>pg(Ss(Math.atan2(-o[2],o[0]))),rotateZ:UE,rotate:UE,skewX:o=>Ss(Math.atan(o[4])),skewY:o=>Ss(Math.atan(o[1])),skew:o=>(Math.abs(o[1])+Math.abs(o[4]))/2};function yg(o){return o.includes("scale")?1:0}function gg(o,r){if(!o||o==="none")return yg(r);const l=o.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,f;if(l)u=t_,f=l;else{const p=o.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=e_,f=p}if(!f)return yg(r);const m=u[r],h=f[1].split(",").map(a_);return typeof m=="function"?m(h):h[m]}const n_=(o,r)=>{const{transform:l="none"}=getComputedStyle(o);return gg(l,r)};function a_(o){return parseFloat(o.trim())}const Gi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$i=new Set(Gi),jE=o=>o===Pi||o===fe,o_=new Set(["x","y","z"]),r_=Gi.filter(o=>!o_.has(o));function s_(o){const r=[];return r_.forEach(l=>{const u=o.getValue(l);u!==void 0&&(r.push([l,u.get()]),u.set(l.startsWith("scale")?1:0))}),r}const xr={width:({x:o},{paddingLeft:r="0",paddingRight:l="0"})=>o.max-o.min-parseFloat(r)-parseFloat(l),height:({y:o},{paddingTop:r="0",paddingBottom:l="0"})=>o.max-o.min-parseFloat(r)-parseFloat(l),top:(o,{top:r})=>parseFloat(r),left:(o,{left:r})=>parseFloat(r),bottom:({y:o},{top:r})=>parseFloat(r)+(o.max-o.min),right:({x:o},{left:r})=>parseFloat(r)+(o.max-o.min),x:(o,{transform:r})=>gg(r,"x"),y:(o,{transform:r})=>gg(r,"y")};xr.translateX=xr.x;xr.translateY=xr.y;const xs=new Set;let vg=!1,bg=!1,Sg=!1;function YT(){if(bg){const o=Array.from(xs).filter(u=>u.needsMeasurement),r=new Set(o.map(u=>u.element)),l=new Map;r.forEach(u=>{const f=s_(u);f.length&&(l.set(u,f),u.render())}),o.forEach(u=>u.measureInitialState()),r.forEach(u=>{u.render();const f=l.get(u);f&&f.forEach(([m,h])=>{u.getValue(m)?.set(h)})}),o.forEach(u=>u.measureEndState()),o.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}bg=!1,vg=!1,xs.forEach(o=>o.complete(Sg)),xs.clear()}function PT(){xs.forEach(o=>{o.readKeyframes(),o.needsMeasurement&&(bg=!0)})}function i_(){Sg=!0,PT(),YT(),Sg=!1}class ov{constructor(r,l,u,f,m,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=l,this.name=u,this.motionValue=f,this.element=m,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(xs.add(this),vg||(vg=!0,lt.read(PT),lt.resolveKeyframes(YT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:l,element:u,motionValue:f}=this;if(r[0]===null){const m=f?.get(),h=r[r.length-1];if(m!==void 0)r[0]=m;else if(u&&l){const p=u.readValue(l,h);p!=null&&(r[0]=p)}r[0]===void 0&&(r[0]=h),f&&m===void 0&&f.set(r[0])}WU(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),xs.delete(this)}cancel(){this.state==="scheduled"&&(xs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const l_=o=>o.startsWith("--");function u_(o,r,l){l_(r)?o.style.setProperty(r,l):o.style[r]=l}const c_=$g(()=>window.ScrollTimeline!==void 0),f_={};function d_(o,r){const l=$g(o);return()=>f_[r]??l()}const GT=d_(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Mu=([o,r,l,u])=>`cubic-bezier(${o}, ${r}, ${l}, ${u})`,VE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mu([0,.65,.55,1]),circOut:Mu([.55,0,1,.45]),backIn:Mu([.31,.01,.66,-.59]),backOut:Mu([.33,1.53,.69,.99])};function $T(o,r){if(o)return typeof o=="function"?GT()?BT(o,r):"ease-out":RT(o)?Mu(o):Array.isArray(o)?o.map(l=>$T(l,r)||VE.easeOut):VE[o]}function h_(o,r,l,{delay:u=0,duration:f=300,repeat:m=0,repeatType:h="loop",ease:p="easeOut",times:v}={},S=void 0){const b={[r]:l};v&&(b.offset=v);const E=$T(p,f);Array.isArray(E)&&(b.easing=E);const D={delay:u,duration:f,easing:Array.isArray(E)?"linear":E,fill:"both",iterations:m+1,direction:h==="reverse"?"alternate":"normal"};return S&&(D.pseudoElement=S),o.animate(b,D)}function XT(o){return typeof o=="function"&&"applyToOptions"in o}function m_({type:o,...r}){return XT(o)&>()?o.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class QT extends nv{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:l,name:u,keyframes:f,pseudoElement:m,allowFlatten:h=!1,finalKeyframe:p,onComplete:v}=r;this.isPseudoElement=!!m,this.allowFlatten=h,this.options=r,Ro(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const S=m_(r);this.animation=h_(l,u,f,S,m),S.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!m){const b=tv(f,this.options,p,this.speed);this.updateMotionValue?this.updateMotionValue(b):u_(l,u,b),this.animation.cancel()}v?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const r=this.options?.element;!this.isPseudoElement&&r?.isConnected&&this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return aa(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+aa(r)}get time(){return aa(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ra(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&c_()?(this.animation.timeline=r,oa):l(this)}}const ZT={anticipate:AT,backInOut:ET,circInOut:NT};function p_(o){return o in ZT}function y_(o){typeof o.ease=="string"&&p_(o.ease)&&(o.ease=ZT[o.ease])}const $y=10;class g_ extends QT{constructor(r){y_(r),qT(r),super(r),r.startTime!==void 0&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:l,onUpdate:u,onComplete:f,element:m,...h}=this.options;if(!l)return;if(r!==void 0){l.set(r);return}const p=new av({...h,autoplay:!1}),v=Math.max($y,hn.now()-this.startTime),S=Ka(0,$y,v-$y);l.setWithVelocity(p.sample(Math.max(0,v-S)).value,p.sample(v).value,S),p.stop()}}const kE=(o,r)=>r==="zIndex"?!1:!!(typeof o=="number"||Array.isArray(o)||typeof o=="string"&&(Tr.test(o)||o==="0")&&!o.startsWith("url("));function v_(o){const r=o[0];if(o.length===1)return!0;for(let l=0;l<o.length;l++)if(o[l]!==r)return!0}function b_(o,r,l,u){const f=o[0];if(f===null)return!1;if(r==="display"||r==="visibility")return!0;const m=o[o.length-1],h=kE(f,r),p=kE(m,r);return Yi(h===p,`You are trying to animate ${r} from "${f}" to "${m}". "${h?m:f}" is not an animatable value.`,"value-not-animatable"),!h||!p?!1:v_(o)||(l==="spring"||XT(l))&&u}function Dg(o){o.duration=0,o.type="keyframes"}const S_=new Set(["opacity","clipPath","filter","transform"]),D_=$g(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function x_(o){const{motionValue:r,name:l,repeatDelay:u,repeatType:f,damping:m,type:h}=o;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:v,transformTemplate:S}=r.owner.getProps();return D_()&&l&&S_.has(l)&&(l!=="transform"||!S)&&!v&&!u&&f!=="mirror"&&m!==0&&h!=="inertia"}const E_=40;class A_ extends nv{constructor({autoplay:r=!0,delay:l=0,type:u="keyframes",repeat:f=0,repeatDelay:m=0,repeatType:h="loop",keyframes:p,name:v,motionValue:S,element:b,...E}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=hn.now();const D={autoplay:r,delay:l,type:u,repeat:f,repeatDelay:m,repeatType:h,name:v,motionValue:S,element:b,...E},C=b?.KeyframeResolver||ov;this.keyframeResolver=new C(p,(R,L,j)=>this.onKeyframesResolved(R,L,D,!j),v,S,b),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,l,u,f){this.keyframeResolver=void 0;const{name:m,type:h,velocity:p,delay:v,isHandoff:S,onUpdate:b}=u;this.resolvedAt=hn.now(),b_(r,m,h,p)||((Oo.instantAnimations||!v)&&b?.(tv(r,u,l)),r[0]=r[r.length-1],Dg(u),u.repeat=0);const D={startTime:f?this.resolvedAt?this.resolvedAt-this.createdAt>E_?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...u,keyframes:r},C=!S&&x_(D),R=D.motionValue?.owner?.current,L=C?new g_({...D,element:R}):new av(D);L.finished.then(()=>{this.notifyFinished()}).catch(oa),this.pendingTimeline&&(this.stopTimeline=L.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=L}get finished(){return this._animation?this.animation.finished:this._finished}then(r,l){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),i_()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function FT(o,r,l,u=0,f=1){const m=Array.from(o).sort((S,b)=>S.sortNodePosition(b)).indexOf(r),h=o.size,p=(h-1)*u;return typeof l=="function"?l(m,h):f===1?m*u:p-m*u}const T_=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function N_(o){const r=T_.exec(o);if(!r)return[,];const[,l,u,f]=r;return[`--${l??u}`,f]}const w_=4;function JT(o,r,l=1){Ro(l<=w_,`Max CSS variable fallback depth detected in property "${o}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[u,f]=N_(o);if(!u)return;const m=window.getComputedStyle(r).getPropertyValue(u);if(m){const h=m.trim();return pT(h)?parseFloat(h):h}return Jg(f)?JT(f,r,l+1):f}const R_={type:"spring",stiffness:500,damping:25,restSpeed:10},O_=o=>({type:"spring",stiffness:550,damping:o===0?2*Math.sqrt(550):30,restSpeed:10}),C_={type:"keyframes",duration:.8},M_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},U_=(o,{keyframes:r})=>r.length>2?C_:$i.has(o)?o.startsWith("scale")?O_(r[1]):R_:M_,__=o=>o!==null;function z_(o,{repeat:r,repeatType:l="loop"},u){const f=o.filter(__),m=r&&l!=="loop"&&r%2===1?0:f.length-1;return f[m]}function IT(o,r){if(o?.inherit&&r){const{inherit:l,...u}=o;return{...r,...u}}return o}function rv(o,r){const l=o?.[r]??o?.default??o;return l!==o?IT(l,o):l}function j_({when:o,delay:r,delayChildren:l,staggerChildren:u,staggerDirection:f,repeat:m,repeatType:h,repeatDelay:p,from:v,elapsed:S,...b}){return!!Object.keys(b).length}const sv=(o,r,l,u={},f,m)=>h=>{const p=rv(u,o)||{},v=p.delay||u.delay||0;let{elapsed:S=0}=u;S=S-ra(v);const b={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:r.getVelocity(),...p,delay:-S,onUpdate:D=>{r.set(D),p.onUpdate&&p.onUpdate(D)},onComplete:()=>{h(),p.onComplete&&p.onComplete()},name:o,motionValue:r,element:m?void 0:f};j_(p)||Object.assign(b,U_(o,b)),b.duration&&(b.duration=ra(b.duration)),b.repeatDelay&&(b.repeatDelay=ra(b.repeatDelay)),b.from!==void 0&&(b.keyframes[0]=b.from);let E=!1;if((b.type===!1||b.duration===0&&!b.repeatDelay)&&(Dg(b),b.delay===0&&(E=!0)),(Oo.instantAnimations||Oo.skipAnimations||f?.shouldSkipAnimations)&&(E=!0,Dg(b),b.delay=0),b.allowFlatten=!p.type&&!p.ease,E&&!m&&r.get()!==void 0){const D=z_(b.keyframes,p);if(D!==void 0){lt.update(()=>{b.onUpdate(D),b.onComplete()});return}}return p.isSync?new av(b):new A_(b)};function LE(o){const r=[{},{}];return o?.values.forEach((l,u)=>{r[0][u]=l.get(),r[1][u]=l.getVelocity()}),r}function iv(o,r,l,u){if(typeof r=="function"){const[f,m]=LE(u);r=r(l!==void 0?l:o.custom,f,m)}if(typeof r=="string"&&(r=o.variants&&o.variants[r]),typeof r=="function"){const[f,m]=LE(u);r=r(l!==void 0?l:o.custom,f,m)}return r}function Bi(o,r,l){const u=o.getProps();return iv(u,r,l!==void 0?l:u.custom,o)}const KT=new Set(["width","height","top","left","right","bottom",...Gi]),BE=30,V_=o=>!isNaN(parseFloat(o));class k_{constructor(r,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{const f=hn.now();if(this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const m of this.dependents)m.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=l.owner}setCurrent(r){this.current=r,this.updatedAt=hn.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=V_(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return Qg(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,l){this.events[r]||(this.events[r]=new Xg);const u=this.events[r].add(l);return r==="change"?()=>{u(),lt.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,l){this.passiveEffect=r,this.stopPassiveEffect=l}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,l,u){this.set(l),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-u}jump(r,l=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=hn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>BE)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,BE);return vT(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(r){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=r(l),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Hi(o,r){return new k_(o,r)}const xg=o=>Array.isArray(o);function L_(o,r,l){o.hasValue(r)?o.getValue(r).set(l):o.addValue(r,Hi(l))}function B_(o){return xg(o)?o[o.length-1]||0:o}function H_(o,r){const l=Bi(o,r);let{transitionEnd:u={},transition:f={},...m}=l||{};m={...m,...u};for(const h in m){const p=B_(m[h]);L_(o,h,p)}}const tn=o=>!!(o&&o.getVelocity);function q_(o){return!!(tn(o)&&o.add)}function Eg(o,r){const l=o.getValue("willChange");if(q_(l))return l.add(r);if(!l&&Oo.WillChange){const u=new Oo.WillChange("auto");o.addValue("willChange",u),u.add(r)}}function lv(o){return o.replace(/([A-Z])/g,r=>`-${r.toLowerCase()}`)}const Y_="framerAppearId",WT="data-"+lv(Y_);function eN(o){return o.props[WT]}function P_({protectedKeys:o,needsAnimating:r},l){const u=o.hasOwnProperty(l)&&r[l]!==!0;return r[l]=!1,u}function tN(o,r,{delay:l=0,transitionOverride:u,type:f}={}){let{transition:m,transitionEnd:h,...p}=r;const v=o.getDefaultTransition();m=m?IT(m,v):v;const S=m?.reduceMotion;u&&(m=u);const b=[],E=f&&o.animationState&&o.animationState.getState()[f];for(const D in p){const C=o.getValue(D,o.latestValues[D]??null),R=p[D];if(R===void 0||E&&P_(E,D))continue;const L={delay:l,...rv(m||{},D)},j=C.get();if(j!==void 0&&!C.isAnimating&&!Array.isArray(R)&&R===j&&!L.velocity)continue;let Y=!1;if(window.MotionHandoffAnimation){const W=eN(o);if(W){const K=window.MotionHandoffAnimation(W,D,lt);K!==null&&(L.startTime=K,Y=!0)}}Eg(o,D);const F=S??o.shouldReduceMotion;C.start(sv(D,C,R,F&&KT.has(D)?{type:!1}:L,o,Y));const G=C.animation;G&&b.push(G)}if(h){const D=()=>lt.update(()=>{h&&H_(o,h)});b.length?Promise.all(b).then(D):D()}return b}function Ag(o,r,l={}){const u=Bi(o,r,l.type==="exit"?o.presenceContext?.custom:void 0);let{transition:f=o.getDefaultTransition()||{}}=u||{};l.transitionOverride&&(f=l.transitionOverride);const m=u?()=>Promise.all(tN(o,u,l)):()=>Promise.resolve(),h=o.variantChildren&&o.variantChildren.size?(v=0)=>{const{delayChildren:S=0,staggerChildren:b,staggerDirection:E}=f;return G_(o,r,v,S,b,E,l)}:()=>Promise.resolve(),{when:p}=f;if(p){const[v,S]=p==="beforeChildren"?[m,h]:[h,m];return v().then(()=>S())}else return Promise.all([m(),h(l.delay)])}function G_(o,r,l=0,u=0,f=0,m=1,h){const p=[];for(const v of o.variantChildren)v.notify("AnimationStart",r),p.push(Ag(v,r,{...h,delay:l+(typeof u=="function"?0:u)+FT(o.variantChildren,v,u,f,m)}).then(()=>v.notify("AnimationComplete",r)));return Promise.all(p)}function $_(o,r,l={}){o.notify("AnimationStart",r);let u;if(Array.isArray(r)){const f=r.map(m=>Ag(o,m,l));u=Promise.all(f)}else if(typeof r=="string")u=Ag(o,r,l);else{const f=typeof r=="function"?Bi(o,r,l.custom):r;u=Promise.all(tN(o,f,l))}return u.then(()=>{o.notify("AnimationComplete",r)})}const X_={test:o=>o==="auto",parse:o=>o},nN=o=>r=>r.test(o),aN=[Pi,fe,Ia,Dr,bU,vU,X_],HE=o=>aN.find(nN(o));function Q_(o){return typeof o=="number"?o===0:o!==null?o==="none"||o==="0"||gT(o):!0}const Z_=new Set(["brightness","contrast","saturate","opacity"]);function F_(o){const[r,l]=o.slice(0,-1).split("(");if(r==="drop-shadow")return o;const[u]=l.match(Ig)||[];if(!u)return o;const f=l.replace(u,"");let m=Z_.has(r)?1:0;return u!==l&&(m*=100),r+"("+m+f+")"}const J_=/\b([a-z-]*)\(.*?\)/gu,Tg={...Tr,getAnimatableNone:o=>{const r=o.match(J_);return r?r.map(F_).join(" "):o}},qE={...Pi,transform:Math.round},I_={rotate:Dr,rotateX:Dr,rotateY:Dr,rotateZ:Dr,scale:pd,scaleX:pd,scaleY:pd,scaleZ:pd,skew:Dr,skewX:Dr,skewY:Dr,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:Vu,originX:wE,originY:wE,originZ:fe},uv={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,top:fe,right:fe,bottom:fe,left:fe,inset:fe,insetBlock:fe,insetBlockStart:fe,insetBlockEnd:fe,insetInline:fe,insetInlineStart:fe,insetInlineEnd:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,paddingBlock:fe,paddingBlockStart:fe,paddingBlockEnd:fe,paddingInline:fe,paddingInlineStart:fe,paddingInlineEnd:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,marginBlock:fe,marginBlockStart:fe,marginBlockEnd:fe,marginInline:fe,marginInlineStart:fe,marginInlineEnd:fe,fontSize:fe,backgroundPositionX:fe,backgroundPositionY:fe,...I_,zIndex:qE,fillOpacity:Vu,strokeOpacity:Vu,numOctaves:qE},K_={...uv,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:Tg,WebkitFilter:Tg},oN=o=>K_[o];function rN(o,r){let l=oN(o);return l!==Tg&&(l=Tr),l.getAnimatableNone?l.getAnimatableNone(r):void 0}const W_=new Set(["auto","none","0"]);function e3(o,r,l){let u=0,f;for(;u<o.length&&!f;){const m=o[u];typeof m=="string"&&!W_.has(m)&&ku(m).values.length&&(f=o[u]),u++}if(f&&l)for(const m of r)o[m]=rN(l,f)}class t3 extends ov{constructor(r,l,u,f,m){super(r,l,u,f,m,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:l,name:u}=this;if(!l||!l.current)return;super.readKeyframes();for(let b=0;b<r.length;b++){let E=r[b];if(typeof E=="string"&&(E=E.trim(),Jg(E))){const D=JT(E,l.current);D!==void 0&&(r[b]=D),b===r.length-1&&(this.finalKeyframe=E)}}if(this.resolveNoneKeyframes(),!KT.has(u)||r.length!==2)return;const[f,m]=r,h=HE(f),p=HE(m),v=NE(f),S=NE(m);if(v!==S&&xr[u]){this.needsMeasurement=!0;return}if(h!==p)if(jE(h)&&jE(p))for(let b=0;b<r.length;b++){const E=r[b];typeof E=="string"&&(r[b]=parseFloat(E))}else xr[u]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:l}=this,u=[];for(let f=0;f<r.length;f++)(r[f]===null||Q_(r[f]))&&u.push(f);u.length&&e3(r,u,l)}measureInitialState(){const{element:r,unresolvedKeyframes:l,name:u}=this;if(!r||!r.current)return;u==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=xr[u](r.measureViewportBox(),window.getComputedStyle(r.current)),l[0]=this.measuredOrigin;const f=l[l.length-1];f!==void 0&&r.getValue(u,f).jump(f,!1)}measureEndState(){const{element:r,name:l,unresolvedKeyframes:u}=this;if(!r||!r.current)return;const f=r.getValue(l);f&&f.jump(this.measuredOrigin,!1);const m=u.length-1,h=u[m];u[m]=xr[l](r.measureViewportBox(),window.getComputedStyle(r.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([p,v])=>{r.getValue(p).set(v)}),this.resolveNoneKeyframes()}}const n3=new Set(["opacity","clipPath","filter","transform"]);function sN(o,r,l){if(o==null)return[];if(o instanceof EventTarget)return[o];if(typeof o=="string"){let u=document;const f=l?.[o]??u.querySelectorAll(o);return f?Array.from(f):[]}return Array.from(o).filter(u=>u!=null)}const iN=(o,r)=>r&&typeof o=="number"?r.transform(o):o;function Ng(o){return yT(o)&&"offsetHeight"in o}const{schedule:cv}=OT(queueMicrotask,!1),ba={x:!1,y:!1};function lN(){return ba.x||ba.y}function a3(o){return o==="x"||o==="y"?ba[o]?null:(ba[o]=!0,()=>{ba[o]=!1}):ba.x||ba.y?null:(ba.x=ba.y=!0,()=>{ba.x=ba.y=!1})}function uN(o,r){const l=sN(o),u=new AbortController,f={passive:!0,...r,signal:u.signal};return[l,f,()=>u.abort()]}function o3(o){return!(o.pointerType==="touch"||lN())}function r3(o,r,l={}){const[u,f,m]=uN(o,l);return u.forEach(h=>{let p=!1,v=!1,S;const b=()=>{h.removeEventListener("pointerleave",R)},E=j=>{S&&(S(j),S=void 0),b()},D=j=>{p=!1,window.removeEventListener("pointerup",D),window.removeEventListener("pointercancel",D),v&&(v=!1,E(j))},C=()=>{p=!0,window.addEventListener("pointerup",D,f),window.addEventListener("pointercancel",D,f)},R=j=>{if(j.pointerType!=="touch"){if(p){v=!0;return}E(j)}},L=j=>{if(!o3(j))return;v=!1;const Y=r(h,j);typeof Y=="function"&&(S=Y,h.addEventListener("pointerleave",R,f))};h.addEventListener("pointerenter",L,f),h.addEventListener("pointerdown",C,f)}),m}const cN=(o,r)=>r?o===r?!0:cN(o,r.parentElement):!1,fv=o=>o.pointerType==="mouse"?typeof o.button!="number"||o.button<=0:o.isPrimary!==!1,s3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function i3(o){return s3.has(o.tagName)||o.isContentEditable===!0}const l3=new Set(["INPUT","SELECT","TEXTAREA"]);function u3(o){return l3.has(o.tagName)||o.isContentEditable===!0}const Ed=new WeakSet;function YE(o){return r=>{r.key==="Enter"&&o(r)}}function Xy(o,r){o.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const c3=(o,r)=>{const l=o.currentTarget;if(!l)return;const u=YE(()=>{if(Ed.has(l))return;Xy(l,"down");const f=YE(()=>{Xy(l,"up")}),m=()=>Xy(l,"cancel");l.addEventListener("keyup",f,r),l.addEventListener("blur",m,r)});l.addEventListener("keydown",u,r),l.addEventListener("blur",()=>l.removeEventListener("keydown",u),r)};function PE(o){return fv(o)&&!lN()}const GE=new WeakSet;function f3(o,r,l={}){const[u,f,m]=uN(o,l),h=p=>{const v=p.currentTarget;if(!PE(p)||GE.has(p))return;Ed.add(v),l.stopPropagation&&GE.add(p);const S=r(v,p),b=(C,R)=>{window.removeEventListener("pointerup",E),window.removeEventListener("pointercancel",D),Ed.has(v)&&Ed.delete(v),PE(C)&&typeof S=="function"&&S(C,{success:R})},E=C=>{b(C,v===window||v===document||l.useGlobalTarget||cN(v,C.target))},D=C=>{b(C,!1)};window.addEventListener("pointerup",E,f),window.addEventListener("pointercancel",D,f)};return u.forEach(p=>{(l.useGlobalTarget?window:p).addEventListener("pointerdown",h,f),Ng(p)&&(p.addEventListener("focus",S=>c3(S,f)),!i3(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),m}function dv(o){return yT(o)&&"ownerSVGElement"in o}const Ad=new WeakMap;let Td;const fN=(o,r,l)=>(u,f)=>f&&f[0]?f[0][o+"Size"]:dv(u)&&"getBBox"in u?u.getBBox()[r]:u[l],d3=fN("inline","width","offsetWidth"),h3=fN("block","height","offsetHeight");function m3({target:o,borderBoxSize:r}){Ad.get(o)?.forEach(l=>{l(o,{get width(){return d3(o,r)},get height(){return h3(o,r)}})})}function p3(o){o.forEach(m3)}function y3(){typeof ResizeObserver>"u"||(Td=new ResizeObserver(p3))}function g3(o,r){Td||y3();const l=sN(o);return l.forEach(u=>{let f=Ad.get(u);f||(f=new Set,Ad.set(u,f)),f.add(r),Td?.observe(u)}),()=>{l.forEach(u=>{const f=Ad.get(u);f?.delete(r),f?.size||Td?.unobserve(u)})}}const Nd=new Set;let ji;function v3(){ji=()=>{const o={get width(){return window.innerWidth},get height(){return window.innerHeight}};Nd.forEach(r=>r(o))},window.addEventListener("resize",ji)}function b3(o){return Nd.add(o),ji||v3(),()=>{Nd.delete(o),!Nd.size&&typeof ji=="function"&&(window.removeEventListener("resize",ji),ji=void 0)}}function $E(o,r){return typeof o=="function"?b3(o):g3(o,r)}function S3(o){return dv(o)&&o.tagName==="svg"}const D3=[...aN,Mt,Tr],x3=o=>D3.find(nN(o)),XE=()=>({translate:0,scale:1,origin:0,originPoint:0}),Vi=()=>({x:XE(),y:XE()}),QE=()=>({min:0,max:0}),jt=()=>({x:QE(),y:QE()}),E3=new WeakMap;function Pd(o){return o!==null&&typeof o=="object"&&typeof o.start=="function"}function Lu(o){return typeof o=="string"||Array.isArray(o)}const hv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mv=["initial",...hv];function Gd(o){return Pd(o.animate)||mv.some(r=>Lu(o[r]))}function dN(o){return!!(Gd(o)||o.variants)}function A3(o,r,l){for(const u in r){const f=r[u],m=l[u];if(tn(f))o.addValue(u,f);else if(tn(m))o.addValue(u,Hi(f,{owner:o}));else if(m!==f)if(o.hasValue(u)){const h=o.getValue(u);h.liveStyle===!0?h.jump(f):h.hasAnimated||h.set(f)}else{const h=o.getStaticValue(u);o.addValue(u,Hi(h!==void 0?h:f,{owner:o}))}}for(const u in l)r[u]===void 0&&o.removeValue(u);return r}const wg={current:null},hN={current:!1},T3=typeof window<"u";function N3(){if(hN.current=!0,!!T3)if(window.matchMedia){const o=window.matchMedia("(prefers-reduced-motion)"),r=()=>wg.current=o.matches;o.addEventListener("change",r),r()}else wg.current=!1}const ZE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let kd={};function mN(o){kd=o}function w3(){return kd}class R3{scrapeMotionValuesFromProps(r,l,u){return{}}constructor({parent:r,props:l,presenceContext:u,reducedMotionConfig:f,skipAnimations:m,blockInitialAnimation:h,visualState:p},v={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ov,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const C=hn.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,lt.render(this.render,!1,!0))};const{latestValues:S,renderState:b}=p;this.latestValues=S,this.baseTarget={...S},this.initialValues=l.initial?{...S}:{},this.renderState=b,this.parent=r,this.props=l,this.presenceContext=u,this.depth=r?r.depth+1:0,this.reducedMotionConfig=f,this.skipAnimationsConfig=m,this.options=v,this.blockInitialAnimation=!!h,this.isControllingVariants=Gd(l),this.isVariantNode=dN(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:E,...D}=this.scrapeMotionValuesFromProps(l,{},this);for(const C in D){const R=D[C];S[C]!==void 0&&tn(R)&&R.set(S[C])}}mount(r){if(this.hasBeenMounted)for(const l in this.initialValues)this.values.get(l)?.jump(this.initialValues[l]),this.latestValues[l]=this.initialValues[l];this.current=r,E3.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((l,u)=>this.bindToMotionValue(u,l)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hN.current||N3(),this.shouldReduceMotion=wg.current),Qg(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ar(this.notifyUpdate),Ar(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const l=this.features[r];l&&(l.unmount(),l.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,l){if(this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)(),l.accelerate&&n3.has(r)&&this.current instanceof HTMLElement){const{factory:h,keyframes:p,times:v,ease:S,duration:b}=l.accelerate,E=new QT({element:this.current,name:r,keyframes:p,times:v,ease:S,duration:ra(b)}),D=h(E);this.valueSubscriptions.set(r,()=>{D(),E.cancel()});return}const u=$i.has(r);u&&this.onBindTransform&&this.onBindTransform();const f=l.on("change",h=>{this.latestValues[r]=h,this.props.onUpdate&<.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let m;typeof window<"u"&&window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,r,l)),this.valueSubscriptions.set(r,()=>{f(),m&&m(),l.owner&&l.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in kd){const l=kd[r];if(!l)continue;const{isEnabled:u,Feature:f}=l;if(!this.features[r]&&f&&u(this.props)&&(this.features[r]=new f(this)),this.features[r]){const m=this.features[r];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):jt()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,l){this.latestValues[r]=l}update(r,l){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let u=0;u<ZE.length;u++){const f=ZE[u];this.propEventSubscriptions[f]&&(this.propEventSubscriptions[f](),delete this.propEventSubscriptions[f]);const m="on"+f,h=r[m];h&&(this.propEventSubscriptions[f]=this.on(f,h))}this.prevMotionValues=A3(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(r),()=>l.variantChildren.delete(r)}addValue(r,l){const u=this.values.get(r);l!==u&&(u&&this.removeValue(r),this.bindToMotionValue(r,l),this.values.set(r,l),this.latestValues[r]=l.get())}removeValue(r){this.values.delete(r);const l=this.valueSubscriptions.get(r);l&&(l(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,l){if(this.props.values&&this.props.values[r])return this.props.values[r];let u=this.values.get(r);return u===void 0&&l!==void 0&&(u=Hi(l===null?void 0:l,{owner:this}),this.addValue(r,u)),u}readValue(r,l){let u=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return u!=null&&(typeof u=="string"&&(pT(u)||gT(u))?u=parseFloat(u):!x3(u)&&Tr.test(l)&&(u=rN(r,l)),this.setBaseTarget(r,tn(u)?u.get():u)),tn(u)?u.get():u}setBaseTarget(r,l){this.baseTarget[r]=l}getBaseTarget(r){const{initial:l}=this.props;let u;if(typeof l=="string"||typeof l=="object"){const m=iv(this.props,l,this.presenceContext?.custom);m&&(u=m[r])}if(l&&u!==void 0)return u;const f=this.getBaseTargetFromProps(this.props,r);return f!==void 0&&!tn(f)?f:this.initialValues[r]!==void 0&&u===void 0?void 0:this.baseTarget[r]}on(r,l){return this.events[r]||(this.events[r]=new Xg),this.events[r].add(l)}notify(r,...l){this.events[r]&&this.events[r].notify(...l)}scheduleRenderMicrotask(){cv.render(this.render)}}class pN extends R3{constructor(){super(...arguments),this.KeyframeResolver=t3}sortInstanceNodePosition(r,l){return r.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(r,l){const u=r.style;return u?u[l]:void 0}removeValueFromRenderState(r,{vars:l,style:u}){delete l[r],delete u[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;tn(r)&&(this.childSubscription=r.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class Nr{constructor(r){this.isMounted=!1,this.node=r}update(){}}function yN({top:o,left:r,right:l,bottom:u}){return{x:{min:r,max:l},y:{min:o,max:u}}}function O3({x:o,y:r}){return{top:r.min,right:o.max,bottom:r.max,left:o.min}}function C3(o,r){if(!r)return o;const l=r({x:o.left,y:o.top}),u=r({x:o.right,y:o.bottom});return{top:l.y,left:l.x,bottom:u.y,right:u.x}}function Qy(o){return o===void 0||o===1}function Rg({scale:o,scaleX:r,scaleY:l}){return!Qy(o)||!Qy(r)||!Qy(l)}function vs(o){return Rg(o)||gN(o)||o.z||o.rotate||o.rotateX||o.rotateY||o.skewX||o.skewY}function gN(o){return FE(o.x)||FE(o.y)}function FE(o){return o&&o!=="0%"}function Ld(o,r,l){const u=o-l,f=r*u;return l+f}function JE(o,r,l,u,f){return f!==void 0&&(o=Ld(o,f,u)),Ld(o,l,u)+r}function Og(o,r=0,l=1,u,f){o.min=JE(o.min,r,l,u,f),o.max=JE(o.max,r,l,u,f)}function vN(o,{x:r,y:l}){Og(o.x,r.translate,r.scale,r.originPoint),Og(o.y,l.translate,l.scale,l.originPoint)}const IE=.999999999999,KE=1.0000000000001;function M3(o,r,l,u=!1){const f=l.length;if(!f)return;r.x=r.y=1;let m,h;for(let p=0;p<f;p++){m=l[p],h=m.projectionDelta;const{visualElement:v}=m.options;v&&v.props.style&&v.props.style.display==="contents"||(u&&m.options.layoutScroll&&m.scroll&&m!==m.root&&Li(o,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),h&&(r.x*=h.x.scale,r.y*=h.y.scale,vN(o,h)),u&&vs(m.latestValues)&&Li(o,m.latestValues))}r.x<KE&&r.x>IE&&(r.x=1),r.y<KE&&r.y>IE&&(r.y=1)}function ki(o,r){o.min=o.min+r,o.max=o.max+r}function WE(o,r,l,u,f=.5){const m=vt(o.min,o.max,f);Og(o,r,l,m,u)}function Li(o,r){WE(o.x,r.x,r.scaleX,r.scale,r.originX),WE(o.y,r.y,r.scaleY,r.scale,r.originY)}function bN(o,r){return yN(C3(o.getBoundingClientRect(),r))}function U3(o,r,l){const u=bN(o,l),{scroll:f}=r;return f&&(ki(u.x,f.offset.x),ki(u.y,f.offset.y)),u}const _3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},z3=Gi.length;function j3(o,r,l){let u="",f=!0;for(let m=0;m<z3;m++){const h=Gi[m],p=o[h];if(p===void 0)continue;let v=!0;if(typeof p=="number")v=p===(h.startsWith("scale")?1:0);else{const S=parseFloat(p);v=h.startsWith("scale")?S===1:S===0}if(!v||l){const S=iN(p,uv[h]);if(!v){f=!1;const b=_3[h]||h;u+=`${b}(${S}) `}l&&(r[h]=S)}}return u=u.trim(),l?u=l(r,f?"":u):f&&(u="none"),u}function pv(o,r,l){const{style:u,vars:f,transformOrigin:m}=o;let h=!1,p=!1;for(const v in r){const S=r[v];if($i.has(v)){h=!0;continue}else if(MT(v)){f[v]=S;continue}else{const b=iN(S,uv[v]);v.startsWith("origin")?(p=!0,m[v]=b):u[v]=b}}if(r.transform||(h||l?u.transform=j3(r,o.transform,l):u.transform&&(u.transform="none")),p){const{originX:v="50%",originY:S="50%",originZ:b=0}=m;u.transformOrigin=`${v} ${S} ${b}`}}function SN(o,{style:r,vars:l},u,f){const m=o.style;let h;for(h in r)m[h]=r[h];f?.applyProjectionStyles(m,u);for(h in l)m.setProperty(h,l[h])}function eA(o,r){return r.max===r.min?0:o/(r.max-r.min)*100}const Ru={correct:(o,r)=>{if(!r.target)return o;if(typeof o=="string")if(fe.test(o))o=parseFloat(o);else return o;const l=eA(o,r.target.x),u=eA(o,r.target.y);return`${l}% ${u}%`}},V3={correct:(o,{treeScale:r,projectionDelta:l})=>{const u=o,f=Tr.parse(o);if(f.length>5)return u;const m=Tr.createTransformer(o),h=typeof f[0]!="number"?1:0,p=l.x.scale*r.x,v=l.y.scale*r.y;f[0+h]/=p,f[1+h]/=v;const S=vt(p,v,.5);return typeof f[2+h]=="number"&&(f[2+h]/=S),typeof f[3+h]=="number"&&(f[3+h]/=S),m(f)}},Cg={borderRadius:{...Ru,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ru,borderTopRightRadius:Ru,borderBottomLeftRadius:Ru,borderBottomRightRadius:Ru,boxShadow:V3};function DN(o,{layout:r,layoutId:l}){return $i.has(o)||o.startsWith("origin")||(r||l!==void 0)&&(!!Cg[o]||o==="opacity")}function yv(o,r,l){const u=o.style,f=r?.style,m={};if(!u)return m;for(const h in u)(tn(u[h])||f&&tn(f[h])||DN(h,o)||l?.getValue(h)?.liveStyle!==void 0)&&(m[h]=u[h]);return m}function k3(o){return window.getComputedStyle(o)}class L3 extends pN{constructor(){super(...arguments),this.type="html",this.renderInstance=SN}readValueFromInstance(r,l){if($i.has(l))return this.projection?.isProjecting?yg(l):n_(r,l);{const u=k3(r),f=(MT(l)?u.getPropertyValue(l):u[l])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(r,{transformPagePoint:l}){return bN(r,l)}build(r,l,u){pv(r,l,u.transformTemplate)}scrapeMotionValuesFromProps(r,l,u){return yv(r,l,u)}}const B3={offset:"stroke-dashoffset",array:"stroke-dasharray"},H3={offset:"strokeDashoffset",array:"strokeDasharray"};function q3(o,r,l=1,u=0,f=!0){o.pathLength=1;const m=f?B3:H3;o[m.offset]=`${-u}`,o[m.array]=`${r} ${l}`}const Y3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function xN(o,{attrX:r,attrY:l,attrScale:u,pathLength:f,pathSpacing:m=1,pathOffset:h=0,...p},v,S,b){if(pv(o,p,S),v){o.style.viewBox&&(o.attrs.viewBox=o.style.viewBox);return}o.attrs=o.style,o.style={};const{attrs:E,style:D}=o;E.transform&&(D.transform=E.transform,delete E.transform),(D.transform||E.transformOrigin)&&(D.transformOrigin=E.transformOrigin??"50% 50%",delete E.transformOrigin),D.transform&&(D.transformBox=b?.transformBox??"fill-box",delete E.transformBox);for(const C of Y3)E[C]!==void 0&&(D[C]=E[C],delete E[C]);r!==void 0&&(E.x=r),l!==void 0&&(E.y=l),u!==void 0&&(E.scale=u),f!==void 0&&q3(E,f,m,h,!1)}const EN=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),AN=o=>typeof o=="string"&&o.toLowerCase()==="svg";function P3(o,r,l,u){SN(o,r,void 0,u);for(const f in r.attrs)o.setAttribute(EN.has(f)?f:lv(f),r.attrs[f])}function TN(o,r,l){const u=yv(o,r,l);for(const f in o)if(tn(o[f])||tn(r[f])){const m=Gi.indexOf(f)!==-1?"attr"+f.charAt(0).toUpperCase()+f.substring(1):f;u[m]=o[f]}return u}class G3 extends pN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=jt}getBaseTargetFromProps(r,l){return r[l]}readValueFromInstance(r,l){if($i.has(l)){const u=oN(l);return u&&u.default||0}return l=EN.has(l)?l:lv(l),r.getAttribute(l)}scrapeMotionValuesFromProps(r,l,u){return TN(r,l,u)}build(r,l,u){xN(r,l,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(r,l,u,f){P3(r,l,u,f)}mount(r){this.isSVGTag=AN(r.tagName),super.mount(r)}}const $3=mv.length;function NN(o){if(!o)return;if(!o.isControllingVariants){const l=o.parent?NN(o.parent)||{}:{};return o.props.initial!==void 0&&(l.initial=o.props.initial),l}const r={};for(let l=0;l<$3;l++){const u=mv[l],f=o.props[u];(Lu(f)||f===!1)&&(r[u]=f)}return r}function wN(o,r){if(!Array.isArray(r))return!1;const l=r.length;if(l!==o.length)return!1;for(let u=0;u<l;u++)if(r[u]!==o[u])return!1;return!0}const X3=[...hv].reverse(),Q3=hv.length;function Z3(o){return r=>Promise.all(r.map(({animation:l,options:u})=>$_(o,l,u)))}function F3(o){let r=Z3(o),l=tA(),u=!0;const f=v=>(S,b)=>{const E=Bi(o,b,v==="exit"?o.presenceContext?.custom:void 0);if(E){const{transition:D,transitionEnd:C,...R}=E;S={...S,...R,...C}}return S};function m(v){r=v(o)}function h(v){const{props:S}=o,b=NN(o.parent)||{},E=[],D=new Set;let C={},R=1/0;for(let j=0;j<Q3;j++){const Y=X3[j],F=l[Y],G=S[Y]!==void 0?S[Y]:b[Y],W=Lu(G),K=Y===v?F.isActive:null;K===!1&&(R=j);let De=G===b[Y]&&G!==S[Y]&&W;if(De&&u&&o.manuallyAnimateOnMount&&(De=!1),F.protectedKeys={...C},!F.isActive&&K===null||!G&&!F.prevProp||Pd(G)||typeof G=="boolean")continue;if(Y==="exit"&&F.isActive&&K!==!0){F.prevResolvedValues&&(C={...C,...F.prevResolvedValues});continue}const be=J3(F.prevProp,G);let ee=be||Y===v&&F.isActive&&!De&&W||j>R&&W,ce=!1;const q=Array.isArray(G)?G:[G];let ue=q.reduce(f(Y),{});K===!1&&(ue={});const{prevResolvedValues:Z={}}=F,pe={...Z,...ue},Ve=oe=>{ee=!0,D.has(oe)&&(ce=!0,D.delete(oe)),F.needsAnimating[oe]=!0;const se=o.getValue(oe);se&&(se.liveStyle=!1)};for(const oe in pe){const se=ue[oe],we=Z[oe];if(C.hasOwnProperty(oe))continue;let Be=!1;xg(se)&&xg(we)?Be=!wN(se,we):Be=se!==we,Be?se!=null?Ve(oe):D.add(oe):se!==void 0&&D.has(oe)?Ve(oe):F.protectedKeys[oe]=!0}F.prevProp=G,F.prevResolvedValues=ue,F.isActive&&(C={...C,...ue}),u&&o.blockInitialAnimation&&(ee=!1);const qe=De&&be;ee&&(!qe||ce)&&E.push(...q.map(oe=>{const se={type:Y};if(typeof oe=="string"&&u&&!qe&&o.manuallyAnimateOnMount&&o.parent){const{parent:we}=o,Be=Bi(we,oe);if(we.enteringChildren&&Be){const{delayChildren:O}=Be.transition||{};se.delay=FT(we.enteringChildren,o,O)}}return{animation:oe,options:se}}))}if(D.size){const j={};if(typeof S.initial!="boolean"){const Y=Bi(o,Array.isArray(S.initial)?S.initial[0]:S.initial);Y&&Y.transition&&(j.transition=Y.transition)}D.forEach(Y=>{const F=o.getBaseTarget(Y),G=o.getValue(Y);G&&(G.liveStyle=!0),j[Y]=F??null}),E.push({animation:j})}let L=!!E.length;return u&&(S.initial===!1||S.initial===S.animate)&&!o.manuallyAnimateOnMount&&(L=!1),u=!1,L?r(E):Promise.resolve()}function p(v,S){if(l[v].isActive===S)return Promise.resolve();o.variantChildren?.forEach(E=>E.animationState?.setActive(v,S)),l[v].isActive=S;const b=h(v);for(const E in l)l[E].protectedKeys={};return b}return{animateChanges:h,setActive:p,setAnimateFunction:m,getState:()=>l,reset:()=>{l=tA()}}}function J3(o,r){return typeof r=="string"?r!==o:Array.isArray(r)?!wN(r,o):!1}function gs(o=!1){return{isActive:o,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tA(){return{animate:gs(!0),whileInView:gs(),whileHover:gs(),whileTap:gs(),whileDrag:gs(),whileFocus:gs(),exit:gs()}}function nA(o,r){o.min=r.min,o.max=r.max}function va(o,r){nA(o.x,r.x),nA(o.y,r.y)}function aA(o,r){o.translate=r.translate,o.scale=r.scale,o.originPoint=r.originPoint,o.origin=r.origin}const RN=1e-4,I3=1-RN,K3=1+RN,ON=.01,W3=0-ON,ez=0+ON;function mn(o){return o.max-o.min}function tz(o,r,l){return Math.abs(o-r)<=l}function oA(o,r,l,u=.5){o.origin=u,o.originPoint=vt(r.min,r.max,o.origin),o.scale=mn(l)/mn(r),o.translate=vt(l.min,l.max,o.origin)-o.originPoint,(o.scale>=I3&&o.scale<=K3||isNaN(o.scale))&&(o.scale=1),(o.translate>=W3&&o.translate<=ez||isNaN(o.translate))&&(o.translate=0)}function _u(o,r,l,u){oA(o.x,r.x,l.x,u?u.originX:void 0),oA(o.y,r.y,l.y,u?u.originY:void 0)}function rA(o,r,l){o.min=l.min+r.min,o.max=o.min+mn(r)}function nz(o,r,l){rA(o.x,r.x,l.x),rA(o.y,r.y,l.y)}function sA(o,r,l){o.min=r.min-l.min,o.max=o.min+mn(r)}function Bd(o,r,l){sA(o.x,r.x,l.x),sA(o.y,r.y,l.y)}function iA(o,r,l,u,f){return o-=r,o=Ld(o,1/l,u),f!==void 0&&(o=Ld(o,1/f,u)),o}function az(o,r=0,l=1,u=.5,f,m=o,h=o){if(Ia.test(r)&&(r=parseFloat(r),r=vt(h.min,h.max,r/100)-h.min),typeof r!="number")return;let p=vt(m.min,m.max,u);o===m&&(p-=r),o.min=iA(o.min,r,l,p,f),o.max=iA(o.max,r,l,p,f)}function lA(o,r,[l,u,f],m,h){az(o,r[l],r[u],r[f],r.scale,m,h)}const oz=["x","scaleX","originX"],rz=["y","scaleY","originY"];function uA(o,r,l,u){lA(o.x,r,oz,l?l.x:void 0,u?u.x:void 0),lA(o.y,r,rz,l?l.y:void 0,u?u.y:void 0)}function cA(o){return o.translate===0&&o.scale===1}function CN(o){return cA(o.x)&&cA(o.y)}function fA(o,r){return o.min===r.min&&o.max===r.max}function sz(o,r){return fA(o.x,r.x)&&fA(o.y,r.y)}function dA(o,r){return Math.round(o.min)===Math.round(r.min)&&Math.round(o.max)===Math.round(r.max)}function MN(o,r){return dA(o.x,r.x)&&dA(o.y,r.y)}function hA(o){return mn(o.x)/mn(o.y)}function mA(o,r){return o.translate===r.translate&&o.scale===r.scale&&o.originPoint===r.originPoint}function Ja(o){return[o("x"),o("y")]}function iz(o,r,l){let u="";const f=o.x.translate/r.x,m=o.y.translate/r.y,h=l?.z||0;if((f||m||h)&&(u=`translate3d(${f}px, ${m}px, ${h}px) `),(r.x!==1||r.y!==1)&&(u+=`scale(${1/r.x}, ${1/r.y}) `),l){const{transformPerspective:S,rotate:b,rotateX:E,rotateY:D,skewX:C,skewY:R}=l;S&&(u=`perspective(${S}px) ${u}`),b&&(u+=`rotate(${b}deg) `),E&&(u+=`rotateX(${E}deg) `),D&&(u+=`rotateY(${D}deg) `),C&&(u+=`skewX(${C}deg) `),R&&(u+=`skewY(${R}deg) `)}const p=o.x.scale*r.x,v=o.y.scale*r.y;return(p!==1||v!==1)&&(u+=`scale(${p}, ${v})`),u||"none"}const UN=["TopLeft","TopRight","BottomLeft","BottomRight"],lz=UN.length,pA=o=>typeof o=="string"?parseFloat(o):o,yA=o=>typeof o=="number"||fe.test(o);function uz(o,r,l,u,f,m){f?(o.opacity=vt(0,l.opacity??1,cz(u)),o.opacityExit=vt(r.opacity??1,0,fz(u))):m&&(o.opacity=vt(r.opacity??1,l.opacity??1,u));for(let h=0;h<lz;h++){const p=`border${UN[h]}Radius`;let v=gA(r,p),S=gA(l,p);if(v===void 0&&S===void 0)continue;v||(v=0),S||(S=0),v===0||S===0||yA(v)===yA(S)?(o[p]=Math.max(vt(pA(v),pA(S),u),0),(Ia.test(S)||Ia.test(v))&&(o[p]+="%")):o[p]=S}(r.rotate||l.rotate)&&(o.rotate=vt(r.rotate||0,l.rotate||0,u))}function gA(o,r){return o[r]!==void 0?o[r]:o.borderRadius}const cz=_N(0,.5,TT),fz=_N(.5,.95,oa);function _N(o,r,l){return u=>u<o?0:u>r?1:l(ju(o,r,u))}function dz(o,r,l){const u=tn(o)?o:Hi(o);return u.start(sv("",u,r,l)),u.animation}function Bu(o,r,l,u={passive:!0}){return o.addEventListener(r,l,u),()=>o.removeEventListener(r,l)}const hz=(o,r)=>o.depth-r.depth;class mz{constructor(){this.children=[],this.isDirty=!1}add(r){Gg(this.children,r),this.isDirty=!0}remove(r){_d(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(hz),this.isDirty=!1,this.children.forEach(r)}}function pz(o,r){const l=hn.now(),u=({timestamp:f})=>{const m=f-l;m>=r&&(Ar(u),o(m-r))};return lt.setup(u,!0),()=>Ar(u)}function wd(o){return tn(o)?o.get():o}class yz{constructor(){this.members=[]}add(r){Gg(this.members,r);for(let l=this.members.length-1;l>=0;l--){const u=this.members[l];if(u===r||u===this.lead||u===this.prevLead)continue;const f=u.instance;f&&f.isConnected===!1&&u.isPresent!==!1&&!u.snapshot&&_d(this.members,u)}r.scheduleRender()}remove(r){if(_d(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(r){const l=this.members.findIndex(f=>r===f);if(l===0)return!1;let u;for(let f=l;f>=0;f--){const m=this.members[f],h=m.instance;if(m.isPresent!==!1&&(!h||h.isConnected!==!1)){u=m;break}}return u?(this.promote(u),!0):!1}promote(r,l){const u=this.lead;if(r!==u&&(this.prevLead=u,this.lead=r,r.show(),u)){u.instance&&u.scheduleRender(),r.scheduleRender();const f=u.options.layoutDependency,m=r.options.layoutDependency;if(!(f!==void 0&&m!==void 0&&f===m)){const v=u.instance;v&&v.isConnected===!1&&!u.snapshot||(r.resumeFrom=u,l&&(r.resumeFrom.preserveOpacity=!0),u.snapshot&&(r.snapshot=u.snapshot,r.snapshot.latestValues=u.animationValues||u.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0))}const{crossfade:p}=r.options;p===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:l,resumingFrom:u}=r;l.onExitComplete&&l.onExitComplete(),u&&u.options.onExitComplete&&u.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Rd={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Zy=["","X","Y","Z"],gz=1e3;let vz=0;function Fy(o,r,l,u){const{latestValues:f}=r;f[o]&&(l[o]=f[o],r.setStaticValue(o,0),u&&(u[o]=0))}function zN(o){if(o.hasCheckedOptimisedAppear=!0,o.root===o)return;const{visualElement:r}=o.options;if(!r)return;const l=eN(r);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:f,layoutId:m}=o.options;window.MotionCancelOptimisedAnimation(l,"transform",lt,!(f||m))}const{parent:u}=o;u&&!u.hasCheckedOptimisedAppear&&zN(u)}function jN({attachResizeListener:o,defaultParent:r,measureScroll:l,checkIsScrollRoot:u,resetTransform:f}){return class{constructor(h={},p=r?.()){this.id=vz++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Dz),this.nodes.forEach(Tz),this.nodes.forEach(Nz),this.nodes.forEach(xz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let v=0;v<this.path.length;v++)this.path[v].shouldResetTransform=!0;this.root===this&&(this.nodes=new mz)}addEventListener(h,p){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new Xg),this.eventHandlers.get(h).add(p)}notifyListeners(h,...p){const v=this.eventHandlers.get(h);v&&v.notify(...p)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=dv(h)&&!S3(h),this.instance=h;const{layoutId:p,layout:v,visualElement:S}=this.options;if(S&&!S.current&&S.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(v||p)&&(this.isLayoutDirty=!0),o){let b,E=0;const D=()=>this.root.updateBlockedByResize=!1;lt.read(()=>{E=window.innerWidth}),o(h,()=>{const C=window.innerWidth;C!==E&&(E=C,this.root.updateBlockedByResize=!0,b&&b(),b=pz(D,250),Rd.hasAnimatedSinceResize&&(Rd.hasAnimatedSinceResize=!1,this.nodes.forEach(SA)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&S&&(p||v)&&this.addEventListener("didUpdate",({delta:b,hasLayoutChanged:E,hasRelativeLayoutChanged:D,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const R=this.options.transition||S.getDefaultTransition()||Mz,{onLayoutAnimationStart:L,onLayoutAnimationComplete:j}=S.getProps(),Y=!this.targetLayout||!MN(this.targetLayout,C),F=!E&&D;if(this.options.layoutRoot||this.resumeFrom||F||E&&(Y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const G={...rv(R,"layout"),onPlay:L,onComplete:j};(S.shouldReduceMotion||this.options.layoutRoot)&&(G.delay=0,G.type=!1),this.startAnimation(G),this.setAnimationOrigin(b,F)}else E||SA(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ar(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(wz),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&zN(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let b=0;b<this.path.length;b++){const E=this.path[b];E.shouldResetTransform=!0,E.updateScroll("snapshot"),E.options.layoutRoot&&E.willUpdate(!1)}const{layoutId:p,layout:v}=this.options;if(p===void 0&&!v)return;const S=this.getTransformTemplate();this.prevTransformTemplateValue=S?S(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vA);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(bA);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Az),this.nodes.forEach(bz),this.nodes.forEach(Sz)):this.nodes.forEach(bA),this.clearAllSnapshots();const p=hn.now();Qt.delta=Ka(0,1e3/60,p-Qt.timestamp),Qt.timestamp=p,Qt.isProcessing=!0,Hy.update.process(Qt),Hy.preRender.process(Qt),Hy.render.process(Qt),Qt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,cv.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ez),this.sharedNodes.forEach(Rz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,lt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){lt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!mn(this.snapshot.measuredBox.x)&&!mn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let v=0;v<this.path.length;v++)this.path[v].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=jt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(p=!1),p&&this.instance){const v=u(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:v,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:v}}}resetTransform(){if(!f)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!CN(this.projectionDelta),v=this.getTransformTemplate(),S=v?v(this.latestValues,""):void 0,b=S!==this.prevTransformTemplateValue;h&&this.instance&&(p||vs(this.latestValues)||b)&&(f(this.instance,S),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const p=this.measurePageBox();let v=this.removeElementScroll(p);return h&&(v=this.removeTransform(v)),Uz(v),{animationId:this.root.animationId,measuredBox:p,layoutBox:v,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return jt();const p=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(_z))){const{scroll:S}=this.root;S&&(ki(p.x,S.offset.x),ki(p.y,S.offset.y))}return p}removeElementScroll(h){const p=jt();if(va(p,h),this.scroll?.wasRoot)return p;for(let v=0;v<this.path.length;v++){const S=this.path[v],{scroll:b,options:E}=S;S!==this.root&&b&&E.layoutScroll&&(b.wasRoot&&va(p,h),ki(p.x,b.offset.x),ki(p.y,b.offset.y))}return p}applyTransform(h,p=!1){const v=jt();va(v,h);for(let S=0;S<this.path.length;S++){const b=this.path[S];!p&&b.options.layoutScroll&&b.scroll&&b!==b.root&&Li(v,{x:-b.scroll.offset.x,y:-b.scroll.offset.y}),vs(b.latestValues)&&Li(v,b.latestValues)}return vs(this.latestValues)&&Li(v,this.latestValues),v}removeTransform(h){const p=jt();va(p,h);for(let v=0;v<this.path.length;v++){const S=this.path[v];if(!S.instance||!vs(S.latestValues))continue;Rg(S.latestValues)&&S.updateSnapshot();const b=jt(),E=S.measurePageBox();va(b,E),uA(p,S.latestValues,S.snapshot?S.snapshot.layoutBox:void 0,b)}return vs(this.latestValues)&&uA(p,this.latestValues),p}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Qt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const v=!!this.resumingFrom||this!==p;if(!(h||v&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:b,layoutId:E}=this.options;if(!this.layout||!(b||E))return;this.resolvedRelativeTargetAt=Qt.timestamp;const D=this.getClosestProjectingParent();D&&this.linkedParentVersion!==D.layoutVersion&&!D.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(D&&D.layout?this.createRelativeTarget(D,this.layout.layoutBox,D.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=jt(),this.targetWithTransforms=jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nz(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):va(this.target,this.layout.layoutBox),vN(this.target,this.targetDelta)):va(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,D&&!!D.resumingFrom==!!this.resumingFrom&&!D.options.layoutScroll&&D.target&&this.animationProgress!==1?this.createRelativeTarget(D,this.target,D.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Rg(this.parent.latestValues)||gN(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,p,v){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=jt(),this.relativeTargetOrigin=jt(),Bd(this.relativeTargetOrigin,p,v),va(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),p=!!this.resumingFrom||this!==h;let v=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(v=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(v=!1),this.resolvedRelativeTargetAt===Qt.timestamp&&(v=!1),v)return;const{layout:S,layoutId:b}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(S||b))return;va(this.layoutCorrected,this.layout.layoutBox);const E=this.treeScale.x,D=this.treeScale.y;M3(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=jt());const{target:C}=h;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(aA(this.prevProjectionDelta.x,this.projectionDelta.x),aA(this.prevProjectionDelta.y,this.projectionDelta.y)),_u(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==E||this.treeScale.y!==D||!mA(this.projectionDelta.x,this.prevProjectionDelta.x)||!mA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Vi(),this.projectionDelta=Vi(),this.projectionDeltaWithTransform=Vi()}setAnimationOrigin(h,p=!1){const v=this.snapshot,S=v?v.latestValues:{},b={...this.latestValues},E=Vi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const D=jt(),C=v?v.source:void 0,R=this.layout?this.layout.source:void 0,L=C!==R,j=this.getStack(),Y=!j||j.members.length<=1,F=!!(L&&!Y&&this.options.crossfade===!0&&!this.path.some(Cz));this.animationProgress=0;let G;this.mixTargetDelta=W=>{const K=W/1e3;DA(E.x,h.x,K),DA(E.y,h.y,K),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bd(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Oz(this.relativeTarget,this.relativeTargetOrigin,D,K),G&&sz(this.relativeTarget,G)&&(this.isProjectionDirty=!1),G||(G=jt()),va(G,this.relativeTarget)),L&&(this.animationValues=b,uz(b,S,this.latestValues,K,F,Y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ar(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=lt.update(()=>{Rd.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Hi(0)),this.currentAnimation=dz(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),h.onUpdate&&h.onUpdate(p)},onStop:()=>{},onComplete:()=>{h.onComplete&&h.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(gz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:p,target:v,layout:S,latestValues:b}=h;if(!(!p||!v||!S)){if(this!==h&&this.layout&&S&&VN(this.options.animationType,this.layout.layoutBox,S.layoutBox)){v=this.target||jt();const E=mn(this.layout.layoutBox.x);v.x.min=h.target.x.min,v.x.max=v.x.min+E;const D=mn(this.layout.layoutBox.y);v.y.min=h.target.y.min,v.y.max=v.y.min+D}va(p,v),Li(p,b),_u(this.projectionDeltaWithTransform,this.layoutCorrected,p,b)}}registerSharedNode(h,p){this.sharedNodes.has(h)||this.sharedNodes.set(h,new yz),this.sharedNodes.get(h).add(p);const S=p.options.initialPromotionConfig;p.promote({transition:S?S.transition:void 0,preserveFollowOpacity:S&&S.shouldPreserveFollowOpacity?S.shouldPreserveFollowOpacity(p):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){const{layoutId:h}=this.options;return h?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:h}=this.options;return h?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:p,preserveFollowOpacity:v}={}){const S=this.getStack();S&&S.promote(this,v),h&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let p=!1;const{latestValues:v}=h;if((v.z||v.rotate||v.rotateX||v.rotateY||v.rotateZ||v.skewX||v.skewY)&&(p=!0),!p)return;const S={};v.z&&Fy("z",h,S,this.animationValues);for(let b=0;b<Zy.length;b++)Fy(`rotate${Zy[b]}`,h,S,this.animationValues),Fy(`skew${Zy[b]}`,h,S,this.animationValues);h.render();for(const b in S)h.setStaticValue(b,S[b]),this.animationValues&&(this.animationValues[b]=S[b]);h.scheduleRender()}applyProjectionStyles(h,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const v=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=wd(p?.pointerEvents)||"",h.transform=v?v(this.latestValues,""):"none";return}const S=this.getLead();if(!this.projectionDelta||!this.layout||!S.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=wd(p?.pointerEvents)||""),this.hasProjected&&!vs(this.latestValues)&&(h.transform=v?v({},""):"none",this.hasProjected=!1);return}h.visibility="";const b=S.animationValues||S.latestValues;this.applyTransformsToTarget();let E=iz(this.projectionDeltaWithTransform,this.treeScale,b);v&&(E=v(b,E)),h.transform=E;const{x:D,y:C}=this.projectionDelta;h.transformOrigin=`${D.origin*100}% ${C.origin*100}% 0`,S.animationValues?h.opacity=S===this?b.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:b.opacityExit:h.opacity=S===this?b.opacity!==void 0?b.opacity:"":b.opacityExit!==void 0?b.opacityExit:0;for(const R in Cg){if(b[R]===void 0)continue;const{correct:L,applyTo:j,isCSSVariable:Y}=Cg[R],F=E==="none"?b[R]:L(b[R],S);if(j){const G=j.length;for(let W=0;W<G;W++)h[j[W]]=F}else Y?this.options.visualElement.renderState.vars[R]=F:h[R]=F}this.options.layoutId&&(h.pointerEvents=S===this?wd(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(vA),this.root.sharedNodes.clear()}}}function bz(o){o.updateLayout()}function Sz(o){const r=o.resumeFrom?.snapshot||o.snapshot;if(o.isLead()&&o.layout&&r&&o.hasListeners("didUpdate")){const{layoutBox:l,measuredBox:u}=o.layout,{animationType:f}=o.options,m=r.source!==o.layout.source;f==="size"?Ja(b=>{const E=m?r.measuredBox[b]:r.layoutBox[b],D=mn(E);E.min=l[b].min,E.max=E.min+D}):VN(f,r.layoutBox,l)&&Ja(b=>{const E=m?r.measuredBox[b]:r.layoutBox[b],D=mn(l[b]);E.max=E.min+D,o.relativeTarget&&!o.currentAnimation&&(o.isProjectionDirty=!0,o.relativeTarget[b].max=o.relativeTarget[b].min+D)});const h=Vi();_u(h,l,r.layoutBox);const p=Vi();m?_u(p,o.applyTransform(u,!0),r.measuredBox):_u(p,l,r.layoutBox);const v=!CN(h);let S=!1;if(!o.resumeFrom){const b=o.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:E,layout:D}=b;if(E&&D){const C=jt();Bd(C,r.layoutBox,E.layoutBox);const R=jt();Bd(R,l,D.layoutBox),MN(C,R)||(S=!0),b.options.layoutRoot&&(o.relativeTarget=R,o.relativeTargetOrigin=C,o.relativeParent=b)}}}o.notifyListeners("didUpdate",{layout:l,snapshot:r,delta:p,layoutDelta:h,hasLayoutChanged:v,hasRelativeLayoutChanged:S})}else if(o.isLead()){const{onExitComplete:l}=o.options;l&&l()}o.options.transition=void 0}function Dz(o){o.parent&&(o.isProjecting()||(o.isProjectionDirty=o.parent.isProjectionDirty),o.isSharedProjectionDirty||(o.isSharedProjectionDirty=!!(o.isProjectionDirty||o.parent.isProjectionDirty||o.parent.isSharedProjectionDirty)),o.isTransformDirty||(o.isTransformDirty=o.parent.isTransformDirty))}function xz(o){o.isProjectionDirty=o.isSharedProjectionDirty=o.isTransformDirty=!1}function Ez(o){o.clearSnapshot()}function vA(o){o.clearMeasurements()}function bA(o){o.isLayoutDirty=!1}function Az(o){const{visualElement:r}=o.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),o.resetTransform()}function SA(o){o.finishAnimation(),o.targetDelta=o.relativeTarget=o.target=void 0,o.isProjectionDirty=!0}function Tz(o){o.resolveTargetDelta()}function Nz(o){o.calcProjection()}function wz(o){o.resetSkewAndRotation()}function Rz(o){o.removeLeadSnapshot()}function DA(o,r,l){o.translate=vt(r.translate,0,l),o.scale=vt(r.scale,1,l),o.origin=r.origin,o.originPoint=r.originPoint}function xA(o,r,l,u){o.min=vt(r.min,l.min,u),o.max=vt(r.max,l.max,u)}function Oz(o,r,l,u){xA(o.x,r.x,l.x,u),xA(o.y,r.y,l.y,u)}function Cz(o){return o.animationValues&&o.animationValues.opacityExit!==void 0}const Mz={duration:.45,ease:[.4,0,.1,1]},EA=o=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(o),AA=EA("applewebkit/")&&!EA("chrome/")?Math.round:oa;function TA(o){o.min=AA(o.min),o.max=AA(o.max)}function Uz(o){TA(o.x),TA(o.y)}function VN(o,r,l){return o==="position"||o==="preserve-aspect"&&!tz(hA(r),hA(l),.2)}function _z(o){return o!==o.root&&o.scroll?.wasRoot}const zz=jN({attachResizeListener:(o,r)=>Bu(o,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jy={current:void 0},kN=jN({measureScroll:o=>({x:o.scrollLeft,y:o.scrollTop}),defaultParent:()=>{if(!Jy.current){const o=new zz({});o.mount(window),o.setOptions({layoutScroll:!0}),Jy.current=o}return Jy.current},resetTransform:(o,r)=>{o.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:o=>window.getComputedStyle(o).position==="fixed"}),gv=J.createContext({transformPagePoint:o=>o,isStatic:!1,reducedMotion:"never"});function NA(o,r){if(typeof o=="function")return o(r);o!=null&&(o.current=r)}function jz(...o){return r=>{let l=!1;const u=o.map(f=>{const m=NA(f,r);return!l&&typeof m=="function"&&(l=!0),m});if(l)return()=>{for(let f=0;f<u.length;f++){const m=u[f];typeof m=="function"?m():NA(o[f],null)}}}}function Vz(...o){return J.useCallback(jz(...o),o)}class kz extends J.Component{getSnapshotBeforeUpdate(r){const l=this.props.childRef.current;if(l&&r.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const u=l.offsetParent,f=Ng(u)&&u.offsetWidth||0,m=Ng(u)&&u.offsetHeight||0,h=this.props.sizeRef.current;h.height=l.offsetHeight||0,h.width=l.offsetWidth||0,h.top=l.offsetTop,h.left=l.offsetLeft,h.right=f-h.width-h.left,h.bottom=m-h.height-h.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Lz({children:o,isPresent:r,anchorX:l,anchorY:u,root:f,pop:m}){const h=J.useId(),p=J.useRef(null),v=J.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:S}=J.useContext(gv),b=o.props?.ref??o?.ref,E=Vz(p,b);return J.useInsertionEffect(()=>{const{width:D,height:C,top:R,left:L,right:j,bottom:Y}=v.current;if(r||m===!1||!p.current||!D||!C)return;const F=l==="left"?`left: ${L}`:`right: ${j}`,G=u==="bottom"?`bottom: ${Y}`:`top: ${R}`;p.current.dataset.motionPopId=h;const W=document.createElement("style");S&&(W.nonce=S);const K=f??document.head;return K.appendChild(W),W.sheet&&W.sheet.insertRule(`
|
|
241
|
+
[data-motion-pop-id="${h}"] {
|
|
242
|
+
position: absolute !important;
|
|
243
|
+
width: ${D}px !important;
|
|
244
|
+
height: ${C}px !important;
|
|
245
|
+
${F}px !important;
|
|
246
|
+
${G}px !important;
|
|
247
|
+
}
|
|
248
|
+
`),()=>{K.contains(W)&&K.removeChild(W)}},[r]),wo.jsx(kz,{isPresent:r,childRef:p,sizeRef:v,pop:m,children:m===!1?o:J.cloneElement(o,{ref:E})})}const Bz=({children:o,initial:r,isPresent:l,onExitComplete:u,custom:f,presenceAffectsLayout:m,mode:h,anchorX:p,anchorY:v,root:S})=>{const b=Pg(Hz),E=J.useId();let D=!0,C=J.useMemo(()=>(D=!1,{id:E,initial:r,isPresent:l,custom:f,onExitComplete:R=>{b.set(R,!0);for(const L of b.values())if(!L)return;u&&u()},register:R=>(b.set(R,!1),()=>b.delete(R))}),[l,b,u]);return m&&D&&(C={...C}),J.useMemo(()=>{b.forEach((R,L)=>b.set(L,!1))},[l]),J.useEffect(()=>{!l&&!b.size&&u&&u()},[l]),o=wo.jsx(Lz,{pop:h==="popLayout",isPresent:l,anchorX:p,anchorY:v,root:S,children:o}),wo.jsx(Yd.Provider,{value:C,children:o})};function Hz(){return new Map}function LN(o=!0){const r=J.useContext(Yd);if(r===null)return[!0,null];const{isPresent:l,onExitComplete:u,register:f}=r,m=J.useId();J.useEffect(()=>{if(o)return f(m)},[o]);const h=J.useCallback(()=>o&&u&&u(m),[m,u,o]);return!l&&u?[!1,h]:[!0]}const yd=o=>o.key||"";function wA(o){const r=[];return J.Children.forEach(o,l=>{J.isValidElement(l)&&r.push(l)}),r}const Er=({children:o,custom:r,initial:l=!0,onExitComplete:u,presenceAffectsLayout:f=!0,mode:m="sync",propagate:h=!1,anchorX:p="left",anchorY:v="top",root:S})=>{const[b,E]=LN(h),D=J.useMemo(()=>wA(o),[o]),C=h&&!b?[]:D.map(yd),R=J.useRef(!0),L=J.useRef(D),j=Pg(()=>new Map),Y=J.useRef(new Set),[F,G]=J.useState(D),[W,K]=J.useState(D);mT(()=>{R.current=!1,L.current=D;for(let ee=0;ee<W.length;ee++){const ce=yd(W[ee]);C.includes(ce)?(j.delete(ce),Y.current.delete(ce)):j.get(ce)!==!0&&j.set(ce,!1)}},[W,C.length,C.join("-")]);const De=[];if(D!==F){let ee=[...D];for(let ce=0;ce<W.length;ce++){const q=W[ce],ue=yd(q);C.includes(ue)||(ee.splice(ce,0,q),De.push(q))}return m==="wait"&&De.length&&(ee=De),K(wA(ee)),G(D),null}m==="wait"&&W.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:be}=J.useContext(Yg);return wo.jsx(wo.Fragment,{children:W.map(ee=>{const ce=yd(ee),q=h&&!b?!1:D===W||C.includes(ce),ue=()=>{if(Y.current.has(ce))return;if(Y.current.add(ce),j.has(ce))j.set(ce,!0);else return;let Z=!0;j.forEach(pe=>{pe||(Z=!1)}),Z&&(be?.(),K(L.current),h&&E?.(),u&&u())};return wo.jsx(Bz,{isPresent:q,initial:!R.current||l?void 0:!1,custom:r,presenceAffectsLayout:f,mode:m,root:S,onExitComplete:q?void 0:ue,anchorX:p,anchorY:v,children:ee},ce)})})},BN=J.createContext({strict:!1}),RA={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let OA=!1;function qz(){if(OA)return;const o={};for(const r in RA)o[r]={isEnabled:l=>RA[r].some(u=>!!l[u])};mN(o),OA=!0}function HN(){return qz(),w3()}function Yz(o){const r=HN();for(const l in o)r[l]={...r[l],...o[l]};mN(r)}const Pz=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Hd(o){return o.startsWith("while")||o.startsWith("drag")&&o!=="draggable"||o.startsWith("layout")||o.startsWith("onTap")||o.startsWith("onPan")||o.startsWith("onLayout")||Pz.has(o)}let qN=o=>!Hd(o);function Gz(o){typeof o=="function"&&(qN=r=>r.startsWith("on")?!Hd(r):o(r))}try{Gz(require("@emotion/is-prop-valid").default)}catch{}function $z(o,r,l){const u={};for(const f in o)f==="values"&&typeof o.values=="object"||(qN(f)||l===!0&&Hd(f)||!r&&!Hd(f)||o.draggable&&f.startsWith("onDrag"))&&(u[f]=o[f]);return u}const $d=J.createContext({});function Xz(o,r){if(Gd(o)){const{initial:l,animate:u}=o;return{initial:l===!1||Lu(l)?l:void 0,animate:Lu(u)?u:void 0}}return o.inherit!==!1?r:{}}function Qz(o){const{initial:r,animate:l}=Xz(o,J.useContext($d));return J.useMemo(()=>({initial:r,animate:l}),[CA(r),CA(l)])}function CA(o){return Array.isArray(o)?o.join(" "):o}const vv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function YN(o,r,l){for(const u in r)!tn(r[u])&&!DN(u,l)&&(o[u]=r[u])}function Zz({transformTemplate:o},r){return J.useMemo(()=>{const l=vv();return pv(l,r,o),Object.assign({},l.vars,l.style)},[r])}function Fz(o,r){const l=o.style||{},u={};return YN(u,l,o),Object.assign(u,Zz(o,r)),u}function Jz(o,r){const l={},u=Fz(o,r);return o.drag&&o.dragListener!==!1&&(l.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=o.drag===!0?"none":`pan-${o.drag==="x"?"y":"x"}`),o.tabIndex===void 0&&(o.onTap||o.onTapStart||o.whileTap)&&(l.tabIndex=0),l.style=u,l}const PN=()=>({...vv(),attrs:{}});function Iz(o,r,l,u){const f=J.useMemo(()=>{const m=PN();return xN(m,r,AN(u),o.transformTemplate,o.style),{...m.attrs,style:{...m.style}}},[r]);if(o.style){const m={};YN(m,o.style,o),f.style={...m,...f.style}}return f}const Kz=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function bv(o){return typeof o!="string"||o.includes("-")?!1:!!(Kz.indexOf(o)>-1||/[A-Z]/u.test(o))}function Wz(o,r,l,{latestValues:u},f,m=!1,h){const v=(h??bv(o)?Iz:Jz)(r,u,f,o),S=$z(r,typeof o=="string",m),b=o!==J.Fragment?{...S,...v,ref:l}:{},{children:E}=r,D=J.useMemo(()=>tn(E)?E.get():E,[E]);return J.createElement(o,{...b,children:D})}function ej({scrapeMotionValuesFromProps:o,createRenderState:r},l,u,f){return{latestValues:tj(l,u,f,o),renderState:r()}}function tj(o,r,l,u){const f={},m=u(o,{});for(const D in m)f[D]=wd(m[D]);let{initial:h,animate:p}=o;const v=Gd(o),S=dN(o);r&&S&&!v&&o.inherit!==!1&&(h===void 0&&(h=r.initial),p===void 0&&(p=r.animate));let b=l?l.initial===!1:!1;b=b||h===!1;const E=b?p:h;if(E&&typeof E!="boolean"&&!Pd(E)){const D=Array.isArray(E)?E:[E];for(let C=0;C<D.length;C++){const R=iv(o,D[C]);if(R){const{transitionEnd:L,transition:j,...Y}=R;for(const F in Y){let G=Y[F];if(Array.isArray(G)){const W=b?G.length-1:0;G=G[W]}G!==null&&(f[F]=G)}for(const F in L)f[F]=L[F]}}}return f}const GN=o=>(r,l)=>{const u=J.useContext($d),f=J.useContext(Yd),m=()=>ej(o,r,u,f);return l?m():Pg(m)},nj=GN({scrapeMotionValuesFromProps:yv,createRenderState:vv}),aj=GN({scrapeMotionValuesFromProps:TN,createRenderState:PN}),oj=Symbol.for("motionComponentSymbol");function rj(o,r,l){const u=J.useRef(l);J.useInsertionEffect(()=>{u.current=l});const f=J.useRef(null);return J.useCallback(m=>{m&&o.onMount?.(m),r&&(m?r.mount(m):r.unmount());const h=u.current;if(typeof h=="function")if(m){const p=h(m);typeof p=="function"&&(f.current=p)}else f.current?(f.current(),f.current=null):h(m);else h&&(h.current=m)},[r])}const $N=J.createContext({});function Ui(o){return o&&typeof o=="object"&&Object.prototype.hasOwnProperty.call(o,"current")}function sj(o,r,l,u,f,m){const{visualElement:h}=J.useContext($d),p=J.useContext(BN),v=J.useContext(Yd),S=J.useContext(gv),b=S.reducedMotion,E=S.skipAnimations,D=J.useRef(null),C=J.useRef(!1);u=u||p.renderer,!D.current&&u&&(D.current=u(o,{visualState:r,parent:h,props:l,presenceContext:v,blockInitialAnimation:v?v.initial===!1:!1,reducedMotionConfig:b,skipAnimations:E,isSVG:m}),C.current&&D.current&&(D.current.manuallyAnimateOnMount=!0));const R=D.current,L=J.useContext($N);R&&!R.projection&&f&&(R.type==="html"||R.type==="svg")&&ij(D.current,l,f,L);const j=J.useRef(!1);J.useInsertionEffect(()=>{R&&j.current&&R.update(l,v)});const Y=l[WT],F=J.useRef(!!Y&&!window.MotionHandoffIsComplete?.(Y)&&window.MotionHasOptimisedAnimation?.(Y));return mT(()=>{C.current=!0,R&&(j.current=!0,window.MotionIsMounted=!0,R.updateFeatures(),R.scheduleRenderMicrotask(),F.current&&R.animationState&&R.animationState.animateChanges())}),J.useEffect(()=>{R&&(!F.current&&R.animationState&&R.animationState.animateChanges(),F.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(Y)}),F.current=!1),R.enteringChildren=void 0)}),R}function ij(o,r,l,u){const{layoutId:f,layout:m,drag:h,dragConstraints:p,layoutScroll:v,layoutRoot:S,layoutCrossfade:b}=r;o.projection=new l(o.latestValues,r["data-framer-portal-id"]?void 0:XN(o.parent)),o.projection.setOptions({layoutId:f,layout:m,alwaysMeasureLayout:!!h||p&&Ui(p),visualElement:o,animationType:typeof m=="string"?m:"both",initialPromotionConfig:u,crossfade:b,layoutScroll:v,layoutRoot:S})}function XN(o){if(o)return o.options.allowProjection!==!1?o.projection:XN(o.parent)}function Iy(o,{forwardMotionProps:r=!1,type:l}={},u,f){u&&Yz(u);const m=l?l==="svg":bv(o),h=m?aj:nj;function p(S,b){let E;const D={...J.useContext(gv),...S,layoutId:lj(S)},{isStatic:C}=D,R=Qz(S),L=h(S,C);if(!C&&hT){uj(D,u);const j=cj(D);E=j.MeasureLayout,R.visualElement=sj(o,L,D,f,j.ProjectionNode,m)}return wo.jsxs($d.Provider,{value:R,children:[E&&R.visualElement?wo.jsx(E,{visualElement:R.visualElement,...D}):null,Wz(o,S,rj(L,R.visualElement,b),L,C,r,m)]})}p.displayName=`motion.${typeof o=="string"?o:`create(${o.displayName??o.name??""})`}`;const v=J.forwardRef(p);return v[oj]=o,v}function lj({layoutId:o}){const r=J.useContext(Yg).id;return r&&o!==void 0?r+"-"+o:o}function uj(o,r){const l=J.useContext(BN).strict;if(r&&l){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";o.ignoreStrict?Yi(!1,u,"lazy-strict-mode"):Ro(!1,u,"lazy-strict-mode")}}function cj(o){const r=HN(),{drag:l,layout:u}=r;if(!l&&!u)return{};const f={...l,...u};return{MeasureLayout:l?.isEnabled(o)||u?.isEnabled(o)?f.MeasureLayout:void 0,ProjectionNode:f.ProjectionNode}}function fj(o,r){if(typeof Proxy>"u")return Iy;const l=new Map,u=(m,h)=>Iy(m,h,o,r),f=(m,h)=>(Qg(!1,"motion() is deprecated. Use motion.create() instead."),u(m,h));return new Proxy(f,{get:(m,h)=>h==="create"?u:(l.has(h)||l.set(h,Iy(h,void 0,o,r)),l.get(h))})}const dj=(o,r)=>r.isSVG??bv(o)?new G3(r):new L3(r,{allowProjection:o!==J.Fragment});class hj extends Nr{constructor(r){super(r),r.animationState||(r.animationState=F3(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Pd(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:l}=this.node.prevProps||{};r!==l&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let mj=0;class pj extends Nr{constructor(){super(...arguments),this.id=mj++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:l}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===u)return;const f=this.node.animationState.setActive("exit",!r);l&&!r&&f.then(()=>{l(this.id)})}mount(){const{register:r,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const yj={animation:{Feature:hj},exit:{Feature:pj}};function Gu(o){return{point:{x:o.pageX,y:o.pageY}}}const gj=o=>r=>fv(r)&&o(r,Gu(r));function zu(o,r,l,u){return Bu(o,r,gj(l),u)}const QN=({current:o})=>o?o.ownerDocument.defaultView:null,MA=(o,r)=>Math.abs(o-r);function vj(o,r){const l=MA(o.x,r.x),u=MA(o.y,r.y);return Math.sqrt(l**2+u**2)}const UA=new Set(["auto","scroll"]);class ZN{constructor(r,l,{transformPagePoint:u,contextWindow:f=window,dragSnapToOrigin:m=!1,distanceThreshold:h=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=Wy(this.lastMoveEventInfo,this.history),R=this.startEvent!==null,L=vj(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!R&&!L)return;const{point:j}=C,{timestamp:Y}=Qt;this.history.push({...j,timestamp:Y});const{onStart:F,onMove:G}=this.handlers;R||(F&&F(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),G&&G(this.lastMoveEvent,C)},this.handlePointerMove=(C,R)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=Ky(R,this.transformPagePoint),lt.update(this.updatePoint,!0)},this.handlePointerUp=(C,R)=>{this.end();const{onEnd:L,onSessionEnd:j,resumeAnimation:Y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const F=Wy(C.type==="pointercancel"?this.lastMoveEventInfo:Ky(R,this.transformPagePoint),this.history);this.startEvent&&L&&L(C,F),j&&j(C,F)},!fv(r))return;this.dragSnapToOrigin=m,this.handlers=l,this.transformPagePoint=u,this.distanceThreshold=h,this.contextWindow=f||window;const v=Gu(r),S=Ky(v,this.transformPagePoint),{point:b}=S,{timestamp:E}=Qt;this.history=[{...b,timestamp:E}];const{onSessionStart:D}=l;D&&D(r,Wy(S,this.history)),this.removeListeners=qu(zu(this.contextWindow,"pointermove",this.handlePointerMove),zu(this.contextWindow,"pointerup",this.handlePointerUp),zu(this.contextWindow,"pointercancel",this.handlePointerUp)),p&&this.startScrollTracking(p)}startScrollTracking(r){let l=r.parentElement;for(;l;){const u=getComputedStyle(l);(UA.has(u.overflowX)||UA.has(u.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const l=this.scrollPositions.get(r);if(!l)return;const u=r===window,f=u?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},m={x:f.x-l.x,y:f.y-l.y};m.x===0&&m.y===0||(u?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=m.x,this.lastMoveEventInfo.point.y+=m.y):this.history.length>0&&(this.history[0].x-=m.x,this.history[0].y-=m.y),this.scrollPositions.set(r,f),lt.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ar(this.updatePoint)}}function Ky(o,r){return r?{point:r(o.point)}:o}function _A(o,r){return{x:o.x-r.x,y:o.y-r.y}}function Wy({point:o},r){return{point:o,delta:_A(o,FN(r)),offset:_A(o,bj(r)),velocity:Sj(r,.1)}}function bj(o){return o[0]}function FN(o){return o[o.length-1]}function Sj(o,r){if(o.length<2)return{x:0,y:0};let l=o.length-1,u=null;const f=FN(o);for(;l>=0&&(u=o[l],!(f.timestamp-u.timestamp>ra(r)));)l--;if(!u)return{x:0,y:0};u===o[0]&&o.length>2&&f.timestamp-u.timestamp>ra(r)*2&&(u=o[1]);const m=aa(f.timestamp-u.timestamp);if(m===0)return{x:0,y:0};const h={x:(f.x-u.x)/m,y:(f.y-u.y)/m};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function Dj(o,{min:r,max:l},u){return r!==void 0&&o<r?o=u?vt(r,o,u.min):Math.max(o,r):l!==void 0&&o>l&&(o=u?vt(l,o,u.max):Math.min(o,l)),o}function zA(o,r,l){return{min:r!==void 0?o.min+r:void 0,max:l!==void 0?o.max+l-(o.max-o.min):void 0}}function xj(o,{top:r,left:l,bottom:u,right:f}){return{x:zA(o.x,l,f),y:zA(o.y,r,u)}}function jA(o,r){let l=r.min-o.min,u=r.max-o.max;return r.max-r.min<o.max-o.min&&([l,u]=[u,l]),{min:l,max:u}}function Ej(o,r){return{x:jA(o.x,r.x),y:jA(o.y,r.y)}}function Aj(o,r){let l=.5;const u=mn(o),f=mn(r);return f>u?l=ju(r.min,r.max-u,o.min):u>f&&(l=ju(o.min,o.max-f,r.min)),Ka(0,1,l)}function Tj(o,r){const l={};return r.min!==void 0&&(l.min=r.min-o.min),r.max!==void 0&&(l.max=r.max-o.min),l}const Mg=.35;function Nj(o=Mg){return o===!1?o=0:o===!0&&(o=Mg),{x:VA(o,"left","right"),y:VA(o,"top","bottom")}}function VA(o,r,l){return{min:kA(o,r),max:kA(o,l)}}function kA(o,r){return typeof o=="number"?o:o[r]||0}const wj=new WeakMap;class Rj{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=jt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:l=!1,distanceThreshold:u}={}){const{presenceContext:f}=this.visualElement;if(f&&f.isPresent===!1)return;const m=E=>{l&&this.snapToCursor(Gu(E).point),this.stopAnimation()},h=(E,D)=>{const{drag:C,dragPropagation:R,onDragStart:L}=this.getProps();if(C&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=a3(C),!this.openDragLock))return;this.latestPointerEvent=E,this.latestPanInfo=D,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ja(Y=>{let F=this.getAxisMotionValue(Y).get()||0;if(Ia.test(F)){const{projection:G}=this.visualElement;if(G&&G.layout){const W=G.layout.layoutBox[Y];W&&(F=mn(W)*(parseFloat(F)/100))}}this.originPoint[Y]=F}),L&<.update(()=>L(E,D),!1,!0),Eg(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},p=(E,D)=>{this.latestPointerEvent=E,this.latestPanInfo=D;const{dragPropagation:C,dragDirectionLock:R,onDirectionLock:L,onDrag:j}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:Y}=D;if(R&&this.currentDirection===null){this.currentDirection=Cj(Y),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",D.point,Y),this.updateAxis("y",D.point,Y),this.visualElement.render(),j&<.update(()=>j(E,D),!1,!0)},v=(E,D)=>{this.latestPointerEvent=E,this.latestPanInfo=D,this.stop(E,D),this.latestPointerEvent=null,this.latestPanInfo=null},S=()=>{const{dragSnapToOrigin:E}=this.getProps();(E||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:b}=this.getProps();this.panSession=new ZN(r,{onSessionStart:m,onStart:h,onMove:p,onSessionEnd:v,resumeAnimation:S},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:b,distanceThreshold:u,contextWindow:QN(this.visualElement),element:this.visualElement.current})}stop(r,l){const u=r||this.latestPointerEvent,f=l||this.latestPanInfo,m=this.isDragging;if(this.cancel(),!m||!f||!u)return;const{velocity:h}=f;this.startAnimation(h);const{onDragEnd:p}=this.getProps();p&<.postRender(()=>p(u,f))}cancel(){this.isDragging=!1;const{projection:r,animationState:l}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(r,l,u){const{drag:f}=this.getProps();if(!u||!gd(r,f,this.currentDirection))return;const m=this.getAxisMotionValue(r);let h=this.originPoint[r]+u[r];this.constraints&&this.constraints[r]&&(h=Dj(h,this.constraints[r],this.elastic[r])),m.set(h)}resolveConstraints(){const{dragConstraints:r,dragElastic:l}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,f=this.constraints;r&&Ui(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&u?this.constraints=xj(u.layoutBox,r):this.constraints=!1,this.elastic=Nj(l),f!==this.constraints&&!Ui(r)&&u&&this.constraints&&!this.hasMutatedConstraints&&Ja(m=>{this.constraints!==!1&&this.getAxisMotionValue(m)&&(this.constraints[m]=Tj(u.layoutBox[m],this.constraints[m]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:l}=this.getProps();if(!r||!Ui(r))return!1;const u=r.current;Ro(u!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:f}=this.visualElement;if(!f||!f.layout)return!1;const m=U3(u,f.root,this.visualElement.getTransformPagePoint());let h=Ej(f.layout.layoutBox,m);if(l){const p=l(O3(h));this.hasMutatedConstraints=!!p,p&&(h=yN(p))}return h}startAnimation(r){const{drag:l,dragMomentum:u,dragElastic:f,dragTransition:m,dragSnapToOrigin:h,onDragTransitionEnd:p}=this.getProps(),v=this.constraints||{},S=Ja(b=>{if(!gd(b,l,this.currentDirection))return;let E=v&&v[b]||{};h&&(E={min:0,max:0});const D=f?200:1e6,C=f?40:1e7,R={type:"inertia",velocity:u?r[b]:0,bounceStiffness:D,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...m,...E};return this.startAxisValueAnimation(b,R)});return Promise.all(S).then(p)}startAxisValueAnimation(r,l){const u=this.getAxisMotionValue(r);return Eg(this.visualElement,r),u.start(sv(r,u,0,l,this.visualElement,!1))}stopAnimation(){Ja(r=>this.getAxisMotionValue(r).stop())}getAxisMotionValue(r){const l=`_drag${r.toUpperCase()}`,u=this.visualElement.getProps(),f=u[l];return f||this.visualElement.getValue(r,(u.initial?u.initial[r]:void 0)||0)}snapToCursor(r){Ja(l=>{const{drag:u}=this.getProps();if(!gd(l,u,this.currentDirection))return;const{projection:f}=this.visualElement,m=this.getAxisMotionValue(l);if(f&&f.layout){const{min:h,max:p}=f.layout.layoutBox[l],v=m.get()||0;m.set(r[l]-vt(h,p,.5)+v)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:l}=this.getProps(),{projection:u}=this.visualElement;if(!Ui(l)||!u||!this.constraints)return;this.stopAnimation();const f={x:0,y:0};Ja(h=>{const p=this.getAxisMotionValue(h);if(p&&this.constraints!==!1){const v=p.get();f[h]=Aj({min:v,max:v},this.constraints[h])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ja(h=>{if(!gd(h,r,null))return;const p=this.getAxisMotionValue(h),{min:v,max:S}=this.constraints[h];p.set(vt(v,S,f[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;wj.set(this.visualElement,this);const r=this.visualElement.current,l=zu(r,"pointerdown",S=>{const{drag:b,dragListener:E=!0}=this.getProps(),D=S.target,C=D!==r&&u3(D);b&&E&&!C&&this.start(S)});let u;const f=()=>{const{dragConstraints:S}=this.getProps();Ui(S)&&S.current&&(this.constraints=this.resolveRefConstraints(),u||(u=Oj(r,S.current,()=>this.scalePositionWithinConstraints())))},{projection:m}=this.visualElement,h=m.addEventListener("measure",f);m&&!m.layout&&(m.root&&m.root.updateScroll(),m.updateLayout()),lt.read(f);const p=Bu(window,"resize",()=>this.scalePositionWithinConstraints()),v=m.addEventListener("didUpdate",(({delta:S,hasLayoutChanged:b})=>{this.isDragging&&b&&(Ja(E=>{const D=this.getAxisMotionValue(E);D&&(this.originPoint[E]+=S[E].translate,D.set(D.get()+S[E].translate))}),this.visualElement.render())}));return()=>{p(),l(),h(),v&&v(),u&&u()}}getProps(){const r=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:u=!1,dragPropagation:f=!1,dragConstraints:m=!1,dragElastic:h=Mg,dragMomentum:p=!0}=r;return{...r,drag:l,dragDirectionLock:u,dragPropagation:f,dragConstraints:m,dragElastic:h,dragMomentum:p}}}function LA(o){let r=!0;return()=>{if(r){r=!1;return}o()}}function Oj(o,r,l){const u=$E(o,LA(l)),f=$E(r,LA(l));return()=>{u(),f()}}function gd(o,r,l){return(r===!0||r===o)&&(l===null||l===o)}function Cj(o,r=10){let l=null;return Math.abs(o.y)>r?l="y":Math.abs(o.x)>r&&(l="x"),l}class Mj extends Nr{constructor(r){super(r),this.removeGroupControls=oa,this.removeListeners=oa,this.controls=new Rj(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||oa}update(){const{dragControls:r}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};r!==l&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const eg=o=>(r,l)=>{o&<.update(()=>o(r,l),!1,!0)};class Uj extends Nr{constructor(){super(...arguments),this.removePointerDownListener=oa}onPointerDown(r){this.session=new ZN(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:QN(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:l,onPan:u,onPanEnd:f}=this.node.getProps();return{onSessionStart:eg(r),onStart:eg(l),onMove:eg(u),onEnd:(m,h)=>{delete this.session,f&<.postRender(()=>f(m,h))}}}mount(){this.removePointerDownListener=zu(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tg=!1;class _j extends J.Component{componentDidMount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:u,layoutId:f}=this.props,{projection:m}=r;m&&(l.group&&l.group.add(m),u&&u.register&&f&&u.register(m),tg&&m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Rd.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:l,visualElement:u,drag:f,isPresent:m}=this.props,{projection:h}=u;return h&&(h.isPresent=m,r.layoutDependency!==l&&h.setOptions({...h.options,layoutDependency:l}),tg=!0,f||r.layoutDependency!==l||l===void 0||r.isPresent!==m?h.willUpdate():this.safeToRemove(),r.isPresent!==m&&(m?h.promote():h.relegate()||lt.postRender(()=>{const p=h.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),cv.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:l,switchLayoutGroup:u}=this.props,{projection:f}=r;tg=!0,f&&(f.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(f),u&&u.deregister&&u.deregister(f))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function JN(o){const[r,l]=LN(),u=J.useContext(Yg);return wo.jsx(_j,{...o,layoutGroup:u,switchLayoutGroup:J.useContext($N),isPresent:r,safeToRemove:l})}const zj={pan:{Feature:Uj},drag:{Feature:Mj,ProjectionNode:kN,MeasureLayout:JN}};function BA(o,r,l){const{props:u}=o;o.animationState&&u.whileHover&&o.animationState.setActive("whileHover",l==="Start");const f="onHover"+l,m=u[f];m&<.postRender(()=>m(r,Gu(r)))}class jj extends Nr{mount(){const{current:r}=this.node;r&&(this.unmount=r3(r,(l,u)=>(BA(this.node,u,"Start"),f=>BA(this.node,f,"End"))))}unmount(){}}class Vj extends Nr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=qu(Bu(this.node.current,"focus",()=>this.onFocus()),Bu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function HA(o,r,l){const{props:u}=o;if(o.current instanceof HTMLButtonElement&&o.current.disabled)return;o.animationState&&u.whileTap&&o.animationState.setActive("whileTap",l==="Start");const f="onTap"+(l==="End"?"":l),m=u[f];m&<.postRender(()=>m(r,Gu(r)))}class kj extends Nr{mount(){const{current:r}=this.node;if(!r)return;const{globalTapTarget:l,propagate:u}=this.node.props;this.unmount=f3(r,(f,m)=>(HA(this.node,m,"Start"),(h,{success:p})=>HA(this.node,h,p?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:u?.tap===!1})}unmount(){}}const Ug=new WeakMap,ng=new WeakMap,Lj=o=>{const r=Ug.get(o.target);r&&r(o)},Bj=o=>{o.forEach(Lj)};function Hj({root:o,...r}){const l=o||document;ng.has(l)||ng.set(l,{});const u=ng.get(l),f=JSON.stringify(r);return u[f]||(u[f]=new IntersectionObserver(Bj,{root:o,...r})),u[f]}function qj(o,r,l){const u=Hj(r);return Ug.set(o,l),u.observe(o),()=>{Ug.delete(o),u.unobserve(o)}}const Yj={some:0,all:1};class Pj extends Nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:l,margin:u,amount:f="some",once:m}=r,h={root:l?l.current:void 0,rootMargin:u,threshold:typeof f=="number"?f:Yj[f]},p=v=>{const{isIntersecting:S}=v;if(this.isInView===S||(this.isInView=S,m&&!S&&this.hasEnteredView))return;S&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",S);const{onViewportEnter:b,onViewportLeave:E}=this.node.getProps(),D=S?b:E;D&&D(v)};return qj(this.node.current,h,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:l}=this.node;["amount","margin","root"].some(Gj(r,l))&&this.startObserver()}unmount(){}}function Gj({viewport:o={}},{viewport:r={}}={}){return l=>o[l]!==r[l]}const $j={inView:{Feature:Pj},tap:{Feature:kj},focus:{Feature:Vj},hover:{Feature:jj}},Xj={layout:{ProjectionNode:kN,MeasureLayout:JN}},Qj={...yj,...$j,...zj,...Xj},pn=fj(Qj,dj);function IN(o,r){return function(){return o.apply(r,arguments)}}const{toString:Zj}=Object.prototype,{getPrototypeOf:Sv}=Object,{iterator:Xd,toStringTag:KN}=Symbol,Qd=(o=>r=>{const l=Zj.call(r);return o[l]||(o[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Sa=o=>(o=o.toLowerCase(),r=>Qd(r)===o),Zd=o=>r=>typeof r===o,{isArray:Xi}=Array,qi=Zd("undefined");function $u(o){return o!==null&&!qi(o)&&o.constructor!==null&&!qi(o.constructor)&&En(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const WN=Sa("ArrayBuffer");function Fj(o){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(o):r=o&&o.buffer&&WN(o.buffer),r}const Jj=Zd("string"),En=Zd("function"),ew=Zd("number"),Xu=o=>o!==null&&typeof o=="object",Ij=o=>o===!0||o===!1,Od=o=>{if(Qd(o)!=="object")return!1;const r=Sv(o);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(KN in o)&&!(Xd in o)},Kj=o=>{if(!Xu(o)||$u(o))return!1;try{return Object.keys(o).length===0&&Object.getPrototypeOf(o)===Object.prototype}catch{return!1}},Wj=Sa("Date"),eV=Sa("File"),tV=Sa("Blob"),nV=Sa("FileList"),aV=o=>Xu(o)&&En(o.pipe),oV=o=>{let r;return o&&(typeof FormData=="function"&&o instanceof FormData||En(o.append)&&((r=Qd(o))==="formdata"||r==="object"&&En(o.toString)&&o.toString()==="[object FormData]"))},rV=Sa("URLSearchParams"),[sV,iV,lV,uV]=["ReadableStream","Request","Response","Headers"].map(Sa),cV=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qu(o,r,{allOwnKeys:l=!1}={}){if(o===null||typeof o>"u")return;let u,f;if(typeof o!="object"&&(o=[o]),Xi(o))for(u=0,f=o.length;u<f;u++)r.call(null,o[u],u,o);else{if($u(o))return;const m=l?Object.getOwnPropertyNames(o):Object.keys(o),h=m.length;let p;for(u=0;u<h;u++)p=m[u],r.call(null,o[p],p,o)}}function tw(o,r){if($u(o))return null;r=r.toLowerCase();const l=Object.keys(o);let u=l.length,f;for(;u-- >0;)if(f=l[u],r===f.toLowerCase())return f;return null}const Ds=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,nw=o=>!qi(o)&&o!==Ds;function _g(){const{caseless:o,skipUndefined:r}=nw(this)&&this||{},l={},u=(f,m)=>{if(m==="__proto__"||m==="constructor"||m==="prototype")return;const h=o&&tw(l,m)||m;Od(l[h])&&Od(f)?l[h]=_g(l[h],f):Od(f)?l[h]=_g({},f):Xi(f)?l[h]=f.slice():(!r||!qi(f))&&(l[h]=f)};for(let f=0,m=arguments.length;f<m;f++)arguments[f]&&Qu(arguments[f],u);return l}const fV=(o,r,l,{allOwnKeys:u}={})=>(Qu(r,(f,m)=>{l&&En(f)?Object.defineProperty(o,m,{value:IN(f,l),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(o,m,{value:f,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:u}),o),dV=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),hV=(o,r,l,u)=>{o.prototype=Object.create(r.prototype,u),Object.defineProperty(o.prototype,"constructor",{value:o,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(o,"super",{value:r.prototype}),l&&Object.assign(o.prototype,l)},mV=(o,r,l,u)=>{let f,m,h;const p={};if(r=r||{},o==null)return r;do{for(f=Object.getOwnPropertyNames(o),m=f.length;m-- >0;)h=f[m],(!u||u(h,o,r))&&!p[h]&&(r[h]=o[h],p[h]=!0);o=l!==!1&&Sv(o)}while(o&&(!l||l(o,r))&&o!==Object.prototype);return r},pV=(o,r,l)=>{o=String(o),(l===void 0||l>o.length)&&(l=o.length),l-=r.length;const u=o.indexOf(r,l);return u!==-1&&u===l},yV=o=>{if(!o)return null;if(Xi(o))return o;let r=o.length;if(!ew(r))return null;const l=new Array(r);for(;r-- >0;)l[r]=o[r];return l},gV=(o=>r=>o&&r instanceof o)(typeof Uint8Array<"u"&&Sv(Uint8Array)),vV=(o,r)=>{const u=(o&&o[Xd]).call(o);let f;for(;(f=u.next())&&!f.done;){const m=f.value;r.call(o,m[0],m[1])}},bV=(o,r)=>{let l;const u=[];for(;(l=o.exec(r))!==null;)u.push(l);return u},SV=Sa("HTMLFormElement"),DV=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,u,f){return u.toUpperCase()+f}),qA=(({hasOwnProperty:o})=>(r,l)=>o.call(r,l))(Object.prototype),xV=Sa("RegExp"),aw=(o,r)=>{const l=Object.getOwnPropertyDescriptors(o),u={};Qu(l,(f,m)=>{let h;(h=r(f,m,o))!==!1&&(u[m]=h||f)}),Object.defineProperties(o,u)},EV=o=>{aw(o,(r,l)=>{if(En(o)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const u=o[l];if(En(u)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},AV=(o,r)=>{const l={},u=f=>{f.forEach(m=>{l[m]=!0})};return Xi(o)?u(o):u(String(o).split(r)),l},TV=()=>{},NV=(o,r)=>o!=null&&Number.isFinite(o=+o)?o:r;function wV(o){return!!(o&&En(o.append)&&o[KN]==="FormData"&&o[Xd])}const RV=o=>{const r=new Array(10),l=(u,f)=>{if(Xu(u)){if(r.indexOf(u)>=0)return;if($u(u))return u;if(!("toJSON"in u)){r[f]=u;const m=Xi(u)?[]:{};return Qu(u,(h,p)=>{const v=l(h,f+1);!qi(v)&&(m[p]=v)}),r[f]=void 0,m}}return u};return l(o,0)},OV=Sa("AsyncFunction"),CV=o=>o&&(Xu(o)||En(o))&&En(o.then)&&En(o.catch),ow=((o,r)=>o?setImmediate:r?((l,u)=>(Ds.addEventListener("message",({source:f,data:m})=>{f===Ds&&m===l&&u.length&&u.shift()()},!1),f=>{u.push(f),Ds.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",En(Ds.postMessage)),MV=typeof queueMicrotask<"u"?queueMicrotask.bind(Ds):typeof process<"u"&&process.nextTick||ow,UV=o=>o!=null&&En(o[Xd]),H={isArray:Xi,isArrayBuffer:WN,isBuffer:$u,isFormData:oV,isArrayBufferView:Fj,isString:Jj,isNumber:ew,isBoolean:Ij,isObject:Xu,isPlainObject:Od,isEmptyObject:Kj,isReadableStream:sV,isRequest:iV,isResponse:lV,isHeaders:uV,isUndefined:qi,isDate:Wj,isFile:eV,isBlob:tV,isRegExp:xV,isFunction:En,isStream:aV,isURLSearchParams:rV,isTypedArray:gV,isFileList:nV,forEach:Qu,merge:_g,extend:fV,trim:cV,stripBOM:dV,inherits:hV,toFlatObject:mV,kindOf:Qd,kindOfTest:Sa,endsWith:pV,toArray:yV,forEachEntry:vV,matchAll:bV,isHTMLForm:SV,hasOwnProperty:qA,hasOwnProp:qA,reduceDescriptors:aw,freezeMethods:EV,toObjectSet:AV,toCamelCase:DV,noop:TV,toFiniteNumber:NV,findKey:tw,global:Ds,isContextDefined:nw,isSpecCompliantForm:wV,toJSONObject:RV,isAsyncFn:OV,isThenable:CV,setImmediate:ow,asap:MV,isIterable:UV};let Ne=class rw extends Error{static from(r,l,u,f,m,h){const p=new rw(r.message,l||r.code,u,f,m);return p.cause=r,p.name=r.name,h&&Object.assign(p,h),p}constructor(r,l,u,f,m){super(r),this.name="AxiosError",this.isAxiosError=!0,l&&(this.code=l),u&&(this.config=u),f&&(this.request=f),m&&(this.response=m,this.status=m.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.status}}};Ne.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ne.ERR_BAD_OPTION="ERR_BAD_OPTION";Ne.ECONNABORTED="ECONNABORTED";Ne.ETIMEDOUT="ETIMEDOUT";Ne.ERR_NETWORK="ERR_NETWORK";Ne.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ne.ERR_DEPRECATED="ERR_DEPRECATED";Ne.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ne.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ne.ERR_CANCELED="ERR_CANCELED";Ne.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ne.ERR_INVALID_URL="ERR_INVALID_URL";const _V=null;function zg(o){return H.isPlainObject(o)||H.isArray(o)}function sw(o){return H.endsWith(o,"[]")?o.slice(0,-2):o}function YA(o,r,l){return o?o.concat(r).map(function(f,m){return f=sw(f),!l&&m?"["+f+"]":f}).join(l?".":""):r}function zV(o){return H.isArray(o)&&!o.some(zg)}const jV=H.toFlatObject(H,{},null,function(r){return/^is[A-Z]/.test(r)});function Fd(o,r,l){if(!H.isObject(o))throw new TypeError("target must be an object");r=r||new FormData,l=H.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,j){return!H.isUndefined(j[L])});const u=l.metaTokens,f=l.visitor||b,m=l.dots,h=l.indexes,v=(l.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(r);if(!H.isFunction(f))throw new TypeError("visitor must be a function");function S(R){if(R===null)return"";if(H.isDate(R))return R.toISOString();if(H.isBoolean(R))return R.toString();if(!v&&H.isBlob(R))throw new Ne("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(R)||H.isTypedArray(R)?v&&typeof Blob=="function"?new Blob([R]):Buffer.from(R):R}function b(R,L,j){let Y=R;if(R&&!j&&typeof R=="object"){if(H.endsWith(L,"{}"))L=u?L:L.slice(0,-2),R=JSON.stringify(R);else if(H.isArray(R)&&zV(R)||(H.isFileList(R)||H.endsWith(L,"[]"))&&(Y=H.toArray(R)))return L=sw(L),Y.forEach(function(G,W){!(H.isUndefined(G)||G===null)&&r.append(h===!0?YA([L],W,m):h===null?L:L+"[]",S(G))}),!1}return zg(R)?!0:(r.append(YA(j,L,m),S(R)),!1)}const E=[],D=Object.assign(jV,{defaultVisitor:b,convertValue:S,isVisitable:zg});function C(R,L){if(!H.isUndefined(R)){if(E.indexOf(R)!==-1)throw Error("Circular reference detected in "+L.join("."));E.push(R),H.forEach(R,function(Y,F){(!(H.isUndefined(Y)||Y===null)&&f.call(r,Y,H.isString(F)?F.trim():F,L,D))===!0&&C(Y,L?L.concat(F):[F])}),E.pop()}}if(!H.isObject(o))throw new TypeError("data must be an object");return C(o),r}function PA(o){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(u){return r[u]})}function Dv(o,r){this._pairs=[],o&&Fd(o,this,r)}const iw=Dv.prototype;iw.append=function(r,l){this._pairs.push([r,l])};iw.toString=function(r){const l=r?function(u){return r.call(this,u,PA)}:PA;return this._pairs.map(function(f){return l(f[0])+"="+l(f[1])},"").join("&")};function VV(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function lw(o,r,l){if(!r)return o;const u=l&&l.encode||VV,f=H.isFunction(l)?{serialize:l}:l,m=f&&f.serialize;let h;if(m?h=m(r,f):h=H.isURLSearchParams(r)?r.toString():new Dv(r,f).toString(u),h){const p=o.indexOf("#");p!==-1&&(o=o.slice(0,p)),o+=(o.indexOf("?")===-1?"?":"&")+h}return o}class GA{constructor(){this.handlers=[]}use(r,l,u){return this.handlers.push({fulfilled:r,rejected:l,synchronous:u?u.synchronous:!1,runWhen:u?u.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){H.forEach(this.handlers,function(u){u!==null&&r(u)})}}const xv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},kV=typeof URLSearchParams<"u"?URLSearchParams:Dv,LV=typeof FormData<"u"?FormData:null,BV=typeof Blob<"u"?Blob:null,HV={isBrowser:!0,classes:{URLSearchParams:kV,FormData:LV,Blob:BV},protocols:["http","https","file","blob","url","data"]},Ev=typeof window<"u"&&typeof document<"u",jg=typeof navigator=="object"&&navigator||void 0,qV=Ev&&(!jg||["ReactNative","NativeScript","NS"].indexOf(jg.product)<0),YV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PV=Ev&&window.location.href||"http://localhost",GV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ev,hasStandardBrowserEnv:qV,hasStandardBrowserWebWorkerEnv:YV,navigator:jg,origin:PV},Symbol.toStringTag,{value:"Module"})),en={...GV,...HV};function $V(o,r){return Fd(o,new en.classes.URLSearchParams,{visitor:function(l,u,f,m){return en.isNode&&H.isBuffer(l)?(this.append(u,l.toString("base64")),!1):m.defaultVisitor.apply(this,arguments)},...r})}function XV(o){return H.matchAll(/\w+|\[(\w*)]/g,o).map(r=>r[0]==="[]"?"":r[1]||r[0])}function QV(o){const r={},l=Object.keys(o);let u;const f=l.length;let m;for(u=0;u<f;u++)m=l[u],r[m]=o[m];return r}function uw(o){function r(l,u,f,m){let h=l[m++];if(h==="__proto__")return!0;const p=Number.isFinite(+h),v=m>=l.length;return h=!h&&H.isArray(f)?f.length:h,v?(H.hasOwnProp(f,h)?f[h]=[f[h],u]:f[h]=u,!p):((!f[h]||!H.isObject(f[h]))&&(f[h]=[]),r(l,u,f[h],m)&&H.isArray(f[h])&&(f[h]=QV(f[h])),!p)}if(H.isFormData(o)&&H.isFunction(o.entries)){const l={};return H.forEachEntry(o,(u,f)=>{r(XV(u),f,l,0)}),l}return null}function ZV(o,r,l){if(H.isString(o))try{return(r||JSON.parse)(o),H.trim(o)}catch(u){if(u.name!=="SyntaxError")throw u}return(l||JSON.stringify)(o)}const Zu={transitional:xv,adapter:["xhr","http","fetch"],transformRequest:[function(r,l){const u=l.getContentType()||"",f=u.indexOf("application/json")>-1,m=H.isObject(r);if(m&&H.isHTMLForm(r)&&(r=new FormData(r)),H.isFormData(r))return f?JSON.stringify(uw(r)):r;if(H.isArrayBuffer(r)||H.isBuffer(r)||H.isStream(r)||H.isFile(r)||H.isBlob(r)||H.isReadableStream(r))return r;if(H.isArrayBufferView(r))return r.buffer;if(H.isURLSearchParams(r))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let p;if(m){if(u.indexOf("application/x-www-form-urlencoded")>-1)return $V(r,this.formSerializer).toString();if((p=H.isFileList(r))||u.indexOf("multipart/form-data")>-1){const v=this.env&&this.env.FormData;return Fd(p?{"files[]":r}:r,v&&new v,this.formSerializer)}}return m||f?(l.setContentType("application/json",!1),ZV(r)):r}],transformResponse:[function(r){const l=this.transitional||Zu.transitional,u=l&&l.forcedJSONParsing,f=this.responseType==="json";if(H.isResponse(r)||H.isReadableStream(r))return r;if(r&&H.isString(r)&&(u&&!this.responseType||f)){const h=!(l&&l.silentJSONParsing)&&f;try{return JSON.parse(r,this.parseReviver)}catch(p){if(h)throw p.name==="SyntaxError"?Ne.from(p,Ne.ERR_BAD_RESPONSE,this,null,this.response):p}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:en.classes.FormData,Blob:en.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],o=>{Zu.headers[o]={}});const FV=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),JV=o=>{const r={};let l,u,f;return o&&o.split(`
|
|
249
|
+
`).forEach(function(h){f=h.indexOf(":"),l=h.substring(0,f).trim().toLowerCase(),u=h.substring(f+1).trim(),!(!l||r[l]&&FV[l])&&(l==="set-cookie"?r[l]?r[l].push(u):r[l]=[u]:r[l]=r[l]?r[l]+", "+u:u)}),r},$A=Symbol("internals");function Ou(o){return o&&String(o).trim().toLowerCase()}function Cd(o){return o===!1||o==null?o:H.isArray(o)?o.map(Cd):String(o)}function IV(o){const r=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let u;for(;u=l.exec(o);)r[u[1]]=u[2];return r}const KV=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function ag(o,r,l,u,f){if(H.isFunction(u))return u.call(this,r,l);if(f&&(r=l),!!H.isString(r)){if(H.isString(u))return r.indexOf(u)!==-1;if(H.isRegExp(u))return u.test(r)}}function WV(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,l,u)=>l.toUpperCase()+u)}function e4(o,r){const l=H.toCamelCase(" "+r);["get","set","has"].forEach(u=>{Object.defineProperty(o,u+l,{value:function(f,m,h){return this[u].call(this,r,f,m,h)},configurable:!0})})}let An=class{constructor(r){r&&this.set(r)}set(r,l,u){const f=this;function m(p,v,S){const b=Ou(v);if(!b)throw new Error("header name must be a non-empty string");const E=H.findKey(f,b);(!E||f[E]===void 0||S===!0||S===void 0&&f[E]!==!1)&&(f[E||v]=Cd(p))}const h=(p,v)=>H.forEach(p,(S,b)=>m(S,b,v));if(H.isPlainObject(r)||r instanceof this.constructor)h(r,l);else if(H.isString(r)&&(r=r.trim())&&!KV(r))h(JV(r),l);else if(H.isObject(r)&&H.isIterable(r)){let p={},v,S;for(const b of r){if(!H.isArray(b))throw TypeError("Object iterator must return a key-value pair");p[S=b[0]]=(v=p[S])?H.isArray(v)?[...v,b[1]]:[v,b[1]]:b[1]}h(p,l)}else r!=null&&m(l,r,u);return this}get(r,l){if(r=Ou(r),r){const u=H.findKey(this,r);if(u){const f=this[u];if(!l)return f;if(l===!0)return IV(f);if(H.isFunction(l))return l.call(this,f,u);if(H.isRegExp(l))return l.exec(f);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,l){if(r=Ou(r),r){const u=H.findKey(this,r);return!!(u&&this[u]!==void 0&&(!l||ag(this,this[u],u,l)))}return!1}delete(r,l){const u=this;let f=!1;function m(h){if(h=Ou(h),h){const p=H.findKey(u,h);p&&(!l||ag(u,u[p],p,l))&&(delete u[p],f=!0)}}return H.isArray(r)?r.forEach(m):m(r),f}clear(r){const l=Object.keys(this);let u=l.length,f=!1;for(;u--;){const m=l[u];(!r||ag(this,this[m],m,r,!0))&&(delete this[m],f=!0)}return f}normalize(r){const l=this,u={};return H.forEach(this,(f,m)=>{const h=H.findKey(u,m);if(h){l[h]=Cd(f),delete l[m];return}const p=r?WV(m):String(m).trim();p!==m&&delete l[m],l[p]=Cd(f),u[p]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const l=Object.create(null);return H.forEach(this,(u,f)=>{u!=null&&u!==!1&&(l[f]=r&&H.isArray(u)?u.join(", "):u)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,l])=>r+": "+l).join(`
|
|
250
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...l){const u=new this(r);return l.forEach(f=>u.set(f)),u}static accessor(r){const u=(this[$A]=this[$A]={accessors:{}}).accessors,f=this.prototype;function m(h){const p=Ou(h);u[p]||(e4(f,h),u[p]=!0)}return H.isArray(r)?r.forEach(m):m(r),this}};An.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.reduceDescriptors(An.prototype,({value:o},r)=>{let l=r[0].toUpperCase()+r.slice(1);return{get:()=>o,set(u){this[l]=u}}});H.freezeMethods(An);function og(o,r){const l=this||Zu,u=r||l,f=An.from(u.headers);let m=u.data;return H.forEach(o,function(p){m=p.call(l,m,f.normalize(),r?r.status:void 0)}),f.normalize(),m}function cw(o){return!!(o&&o.__CANCEL__)}let Fu=class extends Ne{constructor(r,l,u){super(r??"canceled",Ne.ERR_CANCELED,l,u),this.name="CanceledError",this.__CANCEL__=!0}};function fw(o,r,l){const u=l.config.validateStatus;!l.status||!u||u(l.status)?o(l):r(new Ne("Request failed with status code "+l.status,[Ne.ERR_BAD_REQUEST,Ne.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function t4(o){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return r&&r[1]||""}function n4(o,r){o=o||10;const l=new Array(o),u=new Array(o);let f=0,m=0,h;return r=r!==void 0?r:1e3,function(v){const S=Date.now(),b=u[m];h||(h=S),l[f]=v,u[f]=S;let E=m,D=0;for(;E!==f;)D+=l[E++],E=E%o;if(f=(f+1)%o,f===m&&(m=(m+1)%o),S-h<r)return;const C=b&&S-b;return C?Math.round(D*1e3/C):void 0}}function a4(o,r){let l=0,u=1e3/r,f,m;const h=(S,b=Date.now())=>{l=b,f=null,m&&(clearTimeout(m),m=null),o(...S)};return[(...S)=>{const b=Date.now(),E=b-l;E>=u?h(S,b):(f=S,m||(m=setTimeout(()=>{m=null,h(f)},u-E)))},()=>f&&h(f)]}const qd=(o,r,l=3)=>{let u=0;const f=n4(50,250);return a4(m=>{const h=m.loaded,p=m.lengthComputable?m.total:void 0,v=h-u,S=f(v),b=h<=p;u=h;const E={loaded:h,total:p,progress:p?h/p:void 0,bytes:v,rate:S||void 0,estimated:S&&p&&b?(p-h)/S:void 0,event:m,lengthComputable:p!=null,[r?"download":"upload"]:!0};o(E)},l)},XA=(o,r)=>{const l=o!=null;return[u=>r[0]({lengthComputable:l,total:o,loaded:u}),r[1]]},QA=o=>(...r)=>H.asap(()=>o(...r)),o4=en.hasStandardBrowserEnv?((o,r)=>l=>(l=new URL(l,en.origin),o.protocol===l.protocol&&o.host===l.host&&(r||o.port===l.port)))(new URL(en.origin),en.navigator&&/(msie|trident)/i.test(en.navigator.userAgent)):()=>!0,r4=en.hasStandardBrowserEnv?{write(o,r,l,u,f,m,h){if(typeof document>"u")return;const p=[`${o}=${encodeURIComponent(r)}`];H.isNumber(l)&&p.push(`expires=${new Date(l).toUTCString()}`),H.isString(u)&&p.push(`path=${u}`),H.isString(f)&&p.push(`domain=${f}`),m===!0&&p.push("secure"),H.isString(h)&&p.push(`SameSite=${h}`),document.cookie=p.join("; ")},read(o){if(typeof document>"u")return null;const r=document.cookie.match(new RegExp("(?:^|; )"+o+"=([^;]*)"));return r?decodeURIComponent(r[1]):null},remove(o){this.write(o,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function s4(o){return typeof o!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function i4(o,r){return r?o.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):o}function dw(o,r,l){let u=!s4(r);return o&&(u||l==!1)?i4(o,r):r}const ZA=o=>o instanceof An?{...o}:o;function As(o,r){r=r||{};const l={};function u(S,b,E,D){return H.isPlainObject(S)&&H.isPlainObject(b)?H.merge.call({caseless:D},S,b):H.isPlainObject(b)?H.merge({},b):H.isArray(b)?b.slice():b}function f(S,b,E,D){if(H.isUndefined(b)){if(!H.isUndefined(S))return u(void 0,S,E,D)}else return u(S,b,E,D)}function m(S,b){if(!H.isUndefined(b))return u(void 0,b)}function h(S,b){if(H.isUndefined(b)){if(!H.isUndefined(S))return u(void 0,S)}else return u(void 0,b)}function p(S,b,E){if(E in r)return u(S,b);if(E in o)return u(void 0,S)}const v={url:m,method:m,data:m,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,responseEncoding:h,validateStatus:p,headers:(S,b,E)=>f(ZA(S),ZA(b),E,!0)};return H.forEach(Object.keys({...o,...r}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const E=H.hasOwnProp(v,b)?v[b]:f,D=E(o[b],r[b],b);H.isUndefined(D)&&E!==p||(l[b]=D)}),l}const hw=o=>{const r=As({},o);let{data:l,withXSRFToken:u,xsrfHeaderName:f,xsrfCookieName:m,headers:h,auth:p}=r;if(r.headers=h=An.from(h),r.url=lw(dw(r.baseURL,r.url,r.allowAbsoluteUrls),o.params,o.paramsSerializer),p&&h.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),H.isFormData(l)){if(en.hasStandardBrowserEnv||en.hasStandardBrowserWebWorkerEnv)h.setContentType(void 0);else if(H.isFunction(l.getHeaders)){const v=l.getHeaders(),S=["content-type","content-length"];Object.entries(v).forEach(([b,E])=>{S.includes(b.toLowerCase())&&h.set(b,E)})}}if(en.hasStandardBrowserEnv&&(u&&H.isFunction(u)&&(u=u(r)),u||u!==!1&&o4(r.url))){const v=f&&m&&r4.read(m);v&&h.set(f,v)}return r},l4=typeof XMLHttpRequest<"u",u4=l4&&function(o){return new Promise(function(l,u){const f=hw(o);let m=f.data;const h=An.from(f.headers).normalize();let{responseType:p,onUploadProgress:v,onDownloadProgress:S}=f,b,E,D,C,R;function L(){C&&C(),R&&R(),f.cancelToken&&f.cancelToken.unsubscribe(b),f.signal&&f.signal.removeEventListener("abort",b)}let j=new XMLHttpRequest;j.open(f.method.toUpperCase(),f.url,!0),j.timeout=f.timeout;function Y(){if(!j)return;const G=An.from("getAllResponseHeaders"in j&&j.getAllResponseHeaders()),K={data:!p||p==="text"||p==="json"?j.responseText:j.response,status:j.status,statusText:j.statusText,headers:G,config:o,request:j};fw(function(be){l(be),L()},function(be){u(be),L()},K),j=null}"onloadend"in j?j.onloadend=Y:j.onreadystatechange=function(){!j||j.readyState!==4||j.status===0&&!(j.responseURL&&j.responseURL.indexOf("file:")===0)||setTimeout(Y)},j.onabort=function(){j&&(u(new Ne("Request aborted",Ne.ECONNABORTED,o,j)),j=null)},j.onerror=function(W){const K=W&&W.message?W.message:"Network Error",De=new Ne(K,Ne.ERR_NETWORK,o,j);De.event=W||null,u(De),j=null},j.ontimeout=function(){let W=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded";const K=f.transitional||xv;f.timeoutErrorMessage&&(W=f.timeoutErrorMessage),u(new Ne(W,K.clarifyTimeoutError?Ne.ETIMEDOUT:Ne.ECONNABORTED,o,j)),j=null},m===void 0&&h.setContentType(null),"setRequestHeader"in j&&H.forEach(h.toJSON(),function(W,K){j.setRequestHeader(K,W)}),H.isUndefined(f.withCredentials)||(j.withCredentials=!!f.withCredentials),p&&p!=="json"&&(j.responseType=f.responseType),S&&([D,R]=qd(S,!0),j.addEventListener("progress",D)),v&&j.upload&&([E,C]=qd(v),j.upload.addEventListener("progress",E),j.upload.addEventListener("loadend",C)),(f.cancelToken||f.signal)&&(b=G=>{j&&(u(!G||G.type?new Fu(null,o,j):G),j.abort(),j=null)},f.cancelToken&&f.cancelToken.subscribe(b),f.signal&&(f.signal.aborted?b():f.signal.addEventListener("abort",b)));const F=t4(f.url);if(F&&en.protocols.indexOf(F)===-1){u(new Ne("Unsupported protocol "+F+":",Ne.ERR_BAD_REQUEST,o));return}j.send(m||null)})},c4=(o,r)=>{const{length:l}=o=o?o.filter(Boolean):[];if(r||l){let u=new AbortController,f;const m=function(S){if(!f){f=!0,p();const b=S instanceof Error?S:this.reason;u.abort(b instanceof Ne?b:new Fu(b instanceof Error?b.message:b))}};let h=r&&setTimeout(()=>{h=null,m(new Ne(`timeout of ${r}ms exceeded`,Ne.ETIMEDOUT))},r);const p=()=>{o&&(h&&clearTimeout(h),h=null,o.forEach(S=>{S.unsubscribe?S.unsubscribe(m):S.removeEventListener("abort",m)}),o=null)};o.forEach(S=>S.addEventListener("abort",m));const{signal:v}=u;return v.unsubscribe=()=>H.asap(p),v}},f4=function*(o,r){let l=o.byteLength;if(l<r){yield o;return}let u=0,f;for(;u<l;)f=u+r,yield o.slice(u,f),u=f},d4=async function*(o,r){for await(const l of h4(o))yield*f4(l,r)},h4=async function*(o){if(o[Symbol.asyncIterator]){yield*o;return}const r=o.getReader();try{for(;;){const{done:l,value:u}=await r.read();if(l)break;yield u}}finally{await r.cancel()}},FA=(o,r,l,u)=>{const f=d4(o,r);let m=0,h,p=v=>{h||(h=!0,u&&u(v))};return new ReadableStream({async pull(v){try{const{done:S,value:b}=await f.next();if(S){p(),v.close();return}let E=b.byteLength;if(l){let D=m+=E;l(D)}v.enqueue(new Uint8Array(b))}catch(S){throw p(S),S}},cancel(v){return p(v),f.return()}},{highWaterMark:2})},JA=64*1024,{isFunction:vd}=H,m4=(({Request:o,Response:r})=>({Request:o,Response:r}))(H.global),{ReadableStream:IA,TextEncoder:KA}=H.global,WA=(o,...r)=>{try{return!!o(...r)}catch{return!1}},p4=o=>{o=H.merge.call({skipUndefined:!0},m4,o);const{fetch:r,Request:l,Response:u}=o,f=r?vd(r):typeof fetch=="function",m=vd(l),h=vd(u);if(!f)return!1;const p=f&&vd(IA),v=f&&(typeof KA=="function"?(R=>L=>R.encode(L))(new KA):async R=>new Uint8Array(await new l(R).arrayBuffer())),S=m&&p&&WA(()=>{let R=!1;const L=new l(en.origin,{body:new IA,method:"POST",get duplex(){return R=!0,"half"}}).headers.has("Content-Type");return R&&!L}),b=h&&p&&WA(()=>H.isReadableStream(new u("").body)),E={stream:b&&(R=>R.body)};f&&["text","arrayBuffer","blob","formData","stream"].forEach(R=>{!E[R]&&(E[R]=(L,j)=>{let Y=L&&L[R];if(Y)return Y.call(L);throw new Ne(`Response type '${R}' is not supported`,Ne.ERR_NOT_SUPPORT,j)})});const D=async R=>{if(R==null)return 0;if(H.isBlob(R))return R.size;if(H.isSpecCompliantForm(R))return(await new l(en.origin,{method:"POST",body:R}).arrayBuffer()).byteLength;if(H.isArrayBufferView(R)||H.isArrayBuffer(R))return R.byteLength;if(H.isURLSearchParams(R)&&(R=R+""),H.isString(R))return(await v(R)).byteLength},C=async(R,L)=>{const j=H.toFiniteNumber(R.getContentLength());return j??D(L)};return async R=>{let{url:L,method:j,data:Y,signal:F,cancelToken:G,timeout:W,onDownloadProgress:K,onUploadProgress:De,responseType:be,headers:ee,withCredentials:ce="same-origin",fetchOptions:q}=hw(R),ue=r||fetch;be=be?(be+"").toLowerCase():"text";let Z=c4([F,G&&G.toAbortSignal()],W),pe=null;const Ve=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let qe;try{if(De&&S&&j!=="get"&&j!=="head"&&(qe=await C(ee,Y))!==0){let O=new l(L,{method:"POST",body:Y,duplex:"half"}),I;if(H.isFormData(Y)&&(I=O.headers.get("content-type"))&&ee.setContentType(I),O.body){const[ge,le]=XA(qe,qd(QA(De)));Y=FA(O.body,JA,ge,le)}}H.isString(ce)||(ce=ce?"include":"omit");const $=m&&"credentials"in l.prototype,oe={...q,signal:Z,method:j.toUpperCase(),headers:ee.normalize().toJSON(),body:Y,duplex:"half",credentials:$?ce:void 0};pe=m&&new l(L,oe);let se=await(m?ue(pe,q):ue(L,oe));const we=b&&(be==="stream"||be==="response");if(b&&(K||we&&Ve)){const O={};["status","statusText","headers"].forEach(nt=>{O[nt]=se[nt]});const I=H.toFiniteNumber(se.headers.get("content-length")),[ge,le]=K&&XA(I,qd(QA(K),!0))||[];se=new u(FA(se.body,JA,ge,()=>{le&&le(),Ve&&Ve()}),O)}be=be||"text";let Be=await E[H.findKey(E,be)||"text"](se,R);return!we&&Ve&&Ve(),await new Promise((O,I)=>{fw(O,I,{data:Be,headers:An.from(se.headers),status:se.status,statusText:se.statusText,config:R,request:pe})})}catch($){throw Ve&&Ve(),$&&$.name==="TypeError"&&/Load failed|fetch/i.test($.message)?Object.assign(new Ne("Network Error",Ne.ERR_NETWORK,R,pe,$&&$.response),{cause:$.cause||$}):Ne.from($,$&&$.code,R,pe,$&&$.response)}}},y4=new Map,mw=o=>{let r=o&&o.env||{};const{fetch:l,Request:u,Response:f}=r,m=[u,f,l];let h=m.length,p=h,v,S,b=y4;for(;p--;)v=m[p],S=b.get(v),S===void 0&&b.set(v,S=p?new Map:p4(r)),b=S;return S};mw();const Av={http:_V,xhr:u4,fetch:{get:mw}};H.forEach(Av,(o,r)=>{if(o){try{Object.defineProperty(o,"name",{value:r})}catch{}Object.defineProperty(o,"adapterName",{value:r})}});const eT=o=>`- ${o}`,g4=o=>H.isFunction(o)||o===null||o===!1;function v4(o,r){o=H.isArray(o)?o:[o];const{length:l}=o;let u,f;const m={};for(let h=0;h<l;h++){u=o[h];let p;if(f=u,!g4(u)&&(f=Av[(p=String(u)).toLowerCase()],f===void 0))throw new Ne(`Unknown adapter '${p}'`);if(f&&(H.isFunction(f)||(f=f.get(r))))break;m[p||"#"+h]=f}if(!f){const h=Object.entries(m).map(([v,S])=>`adapter ${v} `+(S===!1?"is not supported by the environment":"is not available in the build"));let p=l?h.length>1?`since :
|
|
251
|
+
`+h.map(eT).join(`
|
|
252
|
+
`):" "+eT(h[0]):"as no adapter specified";throw new Ne("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return f}const pw={getAdapter:v4,adapters:Av};function rg(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new Fu(null,o)}function tT(o){return rg(o),o.headers=An.from(o.headers),o.data=og.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),pw.getAdapter(o.adapter||Zu.adapter,o)(o).then(function(u){return rg(o),u.data=og.call(o,o.transformResponse,u),u.headers=An.from(u.headers),u},function(u){return cw(u)||(rg(o),u&&u.response&&(u.response.data=og.call(o,o.transformResponse,u.response),u.response.headers=An.from(u.response.headers))),Promise.reject(u)})}const yw="1.13.5",Jd={};["object","boolean","number","function","string","symbol"].forEach((o,r)=>{Jd[o]=function(u){return typeof u===o||"a"+(r<1?"n ":" ")+o}});const nT={};Jd.transitional=function(r,l,u){function f(m,h){return"[Axios v"+yw+"] Transitional option '"+m+"'"+h+(u?". "+u:"")}return(m,h,p)=>{if(r===!1)throw new Ne(f(h," has been removed"+(l?" in "+l:"")),Ne.ERR_DEPRECATED);return l&&!nT[h]&&(nT[h]=!0,console.warn(f(h," has been deprecated since v"+l+" and will be removed in the near future"))),r?r(m,h,p):!0}};Jd.spelling=function(r){return(l,u)=>(console.warn(`${u} is likely a misspelling of ${r}`),!0)};function b4(o,r,l){if(typeof o!="object")throw new Ne("options must be an object",Ne.ERR_BAD_OPTION_VALUE);const u=Object.keys(o);let f=u.length;for(;f-- >0;){const m=u[f],h=r[m];if(h){const p=o[m],v=p===void 0||h(p,m,o);if(v!==!0)throw new Ne("option "+m+" must be "+v,Ne.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new Ne("Unknown option "+m,Ne.ERR_BAD_OPTION)}}const Md={assertOptions:b4,validators:Jd},na=Md.validators;let Es=class{constructor(r){this.defaults=r||{},this.interceptors={request:new GA,response:new GA}}async request(r,l){try{return await this._request(r,l)}catch(u){if(u instanceof Error){let f={};Error.captureStackTrace?Error.captureStackTrace(f):f=new Error;const m=f.stack?f.stack.replace(/^.+\n/,""):"";try{u.stack?m&&!String(u.stack).endsWith(m.replace(/^.+\n.+\n/,""))&&(u.stack+=`
|
|
253
|
+
`+m):u.stack=m}catch{}}throw u}}_request(r,l){typeof r=="string"?(l=l||{},l.url=r):l=r||{},l=As(this.defaults,l);const{transitional:u,paramsSerializer:f,headers:m}=l;u!==void 0&&Md.assertOptions(u,{silentJSONParsing:na.transitional(na.boolean),forcedJSONParsing:na.transitional(na.boolean),clarifyTimeoutError:na.transitional(na.boolean),legacyInterceptorReqResOrdering:na.transitional(na.boolean)},!1),f!=null&&(H.isFunction(f)?l.paramsSerializer={serialize:f}:Md.assertOptions(f,{encode:na.function,serialize:na.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),Md.assertOptions(l,{baseUrl:na.spelling("baseURL"),withXsrfToken:na.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let h=m&&H.merge(m.common,m[l.method]);m&&H.forEach(["delete","get","head","post","put","patch","common"],R=>{delete m[R]}),l.headers=An.concat(h,m);const p=[];let v=!0;this.interceptors.request.forEach(function(L){if(typeof L.runWhen=="function"&&L.runWhen(l)===!1)return;v=v&&L.synchronous;const j=l.transitional||xv;j&&j.legacyInterceptorReqResOrdering?p.unshift(L.fulfilled,L.rejected):p.push(L.fulfilled,L.rejected)});const S=[];this.interceptors.response.forEach(function(L){S.push(L.fulfilled,L.rejected)});let b,E=0,D;if(!v){const R=[tT.bind(this),void 0];for(R.unshift(...p),R.push(...S),D=R.length,b=Promise.resolve(l);E<D;)b=b.then(R[E++],R[E++]);return b}D=p.length;let C=l;for(;E<D;){const R=p[E++],L=p[E++];try{C=R(C)}catch(j){L.call(this,j);break}}try{b=tT.call(this,C)}catch(R){return Promise.reject(R)}for(E=0,D=S.length;E<D;)b=b.then(S[E++],S[E++]);return b}getUri(r){r=As(this.defaults,r);const l=dw(r.baseURL,r.url,r.allowAbsoluteUrls);return lw(l,r.params,r.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(r){Es.prototype[r]=function(l,u){return this.request(As(u||{},{method:r,url:l,data:(u||{}).data}))}});H.forEach(["post","put","patch"],function(r){function l(u){return function(m,h,p){return this.request(As(p||{},{method:r,headers:u?{"Content-Type":"multipart/form-data"}:{},url:m,data:h}))}}Es.prototype[r]=l(),Es.prototype[r+"Form"]=l(!0)});let S4=class gw{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(m){l=m});const u=this;this.promise.then(f=>{if(!u._listeners)return;let m=u._listeners.length;for(;m-- >0;)u._listeners[m](f);u._listeners=null}),this.promise.then=f=>{let m;const h=new Promise(p=>{u.subscribe(p),m=p}).then(f);return h.cancel=function(){u.unsubscribe(m)},h},r(function(m,h,p){u.reason||(u.reason=new Fu(m,h,p),l(u.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const l=this._listeners.indexOf(r);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const r=new AbortController,l=u=>{r.abort(u)};return this.subscribe(l),r.signal.unsubscribe=()=>this.unsubscribe(l),r.signal}static source(){let r;return{token:new gw(function(f){r=f}),cancel:r}}};function D4(o){return function(l){return o.apply(null,l)}}function x4(o){return H.isObject(o)&&o.isAxiosError===!0}const Vg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Vg).forEach(([o,r])=>{Vg[r]=o});function vw(o){const r=new Es(o),l=IN(Es.prototype.request,r);return H.extend(l,Es.prototype,r,{allOwnKeys:!0}),H.extend(l,r,null,{allOwnKeys:!0}),l.create=function(f){return vw(As(o,f))},l}const mt=vw(Zu);mt.Axios=Es;mt.CanceledError=Fu;mt.CancelToken=S4;mt.isCancel=cw;mt.VERSION=yw;mt.toFormData=Fd;mt.AxiosError=Ne;mt.Cancel=mt.CanceledError;mt.all=function(r){return Promise.all(r)};mt.spread=D4;mt.isAxiosError=x4;mt.mergeConfig=As;mt.AxiosHeaders=An;mt.formToJSON=o=>uw(H.isHTMLForm(o)?new FormData(o):o);mt.getAdapter=pw.getAdapter;mt.HttpStatusCode=Vg;mt.default=mt;const{Axios:B4,AxiosError:H4,CanceledError:q4,isCancel:Y4,CancelToken:P4,VERSION:G4,all:$4,Cancel:X4,isAxiosError:Q4,spread:Z4,toFormData:F4,AxiosHeaders:J4,HttpStatusCode:I4,formToJSON:K4,getAdapter:W4,mergeConfig:ek}=mt,Sr=[{id:"welcome",title:"Welcome to Zora",subtitle:"Your personal AI assistant that actually does things"},{id:"how-it-works",title:"How Zora Works",subtitle:"Three things to know before you start"},{id:"try-it",title:"Try Your First Task",subtitle:"Click one to get started, or type your own"}],E4=[{emoji:"📂",label:"Organize my Downloads",prompt:"List everything in ~/Downloads grouped by file type, and tell me which files are oldest"},{emoji:"📝",label:"Summarize a folder",prompt:"Give me a one-line summary of each item in ~/Projects (or ~/Documents if Projects doesn't exist)"},{emoji:"🔍",label:"Find large files",prompt:"Find the 10 largest files in my home directory and tell me their sizes"},{emoji:"🧠",label:"Teach Zora about me",prompt:"Remember that I prefer concise, direct answers and I'm a non-technical user"},{emoji:"📊",label:"Project status check",prompt:"Check ~/Projects for any git repos and tell me which have uncommitted changes"},{emoji:"🗑️",label:"Clean up suggestions",prompt:"Look at my ~/Downloads and ~/Desktop folders and suggest files I might want to clean up or archive"}],A4=({onComplete:o,onSubmitTask:r})=>{const[l,u]=J.useState(0),f=()=>{l<Sr.length-1&&u(l+1)},m=p=>{r(p),o()},h=()=>{o()};return A.jsxDEV("div",{className:"fixed inset-0 z-40 bg-zora-obsidian/95 flex items-center justify-center p-8",children:A.jsxDEV(pn.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"max-w-2xl w-full",children:[A.jsxDEV("div",{className:"flex justify-center gap-2 mb-8",children:Sr.map((p,v)=>A.jsxDEV("div",{className:`w-2 h-2 rounded-full transition-colors ${v===l?"bg-zora-teal":v<l?"bg-zora-teal/40":"bg-zora-ghost"}`},v,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:89,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:87,columnNumber:9},void 0),A.jsxDEV(Er,{mode:"wait",children:[l===0&&A.jsxDEV(pn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"text-center",children:[A.jsxDEV("div",{className:"w-16 h-16 rounded-2xl bg-zora-teal/20 border border-zora-teal/30 flex items-center justify-center mx-auto mb-6",children:A.jsxDEV(fT,{size:32,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:109,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:108,columnNumber:15},void 0),A.jsxDEV("h1",{className:"text-3xl font-tactical font-bold text-zora-white mb-3",children:Sr[0].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:111,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/70 text-lg mb-2",children:Sr[0].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:114,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-white/40 text-sm max-w-md mx-auto mb-10",children:"Tell Zora what you need in plain English — organize files, summarize documents, automate tasks — and it handles it while you do something else."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:117,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex flex-col items-center gap-3",children:A.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-zora-teal/70",children:[A.jsxDEV(Ud,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:124,columnNumber:19},void 0),A.jsxDEV("span",{children:"No API keys. No surprise bills. Uses your existing subscription."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:125,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:122,columnNumber:15},void 0),A.jsxDEV("button",{onClick:f,className:"mt-8 bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 mx-auto text-sm",children:["Get Started ",A.jsxDEV(bE,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:133,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:129,columnNumber:15},void 0),A.jsxDEV("button",{onClick:h,className:"mt-3 text-white/30 text-xs hover:text-white/50 transition-colors",children:"Skip intro — I know what I'm doing"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:136,columnNumber:15},void 0)]},"welcome",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:101,columnNumber:13},void 0),l===1&&A.jsxDEV(pn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[A.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:Sr[1].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:153,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-8",children:Sr[1].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:156,columnNumber:15},void 0),A.jsxDEV("div",{className:"space-y-4",children:[A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-teal",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-teal/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(KM,{size:20,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:161,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:160,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It takes action, not just talks"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:164,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Unlike chatbots, Zora actually reads your files, runs commands, and creates output. When you say "organize my downloads," it really moves the files.'},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:165,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:163,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:159,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-gold",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-gold/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(Ud,{size:20,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:173,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"You set the boundaries"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:177,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:"Zora only accesses folders you've allowed. Destructive commands are blocked. Every action is logged. You can review everything it did anytime."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:178,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:172,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-cyan",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-cyan/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(uT,{size:20,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:187,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:186,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It remembers and learns"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:190,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Tell Zora your preferences once and it remembers across sessions. "I prefer TypeScript" or "keep answers short" — it adapts to how you work.'},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:191,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:189,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:185,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:158,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex justify-center mt-8",children:A.jsxDEV("button",{onClick:f,className:"bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:["Show Me What It Can Do ",A.jsxDEV(bE,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:204,columnNumber:42},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:200,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:199,columnNumber:15},void 0)]},"how-it-works",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:147,columnNumber:13},void 0),l===2&&A.jsxDEV(pn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[A.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:Sr[2].title},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:218,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-6",children:Sr[2].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:221,columnNumber:15},void 0),A.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:E4.map((p,v)=>A.jsxDEV("button",{onClick:()=>m(p.prompt),className:"text-left p-4 bg-black/40 rounded-xl border border-zora-ghost/30 hover:border-zora-teal/50 hover:bg-black/60 transition-all group",children:[A.jsxDEV("div",{className:"text-2xl mb-2",children:p.emoji},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:230,columnNumber:21},void 0),A.jsxDEV("div",{className:"text-zora-white text-sm font-bold mb-1 group-hover:text-zora-teal transition-colors",children:p.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:231,columnNumber:21},void 0),A.jsxDEV("div",{className:"text-white/30 text-xs line-clamp-2",children:p.prompt},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:234,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:225,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:223,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex justify-center mt-6",children:A.jsxDEV("button",{onClick:h,className:"text-white/40 text-xs hover:text-white/60 transition-colors flex items-center gap-1",children:[A.jsxDEV(xM,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:246,columnNumber:19},void 0)," Skip to dashboard — I'll explore on my own"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:242,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:241,columnNumber:15},void 0)]},"try-it",!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:212,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:81,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:80,columnNumber:5},void 0)},T4=[{icon:cT,label:"Files",color:"text-zora-teal",bgColor:"bg-zora-teal/10",borderColor:"border-zora-teal/30",tasks:[{label:"Organize Downloads",prompt:"List everything in ~/Downloads grouped by file type and suggest how to organize them"},{label:"Find big files",prompt:"Find the 10 largest files in my home directory with their sizes"},{label:"Clean up Desktop",prompt:"List everything on ~/Desktop grouped by age — what can I archive?"}]},{icon:Hg,label:"Summaries",color:"text-zora-gold",bgColor:"bg-zora-gold/10",borderColor:"border-zora-gold/30",tasks:[{label:"Folder overview",prompt:"Give me a one-line summary of each item in ~/Projects"},{label:"README roundup",prompt:"Find all README files in ~/Projects and summarize each one"},{label:"Recent changes",prompt:"What files in ~/Documents were modified in the last 7 days?"}]},{icon:YM,label:"Search",color:"text-zora-cyan",bgColor:"bg-zora-cyan/10",borderColor:"border-zora-cyan/30",tasks:[{label:"Find TODOs",prompt:"Search for TODO comments across all files in ~/Projects and list them"},{label:"Find duplicates",prompt:"Look for files with identical names across ~/Documents and ~/Desktop"},{label:"Search content",prompt:'Find all files containing the word "password" in my home directory'}]},{icon:uT,label:"Memory",color:"text-purple-400",bgColor:"bg-purple-400/10",borderColor:"border-purple-400/30",tasks:[{label:"Set preferences",prompt:"Remember: I prefer concise answers, dark mode, and bullet-point summaries"},{label:"What do you know?",prompt:"Show me everything you remember about me and my preferences"},{label:"Project context",prompt:"Remember: my main project is in ~/Projects/my-app and uses React + TypeScript"}]},{icon:JM,label:"Dev Tools",color:"text-green-400",bgColor:"bg-green-400/10",borderColor:"border-green-400/30",tasks:[{label:"Git status check",prompt:"Check all git repos in ~/Projects and report which have uncommitted changes"},{label:"Dependency audit",prompt:"Check ~/Projects for any package.json files with outdated dependencies"},{label:"Code summary",prompt:"Analyze the file structure of ~/Projects/my-app and describe the architecture"}]},{icon:Lg,label:"Automate",color:"text-rose-400",bgColor:"bg-rose-400/10",borderColor:"border-rose-400/30",tasks:[{label:"Daily standup prep",prompt:"Check my recent git commits across all repos and draft a standup summary"},{label:"Weekly report",prompt:"Summarize what changed in ~/Projects this week — new files, modifications, deletions"},{label:"Backup check",prompt:"List important config files in my home directory that should be backed up"}]}],N4=({onSubmitTask:o})=>{const[r,l]=kg.useState(null);return A.jsxDEV("div",{className:"px-4 py-3",children:[A.jsxDEV("div",{className:"mb-3",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Quick Tasks"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:90,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:89,columnNumber:7},void 0),A.jsxDEV("div",{className:"space-y-1.5",children:T4.map(u=>{const f=u.icon,m=r===u.label;return A.jsxDEV("div",{children:[A.jsxDEV("button",{onClick:()=>l(m?null:u.label),className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-left transition-all ${m?`${u.bgColor} border ${u.borderColor}`:"hover:bg-black/30 border border-transparent"}`,children:[A.jsxDEV(f,{size:14,className:u.color},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:110,columnNumber:17},void 0),A.jsxDEV("span",{className:`text-xs font-bold uppercase ${m?u.color:"text-white/60"}`,children:u.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:111,columnNumber:17},void 0),A.jsxDEV("span",{className:"text-[9px] text-white/20 ml-auto",children:u.tasks.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:114,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:102,columnNumber:15},void 0),A.jsxDEV(Er,{children:m&&A.jsxDEV(pn.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"pl-7 pb-2 space-y-1",children:u.tasks.map((h,p)=>A.jsxDEV("button",{onClick:()=>o(h.prompt),className:"w-full text-left px-3 py-1.5 rounded-md text-[11px] text-white/50 hover:text-zora-white hover:bg-black/30 transition-all",title:h.prompt,children:h.label},p,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:129,columnNumber:23},void 0))},u.label,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:121,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:119,columnNumber:15},void 0)]},u.label,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:101,columnNumber:13},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:95,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:88,columnNumber:5},void 0)},w4={read:Bg,write:Hg,shell:qg,think:Lg,error:dT},aT={read:"text-zora-cyan",write:"text-zora-gold",shell:"text-green-400",think:"text-zora-blue",error:"text-red-400"},R4={read:"Read",write:"Created",shell:"Ran",think:"Thinking",error:"Error"},O4=({steps:o,isRunning:r,taskPrompt:l})=>{const[u,f]=kg.useState(!1);if(o.length===0&&!r)return null;const m=o.filter(S=>S.type==="read").length,h=o.filter(S=>S.type==="write").length,p=o.filter(S=>S.type==="shell").length,v=o.filter(S=>S.type==="error").length;return A.jsxDEV("div",{className:"border-t border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>f(!u),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-3",children:[A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:r?"Task In Progress":"What Just Happened"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:60,columnNumber:11},void 0),r&&A.jsxDEV(pn.div,{animate:{opacity:[1,.3,1]},transition:{duration:1.5,repeat:1/0},className:"w-2 h-2 rounded-full bg-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:64,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:59,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-3",children:[A.jsxDEV("div",{className:"flex items-center gap-2 text-[9px] font-data text-white/40",children:[m>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Bg,{size:10,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:76,columnNumber:17},void 0)," ",m]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:75,columnNumber:15},void 0),h>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Hg,{size:10,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:81,columnNumber:17},void 0)," ",h]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:80,columnNumber:15},void 0),p>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(qg,{size:10,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:86,columnNumber:17},void 0)," ",p]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:85,columnNumber:15},void 0),v>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(dT,{size:10,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:91,columnNumber:17},void 0)," ",v]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:90,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:73,columnNumber:11},void 0),u?A.jsxDEV(Sd,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:96,columnNumber:13},void 0):A.jsxDEV(Dd,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:71,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:55,columnNumber:7},void 0),A.jsxDEV(Er,{children:!u&&A.jsxDEV(pn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:[l&&A.jsxDEV("div",{className:"px-4 pb-2",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 italic truncate",children:['"',l,'"']},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:114,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:113,columnNumber:15},void 0),A.jsxDEV("div",{className:"px-4 pb-3 max-h-40 overflow-y-auto lcars-scrollbar",children:A.jsxDEV("div",{className:"space-y-1",children:[o.map((S,b)=>{const E=w4[S.type];return A.jsxDEV(pn.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:"flex items-start gap-2 text-[10px] font-data",children:[A.jsxDEV(E,{size:12,className:`${aT[S.type]} mt-0.5 flex-shrink-0`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:131,columnNumber:23},void 0),A.jsxDEV("span",{className:`${aT[S.type]} font-bold uppercase w-12 flex-shrink-0`,children:R4[S.type]},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:132,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/50 truncate flex-1",children:S.label},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:135,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/20 flex-shrink-0",children:S.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:138,columnNumber:23},void 0)]},b,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:125,columnNumber:21},void 0)}),r&&A.jsxDEV(pn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"flex items-center gap-2 text-[10px] font-data text-zora-teal",children:[A.jsxDEV(Lg,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{children:"Working..."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:152,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:146,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:121,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:120,columnNumber:13},void 0),!r&&o.length>0&&A.jsxDEV("div",{className:"px-4 pb-3",children:A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data text-green-400/70",children:[A.jsxDEV(lg,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:161,columnNumber:19},void 0),A.jsxDEV("span",{children:["Task complete",m+h+p>0?" — ":"",m>0?`read ${m} file${m>1?"s":""}`:"",m>0&&h>0?", ":"",h>0?`created ${h} file${h>1?"s":""}`:"",(m>0||h>0)&&p>0?", ":"",p>0?`ran ${p} command${p>1?"s":""}`:""]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:162,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:160,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:159,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:106,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:104,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:53,columnNumber:5},void 0)},oT={safe:{label:"Safe",description:"Zora can only look at files — never change or delete anything.",color:"text-green-400"},balanced:{label:"Balanced",description:"Zora can read and write in your work folders. Dangerous commands are blocked.",color:"text-zora-gold"},power:{label:"Power",description:"Broad access for experienced users. Still blocks truly dangerous actions.",color:"text-orange-400"}},C4=()=>{const[o,r]=J.useState(null),[l,u]=J.useState(!0),[f,m]=J.useState(!1),[h,p]=J.useState("folders");J.useEffect(()=>{(async()=>{try{const E=await mt.get("/api/policy");E.data.ok&&r(E.data.policy)}catch{m(!0),r({preset:"balanced",allowedPaths:["~/Projects","~/Documents","~/Desktop"],deniedPaths:["~/.ssh","~/.gnupg","~/.aws","~/.zora/audit"],allowedCommands:["git","ls","cat","grep","find","node","npm","python"],blockedCommands:["sudo","rm -rf","chmod","chown","mkfs","dd"]})}finally{u(!1)}})()},[]);const v=b=>{p(h===b?null:b)};if(l)return A.jsxDEV("div",{className:"px-4 py-6 text-center",children:A.jsxDEV(pn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"text-[10px] font-data text-zora-teal",children:"Loading security settings..."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:69,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:68,columnNumber:7},void 0);if(!o)return A.jsxDEV("div",{className:"px-4 py-4 text-[10px] font-data text-white/40",children:["Unable to load security settings. Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:83,columnNumber:47},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:82,columnNumber:7},void 0);const S=oT[o.preset]||oT.balanced;return A.jsxDEV("div",{className:"space-y-0",children:[f&&A.jsxDEV("div",{className:"px-4 py-2 text-[9px] font-data text-zora-gold/70 bg-zora-gold/5 border-b border-zora-ghost/30",children:["Showing default policy. Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:94,columnNumber:39},void 0)," to verify your actual settings."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:93,columnNumber:9},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:[A.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[A.jsxDEV(Ud,{size:14,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:100,columnNumber:11},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Your Safety Level"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:101,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:99,columnNumber:9},void 0),A.jsxDEV("div",{className:"bg-black/40 rounded-lg p-3 border-l-2 border-zora-gold",children:[A.jsxDEV("div",{className:`text-sm font-bold ${S.color} mb-1`,children:[S.label," Mode"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:106,columnNumber:11},void 0),A.jsxDEV("div",{className:"text-[10px] font-data text-white/50",children:S.description},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:109,columnNumber:11},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mt-2",children:["Change with: ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent init --force"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:113,columnNumber:26},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:105,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:98,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>v("folders"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(cT,{size:12,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:125,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Folders Zora can see"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:126,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:124,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:o.allowedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:131,columnNumber:13},void 0),h==="folders"?A.jsxDEV(Dd,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:133,columnNumber:15},void 0):A.jsxDEV(Sd,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:135,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:120,columnNumber:9},void 0),A.jsxDEV(Er,{children:h==="folders"&&A.jsxDEV(pn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:o.allowedPaths.map((b,E)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(lg,{size:10,className:"text-green-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:150,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/60",children:b},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto",children:o.preset==="safe"?A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Bg,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:155,columnNumber:27},void 0)," read only"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:154,columnNumber:25},void 0):A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(HM,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:159,columnNumber:27},void 0)," read & write"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:158,columnNumber:25},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:152,columnNumber:21},void 0)]},E,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:149,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:147,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:141,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:139,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:119,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>v("denied"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(UM,{size:12,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:178,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Off-limits folders"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:179,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:177,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:o.deniedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:184,columnNumber:13},void 0),h==="denied"?A.jsxDEV(Dd,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:186,columnNumber:15},void 0):A.jsxDEV(Sd,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:188,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:183,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:173,columnNumber:9},void 0),A.jsxDEV(Er,{children:h==="denied"&&A.jsxDEV(pn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:[o.deniedPaths.map((b,E)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(wM,{size:10,className:"text-red-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:203,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/60",children:b},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:204,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto text-[9px]",children:[b.includes(".ssh")&&"SSH keys",b.includes(".gnupg")&&"encryption keys",b.includes(".aws")&&"AWS credentials",b.includes("audit")&&"audit logs"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:205,columnNumber:21},void 0)]},E,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:202,columnNumber:19},void 0)),A.jsxDEV("div",{className:"flex items-start gap-2 mt-2 text-[9px] font-data text-white/25",children:[A.jsxDEV(VM,{size:10,className:"flex-shrink-0 mt-0.5"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:214,columnNumber:19},void 0),A.jsxDEV("span",{children:"These folders are always blocked, regardless of your safety level."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:215,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:213,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:200,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:192,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:172,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>v("commands"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(qg,{size:12,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:230,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Allowed commands"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:231,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:229,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:o.allowedCommands.length},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:236,columnNumber:13},void 0),h==="commands"?A.jsxDEV(Dd,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:238,columnNumber:15},void 0):A.jsxDEV(Sd,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:240,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:235,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:225,columnNumber:9},void 0),A.jsxDEV(Er,{children:h==="commands"&&A.jsxDEV(pn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3",children:[A.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-3",children:o.allowedCommands.map((b,E)=>A.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-green-900/30 rounded text-[9px] font-data text-green-400 border border-green-800/30",children:[A.jsxDEV(lg,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:259,columnNumber:23},void 0)," ",b]},E,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:255,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:253,columnNumber:17},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mb-2 uppercase",children:"Always blocked:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:263,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex flex-wrap gap-1",children:o.blockedCommands.map((b,E)=>A.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-red-900/20 rounded text-[9px] font-data text-red-400/70 border border-red-800/20",children:[A.jsxDEV(bM,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:270,columnNumber:23},void 0)," ",b]},E,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:266,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:264,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:252,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:246,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:244,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:224,columnNumber:7},void 0),A.jsxDEV("div",{className:"px-4 py-3",children:A.jsxDEV("div",{className:"text-[9px] font-data text-white/25 space-y-1",children:[A.jsxDEV("div",{children:"Every action Zora takes is logged and tamper-proof."},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:283,columnNumber:11},void 0),A.jsxDEV("div",{children:["View the full log: ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent audit show"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:285,columnNumber:32},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:284,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:282,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:281,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:91,columnNumber:5},void 0)},M4="v0.9.5",sg=200,rT="zora_onboarding_complete";let bd=0;function sT(o){return o>=1e6?`${(o/1e6).toFixed(1)}M`:o>=1e3?`${(o/1e3).toFixed(1)}K`:String(o)}function ig(o){return o>=.7?"text-green-500":o>=.3?"text-zora-gold":"text-red-500"}function U4(o){return o>=.7?"bg-green-500":o>=.3?"bg-zora-gold":"bg-red-500"}const _4=({msg:o})=>{const r={agent:"bubble bubble-agent",user:"bubble bubble-user",system:"bubble bubble-system","tool-call":"bubble bubble-agent","tool-result":"bubble bubble-agent"}[o.type];return A.jsxDEV(pn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:r,"data-testid":`bubble-${o.type}`,children:[o.type==="tool-call"&&A.jsxDEV("div",{className:"tool-mini mb-1",children:"TOOL_INVOKE"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:82,columnNumber:9},void 0),o.type==="tool-result"&&A.jsxDEV("div",{className:"tool-mini mb-1",children:"TOOL_RESULT"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:85,columnNumber:9},void 0),A.jsxDEV("div",{children:o.content},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:87,columnNumber:7},void 0),A.jsxDEV("div",{className:"text-[9px] opacity-40 mt-1",children:o.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:88,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:74,columnNumber:5},void 0)},z4=()=>{const[o,r]=J.useState([]),[l,u]=J.useState([]),[f,m]=J.useState(""),[h,p]=J.useState("job_active"),[v,S]=J.useState([{id:++bd,type:"system",content:"Zora is ready.",timestamp:new Date}]),b=J.useRef(null),[E,D]=J.useState(()=>{try{return!localStorage.getItem(rT)}catch{return!0}}),[C,R]=J.useState("status"),[L,j]=J.useState([]),[Y,F]=J.useState(!1),[G,W]=J.useState(),K=()=>{D(!1);try{localStorage.setItem(rT,"true")}catch{}},De=async q=>{if(!Y){S(ue=>[...ue,{id:++bd,type:"user",content:q,timestamp:new Date}].slice(-sg)),W(q),F(!0),j([]);try{await mt.post("/api/steer",{jobId:h,message:q,author:"operator",source:"dashboard"})}catch(ue){console.error("Task submission failed",ue),S(Z=>[...Z,{id:++bd,type:"system",content:"Failed to send task. Check that Zora is running.",timestamp:new Date}].slice(-sg)),F(!1)}}};J.useEffect(()=>{b.current?.scrollIntoView({behavior:"smooth"})},[v]),J.useEffect(()=>{const q=async()=>{try{const Z=await mt.get("/api/health");Z.data.ok&&r(Z.data.providers)}catch(Z){console.error("Health check failed",Z)}};q();const ue=setInterval(q,3e4);return()=>clearInterval(ue)},[]),J.useEffect(()=>{const q=async()=>{try{const Z=await mt.get("/api/quota");Z.data.ok&&u(Z.data.providers)}catch(Z){console.error("Quota fetch failed",Z)}};q();const ue=setInterval(q,1e4);return()=>clearInterval(ue)},[]),J.useEffect(()=>{const q=new EventSource("/api/events");return q.onmessage=ue=>{try{const Z=JSON.parse(ue.data);if(Z.type==="connected")return;let pe="agent",Ve="";if(Z.type==="job_update")pe="system",Ve=`Task ${Z.data?.status==="completed"?"completed":Z.data?.status??"update"}`,(Z.data?.status==="completed"||Z.data?.status==="failed")&&F(!1);else if(Z.type==="tool_call"){pe="tool-call",Ve=Z.data?.tool??JSON.stringify(Z);const qe=Z.data?.tool??"unknown";let $="think";qe.toLowerCase().includes("read")||qe.toLowerCase().includes("glob")||qe.toLowerCase().includes("grep")?$="read":qe.toLowerCase().includes("write")||qe.toLowerCase().includes("edit")?$="write":(qe.toLowerCase().includes("bash")||qe.toLowerCase().includes("shell"))&&($="shell"),j(oe=>[...oe,{type:$,label:Ve,timestamp:new Date}])}else Z.type==="tool_result"?(pe="tool-result",Ve=Z.data?.result??JSON.stringify(Z)):Z.type==="text_delta"||Z.type==="text.delta"?(pe="agent",Ve=Z.data?.text??Z.data?.delta??JSON.stringify(Z)):Z.type==="error"?(pe="system",Ve=Z.data?.message??"An error occurred",j(qe=>[...qe,{type:"error",label:Ve,timestamp:new Date}])):(pe="system",Ve=JSON.stringify(Z));S(qe=>[...qe,{id:++bd,type:pe,content:Ve,timestamp:new Date}].slice(-sg))}catch{}},()=>q.close()},[]);const be=async()=>{if(!f)return;const q=f;m(""),De(q)},ee=l.reduce((q,ue)=>q+ue.usage.totalCostUsd,0),ce=l.reduce((q,ue)=>q+ue.usage.requestCount,0);return A.jsxDEV("div",{className:"h-screen w-screen flex flex-col bg-zora-obsidian relative overflow-hidden",children:[A.jsxDEV("div",{className:"scanline"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:278,columnNumber:7},void 0),E&&A.jsxDEV(A4,{onComplete:K,onSubmitTask:q=>{K(),De(q)}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:282,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-4 px-4 pt-4 pb-2",children:[A.jsxDEV("div",{className:"lcars-bar flex-1 bg-zora-gold",children:["ZORA ","/"," DASHBOARD"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:293,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:o.length>0&&A.jsxDEV("div",{className:"flex items-center gap-1.5 text-[9px] font-data text-white/40",children:o.map(q=>A.jsxDEV("div",{className:"flex items-center gap-1",children:[A.jsxDEV("span",{className:`w-2 h-2 rounded-full ${q.valid?"bg-green-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:301,columnNumber:19},void 0),A.jsxDEV("span",{className:"uppercase",children:q.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:302,columnNumber:19},void 0)]},q.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:300,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:298,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:296,columnNumber:9},void 0),A.jsxDEV("div",{className:"w-32 bg-zora-teal h-8 rounded-r-full"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:308,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:292,columnNumber:7},void 0),A.jsxDEV("div",{className:"flex-1 flex min-h-0",children:[A.jsxDEV("div",{className:"w-16 flex flex-col items-center py-4 gap-4 bg-zora-rail border-r border-zora-ghost/30",children:[A.jsxDEV("div",{className:"w-8 h-8 rounded-tl-xl border-t-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:316,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:317,columnNumber:11},void 0),A.jsxDEV("button",{onClick:()=>D(!0),className:"w-8 h-8 flex items-center justify-center text-white/30 hover:text-zora-teal transition-colors",title:"Show welcome guide",children:A.jsxDEV(fT,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:323,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:318,columnNumber:11},void 0),A.jsxDEV("div",{className:"w-8 h-8 rounded-bl-xl border-b-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:325,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:315,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex-1 flex flex-col min-w-0",children:[A.jsxDEV("div",{className:"px-4 py-2",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Activity Feed"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:331,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:330,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto px-4 flex flex-col gap-2 lcars-scrollbar",children:[A.jsxDEV(Er,{children:v.map(q=>A.jsxDEV(_4,{msg:q},q.id,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:340,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:338,columnNumber:13},void 0),A.jsxDEV("div",{ref:b},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:343,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:337,columnNumber:11},void 0),A.jsxDEV(O4,{steps:L,isRunning:Y,taskPrompt:G},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:347,columnNumber:11},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-t border-zora-ghost/30",children:A.jsxDEV("div",{className:"flex gap-2",children:[A.jsxDEV("input",{type:"text",value:f,onChange:q=>m(q.target.value),onKeyDown:q=>q.key==="Enter"&&be(),placeholder:"Ask Zora to do something...",className:"flex-1 bg-zora-rail border border-zora-ghost/50 rounded-lg px-4 py-2 font-data text-zora-gold text-sm focus:ring-2 focus:ring-zora-teal focus:border-transparent focus:outline-none placeholder:text-white/20"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:356,columnNumber:15},void 0),A.jsxDEV("button",{onClick:be,className:"bg-zora-teal text-zora-obsidian px-5 py-2 rounded-lg font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:[A.jsxDEV(GM,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:368,columnNumber:17},void 0)," SEND"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:364,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:355,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:354,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:329,columnNumber:9},void 0),A.jsxDEV("div",{className:"w-80 flex flex-col border-l border-zora-ghost/30 bg-zora-rail/50",children:[A.jsxDEV("div",{className:"flex border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>R("status"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${C==="status"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(SE,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:387,columnNumber:15},void 0)," Status"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:379,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>R("templates"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${C==="templates"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(LM,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:397,columnNumber:15},void 0)," Tasks"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:389,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>R("security"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${C==="security"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(Ud,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:407,columnNumber:15},void 0)," Safety"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:399,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:378,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto lcars-scrollbar",children:[C==="status"&&A.jsxDEV(A.Fragment,{children:[A.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"AI Providers"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:419,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:418,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-2 space-y-3",children:[A.jsxDEV(Er,{children:o.map(q=>{const ue=l.find(Z=>Z.name===q.name);return A.jsxDEV(pn.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:"p-2 bg-black/40 rounded-lg border-l-2 border-zora-teal",children:[A.jsxDEV("div",{className:"flex justify-between items-center mb-1",children:[A.jsxDEV("span",{className:"text-zora-cyan font-bold uppercase text-xs",children:q.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:435,columnNumber:29},void 0),A.jsxDEV("span",{className:`w-2.5 h-2.5 rounded-full ${q.valid?"bg-green-500":"bg-red-500"}`,title:q.valid?"Connected":"Disconnected","data-testid":`provider-dot-${q.name}`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:436,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:434,columnNumber:27},void 0),ue&&A.jsxDEV("div",{className:"space-y-1",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(SE,{size:10,className:ig(ue.quota.healthScore)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:445,columnNumber:33},void 0),A.jsxDEV("div",{className:"flex-1 h-1.5 bg-black/60 rounded-full overflow-hidden",children:A.jsxDEV("div",{className:`h-full rounded-full transition-all ${U4(ue.quota.healthScore)}`,style:{width:`${ue.quota.healthScore*100}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:447,columnNumber:35},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:446,columnNumber:33},void 0),A.jsxDEV("span",{className:`text-[9px] font-data ${ig(ue.quota.healthScore)}`,children:[Math.round(ue.quota.healthScore*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:452,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:444,columnNumber:31},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/50 space-y-0.5",children:[ue.usage.totalCostUsd>0&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"COST"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:459,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-gold",children:["$",ue.usage.totalCostUsd.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:460,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:458,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"REQUESTS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:464,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:ue.usage.requestCount},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:465,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:463,columnNumber:33},void 0),(ue.usage.totalInputTokens>0||ue.usage.totalOutputTokens>0)&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TOKENS"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:469,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:[sT(ue.usage.totalInputTokens)," in / ",sT(ue.usage.totalOutputTokens)," out"]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:470,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:468,columnNumber:35},void 0),ue.quota.isExhausted&&A.jsxDEV("div",{className:"text-red-500 font-bold mt-1",children:"QUOTA EXHAUSTED"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:476,columnNumber:35},void 0),ue.quota.cooldownUntil&&A.jsxDEV("div",{className:"text-zora-gold",children:"COOLDOWN ACTIVE"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:479,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TIER"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:482,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-white/40 uppercase",children:ue.costTier},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:483,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:481,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:456,columnNumber:31},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:443,columnNumber:29},void 0)]},q.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:428,columnNumber:25},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:424,columnNumber:19},void 0),o.length===0&&A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 py-4 text-center",children:["No AI providers detected.",A.jsxDEV("br",{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:494,columnNumber:48},void 0),"Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:495,columnNumber:27},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:493,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:423,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-t border-b border-zora-ghost/30",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Session Stats"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:502,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:501,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3 lcars-panel border-zora-teal",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/60 space-y-2",children:[A.jsxDEV("div",{className:"flex justify-between items-center",children:[A.jsxDEV("span",{children:"TOTAL COST:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:509,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-gold font-bold",children:["$",ee.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:510,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:508,columnNumber:21},void 0),A.jsxDEV("div",{className:"flex justify-between items-center",children:[A.jsxDEV("span",{children:"REQUESTS:"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:513,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-cyan font-bold",children:ce},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:514,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:512,columnNumber:21},void 0),l.map(q=>A.jsxDEV("div",{className:"flex justify-between items-center text-[9px]",children:[A.jsxDEV("span",{className:"uppercase text-white/40",children:q.name},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:518,columnNumber:25},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:ig(q.quota.healthScore),children:q.quota.isExhausted?"EXHAUSTED":`${Math.round(q.quota.healthScore*100)}%`},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:520,columnNumber:27},void 0),q.usage.totalCostUsd>0&&A.jsxDEV("span",{className:"text-zora-gold",children:["$",q.usage.totalCostUsd.toFixed(3)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:524,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:519,columnNumber:25},void 0)]},q.name,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:517,columnNumber:23},void 0))]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:507,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:506,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:416,columnNumber:15},void 0),C==="templates"&&A.jsxDEV(N4,{onSubmitTask:De},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:536,columnNumber:15},void 0),C==="security"&&A.jsxDEV(C4,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:541,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:412,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:375,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:312,columnNumber:7},void 0),A.jsxDEV("div",{className:"px-4 py-2 flex justify-between text-[10px] font-data text-white/40 uppercase tracking-widest border-t border-zora-ghost/30",children:[A.jsxDEV("div",{children:["Zora ",M4]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:549,columnNumber:9},void 0),A.jsxDEV("div",{children:"Dashboard"},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:550,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:548,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/App.tsx",lineNumber:277,columnNumber:5},void 0)};fM.createRoot(document.getElementById("root")).render(A.jsxDEV(kg.StrictMode,{children:A.jsxDEV(z4,{},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/main.tsx",lineNumber:8,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/AgentDev/src/dashboard/frontend/src/main.tsx",lineNumber:7,columnNumber:3},void 0));
|