@overlordai/server 1.0.28 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/repositories/machine.repository.d.ts +2 -1
- package/dist/database/repositories/machine.repository.d.ts.map +1 -1
- package/dist/database/repositories/machine.repository.js +17 -5
- package/dist/database/repositories/machine.repository.js.map +1 -1
- package/dist/database/repositories/project-member.repository.d.ts +7 -0
- package/dist/database/repositories/project-member.repository.d.ts.map +1 -1
- package/dist/database/repositories/project-member.repository.js +31 -1
- package/dist/database/repositories/project-member.repository.js.map +1 -1
- package/dist/database/repositories/project.repository.d.ts +1 -0
- package/dist/database/repositories/project.repository.d.ts.map +1 -1
- package/dist/database/repositories/project.repository.js +5 -2
- package/dist/database/repositories/project.repository.js.map +1 -1
- package/dist/database/repositories/task.repository.d.ts +2 -0
- package/dist/database/repositories/task.repository.d.ts.map +1 -1
- package/dist/database/repositories/task.repository.js +15 -0
- package/dist/database/repositories/task.repository.js.map +1 -1
- package/dist/dispatcher/dispatcher.service.d.ts.map +1 -1
- package/dist/dispatcher/dispatcher.service.js +10 -1
- package/dist/dispatcher/dispatcher.service.js.map +1 -1
- package/dist/dispatcher/machine-selector.d.ts.map +1 -1
- package/dist/dispatcher/machine-selector.js +4 -0
- package/dist/dispatcher/machine-selector.js.map +1 -1
- package/dist/dispatcher/reconciler.d.ts +2 -0
- package/dist/dispatcher/reconciler.d.ts.map +1 -1
- package/dist/dispatcher/reconciler.js +7 -3
- package/dist/dispatcher/reconciler.js.map +1 -1
- package/dist/main.js +0 -0
- package/dist/web/admin/admin-machine.controller.d.ts +12 -1
- package/dist/web/admin/admin-machine.controller.d.ts.map +1 -1
- package/dist/web/admin/admin-machine.controller.js +71 -3
- package/dist/web/admin/admin-machine.controller.js.map +1 -1
- package/dist/web/admin/admin-project.controller.d.ts +2 -0
- package/dist/web/admin/admin-project.controller.d.ts.map +1 -1
- package/dist/web/admin/admin-project.controller.js +2 -1
- package/dist/web/admin/admin-project.controller.js.map +1 -1
- package/dist/web/machine.controller.d.ts +12 -0
- package/dist/web/machine.controller.d.ts.map +1 -1
- package/dist/web/machine.controller.js +7 -0
- package/dist/web/machine.controller.js.map +1 -1
- package/dist/web/project.controller.d.ts +34 -2
- package/dist/web/project.controller.d.ts.map +1 -1
- package/dist/web/project.controller.js +18 -3
- package/dist/web/project.controller.js.map +1 -1
- package/package.json +9 -9
- package/public/assets/{AccessTokensPage-DQEUkklL.js → AccessTokensPage-Beru3_uy.js} +1 -1
- package/public/assets/{AdminPage-Dy3fDESU.js → AdminPage-C9GCTLmr.js} +1 -1
- package/public/assets/{ApiReferencePage-BdVahGqK.js → ApiReferencePage-D-Fjl8KM.js} +1 -1
- package/public/assets/{AuditLogPage-DrxGWVeq.js → AuditLogPage-Bpgs5-4t.js} +1 -1
- package/public/assets/{BotManage-B3-rqR1c.js → BotManage-ByFUoMlI.js} +1 -1
- package/public/assets/CliReferencePage-CkOKnvml.js +8 -0
- package/public/assets/{DeveloperManage-CSd18cTX.js → DeveloperManage-DX12zFgn.js} +1 -1
- package/public/assets/{EditProjectPage-jeKBXKpU.js → EditProjectPage-DlK_Ix-g.js} +2 -2
- package/public/assets/{EmptyState-CN7755V2.js → EmptyState-B5qaL1Ft.js} +1 -1
- package/public/assets/HomePage-NfxPPkMz.js +1 -0
- package/public/assets/LandingPage-DWdKl5kd.js +36 -0
- package/public/assets/{LoginPage-Ca4FsK2j.js → LoginPage-CjzZ3RX2.js} +1 -1
- package/public/assets/MachineDetailPage-2B713TKQ.js +1 -0
- package/public/assets/MachineListPage-DWiQXnAq.js +6 -0
- package/public/assets/{NotFoundPage-rIa2IHZG.js → NotFoundPage-CXxb3Nk1.js} +1 -1
- package/public/assets/{PipelineEditorPage-DqNJhpu_.js → PipelineEditorPage-DzgL7Mbc.js} +1 -1
- package/public/assets/{ProfilePage-_uegx1AA.js → ProfilePage-bdFIMKIC.js} +1 -1
- package/public/assets/ProjectDetailPage-ngZeWsrI.js +7 -0
- package/public/assets/ProjectListPage-BQC9noAd.js +6 -0
- package/public/assets/{QuickAuth-DeEGbSkE.js → QuickAuth-BHBoThUh.js} +1 -1
- package/public/assets/RemoveMemberConfirmDialog-CGkSeDTJ.js +6 -0
- package/public/assets/{Select-0Q0gGMd5.js → Select-B2hs4bPZ.js} +2 -2
- package/public/assets/{SettingsPage-BVRak3kN.js → SettingsPage-CXxoYjb1.js} +1 -1
- package/public/assets/{Skeleton-Brvkv-R9.js → Skeleton-CyWhQxlf.js} +1 -1
- package/public/assets/SkillPage-DlnLHNuI.js +1 -0
- package/public/assets/{TaskDetailPage-NP2PS_Ck.js → TaskDetailPage-DUQWe5wB.js} +1 -1
- package/public/assets/{TaskListPage-BpkKh4Yk.js → TaskListPage-Cg1ETrwI.js} +1 -1
- package/public/assets/{TaskStatusBadge-C5Shy8Nl.js → TaskStatusBadge-D-fJDHQh.js} +1 -1
- package/public/assets/TokenManage-Bcru_MF_.js +1 -0
- package/public/assets/{TotpSetupPage-skouZwAo.js → TotpSetupPage-XZCrdH2V.js} +1 -1
- package/public/assets/{WorkerSetupGuidePage-BelFB95H.js → WorkerSetupGuidePage-B0a3heGA.js} +1 -1
- package/public/assets/{arrow-left-DcjEsA7R.js → arrow-left-CxR172-I.js} +1 -1
- package/public/assets/{arrow-right-B4YEa3u9.js → arrow-right-Bxsjp0zK.js} +1 -1
- package/public/assets/{bot-BXlxShij.js → bot-LvDZi4g_.js} +1 -1
- package/public/assets/{chevron-right-DfZYT44U.js → chevron-right-CoYBbtaS.js} +1 -1
- package/public/assets/{copy-I9UBz5kC.js → copy-BOEo9gzs.js} +1 -1
- package/public/assets/{external-link-6OjArMHy.js → external-link-DEXczFxv.js} +1 -1
- package/public/assets/index-BiwmRYQP.js +212 -0
- package/public/assets/index-MbPa7F7Y.css +1 -0
- package/public/assets/{key-EI2JM6VQ.js → key-BKYKn-II.js} +1 -1
- package/public/assets/{loader-circle-BlLUEdfY.js → loader-circle-CGl2dNxT.js} +1 -1
- package/public/assets/{pencil-CQghwYru.js → pencil-DJx3NobK.js} +1 -1
- package/public/assets/{plus-Bi9CBO0p.js → plus-B1evYZLw.js} +1 -1
- package/public/assets/protocol-C5uQmiiB.js +1 -0
- package/public/assets/{rotate-ccw-B5xHESUx.js → rotate-ccw-DIm7zEDs.js} +1 -1
- package/public/assets/{scroll-text-0Fjom98e.js → scroll-text-DXm8XEUQ.js} +1 -1
- package/public/assets/{settings-Dz53j3EB.js → settings-C0zveA0i.js} +1 -1
- package/public/assets/{task.store-DwkjgoRM.js → task.store-BT1elMl0.js} +1 -1
- package/public/assets/{trash-2-Cv7vzkVw.js → trash-2-D_ao7mjo.js} +1 -1
- package/public/assets/{users-7UXJB8XB.js → users-DNGcsSkr.js} +1 -1
- package/public/favicon.svg +2 -2
- package/public/index.html +3 -3
- package/public/assets/CliReferencePage-Ca6ENkKU.js +0 -8
- package/public/assets/HomePage-BsiwA4gW.js +0 -1
- package/public/assets/LandingPage-BWfR2oXt.js +0 -26
- package/public/assets/MachineDetailPage-BdJIcUfz.js +0 -1
- package/public/assets/MachineListPage-B59mZoVm.js +0 -6
- package/public/assets/ProjectDetailPage-ByDXJRZx.js +0 -7
- package/public/assets/ProjectListPage-cWKxZMbI.js +0 -6
- package/public/assets/RemoveMemberConfirmDialog-BHYJebBS.js +0 -6
- package/public/assets/TokenManage-k5e6DyJG.js +0 -1
- package/public/assets/index-DYT_rof3.js +0 -207
- package/public/assets/index-v5rpOoDH.css +0 -1
- package/public/assets/protocol-C4f2G7mk.js +0 -1
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LandingPage-DWdKl5kd.js","assets/arrow-right-Bxsjp0zK.js","assets/bot-LvDZi4g_.js","assets/users-DNGcsSkr.js","assets/copy-BOEo9gzs.js","assets/HomePage-NfxPPkMz.js","assets/protocol-C5uQmiiB.js","assets/TaskStatusBadge-D-fJDHQh.js","assets/Skeleton-CyWhQxlf.js","assets/chevron-right-CoYBbtaS.js","assets/TaskListPage-Cg1ETrwI.js","assets/task.store-BT1elMl0.js","assets/Select-B2hs4bPZ.js","assets/EmptyState-B5qaL1Ft.js","assets/plus-B1evYZLw.js","assets/TaskDetailPage-DUQWe5wB.js","assets/arrow-left-CxR172-I.js","assets/rotate-ccw-DIm7zEDs.js","assets/external-link-DEXczFxv.js","assets/loader-circle-CGl2dNxT.js","assets/TaskDetailPage-Beg8tuEN.css","assets/MachineListPage-DWiQXnAq.js","assets/WorkerSetupGuidePage-B0a3heGA.js","assets/key-BKYKn-II.js","assets/settings-C0zveA0i.js","assets/MachineDetailPage-2B713TKQ.js","assets/trash-2-D_ao7mjo.js","assets/ProjectListPage-BQC9noAd.js","assets/ProjectDetailPage-ngZeWsrI.js","assets/RemoveMemberConfirmDialog-CGkSeDTJ.js","assets/pencil-DJx3NobK.js","assets/EditProjectPage-DlK_Ix-g.js","assets/PipelineEditorPage-DzgL7Mbc.js","assets/AccessTokensPage-Beru3_uy.js","assets/CliReferencePage-CkOKnvml.js","assets/QuickAuth-BHBoThUh.js","assets/ApiReferencePage-D-Fjl8KM.js","assets/SkillPage-DlnLHNuI.js","assets/AdminPage-C9GCTLmr.js","assets/scroll-text-DXm8XEUQ.js","assets/DeveloperManage-DX12zFgn.js","assets/BotManage-ByFUoMlI.js","assets/TokenManage-Bcru_MF_.js","assets/AuditLogPage-Bpgs5-4t.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Cy=Object.defineProperty;var Jm=u=>{throw TypeError(u)};var My=(u,r,c)=>r in u?Cy(u,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):u[r]=c;var wt=(u,r,c)=>My(u,typeof r!="symbol"?r+"":r,c),hc=(u,r,c)=>r.has(u)||Jm("Cannot "+c);var U=(u,r,c)=>(hc(u,r,"read from private field"),c?c.call(u):r.get(u)),It=(u,r,c)=>r.has(u)?Jm("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(u):r.set(u,c),Vt=(u,r,c,o)=>(hc(u,r,"write to private field"),o?o.call(u,c):r.set(u,c),c),ge=(u,r,c)=>(hc(u,r,"access private method"),c);var $m=(u,r,c,o)=>({set _(f){Vt(u,r,f,c)},get _(){return U(u,r,o)}});(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const p of m.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&o(p)}).observe(document,{childList:!0,subtree:!0});function c(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function o(f){if(f.ep)return;f.ep=!0;const m=c(f);fetch(f.href,m)}})();function Ny(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var pc={exports:{}},ei={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var Wm;function Dy(){if(Wm)return ei;Wm=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function c(o,f,m){var p=null;if(m!==void 0&&(p=""+m),f.key!==void 0&&(p=""+f.key),"key"in f){m={};for(var T in f)T!=="key"&&(m[T]=f[T])}else m=f;return f=m.ref,{$$typeof:u,type:o,key:p,ref:f!==void 0?f:null,props:m}}return ei.Fragment=r,ei.jsx=c,ei.jsxs=c,ei}var Fm;function Uy(){return Fm||(Fm=1,pc.exports=Dy()),pc.exports}var _=Uy(),_c={exports:{}},te={};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react.production.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var Im;function qy(){if(Im)return te;Im=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),p=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),D=Symbol.iterator;function V(b){return b===null||typeof b!="object"?null:(b=D&&b[D]||b["@@iterator"],typeof b=="function"?b:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,B={};function L(b,N,G){this.props=b,this.context=N,this.refs=B,this.updater=G||q}L.prototype.isReactComponent={},L.prototype.setState=function(b,N){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,N,"setState")},L.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function P(){}P.prototype=L.prototype;function F(b,N,G){this.props=b,this.context=N,this.refs=B,this.updater=G||q}var me=F.prototype=new P;me.constructor=F,H(me,L.prototype),me.isPureReactComponent=!0;var fe=Array.isArray;function K(){}var X={H:null,A:null,T:null,S:null},ve=Object.prototype.hasOwnProperty;function De(b,N,G){var J=G.ref;return{$$typeof:u,type:b,key:N,ref:J!==void 0?J:null,props:G}}function Ze(b,N){return De(b.type,N,b.props)}function rt(b){return typeof b=="object"&&b!==null&&b.$$typeof===u}function Ke(b){var N={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(G){return N[G]})}var ot=/\/+/g;function jt(b,N){return typeof b=="object"&&b!==null&&b.key!=null?Ke(""+b.key):N.toString(36)}function Ye(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(K,K):(b.status="pending",b.then(function(N){b.status==="pending"&&(b.status="fulfilled",b.value=N)},function(N){b.status==="pending"&&(b.status="rejected",b.reason=N)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function O(b,N,G,J,ae){var ue=typeof b;(ue==="undefined"||ue==="boolean")&&(b=null);var ye=!1;if(b===null)ye=!0;else switch(ue){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(b.$$typeof){case u:case r:ye=!0;break;case j:return ye=b._init,O(ye(b._payload),N,G,J,ae)}}if(ye)return ae=ae(b),ye=J===""?"."+jt(b,0):J,fe(ae)?(G="",ye!=null&&(G=ye.replace(ot,"$&/")+"/"),O(ae,N,G,"",function(rn){return rn})):ae!=null&&(rt(ae)&&(ae=Ze(ae,G+(ae.key==null||b&&b.key===ae.key?"":(""+ae.key).replace(ot,"$&/")+"/")+ye)),N.push(ae)),1;ye=0;var it=J===""?".":J+":";if(fe(b))for(var He=0;He<b.length;He++)J=b[He],ue=it+jt(J,He),ye+=O(J,N,G,ue,ae);else if(He=V(b),typeof He=="function")for(b=He.call(b),He=0;!(J=b.next()).done;)J=J.value,ue=it+jt(J,He++),ye+=O(J,N,G,ue,ae);else if(ue==="object"){if(typeof b.then=="function")return O(Ye(b),N,G,J,ae);throw N=String(b),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return ye}function Y(b,N,G){if(b==null)return b;var J=[],ae=0;return O(b,J,"","",function(ue){return N.call(G,ue,ae++)}),J}function ee(b){if(b._status===-1){var N=b._result;N=N(),N.then(function(G){(b._status===0||b._status===-1)&&(b._status=1,b._result=G)},function(G){(b._status===0||b._status===-1)&&(b._status=2,b._result=G)}),b._status===-1&&(b._status=0,b._result=N)}if(b._status===1)return b._result.default;throw b._result}var Se=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},Re={map:Y,forEach:function(b,N,G){Y(b,function(){N.apply(this,arguments)},G)},count:function(b){var N=0;return Y(b,function(){N++}),N},toArray:function(b){return Y(b,function(N){return N})||[]},only:function(b){if(!rt(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return te.Activity=S,te.Children=Re,te.Component=L,te.Fragment=c,te.Profiler=f,te.PureComponent=F,te.StrictMode=o,te.Suspense=g,te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,te.__COMPILER_RUNTIME={__proto__:null,c:function(b){return X.H.useMemoCache(b)}},te.cache=function(b){return function(){return b.apply(null,arguments)}},te.cacheSignal=function(){return null},te.cloneElement=function(b,N,G){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var J=H({},b.props),ae=b.key;if(N!=null)for(ue in N.key!==void 0&&(ae=""+N.key),N)!ve.call(N,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&N.ref===void 0||(J[ue]=N[ue]);var ue=arguments.length-2;if(ue===1)J.children=G;else if(1<ue){for(var ye=Array(ue),it=0;it<ue;it++)ye[it]=arguments[it+2];J.children=ye}return De(b.type,ae,J)},te.createContext=function(b){return b={$$typeof:p,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:m,_context:b},b},te.createElement=function(b,N,G){var J,ae={},ue=null;if(N!=null)for(J in N.key!==void 0&&(ue=""+N.key),N)ve.call(N,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ae[J]=N[J]);var ye=arguments.length-2;if(ye===1)ae.children=G;else if(1<ye){for(var it=Array(ye),He=0;He<ye;He++)it[He]=arguments[He+2];ae.children=it}if(b&&b.defaultProps)for(J in ye=b.defaultProps,ye)ae[J]===void 0&&(ae[J]=ye[J]);return De(b,ue,ae)},te.createRef=function(){return{current:null}},te.forwardRef=function(b){return{$$typeof:T,render:b}},te.isValidElement=rt,te.lazy=function(b){return{$$typeof:j,_payload:{_status:-1,_result:b},_init:ee}},te.memo=function(b,N){return{$$typeof:h,type:b,compare:N===void 0?null:N}},te.startTransition=function(b){var N=X.T,G={};X.T=G;try{var J=b(),ae=X.S;ae!==null&&ae(G,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(K,Se)}catch(ue){Se(ue)}finally{N!==null&&G.types!==null&&(N.types=G.types),X.T=N}},te.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},te.use=function(b){return X.H.use(b)},te.useActionState=function(b,N,G){return X.H.useActionState(b,N,G)},te.useCallback=function(b,N){return X.H.useCallback(b,N)},te.useContext=function(b){return X.H.useContext(b)},te.useDebugValue=function(){},te.useDeferredValue=function(b,N){return X.H.useDeferredValue(b,N)},te.useEffect=function(b,N){return X.H.useEffect(b,N)},te.useEffectEvent=function(b){return X.H.useEffectEvent(b)},te.useId=function(){return X.H.useId()},te.useImperativeHandle=function(b,N,G){return X.H.useImperativeHandle(b,N,G)},te.useInsertionEffect=function(b,N){return X.H.useInsertionEffect(b,N)},te.useLayoutEffect=function(b,N){return X.H.useLayoutEffect(b,N)},te.useMemo=function(b,N){return X.H.useMemo(b,N)},te.useOptimistic=function(b,N){return X.H.useOptimistic(b,N)},te.useReducer=function(b,N,G){return X.H.useReducer(b,N,G)},te.useRef=function(b){return X.H.useRef(b)},te.useState=function(b){return X.H.useState(b)},te.useSyncExternalStore=function(b,N,G){return X.H.useSyncExternalStore(b,N,G)},te.useTransition=function(){return X.H.useTransition()},te.version="19.2.4",te}var Pm;function qc(){return Pm||(Pm=1,_c.exports=qy()),_c.exports}var x=qc();const Ru=Ny(x);var yc={exports:{}},ti={},gc={exports:{}},vc={};/**
|
|
19
|
+
* @license React
|
|
20
|
+
* scheduler.production.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/var eh;function Hy(){return eh||(eh=1,(function(u){function r(O,Y){var ee=O.length;O.push(Y);e:for(;0<ee;){var Se=ee-1>>>1,Re=O[Se];if(0<f(Re,Y))O[Se]=Y,O[ee]=Re,ee=Se;else break e}}function c(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var Y=O[0],ee=O.pop();if(ee!==Y){O[0]=ee;e:for(var Se=0,Re=O.length,b=Re>>>1;Se<b;){var N=2*(Se+1)-1,G=O[N],J=N+1,ae=O[J];if(0>f(G,ee))J<Re&&0>f(ae,G)?(O[Se]=ae,O[J]=ee,Se=J):(O[Se]=G,O[N]=ee,Se=N);else if(J<Re&&0>f(ae,ee))O[Se]=ae,O[J]=ee,Se=J;else break e}}return Y}function f(O,Y){var ee=O.sortIndex-Y.sortIndex;return ee!==0?ee:O.id-Y.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;u.unstable_now=function(){return m.now()}}else{var p=Date,T=p.now();u.unstable_now=function(){return p.now()-T}}var g=[],h=[],j=1,S=null,D=3,V=!1,q=!1,H=!1,B=!1,L=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function me(O){for(var Y=c(h);Y!==null;){if(Y.callback===null)o(h);else if(Y.startTime<=O)o(h),Y.sortIndex=Y.expirationTime,r(g,Y);else break;Y=c(h)}}function fe(O){if(H=!1,me(O),!q)if(c(g)!==null)q=!0,K||(K=!0,Ke());else{var Y=c(h);Y!==null&&Ye(fe,Y.startTime-O)}}var K=!1,X=-1,ve=5,De=-1;function Ze(){return B?!0:!(u.unstable_now()-De<ve)}function rt(){if(B=!1,K){var O=u.unstable_now();De=O;var Y=!0;try{e:{q=!1,H&&(H=!1,P(X),X=-1),V=!0;var ee=D;try{t:{for(me(O),S=c(g);S!==null&&!(S.expirationTime>O&&Ze());){var Se=S.callback;if(typeof Se=="function"){S.callback=null,D=S.priorityLevel;var Re=Se(S.expirationTime<=O);if(O=u.unstable_now(),typeof Re=="function"){S.callback=Re,me(O),Y=!0;break t}S===c(g)&&o(g),me(O)}else o(g);S=c(g)}if(S!==null)Y=!0;else{var b=c(h);b!==null&&Ye(fe,b.startTime-O),Y=!1}}break e}finally{S=null,D=ee,V=!1}Y=void 0}}finally{Y?Ke():K=!1}}}var Ke;if(typeof F=="function")Ke=function(){F(rt)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,jt=ot.port2;ot.port1.onmessage=rt,Ke=function(){jt.postMessage(null)}}else Ke=function(){L(rt,0)};function Ye(O,Y){X=L(function(){O(u.unstable_now())},Y)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(O){O.callback=null},u.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<O?Math.floor(1e3/O):5},u.unstable_getCurrentPriorityLevel=function(){return D},u.unstable_next=function(O){switch(D){case 1:case 2:case 3:var Y=3;break;default:Y=D}var ee=D;D=Y;try{return O()}finally{D=ee}},u.unstable_requestPaint=function(){B=!0},u.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var ee=D;D=O;try{return Y()}finally{D=ee}},u.unstable_scheduleCallback=function(O,Y,ee){var Se=u.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?Se+ee:Se):ee=Se,O){case 1:var Re=-1;break;case 2:Re=250;break;case 5:Re=1073741823;break;case 4:Re=1e4;break;default:Re=5e3}return Re=ee+Re,O={id:j++,callback:Y,priorityLevel:O,startTime:ee,expirationTime:Re,sortIndex:-1},ee>Se?(O.sortIndex=ee,r(h,O),c(g)===null&&O===c(h)&&(H?(P(X),X=-1):H=!0,Ye(fe,ee-Se))):(O.sortIndex=Re,r(g,O),q||V||(q=!0,K||(K=!0,Ke()))),O},u.unstable_shouldYield=Ze,u.unstable_wrapCallback=function(O){var Y=D;return function(){var ee=D;D=Y;try{return O.apply(this,arguments)}finally{D=ee}}}})(vc)),vc}var th;function Ly(){return th||(th=1,gc.exports=Hy()),gc.exports}var bc={exports:{}},at={};/**
|
|
27
|
+
* @license React
|
|
28
|
+
* react-dom.production.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/var ah;function By(){if(ah)return at;ah=1;var u=qc();function r(g){var h="https://react.dev/errors/"+g;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)h+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+g+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var o={d:{f:c,r:function(){throw Error(r(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},f=Symbol.for("react.portal");function m(g,h,j){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:S==null?null:""+S,children:g,containerInfo:h,implementation:j}}var p=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function T(g,h){if(g==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return at.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,at.createPortal=function(g,h){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return m(g,h,null,j)},at.flushSync=function(g){var h=p.T,j=o.p;try{if(p.T=null,o.p=2,g)return g()}finally{p.T=h,o.p=j,o.d.f()}},at.preconnect=function(g,h){typeof g=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,o.d.C(g,h))},at.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},at.preinit=function(g,h){if(typeof g=="string"&&h&&typeof h.as=="string"){var j=h.as,S=T(j,h.crossOrigin),D=typeof h.integrity=="string"?h.integrity:void 0,V=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;j==="style"?o.d.S(g,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:S,integrity:D,fetchPriority:V}):j==="script"&&o.d.X(g,{crossOrigin:S,integrity:D,fetchPriority:V,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},at.preinitModule=function(g,h){if(typeof g=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var j=T(h.as,h.crossOrigin);o.d.M(g,{crossOrigin:j,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&o.d.M(g)},at.preload=function(g,h){if(typeof g=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var j=h.as,S=T(j,h.crossOrigin);o.d.L(g,j,{crossOrigin:S,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},at.preloadModule=function(g,h){if(typeof g=="string")if(h){var j=T(h.as,h.crossOrigin);o.d.m(g,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:j,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else o.d.m(g)},at.requestFormReset=function(g){o.d.r(g)},at.unstable_batchedUpdates=function(g,h){return g(h)},at.useFormState=function(g,h,j){return p.H.useFormState(g,h,j)},at.useFormStatus=function(){return p.H.useHostTransitionStatus()},at.version="19.2.4",at}var lh;function Yy(){if(lh)return bc.exports;lh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),bc.exports=By(),bc.exports}/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-dom-client.production.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/var nh;function Gy(){if(nh)return ti;nh=1;var u=Ly(),r=qc(),c=Yy();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function p(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 T(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 g(e){if(m(e)!==e)throw Error(o(188))}function h(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var i=n.alternate;if(i===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===a)return g(n),e;if(i===l)return g(n),t;i=i.sibling}throw Error(o(188))}if(a.return!==l.return)a=n,l=i;else{for(var s=!1,d=n.child;d;){if(d===a){s=!0,a=n,l=i;break}if(d===l){s=!0,l=n,a=i;break}d=d.sibling}if(!s){for(d=i.child;d;){if(d===a){s=!0,a=i,l=n;break}if(d===l){s=!0,l=i,a=n;break}d=d.sibling}if(!s)throw Error(o(189))}}if(a.alternate!==l)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:t}function j(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=j(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,D=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),F=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),fe=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),De=Symbol.for("react.activity"),Ze=Symbol.for("react.memo_cache_sentinel"),rt=Symbol.iterator;function Ke(e){return e===null||typeof e!="object"?null:(e=rt&&e[rt]||e["@@iterator"],typeof e=="function"?e:null)}var ot=Symbol.for("react.client.reference");function jt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ot?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case H:return"Fragment";case L:return"Profiler";case B:return"StrictMode";case fe:return"Suspense";case K:return"SuspenseList";case De:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case F:return e.displayName||"Context";case P:return(e._context.displayName||"Context")+".Consumer";case me:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:jt(e.type)||"Memo";case ve:t=e._payload,e=e._init;try{return jt(e(t))}catch{}}return null}var Ye=Array.isArray,O=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Se=[],Re=-1;function b(e){return{current:e}}function N(e){0>Re||(e.current=Se[Re],Se[Re]=null,Re--)}function G(e,t){Re++,Se[Re]=e.current,e.current=t}var J=b(null),ae=b(null),ue=b(null),ye=b(null);function it(e,t){switch(G(ue,t),G(ae,e),G(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ym(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=ym(t),e=gm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}N(J),G(J,e)}function He(){N(J),N(ae),N(ue)}function rn(e){e.memoizedState!==null&&G(ye,e);var t=J.current,a=gm(t,e.type);t!==a&&(G(ae,e),G(J,a))}function ci(e){ae.current===e&&(N(J),N(ae)),ye.current===e&&(N(ye),Wn._currentValue=ee)}var $u,Zc;function Fa(e){if($u===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);$u=t&&t[1]||"",Zc=-1<a.stack.indexOf(`
|
|
43
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
+
`+$u+e+Zc}var Wu=!1;function Fu(e,t){if(!e||Wu)return"";Wu=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(z){var R=z}Reflect.construct(e,[],M)}else{try{M.call()}catch(z){R=z}e.call(M.prototype)}}else{try{throw Error()}catch(z){R=z}(M=e())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(z){if(z&&R&&typeof z.stack=="string")return[z.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=l.DetermineComponentFrameRoot(),s=i[0],d=i[1];if(s&&d){var y=s.split(`
|
|
45
|
+
`),w=d.split(`
|
|
46
|
+
`);for(n=l=0;l<y.length&&!y[l].includes("DetermineComponentFrameRoot");)l++;for(;n<w.length&&!w[n].includes("DetermineComponentFrameRoot");)n++;if(l===y.length||n===w.length)for(l=y.length-1,n=w.length-1;1<=l&&0<=n&&y[l]!==w[n];)n--;for(;1<=l&&0<=n;l--,n--)if(y[l]!==w[n]){if(l!==1||n!==1)do if(l--,n--,0>n||y[l]!==w[n]){var A=`
|
|
47
|
+
`+y[l].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=l&&0<=n);break}}}finally{Wu=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Fa(a):""}function cp(e,t){switch(e.tag){case 26:case 27:case 5:return Fa(e.type);case 16:return Fa("Lazy");case 13:return e.child!==t&&t!==null?Fa("Suspense Fallback"):Fa("Suspense");case 19:return Fa("SuspenseList");case 0:case 15:return Fu(e.type,!1);case 11:return Fu(e.type.render,!1);case 1:return Fu(e.type,!0);case 31:return Fa("Activity");default:return""}}function Kc(e){try{var t="",a=null;do t+=cp(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
|
|
48
|
+
Error generating stack: `+l.message+`
|
|
49
|
+
`+l.stack}}var Iu=Object.prototype.hasOwnProperty,Pu=u.unstable_scheduleCallback,er=u.unstable_cancelCallback,sp=u.unstable_shouldYield,fp=u.unstable_requestPaint,_t=u.unstable_now,dp=u.unstable_getCurrentPriorityLevel,Jc=u.unstable_ImmediatePriority,$c=u.unstable_UserBlockingPriority,si=u.unstable_NormalPriority,mp=u.unstable_LowPriority,Wc=u.unstable_IdlePriority,hp=u.log,pp=u.unstable_setDisableYieldValue,on=null,yt=null;function Sa(e){if(typeof hp=="function"&&pp(e),yt&&typeof yt.setStrictMode=="function")try{yt.setStrictMode(on,e)}catch{}}var gt=Math.clz32?Math.clz32:gp,_p=Math.log,yp=Math.LN2;function gp(e){return e>>>=0,e===0?32:31-(_p(e)/yp|0)|0}var fi=256,di=262144,mi=4194304;function Ia(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 e}}function hi(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,i=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var d=l&134217727;return d!==0?(l=d&~i,l!==0?n=Ia(l):(s&=d,s!==0?n=Ia(s):a||(a=d&~e,a!==0&&(n=Ia(a))))):(d=l&~i,d!==0?n=Ia(d):s!==0?n=Ia(s):a||(a=l&~e,a!==0&&(n=Ia(a)))),n===0?0:t!==0&&t!==n&&(t&i)===0&&(i=n&-n,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:n}function cn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function vp(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-1}}function Fc(){var e=mi;return mi<<=1,(mi&62914560)===0&&(mi=4194304),e}function tr(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function sn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function bp(e,t,a,l,n,i){var s=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var d=e.entanglements,y=e.expirationTimes,w=e.hiddenUpdates;for(a=s&~a;0<a;){var A=31-gt(a),M=1<<A;d[A]=0,y[A]=-1;var R=w[A];if(R!==null)for(w[A]=null,A=0;A<R.length;A++){var z=R[A];z!==null&&(z.lane&=-536870913)}a&=~M}l!==0&&Ic(e,l,0),i!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=i&~(s&~t))}function Ic(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-gt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&261930}function Pc(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-gt(a),n=1<<l;n&t|e[l]&t&&(e[l]|=t),a&=~n}}function es(e,t){var a=t&-t;return a=(a&42)!==0?1:ar(a),(a&(e.suspendedLanes|t))!==0?0:a}function ar(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 lr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ts(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Ym(e.type))}function as(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var Ea=Math.random().toString(36).slice(2),Fe="__reactFiber$"+Ea,ct="__reactProps$"+Ea,vl="__reactContainer$"+Ea,nr="__reactEvents$"+Ea,xp="__reactListeners$"+Ea,Sp="__reactHandles$"+Ea,ls="__reactResources$"+Ea,fn="__reactMarker$"+Ea;function ir(e){delete e[Fe],delete e[ct],delete e[nr],delete e[xp],delete e[Sp]}function bl(e){var t=e[Fe];if(t)return t;for(var a=e.parentNode;a;){if(t=a[vl]||a[Fe]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=km(e);e!==null;){if(a=e[Fe])return a;e=km(e)}return t}e=a,a=e.parentNode}return null}function xl(e){if(e=e[Fe]||e[vl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function dn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Sl(e){var t=e[ls];return t||(t=e[ls]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function $e(e){e[fn]=!0}var ns=new Set,is={};function Pa(e,t){El(e,t),El(e+"Capture",t)}function El(e,t){for(is[e]=t,e=0;e<t.length;e++)ns.add(t[e])}var Ep=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),us={},rs={};function Tp(e){return Iu.call(rs,e)?!0:Iu.call(us,e)?!1:Ep.test(e)?rs[e]=!0:(us[e]=!0,!1)}function pi(e,t,a){if(Tp(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function _i(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function aa(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}function zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function os(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kp(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(s){a=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(s){a=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ur(e){if(!e._valueTracker){var t=os(e)?"checked":"value";e._valueTracker=kp(e,t,""+e[t])}}function cs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=os(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function yi(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}}var wp=/[\n"\\]/g;function At(e){return e.replace(wp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function rr(e,t,a,l,n,i,s,d){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zt(t)):e.value!==""+zt(t)&&(e.value=""+zt(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?or(e,s,zt(t)):a!=null?or(e,s,zt(a)):l!=null&&e.removeAttribute("value"),n==null&&i!=null&&(e.defaultChecked=!!i),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+zt(d):e.removeAttribute("name")}function ss(e,t,a,l,n,i,s,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ur(e);return}a=a!=null?""+zt(a):"",t=t!=null?""+zt(t):a,d||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=d?e.checked:!!l,e.defaultChecked=!!l,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),ur(e)}function or(e,t,a){t==="number"&&yi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Tl(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&l&&(e[a].defaultSelected=!0)}else{for(a=""+zt(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,l&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function fs(e,t,a){if(t!=null&&(t=""+zt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+zt(a):""}function ds(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(o(92));if(Ye(l)){if(1<l.length)throw Error(o(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=zt(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l),ur(e)}function kl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Rp=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(" "));function ms(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Rp.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function hs(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var n in t)l=t[n],t.hasOwnProperty(n)&&a[n]!==l&&ms(e,n,l)}else for(var i in t)t.hasOwnProperty(i)&&ms(e,i,t[i])}function cr(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}}var jp=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"]]),zp=/^[\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;function gi(e){return zp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function la(){}var sr=null;function fr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wl=null,Rl=null;function ps(e){var t=xl(e);if(t&&(e=t.stateNode)){var a=e[ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(rr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+At(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var n=l[ct]||null;if(!n)throw Error(o(90));rr(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&cs(l)}break e;case"textarea":fs(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Tl(e,!!a.multiple,t,!1)}}}var dr=!1;function _s(e,t,a){if(dr)return e(t,a);dr=!0;try{var l=e(t);return l}finally{if(dr=!1,(wl!==null||Rl!==null)&&(iu(),wl&&(t=wl,e=Rl,Rl=wl=null,ps(t),e)))for(t=0;t<e.length;t++)ps(e[t])}}function mn(e,t){var a=e.stateNode;if(a===null)return null;var l=a[ct]||null;if(l===null)return null;a=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mr=!1;if(na)try{var hn={};Object.defineProperty(hn,"passive",{get:function(){mr=!0}}),window.addEventListener("test",hn,hn),window.removeEventListener("test",hn,hn)}catch{mr=!1}var Ta=null,hr=null,vi=null;function ys(){if(vi)return vi;var e,t=hr,a=t.length,l,n="value"in Ta?Ta.value:Ta.textContent,i=n.length;for(e=0;e<a&&t[e]===n[e];e++);var s=a-e;for(l=1;l<=s&&t[a-l]===n[i-l];l++);return vi=n.slice(e,1<l?1-l:void 0)}function bi(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 xi(){return!0}function gs(){return!1}function st(e){function t(a,l,n,i,s){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?xi:gs,this.isPropagationStopped=gs,this}return S(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=xi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),t}var el={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Si=st(el),pn=S({},el,{view:0,detail:0}),Ap=st(pn),pr,_r,_n,Ei=S({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gr,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!==_n&&(_n&&e.type==="mousemove"?(pr=e.screenX-_n.screenX,_r=e.screenY-_n.screenY):_r=pr=0,_n=e),pr)},movementY:function(e){return"movementY"in e?e.movementY:_r}}),vs=st(Ei),Op=S({},Ei,{dataTransfer:0}),Cp=st(Op),Mp=S({},pn,{relatedTarget:0}),yr=st(Mp),Np=S({},el,{animationName:0,elapsedTime:0,pseudoElement:0}),Dp=st(Np),Up=S({},el,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qp=st(Up),Hp=S({},el,{data:0}),bs=st(Hp),Lp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bp={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"},Yp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yp[e])?!!t[e]:!1}function gr(){return Gp}var Xp=S({},pn,{key:function(e){if(e.key){var t=Lp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gr,charCode:function(e){return e.type==="keypress"?bi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Qp=st(Xp),Vp=S({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xs=st(Vp),Zp=S({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gr}),Kp=st(Zp),Jp=S({},el,{propertyName:0,elapsedTime:0,pseudoElement:0}),$p=st(Jp),Wp=S({},Ei,{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}),Fp=st(Wp),Ip=S({},el,{newState:0,oldState:0}),Pp=st(Ip),e_=[9,13,27,32],vr=na&&"CompositionEvent"in window,yn=null;na&&"documentMode"in document&&(yn=document.documentMode);var t_=na&&"TextEvent"in window&&!yn,Ss=na&&(!vr||yn&&8<yn&&11>=yn),Es=" ",Ts=!1;function ks(e,t){switch(e){case"keyup":return e_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ws(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jl=!1;function a_(e,t){switch(e){case"compositionend":return ws(t);case"keypress":return t.which!==32?null:(Ts=!0,Es);case"textInput":return e=t.data,e===Es&&Ts?null:e;default:return null}}function l_(e,t){if(jl)return e==="compositionend"||!vr&&ks(e,t)?(e=ys(),vi=hr=Ta=null,jl=!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 Ss&&t.locale!=="ko"?null:t.data;default:return null}}var n_={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};function Rs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!n_[e.type]:t==="textarea"}function js(e,t,a,l){wl?Rl?Rl.push(l):Rl=[l]:wl=l,t=du(t,"onChange"),0<t.length&&(a=new Si("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var gn=null,vn=null;function i_(e){fm(e,0)}function Ti(e){var t=dn(e);if(cs(t))return e}function zs(e,t){if(e==="change")return t}var As=!1;if(na){var br;if(na){var xr="oninput"in document;if(!xr){var Os=document.createElement("div");Os.setAttribute("oninput","return;"),xr=typeof Os.oninput=="function"}br=xr}else br=!1;As=br&&(!document.documentMode||9<document.documentMode)}function Cs(){gn&&(gn.detachEvent("onpropertychange",Ms),vn=gn=null)}function Ms(e){if(e.propertyName==="value"&&Ti(vn)){var t=[];js(t,vn,e,fr(e)),_s(i_,t)}}function u_(e,t,a){e==="focusin"?(Cs(),gn=t,vn=a,gn.attachEvent("onpropertychange",Ms)):e==="focusout"&&Cs()}function r_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ti(vn)}function o_(e,t){if(e==="click")return Ti(t)}function c_(e,t){if(e==="input"||e==="change")return Ti(t)}function s_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:s_;function bn(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!Iu.call(t,n)||!vt(e[n],t[n]))return!1}return!0}function Ns(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ds(e,t){var a=Ns(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ns(a)}}function Us(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Us(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qs(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=yi(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=yi(e.document)}return t}function Sr(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")}var f_=na&&"documentMode"in document&&11>=document.documentMode,zl=null,Er=null,xn=null,Tr=!1;function Hs(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Tr||zl==null||zl!==yi(l)||(l=zl,"selectionStart"in l&&Sr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),xn&&bn(xn,l)||(xn=l,l=du(Er,"onSelect"),0<l.length&&(t=new Si("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=zl)))}function tl(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Al={animationend:tl("Animation","AnimationEnd"),animationiteration:tl("Animation","AnimationIteration"),animationstart:tl("Animation","AnimationStart"),transitionrun:tl("Transition","TransitionRun"),transitionstart:tl("Transition","TransitionStart"),transitioncancel:tl("Transition","TransitionCancel"),transitionend:tl("Transition","TransitionEnd")},kr={},Ls={};na&&(Ls=document.createElement("div").style,"AnimationEvent"in window||(delete Al.animationend.animation,delete Al.animationiteration.animation,delete Al.animationstart.animation),"TransitionEvent"in window||delete Al.transitionend.transition);function al(e){if(kr[e])return kr[e];if(!Al[e])return e;var t=Al[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Ls)return kr[e]=t[a];return e}var Bs=al("animationend"),Ys=al("animationiteration"),Gs=al("animationstart"),d_=al("transitionrun"),m_=al("transitionstart"),h_=al("transitioncancel"),Xs=al("transitionend"),Qs=new Map,wr="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(" ");wr.push("scrollEnd");function Gt(e,t){Qs.set(e,t),Pa(t,[e])}var ki=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)},Ot=[],Ol=0,Rr=0;function wi(){for(var e=Ol,t=Rr=Ol=0;t<e;){var a=Ot[t];Ot[t++]=null;var l=Ot[t];Ot[t++]=null;var n=Ot[t];Ot[t++]=null;var i=Ot[t];if(Ot[t++]=null,l!==null&&n!==null){var s=l.pending;s===null?n.next=n:(n.next=s.next,s.next=n),l.pending=n}i!==0&&Vs(a,n,i)}}function Ri(e,t,a,l){Ot[Ol++]=e,Ot[Ol++]=t,Ot[Ol++]=a,Ot[Ol++]=l,Rr|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function jr(e,t,a,l){return Ri(e,t,a,l),ji(e)}function ll(e,t){return Ri(e,null,null,t),ji(e)}function Vs(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var n=!1,i=e.return;i!==null;)i.childLanes|=a,l=i.alternate,l!==null&&(l.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&&t!==null&&(n=31-gt(a),e=i.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),i):null}function ji(e){if(50<Xn)throw Xn=0,Ho=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Cl={};function p_(e,t,a,l){this.tag=e,this.key=a,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,a,l){return new p_(e,t,a,l)}function zr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ia(e,t){var a=e.alternate;return a===null?(a=bt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Zs(e,t){e.flags&=65011714;var a=e.alternate;return a===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.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zi(e,t,a,l,n,i){var s=0;if(l=e,typeof e=="function")zr(e)&&(s=1);else if(typeof e=="string")s=by(e,a,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case De:return e=bt(31,a,t,n),e.elementType=De,e.lanes=i,e;case H:return nl(a.children,n,i,t);case B:s=8,n|=24;break;case L:return e=bt(12,a,t,n|2),e.elementType=L,e.lanes=i,e;case fe:return e=bt(13,a,t,n),e.elementType=fe,e.lanes=i,e;case K:return e=bt(19,a,t,n),e.elementType=K,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case F:s=10;break e;case P:s=9;break e;case me:s=11;break e;case X:s=14;break e;case ve:s=16,l=null;break e}s=29,a=Error(o(130,e===null?"null":typeof e,"")),l=null}return t=bt(s,a,t,n),t.elementType=e,t.type=l,t.lanes=i,t}function nl(e,t,a,l){return e=bt(7,e,l,t),e.lanes=a,e}function Ar(e,t,a){return e=bt(6,e,null,t),e.lanes=a,e}function Ks(e){var t=bt(18,null,null,0);return t.stateNode=e,t}function Or(e,t,a){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Js=new WeakMap;function Ct(e,t){if(typeof e=="object"&&e!==null){var a=Js.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Kc(t)},Js.set(e,t),t)}return{value:e,source:t,stack:Kc(t)}}var Ml=[],Nl=0,Ai=null,Sn=0,Mt=[],Nt=0,ka=null,Jt=1,$t="";function ua(e,t){Ml[Nl++]=Sn,Ml[Nl++]=Ai,Ai=e,Sn=t}function $s(e,t,a){Mt[Nt++]=Jt,Mt[Nt++]=$t,Mt[Nt++]=ka,ka=e;var l=Jt;e=$t;var n=32-gt(l)-1;l&=~(1<<n),a+=1;var i=32-gt(t)+n;if(30<i){var s=n-n%5;i=(l&(1<<s)-1).toString(32),l>>=s,n-=s,Jt=1<<32-gt(t)+n|a<<n|l,$t=i+e}else Jt=1<<i|a<<n|l,$t=e}function Cr(e){e.return!==null&&(ua(e,1),$s(e,1,0))}function Mr(e){for(;e===Ai;)Ai=Ml[--Nl],Ml[Nl]=null,Sn=Ml[--Nl],Ml[Nl]=null;for(;e===ka;)ka=Mt[--Nt],Mt[Nt]=null,$t=Mt[--Nt],Mt[Nt]=null,Jt=Mt[--Nt],Mt[Nt]=null}function Ws(e,t){Mt[Nt++]=Jt,Mt[Nt++]=$t,Mt[Nt++]=ka,Jt=t.id,$t=t.overflow,ka=e}var Ie=null,Ae=null,de=!1,wa=null,Dt=!1,Nr=Error(o(519));function Ra(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw En(Ct(t,e)),Nr}function Fs(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[Fe]=e,t[ct]=l,a){case"dialog":oe("cancel",t),oe("close",t);break;case"iframe":case"object":case"embed":oe("load",t);break;case"video":case"audio":for(a=0;a<Vn.length;a++)oe(Vn[a],t);break;case"source":oe("error",t);break;case"img":case"image":case"link":oe("error",t),oe("load",t);break;case"details":oe("toggle",t);break;case"input":oe("invalid",t),ss(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":oe("invalid",t);break;case"textarea":oe("invalid",t),ds(t,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||pm(t.textContent,a)?(l.popover!=null&&(oe("beforetoggle",t),oe("toggle",t)),l.onScroll!=null&&oe("scroll",t),l.onScrollEnd!=null&&oe("scrollend",t),l.onClick!=null&&(t.onclick=la),t=!0):t=!1,t||Ra(e,!0)}function Is(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 31:case 13:Dt=!1;return;case 27:case 3:Dt=!0;return;default:Ie=Ie.return}}function Dl(e){if(e!==Ie)return!1;if(!de)return Is(e),de=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Po(e.type,e.memoizedProps)),a=!a),a&&Ae&&Ra(e),Is(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ae=Tm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ae=Tm(e)}else t===27?(t=Ae,Ya(e.type)?(e=nc,nc=null,Ae=e):Ae=t):Ae=Ie?qt(e.stateNode.nextSibling):null;return!0}function il(){Ae=Ie=null,de=!1}function Dr(){var e=wa;return e!==null&&(ht===null?ht=e:ht.push.apply(ht,e),wa=null),e}function En(e){wa===null?wa=[e]:wa.push(e)}var Ur=b(null),ul=null,ra=null;function ja(e,t,a){G(Ur,t._currentValue),t._currentValue=a}function oa(e){e._currentValue=Ur.current,N(Ur)}function qr(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function Hr(e,t,a,l){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var s=n.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=n;for(var y=0;y<t.length;y++)if(d.context===t[y]){i.lanes|=a,d=i.alternate,d!==null&&(d.lanes|=a),qr(i.return,a,e),l||(s=null);break e}i=d.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(o(341));s.lanes|=a,i=s.alternate,i!==null&&(i.lanes|=a),qr(s,a,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function Ul(e,t,a,l){e=null;for(var n=t,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var d=n.type;vt(n.pendingProps.value,s.value)||(e!==null?e.push(d):e=[d])}}else if(n===ye.current){if(s=n.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Wn):e=[Wn])}n=n.return}e!==null&&Hr(t,e,a,l),t.flags|=262144}function Oi(e){for(e=e.firstContext;e!==null;){if(!vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rl(e){ul=e,ra=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Pe(e){return Ps(ul,e)}function Ci(e,t){return ul===null&&rl(e),Ps(e,t)}function Ps(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ra===null){if(e===null)throw Error(o(308));ra=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ra=ra.next=t;return a}var __=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},y_=u.unstable_scheduleCallback,g_=u.unstable_NormalPriority,Ge={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Lr(){return{controller:new __,data:new Map,refCount:0}}function Tn(e){e.refCount--,e.refCount===0&&y_(g_,function(){e.controller.abort()})}var kn=null,Br=0,ql=0,Hl=null;function v_(e,t){if(kn===null){var a=kn=[];Br=0,ql=Qo(),Hl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Br++,t.then(ef,ef),t}function ef(){if(--Br===0&&kn!==null){Hl!==null&&(Hl.status="fulfilled");var e=kn;kn=null,ql=0,Hl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function b_(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var tf=O.S;O.S=function(e,t){Ld=_t(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&v_(e,t),tf!==null&&tf(e,t)};var ol=b(null);function Yr(){var e=ol.current;return e!==null?e:je.pooledCache}function Mi(e,t){t===null?G(ol,ol.current):G(ol,t.pool)}function af(){var e=Yr();return e===null?null:{parent:Ge._currentValue,pool:e}}var Ll=Error(o(460)),Gr=Error(o(474)),Ni=Error(o(542)),Di={then:function(){}};function lf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function nf(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(la,la),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,rf(e),e;default:if(typeof t.status=="string")t.then(la,la);else{if(e=je,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=l}},function(l){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,rf(e),e}throw sl=t,Ll}}function cl(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(sl=a,Ll):a}}var sl=null;function uf(){if(sl===null)throw Error(o(459));var e=sl;return sl=null,e}function rf(e){if(e===Ll||e===Ni)throw Error(o(483))}var Bl=null,wn=0;function Ui(e){var t=wn;return wn+=1,Bl===null&&(Bl=[]),nf(Bl,e,t)}function Rn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function qi(e,t){throw t.$$typeof===D?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function of(e){function t(E,v){if(e){var k=E.deletions;k===null?(E.deletions=[v],E.flags|=16):k.push(v)}}function a(E,v){if(!e)return null;for(;v!==null;)t(E,v),v=v.sibling;return null}function l(E){for(var v=new Map;E!==null;)E.key!==null?v.set(E.key,E):v.set(E.index,E),E=E.sibling;return v}function n(E,v){return E=ia(E,v),E.index=0,E.sibling=null,E}function i(E,v,k){return E.index=k,e?(k=E.alternate,k!==null?(k=k.index,k<v?(E.flags|=67108866,v):k):(E.flags|=67108866,v)):(E.flags|=1048576,v)}function s(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function d(E,v,k,C){return v===null||v.tag!==6?(v=Ar(k,E.mode,C),v.return=E,v):(v=n(v,k),v.return=E,v)}function y(E,v,k,C){var W=k.type;return W===H?A(E,v,k.props.children,C,k.key):v!==null&&(v.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===ve&&cl(W)===v.type)?(v=n(v,k.props),Rn(v,k),v.return=E,v):(v=zi(k.type,k.key,k.props,null,E.mode,C),Rn(v,k),v.return=E,v)}function w(E,v,k,C){return v===null||v.tag!==4||v.stateNode.containerInfo!==k.containerInfo||v.stateNode.implementation!==k.implementation?(v=Or(k,E.mode,C),v.return=E,v):(v=n(v,k.children||[]),v.return=E,v)}function A(E,v,k,C,W){return v===null||v.tag!==7?(v=nl(k,E.mode,C,W),v.return=E,v):(v=n(v,k),v.return=E,v)}function M(E,v,k){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Ar(""+v,E.mode,k),v.return=E,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case V:return k=zi(v.type,v.key,v.props,null,E.mode,k),Rn(k,v),k.return=E,k;case q:return v=Or(v,E.mode,k),v.return=E,v;case ve:return v=cl(v),M(E,v,k)}if(Ye(v)||Ke(v))return v=nl(v,E.mode,k,null),v.return=E,v;if(typeof v.then=="function")return M(E,Ui(v),k);if(v.$$typeof===F)return M(E,Ci(E,v),k);qi(E,v)}return null}function R(E,v,k,C){var W=v!==null?v.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return W!==null?null:d(E,v,""+k,C);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case V:return k.key===W?y(E,v,k,C):null;case q:return k.key===W?w(E,v,k,C):null;case ve:return k=cl(k),R(E,v,k,C)}if(Ye(k)||Ke(k))return W!==null?null:A(E,v,k,C,null);if(typeof k.then=="function")return R(E,v,Ui(k),C);if(k.$$typeof===F)return R(E,v,Ci(E,k),C);qi(E,k)}return null}function z(E,v,k,C,W){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return E=E.get(k)||null,d(v,E,""+C,W);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case V:return E=E.get(C.key===null?k:C.key)||null,y(v,E,C,W);case q:return E=E.get(C.key===null?k:C.key)||null,w(v,E,C,W);case ve:return C=cl(C),z(E,v,k,C,W)}if(Ye(C)||Ke(C))return E=E.get(k)||null,A(v,E,C,W,null);if(typeof C.then=="function")return z(E,v,k,Ui(C),W);if(C.$$typeof===F)return z(E,v,k,Ci(v,C),W);qi(v,C)}return null}function Z(E,v,k,C){for(var W=null,he=null,$=v,ne=v=0,se=null;$!==null&&ne<k.length;ne++){$.index>ne?(se=$,$=null):se=$.sibling;var pe=R(E,$,k[ne],C);if(pe===null){$===null&&($=se);break}e&&$&&pe.alternate===null&&t(E,$),v=i(pe,v,ne),he===null?W=pe:he.sibling=pe,he=pe,$=se}if(ne===k.length)return a(E,$),de&&ua(E,ne),W;if($===null){for(;ne<k.length;ne++)$=M(E,k[ne],C),$!==null&&(v=i($,v,ne),he===null?W=$:he.sibling=$,he=$);return de&&ua(E,ne),W}for($=l($);ne<k.length;ne++)se=z($,E,ne,k[ne],C),se!==null&&(e&&se.alternate!==null&&$.delete(se.key===null?ne:se.key),v=i(se,v,ne),he===null?W=se:he.sibling=se,he=se);return e&&$.forEach(function(Za){return t(E,Za)}),de&&ua(E,ne),W}function I(E,v,k,C){if(k==null)throw Error(o(151));for(var W=null,he=null,$=v,ne=v=0,se=null,pe=k.next();$!==null&&!pe.done;ne++,pe=k.next()){$.index>ne?(se=$,$=null):se=$.sibling;var Za=R(E,$,pe.value,C);if(Za===null){$===null&&($=se);break}e&&$&&Za.alternate===null&&t(E,$),v=i(Za,v,ne),he===null?W=Za:he.sibling=Za,he=Za,$=se}if(pe.done)return a(E,$),de&&ua(E,ne),W;if($===null){for(;!pe.done;ne++,pe=k.next())pe=M(E,pe.value,C),pe!==null&&(v=i(pe,v,ne),he===null?W=pe:he.sibling=pe,he=pe);return de&&ua(E,ne),W}for($=l($);!pe.done;ne++,pe=k.next())pe=z($,E,ne,pe.value,C),pe!==null&&(e&&pe.alternate!==null&&$.delete(pe.key===null?ne:pe.key),v=i(pe,v,ne),he===null?W=pe:he.sibling=pe,he=pe);return e&&$.forEach(function(Oy){return t(E,Oy)}),de&&ua(E,ne),W}function ke(E,v,k,C){if(typeof k=="object"&&k!==null&&k.type===H&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case V:e:{for(var W=k.key;v!==null;){if(v.key===W){if(W=k.type,W===H){if(v.tag===7){a(E,v.sibling),C=n(v,k.props.children),C.return=E,E=C;break e}}else if(v.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===ve&&cl(W)===v.type){a(E,v.sibling),C=n(v,k.props),Rn(C,k),C.return=E,E=C;break e}a(E,v);break}else t(E,v);v=v.sibling}k.type===H?(C=nl(k.props.children,E.mode,C,k.key),C.return=E,E=C):(C=zi(k.type,k.key,k.props,null,E.mode,C),Rn(C,k),C.return=E,E=C)}return s(E);case q:e:{for(W=k.key;v!==null;){if(v.key===W)if(v.tag===4&&v.stateNode.containerInfo===k.containerInfo&&v.stateNode.implementation===k.implementation){a(E,v.sibling),C=n(v,k.children||[]),C.return=E,E=C;break e}else{a(E,v);break}else t(E,v);v=v.sibling}C=Or(k,E.mode,C),C.return=E,E=C}return s(E);case ve:return k=cl(k),ke(E,v,k,C)}if(Ye(k))return Z(E,v,k,C);if(Ke(k)){if(W=Ke(k),typeof W!="function")throw Error(o(150));return k=W.call(k),I(E,v,k,C)}if(typeof k.then=="function")return ke(E,v,Ui(k),C);if(k.$$typeof===F)return ke(E,v,Ci(E,k),C);qi(E,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,v!==null&&v.tag===6?(a(E,v.sibling),C=n(v,k),C.return=E,E=C):(a(E,v),C=Ar(k,E.mode,C),C.return=E,E=C),s(E)):a(E,v)}return function(E,v,k,C){try{wn=0;var W=ke(E,v,k,C);return Bl=null,W}catch($){if($===Ll||$===Ni)throw $;var he=bt(29,$,null,E.mode);return he.lanes=C,he.return=E,he}finally{}}}var fl=of(!0),cf=of(!1),za=!1;function Xr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qr(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 Aa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Oa(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(_e&2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=ji(e),Vs(e,null,a),t}return Ri(e,l,t,a),ji(e)}function jn(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Pc(e,a)}}function Vr(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var s={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?n=i=s:i=i.next=s,a=a.next}while(a!==null);i===null?n=i=t:i=i.next=t}else n=i=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Zr=!1;function zn(){if(Zr){var e=Hl;if(e!==null)throw e}}function An(e,t,a,l){Zr=!1;var n=e.updateQueue;za=!1;var i=n.firstBaseUpdate,s=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var y=d,w=y.next;y.next=null,s===null?i=w:s.next=w,s=y;var A=e.alternate;A!==null&&(A=A.updateQueue,d=A.lastBaseUpdate,d!==s&&(d===null?A.firstBaseUpdate=w:d.next=w,A.lastBaseUpdate=y))}if(i!==null){var M=n.baseState;s=0,A=w=y=null,d=i;do{var R=d.lane&-536870913,z=R!==d.lane;if(z?(ce&R)===R:(l&R)===R){R!==0&&R===ql&&(Zr=!0),A!==null&&(A=A.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var Z=e,I=d;R=t;var ke=a;switch(I.tag){case 1:if(Z=I.payload,typeof Z=="function"){M=Z.call(ke,M,R);break e}M=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=I.payload,R=typeof Z=="function"?Z.call(ke,M,R):Z,R==null)break e;M=S({},M,R);break e;case 2:za=!0}}R=d.callback,R!==null&&(e.flags|=64,z&&(e.flags|=8192),z=n.callbacks,z===null?n.callbacks=[R]:z.push(R))}else z={lane:R,tag:d.tag,payload:d.payload,callback:d.callback,next:null},A===null?(w=A=z,y=M):A=A.next=z,s|=R;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;z=d,d=z.next,z.next=null,n.lastBaseUpdate=z,n.shared.pending=null}}while(!0);A===null&&(y=M),n.baseState=y,n.firstBaseUpdate=w,n.lastBaseUpdate=A,i===null&&(n.shared.lanes=0),Ua|=s,e.lanes=s,e.memoizedState=M}}function sf(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function ff(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)sf(a[e],t)}var Yl=b(null),Hi=b(0);function df(e,t){e=ya,G(Hi,e),G(Yl,t),ya=e|t.baseLanes}function Kr(){G(Hi,ya),G(Yl,Yl.current)}function Jr(){ya=Hi.current,N(Yl),N(Hi)}var xt=b(null),Ut=null;function Ca(e){var t=e.alternate;G(Le,Le.current&1),G(xt,e),Ut===null&&(t===null||Yl.current!==null||t.memoizedState!==null)&&(Ut=e)}function $r(e){G(Le,Le.current),G(xt,e),Ut===null&&(Ut=e)}function mf(e){e.tag===22?(G(Le,Le.current),G(xt,e),Ut===null&&(Ut=e)):Ma()}function Ma(){G(Le,Le.current),G(xt,xt.current)}function St(e){N(xt),Ut===e&&(Ut=null),N(Le)}var Le=b(0);function Li(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||ac(a)||lc(a)))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}var ca=0,le=null,Ee=null,Xe=null,Bi=!1,Gl=!1,dl=!1,Yi=0,On=0,Xl=null,x_=0;function Ue(){throw Error(o(321))}function Wr(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!vt(e[a],t[a]))return!1;return!0}function Fr(e,t,a,l,n,i){return ca=i,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Wf:mo,dl=!1,i=a(l,n),dl=!1,Gl&&(i=pf(t,a,l,n)),hf(e),i}function hf(e){O.H=Nn;var t=Ee!==null&&Ee.next!==null;if(ca=0,Xe=Ee=le=null,Bi=!1,On=0,Xl=null,t)throw Error(o(300));e===null||Qe||(e=e.dependencies,e!==null&&Oi(e)&&(Qe=!0))}function pf(e,t,a,l){le=e;var n=0;do{if(Gl&&(Xl=null),On=0,Gl=!1,25<=n)throw Error(o(301));if(n+=1,Xe=Ee=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}O.H=Ff,i=t(a,l)}while(Gl);return i}function S_(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?Cn(t):t,e=e.useState()[0],(Ee!==null?Ee.memoizedState:null)!==e&&(le.flags|=1024),t}function Ir(){var e=Yi!==0;return Yi=0,e}function Pr(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function eo(e){if(Bi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Bi=!1}ca=0,Xe=Ee=le=null,Gl=!1,On=Yi=0,Xl=null}function ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?le.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Be(){if(Ee===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Xe===null?le.memoizedState:Xe.next;if(t!==null)Xe=t,Ee=e;else{if(e===null)throw le.alternate===null?Error(o(467)):Error(o(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Xe===null?le.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Gi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Cn(e){var t=On;return On+=1,Xl===null&&(Xl=[]),e=nf(Xl,e,t),t=le,(Xe===null?t.memoizedState:Xe.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Wf:mo),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Cn(e);if(e.$$typeof===F)return Pe(e)}throw Error(o(438,String(e)))}function to(e){var t=null,a=le.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=le.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Gi(),le.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=Ze;return t.index++,a}function sa(e,t){return typeof t=="function"?t(e):t}function Qi(e){var t=Be();return ao(t,Ee,e)}function ao(e,t,a){var l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=a;var n=e.baseQueue,i=l.pending;if(i!==null){if(n!==null){var s=n.next;n.next=i.next,i.next=s}t.baseQueue=n=i,l.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var d=s=null,y=null,w=t,A=!1;do{var M=w.lane&-536870913;if(M!==w.lane?(ce&M)===M:(ca&M)===M){var R=w.revertLane;if(R===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),M===ql&&(A=!0);else if((ca&R)===R){w=w.next,R===ql&&(A=!0);continue}else M={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},y===null?(d=y=M,s=i):y=y.next=M,le.lanes|=R,Ua|=R;M=w.action,dl&&a(i,M),i=w.hasEagerState?w.eagerState:a(i,M)}else R={lane:M,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},y===null?(d=y=R,s=i):y=y.next=R,le.lanes|=M,Ua|=M;w=w.next}while(w!==null&&w!==t);if(y===null?s=i:y.next=d,!vt(i,e.memoizedState)&&(Qe=!0,A&&(a=Hl,a!==null)))throw a;e.memoizedState=i,e.baseState=s,e.baseQueue=y,l.lastRenderedState=i}return n===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function lo(e){var t=Be(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,i=t.memoizedState;if(n!==null){a.pending=null;var s=n=n.next;do i=e(i,s.action),s=s.next;while(s!==n);vt(i,t.memoizedState)||(Qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,l]}function _f(e,t,a){var l=le,n=Be(),i=de;if(i){if(a===void 0)throw Error(o(407));a=a()}else a=t();var s=!vt((Ee||n).memoizedState,a);if(s&&(n.memoizedState=a,Qe=!0),n=n.queue,uo(vf.bind(null,l,n,e),[e]),n.getSnapshot!==t||s||Xe!==null&&Xe.memoizedState.tag&1){if(l.flags|=2048,Ql(9,{destroy:void 0},gf.bind(null,l,n,a,t),null),je===null)throw Error(o(349));i||(ca&127)!==0||yf(l,t,a)}return a}function yf(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=le.updateQueue,t===null?(t=Gi(),le.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function gf(e,t,a,l){t.value=a,t.getSnapshot=l,bf(t)&&xf(e)}function vf(e,t,a){return a(function(){bf(t)&&xf(e)})}function bf(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!vt(e,a)}catch{return!0}}function xf(e){var t=ll(e,2);t!==null&&pt(t,e,2)}function no(e){var t=ut();if(typeof e=="function"){var a=e;if(e=a(),dl){Sa(!0);try{a()}finally{Sa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:e},t}function Sf(e,t,a,l){return e.baseState=a,ao(e,Ee,typeof l=="function"?l:sa)}function E_(e,t,a,l,n){if(Ki(e))throw Error(o(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};O.T!==null?a(!0):i.isTransition=!1,l(i),a=t.pending,a===null?(i.next=t.pending=i,Ef(t,i)):(i.next=a.next,t.pending=a.next=i)}}function Ef(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var i=O.T,s={};O.T=s;try{var d=a(n,l),y=O.S;y!==null&&y(s,d),Tf(e,t,d)}catch(w){io(e,t,w)}finally{i!==null&&s.types!==null&&(i.types=s.types),O.T=i}}else try{i=a(n,l),Tf(e,t,i)}catch(w){io(e,t,w)}}function Tf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){kf(e,t,l)},function(l){return io(e,t,l)}):kf(e,t,a)}function kf(e,t,a){t.status="fulfilled",t.value=a,wf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Ef(e,a)))}function io(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,wf(t),t=t.next;while(t!==l)}e.action=null}function wf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Rf(e,t){return t}function jf(e,t){if(de){var a=je.formState;if(a!==null){e:{var l=le;if(de){if(Ae){t:{for(var n=Ae,i=Dt;n.nodeType!==8;){if(!i){n=null;break t}if(n=qt(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Ae=qt(n.nextSibling),l=n.data==="F!";break e}}Ra(l)}l=!1}l&&(t=a[0])}}return a=ut(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rf,lastRenderedState:t},a.queue=l,a=Kf.bind(null,le,l),l.dispatch=a,l=no(!1),i=fo.bind(null,le,!1,l.queue),l=ut(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=E_.bind(null,le,n,i,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function zf(e){var t=Be();return Af(t,Ee,e)}function Af(e,t,a){if(t=ao(e,t,Rf)[0],e=Qi(sa)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Cn(t)}catch(s){throw s===Ll?Ni:s}else l=t;t=Be();var n=t.queue,i=n.dispatch;return a!==t.memoizedState&&(le.flags|=2048,Ql(9,{destroy:void 0},T_.bind(null,n,a),null)),[l,i,e]}function T_(e,t){e.action=t}function Of(e){var t=Be(),a=Ee;if(a!==null)return Af(t,a,e);Be(),t=t.memoizedState,a=Be();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function Ql(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=le.updateQueue,t===null&&(t=Gi(),le.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Cf(){return Be().memoizedState}function Vi(e,t,a,l){var n=ut();le.flags|=e,n.memoizedState=Ql(1|t,{destroy:void 0},a,l===void 0?null:l)}function Zi(e,t,a,l){var n=Be();l=l===void 0?null:l;var i=n.memoizedState.inst;Ee!==null&&l!==null&&Wr(l,Ee.memoizedState.deps)?n.memoizedState=Ql(t,i,a,l):(le.flags|=e,n.memoizedState=Ql(1|t,i,a,l))}function Mf(e,t){Vi(8390656,8,e,t)}function uo(e,t){Zi(2048,8,e,t)}function k_(e){le.flags|=4;var t=le.updateQueue;if(t===null)t=Gi(),le.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Nf(e){var t=Be().memoizedState;return k_({ref:t,nextImpl:e}),function(){if((_e&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Df(e,t){return Zi(4,2,e,t)}function Uf(e,t){return Zi(4,4,e,t)}function qf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Hf(e,t,a){a=a!=null?a.concat([e]):null,Zi(4,4,qf.bind(null,t,e),a)}function ro(){}function Lf(e,t){var a=Be();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&Wr(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function Bf(e,t){var a=Be();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&Wr(t,l[1]))return l[0];if(l=e(),dl){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[l,t],l}function oo(e,t,a){return a===void 0||(ca&1073741824)!==0&&(ce&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Yd(),le.lanes|=e,Ua|=e,a)}function Yf(e,t,a,l){return vt(a,t)?a:Yl.current!==null?(e=oo(e,a,l),vt(e,t)||(Qe=!0),e):(ca&42)===0||(ca&1073741824)!==0&&(ce&261930)===0?(Qe=!0,e.memoizedState=a):(e=Yd(),le.lanes|=e,Ua|=e,t)}function Gf(e,t,a,l,n){var i=Y.p;Y.p=i!==0&&8>i?i:8;var s=O.T,d={};O.T=d,fo(e,!1,t,a);try{var y=n(),w=O.S;if(w!==null&&w(d,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var A=b_(y,l);Mn(e,t,A,kt(e))}else Mn(e,t,l,kt(e))}catch(M){Mn(e,t,{then:function(){},status:"rejected",reason:M},kt())}finally{Y.p=i,s!==null&&d.types!==null&&(s.types=d.types),O.T=s}}function w_(){}function co(e,t,a,l){if(e.tag!==5)throw Error(o(476));var n=Xf(e).queue;Gf(e,n,t,ee,a===null?w_:function(){return Qf(e),a(l)})}function Xf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:ee},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Qf(e){var t=Xf(e);t.next===null&&(t=e.alternate.memoizedState),Mn(e,t.next.queue,{},kt())}function so(){return Pe(Wn)}function Vf(){return Be().memoizedState}function Zf(){return Be().memoizedState}function R_(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=kt();e=Aa(a);var l=Oa(t,e,a);l!==null&&(pt(l,t,a),jn(l,t,a)),t={cache:Lr()},e.payload=t;return}t=t.return}}function j_(e,t,a){var l=kt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ki(e)?Jf(t,a):(a=jr(e,t,a,l),a!==null&&(pt(a,e,l),$f(a,t,l)))}function Kf(e,t,a){var l=kt();Mn(e,t,a,l)}function Mn(e,t,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))Jf(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,d=i(s,a);if(n.hasEagerState=!0,n.eagerState=d,vt(d,s))return Ri(e,t,n,0),je===null&&wi(),!1}catch{}finally{}if(a=jr(e,t,n,l),a!==null)return pt(a,e,l),$f(a,t,l),!0}return!1}function fo(e,t,a,l){if(l={lane:2,revertLane:Qo(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ki(e)){if(t)throw Error(o(479))}else t=jr(e,a,l,2),t!==null&&pt(t,e,2)}function Ki(e){var t=e.alternate;return e===le||t!==null&&t===le}function Jf(e,t){Gl=Bi=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function $f(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Pc(e,a)}}var Nn={readContext:Pe,use:Xi,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useLayoutEffect:Ue,useInsertionEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useSyncExternalStore:Ue,useId:Ue,useHostTransitionStatus:Ue,useFormState:Ue,useActionState:Ue,useOptimistic:Ue,useMemoCache:Ue,useCacheRefresh:Ue};Nn.useEffectEvent=Ue;var Wf={readContext:Pe,use:Xi,useCallback:function(e,t){return ut().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Mf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Vi(4194308,4,qf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){Vi(4,2,e,t)},useMemo:function(e,t){var a=ut();t=t===void 0?null:t;var l=e();if(dl){Sa(!0);try{e()}finally{Sa(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=ut();if(a!==void 0){var n=a(t);if(dl){Sa(!0);try{a(t)}finally{Sa(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=j_.bind(null,le,e),[l.memoizedState,e]},useRef:function(e){var t=ut();return e={current:e},t.memoizedState=e},useState:function(e){e=no(e);var t=e.queue,a=Kf.bind(null,le,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:ro,useDeferredValue:function(e,t){var a=ut();return oo(a,e,t)},useTransition:function(){var e=no(!1);return e=Gf.bind(null,le,e.queue,!0,!1),ut().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=le,n=ut();if(de){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),je===null)throw Error(o(349));(ce&127)!==0||yf(l,t,a)}n.memoizedState=a;var i={value:a,getSnapshot:t};return n.queue=i,Mf(vf.bind(null,l,i,e),[e]),l.flags|=2048,Ql(9,{destroy:void 0},gf.bind(null,l,i,a,t),null),a},useId:function(){var e=ut(),t=je.identifierPrefix;if(de){var a=$t,l=Jt;a=(l&~(1<<32-gt(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Yi++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=x_++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:so,useFormState:jf,useActionState:jf,useOptimistic:function(e){var t=ut();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=fo.bind(null,le,!0,a),a.dispatch=t,[e,t]},useMemoCache:to,useCacheRefresh:function(){return ut().memoizedState=R_.bind(null,le)},useEffectEvent:function(e){var t=ut(),a={impl:e};return t.memoizedState=a,function(){if((_e&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},mo={readContext:Pe,use:Xi,useCallback:Lf,useContext:Pe,useEffect:uo,useImperativeHandle:Hf,useInsertionEffect:Df,useLayoutEffect:Uf,useMemo:Bf,useReducer:Qi,useRef:Cf,useState:function(){return Qi(sa)},useDebugValue:ro,useDeferredValue:function(e,t){var a=Be();return Yf(a,Ee.memoizedState,e,t)},useTransition:function(){var e=Qi(sa)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:Cn(e),t]},useSyncExternalStore:_f,useId:Vf,useHostTransitionStatus:so,useFormState:zf,useActionState:zf,useOptimistic:function(e,t){var a=Be();return Sf(a,Ee,e,t)},useMemoCache:to,useCacheRefresh:Zf};mo.useEffectEvent=Nf;var Ff={readContext:Pe,use:Xi,useCallback:Lf,useContext:Pe,useEffect:uo,useImperativeHandle:Hf,useInsertionEffect:Df,useLayoutEffect:Uf,useMemo:Bf,useReducer:lo,useRef:Cf,useState:function(){return lo(sa)},useDebugValue:ro,useDeferredValue:function(e,t){var a=Be();return Ee===null?oo(a,e,t):Yf(a,Ee.memoizedState,e,t)},useTransition:function(){var e=lo(sa)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:Cn(e),t]},useSyncExternalStore:_f,useId:Vf,useHostTransitionStatus:so,useFormState:Of,useActionState:Of,useOptimistic:function(e,t){var a=Be();return Ee!==null?Sf(a,Ee,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:to,useCacheRefresh:Zf};Ff.useEffectEvent=Nf;function ho(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:S({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var po={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=kt(),n=Aa(l);n.payload=t,a!=null&&(n.callback=a),t=Oa(e,n,l),t!==null&&(pt(t,e,l),jn(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=kt(),n=Aa(l);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=Oa(e,n,l),t!==null&&(pt(t,e,l),jn(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=kt(),l=Aa(a);l.tag=2,t!=null&&(l.callback=t),t=Oa(e,l,a),t!==null&&(pt(t,e,a),jn(t,e,a))}};function If(e,t,a,l,n,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,i,s):t.prototype&&t.prototype.isPureReactComponent?!bn(a,l)||!bn(n,i):!0}function Pf(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&po.enqueueReplaceState(t,t.state,null)}function ml(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=S({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}function ed(e){ki(e)}function td(e){console.error(e)}function ad(e){ki(e)}function Ji(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function ld(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function _o(e,t,a){return a=Aa(a),a.tag=3,a.payload={element:null},a.callback=function(){Ji(e,t)},a}function nd(e){return e=Aa(e),e.tag=3,e}function id(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var i=l.value;e.payload=function(){return n(i)},e.callback=function(){ld(t,a,l)}}var s=a.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){ld(t,a,l),typeof n!="function"&&(qa===null?qa=new Set([this]):qa.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function z_(e,t,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&Ul(t,a,n,!0),a=xt.current,a!==null){switch(a.tag){case 31:case 13:return Ut===null?uu():a.alternate===null&&qe===0&&(qe=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Di?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),Yo(e,l,n)),!1;case 22:return a.flags|=65536,l===Di?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),Yo(e,l,n)),!1}throw Error(o(435,a.tag))}return Yo(e,l,n),uu(),!1}if(de)return t=xt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,l!==Nr&&(e=Error(o(422),{cause:l}),En(Ct(e,a)))):(l!==Nr&&(t=Error(o(423),{cause:l}),En(Ct(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,l=Ct(l,a),n=_o(e.stateNode,l,n),Vr(e,n),qe!==4&&(qe=2)),!1;var i=Error(o(520),{cause:l});if(i=Ct(i,a),Gn===null?Gn=[i]:Gn.push(i),qe!==4&&(qe=2),t===null)return!0;l=Ct(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=_o(a.stateNode,l,e),Vr(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(qa===null||!qa.has(i))))return a.flags|=65536,n&=-n,a.lanes|=n,n=nd(n),id(n,e,a,l),Vr(a,n),!1}a=a.return}while(a!==null);return!1}var yo=Error(o(461)),Qe=!1;function et(e,t,a,l){t.child=e===null?cf(t,null,a,l):fl(t,e.child,a,l)}function ud(e,t,a,l,n){a=a.render;var i=t.ref;if("ref"in l){var s={};for(var d in l)d!=="ref"&&(s[d]=l[d])}else s=l;return rl(t),l=Fr(e,t,a,s,i,n),d=Ir(),e!==null&&!Qe?(Pr(e,t,n),fa(e,t,n)):(de&&d&&Cr(t),t.flags|=1,et(e,t,l,n),t.child)}function rd(e,t,a,l,n){if(e===null){var i=a.type;return typeof i=="function"&&!zr(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,od(e,t,i,l,n)):(e=zi(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!ko(e,n)){var s=i.memoizedProps;if(a=a.compare,a=a!==null?a:bn,a(s,l)&&e.ref===t.ref)return fa(e,t,n)}return t.flags|=1,e=ia(i,l),e.ref=t.ref,e.return=t,t.child=e}function od(e,t,a,l,n){if(e!==null){var i=e.memoizedProps;if(bn(i,l)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=l=i,ko(e,n))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,fa(e,t,n)}return go(e,t,a,l,n)}function cd(e,t,a,l){var n=l.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(l=t.child=e.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;l=n&~i}else l=0,t.child=null;return sd(e,t,i,a,l)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Mi(t,i!==null?i.cachePool:null),i!==null?df(t,i):Kr(),mf(t);else return l=t.lanes=536870912,sd(e,t,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(Mi(t,i.cachePool),df(t,i),Ma(),t.memoizedState=null):(e!==null&&Mi(t,null),Kr(),Ma());return et(e,t,n,a),t.child}function Dn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function sd(e,t,a,l,n){var i=Yr();return i=i===null?null:{parent:Ge._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&Mi(t,null),Kr(),mf(t),e!==null&&Ul(e,t,l,!0),t.childLanes=n,null}function $i(e,t){return t=Fi({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fd(e,t,a){return fl(t,e.child,null,a),e=$i(t,t.pendingProps),e.flags|=2,St(t),t.memoizedState=null,e}function A_(e,t,a){var l=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(de){if(l.mode==="hidden")return e=$i(t,l),t.lanes=536870912,Dn(null,e);if($r(t),(e=Ae)?(e=Em(e,Dt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ka!==null?{id:Jt,overflow:$t}:null,retryLane:536870912,hydrationErrors:null},a=Ks(e),a.return=t,t.child=a,Ie=t,Ae=null)):e=null,e===null)throw Ra(t);return t.lanes=536870912,null}return $i(t,l)}var i=e.memoizedState;if(i!==null){var s=i.dehydrated;if($r(t),n)if(t.flags&256)t.flags&=-257,t=fd(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Qe||Ul(e,t,a,!1),n=(a&e.childLanes)!==0,Qe||n){if(l=je,l!==null&&(s=es(l,a),s!==0&&s!==i.retryLane))throw i.retryLane=s,ll(e,s),pt(l,e,s),yo;uu(),t=fd(e,t,a)}else e=i.treeContext,Ae=qt(s.nextSibling),Ie=t,de=!0,wa=null,Dt=!1,e!==null&&Ws(t,e),t=$i(t,l),t.flags|=4096;return t}return e=ia(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Wi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function go(e,t,a,l,n){return rl(t),a=Fr(e,t,a,l,void 0,n),l=Ir(),e!==null&&!Qe?(Pr(e,t,n),fa(e,t,n)):(de&&l&&Cr(t),t.flags|=1,et(e,t,a,n),t.child)}function dd(e,t,a,l,n,i){return rl(t),t.updateQueue=null,a=pf(t,l,a,n),hf(e),l=Ir(),e!==null&&!Qe?(Pr(e,t,i),fa(e,t,i)):(de&&l&&Cr(t),t.flags|=1,et(e,t,a,i),t.child)}function md(e,t,a,l,n){if(rl(t),t.stateNode===null){var i=Cl,s=a.contextType;typeof s=="object"&&s!==null&&(i=Pe(s)),i=new a(l,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=po,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=l,i.state=t.memoizedState,i.refs={},Xr(t),s=a.contextType,i.context=typeof s=="object"&&s!==null?Pe(s):Cl,i.state=t.memoizedState,s=a.getDerivedStateFromProps,typeof s=="function"&&(ho(t,a,s,l),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&po.enqueueReplaceState(i,i.state,null),An(t,l,i,n),zn(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,y=ml(a,d);i.props=y;var w=i.context,A=a.contextType;s=Cl,typeof A=="object"&&A!==null&&(s=Pe(A));var M=a.getDerivedStateFromProps;A=typeof M=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,A||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||w!==s)&&Pf(t,i,l,s),za=!1;var R=t.memoizedState;i.state=R,An(t,l,i,n),zn(),w=t.memoizedState,d||R!==w||za?(typeof M=="function"&&(ho(t,a,M,l),w=t.memoizedState),(y=za||If(t,a,y,l,R,w,s))?(A||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)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=w),i.props=l,i.state=w,i.context=s,l=y):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{i=t.stateNode,Qr(e,t),s=t.memoizedProps,A=ml(a,s),i.props=A,M=t.pendingProps,R=i.context,w=a.contextType,y=Cl,typeof w=="object"&&w!==null&&(y=Pe(w)),d=a.getDerivedStateFromProps,(w=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==M||R!==y)&&Pf(t,i,l,y),za=!1,R=t.memoizedState,i.state=R,An(t,l,i,n),zn();var z=t.memoizedState;s!==M||R!==z||za||e!==null&&e.dependencies!==null&&Oi(e.dependencies)?(typeof d=="function"&&(ho(t,a,d,l),z=t.memoizedState),(A=za||If(t,a,A,l,R,z,y)||e!==null&&e.dependencies!==null&&Oi(e.dependencies))?(w||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,z,y),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,z,y)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=z),i.props=l,i.state=z,i.context=y,l=A):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),l=!1)}return i=l,Wi(e,t),l=(t.flags&128)!==0,i||l?(i=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&l?(t.child=fl(t,e.child,null,n),t.child=fl(t,null,a,n)):et(e,t,a,n),t.memoizedState=i.state,e=t.child):e=fa(e,t,n),e}function hd(e,t,a,l){return il(),t.flags|=256,et(e,t,a,l),t.child}var vo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bo(e){return{baseLanes:e,cachePool:af()}}function xo(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Tt),e}function pd(e,t,a){var l=t.pendingProps,n=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(Le.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(de){if(n?Ca(t):Ma(),(e=Ae)?(e=Em(e,Dt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ka!==null?{id:Jt,overflow:$t}:null,retryLane:536870912,hydrationErrors:null},a=Ks(e),a.return=t,t.child=a,Ie=t,Ae=null)):e=null,e===null)throw Ra(t);return lc(e)?t.lanes=32:t.lanes=536870912,null}var d=l.children;return l=l.fallback,n?(Ma(),n=t.mode,d=Fi({mode:"hidden",children:d},n),l=nl(l,n,a,null),d.return=t,l.return=t,d.sibling=l,t.child=d,l=t.child,l.memoizedState=bo(a),l.childLanes=xo(e,s,a),t.memoizedState=vo,Dn(null,l)):(Ca(t),So(t,d))}var y=e.memoizedState;if(y!==null&&(d=y.dehydrated,d!==null)){if(i)t.flags&256?(Ca(t),t.flags&=-257,t=Eo(e,t,a)):t.memoizedState!==null?(Ma(),t.child=e.child,t.flags|=128,t=null):(Ma(),d=l.fallback,n=t.mode,l=Fi({mode:"visible",children:l.children},n),d=nl(d,n,a,null),d.flags|=2,l.return=t,d.return=t,l.sibling=d,t.child=l,fl(t,e.child,null,a),l=t.child,l.memoizedState=bo(a),l.childLanes=xo(e,s,a),t.memoizedState=vo,t=Dn(null,l));else if(Ca(t),lc(d)){if(s=d.nextSibling&&d.nextSibling.dataset,s)var w=s.dgst;s=w,l=Error(o(419)),l.stack="",l.digest=s,En({value:l,source:null,stack:null}),t=Eo(e,t,a)}else if(Qe||Ul(e,t,a,!1),s=(a&e.childLanes)!==0,Qe||s){if(s=je,s!==null&&(l=es(s,a),l!==0&&l!==y.retryLane))throw y.retryLane=l,ll(e,l),pt(s,e,l),yo;ac(d)||uu(),t=Eo(e,t,a)}else ac(d)?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,Ae=qt(d.nextSibling),Ie=t,de=!0,wa=null,Dt=!1,e!==null&&Ws(t,e),t=So(t,l.children),t.flags|=4096);return t}return n?(Ma(),d=l.fallback,n=t.mode,y=e.child,w=y.sibling,l=ia(y,{mode:"hidden",children:l.children}),l.subtreeFlags=y.subtreeFlags&65011712,w!==null?d=ia(w,d):(d=nl(d,n,a,null),d.flags|=2),d.return=t,l.return=t,l.sibling=d,t.child=l,Dn(null,l),l=t.child,d=e.child.memoizedState,d===null?d=bo(a):(n=d.cachePool,n!==null?(y=Ge._currentValue,n=n.parent!==y?{parent:y,pool:y}:n):n=af(),d={baseLanes:d.baseLanes|a,cachePool:n}),l.memoizedState=d,l.childLanes=xo(e,s,a),t.memoizedState=vo,Dn(e.child,l)):(Ca(t),a=e.child,e=a.sibling,a=ia(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=a,t.memoizedState=null,a)}function So(e,t){return t=Fi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Fi(e,t){return e=bt(22,e,null,t),e.lanes=0,e}function Eo(e,t,a){return fl(t,e.child,null,a),e=So(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _d(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),qr(e.return,t,a)}function To(e,t,a,l,n,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n,treeForkCount:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=l,s.tail=a,s.tailMode=n,s.treeForkCount=i)}function yd(e,t,a){var l=t.pendingProps,n=l.revealOrder,i=l.tail;l=l.children;var s=Le.current,d=(s&2)!==0;if(d?(s=s&1|2,t.flags|=128):s&=1,G(Le,s),et(e,t,l,a),l=de?Sn:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_d(e,a,t);else if(e.tag===19)_d(e,a,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(n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&Li(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),To(t,!1,n,a,i,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Li(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}To(t,!0,a,null,i,l);break;case"together":To(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function fa(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ua|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Ul(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,a=ia(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=ia(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ko(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Oi(e)))}function O_(e,t,a){switch(t.tag){case 3:it(t,t.stateNode.containerInfo),ja(t,Ge,e.memoizedState.cache),il();break;case 27:case 5:rn(t);break;case 4:it(t,t.stateNode.containerInfo);break;case 10:ja(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$r(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Ca(t),t.flags|=128,null):(a&t.child.childLanes)!==0?pd(e,t,a):(Ca(t),e=fa(e,t,a),e!==null?e.sibling:null);Ca(t);break;case 19:var n=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(Ul(e,t,a,!1),l=(a&t.childLanes)!==0),n){if(l)return yd(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),G(Le,Le.current),l)break;return null;case 22:return t.lanes=0,cd(e,t,a,t.pendingProps);case 24:ja(t,Ge,e.memoizedState.cache)}return fa(e,t,a)}function gd(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!ko(e,a)&&(t.flags&128)===0)return Qe=!1,O_(e,t,a);Qe=(e.flags&131072)!==0}else Qe=!1,de&&(t.flags&1048576)!==0&&$s(t,Sn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=cl(t.elementType),t.type=e,typeof e=="function")zr(e)?(l=ml(e,l),t.tag=1,t=md(null,t,e,l,a)):(t.tag=0,t=go(null,t,e,l,a));else{if(e!=null){var n=e.$$typeof;if(n===me){t.tag=11,t=ud(null,t,e,l,a);break e}else if(n===X){t.tag=14,t=rd(null,t,e,l,a);break e}}throw t=jt(e)||e,Error(o(306,t,""))}}return t;case 0:return go(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=ml(l,t.pendingProps),md(e,t,l,n,a);case 3:e:{if(it(t,t.stateNode.containerInfo),e===null)throw Error(o(387));l=t.pendingProps;var i=t.memoizedState;n=i.element,Qr(e,t),An(t,l,null,a);var s=t.memoizedState;if(l=s.cache,ja(t,Ge,l),l!==i.cache&&Hr(t,[Ge],a,!0),zn(),l=s.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=hd(e,t,l,a);break e}else if(l!==n){n=Ct(Error(o(424)),t),En(n),t=hd(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ae=qt(e.firstChild),Ie=t,de=!0,wa=null,Dt=!0,a=cf(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(il(),l===n){t=fa(e,t,a);break e}et(e,t,l,a)}t=t.child}return t;case 26:return Wi(e,t),e===null?(a=zm(t.type,null,t.pendingProps,null))?t.memoizedState=a:de||(a=t.type,e=t.pendingProps,l=mu(ue.current).createElement(a),l[Fe]=t,l[ct]=e,tt(l,a,e),$e(l),t.stateNode=l):t.memoizedState=zm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return rn(t),e===null&&de&&(l=t.stateNode=wm(t.type,t.pendingProps,ue.current),Ie=t,Dt=!0,n=Ae,Ya(t.type)?(nc=n,Ae=qt(l.firstChild)):Ae=n),et(e,t,t.pendingProps.children,a),Wi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&de&&((n=l=Ae)&&(l=ry(l,t.type,t.pendingProps,Dt),l!==null?(t.stateNode=l,Ie=t,Ae=qt(l.firstChild),Dt=!1,n=!0):n=!1),n||Ra(t)),rn(t),n=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,l=i.children,Po(n,i)?l=null:s!==null&&Po(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=Fr(e,t,S_,null,null,a),Wn._currentValue=n),Wi(e,t),et(e,t,l,a),t.child;case 6:return e===null&&de&&((e=a=Ae)&&(a=oy(a,t.pendingProps,Dt),a!==null?(t.stateNode=a,Ie=t,Ae=null,e=!0):e=!1),e||Ra(t)),null;case 13:return pd(e,t,a);case 4:return it(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=fl(t,null,l,a):et(e,t,l,a),t.child;case 11:return ud(e,t,t.type,t.pendingProps,a);case 7:return et(e,t,t.pendingProps,a),t.child;case 8:return et(e,t,t.pendingProps.children,a),t.child;case 12:return et(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,ja(t,t.type,l.value),et(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,rl(t),n=Pe(n),l=l(n),t.flags|=1,et(e,t,l,a),t.child;case 14:return rd(e,t,t.type,t.pendingProps,a);case 15:return od(e,t,t.type,t.pendingProps,a);case 19:return yd(e,t,a);case 31:return A_(e,t,a);case 22:return cd(e,t,a,t.pendingProps);case 24:return rl(t),l=Pe(Ge),e===null?(n=Yr(),n===null&&(n=je,i=Lr(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=a),n=i),t.memoizedState={parent:l,cache:n},Xr(t),ja(t,Ge,n)):((e.lanes&a)!==0&&(Qr(e,t),An(t,null,null,a),zn()),n=e.memoizedState,i=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ja(t,Ge,l)):(l=i.cache,ja(t,Ge,l),l!==n.cache&&Hr(t,[Ge],a,!0))),et(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function da(e){e.flags|=4}function wo(e,t,a,l,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Vd())e.flags|=8192;else throw sl=Di,Gr}else e.flags&=-16777217}function vd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Nm(t))if(Vd())e.flags|=8192;else throw sl=Di,Gr}function Ii(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Fc():536870912,e.lanes|=t,Jl|=t)}function Un(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function C_(e,t,a){var l=t.pendingProps;switch(Mr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(t),null;case 1:return Oe(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),oa(Ge),He(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Dl(t)?da(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Dr())),Oe(t),null;case 26:var n=t.type,i=t.memoizedState;return e===null?(da(t),i!==null?(Oe(t),vd(t,i)):(Oe(t),wo(t,n,null,l,a))):i?i!==e.memoizedState?(da(t),Oe(t),vd(t,i)):(Oe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&da(t),Oe(t),wo(t,n,e,l,a)),null;case 27:if(ci(t),a=ue.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&da(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return Oe(t),null}e=J.current,Dl(t)?Fs(t):(e=wm(n,l,a),t.stateNode=e,da(t))}return Oe(t),null;case 5:if(ci(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&da(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return Oe(t),null}if(i=J.current,Dl(t))Fs(t);else{var s=mu(ue.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof l.is=="string"?s.createElement("select",{is:l.is}):s.createElement("select"),l.multiple?i.multiple=!0:l.size&&(i.size=l.size);break;default:i=typeof l.is=="string"?s.createElement(n,{is:l.is}):s.createElement(n)}}i[Fe]=t,i[ct]=l;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=i;e:switch(tt(i,n,l),n){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&da(t)}}return Oe(t),wo(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&da(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(o(166));if(e=ue.current,Dl(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=Ie,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[Fe]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||pm(e.nodeValue,a)),e||Ra(t,!0)}else e=mu(e).createTextNode(l),e[Fe]=t,t.stateNode=e}return Oe(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Dl(t),a!==null){if(e===null){if(!l)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Fe]=t}else il(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Oe(t),e=!1}else a=Dr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(St(t),t):(St(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Oe(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Dl(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Fe]=t}else il(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Oe(t),n=!1}else n=Dr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(St(t),t):(St(t),null)}return St(t),(t.flags&128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==n&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Ii(t,t.updateQueue),Oe(t),null);case 4:return He(),e===null&&Jo(t.stateNode.containerInfo),Oe(t),null;case 10:return oa(t.type),Oe(t),null;case 19:if(N(Le),l=t.memoizedState,l===null)return Oe(t),null;if(n=(t.flags&128)!==0,i=l.rendering,i===null)if(n)Un(l,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Li(e),i!==null){for(t.flags|=128,Un(l,!1),e=i.updateQueue,t.updateQueue=e,Ii(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Zs(a,e),a=a.sibling;return G(Le,Le.current&1|2),de&&ua(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&_t()>lu&&(t.flags|=128,n=!0,Un(l,!1),t.lanes=4194304)}else{if(!n)if(e=Li(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Ii(t,e),Un(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!de)return Oe(t),null}else 2*_t()-l.renderingStartTime>lu&&a!==536870912&&(t.flags|=128,n=!0,Un(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=_t(),e.sibling=null,a=Le.current,G(Le,n?a&1|2:a&1),de&&ua(t,l.treeForkCount),e):(Oe(t),null);case 22:case 23:return St(t),Jr(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),a=t.updateQueue,a!==null&&Ii(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&N(ol),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),oa(Ge),Oe(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function M_(e,t){switch(Mr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return oa(Ge),He(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ci(t),null;case 31:if(t.memoizedState!==null){if(St(t),t.alternate===null)throw Error(o(340));il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(St(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));il()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N(Le),null;case 4:return He(),null;case 10:return oa(t.type),null;case 22:case 23:return St(t),Jr(),e!==null&&N(ol),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return oa(Ge),null;case 25:return null;default:return null}}function bd(e,t){switch(Mr(t),t.tag){case 3:oa(Ge),He();break;case 26:case 27:case 5:ci(t);break;case 4:He();break;case 31:t.memoizedState!==null&&St(t);break;case 13:St(t);break;case 19:N(Le);break;case 10:oa(t.type);break;case 22:case 23:St(t),Jr(),e!==null&&N(ol);break;case 24:oa(Ge)}}function qn(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var i=a.create,s=a.inst;l=i(),s.destroy=l}a=a.next}while(a!==n)}}catch(d){xe(t,t.return,d)}}function Na(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var i=n.next;l=i;do{if((l.tag&e)===e){var s=l.inst,d=s.destroy;if(d!==void 0){s.destroy=void 0,n=t;var y=a,w=d;try{w()}catch(A){xe(n,y,A)}}}l=l.next}while(l!==i)}}catch(A){xe(t,t.return,A)}}function xd(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{ff(t,a)}catch(l){xe(e,e.return,l)}}}function Sd(e,t,a){a.props=ml(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){xe(e,t,l)}}function Hn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){xe(e,t,n)}}function Wt(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){xe(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){xe(e,t,n)}else a.current=null}function Ed(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){xe(e,e.return,n)}}function Ro(e,t,a){try{var l=e.stateNode;ty(l,e.type,a,t),l[ct]=t}catch(n){xe(e,e.return,n)}}function Td(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ya(e.type)||e.tag===4}function jo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Td(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&&Ya(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 zo(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=la));else if(l!==4&&(l===27&&Ya(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(zo(e,t,a),e=e.sibling;e!==null;)zo(e,t,a),e=e.sibling}function Pi(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Ya(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Pi(e,t,a),e=e.sibling;e!==null;)Pi(e,t,a),e=e.sibling}function kd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);tt(t,l,a),t[Fe]=e,t[ct]=a}catch(i){xe(e,e.return,i)}}var ma=!1,Ve=!1,Ao=!1,wd=typeof WeakSet=="function"?WeakSet:Set,We=null;function N_(e,t){if(e=e.containerInfo,Fo=bu,e=qs(e),Sr(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var s=0,d=-1,y=-1,w=0,A=0,M=e,R=null;t:for(;;){for(var z;M!==a||n!==0&&M.nodeType!==3||(d=s+n),M!==i||l!==0&&M.nodeType!==3||(y=s+l),M.nodeType===3&&(s+=M.nodeValue.length),(z=M.firstChild)!==null;)R=M,M=z;for(;;){if(M===e)break t;if(R===a&&++w===n&&(d=s),R===i&&++A===l&&(y=s),(z=M.nextSibling)!==null)break;M=R,R=M.parentNode}M=z}a=d===-1||y===-1?null:{start:d,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;for(Io={focusedElem:e,selectionRange:a},bu=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)n=e[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,a=t,n=i.memoizedProps,i=i.memoizedState,l=a.stateNode;try{var Z=ml(a.type,n);e=l.getSnapshotBeforeUpdate(Z,i),l.__reactInternalSnapshotBeforeUpdate=e}catch(I){xe(a,a.return,I)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)tc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":tc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function Rd(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:pa(e,a),l&4&&qn(5,a);break;case 1:if(pa(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(s){xe(a,a.return,s)}else{var n=ml(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){xe(a,a.return,s)}}l&64&&xd(a),l&512&&Hn(a,a.return);break;case 3:if(pa(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{ff(e,t)}catch(s){xe(a,a.return,s)}}break;case 27:t===null&&l&4&&kd(a);case 26:case 5:pa(e,a),t===null&&l&4&&Ed(a),l&512&&Hn(a,a.return);break;case 12:pa(e,a);break;case 31:pa(e,a),l&4&&Ad(e,a);break;case 13:pa(e,a),l&4&&Od(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=X_.bind(null,a),cy(e,a))));break;case 22:if(l=a.memoizedState!==null||ma,!l){t=t!==null&&t.memoizedState!==null||Ve,n=ma;var i=Ve;ma=l,(Ve=t)&&!i?_a(e,a,(a.subtreeFlags&8772)!==0):pa(e,a),ma=n,Ve=i}break;case 30:break;default:pa(e,a)}}function jd(e){var t=e.alternate;t!==null&&(e.alternate=null,jd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ir(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Me=null,ft=!1;function ha(e,t,a){for(a=a.child;a!==null;)zd(e,t,a),a=a.sibling}function zd(e,t,a){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(on,a)}catch{}switch(a.tag){case 26:Ve||Wt(a,t),ha(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ve||Wt(a,t);var l=Me,n=ft;Ya(a.type)&&(Me=a.stateNode,ft=!1),ha(e,t,a),Kn(a.stateNode),Me=l,ft=n;break;case 5:Ve||Wt(a,t);case 6:if(l=Me,n=ft,Me=null,ha(e,t,a),Me=l,ft=n,Me!==null)if(ft)try{(Me.nodeType===9?Me.body:Me.nodeName==="HTML"?Me.ownerDocument.body:Me).removeChild(a.stateNode)}catch(i){xe(a,t,i)}else try{Me.removeChild(a.stateNode)}catch(i){xe(a,t,i)}break;case 18:Me!==null&&(ft?(e=Me,xm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),an(e)):xm(Me,a.stateNode));break;case 4:l=Me,n=ft,Me=a.stateNode.containerInfo,ft=!0,ha(e,t,a),Me=l,ft=n;break;case 0:case 11:case 14:case 15:Na(2,a,t),Ve||Na(4,a,t),ha(e,t,a);break;case 1:Ve||(Wt(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Sd(a,t,l)),ha(e,t,a);break;case 21:ha(e,t,a);break;case 22:Ve=(l=Ve)||a.memoizedState!==null,ha(e,t,a),Ve=l;break;default:ha(e,t,a)}}function Ad(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{an(e)}catch(a){xe(t,t.return,a)}}}function Od(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{an(e)}catch(a){xe(t,t.return,a)}}function D_(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new wd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new wd),t;default:throw Error(o(435,e.tag))}}function eu(e,t){var a=D_(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var n=Q_.bind(null,e,l);l.then(n,n)}})}function dt(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],i=e,s=t,d=s;e:for(;d!==null;){switch(d.tag){case 27:if(Ya(d.type)){Me=d.stateNode,ft=!1;break e}break;case 5:Me=d.stateNode,ft=!1;break e;case 3:case 4:Me=d.stateNode.containerInfo,ft=!0;break e}d=d.return}if(Me===null)throw Error(o(160));zd(i,s,n),Me=null,ft=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Cd(t,e),t=t.sibling}var Xt=null;function Cd(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:dt(t,e),mt(e),l&4&&(Na(3,e,e.return),qn(3,e),Na(5,e,e.return));break;case 1:dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),l&64&&ma&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Xt;if(dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),l&4){var i=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case"title":i=n.getElementsByTagName("title")[0],(!i||i[fn]||i[Fe]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(l),n.head.insertBefore(i,n.querySelector("head > title"))),tt(i,l,a),i[Fe]=e,$e(i),l=i;break e;case"link":var s=Cm("link","href",n).get(l+(a.href||""));if(s){for(var d=0;d<s.length;d++)if(i=s[d],i.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&i.getAttribute("rel")===(a.rel==null?null:a.rel)&&i.getAttribute("title")===(a.title==null?null:a.title)&&i.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){s.splice(d,1);break t}}i=n.createElement(l),tt(i,l,a),n.head.appendChild(i);break;case"meta":if(s=Cm("meta","content",n).get(l+(a.content||""))){for(d=0;d<s.length;d++)if(i=s[d],i.getAttribute("content")===(a.content==null?null:""+a.content)&&i.getAttribute("name")===(a.name==null?null:a.name)&&i.getAttribute("property")===(a.property==null?null:a.property)&&i.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&i.getAttribute("charset")===(a.charSet==null?null:a.charSet)){s.splice(d,1);break t}}i=n.createElement(l),tt(i,l,a),n.head.appendChild(i);break;default:throw Error(o(468,l))}i[Fe]=e,$e(i),l=i}e.stateNode=l}else Mm(n,e.type,e.stateNode);else e.stateNode=Om(n,l,e.memoizedProps);else i!==l?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?Mm(n,e.type,e.stateNode):Om(n,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Ro(e,e.memoizedProps,a.memoizedProps)}break;case 27:dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),a!==null&&l&4&&Ro(e,e.memoizedProps,a.memoizedProps);break;case 5:if(dt(t,e),mt(e),l&512&&(Ve||a===null||Wt(a,a.return)),e.flags&32){n=e.stateNode;try{kl(n,"")}catch(Z){xe(e,e.return,Z)}}l&4&&e.stateNode!=null&&(n=e.memoizedProps,Ro(e,n,a!==null?a.memoizedProps:n)),l&1024&&(Ao=!0);break;case 6:if(dt(t,e),mt(e),l&4){if(e.stateNode===null)throw Error(o(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(Z){xe(e,e.return,Z)}}break;case 3:if(_u=null,n=Xt,Xt=hu(t.containerInfo),dt(t,e),Xt=n,mt(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{an(t.containerInfo)}catch(Z){xe(e,e.return,Z)}Ao&&(Ao=!1,Md(e));break;case 4:l=Xt,Xt=hu(e.stateNode.containerInfo),dt(t,e),mt(e),Xt=l;break;case 12:dt(t,e),mt(e);break;case 31:dt(t,e),mt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,eu(e,l)));break;case 13:dt(t,e),mt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(au=_t()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,eu(e,l)));break;case 22:n=e.memoizedState!==null;var y=a!==null&&a.memoizedState!==null,w=ma,A=Ve;if(ma=w||n,Ve=A||y,dt(t,e),Ve=A,ma=w,mt(e),l&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||y||ma||Ve||hl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){y=a=t;try{if(i=y.stateNode,n)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{d=y.stateNode;var M=y.memoizedProps.style,R=M!=null&&M.hasOwnProperty("display")?M.display:null;d.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(Z){xe(y,y.return,Z)}}}else if(t.tag===6){if(a===null){y=t;try{y.stateNode.nodeValue=n?"":y.memoizedProps}catch(Z){xe(y,y.return,Z)}}}else if(t.tag===18){if(a===null){y=t;try{var z=y.stateNode;n?Sm(z,!0):Sm(y.stateNode,!1)}catch(Z){xe(y,y.return,Z)}}}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;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,eu(e,a))));break;case 19:dt(t,e),mt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,eu(e,l)));break;case 30:break;case 21:break;default:dt(t,e),mt(e)}}function mt(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(Td(l)){a=l;break}l=l.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var n=a.stateNode,i=jo(e);Pi(e,i,n);break;case 5:var s=a.stateNode;a.flags&32&&(kl(s,""),a.flags&=-33);var d=jo(e);Pi(e,d,s);break;case 3:case 4:var y=a.stateNode.containerInfo,w=jo(e);zo(e,w,y);break;default:throw Error(o(161))}}catch(A){xe(e,e.return,A)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Md(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Md(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function pa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Rd(e,t.alternate,t),t=t.sibling}function hl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Na(4,t,t.return),hl(t);break;case 1:Wt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Sd(t,t.return,a),hl(t);break;case 27:Kn(t.stateNode);case 26:case 5:Wt(t,t.return),hl(t);break;case 22:t.memoizedState===null&&hl(t);break;case 30:hl(t);break;default:hl(t)}e=e.sibling}}function _a(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,i=t,s=i.flags;switch(i.tag){case 0:case 11:case 15:_a(n,i,a),qn(4,i);break;case 1:if(_a(n,i,a),l=i,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(w){xe(l,l.return,w)}if(l=i,n=l.updateQueue,n!==null){var d=l.stateNode;try{var y=n.shared.hiddenCallbacks;if(y!==null)for(n.shared.hiddenCallbacks=null,n=0;n<y.length;n++)sf(y[n],d)}catch(w){xe(l,l.return,w)}}a&&s&64&&xd(i),Hn(i,i.return);break;case 27:kd(i);case 26:case 5:_a(n,i,a),a&&l===null&&s&4&&Ed(i),Hn(i,i.return);break;case 12:_a(n,i,a);break;case 31:_a(n,i,a),a&&s&4&&Ad(n,i);break;case 13:_a(n,i,a),a&&s&4&&Od(n,i);break;case 22:i.memoizedState===null&&_a(n,i,a),Hn(i,i.return);break;case 30:break;default:_a(n,i,a)}t=t.sibling}}function Oo(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Tn(a))}function Co(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tn(e))}function Qt(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nd(e,t,a,l),t=t.sibling}function Nd(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Qt(e,t,a,l),n&2048&&qn(9,t);break;case 1:Qt(e,t,a,l);break;case 3:Qt(e,t,a,l),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Tn(e)));break;case 12:if(n&2048){Qt(e,t,a,l),e=t.stateNode;try{var i=t.memoizedProps,s=i.id,d=i.onPostCommit;typeof d=="function"&&d(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(y){xe(t,t.return,y)}}else Qt(e,t,a,l);break;case 31:Qt(e,t,a,l);break;case 13:Qt(e,t,a,l);break;case 23:break;case 22:i=t.stateNode,s=t.alternate,t.memoizedState!==null?i._visibility&2?Qt(e,t,a,l):Ln(e,t):i._visibility&2?Qt(e,t,a,l):(i._visibility|=2,Vl(e,t,a,l,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Oo(s,t);break;case 24:Qt(e,t,a,l),n&2048&&Co(t.alternate,t);break;default:Qt(e,t,a,l)}}function Vl(e,t,a,l,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,s=t,d=a,y=l,w=s.flags;switch(s.tag){case 0:case 11:case 15:Vl(i,s,d,y,n),qn(8,s);break;case 23:break;case 22:var A=s.stateNode;s.memoizedState!==null?A._visibility&2?Vl(i,s,d,y,n):Ln(i,s):(A._visibility|=2,Vl(i,s,d,y,n)),n&&w&2048&&Oo(s.alternate,s);break;case 24:Vl(i,s,d,y,n),n&&w&2048&&Co(s.alternate,s);break;default:Vl(i,s,d,y,n)}t=t.sibling}}function Ln(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:Ln(a,l),n&2048&&Oo(l.alternate,l);break;case 24:Ln(a,l),n&2048&&Co(l.alternate,l);break;default:Ln(a,l)}t=t.sibling}}var Bn=8192;function Zl(e,t,a){if(e.subtreeFlags&Bn)for(e=e.child;e!==null;)Dd(e,t,a),e=e.sibling}function Dd(e,t,a){switch(e.tag){case 26:Zl(e,t,a),e.flags&Bn&&e.memoizedState!==null&&xy(a,Xt,e.memoizedState,e.memoizedProps);break;case 5:Zl(e,t,a);break;case 3:case 4:var l=Xt;Xt=hu(e.stateNode.containerInfo),Zl(e,t,a),Xt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Bn,Bn=16777216,Zl(e,t,a),Bn=l):Zl(e,t,a));break;default:Zl(e,t,a)}}function Ud(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 Yn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];We=l,Hd(l,e)}Ud(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qd(e),e=e.sibling}function qd(e){switch(e.tag){case 0:case 11:case 15:Yn(e),e.flags&2048&&Na(9,e,e.return);break;case 3:Yn(e);break;case 12:Yn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,tu(e)):Yn(e);break;default:Yn(e)}}function tu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];We=l,Hd(l,e)}Ud(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Na(8,t,t.return),tu(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,tu(t));break;default:tu(t)}e=e.sibling}}function Hd(e,t){for(;We!==null;){var a=We;switch(a.tag){case 0:case 11:case 15:Na(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Tn(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,We=l;else e:for(a=e;We!==null;){l=We;var n=l.sibling,i=l.return;if(jd(l),l===a){We=null;break e}if(n!==null){n.return=i,We=n;break e}We=i}}}var U_={getCacheForType:function(e){var t=Pe(Ge),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Pe(Ge).controller.signal}},q_=typeof WeakMap=="function"?WeakMap:Map,_e=0,je=null,re=null,ce=0,be=0,Et=null,Da=!1,Kl=!1,Mo=!1,ya=0,qe=0,Ua=0,pl=0,No=0,Tt=0,Jl=0,Gn=null,ht=null,Do=!1,au=0,Ld=0,lu=1/0,nu=null,qa=null,Je=0,Ha=null,$l=null,ga=0,Uo=0,qo=null,Bd=null,Xn=0,Ho=null;function kt(){return(_e&2)!==0&&ce!==0?ce&-ce:O.T!==null?Qo():ts()}function Yd(){if(Tt===0)if((ce&536870912)===0||de){var e=di;di<<=1,(di&3932160)===0&&(di=262144),Tt=e}else Tt=536870912;return e=xt.current,e!==null&&(e.flags|=32),Tt}function pt(e,t,a){(e===je&&(be===2||be===9)||e.cancelPendingCommit!==null)&&(Wl(e,0),La(e,ce,Tt,!1)),sn(e,a),((_e&2)===0||e!==je)&&(e===je&&((_e&2)===0&&(pl|=a),qe===4&&La(e,ce,Tt,!1)),Ft(e))}function Gd(e,t,a){if((_e&6)!==0)throw Error(o(327));var l=!a&&(t&127)===0&&(t&e.expiredLanes)===0||cn(e,t),n=l?B_(e,t):Bo(e,t,!0),i=l;do{if(n===0){Kl&&!l&&La(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!H_(a)){n=Bo(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var d=e;n=Gn;var y=d.current.memoizedState.isDehydrated;if(y&&(Wl(d,s).flags|=256),s=Bo(d,s,!1),s!==2){if(Mo&&!y){d.errorRecoveryDisabledLanes|=i,pl|=i,n=4;break e}i=ht,ht=n,i!==null&&(ht===null?ht=i:ht.push.apply(ht,i))}n=s}if(i=!1,n!==2)continue}}if(n===1){Wl(e,0),La(e,t,0,!0);break}e:{switch(l=e,i=n,i){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:La(l,t,Tt,!Da);break e;case 2:ht=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=au+300-_t(),10<n)){if(La(l,t,Tt,!Da),hi(l,0,!0)!==0)break e;ga=t,l.timeoutHandle=vm(Xd.bind(null,l,a,ht,nu,Do,t,Tt,pl,Jl,Da,i,"Throttled",-0,0),n);break e}Xd(l,a,ht,nu,Do,t,Tt,pl,Jl,Da,i,null,-0,0)}}break}while(!0);Ft(e)}function Xd(e,t,a,l,n,i,s,d,y,w,A,M,R,z){if(e.timeoutHandle=-1,M=t.subtreeFlags,M&8192||(M&16785408)===16785408){M={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:la},Dd(t,i,M);var Z=(i&62914560)===i?au-_t():(i&4194048)===i?Ld-_t():0;if(Z=Sy(M,Z),Z!==null){ga=i,e.cancelPendingCommit=Z(Fd.bind(null,e,t,i,a,l,n,s,d,y,A,M,null,R,z)),La(e,i,s,!w);return}}Fd(e,t,i,a,l,n,s,d,y)}function H_(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],i=n.getSnapshot;n=n.value;try{if(!vt(i(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 La(e,t,a,l){t&=~No,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0<n;){var i=31-gt(n),s=1<<i;l[i]=-1,n&=~s}a!==0&&Ic(e,a,t)}function iu(){return(_e&6)===0?(Qn(0),!1):!0}function Lo(){if(re!==null){if(be===0)var e=re.return;else e=re,ra=ul=null,eo(e),Bl=null,wn=0,e=re;for(;e!==null;)bd(e.alternate,e),e=e.return;re=null}}function Wl(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,ny(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ga=0,Lo(),je=e,re=a=ia(e.current,null),ce=t,be=0,Et=null,Da=!1,Kl=cn(e,t),Mo=!1,Jl=Tt=No=pl=Ua=qe=0,ht=Gn=null,Do=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-gt(l),i=1<<n;t|=e[n],l&=~i}return ya=t,wi(),a}function Qd(e,t){le=null,O.H=Nn,t===Ll||t===Ni?(t=uf(),be=3):t===Gr?(t=uf(),be=4):be=t===yo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Et=t,re===null&&(qe=1,Ji(e,Ct(t,e.current)))}function Vd(){var e=xt.current;return e===null?!0:(ce&4194048)===ce?Ut===null:(ce&62914560)===ce||(ce&536870912)!==0?e===Ut:!1}function Zd(){var e=O.H;return O.H=Nn,e===null?Nn:e}function Kd(){var e=O.A;return O.A=U_,e}function uu(){qe=4,Da||(ce&4194048)!==ce&&xt.current!==null||(Kl=!0),(Ua&134217727)===0&&(pl&134217727)===0||je===null||La(je,ce,Tt,!1)}function Bo(e,t,a){var l=_e;_e|=2;var n=Zd(),i=Kd();(je!==e||ce!==t)&&(nu=null,Wl(e,t)),t=!1;var s=qe;e:do try{if(be!==0&&re!==null){var d=re,y=Et;switch(be){case 8:Lo(),s=6;break e;case 3:case 2:case 9:case 6:xt.current===null&&(t=!0);var w=be;if(be=0,Et=null,Fl(e,d,y,w),a&&Kl){s=0;break e}break;default:w=be,be=0,Et=null,Fl(e,d,y,w)}}L_(),s=qe;break}catch(A){Qd(e,A)}while(!0);return t&&e.shellSuspendCounter++,ra=ul=null,_e=l,O.H=n,O.A=i,re===null&&(je=null,ce=0,wi()),s}function L_(){for(;re!==null;)Jd(re)}function B_(e,t){var a=_e;_e|=2;var l=Zd(),n=Kd();je!==e||ce!==t?(nu=null,lu=_t()+500,Wl(e,t)):Kl=cn(e,t);e:do try{if(be!==0&&re!==null){t=re;var i=Et;t:switch(be){case 1:be=0,Et=null,Fl(e,t,i,1);break;case 2:case 9:if(lf(i)){be=0,Et=null,$d(t);break}t=function(){be!==2&&be!==9||je!==e||(be=7),Ft(e)},i.then(t,t);break e;case 3:be=7;break e;case 4:be=5;break e;case 7:lf(i)?(be=0,Et=null,$d(t)):(be=0,Et=null,Fl(e,t,i,7));break;case 5:var s=null;switch(re.tag){case 26:s=re.memoizedState;case 5:case 27:var d=re;if(s?Nm(s):d.stateNode.complete){be=0,Et=null;var y=d.sibling;if(y!==null)re=y;else{var w=d.return;w!==null?(re=w,ru(w)):re=null}break t}}be=0,Et=null,Fl(e,t,i,5);break;case 6:be=0,Et=null,Fl(e,t,i,6);break;case 8:Lo(),qe=6;break e;default:throw Error(o(462))}}Y_();break}catch(A){Qd(e,A)}while(!0);return ra=ul=null,O.H=l,O.A=n,_e=a,re!==null?0:(je=null,ce=0,wi(),qe)}function Y_(){for(;re!==null&&!sp();)Jd(re)}function Jd(e){var t=gd(e.alternate,e,ya);e.memoizedProps=e.pendingProps,t===null?ru(e):re=t}function $d(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=dd(a,t,t.pendingProps,t.type,void 0,ce);break;case 11:t=dd(a,t,t.pendingProps,t.type.render,t.ref,ce);break;case 5:eo(t);default:bd(a,t),t=re=Zs(t,ya),t=gd(a,t,ya)}e.memoizedProps=e.pendingProps,t===null?ru(e):re=t}function Fl(e,t,a,l){ra=ul=null,eo(t),Bl=null,wn=0;var n=t.return;try{if(z_(e,n,t,a,ce)){qe=1,Ji(e,Ct(a,e.current)),re=null;return}}catch(i){if(n!==null)throw re=n,i;qe=1,Ji(e,Ct(a,e.current)),re=null;return}t.flags&32768?(de||l===1?e=!0:Kl||(ce&536870912)!==0?e=!1:(Da=e=!0,(l===2||l===9||l===3||l===6)&&(l=xt.current,l!==null&&l.tag===13&&(l.flags|=16384))),Wd(t,e)):ru(t)}function ru(e){var t=e;do{if((t.flags&32768)!==0){Wd(t,Da);return}e=t.return;var a=C_(t.alternate,t,ya);if(a!==null){re=a;return}if(t=t.sibling,t!==null){re=t;return}re=t=e}while(t!==null);qe===0&&(qe=5)}function Wd(e,t){do{var a=M_(e.alternate,e);if(a!==null){a.flags&=32767,re=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){re=e;return}re=e=a}while(e!==null);qe=6,re=null}function Fd(e,t,a,l,n,i,s,d,y){e.cancelPendingCommit=null;do ou();while(Je!==0);if((_e&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,i|=Rr,bp(e,a,i,s,d,y),e===je&&(re=je=null,ce=0),$l=t,Ha=e,ga=a,Uo=i,qo=n,Bd=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,V_(si,function(){return am(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=O.T,O.T=null,n=Y.p,Y.p=2,s=_e,_e|=4;try{N_(e,t,a)}finally{_e=s,Y.p=n,O.T=l}}Je=1,Id(),Pd(),em()}}function Id(){if(Je===1){Je=0;var e=Ha,t=$l,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var l=Y.p;Y.p=2;var n=_e;_e|=4;try{Cd(t,e);var i=Io,s=qs(e.containerInfo),d=i.focusedElem,y=i.selectionRange;if(s!==d&&d&&d.ownerDocument&&Us(d.ownerDocument.documentElement,d)){if(y!==null&&Sr(d)){var w=y.start,A=y.end;if(A===void 0&&(A=w),"selectionStart"in d)d.selectionStart=w,d.selectionEnd=Math.min(A,d.value.length);else{var M=d.ownerDocument||document,R=M&&M.defaultView||window;if(R.getSelection){var z=R.getSelection(),Z=d.textContent.length,I=Math.min(y.start,Z),ke=y.end===void 0?I:Math.min(y.end,Z);!z.extend&&I>ke&&(s=ke,ke=I,I=s);var E=Ds(d,I),v=Ds(d,ke);if(E&&v&&(z.rangeCount!==1||z.anchorNode!==E.node||z.anchorOffset!==E.offset||z.focusNode!==v.node||z.focusOffset!==v.offset)){var k=M.createRange();k.setStart(E.node,E.offset),z.removeAllRanges(),I>ke?(z.addRange(k),z.extend(v.node,v.offset)):(k.setEnd(v.node,v.offset),z.addRange(k))}}}}for(M=[],z=d;z=z.parentNode;)z.nodeType===1&&M.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<M.length;d++){var C=M[d];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}bu=!!Fo,Io=Fo=null}finally{_e=n,Y.p=l,O.T=a}}e.current=t,Je=2}}function Pd(){if(Je===2){Je=0;var e=Ha,t=$l,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var l=Y.p;Y.p=2;var n=_e;_e|=4;try{Rd(e,t.alternate,t)}finally{_e=n,Y.p=l,O.T=a}}Je=3}}function em(){if(Je===4||Je===3){Je=0,fp();var e=Ha,t=$l,a=ga,l=Bd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Je=5:(Je=0,$l=Ha=null,tm(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(qa=null),lr(a),t=t.stateNode,yt&&typeof yt.onCommitFiberRoot=="function")try{yt.onCommitFiberRoot(on,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=O.T,n=Y.p,Y.p=2,O.T=null;try{for(var i=e.onRecoverableError,s=0;s<l.length;s++){var d=l[s];i(d.value,{componentStack:d.stack})}}finally{O.T=t,Y.p=n}}(ga&3)!==0&&ou(),Ft(e),n=e.pendingLanes,(a&261930)!==0&&(n&42)!==0?e===Ho?Xn++:(Xn=0,Ho=e):Xn=0,Qn(0)}}function tm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Tn(t)))}function ou(){return Id(),Pd(),em(),am()}function am(){if(Je!==5)return!1;var e=Ha,t=Uo;Uo=0;var a=lr(ga),l=O.T,n=Y.p;try{Y.p=32>a?32:a,O.T=null,a=qo,qo=null;var i=Ha,s=ga;if(Je=0,$l=Ha=null,ga=0,(_e&6)!==0)throw Error(o(331));var d=_e;if(_e|=4,qd(i.current),Nd(i,i.current,s,a),_e=d,Qn(0,!1),yt&&typeof yt.onPostCommitFiberRoot=="function")try{yt.onPostCommitFiberRoot(on,i)}catch{}return!0}finally{Y.p=n,O.T=l,tm(e,t)}}function lm(e,t,a){t=Ct(a,t),t=_o(e.stateNode,t,2),e=Oa(e,t,2),e!==null&&(sn(e,2),Ft(e))}function xe(e,t,a){if(e.tag===3)lm(e,e,a);else for(;t!==null;){if(t.tag===3){lm(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(qa===null||!qa.has(l))){e=Ct(a,e),a=nd(2),l=Oa(t,a,2),l!==null&&(id(a,l,t,e),sn(l,2),Ft(l));break}}t=t.return}}function Yo(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new q_;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(Mo=!0,n.add(a),e=G_.bind(null,e,t,a),t.then(e,e))}function G_(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,je===e&&(ce&a)===a&&(qe===4||qe===3&&(ce&62914560)===ce&&300>_t()-au?(_e&2)===0&&Wl(e,0):No|=a,Jl===ce&&(Jl=0)),Ft(e)}function nm(e,t){t===0&&(t=Fc()),e=ll(e,t),e!==null&&(sn(e,t),Ft(e))}function X_(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),nm(e,a)}function Q_(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(t),nm(e,a)}function V_(e,t){return Pu(e,t)}var cu=null,Il=null,Go=!1,su=!1,Xo=!1,Ba=0;function Ft(e){e!==Il&&e.next===null&&(Il===null?cu=Il=e:Il=Il.next=e),su=!0,Go||(Go=!0,K_())}function Qn(e,t){if(!Xo&&su){Xo=!0;do for(var a=!1,l=cu;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var i=0;else{var s=l.suspendedLanes,d=l.pingedLanes;i=(1<<31-gt(42|e)+1)-1,i&=n&~(s&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,om(l,i))}else i=ce,i=hi(l,l===je?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(i&3)===0||cn(l,i)||(a=!0,om(l,i));l=l.next}while(a);Xo=!1}}function Z_(){im()}function im(){su=Go=!1;var e=0;Ba!==0&&ly()&&(e=Ba);for(var t=_t(),a=null,l=cu;l!==null;){var n=l.next,i=um(l,t);i===0?(l.next=null,a===null?cu=n:a.next=n,n===null&&(Il=a)):(a=l,(e!==0||(i&3)!==0)&&(su=!0)),l=n}Je!==0&&Je!==5||Qn(e),Ba!==0&&(Ba=0)}function um(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var s=31-gt(i),d=1<<s,y=n[s];y===-1?((d&a)===0||(d&l)!==0)&&(n[s]=vp(d,t)):y<=t&&(e.expiredLanes|=d),i&=~d}if(t=je,a=ce,a=hi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(be===2||be===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&er(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||cn(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&er(l),lr(a)){case 2:case 8:a=$c;break;case 32:a=si;break;case 268435456:a=Wc;break;default:a=si}return l=rm.bind(null,e),a=Pu(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&er(l),e.callbackPriority=2,e.callbackNode=null,2}function rm(e,t){if(Je!==0&&Je!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ou()&&e.callbackNode!==a)return null;var l=ce;return l=hi(e,e===je?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Gd(e,l,t),um(e,_t()),e.callbackNode!=null&&e.callbackNode===a?rm.bind(null,e):null)}function om(e,t){if(ou())return null;Gd(e,t,!0)}function K_(){iy(function(){(_e&6)!==0?Pu(Jc,Z_):im()})}function Qo(){if(Ba===0){var e=ql;e===0&&(e=fi,fi<<=1,(fi&261888)===0&&(fi=256)),Ba=e}return Ba}function cm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:gi(""+e)}function sm(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function J_(e,t,a,l,n){if(t==="submit"&&a&&a.stateNode===n){var i=cm((n[ct]||null).action),s=l.submitter;s&&(t=(t=s[ct]||null)?cm(t.formAction):s.getAttribute("formAction"),t!==null&&(i=t,s=null));var d=new Si("action","action",null,l,n);e.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ba!==0){var y=s?sm(n,s):new FormData(n);co(a,{pending:!0,data:y,method:n.method,action:i},null,y)}}else typeof i=="function"&&(d.preventDefault(),y=s?sm(n,s):new FormData(n),co(a,{pending:!0,data:y,method:n.method,action:i},i,y))},currentTarget:n}]})}}for(var Vo=0;Vo<wr.length;Vo++){var Zo=wr[Vo],$_=Zo.toLowerCase(),W_=Zo[0].toUpperCase()+Zo.slice(1);Gt($_,"on"+W_)}Gt(Bs,"onAnimationEnd"),Gt(Ys,"onAnimationIteration"),Gt(Gs,"onAnimationStart"),Gt("dblclick","onDoubleClick"),Gt("focusin","onFocus"),Gt("focusout","onBlur"),Gt(d_,"onTransitionRun"),Gt(m_,"onTransitionStart"),Gt(h_,"onTransitionCancel"),Gt(Xs,"onTransitionEnd"),El("onMouseEnter",["mouseout","mouseover"]),El("onMouseLeave",["mouseout","mouseover"]),El("onPointerEnter",["pointerout","pointerover"]),El("onPointerLeave",["pointerout","pointerover"]),Pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vn="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(" "),F_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vn));function fm(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var i=void 0;if(t)for(var s=l.length-1;0<=s;s--){var d=l[s],y=d.instance,w=d.currentTarget;if(d=d.listener,y!==i&&n.isPropagationStopped())break e;i=d,n.currentTarget=w;try{i(n)}catch(A){ki(A)}n.currentTarget=null,i=y}else for(s=0;s<l.length;s++){if(d=l[s],y=d.instance,w=d.currentTarget,d=d.listener,y!==i&&n.isPropagationStopped())break e;i=d,n.currentTarget=w;try{i(n)}catch(A){ki(A)}n.currentTarget=null,i=y}}}}function oe(e,t){var a=t[nr];a===void 0&&(a=t[nr]=new Set);var l=e+"__bubble";a.has(l)||(dm(t,e,2,!1),a.add(l))}function Ko(e,t,a){var l=0;t&&(l|=4),dm(a,e,l,t)}var fu="_reactListening"+Math.random().toString(36).slice(2);function Jo(e){if(!e[fu]){e[fu]=!0,ns.forEach(function(a){a!=="selectionchange"&&(F_.has(a)||Ko(a,!1,e),Ko(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fu]||(t[fu]=!0,Ko("selectionchange",!1,t))}}function dm(e,t,a,l){switch(Ym(t)){case 2:var n=ky;break;case 8:n=wy;break;default:n=cc}a=n.bind(null,t,a,e),n=void 0,!mr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function $o(e,t,a,l,n){var i=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var s=l.tag;if(s===3||s===4){var d=l.stateNode.containerInfo;if(d===n)break;if(s===4)for(s=l.return;s!==null;){var y=s.tag;if((y===3||y===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;d!==null;){if(s=bl(d),s===null)return;if(y=s.tag,y===5||y===6||y===26||y===27){l=i=s;continue e}d=d.parentNode}}l=l.return}_s(function(){var w=i,A=fr(a),M=[];e:{var R=Qs.get(e);if(R!==void 0){var z=Si,Z=e;switch(e){case"keypress":if(bi(a)===0)break e;case"keydown":case"keyup":z=Qp;break;case"focusin":Z="focus",z=yr;break;case"focusout":Z="blur",z=yr;break;case"beforeblur":case"afterblur":z=yr;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=Cp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=Kp;break;case Bs:case Ys:case Gs:z=Dp;break;case Xs:z=$p;break;case"scroll":case"scrollend":z=Ap;break;case"wheel":z=Fp;break;case"copy":case"cut":case"paste":z=qp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=xs;break;case"toggle":case"beforetoggle":z=Pp}var I=(t&4)!==0,ke=!I&&(e==="scroll"||e==="scrollend"),E=I?R!==null?R+"Capture":null:R;I=[];for(var v=w,k;v!==null;){var C=v;if(k=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||k===null||E===null||(C=mn(v,E),C!=null&&I.push(Zn(v,C,k))),ke)break;v=v.return}0<I.length&&(R=new z(R,Z,null,a,A),M.push({event:R,listeners:I}))}}if((t&7)===0){e:{if(R=e==="mouseover"||e==="pointerover",z=e==="mouseout"||e==="pointerout",R&&a!==sr&&(Z=a.relatedTarget||a.fromElement)&&(bl(Z)||Z[vl]))break e;if((z||R)&&(R=A.window===A?A:(R=A.ownerDocument)?R.defaultView||R.parentWindow:window,z?(Z=a.relatedTarget||a.toElement,z=w,Z=Z?bl(Z):null,Z!==null&&(ke=m(Z),I=Z.tag,Z!==ke||I!==5&&I!==27&&I!==6)&&(Z=null)):(z=null,Z=w),z!==Z)){if(I=vs,C="onMouseLeave",E="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(I=xs,C="onPointerLeave",E="onPointerEnter",v="pointer"),ke=z==null?R:dn(z),k=Z==null?R:dn(Z),R=new I(C,v+"leave",z,a,A),R.target=ke,R.relatedTarget=k,C=null,bl(A)===w&&(I=new I(E,v+"enter",Z,a,A),I.target=k,I.relatedTarget=ke,C=I),ke=C,z&&Z)t:{for(I=I_,E=z,v=Z,k=0,C=E;C;C=I(C))k++;C=0;for(var W=v;W;W=I(W))C++;for(;0<k-C;)E=I(E),k--;for(;0<C-k;)v=I(v),C--;for(;k--;){if(E===v||v!==null&&E===v.alternate){I=E;break t}E=I(E),v=I(v)}I=null}else I=null;z!==null&&mm(M,R,z,I,!1),Z!==null&&ke!==null&&mm(M,ke,Z,I,!0)}}e:{if(R=w?dn(w):window,z=R.nodeName&&R.nodeName.toLowerCase(),z==="select"||z==="input"&&R.type==="file")var he=zs;else if(Rs(R))if(As)he=c_;else{he=r_;var $=u_}else z=R.nodeName,!z||z.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?w&&cr(w.elementType)&&(he=zs):he=o_;if(he&&(he=he(e,w))){js(M,he,a,A);break e}$&&$(e,R,w),e==="focusout"&&w&&R.type==="number"&&w.memoizedProps.value!=null&&or(R,"number",R.value)}switch($=w?dn(w):window,e){case"focusin":(Rs($)||$.contentEditable==="true")&&(zl=$,Er=w,xn=null);break;case"focusout":xn=Er=zl=null;break;case"mousedown":Tr=!0;break;case"contextmenu":case"mouseup":case"dragend":Tr=!1,Hs(M,a,A);break;case"selectionchange":if(f_)break;case"keydown":case"keyup":Hs(M,a,A)}var ne;if(vr)e:{switch(e){case"compositionstart":var se="onCompositionStart";break e;case"compositionend":se="onCompositionEnd";break e;case"compositionupdate":se="onCompositionUpdate";break e}se=void 0}else jl?ks(e,a)&&(se="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(se="onCompositionStart");se&&(Ss&&a.locale!=="ko"&&(jl||se!=="onCompositionStart"?se==="onCompositionEnd"&&jl&&(ne=ys()):(Ta=A,hr="value"in Ta?Ta.value:Ta.textContent,jl=!0)),$=du(w,se),0<$.length&&(se=new bs(se,e,null,a,A),M.push({event:se,listeners:$}),ne?se.data=ne:(ne=ws(a),ne!==null&&(se.data=ne)))),(ne=t_?a_(e,a):l_(e,a))&&(se=du(w,"onBeforeInput"),0<se.length&&($=new bs("onBeforeInput","beforeinput",null,a,A),M.push({event:$,listeners:se}),$.data=ne)),J_(M,e,w,a,A)}fm(M,t)})}function Zn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function du(e,t){for(var a=t+"Capture",l=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=mn(e,a),n!=null&&l.unshift(Zn(e,n,i)),n=mn(e,t),n!=null&&l.push(Zn(e,n,i))),e.tag===3)return l;e=e.return}return[]}function I_(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mm(e,t,a,l,n){for(var i=t._reactName,s=[];a!==null&&a!==l;){var d=a,y=d.alternate,w=d.stateNode;if(d=d.tag,y!==null&&y===l)break;d!==5&&d!==26&&d!==27||w===null||(y=w,n?(w=mn(a,i),w!=null&&s.unshift(Zn(a,w,y))):n||(w=mn(a,i),w!=null&&s.push(Zn(a,w,y)))),a=a.return}s.length!==0&&e.push({event:t,listeners:s})}var P_=/\r\n?/g,ey=/\u0000|\uFFFD/g;function hm(e){return(typeof e=="string"?e:""+e).replace(P_,`
|
|
50
|
+
`).replace(ey,"")}function pm(e,t){return t=hm(t),hm(e)===t}function Te(e,t,a,l,n,i){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||kl(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&kl(e,""+l);break;case"className":_i(e,"class",l);break;case"tabIndex":_i(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":_i(e,a,l);break;case"style":hs(e,l,i);break;case"data":if(t!=="object"){_i(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=gi(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"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"&&(a==="formAction"?(t!=="input"&&Te(e,t,"name",n.name,n,null),Te(e,t,"formEncType",n.formEncType,n,null),Te(e,t,"formMethod",n.formMethod,n,null),Te(e,t,"formTarget",n.formTarget,n,null)):(Te(e,t,"encType",n.encType,n,null),Te(e,t,"method",n.method,n,null),Te(e,t,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=gi(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=la);break;case"onScroll":l!=null&&oe("scroll",e);break;case"onScrollEnd":l!=null&&oe("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=gi(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":oe("beforetoggle",e),oe("toggle",e),pi(e,"popover",l);break;case"xlinkActuate":aa(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":aa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":aa(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":aa(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":aa(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":aa(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":aa(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":aa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":aa(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":pi(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=jp.get(a)||a,pi(e,a,l))}}function Wo(e,t,a,l,n,i){switch(a){case"style":hs(e,l,i);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof l=="string"?kl(e,l):(typeof l=="number"||typeof l=="bigint")&&kl(e,""+l);break;case"onScroll":l!=null&&oe("scroll",e);break;case"onScrollEnd":l!=null&&oe("scrollend",e);break;case"onClick":l!=null&&(e.onclick=la);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!is.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),i=e[ct]||null,i=i!=null?i[a]:null,typeof i=="function"&&e.removeEventListener(t,i,n),typeof l=="function")){typeof i!="function"&&i!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):pi(e,a,l)}}}function tt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":oe("error",e),oe("load",e);var l=!1,n=!1,i;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];if(s!=null)switch(i){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Te(e,t,i,s,a,null)}}n&&Te(e,t,"srcSet",a.srcSet,a,null),l&&Te(e,t,"src",a.src,a,null);return;case"input":oe("invalid",e);var d=i=s=n=null,y=null,w=null;for(l in a)if(a.hasOwnProperty(l)){var A=a[l];if(A!=null)switch(l){case"name":n=A;break;case"type":s=A;break;case"checked":y=A;break;case"defaultChecked":w=A;break;case"value":i=A;break;case"defaultValue":d=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:Te(e,t,l,A,a,null)}}ss(e,i,d,y,w,s,n,!1);return;case"select":oe("invalid",e),l=s=i=null;for(n in a)if(a.hasOwnProperty(n)&&(d=a[n],d!=null))switch(n){case"value":i=d;break;case"defaultValue":s=d;break;case"multiple":l=d;default:Te(e,t,n,d,a,null)}t=i,a=s,e.multiple=!!l,t!=null?Tl(e,!!l,t,!1):a!=null&&Tl(e,!!l,a,!0);return;case"textarea":oe("invalid",e),i=n=l=null;for(s in a)if(a.hasOwnProperty(s)&&(d=a[s],d!=null))switch(s){case"value":l=d;break;case"defaultValue":n=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(o(91));break;default:Te(e,t,s,d,a,null)}ds(e,l,n,i);return;case"option":for(y in a)if(a.hasOwnProperty(y)&&(l=a[y],l!=null))switch(y){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Te(e,t,y,l,a,null)}return;case"dialog":oe("beforetoggle",e),oe("toggle",e),oe("cancel",e),oe("close",e);break;case"iframe":case"object":oe("load",e);break;case"video":case"audio":for(l=0;l<Vn.length;l++)oe(Vn[l],e);break;case"image":oe("error",e),oe("load",e);break;case"details":oe("toggle",e);break;case"embed":case"source":case"link":oe("error",e),oe("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(w in a)if(a.hasOwnProperty(w)&&(l=a[w],l!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Te(e,t,w,l,a,null)}return;default:if(cr(t)){for(A in a)a.hasOwnProperty(A)&&(l=a[A],l!==void 0&&Wo(e,t,A,l,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(l=a[d],l!=null&&Te(e,t,d,l,a,null))}function ty(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,s=null,d=null,y=null,w=null,A=null;for(z in a){var M=a[z];if(a.hasOwnProperty(z)&&M!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":y=M;default:l.hasOwnProperty(z)||Te(e,t,z,null,l,M)}}for(var R in l){var z=l[R];if(M=a[R],l.hasOwnProperty(R)&&(z!=null||M!=null))switch(R){case"type":i=z;break;case"name":n=z;break;case"checked":w=z;break;case"defaultChecked":A=z;break;case"value":s=z;break;case"defaultValue":d=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,t));break;default:z!==M&&Te(e,t,R,z,l,M)}}rr(e,s,d,y,w,A,i,n);return;case"select":z=s=d=R=null;for(i in a)if(y=a[i],a.hasOwnProperty(i)&&y!=null)switch(i){case"value":break;case"multiple":z=y;default:l.hasOwnProperty(i)||Te(e,t,i,null,l,y)}for(n in l)if(i=l[n],y=a[n],l.hasOwnProperty(n)&&(i!=null||y!=null))switch(n){case"value":R=i;break;case"defaultValue":d=i;break;case"multiple":s=i;default:i!==y&&Te(e,t,n,i,l,y)}t=d,a=s,l=z,R!=null?Tl(e,!!a,R,!1):!!l!=!!a&&(t!=null?Tl(e,!!a,t,!0):Tl(e,!!a,a?[]:"",!1));return;case"textarea":z=R=null;for(d in a)if(n=a[d],a.hasOwnProperty(d)&&n!=null&&!l.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Te(e,t,d,null,l,n)}for(s in l)if(n=l[s],i=a[s],l.hasOwnProperty(s)&&(n!=null||i!=null))switch(s){case"value":R=n;break;case"defaultValue":z=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==i&&Te(e,t,s,n,l,i)}fs(e,R,z);return;case"option":for(var Z in a)if(R=a[Z],a.hasOwnProperty(Z)&&R!=null&&!l.hasOwnProperty(Z))switch(Z){case"selected":e.selected=!1;break;default:Te(e,t,Z,null,l,R)}for(y in l)if(R=l[y],z=a[y],l.hasOwnProperty(y)&&R!==z&&(R!=null||z!=null))switch(y){case"selected":e.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Te(e,t,y,R,l,z)}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 I in a)R=a[I],a.hasOwnProperty(I)&&R!=null&&!l.hasOwnProperty(I)&&Te(e,t,I,null,l,R);for(w in l)if(R=l[w],z=a[w],l.hasOwnProperty(w)&&R!==z&&(R!=null||z!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,t));break;default:Te(e,t,w,R,l,z)}return;default:if(cr(t)){for(var ke in a)R=a[ke],a.hasOwnProperty(ke)&&R!==void 0&&!l.hasOwnProperty(ke)&&Wo(e,t,ke,void 0,l,R);for(A in l)R=l[A],z=a[A],!l.hasOwnProperty(A)||R===z||R===void 0&&z===void 0||Wo(e,t,A,R,l,z);return}}for(var E in a)R=a[E],a.hasOwnProperty(E)&&R!=null&&!l.hasOwnProperty(E)&&Te(e,t,E,null,l,R);for(M in l)R=l[M],z=a[M],!l.hasOwnProperty(M)||R===z||R==null&&z==null||Te(e,t,M,R,l,z)}function _m(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ay(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var n=a[l],i=n.transferSize,s=n.initiatorType,d=n.duration;if(i&&d&&_m(s)){for(s=0,d=n.responseEnd,l+=1;l<a.length;l++){var y=a[l],w=y.startTime;if(w>d)break;var A=y.transferSize,M=y.initiatorType;A&&_m(M)&&(y=y.responseEnd,s+=A*(y<d?1:(d-w)/(y-w)))}if(--l,t+=8*(i+s)/(n.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}var Fo=null,Io=null;function mu(e){return e.nodeType===9?e:e.ownerDocument}function ym(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function gm(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Po(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}var ec=null;function ly(){var e=window.event;return e&&e.type==="popstate"?e===ec?!1:(ec=e,!0):(ec=null,!1)}var vm=typeof setTimeout=="function"?setTimeout:void 0,ny=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,iy=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(e){return bm.resolve(null).then(e).catch(uy)}:vm;function uy(e){setTimeout(function(){throw e})}function Ya(e){return e==="head"}function xm(e,t){var a=t,l=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"||a==="/&"){if(l===0){e.removeChild(n),an(t);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Kn(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Kn(a);for(var i=a.firstChild;i;){var s=i.nextSibling,d=i.nodeName;i[fn]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=s}}else a==="body"&&Kn(e.ownerDocument.body);a=n}while(a);an(t)}function Sm(e,t){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=l}while(a)}function tc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":tc(a),ir(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function ry(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[fn])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!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function oy(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=qt(e.nextSibling),e===null))return null;return e}function Em(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=qt(e.nextSibling),e===null))return null;return e}function ac(e){return e.data==="$?"||e.data==="$~"}function lc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function cy(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function qt(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==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var nc=null;function Tm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return qt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function km(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function wm(e,t,a){switch(t=mu(a),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Kn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ir(e)}var Ht=new Map,Rm=new Set;function hu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var va=Y.d;Y.d={f:sy,r:fy,D:dy,C:my,L:hy,m:py,X:yy,S:_y,M:gy};function sy(){var e=va.f(),t=iu();return e||t}function fy(e){var t=xl(e);t!==null&&t.tag===5&&t.type==="form"?Qf(t):va.r(e)}var Pl=typeof document>"u"?null:document;function jm(e,t,a){var l=Pl;if(l&&typeof t=="string"&&t){var n=At(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),Rm.has(n)||(Rm.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),tt(t,"link",e),$e(t),l.head.appendChild(t)))}}function dy(e){va.D(e),jm("dns-prefetch",e,null)}function my(e,t){va.C(e,t),jm("preconnect",e,t)}function hy(e,t,a){va.L(e,t,a);var l=Pl;if(l&&e&&t){var n='link[rel="preload"][as="'+At(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+At(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+At(a.imageSizes)+'"]')):n+='[href="'+At(e)+'"]';var i=n;switch(t){case"style":i=en(e);break;case"script":i=tn(e)}Ht.has(i)||(e=S({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ht.set(i,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(Jn(i))||t==="script"&&l.querySelector($n(i))||(t=l.createElement("link"),tt(t,"link",e),$e(t),l.head.appendChild(t)))}}function py(e,t){va.m(e,t);var a=Pl;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+At(l)+'"][href="'+At(e)+'"]',i=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=tn(e)}if(!Ht.has(i)&&(e=S({rel:"modulepreload",href:e},t),Ht.set(i,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector($n(i)))return}l=a.createElement("link"),tt(l,"link",e),$e(l),a.head.appendChild(l)}}}function _y(e,t,a){va.S(e,t,a);var l=Pl;if(l&&e){var n=Sl(l).hoistableStyles,i=en(e);t=t||"default";var s=n.get(i);if(!s){var d={loading:0,preload:null};if(s=l.querySelector(Jn(i)))d.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ht.get(i))&&ic(e,a);var y=s=l.createElement("link");$e(y),tt(y,"link",e),y._p=new Promise(function(w,A){y.onload=w,y.onerror=A}),y.addEventListener("load",function(){d.loading|=1}),y.addEventListener("error",function(){d.loading|=2}),d.loading|=4,pu(s,t,l)}s={type:"stylesheet",instance:s,count:1,state:d},n.set(i,s)}}}function yy(e,t){va.X(e,t);var a=Pl;if(a&&e){var l=Sl(a).hoistableScripts,n=tn(e),i=l.get(n);i||(i=a.querySelector($n(n)),i||(e=S({src:e,async:!0},t),(t=Ht.get(n))&&uc(e,t),i=a.createElement("script"),$e(i),tt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function gy(e,t){va.M(e,t);var a=Pl;if(a&&e){var l=Sl(a).hoistableScripts,n=tn(e),i=l.get(n);i||(i=a.querySelector($n(n)),i||(e=S({src:e,async:!0,type:"module"},t),(t=Ht.get(n))&&uc(e,t),i=a.createElement("script"),$e(i),tt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function zm(e,t,a,l){var n=(n=ue.current)?hu(n):null;if(!n)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=en(a.href),a=Sl(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=en(a.href);var i=Sl(n).hoistableStyles,s=i.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=n.querySelector(Jn(e)))&&!i._p&&(s.instance=i,s.state.loading=5),Ht.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ht.set(e,a),i||vy(n,e,a,s.state))),t&&l===null)throw Error(o(528,""));return s}if(t&&l!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=tn(a),a=Sl(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function en(e){return'href="'+At(e)+'"'}function Jn(e){return'link[rel="stylesheet"]['+e+"]"}function Am(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function vy(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),tt(t,"link",a),$e(t),e.head.appendChild(t))}function tn(e){return'[src="'+At(e)+'"]'}function $n(e){return"script[async]"+e}function Om(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+At(a.href)+'"]');if(l)return t.instance=l,$e(l),l;var n=S({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),$e(l),tt(l,"style",n),pu(l,a.precedence,e),t.instance=l;case"stylesheet":n=en(a.href);var i=e.querySelector(Jn(n));if(i)return t.state.loading|=4,t.instance=i,$e(i),i;l=Am(a),(n=Ht.get(n))&&ic(l,n),i=(e.ownerDocument||e).createElement("link"),$e(i);var s=i;return s._p=new Promise(function(d,y){s.onload=d,s.onerror=y}),tt(i,"link",l),t.state.loading|=4,pu(i,a.precedence,e),t.instance=i;case"script":return i=tn(a.src),(n=e.querySelector($n(i)))?(t.instance=n,$e(n),n):(l=a,(n=Ht.get(i))&&(l=S({},a),uc(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),$e(n),tt(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,pu(l,a.precedence,e));return t.instance}function pu(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,i=n,s=0;s<l.length;s++){var d=l[s];if(d.dataset.precedence===t)i=d;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function ic(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function uc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var _u=null;function Cm(e,t,a){if(_u===null){var l=new Map,n=_u=new Map;n.set(a,l)}else n=_u,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var i=a[n];if(!(i[fn]||i[Fe]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(t)||"";s=e+s;var d=l.get(s);d?d.push(i):l.set(s,[i])}}return l}function Mm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function by(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Nm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function xy(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var n=en(l.href),i=t.querySelector(Jn(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=yu.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,$e(i);return}i=t.ownerDocument||t,l=Am(l),(n=Ht.get(n))&&ic(l,n),i=i.createElement("link"),$e(i);var s=i;s._p=new Promise(function(d,y){s.onload=d,s.onerror=y}),tt(i,"link",l),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=yu.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var rc=0;function Sy(e,t){return e.stylesheets&&e.count===0&&vu(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&&vu(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&rc===0&&(rc=62500*ay());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&vu(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>rc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function yu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)vu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function vu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,t.forEach(Ey,e),gu=null,yu.call(e))}function Ey(e,t){if(!(t.state.loading&4)){var a=gu.get(e);if(a)var l=a.get(null);else{a=new Map,gu.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var s=n[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(a.set(s.dataset.precedence,s),l=s)}l&&a.set(null,l)}n=t.instance,s=n.getAttribute("data-precedence"),i=a.get(s)||l,i===l&&a.set(null,n),a.set(s,n),this.count++,l=yu.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Wn={$$typeof:F,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function Ty(e,t,a,l,n,i,s,d,y){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=tr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tr(0),this.hiddenUpdates=tr(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function Dm(e,t,a,l,n,i,s,d,y,w,A,M){return e=new Ty(e,t,a,s,y,w,A,M,d),t=1,i===!0&&(t|=24),i=bt(3,null,null,t),e.current=i,i.stateNode=e,t=Lr(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:l,isDehydrated:a,cache:t},Xr(i),e}function Um(e){return e?(e=Cl,e):Cl}function qm(e,t,a,l,n,i){n=Um(n),l.context===null?l.context=n:l.pendingContext=n,l=Aa(t),l.payload={element:a},i=i===void 0?null:i,i!==null&&(l.callback=i),a=Oa(e,l,t),a!==null&&(pt(a,e,t),jn(a,e,t))}function Hm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function oc(e,t){Hm(e,t),(e=e.alternate)&&Hm(e,t)}function Lm(e){if(e.tag===13||e.tag===31){var t=ll(e,67108864);t!==null&&pt(t,e,67108864),oc(e,67108864)}}function Bm(e){if(e.tag===13||e.tag===31){var t=kt();t=ar(t);var a=ll(e,t);a!==null&&pt(a,e,t),oc(e,t)}}var bu=!0;function ky(e,t,a,l){var n=O.T;O.T=null;var i=Y.p;try{Y.p=2,cc(e,t,a,l)}finally{Y.p=i,O.T=n}}function wy(e,t,a,l){var n=O.T;O.T=null;var i=Y.p;try{Y.p=8,cc(e,t,a,l)}finally{Y.p=i,O.T=n}}function cc(e,t,a,l){if(bu){var n=sc(l);if(n===null)$o(e,t,l,xu,a),Gm(e,l);else if(jy(n,e,t,a,l))l.stopPropagation();else if(Gm(e,l),t&4&&-1<Ry.indexOf(e)){for(;n!==null;){var i=xl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=Ia(i.pendingLanes);if(s!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;s;){var y=1<<31-gt(s);d.entanglements[1]|=y,s&=~y}Ft(i),(_e&6)===0&&(lu=_t()+500,Qn(0))}}break;case 31:case 13:d=ll(i,2),d!==null&&pt(d,i,2),iu(),oc(i,2)}if(i=sc(l),i===null&&$o(e,t,l,xu,a),i===n)break;n=i}n!==null&&l.stopPropagation()}else $o(e,t,l,null,a)}}function sc(e){return e=fr(e),fc(e)}var xu=null;function fc(e){if(xu=null,e=bl(e),e!==null){var t=m(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=p(t),e!==null)return e;e=null}else if(a===31){if(e=T(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xu=e,null}function Ym(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 2;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 8;case"message":switch(dp()){case Jc:return 2;case $c:return 8;case si:case mp:return 32;case Wc:return 268435456;default:return 32}default:return 32}}var dc=!1,Ga=null,Xa=null,Qa=null,Fn=new Map,In=new Map,Va=[],Ry="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(" ");function Gm(e,t){switch(e){case"focusin":case"focusout":Ga=null;break;case"dragenter":case"dragleave":Xa=null;break;case"mouseover":case"mouseout":Qa=null;break;case"pointerover":case"pointerout":Fn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":In.delete(t.pointerId)}}function Pn(e,t,a,l,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:i,targetContainers:[n]},t!==null&&(t=xl(t),t!==null&&Lm(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function jy(e,t,a,l,n){switch(t){case"focusin":return Ga=Pn(Ga,e,t,a,l,n),!0;case"dragenter":return Xa=Pn(Xa,e,t,a,l,n),!0;case"mouseover":return Qa=Pn(Qa,e,t,a,l,n),!0;case"pointerover":var i=n.pointerId;return Fn.set(i,Pn(Fn.get(i)||null,e,t,a,l,n)),!0;case"gotpointercapture":return i=n.pointerId,In.set(i,Pn(In.get(i)||null,e,t,a,l,n)),!0}return!1}function Xm(e){var t=bl(e.target);if(t!==null){var a=m(t);if(a!==null){if(t=a.tag,t===13){if(t=p(a),t!==null){e.blockedOn=t,as(e.priority,function(){Bm(a)});return}}else if(t===31){if(t=T(a),t!==null){e.blockedOn=t,as(e.priority,function(){Bm(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Su(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=sc(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);sr=l,a.target.dispatchEvent(l),sr=null}else return t=xl(a),t!==null&&Lm(t),e.blockedOn=a,!1;t.shift()}return!0}function Qm(e,t,a){Su(e)&&a.delete(t)}function zy(){dc=!1,Ga!==null&&Su(Ga)&&(Ga=null),Xa!==null&&Su(Xa)&&(Xa=null),Qa!==null&&Su(Qa)&&(Qa=null),Fn.forEach(Qm),In.forEach(Qm)}function Eu(e,t){e.blockedOn===t&&(e.blockedOn=null,dc||(dc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,zy)))}var Tu=null;function Vm(e){Tu!==e&&(Tu=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Tu===e&&(Tu=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!="function"){if(fc(l||a)===null)continue;break}var i=xl(a);i!==null&&(e.splice(t,3),t-=3,co(i,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function an(e){function t(y){return Eu(y,e)}Ga!==null&&Eu(Ga,e),Xa!==null&&Eu(Xa,e),Qa!==null&&Eu(Qa,e),Fn.forEach(t),In.forEach(t);for(var a=0;a<Va.length;a++){var l=Va[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Va.length&&(a=Va[0],a.blockedOn===null);)Xm(a),a.blockedOn===null&&Va.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],i=a[l+1],s=n[ct]||null;if(typeof i=="function")s||Vm(a);else if(s){var d=null;if(i&&i.hasAttribute("formAction")){if(n=i,s=i[ct]||null)d=s.formAction;else if(fc(n)!==null)continue}else d=s.action;typeof d=="function"?a[l+1]=d:(a.splice(l,3),l-=3),Vm(a)}}}function Zm(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),l||setTimeout(a,20)}function a(){if(!l&&!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 l=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function mc(e){this._internalRoot=e}ku.prototype.render=mc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,l=kt();qm(a,l,e,t,null,null)},ku.prototype.unmount=mc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qm(e.current,2,null,e,null,null),iu(),t[vl]=null}};function ku(e){this._internalRoot=e}ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=ts();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Va.length&&t!==0&&t<Va[a].priority;a++);Va.splice(a,0,e),a===0&&Xm(e)}};var Km=r.version;if(Km!=="19.2.4")throw Error(o(527,Km,"19.2.4"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=h(t),e=e!==null?j(e):null,e=e===null?null:e.stateNode,e};var Ay={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wu.isDisabled&&wu.supportsFiber)try{on=wu.inject(Ay),yt=wu}catch{}}return ti.createRoot=function(e,t){if(!f(e))throw Error(o(299));var a=!1,l="",n=ed,i=td,s=ad;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Dm(e,1,!1,null,null,a,l,null,n,i,s,Zm),e[vl]=t.current,Jo(e),new mc(t)},ti.hydrateRoot=function(e,t,a){if(!f(e))throw Error(o(299));var l=!1,n="",i=ed,s=td,d=ad,y=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(s=a.onCaughtError),a.onRecoverableError!==void 0&&(d=a.onRecoverableError),a.formState!==void 0&&(y=a.formState)),t=Dm(e,1,!0,t,a??null,l,n,y,i,s,d,Zm),t.context=Um(null),a=t.current,l=kt(),l=ar(l),n=Aa(l),n.callback=null,Oa(a,n,l),a=l,t.current.lanes=a,sn(t,a),Ft(t),e[vl]=t.current,Jo(e),new ku(t)},ti.version="19.2.4",ti}var ih;function Xy(){if(ih)return yc.exports;ih=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),yc.exports=Gy(),yc.exports}var Qy=Xy();const Vy="modulepreload",Zy=function(u){return"/"+u},uh={},Ce=function(r,c,o){let f=Promise.resolve();if(c&&c.length>0){let p=function(h){return Promise.all(h.map(j=>Promise.resolve(j).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};document.getElementsByTagName("link");const T=document.querySelector("meta[property=csp-nonce]"),g=(T==null?void 0:T.nonce)||(T==null?void 0:T.getAttribute("nonce"));f=p(c.map(h=>{if(h=Zy(h),h in uh)return;uh[h]=!0;const j=h.endsWith(".css"),S=j?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${S}`))return;const D=document.createElement("link");if(D.rel=j?"stylesheet":Vy,j||(D.as="script"),D.crossOrigin="",D.href=h,g&&D.setAttribute("nonce",g),document.head.appendChild(D),j)return new Promise((V,q)=>{D.addEventListener("load",V),D.addEventListener("error",()=>q(new Error(`Unable to preload CSS for ${h}`)))})}))}function m(p){const T=new Event("vite:preloadError",{cancelable:!0});if(T.payload=p,window.dispatchEvent(T),!T.defaultPrevented)throw p}return f.then(p=>{for(const T of p||[])T.status==="rejected"&&m(T.reason);return r().catch(m)})};/**
|
|
51
|
+
* react-router v7.13.1
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Remix Software Inc.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
57
|
+
*
|
|
58
|
+
* @license MIT
|
|
59
|
+
*/var rh="popstate";function oh(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function Ky(u={}){function r(o,f){var h;let m=(h=f.state)==null?void 0:h.masked,{pathname:p,search:T,hash:g}=m||o.location;return jc("",{pathname:p,search:T,hash:g},f.state&&f.state.usr||null,f.state&&f.state.key||"default",m?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function c(o,f){return typeof f=="string"?f:ui(f)}return $y(r,c,null,u)}function Ne(u,r){if(u===!1||u===null||typeof u>"u")throw new Error(r)}function Kt(u,r){if(!u){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function Jy(){return Math.random().toString(36).substring(2,10)}function ch(u,r){return{usr:u.state,key:u.key,idx:r,masked:u.unstable_mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function jc(u,r,c=null,o,f){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof r=="string"?ln(r):r,state:c,key:r&&r.key||o||Jy(),unstable_mask:f}}function ui({pathname:u="/",search:r="",hash:c=""}){return r&&r!=="?"&&(u+=r.charAt(0)==="?"?r:"?"+r),c&&c!=="#"&&(u+=c.charAt(0)==="#"?c:"#"+c),u}function ln(u){let r={};if(u){let c=u.indexOf("#");c>=0&&(r.hash=u.substring(c),u=u.substring(0,c));let o=u.indexOf("?");o>=0&&(r.search=u.substring(o),u=u.substring(0,o)),u&&(r.pathname=u)}return r}function $y(u,r,c,o={}){let{window:f=document.defaultView,v5Compat:m=!1}=o,p=f.history,T="POP",g=null,h=j();h==null&&(h=0,p.replaceState({...p.state,idx:h},""));function j(){return(p.state||{idx:null}).idx}function S(){T="POP";let B=j(),L=B==null?null:B-h;h=B,g&&g({action:T,location:H.location,delta:L})}function D(B,L){T="PUSH";let P=oh(B)?B:jc(H.location,B,L);h=j()+1;let F=ch(P,h),me=H.createHref(P.unstable_mask||P);try{p.pushState(F,"",me)}catch(fe){if(fe instanceof DOMException&&fe.name==="DataCloneError")throw fe;f.location.assign(me)}m&&g&&g({action:T,location:H.location,delta:1})}function V(B,L){T="REPLACE";let P=oh(B)?B:jc(H.location,B,L);h=j();let F=ch(P,h),me=H.createHref(P.unstable_mask||P);p.replaceState(F,"",me),m&&g&&g({action:T,location:H.location,delta:0})}function q(B){return Wy(B)}let H={get action(){return T},get location(){return u(f,p)},listen(B){if(g)throw new Error("A history only accepts one active listener");return f.addEventListener(rh,S),g=B,()=>{f.removeEventListener(rh,S),g=null}},createHref(B){return r(f,B)},createURL:q,encodeLocation(B){let L=q(B);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:D,replace:V,go(B){return p.go(B)}};return H}function Wy(u,r=!1){let c="http://localhost";typeof window<"u"&&(c=window.location.origin!=="null"?window.location.origin:window.location.href),Ne(c,"No window.location.(origin|href) available to create URL");let o=typeof u=="string"?u:ui(u);return o=o.replace(/ $/,"%20"),!r&&o.startsWith("//")&&(o=c+o),new URL(o,c)}function Sh(u,r,c="/"){return Fy(u,r,c,!1)}function Fy(u,r,c,o){let f=typeof r=="string"?ln(r):r,m=xa(f.pathname||"/",c);if(m==null)return null;let p=Eh(u);Iy(p);let T=null;for(let g=0;T==null&&g<p.length;++g){let h=cg(m);T=rg(p[g],h,o)}return T}function Eh(u,r=[],c=[],o="",f=!1){let m=(p,T,g=f,h)=>{let j={relativePath:h===void 0?p.path||"":h,caseSensitive:p.caseSensitive===!0,childrenIndex:T,route:p};if(j.relativePath.startsWith("/")){if(!j.relativePath.startsWith(o)&&g)return;Ne(j.relativePath.startsWith(o),`Absolute route path "${j.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),j.relativePath=j.relativePath.slice(o.length)}let S=ea([o,j.relativePath]),D=c.concat(j);p.children&&p.children.length>0&&(Ne(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),Eh(p.children,r,D,S,g)),!(p.path==null&&!p.index)&&r.push({path:S,score:ig(S,p.index),routesMeta:D})};return u.forEach((p,T)=>{var g;if(p.path===""||!((g=p.path)!=null&&g.includes("?")))m(p,T);else for(let h of Th(p.path))m(p,T,!0,h)}),r}function Th(u){let r=u.split("/");if(r.length===0)return[];let[c,...o]=r,f=c.endsWith("?"),m=c.replace(/\?$/,"");if(o.length===0)return f?[m,""]:[m];let p=Th(o.join("/")),T=[];return T.push(...p.map(g=>g===""?m:[m,g].join("/"))),f&&T.push(...p),T.map(g=>u.startsWith("/")&&g===""?"/":g)}function Iy(u){u.sort((r,c)=>r.score!==c.score?c.score-r.score:ug(r.routesMeta.map(o=>o.childrenIndex),c.routesMeta.map(o=>o.childrenIndex)))}var Py=/^:[\w-]+$/,eg=3,tg=2,ag=1,lg=10,ng=-2,sh=u=>u==="*";function ig(u,r){let c=u.split("/"),o=c.length;return c.some(sh)&&(o+=ng),r&&(o+=tg),c.filter(f=>!sh(f)).reduce((f,m)=>f+(Py.test(m)?eg:m===""?ag:lg),o)}function ug(u,r){return u.length===r.length&&u.slice(0,-1).every((o,f)=>o===r[f])?u[u.length-1]-r[r.length-1]:0}function rg(u,r,c=!1){let{routesMeta:o}=u,f={},m="/",p=[];for(let T=0;T<o.length;++T){let g=o[T],h=T===o.length-1,j=m==="/"?r:r.slice(m.length)||"/",S=Xu({path:g.relativePath,caseSensitive:g.caseSensitive,end:h},j),D=g.route;if(!S&&h&&c&&!o[o.length-1].route.index&&(S=Xu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},j)),!S)return null;Object.assign(f,S.params),p.push({params:f,pathname:ea([m,S.pathname]),pathnameBase:mg(ea([m,S.pathnameBase])),route:D}),S.pathnameBase!=="/"&&(m=ea([m,S.pathnameBase]))}return p}function Xu(u,r){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[c,o]=og(u.path,u.caseSensitive,u.end),f=r.match(c);if(!f)return null;let m=f[0],p=m.replace(/(.)\/+$/,"$1"),T=f.slice(1);return{params:o.reduce((h,{paramName:j,isOptional:S},D)=>{if(j==="*"){let q=T[D]||"";p=m.slice(0,m.length-q.length).replace(/(.)\/+$/,"$1")}const V=T[D];return S&&!V?h[j]=void 0:h[j]=(V||"").replace(/%2F/g,"/"),h},{}),pathname:m,pathnameBase:p,pattern:u}}function og(u,r=!1,c=!0){Kt(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let o=[],f="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,T,g,h,j)=>{if(o.push({paramName:T,isOptional:g!=null}),g){let S=j.charAt(h+p.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(o.push({paramName:"*"}),f+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):c?f+="\\/*$":u!==""&&u!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,r?void 0:"i"),o]}function cg(u){try{return u.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Kt(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),u}}function xa(u,r){if(r==="/")return u;if(!u.toLowerCase().startsWith(r.toLowerCase()))return null;let c=r.endsWith("/")?r.length-1:r.length,o=u.charAt(c);return o&&o!=="/"?null:u.slice(c)||"/"}var sg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function fg(u,r="/"){let{pathname:c,search:o="",hash:f=""}=typeof u=="string"?ln(u):u,m;return c?(c=c.replace(/\/\/+/g,"/"),c.startsWith("/")?m=fh(c.substring(1),"/"):m=fh(c,r)):m=r,{pathname:m,search:hg(o),hash:pg(f)}}function fh(u,r){let c=r.replace(/\/+$/,"").split("/");return u.split("/").forEach(f=>{f===".."?c.length>1&&c.pop():f!=="."&&c.push(f)}),c.length>1?c.join("/"):"/"}function xc(u,r,c,o){return`Cannot include a '${u}' character in a manually specified \`to.${r}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${c}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function dg(u){return u.filter((r,c)=>c===0||r.route.path&&r.route.path.length>0)}function Hc(u){let r=dg(u);return r.map((c,o)=>o===r.length-1?c.pathname:c.pathnameBase)}function Zu(u,r,c,o=!1){let f;typeof u=="string"?f=ln(u):(f={...u},Ne(!f.pathname||!f.pathname.includes("?"),xc("?","pathname","search",f)),Ne(!f.pathname||!f.pathname.includes("#"),xc("#","pathname","hash",f)),Ne(!f.search||!f.search.includes("#"),xc("#","search","hash",f)));let m=u===""||f.pathname==="",p=m?"/":f.pathname,T;if(p==null)T=c;else{let S=r.length-1;if(!o&&p.startsWith("..")){let D=p.split("/");for(;D[0]==="..";)D.shift(),S-=1;f.pathname=D.join("/")}T=S>=0?r[S]:"/"}let g=fg(f,T),h=p&&p!=="/"&&p.endsWith("/"),j=(m||p===".")&&c.endsWith("/");return!g.pathname.endsWith("/")&&(h||j)&&(g.pathname+="/"),g}var ea=u=>u.join("/").replace(/\/\/+/g,"/"),mg=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),hg=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,pg=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,_g=class{constructor(u,r,c,o=!1){this.status=u,this.statusText=r||"",this.internal=o,c instanceof Error?(this.data=c.toString(),this.error=c):this.data=c}};function yg(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function gg(u){return u.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var kh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function wh(u,r){let c=u;if(typeof c!="string"||!sg.test(c))return{absoluteURL:void 0,isExternal:!1,to:c};let o=c,f=!1;if(kh)try{let m=new URL(window.location.href),p=c.startsWith("//")?new URL(m.protocol+c):new URL(c),T=xa(p.pathname,r);p.origin===m.origin&&T!=null?c=T+p.search+p.hash:f=!0}catch{Kt(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:f,to:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Rh=["POST","PUT","PATCH","DELETE"];new Set(Rh);var vg=["GET",...Rh];new Set(vg);var nn=x.createContext(null);nn.displayName="DataRouter";var Ku=x.createContext(null);Ku.displayName="DataRouterState";var bg=x.createContext(!1),jh=x.createContext({isTransitioning:!1});jh.displayName="ViewTransition";var xg=x.createContext(new Map);xg.displayName="Fetchers";var Sg=x.createContext(null);Sg.displayName="Await";var Rt=x.createContext(null);Rt.displayName="Navigation";var ri=x.createContext(null);ri.displayName="Location";var Bt=x.createContext({outlet:null,matches:[],isDataRoute:!1});Bt.displayName="Route";var Lc=x.createContext(null);Lc.displayName="RouteError";var zh="REACT_ROUTER_ERROR",Eg="REDIRECT",Tg="ROUTE_ERROR_RESPONSE";function kg(u){if(u.startsWith(`${zh}:${Eg}:{`))try{let r=JSON.parse(u.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function wg(u){if(u.startsWith(`${zh}:${Tg}:{`))try{let r=JSON.parse(u.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new _g(r.status,r.statusText,r.data)}catch{}}function Rg(u,{relative:r}={}){Ne(un(),"useHref() may be used only in the context of a <Router> component.");let{basename:c,navigator:o}=x.useContext(Rt),{hash:f,pathname:m,search:p}=oi(u,{relative:r}),T=m;return c!=="/"&&(T=m==="/"?c:ea([c,m])),o.createHref({pathname:T,search:p,hash:f})}function un(){return x.useContext(ri)!=null}function Yt(){return Ne(un(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(ri).location}var Ah="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Oh(u){x.useContext(Rt).static||x.useLayoutEffect(u)}function gl(){let{isDataRoute:u}=x.useContext(Bt);return u?Gg():jg()}function jg(){Ne(un(),"useNavigate() may be used only in the context of a <Router> component.");let u=x.useContext(nn),{basename:r,navigator:c}=x.useContext(Rt),{matches:o}=x.useContext(Bt),{pathname:f}=Yt(),m=JSON.stringify(Hc(o)),p=x.useRef(!1);return Oh(()=>{p.current=!0}),x.useCallback((g,h={})=>{if(Kt(p.current,Ah),!p.current)return;if(typeof g=="number"){c.go(g);return}let j=Zu(g,JSON.parse(m),f,h.relative==="path");u==null&&r!=="/"&&(j.pathname=j.pathname==="/"?r:ea([r,j.pathname])),(h.replace?c.replace:c.push)(j,h.state,h)},[r,c,m,f,u])}var zg=x.createContext(null);function Ag(u){let r=x.useContext(Bt).outlet;return x.useMemo(()=>r&&x.createElement(zg.Provider,{value:u},r),[r,u])}function zb(){let{matches:u}=x.useContext(Bt),r=u[u.length-1];return r?r.params:{}}function oi(u,{relative:r}={}){let{matches:c}=x.useContext(Bt),{pathname:o}=Yt(),f=JSON.stringify(Hc(c));return x.useMemo(()=>Zu(u,JSON.parse(f),o,r==="path"),[u,f,o,r])}function Og(u,r){return Ch(u,r)}function Ch(u,r,c){var B;Ne(un(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=x.useContext(Rt),{matches:f}=x.useContext(Bt),m=f[f.length-1],p=m?m.params:{},T=m?m.pathname:"/",g=m?m.pathnameBase:"/",h=m&&m.route;{let L=h&&h.path||"";Nh(T,!h||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${T}" (under <Route path="${L}">) 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.
|
|
60
|
+
|
|
61
|
+
Please change the parent <Route path="${L}"> to <Route path="${L==="/"?"*":`${L}/*`}">.`)}let j=Yt(),S;if(r){let L=typeof r=="string"?ln(r):r;Ne(g==="/"||((B=L.pathname)==null?void 0:B.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${L.pathname}" was given in the \`location\` prop.`),S=L}else S=j;let D=S.pathname||"/",V=D;if(g!=="/"){let L=g.replace(/^\//,"").split("/");V="/"+D.replace(/^\//,"").split("/").slice(L.length).join("/")}let q=Sh(u,{pathname:V});Kt(h||q!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Kt(q==null||q[q.length-1].route.element!==void 0||q[q.length-1].route.Component!==void 0||q[q.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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.`);let H=Ug(q&&q.map(L=>Object.assign({},L,{params:Object.assign({},p,L.params),pathname:ea([g,o.encodeLocation?o.encodeLocation(L.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?g:ea([g,o.encodeLocation?o.encodeLocation(L.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),f,c);return r&&H?x.createElement(ri.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...S},navigationType:"POP"}},H):H}function Cg(){let u=Yg(),r=yg(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),c=u instanceof Error?u.stack:null,o="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:o},m={padding:"2px 4px",backgroundColor:o},p=null;return console.error("Error handled by React Router default ErrorBoundary:",u),p=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:m},"ErrorBoundary")," or"," ",x.createElement("code",{style:m},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},r),c?x.createElement("pre",{style:f},c):null,p)}var Mg=x.createElement(Cg,null),Mh=class extends x.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,r){return r.location!==u.location||r.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:r.error,location:r.location,revalidation:u.revalidation||r.revalidation}}componentDidCatch(u,r){this.props.onError?this.props.onError(u,r):console.error("React Router caught the following error during render",u)}render(){let u=this.state.error;if(this.context&&typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){const c=wg(u.digest);c&&(u=c)}let r=u!==void 0?x.createElement(Bt.Provider,{value:this.props.routeContext},x.createElement(Lc.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?x.createElement(Ng,{error:u},r):r}};Mh.contextType=bg;var Sc=new WeakMap;function Ng({children:u,error:r}){let{basename:c}=x.useContext(Rt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let o=kg(r.digest);if(o){let f=Sc.get(r);if(f)throw f;let m=wh(o.location,c);if(kh&&!Sc.get(r))if(m.isExternal||o.reloadDocument)window.location.href=m.absoluteURL||m.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(m.to,{replace:o.replace}));throw Sc.set(r,p),p}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${m.absoluteURL||m.to}`})}}return u}function Dg({routeContext:u,match:r,children:c}){let o=x.useContext(nn);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),x.createElement(Bt.Provider,{value:u},c)}function Ug(u,r=[],c){let o=c==null?void 0:c.state;if(u==null){if(!o)return null;if(o.errors)u=o.matches;else if(r.length===0&&!o.initialized&&o.matches.length>0)u=o.matches;else return null}let f=u,m=o==null?void 0:o.errors;if(m!=null){let j=f.findIndex(S=>S.route.id&&(m==null?void 0:m[S.route.id])!==void 0);Ne(j>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),f=f.slice(0,Math.min(f.length,j+1))}let p=!1,T=-1;if(c&&o){p=o.renderFallback;for(let j=0;j<f.length;j++){let S=f[j];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(T=j),S.route.id){let{loaderData:D,errors:V}=o,q=S.route.loader&&!D.hasOwnProperty(S.route.id)&&(!V||V[S.route.id]===void 0);if(S.route.lazy||q){c.isStatic&&(p=!0),T>=0?f=f.slice(0,T+1):f=[f[0]];break}}}}let g=c==null?void 0:c.onError,h=o&&g?(j,S)=>{var D,V;g(j,{location:o.location,params:((V=(D=o.matches)==null?void 0:D[0])==null?void 0:V.params)??{},unstable_pattern:gg(o.matches),errorInfo:S})}:void 0;return f.reduceRight((j,S,D)=>{let V,q=!1,H=null,B=null;o&&(V=m&&S.route.id?m[S.route.id]:void 0,H=S.route.errorElement||Mg,p&&(T<0&&D===0?(Nh("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),q=!0,B=null):T===D&&(q=!0,B=S.route.hydrateFallbackElement||null)));let L=r.concat(f.slice(0,D+1)),P=()=>{let F;return V?F=H:q?F=B:S.route.Component?F=x.createElement(S.route.Component,null):S.route.element?F=S.route.element:F=j,x.createElement(Dg,{match:S,routeContext:{outlet:j,matches:L,isDataRoute:o!=null},children:F})};return o&&(S.route.ErrorBoundary||S.route.errorElement||D===0)?x.createElement(Mh,{location:o.location,revalidation:o.revalidation,component:H,error:V,children:P(),routeContext:{outlet:null,matches:L,isDataRoute:!0},onError:h}):P()},null)}function Bc(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function qg(u){let r=x.useContext(nn);return Ne(r,Bc(u)),r}function Hg(u){let r=x.useContext(Ku);return Ne(r,Bc(u)),r}function Lg(u){let r=x.useContext(Bt);return Ne(r,Bc(u)),r}function Yc(u){let r=Lg(u),c=r.matches[r.matches.length-1];return Ne(c.route.id,`${u} can only be used on routes that contain a unique "id"`),c.route.id}function Bg(){return Yc("useRouteId")}function Yg(){var o;let u=x.useContext(Lc),r=Hg("useRouteError"),c=Yc("useRouteError");return u!==void 0?u:(o=r.errors)==null?void 0:o[c]}function Gg(){let{router:u}=qg("useNavigate"),r=Yc("useNavigate"),c=x.useRef(!1);return Oh(()=>{c.current=!0}),x.useCallback(async(f,m={})=>{Kt(c.current,Ah),c.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:r,...m}))},[u,r])}var dh={};function Nh(u,r,c){!r&&!dh[u]&&(dh[u]=!0,Kt(!1,c))}x.memo(Xg);function Xg({routes:u,future:r,state:c,isStatic:o,onError:f}){return Ch(u,void 0,{state:c,isStatic:o,onError:f})}function Du({to:u,replace:r,state:c,relative:o}){Ne(un(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=x.useContext(Rt);Kt(!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:m}=x.useContext(Bt),{pathname:p}=Yt(),T=gl(),g=Zu(u,Hc(m),p,o==="path"),h=JSON.stringify(g);return x.useEffect(()=>{T(JSON.parse(h),{replace:r,state:c,relative:o})},[T,h,o,r,c]),null}function Qg(u){return Ag(u.context)}function we(u){Ne(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Vg({basename:u="/",children:r=null,location:c,navigationType:o="POP",navigator:f,static:m=!1,unstable_useTransitions:p}){Ne(!un(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let T=u.replace(/^\/*/,"/"),g=x.useMemo(()=>({basename:T,navigator:f,static:m,unstable_useTransitions:p,future:{}}),[T,f,m,p]);typeof c=="string"&&(c=ln(c));let{pathname:h="/",search:j="",hash:S="",state:D=null,key:V="default",unstable_mask:q}=c,H=x.useMemo(()=>{let B=xa(h,T);return B==null?null:{location:{pathname:B,search:j,hash:S,state:D,key:V,unstable_mask:q},navigationType:o}},[T,h,j,S,D,V,o,q]);return Kt(H!=null,`<Router basename="${T}"> is not able to match the URL "${h}${j}${S}" because it does not start with the basename, so the <Router> won't render anything.`),H==null?null:x.createElement(Rt.Provider,{value:g},x.createElement(ri.Provider,{children:r,value:H}))}function Zg({children:u,location:r}){return Og(zc(u),r)}function zc(u,r=[]){let c=[];return x.Children.forEach(u,(o,f)=>{if(!x.isValidElement(o))return;let m=[...r,f];if(o.type===x.Fragment){c.push.apply(c,zc(o.props.children,m));return}Ne(o.type===we,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ne(!o.props.index||!o.props.children,"An index route cannot have child routes.");let p={id:o.props.id||m.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(p.children=zc(o.props.children,m)),c.push(p)}),c}var Uu="get",qu="application/x-www-form-urlencoded";function Ju(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function Kg(u){return Ju(u)&&u.tagName.toLowerCase()==="button"}function Jg(u){return Ju(u)&&u.tagName.toLowerCase()==="form"}function $g(u){return Ju(u)&&u.tagName.toLowerCase()==="input"}function Wg(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Fg(u,r){return u.button===0&&(!r||r==="_self")&&!Wg(u)}var ju=null;function Ig(){if(ju===null)try{new FormData(document.createElement("form"),0),ju=!1}catch{ju=!0}return ju}var Pg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ec(u){return u!=null&&!Pg.has(u)?(Kt(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qu}"`),null):u}function ev(u,r){let c,o,f,m,p;if(Jg(u)){let T=u.getAttribute("action");o=T?xa(T,r):null,c=u.getAttribute("method")||Uu,f=Ec(u.getAttribute("enctype"))||qu,m=new FormData(u)}else if(Kg(u)||$g(u)&&(u.type==="submit"||u.type==="image")){let T=u.form;if(T==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=u.getAttribute("formaction")||T.getAttribute("action");if(o=g?xa(g,r):null,c=u.getAttribute("formmethod")||T.getAttribute("method")||Uu,f=Ec(u.getAttribute("formenctype"))||Ec(T.getAttribute("enctype"))||qu,m=new FormData(T,u),!Ig()){let{name:h,type:j,value:S}=u;if(j==="image"){let D=h?`${h}.`:"";m.append(`${D}x`,"0"),m.append(`${D}y`,"0")}else h&&m.append(h,S)}}else{if(Ju(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');c=Uu,o=null,f=qu,p=u}return m&&f==="text/plain"&&(p=m,m=void 0),{action:o,method:c.toLowerCase(),encType:f,formData:m,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Gc(u,r){if(u===!1||u===null||typeof u>"u")throw new Error(r)}function tv(u,r,c,o){let f=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return c?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${o}`:f.pathname=`${f.pathname}.${o}`:f.pathname==="/"?f.pathname=`_root.${o}`:r&&xa(f.pathname,r)==="/"?f.pathname=`${r.replace(/\/$/,"")}/_root.${o}`:f.pathname=`${f.pathname.replace(/\/$/,"")}.${o}`,f}async function av(u,r){if(u.id in r)return r[u.id];try{let c=await import(u.module);return r[u.id]=c,c}catch(c){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(c),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function lv(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}async function nv(u,r,c){let o=await Promise.all(u.map(async f=>{let m=r.routes[f.route.id];if(m){let p=await av(m,c);return p.links?p.links():[]}return[]}));return ov(o.flat(1).filter(lv).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function mh(u,r,c,o,f,m){let p=(g,h)=>c[h]?g.route.id!==c[h].route.id:!0,T=(g,h)=>{var j;return c[h].pathname!==g.pathname||((j=c[h].route.path)==null?void 0:j.endsWith("*"))&&c[h].params["*"]!==g.params["*"]};return m==="assets"?r.filter((g,h)=>p(g,h)||T(g,h)):m==="data"?r.filter((g,h)=>{var S;let j=o.routes[g.route.id];if(!j||!j.hasLoader)return!1;if(p(g,h)||T(g,h))return!0;if(g.route.shouldRevalidate){let D=g.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((S=c[0])==null?void 0:S.params)||{},nextUrl:new URL(u,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function iv(u,r,{includeHydrateFallback:c}={}){return uv(u.map(o=>{let f=r.routes[o.route.id];if(!f)return[];let m=[f.module];return f.clientActionModule&&(m=m.concat(f.clientActionModule)),f.clientLoaderModule&&(m=m.concat(f.clientLoaderModule)),c&&f.hydrateFallbackModule&&(m=m.concat(f.hydrateFallbackModule)),f.imports&&(m=m.concat(f.imports)),m}).flat(1))}function uv(u){return[...new Set(u)]}function rv(u){let r={},c=Object.keys(u).sort();for(let o of c)r[o]=u[o];return r}function ov(u,r){let c=new Set;return new Set(r),u.reduce((o,f)=>{let m=JSON.stringify(rv(f));return c.has(m)||(c.add(m),o.push({key:m,link:f})),o},[])}function Dh(){let u=x.useContext(nn);return Gc(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function cv(){let u=x.useContext(Ku);return Gc(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var Xc=x.createContext(void 0);Xc.displayName="FrameworkContext";function Uh(){let u=x.useContext(Xc);return Gc(u,"You must render this element inside a <HydratedRouter> element"),u}function sv(u,r){let c=x.useContext(Xc),[o,f]=x.useState(!1),[m,p]=x.useState(!1),{onFocus:T,onBlur:g,onMouseEnter:h,onMouseLeave:j,onTouchStart:S}=r,D=x.useRef(null);x.useEffect(()=>{if(u==="render"&&p(!0),u==="viewport"){let H=L=>{L.forEach(P=>{p(P.isIntersecting)})},B=new IntersectionObserver(H,{threshold:.5});return D.current&&B.observe(D.current),()=>{B.disconnect()}}},[u]),x.useEffect(()=>{if(o){let H=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(H)}}},[o]);let V=()=>{f(!0)},q=()=>{f(!1),p(!1)};return c?u!=="intent"?[m,D,{}]:[m,D,{onFocus:ai(T,V),onBlur:ai(g,q),onMouseEnter:ai(h,V),onMouseLeave:ai(j,q),onTouchStart:ai(S,V)}]:[!1,D,{}]}function ai(u,r){return c=>{u&&u(c),c.defaultPrevented||r(c)}}function fv({page:u,...r}){let{router:c}=Dh(),o=x.useMemo(()=>Sh(c.routes,u,c.basename),[c.routes,u,c.basename]);return o?x.createElement(mv,{page:u,matches:o,...r}):null}function dv(u){let{manifest:r,routeModules:c}=Uh(),[o,f]=x.useState([]);return x.useEffect(()=>{let m=!1;return nv(u,r,c).then(p=>{m||f(p)}),()=>{m=!0}},[u,r,c]),o}function mv({page:u,matches:r,...c}){let o=Yt(),{future:f,manifest:m,routeModules:p}=Uh(),{basename:T}=Dh(),{loaderData:g,matches:h}=cv(),j=x.useMemo(()=>mh(u,r,h,m,o,"data"),[u,r,h,m,o]),S=x.useMemo(()=>mh(u,r,h,m,o,"assets"),[u,r,h,m,o]),D=x.useMemo(()=>{if(u===o.pathname+o.search+o.hash)return[];let H=new Set,B=!1;if(r.forEach(P=>{var me;let F=m.routes[P.route.id];!F||!F.hasLoader||(!j.some(fe=>fe.route.id===P.route.id)&&P.route.id in g&&((me=p[P.route.id])!=null&&me.shouldRevalidate)||F.hasClientLoader?B=!0:H.add(P.route.id))}),H.size===0)return[];let L=tv(u,T,f.unstable_trailingSlashAwareDataRequests,"data");return B&&H.size>0&&L.searchParams.set("_routes",r.filter(P=>H.has(P.route.id)).map(P=>P.route.id).join(",")),[L.pathname+L.search]},[T,f.unstable_trailingSlashAwareDataRequests,g,o,m,j,r,u,p]),V=x.useMemo(()=>iv(S,m),[S,m]),q=dv(S);return x.createElement(x.Fragment,null,D.map(H=>x.createElement("link",{key:H,rel:"prefetch",as:"fetch",href:H,...c})),V.map(H=>x.createElement("link",{key:H,rel:"modulepreload",href:H,...c})),q.map(({key:H,link:B})=>x.createElement("link",{key:H,nonce:c.nonce,...B,crossOrigin:B.crossOrigin??c.crossOrigin})))}function hv(...u){return r=>{u.forEach(c=>{typeof c=="function"?c(r):c!=null&&(c.current=r)})}}var pv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{pv&&(window.__reactRouterVersion="7.13.1")}catch{}function _v({basename:u,children:r,unstable_useTransitions:c,window:o}){let f=x.useRef();f.current==null&&(f.current=Ky({window:o,v5Compat:!0}));let m=f.current,[p,T]=x.useState({action:m.action,location:m.location}),g=x.useCallback(h=>{c===!1?T(h):x.startTransition(()=>T(h))},[c]);return x.useLayoutEffect(()=>m.listen(g),[m,g]),x.createElement(Vg,{basename:u,children:r,location:p.location,navigationType:p.action,navigator:m,unstable_useTransitions:c})}var qh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Hh=x.forwardRef(function({onClick:r,discover:c="render",prefetch:o="none",relative:f,reloadDocument:m,replace:p,unstable_mask:T,state:g,target:h,to:j,preventScrollReset:S,viewTransition:D,unstable_defaultShouldRevalidate:V,...q},H){let{basename:B,navigator:L,unstable_useTransitions:P}=x.useContext(Rt),F=typeof j=="string"&&qh.test(j),me=wh(j,B);j=me.to;let fe=Rg(j,{relative:f}),K=Yt(),X=null;if(T){let Ye=Zu(T,[],K.unstable_mask?K.unstable_mask.pathname:"/",!0);B!=="/"&&(Ye.pathname=Ye.pathname==="/"?B:ea([B,Ye.pathname])),X=L.createHref(Ye)}let[ve,De,Ze]=sv(o,q),rt=vv(j,{replace:p,unstable_mask:T,state:g,target:h,preventScrollReset:S,relative:f,viewTransition:D,unstable_defaultShouldRevalidate:V,unstable_useTransitions:P});function Ke(Ye){r&&r(Ye),Ye.defaultPrevented||rt(Ye)}let ot=!(me.isExternal||m),jt=x.createElement("a",{...q,...Ze,href:(ot?X:void 0)||me.absoluteURL||fe,onClick:ot?Ke:r,ref:hv(H,De),target:h,"data-discover":!F&&c==="render"?"true":void 0});return ve&&!F?x.createElement(x.Fragment,null,jt,x.createElement(fv,{page:fe})):jt});Hh.displayName="Link";var ni=x.forwardRef(function({"aria-current":r="page",caseSensitive:c=!1,className:o="",end:f=!1,style:m,to:p,viewTransition:T,children:g,...h},j){let S=oi(p,{relative:h.relative}),D=Yt(),V=x.useContext(Ku),{navigator:q,basename:H}=x.useContext(Rt),B=V!=null&&Tv(S)&&T===!0,L=q.encodeLocation?q.encodeLocation(S).pathname:S.pathname,P=D.pathname,F=V&&V.navigation&&V.navigation.location?V.navigation.location.pathname:null;c||(P=P.toLowerCase(),F=F?F.toLowerCase():null,L=L.toLowerCase()),F&&H&&(F=xa(F,H)||F);const me=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let fe=P===L||!f&&P.startsWith(L)&&P.charAt(me)==="/",K=F!=null&&(F===L||!f&&F.startsWith(L)&&F.charAt(L.length)==="/"),X={isActive:fe,isPending:K,isTransitioning:B},ve=fe?r:void 0,De;typeof o=="function"?De=o(X):De=[o,fe?"active":null,K?"pending":null,B?"transitioning":null].filter(Boolean).join(" ");let Ze=typeof m=="function"?m(X):m;return x.createElement(Hh,{...h,"aria-current":ve,className:De,ref:j,style:Ze,to:p,viewTransition:T},typeof g=="function"?g(X):g)});ni.displayName="NavLink";var yv=x.forwardRef(({discover:u="render",fetcherKey:r,navigate:c,reloadDocument:o,replace:f,state:m,method:p=Uu,action:T,onSubmit:g,relative:h,preventScrollReset:j,viewTransition:S,unstable_defaultShouldRevalidate:D,...V},q)=>{let{unstable_useTransitions:H}=x.useContext(Rt),B=Sv(),L=Ev(T,{relative:h}),P=p.toLowerCase()==="get"?"get":"post",F=typeof T=="string"&&qh.test(T),me=fe=>{if(g&&g(fe),fe.defaultPrevented)return;fe.preventDefault();let K=fe.nativeEvent.submitter,X=(K==null?void 0:K.getAttribute("formmethod"))||p,ve=()=>B(K||fe.currentTarget,{fetcherKey:r,method:X,navigate:c,replace:f,state:m,relative:h,preventScrollReset:j,viewTransition:S,unstable_defaultShouldRevalidate:D});H&&c!==!1?x.startTransition(()=>ve()):ve()};return x.createElement("form",{ref:q,method:P,action:L,onSubmit:o?g:me,...V,"data-discover":!F&&u==="render"?"true":void 0})});yv.displayName="Form";function gv(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Lh(u){let r=x.useContext(nn);return Ne(r,gv(u)),r}function vv(u,{target:r,replace:c,unstable_mask:o,state:f,preventScrollReset:m,relative:p,viewTransition:T,unstable_defaultShouldRevalidate:g,unstable_useTransitions:h}={}){let j=gl(),S=Yt(),D=oi(u,{relative:p});return x.useCallback(V=>{if(Fg(V,r)){V.preventDefault();let q=c!==void 0?c:ui(S)===ui(D),H=()=>j(u,{replace:q,unstable_mask:o,state:f,preventScrollReset:m,relative:p,viewTransition:T,unstable_defaultShouldRevalidate:g});h?x.startTransition(()=>H()):H()}},[S,j,D,c,o,f,r,u,m,p,T,g,h])}var bv=0,xv=()=>`__${String(++bv)}__`;function Sv(){let{router:u}=Lh("useSubmit"),{basename:r}=x.useContext(Rt),c=Bg(),o=u.fetch,f=u.navigate;return x.useCallback(async(m,p={})=>{let{action:T,method:g,encType:h,formData:j,body:S}=ev(m,r);if(p.navigate===!1){let D=p.fetcherKey||xv();await o(D,c,p.action||T,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:S,formMethod:p.method||g,formEncType:p.encType||h,flushSync:p.flushSync})}else await f(p.action||T,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:S,formMethod:p.method||g,formEncType:p.encType||h,replace:p.replace,state:p.state,fromRouteId:c,flushSync:p.flushSync,viewTransition:p.viewTransition})},[o,f,r,c])}function Ev(u,{relative:r}={}){let{basename:c}=x.useContext(Rt),o=x.useContext(Bt);Ne(o,"useFormAction must be used inside a RouteContext");let[f]=o.matches.slice(-1),m={...oi(u||".",{relative:r})},p=Yt();if(u==null){m.search=p.search;let T=new URLSearchParams(m.search),g=T.getAll("index");if(g.some(j=>j==="")){T.delete("index"),g.filter(S=>S).forEach(S=>T.append("index",S));let j=T.toString();m.search=j?`?${j}`:""}}return(!u||u===".")&&f.route.index&&(m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index"),c!=="/"&&(m.pathname=m.pathname==="/"?c:ea([c,m.pathname])),ui(m)}function Tv(u,{relative:r}={}){let c=x.useContext(jh);Ne(c!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Lh("useViewTransitionState"),f=oi(u,{relative:r});if(!c.isTransitioning)return!1;let m=xa(c.currentLocation.pathname,o)||c.currentLocation.pathname,p=xa(c.nextLocation.pathname,o)||c.nextLocation.pathname;return Xu(f.pathname,p)!=null||Xu(f.pathname,m)!=null}/**
|
|
62
|
+
* @license lucide-react v0.469.0 - ISC
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the ISC license.
|
|
65
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/const kv=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bh=(...u)=>u.filter((r,c,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===c).join(" ").trim();/**
|
|
67
|
+
* @license lucide-react v0.469.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/var wv={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"};/**
|
|
72
|
+
* @license lucide-react v0.469.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const Rv=x.forwardRef(({color:u="currentColor",size:r=24,strokeWidth:c=2,absoluteStrokeWidth:o,className:f="",children:m,iconNode:p,...T},g)=>x.createElement("svg",{ref:g,...wv,width:r,height:r,stroke:u,strokeWidth:o?Number(c)*24/Number(r):c,className:Bh("lucide",f),...T},[...p.map(([h,j])=>x.createElement(h,j)),...Array.isArray(m)?m:[m]]));/**
|
|
77
|
+
* @license lucide-react v0.469.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/const ze=(u,r)=>{const c=x.forwardRef(({className:o,...f},m)=>x.createElement(Rv,{ref:m,iconNode:r,className:Bh(`lucide-${kv(u)}`,o),...f}));return c.displayName=`${u}`,c};/**
|
|
82
|
+
* @license lucide-react v0.469.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const jv=ze("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
|
|
87
|
+
* @license lucide-react v0.469.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const zv=ze("CheckCheck",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);/**
|
|
92
|
+
* @license lucide-react v0.469.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const Av=ze("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
97
|
+
* @license lucide-react v0.469.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const Ov=ze("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
102
|
+
* @license lucide-react v0.469.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const Cv=ze("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
107
|
+
* @license lucide-react v0.469.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/const Mv=ze("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/**
|
|
112
|
+
* @license lucide-react v0.469.0 - ISC
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the ISC license.
|
|
115
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/const Nv=ze("FolderGit2",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);/**
|
|
117
|
+
* @license lucide-react v0.469.0 - ISC
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the ISC license.
|
|
120
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/const Dv=ze("FolderKanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
|
|
122
|
+
* @license lucide-react v0.469.0 - ISC
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the ISC license.
|
|
125
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/const Uv=ze("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
127
|
+
* @license lucide-react v0.469.0 - ISC
|
|
128
|
+
*
|
|
129
|
+
* This source code is licensed under the ISC license.
|
|
130
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
+
*/const qv=ze("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
132
|
+
* @license lucide-react v0.469.0 - ISC
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the ISC license.
|
|
135
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/const Yh=ze("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
137
|
+
* @license lucide-react v0.469.0 - ISC
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the ISC license.
|
|
140
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/const Gh=ze("ListTodo",[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
|
|
142
|
+
* @license lucide-react v0.469.0 - ISC
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the ISC license.
|
|
145
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/const Hv=ze("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
147
|
+
* @license lucide-react v0.469.0 - ISC
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the ISC license.
|
|
150
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/const Lv=ze("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|
152
|
+
* @license lucide-react v0.469.0 - ISC
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the ISC license.
|
|
155
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/const Bv=ze("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
157
|
+
* @license lucide-react v0.469.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/const Yv=ze("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
162
|
+
* @license lucide-react v0.469.0 - ISC
|
|
163
|
+
*
|
|
164
|
+
* This source code is licensed under the ISC license.
|
|
165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
+
*/const Gv=ze("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
167
|
+
* @license lucide-react v0.469.0 - ISC
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the ISC license.
|
|
170
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/const Qc=ze("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
|
172
|
+
* @license lucide-react v0.469.0 - ISC
|
|
173
|
+
*
|
|
174
|
+
* This source code is licensed under the ISC license.
|
|
175
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
+
*/const Xv=ze("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
|
177
|
+
* @license lucide-react v0.469.0 - ISC
|
|
178
|
+
*
|
|
179
|
+
* This source code is licensed under the ISC license.
|
|
180
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
+
*/const Qv=ze("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
182
|
+
* @license lucide-react v0.469.0 - ISC
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the ISC license.
|
|
185
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/const Vv=ze("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
187
|
+
* @license lucide-react v0.469.0 - ISC
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the ISC license.
|
|
190
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
+
*/const Zv=ze("Sun",[["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"}]]);/**
|
|
192
|
+
* @license lucide-react v0.469.0 - ISC
|
|
193
|
+
*
|
|
194
|
+
* This source code is licensed under the ISC license.
|
|
195
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
+
*/const Kv=ze("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
197
|
+
* @license lucide-react v0.469.0 - ISC
|
|
198
|
+
*
|
|
199
|
+
* This source code is licensed under the ISC license.
|
|
200
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
+
*/const Xh=ze("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
202
|
+
* @license lucide-react v0.469.0 - ISC
|
|
203
|
+
*
|
|
204
|
+
* This source code is licensed under the ISC license.
|
|
205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
+
*/const Jv=ze("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
207
|
+
* @license lucide-react v0.469.0 - ISC
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the ISC license.
|
|
210
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
+
*/const $v=ze("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),hh=u=>{let r;const c=new Set,o=(h,j)=>{const S=typeof h=="function"?h(r):h;if(!Object.is(S,r)){const D=r;r=j??(typeof S!="object"||S===null)?S:Object.assign({},r,S),c.forEach(V=>V(r,D))}},f=()=>r,T={setState:o,getState:f,getInitialState:()=>g,subscribe:h=>(c.add(h),()=>c.delete(h))},g=r=u(o,f,T);return T},Wv=(u=>u?hh(u):hh),Fv=u=>u;function Iv(u,r=Fv){const c=Ru.useSyncExternalStore(u.subscribe,Ru.useCallback(()=>r(u.getState()),[u,r]),Ru.useCallback(()=>r(u.getInitialState()),[u,r]));return Ru.useDebugValue(c),c}const ph=u=>{const r=Wv(u),c=o=>Iv(r,o);return Object.assign(c,r),c},Qh=(u=>u?ph(u):ph),zu="overlord-access-token",Au="overlord-refresh-token",lt={getAccessToken(){return localStorage.getItem(zu)},setAccessToken(u){localStorage.setItem(zu,u)},getRefreshToken(){return localStorage.getItem(Au)},setRefreshToken(u){localStorage.setItem(Au,u)},setTokens(u,r){localStorage.setItem(zu,u),localStorage.setItem(Au,r)},clearTokens(){localStorage.removeItem(zu),localStorage.removeItem(Au)},parseToken(u){try{const r=u.split(".")[1];return JSON.parse(atob(r))}catch{return null}},hasScope(u,r){const c=lt.parseToken(u);return c?c.scope===r:!1},isExpired(u){const r=lt.parseToken(u);return!r||typeof r.exp!="number"?!0:Date.now()/1e3>r.exp-30}},$a=Qh((u,r)=>({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1,initializing:!0,initialize:()=>{const c=lt.getAccessToken();if(c&&!lt.isExpired(c)){const o=lt.parseToken(c),f=(o==null?void 0:o.name)??"";u({accessToken:c,user:o?{id:o.sub,username:f,display_name:f,role:o.role}:null,requireTotpSetup:lt.hasScope(c,"totp_setup"),initializing:!1})}else lt.getRefreshToken()?r().refresh().catch(()=>{lt.clearTokens()}).finally(()=>{u({initializing:!1})}):u({initializing:!1})},login:async c=>{var T;const o=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)});if(!o.ok){const g=await o.json().catch(()=>({message:"Login failed"})),h=((T=g.error)==null?void 0:T.message)??g.message??"Login failed";throw new Error(h)}const f=await o.json();if(f.totpSetup){lt.setAccessToken(f.accessToken),u({accessToken:f.accessToken,user:null,requireTotpSetup:!0});return}lt.setTokens(f.accessToken,f.refreshToken);const m=lt.parseToken(f.accessToken),p=(m==null?void 0:m.name)??"";u({accessToken:f.accessToken,user:m?{id:m.sub,username:p,display_name:p,role:m.role}:null,requireTotpSetup:!1,sessionExpired:!1})},logout:()=>{const c=lt.getRefreshToken();c&&fetch("/api/auth/logout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:c})}).catch(()=>{}),lt.clearTokens(),u({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1})},refresh:async()=>{const c=lt.getRefreshToken();if(!c)throw r().logout(),u({sessionExpired:!0}),new Error("No refresh token");const o=await fetch("/api/auth/refresh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:c})});if(!o.ok)throw r().logout(),u({sessionExpired:!0}),new Error("Refresh failed");const f=await o.json();lt.setTokens(f.accessToken,f.refreshToken);const m=lt.parseToken(f.accessToken),p=(m==null?void 0:m.name)??"";u({accessToken:f.accessToken,user:m?{id:m.sub,username:p,display_name:p,role:m.role}:null})},setSessionExpired:c=>{u({sessionExpired:c})}})),Vh="overlord-theme";function Pv(){try{const u=localStorage.getItem(Vh);if(u==="light"||u==="dark"||u==="system")return u}catch{}return"dark"}function _h(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const Zh=Qh(u=>{const r=Pv(),c=r==="system"?_h():r;return{theme:r,resolved:c,setTheme:o=>{localStorage.setItem(Vh,o);const f=o==="system"?_h():o;u({theme:o,resolved:f})},setResolved:o=>{u({resolved:o})}}}),e0={common:{cancel:"cancel",confirm:"confirm",save:"save",delete:"delete",edit:"edit",create:"create",copy:"copy",copied:"copied",close:"close",back:"back",back_to_site:"back to site",go_back:"go_back",go_home:"go_home",dismiss:"dismiss",retry:"retry",loading:"// loading...",processing:"processing...",creating:"creating...",saving:"saving...",updating:"updating...",verifying:"verifying...",signing_in:"signing in...",just_now:"just now",never:"never",previous:"previous",next:"next",error:"error",success:"success",failed:"failed",active:"active",inactive:"inactive",enabled:"enabled",disabled:"disabled",showing_entries:"showing {start}-{end} of {total}",no_results:"no results found",runtime_error:"// runtime_error",an_unexpected_error_occurred:"an unexpected error occurred",reload:"reload",not_found:"404",page_not_found:"// page_not_found",the_page_does_not_exist:"the page you are looking for does not exist or has been moved.",not_found_terminal_error:"error: requested not found - page does not exist",not_set:"not set",view_all:"view_all",discard:"discard",save_changes:"save_changes",add:"add",remove:"remove",search:"search",actions:"actions",name:"name",status:"status",role:"role",description:"description",type:"type",created_at:"created_at",ago:"{time} ago",m_ago:"{n}m ago",h_ago:"{n}h ago",d_ago:"{n}d ago",navigation:"// navigation",docs_section:"// docs",admin_section:"// admin",overlord:"overlord",logout:"logout",logout_title:"// logout",logout_message:"are you sure you want to log out?",log_out:"log out",profile:"profile",search_placeholder:"search...",search_input_placeholder:"search tasks, machines, projects...",no_search_results:'// no results for "{query}"',navigate_hint:"navigate",select_hint:"select",close_hint:"close",notifications:"notifications",mark_all_read:"mark all read",no_notifications:"// no notifications",mark_as_read:"mark as read",switch_to_light:"switch to light mode",switch_to_dark:"switch to dark mode",light_mode:"light mode",dark_mode:"dark mode",dismiss_notification:"dismiss",breadcrumb_dashboard:"dashboard",breadcrumb_dashboard_sub:"active overview",breadcrumb_tasks:"tasks",breadcrumb_tasks_sub:"queue management",breadcrumb_machines:"machines",breadcrumb_machines_sub:"fleet status",breadcrumb_projects:"projects",breadcrumb_projects_sub:"repository index",breadcrumb_admin:"admin",breadcrumb_admin_sub:"system control",breadcrumb_profile:"profile",breadcrumb_profile_sub:"user settings",breadcrumb_access_tokens:"access_tokens",breadcrumb_access_tokens_sub:"personal api tokens",breadcrumb_docs:"docs",breadcrumb_docs_sub:"documentation",breadcrumb_docs_cli:"docs",breadcrumb_docs_cli_sub:"cli",breadcrumb_docs_api:"docs",breadcrumb_docs_api_sub:"api",breadcrumb_docs_skill:"docs",breadcrumb_docs_skill_sub:"skill",error_default_title:"something went wrong",error_default_message:"an unexpected error occurred. please try again."},auth:{sign_in:"sign in",username:"username",enter_username:"enter username",password:"password",enter_password:"enter password",ai_powered_development_system:"// ai-powered development system",username_and_password_required:"username and password are required.",login_failed:"login failed",invalid_totp_code:"invalid totp code",two_factor_verification:"// 2fa verification",enter_totp_code:"enter your totp code",please_enter_valid_6_digit_code:"please enter a valid 6-digit code.",session_expired:"session_expired",session_expired_message:"// your session has expired. please log in again.",go_to_login:"go_to_login",totp_setup_title:"2fa_setup",totp_setup_subtitle:"// scan the qr code with your authenticator app",scan_with_authenticator:"scan this qr code with your authenticator app (google authenticator, authy, etc.)",manual_entry_key:"manual_entry_key",enter_verification_code:"enter the 6-digit verification code from your authenticator app",verification_code:"verification code",enter_6_digit_code:"enter 6-digit code",verify_and_enable:"verify_and_enable",totp_setup_complete:"2fa setup complete",totp_setup_complete_login_again:"2fa setup complete! please log in again.",totp_setup_failed:"verification failed. please try again.",totp_setup_footer:"// you must complete this setup before accessing the application",totp_manual_entry:"// or enter this key manually",verify:"verify",initializing:"// initializing...",failed_to_init_totp:"failed to initialize totp setup"},dashboard:{title:"dashboard",subtitle:"// system overview",active_tasks:"active_tasks",queued_tasks:"queued_tasks",online_workers:"online_workers",completed_today:"completed_today",task_success_rate:"> task_success_rate",last_7_days:"last 7 days",recent_tasks:"> recent_tasks",no_tasks_yet:"// no tasks yet",worker_status:"> worker_status",no_workers_registered:"// no workers registered",recent_activity:"> recent_activity",no_recent_activity:"// no recent activity",daily_breakdown_not_available:"// daily breakdown not available",slots:"slots",online:"online",idle:"idle",offline:"offline"},tasks:{title:"tasks",subtitle:"// queue management",create_task:"create_task",new_task:"new_task",task_description:"task_description",describe_task_placeholder:"describe the development task in detail...",project:"project",select_project:"select project...",target_machine:"target_machine (optional)",any_able:"any able",assign_developer:"assign_developer (auto only)",select_developer:"select developer...",search_tasks:"search_tasks...",id:"id",description_col:"description",status_col:"status",project_col:"project",worker:"worker",time:"time",stage:"stage",no_tasks_found:"no_tasks_found",try_adjusting_search:"try adjusting your search query",create_first_task:"create your first task to get started",tab_all:"all",tab_running:"running",tab_queued:"queued",tab_completed:"completed",tab_failed:"failed",tab_cancelled:"cancelled",status_queued:"queued",status_assigned:"assigned",status_running:"running",status_suspended:"suspended",status_completed:"completed",status_failed:"failed",status_cancelled:"cancelled",similar_task_exists:"a similar task already exists.",confirm_create_similar:"are you sure you want to create this task?",view_existing:"view_existing",force_create:"force_create",cancel_task:"cancel",retry_task:"retry",cursor_tunnel:"cursor_tunnel",skip_stage:"skip stage",take_over:"take_over",release_control:"release_control",connected:"connected",disconnected:"disconnected",connecting:"connecting",terminal:"terminal",pipeline_tab:"pipeline",logs:"logs",task_not_found:"// task_not_found",task_does_not_exist:"this task does not exist or has been deleted.",back_to_tasks:"back_to_tasks",task_detail_subtitle:"#{id} {desc}",cancel_task_title:"cancel_task",task_cancelled:"task cancelled.",failed_to_cancel_task:"failed to cancel task.",task_retried:"task has been retried.",failed_to_retry_task:"failed to retry task.",retry_mr_title:"retry_mr",retry_mr_confirm:"retry creating the merge request for task #{id}?",mr_retry_submitted:"mr retry submitted.",failed_to_retry_mr:"failed to retry mr.",activity_log:"> activity_log",pipeline_section:"> pipeline",no_pipeline:"// no pipeline configured",no_activity:"// no activity yet",confirm_stage:"confirm_stage",confirm_stage_message:'confirm execution of stage "{name}"? this will proceed with the pipeline.',stage_confirmed:"stage confirmed.",failed_to_confirm_stage:"failed to confirm stage.",loading_task:"// loading task...",task_suspended_banner:"// task suspended — waiting for user confirmation",pending_confirmation:"> pending_confirmation",pipeline_requires_confirmation:"the pipeline requires confirmation before proceeding.",confirm_and_proceed:"confirm_and_proceed",confirm_failed:"failed to confirm stage",reject:"reject",pty_terminal:"// pty terminal",view_terminal:"switch to terminal tab",restore_auto:"restore auto",requesting_takeover:"requesting...",pipeline_stages:"// pipeline stages",task_info:"> task_info",stage_timeline:"> stage_timeline",workspace_section:"> workspace",no_machine_assigned:"// no machine assigned",no_output:"// no output",pty_output:"> pty_output",stage_progress:"> stage_progress",task_logs:"> task_logs",search_logs:"search logs...",no_log_entries:"// no log entries",prev:"prev",cursor_tunnel_section:"> cursor_tunnel",auto_pipeline:"auto_pipeline",auto_mode:"auto_mode",manual_takeover:"manual_takeover",takeover_denied:"takeover_denied",requesting_takeover_ellipsis:"requesting_takeover...",take_over_label:"take over",release_label:"release",create_task_page_title:"// create_task",create_task_page_subtitle:"// submit a new task for processing",form_project_label:"project",form_description_label:"description",form_description_placeholder:"describe the task for the ai agent...",form_machine_preference:"machine_preference",form_machine_placeholder:"optional: machine id or name (--on)",form_machine_hint:"leave empty for automatic machine selection.",form_agent_type:"agent_type",form_agent_type_placeholder:"default (from project config)",form_select_project:"select a project",form_create_task:"create task",project_and_description_required:"project and description are required.",failed_to_create_task:"failed to create task.",tunnel_idle:"idle",tunnel_starting:"starting...",tunnel_connected:"connected",tunnel_expired:"expired",tunnel_closing:"closing...",tunnel_start:"start",tunnel_open_in_cursor:"open_in_cursor",tunnel_header:"> cursor_tunnel",tunnel_copied:"// copied to clipboard",tunnel_waiting:"// waiting for connection url...",tunnel_start_button:"> start_tunnel",tunnel_starting_button:"// starting...",tunnel_stopping:"// stopping...",tunnel_cancel:"> cancel",tunnel_open_cursor:"> open_in_cursor",tunnel_open_vscode:"> open_in_vscode",tunnel_stop:"> stop_tunnel",tunnel_restart:"> restart_tunnel",tunnel_copy_url:"copy url",tunnel_expires_hm:"expires in {h}h {m}m",tunnel_expires_m:"expires in {m}m",dedup_title:"> similar_task_exists",dedup_description:"// a similar task was found that may already address your request",dedup_create_anyway:"create anyway",stage_choose_option:"// choose an option",stage_your_response:"your_response",stage_type_answer:"type your answer...",stage_submitting:"submitting...",stage_continue:"continue",stage_submit:"submit",cancel_task_message:"are you sure you want to cancel task #{id}? this will terminate the running agent and cannot be undone.",cancel_task_confirm_label:"cancel task",retry_title:"retry_task",retry_confirm_label:"retry",retry_message_with_mr:"task #{id} has an existing mr ({url}). retrying will create a new attempt on the same branch. continue?",retry_message_without_mr:"are you sure you want to retry task #{id}? this will create a new execution attempt."},machines:{title:"machines",subtitle:"// fleet status",fleet:"fleet",setup_guide:"setup_guide",all_statuses:"all",register_worker:"register_worker",no_machines_found:"no_machines_found",no_machines_registered:"no machines have registered yet",try_changing_status_filter:"try changing the status filter",view_setup_guide:"view_setup_guide",online:"online",offline:"offline",draining:"draining",cpu:"cpu",mem:"mem",disk:"disk",tasks_slots:"tasks: {active}/{max} slots",back_to_machines:"back_to_machines",drain:"drain",undrain:"undrain",last_heartbeat:"last_heartbeat: {time}",resource_usage:"> resource_usage",connection_info:"> connection_info",capabilities:"> capabilities",current_tasks:"> current_tasks",no_capabilities:"// no capabilities reported",no_running_tasks:"// no running tasks",host:"host",port:"port",os:"os",cpu_model:"cpu_model",cpu_cores:"cpu_cores",memory:"memory",total_slots:"total_slots",confirm_drain:"drain_machine",confirm_drain_message:'drain machine "{name}"? it will finish current tasks but accept no new ones.',machine_drained:"machine drain initiated.",machine_undrained:"machine undrain initiated.",failed_to_update_machine:"failed to update machine status.",worker_setup_title:"worker_setup_guide",worker_setup_subtitle:"// register a new worker machine with overlord",step_1_title:"01. generate a registration token",step_1_desc:"generate a one-time registration token from the admin panel.",step_2_title:"02. install the worker cli",step_2_desc:"install the overlord worker cli on the target machine.",step_3_title:"03. register the worker",step_3_desc:"run the register command with your token and server url.",step_4_title:"04. start the worker",step_4_desc:"start the worker daemon. it will connect to overlord and begin accepting tasks.",generate_token:"generate_token",worker_token_modal_title:"worker_registration_token",worker_token_modal_message:"// copy this token now. it will not be shown again.",loading_machine:"// loading machine...",machine_not_found:"// machine not found",draining_warning:"// this machine is draining — no new tasks will be assigned",draining_active_tasks:"active tasks will continue to run until completion",active_tasks:"> active_tasks",no_active_tasks:"// no active tasks on this machine",machine_info:"> machine_info",unknown:"unknown",n_a:"n/a",id:"id",description:"description",stage:"stage",no_capabilities_short:"// no capabilities",slots:"slots",status_label:"status",undrain_machine_title:"> undrain_machine",drain_machine_title:"> drain_machine",undrain_confirm:"are you sure you want to undrain {name}? the machine will start accepting new tasks again.",drain_confirm:"are you sure you want to drain {name}? running tasks will complete, but no new tasks will be assigned until the machine is undrained.",decommission:"decommission",decommission_title:"> decommission_machine",decommission_confirm:'permanently decommission "{name}"? active tasks will be failed or re-queued, and the worker will be disconnected. this cannot be undone.',decommissioned:"decommissioned",machine_id:"machine_id",setup_header_desc:"// follow these steps to add a new worker machine to your overlord cluster.",prerequisites:"// prerequisites",prereq_machine:"linux or macos machine with at least 2 cpu cores and 4gb ram",prereq_node:"node.js 18+ and pnpm installed",prereq_git:"git installed (2.25+)",prereq_network:"network access to the overlord server",prereq_token:"admin-generated worker registration token",step_generate_token:"generate_worker_token",step_generate_token_desc:"// create a one-time registration token from the admin panel. each token can register exactly one worker.",go_to_token_management:"go_to_token_management",step_install_worker:"install_worker_package",step_install_worker_desc:"// install the overlord worker package globally via npm.",step_configure_env:"configure_environment",step_configure_env_desc:"// create a .env file in ~/.overlord-worker/ or set environment variables.",env_host:"overlord server address (required)",env_worker_token:"one-time registration token (required for first run)",env_machine_name:"display name (defaults to hostname)",env_workspace_root:"task workspace directory (defaults to ~/.overlord-worker/workspaces)",env_max_slots:"max concurrent tasks (defaults to 2)",step_start_worker:"start_worker",step_start_worker_desc:"// start the worker process. it will register with the server and begin accepting tasks.",or_run_as_service:"// or run as a system service for auto-restart:",setup_wizard_option:"// option a: interactive setup wizard (recommended)",manual_config_option:"// option b: manual configuration",start_note_setup_wizard:"// if you used the setup wizard, the worker may already be running.",step_verify_connection:"verify_connection",step_verify_connection_desc:'// once the worker connects, it will appear in the machines list with a "healthy" status.',verify_how_to:"// how to verify:",verify_check_machines:"check the machines page for your new worker",verify_status:'status should show "healthy" within 30 seconds',verify_capabilities:"worker capabilities are auto-detected on first heartbeat",last_heartbeat_label:"last_heartbeat",worker_version:"worker_version",reg_title:"// worker_registration",reg_subtitle:"> register a new worker node",reg_step_generate_token:"generate_token",reg_step_install_worker:"install_worker",reg_step_waiting_activation:"waiting_activation",reg_step_activated:"activated",reg_click_to_generate:"// click to generate a one-time registration token",reg_token_generated:"// token generated successfully",reg_install_command:"// install cli & worker:",reg_run_setup:"// run setup on worker machine:",reg_running_installation:"// running installation on target machine",reg_installed_wait:"i've installed → wait for activation",reg_listening_for_worker:"listening for worker connection...",reg_worker_connected:"// worker connected",reg_waiting_for_worker:"// waiting for worker to connect...",reg_worker_activated:"worker {name} activated!",reg_worker_registered:"// worker successfully registered",reg_done:"done",reg_completed:"// completed"},projects:{title:"projects",subtitle:"// repository index",create_project:"create_project",no_projects_yet:"no_projects_yet",create_first_project:"create your first project to get started",key:"key",name:"name",repository:"repository",agent:"agent",project_info:"> project_info",repo_url:"repo_url",default_branch:"default_branch",git_platform:"git_platform",agent_type:"agent_type",max_turns:"max_turns",allowed_tools:"allowed_tools",auto_merge:"auto_merge",tasks_count:"tasks",last_activity:"last_activity",members:"> members",developer:"developer",role:"role",added_at:"added_at",add_member:"add_member",remove_member:"remove_member",remove_member_confirm:"remove {name} from this project?",member_added:"member added.",member_removed:"member removed.",failed_to_add_member:"failed to add member.",member_already_exists:"this developer is already a member of this project.",failed_to_remove_member:"failed to remove member.",pipeline:"> pipeline",add_stage:"+ add_stage",recent_tasks:"> recent_tasks",no_recent_tasks:"// no recent tasks",edit_project:"edit project",delete_project:"delete_project",delete_project_confirm:'delete project "{name}"? this cannot be undone.',project_deleted:"project deleted.",failed_to_delete_project:"failed to delete project.",project_name:"project_name",project_name_placeholder:"my awesome project",project_key:"project_key",project_key_placeholder:"my-project",project_key_hint:"// unique identifier (lowercase, alphanumeric, hyphens)",ssh_url:"ssh_url",ssh_url_placeholder:"git@github.com:org/repo.git",ssh_url_hint:"// optional — workers prefer ssh for git operations",repo_url_placeholder:"https://github.com/org/repo.git",main:"main",github:"github",gitlab:"gitlab",gitea:"gitea",claude:"claude",cursor:"cursor",codex:"codex",custom:"custom",tools_placeholder:"tool1, tool2, ...",add_project_desc:"// add a new project to overlord",project_created:"project created.",failed_to_create_project:"failed to create project.",update_project_desc:"// update project configuration",save_changes:"save_changes",basic_info:"> basic_info",agent_config:"> agent_config",security:"> security",pipeline_section:"> pipeline",edit_pipeline:"> edit_pipeline",pty_output_filter:"pty_output_filter",git_clean:"git_clean",workspace_root:"workspace_root",agent_command:"agent_command",member_role:"member",maintainer_role:"maintainer",select_developer:"select developer...",select_role:"select role...",adding:"adding...",project_not_found:"// project not found",back_to_projects:"back to projects",no_members_yet:"// no members yet",no_tasks_for_project:"// no tasks for this project yet",no_pipeline_configured:"// no pipeline configured",confirm_label:"confirm",id:"id",description:"description",status:"status",created:"created",project_saved:"project saved",failed_to_save_project:"failed to save project",invalid_pipeline_json:"invalid pipeline json",setup_commands:"setup_commands",post_command:"post_command",environment:"> environment",add_member_title:"// add_member",edit_project_title:"edit project"},pipeline:{title:"pipeline_editor",subtitle:"-- {key}",save:"save",cancel:"cancel",json_toggle:"json",add_stage:"add_stage",stage_properties:"> stage_properties",stage_name:"stage_name",executor:"executor",timeout:"timeout",max_turns:"max_turns",confirm_required:"confirm_required",on_failure:"on_failure",goto:"goto",max_loops:"max_loops",stop:"stop",stage_commands:"> stage_commands",environment:"> environment",commands_placeholder:"# commands to execute in this stage...",env_placeholder:"KEY=value (one per line)",no_stages:"// no stages defined",select_stage:"// select a stage to edit properties",saved:"pipeline saved",failed_to_save:"failed to save pipeline",failed_to_load:"failed to load pipeline.",irreversible:"irreversible",loading_pipeline:"// loading pipeline...",unnamed:"unnamed",editing:"// editing: {name}",name:"name",confirm_mode:"confirm_mode",confirm_timeout:"confirm_timeout",overrides:"// overrides",pty_only:"pty_only",allowed_tools:"allowed_tools",on_failure_section:"// on_failure",goto_stage:"goto_stage",up:"up",down:"down",failed_to_load_project:"failed to load project",delete_stage:"delete stage"},profile:{title:"profile",subtitle:"// user settings",profile_info:"> profile_info",username:"username",git_name:"git_name",git_email:"git_email",status:"status",created_at:"created_at",edit_git_info:"edit_git_info",change_password:"> change_password",current_password:"current_password",new_password:"new_password",confirm_password:"confirm_password",current_password_required:"current password is required.",new_password_required:"new password is required.",passwords_do_not_match:"new passwords do not match.",password_changed:"password changed successfully.",failed_to_change_password:"failed to change password.",update_password:"update_password",two_factor_auth:"> two-factor_authentication",two_fa_enabled:"2fa is enabled",two_fa_not_setup:"2fa is not set up",regenerate_2fa_warning:`// regenerating 2fa will invalidate your current authenticator app setup.
|
|
212
|
+
you will need to set up 2fa again on your next login.`,regenerate_2fa:"regenerate_2fa",regenerating:"regenerating...",access_tokens:"access_tokens",access_tokens_desc:"// manage personal access tokens for cli & api",git_info_updated:"git info updated.",failed_to_update_git_info:"failed to update git info.",two_fa_reset:"2fa has been reset. please set up your authenticator again on next login.",failed_to_regenerate_2fa:"failed to regenerate 2fa.",failed_to_load_profile:"failed to load profile.",unable_to_load_profile:"// unable to load profile information",personal_settings:"// personal settings",password_length_10_20:"password must be between 10 and 20 characters.",password_hint_10_20:"// 10-20 characters, letters, numbers, and special characters",current_totp_code:"current_totp_code",totp_code_placeholder:"6-digit code",totp_code_required:"please enter your current 6-digit totp code to regenerate 2fa.",two_fa_regenerated:"2fa regenerated. you will need to set it up again on next login.",totp_code_invalid:"invalid totp code or failed to regenerate 2fa."},access_tokens:{title:"access_tokens",subtitle:"// personal access tokens",create_token:"create_token",no_tokens:"no_personal_access_tokens",create_token_desc:"create a token to authenticate with the cli or api",copy_token_warning:"// copy your token now. you will not be able to see it again.",token_name:"token_name",token_name_placeholder:"my-cli-token",expires_in:"expires_in",days_30:"30 days",days_90:"90 days",days_365:"365 days",no_expiry:"no expiry",token_created:"token created.",failed_to_create_token:"failed to create token.",token_revoked:"token revoked.",failed_to_revoke_token:"failed to revoke token.",failed_to_load_tokens:"failed to load tokens.",revoke:"revoke",revoke_token:"revoke_token",last_used:"last_used",expires_at:"expires_at",token:"token",created:"created",expires:"expires",revoke_confirm:'are you sure you want to revoke "{name}"? this action cannot be undone.',create_personal_access_token:"// create personal access token",tokens_authenticate_desc:"// tokens authenticate the ov cli and api requests",revoke_token_title:"// revoke token",token_label_required:"token label is required."},admin:{title:"admin",subtitle:"// system control",tab_developers:"developers",tab_bots:"bots",tab_tokens:"worker_tokens",tab_audit_logs:"audit_logs",tab_settings:"settings",developers_title:"admin / developers",developers_subtitle:"// developer account management",create_developer:"create_developer",search_developers:"search developers...",no_matching_developers:"no_matching_developers",no_developers_found:"no_developers_found",try_adjusting_search:"try adjusting your search query",username:"username",display_name:"display_name",role:"role",status:"status",two_fa_status:"2fa_status",dev_name:"dev_name",totp:"totp",reset_2fa:"reset 2fa",deactivate:"deactivate",activate:"activate",create_developer_title:"create_developer",create_developer_desc:"// add a new developer account",edit_developer_title:"edit_developer",edit_developer_desc:"// update developer account settings",developer_created:"developer created.",developer_updated:"developer updated.",failed_to_create_developer:"failed to create developer",failed_to_update_developer:"failed to update developer",confirm_reset_2fa:'reset 2fa for "{name}"? they will need to set up 2fa again on next login.',two_fa_reset:"2fa has been reset.",failed_to_reset_2fa:"failed to reset 2fa",confirm_deactivate:'deactivate "{name}"? they will not be able to log in.',confirm_activate:'activate "{name}"?',developer_deactivated:"developer deactivated.",developer_activated:"developer activated.",failed_to_update_status:"failed to update developer status.",create_first_developer:"create your first developer to get started",all_fields_required:"all fields are required.",password_length_error:"password must be between 10 and 20 characters.",password_complexity_error:"password must contain at least one letter, one digit, and one special character.",password_hint:"// must be 10-20 characters with letters, digits, and special characters.",display_name_required:"display name is required.",demote_self_warning:"you are about to demote yourself from admin. the system must have at least one admin. please verify another admin exists before proceeding.",demote_self_inline_warning:"// warning: you are demoting yourself from admin. ensure at least one other admin exists.",reset_2fa_confirm_message:"are you sure you want to reset two-factor authentication for",reset_2fa_audit_note:"// the user will be required to set up 2fa again on their next login. this action is recorded in the audit log.",resetting:"resetting...",bots_title:"admin / bots",bots_subtitle:"// bot instance management",create_bot:"create_bot",no_bots_configured:"no_bots_configured",add_bot_desc:"add a bot instance to enable chat integrations with lark or slack",bot_name:"bot_name",platform:"platform",app_id:"app_id",lark:"lark",slack:"slack",delete_bot:"delete_bot",delete_bot_confirm:'delete bot "{name}"? this cannot be undone.',bot_deleted:"bot deleted.",failed_to_delete_bot:"failed to delete bot.",bot_created:"bot created.",failed_to_create_bot:"failed to create bot",chat_bindings:"chat_bindings",chat_bindings_subtitle:"// all integrations",no_chat_bindings:"// no chat bindings configured",chat_id:"chat_id",chat_name:"chat_name",project:"project",bot:"bot",edit_bot:"edit_bot",name_and_app_id_required:"name and app id are required.",app_secret_required:"app secret is required for new bots.",app_secret:"app_secret",app_secret_keep_current:"app_secret (leave empty to keep current)",webhook_url_optional:"webhook_url (optional)",lark_feishu:"lark_(feishu)",failed_to_update_bot:"failed to update bot",no_chat_bindings_for_bot:"// no chat bindings configured for this bot.",add_chat_binding_desc:"// add chat binding",add_binding:"add_binding",failed_to_add_binding:"failed to add binding",tokens_title:"admin / worker_tokens",tokens_subtitle:"// worker registration token management",generate_token:"generate_token",no_worker_tokens:"no_worker_tokens",generate_token_desc:"generate a token to register a new worker machine",label:"label",purpose:"purpose",expires_at:"expires_at",token_generated:"token generated.",failed_to_generate_token:"failed to generate token.",token_revoked:"token revoked.",failed_to_revoke_token:"failed to revoke token.",revoke_token:"revoke_token",revoke_token_confirm:'revoke token "{label}"? this cannot be undone.',show_revoked:"show revoked",hide_revoked:"hide revoked",audit_title:"admin / audit_logs",audit_subtitle:"// system activity audit trail",all_actions:"all_actions",filter_by_user:"filter by user...",no_audit_entries:"no_audit_log_entries",audit_logs_appear:"audit logs will appear here as actions are performed in the system",timestamp:"timestamp",user_id:"user_id",action:"action",resource:"resource",detail:"detail",ip:"ip",action_login:"login",action_logout:"logout",action_create:"create",action_update:"update",action_delete:"delete",action_revoke:"revoke",action_reset_2fa:"reset_2fa",action_generate_token:"generate_token",showing_entries:"showing {count} entries",revoke:"revoke",generate_worker_token_title:"> generate_worker_token",create_one_time_token:"// create a one-time registration token",label_identifies_machine:"// identifies which machine this token is for",generating:"generating...",generate:"generate",worker_registered:"> worker_registered",worker_token_generated:"> worker_token_generated",run_command_desc:"// run this command on the target machine to register the worker",token_shown_once:"// this token will only be shown once. copy the command before closing.",waiting_for_worker:"// waiting for worker to register...",token_not_yet_used:"// token not yet used. the worker can still register later using this token.",worker_registered_success:"// worker registered successfully",machine:"machine",copied_wait_for_worker:"copied — wait_for_worker",close_worker_can_register:"close // worker can still register",view_machine:"view_machine",label_required:"label is required.",settings_title:"admin / settings",settings_subtitle:"// global system configuration",save_settings:"save_settings",settings_saved:"settings saved",failed_to_save_settings:"failed to save settings",loading_settings:"// loading settings...",scheduling:"> scheduling",heartbeat:"> heartbeat",output:"> output",defaults:"> defaults",max_concurrent_tasks:"max_concurrent_tasks_per_machine",max_concurrent_tasks_desc:"// maximum number of tasks a single worker can run simultaneously",task_timeout:"task_timeout_minutes",task_timeout_desc:"// auto-cancel tasks after this many minutes of inactivity",heartbeat_interval:"heartbeat_interval_seconds",heartbeat_interval_desc:"// expected interval between worker heartbeats",machine_offline_threshold:"machine_offline_threshold_seconds",machine_offline_threshold_desc:"// mark machine offline after missing heartbeats for this duration",default_agent_type:"default_agent_type",default_agent_type_desc:"// default agent type for new projects",server_url:"server_url",server_url_desc:"// public server url used in worker setup instructions",chat_binding_title:"// chat_bindings — {name}",chat_binding_no_bindings:"// no chat bindings configured for this bot.",chat_binding_add:"// add chat binding",chat_binding_id_placeholder:"platform chat/group id",chat_binding_name_placeholder:"display name for the chat",chat_binding_select_project:"select project...",chat_binding_all_fields_required:"all fields are required.",chat_binding_adding:"adding...",pat_label_required:"label is required.",pat_failed_to_generate:"failed to generate token",pat_label_placeholder:"e.g. build-server-03"},landing:{overlord:"overlord",version_badge:"v1.0 — full automation platform",hero_line1:"your machines. your subscriptions.",hero_highlight:"full automation.",hero_desc:"orchestrate ai coding agents across your entire fleet. create tasks, watch them execute in real time, and merge the results — all from one dashboard.",get_started:"get_started",read_docs:"read_docs",how_it_works:"how it works",three_steps:"three steps from idea to merged code.",step_n:"step {n}",step_define:"define",step_define_desc:"describe your task in plain language — bug fixes, features, refactors. attach context and assign to any project.",step_dispatch:"dispatch",step_dispatch_desc:"overlord routes the task to the best available worker and ai agent. execution starts immediately across your fleet.",step_monitor:"monitor & take over",step_monitor_desc:"watch real-time progress via the built-in terminal. jump in at any point to guide, correct, or take full control.",everything_you_need:"everything you need",complete_platform:"a complete platform for ai-assisted software development.",feature_terminal:"real-time pty terminal",feature_terminal_desc:"stream live agent output directly in the browser. full xterm.js integration with scrollback and search.",feature_multi_agent:"multi-agent support",feature_multi_agent_desc:"first-class support for claude code, cursor, and codex. route tasks to the right agent automatically.",feature_routing:"smart task routing",feature_routing_desc:"intelligent scheduling across your machine fleet. tasks land on the best available worker every time.",feature_pipeline:"pipeline automation",feature_pipeline_desc:"chain tasks into multi-stage pipelines. build, test, and deploy in one continuous flow.",feature_collab:"team collaboration",feature_collab_desc:"project-level permissions, audit logs, and shared dashboards. keep your whole team in sync.",feature_security:"secure by design",feature_security_desc:"totp two-factor auth, scoped api tokens, and full audit trail. enterprise-ready from day one.",install_title:"get up and running",install_desc:"three components, three commands. deploy in minutes.",install_command:"npm install -g @overlordai/developer-cli",setup_step_1_title:"deploy the server",setup_step_1_desc:"install overlord and start the central server. it manages all tasks, authentication, and real-time communication.",setup_step_1_command:"npm install -g @overlordai/cli && overlord install",setup_step_1_link:"installation guide",setup_step_2_title:"register workers",setup_step_2_desc:"set up worker machines that execute tasks. each worker runs ai agents in isolated workspaces with full git integration.",setup_step_2_command:"overlord-worker setup --host https://your-server.com --token <token>",setup_step_2_link:"worker setup guide",setup_step_3_title:"connect as developer",setup_step_3_desc:"install the developer cli to create tasks, attach to running sessions, and monitor progress from your terminal.",setup_step_3_command:"npm install -g @overlordai/developer-cli && ov login",setup_step_3_link:"development workflow",go_to_app:"go_to_app",documentation:"documentation",api:"api",copy_install_command:"copy install command"},docs:{cli_reference:"cli",cli_subtitle:"// command-line tools",api_reference:"api",api_subtitle:"// rest api endpoints",quick_start:"// quick start",developer_cli:"developer cli (ov)",admin_cli:"admin cli (overlord)",authentication:"// authentication",usage:"usage",flags:"flags",example:"example",request_body:"request body",response:"response",quick_start_with_token:"// quick start with your token",replace_token_hint:"// replace <your-token> with the actual token value from your access tokens page",cli_tools_desc:"// overlord provides two cli tools: {ov} (developer cli) and {overlord} (admin/ops cli)",api_base_url_desc:"// base url: {url} · all endpoints return json · auth via bearer token in authorization header"}};function t0(u,r){const c=r.split(".");let o=u;for(const f of c){if(o==null||typeof o!="object")return r;o=o[f]}return typeof o=="string"?o:r}function a0(u,r){return r?u.replace(/\{(\w+)\}/g,(c,o)=>r[o]!=null?String(r[o]):`{${o}}`):u}function Hu(u,r){return a0(t0(e0,u),r)}function ta(){return{t:x.useCallback((r,c)=>Hu(r,c),[])}}function Kh(){const{theme:u,setTheme:r}=Zh(),{t:c}=ta(),o=u==="dark"||u==="system"&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches,f=()=>{r(o?"light":"dark")};return _.jsx("button",{onClick:f,className:"flex items-center gap-1.5 rounded-[4px] p-2 text-[var(--text-secondary)] transition-colors hover:bg-[var(--border)] hover:text-[var(--text-primary)]","aria-label":c(o?"common.switch_to_light":"common.switch_to_dark"),title:c(o?"common.light_mode":"common.dark_mode"),children:o?_.jsx(Zv,{size:16}):_.jsx(Bv,{size:16})})}class Ac extends Error{constructor(c,o,f){const m=c.status||c.status===0?c.status:"",p=c.statusText??"",T=`${m} ${p}`.trim(),g=T?`status code ${T}`:"an unknown error";super(`Request failed with ${g}: ${o.method} ${o.url}`);wt(this,"response");wt(this,"request");wt(this,"options");this.name="HTTPError",this.response=c,this.request=o,this.options=f}}class Jh extends Error{constructor(c){let o="Non-error value was thrown";try{typeof c=="string"?o=c:c&&typeof c=="object"&&"message"in c&&typeof c.message=="string"&&(o=c.message)}catch{}super(o);wt(this,"name","NonError");wt(this,"value");this.value=c}}class Tc extends Error{constructor(c){const o=c!=null&&c.cause?c.cause instanceof Error?c.cause:new Jh(c.cause):void 0;super(c!=null&&c.code?`Forced retry: ${c.code}`:"Forced retry",o?{cause:o}:void 0);wt(this,"name","ForceRetryError");wt(this,"customDelay");wt(this,"code");wt(this,"customRequest");this.customDelay=c==null?void 0:c.delay,this.code=c==null?void 0:c.code,this.customRequest=c==null?void 0:c.request}}const yh=(()=>{let u=!1,r=!1;const c=typeof globalThis.ReadableStream=="function",o=typeof globalThis.Request=="function";if(c&&o)try{r=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return u=!0,"half"}}).headers.has("Content-Type")}catch(f){if(f instanceof Error&&f.message==="unsupported BodyInit type")return!1;throw f}return u&&!r})(),l0=typeof globalThis.AbortController=="function",$h=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",n0=typeof globalThis.ReadableStream=="function",i0=typeof globalThis.FormData=="function",Wh=["get","post","put","patch","head","delete"],u0={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},kc=2147483647,r0=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,Fh=Symbol("stop");class Ih{constructor(r){wt(this,"options");this.options=r}}const o0=u=>new Ih(u),c0={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},s0={next:!0},f0={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},d0=u=>{if(!u)return 0;if(u instanceof FormData){let r=0;for(const[c,o]of u)r+=r0,r+=new TextEncoder().encode(`Content-Disposition: form-data; name="${c}"`).length,r+=typeof o=="string"?new TextEncoder().encode(o).length:o.size;return r}if(u instanceof Blob)return u.size;if(u instanceof ArrayBuffer)return u.byteLength;if(typeof u=="string")return new TextEncoder().encode(u).length;if(u instanceof URLSearchParams)return new TextEncoder().encode(u.toString()).length;if("byteLength"in u)return u.byteLength;if(typeof u=="object"&&u!==null)try{const r=JSON.stringify(u);return new TextEncoder().encode(r).length}catch{return 0}return 0},Ph=(u,r,c)=>{let o,f=0;return u.pipeThrough(new TransformStream({transform(m,p){if(p.enqueue(m),o){f+=o.byteLength;let T=r===0?0:f/r;T>=1&&(T=1-Number.EPSILON),c==null||c({percent:T,totalBytes:Math.max(r,f),transferredBytes:f},o)}o=m},flush(){o&&(f+=o.byteLength,c==null||c({percent:1,totalBytes:Math.max(r,f),transferredBytes:f},o))}}))},m0=(u,r)=>{if(!u.body)return u;if(u.status===204)return new Response(null,{status:u.status,statusText:u.statusText,headers:u.headers});const c=Math.max(0,Number(u.headers.get("content-length"))||0);return new Response(Ph(u.body,c,r),{status:u.status,statusText:u.statusText,headers:u.headers})},h0=(u,r,c)=>{if(!u.body)return u;const o=d0(c??u.body);return new Request(u,{duplex:"half",body:Ph(u.body,o,r)})},_l=u=>u!==null&&typeof u=="object",Ou=(...u)=>{for(const r of u)if((!_l(r)||Array.isArray(r))&&r!==void 0)throw new TypeError("The `options` argument must be an object");return Vc({},...u)},ep=(u={},r={})=>{const c=new globalThis.Headers(u),o=r instanceof globalThis.Headers,f=new globalThis.Headers(r);for(const[m,p]of f.entries())o&&p==="undefined"||p===void 0?c.delete(m):c.set(m,p);return c};function Cu(u,r,c){return Object.hasOwn(r,c)&&r[c]===void 0?[]:Vc(u[c]??[],r[c]??[])}const tp=(u={},r={})=>({beforeRequest:Cu(u,r,"beforeRequest"),beforeRetry:Cu(u,r,"beforeRetry"),afterResponse:Cu(u,r,"afterResponse"),beforeError:Cu(u,r,"beforeError")}),p0=(u,r)=>{const c=new URLSearchParams;for(const o of[u,r])if(o!==void 0)if(o instanceof URLSearchParams)for(const[f,m]of o.entries())c.append(f,m);else if(Array.isArray(o))for(const f of o){if(!Array.isArray(f)||f.length!==2)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");c.append(String(f[0]),String(f[1]))}else if(_l(o))for(const[f,m]of Object.entries(o))m!==void 0&&c.append(f,String(m));else{const f=new URLSearchParams(o);for(const[m,p]of f.entries())c.append(m,p)}return c},Vc=(...u)=>{let r={},c={},o={},f;const m=[];for(const p of u)if(Array.isArray(p))Array.isArray(r)||(r=[]),r=[...r,...p];else if(_l(p)){for(let[T,g]of Object.entries(p)){if(T==="signal"&&g instanceof globalThis.AbortSignal){m.push(g);continue}if(T==="context"){if(g!=null&&(!_l(g)||Array.isArray(g)))throw new TypeError("The `context` option must be an object");r={...r,context:g==null?{}:{...r.context,...g}};continue}if(T==="searchParams"){g==null?f=void 0:f=f===void 0?g:p0(f,g);continue}_l(g)&&T in r&&(g=Vc(r[T],g)),r={...r,[T]:g}}_l(p.hooks)&&(o=tp(o,p.hooks),r.hooks=o),_l(p.headers)&&(c=ep(c,p.headers),r.headers=c)}return f!==void 0&&(r.searchParams=f),m.length>0&&(m.length===1?r.signal=m[0]:$h?r.signal=AbortSignal.any(m):r.signal=m.at(-1)),r},_0=u=>Wh.includes(u)?u.toUpperCase():u,y0=["get","put","head","delete","options","trace"],g0=[408,413,429,500,502,503,504],v0=[413,429,503],gh={limit:2,methods:y0,statusCodes:g0,afterStatusCodes:v0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:u=>.3*2**(u-1)*1e3,jitter:void 0,retryOnTimeout:!1},b0=(u={})=>{if(typeof u=="number")return{...gh,limit:u};if(u.methods&&!Array.isArray(u.methods))throw new Error("retry.methods must be an array");if(u.methods&&(u.methods=u.methods.map(c=>c.toLowerCase())),u.statusCodes&&!Array.isArray(u.statusCodes))throw new Error("retry.statusCodes must be an array");const r=Object.fromEntries(Object.entries(u).filter(([,c])=>c!==void 0));return{...gh,...r}};class Oc extends Error{constructor(c){super(`Request timed out: ${c.method} ${c.url}`);wt(this,"request");this.name="TimeoutError",this.request=c}}async function x0(u,r,c,o){return new Promise((f,m)=>{const p=setTimeout(()=>{c&&c.abort(),m(new Oc(u))},o.timeout);o.fetch(u,r).then(f).catch(m).then(()=>{clearTimeout(p)})})}async function S0(u,{signal:r}){return new Promise((c,o)=>{r&&(r.throwIfAborted(),r.addEventListener("abort",f,{once:!0}));function f(){clearTimeout(m),o(r.reason)}const m=setTimeout(()=>{r==null||r.removeEventListener("abort",f),c()},u)})}const E0=(u,r)=>{const c={};for(const o in r)Object.hasOwn(r,o)&&!(o in f0)&&!(o in c0)&&(!(o in u)||o in s0)&&(c[o]=r[o]);return c},T0=u=>u===void 0?!1:Array.isArray(u)?u.length>0:u instanceof URLSearchParams?u.size>0:typeof u=="object"?Object.keys(u).length>0:typeof u=="string"?u.trim().length>0:!!u;function k0(u){return u instanceof Ac||(u==null?void 0:u.name)===Ac.name}function w0(u){return u instanceof Oc||(u==null?void 0:u.name)===Oc.name}var Vu,ap,Zt,Lt,nt,Q,Ja,Pt,yl,ie,Lu,lp,Cc,Bu,Ka,Mc,np,li,Yu,Nc;const ii=class ii{constructor(r,c={}){It(this,ie);wt(this,"request");It(this,Zt);It(this,Lt,0);It(this,nt);It(this,Q);It(this,Ja);It(this,Pt);It(this,yl);var f,m,p;if(Vt(this,nt,r),Vt(this,Q,{...c,headers:ep(U(this,nt).headers,c.headers),hooks:tp({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},c.hooks),method:_0(c.method??U(this,nt).method??"GET"),prefixUrl:String(c.prefixUrl||""),retry:b0(c.retry),throwHttpErrors:c.throwHttpErrors??!0,timeout:c.timeout??1e4,fetch:c.fetch??globalThis.fetch.bind(globalThis),context:c.context??{}}),typeof U(this,nt)!="string"&&!(U(this,nt)instanceof URL||U(this,nt)instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(U(this,Q).prefixUrl&&typeof U(this,nt)=="string"){if(U(this,nt).startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");U(this,Q).prefixUrl.endsWith("/")||(U(this,Q).prefixUrl+="/"),Vt(this,nt,U(this,Q).prefixUrl+U(this,nt))}l0&&$h&&(Vt(this,Pt,U(this,Q).signal??U(this,nt).signal),Vt(this,Zt,new globalThis.AbortController),U(this,Q).signal=U(this,Pt)?AbortSignal.any([U(this,Pt),U(this,Zt).signal]):U(this,Zt).signal),yh&&(U(this,Q).duplex="half"),U(this,Q).json!==void 0&&(U(this,Q).body=((m=(f=U(this,Q)).stringifyJson)==null?void 0:m.call(f,U(this,Q).json))??JSON.stringify(U(this,Q).json),U(this,Q).headers.set("content-type",U(this,Q).headers.get("content-type")??"application/json"));const o=c.headers&&new globalThis.Headers(c.headers).has("content-type");if(U(this,nt)instanceof globalThis.Request&&(i0&&U(this,Q).body instanceof globalThis.FormData||U(this,Q).body instanceof URLSearchParams)&&!o&&U(this,Q).headers.delete("content-type"),this.request=new globalThis.Request(U(this,nt),U(this,Q)),T0(U(this,Q).searchParams)){const g="?"+(typeof U(this,Q).searchParams=="string"?U(this,Q).searchParams.replace(/^\?/,""):new URLSearchParams(ge(p=ii,Vu,ap).call(p,U(this,Q).searchParams)).toString()),h=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,g);this.request=new globalThis.Request(h,U(this,Q))}if(U(this,Q).onUploadProgress){if(typeof U(this,Q).onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!yh)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=ge(this,ie,Nc).call(this,this.request,U(this,Q).body??void 0)}}static create(r,c){var p,T,g;const o=new ii(r,c),f=async()=>{var j,S,D,V,q,H,B,L,P,F,me,fe;if(typeof U(o,Q).timeout=="number"&&U(o,Q).timeout>kc)throw new RangeError(`The \`timeout\` option cannot be greater than ${kc}`);await Promise.resolve();let h=await ge(j=o,ie,np).call(j);for(const K of U(o,Q).hooks.afterResponse){const X=ge(S=o,ie,Cc).call(S,h.clone());let ve;try{ve=await K(o.request,ge(D=o,ie,li).call(D),X,{retryCount:U(o,Lt)})}catch(Ze){throw ge(V=o,ie,Ka).call(V,X),ge(q=o,ie,Ka).call(q,h),Ze}if(ve instanceof Ih)throw ge(H=o,ie,Ka).call(H,X),ge(B=o,ie,Ka).call(B,h),new Tc(ve.options);const De=ve instanceof globalThis.Response?ve:h;X!==De&&ge(L=o,ie,Ka).call(L,X),h!==De&&ge(P=o,ie,Ka).call(P,h),h=De}if(ge(F=o,ie,Cc).call(F,h),!h.ok&&(typeof U(o,Q).throwHttpErrors=="function"?U(o,Q).throwHttpErrors(h.status):U(o,Q).throwHttpErrors)){let K=new Ac(h,o.request,ge(me=o,ie,li).call(me));for(const X of U(o,Q).hooks.beforeError)K=await X(K,{retryCount:U(o,Lt)});throw K}if(U(o,Q).onDownloadProgress){if(typeof U(o,Q).onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!n0)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");const K=h.clone();return ge(fe=o,ie,Ka).call(fe,h),m0(K,U(o,Q).onDownloadProgress)}return h},m=ge(p=o,ie,Mc).call(p,f).finally(()=>{var j,S;const h=U(o,Ja);ge(j=o,ie,Bu).call(j,(h==null?void 0:h.body)??void 0),ge(S=o,ie,Bu).call(S,o.request.body??void 0)});for(const[h,j]of Object.entries(u0))h==="bytes"&&typeof((g=(T=globalThis.Response)==null?void 0:T.prototype)==null?void 0:g.bytes)!="function"||(m[h]=async()=>{o.request.headers.set("accept",o.request.headers.get("accept")||j);const S=await m;if(h==="json"){if(S.status===204)return"";const D=await S.text();return D===""?"":c.parseJson?c.parseJson(D):JSON.parse(D)}return S[h]()});return m}};Vu=new WeakSet,ap=function(r){return r&&typeof r=="object"&&!Array.isArray(r)&&!(r instanceof URLSearchParams)?Object.fromEntries(Object.entries(r).filter(([,c])=>c!==void 0)):r},Zt=new WeakMap,Lt=new WeakMap,nt=new WeakMap,Q=new WeakMap,Ja=new WeakMap,Pt=new WeakMap,yl=new WeakMap,ie=new WeakSet,Lu=function(){const r=U(this,Q).retry.delay(U(this,Lt));let c=r;U(this,Q).retry.jitter===!0?c=Math.random()*r:typeof U(this,Q).retry.jitter=="function"&&(c=U(this,Q).retry.jitter(r),(!Number.isFinite(c)||c<0)&&(c=r));const o=U(this,Q).retry.backoffLimit??Number.POSITIVE_INFINITY;return Math.min(o,c)},lp=async function(r){if($m(this,Lt)._++,U(this,Lt)>U(this,Q).retry.limit)throw r;const c=r instanceof Error?r:new Jh(r);if(c instanceof Tc)return c.customDelay??ge(this,ie,Lu).call(this);if(!U(this,Q).retry.methods.includes(this.request.method.toLowerCase()))throw r;if(U(this,Q).retry.shouldRetry!==void 0){const o=await U(this,Q).retry.shouldRetry({error:c,retryCount:U(this,Lt)});if(o===!1)throw r;if(o===!0)return ge(this,ie,Lu).call(this)}if(w0(r)&&!U(this,Q).retry.retryOnTimeout)throw r;if(k0(r)){if(!U(this,Q).retry.statusCodes.includes(r.response.status))throw r;const o=r.response.headers.get("Retry-After")??r.response.headers.get("RateLimit-Reset")??r.response.headers.get("X-RateLimit-Retry-After")??r.response.headers.get("X-RateLimit-Reset")??r.response.headers.get("X-Rate-Limit-Reset");if(o&&U(this,Q).retry.afterStatusCodes.includes(r.response.status)){let f=Number(o)*1e3;Number.isNaN(f)?f=Date.parse(o)-Date.now():f>=Date.parse("2024-01-01")&&(f-=Date.now());const m=U(this,Q).retry.maxRetryAfter??f;return f<m?f:m}if(r.response.status===413)throw r}return ge(this,ie,Lu).call(this)},Cc=function(r){return U(this,Q).parseJson&&(r.json=async()=>U(this,Q).parseJson(await r.text())),r},Bu=function(r){r&&r.cancel().catch(()=>{})},Ka=function(r){ge(this,ie,Bu).call(this,r.body??void 0)},Mc=async function(r){try{return await r()}catch(c){const o=Math.min(await ge(this,ie,lp).call(this,c),kc);if(U(this,Lt)<1)throw c;if(await S0(o,U(this,Pt)?{signal:U(this,Pt)}:{}),c instanceof Tc&&c.customRequest){const f=U(this,Q).signal?new globalThis.Request(c.customRequest,{signal:U(this,Q).signal}):new globalThis.Request(c.customRequest);ge(this,ie,Yu).call(this,f)}for(const f of U(this,Q).hooks.beforeRetry){const m=await f({request:this.request,options:ge(this,ie,li).call(this),error:c,retryCount:U(this,Lt)});if(m instanceof globalThis.Request){ge(this,ie,Yu).call(this,m);break}if(m instanceof globalThis.Response)return m;if(m===Fh)return}return ge(this,ie,Mc).call(this,r)}},np=async function(){var c;(c=U(this,Zt))!=null&&c.signal.aborted&&(Vt(this,Zt,new globalThis.AbortController),U(this,Q).signal=U(this,Pt)?AbortSignal.any([U(this,Pt),U(this,Zt).signal]):U(this,Zt).signal,this.request=new globalThis.Request(this.request,{signal:U(this,Q).signal}));for(const o of U(this,Q).hooks.beforeRequest){const f=await o(this.request,ge(this,ie,li).call(this),{retryCount:U(this,Lt)});if(f instanceof Response)return f;if(f instanceof globalThis.Request){ge(this,ie,Yu).call(this,f);break}}const r=E0(this.request,U(this,Q));return Vt(this,Ja,this.request),this.request=U(this,Ja).clone(),U(this,Q).timeout===!1?U(this,Q).fetch(U(this,Ja),r):x0(U(this,Ja),r,U(this,Zt),U(this,Q))},li=function(){if(!U(this,yl)){const{hooks:r,...c}=U(this,Q);Vt(this,yl,Object.freeze(c))}return U(this,yl)},Yu=function(r){Vt(this,yl,void 0),this.request=ge(this,ie,Nc).call(this,r)},Nc=function(r,c){return!U(this,Q).onUploadProgress||!r.body?r:h0(r,U(this,Q).onUploadProgress,c??U(this,Q).body??void 0)},It(ii,Vu);let Qu=ii;/*! MIT License © Sindre Sorhus */const Dc=u=>{const r=(c,o)=>Qu.create(c,Ou(u,o));for(const c of Wh)r[c]=(o,f)=>Qu.create(o,Ou(u,f,{method:c}));return r.create=c=>Dc(Ou(c)),r.extend=c=>(typeof c=="function"&&(c=c(u??{})),Dc(Ou(u,c))),r.stop=Fh,r.retry=o0,r},vh=Dc();let wc=!1,Rc=null;const Gu=vh.create({prefixUrl:"/api",timeout:3e4,hooks:{beforeRequest:[u=>{const r=$a.getState().accessToken;r&&u.headers.set("Authorization",`Bearer ${r}`)}],afterResponse:[async(u,r,c)=>{if(c.status===401){wc||(wc=!0,Rc=$a.getState().refresh().finally(()=>{wc=!1,setTimeout(()=>{Rc=null},0)}));try{await Rc}catch{throw c}const o=$a.getState().accessToken;return o&&u.headers.set("Authorization",`Bearer ${o}`),vh(u,r)}}]}}),R0=3e4;function j0(u){if(u.link)return u.link;const r=(u.title+" "+u.body).match(/task\s*#?(\d+)/i);if(r)return`/tasks/${r[1]}`;const c=(u.title+" "+u.body).match(/machine\s+(\S+)/i);return c?`/machines/${c[1]}`:null}function ip(){const u=gl(),[r,c]=x.useState([]),[o,f]=x.useState(0),[m,p]=x.useState(!1),[T,g]=x.useState(!1),h=x.useRef(null),{t:j}=ta(),S=x.useCallback(async()=>{try{g(!0);const q=await Gu.get("web/notifications",{searchParams:{limit:"20"}}).json();c(q.data),f(q.data.filter(H=>!H.isRead).length)}catch{}finally{g(!1)}},[]);x.useEffect(()=>{S();const q=setInterval(S,R0);return()=>clearInterval(q)},[S]),x.useEffect(()=>{function q(H){h.current&&!h.current.contains(H.target)&&p(!1)}return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]);const D=async q=>{try{await Gu.post(`web/notifications/${q}/read`),c(H=>H.map(B=>B.id===q?{...B,isRead:!0}:B)),f(H=>Math.max(0,H-1))}catch{}},V=async()=>{try{await Gu.post("web/notifications/read-all"),c(q=>q.map(H=>({...H,isRead:!0}))),f(0)}catch{}};return _.jsxs("div",{className:"relative",ref:h,children:[_.jsxs("button",{type:"button",onClick:()=>p(q=>!q),"aria-label":j("common.notifications"),className:"relative inline-flex items-center justify-center rounded-[4px] p-2 text-[var(--text-secondary)] transition-colors hover:bg-[var(--border)] hover:text-[var(--text-primary)]",children:[_.jsx(jv,{size:16}),o>0&&_.jsx("span",{className:"absolute -right-1 -top-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-[var(--destructive)] px-1 text-[10px] font-bold text-white",children:o})]}),m&&_.jsxs("div",{className:"absolute right-0 top-full z-50 mt-2 w-80 rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-lg",children:[_.jsxs("div",{className:"flex items-center justify-between border-b border-[var(--border)] px-4 py-3",children:[_.jsx("span",{className:"text-sm font-semibold",children:j("common.notifications")}),o>0&&_.jsxs("button",{type:"button",onClick:V,className:"inline-flex items-center gap-1.5 text-xs text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:[_.jsx(zv,{className:"h-3.5 w-3.5"}),j("common.mark_all_read")]})]}),_.jsx("div",{className:"max-h-80 overflow-y-auto",children:T&&r.length===0?_.jsx("div",{className:"flex justify-center py-8",children:_.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})}):r.length===0?_.jsxs("div",{className:"flex flex-col items-center gap-3 py-8",children:[_.jsx("span",{className:"text-xl font-bold text-[var(--border)]",children:"[ ]"}),_.jsx("span",{className:"text-xs text-[var(--text-muted)]",children:j("common.no_notifications")})]}):r.map(q=>{const H=j0(q);return _.jsxs("div",{className:`flex items-start gap-3 border-b border-[var(--border)] px-4 py-3 last:border-b-0 transition-colors ${H?"cursor-pointer hover:bg-[var(--bg-input)]":""} ${q.isRead?"opacity-60":"bg-[var(--accent)]/5"}`,onClick:()=>{H&&(q.isRead||D(q.id),p(!1),u(H))},children:[_.jsxs("div",{className:"min-w-0 flex-1",children:[_.jsx("p",{className:"text-sm font-medium",children:q.title}),_.jsx("p",{className:"text-xs text-[var(--text-secondary)]",children:q.body}),_.jsx("p",{className:"mt-1 text-xs text-[var(--text-secondary)] opacity-60",children:new Date(q.createdAt).toLocaleString()})]}),!q.isRead&&_.jsx("button",{type:"button",onClick:B=>{B.stopPropagation(),D(q.id)},"aria-label":j("common.mark_as_read"),className:"shrink-0 rounded-[4px] p-1 text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:_.jsx(Av,{className:"h-3.5 w-3.5"})})]},q.id)})})]})]})}function z0(u){return{tasks:u.tasks.map(r=>({type:"task",id:r.id,title:`#${r.id} ${r.description}`,subtitle:`${r.status} · ${r.project_key}`})),machines:u.machines.map(r=>({type:"machine",id:r.id,title:r.name,subtitle:`${r.hostname} · ${r.status}`})),projects:u.projects.map(r=>({type:"project",id:r.key,title:r.name,subtitle:r.repository}))}}const A0=300,bh={tasks:Vv,machines:Qc,projects:Nv},O0={tasks:"tasks",machines:"machines",projects:"projects"};function C0(){const[u,r]=x.useState(""),[c,o]=x.useState({tasks:[],machines:[],projects:[]}),[f,m]=x.useState(!1),[p,T]=x.useState(!1),[g,h]=x.useState(0),j=x.useRef(null),S=x.useRef(null),D=x.useRef(void 0),V=gl(),{t:q}=ta(),H=[...c.tasks,...c.machines,...c.projects],B=x.useCallback(async K=>{if(!K.trim()){o({tasks:[],machines:[],projects:[]});return}try{m(!0);const X=await Gu.get("web/search",{searchParams:{q:K}}).json();o(z0(X)),h(0)}catch{}finally{m(!1)}},[]);x.useEffect(()=>(D.current&&clearTimeout(D.current),D.current=setTimeout(()=>B(u),A0),()=>{D.current&&clearTimeout(D.current)}),[u,B]),x.useEffect(()=>{function K(X){X.key==="/"&&!p&&!(X.target instanceof HTMLInputElement||X.target instanceof HTMLTextAreaElement)&&(X.preventDefault(),T(!0)),X.key==="Escape"&&p&&(X.preventDefault(),L())}return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[p]),x.useEffect(()=>{p&&setTimeout(()=>{var K;return(K=S.current)==null?void 0:K.focus()},50)},[p]);const L=()=>{T(!1),r(""),o({tasks:[],machines:[],projects:[]}),h(0)},P=K=>{switch(L(),K.type){case"task":V(`/tasks/${K.id}`);break;case"machine":V(`/machines/${K.id}`);break;case"project":V(`/projects/${K.id}`);break}},F=K=>{K.key==="ArrowDown"?(K.preventDefault(),h(X=>Math.min(X+1,H.length-1))):K.key==="ArrowUp"?(K.preventDefault(),h(X=>Math.max(X-1,0))):K.key==="Enter"&&H[g]&&(K.preventDefault(),P(H[g]))},me=H.length>0;let fe=0;return _.jsxs(_.Fragment,{children:[_.jsxs("button",{type:"button",onClick:()=>T(!0),className:"flex items-center gap-2 rounded-[4px] border border-[var(--border)] bg-[var(--bg-input)] px-3 py-1.5 text-xs text-[var(--text-muted)] transition-colors hover:border-[var(--text-muted)]",children:[_.jsx(Gv,{className:"h-3.5 w-3.5"}),_.jsx("span",{children:q("common.search_placeholder")}),_.jsx("kbd",{className:"ml-2 rounded border border-[var(--border)] bg-[var(--bg-primary)] px-1.5 py-0.5 text-[10px] text-[var(--text-muted)]",children:"/"})]}),p&&_.jsx("div",{ref:j,className:"fixed inset-0 z-[100] flex items-start justify-center pt-[15vh]",style:{backgroundColor:"rgba(0, 0, 0, 0.6)"},onClick:K=>{K.target===j.current&&L()},children:_.jsxs("div",{className:"w-full max-w-[640px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-2xl",style:{fontFamily:"'JetBrains Mono', monospace"},children:[_.jsxs("div",{className:"flex items-center gap-3 border-b border-[var(--border)] px-4 py-3",children:[_.jsx("span",{className:"text-sm text-[var(--accent)]",children:"/"}),_.jsx("input",{ref:S,type:"text",placeholder:q("common.search_input_placeholder"),value:u,onChange:K=>r(K.target.value),onKeyDown:F,className:"flex-1 bg-transparent text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] outline-none"}),f&&_.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})]}),_.jsx("div",{className:"max-h-[400px] overflow-y-auto",children:u.trim()&&!me&&!f?_.jsx("div",{className:"py-10 text-center text-xs text-[var(--text-muted)]",children:q("common.no_search_results",{query:u})}):Object.keys(bh).map(K=>{const X=c[K];if(X.length===0)return null;const ve=bh[K],De=fe;return fe+=X.length,_.jsxs("div",{children:[_.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 text-[var(--text-muted)]",children:[_.jsx(ve,{className:"h-3 w-3"}),_.jsx("span",{className:"text-[10px] uppercase tracking-wider",children:O0[K]})]}),X.map((Ze,rt)=>{const Ke=De+rt,ot=Ke===g;return _.jsxs("button",{type:"button",className:`flex w-full items-center gap-3 px-4 py-2.5 text-left transition-colors ${ot?"bg-[var(--accent)]/10 text-[var(--accent)]":"hover:bg-[var(--bg-input)]"}`,onClick:()=>P(Ze),onMouseEnter:()=>h(Ke),children:[_.jsx("span",{className:`text-xs ${ot?"text-[var(--accent)]":"text-[var(--text-muted)]"}`,children:ot?">":" "}),_.jsxs("div",{className:"min-w-0 flex-1",children:[_.jsx("p",{className:"truncate text-sm",children:Ze.title}),Ze.subtitle&&_.jsx("p",{className:"truncate text-xs text-[var(--text-muted)]",children:Ze.subtitle})]})]},`${Ze.type}-${Ze.id}`)})]},K)})}),_.jsxs("div",{className:"flex items-center gap-4 border-t border-[var(--border)] px-4 py-2",children:[_.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-[var(--text-muted)]",children:[_.jsx("kbd",{className:"rounded border border-[var(--border)] px-1",children:"↑↓"})," ",q("common.navigate_hint")]}),_.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-[var(--text-muted)]",children:[_.jsx("kbd",{className:"rounded border border-[var(--border)] px-1",children:"↵"})," ",q("common.select_hint")]}),_.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-[var(--text-muted)]",children:[_.jsx("kbd",{className:"rounded border border-[var(--border)] px-1",children:"esc"})," ",q("common.close_hint")]})]})]})})]})}const M0={danger:"var(--destructive)",warning:"var(--warning)",accent:"var(--accent)"};function N0({isOpen:u,onClose:r,onConfirm:c,title:o,message:f,confirmVariant:m="danger",isLoading:p,...T}){const{t:g}=ta(),h=T.confirmLabel??g("common.confirm"),j=T.cancelLabel??g("common.cancel");if(!u)return null;const S=M0[m];return _.jsx("div",{onClick:r,style:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"var(--modal-backdrop, rgba(12,12,12,0.6))"},children:_.jsxs("div",{onClick:D=>D.stopPropagation(),style:{width:"100%",maxWidth:"480px",backgroundColor:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"4px",padding:"1.5rem",fontFamily:"'JetBrains Mono', monospace"},children:[_.jsx("div",{style:{marginBottom:"1.25rem"},children:_.jsxs("div",{style:{color:"var(--accent)",fontSize:"0.875rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[_.jsx(Xh,{style:{width:"1rem",height:"1rem"}}),o]})}),_.jsx("div",{style:{marginBottom:"1.25rem"},children:_.jsx("p",{style:{color:"var(--text-muted)",fontSize:"0.75rem",lineHeight:"1.5"},children:f})}),_.jsxs("div",{style:{display:"flex",gap:"0.75rem"},children:[_.jsx("button",{type:"button",onClick:r,disabled:p,className:"text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:border-[var(--text-muted)]",style:{flex:1,padding:"0.5rem",backgroundColor:"transparent",border:"1px solid var(--border)",borderRadius:"4px",fontSize:"0.75rem",fontFamily:"'JetBrains Mono', monospace",cursor:p?"not-allowed":"pointer",opacity:p?.7:1,transition:"color 0.15s, border-color 0.15s"},children:j}),_.jsx("button",{type:"button",onClick:c,disabled:p,style:{flex:1,padding:"0.5rem",backgroundColor:S,color:"#0C0C0C",border:"none",borderRadius:"4px",fontSize:"0.75rem",fontWeight:600,fontFamily:"'JetBrains Mono', monospace",cursor:p?"not-allowed":"pointer",opacity:p?.7:1},children:p?g("common.processing"):h})]})]})})}const up=x.createContext({setActions:()=>{}});function Ab(u){const{setActions:r}=x.useContext(up);x.useEffect(()=>(r(u),()=>r(null)),[u,r])}const rp=x.createContext({setSubtitle:()=>{}});function Ob(u){const{setSubtitle:r}=x.useContext(rp);x.useEffect(()=>(r(u),()=>r(null)),[u,r])}const D0=[{to:"/home",label:"dashboard",icon:Yh},{to:"/tasks",label:"tasks",icon:Gh},{to:"/machines",label:"machines",icon:Qc},{to:"/projects",label:"projects",icon:Dv},{to:"/access-tokens",label:"access_tokens",icon:qv}],U0=[{to:"/docs/cli",label:"cli",icon:Kv},{to:"/docs/api",label:"api",icon:Mv},{to:"/docs/skill",label:"skill",icon:Qv}],q0=[{to:"/admin",label:"admin",icon:Xv}],H0=[{to:"/home",label:"dashboard",icon:Yh},{to:"/tasks",label:"tasks",icon:Gh},{to:"/machines",label:"machines",icon:Qc},{to:"/profile",label:"profile",icon:Jv}],Mu={"/home":{title:"common.breadcrumb_dashboard",subtitle:"common.breadcrumb_dashboard_sub"},"/tasks":{title:"common.breadcrumb_tasks",subtitle:"common.breadcrumb_tasks_sub"},"/machines":{title:"common.breadcrumb_machines",subtitle:"common.breadcrumb_machines_sub"},"/projects":{title:"common.breadcrumb_projects",subtitle:"common.breadcrumb_projects_sub"},"/admin":{title:"common.breadcrumb_admin",subtitle:"common.breadcrumb_admin_sub"},"/profile":{title:"common.breadcrumb_profile",subtitle:"common.breadcrumb_profile_sub"},"/access-tokens":{title:"common.breadcrumb_access_tokens",subtitle:"common.breadcrumb_access_tokens_sub"},"/docs":{title:"common.breadcrumb_docs",subtitle:"common.breadcrumb_docs_sub"},"/docs/cli":{title:"common.breadcrumb_docs_cli",subtitle:"common.breadcrumb_docs_cli_sub"},"/docs/api":{title:"common.breadcrumb_docs_api",subtitle:"common.breadcrumb_docs_api_sub"},"/docs/skill":{title:"common.breadcrumb_docs_skill",subtitle:"common.breadcrumb_docs_skill_sub"}};function L0(u){const{t:r}=ta();if(Mu[u]){const o=Mu[u];return{title:r(o.title),subtitle:r(o.subtitle)}}const c="/"+u.split("/").filter(Boolean)[0];if(Mu[c]){const o=Mu[c],f=u.split("/").filter(Boolean).slice(1).join(" / ");return{title:r(o.title),subtitle:f||r(o.subtitle)}}return{title:u.slice(1).replace(/\//g," // ")||"home"}}function B0(u,r){return u==="/home"?r==="/home":r.startsWith(u)}function Y0(){const u=Yt(),{t:r}=ta();return _.jsx("nav",{className:"flex items-center justify-around border-t border-[var(--border)] bg-[var(--bg-card)] md:hidden",style:{height:60,paddingTop:8,paddingBottom:"env(safe-area-inset-bottom, 0px)"},children:H0.map(({to:c,label:o,icon:f})=>{const m=B0(c,u.pathname);return _.jsxs(ni,{to:c,className:"flex flex-col items-center gap-1",style:{width:70},children:[_.jsx(f,{size:18,className:m?"text-[var(--accent)]":"text-[var(--text-muted)]"}),_.jsx("span",{className:`text-[8px] lowercase ${m?"font-bold text-[var(--accent)]":"text-[var(--text-muted)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:{dashboard:r("dashboard.title"),tasks:r("tasks.title"),machines:r("machines.title"),profile:r("common.profile")}[o]??o})]},c)})})}function G0(){const u=gl(),{t:r}=ta();return _.jsxs("header",{className:"flex items-center justify-between border-b border-[var(--border)] bg-[var(--bg-card)] px-4 md:hidden",style:{height:56,minHeight:56},children:[_.jsxs("button",{onClick:()=>u("/home"),className:"flex items-center gap-2",style:{background:"none",border:"none",padding:0},children:[_.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-[4px] bg-[var(--accent)]",style:{fontFamily:"'JetBrains Mono', monospace"},children:_.jsx("span",{className:"text-sm font-semibold",style:{color:"#0C0C0C"},children:"~"})}),_.jsx("span",{className:"text-sm font-bold lowercase text-[var(--text-primary)]",style:{fontFamily:"'JetBrains Mono', monospace"},children:r("common.overlord")})]}),_.jsxs("div",{className:"flex items-center gap-1",children:[_.jsx(ip,{}),_.jsx(Kh,{})]})]})}function X0(){const{user:u,logout:r}=$a(),c=gl(),[o,f]=x.useState(!1),m=(u==null?void 0:u.role)==="admin",{t:p}=ta(),T=()=>{r(),c("/login")};return _.jsxs("aside",{className:"hidden md:flex flex-col border-r border-[var(--border)]",style:{width:240,minWidth:240,backgroundColor:"var(--bg-card)"},children:[_.jsx("div",{className:"flex items-center px-5",style:{height:48},children:_.jsxs("button",{onClick:()=>c("/home"),className:"flex items-center gap-2.5",style:{background:"none",border:"none",padding:0},children:[_.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-[4px] bg-[var(--accent)]",style:{fontFamily:"'JetBrains Mono', monospace"},children:_.jsx("span",{className:"text-lg font-semibold",style:{color:"#0C0C0C"},children:"~"})}),_.jsx("span",{className:"text-base font-bold lowercase tracking-tight",style:{color:"var(--text-primary)",fontFamily:"'JetBrains Mono', monospace"},children:p("common.overlord")})]})}),_.jsxs("nav",{className:"flex-1 px-3 pt-2",children:[_.jsx("div",{className:"mb-2 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:p("common.navigation")}),D0.map(({to:g,label:h,icon:j})=>_.jsx(ni,{to:g,className:({isActive:S})=>`flex items-center gap-2.5 px-3 py-1.5 text-sm lowercase transition-colors ${S?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:({isActive:S})=>_.jsxs(_.Fragment,{children:[_.jsx(j,{size:14,style:{flexShrink:0}}),_.jsx("span",{children:S?`> ${h}`:` ${h}`})]})},g)),_.jsx("div",{className:"mb-2 mt-4 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:p("common.docs_section")}),U0.map(({to:g,label:h,icon:j})=>_.jsx(ni,{to:g,className:({isActive:S})=>`flex items-center gap-2.5 px-3 py-1.5 text-sm lowercase transition-colors ${S?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:({isActive:S})=>_.jsxs(_.Fragment,{children:[_.jsx(j,{size:14,style:{flexShrink:0}}),_.jsx("span",{children:S?`> ${h}`:` ${h}`})]})},g)),m&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"mb-2 mt-4 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:p("common.admin_section")}),q0.map(({to:g,label:h,icon:j})=>_.jsx(ni,{to:g,className:({isActive:S})=>`flex items-center gap-2.5 px-3 py-1.5 text-sm lowercase transition-colors ${S?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,style:{fontFamily:"'JetBrains Mono', monospace"},children:({isActive:S})=>_.jsxs(_.Fragment,{children:[_.jsx(j,{size:14,style:{flexShrink:0}}),_.jsx("span",{children:S?`> ${h}`:` ${h}`})]})},g))]})]}),_.jsx("div",{className:"border-t border-[var(--border)] p-3",children:_.jsxs("div",{className:"flex items-center gap-3 px-3 py-2",children:[_.jsx("button",{onClick:()=>c("/profile"),className:"flex h-7 w-7 items-center justify-center text-xs font-bold text-black transition-opacity hover:opacity-80",style:{backgroundColor:"var(--accent)",borderRadius:4,flexShrink:0},title:p("common.profile"),children:((u==null?void 0:u.username)??"u")[0].toUpperCase()}),_.jsxs("button",{onClick:()=>c("/profile"),className:"min-w-0 flex-1 text-left transition-colors hover:opacity-80",title:p("common.profile"),children:[_.jsx("div",{className:"truncate text-sm lowercase",style:{color:"var(--text-primary)"},children:(u==null?void 0:u.username)??"user"}),_.jsx("div",{className:"truncate text-xs lowercase",style:{color:"var(--text-muted)"},children:(u==null?void 0:u.role)??"user"})]}),_.jsx("button",{onClick:()=>f(!0),className:"p-1 text-[var(--text-secondary)] transition-colors hover:text-[var(--accent)]","aria-label":p("common.log_out"),children:_.jsx(Lv,{size:14})})]})}),_.jsx(N0,{isOpen:o,onClose:()=>f(!1),onConfirm:T,title:p("common.logout_title"),message:p("common.logout_message"),confirmLabel:p("common.logout"),confirmVariant:"warning"})]})}function Q0({headerActions:u,subtitleOverride:r}){const c=Yt(),{title:o,subtitle:f}=L0(c.pathname),m=r??f;return _.jsxs("header",{className:"hidden md:flex items-center justify-between border-b border-[var(--border)] px-5",style:{height:48,minHeight:48,backgroundColor:"var(--bg-card)"},children:[_.jsxs("div",{className:"text-sm lowercase",style:{fontFamily:"'JetBrains Mono', monospace"},children:[_.jsx("span",{style:{color:"var(--text-primary)"},children:o}),m&&_.jsxs("span",{style:{color:"var(--text-muted)"},children:[" ","// ",m]})]}),_.jsxs("div",{className:"flex items-center gap-3",children:[u,_.jsxs("div",{className:"flex items-center gap-1",children:[_.jsx(C0,{}),_.jsx(ip,{}),_.jsx(Kh,{})]})]})]})}function V0(){const[u,r]=x.useState(null),[c,o]=x.useState(null);return _.jsxs("div",{className:"flex h-screen font-mono",children:[_.jsx(X0,{}),_.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[_.jsx(G0,{}),_.jsx(Q0,{headerActions:u,subtitleOverride:c}),_.jsx("main",{className:"flex-1 overflow-auto bg-[var(--bg-primary)] p-4 md:p-6",children:_.jsx(up.Provider,{value:{setActions:r},children:_.jsx(rp.Provider,{value:{setSubtitle:o},children:_.jsx(Qg,{})})})}),_.jsx(Y0,{})]})]})}function Nu({children:u,requireAdmin:r=!1}){const{accessToken:c,user:o,requireTotpSetup:f,initializing:m}=$a(),p=Yt();return m?_.jsx("div",{className:"flex h-screen items-center justify-center",children:_.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})}):c?f?p.pathname!=="/totp-setup"?_.jsx(Du,{to:"/totp-setup",replace:!0}):_.jsx(_.Fragment,{children:u}):r&&(o==null?void 0:o.role)!=="admin"?_.jsx(Du,{to:"/home",replace:!0}):_.jsx(_.Fragment,{children:u}):_.jsx(Du,{to:"/login",state:{from:p},replace:!0})}function Z0({children:u}){const{theme:r,resolved:c,setResolved:o}=Zh();return x.useEffect(()=>{if(r!=="system"){o(r);return}const f=window.matchMedia("(prefers-color-scheme: dark)");o(f.matches?"dark":"light");const m=p=>o(p.matches?"dark":"light");return f.addEventListener("change",m),()=>f.removeEventListener("change",m)},[r,o]),x.useEffect(()=>{document.documentElement.classList.toggle("dark",c==="dark")},[c]),_.jsx(_.Fragment,{children:u})}class K0 extends x.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){var r;return this.state.hasError?_.jsxs("div",{className:"flex h-full min-h-[300px] flex-col items-center justify-center gap-4 p-8",children:[_.jsx("span",{className:"text-lg font-bold text-[var(--destructive)]",children:Hu("common.runtime_error")}),_.jsx("p",{className:"max-w-md text-center text-xs text-[var(--text-muted)]",children:((r=this.state.error)==null?void 0:r.message)||Hu("common.an_unexpected_error_occurred")}),_.jsxs("button",{onClick:()=>{this.setState({hasError:!1,error:null}),window.location.reload()},className:"flex items-center gap-1.5 rounded-[4px] border border-[var(--border)] px-4 py-2 text-xs text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:[_.jsx(Yv,{className:"h-3.5 w-3.5"}),Hu("common.reload")]})]}):this.props.children}}function J0({isOpen:u}){const r=gl(),{logout:c,setSessionExpired:o}=$a(),{t:f}=ta();function m(){c(),o(!1),r("/login")}return u?_.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[_.jsx("div",{className:"fixed inset-0 bg-[var(--modal-backdrop)]"}),_.jsx("div",{className:"relative z-10 w-full max-w-[480px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)]",children:_.jsxs("div",{className:"flex flex-col items-center px-8 py-10",children:[_.jsx("div",{className:"mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-[var(--warning)]/10",children:_.jsx(Hv,{className:"h-7 w-7 text-[var(--warning)]"})}),_.jsx("h3",{className:"mb-2 text-base font-bold text-[var(--text-primary)]",children:f("auth.session_expired")}),_.jsx("p",{className:"mb-8 text-center text-xs text-[var(--text-secondary)]",children:f("auth.session_expired_message")}),_.jsx("button",{type:"button",className:"w-full rounded-[4px] bg-[var(--accent)] px-3 py-2.5 text-xs font-medium text-black hover:opacity-90 transition-opacity",onClick:m,children:f("auth.go_to_login")})]})})]}):null}const xh=5;let ba=[];const Uc=new Set;function op(){Uc.forEach(u=>u())}function $0(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function Wa(u,r,c=4e3){const o=$0();return ba=[...ba,{id:o,variant:u,message:r,duration:c}],ba.length>xh&&(ba=ba.slice(ba.length-xh)),op(),o}Wa.success=(u,r)=>Wa("success",u,r);Wa.error=(u,r)=>Wa("error",u,r);Wa.warning=(u,r)=>Wa("warning",u,r);Wa.info=(u,r)=>Wa("info",u,r);function W0(u){ba=ba.filter(r=>r.id!==u),op()}function F0(){const[,u]=x.useState(0);return x.useEffect(()=>{const r=()=>u(c=>c+1);return Uc.add(r),()=>{Uc.delete(r)}},[]),ba}const I0={success:{icon:Ov,borderColor:"var(--accent)"},error:{icon:Cv,borderColor:"var(--destructive)"},warning:{icon:Xh,borderColor:"var(--warning)"},info:{icon:Uv,borderColor:"var(--info)"}};function P0({item:u}){const r=I0[u.variant],c=r.icon,{t:o}=ta(),f=x.useCallback(()=>W0(u.id),[u.id]);return x.useEffect(()=>{if(!u.duration)return;const m=setTimeout(f,u.duration);return()=>clearTimeout(m)},[u.duration,f]),_.jsxs("div",{className:"flex items-center gap-3 rounded-[4px] bg-[var(--bg-card)] px-4 py-3 shadow-lg",style:{borderLeft:`3px solid ${r.borderColor}`},role:"alert",children:[_.jsx(c,{className:"h-4 w-4 shrink-0",style:{color:r.borderColor}}),_.jsx("p",{className:"flex-1 text-xs text-[var(--text-primary)]",children:u.message}),_.jsx("button",{onClick:f,className:"shrink-0 rounded-[4px] p-0.5 text-[var(--text-muted)] transition-colors hover:text-[var(--text-primary)]","aria-label":o("common.dismiss_notification"),children:_.jsx($v,{className:"h-3.5 w-3.5"})})]})}function eb(){const u=F0();return u.length===0?null:_.jsx("div",{className:"pointer-events-none fixed right-4 top-4 z-[9999] flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-2",children:u.map(r=>_.jsx("div",{className:"pointer-events-auto",children:_.jsx(P0,{item:r})},r.id))})}const tb=x.lazy(()=>Ce(()=>import("./LandingPage-DWdKl5kd.js"),__vite__mapDeps([0,1,2,3,4]))),ab=x.lazy(()=>Ce(()=>import("./LoginPage-CjzZ3RX2.js"),[])),lb=x.lazy(()=>Ce(()=>import("./TotpSetupPage-XZCrdH2V.js"),[])),nb=x.lazy(()=>Ce(()=>import("./NotFoundPage-CXxb3Nk1.js"),[])),ib=x.lazy(()=>Ce(()=>import("./HomePage-NfxPPkMz.js"),__vite__mapDeps([5,6,7,8,9,1]))),ub=x.lazy(()=>Ce(()=>import("./TaskListPage-Cg1ETrwI.js"),__vite__mapDeps([10,11,7,12,4,13,8,14]))),rb=x.lazy(()=>Ce(()=>import("./TaskDetailPage-DUQWe5wB.js"),__vite__mapDeps([15,11,12,16,17,18,19,20]))),ob=x.lazy(()=>Ce(()=>import("./MachineListPage-DWiQXnAq.js"),__vite__mapDeps([21,6,22,23,24,4,19,12,13,8,14]))),cb=x.lazy(()=>Ce(()=>import("./MachineDetailPage-2B713TKQ.js"),__vite__mapDeps([25,6,26,16]))),sb=x.lazy(()=>Ce(()=>import("./WorkerSetupGuidePage-B0a3heGA.js"),__vite__mapDeps([22,23,24]))),fb=x.lazy(()=>Ce(()=>import("./ProjectListPage-BQC9noAd.js"),__vite__mapDeps([27,6,12,13,8,14]))),db=x.lazy(()=>Ce(()=>import("./ProjectDetailPage-ngZeWsrI.js"),__vite__mapDeps([28,6,29,12,30,26,14]))),mb=x.lazy(()=>Ce(()=>import("./EditProjectPage-DlK_Ix-g.js"),__vite__mapDeps([31,6,12,29,14]))),hb=x.lazy(()=>Ce(()=>import("./PipelineEditorPage-DzgL7Mbc.js"),__vite__mapDeps([32,12]))),pb=x.lazy(()=>Ce(()=>import("./ProfilePage-bdFIMKIC.js"),[])),_b=x.lazy(()=>Ce(()=>import("./AccessTokensPage-Beru3_uy.js"),__vite__mapDeps([33,12,13,8,14,4,26]))),yb=x.lazy(()=>Ce(()=>import("./CliReferencePage-CkOKnvml.js"),__vite__mapDeps([34,35,4,14]))),gb=x.lazy(()=>Ce(()=>import("./ApiReferencePage-D-Fjl8KM.js"),__vite__mapDeps([36,35,4,14]))),vb=x.lazy(()=>Ce(()=>import("./SkillPage-DlnLHNuI.js"),__vite__mapDeps([37,18,4]))),bb=x.lazy(()=>Ce(()=>import("./AdminPage-C9GCTLmr.js"),__vite__mapDeps([38,3,2,39,24]))),xb=x.lazy(()=>Ce(()=>import("./DeveloperManage-DX12zFgn.js"),__vite__mapDeps([40,12,13,8,14,3,30,17]))),Sb=x.lazy(()=>Ce(()=>import("./BotManage-ByFUoMlI.js"),__vite__mapDeps([41,12,26,14,13,8,2,30]))),Eb=x.lazy(()=>Ce(()=>import("./TokenManage-Bcru_MF_.js"),__vite__mapDeps([42,23,4,18,13,8,14]))),Tb=x.lazy(()=>Ce(()=>import("./AuditLogPage-Bpgs5-4t.js"),__vite__mapDeps([43,12,13,8,39,9]))),kb=x.lazy(()=>Ce(()=>import("./SettingsPage-CXxoYjb1.js"),[]));function wb(){return _.jsx("div",{className:"flex h-full items-center justify-center",children:_.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})})}function Rb(){const u=$a(r=>r.sessionExpired);return _.jsxs(Z0,{children:[_.jsx(eb,{}),_.jsx(K0,{children:_.jsxs(_v,{children:[_.jsx(J0,{isOpen:u}),_.jsx(x.Suspense,{fallback:_.jsx(wb,{}),children:_.jsxs(Zg,{children:[_.jsx(we,{path:"/",element:_.jsx(tb,{})}),_.jsx(we,{path:"/login",element:_.jsx(ab,{})}),_.jsx(we,{path:"/totp-setup",element:_.jsx(Nu,{children:_.jsx(lb,{})})}),_.jsxs(we,{element:_.jsx(Nu,{children:_.jsx(V0,{})}),children:[_.jsx(we,{path:"/home",element:_.jsx(ib,{})}),_.jsx(we,{path:"/tasks",element:_.jsx(ub,{})}),_.jsx(we,{path:"/tasks/:id",element:_.jsx(rb,{})}),_.jsx(we,{path:"/machines",element:_.jsx(ob,{})}),_.jsx(we,{path:"/machines/setup",element:_.jsx(Nu,{requireAdmin:!0,children:_.jsx(sb,{})})}),_.jsx(we,{path:"/machines/:id",element:_.jsx(cb,{})}),_.jsx(we,{path:"/projects",element:_.jsx(fb,{})}),_.jsx(we,{path:"/projects/:key",element:_.jsx(db,{})}),_.jsx(we,{path:"/projects/:key/edit",element:_.jsx(mb,{})}),_.jsx(we,{path:"/projects/:key/pipeline",element:_.jsx(hb,{})}),_.jsx(we,{path:"/profile",element:_.jsx(pb,{})}),_.jsx(we,{path:"/access-tokens",element:_.jsx(_b,{})}),_.jsx(we,{path:"/docs/cli",element:_.jsx(yb,{})}),_.jsx(we,{path:"/docs/api",element:_.jsx(gb,{})}),_.jsx(we,{path:"/docs/skill",element:_.jsx(vb,{})}),_.jsxs(we,{path:"/admin",element:_.jsx(Nu,{requireAdmin:!0,children:_.jsx(bb,{})}),children:[_.jsx(we,{index:!0,element:_.jsx(Du,{to:"developers",replace:!0})}),_.jsx(we,{path:"developers",element:_.jsx(xb,{})}),_.jsx(we,{path:"bots",element:_.jsx(Sb,{})}),_.jsx(we,{path:"tokens",element:_.jsx(Eb,{})}),_.jsx(we,{path:"audit-logs",element:_.jsx(Tb,{})}),_.jsx(we,{path:"settings",element:_.jsx(kb,{})})]})]}),_.jsx(we,{path:"*",element:_.jsx(nb,{})})]})})]})})]})}$a.getState().initialize();Qy.createRoot(document.getElementById("root")).render(_.jsx(x.StrictMode,{children:_.jsx(Rb,{})}));export{Av as C,Ac as H,qv as K,Hh as L,Du as N,Qg as O,Ru as R,Xv as S,Kh as T,$v as X,ta as a,Kv as b,ze as c,gl as d,Yt as e,Gu as f,Hu as g,Ab as h,Gv as i,_ as j,Gh as k,N0 as l,zb as m,Ob as n,Ov as o,Qh as p,Qc as q,x as r,Xh as s,Wa as t,$a as u,Yv as v,ni as w,Cv as x};
|