@c4a/server-cli 0.4.11 → 0.4.12-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/index.js +795 -3402
  2. package/package.json +1 -1
  3. package/serve.js +3223 -4193
  4. package/web/assets/index--UyZtsHr.js +238 -0
  5. package/web/assets/index-15FuETM5.js +238 -0
  6. package/web/assets/index-1O90ZcBt.js +238 -0
  7. package/web/assets/index-2ZaXHlEm.js +12 -0
  8. package/web/assets/index-5SgaIe6K.js +238 -0
  9. package/web/assets/index-69TE-Dt9.js +238 -0
  10. package/web/assets/index-6qWMAJjW.js +12 -0
  11. package/web/assets/index-8bavzcKH.js +238 -0
  12. package/web/assets/index-B2JcVRax.js +238 -0
  13. package/web/assets/index-B3a1j3cz.js +238 -0
  14. package/web/assets/index-B6EqO_Cg.js +12 -0
  15. package/web/assets/index-B7OJ5sV_.js +238 -0
  16. package/web/assets/index-B9YWtkC-.js +12 -0
  17. package/web/assets/index-BD162a_1.js +238 -0
  18. package/web/assets/index-BF50bkqY.css +1 -0
  19. package/web/assets/index-BPMcNaXa.css +1 -0
  20. package/web/assets/index-BPlwhwPb.css +1 -0
  21. package/web/assets/index-BW9aouHt.js +238 -0
  22. package/web/assets/index-BbZvxZvZ.css +1 -0
  23. package/web/assets/index-BkYFml7g.css +1 -0
  24. package/web/assets/index-Bnn0CunM.js +238 -0
  25. package/web/assets/index-BosC7CbW.css +1 -0
  26. package/web/assets/index-BrJa-9jA.css +1 -0
  27. package/web/assets/index-C63Z-8cw.js +238 -0
  28. package/web/assets/index-C6ydhyiL.js +238 -0
  29. package/web/assets/index-CAXoXe3-.css +1 -0
  30. package/web/assets/index-CDG7D9Wo.css +1 -0
  31. package/web/assets/index-CNruo9jb.js +238 -0
  32. package/web/assets/index-CUGq5bZG.js +12 -0
  33. package/web/assets/index-CVB_F0xd.js +238 -0
  34. package/web/assets/index-CVct6UjO.css +1 -0
  35. package/web/assets/index-CX2QKHgP.js +12 -0
  36. package/web/assets/index-Cok56quU.css +1 -0
  37. package/web/assets/index-Ct-X2M8U.js +12 -0
  38. package/web/assets/index-CtnVCeI7.css +1 -0
  39. package/web/assets/index-Cu6ttPtz.js +12 -0
  40. package/web/assets/index-CvTLDILA.css +1 -0
  41. package/web/assets/index-D0x9zuj2.js +238 -0
  42. package/web/assets/index-D12WsS4E.js +238 -0
  43. package/web/assets/index-D3-qG0Hp.js +238 -0
  44. package/web/assets/index-D3UsEQTE.css +1 -0
  45. package/web/assets/index-D5WvCk3U.js +238 -0
  46. package/web/assets/index-D6QqUdMz.css +1 -0
  47. package/web/assets/index-D7EkgIsu.js +12 -0
  48. package/web/assets/index-DB_YWOXK.js +12 -0
  49. package/web/assets/index-DBaysFVi.css +1 -0
  50. package/web/assets/index-DGYdHfUt.js +238 -0
  51. package/web/assets/index-DIzfj2PR.css +1 -0
  52. package/web/assets/index-DJiYLRIW.css +1 -0
  53. package/web/assets/index-DQcztEye.js +238 -0
  54. package/web/assets/index-DSnxWXVs.css +1 -0
  55. package/web/assets/index-DX1UQEJF.css +1 -0
  56. package/web/assets/index-DgtV8nwc.js +238 -0
  57. package/web/assets/index-DqdyIshw.js +12 -0
  58. package/web/assets/index-DyF2kEj9.js +238 -0
  59. package/web/assets/index-H6Rs5Fbq.js +12 -0
  60. package/web/assets/index-O5LI2GNV.js +238 -0
  61. package/web/assets/index-SnFvyzm_.css +1 -0
  62. package/web/assets/index-bnfl0N-T.css +1 -0
  63. package/web/assets/index-cMgxghVE.css +1 -0
  64. package/web/assets/index-dDuVahj-.js +12 -0
  65. package/web/assets/index-fG23cf-l.js +238 -0
  66. package/web/assets/index-it-5oMch.css +1 -0
  67. package/web/assets/index-yq497d-W.js +12 -0
  68. package/web/index.html +2 -2
@@ -0,0 +1,238 @@
1
+ function KD(r,l){for(var s=0;s<l.length;s++){const u=l[s];if(typeof u!="string"&&!Array.isArray(u)){for(const f in u)if(f!=="default"&&!(f in r)){const d=Object.getOwnPropertyDescriptor(u,f);d&&Object.defineProperty(r,f,d.get?d:{enumerable:!0,get:()=>u[f]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&u(p)}).observe(document,{childList:!0,subtree:!0});function s(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(f){if(f.ep)return;f.ep=!0;const d=s(f);fetch(f.href,d)}})();function PD(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var og={exports:{}},hd={},lg={exports:{}},ju={exports:{}};ju.exports;var uE;function ID(){return uE||(uE=1,(function(r,l){(function(){function s(v,z){Object.defineProperty(d.prototype,v,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",z[0],z[1])}})}function u(v){return v===null||typeof v!="object"?null:(v=dl&&v[dl]||v["@@iterator"],typeof v=="function"?v:null)}function f(v,z){v=(v=v.constructor)&&(v.displayName||v.name)||"ReactClass";var F=v+"."+z;Ct[F]||(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,v),Ct[F]=!0)}function d(v,z,F){this.props=v,this.context=z,this.refs=it,this.updater=F||Hn}function p(){}function m(v,z,F){this.props=v,this.context=z,this.refs=it,this.updater=F||Hn}function b(){}function S(v){return""+v}function R(v){try{S(v);var z=!1}catch{z=!0}if(z){z=console;var F=z.error,te=typeof Symbol=="function"&&Symbol.toStringTag&&v[Symbol.toStringTag]||v.constructor.name||"Object";return F.call(z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",te),S(v)}}function E(v){if(v==null)return null;if(typeof v=="function")return v.$$typeof===ts?null:v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case q:return"Fragment";case Me:return"Profiler";case he:return"StrictMode";case rt:return"Suspense";case mn:return"SuspenseList";case ue:return"Activity"}if(typeof v=="object")switch(typeof v.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),v.$$typeof){case Ye:return"Portal";case pt:return v.displayName||"Context";case we:return(v._context.displayName||"Context")+".Consumer";case Ft:var z=v.render;return v=v.displayName,v||(v=z.displayName||z.name||"",v=v!==""?"ForwardRef("+v+")":"ForwardRef"),v;case Wt:return z=v.displayName||null,z!==null?z:E(v.type)||"Memo";case Na:z=v._payload,v=v._init;try{return E(v(z))}catch{}}return null}function x(v){if(v===q)return"<>";if(typeof v=="object"&&v!==null&&v.$$typeof===Na)return"<...>";try{var z=E(v);return z?"<"+z+">":"<...>"}catch{return"<...>"}}function w(){var v=pe.A;return v===null?null:v.getOwner()}function M(){return Error("react-stack-top-frame")}function Q(v){if(pl.call(v,"key")){var z=Object.getOwnPropertyDescriptor(v,"key").get;if(z&&z.isReactWarning)return!1}return v.key!==void 0}function Y(v,z){function F(){Ao||(Ao=!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))}F.isReactWarning=!0,Object.defineProperty(v,"key",{get:F,configurable:!0})}function J(){var v=E(this.type);return ua[v]||(ua[v]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),v=this.props.ref,v!==void 0?v:null}function W(v,z,F,te,me,je){var ve=F.ref;return v={$$typeof:de,type:v,key:z,props:F,_owner:te},(ve!==void 0?ve:null)!==null?Object.defineProperty(v,"ref",{enumerable:!1,get:J}):Object.defineProperty(v,"ref",{enumerable:!1,value:null}),v._store={},Object.defineProperty(v._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(v,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(v,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.defineProperty(v,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:je}),Object.freeze&&(Object.freeze(v.props),Object.freeze(v)),v}function ie(v,z){return z=W(v.type,z,v.props,v._owner,v._debugStack,v._debugTask),v._store&&(z._store.validated=v._store.validated),z}function Ee(v){ye(v)?v._store&&(v._store.validated=1):typeof v=="object"&&v!==null&&v.$$typeof===Na&&(v._payload.status==="fulfilled"?ye(v._payload.value)&&v._payload.value._store&&(v._payload.value._store.validated=1):v._store&&(v._store.validated=1))}function ye(v){return typeof v=="object"&&v!==null&&v.$$typeof===de}function Ve(v){var z={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(F){return z[F]})}function Le(v,z){return typeof v=="object"&&v!==null&&v.key!=null?(R(v.key),Ve(""+v.key)):z.toString(36)}function U(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(b,b):(v.status="pending",v.then(function(z){v.status==="pending"&&(v.status="fulfilled",v.value=z)},function(z){v.status==="pending"&&(v.status="rejected",v.reason=z)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function ae(v,z,F,te,me){var je=typeof v;(je==="undefined"||je==="boolean")&&(v=null);var ve=!1;if(v===null)ve=!0;else switch(je){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(v.$$typeof){case de:case Ye:ve=!0;break;case Na:return ve=v._init,ae(ve(v._payload),z,F,te,me)}}if(ve){ve=v,me=me(ve);var Ie=te===""?"."+Le(ve,0):te;return hl(me)?(F="",Ie!=null&&(F=Ie.replace(kn,"$&/")+"/"),ae(me,z,F,"",function(en){return en})):me!=null&&(ye(me)&&(me.key!=null&&(ve&&ve.key===me.key||R(me.key)),F=ie(me,F+(me.key==null||ve&&ve.key===me.key?"":(""+me.key).replace(kn,"$&/")+"/")+Ie),te!==""&&ve!=null&&ye(ve)&&ve.key==null&&ve._store&&!ve._store.validated&&(F._store.validated=2),me=F),z.push(me)),1}if(ve=0,Ie=te===""?".":te+":",hl(v))for(var Be=0;Be<v.length;Be++)te=v[Be],je=Ie+Le(te,Be),ve+=ae(te,z,F,je,me);else if(Be=u(v),typeof Be=="function")for(Be===v.entries&&(ca||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ca=!0),v=Be.call(v),Be=0;!(te=v.next()).done;)te=te.value,je=Ie+Le(te,Be++),ve+=ae(te,z,F,je,me);else if(je==="object"){if(typeof v.then=="function")return ae(U(v),z,F,te,me);throw z=String(v),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return ve}function X(v,z,F){if(v==null)return v;var te=[],me=0;return ae(v,te,"","",function(je){return z.call(F,je,me++)}),te}function Te(v){if(v._status===-1){var z=v._ioInfo;z!=null&&(z.start=z.end=performance.now()),z=v._result;var F=z();if(F.then(function(me){if(v._status===0||v._status===-1){v._status=1,v._result=me;var je=v._ioInfo;je!=null&&(je.end=performance.now()),F.status===void 0&&(F.status="fulfilled",F.value=me)}},function(me){if(v._status===0||v._status===-1){v._status=2,v._result=me;var je=v._ioInfo;je!=null&&(je.end=performance.now()),F.status===void 0&&(F.status="rejected",F.reason=me)}}),z=v._ioInfo,z!=null){z.value=F;var te=F.displayName;typeof te=="string"&&(z.name=te)}v._status===-1&&(v._status=0,v._result=F)}if(v._status===1)return z=v._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 v._result}function I(){var v=pe.H;return v===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.`),v}function ce(){pe.asyncTransitions--}function xe(v){if(_o===null)try{var z=("require"+Math.random()).slice(0,7);_o=(r&&r[z]).call(r,"timers").setImmediate}catch{_o=function(te){gl===!1&&(gl=!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 me=new MessageChannel;me.port1.onmessage=te,me.port2.postMessage(void 0)}}return _o(v)}function Ne(v){return 1<v.length&&typeof AggregateError=="function"?new AggregateError(v):v[0]}function Z(v,z){z!==fa-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. "),fa=z}function le(v,z,F){var te=pe.actQueue;if(te!==null)if(te.length!==0)try{fe(te),xe(function(){return le(v,z,F)});return}catch(me){pe.thrownErrors.push(me)}else pe.actQueue=null;0<pe.thrownErrors.length?(te=Ne(pe.thrownErrors),pe.thrownErrors.length=0,F(te)):z(v)}function fe(v){if(!gn){gn=!0;var z=0;try{for(;z<v.length;z++){var F=v[z];do{pe.didUsePromise=!1;var te=F(!1);if(te!==null){if(pe.didUsePromise){v[z]=F,v.splice(0,z);return}F=te}else break}while(!0)}v.length=0}catch(me){v.splice(0,z+1),pe.thrownErrors.push(me)}finally{gn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var de=Symbol.for("react.transitional.element"),Ye=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),we=Symbol.for("react.consumer"),pt=Symbol.for("react.context"),Ft=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),mn=Symbol.for("react.suspense_list"),Wt=Symbol.for("react.memo"),Na=Symbol.for("react.lazy"),ue=Symbol.for("react.activity"),dl=Symbol.iterator,Ct={},Hn={isMounted:function(){return!1},enqueueForceUpdate:function(v){f(v,"forceUpdate")},enqueueReplaceState:function(v){f(v,"replaceState")},enqueueSetState:function(v){f(v,"setState")}},Aa=Object.assign,it={};Object.freeze(it),d.prototype.isReactComponent={},d.prototype.setState=function(v,z){if(typeof v!="object"&&typeof v!="function"&&v!=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,v,z,"setState")},d.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};var Nt={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(Ma in Nt)Nt.hasOwnProperty(Ma)&&s(Ma,Nt[Ma]);p.prototype=d.prototype,Nt=m.prototype=new p,Nt.constructor=m,Aa(Nt,d.prototype),Nt.isPureReactComponent=!0;var hl=Array.isArray,ts=Symbol.for("react.client.reference"),pe={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},pl=Object.prototype.hasOwnProperty,sa=console.createTask?console.createTask:function(){return null};Nt={react_stack_bottom_frame:function(v){return v()}};var Ao,Fa,ua={},_a=Nt.react_stack_bottom_frame.bind(Nt,M)(),ml=sa(x(M)),ca=!1,kn=/\/+/g,Rn=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)},gl=!1,_o=null,fa=0,Mo=!1,gn=!1,Uo=typeof queueMicrotask=="function"?function(v){queueMicrotask(function(){return queueMicrotask(v)})}:xe;Nt=Object.freeze({__proto__:null,c:function(v){return I().useMemoCache(v)}});var Ma={map:X,forEach:function(v,z,F){X(v,function(){z.apply(this,arguments)},F)},count:function(v){var z=0;return X(v,function(){z++}),z},toArray:function(v){return X(v,function(z){return z})||[]},only:function(v){if(!ye(v))throw Error("React.Children.only expected to receive a single React element child.");return v}};l.Activity=ue,l.Children=Ma,l.Component=d,l.Fragment=q,l.Profiler=Me,l.PureComponent=m,l.StrictMode=he,l.Suspense=rt,l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=pe,l.__COMPILER_RUNTIME=Nt,l.act=function(v){var z=pe.actQueue,F=fa;fa++;var te=pe.actQueue=z!==null?z:[],me=!1;try{var je=v()}catch(Be){pe.thrownErrors.push(Be)}if(0<pe.thrownErrors.length)throw Z(z,F),v=Ne(pe.thrownErrors),pe.thrownErrors.length=0,v;if(je!==null&&typeof je=="object"&&typeof je.then=="function"){var ve=je;return Uo(function(){me||Mo||(Mo=!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(Be,en){me=!0,ve.then(function(Tn){if(Z(z,F),F===0){try{fe(te),xe(function(){return le(Tn,Be,en)})}catch(Lo){pe.thrownErrors.push(Lo)}if(0<pe.thrownErrors.length){var zo=Ne(pe.thrownErrors);pe.thrownErrors.length=0,en(zo)}}else Be(Tn)},function(Tn){Z(z,F),0<pe.thrownErrors.length&&(Tn=Ne(pe.thrownErrors),pe.thrownErrors.length=0),en(Tn)})}}}var Ie=je;if(Z(z,F),F===0&&(fe(te),te.length!==0&&Uo(function(){me||Mo||(Mo=!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(() => ...)"))}),pe.actQueue=null),0<pe.thrownErrors.length)throw v=Ne(pe.thrownErrors),pe.thrownErrors.length=0,v;return{then:function(Be,en){me=!0,F===0?(pe.actQueue=te,xe(function(){return le(Ie,Be,en)})):Be(Ie)}}},l.cache=function(v){return function(){return v.apply(null,arguments)}},l.cacheSignal=function(){return null},l.captureOwnerStack=function(){var v=pe.getCurrentStack;return v===null?null:v()},l.cloneElement=function(v,z,F){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var te=Aa({},v.props),me=v.key,je=v._owner;if(z!=null){var ve;e:{if(pl.call(z,"ref")&&(ve=Object.getOwnPropertyDescriptor(z,"ref").get)&&ve.isReactWarning){ve=!1;break e}ve=z.ref!==void 0}ve&&(je=w()),Q(z)&&(R(z.key),me=""+z.key);for(Ie in z)!pl.call(z,Ie)||Ie==="key"||Ie==="__self"||Ie==="__source"||Ie==="ref"&&z.ref===void 0||(te[Ie]=z[Ie])}var Ie=arguments.length-2;if(Ie===1)te.children=F;else if(1<Ie){ve=Array(Ie);for(var Be=0;Be<Ie;Be++)ve[Be]=arguments[Be+2];te.children=ve}for(te=W(v.type,me,te,je,v._debugStack,v._debugTask),me=2;me<arguments.length;me++)Ee(arguments[me]);return te},l.createContext=function(v){return v={$$typeof:pt,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:we,_context:v},v._currentRenderer=null,v._currentRenderer2=null,v},l.createElement=function(v,z,F){for(var te=2;te<arguments.length;te++)Ee(arguments[te]);te={};var me=null;if(z!=null)for(Be in Fa||!("__self"in z)||"key"in z||(Fa=!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")),Q(z)&&(R(z.key),me=""+z.key),z)pl.call(z,Be)&&Be!=="key"&&Be!=="__self"&&Be!=="__source"&&(te[Be]=z[Be]);var je=arguments.length-2;if(je===1)te.children=F;else if(1<je){for(var ve=Array(je),Ie=0;Ie<je;Ie++)ve[Ie]=arguments[Ie+2];Object.freeze&&Object.freeze(ve),te.children=ve}if(v&&v.defaultProps)for(Be in je=v.defaultProps,je)te[Be]===void 0&&(te[Be]=je[Be]);me&&Y(te,typeof v=="function"?v.displayName||v.name||"Unknown":v);var Be=1e4>pe.recentlyCreatedOwnerStacks++;return W(v,me,te,w(),Be?Error("react-stack-top-frame"):_a,Be?sa(x(v)):ml)},l.createRef=function(){var v={current:null};return Object.seal(v),v},l.forwardRef=function(v){v!=null&&v.$$typeof===Wt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof v!="function"?console.error("forwardRef requires a render function but was given %s.",v===null?"null":typeof v):v.length!==0&&v.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",v.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),v!=null&&v.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var z={$$typeof:Ft,render:v},F;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(te){F=te,v.name||v.displayName||(Object.defineProperty(v,"name",{value:te}),v.displayName=te)}}),z},l.isValidElement=ye,l.lazy=function(v){v={_status:-1,_result:v};var z={$$typeof:Na,_payload:v,_init:Te},F={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return v._ioInfo=F,z._debugInfo=[{awaited:F}],z},l.memo=function(v,z){v==null&&console.error("memo: The first argument must be a component. Instead received: %s",v===null?"null":typeof v),z={$$typeof:Wt,type:v,compare:z===void 0?null:z};var F;return Object.defineProperty(z,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(te){F=te,v.name||v.displayName||(Object.defineProperty(v,"name",{value:te}),v.displayName=te)}}),z},l.startTransition=function(v){var z=pe.T,F={};F._updatedFibers=new Set,pe.T=F;try{var te=v(),me=pe.S;me!==null&&me(F,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&(pe.asyncTransitions++,te.then(ce,ce),te.then(b,Rn))}catch(je){Rn(je)}finally{z===null&&F._updatedFibers&&(v=F._updatedFibers.size,F._updatedFibers.clear(),10<v&&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&&F.types!==null&&(z.types!==null&&z.types!==F.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),z.types=F.types),pe.T=z}},l.unstable_useCacheRefresh=function(){return I().useCacheRefresh()},l.use=function(v){return I().use(v)},l.useActionState=function(v,z,F){return I().useActionState(v,z,F)},l.useCallback=function(v,z){return I().useCallback(v,z)},l.useContext=function(v){var z=I();return v.$$typeof===we&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),z.useContext(v)},l.useDebugValue=function(v,z){return I().useDebugValue(v,z)},l.useDeferredValue=function(v,z){return I().useDeferredValue(v,z)},l.useEffect=function(v,z){return v==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useEffect(v,z)},l.useEffectEvent=function(v){return I().useEffectEvent(v)},l.useId=function(){return I().useId()},l.useImperativeHandle=function(v,z,F){return I().useImperativeHandle(v,z,F)},l.useInsertionEffect=function(v,z){return v==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useInsertionEffect(v,z)},l.useLayoutEffect=function(v,z){return v==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useLayoutEffect(v,z)},l.useMemo=function(v,z){return I().useMemo(v,z)},l.useOptimistic=function(v,z){return I().useOptimistic(v,z)},l.useReducer=function(v,z,F){return I().useReducer(v,z,F)},l.useRef=function(v){return I().useRef(v)},l.useState=function(v){return I().useState(v)},l.useSyncExternalStore=function(v,z,F){return I().useSyncExternalStore(v,z,F)},l.useTransition=function(){return I().useTransition()},l.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(ju,ju.exports)),ju.exports}var cE;function Fu(){return cE||(cE=1,lg.exports=ID()),lg.exports}var fE;function WD(){if(fE)return hd;fE=1;return(function(){function r(q){if(q==null)return null;if(typeof q=="function")return q.$$typeof===Te?null:q.displayName||q.name||null;if(typeof q=="string")return q;switch(q){case Y:return"Fragment";case W:return"Profiler";case J:return"StrictMode";case Ve:return"Suspense";case Le:return"SuspenseList";case X:return"Activity"}if(typeof q=="object")switch(typeof q.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),q.$$typeof){case Q:return"Portal";case Ee:return q.displayName||"Context";case ie:return(q._context.displayName||"Context")+".Consumer";case ye:var he=q.render;return q=q.displayName,q||(q=he.displayName||he.name||"",q=q!==""?"ForwardRef("+q+")":"ForwardRef"),q;case U:return he=q.displayName||null,he!==null?he:r(q.type)||"Memo";case ae:he=q._payload,q=q._init;try{return r(q(he))}catch{}}return null}function l(q){return""+q}function s(q){try{l(q);var he=!1}catch{he=!0}if(he){he=console;var Me=he.error,we=typeof Symbol=="function"&&Symbol.toStringTag&&q[Symbol.toStringTag]||q.constructor.name||"Object";return Me.call(he,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",we),l(q)}}function u(q){if(q===Y)return"<>";if(typeof q=="object"&&q!==null&&q.$$typeof===ae)return"<...>";try{var he=r(q);return he?"<"+he+">":"<...>"}catch{return"<...>"}}function f(){var q=I.A;return q===null?null:q.getOwner()}function d(){return Error("react-stack-top-frame")}function p(q){if(ce.call(q,"key")){var he=Object.getOwnPropertyDescriptor(q,"key").get;if(he&&he.isReactWarning)return!1}return q.key!==void 0}function m(q,he){function Me(){Z||(Z=!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)",he))}Me.isReactWarning=!0,Object.defineProperty(q,"key",{get:Me,configurable:!0})}function b(){var q=r(this.type);return le[q]||(le[q]=!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.")),q=this.props.ref,q!==void 0?q:null}function S(q,he,Me,we,pt,Ft){var rt=Me.ref;return q={$$typeof:M,type:q,key:he,props:Me,_owner:we},(rt!==void 0?rt:null)!==null?Object.defineProperty(q,"ref",{enumerable:!1,get:b}):Object.defineProperty(q,"ref",{enumerable:!1,value:null}),q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:pt}),Object.defineProperty(q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ft}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q}function R(q,he,Me,we,pt,Ft){var rt=he.children;if(rt!==void 0)if(we)if(xe(rt)){for(we=0;we<rt.length;we++)E(rt[we]);Object.freeze&&Object.freeze(rt)}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(rt);if(ce.call(he,"key")){rt=r(q);var mn=Object.keys(he).filter(function(Na){return Na!=="key"});we=0<mn.length?"{key: someKey, "+mn.join(": ..., ")+": ...}":"{key: someKey}",Ye[rt+we]||(mn=0<mn.length?"{"+mn.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} />`,we,rt,mn,rt),Ye[rt+we]=!0)}if(rt=null,Me!==void 0&&(s(Me),rt=""+Me),p(he)&&(s(he.key),rt=""+he.key),"key"in he){Me={};for(var Wt in he)Wt!=="key"&&(Me[Wt]=he[Wt])}else Me=he;return rt&&m(Me,typeof q=="function"?q.displayName||q.name||"Unknown":q),S(q,rt,Me,f(),pt,Ft)}function E(q){x(q)?q._store&&(q._store.validated=1):typeof q=="object"&&q!==null&&q.$$typeof===ae&&(q._payload.status==="fulfilled"?x(q._payload.value)&&q._payload.value._store&&(q._payload.value._store.validated=1):q._store&&(q._store.validated=1))}function x(q){return typeof q=="object"&&q!==null&&q.$$typeof===M}var w=Fu(),M=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),ie=Symbol.for("react.consumer"),Ee=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),Te=Symbol.for("react.client.reference"),I=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce=Object.prototype.hasOwnProperty,xe=Array.isArray,Ne=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(q){return q()}};var Z,le={},fe=w.react_stack_bottom_frame.bind(w,d)(),de=Ne(u(d)),Ye={};hd.Fragment=Y,hd.jsxDEV=function(q,he,Me,we){var pt=1e4>I.recentlyCreatedOwnerStacks++;return R(q,he,Me,we,pt?Error("react-stack-top-frame"):fe,pt?Ne(u(q)):de)}})(),hd}var dE;function eO(){return dE||(dE=1,og.exports=WD()),og.exports}var k=eO();const $e=r=>typeof r=="string",Au=()=>{let r,l;const s=new Promise((u,f)=>{r=u,l=f});return s.resolve=r,s.reject=l,s},hE=r=>r==null?"":""+r,tO=(r,l,s)=>{r.forEach(u=>{l[u]&&(s[u]=l[u])})},nO=/###/g,pE=r=>r&&r.indexOf("###")>-1?r.replace(nO,"."):r,mE=r=>!r||$e(r),Bu=(r,l,s)=>{const u=$e(l)?l.split("."):l;let f=0;for(;f<u.length-1;){if(mE(r))return{};const d=pE(u[f]);!r[d]&&s&&(r[d]=new s),Object.prototype.hasOwnProperty.call(r,d)?r=r[d]:r={},++f}return mE(r)?{}:{obj:r,k:pE(u[f])}},gE=(r,l,s)=>{const{obj:u,k:f}=Bu(r,l,Object);if(u!==void 0||l.length===1){u[f]=s;return}let d=l[l.length-1],p=l.slice(0,l.length-1),m=Bu(r,p,Object);for(;m.obj===void 0&&p.length;)d=`${p[p.length-1]}.${d}`,p=p.slice(0,p.length-1),m=Bu(r,p,Object),m?.obj&&typeof m.obj[`${m.k}.${d}`]<"u"&&(m.obj=void 0);m.obj[`${m.k}.${d}`]=s},aO=(r,l,s,u)=>{const{obj:f,k:d}=Bu(r,l,Object);f[d]=f[d]||[],f[d].push(s)},xd=(r,l)=>{const{obj:s,k:u}=Bu(r,l);if(s&&Object.prototype.hasOwnProperty.call(s,u))return s[u]},oO=(r,l,s)=>{const u=xd(r,s);return u!==void 0?u:xd(l,s)},wx=(r,l,s)=>{for(const u in l)u!=="__proto__"&&u!=="constructor"&&(u in r?$e(r[u])||r[u]instanceof String||$e(l[u])||l[u]instanceof String?s&&(r[u]=l[u]):wx(r[u],l[u],s):r[u]=l[u]);return r},Qr=r=>r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var lO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const rO=r=>$e(r)?r.replace(/[&<>"'\/]/g,l=>lO[l]):r;class iO{constructor(l){this.capacity=l,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(l){const s=this.regExpMap.get(l);if(s!==void 0)return s;const u=new RegExp(l);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(l,u),this.regExpQueue.push(l),u}}const sO=[" ",",","?","!",";"],uO=new iO(20),cO=(r,l,s)=>{l=l||"",s=s||"";const u=sO.filter(p=>l.indexOf(p)<0&&s.indexOf(p)<0);if(u.length===0)return!0;const f=uO.getRegExp(`(${u.map(p=>p==="?"?"\\?":p).join("|")})`);let d=!f.test(r);if(!d){const p=r.indexOf(s);p>0&&!f.test(r.substring(0,p))&&(d=!0)}return d},Eg=(r,l,s=".")=>{if(!r)return;if(r[l])return Object.prototype.hasOwnProperty.call(r,l)?r[l]:void 0;const u=l.split(s);let f=r;for(let d=0;d<u.length;){if(!f||typeof f!="object")return;let p,m="";for(let b=d;b<u.length;++b)if(b!==d&&(m+=s),m+=u[b],p=f[m],p!==void 0){if(["string","number","boolean"].indexOf(typeof p)>-1&&b<u.length-1)continue;d+=b-d+1;break}f=p}return f},qu=r=>r?.replace("_","-"),fO={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,l){console?.[r]?.apply?.(console,l)}};class wd{constructor(l,s={}){this.init(l,s)}init(l,s={}){this.prefix=s.prefix||"i18next:",this.logger=l||fO,this.options=s,this.debug=s.debug}log(...l){return this.forward(l,"log","",!0)}warn(...l){return this.forward(l,"warn","",!0)}error(...l){return this.forward(l,"error","")}deprecate(...l){return this.forward(l,"warn","WARNING DEPRECATED: ",!0)}forward(l,s,u,f){return f&&!this.debug?null:($e(l[0])&&(l[0]=`${u}${this.prefix} ${l[0]}`),this.logger[s](l))}create(l){return new wd(this.logger,{prefix:`${this.prefix}:${l}:`,...this.options})}clone(l){return l=l||this.options,l.prefix=l.prefix||this.prefix,new wd(this.logger,l)}}var Oo=new wd;class Dd{constructor(){this.observers={}}on(l,s){return l.split(" ").forEach(u=>{this.observers[u]||(this.observers[u]=new Map);const f=this.observers[u].get(s)||0;this.observers[u].set(s,f+1)}),this}off(l,s){if(this.observers[l]){if(!s){delete this.observers[l];return}this.observers[l].delete(s)}}emit(l,...s){this.observers[l]&&Array.from(this.observers[l].entries()).forEach(([f,d])=>{for(let p=0;p<d;p++)f(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([f,d])=>{for(let p=0;p<d;p++)f.apply(f,[l,...s])})}}class yE extends Dd{constructor(l,s={ns:["translation"],defaultNS:"translation"}){super(),this.data=l||{},this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(l){this.options.ns.indexOf(l)<0&&this.options.ns.push(l)}removeNamespaces(l){const s=this.options.ns.indexOf(l);s>-1&&this.options.ns.splice(s,1)}getResource(l,s,u,f={}){const d=f.keySeparator!==void 0?f.keySeparator:this.options.keySeparator,p=f.ignoreJSONStructure!==void 0?f.ignoreJSONStructure:this.options.ignoreJSONStructure;let m;l.indexOf(".")>-1?m=l.split("."):(m=[l,s],u&&(Array.isArray(u)?m.push(...u):$e(u)&&d?m.push(...u.split(d)):m.push(u)));const b=xd(this.data,m);return!b&&!s&&!u&&l.indexOf(".")>-1&&(l=m[0],s=m[1],u=m.slice(2).join(".")),b||!p||!$e(u)?b:Eg(this.data?.[l]?.[s],u,d)}addResource(l,s,u,f,d={silent:!1}){const p=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator;let m=[l,s];u&&(m=m.concat(p?u.split(p):u)),l.indexOf(".")>-1&&(m=l.split("."),f=s,s=m[1]),this.addNamespaces(s),gE(this.data,m,f),d.silent||this.emit("added",l,s,u,f)}addResources(l,s,u,f={silent:!1}){for(const d in u)($e(u[d])||Array.isArray(u[d]))&&this.addResource(l,s,d,u[d],{silent:!0});f.silent||this.emit("added",l,s,u)}addResourceBundle(l,s,u,f,d,p={silent:!1,skipCopy:!1}){let m=[l,s];l.indexOf(".")>-1&&(m=l.split("."),f=u,u=s,s=m[1]),this.addNamespaces(s);let b=xd(this.data,m)||{};p.skipCopy||(u=JSON.parse(JSON.stringify(u))),f?wx(b,u,d):b={...b,...u},gE(this.data,m,b),p.silent||this.emit("added",l,s,u)}removeResourceBundle(l,s){this.hasResourceBundle(l,s)&&delete this.data[l][s],this.removeNamespaces(s),this.emit("removed",l,s)}hasResourceBundle(l,s){return this.getResource(l,s)!==void 0}getResourceBundle(l,s){return s||(s=this.options.defaultNS),this.getResource(l,s)}getDataByLanguage(l){return this.data[l]}hasLanguageSomeTranslations(l){const s=this.getDataByLanguage(l);return!!(s&&Object.keys(s)||[]).find(f=>s[f]&&Object.keys(s[f]).length>0)}toJSON(){return this.data}}var Rx={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,l,s,u,f){return r.forEach(d=>{l=this.processors[d]?.process(l,s,u,f)??l}),l}};const Tx=Symbol("i18next/PATH_KEY");function dO(){const r=[],l=Object.create(null);let s;return l.get=(u,f)=>(s?.revoke?.(),f===Tx?r:(r.push(f),s=Proxy.revocable(u,l),s.proxy)),Proxy.revocable(Object.create(null),l).proxy}function xg(r,l){const{[Tx]:s}=r(dO());return s.join(l?.keySeparator??".")}const bE={},rg=r=>!$e(r)&&typeof r!="boolean"&&typeof r!="number";class Rd extends Dd{constructor(l,s={}){super(),tO(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],l,this),this.options=s,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Oo.create("translator")}changeLanguage(l){l&&(this.language=l)}exists(l,s={interpolation:{}}){const u={...s};if(l==null)return!1;const f=this.resolve(l,u);if(f?.res===void 0)return!1;const d=rg(f.res);return!(u.returnObjects===!1&&d)}extractFromKey(l,s){let u=s.nsSeparator!==void 0?s.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");const f=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let d=s.ns||this.options.defaultNS||[];const p=u&&l.indexOf(u)>-1,m=!this.options.userDefinedKeySeparator&&!s.keySeparator&&!this.options.userDefinedNsSeparator&&!s.nsSeparator&&!cO(l,u,f);if(p&&!m){const b=l.match(this.interpolator.nestingRegexp);if(b&&b.length>0)return{key:l,namespaces:$e(d)?[d]:d};const S=l.split(u);(u!==f||u===f&&this.options.ns.indexOf(S[0])>-1)&&(d=S.shift()),l=S.join(f)}return{key:l,namespaces:$e(d)?[d]:d}}translate(l,s,u){let f=typeof s=="object"?{...s}:s;if(typeof f!="object"&&this.options.overloadTranslationOptionHandler&&(f=this.options.overloadTranslationOptionHandler(arguments)),typeof f=="object"&&(f={...f}),f||(f={}),l==null)return"";typeof l=="function"&&(l=xg(l,{...this.options,...f})),Array.isArray(l)||(l=[String(l)]);const d=f.returnDetails!==void 0?f.returnDetails:this.options.returnDetails,p=f.keySeparator!==void 0?f.keySeparator:this.options.keySeparator,{key:m,namespaces:b}=this.extractFromKey(l[l.length-1],f),S=b[b.length-1];let R=f.nsSeparator!==void 0?f.nsSeparator:this.options.nsSeparator;R===void 0&&(R=":");const E=f.lng||this.language,x=f.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(E?.toLowerCase()==="cimode")return x?d?{res:`${S}${R}${m}`,usedKey:m,exactUsedKey:m,usedLng:E,usedNS:S,usedParams:this.getUsedParamsDetails(f)}:`${S}${R}${m}`:d?{res:m,usedKey:m,exactUsedKey:m,usedLng:E,usedNS:S,usedParams:this.getUsedParamsDetails(f)}:m;const w=this.resolve(l,f);let M=w?.res;const Q=w?.usedKey||m,Y=w?.exactUsedKey||m,J=["[object Number]","[object Function]","[object RegExp]"],W=f.joinArrays!==void 0?f.joinArrays:this.options.joinArrays,ie=!this.i18nFormat||this.i18nFormat.handleAsObject,Ee=f.count!==void 0&&!$e(f.count),ye=Rd.hasDefaultValue(f),Ve=Ee?this.pluralResolver.getSuffix(E,f.count,f):"",Le=f.ordinal&&Ee?this.pluralResolver.getSuffix(E,f.count,{ordinal:!1}):"",U=Ee&&!f.ordinal&&f.count===0,ae=U&&f[`defaultValue${this.options.pluralSeparator}zero`]||f[`defaultValue${Ve}`]||f[`defaultValue${Le}`]||f.defaultValue;let X=M;ie&&!M&&ye&&(X=ae);const Te=rg(X),I=Object.prototype.toString.apply(X);if(ie&&X&&Te&&J.indexOf(I)<0&&!($e(W)&&Array.isArray(X))){if(!f.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ce=this.options.returnedObjectHandler?this.options.returnedObjectHandler(Q,X,{...f,ns:b}):`key '${m} (${this.language})' returned an object instead of string.`;return d?(w.res=ce,w.usedParams=this.getUsedParamsDetails(f),w):ce}if(p){const ce=Array.isArray(X),xe=ce?[]:{},Ne=ce?Y:Q;for(const Z in X)if(Object.prototype.hasOwnProperty.call(X,Z)){const le=`${Ne}${p}${Z}`;ye&&!M?xe[Z]=this.translate(le,{...f,defaultValue:rg(ae)?ae[Z]:void 0,joinArrays:!1,ns:b}):xe[Z]=this.translate(le,{...f,joinArrays:!1,ns:b}),xe[Z]===le&&(xe[Z]=X[Z])}M=xe}}else if(ie&&$e(W)&&Array.isArray(M))M=M.join(W),M&&(M=this.extendTranslation(M,l,f,u));else{let ce=!1,xe=!1;!this.isValidLookup(M)&&ye&&(ce=!0,M=ae),this.isValidLookup(M)||(xe=!0,M=m);const Z=(f.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&xe?void 0:M,le=ye&&ae!==M&&this.options.updateMissing;if(xe||ce||le){if(this.logger.log(le?"updateKey":"missingKey",E,S,m,le?ae:M),p){const q=this.resolve(m,{...f,keySeparator:!1});q&&q.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let fe=[];const de=this.languageUtils.getFallbackCodes(this.options.fallbackLng,f.lng||this.language);if(this.options.saveMissingTo==="fallback"&&de&&de[0])for(let q=0;q<de.length;q++)fe.push(de[q]);else this.options.saveMissingTo==="all"?fe=this.languageUtils.toResolveHierarchy(f.lng||this.language):fe.push(f.lng||this.language);const Ye=(q,he,Me)=>{const we=ye&&Me!==M?Me:Z;this.options.missingKeyHandler?this.options.missingKeyHandler(q,S,he,we,le,f):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(q,S,he,we,le,f),this.emit("missingKey",q,S,he,M)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ee?fe.forEach(q=>{const he=this.pluralResolver.getSuffixes(q,f);U&&f[`defaultValue${this.options.pluralSeparator}zero`]&&he.indexOf(`${this.options.pluralSeparator}zero`)<0&&he.push(`${this.options.pluralSeparator}zero`),he.forEach(Me=>{Ye([q],m+Me,f[`defaultValue${Me}`]||ae)})}):Ye(fe,m,ae))}M=this.extendTranslation(M,l,f,w,u),xe&&M===m&&this.options.appendNamespaceToMissingKey&&(M=`${S}${R}${m}`),(xe||ce)&&this.options.parseMissingKeyHandler&&(M=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${S}${R}${m}`:m,ce?M:void 0,f))}return d?(w.res=M,w.usedParams=this.getUsedParamsDetails(f),w):M}extendTranslation(l,s,u,f,d){if(this.i18nFormat?.parse)l=this.i18nFormat.parse(l,{...this.options.interpolation.defaultVariables,...u},u.lng||this.language||f.usedLng,f.usedNS,f.usedKey,{resolved:f});else if(!u.skipInterpolation){u.interpolation&&this.interpolator.init({...u,interpolation:{...this.options.interpolation,...u.interpolation}});const b=$e(l)&&(u?.interpolation?.skipOnVariables!==void 0?u.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let S;if(b){const E=l.match(this.interpolator.nestingRegexp);S=E&&E.length}let R=u.replace&&!$e(u.replace)?u.replace:u;if(this.options.interpolation.defaultVariables&&(R={...this.options.interpolation.defaultVariables,...R}),l=this.interpolator.interpolate(l,R,u.lng||this.language||f.usedLng,u),b){const E=l.match(this.interpolator.nestingRegexp),x=E&&E.length;S<x&&(u.nest=!1)}!u.lng&&f&&f.res&&(u.lng=this.language||f.usedLng),u.nest!==!1&&(l=this.interpolator.nest(l,(...E)=>d?.[0]===E[0]&&!u.context?(this.logger.warn(`It seems you are nesting recursively key: ${E[0]} in key: ${s[0]}`),null):this.translate(...E,s),u)),u.interpolation&&this.interpolator.reset()}const p=u.postProcess||this.options.postProcess,m=$e(p)?[p]:p;return l!=null&&m?.length&&u.applyPostProcessor!==!1&&(l=Rx.handle(m,l,s,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...f,usedParams:this.getUsedParamsDetails(u)},...u}:u,this)),l}resolve(l,s={}){let u,f,d,p,m;return $e(l)&&(l=[l]),l.forEach(b=>{if(this.isValidLookup(u))return;const S=this.extractFromKey(b,s),R=S.key;f=R;let E=S.namespaces;this.options.fallbackNS&&(E=E.concat(this.options.fallbackNS));const x=s.count!==void 0&&!$e(s.count),w=x&&!s.ordinal&&s.count===0,M=s.context!==void 0&&($e(s.context)||typeof s.context=="number")&&s.context!=="",Q=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);E.forEach(Y=>{this.isValidLookup(u)||(m=Y,!bE[`${Q[0]}-${Y}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(m)&&(bE[`${Q[0]}-${Y}`]=!0,this.logger.warn(`key "${f}" for languages "${Q.join(", ")}" won't get resolved as namespace "${m}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),Q.forEach(J=>{if(this.isValidLookup(u))return;p=J;const W=[R];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(W,R,J,Y,s);else{let Ee;x&&(Ee=this.pluralResolver.getSuffix(J,s.count,s));const ye=`${this.options.pluralSeparator}zero`,Ve=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(x&&(s.ordinal&&Ee.indexOf(Ve)===0&&W.push(R+Ee.replace(Ve,this.options.pluralSeparator)),W.push(R+Ee),w&&W.push(R+ye)),M){const Le=`${R}${this.options.contextSeparator||"_"}${s.context}`;W.push(Le),x&&(s.ordinal&&Ee.indexOf(Ve)===0&&W.push(Le+Ee.replace(Ve,this.options.pluralSeparator)),W.push(Le+Ee),w&&W.push(Le+ye))}}let ie;for(;ie=W.pop();)this.isValidLookup(u)||(d=ie,u=this.getResource(J,Y,ie,s))}))})}),{res:u,usedKey:f,exactUsedKey:d,usedLng:p,usedNS:m}}isValidLookup(l){return l!==void 0&&!(!this.options.returnNull&&l===null)&&!(!this.options.returnEmptyString&&l==="")}getResource(l,s,u,f={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(l,s,u,f):this.resourceStore.getResource(l,s,u,f)}getUsedParamsDetails(l={}){const s=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],u=l.replace&&!$e(l.replace);let f=u?l.replace:l;if(u&&typeof l.count<"u"&&(f.count=l.count),this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),!u){f={...f};for(const d of s)delete f[d]}return f}static hasDefaultValue(l){const s="defaultValue";for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u)&&s===u.substring(0,s.length)&&l[u]!==void 0)return!0;return!1}}class vE{constructor(l){this.options=l,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Oo.create("languageUtils")}getScriptPartFromCode(l){if(l=qu(l),!l||l.indexOf("-")<0)return null;const s=l.split("-");return s.length===2||(s.pop(),s[s.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(s.join("-"))}getLanguagePartFromCode(l){if(l=qu(l),!l||l.indexOf("-")<0)return l;const s=l.split("-");return this.formatLanguageCode(s[0])}formatLanguageCode(l){if($e(l)&&l.indexOf("-")>-1){let s;try{s=Intl.getCanonicalLocales(l)[0]}catch{}return s&&this.options.lowerCaseLng&&(s=s.toLowerCase()),s||(this.options.lowerCaseLng?l.toLowerCase():l)}return this.options.cleanCode||this.options.lowerCaseLng?l.toLowerCase():l}isSupportedCode(l){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(l=this.getLanguagePartFromCode(l)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(l)>-1}getBestMatchFromCodes(l){if(!l)return null;let s;return l.forEach(u=>{if(s)return;const f=this.formatLanguageCode(u);(!this.options.supportedLngs||this.isSupportedCode(f))&&(s=f)}),!s&&this.options.supportedLngs&&l.forEach(u=>{if(s)return;const f=this.getScriptPartFromCode(u);if(this.isSupportedCode(f))return s=f;const d=this.getLanguagePartFromCode(u);if(this.isSupportedCode(d))return s=d;s=this.options.supportedLngs.find(p=>{if(p===d)return p;if(!(p.indexOf("-")<0&&d.indexOf("-")<0)&&(p.indexOf("-")>0&&d.indexOf("-")<0&&p.substring(0,p.indexOf("-"))===d||p.indexOf(d)===0&&d.length>1))return p})}),s||(s=this.getFallbackCodes(this.options.fallbackLng)[0]),s}getFallbackCodes(l,s){if(!l)return[];if(typeof l=="function"&&(l=l(s)),$e(l)&&(l=[l]),Array.isArray(l))return l;if(!s)return l.default||[];let u=l[s];return u||(u=l[this.getScriptPartFromCode(s)]),u||(u=l[this.formatLanguageCode(s)]),u||(u=l[this.getLanguagePartFromCode(s)]),u||(u=l.default),u||[]}toResolveHierarchy(l,s){const u=this.getFallbackCodes((s===!1?[]:s)||this.options.fallbackLng||[],l),f=[],d=p=>{p&&(this.isSupportedCode(p)?f.push(p):this.logger.warn(`rejecting language code not found in supportedLngs: ${p}`))};return $e(l)&&(l.indexOf("-")>-1||l.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&d(this.formatLanguageCode(l)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&d(this.getScriptPartFromCode(l)),this.options.load!=="currentOnly"&&d(this.getLanguagePartFromCode(l))):$e(l)&&d(this.formatLanguageCode(l)),u.forEach(p=>{f.indexOf(p)<0&&d(this.formatLanguageCode(p))}),f}}const SE={zero:0,one:1,two:2,few:3,many:4,other:5},EE={select:r=>r===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class hO{constructor(l,s={}){this.languageUtils=l,this.options=s,this.logger=Oo.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(l,s={}){const u=qu(l==="dev"?"en":l),f=s.ordinal?"ordinal":"cardinal",d=JSON.stringify({cleanedCode:u,type:f});if(d in this.pluralRulesCache)return this.pluralRulesCache[d];let p;try{p=new Intl.PluralRules(u,{type:f})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),EE;if(!l.match(/-|_/))return EE;const b=this.languageUtils.getLanguagePartFromCode(l);p=this.getRule(b,s)}return this.pluralRulesCache[d]=p,p}needsPlural(l,s={}){let u=this.getRule(l,s);return u||(u=this.getRule("dev",s)),u?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(l,s,u={}){return this.getSuffixes(l,u).map(f=>`${s}${f}`)}getSuffixes(l,s={}){let u=this.getRule(l,s);return u||(u=this.getRule("dev",s)),u?u.resolvedOptions().pluralCategories.sort((f,d)=>SE[f]-SE[d]).map(f=>`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${f}`):[]}getSuffix(l,s,u={}){const f=this.getRule(l,u);return f?`${this.options.prepend}${u.ordinal?`ordinal${this.options.prepend}`:""}${f.select(s)}`:(this.logger.warn(`no plural rule found for: ${l}`),this.getSuffix("dev",s,u))}}const xE=(r,l,s,u=".",f=!0)=>{let d=oO(r,l,s);return!d&&f&&$e(s)&&(d=Eg(r,s,u),d===void 0&&(d=Eg(l,s,u))),d},ig=r=>r.replace(/\$/g,"$$$$");class wE{constructor(l={}){this.logger=Oo.create("interpolator"),this.options=l,this.format=l?.interpolation?.format||(s=>s),this.init(l)}init(l={}){l.interpolation||(l.interpolation={escapeValue:!0});const{escape:s,escapeValue:u,useRawValueToEscape:f,prefix:d,prefixEscaped:p,suffix:m,suffixEscaped:b,formatSeparator:S,unescapeSuffix:R,unescapePrefix:E,nestingPrefix:x,nestingPrefixEscaped:w,nestingSuffix:M,nestingSuffixEscaped:Q,nestingOptionsSeparator:Y,maxReplaces:J,alwaysFormat:W}=l.interpolation;this.escape=s!==void 0?s:rO,this.escapeValue=u!==void 0?u:!0,this.useRawValueToEscape=f!==void 0?f:!1,this.prefix=d?Qr(d):p||"{{",this.suffix=m?Qr(m):b||"}}",this.formatSeparator=S||",",this.unescapePrefix=R?"":E||"-",this.unescapeSuffix=this.unescapePrefix?"":R||"",this.nestingPrefix=x?Qr(x):w||Qr("$t("),this.nestingSuffix=M?Qr(M):Q||Qr(")"),this.nestingOptionsSeparator=Y||",",this.maxReplaces=J||1e3,this.alwaysFormat=W!==void 0?W:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const l=(s,u)=>s?.source===u?(s.lastIndex=0,s):new RegExp(u,"g");this.regexp=l(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=l(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=l(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(l,s,u,f){let d,p,m;const b=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},S=w=>{if(w.indexOf(this.formatSeparator)<0){const J=xE(s,b,w,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(J,void 0,u,{...f,...s,interpolationkey:w}):J}const M=w.split(this.formatSeparator),Q=M.shift().trim(),Y=M.join(this.formatSeparator).trim();return this.format(xE(s,b,Q,this.options.keySeparator,this.options.ignoreJSONStructure),Y,u,{...f,...s,interpolationkey:Q})};this.resetRegExp();const R=f?.missingInterpolationHandler||this.options.missingInterpolationHandler,E=f?.interpolation?.skipOnVariables!==void 0?f.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:w=>ig(w)},{regex:this.regexp,safeValue:w=>this.escapeValue?ig(this.escape(w)):ig(w)}].forEach(w=>{for(m=0;d=w.regex.exec(l);){const M=d[1].trim();if(p=S(M),p===void 0)if(typeof R=="function"){const Y=R(l,d,f);p=$e(Y)?Y:""}else if(f&&Object.prototype.hasOwnProperty.call(f,M))p="";else if(E){p=d[0];continue}else this.logger.warn(`missed to pass in variable ${M} for interpolating ${l}`),p="";else!$e(p)&&!this.useRawValueToEscape&&(p=hE(p));const Q=w.safeValue(p);if(l=l.replace(d[0],Q),E?(w.regex.lastIndex+=p.length,w.regex.lastIndex-=d[0].length):w.regex.lastIndex=0,m++,m>=this.maxReplaces)break}}),l}nest(l,s,u={}){let f,d,p;const m=(b,S)=>{const R=this.nestingOptionsSeparator;if(b.indexOf(R)<0)return b;const E=b.split(new RegExp(`${Qr(R)}[ ]*{`));let x=`{${E[1]}`;b=E[0],x=this.interpolate(x,p);const w=x.match(/'/g),M=x.match(/"/g);((w?.length??0)%2===0&&!M||(M?.length??0)%2!==0)&&(x=x.replace(/'/g,'"'));try{p=JSON.parse(x),S&&(p={...S,...p})}catch(Q){return this.logger.warn(`failed parsing options string in nesting for key ${b}`,Q),`${b}${R}${x}`}return p.defaultValue&&p.defaultValue.indexOf(this.prefix)>-1&&delete p.defaultValue,b};for(;f=this.nestingRegexp.exec(l);){let b=[];p={...u},p=p.replace&&!$e(p.replace)?p.replace:p,p.applyPostProcessor=!1,delete p.defaultValue;const S=/{.*}/.test(f[1])?f[1].lastIndexOf("}")+1:f[1].indexOf(this.formatSeparator);if(S!==-1&&(b=f[1].slice(S).split(this.formatSeparator).map(R=>R.trim()).filter(Boolean),f[1]=f[1].slice(0,S)),d=s(m.call(this,f[1].trim(),p),p),d&&f[0]===l&&!$e(d))return d;$e(d)||(d=hE(d)),d||(this.logger.warn(`missed to resolve ${f[1]} for nesting ${l}`),d=""),b.length&&(d=b.reduce((R,E)=>this.format(R,E,u.lng,{...u,interpolationkey:f[1].trim()}),d.trim())),l=l.replace(f[0],d),this.regexp.lastIndex=0}return l}}const pO=r=>{let l=r.toLowerCase().trim();const s={};if(r.indexOf("(")>-1){const u=r.split("(");l=u[0].toLowerCase().trim();const f=u[1].substring(0,u[1].length-1);l==="currency"&&f.indexOf(":")<0?s.currency||(s.currency=f.trim()):l==="relativetime"&&f.indexOf(":")<0?s.range||(s.range=f.trim()):f.split(";").forEach(p=>{if(p){const[m,...b]=p.split(":"),S=b.join(":").trim().replace(/^'+|'+$/g,""),R=m.trim();s[R]||(s[R]=S),S==="false"&&(s[R]=!1),S==="true"&&(s[R]=!0),isNaN(S)||(s[R]=parseInt(S,10))}})}return{formatName:l,formatOptions:s}},RE=r=>{const l={};return(s,u,f)=>{let d=f;f&&f.interpolationkey&&f.formatParams&&f.formatParams[f.interpolationkey]&&f[f.interpolationkey]&&(d={...d,[f.interpolationkey]:void 0});const p=u+JSON.stringify(d);let m=l[p];return m||(m=r(qu(u),f),l[p]=m),m(s)}},mO=r=>(l,s,u)=>r(qu(s),u)(l);class gO{constructor(l={}){this.logger=Oo.create("formatter"),this.options=l,this.init(l)}init(l,s={interpolation:{}}){this.formatSeparator=s.interpolation.formatSeparator||",";const u=s.cacheInBuiltFormats?RE:mO;this.formats={number:u((f,d)=>{const p=new Intl.NumberFormat(f,{...d});return m=>p.format(m)}),currency:u((f,d)=>{const p=new Intl.NumberFormat(f,{...d,style:"currency"});return m=>p.format(m)}),datetime:u((f,d)=>{const p=new Intl.DateTimeFormat(f,{...d});return m=>p.format(m)}),relativetime:u((f,d)=>{const p=new Intl.RelativeTimeFormat(f,{...d});return m=>p.format(m,d.range||"day")}),list:u((f,d)=>{const p=new Intl.ListFormat(f,{...d});return m=>p.format(m)})}}add(l,s){this.formats[l.toLowerCase().trim()]=s}addCached(l,s){this.formats[l.toLowerCase().trim()]=RE(s)}format(l,s,u,f={}){const d=s.split(this.formatSeparator);if(d.length>1&&d[0].indexOf("(")>1&&d[0].indexOf(")")<0&&d.find(m=>m.indexOf(")")>-1)){const m=d.findIndex(b=>b.indexOf(")")>-1);d[0]=[d[0],...d.splice(1,m)].join(this.formatSeparator)}return d.reduce((m,b)=>{const{formatName:S,formatOptions:R}=pO(b);if(this.formats[S]){let E=m;try{const x=f?.formatParams?.[f.interpolationkey]||{},w=x.locale||x.lng||f.locale||f.lng||u;E=this.formats[S](m,w,{...R,...f,...x})}catch(x){this.logger.warn(x)}return E}else this.logger.warn(`there was no format function for ${S}`);return m},l)}}const yO=(r,l)=>{r.pending[l]!==void 0&&(delete r.pending[l],r.pendingCount--)};class bO extends Dd{constructor(l,s,u,f={}){super(),this.backend=l,this.store=s,this.services=u,this.languageUtils=u.languageUtils,this.options=f,this.logger=Oo.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=f.maxParallelReads||10,this.readingCalls=0,this.maxRetries=f.maxRetries>=0?f.maxRetries:5,this.retryTimeout=f.retryTimeout>=1?f.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(u,f.backend,f)}queueLoad(l,s,u,f){const d={},p={},m={},b={};return l.forEach(S=>{let R=!0;s.forEach(E=>{const x=`${S}|${E}`;!u.reload&&this.store.hasResourceBundle(S,E)?this.state[x]=2:this.state[x]<0||(this.state[x]===1?p[x]===void 0&&(p[x]=!0):(this.state[x]=1,R=!1,p[x]===void 0&&(p[x]=!0),d[x]===void 0&&(d[x]=!0),b[E]===void 0&&(b[E]=!0)))}),R||(m[S]=!0)}),(Object.keys(d).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:f}),{toLoad:Object.keys(d),pending:Object.keys(p),toLoadLanguages:Object.keys(m),toLoadNamespaces:Object.keys(b)}}loaded(l,s,u){const f=l.split("|"),d=f[0],p=f[1];s&&this.emit("failedLoading",d,p,s),!s&&u&&this.store.addResourceBundle(d,p,u,void 0,void 0,{skipCopy:!0}),this.state[l]=s?-1:2,s&&u&&(this.state[l]=0);const m={};this.queue.forEach(b=>{aO(b.loaded,[d],p),yO(b,l),s&&b.errors.push(s),b.pendingCount===0&&!b.done&&(Object.keys(b.loaded).forEach(S=>{m[S]||(m[S]={});const R=b.loaded[S];R.length&&R.forEach(E=>{m[S][E]===void 0&&(m[S][E]=!0)})}),b.done=!0,b.errors.length?b.callback(b.errors):b.callback())}),this.emit("loaded",m),this.queue=this.queue.filter(b=>!b.done)}read(l,s,u,f=0,d=this.retryTimeout,p){if(!l.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:l,ns:s,fcName:u,tried:f,wait:d,callback:p});return}this.readingCalls++;const m=(S,R)=>{if(this.readingCalls--,this.waitingReads.length>0){const E=this.waitingReads.shift();this.read(E.lng,E.ns,E.fcName,E.tried,E.wait,E.callback)}if(S&&R&&f<this.maxRetries){setTimeout(()=>{this.read.call(this,l,s,u,f+1,d*2,p)},d);return}p(S,R)},b=this.backend[u].bind(this.backend);if(b.length===2){try{const S=b(l,s);S&&typeof S.then=="function"?S.then(R=>m(null,R)).catch(m):m(null,S)}catch(S){m(S)}return}return b(l,s,m)}prepareLoading(l,s,u={},f){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),f&&f();$e(l)&&(l=this.languageUtils.toResolveHierarchy(l)),$e(s)&&(s=[s]);const d=this.queueLoad(l,s,u,f);if(!d.toLoad.length)return d.pending.length||f(),null;d.toLoad.forEach(p=>{this.loadOne(p)})}load(l,s,u){this.prepareLoading(l,s,{},u)}reload(l,s,u){this.prepareLoading(l,s,{reload:!0},u)}loadOne(l,s=""){const u=l.split("|"),f=u[0],d=u[1];this.read(f,d,"read",void 0,void 0,(p,m)=>{p&&this.logger.warn(`${s}loading namespace ${d} for language ${f} failed`,p),!p&&m&&this.logger.log(`${s}loaded namespace ${d} for language ${f}`,m),this.loaded(l,p,m)})}saveMissing(l,s,u,f,d,p={},m=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(s)){this.logger.warn(`did not save key "${u}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(u==null||u==="")){if(this.backend?.create){const b={...p,isUpdate:d},S=this.backend.create.bind(this.backend);if(S.length<6)try{let R;S.length===5?R=S(l,s,u,f,b):R=S(l,s,u,f),R&&typeof R.then=="function"?R.then(E=>m(null,E)).catch(m):m(null,R)}catch(R){m(R)}else S(l,s,u,f,m,b)}!l||!l[0]||this.store.addResource(l[0],s,u,f)}}}const sg=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:r=>{let l={};if(typeof r[1]=="object"&&(l=r[1]),$e(r[1])&&(l.defaultValue=r[1]),$e(r[2])&&(l.tDescription=r[2]),typeof r[2]=="object"||typeof r[3]=="object"){const s=r[3]||r[2];Object.keys(s).forEach(u=>{l[u]=s[u]})}return l},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),TE=r=>($e(r.ns)&&(r.ns=[r.ns]),$e(r.fallbackLng)&&(r.fallbackLng=[r.fallbackLng]),$e(r.fallbackNS)&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs?.indexOf?.("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),typeof r.initImmediate=="boolean"&&(r.initAsync=r.initImmediate),r),pd=()=>{},vO=r=>{Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(s=>{typeof r[s]=="function"&&(r[s]=r[s].bind(r))})},Dx="__i18next_supportNoticeShown",SO=()=>typeof globalThis<"u"&&!!globalThis[Dx],EO=()=>{typeof globalThis<"u"&&(globalThis[Dx]=!0)},xO=r=>!!(r?.modules?.backend?.name?.indexOf("Locize")>0||r?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||r?.options?.backend?.backends&&r.options.backend.backends.some(l=>l?.name?.indexOf("Locize")>0||l?.constructor?.name?.indexOf("Locize")>0)||r?.options?.backend?.projectId||r?.options?.backend?.backendOptions&&r.options.backend.backendOptions.some(l=>l?.projectId));class $u extends Dd{constructor(l={},s){if(super(),this.options=TE(l),this.services={},this.logger=Oo,this.modules={external:[]},vO(this),s&&!this.isInitialized&&!l.isClone){if(!this.options.initAsync)return this.init(l,s),this;setTimeout(()=>{this.init(l,s)},0)}}init(l={},s){this.isInitializing=!0,typeof l=="function"&&(s=l,l={}),l.defaultNS==null&&l.ns&&($e(l.ns)?l.defaultNS=l.ns:l.ns.indexOf("translation")<0&&(l.defaultNS=l.ns[0]));const u=sg();this.options={...u,...this.options,...TE(l)},this.options.interpolation={...u.interpolation,...this.options.interpolation},l.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=l.keySeparator),l.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=l.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=u.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!xO(this)&&!SO()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),EO());const f=S=>S?typeof S=="function"?new S:S:null;if(!this.options.isClone){this.modules.logger?Oo.init(f(this.modules.logger),this.options):Oo.init(null,this.options);let S;this.modules.formatter?S=this.modules.formatter:S=gO;const R=new vE(this.options);this.store=new yE(this.options.resources,this.options);const E=this.services;E.logger=Oo,E.resourceStore=this.store,E.languageUtils=R,E.pluralResolver=new hO(R,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==u.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),S&&(!this.options.interpolation.format||this.options.interpolation.format===u.interpolation.format)&&(E.formatter=f(S),E.formatter.init&&E.formatter.init(E,this.options),this.options.interpolation.format=E.formatter.format.bind(E.formatter)),E.interpolator=new wE(this.options),E.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},E.backendConnector=new bO(f(this.modules.backend),E.resourceStore,E,this.options),E.backendConnector.on("*",(w,...M)=>{this.emit(w,...M)}),this.modules.languageDetector&&(E.languageDetector=f(this.modules.languageDetector),E.languageDetector.init&&E.languageDetector.init(E,this.options.detection,this.options)),this.modules.i18nFormat&&(E.i18nFormat=f(this.modules.i18nFormat),E.i18nFormat.init&&E.i18nFormat.init(this)),this.translator=new Rd(this.services,this.options),this.translator.on("*",(w,...M)=>{this.emit(w,...M)}),this.modules.external.forEach(w=>{w.init&&w.init(this)})}if(this.format=this.options.interpolation.format,s||(s=pd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const S=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);S.length>0&&S[0]!=="dev"&&(this.options.lng=S[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(S=>{this[S]=(...R)=>this.store[S](...R)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(S=>{this[S]=(...R)=>(this.store[S](...R),this)});const m=Au(),b=()=>{const S=(R,E)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),m.resolve(E),s(R,E)};if(this.languages&&!this.isInitialized)return S(null,this.t.bind(this));this.changeLanguage(this.options.lng,S)};return this.options.resources||!this.options.initAsync?b():setTimeout(b,0),m}loadResources(l,s=pd){let u=s;const f=$e(l)?l:this.language;if(typeof l=="function"&&(u=l),!this.options.resources||this.options.partialBundledLanguages){if(f?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return u();const d=[],p=m=>{if(!m||m==="cimode")return;this.services.languageUtils.toResolveHierarchy(m).forEach(S=>{S!=="cimode"&&d.indexOf(S)<0&&d.push(S)})};f?p(f):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(b=>p(b)),this.options.preload?.forEach?.(m=>p(m)),this.services.backendConnector.load(d,this.options.ns,m=>{!m&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),u(m)})}else u(null)}reloadResources(l,s,u){const f=Au();return typeof l=="function"&&(u=l,l=void 0),typeof s=="function"&&(u=s,s=void 0),l||(l=this.languages),s||(s=this.options.ns),u||(u=pd),this.services.backendConnector.reload(l,s,d=>{f.resolve(),u(d)}),f}use(l){if(!l)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!l.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return l.type==="backend"&&(this.modules.backend=l),(l.type==="logger"||l.log&&l.warn&&l.error)&&(this.modules.logger=l),l.type==="languageDetector"&&(this.modules.languageDetector=l),l.type==="i18nFormat"&&(this.modules.i18nFormat=l),l.type==="postProcessor"&&Rx.addPostProcessor(l),l.type==="formatter"&&(this.modules.formatter=l),l.type==="3rdParty"&&this.modules.external.push(l),this}setResolvedLanguage(l){if(!(!l||!this.languages)&&!(["cimode","dev"].indexOf(l)>-1)){for(let s=0;s<this.languages.length;s++){const u=this.languages[s];if(!(["cimode","dev"].indexOf(u)>-1)&&this.store.hasLanguageSomeTranslations(u)){this.resolvedLanguage=u;break}}!this.resolvedLanguage&&this.languages.indexOf(l)<0&&this.store.hasLanguageSomeTranslations(l)&&(this.resolvedLanguage=l,this.languages.unshift(l))}}changeLanguage(l,s){this.isLanguageChangingTo=l;const u=Au();this.emit("languageChanging",l);const f=m=>{this.language=m,this.languages=this.services.languageUtils.toResolveHierarchy(m),this.resolvedLanguage=void 0,this.setResolvedLanguage(m)},d=(m,b)=>{b?this.isLanguageChangingTo===l&&(f(b),this.translator.changeLanguage(b),this.isLanguageChangingTo=void 0,this.emit("languageChanged",b),this.logger.log("languageChanged",b)):this.isLanguageChangingTo=void 0,u.resolve((...S)=>this.t(...S)),s&&s(m,(...S)=>this.t(...S))},p=m=>{!l&&!m&&this.services.languageDetector&&(m=[]);const b=$e(m)?m:m&&m[0],S=this.store.hasLanguageSomeTranslations(b)?b:this.services.languageUtils.getBestMatchFromCodes($e(m)?[m]:m);S&&(this.language||f(S),this.translator.language||this.translator.changeLanguage(S),this.services.languageDetector?.cacheUserLanguage?.(S)),this.loadResources(S,R=>{d(R,S)})};return!l&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!l&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(l),u}getFixedT(l,s,u){const f=(d,p,...m)=>{let b;typeof p!="object"?b=this.options.overloadTranslationOptionHandler([d,p].concat(m)):b={...p},b.lng=b.lng||f.lng,b.lngs=b.lngs||f.lngs,b.ns=b.ns||f.ns,b.keyPrefix!==""&&(b.keyPrefix=b.keyPrefix||u||f.keyPrefix);const S=this.options.keySeparator||".";let R;return b.keyPrefix&&Array.isArray(d)?R=d.map(E=>(typeof E=="function"&&(E=xg(E,{...this.options,...p})),`${b.keyPrefix}${S}${E}`)):(typeof d=="function"&&(d=xg(d,{...this.options,...p})),R=b.keyPrefix?`${b.keyPrefix}${S}${d}`:d),this.t(R,b)};return $e(l)?f.lng=l:f.lngs=l,f.ns=s,f.keyPrefix=u,f}t(...l){return this.translator?.translate(...l)}exists(...l){return this.translator?.exists(...l)}setDefaultNamespace(l){this.options.defaultNS=l}hasLoadedNamespace(l,s={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const u=s.lng||this.resolvedLanguage||this.languages[0],f=this.options?this.options.fallbackLng:!1,d=this.languages[this.languages.length-1];if(u.toLowerCase()==="cimode")return!0;const p=(m,b)=>{const S=this.services.backendConnector.state[`${m}|${b}`];return S===-1||S===0||S===2};if(s.precheck){const m=s.precheck(this,p);if(m!==void 0)return m}return!!(this.hasResourceBundle(u,l)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(u,l)&&(!f||p(d,l)))}loadNamespaces(l,s){const u=Au();return this.options.ns?($e(l)&&(l=[l]),l.forEach(f=>{this.options.ns.indexOf(f)<0&&this.options.ns.push(f)}),this.loadResources(f=>{u.resolve(),s&&s(f)}),u):(s&&s(),Promise.resolve())}loadLanguages(l,s){const u=Au();$e(l)&&(l=[l]);const f=this.options.preload||[],d=l.filter(p=>f.indexOf(p)<0&&this.services.languageUtils.isSupportedCode(p));return d.length?(this.options.preload=f.concat(d),this.loadResources(p=>{u.resolve(),s&&s(p)}),u):(s&&s(),Promise.resolve())}dir(l){if(l||(l=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!l)return"rtl";try{const f=new Intl.Locale(l);if(f&&f.getTextInfo){const d=f.getTextInfo();if(d&&d.direction)return d.direction}}catch{}const s=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],u=this.services?.languageUtils||new vE(sg());return l.toLowerCase().indexOf("-latn")>1?"ltr":s.indexOf(u.getLanguagePartFromCode(l))>-1||l.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(l={},s){const u=new $u(l,s);return u.createInstance=$u.createInstance,u}cloneInstance(l={},s=pd){const u=l.forkResourceStore;u&&delete l.forkResourceStore;const f={...this.options,...l,isClone:!0},d=new $u(f);if((l.debug!==void 0||l.prefix!==void 0)&&(d.logger=d.logger.clone(l)),["store","services","language"].forEach(m=>{d[m]=this[m]}),d.services={...this.services},d.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},u){const m=Object.keys(this.store.data).reduce((b,S)=>(b[S]={...this.store.data[S]},b[S]=Object.keys(b[S]).reduce((R,E)=>(R[E]={...b[S][E]},R),b[S]),b),{});d.store=new yE(m,f),d.services.resourceStore=d.store}if(l.interpolation){const b={...sg().interpolation,...this.options.interpolation,...l.interpolation},S={...f,interpolation:b};d.services.interpolator=new wE(S)}return d.translator=new Rd(d.services,f),d.translator.on("*",(m,...b)=>{d.emit(m,...b)}),d.init(f,s),d.translator.options=f,d.translator.backendConnector.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},d}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const jn=$u.createInstance();jn.createInstance;jn.dir;jn.init;jn.loadResources;jn.reloadResources;jn.use;jn.changeLanguage;jn.getFixedT;jn.t;jn.exists;jn.setDefaultNamespace;jn.hasLoadedNamespace;jn.loadNamespaces;jn.loadLanguages;var j=Fu();const Hu=PD(j),wO=KD({__proto__:null,default:Hu},[j]),RO=(r,l,s,u)=>{const f=[s,{code:l,...u||{}}];if(r?.services?.logger?.forward)return r.services.logger.forward(f,"warn","react-i18next::",!0);Jr(f[0])&&(f[0]=`react-i18next:: ${f[0]}`),r?.services?.logger?.warn?r.services.logger.warn(...f):console?.warn&&console.warn(...f)},DE={},Ox=(r,l,s,u)=>{Jr(s)&&DE[s]||(Jr(s)&&(DE[s]=new Date),RO(r,l,s,u))},Cx=(r,l)=>()=>{if(r.isInitialized)l();else{const s=()=>{setTimeout(()=>{r.off("initialized",s)},0),l()};r.on("initialized",s)}},wg=(r,l,s)=>{r.loadNamespaces(l,Cx(r,s))},OE=(r,l,s,u)=>{if(Jr(s)&&(s=[s]),r.options.preload&&r.options.preload.indexOf(l)>-1)return wg(r,s,u);s.forEach(f=>{r.options.ns.indexOf(f)<0&&r.options.ns.push(f)}),r.loadLanguages(l,Cx(r,u))},TO=(r,l,s={})=>!l.languages||!l.languages.length?(Ox(l,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:l.languages}),!0):l.hasLoadedNamespace(r,{lng:s.lng,precheck:(u,f)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&u.services.backendConnector.backend&&u.isLanguageChangingTo&&!f(u.isLanguageChangingTo,r))return!1}}),Jr=r=>typeof r=="string",DO=r=>typeof r=="object"&&r!==null,OO=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,CO={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},NO=r=>CO[r],AO=r=>r.replace(OO,NO);let Rg={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:AO,transDefaultProps:void 0};const _O=(r={})=>{Rg={...Rg,...r}},MO=()=>Rg;let Nx;const UO=r=>{Nx=r},zO=()=>Nx,LO={type:"3rdParty",init(r){_O(r.options.react),UO(r)}},jO=j.createContext();class HO{constructor(){this.usedNamespaces={}}addUsedNamespaces(l){l.forEach(s=>{this.usedNamespaces[s]||(this.usedNamespaces[s]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var ug={exports:{}},cg={},CE;function kO(){if(CE)return cg;CE=1;return(function(){function r(w,M){return w===M&&(w!==0||1/w===1/M)||w!==w&&M!==M}function l(w,M){R||f.startTransition===void 0||(R=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var Q=M();if(!E){var Y=M();d(Q,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),E=!0)}Y=p({inst:{value:Q,getSnapshot:M}});var J=Y[0].inst,W=Y[1];return b(function(){J.value=Q,J.getSnapshot=M,s(J)&&W({inst:J})},[w,Q,M]),m(function(){return s(J)&&W({inst:J}),w(function(){s(J)&&W({inst:J})})},[w]),S(Q),Q}function s(w){var M=w.getSnapshot;w=w.value;try{var Q=M();return!d(w,Q)}catch{return!0}}function u(w,M){return M()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=Fu(),d=typeof Object.is=="function"?Object.is:r,p=f.useState,m=f.useEffect,b=f.useLayoutEffect,S=f.useDebugValue,R=!1,E=!1,x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:l;cg.useSyncExternalStore=f.useSyncExternalStore!==void 0?f.useSyncExternalStore:x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),cg}var NE;function VO(){return NE||(NE=1,ug.exports=kO()),ug.exports}var BO=VO();const $O=(r,l)=>Jr(l)?l:DO(l)&&Jr(l.defaultValue)?l.defaultValue:Array.isArray(r)?r[r.length-1]:r,YO={t:$O,ready:!1},qO=()=>()=>{},bt=(r,l={})=>{const{i18n:s}=l,{i18n:u,defaultNS:f}=j.useContext(jO)||{},d=s||u||zO();d&&!d.reportNamespaces&&(d.reportNamespaces=new HO),d||Ox(d,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const p=j.useMemo(()=>({...MO(),...d?.options?.react,...l}),[d,l]),{useSuspense:m,keyPrefix:b}=p,S=f||d?.options?.defaultNS,R=Jr(S)?[S]:S||["translation"],E=j.useMemo(()=>R,R);d?.reportNamespaces?.addUsedNamespaces?.(E);const x=j.useRef(0),w=j.useCallback(ae=>{if(!d)return qO;const{bindI18n:X,bindI18nStore:Te}=p,I=()=>{x.current+=1,ae()};return X&&d.on(X,I),Te&&d.store.on(Te,I),()=>{X&&X.split(" ").forEach(ce=>d.off(ce,I)),Te&&Te.split(" ").forEach(ce=>d.store.off(ce,I))}},[d,p]),M=j.useRef(),Q=j.useCallback(()=>{if(!d)return YO;const ae=!!(d.isInitialized||d.initializedStoreOnce)&&E.every(Ne=>TO(Ne,d,p)),X=l.lng||d.language,Te=x.current,I=M.current;if(I&&I.ready===ae&&I.lng===X&&I.keyPrefix===b&&I.revision===Te)return I;const xe={t:d.getFixedT(X,p.nsMode==="fallback"?E:E[0],b),ready:ae,lng:X,keyPrefix:b,revision:Te};return M.current=xe,xe},[d,E,b,p,l.lng]),[Y,J]=j.useState(0),{t:W,ready:ie}=BO.useSyncExternalStore(w,Q,Q);j.useEffect(()=>{if(d&&!ie&&!m){const ae=()=>J(X=>X+1);l.lng?OE(d,l.lng,E,ae):wg(d,E,ae)}},[d,l.lng,E,ie,m,Y]);const Ee=d||{},ye=j.useRef(null),Ve=j.useRef(),Le=ae=>{const X=Object.getOwnPropertyDescriptors(ae);X.__original&&delete X.__original;const Te=Object.create(Object.getPrototypeOf(ae),X);if(!Object.prototype.hasOwnProperty.call(Te,"__original"))try{Object.defineProperty(Te,"__original",{value:ae,writable:!1,enumerable:!1,configurable:!1})}catch{}return Te},U=j.useMemo(()=>{const ae=Ee,X=ae?.language;let Te=ae;ae&&(ye.current&&ye.current.__original===ae?Ve.current!==X?(Te=Le(ae),ye.current=Te,Ve.current=X):Te=ye.current:(Te=Le(ae),ye.current=Te,Ve.current=X));const I=[W,Te,ie];return I.t=W,I.i18n=Te,I.ready=ie,I},[W,Ee,ie,Ee.resolvedLanguage,Ee.language,Ee.languages]);if(d&&m&&!ie)throw new Promise(ae=>{const X=()=>ae();l.lng?OE(d,l.lng,E,X):wg(d,E,X)});return U},{slice:GO,forEach:XO}=[];function QO(r){return XO.call(GO.call(arguments,1),l=>{if(l)for(const s in l)r[s]===void 0&&(r[s]=l[s])}),r}function ZO(r){return typeof r!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(s=>s.test(r))}const AE=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,JO=function(r,l){const u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},f=encodeURIComponent(l);let d=`${r}=${f}`;if(u.maxAge>0){const p=u.maxAge-0;if(Number.isNaN(p))throw new Error("maxAge should be a Number");d+=`; Max-Age=${Math.floor(p)}`}if(u.domain){if(!AE.test(u.domain))throw new TypeError("option domain is invalid");d+=`; Domain=${u.domain}`}if(u.path){if(!AE.test(u.path))throw new TypeError("option path is invalid");d+=`; Path=${u.path}`}if(u.expires){if(typeof u.expires.toUTCString!="function")throw new TypeError("option expires is invalid");d+=`; Expires=${u.expires.toUTCString()}`}if(u.httpOnly&&(d+="; HttpOnly"),u.secure&&(d+="; Secure"),u.sameSite)switch(typeof u.sameSite=="string"?u.sameSite.toLowerCase():u.sameSite){case!0:d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"strict":d+="; SameSite=Strict";break;case"none":d+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return u.partitioned&&(d+="; Partitioned"),d},_E={create(r,l,s,u){let f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};s&&(f.expires=new Date,f.expires.setTime(f.expires.getTime()+s*60*1e3)),u&&(f.domain=u),document.cookie=JO(r,l,f)},read(r){const l=`${r}=`,s=document.cookie.split(";");for(let u=0;u<s.length;u++){let f=s[u];for(;f.charAt(0)===" ";)f=f.substring(1,f.length);if(f.indexOf(l)===0)return f.substring(l.length,f.length)}return null},remove(r,l){this.create(r,"",-1,l)}};var FO={name:"cookie",lookup(r){let{lookupCookie:l}=r;if(l&&typeof document<"u")return _E.read(l)||void 0},cacheUserLanguage(r,l){let{lookupCookie:s,cookieMinutes:u,cookieDomain:f,cookieOptions:d}=l;s&&typeof document<"u"&&_E.create(s,r,u,f,d)}},KO={name:"querystring",lookup(r){let{lookupQuerystring:l}=r,s;if(typeof window<"u"){let{search:u}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(u=window.location.hash.substring(window.location.hash.indexOf("?")));const d=u.substring(1).split("&");for(let p=0;p<d.length;p++){const m=d[p].indexOf("=");m>0&&d[p].substring(0,m)===l&&(s=d[p].substring(m+1))}}return s}},PO={name:"hash",lookup(r){let{lookupHash:l,lookupFromHashIndex:s}=r,u;if(typeof window<"u"){const{hash:f}=window.location;if(f&&f.length>2){const d=f.substring(1);if(l){const p=d.split("&");for(let m=0;m<p.length;m++){const b=p[m].indexOf("=");b>0&&p[m].substring(0,b)===l&&(u=p[m].substring(b+1))}}if(u)return u;if(!u&&s>-1){const p=f.match(/\/([a-zA-Z-]*)/g);return Array.isArray(p)?p[typeof s=="number"?s:0]?.replace("/",""):void 0}}}return u}};let Fi=null;const ME=()=>{if(Fi!==null)return Fi;try{if(Fi=typeof window<"u"&&window.localStorage!==null,!Fi)return!1;const r="i18next.translate.boo";window.localStorage.setItem(r,"foo"),window.localStorage.removeItem(r)}catch{Fi=!1}return Fi};var IO={name:"localStorage",lookup(r){let{lookupLocalStorage:l}=r;if(l&&ME())return window.localStorage.getItem(l)||void 0},cacheUserLanguage(r,l){let{lookupLocalStorage:s}=l;s&&ME()&&window.localStorage.setItem(s,r)}};let Ki=null;const UE=()=>{if(Ki!==null)return Ki;try{if(Ki=typeof window<"u"&&window.sessionStorage!==null,!Ki)return!1;const r="i18next.translate.boo";window.sessionStorage.setItem(r,"foo"),window.sessionStorage.removeItem(r)}catch{Ki=!1}return Ki};var WO={name:"sessionStorage",lookup(r){let{lookupSessionStorage:l}=r;if(l&&UE())return window.sessionStorage.getItem(l)||void 0},cacheUserLanguage(r,l){let{lookupSessionStorage:s}=l;s&&UE()&&window.sessionStorage.setItem(s,r)}},eC={name:"navigator",lookup(r){const l=[];if(typeof navigator<"u"){const{languages:s,userLanguage:u,language:f}=navigator;if(s)for(let d=0;d<s.length;d++)l.push(s[d]);u&&l.push(u),f&&l.push(f)}return l.length>0?l:void 0}},tC={name:"htmlTag",lookup(r){let{htmlTag:l}=r,s;const u=l||(typeof document<"u"?document.documentElement:null);return u&&typeof u.getAttribute=="function"&&(s=u.getAttribute("lang")),s}},nC={name:"path",lookup(r){let{lookupFromPathIndex:l}=r;if(typeof window>"u")return;const s=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(s)?s[typeof l=="number"?l:0]?.replace("/",""):void 0}},aC={name:"subdomain",lookup(r){let{lookupFromSubdomainIndex:l}=r;const s=typeof l=="number"?l+1:1,u=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(u)return u[s]}};let Ax=!1;try{document.cookie,Ax=!0}catch{}const _x=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Ax||_x.splice(1,1);const oC=()=>({order:_x,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:r=>r});class Mx{constructor(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(l,s)}init(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=l,this.options=QO(s,this.options||{},oC()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=f=>f.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=u,this.addDetector(FO),this.addDetector(KO),this.addDetector(IO),this.addDetector(WO),this.addDetector(eC),this.addDetector(tC),this.addDetector(nC),this.addDetector(aC),this.addDetector(PO)}addDetector(l){return this.detectors[l.name]=l,this}detect(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,s=[];return l.forEach(u=>{if(this.detectors[u]){let f=this.detectors[u].lookup(this.options);f&&typeof f=="string"&&(f=[f]),f&&(s=s.concat(f))}}),s=s.filter(u=>u!=null&&!ZO(u)).map(u=>this.options.convertDetectedLanguage(u)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?s:s.length>0?s[0]:null}cacheUserLanguage(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;s&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(l)>-1||s.forEach(u=>{this.detectors[u]&&this.detectors[u].cacheUserLanguage(l,this.options)}))}}Mx.type="languageDetector";const lC={"nav.home":"Home","nav.studio":"Studio","nav.docs":"Docs","nav.login":"Login","nav.logout":"Logout","header.status.connected":"Connected","header.status.disconnected":"Disconnected","header.status.reconnecting":"Reconnecting","footer.copyright":"GitHub · @Context4AI {{year}}. All rights reserved.","footer.tagline":"Knowledge Factory","footer.theme.dark":"Dark","footer.theme.light":"Light","footer.theme.system":"System","studio.sidebar.sources":"Sources","studio.sidebar.modeling":"Modeling","studio.sidebar.brain":"Brain","studio.sidebar.discovery":"Discovery","studio.sidebar.sharing":"Sharing","studio.sidebar.collaboration":"Collaboration","studio.sidebar.settings":"Settings","placeholder.coming":"Coming in {{version}}","page.login.title":"Login","page.login.description":"Authentication and user management.","page.docs.title":"Docs","page.docs.description":"Public documentation portal.","page.sources.title":"Sources","page.sources.description":"Add code repositories, documents, and other input materials for your brain to index.","page.modeling.title":"Modeling","page.modeling.description":"Model indexed content with AI — only what stands up to scrutiny gets written to the knowledge graph.","page.brain.title":"Brain","page.brain.description":"All modeled knowledge lives here — browse, search, analyze, and use it anytime.","page.discovery.title":"Discovery","page.discovery.description":"Explore knowledge curated by others and add what's useful to your own brain.","page.sharing.title":"Sharing","page.sharing.description":"Package and export knowledge from your brain for others and AI to use directly.","page.collaboration.title":"Collaboration","page.collaboration.description":"Stay in sync with other brains — get notified on updates, no manual transfer needed.","page.settings.title":"Settings","page.settings.description":"Manage workspace members and configuration.","page.code_setup.title":"Code Setup","page.code_setup.description":"Repository selection and configuration for code modeling.","page.code_compile.title":"Code Compile","page.code_compile.description":"Compilation progress tracking for code modeling.","page.code_review.title":"Code Review","page.code_review.description":"Review and approve modeling results.","page.code_result.title":"Code Result","page.code_result.description":"View final modeling results and generated knowledge graph.","home.hero.title":"Context For AI","home.hero.description":"Transform code repositories and business documents into structured knowledge graphs.","home.hero.cta.studio":"Enter Studio","home.hero.cta.github":"GitHub","notfound.title":"404","notfound.description":"The page you're looking for doesn't exist.","notfound.back":"Back to Home","sources.menu.add_client":"Add Client","sources.menu.online":"online","sources.menu.offline":"offline","sources.library.default_cloud_name":"Personal Cloud","sources.library.rename":"Rename","sources.library.rename_placeholder":"Enter library name","sources.header.daemon_status":"{{online}}/{{total}} online","sources.header.all_offline":"All offline","sources.actions.new_folder":"New Folder","sources.actions.import_repo":"Import Repository","sources.actions.rename":"Rename","sources.actions.move_to":"Move to...","sources.actions.delete":"Delete","sources.filter.all":"All","sources.filter.indexed":"Indexed","sources.filter.not_indexed":"Not Indexed","sources.status.none":"None","sources.status.indexed":"Indexed","sources.status.stale":"Stale","sources.type.code":"Code","sources.type.doc":"Document","sources.empty.cloud.title":"Your personal knowledge input zone","sources.empty.cloud.description":"Create folders to organize your documents and materials. These are visible only to you and will serve as the foundation for building your digital brain. (Document upload coming soon)","sources.empty.daemon.title":"Connect your local code assets","sources.empty.daemon.description":"Import local code repositories. The system will automatically extract code structures and technical documents, transforming them into structured knowledge.","sources.empty.indexed.title":"Knowledge not yet indexed","sources.empty.indexed.description":"Select sources and complete indexing. They will be transformed into structured summaries, providing material for your future speculations.","sources.safety.notice":"Your code has absolute privacy. Source code never leaves your computer. The system only extracts structured summaries for knowledge modeling (function signatures, dependencies, etc.).","sources.import.title":"Import Repository","sources.import.step.select":"Select Repository","sources.import.step.version":"Version Selection","sources.import.step.confirm":"Confirm Import","sources.import.daemon_offline":"Client {{name}} is not connected. Please start the local Daemon and connect to the server before importing.","sources.import.view_guide":"View Connection Guide","sources.import.select_root":"Select repository root directory","sources.import.current_path":"Current path","sources.import.not_git":"This directory is not a Git repository. Please select a directory containing .git.","sources.import.branch":"Branch","sources.import.commit":"Commit","sources.import.branch_warning":"Currently based on {{branch}} branch HEAD","sources.import.uncommitted_warning":"Uncommitted changes will not be collected","sources.import.recognized":"Recognized {{packages}} packages and {{docs}} documents","sources.import.no_packages":"No package structure detected. Will be imported as a single-package repository.","sources.import.importing":"Importing...","sources.import.success":"Import complete","sources.add_client.title":"Connect Local Knowledge Source","sources.add_client.description":"Start a client (Daemon) on your local computer to mount local code repositories as input material into your digital brain.","sources.add_client.step1":"Install Daemon","sources.add_client.step2":"Start Daemon","sources.add_client.step3":"Wait for connection","sources.add_client.step3_desc":"This page will update automatically once connected.","sources.add_client.waiting":"Waiting for client connection...","sources.add_client.detected":"New client detected","sources.add_client.machine_name":"Machine ID","sources.add_client.os":"Operating system","sources.add_client.daemon_version":"Daemon version","sources.add_client.client_name":"Client name","sources.add_client.confirm":"Confirm Add","sources.add_client.reconnected":"Client {{name}} has reconnected","sources.add_client.go_to":"Go to {{name}}","sources.detail.tab.original":"Original","sources.detail.tab.digest":"Digest","sources.detail.tab.modeling":"Modeling Result","sources.detail.digest_placeholder":"Structured summary will be available here after indexing is complete.","sources.detail.modeling_placeholder":"Knowledge entities derived from this source will appear here after modeling in the speculation zone.","sources.detail.type":"Type","sources.detail.origin":"Origin","sources.detail.origin.upload":"Upload","sources.detail.origin.local":"Local file","sources.detail.status":"Status","sources.detail.repo":"Repository","sources.detail.branch":"Branch","sources.detail.commit":"Commit","sources.detail.tech_stack":"Tech stack","sources.delete.confirm_title":"Confirm Delete","sources.delete.resource":"Are you sure you want to delete {{name}}?","sources.delete.resource_impact":"The following data will be permanently deleted: original content, structured digest (if any).","sources.delete.session_warning":"If your personal speculation zone is using this source, related candidate speculations will be affected.","sources.delete.entity_safe":"Formal knowledge already merged into the brain will not be affected.","sources.delete.folder":"Are you sure you want to delete folder {{name}}?","sources.delete.folder_impact":"All resources inside will be recursively deleted: {{folders}} sub-folders, {{sources}} sources.","sources.delete.irreversible":"This action cannot be undone.","sources.delete.repo":"Are you sure you want to remove repository {{name}} from {{library}}?","sources.delete.repo_impact":"Will delete: {{packages}} package index records, {{docs}} document index records.","sources.delete.local_safe":"Local files will not be affected.","sources.delete.client":"Are you sure you want to delete client {{name}}?","sources.delete.client_impact":"All imported repository records and related index data under this client will be deleted.","sources.delete.client_reregister":"This client will need to re-register on next connection.","sources.error.name_conflict":'An item named "{{name}}" already exists in this directory.',"sources.breadcrumb.sources":"Sources","common.cancel":"Cancel","common.confirm":"Confirm","common.back":"Back","common.next":"Next","common.previous":"Previous","common.items":"{{count}} items"},rC={"nav.home":"首页","nav.studio":"工作台","nav.docs":"文档","nav.login":"登录","nav.logout":"退出登录","header.status.connected":"已连接","header.status.disconnected":"已断开","header.status.reconnecting":"重连中","footer.copyright":"GitHub · @Context4AI {{year}}. 版权所有 ","footer.tagline":"知识工厂","footer.theme.dark":"暗色","footer.theme.light":"亮色","footer.theme.system":"跟随系统","studio.sidebar.sources":"知识索引","studio.sidebar.modeling":"知识建模","studio.sidebar.brain":"知识大脑","studio.sidebar.discovery":"发现知识","studio.sidebar.sharing":"分享知识","studio.sidebar.collaboration":"知识协同","studio.sidebar.settings":"设置","placeholder.coming":"计划在 {{version}} 版本实现","page.login.title":"登录","page.login.description":"身份验证与用户管理。","page.docs.title":"文档","page.docs.description":"公开文档门户。","page.sources.title":"知识索引","page.sources.description":"添加代码仓库、文档等输入材料,让大脑完成初步索引。","page.modeling.title":"知识建模","page.modeling.description":"和 AI 一起对索引内容建模,只有经得起推敲的才写入知识图谱。","page.brain.title":"知识大脑","page.brain.description":"建模完成的全部知识都在这里——浏览、搜索、分析,随时调用。","page.discovery.title":"发现知识","page.discovery.description":"看看别人整理好的知识,发现有用的一键补充到自己的大脑。","page.sharing.title":"分享知识","page.sharing.description":"把大脑中的知识打包输出,让别人和 AI 都能直接使用。","page.collaboration.title":"知识协同","page.collaboration.description":"和其他大脑保持同步,知识更新时自动通知,不用手动搬运。","page.settings.title":"设置","page.settings.description":"管理大脑的成员和配置。","page.code_setup.title":"代码设置","page.code_setup.description":"代码建模的仓库选择与配置。","page.code_compile.title":"代码编译","page.code_compile.description":"代码建模的编译进度追踪。","page.code_review.title":"代码审查","page.code_review.description":"审查并确认建模结果。","page.code_result.title":"代码结果","page.code_result.description":"查看最终建模结果与生成的知识图谱。","home.hero.title":"Context For AI","home.hero.description":"将代码仓库和业务文档转化为结构化知识图谱。","home.hero.cta.studio":"进入工作台","home.hero.cta.github":"GitHub","notfound.title":"404","notfound.description":"您访问的页面不存在。","notfound.back":"返回首页","sources.menu.add_client":"添加客户端","sources.menu.online":"在线","sources.menu.offline":"离线","sources.library.default_cloud_name":"个人云","sources.library.rename":"重命名","sources.library.rename_placeholder":"输入名称","sources.header.daemon_status":"{{online}}/{{total}} 在线","sources.header.all_offline":"全部离线","sources.actions.new_folder":"新建文件夹","sources.actions.import_repo":"导入仓库","sources.actions.rename":"重命名","sources.actions.move_to":"移动到...","sources.actions.delete":"删除","sources.filter.all":"全部","sources.filter.indexed":"已索引","sources.filter.not_indexed":"未索引","sources.status.none":"未索引","sources.status.indexed":"已索引","sources.status.stale":"索引过期","sources.type.code":"代码","sources.type.doc":"文档","sources.empty.cloud.title":"这里是你专属的知识输入区","sources.empty.cloud.description":"创建文件夹来整理你的文档和材料。这些内容仅你个人可见,将成为后续推演、构建数字大脑的基础。(文档上传功能即将推出)","sources.empty.daemon.title":"连接你的本地代码资产","sources.empty.daemon.description":"导入本地代码仓库,系统会自动提取代码结构与技术文档,将其转化为结构化知识。","sources.empty.indexed.title":"这些知识尚未被索引","sources.empty.indexed.description":"选择资源并完成索引后,它们将转化为结构化摘要,为你后续的推演提供素材。","sources.safety.notice":"你的代码保有绝对隐私。源代码永远不会离开你的电脑,系统仅提取用于知识建模的结构化摘要(函数签名、依赖关系等)。","sources.import.title":"导入代码仓库","sources.import.step.select":"选择仓库","sources.import.step.version":"版本选择","sources.import.step.confirm":"确认导入","sources.import.daemon_offline":"客户端 {{name}} 未连接,请先启动本地 Daemon 并连接到服务器后再导入仓库。","sources.import.view_guide":"查看连接指引","sources.import.select_root":"选择仓库根目录","sources.import.current_path":"当前路径","sources.import.not_git":"该目录不是 Git 仓库,请选择包含 .git 的目录。","sources.import.branch":"分支","sources.import.commit":"提交","sources.import.branch_warning":"当前基于 {{branch}} 分支的 HEAD","sources.import.uncommitted_warning":"未提交的修改不会被采集","sources.import.recognized":"已识别 {{packages}} 个包和 {{docs}} 篇文档","sources.import.no_packages":"未识别到包结构,将作为单包仓库导入。","sources.import.importing":"导入中...","sources.import.success":"导入完成","sources.add_client.title":"接入本地知识源","sources.add_client.description":"在本地计算机上启动客户端 (Daemon),即可将本地代码仓库作为输入材料,挂载到你的数字大脑中。","sources.add_client.step1":"安装 Daemon","sources.add_client.step2":"启动 Daemon","sources.add_client.step3":"等待连接","sources.add_client.step3_desc":"连接成功后,本页面将自动更新。","sources.add_client.waiting":"等待客户端连接...","sources.add_client.detected":"检测到新的本地客户端","sources.add_client.machine_name":"机器标识","sources.add_client.os":"操作系统","sources.add_client.daemon_version":"Daemon 版本","sources.add_client.client_name":"客户端名称","sources.add_client.confirm":"确认添加","sources.add_client.reconnected":"客户端 {{name}} 已重新连接","sources.add_client.go_to":"前往 {{name}}","sources.detail.tab.original":"原文","sources.detail.tab.digest":"摘要","sources.detail.tab.modeling":"建模结果","sources.detail.digest_placeholder":"完成索引后,即可在此查看结构化摘要。","sources.detail.modeling_placeholder":"在推演区完成建模后,此处将展示由该源产生的知识实体。","sources.detail.type":"类型","sources.detail.origin":"来源","sources.detail.origin.upload":"直接上传","sources.detail.origin.local":"本地文件","sources.detail.status":"状态","sources.detail.repo":"仓库","sources.detail.branch":"分支","sources.detail.commit":"提交","sources.detail.tech_stack":"技术栈","sources.delete.confirm_title":"确认删除","sources.delete.resource":"确定要删除 {{name}}?","sources.delete.resource_impact":"以下数据将被永久删除:原文内容、结构化摘要(如有)。","sources.delete.session_warning":"如果你的个人推演区正在使用此知识源,相关的候选推演将受到影响。","sources.delete.entity_safe":"已汇入大脑的正式知识不受影响。","sources.delete.folder":"确定要删除文件夹 {{name}}?","sources.delete.folder_impact":"文件夹内的所有资源将被递归删除:{{folders}} 个子文件夹、{{sources}} 个知识源。","sources.delete.irreversible":"此操作不可撤销。","sources.delete.repo":"确定要从 {{library}} 中移除仓库 {{name}}?","sources.delete.repo_impact":"将删除:{{packages}} 个包的索引记录、{{docs}} 篇文档的索引记录。","sources.delete.local_safe":"本地文件不受影响。","sources.delete.client":"确定要删除客户端 {{name}}?","sources.delete.client_impact":"该客户端下的所有已导入仓库记录和相关索引数据将被删除。","sources.delete.client_reregister":"该客户端下次连接时将触发重新注册。","sources.error.name_conflict":'该目录下已存在同名项"{{name}}"。',"sources.breadcrumb.sources":"知识索引","common.cancel":"取消","common.confirm":"确认","common.back":"返回","common.next":"下一步","common.previous":"上一步","common.items":"{{count}} 项"};jn.use(Mx).use(LO).init({resources:{en:{translation:lC},zh:{translation:rC}},fallbackLng:"en",interpolation:{escapeValue:!1},detection:{order:["localStorage"],caches:["localStorage"],lookupLocalStorage:"lang"}});var fg={exports:{}},_u={},dg={exports:{}},hg={},zE;function iC(){return zE||(zE=1,(function(r){(function(){function l(){if(ye=!1,ae){var Z=r.unstable_now();I=Z;var le=!0;try{e:{ie=!1,Ee&&(Ee=!1,Le(X),X=-1),W=!0;var fe=J;try{t:{for(p(Z),Y=u(w);Y!==null&&!(Y.expirationTime>Z&&b());){var de=Y.callback;if(typeof de=="function"){Y.callback=null,J=Y.priorityLevel;var Ye=de(Y.expirationTime<=Z);if(Z=r.unstable_now(),typeof Ye=="function"){Y.callback=Ye,p(Z),le=!0;break t}Y===u(w)&&f(w),p(Z)}else f(w);Y=u(w)}if(Y!==null)le=!0;else{var q=u(M);q!==null&&S(m,q.startTime-Z),le=!1}}break e}finally{Y=null,J=fe,W=!1}le=void 0}}finally{le?ce():ae=!1}}}function s(Z,le){var fe=Z.length;Z.push(le);e:for(;0<fe;){var de=fe-1>>>1,Ye=Z[de];if(0<d(Ye,le))Z[de]=le,Z[fe]=Ye,fe=de;else break e}}function u(Z){return Z.length===0?null:Z[0]}function f(Z){if(Z.length===0)return null;var le=Z[0],fe=Z.pop();if(fe!==le){Z[0]=fe;e:for(var de=0,Ye=Z.length,q=Ye>>>1;de<q;){var he=2*(de+1)-1,Me=Z[he],we=he+1,pt=Z[we];if(0>d(Me,fe))we<Ye&&0>d(pt,Me)?(Z[de]=pt,Z[we]=fe,de=we):(Z[de]=Me,Z[he]=fe,de=he);else if(we<Ye&&0>d(pt,fe))Z[de]=pt,Z[we]=fe,de=we;else break e}}return le}function d(Z,le){var fe=Z.sortIndex-le.sortIndex;return fe!==0?fe:Z.id-le.id}function p(Z){for(var le=u(M);le!==null;){if(le.callback===null)f(M);else if(le.startTime<=Z)f(M),le.sortIndex=le.expirationTime,s(w,le);else break;le=u(M)}}function m(Z){if(Ee=!1,p(Z),!ie)if(u(w)!==null)ie=!0,ae||(ae=!0,ce());else{var le=u(M);le!==null&&S(m,le.startTime-Z)}}function b(){return ye?!0:!(r.unstable_now()-I<Te)}function S(Z,le){X=Ve(function(){Z(r.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var R=performance;r.unstable_now=function(){return R.now()}}else{var E=Date,x=E.now();r.unstable_now=function(){return E.now()-x}}var w=[],M=[],Q=1,Y=null,J=3,W=!1,ie=!1,Ee=!1,ye=!1,Ve=typeof setTimeout=="function"?setTimeout:null,Le=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null,ae=!1,X=-1,Te=5,I=-1;if(typeof U=="function")var ce=function(){U(l)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Ne=xe.port2;xe.port1.onmessage=l,ce=function(){Ne.postMessage(null)}}else ce=function(){Ve(l,0)};r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(Z){Z.callback=null},r.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Te=0<Z?Math.floor(1e3/Z):5},r.unstable_getCurrentPriorityLevel=function(){return J},r.unstable_next=function(Z){switch(J){case 1:case 2:case 3:var le=3;break;default:le=J}var fe=J;J=le;try{return Z()}finally{J=fe}},r.unstable_requestPaint=function(){ye=!0},r.unstable_runWithPriority=function(Z,le){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var fe=J;J=Z;try{return le()}finally{J=fe}},r.unstable_scheduleCallback=function(Z,le,fe){var de=r.unstable_now();switch(typeof fe=="object"&&fe!==null?(fe=fe.delay,fe=typeof fe=="number"&&0<fe?de+fe:de):fe=de,Z){case 1:var Ye=-1;break;case 2:Ye=250;break;case 5:Ye=1073741823;break;case 4:Ye=1e4;break;default:Ye=5e3}return Ye=fe+Ye,Z={id:Q++,callback:le,priorityLevel:Z,startTime:fe,expirationTime:Ye,sortIndex:-1},fe>de?(Z.sortIndex=fe,s(M,Z),u(w)===null&&Z===u(M)&&(Ee?(Le(X),X=-1):Ee=!0,S(m,fe-de))):(Z.sortIndex=Ye,s(w,Z),ie||W||(ie=!0,ae||(ae=!0,ce()))),Z},r.unstable_shouldYield=b,r.unstable_wrapCallback=function(Z){var le=J;return function(){var fe=J;J=le;try{return Z.apply(this,arguments)}finally{J=fe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(hg)),hg}var LE;function sC(){return LE||(LE=1,dg.exports=iC()),dg.exports}var pg={exports:{}},En={},jE;function uC(){if(jE)return En;jE=1;return(function(){function r(){}function l(E){return""+E}function s(E,x,w){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{l(M);var Q=!1}catch{Q=!0}return Q&&(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&&M[Symbol.toStringTag]||M.constructor.name||"Object"),l(M)),{$$typeof:S,key:M==null?null:""+M,children:E,containerInfo:x,implementation:w}}function u(E,x){if(E==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function f(E){return E===null?"`null`":E===void 0?"`undefined`":E===""?"an empty string":'something with type "'+typeof E+'"'}function d(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 p(){var E=R.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 m=Fu(),b={d:{f:r,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},S=Symbol.for("react.portal"),R=m.__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"),En.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,En.createPortal=function(E,x){var w=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return s(E,x,null,w)},En.flushSync=function(E){var x=R.T,w=b.p;try{if(R.T=null,b.p=2,E)return E()}finally{R.T=x,b.p=w,b.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.")}},En.preconnect=function(E,x){typeof E=="string"&&E?x!=null&&typeof x!="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.",d(x)):x!=null&&typeof x.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(x.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"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,b.d.C(E,x))},En.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 x=arguments[1];typeof x=="object"&&x.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`.",d(x)):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`.",d(x))}typeof E=="string"&&b.d.D(E)},En.preinit=function(E,x){if(typeof E=="string"&&E?x==null||typeof x!="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.",d(x)):x.as!=="style"&&x.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".',d(x.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"&&x&&typeof x.as=="string"){var w=x.as,M=u(w,x.crossOrigin),Q=typeof x.integrity=="string"?x.integrity:void 0,Y=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;w==="style"?b.d.S(E,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:M,integrity:Q,fetchPriority:Y}):w==="script"&&b.d.X(E,{crossOrigin:M,integrity:Q,fetchPriority:Y,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},En.preinitModule=function(E,x){var w="";typeof E=="string"&&E||(w+=" The `href` argument encountered was "+f(E)+"."),x!==void 0&&typeof x!="object"?w+=" The `options` argument encountered was "+f(x)+".":x&&"as"in x&&x.as!=="script"&&(w+=" The `as` option encountered was "+d(x.as)+"."),w?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",w):(w=x&&typeof x.as=="string"?x.as:"script",w)==="script"||(w=d(w),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',w,E)),typeof E=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(w=u(x.as,x.crossOrigin),b.d.M(E,{crossOrigin:w,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&b.d.M(E))},En.preload=function(E,x){var w="";if(typeof E=="string"&&E||(w+=" The `href` argument encountered was "+f(E)+"."),x==null||typeof x!="object"?w+=" The `options` argument encountered was "+f(x)+".":typeof x.as=="string"&&x.as||(w+=" The `as` option encountered was "+f(x.as)+"."),w&&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',w),typeof E=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){w=x.as;var M=u(w,x.crossOrigin);b.d.L(E,w,{crossOrigin:M,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},En.preloadModule=function(E,x){var w="";typeof E=="string"&&E||(w+=" The `href` argument encountered was "+f(E)+"."),x!==void 0&&typeof x!="object"?w+=" The `options` argument encountered was "+f(x)+".":x&&"as"in x&&typeof x.as!="string"&&(w+=" The `as` option encountered was "+f(x.as)+"."),w&&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',w),typeof E=="string"&&(x?(w=u(x.as,x.crossOrigin),b.d.m(E,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:w,integrity:typeof x.integrity=="string"?x.integrity:void 0})):b.d.m(E))},En.requestFormReset=function(E){b.d.r(E)},En.unstable_batchedUpdates=function(E,x){return E(x)},En.useFormState=function(E,x,w){return p().useFormState(E,x,w)},En.useFormStatus=function(){return p().useHostTransitionStatus()},En.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),En}var HE;function cC(){return HE||(HE=1,pg.exports=uC()),pg.exports}var kE;function fC(){if(kE)return _u;kE=1;return(function(){function r(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function l(e,t,n,a){if(n>=t.length)return a;var o=t[n],i=Kt(e)?e.slice():Fe({},e);return i[o]=l(e[o],t,n+1,a),i}function s(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 o=t[a],i=Kt(e)?e.slice():Fe({},e);return a+1===t.length?(i[n[a]]=i[o],Kt(i)?i.splice(o,1):delete i[o]):i[o]=u(e[o],t,n,a+1),i}function f(e,t,n){var a=t[n],o=Kt(e)?e.slice():Fe({},e);return n+1===t.length?(Kt(o)?o.splice(a,1):delete o[a],o):(o[a]=f(e[a],t,n+1),o)}function d(){return!1}function p(){return null}function m(){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 b(){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 R(){}function E(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function x(e,t,n,a){return new Hw(e,t,n,a)}function w(e,t){e.context===kl&&(wp(e.current,2,t,e,null,null),ri())}function M(e,t){if(ya!==null){var n=t.staleFamilies;t=t.updatedFamilies,Ts(),my(e.current,t,n),ri()}}function Q(e){ya=e}function Y(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function J(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 W(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 ie(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 Ee(e){if(J(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ye(e){var t=e.alternate;if(!t){if(t=J(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 o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ee(o),e;if(i===a)return Ee(o),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=o,a=i;else{for(var c=!1,h=o.child;h;){if(h===n){c=!0,n=o,a=i;break}if(h===a){c=!0,a=o,n=i;break}h=h.sibling}if(!c){for(h=i.child;h;){if(h===n){c=!0,n=i,a=o;break}if(h===a){c=!0,a=i,n=o;break}h=h.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 Ve(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ve(e),t!==null)return t;e=e.sibling}return null}function Le(e){return e===null||typeof e!="object"?null:(e=x0&&e[x0]||e["@@iterator"],typeof e=="function"?e:null)}function U(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===lT?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case hi:return"Fragment";case Ap:return"Profiler";case rf:return"StrictMode";case Mp:return"Suspense";case Up:return"SuspenseList";case zp: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 di:return"Portal";case yo:return e.displayName||"Context";case _p:return(e._context.displayName||"Context")+".Consumer";case Ls:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sf:return t=e.displayName||null,t!==null?t:U(e.type)||"Memo";case Wn:t=e._payload,e=e._init;try{return U(e(t))}catch{}}return null}function ae(e){return typeof e.tag=="number"?X(e):typeof e.name=="string"?e.name:null}function X(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 U(t);case 8:return t===rf?"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 X(e.return)}return null}function Te(e){return{current:e}}function I(e,t){0>Xo?console.error("Unexpected pop."):(t!==jp[Xo]&&console.error("Unexpected Fiber popped."),e.current=Lp[Xo],Lp[Xo]=null,jp[Xo]=null,Xo--)}function ce(e,t,n){Xo++,Lp[Xo]=e.current,jp[Xo]=n,e.current=t}function xe(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 Ne(e,t){ce(Ml,t,e),ce(js,e,e),ce(_l,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Qv(t):rl;break;default:if(n=t.tagName,t=t.namespaceURI)t=Qv(t),t=Zv(t,n);else switch(n){case"svg":t=Zi;break;case"math":t=rd;break;default:t=rl}}n=n.toLowerCase(),n=tc(null,n),n={context:t,ancestorInfo:n},I(_l,e),ce(_l,n,e)}function Z(e){I(_l,e),I(js,e),I(Ml,e)}function le(){return xe(_l.current)}function fe(e){e.memoizedState!==null&&ce(uf,e,e);var t=xe(_l.current),n=e.type,a=Zv(t.context,n);n=tc(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(ce(js,e,e),ce(_l,a,e))}function de(e){js.current===e&&(I(_l,e),I(js,e)),uf.current===e&&(I(uf,e),Ou._currentValue=Xr)}function Ye(){}function q(){if(Hs===0){w0=console.log,R0=console.info,T0=console.warn,D0=console.error,O0=console.group,C0=console.groupCollapsed,N0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ye,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Hs++}function he(){if(Hs--,Hs===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Fe({},e,{value:w0}),info:Fe({},e,{value:R0}),warn:Fe({},e,{value:T0}),error:Fe({},e,{value:D0}),group:Fe({},e,{value:O0}),groupCollapsed:Fe({},e,{value:C0}),groupEnd:Fe({},e,{value:N0})})}0>Hs&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Me(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 we(e){if(Hp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hp=t&&t[1]||"",A0=-1<n.stack.indexOf(`
26
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
27
+ `+Hp+e+A0}function pt(e,t){if(!e||kp)return"";var n=Vp.get(e);if(n!==void 0)return n;kp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=$.H,$.H=null,q();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(ne){var H=ne}Reflect.construct(e,[],O)}else{try{O.call()}catch(ne){H=ne}e.call(O.prototype)}}else{try{throw Error()}catch(ne){H=ne}(O=e())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(ne){if(ne&&H&&typeof ne.stack=="string")return[ne.stack,H.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=o.DetermineComponentFrameRoot(),h=c[0],g=c[1];if(h&&g){var y=h.split(`
28
+ `),A=g.split(`
29
+ `);for(c=i=0;i<y.length&&!y[i].includes("DetermineComponentFrameRoot");)i++;for(;c<A.length&&!A[c].includes("DetermineComponentFrameRoot");)c++;if(i===y.length||c===A.length)for(i=y.length-1,c=A.length-1;1<=i&&0<=c&&y[i]!==A[c];)c--;for(;1<=i&&0<=c;i--,c--)if(y[i]!==A[c]){if(i!==1||c!==1)do if(i--,c--,0>c||y[i]!==A[c]){var _=`
30
+ `+y[i].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&Vp.set(e,_),_}while(1<=i&&0<=c);break}}}finally{kp=!1,$.H=a,he(),Error.prepareStackTrace=n}return y=(y=e?e.displayName||e.name:"")?we(y):"",typeof e=="function"&&Vp.set(e,y),y}function Ft(e,t){switch(e.tag){case 26:case 27:case 5:return we(e.type);case 16:return we("Lazy");case 13:return e.child!==t&&t!==null?we("Suspense Fallback"):we("Suspense");case 19:return we("SuspenseList");case 0:case 15:return pt(e.type,!1);case 11:return pt(e.type.render,!1);case 1:return pt(e.type,!0);case 31:return we("Activity");default:return""}}function rt(e){try{var t="",n=null;do{t+=Ft(e,n);var a=e._debugInfo;if(a)for(var o=a.length-1;0<=o;o--){var i=a[o];if(typeof i.name=="string"){var c=t;e:{var h=i.name,g=i.env,y=i.debugLocation;if(y!=null){var A=Me(y),_=A.lastIndexOf(`
31
+ `),O=_===-1?A:A.slice(_+1);if(O.indexOf(h)!==-1){var H=`
32
+ `+O;break e}}H=we(h+(g?" ["+g+"]":""))}t=c+H}}n=e,e=e.return}while(e);return t}catch(ne){return`
33
+ Error generating stack: `+ne.message+`
34
+ `+ne.stack}}function mn(e){return(e=e?e.displayName||e.name:"")?we(e):""}function Wt(){if(ea===null)return null;var e=ea._debugOwner;return e!=null?ae(e):null}function Na(){if(ea===null)return"";var e=ea;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=we(e.type);break;case 13:t+=we("Suspense");break;case 19:t+=we("SuspenseList");break;case 31:t+=we("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=mn(e.type));break;case 11:e._debugOwner||t!==""||(t+=mn(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var o=Me(a);o!==""&&(t+=`
35
+ `+o)}}else if(e.debugStack!=null){var i=e.debugStack;(e=e.owner)&&i&&(t+=`
36
+ `+Me(i))}else break;var c=t}catch(h){c=`
37
+ Error generating stack: `+h.message+`
38
+ `+h.stack}return c}function ue(e,t,n,a,o,i,c){var h=ea;dl(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,o,i,c)):t(n,a,o,i,c)}finally{dl(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function dl(e){$.getCurrentStack=e===null?null:Na,bo=!1,ea=e}function Ct(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Hn(e){try{return Aa(e),!1}catch{return!0}}function Aa(e){return""+e}function it(e,t){if(Hn(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,Ct(e)),Aa(e)}function Nt(e,t){if(Hn(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,Ct(e)),Aa(e)}function hl(e){if(Hn(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.",Ct(e)),Aa(e)}function ts(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{mi=t.inject(e),vn=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function pe(e){if(typeof dT=="function"&&hT(e),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(mi,e)}catch(t){vo||(vo=!0,console.error("React instrumentation encountered an error: %o",t))}}function pl(e){return e>>>=0,e===0?32:31-(pT(e)/mT|0)|0}function sa(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 Ao(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var h=a&134217727;return h!==0?(a=h&~i,a!==0?o=sa(a):(c&=h,c!==0?o=sa(c):n||(n=h&~e,n!==0&&(o=sa(n))))):(h=a&~i,h!==0?o=sa(h):c!==0?o=sa(c):n||(n=a&~e,n!==0&&(o=sa(n)))),o===0?0:t!==0&&t!==o&&(t&i)===0&&(i=o&-o,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:o}function Fa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ua(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 _a(){var e=df;return df<<=1,(df&62914560)===0&&(df=4194304),e}function ml(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ca(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function kn(e,t,n,a,o,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 h=e.entanglements,g=e.expirationTimes,y=e.hiddenUpdates;for(n=c&~n;0<n;){var A=31-Cn(n),_=1<<A;h[A]=0,g[A]=-1;var O=y[A];if(O!==null)for(y[A]=null,A=0;A<O.length;A++){var H=O[A];H!==null&&(H.lane&=-536870913)}n&=~_}a!==0&&Rn(e,a,0),i!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function Rn(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Cn(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function gl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Cn(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function _o(e,t){var n=t&-t;return n=(n&42)!==0?1:fa(n),(n&(e.suspendedLanes|t))!==0?0:n}function fa(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 Mo(e,t,n){if(So)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-Cn(n),o=1<<a;e[a].add(t),n&=~o}}function gn(e,t){if(So)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var o=31-Cn(t);e=1<<o,o=n[o],0<o.size&&(o.forEach(function(i){var c=i.alternate;c!==null&&a.has(c)||a.add(i)}),o.clear()),t&=~e}}function Uo(e){return e&=-e,pa<e?Eo<e?(e&134217727)!==0?Qo:hf:Eo:pa}function Ma(){var e=ft.p;return e!==0?e:(e=window.event,e===void 0?Qo:m0(e.type))}function v(e,t){var n=ft.p;try{return ft.p=e,t()}finally{ft.p=n}}function z(e){delete e[dn],delete e[Nn],delete e[Gp],delete e[gT],delete e[yT]}function F(e){var t=e[dn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zl]||n[dn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=t0(e);e!==null;){if(n=e[dn])return n;e=t0(e)}return t}e=n,n=e.parentNode}return null}function te(e){if(e=e[dn]||e[zl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function me(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function je(e){var t=e[_0];return t||(t=e[_0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ve(e){e[ks]=!0}function Ie(e,t){Be(e,t),Be(e+"Capture",t)}function Be(e,t){xr[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),xr[e]=t;var n=e.toLowerCase();for(Xp[n]=e,e==="onDoubleClick"&&(Xp.ondblclick=e),e=0;e<t.length;e++)M0.add(t[e])}function en(e,t){bT[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 Tn(e){return Ba.call(z0,e)?!0:Ba.call(U0,e)?!1:vT.test(e)?z0[e]=!0:(U0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function zo(e,t,n){if(Tn(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:(it(n,t),e===""+n?n:e)}}function Lo(e,t,n){if(Tn(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}}it(n,t),e.setAttribute(t,""+n)}}function Kr(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}it(n,t),e.setAttribute(t,""+n)}}function Ua(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}it(a,n),e.setAttributeNS(t,n,""+a)}}function D(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return hl(e),e;default:return""}}function L(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B(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 o=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(c){hl(c),n=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(c){hl(c),n=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function P(e){if(!e._valueTracker){var t=L(e)?"checked":"value";e._valueTracker=B(e,t,""+e[t])}}function ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=L(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Se(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 re(e){return e.replace(ST,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function De(e,t){t.checked===void 0||t.defaultChecked===void 0||j0||(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",Wt()||"A component",t.type),j0=!0),t.value===void 0||t.defaultValue===void 0||L0||(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",Wt()||"A component",t.type),L0=!0)}function ge(e,t,n,a,o,i,c,h){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?(it(c,"type"),e.type=c):e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+D(t)):e.value!==""+D(t)&&(e.value=""+D(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?Ae(e,c,D(t)):n!=null?Ae(e,c,D(n)):a!=null&&e.removeAttribute("value"),o==null&&i!=null&&(e.defaultChecked=!!i),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(it(h,"name"),e.name=""+D(h)):e.removeAttribute("name")}function _e(e,t,n,a,o,i,c,h){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(it(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){P(e);return}n=n!=null?""+D(n):"",t=t!=null?""+D(t):n,h||t===e.value||(e.value=t),e.defaultValue=t}a=a??o,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=h?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(it(c,"name"),e.name=c),P(e)}function Ae(e,t,n){t==="number"&&Se(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Re(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Np.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||k0||(k0=!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||V0||(V0=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||H0||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),H0=!0)}function st(){var e=Wt();return e?`
39
+
40
+ Check the render method of \``+e+"`.":""}function Ke(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&a&&(e[n].defaultSelected=!0)}else{for(n=""+D(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Et(e,t){for(e=0;e<$0.length;e++){var n=$0[e];if(t[n]!=null){var a=Kt(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,st()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,st())}}t.value===void 0||t.defaultValue===void 0||B0||(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"),B0=!0)}function jt(e,t){t.value===void 0||t.defaultValue===void 0||Y0||(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",Wt()||"A component"),Y0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function tn(e,t,n){if(t!=null&&(t=""+D(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+D(n):""}function ut(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(Kt(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=D(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),P(e)}function Dn(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Dn(e.children[0],t):e}function Ht(e){return" "+" ".repeat(e)}function da(e){return"+ "+" ".repeat(e)}function yn(e){return"- "+" ".repeat(e)}function Qn(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 jo(e,t){return q0.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 Ka(e,t,n){var a=120-2*n;if(t===null)return da(n)+jo(e,a)+`
41
+ `;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>a-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),da(n)+jo(e,a)+`
42
+ `+yn(n)+jo(t,a)+`
43
+ `}return Ht(n)+jo(e,a)+`
44
+ `}function za(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Pa(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(Kt(e))return"[...]";if(e.$$typeof===go)return(t=U(e.type))?"<"+t+">":"<...>";var n=za(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var o=JSON.stringify(a);if(o!=='"'+a+'"'&&(a=o),t-=a.length-2,o=Pa(e[a],15>t?t:15),t-=o.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+o}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function La(e,t){return typeof e!="string"||q0.test(e)?"{"+Pa(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function et(e,t,n){var a=120-n.length-e.length,o=[],i;for(i in t)if(t.hasOwnProperty(i)&&i!=="children"){var c=La(t[i],120-n.length-i.length-1);a-=i.length+c.length+2,o.push(i+"="+c)}return o.length===0?n+"<"+e+`>
45
+ `:0<a?n+"<"+e+" "+o.join(" ")+`>
46
+ `:n+"<"+e+`
47
+ `+n+" "+o.join(`
48
+ `+n+" ")+`
49
+ `+n+`>
50
+ `}function nn(e,t,n){var a="",o=Fe({},t),i;for(i in e)if(e.hasOwnProperty(i)){delete o[i];var c=120-2*n-i.length-2,h=Pa(e[i],c);t.hasOwnProperty(i)?(c=Pa(t[i],c),a+=da(n)+i+": "+h+`
51
+ `,a+=yn(n)+i+": "+c+`
52
+ `):a+=da(n)+i+": "+h+`
53
+ `}for(var g in o)o.hasOwnProperty(g)&&(e=Pa(o[g],120-2*n-g.length-2),a+=yn(n)+g+": "+e+`
54
+ `);return a}function yl(e,t,n,a){var o="",i=new Map;for(y in n)n.hasOwnProperty(y)&&i.set(y.toLowerCase(),y);if(i.size===1&&i.has("children"))o+=et(e,t,Ht(a));else{for(var c in t)if(t.hasOwnProperty(c)&&c!=="children"){var h=120-2*(a+1)-c.length-1,g=i.get(c.toLowerCase());if(g!==void 0){i.delete(c.toLowerCase());var y=t[c];g=n[g];var A=La(y,h);h=La(g,h),typeof y=="object"&&y!==null&&typeof g=="object"&&g!==null&&za(y)==="Object"&&za(g)==="Object"&&(2<Object.keys(y).length||2<Object.keys(g).length||-1<A.indexOf("...")||-1<h.indexOf("..."))?o+=Ht(a+1)+c+`={{
55
+ `+nn(y,g,a+2)+Ht(a+1)+`}}
56
+ `:(o+=da(a+1)+c+"="+A+`
57
+ `,o+=yn(a+1)+c+"="+h+`
58
+ `)}else o+=Ht(a+1)+c+"="+La(t[c],h)+`
59
+ `}i.forEach(function(_){if(_!=="children"){var O=120-2*(a+1)-_.length-1;o+=yn(a+1)+_+"="+La(n[_],O)+`
60
+ `}}),o=o===""?Ht(a)+"<"+e+`>
61
+ `:Ht(a)+"<"+e+`
62
+ `+o+Ht(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),o+=Ka(i,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+Ka(""+t,null,a+1):o+Ka(""+t,void 0,a+1)),o}function Ia(e,t){var n=Qn(e);if(n===null){for(n="",e=e.child;e;)n+=Ia(e,t),e=e.sibling;return n}return Ht(t)+"<"+n+`>
64
+ `}function xt(e,t){var n=Dn(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Ht(t)+`...
65
+ `+xt(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var o=0;o<a.length;o++){var i=a[o].name;typeof i=="string"&&(n+=Ht(t)+"<"+i+`>
66
+ `,t++)}if(a="",o=e.fiber.pendingProps,e.fiber.tag===6)a=Ka(o,e.serverProps,t),t++;else if(i=Qn(e.fiber),i!==null)if(e.serverProps===void 0){a=t;var c=120-2*a-i.length-2,h="";for(y in o)if(o.hasOwnProperty(y)&&y!=="children"){var g=La(o[y],15);if(c-=y.length+g.length+2,0>c){h+=" ...";break}h+=" "+y+"="+g}a=Ht(a)+"<"+i+h+`>
67
+ `,t++}else e.serverProps===null?(a=et(i,o,da(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=yl(i,o,e.serverProps,t),t++);var y="";for(o=e.fiber.child,i=0;o&&i<e.children.length;)c=e.children[i],c.fiber===o?(y+=xt(c,t),i++):y+=Ia(o,t),o=o.sibling;for(o&&0<e.children.length&&(y+=Ht(t)+`...
68
+ `),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)i=o[e],y=typeof i=="string"?y+(yn(t)+jo(i,120-2*t)+`
69
+ `):y+et(i.type,i.props,yn(t));return n+a+y}function bl(e){try{return`
70
+
71
+ `+xt(e,0)}catch{return""}}function ns(e,t,n){for(var a=t,o=null,i=0;a;)a===e&&(i=0),o={fiber:a,children:o!==null?[o]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:i},i++,a=a.return;return o!==null?bl(o).replaceAll(/^[+-]/gm,">"):""}function tc(e,t){var n=Fe({},e||X0),a={tag:t};return G0.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),xT.indexOf(t)!==-1&&(n.pTagInButtonScope=null),ET.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 $g(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 wT.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 yw(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 Yg(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 Ad(e,t){t=t||X0;var n=t.current;if(t=(n=$g(e,n&&n.tag,t.implicitRootScope)?null:n)?null:yw(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,pf[t])return!1;pf[t]=!0;var o=(t=ea)?Yg(t.return,a):null,i=t!==null&&o!==null?ns(o,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,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||ue(o,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||$g("#text",t,!1))return!0;if(n="#text|"+t,pf[n])return!1;pf[n]=!0;var a=(n=ea)?Yg(n,t):null;return n=n!==null&&a!==null?ns(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 as(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function bw(e){return e.replace(DT,function(t,n){return n.toUpperCase()})}function qg(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?gi.hasOwnProperty(t)&&gi[t]||(gi[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,bw(t.replace(TT,"ms-")))):RT.test(t)?gi.hasOwnProperty(t)&&gi[t]||(gi[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!J0.test(n)||Zp.hasOwnProperty(n)&&Zp[n]||(Zp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(J0,""))),typeof n=="number"&&(isNaN(n)?F0||(F0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||K0||(K0=!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||P0.has(t)?t==="float"?e.cssFloat=n:(Nt(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Gg(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 o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var i=Qp[o]||[o],c=0;c<i.length;c++)a[i[c]]=o}for(var h in t)if(t.hasOwnProperty(h)&&(!n||n[h]!==t[h]))for(o=Qp[h]||[h],i=0;i<o.length;i++)a[o[i]]=h;h={};for(var g in t)for(o=Qp[g]||[g],i=0;i<o.length;i++)h[o[i]]=g;g={};for(var y in a)if(o=a[y],(i=h[y])&&o!==i&&(c=o+","+i,!g[c])){g[c]=!0,c=console;var A=t[o];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.",A==null||typeof A=="boolean"||A===""?"Removing":"Updating",o,i)}}for(var _ in n)!n.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var O in t)y=t[O],t.hasOwnProperty(O)&&n[O]!==y&&qg(e,O,y)}else for(a in t)t.hasOwnProperty(a)&&qg(e,a,t[a])}function os(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 Xg(e){return OT.get(e)||e}function vw(e,t){if(Ba.call(bi,t)&&bi[t])return!0;if(NT.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=I0.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),bi[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),bi[t]=!0}if(CT.test(t)){if(e=t.toLowerCase(),e=I0.hasOwnProperty(e)?e:null,e==null)return bi[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),bi[t]=!0)}return!0}function Sw(e,t){var n=[],a;for(a in t)vw(e,a)||n.push(a);t=n.map(function(o){return"`"+o+"`"}).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 Ew(e,t,n,a){if(Ba.call(An,t)&&An[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="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."),An[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(o)?e[o]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),An[t]=!0;if(eS.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),An[t]=!0}else if(eS.test(t))return AT.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),An[t]=!0;if(_T.test(t)||MT.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),An[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),An[t]=!0;if(o==="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),An[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),An[t]=!0;if(gf.hasOwnProperty(o)){if(o=gf[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),An[t]=!0}else if(t!==o)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,o),An[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 o=t.toLowerCase().slice(0,5),o==="data-"||o==="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),An[t]=!0)}case"function":case"symbol":return An[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),An[t]=!0}}return!0}function xw(e,t,n){var a=[],o;for(o in t)Ew(e,o,t[o],n)||a.push(o);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 ls(e){return UT.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ho(){}function _d(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Qg(e){var t=te(e);if(t&&(e=t.stateNode)){var n=e[Nn]||null;e:switch(e=t.stateNode,t.type){case"input":if(ge(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(it(t,"name"),n=n.querySelectorAll('input[name="'+re(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Nn]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");ge(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&ee(a)}break e;case"textarea":tn(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ke(e,!!n.multiple,t,!1)}}}function Zg(e,t,n){if(Jp)return e(t,n);Jp=!0;try{var a=e(t);return a}finally{if(Jp=!1,(vi!==null||Si!==null)&&(ri(),vi&&(t=vi,e=Si,Si=vi=null,Qg(t),e)))for(t=0;t<e.length;t++)Qg(e[t])}}function rs(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Nn]||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 Jg(){if(yf)return yf;var e,t=Kp,n=t.length,a,o="value"in Ll?Ll.value:Ll.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var c=n-e;for(a=1;a<=c&&t[n-a]===o[i-a];a++);return yf=o.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 Fg(){return!1}function Vn(e){function t(n,a,o,i,c){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(i):i[h]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?oc:Fg,this.isPropagationStopped=Fg,this}return Fe(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 ww(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=QT[e])?!!t[e]:!1}function Md(){return ww}function Kg(e,t){switch(e){case"keyup":return oD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==oS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Rw(e,t){switch(e){case"compositionend":return Pg(t);case"keypress":return t.which!==rS?null:(sS=!0,iS);case"textInput":return e=t.data,e===iS&&sS?null:e;default:return null}}function Tw(e,t){if(Ei)return e==="compositionend"||!em&&Kg(e,t)?(e=Jg(),yf=Kp=Ll=null,Ei=!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 lS&&t.locale!=="ko"?null:t.data;default:return null}}function Ig(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rD[e.type]:t==="textarea"}function Dw(e){if(!xo)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 Wg(e,t,n,a){vi?Si?Si.push(a):Si=[a]:vi=a,t=Kc(t,"onChange"),0<t.length&&(n=new bf("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function Ow(e){Lv(e,0)}function lc(e){var t=me(e);if(ee(t))return e}function ey(e,t){if(e==="change")return t}function ty(){Gs&&(Gs.detachEvent("onpropertychange",ny),Xs=Gs=null)}function ny(e){if(e.propertyName==="value"&&lc(Xs)){var t=[];Wg(t,Xs,e,_d(e)),Zg(Ow,t)}}function Cw(e,t,n){e==="focusin"?(ty(),Gs=t,Xs=n,Gs.attachEvent("onpropertychange",ny)):e==="focusout"&&ty()}function Nw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return lc(Xs)}function Aw(e,t){if(e==="click")return lc(t)}function _w(e,t){if(e==="input"||e==="change")return lc(t)}function Mw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function is(e,t){if(_n(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 o=n[a];if(!Ba.call(t,o)||!_n(e[o],t[o]))return!1}return!0}function ay(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oy(e,t){var n=ay(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=ay(n)}}function ly(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ly(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ry(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Se(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=Se(e.document)}return t}function Ud(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 iy(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nm||xi==null||xi!==Se(a)||(a=xi,"selectionStart"in a&&Ud(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}),Qs&&is(Qs,a)||(Qs=a,a=Kc(tm,"onSelect"),0<a.length&&(t=new bf("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=xi)))}function sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function ur(e){if(am[e])return am[e];if(!wi[e])return e;var t=wi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in cS)return am[e]=t[n];return e}function ja(e,t){mS.set(e,t),Ie(t,[e])}function Uw(e){for(var t=Sf,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(Kt(a)&&a.length===2&&typeof a[0]=="string"){if(t!==Sf&&t!==sm)return rm;t=sm}else return rm;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==Sf&&t!==im)return rm;t=im}}return t}function zd(e,t,n,a){for(var o in e)Ba.call(e,o)&&o[0]!=="_"&&Wa(o,e[o],t,n,a)}function Wa(e,t,n,a,o){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===go){var i=U(t.type)||"…",c=t.key;t=t.props;var h=Object.keys(t),g=h.length;if(c==null&&g===0){t="<"+i+" />";break}if(3>a||g===1&&h[0]==="children"&&c==null){t="<"+i+" … />";break}n.push([o+"  ".repeat(a)+e,"<"+i]),c!==null&&Wa("key",c,n,a+1,o),e=!1;for(var y in t)y==="children"?t.children!=null&&(!Kt(t.children)||0<t.children.length)&&(e=!0):Ba.call(t,y)&&y[0]!=="_"&&Wa(y,t[y],n,a+1,o);n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),i==="Array"){if(y=Uw(t),y===im||y===Sf){t=JSON.stringify(t);break}else if(y===sm){for(n.push([o+"  ".repeat(a)+e,""]),e=0;e<t.length;e++)i=t[e],Wa(i[0],i[1],n,a+1,o);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,Wa(e,t.value,n,a,o),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,Wa(e,t.reason,n,a,o),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(a)+e,"Promise"]);return}i==="Object"&&(y=Object.getPrototypeOf(t))&&typeof y.constructor=="function"&&(i=y.constructor.name),n.push([o+"  ".repeat(a)+e,i==="Object"?3>a?"":"…":i]),3>a&&zd(t,n,a+1,o);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===hD?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([o+"  ".repeat(a)+e,t])}function sy(e,t,n,a){var o=!0;for(c in e)c in t||(n.push([Ef+"  ".repeat(a)+c,"…"]),o=!1);for(var i in t)if(i in e){var c=e[i],h=t[i];if(c!==h){if(a===0&&i==="children")o="  ".repeat(a)+i,n.push([Ef+o,"…"],[xf+o,"…"]);else{if(!(3<=a)){if(typeof c=="object"&&typeof h=="object"&&c!==null&&h!==null&&c.$$typeof===h.$$typeof)if(h.$$typeof===go){if(c.type===h.type&&c.key===h.key){c=U(h.type)||"…",o="  ".repeat(a)+i,c="<"+c+" … />",n.push([Ef+o,c],[xf+o,c]),o=!1;continue}}else{var g=Object.prototype.toString.call(c),y=Object.prototype.toString.call(h);if(g===y&&(y==="[object Object]"||y==="[object Array]")){g=[bS+"  ".repeat(a)+i,y==="[object Array]"?"Array":""],n.push(g),y=n.length,sy(c,h,n,a+1)?y===n.length&&(g[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof c=="function"&&typeof h=="function"&&c.name===h.name&&c.length===h.length&&(g=Function.prototype.toString.call(c),y=Function.prototype.toString.call(h),g===y)){c=h.name===""?"() => {}":h.name+"() {}",n.push([bS+"  ".repeat(a)+i,c+" Referentially unequal function closure. Consider memoization."]);continue}}Wa(i,c,n,a,Ef),Wa(i,h,n,a,xf)}o=!1}}else n.push([xf+"  ".repeat(a)+i,"…"]),o=!1;return o}function Ha(e){ot=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function eo(e,t,n,a){wt&&(Hl.start=t,Hl.end=n,Zo.color="warning",Zo.tooltipText=a,Zo.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,Hl)):performance.measure(a,Hl))}function rc(e,t,n){eo(e,t,n,"Reconnect")}function ic(e,t,n,a,o){var i=X(e);if(i!==null&&wt){var c=e.alternate,h=e.actualDuration;if(c===null||c.child!==e.child)for(var g=e.child;g!==null;g=g.sibling)h-=g.actualDuration;a=.5>h?a?"tertiary-light":"primary-light":10>h?a?"tertiary":"primary":100>h?a?"tertiary-dark":"primary-dark":"error";var y=e.memoizedProps;h=e._debugTask,y!==null&&c!==null&&c.memoizedProps!==y?(g=[pD],y=sy(c.memoizedProps,y,g,0),1<g.length&&(y&&!jl&&(c.lanes&o)===0&&100<e.actualDuration?(jl=!0,g[0]=mD,Zo.color="warning",Zo.tooltipText=vS):(Zo.color=a,Zo.tooltipText=i),Zo.properties=g,Hl.start=t,Hl.end=n,h!=null?h.run(performance.measure.bind(performance,"​"+i,Hl)):performance.measure("​"+i,Hl))):h!=null?h.run(console.timeStamp.bind(console,i,t,n,ma,void 0,a)):console.timeStamp(i,t,n,ma,void 0,a)}}function Ld(e,t,n,a){if(wt){var o=X(e);if(o!==null){for(var i=null,c=[],h=0;h<a.length;h++){var g=a[h];i==null&&g.source!==null&&(i=g.source._debugTask),g=g.value,c.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e.key!==null&&Wa("key",e.key,c,0,""),e.memoizedProps!==null&&zd(e.memoizedProps,c,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:ma,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:c}}},i?i.run(performance.measure.bind(performance,"​"+o,e)):performance.measure("​"+o,e)}}}function to(e,t,n,a,o){if(o!==null){if(wt){var i=X(e);if(i!==null){a=[];for(var c=0;c<o.length;c++){var h=o[c].value;a.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e.key!==null&&Wa("key",e.key,a,0,""),e.memoizedProps!==null&&zd(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:ma,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=X(e),i!==null&&wt&&(o=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,ma,void 0,o)):console.timeStamp(i,t,n,ma,void 0,o))}function zw(e,t,n,a){if(wt&&!(t<=e)){var o=(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,ot,nt,o)):console.timeStamp(n,e,t,ot,nt,o)}}function uy(e,t,n,a){!wt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,ot,nt,n)):console.timeStamp("Prewarm",e,t,ot,nt,n))}function cy(e,t,n,a){!wt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,ot,nt,n)):console.timeStamp("Suspended",e,t,ot,nt,n))}function Lw(e,t,n,a,o,i){if(wt&&!(t<=e)){n=[];for(var c=0;c<a.length;c++){var h=a[c].value;n.push(["Recoverable Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:ot,trackGroup:nt,tooltipText:o?"Hydration Failed":"Recovered after Error",properties:n}}},i?i.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function jd(e,t,n,a){!wt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,ot,nt,"error")):console.timeStamp("Errored",e,t,ot,nt,"error"))}function jw(e,t,n,a){!wt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,ot,nt,"secondary-light")):console.timeStamp(n,e,t,ot,nt,"secondary-light"))}function fy(e,t,n,a,o){if(wt&&!(t<=e)){for(var i=[],c=0;c<n.length;c++){var h=n[c].value;i.push(["Error",typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h)])}e={start:e,end:t,detail:{devtools:{color:"error",track:ot,trackGroup:nt,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:i}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Hd(e,t,n){!wt||t<=e||console.timeStamp("Animating",e,t,ot,nt,"secondary-dark")}function sc(){for(var e=Ri,t=um=Ri=0;t<e;){var n=ga[t];ga[t++]=null;var a=ga[t];ga[t++]=null;var o=ga[t];ga[t++]=null;var i=ga[t];if(ga[t++]=null,a!==null&&o!==null){var c=a.pending;c===null?o.next=o:(o.next=c.next,c.next=o),a.pending=o}i!==0&&dy(n,o,i)}}function uc(e,t,n,a){ga[Ri++]=e,ga[Ri++]=t,ga[Ri++]=n,ga[Ri++]=a,um|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function kd(e,t,n,a){return uc(e,t,n,a),cc(e)}function bn(e,t){return uc(e,null,null,t),cc(e)}function dy(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!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&Zs||(o=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,o&&t!==null&&(o=31-Cn(n),e=i.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),i):null}function cc(e){if(Su>_D)throw Vr=Su=0,Eu=Ym=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.");Vr>MD&&(Vr=0,Eu=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&&Cv(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Cv(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function cr(e){if(ya===null)return e;var t=ya(e);return t===void 0?e:t.current}function Vd(e){if(ya===null)return e;var t=ya(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=cr(e.render),e.render!==t)?(t={$$typeof:Ls,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function hy(e,t){if(ya===null)return!1;var n=e.elementType;t=t.type;var a=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||o===Wn)&&(a=!0);break;case 11:(o===Ls||o===Wn)&&(a=!0);break;case 14:case 15:(o===sf||o===Wn)&&(a=!0);break;default:return!1}return!!(a&&(e=ya(n),e!==void 0&&e===ya(t)))}function py(e){ya!==null&&typeof WeakSet=="function"&&(Ti===null&&(Ti=new WeakSet),Ti.add(e))}function my(e,t,n){do{var a=e,o=a.alternate,i=a.child,c=a.sibling,h=a.tag;a=a.type;var g=null;switch(h){case 0:case 15:case 1:g=a;break;case 11:g=a.render}if(ya===null)throw Error("Expected resolveFamily to be set during hot reload.");var y=!1;if(a=!1,g!==null&&(g=ya(g),g!==void 0&&(n.has(g)?a=!0:t.has(g)&&(h===1?a=!0:y=!0))),Ti!==null&&(Ti.has(e)||o!==null&&Ti.has(o))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||y)&&(o=bn(e,2),o!==null&&Mt(o,e,2)),i===null||a||my(i,t,n),c===null)break;e=c}while(!0)}function Hw(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,SS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Bd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ko(e,t){var n=e.alternate;switch(n===null?(n=x(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=cr(e.type);break;case 1:n.type=cr(e.type);break;case 11:n.type=Vd(e.type)}return n}function gy(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 $d(e,t,n,a,o,i){var c=0,h=e;if(typeof e=="function")Bd(e)&&(c=1),h=cr(h);else if(typeof e=="string")c=le(),c=QR(e,n,c)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case zp:return t=x(31,n,t,o),t.elementType=zp,t.lanes=i,t;case hi:return fr(n.children,o,i,t);case rf:c=8,o|=Sn,o|=$a;break;case Ap:return e=n,a=o,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=x(12,e,t,a|Ge),t.elementType=Ap,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Mp:return t=x(13,n,t,o),t.elementType=Mp,t.lanes=i,t;case Up:return t=x(19,n,t,o),t.elementType=Up,t.lanes=i,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yo:c=10;break e;case _p:c=9;break e;case Ls:c=11,h=Vd(h);break e;case sf:c=14;break e;case Wn:c=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" 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":Kt(e)?n="array":e!==void 0&&e.$$typeof===go?(n="<"+(U(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(c=a?ae(a):null)&&(h+=`
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+"."+h)),h=null}return t=x(c,n,t,o),t.elementType=e,t.type=h,t.lanes=i,t._debugOwner=a,t}function fc(e,t,n){return t=$d(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function fr(e,t,n,a){return e=x(7,e,a,t),e.lanes=n,e}function Yd(e,t,n){return e=x(6,e,null,t),e.lanes=n,e}function yy(e){var t=x(18,null,null,ze);return t.stateNode=e,t}function qd(e,t,n){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zn(e,t){if(typeof e=="object"&&e!==null){var n=cm.get(e);return n!==void 0?n:(t={value:e,source:t,stack:rt(t)},cm.set(e,t),t)}return{value:e,source:t,stack:rt(t)}}function Vo(e,t){vl(),Di[Oi++]=Js,Di[Oi++]=wf,wf=e,Js=t}function by(e,t,n){vl(),ba[va++]=Fo,ba[va++]=Ko,ba[va++]=Rr,Rr=e;var a=Fo;e=Ko;var o=32-Cn(a)-1;a&=~(1<<o),n+=1;var i=32-Cn(t)+o;if(30<i){var c=o-o%5;i=(a&(1<<c)-1).toString(32),a>>=c,o-=c,Fo=1<<32-Cn(t)+o|n<<o|a,Ko=i+e}else Fo=1<<i|n<<o|a,Ko=e}function Gd(e){vl(),e.return!==null&&(Vo(e,1),by(e,1,0))}function Xd(e){for(;e===wf;)wf=Di[--Oi],Di[Oi]=null,Js=Di[--Oi],Di[Oi]=null;for(;e===Rr;)Rr=ba[--va],ba[va]=null,Ko=ba[--va],ba[va]=null,Fo=ba[--va],ba[va]=null}function vy(){return vl(),Rr!==null?{id:Fo,overflow:Ko}:null}function Sy(e,t){vl(),ba[va++]=Fo,ba[va++]=Ko,ba[va++]=Rr,Fo=t.id,Ko=t.overflow,Rr=e}function vl(){We||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function dr(e,t){if(e.return===null){if(ta===null)ta={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ta.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ta.distanceFromLeaf>t&&(ta.distanceFromLeaf=t)}return ta}var n=dr(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 Ey(){We&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function dc(e,t){wo||(e=dr(e,0),e.serverProps=null,t!==null&&(t=Wv(t),e.serverTail.push(t)))}function Sl(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=ta;throw a!==null&&(ta=null,n=bl(a)),ss(Zn(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)),fm}function xy(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[dn]=e,t[Nn]=a,fp(n,a),n){case"dialog":tt("cancel",t),tt("close",t);break;case"iframe":case"object":case"embed":tt("load",t);break;case"video":case"audio":for(n=0;n<xu.length;n++)tt(xu[n],t);break;case"source":tt("error",t);break;case"img":case"image":case"link":tt("error",t),tt("load",t);break;case"details":tt("toggle",t);break;case"input":en("input",a),tt("invalid",t),De(t,a),_e(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":Re(t,a);break;case"select":en("select",a),tt("invalid",t),Et(t,a);break;case"textarea":en("textarea",a),tt("invalid",t),jt(t,a),ut(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||Vv(t.textContent,n)?(a.popover!=null&&(tt("beforetoggle",t),tt("toggle",t)),a.onScroll!=null&&tt("scroll",t),a.onScrollEnd!=null&&tt("scrollend",t),a.onClick!=null&&(t.onclick=Ho),t=!0):t=!1,t||Sl(e,!0)}function wy(e){for(hn=e.return;hn;)switch(hn.tag){case 5:case 31:case 13:Sa=!1;return;case 27:case 3:Sa=!0;return;default:hn=hn.return}}function Pr(e){if(e!==hn)return!1;if(!We)return wy(e),We=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||gp(e.type,e.memoizedProps)),n=!n),n&&Rt){for(n=Rt;n;){var a=dr(e,0),o=Wv(n);a.serverTail.push(o),n=o.type==="Suspense"?Sp(n):In(n.nextSibling)}Sl(e)}if(wy(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.");Rt=Sp(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.");Rt=Sp(e)}else t===27?(t=Rt,Al(e.type)?(e=eg,eg=null,Rt=e):Rt=t):Rt=hn?In(e.stateNode.nextSibling):null;return!0}function hr(){Rt=hn=null,wo=We=!1}function Qd(){var e=Vl;return e!==null&&(Ln===null?Ln=e:Ln.push.apply(Ln,e),Vl=null),e}function ss(e){Vl===null?Vl=[e]:Vl.push(e)}function Zd(){var e=ta;if(e!==null){ta=null;for(var t=bl(e);0<e.children.length;)e=e.children[0];ue(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(){Ci=Rf=null,Ni=!1}function El(e,t,n){ce(dm,t._currentValue,e),t._currentValue=n,ce(hm,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==xS&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=xS}function Bo(e,t){e._currentValue=dm.current;var n=hm.current;I(hm,t),e._currentRenderer=n,I(dm,t)}function Jd(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 Fd(e,t,n,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var i=o.dependencies;if(i!==null){var c=o.child;i=i.firstContext;e:for(;i!==null;){var h=i;i=o;for(var g=0;g<t.length;g++)if(h.context===t[g]){i.lanes|=n,h=i.alternate,h!==null&&(h.lanes|=n),Jd(i.return,n,e),a||(c=null);break e}i=h.next}}else if(o.tag===18){if(c=o.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),Jd(c,n,e),c=null}else c=o.child;if(c!==null)c.return=o;else for(c=o;c!==null;){if(c===e){c=null;break}if(o=c.sibling,o!==null){o.return=c.return,c=o;break}c=c.return}o=c}}function Ir(e,t,n,a){e=null;for(var o=t,i=!1;o!==null;){if(!i){if((o.flags&524288)!==0)i=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var c=o.alternate;if(c===null)throw Error("Should have a current fiber. This is a bug in React.");if(c=c.memoizedProps,c!==null){var h=o.type;_n(o.pendingProps.value,c.value)||(e!==null?e.push(h):e=[h])}}else if(o===uf.current){if(c=o.alternate,c===null)throw Error("Should have a current fiber. This is a bug in React.");c.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(Ou):e=[Ou])}o=o.return}e!==null&&Fd(t,e,n,a),t.flags|=262144}function pc(e){for(e=e.firstContext;e!==null;){if(!_n(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function pr(e){Rf=e,Ci=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Dt(e){return Ni&&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()."),Ry(Rf,e)}function mc(e,t){return Rf===null&&pr(e),Ry(e,t)}function Ry(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ci===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().");Ci=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ci=Ci.next=t;return n}function Kd(){return{controller:new bD,data:new Map,refCount:0}}function mr(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 us(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&&vD(SD,function(){e.controller.abort()})}function no(e,t,n){(e&127)!==0?0>Ro&&(Ro=qt(),Ks=Tf(t),pm=t,n!=null&&(mm=X(n)),(lt&(It|oa))!==sn&&(Ut=!0,$l=Fs),e=As(),t=Ns(),e!==Ai||t!==Ps?Ai=-1.1:t!==null&&($l=Fs),Or=e,Ps=t):(e&4194048)!==0&&0>Ea&&(Ea=qt(),Is=Tf(t),wS=t,n!=null&&(RS=X(n)),0>el)&&(e=As(),t=Ns(),(e!==ql||t!==Cr)&&(ql=-1.1),Yl=e,Cr=t)}function kw(e){if(0>Ro){Ro=qt(),Ks=e._debugTask!=null?e._debugTask:null,(lt&(It|oa))!==sn&&($l=Fs);var t=As(),n=Ns();t!==Ai||n!==Ps?Ai=-1.1:n!==null&&($l=Fs),Or=t,Ps=n}0>Ea&&(Ea=qt(),Is=e._debugTask!=null?e._debugTask:null,0>el)&&(e=As(),t=Ns(),(e!==ql||t!==Cr)&&(ql=-1.1),Yl=e,Cr=t)}function $o(){var e=Tr;return Tr=0,e}function gc(e){var t=Tr;return Tr=e,t}function cs(e){var t=Tr;return Tr+=e,t}function yc(){Ue=Ce=-1.1}function Jn(){var e=Ce;return Ce=-1.1,e}function Fn(e){0<=e&&(Ce=e)}function ao(){var e=At;return At=-0,e}function oo(e){0<=e&&(At=e)}function lo(){var e=Ot;return Ot=null,e}function ro(){var e=Ut;return Ut=!1,e}function Pd(e){Mn=qt(),0>e.actualStartTime&&(e.actualStartTime=Mn)}function Id(e){if(0<=Mn){var t=qt()-Mn;e.actualDuration+=t,e.selfBaseDuration=t,Mn=-1}}function Ty(e){if(0<=Mn){var t=qt()-Mn;e.actualDuration+=t,Mn=-1}}function io(){if(0<=Mn){var e=qt(),t=e-Mn;Mn=-1,Tr+=t,At+=t,Ue=e}}function Dy(e){Ot===null&&(Ot=[]),Ot.push(e),Io===null&&(Io=[]),Io.push(e)}function so(){Mn=qt(),0>Ce&&(Ce=Mn)}function fs(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Vw(e,t){if(eu===null){var n=eu=[];ym=0,Nr=ip(),_i={status:"pending",value:void 0,then:function(a){n.push(a)}}}return ym++,t.then(Oy,Oy),t}function Oy(){if(--ym===0&&(-1<Ea||(el=-1.1),eu!==null)){_i!==null&&(_i.status="fulfilled");var e=eu;eu=null,Nr=0,_i=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Bw(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(a.status="rejected",a.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),a}function Wd(){var e=Ar.current;return e!==null?e:yt.pooledCache}function bc(e,t){t===null?ce(Ar,Ar.current,e):ce(Ar,t.pool,e)}function Cy(){var e=Wd();return e===null?null:{parent:Yt._currentValue,pool:e}}function Ny(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ay(e){return e=e.status,e==="fulfilled"||e==="rejected"}function _y(e,t,n){$.actQueue!==null&&($.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(Ho,Ho),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var o={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:o}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){o.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Uy(e),e;default:if(typeof t.status=="string")t.then(Ho,Ho);else{if(e=yt,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,Uy(e),e}throw Mr=t,iu=!0,Mi}}function xl(e){try{return TD(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Mr=t,iu=!0,Mi):t}}function My(){if(Mr===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Mr;return Mr=null,iu=!1,e}function Uy(e){if(e===Mi||e===Uf)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 un(e){var t=Xe;return e!=null&&(Xe=t===null?e:t.concat(e)),t}function eh(){var e=Xe;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 vc(e,t,n){for(var a=Object.keys(e.props),o=0;o<a.length;o++){var i=a[o];if(i!=="children"&&i!=="key"){t===null&&(t=fc(e,n.mode,0),t._debugInfo=Xe,t.return=n),ue(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=su;return su+=1,Ui===null&&(Ui=Ny()),_y(Ui,e,t)}function ds(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function zy(e,t){throw t.$$typeof===aT?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 Ec(e,t){var n=eh();n!==null?n.run(zy.bind(null,e,t)):zy(e,t)}function Ly(e,t){var n=X(e)||"Component";GS[n]||(GS[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=eh();n!==null?n.run(Ly.bind(null,e,t)):Ly(e,t)}function jy(e,t){var n=X(e)||"Component";XS[n]||(XS[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 wc(e,t){var n=eh();n!==null?n.run(jy.bind(null,e,t)):jy(e,t)}function Hy(e){function t(T,C){if(e){var N=T.deletions;N===null?(T.deletions=[C],T.flags|=16):N.push(C)}}function n(T,C){if(!e)return null;for(;C!==null;)t(T,C),C=C.sibling;return null}function a(T){for(var C=new Map;T!==null;)T.key!==null?C.set(T.key,T):C.set(T.index,T),T=T.sibling;return C}function o(T,C){return T=ko(T,C),T.index=0,T.sibling=null,T}function i(T,C,N){return T.index=N,e?(N=T.alternate,N!==null?(N=N.index,N<C?(T.flags|=67108866,C):N):(T.flags|=67108866,C)):(T.flags|=1048576,C)}function c(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function h(T,C,N,G){return C===null||C.tag!==6?(C=Yd(N,T.mode,G),C.return=T,C._debugOwner=T,C._debugTask=T._debugTask,C._debugInfo=Xe,C):(C=o(C,N),C.return=T,C._debugInfo=Xe,C)}function g(T,C,N,G){var oe=N.type;return oe===hi?(C=A(T,C,N.props.children,G,N.key),vc(N,C,T),C):C!==null&&(C.elementType===oe||hy(C,N)||typeof oe=="object"&&oe!==null&&oe.$$typeof===Wn&&xl(oe)===C.type)?(C=o(C,N.props),ds(C,N),C.return=T,C._debugOwner=N._owner,C._debugInfo=Xe,C):(C=fc(N,T.mode,G),ds(C,N),C.return=T,C._debugInfo=Xe,C)}function y(T,C,N,G){return C===null||C.tag!==4||C.stateNode.containerInfo!==N.containerInfo||C.stateNode.implementation!==N.implementation?(C=qd(N,T.mode,G),C.return=T,C._debugInfo=Xe,C):(C=o(C,N.children||[]),C.return=T,C._debugInfo=Xe,C)}function A(T,C,N,G,oe){return C===null||C.tag!==7?(C=fr(N,T.mode,G,oe),C.return=T,C._debugOwner=T,C._debugTask=T._debugTask,C._debugInfo=Xe,C):(C=o(C,N),C.return=T,C._debugInfo=Xe,C)}function _(T,C,N){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Yd(""+C,T.mode,N),C.return=T,C._debugOwner=T,C._debugTask=T._debugTask,C._debugInfo=Xe,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case go:return N=fc(C,T.mode,N),ds(N,C),N.return=T,T=un(C._debugInfo),N._debugInfo=Xe,Xe=T,N;case di:return C=qd(C,T.mode,N),C.return=T,C._debugInfo=Xe,C;case Wn:var G=un(C._debugInfo);return C=xl(C),T=_(T,C,N),Xe=G,T}if(Kt(C)||Le(C))return N=fr(C,T.mode,N,null),N.return=T,N._debugOwner=T,N._debugTask=T._debugTask,T=un(C._debugInfo),N._debugInfo=Xe,Xe=T,N;if(typeof C.then=="function")return G=un(C._debugInfo),T=_(T,Sc(C),N),Xe=G,T;if(C.$$typeof===yo)return _(T,mc(T,C),N);Ec(T,C)}return typeof C=="function"&&xc(T,C),typeof C=="symbol"&&wc(T,C),null}function O(T,C,N,G){var oe=C!==null?C.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return oe!==null?null:h(T,C,""+N,G);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case go:return N.key===oe?(oe=un(N._debugInfo),T=g(T,C,N,G),Xe=oe,T):null;case di:return N.key===oe?y(T,C,N,G):null;case Wn:return oe=un(N._debugInfo),N=xl(N),T=O(T,C,N,G),Xe=oe,T}if(Kt(N)||Le(N))return oe!==null?null:(oe=un(N._debugInfo),T=A(T,C,N,G,null),Xe=oe,T);if(typeof N.then=="function")return oe=un(N._debugInfo),T=O(T,C,Sc(N),G),Xe=oe,T;if(N.$$typeof===yo)return O(T,C,mc(T,N),G);Ec(T,N)}return typeof N=="function"&&xc(T,N),typeof N=="symbol"&&wc(T,N),null}function H(T,C,N,G,oe){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return T=T.get(N)||null,h(C,T,""+G,oe);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case go:return N=T.get(G.key===null?N:G.key)||null,T=un(G._debugInfo),C=g(C,N,G,oe),Xe=T,C;case di:return T=T.get(G.key===null?N:G.key)||null,y(C,T,G,oe);case Wn:var ke=un(G._debugInfo);return G=xl(G),C=H(T,C,N,G,oe),Xe=ke,C}if(Kt(G)||Le(G))return N=T.get(N)||null,T=un(G._debugInfo),C=A(C,N,G,oe,null),Xe=T,C;if(typeof G.then=="function")return ke=un(G._debugInfo),C=H(T,C,N,Sc(G),oe),Xe=ke,C;if(G.$$typeof===yo)return H(T,C,N,mc(C,G),oe);Ec(C,G)}return typeof G=="function"&&xc(C,G),typeof G=="symbol"&&wc(C,G),null}function ne(T,C,N,G){if(typeof N!="object"||N===null)return G;switch(N.$$typeof){case go:case di:R(T,C,N);var oe=N.key;if(typeof oe!="string")break;if(G===null){G=new Set,G.add(oe);break}if(!G.has(oe)){G.add(oe);break}ue(C,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.",oe)});break;case Wn:N=xl(N),ne(T,C,N,G)}return G}function se(T,C,N,G){for(var oe=null,ke=null,Oe=null,be=C,qe=C=0,Tt=null;be!==null&&qe<N.length;qe++){be.index>qe?(Tt=be,be=null):Tt=be.sibling;var Vt=O(T,be,N[qe],G);if(Vt===null){be===null&&(be=Tt);break}oe=ne(T,Vt,N[qe],oe),e&&be&&Vt.alternate===null&&t(T,be),C=i(Vt,C,qe),Oe===null?ke=Vt:Oe.sibling=Vt,Oe=Vt,be=Tt}if(qe===N.length)return n(T,be),We&&Vo(T,qe),ke;if(be===null){for(;qe<N.length;qe++)be=_(T,N[qe],G),be!==null&&(oe=ne(T,be,N[qe],oe),C=i(be,C,qe),Oe===null?ke=be:Oe.sibling=be,Oe=be);return We&&Vo(T,qe),ke}for(be=a(be);qe<N.length;qe++)Tt=H(be,T,qe,N[qe],G),Tt!==null&&(oe=ne(T,Tt,N[qe],oe),e&&Tt.alternate!==null&&be.delete(Tt.key===null?qe:Tt.key),C=i(Tt,C,qe),Oe===null?ke=Tt:Oe.sibling=Tt,Oe=Tt);return e&&be.forEach(function(sl){return t(T,sl)}),We&&Vo(T,qe),ke}function St(T,C,N,G){if(N==null)throw Error("An iterable object provided no iterator.");for(var oe=null,ke=null,Oe=C,be=C=0,qe=null,Tt=null,Vt=N.next();Oe!==null&&!Vt.done;be++,Vt=N.next()){Oe.index>be?(qe=Oe,Oe=null):qe=Oe.sibling;var sl=O(T,Oe,Vt.value,G);if(sl===null){Oe===null&&(Oe=qe);break}Tt=ne(T,sl,Vt.value,Tt),e&&Oe&&sl.alternate===null&&t(T,Oe),C=i(sl,C,be),ke===null?oe=sl:ke.sibling=sl,ke=sl,Oe=qe}if(Vt.done)return n(T,Oe),We&&Vo(T,be),oe;if(Oe===null){for(;!Vt.done;be++,Vt=N.next())Oe=_(T,Vt.value,G),Oe!==null&&(Tt=ne(T,Oe,Vt.value,Tt),C=i(Oe,C,be),ke===null?oe=Oe:ke.sibling=Oe,ke=Oe);return We&&Vo(T,be),oe}for(Oe=a(Oe);!Vt.done;be++,Vt=N.next())qe=H(Oe,T,be,Vt.value,G),qe!==null&&(Tt=ne(T,qe,Vt.value,Tt),e&&qe.alternate!==null&&Oe.delete(qe.key===null?be:qe.key),C=i(qe,C,be),ke===null?oe=qe:ke.sibling=qe,ke=qe);return e&&Oe.forEach(function(FD){return t(T,FD)}),We&&Vo(T,be),oe}function at(T,C,N,G){if(typeof N=="object"&&N!==null&&N.type===hi&&N.key===null&&(vc(N,null,T),N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case go:var oe=un(N._debugInfo);e:{for(var ke=N.key;C!==null;){if(C.key===ke){if(ke=N.type,ke===hi){if(C.tag===7){n(T,C.sibling),G=o(C,N.props.children),G.return=T,G._debugOwner=N._owner,G._debugInfo=Xe,vc(N,G,T),T=G;break e}}else if(C.elementType===ke||hy(C,N)||typeof ke=="object"&&ke!==null&&ke.$$typeof===Wn&&xl(ke)===C.type){n(T,C.sibling),G=o(C,N.props),ds(G,N),G.return=T,G._debugOwner=N._owner,G._debugInfo=Xe,T=G;break e}n(T,C);break}else t(T,C);C=C.sibling}N.type===hi?(G=fr(N.props.children,T.mode,G,N.key),G.return=T,G._debugOwner=T,G._debugTask=T._debugTask,G._debugInfo=Xe,vc(N,G,T),T=G):(G=fc(N,T.mode,G),ds(G,N),G.return=T,G._debugInfo=Xe,T=G)}return T=c(T),Xe=oe,T;case di:e:{for(oe=N,N=oe.key;C!==null;){if(C.key===N)if(C.tag===4&&C.stateNode.containerInfo===oe.containerInfo&&C.stateNode.implementation===oe.implementation){n(T,C.sibling),G=o(C,oe.children||[]),G.return=T,T=G;break e}else{n(T,C);break}else t(T,C);C=C.sibling}G=qd(oe,T.mode,G),G.return=T,T=G}return c(T);case Wn:return oe=un(N._debugInfo),N=xl(N),T=at(T,C,N,G),Xe=oe,T}if(Kt(N))return oe=un(N._debugInfo),T=se(T,C,N,G),Xe=oe,T;if(Le(N)){if(oe=un(N._debugInfo),ke=Le(N),typeof ke!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Oe=ke.call(N);return Oe===N?(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Oe)!=="[object Generator]")&&(YS||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."),YS=!0):N.entries!==ke||Em||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Em=!0),T=St(T,C,Oe,G),Xe=oe,T}if(typeof N.then=="function")return oe=un(N._debugInfo),T=at(T,C,Sc(N),G),Xe=oe,T;if(N.$$typeof===yo)return at(T,C,mc(T,N),G);Ec(T,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(oe=""+N,C!==null&&C.tag===6?(n(T,C.sibling),G=o(C,oe),G.return=T,T=G):(n(T,C),G=Yd(oe,T.mode,G),G.return=T,G._debugOwner=T,G._debugTask=T._debugTask,G._debugInfo=Xe,T=G),c(T)):(typeof N=="function"&&xc(T,N),typeof N=="symbol"&&wc(T,N),n(T,C))}return function(T,C,N,G){var oe=Xe;Xe=null;try{su=0;var ke=at(T,C,N,G);return Ui=null,ke}catch(Tt){if(Tt===Mi||Tt===Uf)throw Tt;var Oe=x(29,Tt,null,T.mode);Oe.lanes=G,Oe.return=T;var be=Oe._debugInfo=Xe;if(Oe._debugOwner=T._debugOwner,Oe._debugTask=T._debugTask,be!=null){for(var qe=be.length-1;0<=qe;qe--)if(typeof be[qe].stack=="string"){Oe._debugOwner=be[qe],Oe._debugTask=be[qe].debugTask;break}}return Oe}finally{Xe=oe}}}function ky(e,t){var n=Kt(e);return e=!n&&typeof Le(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 th(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nh(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 wl(e){return{lane:e,tag:ZS,payload:null,callback:null,next:null}}function Rl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,wm===a&&!KS){var o=X(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`,o),KS=!0}return(lt&It)!==sn?(o=a.pending,o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=cc(e),dy(e,null,n),t):(uc(e,a,t,n),cc(e))}function hs(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,gl(e,n)}}function Rc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=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?o=i=c:i=i.next=c,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:a.baseState,firstBaseUpdate:o,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 ps(){if(Rm){var e=_i;if(e!==null)throw e}}function ms(e,t,n,a){Rm=!1;var o=e.updateQueue;Gl=!1,wm=o.shared;var i=o.firstBaseUpdate,c=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var g=h,y=g.next;g.next=null,c===null?i=y:c.next=y,c=g;var A=e.alternate;A!==null&&(A=A.updateQueue,h=A.lastBaseUpdate,h!==c&&(h===null?A.firstBaseUpdate=y:h.next=y,A.lastBaseUpdate=g))}if(i!==null){var _=o.baseState;c=0,A=y=g=null,h=i;do{var O=h.lane&-536870913,H=O!==h.lane;if(H?(Qe&O)===O:(a&O)===O){O!==0&&O===Nr&&(Rm=!0),A!==null&&(A=A.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{O=e;var ne=h,se=t,St=n;switch(ne.tag){case JS:if(ne=ne.payload,typeof ne=="function"){Ni=!0;var at=ne.call(St,_,se);if(O.mode&Sn){pe(!0);try{ne.call(St,_,se)}finally{pe(!1)}}Ni=!1,_=at;break e}_=ne;break e;case xm:O.flags=O.flags&-65537|128;case ZS:if(at=ne.payload,typeof at=="function"){if(Ni=!0,ne=at.call(St,_,se),O.mode&Sn){pe(!0);try{at.call(St,_,se)}finally{pe(!1)}}Ni=!1}else ne=at;if(ne==null)break e;_=Fe({},_,ne);break e;case FS:Gl=!0}}O=h.callback,O!==null&&(e.flags|=64,H&&(e.flags|=8192),H=o.callbacks,H===null?o.callbacks=[O]:H.push(O))}else H={lane:O,tag:h.tag,payload:h.payload,callback:h.callback,next:null},A===null?(y=A=H,g=_):A=A.next=H,c|=O;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;H=h,h=H.next,H.next=null,o.lastBaseUpdate=H,o.shared.pending=null}}while(!0);A===null&&(g=_),o.baseState=g,o.firstBaseUpdate=y,o.lastBaseUpdate=A,i===null&&(o.shared.lanes=0),Zl|=c,e.lanes=c,e.memoizedState=_}wm=null}function Vy(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function $w(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Vy(n[e],t)}function By(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Vy(n[e],t)}function $y(e,t){var n=Do;ce(Lf,n,e),ce(zi,t,e),Do=n|t.baseLanes}function ah(e){ce(Lf,Do,e),ce(zi,zi.current,e)}function oh(e){Do=Lf.current,I(zi,e),I(Lf,e)}function Tl(e){var t=e.alternate;ce(kt,kt.current&Li,e),ce(na,e,e),xa===null&&(t===null||zi.current!==null||t.memoizedState!==null)&&(xa=e)}function lh(e){ce(kt,kt.current,e),ce(na,e,e),xa===null&&(xa=e)}function Yy(e){e.tag===22?(ce(kt,kt.current,e),ce(na,e,e),xa===null&&(xa=e)):Dl(e)}function Dl(e){ce(kt,kt.current,e),ce(na,na.current,e)}function Kn(e){I(na,e),xa===e&&(xa=null),I(kt,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||bp(n)||vp(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 Je(){var e=V;Ra===null?Ra=[e]:Ra.push(e)}function K(){var e=V;if(Ra!==null&&(al++,Ra[al]!==e)){var t=X(He);if(!PS.has(t)&&(PS.add(t),Ra!==null)){for(var n="",a=0;a<=al;a++){var o=Ra[a],i=a===al?e:o;for(o=a+1+". "+o;30>o.length;)o+=" ";o+=i+`
108
+ `,n+=o}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 Wr(e){e==null||Kt(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.",V,typeof e)}function Dc(){var e=X(He);WS.has(e)||(WS.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function zt(){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 rh(e,t){if(fu)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.",V),!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`,V,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!_n(e[n],t[n]))return!1;return!0}function ih(e,t,n,a,o,i){tl=i,He=t,Ra=e!==null?e._debugHookTypes:null,al=-1,fu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(i=X(He),Tm.has(i)||(Tm.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,$.H=e!==null&&e.memoizedState!==null?Om:Ra!==null?e1:Dm,zr=i=(t.mode&Sn)!==ze;var c=bm(n,a,o);if(zr=!1,Hi&&(c=sh(t,n,a,o)),i){pe(!0);try{c=sh(t,n,a,o)}finally{pe(!1)}}return qy(e,t),c}function qy(e,t){t._debugHookTypes=Ra,t.dependencies===null?nl!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:nl}):t.dependencies._debugThenableState=nl,$.H=du;var n=gt!==null&&gt.next!==null;if(tl=0,Ra=V=Gt=gt=He=null,al=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Hf=!1,cu=0,nl=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Xt||(e=e.dependencies,e!==null&&pc(e)&&(Xt=!0)),iu?(iu=!1,e=!0):e=!1,e&&(t=X(t)||"Unknown",IS.has(t)||Tm.has(t)||(IS.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 sh(e,t,n,a){He=e;var o=0;do{if(Hi&&(nl=null),cu=0,Hi=!1,o>=OD)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,fu=!1,Gt=gt=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}al=-1,$.H=t1,i=bm(t,n,a)}while(Hi);return i}function Yw(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?gs(t):t,e=e.useState()[0],(gt!==null?gt.memoizedState:null)!==e&&(He.flags|=1024),t}function uh(){var e=kf!==0;return kf=0,e}function ch(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&$a)!==ze?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function fh(e){if(Hf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Hf=!1}tl=0,Ra=Gt=gt=He=null,al=-1,V=null,Hi=!1,cu=kf=0,nl=null}function On(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?He.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function dt(){if(gt===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=gt.next;var t=Gt===null?He.memoizedState:Gt.next;if(t!==null)Gt=t,gt=e;else{if(e===null)throw He.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.");gt=e,e={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Gt===null?He.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function Oc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gs(e){var t=cu;return cu+=1,nl===null&&(nl=Ny()),e=_y(nl,e,t),t=He,(Gt===null?t.memoizedState:Gt.next)===null&&(t=t.alternate,$.H=t!==null&&t.memoizedState!==null?Om:Dm),e}function Ol(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gs(e);if(e.$$typeof===yo)return Dt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function gr(e){var t=null,n=He.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=He.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Oc(),He.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||fu)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=oT;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 ka(e,t){return typeof t=="function"?t(e):t}function dh(e,t,n){var a=On();if(n!==void 0){var o=n(t);if(zr){pe(!0);try{n(t)}finally{pe(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=Zw.bind(null,He,e),[a.memoizedState,e]}function ei(e){var t=dt();return hh(t,gt,e)}function hh(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 o=e.baseQueue,i=a.pending;if(i!==null){if(o!==null){var c=o.next;o.next=i.next,i.next=c}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=i,a.pending=null}if(i=e.baseState,o===null)e.memoizedState=i;else{t=o.next;var h=c=null,g=null,y=t,A=!1;do{var _=y.lane&-536870913;if(_!==y.lane?(Qe&_)===_:(tl&_)===_){var O=y.revertLane;if(O===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null}),_===Nr&&(A=!0);else if((tl&O)===O){y=y.next,O===Nr&&(A=!0);continue}else _={lane:0,revertLane:y.revertLane,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},g===null?(h=g=_,c=i):g=g.next=_,He.lanes|=O,Zl|=O;_=y.action,zr&&n(i,_),i=y.hasEagerState?y.eagerState:n(i,_)}else O={lane:_,revertLane:y.revertLane,gesture:y.gesture,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},g===null?(h=g=O,c=i):g=g.next=O,He.lanes|=_,Zl|=_;y=y.next}while(y!==null&&y!==t);if(g===null?c=i:g.next=h,!_n(i,e.memoizedState)&&(Xt=!0,A&&(n=_i,n!==null)))throw n;e.memoizedState=i,e.baseState=c,e.baseQueue=g,a.lastRenderedState=i}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function ys(e){var t=dt(),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,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var c=o=o.next;do i=e(i,c.action),c=c.next;while(c!==o);_n(i,t.memoizedState)||(Xt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function ph(e,t,n){var a=He,o=On();if(We){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();ji||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),ji=!0)}else{if(i=t(),ji||(n=t(),_n(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ji=!0)),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Qe&127)!==0||Gy(a,t,i)}return o.memoizedState=i,n={value:i,getSnapshot:t},o.queue=n,_c(Qy.bind(null,a,n,e),[e]),a.flags|=2048,ni(wa|zn,{destroy:void 0},Xy.bind(null,a,n,i,t),null),i}function Cc(e,t,n){var a=He,o=dt(),i=We;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(),!ji){var c=t();_n(n,c)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ji=!0)}(c=!_n((gt||o).memoizedState,n))&&(o.memoizedState=n,Xt=!0),o=o.queue;var h=Qy.bind(null,a,o,e);if(Bn(2048,zn,h,[e]),o.getSnapshot!==t||c||Gt!==null&&Gt.memoizedState.tag&wa){if(a.flags|=2048,ni(wa|zn,{destroy:void 0},Xy.bind(null,a,o,n,t),null),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(tl&127)!==0||Gy(a,t,n)}return n}function Gy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=He.updateQueue,t===null?(t=Oc(),He.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xy(e,t,n,a){t.value=n,t.getSnapshot=a,Zy(t)&&Jy(e)}function Qy(e,t,n){return n(function(){Zy(t)&&(no(2,"updateSyncExternalStore()",e),Jy(e))})}function Zy(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_n(e,n)}catch{return!0}}function Jy(e){var t=bn(e,2);t!==null&&Mt(t,e,2)}function mh(e){var t=On();if(typeof e=="function"){var n=e;if(e=n(),zr){pe(!0);try{n()}finally{pe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t}function gh(e){e=mh(e);var t=e.queue,n=hb.bind(null,He,t);return t.dispatch=n,[e.memoizedState,n]}function yh(e){var t=On();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=_h.bind(null,He,!0,n),n.dispatch=t,[e,t]}function Fy(e,t){var n=dt();return Ky(n,gt,e,t)}function Ky(e,t,n,a){return e.baseState=n,hh(e,gt,typeof a=="function"?a:ka)}function Py(e,t){var n=dt();return gt!==null?Ky(n,gt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function qw(e,t,n,a,o){if(Hc(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var i={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};$.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,Iy(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Iy(e,t){var n=t.action,a=t.payload,o=e.state;if(t.isTransition){var i=$.T,c={};c._updatedFibers=new Set,$.T=c;try{var h=n(o,a),g=$.S;g!==null&&g(c,h),Wy(e,t,h)}catch(y){bh(e,t,y)}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),$.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(o,a),Wy(e,t,c)}catch(y){bh(e,t,y)}}function Wy(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?($.asyncTransitions++,n.then(jc,jc),n.then(function(a){eb(e,t,a)},function(a){return bh(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.")):eb(e,t,n)}function eb(e,t,n){t.status="fulfilled",t.value=n,tb(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Iy(e,n)))}function bh(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,tb(t),t=t.next;while(t!==a)}e.action=null}function tb(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function nb(e,t){return t}function ti(e,t){if(We){var n=yt.formState;if(n!==null){e:{var a=He;if(We){if(Rt){t:{for(var o=Rt,i=Sa;o.nodeType!==8;){if(!i){o=null;break t}if(o=In(o.nextSibling),o===null){o=null;break t}}i=o.data,o=i===Km||i===B1?o:null}if(o){Rt=In(o.nextSibling),a=o.data===Km;break e}}Sl(a)}a=!1}a&&(t=n[0])}}return n=On(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nb,lastRenderedState:t},n.queue=a,n=hb.bind(null,He,a),a.dispatch=n,a=mh(!1),i=_h.bind(null,He,!1,a.queue),a=On(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=qw.bind(null,He,o,i,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function Nc(e){var t=dt();return ab(t,gt,e)}function ab(e,t,n){if(t=hh(e,t,nb)[0],e=ei(ka)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=gs(t)}catch(c){throw c===Mi?Uf:c}else a=t;t=dt();var o=t.queue,i=o.dispatch;return n!==t.memoizedState&&(He.flags|=2048,ni(wa|zn,{destroy:void 0},Gw.bind(null,o,n),null)),[a,i,e]}function Gw(e,t){e.action=t}function Ac(e){var t=dt(),n=gt;if(n!==null)return ab(t,n,e);dt(),t=t.memoizedState,n=dt();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function ni(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=He.updateQueue,t===null&&(t=Oc(),He.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 vh(e){var t=On();return e={current:e},t.memoizedState=e}function yr(e,t,n,a){var o=On();He.flags|=e,o.memoizedState=ni(wa|t,{destroy:void 0},n,a===void 0?null:a)}function Bn(e,t,n,a){var o=dt();a=a===void 0?null:a;var i=o.memoizedState.inst;gt!==null&&a!==null&&rh(a,gt.memoizedState.deps)?o.memoizedState=ni(t,i,n,a):(He.flags|=e,o.memoizedState=ni(wa|t,i,n,a))}function _c(e,t){(He.mode&$a)!==ze?yr(276826112,zn,e,t):yr(8390656,zn,e,t)}function Xw(e){He.flags|=4;var t=He.updateQueue;if(t===null)t=Oc(),He.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Sh(e){var t=On(),n={impl:e};return t.memoizedState=n,function(){if((lt&It)!==sn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function Mc(e){var t=dt().memoizedState;return Xw({ref:t,nextImpl:e}),function(){if((lt&It)!==sn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Eh(e,t){var n=4194308;return(He.mode&$a)!==ze&&(n|=134217728),yr(n,aa,e,t)}function ob(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 xh(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;(He.mode&$a)!==ze&&(a|=134217728),yr(a,aa,ob.bind(null,t,e),n)}function Uc(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,Bn(4,aa,ob.bind(null,t,e),n)}function wh(e,t){return On().memoizedState=[e,t===void 0?null:t],e}function zc(e,t){var n=dt();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&rh(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Rh(e,t){var n=On();t=t===void 0?null:t;var a=e();if(zr){pe(!0);try{e()}finally{pe(!1)}}return n.memoizedState=[a,t],a}function Lc(e,t){var n=dt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&rh(t,a[1]))return a[0];if(a=e(),zr){pe(!0);try{e()}finally{pe(!1)}}return n.memoizedState=[a,t],a}function Th(e,t){var n=On();return Dh(n,e,t)}function lb(e,t){var n=dt();return ib(n,gt.memoizedState,e,t)}function rb(e,t){var n=dt();return gt===null?Dh(n,e,t):ib(n,gt.memoizedState,e,t)}function Dh(e,t,n){return n===void 0||(tl&1073741824)!==0&&(Qe&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=sv(),He.lanes|=e,Zl|=e,n)}function ib(e,t,n,a){return _n(n,t)?n:zi.current!==null?(e=Dh(e,n,a),_n(e,t)||(Xt=!0),e):(tl&42)===0||(tl&1073741824)!==0&&(Qe&261930)===0?(Xt=!0,e.memoizedState=n):(e=sv(),He.lanes|=e,Zl|=e,t)}function jc(){$.asyncTransitions--}function sb(e,t,n,a,o){var i=ft.p;ft.p=i!==0&&i<Eo?i:Eo;var c=$.T,h={};h._updatedFibers=new Set,$.T=h,_h(e,!1,t,n);try{var g=o(),y=$.S;if(y!==null&&y(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){$.asyncTransitions++,g.then(jc,jc);var A=Bw(g,a);bs(e,t,A,Pn(e))}else bs(e,t,a,Pn(e))}catch(_){bs(e,t,{then:function(){},status:"rejected",reason:_},Pn(e))}finally{ft.p=i,c!==null&&h.types!==null&&(c.types!==null&&c.types!==h.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=h.types),$.T=c,c===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._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 Oh(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 o=ub(e).queue;kw(e),sb(e,o,t,Xr,n===null?S:function(){return cb(e),n(a)})}function ub(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Xr,baseState:Xr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:Xr},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function cb(e){$.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=ub(e);t.next===null&&(t=e.alternate.memoizedState),bs(e,t.next.queue,{},Pn(e))}function Ch(){var e=mh(!1);return e=sb.bind(null,He,e.queue,!0,!1),On().memoizedState=e,[!1,e]}function fb(){var e=ei(ka)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:gs(e),t]}function db(){var e=ys(ka)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:gs(e),t]}function br(){return Dt(Ou)}function Nh(){var e=On(),t=yt.identifierPrefix;if(We){var n=Ko,a=Fo;n=(a&~(1<<32-Cn(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=kf++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=DD++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Ah(){return On().memoizedState=Qw.bind(null,He)}function Qw(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Pn(n),o=wl(a),i=Rl(n,o,a);i!==null&&(no(a,"refresh()",e),Mt(i,n,a),hs(i,n,a)),e=Kd(),t!=null&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:e};return}n=n.return}}function Zw(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=Pn(e);var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Hc(e)?pb(t,o):(o=kd(e,t,o,a),o!==null&&(no(a,"dispatch()",e),Mt(o,e,a),mb(o,t,a)))}function hb(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=Pn(e),bs(e,t,n,a)&&no(a,"setState()",e)}function bs(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hc(e))pb(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var c=$.H;$.H=qa;try{var h=t.lastRenderedState,g=i(h,n);if(o.hasEagerState=!0,o.eagerState=g,_n(g,h))return uc(e,t,o,0),yt===null&&sc(),!1}catch{}finally{$.H=c}}if(n=kd(e,t,o,a),n!==null)return Mt(n,e,a),mb(n,t,a),!0}return!1}function _h(e,t,n,a){if($.T===null&&Nr===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:ip(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Hc(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=kd(e,n,a,2),t!==null&&(no(2,"setOptimistic()",e),Mt(t,e,2))}function Hc(e){var t=e.alternate;return e===He||t!==null&&t===He}function pb(e,t){Hi=Hf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mb(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,gl(e,n)}}function Mh(e){if(e!==null&&typeof e!="function"){var t=String(e);d1.has(t)||(d1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Uh(e,t,n,a){var o=e.memoizedState,i=n(a,o);if(e.mode&Sn){pe(!0);try{i=n(a,o)}finally{pe(!1)}}i===void 0&&(t=U(t)||"Component",s1.has(t)||(s1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=i==null?o:Fe({},o,i),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function gb(e,t,n,a,o,i,c){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(n=h.shouldComponentUpdate(a,i,c),e.mode&Sn){pe(!0);try{n=h.shouldComponentUpdate(a,i,c)}finally{pe(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",U(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!is(n,a)||!is(o,i):!0}function yb(e,t,n,a){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==o&&(e=X(e)||"Component",a1.has(e)||(a1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Cm.enqueueReplaceState(t,t.state,null))}function vr(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=Fe({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function bb(e){lm(e),console.warn(`%s
121
+
122
+ %s
123
+ `,ki?"An error occurred in the <"+ki+"> 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 vb(e){var t=ki?"The above error occurred in the <"+ki+"> 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, "+((Nm||"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,J1+" "+e[0],F1,ud+a+ud,K1):e.splice(0,0,J1,F1,ud+a+ud,K1),e.unshift(console),a=ZD.apply(console.error,e),a()}else console.error(`%o
130
+
131
+ %s
132
+
133
+ %s
134
+ `,e,t,n)}function Sb(e){lm(e)}function kc(e,t){try{ki=t.source?X(t.source):null,Nm=null;var n=t.value;if($.actQueue!==null)$.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function Eb(e,t,n){try{ki=n.source?X(n.source):null,Nm=X(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function zh(e,t,n){return n=wl(n),n.tag=xm,n.payload={element:null},n.callback=function(){ue(t.source,kc,e,t)},n}function Lh(e){return e=wl(e),e.tag=xm,e}function jh(e,t,n,a){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var i=a.value;e.payload=function(){return o(i)},e.callback=function(){py(n),ue(a.source,Eb,t,n,a)}}var c=n.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){py(n),ue(a.source,Eb,t,n,a),typeof o!="function"&&(Fl===null?Fl=new Set([this]):Fl.add(this)),xD(this,a),typeof o=="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.",X(n)||"Unknown")})}function Jw(e,t,n,a,o){if(n.flags|=32768,So&&Ds(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Ir(t,n,o,!0),We&&(wo=!0),n=na.current,n!==null){switch(n.tag){case 31:case 13:return xa===null?Zc():n.alternate===null&&_t===ll&&(_t=$f),n.flags&=-257,n.flags|=65536,n.lanes=o,a===zf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),ap(e,a,o)),!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)),ap(e,a,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return ap(e,a,o),Zc(),!1}if(We)return wo=!0,t=na.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==fm&&ss(Zn(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!==fm&&ss(Zn(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,o&=-o,e.lanes|=o,a=Zn(a,n),o=zh(e.stateNode,a,o),Rc(e,o),_t!==Xl&&(_t=Lr)),!1;var i=Zn(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(bu===null?bu=[i]:bu.push(i),_t!==Xl&&(_t=Lr),t===null)return!0;a=Zn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=zh(n.stateNode,a,e),Rc(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"&&(Fl===null||!Fl.has(i))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Lh(o),jh(o,e,n,a),Rc(n,o),!1}n=n.return}while(n!==null);return!1}function cn(e,t,n,a){t.child=e===null?QS(t,null,n,a):Ur(t,e.child,n,a)}function xb(e,t,n,a,o){n=n.render;var i=t.ref;if("ref"in a){var c={};for(var h in a)h!=="ref"&&(c[h]=a[h])}else c=a;return pr(t),a=ih(e,t,n,c,i,o),h=uh(),e!==null&&!Xt?(ch(e,t,o),Yo(e,t,o)):(We&&h&&Gd(t),t.flags|=1,cn(e,t,a,o),t.child)}function wb(e,t,n,a,o){if(e===null){var i=n.type;return typeof i=="function"&&!Bd(i)&&i.defaultProps===void 0&&n.compare===null?(n=cr(i),t.tag=15,t.type=n,kh(t,i),Rb(e,t,n,a,o)):(e=$d(n.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Gh(e,o)){var c=i.memoizedProps;if(n=n.compare,n=n!==null?n:is,n(c,a)&&e.ref===t.ref)return Yo(e,t,o)}return t.flags|=1,e=ko(i,a),e.ref=t.ref,e.return=t,t.child=e}function Rb(e,t,n,a,o){if(e!==null){var i=e.memoizedProps;if(is(i,a)&&e.ref===t.ref&&t.type===e.type)if(Xt=!1,t.pendingProps=a=i,Gh(e,o))(e.flags&131072)!==0&&(Xt=!0);else return t.lanes=e.lanes,Yo(e,t,o)}return Hh(e,t,n,a,o)}function Tb(e,t,n,a){var o=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Zs,_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,o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~i}else a=0,t.child=null;return Db(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&bc(t,i!==null?i.cachePool:null),i!==null?$y(t,i):ah(t),Yy(t);else return a=t.lanes=536870912,Db(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(bc(t,i.cachePool),$y(t,i),Dl(t),t.memoizedState=null):(e!==null&&bc(t,null),ah(t),Dl(t));return cn(e,t,o,n),t.child}function vs(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Zs,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Db(e,t,n,a,o){var i=Wd();return i=i===null?null:{parent:Yt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&bc(t,null),ah(t),Yy(t),e!==null&&Ir(e,t,a,!0),t.childLanes=o,null}function Vc(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=$c({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Ob(e,t,n){return Ur(t,e.child,null,n),e=Vc(t,t.pendingProps),e.flags|=2,Kn(t),t.memoizedState=null,e}function Fw(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(We){if(a.mode==="hidden")return e=Vc(t,a),t.lanes=536870912,vs(null,e);if(lh(t),(e=Rt)?(n=Iv(e,Sa),n=n!==null&&n.data===$r?n:null,n!==null&&(a={dehydrated:n,treeContext:vy(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=yy(n),a.return=t,t.child=a,hn=t,Rt=null)):n=null,n===null)throw dc(t,e),Sl(t);return t.lanes=536870912,null}return Vc(t,a)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(lh(t),o)if(t.flags&256)t.flags&=-257,t=Ob(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(Ey(),(n&536870912)!==0&&Qc(t),Xt||Ir(e,t,n,!1),o=(n&e.childLanes)!==0,Xt||o){if(a=yt,a!==null&&(c=_o(a,n),c!==0&&c!==i.retryLane))throw i.retryLane=c,bn(e,c),Mt(a,e,c),Am;Zc(),t=Ob(e,t,n)}else e=i.treeContext,Rt=In(c.nextSibling),hn=t,We=!0,Vl=null,wo=!1,ta=null,Sa=!1,e!==null&&Sy(t,e),t=Vc(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&&Qc(t),e=ko(i,a),e.ref=t.ref,t.child=e,e.return=t,e}function Bc(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 Hh(e,t,n,a,o){if(n.prototype&&typeof n.prototype.render=="function"){var i=U(n)||"Unknown";h1[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),h1[i]=!0)}return t.mode&Sn&&Ya.recordLegacyContextWarning(t,null),e===null&&(kh(t,t.type),n.contextTypes&&(i=U(n)||"Unknown",m1[i]||(m1[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)))),pr(t),n=ih(e,t,n,a,void 0,o),a=uh(),e!==null&&!Xt?(ch(e,t,o),Yo(e,t,o)):(We&&a&&Gd(t),t.flags|=1,cn(e,t,n,o),t.child)}function Cb(e,t,n,a,o,i){return pr(t),al=-1,fu=e!==null&&e.type!==t.type,t.updateQueue=null,n=sh(t,a,n,o),qy(e,t),a=uh(),e!==null&&!Xt?(ch(e,t,i),Yo(e,t,i)):(We&&a&&Gd(t),t.flags|=1,cn(e,t,n,i),t.child)}function Nb(e,t,n,a,o){switch(p(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 h=o&-o;if(t.lanes|=h,c=yt,c===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Lh(h),jh(h,c,t,Zn(i,t)),Rc(t,h)}if(pr(t),t.stateNode===null){if(c=kl,i=n.contextType,"contextType"in n&&i!==null&&(i===void 0||i.$$typeof!==yo)&&!f1.has(n)&&(f1.add(n),h=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===_p?" 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",U(n)||"Component",h)),typeof i=="object"&&i!==null&&(c=Dt(i)),i=new n(a,c),t.mode&Sn){pe(!0);try{i=new n(a,c)}finally{pe(!1)}}if(c=t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Cm,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=n1,typeof n.getDerivedStateFromProps=="function"&&c===null&&(c=U(n)||"Component",o1.has(c)||(o1.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 g=h=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?h="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),c!==null||h!==null||g!==null){i=U(n)||"Component";var y=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";r1.has(i)||(r1.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,y,c!==null?`
142
+ `+c:"",h!==null?`
143
+ `+h:"",g!==null?`
144
+ `+g:""))}}i=t.stateNode,c=U(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&&!c1.has(n)&&(c1.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&&!u1.has(n)&&(u1.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.",U(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),h=i.props!==a,i.props!==void 0&&h&&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"||l1.has(n)||(l1.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",U(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),(h=i.state)&&(typeof h!="object"||Kt(h))&&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={},th(t),c=n.contextType,i.context=typeof c=="object"&&c!==null?Dt(c):kl,i.state===a&&(c=U(n)||"Component",i1.has(c)||(i1.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&Sn&&Ya.recordLegacyContextWarning(t,i),Ya.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,c=n.getDerivedStateFromProps,typeof c=="function"&&(Uh(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.",X(t)||"Component"),Cm.enqueueReplaceState(i,i.state,null)),ms(t,a,i,o),ps(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$a)!==ze&&(t.flags|=134217728),i=!0}else if(e===null){i=t.stateNode;var A=t.memoizedProps;h=vr(n,A),i.props=h;var _=i.context;g=n.contextType,c=kl,typeof g=="object"&&g!==null&&(c=Dt(g)),y=n.getDerivedStateFromProps,g=typeof y=="function"||typeof i.getSnapshotBeforeUpdate=="function",A=t.pendingProps!==A,g||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(A||_!==c)&&yb(t,i,a,c),Gl=!1;var O=t.memoizedState;i.state=O,ms(t,a,i,o),ps(),_=t.memoizedState,A||O!==_||Gl?(typeof y=="function"&&(Uh(t,n,y,a),_=t.memoizedState),(h=Gl||gb(t,n,h,a,O,_,c))?(g||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&$a)!==ze&&(t.flags|=134217728)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$a)!==ze&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=_),i.props=a,i.state=_,i.context=c,i=h):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$a)!==ze&&(t.flags|=134217728),i=!1)}else{i=t.stateNode,nh(e,t),c=t.memoizedProps,g=vr(n,c),i.props=g,y=t.pendingProps,O=i.context,_=n.contextType,h=kl,typeof _=="object"&&_!==null&&(h=Dt(_)),A=n.getDerivedStateFromProps,(_=typeof A=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==y||O!==h)&&yb(t,i,a,h),Gl=!1,O=t.memoizedState,i.state=O,ms(t,a,i,o),ps();var H=t.memoizedState;c!==y||O!==H||Gl||e!==null&&e.dependencies!==null&&pc(e.dependencies)?(typeof A=="function"&&(Uh(t,n,A,a),H=t.memoizedState),(g=Gl||gb(t,n,g,a,O,H,h)||e!==null&&e.dependencies!==null&&pc(e.dependencies))?(_||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,H,h),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,H,h)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=H),i.props=a,i.state=H,i.context=h,i=g):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),i=!1)}if(h=i,Bc(e,t),c=(t.flags&128)!==0,h||c){if(h=t.stateNode,dl(t),c&&typeof n.getDerivedStateFromError!="function")n=null,Mn=-1;else if(n=MS(h),t.mode&Sn){pe(!0);try{MS(h)}finally{pe(!1)}}t.flags|=1,e!==null&&c?(t.child=Ur(t,e.child,null,o),t.child=Ur(t,null,n,o)):cn(e,t,n,o),t.memoizedState=h.state,e=t.child}else e=Yo(e,t,o);return o=t.stateNode,i&&o.props!==a&&(Vi||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",X(t)||"a component"),Vi=!0),e}function Ab(e,t,n,a){return hr(),t.flags|=256,cn(e,t,n,a),t.child}function kh(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=U(t)||"Unknown",g1[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),g1[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=U(t)||"Unknown",p1[t]||(console.error("%s: Function components do not support contextType.",t),p1[t]=!0))}function Vh(e){return{baseLanes:e,cachePool:Cy()}}function Bh(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Xn),e}function _b(e,t,n){var a,o=t.pendingProps;d(t)&&(t.flags|=128);var i=!1,c=(t.flags&128)!==0;if((a=c)||(a=e!==null&&e.memoizedState===null?!1:(kt.current&uu)!==0),a&&(i=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(We){if(i?Tl(t):Dl(t),(e=Rt)?(n=Iv(e,Sa),n=n!==null&&n.data!==$r?n:null,n!==null&&(a={dehydrated:n,treeContext:vy(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=yy(n),a.return=t,t.child=a,hn=t,Rt=null)):n=null,n===null)throw dc(t,e),Sl(t);return vp(n)?t.lanes=32:t.lanes=536870912,null}var h=o.children;if(o=o.fallback,i){Dl(t);var g=t.mode;return h=$c({mode:"hidden",children:h},g),o=fr(o,g,n,null),h.return=t,o.return=t,h.sibling=o,t.child=h,o=t.child,o.memoizedState=Vh(n),o.childLanes=Bh(e,a,n),t.memoizedState=_m,vs(null,o)}return Tl(t),$h(t,h)}var y=e.memoizedState;if(y!==null){var A=y.dehydrated;if(A!==null){if(c)t.flags&256?(Tl(t),t.flags&=-257,t=Yh(e,t,n)):t.memoizedState!==null?(Dl(t),t.child=e.child,t.flags|=128,t=null):(Dl(t),h=o.fallback,g=t.mode,o=$c({mode:"visible",children:o.children},g),h=fr(h,g,n,null),h.flags|=2,o.return=t,h.return=t,o.sibling=h,t.child=o,Ur(t,e.child,null,n),o=t.child,o.memoizedState=Vh(n),o.childLanes=Bh(e,a,n),t.memoizedState=_m,t=vs(null,o));else if(Tl(t),Ey(),(n&536870912)!==0&&Qc(t),vp(A)){if(a=A.nextSibling&&A.nextSibling.dataset,a){h=a.dgst;var _=a.msg;g=a.stck;var O=a.cstck}i=_,a=h,o=g,A=O,h=i,g=A,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=o||"",h.digest=a,a=g===void 0?null:g,o={value:h,source:null,stack:a},typeof a=="string"&&cm.set(h,o),ss(o),t=Yh(e,t,n)}else if(Xt||Ir(e,t,n,!1),a=(n&e.childLanes)!==0,Xt||a){if(a=yt,a!==null&&(o=_o(a,n),o!==0&&o!==y.retryLane))throw y.retryLane=o,bn(e,o),Mt(a,e,o),Am;bp(A)||Zc(),t=Yh(e,t,n)}else bp(A)?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,Rt=In(A.nextSibling),hn=t,We=!0,Vl=null,wo=!1,ta=null,Sa=!1,e!==null&&Sy(t,e),t=$h(t,o.children),t.flags|=4096);return t}}return i?(Dl(t),h=o.fallback,g=t.mode,O=e.child,A=O.sibling,o=ko(O,{mode:"hidden",children:o.children}),o.subtreeFlags=O.subtreeFlags&65011712,A!==null?h=ko(A,h):(h=fr(h,g,n,null),h.flags|=2),h.return=t,o.return=t,o.sibling=h,t.child=o,vs(null,o),o=t.child,h=e.child.memoizedState,h===null?h=Vh(n):(g=h.cachePool,g!==null?(O=Yt._currentValue,g=g.parent!==O?{parent:O,pool:O}:g):g=Cy(),h={baseLanes:h.baseLanes|n,cachePool:g}),o.memoizedState=h,o.childLanes=Bh(e,a,n),t.memoizedState=_m,vs(e.child,o)):(y!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Qc(t),Tl(t),n=e.child,e=n.sibling,n=ko(n,{mode:"visible",children:o.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 $h(e,t){return t=$c({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function $c(e,t){return e=x(22,e,null,t),e.lanes=0,e}function Yh(e,t,n){return Ur(t,e.child,null,n),e=$h(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Mb(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Jd(e.return,t,n)}function qh(e,t,n,a,o,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=n,c.tailMode=o,c.treeForkCount=i)}function Ub(e,t,n){var a=t.pendingProps,o=a.revealOrder,i=a.tail,c=a.children,h=kt.current;if((a=(h&uu)!==0)?(h=h&Li|uu,t.flags|=128):h&=Li,ce(kt,h,t),h=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!y1[h])if(y1[h]=!0,o==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(o==="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 o=="string")switch(o.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.',o,o.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.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);h=i??"null",Bf[h]||(i==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(Bf[h]=!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"?(Bf[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(Bf[h]=!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((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&c!==void 0&&c!==null&&c!==!1)if(Kt(c)){for(h=0;h<c.length;h++)if(!ky(c[h],h))break e}else if(h=Le(c),typeof h=="function"){if(h=h.call(c))for(var g=h.next(),y=0;!g.done;g=h.next()){if(!ky(g.value,y))break e;y++}}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?',o);if(cn(e,t,c,n),We?(vl(),c=Js):c=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Mb(e,n,t);else if(e.tag===19)Mb(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(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Tc(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),qh(t,!1,o,n,i,c);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Tc(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}qh(t,!0,n,null,i,c);break;case"together":qh(t,!1,null,null,void 0,c);break;default:t.memoizedState=null}return t.child}function Yo(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mn=-1,Zl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ir(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=ko(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ko(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Gh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pc(e)))}function Kw(e,t,n){switch(t.tag){case 3:Ne(t,t.stateNode.containerInfo),El(t,Yt,e.memoizedState.cache),hr();break;case 27:case 5:fe(t);break;case 4:Ne(t,t.stateNode.containerInfo);break;case 10:El(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,lh(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Tl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?_b(e,t,n):(Tl(t),e=Yo(e,t,n),e!==null?e.sibling:null);Tl(t);break;case 19:var o=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Ir(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return Ub(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ce(kt,kt.current,t),a)break;return null;case 22:return t.lanes=0,Tb(e,t,n,t.pendingProps);case 24:El(t,Yt,e.memoizedState.cache)}return Yo(e,t,n)}function Xh(e,t,n){if(t._debugNeedsRemount&&e!==null){n=$d(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 o=a.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.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)Xt=!0;else{if(!Gh(e,n)&&(t.flags&128)===0)return Xt=!1,Kw(e,t,n);Xt=(e.flags&131072)!==0}else Xt=!1,(a=We)&&(vl(),a=(t.flags&1048576)!==0),a&&(a=t.index,vl(),by(t,Js,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=xl(t.elementType),t.type=e,typeof e=="function")Bd(e)?(a=vr(e,a),t.tag=1,t.type=e=cr(e),t=Nb(null,t,e,a,n)):(t.tag=0,kh(t,e),t.type=e=cr(e),t=Hh(null,t,e,a,n));else{if(e!=null){if(o=e.$$typeof,o===Ls){t.tag=11,t.type=e=Vd(e),t=xb(null,t,e,a,n);break e}else if(o===sf){t.tag=14,t=wb(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Wn&&(t=" Did you wrap a component in React.lazy() more than once?"),n=U(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 Hh(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=vr(a,t.pendingProps),Nb(e,t,a,o,n);case 3:e:{if(Ne(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;o=i.element,nh(e,t),ms(t,a,null,n);var c=t.memoizedState;if(a=c.cache,El(t,Yt,a),a!==i.cache&&Fd(t,[Yt],n,!0),ps(),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=Ab(e,t,a,n);break e}else if(a!==o){o=Zn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),ss(o),t=Ab(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,Rt=In(e.firstChild),hn=t,We=!0,Vl=null,wo=!1,ta=null,Sa=!0,n=QS(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hr(),a===o){t=Yo(e,t,n);break e}cn(e,t,a,n)}t=t.child}return t;case 26:return Bc(e,t),e===null?(n=o0(t.type,null,t.pendingProps,null))?t.memoizedState=n:We||(n=t.type,e=t.pendingProps,a=xe(Ml.current),a=Pc(a).createElement(n),a[dn]=t,a[Nn]=e,fn(a,n,e),ve(a),t.stateNode=a):t.memoizedState=o0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fe(t),e===null&&We&&(a=xe(Ml.current),o=le(),a=t.stateNode=n0(t.type,t.pendingProps,a,o,!1),wo||(o=Gv(a,t.type,t.pendingProps,o),o!==null&&(dr(t,0).serverProps=o)),hn=t,Sa=!0,o=Rt,Al(t.type)?(eg=o,Rt=In(a.firstChild)):Rt=o),cn(e,t,t.pendingProps.children,n),Bc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&We&&(i=le(),a=Ad(t.type,i.ancestorInfo),o=Rt,(c=!o)||(c=kR(o,t.type,t.pendingProps,Sa),c!==null?(t.stateNode=c,wo||(i=Gv(c,t.type,t.pendingProps,i),i!==null&&(dr(t,0).serverProps=i)),hn=t,Rt=In(c.firstChild),Sa=!1,i=!0):i=!1,c=!i),c&&(a&&dc(t,o),Sl(t))),fe(t),o=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,a=i.children,gp(o,i)?a=null:c!==null&&gp(o,c)&&(t.flags|=32),t.memoizedState!==null&&(o=ih(e,t,Yw,null,null,n),Ou._currentValue=o),Bc(e,t),cn(e,t,a,n),t.child;case 6:return e===null&&We&&(n=t.pendingProps,e=le(),a=e.ancestorInfo.current,n=a!=null?nc(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=Rt,(a=!e)||(a=VR(e,t.pendingProps,Sa),a!==null?(t.stateNode=a,hn=t,Rt=null,a=!0):a=!1,a=!a),a&&(n&&dc(t,e),Sl(t))),null;case 13:return _b(e,t,n);case 4:return Ne(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ur(t,null,a,n):cn(e,t,a,n),t.child;case 11:return xb(e,t,t.type,t.pendingProps,n);case 7:return cn(e,t,t.pendingProps,n),t.child;case 8:return cn(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,cn(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,o=t.pendingProps,i=o.value,"value"in o||b1||(b1=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),El(t,a,i),cn(e,t,o.children,n),t.child;case 9:return o=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."),pr(t),o=Dt(o),a=bm(a,o,void 0),t.flags|=1,cn(e,t,a,n),t.child;case 14:return wb(e,t,t.type,t.pendingProps,n);case 15:return Rb(e,t,t.type,t.pendingProps,n);case 19:return Ub(e,t,n);case 31:return Fw(e,t,n);case 22:return Tb(e,t,n,t.pendingProps);case 24:return pr(t),a=Dt(Yt),e===null?(o=Wd(),o===null&&(o=yt,i=Kd(),o.pooledCache=i,mr(i),i!==null&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:a,cache:o},th(t),El(t,Yt,o)):((e.lanes&n)!==0&&(nh(e,t),ms(t,null,null,n),ps()),o=e.memoizedState,i=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),El(t,Yt,a)):(a=i.cache,El(t,Yt,a),a!==o.cache&&Fd(t,[Yt],n,!0))),cn(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 qo(e){e.flags|=4}function Qh(e,t,n,a,o){if((t=(e.mode&yD)!==ze)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(dv())e.flags|=8192;else throw Mr=zf,Sm}else e.flags&=-16777217}function zb(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ta)!==Gr)e.flags&=-16777217;else if(e.flags|=16777216,!u0(t))if(dv())e.flags|=8192;else throw Mr=zf,Sm}function Yc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?_a():536870912,e.lanes|=t,kr|=t)}function Ss(e,t){if(!We)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 vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&Ge)!==ze){for(var o=e.selfBaseDuration,i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&Ge)!==ze){o=e.actualDuration,i=e.selfBaseDuration;for(var c=e.child;c!==null;)n|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,o+=c.actualDuration,i+=c.treeBaseDuration,c=c.sibling;e.actualDuration=o,e.treeBaseDuration=i}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Pw(e,t,n){var a=t.pendingProps;switch(Xd(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Bo(Yt,t),Z(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Pr(t)?(Zd(),qo(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qd())),vt(t),null;case 26:var o=t.type,i=t.memoizedState;return e===null?(qo(t),i!==null?(vt(t),zb(t,i)):(vt(t),Qh(t,o,null,a,n))):i?i!==e.memoizedState?(qo(t),vt(t),zb(t,i)):(vt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&qo(t),vt(t),Qh(t,o,e,a,n)),null;case 27:if(de(t),n=xe(Ml.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&qo(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 vt(t),null}e=le(),Pr(t)?xy(t):(e=n0(o,a,n,e,!0),t.stateNode=e,qo(t))}return vt(t),null;case 5:if(de(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&qo(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 vt(t),null}var c=le();if(Pr(t))xy(t);else{switch(i=xe(Ml.current),Ad(o,c.ancestorInfo),c=c.context,i=Pc(i),c){case Zi:i=i.createElementNS(yi,o);break;case rd:i=i.createElementNS(mf,o);break;default:switch(o){case"svg":i=i.createElementNS(yi,o);break;case"math":i=i.createElementNS(mf,o);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(o,{is:a.is}):i.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||Ba.call(Y1,o)||(Y1[o]=!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.",o)))}}i[dn]=t,i[Nn]=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(fn(i,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&qo(t)}}return vt(t),Qh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&qo(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=xe(Ml.current),n=le(),Pr(t)){if(e=t.stateNode,n=t.memoizedProps,o=!wo,a=null,i=hn,i!==null)switch(i.tag){case 3:o&&(o=e0(e,n,a),o!==null&&(dr(t,0).serverProps=o));break;case 27:case 5:a=i.memoizedProps,o&&(o=e0(e,n,a),o!==null&&(dr(t,0).serverProps=o))}e[dn]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Vv(e.nodeValue,n)),e||Sl(t,!0)}else o=n.ancestorInfo.current,o!=null&&nc(a,o.tag,n.ancestorInfo.implicitRootScope),e=Pc(e).createTextNode(a),e[dn]=t,t.stateNode=e}return vt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Pr(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[dn]=t,vt(t),(t.mode&Ge)!==ze&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Zd(),hr(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&Ge)!==ze&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Qd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Kn(t),t):(Kn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return vt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=a,i=Pr(t),o!==null&&o.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[dn]=t,vt(t),(t.mode&Ge)!==ze&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else Zd(),hr(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&Ge)!==ze&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=Qd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Kn(t),t):(Kn(t),null)}return Kn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Ge)!==ze&&fs(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Yc(t,t.updateQueue),vt(t),(t.mode&Ge)!==ze&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Z(t),e===null&&up(t.stateNode.containerInfo),vt(t),null;case 10:return Bo(t.type,t),vt(t),null;case 19:if(I(kt,t),a=t.memoizedState,a===null)return vt(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Ss(a,!1);else{if(_t!==ll||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Tc(e),i!==null){for(t.flags|=128,Ss(a,!1),e=i.updateQueue,t.updateQueue=e,Yc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)gy(n,e),n=n.sibling;return ce(kt,kt.current&Li|uu,t),We&&Vo(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&on()>Zf&&(t.flags|=128,o=!0,Ss(a,!1),t.lanes=4194304)}else{if(!o)if(e=Tc(i),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Yc(t,e),Ss(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!We)return vt(t),null}else 2*on()-a.renderingStartTime>Zf&&n!==536870912&&(t.flags|=128,o=!0,Ss(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=on(),e.sibling=null,n=kt.current,n=o?n&Li|uu:n&Li,ce(kt,n,t),We&&Vo(t,a.treeForkCount),e):(vt(t),null);case 22:case 23:return Kn(t),oh(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&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(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&&I(Ar,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Bo(Yt,t),vt(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 Iw(e,t){switch(Xd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&fs(t),t):null;case 3:return Bo(Yt,t),Z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return de(t),null;case 31:if(t.memoizedState!==null){if(Kn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&fs(t),t):null;case 13:if(Kn(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.");hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&fs(t),t):null;case 19:return I(kt,t),null;case 4:return Z(t),null;case 10:return Bo(t.type,t),null;case 22:case 23:return Kn(t),oh(t),e!==null&&I(Ar,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&fs(t),t):null;case 24:return Bo(Yt,t),null;case 25:return null;default:return null}}function Lb(e,t){switch(Xd(t),t.tag){case 3:Bo(Yt,t),Z(t);break;case 26:case 27:case 5:de(t);break;case 4:Z(t);break;case 31:t.memoizedState!==null&&Kn(t);break;case 13:Kn(t);break;case 19:I(kt,t);break;case 10:Bo(t.type,t);break;case 22:case 23:Kn(t),oh(t),e!==null&&I(Ar,t);break;case 24:Bo(Yt,t)}}function uo(e){return(e.mode&Ge)!==ze}function jb(e,t){uo(e)?(so(),Es(t,e),io()):Es(t,e)}function Zh(e,t,n){uo(e)?(so(),ai(n,e,t),io()):ai(n,e,t)}function Es(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e&&(a=void 0,(e&Un)!==jf&&(Gi=!0),a=ue(t,wD,n),(e&Un)!==jf&&(Gi=!1),a!==void 0&&typeof a!="function")){var i=void 0;i=(n.tag&aa)!==0?"useLayoutEffect":(n.tag&Un)!==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,ue(t,function(h,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,g)},i,c)}n=n.next}while(n!==o)}}catch(h){ct(t,t.return,h)}}function ai(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var i=o.next;a=i;do{if((a.tag&e)===e){var c=a.inst,h=c.destroy;h!==void 0&&(c.destroy=void 0,(e&Un)!==jf&&(Gi=!0),o=t,ue(o,RD,o,n,h),(e&Un)!==jf&&(Gi=!1))}a=a.next}while(a!==i)}}catch(g){ct(t,t.return,g)}}function Hb(e,t){uo(e)?(so(),Es(t,e),io()):Es(t,e)}function Jh(e,t,n){uo(e)?(so(),ai(n,e,t),io()):ai(n,e,t)}function kb(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Vi||(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.",X(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.",X(e)||"instance"));try{ue(e,By,t,n)}catch(a){ct(e,e.return,a)}}}function Ww(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function eR(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Vi||(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.",X(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.",X(e)||"instance"));try{var o=vr(e.type,n),i=ue(e,Ww,t,o,a);n=v1,i!==void 0||n.has(e.type)||(n.add(e.type),ue(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",X(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(c){ct(e,e.return,c)}}function Vb(e,t,n){n.props=vr(e.type,e.memoizedProps),n.state=e.memoizedState,uo(e)?(so(),ue(e,kS,e,t,n),io()):ue(e,kS,e,t,n)}function tR(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(uo(e))try{so(),e.refCleanup=t(n)}finally{io()}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().",X(e)),t.current=n}}function xs(e,t){try{ue(e,tR,e)}catch(n){ct(e,t,n)}}function co(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(uo(e))try{so(),ue(e,a)}finally{io(e)}else ue(e,a)}catch(o){ct(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(uo(e))try{so(),ue(e,n,null)}finally{io(e)}else ue(e,n,null)}catch(o){ct(e,t,o)}else n.current=null}function Bb(e,t,n,a){var o=e.memoizedProps,i=o.id,c=o.onCommit;o=o.onRender,t=t===null?"mount":"update",Af&&(t="nested-update"),typeof o=="function"&&o(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof c=="function"&&c(i,t,a,n)}function nR(e,t,n,a){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",Af&&(t="nested-update"),typeof o=="function"&&o(e,t,a,n)}function $b(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{ue(e,DR,a,t,n,e)}catch(o){ct(e,e.return,o)}}function Fh(e,t,n){try{ue(e,CR,e.stateNode,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function Yb(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Al(e.type)||e.tag===4}function Kh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yb(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&&Al(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 Ph(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(Fv(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Fv(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=Ho));else if(a!==4&&(a===27&&Al(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Ph(e,t,n),e=e.sibling;e!==null;)Ph(e,t,n),e=e.sibling}function qc(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&&Al(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(qc(e,t,n),e=e.sibling;e!==null;)qc(e,t,n),e=e.sibling}function aR(e){for(var t,n=e.return;n!==null;){if(Yb(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=Kh(e),qc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Jv(n),t.flags&=-33),t=Kh(e),qc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Kh(e),Ph(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 qb(e){var t=e.stateNode,n=e.memoizedProps;try{ue(e,GR,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function Gb(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 oR(e,t){if(e=e.containerInfo,Pm=cd,e=ry(e),Ud(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 o=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var c=0,h=-1,g=-1,y=0,A=0,_=e,O=null;t:for(;;){for(var H;_!==n||o!==0&&_.nodeType!==3||(h=c+o),_!==i||a!==0&&_.nodeType!==3||(g=c+a),_.nodeType===3&&(c+=_.nodeValue.length),(H=_.firstChild)!==null;)O=_,_=H;for(;;){if(_===e)break t;if(O===n&&++y===o&&(h=c),O===i&&++A===a&&(g=c),(H=_.nextSibling)!==null)break;_=O,O=_.parentNode}_=H}n=h===-1||g===-1?null:{start:h,end:g}}else n=null}n=n||{start:0,end:0}}else n=null;for(Im={focusedElem:e,selectionRange:n},cd=!1,rn=t;rn!==null;)if(t=rn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,rn=e;else for(;rn!==null;){switch(e=t=rn,n=e.alternate,o=e.flags,e.tag){case 0:if((o&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:(o&1024)!==0&&n!==null&&eR(e,n);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)yp(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":yp(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&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,rn=e;break}rn=t.return}}function Xb(e,t,n){var a=Jn(),o=ao(),i=lo(),c=ro(),h=n.flags;switch(n.tag){case 0:case 11:case 15:fo(e,n),h&4&&jb(n,aa|wa);break;case 1:if(fo(e,n),h&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Vi||(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.",X(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.",X(n)||"instance")),uo(n)?(so(),ue(n,vm,n,e),io()):ue(n,vm,n,e);else{var g=vr(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Vi||(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.",X(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.",X(n)||"instance")),uo(n)?(so(),ue(n,LS,n,e,g,t,e.__reactInternalSnapshotBeforeUpdate),io()):ue(n,LS,n,e,g,t,e.__reactInternalSnapshotBeforeUpdate)}h&64&&kb(n),h&512&&xs(n,n.return);break;case 3:if(t=$o(),fo(e,n),h&64&&(h=n.updateQueue,h!==null)){if(g=null,n.child!==null)switch(n.child.tag){case 27:case 5:g=n.child.stateNode;break;case 1:g=n.child.stateNode}try{ue(n,By,h,g)}catch(A){ct(n,n.return,A)}}e.effectDuration+=gc(t);break;case 27:t===null&&h&4&&qb(n);case 26:case 5:if(fo(e,n),t===null){if(h&4)$b(n);else if(h&64){e=n.type,t=n.memoizedProps,g=n.stateNode;try{ue(n,OR,g,e,t,n)}catch(A){ct(n,n.return,A)}}}h&512&&xs(n,n.return);break;case 12:if(h&4){h=$o(),fo(e,n),e=n.stateNode,e.effectDuration+=cs(h);try{ue(n,Bb,n,t,Bl,e.effectDuration)}catch(A){ct(n,n.return,A)}}else fo(e,n);break;case 31:fo(e,n),h&4&&Jb(e,n);break;case 13:fo(e,n),h&4&&Fb(e,n),h&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(h=hR.bind(null,n),BR(e,h))));break;case 22:if(h=n.memoizedState!==null||ol,!h){t=t!==null&&t.memoizedState!==null||Qt,g=ol;var y=Qt;ol=h,(Qt=t)&&!y?(ho(e,n,(n.subtreeFlags&8772)!==0),(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&rc(n,Ce,Ue)):fo(e,n),ol=g,Qt=y}break;case 30:break;default:fo(e,n)}(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&((Ut||.05<At)&&to(n,Ce,Ue,At,Ot),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Ue-Ce&&(Gb(n.return.alternate,n.return)||eo(n,Ce,Ue,"Mount"))),Fn(a),oo(o),Ot=i,Ut=c}function Qb(e){var t=e.alternate;t!==null&&(e.alternate=null,Qb(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 Go(e,t,n){for(n=n.child;n!==null;)Zb(e,t,n),n=n.sibling}function Zb(e,t,n){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(mi,n)}catch(y){vo||(vo=!0,console.error("React instrumentation encountered an error: %o",y))}var a=Jn(),o=ao(),i=lo(),c=ro();switch(n.tag){case 26:Qt||co(n,t),Go(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Qt||co(n,t);var h=Zt,g=qn;Al(n.type)&&(Zt=n.stateNode,qn=!1),Go(e,t,n),ue(n,_s,n.stateNode),Zt=h,qn=g;break;case 5:Qt||co(n,t);case 6:if(h=Zt,g=qn,Zt=null,Go(e,t,n),Zt=h,qn=g,Zt!==null)if(qn)try{ue(n,_R,Zt,n.stateNode)}catch(y){ct(n,t,y)}else try{ue(n,AR,Zt,n.stateNode)}catch(y){ct(n,t,y)}break;case 18:Zt!==null&&(qn?(e=Zt,Kv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),fi(e)):Kv(Zt,n.stateNode));break;case 4:h=Zt,g=qn,Zt=n.stateNode.containerInfo,qn=!0,Go(e,t,n),Zt=h,qn=g;break;case 0:case 11:case 14:case 15:ai(Un,n,t),Qt||Zh(n,t,aa),Go(e,t,n);break;case 1:Qt||(co(n,t),h=n.stateNode,typeof h.componentWillUnmount=="function"&&Vb(n,t,h)),Go(e,t,n);break;case 21:Go(e,t,n);break;case 22:Qt=(h=Qt)||n.memoizedState!==null,Go(e,t,n),Qt=h;break;default:Go(e,t,n)}(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(n,Ce,Ue,At,Ot),Fn(a),oo(o),Ot=i,Ut=c}function Jb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ue(t,YR,e)}catch(n){ct(t,t.return,n)}}}function Fb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ue(t,qR,e)}catch(n){ct(t,t.return,n)}}function lR(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new S1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new S1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Gc(e,t){var n=lR(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),So)if(Bi!==null&&$i!==null)Ds($i,Bi);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=pR.bind(null,e,a);a.then(o,o)}})}function $n(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var o=e,i=t,c=n[a],h=Jn(),g=i;e:for(;g!==null;){switch(g.tag){case 27:if(Al(g.type)){Zt=g.stateNode,qn=!1;break e}break;case 5:Zt=g.stateNode,qn=!1;break e;case 3:case 4:Zt=g.stateNode.containerInfo,qn=!0;break e}g=g.return}if(Zt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Zb(o,i,c),Zt=null,qn=!1,(c.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&eo(c,Ce,Ue,"Unmount"),Fn(h),o=c,i=o.alternate,i!==null&&(i.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Kb(t,e),t=t.sibling}function Kb(e,t){var n=Jn(),a=ao(),o=lo(),i=ro(),c=e.alternate,h=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$n(t,e),Yn(e),h&4&&(ai(Un|wa,e,e.return),Es(Un|wa,e),Zh(e,e.return,aa|wa));break;case 1:if($n(t,e),Yn(e),h&512&&(Qt||c===null||co(c,c.return)),h&64&&ol&&(h=e.updateQueue,h!==null&&(c=h.callbacks,c!==null))){var g=h.shared.hiddenCallbacks;h.shared.hiddenCallbacks=g===null?c:g.concat(c)}break;case 26:if(g=Ga,$n(t,e),Yn(e),h&512&&(Qt||c===null||co(c,c.return)),h&4){var y=c!==null?c.memoizedState:null;if(h=e.memoizedState,c===null)if(h===null)if(e.stateNode===null){e:{h=e.type,c=e.memoizedProps,g=g.ownerDocument||g;t:switch(h){case"title":y=g.getElementsByTagName("title")[0],(!y||y[ks]||y[dn]||y.namespaceURI===yi||y.hasAttribute("itemprop"))&&(y=g.createElement(h),g.head.insertBefore(y,g.querySelector("head > title"))),fn(y,h,c),y[dn]=e,ve(y),h=y;break e;case"link":var A=i0("link","href",g).get(h+(c.href||""));if(A){for(var _=0;_<A.length;_++)if(y=A[_],y.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&y.getAttribute("rel")===(c.rel==null?null:c.rel)&&y.getAttribute("title")===(c.title==null?null:c.title)&&y.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){A.splice(_,1);break t}}y=g.createElement(h),fn(y,h,c),g.head.appendChild(y);break;case"meta":if(A=i0("meta","content",g).get(h+(c.content||""))){for(_=0;_<A.length;_++)if(y=A[_],it(c.content,"content"),y.getAttribute("content")===(c.content==null?null:""+c.content)&&y.getAttribute("name")===(c.name==null?null:c.name)&&y.getAttribute("property")===(c.property==null?null:c.property)&&y.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&y.getAttribute("charset")===(c.charSet==null?null:c.charSet)){A.splice(_,1);break t}}y=g.createElement(h),fn(y,h,c),g.head.appendChild(y);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+h+'". This is a bug in React.')}y[dn]=e,ve(y),h=y}e.stateNode=h}else s0(g,e.type,e.stateNode);else e.stateNode=r0(g,h,e.memoizedProps);else y!==h?(y===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):y.count--,h===null?s0(g,e.type,e.stateNode):r0(g,h,e.memoizedProps)):h===null&&e.stateNode!==null&&Fh(e,e.memoizedProps,c.memoizedProps)}break;case 27:$n(t,e),Yn(e),h&512&&(Qt||c===null||co(c,c.return)),c!==null&&h&4&&Fh(e,e.memoizedProps,c.memoizedProps);break;case 5:if($n(t,e),Yn(e),h&512&&(Qt||c===null||co(c,c.return)),e.flags&32){g=e.stateNode;try{ue(e,Jv,g)}catch(se){ct(e,e.return,se)}}h&4&&e.stateNode!=null&&(g=e.memoizedProps,Fh(e,g,c!==null?c.memoizedProps:g)),h&1024&&(Mm=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if($n(t,e),Yn(e),h&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.");h=e.memoizedProps,c=c!==null?c.memoizedProps:h,g=e.stateNode;try{ue(e,NR,g,c,h)}catch(se){ct(e,e.return,se)}}break;case 3:if(g=$o(),id=null,y=Ga,Ga=Ic(t.containerInfo),$n(t,e),Ga=y,Yn(e),h&4&&c!==null&&c.memoizedState.isDehydrated)try{ue(e,$R,t.containerInfo)}catch(se){ct(e,e.return,se)}Mm&&(Mm=!1,Pb(e)),t.effectDuration+=gc(g);break;case 4:h=Ga,Ga=Ic(e.stateNode.containerInfo),$n(t,e),Yn(e),Ga=h;break;case 12:h=$o(),$n(t,e),Yn(e),e.stateNode.effectDuration+=cs(h);break;case 31:$n(t,e),Yn(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Gc(e,h)));break;case 13:$n(t,e),Yn(e),e.child.flags&8192&&e.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(Qf=on()),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Gc(e,h)));break;case 22:g=e.memoizedState!==null;var O=c!==null&&c.memoizedState!==null,H=ol,ne=Qt;if(ol=H||g,Qt=ne||O,$n(t,e),Qt=ne,ol=H,O&&!g&&!H&&!ne&&(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&rc(e,Ce,Ue),Yn(e),h&8192)e:for(t=e.stateNode,t._visibility=g?t._visibility&~Zs:t._visibility|Zs,!g||c===null||O||ol||Qt||(Sr(e),(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&eo(e,Ce,Ue,"Disconnect")),c=null,t=e;;){if(t.tag===5||t.tag===26){if(c===null){O=c=t;try{y=O.stateNode,g?ue(O,UR,y):ue(O,jR,O.stateNode,O.memoizedProps)}catch(se){ct(O,O.return,se)}}}else if(t.tag===6){if(c===null){O=t;try{A=O.stateNode,g?ue(O,zR,A):ue(O,HR,A,O.memoizedProps)}catch(se){ct(O,O.return,se)}}}else if(t.tag===18){if(c===null){O=t;try{_=O.stateNode,g?ue(O,MR,_):ue(O,LR,O.stateNode)}catch(se){ct(O,O.return,se)}}}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}h&4&&(h=e.updateQueue,h!==null&&(c=h.retryQueue,c!==null&&(h.retryQueue=null,Gc(e,c))));break;case 19:$n(t,e),Yn(e),h&4&&(h=e.updateQueue,h!==null&&(e.updateQueue=null,Gc(e,h)));break;case 30:break;case 21:break;default:$n(t,e),Yn(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&((Ut||.05<At)&&to(e,Ce,Ue,At,Ot),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-Ce&&(Gb(e.return.alternate,e.return)||eo(e,Ce,Ue,"Mount"))),Fn(n),oo(a),Ot=o,Ut=i}function Yn(e){var t=e.flags;if(t&2){try{ue(e,aR,e)}catch(n){ct(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Pb(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Pb(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function fo(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Xb(e,t.alternate,t),t=t.sibling}function Ib(e){var t=Jn(),n=ao(),a=lo(),o=ro();switch(e.tag){case 0:case 11:case 14:case 15:Zh(e,e.return,aa),Sr(e);break;case 1:co(e,e.return);var i=e.stateNode;typeof i.componentWillUnmount=="function"&&Vb(e,e.return,i),Sr(e);break;case 27:ue(e,_s,e.stateNode);case 26:case 5:co(e,e.return),Sr(e);break;case 22:e.memoizedState===null&&Sr(e);break;case 30:Sr(e);break;default:Sr(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(e,Ce,Ue,At,Ot),Fn(t),oo(n),Ot=a,Ut=o}function Sr(e){for(e=e.child;e!==null;)Ib(e),e=e.sibling}function Wb(e,t,n,a){var o=Jn(),i=ao(),c=lo(),h=ro(),g=n.flags;switch(n.tag){case 0:case 11:case 15:ho(e,n,a),jb(n,aa);break;case 1:if(ho(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&ue(n,vm,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ue(n,$w,t,e)}catch(y){ct(n,n.return,y)}}a&&g&64&&kb(n),xs(n,n.return);break;case 27:qb(n);case 26:case 5:ho(e,n,a),a&&t===null&&g&4&&$b(n),xs(n,n.return);break;case 12:if(a&&g&4){g=$o(),ho(e,n,a),a=n.stateNode,a.effectDuration+=cs(g);try{ue(n,Bb,n,t,Bl,a.effectDuration)}catch(y){ct(n,n.return,y)}}else ho(e,n,a);break;case 31:ho(e,n,a),a&&g&4&&Jb(e,n);break;case 13:ho(e,n,a),a&&g&4&&Fb(e,n);break;case 22:n.memoizedState===null&&ho(e,n,a),xs(n,n.return);break;case 30:break;default:ho(e,n,a)}(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(n,Ce,Ue,At,Ot),Fn(o),oo(i),Ot=c,Ut=h}function ho(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Wb(e,t.alternate,t,n),t=t.sibling}function Ih(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&&mr(e),n!=null&&us(n))}function Wh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(mr(t),e!=null&&us(e))}function Va(e,t,n,a,o){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;ev(e,t,n,a,i!==null?i.actualStartTime:o),t=i}}function ev(e,t,n,a,o){var i=Jn(),c=ao(),h=lo(),g=ro(),y=jl,A=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ge)!==ze&&0<t.actualStartTime&&(t.flags&1)!==0&&ic(t,t.actualStartTime,o,Pt,n),Va(e,t,n,a,o),A&2048&&Hb(t,zn|wa);break;case 1:(t.mode&Ge)!==ze&&0<t.actualStartTime&&((t.flags&128)!==0?Ld(t,t.actualStartTime,o,[]):(t.flags&1)!==0&&ic(t,t.actualStartTime,o,Pt,n)),Va(e,t,n,a,o);break;case 3:var _=$o(),O=Pt;Pt=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Va(e,t,n,a,o),Pt=O,A&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(mr(a),n!=null&&us(n))),e.passiveEffectDuration+=gc(_);break;case 12:if(A&2048){A=$o(),Va(e,t,n,a,o),e=t.stateNode,e.passiveEffectDuration+=cs(A);try{ue(t,nR,t,t.alternate,Bl,e.passiveEffectDuration)}catch(H){ct(t,t.return,H)}}else Va(e,t,n,a,o);break;case 31:A=Pt,_=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,_!==null&&O===null?(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Pt=!1,_=_.hydrationErrors,_!==null&&Ld(t,t.actualStartTime,o,_)):Pt=!0):Pt=!1,Va(e,t,n,a,o),Pt=A;break;case 13:A=Pt,_=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,_===null||_.dehydrated===null||O!==null&&O.dehydrated!==null?Pt=!1:(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Pt=!1,_=_.hydrationErrors,_!==null&&Ld(t,t.actualStartTime,o,_)):Pt=!0),Va(e,t,n,a,o),Pt=A;break;case 23:break;case 22:O=t.stateNode,_=t.alternate,t.memoizedState!==null?O._visibility&Jo?Va(e,t,n,a,o):ws(e,t,n,a,o):O._visibility&Jo?Va(e,t,n,a,o):(O._visibility|=Jo,oi(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),o),(t.mode&Ge)===ze||Pt||(e=t.actualStartTime,0<=e&&.05<o-e&&rc(t,e,o),0<=Ce&&0<=Ue&&.05<Ue-Ce&&rc(t,Ce,Ue))),A&2048&&Ih(_,t);break;case 24:Va(e,t,n,a,o),A&2048&&Wh(t.alternate,t);break;default:Va(e,t,n,a,o)}(t.mode&Ge)!==ze&&((e=!Pt&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<o-n&&eo(t,n,o,"Mount")),0<=Ce&&0<=Ue&&((Ut||.05<At)&&to(t,Ce,Ue,At,Ot),e&&.05<Ue-Ce&&eo(t,Ce,Ue,"Mount"))),Fn(i),oo(c),Ot=h,Ut=g,jl=y}function oi(e,t,n,a,o,i){for(o=o&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var c=t.sibling;tv(e,t,n,a,o,c!==null?c.actualStartTime:i),t=c}}function tv(e,t,n,a,o,i){var c=Jn(),h=ao(),g=lo(),y=ro(),A=jl;o&&(t.mode&Ge)!==ze&&0<t.actualStartTime&&(t.flags&1)!==0&&ic(t,t.actualStartTime,i,Pt,n);var _=t.flags;switch(t.tag){case 0:case 11:case 15:oi(e,t,n,a,o,i),Hb(t,zn);break;case 23:break;case 22:var O=t.stateNode;t.memoizedState!==null?O._visibility&Jo?oi(e,t,n,a,o,i):ws(e,t,n,a,i):(O._visibility|=Jo,oi(e,t,n,a,o,i)),o&&_&2048&&Ih(t.alternate,t);break;case 24:oi(e,t,n,a,o,i),o&&_&2048&&Wh(t.alternate,t);break;default:oi(e,t,n,a,o,i)}(t.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(t,Ce,Ue,At,Ot),Fn(c),oo(h),Ot=g,Ut=y,jl=A}function ws(e,t,n,a,o){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,h=n,g=a,y=t!==null?t.actualStartTime:o,A=jl;(i.mode&Ge)!==ze&&0<i.actualStartTime&&(i.flags&1)!==0&&ic(i,i.actualStartTime,y,Pt,h);var _=i.flags;switch(i.tag){case 22:ws(c,i,h,g,y),_&2048&&Ih(i.alternate,i);break;case 24:ws(c,i,h,g,y),_&2048&&Wh(i.alternate,i);break;default:ws(c,i,h,g,y)}jl=A,i=t}}function li(e,t,n){if(e.subtreeFlags&hu)for(e=e.child;e!==null;)nv(e,t,n),e=e.sibling}function nv(e,t,n){switch(e.tag){case 26:li(e,t,n),e.flags&hu&&e.memoizedState!==null&&ZR(n,Ga,e.memoizedState,e.memoizedProps);break;case 5:li(e,t,n);break;case 3:case 4:var a=Ga;Ga=Ic(e.stateNode.containerInfo),li(e,t,n),Ga=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=hu,hu=16777216,li(e,t,n),hu=a):li(e,t,n));break;default:li(e,t,n)}}function av(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 Rs(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],o=Jn();rn=a,rv(a,e),(a.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&eo(a,Ce,Ue,"Unmount"),Fn(o)}av(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ov(e),e=e.sibling}function ov(e){var t=Jn(),n=ao(),a=lo(),o=ro();switch(e.tag){case 0:case 11:case 15:Rs(e),e.flags&2048&&Jh(e,e.return,zn|wa);break;case 3:var i=$o();Rs(e),e.stateNode.passiveEffectDuration+=gc(i);break;case 12:i=$o(),Rs(e),e.stateNode.passiveEffectDuration+=cs(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&Jo&&(e.return===null||e.return.tag!==13)?(i._visibility&=~Jo,Xc(e),(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&eo(e,Ce,Ue,"Disconnect")):Rs(e);break;default:Rs(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(e,Ce,Ue,At,Ot),Fn(t),oo(n),Ut=o,Ot=a}function Xc(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],o=Jn();rn=a,rv(a,e),(a.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&eo(a,Ce,Ue,"Unmount"),Fn(o)}av(e)}for(e=e.child;e!==null;)lv(e),e=e.sibling}function lv(e){var t=Jn(),n=ao(),a=lo(),o=ro();switch(e.tag){case 0:case 11:case 15:Jh(e,e.return,zn),Xc(e);break;case 22:var i=e.stateNode;i._visibility&Jo&&(i._visibility&=~Jo,Xc(e));break;default:Xc(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(e,Ce,Ue,At,Ot),Fn(t),oo(n),Ut=o,Ot=a}function rv(e,t){for(;rn!==null;){var n=rn,a=n,o=t,i=Jn(),c=ao(),h=lo(),g=ro();switch(a.tag){case 0:case 11:case 15:Jh(a,o,zn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool,o!=null&&mr(o));break;case 24:us(a.memoizedState.cache)}if((a.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Ut||.05<At)&&to(a,Ce,Ue,At,Ot),Fn(i),oo(c),Ut=g,Ot=h,a=n.child,a!==null)a.return=n,rn=a;else e:for(n=e;rn!==null;){if(a=rn,i=a.sibling,c=a.return,Qb(a),a===n){rn=null;break e}if(i!==null){i.return=c,rn=i;break e}rn=c}}}function rR(){ND.forEach(function(e){return e()})}function iv(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||$.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Pn(e){if((lt&It)!==sn&&Qe!==0)return Qe&-Qe;var t=$.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),ip()):Ma()}function sv(){if(Xn===0)if((Qe&536870912)===0||We){var e=ff;ff<<=1,(ff&3932160)===0&&(ff=262144),Xn=e}else Xn=536870912;return e=na.current,e!==null&&(e.flags|=32),Xn}function Mt(e,t,n){if(Gi&&console.error("useInsertionEffect must not schedule updates."),qm&&(Kf=!0),(e===yt&&(ht===jr||ht===Hr)||e.cancelPendingCommit!==null)&&(ii(e,0),Cl(e,Qe,Xn,!1)),ca(e,n),(lt&It)!==sn&&e===yt){if(bo)switch(t.tag){case 0:case 11:case 15:e=Ze&&X(Ze)||"Unknown",L1.has(e)||(L1.add(e),t=X(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:z1||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),z1=!0)}}else So&&Mo(e,t,n),gR(t),e===yt&&((lt&It)===sn&&(Jl|=n),_t===Xl&&Cl(e,Qe,Xn,!1)),po(e)}function uv(e,t,n){if((lt&(It|oa))!==sn)throw Error("Should not already be working.");if(Qe!==0&&Ze!==null){var a=Ze,o=on();switch(OS){case gu:case jr:var i=Ws;wt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",i,o,ma,void 0,"primary-light")):console.timeStamp("Suspended",i,o,ma,void 0,"primary-light"));break;case Hr:i=Ws,wt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",i,o,ma,void 0,"primary-light")):console.timeStamp("Action",i,o,ma,void 0,"primary-light"));break;default:wt&&(a=o-Ws,3>a||console.timeStamp("Blocked",Ws,o,ma,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Fa(e,t))?sR(e,t):tp(e,t,!0);var c=n;do{if(i===ll){Yi&&!n&&Cl(e,t,0,!1),t=ht,Ws=qt(),OS=t;break}else{if(a=on(),o=e.current.alternate,c&&!iR(o)){Ha(t),o=ln,i=a,!wt||i<=o||(Lt?Lt.run(console.timeStamp.bind(console,"Teared Render",o,i,ot,nt,"error")):console.timeStamp("Teared Render",o,i,ot,nt,"error")),Er(t,a),i=tp(e,t,!1),c=!1;continue}if(i===Lr){if(c=t,e.errorRecoveryDisabledLanes&c)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){Ha(t),jd(ln,a,t,Lt),Er(t,a),t=h;e:{a=e,i=c,c=bu;var g=a.current.memoizedState.isDehydrated;if(g&&(ii(a,h).flags|=256),h=tp(a,h,!1),h!==Lr){if(Lm&&!g){a.errorRecoveryDisabledLanes|=i,Jl|=i,i=Xl;break e}a=Ln,Ln=c,a!==null&&(Ln===null?Ln=a:Ln.push.apply(Ln,a))}i=h}if(c=!1,i!==Lr)continue;a=on()}}if(i===mu){Ha(t),jd(ln,a,t,Lt),Er(t,a),ii(e,0),Cl(e,t,0,!0);break}e:{switch(n=e,i){case ll:case mu:throw Error("Root did not complete. This is a bug in React.");case Xl:if((t&4194048)!==t)break;case Yf:Ha(t),uy(ln,a,t,Lt),Er(t,a),o=t,(o&127)!==0?Of=a:(o&4194048)!==0&&(Cf=a),Cl(n,t,Xn,!Ql);break e;case Lr:Ln=null;break;case $f:case E1:break;default:throw Error("Unknown root exit status.")}if($.actQueue!==null)np(n,o,t,Ln,vu,Xf,Xn,Jl,kr,i,null,null,ln,a);else{if((t&62914560)===t&&(c=Qf+R1-on(),10<c)){if(Cl(n,t,Xn,!Ql),Ao(n,0,!0)!==0)break e;Xa=t,n.timeoutHandle=q1(cv.bind(null,n,o,Ln,vu,Xf,t,Xn,Jl,kr,Ql,i,"Throttled",ln,a),c);break e}cv(n,o,Ln,vu,Xf,t,Xn,Jl,kr,Ql,i,null,ln,a)}}}break}while(!0);po(e)}function cv(e,t,n,a,o,i,c,h,g,y,A,_,O,H){e.timeoutHandle=qr;var ne=t.subtreeFlags,se=null;if((ne&8192||(ne&16785408)===16785408)&&(se={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ho},nv(t,i,se),ne=(i&62914560)===i?Qf-on():(i&4194048)===i?w1-on():0,ne=JR(se,ne),ne!==null)){Xa=i,e.cancelPendingCommit=ne(np.bind(null,e,t,i,n,a,o,c,h,g,A,se,se.waitingForViewTransition?"Waiting for the previous Animation":0<se.count?0<se.imgCount?"Suspended on CSS and Images":"Suspended on CSS":se.imgCount===1?"Suspended on an Image":0<se.imgCount?"Suspended on Images":null,O,H)),Cl(e,i,c,!y);return}np(e,t,i,n,a,o,c,h,g,A,se,_,O,H)}function iR(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 o=n[a],i=o.getSnapshot;o=o.value;try{if(!_n(i(),o))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 Cl(e,t,n,a){t&=~jm,t&=~Jl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var i=31-Cn(o),c=1<<i;a[i]=-1,o&=~c}n!==0&&Rn(e,n,t)}function ri(){return(lt&(It|oa))===sn?(Os(0),!1):!0}function ep(){if(Ze!==null){if(ht===Gn)var e=Ze.return;else e=Ze,hc(),fh(e),Ui=null,su=0,e=Ze;for(;e!==null;)Lb(e.alternate,e),e=e.return;Ze=null}}function Er(e,t){(e&127)!==0&&(Dr=t),(e&4194048)!==0&&(Wo=t),(e&62914560)!==0&&(TS=t),(e&2080374784)!==0&&(DS=t)}function ii(e,t){wt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",nt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",nt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",nt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",nt,"primary-light"));var n=ln;if(ln=qt(),Qe!==0&&0<n){if(Ha(Qe),_t===$f||_t===Xl)uy(n,ln,t,Lt);else{var a=ln,o=Lt;if(wt&&!(a<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",c=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,c,n,a,ot,nt,i)):console.timeStamp(c,n,a,ot,nt,i)}}Er(Qe,ln)}if(n=Lt,Lt=null,(t&127)!==0){Lt=Ks,o=0<=Ro&&Ro<Dr?Dr:Ro,a=0<=Or&&Or<Dr?Dr:Or,i=0<=a?a:0<=o?o:ln,0<=Of?(Ha(2),cy(Of,i,t,n)):Nf&127,n=o;var h=a,g=Ps,y=0<Ai,A=$l===Fs,_=$l===Df;if(o=ln,a=Ks,i=pm,c=mm,wt){if(ot="Blocking",0<n?n>o&&(n=o):n=o,0<h?h>n&&(h=n):h=n,g!==null&&n>h){var O=y?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+g,h,n,ot,nt,O)):console.timeStamp(y?"Consecutive":"Event: "+g,h,n,ot,nt,O)}o>n&&(h=A?"error":(t&738197653)===t?"tertiary-light":"primary-light",A=_?"Promise Resolved":A?"Cascading Update":5<o-n?"Update Blocked":"Update",_=[],c!=null&&_.push(["Component name",c]),i!=null&&_.push(["Method name",i]),n={start:n,end:o,detail:{devtools:{properties:_,track:ot,trackGroup:nt,color:h}}},a?a.run(performance.measure.bind(performance,A,n)):performance.measure(A,n))}Ro=-1.1,$l=0,mm=pm=null,Of=-1.1,Ai=Or,Or=-1.1,Dr=qt()}if((t&4194048)!==0&&(Lt=Is,o=0<=el&&el<Wo?Wo:el,n=0<=Ea&&Ea<Wo?Wo:Ea,a=0<=Yl&&Yl<Wo?Wo:Yl,i=0<=a?a:0<=n?n:ln,0<=Cf?(Ha(256),cy(Cf,i,t,Lt)):Nf&4194048,_=a,h=Cr,g=0<ql,y=gm===Df,i=ln,a=Is,c=wS,A=RS,wt&&(ot="Transition",0<n?n>i&&(n=i):n=i,0<o?o>n&&(o=n):o=n,0<_?_>o&&(_=o):_=o,o>_&&h!==null&&(O=g?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+h,_,o,ot,nt,O)):console.timeStamp(g?"Consecutive":"Event: "+h,_,o,ot,nt,O)),n>o&&(a?a.run(console.timeStamp.bind(console,"Action",o,n,ot,nt,"primary-dark")):console.timeStamp("Action",o,n,ot,nt,"primary-dark")),i>n&&(o=y?"Promise Resolved":5<i-n?"Update Blocked":"Update",_=[],A!=null&&_.push(["Component name",A]),c!=null&&_.push(["Method name",c]),n={start:n,end:i,detail:{devtools:{properties:_,track:ot,trackGroup:nt,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,o,n)):performance.measure(o,n))),Ea=el=-1.1,gm=0,Cf=-1.1,ql=Yl,Yl=-1.1,Wo=qt()),(t&62914560)!==0&&(Nf&62914560)!==0&&(Ha(4194304),Hd(TS,ln)),(t&2080374784)!==0&&(Nf&2080374784)!==0&&(Ha(268435456),Hd(DS,ln)),n=e.timeoutHandle,n!==qr&&(e.timeoutHandle=qr,YD(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Xa=0,ep(),yt=e,Ze=n=ko(e.current,null),Qe=t,ht=Gn,la=null,Ql=!1,Yi=Fa(e,t),Lm=!1,_t=ll,kr=Xn=jm=Jl=Zl=0,Ln=bu=null,Xf=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)o=31-Cn(a),i=1<<o,t|=e[o],a&=~i;return Do=t,sc(),e=yS(),1e3<e-gS&&($.recentlyCreatedOwnerStacks=0,gS=e),Ya.discardPendingWarnings(),n}function fv(e,t){He=null,$.H=du,$.getCurrentStack=null,bo=!1,ea=null,t===Mi||t===Uf?(t=My(),ht=gu):t===Sm?(t=My(),ht=x1):ht=t===Am?zm:t!==null&&typeof t=="object"&&typeof t.then=="function"?yu:qf,la=t;var n=Ze;n===null?(_t=mu,kc(e,Zn(t,e.current))):n.mode&Ge&&Id(n)}function dv(){var e=na.current;return e===null?!0:(Qe&4194048)===Qe?xa===null:(Qe&62914560)===Qe||(Qe&536870912)!==0?e===xa:!1}function hv(){var e=$.H;return $.H=du,e===null?du:e}function pv(){var e=$.A;return $.A=CD,e}function Qc(e){Lt===null&&(Lt=e._debugTask==null?null:e._debugTask)}function Zc(){_t=Xl,Ql||(Qe&4194048)!==Qe&&na.current!==null||(Yi=!0),(Zl&134217727)===0&&(Jl&134217727)===0||yt===null||Cl(yt,Qe,Xn,!1)}function tp(e,t,n){var a=lt;lt|=It;var o=hv(),i=pv();if(yt!==e||Qe!==t){if(So){var c=e.memoizedUpdaters;0<c.size&&(Ds(e,Qe),c.clear()),gn(e,t)}vu=null,ii(e,t)}t=!1,c=_t;e:do try{if(ht!==Gn&&Ze!==null){var h=Ze,g=la;switch(ht){case zm:ep(),c=Yf;break e;case gu:case jr:case Hr:case yu:na.current===null&&(t=!0);var y=ht;if(ht=Gn,la=null,si(e,h,g,y),n&&Yi){c=ll;break e}break;default:y=ht,ht=Gn,la=null,si(e,h,g,y)}}mv(),c=_t;break}catch(A){fv(e,A)}while(!0);return t&&e.shellSuspendCounter++,hc(),lt=a,$.H=o,$.A=i,Ze===null&&(yt=null,Qe=0,sc()),c}function mv(){for(;Ze!==null;)gv(Ze)}function sR(e,t){var n=lt;lt|=It;var a=hv(),o=pv();if(yt!==e||Qe!==t){if(So){var i=e.memoizedUpdaters;0<i.size&&(Ds(e,Qe),i.clear()),gn(e,t)}vu=null,Zf=on()+T1,ii(e,t)}else Yi=Fa(e,t);e:do try{if(ht!==Gn&&Ze!==null)t:switch(t=Ze,i=la,ht){case qf:ht=Gn,la=null,si(e,t,i,qf);break;case jr:case Hr:if(Ay(i)){ht=Gn,la=null,yv(t);break}t=function(){ht!==jr&&ht!==Hr||yt!==e||(ht=Gf),po(e)},i.then(t,t);break e;case gu:ht=Gf;break e;case x1:ht=Um;break e;case Gf:Ay(i)?(ht=Gn,la=null,yv(t)):(ht=Gn,la=null,si(e,t,i,Gf));break;case Um:var c=null;switch(Ze.tag){case 26:c=Ze.memoizedState;case 5:case 27:var h=Ze;if(c?u0(c):h.stateNode.complete){ht=Gn,la=null;var g=h.sibling;if(g!==null)Ze=g;else{var y=h.return;y!==null?(Ze=y,Jc(y)):Ze=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=Gn,la=null,si(e,t,i,Um);break;case yu:ht=Gn,la=null,si(e,t,i,yu);break;case zm:ep(),_t=Yf;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}$.actQueue!==null?mv():uR();break}catch(A){fv(e,A)}while(!0);return hc(),$.H=a,$.A=o,lt=n,Ze!==null?ll:(yt=null,Qe=0,sc(),_t)}function uR(){for(;Ze!==null&&!sT();)gv(Ze)}function gv(e){var t=e.alternate;(e.mode&Ge)!==ze?(Pd(e),t=ue(e,Xh,t,e,Do),Id(e)):t=ue(e,Xh,t,e,Do),e.memoizedProps=e.pendingProps,t===null?Jc(e):Ze=t}function yv(e){var t=ue(e,cR,e);e.memoizedProps=e.pendingProps,t===null?Jc(e):Ze=t}function cR(e){var t=e.alternate,n=(e.mode&Ge)!==ze;switch(n&&Pd(e),e.tag){case 15:case 0:t=Cb(t,e,e.pendingProps,e.type,void 0,Qe);break;case 11:t=Cb(t,e,e.pendingProps,e.type.render,e.ref,Qe);break;case 5:fh(e);default:Lb(t,e),e=Ze=gy(e,Do),t=Xh(t,e,Do)}return n&&Id(e),t}function si(e,t,n,a){hc(),fh(t),Ui=null,su=0;var o=t.return;try{if(Jw(e,o,t,n,Qe)){_t=mu,kc(e,Zn(n,e.current)),Ze=null;return}}catch(i){if(o!==null)throw Ze=o,i;_t=mu,kc(e,Zn(n,e.current)),Ze=null;return}t.flags&32768?(We||a===qf?e=!0:Yi||(Qe&536870912)!==0?e=!1:(Ql=e=!0,(a===jr||a===Hr||a===gu||a===yu)&&(a=na.current,a!==null&&a.tag===13&&(a.flags|=16384))),bv(t,e)):Jc(t)}function Jc(e){var t=e;do{if((t.flags&32768)!==0){bv(t,Ql);return}var n=t.alternate;if(e=t.return,Pd(t),n=ue(t,Pw,n,t,Do),(t.mode&Ge)!==ze&&Ty(t),n!==null){Ze=n;return}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);_t===ll&&(_t=E1)}function bv(e,t){do{var n=Iw(e.alternate,e);if(n!==null){n.flags&=32767,Ze=n;return}if((e.mode&Ge)!==ze){Ty(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)){Ze=e;return}Ze=e=n}while(e!==null);_t=Yf,Ze=null}function np(e,t,n,a,o,i,c,h,g,y,A,_,O,H){e.cancelPendingCommit=null;do Ts();while(Jt!==Kl);if(Ya.flushLegacyContextWarning(),Ya.flushPendingUnsafeLifecycleWarnings(),(lt&(It|oa))!==sn)throw Error("Should not already be working.");if(Ha(n),y===Lr?jd(O,H,n,Lt):a!==null?Lw(O,H,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Lt):zw(O,H,n,Lt),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|=um,kn(e,n,i,c,h,g),e===yt&&(Ze=yt=null,Qe=0),qi=t,Pl=e,Xa=n,Vm=i,$m=o,_1=a,Bm=H,M1=_,Qa=Jf,U1=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,mR(pi,function(){return Tu=window.event,Qa===Jf&&(Qa=km),wv(),null})):(e.callbackNode=null,e.callbackPriority=0),Io=null,Bl=qt(),_!==null&&jw(H,Bl,_,Lt),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=$.T,$.T=null,o=ft.p,ft.p=pa,c=lt,lt|=oa;try{oR(e,t,n)}finally{lt=c,ft.p=o,$.T=a}}Jt=O1,vv(),Sv(),Ev()}}function vv(){if(Jt===O1){Jt=Kl;var e=Pl,t=qi,n=Xa,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=$.T,$.T=null;var o=ft.p;ft.p=pa;var i=lt;lt|=oa;try{Bi=n,$i=e,yc(),Kb(t,e),$i=Bi=null,n=Im;var c=ry(e.containerInfo),h=n.focusedElem,g=n.selectionRange;if(c!==h&&h&&h.ownerDocument&&ly(h.ownerDocument.documentElement,h)){if(g!==null&&Ud(h)){var y=g.start,A=g.end;if(A===void 0&&(A=y),"selectionStart"in h)h.selectionStart=y,h.selectionEnd=Math.min(A,h.value.length);else{var _=h.ownerDocument||document,O=_&&_.defaultView||window;if(O.getSelection){var H=O.getSelection(),ne=h.textContent.length,se=Math.min(g.start,ne),St=g.end===void 0?se:Math.min(g.end,ne);!H.extend&&se>St&&(c=St,St=se,se=c);var at=oy(h,se),T=oy(h,St);if(at&&T&&(H.rangeCount!==1||H.anchorNode!==at.node||H.anchorOffset!==at.offset||H.focusNode!==T.node||H.focusOffset!==T.offset)){var C=_.createRange();C.setStart(at.node,at.offset),H.removeAllRanges(),se>St?(H.addRange(C),H.extend(T.node,T.offset)):(C.setEnd(T.node,T.offset),H.addRange(C))}}}}for(_=[],H=h;H=H.parentNode;)H.nodeType===1&&_.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<_.length;h++){var N=_[h];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}cd=!!Pm,Im=Pm=null}finally{lt=i,ft.p=o,$.T=a}}e.current=t,Jt=C1}}function Sv(){if(Jt===C1){Jt=Kl;var e=U1;if(e!==null){Bl=qt();var t=Po,n=Bl;!wt||n<=t||console.timeStamp(e,t,n,ot,nt,"secondary-light")}e=Pl,t=qi,n=Xa;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=$.T,$.T=null;var o=ft.p;ft.p=pa;var i=lt;lt|=oa;try{Bi=n,$i=e,yc(),Xb(e,t.alternate,t),$i=Bi=null}finally{lt=i,ft.p=o,$.T=a}}e=Bm,t=M1,Po=qt(),e=t===null?e:Bl,t=Po,n=Qa===Hm,a=Lt,Io!==null?fy(e,t,Io,!1,a):!wt||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,ot,nt,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,ot,nt,n?"error":"secondary-dark")),Jt=N1}}function Ev(){if(Jt===A1||Jt===N1){if(Jt===A1){var e=Po;Po=qt();var t=Po,n=Qa===Hm;!wt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,ot,nt,n?" error":"secondary-light"),Qa!==Hm&&(Qa=D1)}Jt=Kl,uT(),e=Pl;var a=qi;t=Xa,n=_1;var o=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;o?Jt=Ff:(Jt=Kl,qi=Pl=null,xv(e,e.pendingLanes),Vr=0,Eu=null);var i=e.pendingLanes;if(i===0&&(Fl=null),o||Ov(e),i=Uo(t),a=a.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{var c=(a.current.flags&128)===128;switch(i){case pa:var h=$p;break;case Eo:h=Yp;break;case Qo:h=pi;break;case hf:h=qp;break;default:h=pi}vn.onCommitFiberRoot(mi,a,h,c)}catch(_){vo||(vo=!0,console.error("React instrumentation encountered an error: %o",_))}if(So&&e.memoizedUpdaters.clear(),rR(),n!==null){c=$.T,h=ft.p,ft.p=pa,$.T=null;try{var g=e.onRecoverableError;for(a=0;a<n.length;a++){var y=n[a],A=fR(y.stack);ue(y.source,g,y.value,A)}}finally{$.T=c,ft.p=h}}(Xa&3)!==0&&Ts(),po(e),i=e.pendingLanes,(t&261930)!==0&&(i&42)!==0?(_f=!0,e===Ym?Su++:(Su=0,Ym=e)):Su=0,o||Er(t,Po),Os(0)}}function fR(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 xv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,us(t)))}function Ts(){return vv(),Sv(),Ev(),wv()}function wv(){if(Jt!==Ff)return!1;var e=Pl,t=Vm;Vm=0;var n=Uo(Xa),a=Qo>n?Qo:n;n=$.T;var o=ft.p;try{ft.p=a,$.T=null;var i=$m;$m=null,a=Pl;var c=Xa;if(Jt=Kl,qi=Pl=null,Xa=0,(lt&(It|oa))!==sn)throw Error("Cannot flush passive effects while already rendering.");Ha(c),qm=!0,Kf=!1;var h=0;if(Io=null,h=on(),Qa===D1)Hd(Po,h,ED);else{var g=Po,y=h,A=Qa===km;!wt||y<=g||(Lt?Lt.run(console.timeStamp.bind(console,A?"Waiting for Paint":"Waiting",g,y,ot,nt,"secondary-light")):console.timeStamp(A?"Waiting for Paint":"Waiting",g,y,ot,nt,"secondary-light"))}g=lt,lt|=oa;var _=a.current;yc(),ov(_);var O=a.current;_=Bm,yc(),ev(a,O,c,i,_),Ov(a),lt=g;var H=on();if(O=h,_=Lt,Io!==null?fy(O,H,Io,!0,_):!wt||H<=O||(_?_.run(console.timeStamp.bind(console,"Remaining Effects",O,H,ot,nt,"secondary-dark")):console.timeStamp("Remaining Effects",O,H,ot,nt,"secondary-dark")),Er(c,H),Os(0,!1),Kf?a===Eu?Vr++:(Vr=0,Eu=a):Vr=0,Kf=qm=!1,vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(mi,a)}catch(se){vo||(vo=!0,console.error("React instrumentation encountered an error: %o",se))}var ne=a.current.stateNode;return ne.effectDuration=0,ne.passiveEffectDuration=0,!0}finally{ft.p=o,$.T=n,xv(e,t)}}function Rv(e,t,n){t=Zn(n,t),Dy(t),t=zh(e.stateNode,t,2),e=Rl(e,t,2),e!==null&&(ca(e,2),po(e))}function ct(e,t,n){if(Gi=!1,e.tag===3)Rv(e,e,n);else{for(;t!==null;){if(t.tag===3){Rv(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fl===null||!Fl.has(a))){e=Zn(n,e),Dy(e),n=Lh(2),a=Rl(t,n,2),a!==null&&(jh(n,a,t,e),ca(a,2),po(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 ap(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new AD;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(n)||(Lm=!0,o.add(n),a=dR.bind(null,e,t,n),So&&Ds(e,n),t.then(a,a))}function dR(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Ro&&(Dr=Ro=qt(),Ks=Tf("Promise Resolved"),$l=Df):(n&4194048)!==0&&0>Ea&&(Wo=Ea=qt(),Is=Tf("Promise Resolved"),gm=Df),iv()&&$.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`),yt===e&&(Qe&n)===n&&(_t===Xl||_t===$f&&(Qe&62914560)===Qe&&on()-Qf<R1?(lt&It)===sn&&ii(e,0):jm|=n,kr===Qe&&(kr=0)),po(e)}function Tv(e,t){t===0&&(t=_a()),e=bn(e,t),e!==null&&(ca(e,t),po(e))}function hR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tv(e,n)}function pR(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(n=o.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),Tv(e,n)}function op(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,o=t,i=o.type===rf;i=n||i,o.tag!==22?o.flags&67108864?i&&ue(o,Dv,a,o):op(a,o,i):o.memoizedState===null&&(i&&o.flags&8192?ue(o,Dv,a,o):o.subtreeFlags&67108864&&ue(o,op,a,o,i)),t=t.sibling}}function Dv(e,t){pe(!0);try{Ib(t),lv(t),Wb(e,t.alternate,t,!1),tv(e,t,0,null,!1,0)}finally{pe(!1)}}function Ov(e){var t=!0;e.current.mode&(Sn|$a)||(t=!1),op(e,e.current,t)}function Cv(e){if((lt&It)===sn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=X(e)||"ReactComponent",Pf!==null){if(Pf.has(t))return;Pf.add(t)}else Pf=new Set([t]);ue(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 Ds(e,t){So&&e.memoizedUpdaters.forEach(function(n){Mo(e,n,t)})}function mR(e,t){var n=$.actQueue;return n!==null?(n.push(t),UD):Bp(e,t)}function gR(e){iv()&&$.actQueue===null&&ue(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`,X(e))})}function po(e){e!==Xi&&e.next===null&&(Xi===null?If=Xi=e:Xi=Xi.next=e),Wf=!0,$.actQueue!==null?Xm||(Xm=!0,Mv()):Gm||(Gm=!0,Mv())}function Os(e,t){if(!Qm&&Wf){Qm=!0;do for(var n=!1,a=If;a!==null;){if(e!==0){var o=a.pendingLanes;if(o===0)var i=0;else{var c=a.suspendedLanes,h=a.pingedLanes;i=(1<<31-Cn(42|e)+1)-1,i&=o&~(c&~h),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,_v(a,i))}else i=Qe,i=Ao(a,a===yt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==qr),(i&3)===0||Fa(a,i)||(n=!0,_v(a,i));a=a.next}while(n);Qm=!1}}function yR(){Tu=window.event,lp()}function lp(){Wf=Xm=Gm=!1;var e=0;Il!==0&&RR()&&(e=Il);for(var t=on(),n=null,a=If;a!==null;){var o=a.next,i=Nv(a,t);i===0?(a.next=null,n===null?If=o:n.next=o,o===null&&(Xi=n)):(n=a,(e!==0||(i&3)!==0)&&(Wf=!0)),a=o}Jt!==Kl&&Jt!==Ff||Os(e),Il!==0&&(Il=0)}function Nv(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-Cn(i),h=1<<c,g=o[c];g===-1?((h&n)===0||(h&a)!==0)&&(o[c]=ua(h,t)):g<=t&&(e.expiredLanes|=h),i&=~h}if(t=yt,n=Qe,n=Ao(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==qr),a=e.callbackNode,n===0||e===t&&(ht===jr||ht===Hr)||e.cancelPendingCommit!==null)return a!==null&&rp(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Fa(e,n)){if(t=n&-n,t!==e.callbackPriority||$.actQueue!==null&&a!==Zm)rp(a);else return t;switch(Uo(n)){case pa:case Eo:n=Yp;break;case Qo:n=pi;break;case hf:n=qp;break;default:n=pi}return a=Av.bind(null,e),$.actQueue!==null?($.actQueue.push(a),n=Zm):n=Bp(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&rp(a),e.callbackPriority=2,e.callbackNode=null,2}function Av(e,t){if(_f=Af=!1,Tu=window.event,Jt!==Kl&&Jt!==Ff)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Qa===Jf&&(Qa=km),Ts()&&e.callbackNode!==n)return null;var a=Qe;return a=Ao(e,e===yt?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==qr),a===0?null:(uv(e,a,t),Nv(e,on()),e.callbackNode!=null&&e.callbackNode===n?Av.bind(null,e):null)}function _v(e,t){if(Ts())return null;Af=_f,_f=!1,uv(e,t,!0)}function rp(e){e!==Zm&&e!==null&&iT(e)}function Mv(){$.actQueue!==null&&$.actQueue.push(function(){return lp(),null}),qD(function(){(lt&(It|oa))!==sn?Bp($p,yR):lp()})}function ip(){if(Il===0){var e=Nr;e===0&&(e=cf,cf<<=1,(cf&261888)===0&&(cf=256)),Il=e}return Il}function Uv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(it(e,"action"),ls(""+e))}function zv(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 bR(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var i=Uv((o[Nn]||null).action),c=a.submitter;c&&(t=(t=c[Nn]||null)?Uv(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var h=new bf("action","action",null,a,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Il!==0){var g=c?zv(o,c):new FormData(o),y={pending:!0,data:g,method:o.method,action:i};Object.freeze(y),Oh(n,y,null,g)}}else typeof i=="function"&&(h.preventDefault(),g=c?zv(o,c):new FormData(o),y={pending:!0,data:g,method:o.method,action:i},Object.freeze(y),Oh(n,y,i,g))},currentTarget:o}]})}}function Fc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){lm(a)}e.currentTarget=null}function Lv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var o=void 0,i=a.event;if(a=a.listeners,t)for(var c=a.length-1;0<=c;c--){var h=a[c],g=h.instance,y=h.currentTarget;if(h=h.listener,g!==o&&i.isPropagationStopped())break e;g!==null?ue(g,Fc,i,h,y):Fc(i,h,y),o=g}else for(c=0;c<a.length;c++){if(h=a[c],g=h.instance,y=h.currentTarget,h=h.listener,g!==o&&i.isPropagationStopped())break e;g!==null?ue(g,Fc,i,h,y):Fc(i,h,y),o=g}}}}function tt(e,t){Jm.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[Gp];n===void 0&&(n=t[Gp]=new Set);var a=e+"__bubble";n.has(a)||(jv(t,e,2,!1),n.add(a))}function sp(e,t,n){Jm.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),jv(n,e,a,t)}function up(e){if(!e[ed]){e[ed]=!0,M0.forEach(function(n){n!=="selectionchange"&&(Jm.has(n)||sp(n,!1,e),sp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ed]||(t[ed]=!0,sp("selectionchange",!1,t))}}function jv(e,t,n,a){switch(m0(t)){case pa:var o=IR;break;case Eo:o=WR;break;default:o=Tp}n=o.bind(null,t,n,e),o=void 0,!Fp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function cp(e,t,n,a,o){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 h=a.stateNode.containerInfo;if(h===o)break;if(c===4)for(c=a.return;c!==null;){var g=c.tag;if((g===3||g===4)&&c.stateNode.containerInfo===o)return;c=c.return}for(;h!==null;){if(c=F(h),c===null)return;if(g=c.tag,g===5||g===6||g===26||g===27){a=i=c;continue e}h=h.parentNode}}a=a.return}Zg(function(){var y=i,A=_d(n),_=[];e:{var O=mS.get(e);if(O!==void 0){var H=bf,ne=e;switch(e){case"keypress":if(ac(n)===0)break e;case"keydown":case"keyup":H=JT;break;case"focusin":ne="focus",H=Wp;break;case"focusout":ne="blur",H=Wp;break;case"beforeblur":case"afterblur":H=Wp;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":H=tS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=jT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=PT;break;case fS:case dS:case hS:H=VT;break;case pS:H=WT;break;case"scroll":case"scrollend":H=zT;break;case"wheel":H=tD;break;case"copy":case"cut":case"paste":H=$T;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=aS;break;case"toggle":case"beforetoggle":H=aD}var se=(t&4)!==0,St=!se&&(e==="scroll"||e==="scrollend"),at=se?O!==null?O+"Capture":null:O;se=[];for(var T=y,C;T!==null;){var N=T;if(C=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||C===null||at===null||(N=rs(T,at),N!=null&&se.push(Cs(T,N,C))),St)break;T=T.return}0<se.length&&(O=new H(O,ne,null,n,A),_.push({event:O,listeners:se}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",O&&n!==Vs&&(ne=n.relatedTarget||n.fromElement)&&(F(ne)||ne[zl]))break e;if((H||O)&&(O=A.window===A?A:(O=A.ownerDocument)?O.defaultView||O.parentWindow:window,H?(ne=n.relatedTarget||n.toElement,H=y,ne=ne?F(ne):null,ne!==null&&(St=J(ne),se=ne.tag,ne!==St||se!==5&&se!==27&&se!==6)&&(ne=null)):(H=null,ne=y),H!==ne)){if(se=tS,N="onMouseLeave",at="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(se=aS,N="onPointerLeave",at="onPointerEnter",T="pointer"),St=H==null?O:me(H),C=ne==null?O:me(ne),O=new se(N,T+"leave",H,n,A),O.target=St,O.relatedTarget=C,N=null,F(A)===y&&(se=new se(at,T+"enter",ne,n,A),se.target=C,se.relatedTarget=St,N=se),St=N,H&&ne)t:{for(se=vR,at=H,T=ne,C=0,N=at;N;N=se(N))C++;N=0;for(var G=T;G;G=se(G))N++;for(;0<C-N;)at=se(at),C--;for(;0<N-C;)T=se(T),N--;for(;C--;){if(at===T||T!==null&&at===T.alternate){se=at;break t}at=se(at),T=se(T)}se=null}else se=null;H!==null&&Hv(_,O,H,se,!1),ne!==null&&St!==null&&Hv(_,St,ne,se,!0)}}e:{if(O=y?me(y):window,H=O.nodeName&&O.nodeName.toLowerCase(),H==="select"||H==="input"&&O.type==="file")var oe=ey;else if(Ig(O))if(uS)oe=_w;else{oe=Nw;var ke=Cw}else H=O.nodeName,!H||H.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?y&&os(y.elementType)&&(oe=ey):oe=Aw;if(oe&&(oe=oe(e,y))){Wg(_,oe,n,A);break e}ke&&ke(e,O,y),e==="focusout"&&y&&O.type==="number"&&y.memoizedProps.value!=null&&Ae(O,"number",O.value)}switch(ke=y?me(y):window,e){case"focusin":(Ig(ke)||ke.contentEditable==="true")&&(xi=ke,tm=y,Qs=null);break;case"focusout":Qs=tm=xi=null;break;case"mousedown":nm=!0;break;case"contextmenu":case"mouseup":case"dragend":nm=!1,iy(_,n,A);break;case"selectionchange":if(iD)break;case"keydown":case"keyup":iy(_,n,A)}var Oe;if(em)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else Ei?Kg(e,n)&&(be="onCompositionEnd"):e==="keydown"&&n.keyCode===oS&&(be="onCompositionStart");be&&(lS&&n.locale!=="ko"&&(Ei||be!=="onCompositionStart"?be==="onCompositionEnd"&&Ei&&(Oe=Jg()):(Ll=A,Kp="value"in Ll?Ll.value:Ll.textContent,Ei=!0)),ke=Kc(y,be),0<ke.length&&(be=new nS(be,e,null,n,A),_.push({event:be,listeners:ke}),Oe?be.data=Oe:(Oe=Pg(n),Oe!==null&&(be.data=Oe)))),(Oe=lD?Rw(e,n):Tw(e,n))&&(be=Kc(y,"onBeforeInput"),0<be.length&&(ke=new qT("onBeforeInput","beforeinput",null,n,A),_.push({event:ke,listeners:be}),ke.data=Oe)),bR(_,e,y,n,A)}Lv(_,t)})}function Cs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kc(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,i=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||i===null||(o=rs(e,n),o!=null&&a.unshift(Cs(e,o,i)),o=rs(e,t),o!=null&&a.push(Cs(e,o,i))),e.tag===3)return a;e=e.return}return[]}function vR(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Hv(e,t,n,a,o){for(var i=t._reactName,c=[];n!==null&&n!==a;){var h=n,g=h.alternate,y=h.stateNode;if(h=h.tag,g!==null&&g===a)break;h!==5&&h!==26&&h!==27||y===null||(g=y,o?(y=rs(n,i),y!=null&&c.unshift(Cs(n,y,g))):o||(y=rs(n,i),y!=null&&c.push(Cs(n,y,g)))),n=n.return}c.length!==0&&e.push({event:t,listeners:c})}function fp(e,t){Sw(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||W0||(W0=!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:xr,possibleRegistrationNames:Xp};os(e)||typeof t.is=="string"||xw(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 an(e,t,n,a){t!==n&&(n=Nl(n),Nl(t)!==n&&(a[e]=t))}function SR(e,t,n){t.forEach(function(a){n[Bv(a)]=a==="style"?hp(e):e.getAttribute(a)})}function mo(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 kv(e,t){return e=e.namespaceURI===mf||e.namespaceURI===yi?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Nl(e){return Hn(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.",Ct(e)),Aa(e)),(typeof e=="string"?e:""+e).replace(zD,`
181
+ `).replace(LD,"")}function Vv(e,t){return t=Nl(t),Nl(e)===t}function mt(e,t,n,a,o,i){switch(n){case"children":typeof a=="string"?(nc(a,t,!1),t==="body"||t==="textarea"&&a===""||as(e,a)):(typeof a=="number"||typeof a=="bigint")&&(nc(""+a,t,!1),t!=="body"&&as(e,""+a));break;case"className":Kr(e,"class",a);break;case"tabIndex":Kr(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Kr(e,n,a);break;case"style":Gg(e,a,i);break;case"data":if(t!=="object"){Kr(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}it(a,n),a=ls(""+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"&&(o.encType==null&&o.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.")),o.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"||o.type==="submit"||o.type==="image"||td?t!=="button"||o.type==null||o.type==="submit"||td?typeof a=="function"&&(o.name==null||k1||(k1=!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.')),o.formEncType==null&&o.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.")),o.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"&&mt(e,t,"name",o.name,o,null),mt(e,t,"formEncType",o.formEncType,o,null),mt(e,t,"formMethod",o.formMethod,o,null),mt(e,t,"formTarget",o.formTarget,o,null)):(mt(e,t,"encType",o.encType,o,null),mt(e,t,"method",o.method,o,null),mt(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}it(a,n),a=ls(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&mo(n,a),e.onclick=Ho);break;case"onScroll":a!=null&&(typeof a!="function"&&mo(n,a),tt("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&mo(n,a),tt("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(o.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}it(a,n),n=ls(""+a),e.setAttributeNS(Br,"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"?(it(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"?(it(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?(it(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):(it(a,n),e.setAttribute(n,a));break;case"popover":tt("beforetoggle",e),tt("toggle",e),Lo(e,"popover",a);break;case"xlinkActuate":Ua(e,Br,"xlink:actuate",a);break;case"xlinkArcrole":Ua(e,Br,"xlink:arcrole",a);break;case"xlinkRole":Ua(e,Br,"xlink:role",a);break;case"xlinkShow":Ua(e,Br,"xlink:show",a);break;case"xlinkTitle":Ua(e,Br,"xlink:title",a);break;case"xlinkType":Ua(e,Br,"xlink:type",a);break;case"xmlBase":Ua(e,Fm,"xml:base",a);break;case"xmlLang":Ua(e,Fm,"xml:lang",a);break;case"xmlSpace":Ua(e,Fm,"xml:space",a);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Lo(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":V1||a==null||typeof a!="object"||(V1=!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=Xg(n),Lo(e,n,a)):xr.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&mo(n,a)}}function dp(e,t,n,a,o,i){switch(n){case"style":Gg(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(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?as(e,a):(typeof a=="number"||typeof a=="bigint")&&as(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&mo(n,a),tt("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&mo(n,a),tt("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&mo(n,a),e.onclick=Ho);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(xr.hasOwnProperty(n))a!=null&&typeof a!="function"&&mo(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),i=e[Nn]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,o),typeof a=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,o);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Lo(e,n,a)}}}function fn(e,t,n){switch(fp(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tt("error",e),tt("load",e);var a=!1,o=!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":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,i,c,n,null)}}o&&mt(e,t,"srcSet",n.srcSet,n,null),a&&mt(e,t,"src",n.src,n,null);return;case"input":en("input",n),tt("invalid",e);var h=i=c=o=null,g=null,y=null;for(a in n)if(n.hasOwnProperty(a)){var A=n[a];if(A!=null)switch(a){case"name":o=A;break;case"type":c=A;break;case"checked":g=A;break;case"defaultChecked":y=A;break;case"value":i=A;break;case"defaultValue":h=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,a,A,n,null)}}De(e,n),_e(e,i,h,g,y,c,o,!1);return;case"select":en("select",n),tt("invalid",e),a=c=i=null;for(o in n)if(n.hasOwnProperty(o)&&(h=n[o],h!=null))switch(o){case"value":i=h;break;case"defaultValue":c=h;break;case"multiple":a=h;default:mt(e,t,o,h,n,null)}Et(e,n),t=i,n=c,e.multiple=!!a,t!=null?Ke(e,!!a,t,!1):n!=null&&Ke(e,!!a,n,!0);return;case"textarea":en("textarea",n),tt("invalid",e),i=o=a=null;for(c in n)if(n.hasOwnProperty(c)&&(h=n[c],h!=null))switch(c){case"value":a=h;break;case"defaultValue":o=h;break;case"children":i=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,c,h,n,null)}jt(e,n),ut(e,a,o,i);return;case"option":Re(e,n);for(g in n)n.hasOwnProperty(g)&&(a=n[g],a!=null)&&(g==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":mt(e,t,g,a,n,null));return;case"dialog":tt("beforetoggle",e),tt("toggle",e),tt("cancel",e),tt("close",e);break;case"iframe":case"object":tt("load",e);break;case"video":case"audio":for(a=0;a<xu.length;a++)tt(xu[a],e);break;case"image":tt("error",e),tt("load",e);break;case"details":tt("toggle",e);break;case"embed":case"source":case"link":tt("error",e),tt("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(y in n)if(n.hasOwnProperty(y)&&(a=n[y],a!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,y,a,n,null)}return;default:if(os(t)){for(A in n)n.hasOwnProperty(A)&&(a=n[A],a!==void 0&&dp(e,t,A,a,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(a=n[h],a!=null&&mt(e,t,h,a,n,null))}function ER(e,t,n,a){switch(fp(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,i=null,c=null,h=null,g=null,y=null,A=null;for(H in n){var _=n[H];if(n.hasOwnProperty(H)&&_!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":g=_;default:a.hasOwnProperty(H)||mt(e,t,H,null,a,_)}}for(var O in a){var H=a[O];if(_=n[O],a.hasOwnProperty(O)&&(H!=null||_!=null))switch(O){case"type":i=H;break;case"name":o=H;break;case"checked":y=H;break;case"defaultChecked":A=H;break;case"value":c=H;break;case"defaultValue":h=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:H!==_&&mt(e,t,O,H,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||H1||(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"),H1=!0),!t||a||j1||(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"),j1=!0),ge(e,c,h,g,y,A,i,o);return;case"select":H=c=h=O=null;for(i in n)if(g=n[i],n.hasOwnProperty(i)&&g!=null)switch(i){case"value":break;case"multiple":H=g;default:a.hasOwnProperty(i)||mt(e,t,i,null,a,g)}for(o in a)if(i=a[o],g=n[o],a.hasOwnProperty(o)&&(i!=null||g!=null))switch(o){case"value":O=i;break;case"defaultValue":h=i;break;case"multiple":c=i;default:i!==g&&mt(e,t,o,i,a,g)}a=h,t=c,n=H,O!=null?Ke(e,!!t,O,!1):!!n!=!!t&&(a!=null?Ke(e,!!t,a,!0):Ke(e,!!t,t?[]:"",!1));return;case"textarea":H=O=null;for(h in n)if(o=n[h],n.hasOwnProperty(h)&&o!=null&&!a.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:mt(e,t,h,null,a,o)}for(c in a)if(o=a[c],i=n[c],a.hasOwnProperty(c)&&(o!=null||i!=null))switch(c){case"value":O=o;break;case"defaultValue":H=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==i&&mt(e,t,c,o,a,i)}tn(e,O,H);return;case"option":for(var ne in n)O=n[ne],n.hasOwnProperty(ne)&&O!=null&&!a.hasOwnProperty(ne)&&(ne==="selected"?e.selected=!1:mt(e,t,ne,null,a,O));for(g in a)O=a[g],H=n[g],a.hasOwnProperty(g)&&O!==H&&(O!=null||H!=null)&&(g==="selected"?e.selected=O&&typeof O!="function"&&typeof O!="symbol":mt(e,t,g,O,a,H));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 se in n)O=n[se],n.hasOwnProperty(se)&&O!=null&&!a.hasOwnProperty(se)&&mt(e,t,se,null,a,O);for(y in a)if(O=a[y],H=n[y],a.hasOwnProperty(y)&&O!==H&&(O!=null||H!=null))switch(y){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,y,O,a,H)}return;default:if(os(t)){for(var St in n)O=n[St],n.hasOwnProperty(St)&&O!==void 0&&!a.hasOwnProperty(St)&&dp(e,t,St,void 0,a,O);for(A in a)O=a[A],H=n[A],!a.hasOwnProperty(A)||O===H||O===void 0&&H===void 0||dp(e,t,A,O,a,H);return}}for(var at in n)O=n[at],n.hasOwnProperty(at)&&O!=null&&!a.hasOwnProperty(at)&&mt(e,t,at,null,a,O);for(_ in a)O=a[_],H=n[_],!a.hasOwnProperty(_)||O===H||O==null&&H==null||mt(e,t,_,O,a,H)}function Bv(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function hp(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 $v(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,o=a="",i;for(i in t)if(t.hasOwnProperty(i)){var c=t[i];c!=null&&typeof c!="boolean"&&c!==""&&(i.indexOf("--")===0?(Nt(c,i),a+=o+i+":"+(""+c).trim()):typeof c!="number"||c===0||P0.has(i)?(Nt(c,i),a+=o+i.replace(Q0,"-$1").toLowerCase().replace(Z0,"-ms-")+":"+(""+c).trim()):a+=o+i.replace(Q0,"-$1").toLowerCase().replace(Z0,"-ms-")+":"+c+"px",o=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Nl(a),Nl(t)!==a&&(n.style=hp(e)))}}function ha(e,t,n,a,o,i){if(o.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(it(a,t),e===""+a)return}an(t,e,a,i)}function Yv(e,t,n,a,o,i){if(o.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}an(t,e,a,i)}function pp(e,t,n,a,o,i){if(o.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(it(a,n),e===""+a)return}an(t,e,a,i)}function qv(e,t,n,a,o,i){if(o.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)&&(it(a,t),e===""+a))return}an(t,e,a,i)}function mp(e,t,n,a,o,i){if(o.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(it(a,t),n=ls(""+a),e===n)return}an(t,e,a,i)}function Gv(e,t,n,a){for(var o={},i=new Set,c=e.attributes,h=0;h<c.length;h++)switch(c[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:i.add(c[h].name)}if(os(t)){for(var g in n)if(n.hasOwnProperty(g)){var y=n[g];if(y!=null){if(xr.hasOwnProperty(g))typeof y!="function"&&mo(g,y);else if(n.suppressHydrationWarning!==!0)switch(g){case"children":typeof y!="string"&&typeof y!="number"||an("children",e.textContent,y,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=kv(e,y),an(g,c,y,o));continue;case"style":i.delete(g),$v(e,y,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":i.delete("class"),c=zo(e,"class",y),an("className",c,y,o);continue;default:a.context===rl&&t!=="svg"&&t!=="math"?i.delete(g.toLowerCase()):i.delete(g),c=zo(e,g,y),an(g,c,y,o)}}}}else for(y in n)if(n.hasOwnProperty(y)&&(g=n[y],g!=null)){if(xr.hasOwnProperty(y))typeof g!="function"&&mo(y,g);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof g!="string"&&typeof g!="number"||an("children",e.textContent,g,o);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,g=g?g.__html:void 0,g!=null&&(g=kv(e,g),c!==g&&(o[y]={__html:c}));continue;case"className":ha(e,y,"class",g,i,o);continue;case"tabIndex":ha(e,y,"tabindex",g,i,o);continue;case"style":i.delete(y),$v(e,g,o);continue;case"multiple":i.delete(y),an(y,e.multiple,g,o);continue;case"muted":i.delete(y),an(y,e.muted,g,o);continue;case"autoFocus":i.delete("autofocus"),an(y,e.autofocus,g,o);continue;case"data":if(t!=="object"){i.delete(y),c=e.getAttribute("data"),an(y,c,g,o);continue}case"src":case"href":if(!(g!==""||t==="a"&&y==="href"||t==="object"&&y==="data")){console.error(y==="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.',y,y);continue}mp(e,y,y,g,i,o);continue;case"action":case"formAction":if(c=e.getAttribute(y),typeof g=="function"){i.delete(y.toLowerCase()),y==="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===jD){i.delete(y.toLowerCase()),an(y,"function",g,o);continue}mp(e,y,y.toLowerCase(),g,i,o);continue;case"xlinkHref":mp(e,y,"xlink:href",g,i,o);continue;case"contentEditable":pp(e,y,"contenteditable",g,i,o);continue;case"spellCheck":pp(e,y,"spellcheck",g,i,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":pp(e,y,y,g,i,o);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":Yv(e,y,y.toLowerCase(),g,i,o);continue;case"capture":case"download":e:{h=e;var A=c=y,_=o;if(i.delete(A),h=h.getAttribute(A),h===null)switch(typeof g){case"undefined":case"function":case"symbol":break e;default:if(g===!1)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&h==="")break e;break;default:if(it(g,c),h===""+g)break e}an(c,h,g,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,A=c=y,_=o,i.delete(A),h=h.getAttribute(A),h===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(g)||1>g)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(it(g,c),h===""+g))break e}an(c,h,g,_)}continue;case"rowSpan":qv(e,y,"rowspan",g,i,o);continue;case"start":qv(e,y,y,g,i,o);continue;case"xHeight":ha(e,y,"x-height",g,i,o);continue;case"xlinkActuate":ha(e,y,"xlink:actuate",g,i,o);continue;case"xlinkArcrole":ha(e,y,"xlink:arcrole",g,i,o);continue;case"xlinkRole":ha(e,y,"xlink:role",g,i,o);continue;case"xlinkShow":ha(e,y,"xlink:show",g,i,o);continue;case"xlinkTitle":ha(e,y,"xlink:title",g,i,o);continue;case"xlinkType":ha(e,y,"xlink:type",g,i,o);continue;case"xmlBase":ha(e,y,"xml:base",g,i,o);continue;case"xmlLang":ha(e,y,"xml:lang",g,i,o);continue;case"xmlSpace":ha(e,y,"xml:space",g,i,o);continue;case"inert":g!==""||od[y]||(od[y]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",y)),Yv(e,y,y,g,i,o);continue;default:if(!(2<y.length)||y[0]!=="o"&&y[0]!=="O"||y[1]!=="n"&&y[1]!=="N"){h=Xg(y),c=!1,a.context===rl&&t!=="svg"&&t!=="math"?i.delete(h.toLowerCase()):(A=y.toLowerCase(),A=gf.hasOwnProperty(A)&&gf[A]||null,A!==null&&A!==y&&(c=!0,i.delete(A)),i.delete(h));e:if(A=e,_=h,h=g,Tn(_))if(A.hasAttribute(_))A=A.getAttribute(_),it(h,_),h=A===""+h?h:A;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(A=_.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;c||an(y,h,g,o)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&SR(e,i,o),Object.keys(o).length===0?null:o}function xR(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 Xv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function wR(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],i=o.transferSize,c=o.initiatorType,h=o.duration;if(i&&h&&Xv(c)){for(c=0,h=o.responseEnd,a+=1;a<n.length;a++){var g=n[a],y=g.startTime;if(y>h)break;var A=g.transferSize,_=g.initiatorType;A&&Xv(_)&&(g=g.responseEnd,c+=A*(g<h?1:(h-y)/(g-y)))}if(--a,t+=8*(i+c)/(o.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 Pc(e){return e.nodeType===9?e:e.ownerDocument}function Qv(e){switch(e){case yi:return Zi;case mf:return rd;default:return rl}}function Zv(e,t){if(e===rl)switch(t){case"svg":return Zi;case"math":return rd;default:return rl}return e===Zi&&t==="foreignObject"?rl:e}function gp(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 RR(){var e=window.event;return e&&e.type==="popstate"?e===Wm?!1:(Wm=e,!0):(Wm=null,!1)}function Ns(){var e=window.event;return e&&e!==Tu?e.type:null}function As(){var e=window.event;return e&&e!==Tu?e.timeStamp:-1.1}function TR(e){setTimeout(function(){throw e})}function DR(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 OR(){}function CR(e,t,n,a){ER(e,t,n,a),e[Nn]=a}function Jv(e){as(e,"")}function NR(e,t,n){e.nodeValue=n}function Fv(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Nn]||null;if(t!==null){var n=te(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ue(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,ue(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 Al(e){return e==="head"}function AR(e,t){e.removeChild(t)}function _R(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Kv(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===Ru||n===ld){if(a===0){e.removeChild(o),fi(t);return}a--}else if(n===wu||n===Wl||n===Yr||n===Qi||n===$r)a++;else if(n===kD)_s(e.ownerDocument.documentElement);else if(n===BD){n=e.ownerDocument.head,_s(n);for(var i=n.firstChild;i;){var c=i.nextSibling,h=i.nodeName;i[ks]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=c}}else n===VD&&_s(e.ownerDocument.body);n=o}while(n);fi(t)}function Pv(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===Ru){if(e===0)break;e--}else n!==wu&&n!==Wl&&n!==Yr&&n!==Qi||e++;n=a}while(n)}function MR(e){Pv(e,!0)}function UR(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function zR(e){e.nodeValue=""}function LR(e){Pv(e,!1)}function jR(e,t){t=t[$D],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function HR(e,t){e.nodeValue=t}function yp(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":yp(n),z(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function kR(e,t,n,a){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[ks])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!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){it(o.name,"name");var i=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=In(e.nextSibling),e===null)break}return null}function VR(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=In(e.nextSibling),e===null))return null;return e}function Iv(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=In(e.nextSibling),e===null))return null;return e}function bp(e){return e.data===Wl||e.data===Yr}function vp(e){return e.data===Qi||e.data===Wl&&e.ownerDocument.readyState!==$1}function BR(e,t){var n=e.ownerDocument;if(e.data===Yr)e._reactRetry=t;else if(e.data!==Wl||n.readyState!==$1)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function In(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===wu||t===Qi||t===Wl||t===Yr||t===$r||t===Km||t===B1)break;if(t===Ru||t===ld)return null}}return e}function Wv(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,o=0;o<a.length;o++){var i=a[o];n[Bv(i.name)]=i.name.toLowerCase()==="style"?hp(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===$r?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function e0(e,t,n){return n===null||n[HD]!==!0?(e.nodeValue===t?e=null:(t=Nl(t),e=Nl(e.nodeValue)===t?null:e.nodeValue),e):null}function Sp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Ru||n===ld){if(t===0)return In(e.nextSibling);t--}else n!==wu&&n!==Qi&&n!==Wl&&n!==Yr&&n!==$r||t++}e=e.nextSibling}return null}function t0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===wu||n===Qi||n===Wl||n===Yr||n===$r){if(t===0)return e;t--}else n!==Ru&&n!==ld||t++}e=e.previousSibling}return null}function $R(e){fi(e)}function YR(e){fi(e)}function qR(e){fi(e)}function n0(e,t,n,a,o){switch(o&&Ad(e,a.ancestorInfo),t=Pc(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 GR(e,t,n,a){if(!n[zl]&&te(n)){var o=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.",o,o,o)}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(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);fn(n,e,t),n[dn]=a,n[Nn]=t}function _s(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);z(e)}function Ic(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function a0(e,t,n){var a=Ji;if(a&&typeof t=="string"&&t){var o=re(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Z1.has(o)||(Z1.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),fn(t,"link",e),ve(t),a.head.appendChild(t)))}}function o0(e,t,n,a){var o=(o=Ml.current)?Ic(o):null;if(!o)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=ui(n.href),t=je(o).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=ui(n.href);var i=je(o).hoistableStyles,c=i.get(e);if(!c&&(o=o.ownerDocument||o,c={type:"stylesheet",instance:null,count:0,state:{loading:Gr,preload:null}},i.set(e,c),(i=o.querySelector(Ms(e)))&&!i._p&&(c.instance=i,c.state.loading=Du|Ta),!Da.has(e))){var h={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Da.set(e,h),i||XR(o,e,h,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=ci(n),t=je(o).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+'"'):Ba.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):Ba.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):Ba.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ui(e){return'href="'+re(e)+'"'}function Ms(e){return'link[rel="stylesheet"]['+e+"]"}function l0(e){return Fe({},e,{"data-precedence":e.precedence,precedence:null})}function XR(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=Du:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=Du}),t.addEventListener("error",function(){return a.loading|=X1}),fn(t,"link",n),ve(t),e.head.appendChild(t))}function ci(e){return'[src="'+re(e)+'"]'}function Us(e){return"script[async]"+e}function r0(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+re(n.href)+'"]');if(a)return t.instance=a,ve(a),a;var o=Fe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),ve(a),fn(a,"style",o),ef(a,n.precedence,e),t.instance=a;case"stylesheet":o=ui(n.href);var i=e.querySelector(Ms(o));if(i)return t.state.loading|=Ta,t.instance=i,ve(i),i;a=l0(n),(o=Da.get(o))&&Ep(a,o),i=(e.ownerDocument||e).createElement("link"),ve(i);var c=i;return c._p=new Promise(function(h,g){c.onload=h,c.onerror=g}),fn(i,"link",a),t.state.loading|=Ta,ef(i,n.precedence,e),t.instance=i;case"script":return i=ci(n.src),(o=e.querySelector(Us(i)))?(t.instance=o,ve(o),o):(a=n,(o=Da.get(i))&&(a=Fe({},n),xp(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),ve(o),fn(o,"link",a),e.head.appendChild(o),t.instance=o);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&Ta)===Gr&&(a=t.instance,t.state.loading|=Ta,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]'),o=a.length?a[a.length-1]:null,i=o,c=0;c<a.length;c++){var h=a[c];if(h.dataset.precedence===t)i=h;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Ep(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function xp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function i0(e,t,n){if(id===null){var a=new Map,o=id=new Map;o.set(n,a)}else o=id,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[ks]||i[dn]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==yi){var c=i.getAttribute(t)||"";c=e+c;var h=a.get(c);h?h.push(i):a.set(c,[i])}}return a}function s0(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function QR(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Zi||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 o=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),i!=null&&n.push("`disabled`"),o=xR(n,"and"),o+=n.length===1?" prop":" props",i=n.length===1?"an "+o:"the "+o,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,o)}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 u0(e){return!(e.type==="stylesheet"&&(e.state.loading&Q1)===Gr)}function ZR(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&Ta)===Gr){if(n.instance===null){var o=ui(a.href),i=t.querySelector(Ms(o));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|=Ta,n.instance=i,ve(i);return}i=t.ownerDocument||t,a=l0(a),(o=Da.get(o))&&Ep(a,o),i=i.createElement("link"),ve(i);var c=i;c._p=new Promise(function(h,g){c.onload=h,c.onerror=g}),fn(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&Q1)===Gr&&(e.count++,n=tf.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function JR(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()}},GD+t);0<e.imgBytes&&tg===0&&(tg=125*wR()*QD);var o=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>tg?50:XD)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}: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++,sd=new Map,t.forEach(FR,e),sd=null,tf.call(e))}function FR(e,t){if(!(t.state.loading&Ta)){var n=sd.get(e);if(n)var a=n.get(ng);else{n=new Map,sd.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var c=o[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(n.set(c.dataset.precedence,c),a=c)}a&&n.set(ng,a)}o=t.instance,c=o.getAttribute("data-precedence"),i=n.get(c)||a,i===a&&n.set(ng,o),n.set(c,o),this.count++,a=tf.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),i?i.parentNode.insertBefore(o,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=Ta}}function KR(e,t,n,a,o,i,c,h,g){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=qr,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ml(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ml(0),this.hiddenUpdates=ml(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,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 c0(e,t,n,a,o,i,c,h,g,y,A,_){return e=new KR(e,t,n,c,g,y,A,_,h),t=gD,i===!0&&(t|=Sn|$a),t|=Ge,i=x(3,null,null,t),e.current=i,i.stateNode=e,t=Kd(),mr(t),e.pooledCache=t,mr(t),i.memoizedState={element:a,isDehydrated:n,cache:t},th(i),e}function f0(e){return e?(e=kl,e):kl}function wp(e,t,n,a,o,i){if(vn&&typeof vn.onScheduleFiberRoot=="function")try{vn.onScheduleFiberRoot(mi,a,n)}catch(c){vo||(vo=!0,console.error("React instrumentation encountered an error: %o",c))}o=f0(o),a.context===null?a.context=o:a.pendingContext=o,bo&&ea!==null&&!P1&&(P1=!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.`,X(ea)||"Unknown")),a=wl(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=Rl(e,a,t),n!==null&&(no(t,"root.render()",null),Mt(n,e,t),hs(n,e,t))}function d0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Rp(e,t){d0(e,t),(e=e.alternate)&&d0(e,t)}function h0(e){if(e.tag===13||e.tag===31){var t=bn(e,67108864);t!==null&&Mt(t,e,67108864),Rp(e,67108864)}}function p0(e){if(e.tag===13||e.tag===31){var t=Pn(e);t=fa(t);var n=bn(e,t);n!==null&&Mt(n,e,t),Rp(e,t)}}function PR(){return ea}function IR(e,t,n,a){var o=$.T;$.T=null;var i=ft.p;try{ft.p=pa,Tp(e,t,n,a)}finally{ft.p=i,$.T=o}}function WR(e,t,n,a){var o=$.T;$.T=null;var i=ft.p;try{ft.p=Eo,Tp(e,t,n,a)}finally{ft.p=i,$.T=o}}function Tp(e,t,n,a){if(cd){var o=Dp(a);if(o===null)cp(e,t,a,fd,n),g0(e,a);else if(eT(o,e,t,n,a))a.stopPropagation();else if(g0(e,a),t&4&&-1<JD.indexOf(e)){for(;o!==null;){var i=te(o);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=sa(i.pendingLanes);if(c!==0){var h=i;for(h.pendingLanes|=2,h.entangledLanes|=2;c;){var g=1<<31-Cn(c);h.entanglements[1]|=g,c&=~g}po(i),(lt&(It|oa))===sn&&(Zf=on()+T1,Os(0))}}break;case 31:case 13:h=bn(i,2),h!==null&&Mt(h,i,2),ri(),Rp(i,2)}if(i=Dp(a),i===null&&cp(e,t,a,fd,n),i===o)break;o=i}o!==null&&a.stopPropagation()}else cp(e,t,a,null,n)}}function Dp(e){return e=_d(e),Op(e)}function Op(e){if(fd=null,e=F(e),e!==null){var t=J(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=W(t),e!==null)return e;e=null}else if(n===31){if(e=ie(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 m0(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 pa;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 Eo;case"message":switch(cT()){case $p:return pa;case Yp:return Eo;case pi:case fT:return Qo;case qp:return hf;default:return Qo}default:return Qo}}function g0(e,t){switch(e){case"focusin":case"focusout":er=null;break;case"dragenter":case"dragleave":tr=null;break;case"mouseover":case"mouseout":nr=null;break;case"pointerover":case"pointerout":Cu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nu.delete(t.pointerId)}}function zs(e,t,n,a,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[o]},t!==null&&(t=te(t),t!==null&&h0(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function eT(e,t,n,a,o){switch(t){case"focusin":return er=zs(er,e,t,n,a,o),!0;case"dragenter":return tr=zs(tr,e,t,n,a,o),!0;case"mouseover":return nr=zs(nr,e,t,n,a,o),!0;case"pointerover":var i=o.pointerId;return Cu.set(i,zs(Cu.get(i)||null,e,t,n,a,o)),!0;case"gotpointercapture":return i=o.pointerId,Nu.set(i,zs(Nu.get(i)||null,e,t,n,a,o)),!0}return!1}function y0(e){var t=F(e.target);if(t!==null){var n=J(t);if(n!==null){if(t=n.tag,t===13){if(t=W(n),t!==null){e.blockedOn=t,v(e.priority,function(){p0(n)});return}}else if(t===31){if(t=ie(n),t!==null){e.blockedOn=t,v(e.priority,function(){p0(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=Dp(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),o=a;Vs!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Vs=o,n.target.dispatchEvent(a),Vs===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."),Vs=null}else return t=te(n),t!==null&&h0(t),e.blockedOn=n,!1;t.shift()}return!0}function b0(e,t,n){af(e)&&n.delete(t)}function tT(){ag=!1,er!==null&&af(er)&&(er=null),tr!==null&&af(tr)&&(tr=null),nr!==null&&af(nr)&&(nr=null),Cu.forEach(b0),Nu.forEach(b0)}function of(e,t){e.blockedOn===t&&(e.blockedOn=null,ag||(ag=!0,$t.unstable_scheduleCallback($t.unstable_NormalPriority,tT)))}function v0(e){dd!==e&&(dd=e,$t.unstable_scheduleCallback($t.unstable_NormalPriority,function(){dd===e&&(dd=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],o=e[t+2];if(typeof a!="function"){if(Op(a||n)===null)continue;break}var i=te(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:a},Object.freeze(n),Oh(i,n,a,o))}}))}function fi(e){function t(g){return of(g,e)}er!==null&&of(er,e),tr!==null&&of(tr,e),nr!==null&&of(nr,e),Cu.forEach(t),Nu.forEach(t);for(var n=0;n<ar.length;n++){var a=ar[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ar.length&&(n=ar[0],n.blockedOn===null);)y0(n),n.blockedOn===null&&ar.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var o=n[a],i=n[a+1],c=o[Nn]||null;if(typeof i=="function")c||v0(n);else if(c){var h=null;if(i&&i.hasAttribute("formAction")){if(o=i,c=i[Nn]||null)h=c.formAction;else if(Op(o)!==null)continue}else h=c.action;typeof h=="function"?n[a+1]=h:(n.splice(a,3),a-=3),v0(n)}}}function S0(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return o=c})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=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,o=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),o!==null&&(o(),o=null)}}}function Cp(e){this._internalRoot=e}function lf(e){this._internalRoot=e}function E0(e){e[zl]&&(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 $t=sC(),Np=Fu(),nT=cC(),Fe=Object.assign,aT=Symbol.for("react.element"),go=Symbol.for("react.transitional.element"),di=Symbol.for("react.portal"),hi=Symbol.for("react.fragment"),rf=Symbol.for("react.strict_mode"),Ap=Symbol.for("react.profiler"),_p=Symbol.for("react.consumer"),yo=Symbol.for("react.context"),Ls=Symbol.for("react.forward_ref"),Mp=Symbol.for("react.suspense"),Up=Symbol.for("react.suspense_list"),sf=Symbol.for("react.memo"),Wn=Symbol.for("react.lazy"),zp=Symbol.for("react.activity"),oT=Symbol.for("react.memo_cache_sentinel"),x0=Symbol.iterator,lT=Symbol.for("react.client.reference"),Kt=Array.isArray,$=Np.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ft=nT.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,rT=Object.freeze({pending:!1,data:null,method:null,action:null}),Lp=[],jp=[],Xo=-1,_l=Te(null),js=Te(null),Ml=Te(null),uf=Te(null),Hs=0,w0,R0,T0,D0,O0,C0,N0;Ye.__reactDisabledLog=!0;var Hp,A0,kp=!1,Vp=new(typeof WeakMap=="function"?WeakMap:Map),ea=null,bo=!1,Ba=Object.prototype.hasOwnProperty,Bp=$t.unstable_scheduleCallback,iT=$t.unstable_cancelCallback,sT=$t.unstable_shouldYield,uT=$t.unstable_requestPaint,on=$t.unstable_now,cT=$t.unstable_getCurrentPriorityLevel,$p=$t.unstable_ImmediatePriority,Yp=$t.unstable_UserBlockingPriority,pi=$t.unstable_NormalPriority,fT=$t.unstable_LowPriority,qp=$t.unstable_IdlePriority,dT=$t.log,hT=$t.unstable_setDisableYieldValue,mi=null,vn=null,vo=!1,So=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Cn=Math.clz32?Math.clz32:pl,pT=Math.log,mT=Math.LN2,cf=256,ff=262144,df=4194304,pa=2,Eo=8,Qo=32,hf=268435456,Ul=Math.random().toString(36).slice(2),dn="__reactFiber$"+Ul,Nn="__reactProps$"+Ul,zl="__reactContainer$"+Ul,Gp="__reactEvents$"+Ul,gT="__reactListeners$"+Ul,yT="__reactHandles$"+Ul,_0="__reactResources$"+Ul,ks="__reactMarker$"+Ul,M0=new Set,xr={},Xp={},bT={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},vT=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]*$"),U0={},z0={},ST=/[\n"\\]/g,L0=!1,j0=!1,H0=!1,k0=!1,V0=!1,B0=!1,$0=["value","defaultValue"],Y0=!1,q0=/["'&<>\n\t]|^\s|\s$/,ET="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(" "),G0="applet caption html table td th marquee object template foreignObject desc title".split(" "),xT=G0.concat(["button"]),wT="dd dt li option optgroup p rp rt".split(" "),X0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},pf={},Qp={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"]},Q0=/([A-Z])/g,Z0=/^ms-/,RT=/^(?:webkit|moz|o)[A-Z]/,TT=/^-ms-/,DT=/-(.)/g,J0=/;\s*$/,gi={},Zp={},F0=!1,K0=!1,P0=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(" ")),mf="http://www.w3.org/1998/Math/MathML",yi="http://www.w3.org/2000/svg",OT=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"]]),gf={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"},I0={"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},bi={},CT=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]*$"),NT=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]*$"),W0=!1,An={},eS=/^on./,AT=/^on[^A-Z]/,_T=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]*$"),MT=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]*$"),UT=/^[\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,Vs=null,vi=null,Si=null,Jp=!1,xo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fp=!1;if(xo)try{var Bs={};Object.defineProperty(Bs,"passive",{get:function(){Fp=!0}}),window.addEventListener("test",Bs,Bs),window.removeEventListener("test",Bs,Bs)}catch{Fp=!1}var Ll=null,Kp=null,yf=null,wr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bf=Vn(wr),$s=Fe({},wr,{view:0,detail:0}),zT=Vn($s),Pp,Ip,Ys,vf=Fe({},$s,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Md,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!==Ys&&(Ys&&e.type==="mousemove"?(Pp=e.screenX-Ys.screenX,Ip=e.screenY-Ys.screenY):Ip=Pp=0,Ys=e),Pp)},movementY:function(e){return"movementY"in e?e.movementY:Ip}}),tS=Vn(vf),LT=Fe({},vf,{dataTransfer:0}),jT=Vn(LT),HT=Fe({},$s,{relatedTarget:0}),Wp=Vn(HT),kT=Fe({},wr,{animationName:0,elapsedTime:0,pseudoElement:0}),VT=Vn(kT),BT=Fe({},wr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$T=Vn(BT),YT=Fe({},wr,{data:0}),nS=Vn(YT),qT=nS,GT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},XT={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"},QT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ZT=Fe({},$s,{key:function(e){if(e.key){var t=GT[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"?XT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Md,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}}),JT=Vn(ZT),FT=Fe({},vf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),aS=Vn(FT),KT=Fe({},$s,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Md}),PT=Vn(KT),IT=Fe({},wr,{propertyName:0,elapsedTime:0,pseudoElement:0}),WT=Vn(IT),eD=Fe({},vf,{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}),tD=Vn(eD),nD=Fe({},wr,{newState:0,oldState:0}),aD=Vn(nD),oD=[9,13,27,32],oS=229,em=xo&&"CompositionEvent"in window,qs=null;xo&&"documentMode"in document&&(qs=document.documentMode);var lD=xo&&"TextEvent"in window&&!qs,lS=xo&&(!em||qs&&8<qs&&11>=qs),rS=32,iS=String.fromCharCode(rS),sS=!1,Ei=!1,rD={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},Gs=null,Xs=null,uS=!1;xo&&(uS=Dw("input")&&(!document.documentMode||9<document.documentMode));var _n=typeof Object.is=="function"?Object.is:Mw,iD=xo&&"documentMode"in document&&11>=document.documentMode,xi=null,tm=null,Qs=null,nm=!1,wi={animationend:sr("Animation","AnimationEnd"),animationiteration:sr("Animation","AnimationIteration"),animationstart:sr("Animation","AnimationStart"),transitionrun:sr("Transition","TransitionRun"),transitionstart:sr("Transition","TransitionStart"),transitioncancel:sr("Transition","TransitionCancel"),transitionend:sr("Transition","TransitionEnd")},am={},cS={};xo&&(cS=document.createElement("div").style,"AnimationEvent"in window||(delete wi.animationend.animation,delete wi.animationiteration.animation,delete wi.animationstart.animation),"TransitionEvent"in window||delete wi.transitionend.transition);var fS=ur("animationend"),dS=ur("animationiteration"),hS=ur("animationstart"),sD=ur("transitionrun"),uD=ur("transitionstart"),cD=ur("transitioncancel"),pS=ur("transitionend"),mS=new Map,om="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(" ");om.push("scrollEnd");var gS=0;if(typeof performance=="object"&&typeof performance.now=="function")var fD=performance,yS=function(){return fD.now()};else{var dD=Date;yS=function(){return dD.now()}}var lm=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)},hD="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,rm=1,im=2,sm=3,Ef="– ",xf="+ ",bS="  ",wt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",ma="Components ⚛",nt="Scheduler ⚛",ot="Blocking",jl=!1,Zo={color:"primary",properties:null,tooltipText:"",track:ma},Hl={start:-0,end:-0,detail:{devtools:Zo}},pD=["Changed Props",""],vS="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",mD=["Changed Props",vS],Zs=1,Jo=2,ga=[],Ri=0,um=0,kl={};Object.freeze(kl);var ya=null,Ti=null,ze=0,gD=1,Ge=2,Sn=8,$a=16,yD=32,SS=!1;try{var ES=Object.preventExtensions({})}catch{SS=!0}var cm=new WeakMap,Di=[],Oi=0,wf=null,Js=0,ba=[],va=0,Rr=null,Fo=1,Ko="",hn=null,Rt=null,We=!1,wo=!1,ta=null,Vl=null,Sa=!1,fm=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."),dm=Te(null),hm=Te(null),xS={},Rf=null,Ci=null,Ni=!1,bD=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()})}},vD=$t.unstable_scheduleCallback,SD=$t.unstable_NormalPriority,Yt={$$typeof:yo,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},qt=$t.unstable_now,Tf=console.createTask?console.createTask:function(){return null},Fs=1,Df=2,ln=-0,Bl=-0,Po=-0,Io=null,Mn=-1.1,Tr=-0,At=-0,Ce=-1.1,Ue=-1.1,Ot=null,Ut=!1,Dr=-0,Ro=-1.1,Ks=null,$l=0,pm=null,mm=null,Or=-1.1,Ps=null,Ai=-1.1,Of=-1.1,Wo=-0,el=-1.1,Ea=-1.1,gm=0,Is=null,wS=null,RS=null,Yl=-1.1,Cr=null,ql=-1.1,Cf=-1.1,TS=-0,DS=-0,Nf=0,ED=null,OS=0,Ws=-1.1,Af=!1,_f=!1,eu=null,ym=0,Nr=0,_i=null,CS=$.S;$.S=function(e,t){if(w1=on(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>el&&0>Ea){el=qt();var n=As(),a=Ns();(n!==ql||a!==Cr)&&(ql=-1.1),Yl=n,Cr=a}Vw(e,t)}CS!==null&&CS(e,t)};var Ar=Te(null),Ya={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},tu=[],nu=[],au=[],ou=[],lu=[],ru=[],_r=new Set;Ya.recordUnsafeLifecycleWarnings=function(e,t){_r.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&tu.push(e),e.mode&Sn&&typeof t.UNSAFE_componentWillMount=="function"&&nu.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&au.push(e),e.mode&Sn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ou.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&lu.push(e),e.mode&Sn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ru.push(e))},Ya.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<tu.length&&(tu.forEach(function(h){e.add(X(h)||"Component"),_r.add(h.type)}),tu=[]);var t=new Set;0<nu.length&&(nu.forEach(function(h){t.add(X(h)||"Component"),_r.add(h.type)}),nu=[]);var n=new Set;0<au.length&&(au.forEach(function(h){n.add(X(h)||"Component"),_r.add(h.type)}),au=[]);var a=new Set;0<ou.length&&(ou.forEach(function(h){a.add(X(h)||"Component"),_r.add(h.type)}),ou=[]);var o=new Set;0<lu.length&&(lu.forEach(function(h){o.add(X(h)||"Component"),_r.add(h.type)}),lu=[]);var i=new Set;if(0<ru.length&&(ru.forEach(function(h){i.add(X(h)||"Component"),_r.add(h.type)}),ru=[]),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<o.size&&(c=E(o),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 Mf=new Map,NS=new Set;Ya.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&Sn&&(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."):!NS.has(e.type)&&(a=Mf.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Mf.set(n,a)),a.push(e))},Ya.flushLegacyContextWarning=function(){Mf.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(o){n.add(X(o)||"Component"),NS.add(o.type)});var a=E(n);ue(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)})}})},Ya.discardPendingWarnings=function(){tu=[],nu=[],au=[],ou=[],lu=[],ru=[],Mf=new Map};var AS={react_stack_bottom_frame:function(e,t,n){var a=bo;bo=!0;try{return e(t,n)}finally{bo=a}}},bm=AS.react_stack_bottom_frame.bind(AS),_S={react_stack_bottom_frame:function(e){var t=bo;bo=!0;try{return e.render()}finally{bo=t}}},MS=_S.react_stack_bottom_frame.bind(_S),US={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){ct(e,e.return,n)}}},vm=US.react_stack_bottom_frame.bind(US),zS={react_stack_bottom_frame:function(e,t,n,a,o){try{t.componentDidUpdate(n,a,o)}catch(i){ct(e,e.return,i)}}},LS=zS.react_stack_bottom_frame.bind(zS),jS={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},xD=jS.react_stack_bottom_frame.bind(jS),HS={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){ct(e,t,a)}}},kS=HS.react_stack_bottom_frame.bind(HS),VS={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},wD=VS.react_stack_bottom_frame.bind(VS),BS={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){ct(e,t,a)}}},RD=BS.react_stack_bottom_frame.bind(BS),$S={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},TD=$S.react_stack_bottom_frame.bind($S),Mi=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`."),Sm=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."),Uf=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.')}},Mr=null,iu=!1,Ui=null,su=0,Xe=null,Em,YS=Em=!1,qS={},GS={},XS={};R=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=X(e),o=a||"null";if(!qS[o]){qS[o]=!0,n=n._owner,e=e._debugOwner;var i="";e&&typeof e.tag=="number"&&(o=X(e))&&(i=`
225
+
226
+ Check the render method of \``+o+"`."),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=X(n):typeof n.name=="string"&&(a=n.name),a&&(c=" It was passed a child from "+a+".")),ue(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 Ur=Hy(!0),QS=Hy(!1),ZS=0,JS=1,FS=2,xm=3,Gl=!1,KS=!1,wm=null,Rm=!1,zi=Te(null),Lf=Te(0),na=Te(null),xa=null,Li=1,uu=2,kt=Te(0),jf=0,wa=1,Un=2,aa=4,zn=8,ji,PS=new Set,IS=new Set,Tm=new Set,WS=new Set,tl=0,He=null,gt=null,Gt=null,Hf=!1,Hi=!1,zr=!1,kf=0,cu=0,nl=null,DD=0,OD=25,V=null,Ra=null,al=-1,fu=!1,du={readContext:Dt,use:Ol,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt};du.useEffectEvent=zt;var Dm=null,e1=null,Om=null,t1=null,To=null,qa=null,Vf=null;Dm={readContext:function(e){return Dt(e)},use:Ol,useCallback:function(e,t){return V="useCallback",Je(),Wr(t),wh(e,t)},useContext:function(e){return V="useContext",Je(),Dt(e)},useEffect:function(e,t){return V="useEffect",Je(),Wr(t),_c(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",Je(),Wr(n),xh(e,t,n)},useInsertionEffect:function(e,t){V="useInsertionEffect",Je(),Wr(t),yr(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",Je(),Wr(t),Eh(e,t)},useMemo:function(e,t){V="useMemo",Je(),Wr(t);var n=$.H;$.H=To;try{return Rh(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",Je();var a=$.H;$.H=To;try{return dh(e,t,n)}finally{$.H=a}},useRef:function(e){return V="useRef",Je(),vh(e)},useState:function(e){V="useState",Je();var t=$.H;$.H=To;try{return gh(e)}finally{$.H=t}},useDebugValue:function(){V="useDebugValue",Je()},useDeferredValue:function(e,t){return V="useDeferredValue",Je(),Th(e,t)},useTransition:function(){return V="useTransition",Je(),Ch()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",Je(),ph(e,t,n)},useId:function(){return V="useId",Je(),Nh()},useFormState:function(e,t){return V="useFormState",Je(),Dc(),ti(e,t)},useActionState:function(e,t){return V="useActionState",Je(),ti(e,t)},useOptimistic:function(e){return V="useOptimistic",Je(),yh(e)},useHostTransitionStatus:br,useMemoCache:gr,useCacheRefresh:function(){return V="useCacheRefresh",Je(),Ah()},useEffectEvent:function(e){return V="useEffectEvent",Je(),Sh(e)}},e1={readContext:function(e){return Dt(e)},use:Ol,useCallback:function(e,t){return V="useCallback",K(),wh(e,t)},useContext:function(e){return V="useContext",K(),Dt(e)},useEffect:function(e,t){return V="useEffect",K(),_c(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",K(),xh(e,t,n)},useInsertionEffect:function(e,t){V="useInsertionEffect",K(),yr(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",K(),Eh(e,t)},useMemo:function(e,t){V="useMemo",K();var n=$.H;$.H=To;try{return Rh(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",K();var a=$.H;$.H=To;try{return dh(e,t,n)}finally{$.H=a}},useRef:function(e){return V="useRef",K(),vh(e)},useState:function(e){V="useState",K();var t=$.H;$.H=To;try{return gh(e)}finally{$.H=t}},useDebugValue:function(){V="useDebugValue",K()},useDeferredValue:function(e,t){return V="useDeferredValue",K(),Th(e,t)},useTransition:function(){return V="useTransition",K(),Ch()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",K(),ph(e,t,n)},useId:function(){return V="useId",K(),Nh()},useActionState:function(e,t){return V="useActionState",K(),ti(e,t)},useFormState:function(e,t){return V="useFormState",K(),Dc(),ti(e,t)},useOptimistic:function(e){return V="useOptimistic",K(),yh(e)},useHostTransitionStatus:br,useMemoCache:gr,useCacheRefresh:function(){return V="useCacheRefresh",K(),Ah()},useEffectEvent:function(e){return V="useEffectEvent",K(),Sh(e)}},Om={readContext:function(e){return Dt(e)},use:Ol,useCallback:function(e,t){return V="useCallback",K(),zc(e,t)},useContext:function(e){return V="useContext",K(),Dt(e)},useEffect:function(e,t){V="useEffect",K(),Bn(2048,zn,e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",K(),Uc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",K(),Bn(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",K(),Bn(4,aa,e,t)},useMemo:function(e,t){V="useMemo",K();var n=$.H;$.H=qa;try{return Lc(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",K();var a=$.H;$.H=qa;try{return ei(e,t,n)}finally{$.H=a}},useRef:function(){return V="useRef",K(),dt().memoizedState},useState:function(){V="useState",K();var e=$.H;$.H=qa;try{return ei(ka)}finally{$.H=e}},useDebugValue:function(){V="useDebugValue",K()},useDeferredValue:function(e,t){return V="useDeferredValue",K(),lb(e,t)},useTransition:function(){return V="useTransition",K(),fb()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",K(),Cc(e,t,n)},useId:function(){return V="useId",K(),dt().memoizedState},useFormState:function(e){return V="useFormState",K(),Dc(),Nc(e)},useActionState:function(e){return V="useActionState",K(),Nc(e)},useOptimistic:function(e,t){return V="useOptimistic",K(),Fy(e,t)},useHostTransitionStatus:br,useMemoCache:gr,useCacheRefresh:function(){return V="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return V="useEffectEvent",K(),Mc(e)}},t1={readContext:function(e){return Dt(e)},use:Ol,useCallback:function(e,t){return V="useCallback",K(),zc(e,t)},useContext:function(e){return V="useContext",K(),Dt(e)},useEffect:function(e,t){V="useEffect",K(),Bn(2048,zn,e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",K(),Uc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",K(),Bn(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",K(),Bn(4,aa,e,t)},useMemo:function(e,t){V="useMemo",K();var n=$.H;$.H=Vf;try{return Lc(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",K();var a=$.H;$.H=Vf;try{return ys(e,t,n)}finally{$.H=a}},useRef:function(){return V="useRef",K(),dt().memoizedState},useState:function(){V="useState",K();var e=$.H;$.H=Vf;try{return ys(ka)}finally{$.H=e}},useDebugValue:function(){V="useDebugValue",K()},useDeferredValue:function(e,t){return V="useDeferredValue",K(),rb(e,t)},useTransition:function(){return V="useTransition",K(),db()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",K(),Cc(e,t,n)},useId:function(){return V="useId",K(),dt().memoizedState},useFormState:function(e){return V="useFormState",K(),Dc(),Ac(e)},useActionState:function(e){return V="useActionState",K(),Ac(e)},useOptimistic:function(e,t){return V="useOptimistic",K(),Py(e,t)},useHostTransitionStatus:br,useMemoCache:gr,useCacheRefresh:function(){return V="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return V="useEffectEvent",K(),Mc(e)}},To={readContext:function(e){return b(),Dt(e)},use:function(e){return m(),Ol(e)},useCallback:function(e,t){return V="useCallback",m(),Je(),wh(e,t)},useContext:function(e){return V="useContext",m(),Je(),Dt(e)},useEffect:function(e,t){return V="useEffect",m(),Je(),_c(e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",m(),Je(),xh(e,t,n)},useInsertionEffect:function(e,t){V="useInsertionEffect",m(),Je(),yr(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",m(),Je(),Eh(e,t)},useMemo:function(e,t){V="useMemo",m(),Je();var n=$.H;$.H=To;try{return Rh(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",m(),Je();var a=$.H;$.H=To;try{return dh(e,t,n)}finally{$.H=a}},useRef:function(e){return V="useRef",m(),Je(),vh(e)},useState:function(e){V="useState",m(),Je();var t=$.H;$.H=To;try{return gh(e)}finally{$.H=t}},useDebugValue:function(){V="useDebugValue",m(),Je()},useDeferredValue:function(e,t){return V="useDeferredValue",m(),Je(),Th(e,t)},useTransition:function(){return V="useTransition",m(),Je(),Ch()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",m(),Je(),ph(e,t,n)},useId:function(){return V="useId",m(),Je(),Nh()},useFormState:function(e,t){return V="useFormState",m(),Je(),ti(e,t)},useActionState:function(e,t){return V="useActionState",m(),Je(),ti(e,t)},useOptimistic:function(e){return V="useOptimistic",m(),Je(),yh(e)},useMemoCache:function(e){return m(),gr(e)},useHostTransitionStatus:br,useCacheRefresh:function(){return V="useCacheRefresh",Je(),Ah()},useEffectEvent:function(e){return V="useEffectEvent",m(),Je(),Sh(e)}},qa={readContext:function(e){return b(),Dt(e)},use:function(e){return m(),Ol(e)},useCallback:function(e,t){return V="useCallback",m(),K(),zc(e,t)},useContext:function(e){return V="useContext",m(),K(),Dt(e)},useEffect:function(e,t){V="useEffect",m(),K(),Bn(2048,zn,e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",m(),K(),Uc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",m(),K(),Bn(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",m(),K(),Bn(4,aa,e,t)},useMemo:function(e,t){V="useMemo",m(),K();var n=$.H;$.H=qa;try{return Lc(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",m(),K();var a=$.H;$.H=qa;try{return ei(e,t,n)}finally{$.H=a}},useRef:function(){return V="useRef",m(),K(),dt().memoizedState},useState:function(){V="useState",m(),K();var e=$.H;$.H=qa;try{return ei(ka)}finally{$.H=e}},useDebugValue:function(){V="useDebugValue",m(),K()},useDeferredValue:function(e,t){return V="useDeferredValue",m(),K(),lb(e,t)},useTransition:function(){return V="useTransition",m(),K(),fb()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",m(),K(),Cc(e,t,n)},useId:function(){return V="useId",m(),K(),dt().memoizedState},useFormState:function(e){return V="useFormState",m(),K(),Nc(e)},useActionState:function(e){return V="useActionState",m(),K(),Nc(e)},useOptimistic:function(e,t){return V="useOptimistic",m(),K(),Fy(e,t)},useMemoCache:function(e){return m(),gr(e)},useHostTransitionStatus:br,useCacheRefresh:function(){return V="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return V="useEffectEvent",m(),K(),Mc(e)}},Vf={readContext:function(e){return b(),Dt(e)},use:function(e){return m(),Ol(e)},useCallback:function(e,t){return V="useCallback",m(),K(),zc(e,t)},useContext:function(e){return V="useContext",m(),K(),Dt(e)},useEffect:function(e,t){V="useEffect",m(),K(),Bn(2048,zn,e,t)},useImperativeHandle:function(e,t,n){return V="useImperativeHandle",m(),K(),Uc(e,t,n)},useInsertionEffect:function(e,t){return V="useInsertionEffect",m(),K(),Bn(4,Un,e,t)},useLayoutEffect:function(e,t){return V="useLayoutEffect",m(),K(),Bn(4,aa,e,t)},useMemo:function(e,t){V="useMemo",m(),K();var n=$.H;$.H=qa;try{return Lc(e,t)}finally{$.H=n}},useReducer:function(e,t,n){V="useReducer",m(),K();var a=$.H;$.H=qa;try{return ys(e,t,n)}finally{$.H=a}},useRef:function(){return V="useRef",m(),K(),dt().memoizedState},useState:function(){V="useState",m(),K();var e=$.H;$.H=qa;try{return ys(ka)}finally{$.H=e}},useDebugValue:function(){V="useDebugValue",m(),K()},useDeferredValue:function(e,t){return V="useDeferredValue",m(),K(),rb(e,t)},useTransition:function(){return V="useTransition",m(),K(),db()},useSyncExternalStore:function(e,t,n){return V="useSyncExternalStore",m(),K(),Cc(e,t,n)},useId:function(){return V="useId",m(),K(),dt().memoizedState},useFormState:function(e){return V="useFormState",m(),K(),Ac(e)},useActionState:function(e){return V="useActionState",m(),K(),Ac(e)},useOptimistic:function(e,t){return V="useOptimistic",m(),K(),Py(e,t)},useMemoCache:function(e){return m(),gr(e)},useHostTransitionStatus:br,useCacheRefresh:function(){return V="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return V="useEffectEvent",m(),K(),Mc(e)}};var n1={},a1=new Set,o1=new Set,l1=new Set,r1=new Set,i1=new Set,s1=new Set,u1=new Set,c1=new Set,f1=new Set,d1=new Set;Object.freeze(n1);var Cm={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Pn(e),o=wl(a);o.payload=t,n!=null&&(Mh(n),o.callback=n),t=Rl(e,o,a),t!==null&&(no(a,"this.setState()",e),Mt(t,e,a),hs(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Pn(e),o=wl(a);o.tag=JS,o.payload=t,n!=null&&(Mh(n),o.callback=n),t=Rl(e,o,a),t!==null&&(no(a,"this.replaceState()",e),Mt(t,e,a),hs(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pn(e),a=wl(n);a.tag=FS,t!=null&&(Mh(t),a.callback=t),t=Rl(e,a,n),t!==null&&(no(n,"this.forceUpdate()",e),Mt(t,e,n),hs(t,e,n))}},ki=null,Nm=null,Am=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."),Xt=!1,h1={},p1={},m1={},g1={},Vi=!1,y1={},Bf={},_m={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},b1=!1,v1=null;v1=new Set;var ol=!1,Qt=!1,Mm=!1,S1=typeof WeakSet=="function"?WeakSet:Set,rn=null,Bi=null,$i=null,Zt=null,qn=!1,Ga=null,Pt=!1,hu=8192,CD={getCacheForType:function(e){var t=Dt(Yt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Dt(Yt).controller.signal},getOwner:function(){return ea}};if(typeof Symbol=="function"&&Symbol.for){var pu=Symbol.for;pu("selector.component"),pu("selector.has_pseudo_class"),pu("selector.role"),pu("selector.test_id"),pu("selector.text")}var ND=[],AD=typeof WeakMap=="function"?WeakMap:Map,sn=0,It=2,oa=4,ll=0,mu=1,Lr=2,$f=3,Xl=4,Yf=6,E1=5,lt=sn,yt=null,Ze=null,Qe=0,Gn=0,qf=1,jr=2,gu=3,x1=4,Um=5,yu=6,Gf=7,zm=8,Hr=9,ht=Gn,la=null,Ql=!1,Yi=!1,Lm=!1,Do=0,_t=ll,Zl=0,Jl=0,jm=0,Xn=0,kr=0,bu=null,Ln=null,Xf=!1,Qf=0,w1=0,R1=300,Zf=1/0,T1=500,vu=null,Lt=null,Fl=null,Jf=0,Hm=1,km=2,D1=3,Kl=0,O1=1,C1=2,N1=3,A1=4,Ff=5,Jt=0,Pl=null,qi=null,Xa=0,Vm=0,Bm=-0,$m=null,_1=null,M1=null,Qa=Jf,U1=null,_D=50,Su=0,Ym=null,qm=!1,Kf=!1,MD=50,Vr=0,Eu=null,Gi=!1,Pf=null,z1=!1,L1=new Set,UD={},If=null,Xi=null,Gm=!1,Xm=!1,Wf=!1,Qm=!1,Il=0,Zm={};(function(){for(var e=0;e<om.length;e++){var t=om[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ja(n,"on"+t)}ja(fS,"onAnimationEnd"),ja(dS,"onAnimationIteration"),ja(hS,"onAnimationStart"),ja("dblclick","onDoubleClick"),ja("focusin","onFocus"),ja("focusout","onBlur"),ja(sD,"onTransitionRun"),ja(uD,"onTransitionStart"),ja(cD,"onTransitionCancel"),ja(pS,"onTransitionEnd")})(),Be("onMouseEnter",["mouseout","mouseover"]),Be("onMouseLeave",["mouseout","mouseover"]),Be("onPointerEnter",["pointerout","pointerover"]),Be("onPointerLeave",["pointerout","pointerover"]),Ie("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ie("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ie("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ie("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ie("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ie("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xu="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(" "),Jm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xu)),ed="_reactListening"+Math.random().toString(36).slice(2),j1=!1,H1=!1,td=!1,k1=!1,nd=!1,ad=!1,V1=!1,od={},zD=/\r\n?/g,LD=/\u0000|\uFFFD/g,Br="http://www.w3.org/1999/xlink",Fm="http://www.w3.org/XML/1998/namespace",jD="javascript:throw new Error('React form unexpectedly submitted.')",HD="suppressHydrationWarning",$r="&",ld="/&",wu="$",Ru="/$",Wl="$?",Yr="$~",Qi="$!",kD="html",VD="body",BD="head",Km="F!",B1="F",$1="loading",$D="style",rl=0,Zi=1,rd=2,Pm=null,Im=null,Y1={dialog:!0,webview:!0},Wm=null,Tu=void 0,q1=typeof setTimeout=="function"?setTimeout:void 0,YD=typeof clearTimeout=="function"?clearTimeout:void 0,qr=-1,G1=typeof Promise=="function"?Promise:void 0,qD=typeof queueMicrotask=="function"?queueMicrotask:typeof G1<"u"?function(e){return G1.resolve(null).then(e).catch(TR)}:q1,eg=null,Gr=0,Du=1,X1=2,Q1=3,Ta=4,Da=new Map,Z1=new Set,il=ft.d;ft.d={f:function(){var e=il.f(),t=ri();return e||t},r:function(e){var t=te(e);t!==null&&t.tag===5&&t.type==="form"?cb(t):il.r(e)},D:function(e){il.D(e),a0("dns-prefetch",e,null)},C:function(e,t){il.C(e,t),a0("preconnect",e,t)},L:function(e,t,n){il.L(e,t,n);var a=Ji;if(a&&e&&t){var o='link[rel="preload"][as="'+re(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+re(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+re(n.imageSizes)+'"]')):o+='[href="'+re(e)+'"]';var i=o;switch(t){case"style":i=ui(e);break;case"script":i=ci(e)}Da.has(i)||(e=Fe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Da.set(i,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Ms(i))||t==="script"&&a.querySelector(Us(i))||(t=a.createElement("link"),fn(t,"link",e),ve(t),a.head.appendChild(t)))}},m:function(e,t){il.m(e,t);var n=Ji;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+re(a)+'"][href="'+re(e)+'"]',i=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=ci(e)}if(!Da.has(i)&&(e=Fe({rel:"modulepreload",href:e},t),Da.set(i,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Us(i)))return}a=n.createElement("link"),fn(a,"link",e),ve(a),n.head.appendChild(a)}}},X:function(e,t){il.X(e,t);var n=Ji;if(n&&e){var a=je(n).hoistableScripts,o=ci(e),i=a.get(o);i||(i=n.querySelector(Us(o)),i||(e=Fe({src:e,async:!0},t),(t=Da.get(o))&&xp(e,t),i=n.createElement("script"),ve(i),fn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}},S:function(e,t,n){il.S(e,t,n);var a=Ji;if(a&&e){var o=je(a).hoistableStyles,i=ui(e);t=t||"default";var c=o.get(i);if(!c){var h={loading:Gr,preload:null};if(c=a.querySelector(Ms(i)))h.loading=Du|Ta;else{e=Fe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Da.get(i))&&Ep(e,n);var g=c=a.createElement("link");ve(g),fn(g,"link",e),g._p=new Promise(function(y,A){g.onload=y,g.onerror=A}),g.addEventListener("load",function(){h.loading|=Du}),g.addEventListener("error",function(){h.loading|=X1}),h.loading|=Ta,ef(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:h},o.set(i,c)}}},M:function(e,t){il.M(e,t);var n=Ji;if(n&&e){var a=je(n).hoistableScripts,o=ci(e),i=a.get(o);i||(i=n.querySelector(Us(o)),i||(e=Fe({src:e,async:!0,type:"module"},t),(t=Da.get(o))&&xp(e,t),i=n.createElement("script"),ve(i),fn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}}};var Ji=typeof document>"u"?null:document,id=null,GD=6e4,XD=800,QD=500,tg=0,ng=null,sd=null,Xr=rT,Ou={$$typeof:yo,Provider:null,Consumer:null,_currentValue:Xr,_currentValue2:Xr,_threadCount:0},J1="%c%s%c",F1="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",K1="",ud=" ",ZD=Function.prototype.bind,P1=!1,I1=null,W1=null,eE=null,tE=null,nE=null,aE=null,oE=null,lE=null,rE=null,iE=null;I1=function(e,t,n,a){t=r(e,t),t!==null&&(n=l(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=bn(e,2),n!==null&&Mt(n,e,2))},W1=function(e,t,n){t=r(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=bn(e,2),n!==null&&Mt(n,e,2))},eE=function(e,t,n,a){t=r(e,t),t!==null&&(n=s(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=bn(e,2),n!==null&&Mt(n,e,2))},tE=function(e,t,n){e.pendingProps=l(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Mt(t,e,2)},nE=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Mt(t,e,2)},aE=function(e,t,n){e.pendingProps=s(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&Mt(t,e,2)},oE=function(e){var t=bn(e,2);t!==null&&Mt(t,e,2)},lE=function(e){var t=_a(),n=bn(e,t);n!==null&&Mt(n,e,t)},rE=function(e){p=e},iE=function(e){d=e};var cd=!0,fd=null,ag=!1,er=null,tr=null,nr=null,Cu=new Map,Nu=new Map,ar=[],JD="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(lf.prototype.render=Cp.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()."):Y(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,o=Pn(a);wp(a,o,n,t,null,null)},lf.prototype.unmount=Cp.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;(lt&(It|oa))!==sn&&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."),wp(e.current,2,null,e,null,null),ri(),t[zl]=null}},lf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ma();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ar.length&&t!==0&&t<ar[n].priority;n++);ar.splice(n,0,e),n===0&&y0(e)}},(function(){var e=Np.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"),ft.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=ye(t),e=e!==null?Ve(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.4"};return e.overrideHookState=I1,e.overrideHookStateDeletePath=W1,e.overrideHookStateRenamePath=eE,e.overrideProps=tE,e.overridePropsDeletePath=nE,e.overridePropsRenamePath=aE,e.scheduleUpdate=oE,e.scheduleRetry=lE,e.setErrorHandler=rE,e.setSuspenseHandler=iE,e.scheduleRefresh=M,e.scheduleRoot=w,e.setRefreshHandler=Q,e.getCurrentFiber=PR,ts(e)})()&&xo&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var sE=window.location.protocol;/^(https?|file):$/.test(sE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(sE==="file:"?`
232
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}_u.createRoot=function(e,t){if(!Y(e))throw Error("Target container is not a DOM element.");E0(e);var n=!1,a="",o=bb,i=vb,c=Sb;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===go&&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&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=c0(e,1,!1,null,null,n,a,null,o,i,c,S0),e[zl]=t.current,up(e),new Cp(t)},_u.hydrateRoot=function(e,t,n){if(!Y(e))throw Error("Target container is not a DOM element.");E0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,o="",i=bb,c=vb,h=Sb,g=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(h=n.onRecoverableError),n.formState!==void 0&&(g=n.formState)),t=c0(e,1,!0,t,n??null,a,o,g,i,c,h,S0),t.context=f0(null),n=t.current,a=Pn(n),a=fa(a),o=wl(a),o.callback=null,Rl(n,o,a),no(a,"hydrateRoot()",null),n=a,t.current.lanes=n,ca(t,n),po(t),e[zl]=t.current,up(e),new lf(t)},_u.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),_u}var VE;function dC(){return VE||(VE=1,fg.exports=fC()),fg.exports}var hC=dC();var Ux=r=>{throw TypeError(r)},pC=(r,l,s)=>l.has(r)||Ux("Cannot "+s),mg=(r,l,s)=>(pC(r,l,"read from private field"),s?s.call(r):l.get(r)),mC=(r,l,s)=>l.has(r)?Ux("Cannot add the same private member more than once"):l instanceof WeakSet?l.add(r):l.set(r,s),BE="popstate";function $E(r){return typeof r=="object"&&r!=null&&"pathname"in r&&"search"in r&&"hash"in r&&"state"in r&&"key"in r}function gC(r={}){function l(u,f){let d=f.state?.masked,{pathname:p,search:m,hash:b}=d||u.location;return Gu("",{pathname:p,search:m,hash:b},f.state&&f.state.usr||null,f.state&&f.state.key||"default",d?{pathname:u.location.pathname,search:u.location.search,hash:u.location.hash}:void 0)}function s(u,f){return typeof f=="string"?f:Co(f)}return bC(l,s,null,r)}function Pe(r,l){if(r===!1||r===null||typeof r>"u")throw new Error(l)}function Bt(r,l){if(!r){typeof console<"u"&&console.warn(l);try{throw new Error(l)}catch{}}}function yC(){return Math.random().toString(36).substring(2,10)}function YE(r,l){return{usr:r.state,key:r.key,idx:l,masked:r.unstable_mask?{pathname:r.pathname,search:r.search,hash:r.hash}:void 0}}function Gu(r,l,s=null,u,f){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof l=="string"?fl(l):l,state:s,key:l&&l.key||u||yC(),unstable_mask:f}}function Co({pathname:r="/",search:l="",hash:s=""}){return l&&l!=="?"&&(r+=l.charAt(0)==="?"?l:"?"+l),s&&s!=="#"&&(r+=s.charAt(0)==="#"?s:"#"+s),r}function fl(r){let l={};if(r){let s=r.indexOf("#");s>=0&&(l.hash=r.substring(s),r=r.substring(0,s));let u=r.indexOf("?");u>=0&&(l.search=r.substring(u),r=r.substring(0,u)),r&&(l.pathname=r)}return l}function bC(r,l,s,u={}){let{window:f=document.defaultView,v5Compat:d=!1}=u,p=f.history,m="POP",b=null,S=R();S==null&&(S=0,p.replaceState({...p.state,idx:S},""));function R(){return(p.state||{idx:null}).idx}function E(){m="POP";let Y=R(),J=Y==null?null:Y-S;S=Y,b&&b({action:m,location:Q.location,delta:J})}function x(Y,J){m="PUSH";let W=$E(Y)?Y:Gu(Q.location,Y,J);S=R()+1;let ie=YE(W,S),Ee=Q.createHref(W.unstable_mask||W);try{p.pushState(ie,"",Ee)}catch(ye){if(ye instanceof DOMException&&ye.name==="DataCloneError")throw ye;f.location.assign(Ee)}d&&b&&b({action:m,location:Q.location,delta:1})}function w(Y,J){m="REPLACE";let W=$E(Y)?Y:Gu(Q.location,Y,J);S=R();let ie=YE(W,S),Ee=Q.createHref(W.unstable_mask||W);p.replaceState(ie,"",Ee),d&&b&&b({action:m,location:Q.location,delta:0})}function M(Y){return zx(Y)}let Q={get action(){return m},get location(){return r(f,p)},listen(Y){if(b)throw new Error("A history only accepts one active listener");return f.addEventListener(BE,E),b=Y,()=>{f.removeEventListener(BE,E),b=null}},createHref(Y){return l(f,Y)},createURL:M,encodeLocation(Y){let J=M(Y);return{pathname:J.pathname,search:J.search,hash:J.hash}},push:x,replace:w,go(Y){return p.go(Y)}};return Q}function zx(r,l=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Pe(s,"No window.location.(origin|href) available to create URL");let u=typeof r=="string"?r:Co(r);return u=u.replace(/ $/,"%20"),!l&&u.startsWith("//")&&(u=s+u),new URL(u,s)}var ku,qE=class{constructor(r){if(mC(this,ku,new Map),r)for(let[l,s]of r)this.set(l,s)}get(r){if(mg(this,ku).has(r))return mg(this,ku).get(r);if(r.defaultValue!==void 0)return r.defaultValue;throw new Error("No value found for context")}set(r,l){mg(this,ku).set(r,l)}};ku=new WeakMap;var vC=new Set(["lazy","caseSensitive","path","id","index","children"]);function SC(r){return vC.has(r)}var EC=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function xC(r){return EC.has(r)}function wC(r){return r.index===!0}function Xu(r,l,s=[],u={},f=!1){return r.map((d,p)=>{let m=[...s,String(p)],b=typeof d.id=="string"?d.id:m.join("-");if(Pe(d.index!==!0||!d.children,"Cannot specify children on an index route"),Pe(f||!u[b],`Found a route id collision on id "${b}". Route id's must be globally unique within Data Router usages`),wC(d)){let S={...d,id:b};return u[b]=GE(S,l(S)),S}else{let S={...d,id:b,children:void 0};return u[b]=GE(S,l(S)),d.children&&(S.children=Xu(d.children,l,m,u,f)),S}})}function GE(r,l){return Object.assign(r,{...l,...typeof l.lazy=="object"&&l.lazy!=null?{lazy:{...r.lazy,...l.lazy}}:{}})}function or(r,l,s="/"){return Vu(r,l,s,!1)}function Vu(r,l,s,u){let f=typeof l=="string"?fl(l):l,d=Ca(f.pathname||"/",s);if(d==null)return null;let p=Lx(r);TC(p);let m=null;for(let b=0;m==null&&b<p.length;++b){let S=jC(d);m=zC(p[b],S,u)}return m}function RC(r,l){let{route:s,pathname:u,params:f}=r;return{id:s.id,pathname:u,params:f,data:l[s.id],loaderData:l[s.id],handle:s.handle}}function Lx(r,l=[],s=[],u="",f=!1){let d=(p,m,b=f,S)=>{let R={relativePath:S===void 0?p.path||"":S,caseSensitive:p.caseSensitive===!0,childrenIndex:m,route:p};if(R.relativePath.startsWith("/")){if(!R.relativePath.startsWith(u)&&b)return;Pe(R.relativePath.startsWith(u),`Absolute route path "${R.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),R.relativePath=R.relativePath.slice(u.length)}let E=Za([u,R.relativePath]),x=s.concat(R);p.children&&p.children.length>0&&(Pe(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),Lx(p.children,l,x,E,b)),!(p.path==null&&!p.index)&&l.push({path:E,score:MC(E,p.index),routesMeta:x})};return r.forEach((p,m)=>{if(p.path===""||!p.path?.includes("?"))d(p,m);else for(let b of jx(p.path))d(p,m,!0,b)}),l}function jx(r){let l=r.split("/");if(l.length===0)return[];let[s,...u]=l,f=s.endsWith("?"),d=s.replace(/\?$/,"");if(u.length===0)return f?[d,""]:[d];let p=jx(u.join("/")),m=[];return m.push(...p.map(b=>b===""?d:[d,b].join("/"))),f&&m.push(...p),m.map(b=>r.startsWith("/")&&b===""?"/":b)}function TC(r){r.sort((l,s)=>l.score!==s.score?s.score-l.score:UC(l.routesMeta.map(u=>u.childrenIndex),s.routesMeta.map(u=>u.childrenIndex)))}var DC=/^:[\w-]+$/,OC=3,CC=2,NC=1,AC=10,_C=-2,XE=r=>r==="*";function MC(r,l){let s=r.split("/"),u=s.length;return s.some(XE)&&(u+=_C),l&&(u+=CC),s.filter(f=>!XE(f)).reduce((f,d)=>f+(DC.test(d)?OC:d===""?NC:AC),u)}function UC(r,l){return r.length===l.length&&r.slice(0,-1).every((u,f)=>u===l[f])?r[r.length-1]-l[l.length-1]:0}function zC(r,l,s=!1){let{routesMeta:u}=r,f={},d="/",p=[];for(let m=0;m<u.length;++m){let b=u[m],S=m===u.length-1,R=d==="/"?l:l.slice(d.length)||"/",E=Td({path:b.relativePath,caseSensitive:b.caseSensitive,end:S},R),x=b.route;if(!E&&S&&s&&!u[u.length-1].route.index&&(E=Td({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},R)),!E)return null;Object.assign(f,E.params),p.push({params:f,pathname:Za([d,E.pathname]),pathnameBase:VC(Za([d,E.pathnameBase])),route:x}),E.pathnameBase!=="/"&&(d=Za([d,E.pathnameBase]))}return p}function Td(r,l){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,u]=LC(r.path,r.caseSensitive,r.end),f=l.match(s);if(!f)return null;let d=f[0],p=d.replace(/(.)\/+$/,"$1"),m=f.slice(1);return{params:u.reduce((S,{paramName:R,isOptional:E},x)=>{if(R==="*"){let M=m[x]||"";p=d.slice(0,d.length-M.length).replace(/(.)\/+$/,"$1")}const w=m[x];return E&&!w?S[R]=void 0:S[R]=(w||"").replace(/%2F/g,"/"),S},{}),pathname:d,pathnameBase:p,pattern:r}}function LC(r,l=!1,s=!0){Bt(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let u=[],f="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,m,b,S,R)=>{if(u.push({paramName:m,isOptional:b!=null}),b){let E=R.charAt(S+p.length);return E&&E!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return r.endsWith("*")?(u.push({paramName:"*"}),f+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?f+="\\/*$":r!==""&&r!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,l?void 0:"i"),u]}function jC(r){try{return r.split("/").map(l=>decodeURIComponent(l).replace(/\//g,"%2F")).join("/")}catch(l){return Bt(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${l}).`),r}}function Ca(r,l){if(l==="/")return r;if(!r.toLowerCase().startsWith(l.toLowerCase()))return null;let s=l.endsWith("/")?l.length-1:l.length,u=r.charAt(s);return u&&u!=="/"?null:r.slice(s)||"/"}function HC({basename:r,pathname:l}){return l==="/"?r:Za([r,l])}var Hx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ng=r=>Hx.test(r);function kC(r,l="/"){let{pathname:s,search:u="",hash:f=""}=typeof r=="string"?fl(r):r,d;return s?(s=s.replace(/\/\/+/g,"/"),s.startsWith("/")?d=QE(s.substring(1),"/"):d=QE(s,l)):d=l,{pathname:d,search:BC(u),hash:$C(f)}}function QE(r,l){let s=l.replace(/\/+$/,"").split("/");return r.split("/").forEach(f=>{f===".."?s.length>1&&s.pop():f!=="."&&s.push(f)}),s.length>1?s.join("/"):"/"}function gg(r,l,s,u){return`Cannot include a '${r}' character in a manually specified \`to.${l}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function kx(r){return r.filter((l,s)=>s===0||l.route.path&&l.route.path.length>0)}function Od(r){let l=kx(r);return l.map((s,u)=>u===l.length-1?s.pathname:s.pathnameBase)}function Ku(r,l,s,u=!1){let f;typeof r=="string"?f=fl(r):(f={...r},Pe(!f.pathname||!f.pathname.includes("?"),gg("?","pathname","search",f)),Pe(!f.pathname||!f.pathname.includes("#"),gg("#","pathname","hash",f)),Pe(!f.search||!f.search.includes("#"),gg("#","search","hash",f)));let d=r===""||f.pathname==="",p=d?"/":f.pathname,m;if(p==null)m=s;else{let E=l.length-1;if(!u&&p.startsWith("..")){let x=p.split("/");for(;x[0]==="..";)x.shift(),E-=1;f.pathname=x.join("/")}m=E>=0?l[E]:"/"}let b=kC(f,m),S=p&&p!=="/"&&p.endsWith("/"),R=(d||p===".")&&s.endsWith("/");return!b.pathname.endsWith("/")&&(S||R)&&(b.pathname+="/"),b}var Za=r=>r.join("/").replace(/\/\/+/g,"/"),VC=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),BC=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,$C=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,Pu=class{constructor(r,l,s,u=!1){this.status=r,this.statusText=l||"",this.internal=u,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Qu(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}function Iu(r){return r.map(l=>l.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Vx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Bx(r,l){let s=r;if(typeof s!="string"||!Hx.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let u=s,f=!1;if(Vx)try{let d=new URL(window.location.href),p=s.startsWith("//")?new URL(d.protocol+s):new URL(s),m=Ca(p.pathname,l);p.origin===d.origin&&m!=null?s=m+p.search+p.hash:f=!0}catch{Bt(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:u,isExternal:f,to:s}}var rr=Symbol("Uninstrumented");function YC(r,l){let s={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};r.forEach(f=>f({id:l.id,index:l.index,path:l.path,instrument(d){let p=Object.keys(s);for(let m of p)d[m]&&s[m].push(d[m])}}));let u={};if(typeof l.lazy=="function"&&s.lazy.length>0){let f=Ii(s.lazy,l.lazy,()=>{});f&&(u.lazy=f)}if(typeof l.lazy=="object"){let f=l.lazy;["middleware","loader","action"].forEach(d=>{let p=f[d],m=s[`lazy.${d}`];if(typeof p=="function"&&m.length>0){let b=Ii(m,p,()=>{});b&&(u.lazy=Object.assign(u.lazy||{},{[d]:b}))}})}return["loader","action"].forEach(f=>{let d=l[f];if(typeof d=="function"&&s[f].length>0){let p=d[rr]??d,m=Ii(s[f],p,(...b)=>ZE(b[0]));m&&(f==="loader"&&p.hydrate===!0&&(m.hydrate=!0),m[rr]=p,u[f]=m)}}),l.middleware&&l.middleware.length>0&&s.middleware.length>0&&(u.middleware=l.middleware.map(f=>{let d=f[rr]??f,p=Ii(s.middleware,d,(...m)=>ZE(m[0]));return p?(p[rr]=d,p):f})),u}function qC(r,l){let s={navigate:[],fetch:[]};if(l.forEach(u=>u({instrument(f){let d=Object.keys(f);for(let p of d)f[p]&&s[p].push(f[p])}})),s.navigate.length>0){let u=r.navigate[rr]??r.navigate,f=Ii(s.navigate,u,(...d)=>{let[p,m]=d;return{to:typeof p=="number"||typeof p=="string"?p:p?Co(p):".",...JE(r,m??{})}});f&&(f[rr]=u,r.navigate=f)}if(s.fetch.length>0){let u=r.fetch[rr]??r.fetch,f=Ii(s.fetch,u,(...d)=>{let[p,,m,b]=d;return{href:m??".",fetcherKey:p,...JE(r,b??{})}});f&&(f[rr]=u,r.fetch=f)}return r}function Ii(r,l,s){return r.length===0?null:async(...u)=>{let f=await $x(r,s(...u),()=>l(...u),r.length-1);if(f.type==="error")throw f.value;return f.value}}async function $x(r,l,s,u){let f=r[u],d;if(f){let p,m=async()=>(p?console.error("You cannot call instrumented handlers more than once"):p=$x(r,l,s,u-1),d=await p,Pe(d,"Expected a result"),d.type==="error"&&d.value instanceof Error?{status:"error",error:d.value}:{status:"success",error:void 0});try{await f(m,l)}catch(b){console.error("An instrumentation function threw an error:",b)}p||await m(),await p}else try{d={type:"success",value:await s()}}catch(p){d={type:"error",value:p}}return d||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function ZE(r){let{request:l,context:s,params:u,unstable_pattern:f}=r;return{request:GC(l),params:{...u},unstable_pattern:f,context:XC(s)}}function JE(r,l){return{currentUrl:Co(r.state.location),..."formMethod"in l?{formMethod:l.formMethod}:{},..."formEncType"in l?{formEncType:l.formEncType}:{},..."formData"in l?{formData:l.formData}:{},..."body"in l?{body:l.body}:{}}}function GC(r){return{method:r.method,url:r.url,headers:{get:(...l)=>r.headers.get(...l)}}}function XC(r){if(ZC(r)){let l={...r};return Object.freeze(l),l}else return{get:l=>r.get(l)}}var QC=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ZC(r){if(r===null||typeof r!="object")return!1;const l=Object.getPrototypeOf(r);return l===Object.prototype||l===null||Object.getOwnPropertyNames(l).sort().join("\0")===QC}var Yx=["POST","PUT","PATCH","DELETE"],JC=new Set(Yx),FC=["GET",...Yx],KC=new Set(FC),qx=new Set([301,302,303,307,308]),PC=new Set([307,308]),yg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},IC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Mu={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},WC=r=>({hasErrorBoundary:!!r.hasErrorBoundary}),Gx="remix-router-transitions",Xx=Symbol("ResetLoaderData");function eN(r){const l=r.window?r.window:typeof window<"u"?window:void 0,s=typeof l<"u"&&typeof l.document<"u"&&typeof l.document.createElement<"u";Pe(r.routes.length>0,"You must provide a non-empty routes array to createRouter");let u=r.hydrationRouteProperties||[],f=r.mapRouteProperties||WC,d=f;if(r.unstable_instrumentations){let D=r.unstable_instrumentations;d=L=>({...f(L),...YC(D.map(B=>B.route).filter(Boolean),L)})}let p={},m=Xu(r.routes,d,void 0,p),b,S=r.basename||"/";S.startsWith("/")||(S=`/${S}`);let R=r.dataStrategy||lN,E={...r.future},x=null,w=new Set,M=null,Q=null,Y=null,J=r.hydrationData!=null,W=or(m,r.history.location,S),ie=!1,Ee=null,ye,Ve;if(W==null&&!r.patchRoutesOnNavigation){let D=Oa(404,{pathname:r.history.location.pathname}),{matches:L,route:B}=md(m);ye=!0,Ve=!ye,W=L,Ee={[B.id]:D}}else if(W&&!r.hydrationData&&Tn(W,m,r.history.location.pathname).active&&(W=null),W)if(W.some(D=>D.route.lazy))ye=!1,Ve=!ye;else if(!W.some(D=>Ag(D.route)))ye=!0,Ve=!ye;else{let D=r.hydrationData?r.hydrationData.loaderData:null,L=r.hydrationData?r.hydrationData.errors:null,B=W;if(L){let P=W.findIndex(ee=>L[ee.route.id]!==void 0);B=B.slice(0,P+1)}Ve=!1,ye=B.every(P=>{let ee=Qx(P.route,D,L);return Ve=Ve||ee.renderFallback,!ee.shouldLoad})}else{ye=!1,Ve=!ye,W=[];let D=Tn(null,m,r.history.location.pathname);D.active&&D.matches&&(ie=!0,W=D.matches)}let Le,U={historyAction:r.history.action,location:r.history.location,matches:W,initialized:ye,renderFallback:Ve,navigation:yg,restoreScrollPosition:r.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:r.hydrationData&&r.hydrationData.loaderData||{},actionData:r.hydrationData&&r.hydrationData.actionData||null,errors:r.hydrationData&&r.hydrationData.errors||Ee,fetchers:new Map,blockers:new Map},ae="POP",X=null,Te=!1,I,ce=!1,xe=new Map,Ne=null,Z=!1,le=!1,fe=new Set,de=new Map,Ye=0,q=-1,he=new Map,Me=new Set,we=new Map,pt=new Map,Ft=new Set,rt=new Map,mn,Wt=null;function Na(){if(x=r.history.listen(({action:D,location:L,delta:B})=>{if(mn){mn(),mn=void 0;return}Bt(rt.size===0||B!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let P=me({currentLocation:U.location,nextLocation:L,historyAction:D});if(P&&B!=null){let ee=new Promise(Se=>{mn=Se});r.history.go(B*-1),te(P,{state:"blocked",location:L,proceed(){te(P,{state:"proceeding",proceed:void 0,reset:void 0,location:L}),ee.then(()=>r.history.go(B))},reset(){let Se=new Map(U.blockers);Se.set(P,Mu),Ct({blockers:Se})}}),X?.resolve(),X=null;return}return Nt(D,L)}),s){wN(l,xe);let D=()=>RN(l,xe);l.addEventListener("pagehide",D),Ne=()=>l.removeEventListener("pagehide",D)}return U.initialized||Nt("POP",U.location,{initialHydration:!0}),Le}function ue(){x&&x(),Ne&&Ne(),w.clear(),I&&I.abort(),U.fetchers.forEach((D,L)=>fa(L)),U.blockers.forEach((D,L)=>F(L))}function dl(D){return w.add(D),()=>w.delete(D)}function Ct(D,L={}){D.matches&&(D.matches=D.matches.map(ee=>{let Se=p[ee.route.id],re=ee.route;return re.element!==Se.element||re.errorElement!==Se.errorElement||re.hydrateFallbackElement!==Se.hydrateFallbackElement?{...ee,route:Se}:ee})),U={...U,...D};let B=[],P=[];U.fetchers.forEach((ee,Se)=>{ee.state==="idle"&&(Ft.has(Se)?B.push(Se):P.push(Se))}),Ft.forEach(ee=>{!U.fetchers.has(ee)&&!de.has(ee)&&B.push(ee)}),[...w].forEach(ee=>ee(U,{deletedFetchers:B,newErrors:D.errors??null,viewTransitionOpts:L.viewTransitionOpts,flushSync:L.flushSync===!0})),B.forEach(ee=>fa(ee)),P.forEach(ee=>U.fetchers.delete(ee))}function Hn(D,L,{flushSync:B}={}){let P=U.actionData!=null&&U.navigation.formMethod!=null&&xn(U.navigation.formMethod)&&U.navigation.state==="loading"&&D.state?._isRedirect!==!0,ee;L.actionData?Object.keys(L.actionData).length>0?ee=L.actionData:ee=null:P?ee=U.actionData:ee=null;let Se=L.loaderData?ox(U.loaderData,L.loaderData,L.matches||[],L.errors):U.loaderData,re=U.blockers;re.size>0&&(re=new Map(re),re.forEach((Ae,Re)=>re.set(Re,Mu)));let De=Z?!1:en(D,L.matches||U.matches),ge=Te===!0||U.navigation.formMethod!=null&&xn(U.navigation.formMethod)&&D.state?._isRedirect!==!0;b&&(m=b,b=void 0),Z||ae==="POP"||(ae==="PUSH"?r.history.push(D,D.state):ae==="REPLACE"&&r.history.replace(D,D.state));let _e;if(ae==="POP"){let Ae=xe.get(U.location.pathname);Ae&&Ae.has(D.pathname)?_e={currentLocation:U.location,nextLocation:D}:xe.has(D.pathname)&&(_e={currentLocation:D,nextLocation:U.location})}else if(ce){let Ae=xe.get(U.location.pathname);Ae?Ae.add(D.pathname):(Ae=new Set([D.pathname]),xe.set(U.location.pathname,Ae)),_e={currentLocation:U.location,nextLocation:D}}Ct({...L,actionData:ee,loaderData:Se,historyAction:ae,location:D,initialized:!0,renderFallback:!1,navigation:yg,revalidation:"idle",restoreScrollPosition:De,preventScrollReset:ge,blockers:re},{viewTransitionOpts:_e,flushSync:B===!0}),ae="POP",Te=!1,ce=!1,Z=!1,le=!1,X?.resolve(),X=null,Wt?.resolve(),Wt=null}async function Aa(D,L){if(X?.resolve(),X=null,typeof D=="number"){X||(X=sx());let Et=X.promise;return r.history.go(D),Et}let B=Tg(U.location,U.matches,S,D,L?.fromRouteId,L?.relative),{path:P,submission:ee,error:Se}=FE(!1,B,L),re;L?.unstable_mask&&(re={pathname:"",search:"",hash:"",...typeof L.unstable_mask=="string"?fl(L.unstable_mask):{...U.location.unstable_mask,...L.unstable_mask}});let De=U.location,ge=Gu(De,P,L&&L.state,void 0,re);ge={...ge,...r.history.encodeLocation(ge)};let _e=L&&L.replace!=null?L.replace:void 0,Ae="PUSH";_e===!0?Ae="REPLACE":_e===!1||ee!=null&&xn(ee.formMethod)&&ee.formAction===U.location.pathname+U.location.search&&(Ae="REPLACE");let Re=L&&"preventScrollReset"in L?L.preventScrollReset===!0:void 0,st=(L&&L.flushSync)===!0,Ke=me({currentLocation:De,nextLocation:ge,historyAction:Ae});if(Ke){te(Ke,{state:"blocked",location:ge,proceed(){te(Ke,{state:"proceeding",proceed:void 0,reset:void 0,location:ge}),Aa(D,L)},reset(){let Et=new Map(U.blockers);Et.set(Ke,Mu),Ct({blockers:Et})}});return}await Nt(Ae,ge,{submission:ee,pendingError:Se,preventScrollReset:Re,replace:L&&L.replace,enableViewTransition:L&&L.viewTransition,flushSync:st,callSiteDefaultShouldRevalidate:L&&L.unstable_defaultShouldRevalidate})}function it(){Wt||(Wt=sx()),ca(),Ct({revalidation:"loading"});let D=Wt.promise;return U.navigation.state==="submitting"?D:U.navigation.state==="idle"?(Nt(U.historyAction,U.location,{startUninterruptedRevalidation:!0}),D):(Nt(ae||U.historyAction,U.navigation.location,{overrideNavigation:U.navigation,enableViewTransition:ce===!0}),D)}async function Nt(D,L,B){I&&I.abort(),I=null,ae=D,Z=(B&&B.startUninterruptedRevalidation)===!0,Be(U.location,U.matches),Te=(B&&B.preventScrollReset)===!0,ce=(B&&B.enableViewTransition)===!0;let P=b||m,ee=B&&B.overrideNavigation,Se=B?.initialHydration&&U.matches&&U.matches.length>0&&!ie?U.matches:or(P,L,S),re=(B&&B.flushSync)===!0;if(Se&&U.initialized&&!le&&hN(U.location,L)&&!(B&&B.submission&&xn(B.submission.formMethod))){Hn(L,{matches:Se},{flushSync:re});return}let De=Tn(Se,P,L.pathname);if(De.active&&De.matches&&(Se=De.matches),!Se){let{error:jt,notFoundMatches:tn,route:ut}=je(L.pathname);Hn(L,{matches:tn,loaderData:{},errors:{[ut.id]:jt}},{flushSync:re});return}I=new AbortController;let ge=Pi(r.history,L,I.signal,B&&B.submission),_e=r.getContext?await r.getContext():new qE,Ae;if(B&&B.pendingError)Ae=[lr(Se).route.id,{type:"error",error:B.pendingError}];else if(B&&B.submission&&xn(B.submission.formMethod)){let jt=await hl(ge,L,B.submission,Se,_e,De.active,B&&B.initialHydration===!0,{replace:B.replace,flushSync:re});if(jt.shortCircuited)return;if(jt.pendingActionResult){let[tn,ut]=jt.pendingActionResult;if(ra(ut)&&Qu(ut.error)&&ut.error.status===404){I=null,Hn(L,{matches:jt.matches,loaderData:{},errors:{[tn]:ut.error}});return}}Se=jt.matches||Se,Ae=jt.pendingActionResult,ee=bg(L,B.submission),re=!1,De.active=!1,ge=Pi(r.history,ge.url,ge.signal)}let{shortCircuited:Re,matches:st,loaderData:Ke,errors:Et}=await ts(ge,L,Se,_e,De.active,ee,B&&B.submission,B&&B.fetcherSubmission,B&&B.replace,B&&B.initialHydration===!0,re,Ae,B&&B.callSiteDefaultShouldRevalidate);Re||(I=null,Hn(L,{matches:st||Se,...lx(Ae),loaderData:Ke,errors:Et}))}async function hl(D,L,B,P,ee,Se,re,De={}){ca();let ge=EN(L,B);if(Ct({navigation:ge},{flushSync:De.flushSync===!0}),Se){let Re=await zo(P,L.pathname,D.signal);if(Re.type==="aborted")return{shortCircuited:!0};if(Re.type==="error"){if(Re.partialMatches.length===0){let{matches:Ke,route:Et}=md(m);return{matches:Ke,pendingActionResult:[Et.id,{type:"error",error:Re.error}]}}let st=lr(Re.partialMatches).route.id;return{matches:Re.partialMatches,pendingActionResult:[st,{type:"error",error:Re.error}]}}else if(Re.matches)P=Re.matches;else{let{notFoundMatches:st,error:Ke,route:Et}=je(L.pathname);return{matches:st,pendingActionResult:[Et.id,{type:"error",error:Ke}]}}}let _e,Ae=vd(P,L);if(!Ae.route.action&&!Ae.route.lazy)_e={type:"error",error:Oa(405,{method:D.method,pathname:L.pathname,routeId:Ae.route.id})};else{let Re=Wi(d,p,D,P,Ae,re?[]:u,ee),st=await _a(D,Re,ee,null);if(_e=st[Ae.route.id],!_e){for(let Ke of P)if(st[Ke.route.id]){_e=st[Ke.route.id];break}}if(D.signal.aborted)return{shortCircuited:!0}}if(Zr(_e)){let Re;return De&&De.replace!=null?Re=De.replace:Re=tx(_e.response.headers.get("Location"),new URL(D.url),S,r.history)===U.location.pathname+U.location.search,await ua(D,_e,!0,{submission:B,replace:Re}),{shortCircuited:!0}}if(ra(_e)){let Re=lr(P,Ae.route.id);return(De&&De.replace)!==!0&&(ae="PUSH"),{matches:P,pendingActionResult:[Re.route.id,_e,Ae.route.id]}}return{matches:P,pendingActionResult:[Ae.route.id,_e]}}async function ts(D,L,B,P,ee,Se,re,De,ge,_e,Ae,Re,st){let Ke=Se||bg(L,re),Et=re||De||ix(Ke),jt=!Z&&!_e;if(ee){if(jt){let nn=pe(Re);Ct({navigation:Ke,...nn!==void 0?{actionData:nn}:{}},{flushSync:Ae})}let et=await zo(B,L.pathname,D.signal);if(et.type==="aborted")return{shortCircuited:!0};if(et.type==="error"){if(et.partialMatches.length===0){let{matches:yl,route:Ia}=md(m);return{matches:yl,loaderData:{},errors:{[Ia.id]:et.error}}}let nn=lr(et.partialMatches).route.id;return{matches:et.partialMatches,loaderData:{},errors:{[nn]:et.error}}}else if(et.matches)B=et.matches;else{let{error:nn,notFoundMatches:yl,route:Ia}=je(L.pathname);return{matches:yl,loaderData:{},errors:{[Ia.id]:nn}}}}let tn=b||m,{dsMatches:ut,revalidatingFetchers:Dn}=KE(D,P,d,p,r.history,U,B,Et,L,_e?[]:u,_e===!0,le,fe,Ft,we,Me,tn,S,r.patchRoutesOnNavigation!=null,Re,st);if(q=++Ye,!r.dataStrategy&&!ut.some(et=>et.shouldLoad)&&!ut.some(et=>et.route.middleware&&et.route.middleware.length>0)&&Dn.length===0){let et=Ma();return Hn(L,{matches:B,loaderData:{},errors:Re&&ra(Re[1])?{[Re[0]]:Re[1].error}:null,...lx(Re),...et?{fetchers:new Map(U.fetchers)}:{}},{flushSync:Ae}),{shortCircuited:!0}}if(jt){let et={};if(!ee){et.navigation=Ke;let nn=pe(Re);nn!==void 0&&(et.actionData=nn)}Dn.length>0&&(et.fetchers=pl(Dn)),Ct(et,{flushSync:Ae})}Dn.forEach(et=>{gn(et.key),et.controller&&de.set(et.key,et.controller)});let Ht=()=>Dn.forEach(et=>gn(et.key));I&&I.signal.addEventListener("abort",Ht);let{loaderResults:da,fetcherResults:yn}=await ml(ut,Dn,D,P);if(D.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",Ht),Dn.forEach(et=>de.delete(et.key));let Qn=gd(da);if(Qn)return await ua(D,Qn.result,!0,{replace:ge}),{shortCircuited:!0};if(Qn=gd(yn),Qn)return Me.add(Qn.key),await ua(D,Qn.result,!0,{replace:ge}),{shortCircuited:!0};let{loaderData:jo,errors:Ka}=ax(U,B,da,Re,Dn,yn);_e&&U.errors&&(Ka={...U.errors,...Ka});let za=Ma(),Pa=v(q),La=za||Pa||Dn.length>0;return{matches:B,loaderData:jo,errors:Ka,...La?{fetchers:new Map(U.fetchers)}:{}}}function pe(D){if(D&&!ra(D[1]))return{[D[0]]:D[1].data};if(U.actionData)return Object.keys(U.actionData).length===0?null:U.actionData}function pl(D){return D.forEach(L=>{let B=U.fetchers.get(L.key),P=Uu(void 0,B?B.data:void 0);U.fetchers.set(L.key,P)}),new Map(U.fetchers)}async function sa(D,L,B,P){gn(D);let ee=(P&&P.flushSync)===!0,Se=b||m,re=Tg(U.location,U.matches,S,B,L,P?.relative),De=or(Se,re,S),ge=Tn(De,Se,re);if(ge.active&&ge.matches&&(De=ge.matches),!De){Rn(D,L,Oa(404,{pathname:re}),{flushSync:ee});return}let{path:_e,submission:Ae,error:Re}=FE(!0,re,P);if(Re){Rn(D,L,Re,{flushSync:ee});return}let st=r.getContext?await r.getContext():new qE,Ke=(P&&P.preventScrollReset)===!0;if(Ae&&xn(Ae.formMethod)){await Ao(D,L,_e,De,st,ge.active,ee,Ke,Ae,P&&P.unstable_defaultShouldRevalidate);return}we.set(D,{routeId:L,path:_e}),await Fa(D,L,_e,De,st,ge.active,ee,Ke,Ae)}async function Ao(D,L,B,P,ee,Se,re,De,ge,_e){ca(),we.delete(D);let Ae=U.fetchers.get(D);kn(D,xN(ge,Ae),{flushSync:re});let Re=new AbortController,st=Pi(r.history,B,Re.signal,ge);if(Se){let xt=await zo(P,new URL(st.url).pathname,st.signal,D);if(xt.type==="aborted")return;if(xt.type==="error"){Rn(D,L,xt.error,{flushSync:re});return}else if(xt.matches)P=xt.matches;else{Rn(D,L,Oa(404,{pathname:B}),{flushSync:re});return}}let Ke=vd(P,B);if(!Ke.route.action&&!Ke.route.lazy){let xt=Oa(405,{method:ge.formMethod,pathname:B,routeId:L});Rn(D,L,xt,{flushSync:re});return}de.set(D,Re);let Et=Ye,jt=Wi(d,p,st,P,Ke,u,ee),tn=await _a(st,jt,ee,D),ut=tn[Ke.route.id];if(!ut){for(let xt of jt)if(tn[xt.route.id]){ut=tn[xt.route.id];break}}if(st.signal.aborted){de.get(D)===Re&&de.delete(D);return}if(Ft.has(D)){if(Zr(ut)||ra(ut)){kn(D,ul(void 0));return}}else{if(Zr(ut))if(de.delete(D),q>Et){kn(D,ul(void 0));return}else return Me.add(D),kn(D,Uu(ge)),ua(st,ut,!1,{fetcherSubmission:ge,preventScrollReset:De});if(ra(ut)){Rn(D,L,ut.error);return}}let Dn=U.navigation.location||U.location,Ht=Pi(r.history,Dn,Re.signal),da=b||m,yn=U.navigation.state!=="idle"?or(da,U.navigation.location,S):U.matches;Pe(yn,"Didn't find any matches after fetcher action");let Qn=++Ye;he.set(D,Qn);let jo=Uu(ge,ut.data);U.fetchers.set(D,jo);let{dsMatches:Ka,revalidatingFetchers:za}=KE(Ht,ee,d,p,r.history,U,yn,ge,Dn,u,!1,le,fe,Ft,we,Me,da,S,r.patchRoutesOnNavigation!=null,[Ke.route.id,ut],_e);za.filter(xt=>xt.key!==D).forEach(xt=>{let bl=xt.key,ns=U.fetchers.get(bl),tc=Uu(void 0,ns?ns.data:void 0);U.fetchers.set(bl,tc),gn(bl),xt.controller&&de.set(bl,xt.controller)}),Ct({fetchers:new Map(U.fetchers)});let Pa=()=>za.forEach(xt=>gn(xt.key));Re.signal.addEventListener("abort",Pa);let{loaderResults:La,fetcherResults:et}=await ml(Ka,za,Ht,ee);if(Re.signal.aborted)return;if(Re.signal.removeEventListener("abort",Pa),he.delete(D),de.delete(D),za.forEach(xt=>de.delete(xt.key)),U.fetchers.has(D)){let xt=ul(ut.data);U.fetchers.set(D,xt)}let nn=gd(La);if(nn)return ua(Ht,nn.result,!1,{preventScrollReset:De});if(nn=gd(et),nn)return Me.add(nn.key),ua(Ht,nn.result,!1,{preventScrollReset:De});let{loaderData:yl,errors:Ia}=ax(U,yn,La,void 0,za,et);v(Qn),U.navigation.state==="loading"&&Qn>q?(Pe(ae,"Expected pending action"),I&&I.abort(),Hn(U.navigation.location,{matches:yn,loaderData:yl,errors:Ia,fetchers:new Map(U.fetchers)})):(Ct({errors:Ia,loaderData:ox(U.loaderData,yl,yn,Ia),fetchers:new Map(U.fetchers)}),le=!1)}async function Fa(D,L,B,P,ee,Se,re,De,ge){let _e=U.fetchers.get(D);kn(D,Uu(ge,_e?_e.data:void 0),{flushSync:re});let Ae=new AbortController,Re=Pi(r.history,B,Ae.signal);if(Se){let ut=await zo(P,new URL(Re.url).pathname,Re.signal,D);if(ut.type==="aborted")return;if(ut.type==="error"){Rn(D,L,ut.error,{flushSync:re});return}else if(ut.matches)P=ut.matches;else{Rn(D,L,Oa(404,{pathname:B}),{flushSync:re});return}}let st=vd(P,B);de.set(D,Ae);let Ke=Ye,Et=Wi(d,p,Re,P,st,u,ee),tn=(await _a(Re,Et,ee,D))[st.route.id];if(de.get(D)===Ae&&de.delete(D),!Re.signal.aborted){if(Ft.has(D)){kn(D,ul(void 0));return}if(Zr(tn))if(q>Ke){kn(D,ul(void 0));return}else{Me.add(D),await ua(Re,tn,!1,{preventScrollReset:De});return}if(ra(tn)){Rn(D,L,tn.error);return}kn(D,ul(tn.data))}}async function ua(D,L,B,{submission:P,fetcherSubmission:ee,preventScrollReset:Se,replace:re}={}){B||(X?.resolve(),X=null),L.response.headers.has("X-Remix-Revalidate")&&(le=!0);let De=L.response.headers.get("Location");Pe(De,"Expected a Location header on the redirect Response"),De=tx(De,new URL(D.url),S,r.history);let ge=Gu(U.location,De,{_isRedirect:!0});if(s){let Et=!1;if(L.response.headers.has("X-Remix-Reload-Document"))Et=!0;else if(Ng(De)){const jt=zx(De,!0);Et=jt.origin!==l.location.origin||Ca(jt.pathname,S)==null}if(Et){re?l.location.replace(De):l.location.assign(De);return}}I=null;let _e=re===!0||L.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ae,formAction:Re,formEncType:st}=U.navigation;!P&&!ee&&Ae&&Re&&st&&(P=ix(U.navigation));let Ke=P||ee;if(PC.has(L.response.status)&&Ke&&xn(Ke.formMethod))await Nt(_e,ge,{submission:{...Ke,formAction:De},preventScrollReset:Se||Te,enableViewTransition:B?ce:void 0});else{let Et=bg(ge,P);await Nt(_e,ge,{overrideNavigation:Et,fetcherSubmission:ee,preventScrollReset:Se||Te,enableViewTransition:B?ce:void 0})}}async function _a(D,L,B,P){let ee,Se={};try{ee=await iN(R,D,L,P,B,!1)}catch(re){return L.filter(De=>De.shouldLoad).forEach(De=>{Se[De.route.id]={type:"error",error:re}}),Se}if(D.signal.aborted)return Se;if(!xn(D.method))for(let re of L){if(ee[re.route.id]?.type==="error")break;!ee.hasOwnProperty(re.route.id)&&!U.loaderData.hasOwnProperty(re.route.id)&&(!U.errors||!U.errors.hasOwnProperty(re.route.id))&&re.shouldCallHandler()&&(ee[re.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${re.route.id}`)})}for(let[re,De]of Object.entries(ee))if(yN(De)){let ge=De.result;Se[re]={type:"redirect",response:fN(ge,D,re,L,S)}}else Se[re]=await cN(De);return Se}async function ml(D,L,B,P){let ee=_a(B,D,P,null),Se=Promise.all(L.map(async ge=>{if(ge.matches&&ge.match&&ge.request&&ge.controller){let Ae=(await _a(ge.request,ge.matches,P,ge.key))[ge.match.route.id];return{[ge.key]:Ae}}else return Promise.resolve({[ge.key]:{type:"error",error:Oa(404,{pathname:ge.path})}})})),re=await ee,De=(await Se).reduce((ge,_e)=>Object.assign(ge,_e),{});return{loaderResults:re,fetcherResults:De}}function ca(){le=!0,we.forEach((D,L)=>{de.has(L)&&fe.add(L),gn(L)})}function kn(D,L,B={}){U.fetchers.set(D,L),Ct({fetchers:new Map(U.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function Rn(D,L,B,P={}){let ee=lr(U.matches,L);fa(D),Ct({errors:{[ee.route.id]:B},fetchers:new Map(U.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function gl(D){return pt.set(D,(pt.get(D)||0)+1),Ft.has(D)&&Ft.delete(D),U.fetchers.get(D)||IC}function _o(D,L){gn(D,L?.reason),kn(D,ul(null))}function fa(D){let L=U.fetchers.get(D);de.has(D)&&!(L&&L.state==="loading"&&he.has(D))&&gn(D),we.delete(D),he.delete(D),Me.delete(D),Ft.delete(D),fe.delete(D),U.fetchers.delete(D)}function Mo(D){let L=(pt.get(D)||0)-1;L<=0?(pt.delete(D),Ft.add(D)):pt.set(D,L),Ct({fetchers:new Map(U.fetchers)})}function gn(D,L){let B=de.get(D);B&&(B.abort(L),de.delete(D))}function Uo(D){for(let L of D){let B=gl(L),P=ul(B.data);U.fetchers.set(L,P)}}function Ma(){let D=[],L=!1;for(let B of Me){let P=U.fetchers.get(B);Pe(P,`Expected fetcher: ${B}`),P.state==="loading"&&(Me.delete(B),D.push(B),L=!0)}return Uo(D),L}function v(D){let L=[];for(let[B,P]of he)if(P<D){let ee=U.fetchers.get(B);Pe(ee,`Expected fetcher: ${B}`),ee.state==="loading"&&(gn(B),he.delete(B),L.push(B))}return Uo(L),L.length>0}function z(D,L){let B=U.blockers.get(D)||Mu;return rt.get(D)!==L&&rt.set(D,L),B}function F(D){U.blockers.delete(D),rt.delete(D)}function te(D,L){let B=U.blockers.get(D)||Mu;Pe(B.state==="unblocked"&&L.state==="blocked"||B.state==="blocked"&&L.state==="blocked"||B.state==="blocked"&&L.state==="proceeding"||B.state==="blocked"&&L.state==="unblocked"||B.state==="proceeding"&&L.state==="unblocked",`Invalid blocker state transition: ${B.state} -> ${L.state}`);let P=new Map(U.blockers);P.set(D,L),Ct({blockers:P})}function me({currentLocation:D,nextLocation:L,historyAction:B}){if(rt.size===0)return;rt.size>1&&Bt(!1,"A router only supports one blocker at a time");let P=Array.from(rt.entries()),[ee,Se]=P[P.length-1],re=U.blockers.get(ee);if(!(re&&re.state==="proceeding")&&Se({currentLocation:D,nextLocation:L,historyAction:B}))return ee}function je(D){let L=Oa(404,{pathname:D}),B=b||m,{matches:P,route:ee}=md(B);return{notFoundMatches:P,route:ee,error:L}}function ve(D,L,B){if(M=D,Y=L,Q=B||null,!J&&U.navigation===yg){J=!0;let P=en(U.location,U.matches);P!=null&&Ct({restoreScrollPosition:P})}return()=>{M=null,Y=null,Q=null}}function Ie(D,L){return Q&&Q(D,L.map(P=>RC(P,U.loaderData)))||D.key}function Be(D,L){if(M&&Y){let B=Ie(D,L);M[B]=Y()}}function en(D,L){if(M){let B=Ie(D,L),P=M[B];if(typeof P=="number")return P}return null}function Tn(D,L,B){if(r.patchRoutesOnNavigation)if(D){if(Object.keys(D[0].params).length>0)return{active:!0,matches:Vu(L,B,S,!0)}}else return{active:!0,matches:Vu(L,B,S,!0)||[]};return{active:!1,matches:null}}async function zo(D,L,B,P){if(!r.patchRoutesOnNavigation)return{type:"success",matches:D};let ee=D;for(;;){let Se=b==null,re=b||m,De=p;try{await r.patchRoutesOnNavigation({signal:B,path:L,matches:ee,fetcherKey:P,patch:(Ae,Re)=>{B.aborted||PE(Ae,Re,re,De,d,!1)}})}catch(Ae){return{type:"error",error:Ae,partialMatches:ee}}finally{Se&&!B.aborted&&(m=[...m])}if(B.aborted)return{type:"aborted"};let ge=or(re,L,S),_e=null;if(ge){if(Object.keys(ge[0].params).length===0)return{type:"success",matches:ge};if(_e=Vu(re,L,S,!0),!(_e&&ee.length<_e.length&&Lo(ee,_e.slice(0,ee.length))))return{type:"success",matches:ge}}if(_e||(_e=Vu(re,L,S,!0)),!_e||Lo(ee,_e))return{type:"success",matches:null};ee=_e}}function Lo(D,L){return D.length===L.length&&D.every((B,P)=>B.route.id===L[P].route.id)}function Kr(D){p={},b=Xu(D,d,void 0,p)}function Ua(D,L,B=!1){let P=b==null;PE(D,L,b||m,p,d,B),P&&(m=[...m],Ct({}))}return Le={get basename(){return S},get future(){return E},get state(){return U},get routes(){return m},get window(){return l},initialize:Na,subscribe:dl,enableScrollRestoration:ve,navigate:Aa,fetch:sa,revalidate:it,createHref:D=>r.history.createHref(D),encodeLocation:D=>r.history.encodeLocation(D),getFetcher:gl,resetFetcher:_o,deleteFetcher:Mo,dispose:ue,getBlocker:z,deleteBlocker:F,patchRoutes:Ua,_internalFetchControllers:de,_internalSetRoutes:Kr,_internalSetStateDoNotUseOrYouWillBreakYourApp(D){Ct(D)}},r.unstable_instrumentations&&(Le=qC(Le,r.unstable_instrumentations.map(D=>D.router).filter(Boolean))),Le}function tN(r){return r!=null&&("formData"in r&&r.formData!=null||"body"in r&&r.body!==void 0)}function Tg(r,l,s,u,f,d){let p,m;if(f){p=[];for(let S of l)if(p.push(S),S.route.id===f){m=S;break}}else p=l,m=l[l.length-1];let b=Ku(u||".",Od(p),Ca(r.pathname,s)||r.pathname,d==="path");if(u==null&&(b.search=r.search,b.hash=r.hash),(u==null||u===""||u===".")&&m){let S=Mg(b.search);if(m.route.index&&!S)b.search=b.search?b.search.replace(/^\?/,"?index&"):"?index";else if(!m.route.index&&S){let R=new URLSearchParams(b.search),E=R.getAll("index");R.delete("index"),E.filter(w=>w).forEach(w=>R.append("index",w));let x=R.toString();b.search=x?`?${x}`:""}}return s!=="/"&&(b.pathname=HC({basename:s,pathname:b.pathname})),Co(b)}function FE(r,l,s){if(!s||!tN(s))return{path:l};if(s.formMethod&&!SN(s.formMethod))return{path:l,error:Oa(405,{method:s.formMethod})};let u=()=>({path:l,error:Oa(400,{type:"invalid-body"})}),d=(s.formMethod||"get").toUpperCase(),p=Ix(l);if(s.body!==void 0){if(s.formEncType==="text/plain"){if(!xn(d))return u();let E=typeof s.body=="string"?s.body:s.body instanceof FormData||s.body instanceof URLSearchParams?Array.from(s.body.entries()).reduce((x,[w,M])=>`${x}${w}=${M}
236
+ `,""):String(s.body);return{path:l,submission:{formMethod:d,formAction:p,formEncType:s.formEncType,formData:void 0,json:void 0,text:E}}}else if(s.formEncType==="application/json"){if(!xn(d))return u();try{let E=typeof s.body=="string"?JSON.parse(s.body):s.body;return{path:l,submission:{formMethod:d,formAction:p,formEncType:s.formEncType,formData:void 0,json:E,text:void 0}}}catch{return u()}}}Pe(typeof FormData=="function","FormData is not available in this environment");let m,b;if(s.formData)m=Og(s.formData),b=s.formData;else if(s.body instanceof FormData)m=Og(s.body),b=s.body;else if(s.body instanceof URLSearchParams)m=s.body,b=nx(m);else if(s.body==null)m=new URLSearchParams,b=new FormData;else try{m=new URLSearchParams(s.body),b=nx(m)}catch{return u()}let S={formMethod:d,formAction:p,formEncType:s&&s.formEncType||"application/x-www-form-urlencoded",formData:b,json:void 0,text:void 0};if(xn(S.formMethod))return{path:l,submission:S};let R=fl(l);return r&&R.search&&Mg(R.search)&&m.append("index",""),R.search=`?${m}`,{path:Co(R),submission:S}}function KE(r,l,s,u,f,d,p,m,b,S,R,E,x,w,M,Q,Y,J,W,ie,Ee){let ye=ie?ra(ie[1])?ie[1].error:ie[1].data:void 0,Ve=f.createURL(d.location),Le=f.createURL(b),U;if(R&&d.errors){let Ne=Object.keys(d.errors)[0];U=p.findIndex(Z=>Z.route.id===Ne)}else if(ie&&ra(ie[1])){let Ne=ie[0];U=p.findIndex(Z=>Z.route.id===Ne)-1}let ae=ie?ie[1].statusCode:void 0,X=ae&&ae>=400,Te={currentUrl:Ve,currentParams:d.matches[0]?.params||{},nextUrl:Le,nextParams:p[0].params,...m,actionResult:ye,actionStatus:ae},I=Iu(p),ce=p.map((Ne,Z)=>{let{route:le}=Ne,fe=null;if(U!=null&&Z>U)fe=!1;else if(le.lazy)fe=!0;else if(!Ag(le))fe=!1;else if(R){let{shouldLoad:he}=Qx(le,d.loaderData,d.errors);fe=he}else nN(d.loaderData,d.matches[Z],Ne)&&(fe=!0);if(fe!==null)return Dg(s,u,r,I,Ne,S,l,fe);let de=!1;typeof Ee=="boolean"?de=Ee:X?de=!1:(E||Ve.pathname+Ve.search===Le.pathname+Le.search||Ve.search!==Le.search||aN(d.matches[Z],Ne))&&(de=!0);let Ye={...Te,defaultShouldRevalidate:de},q=Yu(Ne,Ye);return Dg(s,u,r,I,Ne,S,l,q,Ye,Ee)}),xe=[];return M.forEach((Ne,Z)=>{if(R||!p.some(we=>we.route.id===Ne.routeId)||w.has(Z))return;let le=d.fetchers.get(Z),fe=le&&le.state!=="idle"&&le.data===void 0,de=or(Y,Ne.path,J);if(!de){if(W&&fe)return;xe.push({key:Z,routeId:Ne.routeId,path:Ne.path,matches:null,match:null,request:null,controller:null});return}if(Q.has(Z))return;let Ye=vd(de,Ne.path),q=new AbortController,he=Pi(f,Ne.path,q.signal),Me=null;if(x.has(Z))x.delete(Z),Me=Wi(s,u,he,de,Ye,S,l);else if(fe)E&&(Me=Wi(s,u,he,de,Ye,S,l));else{let we;typeof Ee=="boolean"?we=Ee:X?we=!1:we=E;let pt={...Te,defaultShouldRevalidate:we};Yu(Ye,pt)&&(Me=Wi(s,u,he,de,Ye,S,l,pt))}Me&&xe.push({key:Z,routeId:Ne.routeId,path:Ne.path,matches:Me,match:Ye,request:he,controller:q})}),{dsMatches:ce,revalidatingFetchers:xe}}function Ag(r){return r.loader!=null||r.middleware!=null&&r.middleware.length>0}function Qx(r,l,s){if(r.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Ag(r))return{shouldLoad:!1,renderFallback:!1};let u=l!=null&&r.id in l,f=s!=null&&s[r.id]!==void 0;if(!u&&f)return{shouldLoad:!1,renderFallback:!1};if(typeof r.loader=="function"&&r.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!u};let d=!u&&!f;return{shouldLoad:d,renderFallback:d}}function nN(r,l,s){let u=!l||s.route.id!==l.route.id,f=!r.hasOwnProperty(s.route.id);return u||f}function aN(r,l){let s=r.route.path;return r.pathname!==l.pathname||s!=null&&s.endsWith("*")&&r.params["*"]!==l.params["*"]}function Yu(r,l){if(r.route.shouldRevalidate){let s=r.route.shouldRevalidate(l);if(typeof s=="boolean")return s}return l.defaultShouldRevalidate}function PE(r,l,s,u,f,d){let p;if(r){let S=u[r];Pe(S,`No route found to patch children into: routeId = ${r}`),S.children||(S.children=[]),p=S.children}else p=s;let m=[],b=[];if(l.forEach(S=>{let R=p.find(E=>Zx(S,E));R?b.push({existingRoute:R,newRoute:S}):m.push(S)}),m.length>0){let S=Xu(m,f,[r||"_","patch",String(p?.length||"0")],u);p.push(...S)}if(d&&b.length>0)for(let S=0;S<b.length;S++){let{existingRoute:R,newRoute:E}=b[S],x=R,[w]=Xu([E],f,[],{},!0);Object.assign(x,{element:w.element?w.element:x.element,errorElement:w.errorElement?w.errorElement:x.errorElement,hydrateFallbackElement:w.hydrateFallbackElement?w.hydrateFallbackElement:x.hydrateFallbackElement})}}function Zx(r,l){return"id"in r&&"id"in l&&r.id===l.id?!0:r.index===l.index&&r.path===l.path&&r.caseSensitive===l.caseSensitive?(!r.children||r.children.length===0)&&(!l.children||l.children.length===0)?!0:r.children?.every((s,u)=>l.children?.some(f=>Zx(s,f)))??!1:!1}var IE=new WeakMap,Jx=({key:r,route:l,manifest:s,mapRouteProperties:u})=>{let f=s[l.id];if(Pe(f,"No route found in manifest"),!f.lazy||typeof f.lazy!="object")return;let d=f.lazy[r];if(!d)return;let p=IE.get(f);p||(p={},IE.set(f,p));let m=p[r];if(m)return m;let b=(async()=>{let S=SC(r),E=f[r]!==void 0&&r!=="hasErrorBoundary";if(S)Bt(!S,"Route property "+r+" is not a supported lazy route property. This property will be ignored."),p[r]=Promise.resolve();else if(E)Bt(!1,`Route "${f.id}" has a static property "${r}" defined. The lazy property will be ignored.`);else{let x=await d();x!=null&&(Object.assign(f,{[r]:x}),Object.assign(f,u(f)))}typeof f.lazy=="object"&&(f.lazy[r]=void 0,Object.values(f.lazy).every(x=>x===void 0)&&(f.lazy=void 0))})();return p[r]=b,b},WE=new WeakMap;function oN(r,l,s,u,f){let d=s[r.id];if(Pe(d,"No route found in manifest"),!r.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof r.lazy=="function"){let R=WE.get(d);if(R)return{lazyRoutePromise:R,lazyHandlerPromise:R};let E=(async()=>{Pe(typeof r.lazy=="function","No lazy route function found");let x=await r.lazy(),w={};for(let M in x){let Q=x[M];if(Q===void 0)continue;let Y=xC(M),W=d[M]!==void 0&&M!=="hasErrorBoundary";Y?Bt(!Y,"Route property "+M+" is not a supported property to be returned from a lazy route function. This property will be ignored."):W?Bt(!W,`Route "${d.id}" has a static property "${M}" defined but its lazy function is also returning a value for this property. The lazy route property "${M}" will be ignored.`):w[M]=Q}Object.assign(d,w),Object.assign(d,{...u(d),lazy:void 0})})();return WE.set(d,E),E.catch(()=>{}),{lazyRoutePromise:E,lazyHandlerPromise:E}}let p=Object.keys(r.lazy),m=[],b;for(let R of p){if(f&&f.includes(R))continue;let E=Jx({key:R,route:r,manifest:s,mapRouteProperties:u});E&&(m.push(E),R===l&&(b=E))}let S=m.length>0?Promise.all(m).then(()=>{}):void 0;return S?.catch(()=>{}),b?.catch(()=>{}),{lazyRoutePromise:S,lazyHandlerPromise:b}}async function ex(r){let l=r.matches.filter(f=>f.shouldLoad),s={};return(await Promise.all(l.map(f=>f.resolve()))).forEach((f,d)=>{s[l[d].route.id]=f}),s}async function lN(r){return r.matches.some(l=>l.route.middleware)?Fx(r,()=>ex(r)):ex(r)}function Fx(r,l){return rN(r,l,u=>{if(vN(u))throw u;return u},mN,s);function s(u,f,d){if(d)return Promise.resolve(Object.assign(d.value,{[f]:{type:"error",result:u}}));{let{matches:p}=r,m=Math.min(Math.max(p.findIndex(S=>S.route.id===f),0),Math.max(p.findIndex(S=>S.shouldCallHandler()),0)),b=lr(p,p[m].route.id).route.id;return Promise.resolve({[b]:{type:"error",result:u}})}}}async function rN(r,l,s,u,f){let{matches:d,request:p,params:m,context:b,unstable_pattern:S}=r,R=d.flatMap(x=>x.route.middleware?x.route.middleware.map(w=>[x.route.id,w]):[]);return await Kx({request:p,params:m,context:b,unstable_pattern:S},R,l,s,u,f)}async function Kx(r,l,s,u,f,d,p=0){let{request:m}=r;if(m.signal.aborted)throw m.signal.reason??new Error(`Request aborted: ${m.method} ${m.url}`);let b=l[p];if(!b)return await s();let[S,R]=b,E,x=async()=>{if(E)throw new Error("You may only call `next()` once per middleware");try{return E={value:await Kx(r,l,s,u,f,d,p+1)},E.value}catch(w){return E={value:await d(w,S,E)},E.value}};try{let w=await R(r,x),M=w!=null?u(w):void 0;return f(M)?M:E?M??E.value:(E={value:await x()},E.value)}catch(w){return await d(w,S,E)}}function Px(r,l,s,u,f){let d=Jx({key:"middleware",route:u.route,manifest:l,mapRouteProperties:r}),p=oN(u.route,xn(s.method)?"action":"loader",l,r,f);return{middleware:d,route:p.lazyRoutePromise,handler:p.lazyHandlerPromise}}function Dg(r,l,s,u,f,d,p,m,b=null,S){let R=!1,E=Px(r,l,s,f,d);return{...f,_lazyPromises:E,shouldLoad:m,shouldRevalidateArgs:b,shouldCallHandler(x){return R=!0,b?typeof S=="boolean"?Yu(f,{...b,defaultShouldRevalidate:S}):typeof x=="boolean"?Yu(f,{...b,defaultShouldRevalidate:x}):Yu(f,b):m},resolve(x){let{lazy:w,loader:M,middleware:Q}=f.route,Y=R||m||x&&!xn(s.method)&&(w||M),J=Q&&Q.length>0&&!M&&!w;return Y&&(xn(s.method)||!J)?sN({request:s,unstable_pattern:u,match:f,lazyHandlerPromise:E?.handler,lazyRoutePromise:E?.route,handlerOverride:x,scopedContext:p}):Promise.resolve({type:"data",result:void 0})}}}function Wi(r,l,s,u,f,d,p,m=null){return u.map(b=>b.route.id!==f.route.id?{...b,shouldLoad:!1,shouldRevalidateArgs:m,shouldCallHandler:()=>!1,_lazyPromises:Px(r,l,s,b,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Dg(r,l,s,Iu(u),b,d,p,!0,m))}async function iN(r,l,s,u,f,d){s.some(S=>S._lazyPromises?.middleware)&&await Promise.all(s.map(S=>S._lazyPromises?.middleware));let p={request:l,unstable_pattern:Iu(s),params:s[0].params,context:f,matches:s},b=await r({...p,fetcherKey:u,runClientMiddleware:S=>{let R=p;return Fx(R,()=>S({...R,fetcherKey:u,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(S=>[S._lazyPromises?.handler,S._lazyPromises?.route]))}catch{}return b}async function sN({request:r,unstable_pattern:l,match:s,lazyHandlerPromise:u,lazyRoutePromise:f,handlerOverride:d,scopedContext:p}){let m,b,S=xn(r.method),R=S?"action":"loader",E=x=>{let w,M=new Promise((J,W)=>w=W);b=()=>w(),r.signal.addEventListener("abort",b);let Q=J=>typeof x!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${R}" [routeId: ${s.route.id}]`)):x({request:r,unstable_pattern:l,params:s.params,context:p},...J!==void 0?[J]:[]),Y=(async()=>{try{return{type:"data",result:await(d?d(W=>Q(W)):Q())}}catch(J){return{type:"error",result:J}}})();return Promise.race([Y,M])};try{let x=S?s.route.action:s.route.loader;if(u||f)if(x){let w,[M]=await Promise.all([E(x).catch(Q=>{w=Q}),u,f]);if(w!==void 0)throw w;m=M}else{await u;let w=S?s.route.action:s.route.loader;if(w)[m]=await Promise.all([E(w),f]);else if(R==="action"){let M=new URL(r.url),Q=M.pathname+M.search;throw Oa(405,{method:r.method,pathname:Q,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(x)m=await E(x);else{let w=new URL(r.url),M=w.pathname+w.search;throw Oa(404,{pathname:M})}}catch(x){return{type:"error",result:x}}finally{b&&r.signal.removeEventListener("abort",b)}return m}async function uN(r){let l=r.headers.get("Content-Type");return l&&/\bapplication\/json\b/.test(l)?r.body==null?null:r.json():r.text()}async function cN(r){let{result:l,type:s}=r;if(_g(l)){let u;try{u=await uN(l)}catch(f){return{type:"error",error:f}}return s==="error"?{type:"error",error:new Pu(l.status,l.statusText,u),statusCode:l.status,headers:l.headers}:{type:"data",data:u,statusCode:l.status,headers:l.headers}}return s==="error"?rx(l)?l.data instanceof Error?{type:"error",error:l.data,statusCode:l.init?.status,headers:l.init?.headers?new Headers(l.init.headers):void 0}:{type:"error",error:pN(l),statusCode:Qu(l)?l.status:void 0,headers:l.init?.headers?new Headers(l.init.headers):void 0}:{type:"error",error:l,statusCode:Qu(l)?l.status:void 0}:rx(l)?{type:"data",data:l.data,statusCode:l.init?.status,headers:l.init?.headers?new Headers(l.init.headers):void 0}:{type:"data",data:l}}function fN(r,l,s,u,f){let d=r.headers.get("Location");if(Pe(d,"Redirects returned/thrown from loaders/actions must have a Location header"),!Ng(d)){let p=u.slice(0,u.findIndex(m=>m.route.id===s)+1);d=Tg(new URL(l.url),p,f,d),r.headers.set("Location",d)}return r}function tx(r,l,s,u){let f=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(Ng(r)){let d=r,p=d.startsWith("//")?new URL(l.protocol+d):new URL(d);if(f.includes(p.protocol))throw new Error("Invalid redirect location");let m=Ca(p.pathname,s)!=null;if(p.origin===l.origin&&m)return p.pathname+p.search+p.hash}try{let d=u.createURL(r);if(f.includes(d.protocol))throw new Error("Invalid redirect location")}catch{}return r}function Pi(r,l,s,u){let f=r.createURL(Ix(l)).toString(),d={signal:s};if(u&&xn(u.formMethod)){let{formMethod:p,formEncType:m}=u;d.method=p.toUpperCase(),m==="application/json"?(d.headers=new Headers({"Content-Type":m}),d.body=JSON.stringify(u.json)):m==="text/plain"?d.body=u.text:m==="application/x-www-form-urlencoded"&&u.formData?d.body=Og(u.formData):d.body=u.formData}return new Request(f,d)}function Og(r){let l=new URLSearchParams;for(let[s,u]of r.entries())l.append(s,typeof u=="string"?u:u.name);return l}function nx(r){let l=new FormData;for(let[s,u]of r.entries())l.append(s,u);return l}function dN(r,l,s,u=!1,f=!1){let d={},p=null,m,b=!1,S={},R=s&&ra(s[1])?s[1].error:void 0;return r.forEach(E=>{if(!(E.route.id in l))return;let x=E.route.id,w=l[x];if(Pe(!Zr(w),"Cannot handle redirect results in processLoaderData"),ra(w)){let M=w.error;if(R!==void 0&&(M=R,R=void 0),p=p||{},f)p[x]=M;else{let Q=lr(r,x);p[Q.route.id]==null&&(p[Q.route.id]=M)}u||(d[x]=Xx),b||(b=!0,m=Qu(w.error)?w.error.status:500),w.headers&&(S[x]=w.headers)}else d[x]=w.data,w.statusCode&&w.statusCode!==200&&!b&&(m=w.statusCode),w.headers&&(S[x]=w.headers)}),R!==void 0&&s&&(p={[s[0]]:R},s[2]&&(d[s[2]]=void 0)),{loaderData:d,errors:p,statusCode:m||200,loaderHeaders:S}}function ax(r,l,s,u,f,d){let{loaderData:p,errors:m}=dN(l,s,u);return f.filter(b=>!b.matches||b.matches.some(S=>S.shouldLoad)).forEach(b=>{let{key:S,match:R,controller:E}=b;if(E&&E.signal.aborted)return;let x=d[S];if(Pe(x,"Did not find corresponding fetcher result"),ra(x)){let w=lr(r.matches,R?.route.id);m&&m[w.route.id]||(m={...m,[w.route.id]:x.error}),r.fetchers.delete(S)}else if(Zr(x))Pe(!1,"Unhandled fetcher revalidation redirect");else{let w=ul(x.data);r.fetchers.set(S,w)}}),{loaderData:p,errors:m}}function ox(r,l,s,u){let f=Object.entries(l).filter(([,d])=>d!==Xx).reduce((d,[p,m])=>(d[p]=m,d),{});for(let d of s){let p=d.route.id;if(!l.hasOwnProperty(p)&&r.hasOwnProperty(p)&&d.route.loader&&(f[p]=r[p]),u&&u.hasOwnProperty(p))break}return f}function lx(r){return r?ra(r[1])?{actionData:{}}:{actionData:{[r[0]]:r[1].data}}:{}}function lr(r,l){return(l?r.slice(0,r.findIndex(u=>u.route.id===l)+1):[...r]).reverse().find(u=>u.route.hasErrorBoundary===!0)||r[0]}function md(r){let l=r.length===1?r[0]:r.find(s=>s.index||!s.path||s.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:l}],route:l}}function Oa(r,{pathname:l,routeId:s,method:u,type:f,message:d}={}){let p="Unknown Server Error",m="Unknown @remix-run/router error";return r===400?(p="Bad Request",u&&l&&s?m=`You made a ${u} request to "${l}" but did not provide a \`loader\` for route "${s}", so there is no way to handle the request.`:f==="invalid-body"&&(m="Unable to encode submission body")):r===403?(p="Forbidden",m=`Route "${s}" does not match URL "${l}"`):r===404?(p="Not Found",m=`No route matches URL "${l}"`):r===405&&(p="Method Not Allowed",u&&l&&s?m=`You made a ${u.toUpperCase()} request to "${l}" but did not provide an \`action\` for route "${s}", so there is no way to handle the request.`:u&&(m=`Invalid request method "${u.toUpperCase()}"`)),new Pu(r||500,p,new Error(m),!0)}function gd(r){let l=Object.entries(r);for(let s=l.length-1;s>=0;s--){let[u,f]=l[s];if(Zr(f))return{key:u,result:f}}}function Ix(r){let l=typeof r=="string"?fl(r):r;return Co({...l,hash:""})}function hN(r,l){return r.pathname!==l.pathname||r.search!==l.search?!1:r.hash===""?l.hash!=="":r.hash===l.hash?!0:l.hash!==""}function pN(r){return new Pu(r.init?.status??500,r.init?.statusText??"Internal Server Error",r.data)}function mN(r){return r!=null&&typeof r=="object"&&Object.entries(r).every(([l,s])=>typeof l=="string"&&gN(s))}function gN(r){return r!=null&&typeof r=="object"&&"type"in r&&"result"in r&&(r.type==="data"||r.type==="error")}function yN(r){return _g(r.result)&&qx.has(r.result.status)}function ra(r){return r.type==="error"}function Zr(r){return(r&&r.type)==="redirect"}function rx(r){return typeof r=="object"&&r!=null&&"type"in r&&"data"in r&&"init"in r&&r.type==="DataWithResponseInit"}function _g(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.headers=="object"&&typeof r.body<"u"}function bN(r){return qx.has(r)}function vN(r){return _g(r)&&bN(r.status)&&r.headers.has("Location")}function SN(r){return KC.has(r.toUpperCase())}function xn(r){return JC.has(r.toUpperCase())}function Mg(r){return new URLSearchParams(r).getAll("index").some(l=>l==="")}function vd(r,l){let s=typeof l=="string"?fl(l).search:l.search;if(r[r.length-1].route.index&&Mg(s||""))return r[r.length-1];let u=kx(r);return u[u.length-1]}function ix(r){let{formMethod:l,formAction:s,formEncType:u,text:f,formData:d,json:p}=r;if(!(!l||!s||!u)){if(f!=null)return{formMethod:l,formAction:s,formEncType:u,formData:void 0,json:void 0,text:f};if(d!=null)return{formMethod:l,formAction:s,formEncType:u,formData:d,json:void 0,text:void 0};if(p!==void 0)return{formMethod:l,formAction:s,formEncType:u,formData:void 0,json:p,text:void 0}}}function bg(r,l){return l?{state:"loading",location:r,formMethod:l.formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text}:{state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function EN(r,l){return{state:"submitting",location:r,formMethod:l.formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text}}function Uu(r,l){return r?{state:"loading",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:l}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:l}}function xN(r,l){return{state:"submitting",formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text,data:l?l.data:void 0}}function ul(r){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function wN(r,l){try{let s=r.sessionStorage.getItem(Gx);if(s){let u=JSON.parse(s);for(let[f,d]of Object.entries(u||{}))d&&Array.isArray(d)&&l.set(f,new Set(d||[]))}}catch{}}function RN(r,l){if(l.size>0){let s={};for(let[u,f]of l)s[u]=[...f];try{r.sessionStorage.setItem(Gx,JSON.stringify(s))}catch(u){Bt(!1,`Failed to save applied view transitions in sessionStorage (${u}).`)}}}function sx(){let r,l,s=new Promise((u,f)=>{r=async d=>{u(d);try{await s}catch{}},l=async d=>{f(d);try{await s}catch{}}});return{promise:s,resolve:r,reject:l}}var Fr=j.createContext(null);Fr.displayName="DataRouter";var Wu=j.createContext(null);Wu.displayName="DataRouterState";var Wx=j.createContext(!1);function TN(){return j.useContext(Wx)}var Ug=j.createContext({isTransitioning:!1});Ug.displayName="ViewTransition";var ew=j.createContext(new Map);ew.displayName="Fetchers";var DN=j.createContext(null);DN.displayName="Await";var ia=j.createContext(null);ia.displayName="Navigation";var Cd=j.createContext(null);Cd.displayName="Location";var Ja=j.createContext({outlet:null,matches:[],isDataRoute:!1});Ja.displayName="Route";var zg=j.createContext(null);zg.displayName="RouteError";var tw="REACT_ROUTER_ERROR",ON="REDIRECT",CN="ROUTE_ERROR_RESPONSE";function NN(r){if(r.startsWith(`${tw}:${ON}:{`))try{let l=JSON.parse(r.slice(28));if(typeof l=="object"&&l&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.location=="string"&&typeof l.reloadDocument=="boolean"&&typeof l.replace=="boolean")return l}catch{}}function AN(r){if(r.startsWith(`${tw}:${CN}:{`))try{let l=JSON.parse(r.slice(40));if(typeof l=="object"&&l&&typeof l.status=="number"&&typeof l.statusText=="string")return new Pu(l.status,l.statusText,l.data)}catch{}}function _N(r,{relative:l}={}){Pe(es(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:u}=j.useContext(ia),{hash:f,pathname:d,search:p}=ec(r,{relative:l}),m=d;return s!=="/"&&(m=d==="/"?s:Za([s,d])),u.createHref({pathname:m,search:p,hash:f})}function es(){return j.useContext(Cd)!=null}function No(){return Pe(es(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(Cd).location}var nw="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function aw(r){j.useContext(ia).static||j.useLayoutEffect(r)}function Lg(){let{isDataRoute:r}=j.useContext(Ja);return r?QN():MN()}function MN(){Pe(es(),"useNavigate() may be used only in the context of a <Router> component.");let r=j.useContext(Fr),{basename:l,navigator:s}=j.useContext(ia),{matches:u}=j.useContext(Ja),{pathname:f}=No(),d=JSON.stringify(Od(u)),p=j.useRef(!1);return aw(()=>{p.current=!0}),j.useCallback((b,S={})=>{if(Bt(p.current,nw),!p.current)return;if(typeof b=="number"){s.go(b);return}let R=Ku(b,JSON.parse(d),f,S.relative==="path");r==null&&l!=="/"&&(R.pathname=R.pathname==="/"?l:Za([l,R.pathname])),(S.replace?s.replace:s.push)(R,S.state,S)},[l,s,d,f,r])}var UN=j.createContext(null);function zN(r){let l=j.useContext(Ja).outlet;return j.useMemo(()=>l&&j.createElement(UN.Provider,{value:r},l),[l,r])}function ec(r,{relative:l}={}){let{matches:s}=j.useContext(Ja),{pathname:u}=No(),f=JSON.stringify(Od(s));return j.useMemo(()=>Ku(r,JSON.parse(f),u,l==="path"),[r,f,u,l])}function LN(r,l,s){Pe(es(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=j.useContext(ia),{matches:f}=j.useContext(Ja),d=f[f.length-1],p=d?d.params:{},m=d?d.pathname:"/",b=d?d.pathnameBase:"/",S=d&&d.route;{let Y=S&&S.path||"";lw(m,!S||Y.endsWith("*")||Y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${Y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
237
+
238
+ Please change the parent <Route path="${Y}"> to <Route path="${Y==="/"?"*":`${Y}/*`}">.`)}let R=No(),E;E=R;let x=E.pathname||"/",w=x;if(b!=="/"){let Y=b.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(Y.length).join("/")}let M=or(r,{pathname:w});return Bt(S||M!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Bt(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),BN(M&&M.map(Y=>Object.assign({},Y,{params:Object.assign({},p,Y.params),pathname:Za([b,u.encodeLocation?u.encodeLocation(Y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Y.pathname]),pathnameBase:Y.pathnameBase==="/"?b:Za([b,u.encodeLocation?u.encodeLocation(Y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Y.pathnameBase])})),f,s)}function jN(){let r=XN(),l=Qu(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,u="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:u},d={padding:"2px 4px",backgroundColor:u},p=null;return console.error("Error handled by React Router default ErrorBoundary:",r),p=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:d},"ErrorBoundary")," or"," ",j.createElement("code",{style:d},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},l),s?j.createElement("pre",{style:f},s):null,p)}var HN=j.createElement(jN,null),ow=class extends j.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,l){return l.location!==r.location||l.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:l.error,location:l.location,revalidation:r.revalidation||l.revalidation}}componentDidCatch(r,l){this.props.onError?this.props.onError(r,l):console.error("React Router caught the following error during render",r)}render(){let r=this.state.error;if(this.context&&typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){const s=AN(r.digest);s&&(r=s)}let l=r!==void 0?j.createElement(Ja.Provider,{value:this.props.routeContext},j.createElement(zg.Provider,{value:r,children:this.props.component})):this.props.children;return this.context?j.createElement(kN,{error:r},l):l}};ow.contextType=Wx;var vg=new WeakMap;function kN({children:r,error:l}){let{basename:s}=j.useContext(ia);if(typeof l=="object"&&l&&"digest"in l&&typeof l.digest=="string"){let u=NN(l.digest);if(u){let f=vg.get(l);if(f)throw f;let d=Bx(u.location,s);if(Vx&&!vg.get(l))if(d.isExternal||u.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:u.replace}));throw vg.set(l,p),p}return j.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return r}function VN({routeContext:r,match:l,children:s}){let u=j.useContext(Fr);return u&&u.static&&u.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=l.route.id),j.createElement(Ja.Provider,{value:r},s)}function BN(r,l=[],s){let u=s?.state;if(r==null){if(!u)return null;if(u.errors)r=u.matches;else if(l.length===0&&!u.initialized&&u.matches.length>0)r=u.matches;else return null}let f=r,d=u?.errors;if(d!=null){let R=f.findIndex(E=>E.route.id&&d?.[E.route.id]!==void 0);Pe(R>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),f=f.slice(0,Math.min(f.length,R+1))}let p=!1,m=-1;if(s&&u){p=u.renderFallback;for(let R=0;R<f.length;R++){let E=f[R];if((E.route.HydrateFallback||E.route.hydrateFallbackElement)&&(m=R),E.route.id){let{loaderData:x,errors:w}=u,M=E.route.loader&&!x.hasOwnProperty(E.route.id)&&(!w||w[E.route.id]===void 0);if(E.route.lazy||M){s.isStatic&&(p=!0),m>=0?f=f.slice(0,m+1):f=[f[0]];break}}}}let b=s?.onError,S=u&&b?(R,E)=>{b(R,{location:u.location,params:u.matches?.[0]?.params??{},unstable_pattern:Iu(u.matches),errorInfo:E})}:void 0;return f.reduceRight((R,E,x)=>{let w,M=!1,Q=null,Y=null;u&&(w=d&&E.route.id?d[E.route.id]:void 0,Q=E.route.errorElement||HN,p&&(m<0&&x===0?(lw("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,Y=null):m===x&&(M=!0,Y=E.route.hydrateFallbackElement||null)));let J=l.concat(f.slice(0,x+1)),W=()=>{let ie;return w?ie=Q:M?ie=Y:E.route.Component?ie=j.createElement(E.route.Component,null):E.route.element?ie=E.route.element:ie=R,j.createElement(VN,{match:E,routeContext:{outlet:R,matches:J,isDataRoute:u!=null},children:ie})};return u&&(E.route.ErrorBoundary||E.route.errorElement||x===0)?j.createElement(ow,{location:u.location,revalidation:u.revalidation,component:Q,error:w,children:W(),routeContext:{outlet:null,matches:J,isDataRoute:!0},onError:S}):W()},null)}function jg(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function $N(r){let l=j.useContext(Fr);return Pe(l,jg(r)),l}function YN(r){let l=j.useContext(Wu);return Pe(l,jg(r)),l}function qN(r){let l=j.useContext(Ja);return Pe(l,jg(r)),l}function Hg(r){let l=qN(r),s=l.matches[l.matches.length-1];return Pe(s.route.id,`${r} can only be used on routes that contain a unique "id"`),s.route.id}function GN(){return Hg("useRouteId")}function XN(){let r=j.useContext(zg),l=YN("useRouteError"),s=Hg("useRouteError");return r!==void 0?r:l.errors?.[s]}function QN(){let{router:r}=$N("useNavigate"),l=Hg("useNavigate"),s=j.useRef(!1);return aw(()=>{s.current=!0}),j.useCallback(async(f,d={})=>{Bt(s.current,nw),s.current&&(typeof f=="number"?await r.navigate(f):await r.navigate(f,{fromRouteId:l,...d}))},[r,l])}var ux={};function lw(r,l,s){!l&&!ux[r]&&(ux[r]=!0,Bt(!1,s))}var cx={};function fx(r,l){!r&&!cx[l]&&(cx[l]=!0,console.warn(l))}var ZN="useOptimistic",dx=wO[ZN],JN=()=>{};function FN(r){return dx?dx(r):[r,JN]}function KN(r){let l={hasErrorBoundary:r.hasErrorBoundary||r.ErrorBoundary!=null||r.errorElement!=null};return r.Component&&(r.element&&Bt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(l,{element:j.createElement(r.Component),Component:void 0})),r.HydrateFallback&&(r.hydrateFallbackElement&&Bt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(l,{hydrateFallbackElement:j.createElement(r.HydrateFallback),HydrateFallback:void 0})),r.ErrorBoundary&&(r.errorElement&&Bt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(l,{errorElement:j.createElement(r.ErrorBoundary),ErrorBoundary:void 0})),l}var PN=["HydrateFallback","hydrateFallbackElement"],IN=class{constructor(){this.status="pending",this.promise=new Promise((r,l)=>{this.resolve=s=>{this.status==="pending"&&(this.status="resolved",r(s))},this.reject=s=>{this.status==="pending"&&(this.status="rejected",l(s))}})}};function WN({router:r,flushSync:l,onError:s,unstable_useTransitions:u}){u=TN()||u;let[d,p]=j.useState(r.state),[m,b]=FN(d),[S,R]=j.useState(),[E,x]=j.useState({isTransitioning:!1}),[w,M]=j.useState(),[Q,Y]=j.useState(),[J,W]=j.useState(),ie=j.useRef(new Map),Ee=j.useCallback((U,{deletedFetchers:ae,newErrors:X,flushSync:Te,viewTransitionOpts:I})=>{X&&s&&Object.values(X).forEach(xe=>s(xe,{location:U.location,params:U.matches[0]?.params??{},unstable_pattern:Iu(U.matches)})),U.fetchers.forEach((xe,Ne)=>{xe.data!==void 0&&ie.current.set(Ne,xe.data)}),ae.forEach(xe=>ie.current.delete(xe)),fx(Te===!1||l!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ce=r.window!=null&&r.window.document!=null&&typeof r.window.document.startViewTransition=="function";if(fx(I==null||ce,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!I||!ce){l&&Te?l(()=>p(U)):u===!1?p(U):j.startTransition(()=>{u===!0&&b(xe=>hx(xe,U)),p(U)});return}if(l&&Te){l(()=>{Q&&(w?.resolve(),Q.skipTransition()),x({isTransitioning:!0,flushSync:!0,currentLocation:I.currentLocation,nextLocation:I.nextLocation})});let xe=r.window.document.startViewTransition(()=>{l(()=>p(U))});xe.finished.finally(()=>{l(()=>{M(void 0),Y(void 0),R(void 0),x({isTransitioning:!1})})}),l(()=>Y(xe));return}Q?(w?.resolve(),Q.skipTransition(),W({state:U,currentLocation:I.currentLocation,nextLocation:I.nextLocation})):(R(U),x({isTransitioning:!0,flushSync:!1,currentLocation:I.currentLocation,nextLocation:I.nextLocation}))},[r.window,l,Q,w,u,b,s]);j.useLayoutEffect(()=>r.subscribe(Ee),[r,Ee]),j.useEffect(()=>{E.isTransitioning&&!E.flushSync&&M(new IN)},[E]),j.useEffect(()=>{if(w&&S&&r.window){let U=S,ae=w.promise,X=r.window.document.startViewTransition(async()=>{u===!1?p(U):j.startTransition(()=>{u===!0&&b(Te=>hx(Te,U)),p(U)}),await ae});X.finished.finally(()=>{M(void 0),Y(void 0),R(void 0),x({isTransitioning:!1})}),Y(X)}},[S,w,r.window,u,b]),j.useEffect(()=>{w&&S&&m.location.key===S.location.key&&w.resolve()},[w,Q,m.location,S]),j.useEffect(()=>{!E.isTransitioning&&J&&(R(J.state),x({isTransitioning:!0,flushSync:!1,currentLocation:J.currentLocation,nextLocation:J.nextLocation}),W(void 0))},[E.isTransitioning,J]);let ye=j.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:U=>r.navigate(U),push:(U,ae,X)=>r.navigate(U,{state:ae,preventScrollReset:X?.preventScrollReset}),replace:(U,ae,X)=>r.navigate(U,{replace:!0,state:ae,preventScrollReset:X?.preventScrollReset})}),[r]),Ve=r.basename||"/",Le=j.useMemo(()=>({router:r,navigator:ye,static:!1,basename:Ve,onError:s}),[r,ye,Ve,s]);return j.createElement(j.Fragment,null,j.createElement(Fr.Provider,{value:Le},j.createElement(Wu.Provider,{value:m},j.createElement(ew.Provider,{value:ie.current},j.createElement(Ug.Provider,{value:E},j.createElement(nA,{basename:Ve,location:m.location,navigationType:m.historyAction,navigator:ye,unstable_useTransitions:u},j.createElement(eA,{routes:r.routes,future:r.future,state:m,isStatic:!1,onError:s})))))),null)}function hx(r,l){return{...r,navigation:l.navigation.state!=="idle"?l.navigation:r.navigation,revalidation:l.revalidation!=="idle"?l.revalidation:r.revalidation,actionData:l.navigation.state!=="submitting"?l.actionData:r.actionData,fetchers:l.fetchers}}var eA=j.memo(tA);function tA({routes:r,future:l,state:s,isStatic:u,onError:f}){return LN(r,void 0,{state:s,isStatic:u,onError:f})}function px({to:r,replace:l,state:s,relative:u}){Pe(es(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=j.useContext(ia);Bt(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:d}=j.useContext(Ja),{pathname:p}=No(),m=Lg(),b=Ku(r,Od(d),p,u==="path"),S=JSON.stringify(b);return j.useEffect(()=>{m(JSON.parse(S),{replace:l,state:s,relative:u})},[m,S,u,l,s]),null}function rw(r){return zN(r.context)}function nA({basename:r="/",children:l=null,location:s,navigationType:u="POP",navigator:f,static:d=!1,unstable_useTransitions:p}){Pe(!es(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=r.replace(/^\/*/,"/"),b=j.useMemo(()=>({basename:m,navigator:f,static:d,unstable_useTransitions:p,future:{}}),[m,f,d,p]);typeof s=="string"&&(s=fl(s));let{pathname:S="/",search:R="",hash:E="",state:x=null,key:w="default",unstable_mask:M}=s,Q=j.useMemo(()=>{let Y=Ca(S,m);return Y==null?null:{location:{pathname:Y,search:R,hash:E,state:x,key:w,unstable_mask:M},navigationType:u}},[m,S,R,E,x,w,u,M]);return Bt(Q!=null,`<Router basename="${m}"> is not able to match the URL "${S}${R}${E}" because it does not start with the basename, so the <Router> won't render anything.`),Q==null?null:j.createElement(ia.Provider,{value:b},j.createElement(Cd.Provider,{children:l,value:Q}))}var Sd="get",Ed="application/x-www-form-urlencoded";function Nd(r){return typeof HTMLElement<"u"&&r instanceof HTMLElement}function aA(r){return Nd(r)&&r.tagName.toLowerCase()==="button"}function oA(r){return Nd(r)&&r.tagName.toLowerCase()==="form"}function lA(r){return Nd(r)&&r.tagName.toLowerCase()==="input"}function rA(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function iA(r,l){return r.button===0&&(!l||l==="_self")&&!rA(r)}var yd=null;function sA(){if(yd===null)try{new FormData(document.createElement("form"),0),yd=!1}catch{yd=!0}return yd}var uA=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Sg(r){return r!=null&&!uA.has(r)?(Bt(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ed}"`),null):r}function cA(r,l){let s,u,f,d,p;if(oA(r)){let m=r.getAttribute("action");u=m?Ca(m,l):null,s=r.getAttribute("method")||Sd,f=Sg(r.getAttribute("enctype"))||Ed,d=new FormData(r)}else if(aA(r)||lA(r)&&(r.type==="submit"||r.type==="image")){let m=r.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=r.getAttribute("formaction")||m.getAttribute("action");if(u=b?Ca(b,l):null,s=r.getAttribute("formmethod")||m.getAttribute("method")||Sd,f=Sg(r.getAttribute("formenctype"))||Sg(m.getAttribute("enctype"))||Ed,d=new FormData(m,r),!sA()){let{name:S,type:R,value:E}=r;if(R==="image"){let x=S?`${S}.`:"";d.append(`${x}x`,"0"),d.append(`${x}y`,"0")}else S&&d.append(S,E)}}else{if(Nd(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Sd,u=null,f=Ed,p=r}return d&&f==="text/plain"&&(p=d,d=void 0),{action:u,method:s.toLowerCase(),encType:f,formData:d,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function kg(r,l){if(r===!1||r===null||typeof r>"u")throw new Error(l)}function fA(r,l,s,u){let f=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return s?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${u}`:f.pathname=`${f.pathname}.${u}`:f.pathname==="/"?f.pathname=`_root.${u}`:l&&Ca(f.pathname,l)==="/"?f.pathname=`${l.replace(/\/$/,"")}/_root.${u}`:f.pathname=`${f.pathname.replace(/\/$/,"")}.${u}`,f}async function dA(r,l){if(r.id in l)return l[r.id];try{let s=await import(r.module);return l[r.id]=s,s}catch(s){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function hA(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function pA(r,l,s){let u=await Promise.all(r.map(async f=>{let d=l.routes[f.route.id];if(d){let p=await dA(d,s);return p.links?p.links():[]}return[]}));return bA(u.flat(1).filter(hA).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function mx(r,l,s,u,f,d){let p=(b,S)=>s[S]?b.route.id!==s[S].route.id:!0,m=(b,S)=>s[S].pathname!==b.pathname||s[S].route.path?.endsWith("*")&&s[S].params["*"]!==b.params["*"];return d==="assets"?l.filter((b,S)=>p(b,S)||m(b,S)):d==="data"?l.filter((b,S)=>{let R=u.routes[b.route.id];if(!R||!R.hasLoader)return!1;if(p(b,S)||m(b,S))return!0;if(b.route.shouldRevalidate){let E=b.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(r,window.origin),nextParams:b.params,defaultShouldRevalidate:!0});if(typeof E=="boolean")return E}return!0}):[]}function mA(r,l,{includeHydrateFallback:s}={}){return gA(r.map(u=>{let f=l.routes[u.route.id];if(!f)return[];let d=[f.module];return f.clientActionModule&&(d=d.concat(f.clientActionModule)),f.clientLoaderModule&&(d=d.concat(f.clientLoaderModule)),s&&f.hydrateFallbackModule&&(d=d.concat(f.hydrateFallbackModule)),f.imports&&(d=d.concat(f.imports)),d}).flat(1))}function gA(r){return[...new Set(r)]}function yA(r){let l={},s=Object.keys(r).sort();for(let u of s)l[u]=r[u];return l}function bA(r,l){let s=new Set;return new Set(l),r.reduce((u,f)=>{let d=JSON.stringify(yA(f));return s.has(d)||(s.add(d),u.push({key:d,link:f})),u},[])}function iw(){let r=j.useContext(Fr);return kg(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function vA(){let r=j.useContext(Wu);return kg(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var Vg=j.createContext(void 0);Vg.displayName="FrameworkContext";function sw(){let r=j.useContext(Vg);return kg(r,"You must render this element inside a <HydratedRouter> element"),r}function SA(r,l){let s=j.useContext(Vg),[u,f]=j.useState(!1),[d,p]=j.useState(!1),{onFocus:m,onBlur:b,onMouseEnter:S,onMouseLeave:R,onTouchStart:E}=l,x=j.useRef(null);j.useEffect(()=>{if(r==="render"&&p(!0),r==="viewport"){let Q=J=>{J.forEach(W=>{p(W.isIntersecting)})},Y=new IntersectionObserver(Q,{threshold:.5});return x.current&&Y.observe(x.current),()=>{Y.disconnect()}}},[r]),j.useEffect(()=>{if(u){let Q=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(Q)}}},[u]);let w=()=>{f(!0)},M=()=>{f(!1),p(!1)};return s?r!=="intent"?[d,x,{}]:[d,x,{onFocus:zu(m,w),onBlur:zu(b,M),onMouseEnter:zu(S,w),onMouseLeave:zu(R,M),onTouchStart:zu(E,w)}]:[!1,x,{}]}function zu(r,l){return s=>{r&&r(s),s.defaultPrevented||l(s)}}function EA({page:r,...l}){let{router:s}=iw(),u=j.useMemo(()=>or(s.routes,r,s.basename),[s.routes,r,s.basename]);return u?j.createElement(wA,{page:r,matches:u,...l}):null}function xA(r){let{manifest:l,routeModules:s}=sw(),[u,f]=j.useState([]);return j.useEffect(()=>{let d=!1;return pA(r,l,s).then(p=>{d||f(p)}),()=>{d=!0}},[r,l,s]),u}function wA({page:r,matches:l,...s}){let u=No(),{future:f,manifest:d,routeModules:p}=sw(),{basename:m}=iw(),{loaderData:b,matches:S}=vA(),R=j.useMemo(()=>mx(r,l,S,d,u,"data"),[r,l,S,d,u]),E=j.useMemo(()=>mx(r,l,S,d,u,"assets"),[r,l,S,d,u]),x=j.useMemo(()=>{if(r===u.pathname+u.search+u.hash)return[];let Q=new Set,Y=!1;if(l.forEach(W=>{let ie=d.routes[W.route.id];!ie||!ie.hasLoader||(!R.some(Ee=>Ee.route.id===W.route.id)&&W.route.id in b&&p[W.route.id]?.shouldRevalidate||ie.hasClientLoader?Y=!0:Q.add(W.route.id))}),Q.size===0)return[];let J=fA(r,m,f.unstable_trailingSlashAwareDataRequests,"data");return Y&&Q.size>0&&J.searchParams.set("_routes",l.filter(W=>Q.has(W.route.id)).map(W=>W.route.id).join(",")),[J.pathname+J.search]},[m,f.unstable_trailingSlashAwareDataRequests,b,u,d,R,l,r,p]),w=j.useMemo(()=>mA(E,d),[E,d]),M=xA(E);return j.createElement(j.Fragment,null,x.map(Q=>j.createElement("link",{key:Q,rel:"prefetch",as:"fetch",href:Q,...s})),w.map(Q=>j.createElement("link",{key:Q,rel:"modulepreload",href:Q,...s})),M.map(({key:Q,link:Y})=>j.createElement("link",{key:Q,nonce:s.nonce,...Y,crossOrigin:Y.crossOrigin??s.crossOrigin})))}function RA(...r){return l=>{r.forEach(s=>{typeof s=="function"?s(l):s!=null&&(s.current=l)})}}var TA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{TA&&(window.__reactRouterVersion="7.13.1")}catch{}function DA(r,l){return eN({basename:l?.basename,getContext:l?.getContext,future:l?.future,history:gC({window:l?.window}),hydrationData:OA(),routes:r,mapRouteProperties:KN,hydrationRouteProperties:PN,dataStrategy:l?.dataStrategy,patchRoutesOnNavigation:l?.patchRoutesOnNavigation,window:l?.window,unstable_instrumentations:l?.unstable_instrumentations}).initialize()}function OA(){let r=window?.__staticRouterHydrationData;return r&&r.errors&&(r={...r,errors:CA(r.errors)}),r}function CA(r){if(!r)return null;let l=Object.entries(r),s={};for(let[u,f]of l)if(f&&f.__type==="RouteErrorResponse")s[u]=new Pu(f.status,f.statusText,f.data,f.internal===!0);else if(f&&f.__type==="Error"){if(f.__subType){let d=window[f.__subType];if(typeof d=="function")try{let p=new d(f.message);p.stack="",s[u]=p}catch{}}if(s[u]==null){let d=new Error(f.message);d.stack="",s[u]=d}}else s[u]=f;return s}var uw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cl=j.forwardRef(function({onClick:l,discover:s="render",prefetch:u="none",relative:f,reloadDocument:d,replace:p,unstable_mask:m,state:b,target:S,to:R,preventScrollReset:E,viewTransition:x,unstable_defaultShouldRevalidate:w,...M},Q){let{basename:Y,navigator:J,unstable_useTransitions:W}=j.useContext(ia),ie=typeof R=="string"&&uw.test(R),Ee=Bx(R,Y);R=Ee.to;let ye=_N(R,{relative:f}),Ve=No(),Le=null;if(m){let Ne=Ku(m,[],Ve.unstable_mask?Ve.unstable_mask.pathname:"/",!0);Y!=="/"&&(Ne.pathname=Ne.pathname==="/"?Y:Za([Y,Ne.pathname])),Le=J.createHref(Ne)}let[U,ae,X]=SA(u,M),Te=_A(R,{replace:p,unstable_mask:m,state:b,target:S,preventScrollReset:E,relative:f,viewTransition:x,unstable_defaultShouldRevalidate:w,unstable_useTransitions:W});function I(Ne){l&&l(Ne),Ne.defaultPrevented||Te(Ne)}let ce=!(Ee.isExternal||d),xe=j.createElement("a",{...M,...X,href:(ce?Le:void 0)||Ee.absoluteURL||ye,onClick:ce?I:l,ref:RA(Q,ae),target:S,"data-discover":!ie&&s==="render"?"true":void 0});return U&&!ie?j.createElement(j.Fragment,null,xe,j.createElement(EA,{page:ye})):xe});cl.displayName="Link";var Zu=j.forwardRef(function({"aria-current":l="page",caseSensitive:s=!1,className:u="",end:f=!1,style:d,to:p,viewTransition:m,children:b,...S},R){let E=ec(p,{relative:S.relative}),x=No(),w=j.useContext(Wu),{navigator:M,basename:Q}=j.useContext(ia),Y=w!=null&&jA(E)&&m===!0,J=M.encodeLocation?M.encodeLocation(E).pathname:E.pathname,W=x.pathname,ie=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;s||(W=W.toLowerCase(),ie=ie?ie.toLowerCase():null,J=J.toLowerCase()),ie&&Q&&(ie=Ca(ie,Q)||ie);const Ee=J!=="/"&&J.endsWith("/")?J.length-1:J.length;let ye=W===J||!f&&W.startsWith(J)&&W.charAt(Ee)==="/",Ve=ie!=null&&(ie===J||!f&&ie.startsWith(J)&&ie.charAt(J.length)==="/"),Le={isActive:ye,isPending:Ve,isTransitioning:Y},U=ye?l:void 0,ae;typeof u=="function"?ae=u(Le):ae=[u,ye?"active":null,Ve?"pending":null,Y?"transitioning":null].filter(Boolean).join(" ");let X=typeof d=="function"?d(Le):d;return j.createElement(cl,{...S,"aria-current":U,className:ae,ref:R,style:X,to:p,viewTransition:m},typeof b=="function"?b(Le):b)});Zu.displayName="NavLink";var NA=j.forwardRef(({discover:r="render",fetcherKey:l,navigate:s,reloadDocument:u,replace:f,state:d,method:p=Sd,action:m,onSubmit:b,relative:S,preventScrollReset:R,viewTransition:E,unstable_defaultShouldRevalidate:x,...w},M)=>{let{unstable_useTransitions:Q}=j.useContext(ia),Y=zA(),J=LA(m,{relative:S}),W=p.toLowerCase()==="get"?"get":"post",ie=typeof m=="string"&&uw.test(m),Ee=ye=>{if(b&&b(ye),ye.defaultPrevented)return;ye.preventDefault();let Ve=ye.nativeEvent.submitter,Le=Ve?.getAttribute("formmethod")||p,U=()=>Y(Ve||ye.currentTarget,{fetcherKey:l,method:Le,navigate:s,replace:f,state:d,relative:S,preventScrollReset:R,viewTransition:E,unstable_defaultShouldRevalidate:x});Q&&s!==!1?j.startTransition(()=>U()):U()};return j.createElement("form",{ref:M,method:W,action:J,onSubmit:u?b:Ee,...w,"data-discover":!ie&&r==="render"?"true":void 0})});NA.displayName="Form";function AA(r){return`${r} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function cw(r){let l=j.useContext(Fr);return Pe(l,AA(r)),l}function _A(r,{target:l,replace:s,unstable_mask:u,state:f,preventScrollReset:d,relative:p,viewTransition:m,unstable_defaultShouldRevalidate:b,unstable_useTransitions:S}={}){let R=Lg(),E=No(),x=ec(r,{relative:p});return j.useCallback(w=>{if(iA(w,l)){w.preventDefault();let M=s!==void 0?s:Co(E)===Co(x),Q=()=>R(r,{replace:M,unstable_mask:u,state:f,preventScrollReset:d,relative:p,viewTransition:m,unstable_defaultShouldRevalidate:b});S?j.startTransition(()=>Q()):Q()}},[E,R,x,s,u,f,l,r,d,p,m,b,S])}var MA=0,UA=()=>`__${String(++MA)}__`;function zA(){let{router:r}=cw("useSubmit"),{basename:l}=j.useContext(ia),s=GN(),u=r.fetch,f=r.navigate;return j.useCallback(async(d,p={})=>{let{action:m,method:b,encType:S,formData:R,body:E}=cA(d,l);if(p.navigate===!1){let x=p.fetcherKey||UA();await u(x,s,p.action||m,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:R,body:E,formMethod:p.method||b,formEncType:p.encType||S,flushSync:p.flushSync})}else await f(p.action||m,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:R,body:E,formMethod:p.method||b,formEncType:p.encType||S,replace:p.replace,state:p.state,fromRouteId:s,flushSync:p.flushSync,viewTransition:p.viewTransition})},[u,f,l,s])}function LA(r,{relative:l}={}){let{basename:s}=j.useContext(ia),u=j.useContext(Ja);Pe(u,"useFormAction must be used inside a RouteContext");let[f]=u.matches.slice(-1),d={...ec(r||".",{relative:l})},p=No();if(r==null){d.search=p.search;let m=new URLSearchParams(d.search),b=m.getAll("index");if(b.some(R=>R==="")){m.delete("index"),b.filter(E=>E).forEach(E=>m.append("index",E));let R=m.toString();d.search=R?`?${R}`:""}}return(!r||r===".")&&f.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:Za([s,d.pathname])),Co(d)}function jA(r,{relative:l}={}){let s=j.useContext(Ug);Pe(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=cw("useViewTransitionState"),f=ec(r,{relative:l});if(!s.isTransitioning)return!1;let d=Ca(s.currentLocation.pathname,u)||s.currentLocation.pathname,p=Ca(s.nextLocation.pathname,u)||s.nextLocation.pathname;return Td(f.pathname,p)!=null||Td(f.pathname,d)!=null}const fw=(...r)=>r.filter((l,s,u)=>!!l&&l.trim()!==""&&u.indexOf(l)===s).join(" ").trim();const HA=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const kA=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,s,u)=>u?u.toUpperCase():s.toLowerCase());const gx=r=>{const l=kA(r);return l.charAt(0).toUpperCase()+l.slice(1)};var VA={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 BA=r=>{for(const l in r)if(l.startsWith("aria-")||l==="role"||l==="title")return!0;return!1};const $A=j.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:u,className:f="",children:d,iconNode:p,...m},b)=>j.createElement("svg",{ref:b,...VA,width:l,height:l,stroke:r,strokeWidth:u?Number(s)*24/Number(l):s,className:fw("lucide",f),...!d&&!BA(m)&&{"aria-hidden":"true"},...m},[...p.map(([S,R])=>j.createElement(S,R)),...Array.isArray(d)?d:[d]]));const pn=(r,l)=>{const s=j.forwardRef(({className:u,...f},d)=>j.createElement($A,{ref:d,iconNode:l,className:fw(`lucide-${HA(gx(r))}`,`lucide-${r}`,u),...f}));return s.displayName=gx(r),s};const YA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],qA=pn("arrow-right",YA);const GA=[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]],XA=pn("boxes",GA);const QA=[["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"}]],ZA=pn("brain",QA);const JA=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],FA=pn("chevron-down",JA);const KA=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],PA=pn("chevron-right",KA);const IA=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],WA=pn("database",IA);const e_=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],t_=pn("menu",e_);const n_=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],a_=pn("monitor",n_);const o_=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],l_=pn("moon",o_);const r_=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],i_=pn("panel-left",r_);const s_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],u_=pn("plus",s_);const c_=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],f_=pn("search",c_);const d_=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],h_=pn("settings",d_);const p_=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],m_=pn("share-2",p_);const g_=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],y_=pn("sun",g_);const b_=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],v_=pn("users",b_);const S_=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],E_=pn("x",S_),yx=r=>{let l;const s=new Set,u=(S,R)=>{const E=typeof S=="function"?S(l):S;if(!Object.is(E,l)){const x=l;l=R??(typeof E!="object"||E===null)?E:Object.assign({},l,E),s.forEach(w=>w(l,x))}},f=()=>l,m={setState:u,getState:f,getInitialState:()=>b,subscribe:S=>(s.add(S),()=>s.delete(S))},b=l=r(u,f,m);return m},x_=(r=>r?yx(r):yx),w_=r=>r;function R_(r,l=w_){const s=Hu.useSyncExternalStore(r.subscribe,Hu.useCallback(()=>l(r.getState()),[r,l]),Hu.useCallback(()=>l(r.getInitialState()),[r,l]));return Hu.useDebugValue(s),s}const bx=r=>{const l=x_(r),s=u=>R_(l,u);return Object.assign(s,l),s},Bg=(r=>r?bx(r):bx),dw=Bg(r=>({status:"disconnected",setStatus:l=>r({status:l})})),T_={connected:"bg-c4a-success",disconnected:"bg-c4a-error",reconnecting:"bg-c4a-warning"};function Cg(){const{t:r}=bt(),l=dw(f=>f.status),s=T_[l]??"bg-c4a-text-muted",u=r(`header.status.${l}`);return k.jsxDEV("div",{className:"group relative flex items-center",title:u,children:[k.jsxDEV("span",{className:`inline-block h-[7px] w-[7px] rounded-full ${s}`},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/DaemonStatus.tsx",lineNumber:18,columnNumber:7},this),k.jsxDEV("span",{className:"pointer-events-none absolute right-full mr-2 hidden whitespace-nowrap rounded bg-c4a-bg-elevated px-2 py-1 font-mono text-xs text-c4a-text-secondary shadow-c4a-md group-hover:block",children:u},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/DaemonStatus.tsx",lineNumber:19,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/DaemonStatus.tsx",lineNumber:17,columnNumber:5},this)}const vx=[{to:"/",labelKey:"nav.home"},{to:"/studio",labelKey:"nav.studio"},{to:"/docs",labelKey:"nav.docs"}];function D_(){const{t:r}=bt(),[l,s]=j.useState(!1);return k.jsxDEV("header",{className:"sticky top-0 z-40 border-b border-c4a-border-subtle bg-c4a-bg-base/95 backdrop-blur-sm",children:[k.jsxDEV("div",{className:"flex h-14 items-center justify-between px-4",children:[k.jsxDEV(cl,{to:"/",className:"flex items-center gap-2 text-c4a-text-primary",children:[k.jsxDEV("span",{className:"font-mono text-lg font-bold text-c4a-accent",children:"C4A"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:22,columnNumber:11},this),k.jsxDEV("span",{className:"hidden font-mono text-sm font-semibold uppercase tracking-tight md:inline",children:"Context4AI"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:25,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:21,columnNumber:9},this),k.jsxDEV("div",{className:"hidden items-center gap-6 md:flex",children:[k.jsxDEV("nav",{className:"flex items-center gap-4",children:vx.map(({to:u,labelKey:f})=>k.jsxDEV(Zu,{to:u,end:u==="/",className:({isActive:d})=>`font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${d?"text-c4a-accent":"text-c4a-text-secondary hover:text-c4a-text-primary"}`,children:r(f)},u,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:34,columnNumber:15},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:32,columnNumber:11},this),k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV(Cg,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:51,columnNumber:13},this),k.jsxDEV(cl,{to:"/login",className:"font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-primary",children:r("nav.login")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:52,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:50,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:31,columnNumber:9},this),k.jsxDEV("button",{onClick:()=>s(!l),className:"text-c4a-text-secondary md:hidden",children:l?k.jsxDEV(E_,{size:20},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:66,columnNumber:23},this):k.jsxDEV(t_,{size:20},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:66,columnNumber:41},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:62,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:19,columnNumber:7},this),l&&k.jsxDEV("div",{className:"border-t border-c4a-border-subtle bg-c4a-bg-surface px-4 pb-4 pt-2 md:hidden",children:[k.jsxDEV("nav",{className:"flex flex-col gap-2",children:vx.map(({to:u,labelKey:f})=>k.jsxDEV(Zu,{to:u,end:u==="/",onClick:()=>s(!1),className:({isActive:d})=>`block py-2 font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${d?"text-c4a-accent":"text-c4a-text-secondary hover:text-c4a-text-primary"}`,children:r(f)},u,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:75,columnNumber:15},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:73,columnNumber:11},this),k.jsxDEV("div",{className:"mt-2 border-t border-c4a-border-subtle pt-2",children:k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV(Cg,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:94,columnNumber:15},this),k.jsxDEV(cl,{to:"/login",onClick:()=>s(!1),className:"font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-primary",children:r("nav.login")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:95,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:93,columnNumber:13},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:92,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:72,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:18,columnNumber:5},this)}function O_(r){return r==="system"&&typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":r==="system"?"dark":r}function hw(r){if(typeof window>"u")return;const l=O_(r);document.documentElement.setAttribute("data-theme",l),localStorage.setItem("theme",r)}function C_(){try{return localStorage.getItem("theme")||"system"}catch{return"system"}}const pw=Bg(r=>({theme:C_(),setTheme:l=>{hw(l),r({theme:l})}}));let Sx=!1;function N_(){if(Sx||typeof window>"u")return;Sx=!0;const r=window.matchMedia("(prefers-color-scheme: dark)"),l=()=>{const{theme:s}=pw.getState();s==="system"&&hw("system")};r.addEventListener("change",l)}N_();const A_=[{mode:"light",icon:y_,labelKey:"footer.theme.light"},{mode:"dark",icon:l_,labelKey:"footer.theme.dark"},{mode:"system",icon:a_,labelKey:"footer.theme.system"}];function __(){const{t:r}=bt(),{theme:l,setTheme:s}=pw();return k.jsxDEV("div",{className:"flex items-center gap-1",children:A_.map(({mode:u,icon:f,labelKey:d})=>k.jsxDEV("button",{onClick:()=>s(u),title:r(d),className:`cursor-pointer rounded p-1.5 transition-colors duration-150 ${l===u?"bg-c4a-bg-active text-c4a-accent":"text-c4a-text-muted hover:text-c4a-text-secondary hover:bg-c4a-bg-hover"}`,children:k.jsxDEV(f,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/ThemeSwitcher.tsx",lineNumber:30,columnNumber:11},this)},u,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/ThemeSwitcher.tsx",lineNumber:20,columnNumber:9},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/ThemeSwitcher.tsx",lineNumber:18,columnNumber:5},this)}function M_(){const{i18n:r}=bt(),l=()=>{const s=r.language==="en"?"zh":"en";r.changeLanguage(s)};return k.jsxDEV("button",{onClick:l,className:"cursor-pointer rounded px-2 py-1 font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-secondary hover:bg-c4a-bg-hover",children:r.language==="en"?"CN":"EN"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/LanguageSwitcher.tsx",lineNumber:12,columnNumber:5},this)}const U_="_brandIcon_1c7st_1",z_="_iconPulse_1c7st_35",Ex={brandIcon:U_,iconPulse:z_};function mw(){const{t:r}=bt(),l=new Date().getFullYear();return k.jsxDEV("footer",{className:"border-t border-c4a-border-subtle bg-c4a-bg-base px-4 py-4",children:k.jsxDEV("div",{className:"flex items-end justify-between gap-4",children:[k.jsxDEV("div",{className:"hidden items-center gap-3 md:flex",children:[k.jsxDEV("div",{className:Ex.brandIcon,children:k.jsxDEV("span",{className:Ex.iconPulse,children:"C4A"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:16,columnNumber:13},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:15,columnNumber:11},this),k.jsxDEV("div",{className:"flex flex-col",children:[k.jsxDEV("span",{className:"font-mono text-xs font-semibold uppercase tracking-tight text-c4a-text-primary",children:"Context4AI"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:19,columnNumber:13},this),k.jsxDEV("span",{className:"font-mono text-[10px] uppercase tracking-wider text-c4a-text-muted",children:r("footer.tagline")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:22,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:18,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:14,columnNumber:9},this),k.jsxDEV("div",{className:"ml-auto flex flex-col items-end gap-2",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[k.jsxDEV(__,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:31,columnNumber:13},this),k.jsxDEV(M_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:32,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:30,columnNumber:11},this),k.jsxDEV("p",{className:"font-mono text-[11px] text-c4a-text-muted",children:r("footer.copyright",{year:l})},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:34,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:29,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:12,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:11,columnNumber:5},this)}function L_(){return k.jsxDEV("div",{className:"flex min-h-screen flex-col",children:[k.jsxDEV(D_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:8,columnNumber:7},this),k.jsxDEV("main",{className:"mx-auto flex w-full max-w-[1200px] flex-1 flex-col px-4",children:k.jsxDEV(rw,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:10,columnNumber:9},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:9,columnNumber:7},this),k.jsxDEV(mw,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:12,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:7,columnNumber:5},this)}const j_="/api/v1";class H_ extends Error{constructor(l,s,u){super(u),this.status=l,this.code=s,this.name="ApiError"}}async function bd(r,l,s,u){let f=`${j_}${l}`;if(u){const m=new URLSearchParams(u).toString();m&&(f+=`?${m}`)}const d={method:r,headers:{"Content-Type":"application/json"}};s!==void 0&&(d.body=JSON.stringify(s));const p=await fetch(f,d);if(!p.ok){let m="UNKNOWN",b=p.statusText;try{const S=await p.json();S.code&&(m=S.code),S.message&&(b=S.message)}catch{}throw new H_(p.status,m,b)}return p.json()}const Lu={get(r,l){return bd("GET",r,void 0,l)},post(r,l){return bd("POST",r,l)},put(r,l){return bd("PUT",r,l)},delete(r){return bd("DELETE",r)}},k_=3e4,V_=1e3,B_=3e4;class $_{ws=null;url="";handlers=new Map;heartbeatTimer=null;reconnectTimer=null;reconnectAttempt=0;intentionalClose=!1;_status="disconnected";get status(){return this._status}setStatus(l){this._status=l;const s=l==="connecting"?"disconnected":l;dw.getState().setStatus(s)}connect(l){this.url=l,this.intentionalClose=!1,this.reconnectAttempt=0,this.open()}disconnect(){this.intentionalClose=!0,this.clearTimers(),this.ws&&(this.ws.close(),this.ws=null),this.setStatus("disconnected")}on(l,s){let u=this.handlers.get(l);return u||(u=new Set,this.handlers.set(l,u)),u.add(s),()=>{u.delete(s),u.size===0&&this.handlers.delete(l)}}send(l,s){if(this.ws?.readyState!==WebSocket.OPEN)return;const u={event:l,payload:s,timestamp:Date.now()};this.ws.send(JSON.stringify(u))}open(){this.setStatus("connecting");const l=new WebSocket(this.url);l.onopen=()=>{this.reconnectAttempt=0,this.setStatus("connected"),this.startHeartbeat()},l.onmessage=s=>{try{const u=JSON.parse(String(s.data));if(u.event==="pong")return;const f=this.handlers.get(u.event);if(f)for(const d of f)d(u.payload)}catch{}},l.onclose=()=>{this.stopHeartbeat(),this.intentionalClose||(this.setStatus("reconnecting"),this.scheduleReconnect())},l.onerror=()=>{},this.ws=l}startHeartbeat(){this.stopHeartbeat(),this.heartbeatTimer=setInterval(()=>{this.ws?.readyState===WebSocket.OPEN&&this.ws.send(JSON.stringify({event:"ping",payload:null,timestamp:Date.now()}))},k_)}stopHeartbeat(){this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}scheduleReconnect(){if(this.reconnectTimer)return;const l=Math.min(V_*2**this.reconnectAttempt,B_);this.reconnectAttempt++,this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.open()},l)}clearTimers(){this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}}const Ju=new $_,ir=Bg((r,l)=>({libraries:[],loading:!1,error:null,fetchLibraries:async()=>{r({loading:!0,error:null});try{const s=await Lu.get("/libraries");r({libraries:s,loading:!1})}catch(s){r({error:s instanceof Error?s.message:"Failed to load libraries",loading:!1})}},createLibrary:async s=>{const u=await Lu.post("/libraries",s);return r(f=>({libraries:[...f.libraries,u]})),u},deleteLibrary:async s=>{await Lu.delete(`/libraries/${s}`),r(u=>({libraries:u.libraries.filter(f=>f.id!==s)}))},updateLibraryName:async(s,u)=>{const f=await Lu.put(`/libraries/${s}`,{name:u});r(d=>({libraries:d.libraries.map(p=>p.id===s?f:p)}))},_updateLibraryOnline:(s,u)=>{r(f=>({libraries:f.libraries.map(d=>d.id===s?{...d,is_online:u}:d)}))},_refreshLibrary:async s=>{try{const u=await Lu.get(`/libraries/${s}`);r(f=>({libraries:f.libraries.map(d=>d.id===s?u:d)}))}catch{l().fetchLibraries()}}})),Y_=r=>{const l=r.libraries.filter(u=>u.type==="cloud").sort((u,f)=>u.created_at.localeCompare(f.created_at)),s=r.libraries.filter(u=>u.type==="daemon").sort((u,f)=>u.name.localeCompare(f.name));return[...l,...s]},q_=r=>r.libraries.filter(l=>l.type==="daemon"),G_=r=>r.libraries.filter(l=>l.type==="daemon"&&l.is_online);Ju.on("ws:daemon:status",r=>{const l=r;l.lib_id&&ir.getState()._updateLibraryOnline(l.lib_id,l.is_online)});Ju.on("ws:daemon:connected",r=>{const l=r;l.lib_id&&ir.getState()._updateLibraryOnline(l.lib_id,!0),ir.getState().fetchLibraries()});Ju.on("ws:library:updated",r=>{const l=r;ir.getState()._refreshLibrary(l.library_id)});function X_(){const{t:r}=bt(),l=ir(q_),s=ir(G_);if(l.length===0)return null;const u=s.length,f=l.length,d=u>0;return k.jsxDEV("span",{className:"flex items-center gap-1.5 font-mono text-xs text-c4a-text-secondary",children:[k.jsxDEV("span",{className:`h-1.5 w-1.5 rounded-full ${d?"bg-c4a-success":"bg-c4a-error"}`},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:28,columnNumber:7},this),d?r("sources.header.daemon_status",{online:u,total:f}):r("sources.header.all_offline")]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:27,columnNumber:5},this)}function Q_({onToggleSidebar:r}){const{t:l}=bt();return k.jsxDEV("header",{className:"sticky top-0 z-40 border-b border-c4a-border-subtle bg-c4a-bg-base/95 backdrop-blur-sm",children:k.jsxDEV("div",{className:"flex h-14 items-center justify-between px-4",children:[k.jsxDEV("div",{className:"flex items-center gap-2",children:[r&&k.jsxDEV("button",{onClick:r,className:"text-c4a-text-secondary transition-colors duration-150 hover:text-c4a-text-primary md:hidden",children:k.jsxDEV(i_,{size:20},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:51,columnNumber:15},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:47,columnNumber:13},this),k.jsxDEV(cl,{to:"/",className:"flex items-center gap-2 text-c4a-text-primary",children:[k.jsxDEV("span",{className:"font-mono text-lg font-bold text-c4a-accent",children:"C4A"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:58,columnNumber:13},this),k.jsxDEV("span",{className:"hidden font-mono text-sm font-semibold uppercase tracking-tight md:inline",children:"Context4AI"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:61,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:54,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:45,columnNumber:9},this),k.jsxDEV("div",{className:"flex items-center gap-3",children:[k.jsxDEV(X_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:69,columnNumber:11},this),k.jsxDEV(Cg,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:70,columnNumber:11},this),k.jsxDEV(cl,{to:"/login",className:"font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-primary",children:l("nav.login")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:71,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:68,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:43,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:42,columnNumber:5},this)}const gw="lib_cloud_default",Z_=r=>`flex items-center gap-2 rounded px-3 py-2 font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${r?"bg-c4a-bg-active text-c4a-accent":"text-c4a-text-secondary hover:bg-c4a-bg-hover hover:text-c4a-text-primary"}`,J_=[{to:"/studio/modeling",icon:XA,i18nKey:"studio.sidebar.modeling"},{to:"/studio/brain",icon:ZA,i18nKey:"studio.sidebar.brain"},{to:"/studio/discovery",icon:f_,i18nKey:"studio.sidebar.discovery"},{to:"/studio/sharing",icon:m_,i18nKey:"studio.sidebar.sharing"},{to:"/studio/collaboration",icon:v_,i18nKey:"studio.sidebar.collaboration"},{to:"/studio/settings",icon:h_,i18nKey:"studio.sidebar.settings"}];function F_({state:r,onClose:l}){const{t:s}=bt(),u=j.useRef(null);j.useEffect(()=>{const d=p=>{u.current&&!u.current.contains(p.target)&&l()};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[l]);const f=r.library.id===gw;return k.jsxDEV("div",{ref:u,className:"fixed z-50 min-w-[140px] rounded border border-c4a-border-default bg-c4a-bg-elevated py-1 shadow-lg",style:{top:r.y,left:r.x},children:[k.jsxDEV("button",{className:"flex w-full items-center px-3 py-1.5 text-left font-mono text-xs text-c4a-text-secondary hover:bg-c4a-bg-hover hover:text-c4a-text-primary",onClick:()=>{console.log("[stub] rename library",r.library.id),l()},children:s("sources.library.rename")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:92,columnNumber:7},this),!f&&k.jsxDEV("button",{className:"flex w-full items-center px-3 py-1.5 text-left font-mono text-xs text-c4a-error hover:bg-c4a-bg-hover",onClick:()=>{console.log("[stub] delete library",r.library.id),l()},children:s("sources.actions.delete")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:102,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:87,columnNumber:5},this)}function xx({onNavigate:r}){const{t:l}=bt(),s=No(),u=Lg(),f=ir(Y_),d=s.pathname.startsWith("/studio/sources")||s.pathname.startsWith("/studio/source/"),[p,m]=j.useState(d),[b,S]=j.useState(null);j.useEffect(()=>{d&&m(!0)},[d]);const R=j.useCallback((w,M)=>{w.preventDefault(),S({x:w.clientX,y:w.clientY,library:M})},[]),E=j.useCallback(()=>S(null),[]),x=w=>w.id===gw?l("sources.library.default_cloud_name"):w.name;return k.jsxDEV("aside",{className:"flex h-full w-[220px] shrink-0 flex-col border-r border-c4a-border-subtle bg-c4a-bg-surface p-4",children:[k.jsxDEV("nav",{className:"flex flex-col gap-1",children:[k.jsxDEV("div",{children:[k.jsxDEV("div",{className:"flex items-center",children:[k.jsxDEV("button",{onClick:()=>m(w=>!w),className:`flex flex-1 items-center gap-2 rounded px-3 py-2 font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${d?"text-c4a-accent":"text-c4a-text-secondary hover:text-c4a-text-primary"}`,children:[k.jsxDEV(WA,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:165,columnNumber:15},this),l("studio.sidebar.sources"),p?k.jsxDEV(FA,{size:12,className:"ml-auto"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:168,columnNumber:17},this):k.jsxDEV(PA,{size:12,className:"ml-auto"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:170,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:157,columnNumber:13},this),k.jsxDEV("button",{onClick:()=>{u("/studio/sources/add-client"),r?.()},className:"rounded p-1 text-c4a-text-muted hover:bg-c4a-bg-hover hover:text-c4a-text-primary",title:l("sources.menu.add_client"),children:k.jsxDEV(u_,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:181,columnNumber:15},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:173,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:156,columnNumber:11},this),p&&k.jsxDEV("div",{className:"mt-0.5 flex flex-col gap-0.5",children:f.map(w=>k.jsxDEV(Zu,{to:`/studio/sources/${w.id}`,onClick:r,onContextMenu:M=>R(M,w),className:({isActive:M})=>`flex items-center gap-2 rounded py-1.5 pl-8 pr-3 font-mono text-xs tracking-tight transition-colors duration-150 ${M?"bg-c4a-bg-active text-c4a-accent":"text-c4a-text-secondary hover:bg-c4a-bg-hover hover:text-c4a-text-primary"}`,children:[k.jsxDEV("span",{className:"truncate",children:x(w)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:201,columnNumber:19},this),w.type==="daemon"&&k.jsxDEV("span",{className:`ml-auto h-2 w-2 shrink-0 rounded-full ${w.is_online?"bg-c4a-success":"bg-c4a-error"}`},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:203,columnNumber:21},this)]},w.id,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:188,columnNumber:17},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:186,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:155,columnNumber:9},this),J_.map(({to:w,icon:M,i18nKey:Q})=>k.jsxDEV(Zu,{to:w,onClick:r,className:({isActive:Y})=>Z_(Y),children:[k.jsxDEV(M,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:223,columnNumber:13},this),l(Q)]},w,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:217,columnNumber:11},this))]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:153,columnNumber:7},this),b&&k.jsxDEV(F_,{state:b,onClose:E},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:230,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:152,columnNumber:5},this)}function K_(){const[r,l]=j.useState(!1);return j.useEffect(()=>{ir.getState().fetchLibraries()},[]),k.jsxDEV("div",{className:"flex min-h-screen flex-col",children:[k.jsxDEV(Q_,{onToggleSidebar:()=>l(!r)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:17,columnNumber:7},this),k.jsxDEV("div",{className:"flex flex-1",children:[k.jsxDEV("div",{className:"hidden md:block",children:k.jsxDEV(xx,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:22,columnNumber:11},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:21,columnNumber:9},this),r&&k.jsxDEV(k.Fragment,{children:[k.jsxDEV("div",{className:"fixed inset-0 z-20 bg-black/40 md:hidden",onClick:()=>l(!1)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:28,columnNumber:13},this),k.jsxDEV("div",{className:"fixed inset-y-0 left-0 z-20 md:hidden",children:k.jsxDEV(xx,{onNavigate:()=>l(!1)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:33,columnNumber:15},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:32,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:27,columnNumber:11},this),k.jsxDEV("main",{className:"flex flex-1 flex-col overflow-x-hidden",children:k.jsxDEV(rw,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:39,columnNumber:11},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:38,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:19,columnNumber:7},this),k.jsxDEV(mw,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:43,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:16,columnNumber:5},this)}function P_(){const{t:r}=bt();return k.jsxDEV("div",{className:"flex flex-1 flex-col items-center justify-center py-20 text-center",children:[k.jsxDEV("h1",{className:"font-mono text-4xl font-bold uppercase tracking-wide text-c4a-text-primary md:text-5xl",children:r("home.hero.title")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:10,columnNumber:7},this),k.jsxDEV("p",{className:"mt-6 max-w-lg text-base text-c4a-text-secondary",children:r("home.hero.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:13,columnNumber:7},this),k.jsxDEV("div",{className:"mt-10 flex items-center gap-4",children:[k.jsxDEV(cl,{to:"/studio",className:"flex items-center gap-2 rounded bg-c4a-accent px-5 py-2.5 font-mono text-xs font-semibold uppercase tracking-tight text-white transition-colors duration-150 hover:bg-c4a-accent-hover",children:[r("home.hero.cta.studio"),k.jsxDEV(qA,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:22,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:17,columnNumber:9},this),k.jsxDEV("a",{href:"https://github.com/anthropics/c4a",target:"_blank",rel:"noopener noreferrer",className:"rounded border border-c4a-border-default px-5 py-2.5 font-mono text-xs font-semibold uppercase tracking-tight text-c4a-text-secondary transition-colors duration-150 hover:border-c4a-border-strong hover:text-c4a-text-primary",children:r("home.hero.cta.github")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:24,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:16,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:9,columnNumber:5},this)}function wn({title:r,version:l,description:s}){const{t:u}=bt();return k.jsxDEV("div",{className:"flex flex-1 items-center justify-center p-8",children:k.jsxDEV("div",{className:"max-w-md text-center",children:[k.jsxDEV("h2",{className:"font-mono text-2xl font-bold uppercase text-c4a-text-primary",children:r},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:15,columnNumber:9},this),l&&k.jsxDEV("span",{className:"mt-3 inline-block rounded border border-c4a-border-default bg-c4a-bg-surface px-3 py-1 font-mono text-xs uppercase text-c4a-accent",children:u("placeholder.coming",{version:l})},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:19,columnNumber:11},this),k.jsxDEV("p",{className:"mt-4 text-sm text-c4a-text-secondary",children:s},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:23,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:14,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:13,columnNumber:5},this)}function I_(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.login.title"),version:"0.5.0",description:r("page.login.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Login.tsx",lineNumber:8,columnNumber:5},this)}function W_(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.docs.title"),version:"0.4.13",description:r("page.docs.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Docs.tsx",lineNumber:8,columnNumber:5},this)}function e4(){const{t:r}=bt();return k.jsxDEV("div",{className:"flex min-h-screen flex-col items-center justify-center bg-c4a-bg-base p-8 text-center",children:[k.jsxDEV("h1",{className:"font-mono text-6xl font-bold text-c4a-accent",children:r("notfound.title")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:9,columnNumber:7},this),k.jsxDEV("p",{className:"mt-4 text-base text-c4a-text-secondary",children:r("notfound.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:12,columnNumber:7},this),k.jsxDEV(cl,{to:"/",className:"mt-8 rounded border border-c4a-border-default px-5 py-2.5 font-mono text-xs uppercase tracking-tight text-c4a-text-secondary transition-colors duration-150 hover:border-c4a-border-strong hover:text-c4a-text-primary",children:r("notfound.back")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:15,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:8,columnNumber:5},this)}function t4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.modeling.title"),version:"0.4.16",description:r("page.modeling.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Modeling.tsx",lineNumber:8,columnNumber:5},this)}function n4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.brain.title"),version:"0.4.18",description:r("page.brain.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Brain.tsx",lineNumber:8,columnNumber:5},this)}function a4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.discovery.title"),version:"0.6.x",description:r("page.discovery.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Discovery.tsx",lineNumber:8,columnNumber:5},this)}function o4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.sharing.title"),version:"0.4.39",description:r("page.sharing.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Sharing.tsx",lineNumber:8,columnNumber:5},this)}function l4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.collaboration.title"),version:"0.5.x",description:r("page.collaboration.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Collaboration.tsx",lineNumber:8,columnNumber:5},this)}function r4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.settings.title"),version:"0.5.x",description:r("page.settings.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Settings.tsx",lineNumber:8,columnNumber:5},this)}function i4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.code_setup.title"),version:"0.4.13",description:r("page.code_setup.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeSetup.tsx",lineNumber:8,columnNumber:5},this)}function s4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.code_compile.title"),version:"0.4.13",description:r("page.code_compile.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeCompile.tsx",lineNumber:8,columnNumber:5},this)}function u4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.code_review.title"),version:"0.4.14",description:r("page.code_review.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeReview.tsx",lineNumber:8,columnNumber:5},this)}function c4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.code_result.title"),version:"0.4.14",description:r("page.code_result.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeResult.tsx",lineNumber:8,columnNumber:5},this)}function f4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.sources.title"),version:"0.4.12",description:r("page.sources.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/sources/LibraryRoot.tsx",lineNumber:8,columnNumber:5},this)}function d4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("sources.import.title"),version:"0.4.12",description:r("page.sources.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/sources/ImportRepo.tsx",lineNumber:8,columnNumber:5},this)}function h4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("sources.add_client.title"),version:"0.4.12",description:r("sources.add_client.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/sources/AddClient.tsx",lineNumber:8,columnNumber:5},this)}function p4(){const{t:r}=bt();return k.jsxDEV(wn,{title:r("page.sources.title"),version:"0.4.12",description:r("page.sources.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/sources/SourceDetail.tsx",lineNumber:8,columnNumber:5},this)}const m4="lib_cloud_default",g4=DA([{element:k.jsxDEV(L_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:28,columnNumber:14},void 0),children:[{path:"/",element:k.jsxDEV(P_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:30,columnNumber:29},void 0)},{path:"/login",element:k.jsxDEV(I_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:31,columnNumber:34},void 0)},{path:"/docs",element:k.jsxDEV(W_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:32,columnNumber:33},void 0)}]},{path:"/studio",element:k.jsxDEV(K_,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:39,columnNumber:14},void 0),children:[{index:!0,element:k.jsxDEV(px,{to:"/studio/sources",replace:!0},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:41,columnNumber:31},void 0)},{path:"sources",element:k.jsxDEV(px,{to:`/studio/sources/${m4}`,replace:!0},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:45,columnNumber:11},void 0)},{path:"sources/add-client",element:k.jsxDEV(h4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:51,columnNumber:46},void 0)},{path:"sources/import/:libId",element:k.jsxDEV(d4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:52,columnNumber:49},void 0)},{path:"sources/:libId",element:k.jsxDEV(f4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:53,columnNumber:42},void 0)},{path:"source/:sourceUuid",element:k.jsxDEV(p4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:54,columnNumber:46},void 0)},{path:"modeling",element:k.jsxDEV(t4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:55,columnNumber:36},void 0)},{path:"modeling/code/setup",element:k.jsxDEV(i4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:56,columnNumber:47},void 0)},{path:"modeling/code/compile",element:k.jsxDEV(s4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:57,columnNumber:49},void 0)},{path:"modeling/code/review",element:k.jsxDEV(u4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:58,columnNumber:48},void 0)},{path:"modeling/code/result",element:k.jsxDEV(c4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:59,columnNumber:48},void 0)},{path:"brain",element:k.jsxDEV(n4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:60,columnNumber:33},void 0)},{path:"discovery",element:k.jsxDEV(a4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:61,columnNumber:37},void 0)},{path:"sharing",element:k.jsxDEV(o4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:62,columnNumber:35},void 0)},{path:"collaboration",element:k.jsxDEV(l4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:63,columnNumber:41},void 0)},{path:"settings",element:k.jsxDEV(r4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:64,columnNumber:36},void 0)}]},{path:"*",element:k.jsxDEV(e4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:69,columnNumber:25},void 0)}]);function y4(){return j.useEffect(()=>{const l=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`;return Ju.connect(l),()=>{Ju.disconnect()}},[]),k.jsxDEV(WN,{router:g4},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/App.tsx",lineNumber:17,columnNumber:10},this)}hC.createRoot(document.getElementById("root")).render(k.jsxDEV(j.StrictMode,{children:k.jsxDEV(y4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/main.tsx",lineNumber:9,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/main.tsx",lineNumber:8,columnNumber:3},void 0));